enable the refresh target in toolchain/
[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
4233 -echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
4234 + { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
4235 +echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
4236 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4237 echo $ECHO_N "(cached) $ECHO_C" >&6
4238 else
4239 @@ -3758,17 +4292,17 @@ fi
4240
4241 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4242 if test -n "$MAGIC_CMD"; then
4243 - echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4244 -echo "${ECHO_T}$MAGIC_CMD" >&6
4245 + { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4246 +echo "${ECHO_T}$MAGIC_CMD" >&6; }
4247 else
4248 - echo "$as_me:$LINENO: result: no" >&5
4249 -echo "${ECHO_T}no" >&6
4250 + { echo "$as_me:$LINENO: result: no" >&5
4251 +echo "${ECHO_T}no" >&6; }
4252 fi
4253
4254 if test -z "$lt_cv_path_MAGIC_CMD"; then
4255 if test -n "$ac_tool_prefix"; then
4256 - echo "$as_me:$LINENO: checking for file" >&5
4257 -echo $ECHO_N "checking for file... $ECHO_C" >&6
4258 + { echo "$as_me:$LINENO: checking for file" >&5
4259 +echo $ECHO_N "checking for file... $ECHO_C" >&6; }
4260 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4261 echo $ECHO_N "(cached) $ECHO_C" >&6
4262 else
4263 @@ -3822,11 +4356,11 @@ fi
4264
4265 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4266 if test -n "$MAGIC_CMD"; then
4267 - echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4268 -echo "${ECHO_T}$MAGIC_CMD" >&6
4269 + { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4270 +echo "${ECHO_T}$MAGIC_CMD" >&6; }
4271 else
4272 - echo "$as_me:$LINENO: result: no" >&5
4273 -echo "${ECHO_T}no" >&6
4274 + { echo "$as_me:$LINENO: result: no" >&5
4275 +echo "${ECHO_T}no" >&6; }
4276 fi
4277
4278 else
4279 @@ -3841,8 +4375,8 @@ esac
4280 if test -n "$ac_tool_prefix"; then
4281 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4282 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4283 -echo "$as_me:$LINENO: checking for $ac_word" >&5
4284 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4285 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4286 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4287 if test "${ac_cv_prog_RANLIB+set}" = set; then
4288 echo $ECHO_N "(cached) $ECHO_C" >&6
4289 else
4290 @@ -3855,32 +4389,34 @@ do
4291 IFS=$as_save_IFS
4292 test -z "$as_dir" && as_dir=.
4293 for ac_exec_ext in '' $ac_executable_extensions; do
4294 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4295 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4296 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4297 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4298 break 2
4299 fi
4300 done
4301 done
4302 +IFS=$as_save_IFS
4303
4304 fi
4305 fi
4306 RANLIB=$ac_cv_prog_RANLIB
4307 if test -n "$RANLIB"; then
4308 - echo "$as_me:$LINENO: result: $RANLIB" >&5
4309 -echo "${ECHO_T}$RANLIB" >&6
4310 + { echo "$as_me:$LINENO: result: $RANLIB" >&5
4311 +echo "${ECHO_T}$RANLIB" >&6; }
4312 else
4313 - echo "$as_me:$LINENO: result: no" >&5
4314 -echo "${ECHO_T}no" >&6
4315 + { echo "$as_me:$LINENO: result: no" >&5
4316 +echo "${ECHO_T}no" >&6; }
4317 fi
4318
4319 +
4320 fi
4321 if test -z "$ac_cv_prog_RANLIB"; then
4322 ac_ct_RANLIB=$RANLIB
4323 # Extract the first word of "ranlib", so it can be a program name with args.
4324 set dummy ranlib; ac_word=$2
4325 -echo "$as_me:$LINENO: checking for $ac_word" >&5
4326 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4327 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4328 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4329 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4330 echo $ECHO_N "(cached) $ECHO_C" >&6
4331 else
4332 @@ -3893,27 +4429,41 @@ do
4333 IFS=$as_save_IFS
4334 test -z "$as_dir" && as_dir=.
4335 for ac_exec_ext in '' $ac_executable_extensions; do
4336 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4337 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4338 ac_cv_prog_ac_ct_RANLIB="ranlib"
4339 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4340 break 2
4341 fi
4342 done
4343 done
4344 +IFS=$as_save_IFS
4345
4346 - test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
4347 fi
4348 fi
4349 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4350 if test -n "$ac_ct_RANLIB"; then
4351 - echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4352 -echo "${ECHO_T}$ac_ct_RANLIB" >&6
4353 + { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4354 +echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
4355 else
4356 - echo "$as_me:$LINENO: result: no" >&5
4357 -echo "${ECHO_T}no" >&6
4358 + { echo "$as_me:$LINENO: result: no" >&5
4359 +echo "${ECHO_T}no" >&6; }
4360 fi
4361
4362 - RANLIB=$ac_ct_RANLIB
4363 + if test "x$ac_ct_RANLIB" = x; then
4364 + RANLIB=":"
4365 + else
4366 + case $cross_compiling:$ac_tool_warned in
4367 +yes:)
4368 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4369 +whose name does not start with the host triplet. If you think this
4370 +configuration is useful to you, please write to autoconf@gnu.org." >&5
4371 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4372 +whose name does not start with the host triplet. If you think this
4373 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4374 +ac_tool_warned=yes ;;
4375 +esac
4376 + RANLIB=$ac_ct_RANLIB
4377 + fi
4378 else
4379 RANLIB="$ac_cv_prog_RANLIB"
4380 fi
4381 @@ -3921,8 +4471,8 @@ fi
4382 if test -n "$ac_tool_prefix"; then
4383 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4384 set dummy ${ac_tool_prefix}strip; ac_word=$2
4385 -echo "$as_me:$LINENO: checking for $ac_word" >&5
4386 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4387 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4388 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4389 if test "${ac_cv_prog_STRIP+set}" = set; then
4390 echo $ECHO_N "(cached) $ECHO_C" >&6
4391 else
4392 @@ -3935,32 +4485,34 @@ do
4393 IFS=$as_save_IFS
4394 test -z "$as_dir" && as_dir=.
4395 for ac_exec_ext in '' $ac_executable_extensions; do
4396 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4397 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4398 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4399 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4400 break 2
4401 fi
4402 done
4403 done
4404 +IFS=$as_save_IFS
4405
4406 fi
4407 fi
4408 STRIP=$ac_cv_prog_STRIP
4409 if test -n "$STRIP"; then
4410 - echo "$as_me:$LINENO: result: $STRIP" >&5
4411 -echo "${ECHO_T}$STRIP" >&6
4412 + { echo "$as_me:$LINENO: result: $STRIP" >&5
4413 +echo "${ECHO_T}$STRIP" >&6; }
4414 else
4415 - echo "$as_me:$LINENO: result: no" >&5
4416 -echo "${ECHO_T}no" >&6
4417 + { echo "$as_me:$LINENO: result: no" >&5
4418 +echo "${ECHO_T}no" >&6; }
4419 fi
4420
4421 +
4422 fi
4423 if test -z "$ac_cv_prog_STRIP"; then
4424 ac_ct_STRIP=$STRIP
4425 # Extract the first word of "strip", so it can be a program name with args.
4426 set dummy strip; ac_word=$2
4427 -echo "$as_me:$LINENO: checking for $ac_word" >&5
4428 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4429 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4430 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4431 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4432 echo $ECHO_N "(cached) $ECHO_C" >&6
4433 else
4434 @@ -3973,27 +4525,41 @@ do
4435 IFS=$as_save_IFS
4436 test -z "$as_dir" && as_dir=.
4437 for ac_exec_ext in '' $ac_executable_extensions; do
4438 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4439 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4440 ac_cv_prog_ac_ct_STRIP="strip"
4441 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4442 break 2
4443 fi
4444 done
4445 done
4446 +IFS=$as_save_IFS
4447
4448 - test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
4449 fi
4450 fi
4451 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4452 if test -n "$ac_ct_STRIP"; then
4453 - echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4454 -echo "${ECHO_T}$ac_ct_STRIP" >&6
4455 + { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4456 +echo "${ECHO_T}$ac_ct_STRIP" >&6; }
4457 else
4458 - echo "$as_me:$LINENO: result: no" >&5
4459 -echo "${ECHO_T}no" >&6
4460 + { echo "$as_me:$LINENO: result: no" >&5
4461 +echo "${ECHO_T}no" >&6; }
4462 fi
4463
4464 - STRIP=$ac_ct_STRIP
4465 + if test "x$ac_ct_STRIP" = x; then
4466 + STRIP=":"
4467 + else
4468 + case $cross_compiling:$ac_tool_warned in
4469 +yes:)
4470 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4471 +whose name does not start with the host triplet. If you think this
4472 +configuration is useful to you, please write to autoconf@gnu.org." >&5
4473 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4474 +whose name does not start with the host triplet. If you think this
4475 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4476 +ac_tool_warned=yes ;;
4477 +esac
4478 + STRIP=$ac_ct_STRIP
4479 + fi
4480 else
4481 STRIP="$ac_cv_prog_STRIP"
4482 fi
4483 @@ -4008,22 +4574,22 @@ test "$GCC" = yes && libtool_flags="$lib
4484 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
4485
4486
4487 -# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4488 +# Check whether --enable-libtool-lock was given.
4489 if test "${enable_libtool_lock+set}" = set; then
4490 - enableval="$enable_libtool_lock"
4491 + enableval=$enable_libtool_lock;
4492 +fi
4493
4494 -fi;
4495 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
4496 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
4497
4498
4499 -# Check whether --with-pic or --without-pic was given.
4500 +# Check whether --with-pic was given.
4501 if test "${with_pic+set}" = set; then
4502 - withval="$with_pic"
4503 - pic_mode="$withval"
4504 + withval=$with_pic; pic_mode="$withval"
4505 else
4506 pic_mode=default
4507 -fi;
4508 +fi
4509 +
4510 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
4511 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
4512
4513 @@ -4032,7 +4598,7 @@ test x"$pic_mode" = xno && libtool_flags
4514 case $host in
4515 *-*-irix6*)
4516 # Find out which ABI we are using.
4517 - echo '#line 4035 "configure"' > conftest.$ac_ext
4518 + echo '#line 4601 "configure"' > conftest.$ac_ext
4519 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4520 (eval $ac_compile) 2>&5
4521 ac_status=$?
4522 @@ -4137,13 +4703,12 @@ x86_64-*linux*|ppc*-*linux*|powerpc*-*li
4523 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4524 SAVE_CFLAGS="$CFLAGS"
4525 CFLAGS="$CFLAGS -belf"
4526 - echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4527 -echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4528 + { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4529 +echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
4530 if test "${lt_cv_cc_needs_belf+set}" = set; then
4531 echo $ECHO_N "(cached) $ECHO_C" >&6
4532 else
4533
4534 -
4535 ac_ext=c
4536 ac_cpp='$CPP $CPPFLAGS'
4537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4538 @@ -4166,35 +4731,32 @@ main ()
4539 }
4540 _ACEOF
4541 rm -f conftest.$ac_objext conftest$ac_exeext
4542 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4543 - (eval $ac_link) 2>conftest.er1
4544 +if { (ac_try="$ac_link"
4545 +case "(($ac_try" in
4546 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4547 + *) ac_try_echo=$ac_try;;
4548 +esac
4549 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4550 + (eval "$ac_link") 2>conftest.er1
4551 ac_status=$?
4552 grep -v '^ *+' conftest.er1 >conftest.err
4553 rm -f conftest.er1
4554 cat conftest.err >&5
4555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4556 - (exit $ac_status); } &&
4557 - { ac_try='test -z "$ac_c_werror_flag"
4558 - || test ! -s conftest.err'
4559 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4560 - (eval $ac_try) 2>&5
4561 - ac_status=$?
4562 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
4563 - (exit $ac_status); }; } &&
4564 - { ac_try='test -s conftest$ac_exeext'
4565 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4566 - (eval $ac_try) 2>&5
4567 - ac_status=$?
4568 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
4569 - (exit $ac_status); }; }; then
4570 + (exit $ac_status); } && {
4571 + test -z "$ac_c_werror_flag" ||
4572 + test ! -s conftest.err
4573 + } && test -s conftest$ac_exeext &&
4574 + $as_test_x conftest$ac_exeext; then
4575 lt_cv_cc_needs_belf=yes
4576 else
4577 echo "$as_me: failed program was:" >&5
4578 sed 's/^/| /' conftest.$ac_ext >&5
4579
4580 -lt_cv_cc_needs_belf=no
4581 + lt_cv_cc_needs_belf=no
4582 fi
4583 -rm -f conftest.err conftest.$ac_objext \
4584 +
4585 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4586 conftest$ac_exeext conftest.$ac_ext
4587 ac_ext=c
4588 ac_cpp='$CPP $CPPFLAGS'
4589 @@ -4203,8 +4765,8 @@ ac_link='$CC -o conftest$ac_exeext $CFLA
4590 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4591
4592 fi
4593 -echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4594 -echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4595 +{ echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4596 +echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
4597 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4598 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4599 CFLAGS="$SAVE_CFLAGS"
4600 @@ -4234,39 +4796,58 @@ _ACEOF
4601
4602 # The following way of writing the cache mishandles newlines in values,
4603 # but we know of no workaround that is simple, portable, and efficient.
4604 -# So, don't put newlines in cache variables' values.
4605 +# So, we kill variables containing newlines.
4606 # Ultrix sh set writes to stderr and can't be redirected directly,
4607 # and sets the high bit in the cache file unless we assign to the vars.
4608 -{
4609 +(
4610 + for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4611 + eval ac_val=\$$ac_var
4612 + case $ac_val in #(
4613 + *${as_nl}*)
4614 + case $ac_var in #(
4615 + *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
4616 +echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
4617 + esac
4618 + case $ac_var in #(
4619 + _ | IFS | as_nl) ;; #(
4620 + *) $as_unset $ac_var ;;
4621 + esac ;;
4622 + esac
4623 + done
4624 +
4625 (set) 2>&1 |
4626 - case `(ac_space=' '; set | grep ac_space) 2>&1` in
4627 - *ac_space=\ *)
4628 + case $as_nl`(ac_space=' '; set) 2>&1` in #(
4629 + *${as_nl}ac_space=\ *)
4630 # `set' does not quote correctly, so add quotes (double-quote
4631 # substitution turns \\\\ into \\, and sed turns \\ into \).
4632 sed -n \
4633 "s/'/'\\\\''/g;
4634 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4635 - ;;
4636 + ;; #(
4637 *)
4638 # `set' quotes correctly as required by POSIX, so do not add quotes.
4639 - sed -n \
4640 - "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4641 + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4642 ;;
4643 - esac;
4644 -} |
4645 + esac |
4646 + sort
4647 +) |
4648 sed '
4649 + /^ac_cv_env_/b end
4650 t clear
4651 - : clear
4652 + :clear
4653 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4654 t end
4655 - /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4656 - : end' >>confcache
4657 -if diff $cache_file confcache >/dev/null 2>&1; then :; else
4658 - if test -w $cache_file; then
4659 - test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4660 + s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4661 + :end' >>confcache
4662 +if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4663 + if test -w "$cache_file"; then
4664 + test "x$cache_file" != "x/dev/null" &&
4665 + { echo "$as_me:$LINENO: updating cache $cache_file" >&5
4666 +echo "$as_me: updating cache $cache_file" >&6;}
4667 cat confcache >$cache_file
4668 else
4669 - echo "not updating unwritable cache $cache_file"
4670 + { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
4671 +echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4672 fi
4673 fi
4674 rm -f confcache
4675 @@ -4292,8 +4873,8 @@ if test -r "$cache_file"; then
4676 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
4677 echo "$as_me: loading cache $cache_file" >&6;}
4678 case $cache_file in
4679 - [\\/]* | ?:[\\/]* ) . $cache_file;;
4680 - *) . ./$cache_file;;
4681 + [\\/]* | ?:[\\/]* ) . "$cache_file";;
4682 + *) . "./$cache_file";;
4683 esac
4684 fi
4685 else
4686 @@ -4319,10 +4900,9 @@ exec 5>>./config.log
4687
4688
4689
4690 -# Check whether --enable-64-bit-bfd or --disable-64-bit-bfd was given.
4691 +# Check whether --enable-64-bit-bfd was given.
4692 if test "${enable_64_bit_bfd+set}" = set; then
4693 - enableval="$enable_64_bit_bfd"
4694 - case "${enableval}" in
4695 + enableval=$enable_64_bit_bfd; case "${enableval}" in
4696 yes) want64=true ;;
4697 no) want64=false ;;
4698 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for 64-bit-bfd option" >&5
4699 @@ -4331,10 +4911,10 @@ echo "$as_me: error: bad value ${enablev
4700 esac
4701 else
4702 want64=false
4703 -fi; # Check whether --enable-targets or --disable-targets was given.
4704 +fi
4705 +# Check whether --enable-targets was given.
4706 if test "${enable_targets+set}" = set; then
4707 - enableval="$enable_targets"
4708 - case "${enableval}" in
4709 + enableval=$enable_targets; case "${enableval}" in
4710 yes | "") { { echo "$as_me:$LINENO: error: enable-targets option must specify target names or 'all'" >&5
4711 echo "$as_me: error: enable-targets option must specify target names or 'all'" >&2;}
4712 { (exit 1); exit 1; }; }
4713 @@ -4342,21 +4922,21 @@ echo "$as_me: error: enable-targets opti
4714 no) enable_targets= ;;
4715 *) enable_targets=$enableval ;;
4716 esac
4717 -fi; # Check whether --enable-commonbfdlib or --disable-commonbfdlib was given.
4718 +fi
4719 +# Check whether --enable-commonbfdlib was given.
4720 if test "${enable_commonbfdlib+set}" = set; then
4721 - enableval="$enable_commonbfdlib"
4722 - case "${enableval}" in
4723 + enableval=$enable_commonbfdlib; case "${enableval}" in
4724 yes) commonbfdlib=true ;;
4725 no) commonbfdlib=false ;;
4726 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for BFD commonbfdlib option" >&5
4727 echo "$as_me: error: bad value ${enableval} for BFD commonbfdlib option" >&2;}
4728 { (exit 1); exit 1; }; } ;;
4729 esac
4730 -fi;
4731 -# Check whether --with-mmap or --without-mmap was given.
4732 +fi
4733 +
4734 +# Check whether --with-mmap was given.
4735 if test "${with_mmap+set}" = set; then
4736 - withval="$with_mmap"
4737 - case "${withval}" in
4738 + withval=$with_mmap; case "${withval}" in
4739 yes) want_mmap=true ;;
4740 no) want_mmap=false ;;
4741 *) { { echo "$as_me:$LINENO: error: bad value ${withval} for BFD with-mmap option" >&5
4742 @@ -4365,11 +4945,11 @@ echo "$as_me: error: bad value ${withval
4743 esac
4744 else
4745 want_mmap=false
4746 -fi;
4747 -# Check whether --enable-secureplt or --disable-secureplt was given.
4748 +fi
4749 +
4750 +# Check whether --enable-secureplt was given.
4751 if test "${enable_secureplt+set}" = set; then
4752 - enableval="$enable_secureplt"
4753 - case "${enableval}" in
4754 + enableval=$enable_secureplt; case "${enableval}" in
4755 yes) use_secureplt=true ;;
4756 no) use_secureplt=false ;;
4757 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for secureplt option" >&5
4758 @@ -4378,7 +4958,8 @@ echo "$as_me: error: bad value ${enablev
4759 esac
4760 else
4761 use_secureplt=false
4762 -fi; if test $use_secureplt = true; then
4763 +fi
4764 +if test $use_secureplt = true; then
4765
4766 cat >>confdefs.h <<\_ACEOF
4767 #define USE_SECUREPLT 1
4768 @@ -4389,17 +4970,17 @@ fi
4769
4770 GCC_WARN_CFLAGS="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
4771
4772 -# Check whether --enable-werror or --disable-werror was given.
4773 +# Check whether --enable-werror was given.
4774 if test "${enable_werror+set}" = set; then
4775 - enableval="$enable_werror"
4776 - case "${enableval}" in
4777 + enableval=$enable_werror; case "${enableval}" in
4778 yes | y) ERROR_ON_WARNING="yes" ;;
4779 no | n) ERROR_ON_WARNING="no" ;;
4780 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-werror" >&5
4781 echo "$as_me: error: bad value ${enableval} for --enable-werror" >&2;}
4782 { (exit 1); exit 1; }; } ;;
4783 esac
4784 -fi;
4785 +fi
4786 +
4787
4788 # Enable -Werror by default when using gcc
4789 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
4790 @@ -4416,10 +4997,9 @@ if test "${GCC}" = yes ; then
4791 WARN_CFLAGS="${GCC_WARN_CFLAGS}"
4792 fi
4793
4794 -# Check whether --enable-build-warnings or --disable-build-warnings was given.
4795 +# Check whether --enable-build-warnings was given.
4796 if test "${enable_build_warnings+set}" = set; then
4797 - enableval="$enable_build_warnings"
4798 - case "${enableval}" in
4799 + enableval=$enable_build_warnings; case "${enableval}" in
4800 yes) WARN_CFLAGS="${GCC_WARN_CFLAGS}";;
4801 no) if test "${GCC}" = yes ; then
4802 WARN_CFLAGS="-w"
4803 @@ -4430,7 +5010,8 @@ if test "${enable_build_warnings+set}" =
4804 WARN_CFLAGS="${t} ${GCC_WARN_CFLAGS}";;
4805 *) WARN_CFLAGS=`echo "${enableval}" | sed -e "s/,/ /g"`;;
4806 esac
4807 -fi;
4808 +fi
4809 +
4810
4811 if test x"$silent" != x"yes" && test x"$WARN_CFLAGS" != x""; then
4812 echo "Setting warning flags = $WARN_CFLAGS" 6>&1
4813 @@ -4440,7 +5021,7 @@ fi
4814
4815
4816
4817 - ac_config_headers="$ac_config_headers config.h:config.in"
4818 +ac_config_headers="$ac_config_headers config.h:config.in"
4819
4820
4821 if test -z "$target" ; then
4822 @@ -4449,17 +5030,17 @@ echo "$as_me: error: Unrecognized target
4823 { (exit 1); exit 1; }; }
4824 fi
4825
4826 -echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
4827 -echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
4828 - # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
4829 +{ echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
4830 +echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
4831 + # Check whether --enable-maintainer-mode was given.
4832 if test "${enable_maintainer_mode+set}" = set; then
4833 - enableval="$enable_maintainer_mode"
4834 - USE_MAINTAINER_MODE=$enableval
4835 + enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
4836 else
4837 USE_MAINTAINER_MODE=no
4838 -fi;
4839 - echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
4840 -echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
4841 +fi
4842 +
4843 + { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
4844 +echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
4845
4846
4847 if test $USE_MAINTAINER_MODE = yes; then
4848 @@ -4488,21 +5069,21 @@ esac
4849 *) target_noncanonical=${target_alias} ;;
4850 esac
4851
4852 -echo "$as_me:$LINENO: checking whether to install libbfd" >&5
4853 -echo $ECHO_N "checking whether to install libbfd... $ECHO_C" >&6
4854 - # Check whether --enable-install-libbfd or --disable-install-libbfd was given.
4855 +{ echo "$as_me:$LINENO: checking whether to install libbfd" >&5
4856 +echo $ECHO_N "checking whether to install libbfd... $ECHO_C" >&6; }
4857 + # Check whether --enable-install-libbfd was given.
4858 if test "${enable_install_libbfd+set}" = set; then
4859 - enableval="$enable_install_libbfd"
4860 - install_libbfd_p=$enableval
4861 + enableval=$enable_install_libbfd; install_libbfd_p=$enableval
4862 else
4863 if test "${host}" = "${target}" || test "$enable_shared" = "yes"; then
4864 install_libbfd_p=yes
4865 else
4866 install_libbfd_p=no
4867 fi
4868 -fi;
4869 - echo "$as_me:$LINENO: result: $install_libbfd_p" >&5
4870 -echo "${ECHO_T}$install_libbfd_p" >&6
4871 +fi
4872 +
4873 + { echo "$as_me:$LINENO: result: $install_libbfd_p" >&5
4874 +echo "${ECHO_T}$install_libbfd_p" >&6; }
4875
4876
4877 if test $install_libbfd_p = yes; then
4878 @@ -4545,8 +5126,8 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
4879 if test -n "$ac_tool_prefix"; then
4880 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4881 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4882 -echo "$as_me:$LINENO: checking for $ac_word" >&5
4883 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4884 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4885 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4886 if test "${ac_cv_prog_CC+set}" = set; then
4887 echo $ECHO_N "(cached) $ECHO_C" >&6
4888 else
4889 @@ -4559,32 +5140,34 @@ do
4890 IFS=$as_save_IFS
4891 test -z "$as_dir" && as_dir=.
4892 for ac_exec_ext in '' $ac_executable_extensions; do
4893 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4894 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4895 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4896 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4897 break 2
4898 fi
4899 done
4900 done
4901 +IFS=$as_save_IFS
4902
4903 fi
4904 fi
4905 CC=$ac_cv_prog_CC
4906 if test -n "$CC"; then
4907 - echo "$as_me:$LINENO: result: $CC" >&5
4908 -echo "${ECHO_T}$CC" >&6
4909 + { echo "$as_me:$LINENO: result: $CC" >&5
4910 +echo "${ECHO_T}$CC" >&6; }
4911 else
4912 - echo "$as_me:$LINENO: result: no" >&5
4913 -echo "${ECHO_T}no" >&6
4914 + { echo "$as_me:$LINENO: result: no" >&5
4915 +echo "${ECHO_T}no" >&6; }
4916 fi
4917
4918 +
4919 fi
4920 if test -z "$ac_cv_prog_CC"; then
4921 ac_ct_CC=$CC
4922 # Extract the first word of "gcc", so it can be a program name with args.
4923 set dummy gcc; ac_word=$2
4924 -echo "$as_me:$LINENO: checking for $ac_word" >&5
4925 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4926 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4927 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4928 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4929 echo $ECHO_N "(cached) $ECHO_C" >&6
4930 else
4931 @@ -4597,36 +5180,51 @@ do
4932 IFS=$as_save_IFS
4933 test -z "$as_dir" && as_dir=.
4934 for ac_exec_ext in '' $ac_executable_extensions; do
4935 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4936 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4937 ac_cv_prog_ac_ct_CC="gcc"
4938 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4939 break 2
4940 fi
4941 done
4942 done
4943 +IFS=$as_save_IFS
4944
4945 fi
4946 fi
4947 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4948 if test -n "$ac_ct_CC"; then
4949 - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4950 -echo "${ECHO_T}$ac_ct_CC" >&6
4951 + { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4952 +echo "${ECHO_T}$ac_ct_CC" >&6; }
4953 else
4954 - echo "$as_me:$LINENO: result: no" >&5
4955 -echo "${ECHO_T}no" >&6
4956 + { echo "$as_me:$LINENO: result: no" >&5
4957 +echo "${ECHO_T}no" >&6; }
4958 fi
4959
4960 - CC=$ac_ct_CC
4961 + if test "x$ac_ct_CC" = x; then
4962 + CC=""
4963 + else
4964 + case $cross_compiling:$ac_tool_warned in
4965 +yes:)
4966 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4967 +whose name does not start with the host triplet. If you think this
4968 +configuration is useful to you, please write to autoconf@gnu.org." >&5
4969 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4970 +whose name does not start with the host triplet. If you think this
4971 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4972 +ac_tool_warned=yes ;;
4973 +esac
4974 + CC=$ac_ct_CC
4975 + fi
4976 else
4977 CC="$ac_cv_prog_CC"
4978 fi
4979
4980 if test -z "$CC"; then
4981 - if test -n "$ac_tool_prefix"; then
4982 - # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4983 + if test -n "$ac_tool_prefix"; then
4984 + # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4985 set dummy ${ac_tool_prefix}cc; ac_word=$2
4986 -echo "$as_me:$LINENO: checking for $ac_word" >&5
4987 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4988 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4989 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4990 if test "${ac_cv_prog_CC+set}" = set; then
4991 echo $ECHO_N "(cached) $ECHO_C" >&6
4992 else
4993 @@ -4639,74 +5237,34 @@ do
4994 IFS=$as_save_IFS
4995 test -z "$as_dir" && as_dir=.
4996 for ac_exec_ext in '' $ac_executable_extensions; do
4997 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4998 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4999 ac_cv_prog_CC="${ac_tool_prefix}cc"
5000 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5001 break 2
5002 fi
5003 done
5004 done
5005 +IFS=$as_save_IFS
5006
5007 fi
5008 fi
5009 CC=$ac_cv_prog_CC
5010 if test -n "$CC"; then
5011 - echo "$as_me:$LINENO: result: $CC" >&5
5012 -echo "${ECHO_T}$CC" >&6
5013 -else
5014 - echo "$as_me:$LINENO: result: no" >&5
5015 -echo "${ECHO_T}no" >&6
5016 -fi
5017 -
5018 -fi
5019 -if test -z "$ac_cv_prog_CC"; then
5020 - ac_ct_CC=$CC
5021 - # Extract the first word of "cc", so it can be a program name with args.
5022 -set dummy cc; ac_word=$2
5023 -echo "$as_me:$LINENO: checking for $ac_word" >&5
5024 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5025 -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
5026 - echo $ECHO_N "(cached) $ECHO_C" >&6
5027 -else
5028 - if test -n "$ac_ct_CC"; then
5029 - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5030 -else
5031 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5032 -for as_dir in $PATH
5033 -do
5034 - IFS=$as_save_IFS
5035 - test -z "$as_dir" && as_dir=.
5036 - for ac_exec_ext in '' $ac_executable_extensions; do
5037 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5038 - ac_cv_prog_ac_ct_CC="cc"
5039 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5040 - break 2
5041 - fi
5042 -done
5043 -done
5044 -
5045 -fi
5046 -fi
5047 -ac_ct_CC=$ac_cv_prog_ac_ct_CC
5048 -if test -n "$ac_ct_CC"; then
5049 - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
5050 -echo "${ECHO_T}$ac_ct_CC" >&6
5051 + { echo "$as_me:$LINENO: result: $CC" >&5
5052 +echo "${ECHO_T}$CC" >&6; }
5053 else
5054 - echo "$as_me:$LINENO: result: no" >&5
5055 -echo "${ECHO_T}no" >&6
5056 + { echo "$as_me:$LINENO: result: no" >&5
5057 +echo "${ECHO_T}no" >&6; }
5058 fi
5059
5060 - CC=$ac_ct_CC
5061 -else
5062 - CC="$ac_cv_prog_CC"
5063 -fi
5064
5065 + fi
5066 fi
5067 if test -z "$CC"; then
5068 # Extract the first word of "cc", so it can be a program name with args.
5069 set dummy cc; ac_word=$2
5070 -echo "$as_me:$LINENO: checking for $ac_word" >&5
5071 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5072 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5073 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5074 if test "${ac_cv_prog_CC+set}" = set; then
5075 echo $ECHO_N "(cached) $ECHO_C" >&6
5076 else
5077 @@ -4720,7 +5278,7 @@ do
5078 IFS=$as_save_IFS
5079 test -z "$as_dir" && as_dir=.
5080 for ac_exec_ext in '' $ac_executable_extensions; do
5081 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5082 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5083 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5084 ac_prog_rejected=yes
5085 continue
5086 @@ -4731,6 +5289,7 @@ do
5087 fi
5088 done
5089 done
5090 +IFS=$as_save_IFS
5091
5092 if test $ac_prog_rejected = yes; then
5093 # We found a bogon in the path, so make sure we never use it.
5094 @@ -4748,22 +5307,23 @@ fi
5095 fi
5096 CC=$ac_cv_prog_CC
5097 if test -n "$CC"; then
5098 - echo "$as_me:$LINENO: result: $CC" >&5
5099 -echo "${ECHO_T}$CC" >&6
5100 + { echo "$as_me:$LINENO: result: $CC" >&5
5101 +echo "${ECHO_T}$CC" >&6; }
5102 else
5103 - echo "$as_me:$LINENO: result: no" >&5
5104 -echo "${ECHO_T}no" >&6
5105 + { echo "$as_me:$LINENO: result: no" >&5
5106 +echo "${ECHO_T}no" >&6; }
5107 fi
5108
5109 +
5110 fi
5111 if test -z "$CC"; then
5112 if test -n "$ac_tool_prefix"; then
5113 - for ac_prog in cl
5114 + for ac_prog in cl.exe
5115 do
5116 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5117 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5118 -echo "$as_me:$LINENO: checking for $ac_word" >&5
5119 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5120 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5121 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5122 if test "${ac_cv_prog_CC+set}" = set; then
5123 echo $ECHO_N "(cached) $ECHO_C" >&6
5124 else
5125 @@ -4776,36 +5336,38 @@ do
5126 IFS=$as_save_IFS
5127 test -z "$as_dir" && as_dir=.
5128 for ac_exec_ext in '' $ac_executable_extensions; do
5129 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5130 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5131 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
5132 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5133 break 2
5134 fi
5135 done
5136 done
5137 +IFS=$as_save_IFS
5138
5139 fi
5140 fi
5141 CC=$ac_cv_prog_CC
5142 if test -n "$CC"; then
5143 - echo "$as_me:$LINENO: result: $CC" >&5
5144 -echo "${ECHO_T}$CC" >&6
5145 + { echo "$as_me:$LINENO: result: $CC" >&5
5146 +echo "${ECHO_T}$CC" >&6; }
5147 else
5148 - echo "$as_me:$LINENO: result: no" >&5
5149 -echo "${ECHO_T}no" >&6
5150 + { echo "$as_me:$LINENO: result: no" >&5
5151 +echo "${ECHO_T}no" >&6; }
5152 fi
5153
5154 +
5155 test -n "$CC" && break
5156 done
5157 fi
5158 if test -z "$CC"; then
5159 ac_ct_CC=$CC
5160 - for ac_prog in cl
5161 + for ac_prog in cl.exe
5162 do
5163 # Extract the first word of "$ac_prog", so it can be a program name with args.
5164 set dummy $ac_prog; ac_word=$2
5165 -echo "$as_me:$LINENO: checking for $ac_word" >&5
5166 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5167 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5168 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5169 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
5170 echo $ECHO_N "(cached) $ECHO_C" >&6
5171 else
5172 @@ -4818,29 +5380,45 @@ do
5173 IFS=$as_save_IFS
5174 test -z "$as_dir" && as_dir=.
5175 for ac_exec_ext in '' $ac_executable_extensions; do
5176 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5177 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5178 ac_cv_prog_ac_ct_CC="$ac_prog"
5179 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5180 break 2
5181 fi
5182 done
5183 done
5184 +IFS=$as_save_IFS
5185
5186 fi
5187 fi
5188 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5189 if test -n "$ac_ct_CC"; then
5190 - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
5191 -echo "${ECHO_T}$ac_ct_CC" >&6
5192 + { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
5193 +echo "${ECHO_T}$ac_ct_CC" >&6; }
5194 else
5195 - echo "$as_me:$LINENO: result: no" >&5
5196 -echo "${ECHO_T}no" >&6
5197 + { echo "$as_me:$LINENO: result: no" >&5
5198 +echo "${ECHO_T}no" >&6; }
5199 fi
5200
5201 +
5202 test -n "$ac_ct_CC" && break
5203 done
5204
5205 - CC=$ac_ct_CC
5206 + if test "x$ac_ct_CC" = x; then
5207 + CC=""
5208 + else
5209 + case $cross_compiling:$ac_tool_warned in
5210 +yes:)
5211 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5212 +whose name does not start with the host triplet. If you think this
5213 +configuration is useful to you, please write to autoconf@gnu.org." >&5
5214 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5215 +whose name does not start with the host triplet. If you think this
5216 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5217 +ac_tool_warned=yes ;;
5218 +esac
5219 + CC=$ac_ct_CC
5220 + fi
5221 fi
5222
5223 fi
5224 @@ -4853,27 +5431,41 @@ See \`config.log' for more details." >&2
5225 { (exit 1); exit 1; }; }
5226
5227 # Provide some information about the compiler.
5228 -echo "$as_me:$LINENO:" \
5229 - "checking for C compiler version" >&5
5230 +echo "$as_me:$LINENO: checking for C compiler version" >&5
5231 ac_compiler=`set X $ac_compile; echo $2`
5232 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
5233 - (eval $ac_compiler --version </dev/null >&5) 2>&5
5234 +{ (ac_try="$ac_compiler --version >&5"
5235 +case "(($ac_try" in
5236 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5237 + *) ac_try_echo=$ac_try;;
5238 +esac
5239 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5240 + (eval "$ac_compiler --version >&5") 2>&5
5241 ac_status=$?
5242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5243 (exit $ac_status); }
5244 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
5245 - (eval $ac_compiler -v </dev/null >&5) 2>&5
5246 +{ (ac_try="$ac_compiler -v >&5"
5247 +case "(($ac_try" in
5248 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5249 + *) ac_try_echo=$ac_try;;
5250 +esac
5251 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5252 + (eval "$ac_compiler -v >&5") 2>&5
5253 ac_status=$?
5254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5255 (exit $ac_status); }
5256 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
5257 - (eval $ac_compiler -V </dev/null >&5) 2>&5
5258 +{ (ac_try="$ac_compiler -V >&5"
5259 +case "(($ac_try" in
5260 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5261 + *) ac_try_echo=$ac_try;;
5262 +esac
5263 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5264 + (eval "$ac_compiler -V >&5") 2>&5
5265 ac_status=$?
5266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5267 (exit $ac_status); }
5268
5269 -echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
5270 -echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
5271 +{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
5272 +echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
5273 if test "${ac_cv_c_compiler_gnu+set}" = set; then
5274 echo $ECHO_N "(cached) $ECHO_C" >&6
5275 else
5276 @@ -4896,50 +5488,49 @@ main ()
5277 }
5278 _ACEOF
5279 rm -f conftest.$ac_objext
5280 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5281 - (eval $ac_compile) 2>conftest.er1
5282 +if { (ac_try="$ac_compile"
5283 +case "(($ac_try" in
5284 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5285 + *) ac_try_echo=$ac_try;;
5286 +esac
5287 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5288 + (eval "$ac_compile") 2>conftest.er1
5289 ac_status=$?
5290 grep -v '^ *+' conftest.er1 >conftest.err
5291 rm -f conftest.er1
5292 cat conftest.err >&5
5293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5294 - (exit $ac_status); } &&
5295 - { ac_try='test -z "$ac_c_werror_flag"
5296 - || test ! -s conftest.err'
5297 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5298 - (eval $ac_try) 2>&5
5299 - ac_status=$?
5300 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5301 - (exit $ac_status); }; } &&
5302 - { ac_try='test -s conftest.$ac_objext'
5303 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5304 - (eval $ac_try) 2>&5
5305 - ac_status=$?
5306 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5307 - (exit $ac_status); }; }; then
5308 + (exit $ac_status); } && {
5309 + test -z "$ac_c_werror_flag" ||
5310 + test ! -s conftest.err
5311 + } && test -s conftest.$ac_objext; then
5312 ac_compiler_gnu=yes
5313 else
5314 echo "$as_me: failed program was:" >&5
5315 sed 's/^/| /' conftest.$ac_ext >&5
5316
5317 -ac_compiler_gnu=no
5318 + ac_compiler_gnu=no
5319 fi
5320 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5321 +
5322 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5323 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5324
5325 fi
5326 -echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
5327 -echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
5328 +{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
5329 +echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
5330 GCC=`test $ac_compiler_gnu = yes && echo yes`
5331 ac_test_CFLAGS=${CFLAGS+set}
5332 ac_save_CFLAGS=$CFLAGS
5333 -CFLAGS="-g"
5334 -echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
5335 -echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
5336 +{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
5337 +echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
5338 if test "${ac_cv_prog_cc_g+set}" = set; then
5339 echo $ECHO_N "(cached) $ECHO_C" >&6
5340 else
5341 - cat >conftest.$ac_ext <<_ACEOF
5342 + ac_save_c_werror_flag=$ac_c_werror_flag
5343 + ac_c_werror_flag=yes
5344 + ac_cv_prog_cc_g=no
5345 + CFLAGS="-g"
5346 + cat >conftest.$ac_ext <<_ACEOF
5347 /* confdefs.h. */
5348 _ACEOF
5349 cat confdefs.h >>conftest.$ac_ext
5350 @@ -4955,46 +5546,126 @@ main ()
5351 }
5352 _ACEOF
5353 rm -f conftest.$ac_objext
5354 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5355 - (eval $ac_compile) 2>conftest.er1
5356 +if { (ac_try="$ac_compile"
5357 +case "(($ac_try" in
5358 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5359 + *) ac_try_echo=$ac_try;;
5360 +esac
5361 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5362 + (eval "$ac_compile") 2>conftest.er1
5363 ac_status=$?
5364 grep -v '^ *+' conftest.er1 >conftest.err
5365 rm -f conftest.er1
5366 cat conftest.err >&5
5367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5368 - (exit $ac_status); } &&
5369 - { ac_try='test -z "$ac_c_werror_flag"
5370 - || test ! -s conftest.err'
5371 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5372 - (eval $ac_try) 2>&5
5373 - ac_status=$?
5374 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5375 - (exit $ac_status); }; } &&
5376 - { ac_try='test -s conftest.$ac_objext'
5377 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5378 - (eval $ac_try) 2>&5
5379 - ac_status=$?
5380 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5381 - (exit $ac_status); }; }; then
5382 + (exit $ac_status); } && {
5383 + test -z "$ac_c_werror_flag" ||
5384 + test ! -s conftest.err
5385 + } && test -s conftest.$ac_objext; then
5386 ac_cv_prog_cc_g=yes
5387 else
5388 echo "$as_me: failed program was:" >&5
5389 sed 's/^/| /' conftest.$ac_ext >&5
5390
5391 -ac_cv_prog_cc_g=no
5392 -fi
5393 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5394 -fi
5395 -echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
5396 -echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
5397 -if test "$ac_test_CFLAGS" = set; then
5398 - CFLAGS=$ac_save_CFLAGS
5399 -elif test $ac_cv_prog_cc_g = yes; then
5400 - if test "$GCC" = yes; then
5401 - CFLAGS="-g -O2"
5402 - else
5403 - CFLAGS="-g"
5404 - fi
5405 + CFLAGS=""
5406 + cat >conftest.$ac_ext <<_ACEOF
5407 +/* confdefs.h. */
5408 +_ACEOF
5409 +cat confdefs.h >>conftest.$ac_ext
5410 +cat >>conftest.$ac_ext <<_ACEOF
5411 +/* end confdefs.h. */
5412 +
5413 +int
5414 +main ()
5415 +{
5416 +
5417 + ;
5418 + return 0;
5419 +}
5420 +_ACEOF
5421 +rm -f conftest.$ac_objext
5422 +if { (ac_try="$ac_compile"
5423 +case "(($ac_try" in
5424 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5425 + *) ac_try_echo=$ac_try;;
5426 +esac
5427 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5428 + (eval "$ac_compile") 2>conftest.er1
5429 + ac_status=$?
5430 + grep -v '^ *+' conftest.er1 >conftest.err
5431 + rm -f conftest.er1
5432 + cat conftest.err >&5
5433 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
5434 + (exit $ac_status); } && {
5435 + test -z "$ac_c_werror_flag" ||
5436 + test ! -s conftest.err
5437 + } && test -s conftest.$ac_objext; then
5438 + :
5439 +else
5440 + echo "$as_me: failed program was:" >&5
5441 +sed 's/^/| /' conftest.$ac_ext >&5
5442 +
5443 + ac_c_werror_flag=$ac_save_c_werror_flag
5444 + CFLAGS="-g"
5445 + cat >conftest.$ac_ext <<_ACEOF
5446 +/* confdefs.h. */
5447 +_ACEOF
5448 +cat confdefs.h >>conftest.$ac_ext
5449 +cat >>conftest.$ac_ext <<_ACEOF
5450 +/* end confdefs.h. */
5451 +
5452 +int
5453 +main ()
5454 +{
5455 +
5456 + ;
5457 + return 0;
5458 +}
5459 +_ACEOF
5460 +rm -f conftest.$ac_objext
5461 +if { (ac_try="$ac_compile"
5462 +case "(($ac_try" in
5463 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5464 + *) ac_try_echo=$ac_try;;
5465 +esac
5466 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5467 + (eval "$ac_compile") 2>conftest.er1
5468 + ac_status=$?
5469 + grep -v '^ *+' conftest.er1 >conftest.err
5470 + rm -f conftest.er1
5471 + cat conftest.err >&5
5472 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
5473 + (exit $ac_status); } && {
5474 + test -z "$ac_c_werror_flag" ||
5475 + test ! -s conftest.err
5476 + } && test -s conftest.$ac_objext; then
5477 + ac_cv_prog_cc_g=yes
5478 +else
5479 + echo "$as_me: failed program was:" >&5
5480 +sed 's/^/| /' conftest.$ac_ext >&5
5481 +
5482 +
5483 +fi
5484 +
5485 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5486 +fi
5487 +
5488 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5489 +fi
5490 +
5491 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5492 + ac_c_werror_flag=$ac_save_c_werror_flag
5493 +fi
5494 +{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
5495 +echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
5496 +if test "$ac_test_CFLAGS" = set; then
5497 + CFLAGS=$ac_save_CFLAGS
5498 +elif test $ac_cv_prog_cc_g = yes; then
5499 + if test "$GCC" = yes; then
5500 + CFLAGS="-g -O2"
5501 + else
5502 + CFLAGS="-g"
5503 + fi
5504 else
5505 if test "$GCC" = yes; then
5506 CFLAGS="-O2"
5507 @@ -5002,12 +5673,12 @@ else
5508 CFLAGS=
5509 fi
5510 fi
5511 -echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
5512 -echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
5513 -if test "${ac_cv_prog_cc_stdc+set}" = set; then
5514 +{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
5515 +echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
5516 +if test "${ac_cv_prog_cc_c89+set}" = set; then
5517 echo $ECHO_N "(cached) $ECHO_C" >&6
5518 else
5519 - ac_cv_prog_cc_stdc=no
5520 + ac_cv_prog_cc_c89=no
5521 ac_save_CC=$CC
5522 cat >conftest.$ac_ext <<_ACEOF
5523 /* confdefs.h. */
5524 @@ -5041,12 +5712,17 @@ static char *f (char * (*g) (char **, in
5525 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5526 function prototypes and stuff, but not '\xHH' hex character constants.
5527 These don't provoke an error unfortunately, instead are silently treated
5528 - as 'x'. The following induces an error, until -std1 is added to get
5529 + as 'x'. The following induces an error, until -std is added to get
5530 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5531 array size at least. It's necessary to write '\x00'==0 to get something
5532 - that's true only with -std1. */
5533 + that's true only with -std. */
5534 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5535
5536 +/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5537 + inside strings and character constants. */
5538 +#define FOO(x) 'x'
5539 +int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5540 +
5541 int test (int i, double x);
5542 struct s1 {int (*f) (int a);};
5543 struct s2 {int (*f) (double a);};
5544 @@ -5061,205 +5737,57 @@ return f (e, argv, 0) != argv[0] || f
5545 return 0;
5546 }
5547 _ACEOF
5548 -# Don't try gcc -ansi; that turns off useful extensions and
5549 -# breaks some systems' header files.
5550 -# AIX -qlanglvl=ansi
5551 -# Ultrix and OSF/1 -std1
5552 -# HP-UX 10.20 and later -Ae
5553 -# HP-UX older versions -Aa -D_HPUX_SOURCE
5554 -# SVR4 -Xc -D__EXTENSIONS__
5555 -for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5556 +for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5557 + -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5558 do
5559 CC="$ac_save_CC $ac_arg"
5560 rm -f conftest.$ac_objext
5561 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5562 - (eval $ac_compile) 2>conftest.er1
5563 +if { (ac_try="$ac_compile"
5564 +case "(($ac_try" in
5565 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5566 + *) ac_try_echo=$ac_try;;
5567 +esac
5568 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5569 + (eval "$ac_compile") 2>conftest.er1
5570 ac_status=$?
5571 grep -v '^ *+' conftest.er1 >conftest.err
5572 rm -f conftest.er1
5573 cat conftest.err >&5
5574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5575 - (exit $ac_status); } &&
5576 - { ac_try='test -z "$ac_c_werror_flag"
5577 - || test ! -s conftest.err'
5578 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5579 - (eval $ac_try) 2>&5
5580 - ac_status=$?
5581 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5582 - (exit $ac_status); }; } &&
5583 - { ac_try='test -s conftest.$ac_objext'
5584 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5585 - (eval $ac_try) 2>&5
5586 - ac_status=$?
5587 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5588 - (exit $ac_status); }; }; then
5589 - ac_cv_prog_cc_stdc=$ac_arg
5590 -break
5591 + (exit $ac_status); } && {
5592 + test -z "$ac_c_werror_flag" ||
5593 + test ! -s conftest.err
5594 + } && test -s conftest.$ac_objext; then
5595 + ac_cv_prog_cc_c89=$ac_arg
5596 else
5597 echo "$as_me: failed program was:" >&5
5598 sed 's/^/| /' conftest.$ac_ext >&5
5599
5600 +
5601 fi
5602 -rm -f conftest.err conftest.$ac_objext
5603 +
5604 +rm -f core conftest.err conftest.$ac_objext
5605 + test "x$ac_cv_prog_cc_c89" != "xno" && break
5606 done
5607 -rm -f conftest.$ac_ext conftest.$ac_objext
5608 +rm -f conftest.$ac_ext
5609 CC=$ac_save_CC
5610
5611 fi
5612 -
5613 -case "x$ac_cv_prog_cc_stdc" in
5614 - x|xno)
5615 - echo "$as_me:$LINENO: result: none needed" >&5
5616 -echo "${ECHO_T}none needed" >&6 ;;
5617 +# AC_CACHE_VAL
5618 +case "x$ac_cv_prog_cc_c89" in
5619 + x)
5620 + { echo "$as_me:$LINENO: result: none needed" >&5
5621 +echo "${ECHO_T}none needed" >&6; } ;;
5622 + xno)
5623 + { echo "$as_me:$LINENO: result: unsupported" >&5
5624 +echo "${ECHO_T}unsupported" >&6; } ;;
5625 *)
5626 - echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
5627 -echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
5628 - CC="$CC $ac_cv_prog_cc_stdc" ;;
5629 + CC="$CC $ac_cv_prog_cc_c89"
5630 + { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
5631 +echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
5632 esac
5633
5634 -# Some people use a C++ compiler to compile C. Since we use `exit',
5635 -# in C++ we need to declare it. In case someone uses the same compiler
5636 -# for both compiling C and C++ we need to have the C++ compiler decide
5637 -# the declaration of exit, since it's the most demanding environment.
5638 -cat >conftest.$ac_ext <<_ACEOF
5639 -#ifndef __cplusplus
5640 - choke me
5641 -#endif
5642 -_ACEOF
5643 -rm -f conftest.$ac_objext
5644 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5645 - (eval $ac_compile) 2>conftest.er1
5646 - ac_status=$?
5647 - grep -v '^ *+' conftest.er1 >conftest.err
5648 - rm -f conftest.er1
5649 - cat conftest.err >&5
5650 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5651 - (exit $ac_status); } &&
5652 - { ac_try='test -z "$ac_c_werror_flag"
5653 - || test ! -s conftest.err'
5654 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5655 - (eval $ac_try) 2>&5
5656 - ac_status=$?
5657 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5658 - (exit $ac_status); }; } &&
5659 - { ac_try='test -s conftest.$ac_objext'
5660 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5661 - (eval $ac_try) 2>&5
5662 - ac_status=$?
5663 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5664 - (exit $ac_status); }; }; then
5665 - for ac_declaration in \
5666 - '' \
5667 - 'extern "C" void std::exit (int) throw (); using std::exit;' \
5668 - 'extern "C" void std::exit (int); using std::exit;' \
5669 - 'extern "C" void exit (int) throw ();' \
5670 - 'extern "C" void exit (int);' \
5671 - 'void exit (int);'
5672 -do
5673 - cat >conftest.$ac_ext <<_ACEOF
5674 -/* confdefs.h. */
5675 -_ACEOF
5676 -cat confdefs.h >>conftest.$ac_ext
5677 -cat >>conftest.$ac_ext <<_ACEOF
5678 -/* end confdefs.h. */
5679 -$ac_declaration
5680 -#include <stdlib.h>
5681 -int
5682 -main ()
5683 -{
5684 -exit (42);
5685 - ;
5686 - return 0;
5687 -}
5688 -_ACEOF
5689 -rm -f conftest.$ac_objext
5690 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5691 - (eval $ac_compile) 2>conftest.er1
5692 - ac_status=$?
5693 - grep -v '^ *+' conftest.er1 >conftest.err
5694 - rm -f conftest.er1
5695 - cat conftest.err >&5
5696 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5697 - (exit $ac_status); } &&
5698 - { ac_try='test -z "$ac_c_werror_flag"
5699 - || test ! -s conftest.err'
5700 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5701 - (eval $ac_try) 2>&5
5702 - ac_status=$?
5703 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5704 - (exit $ac_status); }; } &&
5705 - { ac_try='test -s conftest.$ac_objext'
5706 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5707 - (eval $ac_try) 2>&5
5708 - ac_status=$?
5709 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5710 - (exit $ac_status); }; }; then
5711 - :
5712 -else
5713 - echo "$as_me: failed program was:" >&5
5714 -sed 's/^/| /' conftest.$ac_ext >&5
5715 -
5716 -continue
5717 -fi
5718 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5719 - cat >conftest.$ac_ext <<_ACEOF
5720 -/* confdefs.h. */
5721 -_ACEOF
5722 -cat confdefs.h >>conftest.$ac_ext
5723 -cat >>conftest.$ac_ext <<_ACEOF
5724 -/* end confdefs.h. */
5725 -$ac_declaration
5726 -int
5727 -main ()
5728 -{
5729 -exit (42);
5730 - ;
5731 - return 0;
5732 -}
5733 -_ACEOF
5734 -rm -f conftest.$ac_objext
5735 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5736 - (eval $ac_compile) 2>conftest.er1
5737 - ac_status=$?
5738 - grep -v '^ *+' conftest.er1 >conftest.err
5739 - rm -f conftest.er1
5740 - cat conftest.err >&5
5741 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5742 - (exit $ac_status); } &&
5743 - { ac_try='test -z "$ac_c_werror_flag"
5744 - || test ! -s conftest.err'
5745 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5746 - (eval $ac_try) 2>&5
5747 - ac_status=$?
5748 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5749 - (exit $ac_status); }; } &&
5750 - { ac_try='test -s conftest.$ac_objext'
5751 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5752 - (eval $ac_try) 2>&5
5753 - ac_status=$?
5754 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5755 - (exit $ac_status); }; }; then
5756 - break
5757 -else
5758 - echo "$as_me: failed program was:" >&5
5759 -sed 's/^/| /' conftest.$ac_ext >&5
5760 -
5761 -fi
5762 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5763 -done
5764 -rm -f conftest*
5765 -if test -n "$ac_declaration"; then
5766 - echo '#ifdef __cplusplus' >>confdefs.h
5767 - echo $ac_declaration >>confdefs.h
5768 - echo '#endif' >>confdefs.h
5769 -fi
5770 -
5771 -else
5772 - echo "$as_me: failed program was:" >&5
5773 -sed 's/^/| /' conftest.$ac_ext >&5
5774
5775 -fi
5776 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5777 ac_ext=c
5778 ac_cpp='$CPP $CPPFLAGS'
5779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5780 @@ -5277,8 +5805,8 @@ ALL_LINGUAS="fr tr ja es sv da zh_CN ro
5781 if test -n "$ac_tool_prefix"; then
5782 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5783 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5784 -echo "$as_me:$LINENO: checking for $ac_word" >&5
5785 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5786 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5787 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5788 if test "${ac_cv_prog_RANLIB+set}" = set; then
5789 echo $ECHO_N "(cached) $ECHO_C" >&6
5790 else
5791 @@ -5291,32 +5819,34 @@ do
5792 IFS=$as_save_IFS
5793 test -z "$as_dir" && as_dir=.
5794 for ac_exec_ext in '' $ac_executable_extensions; do
5795 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5796 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5797 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5798 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5799 break 2
5800 fi
5801 done
5802 done
5803 +IFS=$as_save_IFS
5804
5805 fi
5806 fi
5807 RANLIB=$ac_cv_prog_RANLIB
5808 if test -n "$RANLIB"; then
5809 - echo "$as_me:$LINENO: result: $RANLIB" >&5
5810 -echo "${ECHO_T}$RANLIB" >&6
5811 + { echo "$as_me:$LINENO: result: $RANLIB" >&5
5812 +echo "${ECHO_T}$RANLIB" >&6; }
5813 else
5814 - echo "$as_me:$LINENO: result: no" >&5
5815 -echo "${ECHO_T}no" >&6
5816 + { echo "$as_me:$LINENO: result: no" >&5
5817 +echo "${ECHO_T}no" >&6; }
5818 fi
5819
5820 +
5821 fi
5822 if test -z "$ac_cv_prog_RANLIB"; then
5823 ac_ct_RANLIB=$RANLIB
5824 # Extract the first word of "ranlib", so it can be a program name with args.
5825 set dummy ranlib; ac_word=$2
5826 -echo "$as_me:$LINENO: checking for $ac_word" >&5
5827 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5828 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5829 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5830 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5831 echo $ECHO_N "(cached) $ECHO_C" >&6
5832 else
5833 @@ -5329,27 +5859,41 @@ do
5834 IFS=$as_save_IFS
5835 test -z "$as_dir" && as_dir=.
5836 for ac_exec_ext in '' $ac_executable_extensions; do
5837 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5838 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5839 ac_cv_prog_ac_ct_RANLIB="ranlib"
5840 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5841 break 2
5842 fi
5843 done
5844 done
5845 +IFS=$as_save_IFS
5846
5847 - test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
5848 fi
5849 fi
5850 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5851 if test -n "$ac_ct_RANLIB"; then
5852 - echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5853 -echo "${ECHO_T}$ac_ct_RANLIB" >&6
5854 + { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5855 +echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
5856 else
5857 - echo "$as_me:$LINENO: result: no" >&5
5858 -echo "${ECHO_T}no" >&6
5859 + { echo "$as_me:$LINENO: result: no" >&5
5860 +echo "${ECHO_T}no" >&6; }
5861 fi
5862
5863 - RANLIB=$ac_ct_RANLIB
5864 + if test "x$ac_ct_RANLIB" = x; then
5865 + RANLIB=":"
5866 + else
5867 + case $cross_compiling:$ac_tool_warned in
5868 +yes:)
5869 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5870 +whose name does not start with the host triplet. If you think this
5871 +configuration is useful to you, please write to autoconf@gnu.org." >&5
5872 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5873 +whose name does not start with the host triplet. If you think this
5874 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5875 +ac_tool_warned=yes ;;
5876 +esac
5877 + RANLIB=$ac_ct_RANLIB
5878 + fi
5879 else
5880 RANLIB="$ac_cv_prog_RANLIB"
5881 fi
5882 @@ -5359,8 +5903,8 @@ ac_cpp='$CPP $CPPFLAGS'
5883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5886 -echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5887 -echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
5888 +{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5889 +echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
5890 # On Suns, sometimes $CPP names a directory.
5891 if test -n "$CPP" && test -d "$CPP"; then
5892 CPP=
5893 @@ -5394,24 +5938,22 @@ cat >>conftest.$ac_ext <<_ACEOF
5894 #endif
5895 Syntax error
5896 _ACEOF
5897 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5898 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5899 +if { (ac_try="$ac_cpp conftest.$ac_ext"
5900 +case "(($ac_try" in
5901 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5902 + *) ac_try_echo=$ac_try;;
5903 +esac
5904 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5905 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5906 ac_status=$?
5907 grep -v '^ *+' conftest.er1 >conftest.err
5908 rm -f conftest.er1
5909 cat conftest.err >&5
5910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5911 - (exit $ac_status); } >/dev/null; then
5912 - if test -s conftest.err; then
5913 - ac_cpp_err=$ac_c_preproc_warn_flag
5914 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5915 - else
5916 - ac_cpp_err=
5917 - fi
5918 -else
5919 - ac_cpp_err=yes
5920 -fi
5921 -if test -z "$ac_cpp_err"; then
5922 + (exit $ac_status); } >/dev/null && {
5923 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5924 + test ! -s conftest.err
5925 + }; then
5926 :
5927 else
5928 echo "$as_me: failed program was:" >&5
5929 @@ -5420,9 +5962,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
5930 # Broken: fails on valid input.
5931 continue
5932 fi
5933 +
5934 rm -f conftest.err conftest.$ac_ext
5935
5936 - # OK, works on sane cases. Now check whether non-existent headers
5937 + # OK, works on sane cases. Now check whether nonexistent headers
5938 # can be detected and how.
5939 cat >conftest.$ac_ext <<_ACEOF
5940 /* confdefs.h. */
5941 @@ -5432,24 +5975,22 @@ cat >>conftest.$ac_ext <<_ACEOF
5942 /* end confdefs.h. */
5943 #include <ac_nonexistent.h>
5944 _ACEOF
5945 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5946 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5947 +if { (ac_try="$ac_cpp conftest.$ac_ext"
5948 +case "(($ac_try" in
5949 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5950 + *) ac_try_echo=$ac_try;;
5951 +esac
5952 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5953 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5954 ac_status=$?
5955 grep -v '^ *+' conftest.er1 >conftest.err
5956 rm -f conftest.er1
5957 cat conftest.err >&5
5958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5959 - (exit $ac_status); } >/dev/null; then
5960 - if test -s conftest.err; then
5961 - ac_cpp_err=$ac_c_preproc_warn_flag
5962 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5963 - else
5964 - ac_cpp_err=
5965 - fi
5966 -else
5967 - ac_cpp_err=yes
5968 -fi
5969 -if test -z "$ac_cpp_err"; then
5970 + (exit $ac_status); } >/dev/null && {
5971 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5972 + test ! -s conftest.err
5973 + }; then
5974 # Broken: success on invalid input.
5975 continue
5976 else
5977 @@ -5460,6 +6001,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
5978 ac_preproc_ok=:
5979 break
5980 fi
5981 +
5982 rm -f conftest.err conftest.$ac_ext
5983
5984 done
5985 @@ -5477,8 +6019,8 @@ fi
5986 else
5987 ac_cv_prog_CPP=$CPP
5988 fi
5989 -echo "$as_me:$LINENO: result: $CPP" >&5
5990 -echo "${ECHO_T}$CPP" >&6
5991 +{ echo "$as_me:$LINENO: result: $CPP" >&5
5992 +echo "${ECHO_T}$CPP" >&6; }
5993 ac_preproc_ok=false
5994 for ac_c_preproc_warn_flag in '' yes
5995 do
5996 @@ -5501,24 +6043,22 @@ cat >>conftest.$ac_ext <<_ACEOF
5997 #endif
5998 Syntax error
5999 _ACEOF
6000 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6001 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6002 +if { (ac_try="$ac_cpp conftest.$ac_ext"
6003 +case "(($ac_try" in
6004 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6005 + *) ac_try_echo=$ac_try;;
6006 +esac
6007 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6008 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6009 ac_status=$?
6010 grep -v '^ *+' conftest.er1 >conftest.err
6011 rm -f conftest.er1
6012 cat conftest.err >&5
6013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6014 - (exit $ac_status); } >/dev/null; then
6015 - if test -s conftest.err; then
6016 - ac_cpp_err=$ac_c_preproc_warn_flag
6017 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6018 - else
6019 - ac_cpp_err=
6020 - fi
6021 -else
6022 - ac_cpp_err=yes
6023 -fi
6024 -if test -z "$ac_cpp_err"; then
6025 + (exit $ac_status); } >/dev/null && {
6026 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6027 + test ! -s conftest.err
6028 + }; then
6029 :
6030 else
6031 echo "$as_me: failed program was:" >&5
6032 @@ -5527,9 +6067,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
6033 # Broken: fails on valid input.
6034 continue
6035 fi
6036 +
6037 rm -f conftest.err conftest.$ac_ext
6038
6039 - # OK, works on sane cases. Now check whether non-existent headers
6040 + # OK, works on sane cases. Now check whether nonexistent headers
6041 # can be detected and how.
6042 cat >conftest.$ac_ext <<_ACEOF
6043 /* confdefs.h. */
6044 @@ -5539,24 +6080,22 @@ cat >>conftest.$ac_ext <<_ACEOF
6045 /* end confdefs.h. */
6046 #include <ac_nonexistent.h>
6047 _ACEOF
6048 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6049 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6050 +if { (ac_try="$ac_cpp conftest.$ac_ext"
6051 +case "(($ac_try" in
6052 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6053 + *) ac_try_echo=$ac_try;;
6054 +esac
6055 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6056 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6057 ac_status=$?
6058 grep -v '^ *+' conftest.er1 >conftest.err
6059 rm -f conftest.er1
6060 cat conftest.err >&5
6061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6062 - (exit $ac_status); } >/dev/null; then
6063 - if test -s conftest.err; then
6064 - ac_cpp_err=$ac_c_preproc_warn_flag
6065 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6066 - else
6067 - ac_cpp_err=
6068 - fi
6069 -else
6070 - ac_cpp_err=yes
6071 -fi
6072 -if test -z "$ac_cpp_err"; then
6073 + (exit $ac_status); } >/dev/null && {
6074 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6075 + test ! -s conftest.err
6076 + }; then
6077 # Broken: success on invalid input.
6078 continue
6079 else
6080 @@ -5567,6 +6106,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
6081 ac_preproc_ok=:
6082 break
6083 fi
6084 +
6085 rm -f conftest.err conftest.$ac_ext
6086
6087 done
6088 @@ -5589,87 +6129,230 @@ ac_link='$CC -o conftest$ac_exeext $CFLA
6089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6090
6091
6092 -echo "$as_me:$LINENO: checking for egrep" >&5
6093 -echo $ECHO_N "checking for egrep... $ECHO_C" >&6
6094 -if test "${ac_cv_prog_egrep+set}" = set; then
6095 +{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
6096 +echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
6097 +if test "${ac_cv_path_GREP+set}" = set; then
6098 + echo $ECHO_N "(cached) $ECHO_C" >&6
6099 +else
6100 + # Extract the first word of "grep ggrep" to use in msg output
6101 +if test -z "$GREP"; then
6102 +set dummy grep ggrep; ac_prog_name=$2
6103 +if test "${ac_cv_path_GREP+set}" = set; then
6104 echo $ECHO_N "(cached) $ECHO_C" >&6
6105 else
6106 - if echo a | (grep -E '(a|b)') >/dev/null 2>&1
6107 - then ac_cv_prog_egrep='grep -E'
6108 - else ac_cv_prog_egrep='egrep'
6109 + ac_path_GREP_found=false
6110 +# Loop through the user's path and test for each of PROGNAME-LIST
6111 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6112 +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6113 +do
6114 + IFS=$as_save_IFS
6115 + test -z "$as_dir" && as_dir=.
6116 + for ac_prog in grep ggrep; do
6117 + for ac_exec_ext in '' $ac_executable_extensions; do
6118 + ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6119 + { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
6120 + # Check for GNU ac_path_GREP and select it if it is found.
6121 + # Check for GNU $ac_path_GREP
6122 +case `"$ac_path_GREP" --version 2>&1` in
6123 +*GNU*)
6124 + ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6125 +*)
6126 + ac_count=0
6127 + echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
6128 + while :
6129 + do
6130 + cat "conftest.in" "conftest.in" >"conftest.tmp"
6131 + mv "conftest.tmp" "conftest.in"
6132 + cp "conftest.in" "conftest.nl"
6133 + echo 'GREP' >> "conftest.nl"
6134 + "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6135 + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6136 + ac_count=`expr $ac_count + 1`
6137 + if test $ac_count -gt ${ac_path_GREP_max-0}; then
6138 + # Best one so far, save it but keep looking for a better one
6139 + ac_cv_path_GREP="$ac_path_GREP"
6140 + ac_path_GREP_max=$ac_count
6141 fi
6142 -fi
6143 -echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
6144 -echo "${ECHO_T}$ac_cv_prog_egrep" >&6
6145 - EGREP=$ac_cv_prog_egrep
6146 + # 10*(2^10) chars as input seems more than enough
6147 + test $ac_count -gt 10 && break
6148 + done
6149 + rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6150 +esac
6151
6152
6153 -echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6154 -echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
6155 -if test "${ac_cv_header_stdc+set}" = set; then
6156 - echo $ECHO_N "(cached) $ECHO_C" >&6
6157 -else
6158 - cat >conftest.$ac_ext <<_ACEOF
6159 -/* confdefs.h. */
6160 -_ACEOF
6161 -cat confdefs.h >>conftest.$ac_ext
6162 -cat >>conftest.$ac_ext <<_ACEOF
6163 -/* end confdefs.h. */
6164 -#include <stdlib.h>
6165 -#include <stdarg.h>
6166 -#include <string.h>
6167 -#include <float.h>
6168 + $ac_path_GREP_found && break 3
6169 + done
6170 +done
6171
6172 -int
6173 -main ()
6174 -{
6175 +done
6176 +IFS=$as_save_IFS
6177
6178 - ;
6179 - return 0;
6180 -}
6181 -_ACEOF
6182 -rm -f conftest.$ac_objext
6183 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6184 - (eval $ac_compile) 2>conftest.er1
6185 - ac_status=$?
6186 - grep -v '^ *+' conftest.er1 >conftest.err
6187 - rm -f conftest.er1
6188 - cat conftest.err >&5
6189 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6190 - (exit $ac_status); } &&
6191 - { ac_try='test -z "$ac_c_werror_flag"
6192 - || test ! -s conftest.err'
6193 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6194 - (eval $ac_try) 2>&5
6195 - ac_status=$?
6196 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6197 - (exit $ac_status); }; } &&
6198 - { ac_try='test -s conftest.$ac_objext'
6199 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6200 - (eval $ac_try) 2>&5
6201 - ac_status=$?
6202 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6203 - (exit $ac_status); }; }; then
6204 - ac_cv_header_stdc=yes
6205 -else
6206 - echo "$as_me: failed program was:" >&5
6207 -sed 's/^/| /' conftest.$ac_ext >&5
6208
6209 -ac_cv_header_stdc=no
6210 fi
6211 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6212
6213 -if test $ac_cv_header_stdc = yes; then
6214 - # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6215 - cat >conftest.$ac_ext <<_ACEOF
6216 -/* confdefs.h. */
6217 -_ACEOF
6218 -cat confdefs.h >>conftest.$ac_ext
6219 -cat >>conftest.$ac_ext <<_ACEOF
6220 -/* end confdefs.h. */
6221 -#include <string.h>
6222 +GREP="$ac_cv_path_GREP"
6223 +if test -z "$GREP"; then
6224 + { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
6225 +echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
6226 + { (exit 1); exit 1; }; }
6227 +fi
6228
6229 -_ACEOF
6230 +else
6231 + ac_cv_path_GREP=$GREP
6232 +fi
6233 +
6234 +
6235 +fi
6236 +{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
6237 +echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
6238 + GREP="$ac_cv_path_GREP"
6239 +
6240 +
6241 +{ echo "$as_me:$LINENO: checking for egrep" >&5
6242 +echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
6243 +if test "${ac_cv_path_EGREP+set}" = set; then
6244 + echo $ECHO_N "(cached) $ECHO_C" >&6
6245 +else
6246 + if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6247 + then ac_cv_path_EGREP="$GREP -E"
6248 + else
6249 + # Extract the first word of "egrep" to use in msg output
6250 +if test -z "$EGREP"; then
6251 +set dummy egrep; ac_prog_name=$2
6252 +if test "${ac_cv_path_EGREP+set}" = set; then
6253 + echo $ECHO_N "(cached) $ECHO_C" >&6
6254 +else
6255 + ac_path_EGREP_found=false
6256 +# Loop through the user's path and test for each of PROGNAME-LIST
6257 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6258 +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6259 +do
6260 + IFS=$as_save_IFS
6261 + test -z "$as_dir" && as_dir=.
6262 + for ac_prog in egrep; do
6263 + for ac_exec_ext in '' $ac_executable_extensions; do
6264 + ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6265 + { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
6266 + # Check for GNU ac_path_EGREP and select it if it is found.
6267 + # Check for GNU $ac_path_EGREP
6268 +case `"$ac_path_EGREP" --version 2>&1` in
6269 +*GNU*)
6270 + ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6271 +*)
6272 + ac_count=0
6273 + echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
6274 + while :
6275 + do
6276 + cat "conftest.in" "conftest.in" >"conftest.tmp"
6277 + mv "conftest.tmp" "conftest.in"
6278 + cp "conftest.in" "conftest.nl"
6279 + echo 'EGREP' >> "conftest.nl"
6280 + "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6281 + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6282 + ac_count=`expr $ac_count + 1`
6283 + if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6284 + # Best one so far, save it but keep looking for a better one
6285 + ac_cv_path_EGREP="$ac_path_EGREP"
6286 + ac_path_EGREP_max=$ac_count
6287 + fi
6288 + # 10*(2^10) chars as input seems more than enough
6289 + test $ac_count -gt 10 && break
6290 + done
6291 + rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6292 +esac
6293 +
6294 +
6295 + $ac_path_EGREP_found && break 3
6296 + done
6297 +done
6298 +
6299 +done
6300 +IFS=$as_save_IFS
6301 +
6302 +
6303 +fi
6304 +
6305 +EGREP="$ac_cv_path_EGREP"
6306 +if test -z "$EGREP"; then
6307 + { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
6308 +echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
6309 + { (exit 1); exit 1; }; }
6310 +fi
6311 +
6312 +else
6313 + ac_cv_path_EGREP=$EGREP
6314 +fi
6315 +
6316 +
6317 + fi
6318 +fi
6319 +{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
6320 +echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
6321 + EGREP="$ac_cv_path_EGREP"
6322 +
6323 +
6324 +{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6325 +echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
6326 +if test "${ac_cv_header_stdc+set}" = set; then
6327 + echo $ECHO_N "(cached) $ECHO_C" >&6
6328 +else
6329 + cat >conftest.$ac_ext <<_ACEOF
6330 +/* confdefs.h. */
6331 +_ACEOF
6332 +cat confdefs.h >>conftest.$ac_ext
6333 +cat >>conftest.$ac_ext <<_ACEOF
6334 +/* end confdefs.h. */
6335 +#include <stdlib.h>
6336 +#include <stdarg.h>
6337 +#include <string.h>
6338 +#include <float.h>
6339 +
6340 +int
6341 +main ()
6342 +{
6343 +
6344 + ;
6345 + return 0;
6346 +}
6347 +_ACEOF
6348 +rm -f conftest.$ac_objext
6349 +if { (ac_try="$ac_compile"
6350 +case "(($ac_try" in
6351 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6352 + *) ac_try_echo=$ac_try;;
6353 +esac
6354 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6355 + (eval "$ac_compile") 2>conftest.er1
6356 + ac_status=$?
6357 + grep -v '^ *+' conftest.er1 >conftest.err
6358 + rm -f conftest.er1
6359 + cat conftest.err >&5
6360 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6361 + (exit $ac_status); } && {
6362 + test -z "$ac_c_werror_flag" ||
6363 + test ! -s conftest.err
6364 + } && test -s conftest.$ac_objext; then
6365 + ac_cv_header_stdc=yes
6366 +else
6367 + echo "$as_me: failed program was:" >&5
6368 +sed 's/^/| /' conftest.$ac_ext >&5
6369 +
6370 + ac_cv_header_stdc=no
6371 +fi
6372 +
6373 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6374 +
6375 +if test $ac_cv_header_stdc = yes; then
6376 + # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6377 + cat >conftest.$ac_ext <<_ACEOF
6378 +/* confdefs.h. */
6379 +_ACEOF
6380 +cat confdefs.h >>conftest.$ac_ext
6381 +cat >>conftest.$ac_ext <<_ACEOF
6382 +/* end confdefs.h. */
6383 +#include <string.h>
6384 +
6385 +_ACEOF
6386 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6387 $EGREP "memchr" >/dev/null 2>&1; then
6388 :
6389 @@ -5713,6 +6396,7 @@ cat confdefs.h >>conftest.$ac_ext
6390 cat >>conftest.$ac_ext <<_ACEOF
6391 /* end confdefs.h. */
6392 #include <ctype.h>
6393 +#include <stdlib.h>
6394 #if ((' ' & 0x0FF) == 0x020)
6395 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6396 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6397 @@ -5732,18 +6416,27 @@ main ()
6398 for (i = 0; i < 256; i++)
6399 if (XOR (islower (i), ISLOWER (i))
6400 || toupper (i) != TOUPPER (i))
6401 - exit(2);
6402 - exit (0);
6403 + return 2;
6404 + return 0;
6405 }
6406 _ACEOF
6407 rm -f conftest$ac_exeext
6408 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6409 - (eval $ac_link) 2>&5
6410 +if { (ac_try="$ac_link"
6411 +case "(($ac_try" in
6412 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6413 + *) ac_try_echo=$ac_try;;
6414 +esac
6415 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6416 + (eval "$ac_link") 2>&5
6417 ac_status=$?
6418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6419 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6420 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6421 - (eval $ac_try) 2>&5
6422 + { (case "(($ac_try" in
6423 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6424 + *) ac_try_echo=$ac_try;;
6425 +esac
6426 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6427 + (eval "$ac_try") 2>&5
6428 ac_status=$?
6429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6430 (exit $ac_status); }; }; then
6431 @@ -5756,12 +6449,14 @@ sed 's/^/| /' conftest.$ac_ext >&5
6432 ( exit $ac_status )
6433 ac_cv_header_stdc=no
6434 fi
6435 -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6436 +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6437 fi
6438 +
6439 +
6440 fi
6441 fi
6442 -echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6443 -echo "${ECHO_T}$ac_cv_header_stdc" >&6
6444 +{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6445 +echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
6446 if test $ac_cv_header_stdc = yes; then
6447
6448 cat >>confdefs.h <<\_ACEOF
6449 @@ -5770,8 +6465,8 @@ _ACEOF
6450
6451 fi
6452
6453 -echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
6454 -echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
6455 +{ echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
6456 +echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
6457 if test "${ac_cv_c_const+set}" = set; then
6458 echo $ECHO_N "(cached) $ECHO_C" >&6
6459 else
6460 @@ -5789,10 +6484,10 @@ main ()
6461 #ifndef __cplusplus
6462 /* Ultrix mips cc rejects this. */
6463 typedef int charset[2];
6464 - const charset x;
6465 + const charset cs;
6466 /* SunOS 4.1.1 cc rejects this. */
6467 - char const *const *ccp;
6468 - char **p;
6469 + char const *const *pcpcc;
6470 + char **ppc;
6471 /* NEC SVR4.0.2 mips cc rejects this. */
6472 struct point {int x, y;};
6473 static struct point const zero = {0,0};
6474 @@ -5801,16 +6496,17 @@ main ()
6475 an arm of an if-expression whose if-part is not a constant
6476 expression */
6477 const char *g = "string";
6478 - ccp = &g + (g ? g-g : 0);
6479 + pcpcc = &g + (g ? g-g : 0);
6480 /* HPUX 7.0 cc rejects these. */
6481 - ++ccp;
6482 - p = (char**) ccp;
6483 - ccp = (char const *const *) p;
6484 + ++pcpcc;
6485 + ppc = (char**) pcpcc;
6486 + pcpcc = (char const *const *) ppc;
6487 { /* SCO 3.2v4 cc rejects this. */
6488 char *t;
6489 char const *s = 0 ? (char *) 0 : (char const *) 0;
6490
6491 *t++ = 0;
6492 + if (s) return 0;
6493 }
6494 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
6495 int x[] = {25, 17};
6496 @@ -5829,7 +6525,9 @@ main ()
6497 }
6498 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
6499 const int foo = 10;
6500 + if (!foo) return 0;
6501 }
6502 + return !cs[0] && !zero.x;
6503 #endif
6504
6505 ;
6506 @@ -5837,38 +6535,34 @@ main ()
6507 }
6508 _ACEOF
6509 rm -f conftest.$ac_objext
6510 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6511 - (eval $ac_compile) 2>conftest.er1
6512 +if { (ac_try="$ac_compile"
6513 +case "(($ac_try" in
6514 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6515 + *) ac_try_echo=$ac_try;;
6516 +esac
6517 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6518 + (eval "$ac_compile") 2>conftest.er1
6519 ac_status=$?
6520 grep -v '^ *+' conftest.er1 >conftest.err
6521 rm -f conftest.er1
6522 cat conftest.err >&5
6523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6524 - (exit $ac_status); } &&
6525 - { ac_try='test -z "$ac_c_werror_flag"
6526 - || test ! -s conftest.err'
6527 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6528 - (eval $ac_try) 2>&5
6529 - ac_status=$?
6530 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6531 - (exit $ac_status); }; } &&
6532 - { ac_try='test -s conftest.$ac_objext'
6533 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6534 - (eval $ac_try) 2>&5
6535 - ac_status=$?
6536 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6537 - (exit $ac_status); }; }; then
6538 + (exit $ac_status); } && {
6539 + test -z "$ac_c_werror_flag" ||
6540 + test ! -s conftest.err
6541 + } && test -s conftest.$ac_objext; then
6542 ac_cv_c_const=yes
6543 else
6544 echo "$as_me: failed program was:" >&5
6545 sed 's/^/| /' conftest.$ac_ext >&5
6546
6547 -ac_cv_c_const=no
6548 + ac_cv_c_const=no
6549 fi
6550 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6551 +
6552 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6553 fi
6554 -echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
6555 -echo "${ECHO_T}$ac_cv_c_const" >&6
6556 +{ echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
6557 +echo "${ECHO_T}$ac_cv_c_const" >&6; }
6558 if test $ac_cv_c_const = no; then
6559
6560 cat >>confdefs.h <<\_ACEOF
6561 @@ -5877,8 +6571,8 @@ _ACEOF
6562
6563 fi
6564
6565 -echo "$as_me:$LINENO: checking for inline" >&5
6566 -echo $ECHO_N "checking for inline... $ECHO_C" >&6
6567 +{ echo "$as_me:$LINENO: checking for inline" >&5
6568 +echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
6569 if test "${ac_cv_c_inline+set}" = set; then
6570 echo $ECHO_N "(cached) $ECHO_C" >&6
6571 else
6572 @@ -5898,39 +6592,37 @@ $ac_kw foo_t foo () {return 0; }
6573
6574 _ACEOF
6575 rm -f conftest.$ac_objext
6576 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6577 - (eval $ac_compile) 2>conftest.er1
6578 +if { (ac_try="$ac_compile"
6579 +case "(($ac_try" in
6580 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6581 + *) ac_try_echo=$ac_try;;
6582 +esac
6583 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6584 + (eval "$ac_compile") 2>conftest.er1
6585 ac_status=$?
6586 grep -v '^ *+' conftest.er1 >conftest.err
6587 rm -f conftest.er1
6588 cat conftest.err >&5
6589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6590 - (exit $ac_status); } &&
6591 - { ac_try='test -z "$ac_c_werror_flag"
6592 - || test ! -s conftest.err'
6593 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6594 - (eval $ac_try) 2>&5
6595 - ac_status=$?
6596 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6597 - (exit $ac_status); }; } &&
6598 - { ac_try='test -s conftest.$ac_objext'
6599 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6600 - (eval $ac_try) 2>&5
6601 - ac_status=$?
6602 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6603 - (exit $ac_status); }; }; then
6604 - ac_cv_c_inline=$ac_kw; break
6605 + (exit $ac_status); } && {
6606 + test -z "$ac_c_werror_flag" ||
6607 + test ! -s conftest.err
6608 + } && test -s conftest.$ac_objext; then
6609 + ac_cv_c_inline=$ac_kw
6610 else
6611 echo "$as_me: failed program was:" >&5
6612 sed 's/^/| /' conftest.$ac_ext >&5
6613
6614 +
6615 fi
6616 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6617 +
6618 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6619 + test "$ac_cv_c_inline" != no && break
6620 done
6621
6622 fi
6623 -echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
6624 -echo "${ECHO_T}$ac_cv_c_inline" >&6
6625 +{ echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
6626 +echo "${ECHO_T}$ac_cv_c_inline" >&6; }
6627
6628
6629 case $ac_cv_c_inline in
6630 @@ -5962,9 +6654,9 @@ for ac_header in sys/types.h sys/stat.h
6631 inttypes.h stdint.h unistd.h
6632 do
6633 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6634 -echo "$as_me:$LINENO: checking for $ac_header" >&5
6635 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6636 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
6637 +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
6638 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6639 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6640 echo $ECHO_N "(cached) $ECHO_C" >&6
6641 else
6642 cat >conftest.$ac_ext <<_ACEOF
6643 @@ -5978,38 +6670,35 @@ $ac_includes_default
6644 #include <$ac_header>
6645 _ACEOF
6646 rm -f conftest.$ac_objext
6647 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6648 - (eval $ac_compile) 2>conftest.er1
6649 +if { (ac_try="$ac_compile"
6650 +case "(($ac_try" in
6651 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6652 + *) ac_try_echo=$ac_try;;
6653 +esac
6654 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6655 + (eval "$ac_compile") 2>conftest.er1
6656 ac_status=$?
6657 grep -v '^ *+' conftest.er1 >conftest.err
6658 rm -f conftest.er1
6659 cat conftest.err >&5
6660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6661 - (exit $ac_status); } &&
6662 - { ac_try='test -z "$ac_c_werror_flag"
6663 - || test ! -s conftest.err'
6664 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6665 - (eval $ac_try) 2>&5
6666 - ac_status=$?
6667 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6668 - (exit $ac_status); }; } &&
6669 - { ac_try='test -s conftest.$ac_objext'
6670 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6671 - (eval $ac_try) 2>&5
6672 - ac_status=$?
6673 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6674 - (exit $ac_status); }; }; then
6675 + (exit $ac_status); } && {
6676 + test -z "$ac_c_werror_flag" ||
6677 + test ! -s conftest.err
6678 + } && test -s conftest.$ac_objext; then
6679 eval "$as_ac_Header=yes"
6680 else
6681 echo "$as_me: failed program was:" >&5
6682 sed 's/^/| /' conftest.$ac_ext >&5
6683
6684 -eval "$as_ac_Header=no"
6685 + eval "$as_ac_Header=no"
6686 fi
6687 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6688 +
6689 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6690 fi
6691 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6692 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6693 +ac_res=`eval echo '${'$as_ac_Header'}'`
6694 + { echo "$as_me:$LINENO: result: $ac_res" >&5
6695 +echo "${ECHO_T}$ac_res" >&6; }
6696 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6697 cat >>confdefs.h <<_ACEOF
6698 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6699 @@ -6020,8 +6709,8 @@ fi
6700 done
6701
6702
6703 -echo "$as_me:$LINENO: checking for off_t" >&5
6704 -echo $ECHO_N "checking for off_t... $ECHO_C" >&6
6705 +{ echo "$as_me:$LINENO: checking for off_t" >&5
6706 +echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
6707 if test "${ac_cv_type_off_t+set}" = set; then
6708 echo $ECHO_N "(cached) $ECHO_C" >&6
6709 else
6710 @@ -6032,62 +6721,59 @@ cat confdefs.h >>conftest.$ac_ext
6711 cat >>conftest.$ac_ext <<_ACEOF
6712 /* end confdefs.h. */
6713 $ac_includes_default
6714 +typedef off_t ac__type_new_;
6715 int
6716 main ()
6717 {
6718 -if ((off_t *) 0)
6719 +if ((ac__type_new_ *) 0)
6720 return 0;
6721 -if (sizeof (off_t))
6722 +if (sizeof (ac__type_new_))
6723 return 0;
6724 ;
6725 return 0;
6726 }
6727 _ACEOF
6728 rm -f conftest.$ac_objext
6729 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6730 - (eval $ac_compile) 2>conftest.er1
6731 +if { (ac_try="$ac_compile"
6732 +case "(($ac_try" in
6733 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6734 + *) ac_try_echo=$ac_try;;
6735 +esac
6736 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6737 + (eval "$ac_compile") 2>conftest.er1
6738 ac_status=$?
6739 grep -v '^ *+' conftest.er1 >conftest.err
6740 rm -f conftest.er1
6741 cat conftest.err >&5
6742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6743 - (exit $ac_status); } &&
6744 - { ac_try='test -z "$ac_c_werror_flag"
6745 - || test ! -s conftest.err'
6746 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6747 - (eval $ac_try) 2>&5
6748 - ac_status=$?
6749 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6750 - (exit $ac_status); }; } &&
6751 - { ac_try='test -s conftest.$ac_objext'
6752 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6753 - (eval $ac_try) 2>&5
6754 - ac_status=$?
6755 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6756 - (exit $ac_status); }; }; then
6757 + (exit $ac_status); } && {
6758 + test -z "$ac_c_werror_flag" ||
6759 + test ! -s conftest.err
6760 + } && test -s conftest.$ac_objext; then
6761 ac_cv_type_off_t=yes
6762 else
6763 echo "$as_me: failed program was:" >&5
6764 sed 's/^/| /' conftest.$ac_ext >&5
6765
6766 -ac_cv_type_off_t=no
6767 + ac_cv_type_off_t=no
6768 fi
6769 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6770 +
6771 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6772 fi
6773 -echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
6774 -echo "${ECHO_T}$ac_cv_type_off_t" >&6
6775 +{ echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
6776 +echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
6777 if test $ac_cv_type_off_t = yes; then
6778 :
6779 else
6780
6781 cat >>confdefs.h <<_ACEOF
6782 -#define off_t long
6783 +#define off_t long int
6784 _ACEOF
6785
6786 fi
6787
6788 -echo "$as_me:$LINENO: checking for size_t" >&5
6789 -echo $ECHO_N "checking for size_t... $ECHO_C" >&6
6790 +{ echo "$as_me:$LINENO: checking for size_t" >&5
6791 +echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
6792 if test "${ac_cv_type_size_t+set}" = set; then
6793 echo $ECHO_N "(cached) $ECHO_C" >&6
6794 else
6795 @@ -6098,64 +6784,61 @@ cat confdefs.h >>conftest.$ac_ext
6796 cat >>conftest.$ac_ext <<_ACEOF
6797 /* end confdefs.h. */
6798 $ac_includes_default
6799 +typedef size_t ac__type_new_;
6800 int
6801 main ()
6802 {
6803 -if ((size_t *) 0)
6804 +if ((ac__type_new_ *) 0)
6805 return 0;
6806 -if (sizeof (size_t))
6807 +if (sizeof (ac__type_new_))
6808 return 0;
6809 ;
6810 return 0;
6811 }
6812 _ACEOF
6813 rm -f conftest.$ac_objext
6814 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6815 - (eval $ac_compile) 2>conftest.er1
6816 +if { (ac_try="$ac_compile"
6817 +case "(($ac_try" in
6818 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6819 + *) ac_try_echo=$ac_try;;
6820 +esac
6821 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6822 + (eval "$ac_compile") 2>conftest.er1
6823 ac_status=$?
6824 grep -v '^ *+' conftest.er1 >conftest.err
6825 rm -f conftest.er1
6826 cat conftest.err >&5
6827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6828 - (exit $ac_status); } &&
6829 - { ac_try='test -z "$ac_c_werror_flag"
6830 - || test ! -s conftest.err'
6831 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6832 - (eval $ac_try) 2>&5
6833 - ac_status=$?
6834 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6835 - (exit $ac_status); }; } &&
6836 - { ac_try='test -s conftest.$ac_objext'
6837 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6838 - (eval $ac_try) 2>&5
6839 - ac_status=$?
6840 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6841 - (exit $ac_status); }; }; then
6842 + (exit $ac_status); } && {
6843 + test -z "$ac_c_werror_flag" ||
6844 + test ! -s conftest.err
6845 + } && test -s conftest.$ac_objext; then
6846 ac_cv_type_size_t=yes
6847 else
6848 echo "$as_me: failed program was:" >&5
6849 sed 's/^/| /' conftest.$ac_ext >&5
6850
6851 -ac_cv_type_size_t=no
6852 + ac_cv_type_size_t=no
6853 fi
6854 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6855 +
6856 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6857 fi
6858 -echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
6859 -echo "${ECHO_T}$ac_cv_type_size_t" >&6
6860 +{ echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
6861 +echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
6862 if test $ac_cv_type_size_t = yes; then
6863 :
6864 else
6865
6866 cat >>confdefs.h <<_ACEOF
6867 -#define size_t unsigned
6868 +#define size_t unsigned int
6869 _ACEOF
6870
6871 fi
6872
6873 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
6874 # for constant arguments. Useless!
6875 -echo "$as_me:$LINENO: checking for working alloca.h" >&5
6876 -echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
6877 +{ echo "$as_me:$LINENO: checking for working alloca.h" >&5
6878 +echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6; }
6879 if test "${ac_cv_working_alloca_h+set}" = set; then
6880 echo $ECHO_N "(cached) $ECHO_C" >&6
6881 else
6882 @@ -6170,44 +6853,42 @@ int
6883 main ()
6884 {
6885 char *p = (char *) alloca (2 * sizeof (int));
6886 + if (p) return 0;
6887 ;
6888 return 0;
6889 }
6890 _ACEOF
6891 rm -f conftest.$ac_objext conftest$ac_exeext
6892 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6893 - (eval $ac_link) 2>conftest.er1
6894 +if { (ac_try="$ac_link"
6895 +case "(($ac_try" in
6896 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6897 + *) ac_try_echo=$ac_try;;
6898 +esac
6899 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6900 + (eval "$ac_link") 2>conftest.er1
6901 ac_status=$?
6902 grep -v '^ *+' conftest.er1 >conftest.err
6903 rm -f conftest.er1
6904 cat conftest.err >&5
6905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6906 - (exit $ac_status); } &&
6907 - { ac_try='test -z "$ac_c_werror_flag"
6908 - || test ! -s conftest.err'
6909 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6910 - (eval $ac_try) 2>&5
6911 - ac_status=$?
6912 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6913 - (exit $ac_status); }; } &&
6914 - { ac_try='test -s conftest$ac_exeext'
6915 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6916 - (eval $ac_try) 2>&5
6917 - ac_status=$?
6918 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6919 - (exit $ac_status); }; }; then
6920 + (exit $ac_status); } && {
6921 + test -z "$ac_c_werror_flag" ||
6922 + test ! -s conftest.err
6923 + } && test -s conftest$ac_exeext &&
6924 + $as_test_x conftest$ac_exeext; then
6925 ac_cv_working_alloca_h=yes
6926 else
6927 echo "$as_me: failed program was:" >&5
6928 sed 's/^/| /' conftest.$ac_ext >&5
6929
6930 -ac_cv_working_alloca_h=no
6931 + ac_cv_working_alloca_h=no
6932 fi
6933 -rm -f conftest.err conftest.$ac_objext \
6934 +
6935 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6936 conftest$ac_exeext conftest.$ac_ext
6937 fi
6938 -echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
6939 -echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
6940 +{ echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
6941 +echo "${ECHO_T}$ac_cv_working_alloca_h" >&6; }
6942 if test $ac_cv_working_alloca_h = yes; then
6943
6944 cat >>confdefs.h <<\_ACEOF
6945 @@ -6216,8 +6897,8 @@ _ACEOF
6946
6947 fi
6948
6949 -echo "$as_me:$LINENO: checking for alloca" >&5
6950 -echo $ECHO_N "checking for alloca... $ECHO_C" >&6
6951 +{ echo "$as_me:$LINENO: checking for alloca" >&5
6952 +echo $ECHO_N "checking for alloca... $ECHO_C" >&6; }
6953 if test "${ac_cv_func_alloca_works+set}" = set; then
6954 echo $ECHO_N "(cached) $ECHO_C" >&6
6955 else
6956 @@ -6234,7 +6915,7 @@ cat >>conftest.$ac_ext <<_ACEOF
6957 # include <malloc.h>
6958 # define alloca _alloca
6959 # else
6960 -# if HAVE_ALLOCA_H
6961 +# ifdef HAVE_ALLOCA_H
6962 # include <alloca.h>
6963 # else
6964 # ifdef _AIX
6965 @@ -6252,44 +6933,42 @@ int
6966 main ()
6967 {
6968 char *p = (char *) alloca (1);
6969 + if (p) return 0;
6970 ;
6971 return 0;
6972 }
6973 _ACEOF
6974 rm -f conftest.$ac_objext conftest$ac_exeext
6975 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6976 - (eval $ac_link) 2>conftest.er1
6977 +if { (ac_try="$ac_link"
6978 +case "(($ac_try" in
6979 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6980 + *) ac_try_echo=$ac_try;;
6981 +esac
6982 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6983 + (eval "$ac_link") 2>conftest.er1
6984 ac_status=$?
6985 grep -v '^ *+' conftest.er1 >conftest.err
6986 rm -f conftest.er1
6987 cat conftest.err >&5
6988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6989 - (exit $ac_status); } &&
6990 - { ac_try='test -z "$ac_c_werror_flag"
6991 - || test ! -s conftest.err'
6992 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6993 - (eval $ac_try) 2>&5
6994 - ac_status=$?
6995 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6996 - (exit $ac_status); }; } &&
6997 - { ac_try='test -s conftest$ac_exeext'
6998 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6999 - (eval $ac_try) 2>&5
7000 - ac_status=$?
7001 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
7002 - (exit $ac_status); }; }; then
7003 + (exit $ac_status); } && {
7004 + test -z "$ac_c_werror_flag" ||
7005 + test ! -s conftest.err
7006 + } && test -s conftest$ac_exeext &&
7007 + $as_test_x conftest$ac_exeext; then
7008 ac_cv_func_alloca_works=yes
7009 else
7010 echo "$as_me: failed program was:" >&5
7011 sed 's/^/| /' conftest.$ac_ext >&5
7012
7013 -ac_cv_func_alloca_works=no
7014 + ac_cv_func_alloca_works=no
7015 fi
7016 -rm -f conftest.err conftest.$ac_objext \
7017 +
7018 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7019 conftest$ac_exeext conftest.$ac_ext
7020 fi
7021 -echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
7022 -echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
7023 +{ echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
7024 +echo "${ECHO_T}$ac_cv_func_alloca_works" >&6; }
7025
7026 if test $ac_cv_func_alloca_works = yes; then
7027
7028 @@ -6303,15 +6982,15 @@ else
7029 # contain a buggy version. If you still want to use their alloca,
7030 # use ar to extract alloca.o from them instead of compiling alloca.c.
7031
7032 -ALLOCA=alloca.$ac_objext
7033 +ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
7034
7035 cat >>confdefs.h <<\_ACEOF
7036 #define C_ALLOCA 1
7037 _ACEOF
7038
7039
7040 -echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
7041 -echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
7042 +{ echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
7043 +echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6; }
7044 if test "${ac_cv_os_cray+set}" = set; then
7045 echo $ECHO_N "(cached) $ECHO_C" >&6
7046 else
7047 @@ -6321,7 +7000,7 @@ _ACEOF
7048 cat confdefs.h >>conftest.$ac_ext
7049 cat >>conftest.$ac_ext <<_ACEOF
7050 /* end confdefs.h. */
7051 -#if defined(CRAY) && ! defined(CRAY2)
7052 +#if defined CRAY && ! defined CRAY2
7053 webecray
7054 #else
7055 wenotbecray
7056 @@ -6337,14 +7016,14 @@ fi
7057 rm -f conftest*
7058
7059 fi
7060 -echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
7061 -echo "${ECHO_T}$ac_cv_os_cray" >&6
7062 +{ echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
7063 +echo "${ECHO_T}$ac_cv_os_cray" >&6; }
7064 if test $ac_cv_os_cray = yes; then
7065 for ac_func in _getb67 GETB67 getb67; do
7066 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7067 -echo "$as_me:$LINENO: checking for $ac_func" >&5
7068 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7069 -if eval "test \"\${$as_ac_var+set}\" = set"; then
7070 +{ echo "$as_me:$LINENO: checking for $ac_func" >&5
7071 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
7072 +if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7073 echo $ECHO_N "(cached) $ECHO_C" >&6
7074 else
7075 cat >conftest.$ac_ext <<_ACEOF
7076 @@ -6370,68 +7049,60 @@ cat >>conftest.$ac_ext <<_ACEOF
7077
7078 #undef $ac_func
7079
7080 -/* Override any gcc2 internal prototype to avoid an error. */
7081 +/* Override any GCC internal prototype to avoid an error.
7082 + Use char because int might match the return type of a GCC
7083 + builtin and then its argument prototype would still apply. */
7084 #ifdef __cplusplus
7085 extern "C"
7086 -{
7087 #endif
7088 -/* We use char because int might match the return type of a gcc2
7089 - builtin and then its argument prototype would still apply. */
7090 char $ac_func ();
7091 /* The GNU C library defines this for functions which it implements
7092 to always fail with ENOSYS. Some functions are actually named
7093 something starting with __ and the normal name is an alias. */
7094 -#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7095 +#if defined __stub_$ac_func || defined __stub___$ac_func
7096 choke me
7097 -#else
7098 -char (*f) () = $ac_func;
7099 -#endif
7100 -#ifdef __cplusplus
7101 -}
7102 #endif
7103
7104 int
7105 main ()
7106 {
7107 -return f != $ac_func;
7108 +return $ac_func ();
7109 ;
7110 return 0;
7111 }
7112 _ACEOF
7113 rm -f conftest.$ac_objext conftest$ac_exeext
7114 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7115 - (eval $ac_link) 2>conftest.er1
7116 +if { (ac_try="$ac_link"
7117 +case "(($ac_try" in
7118 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7119 + *) ac_try_echo=$ac_try;;
7120 +esac
7121 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7122 + (eval "$ac_link") 2>conftest.er1
7123 ac_status=$?
7124 grep -v '^ *+' conftest.er1 >conftest.err
7125 rm -f conftest.er1
7126 cat conftest.err >&5
7127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7128 - (exit $ac_status); } &&
7129 - { ac_try='test -z "$ac_c_werror_flag"
7130 - || test ! -s conftest.err'
7131 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7132 - (eval $ac_try) 2>&5
7133 - ac_status=$?
7134 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
7135 - (exit $ac_status); }; } &&
7136 - { ac_try='test -s conftest$ac_exeext'
7137 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7138 - (eval $ac_try) 2>&5
7139 - ac_status=$?
7140 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
7141 - (exit $ac_status); }; }; then
7142 + (exit $ac_status); } && {
7143 + test -z "$ac_c_werror_flag" ||
7144 + test ! -s conftest.err
7145 + } && test -s conftest$ac_exeext &&
7146 + $as_test_x conftest$ac_exeext; then
7147 eval "$as_ac_var=yes"
7148 else
7149 echo "$as_me: failed program was:" >&5
7150 sed 's/^/| /' conftest.$ac_ext >&5
7151
7152 -eval "$as_ac_var=no"
7153 + eval "$as_ac_var=no"
7154 fi
7155 -rm -f conftest.err conftest.$ac_objext \
7156 +
7157 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7158 conftest$ac_exeext conftest.$ac_ext
7159 fi
7160 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7161 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7162 +ac_res=`eval echo '${'$as_ac_var'}'`
7163 + { echo "$as_me:$LINENO: result: $ac_res" >&5
7164 +echo "${ECHO_T}$ac_res" >&6; }
7165 if test `eval echo '${'$as_ac_var'}'` = yes; then
7166
7167 cat >>confdefs.h <<_ACEOF
7168 @@ -6444,8 +7115,8 @@ fi
7169 done
7170 fi
7171
7172 -echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
7173 -echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
7174 +{ echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
7175 +echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6; }
7176 if test "${ac_cv_c_stack_direction+set}" = set; then
7177 echo $ECHO_N "(cached) $ECHO_C" >&6
7178 else
7179 @@ -6458,6 +7129,7 @@ _ACEOF
7180 cat confdefs.h >>conftest.$ac_ext
7181 cat >>conftest.$ac_ext <<_ACEOF
7182 /* end confdefs.h. */
7183 +$ac_includes_default
7184 int
7185 find_stack_direction ()
7186 {
7187 @@ -6475,17 +7147,26 @@ find_stack_direction ()
7188 int
7189 main ()
7190 {
7191 - exit (find_stack_direction () < 0);
7192 + return find_stack_direction () < 0;
7193 }
7194 _ACEOF
7195 rm -f conftest$ac_exeext
7196 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7197 - (eval $ac_link) 2>&5
7198 +if { (ac_try="$ac_link"
7199 +case "(($ac_try" in
7200 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7201 + *) ac_try_echo=$ac_try;;
7202 +esac
7203 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7204 + (eval "$ac_link") 2>&5
7205 ac_status=$?
7206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7207 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7208 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7209 - (eval $ac_try) 2>&5
7210 + { (case "(($ac_try" in
7211 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7212 + *) ac_try_echo=$ac_try;;
7213 +esac
7214 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7215 + (eval "$ac_try") 2>&5
7216 ac_status=$?
7217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7218 (exit $ac_status); }; }; then
7219 @@ -6498,11 +7179,13 @@ sed 's/^/| /' conftest.$ac_ext >&5
7220 ( exit $ac_status )
7221 ac_cv_c_stack_direction=-1
7222 fi
7223 -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7224 +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7225 fi
7226 +
7227 +
7228 fi
7229 -echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
7230 -echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
7231 +{ echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
7232 +echo "${ECHO_T}$ac_cv_c_stack_direction" >&6; }
7233
7234 cat >>confdefs.h <<_ACEOF
7235 #define STACK_DIRECTION $ac_cv_c_stack_direction
7236 @@ -6516,18 +7199,19 @@ fi
7237 for ac_header in stdlib.h unistd.h
7238 do
7239 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7240 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
7241 - echo "$as_me:$LINENO: checking for $ac_header" >&5
7242 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7243 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
7244 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7245 + { echo "$as_me:$LINENO: checking for $ac_header" >&5
7246 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7247 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7248 echo $ECHO_N "(cached) $ECHO_C" >&6
7249 fi
7250 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7251 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7252 +ac_res=`eval echo '${'$as_ac_Header'}'`
7253 + { echo "$as_me:$LINENO: result: $ac_res" >&5
7254 +echo "${ECHO_T}$ac_res" >&6; }
7255 else
7256 # Is the header compilable?
7257 -echo "$as_me:$LINENO: checking $ac_header usability" >&5
7258 -echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7259 +{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
7260 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
7261 cat >conftest.$ac_ext <<_ACEOF
7262 /* confdefs.h. */
7263 _ACEOF
7264 @@ -6538,41 +7222,37 @@ $ac_includes_default
7265 #include <$ac_header>
7266 _ACEOF
7267 rm -f conftest.$ac_objext
7268 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7269 - (eval $ac_compile) 2>conftest.er1
7270 +if { (ac_try="$ac_compile"
7271 +case "(($ac_try" in
7272 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7273 + *) ac_try_echo=$ac_try;;
7274 +esac
7275 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7276 + (eval "$ac_compile") 2>conftest.er1
7277 ac_status=$?
7278 grep -v '^ *+' conftest.er1 >conftest.err
7279 rm -f conftest.er1
7280 cat conftest.err >&5
7281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7282 - (exit $ac_status); } &&
7283 - { ac_try='test -z "$ac_c_werror_flag"
7284 - || test ! -s conftest.err'
7285 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7286 - (eval $ac_try) 2>&5
7287 - ac_status=$?
7288 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
7289 - (exit $ac_status); }; } &&
7290 - { ac_try='test -s conftest.$ac_objext'
7291 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7292 - (eval $ac_try) 2>&5
7293 - ac_status=$?
7294 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
7295 - (exit $ac_status); }; }; then
7296 + (exit $ac_status); } && {
7297 + test -z "$ac_c_werror_flag" ||
7298 + test ! -s conftest.err
7299 + } && test -s conftest.$ac_objext; then
7300 ac_header_compiler=yes
7301 else
7302 echo "$as_me: failed program was:" >&5
7303 sed 's/^/| /' conftest.$ac_ext >&5
7304
7305 -ac_header_compiler=no
7306 + ac_header_compiler=no
7307 fi
7308 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7309 -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7310 -echo "${ECHO_T}$ac_header_compiler" >&6
7311 +
7312 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7313 +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7314 +echo "${ECHO_T}$ac_header_compiler" >&6; }
7315
7316 # Is the header present?
7317 -echo "$as_me:$LINENO: checking $ac_header presence" >&5
7318 -echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7319 +{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
7320 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
7321 cat >conftest.$ac_ext <<_ACEOF
7322 /* confdefs.h. */
7323 _ACEOF
7324 @@ -6581,24 +7261,22 @@ cat >>conftest.$ac_ext <<_ACEOF
7325 /* end confdefs.h. */
7326 #include <$ac_header>
7327 _ACEOF
7328 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7329 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7330 +if { (ac_try="$ac_cpp conftest.$ac_ext"
7331 +case "(($ac_try" in
7332 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7333 + *) ac_try_echo=$ac_try;;
7334 +esac
7335 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7336 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7337 ac_status=$?
7338 grep -v '^ *+' conftest.er1 >conftest.err
7339 rm -f conftest.er1
7340 cat conftest.err >&5
7341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7342 - (exit $ac_status); } >/dev/null; then
7343 - if test -s conftest.err; then
7344 - ac_cpp_err=$ac_c_preproc_warn_flag
7345 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
7346 - else
7347 - ac_cpp_err=
7348 - fi
7349 -else
7350 - ac_cpp_err=yes
7351 -fi
7352 -if test -z "$ac_cpp_err"; then
7353 + (exit $ac_status); } >/dev/null && {
7354 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7355 + test ! -s conftest.err
7356 + }; then
7357 ac_header_preproc=yes
7358 else
7359 echo "$as_me: failed program was:" >&5
7360 @@ -6606,9 +7284,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
7361
7362 ac_header_preproc=no
7363 fi
7364 +
7365 rm -f conftest.err conftest.$ac_ext
7366 -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7367 -echo "${ECHO_T}$ac_header_preproc" >&6
7368 +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7369 +echo "${ECHO_T}$ac_header_preproc" >&6; }
7370
7371 # So? What about this header?
7372 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7373 @@ -6632,25 +7311,19 @@ echo "$as_me: WARNING: $ac_header: s
7374 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7375 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7376 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7377 - (
7378 - cat <<\_ASBOX
7379 -## ------------------------------------------ ##
7380 -## Report this to the AC_PACKAGE_NAME lists. ##
7381 -## ------------------------------------------ ##
7382 -_ASBOX
7383 - ) |
7384 - sed "s/^/$as_me: WARNING: /" >&2
7385 +
7386 ;;
7387 esac
7388 -echo "$as_me:$LINENO: checking for $ac_header" >&5
7389 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7390 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
7391 +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
7392 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7393 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7394 echo $ECHO_N "(cached) $ECHO_C" >&6
7395 else
7396 eval "$as_ac_Header=\$ac_header_preproc"
7397 fi
7398 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7399 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7400 +ac_res=`eval echo '${'$as_ac_Header'}'`
7401 + { echo "$as_me:$LINENO: result: $ac_res" >&5
7402 +echo "${ECHO_T}$ac_res" >&6; }
7403
7404 fi
7405 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7406 @@ -6666,9 +7339,9 @@ done
7407 for ac_func in getpagesize
7408 do
7409 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7410 -echo "$as_me:$LINENO: checking for $ac_func" >&5
7411 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7412 -if eval "test \"\${$as_ac_var+set}\" = set"; then
7413 +{ echo "$as_me:$LINENO: checking for $ac_func" >&5
7414 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
7415 +if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7416 echo $ECHO_N "(cached) $ECHO_C" >&6
7417 else
7418 cat >conftest.$ac_ext <<_ACEOF
7419 @@ -6694,68 +7367,60 @@ cat >>conftest.$ac_ext <<_ACEOF
7420
7421 #undef $ac_func
7422
7423 -/* Override any gcc2 internal prototype to avoid an error. */
7424 +/* Override any GCC internal prototype to avoid an error.
7425 + Use char because int might match the return type of a GCC
7426 + builtin and then its argument prototype would still apply. */
7427 #ifdef __cplusplus
7428 extern "C"
7429 -{
7430 #endif
7431 -/* We use char because int might match the return type of a gcc2
7432 - builtin and then its argument prototype would still apply. */
7433 char $ac_func ();
7434 /* The GNU C library defines this for functions which it implements
7435 to always fail with ENOSYS. Some functions are actually named
7436 something starting with __ and the normal name is an alias. */
7437 -#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7438 +#if defined __stub_$ac_func || defined __stub___$ac_func
7439 choke me
7440 -#else
7441 -char (*f) () = $ac_func;
7442 -#endif
7443 -#ifdef __cplusplus
7444 -}
7445 #endif
7446
7447 int
7448 main ()
7449 {
7450 -return f != $ac_func;
7451 +return $ac_func ();
7452 ;
7453 return 0;
7454 }
7455 _ACEOF
7456 rm -f conftest.$ac_objext conftest$ac_exeext
7457 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7458 - (eval $ac_link) 2>conftest.er1
7459 +if { (ac_try="$ac_link"
7460 +case "(($ac_try" in
7461 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7462 + *) ac_try_echo=$ac_try;;
7463 +esac
7464 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7465 + (eval "$ac_link") 2>conftest.er1
7466 ac_status=$?
7467 grep -v '^ *+' conftest.er1 >conftest.err
7468 rm -f conftest.er1
7469 cat conftest.err >&5
7470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7471 - (exit $ac_status); } &&
7472 - { ac_try='test -z "$ac_c_werror_flag"
7473 - || test ! -s conftest.err'
7474 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7475 - (eval $ac_try) 2>&5
7476 - ac_status=$?
7477 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
7478 - (exit $ac_status); }; } &&
7479 - { ac_try='test -s conftest$ac_exeext'
7480 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7481 - (eval $ac_try) 2>&5
7482 - ac_status=$?
7483 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
7484 - (exit $ac_status); }; }; then
7485 + (exit $ac_status); } && {
7486 + test -z "$ac_c_werror_flag" ||
7487 + test ! -s conftest.err
7488 + } && test -s conftest$ac_exeext &&
7489 + $as_test_x conftest$ac_exeext; then
7490 eval "$as_ac_var=yes"
7491 else
7492 echo "$as_me: failed program was:" >&5
7493 sed 's/^/| /' conftest.$ac_ext >&5
7494
7495 -eval "$as_ac_var=no"
7496 + eval "$as_ac_var=no"
7497 fi
7498 -rm -f conftest.err conftest.$ac_objext \
7499 +
7500 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7501 conftest$ac_exeext conftest.$ac_ext
7502 fi
7503 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7504 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7505 +ac_res=`eval echo '${'$as_ac_var'}'`
7506 + { echo "$as_me:$LINENO: result: $ac_res" >&5
7507 +echo "${ECHO_T}$ac_res" >&6; }
7508 if test `eval echo '${'$as_ac_var'}'` = yes; then
7509 cat >>confdefs.h <<_ACEOF
7510 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7511 @@ -6764,8 +7429,8 @@ _ACEOF
7512 fi
7513 done
7514
7515 -echo "$as_me:$LINENO: checking for working mmap" >&5
7516 -echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
7517 +{ echo "$as_me:$LINENO: checking for working mmap" >&5
7518 +echo $ECHO_N "checking for working mmap... $ECHO_C" >&6; }
7519 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
7520 echo $ECHO_N "(cached) $ECHO_C" >&6
7521 else
7522 @@ -6807,21 +7472,21 @@ $ac_includes_default
7523 #include <fcntl.h>
7524 #include <sys/mman.h>
7525
7526 -#if !STDC_HEADERS && !HAVE_STDLIB_H
7527 +#if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
7528 char *malloc ();
7529 #endif
7530
7531 /* This mess was copied from the GNU getpagesize.h. */
7532 -#if !HAVE_GETPAGESIZE
7533 +#ifndef HAVE_GETPAGESIZE
7534 /* Assume that all systems that can run configure have sys/param.h. */
7535 -# if !HAVE_SYS_PARAM_H
7536 +# ifndef HAVE_SYS_PARAM_H
7537 # define HAVE_SYS_PARAM_H 1
7538 # endif
7539
7540 # ifdef _SC_PAGESIZE
7541 # define getpagesize() sysconf(_SC_PAGESIZE)
7542 # else /* no _SC_PAGESIZE */
7543 -# if HAVE_SYS_PARAM_H
7544 +# ifdef HAVE_SYS_PARAM_H
7545 # include <sys/param.h>
7546 # ifdef EXEC_PAGESIZE
7547 # define getpagesize() EXEC_PAGESIZE
7548 @@ -6860,15 +7525,15 @@ main ()
7549 /* First, make a file with some known garbage in it. */
7550 data = (char *) malloc (pagesize);
7551 if (!data)
7552 - exit (1);
7553 + return 1;
7554 for (i = 0; i < pagesize; ++i)
7555 *(data + i) = rand ();
7556 umask (0);
7557 fd = creat ("conftest.mmap", 0600);
7558 if (fd < 0)
7559 - exit (1);
7560 + return 1;
7561 if (write (fd, data, pagesize) != pagesize)
7562 - exit (1);
7563 + return 1;
7564 close (fd);
7565
7566 /* Next, try to mmap the file at a fixed address which already has
7567 @@ -6876,17 +7541,17 @@ main ()
7568 we see the same garbage. */
7569 fd = open ("conftest.mmap", O_RDWR);
7570 if (fd < 0)
7571 - exit (1);
7572 + return 1;
7573 data2 = (char *) malloc (2 * pagesize);
7574 if (!data2)
7575 - exit (1);
7576 - data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
7577 + return 1;
7578 + data2 += (pagesize - ((long int) data2 & (pagesize - 1))) & (pagesize - 1);
7579 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
7580 MAP_PRIVATE | MAP_FIXED, fd, 0L))
7581 - exit (1);
7582 + return 1;
7583 for (i = 0; i < pagesize; ++i)
7584 if (*(data + i) != *(data2 + i))
7585 - exit (1);
7586 + return 1;
7587
7588 /* Finally, make sure that changes to the mapped area do not
7589 percolate back to the file as seen by read(). (This is a bug on
7590 @@ -6895,24 +7560,33 @@ main ()
7591 *(data2 + i) = *(data2 + i) + 1;
7592 data3 = (char *) malloc (pagesize);
7593 if (!data3)
7594 - exit (1);
7595 + return 1;
7596 if (read (fd, data3, pagesize) != pagesize)
7597 - exit (1);
7598 + return 1;
7599 for (i = 0; i < pagesize; ++i)
7600 if (*(data + i) != *(data3 + i))
7601 - exit (1);
7602 + return 1;
7603 close (fd);
7604 - exit (0);
7605 + return 0;
7606 }
7607 _ACEOF
7608 rm -f conftest$ac_exeext
7609 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7610 - (eval $ac_link) 2>&5
7611 +if { (ac_try="$ac_link"
7612 +case "(($ac_try" in
7613 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7614 + *) ac_try_echo=$ac_try;;
7615 +esac
7616 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7617 + (eval "$ac_link") 2>&5
7618 ac_status=$?
7619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7620 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7621 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7622 - (eval $ac_try) 2>&5
7623 + { (case "(($ac_try" in
7624 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7625 + *) ac_try_echo=$ac_try;;
7626 +esac
7627 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7628 + (eval "$ac_try") 2>&5
7629 ac_status=$?
7630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7631 (exit $ac_status); }; }; then
7632 @@ -6925,11 +7599,13 @@ sed 's/^/| /' conftest.$ac_ext >&5
7633 ( exit $ac_status )
7634 ac_cv_func_mmap_fixed_mapped=no
7635 fi
7636 -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7637 +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7638 fi
7639 +
7640 +
7641 fi
7642 -echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
7643 -echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
7644 +{ echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
7645 +echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6; }
7646 if test $ac_cv_func_mmap_fixed_mapped = yes; then
7647
7648 cat >>confdefs.h <<\_ACEOF
7649 @@ -6953,18 +7629,19 @@ for ac_header in argz.h limits.h locale.
7650 unistd.h values.h sys/param.h
7651 do
7652 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7653 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
7654 - echo "$as_me:$LINENO: checking for $ac_header" >&5
7655 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7656 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
7657 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7658 + { echo "$as_me:$LINENO: checking for $ac_header" >&5
7659 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7660 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7661 echo $ECHO_N "(cached) $ECHO_C" >&6
7662 fi
7663 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7664 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7665 +ac_res=`eval echo '${'$as_ac_Header'}'`
7666 + { echo "$as_me:$LINENO: result: $ac_res" >&5
7667 +echo "${ECHO_T}$ac_res" >&6; }
7668 else
7669 # Is the header compilable?
7670 -echo "$as_me:$LINENO: checking $ac_header usability" >&5
7671 -echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7672 +{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
7673 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
7674 cat >conftest.$ac_ext <<_ACEOF
7675 /* confdefs.h. */
7676 _ACEOF
7677 @@ -6975,41 +7652,37 @@ $ac_includes_default
7678 #include <$ac_header>
7679 _ACEOF
7680 rm -f conftest.$ac_objext
7681 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7682 - (eval $ac_compile) 2>conftest.er1
7683 +if { (ac_try="$ac_compile"
7684 +case "(($ac_try" in
7685 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7686 + *) ac_try_echo=$ac_try;;
7687 +esac
7688 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7689 + (eval "$ac_compile") 2>conftest.er1
7690 ac_status=$?
7691 grep -v '^ *+' conftest.er1 >conftest.err
7692 rm -f conftest.er1
7693 cat conftest.err >&5
7694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7695 - (exit $ac_status); } &&
7696 - { ac_try='test -z "$ac_c_werror_flag"
7697 - || test ! -s conftest.err'
7698 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7699 - (eval $ac_try) 2>&5
7700 - ac_status=$?
7701 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
7702 - (exit $ac_status); }; } &&
7703 - { ac_try='test -s conftest.$ac_objext'
7704 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7705 - (eval $ac_try) 2>&5
7706 - ac_status=$?
7707 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
7708 - (exit $ac_status); }; }; then
7709 + (exit $ac_status); } && {
7710 + test -z "$ac_c_werror_flag" ||
7711 + test ! -s conftest.err
7712 + } && test -s conftest.$ac_objext; then
7713 ac_header_compiler=yes
7714 else
7715 echo "$as_me: failed program was:" >&5
7716 sed 's/^/| /' conftest.$ac_ext >&5
7717
7718 -ac_header_compiler=no
7719 + ac_header_compiler=no
7720 fi
7721 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7722 -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7723 -echo "${ECHO_T}$ac_header_compiler" >&6
7724 +
7725 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7726 +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7727 +echo "${ECHO_T}$ac_header_compiler" >&6; }
7728
7729 # Is the header present?
7730 -echo "$as_me:$LINENO: checking $ac_header presence" >&5
7731 -echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7732 +{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
7733 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
7734 cat >conftest.$ac_ext <<_ACEOF
7735 /* confdefs.h. */
7736 _ACEOF
7737 @@ -7018,24 +7691,22 @@ cat >>conftest.$ac_ext <<_ACEOF
7738 /* end confdefs.h. */
7739 #include <$ac_header>
7740 _ACEOF
7741 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7742 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7743 +if { (ac_try="$ac_cpp conftest.$ac_ext"
7744 +case "(($ac_try" in
7745 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7746 + *) ac_try_echo=$ac_try;;
7747 +esac
7748 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7749 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7750 ac_status=$?
7751 grep -v '^ *+' conftest.er1 >conftest.err
7752 rm -f conftest.er1
7753 cat conftest.err >&5
7754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7755 - (exit $ac_status); } >/dev/null; then
7756 - if test -s conftest.err; then
7757 - ac_cpp_err=$ac_c_preproc_warn_flag
7758 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
7759 - else
7760 - ac_cpp_err=
7761 - fi
7762 -else
7763 - ac_cpp_err=yes
7764 -fi
7765 -if test -z "$ac_cpp_err"; then
7766 + (exit $ac_status); } >/dev/null && {
7767 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7768 + test ! -s conftest.err
7769 + }; then
7770 ac_header_preproc=yes
7771 else
7772 echo "$as_me: failed program was:" >&5
7773 @@ -7043,9 +7714,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
7774
7775 ac_header_preproc=no
7776 fi
7777 +
7778 rm -f conftest.err conftest.$ac_ext
7779 -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7780 -echo "${ECHO_T}$ac_header_preproc" >&6
7781 +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7782 +echo "${ECHO_T}$ac_header_preproc" >&6; }
7783
7784 # So? What about this header?
7785 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7786 @@ -7069,25 +7741,19 @@ echo "$as_me: WARNING: $ac_header: s
7787 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7788 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7789 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7790 - (
7791 - cat <<\_ASBOX
7792 -## ------------------------------------------ ##
7793 -## Report this to the AC_PACKAGE_NAME lists. ##
7794 -## ------------------------------------------ ##
7795 -_ASBOX
7796 - ) |
7797 - sed "s/^/$as_me: WARNING: /" >&2
7798 +
7799 ;;
7800 esac
7801 -echo "$as_me:$LINENO: checking for $ac_header" >&5
7802 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7803 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
7804 +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
7805 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7806 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7807 echo $ECHO_N "(cached) $ECHO_C" >&6
7808 else
7809 eval "$as_ac_Header=\$ac_header_preproc"
7810 fi
7811 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7812 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7813 +ac_res=`eval echo '${'$as_ac_Header'}'`
7814 + { echo "$as_me:$LINENO: result: $ac_res" >&5
7815 +echo "${ECHO_T}$ac_res" >&6; }
7816
7817 fi
7818 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7819 @@ -7113,9 +7779,9 @@ for ac_func in getcwd munmap putenv sete
7820 __argz_count __argz_stringify __argz_next
7821 do
7822 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7823 -echo "$as_me:$LINENO: checking for $ac_func" >&5
7824 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7825 -if eval "test \"\${$as_ac_var+set}\" = set"; then
7826 +{ echo "$as_me:$LINENO: checking for $ac_func" >&5
7827 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
7828 +if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7829 echo $ECHO_N "(cached) $ECHO_C" >&6
7830 else
7831 cat >conftest.$ac_ext <<_ACEOF
7832 @@ -7141,68 +7807,60 @@ cat >>conftest.$ac_ext <<_ACEOF
7833
7834 #undef $ac_func
7835
7836 -/* Override any gcc2 internal prototype to avoid an error. */
7837 +/* Override any GCC internal prototype to avoid an error.
7838 + Use char because int might match the return type of a GCC
7839 + builtin and then its argument prototype would still apply. */
7840 #ifdef __cplusplus
7841 extern "C"
7842 -{
7843 #endif
7844 -/* We use char because int might match the return type of a gcc2
7845 - builtin and then its argument prototype would still apply. */
7846 char $ac_func ();
7847 /* The GNU C library defines this for functions which it implements
7848 to always fail with ENOSYS. Some functions are actually named
7849 something starting with __ and the normal name is an alias. */
7850 -#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7851 +#if defined __stub_$ac_func || defined __stub___$ac_func
7852 choke me
7853 -#else
7854 -char (*f) () = $ac_func;
7855 -#endif
7856 -#ifdef __cplusplus
7857 -}
7858 #endif
7859
7860 int
7861 main ()
7862 {
7863 -return f != $ac_func;
7864 +return $ac_func ();
7865 ;
7866 return 0;
7867 }
7868 _ACEOF
7869 rm -f conftest.$ac_objext conftest$ac_exeext
7870 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7871 - (eval $ac_link) 2>conftest.er1
7872 +if { (ac_try="$ac_link"
7873 +case "(($ac_try" in
7874 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7875 + *) ac_try_echo=$ac_try;;
7876 +esac
7877 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7878 + (eval "$ac_link") 2>conftest.er1
7879 ac_status=$?
7880 grep -v '^ *+' conftest.er1 >conftest.err
7881 rm -f conftest.er1
7882 cat conftest.err >&5
7883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7884 - (exit $ac_status); } &&
7885 - { ac_try='test -z "$ac_c_werror_flag"
7886 - || test ! -s conftest.err'
7887 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7888 - (eval $ac_try) 2>&5
7889 - ac_status=$?
7890 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
7891 - (exit $ac_status); }; } &&
7892 - { ac_try='test -s conftest$ac_exeext'
7893 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7894 - (eval $ac_try) 2>&5
7895 - ac_status=$?
7896 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
7897 - (exit $ac_status); }; }; then
7898 + (exit $ac_status); } && {
7899 + test -z "$ac_c_werror_flag" ||
7900 + test ! -s conftest.err
7901 + } && test -s conftest$ac_exeext &&
7902 + $as_test_x conftest$ac_exeext; then
7903 eval "$as_ac_var=yes"
7904 else
7905 echo "$as_me: failed program was:" >&5
7906 sed 's/^/| /' conftest.$ac_ext >&5
7907
7908 -eval "$as_ac_var=no"
7909 + eval "$as_ac_var=no"
7910 fi
7911 -rm -f conftest.err conftest.$ac_objext \
7912 +
7913 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7914 conftest$ac_exeext conftest.$ac_ext
7915 fi
7916 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7917 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7918 +ac_res=`eval echo '${'$as_ac_var'}'`
7919 + { echo "$as_me:$LINENO: result: $ac_res" >&5
7920 +echo "${ECHO_T}$ac_res" >&6; }
7921 if test `eval echo '${'$as_ac_var'}'` = yes; then
7922 cat >>confdefs.h <<_ACEOF
7923 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7924 @@ -7217,9 +7875,9 @@ done
7925 for ac_func in stpcpy
7926 do
7927 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7928 -echo "$as_me:$LINENO: checking for $ac_func" >&5
7929 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7930 -if eval "test \"\${$as_ac_var+set}\" = set"; then
7931 +{ echo "$as_me:$LINENO: checking for $ac_func" >&5
7932 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
7933 +if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7934 echo $ECHO_N "(cached) $ECHO_C" >&6
7935 else
7936 cat >conftest.$ac_ext <<_ACEOF
7937 @@ -7245,68 +7903,60 @@ cat >>conftest.$ac_ext <<_ACEOF
7938
7939 #undef $ac_func
7940
7941 -/* Override any gcc2 internal prototype to avoid an error. */
7942 +/* Override any GCC internal prototype to avoid an error.
7943 + Use char because int might match the return type of a GCC
7944 + builtin and then its argument prototype would still apply. */
7945 #ifdef __cplusplus
7946 extern "C"
7947 -{
7948 #endif
7949 -/* We use char because int might match the return type of a gcc2
7950 - builtin and then its argument prototype would still apply. */
7951 char $ac_func ();
7952 /* The GNU C library defines this for functions which it implements
7953 to always fail with ENOSYS. Some functions are actually named
7954 something starting with __ and the normal name is an alias. */
7955 -#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7956 +#if defined __stub_$ac_func || defined __stub___$ac_func
7957 choke me
7958 -#else
7959 -char (*f) () = $ac_func;
7960 -#endif
7961 -#ifdef __cplusplus
7962 -}
7963 #endif
7964
7965 int
7966 main ()
7967 {
7968 -return f != $ac_func;
7969 +return $ac_func ();
7970 ;
7971 return 0;
7972 }
7973 _ACEOF
7974 rm -f conftest.$ac_objext conftest$ac_exeext
7975 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7976 - (eval $ac_link) 2>conftest.er1
7977 +if { (ac_try="$ac_link"
7978 +case "(($ac_try" in
7979 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7980 + *) ac_try_echo=$ac_try;;
7981 +esac
7982 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7983 + (eval "$ac_link") 2>conftest.er1
7984 ac_status=$?
7985 grep -v '^ *+' conftest.er1 >conftest.err
7986 rm -f conftest.er1
7987 cat conftest.err >&5
7988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7989 - (exit $ac_status); } &&
7990 - { ac_try='test -z "$ac_c_werror_flag"
7991 - || test ! -s conftest.err'
7992 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7993 - (eval $ac_try) 2>&5
7994 - ac_status=$?
7995 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
7996 - (exit $ac_status); }; } &&
7997 - { ac_try='test -s conftest$ac_exeext'
7998 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7999 - (eval $ac_try) 2>&5
8000 - ac_status=$?
8001 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
8002 - (exit $ac_status); }; }; then
8003 + (exit $ac_status); } && {
8004 + test -z "$ac_c_werror_flag" ||
8005 + test ! -s conftest.err
8006 + } && test -s conftest$ac_exeext &&
8007 + $as_test_x conftest$ac_exeext; then
8008 eval "$as_ac_var=yes"
8009 else
8010 echo "$as_me: failed program was:" >&5
8011 sed 's/^/| /' conftest.$ac_ext >&5
8012
8013 -eval "$as_ac_var=no"
8014 + eval "$as_ac_var=no"
8015 fi
8016 -rm -f conftest.err conftest.$ac_objext \
8017 +
8018 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8019 conftest$ac_exeext conftest.$ac_ext
8020 fi
8021 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8022 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8023 +ac_res=`eval echo '${'$as_ac_var'}'`
8024 + { echo "$as_me:$LINENO: result: $ac_res" >&5
8025 +echo "${ECHO_T}$ac_res" >&6; }
8026 if test `eval echo '${'$as_ac_var'}'` = yes; then
8027 cat >>confdefs.h <<_ACEOF
8028 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8029 @@ -7325,8 +7975,8 @@ _ACEOF
8030 fi
8031
8032 if test $ac_cv_header_locale_h = yes; then
8033 - echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
8034 -echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
8035 + { echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
8036 +echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6; }
8037 if test "${am_cv_val_LC_MESSAGES+set}" = set; then
8038 echo $ECHO_N "(cached) $ECHO_C" >&6
8039 else
8040 @@ -7346,39 +7996,36 @@ return LC_MESSAGES
8041 }
8042 _ACEOF
8043 rm -f conftest.$ac_objext conftest$ac_exeext
8044 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8045 - (eval $ac_link) 2>conftest.er1
8046 +if { (ac_try="$ac_link"
8047 +case "(($ac_try" in
8048 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8049 + *) ac_try_echo=$ac_try;;
8050 +esac
8051 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8052 + (eval "$ac_link") 2>conftest.er1
8053 ac_status=$?
8054 grep -v '^ *+' conftest.er1 >conftest.err
8055 rm -f conftest.er1
8056 cat conftest.err >&5
8057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8058 - (exit $ac_status); } &&
8059 - { ac_try='test -z "$ac_c_werror_flag"
8060 - || test ! -s conftest.err'
8061 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8062 - (eval $ac_try) 2>&5
8063 - ac_status=$?
8064 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
8065 - (exit $ac_status); }; } &&
8066 - { ac_try='test -s conftest$ac_exeext'
8067 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8068 - (eval $ac_try) 2>&5
8069 - ac_status=$?
8070 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
8071 - (exit $ac_status); }; }; then
8072 + (exit $ac_status); } && {
8073 + test -z "$ac_c_werror_flag" ||
8074 + test ! -s conftest.err
8075 + } && test -s conftest$ac_exeext &&
8076 + $as_test_x conftest$ac_exeext; then
8077 am_cv_val_LC_MESSAGES=yes
8078 else
8079 echo "$as_me: failed program was:" >&5
8080 sed 's/^/| /' conftest.$ac_ext >&5
8081
8082 -am_cv_val_LC_MESSAGES=no
8083 + am_cv_val_LC_MESSAGES=no
8084 fi
8085 -rm -f conftest.err conftest.$ac_objext \
8086 +
8087 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8088 conftest$ac_exeext conftest.$ac_ext
8089 fi
8090 -echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
8091 -echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6
8092 +{ echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
8093 +echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6; }
8094 if test $am_cv_val_LC_MESSAGES = yes; then
8095
8096 cat >>confdefs.h <<\_ACEOF
8097 @@ -7387,34 +8034,34 @@ _ACEOF
8098
8099 fi
8100 fi
8101 - echo "$as_me:$LINENO: checking whether NLS is requested" >&5
8102 -echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
8103 - # Check whether --enable-nls or --disable-nls was given.
8104 + { echo "$as_me:$LINENO: checking whether NLS is requested" >&5
8105 +echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6; }
8106 + # Check whether --enable-nls was given.
8107 if test "${enable_nls+set}" = set; then
8108 - enableval="$enable_nls"
8109 - USE_NLS=$enableval
8110 + enableval=$enable_nls; USE_NLS=$enableval
8111 else
8112 USE_NLS=yes
8113 -fi;
8114 - echo "$as_me:$LINENO: result: $USE_NLS" >&5
8115 -echo "${ECHO_T}$USE_NLS" >&6
8116 +fi
8117 +
8118 + { echo "$as_me:$LINENO: result: $USE_NLS" >&5
8119 +echo "${ECHO_T}$USE_NLS" >&6; }
8120
8121
8122 USE_INCLUDED_LIBINTL=no
8123
8124 if test "$USE_NLS" = "yes"; then
8125 - echo "$as_me:$LINENO: checking whether included gettext is requested" >&5
8126 -echo $ECHO_N "checking whether included gettext is requested... $ECHO_C" >&6
8127 + { echo "$as_me:$LINENO: checking whether included gettext is requested" >&5
8128 +echo $ECHO_N "checking whether included gettext is requested... $ECHO_C" >&6; }
8129
8130 -# Check whether --with-included-gettext or --without-included-gettext was given.
8131 +# Check whether --with-included-gettext was given.
8132 if test "${with_included_gettext+set}" = set; then
8133 - withval="$with_included_gettext"
8134 - nls_cv_force_use_gnu_gettext=$withval
8135 + withval=$with_included_gettext; nls_cv_force_use_gnu_gettext=$withval
8136 else
8137 nls_cv_force_use_gnu_gettext=no
8138 -fi;
8139 - echo "$as_me:$LINENO: result: $nls_cv_force_use_gnu_gettext" >&5
8140 -echo "${ECHO_T}$nls_cv_force_use_gnu_gettext" >&6
8141 +fi
8142 +
8143 + { echo "$as_me:$LINENO: result: $nls_cv_force_use_gnu_gettext" >&5
8144 +echo "${ECHO_T}$nls_cv_force_use_gnu_gettext" >&6; }
8145
8146 nls_cv_use_gnu_gettext="$nls_cv_force_use_gnu_gettext"
8147 if test "$nls_cv_force_use_gnu_gettext" != "yes"; then
8148 @@ -7423,17 +8070,17 @@ echo "${ECHO_T}$nls_cv_force_use_gnu_get
8149 CATOBJEXT=
8150
8151 if test "${ac_cv_header_libintl_h+set}" = set; then
8152 - echo "$as_me:$LINENO: checking for libintl.h" >&5
8153 -echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6
8154 + { echo "$as_me:$LINENO: checking for libintl.h" >&5
8155 +echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6; }
8156 if test "${ac_cv_header_libintl_h+set}" = set; then
8157 echo $ECHO_N "(cached) $ECHO_C" >&6
8158 fi
8159 -echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
8160 -echo "${ECHO_T}$ac_cv_header_libintl_h" >&6
8161 +{ echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
8162 +echo "${ECHO_T}$ac_cv_header_libintl_h" >&6; }
8163 else
8164 # Is the header compilable?
8165 -echo "$as_me:$LINENO: checking libintl.h usability" >&5
8166 -echo $ECHO_N "checking libintl.h usability... $ECHO_C" >&6
8167 +{ echo "$as_me:$LINENO: checking libintl.h usability" >&5
8168 +echo $ECHO_N "checking libintl.h usability... $ECHO_C" >&6; }
8169 cat >conftest.$ac_ext <<_ACEOF
8170 /* confdefs.h. */
8171 _ACEOF
8172 @@ -7444,41 +8091,37 @@ $ac_includes_default
8173 #include <libintl.h>
8174 _ACEOF
8175 rm -f conftest.$ac_objext
8176 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8177 - (eval $ac_compile) 2>conftest.er1
8178 +if { (ac_try="$ac_compile"
8179 +case "(($ac_try" in
8180 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8181 + *) ac_try_echo=$ac_try;;
8182 +esac
8183 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8184 + (eval "$ac_compile") 2>conftest.er1
8185 ac_status=$?
8186 grep -v '^ *+' conftest.er1 >conftest.err
8187 rm -f conftest.er1
8188 cat conftest.err >&5
8189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8190 - (exit $ac_status); } &&
8191 - { ac_try='test -z "$ac_c_werror_flag"
8192 - || test ! -s conftest.err'
8193 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8194 - (eval $ac_try) 2>&5
8195 - ac_status=$?
8196 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
8197 - (exit $ac_status); }; } &&
8198 - { ac_try='test -s conftest.$ac_objext'
8199 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8200 - (eval $ac_try) 2>&5
8201 - ac_status=$?
8202 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
8203 - (exit $ac_status); }; }; then
8204 + (exit $ac_status); } && {
8205 + test -z "$ac_c_werror_flag" ||
8206 + test ! -s conftest.err
8207 + } && test -s conftest.$ac_objext; then
8208 ac_header_compiler=yes
8209 else
8210 echo "$as_me: failed program was:" >&5
8211 sed 's/^/| /' conftest.$ac_ext >&5
8212
8213 -ac_header_compiler=no
8214 + ac_header_compiler=no
8215 fi
8216 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8217 -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8218 -echo "${ECHO_T}$ac_header_compiler" >&6
8219 +
8220 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8221 +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8222 +echo "${ECHO_T}$ac_header_compiler" >&6; }
8223
8224 # Is the header present?
8225 -echo "$as_me:$LINENO: checking libintl.h presence" >&5
8226 -echo $ECHO_N "checking libintl.h presence... $ECHO_C" >&6
8227 +{ echo "$as_me:$LINENO: checking libintl.h presence" >&5
8228 +echo $ECHO_N "checking libintl.h presence... $ECHO_C" >&6; }
8229 cat >conftest.$ac_ext <<_ACEOF
8230 /* confdefs.h. */
8231 _ACEOF
8232 @@ -7487,24 +8130,22 @@ cat >>conftest.$ac_ext <<_ACEOF
8233 /* end confdefs.h. */
8234 #include <libintl.h>
8235 _ACEOF
8236 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8237 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8238 +if { (ac_try="$ac_cpp conftest.$ac_ext"
8239 +case "(($ac_try" in
8240 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8241 + *) ac_try_echo=$ac_try;;
8242 +esac
8243 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8244 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8245 ac_status=$?
8246 grep -v '^ *+' conftest.er1 >conftest.err
8247 rm -f conftest.er1
8248 cat conftest.err >&5
8249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8250 - (exit $ac_status); } >/dev/null; then
8251 - if test -s conftest.err; then
8252 - ac_cpp_err=$ac_c_preproc_warn_flag
8253 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
8254 - else
8255 - ac_cpp_err=
8256 - fi
8257 -else
8258 - ac_cpp_err=yes
8259 -fi
8260 -if test -z "$ac_cpp_err"; then
8261 + (exit $ac_status); } >/dev/null && {
8262 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
8263 + test ! -s conftest.err
8264 + }; then
8265 ac_header_preproc=yes
8266 else
8267 echo "$as_me: failed program was:" >&5
8268 @@ -7512,9 +8153,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
8269
8270 ac_header_preproc=no
8271 fi
8272 +
8273 rm -f conftest.err conftest.$ac_ext
8274 -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8275 -echo "${ECHO_T}$ac_header_preproc" >&6
8276 +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8277 +echo "${ECHO_T}$ac_header_preproc" >&6; }
8278
8279 # So? What about this header?
8280 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8281 @@ -7538,30 +8180,23 @@ echo "$as_me: WARNING: libintl.h: se
8282 echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;}
8283 { echo "$as_me:$LINENO: WARNING: libintl.h: in the future, the compiler will take precedence" >&5
8284 echo "$as_me: WARNING: libintl.h: in the future, the compiler will take precedence" >&2;}
8285 - (
8286 - cat <<\_ASBOX
8287 -## ------------------------------------------ ##
8288 -## Report this to the AC_PACKAGE_NAME lists. ##
8289 -## ------------------------------------------ ##
8290 -_ASBOX
8291 - ) |
8292 - sed "s/^/$as_me: WARNING: /" >&2
8293 +
8294 ;;
8295 esac
8296 -echo "$as_me:$LINENO: checking for libintl.h" >&5
8297 -echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6
8298 +{ echo "$as_me:$LINENO: checking for libintl.h" >&5
8299 +echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6; }
8300 if test "${ac_cv_header_libintl_h+set}" = set; then
8301 echo $ECHO_N "(cached) $ECHO_C" >&6
8302 else
8303 ac_cv_header_libintl_h=$ac_header_preproc
8304 fi
8305 -echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
8306 -echo "${ECHO_T}$ac_cv_header_libintl_h" >&6
8307 +{ echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
8308 +echo "${ECHO_T}$ac_cv_header_libintl_h" >&6; }
8309
8310 fi
8311 if test $ac_cv_header_libintl_h = yes; then
8312 - echo "$as_me:$LINENO: checking for gettext in libc" >&5
8313 -echo $ECHO_N "checking for gettext in libc... $ECHO_C" >&6
8314 + { echo "$as_me:$LINENO: checking for gettext in libc" >&5
8315 +echo $ECHO_N "checking for gettext in libc... $ECHO_C" >&6; }
8316 if test "${gt_cv_func_gettext_libc+set}" = set; then
8317 echo $ECHO_N "(cached) $ECHO_C" >&6
8318 else
8319 @@ -7581,43 +8216,40 @@ return (int) gettext ("")
8320 }
8321 _ACEOF
8322 rm -f conftest.$ac_objext conftest$ac_exeext
8323 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8324 - (eval $ac_link) 2>conftest.er1
8325 +if { (ac_try="$ac_link"
8326 +case "(($ac_try" in
8327 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8328 + *) ac_try_echo=$ac_try;;
8329 +esac
8330 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8331 + (eval "$ac_link") 2>conftest.er1
8332 ac_status=$?
8333 grep -v '^ *+' conftest.er1 >conftest.err
8334 rm -f conftest.er1
8335 cat conftest.err >&5
8336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8337 - (exit $ac_status); } &&
8338 - { ac_try='test -z "$ac_c_werror_flag"
8339 - || test ! -s conftest.err'
8340 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8341 - (eval $ac_try) 2>&5
8342 - ac_status=$?
8343 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
8344 - (exit $ac_status); }; } &&
8345 - { ac_try='test -s conftest$ac_exeext'
8346 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8347 - (eval $ac_try) 2>&5
8348 - ac_status=$?
8349 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
8350 - (exit $ac_status); }; }; then
8351 + (exit $ac_status); } && {
8352 + test -z "$ac_c_werror_flag" ||
8353 + test ! -s conftest.err
8354 + } && test -s conftest$ac_exeext &&
8355 + $as_test_x conftest$ac_exeext; then
8356 gt_cv_func_gettext_libc=yes
8357 else
8358 echo "$as_me: failed program was:" >&5
8359 sed 's/^/| /' conftest.$ac_ext >&5
8360
8361 -gt_cv_func_gettext_libc=no
8362 + gt_cv_func_gettext_libc=no
8363 fi
8364 -rm -f conftest.err conftest.$ac_objext \
8365 +
8366 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8367 conftest$ac_exeext conftest.$ac_ext
8368 fi
8369 -echo "$as_me:$LINENO: result: $gt_cv_func_gettext_libc" >&5
8370 -echo "${ECHO_T}$gt_cv_func_gettext_libc" >&6
8371 +{ echo "$as_me:$LINENO: result: $gt_cv_func_gettext_libc" >&5
8372 +echo "${ECHO_T}$gt_cv_func_gettext_libc" >&6; }
8373
8374 if test "$gt_cv_func_gettext_libc" != "yes"; then
8375 - echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5
8376 -echo $ECHO_N "checking for bindtextdomain in -lintl... $ECHO_C" >&6
8377 + { echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5
8378 +echo $ECHO_N "checking for bindtextdomain in -lintl... $ECHO_C" >&6; }
8379 if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then
8380 echo $ECHO_N "(cached) $ECHO_C" >&6
8381 else
8382 @@ -7630,59 +8262,56 @@ cat confdefs.h >>conftest.$ac_ext
8383 cat >>conftest.$ac_ext <<_ACEOF
8384 /* end confdefs.h. */
8385
8386 -/* Override any gcc2 internal prototype to avoid an error. */
8387 +/* Override any GCC internal prototype to avoid an error.
8388 + Use char because int might match the return type of a GCC
8389 + builtin and then its argument prototype would still apply. */
8390 #ifdef __cplusplus
8391 extern "C"
8392 #endif
8393 -/* We use char because int might match the return type of a gcc2
8394 - builtin and then its argument prototype would still apply. */
8395 char bindtextdomain ();
8396 int
8397 main ()
8398 {
8399 -bindtextdomain ();
8400 +return bindtextdomain ();
8401 ;
8402 return 0;
8403 }
8404 _ACEOF
8405 rm -f conftest.$ac_objext conftest$ac_exeext
8406 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8407 - (eval $ac_link) 2>conftest.er1
8408 +if { (ac_try="$ac_link"
8409 +case "(($ac_try" in
8410 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8411 + *) ac_try_echo=$ac_try;;
8412 +esac
8413 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8414 + (eval "$ac_link") 2>conftest.er1
8415 ac_status=$?
8416 grep -v '^ *+' conftest.er1 >conftest.err
8417 rm -f conftest.er1
8418 cat conftest.err >&5
8419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8420 - (exit $ac_status); } &&
8421 - { ac_try='test -z "$ac_c_werror_flag"
8422 - || test ! -s conftest.err'
8423 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8424 - (eval $ac_try) 2>&5
8425 - ac_status=$?
8426 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
8427 - (exit $ac_status); }; } &&
8428 - { ac_try='test -s conftest$ac_exeext'
8429 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8430 - (eval $ac_try) 2>&5
8431 - ac_status=$?
8432 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
8433 - (exit $ac_status); }; }; then
8434 + (exit $ac_status); } && {
8435 + test -z "$ac_c_werror_flag" ||
8436 + test ! -s conftest.err
8437 + } && test -s conftest$ac_exeext &&
8438 + $as_test_x conftest$ac_exeext; then
8439 ac_cv_lib_intl_bindtextdomain=yes
8440 else
8441 echo "$as_me: failed program was:" >&5
8442 sed 's/^/| /' conftest.$ac_ext >&5
8443
8444 -ac_cv_lib_intl_bindtextdomain=no
8445 + ac_cv_lib_intl_bindtextdomain=no
8446 fi
8447 -rm -f conftest.err conftest.$ac_objext \
8448 +
8449 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8450 conftest$ac_exeext conftest.$ac_ext
8451 LIBS=$ac_check_lib_save_LIBS
8452 fi
8453 -echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5
8454 -echo "${ECHO_T}$ac_cv_lib_intl_bindtextdomain" >&6
8455 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5
8456 +echo "${ECHO_T}$ac_cv_lib_intl_bindtextdomain" >&6; }
8457 if test $ac_cv_lib_intl_bindtextdomain = yes; then
8458 - echo "$as_me:$LINENO: checking for gettext in libintl" >&5
8459 -echo $ECHO_N "checking for gettext in libintl... $ECHO_C" >&6
8460 + { echo "$as_me:$LINENO: checking for gettext in libintl" >&5
8461 +echo $ECHO_N "checking for gettext in libintl... $ECHO_C" >&6; }
8462 if test "${gt_cv_func_gettext_libintl+set}" = set; then
8463 echo $ECHO_N "(cached) $ECHO_C" >&6
8464 else
8465 @@ -7702,39 +8331,36 @@ return (int) gettext ("")
8466 }
8467 _ACEOF
8468 rm -f conftest.$ac_objext conftest$ac_exeext
8469 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8470 - (eval $ac_link) 2>conftest.er1
8471 +if { (ac_try="$ac_link"
8472 +case "(($ac_try" in
8473 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8474 + *) ac_try_echo=$ac_try;;
8475 +esac
8476 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8477 + (eval "$ac_link") 2>conftest.er1
8478 ac_status=$?
8479 grep -v '^ *+' conftest.er1 >conftest.err
8480 rm -f conftest.er1
8481 cat conftest.err >&5
8482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8483 - (exit $ac_status); } &&
8484 - { ac_try='test -z "$ac_c_werror_flag"
8485 - || test ! -s conftest.err'
8486 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8487 - (eval $ac_try) 2>&5
8488 - ac_status=$?
8489 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
8490 - (exit $ac_status); }; } &&
8491 - { ac_try='test -s conftest$ac_exeext'
8492 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8493 - (eval $ac_try) 2>&5
8494 - ac_status=$?
8495 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
8496 - (exit $ac_status); }; }; then
8497 + (exit $ac_status); } && {
8498 + test -z "$ac_c_werror_flag" ||
8499 + test ! -s conftest.err
8500 + } && test -s conftest$ac_exeext &&
8501 + $as_test_x conftest$ac_exeext; then
8502 gt_cv_func_gettext_libintl=yes
8503 else
8504 echo "$as_me: failed program was:" >&5
8505 sed 's/^/| /' conftest.$ac_ext >&5
8506
8507 -gt_cv_func_gettext_libintl=no
8508 + gt_cv_func_gettext_libintl=no
8509 fi
8510 -rm -f conftest.err conftest.$ac_objext \
8511 +
8512 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8513 conftest$ac_exeext conftest.$ac_ext
8514 fi
8515 -echo "$as_me:$LINENO: result: $gt_cv_func_gettext_libintl" >&5
8516 -echo "${ECHO_T}$gt_cv_func_gettext_libintl" >&6
8517 +{ echo "$as_me:$LINENO: result: $gt_cv_func_gettext_libintl" >&5
8518 +echo "${ECHO_T}$gt_cv_func_gettext_libintl" >&6; }
8519 fi
8520
8521 fi
8522 @@ -7748,8 +8374,8 @@ _ACEOF
8523
8524 # Extract the first word of "msgfmt", so it can be a program name with args.
8525 set dummy msgfmt; ac_word=$2
8526 -echo "$as_me:$LINENO: checking for $ac_word" >&5
8527 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8528 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
8529 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8530 if test "${ac_cv_path_MSGFMT+set}" = set; then
8531 echo $ECHO_N "(cached) $ECHO_C" >&6
8532 else
8533 @@ -7775,20 +8401,20 @@ esac
8534 fi
8535 MSGFMT="$ac_cv_path_MSGFMT"
8536 if test -n "$MSGFMT"; then
8537 - echo "$as_me:$LINENO: result: $MSGFMT" >&5
8538 -echo "${ECHO_T}$MSGFMT" >&6
8539 + { echo "$as_me:$LINENO: result: $MSGFMT" >&5
8540 +echo "${ECHO_T}$MSGFMT" >&6; }
8541 else
8542 - echo "$as_me:$LINENO: result: no" >&5
8543 -echo "${ECHO_T}no" >&6
8544 + { echo "$as_me:$LINENO: result: no" >&5
8545 +echo "${ECHO_T}no" >&6; }
8546 fi
8547 if test "$MSGFMT" != "no"; then
8548
8549 for ac_func in dcgettext
8550 do
8551 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8552 -echo "$as_me:$LINENO: checking for $ac_func" >&5
8553 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8554 -if eval "test \"\${$as_ac_var+set}\" = set"; then
8555 +{ echo "$as_me:$LINENO: checking for $ac_func" >&5
8556 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
8557 +if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8558 echo $ECHO_N "(cached) $ECHO_C" >&6
8559 else
8560 cat >conftest.$ac_ext <<_ACEOF
8561 @@ -7814,68 +8440,60 @@ cat >>conftest.$ac_ext <<_ACEOF
8562
8563 #undef $ac_func
8564
8565 -/* Override any gcc2 internal prototype to avoid an error. */
8566 +/* Override any GCC internal prototype to avoid an error.
8567 + Use char because int might match the return type of a GCC
8568 + builtin and then its argument prototype would still apply. */
8569 #ifdef __cplusplus
8570 extern "C"
8571 -{
8572 #endif
8573 -/* We use char because int might match the return type of a gcc2
8574 - builtin and then its argument prototype would still apply. */
8575 char $ac_func ();
8576 /* The GNU C library defines this for functions which it implements
8577 to always fail with ENOSYS. Some functions are actually named
8578 something starting with __ and the normal name is an alias. */
8579 -#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8580 +#if defined __stub_$ac_func || defined __stub___$ac_func
8581 choke me
8582 -#else
8583 -char (*f) () = $ac_func;
8584 -#endif
8585 -#ifdef __cplusplus
8586 -}
8587 #endif
8588
8589 int
8590 main ()
8591 {
8592 -return f != $ac_func;
8593 +return $ac_func ();
8594 ;
8595 return 0;
8596 }
8597 _ACEOF
8598 rm -f conftest.$ac_objext conftest$ac_exeext
8599 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8600 - (eval $ac_link) 2>conftest.er1
8601 +if { (ac_try="$ac_link"
8602 +case "(($ac_try" in
8603 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8604 + *) ac_try_echo=$ac_try;;
8605 +esac
8606 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8607 + (eval "$ac_link") 2>conftest.er1
8608 ac_status=$?
8609 grep -v '^ *+' conftest.er1 >conftest.err
8610 rm -f conftest.er1
8611 cat conftest.err >&5
8612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8613 - (exit $ac_status); } &&
8614 - { ac_try='test -z "$ac_c_werror_flag"
8615 - || test ! -s conftest.err'
8616 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8617 - (eval $ac_try) 2>&5
8618 - ac_status=$?
8619 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
8620 - (exit $ac_status); }; } &&
8621 - { ac_try='test -s conftest$ac_exeext'
8622 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8623 - (eval $ac_try) 2>&5
8624 - ac_status=$?
8625 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
8626 - (exit $ac_status); }; }; then
8627 + (exit $ac_status); } && {
8628 + test -z "$ac_c_werror_flag" ||
8629 + test ! -s conftest.err
8630 + } && test -s conftest$ac_exeext &&
8631 + $as_test_x conftest$ac_exeext; then
8632 eval "$as_ac_var=yes"
8633 else
8634 echo "$as_me: failed program was:" >&5
8635 sed 's/^/| /' conftest.$ac_ext >&5
8636
8637 -eval "$as_ac_var=no"
8638 + eval "$as_ac_var=no"
8639 fi
8640 -rm -f conftest.err conftest.$ac_objext \
8641 +
8642 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8643 conftest$ac_exeext conftest.$ac_ext
8644 fi
8645 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8646 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8647 +ac_res=`eval echo '${'$as_ac_var'}'`
8648 + { echo "$as_me:$LINENO: result: $ac_res" >&5
8649 +echo "${ECHO_T}$ac_res" >&6; }
8650 if test `eval echo '${'$as_ac_var'}'` = yes; then
8651 cat >>confdefs.h <<_ACEOF
8652 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8653 @@ -7886,8 +8504,8 @@ done
8654
8655 # Extract the first word of "gmsgfmt", so it can be a program name with args.
8656 set dummy gmsgfmt; ac_word=$2
8657 -echo "$as_me:$LINENO: checking for $ac_word" >&5
8658 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8659 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
8660 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8661 if test "${ac_cv_path_GMSGFMT+set}" = set; then
8662 echo $ECHO_N "(cached) $ECHO_C" >&6
8663 else
8664 @@ -7902,32 +8520,33 @@ do
8665 IFS=$as_save_IFS
8666 test -z "$as_dir" && as_dir=.
8667 for ac_exec_ext in '' $ac_executable_extensions; do
8668 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8669 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8670 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
8671 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8672 break 2
8673 fi
8674 done
8675 done
8676 +IFS=$as_save_IFS
8677
8678 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
8679 ;;
8680 esac
8681 fi
8682 GMSGFMT=$ac_cv_path_GMSGFMT
8683 -
8684 if test -n "$GMSGFMT"; then
8685 - echo "$as_me:$LINENO: result: $GMSGFMT" >&5
8686 -echo "${ECHO_T}$GMSGFMT" >&6
8687 + { echo "$as_me:$LINENO: result: $GMSGFMT" >&5
8688 +echo "${ECHO_T}$GMSGFMT" >&6; }
8689 else
8690 - echo "$as_me:$LINENO: result: no" >&5
8691 -echo "${ECHO_T}no" >&6
8692 + { echo "$as_me:$LINENO: result: no" >&5
8693 +echo "${ECHO_T}no" >&6; }
8694 fi
8695
8696 +
8697 # Extract the first word of "xgettext", so it can be a program name with args.
8698 set dummy xgettext; ac_word=$2
8699 -echo "$as_me:$LINENO: checking for $ac_word" >&5
8700 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8701 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
8702 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8703 if test "${ac_cv_path_XGETTEXT+set}" = set; then
8704 echo $ECHO_N "(cached) $ECHO_C" >&6
8705 else
8706 @@ -7953,11 +8572,11 @@ esac
8707 fi
8708 XGETTEXT="$ac_cv_path_XGETTEXT"
8709 if test -n "$XGETTEXT"; then
8710 - echo "$as_me:$LINENO: result: $XGETTEXT" >&5
8711 -echo "${ECHO_T}$XGETTEXT" >&6
8712 + { echo "$as_me:$LINENO: result: $XGETTEXT" >&5
8713 +echo "${ECHO_T}$XGETTEXT" >&6; }
8714 else
8715 - echo "$as_me:$LINENO: result: no" >&5
8716 -echo "${ECHO_T}no" >&6
8717 + { echo "$as_me:$LINENO: result: no" >&5
8718 +echo "${ECHO_T}no" >&6; }
8719 fi
8720
8721 cat >conftest.$ac_ext <<_ACEOF
8722 @@ -7977,37 +8596,34 @@ extern int _nl_msg_cat_cntr;
8723 }
8724 _ACEOF
8725 rm -f conftest.$ac_objext conftest$ac_exeext
8726 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8727 - (eval $ac_link) 2>conftest.er1
8728 +if { (ac_try="$ac_link"
8729 +case "(($ac_try" in
8730 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8731 + *) ac_try_echo=$ac_try;;
8732 +esac
8733 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8734 + (eval "$ac_link") 2>conftest.er1
8735 ac_status=$?
8736 grep -v '^ *+' conftest.er1 >conftest.err
8737 rm -f conftest.er1
8738 cat conftest.err >&5
8739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8740 - (exit $ac_status); } &&
8741 - { ac_try='test -z "$ac_c_werror_flag"
8742 - || test ! -s conftest.err'
8743 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8744 - (eval $ac_try) 2>&5
8745 - ac_status=$?
8746 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
8747 - (exit $ac_status); }; } &&
8748 - { ac_try='test -s conftest$ac_exeext'
8749 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8750 - (eval $ac_try) 2>&5
8751 - ac_status=$?
8752 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
8753 - (exit $ac_status); }; }; then
8754 + (exit $ac_status); } && {
8755 + test -z "$ac_c_werror_flag" ||
8756 + test ! -s conftest.err
8757 + } && test -s conftest$ac_exeext &&
8758 + $as_test_x conftest$ac_exeext; then
8759 CATOBJEXT=.gmo
8760 DATADIRNAME=share
8761 else
8762 echo "$as_me: failed program was:" >&5
8763 sed 's/^/| /' conftest.$ac_ext >&5
8764
8765 -CATOBJEXT=.mo
8766 + CATOBJEXT=.mo
8767 DATADIRNAME=lib
8768 fi
8769 -rm -f conftest.err conftest.$ac_objext \
8770 +
8771 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8772 conftest$ac_exeext conftest.$ac_ext
8773 INSTOBJEXT=.mo
8774 fi
8775 @@ -8029,8 +8645,8 @@ fi
8776 INTLOBJS="\$(GETTOBJS)"
8777 # Extract the first word of "msgfmt", so it can be a program name with args.
8778 set dummy msgfmt; ac_word=$2
8779 -echo "$as_me:$LINENO: checking for $ac_word" >&5
8780 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8781 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
8782 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8783 if test "${ac_cv_path_MSGFMT+set}" = set; then
8784 echo $ECHO_N "(cached) $ECHO_C" >&6
8785 else
8786 @@ -8056,17 +8672,17 @@ esac
8787 fi
8788 MSGFMT="$ac_cv_path_MSGFMT"
8789 if test -n "$MSGFMT"; then
8790 - echo "$as_me:$LINENO: result: $MSGFMT" >&5
8791 -echo "${ECHO_T}$MSGFMT" >&6
8792 + { echo "$as_me:$LINENO: result: $MSGFMT" >&5
8793 +echo "${ECHO_T}$MSGFMT" >&6; }
8794 else
8795 - echo "$as_me:$LINENO: result: no" >&5
8796 -echo "${ECHO_T}no" >&6
8797 + { echo "$as_me:$LINENO: result: no" >&5
8798 +echo "${ECHO_T}no" >&6; }
8799 fi
8800
8801 # Extract the first word of "gmsgfmt", so it can be a program name with args.
8802 set dummy gmsgfmt; ac_word=$2
8803 -echo "$as_me:$LINENO: checking for $ac_word" >&5
8804 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8805 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
8806 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8807 if test "${ac_cv_path_GMSGFMT+set}" = set; then
8808 echo $ECHO_N "(cached) $ECHO_C" >&6
8809 else
8810 @@ -8081,32 +8697,33 @@ do
8811 IFS=$as_save_IFS
8812 test -z "$as_dir" && as_dir=.
8813 for ac_exec_ext in '' $ac_executable_extensions; do
8814 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8815 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8816 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
8817 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8818 break 2
8819 fi
8820 done
8821 done
8822 +IFS=$as_save_IFS
8823
8824 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
8825 ;;
8826 esac
8827 fi
8828 GMSGFMT=$ac_cv_path_GMSGFMT
8829 -
8830 if test -n "$GMSGFMT"; then
8831 - echo "$as_me:$LINENO: result: $GMSGFMT" >&5
8832 -echo "${ECHO_T}$GMSGFMT" >&6
8833 + { echo "$as_me:$LINENO: result: $GMSGFMT" >&5
8834 +echo "${ECHO_T}$GMSGFMT" >&6; }
8835 else
8836 - echo "$as_me:$LINENO: result: no" >&5
8837 -echo "${ECHO_T}no" >&6
8838 + { echo "$as_me:$LINENO: result: no" >&5
8839 +echo "${ECHO_T}no" >&6; }
8840 fi
8841
8842 +
8843 # Extract the first word of "xgettext", so it can be a program name with args.
8844 set dummy xgettext; ac_word=$2
8845 -echo "$as_me:$LINENO: checking for $ac_word" >&5
8846 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8847 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
8848 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8849 if test "${ac_cv_path_XGETTEXT+set}" = set; then
8850 echo $ECHO_N "(cached) $ECHO_C" >&6
8851 else
8852 @@ -8132,11 +8749,11 @@ esac
8853 fi
8854 XGETTEXT="$ac_cv_path_XGETTEXT"
8855 if test -n "$XGETTEXT"; then
8856 - echo "$as_me:$LINENO: result: $XGETTEXT" >&5
8857 -echo "${ECHO_T}$XGETTEXT" >&6
8858 + { echo "$as_me:$LINENO: result: $XGETTEXT" >&5
8859 +echo "${ECHO_T}$XGETTEXT" >&6; }
8860 else
8861 - echo "$as_me:$LINENO: result: no" >&5
8862 -echo "${ECHO_T}no" >&6
8863 + { echo "$as_me:$LINENO: result: no" >&5
8864 +echo "${ECHO_T}no" >&6; }
8865 fi
8866
8867
8868 @@ -8155,8 +8772,8 @@ fi
8869 if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
8870 : ;
8871 else
8872 - echo "$as_me:$LINENO: result: found xgettext programs is not GNU xgettext; ignore it" >&5
8873 -echo "${ECHO_T}found xgettext programs is not GNU xgettext; ignore it" >&6
8874 + { echo "$as_me:$LINENO: result: found xgettext programs is not GNU xgettext; ignore it" >&5
8875 +echo "${ECHO_T}found xgettext programs is not GNU xgettext; ignore it" >&6; }
8876 XGETTEXT=":"
8877 fi
8878 fi
8879 @@ -8205,8 +8822,8 @@ _ACEOF
8880 if test "x$ALL_LINGUAS" = "x"; then
8881 LINGUAS=
8882 else
8883 - echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
8884 -echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6
8885 + { echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
8886 +echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6; }
8887 NEW_LINGUAS=
8888 for lang in ${LINGUAS=$ALL_LINGUAS}; do
8889 case "$ALL_LINGUAS" in
8890 @@ -8214,8 +8831,8 @@ echo $ECHO_N "checking for catalogs to b
8891 esac
8892 done
8893 LINGUAS=$NEW_LINGUAS
8894 - echo "$as_me:$LINENO: result: $LINGUAS" >&5
8895 -echo "${ECHO_T}$LINGUAS" >&6
8896 + { echo "$as_me:$LINENO: result: $LINGUAS" >&5
8897 +echo "${ECHO_T}$LINGUAS" >&6; }
8898 fi
8899
8900 if test -n "$LINGUAS"; then
8901 @@ -8234,17 +8851,17 @@ echo "${ECHO_T}$LINGUAS" >&6
8902 if test -f $srcdir/po2tbl.sed.in; then
8903 if test "$CATOBJEXT" = ".cat"; then
8904 if test "${ac_cv_header_linux_version_h+set}" = set; then
8905 - echo "$as_me:$LINENO: checking for linux/version.h" >&5
8906 -echo $ECHO_N "checking for linux/version.h... $ECHO_C" >&6
8907 + { echo "$as_me:$LINENO: checking for linux/version.h" >&5
8908 +echo $ECHO_N "checking for linux/version.h... $ECHO_C" >&6; }
8909 if test "${ac_cv_header_linux_version_h+set}" = set; then
8910 echo $ECHO_N "(cached) $ECHO_C" >&6
8911 fi
8912 -echo "$as_me:$LINENO: result: $ac_cv_header_linux_version_h" >&5
8913 -echo "${ECHO_T}$ac_cv_header_linux_version_h" >&6
8914 +{ echo "$as_me:$LINENO: result: $ac_cv_header_linux_version_h" >&5
8915 +echo "${ECHO_T}$ac_cv_header_linux_version_h" >&6; }
8916 else
8917 # Is the header compilable?
8918 -echo "$as_me:$LINENO: checking linux/version.h usability" >&5
8919 -echo $ECHO_N "checking linux/version.h usability... $ECHO_C" >&6
8920 +{ echo "$as_me:$LINENO: checking linux/version.h usability" >&5
8921 +echo $ECHO_N "checking linux/version.h usability... $ECHO_C" >&6; }
8922 cat >conftest.$ac_ext <<_ACEOF
8923 /* confdefs.h. */
8924 _ACEOF
8925 @@ -8255,41 +8872,37 @@ $ac_includes_default
8926 #include <linux/version.h>
8927 _ACEOF
8928 rm -f conftest.$ac_objext
8929 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8930 - (eval $ac_compile) 2>conftest.er1
8931 +if { (ac_try="$ac_compile"
8932 +case "(($ac_try" in
8933 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8934 + *) ac_try_echo=$ac_try;;
8935 +esac
8936 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8937 + (eval "$ac_compile") 2>conftest.er1
8938 ac_status=$?
8939 grep -v '^ *+' conftest.er1 >conftest.err
8940 rm -f conftest.er1
8941 cat conftest.err >&5
8942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8943 - (exit $ac_status); } &&
8944 - { ac_try='test -z "$ac_c_werror_flag"
8945 - || test ! -s conftest.err'
8946 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8947 - (eval $ac_try) 2>&5
8948 - ac_status=$?
8949 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
8950 - (exit $ac_status); }; } &&
8951 - { ac_try='test -s conftest.$ac_objext'
8952 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8953 - (eval $ac_try) 2>&5
8954 - ac_status=$?
8955 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
8956 - (exit $ac_status); }; }; then
8957 + (exit $ac_status); } && {
8958 + test -z "$ac_c_werror_flag" ||
8959 + test ! -s conftest.err
8960 + } && test -s conftest.$ac_objext; then
8961 ac_header_compiler=yes
8962 else
8963 echo "$as_me: failed program was:" >&5
8964 sed 's/^/| /' conftest.$ac_ext >&5
8965
8966 -ac_header_compiler=no
8967 + ac_header_compiler=no
8968 fi
8969 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8970 -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8971 -echo "${ECHO_T}$ac_header_compiler" >&6
8972 +
8973 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8974 +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8975 +echo "${ECHO_T}$ac_header_compiler" >&6; }
8976
8977 # Is the header present?
8978 -echo "$as_me:$LINENO: checking linux/version.h presence" >&5
8979 -echo $ECHO_N "checking linux/version.h presence... $ECHO_C" >&6
8980 +{ echo "$as_me:$LINENO: checking linux/version.h presence" >&5
8981 +echo $ECHO_N "checking linux/version.h presence... $ECHO_C" >&6; }
8982 cat >conftest.$ac_ext <<_ACEOF
8983 /* confdefs.h. */
8984 _ACEOF
8985 @@ -8298,24 +8911,22 @@ cat >>conftest.$ac_ext <<_ACEOF
8986 /* end confdefs.h. */
8987 #include <linux/version.h>
8988 _ACEOF
8989 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8990 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8991 +if { (ac_try="$ac_cpp conftest.$ac_ext"
8992 +case "(($ac_try" in
8993 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8994 + *) ac_try_echo=$ac_try;;
8995 +esac
8996 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8997 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8998 ac_status=$?
8999 grep -v '^ *+' conftest.er1 >conftest.err
9000 rm -f conftest.er1
9001 cat conftest.err >&5
9002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9003 - (exit $ac_status); } >/dev/null; then
9004 - if test -s conftest.err; then
9005 - ac_cpp_err=$ac_c_preproc_warn_flag
9006 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
9007 - else
9008 - ac_cpp_err=
9009 - fi
9010 -else
9011 - ac_cpp_err=yes
9012 -fi
9013 -if test -z "$ac_cpp_err"; then
9014 + (exit $ac_status); } >/dev/null && {
9015 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9016 + test ! -s conftest.err
9017 + }; then
9018 ac_header_preproc=yes
9019 else
9020 echo "$as_me: failed program was:" >&5
9021 @@ -8323,9 +8934,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
9022
9023 ac_header_preproc=no
9024 fi
9025 +
9026 rm -f conftest.err conftest.$ac_ext
9027 -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9028 -echo "${ECHO_T}$ac_header_preproc" >&6
9029 +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9030 +echo "${ECHO_T}$ac_header_preproc" >&6; }
9031
9032 # So? What about this header?
9033 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9034 @@ -8349,25 +8961,18 @@ echo "$as_me: WARNING: linux/version.h:
9035 echo "$as_me: WARNING: linux/version.h: proceeding with the preprocessor's result" >&2;}
9036 { echo "$as_me:$LINENO: WARNING: linux/version.h: in the future, the compiler will take precedence" >&5
9037 echo "$as_me: WARNING: linux/version.h: in the future, the compiler will take precedence" >&2;}
9038 - (
9039 - cat <<\_ASBOX
9040 -## ------------------------------------------ ##
9041 -## Report this to the AC_PACKAGE_NAME lists. ##
9042 -## ------------------------------------------ ##
9043 -_ASBOX
9044 - ) |
9045 - sed "s/^/$as_me: WARNING: /" >&2
9046 +
9047 ;;
9048 esac
9049 -echo "$as_me:$LINENO: checking for linux/version.h" >&5
9050 -echo $ECHO_N "checking for linux/version.h... $ECHO_C" >&6
9051 +{ echo "$as_me:$LINENO: checking for linux/version.h" >&5
9052 +echo $ECHO_N "checking for linux/version.h... $ECHO_C" >&6; }
9053 if test "${ac_cv_header_linux_version_h+set}" = set; then
9054 echo $ECHO_N "(cached) $ECHO_C" >&6
9055 else
9056 ac_cv_header_linux_version_h=$ac_header_preproc
9057 fi
9058 -echo "$as_me:$LINENO: result: $ac_cv_header_linux_version_h" >&5
9059 -echo "${ECHO_T}$ac_cv_header_linux_version_h" >&6
9060 +{ echo "$as_me:$LINENO: result: $ac_cv_header_linux_version_h" >&5
9061 +echo "${ECHO_T}$ac_cv_header_linux_version_h" >&6; }
9062
9063 fi
9064 if test $ac_cv_header_linux_version_h = yes; then
9065 @@ -8434,8 +9039,8 @@ fi
9066 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
9067 # OS/2's system install, which has a completely different semantic
9068 # ./install, which can be erroneously created by make from ./install.sh.
9069 -echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
9070 -echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
9071 +{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
9072 +echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
9073 if test -z "$INSTALL"; then
9074 if test "${ac_cv_path_install+set}" = set; then
9075 echo $ECHO_N "(cached) $ECHO_C" >&6
9076 @@ -8457,7 +9062,7 @@ case $as_dir/ in
9077 # by default.
9078 for ac_prog in ginstall scoinst install; do
9079 for ac_exec_ext in '' $ac_executable_extensions; do
9080 - if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
9081 + if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
9082 if test $ac_prog = install &&
9083 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
9084 # AIX install. It has an incompatible calling convention.
9085 @@ -8476,21 +9081,22 @@ case $as_dir/ in
9086 ;;
9087 esac
9088 done
9089 +IFS=$as_save_IFS
9090
9091
9092 fi
9093 if test "${ac_cv_path_install+set}" = set; then
9094 INSTALL=$ac_cv_path_install
9095 else
9096 - # As a last resort, use the slow shell script. We don't cache a
9097 - # path for INSTALL within a source directory, because that will
9098 + # As a last resort, use the slow shell script. Don't cache a
9099 + # value for INSTALL within a source directory, because that will
9100 # break other packages using the cache if that directory is
9101 - # removed, or if the path is relative.
9102 + # removed, or if the value is a relative name.
9103 INSTALL=$ac_install_sh
9104 fi
9105 fi
9106 -echo "$as_me:$LINENO: result: $INSTALL" >&5
9107 -echo "${ECHO_T}$INSTALL" >&6
9108 +{ echo "$as_me:$LINENO: result: $INSTALL" >&5
9109 +echo "${ECHO_T}$INSTALL" >&6; }
9110
9111 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
9112 # It thinks the first close brace ends the variable substitution.
9113 @@ -8507,8 +9113,8 @@ BFD_HOST_64_BIT_DEFINED=0
9114 BFD_HOST_64_BIT=
9115 BFD_HOST_U_64_BIT=
9116
9117 -echo "$as_me:$LINENO: checking for long long" >&5
9118 -echo $ECHO_N "checking for long long... $ECHO_C" >&6
9119 +{ echo "$as_me:$LINENO: checking for long long" >&5
9120 +echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
9121 if test "${bfd_cv_has_long_long+set}" = set; then
9122 echo $ECHO_N "(cached) $ECHO_C" >&6
9123 else
9124 @@ -8528,43 +9134,39 @@ unsigned long long ll = 1844674407370955
9125 }
9126 _ACEOF
9127 rm -f conftest.$ac_objext
9128 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9129 - (eval $ac_compile) 2>conftest.er1
9130 +if { (ac_try="$ac_compile"
9131 +case "(($ac_try" in
9132 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9133 + *) ac_try_echo=$ac_try;;
9134 +esac
9135 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9136 + (eval "$ac_compile") 2>conftest.er1
9137 ac_status=$?
9138 grep -v '^ *+' conftest.er1 >conftest.err
9139 rm -f conftest.er1
9140 cat conftest.err >&5
9141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9142 - (exit $ac_status); } &&
9143 - { ac_try='test -z "$ac_c_werror_flag"
9144 - || test ! -s conftest.err'
9145 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9146 - (eval $ac_try) 2>&5
9147 - ac_status=$?
9148 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
9149 - (exit $ac_status); }; } &&
9150 - { ac_try='test -s conftest.$ac_objext'
9151 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9152 - (eval $ac_try) 2>&5
9153 - ac_status=$?
9154 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
9155 - (exit $ac_status); }; }; then
9156 + (exit $ac_status); } && {
9157 + test -z "$ac_c_werror_flag" ||
9158 + test ! -s conftest.err
9159 + } && test -s conftest.$ac_objext; then
9160 bfd_cv_has_long_long=yes
9161 else
9162 echo "$as_me: failed program was:" >&5
9163 sed 's/^/| /' conftest.$ac_ext >&5
9164
9165 -bfd_cv_has_long_long=no
9166 + bfd_cv_has_long_long=no
9167 fi
9168 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9169 +
9170 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9171 fi
9172
9173 -echo "$as_me:$LINENO: result: $bfd_cv_has_long_long" >&5
9174 -echo "${ECHO_T}$bfd_cv_has_long_long" >&6
9175 +{ echo "$as_me:$LINENO: result: $bfd_cv_has_long_long" >&5
9176 +echo "${ECHO_T}$bfd_cv_has_long_long" >&6; }
9177 if test $bfd_cv_has_long_long = yes; then
9178 BFD_HOST_LONG_LONG=1
9179 - echo "$as_me:$LINENO: checking for long long" >&5
9180 -echo $ECHO_N "checking for long long... $ECHO_C" >&6
9181 + { echo "$as_me:$LINENO: checking for long long" >&5
9182 +echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
9183 if test "${ac_cv_type_long_long+set}" = set; then
9184 echo $ECHO_N "(cached) $ECHO_C" >&6
9185 else
9186 @@ -8575,61 +9177,57 @@ cat confdefs.h >>conftest.$ac_ext
9187 cat >>conftest.$ac_ext <<_ACEOF
9188 /* end confdefs.h. */
9189 $ac_includes_default
9190 +typedef long long ac__type_new_;
9191 int
9192 main ()
9193 {
9194 -if ((long long *) 0)
9195 +if ((ac__type_new_ *) 0)
9196 return 0;
9197 -if (sizeof (long long))
9198 +if (sizeof (ac__type_new_))
9199 return 0;
9200 ;
9201 return 0;
9202 }
9203 _ACEOF
9204 rm -f conftest.$ac_objext
9205 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9206 - (eval $ac_compile) 2>conftest.er1
9207 +if { (ac_try="$ac_compile"
9208 +case "(($ac_try" in
9209 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9210 + *) ac_try_echo=$ac_try;;
9211 +esac
9212 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9213 + (eval "$ac_compile") 2>conftest.er1
9214 ac_status=$?
9215 grep -v '^ *+' conftest.er1 >conftest.err
9216 rm -f conftest.er1
9217 cat conftest.err >&5
9218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9219 - (exit $ac_status); } &&
9220 - { ac_try='test -z "$ac_c_werror_flag"
9221 - || test ! -s conftest.err'
9222 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9223 - (eval $ac_try) 2>&5
9224 - ac_status=$?
9225 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
9226 - (exit $ac_status); }; } &&
9227 - { ac_try='test -s conftest.$ac_objext'
9228 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9229 - (eval $ac_try) 2>&5
9230 - ac_status=$?
9231 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
9232 - (exit $ac_status); }; }; then
9233 + (exit $ac_status); } && {
9234 + test -z "$ac_c_werror_flag" ||
9235 + test ! -s conftest.err
9236 + } && test -s conftest.$ac_objext; then
9237 ac_cv_type_long_long=yes
9238 else
9239 echo "$as_me: failed program was:" >&5
9240 sed 's/^/| /' conftest.$ac_ext >&5
9241
9242 -ac_cv_type_long_long=no
9243 + ac_cv_type_long_long=no
9244 fi
9245 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9246 +
9247 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9248 fi
9249 -echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
9250 -echo "${ECHO_T}$ac_cv_type_long_long" >&6
9251 +{ echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
9252 +echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
9253
9254 -echo "$as_me:$LINENO: checking size of long long" >&5
9255 -echo $ECHO_N "checking size of long long... $ECHO_C" >&6
9256 +# The cast to long int works around a bug in the HP C Compiler
9257 +# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
9258 +# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
9259 +# This bug is HP SR number 8606223364.
9260 +{ echo "$as_me:$LINENO: checking size of long long" >&5
9261 +echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
9262 if test "${ac_cv_sizeof_long_long+set}" = set; then
9263 echo $ECHO_N "(cached) $ECHO_C" >&6
9264 else
9265 - if test "$ac_cv_type_long_long" = yes; then
9266 - # The cast to unsigned long works around a bug in the HP C Compiler
9267 - # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
9268 - # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
9269 - # This bug is HP SR number 8606223364.
9270 if test "$cross_compiling" = yes; then
9271 # Depending upon the size, compute the lo and hi bounds.
9272 cat >conftest.$ac_ext <<_ACEOF
9273 @@ -8639,10 +9237,11 @@ cat confdefs.h >>conftest.$ac_ext
9274 cat >>conftest.$ac_ext <<_ACEOF
9275 /* end confdefs.h. */
9276 $ac_includes_default
9277 + typedef long long ac__type_sizeof_;
9278 int
9279 main ()
9280 {
9281 -static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
9282 +static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
9283 test_array [0] = 0
9284
9285 ;
9286 @@ -8650,27 +9249,22 @@ test_array [0] = 0
9287 }
9288 _ACEOF
9289 rm -f conftest.$ac_objext
9290 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9291 - (eval $ac_compile) 2>conftest.er1
9292 +if { (ac_try="$ac_compile"
9293 +case "(($ac_try" in
9294 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9295 + *) ac_try_echo=$ac_try;;
9296 +esac
9297 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9298 + (eval "$ac_compile") 2>conftest.er1
9299 ac_status=$?
9300 grep -v '^ *+' conftest.er1 >conftest.err
9301 rm -f conftest.er1
9302 cat conftest.err >&5
9303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9304 - (exit $ac_status); } &&
9305 - { ac_try='test -z "$ac_c_werror_flag"
9306 - || test ! -s conftest.err'
9307 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9308 - (eval $ac_try) 2>&5
9309 - ac_status=$?
9310 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
9311 - (exit $ac_status); }; } &&
9312 - { ac_try='test -s conftest.$ac_objext'
9313 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9314 - (eval $ac_try) 2>&5
9315 - ac_status=$?
9316 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
9317 - (exit $ac_status); }; }; then
9318 + (exit $ac_status); } && {
9319 + test -z "$ac_c_werror_flag" ||
9320 + test ! -s conftest.err
9321 + } && test -s conftest.$ac_objext; then
9322 ac_lo=0 ac_mid=0
9323 while :; do
9324 cat >conftest.$ac_ext <<_ACEOF
9325 @@ -8680,10 +9274,11 @@ cat confdefs.h >>conftest.$ac_ext
9326 cat >>conftest.$ac_ext <<_ACEOF
9327 /* end confdefs.h. */
9328 $ac_includes_default
9329 + typedef long long ac__type_sizeof_;
9330 int
9331 main ()
9332 {
9333 -static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
9334 +static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
9335 test_array [0] = 0
9336
9337 ;
9338 @@ -8691,56 +9286,53 @@ test_array [0] = 0
9339 }
9340 _ACEOF
9341 rm -f conftest.$ac_objext
9342 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9343 - (eval $ac_compile) 2>conftest.er1
9344 +if { (ac_try="$ac_compile"
9345 +case "(($ac_try" in
9346 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9347 + *) ac_try_echo=$ac_try;;
9348 +esac
9349 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9350 + (eval "$ac_compile") 2>conftest.er1
9351 ac_status=$?
9352 grep -v '^ *+' conftest.er1 >conftest.err
9353 rm -f conftest.er1
9354 cat conftest.err >&5
9355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9356 - (exit $ac_status); } &&
9357 - { ac_try='test -z "$ac_c_werror_flag"
9358 - || test ! -s conftest.err'
9359 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9360 - (eval $ac_try) 2>&5
9361 - ac_status=$?
9362 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
9363 - (exit $ac_status); }; } &&
9364 - { ac_try='test -s conftest.$ac_objext'
9365 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9366 - (eval $ac_try) 2>&5
9367 - ac_status=$?
9368 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
9369 - (exit $ac_status); }; }; then
9370 + (exit $ac_status); } && {
9371 + test -z "$ac_c_werror_flag" ||
9372 + test ! -s conftest.err
9373 + } && test -s conftest.$ac_objext; then
9374 ac_hi=$ac_mid; break
9375 else
9376 echo "$as_me: failed program was:" >&5
9377 sed 's/^/| /' conftest.$ac_ext >&5
9378
9379 -ac_lo=`expr $ac_mid + 1`
9380 - if test $ac_lo -le $ac_mid; then
9381 - ac_lo= ac_hi=
9382 - break
9383 - fi
9384 - ac_mid=`expr 2 '*' $ac_mid + 1`
9385 + ac_lo=`expr $ac_mid + 1`
9386 + if test $ac_lo -le $ac_mid; then
9387 + ac_lo= ac_hi=
9388 + break
9389 + fi
9390 + ac_mid=`expr 2 '*' $ac_mid + 1`
9391 fi
9392 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9393 +
9394 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9395 done
9396 else
9397 echo "$as_me: failed program was:" >&5
9398 sed 's/^/| /' conftest.$ac_ext >&5
9399
9400 -cat >conftest.$ac_ext <<_ACEOF
9401 + cat >conftest.$ac_ext <<_ACEOF
9402 /* confdefs.h. */
9403 _ACEOF
9404 cat confdefs.h >>conftest.$ac_ext
9405 cat >>conftest.$ac_ext <<_ACEOF
9406 /* end confdefs.h. */
9407 $ac_includes_default
9408 + typedef long long ac__type_sizeof_;
9409 int
9410 main ()
9411 {
9412 -static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
9413 +static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
9414 test_array [0] = 0
9415
9416 ;
9417 @@ -8748,27 +9340,22 @@ test_array [0] = 0
9418 }
9419 _ACEOF
9420 rm -f conftest.$ac_objext
9421 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9422 - (eval $ac_compile) 2>conftest.er1
9423 +if { (ac_try="$ac_compile"
9424 +case "(($ac_try" in
9425 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9426 + *) ac_try_echo=$ac_try;;
9427 +esac
9428 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9429 + (eval "$ac_compile") 2>conftest.er1
9430 ac_status=$?
9431 grep -v '^ *+' conftest.er1 >conftest.err
9432 rm -f conftest.er1
9433 cat conftest.err >&5
9434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9435 - (exit $ac_status); } &&
9436 - { ac_try='test -z "$ac_c_werror_flag"
9437 - || test ! -s conftest.err'
9438 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9439 - (eval $ac_try) 2>&5
9440 - ac_status=$?
9441 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
9442 - (exit $ac_status); }; } &&
9443 - { ac_try='test -s conftest.$ac_objext'
9444 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9445 - (eval $ac_try) 2>&5
9446 - ac_status=$?
9447 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
9448 - (exit $ac_status); }; }; then
9449 + (exit $ac_status); } && {
9450 + test -z "$ac_c_werror_flag" ||
9451 + test ! -s conftest.err
9452 + } && test -s conftest.$ac_objext; then
9453 ac_hi=-1 ac_mid=-1
9454 while :; do
9455 cat >conftest.$ac_ext <<_ACEOF
9456 @@ -8778,10 +9365,11 @@ cat confdefs.h >>conftest.$ac_ext
9457 cat >>conftest.$ac_ext <<_ACEOF
9458 /* end confdefs.h. */
9459 $ac_includes_default
9460 + typedef long long ac__type_sizeof_;
9461 int
9462 main ()
9463 {
9464 -static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
9465 +static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
9466 test_array [0] = 0
9467
9468 ;
9469 @@ -8789,50 +9377,48 @@ test_array [0] = 0
9470 }
9471 _ACEOF
9472 rm -f conftest.$ac_objext
9473 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9474 - (eval $ac_compile) 2>conftest.er1
9475 +if { (ac_try="$ac_compile"
9476 +case "(($ac_try" in
9477 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9478 + *) ac_try_echo=$ac_try;;
9479 +esac
9480 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9481 + (eval "$ac_compile") 2>conftest.er1
9482 ac_status=$?
9483 grep -v '^ *+' conftest.er1 >conftest.err
9484 rm -f conftest.er1
9485 cat conftest.err >&5
9486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9487 - (exit $ac_status); } &&
9488 - { ac_try='test -z "$ac_c_werror_flag"
9489 - || test ! -s conftest.err'
9490 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9491 - (eval $ac_try) 2>&5
9492 - ac_status=$?
9493 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
9494 - (exit $ac_status); }; } &&
9495 - { ac_try='test -s conftest.$ac_objext'
9496 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9497 - (eval $ac_try) 2>&5
9498 - ac_status=$?
9499 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
9500 - (exit $ac_status); }; }; then
9501 + (exit $ac_status); } && {
9502 + test -z "$ac_c_werror_flag" ||
9503 + test ! -s conftest.err
9504 + } && test -s conftest.$ac_objext; then
9505 ac_lo=$ac_mid; break
9506 else
9507 echo "$as_me: failed program was:" >&5
9508 sed 's/^/| /' conftest.$ac_ext >&5
9509
9510 -ac_hi=`expr '(' $ac_mid ')' - 1`
9511 - if test $ac_mid -le $ac_hi; then
9512 - ac_lo= ac_hi=
9513 - break
9514 - fi
9515 - ac_mid=`expr 2 '*' $ac_mid`
9516 + ac_hi=`expr '(' $ac_mid ')' - 1`
9517 + if test $ac_mid -le $ac_hi; then
9518 + ac_lo= ac_hi=
9519 + break
9520 + fi
9521 + ac_mid=`expr 2 '*' $ac_mid`
9522 fi
9523 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9524 +
9525 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9526 done
9527 else
9528 echo "$as_me: failed program was:" >&5
9529 sed 's/^/| /' conftest.$ac_ext >&5
9530
9531 -ac_lo= ac_hi=
9532 + ac_lo= ac_hi=
9533 fi
9534 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9535 +
9536 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9537 fi
9538 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9539 +
9540 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9541 # Binary search between lo and hi bounds.
9542 while test "x$ac_lo" != "x$ac_hi"; do
9543 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
9544 @@ -8843,10 +9429,11 @@ cat confdefs.h >>conftest.$ac_ext
9545 cat >>conftest.$ac_ext <<_ACEOF
9546 /* end confdefs.h. */
9547 $ac_includes_default
9548 + typedef long long ac__type_sizeof_;
9549 int
9550 main ()
9551 {
9552 -static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
9553 +static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
9554 test_array [0] = 0
9555
9556 ;
9557 @@ -8854,52 +9441,45 @@ test_array [0] = 0
9558 }
9559 _ACEOF
9560 rm -f conftest.$ac_objext
9561 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9562 - (eval $ac_compile) 2>conftest.er1
9563 +if { (ac_try="$ac_compile"
9564 +case "(($ac_try" in
9565 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9566 + *) ac_try_echo=$ac_try;;
9567 +esac
9568 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9569 + (eval "$ac_compile") 2>conftest.er1
9570 ac_status=$?
9571 grep -v '^ *+' conftest.er1 >conftest.err
9572 rm -f conftest.er1
9573 cat conftest.err >&5
9574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9575 - (exit $ac_status); } &&
9576 - { ac_try='test -z "$ac_c_werror_flag"
9577 - || test ! -s conftest.err'
9578 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9579 - (eval $ac_try) 2>&5
9580 - ac_status=$?
9581 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
9582 - (exit $ac_status); }; } &&
9583 - { ac_try='test -s conftest.$ac_objext'
9584 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9585 - (eval $ac_try) 2>&5
9586 - ac_status=$?
9587 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
9588 - (exit $ac_status); }; }; then
9589 + (exit $ac_status); } && {
9590 + test -z "$ac_c_werror_flag" ||
9591 + test ! -s conftest.err
9592 + } && test -s conftest.$ac_objext; then
9593 ac_hi=$ac_mid
9594 else
9595 echo "$as_me: failed program was:" >&5
9596 sed 's/^/| /' conftest.$ac_ext >&5
9597
9598 -ac_lo=`expr '(' $ac_mid ')' + 1`
9599 + ac_lo=`expr '(' $ac_mid ')' + 1`
9600 fi
9601 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9602 +
9603 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9604 done
9605 case $ac_lo in
9606 ?*) ac_cv_sizeof_long_long=$ac_lo;;
9607 -'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
9608 +'') if test "$ac_cv_type_long_long" = yes; then
9609 + { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
9610 See \`config.log' for more details." >&5
9611 -echo "$as_me: error: cannot compute sizeof (long long), 77
9612 +echo "$as_me: error: cannot compute sizeof (long long)
9613 See \`config.log' for more details." >&2;}
9614 - { (exit 1); exit 1; }; } ;;
9615 + { (exit 77); exit 77; }; }
9616 + else
9617 + ac_cv_sizeof_long_long=0
9618 + fi ;;
9619 esac
9620 else
9621 - if test "$cross_compiling" = yes; then
9622 - { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
9623 -See \`config.log' for more details." >&5
9624 -echo "$as_me: error: cannot run test program while cross compiling
9625 -See \`config.log' for more details." >&2;}
9626 - { (exit 1); exit 1; }; }
9627 -else
9628 cat >conftest.$ac_ext <<_ACEOF
9629 /* confdefs.h. */
9630 _ACEOF
9631 @@ -8907,8 +9487,9 @@ cat confdefs.h >>conftest.$ac_ext
9632 cat >>conftest.$ac_ext <<_ACEOF
9633 /* end confdefs.h. */
9634 $ac_includes_default
9635 -long longval () { return (long) (sizeof (long long)); }
9636 -unsigned long ulongval () { return (long) (sizeof (long long)); }
9637 + typedef long long ac__type_sizeof_;
9638 +static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
9639 +static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
9640 #include <stdio.h>
9641 #include <stdlib.h>
9642 int
9643 @@ -8917,35 +9498,44 @@ main ()
9644
9645 FILE *f = fopen ("conftest.val", "w");
9646 if (! f)
9647 - exit (1);
9648 - if (((long) (sizeof (long long))) < 0)
9649 + return 1;
9650 + if (((long int) (sizeof (ac__type_sizeof_))) < 0)
9651 {
9652 - long i = longval ();
9653 - if (i != ((long) (sizeof (long long))))
9654 - exit (1);
9655 + long int i = longval ();
9656 + if (i != ((long int) (sizeof (ac__type_sizeof_))))
9657 + return 1;
9658 fprintf (f, "%ld\n", i);
9659 }
9660 else
9661 {
9662 - unsigned long i = ulongval ();
9663 - if (i != ((long) (sizeof (long long))))
9664 - exit (1);
9665 + unsigned long int i = ulongval ();
9666 + if (i != ((long int) (sizeof (ac__type_sizeof_))))
9667 + return 1;
9668 fprintf (f, "%lu\n", i);
9669 }
9670 - exit (ferror (f) || fclose (f) != 0);
9671 + return ferror (f) || fclose (f) != 0;
9672
9673 ;
9674 return 0;
9675 }
9676 _ACEOF
9677 rm -f conftest$ac_exeext
9678 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9679 - (eval $ac_link) 2>&5
9680 +if { (ac_try="$ac_link"
9681 +case "(($ac_try" in
9682 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9683 + *) ac_try_echo=$ac_try;;
9684 +esac
9685 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9686 + (eval "$ac_link") 2>&5
9687 ac_status=$?
9688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9689 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
9690 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9691 - (eval $ac_try) 2>&5
9692 + { (case "(($ac_try" in
9693 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9694 + *) ac_try_echo=$ac_try;;
9695 +esac
9696 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9697 + (eval "$ac_try") 2>&5
9698 ac_status=$?
9699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9700 (exit $ac_status); }; }; then
9701 @@ -8956,22 +9546,25 @@ echo "$as_me: failed program was:" >&5
9702 sed 's/^/| /' conftest.$ac_ext >&5
9703
9704 ( exit $ac_status )
9705 -{ { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
9706 +if test "$ac_cv_type_long_long" = yes; then
9707 + { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
9708 See \`config.log' for more details." >&5
9709 -echo "$as_me: error: cannot compute sizeof (long long), 77
9710 +echo "$as_me: error: cannot compute sizeof (long long)
9711 See \`config.log' for more details." >&2;}
9712 - { (exit 1); exit 1; }; }
9713 -fi
9714 -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9715 + { (exit 77); exit 77; }; }
9716 + else
9717 + ac_cv_sizeof_long_long=0
9718 + fi
9719 fi
9720 +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9721 fi
9722 rm -f conftest.val
9723 -else
9724 - ac_cv_sizeof_long_long=0
9725 -fi
9726 fi
9727 -echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
9728 -echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
9729 +{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
9730 +echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
9731 +
9732 +
9733 +
9734 cat >>confdefs.h <<_ACEOF
9735 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
9736 _ACEOF
9737 @@ -8979,8 +9572,8 @@ _ACEOF
9738
9739 fi
9740
9741 -echo "$as_me:$LINENO: checking for long" >&5
9742 -echo $ECHO_N "checking for long... $ECHO_C" >&6
9743 +{ echo "$as_me:$LINENO: checking for long" >&5
9744 +echo $ECHO_N "checking for long... $ECHO_C" >&6; }
9745 if test "${ac_cv_type_long+set}" = set; then
9746 echo $ECHO_N "(cached) $ECHO_C" >&6
9747 else
9748 @@ -8991,61 +9584,57 @@ cat confdefs.h >>conftest.$ac_ext
9749 cat >>conftest.$ac_ext <<_ACEOF
9750 /* end confdefs.h. */
9751 $ac_includes_default
9752 +typedef long ac__type_new_;
9753 int
9754 main ()
9755 {
9756 -if ((long *) 0)
9757 +if ((ac__type_new_ *) 0)
9758 return 0;
9759 -if (sizeof (long))
9760 +if (sizeof (ac__type_new_))
9761 return 0;
9762 ;
9763 return 0;
9764 }
9765 _ACEOF
9766 rm -f conftest.$ac_objext
9767 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9768 - (eval $ac_compile) 2>conftest.er1
9769 +if { (ac_try="$ac_compile"
9770 +case "(($ac_try" in
9771 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9772 + *) ac_try_echo=$ac_try;;
9773 +esac
9774 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9775 + (eval "$ac_compile") 2>conftest.er1
9776 ac_status=$?
9777 grep -v '^ *+' conftest.er1 >conftest.err
9778 rm -f conftest.er1
9779 cat conftest.err >&5
9780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9781 - (exit $ac_status); } &&
9782 - { ac_try='test -z "$ac_c_werror_flag"
9783 - || test ! -s conftest.err'
9784 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9785 - (eval $ac_try) 2>&5
9786 - ac_status=$?
9787 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
9788 - (exit $ac_status); }; } &&
9789 - { ac_try='test -s conftest.$ac_objext'
9790 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9791 - (eval $ac_try) 2>&5
9792 - ac_status=$?
9793 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
9794 - (exit $ac_status); }; }; then
9795 + (exit $ac_status); } && {
9796 + test -z "$ac_c_werror_flag" ||
9797 + test ! -s conftest.err
9798 + } && test -s conftest.$ac_objext; then
9799 ac_cv_type_long=yes
9800 else
9801 echo "$as_me: failed program was:" >&5
9802 sed 's/^/| /' conftest.$ac_ext >&5
9803
9804 -ac_cv_type_long=no
9805 + ac_cv_type_long=no
9806 fi
9807 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9808 +
9809 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9810 fi
9811 -echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
9812 -echo "${ECHO_T}$ac_cv_type_long" >&6
9813 +{ echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
9814 +echo "${ECHO_T}$ac_cv_type_long" >&6; }
9815
9816 -echo "$as_me:$LINENO: checking size of long" >&5
9817 -echo $ECHO_N "checking size of long... $ECHO_C" >&6
9818 +# The cast to long int works around a bug in the HP C Compiler
9819 +# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
9820 +# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
9821 +# This bug is HP SR number 8606223364.
9822 +{ echo "$as_me:$LINENO: checking size of long" >&5
9823 +echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
9824 if test "${ac_cv_sizeof_long+set}" = set; then
9825 echo $ECHO_N "(cached) $ECHO_C" >&6
9826 else
9827 - if test "$ac_cv_type_long" = yes; then
9828 - # The cast to unsigned long works around a bug in the HP C Compiler
9829 - # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
9830 - # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
9831 - # This bug is HP SR number 8606223364.
9832 if test "$cross_compiling" = yes; then
9833 # Depending upon the size, compute the lo and hi bounds.
9834 cat >conftest.$ac_ext <<_ACEOF
9835 @@ -9055,10 +9644,11 @@ cat confdefs.h >>conftest.$ac_ext
9836 cat >>conftest.$ac_ext <<_ACEOF
9837 /* end confdefs.h. */
9838 $ac_includes_default
9839 + typedef long ac__type_sizeof_;
9840 int
9841 main ()
9842 {
9843 -static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
9844 +static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
9845 test_array [0] = 0
9846
9847 ;
9848 @@ -9066,27 +9656,22 @@ test_array [0] = 0
9849 }
9850 _ACEOF
9851 rm -f conftest.$ac_objext
9852 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9853 - (eval $ac_compile) 2>conftest.er1
9854 +if { (ac_try="$ac_compile"
9855 +case "(($ac_try" in
9856 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9857 + *) ac_try_echo=$ac_try;;
9858 +esac
9859 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9860 + (eval "$ac_compile") 2>conftest.er1
9861 ac_status=$?
9862 grep -v '^ *+' conftest.er1 >conftest.err
9863 rm -f conftest.er1
9864 cat conftest.err >&5
9865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9866 - (exit $ac_status); } &&
9867 - { ac_try='test -z "$ac_c_werror_flag"
9868 - || test ! -s conftest.err'
9869 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9870 - (eval $ac_try) 2>&5
9871 - ac_status=$?
9872 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
9873 - (exit $ac_status); }; } &&
9874 - { ac_try='test -s conftest.$ac_objext'
9875 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9876 - (eval $ac_try) 2>&5
9877 - ac_status=$?
9878 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
9879 - (exit $ac_status); }; }; then
9880 + (exit $ac_status); } && {
9881 + test -z "$ac_c_werror_flag" ||
9882 + test ! -s conftest.err
9883 + } && test -s conftest.$ac_objext; then
9884 ac_lo=0 ac_mid=0
9885 while :; do
9886 cat >conftest.$ac_ext <<_ACEOF
9887 @@ -9096,10 +9681,11 @@ cat confdefs.h >>conftest.$ac_ext
9888 cat >>conftest.$ac_ext <<_ACEOF
9889 /* end confdefs.h. */
9890 $ac_includes_default
9891 + typedef long ac__type_sizeof_;
9892 int
9893 main ()
9894 {
9895 -static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
9896 +static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
9897 test_array [0] = 0
9898
9899 ;
9900 @@ -9107,56 +9693,53 @@ test_array [0] = 0
9901 }
9902 _ACEOF
9903 rm -f conftest.$ac_objext
9904 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9905 - (eval $ac_compile) 2>conftest.er1
9906 +if { (ac_try="$ac_compile"
9907 +case "(($ac_try" in
9908 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9909 + *) ac_try_echo=$ac_try;;
9910 +esac
9911 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9912 + (eval "$ac_compile") 2>conftest.er1
9913 ac_status=$?
9914 grep -v '^ *+' conftest.er1 >conftest.err
9915 rm -f conftest.er1
9916 cat conftest.err >&5
9917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9918 - (exit $ac_status); } &&
9919 - { ac_try='test -z "$ac_c_werror_flag"
9920 - || test ! -s conftest.err'
9921 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9922 - (eval $ac_try) 2>&5
9923 - ac_status=$?
9924 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
9925 - (exit $ac_status); }; } &&
9926 - { ac_try='test -s conftest.$ac_objext'
9927 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9928 - (eval $ac_try) 2>&5
9929 - ac_status=$?
9930 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
9931 - (exit $ac_status); }; }; then
9932 + (exit $ac_status); } && {
9933 + test -z "$ac_c_werror_flag" ||
9934 + test ! -s conftest.err
9935 + } && test -s conftest.$ac_objext; then
9936 ac_hi=$ac_mid; break
9937 else
9938 echo "$as_me: failed program was:" >&5
9939 sed 's/^/| /' conftest.$ac_ext >&5
9940
9941 -ac_lo=`expr $ac_mid + 1`
9942 - if test $ac_lo -le $ac_mid; then
9943 - ac_lo= ac_hi=
9944 - break
9945 - fi
9946 - ac_mid=`expr 2 '*' $ac_mid + 1`
9947 + ac_lo=`expr $ac_mid + 1`
9948 + if test $ac_lo -le $ac_mid; then
9949 + ac_lo= ac_hi=
9950 + break
9951 + fi
9952 + ac_mid=`expr 2 '*' $ac_mid + 1`
9953 fi
9954 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9955 +
9956 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9957 done
9958 else
9959 echo "$as_me: failed program was:" >&5
9960 sed 's/^/| /' conftest.$ac_ext >&5
9961
9962 -cat >conftest.$ac_ext <<_ACEOF
9963 + cat >conftest.$ac_ext <<_ACEOF
9964 /* confdefs.h. */
9965 _ACEOF
9966 cat confdefs.h >>conftest.$ac_ext
9967 cat >>conftest.$ac_ext <<_ACEOF
9968 /* end confdefs.h. */
9969 $ac_includes_default
9970 + typedef long ac__type_sizeof_;
9971 int
9972 main ()
9973 {
9974 -static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
9975 +static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
9976 test_array [0] = 0
9977
9978 ;
9979 @@ -9164,27 +9747,22 @@ test_array [0] = 0
9980 }
9981 _ACEOF
9982 rm -f conftest.$ac_objext
9983 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9984 - (eval $ac_compile) 2>conftest.er1
9985 +if { (ac_try="$ac_compile"
9986 +case "(($ac_try" in
9987 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9988 + *) ac_try_echo=$ac_try;;
9989 +esac
9990 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9991 + (eval "$ac_compile") 2>conftest.er1
9992 ac_status=$?
9993 grep -v '^ *+' conftest.er1 >conftest.err
9994 rm -f conftest.er1
9995 cat conftest.err >&5
9996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9997 - (exit $ac_status); } &&
9998 - { ac_try='test -z "$ac_c_werror_flag"
9999 - || test ! -s conftest.err'
10000 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10001 - (eval $ac_try) 2>&5
10002 - ac_status=$?
10003 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
10004 - (exit $ac_status); }; } &&
10005 - { ac_try='test -s conftest.$ac_objext'
10006 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10007 - (eval $ac_try) 2>&5
10008 - ac_status=$?
10009 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
10010 - (exit $ac_status); }; }; then
10011 + (exit $ac_status); } && {
10012 + test -z "$ac_c_werror_flag" ||
10013 + test ! -s conftest.err
10014 + } && test -s conftest.$ac_objext; then
10015 ac_hi=-1 ac_mid=-1
10016 while :; do
10017 cat >conftest.$ac_ext <<_ACEOF
10018 @@ -9194,10 +9772,11 @@ cat confdefs.h >>conftest.$ac_ext
10019 cat >>conftest.$ac_ext <<_ACEOF
10020 /* end confdefs.h. */
10021 $ac_includes_default
10022 + typedef long ac__type_sizeof_;
10023 int
10024 main ()
10025 {
10026 -static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
10027 +static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
10028 test_array [0] = 0
10029
10030 ;
10031 @@ -9205,50 +9784,48 @@ test_array [0] = 0
10032 }
10033 _ACEOF
10034 rm -f conftest.$ac_objext
10035 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10036 - (eval $ac_compile) 2>conftest.er1
10037 +if { (ac_try="$ac_compile"
10038 +case "(($ac_try" in
10039 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10040 + *) ac_try_echo=$ac_try;;
10041 +esac
10042 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10043 + (eval "$ac_compile") 2>conftest.er1
10044 ac_status=$?
10045 grep -v '^ *+' conftest.er1 >conftest.err
10046 rm -f conftest.er1
10047 cat conftest.err >&5
10048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10049 - (exit $ac_status); } &&
10050 - { ac_try='test -z "$ac_c_werror_flag"
10051 - || test ! -s conftest.err'
10052 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10053 - (eval $ac_try) 2>&5
10054 - ac_status=$?
10055 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
10056 - (exit $ac_status); }; } &&
10057 - { ac_try='test -s conftest.$ac_objext'
10058 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10059 - (eval $ac_try) 2>&5
10060 - ac_status=$?
10061 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
10062 - (exit $ac_status); }; }; then
10063 + (exit $ac_status); } && {
10064 + test -z "$ac_c_werror_flag" ||
10065 + test ! -s conftest.err
10066 + } && test -s conftest.$ac_objext; then
10067 ac_lo=$ac_mid; break
10068 else
10069 echo "$as_me: failed program was:" >&5
10070 sed 's/^/| /' conftest.$ac_ext >&5
10071
10072 -ac_hi=`expr '(' $ac_mid ')' - 1`
10073 - if test $ac_mid -le $ac_hi; then
10074 - ac_lo= ac_hi=
10075 - break
10076 - fi
10077 - ac_mid=`expr 2 '*' $ac_mid`
10078 + ac_hi=`expr '(' $ac_mid ')' - 1`
10079 + if test $ac_mid -le $ac_hi; then
10080 + ac_lo= ac_hi=
10081 + break
10082 + fi
10083 + ac_mid=`expr 2 '*' $ac_mid`
10084 fi
10085 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10086 +
10087 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10088 done
10089 else
10090 echo "$as_me: failed program was:" >&5
10091 sed 's/^/| /' conftest.$ac_ext >&5
10092
10093 -ac_lo= ac_hi=
10094 + ac_lo= ac_hi=
10095 fi
10096 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10097 +
10098 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10099 fi
10100 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10101 +
10102 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10103 # Binary search between lo and hi bounds.
10104 while test "x$ac_lo" != "x$ac_hi"; do
10105 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
10106 @@ -9259,10 +9836,11 @@ cat confdefs.h >>conftest.$ac_ext
10107 cat >>conftest.$ac_ext <<_ACEOF
10108 /* end confdefs.h. */
10109 $ac_includes_default
10110 + typedef long ac__type_sizeof_;
10111 int
10112 main ()
10113 {
10114 -static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
10115 +static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
10116 test_array [0] = 0
10117
10118 ;
10119 @@ -9270,52 +9848,45 @@ test_array [0] = 0
10120 }
10121 _ACEOF
10122 rm -f conftest.$ac_objext
10123 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10124 - (eval $ac_compile) 2>conftest.er1
10125 +if { (ac_try="$ac_compile"
10126 +case "(($ac_try" in
10127 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10128 + *) ac_try_echo=$ac_try;;
10129 +esac
10130 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10131 + (eval "$ac_compile") 2>conftest.er1
10132 ac_status=$?
10133 grep -v '^ *+' conftest.er1 >conftest.err
10134 rm -f conftest.er1
10135 cat conftest.err >&5
10136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10137 - (exit $ac_status); } &&
10138 - { ac_try='test -z "$ac_c_werror_flag"
10139 - || test ! -s conftest.err'
10140 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10141 - (eval $ac_try) 2>&5
10142 - ac_status=$?
10143 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
10144 - (exit $ac_status); }; } &&
10145 - { ac_try='test -s conftest.$ac_objext'
10146 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10147 - (eval $ac_try) 2>&5
10148 - ac_status=$?
10149 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
10150 - (exit $ac_status); }; }; then
10151 + (exit $ac_status); } && {
10152 + test -z "$ac_c_werror_flag" ||
10153 + test ! -s conftest.err
10154 + } && test -s conftest.$ac_objext; then
10155 ac_hi=$ac_mid
10156 else
10157 echo "$as_me: failed program was:" >&5
10158 sed 's/^/| /' conftest.$ac_ext >&5
10159
10160 -ac_lo=`expr '(' $ac_mid ')' + 1`
10161 + ac_lo=`expr '(' $ac_mid ')' + 1`
10162 fi
10163 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10164 +
10165 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10166 done
10167 case $ac_lo in
10168 ?*) ac_cv_sizeof_long=$ac_lo;;
10169 -'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
10170 +'') if test "$ac_cv_type_long" = yes; then
10171 + { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
10172 See \`config.log' for more details." >&5
10173 -echo "$as_me: error: cannot compute sizeof (long), 77
10174 +echo "$as_me: error: cannot compute sizeof (long)
10175 See \`config.log' for more details." >&2;}
10176 - { (exit 1); exit 1; }; } ;;
10177 + { (exit 77); exit 77; }; }
10178 + else
10179 + ac_cv_sizeof_long=0
10180 + fi ;;
10181 esac
10182 else
10183 - if test "$cross_compiling" = yes; then
10184 - { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
10185 -See \`config.log' for more details." >&5
10186 -echo "$as_me: error: cannot run test program while cross compiling
10187 -See \`config.log' for more details." >&2;}
10188 - { (exit 1); exit 1; }; }
10189 -else
10190 cat >conftest.$ac_ext <<_ACEOF
10191 /* confdefs.h. */
10192 _ACEOF
10193 @@ -9323,8 +9894,9 @@ cat confdefs.h >>conftest.$ac_ext
10194 cat >>conftest.$ac_ext <<_ACEOF
10195 /* end confdefs.h. */
10196 $ac_includes_default
10197 -long longval () { return (long) (sizeof (long)); }
10198 -unsigned long ulongval () { return (long) (sizeof (long)); }
10199 + typedef long ac__type_sizeof_;
10200 +static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
10201 +static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
10202 #include <stdio.h>
10203 #include <stdlib.h>
10204 int
10205 @@ -9333,35 +9905,44 @@ main ()
10206
10207 FILE *f = fopen ("conftest.val", "w");
10208 if (! f)
10209 - exit (1);
10210 - if (((long) (sizeof (long))) < 0)
10211 + return 1;
10212 + if (((long int) (sizeof (ac__type_sizeof_))) < 0)
10213 {
10214 - long i = longval ();
10215 - if (i != ((long) (sizeof (long))))
10216 - exit (1);
10217 + long int i = longval ();
10218 + if (i != ((long int) (sizeof (ac__type_sizeof_))))
10219 + return 1;
10220 fprintf (f, "%ld\n", i);
10221 }
10222 else
10223 {
10224 - unsigned long i = ulongval ();
10225 - if (i != ((long) (sizeof (long))))
10226 - exit (1);
10227 + unsigned long int i = ulongval ();
10228 + if (i != ((long int) (sizeof (ac__type_sizeof_))))
10229 + return 1;
10230 fprintf (f, "%lu\n", i);
10231 }
10232 - exit (ferror (f) || fclose (f) != 0);
10233 + return ferror (f) || fclose (f) != 0;
10234
10235 ;
10236 return 0;
10237 }
10238 _ACEOF
10239 rm -f conftest$ac_exeext
10240 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10241 - (eval $ac_link) 2>&5
10242 +if { (ac_try="$ac_link"
10243 +case "(($ac_try" in
10244 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10245 + *) ac_try_echo=$ac_try;;
10246 +esac
10247 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10248 + (eval "$ac_link") 2>&5
10249 ac_status=$?
10250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10251 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
10252 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10253 - (eval $ac_try) 2>&5
10254 + { (case "(($ac_try" in
10255 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10256 + *) ac_try_echo=$ac_try;;
10257 +esac
10258 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10259 + (eval "$ac_try") 2>&5
10260 ac_status=$?
10261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10262 (exit $ac_status); }; }; then
10263 @@ -9372,22 +9953,25 @@ echo "$as_me: failed program was:" >&5
10264 sed 's/^/| /' conftest.$ac_ext >&5
10265
10266 ( exit $ac_status )
10267 -{ { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
10268 +if test "$ac_cv_type_long" = yes; then
10269 + { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
10270 See \`config.log' for more details." >&5
10271 -echo "$as_me: error: cannot compute sizeof (long), 77
10272 +echo "$as_me: error: cannot compute sizeof (long)
10273 See \`config.log' for more details." >&2;}
10274 - { (exit 1); exit 1; }; }
10275 -fi
10276 -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
10277 + { (exit 77); exit 77; }; }
10278 + else
10279 + ac_cv_sizeof_long=0
10280 + fi
10281 fi
10282 +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
10283 fi
10284 rm -f conftest.val
10285 -else
10286 - ac_cv_sizeof_long=0
10287 -fi
10288 fi
10289 -echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
10290 -echo "${ECHO_T}$ac_cv_sizeof_long" >&6
10291 +{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
10292 +echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
10293 +
10294 +
10295 +
10296 cat >>confdefs.h <<_ACEOF
10297 #define SIZEOF_LONG $ac_cv_sizeof_long
10298 _ACEOF
10299 @@ -9428,8 +10012,8 @@ fi
10300 if test "x$cross_compiling" = "xno"; then
10301 EXEEXT_FOR_BUILD='$(EXEEXT)'
10302 else
10303 - echo "$as_me:$LINENO: checking for build system executable suffix" >&5
10304 -echo $ECHO_N "checking for build system executable suffix... $ECHO_C" >&6
10305 + { echo "$as_me:$LINENO: checking for build system executable suffix" >&5
10306 +echo $ECHO_N "checking for build system executable suffix... $ECHO_C" >&6; }
10307 if test "${bfd_cv_build_exeext+set}" = set; then
10308 echo $ECHO_N "(cached) $ECHO_C" >&6
10309 else
10310 @@ -9446,8 +10030,8 @@ else
10311 rm -f conftest*
10312 test x"${bfd_cv_build_exeext}" = x && bfd_cv_build_exeext=no
10313 fi
10314 -echo "$as_me:$LINENO: result: $bfd_cv_build_exeext" >&5
10315 -echo "${ECHO_T}$bfd_cv_build_exeext" >&6
10316 +{ echo "$as_me:$LINENO: result: $bfd_cv_build_exeext" >&5
10317 +echo "${ECHO_T}$bfd_cv_build_exeext" >&6; }
10318 EXEEXT_FOR_BUILD=""
10319 test x"${bfd_cv_build_exeext}" != xno && EXEEXT_FOR_BUILD=${bfd_cv_build_exeext}
10320 fi
10321 @@ -9462,18 +10046,19 @@ fi
10322 for ac_header in stddef.h string.h strings.h stdlib.h time.h unistd.h
10323 do
10324 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10325 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
10326 - echo "$as_me:$LINENO: checking for $ac_header" >&5
10327 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10328 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
10329 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10330 + { echo "$as_me:$LINENO: checking for $ac_header" >&5
10331 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10332 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10333 echo $ECHO_N "(cached) $ECHO_C" >&6
10334 fi
10335 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10336 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10337 +ac_res=`eval echo '${'$as_ac_Header'}'`
10338 + { echo "$as_me:$LINENO: result: $ac_res" >&5
10339 +echo "${ECHO_T}$ac_res" >&6; }
10340 else
10341 # Is the header compilable?
10342 -echo "$as_me:$LINENO: checking $ac_header usability" >&5
10343 -echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10344 +{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
10345 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10346 cat >conftest.$ac_ext <<_ACEOF
10347 /* confdefs.h. */
10348 _ACEOF
10349 @@ -9484,41 +10069,37 @@ $ac_includes_default
10350 #include <$ac_header>
10351 _ACEOF
10352 rm -f conftest.$ac_objext
10353 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10354 - (eval $ac_compile) 2>conftest.er1
10355 +if { (ac_try="$ac_compile"
10356 +case "(($ac_try" in
10357 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10358 + *) ac_try_echo=$ac_try;;
10359 +esac
10360 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10361 + (eval "$ac_compile") 2>conftest.er1
10362 ac_status=$?
10363 grep -v '^ *+' conftest.er1 >conftest.err
10364 rm -f conftest.er1
10365 cat conftest.err >&5
10366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10367 - (exit $ac_status); } &&
10368 - { ac_try='test -z "$ac_c_werror_flag"
10369 - || test ! -s conftest.err'
10370 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10371 - (eval $ac_try) 2>&5
10372 - ac_status=$?
10373 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
10374 - (exit $ac_status); }; } &&
10375 - { ac_try='test -s conftest.$ac_objext'
10376 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10377 - (eval $ac_try) 2>&5
10378 - ac_status=$?
10379 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
10380 - (exit $ac_status); }; }; then
10381 + (exit $ac_status); } && {
10382 + test -z "$ac_c_werror_flag" ||
10383 + test ! -s conftest.err
10384 + } && test -s conftest.$ac_objext; then
10385 ac_header_compiler=yes
10386 else
10387 echo "$as_me: failed program was:" >&5
10388 sed 's/^/| /' conftest.$ac_ext >&5
10389
10390 -ac_header_compiler=no
10391 + ac_header_compiler=no
10392 fi
10393 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10394 -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10395 -echo "${ECHO_T}$ac_header_compiler" >&6
10396 +
10397 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10398 +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10399 +echo "${ECHO_T}$ac_header_compiler" >&6; }
10400
10401 # Is the header present?
10402 -echo "$as_me:$LINENO: checking $ac_header presence" >&5
10403 -echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10404 +{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
10405 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10406 cat >conftest.$ac_ext <<_ACEOF
10407 /* confdefs.h. */
10408 _ACEOF
10409 @@ -9527,24 +10108,22 @@ cat >>conftest.$ac_ext <<_ACEOF
10410 /* end confdefs.h. */
10411 #include <$ac_header>
10412 _ACEOF
10413 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10414 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10415 +if { (ac_try="$ac_cpp conftest.$ac_ext"
10416 +case "(($ac_try" in
10417 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10418 + *) ac_try_echo=$ac_try;;
10419 +esac
10420 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10421 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10422 ac_status=$?
10423 grep -v '^ *+' conftest.er1 >conftest.err
10424 rm -f conftest.er1
10425 cat conftest.err >&5
10426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10427 - (exit $ac_status); } >/dev/null; then
10428 - if test -s conftest.err; then
10429 - ac_cpp_err=$ac_c_preproc_warn_flag
10430 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
10431 - else
10432 - ac_cpp_err=
10433 - fi
10434 -else
10435 - ac_cpp_err=yes
10436 -fi
10437 -if test -z "$ac_cpp_err"; then
10438 + (exit $ac_status); } >/dev/null && {
10439 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10440 + test ! -s conftest.err
10441 + }; then
10442 ac_header_preproc=yes
10443 else
10444 echo "$as_me: failed program was:" >&5
10445 @@ -9552,9 +10131,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
10446
10447 ac_header_preproc=no
10448 fi
10449 +
10450 rm -f conftest.err conftest.$ac_ext
10451 -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10452 -echo "${ECHO_T}$ac_header_preproc" >&6
10453 +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10454 +echo "${ECHO_T}$ac_header_preproc" >&6; }
10455
10456 # So? What about this header?
10457 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10458 @@ -9578,25 +10158,19 @@ echo "$as_me: WARNING: $ac_header: s
10459 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10460 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10461 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10462 - (
10463 - cat <<\_ASBOX
10464 -## ------------------------------------------ ##
10465 -## Report this to the AC_PACKAGE_NAME lists. ##
10466 -## ------------------------------------------ ##
10467 -_ASBOX
10468 - ) |
10469 - sed "s/^/$as_me: WARNING: /" >&2
10470 +
10471 ;;
10472 esac
10473 -echo "$as_me:$LINENO: checking for $ac_header" >&5
10474 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10475 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
10476 +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
10477 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10478 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10479 echo $ECHO_N "(cached) $ECHO_C" >&6
10480 else
10481 eval "$as_ac_Header=\$ac_header_preproc"
10482 fi
10483 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10484 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10485 +ac_res=`eval echo '${'$as_ac_Header'}'`
10486 + { echo "$as_me:$LINENO: result: $ac_res" >&5
10487 +echo "${ECHO_T}$ac_res" >&6; }
10488
10489 fi
10490 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10491 @@ -9614,18 +10188,19 @@ done
10492 for ac_header in fcntl.h sys/file.h sys/time.h
10493 do
10494 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10495 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
10496 - echo "$as_me:$LINENO: checking for $ac_header" >&5
10497 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10498 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
10499 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10500 + { echo "$as_me:$LINENO: checking for $ac_header" >&5
10501 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10502 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10503 echo $ECHO_N "(cached) $ECHO_C" >&6
10504 fi
10505 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10506 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10507 +ac_res=`eval echo '${'$as_ac_Header'}'`
10508 + { echo "$as_me:$LINENO: result: $ac_res" >&5
10509 +echo "${ECHO_T}$ac_res" >&6; }
10510 else
10511 # Is the header compilable?
10512 -echo "$as_me:$LINENO: checking $ac_header usability" >&5
10513 -echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10514 +{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
10515 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10516 cat >conftest.$ac_ext <<_ACEOF
10517 /* confdefs.h. */
10518 _ACEOF
10519 @@ -9636,41 +10211,37 @@ $ac_includes_default
10520 #include <$ac_header>
10521 _ACEOF
10522 rm -f conftest.$ac_objext
10523 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10524 - (eval $ac_compile) 2>conftest.er1
10525 +if { (ac_try="$ac_compile"
10526 +case "(($ac_try" in
10527 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10528 + *) ac_try_echo=$ac_try;;
10529 +esac
10530 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10531 + (eval "$ac_compile") 2>conftest.er1
10532 ac_status=$?
10533 grep -v '^ *+' conftest.er1 >conftest.err
10534 rm -f conftest.er1
10535 cat conftest.err >&5
10536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10537 - (exit $ac_status); } &&
10538 - { ac_try='test -z "$ac_c_werror_flag"
10539 - || test ! -s conftest.err'
10540 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10541 - (eval $ac_try) 2>&5
10542 - ac_status=$?
10543 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
10544 - (exit $ac_status); }; } &&
10545 - { ac_try='test -s conftest.$ac_objext'
10546 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10547 - (eval $ac_try) 2>&5
10548 - ac_status=$?
10549 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
10550 - (exit $ac_status); }; }; then
10551 + (exit $ac_status); } && {
10552 + test -z "$ac_c_werror_flag" ||
10553 + test ! -s conftest.err
10554 + } && test -s conftest.$ac_objext; then
10555 ac_header_compiler=yes
10556 else
10557 echo "$as_me: failed program was:" >&5
10558 sed 's/^/| /' conftest.$ac_ext >&5
10559
10560 -ac_header_compiler=no
10561 + ac_header_compiler=no
10562 fi
10563 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10564 -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10565 -echo "${ECHO_T}$ac_header_compiler" >&6
10566 +
10567 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10568 +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10569 +echo "${ECHO_T}$ac_header_compiler" >&6; }
10570
10571 # Is the header present?
10572 -echo "$as_me:$LINENO: checking $ac_header presence" >&5
10573 -echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10574 +{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
10575 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10576 cat >conftest.$ac_ext <<_ACEOF
10577 /* confdefs.h. */
10578 _ACEOF
10579 @@ -9679,24 +10250,22 @@ cat >>conftest.$ac_ext <<_ACEOF
10580 /* end confdefs.h. */
10581 #include <$ac_header>
10582 _ACEOF
10583 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10584 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10585 +if { (ac_try="$ac_cpp conftest.$ac_ext"
10586 +case "(($ac_try" in
10587 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10588 + *) ac_try_echo=$ac_try;;
10589 +esac
10590 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10591 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10592 ac_status=$?
10593 grep -v '^ *+' conftest.er1 >conftest.err
10594 rm -f conftest.er1
10595 cat conftest.err >&5
10596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10597 - (exit $ac_status); } >/dev/null; then
10598 - if test -s conftest.err; then
10599 - ac_cpp_err=$ac_c_preproc_warn_flag
10600 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
10601 - else
10602 - ac_cpp_err=
10603 - fi
10604 -else
10605 - ac_cpp_err=yes
10606 -fi
10607 -if test -z "$ac_cpp_err"; then
10608 + (exit $ac_status); } >/dev/null && {
10609 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10610 + test ! -s conftest.err
10611 + }; then
10612 ac_header_preproc=yes
10613 else
10614 echo "$as_me: failed program was:" >&5
10615 @@ -9704,9 +10273,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
10616
10617 ac_header_preproc=no
10618 fi
10619 +
10620 rm -f conftest.err conftest.$ac_ext
10621 -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10622 -echo "${ECHO_T}$ac_header_preproc" >&6
10623 +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10624 +echo "${ECHO_T}$ac_header_preproc" >&6; }
10625
10626 # So? What about this header?
10627 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10628 @@ -9730,25 +10300,19 @@ echo "$as_me: WARNING: $ac_header: s
10629 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10630 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10631 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10632 - (
10633 - cat <<\_ASBOX
10634 -## ------------------------------------------ ##
10635 -## Report this to the AC_PACKAGE_NAME lists. ##
10636 -## ------------------------------------------ ##
10637 -_ASBOX
10638 - ) |
10639 - sed "s/^/$as_me: WARNING: /" >&2
10640 +
10641 ;;
10642 esac
10643 -echo "$as_me:$LINENO: checking for $ac_header" >&5
10644 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10645 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
10646 +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
10647 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10648 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10649 echo $ECHO_N "(cached) $ECHO_C" >&6
10650 else
10651 eval "$as_ac_Header=\$ac_header_preproc"
10652 fi
10653 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10654 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10655 +ac_res=`eval echo '${'$as_ac_Header'}'`
10656 + { echo "$as_me:$LINENO: result: $ac_res" >&5
10657 +echo "${ECHO_T}$ac_res" >&6; }
10658
10659 fi
10660 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10661 @@ -9760,8 +10324,8 @@ fi
10662
10663 done
10664
10665 -echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
10666 -echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
10667 +{ echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
10668 +echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; }
10669 if test "${ac_cv_header_time+set}" = set; then
10670 echo $ECHO_N "(cached) $ECHO_C" >&6
10671 else
10672 @@ -9785,38 +10349,34 @@ return 0;
10673 }
10674 _ACEOF
10675 rm -f conftest.$ac_objext
10676 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10677 - (eval $ac_compile) 2>conftest.er1
10678 +if { (ac_try="$ac_compile"
10679 +case "(($ac_try" in
10680 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10681 + *) ac_try_echo=$ac_try;;
10682 +esac
10683 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10684 + (eval "$ac_compile") 2>conftest.er1
10685 ac_status=$?
10686 grep -v '^ *+' conftest.er1 >conftest.err
10687 rm -f conftest.er1
10688 cat conftest.err >&5
10689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10690 - (exit $ac_status); } &&
10691 - { ac_try='test -z "$ac_c_werror_flag"
10692 - || test ! -s conftest.err'
10693 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10694 - (eval $ac_try) 2>&5
10695 - ac_status=$?
10696 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
10697 - (exit $ac_status); }; } &&
10698 - { ac_try='test -s conftest.$ac_objext'
10699 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10700 - (eval $ac_try) 2>&5
10701 - ac_status=$?
10702 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
10703 - (exit $ac_status); }; }; then
10704 + (exit $ac_status); } && {
10705 + test -z "$ac_c_werror_flag" ||
10706 + test ! -s conftest.err
10707 + } && test -s conftest.$ac_objext; then
10708 ac_cv_header_time=yes
10709 else
10710 echo "$as_me: failed program was:" >&5
10711 sed 's/^/| /' conftest.$ac_ext >&5
10712
10713 -ac_cv_header_time=no
10714 + ac_cv_header_time=no
10715 fi
10716 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10717 +
10718 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10719 fi
10720 -echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
10721 -echo "${ECHO_T}$ac_cv_header_time" >&6
10722 +{ echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
10723 +echo "${ECHO_T}$ac_cv_header_time" >&6; }
10724 if test $ac_cv_header_time = yes; then
10725
10726 cat >>confdefs.h <<\_ACEOF
10727 @@ -9833,9 +10393,9 @@ fi
10728 ac_header_dirent=no
10729 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
10730 as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
10731 -echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
10732 -echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
10733 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
10734 +{ echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
10735 +echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6; }
10736 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10737 echo $ECHO_N "(cached) $ECHO_C" >&6
10738 else
10739 cat >conftest.$ac_ext <<_ACEOF
10740 @@ -9857,38 +10417,35 @@ return 0;
10741 }
10742 _ACEOF
10743 rm -f conftest.$ac_objext
10744 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10745 - (eval $ac_compile) 2>conftest.er1
10746 +if { (ac_try="$ac_compile"
10747 +case "(($ac_try" in
10748 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10749 + *) ac_try_echo=$ac_try;;
10750 +esac
10751 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10752 + (eval "$ac_compile") 2>conftest.er1
10753 ac_status=$?
10754 grep -v '^ *+' conftest.er1 >conftest.err
10755 rm -f conftest.er1
10756 cat conftest.err >&5
10757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10758 - (exit $ac_status); } &&
10759 - { ac_try='test -z "$ac_c_werror_flag"
10760 - || test ! -s conftest.err'
10761 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10762 - (eval $ac_try) 2>&5
10763 - ac_status=$?
10764 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
10765 - (exit $ac_status); }; } &&
10766 - { ac_try='test -s conftest.$ac_objext'
10767 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10768 - (eval $ac_try) 2>&5
10769 - ac_status=$?
10770 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
10771 - (exit $ac_status); }; }; then
10772 + (exit $ac_status); } && {
10773 + test -z "$ac_c_werror_flag" ||
10774 + test ! -s conftest.err
10775 + } && test -s conftest.$ac_objext; then
10776 eval "$as_ac_Header=yes"
10777 else
10778 echo "$as_me: failed program was:" >&5
10779 sed 's/^/| /' conftest.$ac_ext >&5
10780
10781 -eval "$as_ac_Header=no"
10782 + eval "$as_ac_Header=no"
10783 fi
10784 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10785 +
10786 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10787 fi
10788 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10789 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10790 +ac_res=`eval echo '${'$as_ac_Header'}'`
10791 + { echo "$as_me:$LINENO: result: $ac_res" >&5
10792 +echo "${ECHO_T}$ac_res" >&6; }
10793 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10794 cat >>confdefs.h <<_ACEOF
10795 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
10796 @@ -9900,13 +10457,12 @@ fi
10797 done
10798 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
10799 if test $ac_header_dirent = dirent.h; then
10800 - echo "$as_me:$LINENO: checking for library containing opendir" >&5
10801 -echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
10802 + { echo "$as_me:$LINENO: checking for library containing opendir" >&5
10803 +echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
10804 if test "${ac_cv_search_opendir+set}" = set; then
10805 echo $ECHO_N "(cached) $ECHO_C" >&6
10806 else
10807 ac_func_search_save_LIBS=$LIBS
10808 -ac_cv_search_opendir=no
10809 cat >conftest.$ac_ext <<_ACEOF
10810 /* confdefs.h. */
10811 _ACEOF
10812 @@ -9914,126 +10470,83 @@ cat confdefs.h >>conftest.$ac_ext
10813 cat >>conftest.$ac_ext <<_ACEOF
10814 /* end confdefs.h. */
10815
10816 -/* Override any gcc2 internal prototype to avoid an error. */
10817 +/* Override any GCC internal prototype to avoid an error.
10818 + Use char because int might match the return type of a GCC
10819 + builtin and then its argument prototype would still apply. */
10820 #ifdef __cplusplus
10821 extern "C"
10822 #endif
10823 -/* We use char because int might match the return type of a gcc2
10824 - builtin and then its argument prototype would still apply. */
10825 char opendir ();
10826 int
10827 main ()
10828 {
10829 -opendir ();
10830 +return opendir ();
10831 ;
10832 return 0;
10833 }
10834 _ACEOF
10835 -rm -f conftest.$ac_objext conftest$ac_exeext
10836 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10837 - (eval $ac_link) 2>conftest.er1
10838 +for ac_lib in '' dir; do
10839 + if test -z "$ac_lib"; then
10840 + ac_res="none required"
10841 + else
10842 + ac_res=-l$ac_lib
10843 + LIBS="-l$ac_lib $ac_func_search_save_LIBS"
10844 + fi
10845 + rm -f conftest.$ac_objext conftest$ac_exeext
10846 +if { (ac_try="$ac_link"
10847 +case "(($ac_try" in
10848 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10849 + *) ac_try_echo=$ac_try;;
10850 +esac
10851 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10852 + (eval "$ac_link") 2>conftest.er1
10853 ac_status=$?
10854 grep -v '^ *+' conftest.er1 >conftest.err
10855 rm -f conftest.er1
10856 cat conftest.err >&5
10857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10858 - (exit $ac_status); } &&
10859 - { ac_try='test -z "$ac_c_werror_flag"
10860 - || test ! -s conftest.err'
10861 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10862 - (eval $ac_try) 2>&5
10863 - ac_status=$?
10864 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
10865 - (exit $ac_status); }; } &&
10866 - { ac_try='test -s conftest$ac_exeext'
10867 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10868 - (eval $ac_try) 2>&5
10869 - ac_status=$?
10870 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
10871 - (exit $ac_status); }; }; then
10872 - ac_cv_search_opendir="none required"
10873 + (exit $ac_status); } && {
10874 + test -z "$ac_c_werror_flag" ||
10875 + test ! -s conftest.err
10876 + } && test -s conftest$ac_exeext &&
10877 + $as_test_x conftest$ac_exeext; then
10878 + ac_cv_search_opendir=$ac_res
10879 else
10880 echo "$as_me: failed program was:" >&5
10881 sed 's/^/| /' conftest.$ac_ext >&5
10882
10883 -fi
10884 -rm -f conftest.err conftest.$ac_objext \
10885 - conftest$ac_exeext conftest.$ac_ext
10886 -if test "$ac_cv_search_opendir" = no; then
10887 - for ac_lib in dir; do
10888 - LIBS="-l$ac_lib $ac_func_search_save_LIBS"
10889 - cat >conftest.$ac_ext <<_ACEOF
10890 -/* confdefs.h. */
10891 -_ACEOF
10892 -cat confdefs.h >>conftest.$ac_ext
10893 -cat >>conftest.$ac_ext <<_ACEOF
10894 -/* end confdefs.h. */
10895
10896 -/* Override any gcc2 internal prototype to avoid an error. */
10897 -#ifdef __cplusplus
10898 -extern "C"
10899 -#endif
10900 -/* We use char because int might match the return type of a gcc2
10901 - builtin and then its argument prototype would still apply. */
10902 -char opendir ();
10903 -int
10904 -main ()
10905 -{
10906 -opendir ();
10907 - ;
10908 - return 0;
10909 -}
10910 -_ACEOF
10911 -rm -f conftest.$ac_objext conftest$ac_exeext
10912 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10913 - (eval $ac_link) 2>conftest.er1
10914 - ac_status=$?
10915 - grep -v '^ *+' conftest.er1 >conftest.err
10916 - rm -f conftest.er1
10917 - cat conftest.err >&5
10918 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
10919 - (exit $ac_status); } &&
10920 - { ac_try='test -z "$ac_c_werror_flag"
10921 - || test ! -s conftest.err'
10922 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10923 - (eval $ac_try) 2>&5
10924 - ac_status=$?
10925 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
10926 - (exit $ac_status); }; } &&
10927 - { ac_try='test -s conftest$ac_exeext'
10928 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10929 - (eval $ac_try) 2>&5
10930 - ac_status=$?
10931 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
10932 - (exit $ac_status); }; }; then
10933 - ac_cv_search_opendir="-l$ac_lib"
10934 -break
10935 -else
10936 - echo "$as_me: failed program was:" >&5
10937 -sed 's/^/| /' conftest.$ac_ext >&5
10938 +fi
10939
10940 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10941 + conftest$ac_exeext
10942 + if test "${ac_cv_search_opendir+set}" = set; then
10943 + break
10944 fi
10945 -rm -f conftest.err conftest.$ac_objext \
10946 - conftest$ac_exeext conftest.$ac_ext
10947 - done
10948 +done
10949 +if test "${ac_cv_search_opendir+set}" = set; then
10950 + :
10951 +else
10952 + ac_cv_search_opendir=no
10953 fi
10954 +rm conftest.$ac_ext
10955 LIBS=$ac_func_search_save_LIBS
10956 fi
10957 -echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
10958 -echo "${ECHO_T}$ac_cv_search_opendir" >&6
10959 -if test "$ac_cv_search_opendir" != no; then
10960 - test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
10961 +{ echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
10962 +echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
10963 +ac_res=$ac_cv_search_opendir
10964 +if test "$ac_res" != no; then
10965 + test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
10966
10967 fi
10968
10969 else
10970 - echo "$as_me:$LINENO: checking for library containing opendir" >&5
10971 -echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
10972 + { echo "$as_me:$LINENO: checking for library containing opendir" >&5
10973 +echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
10974 if test "${ac_cv_search_opendir+set}" = set; then
10975 echo $ECHO_N "(cached) $ECHO_C" >&6
10976 else
10977 ac_func_search_save_LIBS=$LIBS
10978 -ac_cv_search_opendir=no
10979 cat >conftest.$ac_ext <<_ACEOF
10980 /* confdefs.h. */
10981 _ACEOF
10982 @@ -10041,122 +10554,80 @@ cat confdefs.h >>conftest.$ac_ext
10983 cat >>conftest.$ac_ext <<_ACEOF
10984 /* end confdefs.h. */
10985
10986 -/* Override any gcc2 internal prototype to avoid an error. */
10987 +/* Override any GCC internal prototype to avoid an error.
10988 + Use char because int might match the return type of a GCC
10989 + builtin and then its argument prototype would still apply. */
10990 #ifdef __cplusplus
10991 extern "C"
10992 #endif
10993 -/* We use char because int might match the return type of a gcc2
10994 - builtin and then its argument prototype would still apply. */
10995 char opendir ();
10996 int
10997 main ()
10998 {
10999 -opendir ();
11000 +return opendir ();
11001 ;
11002 return 0;
11003 }
11004 _ACEOF
11005 -rm -f conftest.$ac_objext conftest$ac_exeext
11006 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11007 - (eval $ac_link) 2>conftest.er1
11008 +for ac_lib in '' x; do
11009 + if test -z "$ac_lib"; then
11010 + ac_res="none required"
11011 + else
11012 + ac_res=-l$ac_lib
11013 + LIBS="-l$ac_lib $ac_func_search_save_LIBS"
11014 + fi
11015 + rm -f conftest.$ac_objext conftest$ac_exeext
11016 +if { (ac_try="$ac_link"
11017 +case "(($ac_try" in
11018 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11019 + *) ac_try_echo=$ac_try;;
11020 +esac
11021 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11022 + (eval "$ac_link") 2>conftest.er1
11023 ac_status=$?
11024 grep -v '^ *+' conftest.er1 >conftest.err
11025 rm -f conftest.er1
11026 cat conftest.err >&5
11027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11028 - (exit $ac_status); } &&
11029 - { ac_try='test -z "$ac_c_werror_flag"
11030 - || test ! -s conftest.err'
11031 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11032 - (eval $ac_try) 2>&5
11033 - ac_status=$?
11034 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
11035 - (exit $ac_status); }; } &&
11036 - { ac_try='test -s conftest$ac_exeext'
11037 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11038 - (eval $ac_try) 2>&5
11039 - ac_status=$?
11040 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
11041 - (exit $ac_status); }; }; then
11042 - ac_cv_search_opendir="none required"
11043 + (exit $ac_status); } && {
11044 + test -z "$ac_c_werror_flag" ||
11045 + test ! -s conftest.err
11046 + } && test -s conftest$ac_exeext &&
11047 + $as_test_x conftest$ac_exeext; then
11048 + ac_cv_search_opendir=$ac_res
11049 else
11050 echo "$as_me: failed program was:" >&5
11051 sed 's/^/| /' conftest.$ac_ext >&5
11052
11053 -fi
11054 -rm -f conftest.err conftest.$ac_objext \
11055 - conftest$ac_exeext conftest.$ac_ext
11056 -if test "$ac_cv_search_opendir" = no; then
11057 - for ac_lib in x; do
11058 - LIBS="-l$ac_lib $ac_func_search_save_LIBS"
11059 - cat >conftest.$ac_ext <<_ACEOF
11060 -/* confdefs.h. */
11061 -_ACEOF
11062 -cat confdefs.h >>conftest.$ac_ext
11063 -cat >>conftest.$ac_ext <<_ACEOF
11064 -/* end confdefs.h. */
11065
11066 -/* Override any gcc2 internal prototype to avoid an error. */
11067 -#ifdef __cplusplus
11068 -extern "C"
11069 -#endif
11070 -/* We use char because int might match the return type of a gcc2
11071 - builtin and then its argument prototype would still apply. */
11072 -char opendir ();
11073 -int
11074 -main ()
11075 -{
11076 -opendir ();
11077 - ;
11078 - return 0;
11079 -}
11080 -_ACEOF
11081 -rm -f conftest.$ac_objext conftest$ac_exeext
11082 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11083 - (eval $ac_link) 2>conftest.er1
11084 - ac_status=$?
11085 - grep -v '^ *+' conftest.er1 >conftest.err
11086 - rm -f conftest.er1
11087 - cat conftest.err >&5
11088 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
11089 - (exit $ac_status); } &&
11090 - { ac_try='test -z "$ac_c_werror_flag"
11091 - || test ! -s conftest.err'
11092 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11093 - (eval $ac_try) 2>&5
11094 - ac_status=$?
11095 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
11096 - (exit $ac_status); }; } &&
11097 - { ac_try='test -s conftest$ac_exeext'
11098 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11099 - (eval $ac_try) 2>&5
11100 - ac_status=$?
11101 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
11102 - (exit $ac_status); }; }; then
11103 - ac_cv_search_opendir="-l$ac_lib"
11104 -break
11105 -else
11106 - echo "$as_me: failed program was:" >&5
11107 -sed 's/^/| /' conftest.$ac_ext >&5
11108 +fi
11109
11110 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11111 + conftest$ac_exeext
11112 + if test "${ac_cv_search_opendir+set}" = set; then
11113 + break
11114 fi
11115 -rm -f conftest.err conftest.$ac_objext \
11116 - conftest$ac_exeext conftest.$ac_ext
11117 - done
11118 +done
11119 +if test "${ac_cv_search_opendir+set}" = set; then
11120 + :
11121 +else
11122 + ac_cv_search_opendir=no
11123 fi
11124 +rm conftest.$ac_ext
11125 LIBS=$ac_func_search_save_LIBS
11126 fi
11127 -echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
11128 -echo "${ECHO_T}$ac_cv_search_opendir" >&6
11129 -if test "$ac_cv_search_opendir" != no; then
11130 - test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
11131 +{ echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
11132 +echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
11133 +ac_res=$ac_cv_search_opendir
11134 +if test "$ac_res" != no; then
11135 + test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
11136
11137 fi
11138
11139 fi
11140
11141 -echo "$as_me:$LINENO: checking whether string.h and strings.h may both be included" >&5
11142 -echo $ECHO_N "checking whether string.h and strings.h may both be included... $ECHO_C" >&6
11143 +{ echo "$as_me:$LINENO: checking whether string.h and strings.h may both be included" >&5
11144 +echo $ECHO_N "checking whether string.h and strings.h may both be included... $ECHO_C" >&6; }
11145 if test "${gcc_cv_header_string+set}" = set; then
11146 echo $ECHO_N "(cached) $ECHO_C" >&6
11147 else
11148 @@ -10177,38 +10648,34 @@ main ()
11149 }
11150 _ACEOF
11151 rm -f conftest.$ac_objext
11152 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11153 - (eval $ac_compile) 2>conftest.er1
11154 +if { (ac_try="$ac_compile"
11155 +case "(($ac_try" in
11156 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11157 + *) ac_try_echo=$ac_try;;
11158 +esac
11159 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11160 + (eval "$ac_compile") 2>conftest.er1
11161 ac_status=$?
11162 grep -v '^ *+' conftest.er1 >conftest.err
11163 rm -f conftest.er1
11164 cat conftest.err >&5
11165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11166 - (exit $ac_status); } &&
11167 - { ac_try='test -z "$ac_c_werror_flag"
11168 - || test ! -s conftest.err'
11169 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11170 - (eval $ac_try) 2>&5
11171 - ac_status=$?
11172 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
11173 - (exit $ac_status); }; } &&
11174 - { ac_try='test -s conftest.$ac_objext'
11175 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11176 - (eval $ac_try) 2>&5
11177 - ac_status=$?
11178 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
11179 - (exit $ac_status); }; }; then
11180 + (exit $ac_status); } && {
11181 + test -z "$ac_c_werror_flag" ||
11182 + test ! -s conftest.err
11183 + } && test -s conftest.$ac_objext; then
11184 gcc_cv_header_string=yes
11185 else
11186 echo "$as_me: failed program was:" >&5
11187 sed 's/^/| /' conftest.$ac_ext >&5
11188
11189 -gcc_cv_header_string=no
11190 + gcc_cv_header_string=no
11191 fi
11192 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11193 +
11194 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11195 fi
11196 -echo "$as_me:$LINENO: result: $gcc_cv_header_string" >&5
11197 -echo "${ECHO_T}$gcc_cv_header_string" >&6
11198 +{ echo "$as_me:$LINENO: result: $gcc_cv_header_string" >&5
11199 +echo "${ECHO_T}$gcc_cv_header_string" >&6; }
11200 if test $gcc_cv_header_string = yes; then
11201
11202 cat >>confdefs.h <<\_ACEOF
11203 @@ -10227,9 +10694,9 @@ fi
11204 for ac_func in fcntl getpagesize setitimer sysconf fdopen getuid getgid
11205 do
11206 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11207 -echo "$as_me:$LINENO: checking for $ac_func" >&5
11208 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11209 -if eval "test \"\${$as_ac_var+set}\" = set"; then
11210 +{ echo "$as_me:$LINENO: checking for $ac_func" >&5
11211 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
11212 +if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11213 echo $ECHO_N "(cached) $ECHO_C" >&6
11214 else
11215 cat >conftest.$ac_ext <<_ACEOF
11216 @@ -10255,68 +10722,60 @@ cat >>conftest.$ac_ext <<_ACEOF
11217
11218 #undef $ac_func
11219
11220 -/* Override any gcc2 internal prototype to avoid an error. */
11221 +/* Override any GCC internal prototype to avoid an error.
11222 + Use char because int might match the return type of a GCC
11223 + builtin and then its argument prototype would still apply. */
11224 #ifdef __cplusplus
11225 extern "C"
11226 -{
11227 #endif
11228 -/* We use char because int might match the return type of a gcc2
11229 - builtin and then its argument prototype would still apply. */
11230 char $ac_func ();
11231 /* The GNU C library defines this for functions which it implements
11232 to always fail with ENOSYS. Some functions are actually named
11233 something starting with __ and the normal name is an alias. */
11234 -#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11235 +#if defined __stub_$ac_func || defined __stub___$ac_func
11236 choke me
11237 -#else
11238 -char (*f) () = $ac_func;
11239 -#endif
11240 -#ifdef __cplusplus
11241 -}
11242 #endif
11243
11244 int
11245 main ()
11246 {
11247 -return f != $ac_func;
11248 +return $ac_func ();
11249 ;
11250 return 0;
11251 }
11252 _ACEOF
11253 rm -f conftest.$ac_objext conftest$ac_exeext
11254 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11255 - (eval $ac_link) 2>conftest.er1
11256 +if { (ac_try="$ac_link"
11257 +case "(($ac_try" in
11258 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11259 + *) ac_try_echo=$ac_try;;
11260 +esac
11261 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11262 + (eval "$ac_link") 2>conftest.er1
11263 ac_status=$?
11264 grep -v '^ *+' conftest.er1 >conftest.err
11265 rm -f conftest.er1
11266 cat conftest.err >&5
11267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11268 - (exit $ac_status); } &&
11269 - { ac_try='test -z "$ac_c_werror_flag"
11270 - || test ! -s conftest.err'
11271 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11272 - (eval $ac_try) 2>&5
11273 - ac_status=$?
11274 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
11275 - (exit $ac_status); }; } &&
11276 - { ac_try='test -s conftest$ac_exeext'
11277 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11278 - (eval $ac_try) 2>&5
11279 - ac_status=$?
11280 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
11281 - (exit $ac_status); }; }; then
11282 + (exit $ac_status); } && {
11283 + test -z "$ac_c_werror_flag" ||
11284 + test ! -s conftest.err
11285 + } && test -s conftest$ac_exeext &&
11286 + $as_test_x conftest$ac_exeext; then
11287 eval "$as_ac_var=yes"
11288 else
11289 echo "$as_me: failed program was:" >&5
11290 sed 's/^/| /' conftest.$ac_ext >&5
11291
11292 -eval "$as_ac_var=no"
11293 + eval "$as_ac_var=no"
11294 fi
11295 -rm -f conftest.err conftest.$ac_objext \
11296 +
11297 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11298 conftest$ac_exeext conftest.$ac_ext
11299 fi
11300 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11301 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11302 +ac_res=`eval echo '${'$as_ac_var'}'`
11303 + { echo "$as_me:$LINENO: result: $ac_res" >&5
11304 +echo "${ECHO_T}$ac_res" >&6; }
11305 if test `eval echo '${'$as_ac_var'}'` = yes; then
11306 cat >>confdefs.h <<_ACEOF
11307 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11308 @@ -10329,9 +10788,9 @@ done
11309 for ac_func in strtoull
11310 do
11311 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11312 -echo "$as_me:$LINENO: checking for $ac_func" >&5
11313 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11314 -if eval "test \"\${$as_ac_var+set}\" = set"; then
11315 +{ echo "$as_me:$LINENO: checking for $ac_func" >&5
11316 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
11317 +if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11318 echo $ECHO_N "(cached) $ECHO_C" >&6
11319 else
11320 cat >conftest.$ac_ext <<_ACEOF
11321 @@ -10357,68 +10816,60 @@ cat >>conftest.$ac_ext <<_ACEOF
11322
11323 #undef $ac_func
11324
11325 -/* Override any gcc2 internal prototype to avoid an error. */
11326 +/* Override any GCC internal prototype to avoid an error.
11327 + Use char because int might match the return type of a GCC
11328 + builtin and then its argument prototype would still apply. */
11329 #ifdef __cplusplus
11330 extern "C"
11331 -{
11332 #endif
11333 -/* We use char because int might match the return type of a gcc2
11334 - builtin and then its argument prototype would still apply. */
11335 char $ac_func ();
11336 /* The GNU C library defines this for functions which it implements
11337 to always fail with ENOSYS. Some functions are actually named
11338 something starting with __ and the normal name is an alias. */
11339 -#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11340 +#if defined __stub_$ac_func || defined __stub___$ac_func
11341 choke me
11342 -#else
11343 -char (*f) () = $ac_func;
11344 -#endif
11345 -#ifdef __cplusplus
11346 -}
11347 #endif
11348
11349 int
11350 main ()
11351 {
11352 -return f != $ac_func;
11353 +return $ac_func ();
11354 ;
11355 return 0;
11356 }
11357 _ACEOF
11358 rm -f conftest.$ac_objext conftest$ac_exeext
11359 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11360 - (eval $ac_link) 2>conftest.er1
11361 +if { (ac_try="$ac_link"
11362 +case "(($ac_try" in
11363 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11364 + *) ac_try_echo=$ac_try;;
11365 +esac
11366 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11367 + (eval "$ac_link") 2>conftest.er1
11368 ac_status=$?
11369 grep -v '^ *+' conftest.er1 >conftest.err
11370 rm -f conftest.er1
11371 cat conftest.err >&5
11372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11373 - (exit $ac_status); } &&
11374 - { ac_try='test -z "$ac_c_werror_flag"
11375 - || test ! -s conftest.err'
11376 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11377 - (eval $ac_try) 2>&5
11378 - ac_status=$?
11379 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
11380 - (exit $ac_status); }; } &&
11381 - { ac_try='test -s conftest$ac_exeext'
11382 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11383 - (eval $ac_try) 2>&5
11384 - ac_status=$?
11385 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
11386 - (exit $ac_status); }; }; then
11387 + (exit $ac_status); } && {
11388 + test -z "$ac_c_werror_flag" ||
11389 + test ! -s conftest.err
11390 + } && test -s conftest$ac_exeext &&
11391 + $as_test_x conftest$ac_exeext; then
11392 eval "$as_ac_var=yes"
11393 else
11394 echo "$as_me: failed program was:" >&5
11395 sed 's/^/| /' conftest.$ac_ext >&5
11396
11397 -eval "$as_ac_var=no"
11398 + eval "$as_ac_var=no"
11399 fi
11400 -rm -f conftest.err conftest.$ac_objext \
11401 +
11402 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11403 conftest$ac_exeext conftest.$ac_ext
11404 fi
11405 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11406 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11407 +ac_res=`eval echo '${'$as_ac_var'}'`
11408 + { echo "$as_me:$LINENO: result: $ac_res" >&5
11409 +echo "${ECHO_T}$ac_res" >&6; }
11410 if test `eval echo '${'$as_ac_var'}'` = yes; then
11411 cat >>confdefs.h <<_ACEOF
11412 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11413 @@ -10428,8 +10879,8 @@ fi
11414 done
11415
11416
11417 -echo "$as_me:$LINENO: checking whether basename is declared" >&5
11418 -echo $ECHO_N "checking whether basename is declared... $ECHO_C" >&6
11419 +{ echo "$as_me:$LINENO: checking whether basename is declared" >&5
11420 +echo $ECHO_N "checking whether basename is declared... $ECHO_C" >&6; }
11421 if test "${ac_cv_have_decl_basename+set}" = set; then
11422 echo $ECHO_N "(cached) $ECHO_C" >&6
11423 else
11424 @@ -10444,7 +10895,7 @@ int
11425 main ()
11426 {
11427 #ifndef basename
11428 - char *p = (char *) basename;
11429 + (void) basename;
11430 #endif
11431
11432 ;
11433 @@ -10452,38 +10903,34 @@ main ()
11434 }
11435 _ACEOF
11436 rm -f conftest.$ac_objext
11437 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11438 - (eval $ac_compile) 2>conftest.er1
11439 +if { (ac_try="$ac_compile"
11440 +case "(($ac_try" in
11441 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11442 + *) ac_try_echo=$ac_try;;
11443 +esac
11444 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11445 + (eval "$ac_compile") 2>conftest.er1
11446 ac_status=$?
11447 grep -v '^ *+' conftest.er1 >conftest.err
11448 rm -f conftest.er1
11449 cat conftest.err >&5
11450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11451 - (exit $ac_status); } &&
11452 - { ac_try='test -z "$ac_c_werror_flag"
11453 - || test ! -s conftest.err'
11454 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11455 - (eval $ac_try) 2>&5
11456 - ac_status=$?
11457 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
11458 - (exit $ac_status); }; } &&
11459 - { ac_try='test -s conftest.$ac_objext'
11460 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11461 - (eval $ac_try) 2>&5
11462 - ac_status=$?
11463 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
11464 - (exit $ac_status); }; }; then
11465 + (exit $ac_status); } && {
11466 + test -z "$ac_c_werror_flag" ||
11467 + test ! -s conftest.err
11468 + } && test -s conftest.$ac_objext; then
11469 ac_cv_have_decl_basename=yes
11470 else
11471 echo "$as_me: failed program was:" >&5
11472 sed 's/^/| /' conftest.$ac_ext >&5
11473
11474 -ac_cv_have_decl_basename=no
11475 + ac_cv_have_decl_basename=no
11476 fi
11477 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11478 +
11479 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11480 fi
11481 -echo "$as_me:$LINENO: result: $ac_cv_have_decl_basename" >&5
11482 -echo "${ECHO_T}$ac_cv_have_decl_basename" >&6
11483 +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_basename" >&5
11484 +echo "${ECHO_T}$ac_cv_have_decl_basename" >&6; }
11485 if test $ac_cv_have_decl_basename = yes; then
11486
11487 cat >>confdefs.h <<_ACEOF
11488 @@ -10500,8 +10947,8 @@ _ACEOF
11489 fi
11490
11491
11492 -echo "$as_me:$LINENO: checking whether ftello is declared" >&5
11493 -echo $ECHO_N "checking whether ftello is declared... $ECHO_C" >&6
11494 +{ echo "$as_me:$LINENO: checking whether ftello is declared" >&5
11495 +echo $ECHO_N "checking whether ftello is declared... $ECHO_C" >&6; }
11496 if test "${ac_cv_have_decl_ftello+set}" = set; then
11497 echo $ECHO_N "(cached) $ECHO_C" >&6
11498 else
11499 @@ -10516,7 +10963,7 @@ int
11500 main ()
11501 {
11502 #ifndef ftello
11503 - char *p = (char *) ftello;
11504 + (void) ftello;
11505 #endif
11506
11507 ;
11508 @@ -10524,38 +10971,34 @@ main ()
11509 }
11510 _ACEOF
11511 rm -f conftest.$ac_objext
11512 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11513 - (eval $ac_compile) 2>conftest.er1
11514 +if { (ac_try="$ac_compile"
11515 +case "(($ac_try" in
11516 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11517 + *) ac_try_echo=$ac_try;;
11518 +esac
11519 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11520 + (eval "$ac_compile") 2>conftest.er1
11521 ac_status=$?
11522 grep -v '^ *+' conftest.er1 >conftest.err
11523 rm -f conftest.er1
11524 cat conftest.err >&5
11525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11526 - (exit $ac_status); } &&
11527 - { ac_try='test -z "$ac_c_werror_flag"
11528 - || test ! -s conftest.err'
11529 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11530 - (eval $ac_try) 2>&5
11531 - ac_status=$?
11532 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
11533 - (exit $ac_status); }; } &&
11534 - { ac_try='test -s conftest.$ac_objext'
11535 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11536 - (eval $ac_try) 2>&5
11537 - ac_status=$?
11538 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
11539 - (exit $ac_status); }; }; then
11540 + (exit $ac_status); } && {
11541 + test -z "$ac_c_werror_flag" ||
11542 + test ! -s conftest.err
11543 + } && test -s conftest.$ac_objext; then
11544 ac_cv_have_decl_ftello=yes
11545 else
11546 echo "$as_me: failed program was:" >&5
11547 sed 's/^/| /' conftest.$ac_ext >&5
11548
11549 -ac_cv_have_decl_ftello=no
11550 + ac_cv_have_decl_ftello=no
11551 fi
11552 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11553 +
11554 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11555 fi
11556 -echo "$as_me:$LINENO: result: $ac_cv_have_decl_ftello" >&5
11557 -echo "${ECHO_T}$ac_cv_have_decl_ftello" >&6
11558 +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_ftello" >&5
11559 +echo "${ECHO_T}$ac_cv_have_decl_ftello" >&6; }
11560 if test $ac_cv_have_decl_ftello = yes; then
11561
11562 cat >>confdefs.h <<_ACEOF
11563 @@ -10572,8 +11015,8 @@ _ACEOF
11564 fi
11565
11566
11567 -echo "$as_me:$LINENO: checking whether ftello64 is declared" >&5
11568 -echo $ECHO_N "checking whether ftello64 is declared... $ECHO_C" >&6
11569 +{ echo "$as_me:$LINENO: checking whether ftello64 is declared" >&5
11570 +echo $ECHO_N "checking whether ftello64 is declared... $ECHO_C" >&6; }
11571 if test "${ac_cv_have_decl_ftello64+set}" = set; then
11572 echo $ECHO_N "(cached) $ECHO_C" >&6
11573 else
11574 @@ -10588,7 +11031,7 @@ int
11575 main ()
11576 {
11577 #ifndef ftello64
11578 - char *p = (char *) ftello64;
11579 + (void) ftello64;
11580 #endif
11581
11582 ;
11583 @@ -10596,38 +11039,34 @@ main ()
11584 }
11585 _ACEOF
11586 rm -f conftest.$ac_objext
11587 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11588 - (eval $ac_compile) 2>conftest.er1
11589 +if { (ac_try="$ac_compile"
11590 +case "(($ac_try" in
11591 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11592 + *) ac_try_echo=$ac_try;;
11593 +esac
11594 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11595 + (eval "$ac_compile") 2>conftest.er1
11596 ac_status=$?
11597 grep -v '^ *+' conftest.er1 >conftest.err
11598 rm -f conftest.er1
11599 cat conftest.err >&5
11600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11601 - (exit $ac_status); } &&
11602 - { ac_try='test -z "$ac_c_werror_flag"
11603 - || test ! -s conftest.err'
11604 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11605 - (eval $ac_try) 2>&5
11606 - ac_status=$?
11607 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
11608 - (exit $ac_status); }; } &&
11609 - { ac_try='test -s conftest.$ac_objext'
11610 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11611 - (eval $ac_try) 2>&5
11612 - ac_status=$?
11613 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
11614 - (exit $ac_status); }; }; then
11615 + (exit $ac_status); } && {
11616 + test -z "$ac_c_werror_flag" ||
11617 + test ! -s conftest.err
11618 + } && test -s conftest.$ac_objext; then
11619 ac_cv_have_decl_ftello64=yes
11620 else
11621 echo "$as_me: failed program was:" >&5
11622 sed 's/^/| /' conftest.$ac_ext >&5
11623
11624 -ac_cv_have_decl_ftello64=no
11625 + ac_cv_have_decl_ftello64=no
11626 fi
11627 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11628 +
11629 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11630 fi
11631 -echo "$as_me:$LINENO: result: $ac_cv_have_decl_ftello64" >&5
11632 -echo "${ECHO_T}$ac_cv_have_decl_ftello64" >&6
11633 +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_ftello64" >&5
11634 +echo "${ECHO_T}$ac_cv_have_decl_ftello64" >&6; }
11635 if test $ac_cv_have_decl_ftello64 = yes; then
11636
11637 cat >>confdefs.h <<_ACEOF
11638 @@ -10644,8 +11083,8 @@ _ACEOF
11639 fi
11640
11641
11642 -echo "$as_me:$LINENO: checking whether fseeko is declared" >&5
11643 -echo $ECHO_N "checking whether fseeko is declared... $ECHO_C" >&6
11644 +{ echo "$as_me:$LINENO: checking whether fseeko is declared" >&5
11645 +echo $ECHO_N "checking whether fseeko is declared... $ECHO_C" >&6; }
11646 if test "${ac_cv_have_decl_fseeko+set}" = set; then
11647 echo $ECHO_N "(cached) $ECHO_C" >&6
11648 else
11649 @@ -10660,7 +11099,7 @@ int
11650 main ()
11651 {
11652 #ifndef fseeko
11653 - char *p = (char *) fseeko;
11654 + (void) fseeko;
11655 #endif
11656
11657 ;
11658 @@ -10668,38 +11107,34 @@ main ()
11659 }
11660 _ACEOF
11661 rm -f conftest.$ac_objext
11662 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11663 - (eval $ac_compile) 2>conftest.er1
11664 +if { (ac_try="$ac_compile"
11665 +case "(($ac_try" in
11666 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11667 + *) ac_try_echo=$ac_try;;
11668 +esac
11669 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11670 + (eval "$ac_compile") 2>conftest.er1
11671 ac_status=$?
11672 grep -v '^ *+' conftest.er1 >conftest.err
11673 rm -f conftest.er1
11674 cat conftest.err >&5
11675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11676 - (exit $ac_status); } &&
11677 - { ac_try='test -z "$ac_c_werror_flag"
11678 - || test ! -s conftest.err'
11679 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11680 - (eval $ac_try) 2>&5
11681 - ac_status=$?
11682 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
11683 - (exit $ac_status); }; } &&
11684 - { ac_try='test -s conftest.$ac_objext'
11685 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11686 - (eval $ac_try) 2>&5
11687 - ac_status=$?
11688 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
11689 - (exit $ac_status); }; }; then
11690 + (exit $ac_status); } && {
11691 + test -z "$ac_c_werror_flag" ||
11692 + test ! -s conftest.err
11693 + } && test -s conftest.$ac_objext; then
11694 ac_cv_have_decl_fseeko=yes
11695 else
11696 echo "$as_me: failed program was:" >&5
11697 sed 's/^/| /' conftest.$ac_ext >&5
11698
11699 -ac_cv_have_decl_fseeko=no
11700 + ac_cv_have_decl_fseeko=no
11701 fi
11702 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11703 +
11704 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11705 fi
11706 -echo "$as_me:$LINENO: result: $ac_cv_have_decl_fseeko" >&5
11707 -echo "${ECHO_T}$ac_cv_have_decl_fseeko" >&6
11708 +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_fseeko" >&5
11709 +echo "${ECHO_T}$ac_cv_have_decl_fseeko" >&6; }
11710 if test $ac_cv_have_decl_fseeko = yes; then
11711
11712 cat >>confdefs.h <<_ACEOF
11713 @@ -10716,8 +11151,8 @@ _ACEOF
11714 fi
11715
11716
11717 -echo "$as_me:$LINENO: checking whether fseeko64 is declared" >&5
11718 -echo $ECHO_N "checking whether fseeko64 is declared... $ECHO_C" >&6
11719 +{ echo "$as_me:$LINENO: checking whether fseeko64 is declared" >&5
11720 +echo $ECHO_N "checking whether fseeko64 is declared... $ECHO_C" >&6; }
11721 if test "${ac_cv_have_decl_fseeko64+set}" = set; then
11722 echo $ECHO_N "(cached) $ECHO_C" >&6
11723 else
11724 @@ -10732,7 +11167,7 @@ int
11725 main ()
11726 {
11727 #ifndef fseeko64
11728 - char *p = (char *) fseeko64;
11729 + (void) fseeko64;
11730 #endif
11731
11732 ;
11733 @@ -10740,38 +11175,34 @@ main ()
11734 }
11735 _ACEOF
11736 rm -f conftest.$ac_objext
11737 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11738 - (eval $ac_compile) 2>conftest.er1
11739 +if { (ac_try="$ac_compile"
11740 +case "(($ac_try" in
11741 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11742 + *) ac_try_echo=$ac_try;;
11743 +esac
11744 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11745 + (eval "$ac_compile") 2>conftest.er1
11746 ac_status=$?
11747 grep -v '^ *+' conftest.er1 >conftest.err
11748 rm -f conftest.er1
11749 cat conftest.err >&5
11750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11751 - (exit $ac_status); } &&
11752 - { ac_try='test -z "$ac_c_werror_flag"
11753 - || test ! -s conftest.err'
11754 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11755 - (eval $ac_try) 2>&5
11756 - ac_status=$?
11757 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
11758 - (exit $ac_status); }; } &&
11759 - { ac_try='test -s conftest.$ac_objext'
11760 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11761 - (eval $ac_try) 2>&5
11762 - ac_status=$?
11763 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
11764 - (exit $ac_status); }; }; then
11765 + (exit $ac_status); } && {
11766 + test -z "$ac_c_werror_flag" ||
11767 + test ! -s conftest.err
11768 + } && test -s conftest.$ac_objext; then
11769 ac_cv_have_decl_fseeko64=yes
11770 else
11771 echo "$as_me: failed program was:" >&5
11772 sed 's/^/| /' conftest.$ac_ext >&5
11773
11774 -ac_cv_have_decl_fseeko64=no
11775 + ac_cv_have_decl_fseeko64=no
11776 fi
11777 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11778 +
11779 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11780 fi
11781 -echo "$as_me:$LINENO: result: $ac_cv_have_decl_fseeko64" >&5
11782 -echo "${ECHO_T}$ac_cv_have_decl_fseeko64" >&6
11783 +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_fseeko64" >&5
11784 +echo "${ECHO_T}$ac_cv_have_decl_fseeko64" >&6; }
11785 if test $ac_cv_have_decl_fseeko64 = yes; then
11786
11787 cat >>confdefs.h <<_ACEOF
11788 @@ -10799,8 +11230,8 @@ _ACEOF
11789 ;;
11790 esac
11791
11792 -echo "$as_me:$LINENO: checking whether ffs is declared" >&5
11793 -echo $ECHO_N "checking whether ffs is declared... $ECHO_C" >&6
11794 +{ echo "$as_me:$LINENO: checking whether ffs is declared" >&5
11795 +echo $ECHO_N "checking whether ffs is declared... $ECHO_C" >&6; }
11796 if test "${ac_cv_have_decl_ffs+set}" = set; then
11797 echo $ECHO_N "(cached) $ECHO_C" >&6
11798 else
11799 @@ -10815,7 +11246,7 @@ int
11800 main ()
11801 {
11802 #ifndef ffs
11803 - char *p = (char *) ffs;
11804 + (void) ffs;
11805 #endif
11806
11807 ;
11808 @@ -10823,38 +11254,34 @@ main ()
11809 }
11810 _ACEOF
11811 rm -f conftest.$ac_objext
11812 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11813 - (eval $ac_compile) 2>conftest.er1
11814 +if { (ac_try="$ac_compile"
11815 +case "(($ac_try" in
11816 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11817 + *) ac_try_echo=$ac_try;;
11818 +esac
11819 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11820 + (eval "$ac_compile") 2>conftest.er1
11821 ac_status=$?
11822 grep -v '^ *+' conftest.er1 >conftest.err
11823 rm -f conftest.er1
11824 cat conftest.err >&5
11825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11826 - (exit $ac_status); } &&
11827 - { ac_try='test -z "$ac_c_werror_flag"
11828 - || test ! -s conftest.err'
11829 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11830 - (eval $ac_try) 2>&5
11831 - ac_status=$?
11832 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
11833 - (exit $ac_status); }; } &&
11834 - { ac_try='test -s conftest.$ac_objext'
11835 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11836 - (eval $ac_try) 2>&5
11837 - ac_status=$?
11838 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
11839 - (exit $ac_status); }; }; then
11840 + (exit $ac_status); } && {
11841 + test -z "$ac_c_werror_flag" ||
11842 + test ! -s conftest.err
11843 + } && test -s conftest.$ac_objext; then
11844 ac_cv_have_decl_ffs=yes
11845 else
11846 echo "$as_me: failed program was:" >&5
11847 sed 's/^/| /' conftest.$ac_ext >&5
11848
11849 -ac_cv_have_decl_ffs=no
11850 + ac_cv_have_decl_ffs=no
11851 fi
11852 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11853 +
11854 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11855 fi
11856 -echo "$as_me:$LINENO: result: $ac_cv_have_decl_ffs" >&5
11857 -echo "${ECHO_T}$ac_cv_have_decl_ffs" >&6
11858 +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_ffs" >&5
11859 +echo "${ECHO_T}$ac_cv_have_decl_ffs" >&6; }
11860 if test $ac_cv_have_decl_ffs = yes; then
11861
11862 cat >>confdefs.h <<_ACEOF
11863 @@ -10871,8 +11298,8 @@ _ACEOF
11864 fi
11865
11866
11867 -echo "$as_me:$LINENO: checking whether free is declared" >&5
11868 -echo $ECHO_N "checking whether free is declared... $ECHO_C" >&6
11869 +{ echo "$as_me:$LINENO: checking whether free is declared" >&5
11870 +echo $ECHO_N "checking whether free is declared... $ECHO_C" >&6; }
11871 if test "${ac_cv_have_decl_free+set}" = set; then
11872 echo $ECHO_N "(cached) $ECHO_C" >&6
11873 else
11874 @@ -10887,7 +11314,7 @@ int
11875 main ()
11876 {
11877 #ifndef free
11878 - char *p = (char *) free;
11879 + (void) free;
11880 #endif
11881
11882 ;
11883 @@ -10895,38 +11322,34 @@ main ()
11884 }
11885 _ACEOF
11886 rm -f conftest.$ac_objext
11887 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11888 - (eval $ac_compile) 2>conftest.er1
11889 +if { (ac_try="$ac_compile"
11890 +case "(($ac_try" in
11891 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11892 + *) ac_try_echo=$ac_try;;
11893 +esac
11894 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11895 + (eval "$ac_compile") 2>conftest.er1
11896 ac_status=$?
11897 grep -v '^ *+' conftest.er1 >conftest.err
11898 rm -f conftest.er1
11899 cat conftest.err >&5
11900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11901 - (exit $ac_status); } &&
11902 - { ac_try='test -z "$ac_c_werror_flag"
11903 - || test ! -s conftest.err'
11904 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11905 - (eval $ac_try) 2>&5
11906 - ac_status=$?
11907 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
11908 - (exit $ac_status); }; } &&
11909 - { ac_try='test -s conftest.$ac_objext'
11910 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11911 - (eval $ac_try) 2>&5
11912 - ac_status=$?
11913 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
11914 - (exit $ac_status); }; }; then
11915 + (exit $ac_status); } && {
11916 + test -z "$ac_c_werror_flag" ||
11917 + test ! -s conftest.err
11918 + } && test -s conftest.$ac_objext; then
11919 ac_cv_have_decl_free=yes
11920 else
11921 echo "$as_me: failed program was:" >&5
11922 sed 's/^/| /' conftest.$ac_ext >&5
11923
11924 -ac_cv_have_decl_free=no
11925 + ac_cv_have_decl_free=no
11926 fi
11927 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11928 +
11929 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11930 fi
11931 -echo "$as_me:$LINENO: result: $ac_cv_have_decl_free" >&5
11932 -echo "${ECHO_T}$ac_cv_have_decl_free" >&6
11933 +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_free" >&5
11934 +echo "${ECHO_T}$ac_cv_have_decl_free" >&6; }
11935 if test $ac_cv_have_decl_free = yes; then
11936
11937 cat >>confdefs.h <<_ACEOF
11938 @@ -10943,8 +11366,8 @@ _ACEOF
11939 fi
11940
11941
11942 -echo "$as_me:$LINENO: checking whether getenv is declared" >&5
11943 -echo $ECHO_N "checking whether getenv is declared... $ECHO_C" >&6
11944 +{ echo "$as_me:$LINENO: checking whether getenv is declared" >&5
11945 +echo $ECHO_N "checking whether getenv is declared... $ECHO_C" >&6; }
11946 if test "${ac_cv_have_decl_getenv+set}" = set; then
11947 echo $ECHO_N "(cached) $ECHO_C" >&6
11948 else
11949 @@ -10959,7 +11382,7 @@ int
11950 main ()
11951 {
11952 #ifndef getenv
11953 - char *p = (char *) getenv;
11954 + (void) getenv;
11955 #endif
11956
11957 ;
11958 @@ -10967,38 +11390,34 @@ main ()
11959 }
11960 _ACEOF
11961 rm -f conftest.$ac_objext
11962 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11963 - (eval $ac_compile) 2>conftest.er1
11964 +if { (ac_try="$ac_compile"
11965 +case "(($ac_try" in
11966 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11967 + *) ac_try_echo=$ac_try;;
11968 +esac
11969 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11970 + (eval "$ac_compile") 2>conftest.er1
11971 ac_status=$?
11972 grep -v '^ *+' conftest.er1 >conftest.err
11973 rm -f conftest.er1
11974 cat conftest.err >&5
11975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11976 - (exit $ac_status); } &&
11977 - { ac_try='test -z "$ac_c_werror_flag"
11978 - || test ! -s conftest.err'
11979 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11980 - (eval $ac_try) 2>&5
11981 - ac_status=$?
11982 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
11983 - (exit $ac_status); }; } &&
11984 - { ac_try='test -s conftest.$ac_objext'
11985 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11986 - (eval $ac_try) 2>&5
11987 - ac_status=$?
11988 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
11989 - (exit $ac_status); }; }; then
11990 + (exit $ac_status); } && {
11991 + test -z "$ac_c_werror_flag" ||
11992 + test ! -s conftest.err
11993 + } && test -s conftest.$ac_objext; then
11994 ac_cv_have_decl_getenv=yes
11995 else
11996 echo "$as_me: failed program was:" >&5
11997 sed 's/^/| /' conftest.$ac_ext >&5
11998
11999 -ac_cv_have_decl_getenv=no
12000 + ac_cv_have_decl_getenv=no
12001 fi
12002 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12003 +
12004 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12005 fi
12006 -echo "$as_me:$LINENO: result: $ac_cv_have_decl_getenv" >&5
12007 -echo "${ECHO_T}$ac_cv_have_decl_getenv" >&6
12008 +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_getenv" >&5
12009 +echo "${ECHO_T}$ac_cv_have_decl_getenv" >&6; }
12010 if test $ac_cv_have_decl_getenv = yes; then
12011
12012 cat >>confdefs.h <<_ACEOF
12013 @@ -11015,8 +11434,8 @@ _ACEOF
12014 fi
12015
12016
12017 -echo "$as_me:$LINENO: checking whether malloc is declared" >&5
12018 -echo $ECHO_N "checking whether malloc is declared... $ECHO_C" >&6
12019 +{ echo "$as_me:$LINENO: checking whether malloc is declared" >&5
12020 +echo $ECHO_N "checking whether malloc is declared... $ECHO_C" >&6; }
12021 if test "${ac_cv_have_decl_malloc+set}" = set; then
12022 echo $ECHO_N "(cached) $ECHO_C" >&6
12023 else
12024 @@ -11031,7 +11450,7 @@ int
12025 main ()
12026 {
12027 #ifndef malloc
12028 - char *p = (char *) malloc;
12029 + (void) malloc;
12030 #endif
12031
12032 ;
12033 @@ -11039,38 +11458,34 @@ main ()
12034 }
12035 _ACEOF
12036 rm -f conftest.$ac_objext
12037 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12038 - (eval $ac_compile) 2>conftest.er1
12039 +if { (ac_try="$ac_compile"
12040 +case "(($ac_try" in
12041 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12042 + *) ac_try_echo=$ac_try;;
12043 +esac
12044 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12045 + (eval "$ac_compile") 2>conftest.er1
12046 ac_status=$?
12047 grep -v '^ *+' conftest.er1 >conftest.err
12048 rm -f conftest.er1
12049 cat conftest.err >&5
12050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12051 - (exit $ac_status); } &&
12052 - { ac_try='test -z "$ac_c_werror_flag"
12053 - || test ! -s conftest.err'
12054 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12055 - (eval $ac_try) 2>&5
12056 - ac_status=$?
12057 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12058 - (exit $ac_status); }; } &&
12059 - { ac_try='test -s conftest.$ac_objext'
12060 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12061 - (eval $ac_try) 2>&5
12062 - ac_status=$?
12063 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12064 - (exit $ac_status); }; }; then
12065 + (exit $ac_status); } && {
12066 + test -z "$ac_c_werror_flag" ||
12067 + test ! -s conftest.err
12068 + } && test -s conftest.$ac_objext; then
12069 ac_cv_have_decl_malloc=yes
12070 else
12071 echo "$as_me: failed program was:" >&5
12072 sed 's/^/| /' conftest.$ac_ext >&5
12073
12074 -ac_cv_have_decl_malloc=no
12075 + ac_cv_have_decl_malloc=no
12076 fi
12077 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12078 +
12079 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12080 fi
12081 -echo "$as_me:$LINENO: result: $ac_cv_have_decl_malloc" >&5
12082 -echo "${ECHO_T}$ac_cv_have_decl_malloc" >&6
12083 +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_malloc" >&5
12084 +echo "${ECHO_T}$ac_cv_have_decl_malloc" >&6; }
12085 if test $ac_cv_have_decl_malloc = yes; then
12086
12087 cat >>confdefs.h <<_ACEOF
12088 @@ -11087,8 +11502,8 @@ _ACEOF
12089 fi
12090
12091
12092 -echo "$as_me:$LINENO: checking whether realloc is declared" >&5
12093 -echo $ECHO_N "checking whether realloc is declared... $ECHO_C" >&6
12094 +{ echo "$as_me:$LINENO: checking whether realloc is declared" >&5
12095 +echo $ECHO_N "checking whether realloc is declared... $ECHO_C" >&6; }
12096 if test "${ac_cv_have_decl_realloc+set}" = set; then
12097 echo $ECHO_N "(cached) $ECHO_C" >&6
12098 else
12099 @@ -11103,7 +11518,7 @@ int
12100 main ()
12101 {
12102 #ifndef realloc
12103 - char *p = (char *) realloc;
12104 + (void) realloc;
12105 #endif
12106
12107 ;
12108 @@ -11111,38 +11526,34 @@ main ()
12109 }
12110 _ACEOF
12111 rm -f conftest.$ac_objext
12112 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12113 - (eval $ac_compile) 2>conftest.er1
12114 +if { (ac_try="$ac_compile"
12115 +case "(($ac_try" in
12116 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12117 + *) ac_try_echo=$ac_try;;
12118 +esac
12119 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12120 + (eval "$ac_compile") 2>conftest.er1
12121 ac_status=$?
12122 grep -v '^ *+' conftest.er1 >conftest.err
12123 rm -f conftest.er1
12124 cat conftest.err >&5
12125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12126 - (exit $ac_status); } &&
12127 - { ac_try='test -z "$ac_c_werror_flag"
12128 - || test ! -s conftest.err'
12129 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12130 - (eval $ac_try) 2>&5
12131 - ac_status=$?
12132 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12133 - (exit $ac_status); }; } &&
12134 - { ac_try='test -s conftest.$ac_objext'
12135 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12136 - (eval $ac_try) 2>&5
12137 - ac_status=$?
12138 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12139 - (exit $ac_status); }; }; then
12140 + (exit $ac_status); } && {
12141 + test -z "$ac_c_werror_flag" ||
12142 + test ! -s conftest.err
12143 + } && test -s conftest.$ac_objext; then
12144 ac_cv_have_decl_realloc=yes
12145 else
12146 echo "$as_me: failed program was:" >&5
12147 sed 's/^/| /' conftest.$ac_ext >&5
12148
12149 -ac_cv_have_decl_realloc=no
12150 + ac_cv_have_decl_realloc=no
12151 fi
12152 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12153 +
12154 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12155 fi
12156 -echo "$as_me:$LINENO: result: $ac_cv_have_decl_realloc" >&5
12157 -echo "${ECHO_T}$ac_cv_have_decl_realloc" >&6
12158 +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_realloc" >&5
12159 +echo "${ECHO_T}$ac_cv_have_decl_realloc" >&6; }
12160 if test $ac_cv_have_decl_realloc = yes; then
12161
12162 cat >>confdefs.h <<_ACEOF
12163 @@ -11159,8 +11570,8 @@ _ACEOF
12164 fi
12165
12166
12167 -echo "$as_me:$LINENO: checking whether stpcpy is declared" >&5
12168 -echo $ECHO_N "checking whether stpcpy is declared... $ECHO_C" >&6
12169 +{ echo "$as_me:$LINENO: checking whether stpcpy is declared" >&5
12170 +echo $ECHO_N "checking whether stpcpy is declared... $ECHO_C" >&6; }
12171 if test "${ac_cv_have_decl_stpcpy+set}" = set; then
12172 echo $ECHO_N "(cached) $ECHO_C" >&6
12173 else
12174 @@ -11175,7 +11586,7 @@ int
12175 main ()
12176 {
12177 #ifndef stpcpy
12178 - char *p = (char *) stpcpy;
12179 + (void) stpcpy;
12180 #endif
12181
12182 ;
12183 @@ -11183,38 +11594,34 @@ main ()
12184 }
12185 _ACEOF
12186 rm -f conftest.$ac_objext
12187 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12188 - (eval $ac_compile) 2>conftest.er1
12189 +if { (ac_try="$ac_compile"
12190 +case "(($ac_try" in
12191 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12192 + *) ac_try_echo=$ac_try;;
12193 +esac
12194 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12195 + (eval "$ac_compile") 2>conftest.er1
12196 ac_status=$?
12197 grep -v '^ *+' conftest.er1 >conftest.err
12198 rm -f conftest.er1
12199 cat conftest.err >&5
12200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12201 - (exit $ac_status); } &&
12202 - { ac_try='test -z "$ac_c_werror_flag"
12203 - || test ! -s conftest.err'
12204 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12205 - (eval $ac_try) 2>&5
12206 - ac_status=$?
12207 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12208 - (exit $ac_status); }; } &&
12209 - { ac_try='test -s conftest.$ac_objext'
12210 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12211 - (eval $ac_try) 2>&5
12212 - ac_status=$?
12213 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12214 - (exit $ac_status); }; }; then
12215 + (exit $ac_status); } && {
12216 + test -z "$ac_c_werror_flag" ||
12217 + test ! -s conftest.err
12218 + } && test -s conftest.$ac_objext; then
12219 ac_cv_have_decl_stpcpy=yes
12220 else
12221 echo "$as_me: failed program was:" >&5
12222 sed 's/^/| /' conftest.$ac_ext >&5
12223
12224 -ac_cv_have_decl_stpcpy=no
12225 + ac_cv_have_decl_stpcpy=no
12226 fi
12227 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12228 +
12229 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12230 fi
12231 -echo "$as_me:$LINENO: result: $ac_cv_have_decl_stpcpy" >&5
12232 -echo "${ECHO_T}$ac_cv_have_decl_stpcpy" >&6
12233 +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_stpcpy" >&5
12234 +echo "${ECHO_T}$ac_cv_have_decl_stpcpy" >&6; }
12235 if test $ac_cv_have_decl_stpcpy = yes; then
12236
12237 cat >>confdefs.h <<_ACEOF
12238 @@ -11231,8 +11638,8 @@ _ACEOF
12239 fi
12240
12241
12242 -echo "$as_me:$LINENO: checking whether strstr is declared" >&5
12243 -echo $ECHO_N "checking whether strstr is declared... $ECHO_C" >&6
12244 +{ echo "$as_me:$LINENO: checking whether strstr is declared" >&5
12245 +echo $ECHO_N "checking whether strstr is declared... $ECHO_C" >&6; }
12246 if test "${ac_cv_have_decl_strstr+set}" = set; then
12247 echo $ECHO_N "(cached) $ECHO_C" >&6
12248 else
12249 @@ -11247,7 +11654,7 @@ int
12250 main ()
12251 {
12252 #ifndef strstr
12253 - char *p = (char *) strstr;
12254 + (void) strstr;
12255 #endif
12256
12257 ;
12258 @@ -11255,38 +11662,34 @@ main ()
12259 }
12260 _ACEOF
12261 rm -f conftest.$ac_objext
12262 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12263 - (eval $ac_compile) 2>conftest.er1
12264 +if { (ac_try="$ac_compile"
12265 +case "(($ac_try" in
12266 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12267 + *) ac_try_echo=$ac_try;;
12268 +esac
12269 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12270 + (eval "$ac_compile") 2>conftest.er1
12271 ac_status=$?
12272 grep -v '^ *+' conftest.er1 >conftest.err
12273 rm -f conftest.er1
12274 cat conftest.err >&5
12275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12276 - (exit $ac_status); } &&
12277 - { ac_try='test -z "$ac_c_werror_flag"
12278 - || test ! -s conftest.err'
12279 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12280 - (eval $ac_try) 2>&5
12281 - ac_status=$?
12282 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12283 - (exit $ac_status); }; } &&
12284 - { ac_try='test -s conftest.$ac_objext'
12285 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12286 - (eval $ac_try) 2>&5
12287 - ac_status=$?
12288 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12289 - (exit $ac_status); }; }; then
12290 + (exit $ac_status); } && {
12291 + test -z "$ac_c_werror_flag" ||
12292 + test ! -s conftest.err
12293 + } && test -s conftest.$ac_objext; then
12294 ac_cv_have_decl_strstr=yes
12295 else
12296 echo "$as_me: failed program was:" >&5
12297 sed 's/^/| /' conftest.$ac_ext >&5
12298
12299 -ac_cv_have_decl_strstr=no
12300 + ac_cv_have_decl_strstr=no
12301 fi
12302 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12303 +
12304 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12305 fi
12306 -echo "$as_me:$LINENO: result: $ac_cv_have_decl_strstr" >&5
12307 -echo "${ECHO_T}$ac_cv_have_decl_strstr" >&6
12308 +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_strstr" >&5
12309 +echo "${ECHO_T}$ac_cv_have_decl_strstr" >&6; }
12310 if test $ac_cv_have_decl_strstr = yes; then
12311
12312 cat >>confdefs.h <<_ACEOF
12313 @@ -11303,8 +11706,8 @@ _ACEOF
12314 fi
12315
12316
12317 -echo "$as_me:$LINENO: checking whether snprintf is declared" >&5
12318 -echo $ECHO_N "checking whether snprintf is declared... $ECHO_C" >&6
12319 +{ echo "$as_me:$LINENO: checking whether snprintf is declared" >&5
12320 +echo $ECHO_N "checking whether snprintf is declared... $ECHO_C" >&6; }
12321 if test "${ac_cv_have_decl_snprintf+set}" = set; then
12322 echo $ECHO_N "(cached) $ECHO_C" >&6
12323 else
12324 @@ -11319,7 +11722,7 @@ int
12325 main ()
12326 {
12327 #ifndef snprintf
12328 - char *p = (char *) snprintf;
12329 + (void) snprintf;
12330 #endif
12331
12332 ;
12333 @@ -11327,38 +11730,34 @@ main ()
12334 }
12335 _ACEOF
12336 rm -f conftest.$ac_objext
12337 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12338 - (eval $ac_compile) 2>conftest.er1
12339 +if { (ac_try="$ac_compile"
12340 +case "(($ac_try" in
12341 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12342 + *) ac_try_echo=$ac_try;;
12343 +esac
12344 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12345 + (eval "$ac_compile") 2>conftest.er1
12346 ac_status=$?
12347 grep -v '^ *+' conftest.er1 >conftest.err
12348 rm -f conftest.er1
12349 cat conftest.err >&5
12350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12351 - (exit $ac_status); } &&
12352 - { ac_try='test -z "$ac_c_werror_flag"
12353 - || test ! -s conftest.err'
12354 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12355 - (eval $ac_try) 2>&5
12356 - ac_status=$?
12357 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12358 - (exit $ac_status); }; } &&
12359 - { ac_try='test -s conftest.$ac_objext'
12360 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12361 - (eval $ac_try) 2>&5
12362 - ac_status=$?
12363 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12364 - (exit $ac_status); }; }; then
12365 + (exit $ac_status); } && {
12366 + test -z "$ac_c_werror_flag" ||
12367 + test ! -s conftest.err
12368 + } && test -s conftest.$ac_objext; then
12369 ac_cv_have_decl_snprintf=yes
12370 else
12371 echo "$as_me: failed program was:" >&5
12372 sed 's/^/| /' conftest.$ac_ext >&5
12373
12374 -ac_cv_have_decl_snprintf=no
12375 + ac_cv_have_decl_snprintf=no
12376 fi
12377 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12378 +
12379 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12380 fi
12381 -echo "$as_me:$LINENO: result: $ac_cv_have_decl_snprintf" >&5
12382 -echo "${ECHO_T}$ac_cv_have_decl_snprintf" >&6
12383 +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_snprintf" >&5
12384 +echo "${ECHO_T}$ac_cv_have_decl_snprintf" >&6; }
12385 if test $ac_cv_have_decl_snprintf = yes; then
12386
12387 cat >>confdefs.h <<_ACEOF
12388 @@ -11375,8 +11774,8 @@ _ACEOF
12389 fi
12390
12391
12392 -echo "$as_me:$LINENO: checking whether vsnprintf is declared" >&5
12393 -echo $ECHO_N "checking whether vsnprintf is declared... $ECHO_C" >&6
12394 +{ echo "$as_me:$LINENO: checking whether vsnprintf is declared" >&5
12395 +echo $ECHO_N "checking whether vsnprintf is declared... $ECHO_C" >&6; }
12396 if test "${ac_cv_have_decl_vsnprintf+set}" = set; then
12397 echo $ECHO_N "(cached) $ECHO_C" >&6
12398 else
12399 @@ -11391,7 +11790,7 @@ int
12400 main ()
12401 {
12402 #ifndef vsnprintf
12403 - char *p = (char *) vsnprintf;
12404 + (void) vsnprintf;
12405 #endif
12406
12407 ;
12408 @@ -11399,38 +11798,34 @@ main ()
12409 }
12410 _ACEOF
12411 rm -f conftest.$ac_objext
12412 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12413 - (eval $ac_compile) 2>conftest.er1
12414 +if { (ac_try="$ac_compile"
12415 +case "(($ac_try" in
12416 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12417 + *) ac_try_echo=$ac_try;;
12418 +esac
12419 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12420 + (eval "$ac_compile") 2>conftest.er1
12421 ac_status=$?
12422 grep -v '^ *+' conftest.er1 >conftest.err
12423 rm -f conftest.er1
12424 cat conftest.err >&5
12425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12426 - (exit $ac_status); } &&
12427 - { ac_try='test -z "$ac_c_werror_flag"
12428 - || test ! -s conftest.err'
12429 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12430 - (eval $ac_try) 2>&5
12431 - ac_status=$?
12432 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12433 - (exit $ac_status); }; } &&
12434 - { ac_try='test -s conftest.$ac_objext'
12435 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12436 - (eval $ac_try) 2>&5
12437 - ac_status=$?
12438 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12439 - (exit $ac_status); }; }; then
12440 + (exit $ac_status); } && {
12441 + test -z "$ac_c_werror_flag" ||
12442 + test ! -s conftest.err
12443 + } && test -s conftest.$ac_objext; then
12444 ac_cv_have_decl_vsnprintf=yes
12445 else
12446 echo "$as_me: failed program was:" >&5
12447 sed 's/^/| /' conftest.$ac_ext >&5
12448
12449 -ac_cv_have_decl_vsnprintf=no
12450 + ac_cv_have_decl_vsnprintf=no
12451 fi
12452 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12453 +
12454 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12455 fi
12456 -echo "$as_me:$LINENO: result: $ac_cv_have_decl_vsnprintf" >&5
12457 -echo "${ECHO_T}$ac_cv_have_decl_vsnprintf" >&6
12458 +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_vsnprintf" >&5
12459 +echo "${ECHO_T}$ac_cv_have_decl_vsnprintf" >&6; }
12460 if test $ac_cv_have_decl_vsnprintf = yes; then
12461
12462 cat >>confdefs.h <<_ACEOF
12463 @@ -11609,8 +12004,8 @@ if test "${target}" = "${host}"; then
12464 COREFLAG="$COREFLAG -DAIX_CORE_DUMPX_CORE"
12465 # Not all versions of AIX with -DAIX_CORE_DUMPX_CORE
12466 # have c_impl as a member of struct core_dumpx
12467 - echo "$as_me:$LINENO: checking for c_impl in struct core_dumpx" >&5
12468 -echo $ECHO_N "checking for c_impl in struct core_dumpx... $ECHO_C" >&6
12469 + { echo "$as_me:$LINENO: checking for c_impl in struct core_dumpx" >&5
12470 +echo $ECHO_N "checking for c_impl in struct core_dumpx... $ECHO_C" >&6; }
12471 cat >conftest.$ac_ext <<_ACEOF
12472 /* confdefs.h. */
12473 _ACEOF
12474 @@ -11627,42 +12022,38 @@ struct core_dumpx c; c.c_impl = 0;
12475 }
12476 _ACEOF
12477 rm -f conftest.$ac_objext
12478 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12479 - (eval $ac_compile) 2>conftest.er1
12480 +if { (ac_try="$ac_compile"
12481 +case "(($ac_try" in
12482 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12483 + *) ac_try_echo=$ac_try;;
12484 +esac
12485 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12486 + (eval "$ac_compile") 2>conftest.er1
12487 ac_status=$?
12488 grep -v '^ *+' conftest.er1 >conftest.err
12489 rm -f conftest.er1
12490 cat conftest.err >&5
12491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12492 - (exit $ac_status); } &&
12493 - { ac_try='test -z "$ac_c_werror_flag"
12494 - || test ! -s conftest.err'
12495 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12496 - (eval $ac_try) 2>&5
12497 - ac_status=$?
12498 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12499 - (exit $ac_status); }; } &&
12500 - { ac_try='test -s conftest.$ac_objext'
12501 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12502 - (eval $ac_try) 2>&5
12503 - ac_status=$?
12504 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12505 - (exit $ac_status); }; }; then
12506 + (exit $ac_status); } && {
12507 + test -z "$ac_c_werror_flag" ||
12508 + test ! -s conftest.err
12509 + } && test -s conftest.$ac_objext; then
12510
12511 cat >>confdefs.h <<\_ACEOF
12512 #define HAVE_ST_C_IMPL 1
12513 _ACEOF
12514
12515 - echo "$as_me:$LINENO: result: yes" >&5
12516 -echo "${ECHO_T}yes" >&6
12517 + { echo "$as_me:$LINENO: result: yes" >&5
12518 +echo "${ECHO_T}yes" >&6; }
12519 else
12520 echo "$as_me: failed program was:" >&5
12521 sed 's/^/| /' conftest.$ac_ext >&5
12522
12523 -echo "$as_me:$LINENO: result: no" >&5
12524 -echo "${ECHO_T}no" >&6
12525 + { echo "$as_me:$LINENO: result: no" >&5
12526 +echo "${ECHO_T}no" >&6; }
12527 fi
12528 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12529 +
12530 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12531 ;;
12532 rs6000-*-aix4*) COREFILE=rs6000-core.lo ;;
12533 rs6000-*-*) COREFILE=rs6000-core.lo ;;
12534 @@ -11726,18 +12117,19 @@ rm -f conftest.err conftest.$ac_objext c
12535 for ac_header in sys/procfs.h
12536 do
12537 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12538 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
12539 - echo "$as_me:$LINENO: checking for $ac_header" >&5
12540 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12541 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
12542 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12543 + { echo "$as_me:$LINENO: checking for $ac_header" >&5
12544 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12545 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12546 echo $ECHO_N "(cached) $ECHO_C" >&6
12547 fi
12548 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12549 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12550 +ac_res=`eval echo '${'$as_ac_Header'}'`
12551 + { echo "$as_me:$LINENO: result: $ac_res" >&5
12552 +echo "${ECHO_T}$ac_res" >&6; }
12553 else
12554 # Is the header compilable?
12555 -echo "$as_me:$LINENO: checking $ac_header usability" >&5
12556 -echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12557 +{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
12558 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
12559 cat >conftest.$ac_ext <<_ACEOF
12560 /* confdefs.h. */
12561 _ACEOF
12562 @@ -11748,41 +12140,37 @@ $ac_includes_default
12563 #include <$ac_header>
12564 _ACEOF
12565 rm -f conftest.$ac_objext
12566 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12567 - (eval $ac_compile) 2>conftest.er1
12568 +if { (ac_try="$ac_compile"
12569 +case "(($ac_try" in
12570 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12571 + *) ac_try_echo=$ac_try;;
12572 +esac
12573 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12574 + (eval "$ac_compile") 2>conftest.er1
12575 ac_status=$?
12576 grep -v '^ *+' conftest.er1 >conftest.err
12577 rm -f conftest.er1
12578 cat conftest.err >&5
12579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12580 - (exit $ac_status); } &&
12581 - { ac_try='test -z "$ac_c_werror_flag"
12582 - || test ! -s conftest.err'
12583 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12584 - (eval $ac_try) 2>&5
12585 - ac_status=$?
12586 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12587 - (exit $ac_status); }; } &&
12588 - { ac_try='test -s conftest.$ac_objext'
12589 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12590 - (eval $ac_try) 2>&5
12591 - ac_status=$?
12592 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12593 - (exit $ac_status); }; }; then
12594 + (exit $ac_status); } && {
12595 + test -z "$ac_c_werror_flag" ||
12596 + test ! -s conftest.err
12597 + } && test -s conftest.$ac_objext; then
12598 ac_header_compiler=yes
12599 else
12600 echo "$as_me: failed program was:" >&5
12601 sed 's/^/| /' conftest.$ac_ext >&5
12602
12603 -ac_header_compiler=no
12604 + ac_header_compiler=no
12605 fi
12606 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12607 -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12608 -echo "${ECHO_T}$ac_header_compiler" >&6
12609 +
12610 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12611 +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12612 +echo "${ECHO_T}$ac_header_compiler" >&6; }
12613
12614 # Is the header present?
12615 -echo "$as_me:$LINENO: checking $ac_header presence" >&5
12616 -echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12617 +{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
12618 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
12619 cat >conftest.$ac_ext <<_ACEOF
12620 /* confdefs.h. */
12621 _ACEOF
12622 @@ -11791,24 +12179,22 @@ cat >>conftest.$ac_ext <<_ACEOF
12623 /* end confdefs.h. */
12624 #include <$ac_header>
12625 _ACEOF
12626 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12627 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12628 +if { (ac_try="$ac_cpp conftest.$ac_ext"
12629 +case "(($ac_try" in
12630 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12631 + *) ac_try_echo=$ac_try;;
12632 +esac
12633 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12634 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12635 ac_status=$?
12636 grep -v '^ *+' conftest.er1 >conftest.err
12637 rm -f conftest.er1
12638 cat conftest.err >&5
12639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12640 - (exit $ac_status); } >/dev/null; then
12641 - if test -s conftest.err; then
12642 - ac_cpp_err=$ac_c_preproc_warn_flag
12643 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
12644 - else
12645 - ac_cpp_err=
12646 - fi
12647 -else
12648 - ac_cpp_err=yes
12649 -fi
12650 -if test -z "$ac_cpp_err"; then
12651 + (exit $ac_status); } >/dev/null && {
12652 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12653 + test ! -s conftest.err
12654 + }; then
12655 ac_header_preproc=yes
12656 else
12657 echo "$as_me: failed program was:" >&5
12658 @@ -11816,9 +12202,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
12659
12660 ac_header_preproc=no
12661 fi
12662 +
12663 rm -f conftest.err conftest.$ac_ext
12664 -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12665 -echo "${ECHO_T}$ac_header_preproc" >&6
12666 +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12667 +echo "${ECHO_T}$ac_header_preproc" >&6; }
12668
12669 # So? What about this header?
12670 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12671 @@ -11842,25 +12229,19 @@ echo "$as_me: WARNING: $ac_header: s
12672 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12673 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12674 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12675 - (
12676 - cat <<\_ASBOX
12677 -## ------------------------------------------ ##
12678 -## Report this to the AC_PACKAGE_NAME lists. ##
12679 -## ------------------------------------------ ##
12680 -_ASBOX
12681 - ) |
12682 - sed "s/^/$as_me: WARNING: /" >&2
12683 +
12684 ;;
12685 esac
12686 -echo "$as_me:$LINENO: checking for $ac_header" >&5
12687 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12688 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
12689 +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
12690 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12691 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12692 echo $ECHO_N "(cached) $ECHO_C" >&6
12693 else
12694 eval "$as_ac_Header=\$ac_header_preproc"
12695 fi
12696 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12697 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12698 +ac_res=`eval echo '${'$as_ac_Header'}'`
12699 + { echo "$as_me:$LINENO: result: $ac_res" >&5
12700 +echo "${ECHO_T}$ac_res" >&6; }
12701
12702 fi
12703 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12704 @@ -11873,8 +12254,8 @@ fi
12705 done
12706
12707 if test "$ac_cv_header_sys_procfs_h" = yes; then
12708 - echo "$as_me:$LINENO: checking for prstatus_t in sys/procfs.h" >&5
12709 -echo $ECHO_N "checking for prstatus_t in sys/procfs.h... $ECHO_C" >&6
12710 + { echo "$as_me:$LINENO: checking for prstatus_t in sys/procfs.h" >&5
12711 +echo $ECHO_N "checking for prstatus_t in sys/procfs.h... $ECHO_C" >&6; }
12712 if test "${bfd_cv_have_sys_procfs_type_prstatus_t+set}" = set; then
12713 echo $ECHO_N "(cached) $ECHO_C" >&6
12714 else
12715 @@ -11896,36 +12277,32 @@ prstatus_t avar
12716 }
12717 _ACEOF
12718 rm -f conftest.$ac_objext
12719 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12720 - (eval $ac_compile) 2>conftest.er1
12721 +if { (ac_try="$ac_compile"
12722 +case "(($ac_try" in
12723 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12724 + *) ac_try_echo=$ac_try;;
12725 +esac
12726 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12727 + (eval "$ac_compile") 2>conftest.er1
12728 ac_status=$?
12729 grep -v '^ *+' conftest.er1 >conftest.err
12730 rm -f conftest.er1
12731 cat conftest.err >&5
12732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12733 - (exit $ac_status); } &&
12734 - { ac_try='test -z "$ac_c_werror_flag"
12735 - || test ! -s conftest.err'
12736 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12737 - (eval $ac_try) 2>&5
12738 - ac_status=$?
12739 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12740 - (exit $ac_status); }; } &&
12741 - { ac_try='test -s conftest.$ac_objext'
12742 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12743 - (eval $ac_try) 2>&5
12744 - ac_status=$?
12745 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12746 - (exit $ac_status); }; }; then
12747 + (exit $ac_status); } && {
12748 + test -z "$ac_c_werror_flag" ||
12749 + test ! -s conftest.err
12750 + } && test -s conftest.$ac_objext; then
12751 bfd_cv_have_sys_procfs_type_prstatus_t=yes
12752 else
12753 echo "$as_me: failed program was:" >&5
12754 sed 's/^/| /' conftest.$ac_ext >&5
12755
12756 -bfd_cv_have_sys_procfs_type_prstatus_t=no
12757 + bfd_cv_have_sys_procfs_type_prstatus_t=no
12758
12759 fi
12760 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12761 +
12762 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12763 fi
12764
12765 if test $bfd_cv_have_sys_procfs_type_prstatus_t = yes; then
12766 @@ -11935,11 +12312,11 @@ cat >>confdefs.h <<\_ACEOF
12767 _ACEOF
12768
12769 fi
12770 - echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prstatus_t" >&5
12771 -echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prstatus_t" >&6
12772 + { echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prstatus_t" >&5
12773 +echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prstatus_t" >&6; }
12774
12775 - echo "$as_me:$LINENO: checking for prstatus32_t in sys/procfs.h" >&5
12776 -echo $ECHO_N "checking for prstatus32_t in sys/procfs.h... $ECHO_C" >&6
12777 + { echo "$as_me:$LINENO: checking for prstatus32_t in sys/procfs.h" >&5
12778 +echo $ECHO_N "checking for prstatus32_t in sys/procfs.h... $ECHO_C" >&6; }
12779 if test "${bfd_cv_have_sys_procfs_type_prstatus32_t+set}" = set; then
12780 echo $ECHO_N "(cached) $ECHO_C" >&6
12781 else
12782 @@ -11961,36 +12338,32 @@ prstatus32_t avar
12783 }
12784 _ACEOF
12785 rm -f conftest.$ac_objext
12786 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12787 - (eval $ac_compile) 2>conftest.er1
12788 +if { (ac_try="$ac_compile"
12789 +case "(($ac_try" in
12790 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12791 + *) ac_try_echo=$ac_try;;
12792 +esac
12793 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12794 + (eval "$ac_compile") 2>conftest.er1
12795 ac_status=$?
12796 grep -v '^ *+' conftest.er1 >conftest.err
12797 rm -f conftest.er1
12798 cat conftest.err >&5
12799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12800 - (exit $ac_status); } &&
12801 - { ac_try='test -z "$ac_c_werror_flag"
12802 - || test ! -s conftest.err'
12803 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12804 - (eval $ac_try) 2>&5
12805 - ac_status=$?
12806 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12807 - (exit $ac_status); }; } &&
12808 - { ac_try='test -s conftest.$ac_objext'
12809 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12810 - (eval $ac_try) 2>&5
12811 - ac_status=$?
12812 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12813 - (exit $ac_status); }; }; then
12814 + (exit $ac_status); } && {
12815 + test -z "$ac_c_werror_flag" ||
12816 + test ! -s conftest.err
12817 + } && test -s conftest.$ac_objext; then
12818 bfd_cv_have_sys_procfs_type_prstatus32_t=yes
12819 else
12820 echo "$as_me: failed program was:" >&5
12821 sed 's/^/| /' conftest.$ac_ext >&5
12822
12823 -bfd_cv_have_sys_procfs_type_prstatus32_t=no
12824 + bfd_cv_have_sys_procfs_type_prstatus32_t=no
12825
12826 fi
12827 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12828 +
12829 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12830 fi
12831
12832 if test $bfd_cv_have_sys_procfs_type_prstatus32_t = yes; then
12833 @@ -12000,11 +12373,11 @@ cat >>confdefs.h <<\_ACEOF
12834 _ACEOF
12835
12836 fi
12837 - echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prstatus32_t" >&5
12838 -echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prstatus32_t" >&6
12839 + { echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prstatus32_t" >&5
12840 +echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prstatus32_t" >&6; }
12841
12842 - echo "$as_me:$LINENO: checking for prstatus_t.pr_who in sys/procfs.h" >&5
12843 -echo $ECHO_N "checking for prstatus_t.pr_who in sys/procfs.h... $ECHO_C" >&6
12844 + { echo "$as_me:$LINENO: checking for prstatus_t.pr_who in sys/procfs.h" >&5
12845 +echo $ECHO_N "checking for prstatus_t.pr_who in sys/procfs.h... $ECHO_C" >&6; }
12846 if test "${bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who+set}" = set; then
12847 echo $ECHO_N "(cached) $ECHO_C" >&6
12848 else
12849 @@ -12026,36 +12399,32 @@ prstatus_t avar; void* aref = (void*) &a
12850 }
12851 _ACEOF
12852 rm -f conftest.$ac_objext
12853 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12854 - (eval $ac_compile) 2>conftest.er1
12855 +if { (ac_try="$ac_compile"
12856 +case "(($ac_try" in
12857 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12858 + *) ac_try_echo=$ac_try;;
12859 +esac
12860 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12861 + (eval "$ac_compile") 2>conftest.er1
12862 ac_status=$?
12863 grep -v '^ *+' conftest.er1 >conftest.err
12864 rm -f conftest.er1
12865 cat conftest.err >&5
12866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12867 - (exit $ac_status); } &&
12868 - { ac_try='test -z "$ac_c_werror_flag"
12869 - || test ! -s conftest.err'
12870 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12871 - (eval $ac_try) 2>&5
12872 - ac_status=$?
12873 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12874 - (exit $ac_status); }; } &&
12875 - { ac_try='test -s conftest.$ac_objext'
12876 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12877 - (eval $ac_try) 2>&5
12878 - ac_status=$?
12879 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12880 - (exit $ac_status); }; }; then
12881 + (exit $ac_status); } && {
12882 + test -z "$ac_c_werror_flag" ||
12883 + test ! -s conftest.err
12884 + } && test -s conftest.$ac_objext; then
12885 bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who=yes
12886 else
12887 echo "$as_me: failed program was:" >&5
12888 sed 's/^/| /' conftest.$ac_ext >&5
12889
12890 -bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who=no
12891 + bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who=no
12892
12893 fi
12894 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12895 +
12896 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12897 fi
12898
12899 if test $bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who = yes; then
12900 @@ -12065,11 +12434,11 @@ cat >>confdefs.h <<\_ACEOF
12901 _ACEOF
12902
12903 fi
12904 - echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who" >&5
12905 -echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who" >&6
12906 + { echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who" >&5
12907 +echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who" >&6; }
12908
12909 - echo "$as_me:$LINENO: checking for prstatus32_t.pr_who in sys/procfs.h" >&5
12910 -echo $ECHO_N "checking for prstatus32_t.pr_who in sys/procfs.h... $ECHO_C" >&6
12911 + { echo "$as_me:$LINENO: checking for prstatus32_t.pr_who in sys/procfs.h" >&5
12912 +echo $ECHO_N "checking for prstatus32_t.pr_who in sys/procfs.h... $ECHO_C" >&6; }
12913 if test "${bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who+set}" = set; then
12914 echo $ECHO_N "(cached) $ECHO_C" >&6
12915 else
12916 @@ -12091,36 +12460,32 @@ prstatus32_t avar; void* aref = (void*)
12917 }
12918 _ACEOF
12919 rm -f conftest.$ac_objext
12920 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12921 - (eval $ac_compile) 2>conftest.er1
12922 +if { (ac_try="$ac_compile"
12923 +case "(($ac_try" in
12924 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12925 + *) ac_try_echo=$ac_try;;
12926 +esac
12927 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12928 + (eval "$ac_compile") 2>conftest.er1
12929 ac_status=$?
12930 grep -v '^ *+' conftest.er1 >conftest.err
12931 rm -f conftest.er1
12932 cat conftest.err >&5
12933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12934 - (exit $ac_status); } &&
12935 - { ac_try='test -z "$ac_c_werror_flag"
12936 - || test ! -s conftest.err'
12937 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12938 - (eval $ac_try) 2>&5
12939 - ac_status=$?
12940 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12941 - (exit $ac_status); }; } &&
12942 - { ac_try='test -s conftest.$ac_objext'
12943 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12944 - (eval $ac_try) 2>&5
12945 - ac_status=$?
12946 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12947 - (exit $ac_status); }; }; then
12948 + (exit $ac_status); } && {
12949 + test -z "$ac_c_werror_flag" ||
12950 + test ! -s conftest.err
12951 + } && test -s conftest.$ac_objext; then
12952 bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who=yes
12953 else
12954 echo "$as_me: failed program was:" >&5
12955 sed 's/^/| /' conftest.$ac_ext >&5
12956
12957 -bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who=no
12958 + bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who=no
12959
12960 fi
12961 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12962 +
12963 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12964 fi
12965
12966 if test $bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who = yes; then
12967 @@ -12130,11 +12495,11 @@ cat >>confdefs.h <<\_ACEOF
12968 _ACEOF
12969
12970 fi
12971 - echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who" >&5
12972 -echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who" >&6
12973 + { echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who" >&5
12974 +echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who" >&6; }
12975
12976 - echo "$as_me:$LINENO: checking for pstatus_t in sys/procfs.h" >&5
12977 -echo $ECHO_N "checking for pstatus_t in sys/procfs.h... $ECHO_C" >&6
12978 + { echo "$as_me:$LINENO: checking for pstatus_t in sys/procfs.h" >&5
12979 +echo $ECHO_N "checking for pstatus_t in sys/procfs.h... $ECHO_C" >&6; }
12980 if test "${bfd_cv_have_sys_procfs_type_pstatus_t+set}" = set; then
12981 echo $ECHO_N "(cached) $ECHO_C" >&6
12982 else
12983 @@ -12156,36 +12521,32 @@ pstatus_t avar
12984 }
12985 _ACEOF
12986 rm -f conftest.$ac_objext
12987 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12988 - (eval $ac_compile) 2>conftest.er1
12989 +if { (ac_try="$ac_compile"
12990 +case "(($ac_try" in
12991 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12992 + *) ac_try_echo=$ac_try;;
12993 +esac
12994 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12995 + (eval "$ac_compile") 2>conftest.er1
12996 ac_status=$?
12997 grep -v '^ *+' conftest.er1 >conftest.err
12998 rm -f conftest.er1
12999 cat conftest.err >&5
13000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13001 - (exit $ac_status); } &&
13002 - { ac_try='test -z "$ac_c_werror_flag"
13003 - || test ! -s conftest.err'
13004 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13005 - (eval $ac_try) 2>&5
13006 - ac_status=$?
13007 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13008 - (exit $ac_status); }; } &&
13009 - { ac_try='test -s conftest.$ac_objext'
13010 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13011 - (eval $ac_try) 2>&5
13012 - ac_status=$?
13013 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13014 - (exit $ac_status); }; }; then
13015 + (exit $ac_status); } && {
13016 + test -z "$ac_c_werror_flag" ||
13017 + test ! -s conftest.err
13018 + } && test -s conftest.$ac_objext; then
13019 bfd_cv_have_sys_procfs_type_pstatus_t=yes
13020 else
13021 echo "$as_me: failed program was:" >&5
13022 sed 's/^/| /' conftest.$ac_ext >&5
13023
13024 -bfd_cv_have_sys_procfs_type_pstatus_t=no
13025 + bfd_cv_have_sys_procfs_type_pstatus_t=no
13026
13027 fi
13028 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13029 +
13030 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13031 fi
13032
13033 if test $bfd_cv_have_sys_procfs_type_pstatus_t = yes; then
13034 @@ -12195,11 +12556,11 @@ cat >>confdefs.h <<\_ACEOF
13035 _ACEOF
13036
13037 fi
13038 - echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_pstatus_t" >&5
13039 -echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_pstatus_t" >&6
13040 + { echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_pstatus_t" >&5
13041 +echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_pstatus_t" >&6; }
13042
13043 - echo "$as_me:$LINENO: checking for pxstatus_t in sys/procfs.h" >&5
13044 -echo $ECHO_N "checking for pxstatus_t in sys/procfs.h... $ECHO_C" >&6
13045 + { echo "$as_me:$LINENO: checking for pxstatus_t in sys/procfs.h" >&5
13046 +echo $ECHO_N "checking for pxstatus_t in sys/procfs.h... $ECHO_C" >&6; }
13047 if test "${bfd_cv_have_sys_procfs_type_pxstatus_t+set}" = set; then
13048 echo $ECHO_N "(cached) $ECHO_C" >&6
13049 else
13050 @@ -12221,36 +12582,32 @@ pxstatus_t avar
13051 }
13052 _ACEOF
13053 rm -f conftest.$ac_objext
13054 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13055 - (eval $ac_compile) 2>conftest.er1
13056 +if { (ac_try="$ac_compile"
13057 +case "(($ac_try" in
13058 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13059 + *) ac_try_echo=$ac_try;;
13060 +esac
13061 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13062 + (eval "$ac_compile") 2>conftest.er1
13063 ac_status=$?
13064 grep -v '^ *+' conftest.er1 >conftest.err
13065 rm -f conftest.er1
13066 cat conftest.err >&5
13067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13068 - (exit $ac_status); } &&
13069 - { ac_try='test -z "$ac_c_werror_flag"
13070 - || test ! -s conftest.err'
13071 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13072 - (eval $ac_try) 2>&5
13073 - ac_status=$?
13074 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13075 - (exit $ac_status); }; } &&
13076 - { ac_try='test -s conftest.$ac_objext'
13077 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13078 - (eval $ac_try) 2>&5
13079 - ac_status=$?
13080 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13081 - (exit $ac_status); }; }; then
13082 + (exit $ac_status); } && {
13083 + test -z "$ac_c_werror_flag" ||
13084 + test ! -s conftest.err
13085 + } && test -s conftest.$ac_objext; then
13086 bfd_cv_have_sys_procfs_type_pxstatus_t=yes
13087 else
13088 echo "$as_me: failed program was:" >&5
13089 sed 's/^/| /' conftest.$ac_ext >&5
13090
13091 -bfd_cv_have_sys_procfs_type_pxstatus_t=no
13092 + bfd_cv_have_sys_procfs_type_pxstatus_t=no
13093
13094 fi
13095 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13096 +
13097 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13098 fi
13099
13100 if test $bfd_cv_have_sys_procfs_type_pxstatus_t = yes; then
13101 @@ -12260,11 +12617,11 @@ cat >>confdefs.h <<\_ACEOF
13102 _ACEOF
13103
13104 fi
13105 - echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_pxstatus_t" >&5
13106 -echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_pxstatus_t" >&6
13107 + { echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_pxstatus_t" >&5
13108 +echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_pxstatus_t" >&6; }
13109
13110 - echo "$as_me:$LINENO: checking for pstatus32_t in sys/procfs.h" >&5
13111 -echo $ECHO_N "checking for pstatus32_t in sys/procfs.h... $ECHO_C" >&6
13112 + { echo "$as_me:$LINENO: checking for pstatus32_t in sys/procfs.h" >&5
13113 +echo $ECHO_N "checking for pstatus32_t in sys/procfs.h... $ECHO_C" >&6; }
13114 if test "${bfd_cv_have_sys_procfs_type_pstatus32_t+set}" = set; then
13115 echo $ECHO_N "(cached) $ECHO_C" >&6
13116 else
13117 @@ -12286,36 +12643,32 @@ pstatus32_t avar
13118 }
13119 _ACEOF
13120 rm -f conftest.$ac_objext
13121 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13122 - (eval $ac_compile) 2>conftest.er1
13123 +if { (ac_try="$ac_compile"
13124 +case "(($ac_try" in
13125 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13126 + *) ac_try_echo=$ac_try;;
13127 +esac
13128 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13129 + (eval "$ac_compile") 2>conftest.er1
13130 ac_status=$?
13131 grep -v '^ *+' conftest.er1 >conftest.err
13132 rm -f conftest.er1
13133 cat conftest.err >&5
13134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13135 - (exit $ac_status); } &&
13136 - { ac_try='test -z "$ac_c_werror_flag"
13137 - || test ! -s conftest.err'
13138 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13139 - (eval $ac_try) 2>&5
13140 - ac_status=$?
13141 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13142 - (exit $ac_status); }; } &&
13143 - { ac_try='test -s conftest.$ac_objext'
13144 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13145 - (eval $ac_try) 2>&5
13146 - ac_status=$?
13147 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13148 - (exit $ac_status); }; }; then
13149 + (exit $ac_status); } && {
13150 + test -z "$ac_c_werror_flag" ||
13151 + test ! -s conftest.err
13152 + } && test -s conftest.$ac_objext; then
13153 bfd_cv_have_sys_procfs_type_pstatus32_t=yes
13154 else
13155 echo "$as_me: failed program was:" >&5
13156 sed 's/^/| /' conftest.$ac_ext >&5
13157
13158 -bfd_cv_have_sys_procfs_type_pstatus32_t=no
13159 + bfd_cv_have_sys_procfs_type_pstatus32_t=no
13160
13161 fi
13162 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13163 +
13164 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13165 fi
13166
13167 if test $bfd_cv_have_sys_procfs_type_pstatus32_t = yes; then
13168 @@ -12325,11 +12678,11 @@ cat >>confdefs.h <<\_ACEOF
13169 _ACEOF
13170
13171 fi
13172 - echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_pstatus32_t" >&5
13173 -echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_pstatus32_t" >&6
13174 + { echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_pstatus32_t" >&5
13175 +echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_pstatus32_t" >&6; }
13176
13177 - echo "$as_me:$LINENO: checking for prpsinfo_t in sys/procfs.h" >&5
13178 -echo $ECHO_N "checking for prpsinfo_t in sys/procfs.h... $ECHO_C" >&6
13179 + { echo "$as_me:$LINENO: checking for prpsinfo_t in sys/procfs.h" >&5
13180 +echo $ECHO_N "checking for prpsinfo_t in sys/procfs.h... $ECHO_C" >&6; }
13181 if test "${bfd_cv_have_sys_procfs_type_prpsinfo_t+set}" = set; then
13182 echo $ECHO_N "(cached) $ECHO_C" >&6
13183 else
13184 @@ -12351,36 +12704,32 @@ prpsinfo_t avar
13185 }
13186 _ACEOF
13187 rm -f conftest.$ac_objext
13188 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13189 - (eval $ac_compile) 2>conftest.er1
13190 +if { (ac_try="$ac_compile"
13191 +case "(($ac_try" in
13192 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13193 + *) ac_try_echo=$ac_try;;
13194 +esac
13195 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13196 + (eval "$ac_compile") 2>conftest.er1
13197 ac_status=$?
13198 grep -v '^ *+' conftest.er1 >conftest.err
13199 rm -f conftest.er1
13200 cat conftest.err >&5
13201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13202 - (exit $ac_status); } &&
13203 - { ac_try='test -z "$ac_c_werror_flag"
13204 - || test ! -s conftest.err'
13205 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13206 - (eval $ac_try) 2>&5
13207 - ac_status=$?
13208 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13209 - (exit $ac_status); }; } &&
13210 - { ac_try='test -s conftest.$ac_objext'
13211 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13212 - (eval $ac_try) 2>&5
13213 - ac_status=$?
13214 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13215 - (exit $ac_status); }; }; then
13216 + (exit $ac_status); } && {
13217 + test -z "$ac_c_werror_flag" ||
13218 + test ! -s conftest.err
13219 + } && test -s conftest.$ac_objext; then
13220 bfd_cv_have_sys_procfs_type_prpsinfo_t=yes
13221 else
13222 echo "$as_me: failed program was:" >&5
13223 sed 's/^/| /' conftest.$ac_ext >&5
13224
13225 -bfd_cv_have_sys_procfs_type_prpsinfo_t=no
13226 + bfd_cv_have_sys_procfs_type_prpsinfo_t=no
13227
13228 fi
13229 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13230 +
13231 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13232 fi
13233
13234 if test $bfd_cv_have_sys_procfs_type_prpsinfo_t = yes; then
13235 @@ -12390,11 +12739,11 @@ cat >>confdefs.h <<\_ACEOF
13236 _ACEOF
13237
13238 fi
13239 - echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prpsinfo_t" >&5
13240 -echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prpsinfo_t" >&6
13241 + { echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prpsinfo_t" >&5
13242 +echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prpsinfo_t" >&6; }
13243
13244 - echo "$as_me:$LINENO: checking for prpsinfo32_t in sys/procfs.h" >&5
13245 -echo $ECHO_N "checking for prpsinfo32_t in sys/procfs.h... $ECHO_C" >&6
13246 + { echo "$as_me:$LINENO: checking for prpsinfo32_t in sys/procfs.h" >&5
13247 +echo $ECHO_N "checking for prpsinfo32_t in sys/procfs.h... $ECHO_C" >&6; }
13248 if test "${bfd_cv_have_sys_procfs_type_prpsinfo32_t+set}" = set; then
13249 echo $ECHO_N "(cached) $ECHO_C" >&6
13250 else
13251 @@ -12416,36 +12765,32 @@ prpsinfo32_t avar
13252 }
13253 _ACEOF
13254 rm -f conftest.$ac_objext
13255 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13256 - (eval $ac_compile) 2>conftest.er1
13257 +if { (ac_try="$ac_compile"
13258 +case "(($ac_try" in
13259 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13260 + *) ac_try_echo=$ac_try;;
13261 +esac
13262 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13263 + (eval "$ac_compile") 2>conftest.er1
13264 ac_status=$?
13265 grep -v '^ *+' conftest.er1 >conftest.err
13266 rm -f conftest.er1
13267 cat conftest.err >&5
13268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13269 - (exit $ac_status); } &&
13270 - { ac_try='test -z "$ac_c_werror_flag"
13271 - || test ! -s conftest.err'
13272 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13273 - (eval $ac_try) 2>&5
13274 - ac_status=$?
13275 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13276 - (exit $ac_status); }; } &&
13277 - { ac_try='test -s conftest.$ac_objext'
13278 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13279 - (eval $ac_try) 2>&5
13280 - ac_status=$?
13281 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13282 - (exit $ac_status); }; }; then
13283 + (exit $ac_status); } && {
13284 + test -z "$ac_c_werror_flag" ||
13285 + test ! -s conftest.err
13286 + } && test -s conftest.$ac_objext; then
13287 bfd_cv_have_sys_procfs_type_prpsinfo32_t=yes
13288 else
13289 echo "$as_me: failed program was:" >&5
13290 sed 's/^/| /' conftest.$ac_ext >&5
13291
13292 -bfd_cv_have_sys_procfs_type_prpsinfo32_t=no
13293 + bfd_cv_have_sys_procfs_type_prpsinfo32_t=no
13294
13295 fi
13296 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13297 +
13298 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13299 fi
13300
13301 if test $bfd_cv_have_sys_procfs_type_prpsinfo32_t = yes; then
13302 @@ -12455,11 +12800,11 @@ cat >>confdefs.h <<\_ACEOF
13303 _ACEOF
13304
13305 fi
13306 - echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prpsinfo32_t" >&5
13307 -echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prpsinfo32_t" >&6
13308 + { echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prpsinfo32_t" >&5
13309 +echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prpsinfo32_t" >&6; }
13310
13311 - echo "$as_me:$LINENO: checking for psinfo_t in sys/procfs.h" >&5
13312 -echo $ECHO_N "checking for psinfo_t in sys/procfs.h... $ECHO_C" >&6
13313 + { echo "$as_me:$LINENO: checking for psinfo_t in sys/procfs.h" >&5
13314 +echo $ECHO_N "checking for psinfo_t in sys/procfs.h... $ECHO_C" >&6; }
13315 if test "${bfd_cv_have_sys_procfs_type_psinfo_t+set}" = set; then
13316 echo $ECHO_N "(cached) $ECHO_C" >&6
13317 else
13318 @@ -12481,36 +12826,32 @@ psinfo_t avar
13319 }
13320 _ACEOF
13321 rm -f conftest.$ac_objext
13322 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13323 - (eval $ac_compile) 2>conftest.er1
13324 +if { (ac_try="$ac_compile"
13325 +case "(($ac_try" in
13326 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13327 + *) ac_try_echo=$ac_try;;
13328 +esac
13329 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13330 + (eval "$ac_compile") 2>conftest.er1
13331 ac_status=$?
13332 grep -v '^ *+' conftest.er1 >conftest.err
13333 rm -f conftest.er1
13334 cat conftest.err >&5
13335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13336 - (exit $ac_status); } &&
13337 - { ac_try='test -z "$ac_c_werror_flag"
13338 - || test ! -s conftest.err'
13339 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13340 - (eval $ac_try) 2>&5
13341 - ac_status=$?
13342 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13343 - (exit $ac_status); }; } &&
13344 - { ac_try='test -s conftest.$ac_objext'
13345 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13346 - (eval $ac_try) 2>&5
13347 - ac_status=$?
13348 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13349 - (exit $ac_status); }; }; then
13350 + (exit $ac_status); } && {
13351 + test -z "$ac_c_werror_flag" ||
13352 + test ! -s conftest.err
13353 + } && test -s conftest.$ac_objext; then
13354 bfd_cv_have_sys_procfs_type_psinfo_t=yes
13355 else
13356 echo "$as_me: failed program was:" >&5
13357 sed 's/^/| /' conftest.$ac_ext >&5
13358
13359 -bfd_cv_have_sys_procfs_type_psinfo_t=no
13360 + bfd_cv_have_sys_procfs_type_psinfo_t=no
13361
13362 fi
13363 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13364 +
13365 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13366 fi
13367
13368 if test $bfd_cv_have_sys_procfs_type_psinfo_t = yes; then
13369 @@ -12520,11 +12861,11 @@ cat >>confdefs.h <<\_ACEOF
13370 _ACEOF
13371
13372 fi
13373 - echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_psinfo_t" >&5
13374 -echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_psinfo_t" >&6
13375 + { echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_psinfo_t" >&5
13376 +echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_psinfo_t" >&6; }
13377
13378 - echo "$as_me:$LINENO: checking for psinfo32_t in sys/procfs.h" >&5
13379 -echo $ECHO_N "checking for psinfo32_t in sys/procfs.h... $ECHO_C" >&6
13380 + { echo "$as_me:$LINENO: checking for psinfo32_t in sys/procfs.h" >&5
13381 +echo $ECHO_N "checking for psinfo32_t in sys/procfs.h... $ECHO_C" >&6; }
13382 if test "${bfd_cv_have_sys_procfs_type_psinfo32_t+set}" = set; then
13383 echo $ECHO_N "(cached) $ECHO_C" >&6
13384 else
13385 @@ -12546,36 +12887,32 @@ psinfo32_t avar
13386 }
13387 _ACEOF
13388 rm -f conftest.$ac_objext
13389 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13390 - (eval $ac_compile) 2>conftest.er1
13391 +if { (ac_try="$ac_compile"
13392 +case "(($ac_try" in
13393 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13394 + *) ac_try_echo=$ac_try;;
13395 +esac
13396 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13397 + (eval "$ac_compile") 2>conftest.er1
13398 ac_status=$?
13399 grep -v '^ *+' conftest.er1 >conftest.err
13400 rm -f conftest.er1
13401 cat conftest.err >&5
13402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13403 - (exit $ac_status); } &&
13404 - { ac_try='test -z "$ac_c_werror_flag"
13405 - || test ! -s conftest.err'
13406 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13407 - (eval $ac_try) 2>&5
13408 - ac_status=$?
13409 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13410 - (exit $ac_status); }; } &&
13411 - { ac_try='test -s conftest.$ac_objext'
13412 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13413 - (eval $ac_try) 2>&5
13414 - ac_status=$?
13415 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13416 - (exit $ac_status); }; }; then
13417 + (exit $ac_status); } && {
13418 + test -z "$ac_c_werror_flag" ||
13419 + test ! -s conftest.err
13420 + } && test -s conftest.$ac_objext; then
13421 bfd_cv_have_sys_procfs_type_psinfo32_t=yes
13422 else
13423 echo "$as_me: failed program was:" >&5
13424 sed 's/^/| /' conftest.$ac_ext >&5
13425
13426 -bfd_cv_have_sys_procfs_type_psinfo32_t=no
13427 + bfd_cv_have_sys_procfs_type_psinfo32_t=no
13428
13429 fi
13430 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13431 +
13432 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13433 fi
13434
13435 if test $bfd_cv_have_sys_procfs_type_psinfo32_t = yes; then
13436 @@ -12585,11 +12922,11 @@ cat >>confdefs.h <<\_ACEOF
13437 _ACEOF
13438
13439 fi
13440 - echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_psinfo32_t" >&5
13441 -echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_psinfo32_t" >&6
13442 + { echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_psinfo32_t" >&5
13443 +echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_psinfo32_t" >&6; }
13444
13445 - echo "$as_me:$LINENO: checking for lwpstatus_t in sys/procfs.h" >&5
13446 -echo $ECHO_N "checking for lwpstatus_t in sys/procfs.h... $ECHO_C" >&6
13447 + { echo "$as_me:$LINENO: checking for lwpstatus_t in sys/procfs.h" >&5
13448 +echo $ECHO_N "checking for lwpstatus_t in sys/procfs.h... $ECHO_C" >&6; }
13449 if test "${bfd_cv_have_sys_procfs_type_lwpstatus_t+set}" = set; then
13450 echo $ECHO_N "(cached) $ECHO_C" >&6
13451 else
13452 @@ -12611,36 +12948,32 @@ lwpstatus_t avar
13453 }
13454 _ACEOF
13455 rm -f conftest.$ac_objext
13456 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13457 - (eval $ac_compile) 2>conftest.er1
13458 +if { (ac_try="$ac_compile"
13459 +case "(($ac_try" in
13460 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13461 + *) ac_try_echo=$ac_try;;
13462 +esac
13463 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13464 + (eval "$ac_compile") 2>conftest.er1
13465 ac_status=$?
13466 grep -v '^ *+' conftest.er1 >conftest.err
13467 rm -f conftest.er1
13468 cat conftest.err >&5
13469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13470 - (exit $ac_status); } &&
13471 - { ac_try='test -z "$ac_c_werror_flag"
13472 - || test ! -s conftest.err'
13473 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13474 - (eval $ac_try) 2>&5
13475 - ac_status=$?
13476 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13477 - (exit $ac_status); }; } &&
13478 - { ac_try='test -s conftest.$ac_objext'
13479 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13480 - (eval $ac_try) 2>&5
13481 - ac_status=$?
13482 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13483 - (exit $ac_status); }; }; then
13484 + (exit $ac_status); } && {
13485 + test -z "$ac_c_werror_flag" ||
13486 + test ! -s conftest.err
13487 + } && test -s conftest.$ac_objext; then
13488 bfd_cv_have_sys_procfs_type_lwpstatus_t=yes
13489 else
13490 echo "$as_me: failed program was:" >&5
13491 sed 's/^/| /' conftest.$ac_ext >&5
13492
13493 -bfd_cv_have_sys_procfs_type_lwpstatus_t=no
13494 + bfd_cv_have_sys_procfs_type_lwpstatus_t=no
13495
13496 fi
13497 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13498 +
13499 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13500 fi
13501
13502 if test $bfd_cv_have_sys_procfs_type_lwpstatus_t = yes; then
13503 @@ -12650,11 +12983,11 @@ cat >>confdefs.h <<\_ACEOF
13504 _ACEOF
13505
13506 fi
13507 - echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_lwpstatus_t" >&5
13508 -echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_lwpstatus_t" >&6
13509 + { echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_lwpstatus_t" >&5
13510 +echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_lwpstatus_t" >&6; }
13511
13512 - echo "$as_me:$LINENO: checking for lwpxstatus_t in sys/procfs.h" >&5
13513 -echo $ECHO_N "checking for lwpxstatus_t in sys/procfs.h... $ECHO_C" >&6
13514 + { echo "$as_me:$LINENO: checking for lwpxstatus_t in sys/procfs.h" >&5
13515 +echo $ECHO_N "checking for lwpxstatus_t in sys/procfs.h... $ECHO_C" >&6; }
13516 if test "${bfd_cv_have_sys_procfs_type_lwpxstatus_t+set}" = set; then
13517 echo $ECHO_N "(cached) $ECHO_C" >&6
13518 else
13519 @@ -12676,36 +13009,32 @@ lwpxstatus_t avar
13520 }
13521 _ACEOF
13522 rm -f conftest.$ac_objext
13523 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13524 - (eval $ac_compile) 2>conftest.er1
13525 +if { (ac_try="$ac_compile"
13526 +case "(($ac_try" in
13527 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13528 + *) ac_try_echo=$ac_try;;
13529 +esac
13530 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13531 + (eval "$ac_compile") 2>conftest.er1
13532 ac_status=$?
13533 grep -v '^ *+' conftest.er1 >conftest.err
13534 rm -f conftest.er1
13535 cat conftest.err >&5
13536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13537 - (exit $ac_status); } &&
13538 - { ac_try='test -z "$ac_c_werror_flag"
13539 - || test ! -s conftest.err'
13540 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13541 - (eval $ac_try) 2>&5
13542 - ac_status=$?
13543 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13544 - (exit $ac_status); }; } &&
13545 - { ac_try='test -s conftest.$ac_objext'
13546 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13547 - (eval $ac_try) 2>&5
13548 - ac_status=$?
13549 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13550 - (exit $ac_status); }; }; then
13551 + (exit $ac_status); } && {
13552 + test -z "$ac_c_werror_flag" ||
13553 + test ! -s conftest.err
13554 + } && test -s conftest.$ac_objext; then
13555 bfd_cv_have_sys_procfs_type_lwpxstatus_t=yes
13556 else
13557 echo "$as_me: failed program was:" >&5
13558 sed 's/^/| /' conftest.$ac_ext >&5
13559
13560 -bfd_cv_have_sys_procfs_type_lwpxstatus_t=no
13561 + bfd_cv_have_sys_procfs_type_lwpxstatus_t=no
13562
13563 fi
13564 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13565 +
13566 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13567 fi
13568
13569 if test $bfd_cv_have_sys_procfs_type_lwpxstatus_t = yes; then
13570 @@ -12715,11 +13044,11 @@ cat >>confdefs.h <<\_ACEOF
13571 _ACEOF
13572
13573 fi
13574 - echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_lwpxstatus_t" >&5
13575 -echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_lwpxstatus_t" >&6
13576 + { echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_lwpxstatus_t" >&5
13577 +echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_lwpxstatus_t" >&6; }
13578
13579 - echo "$as_me:$LINENO: checking for lwpstatus_t.pr_context in sys/procfs.h" >&5
13580 -echo $ECHO_N "checking for lwpstatus_t.pr_context in sys/procfs.h... $ECHO_C" >&6
13581 + { echo "$as_me:$LINENO: checking for lwpstatus_t.pr_context in sys/procfs.h" >&5
13582 +echo $ECHO_N "checking for lwpstatus_t.pr_context in sys/procfs.h... $ECHO_C" >&6; }
13583 if test "${bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context+set}" = set; then
13584 echo $ECHO_N "(cached) $ECHO_C" >&6
13585 else
13586 @@ -12741,36 +13070,32 @@ lwpstatus_t avar; void* aref = (void*) &
13587 }
13588 _ACEOF
13589 rm -f conftest.$ac_objext
13590 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13591 - (eval $ac_compile) 2>conftest.er1
13592 +if { (ac_try="$ac_compile"
13593 +case "(($ac_try" in
13594 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13595 + *) ac_try_echo=$ac_try;;
13596 +esac
13597 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13598 + (eval "$ac_compile") 2>conftest.er1
13599 ac_status=$?
13600 grep -v '^ *+' conftest.er1 >conftest.err
13601 rm -f conftest.er1
13602 cat conftest.err >&5
13603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13604 - (exit $ac_status); } &&
13605 - { ac_try='test -z "$ac_c_werror_flag"
13606 - || test ! -s conftest.err'
13607 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13608 - (eval $ac_try) 2>&5
13609 - ac_status=$?
13610 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13611 - (exit $ac_status); }; } &&
13612 - { ac_try='test -s conftest.$ac_objext'
13613 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13614 - (eval $ac_try) 2>&5
13615 - ac_status=$?
13616 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13617 - (exit $ac_status); }; }; then
13618 + (exit $ac_status); } && {
13619 + test -z "$ac_c_werror_flag" ||
13620 + test ! -s conftest.err
13621 + } && test -s conftest.$ac_objext; then
13622 bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context=yes
13623 else
13624 echo "$as_me: failed program was:" >&5
13625 sed 's/^/| /' conftest.$ac_ext >&5
13626
13627 -bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context=no
13628 + bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context=no
13629
13630 fi
13631 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13632 +
13633 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13634 fi
13635
13636 if test $bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context = yes; then
13637 @@ -12780,11 +13105,11 @@ cat >>confdefs.h <<\_ACEOF
13638 _ACEOF
13639
13640 fi
13641 - echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context" >&5
13642 -echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context" >&6
13643 + { echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context" >&5
13644 +echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context" >&6; }
13645
13646 - echo "$as_me:$LINENO: checking for lwpstatus_t.pr_reg in sys/procfs.h" >&5
13647 -echo $ECHO_N "checking for lwpstatus_t.pr_reg in sys/procfs.h... $ECHO_C" >&6
13648 + { echo "$as_me:$LINENO: checking for lwpstatus_t.pr_reg in sys/procfs.h" >&5
13649 +echo $ECHO_N "checking for lwpstatus_t.pr_reg in sys/procfs.h... $ECHO_C" >&6; }
13650 if test "${bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg+set}" = set; then
13651 echo $ECHO_N "(cached) $ECHO_C" >&6
13652 else
13653 @@ -12806,36 +13131,32 @@ lwpstatus_t avar; void* aref = (void*) &
13654 }
13655 _ACEOF
13656 rm -f conftest.$ac_objext
13657 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13658 - (eval $ac_compile) 2>conftest.er1
13659 +if { (ac_try="$ac_compile"
13660 +case "(($ac_try" in
13661 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13662 + *) ac_try_echo=$ac_try;;
13663 +esac
13664 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13665 + (eval "$ac_compile") 2>conftest.er1
13666 ac_status=$?
13667 grep -v '^ *+' conftest.er1 >conftest.err
13668 rm -f conftest.er1
13669 cat conftest.err >&5
13670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13671 - (exit $ac_status); } &&
13672 - { ac_try='test -z "$ac_c_werror_flag"
13673 - || test ! -s conftest.err'
13674 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13675 - (eval $ac_try) 2>&5
13676 - ac_status=$?
13677 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13678 - (exit $ac_status); }; } &&
13679 - { ac_try='test -s conftest.$ac_objext'
13680 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13681 - (eval $ac_try) 2>&5
13682 - ac_status=$?
13683 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13684 - (exit $ac_status); }; }; then
13685 + (exit $ac_status); } && {
13686 + test -z "$ac_c_werror_flag" ||
13687 + test ! -s conftest.err
13688 + } && test -s conftest.$ac_objext; then
13689 bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg=yes
13690 else
13691 echo "$as_me: failed program was:" >&5
13692 sed 's/^/| /' conftest.$ac_ext >&5
13693
13694 -bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg=no
13695 + bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg=no
13696
13697 fi
13698 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13699 +
13700 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13701 fi
13702
13703 if test $bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg = yes; then
13704 @@ -12845,11 +13166,11 @@ cat >>confdefs.h <<\_ACEOF
13705 _ACEOF
13706
13707 fi
13708 - echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg" >&5
13709 -echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg" >&6
13710 + { echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg" >&5
13711 +echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg" >&6; }
13712
13713 - echo "$as_me:$LINENO: checking for win32_pstatus_t in sys/procfs.h" >&5
13714 -echo $ECHO_N "checking for win32_pstatus_t in sys/procfs.h... $ECHO_C" >&6
13715 + { echo "$as_me:$LINENO: checking for win32_pstatus_t in sys/procfs.h" >&5
13716 +echo $ECHO_N "checking for win32_pstatus_t in sys/procfs.h... $ECHO_C" >&6; }
13717 if test "${bfd_cv_have_sys_procfs_type_win32_pstatus_t+set}" = set; then
13718 echo $ECHO_N "(cached) $ECHO_C" >&6
13719 else
13720 @@ -12871,36 +13192,32 @@ win32_pstatus_t avar
13721 }
13722 _ACEOF
13723 rm -f conftest.$ac_objext
13724 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13725 - (eval $ac_compile) 2>conftest.er1
13726 +if { (ac_try="$ac_compile"
13727 +case "(($ac_try" in
13728 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13729 + *) ac_try_echo=$ac_try;;
13730 +esac
13731 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13732 + (eval "$ac_compile") 2>conftest.er1
13733 ac_status=$?
13734 grep -v '^ *+' conftest.er1 >conftest.err
13735 rm -f conftest.er1
13736 cat conftest.err >&5
13737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13738 - (exit $ac_status); } &&
13739 - { ac_try='test -z "$ac_c_werror_flag"
13740 - || test ! -s conftest.err'
13741 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13742 - (eval $ac_try) 2>&5
13743 - ac_status=$?
13744 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13745 - (exit $ac_status); }; } &&
13746 - { ac_try='test -s conftest.$ac_objext'
13747 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13748 - (eval $ac_try) 2>&5
13749 - ac_status=$?
13750 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13751 - (exit $ac_status); }; }; then
13752 + (exit $ac_status); } && {
13753 + test -z "$ac_c_werror_flag" ||
13754 + test ! -s conftest.err
13755 + } && test -s conftest.$ac_objext; then
13756 bfd_cv_have_sys_procfs_type_win32_pstatus_t=yes
13757 else
13758 echo "$as_me: failed program was:" >&5
13759 sed 's/^/| /' conftest.$ac_ext >&5
13760
13761 -bfd_cv_have_sys_procfs_type_win32_pstatus_t=no
13762 + bfd_cv_have_sys_procfs_type_win32_pstatus_t=no
13763
13764 fi
13765 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13766 +
13767 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13768 fi
13769
13770 if test $bfd_cv_have_sys_procfs_type_win32_pstatus_t = yes; then
13771 @@ -12910,8 +13227,8 @@ cat >>confdefs.h <<\_ACEOF
13772 _ACEOF
13773
13774 fi
13775 - echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_win32_pstatus_t" >&5
13776 -echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_win32_pstatus_t" >&6
13777 + { echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_win32_pstatus_t" >&5
13778 +echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_win32_pstatus_t" >&6; }
13779
13780 fi
13781 fi
13782 @@ -13070,6 +13387,7 @@ do
13783 bfd_efi_app_ia64_vec) tb="$tb efi-app-ia64.lo pepigen.lo cofflink.lo"; target_size=64 ;;
13784 bfd_elf32_am33lin_vec) tb="$tb elf32-am33lin.lo elf32.lo $elf" ;;
13785 bfd_elf32_avr_vec) tb="$tb elf32-avr.lo elf32.lo $elf" ;;
13786 + bfd_elf32_avr32_vec) tb="$tb elf32-avr32.lo elf32.lo $elf" ;;
13787 bfd_elf32_bfin_vec) tb="$tb elf32-bfin.lo elf32.lo $elf" ;;
13788 bfd_elf32_bfinfdpic_vec) tb="$tb elf32-bfin.lo elf32.lo $elf" ;;
13789 bfd_elf32_big_generic_vec) tb="$tb elf32-gen.lo elf32.lo $elf" ;;
13790 @@ -13389,8 +13707,8 @@ echo "$as_me: WARNING: your compiler may
13791 fi
13792 if test -n "$GCC" ; then
13793 bad_64bit_gcc=no;
13794 - echo "$as_me:$LINENO: checking for gcc version with buggy 64-bit support" >&5
13795 -echo $ECHO_N "checking for gcc version with buggy 64-bit support... $ECHO_C" >&6
13796 + { echo "$as_me:$LINENO: checking for gcc version with buggy 64-bit support" >&5
13797 +echo $ECHO_N "checking for gcc version with buggy 64-bit support... $ECHO_C" >&6; }
13798 # Add more tests for gcc versions with non-working 64-bit support here.
13799 cat >conftest.$ac_ext <<_ACEOF
13800 /* confdefs.h. */
13801 @@ -13403,11 +13721,11 @@ _ACEOF
13802 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13803 $EGREP ": 2 : 91 : 1 :" >/dev/null 2>&1; then
13804 bad_64bit_gcc=yes;
13805 - echo "$as_me:$LINENO: result: yes: egcs-1.1.2 on ix86 spotted" >&5
13806 -echo "${ECHO_T}yes: egcs-1.1.2 on ix86 spotted" >&6
13807 + { echo "$as_me:$LINENO: result: yes: egcs-1.1.2 on ix86 spotted" >&5
13808 +echo "${ECHO_T}yes: egcs-1.1.2 on ix86 spotted" >&6; }
13809 else
13810 - echo "$as_me:$LINENO: result: no" >&5
13811 -echo "${ECHO_T}no" >&6
13812 + { echo "$as_me:$LINENO: result: no" >&5
13813 +echo "${ECHO_T}no" >&6; }
13814 fi
13815 rm -f conftest*
13816
13817 @@ -13445,9 +13763,9 @@ esac
13818 for ac_func in ftello ftello64 fseeko fseeko64 fopen64
13819 do
13820 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13821 -echo "$as_me:$LINENO: checking for $ac_func" >&5
13822 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13823 -if eval "test \"\${$as_ac_var+set}\" = set"; then
13824 +{ echo "$as_me:$LINENO: checking for $ac_func" >&5
13825 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13826 +if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13827 echo $ECHO_N "(cached) $ECHO_C" >&6
13828 else
13829 cat >conftest.$ac_ext <<_ACEOF
13830 @@ -13473,68 +13791,60 @@ cat >>conftest.$ac_ext <<_ACEOF
13831
13832 #undef $ac_func
13833
13834 -/* Override any gcc2 internal prototype to avoid an error. */
13835 +/* Override any GCC internal prototype to avoid an error.
13836 + Use char because int might match the return type of a GCC
13837 + builtin and then its argument prototype would still apply. */
13838 #ifdef __cplusplus
13839 extern "C"
13840 -{
13841 #endif
13842 -/* We use char because int might match the return type of a gcc2
13843 - builtin and then its argument prototype would still apply. */
13844 char $ac_func ();
13845 /* The GNU C library defines this for functions which it implements
13846 to always fail with ENOSYS. Some functions are actually named
13847 something starting with __ and the normal name is an alias. */
13848 -#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13849 +#if defined __stub_$ac_func || defined __stub___$ac_func
13850 choke me
13851 -#else
13852 -char (*f) () = $ac_func;
13853 -#endif
13854 -#ifdef __cplusplus
13855 -}
13856 #endif
13857
13858 int
13859 main ()
13860 {
13861 -return f != $ac_func;
13862 +return $ac_func ();
13863 ;
13864 return 0;
13865 }
13866 _ACEOF
13867 rm -f conftest.$ac_objext conftest$ac_exeext
13868 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13869 - (eval $ac_link) 2>conftest.er1
13870 +if { (ac_try="$ac_link"
13871 +case "(($ac_try" in
13872 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13873 + *) ac_try_echo=$ac_try;;
13874 +esac
13875 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13876 + (eval "$ac_link") 2>conftest.er1
13877 ac_status=$?
13878 grep -v '^ *+' conftest.er1 >conftest.err
13879 rm -f conftest.er1
13880 cat conftest.err >&5
13881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13882 - (exit $ac_status); } &&
13883 - { ac_try='test -z "$ac_c_werror_flag"
13884 - || test ! -s conftest.err'
13885 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13886 - (eval $ac_try) 2>&5
13887 - ac_status=$?
13888 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13889 - (exit $ac_status); }; } &&
13890 - { ac_try='test -s conftest$ac_exeext'
13891 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13892 - (eval $ac_try) 2>&5
13893 - ac_status=$?
13894 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13895 - (exit $ac_status); }; }; then
13896 + (exit $ac_status); } && {
13897 + test -z "$ac_c_werror_flag" ||
13898 + test ! -s conftest.err
13899 + } && test -s conftest$ac_exeext &&
13900 + $as_test_x conftest$ac_exeext; then
13901 eval "$as_ac_var=yes"
13902 else
13903 echo "$as_me: failed program was:" >&5
13904 sed 's/^/| /' conftest.$ac_ext >&5
13905
13906 -eval "$as_ac_var=no"
13907 + eval "$as_ac_var=no"
13908 fi
13909 -rm -f conftest.err conftest.$ac_objext \
13910 +
13911 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13912 conftest$ac_exeext conftest.$ac_ext
13913 fi
13914 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13915 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13916 +ac_res=`eval echo '${'$as_ac_var'}'`
13917 + { echo "$as_me:$LINENO: result: $ac_res" >&5
13918 +echo "${ECHO_T}$ac_res" >&6; }
13919 if test `eval echo '${'$as_ac_var'}'` = yes; then
13920 cat >>confdefs.h <<_ACEOF
13921 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13922 @@ -13544,8 +13854,8 @@ fi
13923 done
13924
13925 if test x"$ac_cv_func_ftello" = xyes -a x"$ac_cv_func_fseeko" = xyes; then
13926 - echo "$as_me:$LINENO: checking for off_t" >&5
13927 -echo $ECHO_N "checking for off_t... $ECHO_C" >&6
13928 + { echo "$as_me:$LINENO: checking for off_t" >&5
13929 +echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
13930 if test "${ac_cv_type_off_t+set}" = set; then
13931 echo $ECHO_N "(cached) $ECHO_C" >&6
13932 else
13933 @@ -13556,61 +13866,57 @@ cat confdefs.h >>conftest.$ac_ext
13934 cat >>conftest.$ac_ext <<_ACEOF
13935 /* end confdefs.h. */
13936 $ac_includes_default
13937 +typedef off_t ac__type_new_;
13938 int
13939 main ()
13940 {
13941 -if ((off_t *) 0)
13942 +if ((ac__type_new_ *) 0)
13943 return 0;
13944 -if (sizeof (off_t))
13945 +if (sizeof (ac__type_new_))
13946 return 0;
13947 ;
13948 return 0;
13949 }
13950 _ACEOF
13951 rm -f conftest.$ac_objext
13952 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13953 - (eval $ac_compile) 2>conftest.er1
13954 +if { (ac_try="$ac_compile"
13955 +case "(($ac_try" in
13956 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13957 + *) ac_try_echo=$ac_try;;
13958 +esac
13959 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13960 + (eval "$ac_compile") 2>conftest.er1
13961 ac_status=$?
13962 grep -v '^ *+' conftest.er1 >conftest.err
13963 rm -f conftest.er1
13964 cat conftest.err >&5
13965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13966 - (exit $ac_status); } &&
13967 - { ac_try='test -z "$ac_c_werror_flag"
13968 - || test ! -s conftest.err'
13969 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13970 - (eval $ac_try) 2>&5
13971 - ac_status=$?
13972 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13973 - (exit $ac_status); }; } &&
13974 - { ac_try='test -s conftest.$ac_objext'
13975 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13976 - (eval $ac_try) 2>&5
13977 - ac_status=$?
13978 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13979 - (exit $ac_status); }; }; then
13980 + (exit $ac_status); } && {
13981 + test -z "$ac_c_werror_flag" ||
13982 + test ! -s conftest.err
13983 + } && test -s conftest.$ac_objext; then
13984 ac_cv_type_off_t=yes
13985 else
13986 echo "$as_me: failed program was:" >&5
13987 sed 's/^/| /' conftest.$ac_ext >&5
13988
13989 -ac_cv_type_off_t=no
13990 + ac_cv_type_off_t=no
13991 fi
13992 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13993 +
13994 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13995 fi
13996 -echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
13997 -echo "${ECHO_T}$ac_cv_type_off_t" >&6
13998 +{ echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
13999 +echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
14000
14001 -echo "$as_me:$LINENO: checking size of off_t" >&5
14002 -echo $ECHO_N "checking size of off_t... $ECHO_C" >&6
14003 +# The cast to long int works around a bug in the HP C Compiler
14004 +# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14005 +# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14006 +# This bug is HP SR number 8606223364.
14007 +{ echo "$as_me:$LINENO: checking size of off_t" >&5
14008 +echo $ECHO_N "checking size of off_t... $ECHO_C" >&6; }
14009 if test "${ac_cv_sizeof_off_t+set}" = set; then
14010 echo $ECHO_N "(cached) $ECHO_C" >&6
14011 else
14012 - if test "$ac_cv_type_off_t" = yes; then
14013 - # The cast to unsigned long works around a bug in the HP C Compiler
14014 - # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14015 - # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14016 - # This bug is HP SR number 8606223364.
14017 if test "$cross_compiling" = yes; then
14018 # Depending upon the size, compute the lo and hi bounds.
14019 cat >conftest.$ac_ext <<_ACEOF
14020 @@ -13620,10 +13926,11 @@ cat confdefs.h >>conftest.$ac_ext
14021 cat >>conftest.$ac_ext <<_ACEOF
14022 /* end confdefs.h. */
14023 $ac_includes_default
14024 + typedef off_t ac__type_sizeof_;
14025 int
14026 main ()
14027 {
14028 -static int test_array [1 - 2 * !(((long) (sizeof (off_t))) >= 0)];
14029 +static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
14030 test_array [0] = 0
14031
14032 ;
14033 @@ -13631,27 +13938,22 @@ test_array [0] = 0
14034 }
14035 _ACEOF
14036 rm -f conftest.$ac_objext
14037 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14038 - (eval $ac_compile) 2>conftest.er1
14039 +if { (ac_try="$ac_compile"
14040 +case "(($ac_try" in
14041 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14042 + *) ac_try_echo=$ac_try;;
14043 +esac
14044 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14045 + (eval "$ac_compile") 2>conftest.er1
14046 ac_status=$?
14047 grep -v '^ *+' conftest.er1 >conftest.err
14048 rm -f conftest.er1
14049 cat conftest.err >&5
14050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14051 - (exit $ac_status); } &&
14052 - { ac_try='test -z "$ac_c_werror_flag"
14053 - || test ! -s conftest.err'
14054 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14055 - (eval $ac_try) 2>&5
14056 - ac_status=$?
14057 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14058 - (exit $ac_status); }; } &&
14059 - { ac_try='test -s conftest.$ac_objext'
14060 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14061 - (eval $ac_try) 2>&5
14062 - ac_status=$?
14063 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14064 - (exit $ac_status); }; }; then
14065 + (exit $ac_status); } && {
14066 + test -z "$ac_c_werror_flag" ||
14067 + test ! -s conftest.err
14068 + } && test -s conftest.$ac_objext; then
14069 ac_lo=0 ac_mid=0
14070 while :; do
14071 cat >conftest.$ac_ext <<_ACEOF
14072 @@ -13661,10 +13963,11 @@ cat confdefs.h >>conftest.$ac_ext
14073 cat >>conftest.$ac_ext <<_ACEOF
14074 /* end confdefs.h. */
14075 $ac_includes_default
14076 + typedef off_t ac__type_sizeof_;
14077 int
14078 main ()
14079 {
14080 -static int test_array [1 - 2 * !(((long) (sizeof (off_t))) <= $ac_mid)];
14081 +static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
14082 test_array [0] = 0
14083
14084 ;
14085 @@ -13672,56 +13975,53 @@ test_array [0] = 0
14086 }
14087 _ACEOF
14088 rm -f conftest.$ac_objext
14089 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14090 - (eval $ac_compile) 2>conftest.er1
14091 +if { (ac_try="$ac_compile"
14092 +case "(($ac_try" in
14093 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14094 + *) ac_try_echo=$ac_try;;
14095 +esac
14096 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14097 + (eval "$ac_compile") 2>conftest.er1
14098 ac_status=$?
14099 grep -v '^ *+' conftest.er1 >conftest.err
14100 rm -f conftest.er1
14101 cat conftest.err >&5
14102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14103 - (exit $ac_status); } &&
14104 - { ac_try='test -z "$ac_c_werror_flag"
14105 - || test ! -s conftest.err'
14106 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14107 - (eval $ac_try) 2>&5
14108 - ac_status=$?
14109 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14110 - (exit $ac_status); }; } &&
14111 - { ac_try='test -s conftest.$ac_objext'
14112 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14113 - (eval $ac_try) 2>&5
14114 - ac_status=$?
14115 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14116 - (exit $ac_status); }; }; then
14117 + (exit $ac_status); } && {
14118 + test -z "$ac_c_werror_flag" ||
14119 + test ! -s conftest.err
14120 + } && test -s conftest.$ac_objext; then
14121 ac_hi=$ac_mid; break
14122 else
14123 echo "$as_me: failed program was:" >&5
14124 sed 's/^/| /' conftest.$ac_ext >&5
14125
14126 -ac_lo=`expr $ac_mid + 1`
14127 - if test $ac_lo -le $ac_mid; then
14128 - ac_lo= ac_hi=
14129 - break
14130 - fi
14131 - ac_mid=`expr 2 '*' $ac_mid + 1`
14132 + ac_lo=`expr $ac_mid + 1`
14133 + if test $ac_lo -le $ac_mid; then
14134 + ac_lo= ac_hi=
14135 + break
14136 + fi
14137 + ac_mid=`expr 2 '*' $ac_mid + 1`
14138 fi
14139 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14140 +
14141 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14142 done
14143 else
14144 echo "$as_me: failed program was:" >&5
14145 sed 's/^/| /' conftest.$ac_ext >&5
14146
14147 -cat >conftest.$ac_ext <<_ACEOF
14148 + cat >conftest.$ac_ext <<_ACEOF
14149 /* confdefs.h. */
14150 _ACEOF
14151 cat confdefs.h >>conftest.$ac_ext
14152 cat >>conftest.$ac_ext <<_ACEOF
14153 /* end confdefs.h. */
14154 $ac_includes_default
14155 + typedef off_t ac__type_sizeof_;
14156 int
14157 main ()
14158 {
14159 -static int test_array [1 - 2 * !(((long) (sizeof (off_t))) < 0)];
14160 +static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
14161 test_array [0] = 0
14162
14163 ;
14164 @@ -13729,27 +14029,22 @@ test_array [0] = 0
14165 }
14166 _ACEOF
14167 rm -f conftest.$ac_objext
14168 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14169 - (eval $ac_compile) 2>conftest.er1
14170 +if { (ac_try="$ac_compile"
14171 +case "(($ac_try" in
14172 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14173 + *) ac_try_echo=$ac_try;;
14174 +esac
14175 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14176 + (eval "$ac_compile") 2>conftest.er1
14177 ac_status=$?
14178 grep -v '^ *+' conftest.er1 >conftest.err
14179 rm -f conftest.er1
14180 cat conftest.err >&5
14181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14182 - (exit $ac_status); } &&
14183 - { ac_try='test -z "$ac_c_werror_flag"
14184 - || test ! -s conftest.err'
14185 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14186 - (eval $ac_try) 2>&5
14187 - ac_status=$?
14188 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14189 - (exit $ac_status); }; } &&
14190 - { ac_try='test -s conftest.$ac_objext'
14191 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14192 - (eval $ac_try) 2>&5
14193 - ac_status=$?
14194 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14195 - (exit $ac_status); }; }; then
14196 + (exit $ac_status); } && {
14197 + test -z "$ac_c_werror_flag" ||
14198 + test ! -s conftest.err
14199 + } && test -s conftest.$ac_objext; then
14200 ac_hi=-1 ac_mid=-1
14201 while :; do
14202 cat >conftest.$ac_ext <<_ACEOF
14203 @@ -13759,10 +14054,11 @@ cat confdefs.h >>conftest.$ac_ext
14204 cat >>conftest.$ac_ext <<_ACEOF
14205 /* end confdefs.h. */
14206 $ac_includes_default
14207 + typedef off_t ac__type_sizeof_;
14208 int
14209 main ()
14210 {
14211 -static int test_array [1 - 2 * !(((long) (sizeof (off_t))) >= $ac_mid)];
14212 +static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
14213 test_array [0] = 0
14214
14215 ;
14216 @@ -13770,50 +14066,48 @@ test_array [0] = 0
14217 }
14218 _ACEOF
14219 rm -f conftest.$ac_objext
14220 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14221 - (eval $ac_compile) 2>conftest.er1
14222 +if { (ac_try="$ac_compile"
14223 +case "(($ac_try" in
14224 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14225 + *) ac_try_echo=$ac_try;;
14226 +esac
14227 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14228 + (eval "$ac_compile") 2>conftest.er1
14229 ac_status=$?
14230 grep -v '^ *+' conftest.er1 >conftest.err
14231 rm -f conftest.er1
14232 cat conftest.err >&5
14233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14234 - (exit $ac_status); } &&
14235 - { ac_try='test -z "$ac_c_werror_flag"
14236 - || test ! -s conftest.err'
14237 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14238 - (eval $ac_try) 2>&5
14239 - ac_status=$?
14240 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14241 - (exit $ac_status); }; } &&
14242 - { ac_try='test -s conftest.$ac_objext'
14243 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14244 - (eval $ac_try) 2>&5
14245 - ac_status=$?
14246 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14247 - (exit $ac_status); }; }; then
14248 + (exit $ac_status); } && {
14249 + test -z "$ac_c_werror_flag" ||
14250 + test ! -s conftest.err
14251 + } && test -s conftest.$ac_objext; then
14252 ac_lo=$ac_mid; break
14253 else
14254 echo "$as_me: failed program was:" >&5
14255 sed 's/^/| /' conftest.$ac_ext >&5
14256
14257 -ac_hi=`expr '(' $ac_mid ')' - 1`
14258 - if test $ac_mid -le $ac_hi; then
14259 - ac_lo= ac_hi=
14260 - break
14261 - fi
14262 - ac_mid=`expr 2 '*' $ac_mid`
14263 + ac_hi=`expr '(' $ac_mid ')' - 1`
14264 + if test $ac_mid -le $ac_hi; then
14265 + ac_lo= ac_hi=
14266 + break
14267 + fi
14268 + ac_mid=`expr 2 '*' $ac_mid`
14269 fi
14270 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14271 +
14272 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14273 done
14274 else
14275 echo "$as_me: failed program was:" >&5
14276 sed 's/^/| /' conftest.$ac_ext >&5
14277
14278 -ac_lo= ac_hi=
14279 + ac_lo= ac_hi=
14280 fi
14281 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14282 +
14283 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14284 fi
14285 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14286 +
14287 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14288 # Binary search between lo and hi bounds.
14289 while test "x$ac_lo" != "x$ac_hi"; do
14290 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14291 @@ -13824,10 +14118,11 @@ cat confdefs.h >>conftest.$ac_ext
14292 cat >>conftest.$ac_ext <<_ACEOF
14293 /* end confdefs.h. */
14294 $ac_includes_default
14295 + typedef off_t ac__type_sizeof_;
14296 int
14297 main ()
14298 {
14299 -static int test_array [1 - 2 * !(((long) (sizeof (off_t))) <= $ac_mid)];
14300 +static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
14301 test_array [0] = 0
14302
14303 ;
14304 @@ -13835,52 +14130,45 @@ test_array [0] = 0
14305 }
14306 _ACEOF
14307 rm -f conftest.$ac_objext
14308 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14309 - (eval $ac_compile) 2>conftest.er1
14310 +if { (ac_try="$ac_compile"
14311 +case "(($ac_try" in
14312 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14313 + *) ac_try_echo=$ac_try;;
14314 +esac
14315 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14316 + (eval "$ac_compile") 2>conftest.er1
14317 ac_status=$?
14318 grep -v '^ *+' conftest.er1 >conftest.err
14319 rm -f conftest.er1
14320 cat conftest.err >&5
14321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14322 - (exit $ac_status); } &&
14323 - { ac_try='test -z "$ac_c_werror_flag"
14324 - || test ! -s conftest.err'
14325 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14326 - (eval $ac_try) 2>&5
14327 - ac_status=$?
14328 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14329 - (exit $ac_status); }; } &&
14330 - { ac_try='test -s conftest.$ac_objext'
14331 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14332 - (eval $ac_try) 2>&5
14333 - ac_status=$?
14334 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14335 - (exit $ac_status); }; }; then
14336 + (exit $ac_status); } && {
14337 + test -z "$ac_c_werror_flag" ||
14338 + test ! -s conftest.err
14339 + } && test -s conftest.$ac_objext; then
14340 ac_hi=$ac_mid
14341 else
14342 echo "$as_me: failed program was:" >&5
14343 sed 's/^/| /' conftest.$ac_ext >&5
14344
14345 -ac_lo=`expr '(' $ac_mid ')' + 1`
14346 + ac_lo=`expr '(' $ac_mid ')' + 1`
14347 fi
14348 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14349 +
14350 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14351 done
14352 case $ac_lo in
14353 ?*) ac_cv_sizeof_off_t=$ac_lo;;
14354 -'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (off_t), 77
14355 +'') if test "$ac_cv_type_off_t" = yes; then
14356 + { { echo "$as_me:$LINENO: error: cannot compute sizeof (off_t)
14357 See \`config.log' for more details." >&5
14358 -echo "$as_me: error: cannot compute sizeof (off_t), 77
14359 +echo "$as_me: error: cannot compute sizeof (off_t)
14360 See \`config.log' for more details." >&2;}
14361 - { (exit 1); exit 1; }; } ;;
14362 + { (exit 77); exit 77; }; }
14363 + else
14364 + ac_cv_sizeof_off_t=0
14365 + fi ;;
14366 esac
14367 else
14368 - if test "$cross_compiling" = yes; then
14369 - { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14370 -See \`config.log' for more details." >&5
14371 -echo "$as_me: error: cannot run test program while cross compiling
14372 -See \`config.log' for more details." >&2;}
14373 - { (exit 1); exit 1; }; }
14374 -else
14375 cat >conftest.$ac_ext <<_ACEOF
14376 /* confdefs.h. */
14377 _ACEOF
14378 @@ -13888,8 +14176,9 @@ cat confdefs.h >>conftest.$ac_ext
14379 cat >>conftest.$ac_ext <<_ACEOF
14380 /* end confdefs.h. */
14381 $ac_includes_default
14382 -long longval () { return (long) (sizeof (off_t)); }
14383 -unsigned long ulongval () { return (long) (sizeof (off_t)); }
14384 + typedef off_t ac__type_sizeof_;
14385 +static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
14386 +static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
14387 #include <stdio.h>
14388 #include <stdlib.h>
14389 int
14390 @@ -13898,35 +14187,44 @@ main ()
14391
14392 FILE *f = fopen ("conftest.val", "w");
14393 if (! f)
14394 - exit (1);
14395 - if (((long) (sizeof (off_t))) < 0)
14396 + return 1;
14397 + if (((long int) (sizeof (ac__type_sizeof_))) < 0)
14398 {
14399 - long i = longval ();
14400 - if (i != ((long) (sizeof (off_t))))
14401 - exit (1);
14402 + long int i = longval ();
14403 + if (i != ((long int) (sizeof (ac__type_sizeof_))))
14404 + return 1;
14405 fprintf (f, "%ld\n", i);
14406 }
14407 else
14408 {
14409 - unsigned long i = ulongval ();
14410 - if (i != ((long) (sizeof (off_t))))
14411 - exit (1);
14412 + unsigned long int i = ulongval ();
14413 + if (i != ((long int) (sizeof (ac__type_sizeof_))))
14414 + return 1;
14415 fprintf (f, "%lu\n", i);
14416 }
14417 - exit (ferror (f) || fclose (f) != 0);
14418 + return ferror (f) || fclose (f) != 0;
14419
14420 ;
14421 return 0;
14422 }
14423 _ACEOF
14424 rm -f conftest$ac_exeext
14425 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14426 - (eval $ac_link) 2>&5
14427 +if { (ac_try="$ac_link"
14428 +case "(($ac_try" in
14429 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14430 + *) ac_try_echo=$ac_try;;
14431 +esac
14432 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14433 + (eval "$ac_link") 2>&5
14434 ac_status=$?
14435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14436 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14437 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14438 - (eval $ac_try) 2>&5
14439 + { (case "(($ac_try" in
14440 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14441 + *) ac_try_echo=$ac_try;;
14442 +esac
14443 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14444 + (eval "$ac_try") 2>&5
14445 ac_status=$?
14446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14447 (exit $ac_status); }; }; then
14448 @@ -13937,30 +14235,33 @@ echo "$as_me: failed program was:" >&5
14449 sed 's/^/| /' conftest.$ac_ext >&5
14450
14451 ( exit $ac_status )
14452 -{ { echo "$as_me:$LINENO: error: cannot compute sizeof (off_t), 77
14453 +if test "$ac_cv_type_off_t" = yes; then
14454 + { { echo "$as_me:$LINENO: error: cannot compute sizeof (off_t)
14455 See \`config.log' for more details." >&5
14456 -echo "$as_me: error: cannot compute sizeof (off_t), 77
14457 +echo "$as_me: error: cannot compute sizeof (off_t)
14458 See \`config.log' for more details." >&2;}
14459 - { (exit 1); exit 1; }; }
14460 -fi
14461 -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14462 + { (exit 77); exit 77; }; }
14463 + else
14464 + ac_cv_sizeof_off_t=0
14465 + fi
14466 fi
14467 +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14468 fi
14469 rm -f conftest.val
14470 -else
14471 - ac_cv_sizeof_off_t=0
14472 -fi
14473 fi
14474 -echo "$as_me:$LINENO: result: $ac_cv_sizeof_off_t" >&5
14475 -echo "${ECHO_T}$ac_cv_sizeof_off_t" >&6
14476 +{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_off_t" >&5
14477 +echo "${ECHO_T}$ac_cv_sizeof_off_t" >&6; }
14478 +
14479 +
14480 +
14481 cat >>confdefs.h <<_ACEOF
14482 #define SIZEOF_OFF_T $ac_cv_sizeof_off_t
14483 _ACEOF
14484
14485
14486 fi
14487 -echo "$as_me:$LINENO: checking file_ptr type" >&5
14488 -echo $ECHO_N "checking file_ptr type... $ECHO_C" >&6
14489 +{ echo "$as_me:$LINENO: checking file_ptr type" >&5
14490 +echo $ECHO_N "checking file_ptr type... $ECHO_C" >&6; }
14491 bfd_file_ptr="long"
14492 bfd_ufile_ptr="unsigned long"
14493 if test x"$ac_cv_func_ftello64" = xyes -a x"$ac_cv_func_fseeko64" = xyes \
14494 @@ -13968,8 +14269,8 @@ if test x"$ac_cv_func_ftello64" = xyes -
14495 bfd_file_ptr=BFD_HOST_64_BIT
14496 bfd_ufile_ptr=BFD_HOST_U_64_BIT
14497 fi
14498 -echo "$as_me:$LINENO: result: $bfd_file_ptr" >&5
14499 -echo "${ECHO_T}$bfd_file_ptr" >&6
14500 +{ echo "$as_me:$LINENO: result: $bfd_file_ptr" >&5
14501 +echo "${ECHO_T}$bfd_file_ptr" >&6; }
14502
14503
14504
14505 @@ -13987,18 +14288,19 @@ test -n "${havevecs}" && tdefaults="${td
14506 for ac_header in stdlib.h unistd.h
14507 do
14508 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14509 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
14510 - echo "$as_me:$LINENO: checking for $ac_header" >&5
14511 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14512 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
14513 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14514 + { echo "$as_me:$LINENO: checking for $ac_header" >&5
14515 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
14516 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14517 echo $ECHO_N "(cached) $ECHO_C" >&6
14518 fi
14519 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14520 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14521 +ac_res=`eval echo '${'$as_ac_Header'}'`
14522 + { echo "$as_me:$LINENO: result: $ac_res" >&5
14523 +echo "${ECHO_T}$ac_res" >&6; }
14524 else
14525 # Is the header compilable?
14526 -echo "$as_me:$LINENO: checking $ac_header usability" >&5
14527 -echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14528 +{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
14529 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
14530 cat >conftest.$ac_ext <<_ACEOF
14531 /* confdefs.h. */
14532 _ACEOF
14533 @@ -14009,41 +14311,37 @@ $ac_includes_default
14534 #include <$ac_header>
14535 _ACEOF
14536 rm -f conftest.$ac_objext
14537 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14538 - (eval $ac_compile) 2>conftest.er1
14539 +if { (ac_try="$ac_compile"
14540 +case "(($ac_try" in
14541 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14542 + *) ac_try_echo=$ac_try;;
14543 +esac
14544 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14545 + (eval "$ac_compile") 2>conftest.er1
14546 ac_status=$?
14547 grep -v '^ *+' conftest.er1 >conftest.err
14548 rm -f conftest.er1
14549 cat conftest.err >&5
14550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14551 - (exit $ac_status); } &&
14552 - { ac_try='test -z "$ac_c_werror_flag"
14553 - || test ! -s conftest.err'
14554 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14555 - (eval $ac_try) 2>&5
14556 - ac_status=$?
14557 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14558 - (exit $ac_status); }; } &&
14559 - { ac_try='test -s conftest.$ac_objext'
14560 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14561 - (eval $ac_try) 2>&5
14562 - ac_status=$?
14563 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14564 - (exit $ac_status); }; }; then
14565 + (exit $ac_status); } && {
14566 + test -z "$ac_c_werror_flag" ||
14567 + test ! -s conftest.err
14568 + } && test -s conftest.$ac_objext; then
14569 ac_header_compiler=yes
14570 else
14571 echo "$as_me: failed program was:" >&5
14572 sed 's/^/| /' conftest.$ac_ext >&5
14573
14574 -ac_header_compiler=no
14575 + ac_header_compiler=no
14576 fi
14577 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14578 -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14579 -echo "${ECHO_T}$ac_header_compiler" >&6
14580 +
14581 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14582 +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14583 +echo "${ECHO_T}$ac_header_compiler" >&6; }
14584
14585 # Is the header present?
14586 -echo "$as_me:$LINENO: checking $ac_header presence" >&5
14587 -echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14588 +{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
14589 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
14590 cat >conftest.$ac_ext <<_ACEOF
14591 /* confdefs.h. */
14592 _ACEOF
14593 @@ -14052,24 +14350,22 @@ cat >>conftest.$ac_ext <<_ACEOF
14594 /* end confdefs.h. */
14595 #include <$ac_header>
14596 _ACEOF
14597 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14598 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14599 +if { (ac_try="$ac_cpp conftest.$ac_ext"
14600 +case "(($ac_try" in
14601 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14602 + *) ac_try_echo=$ac_try;;
14603 +esac
14604 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14605 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14606 ac_status=$?
14607 grep -v '^ *+' conftest.er1 >conftest.err
14608 rm -f conftest.er1
14609 cat conftest.err >&5
14610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14611 - (exit $ac_status); } >/dev/null; then
14612 - if test -s conftest.err; then
14613 - ac_cpp_err=$ac_c_preproc_warn_flag
14614 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14615 - else
14616 - ac_cpp_err=
14617 - fi
14618 -else
14619 - ac_cpp_err=yes
14620 -fi
14621 -if test -z "$ac_cpp_err"; then
14622 + (exit $ac_status); } >/dev/null && {
14623 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14624 + test ! -s conftest.err
14625 + }; then
14626 ac_header_preproc=yes
14627 else
14628 echo "$as_me: failed program was:" >&5
14629 @@ -14077,9 +14373,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
14630
14631 ac_header_preproc=no
14632 fi
14633 +
14634 rm -f conftest.err conftest.$ac_ext
14635 -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14636 -echo "${ECHO_T}$ac_header_preproc" >&6
14637 +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14638 +echo "${ECHO_T}$ac_header_preproc" >&6; }
14639
14640 # So? What about this header?
14641 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14642 @@ -14103,25 +14400,19 @@ echo "$as_me: WARNING: $ac_header: s
14643 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14644 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14645 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14646 - (
14647 - cat <<\_ASBOX
14648 -## ------------------------------------------ ##
14649 -## Report this to the AC_PACKAGE_NAME lists. ##
14650 -## ------------------------------------------ ##
14651 -_ASBOX
14652 - ) |
14653 - sed "s/^/$as_me: WARNING: /" >&2
14654 +
14655 ;;
14656 esac
14657 -echo "$as_me:$LINENO: checking for $ac_header" >&5
14658 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14659 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
14660 +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
14661 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
14662 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14663 echo $ECHO_N "(cached) $ECHO_C" >&6
14664 else
14665 eval "$as_ac_Header=\$ac_header_preproc"
14666 fi
14667 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14668 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14669 +ac_res=`eval echo '${'$as_ac_Header'}'`
14670 + { echo "$as_me:$LINENO: result: $ac_res" >&5
14671 +echo "${ECHO_T}$ac_res" >&6; }
14672
14673 fi
14674 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14675 @@ -14137,9 +14428,9 @@ done
14676 for ac_func in getpagesize
14677 do
14678 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14679 -echo "$as_me:$LINENO: checking for $ac_func" >&5
14680 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14681 -if eval "test \"\${$as_ac_var+set}\" = set"; then
14682 +{ echo "$as_me:$LINENO: checking for $ac_func" >&5
14683 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
14684 +if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14685 echo $ECHO_N "(cached) $ECHO_C" >&6
14686 else
14687 cat >conftest.$ac_ext <<_ACEOF
14688 @@ -14165,68 +14456,60 @@ cat >>conftest.$ac_ext <<_ACEOF
14689
14690 #undef $ac_func
14691
14692 -/* Override any gcc2 internal prototype to avoid an error. */
14693 +/* Override any GCC internal prototype to avoid an error.
14694 + Use char because int might match the return type of a GCC
14695 + builtin and then its argument prototype would still apply. */
14696 #ifdef __cplusplus
14697 extern "C"
14698 -{
14699 #endif
14700 -/* We use char because int might match the return type of a gcc2
14701 - builtin and then its argument prototype would still apply. */
14702 char $ac_func ();
14703 /* The GNU C library defines this for functions which it implements
14704 to always fail with ENOSYS. Some functions are actually named
14705 something starting with __ and the normal name is an alias. */
14706 -#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14707 +#if defined __stub_$ac_func || defined __stub___$ac_func
14708 choke me
14709 -#else
14710 -char (*f) () = $ac_func;
14711 -#endif
14712 -#ifdef __cplusplus
14713 -}
14714 #endif
14715
14716 int
14717 main ()
14718 {
14719 -return f != $ac_func;
14720 +return $ac_func ();
14721 ;
14722 return 0;
14723 }
14724 _ACEOF
14725 rm -f conftest.$ac_objext conftest$ac_exeext
14726 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14727 - (eval $ac_link) 2>conftest.er1
14728 +if { (ac_try="$ac_link"
14729 +case "(($ac_try" in
14730 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14731 + *) ac_try_echo=$ac_try;;
14732 +esac
14733 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14734 + (eval "$ac_link") 2>conftest.er1
14735 ac_status=$?
14736 grep -v '^ *+' conftest.er1 >conftest.err
14737 rm -f conftest.er1
14738 cat conftest.err >&5
14739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14740 - (exit $ac_status); } &&
14741 - { ac_try='test -z "$ac_c_werror_flag"
14742 - || test ! -s conftest.err'
14743 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14744 - (eval $ac_try) 2>&5
14745 - ac_status=$?
14746 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14747 - (exit $ac_status); }; } &&
14748 - { ac_try='test -s conftest$ac_exeext'
14749 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14750 - (eval $ac_try) 2>&5
14751 - ac_status=$?
14752 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14753 - (exit $ac_status); }; }; then
14754 + (exit $ac_status); } && {
14755 + test -z "$ac_c_werror_flag" ||
14756 + test ! -s conftest.err
14757 + } && test -s conftest$ac_exeext &&
14758 + $as_test_x conftest$ac_exeext; then
14759 eval "$as_ac_var=yes"
14760 else
14761 echo "$as_me: failed program was:" >&5
14762 sed 's/^/| /' conftest.$ac_ext >&5
14763
14764 -eval "$as_ac_var=no"
14765 + eval "$as_ac_var=no"
14766 fi
14767 -rm -f conftest.err conftest.$ac_objext \
14768 +
14769 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14770 conftest$ac_exeext conftest.$ac_ext
14771 fi
14772 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14773 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14774 +ac_res=`eval echo '${'$as_ac_var'}'`
14775 + { echo "$as_me:$LINENO: result: $ac_res" >&5
14776 +echo "${ECHO_T}$ac_res" >&6; }
14777 if test `eval echo '${'$as_ac_var'}'` = yes; then
14778 cat >>confdefs.h <<_ACEOF
14779 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14780 @@ -14235,8 +14518,8 @@ _ACEOF
14781 fi
14782 done
14783
14784 -echo "$as_me:$LINENO: checking for working mmap" >&5
14785 -echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
14786 +{ echo "$as_me:$LINENO: checking for working mmap" >&5
14787 +echo $ECHO_N "checking for working mmap... $ECHO_C" >&6; }
14788 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
14789 echo $ECHO_N "(cached) $ECHO_C" >&6
14790 else
14791 @@ -14278,21 +14561,21 @@ $ac_includes_default
14792 #include <fcntl.h>
14793 #include <sys/mman.h>
14794
14795 -#if !STDC_HEADERS && !HAVE_STDLIB_H
14796 +#if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
14797 char *malloc ();
14798 #endif
14799
14800 /* This mess was copied from the GNU getpagesize.h. */
14801 -#if !HAVE_GETPAGESIZE
14802 +#ifndef HAVE_GETPAGESIZE
14803 /* Assume that all systems that can run configure have sys/param.h. */
14804 -# if !HAVE_SYS_PARAM_H
14805 +# ifndef HAVE_SYS_PARAM_H
14806 # define HAVE_SYS_PARAM_H 1
14807 # endif
14808
14809 # ifdef _SC_PAGESIZE
14810 # define getpagesize() sysconf(_SC_PAGESIZE)
14811 # else /* no _SC_PAGESIZE */
14812 -# if HAVE_SYS_PARAM_H
14813 +# ifdef HAVE_SYS_PARAM_H
14814 # include <sys/param.h>
14815 # ifdef EXEC_PAGESIZE
14816 # define getpagesize() EXEC_PAGESIZE
14817 @@ -14331,15 +14614,15 @@ main ()
14818 /* First, make a file with some known garbage in it. */
14819 data = (char *) malloc (pagesize);
14820 if (!data)
14821 - exit (1);
14822 + return 1;
14823 for (i = 0; i < pagesize; ++i)
14824 *(data + i) = rand ();
14825 umask (0);
14826 fd = creat ("conftest.mmap", 0600);
14827 if (fd < 0)
14828 - exit (1);
14829 + return 1;
14830 if (write (fd, data, pagesize) != pagesize)
14831 - exit (1);
14832 + return 1;
14833 close (fd);
14834
14835 /* Next, try to mmap the file at a fixed address which already has
14836 @@ -14347,17 +14630,17 @@ main ()
14837 we see the same garbage. */
14838 fd = open ("conftest.mmap", O_RDWR);
14839 if (fd < 0)
14840 - exit (1);
14841 + return 1;
14842 data2 = (char *) malloc (2 * pagesize);
14843 if (!data2)
14844 - exit (1);
14845 - data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
14846 + return 1;
14847 + data2 += (pagesize - ((long int) data2 & (pagesize - 1))) & (pagesize - 1);
14848 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
14849 MAP_PRIVATE | MAP_FIXED, fd, 0L))
14850 - exit (1);
14851 + return 1;
14852 for (i = 0; i < pagesize; ++i)
14853 if (*(data + i) != *(data2 + i))
14854 - exit (1);
14855 + return 1;
14856
14857 /* Finally, make sure that changes to the mapped area do not
14858 percolate back to the file as seen by read(). (This is a bug on
14859 @@ -14366,24 +14649,33 @@ main ()
14860 *(data2 + i) = *(data2 + i) + 1;
14861 data3 = (char *) malloc (pagesize);
14862 if (!data3)
14863 - exit (1);
14864 + return 1;
14865 if (read (fd, data3, pagesize) != pagesize)
14866 - exit (1);
14867 + return 1;
14868 for (i = 0; i < pagesize; ++i)
14869 if (*(data + i) != *(data3 + i))
14870 - exit (1);
14871 + return 1;
14872 close (fd);
14873 - exit (0);
14874 + return 0;
14875 }
14876 _ACEOF
14877 rm -f conftest$ac_exeext
14878 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14879 - (eval $ac_link) 2>&5
14880 +if { (ac_try="$ac_link"
14881 +case "(($ac_try" in
14882 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14883 + *) ac_try_echo=$ac_try;;
14884 +esac
14885 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14886 + (eval "$ac_link") 2>&5
14887 ac_status=$?
14888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14889 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14890 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14891 - (eval $ac_try) 2>&5
14892 + { (case "(($ac_try" in
14893 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14894 + *) ac_try_echo=$ac_try;;
14895 +esac
14896 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14897 + (eval "$ac_try") 2>&5
14898 ac_status=$?
14899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14900 (exit $ac_status); }; }; then
14901 @@ -14396,11 +14688,13 @@ sed 's/^/| /' conftest.$ac_ext >&5
14902 ( exit $ac_status )
14903 ac_cv_func_mmap_fixed_mapped=no
14904 fi
14905 -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14906 +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14907 fi
14908 +
14909 +
14910 fi
14911 -echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
14912 -echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
14913 +{ echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
14914 +echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6; }
14915 if test $ac_cv_func_mmap_fixed_mapped = yes; then
14916
14917 cat >>confdefs.h <<\_ACEOF
14918 @@ -14415,9 +14709,9 @@ rm -f conftest.mmap
14919 for ac_func in madvise mprotect
14920 do
14921 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14922 -echo "$as_me:$LINENO: checking for $ac_func" >&5
14923 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14924 -if eval "test \"\${$as_ac_var+set}\" = set"; then
14925 +{ echo "$as_me:$LINENO: checking for $ac_func" >&5
14926 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
14927 +if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14928 echo $ECHO_N "(cached) $ECHO_C" >&6
14929 else
14930 cat >conftest.$ac_ext <<_ACEOF
14931 @@ -14443,68 +14737,60 @@ cat >>conftest.$ac_ext <<_ACEOF
14932
14933 #undef $ac_func
14934
14935 -/* Override any gcc2 internal prototype to avoid an error. */
14936 +/* Override any GCC internal prototype to avoid an error.
14937 + Use char because int might match the return type of a GCC
14938 + builtin and then its argument prototype would still apply. */
14939 #ifdef __cplusplus
14940 extern "C"
14941 -{
14942 #endif
14943 -/* We use char because int might match the return type of a gcc2
14944 - builtin and then its argument prototype would still apply. */
14945 char $ac_func ();
14946 /* The GNU C library defines this for functions which it implements
14947 to always fail with ENOSYS. Some functions are actually named
14948 something starting with __ and the normal name is an alias. */
14949 -#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14950 +#if defined __stub_$ac_func || defined __stub___$ac_func
14951 choke me
14952 -#else
14953 -char (*f) () = $ac_func;
14954 -#endif
14955 -#ifdef __cplusplus
14956 -}
14957 #endif
14958
14959 int
14960 main ()
14961 {
14962 -return f != $ac_func;
14963 +return $ac_func ();
14964 ;
14965 return 0;
14966 }
14967 _ACEOF
14968 rm -f conftest.$ac_objext conftest$ac_exeext
14969 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14970 - (eval $ac_link) 2>conftest.er1
14971 +if { (ac_try="$ac_link"
14972 +case "(($ac_try" in
14973 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14974 + *) ac_try_echo=$ac_try;;
14975 +esac
14976 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14977 + (eval "$ac_link") 2>conftest.er1
14978 ac_status=$?
14979 grep -v '^ *+' conftest.er1 >conftest.err
14980 rm -f conftest.er1
14981 cat conftest.err >&5
14982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14983 - (exit $ac_status); } &&
14984 - { ac_try='test -z "$ac_c_werror_flag"
14985 - || test ! -s conftest.err'
14986 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14987 - (eval $ac_try) 2>&5
14988 - ac_status=$?
14989 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14990 - (exit $ac_status); }; } &&
14991 - { ac_try='test -s conftest$ac_exeext'
14992 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14993 - (eval $ac_try) 2>&5
14994 - ac_status=$?
14995 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14996 - (exit $ac_status); }; }; then
14997 + (exit $ac_status); } && {
14998 + test -z "$ac_c_werror_flag" ||
14999 + test ! -s conftest.err
15000 + } && test -s conftest$ac_exeext &&
15001 + $as_test_x conftest$ac_exeext; then
15002 eval "$as_ac_var=yes"
15003 else
15004 echo "$as_me: failed program was:" >&5
15005 sed 's/^/| /' conftest.$ac_ext >&5
15006
15007 -eval "$as_ac_var=no"
15008 + eval "$as_ac_var=no"
15009 fi
15010 -rm -f conftest.err conftest.$ac_objext \
15011 +
15012 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15013 conftest$ac_exeext conftest.$ac_ext
15014 fi
15015 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15016 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15017 +ac_res=`eval echo '${'$as_ac_var'}'`
15018 + { echo "$as_me:$LINENO: result: $ac_res" >&5
15019 +echo "${ECHO_T}$ac_res" >&6; }
15020 if test `eval echo '${'$as_ac_var'}'` = yes; then
15021 cat >>confdefs.h <<_ACEOF
15022 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15023 @@ -14522,9 +14808,9 @@ _ACEOF
15024 esac
15025
15026 rm -f doc/config.status
15027 - ac_config_files="$ac_config_files Makefile doc/Makefile bfd-in3.h:bfd-in2.h po/Makefile.in:po/Make-in"
15028 +ac_config_files="$ac_config_files Makefile doc/Makefile bfd-in3.h:bfd-in2.h po/Makefile.in:po/Make-in"
15029
15030 - ac_config_commands="$ac_config_commands default"
15031 +ac_config_commands="$ac_config_commands default"
15032
15033
15034
15035 @@ -14549,39 +14835,58 @@ _ACEOF
15036
15037 # The following way of writing the cache mishandles newlines in values,
15038 # but we know of no workaround that is simple, portable, and efficient.
15039 -# So, don't put newlines in cache variables' values.
15040 +# So, we kill variables containing newlines.
15041 # Ultrix sh set writes to stderr and can't be redirected directly,
15042 # and sets the high bit in the cache file unless we assign to the vars.
15043 -{
15044 +(
15045 + for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15046 + eval ac_val=\$$ac_var
15047 + case $ac_val in #(
15048 + *${as_nl}*)
15049 + case $ac_var in #(
15050 + *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
15051 +echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
15052 + esac
15053 + case $ac_var in #(
15054 + _ | IFS | as_nl) ;; #(
15055 + *) $as_unset $ac_var ;;
15056 + esac ;;
15057 + esac
15058 + done
15059 +
15060 (set) 2>&1 |
15061 - case `(ac_space=' '; set | grep ac_space) 2>&1` in
15062 - *ac_space=\ *)
15063 + case $as_nl`(ac_space=' '; set) 2>&1` in #(
15064 + *${as_nl}ac_space=\ *)
15065 # `set' does not quote correctly, so add quotes (double-quote
15066 # substitution turns \\\\ into \\, and sed turns \\ into \).
15067 sed -n \
15068 "s/'/'\\\\''/g;
15069 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15070 - ;;
15071 + ;; #(
15072 *)
15073 # `set' quotes correctly as required by POSIX, so do not add quotes.
15074 - sed -n \
15075 - "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
15076 + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15077 ;;
15078 - esac;
15079 -} |
15080 + esac |
15081 + sort
15082 +) |
15083 sed '
15084 + /^ac_cv_env_/b end
15085 t clear
15086 - : clear
15087 + :clear
15088 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15089 t end
15090 - /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15091 - : end' >>confcache
15092 -if diff $cache_file confcache >/dev/null 2>&1; then :; else
15093 - if test -w $cache_file; then
15094 - test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
15095 + s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15096 + :end' >>confcache
15097 +if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15098 + if test -w "$cache_file"; then
15099 + test "x$cache_file" != "x/dev/null" &&
15100 + { echo "$as_me:$LINENO: updating cache $cache_file" >&5
15101 +echo "$as_me: updating cache $cache_file" >&6;}
15102 cat confcache >$cache_file
15103 else
15104 - echo "not updating unwritable cache $cache_file"
15105 + { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
15106 +echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15107 fi
15108 fi
15109 rm -f confcache
15110 @@ -14590,32 +14895,18 @@ test "x$prefix" = xNONE && prefix=$ac_de
15111 # Let make expand exec_prefix.
15112 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
15113
15114 -# VPATH may cause trouble with some makes, so we remove $(srcdir),
15115 -# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
15116 -# trailing colons and then remove the whole line if VPATH becomes empty
15117 -# (actually we leave an empty line to preserve line numbers).
15118 -if test "x$srcdir" = x.; then
15119 - ac_vpsub='/^[ ]*VPATH[ ]*=/{
15120 -s/:*\$(srcdir):*/:/;
15121 -s/:*\${srcdir}:*/:/;
15122 -s/:*@srcdir@:*/:/;
15123 -s/^\([^=]*=[ ]*\):*/\1/;
15124 -s/:*$//;
15125 -s/^[^=]*=[ ]*$//;
15126 -}'
15127 -fi
15128 -
15129 DEFS=-DHAVE_CONFIG_H
15130
15131 ac_libobjs=
15132 ac_ltlibobjs=
15133 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
15134 # 1. Remove the extension, and $U if already installed.
15135 - ac_i=`echo "$ac_i" |
15136 - sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
15137 - # 2. Add them.
15138 - ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
15139 - ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
15140 + ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
15141 + ac_i=`echo "$ac_i" | sed "$ac_script"`
15142 + # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15143 + # will be set to the directory where LIBOBJS objects are built.
15144 + ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15145 + ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
15146 done
15147 LIBOBJS=$ac_libobjs
15148
15149 @@ -14674,17 +14965,45 @@ cat >>$CONFIG_STATUS <<\_ACEOF
15150 ## M4sh Initialization. ##
15151 ## --------------------- ##
15152
15153 -# Be Bourne compatible
15154 +# Be more Bourne compatible
15155 +DUALCASE=1; export DUALCASE # for MKS sh
15156 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
15157 emulate sh
15158 NULLCMD=:
15159 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
15160 # is contrary to our usage. Disable this feature.
15161 alias -g '${1+"$@"}'='"$@"'
15162 -elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
15163 - set -o posix
15164 + setopt NO_GLOB_SUBST
15165 +else
15166 + case `(set -o) 2>/dev/null` in
15167 + *posix*) set -o posix ;;
15168 +esac
15169 +
15170 +fi
15171 +
15172 +
15173 +
15174 +
15175 +# PATH needs CR
15176 +# Avoid depending upon Character Ranges.
15177 +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
15178 +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15179 +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
15180 +as_cr_digits='0123456789'
15181 +as_cr_alnum=$as_cr_Letters$as_cr_digits
15182 +
15183 +# The user is always right.
15184 +if test "${PATH_SEPARATOR+set}" != set; then
15185 + echo "#! /bin/sh" >conf$$.sh
15186 + echo "exit 0" >>conf$$.sh
15187 + chmod +x conf$$.sh
15188 + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
15189 + PATH_SEPARATOR=';'
15190 + else
15191 + PATH_SEPARATOR=:
15192 + fi
15193 + rm -f conf$$.sh
15194 fi
15195 -DUALCASE=1; export DUALCASE # for MKS sh
15196
15197 # Support unset when possible.
15198 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
15199 @@ -14694,8 +15013,43 @@ else
15200 fi
15201
15202
15203 +# IFS
15204 +# We need space, tab and new line, in precisely that order. Quoting is
15205 +# there to prevent editors from complaining about space-tab.
15206 +# (If _AS_PATH_WALK were called with IFS unset, it would disable word
15207 +# splitting by setting IFS to empty value.)
15208 +as_nl='
15209 +'
15210 +IFS=" "" $as_nl"
15211 +
15212 +# Find who we are. Look in the path if we contain no directory separator.
15213 +case $0 in
15214 + *[\\/]* ) as_myself=$0 ;;
15215 + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15216 +for as_dir in $PATH
15217 +do
15218 + IFS=$as_save_IFS
15219 + test -z "$as_dir" && as_dir=.
15220 + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15221 +done
15222 +IFS=$as_save_IFS
15223 +
15224 + ;;
15225 +esac
15226 +# We did not find ourselves, most probably we were run as `sh COMMAND'
15227 +# in which case we are not to be found in the path.
15228 +if test "x$as_myself" = x; then
15229 + as_myself=$0
15230 +fi
15231 +if test ! -f "$as_myself"; then
15232 + echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15233 + { (exit 1); exit 1; }
15234 +fi
15235 +
15236 # Work around bugs in pre-3.0 UWIN ksh.
15237 -$as_unset ENV MAIL MAILPATH
15238 +for as_var in ENV MAIL MAILPATH
15239 +do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
15240 +done
15241 PS1='$ '
15242 PS2='> '
15243 PS4='+ '
15244 @@ -14709,18 +15063,19 @@ do
15245 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
15246 eval $as_var=C; export $as_var
15247 else
15248 - $as_unset $as_var
15249 + ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
15250 fi
15251 done
15252
15253 # Required to use basename.
15254 -if expr a : '\(a\)' >/dev/null 2>&1; then
15255 +if expr a : '\(a\)' >/dev/null 2>&1 &&
15256 + test "X`expr 00001 : '.*\(...\)'`" = X001; then
15257 as_expr=expr
15258 else
15259 as_expr=false
15260 fi
15261
15262 -if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
15263 +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15264 as_basename=basename
15265 else
15266 as_basename=false
15267 @@ -14728,159 +15083,120 @@ fi
15268
15269
15270 # Name of the executable.
15271 -as_me=`$as_basename "$0" ||
15272 +as_me=`$as_basename -- "$0" ||
15273 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15274 X"$0" : 'X\(//\)$' \| \
15275 - X"$0" : 'X\(/\)$' \| \
15276 - . : '\(.\)' 2>/dev/null ||
15277 + X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15278 echo X/"$0" |
15279 - sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
15280 - /^X\/\(\/\/\)$/{ s//\1/; q; }
15281 - /^X\/\(\/\).*/{ s//\1/; q; }
15282 - s/.*/./; q'`
15283 + sed '/^.*\/\([^/][^/]*\)\/*$/{
15284 + s//\1/
15285 + q
15286 + }
15287 + /^X\/\(\/\/\)$/{
15288 + s//\1/
15289 + q
15290 + }
15291 + /^X\/\(\/\).*/{
15292 + s//\1/
15293 + q
15294 + }
15295 + s/.*/./; q'`
15296
15297 -
15298 -# PATH needs CR, and LINENO needs CR and PATH.
15299 -# Avoid depending upon Character Ranges.
15300 -as_cr_letters='abcdefghijklmnopqrstuvwxyz'
15301 -as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15302 -as_cr_Letters=$as_cr_letters$as_cr_LETTERS
15303 -as_cr_digits='0123456789'
15304 -as_cr_alnum=$as_cr_Letters$as_cr_digits
15305 -
15306 -# The user is always right.
15307 -if test "${PATH_SEPARATOR+set}" != set; then
15308 - echo "#! /bin/sh" >conf$$.sh
15309 - echo "exit 0" >>conf$$.sh
15310 - chmod +x conf$$.sh
15311 - if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
15312 - PATH_SEPARATOR=';'
15313 - else
15314 - PATH_SEPARATOR=:
15315 - fi
15316 - rm -f conf$$.sh
15317 -fi
15318 +# CDPATH.
15319 +$as_unset CDPATH
15320
15321
15322 - as_lineno_1=$LINENO
15323 - as_lineno_2=$LINENO
15324 - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
15325 - test "x$as_lineno_1" != "x$as_lineno_2" &&
15326 - test "x$as_lineno_3" = "x$as_lineno_2" || {
15327 - # Find who we are. Look in the path if we contain no path at all
15328 - # relative or not.
15329 - case $0 in
15330 - *[\\/]* ) as_myself=$0 ;;
15331 - *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15332 -for as_dir in $PATH
15333 -do
15334 - IFS=$as_save_IFS
15335 - test -z "$as_dir" && as_dir=.
15336 - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15337 -done
15338
15339 - ;;
15340 - esac
15341 - # We did not find ourselves, most probably we were run as `sh COMMAND'
15342 - # in which case we are not to be found in the path.
15343 - if test "x$as_myself" = x; then
15344 - as_myself=$0
15345 - fi
15346 - if test ! -f "$as_myself"; then
15347 - { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
15348 -echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
15349 - { (exit 1); exit 1; }; }
15350 - fi
15351 - case $CONFIG_SHELL in
15352 - '')
15353 - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15354 -for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
15355 -do
15356 - IFS=$as_save_IFS
15357 - test -z "$as_dir" && as_dir=.
15358 - for as_base in sh bash ksh sh5; do
15359 - case $as_dir in
15360 - /*)
15361 - if ("$as_dir/$as_base" -c '
15362 as_lineno_1=$LINENO
15363 as_lineno_2=$LINENO
15364 - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
15365 test "x$as_lineno_1" != "x$as_lineno_2" &&
15366 - test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
15367 - $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
15368 - $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
15369 - CONFIG_SHELL=$as_dir/$as_base
15370 - export CONFIG_SHELL
15371 - exec "$CONFIG_SHELL" "$0" ${1+"$@"}
15372 - fi;;
15373 - esac
15374 - done
15375 -done
15376 -;;
15377 - esac
15378 + test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
15379
15380 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
15381 # uniformly replaced by the line number. The first 'sed' inserts a
15382 - # line-number line before each line; the second 'sed' does the real
15383 - # work. The second script uses 'N' to pair each line-number line
15384 - # with the numbered line, and appends trailing '-' during
15385 - # substitution so that $LINENO is not a special case at line end.
15386 + # line-number line after each line using $LINENO; the second 'sed'
15387 + # does the real work. The second script uses 'N' to pair each
15388 + # line-number line with the line containing $LINENO, and appends
15389 + # trailing '-' during substitution so that $LINENO is not a special
15390 + # case at line end.
15391 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
15392 - # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
15393 - sed '=' <$as_myself |
15394 + # scripts with optimization help from Paolo Bonzini. Blame Lee
15395 + # E. McMahon (1931-1989) for sed's syntax. :-)
15396 + sed -n '
15397 + p
15398 + /[$]LINENO/=
15399 + ' <$as_myself |
15400 sed '
15401 + s/[$]LINENO.*/&-/
15402 + t lineno
15403 + b
15404 + :lineno
15405 N
15406 - s,$,-,
15407 - : loop
15408 - s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
15409 + :loop
15410 + s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
15411 t loop
15412 - s,-$,,
15413 - s,^['$as_cr_digits']*\n,,
15414 + s/-\n.*//
15415 ' >$as_me.lineno &&
15416 - chmod +x $as_me.lineno ||
15417 - { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
15418 -echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
15419 + chmod +x "$as_me.lineno" ||
15420 + { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
15421 { (exit 1); exit 1; }; }
15422
15423 # Don't try to exec as it changes $[0], causing all sort of problems
15424 # (the dirname of $[0] is not the place where we might find the
15425 - # original and so on. Autoconf is especially sensible to this).
15426 - . ./$as_me.lineno
15427 + # original and so on. Autoconf is especially sensitive to this).
15428 + . "./$as_me.lineno"
15429 # Exit status is that of the last command.
15430 exit
15431 }
15432
15433
15434 -case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
15435 - *c*,-n*) ECHO_N= ECHO_C='
15436 -' ECHO_T=' ' ;;
15437 - *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
15438 - *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
15439 +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
15440 + as_dirname=dirname
15441 +else
15442 + as_dirname=false
15443 +fi
15444 +
15445 +ECHO_C= ECHO_N= ECHO_T=
15446 +case `echo -n x` in
15447 +-n*)
15448 + case `echo 'x\c'` in
15449 + *c*) ECHO_T=' ';; # ECHO_T is single tab character.
15450 + *) ECHO_C='\c';;
15451 + esac;;
15452 +*)
15453 + ECHO_N='-n';;
15454 esac
15455
15456 -if expr a : '\(a\)' >/dev/null 2>&1; then
15457 +if expr a : '\(a\)' >/dev/null 2>&1 &&
15458 + test "X`expr 00001 : '.*\(...\)'`" = X001; then
15459 as_expr=expr
15460 else
15461 as_expr=false
15462 fi
15463
15464 rm -f conf$$ conf$$.exe conf$$.file
15465 +if test -d conf$$.dir; then
15466 + rm -f conf$$.dir/conf$$.file
15467 +else
15468 + rm -f conf$$.dir
15469 + mkdir conf$$.dir
15470 +fi
15471 echo >conf$$.file
15472 if ln -s conf$$.file conf$$ 2>/dev/null; then
15473 - # We could just check for DJGPP; but this test a) works b) is more generic
15474 - # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
15475 - if test -f conf$$.exe; then
15476 - # Don't use ln at all; we don't have any links
15477 + as_ln_s='ln -s'
15478 + # ... but there are two gotchas:
15479 + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15480 + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15481 + # In both cases, we have to default to `cp -p'.
15482 + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
15483 as_ln_s='cp -p'
15484 - else
15485 - as_ln_s='ln -s'
15486 - fi
15487 elif ln conf$$.file conf$$ 2>/dev/null; then
15488 as_ln_s=ln
15489 else
15490 as_ln_s='cp -p'
15491 fi
15492 -rm -f conf$$ conf$$.exe conf$$.file
15493 +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
15494 +rmdir conf$$.dir 2>/dev/null
15495
15496 if mkdir -p . 2>/dev/null; then
15497 as_mkdir_p=:
15498 @@ -14889,7 +15205,28 @@ else
15499 as_mkdir_p=false
15500 fi
15501
15502 -as_executable_p="test -f"
15503 +if test -x / >/dev/null 2>&1; then
15504 + as_test_x='test -x'
15505 +else
15506 + if ls -dL / >/dev/null 2>&1; then
15507 + as_ls_L_option=L
15508 + else
15509 + as_ls_L_option=
15510 + fi
15511 + as_test_x='
15512 + eval sh -c '\''
15513 + if test -d "$1"; then
15514 + test -d "$1/.";
15515 + else
15516 + case $1 in
15517 + -*)set "./$1";;
15518 + esac;
15519 + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
15520 + ???[sx]*):;;*)false;;esac;fi
15521 + '\'' sh
15522 + '
15523 +fi
15524 +as_executable_p=$as_test_x
15525
15526 # Sed expression to map a string onto a valid CPP name.
15527 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15528 @@ -14898,31 +15235,14 @@ as_tr_cpp="eval sed 'y%*$as_cr_letters%P
15529 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15530
15531
15532 -# IFS
15533 -# We need space, tab and new line, in precisely that order.
15534 -as_nl='
15535 -'
15536 -IFS=" $as_nl"
15537 -
15538 -# CDPATH.
15539 -$as_unset CDPATH
15540 -
15541 exec 6>&1
15542
15543 -# Open the log real soon, to keep \$[0] and so on meaningful, and to
15544 +# Save the log message, to keep $[0] and so on meaningful, and to
15545 # report actual input values of CONFIG_FILES etc. instead of their
15546 -# values after options handling. Logging --version etc. is OK.
15547 -exec 5>>config.log
15548 -{
15549 - echo
15550 - sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15551 -## Running $as_me. ##
15552 -_ASBOX
15553 -} >&5
15554 -cat >&5 <<_CSEOF
15555 -
15556 +# values after options handling.
15557 +ac_log="
15558 This file was extended by $as_me, which was
15559 -generated by GNU Autoconf 2.59. Invocation command line was
15560 +generated by GNU Autoconf 2.61. Invocation command line was
15561
15562 CONFIG_FILES = $CONFIG_FILES
15563 CONFIG_HEADERS = $CONFIG_HEADERS
15564 @@ -14930,30 +15250,20 @@ generated by GNU Autoconf 2.59. Invocat
15565 CONFIG_COMMANDS = $CONFIG_COMMANDS
15566 $ $0 $@
15567
15568 -_CSEOF
15569 -echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
15570 -echo >&5
15571 +on `(hostname || uname -n) 2>/dev/null | sed 1q`
15572 +"
15573 +
15574 _ACEOF
15575
15576 +cat >>$CONFIG_STATUS <<_ACEOF
15577 # Files that config.status was made for.
15578 -if test -n "$ac_config_files"; then
15579 - echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
15580 -fi
15581 +config_files="$ac_config_files"
15582 +config_headers="$ac_config_headers"
15583 +config_commands="$ac_config_commands"
15584
15585 -if test -n "$ac_config_headers"; then
15586 - echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
15587 -fi
15588 -
15589 -if test -n "$ac_config_links"; then
15590 - echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
15591 -fi
15592 -
15593 -if test -n "$ac_config_commands"; then
15594 - echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
15595 -fi
15596 +_ACEOF
15597
15598 cat >>$CONFIG_STATUS <<\_ACEOF
15599 -
15600 ac_cs_usage="\
15601 \`$as_me' instantiates files from templates according to the
15602 current configuration.
15603 @@ -14961,7 +15271,7 @@ current configuration.
15604 Usage: $0 [OPTIONS] [FILE]...
15605
15606 -h, --help print this help, then exit
15607 - -V, --version print version number, then exit
15608 + -V, --version print version number and configuration settings, then exit
15609 -q, --quiet do not print progress messages
15610 -d, --debug don't remove temporary files
15611 --recheck update $as_me by reconfiguring in the same conditions
15612 @@ -14980,19 +15290,21 @@ Configuration commands:
15613 $config_commands
15614
15615 Report bugs to <bug-autoconf@gnu.org>."
15616 -_ACEOF
15617
15618 +_ACEOF
15619 cat >>$CONFIG_STATUS <<_ACEOF
15620 ac_cs_version="\\
15621 config.status
15622 -configured by $0, generated by GNU Autoconf 2.59,
15623 - with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
15624 +configured by $0, generated by GNU Autoconf 2.61,
15625 + with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
15626
15627 -Copyright (C) 2003 Free Software Foundation, Inc.
15628 +Copyright (C) 2006 Free Software Foundation, Inc.
15629 This config.status script is free software; the Free Software Foundation
15630 gives unlimited permission to copy, distribute and modify it."
15631 -srcdir=$srcdir
15632 -INSTALL="$INSTALL"
15633 +
15634 +ac_pwd='$ac_pwd'
15635 +srcdir='$srcdir'
15636 +INSTALL='$INSTALL'
15637 _ACEOF
15638
15639 cat >>$CONFIG_STATUS <<\_ACEOF
15640 @@ -15003,39 +15315,24 @@ while test $# != 0
15641 do
15642 case $1 in
15643 --*=*)
15644 - ac_option=`expr "x$1" : 'x\([^=]*\)='`
15645 - ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
15646 + ac_option=`expr "X$1" : 'X\([^=]*\)='`
15647 + ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
15648 ac_shift=:
15649 ;;
15650 - -*)
15651 + *)
15652 ac_option=$1
15653 ac_optarg=$2
15654 ac_shift=shift
15655 ;;
15656 - *) # This is not an option, so the user has probably given explicit
15657 - # arguments.
15658 - ac_option=$1
15659 - ac_need_defaults=false;;
15660 esac
15661
15662 case $ac_option in
15663 # Handling of the options.
15664 -_ACEOF
15665 -cat >>$CONFIG_STATUS <<\_ACEOF
15666 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
15667 ac_cs_recheck=: ;;
15668 - --version | --vers* | -V )
15669 - echo "$ac_cs_version"; exit 0 ;;
15670 - --he | --h)
15671 - # Conflict between --help and --header
15672 - { { echo "$as_me:$LINENO: error: ambiguous option: $1
15673 -Try \`$0 --help' for more information." >&5
15674 -echo "$as_me: error: ambiguous option: $1
15675 -Try \`$0 --help' for more information." >&2;}
15676 - { (exit 1); exit 1; }; };;
15677 - --help | --hel | -h )
15678 - echo "$ac_cs_usage"; exit 0 ;;
15679 - --debug | --d* | -d )
15680 + --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
15681 + echo "$ac_cs_version"; exit ;;
15682 + --debug | --debu | --deb | --de | --d | -d )
15683 debug=: ;;
15684 --file | --fil | --fi | --f )
15685 $ac_shift
15686 @@ -15045,18 +15342,24 @@ Try \`$0 --help' for more information."
15687 $ac_shift
15688 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
15689 ac_need_defaults=false;;
15690 + --he | --h)
15691 + # Conflict between --help and --header
15692 + { echo "$as_me: error: ambiguous option: $1
15693 +Try \`$0 --help' for more information." >&2
15694 + { (exit 1); exit 1; }; };;
15695 + --help | --hel | -h )
15696 + echo "$ac_cs_usage"; exit ;;
15697 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
15698 | -silent | --silent | --silen | --sile | --sil | --si | --s)
15699 ac_cs_silent=: ;;
15700
15701 # This is an error.
15702 - -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
15703 -Try \`$0 --help' for more information." >&5
15704 -echo "$as_me: error: unrecognized option: $1
15705 -Try \`$0 --help' for more information." >&2;}
15706 + -*) { echo "$as_me: error: unrecognized option: $1
15707 +Try \`$0 --help' for more information." >&2
15708 { (exit 1); exit 1; }; } ;;
15709
15710 - *) ac_config_targets="$ac_config_targets $1" ;;
15711 + *) ac_config_targets="$ac_config_targets $1"
15712 + ac_need_defaults=false ;;
15713
15714 esac
15715 shift
15716 @@ -15072,42 +15375,54 @@ fi
15717 _ACEOF
15718 cat >>$CONFIG_STATUS <<_ACEOF
15719 if \$ac_cs_recheck; then
15720 - echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
15721 - exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15722 + echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
15723 + CONFIG_SHELL=$SHELL
15724 + export CONFIG_SHELL
15725 + exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15726 fi
15727
15728 _ACEOF
15729 +cat >>$CONFIG_STATUS <<\_ACEOF
15730 +exec 5>>config.log
15731 +{
15732 + echo
15733 + sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15734 +## Running $as_me. ##
15735 +_ASBOX
15736 + echo "$ac_log"
15737 +} >&5
15738
15739 +_ACEOF
15740 cat >>$CONFIG_STATUS <<_ACEOF
15741 #
15742 -# INIT-COMMANDS section.
15743 +# INIT-COMMANDS
15744 #
15745 -
15746 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
15747
15748
15749 _ACEOF
15750
15751 -
15752 -
15753 cat >>$CONFIG_STATUS <<\_ACEOF
15754 +
15755 +# Handling of arguments.
15756 for ac_config_target in $ac_config_targets
15757 do
15758 - case "$ac_config_target" in
15759 - # Handling of arguments.
15760 - "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
15761 - "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
15762 - "bfd-in3.h" ) CONFIG_FILES="$CONFIG_FILES bfd-in3.h:bfd-in2.h" ;;
15763 - "po/Makefile.in" ) CONFIG_FILES="$CONFIG_FILES po/Makefile.in:po/Make-in" ;;
15764 - "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
15765 - "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
15766 - "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.in" ;;
15767 + case $ac_config_target in
15768 + "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
15769 + "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.in" ;;
15770 + "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
15771 + "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
15772 + "bfd-in3.h") CONFIG_FILES="$CONFIG_FILES bfd-in3.h:bfd-in2.h" ;;
15773 + "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in:po/Make-in" ;;
15774 + "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
15775 +
15776 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
15777 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
15778 { (exit 1); exit 1; }; };;
15779 esac
15780 done
15781
15782 +
15783 # If the user did not use the arguments to specify the items to instantiate,
15784 # then the envvar interface is used. Set only those that are not.
15785 # We use the long form for the default assignment because of an extremely
15786 @@ -15119,401 +15434,504 @@ if $ac_need_defaults; then
15787 fi
15788
15789 # Have a temporary directory for convenience. Make it in the build tree
15790 -# simply because there is no reason to put it here, and in addition,
15791 +# simply because there is no reason against having it here, and in addition,
15792 # creating and moving files from /tmp can sometimes cause problems.
15793 -# Create a temporary directory, and hook for its removal unless debugging.
15794 +# Hook for its removal unless debugging.
15795 +# Note that there is a small window in which the directory will not be cleaned:
15796 +# after its creation but before its name has been assigned to `$tmp'.
15797 $debug ||
15798 {
15799 - trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
15800 + tmp=
15801 + trap 'exit_status=$?
15802 + { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
15803 +' 0
15804 trap '{ (exit 1); exit 1; }' 1 2 13 15
15805 }
15806 -
15807 # Create a (secure) tmp directory for tmp files.
15808
15809 {
15810 - tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
15811 + tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15812 test -n "$tmp" && test -d "$tmp"
15813 } ||
15814 {
15815 - tmp=./confstat$$-$RANDOM
15816 - (umask 077 && mkdir $tmp)
15817 + tmp=./conf$$-$RANDOM
15818 + (umask 077 && mkdir "$tmp")
15819 } ||
15820 {
15821 echo "$me: cannot create a temporary directory in ." >&2
15822 { (exit 1); exit 1; }
15823 }
15824
15825 -_ACEOF
15826 -
15827 -cat >>$CONFIG_STATUS <<_ACEOF
15828 -
15829 #
15830 -# CONFIG_FILES section.
15831 +# Set up the sed scripts for CONFIG_FILES section.
15832 #
15833
15834 # No need to generate the scripts if there are no CONFIG_FILES.
15835 # This happens for instance when ./config.status config.h
15836 -if test -n "\$CONFIG_FILES"; then
15837 - # Protect against being on the right side of a sed subst in config.status.
15838 - sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
15839 - s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
15840 -s,@SHELL@,$SHELL,;t t
15841 -s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
15842 -s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
15843 -s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
15844 -s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
15845 -s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
15846 -s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
15847 -s,@exec_prefix@,$exec_prefix,;t t
15848 -s,@prefix@,$prefix,;t t
15849 -s,@program_transform_name@,$program_transform_name,;t t
15850 -s,@bindir@,$bindir,;t t
15851 -s,@sbindir@,$sbindir,;t t
15852 -s,@libexecdir@,$libexecdir,;t t
15853 -s,@datadir@,$datadir,;t t
15854 -s,@sysconfdir@,$sysconfdir,;t t
15855 -s,@sharedstatedir@,$sharedstatedir,;t t
15856 -s,@localstatedir@,$localstatedir,;t t
15857 -s,@libdir@,$libdir,;t t
15858 -s,@includedir@,$includedir,;t t
15859 -s,@oldincludedir@,$oldincludedir,;t t
15860 -s,@infodir@,$infodir,;t t
15861 -s,@mandir@,$mandir,;t t
15862 -s,@build_alias@,$build_alias,;t t
15863 -s,@host_alias@,$host_alias,;t t
15864 -s,@target_alias@,$target_alias,;t t
15865 -s,@DEFS@,$DEFS,;t t
15866 -s,@ECHO_C@,$ECHO_C,;t t
15867 -s,@ECHO_N@,$ECHO_N,;t t
15868 -s,@ECHO_T@,$ECHO_T,;t t
15869 -s,@LIBS@,$LIBS,;t t
15870 -s,@build@,$build,;t t
15871 -s,@build_cpu@,$build_cpu,;t t
15872 -s,@build_vendor@,$build_vendor,;t t
15873 -s,@build_os@,$build_os,;t t
15874 -s,@host@,$host,;t t
15875 -s,@host_cpu@,$host_cpu,;t t
15876 -s,@host_vendor@,$host_vendor,;t t
15877 -s,@host_os@,$host_os,;t t
15878 -s,@target@,$target,;t t
15879 -s,@target_cpu@,$target_cpu,;t t
15880 -s,@target_vendor@,$target_vendor,;t t
15881 -s,@target_os@,$target_os,;t t
15882 -s,@CC@,$CC,;t t
15883 -s,@CFLAGS@,$CFLAGS,;t t
15884 -s,@LDFLAGS@,$LDFLAGS,;t t
15885 -s,@CPPFLAGS@,$CPPFLAGS,;t t
15886 -s,@ac_ct_CC@,$ac_ct_CC,;t t
15887 -s,@EXEEXT@,$EXEEXT,;t t
15888 -s,@OBJEXT@,$OBJEXT,;t t
15889 -s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
15890 -s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
15891 -s,@INSTALL_DATA@,$INSTALL_DATA,;t t
15892 -s,@CYGPATH_W@,$CYGPATH_W,;t t
15893 -s,@PACKAGE@,$PACKAGE,;t t
15894 -s,@VERSION@,$VERSION,;t t
15895 -s,@ACLOCAL@,$ACLOCAL,;t t
15896 -s,@AUTOCONF@,$AUTOCONF,;t t
15897 -s,@AUTOMAKE@,$AUTOMAKE,;t t
15898 -s,@AUTOHEADER@,$AUTOHEADER,;t t
15899 -s,@MAKEINFO@,$MAKEINFO,;t t
15900 -s,@install_sh@,$install_sh,;t t
15901 -s,@STRIP@,$STRIP,;t t
15902 -s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
15903 -s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
15904 -s,@mkdir_p@,$mkdir_p,;t t
15905 -s,@AWK@,$AWK,;t t
15906 -s,@SET_MAKE@,$SET_MAKE,;t t
15907 -s,@am__leading_dot@,$am__leading_dot,;t t
15908 -s,@AMTAR@,$AMTAR,;t t
15909 -s,@am__tar@,$am__tar,;t t
15910 -s,@am__untar@,$am__untar,;t t
15911 -s,@DEPDIR@,$DEPDIR,;t t
15912 -s,@am__include@,$am__include,;t t
15913 -s,@am__quote@,$am__quote,;t t
15914 -s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
15915 -s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
15916 -s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
15917 -s,@CCDEPMODE@,$CCDEPMODE,;t t
15918 -s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
15919 -s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
15920 -s,@AR@,$AR,;t t
15921 -s,@ac_ct_AR@,$ac_ct_AR,;t t
15922 -s,@RANLIB@,$RANLIB,;t t
15923 -s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
15924 -s,@LN_S@,$LN_S,;t t
15925 -s,@LIBTOOL@,$LIBTOOL,;t t
15926 -s,@WARN_CFLAGS@,$WARN_CFLAGS,;t t
15927 -s,@NO_WERROR@,$NO_WERROR,;t t
15928 -s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
15929 -s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
15930 -s,@MAINT@,$MAINT,;t t
15931 -s,@INSTALL_LIBBFD_TRUE@,$INSTALL_LIBBFD_TRUE,;t t
15932 -s,@INSTALL_LIBBFD_FALSE@,$INSTALL_LIBBFD_FALSE,;t t
15933 -s,@host_noncanonical@,$host_noncanonical,;t t
15934 -s,@target_noncanonical@,$target_noncanonical,;t t
15935 -s,@bfdlibdir@,$bfdlibdir,;t t
15936 -s,@bfdincludedir@,$bfdincludedir,;t t
15937 -s,@CPP@,$CPP,;t t
15938 -s,@EGREP@,$EGREP,;t t
15939 -s,@ALLOCA@,$ALLOCA,;t t
15940 -s,@USE_NLS@,$USE_NLS,;t t
15941 -s,@MSGFMT@,$MSGFMT,;t t
15942 -s,@GMSGFMT@,$GMSGFMT,;t t
15943 -s,@XGETTEXT@,$XGETTEXT,;t t
15944 -s,@USE_INCLUDED_LIBINTL@,$USE_INCLUDED_LIBINTL,;t t
15945 -s,@CATALOGS@,$CATALOGS,;t t
15946 -s,@CATOBJEXT@,$CATOBJEXT,;t t
15947 -s,@DATADIRNAME@,$DATADIRNAME,;t t
15948 -s,@GMOFILES@,$GMOFILES,;t t
15949 -s,@INSTOBJEXT@,$INSTOBJEXT,;t t
15950 -s,@INTLDEPS@,$INTLDEPS,;t t
15951 -s,@INTLLIBS@,$INTLLIBS,;t t
15952 -s,@INTLOBJS@,$INTLOBJS,;t t
15953 -s,@POFILES@,$POFILES,;t t
15954 -s,@POSUB@,$POSUB,;t t
15955 -s,@INCLUDE_LOCALE_H@,$INCLUDE_LOCALE_H,;t t
15956 -s,@GT_NO@,$GT_NO,;t t
15957 -s,@GT_YES@,$GT_YES,;t t
15958 -s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
15959 -s,@l@,$l,;t t
15960 -s,@HDEFINES@,$HDEFINES,;t t
15961 -s,@BFD_HOST_64BIT_LONG@,$BFD_HOST_64BIT_LONG,;t t
15962 -s,@BFD_HOST_LONG_LONG@,$BFD_HOST_LONG_LONG,;t t
15963 -s,@BFD_HOST_64_BIT_DEFINED@,$BFD_HOST_64_BIT_DEFINED,;t t
15964 -s,@BFD_HOST_64_BIT@,$BFD_HOST_64_BIT,;t t
15965 -s,@BFD_HOST_U_64_BIT@,$BFD_HOST_U_64_BIT,;t t
15966 -s,@CC_FOR_BUILD@,$CC_FOR_BUILD,;t t
15967 -s,@EXEEXT_FOR_BUILD@,$EXEEXT_FOR_BUILD,;t t
15968 -s,@COREFILE@,$COREFILE,;t t
15969 -s,@COREFLAG@,$COREFLAG,;t t
15970 -s,@WIN32LDFLAGS@,$WIN32LDFLAGS,;t t
15971 -s,@WIN32LIBADD@,$WIN32LIBADD,;t t
15972 -s,@TDEFINES@,$TDEFINES,;t t
15973 -s,@wordsize@,$wordsize,;t t
15974 -s,@bfd_libs@,$bfd_libs,;t t
15975 -s,@all_backends@,$all_backends,;t t
15976 -s,@bfd_backends@,$bfd_backends,;t t
15977 -s,@bfd_machines@,$bfd_machines,;t t
15978 -s,@bfd_default_target_size@,$bfd_default_target_size,;t t
15979 -s,@bfd_file_ptr@,$bfd_file_ptr,;t t
15980 -s,@bfd_ufile_ptr@,$bfd_ufile_ptr,;t t
15981 -s,@tdefaults@,$tdefaults,;t t
15982 -s,@datarootdir@,$datarootdir,;t t
15983 -s,@docdir@,$docdir,;t t
15984 -s,@htmldir@,$htmldir,;t t
15985 -s,@LIBOBJS@,$LIBOBJS,;t t
15986 -s,@LTLIBOBJS@,$LTLIBOBJS,;t t
15987 -CEOF
15988 -
15989 -_ACEOF
15990 -
15991 - cat >>$CONFIG_STATUS <<\_ACEOF
15992 - # Split the substitutions into bite-sized pieces for seds with
15993 - # small command number limits, like on Digital OSF/1 and HP-UX.
15994 - ac_max_sed_lines=48
15995 - ac_sed_frag=1 # Number of current file.
15996 - ac_beg=1 # First line for current file.
15997 - ac_end=$ac_max_sed_lines # Line after last line for current file.
15998 - ac_more_lines=:
15999 - ac_sed_cmds=
16000 - while $ac_more_lines; do
16001 - if test $ac_beg -gt 1; then
16002 - sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
16003 - else
16004 - sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
16005 - fi
16006 - if test ! -s $tmp/subs.frag; then
16007 - ac_more_lines=false
16008 - else
16009 - # The purpose of the label and of the branching condition is to
16010 - # speed up the sed processing (if there are no `@' at all, there
16011 - # is no need to browse any of the substitutions).
16012 - # These are the two extra sed commands mentioned above.
16013 - (echo ':t
16014 - /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
16015 - if test -z "$ac_sed_cmds"; then
16016 - ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
16017 - else
16018 - ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
16019 - fi
16020 - ac_sed_frag=`expr $ac_sed_frag + 1`
16021 - ac_beg=$ac_end
16022 - ac_end=`expr $ac_end + $ac_max_sed_lines`
16023 - fi
16024 - done
16025 - if test -z "$ac_sed_cmds"; then
16026 - ac_sed_cmds=cat
16027 +if test -n "$CONFIG_FILES"; then
16028 +
16029 +_ACEOF
16030 +
16031 +
16032 +
16033 +ac_delim='%!_!# '
16034 +for ac_last_try in false false false false false :; do
16035 + cat >conf$$subs.sed <<_ACEOF
16036 +SHELL!$SHELL$ac_delim
16037 +PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
16038 +PACKAGE_NAME!$PACKAGE_NAME$ac_delim
16039 +PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
16040 +PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
16041 +PACKAGE_STRING!$PACKAGE_STRING$ac_delim
16042 +PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
16043 +exec_prefix!$exec_prefix$ac_delim
16044 +prefix!$prefix$ac_delim
16045 +program_transform_name!$program_transform_name$ac_delim
16046 +bindir!$bindir$ac_delim
16047 +sbindir!$sbindir$ac_delim
16048 +libexecdir!$libexecdir$ac_delim
16049 +datarootdir!$datarootdir$ac_delim
16050 +datadir!$datadir$ac_delim
16051 +sysconfdir!$sysconfdir$ac_delim
16052 +sharedstatedir!$sharedstatedir$ac_delim
16053 +localstatedir!$localstatedir$ac_delim
16054 +includedir!$includedir$ac_delim
16055 +oldincludedir!$oldincludedir$ac_delim
16056 +docdir!$docdir$ac_delim
16057 +infodir!$infodir$ac_delim
16058 +htmldir!$htmldir$ac_delim
16059 +dvidir!$dvidir$ac_delim
16060 +pdfdir!$pdfdir$ac_delim
16061 +psdir!$psdir$ac_delim
16062 +libdir!$libdir$ac_delim
16063 +localedir!$localedir$ac_delim
16064 +mandir!$mandir$ac_delim
16065 +DEFS!$DEFS$ac_delim
16066 +ECHO_C!$ECHO_C$ac_delim
16067 +ECHO_N!$ECHO_N$ac_delim
16068 +ECHO_T!$ECHO_T$ac_delim
16069 +LIBS!$LIBS$ac_delim
16070 +build_alias!$build_alias$ac_delim
16071 +host_alias!$host_alias$ac_delim
16072 +target_alias!$target_alias$ac_delim
16073 +build!$build$ac_delim
16074 +build_cpu!$build_cpu$ac_delim
16075 +build_vendor!$build_vendor$ac_delim
16076 +build_os!$build_os$ac_delim
16077 +host!$host$ac_delim
16078 +host_cpu!$host_cpu$ac_delim
16079 +host_vendor!$host_vendor$ac_delim
16080 +host_os!$host_os$ac_delim
16081 +target!$target$ac_delim
16082 +target_cpu!$target_cpu$ac_delim
16083 +target_vendor!$target_vendor$ac_delim
16084 +target_os!$target_os$ac_delim
16085 +CC!$CC$ac_delim
16086 +CFLAGS!$CFLAGS$ac_delim
16087 +LDFLAGS!$LDFLAGS$ac_delim
16088 +CPPFLAGS!$CPPFLAGS$ac_delim
16089 +ac_ct_CC!$ac_ct_CC$ac_delim
16090 +EXEEXT!$EXEEXT$ac_delim
16091 +OBJEXT!$OBJEXT$ac_delim
16092 +INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
16093 +INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
16094 +INSTALL_DATA!$INSTALL_DATA$ac_delim
16095 +CYGPATH_W!$CYGPATH_W$ac_delim
16096 +PACKAGE!$PACKAGE$ac_delim
16097 +VERSION!$VERSION$ac_delim
16098 +ACLOCAL!$ACLOCAL$ac_delim
16099 +AUTOCONF!$AUTOCONF$ac_delim
16100 +AUTOMAKE!$AUTOMAKE$ac_delim
16101 +AUTOHEADER!$AUTOHEADER$ac_delim
16102 +MAKEINFO!$MAKEINFO$ac_delim
16103 +install_sh!$install_sh$ac_delim
16104 +STRIP!$STRIP$ac_delim
16105 +INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
16106 +mkdir_p!$mkdir_p$ac_delim
16107 +AWK!$AWK$ac_delim
16108 +SET_MAKE!$SET_MAKE$ac_delim
16109 +am__leading_dot!$am__leading_dot$ac_delim
16110 +AMTAR!$AMTAR$ac_delim
16111 +am__tar!$am__tar$ac_delim
16112 +am__untar!$am__untar$ac_delim
16113 +DEPDIR!$DEPDIR$ac_delim
16114 +am__include!$am__include$ac_delim
16115 +am__quote!$am__quote$ac_delim
16116 +AMDEP_TRUE!$AMDEP_TRUE$ac_delim
16117 +AMDEP_FALSE!$AMDEP_FALSE$ac_delim
16118 +AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
16119 +CCDEPMODE!$CCDEPMODE$ac_delim
16120 +am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
16121 +am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
16122 +AR!$AR$ac_delim
16123 +RANLIB!$RANLIB$ac_delim
16124 +LN_S!$LN_S$ac_delim
16125 +LIBTOOL!$LIBTOOL$ac_delim
16126 +WARN_CFLAGS!$WARN_CFLAGS$ac_delim
16127 +NO_WERROR!$NO_WERROR$ac_delim
16128 +MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
16129 +MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
16130 +MAINT!$MAINT$ac_delim
16131 +INSTALL_LIBBFD_TRUE!$INSTALL_LIBBFD_TRUE$ac_delim
16132 +INSTALL_LIBBFD_FALSE!$INSTALL_LIBBFD_FALSE$ac_delim
16133 +_ACEOF
16134 +
16135 + if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
16136 + break
16137 + elif $ac_last_try; then
16138 + { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
16139 +echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
16140 + { (exit 1); exit 1; }; }
16141 + else
16142 + ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16143 fi
16144 -fi # test -n "$CONFIG_FILES"
16145 +done
16146 +
16147 +ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
16148 +if test -n "$ac_eof"; then
16149 + ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
16150 + ac_eof=`expr $ac_eof + 1`
16151 +fi
16152
16153 +cat >>$CONFIG_STATUS <<_ACEOF
16154 +cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
16155 +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
16156 +_ACEOF
16157 +sed '
16158 +s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
16159 +s/^/s,@/; s/!/@,|#_!!_#|/
16160 +:n
16161 +t n
16162 +s/'"$ac_delim"'$/,g/; t
16163 +s/$/\\/; p
16164 +N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
16165 +' >>$CONFIG_STATUS <conf$$subs.sed
16166 +rm -f conf$$subs.sed
16167 +cat >>$CONFIG_STATUS <<_ACEOF
16168 +CEOF$ac_eof
16169 +_ACEOF
16170 +
16171 +
16172 +ac_delim='%!_!# '
16173 +for ac_last_try in false false false false false :; do
16174 + cat >conf$$subs.sed <<_ACEOF
16175 +host_noncanonical!$host_noncanonical$ac_delim
16176 +target_noncanonical!$target_noncanonical$ac_delim
16177 +bfdlibdir!$bfdlibdir$ac_delim
16178 +bfdincludedir!$bfdincludedir$ac_delim
16179 +CPP!$CPP$ac_delim
16180 +GREP!$GREP$ac_delim
16181 +EGREP!$EGREP$ac_delim
16182 +ALLOCA!$ALLOCA$ac_delim
16183 +USE_NLS!$USE_NLS$ac_delim
16184 +MSGFMT!$MSGFMT$ac_delim
16185 +GMSGFMT!$GMSGFMT$ac_delim
16186 +XGETTEXT!$XGETTEXT$ac_delim
16187 +USE_INCLUDED_LIBINTL!$USE_INCLUDED_LIBINTL$ac_delim
16188 +CATALOGS!$CATALOGS$ac_delim
16189 +CATOBJEXT!$CATOBJEXT$ac_delim
16190 +DATADIRNAME!$DATADIRNAME$ac_delim
16191 +GMOFILES!$GMOFILES$ac_delim
16192 +INSTOBJEXT!$INSTOBJEXT$ac_delim
16193 +INTLDEPS!$INTLDEPS$ac_delim
16194 +INTLLIBS!$INTLLIBS$ac_delim
16195 +INTLOBJS!$INTLOBJS$ac_delim
16196 +POFILES!$POFILES$ac_delim
16197 +POSUB!$POSUB$ac_delim
16198 +INCLUDE_LOCALE_H!$INCLUDE_LOCALE_H$ac_delim
16199 +GT_NO!$GT_NO$ac_delim
16200 +GT_YES!$GT_YES$ac_delim
16201 +MKINSTALLDIRS!$MKINSTALLDIRS$ac_delim
16202 +l!$l$ac_delim
16203 +HDEFINES!$HDEFINES$ac_delim
16204 +BFD_HOST_64BIT_LONG!$BFD_HOST_64BIT_LONG$ac_delim
16205 +BFD_HOST_LONG_LONG!$BFD_HOST_LONG_LONG$ac_delim
16206 +BFD_HOST_64_BIT_DEFINED!$BFD_HOST_64_BIT_DEFINED$ac_delim
16207 +BFD_HOST_64_BIT!$BFD_HOST_64_BIT$ac_delim
16208 +BFD_HOST_U_64_BIT!$BFD_HOST_U_64_BIT$ac_delim
16209 +CC_FOR_BUILD!$CC_FOR_BUILD$ac_delim
16210 +EXEEXT_FOR_BUILD!$EXEEXT_FOR_BUILD$ac_delim
16211 +COREFILE!$COREFILE$ac_delim
16212 +COREFLAG!$COREFLAG$ac_delim
16213 +WIN32LDFLAGS!$WIN32LDFLAGS$ac_delim
16214 +WIN32LIBADD!$WIN32LIBADD$ac_delim
16215 +TDEFINES!$TDEFINES$ac_delim
16216 +wordsize!$wordsize$ac_delim
16217 +bfd_libs!$bfd_libs$ac_delim
16218 +all_backends!$all_backends$ac_delim
16219 +bfd_backends!$bfd_backends$ac_delim
16220 +bfd_machines!$bfd_machines$ac_delim
16221 +bfd_default_target_size!$bfd_default_target_size$ac_delim
16222 +bfd_file_ptr!$bfd_file_ptr$ac_delim
16223 +bfd_ufile_ptr!$bfd_ufile_ptr$ac_delim
16224 +tdefaults!$tdefaults$ac_delim
16225 +LIBOBJS!$LIBOBJS$ac_delim
16226 +LTLIBOBJS!$LTLIBOBJS$ac_delim
16227 _ACEOF
16228 +
16229 + if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 52; then
16230 + break
16231 + elif $ac_last_try; then
16232 + { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
16233 +echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
16234 + { (exit 1); exit 1; }; }
16235 + else
16236 + ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16237 + fi
16238 +done
16239 +
16240 +ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
16241 +if test -n "$ac_eof"; then
16242 + ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
16243 + ac_eof=`expr $ac_eof + 1`
16244 +fi
16245 +
16246 +cat >>$CONFIG_STATUS <<_ACEOF
16247 +cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
16248 +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
16249 +_ACEOF
16250 +sed '
16251 +s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
16252 +s/^/s,@/; s/!/@,|#_!!_#|/
16253 +:n
16254 +t n
16255 +s/'"$ac_delim"'$/,g/; t
16256 +s/$/\\/; p
16257 +N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
16258 +' >>$CONFIG_STATUS <conf$$subs.sed
16259 +rm -f conf$$subs.sed
16260 +cat >>$CONFIG_STATUS <<_ACEOF
16261 +:end
16262 +s/|#_!!_#|//g
16263 +CEOF$ac_eof
16264 +_ACEOF
16265 +
16266 +
16267 +# VPATH may cause trouble with some makes, so we remove $(srcdir),
16268 +# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
16269 +# trailing colons and then remove the whole line if VPATH becomes empty
16270 +# (actually we leave an empty line to preserve line numbers).
16271 +if test "x$srcdir" = x.; then
16272 + ac_vpsub='/^[ ]*VPATH[ ]*=/{
16273 +s/:*\$(srcdir):*/:/
16274 +s/:*\${srcdir}:*/:/
16275 +s/:*@srcdir@:*/:/
16276 +s/^\([^=]*=[ ]*\):*/\1/
16277 +s/:*$//
16278 +s/^[^=]*=[ ]*$//
16279 +}'
16280 +fi
16281 +
16282 cat >>$CONFIG_STATUS <<\_ACEOF
16283 -for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
16284 - # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
16285 - case $ac_file in
16286 - - | *:- | *:-:* ) # input from stdin
16287 - cat >$tmp/stdin
16288 - ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
16289 - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
16290 - *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
16291 - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
16292 - * ) ac_file_in=$ac_file.in ;;
16293 +fi # test -n "$CONFIG_FILES"
16294 +
16295 +
16296 +for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
16297 +do
16298 + case $ac_tag in
16299 + :[FHLC]) ac_mode=$ac_tag; continue;;
16300 + esac
16301 + case $ac_mode$ac_tag in
16302 + :[FHL]*:*);;
16303 + :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
16304 +echo "$as_me: error: Invalid tag $ac_tag." >&2;}
16305 + { (exit 1); exit 1; }; };;
16306 + :[FH]-) ac_tag=-:-;;
16307 + :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
16308 + esac
16309 + ac_save_IFS=$IFS
16310 + IFS=:
16311 + set x $ac_tag
16312 + IFS=$ac_save_IFS
16313 + shift
16314 + ac_file=$1
16315 + shift
16316 +
16317 + case $ac_mode in
16318 + :L) ac_source=$1;;
16319 + :[FH])
16320 + ac_file_inputs=
16321 + for ac_f
16322 + do
16323 + case $ac_f in
16324 + -) ac_f="$tmp/stdin";;
16325 + *) # Look for the file first in the build tree, then in the source tree
16326 + # (if the path is not absolute). The absolute path cannot be DOS-style,
16327 + # because $ac_f cannot contain `:'.
16328 + test -f "$ac_f" ||
16329 + case $ac_f in
16330 + [\\/$]*) false;;
16331 + *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
16332 + esac ||
16333 + { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
16334 +echo "$as_me: error: cannot find input file: $ac_f" >&2;}
16335 + { (exit 1); exit 1; }; };;
16336 + esac
16337 + ac_file_inputs="$ac_file_inputs $ac_f"
16338 + done
16339 +
16340 + # Let's still pretend it is `configure' which instantiates (i.e., don't
16341 + # use $as_me), people would be surprised to read:
16342 + # /* config.h. Generated by config.status. */
16343 + configure_input="Generated from "`IFS=:
16344 + echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
16345 + if test x"$ac_file" != x-; then
16346 + configure_input="$ac_file. $configure_input"
16347 + { echo "$as_me:$LINENO: creating $ac_file" >&5
16348 +echo "$as_me: creating $ac_file" >&6;}
16349 + fi
16350 +
16351 + case $ac_tag in
16352 + *:-:* | *:-) cat >"$tmp/stdin";;
16353 + esac
16354 + ;;
16355 esac
16356
16357 - # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
16358 - ac_dir=`(dirname "$ac_file") 2>/dev/null ||
16359 + ac_dir=`$as_dirname -- "$ac_file" ||
16360 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16361 X"$ac_file" : 'X\(//\)[^/]' \| \
16362 X"$ac_file" : 'X\(//\)$' \| \
16363 - X"$ac_file" : 'X\(/\)' \| \
16364 - . : '\(.\)' 2>/dev/null ||
16365 + X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16366 echo X"$ac_file" |
16367 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
16368 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
16369 - /^X\(\/\/\)$/{ s//\1/; q; }
16370 - /^X\(\/\).*/{ s//\1/; q; }
16371 - s/.*/./; q'`
16372 - { if $as_mkdir_p; then
16373 - mkdir -p "$ac_dir"
16374 - else
16375 - as_dir="$ac_dir"
16376 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16377 + s//\1/
16378 + q
16379 + }
16380 + /^X\(\/\/\)[^/].*/{
16381 + s//\1/
16382 + q
16383 + }
16384 + /^X\(\/\/\)$/{
16385 + s//\1/
16386 + q
16387 + }
16388 + /^X\(\/\).*/{
16389 + s//\1/
16390 + q
16391 + }
16392 + s/.*/./; q'`
16393 + { as_dir="$ac_dir"
16394 + case $as_dir in #(
16395 + -*) as_dir=./$as_dir;;
16396 + esac
16397 + test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
16398 as_dirs=
16399 - while test ! -d "$as_dir"; do
16400 - as_dirs="$as_dir $as_dirs"
16401 - as_dir=`(dirname "$as_dir") 2>/dev/null ||
16402 + while :; do
16403 + case $as_dir in #(
16404 + *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
16405 + *) as_qdir=$as_dir;;
16406 + esac
16407 + as_dirs="'$as_qdir' $as_dirs"
16408 + as_dir=`$as_dirname -- "$as_dir" ||
16409 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16410 X"$as_dir" : 'X\(//\)[^/]' \| \
16411 X"$as_dir" : 'X\(//\)$' \| \
16412 - X"$as_dir" : 'X\(/\)' \| \
16413 - . : '\(.\)' 2>/dev/null ||
16414 + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16415 echo X"$as_dir" |
16416 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
16417 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
16418 - /^X\(\/\/\)$/{ s//\1/; q; }
16419 - /^X\(\/\).*/{ s//\1/; q; }
16420 - s/.*/./; q'`
16421 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16422 + s//\1/
16423 + q
16424 + }
16425 + /^X\(\/\/\)[^/].*/{
16426 + s//\1/
16427 + q
16428 + }
16429 + /^X\(\/\/\)$/{
16430 + s//\1/
16431 + q
16432 + }
16433 + /^X\(\/\).*/{
16434 + s//\1/
16435 + q
16436 + }
16437 + s/.*/./; q'`
16438 + test -d "$as_dir" && break
16439 done
16440 - test ! -n "$as_dirs" || mkdir $as_dirs
16441 - fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
16442 -echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
16443 + test -z "$as_dirs" || eval "mkdir $as_dirs"
16444 + } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
16445 +echo "$as_me: error: cannot create directory $as_dir" >&2;}
16446 { (exit 1); exit 1; }; }; }
16447 -
16448 ac_builddir=.
16449
16450 -if test "$ac_dir" != .; then
16451 +case "$ac_dir" in
16452 +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16453 +*)
16454 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
16455 - # A "../" for each directory in $ac_dir_suffix.
16456 - ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
16457 -else
16458 - ac_dir_suffix= ac_top_builddir=
16459 -fi
16460 + # A ".." for each directory in $ac_dir_suffix.
16461 + ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
16462 + case $ac_top_builddir_sub in
16463 + "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
16464 + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
16465 + esac ;;
16466 +esac
16467 +ac_abs_top_builddir=$ac_pwd
16468 +ac_abs_builddir=$ac_pwd$ac_dir_suffix
16469 +# for backward compatibility:
16470 +ac_top_builddir=$ac_top_build_prefix
16471
16472 case $srcdir in
16473 - .) # No --srcdir option. We are building in place.
16474 + .) # We are building in place.
16475 ac_srcdir=.
16476 - if test -z "$ac_top_builddir"; then
16477 - ac_top_srcdir=.
16478 - else
16479 - ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
16480 - fi ;;
16481 - [\\/]* | ?:[\\/]* ) # Absolute path.
16482 + ac_top_srcdir=$ac_top_builddir_sub
16483 + ac_abs_top_srcdir=$ac_pwd ;;
16484 + [\\/]* | ?:[\\/]* ) # Absolute name.
16485 ac_srcdir=$srcdir$ac_dir_suffix;
16486 - ac_top_srcdir=$srcdir ;;
16487 - *) # Relative path.
16488 - ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
16489 - ac_top_srcdir=$ac_top_builddir$srcdir ;;
16490 -esac
16491 + ac_top_srcdir=$srcdir
16492 + ac_abs_top_srcdir=$srcdir ;;
16493 + *) # Relative name.
16494 + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16495 + ac_top_srcdir=$ac_top_build_prefix$srcdir
16496 + ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16497 +esac
16498 +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16499
16500 -# Do not use `cd foo && pwd` to compute absolute paths, because
16501 -# the directories may not exist.
16502 -case `pwd` in
16503 -.) ac_abs_builddir="$ac_dir";;
16504 -*)
16505 - case "$ac_dir" in
16506 - .) ac_abs_builddir=`pwd`;;
16507 - [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
16508 - *) ac_abs_builddir=`pwd`/"$ac_dir";;
16509 - esac;;
16510 -esac
16511 -case $ac_abs_builddir in
16512 -.) ac_abs_top_builddir=${ac_top_builddir}.;;
16513 -*)
16514 - case ${ac_top_builddir}. in
16515 - .) ac_abs_top_builddir=$ac_abs_builddir;;
16516 - [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
16517 - *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
16518 - esac;;
16519 -esac
16520 -case $ac_abs_builddir in
16521 -.) ac_abs_srcdir=$ac_srcdir;;
16522 -*)
16523 - case $ac_srcdir in
16524 - .) ac_abs_srcdir=$ac_abs_builddir;;
16525 - [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
16526 - *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
16527 - esac;;
16528 -esac
16529 -case $ac_abs_builddir in
16530 -.) ac_abs_top_srcdir=$ac_top_srcdir;;
16531 -*)
16532 - case $ac_top_srcdir in
16533 - .) ac_abs_top_srcdir=$ac_abs_builddir;;
16534 - [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
16535 - *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
16536 - esac;;
16537 -esac
16538
16539 + case $ac_mode in
16540 + :F)
16541 + #
16542 + # CONFIG_FILE
16543 + #
16544
16545 case $INSTALL in
16546 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
16547 - *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
16548 + *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
16549 esac
16550 +_ACEOF
16551
16552 - if test x"$ac_file" != x-; then
16553 - { echo "$as_me:$LINENO: creating $ac_file" >&5
16554 -echo "$as_me: creating $ac_file" >&6;}
16555 - rm -f "$ac_file"
16556 - fi
16557 - # Let's still pretend it is `configure' which instantiates (i.e., don't
16558 - # use $as_me), people would be surprised to read:
16559 - # /* config.h. Generated by config.status. */
16560 - if test x"$ac_file" = x-; then
16561 - configure_input=
16562 - else
16563 - configure_input="$ac_file. "
16564 - fi
16565 - configure_input=$configure_input"Generated from `echo $ac_file_in |
16566 - sed 's,.*/,,'` by configure."
16567 -
16568 - # First look for the input files in the build tree, otherwise in the
16569 - # src tree.
16570 - ac_file_inputs=`IFS=:
16571 - for f in $ac_file_in; do
16572 - case $f in
16573 - -) echo $tmp/stdin ;;
16574 - [\\/$]*)
16575 - # Absolute (can't be DOS-style, as IFS=:)
16576 - test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
16577 -echo "$as_me: error: cannot find input file: $f" >&2;}
16578 - { (exit 1); exit 1; }; }
16579 - echo "$f";;
16580 - *) # Relative
16581 - if test -f "$f"; then
16582 - # Build tree
16583 - echo "$f"
16584 - elif test -f "$srcdir/$f"; then
16585 - # Source tree
16586 - echo "$srcdir/$f"
16587 - else
16588 - # /dev/null tree
16589 - { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
16590 -echo "$as_me: error: cannot find input file: $f" >&2;}
16591 - { (exit 1); exit 1; }; }
16592 - fi;;
16593 - esac
16594 - done` || { (exit 1); exit 1; }
16595 +cat >>$CONFIG_STATUS <<\_ACEOF
16596 +# If the template does not know about datarootdir, expand it.
16597 +# FIXME: This hack should be removed a few years after 2.60.
16598 +ac_datarootdir_hack=; ac_datarootdir_seen=
16599 +
16600 +case `sed -n '/datarootdir/ {
16601 + p
16602 + q
16603 +}
16604 +/@datadir@/p
16605 +/@docdir@/p
16606 +/@infodir@/p
16607 +/@localedir@/p
16608 +/@mandir@/p
16609 +' $ac_file_inputs` in
16610 +*datarootdir*) ac_datarootdir_seen=yes;;
16611 +*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
16612 + { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16613 +echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16614 +_ACEOF
16615 +cat >>$CONFIG_STATUS <<_ACEOF
16616 + ac_datarootdir_hack='
16617 + s&@datadir@&$datadir&g
16618 + s&@docdir@&$docdir&g
16619 + s&@infodir@&$infodir&g
16620 + s&@localedir@&$localedir&g
16621 + s&@mandir@&$mandir&g
16622 + s&\\\${datarootdir}&$datarootdir&g' ;;
16623 +esac
16624 _ACEOF
16625 +
16626 +# Neutralize VPATH when `$srcdir' = `.'.
16627 +# Shell code in configure.ac might set extrasub.
16628 +# FIXME: do we really want to maintain this feature?
16629 cat >>$CONFIG_STATUS <<_ACEOF
16630 sed "$ac_vpsub
16631 $extrasub
16632 @@ -15521,248 +15939,130 @@ _ACEOF
16633 cat >>$CONFIG_STATUS <<\_ACEOF
16634 :t
16635 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
16636 -s,@configure_input@,$configure_input,;t t
16637 -s,@srcdir@,$ac_srcdir,;t t
16638 -s,@abs_srcdir@,$ac_abs_srcdir,;t t
16639 -s,@top_srcdir@,$ac_top_srcdir,;t t
16640 -s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
16641 -s,@builddir@,$ac_builddir,;t t
16642 -s,@abs_builddir@,$ac_abs_builddir,;t t
16643 -s,@top_builddir@,$ac_top_builddir,;t t
16644 -s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
16645 -s,@INSTALL@,$ac_INSTALL,;t t
16646 -" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
16647 - rm -f $tmp/stdin
16648 - if test x"$ac_file" != x-; then
16649 - mv $tmp/out $ac_file
16650 - else
16651 - cat $tmp/out
16652 - rm -f $tmp/out
16653 - fi
16654 -
16655 -done
16656 -_ACEOF
16657 -cat >>$CONFIG_STATUS <<\_ACEOF
16658 -
16659 -#
16660 -# CONFIG_HEADER section.
16661 -#
16662 -
16663 -# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
16664 -# NAME is the cpp macro being defined and VALUE is the value it is being given.
16665 -#
16666 -# ac_d sets the value in "#define NAME VALUE" lines.
16667 -ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
16668 -ac_dB='[ ].*$,\1#\2'
16669 -ac_dC=' '
16670 -ac_dD=',;t'
16671 -# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
16672 -ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
16673 -ac_uB='$,\1#\2define\3'
16674 -ac_uC=' '
16675 -ac_uD=',;t'
16676 +s&@configure_input@&$configure_input&;t t
16677 +s&@top_builddir@&$ac_top_builddir_sub&;t t
16678 +s&@srcdir@&$ac_srcdir&;t t
16679 +s&@abs_srcdir@&$ac_abs_srcdir&;t t
16680 +s&@top_srcdir@&$ac_top_srcdir&;t t
16681 +s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
16682 +s&@builddir@&$ac_builddir&;t t
16683 +s&@abs_builddir@&$ac_abs_builddir&;t t
16684 +s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
16685 +s&@INSTALL@&$ac_INSTALL&;t t
16686 +$ac_datarootdir_hack
16687 +" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
16688 +
16689 +test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16690 + { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
16691 + { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
16692 + { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16693 +which seems to be undefined. Please make sure it is defined." >&5
16694 +echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16695 +which seems to be undefined. Please make sure it is defined." >&2;}
16696
16697 -for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
16698 - # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
16699 + rm -f "$tmp/stdin"
16700 case $ac_file in
16701 - - | *:- | *:-:* ) # input from stdin
16702 - cat >$tmp/stdin
16703 - ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
16704 - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
16705 - *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
16706 - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
16707 - * ) ac_file_in=$ac_file.in ;;
16708 + -) cat "$tmp/out"; rm -f "$tmp/out";;
16709 + *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
16710 esac
16711 + ;;
16712 + :H)
16713 + #
16714 + # CONFIG_HEADER
16715 + #
16716 +_ACEOF
16717 +
16718 +# Transform confdefs.h into a sed script `conftest.defines', that
16719 +# substitutes the proper values into config.h.in to produce config.h.
16720 +rm -f conftest.defines conftest.tail
16721 +# First, append a space to every undef/define line, to ease matching.
16722 +echo 's/$/ /' >conftest.defines
16723 +# Then, protect against being on the right side of a sed subst, or in
16724 +# an unquoted here document, in config.status. If some macros were
16725 +# called several times there might be several #defines for the same
16726 +# symbol, which is useless. But do not sort them, since the last
16727 +# AC_DEFINE must be honored.
16728 +ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16729 +# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
16730 +# NAME is the cpp macro being defined, VALUE is the value it is being given.
16731 +# PARAMS is the parameter list in the macro definition--in most cases, it's
16732 +# just an empty string.
16733 +ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
16734 +ac_dB='\\)[ (].*,\\1define\\2'
16735 +ac_dC=' '
16736 +ac_dD=' ,'
16737
16738 - test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
16739 -echo "$as_me: creating $ac_file" >&6;}
16740 -
16741 - # First look for the input files in the build tree, otherwise in the
16742 - # src tree.
16743 - ac_file_inputs=`IFS=:
16744 - for f in $ac_file_in; do
16745 - case $f in
16746 - -) echo $tmp/stdin ;;
16747 - [\\/$]*)
16748 - # Absolute (can't be DOS-style, as IFS=:)
16749 - test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
16750 -echo "$as_me: error: cannot find input file: $f" >&2;}
16751 - { (exit 1); exit 1; }; }
16752 - # Do quote $f, to prevent DOS paths from being IFS'd.
16753 - echo "$f";;
16754 - *) # Relative
16755 - if test -f "$f"; then
16756 - # Build tree
16757 - echo "$f"
16758 - elif test -f "$srcdir/$f"; then
16759 - # Source tree
16760 - echo "$srcdir/$f"
16761 - else
16762 - # /dev/null tree
16763 - { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
16764 -echo "$as_me: error: cannot find input file: $f" >&2;}
16765 - { (exit 1); exit 1; }; }
16766 - fi;;
16767 - esac
16768 - done` || { (exit 1); exit 1; }
16769 - # Remove the trailing spaces.
16770 - sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
16771 -
16772 -_ACEOF
16773 -
16774 -# Transform confdefs.h into two sed scripts, `conftest.defines' and
16775 -# `conftest.undefs', that substitutes the proper values into
16776 -# config.h.in to produce config.h. The first handles `#define'
16777 -# templates, and the second `#undef' templates.
16778 -# And first: Protect against being on the right side of a sed subst in
16779 -# config.status. Protect against being in an unquoted here document
16780 -# in config.status.
16781 -rm -f conftest.defines conftest.undefs
16782 -# Using a here document instead of a string reduces the quoting nightmare.
16783 -# Putting comments in sed scripts is not portable.
16784 -#
16785 -# `end' is used to avoid that the second main sed command (meant for
16786 -# 0-ary CPP macros) applies to n-ary macro definitions.
16787 -# See the Autoconf documentation for `clear'.
16788 -cat >confdef2sed.sed <<\_ACEOF
16789 -s/[\\&,]/\\&/g
16790 -s,[\\$`],\\&,g
16791 -t clear
16792 -: clear
16793 -s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
16794 -t end
16795 -s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
16796 -: end
16797 -_ACEOF
16798 -# If some macros were called several times there might be several times
16799 -# the same #defines, which is useless. Nevertheless, we may not want to
16800 -# sort them, since we want the *last* AC-DEFINE to be honored.
16801 -uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
16802 -sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
16803 -rm -f confdef2sed.sed
16804 +uniq confdefs.h |
16805 + sed -n '
16806 + t rset
16807 + :rset
16808 + s/^[ ]*#[ ]*define[ ][ ]*//
16809 + t ok
16810 + d
16811 + :ok
16812 + s/[\\&,]/\\&/g
16813 + s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
16814 + s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
16815 + ' >>conftest.defines
16816
16817 -# This sed command replaces #undef with comments. This is necessary, for
16818 +# Remove the space that was appended to ease matching.
16819 +# Then replace #undef with comments. This is necessary, for
16820 # example, in the case of _POSIX_SOURCE, which is predefined and required
16821 # on some systems where configure will not decide to define it.
16822 -cat >>conftest.undefs <<\_ACEOF
16823 -s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
16824 +# (The regexp can be short, since the line contains either #define or #undef.)
16825 +echo 's/ $//
16826 +s,^[ #]*u.*,/* & */,' >>conftest.defines
16827 +
16828 +# Break up conftest.defines:
16829 +ac_max_sed_lines=50
16830 +
16831 +# First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
16832 +# Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
16833 +# Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
16834 +# et cetera.
16835 +ac_in='$ac_file_inputs'
16836 +ac_out='"$tmp/out1"'
16837 +ac_nxt='"$tmp/out2"'
16838 +
16839 +while :
16840 +do
16841 + # Write a here document:
16842 + cat >>$CONFIG_STATUS <<_ACEOF
16843 + # First, check the format of the line:
16844 + cat >"\$tmp/defines.sed" <<\\CEOF
16845 +/^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
16846 +/^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
16847 +b
16848 +:def
16849 _ACEOF
16850 -
16851 -# Break up conftest.defines because some shells have a limit on the size
16852 -# of here documents, and old seds have small limits too (100 cmds).
16853 -echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
16854 -echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
16855 -echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
16856 -echo ' :' >>$CONFIG_STATUS
16857 -rm -f conftest.tail
16858 -while grep . conftest.defines >/dev/null
16859 -do
16860 - # Write a limited-size here document to $tmp/defines.sed.
16861 - echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
16862 - # Speed up: don't consider the non `#define' lines.
16863 - echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
16864 - # Work around the forget-to-reset-the-flag bug.
16865 - echo 't clr' >>$CONFIG_STATUS
16866 - echo ': clr' >>$CONFIG_STATUS
16867 - sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
16868 + sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
16869 echo 'CEOF
16870 - sed -f $tmp/defines.sed $tmp/in >$tmp/out
16871 - rm -f $tmp/in
16872 - mv $tmp/out $tmp/in
16873 -' >>$CONFIG_STATUS
16874 - sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
16875 + sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
16876 + ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
16877 + sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
16878 + grep . conftest.tail >/dev/null || break
16879 rm -f conftest.defines
16880 mv conftest.tail conftest.defines
16881 done
16882 -rm -f conftest.defines
16883 -echo ' fi # grep' >>$CONFIG_STATUS
16884 -echo >>$CONFIG_STATUS
16885 -
16886 -# Break up conftest.undefs because some shells have a limit on the size
16887 -# of here documents, and old seds have small limits too (100 cmds).
16888 -echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
16889 -rm -f conftest.tail
16890 -while grep . conftest.undefs >/dev/null
16891 -do
16892 - # Write a limited-size here document to $tmp/undefs.sed.
16893 - echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
16894 - # Speed up: don't consider the non `#undef'
16895 - echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
16896 - # Work around the forget-to-reset-the-flag bug.
16897 - echo 't clr' >>$CONFIG_STATUS
16898 - echo ': clr' >>$CONFIG_STATUS
16899 - sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
16900 - echo 'CEOF
16901 - sed -f $tmp/undefs.sed $tmp/in >$tmp/out
16902 - rm -f $tmp/in
16903 - mv $tmp/out $tmp/in
16904 -' >>$CONFIG_STATUS
16905 - sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
16906 - rm -f conftest.undefs
16907 - mv conftest.tail conftest.undefs
16908 -done
16909 -rm -f conftest.undefs
16910 +rm -f conftest.defines conftest.tail
16911
16912 +echo "ac_result=$ac_in" >>$CONFIG_STATUS
16913 cat >>$CONFIG_STATUS <<\_ACEOF
16914 - # Let's still pretend it is `configure' which instantiates (i.e., don't
16915 - # use $as_me), people would be surprised to read:
16916 - # /* config.h. Generated by config.status. */
16917 - if test x"$ac_file" = x-; then
16918 - echo "/* Generated by configure. */" >$tmp/config.h
16919 - else
16920 - echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
16921 - fi
16922 - cat $tmp/in >>$tmp/config.h
16923 - rm -f $tmp/in
16924 if test x"$ac_file" != x-; then
16925 - if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
16926 + echo "/* $configure_input */" >"$tmp/config.h"
16927 + cat "$ac_result" >>"$tmp/config.h"
16928 + if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
16929 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
16930 echo "$as_me: $ac_file is unchanged" >&6;}
16931 else
16932 - ac_dir=`(dirname "$ac_file") 2>/dev/null ||
16933 -$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16934 - X"$ac_file" : 'X\(//\)[^/]' \| \
16935 - X"$ac_file" : 'X\(//\)$' \| \
16936 - X"$ac_file" : 'X\(/\)' \| \
16937 - . : '\(.\)' 2>/dev/null ||
16938 -echo X"$ac_file" |
16939 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
16940 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
16941 - /^X\(\/\/\)$/{ s//\1/; q; }
16942 - /^X\(\/\).*/{ s//\1/; q; }
16943 - s/.*/./; q'`
16944 - { if $as_mkdir_p; then
16945 - mkdir -p "$ac_dir"
16946 - else
16947 - as_dir="$ac_dir"
16948 - as_dirs=
16949 - while test ! -d "$as_dir"; do
16950 - as_dirs="$as_dir $as_dirs"
16951 - as_dir=`(dirname "$as_dir") 2>/dev/null ||
16952 -$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16953 - X"$as_dir" : 'X\(//\)[^/]' \| \
16954 - X"$as_dir" : 'X\(//\)$' \| \
16955 - X"$as_dir" : 'X\(/\)' \| \
16956 - . : '\(.\)' 2>/dev/null ||
16957 -echo X"$as_dir" |
16958 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
16959 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
16960 - /^X\(\/\/\)$/{ s//\1/; q; }
16961 - /^X\(\/\).*/{ s//\1/; q; }
16962 - s/.*/./; q'`
16963 - done
16964 - test ! -n "$as_dirs" || mkdir $as_dirs
16965 - fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
16966 -echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
16967 - { (exit 1); exit 1; }; }; }
16968 -
16969 rm -f $ac_file
16970 - mv $tmp/config.h $ac_file
16971 + mv "$tmp/config.h" $ac_file
16972 fi
16973 else
16974 - cat $tmp/config.h
16975 - rm -f $tmp/config.h
16976 + echo "/* $configure_input */"
16977 + cat "$ac_result"
16978 fi
16979 + rm -f "$tmp/out12"
16980 # Compute $ac_file's index in $config_headers.
16981 _am_stamp_count=1
16982 for _am_header in $config_headers :; do
16983 @@ -15773,135 +16073,39 @@ for _am_header in $config_headers :; do
16984 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
16985 esac
16986 done
16987 -echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
16988 +echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
16989 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16990 X$ac_file : 'X\(//\)[^/]' \| \
16991 X$ac_file : 'X\(//\)$' \| \
16992 - X$ac_file : 'X\(/\)' \| \
16993 - . : '\(.\)' 2>/dev/null ||
16994 + X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
16995 echo X$ac_file |
16996 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
16997 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
16998 - /^X\(\/\/\)$/{ s//\1/; q; }
16999 - /^X\(\/\).*/{ s//\1/; q; }
17000 - s/.*/./; q'`/stamp-h$_am_stamp_count
17001 -done
17002 -_ACEOF
17003 -cat >>$CONFIG_STATUS <<\_ACEOF
17004 -
17005 -#
17006 -# CONFIG_COMMANDS section.
17007 -#
17008 -for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
17009 - ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
17010 - ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
17011 - ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
17012 -$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17013 - X"$ac_dest" : 'X\(//\)[^/]' \| \
17014 - X"$ac_dest" : 'X\(//\)$' \| \
17015 - X"$ac_dest" : 'X\(/\)' \| \
17016 - . : '\(.\)' 2>/dev/null ||
17017 -echo X"$ac_dest" |
17018 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
17019 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
17020 - /^X\(\/\/\)$/{ s//\1/; q; }
17021 - /^X\(\/\).*/{ s//\1/; q; }
17022 - s/.*/./; q'`
17023 - { if $as_mkdir_p; then
17024 - mkdir -p "$ac_dir"
17025 - else
17026 - as_dir="$ac_dir"
17027 - as_dirs=
17028 - while test ! -d "$as_dir"; do
17029 - as_dirs="$as_dir $as_dirs"
17030 - as_dir=`(dirname "$as_dir") 2>/dev/null ||
17031 -$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17032 - X"$as_dir" : 'X\(//\)[^/]' \| \
17033 - X"$as_dir" : 'X\(//\)$' \| \
17034 - X"$as_dir" : 'X\(/\)' \| \
17035 - . : '\(.\)' 2>/dev/null ||
17036 -echo X"$as_dir" |
17037 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
17038 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
17039 - /^X\(\/\/\)$/{ s//\1/; q; }
17040 - /^X\(\/\).*/{ s//\1/; q; }
17041 - s/.*/./; q'`
17042 - done
17043 - test ! -n "$as_dirs" || mkdir $as_dirs
17044 - fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
17045 -echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
17046 - { (exit 1); exit 1; }; }; }
17047 -
17048 - ac_builddir=.
17049 -
17050 -if test "$ac_dir" != .; then
17051 - ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
17052 - # A "../" for each directory in $ac_dir_suffix.
17053 - ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
17054 -else
17055 - ac_dir_suffix= ac_top_builddir=
17056 -fi
17057 -
17058 -case $srcdir in
17059 - .) # No --srcdir option. We are building in place.
17060 - ac_srcdir=.
17061 - if test -z "$ac_top_builddir"; then
17062 - ac_top_srcdir=.
17063 - else
17064 - ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
17065 - fi ;;
17066 - [\\/]* | ?:[\\/]* ) # Absolute path.
17067 - ac_srcdir=$srcdir$ac_dir_suffix;
17068 - ac_top_srcdir=$srcdir ;;
17069 - *) # Relative path.
17070 - ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
17071 - ac_top_srcdir=$ac_top_builddir$srcdir ;;
17072 -esac
17073 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17074 + s//\1/
17075 + q
17076 + }
17077 + /^X\(\/\/\)[^/].*/{
17078 + s//\1/
17079 + q
17080 + }
17081 + /^X\(\/\/\)$/{
17082 + s//\1/
17083 + q
17084 + }
17085 + /^X\(\/\).*/{
17086 + s//\1/
17087 + q
17088 + }
17089 + s/.*/./; q'`/stamp-h$_am_stamp_count
17090 + ;;
17091
17092 -# Do not use `cd foo && pwd` to compute absolute paths, because
17093 -# the directories may not exist.
17094 -case `pwd` in
17095 -.) ac_abs_builddir="$ac_dir";;
17096 -*)
17097 - case "$ac_dir" in
17098 - .) ac_abs_builddir=`pwd`;;
17099 - [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
17100 - *) ac_abs_builddir=`pwd`/"$ac_dir";;
17101 - esac;;
17102 -esac
17103 -case $ac_abs_builddir in
17104 -.) ac_abs_top_builddir=${ac_top_builddir}.;;
17105 -*)
17106 - case ${ac_top_builddir}. in
17107 - .) ac_abs_top_builddir=$ac_abs_builddir;;
17108 - [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
17109 - *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
17110 - esac;;
17111 -esac
17112 -case $ac_abs_builddir in
17113 -.) ac_abs_srcdir=$ac_srcdir;;
17114 -*)
17115 - case $ac_srcdir in
17116 - .) ac_abs_srcdir=$ac_abs_builddir;;
17117 - [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
17118 - *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
17119 - esac;;
17120 -esac
17121 -case $ac_abs_builddir in
17122 -.) ac_abs_top_srcdir=$ac_top_srcdir;;
17123 -*)
17124 - case $ac_top_srcdir in
17125 - .) ac_abs_top_srcdir=$ac_abs_builddir;;
17126 - [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
17127 - *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
17128 - esac;;
17129 -esac
17130 + :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
17131 +echo "$as_me: executing $ac_file commands" >&6;}
17132 + ;;
17133 + esac
17134
17135
17136 - { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
17137 -echo "$as_me: executing $ac_dest commands" >&6;}
17138 - case $ac_dest in
17139 - depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
17140 + case $ac_file$ac_mode in
17141 + "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
17142 # Strip MF so we end up with the name of the file.
17143 mf=`echo "$mf" | sed -e 's/:.*$//'`
17144 # Check whether this is an Automake generated Makefile or not.
17145 @@ -15911,18 +16115,29 @@ echo "$as_me: executing $ac_dest command
17146 # each Makefile.in and add a new line on top of each file to say so.
17147 # So let's grep whole file.
17148 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
17149 - dirpart=`(dirname "$mf") 2>/dev/null ||
17150 + dirpart=`$as_dirname -- "$mf" ||
17151 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17152 X"$mf" : 'X\(//\)[^/]' \| \
17153 X"$mf" : 'X\(//\)$' \| \
17154 - X"$mf" : 'X\(/\)' \| \
17155 - . : '\(.\)' 2>/dev/null ||
17156 + X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
17157 echo X"$mf" |
17158 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
17159 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
17160 - /^X\(\/\/\)$/{ s//\1/; q; }
17161 - /^X\(\/\).*/{ s//\1/; q; }
17162 - s/.*/./; q'`
17163 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17164 + s//\1/
17165 + q
17166 + }
17167 + /^X\(\/\/\)[^/].*/{
17168 + s//\1/
17169 + q
17170 + }
17171 + /^X\(\/\/\)$/{
17172 + s//\1/
17173 + q
17174 + }
17175 + /^X\(\/\).*/{
17176 + s//\1/
17177 + q
17178 + }
17179 + s/.*/./; q'`
17180 else
17181 continue
17182 fi
17183 @@ -15944,54 +16159,80 @@ echo X"$mf" |
17184 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
17185 # Make sure the directory exists.
17186 test -f "$dirpart/$file" && continue
17187 - fdir=`(dirname "$file") 2>/dev/null ||
17188 + fdir=`$as_dirname -- "$file" ||
17189 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17190 X"$file" : 'X\(//\)[^/]' \| \
17191 X"$file" : 'X\(//\)$' \| \
17192 - X"$file" : 'X\(/\)' \| \
17193 - . : '\(.\)' 2>/dev/null ||
17194 + X"$file" : 'X\(/\)' \| . 2>/dev/null ||
17195 echo X"$file" |
17196 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
17197 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
17198 - /^X\(\/\/\)$/{ s//\1/; q; }
17199 - /^X\(\/\).*/{ s//\1/; q; }
17200 - s/.*/./; q'`
17201 - { if $as_mkdir_p; then
17202 - mkdir -p $dirpart/$fdir
17203 - else
17204 - as_dir=$dirpart/$fdir
17205 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17206 + s//\1/
17207 + q
17208 + }
17209 + /^X\(\/\/\)[^/].*/{
17210 + s//\1/
17211 + q
17212 + }
17213 + /^X\(\/\/\)$/{
17214 + s//\1/
17215 + q
17216 + }
17217 + /^X\(\/\).*/{
17218 + s//\1/
17219 + q
17220 + }
17221 + s/.*/./; q'`
17222 + { as_dir=$dirpart/$fdir
17223 + case $as_dir in #(
17224 + -*) as_dir=./$as_dir;;
17225 + esac
17226 + test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
17227 as_dirs=
17228 - while test ! -d "$as_dir"; do
17229 - as_dirs="$as_dir $as_dirs"
17230 - as_dir=`(dirname "$as_dir") 2>/dev/null ||
17231 + while :; do
17232 + case $as_dir in #(
17233 + *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
17234 + *) as_qdir=$as_dir;;
17235 + esac
17236 + as_dirs="'$as_qdir' $as_dirs"
17237 + as_dir=`$as_dirname -- "$as_dir" ||
17238 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17239 X"$as_dir" : 'X\(//\)[^/]' \| \
17240 X"$as_dir" : 'X\(//\)$' \| \
17241 - X"$as_dir" : 'X\(/\)' \| \
17242 - . : '\(.\)' 2>/dev/null ||
17243 + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
17244 echo X"$as_dir" |
17245 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
17246 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
17247 - /^X\(\/\/\)$/{ s//\1/; q; }
17248 - /^X\(\/\).*/{ s//\1/; q; }
17249 - s/.*/./; q'`
17250 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17251 + s//\1/
17252 + q
17253 + }
17254 + /^X\(\/\/\)[^/].*/{
17255 + s//\1/
17256 + q
17257 + }
17258 + /^X\(\/\/\)$/{
17259 + s//\1/
17260 + q
17261 + }
17262 + /^X\(\/\).*/{
17263 + s//\1/
17264 + q
17265 + }
17266 + s/.*/./; q'`
17267 + test -d "$as_dir" && break
17268 done
17269 - test ! -n "$as_dirs" || mkdir $as_dirs
17270 - fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
17271 -echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
17272 + test -z "$as_dirs" || eval "mkdir $as_dirs"
17273 + } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
17274 +echo "$as_me: error: cannot create directory $as_dir" >&2;}
17275 { (exit 1); exit 1; }; }; }
17276 -
17277 # echo "creating $dirpart/$file"
17278 echo '# dummy' > "$dirpart/$file"
17279 done
17280 done
17281 ;;
17282 - default ) sed -e '/SRC-POTFILES =/r po/SRC-POTFILES' -e '/BLD-POTFILES =/r po/BLD-POTFILES' po/Makefile.in > po/Makefile ;;
17283 + "default":C) sed -e '/SRC-POTFILES =/r po/SRC-POTFILES' -e '/BLD-POTFILES =/r po/BLD-POTFILES' po/Makefile.in > po/Makefile ;;
17284 +
17285 esac
17286 -done
17287 -_ACEOF
17288 +done # for ac_tag
17289
17290 -cat >>$CONFIG_STATUS <<\_ACEOF
17291
17292 { (exit 0); exit 0; }
17293 _ACEOF
17294 diff -Nrup binutils-2.17/bfd/configure.in binutils-2.17-atmel/bfd/configure.in
17295 --- binutils-2.17/bfd/configure.in 2006-06-23 20:17:07.000000000 +0200
17296 +++ binutils-2.17-atmel/bfd/configure.in 2007-02-12 15:37:09.000000000 +0100
17297 @@ -8,7 +8,7 @@ AC_CONFIG_SRCDIR([libbfd.c])
17298 AC_CANONICAL_TARGET
17299 AC_ISC_POSIX
17300
17301 -AM_INIT_AUTOMAKE(bfd, 2.17)
17302 +AM_INIT_AUTOMAKE(bfd, 2.17.atmel.0.0.99)
17303
17304 dnl These must be called before AM_PROG_LIBTOOL, because it may want
17305 dnl to call AC_CHECK_PROG.
17306 @@ -583,6 +583,7 @@ do
17307 bfd_efi_app_ia64_vec) tb="$tb efi-app-ia64.lo pepigen.lo cofflink.lo"; target_size=64 ;;
17308 bfd_elf32_am33lin_vec) tb="$tb elf32-am33lin.lo elf32.lo $elf" ;;
17309 bfd_elf32_avr_vec) tb="$tb elf32-avr.lo elf32.lo $elf" ;;
17310 + bfd_elf32_avr32_vec) tb="$tb elf32-avr32.lo elf32.lo $elf" ;;
17311 bfd_elf32_bfin_vec) tb="$tb elf32-bfin.lo elf32.lo $elf" ;;
17312 bfd_elf32_bfinfdpic_vec) tb="$tb elf32-bfin.lo elf32.lo $elf" ;;
17313 bfd_elf32_big_generic_vec) tb="$tb elf32-gen.lo elf32.lo $elf" ;;
17314 diff -Nrup binutils-2.17/bfd/cpu-avr32.c binutils-2.17-atmel/bfd/cpu-avr32.c
17315 --- binutils-2.17/bfd/cpu-avr32.c 1970-01-01 01:00:00.000000000 +0100
17316 +++ binutils-2.17-atmel/bfd/cpu-avr32.c 2006-11-10 15:05:48.000000000 +0100
17317 @@ -0,0 +1,49 @@
17318 +/* BFD library support routines for AVR32.
17319 + Copyright 2003-2006 Atmel Corporation.
17320 +
17321 + Written by Haavard Skinnemoen, Atmel Norway, <hskinnemoen@atmel.com>
17322 +
17323 + This is part of BFD, the Binary File Descriptor library.
17324 +
17325 + This program is free software; you can redistribute it and/or modify
17326 + it under the terms of the GNU General Public License as published by
17327 + the Free Software Foundation; either version 2 of the License, or
17328 + (at your option) any later version.
17329 +
17330 + This program is distributed in the hope that it will be useful,
17331 + but WITHOUT ANY WARRANTY; without even the implied warranty of
17332 + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17333 + GNU General Public License for more details.
17334 +
17335 + You should have received a copy of the GNU General Public License
17336 + along with this program; if not, write to the Free Software
17337 + Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
17338 +
17339 +#include "bfd.h"
17340 +#include "sysdep.h"
17341 +#include "libbfd.h"
17342 +
17343 +#define N(machine, print, default, next) \
17344 + { \
17345 + 32, /* 32 bits in a word */ \
17346 + 32, /* 32 bits in an address */ \
17347 + 8, /* 8 bits in a byte */ \
17348 + bfd_arch_avr32, /* architecture */ \
17349 + machine, /* machine */ \
17350 + "avr32", /* arch name */ \
17351 + print, /* printable name */ \
17352 + 1, /* section align power */ \
17353 + default, /* the default machine? */ \
17354 + bfd_default_compatible, \
17355 + bfd_default_scan, \
17356 + next, \
17357 + }
17358 +
17359 +static const bfd_arch_info_type cpu_info[] =
17360 +{
17361 + N(bfd_mach_avr32_ap, "avr32:ap", FALSE, &cpu_info[1]),
17362 + N(bfd_mach_avr32_uc, "avr32:uc", FALSE, NULL),
17363 +};
17364 +
17365 +const bfd_arch_info_type bfd_avr32_arch =
17366 + N(bfd_mach_avr32_ap, "avr32:ap", TRUE, &cpu_info[0]);
17367 diff -Nrup binutils-2.17/bfd/doc/Makefile.in binutils-2.17-atmel/bfd/doc/Makefile.in
17368 --- binutils-2.17/bfd/doc/Makefile.in 2006-04-06 23:49:26.000000000 +0200
17369 +++ binutils-2.17-atmel/bfd/doc/Makefile.in 2007-02-20 16:07:07.000000000 +0100
17370 @@ -1,4 +1,4 @@
17371 -# Makefile.in generated by automake 1.9.5 from Makefile.am.
17372 +# Makefile.in generated by automake 1.9.6 from Makefile.am.
17373 # @configure_input@
17374
17375 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
17376 @@ -105,6 +105,7 @@ EXEEXT = @EXEEXT@
17377 EXEEXT_FOR_BUILD = @EXEEXT_FOR_BUILD@
17378 GMOFILES = @GMOFILES@
17379 GMSGFMT = @GMSGFMT@
17380 +GREP = @GREP@
17381 GT_NO = @GT_NO@
17382 GT_YES = @GT_YES@
17383 HDEFINES = @HDEFINES@
17384 @@ -154,10 +155,7 @@ WARN_CFLAGS = @WARN_CFLAGS@
17385 WIN32LDFLAGS = @WIN32LDFLAGS@
17386 WIN32LIBADD = @WIN32LIBADD@
17387 XGETTEXT = @XGETTEXT@
17388 -ac_ct_AR = @ac_ct_AR@
17389 ac_ct_CC = @ac_ct_CC@
17390 -ac_ct_RANLIB = @ac_ct_RANLIB@
17391 -ac_ct_STRIP = @ac_ct_STRIP@
17392 all_backends = @all_backends@
17393 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
17394 am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
17395 @@ -183,6 +181,7 @@ build_vendor = @build_vendor@
17396 datadir = @datadir@
17397 datarootdir = @datarootdir@
17398 docdir = @docdir@
17399 +dvidir = @dvidir@
17400 exec_prefix = @exec_prefix@
17401 host = @host@
17402 host_alias = @host_alias@
17403 @@ -197,12 +196,15 @@ install_sh = @install_sh@
17404 l = @l@
17405 libdir = @libdir@
17406 libexecdir = @libexecdir@
17407 +localedir = @localedir@
17408 localstatedir = @localstatedir@
17409 mandir = @mandir@
17410 mkdir_p = @mkdir_p@
17411 oldincludedir = @oldincludedir@
17412 +pdfdir = @pdfdir@
17413 prefix = @prefix@
17414 program_transform_name = @program_transform_name@
17415 +psdir = @psdir@
17416 sbindir = @sbindir@
17417 sharedstatedir = @sharedstatedir@
17418 sysconfdir = @sysconfdir@
17419 @@ -364,9 +366,11 @@ distclean-libtool:
17420 restore=: && backupdir="$(am__leading_dot)am$$$$" && \
17421 am__cwd=`pwd` && cd $(srcdir) && \
17422 rm -rf $$backupdir && mkdir $$backupdir && \
17423 - for f in $@ $@-[0-9] $@-[0-9][0-9] $(@:.info=).i[0-9] $(@:.info=).i[0-9][0-9]; do \
17424 - if test -f $$f; then mv $$f $$backupdir; restore=mv; else :; fi; \
17425 - done; \
17426 + if ($(MAKEINFO) --version) >/dev/null 2>&1; then \
17427 + for f in $@ $@-[0-9] $@-[0-9][0-9] $(@:.info=).i[0-9] $(@:.info=).i[0-9][0-9]; do \
17428 + if test -f $$f; then mv $$f $$backupdir; restore=mv; else :; fi; \
17429 + done; \
17430 + else :; fi && \
17431 cd "$$am__cwd"; \
17432 if $(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I $(srcdir) \
17433 -o $@ $<; \
17434 @@ -408,6 +412,7 @@ bfd.dvi: bfd.texinfo
17435 bfd.pdf: bfd.texinfo
17436 bfd.html: bfd.texinfo
17437 .dvi.ps:
17438 + TEXINPUTS="$(am__TEXINFO_TEX_DIR)$(PATH_SEPARATOR)$$TEXINPUTS" \
17439 $(DVIPS) -o $@ $<
17440
17441 uninstall-info-am:
17442 @@ -440,10 +445,13 @@ dist-info: $(INFO_DEPS)
17443 $(srcdir)/*) base=`echo "$$base" | sed "s|^$$srcdirstrip/||"`;; \
17444 esac; \
17445 if test -f $$base; then d=.; else d=$(srcdir); fi; \
17446 - for file in $$d/$$base*; do \
17447 - relfile=`expr "$$file" : "$$d/\(.*\)"`; \
17448 - test -f $(distdir)/$$relfile || \
17449 - cp -p $$file $(distdir)/$$relfile; \
17450 + base_i=`echo "$$base" | sed 's|\.info$$||;s|$$|.i|'`; \
17451 + for file in $$d/$$base $$d/$$base-[0-9] $$d/$$base-[0-9][0-9] $$d/$$base_i[0-9] $$d/$$base_i[0-9][0-9]; do \
17452 + if test -f $$file; then \
17453 + relfile=`expr "$$file" : "$$d/\(.*\)"`; \
17454 + test -f $(distdir)/$$relfile || \
17455 + cp -p $$file $(distdir)/$$relfile; \
17456 + else :; fi; \
17457 done; \
17458 done
17459
17460 diff -Nrup binutils-2.17/bfd/elf32-avr32.c binutils-2.17-atmel/bfd/elf32-avr32.c
17461 --- binutils-2.17/bfd/elf32-avr32.c 1970-01-01 01:00:00.000000000 +0100
17462 +++ binutils-2.17-atmel/bfd/elf32-avr32.c 2007-02-12 15:37:09.000000000 +0100
17463 @@ -0,0 +1,3847 @@
17464 +/* AVR32-specific support for 32-bit ELF.
17465 + Copyright 2003-2006 Atmel Corporation.
17466 +
17467 + Written by Haavard Skinnemoen, Atmel Norway, <hskinnemoen@atmel.com>
17468 +
17469 + This file is part of BFD, the Binary File Descriptor library.
17470 +
17471 + This program is free software; you can redistribute it and/or modify
17472 + it under the terms of the GNU General Public License as published by
17473 + the Free Software Foundation; either version 2 of the License, or
17474 + (at your option) any later version.
17475 +
17476 + This program is distributed in the hope that it will be useful,
17477 + but WITHOUT ANY WARRANTY; without even the implied warranty of
17478 + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17479 + GNU General Public License for more details.
17480 +
17481 + You should have received a copy of the GNU General Public License
17482 + along with this program; if not, write to the Free Software
17483 + Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
17484 +
17485 +#include "bfd.h"
17486 +#include "sysdep.h"
17487 +#include "bfdlink.h"
17488 +#include "libbfd.h"
17489 +#include "elf-bfd.h"
17490 +#include "elf/avr32.h"
17491 +
17492 +#define xDEBUG
17493 +#define xRELAX_DEBUG
17494 +
17495 +#ifdef DEBUG
17496 +# define pr_debug(fmt, args...) fprintf(stderr, fmt, ##args)
17497 +#else
17498 +# define pr_debug(fmt, args...) do { } while (0)
17499 +#endif
17500 +
17501 +#ifdef RELAX_DEBUG
17502 +# define RDBG(fmt, args...) fprintf(stderr, fmt, ##args)
17503 +#else
17504 +# define RDBG(fmt, args...) do { } while (0)
17505 +#endif
17506 +
17507 +/* When things go wrong, we want it to blow up, damnit! */
17508 +#undef BFD_ASSERT
17509 +#undef abort
17510 +#define BFD_ASSERT(expr) \
17511 + do \
17512 + { \
17513 + if (!(expr)) \
17514 + { \
17515 + bfd_assert(__FILE__, __LINE__); \
17516 + abort(); \
17517 + } \
17518 + } \
17519 + while (0)
17520 +
17521 +/* The name of the dynamic interpreter. This is put in the .interp section. */
17522 +#define ELF_DYNAMIC_INTERPRETER "/lib/ld.so.1"
17523 +
17524 +#define AVR32_GOT_HEADER_SIZE 8
17525 +#define AVR32_FUNCTION_STUB_SIZE 8
17526 +
17527 +#define ELF_R_INFO(x, y) ELF32_R_INFO(x, y)
17528 +#define ELF_R_TYPE(x) ELF32_R_TYPE(x)
17529 +#define ELF_R_SYM(x) ELF32_R_SYM(x)
17530 +
17531 +#define NOP_OPCODE 0xd703
17532 +
17533 +\f
17534 +/* Mapping between BFD relocations and ELF relocations */
17535 +
17536 +static reloc_howto_type *
17537 +bfd_elf32_bfd_reloc_type_lookup(bfd *abfd, bfd_reloc_code_real_type code);
17538 +static void
17539 +avr32_info_to_howto (bfd *abfd, arelent *cache_ptr, Elf_Internal_Rela *dst);
17540 +
17541 +/* Generic HOWTO */
17542 +#define GENH(name, align, size, bitsize, pcrel, bitpos, complain, mask) \
17543 + HOWTO(name, align, size, bitsize, pcrel, bitpos, \
17544 + complain_overflow_##complain, bfd_elf_generic_reloc, #name, \
17545 + FALSE, 0, mask, pcrel)
17546 +
17547 +static reloc_howto_type elf_avr32_howto_table[] = {
17548 + /* NAME ALN SZ BSZ PCREL BP COMPLAIN MASK */
17549 + GENH(R_AVR32_NONE, 0, 0, 0, FALSE, 0, dont, 0x00000000),
17550 +
17551 + GENH(R_AVR32_32, 0, 2, 32, FALSE, 0, dont, 0xffffffff),
17552 + GENH(R_AVR32_16, 0, 1, 16, FALSE, 0, bitfield, 0x0000ffff),
17553 + GENH(R_AVR32_8, 0, 0, 8, FALSE, 0, bitfield, 0x000000ff),
17554 + GENH(R_AVR32_32_PCREL, 0, 2, 32, TRUE, 0, signed, 0xffffffff),
17555 + GENH(R_AVR32_16_PCREL, 0, 1, 16, TRUE, 0, signed, 0x0000ffff),
17556 + GENH(R_AVR32_8_PCREL, 0, 0, 8, TRUE, 0, signed, 0x000000ff),
17557 +
17558 + /* Difference between two symbol (sym2 - sym1). The reloc encodes
17559 + the value of sym1. The field contains the difference before any
17560 + relaxing is done. */
17561 + GENH(R_AVR32_DIFF32, 0, 2, 32, FALSE, 0, dont, 0xffffffff),
17562 + GENH(R_AVR32_DIFF16, 0, 1, 16, FALSE, 0, signed, 0x0000ffff),
17563 + GENH(R_AVR32_DIFF8, 0, 0, 8, FALSE, 0, signed, 0x000000ff),
17564 +
17565 + GENH(R_AVR32_GOT32, 0, 2, 32, FALSE, 0, signed, 0xffffffff),
17566 + GENH(R_AVR32_GOT16, 0, 1, 16, FALSE, 0, signed, 0x0000ffff),
17567 + GENH(R_AVR32_GOT8, 0, 0, 8, FALSE, 0, signed, 0x000000ff),
17568 +
17569 + GENH(R_AVR32_21S, 0, 2, 21, FALSE, 0, signed, 0x1e10ffff),
17570 + GENH(R_AVR32_16U, 0, 2, 16, FALSE, 0, unsigned, 0x0000ffff),
17571 + GENH(R_AVR32_16S, 0, 2, 16, FALSE, 0, signed, 0x0000ffff),
17572 + GENH(R_AVR32_8S, 0, 1, 8, FALSE, 4, signed, 0x00000ff0),
17573 + GENH(R_AVR32_8S_EXT, 0, 2, 8, FALSE, 0, signed, 0x000000ff),
17574 +
17575 + GENH(R_AVR32_22H_PCREL, 1, 2, 21, TRUE, 0, signed, 0x1e10ffff),
17576 + GENH(R_AVR32_18W_PCREL, 2, 2, 16, TRUE, 0, signed, 0x0000ffff),
17577 + GENH(R_AVR32_16B_PCREL, 0, 2, 16, TRUE, 0, signed, 0x0000ffff),
17578 + GENH(R_AVR32_16N_PCREL, 0, 2, 16, TRUE, 0, signed, 0x0000ffff),
17579 + GENH(R_AVR32_14UW_PCREL, 2, 2, 12, TRUE, 0, unsigned, 0x0000f0ff),
17580 + GENH(R_AVR32_11H_PCREL, 1, 1, 10, TRUE, 4, signed, 0x00000ff3),
17581 + GENH(R_AVR32_10UW_PCREL, 2, 2, 8, TRUE, 0, unsigned, 0x000000ff),
17582 + GENH(R_AVR32_9H_PCREL, 1, 1, 8, TRUE, 4, signed, 0x00000ff0),
17583 + GENH(R_AVR32_9UW_PCREL, 2, 1, 7, TRUE, 4, unsigned, 0x000007f0),
17584 +
17585 + GENH(R_AVR32_HI16, 16, 2, 16, FALSE, 0, dont, 0x0000ffff),
17586 + GENH(R_AVR32_LO16, 0, 2, 16, FALSE, 0, dont, 0x0000ffff),
17587 +
17588 + GENH(R_AVR32_GOTPC, 0, 2, 32, FALSE, 0, dont, 0xffffffff),
17589 + GENH(R_AVR32_GOTCALL, 2, 2, 21, FALSE, 0, signed, 0x1e10ffff),
17590 + GENH(R_AVR32_LDA_GOT, 2, 2, 21, FALSE, 0, signed, 0x1e10ffff),
17591 + GENH(R_AVR32_GOT21S, 0, 2, 21, FALSE, 0, signed, 0x1e10ffff),
17592 + GENH(R_AVR32_GOT18SW, 2, 2, 16, FALSE, 0, signed, 0x0000ffff),
17593 + GENH(R_AVR32_GOT16S, 0, 2, 16, FALSE, 0, signed, 0x0000ffff),
17594 + GENH(R_AVR32_GOT7UW, 2, 1, 5, FALSE, 4, unsigned, 0x000001f0),
17595 +
17596 + GENH(R_AVR32_32_CPENT, 0, 2, 32, FALSE, 0, dont, 0xffffffff),
17597 + GENH(R_AVR32_CPCALL, 2, 2, 16, TRUE, 0, signed, 0x0000ffff),
17598 + GENH(R_AVR32_16_CP, 0, 2, 16, TRUE, 0, signed, 0x0000ffff),
17599 + GENH(R_AVR32_9W_CP, 2, 1, 7, TRUE, 4, unsigned, 0x000007f0),
17600 +
17601 + GENH(R_AVR32_RELATIVE, 0, 2, 32, FALSE, 0, signed, 0xffffffff),
17602 + GENH(R_AVR32_GLOB_DAT, 0, 2, 32, FALSE, 0, dont, 0xffffffff),
17603 + GENH(R_AVR32_JMP_SLOT, 0, 2, 32, FALSE, 0, dont, 0xffffffff),
17604 +
17605 + GENH(R_AVR32_ALIGN, 0, 1, 0, FALSE, 0, unsigned, 0x00000000),
17606 +};
17607 +
17608 +struct elf_reloc_map
17609 +{
17610 + bfd_reloc_code_real_type bfd_reloc_val;
17611 + unsigned char elf_reloc_val;
17612 +};
17613 +
17614 +static const struct elf_reloc_map avr32_reloc_map[] =
17615 +{
17616 + { BFD_RELOC_NONE, R_AVR32_NONE },
17617 +
17618 + { BFD_RELOC_32, R_AVR32_32 },
17619 + { BFD_RELOC_16, R_AVR32_16 },
17620 + { BFD_RELOC_8, R_AVR32_8 },
17621 + { BFD_RELOC_32_PCREL, R_AVR32_32_PCREL },
17622 + { BFD_RELOC_16_PCREL, R_AVR32_16_PCREL },
17623 + { BFD_RELOC_8_PCREL, R_AVR32_8_PCREL },
17624 + { BFD_RELOC_AVR32_DIFF32, R_AVR32_DIFF32 },
17625 + { BFD_RELOC_AVR32_DIFF16, R_AVR32_DIFF16 },
17626 + { BFD_RELOC_AVR32_DIFF8, R_AVR32_DIFF8 },
17627 + { BFD_RELOC_AVR32_GOT32, R_AVR32_GOT32 },
17628 + { BFD_RELOC_AVR32_GOT16, R_AVR32_GOT16 },
17629 + { BFD_RELOC_AVR32_GOT8, R_AVR32_GOT8 },
17630 +
17631 + { BFD_RELOC_AVR32_21S, R_AVR32_21S },
17632 + { BFD_RELOC_AVR32_16U, R_AVR32_16U },
17633 + { BFD_RELOC_AVR32_16S, R_AVR32_16S },
17634 + { BFD_RELOC_AVR32_SUB5, R_AVR32_16S },
17635 + { BFD_RELOC_AVR32_8S_EXT, R_AVR32_8S_EXT },
17636 + { BFD_RELOC_AVR32_8S, R_AVR32_8S },
17637 +
17638 + { BFD_RELOC_AVR32_22H_PCREL, R_AVR32_22H_PCREL },
17639 + { BFD_RELOC_AVR32_18W_PCREL, R_AVR32_18W_PCREL },
17640 + { BFD_RELOC_AVR32_16B_PCREL, R_AVR32_16B_PCREL },
17641 + { BFD_RELOC_AVR32_16N_PCREL, R_AVR32_16N_PCREL },
17642 + { BFD_RELOC_AVR32_11H_PCREL, R_AVR32_11H_PCREL },
17643 + { BFD_RELOC_AVR32_10UW_PCREL, R_AVR32_10UW_PCREL },
17644 + { BFD_RELOC_AVR32_9H_PCREL, R_AVR32_9H_PCREL },
17645 + { BFD_RELOC_AVR32_9UW_PCREL, R_AVR32_9UW_PCREL },
17646 +
17647 + { BFD_RELOC_HI16, R_AVR32_HI16 },
17648 + { BFD_RELOC_LO16, R_AVR32_LO16 },
17649 +
17650 + { BFD_RELOC_AVR32_GOTPC, R_AVR32_GOTPC },
17651 + { BFD_RELOC_AVR32_GOTCALL, R_AVR32_GOTCALL },
17652 + { BFD_RELOC_AVR32_LDA_GOT, R_AVR32_LDA_GOT },
17653 + { BFD_RELOC_AVR32_GOT21S, R_AVR32_GOT21S },
17654 + { BFD_RELOC_AVR32_GOT18SW, R_AVR32_GOT18SW },
17655 + { BFD_RELOC_AVR32_GOT16S, R_AVR32_GOT16S },
17656 + /* GOT7UW should never be generated by the assembler */
17657 +
17658 + { BFD_RELOC_AVR32_32_CPENT, R_AVR32_32_CPENT },
17659 + { BFD_RELOC_AVR32_CPCALL, R_AVR32_CPCALL },
17660 + { BFD_RELOC_AVR32_16_CP, R_AVR32_16_CP },
17661 + { BFD_RELOC_AVR32_9W_CP, R_AVR32_9W_CP },
17662 +
17663 + { BFD_RELOC_AVR32_ALIGN, R_AVR32_ALIGN },
17664 +};
17665 +
17666 +static reloc_howto_type *
17667 +bfd_elf32_bfd_reloc_type_lookup (bfd *abfd ATTRIBUTE_UNUSED,
17668 + bfd_reloc_code_real_type code)
17669 +{
17670 + unsigned int i;
17671 +
17672 + for (i = 0; i < sizeof(avr32_reloc_map) / sizeof(struct elf_reloc_map); i++)
17673 + {
17674 + if (avr32_reloc_map[i].bfd_reloc_val == code)
17675 + return &elf_avr32_howto_table[avr32_reloc_map[i].elf_reloc_val];
17676 + }
17677 +
17678 + return NULL;
17679 +}
17680 +
17681 +static void
17682 +avr32_info_to_howto (bfd *abfd ATTRIBUTE_UNUSED,
17683 + arelent *cache_ptr,
17684 + Elf_Internal_Rela *dst)
17685 +{
17686 + unsigned int r_type;
17687 +
17688 + r_type = ELF32_R_TYPE (dst->r_info);
17689 + BFD_ASSERT (r_type < (unsigned int) R_AVR32_max);
17690 + cache_ptr->howto = &elf_avr32_howto_table[r_type];
17691 +}
17692 +
17693 +\f
17694 +/* AVR32 ELF linker hash table and associated hash entries. */
17695 +
17696 +static struct bfd_hash_entry *
17697 +avr32_elf_link_hash_newfunc(struct bfd_hash_entry *entry,
17698 + struct bfd_hash_table *table,
17699 + const char *string);
17700 +static void
17701 +avr32_elf_copy_indirect_symbol(struct bfd_link_info *info,
17702 + struct elf_link_hash_entry *dir,
17703 + struct elf_link_hash_entry *ind);
17704 +static struct bfd_link_hash_table *
17705 +avr32_elf_link_hash_table_create(bfd *abfd);
17706 +
17707 +/*
17708 + Try to limit memory usage to something reasonable when sorting the
17709 + GOT. If we ever get more than this many references to the same
17710 + symbol, we may need to do something special.
17711 +*/
17712 +#define MAX_NR_GOT_HOLES 8192
17713 +
17714 +/*
17715 + AVR32 GOT entry. We need to keep track of refcounts and offsets
17716 + simultaneously, since we need the offsets during relaxation, and we
17717 + also want to be able to drop GOT entries during relaxation. In
17718 + addition to this, we want to keep the list of GOT entries sorted so
17719 + that we can keep the most-used entries at the lowest offsets.
17720 +*/
17721 +struct got_entry
17722 +{
17723 + struct got_entry *next;
17724 + struct got_entry **pprev;
17725 + int refcount;
17726 + bfd_signed_vma offset;
17727 +};
17728 +
17729 +struct elf_avr32_link_hash_entry
17730 +{
17731 + struct elf_link_hash_entry root;
17732 +
17733 + /* Number of runtime relocations against this symbol. */
17734 + unsigned int possibly_dynamic_relocs;
17735 +
17736 + /* If there are anything but R_AVR32_GOT18 relocations against this
17737 + symbol, it means that someone may be taking the address of the
17738 + function, and we should therefore not create a stub. */
17739 + bfd_boolean no_fn_stub;
17740 +
17741 + /* If there is a R_AVR32_32 relocation in a read-only section
17742 + against this symbol, we could be in trouble. If we're linking a
17743 + shared library or this symbol is defined in one, it means we must
17744 + emit a run-time reloc for it and that's not allowed in read-only
17745 + sections. */
17746 + asection *readonly_reloc_sec;
17747 + bfd_vma readonly_reloc_offset;
17748 +
17749 + /* Record which frag (if any) contains the symbol. This is used
17750 + during relaxation in order to avoid having to update all symbols
17751 + whenever we move something. For local symbols, this information
17752 + is in the local_sym_frag member of struct elf_obj_tdata. */
17753 + struct fragment *sym_frag;
17754 +};
17755 +#define avr32_elf_hash_entry(ent) ((struct elf_avr32_link_hash_entry *)(ent))
17756 +
17757 +struct elf_avr32_link_hash_table
17758 +{
17759 + struct elf_link_hash_table root;
17760 +
17761 + /* Shortcuts to get to dynamic linker sections. */
17762 + asection *sgot;
17763 + asection *srelgot;
17764 + asection *sreldyn;
17765 + asection *sstub;
17766 +
17767 + /* We use a variation of Pigeonhole Sort to sort the GOT. After the
17768 + initial refcounts have been determined, we initialize
17769 + nr_got_holes to the highest refcount ever seen and allocate an
17770 + array of nr_got_holes entries for got_hole. Each GOT entry is
17771 + then stored in this array at the index given by its refcount.
17772 +
17773 + When a GOT entry has its refcount decremented during relaxation,
17774 + it is moved to a lower index in the got_hole array.
17775 + */
17776 + struct got_entry **got_hole;
17777 + int nr_got_holes;
17778 +
17779 + /* Dynamic relocations to local symbols. Only used when linking a
17780 + shared library and -Bsymbolic is not given. */
17781 + unsigned int local_dynamic_relocs;
17782 +
17783 + bfd_boolean relocations_analyzed;
17784 + bfd_boolean symbols_adjusted;
17785 + bfd_boolean repeat_pass;
17786 + unsigned int relax_iteration;
17787 + unsigned int relax_pass;
17788 +};
17789 +#define avr32_elf_hash_table(p) \
17790 + ((struct elf_avr32_link_hash_table *)((p)->hash))
17791 +
17792 +static struct bfd_hash_entry *
17793 +avr32_elf_link_hash_newfunc(struct bfd_hash_entry *entry,
17794 + struct bfd_hash_table *table,
17795 + const char *string)
17796 +{
17797 + struct elf_avr32_link_hash_entry *ret = avr32_elf_hash_entry(entry);
17798 +
17799 + /* Allocate the structure if it hasn't already been allocated by a
17800 + subclass */
17801 + if (ret == NULL)
17802 + ret = (struct elf_avr32_link_hash_entry *)
17803 + bfd_hash_allocate(table, sizeof(struct elf_avr32_link_hash_entry));
17804 +
17805 + if (ret == NULL)
17806 + return NULL;
17807 +
17808 + memset(ret, 0, sizeof(struct elf_avr32_link_hash_entry));
17809 +
17810 + /* Give the superclass a chance */
17811 + ret = (struct elf_avr32_link_hash_entry *)
17812 + _bfd_elf_link_hash_newfunc((struct bfd_hash_entry *)ret, table, string);
17813 +
17814 + return (struct bfd_hash_entry *)ret;
17815 +}
17816 +
17817 +/* Copy data from an indirect symbol to its direct symbol, hiding the
17818 + old indirect symbol. Process additional relocation information.
17819 + Also called for weakdefs, in which case we just let
17820 + _bfd_elf_link_hash_copy_indirect copy the flags for us. */
17821 +
17822 +static void
17823 +avr32_elf_copy_indirect_symbol(struct bfd_link_info *info,
17824 + struct elf_link_hash_entry *dir,
17825 + struct elf_link_hash_entry *ind)
17826 +{
17827 + struct elf_avr32_link_hash_entry *edir, *eind;
17828 +
17829 + _bfd_elf_link_hash_copy_indirect (info, dir, ind);
17830 +
17831 + if (ind->root.type != bfd_link_hash_indirect)
17832 + return;
17833 +
17834 + edir = (struct elf_avr32_link_hash_entry *)dir;
17835 + eind = (struct elf_avr32_link_hash_entry *)ind;
17836 +
17837 + edir->possibly_dynamic_relocs += eind->possibly_dynamic_relocs;
17838 + edir->no_fn_stub = edir->no_fn_stub || eind->no_fn_stub;
17839 +}
17840 +
17841 +static struct bfd_link_hash_table *
17842 +avr32_elf_link_hash_table_create(bfd *abfd)
17843 +{
17844 + struct elf_avr32_link_hash_table *ret;
17845 +
17846 + ret = bfd_zmalloc(sizeof(*ret));
17847 + if (ret == NULL)
17848 + return NULL;
17849 +
17850 + if (! _bfd_elf_link_hash_table_init(&ret->root, abfd,
17851 + avr32_elf_link_hash_newfunc,
17852 + sizeof (struct elf_avr32_link_hash_entry)))
17853 + {
17854 + free(ret);
17855 + return NULL;
17856 + }
17857 +
17858 + /* Prevent the BFD core from creating bogus got_entry pointers */
17859 + ret->root.init_got_refcount.glist = NULL;
17860 + ret->root.init_plt_refcount.glist = NULL;
17861 +
17862 + return &ret->root.root;
17863 +}
17864 +
17865 +\f
17866 +/* Initial analysis and creation of dynamic sections and symbols */
17867 +
17868 +static asection *
17869 +create_dynamic_section(bfd *dynobj, const char *name, flagword flags,
17870 + unsigned int align_power);
17871 +static struct elf_link_hash_entry *
17872 +create_dynamic_symbol(bfd *dynobj, struct bfd_link_info *info,
17873 + const char *name, asection *sec,
17874 + bfd_vma offset);
17875 +static bfd_boolean
17876 +avr32_elf_create_got_section (bfd *dynobj, struct bfd_link_info *info);
17877 +static bfd_boolean
17878 +avr32_elf_create_dynamic_sections (bfd *dynobj, struct bfd_link_info *info);
17879 +static bfd_boolean
17880 +avr32_check_relocs (bfd *abfd, struct bfd_link_info *info, asection *sec,
17881 + const Elf_Internal_Rela *relocs);
17882 +static bfd_boolean
17883 +avr32_elf_adjust_dynamic_symbol(struct bfd_link_info *info,
17884 + struct elf_link_hash_entry *h);
17885 +
17886 +static asection *
17887 +create_dynamic_section(bfd *dynobj, const char *name, flagword flags,
17888 + unsigned int align_power)
17889 +{
17890 + asection *sec;
17891 +
17892 + sec = bfd_make_section(dynobj, name);
17893 + if (!sec
17894 + || !bfd_set_section_flags(dynobj, sec, flags)
17895 + || !bfd_set_section_alignment(dynobj, sec, align_power))
17896 + return NULL;
17897 +
17898 + return sec;
17899 +}
17900 +
17901 +static struct elf_link_hash_entry *
17902 +create_dynamic_symbol(bfd *dynobj, struct bfd_link_info *info,
17903 + const char *name, asection *sec,
17904 + bfd_vma offset)
17905 +{
17906 + struct bfd_link_hash_entry *bh = NULL;
17907 + struct elf_link_hash_entry *h;
17908 + const struct elf_backend_data *bed = get_elf_backend_data (dynobj);
17909 +
17910 + if (!(_bfd_generic_link_add_one_symbol
17911 + (info, dynobj, name, BSF_GLOBAL, sec, offset, NULL, FALSE,
17912 + bed->collect, &bh)))
17913 + return NULL;
17914 +
17915 + h = (struct elf_link_hash_entry *)bh;
17916 + h->def_regular = 1;
17917 + h->type = STT_OBJECT;
17918 + h->other = STV_HIDDEN;
17919 +
17920 + return h;
17921 +}
17922 +
17923 +static bfd_boolean
17924 +avr32_elf_create_got_section (bfd *dynobj, struct bfd_link_info *info)
17925 +{
17926 + struct elf_avr32_link_hash_table *htab;
17927 + flagword flags;
17928 + const struct elf_backend_data *bed = get_elf_backend_data (dynobj);
17929 +
17930 + htab = avr32_elf_hash_table(info);
17931 + flags = bed->dynamic_sec_flags;
17932 +
17933 + if (htab->sgot)
17934 + return TRUE;
17935 +
17936 + htab->sgot = create_dynamic_section(dynobj, ".got", flags, 2);
17937 + htab->srelgot = create_dynamic_section(dynobj, ".rela.got",
17938 + flags | SEC_READONLY, 2);
17939 +
17940 + if (!htab->sgot || !htab->srelgot)
17941 + return FALSE;
17942 +
17943 + htab->root.hgot = create_dynamic_symbol(dynobj, info, "_GLOBAL_OFFSET_TABLE_",
17944 + htab->sgot, 0);
17945 + if (!htab->root.hgot)
17946 + return FALSE;
17947 +
17948 + /* Make room for the GOT header */
17949 + htab->sgot->size += bed->got_header_size;
17950 +
17951 + return TRUE;
17952 +}
17953 +
17954 +/* (1) Create all dynamic (i.e. linker generated) sections that we may
17955 + need during the link */
17956 +
17957 +static bfd_boolean
17958 +avr32_elf_create_dynamic_sections (bfd *dynobj, struct bfd_link_info *info)
17959 +{
17960 + struct elf_avr32_link_hash_table *htab;
17961 + flagword flags;
17962 + const struct elf_backend_data *bed = get_elf_backend_data (dynobj);
17963 +
17964 + pr_debug("(1) create dynamic sections\n");
17965 +
17966 + htab = avr32_elf_hash_table(info);
17967 + flags = bed->dynamic_sec_flags;
17968 +
17969 + if (!avr32_elf_create_got_section (dynobj, info))
17970 + return FALSE;
17971 +
17972 + if (!htab->sreldyn)
17973 + htab->sreldyn = create_dynamic_section(dynobj, ".rela.dyn",
17974 + flags | SEC_READONLY, 2);
17975 + if (!htab->sstub)
17976 + htab->sstub = create_dynamic_section(dynobj, ".stub",
17977 + flags | SEC_READONLY | SEC_CODE, 2);
17978 +
17979 + if (!htab->sreldyn || !htab->sstub)
17980 + return FALSE;
17981 +
17982 + return TRUE;
17983 +}
17984 +
17985 +/* (2) Go through all the relocs and count any potential GOT- or
17986 + PLT-references to each symbol */
17987 +
17988 +static bfd_boolean
17989 +avr32_check_relocs (bfd *abfd, struct bfd_link_info *info, asection *sec,
17990 + const Elf_Internal_Rela *relocs)
17991 +{
17992 + Elf_Internal_Shdr *symtab_hdr;
17993 + struct elf_avr32_link_hash_table *htab;
17994 + struct elf_link_hash_entry **sym_hashes;
17995 + const Elf_Internal_Rela *rel, *rel_end;
17996 + struct got_entry **local_got_ents;
17997 + struct got_entry *got;
17998 + const struct elf_backend_data *bed = get_elf_backend_data (abfd);
17999 + asection *sgot;
18000 + bfd *dynobj;
18001 +
18002 + pr_debug("(2) check relocs for %s:<%s> (size 0x%lx)\n",
18003 + abfd->filename, sec->name, sec->size);
18004 +
18005 + if (info->relocatable)
18006 + return TRUE;
18007 +
18008 + dynobj = elf_hash_table(info)->dynobj;
18009 + symtab_hdr = &elf_tdata(abfd)->symtab_hdr;
18010 + sym_hashes = elf_sym_hashes(abfd);
18011 + htab = avr32_elf_hash_table(info);
18012 + local_got_ents = elf_local_got_ents(abfd);
18013 + sgot = htab->sgot;
18014 +
18015 + rel_end = relocs + sec->reloc_count;
18016 + for (rel = relocs; rel < rel_end; rel++)
18017 + {
18018 + unsigned long r_symndx, r_type;
18019 + struct elf_avr32_link_hash_entry *h;
18020 +
18021 + r_symndx = ELF32_R_SYM(rel->r_info);
18022 + r_type = ELF32_R_TYPE(rel->r_info);
18023 +
18024 + /* Local symbols use local_got_ents, while others store the same
18025 + information in the hash entry */
18026 + if (r_symndx < symtab_hdr->sh_info)
18027 + {
18028 + pr_debug(" (2a) processing local symbol %lu\n", r_symndx);
18029 + h = NULL;
18030 + }
18031 + else
18032 + {
18033 + h = (struct elf_avr32_link_hash_entry *)
18034 + sym_hashes[r_symndx - symtab_hdr->sh_info];
18035 + while (h->root.type == bfd_link_hash_indirect
18036 + || h->root.type == bfd_link_hash_warning)
18037 + h = (struct elf_avr32_link_hash_entry *)h->root.root.u.i.link;
18038 + pr_debug(" (2a) processing symbol %s\n", h->root.root.root.string);
18039 + }
18040 +
18041 + /* Some relocs require special sections to be created. */
18042 + switch (r_type)
18043 + {
18044 + case R_AVR32_GOT32:
18045 + case R_AVR32_GOT16:
18046 + case R_AVR32_GOT8:
18047 + case R_AVR32_GOT21S:
18048 + case R_AVR32_GOT18SW:
18049 + case R_AVR32_GOT16S:
18050 + case R_AVR32_GOT7UW:
18051 + case R_AVR32_LDA_GOT:
18052 + case R_AVR32_GOTCALL:
18053 + if (rel->r_addend)
18054 + {
18055 + if (info->callbacks->reloc_dangerous
18056 + (info, _("Non-zero addend on GOT-relative relocation"),
18057 + abfd, sec, rel->r_offset) == FALSE)
18058 + return FALSE;
18059 + }
18060 + /* fall through */
18061 + case R_AVR32_GOTPC:
18062 + if (dynobj == NULL)
18063 + elf_hash_table(info)->dynobj = dynobj = abfd;
18064 + if (sgot == NULL && !avr32_elf_create_got_section(dynobj, info))
18065 + return FALSE;
18066 + break;
18067 + case R_AVR32_32:
18068 + /* We may need to create .rela.dyn later on. */
18069 + if (dynobj == NULL
18070 + && (info->shared || h != NULL)
18071 + && (sec->flags & SEC_ALLOC))
18072 + elf_hash_table(info)->dynobj = dynobj = abfd;
18073 + break;
18074 + }
18075 +
18076 + if (h != NULL && r_type != R_AVR32_GOT18SW)
18077 + h->no_fn_stub = TRUE;
18078 +
18079 + switch (r_type)
18080 + {
18081 + case R_AVR32_GOT32:
18082 + case R_AVR32_GOT16:
18083 + case R_AVR32_GOT8:
18084 + case R_AVR32_GOT21S:
18085 + case R_AVR32_GOT18SW:
18086 + case R_AVR32_GOT16S:
18087 + case R_AVR32_GOT7UW:
18088 + case R_AVR32_LDA_GOT:
18089 + case R_AVR32_GOTCALL:
18090 + if (h != NULL)
18091 + {
18092 + got = h->root.got.glist;
18093 + if (!got)
18094 + {
18095 + got = bfd_zalloc(abfd, sizeof(struct got_entry));
18096 + if (!got)
18097 + return FALSE;
18098 + h->root.got.glist = got;
18099 + }
18100 + }
18101 + else
18102 + {
18103 + if (!local_got_ents)
18104 + {
18105 + bfd_size_type size;
18106 + bfd_size_type i;
18107 + struct got_entry *tmp_entry;
18108 +
18109 + size = symtab_hdr->sh_info;
18110 + size *= sizeof(struct got_entry *) + sizeof(struct got_entry);
18111 + local_got_ents = bfd_zalloc(abfd, size);
18112 + if (!local_got_ents)
18113 + return FALSE;
18114 +
18115 + elf_local_got_ents(abfd) = local_got_ents;
18116 +
18117 + tmp_entry = (struct got_entry *)(local_got_ents
18118 + + symtab_hdr->sh_info);
18119 + for (i = 0; i < symtab_hdr->sh_info; i++)
18120 + local_got_ents[i] = &tmp_entry[i];
18121 + }
18122 +
18123 + got = local_got_ents[r_symndx];
18124 + }
18125 +
18126 + got->refcount++;
18127 + if (got->refcount > htab->nr_got_holes)
18128 + htab->nr_got_holes = got->refcount;
18129 + break;
18130 +
18131 + case R_AVR32_32:
18132 + if ((info->shared || h != NULL)
18133 + && (sec->flags & SEC_ALLOC))
18134 + {
18135 + if (htab->sreldyn == NULL)
18136 + {
18137 + htab->sreldyn = create_dynamic_section(dynobj, ".rela.dyn",
18138 + bed->dynamic_sec_flags
18139 + | SEC_READONLY, 2);
18140 + if (htab->sreldyn == NULL)
18141 + return FALSE;
18142 + }
18143 +
18144 + if (sec->flags & SEC_READONLY
18145 + && !h->readonly_reloc_sec)
18146 + {
18147 + h->readonly_reloc_sec = sec;
18148 + h->readonly_reloc_offset = rel->r_offset;
18149 + }
18150 +
18151 + if (h != NULL)
18152 + {
18153 + pr_debug("Non-GOT reference to symbol %s\n",
18154 + h->root.root.root.string);
18155 + h->possibly_dynamic_relocs++;
18156 + }
18157 + else
18158 + {
18159 + pr_debug("Non-GOT reference to local symbol %lu\n",
18160 + r_symndx);
18161 + htab->local_dynamic_relocs++;
18162 + }
18163 + }
18164 +
18165 + break;
18166 +
18167 + /* TODO: GNU_VTINHERIT and GNU_VTENTRY */
18168 + }
18169 + }
18170 +
18171 + return TRUE;
18172 +}
18173 +
18174 +/* (3) Adjust a symbol defined by a dynamic object and referenced by a
18175 + regular object. The current definition is in some section of the
18176 + dynamic object, but we're not including those sections. We have to
18177 + change the definition to something the rest of the link can
18178 + understand. */
18179 +
18180 +static bfd_boolean
18181 +avr32_elf_adjust_dynamic_symbol(struct bfd_link_info *info,
18182 + struct elf_link_hash_entry *h)
18183 +{
18184 + struct elf_avr32_link_hash_table *htab;
18185 + struct elf_avr32_link_hash_entry *havr;
18186 + bfd *dynobj;
18187 +
18188 + pr_debug("(3) adjust dynamic symbol %s\n", h->root.root.string);
18189 +
18190 + htab = avr32_elf_hash_table(info);
18191 + havr = (struct elf_avr32_link_hash_entry *)h;
18192 + dynobj = elf_hash_table(info)->dynobj;
18193 +
18194 + /* Make sure we know what is going on here. */
18195 + BFD_ASSERT (dynobj != NULL
18196 + && (h->u.weakdef != NULL
18197 + || (h->def_dynamic
18198 + && h->ref_regular
18199 + && !h->def_regular)));
18200 +
18201 + /* We don't want dynamic relocations in read-only sections. */
18202 + if (havr->readonly_reloc_sec)
18203 + {
18204 + if (info->callbacks->reloc_dangerous
18205 + (info, _("dynamic relocation in read-only section"),
18206 + havr->readonly_reloc_sec->owner, havr->readonly_reloc_sec,
18207 + havr->readonly_reloc_offset) == FALSE)
18208 + return FALSE;
18209 + }
18210 +
18211 + /* If this is a function, create a stub if possible and set the
18212 + symbol to the stub location. */
18213 + if (0 && !havr->no_fn_stub)
18214 + {
18215 + if (!h->def_regular)
18216 + {
18217 + asection *s = htab->sstub;
18218 +
18219 + BFD_ASSERT(s != NULL);
18220 +
18221 + h->root.u.def.section = s;
18222 + h->root.u.def.value = s->size;
18223 + h->plt.offset = s->size;
18224 + s->size += AVR32_FUNCTION_STUB_SIZE;
18225 +
18226 + return TRUE;
18227 + }
18228 + }
18229 + else if (h->type == STT_FUNC)
18230 + {
18231 + /* This will set the entry for this symbol in the GOT to 0, and
18232 + the dynamic linker will take care of this. */
18233 + h->root.u.def.value = 0;
18234 + return TRUE;
18235 + }
18236 +
18237 + /* If this is a weak symbol, and there is a real definition, the
18238 + processor independent code will have arranged for us to see the
18239 + real definition first, and we can just use the same value. */
18240 + if (h->u.weakdef != NULL)
18241 + {
18242 + BFD_ASSERT(h->u.weakdef->root.type == bfd_link_hash_defined
18243 + || h->u.weakdef->root.type == bfd_link_hash_defweak);
18244 + h->root.u.def.section = h->u.weakdef->root.u.def.section;
18245 + h->root.u.def.value = h->u.weakdef->root.u.def.value;
18246 + return TRUE;
18247 + }
18248 +
18249 + /* This is a reference to a symbol defined by a dynamic object which
18250 + is not a function. */
18251 +
18252 + return TRUE;
18253 +}
18254 +
18255 +\f
18256 +/* Garbage-collection of unused sections */
18257 +
18258 +static asection *
18259 +avr32_elf_gc_mark_hook(asection *sec,
18260 + struct bfd_link_info *info ATTRIBUTE_UNUSED,
18261 + Elf_Internal_Rela *rel,
18262 + struct elf_link_hash_entry *h,
18263 + Elf_Internal_Sym *sym)
18264 +{
18265 + if (h)
18266 + {
18267 + switch (ELF32_R_TYPE(rel->r_info))
18268 + {
18269 + /* TODO: VTINHERIT/VTENTRY */
18270 + default:
18271 + switch (h->root.type)
18272 + {
18273 + case bfd_link_hash_defined:
18274 + case bfd_link_hash_defweak:
18275 + return h->root.u.def.section;
18276 +
18277 + case bfd_link_hash_common:
18278 + return h->root.u.c.p->section;
18279 +
18280 + default:
18281 + break;
18282 + }
18283 + }
18284 + }
18285 + else
18286 + return bfd_section_from_elf_index(sec->owner, sym->st_shndx);
18287 +
18288 + return NULL;
18289 +}
18290 +
18291 +/* Update the GOT entry reference counts for the section being removed. */
18292 +static bfd_boolean
18293 +avr32_elf_gc_sweep_hook(bfd *abfd,
18294 + struct bfd_link_info *info ATTRIBUTE_UNUSED,
18295 + asection *sec,
18296 + const Elf_Internal_Rela *relocs)
18297 +{
18298 + Elf_Internal_Shdr *symtab_hdr;
18299 + struct elf_avr32_link_hash_entry **sym_hashes;
18300 + struct got_entry **local_got_ents;
18301 + const Elf_Internal_Rela *rel, *relend;
18302 +
18303 + if (!(sec->flags & SEC_ALLOC))
18304 + return TRUE;
18305 +
18306 + symtab_hdr = &elf_tdata(abfd)->symtab_hdr;
18307 + sym_hashes = (struct elf_avr32_link_hash_entry **)elf_sym_hashes(abfd);
18308 + local_got_ents = elf_local_got_ents(abfd);
18309 +
18310 + relend = relocs + sec->reloc_count;
18311 + for (rel = relocs; rel < relend; rel++)
18312 + {
18313 + unsigned long r_symndx;
18314 + unsigned int r_type;
18315 + struct elf_avr32_link_hash_entry *h = NULL;
18316 +
18317 + r_symndx = ELF32_R_SYM(rel->r_info);
18318 + if (r_symndx >= symtab_hdr->sh_info)
18319 + {
18320 + h = sym_hashes[r_symndx - symtab_hdr->sh_info];
18321 + while (h->root.root.type == bfd_link_hash_indirect
18322 + || h->root.root.type == bfd_link_hash_warning)
18323 + h = (struct elf_avr32_link_hash_entry *)h->root.root.u.i.link;
18324 + }
18325 +
18326 + r_type = ELF32_R_TYPE(rel->r_info);
18327 +
18328 + switch (r_type)
18329 + {
18330 + case R_AVR32_GOT32:
18331 + case R_AVR32_GOT16:
18332 + case R_AVR32_GOT8:
18333 + case R_AVR32_GOT21S:
18334 + case R_AVR32_GOT18SW:
18335 + case R_AVR32_GOT16S:
18336 + case R_AVR32_GOT7UW:
18337 + case R_AVR32_LDA_GOT:
18338 + case R_AVR32_GOTCALL:
18339 + if (h)
18340 + h->root.got.glist->refcount--;
18341 + else
18342 + local_got_ents[r_symndx]->refcount--;
18343 + break;
18344 +
18345 + case R_AVR32_32:
18346 + if (info->shared || h)
18347 + {
18348 + if (h)
18349 + h->possibly_dynamic_relocs--;
18350 + else
18351 + avr32_elf_hash_table(info)->local_dynamic_relocs--;
18352 + }
18353 +
18354 + default:
18355 + break;
18356 + }
18357 + }
18358 +
18359 + return TRUE;
18360 +}
18361 +\f
18362 +/* Sizing and refcounting of dynamic sections */
18363 +
18364 +static void
18365 +insert_got_entry(struct elf_avr32_link_hash_table *htab, struct got_entry *got);
18366 +static void
18367 +unref_got_entry(struct elf_avr32_link_hash_table *htab, struct got_entry *got);
18368 +static void
18369 +ref_got_entry(struct elf_avr32_link_hash_table *htab, struct got_entry *got);
18370 +static bfd_boolean
18371 +assign_got_offsets(struct elf_avr32_link_hash_table *htab);
18372 +static bfd_boolean
18373 +allocate_dynrelocs(struct elf_link_hash_entry *h, void *_info);
18374 +static bfd_boolean
18375 +avr32_elf_size_dynamic_sections (bfd *output_bfd,
18376 + struct bfd_link_info *info);
18377 +
18378 +static void
18379 +insert_got_entry(struct elf_avr32_link_hash_table *htab, struct got_entry *got)
18380 +{
18381 + /* TODO: Support got_refcount > htab->nr_got_holes by using a
18382 + different sort algorithm for those. */
18383 + BFD_ASSERT(got->refcount <= htab->nr_got_holes);
18384 +
18385 + got->pprev = &htab->got_hole[got->refcount];
18386 + got->next = htab->got_hole[got->refcount];
18387 + if (got->next)
18388 + got->next->pprev = &got->next;
18389 +
18390 + htab->got_hole[got->refcount] = got;
18391 +}
18392 +
18393 +/* Decrement the refcount of a GOT entry and update its position in
18394 + the pigeonhole array. */
18395 +static void
18396 +unref_got_entry(struct elf_avr32_link_hash_table *htab, struct got_entry *got)
18397 +{
18398 + BFD_ASSERT(got->refcount <= htab->nr_got_holes);
18399 + BFD_ASSERT(got->refcount > 0);
18400 +
18401 + if (got->next)
18402 + got->next->pprev = got->pprev;
18403 +
18404 + *(got->pprev) = got->next;
18405 + got->refcount--;
18406 + insert_got_entry(htab, got);
18407 +}
18408 +
18409 +static void
18410 +ref_got_entry(struct elf_avr32_link_hash_table *htab, struct got_entry *got)
18411 +{
18412 + if (got->next)
18413 + got->next->pprev = got->pprev;
18414 +
18415 + *(got->pprev) = got->next;
18416 + got->refcount++;
18417 + insert_got_entry(htab, got);
18418 +
18419 + BFD_ASSERT(got->refcount > 0);
18420 + BFD_ASSERT(got->refcount <= htab->nr_got_holes);
18421 +}
18422 +
18423 +/* Assign offsets to all GOT entries we intend to keep. The entries
18424 + that are referenced most often are placed at low offsets so that we
18425 + can use compact instructions as much as possible.
18426 +
18427 + Returns TRUE if any offsets or the total size of the GOT changed. */
18428 +
18429 +static bfd_boolean
18430 +assign_got_offsets(struct elf_avr32_link_hash_table *htab)
18431 +{
18432 + struct got_entry *got;
18433 + bfd_size_type got_size = 0;
18434 + bfd_boolean changed = FALSE;
18435 + bfd_signed_vma offset;
18436 + int i;
18437 +
18438 + /* The GOT header provides the address of the DYNAMIC segment, so
18439 + we need that even if the GOT is otherwise empty. */
18440 + if (htab->root.dynamic_sections_created)
18441 + got_size = AVR32_GOT_HEADER_SIZE;
18442 +
18443 + for (i = htab->nr_got_holes; i > 0; i--)
18444 + {
18445 + got = htab->got_hole[i];
18446 + while (got)
18447 + {
18448 + if (got->refcount > 0)
18449 + {
18450 + offset = got_size;
18451 + if (got->offset != offset)
18452 + {
18453 + RDBG("GOT offset changed: %ld -> %ld\n",
18454 + got->offset, offset);
18455 + changed = TRUE;
18456 + }
18457 + got->offset = offset;
18458 + got_size += 4;
18459 + }
18460 + got = got->next;
18461 + }
18462 + }
18463 +
18464 + if (htab->sgot->size != got_size)
18465 + {
18466 + RDBG("GOT size changed: %lu -> %lu\n", htab->sgot->size,
18467 + got_size);
18468 + changed = TRUE;
18469 + }
18470 + htab->sgot->size = got_size;
18471 +
18472 + RDBG("assign_got_offsets: total size %lu (%s)\n",
18473 + got_size, changed ? "changed" : "no change");
18474 +
18475 + return changed;
18476 +}
18477 +
18478 +static bfd_boolean
18479 +allocate_dynrelocs(struct elf_link_hash_entry *h, void *_info)
18480 +{
18481 + struct bfd_link_info *info = _info;
18482 + struct elf_avr32_link_hash_table *htab;
18483 + struct elf_avr32_link_hash_entry *havr;
18484 + struct got_entry *got;
18485 +
18486 + pr_debug(" (4b) allocate_dynrelocs: %s\n", h->root.root.string);
18487 +
18488 + if (h->root.type == bfd_link_hash_indirect)
18489 + return TRUE;
18490 +
18491 + if (h->root.type == bfd_link_hash_warning)
18492 + /* When warning symbols are created, they **replace** the "real"
18493 + entry in the hash table, thus we never get to see the real
18494 + symbol in a hash traversal. So look at it now. */
18495 + h = (struct elf_link_hash_entry *) h->root.u.i.link;
18496 +
18497 + htab = avr32_elf_hash_table(info);
18498 + havr = (struct elf_avr32_link_hash_entry *)h;
18499 +
18500 + got = h->got.glist;
18501 +
18502 + /* If got is NULL, the symbol is never referenced through the GOT */
18503 + if (got && got->refcount > 0)
18504 + {
18505 + insert_got_entry(htab, got);
18506 +
18507 + /* Shared libraries need relocs for all GOT entries unless the
18508 + symbol is forced local or -Bsymbolic is used. Others need
18509 + relocs for everything that is not guaranteed to be defined in
18510 + a regular object. */
18511 + if ((info->shared
18512 + && !info->symbolic
18513 + && h->dynindx != -1)
18514 + || (htab->root.dynamic_sections_created
18515 + && h->def_dynamic
18516 + && !h->def_regular))
18517 + htab->srelgot->size += sizeof(Elf32_External_Rela);
18518 + }
18519 +
18520 + if (havr->possibly_dynamic_relocs
18521 + && (info->shared
18522 + || (elf_hash_table(info)->dynamic_sections_created
18523 + && h->def_dynamic
18524 + && !h->def_regular)))
18525 + {
18526 + pr_debug("Allocating %d dynamic reloc against symbol %s...\n",
18527 + havr->possibly_dynamic_relocs, h->root.root.string);
18528 + htab->sreldyn->size += (havr->possibly_dynamic_relocs
18529 + * sizeof(Elf32_External_Rela));
18530 + }
18531 +
18532 + return TRUE;
18533 +}
18534 +
18535 +/* (4) Calculate the sizes of the linker-generated sections and
18536 + allocate memory for them. */
18537 +
18538 +static bfd_boolean
18539 +avr32_elf_size_dynamic_sections (bfd *output_bfd,
18540 + struct bfd_link_info *info)
18541 +{
18542 + struct elf_avr32_link_hash_table *htab;
18543 + bfd *dynobj;
18544 + asection *s;
18545 + bfd *ibfd;
18546 + bfd_boolean relocs;
18547 +
18548 + pr_debug("(4) size dynamic sections\n");
18549 +
18550 + htab = avr32_elf_hash_table(info);
18551 + dynobj = htab->root.dynobj;
18552 + BFD_ASSERT(dynobj != NULL);
18553 +
18554 + if (htab->root.dynamic_sections_created)
18555 + {
18556 + /* Initialize the contents of the .interp section to the name of
18557 + the dynamic loader */
18558 + if (info->executable)
18559 + {
18560 + s = bfd_get_section_by_name(dynobj, ".interp");
18561 + BFD_ASSERT(s != NULL);
18562 + s->size = sizeof(ELF_DYNAMIC_INTERPRETER);
18563 + s->contents = (unsigned char *)ELF_DYNAMIC_INTERPRETER;
18564 + }
18565 + }
18566 +
18567 + if (htab->nr_got_holes > 0)
18568 + {
18569 + /* Allocate holes for the pigeonhole sort algorithm */
18570 + pr_debug("Highest GOT refcount: %d\n", htab->nr_got_holes);
18571 + if (htab->nr_got_holes >= MAX_NR_GOT_HOLES)
18572 + {
18573 + /* TODO: Do something clever (different sorting algorithm) */
18574 + _bfd_error_handler(_("Highest refcount %d too high (max %d)\n"),
18575 + htab->nr_got_holes, MAX_NR_GOT_HOLES);
18576 + bfd_set_error(bfd_error_no_memory);
18577 + return FALSE;
18578 + }
18579 + htab->got_hole = bfd_zalloc(output_bfd,
18580 + sizeof(struct got_entry *)
18581 + * (htab->nr_got_holes + 1));
18582 + if (!htab->got_hole)
18583 + return FALSE;
18584 +
18585 + /* Set up .got offsets for local syms. */
18586 + for (ibfd = info->input_bfds; ibfd != NULL; ibfd = ibfd->link_next)
18587 + {
18588 + struct got_entry **local_got;
18589 + struct got_entry **end_local_got;
18590 + Elf_Internal_Shdr *symtab_hdr;
18591 + bfd_size_type locsymcount;
18592 +
18593 + pr_debug(" (4a) processing file %s...\n", ibfd->filename);
18594 +
18595 + BFD_ASSERT(bfd_get_flavour(ibfd) == bfd_target_elf_flavour);
18596 +
18597 + local_got = elf_local_got_ents(ibfd);
18598 + if (!local_got)
18599 + continue;
18600 +
18601 + symtab_hdr = &elf_tdata(ibfd)->symtab_hdr;
18602 + locsymcount = symtab_hdr->sh_info;
18603 + end_local_got = local_got + locsymcount;
18604 +
18605 + for (; local_got < end_local_got; ++local_got)
18606 + insert_got_entry(htab, *local_got);
18607 + }
18608 + }
18609 +
18610 + /* Allocate global sym .got entries and space for global sym
18611 + dynamic relocs */
18612 + elf_link_hash_traverse(&htab->root, allocate_dynrelocs, info);
18613 +
18614 + /* Now that we have sorted the GOT entries, we are ready to
18615 + assign offsets and determine the initial size of the GOT. */
18616 + if (htab->sgot)
18617 + assign_got_offsets(htab);
18618 +
18619 + /* Allocate space for local sym dynamic relocs */
18620 + BFD_ASSERT(htab->local_dynamic_relocs == 0 || info->shared);
18621 + if (htab->local_dynamic_relocs)
18622 + htab->sreldyn->size += (htab->local_dynamic_relocs
18623 + * sizeof(Elf32_External_Rela));
18624 +
18625 + /* We now have determined the sizes of the various dynamic
18626 + sections. Allocate memory for them. */
18627 + relocs = FALSE;
18628 + for (s = dynobj->sections; s; s = s->next)
18629 + {
18630 + if ((s->flags & SEC_LINKER_CREATED) == 0)
18631 + continue;
18632 +
18633 + if (s == htab->sgot
18634 + || s == htab->sstub)
18635 + {
18636 + /* Strip this section if we don't need it */
18637 + }
18638 + else if (strncmp (bfd_get_section_name(dynobj, s), ".rela", 5) == 0)
18639 + {
18640 + if (s->size != 0)
18641 + relocs = TRUE;
18642 +
18643 + s->reloc_count = 0;
18644 + }
18645 + else
18646 + {
18647 + /* It's not one of our sections */
18648 + continue;
18649 + }
18650 +
18651 + if (s->size == 0)
18652 + {
18653 + /* Strip unneeded sections */
18654 + pr_debug("Stripping section %s from output...\n", s->name);
18655 + /* deleted function in 2.17
18656 + _bfd_strip_section_from_output(info, s);
18657 + */
18658 + continue;
18659 + }
18660 +
18661 + s->contents = bfd_zalloc(dynobj, s->size);
18662 + if (s->contents == NULL)
18663 + return FALSE;
18664 + }
18665 +
18666 + if (htab->root.dynamic_sections_created)
18667 + {
18668 + /* Add some entries to the .dynamic section. We fill in the
18669 + values later, in sh_elf_finish_dynamic_sections, but we
18670 + must add the entries now so that we get the correct size for
18671 + the .dynamic section. The DT_DEBUG entry is filled in by the
18672 + dynamic linker and used by the debugger. */
18673 +#define add_dynamic_entry(TAG, VAL) _bfd_elf_add_dynamic_entry(info, TAG, VAL)
18674 +
18675 + if (!add_dynamic_entry(DT_PLTGOT, 0))
18676 + return FALSE;
18677 + if (!add_dynamic_entry(DT_AVR32_GOTSZ, 0))
18678 + return FALSE;
18679 +
18680 + if (info->executable)
18681 + {
18682 + if (!add_dynamic_entry(DT_DEBUG, 0))
18683 + return FALSE;
18684 + }
18685 + if (relocs)
18686 + {
18687 + if (!add_dynamic_entry(DT_RELA, 0)
18688 + || !add_dynamic_entry(DT_RELASZ, 0)
18689 + || !add_dynamic_entry(DT_RELAENT,
18690 + sizeof(Elf32_External_Rela)))
18691 + return FALSE;
18692 + }
18693 + }
18694 +#undef add_dynamic_entry
18695 +
18696 + return TRUE;
18697 +}
18698 +
18699 +\f
18700 +/* Access to internal relocations, section contents and symbols.
18701 + (stolen from the xtensa port) */
18702 +
18703 +static Elf_Internal_Rela *
18704 +retrieve_internal_relocs (bfd *abfd, asection *sec, bfd_boolean keep_memory);
18705 +static void
18706 +pin_internal_relocs (asection *sec, Elf_Internal_Rela *internal_relocs);
18707 +static void
18708 +release_internal_relocs (asection *sec, Elf_Internal_Rela *internal_relocs);
18709 +static bfd_byte *
18710 +retrieve_contents (bfd *abfd, asection *sec, bfd_boolean keep_memory);
18711 +/*
18712 +static void
18713 +pin_contents (asection *sec, bfd_byte *contents);
18714 +*/
18715 +static void
18716 +release_contents (asection *sec, bfd_byte *contents);
18717 +static Elf_Internal_Sym *
18718 +retrieve_local_syms (bfd *input_bfd, bfd_boolean keep_memory);
18719 +/*
18720 +static void
18721 +pin_local_syms (bfd *input_bfd, Elf_Internal_Sym *isymbuf);
18722 +*/
18723 +static void
18724 +release_local_syms (bfd *input_bfd, Elf_Internal_Sym *isymbuf);
18725 +
18726 +/* During relaxation, we need to modify relocations, section contents,
18727 + and symbol definitions, and we need to keep the original values from
18728 + being reloaded from the input files, i.e., we need to "pin" the
18729 + modified values in memory. We also want to continue to observe the
18730 + setting of the "keep-memory" flag. The following functions wrap the
18731 + standard BFD functions to take care of this for us. */
18732 +
18733 +static Elf_Internal_Rela *
18734 +retrieve_internal_relocs (bfd *abfd, asection *sec, bfd_boolean keep_memory)
18735 +{
18736 + /* _bfd_elf_link_read_relocs knows about caching, so no need for us
18737 + to be clever here. */
18738 + return _bfd_elf_link_read_relocs(abfd, sec, NULL, NULL, keep_memory);
18739 +}
18740 +
18741 +static void
18742 +pin_internal_relocs (asection *sec, Elf_Internal_Rela *internal_relocs)
18743 +{
18744 + elf_section_data (sec)->relocs = internal_relocs;
18745 +}
18746 +
18747 +static void
18748 +release_internal_relocs (asection *sec, Elf_Internal_Rela *internal_relocs)
18749 +{
18750 + if (internal_relocs
18751 + && elf_section_data (sec)->relocs != internal_relocs)
18752 + free (internal_relocs);
18753 +}
18754 +
18755 +static bfd_byte *
18756 +retrieve_contents (bfd *abfd, asection *sec, bfd_boolean keep_memory)
18757 +{
18758 + bfd_byte *contents;
18759 + bfd_size_type sec_size;
18760 +
18761 + sec_size = bfd_get_section_limit (abfd, sec);
18762 + contents = elf_section_data (sec)->this_hdr.contents;
18763 +
18764 + if (contents == NULL && sec_size != 0)
18765 + {
18766 + if (!bfd_malloc_and_get_section (abfd, sec, &contents))
18767 + {
18768 + if (contents)
18769 + free (contents);
18770 + return NULL;
18771 + }
18772 + if (keep_memory)
18773 + elf_section_data (sec)->this_hdr.contents = contents;
18774 + }
18775 + return contents;
18776 +}
18777 +
18778 +/*
18779 +static void
18780 +pin_contents (asection *sec, bfd_byte *contents)
18781 +{
18782 + elf_section_data (sec)->this_hdr.contents = contents;
18783 +}
18784 +*/
18785 +static void
18786 +release_contents (asection *sec, bfd_byte *contents)
18787 +{
18788 + if (contents && elf_section_data (sec)->this_hdr.contents != contents)
18789 + free (contents);
18790 +}
18791 +
18792 +static Elf_Internal_Sym *
18793 +retrieve_local_syms (bfd *input_bfd, bfd_boolean keep_memory)
18794 +{
18795 + Elf_Internal_Shdr *symtab_hdr;
18796 + Elf_Internal_Sym *isymbuf;
18797 + size_t locsymcount;
18798 +
18799 + symtab_hdr = &elf_tdata (input_bfd)->symtab_hdr;
18800 + locsymcount = symtab_hdr->sh_info;
18801 +
18802 + isymbuf = (Elf_Internal_Sym *) symtab_hdr->contents;
18803 + if (isymbuf == NULL && locsymcount != 0)
18804 + {
18805 + isymbuf = bfd_elf_get_elf_syms (input_bfd, symtab_hdr, locsymcount, 0,
18806 + NULL, NULL, NULL);
18807 + if (isymbuf && keep_memory)
18808 + symtab_hdr->contents = (unsigned char *) isymbuf;
18809 + }
18810 +
18811 + return isymbuf;
18812 +}
18813 +
18814 +/*
18815 +static void
18816 +pin_local_syms (bfd *input_bfd, Elf_Internal_Sym *isymbuf)
18817 +{
18818 + elf_tdata (input_bfd)->symtab_hdr.contents = (unsigned char *)isymbuf;
18819 +}
18820 +
18821 +*/
18822 +static void
18823 +release_local_syms (bfd *input_bfd, Elf_Internal_Sym *isymbuf)
18824 +{
18825 + if (isymbuf && (elf_tdata (input_bfd)->symtab_hdr.contents
18826 + != (unsigned char *)isymbuf))
18827 + free (isymbuf);
18828 +}
18829 +
18830 +\f/* Data structures used during relaxation. */
18831 +
18832 +enum relax_state_id {
18833 + RS_ERROR = -1,
18834 + RS_NONE = 0,
18835 + RS_ALIGN,
18836 + RS_CPENT,
18837 + RS_PIC_CALL,
18838 + RS_PIC_MCALL,
18839 + RS_PIC_RCALL2,
18840 + RS_PIC_RCALL1,
18841 + RS_PIC_LDA,
18842 + RS_PIC_LDW4,
18843 + RS_PIC_LDW3,
18844 + RS_PIC_SUB5,
18845 + RS_NOPIC_MCALL,
18846 + RS_NOPIC_RCALL2,
18847 + RS_NOPIC_RCALL1,
18848 + RS_NOPIC_LDW4,
18849 + RS_NOPIC_LDDPC,
18850 + RS_NOPIC_SUB5,
18851 + RS_RCALL2,
18852 + RS_RCALL1,
18853 + RS_BRC2,
18854 + RS_BRC1,
18855 + RS_BRAL,
18856 + RS_RJMP,
18857 + RS_MAX,
18858 +};
18859 +
18860 +enum reference_type {
18861 + REF_ABSOLUTE,
18862 + REF_PCREL,
18863 + REF_CPOOL,
18864 + REF_GOT,
18865 +};
18866 +
18867 +struct relax_state
18868 +{
18869 + const char *name;
18870 + enum relax_state_id id;
18871 + enum relax_state_id direct;
18872 + enum relax_state_id next;
18873 + enum relax_state_id prev;
18874 +
18875 + enum reference_type reftype;
18876 +
18877 + unsigned int r_type;
18878 +
18879 + bfd_vma opcode;
18880 + bfd_vma opcode_mask;
18881 +
18882 + bfd_signed_vma range_min;
18883 + bfd_signed_vma range_max;
18884 +
18885 + bfd_size_type size;
18886 +};
18887 +
18888 +/*
18889 + * This is for relocs that
18890 + * a) has an addend or is of type R_AVR32_DIFF32, and
18891 + * b) references a different section than it's in, and
18892 + * c) references a section that is relaxable
18893 + *
18894 + * as well as relocs that references the constant pool, in which case
18895 + * the add_frag member points to the frag containing the constant pool
18896 + * entry.
18897 + *
18898 + * Such relocs must be fixed up whenever we delete any code. Sections
18899 + * that don't have any relocs with all of the above properties don't
18900 + * have any additional reloc data, but sections that do will have
18901 + * additional data for all its relocs.
18902 + */
18903 +struct avr32_reloc_data
18904 +{
18905 + struct fragment *add_frag;
18906 + struct fragment *sub_frag;
18907 +};
18908 +
18909 +/*
18910 + * A 'fragment' is a relaxable entity, that is, code may be added or
18911 + * deleted at the end of a fragment. When this happens, all subsequent
18912 + * fragments in the list will have their offsets updated.
18913 + */
18914 +struct fragment
18915 +{
18916 + enum relax_state_id state;
18917 + enum relax_state_id initial_state;
18918 +
18919 + Elf_Internal_Rela *rela;
18920 + bfd_size_type size;
18921 + bfd_vma offset;
18922 + int size_adjust;
18923 + int offset_adjust;
18924 + bfd_boolean has_grown;
18925 +
18926 + /* Only used by constant pool entries. When this drops to zero, the
18927 + frag is discarded (i.e. size_adjust is set to -4.) */
18928 + int refcount;
18929 +};
18930 +
18931 +struct avr32_relax_data
18932 +{
18933 + unsigned int frag_count;
18934 + struct fragment *frag;
18935 + struct avr32_reloc_data *reloc_data;
18936 +
18937 + /* TRUE if this section has one or more relaxable relocations */
18938 + bfd_boolean is_relaxable;
18939 + unsigned int iteration;
18940 +};
18941 +
18942 +struct avr32_section_data
18943 +{
18944 + struct bfd_elf_section_data elf;
18945 + struct avr32_relax_data relax_data;
18946 +};
18947 +
18948 +\f/* Relax state definitions */
18949 +
18950 +#define PIC_MOV2_OPCODE 0xe0600000
18951 +#define PIC_MOV2_MASK 0xe1e00000
18952 +#define PIC_MOV2_RANGE_MIN (-1048576 * 4)
18953 +#define PIC_MOV2_RANGE_MAX (1048575 * 4)
18954 +#define PIC_MCALL_OPCODE 0xf0160000
18955 +#define PIC_MCALL_MASK 0xffff0000
18956 +#define PIC_MCALL_RANGE_MIN (-131072)
18957 +#define PIC_MCALL_RANGE_MAX (131068)
18958 +#define RCALL2_OPCODE 0xe0a00000
18959 +#define RCALL2_MASK 0xe1ef0000
18960 +#define RCALL2_RANGE_MIN (-2097152)
18961 +#define RCALL2_RANGE_MAX (2097150)
18962 +#define RCALL1_OPCODE 0xc00c0000
18963 +#define RCALL1_MASK 0xf00c0000
18964 +#define RCALL1_RANGE_MIN (-1024)
18965 +#define RCALL1_RANGE_MAX (1022)
18966 +#define PIC_LDW4_OPCODE 0xecf00000
18967 +#define PIC_LDW4_MASK 0xfff00000
18968 +#define PIC_LDW4_RANGE_MIN (-32768)
18969 +#define PIC_LDW4_RANGE_MAX (32767)
18970 +#define PIC_LDW3_OPCODE 0x6c000000
18971 +#define PIC_LDW3_MASK 0xfe000000
18972 +#define PIC_LDW3_RANGE_MIN (0)
18973 +#define PIC_LDW3_RANGE_MAX (124)
18974 +#define SUB5_PC_OPCODE 0xfec00000
18975 +#define SUB5_PC_MASK 0xfff00000
18976 +#define SUB5_PC_RANGE_MIN (-32768)
18977 +#define SUB5_PC_RANGE_MAX (32767)
18978 +#define NOPIC_MCALL_OPCODE 0xf01f0000
18979 +#define NOPIC_MCALL_MASK 0xffff0000
18980 +#define NOPIC_MCALL_RANGE_MIN PIC_MCALL_RANGE_MIN
18981 +#define NOPIC_MCALL_RANGE_MAX PIC_MCALL_RANGE_MAX
18982 +#define NOPIC_LDW4_OPCODE 0xfef00000
18983 +#define NOPIC_LDW4_MASK 0xfff00000
18984 +#define NOPIC_LDW4_RANGE_MIN PIC_LDW4_RANGE_MIN
18985 +#define NOPIC_LDW4_RANGE_MAX PIC_LDW4_RANGE_MAX
18986 +#define LDDPC_OPCODE 0x48000000
18987 +#define LDDPC_MASK 0xf8000000
18988 +#define LDDPC_RANGE_MIN 0
18989 +#define LDDPC_RANGE_MAX 508
18990 +
18991 +/* Only brc2 variants with cond[3] == 0 is considered, since the
18992 + others are not relaxable. bral is a special case and is handled
18993 + separately. */
18994 +#define BRC2_OPCODE 0xe0800000
18995 +#define BRC2_MASK 0xe1e80000
18996 +#define BRC2_RANGE_MIN (-2097152)
18997 +#define BRC2_RANGE_MAX (2097150)
18998 +#define BRC1_OPCODE 0xc0000000
18999 +#define BRC1_MASK 0xf0080000
19000 +#define BRC1_RANGE_MIN (-256)
19001 +#define BRC1_RANGE_MAX (254)
19002 +#define BRAL_OPCODE 0xe08f0000
19003 +#define BRAL_MASK 0xe1ef0000
19004 +#define BRAL_RANGE_MIN BRC2_RANGE_MIN
19005 +#define BRAL_RANGE_MAX BRC2_RANGE_MAX
19006 +#define RJMP_OPCODE 0xc0080000
19007 +#define RJMP_MASK 0xf00c0000
19008 +#define RJMP_RANGE_MIN (-1024)
19009 +#define RJMP_RANGE_MAX (1022)
19010 +
19011 +/* Define a relax state using the GOT */
19012 +#define RG(id, dir, next, prev, r_type, opc, size) \
19013 + { "RS_"#id, RS_##id, RS_##dir, RS_##next, RS_##prev, REF_GOT, \
19014 + R_AVR32_##r_type, opc##_OPCODE, opc##_MASK, \
19015 + opc##_RANGE_MIN, opc##_RANGE_MAX, size }
19016 +/* Define a relax state using the Constant Pool */
19017 +#define RC(id, dir, next, prev, r_type, opc, size) \
19018 + { "RS_"#id, RS_##id, RS_##dir, RS_##next, RS_##prev, REF_CPOOL, \
19019 + R_AVR32_##r_type, opc##_OPCODE, opc##_MASK, \
19020 + opc##_RANGE_MIN, opc##_RANGE_MAX, size }
19021 +
19022 +/* Define a relax state using pc-relative direct reference */
19023 +#define RP(id, dir, next, prev, r_type, opc, size) \
19024 + { "RS_"#id, RS_##id, RS_##dir, RS_##next, RS_##prev, REF_PCREL, \
19025 + R_AVR32_##r_type, opc##_OPCODE, opc##_MASK, \
19026 + opc##_RANGE_MIN, opc##_RANGE_MAX, size }
19027 +
19028 +/* Define a relax state that will be handled specially */
19029 +#define RS(id, r_type, size) \
19030 + { "RS_"#id, RS_##id, RS_NONE, RS_NONE, RS_NONE, REF_ABSOLUTE, \
19031 + R_AVR32_##r_type, 0, 0, 0, 0, size }
19032 +
19033 +const struct relax_state relax_state[RS_MAX] = {
19034 + RS(NONE, NONE, 0),
19035 + RS(ALIGN, ALIGN, 0),
19036 + RS(CPENT, 32_CPENT, 4),
19037 +
19038 + RG(PIC_CALL, PIC_RCALL1, PIC_MCALL, NONE, GOTCALL, PIC_MOV2, 10),
19039 + RG(PIC_MCALL, PIC_RCALL1, NONE, PIC_CALL, GOT18SW, PIC_MCALL, 4),
19040 + RP(PIC_RCALL2, NONE, PIC_RCALL1, PIC_MCALL, 22H_PCREL, RCALL2, 4),
19041 + RP(PIC_RCALL1, NONE, NONE, PIC_RCALL2, 11H_PCREL, RCALL1, 2),
19042 +
19043 + RG(PIC_LDA, PIC_SUB5, PIC_LDW4, NONE, LDA_GOT, PIC_MOV2, 8),
19044 + RG(PIC_LDW4, PIC_SUB5, PIC_LDW3, PIC_LDA, GOT16S, PIC_LDW4, 4),
19045 + RG(PIC_LDW3, PIC_SUB5, NONE, PIC_LDW4, GOT7UW, PIC_LDW3, 2),
19046 + RP(PIC_SUB5, NONE, NONE, PIC_LDW3, 16N_PCREL, SUB5_PC, 4),
19047 +
19048 + RC(NOPIC_MCALL, NOPIC_RCALL1, NONE, NONE, CPCALL, NOPIC_MCALL, 4),
19049 + RP(NOPIC_RCALL2, NONE, NOPIC_RCALL1, NOPIC_MCALL, 22H_PCREL, RCALL2, 4),
19050 + RP(NOPIC_RCALL1, NONE, NONE, NOPIC_RCALL2, 11H_PCREL, RCALL1, 2),
19051 +
19052 + RC(NOPIC_LDW4, NOPIC_SUB5, NOPIC_LDDPC, NONE, 16_CP, NOPIC_LDW4, 4),
19053 + RC(NOPIC_LDDPC, NOPIC_SUB5, NONE, NOPIC_LDW4, 9W_CP, LDDPC, 2),
19054 + RP(NOPIC_SUB5, NONE, NONE, NOPIC_LDDPC, 16N_PCREL, SUB5_PC, 4),
19055 +
19056 + RP(RCALL2, NONE, RCALL1, NONE, 22H_PCREL, RCALL2, 4),
19057 + RP(RCALL1, NONE, NONE, RCALL2, 11H_PCREL, RCALL1, 2),
19058 + RP(BRC2, NONE, BRC1, NONE, 22H_PCREL, BRC2, 4),
19059 + RP(BRC1, NONE, NONE, BRC2, 9H_PCREL, BRC1, 2),
19060 + RP(BRAL, NONE, RJMP, NONE, 22H_PCREL, BRAL, 4),
19061 + RP(RJMP, NONE, NONE, BRAL, 11H_PCREL, RJMP, 2),
19062 +};
19063 +
19064 +static bfd_boolean
19065 +avr32_elf_new_section_hook(bfd *abfd, asection *sec)
19066 +{
19067 + struct avr32_section_data *sdata;
19068 +
19069 + sdata = bfd_zalloc(abfd, sizeof(struct avr32_section_data));
19070 + if (!sdata)
19071 + return FALSE;
19072 +
19073 + sec->used_by_bfd = sdata;
19074 + return _bfd_elf_new_section_hook(abfd, sec);
19075 +}
19076 +
19077 +static struct avr32_relax_data *
19078 +avr32_relax_data(asection *sec)
19079 +{
19080 + struct avr32_section_data *sdata;
19081 +
19082 + BFD_ASSERT(sec->used_by_bfd);
19083 +
19084 + sdata = (struct avr32_section_data *)elf_section_data(sec);
19085 + return &sdata->relax_data;
19086 +}
19087 +
19088 +\f/* Link-time relaxation */
19089 +
19090 +static bfd_boolean
19091 +avr32_elf_relax_section(bfd *abfd, asection *sec,
19092 + struct bfd_link_info *info, bfd_boolean *again);
19093 +
19094 +enum relax_pass_id {
19095 + RELAX_PASS_SIZE_FRAGS,
19096 + RELAX_PASS_MOVE_DATA,
19097 +};
19098 +
19099 +/* Stolen from the xtensa port */
19100 +static int
19101 +internal_reloc_compare (const void *ap, const void *bp)
19102 +{
19103 + const Elf_Internal_Rela *a = (const Elf_Internal_Rela *) ap;
19104 + const Elf_Internal_Rela *b = (const Elf_Internal_Rela *) bp;
19105 +
19106 + if (a->r_offset != b->r_offset)
19107 + return (a->r_offset - b->r_offset);
19108 +
19109 + /* We don't need to sort on these criteria for correctness,
19110 + but enforcing a more strict ordering prevents unstable qsort
19111 + from behaving differently with different implementations.
19112 + Without the code below we get correct but different results
19113 + on Solaris 2.7 and 2.8. We would like to always produce the
19114 + same results no matter the host. */
19115 +
19116 + if (a->r_info != b->r_info)
19117 + return (a->r_info - b->r_info);
19118 +
19119 + return (a->r_addend - b->r_addend);
19120 +}
19121 +
19122 +static enum relax_state_id
19123 +get_pcrel22_relax_state(bfd *abfd, asection *sec, struct bfd_link_info *info,
19124 + const Elf_Internal_Rela *rela)
19125 +{
19126 + bfd_byte *contents;
19127 + bfd_vma insn;
19128 + enum relax_state_id rs = RS_NONE;
19129 +
19130 + contents = retrieve_contents(abfd, sec, info->keep_memory);
19131 + if (!contents)
19132 + return RS_ERROR;
19133 +
19134 + insn = bfd_get_32(abfd, contents + rela->r_offset);
19135 + if ((insn & RCALL2_MASK) == RCALL2_OPCODE)
19136 + rs = RS_RCALL2;
19137 + else if ((insn & BRAL_MASK) == BRAL_OPCODE)
19138 + /* Optimizing bral -> rjmp gets us into all kinds of
19139 + trouble with jump tables. Better not do it. */
19140 + rs = RS_NONE;
19141 + else if ((insn & BRC2_MASK) == BRC2_OPCODE)
19142 + rs = RS_BRC2;
19143 +
19144 + release_contents(sec, contents);
19145 +
19146 + return rs;
19147 +}
19148 +
19149 +static enum relax_state_id
19150 +get_initial_relax_state(bfd *abfd, asection *sec, struct bfd_link_info *info,
19151 + const Elf_Internal_Rela *rela)
19152 +{
19153 + switch (ELF_R_TYPE(rela->r_info))
19154 + {
19155 + case R_AVR32_GOTCALL:
19156 + return RS_PIC_CALL;
19157 + case R_AVR32_GOT18SW:
19158 + return RS_PIC_MCALL;
19159 + case R_AVR32_LDA_GOT:
19160 + return RS_PIC_LDA;
19161 + case R_AVR32_GOT16S:
19162 + return RS_PIC_LDW4;
19163 + case R_AVR32_CPCALL:
19164 + return RS_NOPIC_MCALL;
19165 + case R_AVR32_16_CP:
19166 + return RS_NOPIC_LDW4;
19167 + case R_AVR32_9W_CP:
19168 + return RS_NOPIC_LDDPC;
19169 + case R_AVR32_ALIGN:
19170 + return RS_ALIGN;
19171 + case R_AVR32_32_CPENT:
19172 + return RS_CPENT;
19173 + case R_AVR32_22H_PCREL:
19174 + return get_pcrel22_relax_state(abfd, sec, info, rela);
19175 + case R_AVR32_9H_PCREL:
19176 + return RS_BRC1;
19177 + default:
19178 + return RS_NONE;
19179 + }
19180 +}
19181 +
19182 +static bfd_boolean
19183 +reloc_is_cpool_ref(const Elf_Internal_Rela *rela)
19184 +{
19185 + switch (ELF_R_TYPE(rela->r_info))
19186 + {
19187 + case R_AVR32_CPCALL:
19188 + case R_AVR32_16_CP:
19189 + case R_AVR32_9W_CP:
19190 + return TRUE;
19191 + default:
19192 + return FALSE;
19193 + }
19194 +}
19195 +
19196 +static struct fragment *
19197 +new_frag(bfd *abfd ATTRIBUTE_UNUSED, asection *sec,
19198 + struct avr32_relax_data *rd, enum relax_state_id state,
19199 + Elf_Internal_Rela *rela)
19200 +{
19201 + struct fragment *frag;
19202 + bfd_size_type r_size;
19203 + bfd_vma r_offset;
19204 + unsigned int i = rd->frag_count;
19205 +
19206 + BFD_ASSERT(state >= RS_NONE && state < RS_MAX);
19207 +
19208 + rd->frag_count++;
19209 + frag = bfd_realloc(rd->frag, sizeof(struct fragment) * rd->frag_count);
19210 + if (!frag)
19211 + return NULL;
19212 + rd->frag = frag;
19213 +
19214 + frag += i;
19215 + memset(frag, 0, sizeof(struct fragment));
19216 +
19217 + if (state == RS_ALIGN)
19218 + r_size = (((rela->r_offset + (1 << rela->r_addend) - 1)
19219 + & ~((1 << rela->r_addend) - 1)) - rela->r_offset);
19220 + else
19221 + r_size = relax_state[state].size;
19222 +
19223 + if (rela)
19224 + r_offset = rela->r_offset;
19225 + else
19226 + r_offset = sec->size;
19227 +
19228 + if (i == 0)
19229 + {
19230 + frag->offset = 0;
19231 + frag->size = r_offset + r_size;
19232 + }
19233 + else
19234 + {
19235 + frag->offset = rd->frag[i - 1].offset + rd->frag[i - 1].size;
19236 + frag->size = r_offset + r_size - frag->offset;
19237 + }
19238 +
19239 + if (state != RS_CPENT)
19240 + /* Make sure we don't discard this frag */
19241 + frag->refcount = 1;
19242 +
19243 + frag->initial_state = frag->state = state;
19244 + frag->rela = rela;
19245 +
19246 + return frag;
19247 +}
19248 +
19249 +static struct fragment *
19250 +find_frag(asection *sec, bfd_vma offset)
19251 +{
19252 + struct fragment *first, *last;
19253 + struct avr32_relax_data *rd = avr32_relax_data(sec);
19254 +
19255 + if (rd->frag_count == 0)
19256 + return NULL;
19257 +
19258 + first = &rd->frag[0];
19259 + last = &rd->frag[rd->frag_count - 1];
19260 +
19261 + /* This may be a reloc referencing the end of a section. The last
19262 + frag will never have a reloc associated with it, so its size will
19263 + never change, thus the offset adjustment of the last frag will
19264 + always be the same as the offset adjustment of the end of the
19265 + section. */
19266 + if (offset == sec->size)
19267 + {
19268 + BFD_ASSERT(last->offset + last->size == sec->size);
19269 + BFD_ASSERT(!last->rela);
19270 + return last;
19271 + }
19272 +
19273 + while (first <= last)
19274 + {
19275 + struct fragment *mid;
19276 +
19277 + mid = (last - first) / 2 + first;
19278 + if ((mid->offset + mid->size) <= offset)
19279 + first = mid + 1;
19280 + else if (mid->offset > offset)
19281 + last = mid - 1;
19282 + else
19283 + return mid;
19284 + }
19285 +
19286 + return NULL;
19287 +}
19288 +
19289 +/* Look through all relocs in a section and determine if any relocs
19290 + may be affected by relaxation in other sections. If so, allocate
19291 + an array of additional relocation data which links the affected
19292 + relocations to the frag(s) where the relaxation may occur.
19293 +
19294 + This function also links cpool references to cpool entries and
19295 + increments the refcount of the latter when this happens. */
19296 +
19297 +static bfd_boolean
19298 +allocate_reloc_data(bfd *abfd, asection *sec, Elf_Internal_Rela *relocs,
19299 + struct bfd_link_info *info)
19300 +{
19301 + Elf_Internal_Shdr *symtab_hdr;
19302 + Elf_Internal_Sym *isymbuf = NULL;
19303 + struct avr32_relax_data *rd;
19304 + unsigned int i;
19305 + bfd_boolean ret = FALSE;
19306 +
19307 + symtab_hdr = &elf_tdata(abfd)->symtab_hdr;
19308 + rd = avr32_relax_data(sec);
19309 +
19310 + RDBG("%s<%s>: allocate_reloc_data\n", abfd->filename, sec->name);
19311 +
19312 + for (i = 0; i < sec->reloc_count; i++)
19313 + {
19314 + Elf_Internal_Rela *rel = &relocs[i];
19315 + asection *sym_sec;
19316 + unsigned long r_symndx;
19317 + bfd_vma sym_value;
19318 +
19319 + if (!rel->r_addend && ELF_R_TYPE(rel->r_info) != R_AVR32_DIFF32
19320 + && !reloc_is_cpool_ref(rel))
19321 + continue;
19322 +
19323 + r_symndx = ELF_R_SYM(rel->r_info);
19324 +
19325 + if (r_symndx < symtab_hdr->sh_info)
19326 + {
19327 + Elf_Internal_Sym *isym;
19328 +
19329 + if (!isymbuf)
19330 + isymbuf = retrieve_local_syms(abfd, info->keep_memory);
19331 + if (!isymbuf)
19332 + return FALSE;
19333 +
19334 + isym = &isymbuf[r_symndx];
19335 + sym_sec = bfd_section_from_elf_index(abfd, isym->st_shndx);
19336 + sym_value = isym->st_value;
19337 + }
19338 + else
19339 + {
19340 + struct elf_link_hash_entry *h;
19341 +
19342 + h = elf_sym_hashes(abfd)[r_symndx - symtab_hdr->sh_info];
19343 +
19344 + while (h->root.type == bfd_link_hash_indirect
19345 + || h->root.type == bfd_link_hash_warning)
19346 + h = (struct elf_link_hash_entry *)h->root.u.i.link;
19347 +
19348 + if (h->root.type != bfd_link_hash_defined
19349 + && h->root.type != bfd_link_hash_defweak)
19350 + continue;
19351 +
19352 + sym_sec = h->root.u.def.section;
19353 + sym_value = h->root.u.def.value;
19354 + }
19355 +
19356 + if (sym_sec && avr32_relax_data(sym_sec)->is_relaxable)
19357 + {
19358 + bfd_size_type size;
19359 + struct fragment *frag;
19360 +
19361 + if (!rd->reloc_data)
19362 + {
19363 + size = sizeof(struct avr32_reloc_data) * sec->reloc_count;
19364 + rd->reloc_data = bfd_zalloc(abfd, size);
19365 + if (!rd->reloc_data)
19366 + goto out;
19367 + }
19368 +
19369 + RDBG("[%3d] 0x%04lx: target: 0x%lx + 0x%lx",
19370 + i, rel->r_offset, sym_value, rel->r_addend);
19371 +
19372 + frag = find_frag(sym_sec, sym_value + rel->r_addend);
19373 + BFD_ASSERT(frag);
19374 + rd->reloc_data[i].add_frag = frag;
19375 +
19376 + RDBG(" -> %s<%s>:%04lx\n", sym_sec->owner->filename, sym_sec->name,
19377 + frag->rela ? frag->rela->r_offset : sym_sec->size);
19378 +
19379 + if (reloc_is_cpool_ref(rel))
19380 + {
19381 + BFD_ASSERT(ELF_R_TYPE(frag->rela->r_info) == R_AVR32_32_CPENT);
19382 + frag->refcount++;
19383 + }
19384 +
19385 + if (ELF_R_TYPE(rel->r_info) == R_AVR32_DIFF32)
19386 + {
19387 + bfd_byte *contents;
19388 + bfd_signed_vma diff;
19389 +
19390 + contents = retrieve_contents(abfd, sec, info->keep_memory);
19391 + if (!contents)
19392 + goto out;
19393 +
19394 + diff = bfd_get_signed_32(abfd, contents + rel->r_offset);
19395 + frag = find_frag(sym_sec, sym_value + rel->r_addend + diff);
19396 + BFD_ASSERT(frag);
19397 + rd->reloc_data[i].sub_frag = frag;
19398 +
19399 + release_contents(sec, contents);
19400 + }
19401 + }
19402 + }
19403 +
19404 + ret = TRUE;
19405 +
19406 + out:
19407 + release_local_syms(abfd, isymbuf);
19408 + return ret;
19409 +}
19410 +
19411 +static bfd_boolean
19412 +global_sym_set_frag(struct elf_avr32_link_hash_entry *havr,
19413 + struct bfd_link_info *info ATTRIBUTE_UNUSED)
19414 +{
19415 + struct fragment *frag;
19416 + asection *sec;
19417 +
19418 + if (havr->root.root.type != bfd_link_hash_defined
19419 + && havr->root.root.type != bfd_link_hash_defweak)
19420 + return TRUE;
19421 +
19422 + sec = havr->root.root.u.def.section;
19423 + if (bfd_is_const_section(sec)
19424 + || !avr32_relax_data(sec)->is_relaxable)
19425 + return TRUE;
19426 +
19427 + frag = find_frag(sec, havr->root.root.u.def.value);
19428 + if (!frag)
19429 + {
19430 + unsigned int i;
19431 + struct avr32_relax_data *rd = avr32_relax_data(sec);
19432 +
19433 + RDBG("In %s: No frag for %s <%s+%lu> (limit %lu)\n",
19434 + sec->owner->filename, havr->root.root.root.string,
19435 + sec->name, havr->root.root.u.def.value, sec->size);
19436 + for (i = 0; i < rd->frag_count; i++)
19437 + RDBG(" %8lu - %8lu\n", rd->frag[i].offset,
19438 + rd->frag[i].offset + rd->frag[i].size);
19439 + }
19440 + BFD_ASSERT(frag);
19441 +
19442 + havr->sym_frag = frag;
19443 + return TRUE;
19444 +}
19445 +
19446 +static bfd_boolean
19447 +analyze_relocations(struct bfd_link_info *info)
19448 +{
19449 + bfd *abfd;
19450 + asection *sec;
19451 +
19452 + /* Divide all relaxable sections into fragments */
19453 + for (abfd = info->input_bfds; abfd; abfd = abfd->link_next)
19454 + {
19455 + if (!(elf_elfheader(abfd)->e_flags & EF_AVR32_LINKRELAX))
19456 + {
19457 + if (!(*info->callbacks->warning)
19458 + (info, _("input is not relaxable"), NULL, abfd, NULL, 0))
19459 + return FALSE;
19460 + continue;
19461 + }
19462 +
19463 + for (sec = abfd->sections; sec; sec = sec->next)
19464 + {
19465 + struct avr32_relax_data *rd;
19466 + struct fragment *frag;
19467 + Elf_Internal_Rela *relocs;
19468 + unsigned int i;
19469 + bfd_boolean ret = TRUE;
19470 +
19471 + if (!(sec->flags & SEC_RELOC) || sec->reloc_count == 0)
19472 + continue;
19473 +
19474 + rd = avr32_relax_data(sec);
19475 +
19476 + relocs = retrieve_internal_relocs(abfd, sec, info->keep_memory);
19477 + if (!relocs)
19478 + return FALSE;
19479 +
19480 + qsort(relocs, sec->reloc_count, sizeof(Elf_Internal_Rela),
19481 + internal_reloc_compare);
19482 +
19483 + for (i = 0; i < sec->reloc_count; i++)
19484 + {
19485 + enum relax_state_id state;
19486 +
19487 + ret = FALSE;
19488 + state = get_initial_relax_state(abfd, sec, info, &relocs[i]);
19489 + if (state == RS_ERROR)
19490 + break;
19491 +
19492 + if (state)
19493 + {
19494 + frag = new_frag(abfd, sec, rd, state, &relocs[i]);
19495 + if (!frag)
19496 + break;
19497 +
19498 + pin_internal_relocs(sec, relocs);
19499 + rd->is_relaxable = TRUE;
19500 + }
19501 +
19502 + ret = TRUE;
19503 + }
19504 +
19505 + release_internal_relocs(sec, relocs);
19506 + if (!ret)
19507 + return ret;
19508 +
19509 + if (rd->is_relaxable)
19510 + {
19511 + frag = new_frag(abfd, sec, rd, RS_NONE, NULL);
19512 + if (!frag)
19513 + return FALSE;
19514 + }
19515 + }
19516 + }
19517 +
19518 + /* Link each global symbol to the fragment where it's defined. */
19519 + elf_link_hash_traverse(elf_hash_table(info), global_sym_set_frag, info);
19520 +
19521 + /* Do the same for local symbols. */
19522 + for (abfd = info->input_bfds; abfd; abfd = abfd->link_next)
19523 + {
19524 + Elf_Internal_Sym *isymbuf, *isym;
19525 + struct fragment **local_sym_frag;
19526 + unsigned int i, sym_count;
19527 +
19528 + sym_count = elf_tdata(abfd)->symtab_hdr.sh_info;
19529 + if (sym_count == 0)
19530 + continue;
19531 +
19532 + local_sym_frag = bfd_zalloc(abfd, sym_count * sizeof(struct fragment *));
19533 + if (!local_sym_frag)
19534 + return FALSE;
19535 + elf_tdata(abfd)->local_sym_frag = local_sym_frag;
19536 +
19537 + isymbuf = retrieve_local_syms(abfd, info->keep_memory);
19538 + if (!isymbuf)
19539 + return FALSE;
19540 +
19541 + for (i = 0; i < sym_count; i++)
19542 + {
19543 + struct avr32_relax_data *rd;
19544 + struct fragment *frag;
19545 + asection *sec;
19546 +
19547 + isym = &isymbuf[i];
19548 +
19549 + sec = bfd_section_from_elf_index(abfd, isym->st_shndx);
19550 + if (!sec)
19551 + continue;
19552 +
19553 + rd = avr32_relax_data(sec);
19554 + if (!rd->is_relaxable)
19555 + continue;
19556 +
19557 + frag = find_frag(sec, isym->st_value);
19558 + BFD_ASSERT(frag);
19559 +
19560 + local_sym_frag[i] = frag;
19561 + }
19562 +
19563 + release_local_syms(abfd, isymbuf);
19564 + }
19565 +
19566 + /* And again for relocs with addends and constant pool references */
19567 + for (abfd = info->input_bfds; abfd; abfd = abfd->link_next)
19568 + for (sec = abfd->sections; sec; sec = sec->next)
19569 + {
19570 + Elf_Internal_Rela *relocs;
19571 + bfd_boolean ret;
19572 +
19573 + if (!(sec->flags & SEC_RELOC) || sec->reloc_count == 0)
19574 + continue;
19575 +
19576 + relocs = retrieve_internal_relocs(abfd, sec, info->keep_memory);
19577 + if (!relocs)
19578 + return FALSE;
19579 +
19580 + ret = allocate_reloc_data(abfd, sec, relocs, info);
19581 +
19582 + release_internal_relocs(sec, relocs);
19583 + if (ret == FALSE)
19584 + return ret;
19585 + }
19586 +
19587 + return TRUE;
19588 +}
19589 +
19590 +static bfd_boolean
19591 +rs_is_good_enough(const struct relax_state *rs, struct fragment *frag,
19592 + bfd_vma symval, bfd_vma addr, struct got_entry *got,
19593 + struct avr32_reloc_data *ind_data,
19594 + bfd_signed_vma offset_adjust)
19595 +{
19596 + bfd_signed_vma target = 0;
19597 +
19598 + switch (rs->reftype)
19599 + {
19600 + case REF_ABSOLUTE:
19601 + target = symval;
19602 + break;
19603 + case REF_PCREL:
19604 + target = symval - addr;
19605 + break;
19606 + case REF_CPOOL:
19607 + /* cpool frags are always in the same section and always after
19608 + all frags referring to it. So it's always correct to add in
19609 + offset_adjust here. */
19610 + target = (ind_data->add_frag->offset + ind_data->add_frag->offset_adjust
19611 + + offset_adjust - frag->offset - frag->offset_adjust);
19612 + break;
19613 + case REF_GOT:
19614 + target = got->offset;
19615 + break;
19616 + default:
19617 + abort();
19618 + }
19619 +
19620 + if (target >= rs->range_min && target <= rs->range_max)
19621 + return TRUE;
19622 + else
19623 + return FALSE;
19624 +}
19625 +
19626 +static bfd_boolean
19627 +avr32_size_frags(bfd *abfd, asection *sec, struct bfd_link_info *info)
19628 +{
19629 + struct elf_avr32_link_hash_table *htab;
19630 + struct avr32_relax_data *rd;
19631 + Elf_Internal_Shdr *symtab_hdr;
19632 + Elf_Internal_Rela *relocs = NULL;
19633 + Elf_Internal_Sym *isymbuf = NULL;
19634 + struct got_entry **local_got_ents;
19635 + struct fragment **local_sym_frag;
19636 + bfd_boolean ret = FALSE;
19637 + bfd_signed_vma delta = 0;
19638 + unsigned int i;
19639 +
19640 + htab = avr32_elf_hash_table(info);
19641 + rd = avr32_relax_data(sec);
19642 +
19643 + if (sec == htab->sgot)
19644 + {
19645 + RDBG("Relaxing GOT section (vma: 0x%lx)\n",
19646 + sec->output_section->vma + sec->output_offset);
19647 + if (assign_got_offsets(htab))
19648 + htab->repeat_pass = TRUE;
19649 + return TRUE;
19650 + }
19651 +
19652 + if (!rd->is_relaxable)
19653 + return TRUE;
19654 +
19655 + if (!sec->rawsize)
19656 + sec->rawsize = sec->size;
19657 +
19658 + symtab_hdr = &elf_tdata(abfd)->symtab_hdr;
19659 + relocs = retrieve_internal_relocs(abfd, sec, info->keep_memory);
19660 + if (!relocs)
19661 + goto out;
19662 +
19663 + isymbuf = retrieve_local_syms(abfd, info->keep_memory);
19664 + if (!isymbuf)
19665 + goto out;
19666 +
19667 + local_got_ents = elf_local_got_ents(abfd);
19668 + local_sym_frag = elf_tdata(abfd)->local_sym_frag;
19669 +
19670 + RDBG("size_frags: %s<%s>\n vma: 0x%08lx, size: 0x%08lx\n",
19671 + abfd->filename, sec->name,
19672 + sec->output_section->vma + sec->output_offset, sec->size);
19673 +
19674 + for (i = 0; i < rd->frag_count; i++)
19675 + {
19676 + struct fragment *frag = &rd->frag[i];
19677 + struct avr32_reloc_data *r_data = NULL, *ind_data = NULL;
19678 + const struct relax_state *state, *next_state;
19679 + struct fragment *target_frag = NULL;
19680 + asection *sym_sec = NULL;
19681 + Elf_Internal_Rela *rela;
19682 + struct got_entry *got;
19683 + bfd_vma symval, r_offset, addend, addr;
19684 + bfd_signed_vma size_adjust = 0, distance;
19685 + unsigned long r_symndx;
19686 + bfd_boolean defined = TRUE, dynamic = FALSE;
19687 + unsigned char sym_type;
19688 +
19689 + frag->offset_adjust += delta;
19690 + state = next_state = &relax_state[frag->state];
19691 + rela = frag->rela;
19692 +
19693 + BFD_ASSERT(state->id == frag->state);
19694 +
19695 + RDBG(" 0x%04lx%c%d: %s [size %ld]", rela ? rela->r_offset : sec->rawsize,
19696 + (frag->offset_adjust < 0)?'-':'+',
19697 + abs(frag->offset_adjust), state->name, state->size);
19698 +
19699 + if (!rela)
19700 + {
19701 + RDBG(": no reloc, ignoring\n");
19702 + continue;
19703 + }
19704 +
19705 + BFD_ASSERT((unsigned int)(rela - relocs) < sec->reloc_count);
19706 + BFD_ASSERT(state != RS_NONE);
19707 +
19708 + r_offset = rela->r_offset + frag->offset_adjust;
19709 + addr = sec->output_section->vma + sec->output_offset + r_offset;
19710 +
19711 + switch (frag->state)
19712 + {
19713 + case RS_ALIGN:
19714 + size_adjust = ((addr + (1 << rela->r_addend) - 1)
19715 + & ~((1 << rela->r_addend) - 1));
19716 + size_adjust -= (sec->output_section->vma + sec->output_offset
19717 + + frag->offset + frag->offset_adjust
19718 + + frag->size + frag->size_adjust);
19719 +
19720 + RDBG(": adjusting size %lu -> %lu\n", frag->size + frag->size_adjust,
19721 + frag->size + frag->size_adjust + size_adjust);
19722 + break;
19723 +
19724 + case RS_CPENT:
19725 + if (frag->refcount == 0 && frag->size_adjust == 0)
19726 + {
19727 + RDBG(": discarding frag\n");
19728 + size_adjust = -4;
19729 + }
19730 + else if (frag->refcount > 0 && frag->size_adjust < 0)
19731 + {
19732 + RDBG(": un-discarding frag\n");
19733 + size_adjust = 4;
19734 + }
19735 + break;
19736 +
19737 + default:
19738 + if (rd->reloc_data)
19739 + r_data = &rd->reloc_data[frag->rela - relocs];
19740 +
19741 + /* If this is a cpool reference, we want the symbol that the
19742 + cpool entry refers to, not the symbol for the cpool entry
19743 + itself, as we already know what frag it's in. */
19744 + if (relax_state[frag->initial_state].reftype == REF_CPOOL)
19745 + {
19746 + Elf_Internal_Rela *irela = r_data->add_frag->rela;
19747 +
19748 + r_symndx = ELF_R_SYM(irela->r_info);
19749 + addend = irela->r_addend;
19750 +
19751 + /* The constant pool must be in the same section as the
19752 + reloc referring to it. */
19753 + BFD_ASSERT((unsigned long)(irela - relocs) < sec->reloc_count);
19754 +
19755 + ind_data = r_data;
19756 + r_data = &rd->reloc_data[irela - relocs];
19757 + }
19758 + else
19759 + {
19760 + r_symndx = ELF_R_SYM(rela->r_info);
19761 + addend = rela->r_addend;
19762 + }
19763 +
19764 + /* Get the value of the symbol referred to by the reloc. */
19765 + if (r_symndx < symtab_hdr->sh_info)
19766 + {
19767 + Elf_Internal_Sym *isym;
19768 +
19769 + isym = isymbuf + r_symndx;
19770 + symval = 0;
19771 +
19772 + RDBG(" local sym %lu: ", r_symndx);
19773 +
19774 + if (isym->st_shndx == SHN_UNDEF)
19775 + defined = FALSE;
19776 + else if (isym->st_shndx == SHN_ABS)
19777 + sym_sec = bfd_abs_section_ptr;
19778 + else if (isym->st_shndx == SHN_COMMON)
19779 + sym_sec = bfd_com_section_ptr;
19780 + else
19781 + sym_sec = bfd_section_from_elf_index(abfd, isym->st_shndx);
19782 +
19783 + symval = isym->st_value;
19784 + sym_type = ELF_ST_TYPE(isym->st_info);
19785 + target_frag = local_sym_frag[r_symndx];
19786 +
19787 + if (local_got_ents)
19788 + got = local_got_ents[r_symndx];
19789 + else
19790 + got = NULL;
19791 + }
19792 + else
19793 + {
19794 + /* Global symbol */
19795 + unsigned long index;
19796 + struct elf_link_hash_entry *h;
19797 + struct elf_avr32_link_hash_entry *havr;
19798 +
19799 + index = r_symndx - symtab_hdr->sh_info;
19800 + h = elf_sym_hashes(abfd)[index];
19801 + BFD_ASSERT(h != NULL);
19802 +
19803 + while (h->root.type == bfd_link_hash_indirect
19804 + || h->root.type == bfd_link_hash_warning)
19805 + h = (struct elf_link_hash_entry *)h->root.u.i.link;
19806 +
19807 + havr = (struct elf_avr32_link_hash_entry *)h;
19808 + got = h->got.glist;
19809 +
19810 + symval = 0;
19811 +
19812 + RDBG(" %s: ", h->root.root.string);
19813 +
19814 + if (h->root.type != bfd_link_hash_defined
19815 + && h->root.type != bfd_link_hash_defweak)
19816 + {
19817 + RDBG("(undef)");
19818 + defined = FALSE;
19819 + }
19820 + else if ((info->shared && !info->symbolic && h->dynindx != -1)
19821 + || (htab->root.dynamic_sections_created
19822 + && h->def_dynamic && !h->def_regular))
19823 + {
19824 + RDBG("(dynamic)");
19825 + dynamic = TRUE;
19826 + sym_sec = h->root.u.def.section;
19827 + }
19828 + else
19829 + {
19830 + sym_sec = h->root.u.def.section;
19831 + symval = h->root.u.def.value;
19832 + target_frag = havr->sym_frag;
19833 + }
19834 +
19835 + sym_type = h->type;
19836 + }
19837 +
19838 + /* Thanks to elf32-ppc for this one. */
19839 + if (sym_sec && sym_sec->sec_info_type == ELF_INFO_TYPE_MERGE)
19840 + {
19841 + /* At this stage in linking, no SEC_MERGE symbol has been
19842 + adjusted, so all references to such symbols need to be
19843 + passed through _bfd_merged_section_offset. (Later, in
19844 + relocate_section, all SEC_MERGE symbols *except* for
19845 + section symbols have been adjusted.)
19846 +
19847 + SEC_MERGE sections are not relaxed by us, as they
19848 + shouldn't contain any code. */
19849 +
19850 + BFD_ASSERT(!target_frag && !(r_data && r_data->add_frag));
19851 +
19852 + /* gas may reduce relocations against symbols in SEC_MERGE
19853 + sections to a relocation against the section symbol when
19854 + the original addend was zero. When the reloc is against
19855 + a section symbol we should include the addend in the
19856 + offset passed to _bfd_merged_section_offset, since the
19857 + location of interest is the original symbol. On the
19858 + other hand, an access to "sym+addend" where "sym" is not
19859 + a section symbol should not include the addend; Such an
19860 + access is presumed to be an offset from "sym"; The
19861 + location of interest is just "sym". */
19862 + RDBG("\n MERGE: %s: 0x%lx+0x%lx+0x%lx -> ",
19863 + (sym_type == STT_SECTION)?"section":"not section",
19864 + sym_sec->output_section->vma + sym_sec->output_offset,
19865 + symval, addend);
19866 +
19867 + if (sym_type == STT_SECTION)
19868 + symval += addend;
19869 +
19870 + symval = (_bfd_merged_section_offset
19871 + (abfd, &sym_sec,
19872 + elf_section_data(sym_sec)->sec_info, symval));
19873 +
19874 + if (sym_type != STT_SECTION)
19875 + symval += addend;
19876 + }
19877 + else
19878 + symval += addend;
19879 +
19880 + if (defined && !dynamic)
19881 + {
19882 + RDBG("0x%lx+0x%lx",
19883 + sym_sec->output_section->vma + sym_sec->output_offset,
19884 + symval);
19885 + symval += sym_sec->output_section->vma + sym_sec->output_offset;
19886 + }
19887 +
19888 + if (r_data && r_data->add_frag)
19889 + /* If the add_frag pointer is set, it means that this reloc
19890 + has an addend that may be affected by relaxation. */
19891 + target_frag = r_data->add_frag;
19892 +
19893 + if (target_frag)
19894 + {
19895 + symval += target_frag->offset_adjust;
19896 +
19897 + /* If target_frag comes after this frag in the same
19898 + section, we should assume that it will be moved by
19899 + the same amount we are. */
19900 + if ((target_frag - rd->frag) < (int)rd->frag_count
19901 + && target_frag > frag)
19902 + symval += delta;
19903 + }
19904 +
19905 + distance = symval - addr;
19906 +
19907 + /* First, try to make a direct reference. If the symbol is
19908 + dynamic or undefined, we must take care not to change its
19909 + reference type, that is, we can't make it direct.
19910 +
19911 + Also, it seems like some sections may actually be resized
19912 + after the relaxation code is done, so we can't really
19913 + trust that our "distance" is correct. There's really no
19914 + easy solution to this problem, so we'll just disallow
19915 + direct references to SEC_DATA sections. */
19916 + if (!dynamic && defined
19917 + && !(sym_sec->flags & SEC_DATA)
19918 + && next_state->direct)
19919 + {
19920 + next_state = &relax_state[next_state->direct];
19921 + RDBG(" D-> %s", next_state->name);
19922 + }
19923 +
19924 + /* Iterate backwards until we find a state that fits. */
19925 + while (next_state->prev
19926 + && !rs_is_good_enough(next_state, frag, symval, addr,
19927 + got, ind_data, delta))
19928 + {
19929 + next_state = &relax_state[next_state->prev];
19930 + RDBG(" P-> %s", next_state->name);
19931 + }
19932 +
19933 + /* Then try to find the best possible state. */
19934 + while (next_state->next)
19935 + {
19936 + const struct relax_state *candidate;
19937 +
19938 + candidate = &relax_state[next_state->next];
19939 + if (!rs_is_good_enough(candidate, frag, symval, addr, got,
19940 + ind_data, delta))
19941 + break;
19942 +
19943 + next_state = candidate;
19944 + RDBG(" N-> %s", next_state->name);
19945 + }
19946 +
19947 + RDBG(" [size %ld]\n", next_state->size);
19948 +
19949 + BFD_ASSERT(next_state->id);
19950 + BFD_ASSERT(!dynamic || next_state->reftype == REF_GOT);
19951 +
19952 + size_adjust = next_state->size - state->size;
19953 +
19954 + /* There's a theoretical possibility that shrinking one frag
19955 + may cause another to grow, which may cause the first one to
19956 + grow as well, and we're back where we started. Avoid this
19957 + scenario by disallowing a frag that has grown to ever
19958 + shrink again. */
19959 + if (state->reftype == REF_GOT && next_state->reftype != REF_GOT)
19960 + {
19961 + if (frag->has_grown)
19962 + next_state = state;
19963 + else
19964 + unref_got_entry(htab, got);
19965 + }
19966 + else if (state->reftype != REF_GOT && next_state->reftype == REF_GOT)
19967 + {
19968 + ref_got_entry(htab, got);
19969 + frag->has_grown = TRUE;
19970 + }
19971 + else if (state->reftype == REF_CPOOL
19972 + && next_state->reftype != REF_CPOOL)
19973 + {
19974 + if (frag->has_grown)
19975 + next_state = state;
19976 + else
19977 + ind_data->add_frag->refcount--;
19978 + }
19979 + else if (state->reftype != REF_CPOOL
19980 + && next_state->reftype == REF_CPOOL)
19981 + {
19982 + ind_data->add_frag->refcount++;
19983 + frag->has_grown = TRUE;
19984 + }
19985 + else
19986 + {
19987 + if (frag->has_grown && size_adjust < 0)
19988 + next_state = state;
19989 + else if (size_adjust > 0)
19990 + frag->has_grown = TRUE;
19991 + }
19992 +
19993 + size_adjust = next_state->size - state->size;
19994 + frag->state = next_state->id;
19995 +
19996 + break;
19997 + }
19998 +
19999 + if (size_adjust)
20000 + htab->repeat_pass = TRUE;
20001 +
20002 + frag->size_adjust += size_adjust;
20003 + sec->size += size_adjust;
20004 + delta += size_adjust;
20005 +
20006 + BFD_ASSERT((frag->offset + frag->offset_adjust
20007 + + frag->size + frag->size_adjust)
20008 + == (frag[1].offset + frag[1].offset_adjust + delta));
20009 + }
20010 +
20011 + ret = TRUE;
20012 +
20013 + out:
20014 + release_local_syms(abfd, isymbuf);
20015 + release_internal_relocs(sec, relocs);
20016 + return ret;
20017 +}
20018 +
20019 +static bfd_boolean
20020 +adjust_global_symbol(struct elf_avr32_link_hash_entry *havr,
20021 + struct bfd_link_info *info ATTRIBUTE_UNUSED)
20022 +{
20023 + struct elf_link_hash_entry *h = &havr->root;
20024 +
20025 + if (havr->sym_frag && (h->root.type == bfd_link_hash_defined
20026 + || h->root.type == bfd_link_hash_defweak))
20027 + {
20028 + RDBG("adjust_global_symbol: %s 0x%08lx -> 0x%08lx\n",
20029 + h->root.root.string, h->root.u.def.value,
20030 + h->root.u.def.value + havr->sym_frag->offset_adjust);
20031 + h->root.u.def.value += havr->sym_frag->offset_adjust;
20032 + }
20033 + return TRUE;
20034 +}
20035 +
20036 +static bfd_boolean
20037 +adjust_syms(struct bfd_link_info *info)
20038 +{
20039 + struct elf_avr32_link_hash_table *htab;
20040 + bfd *abfd;
20041 +
20042 + htab = avr32_elf_hash_table(info);
20043 + elf_link_hash_traverse(&htab->root, adjust_global_symbol, info);
20044 +
20045 + for (abfd = info->input_bfds; abfd; abfd = abfd->link_next)
20046 + {
20047 + Elf_Internal_Sym *isymbuf;
20048 + struct fragment **local_sym_frag, *frag;
20049 + unsigned int i, sym_count;
20050 +
20051 + sym_count = elf_tdata(abfd)->symtab_hdr.sh_info;
20052 + if (sym_count == 0)
20053 + continue;
20054 +
20055 + isymbuf = retrieve_local_syms(abfd, info->keep_memory);
20056 + if (!isymbuf)
20057 + return FALSE;
20058 +
20059 + local_sym_frag = elf_tdata(abfd)->local_sym_frag;
20060 +
20061 + for (i = 0; i < sym_count; i++)
20062 + {
20063 + frag = local_sym_frag[i];
20064 + if (frag)
20065 + {
20066 + RDBG("adjust_local_symbol: %s[%u] 0x%08lx -> 0x%08lx\n",
20067 + abfd->filename, i, isymbuf[i].st_value,
20068 + isymbuf[i].st_value + frag->offset_adjust);
20069 + isymbuf[i].st_value += frag->offset_adjust;
20070 + }
20071 + }
20072 +
20073 + release_local_syms(abfd, isymbuf);
20074 + }
20075 +
20076 + htab->symbols_adjusted = TRUE;
20077 + return TRUE;
20078 +}
20079 +
20080 +static bfd_boolean
20081 +adjust_relocs(bfd *abfd, asection *sec, struct bfd_link_info *info)
20082 +{
20083 + struct avr32_relax_data *rd;
20084 + Elf_Internal_Rela *relocs;
20085 + Elf_Internal_Shdr *symtab_hdr;
20086 + unsigned int i;
20087 + bfd_boolean ret = FALSE;
20088 +
20089 + rd = avr32_relax_data(sec);
20090 + if (!rd->reloc_data)
20091 + return TRUE;
20092 +
20093 + RDBG("adjust_relocs: %s<%s> (count: %u)\n", abfd->filename, sec->name,
20094 + sec->reloc_count);
20095 +
20096 + relocs = retrieve_internal_relocs(abfd, sec, info->keep_memory);
20097 + if (!relocs)
20098 + return FALSE;
20099 +
20100 + symtab_hdr = &elf_tdata(abfd)->symtab_hdr;
20101 +
20102 + for (i = 0; i < sec->reloc_count; i++)
20103 + {
20104 + Elf_Internal_Rela *rela = &relocs[i];
20105 + struct avr32_reloc_data *r_data = &rd->reloc_data[i];
20106 + struct fragment *sym_frag;
20107 + unsigned long r_symndx;
20108 +
20109 + if (r_data->add_frag)
20110 + {
20111 + r_symndx = ELF_R_SYM(rela->r_info);
20112 +
20113 + if (r_symndx < symtab_hdr->sh_info)
20114 + sym_frag = elf_tdata(abfd)->local_sym_frag[r_symndx];
20115 + else
20116 + {
20117 + struct elf_link_hash_entry *h;
20118 +
20119 + h = elf_sym_hashes(abfd)[r_symndx - symtab_hdr->sh_info];
20120 +
20121 + while (h->root.type == bfd_link_hash_indirect
20122 + || h->root.type == bfd_link_hash_warning)
20123 + h = (struct elf_link_hash_entry *)h->root.u.i.link;
20124 +
20125 + BFD_ASSERT(h->root.type == bfd_link_hash_defined
20126 + || h->root.type == bfd_link_hash_defweak);
20127 +
20128 + sym_frag = ((struct elf_avr32_link_hash_entry *)h)->sym_frag;
20129 + }
20130 +
20131 + RDBG(" addend: 0x%08lx -> 0x%08lx\n",
20132 + rela->r_addend,
20133 + rela->r_addend + r_data->add_frag->offset_adjust
20134 + - (sym_frag ? sym_frag->offset_adjust : 0));
20135 +
20136 + /* If this is against a section symbol, we won't find any
20137 + sym_frag, so we'll just adjust the addend. */
20138 + rela->r_addend += r_data->add_frag->offset_adjust;
20139 + if (sym_frag)
20140 + rela->r_addend -= sym_frag->offset_adjust;
20141 +
20142 + if (r_data->sub_frag)
20143 + {
20144 + bfd_byte *contents;
20145 + bfd_signed_vma diff;
20146 +
20147 + contents = retrieve_contents(abfd, sec, info->keep_memory);
20148 + if (!contents)
20149 + goto out;
20150 +
20151 + /* I realize now that sub_frag is misnamed. It's
20152 + actually add_frag which is subtracted in this
20153 + case... */
20154 + diff = bfd_get_signed_32(abfd, contents + rela->r_offset);
20155 + diff += (r_data->sub_frag->offset_adjust
20156 + - r_data->add_frag->offset_adjust);
20157 + bfd_put_32(abfd, diff, contents + rela->r_offset);
20158 +
20159 + RDBG(" 0x%lx: DIFF32 updated: 0x%lx\n", rela->r_offset, diff);
20160 +
20161 + release_contents(sec, contents);
20162 + }
20163 + }
20164 + else
20165 + BFD_ASSERT(!r_data->sub_frag);
20166 + }
20167 +
20168 + ret = TRUE;
20169 +
20170 + out:
20171 + release_internal_relocs(sec, relocs);
20172 + return ret;
20173 +}
20174 +
20175 +static bfd_boolean
20176 +avr32_move_data(bfd *abfd, asection *sec, struct bfd_link_info *info)
20177 +{
20178 + struct elf_avr32_link_hash_table *htab;
20179 + struct avr32_relax_data *rd;
20180 + struct fragment *frag, *fragend;
20181 + Elf_Internal_Rela *relocs = NULL;
20182 + bfd_byte *contents = NULL;
20183 + unsigned int i;
20184 + bfd_boolean ret = FALSE;
20185 +
20186 + htab = avr32_elf_hash_table(info);
20187 + rd = avr32_relax_data(sec);
20188 +
20189 + if (!htab->symbols_adjusted)
20190 + if (!adjust_syms(info))
20191 + return FALSE;
20192 +
20193 + if (rd->is_relaxable)
20194 + {
20195 + /* Resize the section first, so that we can be sure that enough
20196 + memory is allocated in case the section has grown. */
20197 + if (sec->size > sec->rawsize
20198 + && elf_section_data(sec)->this_hdr.contents)
20199 + {
20200 + /* We must not use cached data if the section has grown. */
20201 + free(elf_section_data(sec)->this_hdr.contents);
20202 + elf_section_data(sec)->this_hdr.contents = NULL;
20203 + }
20204 +
20205 + relocs = retrieve_internal_relocs(abfd, sec, info->keep_memory);
20206 + if (!relocs)
20207 + goto out;
20208 + contents = retrieve_contents(abfd, sec, info->keep_memory);
20209 + if (!contents)
20210 + goto out;
20211 +
20212 + fragend = rd->frag + rd->frag_count;
20213 +
20214 + RDBG("move_data: %s<%s>: relocs=%p, contents=%p\n",
20215 + abfd->filename, sec->name, relocs, contents);
20216 +
20217 + /* First, move the data into place. We must take care to move
20218 + frags in the right order so that we don't accidentally
20219 + overwrite parts of the next frag. */
20220 + for (frag = rd->frag; frag < fragend; frag++)
20221 + {
20222 + RDBG(" 0x%08lx%c0x%x: size 0x%lx%c0x%x\n",
20223 + frag->offset, frag->offset_adjust >= 0 ? '+' : '-',
20224 + abs(frag->offset_adjust),
20225 + frag->size, frag->size_adjust >= 0 ? '+' : '-',
20226 + abs(frag->size_adjust));
20227 + if (frag->offset_adjust > 0)
20228 + {
20229 + struct fragment *prev = frag - 1;
20230 + struct fragment *last;
20231 +
20232 + for (last = frag; last < fragend && last->offset_adjust > 0;
20233 + last++) ;
20234 +
20235 + if (last == fragend)
20236 + last--;
20237 +
20238 + for (frag = last; frag != prev; frag--)
20239 + {
20240 + if (frag->offset_adjust
20241 + && frag->size + frag->size_adjust > 0)
20242 + {
20243 + RDBG("memmove 0x%lx -> 0x%lx (size %lu)\n",
20244 + frag->offset, frag->offset + frag->offset_adjust,
20245 + frag->size + frag->size_adjust);
20246 + memmove(contents + frag->offset + frag->offset_adjust,
20247 + contents + frag->offset,
20248 + frag->size + frag->size_adjust);
20249 + }
20250 + }
20251 + frag = last;
20252 + }
20253 + else if (frag->offset_adjust && frag->size + frag->size_adjust > 0)
20254 + {
20255 + RDBG("memmove 0x%lx -> 0x%lx (size %lu)\n",
20256 + frag->offset, frag->offset + frag->offset_adjust,
20257 + frag->size + frag->size_adjust);
20258 + memmove(contents + frag->offset + frag->offset_adjust,
20259 + contents + frag->offset,
20260 + frag->size + frag->size_adjust);
20261 + }
20262 + }
20263 +
20264 + i = 0;
20265 +
20266 + for (frag = rd->frag; frag < fragend; frag++)
20267 + {
20268 + const struct relax_state *state, *istate;
20269 + struct avr32_reloc_data *r_data = NULL;
20270 +
20271 + istate = &relax_state[frag->initial_state];
20272 + state = &relax_state[frag->state];
20273 +
20274 + if (rd->reloc_data)
20275 + r_data = &rd->reloc_data[frag->rela - relocs];
20276 +
20277 + BFD_ASSERT((long)(frag->size + frag->size_adjust) >= 0);
20278 + BFD_ASSERT(state->reftype != REF_CPOOL
20279 + || r_data->add_frag->refcount > 0);
20280 +
20281 + if (istate->reftype == REF_CPOOL && state->reftype != REF_CPOOL)
20282 + {
20283 + struct fragment *ifrag;
20284 +
20285 + /* An indirect reference through the cpool has been
20286 + converted to a direct reference. We must update the
20287 + reloc to point to the symbol itself instead of the
20288 + constant pool entry. The reloc type will be updated
20289 + later. */
20290 + ifrag = r_data->add_frag;
20291 + frag->rela->r_info = ifrag->rela->r_info;
20292 + frag->rela->r_addend = ifrag->rela->r_addend;
20293 +
20294 + /* Copy the reloc data so the addend will be adjusted
20295 + correctly later. */
20296 + *r_data = rd->reloc_data[ifrag->rela - relocs];
20297 + }
20298 +
20299 + /* Move all relocs covered by this frag. */
20300 + if (frag->rela)
20301 + BFD_ASSERT(&relocs[i] <= frag->rela);
20302 + else
20303 + BFD_ASSERT((frag + 1) == fragend && frag->state == RS_NONE);
20304 +
20305 + if (frag == rd->frag)
20306 + BFD_ASSERT(i == 0);
20307 + else
20308 + BFD_ASSERT(&relocs[i] > frag[-1].rela);
20309 +
20310 + /* If non-null, frag->rela is the last relocation in the
20311 + fragment. frag->rela can only be null in the last
20312 + fragment, so in that case, we'll just do the rest. */
20313 + for (; (i < sec->reloc_count
20314 + && (!frag->rela || &relocs[i] <= frag->rela)); i++)
20315 + {
20316 + RDBG("[%4u] r_offset 0x%08lx -> 0x%08lx\n", i, relocs[i].r_offset,
20317 + relocs[i].r_offset + frag->offset_adjust);
20318 + relocs[i].r_offset += frag->offset_adjust;
20319 + }
20320 +
20321 + if (frag->refcount == 0)
20322 + {
20323 + /* If this frag is to be discarded, make sure we won't
20324 + relocate it later on. */
20325 + BFD_ASSERT(frag->state == RS_CPENT);
20326 + frag->rela->r_info = ELF_R_INFO(ELF_R_SYM(frag->rela->r_info),
20327 + R_AVR32_NONE);
20328 + }
20329 + else if (frag->state == RS_ALIGN)
20330 + {
20331 + bfd_vma addr, addr_end;
20332 +
20333 + addr = frag->rela->r_offset;
20334 + addr_end = (frag->offset + frag->offset_adjust
20335 + + frag->size + frag->size_adjust);
20336 +
20337 + /* If the section is executable, insert NOPs.
20338 + Otherwise, insert zeroes. */
20339 + if (sec->flags & SEC_CODE)
20340 + {
20341 + if (addr & 1)
20342 + {
20343 + bfd_put_8(abfd, 0, contents + addr);
20344 + addr++;
20345 + }
20346 +
20347 + BFD_ASSERT(!((addr_end - addr) & 1));
20348 +
20349 + while (addr < addr_end)
20350 + {
20351 + bfd_put_16(abfd, NOP_OPCODE, contents + addr);
20352 + addr += 2;
20353 + }
20354 + }
20355 + else
20356 + memset(contents + addr, 0, addr_end - addr);
20357 + }
20358 + else if (state->opcode_mask)
20359 + {
20360 + bfd_vma insn;
20361 +
20362 + /* Update the opcode and the relocation type unless it's a
20363 + "special" relax state (i.e. RS_NONE, RS_ALIGN or
20364 + RS_CPENT.), in which case the opcode mask is zero. */
20365 + insn = bfd_get_32(abfd, contents + frag->rela->r_offset);
20366 + insn &= ~state->opcode_mask;
20367 + insn |= state->opcode;
20368 + RDBG(" 0x%lx: inserting insn %08lx\n",
20369 + frag->rela->r_offset, insn);
20370 + bfd_put_32(abfd, insn, contents + frag->rela->r_offset);
20371 +
20372 + frag->rela->r_info = ELF_R_INFO(ELF_R_SYM(frag->rela->r_info),
20373 + state->r_type);
20374 + }
20375 +
20376 + if ((frag + 1) == fragend)
20377 + BFD_ASSERT((frag->offset + frag->size + frag->offset_adjust
20378 + + frag->size_adjust) == sec->size);
20379 + else
20380 + BFD_ASSERT((frag->offset + frag->size + frag->offset_adjust
20381 + + frag->size_adjust)
20382 + == (frag[1].offset + frag[1].offset_adjust));
20383 + }
20384 + }
20385 +
20386 + /* Adjust reloc addends and DIFF32 differences */
20387 + if (!adjust_relocs(abfd, sec, info))
20388 + return FALSE;
20389 +
20390 + ret = TRUE;
20391 +
20392 + out:
20393 + release_contents(sec, contents);
20394 + release_internal_relocs(sec, relocs);
20395 + return ret;
20396 +}
20397 +
20398 +static bfd_boolean
20399 +avr32_elf_relax_section(bfd *abfd, asection *sec,
20400 + struct bfd_link_info *info, bfd_boolean *again)
20401 +{
20402 + struct elf_avr32_link_hash_table *htab;
20403 + struct avr32_relax_data *rd;
20404 +
20405 + *again = FALSE;
20406 + if (info->relocatable)
20407 + return TRUE;
20408 +
20409 + htab = avr32_elf_hash_table(info);
20410 + if ((!(sec->flags & SEC_RELOC) || sec->reloc_count == 0)
20411 + && sec != htab->sgot)
20412 + return TRUE;
20413 +
20414 + if (!htab->relocations_analyzed)
20415 + {
20416 + if (!analyze_relocations(info))
20417 + return FALSE;
20418 + htab->relocations_analyzed = TRUE;
20419 + }
20420 +
20421 + rd = avr32_relax_data(sec);
20422 +
20423 + if (rd->iteration != htab->relax_iteration)
20424 + {
20425 + if (!htab->repeat_pass)
20426 + htab->relax_pass++;
20427 + htab->relax_iteration++;
20428 + htab->repeat_pass = FALSE;
20429 + }
20430 +
20431 + rd->iteration++;
20432 +
20433 + switch (htab->relax_pass)
20434 + {
20435 + case RELAX_PASS_SIZE_FRAGS:
20436 + if (!avr32_size_frags(abfd, sec, info))
20437 + return FALSE;
20438 + *again = TRUE;
20439 + break;
20440 + case RELAX_PASS_MOVE_DATA:
20441 + if (!avr32_move_data(abfd, sec, info))
20442 + return FALSE;
20443 + break;
20444 + }
20445 +
20446 + return TRUE;
20447 +}
20448 +
20449 +\f
20450 +/* Relocation */
20451 +
20452 +static bfd_reloc_status_type
20453 +avr32_check_reloc_value(asection *sec, Elf_Internal_Rela *rela,
20454 + bfd_signed_vma relocation, reloc_howto_type *howto);
20455 +static bfd_reloc_status_type
20456 +avr32_final_link_relocate(reloc_howto_type *howto, bfd *input_bfd,
20457 + asection *input_section, bfd_byte *contents,
20458 + Elf_Internal_Rela *rel, bfd_vma value);
20459 +static bfd_boolean
20460 +avr32_elf_relocate_section(bfd *output_bfd, struct bfd_link_info *info,
20461 + bfd *input_bfd, asection *input_section,
20462 + bfd_byte *contents, Elf_Internal_Rela *relocs,
20463 + Elf_Internal_Sym *local_syms,
20464 + asection **local_sections);
20465 +
20466 +
20467 +#define symbol_address(symbol) \
20468 + symbol->value + symbol->section->output_section->vma \
20469 + + symbol->section->output_offset
20470 +
20471 +#define avr32_elf_insert_field(size, field, abfd, reloc_entry, data) \
20472 + do \
20473 + { \
20474 + unsigned long x; \
20475 + x = bfd_get_##size (abfd, data + reloc_entry->address); \
20476 + x &= ~reloc_entry->howto->dst_mask; \
20477 + x |= field & reloc_entry->howto->dst_mask; \
20478 + bfd_put_##size (abfd, (bfd_vma) x, data + reloc_entry->address); \
20479 + } \
20480 + while(0)
20481 +
20482 +static bfd_reloc_status_type
20483 +avr32_check_reloc_value(asection *sec ATTRIBUTE_UNUSED,
20484 + Elf_Internal_Rela *rela ATTRIBUTE_UNUSED,
20485 + bfd_signed_vma relocation,
20486 + reloc_howto_type *howto)
20487 +{
20488 + bfd_vma reloc_u;
20489 +
20490 + /* We take "complain_overflow_dont" to mean "don't complain on
20491 + alignment either". This way, we don't have to special-case
20492 + R_AVR32_HI16 */
20493 + if (howto->complain_on_overflow == complain_overflow_dont)
20494 + return bfd_reloc_ok;
20495 +
20496 + /* Check if the value is correctly aligned */
20497 + if (relocation & ((1 << howto->rightshift) - 1))
20498 + {
20499 + RDBG("misaligned: %s<%s+%lx>: %s: 0x%lx (align %u)\n",
20500 + sec->owner->filename, sec->name, rela->r_offset,
20501 + howto->name, relocation, howto->rightshift);
20502 + return bfd_reloc_overflow;
20503 + }
20504 +
20505 + /* Now, get rid of the unnecessary bits */
20506 + relocation >>= howto->rightshift;
20507 + reloc_u = (bfd_vma)relocation;
20508 +
20509 + switch (howto->complain_on_overflow)
20510 + {
20511 + case complain_overflow_unsigned:
20512 + case complain_overflow_bitfield:
20513 + if (reloc_u > (unsigned long)((1 << howto->bitsize) - 1))
20514 + {
20515 + RDBG("unsigned overflow: %s<%s+%lx>: %s: 0x%lx (size %u)\n",
20516 + sec->owner->filename, sec->name, rela->r_offset,
20517 + howto->name, reloc_u, howto->bitsize);
20518 + RDBG("reloc vma: 0x%lx\n",
20519 + sec->output_section->vma + sec->output_offset + rela->r_offset);
20520 +
20521 + return bfd_reloc_overflow;
20522 + }
20523 + break;
20524 + case complain_overflow_signed:
20525 + if (relocation > (1 << (howto->bitsize - 1)) - 1)
20526 + {
20527 + RDBG("signed overflow: %s<%s+%lx>: %s: 0x%lx (size %u)\n",
20528 + sec->owner->filename, sec->name, rela->r_offset,
20529 + howto->name, reloc_u, howto->bitsize);
20530 + RDBG("reloc vma: 0x%lx\n",
20531 + sec->output_section->vma + sec->output_offset + rela->r_offset);
20532 +
20533 + return bfd_reloc_overflow;
20534 + }
20535 + if (relocation < -(1 << (howto->bitsize - 1)))
20536 + {
20537 + RDBG("signed overflow: %s<%s+%lx>: %s: -0x%lx (size %u)\n",
20538 + sec->owner->filename, sec->name, rela->r_offset,
20539 + howto->name, -relocation, howto->bitsize);
20540 + RDBG("reloc vma: 0x%lx\n",
20541 + sec->output_section->vma + sec->output_offset + rela->r_offset);
20542 +
20543 + return bfd_reloc_overflow;
20544 + }
20545 + break;
20546 + default:
20547 + abort();
20548 + }
20549 +
20550 + return bfd_reloc_ok;
20551 +}
20552 +
20553 +
20554 +static bfd_reloc_status_type
20555 +avr32_final_link_relocate(reloc_howto_type *howto,
20556 + bfd *input_bfd,
20557 + asection *input_section,
20558 + bfd_byte *contents,
20559 + Elf_Internal_Rela *rel,
20560 + bfd_vma value)
20561 +{
20562 + bfd_vma field;
20563 + bfd_vma relocation;
20564 + bfd_reloc_status_type status;
20565 + bfd_byte *p = contents + rel->r_offset;
20566 + unsigned long x;
20567 +
20568 + pr_debug(" (6b) final link relocate\n");
20569 +
20570 + /* Sanity check the address */
20571 + if (rel->r_offset > input_section->size)
20572 + {
20573 + (*_bfd_error_handler)
20574 + ("%B: %A+0x%lx: offset out of range (section size: 0x%lx)",
20575 + input_bfd, input_section, rel->r_offset, input_section->size);
20576 + return bfd_reloc_outofrange;
20577 + }
20578 +
20579 + relocation = value + rel->r_addend;
20580 +
20581 + if (howto->pc_relative)
20582 + {
20583 + bfd_vma addr;
20584 +
20585 + addr = input_section->output_section->vma
20586 + + input_section->output_offset + rel->r_offset;
20587 + addr &= ~0UL << howto->rightshift;
20588 + relocation -= addr;
20589 + }
20590 +
20591 + switch (ELF32_R_TYPE(rel->r_info))
20592 + {
20593 + case R_AVR32_16N_PCREL:
20594 + /* sub reg, pc, . - (sym + addend) */
20595 + relocation = -relocation;
20596 + break;
20597 + }
20598 +
20599 + status = avr32_check_reloc_value(input_section, rel, relocation, howto);
20600 +
20601 + relocation >>= howto->rightshift;
20602 + if (howto->bitsize == 21)
20603 + field = (relocation & 0xffff)
20604 + | ((relocation & 0x10000) << 4)
20605 + | ((relocation & 0x1e0000) << 8);
20606 + else if (howto->bitsize == 12)
20607 + field = (relocation & 0xff) | ((relocation & 0xf00) << 4);
20608 + else if (howto->bitsize == 10)
20609 + field = ((relocation & 0xff) << 4)
20610 + | ((relocation & 0x300) >> 8);
20611 + else
20612 + field = relocation << howto->bitpos;
20613 +
20614 + switch (howto->size)
20615 + {
20616 + case 0:
20617 + x = bfd_get_8 (input_bfd, p);
20618 + x &= ~howto->dst_mask;
20619 + x |= field & howto->dst_mask;
20620 + bfd_put_8 (input_bfd, (bfd_vma) x, p);
20621 + break;
20622 + case 1:
20623 + x = bfd_get_16 (input_bfd, p);
20624 + x &= ~howto->dst_mask;
20625 + x |= field & howto->dst_mask;
20626 + bfd_put_16 (input_bfd, (bfd_vma) x, p);
20627 + break;
20628 + case 2:
20629 + x = bfd_get_32 (input_bfd, p);
20630 + x &= ~howto->dst_mask;
20631 + x |= field & howto->dst_mask;
20632 + bfd_put_32 (input_bfd, (bfd_vma) x, p);
20633 + break;
20634 + default:
20635 + abort();
20636 + }
20637 +
20638 + return status;
20639 +}
20640 +
20641 +/* (6) Apply relocations to the normal (non-dynamic) sections */
20642 +
20643 +static bfd_boolean
20644 +avr32_elf_relocate_section(bfd *output_bfd, struct bfd_link_info *info,
20645 + bfd *input_bfd, asection *input_section,
20646 + bfd_byte *contents, Elf_Internal_Rela *relocs,
20647 + Elf_Internal_Sym *local_syms,
20648 + asection **local_sections)
20649 +{
20650 + struct elf_avr32_link_hash_table *htab;
20651 + Elf_Internal_Shdr *symtab_hdr;
20652 + Elf_Internal_Rela *rel, *relend;
20653 + struct elf_link_hash_entry **sym_hashes;
20654 + struct got_entry **local_got_ents;
20655 + asection *sgot;
20656 + asection *srelgot;
20657 + asection *sreldyn;
20658 +
20659 + pr_debug("(6) relocate section %s:<%s> (size 0x%lx)\n",
20660 + input_bfd->filename, input_section->name, input_section->size);
20661 +
20662 + /* If we're doing a partial link, we don't have to do anything since
20663 + we're using RELA relocations */
20664 + if (info->relocatable)
20665 + return TRUE;
20666 +
20667 + htab = avr32_elf_hash_table(info);
20668 + symtab_hdr = &elf_tdata(input_bfd)->symtab_hdr;
20669 + sym_hashes = elf_sym_hashes(input_bfd);
20670 + local_got_ents = elf_local_got_ents(input_bfd);
20671 + sgot = htab->sgot;
20672 + srelgot = htab->srelgot;
20673 + sreldyn = htab->sreldyn;
20674 +
20675 + relend = relocs + input_section->reloc_count;
20676 + for (rel = relocs; rel < relend; rel++)
20677 + {
20678 + unsigned long r_type, r_symndx;
20679 + reloc_howto_type *howto;
20680 + Elf_Internal_Sym *sym = NULL;
20681 + struct elf_link_hash_entry *h = NULL;
20682 + asection *sec = NULL;
20683 + bfd_vma value;
20684 + bfd_vma offset;
20685 + bfd_reloc_status_type status;
20686 +
20687 + r_type = ELF32_R_TYPE(rel->r_info);
20688 + r_symndx = ELF32_R_SYM(rel->r_info);
20689 +
20690 + if (r_type == R_AVR32_NONE
20691 + || r_type == R_AVR32_ALIGN
20692 + || r_type == R_AVR32_DIFF32
20693 + || r_type == R_AVR32_DIFF16
20694 + || r_type == R_AVR32_DIFF8)
20695 + continue;
20696 +
20697 + /* Sanity check */
20698 + if (r_type > R_AVR32_max)
20699 + {
20700 + bfd_set_error(bfd_error_bad_value);
20701 + return FALSE;
20702 + }
20703 +
20704 + howto = &elf_avr32_howto_table[r_type];
20705 +
20706 + if (r_symndx < symtab_hdr->sh_info)
20707 + {
20708 + sym = local_syms + r_symndx;
20709 + sec = local_sections[r_symndx];
20710 +
20711 + pr_debug(" (6a) processing %s against local symbol %lu\n",
20712 + howto->name, r_symndx);
20713 +
20714 + /* The following function changes rel->r_addend behind our back. */
20715 + value = _bfd_elf_rela_local_sym(output_bfd, sym, &sec, rel);
20716 + pr_debug(" => value: %lx, addend: %lx\n", value, rel->r_addend);
20717 + }
20718 + else
20719 + {
20720 + if (sym_hashes == NULL)
20721 + return FALSE;
20722 +
20723 + h = sym_hashes[r_symndx - symtab_hdr->sh_info];
20724 + while (h->root.type == bfd_link_hash_indirect
20725 + || h->root.type == bfd_link_hash_warning)
20726 + h = (struct elf_link_hash_entry *)h->root.u.i.link;
20727 +
20728 + pr_debug(" (6a) processing %s against symbol %s\n",
20729 + howto->name, h->root.root.string);
20730 +
20731 + if (h->root.type == bfd_link_hash_defined
20732 + || h->root.type == bfd_link_hash_defweak)
20733 + {
20734 + bfd_boolean dyn;
20735 +
20736 + dyn = htab->root.dynamic_sections_created;
20737 + sec = h->root.u.def.section;
20738 +
20739 + if (sec->output_section)
20740 + value = (h->root.u.def.value
20741 + + sec->output_section->vma
20742 + + sec->output_offset);
20743 + else
20744 + value = h->root.u.def.value;
20745 + }
20746 + else if (h->root.type == bfd_link_hash_undefweak)
20747 + value = 0;
20748 + else if (info->unresolved_syms_in_objects == RM_IGNORE
20749 + && ELF_ST_VISIBILITY(h->other) == STV_DEFAULT)
20750 + value = 0;
20751 + else
20752 + {
20753 + bfd_boolean err;
20754 + err = (info->unresolved_syms_in_objects == RM_GENERATE_ERROR
20755 + || ELF_ST_VISIBILITY(h->other) != STV_DEFAULT);
20756 + if (!info->callbacks->undefined_symbol
20757 + (info, h->root.root.string, input_bfd,
20758 + input_section, rel->r_offset, err))
20759 + return FALSE;
20760 + value = 0;
20761 + }
20762 +
20763 + pr_debug(" => value: %lx, addend: %lx\n", value, rel->r_addend);
20764 + }
20765 +
20766 + switch (r_type)
20767 + {
20768 + case R_AVR32_GOT32:
20769 + case R_AVR32_GOT16:
20770 + case R_AVR32_GOT8:
20771 + case R_AVR32_GOT21S:
20772 + case R_AVR32_GOT18SW:
20773 + case R_AVR32_GOT16S:
20774 + case R_AVR32_GOT7UW:
20775 + case R_AVR32_LDA_GOT:
20776 + case R_AVR32_GOTCALL:
20777 + BFD_ASSERT(sgot != NULL);
20778 +
20779 + if (h != NULL)
20780 + {
20781 + BFD_ASSERT(h->got.glist->refcount > 0);
20782 + offset = h->got.glist->offset;
20783 +
20784 + BFD_ASSERT(offset < sgot->size);
20785 + if (!elf_hash_table(info)->dynamic_sections_created
20786 + || (h->def_regular
20787 + && (!info->shared
20788 + || info->symbolic
20789 + || h->dynindx == -1)))
20790 + {
20791 + /* This is actually a static link, or it is a
20792 + -Bsymbolic link and the symbol is defined
20793 + locally, or the symbol was forced to be local. */
20794 + bfd_put_32(output_bfd, value, sgot->contents + offset);
20795 + }
20796 + }
20797 + else
20798 + {
20799 + BFD_ASSERT(local_got_ents &&
20800 + local_got_ents[r_symndx]->refcount > 0);
20801 + offset = local_got_ents[r_symndx]->offset;
20802 +
20803 + /* Local GOT entries don't have relocs. If this is a
20804 + shared library, the dynamic linker will add the load
20805 + address to the initial value at startup. */
20806 + BFD_ASSERT(offset < sgot->size);
20807 + pr_debug("Initializing GOT entry at offset %lu: 0x%lx\n",
20808 + offset, value);
20809 + bfd_put_32 (output_bfd, value, sgot->contents + offset);
20810 + }
20811 +
20812 + value = sgot->output_offset + offset;
20813 + pr_debug("GOT reference: New value %lx\n", value);
20814 + break;
20815 +
20816 + case R_AVR32_GOTPC:
20817 + /* This relocation type is for constant pool entries used in
20818 + the calculation "Rd = PC - (PC - GOT)", where the
20819 + constant pool supplies the constant (PC - GOT)
20820 + offset. The symbol value + addend indicates where the
20821 + value of PC is taken. */
20822 + value -= sgot->output_section->vma;
20823 + break;
20824 +
20825 + case R_AVR32_32_PCREL:
20826 + /* We must adjust r_offset to account for discarded data in
20827 + the .eh_frame section. This is probably not the right
20828 + way to do this, since AFAICS all other architectures do
20829 + it some other way. I just can't figure out how... */
20830 + {
20831 + bfd_vma r_offset;
20832 +
20833 + r_offset = _bfd_elf_section_offset(output_bfd, info,
20834 + input_section,
20835 + rel->r_offset);
20836 + if (r_offset == (bfd_vma)-1
20837 + || r_offset == (bfd_vma)-2)
20838 + continue;
20839 + rel->r_offset = r_offset;
20840 + }
20841 + break;
20842 +
20843 + case R_AVR32_32:
20844 + /* We need to emit a run-time relocation in the following cases:
20845 + - we're creating a shared library
20846 + - the symbol is not defined in any regular objects
20847 +
20848 + Of course, sections that aren't going to be part of the
20849 + run-time image will not get any relocs, and undefined
20850 + symbols won't have any either (only weak undefined
20851 + symbols should get this far). */
20852 + if ((info->shared
20853 + || (elf_hash_table(info)->dynamic_sections_created
20854 + && h != NULL
20855 + && h->def_dynamic
20856 + && !h->def_regular))
20857 + && r_symndx != 0
20858 + && (input_section->flags & SEC_ALLOC))
20859 + {
20860 + Elf_Internal_Rela outrel;
20861 + bfd_byte *loc;
20862 + bfd_boolean skip, relocate;
20863 + struct elf_avr32_link_hash_entry *avrh;
20864 +
20865 + pr_debug("Going to generate dynamic reloc...\n");
20866 +
20867 + skip = FALSE;
20868 + relocate = FALSE;
20869 +
20870 + outrel.r_offset = _bfd_elf_section_offset(output_bfd, info,
20871 + input_section,
20872 + rel->r_offset);
20873 + if (outrel.r_offset == (bfd_vma)-1)
20874 + skip = TRUE;
20875 + else if (outrel.r_offset == (bfd_vma)-2)
20876 + skip = TRUE, relocate = TRUE;
20877 +
20878 + outrel.r_offset += (input_section->output_section->vma
20879 + + input_section->output_offset);
20880 +
20881 + pr_debug(" ... offset %lx, dynindx %ld\n",
20882 + outrel.r_offset, h ? h->dynindx : -1);
20883 +
20884 + if (skip)
20885 + memset(&outrel, 0, sizeof(outrel));
20886 + else
20887 + {
20888 + avrh = (struct elf_avr32_link_hash_entry *)h;
20889 + /* h->dynindx may be -1 if this symbol was marked to
20890 + become local. */
20891 + if (h == NULL
20892 + || ((info->symbolic || h->dynindx == -1)
20893 + && h->def_regular))
20894 + {
20895 + relocate = TRUE;
20896 + outrel.r_info = ELF32_R_INFO(0, R_AVR32_RELATIVE);
20897 + outrel.r_addend = value + rel->r_addend;
20898 + pr_debug(" ... R_AVR32_RELATIVE\n");
20899 + }
20900 + else
20901 + {
20902 + BFD_ASSERT(h->dynindx != -1);
20903 + relocate = TRUE;
20904 + outrel.r_info = ELF32_R_INFO(h->dynindx, R_AVR32_GLOB_DAT);
20905 + outrel.r_addend = rel->r_addend;
20906 + pr_debug(" ... R_AVR32_GLOB_DAT\n");
20907 + }
20908 + }
20909 +
20910 + pr_debug("sreldyn reloc_count: %d, size %lu\n",
20911 + sreldyn->reloc_count, sreldyn->size);
20912 +
20913 + loc = sreldyn->contents;
20914 + loc += sreldyn->reloc_count++ * sizeof(Elf32_External_Rela);
20915 + bfd_elf32_swap_reloca_out(output_bfd, &outrel, loc);
20916 +
20917 + BFD_ASSERT(sreldyn->reloc_count * sizeof(Elf32_External_Rela)
20918 + <= sreldyn->size);
20919 +
20920 + if (!relocate)
20921 + continue;
20922 + }
20923 + break;
20924 + }
20925 +
20926 + status = avr32_final_link_relocate(howto, input_bfd, input_section,
20927 + contents, rel, value);
20928 +
20929 + switch (status)
20930 + {
20931 + case bfd_reloc_ok:
20932 + break;
20933 +
20934 + case bfd_reloc_overflow:
20935 + {
20936 + const char *name;
20937 +
20938 + if (h != NULL)
20939 + name = h->root.root.string;
20940 + else
20941 + {
20942 + name = bfd_elf_string_from_elf_section(input_bfd,
20943 + symtab_hdr->sh_link,
20944 + sym->st_name);
20945 + if (name == NULL)
20946 + return FALSE;
20947 + if (*name == '\0')
20948 + name = bfd_section_name(input_bfd, sec);
20949 + }
20950 + if (!((*info->callbacks->reloc_overflow)
20951 + (info, (h ? &h->root : NULL), name, howto->name,
20952 + rel->r_addend, input_bfd, input_section, rel->r_offset)))
20953 + return FALSE;
20954 + }
20955 + break;
20956 +
20957 + case bfd_reloc_outofrange:
20958 + default:
20959 + abort();
20960 + }
20961 + }
20962 +
20963 + return TRUE;
20964 +}
20965 +
20966 +\f
20967 +/* Additional processing of dynamic sections after relocation */
20968 +
20969 +static bfd_boolean
20970 +avr32_elf_finish_dynamic_symbol(bfd *output_bfd, struct bfd_link_info *info,
20971 + struct elf_link_hash_entry *h,
20972 + Elf_Internal_Sym *sym);
20973 +static bfd_boolean
20974 +avr32_elf_finish_dynamic_sections(bfd *output_bfd, struct bfd_link_info *info);
20975 +
20976 +
20977 +/* (7) Initialize the contents of a dynamic symbol and/or emit
20978 + relocations for it */
20979 +
20980 +static bfd_boolean
20981 +avr32_elf_finish_dynamic_symbol(bfd *output_bfd, struct bfd_link_info *info,
20982 + struct elf_link_hash_entry *h,
20983 + Elf_Internal_Sym *sym)
20984 +{
20985 + struct elf_avr32_link_hash_table *htab;
20986 + struct got_entry *got;
20987 +
20988 + pr_debug("(7) finish dynamic symbol: %s\n", h->root.root.string);
20989 +
20990 + htab = avr32_elf_hash_table(info);
20991 + got = h->got.glist;
20992 +
20993 + if (got && got->refcount > 0)
20994 + {
20995 + asection *sgot;
20996 + asection *srelgot;
20997 + Elf_Internal_Rela rel;
20998 + bfd_byte *loc;
20999 +
21000 + /* This symbol has an entry in the GOT. Set it up. */
21001 + sgot = htab->sgot;
21002 + srelgot = htab->srelgot;
21003 + BFD_ASSERT(sgot && srelgot);
21004 +
21005 + rel.r_offset = (sgot->output_section->vma
21006 + + sgot->output_offset
21007 + + got->offset);
21008 +
21009 + /* If this is a static link, or it is a -Bsymbolic link and the
21010 + symbol is defined locally or was forced to be local because
21011 + of a version file, we just want to emit a RELATIVE reloc. The
21012 + entry in the global offset table will already have been
21013 + initialized in the relocate_section function. */
21014 + if ((info->shared
21015 + && !info->symbolic
21016 + && h->dynindx != -1)
21017 + || (htab->root.dynamic_sections_created
21018 + && h->def_dynamic
21019 + && !h->def_regular))
21020 + {
21021 + bfd_put_32(output_bfd, 0, sgot->contents + got->offset);
21022 + rel.r_info = ELF32_R_INFO(h->dynindx, R_AVR32_GLOB_DAT);
21023 + rel.r_addend = 0;
21024 +
21025 + pr_debug("GOT reloc R_AVR32_GLOB_DAT, dynindx: %ld\n", h->dynindx);
21026 + pr_debug(" srelgot reloc_count: %d, size: %lu\n",
21027 + srelgot->reloc_count, srelgot->size);
21028 +
21029 + loc = (srelgot->contents
21030 + + srelgot->reloc_count++ * sizeof(Elf32_External_Rela));
21031 + bfd_elf32_swap_reloca_out(output_bfd, &rel, loc);
21032 +
21033 + BFD_ASSERT(srelgot->reloc_count * sizeof(Elf32_External_Rela)
21034 + <= srelgot->size);
21035 + }
21036 + }
21037 +
21038 + /* Mark _DYNAMIC and _GLOBAL_OFFSET_TABLE_ as absolute */
21039 + if (strcmp(h->root.root.string, "_DYNAMIC") == 0
21040 + || strcmp(h->root.root.string, "_GLOBAL_OFFSET_TABLE_") == 0)
21041 + sym->st_shndx = SHN_ABS;
21042 +
21043 + return TRUE;
21044 +}
21045 +
21046 +/* (8) Do any remaining initialization of the dynamic sections */
21047 +
21048 +static bfd_boolean
21049 +avr32_elf_finish_dynamic_sections(bfd *output_bfd, struct bfd_link_info *info)
21050 +{
21051 + struct elf_avr32_link_hash_table *htab;
21052 + asection *sgot, *sdyn;
21053 +
21054 + pr_debug("(8) finish dynamic sections\n");
21055 +
21056 + htab = avr32_elf_hash_table(info);
21057 + sgot = htab->sgot;
21058 + sdyn = bfd_get_section_by_name(htab->root.dynobj, ".dynamic");
21059 +
21060 + if (htab->root.dynamic_sections_created)
21061 + {
21062 + Elf32_External_Dyn *dyncon, *dynconend;
21063 +
21064 + BFD_ASSERT(sdyn && sgot && sgot->size >= AVR32_GOT_HEADER_SIZE);
21065 +
21066 + dyncon = (Elf32_External_Dyn *)sdyn->contents;
21067 + dynconend = (Elf32_External_Dyn *)(sdyn->contents + sdyn->size);
21068 + for (; dyncon < dynconend; dyncon++)
21069 + {
21070 + Elf_Internal_Dyn dyn;
21071 + asection *s;
21072 +
21073 + bfd_elf32_swap_dyn_in(htab->root.dynobj, dyncon, &dyn);
21074 +
21075 + switch (dyn.d_tag)
21076 + {
21077 + default:
21078 + break;
21079 +
21080 + case DT_PLTGOT:
21081 + s = sgot->output_section;
21082 + BFD_ASSERT(s != NULL);
21083 + dyn.d_un.d_ptr = s->vma;
21084 + bfd_elf32_swap_dyn_out(output_bfd, &dyn, dyncon);
21085 + break;
21086 +
21087 + case DT_AVR32_GOTSZ:
21088 + s = sgot->output_section;
21089 + BFD_ASSERT(s != NULL);
21090 + dyn.d_un.d_val = s->size;
21091 + bfd_elf32_swap_dyn_out(output_bfd, &dyn, dyncon);
21092 + break;
21093 + }
21094 + }
21095 +
21096 + /* Fill in the first two entries in the global offset table */
21097 + bfd_put_32(output_bfd,
21098 + sdyn->output_section->vma + sdyn->output_offset,
21099 + sgot->contents);
21100 +
21101 + /* The runtime linker will fill this one in with the address of
21102 + the run-time link map */
21103 + bfd_put_32(output_bfd, 0, sgot->contents + 4);
21104 + }
21105 +
21106 + if (sgot)
21107 + elf_section_data(sgot->output_section)->this_hdr.sh_entsize = 4;
21108 +
21109 + return TRUE;
21110 +}
21111 +
21112 +\f
21113 +/* AVR32-specific private ELF data */
21114 +
21115 +static bfd_boolean
21116 +avr32_elf_set_private_flags(bfd *abfd, flagword flags);
21117 +static bfd_boolean
21118 +avr32_elf_copy_private_bfd_data(bfd *ibfd, bfd *obfd);
21119 +static bfd_boolean
21120 +avr32_elf_merge_private_bfd_data(bfd *ibfd, bfd *obfd);
21121 +static bfd_boolean
21122 +avr32_elf_print_private_bfd_data(bfd *abfd, void *ptr);
21123 +
21124 +static bfd_boolean
21125 +avr32_elf_set_private_flags(bfd *abfd, flagword flags)
21126 +{
21127 + elf_elfheader(abfd)->e_flags = flags;
21128 + elf_flags_init(abfd) = TRUE;
21129 +
21130 + return TRUE;
21131 +}
21132 +
21133 +/* Copy backend specific data from one object module to another. */
21134 +
21135 +static bfd_boolean
21136 +avr32_elf_copy_private_bfd_data(bfd *ibfd, bfd *obfd)
21137 +{
21138 + elf_elfheader(obfd)->e_flags = elf_elfheader(ibfd)->e_flags;
21139 + return TRUE;
21140 +}
21141 +
21142 +/* Merge backend specific data from an object file to the output
21143 + object file when linking. */
21144 +
21145 +static bfd_boolean
21146 +avr32_elf_merge_private_bfd_data(bfd *ibfd, bfd *obfd)
21147 +{
21148 + flagword out_flags, in_flags;
21149 +
21150 + pr_debug("(0) merge_private_bfd_data: %s -> %s\n",
21151 + ibfd->filename, obfd->filename);
21152 +
21153 + in_flags = elf_elfheader(ibfd)->e_flags;
21154 + out_flags = elf_elfheader(obfd)->e_flags;
21155 +
21156 + if (elf_flags_init(obfd))
21157 + {
21158 + /* If one of the inputs are non-PIC, the output must be
21159 + considered non-PIC. The same applies to linkrelax. */
21160 + if (!(in_flags & EF_AVR32_PIC))
21161 + out_flags &= ~EF_AVR32_PIC;
21162 + if (!(in_flags & EF_AVR32_LINKRELAX))
21163 + out_flags &= ~EF_AVR32_LINKRELAX;
21164 + }
21165 + else
21166 + {
21167 + elf_flags_init(obfd) = TRUE;
21168 + out_flags = in_flags;
21169 + }
21170 +
21171 + elf_elfheader(obfd)->e_flags = out_flags;
21172 +
21173 + return TRUE;
21174 +}
21175 +
21176 +static bfd_boolean
21177 +avr32_elf_print_private_bfd_data(bfd *abfd, void *ptr)
21178 +{
21179 + FILE *file = (FILE *)ptr;
21180 + unsigned long flags;
21181 +
21182 + BFD_ASSERT(abfd != NULL && ptr != NULL);
21183 +
21184 + _bfd_elf_print_private_bfd_data(abfd, ptr);
21185 +
21186 + flags = elf_elfheader(abfd)->e_flags;
21187 +
21188 + fprintf(file, _("private flags = %lx:"), elf_elfheader(abfd)->e_flags);
21189 +
21190 + if (flags & EF_AVR32_PIC)
21191 + fprintf(file, " [PIC]");
21192 + if (flags & EF_AVR32_LINKRELAX)
21193 + fprintf(file, " [linker relaxable]");
21194 +
21195 + flags &= ~(EF_AVR32_PIC | EF_AVR32_LINKRELAX);
21196 +
21197 + if (flags)
21198 + fprintf(file, _("<Unrecognized flag bits set>"));
21199 +
21200 + fputc('\n', file);
21201 +
21202 + return TRUE;
21203 +}
21204 +
21205 +\f
21206 +/* Understanding core dumps */
21207 +
21208 +static bfd_boolean
21209 +avr32_elf_grok_prstatus(bfd *abfd, Elf_Internal_Note *note);
21210 +static bfd_boolean
21211 +avr32_elf_grok_psinfo(bfd *abfd, Elf_Internal_Note *note);
21212 +
21213 +static bfd_boolean
21214 +avr32_elf_grok_prstatus(bfd *abfd, Elf_Internal_Note *note)
21215 +{
21216 + /* Linux/AVR32B elf_prstatus */
21217 + if (note->descsz != 148)
21218 + return FALSE;
21219 +
21220 + /* pr_cursig */
21221 + elf_tdata(abfd)->core_signal = bfd_get_16(abfd, note->descdata + 12);
21222 +
21223 + /* pr_pid */
21224 + elf_tdata(abfd)->core_pid = bfd_get_32(abfd, note->descdata + 24);
21225 +
21226 + /* Make a ".reg/999" section for pr_reg. The size is for 16
21227 + general-purpose registers, SR and r12_orig (18 * 4 = 72). */
21228 + return _bfd_elfcore_make_pseudosection(abfd, ".reg", 72,
21229 + note->descpos + 72);
21230 +}
21231 +
21232 +static bfd_boolean
21233 +avr32_elf_grok_psinfo(bfd *abfd, Elf_Internal_Note *note)
21234 +{
21235 + /* Linux/AVR32B elf_prpsinfo */
21236 + if (note->descsz != 128)
21237 + return FALSE;
21238 +
21239 + elf_tdata(abfd)->core_program
21240 + = _bfd_elfcore_strndup(abfd, note->descdata + 32, 16);
21241 + elf_tdata(abfd)->core_command
21242 + = _bfd_elfcore_strndup(abfd, note->descdata + 48, 80);
21243 +
21244 + /* Note that for some reason, a spurious space is tacked
21245 + onto the end of the args in some (at least one anyway)
21246 + implementations, so strip it off if it exists. */
21247 +
21248 + {
21249 + char *command = elf_tdata (abfd)->core_command;
21250 + int n = strlen (command);
21251 +
21252 + if (0 < n && command[n - 1] == ' ')
21253 + command[n - 1] = '\0';
21254 + }
21255 +
21256 + return TRUE;
21257 +}
21258 +
21259 +\f
21260 +#define ELF_ARCH bfd_arch_avr32
21261 +#define ELF_MACHINE_CODE EM_AVR32
21262 +#define ELF_MAXPAGESIZE 0x1000
21263 +
21264 +#define TARGET_BIG_SYM bfd_elf32_avr32_vec
21265 +#define TARGET_BIG_NAME "elf32-avr32"
21266 +
21267 +#define elf_backend_grok_prstatus avr32_elf_grok_prstatus
21268 +#define elf_backend_grok_psinfo avr32_elf_grok_psinfo
21269 +
21270 +/* Only RELA relocations are used */
21271 +#define elf_backend_may_use_rel_p 0
21272 +#define elf_backend_may_use_rela_p 1
21273 +#define elf_backend_default_use_rela_p 1
21274 +#define elf_backend_rela_normal 1
21275 +#define elf_info_to_howto_rel NULL
21276 +#define elf_info_to_howto avr32_info_to_howto
21277 +
21278 +#define bfd_elf32_bfd_copy_private_bfd_data avr32_elf_copy_private_bfd_data
21279 +#define bfd_elf32_bfd_merge_private_bfd_data avr32_elf_merge_private_bfd_data
21280 +#define bfd_elf32_bfd_set_private_flags avr32_elf_set_private_flags
21281 +#define bfd_elf32_bfd_print_private_bfd_data avr32_elf_print_private_bfd_data
21282 +#define bfd_elf32_new_section_hook avr32_elf_new_section_hook
21283 +
21284 +#define elf_backend_gc_mark_hook avr32_elf_gc_mark_hook
21285 +#define elf_backend_gc_sweep_hook avr32_elf_gc_sweep_hook
21286 +#define elf_backend_relocate_section avr32_elf_relocate_section
21287 +#define elf_backend_copy_indirect_symbol avr32_elf_copy_indirect_symbol
21288 +#define elf_backend_create_dynamic_sections avr32_elf_create_dynamic_sections
21289 +#define bfd_elf32_bfd_link_hash_table_create avr32_elf_link_hash_table_create
21290 +#define elf_backend_adjust_dynamic_symbol avr32_elf_adjust_dynamic_symbol
21291 +#define elf_backend_size_dynamic_sections avr32_elf_size_dynamic_sections
21292 +#define elf_backend_finish_dynamic_symbol avr32_elf_finish_dynamic_symbol
21293 +#define elf_backend_finish_dynamic_sections avr32_elf_finish_dynamic_sections
21294 +
21295 +#define bfd_elf32_bfd_relax_section avr32_elf_relax_section
21296 +
21297 +/* Find out which symbols need an entry in .got. */
21298 +#define elf_backend_check_relocs avr32_check_relocs
21299 +#define elf_backend_can_refcount 1
21300 +#define elf_backend_can_gc_sections 1
21301 +#define elf_backend_plt_readonly 1
21302 +#define elf_backend_plt_not_loaded 1
21303 +#define elf_backend_want_plt_sym 0
21304 +#define elf_backend_plt_alignment 2
21305 +#define elf_backend_want_dynbss 0
21306 +#define elf_backend_want_got_plt 0
21307 +#define elf_backend_want_got_sym 1
21308 +#define elf_backend_got_header_size AVR32_GOT_HEADER_SIZE
21309 +
21310 +#include "elf32-target.h"
21311 diff -Nrup binutils-2.17/bfd/elf-bfd.h binutils-2.17-atmel/bfd/elf-bfd.h
21312 --- binutils-2.17/bfd/elf-bfd.h 2006-03-16 13:20:15.000000000 +0100
21313 +++ binutils-2.17-atmel/bfd/elf-bfd.h 2007-02-12 15:37:09.000000000 +0100
21314 @@ -1307,6 +1307,10 @@ struct elf_obj_tdata
21315 find_nearest_line. */
21316 struct mips_elf_find_line *find_line_info;
21317
21318 + /* Used by AVR32 ELF relaxation code. Contains an array of pointers
21319 + for each local symbol to the fragment where it is defined. */
21320 + struct fragment **local_sym_frag;
21321 +
21322 /* A place to stash dwarf1 info for this bfd. */
21323 struct dwarf1_debug *dwarf1_find_line_info;
21324
21325 diff -Nrup binutils-2.17/bfd/libbfd.h binutils-2.17-atmel/bfd/libbfd.h
21326 --- binutils-2.17/bfd/libbfd.h 2006-03-26 01:38:42.000000000 +0100
21327 +++ binutils-2.17-atmel/bfd/libbfd.h 2007-02-20 16:08:43.000000000 +0100
21328 @@ -1518,6 +1518,47 @@ static const char *const bfd_reloc_code_
21329 "BFD_RELOC_AVR_LDI",
21330 "BFD_RELOC_AVR_6",
21331 "BFD_RELOC_AVR_6_ADIW",
21332 + "BFD_RELOC_AVR32_DIFF32",
21333 + "BFD_RELOC_AVR32_DIFF16",
21334 + "BFD_RELOC_AVR32_DIFF8",
21335 + "BFD_RELOC_AVR32_GOT32",
21336 + "BFD_RELOC_AVR32_GOT16",
21337 + "BFD_RELOC_AVR32_GOT8",
21338 + "BFD_RELOC_AVR32_21S",
21339 + "BFD_RELOC_AVR32_16U",
21340 + "BFD_RELOC_AVR32_16S",
21341 + "BFD_RELOC_AVR32_SUB5",
21342 + "BFD_RELOC_AVR32_8S_EXT",
21343 + "BFD_RELOC_AVR32_8S",
21344 + "BFD_RELOC_AVR32_22H_PCREL",
21345 + "BFD_RELOC_AVR32_18W_PCREL",
21346 + "BFD_RELOC_AVR32_16B_PCREL",
21347 + "BFD_RELOC_AVR32_16N_PCREL",
21348 + "BFD_RELOC_AVR32_14UW_PCREL",
21349 + "BFD_RELOC_AVR32_11H_PCREL",
21350 + "BFD_RELOC_AVR32_10UW_PCREL",
21351 + "BFD_RELOC_AVR32_9H_PCREL",
21352 + "BFD_RELOC_AVR32_9UW_PCREL",
21353 + "BFD_RELOC_AVR32_GOTPC",
21354 + "BFD_RELOC_AVR32_GOTCALL",
21355 + "BFD_RELOC_AVR32_LDA_GOT",
21356 + "BFD_RELOC_AVR32_GOT21S",
21357 + "BFD_RELOC_AVR32_GOT18SW",
21358 + "BFD_RELOC_AVR32_GOT16S",
21359 + "BFD_RELOC_AVR32_32_CPENT",
21360 + "BFD_RELOC_AVR32_CPCALL",
21361 + "BFD_RELOC_AVR32_16_CP",
21362 + "BFD_RELOC_AVR32_9W_CP",
21363 + "BFD_RELOC_AVR32_ALIGN",
21364 + "BFD_RELOC_AVR32_14UW",
21365 + "BFD_RELOC_AVR32_10UW",
21366 + "BFD_RELOC_AVR32_10SW",
21367 + "BFD_RELOC_AVR32_STHH_W",
21368 + "BFD_RELOC_AVR32_7UW",
21369 + "BFD_RELOC_AVR32_6S",
21370 + "BFD_RELOC_AVR32_6UW",
21371 + "BFD_RELOC_AVR32_4UH",
21372 + "BFD_RELOC_AVR32_3U",
21373 "BFD_RELOC_390_12",
21374 "BFD_RELOC_390_GOT12",
21375 "BFD_RELOC_390_PLT32",
21376 diff -Nrup binutils-2.17/bfd/Makefile.am binutils-2.17-atmel/bfd/Makefile.am
21377 --- binutils-2.17/bfd/Makefile.am 2006-06-23 20:17:17.000000000 +0200
21378 +++ binutils-2.17-atmel/bfd/Makefile.am 2007-02-12 15:37:09.000000000 +0100
21379 @@ -3,7 +3,7 @@
21380 AUTOMAKE_OPTIONS = 1.9 cygnus
21381
21382 # Uncomment the following line when doing a release.
21383 -RELEASE=y
21384 +# RELEASE=y
21385
21386 INCDIR = $(srcdir)/../include
21387 CSEARCH = -I. -I$(srcdir) -I$(INCDIR)
21388 @@ -62,6 +62,7 @@ ALL_MACHINES = \
21389 cpu-arc.lo \
21390 cpu-arm.lo \
21391 cpu-avr.lo \
21392 + cpu-avr32.lo \
21393 cpu-bfin.lo \
21394 cpu-cr16c.lo \
21395 cpu-cris.lo \
21396 @@ -234,6 +235,7 @@ BFD32_BACKENDS = \
21397 elf32-arc.lo \
21398 elf32-arm.lo \
21399 elf32-avr.lo \
21400 + elf32-avr32.lo \
21401 elf32-bfin.lo \
21402 elf32-cr16c.lo \
21403 elf32-cris.lo \
21404 @@ -1265,6 +1267,10 @@ elf32-bfin.lo: elf32-bfin.c $(INCDIR)/fi
21405 elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
21406 $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h $(INCDIR)/elf/bfin.h \
21407 $(INCDIR)/elf/reloc-macros.h elf32-target.h
21408 +elf32-avr32.lo: elf32-avr32.c $(INCDIR)/filenames.h elf-bfd.h \
21409 + $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
21410 + $(INCDIR)/bfdlink.h $(INCDIR)/elf/avr32.h $(INCDIR)/elf/reloc-macros.h \
21411 + elf32-target.h
21412 elf32-cr16c.lo: elf32-cr16c.c $(INCDIR)/filenames.h \
21413 $(INCDIR)/hashtab.h $(INCDIR)/bfdlink.h $(INCDIR)/elf/cr16c.h \
21414 $(INCDIR)/elf/reloc-macros.h elf-bfd.h $(INCDIR)/elf/common.h \
21415 diff -Nrup binutils-2.17/bfd/Makefile.in binutils-2.17-atmel/bfd/Makefile.in
21416 --- binutils-2.17/bfd/Makefile.in 2006-06-23 20:17:19.000000000 +0200
21417 +++ binutils-2.17-atmel/bfd/Makefile.in 2007-02-20 16:07:07.000000000 +0100
21418 @@ -1,4 +1,4 @@
21419 -# Makefile.in generated by automake 1.9.5 from Makefile.am.
21420 +# Makefile.in generated by automake 1.9.6 from Makefile.am.
21421 # @configure_input@
21422
21423 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
21424 @@ -15,8 +15,6 @@
21425 @SET_MAKE@
21426
21427
21428 -SOURCES = $(libbfd_a_SOURCES) $(libbfd_la_SOURCES)
21429 -
21430 srcdir = @srcdir@
21431 top_srcdir = @top_srcdir@
21432 VPATH = @srcdir@
21433 @@ -141,6 +139,7 @@ EXEEXT = @EXEEXT@
21434 EXEEXT_FOR_BUILD = @EXEEXT_FOR_BUILD@
21435 GMOFILES = @GMOFILES@
21436 GMSGFMT = @GMSGFMT@
21437 +GREP = @GREP@
21438 GT_NO = @GT_NO@
21439 GT_YES = @GT_YES@
21440 HDEFINES = @HDEFINES@
21441 @@ -190,10 +189,7 @@ WARN_CFLAGS = @WARN_CFLAGS@
21442 WIN32LDFLAGS = @WIN32LDFLAGS@
21443 WIN32LIBADD = @WIN32LIBADD@
21444 XGETTEXT = @XGETTEXT@
21445 -ac_ct_AR = @ac_ct_AR@
21446 ac_ct_CC = @ac_ct_CC@
21447 -ac_ct_RANLIB = @ac_ct_RANLIB@
21448 -ac_ct_STRIP = @ac_ct_STRIP@
21449 all_backends = @all_backends@
21450 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
21451 am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
21452 @@ -219,6 +215,7 @@ build_vendor = @build_vendor@
21453 datadir = @datadir@
21454 datarootdir = @datarootdir@
21455 docdir = @docdir@
21456 +dvidir = @dvidir@
21457 exec_prefix = @exec_prefix@
21458 host = @host@
21459 host_alias = @host_alias@
21460 @@ -233,12 +230,15 @@ install_sh = @install_sh@
21461 l = @l@
21462 libdir = @libdir@
21463 libexecdir = @libexecdir@
21464 +localedir = @localedir@
21465 localstatedir = @localstatedir@
21466 mandir = @mandir@
21467 mkdir_p = @mkdir_p@
21468 oldincludedir = @oldincludedir@
21469 +pdfdir = @pdfdir@
21470 prefix = @prefix@
21471 program_transform_name = @program_transform_name@
21472 +psdir = @psdir@
21473 sbindir = @sbindir@
21474 sharedstatedir = @sharedstatedir@
21475 sysconfdir = @sysconfdir@
21476 @@ -253,7 +253,7 @@ wordsize = @wordsize@
21477 AUTOMAKE_OPTIONS = 1.9 cygnus
21478
21479 # Uncomment the following line when doing a release.
21480 -RELEASE=y
21481 +# RELEASE=y
21482 INCDIR = $(srcdir)/../include
21483 CSEARCH = -I. -I$(srcdir) -I$(INCDIR)
21484 MKDEP = gcc -MM
21485 @@ -298,6 +298,7 @@ ALL_MACHINES = \
21486 cpu-arc.lo \
21487 cpu-arm.lo \
21488 cpu-avr.lo \
21489 + cpu-avr32.lo \
21490 cpu-bfin.lo \
21491 cpu-cr16c.lo \
21492 cpu-cris.lo \
21493 @@ -471,6 +472,7 @@ BFD32_BACKENDS = \
21494 elf32-arc.lo \
21495 elf32-arm.lo \
21496 elf32-avr.lo \
21497 + elf32-avr32.lo \
21498 elf32-bfin.lo \
21499 elf32-cr16c.lo \
21500 elf32-cris.lo \
21501 @@ -1831,6 +1833,10 @@ elf32-bfin.lo: elf32-bfin.c $(INCDIR)/fi
21502 elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
21503 $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h $(INCDIR)/elf/bfin.h \
21504 $(INCDIR)/elf/reloc-macros.h elf32-target.h
21505 +elf32-avr32.lo: elf32-avr32.c $(INCDIR)/filenames.h elf-bfd.h \
21506 + $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
21507 + $(INCDIR)/bfdlink.h $(INCDIR)/elf/avr32.h $(INCDIR)/elf/reloc-macros.h \
21508 + elf32-target.h
21509 elf32-cr16c.lo: elf32-cr16c.c $(INCDIR)/filenames.h \
21510 $(INCDIR)/hashtab.h $(INCDIR)/bfdlink.h $(INCDIR)/elf/cr16c.h \
21511 $(INCDIR)/elf/reloc-macros.h elf-bfd.h $(INCDIR)/elf/common.h \
21512 diff -Nrup binutils-2.17/bfd/reloc.c binutils-2.17-atmel/bfd/reloc.c
21513 --- binutils-2.17/bfd/reloc.c 2006-03-26 01:38:42.000000000 +0100
21514 +++ binutils-2.17-atmel/bfd/reloc.c 2007-02-12 15:37:09.000000000 +0100
21515 @@ -3714,6 +3714,129 @@ ENUMDOC
21516 instructions
21517
21518 ENUM
21519 + BFD_RELOC_AVR32_DIFF32
21520 +ENUMX
21521 + BFD_RELOC_AVR32_DIFF16
21522 +ENUMX
21523 + BFD_RELOC_AVR32_DIFF8
21524 +ENUMDOC
21525 + Difference between two labels: L2 - L1. The value of L1 is encoded
21526 + as sym + addend, while the initial difference after assembly is
21527 + inserted into the object file by the assembler.
21528 +ENUM
21529 + BFD_RELOC_AVR32_GOT32
21530 +ENUMX
21531 + BFD_RELOC_AVR32_GOT16
21532 +ENUMX
21533 + BFD_RELOC_AVR32_GOT8
21534 +ENUMDOC
21535 + Reference to a symbol through the Global Offset Table. The linker
21536 + will allocate an entry for symbol in the GOT and insert the offset
21537 + of this entry as the relocation value.
21538 +ENUM
21539 + BFD_RELOC_AVR32_21S
21540 +ENUMX
21541 + BFD_RELOC_AVR32_16U
21542 +ENUMX
21543 + BFD_RELOC_AVR32_16S
21544 +ENUMX
21545 + BFD_RELOC_AVR32_SUB5
21546 +ENUMX
21547 + BFD_RELOC_AVR32_8S_EXT
21548 +ENUMX
21549 + BFD_RELOC_AVR32_8S
21550 +ENUMDOC
21551 + Normal (non-pc-relative) code relocations. Alignment and signedness
21552 + is indicated by the suffixes. S means signed, U means unsigned. W
21553 + means word-aligned, H means halfword-aligned, neither means
21554 + byte-aligned (no alignment.) SUB5 is the same relocation as 16S.
21555 +ENUM
21556 + BFD_RELOC_AVR32_22H_PCREL
21557 +ENUMX
21558 + BFD_RELOC_AVR32_18W_PCREL
21559 +ENUMX
21560 + BFD_RELOC_AVR32_16B_PCREL
21561 +ENUMX
21562 + BFD_RELOC_AVR32_16N_PCREL
21563 +ENUMX
21564 + BFD_RELOC_AVR32_14UW_PCREL
21565 +ENUMX
21566 + BFD_RELOC_AVR32_11H_PCREL
21567 +ENUMX
21568 + BFD_RELOC_AVR32_10UW_PCREL
21569 +ENUMX
21570 + BFD_RELOC_AVR32_9H_PCREL
21571 +ENUMX
21572 + BFD_RELOC_AVR32_9UW_PCREL
21573 +ENUMDOC
21574 + PC-relative relocations are signed if neither 'U' nor 'S' is
21575 + specified. However, we explicitly tack on a 'B' to indicate no
21576 + alignment, to avoid confusion with data relocs. All of these resolve
21577 + to sym + addend - offset, except the one with 'N' (negated) suffix.
21578 + This particular one resolves to offset - sym - addend.
21579 +ENUM
21580 + BFD_RELOC_AVR32_GOTPC
21581 +ENUMDOC
21582 + Subtract the link-time address of the GOT from (symbol + addend)
21583 + and insert the result.
21584 +ENUM
21585 + BFD_RELOC_AVR32_GOTCALL
21586 +ENUMX
21587 + BFD_RELOC_AVR32_LDA_GOT
21588 +ENUMX
21589 + BFD_RELOC_AVR32_GOT21S
21590 +ENUMX
21591 + BFD_RELOC_AVR32_GOT18SW
21592 +ENUMX
21593 + BFD_RELOC_AVR32_GOT16S
21594 +ENUMDOC
21595 + Reference to a symbol through the GOT. The linker will allocate an
21596 + entry for symbol in the GOT and insert the offset of this entry as
21597 + the relocation value. addend must be zero. As usual, 'S' means
21598 + signed, 'W' means word-aligned, etc.
21599 +ENUM
21600 + BFD_RELOC_AVR32_32_CPENT
21601 +ENUMDOC
21602 + 32-bit constant pool entry. I don't think 8- and 16-bit entries make
21603 + a whole lot of sense.
21604 +ENUM
21605 + BFD_RELOC_AVR32_CPCALL
21606 +ENUMX
21607 + BFD_RELOC_AVR32_16_CP
21608 +ENUMX
21609 + BFD_RELOC_AVR32_9W_CP
21610 +ENUMDOC
21611 + Constant pool references. Some of these relocations are signed,
21612 + others are unsigned. It doesn't really matter, since the constant
21613 + pool always comes after the code that references it.
21614 +ENUM
21615 + BFD_RELOC_AVR32_ALIGN
21616 +ENUMDOC
21617 + sym must be the absolute symbol. The addend specifies the alignment
21618 + order, e.g. if addend is 2, the linker must add padding so that the
21619 + next address is aligned to a 4-byte boundary.
21620 +ENUM
21621 + BFD_RELOC_AVR32_14UW
21622 +ENUMX
21623 + BFD_RELOC_AVR32_10UW
21624 +ENUMX
21625 + BFD_RELOC_AVR32_10SW
21626 +ENUMX
21627 + BFD_RELOC_AVR32_STHH_W
21628 +ENUMX
21629 + BFD_RELOC_AVR32_7UW
21630 +ENUMX
21631 + BFD_RELOC_AVR32_6S
21632 +ENUMX
21633 + BFD_RELOC_AVR32_6UW
21634 +ENUMX
21635 + BFD_RELOC_AVR32_4UH
21636 +ENUMX
21637 + BFD_RELOC_AVR32_3U
21638 +ENUMDOC
21639 + Code relocations that will never make it to the output file.
21640 +
21641 +ENUM
21642 BFD_RELOC_390_12
21643 ENUMDOC
21644 Direct 12 bit.
21645 diff -Nrup binutils-2.17/bfd/targets.c binutils-2.17-atmel/bfd/targets.c
21646 --- binutils-2.17/bfd/targets.c 2006-04-05 14:41:57.000000000 +0200
21647 +++ binutils-2.17-atmel/bfd/targets.c 2007-02-12 15:37:09.000000000 +0100
21648 @@ -553,6 +553,7 @@ extern const bfd_target b_out_vec_little
21649 extern const bfd_target bfd_efi_app_ia32_vec;
21650 extern const bfd_target bfd_efi_app_ia64_vec;
21651 extern const bfd_target bfd_elf32_avr_vec;
21652 +extern const bfd_target bfd_elf32_avr32_vec;
21653 extern const bfd_target bfd_elf32_bfin_vec;
21654 extern const bfd_target bfd_elf32_bfinfdpic_vec;
21655 extern const bfd_target bfd_elf32_big_generic_vec;
21656 @@ -855,6 +856,7 @@ static const bfd_target * const _bfd_tar
21657 &bfd_efi_app_ia64_vec,
21658 #endif
21659 &bfd_elf32_avr_vec,
21660 + &bfd_elf32_avr32_vec,
21661 &bfd_elf32_bfin_vec,
21662 &bfd_elf32_bfinfdpic_vec,
21663
21664 diff -Nrup binutils-2.17/binutils/config.in binutils-2.17-atmel/binutils/config.in
21665 --- binutils-2.17/binutils/config.in 2006-02-14 09:59:10.000000000 +0100
21666 +++ binutils-2.17-atmel/binutils/config.in 2007-02-20 16:07:22.000000000 +0100
21667 @@ -218,7 +218,7 @@
21668
21669 /* If using the C implementation of alloca, define if you know the
21670 direction of stack growth for your system; otherwise it will be
21671 - automatically deduced at run-time.
21672 + automatically deduced at runtime.
21673 STACK_DIRECTION > 0 => grows toward higher addresses
21674 STACK_DIRECTION < 0 => grows toward lower addresses
21675 STACK_DIRECTION = 0 => direction of growth unknown */
21676 @@ -260,8 +260,8 @@
21677 #undef inline
21678 #endif
21679
21680 -/* Define to `long' if <sys/types.h> does not define. */
21681 +/* Define to `long int' if <sys/types.h> does not define. */
21682 #undef off_t
21683
21684 -/* Define to `unsigned' if <sys/types.h> does not define. */
21685 +/* Define to `unsigned int' if <sys/types.h> does not define. */
21686 #undef size_t
21687 diff -Nrup binutils-2.17/binutils/configure binutils-2.17-atmel/binutils/configure
21688 --- binutils-2.17/binutils/configure 2006-04-06 23:49:29.000000000 +0200
21689 +++ binutils-2.17-atmel/binutils/configure 2007-02-20 16:07:20.000000000 +0100
21690 @@ -1,25 +1,54 @@
21691 #! /bin/sh
21692 # Guess values for system-dependent variables and create Makefiles.
21693 -# Generated by GNU Autoconf 2.59.
21694 +# Generated by GNU Autoconf 2.61.
21695 #
21696 -# Copyright (C) 2003 Free Software Foundation, Inc.
21697 +# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
21698 +# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
21699 # This configure script is free software; the Free Software Foundation
21700 # gives unlimited permission to copy, distribute and modify it.
21701 ## --------------------- ##
21702 ## M4sh Initialization. ##
21703 ## --------------------- ##
21704
21705 -# Be Bourne compatible
21706 +# Be more Bourne compatible
21707 +DUALCASE=1; export DUALCASE # for MKS sh
21708 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
21709 emulate sh
21710 NULLCMD=:
21711 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21712 # is contrary to our usage. Disable this feature.
21713 alias -g '${1+"$@"}'='"$@"'
21714 -elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
21715 - set -o posix
21716 + setopt NO_GLOB_SUBST
21717 +else
21718 + case `(set -o) 2>/dev/null` in
21719 + *posix*) set -o posix ;;
21720 +esac
21721 +
21722 +fi
21723 +
21724 +
21725 +
21726 +
21727 +# PATH needs CR
21728 +# Avoid depending upon Character Ranges.
21729 +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21730 +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21731 +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
21732 +as_cr_digits='0123456789'
21733 +as_cr_alnum=$as_cr_Letters$as_cr_digits
21734 +
21735 +# The user is always right.
21736 +if test "${PATH_SEPARATOR+set}" != set; then
21737 + echo "#! /bin/sh" >conf$$.sh
21738 + echo "exit 0" >>conf$$.sh
21739 + chmod +x conf$$.sh
21740 + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
21741 + PATH_SEPARATOR=';'
21742 + else
21743 + PATH_SEPARATOR=:
21744 + fi
21745 + rm -f conf$$.sh
21746 fi
21747 -DUALCASE=1; export DUALCASE # for MKS sh
21748
21749 # Support unset when possible.
21750 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
21751 @@ -29,8 +58,43 @@ else
21752 fi
21753
21754
21755 +# IFS
21756 +# We need space, tab and new line, in precisely that order. Quoting is
21757 +# there to prevent editors from complaining about space-tab.
21758 +# (If _AS_PATH_WALK were called with IFS unset, it would disable word
21759 +# splitting by setting IFS to empty value.)
21760 +as_nl='
21761 +'
21762 +IFS=" "" $as_nl"
21763 +
21764 +# Find who we are. Look in the path if we contain no directory separator.
21765 +case $0 in
21766 + *[\\/]* ) as_myself=$0 ;;
21767 + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21768 +for as_dir in $PATH
21769 +do
21770 + IFS=$as_save_IFS
21771 + test -z "$as_dir" && as_dir=.
21772 + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21773 +done
21774 +IFS=$as_save_IFS
21775 +
21776 + ;;
21777 +esac
21778 +# We did not find ourselves, most probably we were run as `sh COMMAND'
21779 +# in which case we are not to be found in the path.
21780 +if test "x$as_myself" = x; then
21781 + as_myself=$0
21782 +fi
21783 +if test ! -f "$as_myself"; then
21784 + echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21785 + { (exit 1); exit 1; }
21786 +fi
21787 +
21788 # Work around bugs in pre-3.0 UWIN ksh.
21789 -$as_unset ENV MAIL MAILPATH
21790 +for as_var in ENV MAIL MAILPATH
21791 +do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
21792 +done
21793 PS1='$ '
21794 PS2='> '
21795 PS4='+ '
21796 @@ -44,18 +108,19 @@ do
21797 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
21798 eval $as_var=C; export $as_var
21799 else
21800 - $as_unset $as_var
21801 + ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
21802 fi
21803 done
21804
21805 # Required to use basename.
21806 -if expr a : '\(a\)' >/dev/null 2>&1; then
21807 +if expr a : '\(a\)' >/dev/null 2>&1 &&
21808 + test "X`expr 00001 : '.*\(...\)'`" = X001; then
21809 as_expr=expr
21810 else
21811 as_expr=false
21812 fi
21813
21814 -if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
21815 +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21816 as_basename=basename
21817 else
21818 as_basename=false
21819 @@ -63,157 +128,388 @@ fi
21820
21821
21822 # Name of the executable.
21823 -as_me=`$as_basename "$0" ||
21824 +as_me=`$as_basename -- "$0" ||
21825 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21826 X"$0" : 'X\(//\)$' \| \
21827 - X"$0" : 'X\(/\)$' \| \
21828 - . : '\(.\)' 2>/dev/null ||
21829 + X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21830 echo X/"$0" |
21831 - sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
21832 - /^X\/\(\/\/\)$/{ s//\1/; q; }
21833 - /^X\/\(\/\).*/{ s//\1/; q; }
21834 - s/.*/./; q'`
21835 + sed '/^.*\/\([^/][^/]*\)\/*$/{
21836 + s//\1/
21837 + q
21838 + }
21839 + /^X\/\(\/\/\)$/{
21840 + s//\1/
21841 + q
21842 + }
21843 + /^X\/\(\/\).*/{
21844 + s//\1/
21845 + q
21846 + }
21847 + s/.*/./; q'`
21848
21849 +# CDPATH.
21850 +$as_unset CDPATH
21851
21852 -# PATH needs CR, and LINENO needs CR and PATH.
21853 -# Avoid depending upon Character Ranges.
21854 -as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21855 -as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21856 -as_cr_Letters=$as_cr_letters$as_cr_LETTERS
21857 -as_cr_digits='0123456789'
21858 -as_cr_alnum=$as_cr_Letters$as_cr_digits
21859
21860 -# The user is always right.
21861 -if test "${PATH_SEPARATOR+set}" != set; then
21862 - echo "#! /bin/sh" >conf$$.sh
21863 - echo "exit 0" >>conf$$.sh
21864 - chmod +x conf$$.sh
21865 - if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
21866 - PATH_SEPARATOR=';'
21867 - else
21868 - PATH_SEPARATOR=:
21869 - fi
21870 - rm -f conf$$.sh
21871 +if test "x$CONFIG_SHELL" = x; then
21872 + if (eval ":") 2>/dev/null; then
21873 + as_have_required=yes
21874 +else
21875 + as_have_required=no
21876 +fi
21877 +
21878 + if test $as_have_required = yes && (eval ":
21879 +(as_func_return () {
21880 + (exit \$1)
21881 +}
21882 +as_func_success () {
21883 + as_func_return 0
21884 +}
21885 +as_func_failure () {
21886 + as_func_return 1
21887 +}
21888 +as_func_ret_success () {
21889 + return 0
21890 +}
21891 +as_func_ret_failure () {
21892 + return 1
21893 +}
21894 +
21895 +exitcode=0
21896 +if as_func_success; then
21897 + :
21898 +else
21899 + exitcode=1
21900 + echo as_func_success failed.
21901 fi
21902
21903 +if as_func_failure; then
21904 + exitcode=1
21905 + echo as_func_failure succeeded.
21906 +fi
21907
21908 - as_lineno_1=$LINENO
21909 - as_lineno_2=$LINENO
21910 - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
21911 - test "x$as_lineno_1" != "x$as_lineno_2" &&
21912 - test "x$as_lineno_3" = "x$as_lineno_2" || {
21913 - # Find who we are. Look in the path if we contain no path at all
21914 - # relative or not.
21915 - case $0 in
21916 - *[\\/]* ) as_myself=$0 ;;
21917 - *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21918 -for as_dir in $PATH
21919 -do
21920 - IFS=$as_save_IFS
21921 - test -z "$as_dir" && as_dir=.
21922 - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21923 -done
21924 +if as_func_ret_success; then
21925 + :
21926 +else
21927 + exitcode=1
21928 + echo as_func_ret_success failed.
21929 +fi
21930
21931 - ;;
21932 - esac
21933 - # We did not find ourselves, most probably we were run as `sh COMMAND'
21934 - # in which case we are not to be found in the path.
21935 - if test "x$as_myself" = x; then
21936 - as_myself=$0
21937 - fi
21938 - if test ! -f "$as_myself"; then
21939 - { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
21940 - { (exit 1); exit 1; }; }
21941 - fi
21942 - case $CONFIG_SHELL in
21943 - '')
21944 +if as_func_ret_failure; then
21945 + exitcode=1
21946 + echo as_func_ret_failure succeeded.
21947 +fi
21948 +
21949 +if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
21950 + :
21951 +else
21952 + exitcode=1
21953 + echo positional parameters were not saved.
21954 +fi
21955 +
21956 +test \$exitcode = 0) || { (exit 1); exit 1; }
21957 +
21958 +(
21959 + as_lineno_1=\$LINENO
21960 + as_lineno_2=\$LINENO
21961 + test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
21962 + test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
21963 +") 2> /dev/null; then
21964 + :
21965 +else
21966 + as_candidate_shells=
21967 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21968 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
21969 do
21970 IFS=$as_save_IFS
21971 test -z "$as_dir" && as_dir=.
21972 - for as_base in sh bash ksh sh5; do
21973 - case $as_dir in
21974 + case $as_dir in
21975 /*)
21976 - if ("$as_dir/$as_base" -c '
21977 + for as_base in sh bash ksh sh5; do
21978 + as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
21979 + done;;
21980 + esac
21981 +done
21982 +IFS=$as_save_IFS
21983 +
21984 +
21985 + for as_shell in $as_candidate_shells $SHELL; do
21986 + # Try only shells that exist, to save several forks.
21987 + if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
21988 + { ("$as_shell") 2> /dev/null <<\_ASEOF
21989 +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
21990 + emulate sh
21991 + NULLCMD=:
21992 + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21993 + # is contrary to our usage. Disable this feature.
21994 + alias -g '${1+"$@"}'='"$@"'
21995 + setopt NO_GLOB_SUBST
21996 +else
21997 + case `(set -o) 2>/dev/null` in
21998 + *posix*) set -o posix ;;
21999 +esac
22000 +
22001 +fi
22002 +
22003 +
22004 +:
22005 +_ASEOF
22006 +}; then
22007 + CONFIG_SHELL=$as_shell
22008 + as_have_required=yes
22009 + if { "$as_shell" 2> /dev/null <<\_ASEOF
22010 +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
22011 + emulate sh
22012 + NULLCMD=:
22013 + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22014 + # is contrary to our usage. Disable this feature.
22015 + alias -g '${1+"$@"}'='"$@"'
22016 + setopt NO_GLOB_SUBST
22017 +else
22018 + case `(set -o) 2>/dev/null` in
22019 + *posix*) set -o posix ;;
22020 +esac
22021 +
22022 +fi
22023 +
22024 +
22025 +:
22026 +(as_func_return () {
22027 + (exit $1)
22028 +}
22029 +as_func_success () {
22030 + as_func_return 0
22031 +}
22032 +as_func_failure () {
22033 + as_func_return 1
22034 +}
22035 +as_func_ret_success () {
22036 + return 0
22037 +}
22038 +as_func_ret_failure () {
22039 + return 1
22040 +}
22041 +
22042 +exitcode=0
22043 +if as_func_success; then
22044 + :
22045 +else
22046 + exitcode=1
22047 + echo as_func_success failed.
22048 +fi
22049 +
22050 +if as_func_failure; then
22051 + exitcode=1
22052 + echo as_func_failure succeeded.
22053 +fi
22054 +
22055 +if as_func_ret_success; then
22056 + :
22057 +else
22058 + exitcode=1
22059 + echo as_func_ret_success failed.
22060 +fi
22061 +
22062 +if as_func_ret_failure; then
22063 + exitcode=1
22064 + echo as_func_ret_failure succeeded.
22065 +fi
22066 +
22067 +if ( set x; as_func_ret_success y && test x = "$1" ); then
22068 + :
22069 +else
22070 + exitcode=1
22071 + echo positional parameters were not saved.
22072 +fi
22073 +
22074 +test $exitcode = 0) || { (exit 1); exit 1; }
22075 +
22076 +(
22077 as_lineno_1=$LINENO
22078 as_lineno_2=$LINENO
22079 - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
22080 test "x$as_lineno_1" != "x$as_lineno_2" &&
22081 - test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
22082 - $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
22083 - $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
22084 - CONFIG_SHELL=$as_dir/$as_base
22085 - export CONFIG_SHELL
22086 - exec "$CONFIG_SHELL" "$0" ${1+"$@"}
22087 - fi;;
22088 - esac
22089 - done
22090 -done
22091 -;;
22092 - esac
22093 + test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
22094 +
22095 +_ASEOF
22096 +}; then
22097 + break
22098 +fi
22099 +
22100 +fi
22101 +
22102 + done
22103 +
22104 + if test "x$CONFIG_SHELL" != x; then
22105 + for as_var in BASH_ENV ENV
22106 + do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
22107 + done
22108 + export CONFIG_SHELL
22109 + exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
22110 +fi
22111 +
22112 +
22113 + if test $as_have_required = no; then
22114 + echo This script requires a shell more modern than all the
22115 + echo shells that I found on your system. Please install a
22116 + echo modern shell, or manually run the script under such a
22117 + echo shell if you do have one.
22118 + { (exit 1); exit 1; }
22119 +fi
22120 +
22121 +
22122 +fi
22123 +
22124 +fi
22125 +
22126 +
22127 +
22128 +(eval "as_func_return () {
22129 + (exit \$1)
22130 +}
22131 +as_func_success () {
22132 + as_func_return 0
22133 +}
22134 +as_func_failure () {
22135 + as_func_return 1
22136 +}
22137 +as_func_ret_success () {
22138 + return 0
22139 +}
22140 +as_func_ret_failure () {
22141 + return 1
22142 +}
22143 +
22144 +exitcode=0
22145 +if as_func_success; then
22146 + :
22147 +else
22148 + exitcode=1
22149 + echo as_func_success failed.
22150 +fi
22151 +
22152 +if as_func_failure; then
22153 + exitcode=1
22154 + echo as_func_failure succeeded.
22155 +fi
22156 +
22157 +if as_func_ret_success; then
22158 + :
22159 +else
22160 + exitcode=1
22161 + echo as_func_ret_success failed.
22162 +fi
22163 +
22164 +if as_func_ret_failure; then
22165 + exitcode=1
22166 + echo as_func_ret_failure succeeded.
22167 +fi
22168 +
22169 +if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
22170 + :
22171 +else
22172 + exitcode=1
22173 + echo positional parameters were not saved.
22174 +fi
22175 +
22176 +test \$exitcode = 0") || {
22177 + echo No shell found that supports shell functions.
22178 + echo Please tell autoconf@gnu.org about your system,
22179 + echo including any error possibly output before this
22180 + echo message
22181 +}
22182 +
22183 +
22184 +
22185 + as_lineno_1=$LINENO
22186 + as_lineno_2=$LINENO
22187 + test "x$as_lineno_1" != "x$as_lineno_2" &&
22188 + test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
22189
22190 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
22191 # uniformly replaced by the line number. The first 'sed' inserts a
22192 - # line-number line before each line; the second 'sed' does the real
22193 - # work. The second script uses 'N' to pair each line-number line
22194 - # with the numbered line, and appends trailing '-' during
22195 - # substitution so that $LINENO is not a special case at line end.
22196 + # line-number line after each line using $LINENO; the second 'sed'
22197 + # does the real work. The second script uses 'N' to pair each
22198 + # line-number line with the line containing $LINENO, and appends
22199 + # trailing '-' during substitution so that $LINENO is not a special
22200 + # case at line end.
22201 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
22202 - # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
22203 - sed '=' <$as_myself |
22204 + # scripts with optimization help from Paolo Bonzini. Blame Lee
22205 + # E. McMahon (1931-1989) for sed's syntax. :-)
22206 + sed -n '
22207 + p
22208 + /[$]LINENO/=
22209 + ' <$as_myself |
22210 sed '
22211 + s/[$]LINENO.*/&-/
22212 + t lineno
22213 + b
22214 + :lineno
22215 N
22216 - s,$,-,
22217 - : loop
22218 - s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
22219 + :loop
22220 + s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
22221 t loop
22222 - s,-$,,
22223 - s,^['$as_cr_digits']*\n,,
22224 + s/-\n.*//
22225 ' >$as_me.lineno &&
22226 - chmod +x $as_me.lineno ||
22227 + chmod +x "$as_me.lineno" ||
22228 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
22229 { (exit 1); exit 1; }; }
22230
22231 # Don't try to exec as it changes $[0], causing all sort of problems
22232 # (the dirname of $[0] is not the place where we might find the
22233 - # original and so on. Autoconf is especially sensible to this).
22234 - . ./$as_me.lineno
22235 + # original and so on. Autoconf is especially sensitive to this).
22236 + . "./$as_me.lineno"
22237 # Exit status is that of the last command.
22238 exit
22239 }
22240
22241
22242 -case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
22243 - *c*,-n*) ECHO_N= ECHO_C='
22244 -' ECHO_T=' ' ;;
22245 - *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
22246 - *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
22247 +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
22248 + as_dirname=dirname
22249 +else
22250 + as_dirname=false
22251 +fi
22252 +
22253 +ECHO_C= ECHO_N= ECHO_T=
22254 +case `echo -n x` in
22255 +-n*)
22256 + case `echo 'x\c'` in
22257 + *c*) ECHO_T=' ';; # ECHO_T is single tab character.
22258 + *) ECHO_C='\c';;
22259 + esac;;
22260 +*)
22261 + ECHO_N='-n';;
22262 esac
22263
22264 -if expr a : '\(a\)' >/dev/null 2>&1; then
22265 +if expr a : '\(a\)' >/dev/null 2>&1 &&
22266 + test "X`expr 00001 : '.*\(...\)'`" = X001; then
22267 as_expr=expr
22268 else
22269 as_expr=false
22270 fi
22271
22272 rm -f conf$$ conf$$.exe conf$$.file
22273 +if test -d conf$$.dir; then
22274 + rm -f conf$$.dir/conf$$.file
22275 +else
22276 + rm -f conf$$.dir
22277 + mkdir conf$$.dir
22278 +fi
22279 echo >conf$$.file
22280 if ln -s conf$$.file conf$$ 2>/dev/null; then
22281 - # We could just check for DJGPP; but this test a) works b) is more generic
22282 - # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
22283 - if test -f conf$$.exe; then
22284 - # Don't use ln at all; we don't have any links
22285 + as_ln_s='ln -s'
22286 + # ... but there are two gotchas:
22287 + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22288 + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22289 + # In both cases, we have to default to `cp -p'.
22290 + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
22291 as_ln_s='cp -p'
22292 - else
22293 - as_ln_s='ln -s'
22294 - fi
22295 elif ln conf$$.file conf$$ 2>/dev/null; then
22296 as_ln_s=ln
22297 else
22298 as_ln_s='cp -p'
22299 fi
22300 -rm -f conf$$ conf$$.exe conf$$.file
22301 +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
22302 +rmdir conf$$.dir 2>/dev/null
22303
22304 if mkdir -p . 2>/dev/null; then
22305 as_mkdir_p=:
22306 @@ -222,7 +518,28 @@ else
22307 as_mkdir_p=false
22308 fi
22309
22310 -as_executable_p="test -f"
22311 +if test -x / >/dev/null 2>&1; then
22312 + as_test_x='test -x'
22313 +else
22314 + if ls -dL / >/dev/null 2>&1; then
22315 + as_ls_L_option=L
22316 + else
22317 + as_ls_L_option=
22318 + fi
22319 + as_test_x='
22320 + eval sh -c '\''
22321 + if test -d "$1"; then
22322 + test -d "$1/.";
22323 + else
22324 + case $1 in
22325 + -*)set "./$1";;
22326 + esac;
22327 + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
22328 + ???[sx]*):;;*)false;;esac;fi
22329 + '\'' sh
22330 + '
22331 +fi
22332 +as_executable_p=$as_test_x
22333
22334 # Sed expression to map a string onto a valid CPP name.
22335 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22336 @@ -231,39 +548,27 @@ as_tr_cpp="eval sed 'y%*$as_cr_letters%P
22337 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22338
22339
22340 -# IFS
22341 -# We need space, tab and new line, in precisely that order.
22342 -as_nl='
22343 -'
22344 -IFS=" $as_nl"
22345 -
22346 -# CDPATH.
22347 -$as_unset CDPATH
22348
22349 +exec 7<&0 </dev/null 6>&1
22350
22351 # Name of the host.
22352 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
22353 # so uname gets run too.
22354 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
22355
22356 -exec 6>&1
22357 -
22358 #
22359 # Initializations.
22360 #
22361 ac_default_prefix=/usr/local
22362 +ac_clean_files=
22363 ac_config_libobj_dir=.
22364 +LIBOBJS=
22365 cross_compiling=no
22366 subdirs=
22367 MFLAGS=
22368 MAKEFLAGS=
22369 SHELL=${CONFIG_SHELL-/bin/sh}
22370
22371 -# Maximum number of lines to put in a shell here document.
22372 -# This variable seems obsolete. It should probably be removed, and
22373 -# only ac_max_sed_lines should be used.
22374 -: ${ac_max_here_lines=38}
22375 -
22376 # Identity of this package.
22377 PACKAGE_NAME=
22378 PACKAGE_TARNAME=
22379 @@ -275,42 +580,193 @@ ac_unique_file="ar.c"
22380 # Factoring default headers for most tests.
22381 ac_includes_default="\
22382 #include <stdio.h>
22383 -#if HAVE_SYS_TYPES_H
22384 +#ifdef HAVE_SYS_TYPES_H
22385 # include <sys/types.h>
22386 #endif
22387 -#if HAVE_SYS_STAT_H
22388 +#ifdef HAVE_SYS_STAT_H
22389 # include <sys/stat.h>
22390 #endif
22391 -#if STDC_HEADERS
22392 +#ifdef STDC_HEADERS
22393 # include <stdlib.h>
22394 # include <stddef.h>
22395 #else
22396 -# if HAVE_STDLIB_H
22397 +# ifdef HAVE_STDLIB_H
22398 # include <stdlib.h>
22399 # endif
22400 #endif
22401 -#if HAVE_STRING_H
22402 -# if !STDC_HEADERS && HAVE_MEMORY_H
22403 +#ifdef HAVE_STRING_H
22404 +# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
22405 # include <memory.h>
22406 # endif
22407 # include <string.h>
22408 #endif
22409 -#if HAVE_STRINGS_H
22410 +#ifdef HAVE_STRINGS_H
22411 # include <strings.h>
22412 #endif
22413 -#if HAVE_INTTYPES_H
22414 +#ifdef HAVE_INTTYPES_H
22415 # include <inttypes.h>
22416 -#else
22417 -# if HAVE_STDINT_H
22418 -# include <stdint.h>
22419 -# endif
22420 #endif
22421 -#if HAVE_UNISTD_H
22422 +#ifdef HAVE_STDINT_H
22423 +# include <stdint.h>
22424 +#endif
22425 +#ifdef HAVE_UNISTD_H
22426 # include <unistd.h>
22427 #endif"
22428
22429 -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 LN_S RANLIB ac_ct_RANLIB LIBTOOL WARN_CFLAGS NO_WERROR YACC LEX LEXLIB LEX_OUTPUT_ROOT 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 MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT HDEFINES AR CC_FOR_BUILD EXEEXT_FOR_BUILD DEMANGLER_NAME NLMCONV_DEFS BUILD_NLMCONV BUILD_SRCONV BUILD_DLLTOOL DLLTOOL_DEFS BUILD_WINDRES BUILD_DLLWRAP BUILD_MISC OBJDUMP_DEFS EMULATION EMULATION_VECTOR datarootdir docdir htmldir LIBOBJS LTLIBOBJS'
22430 +ac_subst_vars='SHELL
22431 +PATH_SEPARATOR
22432 +PACKAGE_NAME
22433 +PACKAGE_TARNAME
22434 +PACKAGE_VERSION
22435 +PACKAGE_STRING
22436 +PACKAGE_BUGREPORT
22437 +exec_prefix
22438 +prefix
22439 +program_transform_name
22440 +bindir
22441 +sbindir
22442 +libexecdir
22443 +datarootdir
22444 +datadir
22445 +sysconfdir
22446 +sharedstatedir
22447 +localstatedir
22448 +includedir
22449 +oldincludedir
22450 +docdir
22451 +infodir
22452 +htmldir
22453 +dvidir
22454 +pdfdir
22455 +psdir
22456 +libdir
22457 +localedir
22458 +mandir
22459 +DEFS
22460 +ECHO_C
22461 +ECHO_N
22462 +ECHO_T
22463 +LIBS
22464 +build_alias
22465 +host_alias
22466 +target_alias
22467 +build
22468 +build_cpu
22469 +build_vendor
22470 +build_os
22471 +host
22472 +host_cpu
22473 +host_vendor
22474 +host_os
22475 +target
22476 +target_cpu
22477 +target_vendor
22478 +target_os
22479 +CC
22480 +CFLAGS
22481 +LDFLAGS
22482 +CPPFLAGS
22483 +ac_ct_CC
22484 +EXEEXT
22485 +OBJEXT
22486 +INSTALL_PROGRAM
22487 +INSTALL_SCRIPT
22488 +INSTALL_DATA
22489 +CYGPATH_W
22490 +PACKAGE
22491 +VERSION
22492 +ACLOCAL
22493 +AUTOCONF
22494 +AUTOMAKE
22495 +AUTOHEADER
22496 +MAKEINFO
22497 +install_sh
22498 +STRIP
22499 +INSTALL_STRIP_PROGRAM
22500 +mkdir_p
22501 +AWK
22502 +SET_MAKE
22503 +am__leading_dot
22504 +AMTAR
22505 +am__tar
22506 +am__untar
22507 +DEPDIR
22508 +am__include
22509 +am__quote
22510 +AMDEP_TRUE
22511 +AMDEP_FALSE
22512 +AMDEPBACKSLASH
22513 +CCDEPMODE
22514 +am__fastdepCC_TRUE
22515 +am__fastdepCC_FALSE
22516 +LN_S
22517 +RANLIB
22518 +LIBTOOL
22519 +WARN_CFLAGS
22520 +NO_WERROR
22521 +YACC
22522 +YFLAGS
22523 +LEX
22524 +LEX_OUTPUT_ROOT
22525 +LEXLIB
22526 +CPP
22527 +GREP
22528 +EGREP
22529 +ALLOCA
22530 +USE_NLS
22531 +MSGFMT
22532 +GMSGFMT
22533 +XGETTEXT
22534 +USE_INCLUDED_LIBINTL
22535 +CATALOGS
22536 +CATOBJEXT
22537 +DATADIRNAME
22538 +GMOFILES
22539 +INSTOBJEXT
22540 +INTLDEPS
22541 +INTLLIBS
22542 +INTLOBJS
22543 +POFILES
22544 +POSUB
22545 +INCLUDE_LOCALE_H
22546 +GT_NO
22547 +GT_YES
22548 +MKINSTALLDIRS
22549 +l
22550 +MAINTAINER_MODE_TRUE
22551 +MAINTAINER_MODE_FALSE
22552 +MAINT
22553 +HDEFINES
22554 +AR
22555 +CC_FOR_BUILD
22556 +EXEEXT_FOR_BUILD
22557 +DEMANGLER_NAME
22558 +NLMCONV_DEFS
22559 +BUILD_NLMCONV
22560 +BUILD_SRCONV
22561 +BUILD_DLLTOOL
22562 +DLLTOOL_DEFS
22563 +BUILD_WINDRES
22564 +BUILD_DLLWRAP
22565 +BUILD_MISC
22566 +OBJDUMP_DEFS
22567 +EMULATION
22568 +EMULATION_VECTOR
22569 +LIBOBJS
22570 +LTLIBOBJS'
22571 ac_subst_files=''
22572 + ac_precious_vars='build_alias
22573 +host_alias
22574 +target_alias
22575 +CC
22576 +CFLAGS
22577 +LDFLAGS
22578 +LIBS
22579 +CPPFLAGS
22580 +YACC
22581 +YFLAGS
22582 +CPP'
22583 +
22584
22585 # Initialize some variables set by options.
22586 ac_init_help=
22587 @@ -337,34 +793,48 @@ x_libraries=NONE
22588 # and all the variables that are supposed to be based on exec_prefix
22589 # by default will actually change.
22590 # Use braces instead of parens because sh, perl, etc. also accept them.
22591 +# (The list follows the same order as the GNU Coding Standards.)
22592 bindir='${exec_prefix}/bin'
22593 sbindir='${exec_prefix}/sbin'
22594 libexecdir='${exec_prefix}/libexec'
22595 -datadir='${prefix}/share'
22596 +datarootdir='${prefix}/share'
22597 +datadir='${datarootdir}'
22598 sysconfdir='${prefix}/etc'
22599 sharedstatedir='${prefix}/com'
22600 localstatedir='${prefix}/var'
22601 -libdir='${exec_prefix}/lib'
22602 includedir='${prefix}/include'
22603 oldincludedir='/usr/include'
22604 -infodir='${prefix}/info'
22605 -mandir='${prefix}/man'
22606 +docdir='${datarootdir}/doc/${PACKAGE}'
22607 +infodir='${datarootdir}/info'
22608 +htmldir='${docdir}'
22609 +dvidir='${docdir}'
22610 +pdfdir='${docdir}'
22611 +psdir='${docdir}'
22612 +libdir='${exec_prefix}/lib'
22613 +localedir='${datarootdir}/locale'
22614 +mandir='${datarootdir}/man'
22615
22616 ac_prev=
22617 +ac_dashdash=
22618 for ac_option
22619 do
22620 # If the previous option needs an argument, assign it.
22621 if test -n "$ac_prev"; then
22622 - eval "$ac_prev=\$ac_option"
22623 + eval $ac_prev=\$ac_option
22624 ac_prev=
22625 continue
22626 fi
22627
22628 - ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
22629 + case $ac_option in
22630 + *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
22631 + *) ac_optarg=yes ;;
22632 + esac
22633
22634 # Accept the important Cygnus configure options, so we can diagnose typos.
22635
22636 - case $ac_option in
22637 + case $ac_dashdash$ac_option in
22638 + --)
22639 + ac_dashdash=yes ;;
22640
22641 -bindir | --bindir | --bindi | --bind | --bin | --bi)
22642 ac_prev=bindir ;;
22643 @@ -386,33 +856,45 @@ do
22644 --config-cache | -C)
22645 cache_file=config.cache ;;
22646
22647 - -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
22648 + -datadir | --datadir | --datadi | --datad)
22649 ac_prev=datadir ;;
22650 - -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
22651 - | --da=*)
22652 + -datadir=* | --datadir=* | --datadi=* | --datad=*)
22653 datadir=$ac_optarg ;;
22654
22655 + -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
22656 + | --dataroo | --dataro | --datar)
22657 + ac_prev=datarootdir ;;
22658 + -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
22659 + | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
22660 + datarootdir=$ac_optarg ;;
22661 +
22662 -disable-* | --disable-*)
22663 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
22664 # Reject names that are not valid shell variable names.
22665 - expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
22666 + expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
22667 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
22668 { (exit 1); exit 1; }; }
22669 - ac_feature=`echo $ac_feature | sed 's/-/_/g'`
22670 - eval "enable_$ac_feature=no" ;;
22671 + ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
22672 + eval enable_$ac_feature=no ;;
22673 +
22674 + -docdir | --docdir | --docdi | --doc | --do)
22675 + ac_prev=docdir ;;
22676 + -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
22677 + docdir=$ac_optarg ;;
22678 +
22679 + -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
22680 + ac_prev=dvidir ;;
22681 + -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
22682 + dvidir=$ac_optarg ;;
22683
22684 -enable-* | --enable-*)
22685 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
22686 # Reject names that are not valid shell variable names.
22687 - expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
22688 + expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
22689 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
22690 { (exit 1); exit 1; }; }
22691 - ac_feature=`echo $ac_feature | sed 's/-/_/g'`
22692 - case $ac_option in
22693 - *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
22694 - *) ac_optarg=yes ;;
22695 - esac
22696 - eval "enable_$ac_feature='$ac_optarg'" ;;
22697 + ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
22698 + eval enable_$ac_feature=\$ac_optarg ;;
22699
22700 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
22701 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
22702 @@ -439,6 +921,12 @@ do
22703 -host=* | --host=* | --hos=* | --ho=*)
22704 host_alias=$ac_optarg ;;
22705
22706 + -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
22707 + ac_prev=htmldir ;;
22708 + -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
22709 + | --ht=*)
22710 + htmldir=$ac_optarg ;;
22711 +
22712 -includedir | --includedir | --includedi | --included | --include \
22713 | --includ | --inclu | --incl | --inc)
22714 ac_prev=includedir ;;
22715 @@ -463,13 +951,16 @@ do
22716 | --libexe=* | --libex=* | --libe=*)
22717 libexecdir=$ac_optarg ;;
22718
22719 + -localedir | --localedir | --localedi | --localed | --locale)
22720 + ac_prev=localedir ;;
22721 + -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
22722 + localedir=$ac_optarg ;;
22723 +
22724 -localstatedir | --localstatedir | --localstatedi | --localstated \
22725 - | --localstate | --localstat | --localsta | --localst \
22726 - | --locals | --local | --loca | --loc | --lo)
22727 + | --localstate | --localstat | --localsta | --localst | --locals)
22728 ac_prev=localstatedir ;;
22729 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
22730 - | --localstate=* | --localstat=* | --localsta=* | --localst=* \
22731 - | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
22732 + | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
22733 localstatedir=$ac_optarg ;;
22734
22735 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
22736 @@ -534,6 +1025,16 @@ do
22737 | --progr-tra=* | --program-tr=* | --program-t=*)
22738 program_transform_name=$ac_optarg ;;
22739
22740 + -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
22741 + ac_prev=pdfdir ;;
22742 + -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
22743 + pdfdir=$ac_optarg ;;
22744 +
22745 + -psdir | --psdir | --psdi | --psd | --ps)
22746 + ac_prev=psdir ;;
22747 + -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
22748 + psdir=$ac_optarg ;;
22749 +
22750 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
22751 | -silent | --silent | --silen | --sile | --sil)
22752 silent=yes ;;
22753 @@ -586,24 +1087,20 @@ do
22754 -with-* | --with-*)
22755 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
22756 # Reject names that are not valid shell variable names.
22757 - expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
22758 + expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
22759 { echo "$as_me: error: invalid package name: $ac_package" >&2
22760 { (exit 1); exit 1; }; }
22761 - ac_package=`echo $ac_package| sed 's/-/_/g'`
22762 - case $ac_option in
22763 - *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
22764 - *) ac_optarg=yes ;;
22765 - esac
22766 - eval "with_$ac_package='$ac_optarg'" ;;
22767 + ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
22768 + eval with_$ac_package=\$ac_optarg ;;
22769
22770 -without-* | --without-*)
22771 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
22772 # Reject names that are not valid shell variable names.
22773 - expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
22774 + expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
22775 { echo "$as_me: error: invalid package name: $ac_package" >&2
22776 { (exit 1); exit 1; }; }
22777 - ac_package=`echo $ac_package | sed 's/-/_/g'`
22778 - eval "with_$ac_package=no" ;;
22779 + ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
22780 + eval with_$ac_package=no ;;
22781
22782 --x)
22783 # Obsolete; use --with-x.
22784 @@ -634,8 +1131,7 @@ Try \`$0 --help' for more information."
22785 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
22786 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
22787 { (exit 1); exit 1; }; }
22788 - ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
22789 - eval "$ac_envvar='$ac_optarg'"
22790 + eval $ac_envvar=\$ac_optarg
22791 export $ac_envvar ;;
22792
22793 *)
22794 @@ -655,27 +1151,19 @@ if test -n "$ac_prev"; then
22795 { (exit 1); exit 1; }; }
22796 fi
22797
22798 -# Be sure to have absolute paths.
22799 -for ac_var in exec_prefix prefix
22800 -do
22801 - eval ac_val=$`echo $ac_var`
22802 - case $ac_val in
22803 - [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
22804 - *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
22805 - { (exit 1); exit 1; }; };;
22806 - esac
22807 -done
22808 -
22809 -# Be sure to have absolute paths.
22810 -for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
22811 - localstatedir libdir includedir oldincludedir infodir mandir
22812 +# Be sure to have absolute directory names.
22813 +for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
22814 + datadir sysconfdir sharedstatedir localstatedir includedir \
22815 + oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
22816 + libdir localedir mandir
22817 do
22818 - eval ac_val=$`echo $ac_var`
22819 + eval ac_val=\$$ac_var
22820 case $ac_val in
22821 - [\\/$]* | ?:[\\/]* ) ;;
22822 - *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
22823 - { (exit 1); exit 1; }; };;
22824 + [\\/$]* | ?:[\\/]* ) continue;;
22825 + NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
22826 esac
22827 + { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
22828 + { (exit 1); exit 1; }; }
22829 done
22830
22831 # There might be people who depend on the old broken behavior: `$host'
22832 @@ -702,74 +1190,76 @@ test -n "$host_alias" && ac_tool_prefix=
22833 test "$silent" = yes && exec 6>/dev/null
22834
22835
22836 +ac_pwd=`pwd` && test -n "$ac_pwd" &&
22837 +ac_ls_di=`ls -di .` &&
22838 +ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
22839 + { echo "$as_me: error: Working directory cannot be determined" >&2
22840 + { (exit 1); exit 1; }; }
22841 +test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
22842 + { echo "$as_me: error: pwd does not report name of working directory" >&2
22843 + { (exit 1); exit 1; }; }
22844 +
22845 +
22846 # Find the source files, if location was not specified.
22847 if test -z "$srcdir"; then
22848 ac_srcdir_defaulted=yes
22849 - # Try the directory containing this script, then its parent.
22850 - ac_confdir=`(dirname "$0") 2>/dev/null ||
22851 + # Try the directory containing this script, then the parent directory.
22852 + ac_confdir=`$as_dirname -- "$0" ||
22853 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22854 X"$0" : 'X\(//\)[^/]' \| \
22855 X"$0" : 'X\(//\)$' \| \
22856 - X"$0" : 'X\(/\)' \| \
22857 - . : '\(.\)' 2>/dev/null ||
22858 + X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22859 echo X"$0" |
22860 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22861 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22862 - /^X\(\/\/\)$/{ s//\1/; q; }
22863 - /^X\(\/\).*/{ s//\1/; q; }
22864 - s/.*/./; q'`
22865 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22866 + s//\1/
22867 + q
22868 + }
22869 + /^X\(\/\/\)[^/].*/{
22870 + s//\1/
22871 + q
22872 + }
22873 + /^X\(\/\/\)$/{
22874 + s//\1/
22875 + q
22876 + }
22877 + /^X\(\/\).*/{
22878 + s//\1/
22879 + q
22880 + }
22881 + s/.*/./; q'`
22882 srcdir=$ac_confdir
22883 - if test ! -r $srcdir/$ac_unique_file; then
22884 + if test ! -r "$srcdir/$ac_unique_file"; then
22885 srcdir=..
22886 fi
22887 else
22888 ac_srcdir_defaulted=no
22889 fi
22890 -if test ! -r $srcdir/$ac_unique_file; then
22891 - if test "$ac_srcdir_defaulted" = yes; then
22892 - { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
22893 - { (exit 1); exit 1; }; }
22894 - else
22895 - { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
22896 - { (exit 1); exit 1; }; }
22897 - fi
22898 -fi
22899 -(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
22900 - { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
22901 - { (exit 1); exit 1; }; }
22902 -srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
22903 -ac_env_build_alias_set=${build_alias+set}
22904 -ac_env_build_alias_value=$build_alias
22905 -ac_cv_env_build_alias_set=${build_alias+set}
22906 -ac_cv_env_build_alias_value=$build_alias
22907 -ac_env_host_alias_set=${host_alias+set}
22908 -ac_env_host_alias_value=$host_alias
22909 -ac_cv_env_host_alias_set=${host_alias+set}
22910 -ac_cv_env_host_alias_value=$host_alias
22911 -ac_env_target_alias_set=${target_alias+set}
22912 -ac_env_target_alias_value=$target_alias
22913 -ac_cv_env_target_alias_set=${target_alias+set}
22914 -ac_cv_env_target_alias_value=$target_alias
22915 -ac_env_CC_set=${CC+set}
22916 -ac_env_CC_value=$CC
22917 -ac_cv_env_CC_set=${CC+set}
22918 -ac_cv_env_CC_value=$CC
22919 -ac_env_CFLAGS_set=${CFLAGS+set}
22920 -ac_env_CFLAGS_value=$CFLAGS
22921 -ac_cv_env_CFLAGS_set=${CFLAGS+set}
22922 -ac_cv_env_CFLAGS_value=$CFLAGS
22923 -ac_env_LDFLAGS_set=${LDFLAGS+set}
22924 -ac_env_LDFLAGS_value=$LDFLAGS
22925 -ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
22926 -ac_cv_env_LDFLAGS_value=$LDFLAGS
22927 -ac_env_CPPFLAGS_set=${CPPFLAGS+set}
22928 -ac_env_CPPFLAGS_value=$CPPFLAGS
22929 -ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
22930 -ac_cv_env_CPPFLAGS_value=$CPPFLAGS
22931 -ac_env_CPP_set=${CPP+set}
22932 -ac_env_CPP_value=$CPP
22933 -ac_cv_env_CPP_set=${CPP+set}
22934 -ac_cv_env_CPP_value=$CPP
22935 +if test ! -r "$srcdir/$ac_unique_file"; then
22936 + test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
22937 + { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
22938 + { (exit 1); exit 1; }; }
22939 +fi
22940 +ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
22941 +ac_abs_confdir=`(
22942 + cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
22943 + { (exit 1); exit 1; }; }
22944 + pwd)`
22945 +# When building in place, set srcdir=.
22946 +if test "$ac_abs_confdir" = "$ac_pwd"; then
22947 + srcdir=.
22948 +fi
22949 +# Remove unnecessary trailing slashes from srcdir.
22950 +# Double slashes in file names in object file debugging info
22951 +# mess up M-x gdb in Emacs.
22952 +case $srcdir in
22953 +*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
22954 +esac
22955 +for ac_var in $ac_precious_vars; do
22956 + eval ac_env_${ac_var}_set=\${${ac_var}+set}
22957 + eval ac_env_${ac_var}_value=\$${ac_var}
22958 + eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
22959 + eval ac_cv_env_${ac_var}_value=\$${ac_var}
22960 +done
22961
22962 #
22963 # Report the --help message.
22964 @@ -798,9 +1288,6 @@ Configuration:
22965 -n, --no-create do not create output files
22966 --srcdir=DIR find the sources in DIR [configure dir or \`..']
22967
22968 -_ACEOF
22969 -
22970 - cat <<_ACEOF
22971 Installation directories:
22972 --prefix=PREFIX install architecture-independent files in PREFIX
22973 [$ac_default_prefix]
22974 @@ -818,15 +1305,22 @@ Fine tuning of the installation director
22975 --bindir=DIR user executables [EPREFIX/bin]
22976 --sbindir=DIR system admin executables [EPREFIX/sbin]
22977 --libexecdir=DIR program executables [EPREFIX/libexec]
22978 - --datadir=DIR read-only architecture-independent data [PREFIX/share]
22979 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
22980 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
22981 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
22982 --libdir=DIR object code libraries [EPREFIX/lib]
22983 --includedir=DIR C header files [PREFIX/include]
22984 --oldincludedir=DIR C header files for non-gcc [/usr/include]
22985 - --infodir=DIR info documentation [PREFIX/info]
22986 - --mandir=DIR man documentation [PREFIX/man]
22987 + --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
22988 + --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
22989 + --infodir=DIR info documentation [DATAROOTDIR/info]
22990 + --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
22991 + --mandir=DIR man documentation [DATAROOTDIR/man]
22992 + --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
22993 + --htmldir=DIR html documentation [DOCDIR]
22994 + --dvidir=DIR dvi documentation [DOCDIR]
22995 + --pdfdir=DIR pdf documentation [DOCDIR]
22996 + --psdir=DIR ps documentation [DOCDIR]
22997 _ACEOF
22998
22999 cat <<\_ACEOF
23000 @@ -876,126 +1370,100 @@ Some influential environment variables:
23001 CFLAGS C compiler flags
23002 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
23003 nonstandard directory <lib dir>
23004 - CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
23005 - headers in a nonstandard directory <include dir>
23006 + LIBS libraries to pass to the linker, e.g. -l<library>
23007 + CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
23008 + you have headers in a nonstandard directory <include dir>
23009 + YACC The `Yet Another C Compiler' implementation to use. Defaults to
23010 + the first program found out of: `bison -y', `byacc', `yacc'.
23011 + YFLAGS The list of arguments that will be passed by default to $YACC.
23012 + This script will default YFLAGS to the empty string to avoid a
23013 + default value of `-d' given by some make applications.
23014 CPP C preprocessor
23015
23016 Use these variables to override the choices made by `configure' or to help
23017 it to find libraries and programs with nonstandard names/locations.
23018
23019 _ACEOF
23020 +ac_status=$?
23021 fi
23022
23023 if test "$ac_init_help" = "recursive"; then
23024 # If there are subdirs, report their specific --help.
23025 - ac_popdir=`pwd`
23026 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
23027 - test -d $ac_dir || continue
23028 + test -d "$ac_dir" || continue
23029 ac_builddir=.
23030
23031 -if test "$ac_dir" != .; then
23032 +case "$ac_dir" in
23033 +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
23034 +*)
23035 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
23036 - # A "../" for each directory in $ac_dir_suffix.
23037 - ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
23038 -else
23039 - ac_dir_suffix= ac_top_builddir=
23040 -fi
23041 + # A ".." for each directory in $ac_dir_suffix.
23042 + ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
23043 + case $ac_top_builddir_sub in
23044 + "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
23045 + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
23046 + esac ;;
23047 +esac
23048 +ac_abs_top_builddir=$ac_pwd
23049 +ac_abs_builddir=$ac_pwd$ac_dir_suffix
23050 +# for backward compatibility:
23051 +ac_top_builddir=$ac_top_build_prefix
23052
23053 case $srcdir in
23054 - .) # No --srcdir option. We are building in place.
23055 + .) # We are building in place.
23056 ac_srcdir=.
23057 - if test -z "$ac_top_builddir"; then
23058 - ac_top_srcdir=.
23059 - else
23060 - ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
23061 - fi ;;
23062 - [\\/]* | ?:[\\/]* ) # Absolute path.
23063 + ac_top_srcdir=$ac_top_builddir_sub
23064 + ac_abs_top_srcdir=$ac_pwd ;;
23065 + [\\/]* | ?:[\\/]* ) # Absolute name.
23066 ac_srcdir=$srcdir$ac_dir_suffix;
23067 - ac_top_srcdir=$srcdir ;;
23068 - *) # Relative path.
23069 - ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
23070 - ac_top_srcdir=$ac_top_builddir$srcdir ;;
23071 -esac
23072 -
23073 -# Do not use `cd foo && pwd` to compute absolute paths, because
23074 -# the directories may not exist.
23075 -case `pwd` in
23076 -.) ac_abs_builddir="$ac_dir";;
23077 -*)
23078 - case "$ac_dir" in
23079 - .) ac_abs_builddir=`pwd`;;
23080 - [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
23081 - *) ac_abs_builddir=`pwd`/"$ac_dir";;
23082 - esac;;
23083 -esac
23084 -case $ac_abs_builddir in
23085 -.) ac_abs_top_builddir=${ac_top_builddir}.;;
23086 -*)
23087 - case ${ac_top_builddir}. in
23088 - .) ac_abs_top_builddir=$ac_abs_builddir;;
23089 - [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
23090 - *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
23091 - esac;;
23092 -esac
23093 -case $ac_abs_builddir in
23094 -.) ac_abs_srcdir=$ac_srcdir;;
23095 -*)
23096 - case $ac_srcdir in
23097 - .) ac_abs_srcdir=$ac_abs_builddir;;
23098 - [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
23099 - *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
23100 - esac;;
23101 -esac
23102 -case $ac_abs_builddir in
23103 -.) ac_abs_top_srcdir=$ac_top_srcdir;;
23104 -*)
23105 - case $ac_top_srcdir in
23106 - .) ac_abs_top_srcdir=$ac_abs_builddir;;
23107 - [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
23108 - *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
23109 - esac;;
23110 -esac
23111 -
23112 - cd $ac_dir
23113 - # Check for guested configure; otherwise get Cygnus style configure.
23114 - if test -f $ac_srcdir/configure.gnu; then
23115 - echo
23116 - $SHELL $ac_srcdir/configure.gnu --help=recursive
23117 - elif test -f $ac_srcdir/configure; then
23118 - echo
23119 - $SHELL $ac_srcdir/configure --help=recursive
23120 - elif test -f $ac_srcdir/configure.ac ||
23121 - test -f $ac_srcdir/configure.in; then
23122 - echo
23123 - $ac_configure --help
23124 + ac_top_srcdir=$srcdir
23125 + ac_abs_top_srcdir=$srcdir ;;
23126 + *) # Relative name.
23127 + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
23128 + ac_top_srcdir=$ac_top_build_prefix$srcdir
23129 + ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
23130 +esac
23131 +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
23132 +
23133 + cd "$ac_dir" || { ac_status=$?; continue; }
23134 + # Check for guested configure.
23135 + if test -f "$ac_srcdir/configure.gnu"; then
23136 + echo &&
23137 + $SHELL "$ac_srcdir/configure.gnu" --help=recursive
23138 + elif test -f "$ac_srcdir/configure"; then
23139 + echo &&
23140 + $SHELL "$ac_srcdir/configure" --help=recursive
23141 else
23142 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
23143 - fi
23144 - cd $ac_popdir
23145 + fi || ac_status=$?
23146 + cd "$ac_pwd" || { ac_status=$?; break; }
23147 done
23148 fi
23149
23150 -test -n "$ac_init_help" && exit 0
23151 +test -n "$ac_init_help" && exit $ac_status
23152 if $ac_init_version; then
23153 cat <<\_ACEOF
23154 +configure
23155 +generated by GNU Autoconf 2.61
23156
23157 -Copyright (C) 2003 Free Software Foundation, Inc.
23158 +Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
23159 +2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
23160 This configure script is free software; the Free Software Foundation
23161 gives unlimited permission to copy, distribute and modify it.
23162 _ACEOF
23163 - exit 0
23164 + exit
23165 fi
23166 -exec 5>config.log
23167 -cat >&5 <<_ACEOF
23168 +cat >config.log <<_ACEOF
23169 This file contains any messages produced by compilers while
23170 running configure, to aid debugging if configure makes a mistake.
23171
23172 It was created by $as_me, which was
23173 -generated by GNU Autoconf 2.59. Invocation command line was
23174 +generated by GNU Autoconf 2.61. Invocation command line was
23175
23176 $ $0 $@
23177
23178 _ACEOF
23179 +exec 5>>config.log
23180 {
23181 cat <<_ASUNAME
23182 ## --------- ##
23183 @@ -1014,7 +1482,7 @@ uname -v = `(uname -v) 2>/dev/null || ec
23184 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
23185 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
23186 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
23187 -hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
23188 +/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
23189 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
23190 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
23191 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
23192 @@ -1028,6 +1496,7 @@ do
23193 test -z "$as_dir" && as_dir=.
23194 echo "PATH: $as_dir"
23195 done
23196 +IFS=$as_save_IFS
23197
23198 } >&5
23199
23200 @@ -1049,7 +1518,6 @@ _ACEOF
23201 ac_configure_args=
23202 ac_configure_args0=
23203 ac_configure_args1=
23204 -ac_sep=
23205 ac_must_keep_next=false
23206 for ac_pass in 1 2
23207 do
23208 @@ -1060,7 +1528,7 @@ do
23209 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
23210 | -silent | --silent | --silen | --sile | --sil)
23211 continue ;;
23212 - *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
23213 + *\'*)
23214 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
23215 esac
23216 case $ac_pass in
23217 @@ -1082,9 +1550,7 @@ do
23218 -* ) ac_must_keep_next=true ;;
23219 esac
23220 fi
23221 - ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
23222 - # Get rid of the leading space.
23223 - ac_sep=" "
23224 + ac_configure_args="$ac_configure_args '$ac_arg'"
23225 ;;
23226 esac
23227 done
23228 @@ -1095,8 +1561,8 @@ $as_unset ac_configure_args1 || test "${
23229 # When interrupted or exit'd, cleanup temporary files, and complete
23230 # config.log. We remove comments because anyway the quotes in there
23231 # would cause problems or look ugly.
23232 -# WARNING: Be sure not to use single quotes in there, as some shells,
23233 -# such as our DU 5.0 friend, will then `close' the trap.
23234 +# WARNING: Use '\'' to represent an apostrophe within the trap.
23235 +# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
23236 trap 'exit_status=$?
23237 # Save into config.log some information that might help in debugging.
23238 {
23239 @@ -1109,20 +1575,34 @@ trap 'exit_status=$?
23240 _ASBOX
23241 echo
23242 # The following way of writing the cache mishandles newlines in values,
23243 -{
23244 +(
23245 + for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
23246 + eval ac_val=\$$ac_var
23247 + case $ac_val in #(
23248 + *${as_nl}*)
23249 + case $ac_var in #(
23250 + *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
23251 +echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
23252 + esac
23253 + case $ac_var in #(
23254 + _ | IFS | as_nl) ;; #(
23255 + *) $as_unset $ac_var ;;
23256 + esac ;;
23257 + esac
23258 + done
23259 (set) 2>&1 |
23260 - case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
23261 - *ac_space=\ *)
23262 + case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
23263 + *${as_nl}ac_space=\ *)
23264 sed -n \
23265 - "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
23266 - s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
23267 - ;;
23268 + "s/'\''/'\''\\\\'\'''\''/g;
23269 + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
23270 + ;; #(
23271 *)
23272 - sed -n \
23273 - "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
23274 + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
23275 ;;
23276 - esac;
23277 -}
23278 + esac |
23279 + sort
23280 +)
23281 echo
23282
23283 cat <<\_ASBOX
23284 @@ -1133,22 +1613,28 @@ _ASBOX
23285 echo
23286 for ac_var in $ac_subst_vars
23287 do
23288 - eval ac_val=$`echo $ac_var`
23289 - echo "$ac_var='"'"'$ac_val'"'"'"
23290 + eval ac_val=\$$ac_var
23291 + case $ac_val in
23292 + *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
23293 + esac
23294 + echo "$ac_var='\''$ac_val'\''"
23295 done | sort
23296 echo
23297
23298 if test -n "$ac_subst_files"; then
23299 cat <<\_ASBOX
23300 -## ------------- ##
23301 -## Output files. ##
23302 -## ------------- ##
23303 +## ------------------- ##
23304 +## File substitutions. ##
23305 +## ------------------- ##
23306 _ASBOX
23307 echo
23308 for ac_var in $ac_subst_files
23309 do
23310 - eval ac_val=$`echo $ac_var`
23311 - echo "$ac_var='"'"'$ac_val'"'"'"
23312 + eval ac_val=\$$ac_var
23313 + case $ac_val in
23314 + *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
23315 + esac
23316 + echo "$ac_var='\''$ac_val'\''"
23317 done | sort
23318 echo
23319 fi
23320 @@ -1160,26 +1646,24 @@ _ASBOX
23321 ## ----------- ##
23322 _ASBOX
23323 echo
23324 - sed "/^$/d" confdefs.h | sort
23325 + cat confdefs.h
23326 echo
23327 fi
23328 test "$ac_signal" != 0 &&
23329 echo "$as_me: caught signal $ac_signal"
23330 echo "$as_me: exit $exit_status"
23331 } >&5
23332 - rm -f core *.core &&
23333 - rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
23334 + rm -f core *.core core.conftest.* &&
23335 + rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
23336 exit $exit_status
23337 - ' 0
23338 +' 0
23339 for ac_signal in 1 2 13 15; do
23340 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
23341 done
23342 ac_signal=0
23343
23344 # confdefs.h avoids OS command line length limits that DEFS can exceed.
23345 -rm -rf conftest* confdefs.h
23346 -# AIX cpp loses on an empty file, so make sure it contains at least a newline.
23347 -echo >confdefs.h
23348 +rm -f -r conftest* confdefs.h
23349
23350 # Predefined preprocessor variables.
23351
23352 @@ -1210,14 +1694,17 @@ _ACEOF
23353
23354 # Let the site file select an alternate cache file if it wants to.
23355 # Prefer explicitly selected file to automatically selected ones.
23356 -if test -z "$CONFIG_SITE"; then
23357 - if test "x$prefix" != xNONE; then
23358 - CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
23359 - else
23360 - CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
23361 - fi
23362 +if test -n "$CONFIG_SITE"; then
23363 + set x "$CONFIG_SITE"
23364 +elif test "x$prefix" != xNONE; then
23365 + set x "$prefix/share/config.site" "$prefix/etc/config.site"
23366 +else
23367 + set x "$ac_default_prefix/share/config.site" \
23368 + "$ac_default_prefix/etc/config.site"
23369 fi
23370 -for ac_site_file in $CONFIG_SITE; do
23371 +shift
23372 +for ac_site_file
23373 +do
23374 if test -r "$ac_site_file"; then
23375 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
23376 echo "$as_me: loading site script $ac_site_file" >&6;}
23377 @@ -1233,8 +1720,8 @@ if test -r "$cache_file"; then
23378 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
23379 echo "$as_me: loading cache $cache_file" >&6;}
23380 case $cache_file in
23381 - [\\/]* | ?:[\\/]* ) . $cache_file;;
23382 - *) . ./$cache_file;;
23383 + [\\/]* | ?:[\\/]* ) . "$cache_file";;
23384 + *) . "./$cache_file";;
23385 esac
23386 fi
23387 else
23388 @@ -1246,12 +1733,11 @@ fi
23389 # Check that the precious variables saved in the cache have kept the same
23390 # value.
23391 ac_cache_corrupted=false
23392 -for ac_var in `(set) 2>&1 |
23393 - sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
23394 +for ac_var in $ac_precious_vars; do
23395 eval ac_old_set=\$ac_cv_env_${ac_var}_set
23396 eval ac_new_set=\$ac_env_${ac_var}_set
23397 - eval ac_old_val="\$ac_cv_env_${ac_var}_value"
23398 - eval ac_new_val="\$ac_env_${ac_var}_value"
23399 + eval ac_old_val=\$ac_cv_env_${ac_var}_value
23400 + eval ac_new_val=\$ac_env_${ac_var}_value
23401 case $ac_old_set,$ac_new_set in
23402 set,)
23403 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
23404 @@ -1276,8 +1762,7 @@ echo "$as_me: current value: $ac_new_v
23405 # Pass precious variables to config.status.
23406 if test "$ac_new_set" = set; then
23407 case $ac_new_val in
23408 - *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
23409 - ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
23410 + *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
23411 *) ac_arg=$ac_var=$ac_new_val ;;
23412 esac
23413 case " $ac_configure_args " in
23414 @@ -1294,12 +1779,6 @@ echo "$as_me: error: run \`make distclea
23415 { (exit 1); exit 1; }; }
23416 fi
23417
23418 -ac_ext=c
23419 -ac_cpp='$CPP $CPPFLAGS'
23420 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23421 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23422 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
23423 -
23424
23425
23426
23427 @@ -1316,108 +1795,163 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
23428
23429
23430
23431 +ac_ext=c
23432 +ac_cpp='$CPP $CPPFLAGS'
23433 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23434 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23435 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
23436
23437
23438
23439 ac_aux_dir=
23440 -for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
23441 - if test -f $ac_dir/install-sh; then
23442 +for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
23443 + if test -f "$ac_dir/install-sh"; then
23444 ac_aux_dir=$ac_dir
23445 ac_install_sh="$ac_aux_dir/install-sh -c"
23446 break
23447 - elif test -f $ac_dir/install.sh; then
23448 + elif test -f "$ac_dir/install.sh"; then
23449 ac_aux_dir=$ac_dir
23450 ac_install_sh="$ac_aux_dir/install.sh -c"
23451 break
23452 - elif test -f $ac_dir/shtool; then
23453 + elif test -f "$ac_dir/shtool"; then
23454 ac_aux_dir=$ac_dir
23455 ac_install_sh="$ac_aux_dir/shtool install -c"
23456 break
23457 fi
23458 done
23459 if test -z "$ac_aux_dir"; then
23460 - { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
23461 -echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
23462 + { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
23463 +echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
23464 { (exit 1); exit 1; }; }
23465 fi
23466 -ac_config_guess="$SHELL $ac_aux_dir/config.guess"
23467 -ac_config_sub="$SHELL $ac_aux_dir/config.sub"
23468 -ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
23469 +
23470 +# These three variables are undocumented and unsupported,
23471 +# and are intended to be withdrawn in a future Autoconf release.
23472 +# They can cause serious problems if a builder's source tree is in a directory
23473 +# whose full name contains unusual characters.
23474 +ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
23475 +ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
23476 +ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
23477 +
23478
23479 # Make sure we can run config.sub.
23480 -$ac_config_sub sun4 >/dev/null 2>&1 ||
23481 - { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
23482 -echo "$as_me: error: cannot run $ac_config_sub" >&2;}
23483 +$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
23484 + { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
23485 +echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
23486 { (exit 1); exit 1; }; }
23487
23488 -echo "$as_me:$LINENO: checking build system type" >&5
23489 -echo $ECHO_N "checking build system type... $ECHO_C" >&6
23490 +{ echo "$as_me:$LINENO: checking build system type" >&5
23491 +echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
23492 if test "${ac_cv_build+set}" = set; then
23493 echo $ECHO_N "(cached) $ECHO_C" >&6
23494 else
23495 - ac_cv_build_alias=$build_alias
23496 -test -z "$ac_cv_build_alias" &&
23497 - ac_cv_build_alias=`$ac_config_guess`
23498 -test -z "$ac_cv_build_alias" &&
23499 + ac_build_alias=$build_alias
23500 +test "x$ac_build_alias" = x &&
23501 + ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
23502 +test "x$ac_build_alias" = x &&
23503 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
23504 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
23505 { (exit 1); exit 1; }; }
23506 -ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
23507 - { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
23508 -echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
23509 +ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
23510 + { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
23511 +echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
23512 { (exit 1); exit 1; }; }
23513
23514 fi
23515 -echo "$as_me:$LINENO: result: $ac_cv_build" >&5
23516 -echo "${ECHO_T}$ac_cv_build" >&6
23517 +{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
23518 +echo "${ECHO_T}$ac_cv_build" >&6; }
23519 +case $ac_cv_build in
23520 +*-*-*) ;;
23521 +*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
23522 +echo "$as_me: error: invalid value of canonical build" >&2;}
23523 + { (exit 1); exit 1; }; };;
23524 +esac
23525 build=$ac_cv_build
23526 -build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
23527 -build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
23528 -build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
23529 +ac_save_IFS=$IFS; IFS='-'
23530 +set x $ac_cv_build
23531 +shift
23532 +build_cpu=$1
23533 +build_vendor=$2
23534 +shift; shift
23535 +# Remember, the first character of IFS is used to create $*,
23536 +# except with old shells:
23537 +build_os=$*
23538 +IFS=$ac_save_IFS
23539 +case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
23540
23541
23542 -echo "$as_me:$LINENO: checking host system type" >&5
23543 -echo $ECHO_N "checking host system type... $ECHO_C" >&6
23544 +{ echo "$as_me:$LINENO: checking host system type" >&5
23545 +echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
23546 if test "${ac_cv_host+set}" = set; then
23547 echo $ECHO_N "(cached) $ECHO_C" >&6
23548 else
23549 - ac_cv_host_alias=$host_alias
23550 -test -z "$ac_cv_host_alias" &&
23551 - ac_cv_host_alias=$ac_cv_build_alias
23552 -ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
23553 - { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
23554 -echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
23555 + if test "x$host_alias" = x; then
23556 + ac_cv_host=$ac_cv_build
23557 +else
23558 + ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
23559 + { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
23560 +echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
23561 { (exit 1); exit 1; }; }
23562 +fi
23563
23564 fi
23565 -echo "$as_me:$LINENO: result: $ac_cv_host" >&5
23566 -echo "${ECHO_T}$ac_cv_host" >&6
23567 +{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
23568 +echo "${ECHO_T}$ac_cv_host" >&6; }
23569 +case $ac_cv_host in
23570 +*-*-*) ;;
23571 +*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
23572 +echo "$as_me: error: invalid value of canonical host" >&2;}
23573 + { (exit 1); exit 1; }; };;
23574 +esac
23575 host=$ac_cv_host
23576 -host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
23577 -host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
23578 -host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
23579 +ac_save_IFS=$IFS; IFS='-'
23580 +set x $ac_cv_host
23581 +shift
23582 +host_cpu=$1
23583 +host_vendor=$2
23584 +shift; shift
23585 +# Remember, the first character of IFS is used to create $*,
23586 +# except with old shells:
23587 +host_os=$*
23588 +IFS=$ac_save_IFS
23589 +case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
23590
23591
23592 -echo "$as_me:$LINENO: checking target system type" >&5
23593 -echo $ECHO_N "checking target system type... $ECHO_C" >&6
23594 +{ echo "$as_me:$LINENO: checking target system type" >&5
23595 +echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
23596 if test "${ac_cv_target+set}" = set; then
23597 echo $ECHO_N "(cached) $ECHO_C" >&6
23598 else
23599 - ac_cv_target_alias=$target_alias
23600 -test "x$ac_cv_target_alias" = "x" &&
23601 - ac_cv_target_alias=$ac_cv_host_alias
23602 -ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
23603 - { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
23604 -echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
23605 + if test "x$target_alias" = x; then
23606 + ac_cv_target=$ac_cv_host
23607 +else
23608 + ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
23609 + { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
23610 +echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
23611 { (exit 1); exit 1; }; }
23612 +fi
23613
23614 fi
23615 -echo "$as_me:$LINENO: result: $ac_cv_target" >&5
23616 -echo "${ECHO_T}$ac_cv_target" >&6
23617 +{ echo "$as_me:$LINENO: result: $ac_cv_target" >&5
23618 +echo "${ECHO_T}$ac_cv_target" >&6; }
23619 +case $ac_cv_target in
23620 +*-*-*) ;;
23621 +*) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
23622 +echo "$as_me: error: invalid value of canonical target" >&2;}
23623 + { (exit 1); exit 1; }; };;
23624 +esac
23625 target=$ac_cv_target
23626 -target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
23627 -target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
23628 -target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
23629 +ac_save_IFS=$IFS; IFS='-'
23630 +set x $ac_cv_target
23631 +shift
23632 +target_cpu=$1
23633 +target_vendor=$2
23634 +shift; shift
23635 +# Remember, the first character of IFS is used to create $*,
23636 +# except with old shells:
23637 +target_os=$*
23638 +IFS=$ac_save_IFS
23639 +case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
23640
23641
23642 # The aliases save the names the user supplied, while $host etc.
23643 @@ -1434,8 +1968,8 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
23644 if test -n "$ac_tool_prefix"; then
23645 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
23646 set dummy ${ac_tool_prefix}gcc; ac_word=$2
23647 -echo "$as_me:$LINENO: checking for $ac_word" >&5
23648 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23649 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
23650 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
23651 if test "${ac_cv_prog_CC+set}" = set; then
23652 echo $ECHO_N "(cached) $ECHO_C" >&6
23653 else
23654 @@ -1448,32 +1982,34 @@ do
23655 IFS=$as_save_IFS
23656 test -z "$as_dir" && as_dir=.
23657 for ac_exec_ext in '' $ac_executable_extensions; do
23658 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23659 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23660 ac_cv_prog_CC="${ac_tool_prefix}gcc"
23661 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23662 break 2
23663 fi
23664 done
23665 done
23666 +IFS=$as_save_IFS
23667
23668 fi
23669 fi
23670 CC=$ac_cv_prog_CC
23671 if test -n "$CC"; then
23672 - echo "$as_me:$LINENO: result: $CC" >&5
23673 -echo "${ECHO_T}$CC" >&6
23674 + { echo "$as_me:$LINENO: result: $CC" >&5
23675 +echo "${ECHO_T}$CC" >&6; }
23676 else
23677 - echo "$as_me:$LINENO: result: no" >&5
23678 -echo "${ECHO_T}no" >&6
23679 + { echo "$as_me:$LINENO: result: no" >&5
23680 +echo "${ECHO_T}no" >&6; }
23681 fi
23682
23683 +
23684 fi
23685 if test -z "$ac_cv_prog_CC"; then
23686 ac_ct_CC=$CC
23687 # Extract the first word of "gcc", so it can be a program name with args.
23688 set dummy gcc; ac_word=$2
23689 -echo "$as_me:$LINENO: checking for $ac_word" >&5
23690 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23691 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
23692 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
23693 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
23694 echo $ECHO_N "(cached) $ECHO_C" >&6
23695 else
23696 @@ -1486,36 +2022,51 @@ do
23697 IFS=$as_save_IFS
23698 test -z "$as_dir" && as_dir=.
23699 for ac_exec_ext in '' $ac_executable_extensions; do
23700 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23701 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23702 ac_cv_prog_ac_ct_CC="gcc"
23703 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23704 break 2
23705 fi
23706 done
23707 done
23708 +IFS=$as_save_IFS
23709
23710 fi
23711 fi
23712 ac_ct_CC=$ac_cv_prog_ac_ct_CC
23713 if test -n "$ac_ct_CC"; then
23714 - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
23715 -echo "${ECHO_T}$ac_ct_CC" >&6
23716 + { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
23717 +echo "${ECHO_T}$ac_ct_CC" >&6; }
23718 else
23719 - echo "$as_me:$LINENO: result: no" >&5
23720 -echo "${ECHO_T}no" >&6
23721 + { echo "$as_me:$LINENO: result: no" >&5
23722 +echo "${ECHO_T}no" >&6; }
23723 fi
23724
23725 - CC=$ac_ct_CC
23726 + if test "x$ac_ct_CC" = x; then
23727 + CC=""
23728 + else
23729 + case $cross_compiling:$ac_tool_warned in
23730 +yes:)
23731 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
23732 +whose name does not start with the host triplet. If you think this
23733 +configuration is useful to you, please write to autoconf@gnu.org." >&5
23734 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
23735 +whose name does not start with the host triplet. If you think this
23736 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
23737 +ac_tool_warned=yes ;;
23738 +esac
23739 + CC=$ac_ct_CC
23740 + fi
23741 else
23742 CC="$ac_cv_prog_CC"
23743 fi
23744
23745 if test -z "$CC"; then
23746 - if test -n "$ac_tool_prefix"; then
23747 - # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
23748 + if test -n "$ac_tool_prefix"; then
23749 + # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
23750 set dummy ${ac_tool_prefix}cc; ac_word=$2
23751 -echo "$as_me:$LINENO: checking for $ac_word" >&5
23752 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23753 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
23754 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
23755 if test "${ac_cv_prog_CC+set}" = set; then
23756 echo $ECHO_N "(cached) $ECHO_C" >&6
23757 else
23758 @@ -1528,74 +2079,34 @@ do
23759 IFS=$as_save_IFS
23760 test -z "$as_dir" && as_dir=.
23761 for ac_exec_ext in '' $ac_executable_extensions; do
23762 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23763 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23764 ac_cv_prog_CC="${ac_tool_prefix}cc"
23765 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23766 break 2
23767 fi
23768 done
23769 done
23770 +IFS=$as_save_IFS
23771
23772 fi
23773 fi
23774 CC=$ac_cv_prog_CC
23775 if test -n "$CC"; then
23776 - echo "$as_me:$LINENO: result: $CC" >&5
23777 -echo "${ECHO_T}$CC" >&6
23778 -else
23779 - echo "$as_me:$LINENO: result: no" >&5
23780 -echo "${ECHO_T}no" >&6
23781 -fi
23782 -
23783 -fi
23784 -if test -z "$ac_cv_prog_CC"; then
23785 - ac_ct_CC=$CC
23786 - # Extract the first word of "cc", so it can be a program name with args.
23787 -set dummy cc; ac_word=$2
23788 -echo "$as_me:$LINENO: checking for $ac_word" >&5
23789 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23790 -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
23791 - echo $ECHO_N "(cached) $ECHO_C" >&6
23792 -else
23793 - if test -n "$ac_ct_CC"; then
23794 - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
23795 -else
23796 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23797 -for as_dir in $PATH
23798 -do
23799 - IFS=$as_save_IFS
23800 - test -z "$as_dir" && as_dir=.
23801 - for ac_exec_ext in '' $ac_executable_extensions; do
23802 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23803 - ac_cv_prog_ac_ct_CC="cc"
23804 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23805 - break 2
23806 - fi
23807 -done
23808 -done
23809 -
23810 -fi
23811 -fi
23812 -ac_ct_CC=$ac_cv_prog_ac_ct_CC
23813 -if test -n "$ac_ct_CC"; then
23814 - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
23815 -echo "${ECHO_T}$ac_ct_CC" >&6
23816 + { echo "$as_me:$LINENO: result: $CC" >&5
23817 +echo "${ECHO_T}$CC" >&6; }
23818 else
23819 - echo "$as_me:$LINENO: result: no" >&5
23820 -echo "${ECHO_T}no" >&6
23821 + { echo "$as_me:$LINENO: result: no" >&5
23822 +echo "${ECHO_T}no" >&6; }
23823 fi
23824
23825 - CC=$ac_ct_CC
23826 -else
23827 - CC="$ac_cv_prog_CC"
23828 -fi
23829
23830 + fi
23831 fi
23832 if test -z "$CC"; then
23833 # Extract the first word of "cc", so it can be a program name with args.
23834 set dummy cc; ac_word=$2
23835 -echo "$as_me:$LINENO: checking for $ac_word" >&5
23836 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23837 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
23838 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
23839 if test "${ac_cv_prog_CC+set}" = set; then
23840 echo $ECHO_N "(cached) $ECHO_C" >&6
23841 else
23842 @@ -1609,7 +2120,7 @@ do
23843 IFS=$as_save_IFS
23844 test -z "$as_dir" && as_dir=.
23845 for ac_exec_ext in '' $ac_executable_extensions; do
23846 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23847 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23848 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
23849 ac_prog_rejected=yes
23850 continue
23851 @@ -1620,6 +2131,7 @@ do
23852 fi
23853 done
23854 done
23855 +IFS=$as_save_IFS
23856
23857 if test $ac_prog_rejected = yes; then
23858 # We found a bogon in the path, so make sure we never use it.
23859 @@ -1637,22 +2149,23 @@ fi
23860 fi
23861 CC=$ac_cv_prog_CC
23862 if test -n "$CC"; then
23863 - echo "$as_me:$LINENO: result: $CC" >&5
23864 -echo "${ECHO_T}$CC" >&6
23865 + { echo "$as_me:$LINENO: result: $CC" >&5
23866 +echo "${ECHO_T}$CC" >&6; }
23867 else
23868 - echo "$as_me:$LINENO: result: no" >&5
23869 -echo "${ECHO_T}no" >&6
23870 + { echo "$as_me:$LINENO: result: no" >&5
23871 +echo "${ECHO_T}no" >&6; }
23872 fi
23873
23874 +
23875 fi
23876 if test -z "$CC"; then
23877 if test -n "$ac_tool_prefix"; then
23878 - for ac_prog in cl
23879 + for ac_prog in cl.exe
23880 do
23881 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
23882 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
23883 -echo "$as_me:$LINENO: checking for $ac_word" >&5
23884 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23885 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
23886 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
23887 if test "${ac_cv_prog_CC+set}" = set; then
23888 echo $ECHO_N "(cached) $ECHO_C" >&6
23889 else
23890 @@ -1665,36 +2178,38 @@ do
23891 IFS=$as_save_IFS
23892 test -z "$as_dir" && as_dir=.
23893 for ac_exec_ext in '' $ac_executable_extensions; do
23894 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23895 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23896 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
23897 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23898 break 2
23899 fi
23900 done
23901 done
23902 +IFS=$as_save_IFS
23903
23904 fi
23905 fi
23906 CC=$ac_cv_prog_CC
23907 if test -n "$CC"; then
23908 - echo "$as_me:$LINENO: result: $CC" >&5
23909 -echo "${ECHO_T}$CC" >&6
23910 + { echo "$as_me:$LINENO: result: $CC" >&5
23911 +echo "${ECHO_T}$CC" >&6; }
23912 else
23913 - echo "$as_me:$LINENO: result: no" >&5
23914 -echo "${ECHO_T}no" >&6
23915 + { echo "$as_me:$LINENO: result: no" >&5
23916 +echo "${ECHO_T}no" >&6; }
23917 fi
23918
23919 +
23920 test -n "$CC" && break
23921 done
23922 fi
23923 if test -z "$CC"; then
23924 ac_ct_CC=$CC
23925 - for ac_prog in cl
23926 + for ac_prog in cl.exe
23927 do
23928 # Extract the first word of "$ac_prog", so it can be a program name with args.
23929 set dummy $ac_prog; ac_word=$2
23930 -echo "$as_me:$LINENO: checking for $ac_word" >&5
23931 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23932 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
23933 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
23934 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
23935 echo $ECHO_N "(cached) $ECHO_C" >&6
23936 else
23937 @@ -1707,29 +2222,45 @@ do
23938 IFS=$as_save_IFS
23939 test -z "$as_dir" && as_dir=.
23940 for ac_exec_ext in '' $ac_executable_extensions; do
23941 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23942 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23943 ac_cv_prog_ac_ct_CC="$ac_prog"
23944 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23945 break 2
23946 fi
23947 done
23948 done
23949 +IFS=$as_save_IFS
23950
23951 fi
23952 fi
23953 ac_ct_CC=$ac_cv_prog_ac_ct_CC
23954 if test -n "$ac_ct_CC"; then
23955 - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
23956 -echo "${ECHO_T}$ac_ct_CC" >&6
23957 + { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
23958 +echo "${ECHO_T}$ac_ct_CC" >&6; }
23959 else
23960 - echo "$as_me:$LINENO: result: no" >&5
23961 -echo "${ECHO_T}no" >&6
23962 + { echo "$as_me:$LINENO: result: no" >&5
23963 +echo "${ECHO_T}no" >&6; }
23964 fi
23965
23966 +
23967 test -n "$ac_ct_CC" && break
23968 done
23969
23970 - CC=$ac_ct_CC
23971 + if test "x$ac_ct_CC" = x; then
23972 + CC=""
23973 + else
23974 + case $cross_compiling:$ac_tool_warned in
23975 +yes:)
23976 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
23977 +whose name does not start with the host triplet. If you think this
23978 +configuration is useful to you, please write to autoconf@gnu.org." >&5
23979 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
23980 +whose name does not start with the host triplet. If you think this
23981 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
23982 +ac_tool_warned=yes ;;
23983 +esac
23984 + CC=$ac_ct_CC
23985 + fi
23986 fi
23987
23988 fi
23989 @@ -1742,21 +2273,35 @@ See \`config.log' for more details." >&2
23990 { (exit 1); exit 1; }; }
23991
23992 # Provide some information about the compiler.
23993 -echo "$as_me:$LINENO:" \
23994 - "checking for C compiler version" >&5
23995 +echo "$as_me:$LINENO: checking for C compiler version" >&5
23996 ac_compiler=`set X $ac_compile; echo $2`
23997 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
23998 - (eval $ac_compiler --version </dev/null >&5) 2>&5
23999 +{ (ac_try="$ac_compiler --version >&5"
24000 +case "(($ac_try" in
24001 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24002 + *) ac_try_echo=$ac_try;;
24003 +esac
24004 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24005 + (eval "$ac_compiler --version >&5") 2>&5
24006 ac_status=$?
24007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24008 (exit $ac_status); }
24009 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
24010 - (eval $ac_compiler -v </dev/null >&5) 2>&5
24011 +{ (ac_try="$ac_compiler -v >&5"
24012 +case "(($ac_try" in
24013 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24014 + *) ac_try_echo=$ac_try;;
24015 +esac
24016 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24017 + (eval "$ac_compiler -v >&5") 2>&5
24018 ac_status=$?
24019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24020 (exit $ac_status); }
24021 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
24022 - (eval $ac_compiler -V </dev/null >&5) 2>&5
24023 +{ (ac_try="$ac_compiler -V >&5"
24024 +case "(($ac_try" in
24025 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24026 + *) ac_try_echo=$ac_try;;
24027 +esac
24028 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24029 + (eval "$ac_compiler -V >&5") 2>&5
24030 ac_status=$?
24031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24032 (exit $ac_status); }
24033 @@ -1781,47 +2326,77 @@ ac_clean_files="$ac_clean_files a.out a.
24034 # Try to create an executable without -o first, disregard a.out.
24035 # It will help us diagnose broken compilers, and finding out an intuition
24036 # of exeext.
24037 -echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
24038 -echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
24039 +{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
24040 +echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
24041 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
24042 -if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
24043 - (eval $ac_link_default) 2>&5
24044 +#
24045 +# List of possible output files, starting from the most likely.
24046 +# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
24047 +# only as a last resort. b.out is created by i960 compilers.
24048 +ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
24049 +#
24050 +# The IRIX 6 linker writes into existing files which may not be
24051 +# executable, retaining their permissions. Remove them first so a
24052 +# subsequent execution test works.
24053 +ac_rmfiles=
24054 +for ac_file in $ac_files
24055 +do
24056 + case $ac_file in
24057 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
24058 + * ) ac_rmfiles="$ac_rmfiles $ac_file";;
24059 + esac
24060 +done
24061 +rm -f $ac_rmfiles
24062 +
24063 +if { (ac_try="$ac_link_default"
24064 +case "(($ac_try" in
24065 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24066 + *) ac_try_echo=$ac_try;;
24067 +esac
24068 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24069 + (eval "$ac_link_default") 2>&5
24070 ac_status=$?
24071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24072 (exit $ac_status); }; then
24073 - # Find the output, starting from the most likely. This scheme is
24074 -# not robust to junk in `.', hence go to wildcards (a.*) only as a last
24075 -# resort.
24076 -
24077 -# Be careful to initialize this variable, since it used to be cached.
24078 -# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
24079 -ac_cv_exeext=
24080 -# b.out is created by i960 compilers.
24081 -for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
24082 + # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
24083 +# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
24084 +# in a Makefile. We should not override ac_cv_exeext if it was cached,
24085 +# so that the user can short-circuit this test for compilers unknown to
24086 +# Autoconf.
24087 +for ac_file in $ac_files ''
24088 do
24089 test -f "$ac_file" || continue
24090 case $ac_file in
24091 - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
24092 - ;;
24093 - conftest.$ac_ext )
24094 - # This is the source file.
24095 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
24096 ;;
24097 [ab].out )
24098 # We found the default executable, but exeext='' is most
24099 # certainly right.
24100 break;;
24101 *.* )
24102 - ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
24103 - # FIXME: I believe we export ac_cv_exeext for Libtool,
24104 - # but it would be cool to find out if it's true. Does anybody
24105 - # maintain Libtool? --akim.
24106 - export ac_cv_exeext
24107 + if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
24108 + then :; else
24109 + ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
24110 + fi
24111 + # We set ac_cv_exeext here because the later test for it is not
24112 + # safe: cross compilers may not add the suffix if given an `-o'
24113 + # argument, so we may need to know it at that point already.
24114 + # Even if this section looks crufty: it has the advantage of
24115 + # actually working.
24116 break;;
24117 * )
24118 break;;
24119 esac
24120 done
24121 +test "$ac_cv_exeext" = no && ac_cv_exeext=
24122 +
24123 else
24124 + ac_file=''
24125 +fi
24126 +
24127 +{ echo "$as_me:$LINENO: result: $ac_file" >&5
24128 +echo "${ECHO_T}$ac_file" >&6; }
24129 +if test -z "$ac_file"; then
24130 echo "$as_me: failed program was:" >&5
24131 sed 's/^/| /' conftest.$ac_ext >&5
24132
24133 @@ -1833,19 +2408,21 @@ See \`config.log' for more details." >&2
24134 fi
24135
24136 ac_exeext=$ac_cv_exeext
24137 -echo "$as_me:$LINENO: result: $ac_file" >&5
24138 -echo "${ECHO_T}$ac_file" >&6
24139
24140 -# Check the compiler produces executables we can run. If not, either
24141 +# Check that the compiler produces executables we can run. If not, either
24142 # the compiler is broken, or we cross compile.
24143 -echo "$as_me:$LINENO: checking whether the C compiler works" >&5
24144 -echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
24145 +{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
24146 +echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
24147 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
24148 # If not cross compiling, check that we can run a simple program.
24149 if test "$cross_compiling" != yes; then
24150 if { ac_try='./$ac_file'
24151 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24152 - (eval $ac_try) 2>&5
24153 + { (case "(($ac_try" in
24154 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24155 + *) ac_try_echo=$ac_try;;
24156 +esac
24157 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24158 + (eval "$ac_try") 2>&5
24159 ac_status=$?
24160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24161 (exit $ac_status); }; }; then
24162 @@ -1864,22 +2441,27 @@ See \`config.log' for more details." >&2
24163 fi
24164 fi
24165 fi
24166 -echo "$as_me:$LINENO: result: yes" >&5
24167 -echo "${ECHO_T}yes" >&6
24168 +{ echo "$as_me:$LINENO: result: yes" >&5
24169 +echo "${ECHO_T}yes" >&6; }
24170
24171 rm -f a.out a.exe conftest$ac_cv_exeext b.out
24172 ac_clean_files=$ac_clean_files_save
24173 -# Check the compiler produces executables we can run. If not, either
24174 +# Check that the compiler produces executables we can run. If not, either
24175 # the compiler is broken, or we cross compile.
24176 -echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
24177 -echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
24178 -echo "$as_me:$LINENO: result: $cross_compiling" >&5
24179 -echo "${ECHO_T}$cross_compiling" >&6
24180 -
24181 -echo "$as_me:$LINENO: checking for suffix of executables" >&5
24182 -echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
24183 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24184 - (eval $ac_link) 2>&5
24185 +{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
24186 +echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
24187 +{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
24188 +echo "${ECHO_T}$cross_compiling" >&6; }
24189 +
24190 +{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
24191 +echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
24192 +if { (ac_try="$ac_link"
24193 +case "(($ac_try" in
24194 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24195 + *) ac_try_echo=$ac_try;;
24196 +esac
24197 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24198 + (eval "$ac_link") 2>&5
24199 ac_status=$?
24200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24201 (exit $ac_status); }; then
24202 @@ -1890,9 +2472,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_l
24203 for ac_file in conftest.exe conftest conftest.*; do
24204 test -f "$ac_file" || continue
24205 case $ac_file in
24206 - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
24207 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
24208 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
24209 - export ac_cv_exeext
24210 break;;
24211 * ) break;;
24212 esac
24213 @@ -1906,14 +2487,14 @@ See \`config.log' for more details." >&2
24214 fi
24215
24216 rm -f conftest$ac_cv_exeext
24217 -echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
24218 -echo "${ECHO_T}$ac_cv_exeext" >&6
24219 +{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
24220 +echo "${ECHO_T}$ac_cv_exeext" >&6; }
24221
24222 rm -f conftest.$ac_ext
24223 EXEEXT=$ac_cv_exeext
24224 ac_exeext=$EXEEXT
24225 -echo "$as_me:$LINENO: checking for suffix of object files" >&5
24226 -echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
24227 +{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
24228 +echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
24229 if test "${ac_cv_objext+set}" = set; then
24230 echo $ECHO_N "(cached) $ECHO_C" >&6
24231 else
24232 @@ -1933,14 +2514,20 @@ main ()
24233 }
24234 _ACEOF
24235 rm -f conftest.o conftest.obj
24236 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24237 - (eval $ac_compile) 2>&5
24238 +if { (ac_try="$ac_compile"
24239 +case "(($ac_try" in
24240 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24241 + *) ac_try_echo=$ac_try;;
24242 +esac
24243 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24244 + (eval "$ac_compile") 2>&5
24245 ac_status=$?
24246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24247 (exit $ac_status); }; then
24248 - for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
24249 + for ac_file in conftest.o conftest.obj conftest.*; do
24250 + test -f "$ac_file" || continue;
24251 case $ac_file in
24252 - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
24253 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
24254 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
24255 break;;
24256 esac
24257 @@ -1958,12 +2545,12 @@ fi
24258
24259 rm -f conftest.$ac_cv_objext conftest.$ac_ext
24260 fi
24261 -echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
24262 -echo "${ECHO_T}$ac_cv_objext" >&6
24263 +{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
24264 +echo "${ECHO_T}$ac_cv_objext" >&6; }
24265 OBJEXT=$ac_cv_objext
24266 ac_objext=$OBJEXT
24267 -echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
24268 -echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
24269 +{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
24270 +echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
24271 if test "${ac_cv_c_compiler_gnu+set}" = set; then
24272 echo $ECHO_N "(cached) $ECHO_C" >&6
24273 else
24274 @@ -1986,50 +2573,49 @@ main ()
24275 }
24276 _ACEOF
24277 rm -f conftest.$ac_objext
24278 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24279 - (eval $ac_compile) 2>conftest.er1
24280 +if { (ac_try="$ac_compile"
24281 +case "(($ac_try" in
24282 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24283 + *) ac_try_echo=$ac_try;;
24284 +esac
24285 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24286 + (eval "$ac_compile") 2>conftest.er1
24287 ac_status=$?
24288 grep -v '^ *+' conftest.er1 >conftest.err
24289 rm -f conftest.er1
24290 cat conftest.err >&5
24291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24292 - (exit $ac_status); } &&
24293 - { ac_try='test -z "$ac_c_werror_flag"
24294 - || test ! -s conftest.err'
24295 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24296 - (eval $ac_try) 2>&5
24297 - ac_status=$?
24298 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
24299 - (exit $ac_status); }; } &&
24300 - { ac_try='test -s conftest.$ac_objext'
24301 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24302 - (eval $ac_try) 2>&5
24303 - ac_status=$?
24304 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
24305 - (exit $ac_status); }; }; then
24306 + (exit $ac_status); } && {
24307 + test -z "$ac_c_werror_flag" ||
24308 + test ! -s conftest.err
24309 + } && test -s conftest.$ac_objext; then
24310 ac_compiler_gnu=yes
24311 else
24312 echo "$as_me: failed program was:" >&5
24313 sed 's/^/| /' conftest.$ac_ext >&5
24314
24315 -ac_compiler_gnu=no
24316 + ac_compiler_gnu=no
24317 fi
24318 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24319 +
24320 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24321 ac_cv_c_compiler_gnu=$ac_compiler_gnu
24322
24323 fi
24324 -echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
24325 -echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
24326 +{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
24327 +echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
24328 GCC=`test $ac_compiler_gnu = yes && echo yes`
24329 ac_test_CFLAGS=${CFLAGS+set}
24330 ac_save_CFLAGS=$CFLAGS
24331 -CFLAGS="-g"
24332 -echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
24333 -echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
24334 +{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
24335 +echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
24336 if test "${ac_cv_prog_cc_g+set}" = set; then
24337 echo $ECHO_N "(cached) $ECHO_C" >&6
24338 else
24339 - cat >conftest.$ac_ext <<_ACEOF
24340 + ac_save_c_werror_flag=$ac_c_werror_flag
24341 + ac_c_werror_flag=yes
24342 + ac_cv_prog_cc_g=no
24343 + CFLAGS="-g"
24344 + cat >conftest.$ac_ext <<_ACEOF
24345 /* confdefs.h. */
24346 _ACEOF
24347 cat confdefs.h >>conftest.$ac_ext
24348 @@ -2045,38 +2631,118 @@ main ()
24349 }
24350 _ACEOF
24351 rm -f conftest.$ac_objext
24352 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24353 - (eval $ac_compile) 2>conftest.er1
24354 +if { (ac_try="$ac_compile"
24355 +case "(($ac_try" in
24356 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24357 + *) ac_try_echo=$ac_try;;
24358 +esac
24359 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24360 + (eval "$ac_compile") 2>conftest.er1
24361 ac_status=$?
24362 grep -v '^ *+' conftest.er1 >conftest.err
24363 rm -f conftest.er1
24364 cat conftest.err >&5
24365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24366 - (exit $ac_status); } &&
24367 - { ac_try='test -z "$ac_c_werror_flag"
24368 - || test ! -s conftest.err'
24369 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24370 - (eval $ac_try) 2>&5
24371 + (exit $ac_status); } && {
24372 + test -z "$ac_c_werror_flag" ||
24373 + test ! -s conftest.err
24374 + } && test -s conftest.$ac_objext; then
24375 + ac_cv_prog_cc_g=yes
24376 +else
24377 + echo "$as_me: failed program was:" >&5
24378 +sed 's/^/| /' conftest.$ac_ext >&5
24379 +
24380 + CFLAGS=""
24381 + cat >conftest.$ac_ext <<_ACEOF
24382 +/* confdefs.h. */
24383 +_ACEOF
24384 +cat confdefs.h >>conftest.$ac_ext
24385 +cat >>conftest.$ac_ext <<_ACEOF
24386 +/* end confdefs.h. */
24387 +
24388 +int
24389 +main ()
24390 +{
24391 +
24392 + ;
24393 + return 0;
24394 +}
24395 +_ACEOF
24396 +rm -f conftest.$ac_objext
24397 +if { (ac_try="$ac_compile"
24398 +case "(($ac_try" in
24399 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24400 + *) ac_try_echo=$ac_try;;
24401 +esac
24402 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24403 + (eval "$ac_compile") 2>conftest.er1
24404 ac_status=$?
24405 + grep -v '^ *+' conftest.er1 >conftest.err
24406 + rm -f conftest.er1
24407 + cat conftest.err >&5
24408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24409 - (exit $ac_status); }; } &&
24410 - { ac_try='test -s conftest.$ac_objext'
24411 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24412 - (eval $ac_try) 2>&5
24413 + (exit $ac_status); } && {
24414 + test -z "$ac_c_werror_flag" ||
24415 + test ! -s conftest.err
24416 + } && test -s conftest.$ac_objext; then
24417 + :
24418 +else
24419 + echo "$as_me: failed program was:" >&5
24420 +sed 's/^/| /' conftest.$ac_ext >&5
24421 +
24422 + ac_c_werror_flag=$ac_save_c_werror_flag
24423 + CFLAGS="-g"
24424 + cat >conftest.$ac_ext <<_ACEOF
24425 +/* confdefs.h. */
24426 +_ACEOF
24427 +cat confdefs.h >>conftest.$ac_ext
24428 +cat >>conftest.$ac_ext <<_ACEOF
24429 +/* end confdefs.h. */
24430 +
24431 +int
24432 +main ()
24433 +{
24434 +
24435 + ;
24436 + return 0;
24437 +}
24438 +_ACEOF
24439 +rm -f conftest.$ac_objext
24440 +if { (ac_try="$ac_compile"
24441 +case "(($ac_try" in
24442 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24443 + *) ac_try_echo=$ac_try;;
24444 +esac
24445 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24446 + (eval "$ac_compile") 2>conftest.er1
24447 ac_status=$?
24448 + grep -v '^ *+' conftest.er1 >conftest.err
24449 + rm -f conftest.er1
24450 + cat conftest.err >&5
24451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24452 - (exit $ac_status); }; }; then
24453 + (exit $ac_status); } && {
24454 + test -z "$ac_c_werror_flag" ||
24455 + test ! -s conftest.err
24456 + } && test -s conftest.$ac_objext; then
24457 ac_cv_prog_cc_g=yes
24458 else
24459 echo "$as_me: failed program was:" >&5
24460 sed 's/^/| /' conftest.$ac_ext >&5
24461
24462 -ac_cv_prog_cc_g=no
24463 +
24464 +fi
24465 +
24466 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24467 +fi
24468 +
24469 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24470 fi
24471 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24472 +
24473 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24474 + ac_c_werror_flag=$ac_save_c_werror_flag
24475 fi
24476 -echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
24477 -echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
24478 +{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
24479 +echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
24480 if test "$ac_test_CFLAGS" = set; then
24481 CFLAGS=$ac_save_CFLAGS
24482 elif test $ac_cv_prog_cc_g = yes; then
24483 @@ -2092,12 +2758,12 @@ else
24484 CFLAGS=
24485 fi
24486 fi
24487 -echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
24488 -echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
24489 -if test "${ac_cv_prog_cc_stdc+set}" = set; then
24490 +{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
24491 +echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
24492 +if test "${ac_cv_prog_cc_c89+set}" = set; then
24493 echo $ECHO_N "(cached) $ECHO_C" >&6
24494 else
24495 - ac_cv_prog_cc_stdc=no
24496 + ac_cv_prog_cc_c89=no
24497 ac_save_CC=$CC
24498 cat >conftest.$ac_ext <<_ACEOF
24499 /* confdefs.h. */
24500 @@ -2131,12 +2797,17 @@ static char *f (char * (*g) (char **, in
24501 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
24502 function prototypes and stuff, but not '\xHH' hex character constants.
24503 These don't provoke an error unfortunately, instead are silently treated
24504 - as 'x'. The following induces an error, until -std1 is added to get
24505 + as 'x'. The following induces an error, until -std is added to get
24506 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
24507 array size at least. It's necessary to write '\x00'==0 to get something
24508 - that's true only with -std1. */
24509 + that's true only with -std. */
24510 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
24511
24512 +/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
24513 + inside strings and character constants. */
24514 +#define FOO(x) 'x'
24515 +int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
24516 +
24517 int test (int i, double x);
24518 struct s1 {int (*f) (int a);};
24519 struct s2 {int (*f) (double a);};
24520 @@ -2151,335 +2822,144 @@ return f (e, argv, 0) != argv[0] || f
24521 return 0;
24522 }
24523 _ACEOF
24524 -# Don't try gcc -ansi; that turns off useful extensions and
24525 -# breaks some systems' header files.
24526 -# AIX -qlanglvl=ansi
24527 -# Ultrix and OSF/1 -std1
24528 -# HP-UX 10.20 and later -Ae
24529 -# HP-UX older versions -Aa -D_HPUX_SOURCE
24530 -# SVR4 -Xc -D__EXTENSIONS__
24531 -for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
24532 +for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
24533 + -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
24534 do
24535 CC="$ac_save_CC $ac_arg"
24536 rm -f conftest.$ac_objext
24537 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24538 - (eval $ac_compile) 2>conftest.er1
24539 +if { (ac_try="$ac_compile"
24540 +case "(($ac_try" in
24541 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24542 + *) ac_try_echo=$ac_try;;
24543 +esac
24544 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24545 + (eval "$ac_compile") 2>conftest.er1
24546 ac_status=$?
24547 grep -v '^ *+' conftest.er1 >conftest.err
24548 rm -f conftest.er1
24549 cat conftest.err >&5
24550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24551 - (exit $ac_status); } &&
24552 - { ac_try='test -z "$ac_c_werror_flag"
24553 - || test ! -s conftest.err'
24554 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24555 - (eval $ac_try) 2>&5
24556 - ac_status=$?
24557 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
24558 - (exit $ac_status); }; } &&
24559 - { ac_try='test -s conftest.$ac_objext'
24560 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24561 - (eval $ac_try) 2>&5
24562 - ac_status=$?
24563 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
24564 - (exit $ac_status); }; }; then
24565 - ac_cv_prog_cc_stdc=$ac_arg
24566 -break
24567 + (exit $ac_status); } && {
24568 + test -z "$ac_c_werror_flag" ||
24569 + test ! -s conftest.err
24570 + } && test -s conftest.$ac_objext; then
24571 + ac_cv_prog_cc_c89=$ac_arg
24572 else
24573 echo "$as_me: failed program was:" >&5
24574 sed 's/^/| /' conftest.$ac_ext >&5
24575
24576 +
24577 fi
24578 -rm -f conftest.err conftest.$ac_objext
24579 +
24580 +rm -f core conftest.err conftest.$ac_objext
24581 + test "x$ac_cv_prog_cc_c89" != "xno" && break
24582 done
24583 -rm -f conftest.$ac_ext conftest.$ac_objext
24584 +rm -f conftest.$ac_ext
24585 CC=$ac_save_CC
24586
24587 fi
24588 -
24589 -case "x$ac_cv_prog_cc_stdc" in
24590 - x|xno)
24591 - echo "$as_me:$LINENO: result: none needed" >&5
24592 -echo "${ECHO_T}none needed" >&6 ;;
24593 +# AC_CACHE_VAL
24594 +case "x$ac_cv_prog_cc_c89" in
24595 + x)
24596 + { echo "$as_me:$LINENO: result: none needed" >&5
24597 +echo "${ECHO_T}none needed" >&6; } ;;
24598 + xno)
24599 + { echo "$as_me:$LINENO: result: unsupported" >&5
24600 +echo "${ECHO_T}unsupported" >&6; } ;;
24601 *)
24602 - echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
24603 -echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
24604 - CC="$CC $ac_cv_prog_cc_stdc" ;;
24605 + CC="$CC $ac_cv_prog_cc_c89"
24606 + { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
24607 +echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
24608 esac
24609
24610 -# Some people use a C++ compiler to compile C. Since we use `exit',
24611 -# in C++ we need to declare it. In case someone uses the same compiler
24612 -# for both compiling C and C++ we need to have the C++ compiler decide
24613 -# the declaration of exit, since it's the most demanding environment.
24614 +
24615 +ac_ext=c
24616 +ac_cpp='$CPP $CPPFLAGS'
24617 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24618 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24619 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
24620 +
24621 +
24622 +{ echo "$as_me:$LINENO: checking for library containing strerror" >&5
24623 +echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6; }
24624 +if test "${ac_cv_search_strerror+set}" = set; then
24625 + echo $ECHO_N "(cached) $ECHO_C" >&6
24626 +else
24627 + ac_func_search_save_LIBS=$LIBS
24628 cat >conftest.$ac_ext <<_ACEOF
24629 -#ifndef __cplusplus
24630 - choke me
24631 -#endif
24632 -_ACEOF
24633 -rm -f conftest.$ac_objext
24634 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24635 - (eval $ac_compile) 2>conftest.er1
24636 - ac_status=$?
24637 - grep -v '^ *+' conftest.er1 >conftest.err
24638 - rm -f conftest.er1
24639 - cat conftest.err >&5
24640 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
24641 - (exit $ac_status); } &&
24642 - { ac_try='test -z "$ac_c_werror_flag"
24643 - || test ! -s conftest.err'
24644 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24645 - (eval $ac_try) 2>&5
24646 - ac_status=$?
24647 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
24648 - (exit $ac_status); }; } &&
24649 - { ac_try='test -s conftest.$ac_objext'
24650 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24651 - (eval $ac_try) 2>&5
24652 - ac_status=$?
24653 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
24654 - (exit $ac_status); }; }; then
24655 - for ac_declaration in \
24656 - '' \
24657 - 'extern "C" void std::exit (int) throw (); using std::exit;' \
24658 - 'extern "C" void std::exit (int); using std::exit;' \
24659 - 'extern "C" void exit (int) throw ();' \
24660 - 'extern "C" void exit (int);' \
24661 - 'void exit (int);'
24662 -do
24663 - cat >conftest.$ac_ext <<_ACEOF
24664 /* confdefs.h. */
24665 _ACEOF
24666 cat confdefs.h >>conftest.$ac_ext
24667 cat >>conftest.$ac_ext <<_ACEOF
24668 /* end confdefs.h. */
24669 -$ac_declaration
24670 -#include <stdlib.h>
24671 +
24672 +/* Override any GCC internal prototype to avoid an error.
24673 + Use char because int might match the return type of a GCC
24674 + builtin and then its argument prototype would still apply. */
24675 +#ifdef __cplusplus
24676 +extern "C"
24677 +#endif
24678 +char strerror ();
24679 int
24680 main ()
24681 {
24682 -exit (42);
24683 +return strerror ();
24684 ;
24685 return 0;
24686 }
24687 _ACEOF
24688 -rm -f conftest.$ac_objext
24689 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24690 - (eval $ac_compile) 2>conftest.er1
24691 +for ac_lib in '' cposix; do
24692 + if test -z "$ac_lib"; then
24693 + ac_res="none required"
24694 + else
24695 + ac_res=-l$ac_lib
24696 + LIBS="-l$ac_lib $ac_func_search_save_LIBS"
24697 + fi
24698 + rm -f conftest.$ac_objext conftest$ac_exeext
24699 +if { (ac_try="$ac_link"
24700 +case "(($ac_try" in
24701 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24702 + *) ac_try_echo=$ac_try;;
24703 +esac
24704 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24705 + (eval "$ac_link") 2>conftest.er1
24706 ac_status=$?
24707 grep -v '^ *+' conftest.er1 >conftest.err
24708 rm -f conftest.er1
24709 cat conftest.err >&5
24710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24711 - (exit $ac_status); } &&
24712 - { ac_try='test -z "$ac_c_werror_flag"
24713 - || test ! -s conftest.err'
24714 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24715 - (eval $ac_try) 2>&5
24716 - ac_status=$?
24717 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
24718 - (exit $ac_status); }; } &&
24719 - { ac_try='test -s conftest.$ac_objext'
24720 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24721 - (eval $ac_try) 2>&5
24722 - ac_status=$?
24723 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
24724 - (exit $ac_status); }; }; then
24725 - :
24726 + (exit $ac_status); } && {
24727 + test -z "$ac_c_werror_flag" ||
24728 + test ! -s conftest.err
24729 + } && test -s conftest$ac_exeext &&
24730 + $as_test_x conftest$ac_exeext; then
24731 + ac_cv_search_strerror=$ac_res
24732 else
24733 echo "$as_me: failed program was:" >&5
24734 sed 's/^/| /' conftest.$ac_ext >&5
24735
24736 -continue
24737 -fi
24738 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24739 - cat >conftest.$ac_ext <<_ACEOF
24740 -/* confdefs.h. */
24741 -_ACEOF
24742 -cat confdefs.h >>conftest.$ac_ext
24743 -cat >>conftest.$ac_ext <<_ACEOF
24744 -/* end confdefs.h. */
24745 -$ac_declaration
24746 -int
24747 -main ()
24748 -{
24749 -exit (42);
24750 - ;
24751 - return 0;
24752 -}
24753 -_ACEOF
24754 -rm -f conftest.$ac_objext
24755 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24756 - (eval $ac_compile) 2>conftest.er1
24757 - ac_status=$?
24758 - grep -v '^ *+' conftest.er1 >conftest.err
24759 - rm -f conftest.er1
24760 - cat conftest.err >&5
24761 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
24762 - (exit $ac_status); } &&
24763 - { ac_try='test -z "$ac_c_werror_flag"
24764 - || test ! -s conftest.err'
24765 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24766 - (eval $ac_try) 2>&5
24767 - ac_status=$?
24768 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
24769 - (exit $ac_status); }; } &&
24770 - { ac_try='test -s conftest.$ac_objext'
24771 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24772 - (eval $ac_try) 2>&5
24773 - ac_status=$?
24774 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
24775 - (exit $ac_status); }; }; then
24776 - break
24777 -else
24778 - echo "$as_me: failed program was:" >&5
24779 -sed 's/^/| /' conftest.$ac_ext >&5
24780
24781 fi
24782 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24783 -done
24784 -rm -f conftest*
24785 -if test -n "$ac_declaration"; then
24786 - echo '#ifdef __cplusplus' >>confdefs.h
24787 - echo $ac_declaration >>confdefs.h
24788 - echo '#endif' >>confdefs.h
24789 -fi
24790 -
24791 -else
24792 - echo "$as_me: failed program was:" >&5
24793 -sed 's/^/| /' conftest.$ac_ext >&5
24794
24795 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24796 + conftest$ac_exeext
24797 + if test "${ac_cv_search_strerror+set}" = set; then
24798 + break
24799 fi
24800 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24801 -ac_ext=c
24802 -ac_cpp='$CPP $CPPFLAGS'
24803 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24804 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24805 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
24806 -
24807 -
24808 -echo "$as_me:$LINENO: checking for library containing strerror" >&5
24809 -echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6
24810 +done
24811 if test "${ac_cv_search_strerror+set}" = set; then
24812 - echo $ECHO_N "(cached) $ECHO_C" >&6
24813 -else
24814 - ac_func_search_save_LIBS=$LIBS
24815 -ac_cv_search_strerror=no
24816 -cat >conftest.$ac_ext <<_ACEOF
24817 -/* confdefs.h. */
24818 -_ACEOF
24819 -cat confdefs.h >>conftest.$ac_ext
24820 -cat >>conftest.$ac_ext <<_ACEOF
24821 -/* end confdefs.h. */
24822 -
24823 -/* Override any gcc2 internal prototype to avoid an error. */
24824 -#ifdef __cplusplus
24825 -extern "C"
24826 -#endif
24827 -/* We use char because int might match the return type of a gcc2
24828 - builtin and then its argument prototype would still apply. */
24829 -char strerror ();
24830 -int
24831 -main ()
24832 -{
24833 -strerror ();
24834 - ;
24835 - return 0;
24836 -}
24837 -_ACEOF
24838 -rm -f conftest.$ac_objext conftest$ac_exeext
24839 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24840 - (eval $ac_link) 2>conftest.er1
24841 - ac_status=$?
24842 - grep -v '^ *+' conftest.er1 >conftest.err
24843 - rm -f conftest.er1
24844 - cat conftest.err >&5
24845 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
24846 - (exit $ac_status); } &&
24847 - { ac_try='test -z "$ac_c_werror_flag"
24848 - || test ! -s conftest.err'
24849 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24850 - (eval $ac_try) 2>&5
24851 - ac_status=$?
24852 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
24853 - (exit $ac_status); }; } &&
24854 - { ac_try='test -s conftest$ac_exeext'
24855 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24856 - (eval $ac_try) 2>&5
24857 - ac_status=$?
24858 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
24859 - (exit $ac_status); }; }; then
24860 - ac_cv_search_strerror="none required"
24861 -else
24862 - echo "$as_me: failed program was:" >&5
24863 -sed 's/^/| /' conftest.$ac_ext >&5
24864 -
24865 -fi
24866 -rm -f conftest.err conftest.$ac_objext \
24867 - conftest$ac_exeext conftest.$ac_ext
24868 -if test "$ac_cv_search_strerror" = no; then
24869 - for ac_lib in cposix; do
24870 - LIBS="-l$ac_lib $ac_func_search_save_LIBS"
24871 - cat >conftest.$ac_ext <<_ACEOF
24872 -/* confdefs.h. */
24873 -_ACEOF
24874 -cat confdefs.h >>conftest.$ac_ext
24875 -cat >>conftest.$ac_ext <<_ACEOF
24876 -/* end confdefs.h. */
24877 -
24878 -/* Override any gcc2 internal prototype to avoid an error. */
24879 -#ifdef __cplusplus
24880 -extern "C"
24881 -#endif
24882 -/* We use char because int might match the return type of a gcc2
24883 - builtin and then its argument prototype would still apply. */
24884 -char strerror ();
24885 -int
24886 -main ()
24887 -{
24888 -strerror ();
24889 - ;
24890 - return 0;
24891 -}
24892 -_ACEOF
24893 -rm -f conftest.$ac_objext conftest$ac_exeext
24894 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24895 - (eval $ac_link) 2>conftest.er1
24896 - ac_status=$?
24897 - grep -v '^ *+' conftest.er1 >conftest.err
24898 - rm -f conftest.er1
24899 - cat conftest.err >&5
24900 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
24901 - (exit $ac_status); } &&
24902 - { ac_try='test -z "$ac_c_werror_flag"
24903 - || test ! -s conftest.err'
24904 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24905 - (eval $ac_try) 2>&5
24906 - ac_status=$?
24907 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
24908 - (exit $ac_status); }; } &&
24909 - { ac_try='test -s conftest$ac_exeext'
24910 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24911 - (eval $ac_try) 2>&5
24912 - ac_status=$?
24913 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
24914 - (exit $ac_status); }; }; then
24915 - ac_cv_search_strerror="-l$ac_lib"
24916 -break
24917 + :
24918 else
24919 - echo "$as_me: failed program was:" >&5
24920 -sed 's/^/| /' conftest.$ac_ext >&5
24921 -
24922 -fi
24923 -rm -f conftest.err conftest.$ac_objext \
24924 - conftest$ac_exeext conftest.$ac_ext
24925 - done
24926 + ac_cv_search_strerror=no
24927 fi
24928 +rm conftest.$ac_ext
24929 LIBS=$ac_func_search_save_LIBS
24930 fi
24931 -echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
24932 -echo "${ECHO_T}$ac_cv_search_strerror" >&6
24933 -if test "$ac_cv_search_strerror" != no; then
24934 - test "$ac_cv_search_strerror" = "none required" || LIBS="$ac_cv_search_strerror $LIBS"
24935 +{ echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
24936 +echo "${ECHO_T}$ac_cv_search_strerror" >&6; }
24937 +ac_res=$ac_cv_search_strerror
24938 +if test "$ac_res" != no; then
24939 + test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
24940
24941 fi
24942
24943 @@ -2499,8 +2979,8 @@ am__api_version="1.9"
24944 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
24945 # OS/2's system install, which has a completely different semantic
24946 # ./install, which can be erroneously created by make from ./install.sh.
24947 -echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
24948 -echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
24949 +{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
24950 +echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
24951 if test -z "$INSTALL"; then
24952 if test "${ac_cv_path_install+set}" = set; then
24953 echo $ECHO_N "(cached) $ECHO_C" >&6
24954 @@ -2522,7 +3002,7 @@ case $as_dir/ in
24955 # by default.
24956 for ac_prog in ginstall scoinst install; do
24957 for ac_exec_ext in '' $ac_executable_extensions; do
24958 - if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
24959 + if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
24960 if test $ac_prog = install &&
24961 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
24962 # AIX install. It has an incompatible calling convention.
24963 @@ -2541,21 +3021,22 @@ case $as_dir/ in
24964 ;;
24965 esac
24966 done
24967 +IFS=$as_save_IFS
24968
24969
24970 fi
24971 if test "${ac_cv_path_install+set}" = set; then
24972 INSTALL=$ac_cv_path_install
24973 else
24974 - # As a last resort, use the slow shell script. We don't cache a
24975 - # path for INSTALL within a source directory, because that will
24976 + # As a last resort, use the slow shell script. Don't cache a
24977 + # value for INSTALL within a source directory, because that will
24978 # break other packages using the cache if that directory is
24979 - # removed, or if the path is relative.
24980 + # removed, or if the value is a relative name.
24981 INSTALL=$ac_install_sh
24982 fi
24983 fi
24984 -echo "$as_me:$LINENO: result: $INSTALL" >&5
24985 -echo "${ECHO_T}$INSTALL" >&6
24986 +{ echo "$as_me:$LINENO: result: $INSTALL" >&5
24987 +echo "${ECHO_T}$INSTALL" >&6; }
24988
24989 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
24990 # It thinks the first close brace ends the variable substitution.
24991 @@ -2565,8 +3046,8 @@ test -z "$INSTALL_SCRIPT" && INSTALL_SCR
24992
24993 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
24994
24995 -echo "$as_me:$LINENO: checking whether build environment is sane" >&5
24996 -echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
24997 +{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
24998 +echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
24999 # Just in case
25000 sleep 1
25001 echo timestamp > conftest.file
25002 @@ -2608,20 +3089,20 @@ echo "$as_me: error: newly created file
25003 Check your system clock" >&2;}
25004 { (exit 1); exit 1; }; }
25005 fi
25006 -echo "$as_me:$LINENO: result: yes" >&5
25007 -echo "${ECHO_T}yes" >&6
25008 +{ echo "$as_me:$LINENO: result: yes" >&5
25009 +echo "${ECHO_T}yes" >&6; }
25010 test "$program_prefix" != NONE &&
25011 - program_transform_name="s,^,$program_prefix,;$program_transform_name"
25012 + program_transform_name="s&^&$program_prefix&;$program_transform_name"
25013 # Use a double $ so make ignores it.
25014 test "$program_suffix" != NONE &&
25015 - program_transform_name="s,\$,$program_suffix,;$program_transform_name"
25016 + program_transform_name="s&\$&$program_suffix&;$program_transform_name"
25017 # Double any \ or $. echo might interpret backslashes.
25018 # By default was `s,x,x', remove it if useless.
25019 cat <<\_ACEOF >conftest.sed
25020 s/[\\$]/&&/g;s/;s,x,x,$//
25021 _ACEOF
25022 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
25023 -rm conftest.sed
25024 +rm -f conftest.sed
25025
25026 # expand $ac_aux_dir to an absolute path
25027 am_aux_dir=`cd $ac_aux_dir && pwd`
25028 @@ -2673,8 +3154,8 @@ for ac_prog in gawk mawk nawk awk
25029 do
25030 # Extract the first word of "$ac_prog", so it can be a program name with args.
25031 set dummy $ac_prog; ac_word=$2
25032 -echo "$as_me:$LINENO: checking for $ac_word" >&5
25033 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25034 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
25035 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
25036 if test "${ac_cv_prog_AWK+set}" = set; then
25037 echo $ECHO_N "(cached) $ECHO_C" >&6
25038 else
25039 @@ -2687,54 +3168,57 @@ do
25040 IFS=$as_save_IFS
25041 test -z "$as_dir" && as_dir=.
25042 for ac_exec_ext in '' $ac_executable_extensions; do
25043 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25044 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
25045 ac_cv_prog_AWK="$ac_prog"
25046 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25047 break 2
25048 fi
25049 done
25050 done
25051 +IFS=$as_save_IFS
25052
25053 fi
25054 fi
25055 AWK=$ac_cv_prog_AWK
25056 if test -n "$AWK"; then
25057 - echo "$as_me:$LINENO: result: $AWK" >&5
25058 -echo "${ECHO_T}$AWK" >&6
25059 + { echo "$as_me:$LINENO: result: $AWK" >&5
25060 +echo "${ECHO_T}$AWK" >&6; }
25061 else
25062 - echo "$as_me:$LINENO: result: no" >&5
25063 -echo "${ECHO_T}no" >&6
25064 + { echo "$as_me:$LINENO: result: no" >&5
25065 +echo "${ECHO_T}no" >&6; }
25066 fi
25067
25068 +
25069 test -n "$AWK" && break
25070 done
25071
25072 -echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
25073 -echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
25074 -set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
25075 -if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
25076 +{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
25077 +echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
25078 +set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
25079 +if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
25080 echo $ECHO_N "(cached) $ECHO_C" >&6
25081 else
25082 cat >conftest.make <<\_ACEOF
25083 +SHELL = /bin/sh
25084 all:
25085 - @echo 'ac_maketemp="$(MAKE)"'
25086 + @echo '@@@%%%=$(MAKE)=@@@%%%'
25087 _ACEOF
25088 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
25089 -eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
25090 -if test -n "$ac_maketemp"; then
25091 - eval ac_cv_prog_make_${ac_make}_set=yes
25092 -else
25093 - eval ac_cv_prog_make_${ac_make}_set=no
25094 -fi
25095 +case `${MAKE-make} -f conftest.make 2>/dev/null` in
25096 + *@@@%%%=?*=@@@%%%*)
25097 + eval ac_cv_prog_make_${ac_make}_set=yes;;
25098 + *)
25099 + eval ac_cv_prog_make_${ac_make}_set=no;;
25100 +esac
25101 rm -f conftest.make
25102 fi
25103 -if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
25104 - echo "$as_me:$LINENO: result: yes" >&5
25105 -echo "${ECHO_T}yes" >&6
25106 +if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
25107 + { echo "$as_me:$LINENO: result: yes" >&5
25108 +echo "${ECHO_T}yes" >&6; }
25109 SET_MAKE=
25110 else
25111 - echo "$as_me:$LINENO: result: no" >&5
25112 -echo "${ECHO_T}no" >&6
25113 + { echo "$as_me:$LINENO: result: no" >&5
25114 +echo "${ECHO_T}no" >&6; }
25115 SET_MAKE="MAKE=${MAKE-make}"
25116 fi
25117
25118 @@ -2749,7 +3233,7 @@ rmdir .tst 2>/dev/null
25119
25120 DEPDIR="${am__leading_dot}deps"
25121
25122 - ac_config_commands="$ac_config_commands depfiles"
25123 +ac_config_commands="$ac_config_commands depfiles"
25124
25125
25126 am_make=${MAKE-make}
25127 @@ -2759,8 +3243,8 @@ am__doit:
25128 .PHONY: am__doit
25129 END
25130 # If we don't find an include directive, just comment out the code.
25131 -echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
25132 -echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
25133 +{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
25134 +echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
25135 am__include="#"
25136 am__quote=
25137 _am_result=none
25138 @@ -2787,15 +3271,15 @@ if test "$am__include" = "#"; then
25139 fi
25140
25141
25142 -echo "$as_me:$LINENO: result: $_am_result" >&5
25143 -echo "${ECHO_T}$_am_result" >&6
25144 +{ echo "$as_me:$LINENO: result: $_am_result" >&5
25145 +echo "${ECHO_T}$_am_result" >&6; }
25146 rm -f confinc confmf
25147
25148 -# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
25149 +# Check whether --enable-dependency-tracking was given.
25150 if test "${enable_dependency_tracking+set}" = set; then
25151 - enableval="$enable_dependency_tracking"
25152 + enableval=$enable_dependency_tracking;
25153 +fi
25154
25155 -fi;
25156 if test "x$enable_dependency_tracking" != xno; then
25157 am_depcomp="$ac_aux_dir/depcomp"
25158 AMDEPBACKSLASH='\'
25159 @@ -2870,8 +3354,8 @@ if test "$cross_compiling" != no; then
25160 if test -n "$ac_tool_prefix"; then
25161 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
25162 set dummy ${ac_tool_prefix}strip; ac_word=$2
25163 -echo "$as_me:$LINENO: checking for $ac_word" >&5
25164 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25165 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
25166 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
25167 if test "${ac_cv_prog_STRIP+set}" = set; then
25168 echo $ECHO_N "(cached) $ECHO_C" >&6
25169 else
25170 @@ -2884,32 +3368,34 @@ do
25171 IFS=$as_save_IFS
25172 test -z "$as_dir" && as_dir=.
25173 for ac_exec_ext in '' $ac_executable_extensions; do
25174 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25175 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
25176 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
25177 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25178 break 2
25179 fi
25180 done
25181 done
25182 +IFS=$as_save_IFS
25183
25184 fi
25185 fi
25186 STRIP=$ac_cv_prog_STRIP
25187 if test -n "$STRIP"; then
25188 - echo "$as_me:$LINENO: result: $STRIP" >&5
25189 -echo "${ECHO_T}$STRIP" >&6
25190 + { echo "$as_me:$LINENO: result: $STRIP" >&5
25191 +echo "${ECHO_T}$STRIP" >&6; }
25192 else
25193 - echo "$as_me:$LINENO: result: no" >&5
25194 -echo "${ECHO_T}no" >&6
25195 + { echo "$as_me:$LINENO: result: no" >&5
25196 +echo "${ECHO_T}no" >&6; }
25197 fi
25198
25199 +
25200 fi
25201 if test -z "$ac_cv_prog_STRIP"; then
25202 ac_ct_STRIP=$STRIP
25203 # Extract the first word of "strip", so it can be a program name with args.
25204 set dummy strip; ac_word=$2
25205 -echo "$as_me:$LINENO: checking for $ac_word" >&5
25206 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25207 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
25208 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
25209 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
25210 echo $ECHO_N "(cached) $ECHO_C" >&6
25211 else
25212 @@ -2922,27 +3408,41 @@ do
25213 IFS=$as_save_IFS
25214 test -z "$as_dir" && as_dir=.
25215 for ac_exec_ext in '' $ac_executable_extensions; do
25216 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25217 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
25218 ac_cv_prog_ac_ct_STRIP="strip"
25219 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25220 break 2
25221 fi
25222 done
25223 done
25224 +IFS=$as_save_IFS
25225
25226 - test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
25227 fi
25228 fi
25229 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
25230 if test -n "$ac_ct_STRIP"; then
25231 - echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
25232 -echo "${ECHO_T}$ac_ct_STRIP" >&6
25233 + { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
25234 +echo "${ECHO_T}$ac_ct_STRIP" >&6; }
25235 else
25236 - echo "$as_me:$LINENO: result: no" >&5
25237 -echo "${ECHO_T}no" >&6
25238 + { echo "$as_me:$LINENO: result: no" >&5
25239 +echo "${ECHO_T}no" >&6; }
25240 fi
25241
25242 - STRIP=$ac_ct_STRIP
25243 + if test "x$ac_ct_STRIP" = x; then
25244 + STRIP=":"
25245 + else
25246 + case $cross_compiling:$ac_tool_warned in
25247 +yes:)
25248 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
25249 +whose name does not start with the host triplet. If you think this
25250 +configuration is useful to you, please write to autoconf@gnu.org." >&5
25251 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
25252 +whose name does not start with the host triplet. If you think this
25253 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
25254 +ac_tool_warned=yes ;;
25255 +esac
25256 + STRIP=$ac_ct_STRIP
25257 + fi
25258 else
25259 STRIP="$ac_cv_prog_STRIP"
25260 fi
25261 @@ -2963,8 +3463,8 @@ am__tar='${AMTAR} chof - "$$tardir"'; am
25262
25263 depcc="$CC" am_compiler_list=
25264
25265 -echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
25266 -echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
25267 +{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
25268 +echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
25269 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
25270 echo $ECHO_N "(cached) $ECHO_C" >&6
25271 else
25272 @@ -3053,8 +3553,8 @@ else
25273 fi
25274
25275 fi
25276 -echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
25277 -echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
25278 +{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
25279 +echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
25280 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
25281
25282
25283 @@ -3072,10 +3572,9 @@ fi
25284
25285
25286
25287 -# Check whether --enable-shared or --disable-shared was given.
25288 +# Check whether --enable-shared was given.
25289 if test "${enable_shared+set}" = set; then
25290 - enableval="$enable_shared"
25291 - p=${PACKAGE-default}
25292 + enableval=$enable_shared; p=${PACKAGE-default}
25293 case $enableval in
25294 yes) enable_shared=yes ;;
25295 no) enable_shared=no ;;
25296 @@ -3093,11 +3592,11 @@ no) enable_shared=no ;;
25297 esac
25298 else
25299 enable_shared=yes
25300 -fi;
25301 -# Check whether --enable-static or --disable-static was given.
25302 +fi
25303 +
25304 +# Check whether --enable-static was given.
25305 if test "${enable_static+set}" = set; then
25306 - enableval="$enable_static"
25307 - p=${PACKAGE-default}
25308 + enableval=$enable_static; p=${PACKAGE-default}
25309 case $enableval in
25310 yes) enable_static=yes ;;
25311 no) enable_static=no ;;
25312 @@ -3115,11 +3614,11 @@ no) enable_static=no ;;
25313 esac
25314 else
25315 enable_static=yes
25316 -fi;
25317 -# Check whether --enable-fast-install or --disable-fast-install was given.
25318 +fi
25319 +
25320 +# Check whether --enable-fast-install was given.
25321 if test "${enable_fast_install+set}" = set; then
25322 - enableval="$enable_fast_install"
25323 - p=${PACKAGE-default}
25324 + enableval=$enable_fast_install; p=${PACKAGE-default}
25325 case $enableval in
25326 yes) enable_fast_install=yes ;;
25327 no) enable_fast_install=no ;;
25328 @@ -3137,20 +3636,21 @@ no) enable_fast_install=no ;;
25329 esac
25330 else
25331 enable_fast_install=yes
25332 -fi;
25333 +fi
25334 +
25335
25336 -# Check whether --with-gnu-ld or --without-gnu-ld was given.
25337 +# Check whether --with-gnu-ld was given.
25338 if test "${with_gnu_ld+set}" = set; then
25339 - withval="$with_gnu_ld"
25340 - test "$withval" = no || with_gnu_ld=yes
25341 + withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
25342 else
25343 with_gnu_ld=no
25344 -fi;
25345 +fi
25346 +
25347 ac_prog=ld
25348 if test "$GCC" = yes; then
25349 # Check if gcc -print-prog-name=ld gives a path.
25350 - echo "$as_me:$LINENO: checking for ld used by GCC" >&5
25351 -echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
25352 + { echo "$as_me:$LINENO: checking for ld used by GCC" >&5
25353 +echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6; }
25354 case $host in
25355 *-*-mingw*)
25356 # gcc leaves a trailing carriage return which upsets mingw
25357 @@ -3179,11 +3679,11 @@ echo $ECHO_N "checking for ld used by GC
25358 ;;
25359 esac
25360 elif test "$with_gnu_ld" = yes; then
25361 - echo "$as_me:$LINENO: checking for GNU ld" >&5
25362 -echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
25363 + { echo "$as_me:$LINENO: checking for GNU ld" >&5
25364 +echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
25365 else
25366 - echo "$as_me:$LINENO: checking for non-GNU ld" >&5
25367 -echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
25368 + { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
25369 +echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
25370 fi
25371 if test "${lt_cv_path_LD+set}" = set; then
25372 echo $ECHO_N "(cached) $ECHO_C" >&6
25373 @@ -3212,17 +3712,17 @@ fi
25374
25375 LD="$lt_cv_path_LD"
25376 if test -n "$LD"; then
25377 - echo "$as_me:$LINENO: result: $LD" >&5
25378 -echo "${ECHO_T}$LD" >&6
25379 + { echo "$as_me:$LINENO: result: $LD" >&5
25380 +echo "${ECHO_T}$LD" >&6; }
25381 else
25382 - echo "$as_me:$LINENO: result: no" >&5
25383 -echo "${ECHO_T}no" >&6
25384 + { echo "$as_me:$LINENO: result: no" >&5
25385 +echo "${ECHO_T}no" >&6; }
25386 fi
25387 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
25388 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
25389 { (exit 1); exit 1; }; }
25390 -echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
25391 -echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
25392 +{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
25393 +echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
25394 if test "${lt_cv_prog_gnu_ld+set}" = set; then
25395 echo $ECHO_N "(cached) $ECHO_C" >&6
25396 else
25397 @@ -3233,25 +3733,25 @@ else
25398 lt_cv_prog_gnu_ld=no
25399 fi
25400 fi
25401 -echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
25402 -echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
25403 +{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
25404 +echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
25405 with_gnu_ld=$lt_cv_prog_gnu_ld
25406
25407
25408 -echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
25409 -echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
25410 +{ echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
25411 +echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
25412 if test "${lt_cv_ld_reload_flag+set}" = set; then
25413 echo $ECHO_N "(cached) $ECHO_C" >&6
25414 else
25415 lt_cv_ld_reload_flag='-r'
25416 fi
25417 -echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
25418 -echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
25419 +{ echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
25420 +echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
25421 reload_flag=$lt_cv_ld_reload_flag
25422 test -n "$reload_flag" && reload_flag=" $reload_flag"
25423
25424 -echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
25425 -echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
25426 +{ echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
25427 +echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
25428 if test "${lt_cv_path_NM+set}" = set; then
25429 echo $ECHO_N "(cached) $ECHO_C" >&6
25430 else
25431 @@ -3286,22 +3786,22 @@ fi
25432 fi
25433
25434 NM="$lt_cv_path_NM"
25435 -echo "$as_me:$LINENO: result: $NM" >&5
25436 -echo "${ECHO_T}$NM" >&6
25437 +{ echo "$as_me:$LINENO: result: $NM" >&5
25438 +echo "${ECHO_T}$NM" >&6; }
25439
25440 -echo "$as_me:$LINENO: checking whether ln -s works" >&5
25441 -echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
25442 +{ echo "$as_me:$LINENO: checking whether ln -s works" >&5
25443 +echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
25444 LN_S=$as_ln_s
25445 if test "$LN_S" = "ln -s"; then
25446 - echo "$as_me:$LINENO: result: yes" >&5
25447 -echo "${ECHO_T}yes" >&6
25448 + { echo "$as_me:$LINENO: result: yes" >&5
25449 +echo "${ECHO_T}yes" >&6; }
25450 else
25451 - echo "$as_me:$LINENO: result: no, using $LN_S" >&5
25452 -echo "${ECHO_T}no, using $LN_S" >&6
25453 + { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
25454 +echo "${ECHO_T}no, using $LN_S" >&6; }
25455 fi
25456
25457 -echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
25458 -echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
25459 +{ echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
25460 +echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6; }
25461 if test "${lt_cv_deplibs_check_method+set}" = set; then
25462 echo $ECHO_N "(cached) $ECHO_C" >&6
25463 else
25464 @@ -3463,8 +3963,8 @@ sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
25465 esac
25466
25467 fi
25468 -echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
25469 -echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
25470 +{ echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
25471 +echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
25472 file_magic_cmd=$lt_cv_file_magic_cmd
25473 deplibs_check_method=$lt_cv_deplibs_check_method
25474
25475 @@ -3474,8 +3974,8 @@ deplibs_check_method=$lt_cv_deplibs_chec
25476 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
25477
25478 # find the maximum length of command line arguments
25479 -echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
25480 -echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
25481 +{ echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
25482 +echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
25483 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
25484 echo $ECHO_N "(cached) $ECHO_C" >&6
25485 else
25486 @@ -3526,11 +4026,11 @@ else
25487 fi
25488
25489 if test -n "$lt_cv_sys_max_cmd_len" ; then
25490 - echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
25491 -echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
25492 + { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
25493 +echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
25494 else
25495 - echo "$as_me:$LINENO: result: none" >&5
25496 -echo "${ECHO_T}none" >&6
25497 + { echo "$as_me:$LINENO: result: none" >&5
25498 +echo "${ECHO_T}none" >&6; }
25499 fi
25500
25501
25502 @@ -3538,8 +4038,8 @@ fi
25503 case $deplibs_check_method in
25504 file_magic*)
25505 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
25506 - echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
25507 -echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
25508 + { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
25509 +echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
25510 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
25511 echo $ECHO_N "(cached) $ECHO_C" >&6
25512 else
25513 @@ -3593,17 +4093,17 @@ fi
25514
25515 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
25516 if test -n "$MAGIC_CMD"; then
25517 - echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
25518 -echo "${ECHO_T}$MAGIC_CMD" >&6
25519 + { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
25520 +echo "${ECHO_T}$MAGIC_CMD" >&6; }
25521 else
25522 - echo "$as_me:$LINENO: result: no" >&5
25523 -echo "${ECHO_T}no" >&6
25524 + { echo "$as_me:$LINENO: result: no" >&5
25525 +echo "${ECHO_T}no" >&6; }
25526 fi
25527
25528 if test -z "$lt_cv_path_MAGIC_CMD"; then
25529 if test -n "$ac_tool_prefix"; then
25530 - echo "$as_me:$LINENO: checking for file" >&5
25531 -echo $ECHO_N "checking for file... $ECHO_C" >&6
25532 + { echo "$as_me:$LINENO: checking for file" >&5
25533 +echo $ECHO_N "checking for file... $ECHO_C" >&6; }
25534 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
25535 echo $ECHO_N "(cached) $ECHO_C" >&6
25536 else
25537 @@ -3657,11 +4157,11 @@ fi
25538
25539 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
25540 if test -n "$MAGIC_CMD"; then
25541 - echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
25542 -echo "${ECHO_T}$MAGIC_CMD" >&6
25543 + { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
25544 +echo "${ECHO_T}$MAGIC_CMD" >&6; }
25545 else
25546 - echo "$as_me:$LINENO: result: no" >&5
25547 -echo "${ECHO_T}no" >&6
25548 + { echo "$as_me:$LINENO: result: no" >&5
25549 +echo "${ECHO_T}no" >&6; }
25550 fi
25551
25552 else
25553 @@ -3676,8 +4176,8 @@ esac
25554 if test -n "$ac_tool_prefix"; then
25555 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
25556 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
25557 -echo "$as_me:$LINENO: checking for $ac_word" >&5
25558 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25559 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
25560 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
25561 if test "${ac_cv_prog_RANLIB+set}" = set; then
25562 echo $ECHO_N "(cached) $ECHO_C" >&6
25563 else
25564 @@ -3690,32 +4190,34 @@ do
25565 IFS=$as_save_IFS
25566 test -z "$as_dir" && as_dir=.
25567 for ac_exec_ext in '' $ac_executable_extensions; do
25568 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25569 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
25570 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
25571 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25572 break 2
25573 fi
25574 done
25575 done
25576 +IFS=$as_save_IFS
25577
25578 fi
25579 fi
25580 RANLIB=$ac_cv_prog_RANLIB
25581 if test -n "$RANLIB"; then
25582 - echo "$as_me:$LINENO: result: $RANLIB" >&5
25583 -echo "${ECHO_T}$RANLIB" >&6
25584 + { echo "$as_me:$LINENO: result: $RANLIB" >&5
25585 +echo "${ECHO_T}$RANLIB" >&6; }
25586 else
25587 - echo "$as_me:$LINENO: result: no" >&5
25588 -echo "${ECHO_T}no" >&6
25589 + { echo "$as_me:$LINENO: result: no" >&5
25590 +echo "${ECHO_T}no" >&6; }
25591 fi
25592
25593 +
25594 fi
25595 if test -z "$ac_cv_prog_RANLIB"; then
25596 ac_ct_RANLIB=$RANLIB
25597 # Extract the first word of "ranlib", so it can be a program name with args.
25598 set dummy ranlib; ac_word=$2
25599 -echo "$as_me:$LINENO: checking for $ac_word" >&5
25600 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25601 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
25602 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
25603 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
25604 echo $ECHO_N "(cached) $ECHO_C" >&6
25605 else
25606 @@ -3728,27 +4230,41 @@ do
25607 IFS=$as_save_IFS
25608 test -z "$as_dir" && as_dir=.
25609 for ac_exec_ext in '' $ac_executable_extensions; do
25610 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25611 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
25612 ac_cv_prog_ac_ct_RANLIB="ranlib"
25613 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25614 break 2
25615 fi
25616 done
25617 done
25618 +IFS=$as_save_IFS
25619
25620 - test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
25621 fi
25622 fi
25623 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
25624 if test -n "$ac_ct_RANLIB"; then
25625 - echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
25626 -echo "${ECHO_T}$ac_ct_RANLIB" >&6
25627 + { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
25628 +echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
25629 else
25630 - echo "$as_me:$LINENO: result: no" >&5
25631 -echo "${ECHO_T}no" >&6
25632 + { echo "$as_me:$LINENO: result: no" >&5
25633 +echo "${ECHO_T}no" >&6; }
25634 fi
25635
25636 - RANLIB=$ac_ct_RANLIB
25637 + if test "x$ac_ct_RANLIB" = x; then
25638 + RANLIB=":"
25639 + else
25640 + case $cross_compiling:$ac_tool_warned in
25641 +yes:)
25642 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
25643 +whose name does not start with the host triplet. If you think this
25644 +configuration is useful to you, please write to autoconf@gnu.org." >&5
25645 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
25646 +whose name does not start with the host triplet. If you think this
25647 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
25648 +ac_tool_warned=yes ;;
25649 +esac
25650 + RANLIB=$ac_ct_RANLIB
25651 + fi
25652 else
25653 RANLIB="$ac_cv_prog_RANLIB"
25654 fi
25655 @@ -3756,8 +4272,8 @@ fi
25656 if test -n "$ac_tool_prefix"; then
25657 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
25658 set dummy ${ac_tool_prefix}strip; ac_word=$2
25659 -echo "$as_me:$LINENO: checking for $ac_word" >&5
25660 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25661 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
25662 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
25663 if test "${ac_cv_prog_STRIP+set}" = set; then
25664 echo $ECHO_N "(cached) $ECHO_C" >&6
25665 else
25666 @@ -3770,32 +4286,34 @@ do
25667 IFS=$as_save_IFS
25668 test -z "$as_dir" && as_dir=.
25669 for ac_exec_ext in '' $ac_executable_extensions; do
25670 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25671 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
25672 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
25673 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25674 break 2
25675 fi
25676 done
25677 done
25678 +IFS=$as_save_IFS
25679
25680 fi
25681 fi
25682 STRIP=$ac_cv_prog_STRIP
25683 if test -n "$STRIP"; then
25684 - echo "$as_me:$LINENO: result: $STRIP" >&5
25685 -echo "${ECHO_T}$STRIP" >&6
25686 + { echo "$as_me:$LINENO: result: $STRIP" >&5
25687 +echo "${ECHO_T}$STRIP" >&6; }
25688 else
25689 - echo "$as_me:$LINENO: result: no" >&5
25690 -echo "${ECHO_T}no" >&6
25691 + { echo "$as_me:$LINENO: result: no" >&5
25692 +echo "${ECHO_T}no" >&6; }
25693 fi
25694
25695 +
25696 fi
25697 if test -z "$ac_cv_prog_STRIP"; then
25698 ac_ct_STRIP=$STRIP
25699 # Extract the first word of "strip", so it can be a program name with args.
25700 set dummy strip; ac_word=$2
25701 -echo "$as_me:$LINENO: checking for $ac_word" >&5
25702 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25703 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
25704 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
25705 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
25706 echo $ECHO_N "(cached) $ECHO_C" >&6
25707 else
25708 @@ -3808,27 +4326,41 @@ do
25709 IFS=$as_save_IFS
25710 test -z "$as_dir" && as_dir=.
25711 for ac_exec_ext in '' $ac_executable_extensions; do
25712 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25713 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
25714 ac_cv_prog_ac_ct_STRIP="strip"
25715 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25716 break 2
25717 fi
25718 done
25719 done
25720 +IFS=$as_save_IFS
25721
25722 - test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
25723 fi
25724 fi
25725 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
25726 if test -n "$ac_ct_STRIP"; then
25727 - echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
25728 -echo "${ECHO_T}$ac_ct_STRIP" >&6
25729 + { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
25730 +echo "${ECHO_T}$ac_ct_STRIP" >&6; }
25731 else
25732 - echo "$as_me:$LINENO: result: no" >&5
25733 -echo "${ECHO_T}no" >&6
25734 + { echo "$as_me:$LINENO: result: no" >&5
25735 +echo "${ECHO_T}no" >&6; }
25736 fi
25737
25738 - STRIP=$ac_ct_STRIP
25739 + if test "x$ac_ct_STRIP" = x; then
25740 + STRIP=":"
25741 + else
25742 + case $cross_compiling:$ac_tool_warned in
25743 +yes:)
25744 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
25745 +whose name does not start with the host triplet. If you think this
25746 +configuration is useful to you, please write to autoconf@gnu.org." >&5
25747 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
25748 +whose name does not start with the host triplet. If you think this
25749 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
25750 +ac_tool_warned=yes ;;
25751 +esac
25752 + STRIP=$ac_ct_STRIP
25753 + fi
25754 else
25755 STRIP="$ac_cv_prog_STRIP"
25756 fi
25757 @@ -3843,22 +4375,22 @@ test "$GCC" = yes && libtool_flags="$lib
25758 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
25759
25760
25761 -# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
25762 +# Check whether --enable-libtool-lock was given.
25763 if test "${enable_libtool_lock+set}" = set; then
25764 - enableval="$enable_libtool_lock"
25765 + enableval=$enable_libtool_lock;
25766 +fi
25767
25768 -fi;
25769 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
25770 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
25771
25772
25773 -# Check whether --with-pic or --without-pic was given.
25774 +# Check whether --with-pic was given.
25775 if test "${with_pic+set}" = set; then
25776 - withval="$with_pic"
25777 - pic_mode="$withval"
25778 + withval=$with_pic; pic_mode="$withval"
25779 else
25780 pic_mode=default
25781 -fi;
25782 +fi
25783 +
25784 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
25785 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
25786
25787 @@ -3867,7 +4399,7 @@ test x"$pic_mode" = xno && libtool_flags
25788 case $host in
25789 *-*-irix6*)
25790 # Find out which ABI we are using.
25791 - echo '#line 3870 "configure"' > conftest.$ac_ext
25792 + echo '#line 4402 "configure"' > conftest.$ac_ext
25793 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25794 (eval $ac_compile) 2>&5
25795 ac_status=$?
25796 @@ -3972,13 +4504,12 @@ x86_64-*linux*|ppc*-*linux*|powerpc*-*li
25797 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
25798 SAVE_CFLAGS="$CFLAGS"
25799 CFLAGS="$CFLAGS -belf"
25800 - echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
25801 -echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
25802 + { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
25803 +echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
25804 if test "${lt_cv_cc_needs_belf+set}" = set; then
25805 echo $ECHO_N "(cached) $ECHO_C" >&6
25806 else
25807
25808 -
25809 ac_ext=c
25810 ac_cpp='$CPP $CPPFLAGS'
25811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25812 @@ -4001,35 +4532,32 @@ main ()
25813 }
25814 _ACEOF
25815 rm -f conftest.$ac_objext conftest$ac_exeext
25816 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25817 - (eval $ac_link) 2>conftest.er1
25818 +if { (ac_try="$ac_link"
25819 +case "(($ac_try" in
25820 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25821 + *) ac_try_echo=$ac_try;;
25822 +esac
25823 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25824 + (eval "$ac_link") 2>conftest.er1
25825 ac_status=$?
25826 grep -v '^ *+' conftest.er1 >conftest.err
25827 rm -f conftest.er1
25828 cat conftest.err >&5
25829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25830 - (exit $ac_status); } &&
25831 - { ac_try='test -z "$ac_c_werror_flag"
25832 - || test ! -s conftest.err'
25833 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25834 - (eval $ac_try) 2>&5
25835 - ac_status=$?
25836 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
25837 - (exit $ac_status); }; } &&
25838 - { ac_try='test -s conftest$ac_exeext'
25839 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25840 - (eval $ac_try) 2>&5
25841 - ac_status=$?
25842 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
25843 - (exit $ac_status); }; }; then
25844 + (exit $ac_status); } && {
25845 + test -z "$ac_c_werror_flag" ||
25846 + test ! -s conftest.err
25847 + } && test -s conftest$ac_exeext &&
25848 + $as_test_x conftest$ac_exeext; then
25849 lt_cv_cc_needs_belf=yes
25850 else
25851 echo "$as_me: failed program was:" >&5
25852 sed 's/^/| /' conftest.$ac_ext >&5
25853
25854 -lt_cv_cc_needs_belf=no
25855 + lt_cv_cc_needs_belf=no
25856 fi
25857 -rm -f conftest.err conftest.$ac_objext \
25858 +
25859 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25860 conftest$ac_exeext conftest.$ac_ext
25861 ac_ext=c
25862 ac_cpp='$CPP $CPPFLAGS'
25863 @@ -4038,8 +4566,8 @@ ac_link='$CC -o conftest$ac_exeext $CFLA
25864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25865
25866 fi
25867 -echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
25868 -echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
25869 +{ echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
25870 +echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
25871 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
25872 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
25873 CFLAGS="$SAVE_CFLAGS"
25874 @@ -4069,39 +4597,58 @@ _ACEOF
25875
25876 # The following way of writing the cache mishandles newlines in values,
25877 # but we know of no workaround that is simple, portable, and efficient.
25878 -# So, don't put newlines in cache variables' values.
25879 +# So, we kill variables containing newlines.
25880 # Ultrix sh set writes to stderr and can't be redirected directly,
25881 # and sets the high bit in the cache file unless we assign to the vars.
25882 -{
25883 +(
25884 + for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
25885 + eval ac_val=\$$ac_var
25886 + case $ac_val in #(
25887 + *${as_nl}*)
25888 + case $ac_var in #(
25889 + *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
25890 +echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
25891 + esac
25892 + case $ac_var in #(
25893 + _ | IFS | as_nl) ;; #(
25894 + *) $as_unset $ac_var ;;
25895 + esac ;;
25896 + esac
25897 + done
25898 +
25899 (set) 2>&1 |
25900 - case `(ac_space=' '; set | grep ac_space) 2>&1` in
25901 - *ac_space=\ *)
25902 + case $as_nl`(ac_space=' '; set) 2>&1` in #(
25903 + *${as_nl}ac_space=\ *)
25904 # `set' does not quote correctly, so add quotes (double-quote
25905 # substitution turns \\\\ into \\, and sed turns \\ into \).
25906 sed -n \
25907 "s/'/'\\\\''/g;
25908 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
25909 - ;;
25910 + ;; #(
25911 *)
25912 # `set' quotes correctly as required by POSIX, so do not add quotes.
25913 - sed -n \
25914 - "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
25915 + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
25916 ;;
25917 - esac;
25918 -} |
25919 + esac |
25920 + sort
25921 +) |
25922 sed '
25923 + /^ac_cv_env_/b end
25924 t clear
25925 - : clear
25926 + :clear
25927 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
25928 t end
25929 - /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
25930 - : end' >>confcache
25931 -if diff $cache_file confcache >/dev/null 2>&1; then :; else
25932 - if test -w $cache_file; then
25933 - test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
25934 + s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
25935 + :end' >>confcache
25936 +if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
25937 + if test -w "$cache_file"; then
25938 + test "x$cache_file" != "x/dev/null" &&
25939 + { echo "$as_me:$LINENO: updating cache $cache_file" >&5
25940 +echo "$as_me: updating cache $cache_file" >&6;}
25941 cat confcache >$cache_file
25942 else
25943 - echo "not updating unwritable cache $cache_file"
25944 + { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
25945 +echo "$as_me: not updating unwritable cache $cache_file" >&6;}
25946 fi
25947 fi
25948 rm -f confcache
25949 @@ -4127,8 +4674,8 @@ if test -r "$cache_file"; then
25950 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
25951 echo "$as_me: loading cache $cache_file" >&6;}
25952 case $cache_file in
25953 - [\\/]* | ?:[\\/]* ) . $cache_file;;
25954 - *) . ./$cache_file;;
25955 + [\\/]* | ?:[\\/]* ) . "$cache_file";;
25956 + *) . "./$cache_file";;
25957 esac
25958 fi
25959 else
25960 @@ -4154,10 +4701,9 @@ exec 5>>./config.log
25961
25962
25963
25964 -# Check whether --enable-targets or --disable-targets was given.
25965 +# Check whether --enable-targets was given.
25966 if test "${enable_targets+set}" = set; then
25967 - enableval="$enable_targets"
25968 - case "${enableval}" in
25969 + enableval=$enable_targets; case "${enableval}" in
25970 yes | "") { { echo "$as_me:$LINENO: error: enable-targets option must specify target names or 'all'" >&5
25971 echo "$as_me: error: enable-targets option must specify target names or 'all'" >&2;}
25972 { (exit 1); exit 1; }; }
25973 @@ -4165,31 +4711,32 @@ echo "$as_me: error: enable-targets opti
25974 no) enable_targets= ;;
25975 *) enable_targets=$enableval ;;
25976 esac
25977 -fi; # Check whether --enable-commonbfdlib or --disable-commonbfdlib was given.
25978 +fi
25979 +# Check whether --enable-commonbfdlib was given.
25980 if test "${enable_commonbfdlib+set}" = set; then
25981 - enableval="$enable_commonbfdlib"
25982 - case "${enableval}" in
25983 + enableval=$enable_commonbfdlib; case "${enableval}" in
25984 yes) commonbfdlib=true ;;
25985 no) commonbfdlib=false ;;
25986 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for BFD commonbfdlib option" >&5
25987 echo "$as_me: error: bad value ${enableval} for BFD commonbfdlib option" >&2;}
25988 { (exit 1); exit 1; }; } ;;
25989 esac
25990 -fi;
25991 +fi
25992 +
25993
25994 GCC_WARN_CFLAGS="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
25995
25996 -# Check whether --enable-werror or --disable-werror was given.
25997 +# Check whether --enable-werror was given.
25998 if test "${enable_werror+set}" = set; then
25999 - enableval="$enable_werror"
26000 - case "${enableval}" in
26001 + enableval=$enable_werror; case "${enableval}" in
26002 yes | y) ERROR_ON_WARNING="yes" ;;
26003 no | n) ERROR_ON_WARNING="no" ;;
26004 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-werror" >&5
26005 echo "$as_me: error: bad value ${enableval} for --enable-werror" >&2;}
26006 { (exit 1); exit 1; }; } ;;
26007 esac
26008 -fi;
26009 +fi
26010 +
26011
26012 # Enable -Werror by default when using gcc
26013 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
26014 @@ -4206,10 +4753,9 @@ if test "${GCC}" = yes ; then
26015 WARN_CFLAGS="${GCC_WARN_CFLAGS}"
26016 fi
26017
26018 -# Check whether --enable-build-warnings or --disable-build-warnings was given.
26019 +# Check whether --enable-build-warnings was given.
26020 if test "${enable_build_warnings+set}" = set; then
26021 - enableval="$enable_build_warnings"
26022 - case "${enableval}" in
26023 + enableval=$enable_build_warnings; case "${enableval}" in
26024 yes) WARN_CFLAGS="${GCC_WARN_CFLAGS}";;
26025 no) if test "${GCC}" = yes ; then
26026 WARN_CFLAGS="-w"
26027 @@ -4220,7 +4766,8 @@ if test "${enable_build_warnings+set}" =
26028 WARN_CFLAGS="${t} ${GCC_WARN_CFLAGS}";;
26029 *) WARN_CFLAGS=`echo "${enableval}" | sed -e "s/,/ /g"`;;
26030 esac
26031 -fi;
26032 +fi
26033 +
26034
26035 if test x"$silent" != x"yes" && test x"$WARN_CFLAGS" != x""; then
26036 echo "Setting warning flags = $WARN_CFLAGS" 6>&1
26037 @@ -4230,7 +4777,7 @@ fi
26038
26039
26040
26041 - ac_config_headers="$ac_config_headers config.h:config.in"
26042 +ac_config_headers="$ac_config_headers config.h:config.in"
26043
26044
26045 if test -z "$target" ; then
26046 @@ -4252,8 +4799,8 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
26047 if test -n "$ac_tool_prefix"; then
26048 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
26049 set dummy ${ac_tool_prefix}gcc; ac_word=$2
26050 -echo "$as_me:$LINENO: checking for $ac_word" >&5
26051 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
26052 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
26053 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
26054 if test "${ac_cv_prog_CC+set}" = set; then
26055 echo $ECHO_N "(cached) $ECHO_C" >&6
26056 else
26057 @@ -4266,32 +4813,34 @@ do
26058 IFS=$as_save_IFS
26059 test -z "$as_dir" && as_dir=.
26060 for ac_exec_ext in '' $ac_executable_extensions; do
26061 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26062 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
26063 ac_cv_prog_CC="${ac_tool_prefix}gcc"
26064 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26065 break 2
26066 fi
26067 done
26068 done
26069 +IFS=$as_save_IFS
26070
26071 fi
26072 fi
26073 CC=$ac_cv_prog_CC
26074 if test -n "$CC"; then
26075 - echo "$as_me:$LINENO: result: $CC" >&5
26076 -echo "${ECHO_T}$CC" >&6
26077 + { echo "$as_me:$LINENO: result: $CC" >&5
26078 +echo "${ECHO_T}$CC" >&6; }
26079 else
26080 - echo "$as_me:$LINENO: result: no" >&5
26081 -echo "${ECHO_T}no" >&6
26082 + { echo "$as_me:$LINENO: result: no" >&5
26083 +echo "${ECHO_T}no" >&6; }
26084 fi
26085
26086 +
26087 fi
26088 if test -z "$ac_cv_prog_CC"; then
26089 ac_ct_CC=$CC
26090 # Extract the first word of "gcc", so it can be a program name with args.
26091 set dummy gcc; ac_word=$2
26092 -echo "$as_me:$LINENO: checking for $ac_word" >&5
26093 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
26094 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
26095 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
26096 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
26097 echo $ECHO_N "(cached) $ECHO_C" >&6
26098 else
26099 @@ -4304,36 +4853,51 @@ do
26100 IFS=$as_save_IFS
26101 test -z "$as_dir" && as_dir=.
26102 for ac_exec_ext in '' $ac_executable_extensions; do
26103 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26104 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
26105 ac_cv_prog_ac_ct_CC="gcc"
26106 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26107 break 2
26108 fi
26109 done
26110 done
26111 +IFS=$as_save_IFS
26112
26113 fi
26114 fi
26115 ac_ct_CC=$ac_cv_prog_ac_ct_CC
26116 if test -n "$ac_ct_CC"; then
26117 - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
26118 -echo "${ECHO_T}$ac_ct_CC" >&6
26119 + { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
26120 +echo "${ECHO_T}$ac_ct_CC" >&6; }
26121 else
26122 - echo "$as_me:$LINENO: result: no" >&5
26123 -echo "${ECHO_T}no" >&6
26124 + { echo "$as_me:$LINENO: result: no" >&5
26125 +echo "${ECHO_T}no" >&6; }
26126 fi
26127
26128 - CC=$ac_ct_CC
26129 + if test "x$ac_ct_CC" = x; then
26130 + CC=""
26131 + else
26132 + case $cross_compiling:$ac_tool_warned in
26133 +yes:)
26134 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
26135 +whose name does not start with the host triplet. If you think this
26136 +configuration is useful to you, please write to autoconf@gnu.org." >&5
26137 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
26138 +whose name does not start with the host triplet. If you think this
26139 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
26140 +ac_tool_warned=yes ;;
26141 +esac
26142 + CC=$ac_ct_CC
26143 + fi
26144 else
26145 CC="$ac_cv_prog_CC"
26146 fi
26147
26148 if test -z "$CC"; then
26149 - if test -n "$ac_tool_prefix"; then
26150 - # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
26151 + if test -n "$ac_tool_prefix"; then
26152 + # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
26153 set dummy ${ac_tool_prefix}cc; ac_word=$2
26154 -echo "$as_me:$LINENO: checking for $ac_word" >&5
26155 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
26156 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
26157 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
26158 if test "${ac_cv_prog_CC+set}" = set; then
26159 echo $ECHO_N "(cached) $ECHO_C" >&6
26160 else
26161 @@ -4346,74 +4910,34 @@ do
26162 IFS=$as_save_IFS
26163 test -z "$as_dir" && as_dir=.
26164 for ac_exec_ext in '' $ac_executable_extensions; do
26165 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26166 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
26167 ac_cv_prog_CC="${ac_tool_prefix}cc"
26168 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26169 break 2
26170 fi
26171 done
26172 done
26173 +IFS=$as_save_IFS
26174
26175 fi
26176 fi
26177 CC=$ac_cv_prog_CC
26178 if test -n "$CC"; then
26179 - echo "$as_me:$LINENO: result: $CC" >&5
26180 -echo "${ECHO_T}$CC" >&6
26181 -else
26182 - echo "$as_me:$LINENO: result: no" >&5
26183 -echo "${ECHO_T}no" >&6
26184 -fi
26185 -
26186 -fi
26187 -if test -z "$ac_cv_prog_CC"; then
26188 - ac_ct_CC=$CC
26189 - # Extract the first word of "cc", so it can be a program name with args.
26190 -set dummy cc; ac_word=$2
26191 -echo "$as_me:$LINENO: checking for $ac_word" >&5
26192 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
26193 -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
26194 - echo $ECHO_N "(cached) $ECHO_C" >&6
26195 -else
26196 - if test -n "$ac_ct_CC"; then
26197 - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
26198 -else
26199 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26200 -for as_dir in $PATH
26201 -do
26202 - IFS=$as_save_IFS
26203 - test -z "$as_dir" && as_dir=.
26204 - for ac_exec_ext in '' $ac_executable_extensions; do
26205 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26206 - ac_cv_prog_ac_ct_CC="cc"
26207 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26208 - break 2
26209 - fi
26210 -done
26211 -done
26212 -
26213 -fi
26214 -fi
26215 -ac_ct_CC=$ac_cv_prog_ac_ct_CC
26216 -if test -n "$ac_ct_CC"; then
26217 - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
26218 -echo "${ECHO_T}$ac_ct_CC" >&6
26219 + { echo "$as_me:$LINENO: result: $CC" >&5
26220 +echo "${ECHO_T}$CC" >&6; }
26221 else
26222 - echo "$as_me:$LINENO: result: no" >&5
26223 -echo "${ECHO_T}no" >&6
26224 + { echo "$as_me:$LINENO: result: no" >&5
26225 +echo "${ECHO_T}no" >&6; }
26226 fi
26227
26228 - CC=$ac_ct_CC
26229 -else
26230 - CC="$ac_cv_prog_CC"
26231 -fi
26232
26233 + fi
26234 fi
26235 if test -z "$CC"; then
26236 # Extract the first word of "cc", so it can be a program name with args.
26237 set dummy cc; ac_word=$2
26238 -echo "$as_me:$LINENO: checking for $ac_word" >&5
26239 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
26240 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
26241 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
26242 if test "${ac_cv_prog_CC+set}" = set; then
26243 echo $ECHO_N "(cached) $ECHO_C" >&6
26244 else
26245 @@ -4427,7 +4951,7 @@ do
26246 IFS=$as_save_IFS
26247 test -z "$as_dir" && as_dir=.
26248 for ac_exec_ext in '' $ac_executable_extensions; do
26249 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26250 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
26251 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
26252 ac_prog_rejected=yes
26253 continue
26254 @@ -4438,6 +4962,7 @@ do
26255 fi
26256 done
26257 done
26258 +IFS=$as_save_IFS
26259
26260 if test $ac_prog_rejected = yes; then
26261 # We found a bogon in the path, so make sure we never use it.
26262 @@ -4455,22 +4980,23 @@ fi
26263 fi
26264 CC=$ac_cv_prog_CC
26265 if test -n "$CC"; then
26266 - echo "$as_me:$LINENO: result: $CC" >&5
26267 -echo "${ECHO_T}$CC" >&6
26268 + { echo "$as_me:$LINENO: result: $CC" >&5
26269 +echo "${ECHO_T}$CC" >&6; }
26270 else
26271 - echo "$as_me:$LINENO: result: no" >&5
26272 -echo "${ECHO_T}no" >&6
26273 + { echo "$as_me:$LINENO: result: no" >&5
26274 +echo "${ECHO_T}no" >&6; }
26275 fi
26276
26277 +
26278 fi
26279 if test -z "$CC"; then
26280 if test -n "$ac_tool_prefix"; then
26281 - for ac_prog in cl
26282 + for ac_prog in cl.exe
26283 do
26284 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
26285 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
26286 -echo "$as_me:$LINENO: checking for $ac_word" >&5
26287 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
26288 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
26289 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
26290 if test "${ac_cv_prog_CC+set}" = set; then
26291 echo $ECHO_N "(cached) $ECHO_C" >&6
26292 else
26293 @@ -4483,36 +5009,38 @@ do
26294 IFS=$as_save_IFS
26295 test -z "$as_dir" && as_dir=.
26296 for ac_exec_ext in '' $ac_executable_extensions; do
26297 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26298 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
26299 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
26300 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26301 break 2
26302 fi
26303 done
26304 done
26305 +IFS=$as_save_IFS
26306
26307 fi
26308 fi
26309 CC=$ac_cv_prog_CC
26310 if test -n "$CC"; then
26311 - echo "$as_me:$LINENO: result: $CC" >&5
26312 -echo "${ECHO_T}$CC" >&6
26313 + { echo "$as_me:$LINENO: result: $CC" >&5
26314 +echo "${ECHO_T}$CC" >&6; }
26315 else
26316 - echo "$as_me:$LINENO: result: no" >&5
26317 -echo "${ECHO_T}no" >&6
26318 + { echo "$as_me:$LINENO: result: no" >&5
26319 +echo "${ECHO_T}no" >&6; }
26320 fi
26321
26322 +
26323 test -n "$CC" && break
26324 done
26325 fi
26326 if test -z "$CC"; then
26327 ac_ct_CC=$CC
26328 - for ac_prog in cl
26329 + for ac_prog in cl.exe
26330 do
26331 # Extract the first word of "$ac_prog", so it can be a program name with args.
26332 set dummy $ac_prog; ac_word=$2
26333 -echo "$as_me:$LINENO: checking for $ac_word" >&5
26334 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
26335 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
26336 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
26337 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
26338 echo $ECHO_N "(cached) $ECHO_C" >&6
26339 else
26340 @@ -4525,29 +5053,45 @@ do
26341 IFS=$as_save_IFS
26342 test -z "$as_dir" && as_dir=.
26343 for ac_exec_ext in '' $ac_executable_extensions; do
26344 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26345 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
26346 ac_cv_prog_ac_ct_CC="$ac_prog"
26347 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26348 break 2
26349 fi
26350 done
26351 done
26352 +IFS=$as_save_IFS
26353
26354 fi
26355 fi
26356 ac_ct_CC=$ac_cv_prog_ac_ct_CC
26357 if test -n "$ac_ct_CC"; then
26358 - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
26359 -echo "${ECHO_T}$ac_ct_CC" >&6
26360 + { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
26361 +echo "${ECHO_T}$ac_ct_CC" >&6; }
26362 else
26363 - echo "$as_me:$LINENO: result: no" >&5
26364 -echo "${ECHO_T}no" >&6
26365 + { echo "$as_me:$LINENO: result: no" >&5
26366 +echo "${ECHO_T}no" >&6; }
26367 fi
26368
26369 +
26370 test -n "$ac_ct_CC" && break
26371 done
26372
26373 - CC=$ac_ct_CC
26374 + if test "x$ac_ct_CC" = x; then
26375 + CC=""
26376 + else
26377 + case $cross_compiling:$ac_tool_warned in
26378 +yes:)
26379 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
26380 +whose name does not start with the host triplet. If you think this
26381 +configuration is useful to you, please write to autoconf@gnu.org." >&5
26382 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
26383 +whose name does not start with the host triplet. If you think this
26384 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
26385 +ac_tool_warned=yes ;;
26386 +esac
26387 + CC=$ac_ct_CC
26388 + fi
26389 fi
26390
26391 fi
26392 @@ -4560,27 +5104,41 @@ See \`config.log' for more details." >&2
26393 { (exit 1); exit 1; }; }
26394
26395 # Provide some information about the compiler.
26396 -echo "$as_me:$LINENO:" \
26397 - "checking for C compiler version" >&5
26398 +echo "$as_me:$LINENO: checking for C compiler version" >&5
26399 ac_compiler=`set X $ac_compile; echo $2`
26400 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
26401 - (eval $ac_compiler --version </dev/null >&5) 2>&5
26402 +{ (ac_try="$ac_compiler --version >&5"
26403 +case "(($ac_try" in
26404 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26405 + *) ac_try_echo=$ac_try;;
26406 +esac
26407 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26408 + (eval "$ac_compiler --version >&5") 2>&5
26409 ac_status=$?
26410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26411 (exit $ac_status); }
26412 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
26413 - (eval $ac_compiler -v </dev/null >&5) 2>&5
26414 +{ (ac_try="$ac_compiler -v >&5"
26415 +case "(($ac_try" in
26416 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26417 + *) ac_try_echo=$ac_try;;
26418 +esac
26419 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26420 + (eval "$ac_compiler -v >&5") 2>&5
26421 ac_status=$?
26422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26423 (exit $ac_status); }
26424 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
26425 - (eval $ac_compiler -V </dev/null >&5) 2>&5
26426 +{ (ac_try="$ac_compiler -V >&5"
26427 +case "(($ac_try" in
26428 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26429 + *) ac_try_echo=$ac_try;;
26430 +esac
26431 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26432 + (eval "$ac_compiler -V >&5") 2>&5
26433 ac_status=$?
26434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26435 (exit $ac_status); }
26436
26437 -echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
26438 -echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
26439 +{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
26440 +echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
26441 if test "${ac_cv_c_compiler_gnu+set}" = set; then
26442 echo $ECHO_N "(cached) $ECHO_C" >&6
26443 else
26444 @@ -4603,50 +5161,49 @@ main ()
26445 }
26446 _ACEOF
26447 rm -f conftest.$ac_objext
26448 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26449 - (eval $ac_compile) 2>conftest.er1
26450 +if { (ac_try="$ac_compile"
26451 +case "(($ac_try" in
26452 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26453 + *) ac_try_echo=$ac_try;;
26454 +esac
26455 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26456 + (eval "$ac_compile") 2>conftest.er1
26457 ac_status=$?
26458 grep -v '^ *+' conftest.er1 >conftest.err
26459 rm -f conftest.er1
26460 cat conftest.err >&5
26461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26462 - (exit $ac_status); } &&
26463 - { ac_try='test -z "$ac_c_werror_flag"
26464 - || test ! -s conftest.err'
26465 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26466 - (eval $ac_try) 2>&5
26467 - ac_status=$?
26468 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
26469 - (exit $ac_status); }; } &&
26470 - { ac_try='test -s conftest.$ac_objext'
26471 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26472 - (eval $ac_try) 2>&5
26473 - ac_status=$?
26474 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
26475 - (exit $ac_status); }; }; then
26476 + (exit $ac_status); } && {
26477 + test -z "$ac_c_werror_flag" ||
26478 + test ! -s conftest.err
26479 + } && test -s conftest.$ac_objext; then
26480 ac_compiler_gnu=yes
26481 else
26482 echo "$as_me: failed program was:" >&5
26483 sed 's/^/| /' conftest.$ac_ext >&5
26484
26485 -ac_compiler_gnu=no
26486 + ac_compiler_gnu=no
26487 fi
26488 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26489 +
26490 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26491 ac_cv_c_compiler_gnu=$ac_compiler_gnu
26492
26493 fi
26494 -echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
26495 -echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
26496 +{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
26497 +echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
26498 GCC=`test $ac_compiler_gnu = yes && echo yes`
26499 ac_test_CFLAGS=${CFLAGS+set}
26500 ac_save_CFLAGS=$CFLAGS
26501 -CFLAGS="-g"
26502 -echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
26503 -echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
26504 +{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
26505 +echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
26506 if test "${ac_cv_prog_cc_g+set}" = set; then
26507 echo $ECHO_N "(cached) $ECHO_C" >&6
26508 else
26509 - cat >conftest.$ac_ext <<_ACEOF
26510 + ac_save_c_werror_flag=$ac_c_werror_flag
26511 + ac_c_werror_flag=yes
26512 + ac_cv_prog_cc_g=no
26513 + CFLAGS="-g"
26514 + cat >conftest.$ac_ext <<_ACEOF
26515 /* confdefs.h. */
26516 _ACEOF
26517 cat confdefs.h >>conftest.$ac_ext
26518 @@ -4662,311 +5219,248 @@ main ()
26519 }
26520 _ACEOF
26521 rm -f conftest.$ac_objext
26522 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26523 - (eval $ac_compile) 2>conftest.er1
26524 +if { (ac_try="$ac_compile"
26525 +case "(($ac_try" in
26526 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26527 + *) ac_try_echo=$ac_try;;
26528 +esac
26529 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26530 + (eval "$ac_compile") 2>conftest.er1
26531 ac_status=$?
26532 grep -v '^ *+' conftest.er1 >conftest.err
26533 rm -f conftest.er1
26534 cat conftest.err >&5
26535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26536 - (exit $ac_status); } &&
26537 - { ac_try='test -z "$ac_c_werror_flag"
26538 - || test ! -s conftest.err'
26539 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26540 - (eval $ac_try) 2>&5
26541 - ac_status=$?
26542 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
26543 - (exit $ac_status); }; } &&
26544 - { ac_try='test -s conftest.$ac_objext'
26545 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26546 - (eval $ac_try) 2>&5
26547 - ac_status=$?
26548 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
26549 - (exit $ac_status); }; }; then
26550 + (exit $ac_status); } && {
26551 + test -z "$ac_c_werror_flag" ||
26552 + test ! -s conftest.err
26553 + } && test -s conftest.$ac_objext; then
26554 ac_cv_prog_cc_g=yes
26555 else
26556 echo "$as_me: failed program was:" >&5
26557 sed 's/^/| /' conftest.$ac_ext >&5
26558
26559 -ac_cv_prog_cc_g=no
26560 -fi
26561 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26562 -fi
26563 -echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
26564 -echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
26565 -if test "$ac_test_CFLAGS" = set; then
26566 - CFLAGS=$ac_save_CFLAGS
26567 -elif test $ac_cv_prog_cc_g = yes; then
26568 - if test "$GCC" = yes; then
26569 - CFLAGS="-g -O2"
26570 - else
26571 - CFLAGS="-g"
26572 - fi
26573 -else
26574 - if test "$GCC" = yes; then
26575 - CFLAGS="-O2"
26576 - else
26577 - CFLAGS=
26578 - fi
26579 -fi
26580 -echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
26581 -echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
26582 -if test "${ac_cv_prog_cc_stdc+set}" = set; then
26583 - echo $ECHO_N "(cached) $ECHO_C" >&6
26584 -else
26585 - ac_cv_prog_cc_stdc=no
26586 -ac_save_CC=$CC
26587 -cat >conftest.$ac_ext <<_ACEOF
26588 + CFLAGS=""
26589 + cat >conftest.$ac_ext <<_ACEOF
26590 /* confdefs.h. */
26591 _ACEOF
26592 cat confdefs.h >>conftest.$ac_ext
26593 cat >>conftest.$ac_ext <<_ACEOF
26594 /* end confdefs.h. */
26595 -#include <stdarg.h>
26596 -#include <stdio.h>
26597 -#include <sys/types.h>
26598 -#include <sys/stat.h>
26599 -/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
26600 -struct buf { int x; };
26601 -FILE * (*rcsopen) (struct buf *, struct stat *, int);
26602 -static char *e (p, i)
26603 - char **p;
26604 - int i;
26605 -{
26606 - return p[i];
26607 -}
26608 -static char *f (char * (*g) (char **, int), char **p, ...)
26609 -{
26610 - char *s;
26611 - va_list v;
26612 - va_start (v,p);
26613 - s = g (p, va_arg (v,int));
26614 - va_end (v);
26615 - return s;
26616 -}
26617
26618 -/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
26619 - function prototypes and stuff, but not '\xHH' hex character constants.
26620 - These don't provoke an error unfortunately, instead are silently treated
26621 - as 'x'. The following induces an error, until -std1 is added to get
26622 - proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
26623 - array size at least. It's necessary to write '\x00'==0 to get something
26624 - that's true only with -std1. */
26625 -int osf4_cc_array ['\x00' == 0 ? 1 : -1];
26626 -
26627 -int test (int i, double x);
26628 -struct s1 {int (*f) (int a);};
26629 -struct s2 {int (*f) (double a);};
26630 -int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
26631 -int argc;
26632 -char **argv;
26633 int
26634 main ()
26635 {
26636 -return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
26637 +
26638 ;
26639 return 0;
26640 }
26641 _ACEOF
26642 -# Don't try gcc -ansi; that turns off useful extensions and
26643 -# breaks some systems' header files.
26644 -# AIX -qlanglvl=ansi
26645 -# Ultrix and OSF/1 -std1
26646 -# HP-UX 10.20 and later -Ae
26647 -# HP-UX older versions -Aa -D_HPUX_SOURCE
26648 -# SVR4 -Xc -D__EXTENSIONS__
26649 -for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
26650 -do
26651 - CC="$ac_save_CC $ac_arg"
26652 - rm -f conftest.$ac_objext
26653 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26654 - (eval $ac_compile) 2>conftest.er1
26655 +rm -f conftest.$ac_objext
26656 +if { (ac_try="$ac_compile"
26657 +case "(($ac_try" in
26658 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26659 + *) ac_try_echo=$ac_try;;
26660 +esac
26661 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26662 + (eval "$ac_compile") 2>conftest.er1
26663 ac_status=$?
26664 grep -v '^ *+' conftest.er1 >conftest.err
26665 rm -f conftest.er1
26666 cat conftest.err >&5
26667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26668 - (exit $ac_status); } &&
26669 - { ac_try='test -z "$ac_c_werror_flag"
26670 - || test ! -s conftest.err'
26671 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26672 - (eval $ac_try) 2>&5
26673 - ac_status=$?
26674 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
26675 - (exit $ac_status); }; } &&
26676 - { ac_try='test -s conftest.$ac_objext'
26677 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26678 - (eval $ac_try) 2>&5
26679 - ac_status=$?
26680 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
26681 - (exit $ac_status); }; }; then
26682 - ac_cv_prog_cc_stdc=$ac_arg
26683 -break
26684 + (exit $ac_status); } && {
26685 + test -z "$ac_c_werror_flag" ||
26686 + test ! -s conftest.err
26687 + } && test -s conftest.$ac_objext; then
26688 + :
26689 else
26690 echo "$as_me: failed program was:" >&5
26691 sed 's/^/| /' conftest.$ac_ext >&5
26692
26693 -fi
26694 -rm -f conftest.err conftest.$ac_objext
26695 -done
26696 -rm -f conftest.$ac_ext conftest.$ac_objext
26697 -CC=$ac_save_CC
26698 -
26699 -fi
26700 -
26701 -case "x$ac_cv_prog_cc_stdc" in
26702 - x|xno)
26703 - echo "$as_me:$LINENO: result: none needed" >&5
26704 -echo "${ECHO_T}none needed" >&6 ;;
26705 - *)
26706 - echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
26707 -echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
26708 - CC="$CC $ac_cv_prog_cc_stdc" ;;
26709 -esac
26710 -
26711 -# Some people use a C++ compiler to compile C. Since we use `exit',
26712 -# in C++ we need to declare it. In case someone uses the same compiler
26713 -# for both compiling C and C++ we need to have the C++ compiler decide
26714 -# the declaration of exit, since it's the most demanding environment.
26715 -cat >conftest.$ac_ext <<_ACEOF
26716 -#ifndef __cplusplus
26717 - choke me
26718 -#endif
26719 -_ACEOF
26720 -rm -f conftest.$ac_objext
26721 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26722 - (eval $ac_compile) 2>conftest.er1
26723 - ac_status=$?
26724 - grep -v '^ *+' conftest.er1 >conftest.err
26725 - rm -f conftest.er1
26726 - cat conftest.err >&5
26727 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
26728 - (exit $ac_status); } &&
26729 - { ac_try='test -z "$ac_c_werror_flag"
26730 - || test ! -s conftest.err'
26731 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26732 - (eval $ac_try) 2>&5
26733 - ac_status=$?
26734 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
26735 - (exit $ac_status); }; } &&
26736 - { ac_try='test -s conftest.$ac_objext'
26737 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26738 - (eval $ac_try) 2>&5
26739 - ac_status=$?
26740 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
26741 - (exit $ac_status); }; }; then
26742 - for ac_declaration in \
26743 - '' \
26744 - 'extern "C" void std::exit (int) throw (); using std::exit;' \
26745 - 'extern "C" void std::exit (int); using std::exit;' \
26746 - 'extern "C" void exit (int) throw ();' \
26747 - 'extern "C" void exit (int);' \
26748 - 'void exit (int);'
26749 -do
26750 - cat >conftest.$ac_ext <<_ACEOF
26751 + ac_c_werror_flag=$ac_save_c_werror_flag
26752 + CFLAGS="-g"
26753 + cat >conftest.$ac_ext <<_ACEOF
26754 /* confdefs.h. */
26755 _ACEOF
26756 cat confdefs.h >>conftest.$ac_ext
26757 cat >>conftest.$ac_ext <<_ACEOF
26758 /* end confdefs.h. */
26759 -$ac_declaration
26760 -#include <stdlib.h>
26761 +
26762 int
26763 main ()
26764 {
26765 -exit (42);
26766 +
26767 ;
26768 return 0;
26769 }
26770 _ACEOF
26771 rm -f conftest.$ac_objext
26772 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26773 - (eval $ac_compile) 2>conftest.er1
26774 +if { (ac_try="$ac_compile"
26775 +case "(($ac_try" in
26776 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26777 + *) ac_try_echo=$ac_try;;
26778 +esac
26779 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26780 + (eval "$ac_compile") 2>conftest.er1
26781 ac_status=$?
26782 grep -v '^ *+' conftest.er1 >conftest.err
26783 rm -f conftest.er1
26784 cat conftest.err >&5
26785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26786 - (exit $ac_status); } &&
26787 - { ac_try='test -z "$ac_c_werror_flag"
26788 - || test ! -s conftest.err'
26789 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26790 - (eval $ac_try) 2>&5
26791 - ac_status=$?
26792 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
26793 - (exit $ac_status); }; } &&
26794 - { ac_try='test -s conftest.$ac_objext'
26795 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26796 - (eval $ac_try) 2>&5
26797 - ac_status=$?
26798 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
26799 - (exit $ac_status); }; }; then
26800 - :
26801 + (exit $ac_status); } && {
26802 + test -z "$ac_c_werror_flag" ||
26803 + test ! -s conftest.err
26804 + } && test -s conftest.$ac_objext; then
26805 + ac_cv_prog_cc_g=yes
26806 else
26807 echo "$as_me: failed program was:" >&5
26808 sed 's/^/| /' conftest.$ac_ext >&5
26809
26810 -continue
26811 +
26812 fi
26813 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26814 - cat >conftest.$ac_ext <<_ACEOF
26815 +
26816 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26817 +fi
26818 +
26819 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26820 +fi
26821 +
26822 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26823 + ac_c_werror_flag=$ac_save_c_werror_flag
26824 +fi
26825 +{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
26826 +echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
26827 +if test "$ac_test_CFLAGS" = set; then
26828 + CFLAGS=$ac_save_CFLAGS
26829 +elif test $ac_cv_prog_cc_g = yes; then
26830 + if test "$GCC" = yes; then
26831 + CFLAGS="-g -O2"
26832 + else
26833 + CFLAGS="-g"
26834 + fi
26835 +else
26836 + if test "$GCC" = yes; then
26837 + CFLAGS="-O2"
26838 + else
26839 + CFLAGS=
26840 + fi
26841 +fi
26842 +{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
26843 +echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
26844 +if test "${ac_cv_prog_cc_c89+set}" = set; then
26845 + echo $ECHO_N "(cached) $ECHO_C" >&6
26846 +else
26847 + ac_cv_prog_cc_c89=no
26848 +ac_save_CC=$CC
26849 +cat >conftest.$ac_ext <<_ACEOF
26850 /* confdefs.h. */
26851 _ACEOF
26852 cat confdefs.h >>conftest.$ac_ext
26853 cat >>conftest.$ac_ext <<_ACEOF
26854 /* end confdefs.h. */
26855 -$ac_declaration
26856 +#include <stdarg.h>
26857 +#include <stdio.h>
26858 +#include <sys/types.h>
26859 +#include <sys/stat.h>
26860 +/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
26861 +struct buf { int x; };
26862 +FILE * (*rcsopen) (struct buf *, struct stat *, int);
26863 +static char *e (p, i)
26864 + char **p;
26865 + int i;
26866 +{
26867 + return p[i];
26868 +}
26869 +static char *f (char * (*g) (char **, int), char **p, ...)
26870 +{
26871 + char *s;
26872 + va_list v;
26873 + va_start (v,p);
26874 + s = g (p, va_arg (v,int));
26875 + va_end (v);
26876 + return s;
26877 +}
26878 +
26879 +/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
26880 + function prototypes and stuff, but not '\xHH' hex character constants.
26881 + These don't provoke an error unfortunately, instead are silently treated
26882 + as 'x'. The following induces an error, until -std is added to get
26883 + proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
26884 + array size at least. It's necessary to write '\x00'==0 to get something
26885 + that's true only with -std. */
26886 +int osf4_cc_array ['\x00' == 0 ? 1 : -1];
26887 +
26888 +/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
26889 + inside strings and character constants. */
26890 +#define FOO(x) 'x'
26891 +int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
26892 +
26893 +int test (int i, double x);
26894 +struct s1 {int (*f) (int a);};
26895 +struct s2 {int (*f) (double a);};
26896 +int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
26897 +int argc;
26898 +char **argv;
26899 int
26900 main ()
26901 {
26902 -exit (42);
26903 +return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
26904 ;
26905 return 0;
26906 }
26907 _ACEOF
26908 -rm -f conftest.$ac_objext
26909 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26910 - (eval $ac_compile) 2>conftest.er1
26911 +for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
26912 + -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
26913 +do
26914 + CC="$ac_save_CC $ac_arg"
26915 + rm -f conftest.$ac_objext
26916 +if { (ac_try="$ac_compile"
26917 +case "(($ac_try" in
26918 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26919 + *) ac_try_echo=$ac_try;;
26920 +esac
26921 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26922 + (eval "$ac_compile") 2>conftest.er1
26923 ac_status=$?
26924 grep -v '^ *+' conftest.er1 >conftest.err
26925 rm -f conftest.er1
26926 cat conftest.err >&5
26927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26928 - (exit $ac_status); } &&
26929 - { ac_try='test -z "$ac_c_werror_flag"
26930 - || test ! -s conftest.err'
26931 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26932 - (eval $ac_try) 2>&5
26933 - ac_status=$?
26934 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
26935 - (exit $ac_status); }; } &&
26936 - { ac_try='test -s conftest.$ac_objext'
26937 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26938 - (eval $ac_try) 2>&5
26939 - ac_status=$?
26940 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
26941 - (exit $ac_status); }; }; then
26942 - break
26943 + (exit $ac_status); } && {
26944 + test -z "$ac_c_werror_flag" ||
26945 + test ! -s conftest.err
26946 + } && test -s conftest.$ac_objext; then
26947 + ac_cv_prog_cc_c89=$ac_arg
26948 else
26949 echo "$as_me: failed program was:" >&5
26950 sed 's/^/| /' conftest.$ac_ext >&5
26951
26952 +
26953 fi
26954 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26955 +
26956 +rm -f core conftest.err conftest.$ac_objext
26957 + test "x$ac_cv_prog_cc_c89" != "xno" && break
26958 done
26959 -rm -f conftest*
26960 -if test -n "$ac_declaration"; then
26961 - echo '#ifdef __cplusplus' >>confdefs.h
26962 - echo $ac_declaration >>confdefs.h
26963 - echo '#endif' >>confdefs.h
26964 +rm -f conftest.$ac_ext
26965 +CC=$ac_save_CC
26966 +
26967 fi
26968 +# AC_CACHE_VAL
26969 +case "x$ac_cv_prog_cc_c89" in
26970 + x)
26971 + { echo "$as_me:$LINENO: result: none needed" >&5
26972 +echo "${ECHO_T}none needed" >&6; } ;;
26973 + xno)
26974 + { echo "$as_me:$LINENO: result: unsupported" >&5
26975 +echo "${ECHO_T}unsupported" >&6; } ;;
26976 + *)
26977 + CC="$CC $ac_cv_prog_cc_c89"
26978 + { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
26979 +echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
26980 +esac
26981
26982 -else
26983 - echo "$as_me: failed program was:" >&5
26984 -sed 's/^/| /' conftest.$ac_ext >&5
26985
26986 -fi
26987 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26988 ac_ext=c
26989 ac_cpp='$CPP $CPPFLAGS'
26990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26991 @@ -4984,8 +5478,8 @@ for ac_prog in 'bison -y' byacc
26992 do
26993 # Extract the first word of "$ac_prog", so it can be a program name with args.
26994 set dummy $ac_prog; ac_word=$2
26995 -echo "$as_me:$LINENO: checking for $ac_word" >&5
26996 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
26997 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
26998 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
26999 if test "${ac_cv_prog_YACC+set}" = set; then
27000 echo $ECHO_N "(cached) $ECHO_C" >&6
27001 else
27002 @@ -4998,25 +5492,27 @@ do
27003 IFS=$as_save_IFS
27004 test -z "$as_dir" && as_dir=.
27005 for ac_exec_ext in '' $ac_executable_extensions; do
27006 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27007 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27008 ac_cv_prog_YACC="$ac_prog"
27009 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27010 break 2
27011 fi
27012 done
27013 done
27014 +IFS=$as_save_IFS
27015
27016 fi
27017 fi
27018 YACC=$ac_cv_prog_YACC
27019 if test -n "$YACC"; then
27020 - echo "$as_me:$LINENO: result: $YACC" >&5
27021 -echo "${ECHO_T}$YACC" >&6
27022 + { echo "$as_me:$LINENO: result: $YACC" >&5
27023 +echo "${ECHO_T}$YACC" >&6; }
27024 else
27025 - echo "$as_me:$LINENO: result: no" >&5
27026 -echo "${ECHO_T}no" >&6
27027 + { echo "$as_me:$LINENO: result: no" >&5
27028 +echo "${ECHO_T}no" >&6; }
27029 fi
27030
27031 +
27032 test -n "$YACC" && break
27033 done
27034 test -n "$YACC" || YACC="yacc"
27035 @@ -5025,8 +5521,8 @@ for ac_prog in flex lex
27036 do
27037 # Extract the first word of "$ac_prog", so it can be a program name with args.
27038 set dummy $ac_prog; ac_word=$2
27039 -echo "$as_me:$LINENO: checking for $ac_word" >&5
27040 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27041 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
27042 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
27043 if test "${ac_cv_prog_LEX+set}" = set; then
27044 echo $ECHO_N "(cached) $ECHO_C" >&6
27045 else
27046 @@ -5039,253 +5535,182 @@ do
27047 IFS=$as_save_IFS
27048 test -z "$as_dir" && as_dir=.
27049 for ac_exec_ext in '' $ac_executable_extensions; do
27050 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27051 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27052 ac_cv_prog_LEX="$ac_prog"
27053 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27054 break 2
27055 fi
27056 done
27057 done
27058 +IFS=$as_save_IFS
27059
27060 fi
27061 fi
27062 LEX=$ac_cv_prog_LEX
27063 if test -n "$LEX"; then
27064 - echo "$as_me:$LINENO: result: $LEX" >&5
27065 -echo "${ECHO_T}$LEX" >&6
27066 + { echo "$as_me:$LINENO: result: $LEX" >&5
27067 +echo "${ECHO_T}$LEX" >&6; }
27068 else
27069 - echo "$as_me:$LINENO: result: no" >&5
27070 -echo "${ECHO_T}no" >&6
27071 + { echo "$as_me:$LINENO: result: no" >&5
27072 +echo "${ECHO_T}no" >&6; }
27073 fi
27074
27075 +
27076 test -n "$LEX" && break
27077 done
27078 test -n "$LEX" || LEX=":"
27079
27080 -if test -z "$LEXLIB"
27081 -then
27082 - echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
27083 -echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
27084 -if test "${ac_cv_lib_fl_yywrap+set}" = set; then
27085 - echo $ECHO_N "(cached) $ECHO_C" >&6
27086 -else
27087 - ac_check_lib_save_LIBS=$LIBS
27088 -LIBS="-lfl $LIBS"
27089 -cat >conftest.$ac_ext <<_ACEOF
27090 -/* confdefs.h. */
27091 -_ACEOF
27092 -cat confdefs.h >>conftest.$ac_ext
27093 -cat >>conftest.$ac_ext <<_ACEOF
27094 -/* end confdefs.h. */
27095 -
27096 -/* Override any gcc2 internal prototype to avoid an error. */
27097 -#ifdef __cplusplus
27098 -extern "C"
27099 +if test "x$LEX" != "x:"; then
27100 + cat >conftest.l <<_ACEOF
27101 +%%
27102 +a { ECHO; }
27103 +b { REJECT; }
27104 +c { yymore (); }
27105 +d { yyless (1); }
27106 +e { yyless (input () != 0); }
27107 +f { unput (yytext[0]); }
27108 +. { BEGIN INITIAL; }
27109 +%%
27110 +#ifdef YYTEXT_POINTER
27111 +extern char *yytext;
27112 #endif
27113 -/* We use char because int might match the return type of a gcc2
27114 - builtin and then its argument prototype would still apply. */
27115 -char yywrap ();
27116 int
27117 -main ()
27118 +main (void)
27119 {
27120 -yywrap ();
27121 - ;
27122 - return 0;
27123 + return ! yylex () + ! yywrap ();
27124 }
27125 _ACEOF
27126 -rm -f conftest.$ac_objext conftest$ac_exeext
27127 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27128 - (eval $ac_link) 2>conftest.er1
27129 - ac_status=$?
27130 - grep -v '^ *+' conftest.er1 >conftest.err
27131 - rm -f conftest.er1
27132 - cat conftest.err >&5
27133 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
27134 - (exit $ac_status); } &&
27135 - { ac_try='test -z "$ac_c_werror_flag"
27136 - || test ! -s conftest.err'
27137 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27138 - (eval $ac_try) 2>&5
27139 - ac_status=$?
27140 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
27141 - (exit $ac_status); }; } &&
27142 - { ac_try='test -s conftest$ac_exeext'
27143 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27144 - (eval $ac_try) 2>&5
27145 +{ (ac_try="$LEX conftest.l"
27146 +case "(($ac_try" in
27147 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27148 + *) ac_try_echo=$ac_try;;
27149 +esac
27150 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27151 + (eval "$LEX conftest.l") 2>&5
27152 ac_status=$?
27153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27154 - (exit $ac_status); }; }; then
27155 - ac_cv_lib_fl_yywrap=yes
27156 + (exit $ac_status); }
27157 +{ echo "$as_me:$LINENO: checking lex output file root" >&5
27158 +echo $ECHO_N "checking lex output file root... $ECHO_C" >&6; }
27159 +if test "${ac_cv_prog_lex_root+set}" = set; then
27160 + echo $ECHO_N "(cached) $ECHO_C" >&6
27161 else
27162 - echo "$as_me: failed program was:" >&5
27163 -sed 's/^/| /' conftest.$ac_ext >&5
27164
27165 -ac_cv_lib_fl_yywrap=no
27166 +if test -f lex.yy.c; then
27167 + ac_cv_prog_lex_root=lex.yy
27168 +elif test -f lexyy.c; then
27169 + ac_cv_prog_lex_root=lexyy
27170 +else
27171 + { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
27172 +echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
27173 + { (exit 1); exit 1; }; }
27174 fi
27175 -rm -f conftest.err conftest.$ac_objext \
27176 - conftest$ac_exeext conftest.$ac_ext
27177 -LIBS=$ac_check_lib_save_LIBS
27178 fi
27179 -echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
27180 -echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
27181 -if test $ac_cv_lib_fl_yywrap = yes; then
27182 - LEXLIB="-lfl"
27183 -else
27184 - echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
27185 -echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
27186 -if test "${ac_cv_lib_l_yywrap+set}" = set; then
27187 +{ echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
27188 +echo "${ECHO_T}$ac_cv_prog_lex_root" >&6; }
27189 +LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
27190 +
27191 +if test -z "${LEXLIB+set}"; then
27192 + { echo "$as_me:$LINENO: checking lex library" >&5
27193 +echo $ECHO_N "checking lex library... $ECHO_C" >&6; }
27194 +if test "${ac_cv_lib_lex+set}" = set; then
27195 echo $ECHO_N "(cached) $ECHO_C" >&6
27196 else
27197 - ac_check_lib_save_LIBS=$LIBS
27198 -LIBS="-ll $LIBS"
27199 -cat >conftest.$ac_ext <<_ACEOF
27200 -/* confdefs.h. */
27201 -_ACEOF
27202 -cat confdefs.h >>conftest.$ac_ext
27203 -cat >>conftest.$ac_ext <<_ACEOF
27204 -/* end confdefs.h. */
27205
27206 -/* Override any gcc2 internal prototype to avoid an error. */
27207 -#ifdef __cplusplus
27208 -extern "C"
27209 -#endif
27210 -/* We use char because int might match the return type of a gcc2
27211 - builtin and then its argument prototype would still apply. */
27212 -char yywrap ();
27213 -int
27214 -main ()
27215 -{
27216 -yywrap ();
27217 - ;
27218 - return 0;
27219 -}
27220 + ac_save_LIBS=$LIBS
27221 + ac_cv_lib_lex='none needed'
27222 + for ac_lib in '' -lfl -ll; do
27223 + LIBS="$ac_lib $ac_save_LIBS"
27224 + cat >conftest.$ac_ext <<_ACEOF
27225 +`cat $LEX_OUTPUT_ROOT.c`
27226 _ACEOF
27227 rm -f conftest.$ac_objext conftest$ac_exeext
27228 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27229 - (eval $ac_link) 2>conftest.er1
27230 +if { (ac_try="$ac_link"
27231 +case "(($ac_try" in
27232 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27233 + *) ac_try_echo=$ac_try;;
27234 +esac
27235 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27236 + (eval "$ac_link") 2>conftest.er1
27237 ac_status=$?
27238 grep -v '^ *+' conftest.er1 >conftest.err
27239 rm -f conftest.er1
27240 cat conftest.err >&5
27241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27242 - (exit $ac_status); } &&
27243 - { ac_try='test -z "$ac_c_werror_flag"
27244 - || test ! -s conftest.err'
27245 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27246 - (eval $ac_try) 2>&5
27247 - ac_status=$?
27248 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
27249 - (exit $ac_status); }; } &&
27250 - { ac_try='test -s conftest$ac_exeext'
27251 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27252 - (eval $ac_try) 2>&5
27253 - ac_status=$?
27254 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
27255 - (exit $ac_status); }; }; then
27256 - ac_cv_lib_l_yywrap=yes
27257 + (exit $ac_status); } && {
27258 + test -z "$ac_c_werror_flag" ||
27259 + test ! -s conftest.err
27260 + } && test -s conftest$ac_exeext &&
27261 + $as_test_x conftest$ac_exeext; then
27262 + ac_cv_lib_lex=$ac_lib
27263 else
27264 echo "$as_me: failed program was:" >&5
27265 sed 's/^/| /' conftest.$ac_ext >&5
27266
27267 -ac_cv_lib_l_yywrap=no
27268 -fi
27269 -rm -f conftest.err conftest.$ac_objext \
27270 - conftest$ac_exeext conftest.$ac_ext
27271 -LIBS=$ac_check_lib_save_LIBS
27272 -fi
27273 -echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
27274 -echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
27275 -if test $ac_cv_lib_l_yywrap = yes; then
27276 - LEXLIB="-ll"
27277 -fi
27278 -
27279 -fi
27280 -
27281 -fi
27282
27283 -if test "x$LEX" != "x:"; then
27284 - echo "$as_me:$LINENO: checking lex output file root" >&5
27285 -echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
27286 -if test "${ac_cv_prog_lex_root+set}" = set; then
27287 - echo $ECHO_N "(cached) $ECHO_C" >&6
27288 -else
27289 - # The minimal lex program is just a single line: %%. But some broken lexes
27290 -# (Solaris, I think it was) want two %% lines, so accommodate them.
27291 -cat >conftest.l <<_ACEOF
27292 -%%
27293 -%%
27294 -_ACEOF
27295 -{ (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
27296 - (eval $LEX conftest.l) 2>&5
27297 - ac_status=$?
27298 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
27299 - (exit $ac_status); }
27300 -if test -f lex.yy.c; then
27301 - ac_cv_prog_lex_root=lex.yy
27302 -elif test -f lexyy.c; then
27303 - ac_cv_prog_lex_root=lexyy
27304 -else
27305 - { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
27306 -echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
27307 - { (exit 1); exit 1; }; }
27308 fi
27309 +
27310 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27311 + conftest$ac_exeext conftest.$ac_ext
27312 + test "$ac_cv_lib_lex" != 'none needed' && break
27313 + done
27314 + LIBS=$ac_save_LIBS
27315 +
27316 +fi
27317 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_lex" >&5
27318 +echo "${ECHO_T}$ac_cv_lib_lex" >&6; }
27319 + test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex
27320 fi
27321 -echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
27322 -echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
27323 -rm -f conftest.l
27324 -LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
27325
27326 -echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
27327 -echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
27328 +
27329 +{ echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
27330 +echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6; }
27331 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
27332 echo $ECHO_N "(cached) $ECHO_C" >&6
27333 else
27334 # POSIX says lex can declare yytext either as a pointer or an array; the
27335 -# default is implementation-dependent. Figure out which it is, since
27336 +# default is implementation-dependent. Figure out which it is, since
27337 # not all implementations provide the %pointer and %array declarations.
27338 ac_cv_prog_lex_yytext_pointer=no
27339 -echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
27340 ac_save_LIBS=$LIBS
27341 -LIBS="$LIBS $LEXLIB"
27342 +LIBS="$LEXLIB $ac_save_LIBS"
27343 cat >conftest.$ac_ext <<_ACEOF
27344 +#define YYTEXT_POINTER 1
27345 `cat $LEX_OUTPUT_ROOT.c`
27346 _ACEOF
27347 rm -f conftest.$ac_objext conftest$ac_exeext
27348 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27349 - (eval $ac_link) 2>conftest.er1
27350 +if { (ac_try="$ac_link"
27351 +case "(($ac_try" in
27352 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27353 + *) ac_try_echo=$ac_try;;
27354 +esac
27355 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27356 + (eval "$ac_link") 2>conftest.er1
27357 ac_status=$?
27358 grep -v '^ *+' conftest.er1 >conftest.err
27359 rm -f conftest.er1
27360 cat conftest.err >&5
27361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27362 - (exit $ac_status); } &&
27363 - { ac_try='test -z "$ac_c_werror_flag"
27364 - || test ! -s conftest.err'
27365 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27366 - (eval $ac_try) 2>&5
27367 - ac_status=$?
27368 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
27369 - (exit $ac_status); }; } &&
27370 - { ac_try='test -s conftest$ac_exeext'
27371 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27372 - (eval $ac_try) 2>&5
27373 - ac_status=$?
27374 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
27375 - (exit $ac_status); }; }; then
27376 + (exit $ac_status); } && {
27377 + test -z "$ac_c_werror_flag" ||
27378 + test ! -s conftest.err
27379 + } && test -s conftest$ac_exeext &&
27380 + $as_test_x conftest$ac_exeext; then
27381 ac_cv_prog_lex_yytext_pointer=yes
27382 else
27383 echo "$as_me: failed program was:" >&5
27384 sed 's/^/| /' conftest.$ac_ext >&5
27385
27386 +
27387 fi
27388 -rm -f conftest.err conftest.$ac_objext \
27389 +
27390 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27391 conftest$ac_exeext conftest.$ac_ext
27392 LIBS=$ac_save_LIBS
27393 -rm -f "${LEX_OUTPUT_ROOT}.c"
27394
27395 fi
27396 -echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
27397 -echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
27398 +{ echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
27399 +echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6; }
27400 if test $ac_cv_prog_lex_yytext_pointer = yes; then
27401
27402 cat >>confdefs.h <<\_ACEOF
27403 @@ -5293,6 +5718,7 @@ cat >>confdefs.h <<\_ACEOF
27404 _ACEOF
27405
27406 fi
27407 +rm -f conftest.l $LEX_OUTPUT_ROOT.c
27408
27409 fi
27410 if test "$LEX" = :; then
27411 @@ -5303,8 +5729,8 @@ ALL_LINGUAS="fr tr ja es sv da zh_CN ru
27412 if test -n "$ac_tool_prefix"; then
27413 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
27414 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
27415 -echo "$as_me:$LINENO: checking for $ac_word" >&5
27416 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27417 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
27418 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
27419 if test "${ac_cv_prog_RANLIB+set}" = set; then
27420 echo $ECHO_N "(cached) $ECHO_C" >&6
27421 else
27422 @@ -5317,32 +5743,34 @@ do
27423 IFS=$as_save_IFS
27424 test -z "$as_dir" && as_dir=.
27425 for ac_exec_ext in '' $ac_executable_extensions; do
27426 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27427 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27428 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
27429 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27430 break 2
27431 fi
27432 done
27433 done
27434 +IFS=$as_save_IFS
27435
27436 fi
27437 fi
27438 RANLIB=$ac_cv_prog_RANLIB
27439 if test -n "$RANLIB"; then
27440 - echo "$as_me:$LINENO: result: $RANLIB" >&5
27441 -echo "${ECHO_T}$RANLIB" >&6
27442 + { echo "$as_me:$LINENO: result: $RANLIB" >&5
27443 +echo "${ECHO_T}$RANLIB" >&6; }
27444 else
27445 - echo "$as_me:$LINENO: result: no" >&5
27446 -echo "${ECHO_T}no" >&6
27447 + { echo "$as_me:$LINENO: result: no" >&5
27448 +echo "${ECHO_T}no" >&6; }
27449 fi
27450
27451 +
27452 fi
27453 if test -z "$ac_cv_prog_RANLIB"; then
27454 ac_ct_RANLIB=$RANLIB
27455 # Extract the first word of "ranlib", so it can be a program name with args.
27456 set dummy ranlib; ac_word=$2
27457 -echo "$as_me:$LINENO: checking for $ac_word" >&5
27458 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27459 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
27460 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
27461 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
27462 echo $ECHO_N "(cached) $ECHO_C" >&6
27463 else
27464 @@ -5355,27 +5783,41 @@ do
27465 IFS=$as_save_IFS
27466 test -z "$as_dir" && as_dir=.
27467 for ac_exec_ext in '' $ac_executable_extensions; do
27468 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27469 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27470 ac_cv_prog_ac_ct_RANLIB="ranlib"
27471 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27472 break 2
27473 fi
27474 done
27475 done
27476 +IFS=$as_save_IFS
27477
27478 - test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
27479 fi
27480 fi
27481 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
27482 if test -n "$ac_ct_RANLIB"; then
27483 - echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
27484 -echo "${ECHO_T}$ac_ct_RANLIB" >&6
27485 + { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
27486 +echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
27487 else
27488 - echo "$as_me:$LINENO: result: no" >&5
27489 -echo "${ECHO_T}no" >&6
27490 + { echo "$as_me:$LINENO: result: no" >&5
27491 +echo "${ECHO_T}no" >&6; }
27492 fi
27493
27494 - RANLIB=$ac_ct_RANLIB
27495 + if test "x$ac_ct_RANLIB" = x; then
27496 + RANLIB=":"
27497 + else
27498 + case $cross_compiling:$ac_tool_warned in
27499 +yes:)
27500 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
27501 +whose name does not start with the host triplet. If you think this
27502 +configuration is useful to you, please write to autoconf@gnu.org." >&5
27503 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
27504 +whose name does not start with the host triplet. If you think this
27505 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
27506 +ac_tool_warned=yes ;;
27507 +esac
27508 + RANLIB=$ac_ct_RANLIB
27509 + fi
27510 else
27511 RANLIB="$ac_cv_prog_RANLIB"
27512 fi
27513 @@ -5385,8 +5827,8 @@ ac_cpp='$CPP $CPPFLAGS'
27514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27517 -echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
27518 -echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
27519 +{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
27520 +echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
27521 # On Suns, sometimes $CPP names a directory.
27522 if test -n "$CPP" && test -d "$CPP"; then
27523 CPP=
27524 @@ -5420,24 +5862,22 @@ cat >>conftest.$ac_ext <<_ACEOF
27525 #endif
27526 Syntax error
27527 _ACEOF
27528 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27529 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27530 +if { (ac_try="$ac_cpp conftest.$ac_ext"
27531 +case "(($ac_try" in
27532 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27533 + *) ac_try_echo=$ac_try;;
27534 +esac
27535 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27536 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
27537 ac_status=$?
27538 grep -v '^ *+' conftest.er1 >conftest.err
27539 rm -f conftest.er1
27540 cat conftest.err >&5
27541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27542 - (exit $ac_status); } >/dev/null; then
27543 - if test -s conftest.err; then
27544 - ac_cpp_err=$ac_c_preproc_warn_flag
27545 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
27546 - else
27547 - ac_cpp_err=
27548 - fi
27549 -else
27550 - ac_cpp_err=yes
27551 -fi
27552 -if test -z "$ac_cpp_err"; then
27553 + (exit $ac_status); } >/dev/null && {
27554 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
27555 + test ! -s conftest.err
27556 + }; then
27557 :
27558 else
27559 echo "$as_me: failed program was:" >&5
27560 @@ -5446,9 +5886,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
27561 # Broken: fails on valid input.
27562 continue
27563 fi
27564 +
27565 rm -f conftest.err conftest.$ac_ext
27566
27567 - # OK, works on sane cases. Now check whether non-existent headers
27568 + # OK, works on sane cases. Now check whether nonexistent headers
27569 # can be detected and how.
27570 cat >conftest.$ac_ext <<_ACEOF
27571 /* confdefs.h. */
27572 @@ -5458,24 +5899,22 @@ cat >>conftest.$ac_ext <<_ACEOF
27573 /* end confdefs.h. */
27574 #include <ac_nonexistent.h>
27575 _ACEOF
27576 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27577 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27578 +if { (ac_try="$ac_cpp conftest.$ac_ext"
27579 +case "(($ac_try" in
27580 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27581 + *) ac_try_echo=$ac_try;;
27582 +esac
27583 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27584 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
27585 ac_status=$?
27586 grep -v '^ *+' conftest.er1 >conftest.err
27587 rm -f conftest.er1
27588 cat conftest.err >&5
27589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27590 - (exit $ac_status); } >/dev/null; then
27591 - if test -s conftest.err; then
27592 - ac_cpp_err=$ac_c_preproc_warn_flag
27593 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
27594 - else
27595 - ac_cpp_err=
27596 - fi
27597 -else
27598 - ac_cpp_err=yes
27599 -fi
27600 -if test -z "$ac_cpp_err"; then
27601 + (exit $ac_status); } >/dev/null && {
27602 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
27603 + test ! -s conftest.err
27604 + }; then
27605 # Broken: success on invalid input.
27606 continue
27607 else
27608 @@ -5486,6 +5925,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
27609 ac_preproc_ok=:
27610 break
27611 fi
27612 +
27613 rm -f conftest.err conftest.$ac_ext
27614
27615 done
27616 @@ -5503,8 +5943,8 @@ fi
27617 else
27618 ac_cv_prog_CPP=$CPP
27619 fi
27620 -echo "$as_me:$LINENO: result: $CPP" >&5
27621 -echo "${ECHO_T}$CPP" >&6
27622 +{ echo "$as_me:$LINENO: result: $CPP" >&5
27623 +echo "${ECHO_T}$CPP" >&6; }
27624 ac_preproc_ok=false
27625 for ac_c_preproc_warn_flag in '' yes
27626 do
27627 @@ -5527,24 +5967,22 @@ cat >>conftest.$ac_ext <<_ACEOF
27628 #endif
27629 Syntax error
27630 _ACEOF
27631 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27632 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27633 +if { (ac_try="$ac_cpp conftest.$ac_ext"
27634 +case "(($ac_try" in
27635 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27636 + *) ac_try_echo=$ac_try;;
27637 +esac
27638 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27639 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
27640 ac_status=$?
27641 grep -v '^ *+' conftest.er1 >conftest.err
27642 rm -f conftest.er1
27643 cat conftest.err >&5
27644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27645 - (exit $ac_status); } >/dev/null; then
27646 - if test -s conftest.err; then
27647 - ac_cpp_err=$ac_c_preproc_warn_flag
27648 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
27649 - else
27650 - ac_cpp_err=
27651 - fi
27652 -else
27653 - ac_cpp_err=yes
27654 -fi
27655 -if test -z "$ac_cpp_err"; then
27656 + (exit $ac_status); } >/dev/null && {
27657 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
27658 + test ! -s conftest.err
27659 + }; then
27660 :
27661 else
27662 echo "$as_me: failed program was:" >&5
27663 @@ -5553,9 +5991,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
27664 # Broken: fails on valid input.
27665 continue
27666 fi
27667 +
27668 rm -f conftest.err conftest.$ac_ext
27669
27670 - # OK, works on sane cases. Now check whether non-existent headers
27671 + # OK, works on sane cases. Now check whether nonexistent headers
27672 # can be detected and how.
27673 cat >conftest.$ac_ext <<_ACEOF
27674 /* confdefs.h. */
27675 @@ -5565,24 +6004,22 @@ cat >>conftest.$ac_ext <<_ACEOF
27676 /* end confdefs.h. */
27677 #include <ac_nonexistent.h>
27678 _ACEOF
27679 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27680 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27681 +if { (ac_try="$ac_cpp conftest.$ac_ext"
27682 +case "(($ac_try" in
27683 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27684 + *) ac_try_echo=$ac_try;;
27685 +esac
27686 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27687 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
27688 ac_status=$?
27689 grep -v '^ *+' conftest.er1 >conftest.err
27690 rm -f conftest.er1
27691 cat conftest.err >&5
27692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27693 - (exit $ac_status); } >/dev/null; then
27694 - if test -s conftest.err; then
27695 - ac_cpp_err=$ac_c_preproc_warn_flag
27696 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
27697 - else
27698 - ac_cpp_err=
27699 - fi
27700 -else
27701 - ac_cpp_err=yes
27702 -fi
27703 -if test -z "$ac_cpp_err"; then
27704 + (exit $ac_status); } >/dev/null && {
27705 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
27706 + test ! -s conftest.err
27707 + }; then
27708 # Broken: success on invalid input.
27709 continue
27710 else
27711 @@ -5593,6 +6030,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
27712 ac_preproc_ok=:
27713 break
27714 fi
27715 +
27716 rm -f conftest.err conftest.$ac_ext
27717
27718 done
27719 @@ -5615,23 +6053,170 @@ ac_link='$CC -o conftest$ac_exeext $CFLA
27720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27721
27722
27723 -echo "$as_me:$LINENO: checking for egrep" >&5
27724 -echo $ECHO_N "checking for egrep... $ECHO_C" >&6
27725 -if test "${ac_cv_prog_egrep+set}" = set; then
27726 +{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
27727 +echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
27728 +if test "${ac_cv_path_GREP+set}" = set; then
27729 + echo $ECHO_N "(cached) $ECHO_C" >&6
27730 +else
27731 + # Extract the first word of "grep ggrep" to use in msg output
27732 +if test -z "$GREP"; then
27733 +set dummy grep ggrep; ac_prog_name=$2
27734 +if test "${ac_cv_path_GREP+set}" = set; then
27735 + echo $ECHO_N "(cached) $ECHO_C" >&6
27736 +else
27737 + ac_path_GREP_found=false
27738 +# Loop through the user's path and test for each of PROGNAME-LIST
27739 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27740 +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
27741 +do
27742 + IFS=$as_save_IFS
27743 + test -z "$as_dir" && as_dir=.
27744 + for ac_prog in grep ggrep; do
27745 + for ac_exec_ext in '' $ac_executable_extensions; do
27746 + ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
27747 + { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
27748 + # Check for GNU ac_path_GREP and select it if it is found.
27749 + # Check for GNU $ac_path_GREP
27750 +case `"$ac_path_GREP" --version 2>&1` in
27751 +*GNU*)
27752 + ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
27753 +*)
27754 + ac_count=0
27755 + echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
27756 + while :
27757 + do
27758 + cat "conftest.in" "conftest.in" >"conftest.tmp"
27759 + mv "conftest.tmp" "conftest.in"
27760 + cp "conftest.in" "conftest.nl"
27761 + echo 'GREP' >> "conftest.nl"
27762 + "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
27763 + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
27764 + ac_count=`expr $ac_count + 1`
27765 + if test $ac_count -gt ${ac_path_GREP_max-0}; then
27766 + # Best one so far, save it but keep looking for a better one
27767 + ac_cv_path_GREP="$ac_path_GREP"
27768 + ac_path_GREP_max=$ac_count
27769 + fi
27770 + # 10*(2^10) chars as input seems more than enough
27771 + test $ac_count -gt 10 && break
27772 + done
27773 + rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
27774 +esac
27775 +
27776 +
27777 + $ac_path_GREP_found && break 3
27778 + done
27779 +done
27780 +
27781 +done
27782 +IFS=$as_save_IFS
27783 +
27784 +
27785 +fi
27786 +
27787 +GREP="$ac_cv_path_GREP"
27788 +if test -z "$GREP"; then
27789 + { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
27790 +echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
27791 + { (exit 1); exit 1; }; }
27792 +fi
27793 +
27794 +else
27795 + ac_cv_path_GREP=$GREP
27796 +fi
27797 +
27798 +
27799 +fi
27800 +{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
27801 +echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
27802 + GREP="$ac_cv_path_GREP"
27803 +
27804 +
27805 +{ echo "$as_me:$LINENO: checking for egrep" >&5
27806 +echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
27807 +if test "${ac_cv_path_EGREP+set}" = set; then
27808 + echo $ECHO_N "(cached) $ECHO_C" >&6
27809 +else
27810 + if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
27811 + then ac_cv_path_EGREP="$GREP -E"
27812 + else
27813 + # Extract the first word of "egrep" to use in msg output
27814 +if test -z "$EGREP"; then
27815 +set dummy egrep; ac_prog_name=$2
27816 +if test "${ac_cv_path_EGREP+set}" = set; then
27817 echo $ECHO_N "(cached) $ECHO_C" >&6
27818 else
27819 - if echo a | (grep -E '(a|b)') >/dev/null 2>&1
27820 - then ac_cv_prog_egrep='grep -E'
27821 - else ac_cv_prog_egrep='egrep'
27822 + ac_path_EGREP_found=false
27823 +# Loop through the user's path and test for each of PROGNAME-LIST
27824 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27825 +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
27826 +do
27827 + IFS=$as_save_IFS
27828 + test -z "$as_dir" && as_dir=.
27829 + for ac_prog in egrep; do
27830 + for ac_exec_ext in '' $ac_executable_extensions; do
27831 + ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
27832 + { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
27833 + # Check for GNU ac_path_EGREP and select it if it is found.
27834 + # Check for GNU $ac_path_EGREP
27835 +case `"$ac_path_EGREP" --version 2>&1` in
27836 +*GNU*)
27837 + ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
27838 +*)
27839 + ac_count=0
27840 + echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
27841 + while :
27842 + do
27843 + cat "conftest.in" "conftest.in" >"conftest.tmp"
27844 + mv "conftest.tmp" "conftest.in"
27845 + cp "conftest.in" "conftest.nl"
27846 + echo 'EGREP' >> "conftest.nl"
27847 + "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
27848 + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
27849 + ac_count=`expr $ac_count + 1`
27850 + if test $ac_count -gt ${ac_path_EGREP_max-0}; then
27851 + # Best one so far, save it but keep looking for a better one
27852 + ac_cv_path_EGREP="$ac_path_EGREP"
27853 + ac_path_EGREP_max=$ac_count
27854 fi
27855 + # 10*(2^10) chars as input seems more than enough
27856 + test $ac_count -gt 10 && break
27857 + done
27858 + rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
27859 +esac
27860 +
27861 +
27862 + $ac_path_EGREP_found && break 3
27863 + done
27864 +done
27865 +
27866 +done
27867 +IFS=$as_save_IFS
27868 +
27869 +
27870 +fi
27871 +
27872 +EGREP="$ac_cv_path_EGREP"
27873 +if test -z "$EGREP"; then
27874 + { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
27875 +echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
27876 + { (exit 1); exit 1; }; }
27877 +fi
27878 +
27879 +else
27880 + ac_cv_path_EGREP=$EGREP
27881 +fi
27882 +
27883 +
27884 + fi
27885 fi
27886 -echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
27887 -echo "${ECHO_T}$ac_cv_prog_egrep" >&6
27888 - EGREP=$ac_cv_prog_egrep
27889 +{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
27890 +echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
27891 + EGREP="$ac_cv_path_EGREP"
27892
27893
27894 -echo "$as_me:$LINENO: checking for ANSI C header files" >&5
27895 -echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
27896 +{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
27897 +echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
27898 if test "${ac_cv_header_stdc+set}" = set; then
27899 echo $ECHO_N "(cached) $ECHO_C" >&6
27900 else
27901 @@ -5655,35 +6240,31 @@ main ()
27902 }
27903 _ACEOF
27904 rm -f conftest.$ac_objext
27905 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27906 - (eval $ac_compile) 2>conftest.er1
27907 +if { (ac_try="$ac_compile"
27908 +case "(($ac_try" in
27909 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27910 + *) ac_try_echo=$ac_try;;
27911 +esac
27912 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27913 + (eval "$ac_compile") 2>conftest.er1
27914 ac_status=$?
27915 grep -v '^ *+' conftest.er1 >conftest.err
27916 rm -f conftest.er1
27917 cat conftest.err >&5
27918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27919 - (exit $ac_status); } &&
27920 - { ac_try='test -z "$ac_c_werror_flag"
27921 - || test ! -s conftest.err'
27922 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27923 - (eval $ac_try) 2>&5
27924 - ac_status=$?
27925 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
27926 - (exit $ac_status); }; } &&
27927 - { ac_try='test -s conftest.$ac_objext'
27928 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27929 - (eval $ac_try) 2>&5
27930 - ac_status=$?
27931 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
27932 - (exit $ac_status); }; }; then
27933 + (exit $ac_status); } && {
27934 + test -z "$ac_c_werror_flag" ||
27935 + test ! -s conftest.err
27936 + } && test -s conftest.$ac_objext; then
27937 ac_cv_header_stdc=yes
27938 else
27939 echo "$as_me: failed program was:" >&5
27940 sed 's/^/| /' conftest.$ac_ext >&5
27941
27942 -ac_cv_header_stdc=no
27943 + ac_cv_header_stdc=no
27944 fi
27945 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27946 +
27947 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27948
27949 if test $ac_cv_header_stdc = yes; then
27950 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
27951 @@ -5739,6 +6320,7 @@ cat confdefs.h >>conftest.$ac_ext
27952 cat >>conftest.$ac_ext <<_ACEOF
27953 /* end confdefs.h. */
27954 #include <ctype.h>
27955 +#include <stdlib.h>
27956 #if ((' ' & 0x0FF) == 0x020)
27957 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
27958 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
27959 @@ -5758,18 +6340,27 @@ main ()
27960 for (i = 0; i < 256; i++)
27961 if (XOR (islower (i), ISLOWER (i))
27962 || toupper (i) != TOUPPER (i))
27963 - exit(2);
27964 - exit (0);
27965 + return 2;
27966 + return 0;
27967 }
27968 _ACEOF
27969 rm -f conftest$ac_exeext
27970 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27971 - (eval $ac_link) 2>&5
27972 +if { (ac_try="$ac_link"
27973 +case "(($ac_try" in
27974 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27975 + *) ac_try_echo=$ac_try;;
27976 +esac
27977 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27978 + (eval "$ac_link") 2>&5
27979 ac_status=$?
27980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27981 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27982 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27983 - (eval $ac_try) 2>&5
27984 + { (case "(($ac_try" in
27985 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27986 + *) ac_try_echo=$ac_try;;
27987 +esac
27988 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27989 + (eval "$ac_try") 2>&5
27990 ac_status=$?
27991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27992 (exit $ac_status); }; }; then
27993 @@ -5782,12 +6373,14 @@ sed 's/^/| /' conftest.$ac_ext >&5
27994 ( exit $ac_status )
27995 ac_cv_header_stdc=no
27996 fi
27997 -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27998 +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27999 fi
28000 +
28001 +
28002 fi
28003 fi
28004 -echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
28005 -echo "${ECHO_T}$ac_cv_header_stdc" >&6
28006 +{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
28007 +echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
28008 if test $ac_cv_header_stdc = yes; then
28009
28010 cat >>confdefs.h <<\_ACEOF
28011 @@ -5796,8 +6389,8 @@ _ACEOF
28012
28013 fi
28014
28015 -echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
28016 -echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
28017 +{ echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
28018 +echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
28019 if test "${ac_cv_c_const+set}" = set; then
28020 echo $ECHO_N "(cached) $ECHO_C" >&6
28021 else
28022 @@ -5815,10 +6408,10 @@ main ()
28023 #ifndef __cplusplus
28024 /* Ultrix mips cc rejects this. */
28025 typedef int charset[2];
28026 - const charset x;
28027 + const charset cs;
28028 /* SunOS 4.1.1 cc rejects this. */
28029 - char const *const *ccp;
28030 - char **p;
28031 + char const *const *pcpcc;
28032 + char **ppc;
28033 /* NEC SVR4.0.2 mips cc rejects this. */
28034 struct point {int x, y;};
28035 static struct point const zero = {0,0};
28036 @@ -5827,16 +6420,17 @@ main ()
28037 an arm of an if-expression whose if-part is not a constant
28038 expression */
28039 const char *g = "string";
28040 - ccp = &g + (g ? g-g : 0);
28041 + pcpcc = &g + (g ? g-g : 0);
28042 /* HPUX 7.0 cc rejects these. */
28043 - ++ccp;
28044 - p = (char**) ccp;
28045 - ccp = (char const *const *) p;
28046 + ++pcpcc;
28047 + ppc = (char**) pcpcc;
28048 + pcpcc = (char const *const *) ppc;
28049 { /* SCO 3.2v4 cc rejects this. */
28050 char *t;
28051 char const *s = 0 ? (char *) 0 : (char const *) 0;
28052
28053 *t++ = 0;
28054 + if (s) return 0;
28055 }
28056 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
28057 int x[] = {25, 17};
28058 @@ -5855,7 +6449,9 @@ main ()
28059 }
28060 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
28061 const int foo = 10;
28062 + if (!foo) return 0;
28063 }
28064 + return !cs[0] && !zero.x;
28065 #endif
28066
28067 ;
28068 @@ -5863,38 +6459,34 @@ main ()
28069 }
28070 _ACEOF
28071 rm -f conftest.$ac_objext
28072 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28073 - (eval $ac_compile) 2>conftest.er1
28074 +if { (ac_try="$ac_compile"
28075 +case "(($ac_try" in
28076 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28077 + *) ac_try_echo=$ac_try;;
28078 +esac
28079 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28080 + (eval "$ac_compile") 2>conftest.er1
28081 ac_status=$?
28082 grep -v '^ *+' conftest.er1 >conftest.err
28083 rm -f conftest.er1
28084 cat conftest.err >&5
28085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28086 - (exit $ac_status); } &&
28087 - { ac_try='test -z "$ac_c_werror_flag"
28088 - || test ! -s conftest.err'
28089 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28090 - (eval $ac_try) 2>&5
28091 - ac_status=$?
28092 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28093 - (exit $ac_status); }; } &&
28094 - { ac_try='test -s conftest.$ac_objext'
28095 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28096 - (eval $ac_try) 2>&5
28097 - ac_status=$?
28098 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28099 - (exit $ac_status); }; }; then
28100 + (exit $ac_status); } && {
28101 + test -z "$ac_c_werror_flag" ||
28102 + test ! -s conftest.err
28103 + } && test -s conftest.$ac_objext; then
28104 ac_cv_c_const=yes
28105 else
28106 echo "$as_me: failed program was:" >&5
28107 sed 's/^/| /' conftest.$ac_ext >&5
28108
28109 -ac_cv_c_const=no
28110 + ac_cv_c_const=no
28111 fi
28112 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28113 +
28114 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28115 fi
28116 -echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
28117 -echo "${ECHO_T}$ac_cv_c_const" >&6
28118 +{ echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
28119 +echo "${ECHO_T}$ac_cv_c_const" >&6; }
28120 if test $ac_cv_c_const = no; then
28121
28122 cat >>confdefs.h <<\_ACEOF
28123 @@ -5903,8 +6495,8 @@ _ACEOF
28124
28125 fi
28126
28127 -echo "$as_me:$LINENO: checking for inline" >&5
28128 -echo $ECHO_N "checking for inline... $ECHO_C" >&6
28129 +{ echo "$as_me:$LINENO: checking for inline" >&5
28130 +echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
28131 if test "${ac_cv_c_inline+set}" = set; then
28132 echo $ECHO_N "(cached) $ECHO_C" >&6
28133 else
28134 @@ -5924,39 +6516,37 @@ $ac_kw foo_t foo () {return 0; }
28135
28136 _ACEOF
28137 rm -f conftest.$ac_objext
28138 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28139 - (eval $ac_compile) 2>conftest.er1
28140 +if { (ac_try="$ac_compile"
28141 +case "(($ac_try" in
28142 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28143 + *) ac_try_echo=$ac_try;;
28144 +esac
28145 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28146 + (eval "$ac_compile") 2>conftest.er1
28147 ac_status=$?
28148 grep -v '^ *+' conftest.er1 >conftest.err
28149 rm -f conftest.er1
28150 cat conftest.err >&5
28151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28152 - (exit $ac_status); } &&
28153 - { ac_try='test -z "$ac_c_werror_flag"
28154 - || test ! -s conftest.err'
28155 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28156 - (eval $ac_try) 2>&5
28157 - ac_status=$?
28158 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28159 - (exit $ac_status); }; } &&
28160 - { ac_try='test -s conftest.$ac_objext'
28161 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28162 - (eval $ac_try) 2>&5
28163 - ac_status=$?
28164 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28165 - (exit $ac_status); }; }; then
28166 - ac_cv_c_inline=$ac_kw; break
28167 + (exit $ac_status); } && {
28168 + test -z "$ac_c_werror_flag" ||
28169 + test ! -s conftest.err
28170 + } && test -s conftest.$ac_objext; then
28171 + ac_cv_c_inline=$ac_kw
28172 else
28173 echo "$as_me: failed program was:" >&5
28174 sed 's/^/| /' conftest.$ac_ext >&5
28175
28176 +
28177 fi
28178 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28179 +
28180 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28181 + test "$ac_cv_c_inline" != no && break
28182 done
28183
28184 fi
28185 -echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
28186 -echo "${ECHO_T}$ac_cv_c_inline" >&6
28187 +{ echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
28188 +echo "${ECHO_T}$ac_cv_c_inline" >&6; }
28189
28190
28191 case $ac_cv_c_inline in
28192 @@ -5988,9 +6578,9 @@ for ac_header in sys/types.h sys/stat.h
28193 inttypes.h stdint.h unistd.h
28194 do
28195 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28196 -echo "$as_me:$LINENO: checking for $ac_header" >&5
28197 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28198 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
28199 +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
28200 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
28201 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28202 echo $ECHO_N "(cached) $ECHO_C" >&6
28203 else
28204 cat >conftest.$ac_ext <<_ACEOF
28205 @@ -6004,38 +6594,35 @@ $ac_includes_default
28206 #include <$ac_header>
28207 _ACEOF
28208 rm -f conftest.$ac_objext
28209 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28210 - (eval $ac_compile) 2>conftest.er1
28211 +if { (ac_try="$ac_compile"
28212 +case "(($ac_try" in
28213 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28214 + *) ac_try_echo=$ac_try;;
28215 +esac
28216 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28217 + (eval "$ac_compile") 2>conftest.er1
28218 ac_status=$?
28219 grep -v '^ *+' conftest.er1 >conftest.err
28220 rm -f conftest.er1
28221 cat conftest.err >&5
28222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28223 - (exit $ac_status); } &&
28224 - { ac_try='test -z "$ac_c_werror_flag"
28225 - || test ! -s conftest.err'
28226 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28227 - (eval $ac_try) 2>&5
28228 - ac_status=$?
28229 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28230 - (exit $ac_status); }; } &&
28231 - { ac_try='test -s conftest.$ac_objext'
28232 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28233 - (eval $ac_try) 2>&5
28234 - ac_status=$?
28235 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28236 - (exit $ac_status); }; }; then
28237 + (exit $ac_status); } && {
28238 + test -z "$ac_c_werror_flag" ||
28239 + test ! -s conftest.err
28240 + } && test -s conftest.$ac_objext; then
28241 eval "$as_ac_Header=yes"
28242 else
28243 echo "$as_me: failed program was:" >&5
28244 sed 's/^/| /' conftest.$ac_ext >&5
28245
28246 -eval "$as_ac_Header=no"
28247 + eval "$as_ac_Header=no"
28248 fi
28249 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28250 +
28251 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28252 fi
28253 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28254 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28255 +ac_res=`eval echo '${'$as_ac_Header'}'`
28256 + { echo "$as_me:$LINENO: result: $ac_res" >&5
28257 +echo "${ECHO_T}$ac_res" >&6; }
28258 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28259 cat >>confdefs.h <<_ACEOF
28260 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
28261 @@ -6046,8 +6633,8 @@ fi
28262 done
28263
28264
28265 -echo "$as_me:$LINENO: checking for off_t" >&5
28266 -echo $ECHO_N "checking for off_t... $ECHO_C" >&6
28267 +{ echo "$as_me:$LINENO: checking for off_t" >&5
28268 +echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
28269 if test "${ac_cv_type_off_t+set}" = set; then
28270 echo $ECHO_N "(cached) $ECHO_C" >&6
28271 else
28272 @@ -6058,62 +6645,59 @@ cat confdefs.h >>conftest.$ac_ext
28273 cat >>conftest.$ac_ext <<_ACEOF
28274 /* end confdefs.h. */
28275 $ac_includes_default
28276 +typedef off_t ac__type_new_;
28277 int
28278 main ()
28279 {
28280 -if ((off_t *) 0)
28281 +if ((ac__type_new_ *) 0)
28282 return 0;
28283 -if (sizeof (off_t))
28284 +if (sizeof (ac__type_new_))
28285 return 0;
28286 ;
28287 return 0;
28288 }
28289 _ACEOF
28290 rm -f conftest.$ac_objext
28291 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28292 - (eval $ac_compile) 2>conftest.er1
28293 +if { (ac_try="$ac_compile"
28294 +case "(($ac_try" in
28295 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28296 + *) ac_try_echo=$ac_try;;
28297 +esac
28298 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28299 + (eval "$ac_compile") 2>conftest.er1
28300 ac_status=$?
28301 grep -v '^ *+' conftest.er1 >conftest.err
28302 rm -f conftest.er1
28303 cat conftest.err >&5
28304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28305 - (exit $ac_status); } &&
28306 - { ac_try='test -z "$ac_c_werror_flag"
28307 - || test ! -s conftest.err'
28308 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28309 - (eval $ac_try) 2>&5
28310 - ac_status=$?
28311 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28312 - (exit $ac_status); }; } &&
28313 - { ac_try='test -s conftest.$ac_objext'
28314 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28315 - (eval $ac_try) 2>&5
28316 - ac_status=$?
28317 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28318 - (exit $ac_status); }; }; then
28319 + (exit $ac_status); } && {
28320 + test -z "$ac_c_werror_flag" ||
28321 + test ! -s conftest.err
28322 + } && test -s conftest.$ac_objext; then
28323 ac_cv_type_off_t=yes
28324 else
28325 echo "$as_me: failed program was:" >&5
28326 sed 's/^/| /' conftest.$ac_ext >&5
28327
28328 -ac_cv_type_off_t=no
28329 + ac_cv_type_off_t=no
28330 fi
28331 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28332 +
28333 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28334 fi
28335 -echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
28336 -echo "${ECHO_T}$ac_cv_type_off_t" >&6
28337 +{ echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
28338 +echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
28339 if test $ac_cv_type_off_t = yes; then
28340 :
28341 else
28342
28343 cat >>confdefs.h <<_ACEOF
28344 -#define off_t long
28345 +#define off_t long int
28346 _ACEOF
28347
28348 fi
28349
28350 -echo "$as_me:$LINENO: checking for size_t" >&5
28351 -echo $ECHO_N "checking for size_t... $ECHO_C" >&6
28352 +{ echo "$as_me:$LINENO: checking for size_t" >&5
28353 +echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
28354 if test "${ac_cv_type_size_t+set}" = set; then
28355 echo $ECHO_N "(cached) $ECHO_C" >&6
28356 else
28357 @@ -6124,64 +6708,61 @@ cat confdefs.h >>conftest.$ac_ext
28358 cat >>conftest.$ac_ext <<_ACEOF
28359 /* end confdefs.h. */
28360 $ac_includes_default
28361 +typedef size_t ac__type_new_;
28362 int
28363 main ()
28364 {
28365 -if ((size_t *) 0)
28366 +if ((ac__type_new_ *) 0)
28367 return 0;
28368 -if (sizeof (size_t))
28369 +if (sizeof (ac__type_new_))
28370 return 0;
28371 ;
28372 return 0;
28373 }
28374 _ACEOF
28375 rm -f conftest.$ac_objext
28376 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28377 - (eval $ac_compile) 2>conftest.er1
28378 +if { (ac_try="$ac_compile"
28379 +case "(($ac_try" in
28380 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28381 + *) ac_try_echo=$ac_try;;
28382 +esac
28383 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28384 + (eval "$ac_compile") 2>conftest.er1
28385 ac_status=$?
28386 grep -v '^ *+' conftest.er1 >conftest.err
28387 rm -f conftest.er1
28388 cat conftest.err >&5
28389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28390 - (exit $ac_status); } &&
28391 - { ac_try='test -z "$ac_c_werror_flag"
28392 - || test ! -s conftest.err'
28393 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28394 - (eval $ac_try) 2>&5
28395 - ac_status=$?
28396 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28397 - (exit $ac_status); }; } &&
28398 - { ac_try='test -s conftest.$ac_objext'
28399 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28400 - (eval $ac_try) 2>&5
28401 - ac_status=$?
28402 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28403 - (exit $ac_status); }; }; then
28404 + (exit $ac_status); } && {
28405 + test -z "$ac_c_werror_flag" ||
28406 + test ! -s conftest.err
28407 + } && test -s conftest.$ac_objext; then
28408 ac_cv_type_size_t=yes
28409 else
28410 echo "$as_me: failed program was:" >&5
28411 sed 's/^/| /' conftest.$ac_ext >&5
28412
28413 -ac_cv_type_size_t=no
28414 + ac_cv_type_size_t=no
28415 fi
28416 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28417 +
28418 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28419 fi
28420 -echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
28421 -echo "${ECHO_T}$ac_cv_type_size_t" >&6
28422 +{ echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
28423 +echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
28424 if test $ac_cv_type_size_t = yes; then
28425 :
28426 else
28427
28428 cat >>confdefs.h <<_ACEOF
28429 -#define size_t unsigned
28430 +#define size_t unsigned int
28431 _ACEOF
28432
28433 fi
28434
28435 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
28436 # for constant arguments. Useless!
28437 -echo "$as_me:$LINENO: checking for working alloca.h" >&5
28438 -echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
28439 +{ echo "$as_me:$LINENO: checking for working alloca.h" >&5
28440 +echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6; }
28441 if test "${ac_cv_working_alloca_h+set}" = set; then
28442 echo $ECHO_N "(cached) $ECHO_C" >&6
28443 else
28444 @@ -6196,44 +6777,42 @@ int
28445 main ()
28446 {
28447 char *p = (char *) alloca (2 * sizeof (int));
28448 + if (p) return 0;
28449 ;
28450 return 0;
28451 }
28452 _ACEOF
28453 rm -f conftest.$ac_objext conftest$ac_exeext
28454 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28455 - (eval $ac_link) 2>conftest.er1
28456 +if { (ac_try="$ac_link"
28457 +case "(($ac_try" in
28458 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28459 + *) ac_try_echo=$ac_try;;
28460 +esac
28461 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28462 + (eval "$ac_link") 2>conftest.er1
28463 ac_status=$?
28464 grep -v '^ *+' conftest.er1 >conftest.err
28465 rm -f conftest.er1
28466 cat conftest.err >&5
28467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28468 - (exit $ac_status); } &&
28469 - { ac_try='test -z "$ac_c_werror_flag"
28470 - || test ! -s conftest.err'
28471 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28472 - (eval $ac_try) 2>&5
28473 - ac_status=$?
28474 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28475 - (exit $ac_status); }; } &&
28476 - { ac_try='test -s conftest$ac_exeext'
28477 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28478 - (eval $ac_try) 2>&5
28479 - ac_status=$?
28480 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28481 - (exit $ac_status); }; }; then
28482 + (exit $ac_status); } && {
28483 + test -z "$ac_c_werror_flag" ||
28484 + test ! -s conftest.err
28485 + } && test -s conftest$ac_exeext &&
28486 + $as_test_x conftest$ac_exeext; then
28487 ac_cv_working_alloca_h=yes
28488 else
28489 echo "$as_me: failed program was:" >&5
28490 sed 's/^/| /' conftest.$ac_ext >&5
28491
28492 -ac_cv_working_alloca_h=no
28493 + ac_cv_working_alloca_h=no
28494 fi
28495 -rm -f conftest.err conftest.$ac_objext \
28496 +
28497 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28498 conftest$ac_exeext conftest.$ac_ext
28499 fi
28500 -echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
28501 -echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
28502 +{ echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
28503 +echo "${ECHO_T}$ac_cv_working_alloca_h" >&6; }
28504 if test $ac_cv_working_alloca_h = yes; then
28505
28506 cat >>confdefs.h <<\_ACEOF
28507 @@ -6242,8 +6821,8 @@ _ACEOF
28508
28509 fi
28510
28511 -echo "$as_me:$LINENO: checking for alloca" >&5
28512 -echo $ECHO_N "checking for alloca... $ECHO_C" >&6
28513 +{ echo "$as_me:$LINENO: checking for alloca" >&5
28514 +echo $ECHO_N "checking for alloca... $ECHO_C" >&6; }
28515 if test "${ac_cv_func_alloca_works+set}" = set; then
28516 echo $ECHO_N "(cached) $ECHO_C" >&6
28517 else
28518 @@ -6260,7 +6839,7 @@ cat >>conftest.$ac_ext <<_ACEOF
28519 # include <malloc.h>
28520 # define alloca _alloca
28521 # else
28522 -# if HAVE_ALLOCA_H
28523 +# ifdef HAVE_ALLOCA_H
28524 # include <alloca.h>
28525 # else
28526 # ifdef _AIX
28527 @@ -6278,44 +6857,42 @@ int
28528 main ()
28529 {
28530 char *p = (char *) alloca (1);
28531 + if (p) return 0;
28532 ;
28533 return 0;
28534 }
28535 _ACEOF
28536 rm -f conftest.$ac_objext conftest$ac_exeext
28537 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28538 - (eval $ac_link) 2>conftest.er1
28539 +if { (ac_try="$ac_link"
28540 +case "(($ac_try" in
28541 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28542 + *) ac_try_echo=$ac_try;;
28543 +esac
28544 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28545 + (eval "$ac_link") 2>conftest.er1
28546 ac_status=$?
28547 grep -v '^ *+' conftest.er1 >conftest.err
28548 rm -f conftest.er1
28549 cat conftest.err >&5
28550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28551 - (exit $ac_status); } &&
28552 - { ac_try='test -z "$ac_c_werror_flag"
28553 - || test ! -s conftest.err'
28554 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28555 - (eval $ac_try) 2>&5
28556 - ac_status=$?
28557 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28558 - (exit $ac_status); }; } &&
28559 - { ac_try='test -s conftest$ac_exeext'
28560 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28561 - (eval $ac_try) 2>&5
28562 - ac_status=$?
28563 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28564 - (exit $ac_status); }; }; then
28565 + (exit $ac_status); } && {
28566 + test -z "$ac_c_werror_flag" ||
28567 + test ! -s conftest.err
28568 + } && test -s conftest$ac_exeext &&
28569 + $as_test_x conftest$ac_exeext; then
28570 ac_cv_func_alloca_works=yes
28571 else
28572 echo "$as_me: failed program was:" >&5
28573 sed 's/^/| /' conftest.$ac_ext >&5
28574
28575 -ac_cv_func_alloca_works=no
28576 + ac_cv_func_alloca_works=no
28577 fi
28578 -rm -f conftest.err conftest.$ac_objext \
28579 +
28580 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28581 conftest$ac_exeext conftest.$ac_ext
28582 fi
28583 -echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
28584 -echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
28585 +{ echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
28586 +echo "${ECHO_T}$ac_cv_func_alloca_works" >&6; }
28587
28588 if test $ac_cv_func_alloca_works = yes; then
28589
28590 @@ -6329,15 +6906,15 @@ else
28591 # contain a buggy version. If you still want to use their alloca,
28592 # use ar to extract alloca.o from them instead of compiling alloca.c.
28593
28594 -ALLOCA=alloca.$ac_objext
28595 +ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
28596
28597 cat >>confdefs.h <<\_ACEOF
28598 #define C_ALLOCA 1
28599 _ACEOF
28600
28601
28602 -echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
28603 -echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
28604 +{ echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
28605 +echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6; }
28606 if test "${ac_cv_os_cray+set}" = set; then
28607 echo $ECHO_N "(cached) $ECHO_C" >&6
28608 else
28609 @@ -6347,7 +6924,7 @@ _ACEOF
28610 cat confdefs.h >>conftest.$ac_ext
28611 cat >>conftest.$ac_ext <<_ACEOF
28612 /* end confdefs.h. */
28613 -#if defined(CRAY) && ! defined(CRAY2)
28614 +#if defined CRAY && ! defined CRAY2
28615 webecray
28616 #else
28617 wenotbecray
28618 @@ -6363,14 +6940,14 @@ fi
28619 rm -f conftest*
28620
28621 fi
28622 -echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
28623 -echo "${ECHO_T}$ac_cv_os_cray" >&6
28624 +{ echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
28625 +echo "${ECHO_T}$ac_cv_os_cray" >&6; }
28626 if test $ac_cv_os_cray = yes; then
28627 for ac_func in _getb67 GETB67 getb67; do
28628 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28629 -echo "$as_me:$LINENO: checking for $ac_func" >&5
28630 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28631 -if eval "test \"\${$as_ac_var+set}\" = set"; then
28632 +{ echo "$as_me:$LINENO: checking for $ac_func" >&5
28633 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28634 +if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28635 echo $ECHO_N "(cached) $ECHO_C" >&6
28636 else
28637 cat >conftest.$ac_ext <<_ACEOF
28638 @@ -6396,68 +6973,60 @@ cat >>conftest.$ac_ext <<_ACEOF
28639
28640 #undef $ac_func
28641
28642 -/* Override any gcc2 internal prototype to avoid an error. */
28643 +/* Override any GCC internal prototype to avoid an error.
28644 + Use char because int might match the return type of a GCC
28645 + builtin and then its argument prototype would still apply. */
28646 #ifdef __cplusplus
28647 extern "C"
28648 -{
28649 #endif
28650 -/* We use char because int might match the return type of a gcc2
28651 - builtin and then its argument prototype would still apply. */
28652 char $ac_func ();
28653 /* The GNU C library defines this for functions which it implements
28654 to always fail with ENOSYS. Some functions are actually named
28655 something starting with __ and the normal name is an alias. */
28656 -#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28657 +#if defined __stub_$ac_func || defined __stub___$ac_func
28658 choke me
28659 -#else
28660 -char (*f) () = $ac_func;
28661 -#endif
28662 -#ifdef __cplusplus
28663 -}
28664 #endif
28665
28666 int
28667 main ()
28668 {
28669 -return f != $ac_func;
28670 +return $ac_func ();
28671 ;
28672 return 0;
28673 }
28674 _ACEOF
28675 rm -f conftest.$ac_objext conftest$ac_exeext
28676 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28677 - (eval $ac_link) 2>conftest.er1
28678 +if { (ac_try="$ac_link"
28679 +case "(($ac_try" in
28680 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28681 + *) ac_try_echo=$ac_try;;
28682 +esac
28683 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28684 + (eval "$ac_link") 2>conftest.er1
28685 ac_status=$?
28686 grep -v '^ *+' conftest.er1 >conftest.err
28687 rm -f conftest.er1
28688 cat conftest.err >&5
28689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28690 - (exit $ac_status); } &&
28691 - { ac_try='test -z "$ac_c_werror_flag"
28692 - || test ! -s conftest.err'
28693 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28694 - (eval $ac_try) 2>&5
28695 - ac_status=$?
28696 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28697 - (exit $ac_status); }; } &&
28698 - { ac_try='test -s conftest$ac_exeext'
28699 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28700 - (eval $ac_try) 2>&5
28701 - ac_status=$?
28702 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28703 - (exit $ac_status); }; }; then
28704 + (exit $ac_status); } && {
28705 + test -z "$ac_c_werror_flag" ||
28706 + test ! -s conftest.err
28707 + } && test -s conftest$ac_exeext &&
28708 + $as_test_x conftest$ac_exeext; then
28709 eval "$as_ac_var=yes"
28710 else
28711 echo "$as_me: failed program was:" >&5
28712 sed 's/^/| /' conftest.$ac_ext >&5
28713
28714 -eval "$as_ac_var=no"
28715 + eval "$as_ac_var=no"
28716 fi
28717 -rm -f conftest.err conftest.$ac_objext \
28718 +
28719 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28720 conftest$ac_exeext conftest.$ac_ext
28721 fi
28722 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28723 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28724 +ac_res=`eval echo '${'$as_ac_var'}'`
28725 + { echo "$as_me:$LINENO: result: $ac_res" >&5
28726 +echo "${ECHO_T}$ac_res" >&6; }
28727 if test `eval echo '${'$as_ac_var'}'` = yes; then
28728
28729 cat >>confdefs.h <<_ACEOF
28730 @@ -6470,8 +7039,8 @@ fi
28731 done
28732 fi
28733
28734 -echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
28735 -echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
28736 +{ echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
28737 +echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6; }
28738 if test "${ac_cv_c_stack_direction+set}" = set; then
28739 echo $ECHO_N "(cached) $ECHO_C" >&6
28740 else
28741 @@ -6484,6 +7053,7 @@ _ACEOF
28742 cat confdefs.h >>conftest.$ac_ext
28743 cat >>conftest.$ac_ext <<_ACEOF
28744 /* end confdefs.h. */
28745 +$ac_includes_default
28746 int
28747 find_stack_direction ()
28748 {
28749 @@ -6501,17 +7071,26 @@ find_stack_direction ()
28750 int
28751 main ()
28752 {
28753 - exit (find_stack_direction () < 0);
28754 + return find_stack_direction () < 0;
28755 }
28756 _ACEOF
28757 rm -f conftest$ac_exeext
28758 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28759 - (eval $ac_link) 2>&5
28760 +if { (ac_try="$ac_link"
28761 +case "(($ac_try" in
28762 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28763 + *) ac_try_echo=$ac_try;;
28764 +esac
28765 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28766 + (eval "$ac_link") 2>&5
28767 ac_status=$?
28768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28769 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28770 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28771 - (eval $ac_try) 2>&5
28772 + { (case "(($ac_try" in
28773 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28774 + *) ac_try_echo=$ac_try;;
28775 +esac
28776 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28777 + (eval "$ac_try") 2>&5
28778 ac_status=$?
28779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28780 (exit $ac_status); }; }; then
28781 @@ -6524,11 +7103,13 @@ sed 's/^/| /' conftest.$ac_ext >&5
28782 ( exit $ac_status )
28783 ac_cv_c_stack_direction=-1
28784 fi
28785 -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28786 +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28787 fi
28788 +
28789 +
28790 fi
28791 -echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
28792 -echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
28793 +{ echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
28794 +echo "${ECHO_T}$ac_cv_c_stack_direction" >&6; }
28795
28796 cat >>confdefs.h <<_ACEOF
28797 #define STACK_DIRECTION $ac_cv_c_stack_direction
28798 @@ -6542,18 +7123,19 @@ fi
28799 for ac_header in stdlib.h unistd.h
28800 do
28801 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28802 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
28803 - echo "$as_me:$LINENO: checking for $ac_header" >&5
28804 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28805 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
28806 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28807 + { echo "$as_me:$LINENO: checking for $ac_header" >&5
28808 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
28809 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28810 echo $ECHO_N "(cached) $ECHO_C" >&6
28811 fi
28812 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28813 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28814 +ac_res=`eval echo '${'$as_ac_Header'}'`
28815 + { echo "$as_me:$LINENO: result: $ac_res" >&5
28816 +echo "${ECHO_T}$ac_res" >&6; }
28817 else
28818 # Is the header compilable?
28819 -echo "$as_me:$LINENO: checking $ac_header usability" >&5
28820 -echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
28821 +{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
28822 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
28823 cat >conftest.$ac_ext <<_ACEOF
28824 /* confdefs.h. */
28825 _ACEOF
28826 @@ -6564,41 +7146,37 @@ $ac_includes_default
28827 #include <$ac_header>
28828 _ACEOF
28829 rm -f conftest.$ac_objext
28830 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28831 - (eval $ac_compile) 2>conftest.er1
28832 +if { (ac_try="$ac_compile"
28833 +case "(($ac_try" in
28834 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28835 + *) ac_try_echo=$ac_try;;
28836 +esac
28837 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28838 + (eval "$ac_compile") 2>conftest.er1
28839 ac_status=$?
28840 grep -v '^ *+' conftest.er1 >conftest.err
28841 rm -f conftest.er1
28842 cat conftest.err >&5
28843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28844 - (exit $ac_status); } &&
28845 - { ac_try='test -z "$ac_c_werror_flag"
28846 - || test ! -s conftest.err'
28847 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28848 - (eval $ac_try) 2>&5
28849 - ac_status=$?
28850 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28851 - (exit $ac_status); }; } &&
28852 - { ac_try='test -s conftest.$ac_objext'
28853 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28854 - (eval $ac_try) 2>&5
28855 - ac_status=$?
28856 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28857 - (exit $ac_status); }; }; then
28858 + (exit $ac_status); } && {
28859 + test -z "$ac_c_werror_flag" ||
28860 + test ! -s conftest.err
28861 + } && test -s conftest.$ac_objext; then
28862 ac_header_compiler=yes
28863 else
28864 echo "$as_me: failed program was:" >&5
28865 sed 's/^/| /' conftest.$ac_ext >&5
28866
28867 -ac_header_compiler=no
28868 + ac_header_compiler=no
28869 fi
28870 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28871 -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28872 -echo "${ECHO_T}$ac_header_compiler" >&6
28873 +
28874 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28875 +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28876 +echo "${ECHO_T}$ac_header_compiler" >&6; }
28877
28878 # Is the header present?
28879 -echo "$as_me:$LINENO: checking $ac_header presence" >&5
28880 -echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
28881 +{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
28882 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
28883 cat >conftest.$ac_ext <<_ACEOF
28884 /* confdefs.h. */
28885 _ACEOF
28886 @@ -6607,24 +7185,22 @@ cat >>conftest.$ac_ext <<_ACEOF
28887 /* end confdefs.h. */
28888 #include <$ac_header>
28889 _ACEOF
28890 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28891 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28892 +if { (ac_try="$ac_cpp conftest.$ac_ext"
28893 +case "(($ac_try" in
28894 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28895 + *) ac_try_echo=$ac_try;;
28896 +esac
28897 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28898 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
28899 ac_status=$?
28900 grep -v '^ *+' conftest.er1 >conftest.err
28901 rm -f conftest.er1
28902 cat conftest.err >&5
28903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28904 - (exit $ac_status); } >/dev/null; then
28905 - if test -s conftest.err; then
28906 - ac_cpp_err=$ac_c_preproc_warn_flag
28907 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
28908 - else
28909 - ac_cpp_err=
28910 - fi
28911 -else
28912 - ac_cpp_err=yes
28913 -fi
28914 -if test -z "$ac_cpp_err"; then
28915 + (exit $ac_status); } >/dev/null && {
28916 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
28917 + test ! -s conftest.err
28918 + }; then
28919 ac_header_preproc=yes
28920 else
28921 echo "$as_me: failed program was:" >&5
28922 @@ -6632,9 +7208,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
28923
28924 ac_header_preproc=no
28925 fi
28926 +
28927 rm -f conftest.err conftest.$ac_ext
28928 -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28929 -echo "${ECHO_T}$ac_header_preproc" >&6
28930 +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28931 +echo "${ECHO_T}$ac_header_preproc" >&6; }
28932
28933 # So? What about this header?
28934 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28935 @@ -6658,25 +7235,19 @@ echo "$as_me: WARNING: $ac_header: s
28936 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
28937 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
28938 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
28939 - (
28940 - cat <<\_ASBOX
28941 -## ------------------------------------------ ##
28942 -## Report this to the AC_PACKAGE_NAME lists. ##
28943 -## ------------------------------------------ ##
28944 -_ASBOX
28945 - ) |
28946 - sed "s/^/$as_me: WARNING: /" >&2
28947 +
28948 ;;
28949 esac
28950 -echo "$as_me:$LINENO: checking for $ac_header" >&5
28951 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28952 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
28953 +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
28954 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
28955 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28956 echo $ECHO_N "(cached) $ECHO_C" >&6
28957 else
28958 eval "$as_ac_Header=\$ac_header_preproc"
28959 fi
28960 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28961 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28962 +ac_res=`eval echo '${'$as_ac_Header'}'`
28963 + { echo "$as_me:$LINENO: result: $ac_res" >&5
28964 +echo "${ECHO_T}$ac_res" >&6; }
28965
28966 fi
28967 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28968 @@ -6692,9 +7263,9 @@ done
28969 for ac_func in getpagesize
28970 do
28971 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28972 -echo "$as_me:$LINENO: checking for $ac_func" >&5
28973 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28974 -if eval "test \"\${$as_ac_var+set}\" = set"; then
28975 +{ echo "$as_me:$LINENO: checking for $ac_func" >&5
28976 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28977 +if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28978 echo $ECHO_N "(cached) $ECHO_C" >&6
28979 else
28980 cat >conftest.$ac_ext <<_ACEOF
28981 @@ -6720,68 +7291,60 @@ cat >>conftest.$ac_ext <<_ACEOF
28982
28983 #undef $ac_func
28984
28985 -/* Override any gcc2 internal prototype to avoid an error. */
28986 +/* Override any GCC internal prototype to avoid an error.
28987 + Use char because int might match the return type of a GCC
28988 + builtin and then its argument prototype would still apply. */
28989 #ifdef __cplusplus
28990 extern "C"
28991 -{
28992 #endif
28993 -/* We use char because int might match the return type of a gcc2
28994 - builtin and then its argument prototype would still apply. */
28995 char $ac_func ();
28996 /* The GNU C library defines this for functions which it implements
28997 to always fail with ENOSYS. Some functions are actually named
28998 something starting with __ and the normal name is an alias. */
28999 -#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29000 +#if defined __stub_$ac_func || defined __stub___$ac_func
29001 choke me
29002 -#else
29003 -char (*f) () = $ac_func;
29004 -#endif
29005 -#ifdef __cplusplus
29006 -}
29007 #endif
29008
29009 int
29010 main ()
29011 {
29012 -return f != $ac_func;
29013 +return $ac_func ();
29014 ;
29015 return 0;
29016 }
29017 _ACEOF
29018 rm -f conftest.$ac_objext conftest$ac_exeext
29019 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29020 - (eval $ac_link) 2>conftest.er1
29021 +if { (ac_try="$ac_link"
29022 +case "(($ac_try" in
29023 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29024 + *) ac_try_echo=$ac_try;;
29025 +esac
29026 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29027 + (eval "$ac_link") 2>conftest.er1
29028 ac_status=$?
29029 grep -v '^ *+' conftest.er1 >conftest.err
29030 rm -f conftest.er1
29031 cat conftest.err >&5
29032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29033 - (exit $ac_status); } &&
29034 - { ac_try='test -z "$ac_c_werror_flag"
29035 - || test ! -s conftest.err'
29036 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29037 - (eval $ac_try) 2>&5
29038 - ac_status=$?
29039 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
29040 - (exit $ac_status); }; } &&
29041 - { ac_try='test -s conftest$ac_exeext'
29042 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29043 - (eval $ac_try) 2>&5
29044 - ac_status=$?
29045 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
29046 - (exit $ac_status); }; }; then
29047 + (exit $ac_status); } && {
29048 + test -z "$ac_c_werror_flag" ||
29049 + test ! -s conftest.err
29050 + } && test -s conftest$ac_exeext &&
29051 + $as_test_x conftest$ac_exeext; then
29052 eval "$as_ac_var=yes"
29053 else
29054 echo "$as_me: failed program was:" >&5
29055 sed 's/^/| /' conftest.$ac_ext >&5
29056
29057 -eval "$as_ac_var=no"
29058 + eval "$as_ac_var=no"
29059 fi
29060 -rm -f conftest.err conftest.$ac_objext \
29061 +
29062 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29063 conftest$ac_exeext conftest.$ac_ext
29064 fi
29065 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29066 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29067 +ac_res=`eval echo '${'$as_ac_var'}'`
29068 + { echo "$as_me:$LINENO: result: $ac_res" >&5
29069 +echo "${ECHO_T}$ac_res" >&6; }
29070 if test `eval echo '${'$as_ac_var'}'` = yes; then
29071 cat >>confdefs.h <<_ACEOF
29072 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29073 @@ -6790,8 +7353,8 @@ _ACEOF
29074 fi
29075 done
29076
29077 -echo "$as_me:$LINENO: checking for working mmap" >&5
29078 -echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
29079 +{ echo "$as_me:$LINENO: checking for working mmap" >&5
29080 +echo $ECHO_N "checking for working mmap... $ECHO_C" >&6; }
29081 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
29082 echo $ECHO_N "(cached) $ECHO_C" >&6
29083 else
29084 @@ -6833,21 +7396,21 @@ $ac_includes_default
29085 #include <fcntl.h>
29086 #include <sys/mman.h>
29087
29088 -#if !STDC_HEADERS && !HAVE_STDLIB_H
29089 +#if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
29090 char *malloc ();
29091 #endif
29092
29093 /* This mess was copied from the GNU getpagesize.h. */
29094 -#if !HAVE_GETPAGESIZE
29095 +#ifndef HAVE_GETPAGESIZE
29096 /* Assume that all systems that can run configure have sys/param.h. */
29097 -# if !HAVE_SYS_PARAM_H
29098 +# ifndef HAVE_SYS_PARAM_H
29099 # define HAVE_SYS_PARAM_H 1
29100 # endif
29101
29102 # ifdef _SC_PAGESIZE
29103 # define getpagesize() sysconf(_SC_PAGESIZE)
29104 # else /* no _SC_PAGESIZE */
29105 -# if HAVE_SYS_PARAM_H
29106 +# ifdef HAVE_SYS_PARAM_H
29107 # include <sys/param.h>
29108 # ifdef EXEC_PAGESIZE
29109 # define getpagesize() EXEC_PAGESIZE
29110 @@ -6886,15 +7449,15 @@ main ()
29111 /* First, make a file with some known garbage in it. */
29112 data = (char *) malloc (pagesize);
29113 if (!data)
29114 - exit (1);
29115 + return 1;
29116 for (i = 0; i < pagesize; ++i)
29117 *(data + i) = rand ();
29118 umask (0);
29119 fd = creat ("conftest.mmap", 0600);
29120 if (fd < 0)
29121 - exit (1);
29122 + return 1;
29123 if (write (fd, data, pagesize) != pagesize)
29124 - exit (1);
29125 + return 1;
29126 close (fd);
29127
29128 /* Next, try to mmap the file at a fixed address which already has
29129 @@ -6902,17 +7465,17 @@ main ()
29130 we see the same garbage. */
29131 fd = open ("conftest.mmap", O_RDWR);
29132 if (fd < 0)
29133 - exit (1);
29134 + return 1;
29135 data2 = (char *) malloc (2 * pagesize);
29136 if (!data2)
29137 - exit (1);
29138 - data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
29139 + return 1;
29140 + data2 += (pagesize - ((long int) data2 & (pagesize - 1))) & (pagesize - 1);
29141 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
29142 MAP_PRIVATE | MAP_FIXED, fd, 0L))
29143 - exit (1);
29144 + return 1;
29145 for (i = 0; i < pagesize; ++i)
29146 if (*(data + i) != *(data2 + i))
29147 - exit (1);
29148 + return 1;
29149
29150 /* Finally, make sure that changes to the mapped area do not
29151 percolate back to the file as seen by read(). (This is a bug on
29152 @@ -6921,24 +7484,33 @@ main ()
29153 *(data2 + i) = *(data2 + i) + 1;
29154 data3 = (char *) malloc (pagesize);
29155 if (!data3)
29156 - exit (1);
29157 + return 1;
29158 if (read (fd, data3, pagesize) != pagesize)
29159 - exit (1);
29160 + return 1;
29161 for (i = 0; i < pagesize; ++i)
29162 if (*(data + i) != *(data3 + i))
29163 - exit (1);
29164 + return 1;
29165 close (fd);
29166 - exit (0);
29167 + return 0;
29168 }
29169 _ACEOF
29170 rm -f conftest$ac_exeext
29171 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29172 - (eval $ac_link) 2>&5
29173 +if { (ac_try="$ac_link"
29174 +case "(($ac_try" in
29175 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29176 + *) ac_try_echo=$ac_try;;
29177 +esac
29178 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29179 + (eval "$ac_link") 2>&5
29180 ac_status=$?
29181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29182 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29183 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29184 - (eval $ac_try) 2>&5
29185 + { (case "(($ac_try" in
29186 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29187 + *) ac_try_echo=$ac_try;;
29188 +esac
29189 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29190 + (eval "$ac_try") 2>&5
29191 ac_status=$?
29192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29193 (exit $ac_status); }; }; then
29194 @@ -6951,11 +7523,13 @@ sed 's/^/| /' conftest.$ac_ext >&5
29195 ( exit $ac_status )
29196 ac_cv_func_mmap_fixed_mapped=no
29197 fi
29198 -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29199 +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29200 fi
29201 +
29202 +
29203 fi
29204 -echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
29205 -echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
29206 +{ echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
29207 +echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6; }
29208 if test $ac_cv_func_mmap_fixed_mapped = yes; then
29209
29210 cat >>confdefs.h <<\_ACEOF
29211 @@ -6979,18 +7553,19 @@ for ac_header in argz.h limits.h locale.
29212 unistd.h values.h sys/param.h
29213 do
29214 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29215 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
29216 - echo "$as_me:$LINENO: checking for $ac_header" >&5
29217 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29218 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
29219 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29220 + { echo "$as_me:$LINENO: checking for $ac_header" >&5
29221 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
29222 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29223 echo $ECHO_N "(cached) $ECHO_C" >&6
29224 fi
29225 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29226 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29227 +ac_res=`eval echo '${'$as_ac_Header'}'`
29228 + { echo "$as_me:$LINENO: result: $ac_res" >&5
29229 +echo "${ECHO_T}$ac_res" >&6; }
29230 else
29231 # Is the header compilable?
29232 -echo "$as_me:$LINENO: checking $ac_header usability" >&5
29233 -echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
29234 +{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
29235 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
29236 cat >conftest.$ac_ext <<_ACEOF
29237 /* confdefs.h. */
29238 _ACEOF
29239 @@ -7001,41 +7576,37 @@ $ac_includes_default
29240 #include <$ac_header>
29241 _ACEOF
29242 rm -f conftest.$ac_objext
29243 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29244 - (eval $ac_compile) 2>conftest.er1
29245 +if { (ac_try="$ac_compile"
29246 +case "(($ac_try" in
29247 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29248 + *) ac_try_echo=$ac_try;;
29249 +esac
29250 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29251 + (eval "$ac_compile") 2>conftest.er1
29252 ac_status=$?
29253 grep -v '^ *+' conftest.er1 >conftest.err
29254 rm -f conftest.er1
29255 cat conftest.err >&5
29256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29257 - (exit $ac_status); } &&
29258 - { ac_try='test -z "$ac_c_werror_flag"
29259 - || test ! -s conftest.err'
29260 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29261 - (eval $ac_try) 2>&5
29262 - ac_status=$?
29263 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
29264 - (exit $ac_status); }; } &&
29265 - { ac_try='test -s conftest.$ac_objext'
29266 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29267 - (eval $ac_try) 2>&5
29268 - ac_status=$?
29269 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
29270 - (exit $ac_status); }; }; then
29271 + (exit $ac_status); } && {
29272 + test -z "$ac_c_werror_flag" ||
29273 + test ! -s conftest.err
29274 + } && test -s conftest.$ac_objext; then
29275 ac_header_compiler=yes
29276 else
29277 echo "$as_me: failed program was:" >&5
29278 sed 's/^/| /' conftest.$ac_ext >&5
29279
29280 -ac_header_compiler=no
29281 + ac_header_compiler=no
29282 fi
29283 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29284 -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29285 -echo "${ECHO_T}$ac_header_compiler" >&6
29286 +
29287 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29288 +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29289 +echo "${ECHO_T}$ac_header_compiler" >&6; }
29290
29291 # Is the header present?
29292 -echo "$as_me:$LINENO: checking $ac_header presence" >&5
29293 -echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
29294 +{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
29295 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
29296 cat >conftest.$ac_ext <<_ACEOF
29297 /* confdefs.h. */
29298 _ACEOF
29299 @@ -7044,24 +7615,22 @@ cat >>conftest.$ac_ext <<_ACEOF
29300 /* end confdefs.h. */
29301 #include <$ac_header>
29302 _ACEOF
29303 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29304 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29305 +if { (ac_try="$ac_cpp conftest.$ac_ext"
29306 +case "(($ac_try" in
29307 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29308 + *) ac_try_echo=$ac_try;;
29309 +esac
29310 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29311 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
29312 ac_status=$?
29313 grep -v '^ *+' conftest.er1 >conftest.err
29314 rm -f conftest.er1
29315 cat conftest.err >&5
29316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29317 - (exit $ac_status); } >/dev/null; then
29318 - if test -s conftest.err; then
29319 - ac_cpp_err=$ac_c_preproc_warn_flag
29320 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
29321 - else
29322 - ac_cpp_err=
29323 - fi
29324 -else
29325 - ac_cpp_err=yes
29326 -fi
29327 -if test -z "$ac_cpp_err"; then
29328 + (exit $ac_status); } >/dev/null && {
29329 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
29330 + test ! -s conftest.err
29331 + }; then
29332 ac_header_preproc=yes
29333 else
29334 echo "$as_me: failed program was:" >&5
29335 @@ -7069,9 +7638,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
29336
29337 ac_header_preproc=no
29338 fi
29339 +
29340 rm -f conftest.err conftest.$ac_ext
29341 -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29342 -echo "${ECHO_T}$ac_header_preproc" >&6
29343 +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29344 +echo "${ECHO_T}$ac_header_preproc" >&6; }
29345
29346 # So? What about this header?
29347 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29348 @@ -7095,25 +7665,19 @@ echo "$as_me: WARNING: $ac_header: s
29349 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29350 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
29351 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
29352 - (
29353 - cat <<\_ASBOX
29354 -## ------------------------------------------ ##
29355 -## Report this to the AC_PACKAGE_NAME lists. ##
29356 -## ------------------------------------------ ##
29357 -_ASBOX
29358 - ) |
29359 - sed "s/^/$as_me: WARNING: /" >&2
29360 +
29361 ;;
29362 esac
29363 -echo "$as_me:$LINENO: checking for $ac_header" >&5
29364 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29365 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
29366 +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
29367 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
29368 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29369 echo $ECHO_N "(cached) $ECHO_C" >&6
29370 else
29371 eval "$as_ac_Header=\$ac_header_preproc"
29372 fi
29373 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29374 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29375 +ac_res=`eval echo '${'$as_ac_Header'}'`
29376 + { echo "$as_me:$LINENO: result: $ac_res" >&5
29377 +echo "${ECHO_T}$ac_res" >&6; }
29378
29379 fi
29380 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29381 @@ -7139,9 +7703,9 @@ for ac_func in getcwd munmap putenv sete
29382 __argz_count __argz_stringify __argz_next
29383 do
29384 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29385 -echo "$as_me:$LINENO: checking for $ac_func" >&5
29386 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29387 -if eval "test \"\${$as_ac_var+set}\" = set"; then
29388 +{ echo "$as_me:$LINENO: checking for $ac_func" >&5
29389 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
29390 +if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
29391 echo $ECHO_N "(cached) $ECHO_C" >&6
29392 else
29393 cat >conftest.$ac_ext <<_ACEOF
29394 @@ -7167,68 +7731,60 @@ cat >>conftest.$ac_ext <<_ACEOF
29395
29396 #undef $ac_func
29397
29398 -/* Override any gcc2 internal prototype to avoid an error. */
29399 +/* Override any GCC internal prototype to avoid an error.
29400 + Use char because int might match the return type of a GCC
29401 + builtin and then its argument prototype would still apply. */
29402 #ifdef __cplusplus
29403 extern "C"
29404 -{
29405 #endif
29406 -/* We use char because int might match the return type of a gcc2
29407 - builtin and then its argument prototype would still apply. */
29408 char $ac_func ();
29409 /* The GNU C library defines this for functions which it implements
29410 to always fail with ENOSYS. Some functions are actually named
29411 something starting with __ and the normal name is an alias. */
29412 -#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29413 +#if defined __stub_$ac_func || defined __stub___$ac_func
29414 choke me
29415 -#else
29416 -char (*f) () = $ac_func;
29417 -#endif
29418 -#ifdef __cplusplus
29419 -}
29420 #endif
29421
29422 int
29423 main ()
29424 {
29425 -return f != $ac_func;
29426 +return $ac_func ();
29427 ;
29428 return 0;
29429 }
29430 _ACEOF
29431 rm -f conftest.$ac_objext conftest$ac_exeext
29432 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29433 - (eval $ac_link) 2>conftest.er1
29434 +if { (ac_try="$ac_link"
29435 +case "(($ac_try" in
29436 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29437 + *) ac_try_echo=$ac_try;;
29438 +esac
29439 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29440 + (eval "$ac_link") 2>conftest.er1
29441 ac_status=$?
29442 grep -v '^ *+' conftest.er1 >conftest.err
29443 rm -f conftest.er1
29444 cat conftest.err >&5
29445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29446 - (exit $ac_status); } &&
29447 - { ac_try='test -z "$ac_c_werror_flag"
29448 - || test ! -s conftest.err'
29449 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29450 - (eval $ac_try) 2>&5
29451 - ac_status=$?
29452 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
29453 - (exit $ac_status); }; } &&
29454 - { ac_try='test -s conftest$ac_exeext'
29455 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29456 - (eval $ac_try) 2>&5
29457 - ac_status=$?
29458 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
29459 - (exit $ac_status); }; }; then
29460 + (exit $ac_status); } && {
29461 + test -z "$ac_c_werror_flag" ||
29462 + test ! -s conftest.err
29463 + } && test -s conftest$ac_exeext &&
29464 + $as_test_x conftest$ac_exeext; then
29465 eval "$as_ac_var=yes"
29466 else
29467 echo "$as_me: failed program was:" >&5
29468 sed 's/^/| /' conftest.$ac_ext >&5
29469
29470 -eval "$as_ac_var=no"
29471 + eval "$as_ac_var=no"
29472 fi
29473 -rm -f conftest.err conftest.$ac_objext \
29474 +
29475 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29476 conftest$ac_exeext conftest.$ac_ext
29477 fi
29478 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29479 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29480 +ac_res=`eval echo '${'$as_ac_var'}'`
29481 + { echo "$as_me:$LINENO: result: $ac_res" >&5
29482 +echo "${ECHO_T}$ac_res" >&6; }
29483 if test `eval echo '${'$as_ac_var'}'` = yes; then
29484 cat >>confdefs.h <<_ACEOF
29485 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29486 @@ -7243,9 +7799,9 @@ done
29487 for ac_func in stpcpy
29488 do
29489 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29490 -echo "$as_me:$LINENO: checking for $ac_func" >&5
29491 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29492 -if eval "test \"\${$as_ac_var+set}\" = set"; then
29493 +{ echo "$as_me:$LINENO: checking for $ac_func" >&5
29494 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
29495 +if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
29496 echo $ECHO_N "(cached) $ECHO_C" >&6
29497 else
29498 cat >conftest.$ac_ext <<_ACEOF
29499 @@ -7271,68 +7827,60 @@ cat >>conftest.$ac_ext <<_ACEOF
29500
29501 #undef $ac_func
29502
29503 -/* Override any gcc2 internal prototype to avoid an error. */
29504 +/* Override any GCC internal prototype to avoid an error.
29505 + Use char because int might match the return type of a GCC
29506 + builtin and then its argument prototype would still apply. */
29507 #ifdef __cplusplus
29508 extern "C"
29509 -{
29510 #endif
29511 -/* We use char because int might match the return type of a gcc2
29512 - builtin and then its argument prototype would still apply. */
29513 char $ac_func ();
29514 /* The GNU C library defines this for functions which it implements
29515 to always fail with ENOSYS. Some functions are actually named
29516 something starting with __ and the normal name is an alias. */
29517 -#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29518 +#if defined __stub_$ac_func || defined __stub___$ac_func
29519 choke me
29520 -#else
29521 -char (*f) () = $ac_func;
29522 -#endif
29523 -#ifdef __cplusplus
29524 -}
29525 #endif
29526
29527 int
29528 main ()
29529 {
29530 -return f != $ac_func;
29531 +return $ac_func ();
29532 ;
29533 return 0;
29534 }
29535 _ACEOF
29536 rm -f conftest.$ac_objext conftest$ac_exeext
29537 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29538 - (eval $ac_link) 2>conftest.er1
29539 +if { (ac_try="$ac_link"
29540 +case "(($ac_try" in
29541 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29542 + *) ac_try_echo=$ac_try;;
29543 +esac
29544 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29545 + (eval "$ac_link") 2>conftest.er1
29546 ac_status=$?
29547 grep -v '^ *+' conftest.er1 >conftest.err
29548 rm -f conftest.er1
29549 cat conftest.err >&5
29550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29551 - (exit $ac_status); } &&
29552 - { ac_try='test -z "$ac_c_werror_flag"
29553 - || test ! -s conftest.err'
29554 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29555 - (eval $ac_try) 2>&5
29556 - ac_status=$?
29557 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
29558 - (exit $ac_status); }; } &&
29559 - { ac_try='test -s conftest$ac_exeext'
29560 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29561 - (eval $ac_try) 2>&5
29562 - ac_status=$?
29563 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
29564 - (exit $ac_status); }; }; then
29565 + (exit $ac_status); } && {
29566 + test -z "$ac_c_werror_flag" ||
29567 + test ! -s conftest.err
29568 + } && test -s conftest$ac_exeext &&
29569 + $as_test_x conftest$ac_exeext; then
29570 eval "$as_ac_var=yes"
29571 else
29572 echo "$as_me: failed program was:" >&5
29573 sed 's/^/| /' conftest.$ac_ext >&5
29574
29575 -eval "$as_ac_var=no"
29576 + eval "$as_ac_var=no"
29577 fi
29578 -rm -f conftest.err conftest.$ac_objext \
29579 +
29580 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29581 conftest$ac_exeext conftest.$ac_ext
29582 fi
29583 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29584 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29585 +ac_res=`eval echo '${'$as_ac_var'}'`
29586 + { echo "$as_me:$LINENO: result: $ac_res" >&5
29587 +echo "${ECHO_T}$ac_res" >&6; }
29588 if test `eval echo '${'$as_ac_var'}'` = yes; then
29589 cat >>confdefs.h <<_ACEOF
29590 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29591 @@ -7351,8 +7899,8 @@ _ACEOF
29592 fi
29593
29594 if test $ac_cv_header_locale_h = yes; then
29595 - echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
29596 -echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
29597 + { echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
29598 +echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6; }
29599 if test "${am_cv_val_LC_MESSAGES+set}" = set; then
29600 echo $ECHO_N "(cached) $ECHO_C" >&6
29601 else
29602 @@ -7372,39 +7920,36 @@ return LC_MESSAGES
29603 }
29604 _ACEOF
29605 rm -f conftest.$ac_objext conftest$ac_exeext
29606 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29607 - (eval $ac_link) 2>conftest.er1
29608 +if { (ac_try="$ac_link"
29609 +case "(($ac_try" in
29610 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29611 + *) ac_try_echo=$ac_try;;
29612 +esac
29613 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29614 + (eval "$ac_link") 2>conftest.er1
29615 ac_status=$?
29616 grep -v '^ *+' conftest.er1 >conftest.err
29617 rm -f conftest.er1
29618 cat conftest.err >&5
29619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29620 - (exit $ac_status); } &&
29621 - { ac_try='test -z "$ac_c_werror_flag"
29622 - || test ! -s conftest.err'
29623 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29624 - (eval $ac_try) 2>&5
29625 - ac_status=$?
29626 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
29627 - (exit $ac_status); }; } &&
29628 - { ac_try='test -s conftest$ac_exeext'
29629 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29630 - (eval $ac_try) 2>&5
29631 - ac_status=$?
29632 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
29633 - (exit $ac_status); }; }; then
29634 + (exit $ac_status); } && {
29635 + test -z "$ac_c_werror_flag" ||
29636 + test ! -s conftest.err
29637 + } && test -s conftest$ac_exeext &&
29638 + $as_test_x conftest$ac_exeext; then
29639 am_cv_val_LC_MESSAGES=yes
29640 else
29641 echo "$as_me: failed program was:" >&5
29642 sed 's/^/| /' conftest.$ac_ext >&5
29643
29644 -am_cv_val_LC_MESSAGES=no
29645 + am_cv_val_LC_MESSAGES=no
29646 fi
29647 -rm -f conftest.err conftest.$ac_objext \
29648 +
29649 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29650 conftest$ac_exeext conftest.$ac_ext
29651 fi
29652 -echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
29653 -echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6
29654 +{ echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
29655 +echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6; }
29656 if test $am_cv_val_LC_MESSAGES = yes; then
29657
29658 cat >>confdefs.h <<\_ACEOF
29659 @@ -7413,34 +7958,34 @@ _ACEOF
29660
29661 fi
29662 fi
29663 - echo "$as_me:$LINENO: checking whether NLS is requested" >&5
29664 -echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
29665 - # Check whether --enable-nls or --disable-nls was given.
29666 + { echo "$as_me:$LINENO: checking whether NLS is requested" >&5
29667 +echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6; }
29668 + # Check whether --enable-nls was given.
29669 if test "${enable_nls+set}" = set; then
29670 - enableval="$enable_nls"
29671 - USE_NLS=$enableval
29672 + enableval=$enable_nls; USE_NLS=$enableval
29673 else
29674 USE_NLS=yes
29675 -fi;
29676 - echo "$as_me:$LINENO: result: $USE_NLS" >&5
29677 -echo "${ECHO_T}$USE_NLS" >&6
29678 +fi
29679 +
29680 + { echo "$as_me:$LINENO: result: $USE_NLS" >&5
29681 +echo "${ECHO_T}$USE_NLS" >&6; }
29682
29683
29684 USE_INCLUDED_LIBINTL=no
29685
29686 if test "$USE_NLS" = "yes"; then
29687 - echo "$as_me:$LINENO: checking whether included gettext is requested" >&5
29688 -echo $ECHO_N "checking whether included gettext is requested... $ECHO_C" >&6
29689 + { echo "$as_me:$LINENO: checking whether included gettext is requested" >&5
29690 +echo $ECHO_N "checking whether included gettext is requested... $ECHO_C" >&6; }
29691
29692 -# Check whether --with-included-gettext or --without-included-gettext was given.
29693 +# Check whether --with-included-gettext was given.
29694 if test "${with_included_gettext+set}" = set; then
29695 - withval="$with_included_gettext"
29696 - nls_cv_force_use_gnu_gettext=$withval
29697 + withval=$with_included_gettext; nls_cv_force_use_gnu_gettext=$withval
29698 else
29699 nls_cv_force_use_gnu_gettext=no
29700 -fi;
29701 - echo "$as_me:$LINENO: result: $nls_cv_force_use_gnu_gettext" >&5
29702 -echo "${ECHO_T}$nls_cv_force_use_gnu_gettext" >&6
29703 +fi
29704 +
29705 + { echo "$as_me:$LINENO: result: $nls_cv_force_use_gnu_gettext" >&5
29706 +echo "${ECHO_T}$nls_cv_force_use_gnu_gettext" >&6; }
29707
29708 nls_cv_use_gnu_gettext="$nls_cv_force_use_gnu_gettext"
29709 if test "$nls_cv_force_use_gnu_gettext" != "yes"; then
29710 @@ -7449,17 +7994,17 @@ echo "${ECHO_T}$nls_cv_force_use_gnu_get
29711 CATOBJEXT=
29712
29713 if test "${ac_cv_header_libintl_h+set}" = set; then
29714 - echo "$as_me:$LINENO: checking for libintl.h" >&5
29715 -echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6
29716 + { echo "$as_me:$LINENO: checking for libintl.h" >&5
29717 +echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6; }
29718 if test "${ac_cv_header_libintl_h+set}" = set; then
29719 echo $ECHO_N "(cached) $ECHO_C" >&6
29720 fi
29721 -echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
29722 -echo "${ECHO_T}$ac_cv_header_libintl_h" >&6
29723 +{ echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
29724 +echo "${ECHO_T}$ac_cv_header_libintl_h" >&6; }
29725 else
29726 # Is the header compilable?
29727 -echo "$as_me:$LINENO: checking libintl.h usability" >&5
29728 -echo $ECHO_N "checking libintl.h usability... $ECHO_C" >&6
29729 +{ echo "$as_me:$LINENO: checking libintl.h usability" >&5
29730 +echo $ECHO_N "checking libintl.h usability... $ECHO_C" >&6; }
29731 cat >conftest.$ac_ext <<_ACEOF
29732 /* confdefs.h. */
29733 _ACEOF
29734 @@ -7470,41 +8015,37 @@ $ac_includes_default
29735 #include <libintl.h>
29736 _ACEOF
29737 rm -f conftest.$ac_objext
29738 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29739 - (eval $ac_compile) 2>conftest.er1
29740 +if { (ac_try="$ac_compile"
29741 +case "(($ac_try" in
29742 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29743 + *) ac_try_echo=$ac_try;;
29744 +esac
29745 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29746 + (eval "$ac_compile") 2>conftest.er1
29747 ac_status=$?
29748 grep -v '^ *+' conftest.er1 >conftest.err
29749 rm -f conftest.er1
29750 cat conftest.err >&5
29751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29752 - (exit $ac_status); } &&
29753 - { ac_try='test -z "$ac_c_werror_flag"
29754 - || test ! -s conftest.err'
29755 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29756 - (eval $ac_try) 2>&5
29757 - ac_status=$?
29758 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
29759 - (exit $ac_status); }; } &&
29760 - { ac_try='test -s conftest.$ac_objext'
29761 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29762 - (eval $ac_try) 2>&5
29763 - ac_status=$?
29764 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
29765 - (exit $ac_status); }; }; then
29766 + (exit $ac_status); } && {
29767 + test -z "$ac_c_werror_flag" ||
29768 + test ! -s conftest.err
29769 + } && test -s conftest.$ac_objext; then
29770 ac_header_compiler=yes
29771 else
29772 echo "$as_me: failed program was:" >&5
29773 sed 's/^/| /' conftest.$ac_ext >&5
29774
29775 -ac_header_compiler=no
29776 + ac_header_compiler=no
29777 fi
29778 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29779 -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29780 -echo "${ECHO_T}$ac_header_compiler" >&6
29781 +
29782 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29783 +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29784 +echo "${ECHO_T}$ac_header_compiler" >&6; }
29785
29786 # Is the header present?
29787 -echo "$as_me:$LINENO: checking libintl.h presence" >&5
29788 -echo $ECHO_N "checking libintl.h presence... $ECHO_C" >&6
29789 +{ echo "$as_me:$LINENO: checking libintl.h presence" >&5
29790 +echo $ECHO_N "checking libintl.h presence... $ECHO_C" >&6; }
29791 cat >conftest.$ac_ext <<_ACEOF
29792 /* confdefs.h. */
29793 _ACEOF
29794 @@ -7513,24 +8054,22 @@ cat >>conftest.$ac_ext <<_ACEOF
29795 /* end confdefs.h. */
29796 #include <libintl.h>
29797 _ACEOF
29798 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29799 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29800 +if { (ac_try="$ac_cpp conftest.$ac_ext"
29801 +case "(($ac_try" in
29802 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29803 + *) ac_try_echo=$ac_try;;
29804 +esac
29805 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29806 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
29807 ac_status=$?
29808 grep -v '^ *+' conftest.er1 >conftest.err
29809 rm -f conftest.er1
29810 cat conftest.err >&5
29811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29812 - (exit $ac_status); } >/dev/null; then
29813 - if test -s conftest.err; then
29814 - ac_cpp_err=$ac_c_preproc_warn_flag
29815 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
29816 - else
29817 - ac_cpp_err=
29818 - fi
29819 -else
29820 - ac_cpp_err=yes
29821 -fi
29822 -if test -z "$ac_cpp_err"; then
29823 + (exit $ac_status); } >/dev/null && {
29824 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
29825 + test ! -s conftest.err
29826 + }; then
29827 ac_header_preproc=yes
29828 else
29829 echo "$as_me: failed program was:" >&5
29830 @@ -7538,9 +8077,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
29831
29832 ac_header_preproc=no
29833 fi
29834 +
29835 rm -f conftest.err conftest.$ac_ext
29836 -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29837 -echo "${ECHO_T}$ac_header_preproc" >&6
29838 +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29839 +echo "${ECHO_T}$ac_header_preproc" >&6; }
29840
29841 # So? What about this header?
29842 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29843 @@ -7564,30 +8104,23 @@ echo "$as_me: WARNING: libintl.h: se
29844 echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;}
29845 { echo "$as_me:$LINENO: WARNING: libintl.h: in the future, the compiler will take precedence" >&5
29846 echo "$as_me: WARNING: libintl.h: in the future, the compiler will take precedence" >&2;}
29847 - (
29848 - cat <<\_ASBOX
29849 -## ------------------------------------------ ##
29850 -## Report this to the AC_PACKAGE_NAME lists. ##
29851 -## ------------------------------------------ ##
29852 -_ASBOX
29853 - ) |
29854 - sed "s/^/$as_me: WARNING: /" >&2
29855 +
29856 ;;
29857 esac
29858 -echo "$as_me:$LINENO: checking for libintl.h" >&5
29859 -echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6
29860 +{ echo "$as_me:$LINENO: checking for libintl.h" >&5
29861 +echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6; }
29862 if test "${ac_cv_header_libintl_h+set}" = set; then
29863 echo $ECHO_N "(cached) $ECHO_C" >&6
29864 else
29865 ac_cv_header_libintl_h=$ac_header_preproc
29866 fi
29867 -echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
29868 -echo "${ECHO_T}$ac_cv_header_libintl_h" >&6
29869 +{ echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
29870 +echo "${ECHO_T}$ac_cv_header_libintl_h" >&6; }
29871
29872 fi
29873 if test $ac_cv_header_libintl_h = yes; then
29874 - echo "$as_me:$LINENO: checking for gettext in libc" >&5
29875 -echo $ECHO_N "checking for gettext in libc... $ECHO_C" >&6
29876 + { echo "$as_me:$LINENO: checking for gettext in libc" >&5
29877 +echo $ECHO_N "checking for gettext in libc... $ECHO_C" >&6; }
29878 if test "${gt_cv_func_gettext_libc+set}" = set; then
29879 echo $ECHO_N "(cached) $ECHO_C" >&6
29880 else
29881 @@ -7607,43 +8140,40 @@ return (int) gettext ("")
29882 }
29883 _ACEOF
29884 rm -f conftest.$ac_objext conftest$ac_exeext
29885 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29886 - (eval $ac_link) 2>conftest.er1
29887 +if { (ac_try="$ac_link"
29888 +case "(($ac_try" in
29889 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29890 + *) ac_try_echo=$ac_try;;
29891 +esac
29892 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29893 + (eval "$ac_link") 2>conftest.er1
29894 ac_status=$?
29895 grep -v '^ *+' conftest.er1 >conftest.err
29896 rm -f conftest.er1
29897 cat conftest.err >&5
29898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29899 - (exit $ac_status); } &&
29900 - { ac_try='test -z "$ac_c_werror_flag"
29901 - || test ! -s conftest.err'
29902 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29903 - (eval $ac_try) 2>&5
29904 - ac_status=$?
29905 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
29906 - (exit $ac_status); }; } &&
29907 - { ac_try='test -s conftest$ac_exeext'
29908 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29909 - (eval $ac_try) 2>&5
29910 - ac_status=$?
29911 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
29912 - (exit $ac_status); }; }; then
29913 + (exit $ac_status); } && {
29914 + test -z "$ac_c_werror_flag" ||
29915 + test ! -s conftest.err
29916 + } && test -s conftest$ac_exeext &&
29917 + $as_test_x conftest$ac_exeext; then
29918 gt_cv_func_gettext_libc=yes
29919 else
29920 echo "$as_me: failed program was:" >&5
29921 sed 's/^/| /' conftest.$ac_ext >&5
29922
29923 -gt_cv_func_gettext_libc=no
29924 + gt_cv_func_gettext_libc=no
29925 fi
29926 -rm -f conftest.err conftest.$ac_objext \
29927 +
29928 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29929 conftest$ac_exeext conftest.$ac_ext
29930 fi
29931 -echo "$as_me:$LINENO: result: $gt_cv_func_gettext_libc" >&5
29932 -echo "${ECHO_T}$gt_cv_func_gettext_libc" >&6
29933 +{ echo "$as_me:$LINENO: result: $gt_cv_func_gettext_libc" >&5
29934 +echo "${ECHO_T}$gt_cv_func_gettext_libc" >&6; }
29935
29936 if test "$gt_cv_func_gettext_libc" != "yes"; then
29937 - echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5
29938 -echo $ECHO_N "checking for bindtextdomain in -lintl... $ECHO_C" >&6
29939 + { echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5
29940 +echo $ECHO_N "checking for bindtextdomain in -lintl... $ECHO_C" >&6; }
29941 if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then
29942 echo $ECHO_N "(cached) $ECHO_C" >&6
29943 else
29944 @@ -7656,59 +8186,56 @@ cat confdefs.h >>conftest.$ac_ext
29945 cat >>conftest.$ac_ext <<_ACEOF
29946 /* end confdefs.h. */
29947
29948 -/* Override any gcc2 internal prototype to avoid an error. */
29949 +/* Override any GCC internal prototype to avoid an error.
29950 + Use char because int might match the return type of a GCC
29951 + builtin and then its argument prototype would still apply. */
29952 #ifdef __cplusplus
29953 extern "C"
29954 #endif
29955 -/* We use char because int might match the return type of a gcc2
29956 - builtin and then its argument prototype would still apply. */
29957 char bindtextdomain ();
29958 int
29959 main ()
29960 {
29961 -bindtextdomain ();
29962 +return bindtextdomain ();
29963 ;
29964 return 0;
29965 }
29966 _ACEOF
29967 rm -f conftest.$ac_objext conftest$ac_exeext
29968 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29969 - (eval $ac_link) 2>conftest.er1
29970 +if { (ac_try="$ac_link"
29971 +case "(($ac_try" in
29972 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29973 + *) ac_try_echo=$ac_try;;
29974 +esac
29975 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29976 + (eval "$ac_link") 2>conftest.er1
29977 ac_status=$?
29978 grep -v '^ *+' conftest.er1 >conftest.err
29979 rm -f conftest.er1
29980 cat conftest.err >&5
29981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29982 - (exit $ac_status); } &&
29983 - { ac_try='test -z "$ac_c_werror_flag"
29984 - || test ! -s conftest.err'
29985 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29986 - (eval $ac_try) 2>&5
29987 - ac_status=$?
29988 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
29989 - (exit $ac_status); }; } &&
29990 - { ac_try='test -s conftest$ac_exeext'
29991 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29992 - (eval $ac_try) 2>&5
29993 - ac_status=$?
29994 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
29995 - (exit $ac_status); }; }; then
29996 + (exit $ac_status); } && {
29997 + test -z "$ac_c_werror_flag" ||
29998 + test ! -s conftest.err
29999 + } && test -s conftest$ac_exeext &&
30000 + $as_test_x conftest$ac_exeext; then
30001 ac_cv_lib_intl_bindtextdomain=yes
30002 else
30003 echo "$as_me: failed program was:" >&5
30004 sed 's/^/| /' conftest.$ac_ext >&5
30005
30006 -ac_cv_lib_intl_bindtextdomain=no
30007 + ac_cv_lib_intl_bindtextdomain=no
30008 fi
30009 -rm -f conftest.err conftest.$ac_objext \
30010 +
30011 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30012 conftest$ac_exeext conftest.$ac_ext
30013 LIBS=$ac_check_lib_save_LIBS
30014 fi
30015 -echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5
30016 -echo "${ECHO_T}$ac_cv_lib_intl_bindtextdomain" >&6
30017 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5
30018 +echo "${ECHO_T}$ac_cv_lib_intl_bindtextdomain" >&6; }
30019 if test $ac_cv_lib_intl_bindtextdomain = yes; then
30020 - echo "$as_me:$LINENO: checking for gettext in libintl" >&5
30021 -echo $ECHO_N "checking for gettext in libintl... $ECHO_C" >&6
30022 + { echo "$as_me:$LINENO: checking for gettext in libintl" >&5
30023 +echo $ECHO_N "checking for gettext in libintl... $ECHO_C" >&6; }
30024 if test "${gt_cv_func_gettext_libintl+set}" = set; then
30025 echo $ECHO_N "(cached) $ECHO_C" >&6
30026 else
30027 @@ -7728,39 +8255,36 @@ return (int) gettext ("")
30028 }
30029 _ACEOF
30030 rm -f conftest.$ac_objext conftest$ac_exeext
30031 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30032 - (eval $ac_link) 2>conftest.er1
30033 +if { (ac_try="$ac_link"
30034 +case "(($ac_try" in
30035 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30036 + *) ac_try_echo=$ac_try;;
30037 +esac
30038 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30039 + (eval "$ac_link") 2>conftest.er1
30040 ac_status=$?
30041 grep -v '^ *+' conftest.er1 >conftest.err
30042 rm -f conftest.er1
30043 cat conftest.err >&5
30044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30045 - (exit $ac_status); } &&
30046 - { ac_try='test -z "$ac_c_werror_flag"
30047 - || test ! -s conftest.err'
30048 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30049 - (eval $ac_try) 2>&5
30050 - ac_status=$?
30051 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
30052 - (exit $ac_status); }; } &&
30053 - { ac_try='test -s conftest$ac_exeext'
30054 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30055 - (eval $ac_try) 2>&5
30056 - ac_status=$?
30057 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
30058 - (exit $ac_status); }; }; then
30059 + (exit $ac_status); } && {
30060 + test -z "$ac_c_werror_flag" ||
30061 + test ! -s conftest.err
30062 + } && test -s conftest$ac_exeext &&
30063 + $as_test_x conftest$ac_exeext; then
30064 gt_cv_func_gettext_libintl=yes
30065 else
30066 echo "$as_me: failed program was:" >&5
30067 sed 's/^/| /' conftest.$ac_ext >&5
30068
30069 -gt_cv_func_gettext_libintl=no
30070 + gt_cv_func_gettext_libintl=no
30071 fi
30072 -rm -f conftest.err conftest.$ac_objext \
30073 +
30074 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30075 conftest$ac_exeext conftest.$ac_ext
30076 fi
30077 -echo "$as_me:$LINENO: result: $gt_cv_func_gettext_libintl" >&5
30078 -echo "${ECHO_T}$gt_cv_func_gettext_libintl" >&6
30079 +{ echo "$as_me:$LINENO: result: $gt_cv_func_gettext_libintl" >&5
30080 +echo "${ECHO_T}$gt_cv_func_gettext_libintl" >&6; }
30081 fi
30082
30083 fi
30084 @@ -7774,8 +8298,8 @@ _ACEOF
30085
30086 # Extract the first word of "msgfmt", so it can be a program name with args.
30087 set dummy msgfmt; ac_word=$2
30088 -echo "$as_me:$LINENO: checking for $ac_word" >&5
30089 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
30090 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
30091 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30092 if test "${ac_cv_path_MSGFMT+set}" = set; then
30093 echo $ECHO_N "(cached) $ECHO_C" >&6
30094 else
30095 @@ -7801,20 +8325,20 @@ esac
30096 fi
30097 MSGFMT="$ac_cv_path_MSGFMT"
30098 if test -n "$MSGFMT"; then
30099 - echo "$as_me:$LINENO: result: $MSGFMT" >&5
30100 -echo "${ECHO_T}$MSGFMT" >&6
30101 + { echo "$as_me:$LINENO: result: $MSGFMT" >&5
30102 +echo "${ECHO_T}$MSGFMT" >&6; }
30103 else
30104 - echo "$as_me:$LINENO: result: no" >&5
30105 -echo "${ECHO_T}no" >&6
30106 + { echo "$as_me:$LINENO: result: no" >&5
30107 +echo "${ECHO_T}no" >&6; }
30108 fi
30109 if test "$MSGFMT" != "no"; then
30110
30111 for ac_func in dcgettext
30112 do
30113 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30114 -echo "$as_me:$LINENO: checking for $ac_func" >&5
30115 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30116 -if eval "test \"\${$as_ac_var+set}\" = set"; then
30117 +{ echo "$as_me:$LINENO: checking for $ac_func" >&5
30118 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
30119 +if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
30120 echo $ECHO_N "(cached) $ECHO_C" >&6
30121 else
30122 cat >conftest.$ac_ext <<_ACEOF
30123 @@ -7840,68 +8364,60 @@ cat >>conftest.$ac_ext <<_ACEOF
30124
30125 #undef $ac_func
30126
30127 -/* Override any gcc2 internal prototype to avoid an error. */
30128 +/* Override any GCC internal prototype to avoid an error.
30129 + Use char because int might match the return type of a GCC
30130 + builtin and then its argument prototype would still apply. */
30131 #ifdef __cplusplus
30132 extern "C"
30133 -{
30134 #endif
30135 -/* We use char because int might match the return type of a gcc2
30136 - builtin and then its argument prototype would still apply. */
30137 char $ac_func ();
30138 /* The GNU C library defines this for functions which it implements
30139 to always fail with ENOSYS. Some functions are actually named
30140 something starting with __ and the normal name is an alias. */
30141 -#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30142 +#if defined __stub_$ac_func || defined __stub___$ac_func
30143 choke me
30144 -#else
30145 -char (*f) () = $ac_func;
30146 -#endif
30147 -#ifdef __cplusplus
30148 -}
30149 #endif
30150
30151 int
30152 main ()
30153 {
30154 -return f != $ac_func;
30155 +return $ac_func ();
30156 ;
30157 return 0;
30158 }
30159 _ACEOF
30160 rm -f conftest.$ac_objext conftest$ac_exeext
30161 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30162 - (eval $ac_link) 2>conftest.er1
30163 +if { (ac_try="$ac_link"
30164 +case "(($ac_try" in
30165 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30166 + *) ac_try_echo=$ac_try;;
30167 +esac
30168 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30169 + (eval "$ac_link") 2>conftest.er1
30170 ac_status=$?
30171 grep -v '^ *+' conftest.er1 >conftest.err
30172 rm -f conftest.er1
30173 cat conftest.err >&5
30174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30175 - (exit $ac_status); } &&
30176 - { ac_try='test -z "$ac_c_werror_flag"
30177 - || test ! -s conftest.err'
30178 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30179 - (eval $ac_try) 2>&5
30180 - ac_status=$?
30181 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
30182 - (exit $ac_status); }; } &&
30183 - { ac_try='test -s conftest$ac_exeext'
30184 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30185 - (eval $ac_try) 2>&5
30186 - ac_status=$?
30187 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
30188 - (exit $ac_status); }; }; then
30189 + (exit $ac_status); } && {
30190 + test -z "$ac_c_werror_flag" ||
30191 + test ! -s conftest.err
30192 + } && test -s conftest$ac_exeext &&
30193 + $as_test_x conftest$ac_exeext; then
30194 eval "$as_ac_var=yes"
30195 else
30196 echo "$as_me: failed program was:" >&5
30197 sed 's/^/| /' conftest.$ac_ext >&5
30198
30199 -eval "$as_ac_var=no"
30200 + eval "$as_ac_var=no"
30201 fi
30202 -rm -f conftest.err conftest.$ac_objext \
30203 +
30204 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30205 conftest$ac_exeext conftest.$ac_ext
30206 fi
30207 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30208 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30209 +ac_res=`eval echo '${'$as_ac_var'}'`
30210 + { echo "$as_me:$LINENO: result: $ac_res" >&5
30211 +echo "${ECHO_T}$ac_res" >&6; }
30212 if test `eval echo '${'$as_ac_var'}'` = yes; then
30213 cat >>confdefs.h <<_ACEOF
30214 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30215 @@ -7912,8 +8428,8 @@ done
30216
30217 # Extract the first word of "gmsgfmt", so it can be a program name with args.
30218 set dummy gmsgfmt; ac_word=$2
30219 -echo "$as_me:$LINENO: checking for $ac_word" >&5
30220 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
30221 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
30222 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30223 if test "${ac_cv_path_GMSGFMT+set}" = set; then
30224 echo $ECHO_N "(cached) $ECHO_C" >&6
30225 else
30226 @@ -7928,32 +8444,33 @@ do
30227 IFS=$as_save_IFS
30228 test -z "$as_dir" && as_dir=.
30229 for ac_exec_ext in '' $ac_executable_extensions; do
30230 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
30231 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30232 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
30233 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30234 break 2
30235 fi
30236 done
30237 done
30238 +IFS=$as_save_IFS
30239
30240 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
30241 ;;
30242 esac
30243 fi
30244 GMSGFMT=$ac_cv_path_GMSGFMT
30245 -
30246 if test -n "$GMSGFMT"; then
30247 - echo "$as_me:$LINENO: result: $GMSGFMT" >&5
30248 -echo "${ECHO_T}$GMSGFMT" >&6
30249 + { echo "$as_me:$LINENO: result: $GMSGFMT" >&5
30250 +echo "${ECHO_T}$GMSGFMT" >&6; }
30251 else
30252 - echo "$as_me:$LINENO: result: no" >&5
30253 -echo "${ECHO_T}no" >&6
30254 + { echo "$as_me:$LINENO: result: no" >&5
30255 +echo "${ECHO_T}no" >&6; }
30256 fi
30257
30258 +
30259 # Extract the first word of "xgettext", so it can be a program name with args.
30260 set dummy xgettext; ac_word=$2
30261 -echo "$as_me:$LINENO: checking for $ac_word" >&5
30262 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
30263 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
30264 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30265 if test "${ac_cv_path_XGETTEXT+set}" = set; then
30266 echo $ECHO_N "(cached) $ECHO_C" >&6
30267 else
30268 @@ -7979,11 +8496,11 @@ esac
30269 fi
30270 XGETTEXT="$ac_cv_path_XGETTEXT"
30271 if test -n "$XGETTEXT"; then
30272 - echo "$as_me:$LINENO: result: $XGETTEXT" >&5
30273 -echo "${ECHO_T}$XGETTEXT" >&6
30274 + { echo "$as_me:$LINENO: result: $XGETTEXT" >&5
30275 +echo "${ECHO_T}$XGETTEXT" >&6; }
30276 else
30277 - echo "$as_me:$LINENO: result: no" >&5
30278 -echo "${ECHO_T}no" >&6
30279 + { echo "$as_me:$LINENO: result: no" >&5
30280 +echo "${ECHO_T}no" >&6; }
30281 fi
30282
30283 cat >conftest.$ac_ext <<_ACEOF
30284 @@ -8003,37 +8520,34 @@ extern int _nl_msg_cat_cntr;
30285 }
30286 _ACEOF
30287 rm -f conftest.$ac_objext conftest$ac_exeext
30288 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30289 - (eval $ac_link) 2>conftest.er1
30290 +if { (ac_try="$ac_link"
30291 +case "(($ac_try" in
30292 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30293 + *) ac_try_echo=$ac_try;;
30294 +esac
30295 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30296 + (eval "$ac_link") 2>conftest.er1
30297 ac_status=$?
30298 grep -v '^ *+' conftest.er1 >conftest.err
30299 rm -f conftest.er1
30300 cat conftest.err >&5
30301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30302 - (exit $ac_status); } &&
30303 - { ac_try='test -z "$ac_c_werror_flag"
30304 - || test ! -s conftest.err'
30305 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30306 - (eval $ac_try) 2>&5
30307 - ac_status=$?
30308 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
30309 - (exit $ac_status); }; } &&
30310 - { ac_try='test -s conftest$ac_exeext'
30311 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30312 - (eval $ac_try) 2>&5
30313 - ac_status=$?
30314 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
30315 - (exit $ac_status); }; }; then
30316 + (exit $ac_status); } && {
30317 + test -z "$ac_c_werror_flag" ||
30318 + test ! -s conftest.err
30319 + } && test -s conftest$ac_exeext &&
30320 + $as_test_x conftest$ac_exeext; then
30321 CATOBJEXT=.gmo
30322 DATADIRNAME=share
30323 else
30324 echo "$as_me: failed program was:" >&5
30325 sed 's/^/| /' conftest.$ac_ext >&5
30326
30327 -CATOBJEXT=.mo
30328 + CATOBJEXT=.mo
30329 DATADIRNAME=lib
30330 fi
30331 -rm -f conftest.err conftest.$ac_objext \
30332 +
30333 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30334 conftest$ac_exeext conftest.$ac_ext
30335 INSTOBJEXT=.mo
30336 fi
30337 @@ -8055,8 +8569,8 @@ fi
30338 INTLOBJS="\$(GETTOBJS)"
30339 # Extract the first word of "msgfmt", so it can be a program name with args.
30340 set dummy msgfmt; ac_word=$2
30341 -echo "$as_me:$LINENO: checking for $ac_word" >&5
30342 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
30343 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
30344 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30345 if test "${ac_cv_path_MSGFMT+set}" = set; then
30346 echo $ECHO_N "(cached) $ECHO_C" >&6
30347 else
30348 @@ -8082,17 +8596,17 @@ esac
30349 fi
30350 MSGFMT="$ac_cv_path_MSGFMT"
30351 if test -n "$MSGFMT"; then
30352 - echo "$as_me:$LINENO: result: $MSGFMT" >&5
30353 -echo "${ECHO_T}$MSGFMT" >&6
30354 + { echo "$as_me:$LINENO: result: $MSGFMT" >&5
30355 +echo "${ECHO_T}$MSGFMT" >&6; }
30356 else
30357 - echo "$as_me:$LINENO: result: no" >&5
30358 -echo "${ECHO_T}no" >&6
30359 + { echo "$as_me:$LINENO: result: no" >&5
30360 +echo "${ECHO_T}no" >&6; }
30361 fi
30362
30363 # Extract the first word of "gmsgfmt", so it can be a program name with args.
30364 set dummy gmsgfmt; ac_word=$2
30365 -echo "$as_me:$LINENO: checking for $ac_word" >&5
30366 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
30367 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
30368 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30369 if test "${ac_cv_path_GMSGFMT+set}" = set; then
30370 echo $ECHO_N "(cached) $ECHO_C" >&6
30371 else
30372 @@ -8107,32 +8621,33 @@ do
30373 IFS=$as_save_IFS
30374 test -z "$as_dir" && as_dir=.
30375 for ac_exec_ext in '' $ac_executable_extensions; do
30376 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
30377 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30378 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
30379 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30380 break 2
30381 fi
30382 done
30383 done
30384 +IFS=$as_save_IFS
30385
30386 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
30387 ;;
30388 esac
30389 fi
30390 GMSGFMT=$ac_cv_path_GMSGFMT
30391 -
30392 if test -n "$GMSGFMT"; then
30393 - echo "$as_me:$LINENO: result: $GMSGFMT" >&5
30394 -echo "${ECHO_T}$GMSGFMT" >&6
30395 + { echo "$as_me:$LINENO: result: $GMSGFMT" >&5
30396 +echo "${ECHO_T}$GMSGFMT" >&6; }
30397 else
30398 - echo "$as_me:$LINENO: result: no" >&5
30399 -echo "${ECHO_T}no" >&6
30400 + { echo "$as_me:$LINENO: result: no" >&5
30401 +echo "${ECHO_T}no" >&6; }
30402 fi
30403
30404 +
30405 # Extract the first word of "xgettext", so it can be a program name with args.
30406 set dummy xgettext; ac_word=$2
30407 -echo "$as_me:$LINENO: checking for $ac_word" >&5
30408 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
30409 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
30410 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30411 if test "${ac_cv_path_XGETTEXT+set}" = set; then
30412 echo $ECHO_N "(cached) $ECHO_C" >&6
30413 else
30414 @@ -8158,11 +8673,11 @@ esac
30415 fi
30416 XGETTEXT="$ac_cv_path_XGETTEXT"
30417 if test -n "$XGETTEXT"; then
30418 - echo "$as_me:$LINENO: result: $XGETTEXT" >&5
30419 -echo "${ECHO_T}$XGETTEXT" >&6
30420 + { echo "$as_me:$LINENO: result: $XGETTEXT" >&5
30421 +echo "${ECHO_T}$XGETTEXT" >&6; }
30422 else
30423 - echo "$as_me:$LINENO: result: no" >&5
30424 -echo "${ECHO_T}no" >&6
30425 + { echo "$as_me:$LINENO: result: no" >&5
30426 +echo "${ECHO_T}no" >&6; }
30427 fi
30428
30429
30430 @@ -8181,8 +8696,8 @@ fi
30431 if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
30432 : ;
30433 else
30434 - echo "$as_me:$LINENO: result: found xgettext programs is not GNU xgettext; ignore it" >&5
30435 -echo "${ECHO_T}found xgettext programs is not GNU xgettext; ignore it" >&6
30436 + { echo "$as_me:$LINENO: result: found xgettext programs is not GNU xgettext; ignore it" >&5
30437 +echo "${ECHO_T}found xgettext programs is not GNU xgettext; ignore it" >&6; }
30438 XGETTEXT=":"
30439 fi
30440 fi
30441 @@ -8231,8 +8746,8 @@ _ACEOF
30442 if test "x$ALL_LINGUAS" = "x"; then
30443 LINGUAS=
30444 else
30445 - echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
30446 -echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6
30447 + { echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
30448 +echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6; }
30449 NEW_LINGUAS=
30450 for lang in ${LINGUAS=$ALL_LINGUAS}; do
30451 case "$ALL_LINGUAS" in
30452 @@ -8240,8 +8755,8 @@ echo $ECHO_N "checking for catalogs to b
30453 esac
30454 done
30455 LINGUAS=$NEW_LINGUAS
30456 - echo "$as_me:$LINENO: result: $LINGUAS" >&5
30457 -echo "${ECHO_T}$LINGUAS" >&6
30458 + { echo "$as_me:$LINENO: result: $LINGUAS" >&5
30459 +echo "${ECHO_T}$LINGUAS" >&6; }
30460 fi
30461
30462 if test -n "$LINGUAS"; then
30463 @@ -8260,17 +8775,17 @@ echo "${ECHO_T}$LINGUAS" >&6
30464 if test -f $srcdir/po2tbl.sed.in; then
30465 if test "$CATOBJEXT" = ".cat"; then
30466 if test "${ac_cv_header_linux_version_h+set}" = set; then
30467 - echo "$as_me:$LINENO: checking for linux/version.h" >&5
30468 -echo $ECHO_N "checking for linux/version.h... $ECHO_C" >&6
30469 + { echo "$as_me:$LINENO: checking for linux/version.h" >&5
30470 +echo $ECHO_N "checking for linux/version.h... $ECHO_C" >&6; }
30471 if test "${ac_cv_header_linux_version_h+set}" = set; then
30472 echo $ECHO_N "(cached) $ECHO_C" >&6
30473 fi
30474 -echo "$as_me:$LINENO: result: $ac_cv_header_linux_version_h" >&5
30475 -echo "${ECHO_T}$ac_cv_header_linux_version_h" >&6
30476 +{ echo "$as_me:$LINENO: result: $ac_cv_header_linux_version_h" >&5
30477 +echo "${ECHO_T}$ac_cv_header_linux_version_h" >&6; }
30478 else
30479 # Is the header compilable?
30480 -echo "$as_me:$LINENO: checking linux/version.h usability" >&5
30481 -echo $ECHO_N "checking linux/version.h usability... $ECHO_C" >&6
30482 +{ echo "$as_me:$LINENO: checking linux/version.h usability" >&5
30483 +echo $ECHO_N "checking linux/version.h usability... $ECHO_C" >&6; }
30484 cat >conftest.$ac_ext <<_ACEOF
30485 /* confdefs.h. */
30486 _ACEOF
30487 @@ -8281,41 +8796,37 @@ $ac_includes_default
30488 #include <linux/version.h>
30489 _ACEOF
30490 rm -f conftest.$ac_objext
30491 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30492 - (eval $ac_compile) 2>conftest.er1
30493 +if { (ac_try="$ac_compile"
30494 +case "(($ac_try" in
30495 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30496 + *) ac_try_echo=$ac_try;;
30497 +esac
30498 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30499 + (eval "$ac_compile") 2>conftest.er1
30500 ac_status=$?
30501 grep -v '^ *+' conftest.er1 >conftest.err
30502 rm -f conftest.er1
30503 cat conftest.err >&5
30504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30505 - (exit $ac_status); } &&
30506 - { ac_try='test -z "$ac_c_werror_flag"
30507 - || test ! -s conftest.err'
30508 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30509 - (eval $ac_try) 2>&5
30510 - ac_status=$?
30511 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
30512 - (exit $ac_status); }; } &&
30513 - { ac_try='test -s conftest.$ac_objext'
30514 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30515 - (eval $ac_try) 2>&5
30516 - ac_status=$?
30517 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
30518 - (exit $ac_status); }; }; then
30519 + (exit $ac_status); } && {
30520 + test -z "$ac_c_werror_flag" ||
30521 + test ! -s conftest.err
30522 + } && test -s conftest.$ac_objext; then
30523 ac_header_compiler=yes
30524 else
30525 echo "$as_me: failed program was:" >&5
30526 sed 's/^/| /' conftest.$ac_ext >&5
30527
30528 -ac_header_compiler=no
30529 + ac_header_compiler=no
30530 fi
30531 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30532 -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30533 -echo "${ECHO_T}$ac_header_compiler" >&6
30534 +
30535 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30536 +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30537 +echo "${ECHO_T}$ac_header_compiler" >&6; }
30538
30539 # Is the header present?
30540 -echo "$as_me:$LINENO: checking linux/version.h presence" >&5
30541 -echo $ECHO_N "checking linux/version.h presence... $ECHO_C" >&6
30542 +{ echo "$as_me:$LINENO: checking linux/version.h presence" >&5
30543 +echo $ECHO_N "checking linux/version.h presence... $ECHO_C" >&6; }
30544 cat >conftest.$ac_ext <<_ACEOF
30545 /* confdefs.h. */
30546 _ACEOF
30547 @@ -8324,24 +8835,22 @@ cat >>conftest.$ac_ext <<_ACEOF
30548 /* end confdefs.h. */
30549 #include <linux/version.h>
30550 _ACEOF
30551 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
30552 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
30553 +if { (ac_try="$ac_cpp conftest.$ac_ext"
30554 +case "(($ac_try" in
30555 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30556 + *) ac_try_echo=$ac_try;;
30557 +esac
30558 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30559 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
30560 ac_status=$?
30561 grep -v '^ *+' conftest.er1 >conftest.err
30562 rm -f conftest.er1
30563 cat conftest.err >&5
30564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30565 - (exit $ac_status); } >/dev/null; then
30566 - if test -s conftest.err; then
30567 - ac_cpp_err=$ac_c_preproc_warn_flag
30568 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
30569 - else
30570 - ac_cpp_err=
30571 - fi
30572 -else
30573 - ac_cpp_err=yes
30574 -fi
30575 -if test -z "$ac_cpp_err"; then
30576 + (exit $ac_status); } >/dev/null && {
30577 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
30578 + test ! -s conftest.err
30579 + }; then
30580 ac_header_preproc=yes
30581 else
30582 echo "$as_me: failed program was:" >&5
30583 @@ -8349,9 +8858,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
30584
30585 ac_header_preproc=no
30586 fi
30587 +
30588 rm -f conftest.err conftest.$ac_ext
30589 -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30590 -echo "${ECHO_T}$ac_header_preproc" >&6
30591 +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30592 +echo "${ECHO_T}$ac_header_preproc" >&6; }
30593
30594 # So? What about this header?
30595 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30596 @@ -8375,25 +8885,18 @@ echo "$as_me: WARNING: linux/version.h:
30597 echo "$as_me: WARNING: linux/version.h: proceeding with the preprocessor's result" >&2;}
30598 { echo "$as_me:$LINENO: WARNING: linux/version.h: in the future, the compiler will take precedence" >&5
30599 echo "$as_me: WARNING: linux/version.h: in the future, the compiler will take precedence" >&2;}
30600 - (
30601 - cat <<\_ASBOX
30602 -## ------------------------------------------ ##
30603 -## Report this to the AC_PACKAGE_NAME lists. ##
30604 -## ------------------------------------------ ##
30605 -_ASBOX
30606 - ) |
30607 - sed "s/^/$as_me: WARNING: /" >&2
30608 +
30609 ;;
30610 esac
30611 -echo "$as_me:$LINENO: checking for linux/version.h" >&5
30612 -echo $ECHO_N "checking for linux/version.h... $ECHO_C" >&6
30613 +{ echo "$as_me:$LINENO: checking for linux/version.h" >&5
30614 +echo $ECHO_N "checking for linux/version.h... $ECHO_C" >&6; }
30615 if test "${ac_cv_header_linux_version_h+set}" = set; then
30616 echo $ECHO_N "(cached) $ECHO_C" >&6
30617 else
30618 ac_cv_header_linux_version_h=$ac_header_preproc
30619 fi
30620 -echo "$as_me:$LINENO: result: $ac_cv_header_linux_version_h" >&5
30621 -echo "${ECHO_T}$ac_cv_header_linux_version_h" >&6
30622 +{ echo "$as_me:$LINENO: result: $ac_cv_header_linux_version_h" >&5
30623 +echo "${ECHO_T}$ac_cv_header_linux_version_h" >&6; }
30624
30625 fi
30626 if test $ac_cv_header_linux_version_h = yes; then
30627 @@ -8443,17 +8946,17 @@ fi
30628 fi
30629
30630
30631 -echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
30632 -echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
30633 - # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
30634 +{ echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
30635 +echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
30636 + # Check whether --enable-maintainer-mode was given.
30637 if test "${enable_maintainer_mode+set}" = set; then
30638 - enableval="$enable_maintainer_mode"
30639 - USE_MAINTAINER_MODE=$enableval
30640 + enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
30641 else
30642 USE_MAINTAINER_MODE=no
30643 -fi;
30644 - echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
30645 -echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
30646 +fi
30647 +
30648 + { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
30649 +echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
30650
30651
30652 if test $USE_MAINTAINER_MODE = yes; then
30653 @@ -8493,8 +8996,8 @@ AR=${AR-ar}
30654 if test -n "$ac_tool_prefix"; then
30655 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
30656 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
30657 -echo "$as_me:$LINENO: checking for $ac_word" >&5
30658 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
30659 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
30660 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30661 if test "${ac_cv_prog_RANLIB+set}" = set; then
30662 echo $ECHO_N "(cached) $ECHO_C" >&6
30663 else
30664 @@ -8507,32 +9010,34 @@ do
30665 IFS=$as_save_IFS
30666 test -z "$as_dir" && as_dir=.
30667 for ac_exec_ext in '' $ac_executable_extensions; do
30668 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
30669 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30670 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
30671 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30672 break 2
30673 fi
30674 done
30675 done
30676 +IFS=$as_save_IFS
30677
30678 fi
30679 fi
30680 RANLIB=$ac_cv_prog_RANLIB
30681 if test -n "$RANLIB"; then
30682 - echo "$as_me:$LINENO: result: $RANLIB" >&5
30683 -echo "${ECHO_T}$RANLIB" >&6
30684 + { echo "$as_me:$LINENO: result: $RANLIB" >&5
30685 +echo "${ECHO_T}$RANLIB" >&6; }
30686 else
30687 - echo "$as_me:$LINENO: result: no" >&5
30688 -echo "${ECHO_T}no" >&6
30689 + { echo "$as_me:$LINENO: result: no" >&5
30690 +echo "${ECHO_T}no" >&6; }
30691 fi
30692
30693 +
30694 fi
30695 if test -z "$ac_cv_prog_RANLIB"; then
30696 ac_ct_RANLIB=$RANLIB
30697 # Extract the first word of "ranlib", so it can be a program name with args.
30698 set dummy ranlib; ac_word=$2
30699 -echo "$as_me:$LINENO: checking for $ac_word" >&5
30700 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
30701 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
30702 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30703 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
30704 echo $ECHO_N "(cached) $ECHO_C" >&6
30705 else
30706 @@ -8545,27 +9050,41 @@ do
30707 IFS=$as_save_IFS
30708 test -z "$as_dir" && as_dir=.
30709 for ac_exec_ext in '' $ac_executable_extensions; do
30710 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
30711 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30712 ac_cv_prog_ac_ct_RANLIB="ranlib"
30713 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30714 break 2
30715 fi
30716 done
30717 done
30718 +IFS=$as_save_IFS
30719
30720 - test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
30721 fi
30722 fi
30723 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
30724 if test -n "$ac_ct_RANLIB"; then
30725 - echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
30726 -echo "${ECHO_T}$ac_ct_RANLIB" >&6
30727 + { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
30728 +echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
30729 else
30730 - echo "$as_me:$LINENO: result: no" >&5
30731 -echo "${ECHO_T}no" >&6
30732 + { echo "$as_me:$LINENO: result: no" >&5
30733 +echo "${ECHO_T}no" >&6; }
30734 fi
30735
30736 - RANLIB=$ac_ct_RANLIB
30737 + if test "x$ac_ct_RANLIB" = x; then
30738 + RANLIB=":"
30739 + else
30740 + case $cross_compiling:$ac_tool_warned in
30741 +yes:)
30742 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
30743 +whose name does not start with the host triplet. If you think this
30744 +configuration is useful to you, please write to autoconf@gnu.org." >&5
30745 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
30746 +whose name does not start with the host triplet. If you think this
30747 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
30748 +ac_tool_warned=yes ;;
30749 +esac
30750 + RANLIB=$ac_ct_RANLIB
30751 + fi
30752 else
30753 RANLIB="$ac_cv_prog_RANLIB"
30754 fi
30755 @@ -8583,8 +9102,8 @@ fi
30756 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
30757 # OS/2's system install, which has a completely different semantic
30758 # ./install, which can be erroneously created by make from ./install.sh.
30759 -echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
30760 -echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
30761 +{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
30762 +echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
30763 if test -z "$INSTALL"; then
30764 if test "${ac_cv_path_install+set}" = set; then
30765 echo $ECHO_N "(cached) $ECHO_C" >&6
30766 @@ -8606,7 +9125,7 @@ case $as_dir/ in
30767 # by default.
30768 for ac_prog in ginstall scoinst install; do
30769 for ac_exec_ext in '' $ac_executable_extensions; do
30770 - if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
30771 + if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
30772 if test $ac_prog = install &&
30773 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
30774 # AIX install. It has an incompatible calling convention.
30775 @@ -8625,21 +9144,22 @@ case $as_dir/ in
30776 ;;
30777 esac
30778 done
30779 +IFS=$as_save_IFS
30780
30781
30782 fi
30783 if test "${ac_cv_path_install+set}" = set; then
30784 INSTALL=$ac_cv_path_install
30785 else
30786 - # As a last resort, use the slow shell script. We don't cache a
30787 - # path for INSTALL within a source directory, because that will
30788 + # As a last resort, use the slow shell script. Don't cache a
30789 + # value for INSTALL within a source directory, because that will
30790 # break other packages using the cache if that directory is
30791 - # removed, or if the path is relative.
30792 + # removed, or if the value is a relative name.
30793 INSTALL=$ac_install_sh
30794 fi
30795 fi
30796 -echo "$as_me:$LINENO: result: $INSTALL" >&5
30797 -echo "${ECHO_T}$INSTALL" >&6
30798 +{ echo "$as_me:$LINENO: result: $INSTALL" >&5
30799 +echo "${ECHO_T}$INSTALL" >&6; }
30800
30801 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
30802 # It thinks the first close brace ends the variable substitution.
30803 @@ -8663,8 +9183,8 @@ fi
30804 if test "x$cross_compiling" = "xno"; then
30805 EXEEXT_FOR_BUILD='$(EXEEXT)'
30806 else
30807 - echo "$as_me:$LINENO: checking for build system executable suffix" >&5
30808 -echo $ECHO_N "checking for build system executable suffix... $ECHO_C" >&6
30809 + { echo "$as_me:$LINENO: checking for build system executable suffix" >&5
30810 +echo $ECHO_N "checking for build system executable suffix... $ECHO_C" >&6; }
30811 if test "${bfd_cv_build_exeext+set}" = set; then
30812 echo $ECHO_N "(cached) $ECHO_C" >&6
30813 else
30814 @@ -8681,8 +9201,8 @@ else
30815 rm -f conftest*
30816 test x"${bfd_cv_build_exeext}" = x && bfd_cv_build_exeext=no
30817 fi
30818 -echo "$as_me:$LINENO: result: $bfd_cv_build_exeext" >&5
30819 -echo "${ECHO_T}$bfd_cv_build_exeext" >&6
30820 +{ echo "$as_me:$LINENO: result: $bfd_cv_build_exeext" >&5
30821 +echo "${ECHO_T}$bfd_cv_build_exeext" >&6; }
30822 EXEEXT_FOR_BUILD=""
30823 test x"${bfd_cv_build_exeext}" != xno && EXEEXT_FOR_BUILD=${bfd_cv_build_exeext}
30824 fi
30825 @@ -8704,18 +9224,19 @@ esac
30826 for ac_header in string.h strings.h stdlib.h unistd.h fcntl.h sys/file.h
30827 do
30828 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30829 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
30830 - echo "$as_me:$LINENO: checking for $ac_header" >&5
30831 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30832 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
30833 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
30834 + { echo "$as_me:$LINENO: checking for $ac_header" >&5
30835 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
30836 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
30837 echo $ECHO_N "(cached) $ECHO_C" >&6
30838 fi
30839 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30840 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30841 +ac_res=`eval echo '${'$as_ac_Header'}'`
30842 + { echo "$as_me:$LINENO: result: $ac_res" >&5
30843 +echo "${ECHO_T}$ac_res" >&6; }
30844 else
30845 # Is the header compilable?
30846 -echo "$as_me:$LINENO: checking $ac_header usability" >&5
30847 -echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
30848 +{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
30849 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
30850 cat >conftest.$ac_ext <<_ACEOF
30851 /* confdefs.h. */
30852 _ACEOF
30853 @@ -8726,41 +9247,37 @@ $ac_includes_default
30854 #include <$ac_header>
30855 _ACEOF
30856 rm -f conftest.$ac_objext
30857 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30858 - (eval $ac_compile) 2>conftest.er1
30859 +if { (ac_try="$ac_compile"
30860 +case "(($ac_try" in
30861 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30862 + *) ac_try_echo=$ac_try;;
30863 +esac
30864 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30865 + (eval "$ac_compile") 2>conftest.er1
30866 ac_status=$?
30867 grep -v '^ *+' conftest.er1 >conftest.err
30868 rm -f conftest.er1
30869 cat conftest.err >&5
30870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30871 - (exit $ac_status); } &&
30872 - { ac_try='test -z "$ac_c_werror_flag"
30873 - || test ! -s conftest.err'
30874 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30875 - (eval $ac_try) 2>&5
30876 - ac_status=$?
30877 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
30878 - (exit $ac_status); }; } &&
30879 - { ac_try='test -s conftest.$ac_objext'
30880 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30881 - (eval $ac_try) 2>&5
30882 - ac_status=$?
30883 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
30884 - (exit $ac_status); }; }; then
30885 + (exit $ac_status); } && {
30886 + test -z "$ac_c_werror_flag" ||
30887 + test ! -s conftest.err
30888 + } && test -s conftest.$ac_objext; then
30889 ac_header_compiler=yes
30890 else
30891 echo "$as_me: failed program was:" >&5
30892 sed 's/^/| /' conftest.$ac_ext >&5
30893
30894 -ac_header_compiler=no
30895 + ac_header_compiler=no
30896 fi
30897 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30898 -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30899 -echo "${ECHO_T}$ac_header_compiler" >&6
30900 +
30901 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30902 +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30903 +echo "${ECHO_T}$ac_header_compiler" >&6; }
30904
30905 # Is the header present?
30906 -echo "$as_me:$LINENO: checking $ac_header presence" >&5
30907 -echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
30908 +{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
30909 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
30910 cat >conftest.$ac_ext <<_ACEOF
30911 /* confdefs.h. */
30912 _ACEOF
30913 @@ -8769,24 +9286,22 @@ cat >>conftest.$ac_ext <<_ACEOF
30914 /* end confdefs.h. */
30915 #include <$ac_header>
30916 _ACEOF
30917 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
30918 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
30919 +if { (ac_try="$ac_cpp conftest.$ac_ext"
30920 +case "(($ac_try" in
30921 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30922 + *) ac_try_echo=$ac_try;;
30923 +esac
30924 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30925 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
30926 ac_status=$?
30927 grep -v '^ *+' conftest.er1 >conftest.err
30928 rm -f conftest.er1
30929 cat conftest.err >&5
30930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30931 - (exit $ac_status); } >/dev/null; then
30932 - if test -s conftest.err; then
30933 - ac_cpp_err=$ac_c_preproc_warn_flag
30934 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
30935 - else
30936 - ac_cpp_err=
30937 - fi
30938 -else
30939 - ac_cpp_err=yes
30940 -fi
30941 -if test -z "$ac_cpp_err"; then
30942 + (exit $ac_status); } >/dev/null && {
30943 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
30944 + test ! -s conftest.err
30945 + }; then
30946 ac_header_preproc=yes
30947 else
30948 echo "$as_me: failed program was:" >&5
30949 @@ -8794,9 +9309,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
30950
30951 ac_header_preproc=no
30952 fi
30953 +
30954 rm -f conftest.err conftest.$ac_ext
30955 -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30956 -echo "${ECHO_T}$ac_header_preproc" >&6
30957 +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30958 +echo "${ECHO_T}$ac_header_preproc" >&6; }
30959
30960 # So? What about this header?
30961 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30962 @@ -8820,25 +9336,19 @@ echo "$as_me: WARNING: $ac_header: s
30963 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
30964 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
30965 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
30966 - (
30967 - cat <<\_ASBOX
30968 -## ------------------------------------------ ##
30969 -## Report this to the AC_PACKAGE_NAME lists. ##
30970 -## ------------------------------------------ ##
30971 -_ASBOX
30972 - ) |
30973 - sed "s/^/$as_me: WARNING: /" >&2
30974 +
30975 ;;
30976 esac
30977 -echo "$as_me:$LINENO: checking for $ac_header" >&5
30978 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30979 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
30980 +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
30981 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
30982 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
30983 echo $ECHO_N "(cached) $ECHO_C" >&6
30984 else
30985 eval "$as_ac_Header=\$ac_header_preproc"
30986 fi
30987 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30988 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30989 +ac_res=`eval echo '${'$as_ac_Header'}'`
30990 + { echo "$as_me:$LINENO: result: $ac_res" >&5
30991 +echo "${ECHO_T}$ac_res" >&6; }
30992
30993 fi
30994 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30995 @@ -8850,8 +9360,8 @@ fi
30996
30997 done
30998
30999 -echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
31000 -echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6
31001 +{ echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
31002 +echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6; }
31003 if test "${ac_cv_header_sys_wait_h+set}" = set; then
31004 echo $ECHO_N "(cached) $ECHO_C" >&6
31005 else
31006 @@ -8864,7 +9374,7 @@ cat >>conftest.$ac_ext <<_ACEOF
31007 #include <sys/types.h>
31008 #include <sys/wait.h>
31009 #ifndef WEXITSTATUS
31010 -# define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
31011 +# define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
31012 #endif
31013 #ifndef WIFEXITED
31014 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
31015 @@ -8881,38 +9391,34 @@ main ()
31016 }
31017 _ACEOF
31018 rm -f conftest.$ac_objext
31019 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31020 - (eval $ac_compile) 2>conftest.er1
31021 +if { (ac_try="$ac_compile"
31022 +case "(($ac_try" in
31023 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31024 + *) ac_try_echo=$ac_try;;
31025 +esac
31026 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31027 + (eval "$ac_compile") 2>conftest.er1
31028 ac_status=$?
31029 grep -v '^ *+' conftest.er1 >conftest.err
31030 rm -f conftest.er1
31031 cat conftest.err >&5
31032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31033 - (exit $ac_status); } &&
31034 - { ac_try='test -z "$ac_c_werror_flag"
31035 - || test ! -s conftest.err'
31036 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31037 - (eval $ac_try) 2>&5
31038 - ac_status=$?
31039 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
31040 - (exit $ac_status); }; } &&
31041 - { ac_try='test -s conftest.$ac_objext'
31042 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31043 - (eval $ac_try) 2>&5
31044 - ac_status=$?
31045 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
31046 - (exit $ac_status); }; }; then
31047 + (exit $ac_status); } && {
31048 + test -z "$ac_c_werror_flag" ||
31049 + test ! -s conftest.err
31050 + } && test -s conftest.$ac_objext; then
31051 ac_cv_header_sys_wait_h=yes
31052 else
31053 echo "$as_me: failed program was:" >&5
31054 sed 's/^/| /' conftest.$ac_ext >&5
31055
31056 -ac_cv_header_sys_wait_h=no
31057 + ac_cv_header_sys_wait_h=no
31058 fi
31059 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31060 +
31061 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31062 fi
31063 -echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
31064 -echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6
31065 +{ echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
31066 +echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6; }
31067 if test $ac_cv_header_sys_wait_h = yes; then
31068
31069 cat >>confdefs.h <<\_ACEOF
31070 @@ -8923,8 +9429,8 @@ fi
31071
31072 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
31073 # for constant arguments. Useless!
31074 -echo "$as_me:$LINENO: checking for working alloca.h" >&5
31075 -echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
31076 +{ echo "$as_me:$LINENO: checking for working alloca.h" >&5
31077 +echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6; }
31078 if test "${ac_cv_working_alloca_h+set}" = set; then
31079 echo $ECHO_N "(cached) $ECHO_C" >&6
31080 else
31081 @@ -8939,44 +9445,42 @@ int
31082 main ()
31083 {
31084 char *p = (char *) alloca (2 * sizeof (int));
31085 + if (p) return 0;
31086 ;
31087 return 0;
31088 }
31089 _ACEOF
31090 rm -f conftest.$ac_objext conftest$ac_exeext
31091 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31092 - (eval $ac_link) 2>conftest.er1
31093 +if { (ac_try="$ac_link"
31094 +case "(($ac_try" in
31095 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31096 + *) ac_try_echo=$ac_try;;
31097 +esac
31098 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31099 + (eval "$ac_link") 2>conftest.er1
31100 ac_status=$?
31101 grep -v '^ *+' conftest.er1 >conftest.err
31102 rm -f conftest.er1
31103 cat conftest.err >&5
31104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31105 - (exit $ac_status); } &&
31106 - { ac_try='test -z "$ac_c_werror_flag"
31107 - || test ! -s conftest.err'
31108 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31109 - (eval $ac_try) 2>&5
31110 - ac_status=$?
31111 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
31112 - (exit $ac_status); }; } &&
31113 - { ac_try='test -s conftest$ac_exeext'
31114 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31115 - (eval $ac_try) 2>&5
31116 - ac_status=$?
31117 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
31118 - (exit $ac_status); }; }; then
31119 + (exit $ac_status); } && {
31120 + test -z "$ac_c_werror_flag" ||
31121 + test ! -s conftest.err
31122 + } && test -s conftest$ac_exeext &&
31123 + $as_test_x conftest$ac_exeext; then
31124 ac_cv_working_alloca_h=yes
31125 else
31126 echo "$as_me: failed program was:" >&5
31127 sed 's/^/| /' conftest.$ac_ext >&5
31128
31129 -ac_cv_working_alloca_h=no
31130 + ac_cv_working_alloca_h=no
31131 fi
31132 -rm -f conftest.err conftest.$ac_objext \
31133 +
31134 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31135 conftest$ac_exeext conftest.$ac_ext
31136 fi
31137 -echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
31138 -echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
31139 +{ echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
31140 +echo "${ECHO_T}$ac_cv_working_alloca_h" >&6; }
31141 if test $ac_cv_working_alloca_h = yes; then
31142
31143 cat >>confdefs.h <<\_ACEOF
31144 @@ -8985,8 +9489,8 @@ _ACEOF
31145
31146 fi
31147
31148 -echo "$as_me:$LINENO: checking for alloca" >&5
31149 -echo $ECHO_N "checking for alloca... $ECHO_C" >&6
31150 +{ echo "$as_me:$LINENO: checking for alloca" >&5
31151 +echo $ECHO_N "checking for alloca... $ECHO_C" >&6; }
31152 if test "${ac_cv_func_alloca_works+set}" = set; then
31153 echo $ECHO_N "(cached) $ECHO_C" >&6
31154 else
31155 @@ -9003,7 +9507,7 @@ cat >>conftest.$ac_ext <<_ACEOF
31156 # include <malloc.h>
31157 # define alloca _alloca
31158 # else
31159 -# if HAVE_ALLOCA_H
31160 +# ifdef HAVE_ALLOCA_H
31161 # include <alloca.h>
31162 # else
31163 # ifdef _AIX
31164 @@ -9021,44 +9525,42 @@ int
31165 main ()
31166 {
31167 char *p = (char *) alloca (1);
31168 + if (p) return 0;
31169 ;
31170 return 0;
31171 }
31172 _ACEOF
31173 rm -f conftest.$ac_objext conftest$ac_exeext
31174 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31175 - (eval $ac_link) 2>conftest.er1
31176 +if { (ac_try="$ac_link"
31177 +case "(($ac_try" in
31178 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31179 + *) ac_try_echo=$ac_try;;
31180 +esac
31181 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31182 + (eval "$ac_link") 2>conftest.er1
31183 ac_status=$?
31184 grep -v '^ *+' conftest.er1 >conftest.err
31185 rm -f conftest.er1
31186 cat conftest.err >&5
31187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31188 - (exit $ac_status); } &&
31189 - { ac_try='test -z "$ac_c_werror_flag"
31190 - || test ! -s conftest.err'
31191 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31192 - (eval $ac_try) 2>&5
31193 - ac_status=$?
31194 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
31195 - (exit $ac_status); }; } &&
31196 - { ac_try='test -s conftest$ac_exeext'
31197 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31198 - (eval $ac_try) 2>&5
31199 - ac_status=$?
31200 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
31201 - (exit $ac_status); }; }; then
31202 + (exit $ac_status); } && {
31203 + test -z "$ac_c_werror_flag" ||
31204 + test ! -s conftest.err
31205 + } && test -s conftest$ac_exeext &&
31206 + $as_test_x conftest$ac_exeext; then
31207 ac_cv_func_alloca_works=yes
31208 else
31209 echo "$as_me: failed program was:" >&5
31210 sed 's/^/| /' conftest.$ac_ext >&5
31211
31212 -ac_cv_func_alloca_works=no
31213 + ac_cv_func_alloca_works=no
31214 fi
31215 -rm -f conftest.err conftest.$ac_objext \
31216 +
31217 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31218 conftest$ac_exeext conftest.$ac_ext
31219 fi
31220 -echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
31221 -echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
31222 +{ echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
31223 +echo "${ECHO_T}$ac_cv_func_alloca_works" >&6; }
31224
31225 if test $ac_cv_func_alloca_works = yes; then
31226
31227 @@ -9072,15 +9574,15 @@ else
31228 # contain a buggy version. If you still want to use their alloca,
31229 # use ar to extract alloca.o from them instead of compiling alloca.c.
31230
31231 -ALLOCA=alloca.$ac_objext
31232 +ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
31233
31234 cat >>confdefs.h <<\_ACEOF
31235 #define C_ALLOCA 1
31236 _ACEOF
31237
31238
31239 -echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
31240 -echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
31241 +{ echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
31242 +echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6; }
31243 if test "${ac_cv_os_cray+set}" = set; then
31244 echo $ECHO_N "(cached) $ECHO_C" >&6
31245 else
31246 @@ -9090,7 +9592,7 @@ _ACEOF
31247 cat confdefs.h >>conftest.$ac_ext
31248 cat >>conftest.$ac_ext <<_ACEOF
31249 /* end confdefs.h. */
31250 -#if defined(CRAY) && ! defined(CRAY2)
31251 +#if defined CRAY && ! defined CRAY2
31252 webecray
31253 #else
31254 wenotbecray
31255 @@ -9106,14 +9608,14 @@ fi
31256 rm -f conftest*
31257
31258 fi
31259 -echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
31260 -echo "${ECHO_T}$ac_cv_os_cray" >&6
31261 +{ echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
31262 +echo "${ECHO_T}$ac_cv_os_cray" >&6; }
31263 if test $ac_cv_os_cray = yes; then
31264 for ac_func in _getb67 GETB67 getb67; do
31265 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31266 -echo "$as_me:$LINENO: checking for $ac_func" >&5
31267 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31268 -if eval "test \"\${$as_ac_var+set}\" = set"; then
31269 +{ echo "$as_me:$LINENO: checking for $ac_func" >&5
31270 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31271 +if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31272 echo $ECHO_N "(cached) $ECHO_C" >&6
31273 else
31274 cat >conftest.$ac_ext <<_ACEOF
31275 @@ -9139,68 +9641,60 @@ cat >>conftest.$ac_ext <<_ACEOF
31276
31277 #undef $ac_func
31278
31279 -/* Override any gcc2 internal prototype to avoid an error. */
31280 +/* Override any GCC internal prototype to avoid an error.
31281 + Use char because int might match the return type of a GCC
31282 + builtin and then its argument prototype would still apply. */
31283 #ifdef __cplusplus
31284 extern "C"
31285 -{
31286 #endif
31287 -/* We use char because int might match the return type of a gcc2
31288 - builtin and then its argument prototype would still apply. */
31289 char $ac_func ();
31290 /* The GNU C library defines this for functions which it implements
31291 to always fail with ENOSYS. Some functions are actually named
31292 something starting with __ and the normal name is an alias. */
31293 -#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31294 +#if defined __stub_$ac_func || defined __stub___$ac_func
31295 choke me
31296 -#else
31297 -char (*f) () = $ac_func;
31298 -#endif
31299 -#ifdef __cplusplus
31300 -}
31301 #endif
31302
31303 int
31304 main ()
31305 {
31306 -return f != $ac_func;
31307 +return $ac_func ();
31308 ;
31309 return 0;
31310 }
31311 _ACEOF
31312 rm -f conftest.$ac_objext conftest$ac_exeext
31313 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31314 - (eval $ac_link) 2>conftest.er1
31315 +if { (ac_try="$ac_link"
31316 +case "(($ac_try" in
31317 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31318 + *) ac_try_echo=$ac_try;;
31319 +esac
31320 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31321 + (eval "$ac_link") 2>conftest.er1
31322 ac_status=$?
31323 grep -v '^ *+' conftest.er1 >conftest.err
31324 rm -f conftest.er1
31325 cat conftest.err >&5
31326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31327 - (exit $ac_status); } &&
31328 - { ac_try='test -z "$ac_c_werror_flag"
31329 - || test ! -s conftest.err'
31330 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31331 - (eval $ac_try) 2>&5
31332 - ac_status=$?
31333 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
31334 - (exit $ac_status); }; } &&
31335 - { ac_try='test -s conftest$ac_exeext'
31336 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31337 - (eval $ac_try) 2>&5
31338 - ac_status=$?
31339 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
31340 - (exit $ac_status); }; }; then
31341 + (exit $ac_status); } && {
31342 + test -z "$ac_c_werror_flag" ||
31343 + test ! -s conftest.err
31344 + } && test -s conftest$ac_exeext &&
31345 + $as_test_x conftest$ac_exeext; then
31346 eval "$as_ac_var=yes"
31347 else
31348 echo "$as_me: failed program was:" >&5
31349 sed 's/^/| /' conftest.$ac_ext >&5
31350
31351 -eval "$as_ac_var=no"
31352 + eval "$as_ac_var=no"
31353 fi
31354 -rm -f conftest.err conftest.$ac_objext \
31355 +
31356 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31357 conftest$ac_exeext conftest.$ac_ext
31358 fi
31359 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31360 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31361 +ac_res=`eval echo '${'$as_ac_var'}'`
31362 + { echo "$as_me:$LINENO: result: $ac_res" >&5
31363 +echo "${ECHO_T}$ac_res" >&6; }
31364 if test `eval echo '${'$as_ac_var'}'` = yes; then
31365
31366 cat >>confdefs.h <<_ACEOF
31367 @@ -9213,8 +9707,8 @@ fi
31368 done
31369 fi
31370
31371 -echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
31372 -echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
31373 +{ echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
31374 +echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6; }
31375 if test "${ac_cv_c_stack_direction+set}" = set; then
31376 echo $ECHO_N "(cached) $ECHO_C" >&6
31377 else
31378 @@ -9227,6 +9721,7 @@ _ACEOF
31379 cat confdefs.h >>conftest.$ac_ext
31380 cat >>conftest.$ac_ext <<_ACEOF
31381 /* end confdefs.h. */
31382 +$ac_includes_default
31383 int
31384 find_stack_direction ()
31385 {
31386 @@ -9244,17 +9739,26 @@ find_stack_direction ()
31387 int
31388 main ()
31389 {
31390 - exit (find_stack_direction () < 0);
31391 + return find_stack_direction () < 0;
31392 }
31393 _ACEOF
31394 rm -f conftest$ac_exeext
31395 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31396 - (eval $ac_link) 2>&5
31397 +if { (ac_try="$ac_link"
31398 +case "(($ac_try" in
31399 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31400 + *) ac_try_echo=$ac_try;;
31401 +esac
31402 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31403 + (eval "$ac_link") 2>&5
31404 ac_status=$?
31405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31406 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
31407 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31408 - (eval $ac_try) 2>&5
31409 + { (case "(($ac_try" in
31410 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31411 + *) ac_try_echo=$ac_try;;
31412 +esac
31413 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31414 + (eval "$ac_try") 2>&5
31415 ac_status=$?
31416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31417 (exit $ac_status); }; }; then
31418 @@ -9267,11 +9771,13 @@ sed 's/^/| /' conftest.$ac_ext >&5
31419 ( exit $ac_status )
31420 ac_cv_c_stack_direction=-1
31421 fi
31422 -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
31423 +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
31424 fi
31425 +
31426 +
31427 fi
31428 -echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
31429 -echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
31430 +{ echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
31431 +echo "${ECHO_T}$ac_cv_c_stack_direction" >&6; }
31432
31433 cat >>confdefs.h <<_ACEOF
31434 #define STACK_DIRECTION $ac_cv_c_stack_direction
31435 @@ -9288,9 +9794,9 @@ fi
31436 for ac_func in sbrk utimes setmode getc_unlocked strcoll
31437 do
31438 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31439 -echo "$as_me:$LINENO: checking for $ac_func" >&5
31440 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31441 -if eval "test \"\${$as_ac_var+set}\" = set"; then
31442 +{ echo "$as_me:$LINENO: checking for $ac_func" >&5
31443 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31444 +if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31445 echo $ECHO_N "(cached) $ECHO_C" >&6
31446 else
31447 cat >conftest.$ac_ext <<_ACEOF
31448 @@ -9316,68 +9822,60 @@ cat >>conftest.$ac_ext <<_ACEOF
31449
31450 #undef $ac_func
31451
31452 -/* Override any gcc2 internal prototype to avoid an error. */
31453 +/* Override any GCC internal prototype to avoid an error.
31454 + Use char because int might match the return type of a GCC
31455 + builtin and then its argument prototype would still apply. */
31456 #ifdef __cplusplus
31457 extern "C"
31458 -{
31459 #endif
31460 -/* We use char because int might match the return type of a gcc2
31461 - builtin and then its argument prototype would still apply. */
31462 char $ac_func ();
31463 /* The GNU C library defines this for functions which it implements
31464 to always fail with ENOSYS. Some functions are actually named
31465 something starting with __ and the normal name is an alias. */
31466 -#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31467 +#if defined __stub_$ac_func || defined __stub___$ac_func
31468 choke me
31469 -#else
31470 -char (*f) () = $ac_func;
31471 -#endif
31472 -#ifdef __cplusplus
31473 -}
31474 #endif
31475
31476 int
31477 main ()
31478 {
31479 -return f != $ac_func;
31480 +return $ac_func ();
31481 ;
31482 return 0;
31483 }
31484 _ACEOF
31485 rm -f conftest.$ac_objext conftest$ac_exeext
31486 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31487 - (eval $ac_link) 2>conftest.er1
31488 +if { (ac_try="$ac_link"
31489 +case "(($ac_try" in
31490 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31491 + *) ac_try_echo=$ac_try;;
31492 +esac
31493 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31494 + (eval "$ac_link") 2>conftest.er1
31495 ac_status=$?
31496 grep -v '^ *+' conftest.er1 >conftest.err
31497 rm -f conftest.er1
31498 cat conftest.err >&5
31499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31500 - (exit $ac_status); } &&
31501 - { ac_try='test -z "$ac_c_werror_flag"
31502 - || test ! -s conftest.err'
31503 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31504 - (eval $ac_try) 2>&5
31505 - ac_status=$?
31506 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
31507 - (exit $ac_status); }; } &&
31508 - { ac_try='test -s conftest$ac_exeext'
31509 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31510 - (eval $ac_try) 2>&5
31511 - ac_status=$?
31512 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
31513 - (exit $ac_status); }; }; then
31514 + (exit $ac_status); } && {
31515 + test -z "$ac_c_werror_flag" ||
31516 + test ! -s conftest.err
31517 + } && test -s conftest$ac_exeext &&
31518 + $as_test_x conftest$ac_exeext; then
31519 eval "$as_ac_var=yes"
31520 else
31521 echo "$as_me: failed program was:" >&5
31522 sed 's/^/| /' conftest.$ac_ext >&5
31523
31524 -eval "$as_ac_var=no"
31525 + eval "$as_ac_var=no"
31526 fi
31527 -rm -f conftest.err conftest.$ac_objext \
31528 +
31529 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31530 conftest$ac_exeext conftest.$ac_ext
31531 fi
31532 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31533 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31534 +ac_res=`eval echo '${'$as_ac_var'}'`
31535 + { echo "$as_me:$LINENO: result: $ac_res" >&5
31536 +echo "${ECHO_T}$ac_res" >&6; }
31537 if test `eval echo '${'$as_ac_var'}'` = yes; then
31538 cat >>confdefs.h <<_ACEOF
31539 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31540 @@ -9389,8 +9887,8 @@ done
31541
31542 # Check whether fopen64 is available and whether _LARGEFILE64_SOURCE
31543 # needs to be defined for it
31544 -echo "$as_me:$LINENO: checking for fopen64" >&5
31545 -echo $ECHO_N "checking for fopen64... $ECHO_C" >&6
31546 +{ echo "$as_me:$LINENO: checking for fopen64" >&5
31547 +echo $ECHO_N "checking for fopen64... $ECHO_C" >&6; }
31548 if test "${bu_cv_have_fopen64+set}" = set; then
31549 echo $ECHO_N "(cached) $ECHO_C" >&6
31550 else
31551 @@ -9410,33 +9908,29 @@ FILE *f = fopen64 ("/tmp/foo","r");
31552 }
31553 _ACEOF
31554 rm -f conftest.$ac_objext conftest$ac_exeext
31555 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31556 - (eval $ac_link) 2>conftest.er1
31557 +if { (ac_try="$ac_link"
31558 +case "(($ac_try" in
31559 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31560 + *) ac_try_echo=$ac_try;;
31561 +esac
31562 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31563 + (eval "$ac_link") 2>conftest.er1
31564 ac_status=$?
31565 grep -v '^ *+' conftest.er1 >conftest.err
31566 rm -f conftest.er1
31567 cat conftest.err >&5
31568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31569 - (exit $ac_status); } &&
31570 - { ac_try='test -z "$ac_c_werror_flag"
31571 - || test ! -s conftest.err'
31572 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31573 - (eval $ac_try) 2>&5
31574 - ac_status=$?
31575 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
31576 - (exit $ac_status); }; } &&
31577 - { ac_try='test -s conftest$ac_exeext'
31578 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31579 - (eval $ac_try) 2>&5
31580 - ac_status=$?
31581 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
31582 - (exit $ac_status); }; }; then
31583 + (exit $ac_status); } && {
31584 + test -z "$ac_c_werror_flag" ||
31585 + test ! -s conftest.err
31586 + } && test -s conftest$ac_exeext &&
31587 + $as_test_x conftest$ac_exeext; then
31588 bu_cv_have_fopen64=yes
31589 else
31590 echo "$as_me: failed program was:" >&5
31591 sed 's/^/| /' conftest.$ac_ext >&5
31592
31593 -saved_CPPFLAGS=$CPPFLAGS
31594 + saved_CPPFLAGS=$CPPFLAGS
31595 CPPFLAGS="$CPPFLAGS -D_LARGEFILE64_SOURCE"
31596 cat >conftest.$ac_ext <<_ACEOF
31597 /* confdefs.h. */
31598 @@ -9454,44 +9948,42 @@ FILE *f = fopen64 ("/tmp/foo","r");
31599 }
31600 _ACEOF
31601 rm -f conftest.$ac_objext conftest$ac_exeext
31602 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31603 - (eval $ac_link) 2>conftest.er1
31604 +if { (ac_try="$ac_link"
31605 +case "(($ac_try" in
31606 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31607 + *) ac_try_echo=$ac_try;;
31608 +esac
31609 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31610 + (eval "$ac_link") 2>conftest.er1
31611 ac_status=$?
31612 grep -v '^ *+' conftest.er1 >conftest.err
31613 rm -f conftest.er1
31614 cat conftest.err >&5
31615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31616 - (exit $ac_status); } &&
31617 - { ac_try='test -z "$ac_c_werror_flag"
31618 - || test ! -s conftest.err'
31619 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31620 - (eval $ac_try) 2>&5
31621 - ac_status=$?
31622 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
31623 - (exit $ac_status); }; } &&
31624 - { ac_try='test -s conftest$ac_exeext'
31625 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31626 - (eval $ac_try) 2>&5
31627 - ac_status=$?
31628 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
31629 - (exit $ac_status); }; }; then
31630 + (exit $ac_status); } && {
31631 + test -z "$ac_c_werror_flag" ||
31632 + test ! -s conftest.err
31633 + } && test -s conftest$ac_exeext &&
31634 + $as_test_x conftest$ac_exeext; then
31635 bu_cv_have_fopen64="need -D_LARGEFILE64_SOURCE"
31636 else
31637 echo "$as_me: failed program was:" >&5
31638 sed 's/^/| /' conftest.$ac_ext >&5
31639
31640 -bu_cv_have_fopen64=no
31641 + bu_cv_have_fopen64=no
31642 fi
31643 -rm -f conftest.err conftest.$ac_objext \
31644 +
31645 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31646 conftest$ac_exeext conftest.$ac_ext
31647 CPPFLAGS=$saved_CPPFLAGS
31648 fi
31649 -rm -f conftest.err conftest.$ac_objext \
31650 +
31651 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31652 conftest$ac_exeext conftest.$ac_ext
31653 fi
31654
31655 -echo "$as_me:$LINENO: result: $bu_cv_have_fopen64" >&5
31656 -echo "${ECHO_T}$bu_cv_have_fopen64" >&6
31657 +{ echo "$as_me:$LINENO: result: $bu_cv_have_fopen64" >&5
31658 +echo "${ECHO_T}$bu_cv_have_fopen64" >&6; }
31659 if test "$bu_cv_have_fopen64" != no; then
31660
31661 cat >>confdefs.h <<\_ACEOF
31662 @@ -9499,8 +9991,8 @@ cat >>confdefs.h <<\_ACEOF
31663 _ACEOF
31664
31665 fi
31666 -echo "$as_me:$LINENO: checking for stat64" >&5
31667 -echo $ECHO_N "checking for stat64... $ECHO_C" >&6
31668 +{ echo "$as_me:$LINENO: checking for stat64" >&5
31669 +echo $ECHO_N "checking for stat64... $ECHO_C" >&6; }
31670 if test "${bu_cv_have_stat64+set}" = set; then
31671 echo $ECHO_N "(cached) $ECHO_C" >&6
31672 else
31673 @@ -9520,33 +10012,29 @@ struct stat64 st; stat64 ("/tmp/foo", &s
31674 }
31675 _ACEOF
31676 rm -f conftest.$ac_objext conftest$ac_exeext
31677 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31678 - (eval $ac_link) 2>conftest.er1
31679 +if { (ac_try="$ac_link"
31680 +case "(($ac_try" in
31681 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31682 + *) ac_try_echo=$ac_try;;
31683 +esac
31684 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31685 + (eval "$ac_link") 2>conftest.er1
31686 ac_status=$?
31687 grep -v '^ *+' conftest.er1 >conftest.err
31688 rm -f conftest.er1
31689 cat conftest.err >&5
31690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31691 - (exit $ac_status); } &&
31692 - { ac_try='test -z "$ac_c_werror_flag"
31693 - || test ! -s conftest.err'
31694 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31695 - (eval $ac_try) 2>&5
31696 - ac_status=$?
31697 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
31698 - (exit $ac_status); }; } &&
31699 - { ac_try='test -s conftest$ac_exeext'
31700 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31701 - (eval $ac_try) 2>&5
31702 - ac_status=$?
31703 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
31704 - (exit $ac_status); }; }; then
31705 + (exit $ac_status); } && {
31706 + test -z "$ac_c_werror_flag" ||
31707 + test ! -s conftest.err
31708 + } && test -s conftest$ac_exeext &&
31709 + $as_test_x conftest$ac_exeext; then
31710 bu_cv_have_stat64=yes
31711 else
31712 echo "$as_me: failed program was:" >&5
31713 sed 's/^/| /' conftest.$ac_ext >&5
31714
31715 -saved_CPPFLAGS=$CPPFLAGS
31716 + saved_CPPFLAGS=$CPPFLAGS
31717 CPPFLAGS="$CPPFLAGS -D_LARGEFILE64_SOURCE"
31718 cat >conftest.$ac_ext <<_ACEOF
31719 /* confdefs.h. */
31720 @@ -9564,191 +10052,146 @@ struct stat64 st; stat64 ("/tmp/foo", &s
31721 }
31722 _ACEOF
31723 rm -f conftest.$ac_objext conftest$ac_exeext
31724 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31725 - (eval $ac_link) 2>conftest.er1
31726 +if { (ac_try="$ac_link"
31727 +case "(($ac_try" in
31728 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31729 + *) ac_try_echo=$ac_try;;
31730 +esac
31731 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31732 + (eval "$ac_link") 2>conftest.er1
31733 ac_status=$?
31734 grep -v '^ *+' conftest.er1 >conftest.err
31735 rm -f conftest.er1
31736 cat conftest.err >&5
31737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31738 - (exit $ac_status); } &&
31739 - { ac_try='test -z "$ac_c_werror_flag"
31740 - || test ! -s conftest.err'
31741 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31742 - (eval $ac_try) 2>&5
31743 - ac_status=$?
31744 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
31745 - (exit $ac_status); }; } &&
31746 - { ac_try='test -s conftest$ac_exeext'
31747 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31748 - (eval $ac_try) 2>&5
31749 - ac_status=$?
31750 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
31751 - (exit $ac_status); }; }; then
31752 + (exit $ac_status); } && {
31753 + test -z "$ac_c_werror_flag" ||
31754 + test ! -s conftest.err
31755 + } && test -s conftest$ac_exeext &&
31756 + $as_test_x conftest$ac_exeext; then
31757 bu_cv_have_stat64="need -D_LARGEFILE64_SOURCE"
31758 else
31759 echo "$as_me: failed program was:" >&5
31760 sed 's/^/| /' conftest.$ac_ext >&5
31761
31762 -bu_cv_have_stat64=no
31763 + bu_cv_have_stat64=no
31764 fi
31765 -rm -f conftest.err conftest.$ac_objext \
31766 +
31767 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31768 conftest$ac_exeext conftest.$ac_ext
31769 CPPFLAGS=$saved_CPPFLAGS
31770 fi
31771 -rm -f conftest.err conftest.$ac_objext \
31772 +
31773 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31774 conftest$ac_exeext conftest.$ac_ext
31775 fi
31776
31777 -echo "$as_me:$LINENO: result: $bu_cv_have_stat64" >&5
31778 -echo "${ECHO_T}$bu_cv_have_stat64" >&6
31779 +{ echo "$as_me:$LINENO: result: $bu_cv_have_stat64" >&5
31780 +echo "${ECHO_T}$bu_cv_have_stat64" >&6; }
31781 if test "$bu_cv_have_stat64" != no; then
31782
31783 cat >>confdefs.h <<\_ACEOF
31784 #define HAVE_STAT64 1
31785 _ACEOF
31786
31787 -fi
31788 -if test "$bu_cv_have_fopen64" = "need -D_LARGEFILE64_SOURCE" \
31789 - || test "$bu_cv_have_stat64" = "need -D_LARGEFILE64_SOURCE"; then
31790 -
31791 -cat >>confdefs.h <<\_ACEOF
31792 -#define _LARGEFILE64_SOURCE 1
31793 -_ACEOF
31794 -
31795 - CPPFLAGS="$CPPFLAGS -D_LARGEFILE64_SOURCE"
31796 -fi
31797 -
31798 -# Some systems have frexp only in -lm, not in -lc.
31799 -echo "$as_me:$LINENO: checking for library containing frexp" >&5
31800 -echo $ECHO_N "checking for library containing frexp... $ECHO_C" >&6
31801 -if test "${ac_cv_search_frexp+set}" = set; then
31802 - echo $ECHO_N "(cached) $ECHO_C" >&6
31803 -else
31804 - ac_func_search_save_LIBS=$LIBS
31805 -ac_cv_search_frexp=no
31806 -cat >conftest.$ac_ext <<_ACEOF
31807 -/* confdefs.h. */
31808 -_ACEOF
31809 -cat confdefs.h >>conftest.$ac_ext
31810 -cat >>conftest.$ac_ext <<_ACEOF
31811 -/* end confdefs.h. */
31812 -
31813 -/* Override any gcc2 internal prototype to avoid an error. */
31814 -#ifdef __cplusplus
31815 -extern "C"
31816 -#endif
31817 -/* We use char because int might match the return type of a gcc2
31818 - builtin and then its argument prototype would still apply. */
31819 -char frexp ();
31820 -int
31821 -main ()
31822 -{
31823 -frexp ();
31824 - ;
31825 - return 0;
31826 -}
31827 -_ACEOF
31828 -rm -f conftest.$ac_objext conftest$ac_exeext
31829 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31830 - (eval $ac_link) 2>conftest.er1
31831 - ac_status=$?
31832 - grep -v '^ *+' conftest.er1 >conftest.err
31833 - rm -f conftest.er1
31834 - cat conftest.err >&5
31835 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
31836 - (exit $ac_status); } &&
31837 - { ac_try='test -z "$ac_c_werror_flag"
31838 - || test ! -s conftest.err'
31839 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31840 - (eval $ac_try) 2>&5
31841 - ac_status=$?
31842 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
31843 - (exit $ac_status); }; } &&
31844 - { ac_try='test -s conftest$ac_exeext'
31845 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31846 - (eval $ac_try) 2>&5
31847 - ac_status=$?
31848 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
31849 - (exit $ac_status); }; }; then
31850 - ac_cv_search_frexp="none required"
31851 -else
31852 - echo "$as_me: failed program was:" >&5
31853 -sed 's/^/| /' conftest.$ac_ext >&5
31854 +fi
31855 +if test "$bu_cv_have_fopen64" = "need -D_LARGEFILE64_SOURCE" \
31856 + || test "$bu_cv_have_stat64" = "need -D_LARGEFILE64_SOURCE"; then
31857 +
31858 +cat >>confdefs.h <<\_ACEOF
31859 +#define _LARGEFILE64_SOURCE 1
31860 +_ACEOF
31861
31862 + CPPFLAGS="$CPPFLAGS -D_LARGEFILE64_SOURCE"
31863 fi
31864 -rm -f conftest.err conftest.$ac_objext \
31865 - conftest$ac_exeext conftest.$ac_ext
31866 -if test "$ac_cv_search_frexp" = no; then
31867 - for ac_lib in m; do
31868 - LIBS="-l$ac_lib $ac_func_search_save_LIBS"
31869 - cat >conftest.$ac_ext <<_ACEOF
31870 +
31871 +# Some systems have frexp only in -lm, not in -lc.
31872 +{ echo "$as_me:$LINENO: checking for library containing frexp" >&5
31873 +echo $ECHO_N "checking for library containing frexp... $ECHO_C" >&6; }
31874 +if test "${ac_cv_search_frexp+set}" = set; then
31875 + echo $ECHO_N "(cached) $ECHO_C" >&6
31876 +else
31877 + ac_func_search_save_LIBS=$LIBS
31878 +cat >conftest.$ac_ext <<_ACEOF
31879 /* confdefs.h. */
31880 _ACEOF
31881 cat confdefs.h >>conftest.$ac_ext
31882 cat >>conftest.$ac_ext <<_ACEOF
31883 /* end confdefs.h. */
31884
31885 -/* Override any gcc2 internal prototype to avoid an error. */
31886 +/* Override any GCC internal prototype to avoid an error.
31887 + Use char because int might match the return type of a GCC
31888 + builtin and then its argument prototype would still apply. */
31889 #ifdef __cplusplus
31890 extern "C"
31891 #endif
31892 -/* We use char because int might match the return type of a gcc2
31893 - builtin and then its argument prototype would still apply. */
31894 char frexp ();
31895 int
31896 main ()
31897 {
31898 -frexp ();
31899 +return frexp ();
31900 ;
31901 return 0;
31902 }
31903 _ACEOF
31904 -rm -f conftest.$ac_objext conftest$ac_exeext
31905 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31906 - (eval $ac_link) 2>conftest.er1
31907 +for ac_lib in '' m; do
31908 + if test -z "$ac_lib"; then
31909 + ac_res="none required"
31910 + else
31911 + ac_res=-l$ac_lib
31912 + LIBS="-l$ac_lib $ac_func_search_save_LIBS"
31913 + fi
31914 + rm -f conftest.$ac_objext conftest$ac_exeext
31915 +if { (ac_try="$ac_link"
31916 +case "(($ac_try" in
31917 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31918 + *) ac_try_echo=$ac_try;;
31919 +esac
31920 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31921 + (eval "$ac_link") 2>conftest.er1
31922 ac_status=$?
31923 grep -v '^ *+' conftest.er1 >conftest.err
31924 rm -f conftest.er1
31925 cat conftest.err >&5
31926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31927 - (exit $ac_status); } &&
31928 - { ac_try='test -z "$ac_c_werror_flag"
31929 - || test ! -s conftest.err'
31930 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31931 - (eval $ac_try) 2>&5
31932 - ac_status=$?
31933 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
31934 - (exit $ac_status); }; } &&
31935 - { ac_try='test -s conftest$ac_exeext'
31936 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31937 - (eval $ac_try) 2>&5
31938 - ac_status=$?
31939 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
31940 - (exit $ac_status); }; }; then
31941 - ac_cv_search_frexp="-l$ac_lib"
31942 -break
31943 + (exit $ac_status); } && {
31944 + test -z "$ac_c_werror_flag" ||
31945 + test ! -s conftest.err
31946 + } && test -s conftest$ac_exeext &&
31947 + $as_test_x conftest$ac_exeext; then
31948 + ac_cv_search_frexp=$ac_res
31949 else
31950 echo "$as_me: failed program was:" >&5
31951 sed 's/^/| /' conftest.$ac_ext >&5
31952
31953 +
31954 fi
31955 -rm -f conftest.err conftest.$ac_objext \
31956 - conftest$ac_exeext conftest.$ac_ext
31957 - done
31958 +
31959 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31960 + conftest$ac_exeext
31961 + if test "${ac_cv_search_frexp+set}" = set; then
31962 + break
31963 +fi
31964 +done
31965 +if test "${ac_cv_search_frexp+set}" = set; then
31966 + :
31967 +else
31968 + ac_cv_search_frexp=no
31969 fi
31970 +rm conftest.$ac_ext
31971 LIBS=$ac_func_search_save_LIBS
31972 fi
31973 -echo "$as_me:$LINENO: result: $ac_cv_search_frexp" >&5
31974 -echo "${ECHO_T}$ac_cv_search_frexp" >&6
31975 -if test "$ac_cv_search_frexp" != no; then
31976 - test "$ac_cv_search_frexp" = "none required" || LIBS="$ac_cv_search_frexp $LIBS"
31977 +{ echo "$as_me:$LINENO: result: $ac_cv_search_frexp" >&5
31978 +echo "${ECHO_T}$ac_cv_search_frexp" >&6; }
31979 +ac_res=$ac_cv_search_frexp
31980 +if test "$ac_res" != no; then
31981 + test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
31982
31983 fi
31984
31985
31986 -echo "$as_me:$LINENO: checking for time_t in time.h" >&5
31987 -echo $ECHO_N "checking for time_t in time.h... $ECHO_C" >&6
31988 +{ echo "$as_me:$LINENO: checking for time_t in time.h" >&5
31989 +echo $ECHO_N "checking for time_t in time.h... $ECHO_C" >&6; }
31990 if test "${bu_cv_decl_time_t_time_h+set}" = set; then
31991 echo $ECHO_N "(cached) $ECHO_C" >&6
31992 else
31993 @@ -9768,39 +10211,35 @@ time_t i;
31994 }
31995 _ACEOF
31996 rm -f conftest.$ac_objext
31997 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31998 - (eval $ac_compile) 2>conftest.er1
31999 +if { (ac_try="$ac_compile"
32000 +case "(($ac_try" in
32001 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32002 + *) ac_try_echo=$ac_try;;
32003 +esac
32004 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32005 + (eval "$ac_compile") 2>conftest.er1
32006 ac_status=$?
32007 grep -v '^ *+' conftest.er1 >conftest.err
32008 rm -f conftest.er1
32009 cat conftest.err >&5
32010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32011 - (exit $ac_status); } &&
32012 - { ac_try='test -z "$ac_c_werror_flag"
32013 - || test ! -s conftest.err'
32014 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32015 - (eval $ac_try) 2>&5
32016 - ac_status=$?
32017 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
32018 - (exit $ac_status); }; } &&
32019 - { ac_try='test -s conftest.$ac_objext'
32020 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32021 - (eval $ac_try) 2>&5
32022 - ac_status=$?
32023 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
32024 - (exit $ac_status); }; }; then
32025 + (exit $ac_status); } && {
32026 + test -z "$ac_c_werror_flag" ||
32027 + test ! -s conftest.err
32028 + } && test -s conftest.$ac_objext; then
32029 bu_cv_decl_time_t_time_h=yes
32030 else
32031 echo "$as_me: failed program was:" >&5
32032 sed 's/^/| /' conftest.$ac_ext >&5
32033
32034 -bu_cv_decl_time_t_time_h=no
32035 + bu_cv_decl_time_t_time_h=no
32036 fi
32037 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32038 +
32039 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32040 fi
32041
32042 -echo "$as_me:$LINENO: result: $bu_cv_decl_time_t_time_h" >&5
32043 -echo "${ECHO_T}$bu_cv_decl_time_t_time_h" >&6
32044 +{ echo "$as_me:$LINENO: result: $bu_cv_decl_time_t_time_h" >&5
32045 +echo "${ECHO_T}$bu_cv_decl_time_t_time_h" >&6; }
32046 if test $bu_cv_decl_time_t_time_h = yes; then
32047
32048 cat >>confdefs.h <<\_ACEOF
32049 @@ -9809,8 +10248,8 @@ _ACEOF
32050
32051 fi
32052
32053 -echo "$as_me:$LINENO: checking for time_t in sys/types.h" >&5
32054 -echo $ECHO_N "checking for time_t in sys/types.h... $ECHO_C" >&6
32055 +{ echo "$as_me:$LINENO: checking for time_t in sys/types.h" >&5
32056 +echo $ECHO_N "checking for time_t in sys/types.h... $ECHO_C" >&6; }
32057 if test "${bu_cv_decl_time_t_types_h+set}" = set; then
32058 echo $ECHO_N "(cached) $ECHO_C" >&6
32059 else
32060 @@ -9830,39 +10269,35 @@ time_t i;
32061 }
32062 _ACEOF
32063 rm -f conftest.$ac_objext
32064 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32065 - (eval $ac_compile) 2>conftest.er1
32066 +if { (ac_try="$ac_compile"
32067 +case "(($ac_try" in
32068 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32069 + *) ac_try_echo=$ac_try;;
32070 +esac
32071 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32072 + (eval "$ac_compile") 2>conftest.er1
32073 ac_status=$?
32074 grep -v '^ *+' conftest.er1 >conftest.err
32075 rm -f conftest.er1
32076 cat conftest.err >&5
32077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32078 - (exit $ac_status); } &&
32079 - { ac_try='test -z "$ac_c_werror_flag"
32080 - || test ! -s conftest.err'
32081 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32082 - (eval $ac_try) 2>&5
32083 - ac_status=$?
32084 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
32085 - (exit $ac_status); }; } &&
32086 - { ac_try='test -s conftest.$ac_objext'
32087 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32088 - (eval $ac_try) 2>&5
32089 - ac_status=$?
32090 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
32091 - (exit $ac_status); }; }; then
32092 + (exit $ac_status); } && {
32093 + test -z "$ac_c_werror_flag" ||
32094 + test ! -s conftest.err
32095 + } && test -s conftest.$ac_objext; then
32096 bu_cv_decl_time_t_types_h=yes
32097 else
32098 echo "$as_me: failed program was:" >&5
32099 sed 's/^/| /' conftest.$ac_ext >&5
32100
32101 -bu_cv_decl_time_t_types_h=no
32102 + bu_cv_decl_time_t_types_h=no
32103 fi
32104 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32105 +
32106 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32107 fi
32108
32109 -echo "$as_me:$LINENO: result: $bu_cv_decl_time_t_types_h" >&5
32110 -echo "${ECHO_T}$bu_cv_decl_time_t_types_h" >&6
32111 +{ echo "$as_me:$LINENO: result: $bu_cv_decl_time_t_types_h" >&5
32112 +echo "${ECHO_T}$bu_cv_decl_time_t_types_h" >&6; }
32113 if test $bu_cv_decl_time_t_types_h = yes; then
32114
32115 cat >>confdefs.h <<\_ACEOF
32116 @@ -9871,8 +10306,8 @@ _ACEOF
32117
32118 fi
32119
32120 -echo "$as_me:$LINENO: checking for a known getopt prototype in unistd.h" >&5
32121 -echo $ECHO_N "checking for a known getopt prototype in unistd.h... $ECHO_C" >&6
32122 +{ echo "$as_me:$LINENO: checking for a known getopt prototype in unistd.h" >&5
32123 +echo $ECHO_N "checking for a known getopt prototype in unistd.h... $ECHO_C" >&6; }
32124 if test "${bu_cv_decl_getopt_unistd_h+set}" = set; then
32125 echo $ECHO_N "(cached) $ECHO_C" >&6
32126 else
32127 @@ -9892,39 +10327,35 @@ extern int getopt (int, char *const*, co
32128 }
32129 _ACEOF
32130 rm -f conftest.$ac_objext
32131 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32132 - (eval $ac_compile) 2>conftest.er1
32133 +if { (ac_try="$ac_compile"
32134 +case "(($ac_try" in
32135 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32136 + *) ac_try_echo=$ac_try;;
32137 +esac
32138 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32139 + (eval "$ac_compile") 2>conftest.er1
32140 ac_status=$?
32141 grep -v '^ *+' conftest.er1 >conftest.err
32142 rm -f conftest.er1
32143 cat conftest.err >&5
32144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32145 - (exit $ac_status); } &&
32146 - { ac_try='test -z "$ac_c_werror_flag"
32147 - || test ! -s conftest.err'
32148 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32149 - (eval $ac_try) 2>&5
32150 - ac_status=$?
32151 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
32152 - (exit $ac_status); }; } &&
32153 - { ac_try='test -s conftest.$ac_objext'
32154 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32155 - (eval $ac_try) 2>&5
32156 - ac_status=$?
32157 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
32158 - (exit $ac_status); }; }; then
32159 + (exit $ac_status); } && {
32160 + test -z "$ac_c_werror_flag" ||
32161 + test ! -s conftest.err
32162 + } && test -s conftest.$ac_objext; then
32163 bu_cv_decl_getopt_unistd_h=yes
32164 else
32165 echo "$as_me: failed program was:" >&5
32166 sed 's/^/| /' conftest.$ac_ext >&5
32167
32168 -bu_cv_decl_getopt_unistd_h=no
32169 + bu_cv_decl_getopt_unistd_h=no
32170 fi
32171 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32172 +
32173 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32174 fi
32175
32176 -echo "$as_me:$LINENO: result: $bu_cv_decl_getopt_unistd_h" >&5
32177 -echo "${ECHO_T}$bu_cv_decl_getopt_unistd_h" >&6
32178 +{ echo "$as_me:$LINENO: result: $bu_cv_decl_getopt_unistd_h" >&5
32179 +echo "${ECHO_T}$bu_cv_decl_getopt_unistd_h" >&6; }
32180 if test $bu_cv_decl_getopt_unistd_h = yes; then
32181
32182 cat >>confdefs.h <<\_ACEOF
32183 @@ -9935,8 +10366,8 @@ fi
32184
32185 # Under Next 3.2 <utime.h> apparently does not define struct utimbuf
32186 # by default.
32187 -echo "$as_me:$LINENO: checking for utime.h" >&5
32188 -echo $ECHO_N "checking for utime.h... $ECHO_C" >&6
32189 +{ echo "$as_me:$LINENO: checking for utime.h" >&5
32190 +echo $ECHO_N "checking for utime.h... $ECHO_C" >&6; }
32191 if test "${bu_cv_header_utime_h+set}" = set; then
32192 echo $ECHO_N "(cached) $ECHO_C" >&6
32193 else
32194 @@ -9960,39 +10391,35 @@ struct utimbuf s;
32195 }
32196 _ACEOF
32197 rm -f conftest.$ac_objext
32198 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32199 - (eval $ac_compile) 2>conftest.er1
32200 +if { (ac_try="$ac_compile"
32201 +case "(($ac_try" in
32202 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32203 + *) ac_try_echo=$ac_try;;
32204 +esac
32205 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32206 + (eval "$ac_compile") 2>conftest.er1
32207 ac_status=$?
32208 grep -v '^ *+' conftest.er1 >conftest.err
32209 rm -f conftest.er1
32210 cat conftest.err >&5
32211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32212 - (exit $ac_status); } &&
32213 - { ac_try='test -z "$ac_c_werror_flag"
32214 - || test ! -s conftest.err'
32215 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32216 - (eval $ac_try) 2>&5
32217 - ac_status=$?
32218 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
32219 - (exit $ac_status); }; } &&
32220 - { ac_try='test -s conftest.$ac_objext'
32221 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32222 - (eval $ac_try) 2>&5
32223 - ac_status=$?
32224 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
32225 - (exit $ac_status); }; }; then
32226 + (exit $ac_status); } && {
32227 + test -z "$ac_c_werror_flag" ||
32228 + test ! -s conftest.err
32229 + } && test -s conftest.$ac_objext; then
32230 bu_cv_header_utime_h=yes
32231 else
32232 echo "$as_me: failed program was:" >&5
32233 sed 's/^/| /' conftest.$ac_ext >&5
32234
32235 -bu_cv_header_utime_h=no
32236 + bu_cv_header_utime_h=no
32237 fi
32238 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32239 +
32240 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32241 fi
32242
32243 -echo "$as_me:$LINENO: result: $bu_cv_header_utime_h" >&5
32244 -echo "${ECHO_T}$bu_cv_header_utime_h" >&6
32245 +{ echo "$as_me:$LINENO: result: $bu_cv_header_utime_h" >&5
32246 +echo "${ECHO_T}$bu_cv_header_utime_h" >&6; }
32247 if test $bu_cv_header_utime_h = yes; then
32248
32249 cat >>confdefs.h <<\_ACEOF
32250 @@ -10001,8 +10428,8 @@ _ACEOF
32251
32252 fi
32253
32254 -echo "$as_me:$LINENO: checking whether fprintf is declared" >&5
32255 -echo $ECHO_N "checking whether fprintf is declared... $ECHO_C" >&6
32256 +{ echo "$as_me:$LINENO: checking whether fprintf is declared" >&5
32257 +echo $ECHO_N "checking whether fprintf is declared... $ECHO_C" >&6; }
32258 if test "${ac_cv_have_decl_fprintf+set}" = set; then
32259 echo $ECHO_N "(cached) $ECHO_C" >&6
32260 else
32261 @@ -10017,7 +10444,7 @@ int
32262 main ()
32263 {
32264 #ifndef fprintf
32265 - char *p = (char *) fprintf;
32266 + (void) fprintf;
32267 #endif
32268
32269 ;
32270 @@ -10025,38 +10452,34 @@ main ()
32271 }
32272 _ACEOF
32273 rm -f conftest.$ac_objext
32274 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32275 - (eval $ac_compile) 2>conftest.er1
32276 +if { (ac_try="$ac_compile"
32277 +case "(($ac_try" in
32278 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32279 + *) ac_try_echo=$ac_try;;
32280 +esac
32281 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32282 + (eval "$ac_compile") 2>conftest.er1
32283 ac_status=$?
32284 grep -v '^ *+' conftest.er1 >conftest.err
32285 rm -f conftest.er1
32286 cat conftest.err >&5
32287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32288 - (exit $ac_status); } &&
32289 - { ac_try='test -z "$ac_c_werror_flag"
32290 - || test ! -s conftest.err'
32291 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32292 - (eval $ac_try) 2>&5
32293 - ac_status=$?
32294 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
32295 - (exit $ac_status); }; } &&
32296 - { ac_try='test -s conftest.$ac_objext'
32297 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32298 - (eval $ac_try) 2>&5
32299 - ac_status=$?
32300 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
32301 - (exit $ac_status); }; }; then
32302 + (exit $ac_status); } && {
32303 + test -z "$ac_c_werror_flag" ||
32304 + test ! -s conftest.err
32305 + } && test -s conftest.$ac_objext; then
32306 ac_cv_have_decl_fprintf=yes
32307 else
32308 echo "$as_me: failed program was:" >&5
32309 sed 's/^/| /' conftest.$ac_ext >&5
32310
32311 -ac_cv_have_decl_fprintf=no
32312 + ac_cv_have_decl_fprintf=no
32313 fi
32314 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32315 +
32316 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32317 fi
32318 -echo "$as_me:$LINENO: result: $ac_cv_have_decl_fprintf" >&5
32319 -echo "${ECHO_T}$ac_cv_have_decl_fprintf" >&6
32320 +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_fprintf" >&5
32321 +echo "${ECHO_T}$ac_cv_have_decl_fprintf" >&6; }
32322 if test $ac_cv_have_decl_fprintf = yes; then
32323
32324 cat >>confdefs.h <<_ACEOF
32325 @@ -10071,8 +10494,8 @@ _ACEOF
32326
32327
32328 fi
32329 -echo "$as_me:$LINENO: checking whether stpcpy is declared" >&5
32330 -echo $ECHO_N "checking whether stpcpy is declared... $ECHO_C" >&6
32331 +{ echo "$as_me:$LINENO: checking whether stpcpy is declared" >&5
32332 +echo $ECHO_N "checking whether stpcpy is declared... $ECHO_C" >&6; }
32333 if test "${ac_cv_have_decl_stpcpy+set}" = set; then
32334 echo $ECHO_N "(cached) $ECHO_C" >&6
32335 else
32336 @@ -10087,7 +10510,7 @@ int
32337 main ()
32338 {
32339 #ifndef stpcpy
32340 - char *p = (char *) stpcpy;
32341 + (void) stpcpy;
32342 #endif
32343
32344 ;
32345 @@ -10095,38 +10518,34 @@ main ()
32346 }
32347 _ACEOF
32348 rm -f conftest.$ac_objext
32349 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32350 - (eval $ac_compile) 2>conftest.er1
32351 +if { (ac_try="$ac_compile"
32352 +case "(($ac_try" in
32353 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32354 + *) ac_try_echo=$ac_try;;
32355 +esac
32356 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32357 + (eval "$ac_compile") 2>conftest.er1
32358 ac_status=$?
32359 grep -v '^ *+' conftest.er1 >conftest.err
32360 rm -f conftest.er1
32361 cat conftest.err >&5
32362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32363 - (exit $ac_status); } &&
32364 - { ac_try='test -z "$ac_c_werror_flag"
32365 - || test ! -s conftest.err'
32366 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32367 - (eval $ac_try) 2>&5
32368 - ac_status=$?
32369 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
32370 - (exit $ac_status); }; } &&
32371 - { ac_try='test -s conftest.$ac_objext'
32372 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32373 - (eval $ac_try) 2>&5
32374 - ac_status=$?
32375 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
32376 - (exit $ac_status); }; }; then
32377 + (exit $ac_status); } && {
32378 + test -z "$ac_c_werror_flag" ||
32379 + test ! -s conftest.err
32380 + } && test -s conftest.$ac_objext; then
32381 ac_cv_have_decl_stpcpy=yes
32382 else
32383 echo "$as_me: failed program was:" >&5
32384 sed 's/^/| /' conftest.$ac_ext >&5
32385
32386 -ac_cv_have_decl_stpcpy=no
32387 + ac_cv_have_decl_stpcpy=no
32388 fi
32389 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32390 +
32391 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32392 fi
32393 -echo "$as_me:$LINENO: result: $ac_cv_have_decl_stpcpy" >&5
32394 -echo "${ECHO_T}$ac_cv_have_decl_stpcpy" >&6
32395 +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_stpcpy" >&5
32396 +echo "${ECHO_T}$ac_cv_have_decl_stpcpy" >&6; }
32397 if test $ac_cv_have_decl_stpcpy = yes; then
32398
32399 cat >>confdefs.h <<_ACEOF
32400 @@ -10141,8 +10560,8 @@ _ACEOF
32401
32402
32403 fi
32404 -echo "$as_me:$LINENO: checking whether strstr is declared" >&5
32405 -echo $ECHO_N "checking whether strstr is declared... $ECHO_C" >&6
32406 +{ echo "$as_me:$LINENO: checking whether strstr is declared" >&5
32407 +echo $ECHO_N "checking whether strstr is declared... $ECHO_C" >&6; }
32408 if test "${ac_cv_have_decl_strstr+set}" = set; then
32409 echo $ECHO_N "(cached) $ECHO_C" >&6
32410 else
32411 @@ -10157,7 +10576,7 @@ int
32412 main ()
32413 {
32414 #ifndef strstr
32415 - char *p = (char *) strstr;
32416 + (void) strstr;
32417 #endif
32418
32419 ;
32420 @@ -10165,38 +10584,34 @@ main ()
32421 }
32422 _ACEOF
32423 rm -f conftest.$ac_objext
32424 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32425 - (eval $ac_compile) 2>conftest.er1
32426 +if { (ac_try="$ac_compile"
32427 +case "(($ac_try" in
32428 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32429 + *) ac_try_echo=$ac_try;;
32430 +esac
32431 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32432 + (eval "$ac_compile") 2>conftest.er1
32433 ac_status=$?
32434 grep -v '^ *+' conftest.er1 >conftest.err
32435 rm -f conftest.er1
32436 cat conftest.err >&5
32437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32438 - (exit $ac_status); } &&
32439 - { ac_try='test -z "$ac_c_werror_flag"
32440 - || test ! -s conftest.err'
32441 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32442 - (eval $ac_try) 2>&5
32443 - ac_status=$?
32444 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
32445 - (exit $ac_status); }; } &&
32446 - { ac_try='test -s conftest.$ac_objext'
32447 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32448 - (eval $ac_try) 2>&5
32449 - ac_status=$?
32450 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
32451 - (exit $ac_status); }; }; then
32452 + (exit $ac_status); } && {
32453 + test -z "$ac_c_werror_flag" ||
32454 + test ! -s conftest.err
32455 + } && test -s conftest.$ac_objext; then
32456 ac_cv_have_decl_strstr=yes
32457 else
32458 echo "$as_me: failed program was:" >&5
32459 sed 's/^/| /' conftest.$ac_ext >&5
32460
32461 -ac_cv_have_decl_strstr=no
32462 + ac_cv_have_decl_strstr=no
32463 fi
32464 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32465 +
32466 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32467 fi
32468 -echo "$as_me:$LINENO: result: $ac_cv_have_decl_strstr" >&5
32469 -echo "${ECHO_T}$ac_cv_have_decl_strstr" >&6
32470 +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_strstr" >&5
32471 +echo "${ECHO_T}$ac_cv_have_decl_strstr" >&6; }
32472 if test $ac_cv_have_decl_strstr = yes; then
32473
32474 cat >>confdefs.h <<_ACEOF
32475 @@ -10211,8 +10626,8 @@ _ACEOF
32476
32477
32478 fi
32479 -echo "$as_me:$LINENO: checking whether sbrk is declared" >&5
32480 -echo $ECHO_N "checking whether sbrk is declared... $ECHO_C" >&6
32481 +{ echo "$as_me:$LINENO: checking whether sbrk is declared" >&5
32482 +echo $ECHO_N "checking whether sbrk is declared... $ECHO_C" >&6; }
32483 if test "${ac_cv_have_decl_sbrk+set}" = set; then
32484 echo $ECHO_N "(cached) $ECHO_C" >&6
32485 else
32486 @@ -10227,7 +10642,7 @@ int
32487 main ()
32488 {
32489 #ifndef sbrk
32490 - char *p = (char *) sbrk;
32491 + (void) sbrk;
32492 #endif
32493
32494 ;
32495 @@ -10235,38 +10650,34 @@ main ()
32496 }
32497 _ACEOF
32498 rm -f conftest.$ac_objext
32499 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32500 - (eval $ac_compile) 2>conftest.er1
32501 +if { (ac_try="$ac_compile"
32502 +case "(($ac_try" in
32503 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32504 + *) ac_try_echo=$ac_try;;
32505 +esac
32506 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32507 + (eval "$ac_compile") 2>conftest.er1
32508 ac_status=$?
32509 grep -v '^ *+' conftest.er1 >conftest.err
32510 rm -f conftest.er1
32511 cat conftest.err >&5
32512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32513 - (exit $ac_status); } &&
32514 - { ac_try='test -z "$ac_c_werror_flag"
32515 - || test ! -s conftest.err'
32516 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32517 - (eval $ac_try) 2>&5
32518 - ac_status=$?
32519 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
32520 - (exit $ac_status); }; } &&
32521 - { ac_try='test -s conftest.$ac_objext'
32522 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32523 - (eval $ac_try) 2>&5
32524 - ac_status=$?
32525 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
32526 - (exit $ac_status); }; }; then
32527 + (exit $ac_status); } && {
32528 + test -z "$ac_c_werror_flag" ||
32529 + test ! -s conftest.err
32530 + } && test -s conftest.$ac_objext; then
32531 ac_cv_have_decl_sbrk=yes
32532 else
32533 echo "$as_me: failed program was:" >&5
32534 sed 's/^/| /' conftest.$ac_ext >&5
32535
32536 -ac_cv_have_decl_sbrk=no
32537 + ac_cv_have_decl_sbrk=no
32538 fi
32539 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32540 +
32541 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32542 fi
32543 -echo "$as_me:$LINENO: result: $ac_cv_have_decl_sbrk" >&5
32544 -echo "${ECHO_T}$ac_cv_have_decl_sbrk" >&6
32545 +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_sbrk" >&5
32546 +echo "${ECHO_T}$ac_cv_have_decl_sbrk" >&6; }
32547 if test $ac_cv_have_decl_sbrk = yes; then
32548
32549 cat >>confdefs.h <<_ACEOF
32550 @@ -10281,8 +10692,8 @@ _ACEOF
32551
32552
32553 fi
32554 -echo "$as_me:$LINENO: checking whether getenv is declared" >&5
32555 -echo $ECHO_N "checking whether getenv is declared... $ECHO_C" >&6
32556 +{ echo "$as_me:$LINENO: checking whether getenv is declared" >&5
32557 +echo $ECHO_N "checking whether getenv is declared... $ECHO_C" >&6; }
32558 if test "${ac_cv_have_decl_getenv+set}" = set; then
32559 echo $ECHO_N "(cached) $ECHO_C" >&6
32560 else
32561 @@ -10297,7 +10708,7 @@ int
32562 main ()
32563 {
32564 #ifndef getenv
32565 - char *p = (char *) getenv;
32566 + (void) getenv;
32567 #endif
32568
32569 ;
32570 @@ -10305,38 +10716,34 @@ main ()
32571 }
32572 _ACEOF
32573 rm -f conftest.$ac_objext
32574 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32575 - (eval $ac_compile) 2>conftest.er1
32576 +if { (ac_try="$ac_compile"
32577 +case "(($ac_try" in
32578 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32579 + *) ac_try_echo=$ac_try;;
32580 +esac
32581 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32582 + (eval "$ac_compile") 2>conftest.er1
32583 ac_status=$?
32584 grep -v '^ *+' conftest.er1 >conftest.err
32585 rm -f conftest.er1
32586 cat conftest.err >&5
32587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32588 - (exit $ac_status); } &&
32589 - { ac_try='test -z "$ac_c_werror_flag"
32590 - || test ! -s conftest.err'
32591 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32592 - (eval $ac_try) 2>&5
32593 - ac_status=$?
32594 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
32595 - (exit $ac_status); }; } &&
32596 - { ac_try='test -s conftest.$ac_objext'
32597 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32598 - (eval $ac_try) 2>&5
32599 - ac_status=$?
32600 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
32601 - (exit $ac_status); }; }; then
32602 + (exit $ac_status); } && {
32603 + test -z "$ac_c_werror_flag" ||
32604 + test ! -s conftest.err
32605 + } && test -s conftest.$ac_objext; then
32606 ac_cv_have_decl_getenv=yes
32607 else
32608 echo "$as_me: failed program was:" >&5
32609 sed 's/^/| /' conftest.$ac_ext >&5
32610
32611 -ac_cv_have_decl_getenv=no
32612 + ac_cv_have_decl_getenv=no
32613 fi
32614 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32615 +
32616 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32617 fi
32618 -echo "$as_me:$LINENO: result: $ac_cv_have_decl_getenv" >&5
32619 -echo "${ECHO_T}$ac_cv_have_decl_getenv" >&6
32620 +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_getenv" >&5
32621 +echo "${ECHO_T}$ac_cv_have_decl_getenv" >&6; }
32622 if test $ac_cv_have_decl_getenv = yes; then
32623
32624 cat >>confdefs.h <<_ACEOF
32625 @@ -10351,8 +10758,8 @@ _ACEOF
32626
32627
32628 fi
32629 -echo "$as_me:$LINENO: checking whether environ is declared" >&5
32630 -echo $ECHO_N "checking whether environ is declared... $ECHO_C" >&6
32631 +{ echo "$as_me:$LINENO: checking whether environ is declared" >&5
32632 +echo $ECHO_N "checking whether environ is declared... $ECHO_C" >&6; }
32633 if test "${ac_cv_have_decl_environ+set}" = set; then
32634 echo $ECHO_N "(cached) $ECHO_C" >&6
32635 else
32636 @@ -10367,7 +10774,7 @@ int
32637 main ()
32638 {
32639 #ifndef environ
32640 - char *p = (char *) environ;
32641 + (void) environ;
32642 #endif
32643
32644 ;
32645 @@ -10375,38 +10782,34 @@ main ()
32646 }
32647 _ACEOF
32648 rm -f conftest.$ac_objext
32649 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32650 - (eval $ac_compile) 2>conftest.er1
32651 +if { (ac_try="$ac_compile"
32652 +case "(($ac_try" in
32653 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32654 + *) ac_try_echo=$ac_try;;
32655 +esac
32656 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32657 + (eval "$ac_compile") 2>conftest.er1
32658 ac_status=$?
32659 grep -v '^ *+' conftest.er1 >conftest.err
32660 rm -f conftest.er1
32661 cat conftest.err >&5
32662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32663 - (exit $ac_status); } &&
32664 - { ac_try='test -z "$ac_c_werror_flag"
32665 - || test ! -s conftest.err'
32666 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32667 - (eval $ac_try) 2>&5
32668 - ac_status=$?
32669 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
32670 - (exit $ac_status); }; } &&
32671 - { ac_try='test -s conftest.$ac_objext'
32672 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32673 - (eval $ac_try) 2>&5
32674 - ac_status=$?
32675 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
32676 - (exit $ac_status); }; }; then
32677 + (exit $ac_status); } && {
32678 + test -z "$ac_c_werror_flag" ||
32679 + test ! -s conftest.err
32680 + } && test -s conftest.$ac_objext; then
32681 ac_cv_have_decl_environ=yes
32682 else
32683 echo "$as_me: failed program was:" >&5
32684 sed 's/^/| /' conftest.$ac_ext >&5
32685
32686 -ac_cv_have_decl_environ=no
32687 + ac_cv_have_decl_environ=no
32688 fi
32689 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32690 +
32691 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32692 fi
32693 -echo "$as_me:$LINENO: result: $ac_cv_have_decl_environ" >&5
32694 -echo "${ECHO_T}$ac_cv_have_decl_environ" >&6
32695 +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_environ" >&5
32696 +echo "${ECHO_T}$ac_cv_have_decl_environ" >&6; }
32697 if test $ac_cv_have_decl_environ = yes; then
32698
32699 cat >>confdefs.h <<_ACEOF
32700 @@ -10421,8 +10824,8 @@ _ACEOF
32701
32702
32703 fi
32704 -echo "$as_me:$LINENO: checking whether getc_unlocked is declared" >&5
32705 -echo $ECHO_N "checking whether getc_unlocked is declared... $ECHO_C" >&6
32706 +{ echo "$as_me:$LINENO: checking whether getc_unlocked is declared" >&5
32707 +echo $ECHO_N "checking whether getc_unlocked is declared... $ECHO_C" >&6; }
32708 if test "${ac_cv_have_decl_getc_unlocked+set}" = set; then
32709 echo $ECHO_N "(cached) $ECHO_C" >&6
32710 else
32711 @@ -10437,7 +10840,7 @@ int
32712 main ()
32713 {
32714 #ifndef getc_unlocked
32715 - char *p = (char *) getc_unlocked;
32716 + (void) getc_unlocked;
32717 #endif
32718
32719 ;
32720 @@ -10445,38 +10848,34 @@ main ()
32721 }
32722 _ACEOF
32723 rm -f conftest.$ac_objext
32724 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32725 - (eval $ac_compile) 2>conftest.er1
32726 +if { (ac_try="$ac_compile"
32727 +case "(($ac_try" in
32728 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32729 + *) ac_try_echo=$ac_try;;
32730 +esac
32731 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32732 + (eval "$ac_compile") 2>conftest.er1
32733 ac_status=$?
32734 grep -v '^ *+' conftest.er1 >conftest.err
32735 rm -f conftest.er1
32736 cat conftest.err >&5
32737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32738 - (exit $ac_status); } &&
32739 - { ac_try='test -z "$ac_c_werror_flag"
32740 - || test ! -s conftest.err'
32741 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32742 - (eval $ac_try) 2>&5
32743 - ac_status=$?
32744 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
32745 - (exit $ac_status); }; } &&
32746 - { ac_try='test -s conftest.$ac_objext'
32747 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32748 - (eval $ac_try) 2>&5
32749 - ac_status=$?
32750 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
32751 - (exit $ac_status); }; }; then
32752 + (exit $ac_status); } && {
32753 + test -z "$ac_c_werror_flag" ||
32754 + test ! -s conftest.err
32755 + } && test -s conftest.$ac_objext; then
32756 ac_cv_have_decl_getc_unlocked=yes
32757 else
32758 echo "$as_me: failed program was:" >&5
32759 sed 's/^/| /' conftest.$ac_ext >&5
32760
32761 -ac_cv_have_decl_getc_unlocked=no
32762 + ac_cv_have_decl_getc_unlocked=no
32763 fi
32764 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32765 +
32766 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32767 fi
32768 -echo "$as_me:$LINENO: result: $ac_cv_have_decl_getc_unlocked" >&5
32769 -echo "${ECHO_T}$ac_cv_have_decl_getc_unlocked" >&6
32770 +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_getc_unlocked" >&5
32771 +echo "${ECHO_T}$ac_cv_have_decl_getc_unlocked" >&6; }
32772 if test $ac_cv_have_decl_getc_unlocked = yes; then
32773
32774 cat >>confdefs.h <<_ACEOF
32775 @@ -10491,8 +10890,8 @@ _ACEOF
32776
32777
32778 fi
32779 -echo "$as_me:$LINENO: checking whether snprintf is declared" >&5
32780 -echo $ECHO_N "checking whether snprintf is declared... $ECHO_C" >&6
32781 +{ echo "$as_me:$LINENO: checking whether snprintf is declared" >&5
32782 +echo $ECHO_N "checking whether snprintf is declared... $ECHO_C" >&6; }
32783 if test "${ac_cv_have_decl_snprintf+set}" = set; then
32784 echo $ECHO_N "(cached) $ECHO_C" >&6
32785 else
32786 @@ -10507,7 +10906,7 @@ int
32787 main ()
32788 {
32789 #ifndef snprintf
32790 - char *p = (char *) snprintf;
32791 + (void) snprintf;
32792 #endif
32793
32794 ;
32795 @@ -10515,38 +10914,34 @@ main ()
32796 }
32797 _ACEOF
32798 rm -f conftest.$ac_objext
32799 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32800 - (eval $ac_compile) 2>conftest.er1
32801 +if { (ac_try="$ac_compile"
32802 +case "(($ac_try" in
32803 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32804 + *) ac_try_echo=$ac_try;;
32805 +esac
32806 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32807 + (eval "$ac_compile") 2>conftest.er1
32808 ac_status=$?
32809 grep -v '^ *+' conftest.er1 >conftest.err
32810 rm -f conftest.er1
32811 cat conftest.err >&5
32812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32813 - (exit $ac_status); } &&
32814 - { ac_try='test -z "$ac_c_werror_flag"
32815 - || test ! -s conftest.err'
32816 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32817 - (eval $ac_try) 2>&5
32818 - ac_status=$?
32819 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
32820 - (exit $ac_status); }; } &&
32821 - { ac_try='test -s conftest.$ac_objext'
32822 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32823 - (eval $ac_try) 2>&5
32824 - ac_status=$?
32825 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
32826 - (exit $ac_status); }; }; then
32827 + (exit $ac_status); } && {
32828 + test -z "$ac_c_werror_flag" ||
32829 + test ! -s conftest.err
32830 + } && test -s conftest.$ac_objext; then
32831 ac_cv_have_decl_snprintf=yes
32832 else
32833 echo "$as_me: failed program was:" >&5
32834 sed 's/^/| /' conftest.$ac_ext >&5
32835
32836 -ac_cv_have_decl_snprintf=no
32837 + ac_cv_have_decl_snprintf=no
32838 fi
32839 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32840 +
32841 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32842 fi
32843 -echo "$as_me:$LINENO: result: $ac_cv_have_decl_snprintf" >&5
32844 -echo "${ECHO_T}$ac_cv_have_decl_snprintf" >&6
32845 +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_snprintf" >&5
32846 +echo "${ECHO_T}$ac_cv_have_decl_snprintf" >&6; }
32847 if test $ac_cv_have_decl_snprintf = yes; then
32848
32849 cat >>confdefs.h <<_ACEOF
32850 @@ -10561,8 +10956,8 @@ _ACEOF
32851
32852
32853 fi
32854 -echo "$as_me:$LINENO: checking whether vsnprintf is declared" >&5
32855 -echo $ECHO_N "checking whether vsnprintf is declared... $ECHO_C" >&6
32856 +{ echo "$as_me:$LINENO: checking whether vsnprintf is declared" >&5
32857 +echo $ECHO_N "checking whether vsnprintf is declared... $ECHO_C" >&6; }
32858 if test "${ac_cv_have_decl_vsnprintf+set}" = set; then
32859 echo $ECHO_N "(cached) $ECHO_C" >&6
32860 else
32861 @@ -10577,7 +10972,7 @@ int
32862 main ()
32863 {
32864 #ifndef vsnprintf
32865 - char *p = (char *) vsnprintf;
32866 + (void) vsnprintf;
32867 #endif
32868
32869 ;
32870 @@ -10585,38 +10980,34 @@ main ()
32871 }
32872 _ACEOF
32873 rm -f conftest.$ac_objext
32874 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32875 - (eval $ac_compile) 2>conftest.er1
32876 +if { (ac_try="$ac_compile"
32877 +case "(($ac_try" in
32878 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32879 + *) ac_try_echo=$ac_try;;
32880 +esac
32881 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32882 + (eval "$ac_compile") 2>conftest.er1
32883 ac_status=$?
32884 grep -v '^ *+' conftest.er1 >conftest.err
32885 rm -f conftest.er1
32886 cat conftest.err >&5
32887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32888 - (exit $ac_status); } &&
32889 - { ac_try='test -z "$ac_c_werror_flag"
32890 - || test ! -s conftest.err'
32891 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32892 - (eval $ac_try) 2>&5
32893 - ac_status=$?
32894 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
32895 - (exit $ac_status); }; } &&
32896 - { ac_try='test -s conftest.$ac_objext'
32897 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32898 - (eval $ac_try) 2>&5
32899 - ac_status=$?
32900 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
32901 - (exit $ac_status); }; }; then
32902 + (exit $ac_status); } && {
32903 + test -z "$ac_c_werror_flag" ||
32904 + test ! -s conftest.err
32905 + } && test -s conftest.$ac_objext; then
32906 ac_cv_have_decl_vsnprintf=yes
32907 else
32908 echo "$as_me: failed program was:" >&5
32909 sed 's/^/| /' conftest.$ac_ext >&5
32910
32911 -ac_cv_have_decl_vsnprintf=no
32912 + ac_cv_have_decl_vsnprintf=no
32913 fi
32914 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32915 +
32916 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32917 fi
32918 -echo "$as_me:$LINENO: result: $ac_cv_have_decl_vsnprintf" >&5
32919 -echo "${ECHO_T}$ac_cv_have_decl_vsnprintf" >&6
32920 +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_vsnprintf" >&5
32921 +echo "${ECHO_T}$ac_cv_have_decl_vsnprintf" >&6; }
32922 if test $ac_cv_have_decl_vsnprintf = yes; then
32923
32924 cat >>confdefs.h <<_ACEOF
32925 @@ -10817,8 +11208,10 @@ done
32926
32927
32928
32929 - ac_config_files="$ac_config_files Makefile doc/Makefile po/Makefile.in:po/Make-in"
32930 - ac_config_commands="$ac_config_commands default"
32931 +ac_config_files="$ac_config_files Makefile doc/Makefile po/Makefile.in:po/Make-in"
32932 +
32933 +ac_config_commands="$ac_config_commands default"
32934 +
32935 cat >confcache <<\_ACEOF
32936 # This file is a shell script that caches the results of configure
32937 # tests run on this system so they can be shared between configure
32938 @@ -10837,39 +11230,58 @@ _ACEOF
32939
32940 # The following way of writing the cache mishandles newlines in values,
32941 # but we know of no workaround that is simple, portable, and efficient.
32942 -# So, don't put newlines in cache variables' values.
32943 +# So, we kill variables containing newlines.
32944 # Ultrix sh set writes to stderr and can't be redirected directly,
32945 # and sets the high bit in the cache file unless we assign to the vars.
32946 -{
32947 +(
32948 + for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
32949 + eval ac_val=\$$ac_var
32950 + case $ac_val in #(
32951 + *${as_nl}*)
32952 + case $ac_var in #(
32953 + *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
32954 +echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
32955 + esac
32956 + case $ac_var in #(
32957 + _ | IFS | as_nl) ;; #(
32958 + *) $as_unset $ac_var ;;
32959 + esac ;;
32960 + esac
32961 + done
32962 +
32963 (set) 2>&1 |
32964 - case `(ac_space=' '; set | grep ac_space) 2>&1` in
32965 - *ac_space=\ *)
32966 + case $as_nl`(ac_space=' '; set) 2>&1` in #(
32967 + *${as_nl}ac_space=\ *)
32968 # `set' does not quote correctly, so add quotes (double-quote
32969 # substitution turns \\\\ into \\, and sed turns \\ into \).
32970 sed -n \
32971 "s/'/'\\\\''/g;
32972 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
32973 - ;;
32974 + ;; #(
32975 *)
32976 # `set' quotes correctly as required by POSIX, so do not add quotes.
32977 - sed -n \
32978 - "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
32979 + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
32980 ;;
32981 - esac;
32982 -} |
32983 + esac |
32984 + sort
32985 +) |
32986 sed '
32987 + /^ac_cv_env_/b end
32988 t clear
32989 - : clear
32990 + :clear
32991 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
32992 t end
32993 - /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
32994 - : end' >>confcache
32995 -if diff $cache_file confcache >/dev/null 2>&1; then :; else
32996 - if test -w $cache_file; then
32997 - test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
32998 + s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
32999 + :end' >>confcache
33000 +if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
33001 + if test -w "$cache_file"; then
33002 + test "x$cache_file" != "x/dev/null" &&
33003 + { echo "$as_me:$LINENO: updating cache $cache_file" >&5
33004 +echo "$as_me: updating cache $cache_file" >&6;}
33005 cat confcache >$cache_file
33006 else
33007 - echo "not updating unwritable cache $cache_file"
33008 + { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
33009 +echo "$as_me: not updating unwritable cache $cache_file" >&6;}
33010 fi
33011 fi
33012 rm -f confcache
33013 @@ -10878,32 +11290,18 @@ test "x$prefix" = xNONE && prefix=$ac_de
33014 # Let make expand exec_prefix.
33015 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
33016
33017 -# VPATH may cause trouble with some makes, so we remove $(srcdir),
33018 -# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
33019 -# trailing colons and then remove the whole line if VPATH becomes empty
33020 -# (actually we leave an empty line to preserve line numbers).
33021 -if test "x$srcdir" = x.; then
33022 - ac_vpsub='/^[ ]*VPATH[ ]*=/{
33023 -s/:*\$(srcdir):*/:/;
33024 -s/:*\${srcdir}:*/:/;
33025 -s/:*@srcdir@:*/:/;
33026 -s/^\([^=]*=[ ]*\):*/\1/;
33027 -s/:*$//;
33028 -s/^[^=]*=[ ]*$//;
33029 -}'
33030 -fi
33031 -
33032 DEFS=-DHAVE_CONFIG_H
33033
33034 ac_libobjs=
33035 ac_ltlibobjs=
33036 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
33037 # 1. Remove the extension, and $U if already installed.
33038 - ac_i=`echo "$ac_i" |
33039 - sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
33040 - # 2. Add them.
33041 - ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
33042 - ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
33043 + ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
33044 + ac_i=`echo "$ac_i" | sed "$ac_script"`
33045 + # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
33046 + # will be set to the directory where LIBOBJS objects are built.
33047 + ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
33048 + ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
33049 done
33050 LIBOBJS=$ac_libobjs
33051
33052 @@ -10955,17 +11353,45 @@ cat >>$CONFIG_STATUS <<\_ACEOF
33053 ## M4sh Initialization. ##
33054 ## --------------------- ##
33055
33056 -# Be Bourne compatible
33057 +# Be more Bourne compatible
33058 +DUALCASE=1; export DUALCASE # for MKS sh
33059 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
33060 emulate sh
33061 NULLCMD=:
33062 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
33063 # is contrary to our usage. Disable this feature.
33064 alias -g '${1+"$@"}'='"$@"'
33065 -elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
33066 - set -o posix
33067 + setopt NO_GLOB_SUBST
33068 +else
33069 + case `(set -o) 2>/dev/null` in
33070 + *posix*) set -o posix ;;
33071 +esac
33072 +
33073 +fi
33074 +
33075 +
33076 +
33077 +
33078 +# PATH needs CR
33079 +# Avoid depending upon Character Ranges.
33080 +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
33081 +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
33082 +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
33083 +as_cr_digits='0123456789'
33084 +as_cr_alnum=$as_cr_Letters$as_cr_digits
33085 +
33086 +# The user is always right.
33087 +if test "${PATH_SEPARATOR+set}" != set; then
33088 + echo "#! /bin/sh" >conf$$.sh
33089 + echo "exit 0" >>conf$$.sh
33090 + chmod +x conf$$.sh
33091 + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
33092 + PATH_SEPARATOR=';'
33093 + else
33094 + PATH_SEPARATOR=:
33095 + fi
33096 + rm -f conf$$.sh
33097 fi
33098 -DUALCASE=1; export DUALCASE # for MKS sh
33099
33100 # Support unset when possible.
33101 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
33102 @@ -10975,8 +11401,43 @@ else
33103 fi
33104
33105
33106 +# IFS
33107 +# We need space, tab and new line, in precisely that order. Quoting is
33108 +# there to prevent editors from complaining about space-tab.
33109 +# (If _AS_PATH_WALK were called with IFS unset, it would disable word
33110 +# splitting by setting IFS to empty value.)
33111 +as_nl='
33112 +'
33113 +IFS=" "" $as_nl"
33114 +
33115 +# Find who we are. Look in the path if we contain no directory separator.
33116 +case $0 in
33117 + *[\\/]* ) as_myself=$0 ;;
33118 + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33119 +for as_dir in $PATH
33120 +do
33121 + IFS=$as_save_IFS
33122 + test -z "$as_dir" && as_dir=.
33123 + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
33124 +done
33125 +IFS=$as_save_IFS
33126 +
33127 + ;;
33128 +esac
33129 +# We did not find ourselves, most probably we were run as `sh COMMAND'
33130 +# in which case we are not to be found in the path.
33131 +if test "x$as_myself" = x; then
33132 + as_myself=$0
33133 +fi
33134 +if test ! -f "$as_myself"; then
33135 + echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
33136 + { (exit 1); exit 1; }
33137 +fi
33138 +
33139 # Work around bugs in pre-3.0 UWIN ksh.
33140 -$as_unset ENV MAIL MAILPATH
33141 +for as_var in ENV MAIL MAILPATH
33142 +do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
33143 +done
33144 PS1='$ '
33145 PS2='> '
33146 PS4='+ '
33147 @@ -10990,18 +11451,19 @@ do
33148 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
33149 eval $as_var=C; export $as_var
33150 else
33151 - $as_unset $as_var
33152 + ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
33153 fi
33154 done
33155
33156 # Required to use basename.
33157 -if expr a : '\(a\)' >/dev/null 2>&1; then
33158 +if expr a : '\(a\)' >/dev/null 2>&1 &&
33159 + test "X`expr 00001 : '.*\(...\)'`" = X001; then
33160 as_expr=expr
33161 else
33162 as_expr=false
33163 fi
33164
33165 -if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
33166 +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
33167 as_basename=basename
33168 else
33169 as_basename=false
33170 @@ -11009,159 +11471,120 @@ fi
33171
33172
33173 # Name of the executable.
33174 -as_me=`$as_basename "$0" ||
33175 +as_me=`$as_basename -- "$0" ||
33176 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
33177 X"$0" : 'X\(//\)$' \| \
33178 - X"$0" : 'X\(/\)$' \| \
33179 - . : '\(.\)' 2>/dev/null ||
33180 + X"$0" : 'X\(/\)' \| . 2>/dev/null ||
33181 echo X/"$0" |
33182 - sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
33183 - /^X\/\(\/\/\)$/{ s//\1/; q; }
33184 - /^X\/\(\/\).*/{ s//\1/; q; }
33185 - s/.*/./; q'`
33186 + sed '/^.*\/\([^/][^/]*\)\/*$/{
33187 + s//\1/
33188 + q
33189 + }
33190 + /^X\/\(\/\/\)$/{
33191 + s//\1/
33192 + q
33193 + }
33194 + /^X\/\(\/\).*/{
33195 + s//\1/
33196 + q
33197 + }
33198 + s/.*/./; q'`
33199
33200 -
33201 -# PATH needs CR, and LINENO needs CR and PATH.
33202 -# Avoid depending upon Character Ranges.
33203 -as_cr_letters='abcdefghijklmnopqrstuvwxyz'
33204 -as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
33205 -as_cr_Letters=$as_cr_letters$as_cr_LETTERS
33206 -as_cr_digits='0123456789'
33207 -as_cr_alnum=$as_cr_Letters$as_cr_digits
33208 -
33209 -# The user is always right.
33210 -if test "${PATH_SEPARATOR+set}" != set; then
33211 - echo "#! /bin/sh" >conf$$.sh
33212 - echo "exit 0" >>conf$$.sh
33213 - chmod +x conf$$.sh
33214 - if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
33215 - PATH_SEPARATOR=';'
33216 - else
33217 - PATH_SEPARATOR=:
33218 - fi
33219 - rm -f conf$$.sh
33220 -fi
33221 +# CDPATH.
33222 +$as_unset CDPATH
33223
33224
33225 - as_lineno_1=$LINENO
33226 - as_lineno_2=$LINENO
33227 - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
33228 - test "x$as_lineno_1" != "x$as_lineno_2" &&
33229 - test "x$as_lineno_3" = "x$as_lineno_2" || {
33230 - # Find who we are. Look in the path if we contain no path at all
33231 - # relative or not.
33232 - case $0 in
33233 - *[\\/]* ) as_myself=$0 ;;
33234 - *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33235 -for as_dir in $PATH
33236 -do
33237 - IFS=$as_save_IFS
33238 - test -z "$as_dir" && as_dir=.
33239 - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
33240 -done
33241
33242 - ;;
33243 - esac
33244 - # We did not find ourselves, most probably we were run as `sh COMMAND'
33245 - # in which case we are not to be found in the path.
33246 - if test "x$as_myself" = x; then
33247 - as_myself=$0
33248 - fi
33249 - if test ! -f "$as_myself"; then
33250 - { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
33251 -echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
33252 - { (exit 1); exit 1; }; }
33253 - fi
33254 - case $CONFIG_SHELL in
33255 - '')
33256 - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33257 -for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
33258 -do
33259 - IFS=$as_save_IFS
33260 - test -z "$as_dir" && as_dir=.
33261 - for as_base in sh bash ksh sh5; do
33262 - case $as_dir in
33263 - /*)
33264 - if ("$as_dir/$as_base" -c '
33265 as_lineno_1=$LINENO
33266 as_lineno_2=$LINENO
33267 - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
33268 test "x$as_lineno_1" != "x$as_lineno_2" &&
33269 - test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
33270 - $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
33271 - $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
33272 - CONFIG_SHELL=$as_dir/$as_base
33273 - export CONFIG_SHELL
33274 - exec "$CONFIG_SHELL" "$0" ${1+"$@"}
33275 - fi;;
33276 - esac
33277 - done
33278 -done
33279 -;;
33280 - esac
33281 + test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
33282
33283 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
33284 # uniformly replaced by the line number. The first 'sed' inserts a
33285 - # line-number line before each line; the second 'sed' does the real
33286 - # work. The second script uses 'N' to pair each line-number line
33287 - # with the numbered line, and appends trailing '-' during
33288 - # substitution so that $LINENO is not a special case at line end.
33289 + # line-number line after each line using $LINENO; the second 'sed'
33290 + # does the real work. The second script uses 'N' to pair each
33291 + # line-number line with the line containing $LINENO, and appends
33292 + # trailing '-' during substitution so that $LINENO is not a special
33293 + # case at line end.
33294 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
33295 - # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
33296 - sed '=' <$as_myself |
33297 + # scripts with optimization help from Paolo Bonzini. Blame Lee
33298 + # E. McMahon (1931-1989) for sed's syntax. :-)
33299 + sed -n '
33300 + p
33301 + /[$]LINENO/=
33302 + ' <$as_myself |
33303 sed '
33304 + s/[$]LINENO.*/&-/
33305 + t lineno
33306 + b
33307 + :lineno
33308 N
33309 - s,$,-,
33310 - : loop
33311 - s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
33312 + :loop
33313 + s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
33314 t loop
33315 - s,-$,,
33316 - s,^['$as_cr_digits']*\n,,
33317 + s/-\n.*//
33318 ' >$as_me.lineno &&
33319 - chmod +x $as_me.lineno ||
33320 - { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
33321 -echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
33322 + chmod +x "$as_me.lineno" ||
33323 + { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
33324 { (exit 1); exit 1; }; }
33325
33326 # Don't try to exec as it changes $[0], causing all sort of problems
33327 # (the dirname of $[0] is not the place where we might find the
33328 - # original and so on. Autoconf is especially sensible to this).
33329 - . ./$as_me.lineno
33330 + # original and so on. Autoconf is especially sensitive to this).
33331 + . "./$as_me.lineno"
33332 # Exit status is that of the last command.
33333 exit
33334 }
33335
33336
33337 -case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
33338 - *c*,-n*) ECHO_N= ECHO_C='
33339 -' ECHO_T=' ' ;;
33340 - *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
33341 - *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
33342 +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
33343 + as_dirname=dirname
33344 +else
33345 + as_dirname=false
33346 +fi
33347 +
33348 +ECHO_C= ECHO_N= ECHO_T=
33349 +case `echo -n x` in
33350 +-n*)
33351 + case `echo 'x\c'` in
33352 + *c*) ECHO_T=' ';; # ECHO_T is single tab character.
33353 + *) ECHO_C='\c';;
33354 + esac;;
33355 +*)
33356 + ECHO_N='-n';;
33357 esac
33358
33359 -if expr a : '\(a\)' >/dev/null 2>&1; then
33360 +if expr a : '\(a\)' >/dev/null 2>&1 &&
33361 + test "X`expr 00001 : '.*\(...\)'`" = X001; then
33362 as_expr=expr
33363 else
33364 as_expr=false
33365 fi
33366
33367 rm -f conf$$ conf$$.exe conf$$.file
33368 +if test -d conf$$.dir; then
33369 + rm -f conf$$.dir/conf$$.file
33370 +else
33371 + rm -f conf$$.dir
33372 + mkdir conf$$.dir
33373 +fi
33374 echo >conf$$.file
33375 if ln -s conf$$.file conf$$ 2>/dev/null; then
33376 - # We could just check for DJGPP; but this test a) works b) is more generic
33377 - # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
33378 - if test -f conf$$.exe; then
33379 - # Don't use ln at all; we don't have any links
33380 + as_ln_s='ln -s'
33381 + # ... but there are two gotchas:
33382 + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
33383 + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
33384 + # In both cases, we have to default to `cp -p'.
33385 + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
33386 as_ln_s='cp -p'
33387 - else
33388 - as_ln_s='ln -s'
33389 - fi
33390 elif ln conf$$.file conf$$ 2>/dev/null; then
33391 as_ln_s=ln
33392 else
33393 as_ln_s='cp -p'
33394 fi
33395 -rm -f conf$$ conf$$.exe conf$$.file
33396 +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
33397 +rmdir conf$$.dir 2>/dev/null
33398
33399 if mkdir -p . 2>/dev/null; then
33400 as_mkdir_p=:
33401 @@ -11170,7 +11593,28 @@ else
33402 as_mkdir_p=false
33403 fi
33404
33405 -as_executable_p="test -f"
33406 +if test -x / >/dev/null 2>&1; then
33407 + as_test_x='test -x'
33408 +else
33409 + if ls -dL / >/dev/null 2>&1; then
33410 + as_ls_L_option=L
33411 + else
33412 + as_ls_L_option=
33413 + fi
33414 + as_test_x='
33415 + eval sh -c '\''
33416 + if test -d "$1"; then
33417 + test -d "$1/.";
33418 + else
33419 + case $1 in
33420 + -*)set "./$1";;
33421 + esac;
33422 + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
33423 + ???[sx]*):;;*)false;;esac;fi
33424 + '\'' sh
33425 + '
33426 +fi
33427 +as_executable_p=$as_test_x
33428
33429 # Sed expression to map a string onto a valid CPP name.
33430 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
33431 @@ -11179,31 +11623,14 @@ as_tr_cpp="eval sed 'y%*$as_cr_letters%P
33432 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
33433
33434
33435 -# IFS
33436 -# We need space, tab and new line, in precisely that order.
33437 -as_nl='
33438 -'
33439 -IFS=" $as_nl"
33440 -
33441 -# CDPATH.
33442 -$as_unset CDPATH
33443 -
33444 exec 6>&1
33445
33446 -# Open the log real soon, to keep \$[0] and so on meaningful, and to
33447 +# Save the log message, to keep $[0] and so on meaningful, and to
33448 # report actual input values of CONFIG_FILES etc. instead of their
33449 -# values after options handling. Logging --version etc. is OK.
33450 -exec 5>>config.log
33451 -{
33452 - echo
33453 - sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
33454 -## Running $as_me. ##
33455 -_ASBOX
33456 -} >&5
33457 -cat >&5 <<_CSEOF
33458 -
33459 +# values after options handling.
33460 +ac_log="
33461 This file was extended by $as_me, which was
33462 -generated by GNU Autoconf 2.59. Invocation command line was
33463 +generated by GNU Autoconf 2.61. Invocation command line was
33464
33465 CONFIG_FILES = $CONFIG_FILES
33466 CONFIG_HEADERS = $CONFIG_HEADERS
33467 @@ -11211,30 +11638,20 @@ generated by GNU Autoconf 2.59. Invocat
33468 CONFIG_COMMANDS = $CONFIG_COMMANDS
33469 $ $0 $@
33470
33471 -_CSEOF
33472 -echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
33473 -echo >&5
33474 +on `(hostname || uname -n) 2>/dev/null | sed 1q`
33475 +"
33476 +
33477 _ACEOF
33478
33479 +cat >>$CONFIG_STATUS <<_ACEOF
33480 # Files that config.status was made for.
33481 -if test -n "$ac_config_files"; then
33482 - echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
33483 -fi
33484 -
33485 -if test -n "$ac_config_headers"; then
33486 - echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
33487 -fi
33488 -
33489 -if test -n "$ac_config_links"; then
33490 - echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
33491 -fi
33492 +config_files="$ac_config_files"
33493 +config_headers="$ac_config_headers"
33494 +config_commands="$ac_config_commands"
33495
33496 -if test -n "$ac_config_commands"; then
33497 - echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
33498 -fi
33499 +_ACEOF
33500
33501 cat >>$CONFIG_STATUS <<\_ACEOF
33502 -
33503 ac_cs_usage="\
33504 \`$as_me' instantiates files from templates according to the
33505 current configuration.
33506 @@ -11242,7 +11659,7 @@ current configuration.
33507 Usage: $0 [OPTIONS] [FILE]...
33508
33509 -h, --help print this help, then exit
33510 - -V, --version print version number, then exit
33511 + -V, --version print version number and configuration settings, then exit
33512 -q, --quiet do not print progress messages
33513 -d, --debug don't remove temporary files
33514 --recheck update $as_me by reconfiguring in the same conditions
33515 @@ -11261,19 +11678,21 @@ Configuration commands:
33516 $config_commands
33517
33518 Report bugs to <bug-autoconf@gnu.org>."
33519 -_ACEOF
33520
33521 +_ACEOF
33522 cat >>$CONFIG_STATUS <<_ACEOF
33523 ac_cs_version="\\
33524 config.status
33525 -configured by $0, generated by GNU Autoconf 2.59,
33526 - with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
33527 +configured by $0, generated by GNU Autoconf 2.61,
33528 + with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
33529
33530 -Copyright (C) 2003 Free Software Foundation, Inc.
33531 +Copyright (C) 2006 Free Software Foundation, Inc.
33532 This config.status script is free software; the Free Software Foundation
33533 gives unlimited permission to copy, distribute and modify it."
33534 -srcdir=$srcdir
33535 -INSTALL="$INSTALL"
33536 +
33537 +ac_pwd='$ac_pwd'
33538 +srcdir='$srcdir'
33539 +INSTALL='$INSTALL'
33540 _ACEOF
33541
33542 cat >>$CONFIG_STATUS <<\_ACEOF
33543 @@ -11284,39 +11703,24 @@ while test $# != 0
33544 do
33545 case $1 in
33546 --*=*)
33547 - ac_option=`expr "x$1" : 'x\([^=]*\)='`
33548 - ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
33549 + ac_option=`expr "X$1" : 'X\([^=]*\)='`
33550 + ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
33551 ac_shift=:
33552 ;;
33553 - -*)
33554 + *)
33555 ac_option=$1
33556 ac_optarg=$2
33557 ac_shift=shift
33558 ;;
33559 - *) # This is not an option, so the user has probably given explicit
33560 - # arguments.
33561 - ac_option=$1
33562 - ac_need_defaults=false;;
33563 esac
33564
33565 case $ac_option in
33566 # Handling of the options.
33567 -_ACEOF
33568 -cat >>$CONFIG_STATUS <<\_ACEOF
33569 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
33570 ac_cs_recheck=: ;;
33571 - --version | --vers* | -V )
33572 - echo "$ac_cs_version"; exit 0 ;;
33573 - --he | --h)
33574 - # Conflict between --help and --header
33575 - { { echo "$as_me:$LINENO: error: ambiguous option: $1
33576 -Try \`$0 --help' for more information." >&5
33577 -echo "$as_me: error: ambiguous option: $1
33578 -Try \`$0 --help' for more information." >&2;}
33579 - { (exit 1); exit 1; }; };;
33580 - --help | --hel | -h )
33581 - echo "$ac_cs_usage"; exit 0 ;;
33582 - --debug | --d* | -d )
33583 + --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
33584 + echo "$ac_cs_version"; exit ;;
33585 + --debug | --debu | --deb | --de | --d | -d )
33586 debug=: ;;
33587 --file | --fil | --fi | --f )
33588 $ac_shift
33589 @@ -11326,18 +11730,24 @@ Try \`$0 --help' for more information."
33590 $ac_shift
33591 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
33592 ac_need_defaults=false;;
33593 + --he | --h)
33594 + # Conflict between --help and --header
33595 + { echo "$as_me: error: ambiguous option: $1
33596 +Try \`$0 --help' for more information." >&2
33597 + { (exit 1); exit 1; }; };;
33598 + --help | --hel | -h )
33599 + echo "$ac_cs_usage"; exit ;;
33600 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
33601 | -silent | --silent | --silen | --sile | --sil | --si | --s)
33602 ac_cs_silent=: ;;
33603
33604 # This is an error.
33605 - -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
33606 -Try \`$0 --help' for more information." >&5
33607 -echo "$as_me: error: unrecognized option: $1
33608 -Try \`$0 --help' for more information." >&2;}
33609 + -*) { echo "$as_me: error: unrecognized option: $1
33610 +Try \`$0 --help' for more information." >&2
33611 { (exit 1); exit 1; }; } ;;
33612
33613 - *) ac_config_targets="$ac_config_targets $1" ;;
33614 + *) ac_config_targets="$ac_config_targets $1"
33615 + ac_need_defaults=false ;;
33616
33617 esac
33618 shift
33619 @@ -11353,40 +11763,52 @@ fi
33620 _ACEOF
33621 cat >>$CONFIG_STATUS <<_ACEOF
33622 if \$ac_cs_recheck; then
33623 - echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
33624 - exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
33625 + echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
33626 + CONFIG_SHELL=$SHELL
33627 + export CONFIG_SHELL
33628 + exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
33629 fi
33630
33631 _ACEOF
33632 +cat >>$CONFIG_STATUS <<\_ACEOF
33633 +exec 5>>config.log
33634 +{
33635 + echo
33636 + sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
33637 +## Running $as_me. ##
33638 +_ASBOX
33639 + echo "$ac_log"
33640 +} >&5
33641
33642 +_ACEOF
33643 cat >>$CONFIG_STATUS <<_ACEOF
33644 #
33645 -# INIT-COMMANDS section.
33646 +# INIT-COMMANDS
33647 #
33648 -
33649 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
33650
33651 _ACEOF
33652
33653 -
33654 -
33655 cat >>$CONFIG_STATUS <<\_ACEOF
33656 +
33657 +# Handling of arguments.
33658 for ac_config_target in $ac_config_targets
33659 do
33660 - case "$ac_config_target" in
33661 - # Handling of arguments.
33662 - "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
33663 - "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
33664 - "po/Makefile.in" ) CONFIG_FILES="$CONFIG_FILES po/Makefile.in:po/Make-in" ;;
33665 - "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
33666 - "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
33667 - "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.in" ;;
33668 + case $ac_config_target in
33669 + "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
33670 + "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.in" ;;
33671 + "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
33672 + "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
33673 + "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in:po/Make-in" ;;
33674 + "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
33675 +
33676 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
33677 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
33678 { (exit 1); exit 1; }; };;
33679 esac
33680 done
33681
33682 +
33683 # If the user did not use the arguments to specify the items to instantiate,
33684 # then the envvar interface is used. Set only those that are not.
33685 # We use the long form for the default assignment because of an extremely
33686 @@ -11398,391 +11820,496 @@ if $ac_need_defaults; then
33687 fi
33688
33689 # Have a temporary directory for convenience. Make it in the build tree
33690 -# simply because there is no reason to put it here, and in addition,
33691 +# simply because there is no reason against having it here, and in addition,
33692 # creating and moving files from /tmp can sometimes cause problems.
33693 -# Create a temporary directory, and hook for its removal unless debugging.
33694 +# Hook for its removal unless debugging.
33695 +# Note that there is a small window in which the directory will not be cleaned:
33696 +# after its creation but before its name has been assigned to `$tmp'.
33697 $debug ||
33698 {
33699 - trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
33700 + tmp=
33701 + trap 'exit_status=$?
33702 + { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
33703 +' 0
33704 trap '{ (exit 1); exit 1; }' 1 2 13 15
33705 }
33706 -
33707 # Create a (secure) tmp directory for tmp files.
33708
33709 {
33710 - tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
33711 + tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
33712 test -n "$tmp" && test -d "$tmp"
33713 } ||
33714 {
33715 - tmp=./confstat$$-$RANDOM
33716 - (umask 077 && mkdir $tmp)
33717 + tmp=./conf$$-$RANDOM
33718 + (umask 077 && mkdir "$tmp")
33719 } ||
33720 {
33721 echo "$me: cannot create a temporary directory in ." >&2
33722 { (exit 1); exit 1; }
33723 }
33724
33725 -_ACEOF
33726 -
33727 -cat >>$CONFIG_STATUS <<_ACEOF
33728 -
33729 #
33730 -# CONFIG_FILES section.
33731 +# Set up the sed scripts for CONFIG_FILES section.
33732 #
33733
33734 # No need to generate the scripts if there are no CONFIG_FILES.
33735 # This happens for instance when ./config.status config.h
33736 -if test -n "\$CONFIG_FILES"; then
33737 - # Protect against being on the right side of a sed subst in config.status.
33738 - sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
33739 - s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
33740 -s,@SHELL@,$SHELL,;t t
33741 -s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
33742 -s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
33743 -s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
33744 -s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
33745 -s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
33746 -s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
33747 -s,@exec_prefix@,$exec_prefix,;t t
33748 -s,@prefix@,$prefix,;t t
33749 -s,@program_transform_name@,$program_transform_name,;t t
33750 -s,@bindir@,$bindir,;t t
33751 -s,@sbindir@,$sbindir,;t t
33752 -s,@libexecdir@,$libexecdir,;t t
33753 -s,@datadir@,$datadir,;t t
33754 -s,@sysconfdir@,$sysconfdir,;t t
33755 -s,@sharedstatedir@,$sharedstatedir,;t t
33756 -s,@localstatedir@,$localstatedir,;t t
33757 -s,@libdir@,$libdir,;t t
33758 -s,@includedir@,$includedir,;t t
33759 -s,@oldincludedir@,$oldincludedir,;t t
33760 -s,@infodir@,$infodir,;t t
33761 -s,@mandir@,$mandir,;t t
33762 -s,@build_alias@,$build_alias,;t t
33763 -s,@host_alias@,$host_alias,;t t
33764 -s,@target_alias@,$target_alias,;t t
33765 -s,@DEFS@,$DEFS,;t t
33766 -s,@ECHO_C@,$ECHO_C,;t t
33767 -s,@ECHO_N@,$ECHO_N,;t t
33768 -s,@ECHO_T@,$ECHO_T,;t t
33769 -s,@LIBS@,$LIBS,;t t
33770 -s,@build@,$build,;t t
33771 -s,@build_cpu@,$build_cpu,;t t
33772 -s,@build_vendor@,$build_vendor,;t t
33773 -s,@build_os@,$build_os,;t t
33774 -s,@host@,$host,;t t
33775 -s,@host_cpu@,$host_cpu,;t t
33776 -s,@host_vendor@,$host_vendor,;t t
33777 -s,@host_os@,$host_os,;t t
33778 -s,@target@,$target,;t t
33779 -s,@target_cpu@,$target_cpu,;t t
33780 -s,@target_vendor@,$target_vendor,;t t
33781 -s,@target_os@,$target_os,;t t
33782 -s,@CC@,$CC,;t t
33783 -s,@CFLAGS@,$CFLAGS,;t t
33784 -s,@LDFLAGS@,$LDFLAGS,;t t
33785 -s,@CPPFLAGS@,$CPPFLAGS,;t t
33786 -s,@ac_ct_CC@,$ac_ct_CC,;t t
33787 -s,@EXEEXT@,$EXEEXT,;t t
33788 -s,@OBJEXT@,$OBJEXT,;t t
33789 -s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
33790 -s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
33791 -s,@INSTALL_DATA@,$INSTALL_DATA,;t t
33792 -s,@CYGPATH_W@,$CYGPATH_W,;t t
33793 -s,@PACKAGE@,$PACKAGE,;t t
33794 -s,@VERSION@,$VERSION,;t t
33795 -s,@ACLOCAL@,$ACLOCAL,;t t
33796 -s,@AUTOCONF@,$AUTOCONF,;t t
33797 -s,@AUTOMAKE@,$AUTOMAKE,;t t
33798 -s,@AUTOHEADER@,$AUTOHEADER,;t t
33799 -s,@MAKEINFO@,$MAKEINFO,;t t
33800 -s,@install_sh@,$install_sh,;t t
33801 -s,@STRIP@,$STRIP,;t t
33802 -s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
33803 -s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
33804 -s,@mkdir_p@,$mkdir_p,;t t
33805 -s,@AWK@,$AWK,;t t
33806 -s,@SET_MAKE@,$SET_MAKE,;t t
33807 -s,@am__leading_dot@,$am__leading_dot,;t t
33808 -s,@AMTAR@,$AMTAR,;t t
33809 -s,@am__tar@,$am__tar,;t t
33810 -s,@am__untar@,$am__untar,;t t
33811 -s,@DEPDIR@,$DEPDIR,;t t
33812 -s,@am__include@,$am__include,;t t
33813 -s,@am__quote@,$am__quote,;t t
33814 -s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
33815 -s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
33816 -s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
33817 -s,@CCDEPMODE@,$CCDEPMODE,;t t
33818 -s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
33819 -s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
33820 -s,@LN_S@,$LN_S,;t t
33821 -s,@RANLIB@,$RANLIB,;t t
33822 -s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
33823 -s,@LIBTOOL@,$LIBTOOL,;t t
33824 -s,@WARN_CFLAGS@,$WARN_CFLAGS,;t t
33825 -s,@NO_WERROR@,$NO_WERROR,;t t
33826 -s,@YACC@,$YACC,;t t
33827 -s,@LEX@,$LEX,;t t
33828 -s,@LEXLIB@,$LEXLIB,;t t
33829 -s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
33830 -s,@CPP@,$CPP,;t t
33831 -s,@EGREP@,$EGREP,;t t
33832 -s,@ALLOCA@,$ALLOCA,;t t
33833 -s,@USE_NLS@,$USE_NLS,;t t
33834 -s,@MSGFMT@,$MSGFMT,;t t
33835 -s,@GMSGFMT@,$GMSGFMT,;t t
33836 -s,@XGETTEXT@,$XGETTEXT,;t t
33837 -s,@USE_INCLUDED_LIBINTL@,$USE_INCLUDED_LIBINTL,;t t
33838 -s,@CATALOGS@,$CATALOGS,;t t
33839 -s,@CATOBJEXT@,$CATOBJEXT,;t t
33840 -s,@DATADIRNAME@,$DATADIRNAME,;t t
33841 -s,@GMOFILES@,$GMOFILES,;t t
33842 -s,@INSTOBJEXT@,$INSTOBJEXT,;t t
33843 -s,@INTLDEPS@,$INTLDEPS,;t t
33844 -s,@INTLLIBS@,$INTLLIBS,;t t
33845 -s,@INTLOBJS@,$INTLOBJS,;t t
33846 -s,@POFILES@,$POFILES,;t t
33847 -s,@POSUB@,$POSUB,;t t
33848 -s,@INCLUDE_LOCALE_H@,$INCLUDE_LOCALE_H,;t t
33849 -s,@GT_NO@,$GT_NO,;t t
33850 -s,@GT_YES@,$GT_YES,;t t
33851 -s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
33852 -s,@l@,$l,;t t
33853 -s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
33854 -s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
33855 -s,@MAINT@,$MAINT,;t t
33856 -s,@HDEFINES@,$HDEFINES,;t t
33857 -s,@AR@,$AR,;t t
33858 -s,@CC_FOR_BUILD@,$CC_FOR_BUILD,;t t
33859 -s,@EXEEXT_FOR_BUILD@,$EXEEXT_FOR_BUILD,;t t
33860 -s,@DEMANGLER_NAME@,$DEMANGLER_NAME,;t t
33861 -s,@NLMCONV_DEFS@,$NLMCONV_DEFS,;t t
33862 -s,@BUILD_NLMCONV@,$BUILD_NLMCONV,;t t
33863 -s,@BUILD_SRCONV@,$BUILD_SRCONV,;t t
33864 -s,@BUILD_DLLTOOL@,$BUILD_DLLTOOL,;t t
33865 -s,@DLLTOOL_DEFS@,$DLLTOOL_DEFS,;t t
33866 -s,@BUILD_WINDRES@,$BUILD_WINDRES,;t t
33867 -s,@BUILD_DLLWRAP@,$BUILD_DLLWRAP,;t t
33868 -s,@BUILD_MISC@,$BUILD_MISC,;t t
33869 -s,@OBJDUMP_DEFS@,$OBJDUMP_DEFS,;t t
33870 -s,@EMULATION@,$EMULATION,;t t
33871 -s,@EMULATION_VECTOR@,$EMULATION_VECTOR,;t t
33872 -s,@datarootdir@,$datarootdir,;t t
33873 -s,@docdir@,$docdir,;t t
33874 -s,@htmldir@,$htmldir,;t t
33875 -s,@LIBOBJS@,$LIBOBJS,;t t
33876 -s,@LTLIBOBJS@,$LTLIBOBJS,;t t
33877 -CEOF
33878 -
33879 -_ACEOF
33880 -
33881 - cat >>$CONFIG_STATUS <<\_ACEOF
33882 - # Split the substitutions into bite-sized pieces for seds with
33883 - # small command number limits, like on Digital OSF/1 and HP-UX.
33884 - ac_max_sed_lines=48
33885 - ac_sed_frag=1 # Number of current file.
33886 - ac_beg=1 # First line for current file.
33887 - ac_end=$ac_max_sed_lines # Line after last line for current file.
33888 - ac_more_lines=:
33889 - ac_sed_cmds=
33890 - while $ac_more_lines; do
33891 - if test $ac_beg -gt 1; then
33892 - sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
33893 - else
33894 - sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
33895 - fi
33896 - if test ! -s $tmp/subs.frag; then
33897 - ac_more_lines=false
33898 - else
33899 - # The purpose of the label and of the branching condition is to
33900 - # speed up the sed processing (if there are no `@' at all, there
33901 - # is no need to browse any of the substitutions).
33902 - # These are the two extra sed commands mentioned above.
33903 - (echo ':t
33904 - /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
33905 - if test -z "$ac_sed_cmds"; then
33906 - ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
33907 - else
33908 - ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
33909 - fi
33910 - ac_sed_frag=`expr $ac_sed_frag + 1`
33911 - ac_beg=$ac_end
33912 - ac_end=`expr $ac_end + $ac_max_sed_lines`
33913 - fi
33914 - done
33915 - if test -z "$ac_sed_cmds"; then
33916 - ac_sed_cmds=cat
33917 +if test -n "$CONFIG_FILES"; then
33918 +
33919 +_ACEOF
33920 +
33921 +
33922 +
33923 +ac_delim='%!_!# '
33924 +for ac_last_try in false false false false false :; do
33925 + cat >conf$$subs.sed <<_ACEOF
33926 +SHELL!$SHELL$ac_delim
33927 +PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
33928 +PACKAGE_NAME!$PACKAGE_NAME$ac_delim
33929 +PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
33930 +PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
33931 +PACKAGE_STRING!$PACKAGE_STRING$ac_delim
33932 +PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
33933 +exec_prefix!$exec_prefix$ac_delim
33934 +prefix!$prefix$ac_delim
33935 +program_transform_name!$program_transform_name$ac_delim
33936 +bindir!$bindir$ac_delim
33937 +sbindir!$sbindir$ac_delim
33938 +libexecdir!$libexecdir$ac_delim
33939 +datarootdir!$datarootdir$ac_delim
33940 +datadir!$datadir$ac_delim
33941 +sysconfdir!$sysconfdir$ac_delim
33942 +sharedstatedir!$sharedstatedir$ac_delim
33943 +localstatedir!$localstatedir$ac_delim
33944 +includedir!$includedir$ac_delim
33945 +oldincludedir!$oldincludedir$ac_delim
33946 +docdir!$docdir$ac_delim
33947 +infodir!$infodir$ac_delim
33948 +htmldir!$htmldir$ac_delim
33949 +dvidir!$dvidir$ac_delim
33950 +pdfdir!$pdfdir$ac_delim
33951 +psdir!$psdir$ac_delim
33952 +libdir!$libdir$ac_delim
33953 +localedir!$localedir$ac_delim
33954 +mandir!$mandir$ac_delim
33955 +DEFS!$DEFS$ac_delim
33956 +ECHO_C!$ECHO_C$ac_delim
33957 +ECHO_N!$ECHO_N$ac_delim
33958 +ECHO_T!$ECHO_T$ac_delim
33959 +LIBS!$LIBS$ac_delim
33960 +build_alias!$build_alias$ac_delim
33961 +host_alias!$host_alias$ac_delim
33962 +target_alias!$target_alias$ac_delim
33963 +build!$build$ac_delim
33964 +build_cpu!$build_cpu$ac_delim
33965 +build_vendor!$build_vendor$ac_delim
33966 +build_os!$build_os$ac_delim
33967 +host!$host$ac_delim
33968 +host_cpu!$host_cpu$ac_delim
33969 +host_vendor!$host_vendor$ac_delim
33970 +host_os!$host_os$ac_delim
33971 +target!$target$ac_delim
33972 +target_cpu!$target_cpu$ac_delim
33973 +target_vendor!$target_vendor$ac_delim
33974 +target_os!$target_os$ac_delim
33975 +CC!$CC$ac_delim
33976 +CFLAGS!$CFLAGS$ac_delim
33977 +LDFLAGS!$LDFLAGS$ac_delim
33978 +CPPFLAGS!$CPPFLAGS$ac_delim
33979 +ac_ct_CC!$ac_ct_CC$ac_delim
33980 +EXEEXT!$EXEEXT$ac_delim
33981 +OBJEXT!$OBJEXT$ac_delim
33982 +INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
33983 +INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
33984 +INSTALL_DATA!$INSTALL_DATA$ac_delim
33985 +CYGPATH_W!$CYGPATH_W$ac_delim
33986 +PACKAGE!$PACKAGE$ac_delim
33987 +VERSION!$VERSION$ac_delim
33988 +ACLOCAL!$ACLOCAL$ac_delim
33989 +AUTOCONF!$AUTOCONF$ac_delim
33990 +AUTOMAKE!$AUTOMAKE$ac_delim
33991 +AUTOHEADER!$AUTOHEADER$ac_delim
33992 +MAKEINFO!$MAKEINFO$ac_delim
33993 +install_sh!$install_sh$ac_delim
33994 +STRIP!$STRIP$ac_delim
33995 +INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
33996 +mkdir_p!$mkdir_p$ac_delim
33997 +AWK!$AWK$ac_delim
33998 +SET_MAKE!$SET_MAKE$ac_delim
33999 +am__leading_dot!$am__leading_dot$ac_delim
34000 +AMTAR!$AMTAR$ac_delim
34001 +am__tar!$am__tar$ac_delim
34002 +am__untar!$am__untar$ac_delim
34003 +DEPDIR!$DEPDIR$ac_delim
34004 +am__include!$am__include$ac_delim
34005 +am__quote!$am__quote$ac_delim
34006 +AMDEP_TRUE!$AMDEP_TRUE$ac_delim
34007 +AMDEP_FALSE!$AMDEP_FALSE$ac_delim
34008 +AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
34009 +CCDEPMODE!$CCDEPMODE$ac_delim
34010 +am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
34011 +am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
34012 +LN_S!$LN_S$ac_delim
34013 +RANLIB!$RANLIB$ac_delim
34014 +LIBTOOL!$LIBTOOL$ac_delim
34015 +WARN_CFLAGS!$WARN_CFLAGS$ac_delim
34016 +NO_WERROR!$NO_WERROR$ac_delim
34017 +YACC!$YACC$ac_delim
34018 +YFLAGS!$YFLAGS$ac_delim
34019 +LEX!$LEX$ac_delim
34020 +LEX_OUTPUT_ROOT!$LEX_OUTPUT_ROOT$ac_delim
34021 +LEXLIB!$LEXLIB$ac_delim
34022 +CPP!$CPP$ac_delim
34023 +_ACEOF
34024 +
34025 + if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
34026 + break
34027 + elif $ac_last_try; then
34028 + { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
34029 +echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
34030 + { (exit 1); exit 1; }; }
34031 + else
34032 + ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
34033 fi
34034 -fi # test -n "$CONFIG_FILES"
34035 +done
34036 +
34037 +ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
34038 +if test -n "$ac_eof"; then
34039 + ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
34040 + ac_eof=`expr $ac_eof + 1`
34041 +fi
34042 +
34043 +cat >>$CONFIG_STATUS <<_ACEOF
34044 +cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
34045 +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
34046 +_ACEOF
34047 +sed '
34048 +s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
34049 +s/^/s,@/; s/!/@,|#_!!_#|/
34050 +:n
34051 +t n
34052 +s/'"$ac_delim"'$/,g/; t
34053 +s/$/\\/; p
34054 +N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
34055 +' >>$CONFIG_STATUS <conf$$subs.sed
34056 +rm -f conf$$subs.sed
34057 +cat >>$CONFIG_STATUS <<_ACEOF
34058 +CEOF$ac_eof
34059 +_ACEOF
34060 +
34061 +
34062 +ac_delim='%!_!# '
34063 +for ac_last_try in false false false false false :; do
34064 + cat >conf$$subs.sed <<_ACEOF
34065 +GREP!$GREP$ac_delim
34066 +EGREP!$EGREP$ac_delim
34067 +ALLOCA!$ALLOCA$ac_delim
34068 +USE_NLS!$USE_NLS$ac_delim
34069 +MSGFMT!$MSGFMT$ac_delim
34070 +GMSGFMT!$GMSGFMT$ac_delim
34071 +XGETTEXT!$XGETTEXT$ac_delim
34072 +USE_INCLUDED_LIBINTL!$USE_INCLUDED_LIBINTL$ac_delim
34073 +CATALOGS!$CATALOGS$ac_delim
34074 +CATOBJEXT!$CATOBJEXT$ac_delim
34075 +DATADIRNAME!$DATADIRNAME$ac_delim
34076 +GMOFILES!$GMOFILES$ac_delim
34077 +INSTOBJEXT!$INSTOBJEXT$ac_delim
34078 +INTLDEPS!$INTLDEPS$ac_delim
34079 +INTLLIBS!$INTLLIBS$ac_delim
34080 +INTLOBJS!$INTLOBJS$ac_delim
34081 +POFILES!$POFILES$ac_delim
34082 +POSUB!$POSUB$ac_delim
34083 +INCLUDE_LOCALE_H!$INCLUDE_LOCALE_H$ac_delim
34084 +GT_NO!$GT_NO$ac_delim
34085 +GT_YES!$GT_YES$ac_delim
34086 +MKINSTALLDIRS!$MKINSTALLDIRS$ac_delim
34087 +l!$l$ac_delim
34088 +MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
34089 +MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
34090 +MAINT!$MAINT$ac_delim
34091 +HDEFINES!$HDEFINES$ac_delim
34092 +AR!$AR$ac_delim
34093 +CC_FOR_BUILD!$CC_FOR_BUILD$ac_delim
34094 +EXEEXT_FOR_BUILD!$EXEEXT_FOR_BUILD$ac_delim
34095 +DEMANGLER_NAME!$DEMANGLER_NAME$ac_delim
34096 +NLMCONV_DEFS!$NLMCONV_DEFS$ac_delim
34097 +BUILD_NLMCONV!$BUILD_NLMCONV$ac_delim
34098 +BUILD_SRCONV!$BUILD_SRCONV$ac_delim
34099 +BUILD_DLLTOOL!$BUILD_DLLTOOL$ac_delim
34100 +DLLTOOL_DEFS!$DLLTOOL_DEFS$ac_delim
34101 +BUILD_WINDRES!$BUILD_WINDRES$ac_delim
34102 +BUILD_DLLWRAP!$BUILD_DLLWRAP$ac_delim
34103 +BUILD_MISC!$BUILD_MISC$ac_delim
34104 +OBJDUMP_DEFS!$OBJDUMP_DEFS$ac_delim
34105 +EMULATION!$EMULATION$ac_delim
34106 +EMULATION_VECTOR!$EMULATION_VECTOR$ac_delim
34107 +LIBOBJS!$LIBOBJS$ac_delim
34108 +LTLIBOBJS!$LTLIBOBJS$ac_delim
34109 +_ACEOF
34110 +
34111 + if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 44; then
34112 + break
34113 + elif $ac_last_try; then
34114 + { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
34115 +echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
34116 + { (exit 1); exit 1; }; }
34117 + else
34118 + ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
34119 + fi
34120 +done
34121
34122 +ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
34123 +if test -n "$ac_eof"; then
34124 + ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
34125 + ac_eof=`expr $ac_eof + 1`
34126 +fi
34127 +
34128 +cat >>$CONFIG_STATUS <<_ACEOF
34129 +cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
34130 +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
34131 +_ACEOF
34132 +sed '
34133 +s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
34134 +s/^/s,@/; s/!/@,|#_!!_#|/
34135 +:n
34136 +t n
34137 +s/'"$ac_delim"'$/,g/; t
34138 +s/$/\\/; p
34139 +N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
34140 +' >>$CONFIG_STATUS <conf$$subs.sed
34141 +rm -f conf$$subs.sed
34142 +cat >>$CONFIG_STATUS <<_ACEOF
34143 +:end
34144 +s/|#_!!_#|//g
34145 +CEOF$ac_eof
34146 _ACEOF
34147 +
34148 +
34149 +# VPATH may cause trouble with some makes, so we remove $(srcdir),
34150 +# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
34151 +# trailing colons and then remove the whole line if VPATH becomes empty
34152 +# (actually we leave an empty line to preserve line numbers).
34153 +if test "x$srcdir" = x.; then
34154 + ac_vpsub='/^[ ]*VPATH[ ]*=/{
34155 +s/:*\$(srcdir):*/:/
34156 +s/:*\${srcdir}:*/:/
34157 +s/:*@srcdir@:*/:/
34158 +s/^\([^=]*=[ ]*\):*/\1/
34159 +s/:*$//
34160 +s/^[^=]*=[ ]*$//
34161 +}'
34162 +fi
34163 +
34164 cat >>$CONFIG_STATUS <<\_ACEOF
34165 -for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
34166 - # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
34167 - case $ac_file in
34168 - - | *:- | *:-:* ) # input from stdin
34169 - cat >$tmp/stdin
34170 - ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
34171 - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
34172 - *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
34173 - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
34174 - * ) ac_file_in=$ac_file.in ;;
34175 +fi # test -n "$CONFIG_FILES"
34176 +
34177 +
34178 +for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
34179 +do
34180 + case $ac_tag in
34181 + :[FHLC]) ac_mode=$ac_tag; continue;;
34182 + esac
34183 + case $ac_mode$ac_tag in
34184 + :[FHL]*:*);;
34185 + :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
34186 +echo "$as_me: error: Invalid tag $ac_tag." >&2;}
34187 + { (exit 1); exit 1; }; };;
34188 + :[FH]-) ac_tag=-:-;;
34189 + :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
34190 + esac
34191 + ac_save_IFS=$IFS
34192 + IFS=:
34193 + set x $ac_tag
34194 + IFS=$ac_save_IFS
34195 + shift
34196 + ac_file=$1
34197 + shift
34198 +
34199 + case $ac_mode in
34200 + :L) ac_source=$1;;
34201 + :[FH])
34202 + ac_file_inputs=
34203 + for ac_f
34204 + do
34205 + case $ac_f in
34206 + -) ac_f="$tmp/stdin";;
34207 + *) # Look for the file first in the build tree, then in the source tree
34208 + # (if the path is not absolute). The absolute path cannot be DOS-style,
34209 + # because $ac_f cannot contain `:'.
34210 + test -f "$ac_f" ||
34211 + case $ac_f in
34212 + [\\/$]*) false;;
34213 + *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
34214 + esac ||
34215 + { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
34216 +echo "$as_me: error: cannot find input file: $ac_f" >&2;}
34217 + { (exit 1); exit 1; }; };;
34218 + esac
34219 + ac_file_inputs="$ac_file_inputs $ac_f"
34220 + done
34221 +
34222 + # Let's still pretend it is `configure' which instantiates (i.e., don't
34223 + # use $as_me), people would be surprised to read:
34224 + # /* config.h. Generated by config.status. */
34225 + configure_input="Generated from "`IFS=:
34226 + echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
34227 + if test x"$ac_file" != x-; then
34228 + configure_input="$ac_file. $configure_input"
34229 + { echo "$as_me:$LINENO: creating $ac_file" >&5
34230 +echo "$as_me: creating $ac_file" >&6;}
34231 + fi
34232 +
34233 + case $ac_tag in
34234 + *:-:* | *:-) cat >"$tmp/stdin";;
34235 + esac
34236 + ;;
34237 esac
34238
34239 - # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
34240 - ac_dir=`(dirname "$ac_file") 2>/dev/null ||
34241 + ac_dir=`$as_dirname -- "$ac_file" ||
34242 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34243 X"$ac_file" : 'X\(//\)[^/]' \| \
34244 X"$ac_file" : 'X\(//\)$' \| \
34245 - X"$ac_file" : 'X\(/\)' \| \
34246 - . : '\(.\)' 2>/dev/null ||
34247 + X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
34248 echo X"$ac_file" |
34249 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
34250 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
34251 - /^X\(\/\/\)$/{ s//\1/; q; }
34252 - /^X\(\/\).*/{ s//\1/; q; }
34253 - s/.*/./; q'`
34254 - { if $as_mkdir_p; then
34255 - mkdir -p "$ac_dir"
34256 - else
34257 - as_dir="$ac_dir"
34258 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
34259 + s//\1/
34260 + q
34261 + }
34262 + /^X\(\/\/\)[^/].*/{
34263 + s//\1/
34264 + q
34265 + }
34266 + /^X\(\/\/\)$/{
34267 + s//\1/
34268 + q
34269 + }
34270 + /^X\(\/\).*/{
34271 + s//\1/
34272 + q
34273 + }
34274 + s/.*/./; q'`
34275 + { as_dir="$ac_dir"
34276 + case $as_dir in #(
34277 + -*) as_dir=./$as_dir;;
34278 + esac
34279 + test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
34280 as_dirs=
34281 - while test ! -d "$as_dir"; do
34282 - as_dirs="$as_dir $as_dirs"
34283 - as_dir=`(dirname "$as_dir") 2>/dev/null ||
34284 + while :; do
34285 + case $as_dir in #(
34286 + *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
34287 + *) as_qdir=$as_dir;;
34288 + esac
34289 + as_dirs="'$as_qdir' $as_dirs"
34290 + as_dir=`$as_dirname -- "$as_dir" ||
34291 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34292 X"$as_dir" : 'X\(//\)[^/]' \| \
34293 X"$as_dir" : 'X\(//\)$' \| \
34294 - X"$as_dir" : 'X\(/\)' \| \
34295 - . : '\(.\)' 2>/dev/null ||
34296 + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
34297 echo X"$as_dir" |
34298 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
34299 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
34300 - /^X\(\/\/\)$/{ s//\1/; q; }
34301 - /^X\(\/\).*/{ s//\1/; q; }
34302 - s/.*/./; q'`
34303 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
34304 + s//\1/
34305 + q
34306 + }
34307 + /^X\(\/\/\)[^/].*/{
34308 + s//\1/
34309 + q
34310 + }
34311 + /^X\(\/\/\)$/{
34312 + s//\1/
34313 + q
34314 + }
34315 + /^X\(\/\).*/{
34316 + s//\1/
34317 + q
34318 + }
34319 + s/.*/./; q'`
34320 + test -d "$as_dir" && break
34321 done
34322 - test ! -n "$as_dirs" || mkdir $as_dirs
34323 - fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
34324 -echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
34325 + test -z "$as_dirs" || eval "mkdir $as_dirs"
34326 + } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
34327 +echo "$as_me: error: cannot create directory $as_dir" >&2;}
34328 { (exit 1); exit 1; }; }; }
34329 -
34330 ac_builddir=.
34331
34332 -if test "$ac_dir" != .; then
34333 +case "$ac_dir" in
34334 +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
34335 +*)
34336 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
34337 - # A "../" for each directory in $ac_dir_suffix.
34338 - ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
34339 -else
34340 - ac_dir_suffix= ac_top_builddir=
34341 -fi
34342 + # A ".." for each directory in $ac_dir_suffix.
34343 + ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
34344 + case $ac_top_builddir_sub in
34345 + "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
34346 + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
34347 + esac ;;
34348 +esac
34349 +ac_abs_top_builddir=$ac_pwd
34350 +ac_abs_builddir=$ac_pwd$ac_dir_suffix
34351 +# for backward compatibility:
34352 +ac_top_builddir=$ac_top_build_prefix
34353
34354 case $srcdir in
34355 - .) # No --srcdir option. We are building in place.
34356 + .) # We are building in place.
34357 ac_srcdir=.
34358 - if test -z "$ac_top_builddir"; then
34359 - ac_top_srcdir=.
34360 - else
34361 - ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
34362 - fi ;;
34363 - [\\/]* | ?:[\\/]* ) # Absolute path.
34364 + ac_top_srcdir=$ac_top_builddir_sub
34365 + ac_abs_top_srcdir=$ac_pwd ;;
34366 + [\\/]* | ?:[\\/]* ) # Absolute name.
34367 ac_srcdir=$srcdir$ac_dir_suffix;
34368 - ac_top_srcdir=$srcdir ;;
34369 - *) # Relative path.
34370 - ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
34371 - ac_top_srcdir=$ac_top_builddir$srcdir ;;
34372 -esac
34373 + ac_top_srcdir=$srcdir
34374 + ac_abs_top_srcdir=$srcdir ;;
34375 + *) # Relative name.
34376 + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
34377 + ac_top_srcdir=$ac_top_build_prefix$srcdir
34378 + ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
34379 +esac
34380 +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
34381
34382 -# Do not use `cd foo && pwd` to compute absolute paths, because
34383 -# the directories may not exist.
34384 -case `pwd` in
34385 -.) ac_abs_builddir="$ac_dir";;
34386 -*)
34387 - case "$ac_dir" in
34388 - .) ac_abs_builddir=`pwd`;;
34389 - [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
34390 - *) ac_abs_builddir=`pwd`/"$ac_dir";;
34391 - esac;;
34392 -esac
34393 -case $ac_abs_builddir in
34394 -.) ac_abs_top_builddir=${ac_top_builddir}.;;
34395 -*)
34396 - case ${ac_top_builddir}. in
34397 - .) ac_abs_top_builddir=$ac_abs_builddir;;
34398 - [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
34399 - *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
34400 - esac;;
34401 -esac
34402 -case $ac_abs_builddir in
34403 -.) ac_abs_srcdir=$ac_srcdir;;
34404 -*)
34405 - case $ac_srcdir in
34406 - .) ac_abs_srcdir=$ac_abs_builddir;;
34407 - [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
34408 - *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
34409 - esac;;
34410 -esac
34411 -case $ac_abs_builddir in
34412 -.) ac_abs_top_srcdir=$ac_top_srcdir;;
34413 -*)
34414 - case $ac_top_srcdir in
34415 - .) ac_abs_top_srcdir=$ac_abs_builddir;;
34416 - [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
34417 - *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
34418 - esac;;
34419 -esac
34420
34421 + case $ac_mode in
34422 + :F)
34423 + #
34424 + # CONFIG_FILE
34425 + #
34426
34427 case $INSTALL in
34428 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
34429 - *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
34430 + *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
34431 esac
34432 +_ACEOF
34433
34434 - if test x"$ac_file" != x-; then
34435 - { echo "$as_me:$LINENO: creating $ac_file" >&5
34436 -echo "$as_me: creating $ac_file" >&6;}
34437 - rm -f "$ac_file"
34438 - fi
34439 - # Let's still pretend it is `configure' which instantiates (i.e., don't
34440 - # use $as_me), people would be surprised to read:
34441 - # /* config.h. Generated by config.status. */
34442 - if test x"$ac_file" = x-; then
34443 - configure_input=
34444 - else
34445 - configure_input="$ac_file. "
34446 - fi
34447 - configure_input=$configure_input"Generated from `echo $ac_file_in |
34448 - sed 's,.*/,,'` by configure."
34449 -
34450 - # First look for the input files in the build tree, otherwise in the
34451 - # src tree.
34452 - ac_file_inputs=`IFS=:
34453 - for f in $ac_file_in; do
34454 - case $f in
34455 - -) echo $tmp/stdin ;;
34456 - [\\/$]*)
34457 - # Absolute (can't be DOS-style, as IFS=:)
34458 - test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
34459 -echo "$as_me: error: cannot find input file: $f" >&2;}
34460 - { (exit 1); exit 1; }; }
34461 - echo "$f";;
34462 - *) # Relative
34463 - if test -f "$f"; then
34464 - # Build tree
34465 - echo "$f"
34466 - elif test -f "$srcdir/$f"; then
34467 - # Source tree
34468 - echo "$srcdir/$f"
34469 - else
34470 - # /dev/null tree
34471 - { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
34472 -echo "$as_me: error: cannot find input file: $f" >&2;}
34473 - { (exit 1); exit 1; }; }
34474 - fi;;
34475 - esac
34476 - done` || { (exit 1); exit 1; }
34477 +cat >>$CONFIG_STATUS <<\_ACEOF
34478 +# If the template does not know about datarootdir, expand it.
34479 +# FIXME: This hack should be removed a few years after 2.60.
34480 +ac_datarootdir_hack=; ac_datarootdir_seen=
34481 +
34482 +case `sed -n '/datarootdir/ {
34483 + p
34484 + q
34485 +}
34486 +/@datadir@/p
34487 +/@docdir@/p
34488 +/@infodir@/p
34489 +/@localedir@/p
34490 +/@mandir@/p
34491 +' $ac_file_inputs` in
34492 +*datarootdir*) ac_datarootdir_seen=yes;;
34493 +*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
34494 + { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
34495 +echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
34496 +_ACEOF
34497 +cat >>$CONFIG_STATUS <<_ACEOF
34498 + ac_datarootdir_hack='
34499 + s&@datadir@&$datadir&g
34500 + s&@docdir@&$docdir&g
34501 + s&@infodir@&$infodir&g
34502 + s&@localedir@&$localedir&g
34503 + s&@mandir@&$mandir&g
34504 + s&\\\${datarootdir}&$datarootdir&g' ;;
34505 +esac
34506 _ACEOF
34507 +
34508 +# Neutralize VPATH when `$srcdir' = `.'.
34509 +# Shell code in configure.ac might set extrasub.
34510 +# FIXME: do we really want to maintain this feature?
34511 cat >>$CONFIG_STATUS <<_ACEOF
34512 sed "$ac_vpsub
34513 $extrasub
34514 @@ -11790,248 +12317,130 @@ _ACEOF
34515 cat >>$CONFIG_STATUS <<\_ACEOF
34516 :t
34517 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
34518 -s,@configure_input@,$configure_input,;t t
34519 -s,@srcdir@,$ac_srcdir,;t t
34520 -s,@abs_srcdir@,$ac_abs_srcdir,;t t
34521 -s,@top_srcdir@,$ac_top_srcdir,;t t
34522 -s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
34523 -s,@builddir@,$ac_builddir,;t t
34524 -s,@abs_builddir@,$ac_abs_builddir,;t t
34525 -s,@top_builddir@,$ac_top_builddir,;t t
34526 -s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
34527 -s,@INSTALL@,$ac_INSTALL,;t t
34528 -" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
34529 - rm -f $tmp/stdin
34530 - if test x"$ac_file" != x-; then
34531 - mv $tmp/out $ac_file
34532 - else
34533 - cat $tmp/out
34534 - rm -f $tmp/out
34535 - fi
34536 -
34537 -done
34538 -_ACEOF
34539 -cat >>$CONFIG_STATUS <<\_ACEOF
34540 -
34541 -#
34542 -# CONFIG_HEADER section.
34543 -#
34544 -
34545 -# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
34546 -# NAME is the cpp macro being defined and VALUE is the value it is being given.
34547 -#
34548 -# ac_d sets the value in "#define NAME VALUE" lines.
34549 -ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
34550 -ac_dB='[ ].*$,\1#\2'
34551 -ac_dC=' '
34552 -ac_dD=',;t'
34553 -# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
34554 -ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
34555 -ac_uB='$,\1#\2define\3'
34556 -ac_uC=' '
34557 -ac_uD=',;t'
34558 +s&@configure_input@&$configure_input&;t t
34559 +s&@top_builddir@&$ac_top_builddir_sub&;t t
34560 +s&@srcdir@&$ac_srcdir&;t t
34561 +s&@abs_srcdir@&$ac_abs_srcdir&;t t
34562 +s&@top_srcdir@&$ac_top_srcdir&;t t
34563 +s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
34564 +s&@builddir@&$ac_builddir&;t t
34565 +s&@abs_builddir@&$ac_abs_builddir&;t t
34566 +s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
34567 +s&@INSTALL@&$ac_INSTALL&;t t
34568 +$ac_datarootdir_hack
34569 +" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
34570 +
34571 +test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
34572 + { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
34573 + { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
34574 + { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
34575 +which seems to be undefined. Please make sure it is defined." >&5
34576 +echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
34577 +which seems to be undefined. Please make sure it is defined." >&2;}
34578
34579 -for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
34580 - # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
34581 + rm -f "$tmp/stdin"
34582 case $ac_file in
34583 - - | *:- | *:-:* ) # input from stdin
34584 - cat >$tmp/stdin
34585 - ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
34586 - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
34587 - *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
34588 - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
34589 - * ) ac_file_in=$ac_file.in ;;
34590 + -) cat "$tmp/out"; rm -f "$tmp/out";;
34591 + *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
34592 esac
34593 + ;;
34594 + :H)
34595 + #
34596 + # CONFIG_HEADER
34597 + #
34598 +_ACEOF
34599 +
34600 +# Transform confdefs.h into a sed script `conftest.defines', that
34601 +# substitutes the proper values into config.h.in to produce config.h.
34602 +rm -f conftest.defines conftest.tail
34603 +# First, append a space to every undef/define line, to ease matching.
34604 +echo 's/$/ /' >conftest.defines
34605 +# Then, protect against being on the right side of a sed subst, or in
34606 +# an unquoted here document, in config.status. If some macros were
34607 +# called several times there might be several #defines for the same
34608 +# symbol, which is useless. But do not sort them, since the last
34609 +# AC_DEFINE must be honored.
34610 +ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
34611 +# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
34612 +# NAME is the cpp macro being defined, VALUE is the value it is being given.
34613 +# PARAMS is the parameter list in the macro definition--in most cases, it's
34614 +# just an empty string.
34615 +ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
34616 +ac_dB='\\)[ (].*,\\1define\\2'
34617 +ac_dC=' '
34618 +ac_dD=' ,'
34619
34620 - test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
34621 -echo "$as_me: creating $ac_file" >&6;}
34622 -
34623 - # First look for the input files in the build tree, otherwise in the
34624 - # src tree.
34625 - ac_file_inputs=`IFS=:
34626 - for f in $ac_file_in; do
34627 - case $f in
34628 - -) echo $tmp/stdin ;;
34629 - [\\/$]*)
34630 - # Absolute (can't be DOS-style, as IFS=:)
34631 - test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
34632 -echo "$as_me: error: cannot find input file: $f" >&2;}
34633 - { (exit 1); exit 1; }; }
34634 - # Do quote $f, to prevent DOS paths from being IFS'd.
34635 - echo "$f";;
34636 - *) # Relative
34637 - if test -f "$f"; then
34638 - # Build tree
34639 - echo "$f"
34640 - elif test -f "$srcdir/$f"; then
34641 - # Source tree
34642 - echo "$srcdir/$f"
34643 - else
34644 - # /dev/null tree
34645 - { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
34646 -echo "$as_me: error: cannot find input file: $f" >&2;}
34647 - { (exit 1); exit 1; }; }
34648 - fi;;
34649 - esac
34650 - done` || { (exit 1); exit 1; }
34651 - # Remove the trailing spaces.
34652 - sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
34653 -
34654 -_ACEOF
34655 -
34656 -# Transform confdefs.h into two sed scripts, `conftest.defines' and
34657 -# `conftest.undefs', that substitutes the proper values into
34658 -# config.h.in to produce config.h. The first handles `#define'
34659 -# templates, and the second `#undef' templates.
34660 -# And first: Protect against being on the right side of a sed subst in
34661 -# config.status. Protect against being in an unquoted here document
34662 -# in config.status.
34663 -rm -f conftest.defines conftest.undefs
34664 -# Using a here document instead of a string reduces the quoting nightmare.
34665 -# Putting comments in sed scripts is not portable.
34666 -#
34667 -# `end' is used to avoid that the second main sed command (meant for
34668 -# 0-ary CPP macros) applies to n-ary macro definitions.
34669 -# See the Autoconf documentation for `clear'.
34670 -cat >confdef2sed.sed <<\_ACEOF
34671 -s/[\\&,]/\\&/g
34672 -s,[\\$`],\\&,g
34673 -t clear
34674 -: clear
34675 -s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
34676 -t end
34677 -s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
34678 -: end
34679 -_ACEOF
34680 -# If some macros were called several times there might be several times
34681 -# the same #defines, which is useless. Nevertheless, we may not want to
34682 -# sort them, since we want the *last* AC-DEFINE to be honored.
34683 -uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
34684 -sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
34685 -rm -f confdef2sed.sed
34686 +uniq confdefs.h |
34687 + sed -n '
34688 + t rset
34689 + :rset
34690 + s/^[ ]*#[ ]*define[ ][ ]*//
34691 + t ok
34692 + d
34693 + :ok
34694 + s/[\\&,]/\\&/g
34695 + s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
34696 + s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
34697 + ' >>conftest.defines
34698
34699 -# This sed command replaces #undef with comments. This is necessary, for
34700 +# Remove the space that was appended to ease matching.
34701 +# Then replace #undef with comments. This is necessary, for
34702 # example, in the case of _POSIX_SOURCE, which is predefined and required
34703 # on some systems where configure will not decide to define it.
34704 -cat >>conftest.undefs <<\_ACEOF
34705 -s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
34706 +# (The regexp can be short, since the line contains either #define or #undef.)
34707 +echo 's/ $//
34708 +s,^[ #]*u.*,/* & */,' >>conftest.defines
34709 +
34710 +# Break up conftest.defines:
34711 +ac_max_sed_lines=50
34712 +
34713 +# First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
34714 +# Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
34715 +# Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
34716 +# et cetera.
34717 +ac_in='$ac_file_inputs'
34718 +ac_out='"$tmp/out1"'
34719 +ac_nxt='"$tmp/out2"'
34720 +
34721 +while :
34722 +do
34723 + # Write a here document:
34724 + cat >>$CONFIG_STATUS <<_ACEOF
34725 + # First, check the format of the line:
34726 + cat >"\$tmp/defines.sed" <<\\CEOF
34727 +/^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
34728 +/^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
34729 +b
34730 +:def
34731 _ACEOF
34732 -
34733 -# Break up conftest.defines because some shells have a limit on the size
34734 -# of here documents, and old seds have small limits too (100 cmds).
34735 -echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
34736 -echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
34737 -echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
34738 -echo ' :' >>$CONFIG_STATUS
34739 -rm -f conftest.tail
34740 -while grep . conftest.defines >/dev/null
34741 -do
34742 - # Write a limited-size here document to $tmp/defines.sed.
34743 - echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
34744 - # Speed up: don't consider the non `#define' lines.
34745 - echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
34746 - # Work around the forget-to-reset-the-flag bug.
34747 - echo 't clr' >>$CONFIG_STATUS
34748 - echo ': clr' >>$CONFIG_STATUS
34749 - sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
34750 + sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
34751 echo 'CEOF
34752 - sed -f $tmp/defines.sed $tmp/in >$tmp/out
34753 - rm -f $tmp/in
34754 - mv $tmp/out $tmp/in
34755 -' >>$CONFIG_STATUS
34756 - sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
34757 + sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
34758 + ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
34759 + sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
34760 + grep . conftest.tail >/dev/null || break
34761 rm -f conftest.defines
34762 mv conftest.tail conftest.defines
34763 done
34764 -rm -f conftest.defines
34765 -echo ' fi # grep' >>$CONFIG_STATUS
34766 -echo >>$CONFIG_STATUS
34767 -
34768 -# Break up conftest.undefs because some shells have a limit on the size
34769 -# of here documents, and old seds have small limits too (100 cmds).
34770 -echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
34771 -rm -f conftest.tail
34772 -while grep . conftest.undefs >/dev/null
34773 -do
34774 - # Write a limited-size here document to $tmp/undefs.sed.
34775 - echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
34776 - # Speed up: don't consider the non `#undef'
34777 - echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
34778 - # Work around the forget-to-reset-the-flag bug.
34779 - echo 't clr' >>$CONFIG_STATUS
34780 - echo ': clr' >>$CONFIG_STATUS
34781 - sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
34782 - echo 'CEOF
34783 - sed -f $tmp/undefs.sed $tmp/in >$tmp/out
34784 - rm -f $tmp/in
34785 - mv $tmp/out $tmp/in
34786 -' >>$CONFIG_STATUS
34787 - sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
34788 - rm -f conftest.undefs
34789 - mv conftest.tail conftest.undefs
34790 -done
34791 -rm -f conftest.undefs
34792 +rm -f conftest.defines conftest.tail
34793
34794 +echo "ac_result=$ac_in" >>$CONFIG_STATUS
34795 cat >>$CONFIG_STATUS <<\_ACEOF
34796 - # Let's still pretend it is `configure' which instantiates (i.e., don't
34797 - # use $as_me), people would be surprised to read:
34798 - # /* config.h. Generated by config.status. */
34799 - if test x"$ac_file" = x-; then
34800 - echo "/* Generated by configure. */" >$tmp/config.h
34801 - else
34802 - echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
34803 - fi
34804 - cat $tmp/in >>$tmp/config.h
34805 - rm -f $tmp/in
34806 if test x"$ac_file" != x-; then
34807 - if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
34808 + echo "/* $configure_input */" >"$tmp/config.h"
34809 + cat "$ac_result" >>"$tmp/config.h"
34810 + if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
34811 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
34812 echo "$as_me: $ac_file is unchanged" >&6;}
34813 else
34814 - ac_dir=`(dirname "$ac_file") 2>/dev/null ||
34815 -$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34816 - X"$ac_file" : 'X\(//\)[^/]' \| \
34817 - X"$ac_file" : 'X\(//\)$' \| \
34818 - X"$ac_file" : 'X\(/\)' \| \
34819 - . : '\(.\)' 2>/dev/null ||
34820 -echo X"$ac_file" |
34821 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
34822 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
34823 - /^X\(\/\/\)$/{ s//\1/; q; }
34824 - /^X\(\/\).*/{ s//\1/; q; }
34825 - s/.*/./; q'`
34826 - { if $as_mkdir_p; then
34827 - mkdir -p "$ac_dir"
34828 - else
34829 - as_dir="$ac_dir"
34830 - as_dirs=
34831 - while test ! -d "$as_dir"; do
34832 - as_dirs="$as_dir $as_dirs"
34833 - as_dir=`(dirname "$as_dir") 2>/dev/null ||
34834 -$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34835 - X"$as_dir" : 'X\(//\)[^/]' \| \
34836 - X"$as_dir" : 'X\(//\)$' \| \
34837 - X"$as_dir" : 'X\(/\)' \| \
34838 - . : '\(.\)' 2>/dev/null ||
34839 -echo X"$as_dir" |
34840 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
34841 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
34842 - /^X\(\/\/\)$/{ s//\1/; q; }
34843 - /^X\(\/\).*/{ s//\1/; q; }
34844 - s/.*/./; q'`
34845 - done
34846 - test ! -n "$as_dirs" || mkdir $as_dirs
34847 - fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
34848 -echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
34849 - { (exit 1); exit 1; }; }; }
34850 -
34851 rm -f $ac_file
34852 - mv $tmp/config.h $ac_file
34853 + mv "$tmp/config.h" $ac_file
34854 fi
34855 else
34856 - cat $tmp/config.h
34857 - rm -f $tmp/config.h
34858 + echo "/* $configure_input */"
34859 + cat "$ac_result"
34860 fi
34861 + rm -f "$tmp/out12"
34862 # Compute $ac_file's index in $config_headers.
34863 _am_stamp_count=1
34864 for _am_header in $config_headers :; do
34865 @@ -12042,135 +12451,39 @@ for _am_header in $config_headers :; do
34866 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
34867 esac
34868 done
34869 -echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
34870 +echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
34871 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34872 X$ac_file : 'X\(//\)[^/]' \| \
34873 X$ac_file : 'X\(//\)$' \| \
34874 - X$ac_file : 'X\(/\)' \| \
34875 - . : '\(.\)' 2>/dev/null ||
34876 + X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
34877 echo X$ac_file |
34878 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
34879 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
34880 - /^X\(\/\/\)$/{ s//\1/; q; }
34881 - /^X\(\/\).*/{ s//\1/; q; }
34882 - s/.*/./; q'`/stamp-h$_am_stamp_count
34883 -done
34884 -_ACEOF
34885 -cat >>$CONFIG_STATUS <<\_ACEOF
34886 -
34887 -#
34888 -# CONFIG_COMMANDS section.
34889 -#
34890 -for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
34891 - ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
34892 - ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
34893 - ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
34894 -$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34895 - X"$ac_dest" : 'X\(//\)[^/]' \| \
34896 - X"$ac_dest" : 'X\(//\)$' \| \
34897 - X"$ac_dest" : 'X\(/\)' \| \
34898 - . : '\(.\)' 2>/dev/null ||
34899 -echo X"$ac_dest" |
34900 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
34901 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
34902 - /^X\(\/\/\)$/{ s//\1/; q; }
34903 - /^X\(\/\).*/{ s//\1/; q; }
34904 - s/.*/./; q'`
34905 - { if $as_mkdir_p; then
34906 - mkdir -p "$ac_dir"
34907 - else
34908 - as_dir="$ac_dir"
34909 - as_dirs=
34910 - while test ! -d "$as_dir"; do
34911 - as_dirs="$as_dir $as_dirs"
34912 - as_dir=`(dirname "$as_dir") 2>/dev/null ||
34913 -$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34914 - X"$as_dir" : 'X\(//\)[^/]' \| \
34915 - X"$as_dir" : 'X\(//\)$' \| \
34916 - X"$as_dir" : 'X\(/\)' \| \
34917 - . : '\(.\)' 2>/dev/null ||
34918 -echo X"$as_dir" |
34919 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
34920 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
34921 - /^X\(\/\/\)$/{ s//\1/; q; }
34922 - /^X\(\/\).*/{ s//\1/; q; }
34923 - s/.*/./; q'`
34924 - done
34925 - test ! -n "$as_dirs" || mkdir $as_dirs
34926 - fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
34927 -echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
34928 - { (exit 1); exit 1; }; }; }
34929 -
34930 - ac_builddir=.
34931 -
34932 -if test "$ac_dir" != .; then
34933 - ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
34934 - # A "../" for each directory in $ac_dir_suffix.
34935 - ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
34936 -else
34937 - ac_dir_suffix= ac_top_builddir=
34938 -fi
34939 -
34940 -case $srcdir in
34941 - .) # No --srcdir option. We are building in place.
34942 - ac_srcdir=.
34943 - if test -z "$ac_top_builddir"; then
34944 - ac_top_srcdir=.
34945 - else
34946 - ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
34947 - fi ;;
34948 - [\\/]* | ?:[\\/]* ) # Absolute path.
34949 - ac_srcdir=$srcdir$ac_dir_suffix;
34950 - ac_top_srcdir=$srcdir ;;
34951 - *) # Relative path.
34952 - ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
34953 - ac_top_srcdir=$ac_top_builddir$srcdir ;;
34954 -esac
34955 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
34956 + s//\1/
34957 + q
34958 + }
34959 + /^X\(\/\/\)[^/].*/{
34960 + s//\1/
34961 + q
34962 + }
34963 + /^X\(\/\/\)$/{
34964 + s//\1/
34965 + q
34966 + }
34967 + /^X\(\/\).*/{
34968 + s//\1/
34969 + q
34970 + }
34971 + s/.*/./; q'`/stamp-h$_am_stamp_count
34972 + ;;
34973
34974 -# Do not use `cd foo && pwd` to compute absolute paths, because
34975 -# the directories may not exist.
34976 -case `pwd` in
34977 -.) ac_abs_builddir="$ac_dir";;
34978 -*)
34979 - case "$ac_dir" in
34980 - .) ac_abs_builddir=`pwd`;;
34981 - [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
34982 - *) ac_abs_builddir=`pwd`/"$ac_dir";;
34983 - esac;;
34984 -esac
34985 -case $ac_abs_builddir in
34986 -.) ac_abs_top_builddir=${ac_top_builddir}.;;
34987 -*)
34988 - case ${ac_top_builddir}. in
34989 - .) ac_abs_top_builddir=$ac_abs_builddir;;
34990 - [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
34991 - *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
34992 - esac;;
34993 -esac
34994 -case $ac_abs_builddir in
34995 -.) ac_abs_srcdir=$ac_srcdir;;
34996 -*)
34997 - case $ac_srcdir in
34998 - .) ac_abs_srcdir=$ac_abs_builddir;;
34999 - [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
35000 - *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
35001 - esac;;
35002 -esac
35003 -case $ac_abs_builddir in
35004 -.) ac_abs_top_srcdir=$ac_top_srcdir;;
35005 -*)
35006 - case $ac_top_srcdir in
35007 - .) ac_abs_top_srcdir=$ac_abs_builddir;;
35008 - [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
35009 - *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
35010 - esac;;
35011 -esac
35012 + :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
35013 +echo "$as_me: executing $ac_file commands" >&6;}
35014 + ;;
35015 + esac
35016
35017
35018 - { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
35019 -echo "$as_me: executing $ac_dest commands" >&6;}
35020 - case $ac_dest in
35021 - depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
35022 + case $ac_file$ac_mode in
35023 + "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
35024 # Strip MF so we end up with the name of the file.
35025 mf=`echo "$mf" | sed -e 's/:.*$//'`
35026 # Check whether this is an Automake generated Makefile or not.
35027 @@ -12180,18 +12493,29 @@ echo "$as_me: executing $ac_dest command
35028 # each Makefile.in and add a new line on top of each file to say so.
35029 # So let's grep whole file.
35030 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
35031 - dirpart=`(dirname "$mf") 2>/dev/null ||
35032 + dirpart=`$as_dirname -- "$mf" ||
35033 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35034 X"$mf" : 'X\(//\)[^/]' \| \
35035 X"$mf" : 'X\(//\)$' \| \
35036 - X"$mf" : 'X\(/\)' \| \
35037 - . : '\(.\)' 2>/dev/null ||
35038 + X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
35039 echo X"$mf" |
35040 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
35041 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
35042 - /^X\(\/\/\)$/{ s//\1/; q; }
35043 - /^X\(\/\).*/{ s//\1/; q; }
35044 - s/.*/./; q'`
35045 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
35046 + s//\1/
35047 + q
35048 + }
35049 + /^X\(\/\/\)[^/].*/{
35050 + s//\1/
35051 + q
35052 + }
35053 + /^X\(\/\/\)$/{
35054 + s//\1/
35055 + q
35056 + }
35057 + /^X\(\/\).*/{
35058 + s//\1/
35059 + q
35060 + }
35061 + s/.*/./; q'`
35062 else
35063 continue
35064 fi
35065 @@ -12213,58 +12537,84 @@ echo X"$mf" |
35066 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
35067 # Make sure the directory exists.
35068 test -f "$dirpart/$file" && continue
35069 - fdir=`(dirname "$file") 2>/dev/null ||
35070 + fdir=`$as_dirname -- "$file" ||
35071 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35072 X"$file" : 'X\(//\)[^/]' \| \
35073 X"$file" : 'X\(//\)$' \| \
35074 - X"$file" : 'X\(/\)' \| \
35075 - . : '\(.\)' 2>/dev/null ||
35076 + X"$file" : 'X\(/\)' \| . 2>/dev/null ||
35077 echo X"$file" |
35078 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
35079 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
35080 - /^X\(\/\/\)$/{ s//\1/; q; }
35081 - /^X\(\/\).*/{ s//\1/; q; }
35082 - s/.*/./; q'`
35083 - { if $as_mkdir_p; then
35084 - mkdir -p $dirpart/$fdir
35085 - else
35086 - as_dir=$dirpart/$fdir
35087 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
35088 + s//\1/
35089 + q
35090 + }
35091 + /^X\(\/\/\)[^/].*/{
35092 + s//\1/
35093 + q
35094 + }
35095 + /^X\(\/\/\)$/{
35096 + s//\1/
35097 + q
35098 + }
35099 + /^X\(\/\).*/{
35100 + s//\1/
35101 + q
35102 + }
35103 + s/.*/./; q'`
35104 + { as_dir=$dirpart/$fdir
35105 + case $as_dir in #(
35106 + -*) as_dir=./$as_dir;;
35107 + esac
35108 + test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
35109 as_dirs=
35110 - while test ! -d "$as_dir"; do
35111 - as_dirs="$as_dir $as_dirs"
35112 - as_dir=`(dirname "$as_dir") 2>/dev/null ||
35113 + while :; do
35114 + case $as_dir in #(
35115 + *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
35116 + *) as_qdir=$as_dir;;
35117 + esac
35118 + as_dirs="'$as_qdir' $as_dirs"
35119 + as_dir=`$as_dirname -- "$as_dir" ||
35120 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35121 X"$as_dir" : 'X\(//\)[^/]' \| \
35122 X"$as_dir" : 'X\(//\)$' \| \
35123 - X"$as_dir" : 'X\(/\)' \| \
35124 - . : '\(.\)' 2>/dev/null ||
35125 + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
35126 echo X"$as_dir" |
35127 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
35128 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
35129 - /^X\(\/\/\)$/{ s//\1/; q; }
35130 - /^X\(\/\).*/{ s//\1/; q; }
35131 - s/.*/./; q'`
35132 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
35133 + s//\1/
35134 + q
35135 + }
35136 + /^X\(\/\/\)[^/].*/{
35137 + s//\1/
35138 + q
35139 + }
35140 + /^X\(\/\/\)$/{
35141 + s//\1/
35142 + q
35143 + }
35144 + /^X\(\/\).*/{
35145 + s//\1/
35146 + q
35147 + }
35148 + s/.*/./; q'`
35149 + test -d "$as_dir" && break
35150 done
35151 - test ! -n "$as_dirs" || mkdir $as_dirs
35152 - fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
35153 -echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
35154 + test -z "$as_dirs" || eval "mkdir $as_dirs"
35155 + } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
35156 +echo "$as_me: error: cannot create directory $as_dir" >&2;}
35157 { (exit 1); exit 1; }; }; }
35158 -
35159 # echo "creating $dirpart/$file"
35160 echo '# dummy' > "$dirpart/$file"
35161 done
35162 done
35163 ;;
35164 - default )
35165 + "default":C)
35166 case "x$CONFIG_FILES" in
35167 *) sed -e '/POTFILES =/r po/POTFILES' po/Makefile.in > po/Makefile ;;
35168 esac
35169 ;;
35170 +
35171 esac
35172 -done
35173 -_ACEOF
35174 +done # for ac_tag
35175
35176 -cat >>$CONFIG_STATUS <<\_ACEOF
35177
35178 { (exit 0); exit 0; }
35179 _ACEOF
35180 diff -Nrup binutils-2.17/binutils/doc/Makefile.in binutils-2.17-atmel/binutils/doc/Makefile.in
35181 --- binutils-2.17/binutils/doc/Makefile.in 2006-06-03 06:45:50.000000000 +0200
35182 +++ binutils-2.17-atmel/binutils/doc/Makefile.in 2007-02-20 16:07:21.000000000 +0100
35183 @@ -109,6 +109,7 @@ EXEEXT = @EXEEXT@
35184 EXEEXT_FOR_BUILD = @EXEEXT_FOR_BUILD@
35185 GMOFILES = @GMOFILES@
35186 GMSGFMT = @GMSGFMT@
35187 +GREP = @GREP@
35188 GT_NO = @GT_NO@
35189 GT_YES = @GT_YES@
35190 HDEFINES = @HDEFINES@
35191 @@ -159,9 +160,8 @@ VERSION = @VERSION@
35192 WARN_CFLAGS = @WARN_CFLAGS@
35193 XGETTEXT = @XGETTEXT@
35194 YACC = @YACC@
35195 +YFLAGS = @YFLAGS@
35196 ac_ct_CC = @ac_ct_CC@
35197 -ac_ct_RANLIB = @ac_ct_RANLIB@
35198 -ac_ct_STRIP = @ac_ct_STRIP@
35199 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
35200 am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
35201 am__include = @am__include@
35202 @@ -178,6 +178,7 @@ build_vendor = @build_vendor@
35203 datadir = @datadir@
35204 datarootdir = @datarootdir@
35205 docdir = @docdir@
35206 +dvidir = @dvidir@
35207 exec_prefix = @exec_prefix@
35208 host = @host@
35209 host_alias = @host_alias@
35210 @@ -191,12 +192,15 @@ install_sh = @install_sh@
35211 l = @l@
35212 libdir = @libdir@
35213 libexecdir = @libexecdir@
35214 +localedir = @localedir@
35215 localstatedir = @localstatedir@
35216 mandir = @mandir@
35217 mkdir_p = @mkdir_p@
35218 oldincludedir = @oldincludedir@
35219 +pdfdir = @pdfdir@
35220 prefix = @prefix@
35221 program_transform_name = @program_transform_name@
35222 +psdir = @psdir@
35223 sbindir = @sbindir@
35224 sharedstatedir = @sharedstatedir@
35225 sysconfdir = @sysconfdir@
35226 @@ -368,10 +372,13 @@ dist-info: $(INFO_DEPS)
35227 $(srcdir)/*) base=`echo "$$base" | sed "s|^$$srcdirstrip/||"`;; \
35228 esac; \
35229 if test -f $$base; then d=.; else d=$(srcdir); fi; \
35230 - for file in $$d/$$base*; do \
35231 - relfile=`expr "$$file" : "$$d/\(.*\)"`; \
35232 - test -f $(distdir)/$$relfile || \
35233 - cp -p $$file $(distdir)/$$relfile; \
35234 + base_i=`echo "$$base" | sed 's|\.info$$||;s|$$|.i|'`; \
35235 + for file in $$d/$$base $$d/$$base-[0-9] $$d/$$base-[0-9][0-9] $$d/$$base_i[0-9] $$d/$$base_i[0-9][0-9]; do \
35236 + if test -f $$file; then \
35237 + relfile=`expr "$$file" : "$$d/\(.*\)"`; \
35238 + test -f $(distdir)/$$relfile || \
35239 + cp -p $$file $(distdir)/$$relfile; \
35240 + else :; fi; \
35241 done; \
35242 done
35243
35244 diff -Nrup binutils-2.17/binutils/Makefile.am binutils-2.17-atmel/binutils/Makefile.am
35245 --- binutils-2.17/binutils/Makefile.am 2006-04-06 23:49:26.000000000 +0200
35246 +++ binutils-2.17-atmel/binutils/Makefile.am 2007-02-12 15:37:09.000000000 +0100
35247 @@ -511,7 +511,7 @@ readelf.o: readelf.c dwarf.h ../bfd/bfd.
35248 $(INCDIR)/symcat.h $(INCDIR)/elf/dwarf2.h $(INCDIR)/elf/common.h \
35249 $(INCDIR)/elf/external.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/alpha.h \
35250 $(INCDIR)/elf/reloc-macros.h $(INCDIR)/elf/arc.h $(INCDIR)/elf/arm.h \
35251 - $(INCDIR)/elf/avr.h $(INCDIR)/elf/bfin.h $(INCDIR)/elf/cris.h \
35252 + $(INCDIR)/elf/avr.h $(INCDIR)/elf/avr32.h $(INCDIR)/elf/bfin.h $(INCDIR)/elf/cris.h \
35253 $(INCDIR)/elf/d10v.h $(INCDIR)/elf/d30v.h $(INCDIR)/elf/dlx.h \
35254 $(INCDIR)/elf/fr30.h $(INCDIR)/elf/frv.h $(INCDIR)/elf/h8.h \
35255 $(INCDIR)/elf/hppa.h $(INCDIR)/elf/i386.h $(INCDIR)/elf/i370.h \
35256 diff -Nrup binutils-2.17/binutils/Makefile.in binutils-2.17-atmel/binutils/Makefile.in
35257 --- binutils-2.17/binutils/Makefile.in 2006-06-02 04:21:08.000000000 +0200
35258 +++ binutils-2.17-atmel/binutils/Makefile.in 2007-02-20 16:07:22.000000000 +0100
35259 @@ -266,6 +266,7 @@ EXEEXT = @EXEEXT@
35260 EXEEXT_FOR_BUILD = @EXEEXT_FOR_BUILD@
35261 GMOFILES = @GMOFILES@
35262 GMSGFMT = @GMSGFMT@
35263 +GREP = @GREP@
35264 GT_NO = @GT_NO@
35265 GT_YES = @GT_YES@
35266 HDEFINES = @HDEFINES@
35267 @@ -316,9 +317,8 @@ VERSION = @VERSION@
35268 WARN_CFLAGS = @WARN_CFLAGS@
35269 XGETTEXT = @XGETTEXT@
35270 YACC = `if [ -f ../bison/bison ]; then echo ../bison/bison -y -L$(srcdir)/../bison/; else echo @YACC@; fi`
35271 +YFLAGS = -d
35272 ac_ct_CC = @ac_ct_CC@
35273 -ac_ct_RANLIB = @ac_ct_RANLIB@
35274 -ac_ct_STRIP = @ac_ct_STRIP@
35275 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
35276 am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
35277 am__include = @am__include@
35278 @@ -335,6 +335,7 @@ build_vendor = @build_vendor@
35279 datadir = @datadir@
35280 datarootdir = @datarootdir@
35281 docdir = @docdir@
35282 +dvidir = @dvidir@
35283 exec_prefix = @exec_prefix@
35284 host = @host@
35285 host_alias = @host_alias@
35286 @@ -348,12 +349,15 @@ install_sh = @install_sh@
35287 l = @l@
35288 libdir = @libdir@
35289 libexecdir = @libexecdir@
35290 +localedir = @localedir@
35291 localstatedir = @localstatedir@
35292 mandir = @mandir@
35293 mkdir_p = @mkdir_p@
35294 oldincludedir = @oldincludedir@
35295 +pdfdir = @pdfdir@
35296 prefix = @prefix@
35297 program_transform_name = @program_transform_name@
35298 +psdir = @psdir@
35299 sbindir = @sbindir@
35300 sharedstatedir = @sharedstatedir@
35301 sysconfdir = @sysconfdir@
35302 @@ -365,7 +369,6 @@ target_vendor = @target_vendor@
35303 AUTOMAKE_OPTIONS = cygnus dejagnu
35304 SUBDIRS = doc po
35305 tooldir = $(exec_prefix)/$(target_alias)
35306 -YFLAGS = -d
35307 AM_CFLAGS = $(WARN_CFLAGS)
35308
35309 # these two are almost the same program
35310 @@ -1264,7 +1267,7 @@ readelf.o: readelf.c dwarf.h ../bfd/bfd.
35311 $(INCDIR)/symcat.h $(INCDIR)/elf/dwarf2.h $(INCDIR)/elf/common.h \
35312 $(INCDIR)/elf/external.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/alpha.h \
35313 $(INCDIR)/elf/reloc-macros.h $(INCDIR)/elf/arc.h $(INCDIR)/elf/arm.h \
35314 - $(INCDIR)/elf/avr.h $(INCDIR)/elf/bfin.h $(INCDIR)/elf/cris.h \
35315 + $(INCDIR)/elf/avr.h $(INCDIR)/elf/avr32.h $(INCDIR)/elf/bfin.h $(INCDIR)/elf/cris.h \
35316 $(INCDIR)/elf/d10v.h $(INCDIR)/elf/d30v.h $(INCDIR)/elf/dlx.h \
35317 $(INCDIR)/elf/fr30.h $(INCDIR)/elf/frv.h $(INCDIR)/elf/h8.h \
35318 $(INCDIR)/elf/hppa.h $(INCDIR)/elf/i386.h $(INCDIR)/elf/i370.h \
35319 diff -Nrup binutils-2.17/binutils/readelf.c binutils-2.17-atmel/binutils/readelf.c
35320 --- binutils-2.17/binutils/readelf.c 2006-03-10 18:20:28.000000000 +0100
35321 +++ binutils-2.17-atmel/binutils/readelf.c 2007-02-12 15:37:09.000000000 +0100
35322 @@ -71,6 +71,7 @@
35323 #include "elf/arc.h"
35324 #include "elf/arm.h"
35325 #include "elf/avr.h"
35326 +#include "elf/avr32.h"
35327 #include "elf/bfin.h"
35328 #include "elf/cris.h"
35329 #include "elf/d10v.h"
35330 @@ -590,6 +591,7 @@ guess_is_rela (unsigned long e_machine)
35331 case EM_MCORE:
35332 case EM_IA_64:
35333 case EM_AVR:
35334 + case EM_AVR32:
35335 case EM_AVR_OLD:
35336 case EM_CRIS:
35337 case EM_860:
35338 @@ -959,6 +961,10 @@ dump_relocations (FILE *file,
35339 rtype = elf_avr_reloc_type (type);
35340 break;
35341
35342 + case EM_AVR32:
35343 + rtype = elf_avr32_reloc_type (type);
35344 + break;
35345 +
35346 case EM_OLD_SPARCV9:
35347 case EM_SPARC32PLUS:
35348 case EM_SPARCV9:
35349 @@ -1670,6 +1676,7 @@ get_machine_name (unsigned e_machine)
35350 case EM_VAX: return "Digital VAX";
35351 case EM_AVR_OLD:
35352 case EM_AVR: return "Atmel AVR 8-bit microcontroller";
35353 + case EM_AVR32: return "Atmel AVR32";
35354 case EM_CRIS: return "Axis Communications 32-bit embedded processor";
35355 case EM_JAVELIN: return "Infineon Technologies 32-bit embedded cpu";
35356 case EM_FIREPATH: return "Element 14 64-bit DSP processor";
35357 diff -Nrup binutils-2.17/configure binutils-2.17-atmel/configure
35358 --- binutils-2.17/configure 2006-04-06 23:49:25.000000000 +0200
35359 +++ binutils-2.17-atmel/configure 2007-02-20 16:06:36.000000000 +0100
35360 @@ -899,7 +899,7 @@ host_libs="intl mmalloc libiberty opcode
35361 # know that we are building the simulator.
35362 # binutils, gas and ld appear in that order because it makes sense to run
35363 # "make check" in that particular order.
35364 -host_tools="texinfo byacc flex bison binutils gas ld fixincludes gcc sid sim gdb make patch prms send-pr gprof etc expect dejagnu ash bash bzip2 m4 autoconf automake libtool diff rcs fileutils shellutils time textutils wdiff find uudecode hello tar gzip indent recode release sed utils guile perl gawk findutils gettext zip fastjar gnattools"
35365 +host_tools="byacc flex bison binutils gas ld fixincludes gcc sid sim gdb make patch prms send-pr gprof etc expect dejagnu ash bash bzip2 m4 autoconf automake libtool diff rcs fileutils shellutils time textutils wdiff find uudecode hello tar gzip indent recode release sed utils guile perl gawk findutils gettext zip fastjar gnattools"
35366
35367 # libgcj represents the runtime libraries only used by gcj.
35368 libgcj="target-libffi \
35369 @@ -1064,6 +1064,9 @@ unsupported_languages=
35370 # exist yet.
35371
35372 case "${host}" in
35373 + avr32*-*-*)
35374 + noconfigdirs="$noconfigdirs readline gdb"
35375 + ;;
35376 hppa*64*-*-*)
35377 noconfigdirs="$noconfigdirs byacc"
35378 ;;
35379 @@ -1863,7 +1866,7 @@ else
35380 # Extract the first word of "gcc", so it can be a program name with args.
35381 set dummy gcc; ac_word=$2
35382 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
35383 -echo "configure:1867: checking for $ac_word" >&5
35384 +echo "configure:1870: checking for $ac_word" >&5
35385 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
35386 echo $ac_n "(cached) $ac_c" 1>&6
35387 else
35388 @@ -1893,7 +1896,7 @@ if test -z "$CC"; then
35389 # Extract the first word of "cc", so it can be a program name with args.
35390 set dummy cc; ac_word=$2
35391 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
35392 -echo "configure:1897: checking for $ac_word" >&5
35393 +echo "configure:1900: checking for $ac_word" >&5
35394 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
35395 echo $ac_n "(cached) $ac_c" 1>&6
35396 else
35397 @@ -1944,7 +1947,7 @@ fi
35398 # Extract the first word of "cl", so it can be a program name with args.
35399 set dummy cl; ac_word=$2
35400 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
35401 -echo "configure:1948: checking for $ac_word" >&5
35402 +echo "configure:1951: checking for $ac_word" >&5
35403 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
35404 echo $ac_n "(cached) $ac_c" 1>&6
35405 else
35406 @@ -1976,7 +1979,7 @@ fi
35407 fi
35408
35409 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
35410 -echo "configure:1980: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
35411 +echo "configure:1983: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
35412
35413 ac_ext=c
35414 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
35415 @@ -1987,12 +1990,12 @@ cross_compiling=$ac_cv_prog_cc_cross
35416
35417 cat > conftest.$ac_ext << EOF
35418
35419 -#line 1991 "configure"
35420 +#line 1994 "configure"
35421 #include "confdefs.h"
35422
35423 main(){return(0);}
35424 EOF
35425 -if { (eval echo configure:1996: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
35426 +if { (eval echo configure:1999: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
35427 ac_cv_prog_cc_works=yes
35428 # If we can't run a trivial program, we are probably using a cross compiler.
35429 if (./conftest; exit) 2>/dev/null; then
35430 @@ -2018,12 +2021,12 @@ if test $ac_cv_prog_cc_works = no; then
35431 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
35432 fi
35433 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
35434 -echo "configure:2022: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
35435 +echo "configure:2025: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
35436 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
35437 cross_compiling=$ac_cv_prog_cc_cross
35438
35439 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
35440 -echo "configure:2027: checking whether we are using GNU C" >&5
35441 +echo "configure:2030: checking whether we are using GNU C" >&5
35442 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
35443 echo $ac_n "(cached) $ac_c" 1>&6
35444 else
35445 @@ -2032,7 +2035,7 @@ else
35446 yes;
35447 #endif
35448 EOF
35449 -if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2036: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
35450 +if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2039: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
35451 ac_cv_prog_gcc=yes
35452 else
35453 ac_cv_prog_gcc=no
35454 @@ -2051,7 +2054,7 @@ ac_test_CFLAGS="${CFLAGS+set}"
35455 ac_save_CFLAGS="$CFLAGS"
35456 CFLAGS=
35457 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
35458 -echo "configure:2055: checking whether ${CC-cc} accepts -g" >&5
35459 +echo "configure:2058: checking whether ${CC-cc} accepts -g" >&5
35460 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
35461 echo $ac_n "(cached) $ac_c" 1>&6
35462 else
35463 @@ -2118,7 +2121,7 @@ fi
35464 # Extract the first word of "${ac_tool_prefix}gnatbind", so it can be a program name with args.
35465 set dummy ${ac_tool_prefix}gnatbind; ac_word=$2
35466 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
35467 -echo "configure:2122: checking for $ac_word" >&5
35468 +echo "configure:2125: checking for $ac_word" >&5
35469 if eval "test \"`echo '$''{'ac_cv_prog_GNATBIND'+set}'`\" = set"; then
35470 echo $ac_n "(cached) $ac_c" 1>&6
35471 else
35472 @@ -2150,7 +2153,7 @@ if test -n "$ac_tool_prefix"; then
35473 # Extract the first word of "gnatbind", so it can be a program name with args.
35474 set dummy gnatbind; ac_word=$2
35475 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
35476 -echo "configure:2154: checking for $ac_word" >&5
35477 +echo "configure:2157: checking for $ac_word" >&5
35478 if eval "test \"`echo '$''{'ac_cv_prog_GNATBIND'+set}'`\" = set"; then
35479 echo $ac_n "(cached) $ac_c" 1>&6
35480 else
35481 @@ -2183,7 +2186,7 @@ fi
35482 fi
35483
35484 echo $ac_n "checking whether compiler driver understands Ada""... $ac_c" 1>&6
35485 -echo "configure:2187: checking whether compiler driver understands Ada" >&5
35486 +echo "configure:2190: checking whether compiler driver understands Ada" >&5
35487 if eval "test \"`echo '$''{'acx_cv_cc_gcc_supports_ada'+set}'`\" = set"; then
35488 echo $ac_n "(cached) $ac_c" 1>&6
35489 else
35490 @@ -2215,7 +2218,7 @@ else
35491 fi
35492
35493 echo $ac_n "checking how to compare bootstrapped objects""... $ac_c" 1>&6
35494 -echo "configure:2219: checking how to compare bootstrapped objects" >&5
35495 +echo "configure:2222: checking how to compare bootstrapped objects" >&5
35496 if eval "test \"`echo '$''{'gcc_cv_prog_cmp_skip'+set}'`\" = set"; then
35497 echo $ac_n "(cached) $ac_c" 1>&6
35498 else
35499 @@ -2313,9 +2316,9 @@ saved_CFLAGS="$CFLAGS"
35500 CFLAGS="$CFLAGS $gmpinc"
35501 # Check GMP actually works
35502 echo $ac_n "checking for correct version of gmp.h""... $ac_c" 1>&6
35503 -echo "configure:2317: checking for correct version of gmp.h" >&5
35504 +echo "configure:2320: checking for correct version of gmp.h" >&5
35505 cat > conftest.$ac_ext <<EOF
35506 -#line 2319 "configure"
35507 +#line 2322 "configure"
35508 #include "confdefs.h"
35509 #include "gmp.h"
35510 int main() {
35511 @@ -2326,7 +2329,7 @@ choke me
35512
35513 ; return 0; }
35514 EOF
35515 -if { (eval echo configure:2330: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
35516 +if { (eval echo configure:2333: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
35517 rm -rf conftest*
35518 echo "$ac_t""yes" 1>&6
35519 else
35520 @@ -2339,12 +2342,12 @@ rm -f conftest*
35521
35522 if test x"$have_gmp" = xyes; then
35523 echo $ac_n "checking for MPFR""... $ac_c" 1>&6
35524 -echo "configure:2343: checking for MPFR" >&5
35525 +echo "configure:2346: checking for MPFR" >&5
35526
35527 saved_LIBS="$LIBS"
35528 LIBS="$LIBS $gmplibs"
35529 cat > conftest.$ac_ext <<EOF
35530 -#line 2348 "configure"
35531 +#line 2351 "configure"
35532 #include "confdefs.h"
35533 #include <gmp.h>
35534 #include <mpfr.h>
35535 @@ -2352,7 +2355,7 @@ int main() {
35536 mpfr_t n; mpfr_init(n);
35537 ; return 0; }
35538 EOF
35539 -if { (eval echo configure:2356: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
35540 +if { (eval echo configure:2359: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
35541 rm -rf conftest*
35542 echo "$ac_t""yes" 1>&6
35543 else
35544 @@ -3403,7 +3406,7 @@ do
35545 # Extract the first word of "$ac_prog", so it can be a program name with args.
35546 set dummy $ac_prog; ac_word=$2
35547 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
35548 -echo "configure:3407: checking for $ac_word" >&5
35549 +echo "configure:3410: checking for $ac_word" >&5
35550 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
35551 echo $ac_n "(cached) $ac_c" 1>&6
35552 else
35553 @@ -3443,7 +3446,7 @@ do
35554 # Extract the first word of "$ac_prog", so it can be a program name with args.
35555 set dummy $ac_prog; ac_word=$2
35556 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
35557 -echo "configure:3447: checking for $ac_word" >&5
35558 +echo "configure:3450: checking for $ac_word" >&5
35559 if eval "test \"`echo '$''{'ac_cv_prog_BISON'+set}'`\" = set"; then
35560 echo $ac_n "(cached) $ac_c" 1>&6
35561 else
35562 @@ -3482,7 +3485,7 @@ do
35563 # Extract the first word of "$ac_prog", so it can be a program name with args.
35564 set dummy $ac_prog; ac_word=$2
35565 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
35566 -echo "configure:3486: checking for $ac_word" >&5
35567 +echo "configure:3489: checking for $ac_word" >&5
35568 if eval "test \"`echo '$''{'ac_cv_prog_M4'+set}'`\" = set"; then
35569 echo $ac_n "(cached) $ac_c" 1>&6
35570 else
35571 @@ -3521,7 +3524,7 @@ do
35572 # Extract the first word of "$ac_prog", so it can be a program name with args.
35573 set dummy $ac_prog; ac_word=$2
35574 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
35575 -echo "configure:3525: checking for $ac_word" >&5
35576 +echo "configure:3528: checking for $ac_word" >&5
35577 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
35578 echo $ac_n "(cached) $ac_c" 1>&6
35579 else
35580 @@ -3561,7 +3564,7 @@ do
35581 # Extract the first word of "$ac_prog", so it can be a program name with args.
35582 set dummy $ac_prog; ac_word=$2
35583 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
35584 -echo "configure:3565: checking for $ac_word" >&5
35585 +echo "configure:3568: checking for $ac_word" >&5
35586 if eval "test \"`echo '$''{'ac_cv_prog_FLEX'+set}'`\" = set"; then
35587 echo $ac_n "(cached) $ac_c" 1>&6
35588 else
35589 @@ -3600,7 +3603,7 @@ do
35590 # Extract the first word of "$ac_prog", so it can be a program name with args.
35591 set dummy $ac_prog; ac_word=$2
35592 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
35593 -echo "configure:3604: checking for $ac_word" >&5
35594 +echo "configure:3607: checking for $ac_word" >&5
35595 if eval "test \"`echo '$''{'ac_cv_prog_MAKEINFO'+set}'`\" = set"; then
35596 echo $ac_n "(cached) $ac_c" 1>&6
35597 else
35598 @@ -3653,7 +3656,7 @@ do
35599 # Extract the first word of "$ac_prog", so it can be a program name with args.
35600 set dummy $ac_prog; ac_word=$2
35601 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
35602 -echo "configure:3657: checking for $ac_word" >&5
35603 +echo "configure:3660: checking for $ac_word" >&5
35604 if eval "test \"`echo '$''{'ac_cv_prog_EXPECT'+set}'`\" = set"; then
35605 echo $ac_n "(cached) $ac_c" 1>&6
35606 else
35607 @@ -3694,7 +3697,7 @@ do
35608 # Extract the first word of "$ac_prog", so it can be a program name with args.
35609 set dummy $ac_prog; ac_word=$2
35610 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
35611 -echo "configure:3698: checking for $ac_word" >&5
35612 +echo "configure:3701: checking for $ac_word" >&5
35613 if eval "test \"`echo '$''{'ac_cv_prog_RUNTEST'+set}'`\" = set"; then
35614 echo $ac_n "(cached) $ac_c" 1>&6
35615 else
35616 @@ -3742,7 +3745,7 @@ test -n "$target_alias" && ncn_target_to
35617 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
35618 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
35619 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
35620 -echo "configure:3746: checking for $ac_word" >&5
35621 +echo "configure:3749: checking for $ac_word" >&5
35622 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
35623 echo $ac_n "(cached) $ac_c" 1>&6
35624 else
35625 @@ -3773,7 +3776,7 @@ fi
35626 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
35627 set dummy ${ncn_progname}; ac_word=$2
35628 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
35629 -echo "configure:3777: checking for $ac_word" >&5
35630 +echo "configure:3780: checking for $ac_word" >&5
35631 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
35632 echo $ac_n "(cached) $ac_c" 1>&6
35633 else
35634 @@ -3817,7 +3820,7 @@ fi
35635 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
35636 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
35637 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
35638 -echo "configure:3821: checking for $ac_word" >&5
35639 +echo "configure:3824: checking for $ac_word" >&5
35640 if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then
35641 echo $ac_n "(cached) $ac_c" 1>&6
35642 else
35643 @@ -3848,7 +3851,7 @@ fi
35644 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
35645 set dummy ${ncn_progname}; ac_word=$2
35646 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
35647 -echo "configure:3852: checking for $ac_word" >&5
35648 +echo "configure:3855: checking for $ac_word" >&5
35649 if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then
35650 echo $ac_n "(cached) $ac_c" 1>&6
35651 else
35652 @@ -3892,7 +3895,7 @@ fi
35653 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
35654 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
35655 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
35656 -echo "configure:3896: checking for $ac_word" >&5
35657 +echo "configure:3899: checking for $ac_word" >&5
35658 if eval "test \"`echo '$''{'ac_cv_prog_DLLTOOL'+set}'`\" = set"; then
35659 echo $ac_n "(cached) $ac_c" 1>&6
35660 else
35661 @@ -3923,7 +3926,7 @@ fi
35662 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
35663 set dummy ${ncn_progname}; ac_word=$2
35664 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
35665 -echo "configure:3927: checking for $ac_word" >&5
35666 +echo "configure:3930: checking for $ac_word" >&5
35667 if eval "test \"`echo '$''{'ac_cv_prog_DLLTOOL'+set}'`\" = set"; then
35668 echo $ac_n "(cached) $ac_c" 1>&6
35669 else
35670 @@ -3967,7 +3970,7 @@ fi
35671 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
35672 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
35673 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
35674 -echo "configure:3971: checking for $ac_word" >&5
35675 +echo "configure:3974: checking for $ac_word" >&5
35676 if eval "test \"`echo '$''{'ac_cv_prog_LD'+set}'`\" = set"; then
35677 echo $ac_n "(cached) $ac_c" 1>&6
35678 else
35679 @@ -3998,7 +4001,7 @@ fi
35680 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
35681 set dummy ${ncn_progname}; ac_word=$2
35682 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
35683 -echo "configure:4002: checking for $ac_word" >&5
35684 +echo "configure:4005: checking for $ac_word" >&5
35685 if eval "test \"`echo '$''{'ac_cv_prog_LD'+set}'`\" = set"; then
35686 echo $ac_n "(cached) $ac_c" 1>&6
35687 else
35688 @@ -4042,7 +4045,7 @@ fi
35689 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
35690 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
35691 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
35692 -echo "configure:4046: checking for $ac_word" >&5
35693 +echo "configure:4049: checking for $ac_word" >&5
35694 if eval "test \"`echo '$''{'ac_cv_prog_LIPO'+set}'`\" = set"; then
35695 echo $ac_n "(cached) $ac_c" 1>&6
35696 else
35697 @@ -4073,7 +4076,7 @@ fi
35698 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
35699 set dummy ${ncn_progname}; ac_word=$2
35700 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
35701 -echo "configure:4077: checking for $ac_word" >&5
35702 +echo "configure:4080: checking for $ac_word" >&5
35703 if eval "test \"`echo '$''{'ac_cv_prog_LIPO'+set}'`\" = set"; then
35704 echo $ac_n "(cached) $ac_c" 1>&6
35705 else
35706 @@ -4117,7 +4120,7 @@ fi
35707 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
35708 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
35709 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
35710 -echo "configure:4121: checking for $ac_word" >&5
35711 +echo "configure:4124: checking for $ac_word" >&5
35712 if eval "test \"`echo '$''{'ac_cv_prog_NM'+set}'`\" = set"; then
35713 echo $ac_n "(cached) $ac_c" 1>&6
35714 else
35715 @@ -4148,7 +4151,7 @@ fi
35716 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
35717 set dummy ${ncn_progname}; ac_word=$2
35718 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
35719 -echo "configure:4152: checking for $ac_word" >&5
35720 +echo "configure:4155: checking for $ac_word" >&5
35721 if eval "test \"`echo '$''{'ac_cv_prog_NM'+set}'`\" = set"; then
35722 echo $ac_n "(cached) $ac_c" 1>&6
35723 else
35724 @@ -4192,7 +4195,7 @@ fi
35725 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
35726 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
35727 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
35728 -echo "configure:4196: checking for $ac_word" >&5
35729 +echo "configure:4199: checking for $ac_word" >&5
35730 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
35731 echo $ac_n "(cached) $ac_c" 1>&6
35732 else
35733 @@ -4223,7 +4226,7 @@ fi
35734 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
35735 set dummy ${ncn_progname}; ac_word=$2
35736 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
35737 -echo "configure:4227: checking for $ac_word" >&5
35738 +echo "configure:4230: checking for $ac_word" >&5
35739 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
35740 echo $ac_n "(cached) $ac_c" 1>&6
35741 else
35742 @@ -4262,7 +4265,7 @@ fi
35743 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
35744 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
35745 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
35746 -echo "configure:4266: checking for $ac_word" >&5
35747 +echo "configure:4269: checking for $ac_word" >&5
35748 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
35749 echo $ac_n "(cached) $ac_c" 1>&6
35750 else
35751 @@ -4293,7 +4296,7 @@ fi
35752 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
35753 set dummy ${ncn_progname}; ac_word=$2
35754 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
35755 -echo "configure:4297: checking for $ac_word" >&5
35756 +echo "configure:4300: checking for $ac_word" >&5
35757 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
35758 echo $ac_n "(cached) $ac_c" 1>&6
35759 else
35760 @@ -4332,7 +4335,7 @@ fi
35761 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
35762 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
35763 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
35764 -echo "configure:4336: checking for $ac_word" >&5
35765 +echo "configure:4339: checking for $ac_word" >&5
35766 if eval "test \"`echo '$''{'ac_cv_prog_WINDRES'+set}'`\" = set"; then
35767 echo $ac_n "(cached) $ac_c" 1>&6
35768 else
35769 @@ -4363,7 +4366,7 @@ fi
35770 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
35771 set dummy ${ncn_progname}; ac_word=$2
35772 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
35773 -echo "configure:4367: checking for $ac_word" >&5
35774 +echo "configure:4370: checking for $ac_word" >&5
35775 if eval "test \"`echo '$''{'ac_cv_prog_WINDRES'+set}'`\" = set"; then
35776 echo $ac_n "(cached) $ac_c" 1>&6
35777 else
35778 @@ -4407,7 +4410,7 @@ fi
35779 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
35780 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
35781 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
35782 -echo "configure:4411: checking for $ac_word" >&5
35783 +echo "configure:4414: checking for $ac_word" >&5
35784 if eval "test \"`echo '$''{'ac_cv_prog_OBJCOPY'+set}'`\" = set"; then
35785 echo $ac_n "(cached) $ac_c" 1>&6
35786 else
35787 @@ -4438,7 +4441,7 @@ fi
35788 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
35789 set dummy ${ncn_progname}; ac_word=$2
35790 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
35791 -echo "configure:4442: checking for $ac_word" >&5
35792 +echo "configure:4445: checking for $ac_word" >&5
35793 if eval "test \"`echo '$''{'ac_cv_prog_OBJCOPY'+set}'`\" = set"; then
35794 echo $ac_n "(cached) $ac_c" 1>&6
35795 else
35796 @@ -4482,7 +4485,7 @@ fi
35797 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
35798 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
35799 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
35800 -echo "configure:4486: checking for $ac_word" >&5
35801 +echo "configure:4489: checking for $ac_word" >&5
35802 if eval "test \"`echo '$''{'ac_cv_prog_OBJDUMP'+set}'`\" = set"; then
35803 echo $ac_n "(cached) $ac_c" 1>&6
35804 else
35805 @@ -4513,7 +4516,7 @@ fi
35806 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
35807 set dummy ${ncn_progname}; ac_word=$2
35808 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
35809 -echo "configure:4517: checking for $ac_word" >&5
35810 +echo "configure:4520: checking for $ac_word" >&5
35811 if eval "test \"`echo '$''{'ac_cv_prog_OBJDUMP'+set}'`\" = set"; then
35812 echo $ac_n "(cached) $ac_c" 1>&6
35813 else
35814 @@ -4577,7 +4580,7 @@ fi
35815 if test -n "$with_build_time_tools"; then
35816 for ncn_progname in cc gcc; do
35817 echo $ac_n "checking for ${ncn_progname} in $with_build_time_tools""... $ac_c" 1>&6
35818 -echo "configure:4581: checking for ${ncn_progname} in $with_build_time_tools" >&5
35819 +echo "configure:4584: checking for ${ncn_progname} in $with_build_time_tools" >&5
35820 if test -x $with_build_time_tools/${ncn_progname}; then
35821 ac_cv_prog_CC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
35822 echo "$ac_t""yes" 1>&6
35823 @@ -4594,7 +4597,7 @@ if test -z "$ac_cv_prog_CC_FOR_TARGET";
35824 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
35825 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
35826 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
35827 -echo "configure:4598: checking for $ac_word" >&5
35828 +echo "configure:4601: checking for $ac_word" >&5
35829 if eval "test \"`echo '$''{'ac_cv_prog_CC_FOR_TARGET'+set}'`\" = set"; then
35830 echo $ac_n "(cached) $ac_c" 1>&6
35831 else
35832 @@ -4625,7 +4628,7 @@ fi
35833 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
35834 set dummy ${ncn_progname}; ac_word=$2
35835 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
35836 -echo "configure:4629: checking for $ac_word" >&5
35837 +echo "configure:4632: checking for $ac_word" >&5
35838 if eval "test \"`echo '$''{'ac_cv_prog_CC_FOR_TARGET'+set}'`\" = set"; then
35839 echo $ac_n "(cached) $ac_c" 1>&6
35840 else
35841 @@ -4668,7 +4671,7 @@ fi
35842 if test -n "$with_build_time_tools"; then
35843 for ncn_progname in c++ g++ cxx gxx; do
35844 echo $ac_n "checking for ${ncn_progname} in $with_build_time_tools""... $ac_c" 1>&6
35845 -echo "configure:4672: checking for ${ncn_progname} in $with_build_time_tools" >&5
35846 +echo "configure:4675: checking for ${ncn_progname} in $with_build_time_tools" >&5
35847 if test -x $with_build_time_tools/${ncn_progname}; then
35848 ac_cv_prog_CXX_FOR_TARGET=$with_build_time_tools/${ncn_progname}
35849 echo "$ac_t""yes" 1>&6
35850 @@ -4685,7 +4688,7 @@ if test -z "$ac_cv_prog_CXX_FOR_TARGET";
35851 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
35852 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
35853 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
35854 -echo "configure:4689: checking for $ac_word" >&5
35855 +echo "configure:4692: checking for $ac_word" >&5
35856 if eval "test \"`echo '$''{'ac_cv_prog_CXX_FOR_TARGET'+set}'`\" = set"; then
35857 echo $ac_n "(cached) $ac_c" 1>&6
35858 else
35859 @@ -4716,7 +4719,7 @@ fi
35860 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
35861 set dummy ${ncn_progname}; ac_word=$2
35862 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
35863 -echo "configure:4720: checking for $ac_word" >&5
35864 +echo "configure:4723: checking for $ac_word" >&5
35865 if eval "test \"`echo '$''{'ac_cv_prog_CXX_FOR_TARGET'+set}'`\" = set"; then
35866 echo $ac_n "(cached) $ac_c" 1>&6
35867 else
35868 @@ -4759,7 +4762,7 @@ fi
35869 if test -n "$with_build_time_tools"; then
35870 for ncn_progname in gcc; do
35871 echo $ac_n "checking for ${ncn_progname} in $with_build_time_tools""... $ac_c" 1>&6
35872 -echo "configure:4763: checking for ${ncn_progname} in $with_build_time_tools" >&5
35873 +echo "configure:4766: checking for ${ncn_progname} in $with_build_time_tools" >&5
35874 if test -x $with_build_time_tools/${ncn_progname}; then
35875 ac_cv_prog_GCC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
35876 echo "$ac_t""yes" 1>&6
35877 @@ -4776,7 +4779,7 @@ if test -z "$ac_cv_prog_GCC_FOR_TARGET";
35878 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
35879 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
35880 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
35881 -echo "configure:4780: checking for $ac_word" >&5
35882 +echo "configure:4783: checking for $ac_word" >&5
35883 if eval "test \"`echo '$''{'ac_cv_prog_GCC_FOR_TARGET'+set}'`\" = set"; then
35884 echo $ac_n "(cached) $ac_c" 1>&6
35885 else
35886 @@ -4807,7 +4810,7 @@ fi
35887 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
35888 set dummy ${ncn_progname}; ac_word=$2
35889 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
35890 -echo "configure:4811: checking for $ac_word" >&5
35891 +echo "configure:4814: checking for $ac_word" >&5
35892 if eval "test \"`echo '$''{'ac_cv_prog_GCC_FOR_TARGET'+set}'`\" = set"; then
35893 echo $ac_n "(cached) $ac_c" 1>&6
35894 else
35895 @@ -4845,7 +4848,7 @@ fi
35896 if test -n "$with_build_time_tools"; then
35897 for ncn_progname in gcj; do
35898 echo $ac_n "checking for ${ncn_progname} in $with_build_time_tools""... $ac_c" 1>&6
35899 -echo "configure:4849: checking for ${ncn_progname} in $with_build_time_tools" >&5
35900 +echo "configure:4852: checking for ${ncn_progname} in $with_build_time_tools" >&5
35901 if test -x $with_build_time_tools/${ncn_progname}; then
35902 ac_cv_prog_GCJ_FOR_TARGET=$with_build_time_tools/${ncn_progname}
35903 echo "$ac_t""yes" 1>&6
35904 @@ -4862,7 +4865,7 @@ if test -z "$ac_cv_prog_GCJ_FOR_TARGET";
35905 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
35906 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
35907 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
35908 -echo "configure:4866: checking for $ac_word" >&5
35909 +echo "configure:4869: checking for $ac_word" >&5
35910 if eval "test \"`echo '$''{'ac_cv_prog_GCJ_FOR_TARGET'+set}'`\" = set"; then
35911 echo $ac_n "(cached) $ac_c" 1>&6
35912 else
35913 @@ -4893,7 +4896,7 @@ fi
35914 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
35915 set dummy ${ncn_progname}; ac_word=$2
35916 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
35917 -echo "configure:4897: checking for $ac_word" >&5
35918 +echo "configure:4900: checking for $ac_word" >&5
35919 if eval "test \"`echo '$''{'ac_cv_prog_GCJ_FOR_TARGET'+set}'`\" = set"; then
35920 echo $ac_n "(cached) $ac_c" 1>&6
35921 else
35922 @@ -4936,7 +4939,7 @@ fi
35923 if test -n "$with_build_time_tools"; then
35924 for ncn_progname in gfortran; do
35925 echo $ac_n "checking for ${ncn_progname} in $with_build_time_tools""... $ac_c" 1>&6
35926 -echo "configure:4940: checking for ${ncn_progname} in $with_build_time_tools" >&5
35927 +echo "configure:4943: checking for ${ncn_progname} in $with_build_time_tools" >&5
35928 if test -x $with_build_time_tools/${ncn_progname}; then
35929 ac_cv_prog_GFORTRAN_FOR_TARGET=$with_build_time_tools/${ncn_progname}
35930 echo "$ac_t""yes" 1>&6
35931 @@ -4953,7 +4956,7 @@ if test -z "$ac_cv_prog_GFORTRAN_FOR_TAR
35932 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
35933 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
35934 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
35935 -echo "configure:4957: checking for $ac_word" >&5
35936 +echo "configure:4960: checking for $ac_word" >&5
35937 if eval "test \"`echo '$''{'ac_cv_prog_GFORTRAN_FOR_TARGET'+set}'`\" = set"; then
35938 echo $ac_n "(cached) $ac_c" 1>&6
35939 else
35940 @@ -4984,7 +4987,7 @@ fi
35941 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
35942 set dummy ${ncn_progname}; ac_word=$2
35943 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
35944 -echo "configure:4988: checking for $ac_word" >&5
35945 +echo "configure:4991: checking for $ac_word" >&5
35946 if eval "test \"`echo '$''{'ac_cv_prog_GFORTRAN_FOR_TARGET'+set}'`\" = set"; then
35947 echo $ac_n "(cached) $ac_c" 1>&6
35948 else
35949 @@ -5091,7 +5094,7 @@ rm conftest.c
35950 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
35951 if test -n "$with_build_time_tools"; then
35952 echo $ac_n "checking for ar in $with_build_time_tools""... $ac_c" 1>&6
35953 -echo "configure:5095: checking for ar in $with_build_time_tools" >&5
35954 +echo "configure:5098: checking for ar in $with_build_time_tools" >&5
35955 if test -x $with_build_time_tools/ar; then
35956 AR_FOR_TARGET=`cd $with_build_time_tools && pwd`/ar
35957 ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
35958 @@ -5109,7 +5112,7 @@ if test -z "$ac_cv_path_AR_FOR_TARGET" ;
35959 # Extract the first word of "ar", so it can be a program name with args.
35960 set dummy ar; ac_word=$2
35961 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
35962 -echo "configure:5113: checking for $ac_word" >&5
35963 +echo "configure:5116: checking for $ac_word" >&5
35964 if eval "test \"`echo '$''{'ac_cv_path_AR_FOR_TARGET'+set}'`\" = set"; then
35965 echo $ac_n "(cached) $ac_c" 1>&6
35966 else
35967 @@ -5146,7 +5149,7 @@ if test -z "$ac_cv_path_AR_FOR_TARGET" ;
35968 if test -n "$with_build_time_tools"; then
35969 for ncn_progname in ar; do
35970 echo $ac_n "checking for ${ncn_progname} in $with_build_time_tools""... $ac_c" 1>&6
35971 -echo "configure:5150: checking for ${ncn_progname} in $with_build_time_tools" >&5
35972 +echo "configure:5153: checking for ${ncn_progname} in $with_build_time_tools" >&5
35973 if test -x $with_build_time_tools/${ncn_progname}; then
35974 ac_cv_prog_AR_FOR_TARGET=$with_build_time_tools/${ncn_progname}
35975 echo "$ac_t""yes" 1>&6
35976 @@ -5163,7 +5166,7 @@ if test -z "$ac_cv_prog_AR_FOR_TARGET";
35977 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
35978 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
35979 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
35980 -echo "configure:5167: checking for $ac_word" >&5
35981 +echo "configure:5170: checking for $ac_word" >&5
35982 if eval "test \"`echo '$''{'ac_cv_prog_AR_FOR_TARGET'+set}'`\" = set"; then
35983 echo $ac_n "(cached) $ac_c" 1>&6
35984 else
35985 @@ -5194,7 +5197,7 @@ fi
35986 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
35987 set dummy ${ncn_progname}; ac_word=$2
35988 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
35989 -echo "configure:5198: checking for $ac_word" >&5
35990 +echo "configure:5201: checking for $ac_word" >&5
35991 if eval "test \"`echo '$''{'ac_cv_prog_AR_FOR_TARGET'+set}'`\" = set"; then
35992 echo $ac_n "(cached) $ac_c" 1>&6
35993 else
35994 @@ -5244,7 +5247,7 @@ fi
35995 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
35996 if test -n "$with_build_time_tools"; then
35997 echo $ac_n "checking for as in $with_build_time_tools""... $ac_c" 1>&6
35998 -echo "configure:5248: checking for as in $with_build_time_tools" >&5
35999 +echo "configure:5251: checking for as in $with_build_time_tools" >&5
36000 if test -x $with_build_time_tools/as; then
36001 AS_FOR_TARGET=`cd $with_build_time_tools && pwd`/as
36002 ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
36003 @@ -5262,7 +5265,7 @@ if test -z "$ac_cv_path_AS_FOR_TARGET" ;
36004 # Extract the first word of "as", so it can be a program name with args.
36005 set dummy as; ac_word=$2
36006 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
36007 -echo "configure:5266: checking for $ac_word" >&5
36008 +echo "configure:5269: checking for $ac_word" >&5
36009 if eval "test \"`echo '$''{'ac_cv_path_AS_FOR_TARGET'+set}'`\" = set"; then
36010 echo $ac_n "(cached) $ac_c" 1>&6
36011 else
36012 @@ -5299,7 +5302,7 @@ if test -z "$ac_cv_path_AS_FOR_TARGET" ;
36013 if test -n "$with_build_time_tools"; then
36014 for ncn_progname in as; do
36015 echo $ac_n "checking for ${ncn_progname} in $with_build_time_tools""... $ac_c" 1>&6
36016 -echo "configure:5303: checking for ${ncn_progname} in $with_build_time_tools" >&5
36017 +echo "configure:5306: checking for ${ncn_progname} in $with_build_time_tools" >&5
36018 if test -x $with_build_time_tools/${ncn_progname}; then
36019 ac_cv_prog_AS_FOR_TARGET=$with_build_time_tools/${ncn_progname}
36020 echo "$ac_t""yes" 1>&6
36021 @@ -5316,7 +5319,7 @@ if test -z "$ac_cv_prog_AS_FOR_TARGET";
36022 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
36023 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
36024 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
36025 -echo "configure:5320: checking for $ac_word" >&5
36026 +echo "configure:5323: checking for $ac_word" >&5
36027 if eval "test \"`echo '$''{'ac_cv_prog_AS_FOR_TARGET'+set}'`\" = set"; then
36028 echo $ac_n "(cached) $ac_c" 1>&6
36029 else
36030 @@ -5347,7 +5350,7 @@ fi
36031 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
36032 set dummy ${ncn_progname}; ac_word=$2
36033 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
36034 -echo "configure:5351: checking for $ac_word" >&5
36035 +echo "configure:5354: checking for $ac_word" >&5
36036 if eval "test \"`echo '$''{'ac_cv_prog_AS_FOR_TARGET'+set}'`\" = set"; then
36037 echo $ac_n "(cached) $ac_c" 1>&6
36038 else
36039 @@ -5397,7 +5400,7 @@ fi
36040 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
36041 if test -n "$with_build_time_tools"; then
36042 echo $ac_n "checking for dlltool in $with_build_time_tools""... $ac_c" 1>&6
36043 -echo "configure:5401: checking for dlltool in $with_build_time_tools" >&5
36044 +echo "configure:5404: checking for dlltool in $with_build_time_tools" >&5
36045 if test -x $with_build_time_tools/dlltool; then
36046 DLLTOOL_FOR_TARGET=`cd $with_build_time_tools && pwd`/dlltool
36047 ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
36048 @@ -5415,7 +5418,7 @@ if test -z "$ac_cv_path_DLLTOOL_FOR_TARG
36049 # Extract the first word of "dlltool", so it can be a program name with args.
36050 set dummy dlltool; ac_word=$2
36051 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
36052 -echo "configure:5419: checking for $ac_word" >&5
36053 +echo "configure:5422: checking for $ac_word" >&5
36054 if eval "test \"`echo '$''{'ac_cv_path_DLLTOOL_FOR_TARGET'+set}'`\" = set"; then
36055 echo $ac_n "(cached) $ac_c" 1>&6
36056 else
36057 @@ -5452,7 +5455,7 @@ if test -z "$ac_cv_path_DLLTOOL_FOR_TARG
36058 if test -n "$with_build_time_tools"; then
36059 for ncn_progname in dlltool; do
36060 echo $ac_n "checking for ${ncn_progname} in $with_build_time_tools""... $ac_c" 1>&6
36061 -echo "configure:5456: checking for ${ncn_progname} in $with_build_time_tools" >&5
36062 +echo "configure:5459: checking for ${ncn_progname} in $with_build_time_tools" >&5
36063 if test -x $with_build_time_tools/${ncn_progname}; then
36064 ac_cv_prog_DLLTOOL_FOR_TARGET=$with_build_time_tools/${ncn_progname}
36065 echo "$ac_t""yes" 1>&6
36066 @@ -5469,7 +5472,7 @@ if test -z "$ac_cv_prog_DLLTOOL_FOR_TARG
36067 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
36068 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
36069 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
36070 -echo "configure:5473: checking for $ac_word" >&5
36071 +echo "configure:5476: checking for $ac_word" >&5
36072 if eval "test \"`echo '$''{'ac_cv_prog_DLLTOOL_FOR_TARGET'+set}'`\" = set"; then
36073 echo $ac_n "(cached) $ac_c" 1>&6
36074 else
36075 @@ -5500,7 +5503,7 @@ fi
36076 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
36077 set dummy ${ncn_progname}; ac_word=$2
36078 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
36079 -echo "configure:5504: checking for $ac_word" >&5
36080 +echo "configure:5507: checking for $ac_word" >&5
36081 if eval "test \"`echo '$''{'ac_cv_prog_DLLTOOL_FOR_TARGET'+set}'`\" = set"; then
36082 echo $ac_n "(cached) $ac_c" 1>&6
36083 else
36084 @@ -5550,7 +5553,7 @@ fi
36085 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
36086 if test -n "$with_build_time_tools"; then
36087 echo $ac_n "checking for ld in $with_build_time_tools""... $ac_c" 1>&6
36088 -echo "configure:5554: checking for ld in $with_build_time_tools" >&5
36089 +echo "configure:5557: checking for ld in $with_build_time_tools" >&5
36090 if test -x $with_build_time_tools/ld; then
36091 LD_FOR_TARGET=`cd $with_build_time_tools && pwd`/ld
36092 ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
36093 @@ -5568,7 +5571,7 @@ if test -z "$ac_cv_path_LD_FOR_TARGET" ;
36094 # Extract the first word of "ld", so it can be a program name with args.
36095 set dummy ld; ac_word=$2
36096 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
36097 -echo "configure:5572: checking for $ac_word" >&5
36098 +echo "configure:5575: checking for $ac_word" >&5
36099 if eval "test \"`echo '$''{'ac_cv_path_LD_FOR_TARGET'+set}'`\" = set"; then
36100 echo $ac_n "(cached) $ac_c" 1>&6
36101 else
36102 @@ -5605,7 +5608,7 @@ if test -z "$ac_cv_path_LD_FOR_TARGET" ;
36103 if test -n "$with_build_time_tools"; then
36104 for ncn_progname in ld; do
36105 echo $ac_n "checking for ${ncn_progname} in $with_build_time_tools""... $ac_c" 1>&6
36106 -echo "configure:5609: checking for ${ncn_progname} in $with_build_time_tools" >&5
36107 +echo "configure:5612: checking for ${ncn_progname} in $with_build_time_tools" >&5
36108 if test -x $with_build_time_tools/${ncn_progname}; then
36109 ac_cv_prog_LD_FOR_TARGET=$with_build_time_tools/${ncn_progname}
36110 echo "$ac_t""yes" 1>&6
36111 @@ -5622,7 +5625,7 @@ if test -z "$ac_cv_prog_LD_FOR_TARGET";
36112 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
36113 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
36114 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
36115 -echo "configure:5626: checking for $ac_word" >&5
36116 +echo "configure:5629: checking for $ac_word" >&5
36117 if eval "test \"`echo '$''{'ac_cv_prog_LD_FOR_TARGET'+set}'`\" = set"; then
36118 echo $ac_n "(cached) $ac_c" 1>&6
36119 else
36120 @@ -5653,7 +5656,7 @@ fi
36121 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
36122 set dummy ${ncn_progname}; ac_word=$2
36123 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
36124 -echo "configure:5657: checking for $ac_word" >&5
36125 +echo "configure:5660: checking for $ac_word" >&5
36126 if eval "test \"`echo '$''{'ac_cv_prog_LD_FOR_TARGET'+set}'`\" = set"; then
36127 echo $ac_n "(cached) $ac_c" 1>&6
36128 else
36129 @@ -5703,7 +5706,7 @@ fi
36130 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
36131 if test -n "$with_build_time_tools"; then
36132 echo $ac_n "checking for lipo in $with_build_time_tools""... $ac_c" 1>&6
36133 -echo "configure:5707: checking for lipo in $with_build_time_tools" >&5
36134 +echo "configure:5710: checking for lipo in $with_build_time_tools" >&5
36135 if test -x $with_build_time_tools/lipo; then
36136 LIPO_FOR_TARGET=`cd $with_build_time_tools && pwd`/lipo
36137 ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
36138 @@ -5721,7 +5724,7 @@ if test -z "$ac_cv_path_LIPO_FOR_TARGET"
36139 # Extract the first word of "lipo", so it can be a program name with args.
36140 set dummy lipo; ac_word=$2
36141 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
36142 -echo "configure:5725: checking for $ac_word" >&5
36143 +echo "configure:5728: checking for $ac_word" >&5
36144 if eval "test \"`echo '$''{'ac_cv_path_LIPO_FOR_TARGET'+set}'`\" = set"; then
36145 echo $ac_n "(cached) $ac_c" 1>&6
36146 else
36147 @@ -5758,7 +5761,7 @@ if test -z "$ac_cv_path_LIPO_FOR_TARGET"
36148 if test -n "$with_build_time_tools"; then
36149 for ncn_progname in lipo; do
36150 echo $ac_n "checking for ${ncn_progname} in $with_build_time_tools""... $ac_c" 1>&6
36151 -echo "configure:5762: checking for ${ncn_progname} in $with_build_time_tools" >&5
36152 +echo "configure:5765: checking for ${ncn_progname} in $with_build_time_tools" >&5
36153 if test -x $with_build_time_tools/${ncn_progname}; then
36154 ac_cv_prog_LIPO_FOR_TARGET=$with_build_time_tools/${ncn_progname}
36155 echo "$ac_t""yes" 1>&6
36156 @@ -5775,7 +5778,7 @@ if test -z "$ac_cv_prog_LIPO_FOR_TARGET"
36157 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
36158 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
36159 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
36160 -echo "configure:5779: checking for $ac_word" >&5
36161 +echo "configure:5782: checking for $ac_word" >&5
36162 if eval "test \"`echo '$''{'ac_cv_prog_LIPO_FOR_TARGET'+set}'`\" = set"; then
36163 echo $ac_n "(cached) $ac_c" 1>&6
36164 else
36165 @@ -5806,7 +5809,7 @@ fi
36166 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
36167 set dummy ${ncn_progname}; ac_word=$2
36168 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
36169 -echo "configure:5810: checking for $ac_word" >&5
36170 +echo "configure:5813: checking for $ac_word" >&5
36171 if eval "test \"`echo '$''{'ac_cv_prog_LIPO_FOR_TARGET'+set}'`\" = set"; then
36172 echo $ac_n "(cached) $ac_c" 1>&6
36173 else
36174 @@ -5856,7 +5859,7 @@ fi
36175 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
36176 if test -n "$with_build_time_tools"; then
36177 echo $ac_n "checking for nm in $with_build_time_tools""... $ac_c" 1>&6
36178 -echo "configure:5860: checking for nm in $with_build_time_tools" >&5
36179 +echo "configure:5863: checking for nm in $with_build_time_tools" >&5
36180 if test -x $with_build_time_tools/nm; then
36181 NM_FOR_TARGET=`cd $with_build_time_tools && pwd`/nm
36182 ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
36183 @@ -5874,7 +5877,7 @@ if test -z "$ac_cv_path_NM_FOR_TARGET" ;
36184 # Extract the first word of "nm", so it can be a program name with args.
36185 set dummy nm; ac_word=$2
36186 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
36187 -echo "configure:5878: checking for $ac_word" >&5
36188 +echo "configure:5881: checking for $ac_word" >&5
36189 if eval "test \"`echo '$''{'ac_cv_path_NM_FOR_TARGET'+set}'`\" = set"; then
36190 echo $ac_n "(cached) $ac_c" 1>&6
36191 else
36192 @@ -5911,7 +5914,7 @@ if test -z "$ac_cv_path_NM_FOR_TARGET" ;
36193 if test -n "$with_build_time_tools"; then
36194 for ncn_progname in nm; do
36195 echo $ac_n "checking for ${ncn_progname} in $with_build_time_tools""... $ac_c" 1>&6
36196 -echo "configure:5915: checking for ${ncn_progname} in $with_build_time_tools" >&5
36197 +echo "configure:5918: checking for ${ncn_progname} in $with_build_time_tools" >&5
36198 if test -x $with_build_time_tools/${ncn_progname}; then
36199 ac_cv_prog_NM_FOR_TARGET=$with_build_time_tools/${ncn_progname}
36200 echo "$ac_t""yes" 1>&6
36201 @@ -5928,7 +5931,7 @@ if test -z "$ac_cv_prog_NM_FOR_TARGET";
36202 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
36203 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
36204 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
36205 -echo "configure:5932: checking for $ac_word" >&5
36206 +echo "configure:5935: checking for $ac_word" >&5
36207 if eval "test \"`echo '$''{'ac_cv_prog_NM_FOR_TARGET'+set}'`\" = set"; then
36208 echo $ac_n "(cached) $ac_c" 1>&6
36209 else
36210 @@ -5959,7 +5962,7 @@ fi
36211 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
36212 set dummy ${ncn_progname}; ac_word=$2
36213 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
36214 -echo "configure:5963: checking for $ac_word" >&5
36215 +echo "configure:5966: checking for $ac_word" >&5
36216 if eval "test \"`echo '$''{'ac_cv_prog_NM_FOR_TARGET'+set}'`\" = set"; then
36217 echo $ac_n "(cached) $ac_c" 1>&6
36218 else
36219 @@ -6009,7 +6012,7 @@ fi
36220 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
36221 if test -n "$with_build_time_tools"; then
36222 echo $ac_n "checking for objdump in $with_build_time_tools""... $ac_c" 1>&6
36223 -echo "configure:6013: checking for objdump in $with_build_time_tools" >&5
36224 +echo "configure:6016: checking for objdump in $with_build_time_tools" >&5
36225 if test -x $with_build_time_tools/objdump; then
36226 OBJDUMP_FOR_TARGET=`cd $with_build_time_tools && pwd`/objdump
36227 ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
36228 @@ -6027,7 +6030,7 @@ if test -z "$ac_cv_path_OBJDUMP_FOR_TARG
36229 # Extract the first word of "objdump", so it can be a program name with args.
36230 set dummy objdump; ac_word=$2
36231 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
36232 -echo "configure:6031: checking for $ac_word" >&5
36233 +echo "configure:6034: checking for $ac_word" >&5
36234 if eval "test \"`echo '$''{'ac_cv_path_OBJDUMP_FOR_TARGET'+set}'`\" = set"; then
36235 echo $ac_n "(cached) $ac_c" 1>&6
36236 else
36237 @@ -6064,7 +6067,7 @@ if test -z "$ac_cv_path_OBJDUMP_FOR_TARG
36238 if test -n "$with_build_time_tools"; then
36239 for ncn_progname in objdump; do
36240 echo $ac_n "checking for ${ncn_progname} in $with_build_time_tools""... $ac_c" 1>&6
36241 -echo "configure:6068: checking for ${ncn_progname} in $with_build_time_tools" >&5
36242 +echo "configure:6071: checking for ${ncn_progname} in $with_build_time_tools" >&5
36243 if test -x $with_build_time_tools/${ncn_progname}; then
36244 ac_cv_prog_OBJDUMP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
36245 echo "$ac_t""yes" 1>&6
36246 @@ -6081,7 +6084,7 @@ if test -z "$ac_cv_prog_OBJDUMP_FOR_TARG
36247 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
36248 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
36249 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
36250 -echo "configure:6085: checking for $ac_word" >&5
36251 +echo "configure:6088: checking for $ac_word" >&5
36252 if eval "test \"`echo '$''{'ac_cv_prog_OBJDUMP_FOR_TARGET'+set}'`\" = set"; then
36253 echo $ac_n "(cached) $ac_c" 1>&6
36254 else
36255 @@ -6112,7 +6115,7 @@ fi
36256 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
36257 set dummy ${ncn_progname}; ac_word=$2
36258 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
36259 -echo "configure:6116: checking for $ac_word" >&5
36260 +echo "configure:6119: checking for $ac_word" >&5
36261 if eval "test \"`echo '$''{'ac_cv_prog_OBJDUMP_FOR_TARGET'+set}'`\" = set"; then
36262 echo $ac_n "(cached) $ac_c" 1>&6
36263 else
36264 @@ -6162,7 +6165,7 @@ fi
36265 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
36266 if test -n "$with_build_time_tools"; then
36267 echo $ac_n "checking for ranlib in $with_build_time_tools""... $ac_c" 1>&6
36268 -echo "configure:6166: checking for ranlib in $with_build_time_tools" >&5
36269 +echo "configure:6169: checking for ranlib in $with_build_time_tools" >&5
36270 if test -x $with_build_time_tools/ranlib; then
36271 RANLIB_FOR_TARGET=`cd $with_build_time_tools && pwd`/ranlib
36272 ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
36273 @@ -6180,7 +6183,7 @@ if test -z "$ac_cv_path_RANLIB_FOR_TARGE
36274 # Extract the first word of "ranlib", so it can be a program name with args.
36275 set dummy ranlib; ac_word=$2
36276 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
36277 -echo "configure:6184: checking for $ac_word" >&5
36278 +echo "configure:6187: checking for $ac_word" >&5
36279 if eval "test \"`echo '$''{'ac_cv_path_RANLIB_FOR_TARGET'+set}'`\" = set"; then
36280 echo $ac_n "(cached) $ac_c" 1>&6
36281 else
36282 @@ -6217,7 +6220,7 @@ if test -z "$ac_cv_path_RANLIB_FOR_TARGE
36283 if test -n "$with_build_time_tools"; then
36284 for ncn_progname in ranlib; do
36285 echo $ac_n "checking for ${ncn_progname} in $with_build_time_tools""... $ac_c" 1>&6
36286 -echo "configure:6221: checking for ${ncn_progname} in $with_build_time_tools" >&5
36287 +echo "configure:6224: checking for ${ncn_progname} in $with_build_time_tools" >&5
36288 if test -x $with_build_time_tools/${ncn_progname}; then
36289 ac_cv_prog_RANLIB_FOR_TARGET=$with_build_time_tools/${ncn_progname}
36290 echo "$ac_t""yes" 1>&6
36291 @@ -6234,7 +6237,7 @@ if test -z "$ac_cv_prog_RANLIB_FOR_TARGE
36292 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
36293 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
36294 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
36295 -echo "configure:6238: checking for $ac_word" >&5
36296 +echo "configure:6241: checking for $ac_word" >&5
36297 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB_FOR_TARGET'+set}'`\" = set"; then
36298 echo $ac_n "(cached) $ac_c" 1>&6
36299 else
36300 @@ -6265,7 +6268,7 @@ fi
36301 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
36302 set dummy ${ncn_progname}; ac_word=$2
36303 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
36304 -echo "configure:6269: checking for $ac_word" >&5
36305 +echo "configure:6272: checking for $ac_word" >&5
36306 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB_FOR_TARGET'+set}'`\" = set"; then
36307 echo $ac_n "(cached) $ac_c" 1>&6
36308 else
36309 @@ -6315,7 +6318,7 @@ fi
36310 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
36311 if test -n "$with_build_time_tools"; then
36312 echo $ac_n "checking for strip in $with_build_time_tools""... $ac_c" 1>&6
36313 -echo "configure:6319: checking for strip in $with_build_time_tools" >&5
36314 +echo "configure:6322: checking for strip in $with_build_time_tools" >&5
36315 if test -x $with_build_time_tools/strip; then
36316 STRIP_FOR_TARGET=`cd $with_build_time_tools && pwd`/strip
36317 ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
36318 @@ -6333,7 +6336,7 @@ if test -z "$ac_cv_path_STRIP_FOR_TARGET
36319 # Extract the first word of "strip", so it can be a program name with args.
36320 set dummy strip; ac_word=$2
36321 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
36322 -echo "configure:6337: checking for $ac_word" >&5
36323 +echo "configure:6340: checking for $ac_word" >&5
36324 if eval "test \"`echo '$''{'ac_cv_path_STRIP_FOR_TARGET'+set}'`\" = set"; then
36325 echo $ac_n "(cached) $ac_c" 1>&6
36326 else
36327 @@ -6370,7 +6373,7 @@ if test -z "$ac_cv_path_STRIP_FOR_TARGET
36328 if test -n "$with_build_time_tools"; then
36329 for ncn_progname in strip; do
36330 echo $ac_n "checking for ${ncn_progname} in $with_build_time_tools""... $ac_c" 1>&6
36331 -echo "configure:6374: checking for ${ncn_progname} in $with_build_time_tools" >&5
36332 +echo "configure:6377: checking for ${ncn_progname} in $with_build_time_tools" >&5
36333 if test -x $with_build_time_tools/${ncn_progname}; then
36334 ac_cv_prog_STRIP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
36335 echo "$ac_t""yes" 1>&6
36336 @@ -6387,7 +6390,7 @@ if test -z "$ac_cv_prog_STRIP_FOR_TARGET
36337 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
36338 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
36339 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
36340 -echo "configure:6391: checking for $ac_word" >&5
36341 +echo "configure:6394: checking for $ac_word" >&5
36342 if eval "test \"`echo '$''{'ac_cv_prog_STRIP_FOR_TARGET'+set}'`\" = set"; then
36343 echo $ac_n "(cached) $ac_c" 1>&6
36344 else
36345 @@ -6418,7 +6421,7 @@ fi
36346 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
36347 set dummy ${ncn_progname}; ac_word=$2
36348 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
36349 -echo "configure:6422: checking for $ac_word" >&5
36350 +echo "configure:6425: checking for $ac_word" >&5
36351 if eval "test \"`echo '$''{'ac_cv_prog_STRIP_FOR_TARGET'+set}'`\" = set"; then
36352 echo $ac_n "(cached) $ac_c" 1>&6
36353 else
36354 @@ -6468,7 +6471,7 @@ fi
36355 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
36356 if test -n "$with_build_time_tools"; then
36357 echo $ac_n "checking for windres in $with_build_time_tools""... $ac_c" 1>&6
36358 -echo "configure:6472: checking for windres in $with_build_time_tools" >&5
36359 +echo "configure:6475: checking for windres in $with_build_time_tools" >&5
36360 if test -x $with_build_time_tools/windres; then
36361 WINDRES_FOR_TARGET=`cd $with_build_time_tools && pwd`/windres
36362 ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
36363 @@ -6486,7 +6489,7 @@ if test -z "$ac_cv_path_WINDRES_FOR_TARG
36364 # Extract the first word of "windres", so it can be a program name with args.
36365 set dummy windres; ac_word=$2
36366 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
36367 -echo "configure:6490: checking for $ac_word" >&5
36368 +echo "configure:6493: checking for $ac_word" >&5
36369 if eval "test \"`echo '$''{'ac_cv_path_WINDRES_FOR_TARGET'+set}'`\" = set"; then
36370 echo $ac_n "(cached) $ac_c" 1>&6
36371 else
36372 @@ -6523,7 +6526,7 @@ if test -z "$ac_cv_path_WINDRES_FOR_TARG
36373 if test -n "$with_build_time_tools"; then
36374 for ncn_progname in windres; do
36375 echo $ac_n "checking for ${ncn_progname} in $with_build_time_tools""... $ac_c" 1>&6
36376 -echo "configure:6527: checking for ${ncn_progname} in $with_build_time_tools" >&5
36377 +echo "configure:6530: checking for ${ncn_progname} in $with_build_time_tools" >&5
36378 if test -x $with_build_time_tools/${ncn_progname}; then
36379 ac_cv_prog_WINDRES_FOR_TARGET=$with_build_time_tools/${ncn_progname}
36380 echo "$ac_t""yes" 1>&6
36381 @@ -6540,7 +6543,7 @@ if test -z "$ac_cv_prog_WINDRES_FOR_TARG
36382 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
36383 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
36384 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
36385 -echo "configure:6544: checking for $ac_word" >&5
36386 +echo "configure:6547: checking for $ac_word" >&5
36387 if eval "test \"`echo '$''{'ac_cv_prog_WINDRES_FOR_TARGET'+set}'`\" = set"; then
36388 echo $ac_n "(cached) $ac_c" 1>&6
36389 else
36390 @@ -6571,7 +6574,7 @@ fi
36391 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
36392 set dummy ${ncn_progname}; ac_word=$2
36393 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
36394 -echo "configure:6575: checking for $ac_word" >&5
36395 +echo "configure:6578: checking for $ac_word" >&5
36396 if eval "test \"`echo '$''{'ac_cv_prog_WINDRES_FOR_TARGET'+set}'`\" = set"; then
36397 echo $ac_n "(cached) $ac_c" 1>&6
36398 else
36399 @@ -6619,7 +6622,7 @@ fi
36400 RAW_CXX_FOR_TARGET="$CXX_FOR_TARGET"
36401
36402 echo $ac_n "checking where to find the target ar""... $ac_c" 1>&6
36403 -echo "configure:6623: checking where to find the target ar" >&5
36404 +echo "configure:6626: checking where to find the target ar" >&5
36405 if test "x${build}" != "x${host}" ; then
36406 if expr "x$AR_FOR_TARGET" : "x/" > /dev/null; then
36407 # We already found the complete path
36408 @@ -6652,7 +6655,7 @@ else
36409 fi
36410 fi
36411 echo $ac_n "checking where to find the target as""... $ac_c" 1>&6
36412 -echo "configure:6656: checking where to find the target as" >&5
36413 +echo "configure:6659: checking where to find the target as" >&5
36414 if test "x${build}" != "x${host}" ; then
36415 if expr "x$AS_FOR_TARGET" : "x/" > /dev/null; then
36416 # We already found the complete path
36417 @@ -6685,7 +6688,7 @@ else
36418 fi
36419 fi
36420 echo $ac_n "checking where to find the target cc""... $ac_c" 1>&6
36421 -echo "configure:6689: checking where to find the target cc" >&5
36422 +echo "configure:6692: checking where to find the target cc" >&5
36423 if test "x${build}" != "x${host}" ; then
36424 if expr "x$CC_FOR_TARGET" : "x/" > /dev/null; then
36425 # We already found the complete path
36426 @@ -6718,7 +6721,7 @@ else
36427 fi
36428 fi
36429 echo $ac_n "checking where to find the target c++""... $ac_c" 1>&6
36430 -echo "configure:6722: checking where to find the target c++" >&5
36431 +echo "configure:6725: checking where to find the target c++" >&5
36432 if test "x${build}" != "x${host}" ; then
36433 if expr "x$CXX_FOR_TARGET" : "x/" > /dev/null; then
36434 # We already found the complete path
36435 @@ -6754,7 +6757,7 @@ else
36436 fi
36437 fi
36438 echo $ac_n "checking where to find the target c++ for libstdc++""... $ac_c" 1>&6
36439 -echo "configure:6758: checking where to find the target c++ for libstdc++" >&5
36440 +echo "configure:6761: checking where to find the target c++ for libstdc++" >&5
36441 if test "x${build}" != "x${host}" ; then
36442 if expr "x$RAW_CXX_FOR_TARGET" : "x/" > /dev/null; then
36443 # We already found the complete path
36444 @@ -6790,7 +6793,7 @@ else
36445 fi
36446 fi
36447 echo $ac_n "checking where to find the target dlltool""... $ac_c" 1>&6
36448 -echo "configure:6794: checking where to find the target dlltool" >&5
36449 +echo "configure:6797: checking where to find the target dlltool" >&5
36450 if test "x${build}" != "x${host}" ; then
36451 if expr "x$DLLTOOL_FOR_TARGET" : "x/" > /dev/null; then
36452 # We already found the complete path
36453 @@ -6823,7 +6826,7 @@ else
36454 fi
36455 fi
36456 echo $ac_n "checking where to find the target gcc""... $ac_c" 1>&6
36457 -echo "configure:6827: checking where to find the target gcc" >&5
36458 +echo "configure:6830: checking where to find the target gcc" >&5
36459 if test "x${build}" != "x${host}" ; then
36460 if expr "x$GCC_FOR_TARGET" : "x/" > /dev/null; then
36461 # We already found the complete path
36462 @@ -6856,7 +6859,7 @@ else
36463 fi
36464 fi
36465 echo $ac_n "checking where to find the target gcj""... $ac_c" 1>&6
36466 -echo "configure:6860: checking where to find the target gcj" >&5
36467 +echo "configure:6863: checking where to find the target gcj" >&5
36468 if test "x${build}" != "x${host}" ; then
36469 if expr "x$GCJ_FOR_TARGET" : "x/" > /dev/null; then
36470 # We already found the complete path
36471 @@ -6892,7 +6895,7 @@ else
36472 fi
36473 fi
36474 echo $ac_n "checking where to find the target gfortran""... $ac_c" 1>&6
36475 -echo "configure:6896: checking where to find the target gfortran" >&5
36476 +echo "configure:6899: checking where to find the target gfortran" >&5
36477 if test "x${build}" != "x${host}" ; then
36478 if expr "x$GFORTRAN_FOR_TARGET" : "x/" > /dev/null; then
36479 # We already found the complete path
36480 @@ -6928,7 +6931,7 @@ else
36481 fi
36482 fi
36483 echo $ac_n "checking where to find the target ld""... $ac_c" 1>&6
36484 -echo "configure:6932: checking where to find the target ld" >&5
36485 +echo "configure:6935: checking where to find the target ld" >&5
36486 if test "x${build}" != "x${host}" ; then
36487 if expr "x$LD_FOR_TARGET" : "x/" > /dev/null; then
36488 # We already found the complete path
36489 @@ -6961,7 +6964,7 @@ else
36490 fi
36491 fi
36492 echo $ac_n "checking where to find the target lipo""... $ac_c" 1>&6
36493 -echo "configure:6965: checking where to find the target lipo" >&5
36494 +echo "configure:6968: checking where to find the target lipo" >&5
36495 if test "x${build}" != "x${host}" ; then
36496 if expr "x$LIPO_FOR_TARGET" : "x/" > /dev/null; then
36497 # We already found the complete path
36498 @@ -6984,7 +6987,7 @@ else
36499 fi
36500 fi
36501 echo $ac_n "checking where to find the target nm""... $ac_c" 1>&6
36502 -echo "configure:6988: checking where to find the target nm" >&5
36503 +echo "configure:6991: checking where to find the target nm" >&5
36504 if test "x${build}" != "x${host}" ; then
36505 if expr "x$NM_FOR_TARGET" : "x/" > /dev/null; then
36506 # We already found the complete path
36507 @@ -7017,7 +7020,7 @@ else
36508 fi
36509 fi
36510 echo $ac_n "checking where to find the target objdump""... $ac_c" 1>&6
36511 -echo "configure:7021: checking where to find the target objdump" >&5
36512 +echo "configure:7024: checking where to find the target objdump" >&5
36513 if test "x${build}" != "x${host}" ; then
36514 if expr "x$OBJDUMP_FOR_TARGET" : "x/" > /dev/null; then
36515 # We already found the complete path
36516 @@ -7050,7 +7053,7 @@ else
36517 fi
36518 fi
36519 echo $ac_n "checking where to find the target ranlib""... $ac_c" 1>&6
36520 -echo "configure:7054: checking where to find the target ranlib" >&5
36521 +echo "configure:7057: checking where to find the target ranlib" >&5
36522 if test "x${build}" != "x${host}" ; then
36523 if expr "x$RANLIB_FOR_TARGET" : "x/" > /dev/null; then
36524 # We already found the complete path
36525 @@ -7083,7 +7086,7 @@ else
36526 fi
36527 fi
36528 echo $ac_n "checking where to find the target strip""... $ac_c" 1>&6
36529 -echo "configure:7087: checking where to find the target strip" >&5
36530 +echo "configure:7090: checking where to find the target strip" >&5
36531 if test "x${build}" != "x${host}" ; then
36532 if expr "x$STRIP_FOR_TARGET" : "x/" > /dev/null; then
36533 # We already found the complete path
36534 @@ -7116,7 +7119,7 @@ else
36535 fi
36536 fi
36537 echo $ac_n "checking where to find the target windres""... $ac_c" 1>&6
36538 -echo "configure:7120: checking where to find the target windres" >&5
36539 +echo "configure:7123: checking where to find the target windres" >&5
36540 if test "x${build}" != "x${host}" ; then
36541 if expr "x$WINDRES_FOR_TARGET" : "x/" > /dev/null; then
36542 # We already found the complete path
36543 @@ -7177,7 +7180,7 @@ fi
36544
36545
36546 echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6
36547 -echo "configure:7181: checking whether to enable maintainer-specific portions of Makefiles" >&5
36548 +echo "configure:7184: checking whether to enable maintainer-specific portions of Makefiles" >&5
36549 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
36550 if test "${enable_maintainer_mode+set}" = set; then
36551 enableval="$enable_maintainer_mode"
36552 @@ -7334,34 +7337,15 @@ trap 'rm -f $CONFIG_STATUS conftest*; ex
36553 # Transform confdefs.h into DEFS.
36554 # Protect against shell expansion while executing Makefile rules.
36555 # Protect against Makefile macro expansion.
36556 -#
36557 -# If the first sed substitution is executed (which looks for macros that
36558 -# take arguments), then we branch to the quote section. Otherwise,
36559 -# look for a macro that doesn't take arguments.
36560 -cat >confdef2opt.sed <<\_ACEOF
36561 -t clear
36562 -: clear
36563 -s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
36564 -t quote
36565 -s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
36566 -t quote
36567 -d
36568 -: quote
36569 -s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
36570 -s,\[,\\&,g
36571 -s,\],\\&,g
36572 -s,\$,$$,g
36573 -p
36574 -_ACEOF
36575 -# We use echo to avoid assuming a particular line-breaking character.
36576 -# The extra dot is to prevent the shell from consuming trailing
36577 -# line-breaks from the sub-command output. A line-break within
36578 -# single-quotes doesn't work because, if this script is created in a
36579 -# platform that uses two characters for line-breaks (e.g., DOS), tr
36580 -# would break.
36581 -ac_LF_and_DOT=`echo; echo .`
36582 -DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
36583 -rm -f confdef2opt.sed
36584 +cat > conftest.defs <<\EOF
36585 +s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%-D\1=\2%g
36586 +s%[ `~#$^&*(){}\\|;'"<>?]%\\&%g
36587 +s%\[%\\&%g
36588 +s%\]%\\&%g
36589 +s%\$%$$%g
36590 +EOF
36591 +DEFS=`sed -f conftest.defs confdefs.h | tr '\012' ' '`
36592 +rm -f conftest.defs
36593
36594
36595 # Without the "./", some shells look in PATH for config.status.
36596 diff -Nrup binutils-2.17/configure.in binutils-2.17-atmel/configure.in
36597 --- binutils-2.17/configure.in 2006-06-23 20:19:53.000000000 +0200
36598 +++ binutils-2.17-atmel/configure.in 2007-02-12 15:37:09.000000000 +0100
36599 @@ -269,6 +269,9 @@ unsupported_languages=
36600 # exist yet.
36601
36602 case "${host}" in
36603 + avr32*-*-*)
36604 + noconfigdirs="$noconfigdirs readline gdb"
36605 + ;;
36606 hppa*64*-*-*)
36607 noconfigdirs="$noconfigdirs byacc"
36608 ;;
36609 diff -Nrup binutils-2.17/gas/as.c binutils-2.17-atmel/gas/as.c
36610 --- binutils-2.17/gas/as.c 2006-02-09 01:07:41.000000000 +0100
36611 +++ binutils-2.17-atmel/gas/as.c 2007-02-12 15:37:09.000000000 +0100
36612 @@ -439,10 +439,10 @@ parse_args (int * pargc, char *** pargv)
36613 the end of the preceeding line so that it is simpler to
36614 selectively add and remove lines from this list. */
36615 {"alternate", no_argument, NULL, OPTION_ALTERNATE}
36616 - /* The entry for "a" is here to prevent getopt_long_only() from
36617 - considering that -a is an abbreviation for --alternate. This is
36618 - necessary because -a=<FILE> is a valid switch but getopt would
36619 - normally reject it since --alternate does not take an argument. */
36620 + /* The next two entries are here to prevent getopt_long_only() from
36621 + considering that -a or -al is an abbreviation for --alternate.
36622 + This is necessary because -a=<FILE> is a valid switch but getopt
36623 + would normally reject it since --alternate does not take an argument. */
36624 ,{"a", optional_argument, NULL, 'a'}
36625 /* Handle -al=<FILE>. */
36626 ,{"al", optional_argument, NULL, OPTION_AL}
36627 @@ -795,8 +795,15 @@ the GNU General Public License. This pr
36628 case 'a':
36629 if (optarg)
36630 {
36631 - if (optarg != old_argv[optind] && optarg[-1] == '=')
36632 - --optarg;
36633 + /* If optarg is part of the -a switch and not a separate argument
36634 + in its own right, then scan backwards to the just after the -a.
36635 + This means skipping over both '=' and 'l' which might have been
36636 + taken to be part of the -a switch itself. */
36637 + if (optarg != old_argv[optind])
36638 + {
36639 + while (optarg[-1] == '=' || optarg[-1] == 'l')
36640 + --optarg;
36641 + }
36642
36643 if (md_parse_option (optc, optarg) != 0)
36644 break;
36645 @@ -1189,7 +1196,7 @@ main (int argc, char ** argv)
36646 keep_it = 0;
36647
36648 if (!keep_it)
36649 - unlink_if_ordinary (out_file_name);
36650 + unlink (out_file_name);
36651
36652 input_scrub_end ();
36653
36654 diff -Nrup binutils-2.17/gas/config/bfin-aux.h binutils-2.17-atmel/gas/config/bfin-aux.h
36655 --- binutils-2.17/gas/config/bfin-aux.h 2005-09-30 17:05:06.000000000 +0200
36656 +++ binutils-2.17-atmel/gas/config/bfin-aux.h 2007-02-12 15:37:09.000000000 +0100
36657 @@ -1,151 +1,151 @@
36658 -/* bfin-aux.h ADI Blackfin Header file for gas
36659 - Copyright 2005
36660 - Free Software Foundation, Inc.
36661 -
36662 - This file is part of GAS, the GNU Assembler.
36663 -
36664 - GAS is free software; you can redistribute it and/or modify
36665 - it under the terms of the GNU General Public License as published by
36666 - the Free Software Foundation; either version 2, or (at your option)
36667 - any later version.
36668 -
36669 - GAS is distributed in the hope that it will be useful,
36670 - but WITHOUT ANY WARRANTY; without even the implied warranty of
36671 - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
36672 - GNU General Public License for more details.
36673 -
36674 - You should have received a copy of the GNU General Public License
36675 - along with GAS; see the file COPYING. If not, write to the Free
36676 - Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA
36677 - 02110-1301, USA. */
36678 -
36679 -#include "bfin-defs.h"
36680 -
36681 -#define REG_T Register *
36682 -
36683 -INSTR_T
36684 -bfin_gen_dsp32mac (int op1, int mm, int mmod, int w1, int p,
36685 - int h01, int h11, int h00, int h10,
36686 - int op0, REG_T dst, REG_T src0, REG_T src1, int w0);
36687 -
36688 -INSTR_T
36689 -bfin_gen_dsp32mult (int op1, int mm, int mmod, int w1, int p,
36690 - int h01, int h11, int h00, int h10,
36691 - int op0, REG_T dst, REG_T src0, REG_T src1, int w0);
36692 -
36693 -INSTR_T
36694 -bfin_gen_dsp32alu (int HL, int aopcde, int aop, int s, int x,
36695 - REG_T dst0, REG_T dst1, REG_T src0, REG_T src1);
36696 -
36697 -INSTR_T
36698 -bfin_gen_dsp32shift (int sopcde, REG_T dst0, REG_T src0, REG_T src1,
36699 - int sop, int hls);
36700 -
36701 -INSTR_T
36702 -bfin_gen_dsp32shiftimm (int sopcde, REG_T dst0, int immag, REG_T src1,
36703 - int sop, int hls);
36704 -
36705 -INSTR_T
36706 -bfin_gen_ldimmhalf (REG_T reg, int h, int s, int z, Expr_Node *hword,
36707 - int reloc);
36708 -
36709 -INSTR_T
36710 -bfin_gen_ldstidxi (REG_T ptr, REG_T reg, int w, int sz, int z,
36711 - Expr_Node *offset);
36712 -
36713 -INSTR_T
36714 -bfin_gen_ldst (REG_T ptr, REG_T reg, int aop, int sz, int z, int w);
36715 -
36716 -INSTR_T
36717 -bfin_gen_ldstii (REG_T ptr, REG_T reg, Expr_Node *offset, int w, int op);
36718 -
36719 -INSTR_T
36720 -bfin_gen_ldstiifp (REG_T reg, Expr_Node *offset, int w);
36721 -
36722 -INSTR_T
36723 -bfin_gen_ldstpmod (REG_T ptr, REG_T reg, int aop, int w, REG_T idx);
36724 -
36725 -INSTR_T
36726 -bfin_gen_dspldst (REG_T i, REG_T reg, int aop, int w, int m);
36727 -
36728 -INSTR_T
36729 -bfin_gen_alu2op (REG_T dst, REG_T src, int opc);
36730 -
36731 -INSTR_T
36732 -bfin_gen_compi2opd (REG_T dst, int src, int op);
36733 -
36734 -INSTR_T
36735 -bfin_gen_compi2opp (REG_T dst, int src, int op);
36736 -
36737 -INSTR_T
36738 -bfin_gen_dagmodik (REG_T i, int op);
36739 -
36740 -INSTR_T
36741 -bfin_gen_dagmodim (REG_T i, REG_T m, int op, int br);
36742 -
36743 -INSTR_T
36744 -bfin_gen_ptr2op (REG_T dst, REG_T src, int opc);
36745 -
36746 -INSTR_T
36747 -bfin_gen_logi2op (int dst, int src, int opc);
36748 -
36749 -INSTR_T
36750 -bfin_gen_comp3op (REG_T src0, REG_T src1, REG_T dst, int opc);
36751 -
36752 -INSTR_T
36753 -bfin_gen_ccmv (REG_T src, REG_T dst, int t);
36754 -
36755 -INSTR_T
36756 -bfin_gen_ccflag (REG_T x, int y, int opc, int i, int g);
36757 -
36758 -INSTR_T
36759 -bfin_gen_cc2stat (int cbit, int op, int d);
36760 -
36761 -INSTR_T
36762 -bfin_gen_regmv (REG_T src, REG_T dst);
36763 -
36764 -INSTR_T
36765 -bfin_gen_cc2dreg (int op, REG_T reg);
36766 -
36767 -INSTR_T
36768 -bfin_gen_brcc (int t, int b, Expr_Node *offset);
36769 -
36770 -INSTR_T
36771 -bfin_gen_ujump (Expr_Node *offset);
36772 -
36773 -INSTR_T
36774 -bfin_gen_cactrl (REG_T reg, int a, int op);
36775 -
36776 -INSTR_T
36777 -bfin_gen_progctrl (int prgfunc, int poprnd);
36778 -
36779 -INSTR_T
36780 -bfin_gen_loopsetup (Expr_Node *soffset, REG_T c, int rop,
36781 - Expr_Node *eoffset, REG_T reg);
36782 -
36783 -INSTR_T
36784 -bfin_gen_loop (Expr_Node *expr, REG_T reg, int rop, REG_T preg);
36785 -
36786 -INSTR_T
36787 -bfin_gen_pushpopmultiple (int dr, int pr, int d, int p, int w);
36788 -
36789 -INSTR_T
36790 -bfin_gen_pushpopreg (REG_T reg, int w);
36791 -
36792 -INSTR_T
36793 -bfin_gen_calla (Expr_Node *addr, int s);
36794 -
36795 -INSTR_T
36796 -bfin_gen_linkage (int r, int framesize);
36797 -
36798 -INSTR_T
36799 -bfin_gen_pseudodbg (int fn, int reg, int grp);
36800 -
36801 -INSTR_T
36802 -bfin_gen_pseudodbg_assert (int dbgop, REG_T regtest, int expected);
36803 -
36804 -bfd_boolean
36805 -bfin_resource_conflict (INSTR_T dsp32, INSTR_T dsp16_grp1, INSTR_T dsp16_grp2);
36806 -
36807 -INSTR_T
36808 -bfin_gen_multi_instr (INSTR_T dsp32, INSTR_T dsp16_grp1, INSTR_T dsp16_grp2);
36809 +/* bfin-aux.h ADI Blackfin Header file for gas
36810 + Copyright 2005
36811 + Free Software Foundation, Inc.
36812 +
36813 + This file is part of GAS, the GNU Assembler.
36814 +
36815 + GAS is free software; you can redistribute it and/or modify
36816 + it under the terms of the GNU General Public License as published by
36817 + the Free Software Foundation; either version 2, or (at your option)
36818 + any later version.
36819 +
36820 + GAS is distributed in the hope that it will be useful,
36821 + but WITHOUT ANY WARRANTY; without even the implied warranty of
36822 + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
36823 + GNU General Public License for more details.
36824 +
36825 + You should have received a copy of the GNU General Public License
36826 + along with GAS; see the file COPYING. If not, write to the Free
36827 + Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA
36828 + 02110-1301, USA. */
36829 +
36830 +#include "bfin-defs.h"
36831 +
36832 +#define REG_T Register *
36833 +
36834 +INSTR_T
36835 +bfin_gen_dsp32mac (int op1, int mm, int mmod, int w1, int p,
36836 + int h01, int h11, int h00, int h10,
36837 + int op0, REG_T dst, REG_T src0, REG_T src1, int w0);
36838 +
36839 +INSTR_T
36840 +bfin_gen_dsp32mult (int op1, int mm, int mmod, int w1, int p,
36841 + int h01, int h11, int h00, int h10,
36842 + int op0, REG_T dst, REG_T src0, REG_T src1, int w0);
36843 +
36844 +INSTR_T
36845 +bfin_gen_dsp32alu (int HL, int aopcde, int aop, int s, int x,
36846 + REG_T dst0, REG_T dst1, REG_T src0, REG_T src1);
36847 +
36848 +INSTR_T
36849 +bfin_gen_dsp32shift (int sopcde, REG_T dst0, REG_T src0, REG_T src1,
36850 + int sop, int hls);
36851 +
36852 +INSTR_T
36853 +bfin_gen_dsp32shiftimm (int sopcde, REG_T dst0, int immag, REG_T src1,
36854 + int sop, int hls);
36855 +
36856 +INSTR_T
36857 +bfin_gen_ldimmhalf (REG_T reg, int h, int s, int z, Expr_Node *hword,
36858 + int reloc);
36859 +
36860 +INSTR_T
36861 +bfin_gen_ldstidxi (REG_T ptr, REG_T reg, int w, int sz, int z,
36862 + Expr_Node *offset);
36863 +
36864 +INSTR_T
36865 +bfin_gen_ldst (REG_T ptr, REG_T reg, int aop, int sz, int z, int w);
36866 +
36867 +INSTR_T
36868 +bfin_gen_ldstii (REG_T ptr, REG_T reg, Expr_Node *offset, int w, int op);
36869 +
36870 +INSTR_T
36871 +bfin_gen_ldstiifp (REG_T reg, Expr_Node *offset, int w);
36872 +
36873 +INSTR_T
36874 +bfin_gen_ldstpmod (REG_T ptr, REG_T reg, int aop, int w, REG_T idx);
36875 +
36876 +INSTR_T
36877 +bfin_gen_dspldst (REG_T i, REG_T reg, int aop, int w, int m);
36878 +
36879 +INSTR_T
36880 +bfin_gen_alu2op (REG_T dst, REG_T src, int opc);
36881 +
36882 +INSTR_T
36883 +bfin_gen_compi2opd (REG_T dst, int src, int op);
36884 +
36885 +INSTR_T
36886 +bfin_gen_compi2opp (REG_T dst, int src, int op);
36887 +
36888 +INSTR_T
36889 +bfin_gen_dagmodik (REG_T i, int op);
36890 +
36891 +INSTR_T
36892 +bfin_gen_dagmodim (REG_T i, REG_T m, int op, int br);
36893 +
36894 +INSTR_T
36895 +bfin_gen_ptr2op (REG_T dst, REG_T src, int opc);
36896 +
36897 +INSTR_T
36898 +bfin_gen_logi2op (int dst, int src, int opc);
36899 +
36900 +INSTR_T
36901 +bfin_gen_comp3op (REG_T src0, REG_T src1, REG_T dst, int opc);
36902 +
36903 +INSTR_T
36904 +bfin_gen_ccmv (REG_T src, REG_T dst, int t);
36905 +
36906 +INSTR_T
36907 +bfin_gen_ccflag (REG_T x, int y, int opc, int i, int g);
36908 +
36909 +INSTR_T
36910 +bfin_gen_cc2stat (int cbit, int op, int d);
36911 +
36912 +INSTR_T
36913 +bfin_gen_regmv (REG_T src, REG_T dst);
36914 +
36915 +INSTR_T
36916 +bfin_gen_cc2dreg (int op, REG_T reg);
36917 +
36918 +INSTR_T
36919 +bfin_gen_brcc (int t, int b, Expr_Node *offset);
36920 +
36921 +INSTR_T
36922 +bfin_gen_ujump (Expr_Node *offset);
36923 +
36924 +INSTR_T
36925 +bfin_gen_cactrl (REG_T reg, int a, int op);
36926 +
36927 +INSTR_T
36928 +bfin_gen_progctrl (int prgfunc, int poprnd);
36929 +
36930 +INSTR_T
36931 +bfin_gen_loopsetup (Expr_Node *soffset, REG_T c, int rop,
36932 + Expr_Node *eoffset, REG_T reg);
36933 +
36934 +INSTR_T
36935 +bfin_gen_loop (Expr_Node *expr, REG_T reg, int rop, REG_T preg);
36936 +
36937 +INSTR_T
36938 +bfin_gen_pushpopmultiple (int dr, int pr, int d, int p, int w);
36939 +
36940 +INSTR_T
36941 +bfin_gen_pushpopreg (REG_T reg, int w);
36942 +
36943 +INSTR_T
36944 +bfin_gen_calla (Expr_Node *addr, int s);
36945 +
36946 +INSTR_T
36947 +bfin_gen_linkage (int r, int framesize);
36948 +
36949 +INSTR_T
36950 +bfin_gen_pseudodbg (int fn, int reg, int grp);
36951 +
36952 +INSTR_T
36953 +bfin_gen_pseudodbg_assert (int dbgop, REG_T regtest, int expected);
36954 +
36955 +bfd_boolean
36956 +bfin_resource_conflict (INSTR_T dsp32, INSTR_T dsp16_grp1, INSTR_T dsp16_grp2);
36957 +
36958 +INSTR_T
36959 +bfin_gen_multi_instr (INSTR_T dsp32, INSTR_T dsp16_grp1, INSTR_T dsp16_grp2);
36960 diff -Nrup binutils-2.17/gas/config/tc-avr32.c binutils-2.17-atmel/gas/config/tc-avr32.c
36961 --- binutils-2.17/gas/config/tc-avr32.c 1970-01-01 01:00:00.000000000 +0100
36962 +++ binutils-2.17-atmel/gas/config/tc-avr32.c 2007-02-12 15:37:09.000000000 +0100
36963 @@ -0,0 +1,4714 @@
36964 +/* Assembler implementation for AVR32.
36965 + Copyright 2003-2006 Atmel Corporation.
36966 +
36967 + Written by Haavard Skinnemoen, Atmel Norway, <hskinnemoen@atmel.com>
36968 +
36969 + This file is part of GAS, the GNU Assembler.
36970 +
36971 + GAS is free software; you can redistribute it and/or modify it
36972 + under the terms of the GNU General Public License as published by
36973 + the Free Software Foundation; either version 2, or (at your option)
36974 + any later version.
36975 +
36976 + GAS is distributed in the hope that it will be useful, but WITHOUT
36977 + ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
36978 + or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
36979 + License for more details.
36980 +
36981 + You should have received a copy of the GNU General Public License
36982 + along with GAS; see the file COPYING. If not, write to the Free
36983 + Software Foundation, 59 Temple Place - Suite 330, Boston, MA
36984 + 02111-1307, USA. */
36985 +
36986 +#include <stdio.h>
36987 +#include "as.h"
36988 +#include "safe-ctype.h"
36989 +#include "subsegs.h"
36990 +#include "symcat.h"
36991 +#include "opcodes/avr32-opc.h"
36992 +#include "opcodes/avr32-asm.h"
36993 +#include "elf/avr32.h"
36994 +#include "dwarf2dbg.h"
36995 +
36996 +#define xDEBUG
36997 +#define xOPC_CONSISTENCY_CHECK
36998 +
36999 +#ifdef DEBUG
37000 +# define pr_debug(fmt, args...) fprintf(stderr, fmt, ##args)
37001 +#else
37002 +# define pr_debug(fmt, args...)
37003 +#endif
37004 +
37005 +/* 3 MSB of instruction word indicate group. Group 7 -> extended */
37006 +#define AVR32_COMPACT_P(opcode) ((opcode[0] & 0xe0) != 0xe0)
37007 +
37008 +#define streq(a, b) (strcmp(a, b) == 0)
37009 +#define skip_whitespace(str) do { while(*(str) == ' ') ++(str); } while(0)
37010 +
37011 +/* Flags given on the command line */
37012 +static int avr32_pic = FALSE;
37013 +int linkrelax = FALSE;
37014 +int avr32_iarcompat = FALSE;
37015 +
37016 +/* This array holds the chars that always start a comment. */
37017 +const char comment_chars[] = "#";
37018 +
37019 +/* This array holds the chars that only start a comment at the
37020 + beginning of a line. We must include '#' here because the compiler
37021 + may produce #APP and #NO_APP in its output. */
37022 +const char line_comment_chars[] = "#";
37023 +
37024 +/* These may be used instead of newline (same as ';' in C). */
37025 +const char line_separator_chars[] = ";";
37026 +
37027 +/* Chars that can be used to separate mantissa from exponent in
37028 + floating point numbers. */
37029 +const char EXP_CHARS[] = "eE";
37030 +
37031 +/* Chars that mean this number is a floating point constant. */
37032 +const char FLT_CHARS[] = "dD";
37033 +
37034 +/* Pre-defined "_GLOBAL_OFFSET_TABLE_" */
37035 +symbolS *GOT_symbol;
37036 +
37037 +static struct hash_control *avr32_mnemonic_htab;
37038 +
37039 +struct avr32_ifield_data
37040 +{
37041 + bfd_vma value;
37042 + /* FIXME: Get rid of align_order and complain. complain is never
37043 + used, align_order is used in one place. Try to use the relax
37044 + table instead. */
37045 + unsigned int align_order;
37046 +};
37047 +
37048 +struct avr32_insn
37049 +{
37050 + const struct avr32_syntax *syntax;
37051 + expressionS immediate;
37052 + int pcrel;
37053 + int force_extended;
37054 + unsigned int next_slot;
37055 + bfd_reloc_code_real_type r_type;
37056 + struct avr32_ifield_data field_value[AVR32_MAX_FIELDS];
37057 +};
37058 +
37059 +static struct avr32_insn current_insn;
37060 +
37061 +/* The target specific pseudo-ops we support. */
37062 +static void s_rseg (int);
37063 +static void s_cpool(int);
37064 +
37065 +const pseudo_typeS md_pseudo_table[] =
37066 +{
37067 + /* Make sure that .word is 32 bits */
37068 + { "word", cons, 4 },
37069 + { "file", (void (*) PARAMS ((int))) dwarf2_directive_file, 0 },
37070 + { "loc", dwarf2_directive_loc, 0 },
37071 +
37072 + /* .lcomm requires an explicit alignment parameter */
37073 + { "lcomm", s_lcomm, 1 },
37074 +
37075 + /* AVR32-specific pseudo-ops */
37076 + { "cpool", s_cpool, 0},
37077 +
37078 + /* IAR compatible pseudo-ops */
37079 + { "program", s_ignore, 0 },
37080 + { "public", s_globl, 0 },
37081 + { "extern", s_ignore, 0 },
37082 + { "module", s_ignore, 0 },
37083 + { "rseg", s_rseg, 0 },
37084 + { "dc8", cons, 1 },
37085 + { "dc16", cons, 2 },
37086 + { "dc32", cons, 4 },
37087 +
37088 + { NULL, NULL, 0 }
37089 +};
37090 +
37091 +/* Questionable stuff starts here */
37092 +
37093 +enum avr32_opinfo {
37094 + AVR32_OPINFO_NONE = BFD_RELOC_NONE,
37095 + AVR32_OPINFO_GOT,
37096 + AVR32_OPINFO_TLSGD,
37097 + AVR32_OPINFO_HI,
37098 + AVR32_OPINFO_LO,
37099 +};
37100 +
37101 +enum avr32_arch {
37102 + ARCH_TYPE_AP,
37103 + ARCH_TYPE_UC
37104 +};
37105 +
37106 +struct arch_type_s
37107 +{
37108 + /* Architecture name */
37109 + char *name;
37110 + /* Instruction Set Architecture Flags */
37111 + unsigned long isa_flags;
37112 +};
37113 +
37114 +struct part_type_s
37115 +{
37116 + /* Part name */
37117 + char *name;
37118 + /* Architecture type */
37119 + unsigned int arch;
37120 +};
37121 +
37122 +static struct arch_type_s arch_types[] =
37123 +{
37124 + {"ap", AVR32_V1 | AVR32_SIMD | AVR32_DSP | AVR32_PICO},
37125 + {"uc", AVR32_V1 | AVR32_DSP | AVR32_RMW},
37126 + {"all-insn", AVR32_V1 | AVR32_SIMD | AVR32_DSP | AVR32_RMW | AVR32_FP | AVR32_PICO},
37127 + {NULL, 0}
37128 +};
37129 +
37130 +static struct part_type_s part_types[] = {
37131 + {"ap7000", ARCH_TYPE_AP},
37132 + {"ap7010", ARCH_TYPE_AP},
37133 + {"ap7020", ARCH_TYPE_AP},
37134 + {"uc3a0256", ARCH_TYPE_UC},
37135 + {"uc3a0512", ARCH_TYPE_UC},
37136 + {"uc3a1128", ARCH_TYPE_UC},
37137 + {"uc3a1256", ARCH_TYPE_UC},
37138 + {"uc3a1512", ARCH_TYPE_UC},
37139 + {NULL, 0}
37140 +};
37141 +
37142 +/* Current architecture type. */
37143 +static struct arch_type_s default_arch = {"all-insn", AVR32_V1 | AVR32_SIMD | AVR32_DSP | AVR32_RMW | AVR32_FP | AVR32_PICO };
37144 +static struct arch_type_s *avr32_arch = &default_arch;
37145 +
37146 +/* Display nicely formatted list of known part- and architecture names. */
37147 +
37148 +static void
37149 +show_arch_list (FILE *stream)
37150 +{
37151 + int i, x;
37152 +
37153 + fprintf (stream, _("Known architecture names:"));
37154 + x = 1000;
37155 +
37156 + for (i = 0; arch_types[i].name; i++)
37157 + {
37158 + int len = strlen (arch_types[i].name);
37159 +
37160 + x += len + 1;
37161 +
37162 + if (x < 75)
37163 + fprintf (stream, " %s", arch_types[i].name);
37164 + else
37165 + {
37166 + fprintf (stream, "\n %s", arch_types[i].name);
37167 + x = len + 2;
37168 + }
37169 + }
37170 +
37171 + fprintf (stream, "\n");
37172 +}
37173 +
37174 +static void
37175 +show_part_list (FILE *stream)
37176 +{
37177 + int i, x;
37178 +
37179 + fprintf (stream, _("Known part names:"));
37180 + x = 1000;
37181 +
37182 + for (i = 0; part_types[i].name; i++)
37183 + {
37184 + int len = strlen(part_types[i].name);
37185 +
37186 + x += len + 1;
37187 +
37188 + if (x < 75)
37189 + fprintf (stream, " %s", part_types[i].name);
37190 + else
37191 + {
37192 + fprintf(stream, "\n %s", part_types[i].name);
37193 + x = len + 2;
37194 + }
37195 + }
37196 +
37197 + fprintf (stream, "\n");
37198 +}
37199 +
37200 +const char *md_shortopts = "";
37201 +struct option md_longopts[] =
37202 +{
37203 +#define OPTION_ARCH (OPTION_MD_BASE)
37204 +#define OPTION_PART (OPTION_ARCH + 1)
37205 +#define OPTION_IAR (OPTION_PART + 1)
37206 +#define OPTION_PIC (OPTION_IAR + 1)
37207 +#define OPTION_NOPIC (OPTION_PIC + 1)
37208 +#define OPTION_LINKRELAX (OPTION_NOPIC + 1)
37209 +#define OPTION_NOLINKRELAX (OPTION_LINKRELAX + 1)
37210 + {"march", required_argument, NULL, OPTION_ARCH},
37211 + {"mpart", required_argument, NULL, OPTION_PART},
37212 + {"iar", no_argument, NULL, OPTION_IAR},
37213 + {"pic", no_argument, NULL, OPTION_PIC},
37214 + {"no-pic", no_argument, NULL, OPTION_NOPIC},
37215 + {"linkrelax", no_argument, NULL, OPTION_LINKRELAX},
37216 + {"no-linkrelax", no_argument, NULL, OPTION_NOLINKRELAX},
37217 + /* deprecated alias for -mpart=xxx */
37218 + {"mcpu", required_argument, NULL, OPTION_PART},
37219 + {NULL, no_argument, NULL, 0}
37220 +};
37221 +
37222 +size_t md_longopts_size = sizeof (md_longopts);
37223 +
37224 +void
37225 +md_show_usage (FILE *stream)
37226 +{
37227 + fprintf (stream,
37228 + _(
37229 +"AVR32 options:\n"
37230 +"-march=[arch-name] Select cpu architecture. [Default `all-insn']\n"
37231 +"-mpart=[part-name] Select specific part. [Default `none']\n"
37232 +"--pic Produce Position-Independent Code\n"
37233 +"--no-pic Don't produce Position-Independent Code\n"
37234 +"--linkrelax Produce output suitable for linker relaxing\n"
37235 +"--no-linkrelax Don't produce output suitable for linker relaxing\n"));
37236 + show_arch_list(stream);
37237 +}
37238 +
37239 +int
37240 +md_parse_option (int c, char *arg ATTRIBUTE_UNUSED)
37241 +{
37242 + switch (c)
37243 + {
37244 + case OPTION_ARCH:
37245 + {
37246 + int i;
37247 + char *s = alloca (strlen (arg) + 1);
37248 +
37249 + {
37250 + char *t = s;
37251 + char *arg1 = arg;
37252 +
37253 + do
37254 + *t = TOLOWER (*arg1++);
37255 + while (*t++);
37256 + }
37257 +
37258 + for (i = 0; arch_types[i].name; ++i)
37259 + if (strcmp (arch_types[i].name, s) == 0)
37260 + break;
37261 +
37262 + if (!arch_types[i].name)
37263 + {
37264 + show_arch_list (stderr);
37265 + as_fatal (_("unknown architecture: %s\n"), arg);
37266 + }
37267 +
37268 + avr32_arch = &arch_types[i];
37269 + break;
37270 + }
37271 + case OPTION_PART:
37272 + {
37273 + int i;
37274 + char *s = alloca (strlen (arg) + 1);
37275 + char *t = s;
37276 + char *p = arg;
37277 +
37278 + /* If arch type has already been set, don't bother.
37279 + -march= always overrides -mpart= */
37280 + if (avr32_arch != &default_arch)
37281 + break;
37282 +
37283 + do
37284 + *t = TOLOWER (*p++);
37285 + while (*t++);
37286 +
37287 + for (i = 0; part_types[i].name; ++i)
37288 + if (strcmp (part_types[i].name, s) == 0)
37289 + break;
37290 +
37291 + if (!part_types[i].name)
37292 + {
37293 + show_part_list (stderr);
37294 + as_fatal (_("unknown part: %s\n"), arg);
37295 + }
37296 +
37297 + avr32_arch = &arch_types[part_types[i].arch];
37298 + break;
37299 + }
37300 + case OPTION_IAR:
37301 + avr32_iarcompat = 1;
37302 + break;
37303 + case OPTION_PIC:
37304 + avr32_pic = 1;
37305 + break;
37306 + case OPTION_NOPIC:
37307 + avr32_pic = 0;
37308 + break;
37309 + case OPTION_LINKRELAX:
37310 + linkrelax = 1;
37311 + break;
37312 + case OPTION_NOLINKRELAX:
37313 + linkrelax = 0;
37314 + break;
37315 + default:
37316 + return 0;
37317 + }
37318 + return 1;
37319 +}
37320 +
37321 +/* Can't use symbol_new here, so have to create a symbol and then at
37322 + a later date assign it a value. Thats what these functions do.
37323 +
37324 + Shamelessly stolen from ARM. */
37325 +
37326 +static void
37327 +symbol_locate (symbolS * symbolP,
37328 + const char * name, /* It is copied, the caller can modify. */
37329 + segT segment, /* Segment identifier (SEG_<something>). */
37330 + valueT valu, /* Symbol value. */
37331 + fragS * frag) /* Associated fragment. */
37332 +{
37333 + unsigned int name_length;
37334 + char * preserved_copy_of_name;
37335 +
37336 + name_length = strlen (name) + 1; /* +1 for \0. */
37337 + obstack_grow (&notes, name, name_length);
37338 + preserved_copy_of_name = obstack_finish (&notes);
37339 +#ifdef STRIP_UNDERSCORE
37340 + if (preserved_copy_of_name[0] == '_')
37341 + preserved_copy_of_name++;
37342 +#endif
37343 +
37344 +#ifdef tc_canonicalize_symbol_name
37345 + preserved_copy_of_name =
37346 + tc_canonicalize_symbol_name (preserved_copy_of_name);
37347 +#endif
37348 +
37349 + S_SET_NAME (symbolP, preserved_copy_of_name);
37350 +
37351 + S_SET_SEGMENT (symbolP, segment);
37352 + S_SET_VALUE (symbolP, valu);
37353 + symbol_clear_list_pointers (symbolP);
37354 +
37355 + symbol_set_frag (symbolP, frag);
37356 +
37357 + /* Link to end of symbol chain. */
37358 + {
37359 + extern int symbol_table_frozen;
37360 +
37361 + if (symbol_table_frozen)
37362 + abort ();
37363 + }
37364 +
37365 + symbol_append (symbolP, symbol_lastP, & symbol_rootP, & symbol_lastP);
37366 +
37367 + obj_symbol_new_hook (symbolP);
37368 +
37369 +#ifdef tc_symbol_new_hook
37370 + tc_symbol_new_hook (symbolP);
37371 +#endif
37372 +
37373 +#ifdef DEBUG_SYMS
37374 + verify_symbol_chain (symbol_rootP, symbol_lastP);
37375 +#endif /* DEBUG_SYMS */
37376 +}
37377 +
37378 +struct cpool_entry
37379 +{
37380 + int refcount;
37381 + offsetT offset;
37382 + expressionS exp;
37383 +};
37384 +
37385 +struct cpool
37386 +{
37387 + struct cpool *next;
37388 + int used;
37389 + struct cpool_entry *literals;
37390 + unsigned int padding;
37391 + unsigned int next_free_entry;
37392 + unsigned int id;
37393 + symbolS *symbol;
37394 + segT section;
37395 + subsegT sub_section;
37396 +};
37397 +
37398 +struct cpool *cpool_list = NULL;
37399 +
37400 +static struct cpool *
37401 +find_cpool(segT section, subsegT sub_section)
37402 +{
37403 + struct cpool *pool;
37404 +
37405 + for (pool = cpool_list; pool != NULL; pool = pool->next)
37406 + {
37407 + if (!pool->used
37408 + && pool->section == section
37409 + && pool->sub_section == sub_section)
37410 + break;
37411 + }
37412 +
37413 + return pool;
37414 +}
37415 +
37416 +static struct cpool *
37417 +find_or_make_cpool(segT section, subsegT sub_section)
37418 +{
37419 + static unsigned int next_cpool_id = 0;
37420 + struct cpool *pool;
37421 +
37422 + pool = find_cpool(section, sub_section);
37423 +
37424 + if (!pool)
37425 + {
37426 + pool = xmalloc(sizeof(*pool));
37427 + if (!pool)
37428 + return NULL;
37429 +
37430 + pool->used = 0;
37431 + pool->literals = NULL;
37432 + pool->padding = 0;
37433 + pool->next_free_entry = 0;
37434 + pool->section = section;
37435 + pool->sub_section = sub_section;
37436 + pool->next = cpool_list;
37437 + pool->symbol = NULL;
37438 +
37439 + cpool_list = pool;
37440 + }
37441 +
37442 + /* NULL symbol means that the pool is new or has just been emptied. */
37443 + if (!pool->symbol)
37444 + {
37445 + pool->symbol = symbol_create(FAKE_LABEL_NAME, undefined_section,
37446 + 0, &zero_address_frag);
37447 + pool->id = next_cpool_id++;
37448 + }
37449 +
37450 + return pool;
37451 +}
37452 +
37453 +static struct cpool *
37454 +add_to_cpool(expressionS *exp, unsigned int *index, int ref)
37455 +{
37456 + struct cpool *pool;
37457 + unsigned int entry;
37458 +
37459 + pool = find_or_make_cpool(now_seg, now_subseg);
37460 +
37461 + /* Check if this constant is already in the pool. */
37462 + for (entry = 0; entry < pool->next_free_entry; entry++)
37463 + {
37464 + if ((pool->literals[entry].exp.X_op == exp->X_op)
37465 + && (exp->X_op == O_constant)
37466 + && (pool->literals[entry].exp.X_add_number
37467 + == exp->X_add_number)
37468 + && (pool->literals[entry].exp.X_unsigned
37469 + == exp->X_unsigned))
37470 + break;
37471 +
37472 + if ((pool->literals[entry].exp.X_op == exp->X_op)
37473 + && (exp->X_op == O_symbol)
37474 + && (pool->literals[entry].exp.X_add_number
37475 + == exp->X_add_number)
37476 + && (pool->literals[entry].exp.X_add_symbol
37477 + == exp->X_add_symbol)
37478 + && (pool->literals[entry].exp.X_op_symbol
37479 + == exp->X_op_symbol))
37480 + break;
37481 + }
37482 +
37483 + /* Create an entry if we didn't find a match */
37484 + if (entry == pool->next_free_entry)
37485 + {
37486 + pool->literals = xrealloc(pool->literals,
37487 + sizeof(struct cpool_entry) * (entry + 1));
37488 + pool->literals[entry].exp = *exp;
37489 + pool->literals[entry].refcount = 0;
37490 + pool->next_free_entry++;
37491 + }
37492 +
37493 + if (index)
37494 + *index = entry;
37495 + if (ref)
37496 + pool->literals[entry].refcount++;
37497 +
37498 + return pool;
37499 +}
37500 +
37501 +struct avr32_operand
37502 +{
37503 + int id;
37504 + int is_signed;
37505 + int is_pcrel;
37506 + int align_order;
37507 + int (*match)(char *str);
37508 + void (*parse)(const struct avr32_operand *op, char *str, int opindex);
37509 +};
37510 +
37511 +static int
37512 +match_anything(char *str ATTRIBUTE_UNUSED)
37513 +{
37514 + return 1;
37515 +}
37516 +
37517 +static int
37518 +match_intreg(char *str)
37519 +{
37520 + int regid, ret = 1;
37521 +
37522 + regid = avr32_parse_intreg(str);
37523 + if (regid < 0)
37524 + ret = 0;
37525 +
37526 + pr_debug("match_intreg: `%s': %d\n", str, ret);
37527 +
37528 + return ret;
37529 +}
37530 +
37531 +static int
37532 +match_intreg_predec(char *str)
37533 +{
37534 + int regid;
37535 +
37536 + if (str[0] != '-' || str[1] != '-')
37537 + return 0;
37538 +
37539 + regid = avr32_parse_intreg(str + 2);
37540 + if (regid < 0)
37541 + return 0;
37542 +
37543 + return 1;
37544 +}
37545 +
37546 +static int
37547 +match_intreg_postinc(char *str)
37548 +{
37549 + int regid, ret = 1;
37550 + char *p, c;
37551 +
37552 + for (p = str; *p; p++)
37553 + if (*p == '+')
37554 + break;
37555 +
37556 + if (p[0] != '+' || p[1] != '+')
37557 + return 0;
37558 +
37559 + c = *p, *p = 0;
37560 + regid = avr32_parse_intreg(str);
37561 + if (regid < 0)
37562 + ret = 0;
37563 +
37564 + *p = c;
37565 + return ret;
37566 +}
37567 +
37568 +static int
37569 +match_intreg_lsl(char *str)
37570 +{
37571 + int regid, ret = 1;
37572 + char *p, c;
37573 +
37574 + for (p = str; *p; p++)
37575 + if (*p == '<')
37576 + break;
37577 +
37578 + if (p[0] && p[1] != '<')
37579 + return 0;
37580 +
37581 + c = *p, *p = 0;
37582 + regid = avr32_parse_intreg(str);
37583 + if (regid < 0)
37584 + ret = 0;
37585 +
37586 + *p = c;
37587 + return ret;
37588 +}
37589 +
37590 +static int
37591 +match_intreg_lsr(char *str)
37592 +{
37593 + int regid, ret = 1;
37594 + char *p, c;
37595 +
37596 + for (p = str; *p; p++)
37597 + if (*p == '>')
37598 + break;
37599 +
37600 + if (p[0] && p[1] != '>')
37601 + return 0;
37602 +
37603 + c = *p, *p = 0;
37604 +
37605 + regid = avr32_parse_intreg(str);
37606 + if (regid < 0)
37607 + ret = 0;
37608 +
37609 + *p = c;
37610 + return ret;
37611 +}
37612 +
37613 +static int
37614 +match_intreg_part(char *str)
37615 +{
37616 + int regid, ret = 1;
37617 + char *p, c;
37618 +
37619 + for (p = str; *p; p++)
37620 + if (*p == ':')
37621 + break;
37622 +
37623 + if (p[0] != ':' || !ISPRINT(p[1]) || p[2] != '\0')
37624 + return 0;
37625 +
37626 + c = *p, *p = 0;
37627 + regid = avr32_parse_intreg(str);
37628 + if (regid < 0)
37629 + ret = 0;
37630 +
37631 + *p = c;
37632 +
37633 + return ret;
37634 +}
37635 +
37636 +#define match_intreg_disp match_anything
37637 +
37638 +static int
37639 +match_intreg_index(char *str)
37640 +{
37641 + int regid, ret = 1;
37642 + char *p, *end, c;
37643 +
37644 + for (p = str; *p; p++)
37645 + if (*p == '[')
37646 + break;
37647 +
37648 + /* don't allow empty displacement here (it makes no sense) */
37649 + if (p[0] != '[')
37650 + return 0;
37651 +
37652 + for (end = p + 1; *end; end++) ;
37653 + if (*(--end) != ']')
37654 + return 0;
37655 +
37656 + c = *end, *end = 0;
37657 + if (!match_intreg_lsl(p + 1))
37658 + ret = 0;
37659 + *end = c;
37660 +
37661 + if (ret)
37662 + {
37663 + c = *p, *p = 0;
37664 + regid = avr32_parse_intreg(str);
37665 + if (regid < 0)
37666 + ret = 0;
37667 + *p = c;
37668 + }
37669 +
37670 + return ret;
37671 +}
37672 +
37673 +static int
37674 +match_intreg_xindex(char *str)
37675 +{
37676 + int regid, ret = 1;
37677 + char *p, *end, c;
37678 +
37679 + for (p = str; *p; p++)
37680 + if (*p == '[')
37681 + break;
37682 +
37683 + /* empty displacement makes no sense here either */
37684 + if (p[0] != '[')
37685 + return 0;
37686 +
37687 + for (end = p + 1; *end; end++)
37688 + if (*end == '<')
37689 + break;
37690 +
37691 + if (!streq(end, "<<2]"))
37692 + return 0;
37693 +
37694 + c = *end, *end = 0;
37695 + if (!match_intreg_part(p + 1))
37696 + ret = 0;
37697 + *end = c;
37698 +
37699 + if (ret)
37700 + {
37701 + c = *p, *p = 0;
37702 + regid = avr32_parse_intreg(str);
37703 + if (regid < 0)
37704 + ret = 0;
37705 + *p = c;
37706 + }
37707 +
37708 + return ret;
37709 +}
37710 +
37711 +/* The PC_UDISP_W operator may show up as a label or as a pc[disp]
37712 + expression. So there's no point in attempting to match this... */
37713 +#define match_pc_disp match_anything
37714 +
37715 +static int
37716 +match_sp(char *str)
37717 +{
37718 + /* SP in any form will do */
37719 + return avr32_parse_intreg(str) == AVR32_REG_SP;
37720 +}
37721 +
37722 +static int
37723 +match_sp_disp(char *str)
37724 +{
37725 + int regid, ret = 1;
37726 + char *p, c;
37727 +
37728 + for (p = str; *p; p++)
37729 + if (*p == '[')
37730 + break;
37731 +
37732 + /* allow empty displacement, meaning zero */
37733 + if (p[0] == '[')
37734 + {
37735 + char *end;
37736 + for (end = p + 1; *end; end++) ;
37737 + if (end[-1] != ']')
37738 + return 0;
37739 + }
37740 +
37741 + c = *p, *p = 0;
37742 + regid = avr32_parse_intreg(str);
37743 + if (regid != AVR32_REG_SP)
37744 + ret = 0;
37745 +
37746 + *p = c;
37747 + return ret;
37748 +}
37749 +
37750 +static int
37751 +match_cpno(char *str)
37752 +{
37753 + if (strncasecmp(str, "cp", 2) != 0)
37754 + return 0;
37755 + return 1;
37756 +}
37757 +
37758 +static int
37759 +match_cpreg(char *str)
37760 +{
37761 + if (strncasecmp(str, "cr", 2) != 0)
37762 + return 0;
37763 + return 1;
37764 +}
37765 +
37766 +/* We allow complex expressions, and register names may show up as
37767 + symbols. Just make sure immediate expressions are always matched
37768 + last. */
37769 +#define match_const match_anything
37770 +#define match_jmplabel match_anything
37771 +#define match_number match_anything
37772 +
37773 +/* Mnemonics that take reglists never accept anything else */
37774 +#define match_reglist8 match_anything
37775 +#define match_reglist9 match_anything
37776 +#define match_reglist16 match_anything
37777 +#define match_reglist_ldm match_anything
37778 +#define match_reglist_cp8 match_anything
37779 +#define match_reglist_cpd8 match_anything
37780 +
37781 +/* Ditto for retval, jospinc and mcall */
37782 +#define match_retval match_anything
37783 +#define match_jospinc match_anything
37784 +#define match_mcall match_anything
37785 +
37786 +/* COH is used to select between two different syntaxes */
37787 +static int
37788 +match_coh(char *str)
37789 +{
37790 + return strcasecmp(str, "coh") == 0;
37791 +}
37792 +
37793 +static int
37794 +match_fpreg(char *str)
37795 +{
37796 + unsigned long regid;
37797 + char *endptr;
37798 +
37799 + if ((str[0] != 'f' && str[0] != 'F')
37800 + || (str[1] != 'r' && str[1] != 'R'))
37801 + return 0;
37802 +
37803 + str += 2;
37804 + regid = strtoul(str, &endptr, 10);
37805 + if (!*str || *endptr)
37806 + return 0;
37807 +
37808 + return 1;
37809 +}
37810 +
37811 +static int
37812 +match_picoreg(char *str)
37813 +{
37814 + int regid;
37815 +
37816 + regid = avr32_parse_picoreg(str);
37817 + if (regid < 0)
37818 + return 0;
37819 + return 1;
37820 +}
37821 +
37822 +#define match_pico_reglist_w match_anything
37823 +#define match_pico_reglist_d match_anything
37824 +
37825 +static int
37826 +match_pico_in(char *str)
37827 +{
37828 + unsigned long regid;
37829 + char *end;
37830 +
37831 + if (strncasecmp(str, "in", 2) != 0)
37832 + return 0;
37833 +
37834 + str += 2;
37835 + regid = strtoul(str, &end, 10);
37836 + if (!*str || *end)
37837 + return 0;
37838 +
37839 + return 1;
37840 +}
37841 +
37842 +static int
37843 +match_pico_out0(char *str)
37844 +{
37845 + if (strcasecmp(str, "out0") != 0)
37846 + return 0;
37847 + return 1;
37848 +}
37849 +
37850 +static int
37851 +match_pico_out1(char *str)
37852 +{
37853 + if (strcasecmp(str, "out1") != 0)
37854 + return 0;
37855 + return 1;
37856 +}
37857 +
37858 +static int
37859 +match_pico_out2(char *str)
37860 +{
37861 + if (strcasecmp(str, "out2") != 0)
37862 + return 0;
37863 + return 1;
37864 +}
37865 +
37866 +static int
37867 +match_pico_out3(char *str)
37868 +{
37869 + if (strcasecmp(str, "out3") != 0)
37870 + return 0;
37871 + return 1;
37872 +}
37873 +
37874 +static void parse_nothing(const struct avr32_operand *op ATTRIBUTE_UNUSED,
37875 + char *str ATTRIBUTE_UNUSED,
37876 + int opindex ATTRIBUTE_UNUSED)
37877 +{
37878 + /* Do nothing (this is used for "match-only" operands like COH) */
37879 +}
37880 +
37881 +static void
37882 +parse_const(const struct avr32_operand *op, char *str,
37883 + int opindex ATTRIBUTE_UNUSED)
37884 +{
37885 + expressionS *exp = &current_insn.immediate;
37886 + expressionS *sym_exp;
37887 + int slot;
37888 + char *save;
37889 +
37890 + pr_debug("parse_const: `%s' (signed: %d, pcrel: %d, align: %d)\n",
37891 + str, op->is_signed, op->is_pcrel, op->align_order);
37892 +
37893 + save = input_line_pointer;
37894 + input_line_pointer = str;
37895 +
37896 + expression(exp);
37897 +
37898 + slot = current_insn.next_slot++;
37899 + current_insn.field_value[slot].align_order = op->align_order;
37900 + current_insn.pcrel = op->is_pcrel;
37901 +
37902 + switch (exp->X_op)
37903 + {
37904 + case O_illegal:
37905 + as_bad(_("illegal operand"));
37906 + break;
37907 + case O_absent:
37908 + as_bad(_("missing operand"));
37909 + break;
37910 + case O_constant:
37911 + pr_debug(" -> constant: %ld\n", (long)exp->X_add_number);
37912 + current_insn.field_value[slot].value = exp->X_add_number;
37913 + break;
37914 + case O_uminus:
37915 + pr_debug(" -> uminus\n");
37916 + sym_exp = symbol_get_value_expression(exp->X_add_symbol);
37917 + switch (sym_exp->X_op) {
37918 + case O_subtract:
37919 + pr_debug(" -> subtract: switching operands\n");
37920 + exp->X_op_symbol = sym_exp->X_add_symbol;
37921 + exp->X_add_symbol = sym_exp->X_op_symbol;
37922 + exp->X_op = O_subtract;
37923 + /* TODO: Remove the old X_add_symbol */
37924 + break;
37925 + default:
37926 + as_bad(_("Expression too complex\n"));
37927 + break;
37928 + }
37929 + break;
37930 +#if 0
37931 + case O_subtract:
37932 + /* Any expression subtracting a symbol from the current section
37933 + can be made PC-relative by adding the right offset. */
37934 + if (S_GET_SEGMENT(exp->X_op_symbol) == now_seg)
37935 + current_insn.pcrel = TRUE;
37936 + pr_debug(" -> subtract: pcrel? %s\n",
37937 + current_insn.pcrel ? "yes" : "no");
37938 + /* fall through */
37939 +#endif
37940 + default:
37941 + pr_debug(" -> (%p <%d> %p + %d)\n",
37942 + exp->X_add_symbol, exp->X_op, exp->X_op_symbol,
37943 + exp->X_add_number);
37944 + current_insn.field_value[slot].value = 0;
37945 + break;
37946 + }
37947 +
37948 + input_line_pointer = save;
37949 +}
37950 +
37951 +static void
37952 +parse_jmplabel(const struct avr32_operand *op, char *str,
37953 + int opindex ATTRIBUTE_UNUSED)
37954 +{
37955 + expressionS *exp = &current_insn.immediate;
37956 + int slot;
37957 + char *save;
37958 +
37959 + pr_debug("parse_jmplabel: `%s' (signed: %d, pcrel: %d, align: %d)\n",
37960 + str, op->is_signed, op->is_pcrel, op->align_order);
37961 +
37962 + save = input_line_pointer;
37963 + input_line_pointer = str;
37964 +
37965 + expression(exp);
37966 +
37967 + slot = current_insn.next_slot++;
37968 + current_insn.field_value[slot].align_order = op->align_order;
37969 + current_insn.pcrel = TRUE;
37970 +
37971 + switch (exp->X_op)
37972 + {
37973 + case O_illegal:
37974 + as_bad(_("illegal operand"));
37975 + break;
37976 + case O_absent:
37977 + as_bad(_("missing operand"));
37978 + break;
37979 + case O_constant:
37980 + pr_debug(" -> constant: %ld\n", (long)exp->X_add_number);
37981 + current_insn.field_value[slot].value = exp->X_add_number;
37982 + current_insn.pcrel = 0;
37983 + break;
37984 + default:
37985 + pr_debug(" -> (%p <%d> %p + %d)\n",
37986 + exp->X_add_symbol, exp->X_op, exp->X_op_symbol,
37987 + exp->X_add_number);
37988 + current_insn.field_value[slot].value = 0;
37989 + break;
37990 + }
37991 +
37992 + input_line_pointer = save;
37993 +}
37994 +
37995 +static void
37996 +parse_intreg(const struct avr32_operand *op ATTRIBUTE_UNUSED,
37997 + char *str, int opindex ATTRIBUTE_UNUSED)
37998 +{
37999 + int regid, slot;
38000 +
38001 + pr_debug("parse_intreg: `%s'\n", str);
38002 +
38003 + regid = avr32_parse_intreg(str);
38004 + assert(regid >= 0);
38005 +
38006 + slot = current_insn.next_slot++;
38007 + current_insn.field_value[slot].value = regid;
38008 + current_insn.field_value[slot].align_order = op->align_order;
38009 +}
38010 +
38011 +static void
38012 +parse_intreg_predec(const struct avr32_operand *op, char *str, int opindex)
38013 +{
38014 + parse_intreg(op, str + 2, opindex);
38015 +}
38016 +
38017 +static void
38018 +parse_intreg_postinc(const struct avr32_operand *op, char *str, int opindex)
38019 +{
38020 + char *p, c;
38021 +
38022 + pr_debug("parse_intreg_postinc: `%s'\n", str);
38023 +
38024 + for (p = str; *p != '+'; p++) ;
38025 +
38026 + c = *p, *p = 0;
38027 + parse_intreg(op, str, opindex);
38028 + *p = c;
38029 +}
38030 +
38031 +static void
38032 +parse_intreg_shift(const struct avr32_operand *op ATTRIBUTE_UNUSED,
38033 + char *str, int opindex ATTRIBUTE_UNUSED)
38034 +{
38035 + int regid, slot, shift = 0;
38036 + char *p, c;
38037 + char shiftop;
38038 +
38039 + pr_debug("parse Ry<<sa: `%s'\n", str);
38040 +
38041 + for (p = str; *p; p++)
38042 + if (*p == '<' || *p == '>')
38043 + break;
38044 +
38045 + shiftop = *p;
38046 +
38047 + c = *p, *p = 0;
38048 + regid = avr32_parse_intreg(str);
38049 + assert(regid >= 0);
38050 + *p = c;
38051 +
38052 + if (c)
38053 + {
38054 + if (p[0] != shiftop || p[1] != shiftop)
38055 + as_bad(_("expected shift operator in `%s'"), p);
38056 + else
38057 + {
38058 + expressionS exp;
38059 + char *saved;
38060 +
38061 + saved = input_line_pointer;
38062 + input_line_pointer = p + 2;
38063 + expression(&exp);
38064 + input_line_pointer = saved;
38065 +
38066 + if (exp.X_op != O_constant)
38067 + as_bad(_("shift amount must be a numeric constant"));
38068 + else
38069 + shift = exp.X_add_number;
38070 + }
38071 + }
38072 +
38073 + slot = current_insn.next_slot++;
38074 + current_insn.field_value[slot].value = regid;
38075 + slot = current_insn.next_slot++;
38076 + current_insn.field_value[slot].value = shift;
38077 +}
38078 +
38079 +/* The match() function selected the right opcode, so it doesn't
38080 + matter which way we shift any more. */
38081 +#define parse_intreg_lsl parse_intreg_shift
38082 +#define parse_intreg_lsr parse_intreg_shift
38083 +
38084 +static void
38085 +parse_intreg_part(const struct avr32_operand *op, char *str,
38086 + int opindex ATTRIBUTE_UNUSED)
38087 +{
38088 + static const char bparts[] = { 'b', 'l', 'u', 't' };
38089 + static const char hparts[] = { 'b', 't' };
38090 + unsigned int slot, sel;
38091 + int regid;
38092 + char *p, c;
38093 +
38094 + pr_debug("parse reg:part `%s'\n", str);
38095 +
38096 + for (p = str; *p; p++)
38097 + if (*p == ':')
38098 + break;
38099 +
38100 + c = *p, *p = 0;
38101 + regid = avr32_parse_intreg(str);
38102 + assert(regid >= 0);
38103 + *p = c;
38104 +
38105 + assert(c == ':');
38106 +
38107 + if (op->align_order)
38108 + {
38109 + for (sel = 0; sel < sizeof(hparts); sel++)
38110 + if (TOLOWER(p[1]) == hparts[sel])
38111 + break;
38112 +
38113 + if (sel >= sizeof(hparts))
38114 + {
38115 + as_bad(_("invalid halfword selector `%c' (must be either b or t)"),
38116 + p[1]);
38117 + sel = 0;
38118 + }
38119 + }
38120 + else
38121 + {
38122 + for (sel = 0; sel < sizeof(bparts); sel++)
38123 + if (TOLOWER(p[1]) == bparts[sel])
38124 + break;
38125 +
38126 + if (sel >= sizeof(bparts))
38127 + {
38128 + as_bad(_("invalid byte selector `%c' (must be one of b,l,u,t)"),
38129 + p[1]);
38130 + sel = 0;
38131 + }
38132 + }
38133 +
38134 + slot = current_insn.next_slot++;
38135 + current_insn.field_value[slot].value = regid;
38136 + slot = current_insn.next_slot++;
38137 + current_insn.field_value[slot].value = sel;
38138 +}
38139 +
38140 +/* This is the parser for "Rp[displacement]" expressions. In addition
38141 + to the "official" syntax, we accept a label as a replacement for
38142 + the register expression. This syntax implies Rp=PC and the
38143 + displacement is the pc-relative distance to the label. */
38144 +static void
38145 +parse_intreg_disp(const struct avr32_operand *op, char *str, int opindex)
38146 +{
38147 + expressionS *exp = &current_insn.immediate;
38148 + int slot, regid;
38149 + char *save, *p, c;
38150 +
38151 + pr_debug("parse_intreg_disp: `%s' (signed: %d, pcrel: %d, align: %d)\n",
38152 + str, op->is_signed, op->is_pcrel, op->align_order);
38153 +
38154 + for (p = str; *p; p++)
38155 + if (*p == '[')
38156 + break;
38157 +
38158 + slot = current_insn.next_slot++;
38159 +
38160 + /* First, check if we have a valid register either before '[' or as
38161 + the sole expression. If so, we use the Rp[disp] syntax. */
38162 + c = *p, *p = 0;
38163 + regid = avr32_parse_intreg(str);
38164 + *p = c;
38165 +
38166 + if (regid >= 0)
38167 + {
38168 + current_insn.field_value[slot].value = regid;
38169 +
38170 + slot = current_insn.next_slot++;
38171 + current_insn.field_value[slot].align_order = op->align_order;
38172 +
38173 + if (c == '[')
38174 + {
38175 + save = input_line_pointer;
38176 + input_line_pointer = p + 1;
38177 +
38178 + expression(exp);
38179 +
38180 + if (*input_line_pointer != ']')
38181 + as_bad(_("junk after displacement expression"));
38182 +
38183 + input_line_pointer = save;
38184 +
38185 + switch (exp->X_op)
38186 + {
38187 + case O_illegal:
38188 + as_bad(_("illegal displacement expression"));
38189 + break;
38190 + case O_absent:
38191 + as_bad(_("missing displacement expression"));
38192 + break;
38193 + case O_constant:
38194 + pr_debug(" -> constant: %ld\n", exp->X_add_number);
38195 + current_insn.field_value[slot].value = exp->X_add_number;
38196 + break;
38197 +#if 0
38198 + case O_subtract:
38199 + if (S_GET_SEGMENT(exp->X_op_symbol) == now_seg)
38200 + current_insn.pcrel = TRUE;
38201 + pr_debug(" -> subtract: pcrel? %s\n",
38202 + current_insn.pcrel ? "yes" : "no");
38203 + /* fall through */
38204 +#endif
38205 + default:
38206 + pr_debug(" -> (%p <%d> %p + %d)\n",
38207 + exp->X_add_symbol, exp->X_op, exp->X_op_symbol,
38208 + exp->X_add_number);
38209 + current_insn.field_value[slot].value = 0;
38210 + }
38211 + }
38212 + else
38213 + {
38214 + exp->X_op = O_constant;
38215 + exp->X_add_number = 0;
38216 + current_insn.field_value[slot].value = 0;
38217 + }
38218 + }
38219 + else
38220 + {
38221 + /* Didn't find a valid register. Try parsing it as a label. */
38222 + current_insn.field_value[slot].value = AVR32_REG_PC;
38223 + parse_jmplabel(op, str, opindex);
38224 + }
38225 +}
38226 +
38227 +static void
38228 +parse_intreg_index(const struct avr32_operand *op ATTRIBUTE_UNUSED,
38229 + char *str, int opindex ATTRIBUTE_UNUSED)
38230 +{
38231 + int slot, regid;
38232 + char *p, *end, c;
38233 +
38234 + for (p = str; *p; p++)
38235 + if (*p == '[')
38236 + break;
38237 +
38238 + assert(*p);
38239 +
38240 + c = *p, *p = 0;
38241 + regid = avr32_parse_intreg(str);
38242 + assert(regid >= 0);
38243 + *p = c;
38244 +
38245 + slot = current_insn.next_slot++;
38246 + current_insn.field_value[slot].value = regid;
38247 +
38248 + p++;
38249 + for (end = p; *end; end++)
38250 + if (*end == ']' || *end == '<')
38251 + break;
38252 +
38253 + assert(*end);
38254 +
38255 + c = *end, *end = 0;
38256 + regid = avr32_parse_intreg(p);
38257 + assert(regid >= 0);
38258 + *end = c;
38259 +
38260 + slot = current_insn.next_slot++;
38261 + current_insn.field_value[slot].value = regid;
38262 +
38263 + slot = current_insn.next_slot++;
38264 + current_insn.field_value[slot].value = 0;
38265 +
38266 + if (*end == '<')
38267 + {
38268 + expressionS exp;
38269 + char *save;
38270 +
38271 + p = end + 2;
38272 + for (end = p; *end; end++)
38273 + if (*end == ']')
38274 + break;
38275 +
38276 + assert(*end == ']');
38277 +
38278 + c = *end, *end = 0;
38279 + save = input_line_pointer;
38280 + input_line_pointer = p;
38281 + expression(&exp);
38282 +
38283 + if (*input_line_pointer)
38284 + as_bad(_("junk after shift expression"));
38285 +
38286 + *end = c;
38287 + input_line_pointer = save;
38288 +
38289 + if (exp.X_op == O_constant)
38290 + current_insn.field_value[slot].value = exp.X_add_number;
38291 + else
38292 + as_bad(_("shift expression too complex"));
38293 + }
38294 +}
38295 +
38296 +static void
38297 +parse_intreg_xindex(const struct avr32_operand *op, char *str, int opindex)
38298 +{
38299 + int slot, regid;
38300 + char *p, *end, c;
38301 +
38302 + for (p = str; *p; p++)
38303 + if (*p == '[')
38304 + break;
38305 +
38306 + assert(*p);
38307 +
38308 + c = *p, *p = 0;
38309 + regid = avr32_parse_intreg(str);
38310 + assert(regid >= 0);
38311 + *p = c;
38312 +
38313 + slot = current_insn.next_slot++;
38314 + current_insn.field_value[slot].value = regid;
38315 +
38316 + p++;
38317 + for (end = p; *end; end++)
38318 + if (*end == '<')
38319 + break;
38320 +
38321 + assert(*end);
38322 +
38323 + c = *end, *end = 0;
38324 + parse_intreg_part(op, p, opindex);
38325 + *end = c;
38326 +}
38327 +
38328 +static void
38329 +parse_pc_disp(const struct avr32_operand *op, char *str, int opindex)
38330 +{
38331 + char *p, c;
38332 +
38333 + for (p = str; *p; p++)
38334 + if (*p == '[')
38335 + break;
38336 +
38337 + /* The lddpc instruction comes in two different syntax variants:
38338 + lddpc reg, expression
38339 + lddpc reg, pc[disp]
38340 + If the operand contains a '[', we use the second form. */
38341 + if (*p)
38342 + {
38343 + int regid;
38344 +
38345 + c = *p, *p = 0;
38346 + regid = avr32_parse_intreg(str);
38347 + *p = c;
38348 + if (regid == AVR32_REG_PC)
38349 + {
38350 + char *end;
38351 +
38352 + for (end = ++p; *end; end++) ;
38353 + if (*(--end) != ']')
38354 + as_bad(_("unrecognized form of instruction: `%s'"), str);
38355 + else
38356 + {
38357 + c = *end, *end = 0;
38358 + parse_const(op, p, opindex);
38359 + *end = c;
38360 + current_insn.pcrel = 0;
38361 + }
38362 + }
38363 + else
38364 + as_bad(_("unrecognized form of instruction: `%s'"), str);
38365 + }
38366 + else
38367 + {
38368 + parse_jmplabel(op, str, opindex);
38369 + }
38370 +}
38371 +
38372 +static void parse_sp(const struct avr32_operand *op ATTRIBUTE_UNUSED,
38373 + char *str ATTRIBUTE_UNUSED,
38374 + int opindex ATTRIBUTE_UNUSED)
38375 +{
38376 + int slot;
38377 +
38378 + slot = current_insn.next_slot++;
38379 + current_insn.field_value[slot].value = AVR32_REG_SP;
38380 +}
38381 +
38382 +static void
38383 +parse_sp_disp(const struct avr32_operand *op, char *str, int opindex)
38384 +{
38385 + char *p, c;
38386 +
38387 + for (; *str; str++)
38388 + if (*str == '[')
38389 + break;
38390 +
38391 + assert(*str);
38392 +
38393 + for (p = ++str; *p; p++)
38394 + if (*p == ']')
38395 + break;
38396 +
38397 + c = *p, *p = 0;
38398 + parse_const(op, str, opindex);
38399 + *p = c;
38400 +}
38401 +
38402 +static void
38403 +parse_cpno(const struct avr32_operand *op ATTRIBUTE_UNUSED, char *str,
38404 + int opindex ATTRIBUTE_UNUSED)
38405 +{
38406 + int slot;
38407 +
38408 + str += 2;
38409 + if (*str == '#')
38410 + str++;
38411 + if (*str < '0' || *str > '7' || str[1])
38412 + as_bad(_("invalid coprocessor `%s'"), str);
38413 +
38414 + slot = current_insn.next_slot++;
38415 + current_insn.field_value[slot].value = *str - '0';
38416 +}
38417 +
38418 +static void
38419 +parse_cpreg(const struct avr32_operand *op, char *str,
38420 + int opindex ATTRIBUTE_UNUSED)
38421 +{
38422 + unsigned int crid;
38423 + int slot;
38424 + char *endptr;
38425 +
38426 + str += 2;
38427 + crid = strtoul(str, &endptr, 10);
38428 + if (*endptr || crid > 15 || crid & ((1 << op->align_order) - 1))
38429 + as_bad(_("invalid coprocessor register `%s'"), str);
38430 +
38431 + crid >>= op->align_order;
38432 +
38433 + slot = current_insn.next_slot++;
38434 + current_insn.field_value[slot].value = crid;
38435 +}
38436 +
38437 +static void
38438 +parse_number(const struct avr32_operand *op, char *str,
38439 + int opindex ATTRIBUTE_UNUSED)
38440 +{
38441 + expressionS exp;
38442 + int slot;
38443 + char *save;
38444 +
38445 + save = input_line_pointer;
38446 + input_line_pointer = str;
38447 + expression(&exp);
38448 + input_line_pointer = save;
38449 +
38450 + slot = current_insn.next_slot++;
38451 + current_insn.field_value[slot].align_order = op->align_order;
38452 +
38453 + if (exp.X_op == O_constant)
38454 + current_insn.field_value[slot].value = exp.X_add_number;
38455 + else
38456 + as_bad(_("invalid numeric expression `%s'"), str);
38457 +}
38458 +
38459 +static void
38460 +parse_reglist8(const struct avr32_operand *op ATTRIBUTE_UNUSED,
38461 + char *str, int opindex ATTRIBUTE_UNUSED)
38462 +{
38463 + unsigned long regmask;
38464 + unsigned long value = 0;
38465 + int slot;
38466 + char *tail;
38467 +
38468 + regmask = avr32_parse_reglist(str, &tail);
38469 + if (*tail)
38470 + as_bad(_("invalid register list `%s'"), str);
38471 + else
38472 + {
38473 + if (avr32_make_regmask8(regmask, &value))
38474 + as_bad(_("register list `%s' doesn't fit"), str);
38475 + }
38476 +
38477 + slot = current_insn.next_slot++;
38478 + current_insn.field_value[slot].value = value;
38479 +}
38480 +
38481 +static int
38482 +parse_reglist_tail(char *str, unsigned long regmask)
38483 +{
38484 + expressionS exp;
38485 + char *save, *p, c;
38486 + int regid;
38487 +
38488 + for (p = str + 1; *p; p++)
38489 + if (*p == '=')
38490 + break;
38491 +
38492 + if (!*p)
38493 + {
38494 + as_bad(_("invalid register list `%s'"), str);
38495 + return -2;
38496 + }
38497 +
38498 + c = *p, *p = 0;
38499 + regid = avr32_parse_intreg(str);
38500 + *p = c;
38501 +
38502 + if (regid != 12)
38503 + {
38504 + as_bad(_("invalid register list `%s'"), str);
38505 + return -2;
38506 + }
38507 +
38508 + /* If we have an assignment, we must pop PC and we must _not_
38509 + pop LR or R12 */
38510 + if (!(regmask & (1 << AVR32_REG_PC)))
38511 + {
38512 + as_bad(_("return value specified for non-return instruction"));
38513 + return -2;
38514 + }
38515 + else if (regmask & ((1 << AVR32_REG_R12) | (1 << AVR32_REG_LR)))
38516 + {
38517 + as_bad(_("can't pop LR or R12 when specifying return value"));
38518 + return -2;
38519 + }
38520 +
38521 + save = input_line_pointer;
38522 + input_line_pointer = p + 1;
38523 + expression(&exp);
38524 + input_line_pointer = save;
38525 +
38526 + if (exp.X_op != O_constant
38527 + || exp.X_add_number < -1
38528 + || exp.X_add_number > 1)
38529 + {
38530 + as_bad(_("invalid return value `%s'"), str);
38531 + return -2;
38532 + }
38533 +
38534 + return exp.X_add_number;
38535 +}
38536 +
38537 +static void
38538 +parse_reglist9(const struct avr32_operand *op ATTRIBUTE_UNUSED,
38539 + char *str, int opindex ATTRIBUTE_UNUSED)
38540 +{
38541 + unsigned long regmask;
38542 + unsigned long value = 0, kbit = 0;
38543 + int slot;
38544 + char *tail;
38545 +
38546 + regmask = avr32_parse_reglist(str, &tail);
38547 + /* printf("parsed reglist16: %04lx, tail: `%s'\n", regmask, tail); */
38548 + if (*tail)
38549 + {
38550 + int retval;
38551 +
38552 + retval = parse_reglist_tail(tail, regmask);
38553 +
38554 + switch (retval)
38555 + {
38556 + case -1:
38557 + regmask |= 1 << AVR32_REG_LR;
38558 + break;
38559 + case 0:
38560 + break;
38561 + case 1:
38562 + regmask |= 1 << AVR32_REG_R12;
38563 + break;
38564 + default:
38565 + break;
38566 + }
38567 +
38568 + kbit = 1;
38569 + }
38570 +
38571 + if (avr32_make_regmask8(regmask, &value))
38572 + as_bad(_("register list `%s' doesn't fit"), str);
38573 +
38574 +
38575 + slot = current_insn.next_slot++;
38576 + current_insn.field_value[slot].value = (value << 1) | kbit;
38577 +}
38578 +
38579 +static void
38580 +parse_reglist16(const struct avr32_operand *op ATTRIBUTE_UNUSED,
38581 + char *str, int opindex ATTRIBUTE_UNUSED)
38582 +{
38583 + unsigned long regmask;
38584 + int slot;
38585 + char *tail;
38586 +
38587 + regmask = avr32_parse_reglist(str, &tail);
38588 + if (*tail)
38589 + as_bad(_("invalid register list `%s'"), str);
38590 +
38591 + slot = current_insn.next_slot++;
38592 + current_insn.field_value[slot].value = regmask;
38593 +}
38594 +
38595 +static void
38596 +parse_reglist_ldm(const struct avr32_operand *op ATTRIBUTE_UNUSED,
38597 + char *str, int opindex ATTRIBUTE_UNUSED)
38598 +{
38599 + unsigned long regmask;
38600 + int slot, rp, w_bit = 0;
38601 + char *tail, *p, c;
38602 +
38603 + for (p = str; *p && *p != ','; p++)
38604 + if (*p == '+')
38605 + break;
38606 +
38607 + c = *p, *p = 0;
38608 + rp = avr32_parse_intreg(str);
38609 + *p = c;
38610 + if (rp < 0)
38611 + {
38612 + as_bad(_("invalid destination register in `%s'"), str);
38613 + return;
38614 + }
38615 +
38616 + if (p[0] == '+' && p[1] == '+')
38617 + {
38618 + w_bit = 1;
38619 + p += 2;
38620 + }
38621 +
38622 + if (*p != ',')
38623 + {
38624 + as_bad(_("expected `,' after destination register in `%s'"), str);
38625 + return;
38626 + }
38627 +
38628 + str = p + 1;
38629 + regmask = avr32_parse_reglist(str, &tail);
38630 + if (*tail)
38631 + {
38632 + int retval;
38633 +
38634 + if (rp != AVR32_REG_SP)
38635 + {
38636 + as_bad(_("junk at end of line: `%s'"), tail);
38637 + return;
38638 + }
38639 +
38640 + rp = AVR32_REG_PC;
38641 +
38642 + retval = parse_reglist_tail(tail, regmask);
38643 +
38644 + switch (retval)
38645 + {
38646 + case -1:
38647 + regmask |= 1 << AVR32_REG_LR;
38648 + break;
38649 + case 0:
38650 + break;
38651 + case 1:
38652 + regmask |= 1 << AVR32_REG_R12;
38653 + break;
38654 + default:
38655 + return;
38656 + }
38657 + }
38658 +
38659 + slot = current_insn.next_slot++;
38660 + current_insn.field_value[slot].value = rp;
38661 + slot = current_insn.next_slot++;
38662 + current_insn.field_value[slot].value = w_bit;
38663 + slot = current_insn.next_slot++;
38664 + current_insn.field_value[slot].value = regmask;
38665 +}
38666 +
38667 +static void
38668 +parse_reglist_cp8(const struct avr32_operand *op ATTRIBUTE_UNUSED,
38669 + char *str, int opindex ATTRIBUTE_UNUSED)
38670 +{
38671 + unsigned long regmask;
38672 + int slot, h_bit = 0;
38673 + char *tail;
38674 +
38675 + regmask = avr32_parse_cpreglist(str, &tail);
38676 + if (*tail)
38677 + as_bad(_("junk at end of line: `%s'"), tail);
38678 + else if (regmask & 0xffUL)
38679 + {
38680 + if (regmask & 0xff00UL)
38681 + as_bad(_("register list `%s' doesn't fit"), str);
38682 + regmask &= 0xff;
38683 + }
38684 + else if (regmask & 0xff00UL)
38685 + {
38686 + regmask >>= 8;
38687 + h_bit = 1;
38688 + }
38689 + else
38690 + as_warn(_("register list is empty"));
38691 +
38692 + slot = current_insn.next_slot++;
38693 + current_insn.field_value[slot].value = regmask;
38694 + slot = current_insn.next_slot++;
38695 + current_insn.field_value[slot].value = h_bit;
38696 +}
38697 +
38698 +static void
38699 +parse_reglist_cpd8(const struct avr32_operand *op ATTRIBUTE_UNUSED,
38700 + char *str, int opindex ATTRIBUTE_UNUSED)
38701 +{
38702 + unsigned long regmask, regmask_d = 0;
38703 + int slot, i;
38704 + char *tail;
38705 +
38706 + regmask = avr32_parse_cpreglist(str, &tail);
38707 + if (*tail)
38708 + as_bad(_("junk at end of line: `%s'"), tail);
38709 +
38710 + for (i = 0; i < 8; i++)
38711 + {
38712 + if (regmask & 1)
38713 + {
38714 + if (!(regmask & 2))
38715 + {
38716 + as_bad(_("register list `%s' doesn't fit"), str);
38717 + break;
38718 + }
38719 + regmask_d |= 1 << i;
38720 + }
38721 + else if (regmask & 2)
38722 + {
38723 + as_bad(_("register list `%s' doesn't fit"), str);
38724 + break;
38725 + }
38726 +
38727 + regmask >>= 2;
38728 + }
38729 +
38730 + slot = current_insn.next_slot++;
38731 + current_insn.field_value[slot].value = regmask_d;
38732 +}
38733 +
38734 +static void
38735 +parse_retval(const struct avr32_operand *op ATTRIBUTE_UNUSED,
38736 + char *str, int opindex ATTRIBUTE_UNUSED)
38737 +{
38738 + int regid, slot;
38739 +
38740 + regid = avr32_parse_intreg(str);
38741 + if (regid < 0)
38742 + {
38743 + expressionS exp;
38744 + char *save;
38745 +
38746 + regid = 0;
38747 +
38748 + save = input_line_pointer;
38749 + input_line_pointer = str;
38750 + expression(&exp);
38751 + input_line_pointer = save;
38752 +
38753 + if (exp.X_op != O_constant)
38754 + as_bad(_("invalid return value `%s'"), str);
38755 + else
38756 + switch (exp.X_add_number)
38757 + {
38758 + case -1:
38759 + regid = AVR32_REG_LR;
38760 + break;
38761 + case 0:
38762 + regid = AVR32_REG_SP;
38763 + break;
38764 + case 1:
38765 + regid = AVR32_REG_PC;
38766 + break;
38767 + default:
38768 + as_bad(_("invalid return value `%s'"), str);
38769 + break;
38770 + }
38771 + }
38772 +
38773 + slot = current_insn.next_slot++;
38774 + current_insn.field_value[slot].value = regid;
38775 +}
38776 +
38777 +#define parse_mcall parse_intreg_disp
38778 +
38779 +static void
38780 +parse_jospinc(const struct avr32_operand *op ATTRIBUTE_UNUSED,
38781 + char *str, int opindex ATTRIBUTE_UNUSED)
38782 +{
38783 + expressionS exp;
38784 + int slot;
38785 + char *save;
38786 +
38787 + save = input_line_pointer;
38788 + input_line_pointer = str;
38789 + expression(&exp);
38790 + input_line_pointer = save;
38791 +
38792 + slot = current_insn.next_slot++;
38793 +
38794 + if (exp.X_op == O_constant)
38795 + {
38796 + if (exp.X_add_number > 0)
38797 + exp.X_add_number--;
38798 + current_insn.field_value[slot].value = exp.X_add_number;
38799 + }
38800 + else
38801 + as_bad(_("invalid numeric expression `%s'"), str);
38802 +}
38803 +
38804 +#define parse_coh parse_nothing
38805 +
38806 +static void
38807 +parse_fpreg(const struct avr32_operand *op,
38808 + char *str, int opindex ATTRIBUTE_UNUSED)
38809 +{
38810 + unsigned long regid;
38811 + int slot;
38812 +
38813 + regid = strtoul(str + 2, NULL, 10);
38814 +
38815 + if ((regid >= 16) || (regid & ((1 << op->align_order) - 1)))
38816 + as_bad(_("invalid floating-point register `%s'"), str);
38817 +
38818 + slot = current_insn.next_slot++;
38819 + current_insn.field_value[slot].value = regid;
38820 + current_insn.field_value[slot].align_order = op->align_order;
38821 +}
38822 +
38823 +static void
38824 +parse_picoreg(const struct avr32_operand *op,
38825 + char *str, int opindex ATTRIBUTE_UNUSED)
38826 +{
38827 + unsigned long regid;
38828 + int slot;
38829 +
38830 + regid = avr32_parse_picoreg(str);
38831 + if (regid & ((1 << op->align_order) - 1))
38832 + as_bad(_("invalid double-word PiCo register `%s'"), str);
38833 +
38834 + slot = current_insn.next_slot++;
38835 + current_insn.field_value[slot].value = regid;
38836 + current_insn.field_value[slot].align_order = op->align_order;
38837 +}
38838 +
38839 +static void
38840 +parse_pico_reglist_w(const struct avr32_operand *op ATTRIBUTE_UNUSED,
38841 + char *str, int opindex ATTRIBUTE_UNUSED)
38842 +{
38843 + unsigned long regmask;
38844 + int slot, h_bit = 0;
38845 + char *tail;
38846 +
38847 + regmask = avr32_parse_pico_reglist(str, &tail);
38848 + if (*tail)
38849 + as_bad(_("junk at end of line: `%s'"), tail);
38850 +
38851 + if (regmask & 0x00ffUL)
38852 + {
38853 + if (regmask & 0xff00UL)
38854 + as_bad(_("register list `%s' doesn't fit"), str);
38855 + regmask &= 0x00ffUL;
38856 + }
38857 + else if (regmask & 0xff00UL)
38858 + {
38859 + regmask >>= 8;
38860 + h_bit = 1;
38861 + }
38862 + else
38863 + as_warn(_("register list is empty"));
38864 +
38865 + slot = current_insn.next_slot++;
38866 + current_insn.field_value[slot].value = regmask;
38867 + slot = current_insn.next_slot++;
38868 + current_insn.field_value[slot].value = h_bit;
38869 +}
38870 +
38871 +static void
38872 +parse_pico_reglist_d(const struct avr32_operand *op ATTRIBUTE_UNUSED,
38873 + char *str, int opindex ATTRIBUTE_UNUSED)
38874 +{
38875 + unsigned long regmask, regmask_d = 0;
38876 + int slot, i;
38877 + char *tail;
38878 +
38879 + regmask = avr32_parse_pico_reglist(str, &tail);
38880 + if (*tail)
38881 + as_bad(_("junk at end of line: `%s'"), tail);
38882 +
38883 + for (i = 0; i < 8; i++)
38884 + {
38885 + if (regmask & 1)
38886 + {
38887 + if (!(regmask & 2))
38888 + {
38889 + as_bad(_("register list `%s' doesn't fit"), str);
38890 + break;
38891 + }
38892 + regmask_d |= 1 << i;
38893 + }
38894 + else if (regmask & 2)
38895 + {
38896 + as_bad(_("register list `%s' doesn't fit"), str);
38897 + break;
38898 + }
38899 +
38900 + regmask >>= 2;
38901 + }
38902 +
38903 + slot = current_insn.next_slot++;
38904 + current_insn.field_value[slot].value = regmask_d;
38905 +}
38906 +
38907 +static void
38908 +parse_pico_in(const struct avr32_operand *op ATTRIBUTE_UNUSED,
38909 + char *str, int opindex ATTRIBUTE_UNUSED)
38910 +{
38911 + unsigned long regid;
38912 + int slot;
38913 +
38914 + regid = strtoul(str + 2, NULL, 10);
38915 +
38916 + if (regid >= 12)
38917 + as_bad(_("invalid PiCo IN register `%s'"), str);
38918 +
38919 + slot = current_insn.next_slot++;
38920 + current_insn.field_value[slot].value = regid;
38921 + current_insn.field_value[slot].align_order = 0;
38922 +}
38923 +
38924 +#define parse_pico_out0 parse_nothing
38925 +#define parse_pico_out1 parse_nothing
38926 +#define parse_pico_out2 parse_nothing
38927 +#define parse_pico_out3 parse_nothing
38928 +
38929 +#define OP(name, sgn, pcrel, align, func) \
38930 + { AVR32_OPERAND_##name, sgn, pcrel, align, match_##func, parse_##func }
38931 +
38932 +struct avr32_operand avr32_operand_table[] = {
38933 + OP(INTREG, 0, 0, 0, intreg),
38934 + OP(INTREG_PREDEC, 0, 0, 0, intreg_predec),
38935 + OP(INTREG_POSTINC, 0, 0, 0, intreg_postinc),
38936 + OP(INTREG_LSL, 0, 0, 0, intreg_lsl),
38937 + OP(INTREG_LSR, 0, 0, 0, intreg_lsr),
38938 + OP(INTREG_BSEL, 0, 0, 0, intreg_part),
38939 + OP(INTREG_HSEL, 0, 0, 1, intreg_part),
38940 + OP(INTREG_SDISP, 1, 0, 0, intreg_disp),
38941 + OP(INTREG_SDISP_H, 1, 0, 1, intreg_disp),
38942 + OP(INTREG_SDISP_W, 1, 0, 2, intreg_disp),
38943 + OP(INTREG_UDISP, 0, 0, 0, intreg_disp),
38944 + OP(INTREG_UDISP_H, 0, 0, 1, intreg_disp),
38945 + OP(INTREG_UDISP_W, 0, 0, 2, intreg_disp),
38946 + OP(INTREG_INDEX, 0, 0, 0, intreg_index),
38947 + OP(INTREG_XINDEX, 0, 0, 0, intreg_xindex),
38948 + OP(DWREG, 0, 0, 1, intreg),
38949 + OP(PC_UDISP_W, 0, 1, 2, pc_disp),
38950 + OP(SP, 0, 0, 0, sp),
38951 + OP(SP_UDISP_W, 0, 0, 2, sp_disp),
38952 + OP(CPNO, 0, 0, 0, cpno),
38953 + OP(CPREG, 0, 0, 0, cpreg),
38954 + OP(CPREG_D, 0, 0, 1, cpreg),
38955 + OP(UNSIGNED_CONST, 0, 0, 0, const),
38956 + OP(UNSIGNED_CONST_W, 0, 0, 2, const),
38957 + OP(SIGNED_CONST, 1, 0, 0, const),
38958 + OP(SIGNED_CONST_W, 1, 0, 2, const),
38959 + OP(JMPLABEL, 1, 1, 1, jmplabel),
38960 + OP(UNSIGNED_NUMBER, 0, 0, 0, number),
38961 + OP(UNSIGNED_NUMBER_W, 0, 0, 2, number),
38962 + OP(REGLIST8, 0, 0, 0, reglist8),
38963 + OP(REGLIST9, 0, 0, 0, reglist9),
38964 + OP(REGLIST16, 0, 0, 0, reglist16),
38965 + OP(REGLIST_LDM, 0, 0, 0, reglist_ldm),
38966 + OP(REGLIST_CP8, 0, 0, 0, reglist_cp8),
38967 + OP(REGLIST_CPD8, 0, 0, 0, reglist_cpd8),
38968 + OP(RETVAL, 0, 0, 0, retval),
38969 + OP(MCALL, 1, 0, 2, mcall),
38970 + OP(JOSPINC, 0, 0, 0, jospinc),
38971 + OP(COH, 0, 0, 0, coh),
38972 + OP(FPREG_S, 0, 0, 0, fpreg),
38973 + OP(FPREG_D, 0, 0, 1, fpreg),
38974 + OP(PICO_REG_W, 0, 0, 0, picoreg),
38975 + OP(PICO_REG_D, 0, 0, 1, picoreg),
38976 + OP(PICO_REGLIST_W, 0, 0, 0, pico_reglist_w),
38977 + OP(PICO_REGLIST_D, 0, 0, 0, pico_reglist_d),
38978 + OP(PICO_IN, 0, 0, 0, pico_in),
38979 + OP(PICO_OUT0, 0, 0, 0, pico_out0),
38980 + OP(PICO_OUT1, 0, 0, 0, pico_out1),
38981 + OP(PICO_OUT2, 0, 0, 0, pico_out2),
38982 + OP(PICO_OUT3, 0, 0, 0, pico_out3),
38983 +};
38984 +
38985 +symbolS *
38986 +md_undefined_symbol (char *name ATTRIBUTE_UNUSED)
38987 +{
38988 + pr_debug("md_undefined_symbol: %s\n", name);
38989 + return 0;
38990 +}
38991 +
38992 +struct avr32_relax_type
38993 +{
38994 + long lower_bound;
38995 + long upper_bound;
38996 + unsigned char align;
38997 + unsigned char length;
38998 + signed short next;
38999 +};
39000 +
39001 +#define EMPTY { 0, 0, 0, 0, -1 }
39002 +#define C(lower, upper, align, next) \
39003 + { (lower), (upper), (align), 2, AVR32_OPC_##next }
39004 +#define E(lower, upper, align) \
39005 + { (lower), (upper), (align), 4, -1 }
39006 +
39007 +static const struct avr32_relax_type avr32_relax_table[] =
39008 + {
39009 + /* 0 */
39010 + EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY,
39011 + EMPTY, EMPTY, EMPTY,
39012 + E(0, 65535, 0), E(0, 65535, 0), E(0, 65535, 0), E(0, 65535, 0),
39013 + EMPTY,
39014 + /* 16 */
39015 + EMPTY, EMPTY, EMPTY, EMPTY,
39016 +
39017 + C(-256, 254, 1, BREQ2), C(-256, 254, 1, BRNE2),
39018 + C(-256, 254, 1, BRCC2), C(-256, 254, 1, BRCS2),
39019 + C(-256, 254, 1, BRGE2), C(-256, 254, 1, BRLT2),
39020 + C(-256, 254, 1, BRMI2), C(-256, 254, 1, BRPL2),
39021 + E(-2097152, 2097150, 1), E(-2097152, 2097150, 1),
39022 + E(-2097152, 2097150, 1), E(-2097152, 2097150, 1),
39023 + /* 32 */
39024 + E(-2097152, 2097150, 1), E(-2097152, 2097150, 1),
39025 + E(-2097152, 2097150, 1), E(-2097152, 2097150, 1),
39026 + E(-2097152, 2097150, 1), E(-2097152, 2097150, 1),
39027 + E(-2097152, 2097150, 1), E(-2097152, 2097150, 1),
39028 + E(-2097152, 2097150, 1), E(-2097152, 2097150, 1),
39029 + E(-2097152, 2097150, 1), E(-2097152, 2097150, 1),
39030 +
39031 + EMPTY, EMPTY, EMPTY, EMPTY,
39032 + /* 48 */
39033 + EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY,
39034 + EMPTY, EMPTY, EMPTY,
39035 +
39036 + C(-32, 31, 0, CP_W3), E(-1048576, 1048575, 0),
39037 +
39038 + EMPTY, EMPTY, EMPTY,
39039 + /* 64: csrfcz */
39040 + EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY,
39041 + E(0, 65535, 0), E(0, 65535, 0),
39042 + EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY,
39043 + E(-32768, 32767, 0),
39044 + /* 80: LD_SB2 */
39045 + EMPTY, EMPTY, EMPTY, EMPTY, EMPTY,
39046 +
39047 + C(0, 7, 0, LD_UB4), E(-32768, 32767, 0),
39048 +
39049 + EMPTY,
39050 + EMPTY, EMPTY,
39051 +
39052 + C(0, 14, 1, LD_SH4), E(-32768, 32767, 0),
39053 +
39054 + EMPTY, EMPTY, EMPTY,
39055 +
39056 + C(0, 14, 1, LD_UH4), E(-32768, 32767, 0),
39057 +
39058 + EMPTY, EMPTY, EMPTY, EMPTY,
39059 +
39060 + C(0, 124, 2, LD_W4), E(-32768, 32767, 0),
39061 +
39062 + E(0, 1020, 2), /* LDC_D1 */
39063 + EMPTY, EMPTY,
39064 + E(0, 1020, 2), /* LDC_W1 */
39065 + EMPTY, EMPTY,
39066 + E(0, 16380, 2), /* LDC0_D */
39067 + E(0, 16380, 2), /* LDC0_W */
39068 + EMPTY, EMPTY, EMPTY, EMPTY,
39069 +
39070 + C(0, 508, 2, LDDPC_EXT), E(-32768, 32767, 0),
39071 +
39072 + EMPTY,
39073 + EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY,
39074 + EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY,
39075 + /* 128: MACHH_W */
39076 + EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY,
39077 + E(-131072, 131068, 2), /* MCALL */
39078 + E(0, 1020, 2), /* MFDR */
39079 + E(0, 1020, 2), /* MFSR */
39080 + EMPTY, EMPTY,
39081 +
39082 + C(-128, 127, 0, MOV2), E(-1048576, 1048575, 0),
39083 +
39084 + EMPTY, EMPTY, EMPTY,
39085 + EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY,
39086 + EMPTY, EMPTY, EMPTY, EMPTY, EMPTY,
39087 +
39088 + E(-128, 127, 0), /* MOVEQ2 */
39089 + E(-128, 127, 0), /* MOVNE2 */
39090 + E(-128, 127, 0), /* MOVCC2 */
39091 + E(-128, 127, 0), /* 160: MOVCS2 */
39092 + E(-128, 127, 0), /* MOVGE2 */
39093 + E(-128, 127, 0), /* MOVLT2 */
39094 + E(-128, 127, 0), /* MOVMI2 */
39095 + E(-128, 127, 0), /* MOVPL2 */
39096 + E(-128, 127, 0), /* MOVLS2 */
39097 + E(-128, 127, 0), /* MOVGT2 */
39098 + E(-128, 127, 0), /* MOVLE2 */
39099 + E(-128, 127, 0), /* MOVHI2 */
39100 + E(-128, 127, 0), /* MOVVS2 */
39101 + E(-128, 127, 0), /* MOVVC2 */
39102 + E(-128, 127, 0), /* MOVQS2 */
39103 + E(-128, 127, 0), /* MOVAL2 */
39104 +
39105 + E(0, 1020, 2), /* MTDR */
39106 + E(0, 1020, 2), /* MTSR */
39107 + EMPTY,
39108 + EMPTY,
39109 + E(-128, 127, 0), /* MUL3 */
39110 + EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY,
39111 + EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY,
39112 + /* 192: MVCR_W */
39113 + EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY,
39114 + E(0, 65535, 0), E(0, 65535, 0),
39115 + EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY,
39116 + EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY,
39117 + EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY,
39118 + /* 224: PASR_H */
39119 + EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY,
39120 + EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY,
39121 + EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY,
39122 + EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY,
39123 + /* 256: PUNPCKSB_H */
39124 + EMPTY, EMPTY, EMPTY, EMPTY, EMPTY,
39125 +
39126 + C(-1024, 1022, 1, RCALL2), E(-2097152, 2097150, 1),
39127 +
39128 + EMPTY,
39129 + EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY,
39130 + EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY,
39131 + EMPTY, EMPTY, EMPTY,
39132 +
39133 + C(-1024, 1022, 1, BRAL),
39134 +
39135 + EMPTY, EMPTY, EMPTY,
39136 + E(-128, 127, 0), /* RSUB2 */
39137 + /* 288: SATADD_H */
39138 + EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY,
39139 + EMPTY, EMPTY, EMPTY, EMPTY, EMPTY,
39140 + E(0, 255, 0), /* SLEEP */
39141 + EMPTY, EMPTY,
39142 + EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY,
39143 + EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY,
39144 + /* 320: ST_B2 */
39145 + EMPTY, EMPTY,
39146 + C(0, 7, 0, ST_B4), E(-32768, 32767, 0),
39147 + EMPTY, EMPTY, EMPTY, EMPTY,
39148 + E(-32768, 32767, 0),
39149 + EMPTY, EMPTY, EMPTY,
39150 + C(0, 14, 1, ST_H4), E(-32768, 32767, 0),
39151 + EMPTY, EMPTY,
39152 + EMPTY,
39153 + C(0, 60, 2, ST_W4), E(-32768, 32767, 0),
39154 + E(0, 1020, 2), /* STC_D1 */
39155 + EMPTY, EMPTY,
39156 + E(0, 1020, 2), /* STC_W1 */
39157 + EMPTY, EMPTY,
39158 + E(0, 16380, 2), /* STC0_D */
39159 + E(0, 16380, 2), /* STC0_W */
39160 +
39161 + EMPTY, EMPTY, EMPTY, EMPTY, EMPTY,
39162 + /* 352: STDSP */
39163 + EMPTY, EMPTY,
39164 + E(0, 1020, 2), /* STHH_W1 */
39165 + EMPTY, EMPTY, EMPTY, EMPTY, EMPTY,
39166 + EMPTY, EMPTY, EMPTY,
39167 + E(-32768, 32767, 0),
39168 + C(-512, 508, 2, SUB4),
39169 + C(-128, 127, 0, SUB4), E(-1048576, 1048576, 0),
39170 + /* SUB{cond} */
39171 + E(-128, 127, 0), E(-128, 127, 0), E(-128, 127, 0), E(-128, 127, 0),
39172 + E(-128, 127, 0), E(-128, 127, 0), E(-128, 127, 0), E(-128, 127, 0),
39173 + E(-128, 127, 0), E(-128, 127, 0), E(-128, 127, 0), E(-128, 127, 0),
39174 + E(-128, 127, 0), E(-128, 127, 0), E(-128, 127, 0), E(-128, 127, 0),
39175 + /* SUBF{cond} */
39176 + E(-128, 127, 0), E(-128, 127, 0), E(-128, 127, 0), E(-128, 127, 0),
39177 + E(-128, 127, 0), E(-128, 127, 0), E(-128, 127, 0), E(-128, 127, 0),
39178 + E(-128, 127, 0), E(-128, 127, 0), E(-128, 127, 0), E(-128, 127, 0),
39179 + E(-128, 127, 0), E(-128, 127, 0), E(-128, 127, 0), E(-128, 127, 0),
39180 + EMPTY,
39181 +
39182 + /* 400: SWAP_B */
39183 + EMPTY, EMPTY, EMPTY,
39184 + E(0, 255, 0), /* SYNC */
39185 + EMPTY, EMPTY, EMPTY, EMPTY,
39186 + /* 408: TST */
39187 + EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY,
39188 + /* 416: EXTRACT_B */
39189 + EMPTY, EMPTY, EMPTY, EMPTY,
39190 + };
39191 +
39192 +#undef E
39193 +#undef C
39194 +#undef EMPTY
39195 +
39196 +#define AVR32_RS_NONE (-1)
39197 +
39198 +#define avr32_rs_size(state) (avr32_relax_table[(state)].length)
39199 +#define avr32_rs_align(state) (avr32_relax_table[(state)].align)
39200 +#define relax_more(state) (avr32_relax_table[(state)].next)
39201 +
39202 +#define opc_initial_substate(opc) ((opc)->id)
39203 +
39204 +static int need_relax(int subtype, offsetT distance)
39205 +{
39206 + offsetT upper_bound, lower_bound;
39207 +
39208 + upper_bound = avr32_relax_table[subtype].upper_bound;
39209 + lower_bound = avr32_relax_table[subtype].lower_bound;
39210 +
39211 + if (distance & ((1 << avr32_rs_align(subtype)) - 1))
39212 + return 1;
39213 + if ((distance > upper_bound) || (distance < lower_bound))
39214 + return 1;
39215 +
39216 + return 0;
39217 +}
39218 +
39219 +enum {
39220 + LDA_SUBTYPE_MOV1,
39221 + LDA_SUBTYPE_MOV2,
39222 + LDA_SUBTYPE_SUB,
39223 + LDA_SUBTYPE_LDDPC,
39224 + LDA_SUBTYPE_LDW,
39225 + LDA_SUBTYPE_GOTLOAD,
39226 + LDA_SUBTYPE_GOTLOAD_LARGE,
39227 +};
39228 +
39229 +enum {
39230 + CALL_SUBTYPE_RCALL1,
39231 + CALL_SUBTYPE_RCALL2,
39232 + CALL_SUBTYPE_MCALL_CP,
39233 + CALL_SUBTYPE_MCALL_GOT,
39234 + CALL_SUBTYPE_MCALL_LARGE,
39235 +};
39236 +
39237 +#define LDA_INITIAL_SIZE (avr32_pic ? 4 : 2)
39238 +#define CALL_INITIAL_SIZE 2
39239 +
39240 +#define need_reloc(sym, seg, pcrel) \
39241 + (!(S_IS_DEFINED(sym) \
39242 + && ((pcrel && S_GET_SEGMENT(sym) == seg) \
39243 + || (!pcrel && S_GET_SEGMENT(sym) == absolute_section))) \
39244 + || S_FORCE_RELOC(sym, 1))
39245 +
39246 +/* Return an initial guess of the length by which a fragment must grow to
39247 + hold a branch to reach its destination.
39248 + Also updates fr_type/fr_subtype as necessary.
39249 +
39250 + Called just before doing relaxation.
39251 + Any symbol that is now undefined will not become defined.
39252 + The guess for fr_var is ACTUALLY the growth beyond fr_fix.
39253 + Whatever we do to grow fr_fix or fr_var contributes to our returned value.
39254 + Although it may not be explicit in the frag, pretend fr_var starts with a
39255 + 0 value. */
39256 +
39257 +static int
39258 +avr32_default_estimate_size_before_relax (fragS *fragP, segT segment)
39259 +{
39260 + int growth = 0;
39261 +
39262 + assert(fragP);
39263 + assert(fragP->fr_symbol);
39264 +
39265 + if (fragP->tc_frag_data.force_extended
39266 + || need_reloc(fragP->fr_symbol, segment, fragP->tc_frag_data.pcrel))
39267 + {
39268 + int largest_state = fragP->fr_subtype;
39269 + while (relax_more(largest_state) != AVR32_RS_NONE)
39270 + largest_state = relax_more(largest_state);
39271 + growth = avr32_rs_size(largest_state) - fragP->fr_var;
39272 + }
39273 + else
39274 + {
39275 + growth = avr32_rs_size(fragP->fr_subtype) - fragP->fr_var;
39276 + }
39277 +
39278 + pr_debug("%s:%d: md_estimate_size_before_relax: %d\n",
39279 + fragP->fr_file, fragP->fr_line, growth);
39280 +
39281 + return growth;
39282 +}
39283 +
39284 +static int
39285 +avr32_lda_estimate_size_before_relax(fragS *fragP, segT segment ATTRIBUTE_UNUSED)
39286 +{
39287 + return fragP->fr_var - LDA_INITIAL_SIZE;
39288 +}
39289 +
39290 +static int
39291 +avr32_call_estimate_size_before_relax(fragS *fragP, segT segment ATTRIBUTE_UNUSED)
39292 +{
39293 + return fragP->fr_var - CALL_INITIAL_SIZE;
39294 +}
39295 +
39296 +static int
39297 +avr32_cpool_estimate_size_before_relax(fragS *fragP,
39298 + segT segment ATTRIBUTE_UNUSED)
39299 +{
39300 + return fragP->fr_var;
39301 +}
39302 +
39303 +/* This macro may be defined to relax a frag. GAS will call this with the
39304 + * segment, the frag, and the change in size of all previous frags;
39305 + * md_relax_frag should return the change in size of the frag. */
39306 +static long
39307 +avr32_default_relax_frag (segT segment, fragS *fragP, long stretch)
39308 +{
39309 + int state, next_state;
39310 + symbolS *symbolP; /* The target symbol */
39311 + long growth = 0;
39312 +
39313 + state = next_state = fragP->fr_subtype;
39314 +
39315 + symbolP = fragP->fr_symbol;
39316 +
39317 + if (fragP->tc_frag_data.force_extended
39318 + || need_reloc(symbolP, segment, fragP->tc_frag_data.pcrel))
39319 + {
39320 + /* Symbol must be resolved by the linker. Emit the largest
39321 + possible opcode. */
39322 + while (relax_more(next_state) != AVR32_RS_NONE)
39323 + next_state = relax_more(next_state);
39324 + }
39325 + else
39326 + {
39327 + addressT address; /* The address of fragP */
39328 + addressT target; /* The address of the target symbol */
39329 + offsetT distance; /* The distance between the insn and the symbol */
39330 + fragS *sym_frag;
39331 +
39332 + address = fragP->fr_address;
39333 + target = fragP->fr_offset;
39334 + symbolP = fragP->fr_symbol;
39335 + sym_frag = symbol_get_frag(symbolP);
39336 +
39337 + address += fragP->fr_fix - fragP->fr_var;
39338 + target += S_GET_VALUE(symbolP);
39339 +
39340 + if (stretch != 0
39341 + && sym_frag->relax_marker != fragP->relax_marker
39342 + && S_GET_SEGMENT(symbolP) == segment)
39343 + /* if it was correctly aligned before, make sure it stays aligned */
39344 + target += stretch & (~0UL << avr32_rs_align(state));
39345 +
39346 + if (fragP->tc_frag_data.pcrel)
39347 + distance = target - (address & (~0UL << avr32_rs_align(state)));
39348 + else
39349 + distance = target;
39350 +
39351 + pr_debug("%s:%d: relax more? 0x%x - 0x%x = 0x%x (%d), align %d\n",
39352 + fragP->fr_file, fragP->fr_line, target, address,
39353 + distance, distance, avr32_rs_align(state));
39354 +
39355 + if (need_relax(state, distance))
39356 + {
39357 + if (relax_more(state) != AVR32_RS_NONE)
39358 + next_state = relax_more(state);
39359 + pr_debug("%s:%d: relax more %d -> %d (%d - %d, align %d)\n",
39360 + fragP->fr_file, fragP->fr_line, state, next_state,
39361 + target, address, avr32_rs_align(state));
39362 + }
39363 + }
39364 +
39365 + growth = avr32_rs_size(next_state) - avr32_rs_size(state);
39366 + fragP->fr_subtype = next_state;
39367 +
39368 + pr_debug("%s:%d: md_relax_frag: growth=%d, subtype=%d, opc=0x%08lx\n",
39369 + fragP->fr_file, fragP->fr_line, growth, fragP->fr_subtype,
39370 + avr32_opc_table[next_state].value);
39371 +
39372 + return growth;
39373 +}
39374 +
39375 +static long
39376 +avr32_lda_relax_frag(segT segment, fragS *fragP, long stretch)
39377 +{
39378 + struct cpool *pool= NULL;
39379 + unsigned int entry = 0;
39380 + addressT address, target;
39381 + offsetT distance;
39382 + symbolS *symbolP;
39383 + fragS *sym_frag;
39384 + long old_size, new_size;
39385 +
39386 + symbolP = fragP->fr_symbol;
39387 + old_size = fragP->fr_var;
39388 + if (!avr32_pic)
39389 + {
39390 + pool = fragP->tc_frag_data.pool;
39391 + entry = fragP->tc_frag_data.pool_entry;
39392 + }
39393 +
39394 + address = fragP->fr_address;
39395 + address += fragP->fr_fix - LDA_INITIAL_SIZE;
39396 +
39397 + if (!S_IS_DEFINED(symbolP) || S_FORCE_RELOC(symbolP, 1))
39398 + goto relax_max;
39399 +
39400 + target = fragP->fr_offset;
39401 + sym_frag = symbol_get_frag(symbolP);
39402 + target += S_GET_VALUE(symbolP);
39403 +
39404 + if (sym_frag->relax_marker != fragP->relax_marker
39405 + && S_GET_SEGMENT(symbolP) == segment)
39406 + target += stretch;
39407 +
39408 + distance = target - address;
39409 +
39410 + pr_debug("lda_relax_frag: target: %d, address: %d, var: %d\n",
39411 + target, address, fragP->fr_var);
39412 +
39413 + if (!avr32_pic && S_GET_SEGMENT(symbolP) == absolute_section
39414 + && target <= 127 && (offsetT)target >= -128)
39415 + {
39416 + if (fragP->fr_subtype == LDA_SUBTYPE_LDDPC
39417 + || fragP->fr_subtype == LDA_SUBTYPE_LDW)
39418 + pool->literals[entry].refcount--;
39419 + new_size = 2;
39420 + fragP->fr_subtype = LDA_SUBTYPE_MOV1;
39421 + }
39422 + else if (!avr32_pic && S_GET_SEGMENT(symbolP) == absolute_section
39423 + && target <= 1048575 && (offsetT)target >= -1048576)
39424 + {
39425 + if (fragP->fr_subtype == LDA_SUBTYPE_LDDPC
39426 + || fragP->fr_subtype == LDA_SUBTYPE_LDW)
39427 + pool->literals[entry].refcount--;
39428 + new_size = 4;
39429 + fragP->fr_subtype = LDA_SUBTYPE_MOV2;
39430 + }
39431 + else if (!linkrelax && S_GET_SEGMENT(symbolP) == segment
39432 + /* the field will be negated, so this is really -(-32768)
39433 + and -(32767) */
39434 + && distance <= 32768 && distance >= -32767)
39435 + {
39436 + if (!avr32_pic
39437 + && (fragP->fr_subtype == LDA_SUBTYPE_LDDPC
39438 + || fragP->fr_subtype == LDA_SUBTYPE_LDW))
39439 + pool->literals[entry].refcount--;
39440 + new_size = 4;
39441 + fragP->fr_subtype = LDA_SUBTYPE_SUB;
39442 + }
39443 + else
39444 + {
39445 + relax_max:
39446 + if (avr32_pic)
39447 + {
39448 + if (linkrelax)
39449 + {
39450 + new_size = 8;
39451 + fragP->fr_subtype = LDA_SUBTYPE_GOTLOAD_LARGE;
39452 + }
39453 + else
39454 + {
39455 + new_size = 4;
39456 + fragP->fr_subtype = LDA_SUBTYPE_GOTLOAD;
39457 + }
39458 + }
39459 + else
39460 + {
39461 + if (fragP->fr_subtype != LDA_SUBTYPE_LDDPC
39462 + && fragP->fr_subtype != LDA_SUBTYPE_LDW)
39463 + pool->literals[entry].refcount++;
39464 +
39465 + sym_frag = symbol_get_frag(pool->symbol);
39466 + target = (sym_frag->fr_address + sym_frag->fr_fix
39467 + + pool->padding + pool->literals[entry].offset);
39468 +
39469 + pr_debug("cpool sym address: 0x%lx\n",
39470 + sym_frag->fr_address + sym_frag->fr_fix);
39471 +
39472 + know(pool->section == segment);
39473 +
39474 + if (sym_frag->relax_marker != fragP->relax_marker)
39475 + target += stretch;
39476 +
39477 + distance = target - address;
39478 + if (distance <= 508 && distance >= 0)
39479 + {
39480 + new_size = 2;
39481 + fragP->fr_subtype = LDA_SUBTYPE_LDDPC;
39482 + }
39483 + else
39484 + {
39485 + new_size = 4;
39486 + fragP->fr_subtype = LDA_SUBTYPE_LDW;
39487 + }
39488 +
39489 + pr_debug("lda_relax_frag (cpool): target=0x%lx, address=0x%lx, refcount=%d\n",
39490 + target, address, pool->literals[entry].refcount);
39491 + }
39492 + }
39493 +
39494 + fragP->fr_var = new_size;
39495 +
39496 + pr_debug("%s:%d: lda: relax pass done. subtype: %d, growth: %ld\n",
39497 + fragP->fr_file, fragP->fr_line,
39498 + fragP->fr_subtype, new_size - old_size);
39499 +
39500 + return new_size - old_size;
39501 +}
39502 +
39503 +static long
39504 +avr32_call_relax_frag(segT segment, fragS *fragP, long stretch)
39505 +{
39506 + struct cpool *pool = NULL;
39507 + unsigned int entry = 0;
39508 + addressT address, target;
39509 + offsetT distance;
39510 + symbolS *symbolP;
39511 + fragS *sym_frag;
39512 + long old_size, new_size;
39513 +
39514 + symbolP = fragP->fr_symbol;
39515 + old_size = fragP->fr_var;
39516 + if (!avr32_pic)
39517 + {
39518 + pool = fragP->tc_frag_data.pool;
39519 + entry = fragP->tc_frag_data.pool_entry;
39520 + }
39521 +
39522 + address = fragP->fr_address;
39523 + address += fragP->fr_fix - CALL_INITIAL_SIZE;
39524 +
39525 + if (need_reloc(symbolP, segment, 1))
39526 + {
39527 + pr_debug("call: must emit reloc\n");
39528 + goto relax_max;
39529 + }
39530 +
39531 + target = fragP->fr_offset;
39532 + sym_frag = symbol_get_frag(symbolP);
39533 + target += S_GET_VALUE(symbolP);
39534 +
39535 + if (sym_frag->relax_marker != fragP->relax_marker
39536 + && S_GET_SEGMENT(symbolP) == segment)
39537 + target += stretch;
39538 +
39539 + distance = target - address;
39540 +
39541 + if (distance <= 1022 && distance >= -1024)
39542 + {
39543 + pr_debug("call: distance is %d, emitting short rcall\n", distance);
39544 + if (!avr32_pic && fragP->fr_subtype == CALL_SUBTYPE_MCALL_CP)
39545 + pool->literals[entry].refcount--;
39546 + new_size = 2;
39547 + fragP->fr_subtype = CALL_SUBTYPE_RCALL1;
39548 + }
39549 + else if (distance <= 2097150 && distance >= -2097152)
39550 + {
39551 + pr_debug("call: distance is %d, emitting long rcall\n", distance);
39552 + if (!avr32_pic && fragP->fr_subtype == CALL_SUBTYPE_MCALL_CP)
39553 + pool->literals[entry].refcount--;
39554 + new_size = 4;
39555 + fragP->fr_subtype = CALL_SUBTYPE_RCALL2;
39556 + }
39557 + else
39558 + {
39559 + pr_debug("call: distance %d too far, emitting something big\n", distance);
39560 +
39561 + relax_max:
39562 + if (avr32_pic)
39563 + {
39564 + if (linkrelax)
39565 + {
39566 + new_size = 10;
39567 + fragP->fr_subtype = CALL_SUBTYPE_MCALL_LARGE;
39568 + }
39569 + else
39570 + {
39571 + new_size = 4;
39572 + fragP->fr_subtype = CALL_SUBTYPE_MCALL_GOT;
39573 + }
39574 + }
39575 + else
39576 + {
39577 + if (fragP->fr_subtype != CALL_SUBTYPE_MCALL_CP)
39578 + pool->literals[entry].refcount++;
39579 +
39580 + new_size = 4;
39581 + fragP->fr_subtype = CALL_SUBTYPE_MCALL_CP;
39582 + }
39583 + }
39584 +
39585 + fragP->fr_var = new_size;
39586 +
39587 + pr_debug("%s:%d: call: relax pass done, growth: %d, fr_var: %d\n",
39588 + fragP->fr_file, fragP->fr_line,
39589 + new_size - old_size, fragP->fr_var);
39590 +
39591 + return new_size - old_size;
39592 +}
39593 +
39594 +static long
39595 +avr32_cpool_relax_frag(segT segment ATTRIBUTE_UNUSED,
39596 + fragS *fragP,
39597 + long stretch ATTRIBUTE_UNUSED)
39598 +{
39599 + struct cpool *pool;
39600 + addressT address;
39601 + long old_size, new_size;
39602 + unsigned int entry;
39603 +
39604 + pool = fragP->tc_frag_data.pool;
39605 + address = fragP->fr_address + fragP->fr_fix;
39606 + old_size = fragP->fr_var;
39607 + new_size = 0;
39608 +
39609 + for (entry = 0; entry < pool->next_free_entry; entry++)
39610 + {
39611 + if (pool->literals[entry].refcount > 0)
39612 + {
39613 + pool->literals[entry].offset = new_size;
39614 + new_size += 4;
39615 + }
39616 + }
39617 +
39618 + fragP->fr_var = new_size;
39619 +
39620 + return new_size - old_size;
39621 +}
39622 +
39623 +/* *fragP has been relaxed to its final size, and now needs to have
39624 + the bytes inside it modified to conform to the new size.
39625 +
39626 + Called after relaxation is finished.
39627 + fragP->fr_type == rs_machine_dependent.
39628 + fragP->fr_subtype is the subtype of what the address relaxed to. */
39629 +
39630 +static void
39631 +avr32_default_convert_frag (bfd *abfd ATTRIBUTE_UNUSED,
39632 + segT segment ATTRIBUTE_UNUSED,
39633 + fragS *fragP)
39634 +{
39635 + const struct avr32_opcode *opc;
39636 + const struct avr32_ifield *ifield;
39637 + bfd_reloc_code_real_type r_type;
39638 + symbolS *symbolP;
39639 + fixS *fixP;
39640 + bfd_vma value;
39641 + int subtype;
39642 +
39643 + opc = &avr32_opc_table[fragP->fr_subtype];
39644 + ifield = opc->fields[opc->var_field];
39645 + symbolP = fragP->fr_symbol;
39646 + subtype = fragP->fr_subtype;
39647 + r_type = opc->reloc_type;
39648 +
39649 + /* Clear the opcode bits and the bits belonging to the relaxed
39650 + field. We assume all other fields stay the same. */
39651 + value = bfd_getb32(fragP->fr_opcode);
39652 + value &= ~(opc->mask | ifield->mask);
39653 +
39654 + /* Insert the new opcode */
39655 + value |= opc->value;
39656 + bfd_putb32(value, fragP->fr_opcode);
39657 +
39658 + fragP->fr_fix += opc->size - fragP->fr_var;
39659 +
39660 + if (fragP->tc_frag_data.reloc_info != AVR32_OPINFO_NONE)
39661 + {
39662 + switch (fragP->tc_frag_data.reloc_info)
39663 + {
39664 + case AVR32_OPINFO_HI:
39665 + r_type = BFD_RELOC_HI16;
39666 + break;
39667 + case AVR32_OPINFO_LO:
39668 + r_type = BFD_RELOC_LO16;
39669 + break;
39670 + case AVR32_OPINFO_GOT:
39671 + switch (r_type)
39672 + {
39673 + case BFD_RELOC_AVR32_18W_PCREL:
39674 + r_type = BFD_RELOC_AVR32_GOT18SW;
39675 + break;
39676 + case BFD_RELOC_AVR32_16S:
39677 + r_type = BFD_RELOC_AVR32_GOT16S;
39678 + break;
39679 + default:
39680 + BAD_CASE(r_type);
39681 + break;
39682 + }
39683 + break;
39684 + default:
39685 + BAD_CASE(fragP->tc_frag_data.reloc_info);
39686 + break;
39687 + }
39688 + }
39689 +
39690 + pr_debug("%s:%d: convert_frag: new %s fixup\n",
39691 + fragP->fr_file, fragP->fr_line,
39692 + bfd_get_reloc_code_name(r_type));
39693 +
39694 +#if 1
39695 + fixP = fix_new_exp(fragP, fragP->fr_fix - opc->size, opc->size,
39696 + &fragP->tc_frag_data.exp,
39697 + fragP->tc_frag_data.pcrel, r_type);
39698 +#else
39699 + fixP = fix_new(fragP, fragP->fr_fix - opc->size, opc->size, symbolP,
39700 + fragP->fr_offset, fragP->tc_frag_data.pcrel, r_type);
39701 +#endif
39702 +
39703 + /* Revert fix_new brain damage. "dot_value" is the value of PC at
39704 + the point of the fixup, relative to the frag address. fix_new()
39705 + and friends think they are only being called during the assembly
39706 + pass, not during relaxation or similar, so fx_dot_value, fx_file
39707 + and fx_line are all initialized to the wrong value. But we don't
39708 + know the size of the fixup until now, so we really can't live up
39709 + to the assumptions these functions make about the target. What
39710 + do these functions think the "where" and "frag" argument mean
39711 + anyway? */
39712 + fixP->fx_dot_value = fragP->fr_fix - opc->size;
39713 + fixP->fx_file = fragP->fr_file;
39714 + fixP->fx_line = fragP->fr_line;
39715 +
39716 + fixP->tc_fix_data.ifield = ifield;
39717 + fixP->tc_fix_data.align = avr32_rs_align(subtype);
39718 + fixP->tc_fix_data.min = avr32_relax_table[subtype].lower_bound;
39719 + fixP->tc_fix_data.max = avr32_relax_table[subtype].upper_bound;
39720 +}
39721 +
39722 +static void
39723 +avr32_lda_convert_frag(bfd *abfd ATTRIBUTE_UNUSED,
39724 + segT segment ATTRIBUTE_UNUSED,
39725 + fragS *fragP)
39726 +{
39727 + const struct avr32_opcode *opc;
39728 + const struct avr32_ifield *ifield;
39729 + bfd_reloc_code_real_type r_type;
39730 + expressionS exp;
39731 + struct cpool *pool;
39732 + fixS *fixP;
39733 + bfd_vma value;
39734 + int regid, pcrel = 0, align = 0;
39735 + char *p;
39736 +
39737 + r_type = BFD_RELOC_NONE;
39738 + regid = fragP->tc_frag_data.reloc_info;
39739 + p = fragP->fr_opcode;
39740 + exp.X_add_symbol = fragP->fr_symbol;
39741 + exp.X_add_number = fragP->fr_offset;
39742 + exp.X_op = O_symbol;
39743 +
39744 + pr_debug("%s:%d: lda_convert_frag, subtype: %d, fix: %d, var: %d, regid: %d\n",
39745 + fragP->fr_file, fragP->fr_line,
39746 + fragP->fr_subtype, fragP->fr_fix, fragP->fr_var, regid);
39747 +
39748 + switch (fragP->fr_subtype)
39749 + {
39750 + case LDA_SUBTYPE_MOV1:
39751 + opc = &avr32_opc_table[AVR32_OPC_MOV1];
39752 + opc->fields[0]->insert(opc->fields[0], p, regid);
39753 + ifield = opc->fields[1];
39754 + r_type = opc->reloc_type;
39755 + break;
39756 + case LDA_SUBTYPE_MOV2:
39757 + opc = &avr32_opc_table[AVR32_OPC_MOV2];
39758 + opc->fields[0]->insert(opc->fields[0], p, regid);
39759 + ifield = opc->fields[1];
39760 + r_type = opc->reloc_type;
39761 + break;
39762 + case LDA_SUBTYPE_SUB:
39763 + opc = &avr32_opc_table[AVR32_OPC_SUB5];
39764 + opc->fields[0]->insert(opc->fields[0], p, regid);
39765 + opc->fields[1]->insert(opc->fields[1], p, AVR32_REG_PC);
39766 + ifield = opc->fields[2];
39767 + r_type = BFD_RELOC_AVR32_16N_PCREL;
39768 +
39769 + /* Pretend that SUB5 isn't a "negated" pcrel expression for now.
39770 + We'll have to fix it up later when we know whether to
39771 + generate a reloc for it (in which case the linker will negate
39772 + it, so we shouldn't). */
39773 + pcrel = 1;
39774 + break;
39775 + case LDA_SUBTYPE_LDDPC:
39776 + opc = &avr32_opc_table[AVR32_OPC_LDDPC];
39777 + align = 2;
39778 + r_type = BFD_RELOC_AVR32_9W_CP;
39779 + goto cpool_common;
39780 + case LDA_SUBTYPE_LDW:
39781 + opc = &avr32_opc_table[AVR32_OPC_LDDPC_EXT];
39782 + r_type = BFD_RELOC_AVR32_16_CP;
39783 + cpool_common:
39784 + opc->fields[0]->insert(opc->fields[0], p, regid);
39785 + ifield = opc->fields[1];
39786 + pool = fragP->tc_frag_data.pool;
39787 + exp.X_add_symbol = pool->symbol;
39788 + exp.X_add_number = pool->literals[fragP->tc_frag_data.pool_entry].offset;
39789 + pcrel = 1;
39790 + break;
39791 + case LDA_SUBTYPE_GOTLOAD_LARGE:
39792 + /* ld.w Rd, r6[Rd << 2] (last) */
39793 + opc = &avr32_opc_table[AVR32_OPC_LD_W5];
39794 + bfd_putb32(opc->value, p + 4);
39795 + opc->fields[0]->insert(opc->fields[0], p + 4, regid);
39796 + opc->fields[1]->insert(opc->fields[1], p + 4, 6);
39797 + opc->fields[2]->insert(opc->fields[2], p + 4, regid);
39798 + opc->fields[3]->insert(opc->fields[3], p + 4, 2);
39799 +
39800 + /* mov Rd, (got_offset / 4) */
39801 + opc = &avr32_opc_table[AVR32_OPC_MOV2];
39802 + opc->fields[0]->insert(opc->fields[0], p, regid);
39803 + ifield = opc->fields[1];
39804 + r_type = BFD_RELOC_AVR32_LDA_GOT;
39805 + break;
39806 + case LDA_SUBTYPE_GOTLOAD:
39807 + opc = &avr32_opc_table[AVR32_OPC_LD_W4];
39808 + opc->fields[0]->insert(opc->fields[0], p, regid);
39809 + opc->fields[1]->insert(opc->fields[1], p, 6);
39810 + ifield = opc->fields[2];
39811 + if (r_type == BFD_RELOC_NONE)
39812 + r_type = BFD_RELOC_AVR32_GOT16S;
39813 + break;
39814 + default:
39815 + BAD_CASE(fragP->fr_subtype);
39816 + }
39817 +
39818 + value = bfd_getb32(p);
39819 + value &= ~(opc->mask | ifield->mask);
39820 + value |= opc->value;
39821 + bfd_putb32(value, p);
39822 +
39823 + fragP->fr_fix += fragP->fr_var - LDA_INITIAL_SIZE;
39824 +
39825 + if (fragP->fr_next
39826 + && ((offsetT)(fragP->fr_next->fr_address - fragP->fr_address)
39827 + != fragP->fr_fix))
39828 + {
39829 + fprintf(stderr, "LDA frag: fr_fix is wrong! fragP->fr_var = %ld, r_type = %s\n",
39830 + fragP->fr_var, bfd_get_reloc_code_name(r_type));
39831 + abort();
39832 + }
39833 +
39834 + fixP = fix_new_exp(fragP, fragP->fr_fix - fragP->fr_var, fragP->fr_var,
39835 + &exp, pcrel, r_type);
39836 +
39837 + /* Revert fix_new brain damage. "dot_value" is the value of PC at
39838 + the point of the fixup, relative to the frag address. fix_new()
39839 + and friends think they are only being called during the assembly
39840 + pass, not during relaxation or similar, so fx_dot_value, fx_file
39841 + and fx_line are all initialized to the wrong value. But we don't
39842 + know the size of the fixup until now, so we really can't live up
39843 + to the assumptions these functions make about the target. What
39844 + do these functions think the "where" and "frag" argument mean
39845 + anyway? */
39846 + fixP->fx_dot_value = fragP->fr_fix - opc->size;
39847 + fixP->fx_file = fragP->fr_file;
39848 + fixP->fx_line = fragP->fr_line;
39849 +
39850 + fixP->tc_fix_data.ifield = ifield;
39851 + fixP->tc_fix_data.align = align;
39852 + /* these are only used if the fixup can actually be resolved */
39853 + fixP->tc_fix_data.min = -32768;
39854 + fixP->tc_fix_data.max = 32767;
39855 +}
39856 +
39857 +static void
39858 +avr32_call_convert_frag(bfd *abfd ATTRIBUTE_UNUSED,
39859 + segT segment ATTRIBUTE_UNUSED,
39860 + fragS *fragP)
39861 +{
39862 + const struct avr32_opcode *opc = NULL;
39863 + const struct avr32_ifield *ifield;
39864 + bfd_reloc_code_real_type r_type;
39865 + symbolS *symbol;
39866 + offsetT offset;
39867 + fixS *fixP;
39868 + bfd_vma value;
39869 + int pcrel = 0, align = 0;
39870 + char *p;
39871 +
39872 + symbol = fragP->fr_symbol;
39873 + offset = fragP->fr_offset;
39874 + r_type = BFD_RELOC_NONE;
39875 + p = fragP->fr_opcode;
39876 +
39877 + pr_debug("%s:%d: call_convert_frag, subtype: %d, fix: %d, var: %d\n",
39878 + fragP->fr_file, fragP->fr_line,
39879 + fragP->fr_subtype, fragP->fr_fix, fragP->fr_var);
39880 +
39881 + switch (fragP->fr_subtype)
39882 + {
39883 + case CALL_SUBTYPE_RCALL1:
39884 + opc = &avr32_opc_table[AVR32_OPC_RCALL1];
39885 + /* fall through */
39886 + case CALL_SUBTYPE_RCALL2:
39887 + if (!opc)
39888 + opc = &avr32_opc_table[AVR32_OPC_RCALL2];
39889 + ifield = opc->fields[0];
39890 + r_type = opc->reloc_type;
39891 + pcrel = 1;
39892 + align = 1;
39893 + break;
39894 + case CALL_SUBTYPE_MCALL_CP:
39895 + opc = &avr32_opc_table[AVR32_OPC_MCALL];
39896 + opc->fields[0]->insert(opc->fields[0], p, AVR32_REG_PC);
39897 + ifield = opc->fields[1];
39898 + r_type = BFD_RELOC_AVR32_CPCALL;
39899 + symbol = fragP->tc_frag_data.pool->symbol;
39900 + offset = fragP->tc_frag_data.pool->literals[fragP->tc_frag_data.pool_entry].offset;
39901 + assert(fragP->tc_frag_data.pool->literals[fragP->tc_frag_data.pool_entry].refcount > 0);
39902 + pcrel = 1;
39903 + align = 2;
39904 + break;
39905 + case CALL_SUBTYPE_MCALL_GOT:
39906 + opc = &avr32_opc_table[AVR32_OPC_MCALL];
39907 + opc->fields[0]->insert(opc->fields[0], p, 6);
39908 + ifield = opc->fields[1];
39909 + r_type = BFD_RELOC_AVR32_GOT18SW;
39910 + break;
39911 + case CALL_SUBTYPE_MCALL_LARGE:
39912 + assert(fragP->fr_var == 10);
39913 + /* ld.w lr, r6[lr << 2] */
39914 + opc = &avr32_opc_table[AVR32_OPC_LD_W5];
39915 + bfd_putb32(opc->value, p + 4);
39916 + opc->fields[0]->insert(opc->fields[0], p + 4, AVR32_REG_LR);
39917 + opc->fields[1]->insert(opc->fields[1], p + 4, 6);
39918 + opc->fields[2]->insert(opc->fields[2], p + 4, AVR32_REG_LR);
39919 + opc->fields[3]->insert(opc->fields[3], p + 4, 2);
39920 +
39921 + /* icall lr */
39922 + opc = &avr32_opc_table[AVR32_OPC_ICALL];
39923 + bfd_putb16(opc->value >> 16, p + 8);
39924 + opc->fields[0]->insert(opc->fields[0], p + 8, AVR32_REG_LR);
39925 +
39926 + /* mov lr, (got_offset / 4) */
39927 + opc = &avr32_opc_table[AVR32_OPC_MOV2];
39928 + opc->fields[0]->insert(opc->fields[0], p, AVR32_REG_LR);
39929 + ifield = opc->fields[1];
39930 + r_type = BFD_RELOC_AVR32_GOTCALL;
39931 + break;
39932 + default:
39933 + BAD_CASE(fragP->fr_subtype);
39934 + }
39935 +
39936 + /* Insert the opcode and clear the variable ifield */
39937 + value = bfd_getb32(p);
39938 + value &= ~(opc->mask | ifield->mask);
39939 + value |= opc->value;
39940 + bfd_putb32(value, p);
39941 +
39942 + fragP->fr_fix += fragP->fr_var - CALL_INITIAL_SIZE;
39943 +
39944 + if (fragP->fr_next
39945 + && ((offsetT)(fragP->fr_next->fr_address - fragP->fr_address)
39946 + != fragP->fr_fix))
39947 + {
39948 + fprintf(stderr, "%s:%d: fr_fix %lu is wrong! fr_var=%lu, r_type=%s\n",
39949 + fragP->fr_file, fragP->fr_line,
39950 + fragP->fr_fix, fragP->fr_var, bfd_get_reloc_code_name(r_type));
39951 + fprintf(stderr, "fr_fix should be %ld. next frag is %s:%d\n",
39952 + (offsetT)(fragP->fr_next->fr_address - fragP->fr_address),
39953 + fragP->fr_next->fr_file, fragP->fr_next->fr_line);
39954 + }
39955 +
39956 + fixP = fix_new(fragP, fragP->fr_fix - fragP->fr_var, fragP->fr_var,
39957 + symbol, offset, pcrel, r_type);
39958 +
39959 + /* Revert fix_new brain damage. "dot_value" is the value of PC at
39960 + the point of the fixup, relative to the frag address. fix_new()
39961 + and friends think they are only being called during the assembly
39962 + pass, not during relaxation or similar, so fx_dot_value, fx_file
39963 + and fx_line are all initialized to the wrong value. But we don't
39964 + know the size of the fixup until now, so we really can't live up
39965 + to the assumptions these functions make about the target. What
39966 + do these functions think the "where" and "frag" argument mean
39967 + anyway? */
39968 + fixP->fx_dot_value = fragP->fr_fix - opc->size;
39969 + fixP->fx_file = fragP->fr_file;
39970 + fixP->fx_line = fragP->fr_line;
39971 +
39972 + fixP->tc_fix_data.ifield = ifield;
39973 + fixP->tc_fix_data.align = align;
39974 + /* these are only used if the fixup can actually be resolved */
39975 + fixP->tc_fix_data.min = -2097152;
39976 + fixP->tc_fix_data.max = 2097150;
39977 +}
39978 +
39979 +static void
39980 +avr32_cpool_convert_frag(bfd *abfd ATTRIBUTE_UNUSED,
39981 + segT segment ATTRIBUTE_UNUSED,
39982 + fragS *fragP)
39983 +{
39984 + struct cpool *pool;
39985 + addressT address;
39986 + unsigned int entry;
39987 + char *p;
39988 + char sym_name[20];
39989 +
39990 + /* Did we get rid of the frag altogether? */
39991 + if (!fragP->fr_var)
39992 + return;
39993 +
39994 + pool = fragP->tc_frag_data.pool;
39995 + address = fragP->fr_address + fragP->fr_fix;
39996 + p = fragP->fr_literal + fragP->fr_fix;
39997 +
39998 + sprintf(sym_name, "$$cp_\002%x", pool->id);
39999 + symbol_locate(pool->symbol, sym_name, pool->section, fragP->fr_fix, fragP);
40000 + symbol_table_insert(pool->symbol);
40001 +
40002 + for (entry = 0; entry < pool->next_free_entry; entry++)
40003 + {
40004 + if (pool->literals[entry].refcount > 0)
40005 + {
40006 + fix_new_exp(fragP, fragP->fr_fix, 4, &pool->literals[entry].exp,
40007 + FALSE, BFD_RELOC_AVR32_32_CPENT);
40008 + fragP->fr_fix += 4;
40009 + }
40010 + }
40011 +}
40012 +
40013 +static struct avr32_relaxer avr32_default_relaxer = {
40014 + .estimate_size = avr32_default_estimate_size_before_relax,
40015 + .relax_frag = avr32_default_relax_frag,
40016 + .convert_frag = avr32_default_convert_frag,
40017 +};
40018 +static struct avr32_relaxer avr32_lda_relaxer = {
40019 + .estimate_size = avr32_lda_estimate_size_before_relax,
40020 + .relax_frag = avr32_lda_relax_frag,
40021 + .convert_frag = avr32_lda_convert_frag,
40022 +};
40023 +static struct avr32_relaxer avr32_call_relaxer = {
40024 + .estimate_size = avr32_call_estimate_size_before_relax,
40025 + .relax_frag = avr32_call_relax_frag,
40026 + .convert_frag = avr32_call_convert_frag,
40027 +};
40028 +static struct avr32_relaxer avr32_cpool_relaxer = {
40029 + .estimate_size = avr32_cpool_estimate_size_before_relax,
40030 + .relax_frag = avr32_cpool_relax_frag,
40031 + .convert_frag = avr32_cpool_convert_frag,
40032 +};
40033 +
40034 +static void s_cpool(int arg ATTRIBUTE_UNUSED)
40035 +{
40036 + struct cpool *pool;
40037 + unsigned int max_size;
40038 + char *buf;
40039 +
40040 + pool = find_cpool(now_seg, now_subseg);
40041 + if (!pool || !pool->symbol || pool->next_free_entry == 0)
40042 + return;
40043 +
40044 + /* Make sure the constant pool is properly aligned */
40045 + frag_align_code(2, 0);
40046 +
40047 + /* Assume none of the entries are discarded, and that we need the
40048 + maximum amount of alignment. But we're not going to allocate
40049 + anything up front. */
40050 + max_size = pool->next_free_entry * 4 + 2;
40051 + frag_grow(max_size);
40052 + buf = frag_more(0);
40053 +
40054 + frag_now->tc_frag_data.relaxer = &avr32_cpool_relaxer;
40055 + frag_now->tc_frag_data.pool = pool;
40056 +
40057 + symbol_set_frag(pool->symbol, frag_now);
40058 +
40059 + /* Assume zero initial size, allowing other relaxers to be
40060 + optimistic about things. */
40061 + frag_var(rs_machine_dependent, max_size, 0,
40062 + 0, pool->symbol, 0, NULL);
40063 +
40064 + /* Mark the pool as empty. */
40065 + pool->used = 1;
40066 +}
40067 +
40068 +/* The location from which a PC relative jump should be calculated,
40069 + given a PC relative reloc. */
40070 +
40071 +long
40072 +md_pcrel_from_section (fixS *fixP, segT sec)
40073 +{
40074 + pr_debug("pcrel_from_section, fx_offset = %d\n", fixP->fx_offset);
40075 +
40076 + if (fixP->fx_addsy != NULL
40077 + && (! S_IS_DEFINED (fixP->fx_addsy)
40078 + || S_GET_SEGMENT (fixP->fx_addsy) != sec
40079 + || S_FORCE_RELOC(fixP->fx_addsy, 1)))
40080 + {
40081 + pr_debug("Unknown pcrel symbol: %s\n", S_GET_NAME(fixP->fx_addsy));
40082 +
40083 + /* The symbol is undefined (or is defined but not in this section).
40084 + Let the linker figure it out. */
40085 + return 0;
40086 + }
40087 +
40088 + pr_debug("pcrel from %x + %x, symbol: %s (%x)\n",
40089 + fixP->fx_frag->fr_address, fixP->fx_where,
40090 + fixP->fx_addsy?S_GET_NAME(fixP->fx_addsy):"(null)",
40091 + fixP->fx_addsy?S_GET_VALUE(fixP->fx_addsy):0);
40092 +
40093 + return ((fixP->fx_frag->fr_address + fixP->fx_where)
40094 + & (~0UL << fixP->tc_fix_data.align));
40095 +}
40096 +
40097 +valueT
40098 +md_section_align (segT segment, valueT size)
40099 +{
40100 + int align = bfd_get_section_alignment (stdoutput, segment);
40101 + return ((size + (1 << align) - 1) & (-1 << align));
40102 +}
40103 +
40104 +static int syntax_matches(const struct avr32_syntax *syntax,
40105 + char *str)
40106 +{
40107 + int i;
40108 +
40109 + pr_debug("syntax %d matches `%s'?\n", syntax->id, str);
40110 +
40111 + if (syntax->nr_operands < 0)
40112 + {
40113 + struct avr32_operand *op;
40114 + int optype;
40115 +
40116 + for (i = 0; i < (-syntax->nr_operands - 1); i++)
40117 + {
40118 + char *p;
40119 + char c;
40120 +
40121 + optype = syntax->operand[i];
40122 + assert(optype < AVR32_NR_OPERANDS);
40123 + op = &avr32_operand_table[optype];
40124 +
40125 + for (p = str; *p; p++)
40126 + if (*p == ',')
40127 + break;
40128 +
40129 + if (p == str)
40130 + return 0;
40131 +
40132 + c = *p;
40133 + *p = 0;
40134 +
40135 + if (!op->match(str))
40136 + {
40137 + *p = c;
40138 + return 0;
40139 + }
40140 +
40141 + str = p;
40142 + *p = c;
40143 + if (c)
40144 + str++;
40145 + }
40146 +
40147 + optype = syntax->operand[i];
40148 + assert(optype < AVR32_NR_OPERANDS);
40149 + op = &avr32_operand_table[optype];
40150 +
40151 + if (!op->match(str))
40152 + return 0;
40153 + return 1;
40154 + }
40155 +
40156 + for (i = 0; i < syntax->nr_operands; i++)
40157 + {
40158 + struct avr32_operand *op;
40159 + int optype = syntax->operand[i];
40160 + char *p;
40161 + char c;
40162 +
40163 + assert(optype < AVR32_NR_OPERANDS);
40164 + op = &avr32_operand_table[optype];
40165 +
40166 + for (p = str; *p; p++)
40167 + if (*p == ',')
40168 + break;
40169 +
40170 + if (p == str)
40171 + return 0;
40172 +
40173 + c = *p;
40174 + *p = 0;
40175 +
40176 + if (!op->match(str))
40177 + {
40178 + *p = c;
40179 + return 0;
40180 + }
40181 +
40182 + str = p;
40183 + *p = c;
40184 + if (c)
40185 + str++;
40186 + }
40187 +
40188 + if (*str == '\0')
40189 + return 1;
40190 +
40191 + if ((*str == 'e' || *str == 'E') && !str[1])
40192 + return 1;
40193 +
40194 + return 0;
40195 +}
40196 +
40197 +static int parse_operands(char *str)
40198 +{
40199 + int i;
40200 +
40201 + if (current_insn.syntax->nr_operands < 0)
40202 + {
40203 + int optype;
40204 + struct avr32_operand *op;
40205 +
40206 + for (i = 0; i < (-current_insn.syntax->nr_operands - 1); i++)
40207 + {
40208 + char *p;
40209 + char c;
40210 +
40211 + optype = current_insn.syntax->operand[i];
40212 + op = &avr32_operand_table[optype];
40213 +
40214 + for (p = str; *p; p++)
40215 + if (*p == ',')
40216 + break;
40217 +
40218 + assert(p != str);
40219 +
40220 + c = *p, *p = 0;
40221 + op->parse(op, str, i);
40222 + *p = c;
40223 +
40224 + str = p;
40225 + if (c) str++;
40226 + }
40227 +
40228 + /* give the rest of the line to the last operand */
40229 + optype = current_insn.syntax->operand[i];
40230 + op = &avr32_operand_table[optype];
40231 + op->parse(op, str, i);
40232 + }
40233 + else
40234 + {
40235 + for (i = 0; i < current_insn.syntax->nr_operands; i++)
40236 + {
40237 + int optype = current_insn.syntax->operand[i];
40238 + struct avr32_operand *op = &avr32_operand_table[optype];
40239 + char *p;
40240 + char c;
40241 +
40242 + skip_whitespace(str);
40243 +
40244 + for (p = str; *p; p++)
40245 + if (*p == ',')
40246 + break;
40247 +
40248 + assert(p != str);
40249 +
40250 + c = *p, *p = 0;
40251 + op->parse(op, str, i);
40252 + *p = c;
40253 +
40254 + str = p;
40255 + if (c) str++;
40256 + }
40257 +
40258 + if (*str == 'E' || *str == 'e')
40259 + current_insn.force_extended = 1;
40260 + }
40261 +
40262 + return 0;
40263 +}
40264 +
40265 +static const char *
40266 +finish_insn(const struct avr32_opcode *opc)
40267 +{
40268 + expressionS *exp = &current_insn.immediate;
40269 + unsigned int i;
40270 + int will_relax = 0;
40271 + char *buf;
40272 +
40273 + assert(current_insn.next_slot == opc->nr_fields);
40274 +
40275 + pr_debug("%s:%d: finish_insn: trying opcode %d\n",
40276 + frag_now->fr_file, frag_now->fr_line, opc->id);
40277 +
40278 + /* Go through the relaxation stage for all instructions that can
40279 + possibly take a symbolic immediate. The relax code will take
40280 + care of range checking and alignment. */
40281 + if (opc->var_field != -1)
40282 + {
40283 + int substate, largest_substate;
40284 + symbolS *sym;
40285 + offsetT off;
40286 +
40287 + will_relax = 1;
40288 + substate = largest_substate = opc_initial_substate(opc);
40289 +
40290 + while (relax_more(largest_substate) != AVR32_RS_NONE)
40291 + largest_substate = relax_more(largest_substate);
40292 +
40293 + pr_debug("will relax. initial substate: %d (size %d), largest substate: %d (size %d)\n",
40294 + substate, avr32_rs_size(substate),
40295 + largest_substate, avr32_rs_size(largest_substate));
40296 +
40297 + /* make sure we have enough room for the largest possible opcode */
40298 + frag_grow(avr32_rs_size(largest_substate));
40299 + buf = frag_more(opc->size);
40300 +
40301 + dwarf2_emit_insn(opc->size);
40302 +
40303 + frag_now->tc_frag_data.reloc_info = AVR32_OPINFO_NONE;
40304 + frag_now->tc_frag_data.pcrel = current_insn.pcrel;
40305 + frag_now->tc_frag_data.force_extended = current_insn.force_extended;
40306 + frag_now->tc_frag_data.relaxer = &avr32_default_relaxer;
40307 +
40308 + if (exp->X_op == O_hi)
40309 + {
40310 + frag_now->tc_frag_data.reloc_info = AVR32_OPINFO_HI;
40311 + exp->X_op = exp->X_md;
40312 + }
40313 + else if (exp->X_op == O_lo)
40314 + {
40315 + frag_now->tc_frag_data.reloc_info = AVR32_OPINFO_LO;
40316 + exp->X_op = exp->X_md;
40317 + }
40318 + else if (exp->X_op == O_got)
40319 + {
40320 + frag_now->tc_frag_data.reloc_info = AVR32_OPINFO_GOT;
40321 + exp->X_op = O_symbol;
40322 + }
40323 +
40324 +#if 0
40325 + if ((opc->reloc_type == BFD_RELOC_AVR32_SUB5)
40326 + && exp->X_op == O_subtract)
40327 + {
40328 + symbolS *tmp;
40329 + tmp = exp->X_add_symbol;
40330 + exp->X_add_symbol = exp->X_op_symbol;
40331 + exp->X_op_symbol = tmp;
40332 + }
40333 +#endif
40334 +
40335 + frag_now->tc_frag_data.exp = current_insn.immediate;
40336 +
40337 + sym = exp->X_add_symbol;
40338 + off = exp->X_add_number;
40339 + if (exp->X_op != O_symbol)
40340 + {
40341 + sym = make_expr_symbol(exp);
40342 + off = 0;
40343 + }
40344 +
40345 + frag_var(rs_machine_dependent,
40346 + avr32_rs_size(largest_substate) - opc->size,
40347 + opc->size,
40348 + substate, sym, off, buf);
40349 + }
40350 + else
40351 + {
40352 + assert(avr32_rs_size(opc_initial_substate(opc)) == 0);
40353 +
40354 + /* Make sure we always have room for another whole word, as the ifield
40355 + inserters can only write words. */
40356 + frag_grow(4);
40357 + buf = frag_more(opc->size);
40358 + dwarf2_emit_insn(opc->size);
40359 + }
40360 +
40361 + assert(!(opc->value & ~opc->mask));
40362 +
40363 + pr_debug("inserting opcode: 0x%lx\n", opc->value);
40364 + bfd_putb32(opc->value, buf);
40365 +
40366 + for (i = 0; i < opc->nr_fields; i++)
40367 + {
40368 + const struct avr32_ifield *f = opc->fields[i];
40369 + const struct avr32_ifield_data *fd = &current_insn.field_value[i];
40370 +
40371 + pr_debug("inserting field: 0x%lx & 0x%lx\n",
40372 + fd->value >> fd->align_order, f->mask);
40373 +
40374 + f->insert(f, buf, fd->value >> fd->align_order);
40375 + }
40376 +
40377 + assert(will_relax || !current_insn.immediate.X_add_symbol);
40378 + return NULL;
40379 +}
40380 +
40381 +static const char *
40382 +finish_alias(const struct avr32_alias *alias)
40383 +{
40384 + const struct avr32_opcode *opc;
40385 + struct {
40386 + unsigned long value;
40387 + unsigned long align;
40388 + } mapped_operand[AVR32_MAX_OPERANDS];
40389 + unsigned int i;
40390 +
40391 + opc = alias->opc;
40392 +
40393 + /* Remap the operands from the alias to the real opcode */
40394 + for (i = 0; i < opc->nr_fields; i++)
40395 + {
40396 + if (alias->operand_map[i].is_opindex)
40397 + {
40398 + struct avr32_ifield_data *fd;
40399 + fd = &current_insn.field_value[alias->operand_map[i].value];
40400 + mapped_operand[i].value = fd->value;
40401 + mapped_operand[i].align = fd->align_order;
40402 + }
40403 + else
40404 + {
40405 + mapped_operand[i].value = alias->operand_map[i].value;
40406 + mapped_operand[i].align = 0;
40407 + }
40408 + }
40409 +
40410 + for (i = 0; i < opc->nr_fields; i++)
40411 + {
40412 + current_insn.field_value[i].value = mapped_operand[i].value;
40413 + if (opc->id == AVR32_OPC_COP)
40414 + current_insn.field_value[i].align_order = 0;
40415 + else
40416 + current_insn.field_value[i].align_order
40417 + = mapped_operand[i].align;
40418 + }
40419 +
40420 + current_insn.next_slot = opc->nr_fields;
40421 +
40422 + return finish_insn(opc);
40423 +}
40424 +
40425 +static const char *
40426 +finish_lda(const struct avr32_syntax *syntax ATTRIBUTE_UNUSED)
40427 +{
40428 + expressionS *exp = &current_insn.immediate;
40429 + relax_substateT initial_subtype;
40430 + symbolS *sym;
40431 + offsetT off;
40432 + int initial_size, max_size;
40433 + char *buf;
40434 +
40435 + initial_size = LDA_INITIAL_SIZE;
40436 +
40437 + if (avr32_pic)
40438 + {
40439 + initial_subtype = LDA_SUBTYPE_SUB;
40440 + if (linkrelax)
40441 + max_size = 8;
40442 + else
40443 + max_size = 4;
40444 + }
40445 + else
40446 + {
40447 + initial_subtype = LDA_SUBTYPE_MOV1;
40448 + max_size = 4;
40449 + }
40450 +
40451 + frag_grow(max_size);
40452 + buf = frag_more(initial_size);
40453 + dwarf2_emit_insn(initial_size);
40454 +
40455 + if (exp->X_op == O_symbol)
40456 + {
40457 + sym = exp->X_add_symbol;
40458 + off = exp->X_add_number;
40459 + }
40460 + else
40461 + {
40462 + sym = make_expr_symbol(exp);
40463 + off = 0;
40464 + }
40465 +
40466 + frag_now->tc_frag_data.reloc_info = current_insn.field_value[0].value;
40467 + frag_now->tc_frag_data.relaxer = &avr32_lda_relaxer;
40468 +
40469 + if (!avr32_pic)
40470 + {
40471 + /* The relaxer will bump the refcount if necessary */
40472 + frag_now->tc_frag_data.pool
40473 + = add_to_cpool(exp, &frag_now->tc_frag_data.pool_entry, 0);
40474 + }
40475 +
40476 + frag_var(rs_machine_dependent, max_size - initial_size,
40477 + initial_size, initial_subtype, sym, off, buf);
40478 +
40479 + return NULL;
40480 +}
40481 +
40482 +static const char *
40483 +finish_call(const struct avr32_syntax *syntax ATTRIBUTE_UNUSED)
40484 +{
40485 + expressionS *exp = &current_insn.immediate;
40486 + symbolS *sym;
40487 + offsetT off;
40488 + int initial_size, max_size;
40489 + char *buf;
40490 +
40491 + initial_size = CALL_INITIAL_SIZE;
40492 +
40493 + if (avr32_pic)
40494 + {
40495 + if (linkrelax)
40496 + max_size = 10;
40497 + else
40498 + max_size = 4;
40499 + }
40500 + else
40501 + max_size = 4;
40502 +
40503 + frag_grow(max_size);
40504 + buf = frag_more(initial_size);
40505 + dwarf2_emit_insn(initial_size);
40506 +
40507 + frag_now->tc_frag_data.relaxer = &avr32_call_relaxer;
40508 +
40509 + if (exp->X_op == O_symbol)
40510 + {
40511 + sym = exp->X_add_symbol;
40512 + off = exp->X_add_number;
40513 + }
40514 + else
40515 + {
40516 + sym = make_expr_symbol(exp);
40517 + off = 0;
40518 + }
40519 +
40520 + if (!avr32_pic)
40521 + {
40522 + /* The relaxer will bump the refcount if necessary */
40523 + frag_now->tc_frag_data.pool
40524 + = add_to_cpool(exp, &frag_now->tc_frag_data.pool_entry, 0);
40525 + }
40526 +
40527 + frag_var(rs_machine_dependent, max_size - initial_size,
40528 + initial_size, CALL_SUBTYPE_RCALL1, sym, off, buf);
40529 +
40530 + return NULL;
40531 +}
40532 +
40533 +void
40534 +md_begin (void)
40535 +{
40536 + unsigned long flags = 0;
40537 + int i;
40538 +
40539 + avr32_mnemonic_htab = hash_new();
40540 +
40541 + if (!avr32_mnemonic_htab)
40542 + as_fatal(_("virtual memory exhausted"));
40543 +
40544 + for (i = 0; i < AVR32_NR_MNEMONICS; i++)
40545 + {
40546 + hash_insert(avr32_mnemonic_htab, avr32_mnemonic_table[i].name,
40547 + (void *)&avr32_mnemonic_table[i]);
40548 + }
40549 +
40550 + if (linkrelax)
40551 + flags |= EF_AVR32_LINKRELAX;
40552 + if (avr32_pic)
40553 + flags |= EF_AVR32_PIC;
40554 +
40555 + bfd_set_private_flags(stdoutput, flags);
40556 +
40557 +#ifdef OPC_CONSISTENCY_CHECK
40558 + if (sizeof(avr32_operand_table)/sizeof(avr32_operand_table[0])
40559 + < AVR32_NR_OPERANDS)
40560 + as_fatal(_("operand table is incomplete"));
40561 +
40562 + for (i = 0; i < AVR32_NR_OPERANDS; i++)
40563 + if (avr32_operand_table[i].id != i)
40564 + as_fatal(_("operand table inconsistency found at index %d\n"), i);
40565 + pr_debug("%d operands verified\n", AVR32_NR_OPERANDS);
40566 +
40567 + for (i = 0; i < AVR32_NR_IFIELDS; i++)
40568 + if (avr32_ifield_table[i].id != i)
40569 + as_fatal(_("ifield table inconsistency found at index %d\n"), i);
40570 + pr_debug("%d instruction fields verified\n", AVR32_NR_IFIELDS);
40571 +
40572 + for (i = 0; i < AVR32_NR_OPCODES; i++)
40573 + {
40574 + if (avr32_opc_table[i].id != i)
40575 + as_fatal(_("opcode table inconsistency found at index %d\n"), i);
40576 + if ((avr32_opc_table[i].var_field == -1
40577 + && avr32_relax_table[i].length != 0)
40578 + || (avr32_opc_table[i].var_field != -1
40579 + && avr32_relax_table[i].length == 0))
40580 + as_fatal(_("relax table inconsistency found at index %d\n"), i);
40581 + }
40582 + pr_debug("%d opcodes verified\n", AVR32_NR_OPCODES);
40583 +
40584 + for (i = 0; i < AVR32_NR_SYNTAX; i++)
40585 + if (avr32_syntax_table[i].id != i)
40586 + as_fatal(_("syntax table inconsistency found at index %d\n"), i);
40587 + pr_debug("%d syntax variants verified\n", AVR32_NR_SYNTAX);
40588 +
40589 + for (i = 0; i < AVR32_NR_ALIAS; i++)
40590 + if (avr32_alias_table[i].id != i)
40591 + as_fatal(_("alias table inconsistency found at index %d\n"), i);
40592 + pr_debug("%d aliases verified\n", AVR32_NR_ALIAS);
40593 +
40594 + for (i = 0; i < AVR32_NR_MNEMONICS; i++)
40595 + if (avr32_mnemonic_table[i].id != i)
40596 + as_fatal(_("mnemonic table inconsistency found at index %d\n"), i);
40597 + pr_debug("%d mnemonics verified\n", AVR32_NR_MNEMONICS);
40598 +#endif
40599 +}
40600 +
40601 +void
40602 +md_assemble (char *str)
40603 +{
40604 + struct avr32_mnemonic *mnemonic;
40605 + char *p, c;
40606 +
40607 + memset(&current_insn, 0, sizeof(current_insn));
40608 + current_insn.immediate.X_op = O_constant;
40609 +
40610 + skip_whitespace(str);
40611 + for (p = str; *p; p++)
40612 + if (*p == ' ')
40613 + break;
40614 + c = *p;
40615 + *p = 0;
40616 +
40617 + mnemonic = hash_find(avr32_mnemonic_htab, str);
40618 + *p = c;
40619 + if (c) p++;
40620 +
40621 + if (mnemonic)
40622 + {
40623 + const struct avr32_syntax *syntax;
40624 +
40625 + for (syntax = mnemonic->syntax; syntax; syntax = syntax->next)
40626 + {
40627 + const char *errmsg = NULL;
40628 +
40629 + if (syntax_matches(syntax, p))
40630 + {
40631 + if (!(syntax->isa_flags & avr32_arch->isa_flags))
40632 + {
40633 + as_bad(_("Selected architecture `%s' does not support `%s'"),
40634 + avr32_arch->name, str);
40635 + return;
40636 + }
40637 +
40638 + current_insn.syntax = syntax;
40639 + parse_operands(p);
40640 +
40641 + switch (syntax->type)
40642 + {
40643 + case AVR32_PARSER_NORMAL:
40644 + errmsg = finish_insn(syntax->u.opc);
40645 + break;
40646 + case AVR32_PARSER_ALIAS:
40647 + errmsg = finish_alias(syntax->u.alias);
40648 + break;
40649 + case AVR32_PARSER_LDA:
40650 + errmsg = finish_lda(syntax);
40651 + break;
40652 + case AVR32_PARSER_CALL:
40653 + errmsg = finish_call(syntax);
40654 + break;
40655 + default:
40656 + BAD_CASE(syntax->type);
40657 + break;
40658 + }
40659 +
40660 + if (errmsg)
40661 + as_bad("%s in `%s'", errmsg, str);
40662 +
40663 + return;
40664 + }
40665 + }
40666 +
40667 + as_bad(_("unrecognized form of instruction: `%s'"), str);
40668 + }
40669 + else
40670 + as_bad(_("unrecognized instruction `%s'"), str);
40671 +}
40672 +
40673 +void avr32_cleanup(void)
40674 +{
40675 + struct cpool *pool;
40676 +
40677 + /* Emit any constant pools that haven't been explicitly flushed with
40678 + a .cpool directive. */
40679 + for (pool = cpool_list; pool; pool = pool->next)
40680 + {
40681 + subseg_set(pool->section, pool->sub_section);
40682 + s_cpool(0);
40683 + }
40684 +}
40685 +
40686 +/* Handle any PIC-related operands in data allocation pseudo-ops */
40687 +void
40688 +avr32_cons_fix_new (fragS *frag, int off, int size, expressionS *exp)
40689 +{
40690 + bfd_reloc_code_real_type r_type = BFD_RELOC_UNUSED;
40691 + int pcrel = 0;
40692 +
40693 + pr_debug("%s:%u: cons_fix_new, add_sym: %s, op_sym: %s, op: %d, add_num: %d\n",
40694 + frag->fr_file, frag->fr_line,
40695 + exp->X_add_symbol?S_GET_NAME(exp->X_add_symbol):"(none)",
40696 + exp->X_op_symbol?S_GET_NAME(exp->X_op_symbol):"(none)",
40697 + exp->X_op, exp->X_add_number);
40698 +
40699 + if (exp->X_op == O_subtract && exp->X_op_symbol)
40700 + {
40701 + if (exp->X_op_symbol == GOT_symbol)
40702 + {
40703 + if (size != 4)
40704 + goto bad_size;
40705 + r_type = BFD_RELOC_AVR32_GOTPC;
40706 + exp->X_op = O_symbol;
40707 + exp->X_op_symbol = NULL;
40708 + }
40709 + }
40710 + else if (exp->X_op == O_got)
40711 + {
40712 + switch (size)
40713 + {
40714 + case 1:
40715 + r_type = BFD_RELOC_AVR32_GOT8;
40716 + break;
40717 + case 2:
40718 + r_type = BFD_RELOC_AVR32_GOT16;
40719 + break;
40720 + case 4:
40721 + r_type = BFD_RELOC_AVR32_GOT32;
40722 + break;
40723 + default:
40724 + goto bad_size;
40725 + }
40726 +
40727 + exp->X_op = O_symbol;
40728 + }
40729 +
40730 + if (r_type == BFD_RELOC_UNUSED)
40731 + switch (size)
40732 + {
40733 + case 1:
40734 + r_type = BFD_RELOC_8;
40735 + break;
40736 + case 2:
40737 + r_type = BFD_RELOC_16;
40738 + break;
40739 + case 4:
40740 + r_type = BFD_RELOC_32;
40741 + break;
40742 + default:
40743 + goto bad_size;
40744 + }
40745 + else if (size != 4)
40746 + {
40747 + bad_size:
40748 + as_bad(_("unsupported BFD relocation size %u"), size);
40749 + r_type = BFD_RELOC_UNUSED;
40750 + }
40751 +
40752 + fix_new_exp (frag, off, size, exp, pcrel, r_type);
40753 +}
40754 +
40755 +static void
40756 +avr32_frob_section(bfd *abfd ATTRIBUTE_UNUSED, segT sec,
40757 + void *ignore ATTRIBUTE_UNUSED)
40758 +{
40759 + segment_info_type *seginfo;
40760 + fixS *fix;
40761 +
40762 + seginfo = seg_info(sec);
40763 + if (!seginfo)
40764 + return;
40765 +
40766 + for (fix = seginfo->fix_root; fix; fix = fix->fx_next)
40767 + {
40768 + if (fix->fx_done)
40769 + continue;
40770 +
40771 + if (fix->fx_r_type == BFD_RELOC_AVR32_SUB5
40772 + && fix->fx_addsy && fix->fx_subsy)
40773 + {
40774 + if (S_GET_SEGMENT(fix->fx_addsy) != S_GET_SEGMENT(fix->fx_subsy)
40775 + || linkrelax)
40776 + {
40777 + symbolS *tmp;
40778 +#ifdef DEBUG
40779 + fprintf(stderr, "Swapping symbols in fixup:\n");
40780 + print_fixup(fix);
40781 +#endif
40782 + tmp = fix->fx_addsy;
40783 + fix->fx_addsy = fix->fx_subsy;
40784 + fix->fx_subsy = tmp;
40785 + fix->fx_offset = -fix->fx_offset;
40786 + }
40787 + }
40788 + }
40789 +}
40790 +
40791 +/* We need to look for SUB5 instructions with expressions that will be
40792 + made PC-relative and switch fx_addsy with fx_subsy. This has to be
40793 + done before adjustment or the wrong symbol might be adjusted.
40794 +
40795 + This applies to fixups that are a result of expressions like -(sym
40796 + - .) and that will make it all the way to md_apply_fix3(). LDA
40797 + does the right thing in convert_frag, so we must not convert
40798 + those. */
40799 +void
40800 +avr32_frob_file(void)
40801 +{
40802 + /* if (1 || !linkrelax)
40803 + return; */
40804 +
40805 + bfd_map_over_sections(stdoutput, avr32_frob_section, NULL);
40806 +}
40807 +
40808 +static bfd_boolean
40809 +convert_to_diff_reloc(fixS *fixP)
40810 +{
40811 + switch (fixP->fx_r_type)
40812 + {
40813 + case BFD_RELOC_32:
40814 + fixP->fx_r_type = BFD_RELOC_AVR32_DIFF32;
40815 + break;
40816 + case BFD_RELOC_16:
40817 + fixP->fx_r_type = BFD_RELOC_AVR32_DIFF16;
40818 + break;
40819 + case BFD_RELOC_8:
40820 + fixP->fx_r_type = BFD_RELOC_AVR32_DIFF8;
40821 + break;
40822 + default:
40823 + return FALSE;
40824 + }
40825 +
40826 + return TRUE;
40827 +}
40828 +
40829 +/* Simplify a fixup. If possible, the fixup is reduced to a single
40830 + constant which is written to the output file. Otherwise, a
40831 + relocation is generated so that the linker can take care of the
40832 + rest.
40833 +
40834 + ELF relocations have certain constraints: They can only take a
40835 + single symbol and a single addend. This means that for difference
40836 + expressions, we _must_ get rid of the fx_subsy symbol somehow.
40837 +
40838 + The difference between two labels in the same section can be
40839 + calculated directly unless 'linkrelax' is set, or a relocation is
40840 + forced. If so, we must emit a R_AVR32_DIFFxx relocation. If there
40841 + are addends involved at this point, we must be especially careful
40842 + as the relocation must point exactly to the symbol being
40843 + subtracted.
40844 +
40845 + When subtracting a symbol defined in the same section as the fixup,
40846 + we might be able to convert it to a PC-relative expression, unless
40847 + linkrelax is set. If this is the case, there's no way we can make
40848 + sure that the difference between the fixup and fx_subsy stays
40849 + constant. So for now, we're just going to disallow that.
40850 + */
40851 +void
40852 +avr32_process_fixup(fixS *fixP, segT this_segment)
40853 +{
40854 + segT add_symbol_segment = absolute_section;
40855 + segT sub_symbol_segment = absolute_section;
40856 + symbolS *fx_addsy, *fx_subsy;
40857 + offsetT value = 0, fx_offset;
40858 + bfd_boolean apply = FALSE;
40859 +
40860 + assert(this_segment != absolute_section);
40861 +
40862 + if (fixP->fx_r_type >= BFD_RELOC_UNUSED)
40863 + {
40864 + as_bad_where(fixP->fx_file, fixP->fx_line,
40865 + _("Bad relocation type %d\n"), fixP->fx_r_type);
40866 + return;
40867 + }
40868 +
40869 + /* BFD_RELOC_AVR32_SUB5 fixups have been swapped by avr32_frob_section() */
40870 + fx_addsy = fixP->fx_addsy;
40871 + fx_subsy = fixP->fx_subsy;
40872 + fx_offset = fixP->fx_offset;
40873 +
40874 + if (fx_addsy)
40875 + add_symbol_segment = S_GET_SEGMENT(fx_addsy);
40876 +
40877 + if (fx_subsy)
40878 + {
40879 + resolve_symbol_value(fx_subsy);
40880 + sub_symbol_segment = S_GET_SEGMENT(fx_subsy);
40881 +
40882 + if (sub_symbol_segment == this_segment
40883 + && (!linkrelax
40884 + || S_GET_VALUE(fx_subsy) == (fixP->fx_frag->fr_address
40885 + + fixP->fx_where)))
40886 + {
40887 + fixP->fx_pcrel = TRUE;
40888 + fx_offset += (fixP->fx_frag->fr_address + fixP->fx_where
40889 + - S_GET_VALUE(fx_subsy));
40890 + fx_subsy = NULL;
40891 + }
40892 + else if (sub_symbol_segment == absolute_section)
40893 + {
40894 + /* The symbol is really a constant. */
40895 + fx_offset -= S_GET_VALUE(fx_subsy);
40896 + fx_subsy = NULL;
40897 + }
40898 + else if (SEG_NORMAL(add_symbol_segment)
40899 + && sub_symbol_segment == add_symbol_segment
40900 + && (!linkrelax || convert_to_diff_reloc(fixP)))
40901 + {
40902 + /* Difference between two labels in the same section. */
40903 + if (linkrelax)
40904 + {
40905 + /* convert_to_diff() has ensured that the reloc type is
40906 + either DIFF32, DIFF16 or DIFF8. */
40907 + value = (S_GET_VALUE(fx_addsy) + fixP->fx_offset
40908 + - S_GET_VALUE(fx_subsy));
40909 +
40910 + /* Try to convert it to a section symbol if possible */
40911 + if (!S_FORCE_RELOC(fx_addsy, 1)
40912 + && !(sub_symbol_segment->flags & SEC_THREAD_LOCAL))
40913 + {
40914 + fx_offset = S_GET_VALUE(fx_subsy);
40915 + fx_addsy = section_symbol(sub_symbol_segment);
40916 + }
40917 + else
40918 + {
40919 + fx_addsy = fx_subsy;
40920 + fx_offset = 0;
40921 + }
40922 +
40923 + fx_subsy = NULL;
40924 + apply = TRUE;
40925 + }
40926 + else
40927 + {
40928 + fx_offset += S_GET_VALUE(fx_addsy);
40929 + fx_offset -= S_GET_VALUE(fx_subsy);
40930 + fx_addsy = NULL;
40931 + fx_subsy = NULL;
40932 + }
40933 + }
40934 + else
40935 + {
40936 + as_bad_where(fixP->fx_file, fixP->fx_line,
40937 + _("can't resolve `%s' {%s section} - `%s' {%s section}"),
40938 + fx_addsy ? S_GET_NAME (fx_addsy) : "0",
40939 + segment_name (add_symbol_segment),
40940 + S_GET_NAME (fx_subsy),
40941 + segment_name (sub_symbol_segment));
40942 + return;
40943 + }
40944 + }
40945 +
40946 + if (fx_addsy && !TC_FORCE_RELOCATION(fixP))
40947 + {
40948 + if (add_symbol_segment == this_segment
40949 + && fixP->fx_pcrel)
40950 + {
40951 + value += S_GET_VALUE(fx_addsy);
40952 + value -= md_pcrel_from_section(fixP, this_segment);
40953 + fx_addsy = NULL;
40954 + fixP->fx_pcrel = FALSE;
40955 + }
40956 + else if (add_symbol_segment == absolute_section)
40957 + {
40958 + fx_offset += S_GET_VALUE(fixP->fx_addsy);
40959 + fx_addsy = NULL;
40960 + }
40961 + }
40962 +
40963 + if (!fx_addsy)
40964 + fixP->fx_done = TRUE;
40965 +
40966 + if (fixP->fx_pcrel)
40967 + {
40968 + if (fx_addsy != NULL
40969 + && S_IS_DEFINED(fx_addsy)
40970 + && S_GET_SEGMENT(fx_addsy) != this_segment)
40971 + value += md_pcrel_from_section(fixP, this_segment);
40972 +
40973 + switch (fixP->fx_r_type)
40974 + {
40975 + case BFD_RELOC_32:
40976 + fixP->fx_r_type = BFD_RELOC_32_PCREL;
40977 + break;
40978 + case BFD_RELOC_16:
40979 + fixP->fx_r_type = BFD_RELOC_16_PCREL;
40980 + break;
40981 + case BFD_RELOC_8:
40982 + fixP->fx_r_type = BFD_RELOC_8_PCREL;
40983 + break;
40984 + case BFD_RELOC_AVR32_SUB5:
40985 + fixP->fx_r_type = BFD_RELOC_AVR32_16N_PCREL;
40986 + break;
40987 + case BFD_RELOC_AVR32_16S:
40988 + fixP->fx_r_type = BFD_RELOC_AVR32_16B_PCREL;
40989 + break;
40990 + case BFD_RELOC_AVR32_14UW:
40991 + fixP->fx_r_type = BFD_RELOC_AVR32_14UW_PCREL;
40992 + break;
40993 + case BFD_RELOC_AVR32_10UW:
40994 + fixP->fx_r_type = BFD_RELOC_AVR32_10UW_PCREL;
40995 + break;
40996 + default:
40997 + /* Should have been taken care of already */
40998 + break;
40999 + }
41000 + }
41001 +
41002 + if (fixP->fx_done || apply)
41003 + {
41004 + const struct avr32_ifield *ifield;
41005 + char *buf = fixP->fx_where + fixP->fx_frag->fr_literal;
41006 +
41007 + if (fixP->fx_done)
41008 + value += fx_offset;
41009 +
41010 + switch (fixP->fx_r_type)
41011 + {
41012 + case BFD_RELOC_32:
41013 + case BFD_RELOC_16:
41014 + case BFD_RELOC_8:
41015 + case BFD_RELOC_AVR32_DIFF32:
41016 + case BFD_RELOC_AVR32_DIFF16:
41017 + case BFD_RELOC_AVR32_DIFF8:
41018 + md_number_to_chars(buf, value, fixP->fx_size);
41019 + break;
41020 + case BFD_RELOC_HI16:
41021 + value >>= 16;
41022 + case BFD_RELOC_LO16:
41023 + value &= 0xffff;
41024 + md_number_to_chars(buf + 2, value, 2);
41025 + break;
41026 + case BFD_RELOC_AVR32_16N_PCREL:
41027 + value = -value;
41028 + /* fall through */
41029 + case BFD_RELOC_AVR32_22H_PCREL:
41030 + case BFD_RELOC_AVR32_18W_PCREL:
41031 + case BFD_RELOC_AVR32_16B_PCREL:
41032 + case BFD_RELOC_AVR32_11H_PCREL:
41033 + case BFD_RELOC_AVR32_9H_PCREL:
41034 + case BFD_RELOC_AVR32_9UW_PCREL:
41035 + case BFD_RELOC_AVR32_3U:
41036 + case BFD_RELOC_AVR32_4UH:
41037 + case BFD_RELOC_AVR32_6UW:
41038 + case BFD_RELOC_AVR32_6S:
41039 + case BFD_RELOC_AVR32_7UW:
41040 + case BFD_RELOC_AVR32_8S_EXT:
41041 + case BFD_RELOC_AVR32_8S:
41042 + case BFD_RELOC_AVR32_10UW:
41043 + case BFD_RELOC_AVR32_10SW:
41044 + case BFD_RELOC_AVR32_STHH_W:
41045 + case BFD_RELOC_AVR32_14UW:
41046 + case BFD_RELOC_AVR32_16S:
41047 + case BFD_RELOC_AVR32_16U:
41048 + case BFD_RELOC_AVR32_21S:
41049 + case BFD_RELOC_AVR32_SUB5:
41050 + case BFD_RELOC_AVR32_CPCALL:
41051 + case BFD_RELOC_AVR32_16_CP:
41052 + case BFD_RELOC_AVR32_9W_CP:
41053 + ifield = fixP->tc_fix_data.ifield;
41054 + pr_debug("insert field: %ld <= %ld <= %ld (align %u)\n",
41055 + fixP->tc_fix_data.min, value, fixP->tc_fix_data.max,
41056 + fixP->tc_fix_data.align);
41057 + if (value < fixP->tc_fix_data.min || value > fixP->tc_fix_data.max)
41058 + as_bad_where(fixP->fx_file, fixP->fx_line,
41059 + _("operand out of range (%ld not between %ld and %ld)"),
41060 + value, fixP->tc_fix_data.min, fixP->tc_fix_data.max);
41061 + if (value & ((1 << fixP->tc_fix_data.align) - 1))
41062 + as_bad_where(fixP->fx_file, fixP->fx_line,
41063 + _("misaligned operand (required alignment: %d)"),
41064 + 1 << fixP->tc_fix_data.align);
41065 + ifield->insert(ifield, buf, value >> fixP->tc_fix_data.align);
41066 + break;
41067 + case BFD_RELOC_AVR32_ALIGN:
41068 + /* Nothing to do */
41069 + fixP->fx_done = FALSE;
41070 + break;
41071 + default:
41072 + as_fatal("reloc type %s not handled\n",
41073 + bfd_get_reloc_code_name(fixP->fx_r_type));
41074 + }
41075 + }
41076 +
41077 + fixP->fx_addsy = fx_addsy;
41078 + fixP->fx_subsy = fx_subsy;
41079 + fixP->fx_offset = fx_offset;
41080 +
41081 + if (!fixP->fx_done)
41082 + {
41083 + if (!fixP->fx_addsy)
41084 + fixP->fx_addsy = abs_section_sym;
41085 +
41086 + symbol_mark_used_in_reloc(fixP->fx_addsy);
41087 + if (fixP->fx_subsy)
41088 + abort();
41089 + }
41090 +}
41091 +
41092 +#if 0
41093 +void
41094 +md_apply_fix3 (fixS *fixP, valueT *valP, segT seg)
41095 +{
41096 + const struct avr32_ifield *ifield;
41097 + offsetT value = *valP;
41098 + char *buf = fixP->fx_where + fixP->fx_frag->fr_literal;
41099 + bfd_boolean apply;
41100 +
41101 + pr_debug("%s:%u: apply_fix3: r_type=%d value=%lx offset=%lx\n",
41102 + fixP->fx_file, fixP->fx_line, fixP->fx_r_type, *valP,
41103 + fixP->fx_offset);
41104 +
41105 + if (fixP->fx_r_type >= BFD_RELOC_UNUSED)
41106 + {
41107 + as_bad_where(fixP->fx_file, fixP->fx_line,
41108 + _("Bad relocation type %d\n"), fixP->fx_r_type);
41109 + return;
41110 + }
41111 +
41112 + if (!fixP->fx_addsy && !fixP->fx_subsy)
41113 + fixP->fx_done = 1;
41114 +
41115 + if (fixP->fx_pcrel)
41116 + {
41117 + if (fixP->fx_addsy != NULL
41118 + && S_IS_DEFINED(fixP->fx_addsy)
41119 + && S_GET_SEGMENT(fixP->fx_addsy) != seg)
41120 + value += md_pcrel_from_section(fixP, seg);
41121 +
41122 + switch (fixP->fx_r_type)
41123 + {
41124 + case BFD_RELOC_32:
41125 + fixP->fx_r_type = BFD_RELOC_32_PCREL;
41126 + break;
41127 + case BFD_RELOC_16:
41128 + case BFD_RELOC_8:
41129 + as_bad_where (fixP->fx_file, fixP->fx_line,
41130 + _("8- and 16-bit PC-relative relocations not supported"));
41131 + break;
41132 + case BFD_RELOC_AVR32_SUB5:
41133 + fixP->fx_r_type = BFD_RELOC_AVR32_PCREL_SUB5;
41134 + break;
41135 + case BFD_RELOC_AVR32_16S:
41136 + fixP->fx_r_type = BFD_RELOC_AVR32_16_PCREL;
41137 + break;
41138 + default:
41139 + /* Should have been taken care of already */
41140 + break;
41141 + }
41142 + }
41143 +
41144 + if (fixP->fx_r_type == BFD_RELOC_32
41145 + && fixP->fx_subsy)
41146 + {
41147 + fixP->fx_r_type = BFD_RELOC_AVR32_DIFF32;
41148 +
41149 + /* Offsets are only allowed if it's a result of adjusting a
41150 + local symbol into a section-relative offset.
41151 + tc_fix_adjustable() should prevent any adjustment if there
41152 + was an offset involved before. */
41153 + if (fixP->fx_offset && !symbol_section_p(fixP->fx_addsy))
41154 + as_bad_where(fixP->fx_file, fixP->fx_line,
41155 + _("cannot represent symbol difference with an offset"));
41156 +
41157 + value = (S_GET_VALUE(fixP->fx_addsy) + fixP->fx_offset
41158 + - S_GET_VALUE(fixP->fx_subsy));
41159 +
41160 + /* The difference before any relaxing takes place is written
41161 + out, and the DIFF32 reloc identifies the address of the first
41162 + symbol (i.e. the on that's subtracted.) */
41163 + *valP = value;
41164 + fixP->fx_offset -= value;
41165 + fixP->fx_subsy = NULL;
41166 +
41167 + md_number_to_chars(buf, value, fixP->fx_size);
41168 + }
41169 +
41170 + if (fixP->fx_done)
41171 + {
41172 + switch (fixP->fx_r_type)
41173 + {
41174 + case BFD_RELOC_8:
41175 + case BFD_RELOC_16:
41176 + case BFD_RELOC_32:
41177 + md_number_to_chars(buf, value, fixP->fx_size);
41178 + break;
41179 + case BFD_RELOC_HI16:
41180 + value >>= 16;
41181 + case BFD_RELOC_LO16:
41182 + value &= 0xffff;
41183 + *valP = value;
41184 + md_number_to_chars(buf + 2, value, 2);
41185 + break;
41186 + case BFD_RELOC_AVR32_PCREL_SUB5:
41187 + value = -value;
41188 + /* fall through */
41189 + case BFD_RELOC_AVR32_9_PCREL:
41190 + case BFD_RELOC_AVR32_11_PCREL:
41191 + case BFD_RELOC_AVR32_16_PCREL:
41192 + case BFD_RELOC_AVR32_18_PCREL:
41193 + case BFD_RELOC_AVR32_22_PCREL:
41194 + case BFD_RELOC_AVR32_3U:
41195 + case BFD_RELOC_AVR32_4UH:
41196 + case BFD_RELOC_AVR32_6UW:
41197 + case BFD_RELOC_AVR32_6S:
41198 + case BFD_RELOC_AVR32_7UW:
41199 + case BFD_RELOC_AVR32_8S:
41200 + case BFD_RELOC_AVR32_10UW:
41201 + case BFD_RELOC_AVR32_10SW:
41202 + case BFD_RELOC_AVR32_14UW:
41203 + case BFD_RELOC_AVR32_16S:
41204 + case BFD_RELOC_AVR32_16U:
41205 + case BFD_RELOC_AVR32_21S:
41206 + case BFD_RELOC_AVR32_BRC1:
41207 + case BFD_RELOC_AVR32_SUB5:
41208 + case BFD_RELOC_AVR32_CPCALL:
41209 + case BFD_RELOC_AVR32_16_CP:
41210 + case BFD_RELOC_AVR32_9_CP:
41211 + ifield = fixP->tc_fix_data.ifield;
41212 + pr_debug("insert field: %ld <= %ld <= %ld (align %u)\n",
41213 + fixP->tc_fix_data.min, value, fixP->tc_fix_data.max,
41214 + fixP->tc_fix_data.align);
41215 + if (value < fixP->tc_fix_data.min || value > fixP->tc_fix_data.max)
41216 + as_bad_where(fixP->fx_file, fixP->fx_line,
41217 + _("operand out of range (%ld not between %ld and %ld)"),
41218 + value, fixP->tc_fix_data.min, fixP->tc_fix_data.max);
41219 + if (value & ((1 << fixP->tc_fix_data.align) - 1))
41220 + as_bad_where(fixP->fx_file, fixP->fx_line,
41221 + _("misaligned operand (required alignment: %d)"),
41222 + 1 << fixP->tc_fix_data.align);
41223 + ifield->insert(ifield, buf, value >> fixP->tc_fix_data.align);
41224 + break;
41225 + case BFD_RELOC_AVR32_ALIGN:
41226 + /* Nothing to do */
41227 + fixP->fx_done = FALSE;
41228 + break;
41229 + default:
41230 + as_fatal("reloc type %s not handled\n",
41231 + bfd_get_reloc_code_name(fixP->fx_r_type));
41232 + }
41233 + }
41234 +}
41235 +#endif
41236 +
41237 +arelent *
41238 +tc_gen_reloc (asection *section ATTRIBUTE_UNUSED,
41239 + fixS *fixp)
41240 +{
41241 + arelent *reloc;
41242 + bfd_reloc_code_real_type code;
41243 +
41244 + reloc = xmalloc (sizeof (arelent));
41245 +
41246 + reloc->sym_ptr_ptr = xmalloc (sizeof (asymbol *));
41247 + *reloc->sym_ptr_ptr = symbol_get_bfdsym (fixp->fx_addsy);
41248 + reloc->address = fixp->fx_frag->fr_address + fixp->fx_where;
41249 + reloc->addend = fixp->fx_offset;
41250 + code = fixp->fx_r_type;
41251 +
41252 + reloc->howto = bfd_reloc_type_lookup (stdoutput, code);
41253 +
41254 + if (reloc->howto == NULL)
41255 + {
41256 + as_bad_where (fixp->fx_file, fixp->fx_line,
41257 + _("cannot represent relocation %s in this object file format"),
41258 + bfd_get_reloc_code_name (code));
41259 + return NULL;
41260 + }
41261 +
41262 + return reloc;
41263 +}
41264 +
41265 +bfd_boolean
41266 +avr32_force_reloc(fixS *fixP)
41267 +{
41268 + if (linkrelax && fixP->fx_addsy
41269 + && !(S_GET_SEGMENT(fixP->fx_addsy)->flags & SEC_DEBUGGING)
41270 + && S_GET_SEGMENT(fixP->fx_addsy) != absolute_section)
41271 + {
41272 + pr_debug(stderr, "force reloc: addsy=%p, r_type=%d, sec=%s\n",
41273 + fixP->fx_addsy, fixP->fx_r_type, S_GET_SEGMENT(fixP->fx_addsy)->name);
41274 + return 1;
41275 + }
41276 +
41277 + return generic_force_reloc(fixP);
41278 +}
41279 +
41280 +bfd_boolean
41281 +avr32_fix_adjustable(fixS *fixP)
41282 +{
41283 + switch (fixP->fx_r_type)
41284 + {
41285 + /* GOT relocations can't have addends since BFD treats all
41286 + references to a given symbol the same. This means that we
41287 + must avoid section-relative references to local symbols when
41288 + dealing with these kinds of relocs */
41289 + case BFD_RELOC_AVR32_GOT32:
41290 + case BFD_RELOC_AVR32_GOT16:
41291 + case BFD_RELOC_AVR32_GOT8:
41292 + case BFD_RELOC_AVR32_GOT21S:
41293 + case BFD_RELOC_AVR32_GOT18SW:
41294 + case BFD_RELOC_AVR32_GOT16S:
41295 + case BFD_RELOC_AVR32_LDA_GOT:
41296 + case BFD_RELOC_AVR32_GOTCALL:
41297 + pr_debug("fix not adjustable\n");
41298 + return 0;
41299 +
41300 + default:
41301 + break;
41302 + }
41303 +
41304 + return 1;
41305 +}
41306 +
41307 +/* When we want the linker to be able to relax the code, we need to
41308 + output a reloc for every .align directive requesting an alignment
41309 + to a four byte boundary or larger. If we don't do this, the linker
41310 + can't guarantee that the alignment is actually maintained in the
41311 + linker output.
41312 +
41313 + TODO: Might as well insert proper NOPs while we're at it... */
41314 +void
41315 +avr32_handle_align(fragS *frag)
41316 +{
41317 + if (linkrelax
41318 + && frag->fr_type == rs_align_code
41319 + && frag->fr_address + frag->fr_fix > 0
41320 + && frag->fr_offset > 0)
41321 + {
41322 + /* The alignment order (fr_offset) is stored in the addend. */
41323 + fix_new(frag, frag->fr_fix, 2, &abs_symbol, frag->fr_offset,
41324 + FALSE, BFD_RELOC_AVR32_ALIGN);
41325 + }
41326 +}
41327 +
41328 +/* Relax_align. Advance location counter to next address that has 'alignment'
41329 + lowest order bits all 0s, return size of adjustment made. */
41330 +relax_addressT
41331 +avr32_relax_align(segT segment ATTRIBUTE_UNUSED,
41332 + fragS *fragP,
41333 + relax_addressT address)
41334 +{
41335 + relax_addressT mask;
41336 + relax_addressT new_address;
41337 + int alignment;
41338 +
41339 + alignment = fragP->fr_offset;
41340 + mask = ~((~0) << alignment);
41341 + new_address = (address + mask) & (~mask);
41342 +
41343 + return new_address - address;
41344 +}
41345 +
41346 +/* Turn a string in input_line_pointer into a floating point constant
41347 + of type type, and store the appropriate bytes in *litP. The number
41348 + of LITTLENUMS emitted is stored in *sizeP . An error message is
41349 + returned, or NULL on OK. */
41350 +
41351 +/* Equal to MAX_PRECISION in atof-ieee.c */
41352 +#define MAX_LITTLENUMS 6
41353 +
41354 +char *
41355 +md_atof (type, litP, sizeP)
41356 +char type;
41357 +char * litP;
41358 +int * sizeP;
41359 +{
41360 + int i;
41361 + int prec;
41362 + LITTLENUM_TYPE words [MAX_LITTLENUMS];
41363 + char * t;
41364 +
41365 + switch (type)
41366 + {
41367 + case 'f':
41368 + case 'F':
41369 + case 's':
41370 + case 'S':
41371 + prec = 2;
41372 + break;
41373 +
41374 + case 'd':
41375 + case 'D':
41376 + case 'r':
41377 + case 'R':
41378 + prec = 4;
41379 + break;
41380 +
41381 + /* FIXME: Some targets allow other format chars for bigger sizes here. */
41382 +
41383 + default:
41384 + * sizeP = 0;
41385 + return _("Bad call to md_atof()");
41386 + }
41387 +
41388 + t = atof_ieee (input_line_pointer, type, words);
41389 + if (t)
41390 + input_line_pointer = t;
41391 + * sizeP = prec * sizeof (LITTLENUM_TYPE);
41392 +
41393 + for (i = 0; i < prec; i++)
41394 + {
41395 + md_number_to_chars (litP, (valueT) words[i],
41396 + sizeof (LITTLENUM_TYPE));
41397 + litP += sizeof (LITTLENUM_TYPE);
41398 + }
41399 +
41400 + return 0;
41401 +}
41402 +
41403 +static char *avr32_end_of_match(char *cont, char *what)
41404 +{
41405 + int len = strlen (what);
41406 +
41407 + if (! is_part_of_name (cont[len])
41408 + && strncasecmp (cont, what, len) == 0)
41409 + return cont + len;
41410 +
41411 + return NULL;
41412 +}
41413 +
41414 +int
41415 +avr32_parse_name (char const *name, expressionS *exp, char *nextchar)
41416 +{
41417 + char *next = input_line_pointer;
41418 + char *next_end;
41419 +
41420 + pr_debug("parse_name: %s, nextchar=%c (%02x)\n", name, *nextchar, *nextchar);
41421 +
41422 + if (*nextchar == '(')
41423 + {
41424 + if (strcasecmp(name, "hi") == 0)
41425 + {
41426 + *next = *nextchar;
41427 +
41428 + expression(exp);
41429 +
41430 + if (exp->X_op == O_constant)
41431 + {
41432 + pr_debug(" -> constant hi(0x%08lx) -> 0x%04lx\n",
41433 + exp->X_add_number, exp->X_add_number >> 16);
41434 + exp->X_add_number = (exp->X_add_number >> 16) & 0xffff;
41435 + }
41436 + else
41437 + {
41438 + exp->X_md = exp->X_op;
41439 + exp->X_op = O_hi;
41440 + }
41441 +
41442 + return 1;
41443 + }
41444 + else if (strcasecmp(name, "lo") == 0)
41445 + {
41446 + *next = *nextchar;
41447 +
41448 + expression(exp);
41449 +
41450 + if (exp->X_op == O_constant)
41451 + exp->X_add_number &= 0xffff;
41452 + else
41453 + {
41454 + exp->X_md = exp->X_op;
41455 + exp->X_op = O_lo;
41456 + }
41457 +
41458 + return 1;
41459 + }
41460 + }
41461 + else if (*nextchar == '@')
41462 + {
41463 + exp->X_md = exp->X_op;
41464 +
41465 + if ((next_end = avr32_end_of_match (next + 1, "got")))
41466 + exp->X_op = O_got;
41467 + else if ((next_end = avr32_end_of_match (next + 1, "tlsgd")))
41468 + exp->X_op = O_tlsgd;
41469 + /* Add more as needed */
41470 + else
41471 + {
41472 + char c;
41473 + input_line_pointer++;
41474 + c = get_symbol_end();
41475 + as_bad (_("unknown relocation override `%s'"), next + 1);
41476 + *input_line_pointer = c;
41477 + input_line_pointer = next;
41478 + return 0;
41479 + }
41480 +
41481 + exp->X_op_symbol = NULL;
41482 + exp->X_add_symbol = symbol_find_or_make (name);
41483 + exp->X_add_number = 0;
41484 +
41485 + *input_line_pointer = *nextchar;
41486 + input_line_pointer = next_end;
41487 + *nextchar = *input_line_pointer;
41488 + *input_line_pointer = '\0';
41489 + return 1;
41490 + }
41491 + else if (strcmp (name, "_GLOBAL_OFFSET_TABLE_") == 0)
41492 + {
41493 + if (!GOT_symbol)
41494 + GOT_symbol = symbol_find_or_make(name);
41495 +
41496 + exp->X_add_symbol = GOT_symbol;
41497 + exp->X_op = O_symbol;
41498 + exp->X_add_number = 0;
41499 + return 1;
41500 + }
41501 +
41502 + return 0;
41503 +}
41504 +
41505 +static void
41506 +s_rseg (int value ATTRIBUTE_UNUSED)
41507 +{
41508 + /* Syntax: RSEG segment_name [:type] [NOROOT|ROOT] [(align)]
41509 + * Defaults:
41510 + * - type: undocumented ("typically CODE or DATA")
41511 + * - ROOT
41512 + * - align: 1 for code, 0 for others
41513 + *
41514 + * TODO: NOROOT is ignored. If gas supports discardable segments, it should
41515 + * be implemented.
41516 + */
41517 + char *name, *end;
41518 + int length, type, attr;
41519 + int align = 0;
41520 +
41521 + SKIP_WHITESPACE();
41522 +
41523 + end = input_line_pointer;
41524 + while (0 == strchr ("\n\t;:( ", *end))
41525 + end++;
41526 + if (end == input_line_pointer)
41527 + {
41528 + as_warn (_("missing name"));
41529 + ignore_rest_of_line();
41530 + return;
41531 + }
41532 +
41533 + name = xmalloc (end - input_line_pointer + 1);
41534 + memcpy (name, input_line_pointer, end - input_line_pointer);
41535 + name[end - input_line_pointer] = '\0';
41536 + input_line_pointer = end;
41537 +
41538 + SKIP_WHITESPACE();
41539 +
41540 + type = SHT_NULL;
41541 + attr = 0;
41542 +
41543 + if (*input_line_pointer == ':')
41544 + {
41545 + /* Skip the colon */
41546 + ++input_line_pointer;
41547 + SKIP_WHITESPACE();
41548 +
41549 + /* Possible options at this point:
41550 + * - flag (ROOT or NOROOT)
41551 + * - a segment type
41552 + */
41553 + end = input_line_pointer;
41554 + while (0 == strchr ("\n\t;:( ", *end))
41555 + end++;
41556 + length = end - input_line_pointer;
41557 + if (((length == 4) && (0 == strncasecmp( input_line_pointer, "ROOT", 4))) ||
41558 + ((length == 6) && (0 == strncasecmp( input_line_pointer, "NOROOT", 6))))
41559 + {
41560 + /* Ignore ROOT/NOROOT */
41561 + input_line_pointer = end;
41562 + }
41563 + else
41564 + {
41565 + /* Must be a segment type */
41566 + switch (*input_line_pointer)
41567 + {
41568 + case 'C':
41569 + case 'c':
41570 + if ((length == 4) &&
41571 + (0 == strncasecmp (input_line_pointer, "CODE", 4)))
41572 + {
41573 + attr |= SHF_ALLOC | SHF_EXECINSTR;
41574 + type = SHT_PROGBITS;
41575 + align = 1;
41576 + break;
41577 + }
41578 + if ((length == 5) &&
41579 + (0 == strncasecmp (input_line_pointer, "CONST", 5)))
41580 + {
41581 + attr |= SHF_ALLOC;
41582 + type = SHT_PROGBITS;
41583 + break;
41584 + }
41585 + goto de_fault;
41586 +
41587 + case 'D':
41588 + case 'd':
41589 + if ((length == 4) &&
41590 + (0 == strncasecmp (input_line_pointer, "DATA", 4)))
41591 + {
41592 + attr |= SHF_ALLOC | SHF_WRITE;
41593 + type = SHT_PROGBITS;
41594 + break;
41595 + }
41596 + goto de_fault;
41597 +
41598 + /* TODO: Add FAR*, HUGE*, IDATA and NEAR* if necessary */
41599 +
41600 + case 'U':
41601 + case 'u':
41602 + if ((length == 7) &&
41603 + (0 == strncasecmp (input_line_pointer, "UNTYPED", 7)))
41604 + break;
41605 + goto de_fault;
41606 +
41607 + /* TODO: Add XDATA and ZPAGE if necessary */
41608 +
41609 + de_fault:
41610 + default:
41611 + as_warn (_("unrecognized segment type"));
41612 + }
41613 +
41614 + input_line_pointer = end;
41615 + SKIP_WHITESPACE();
41616 +
41617 + if (*input_line_pointer == ':')
41618 + {
41619 + /* ROOT/NOROOT */
41620 + ++input_line_pointer;
41621 + SKIP_WHITESPACE();
41622 +
41623 + end = input_line_pointer;
41624 + while (0 == strchr ("\n\t;:( ", *end))
41625 + end++;
41626 + length = end - input_line_pointer;
41627 + if (! ((length == 4) &&
41628 + (0 == strncasecmp( input_line_pointer, "ROOT", 4))) &&
41629 + ! ((length == 6) &&
41630 + (0 == strncasecmp( input_line_pointer, "NOROOT", 6))))
41631 + {
41632 + as_warn (_("unrecognized segment flag"));
41633 + }
41634 +
41635 + input_line_pointer = end;
41636 + SKIP_WHITESPACE();
41637 + }
41638 + }
41639 + }
41640 +
41641 + if (*input_line_pointer == '(')
41642 + {
41643 + align = get_absolute_expression ();
41644 + }
41645 +
41646 + demand_empty_rest_of_line();
41647 +
41648 + obj_elf_change_section (name, type, attr, 0, NULL, 0, 0);
41649 +#ifdef AVR32_DEBUG
41650 + fprintf( stderr, "RSEG: Changed section to %s, type: 0x%x, attr: 0x%x\n",
41651 + name, type, attr );
41652 + fprintf( stderr, "RSEG: Aligning to 2**%d\n", align );
41653 +#endif
41654 +
41655 + if (align > 15)
41656 + {
41657 + align = 15;
41658 + as_warn (_("alignment too large: %u assumed"), align);
41659 + }
41660 +
41661 + /* Hope not, that is */
41662 + assert (now_seg != absolute_section);
41663 +
41664 + /* Only make a frag if we HAVE to... */
41665 + if (align != 0 && !need_pass_2)
41666 + {
41667 + if (subseg_text_p (now_seg))
41668 + frag_align_code (align, 0);
41669 + else
41670 + frag_align (align, 0, 0);
41671 + }
41672 +
41673 + record_alignment (now_seg, align - OCTETS_PER_BYTE_POWER);
41674 +}
41675 +
41676 +/* vim: syntax=c sw=2
41677 + */
41678 diff -Nrup binutils-2.17/gas/config/tc-avr32.h binutils-2.17-atmel/gas/config/tc-avr32.h
41679 --- binutils-2.17/gas/config/tc-avr32.h 1970-01-01 01:00:00.000000000 +0100
41680 +++ binutils-2.17-atmel/gas/config/tc-avr32.h 2007-02-12 15:37:09.000000000 +0100
41681 @@ -0,0 +1,313 @@
41682 +/* Assembler definitions for AVR32.
41683 + Copyright 2003-2006 Atmel Corporation.
41684 +
41685 + Written by Haavard Skinnemoen, Atmel Norway, <hskinnemoen@atmel.com>
41686 +
41687 + This file is part of GAS, the GNU Assembler.
41688 +
41689 + GAS is free software; you can redistribute it and/or modify it
41690 + under the terms of the GNU General Public License as published by
41691 + the Free Software Foundation; either version 2, or (at your option)
41692 + any later version.
41693 +
41694 + GAS is distributed in the hope that it will be useful, but WITHOUT
41695 + ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
41696 + or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
41697 + License for more details.
41698 +
41699 + You should have received a copy of the GNU General Public License
41700 + along with GAS; see the file COPYING. If not, write to the Free
41701 + Software Foundation, 59 Temple Place - Suite 330, Boston, MA
41702 + 02111-1307, USA. */
41703 +
41704 +#if 0
41705 +#define DEBUG
41706 +#define DEBUG1
41707 +#define DEBUG2
41708 +#define DEBUG3
41709 +#define DEBUG4
41710 +#define DEBUG5
41711 +#endif
41712 +
41713 +/* Are we trying to be compatible with the IAR assembler? (--iar) */
41714 +extern int avr32_iarcompat;
41715 +
41716 +/* By convention, you should define this macro in the `.h' file. For
41717 + example, `tc-m68k.h' defines `TC_M68K'. You might have to use this
41718 + if it is necessary to add CPU specific code to the object format
41719 + file. */
41720 +#define TC_AVR32
41721 +
41722 +/* This macro is the BFD target name to use when creating the output
41723 + file. This will normally depend upon the `OBJ_FMT' macro. */
41724 +#define TARGET_FORMAT "elf32-avr32"
41725 +
41726 +/* This macro is the BFD architecture to pass to `bfd_set_arch_mach'. */
41727 +#define TARGET_ARCH bfd_arch_avr32
41728 +
41729 +/* This macro is the BFD machine number to pass to
41730 + `bfd_set_arch_mach'. If it is not defined, GAS will use 0. */
41731 +#define TARGET_MACH 0
41732 +
41733 +/* UNDOCUMENTED: Allow //-style comments */
41734 +#define DOUBLESLASH_LINE_COMMENTS
41735 +
41736 +/* You should define this macro to be non-zero if the target is big
41737 + endian, and zero if the target is little endian. */
41738 +#define TARGET_BYTES_BIG_ENDIAN 1
41739 +
41740 +/* FIXME: It seems that GAS only expects a one-byte opcode...
41741 + #define NOP_OPCODE 0xd703 */
41742 +
41743 +/* If you define this macro, GAS will warn about the use of
41744 + nonstandard escape sequences in a string. */
41745 +#undef ONLY_STANDARD_ESCAPES
41746 +
41747 +#define DWARF2_FORMAT() dwarf2_format_32bit
41748 +
41749 +/* Instructions are either 2 or 4 bytes long */
41750 +/* #define DWARF2_LINE_MIN_INSN_LENGTH 2 */
41751 +
41752 +/* GAS will call this function for any expression that can not be
41753 + recognized. When the function is called, `input_line_pointer'
41754 + will point to the start of the expression. */
41755 +#define md_operand(x)
41756 +
41757 +#define md_parse_name(name, expr, mode, c) avr32_parse_name(name, expr, c)
41758 +extern int avr32_parse_name(const char *, struct expressionS *, char *);
41759 +
41760 +/* You may define this macro to generate a fixup for a data
41761 + allocation pseudo-op. */
41762 +#define TC_CONS_FIX_NEW(FRAG, OFF, LEN, EXP) \
41763 + avr32_cons_fix_new(FRAG, OFF, LEN, EXP)
41764 +void avr32_cons_fix_new (fragS *, int, int, expressionS *);
41765 +
41766 +/* `extsym - .' expressions can be emitted using PC-relative relocs */
41767 +#define DIFF_EXPR_OK
41768 +
41769 +/* This is used to construct expressions out of @gotoff, etc. The
41770 + relocation type is stored in X_md */
41771 +#define O_got O_md1
41772 +#define O_hi O_md2
41773 +#define O_lo O_md3
41774 +#define O_tlsgd O_md4
41775 +
41776 +/* You may define this macro to parse an expression used in a data
41777 + allocation pseudo-op such as `.word'. You can use this to
41778 + recognize relocation directives that may appear in such directives. */
41779 +/* #define TC_PARSE_CONS_EXPRESSION(EXPR,N) avr_parse_cons_expression (EXPR,N)
41780 + void avr_parse_cons_expression (expressionS *exp, int nbytes); */
41781 +
41782 +/* This should just call either `number_to_chars_bigendian' or
41783 + `number_to_chars_littleendian', whichever is appropriate. On
41784 + targets like the MIPS which support options to change the
41785 + endianness, which function to call is a runtime decision. On
41786 + other targets, `md_number_to_chars' can be a simple macro. */
41787 +#define md_number_to_chars number_to_chars_bigendian
41788 +
41789 +/* `md_short_jump_size'
41790 + `md_long_jump_size'
41791 + `md_create_short_jump'
41792 + `md_create_long_jump'
41793 + If `WORKING_DOT_WORD' is defined, GAS will not do broken word
41794 + processing (*note Broken words::.). Otherwise, you should set
41795 + `md_short_jump_size' to the size of a short jump (a jump that is
41796 + just long enough to jump around a long jmp) and
41797 + `md_long_jump_size' to the size of a long jump (a jump that can go
41798 + anywhere in the function), You should define
41799 + `md_create_short_jump' to create a short jump around a long jump,
41800 + and define `md_create_long_jump' to create a long jump. */
41801 +#define WORKING_DOT_WORD
41802 +
41803 +/* If you define this macro, it means that `tc_gen_reloc' may return
41804 + multiple relocation entries for a single fixup. In this case, the
41805 + return value of `tc_gen_reloc' is a pointer to a null terminated
41806 + array. */
41807 +#undef RELOC_EXPANSION_POSSIBLE
41808 +
41809 +/* If you define this macro, GAS will not require pseudo-ops to start with a .
41810 + character. */
41811 +#define NO_PSEUDO_DOT (avr32_iarcompat)
41812 +
41813 +/* The IAR assembler uses $ as the location counter. Unfortunately, we
41814 + can't make this dependent on avr32_iarcompat... */
41815 +#define DOLLAR_DOT
41816 +
41817 +/* Values passed to md_apply_fix3 don't include the symbol value. */
41818 +#define MD_APPLY_SYM_VALUE(FIX) 0
41819 +
41820 +/* The number of bytes to put into a word in a listing. This affects
41821 + the way the bytes are clumped together in the listing. For
41822 + example, a value of 2 might print `1234 5678' where a value of 1
41823 + would print `12 34 56 78'. The default value is 4. */
41824 +#define LISTING_WORD_SIZE 4
41825 +
41826 +/* extern const struct relax_type md_relax_table[];
41827 +#define TC_GENERIC_RELAX_TABLE md_relax_table */
41828 +
41829 +/*
41830 + An `.lcomm' directive with no explicit alignment parameter will use
41831 + this macro to set P2VAR to the alignment that a request for SIZE
41832 + bytes will have. The alignment is expressed as a power of two. If
41833 + no alignment should take place, the macro definition should do
41834 + nothing. Some targets define a `.bss' directive that is also
41835 + affected by this macro. The default definition will set P2VAR to
41836 + the truncated power of two of sizes up to eight bytes.
41837 +
41838 + We want doublewords to be word-aligned, so we're going to modify the
41839 + default definition a tiny bit.
41840 +*/
41841 +#define TC_IMPLICIT_LCOMM_ALIGNMENT(SIZE, P2VAR) \
41842 + do \
41843 + { \
41844 + if ((SIZE) >= 4) \
41845 + (P2VAR) = 2; \
41846 + else if ((SIZE) >= 2) \
41847 + (P2VAR) = 1; \
41848 + else \
41849 + (P2VAR) = 0; \
41850 + } \
41851 + while (0)
41852 +
41853 +/* When relaxing, we need to generate relocations for alignment
41854 + directives. */
41855 +#define HANDLE_ALIGN(frag) avr32_handle_align(frag)
41856 +extern void avr32_handle_align(fragS *);
41857 +
41858 +/* See internals doc for explanation. Oh wait...
41859 + Now, can you guess where "alignment" comes from? ;-) */
41860 +#define MAX_MEM_FOR_RS_ALIGN_CODE ((1 << alignment) - 1)
41861 +
41862 +/* We need to stop gas from reducing certain expressions (e.g. GOT
41863 + references) */
41864 +#define tc_fix_adjustable(fix) avr32_fix_adjustable(fix)
41865 +extern bfd_boolean avr32_fix_adjustable(struct fix *);
41866 +
41867 +/* The linker needs to be passed a little more information when relaxing. */
41868 +#define TC_FORCE_RELOCATION(fix) avr32_force_reloc(fix)
41869 +extern bfd_boolean avr32_force_reloc(struct fix *);
41870 +
41871 +/* I'm tired of working around all the madness in fixup_segment().
41872 + This hook will do basically the same things as the generic code,
41873 + and then it will "goto" right past it. */
41874 +#define TC_VALIDATE_FIX(FIX, SEG, SKIP) \
41875 + do \
41876 + { \
41877 + avr32_process_fixup(FIX, SEG); \
41878 + if (!(FIX)->fx_done) \
41879 + ++seg_reloc_count; \
41880 + goto SKIP; \
41881 + } \
41882 + while (0)
41883 +extern void avr32_process_fixup(struct fix *fixP, segT this_segment);
41884 +
41885 +/* We don't want the gas core to make any assumptions about our way of
41886 + doing linkrelaxing. */
41887 +#define TC_LINKRELAX_FIXUP(SEG) 0
41888 +
41889 +/* ... but we do want it to insert lots of padding. */
41890 +#define LINKER_RELAXING_SHRINKS_ONLY
41891 +
41892 +/* Better do it ourselves, really... */
41893 +#define TC_RELAX_ALIGN(SEG, FRAG, ADDR) avr32_relax_align(SEG, FRAG, ADDR)
41894 +extern relax_addressT
41895 +avr32_relax_align(segT segment, fragS *fragP, relax_addressT address);
41896 +
41897 +/* This is called by write_object_file() just before symbols are
41898 + attempted converted into section symbols. */
41899 +#define tc_frob_file_before_adjust() avr32_frob_file()
41900 +extern void avr32_frob_file(void);
41901 +
41902 +/* If you define this macro, GAS will call it at the end of each input
41903 + file. */
41904 +#define md_cleanup() avr32_cleanup()
41905 +extern void avr32_cleanup(void);
41906 +
41907 +/* There's an AVR32-specific hack in operand() which creates O_md
41908 + expressions when encountering HWRD or LWRD. We need to generate
41909 + proper relocs for them */
41910 +/* #define md_cgen_record_fixup_exp avr32_cgen_record_fixup_exp */
41911 +
41912 +/* I needed to add an extra hook in gas_cgen_finish_insn() for
41913 + conversion of O_md* operands because md_cgen_record_fixup_exp()
41914 + isn't called for relaxable insns */
41915 +/* #define md_cgen_convert_expr(exp, opinfo) avr32_cgen_convert_expr(exp, opinfo)
41916 + int avr32_cgen_convert_expr(expressionS *, int); */
41917 +
41918 +/* #define tc_gen_reloc gas_cgen_tc_gen_reloc */
41919 +
41920 +/* If you define this macro, it should return the position from which
41921 + the PC relative adjustment for a PC relative fixup should be
41922 + made. On many processors, the base of a PC relative instruction is
41923 + the next instruction, so this macro would return the length of an
41924 + instruction, plus the address of the PC relative fixup. The latter
41925 + can be calculated as fixp->fx_where + fixp->fx_frag->fr_address. */
41926 +extern long md_pcrel_from_section (struct fix *, segT);
41927 +#define MD_PCREL_FROM_SECTION(FIX, SEC) md_pcrel_from_section (FIX, SEC)
41928 +
41929 +#define LOCAL_LABEL(name) (name[0] == '.' && (name[1] == 'L'))
41930 +#define LOCAL_LABELS_FB 1
41931 +
41932 +struct avr32_relaxer
41933 +{
41934 + int (*estimate_size)(fragS *, segT);
41935 + long (*relax_frag)(segT, fragS *, long);
41936 + void (*convert_frag)(bfd *, segT, fragS *);
41937 +};
41938 +
41939 +/* AVR32 has quite complex instruction coding, which means we need
41940 + * lots of information in order to do the right thing during relaxing
41941 + * (basically, we need to be able to reconstruct a whole new opcode if
41942 + * necessary) */
41943 +#define TC_FRAG_TYPE struct avr32_frag_data
41944 +
41945 +struct cpool;
41946 +
41947 +struct avr32_frag_data
41948 +{
41949 + /* TODO: Maybe add an expression object here so that we can use
41950 + fix_new_exp() in md_convert_frag? We may have to decide
41951 + pcrel-ness in md_estimate_size_before_relax() as well...or we
41952 + might do it when parsing. Doing it while parsing may fail
41953 + because the sub_symbol is undefined then... */
41954 + int pcrel;
41955 + int force_extended;
41956 + int reloc_info;
41957 + struct avr32_relaxer *relaxer;
41958 + expressionS exp;
41959 +
41960 + /* Points to associated constant pool, for use by LDA and CALL in
41961 + non-pic mode, and when relaxing the .cpool directive */
41962 + struct cpool *pool;
41963 + unsigned int pool_entry;
41964 +};
41965 +
41966 +/* We will have to initialize the fields explicitly when needed */
41967 +#define TC_FRAG_INIT(fragP)
41968 +
41969 +#define md_estimate_size_before_relax(fragP, segT) \
41970 + ((fragP)->tc_frag_data.relaxer->estimate_size(fragP, segT))
41971 +#define md_relax_frag(segment, fragP, stretch) \
41972 + ((fragP)->tc_frag_data.relaxer->relax_frag(segment, fragP, stretch))
41973 +#define md_convert_frag(abfd, segment, fragP) \
41974 + ((fragP)->tc_frag_data.relaxer->convert_frag(abfd, segment, fragP))
41975 +
41976 +#define TC_FIX_TYPE struct avr32_fix_data
41977 +
41978 +struct avr32_fix_data
41979 +{
41980 + const struct avr32_ifield *ifield;
41981 + unsigned int align;
41982 + long min;
41983 + long max;
41984 +};
41985 +
41986 +#define TC_INIT_FIX_DATA(fixP) \
41987 + do \
41988 + { \
41989 + (fixP)->tc_fix_data.ifield = NULL; \
41990 + (fixP)->tc_fix_data.align = 0; \
41991 + (fixP)->tc_fix_data.min = 0; \
41992 + (fixP)->tc_fix_data.max = 0; \
41993 + } \
41994 + while (0)
41995 diff -Nrup binutils-2.17/gas/config.in binutils-2.17-atmel/gas/config.in
41996 --- binutils-2.17/gas/config.in 2006-02-14 09:59:09.000000000 +0100
41997 +++ binutils-2.17-atmel/gas/config.in 2007-02-20 16:07:31.000000000 +0100
41998 @@ -246,7 +246,7 @@
41999
42000 /* If using the C implementation of alloca, define if you know the
42001 direction of stack growth for your system; otherwise it will be
42002 - automatically deduced at run-time.
42003 + automatically deduced at runtime.
42004 STACK_DIRECTION > 0 => grows toward higher addresses
42005 STACK_DIRECTION < 0 => grows toward lower addresses
42006 STACK_DIRECTION = 0 => direction of growth unknown */
42007 @@ -311,8 +311,8 @@
42008 #undef inline
42009 #endif
42010
42011 -/* Define to `long' if <sys/types.h> does not define. */
42012 +/* Define to `long int' if <sys/types.h> does not define. */
42013 #undef off_t
42014
42015 -/* Define to `unsigned' if <sys/types.h> does not define. */
42016 +/* Define to `unsigned int' if <sys/types.h> does not define. */
42017 #undef size_t
42018 diff -Nrup binutils-2.17/gas/configure binutils-2.17-atmel/gas/configure
42019 --- binutils-2.17/gas/configure 2006-04-06 23:49:31.000000000 +0200
42020 +++ binutils-2.17-atmel/gas/configure 2007-02-20 16:07:29.000000000 +0100
42021 @@ -1,25 +1,54 @@
42022 #! /bin/sh
42023 # Guess values for system-dependent variables and create Makefiles.
42024 -# Generated by GNU Autoconf 2.59.
42025 +# Generated by GNU Autoconf 2.61.
42026 #
42027 -# Copyright (C) 2003 Free Software Foundation, Inc.
42028 +# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
42029 +# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
42030 # This configure script is free software; the Free Software Foundation
42031 # gives unlimited permission to copy, distribute and modify it.
42032 ## --------------------- ##
42033 ## M4sh Initialization. ##
42034 ## --------------------- ##
42035
42036 -# Be Bourne compatible
42037 +# Be more Bourne compatible
42038 +DUALCASE=1; export DUALCASE # for MKS sh
42039 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
42040 emulate sh
42041 NULLCMD=:
42042 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
42043 # is contrary to our usage. Disable this feature.
42044 alias -g '${1+"$@"}'='"$@"'
42045 -elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
42046 - set -o posix
42047 + setopt NO_GLOB_SUBST
42048 +else
42049 + case `(set -o) 2>/dev/null` in
42050 + *posix*) set -o posix ;;
42051 +esac
42052 +
42053 +fi
42054 +
42055 +
42056 +
42057 +
42058 +# PATH needs CR
42059 +# Avoid depending upon Character Ranges.
42060 +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
42061 +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
42062 +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
42063 +as_cr_digits='0123456789'
42064 +as_cr_alnum=$as_cr_Letters$as_cr_digits
42065 +
42066 +# The user is always right.
42067 +if test "${PATH_SEPARATOR+set}" != set; then
42068 + echo "#! /bin/sh" >conf$$.sh
42069 + echo "exit 0" >>conf$$.sh
42070 + chmod +x conf$$.sh
42071 + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
42072 + PATH_SEPARATOR=';'
42073 + else
42074 + PATH_SEPARATOR=:
42075 + fi
42076 + rm -f conf$$.sh
42077 fi
42078 -DUALCASE=1; export DUALCASE # for MKS sh
42079
42080 # Support unset when possible.
42081 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
42082 @@ -29,8 +58,43 @@ else
42083 fi
42084
42085
42086 +# IFS
42087 +# We need space, tab and new line, in precisely that order. Quoting is
42088 +# there to prevent editors from complaining about space-tab.
42089 +# (If _AS_PATH_WALK were called with IFS unset, it would disable word
42090 +# splitting by setting IFS to empty value.)
42091 +as_nl='
42092 +'
42093 +IFS=" "" $as_nl"
42094 +
42095 +# Find who we are. Look in the path if we contain no directory separator.
42096 +case $0 in
42097 + *[\\/]* ) as_myself=$0 ;;
42098 + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42099 +for as_dir in $PATH
42100 +do
42101 + IFS=$as_save_IFS
42102 + test -z "$as_dir" && as_dir=.
42103 + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
42104 +done
42105 +IFS=$as_save_IFS
42106 +
42107 + ;;
42108 +esac
42109 +# We did not find ourselves, most probably we were run as `sh COMMAND'
42110 +# in which case we are not to be found in the path.
42111 +if test "x$as_myself" = x; then
42112 + as_myself=$0
42113 +fi
42114 +if test ! -f "$as_myself"; then
42115 + echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
42116 + { (exit 1); exit 1; }
42117 +fi
42118 +
42119 # Work around bugs in pre-3.0 UWIN ksh.
42120 -$as_unset ENV MAIL MAILPATH
42121 +for as_var in ENV MAIL MAILPATH
42122 +do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
42123 +done
42124 PS1='$ '
42125 PS2='> '
42126 PS4='+ '
42127 @@ -44,18 +108,19 @@ do
42128 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
42129 eval $as_var=C; export $as_var
42130 else
42131 - $as_unset $as_var
42132 + ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
42133 fi
42134 done
42135
42136 # Required to use basename.
42137 -if expr a : '\(a\)' >/dev/null 2>&1; then
42138 +if expr a : '\(a\)' >/dev/null 2>&1 &&
42139 + test "X`expr 00001 : '.*\(...\)'`" = X001; then
42140 as_expr=expr
42141 else
42142 as_expr=false
42143 fi
42144
42145 -if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
42146 +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
42147 as_basename=basename
42148 else
42149 as_basename=false
42150 @@ -63,157 +128,388 @@ fi
42151
42152
42153 # Name of the executable.
42154 -as_me=`$as_basename "$0" ||
42155 +as_me=`$as_basename -- "$0" ||
42156 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
42157 X"$0" : 'X\(//\)$' \| \
42158 - X"$0" : 'X\(/\)$' \| \
42159 - . : '\(.\)' 2>/dev/null ||
42160 + X"$0" : 'X\(/\)' \| . 2>/dev/null ||
42161 echo X/"$0" |
42162 - sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
42163 - /^X\/\(\/\/\)$/{ s//\1/; q; }
42164 - /^X\/\(\/\).*/{ s//\1/; q; }
42165 - s/.*/./; q'`
42166 + sed '/^.*\/\([^/][^/]*\)\/*$/{
42167 + s//\1/
42168 + q
42169 + }
42170 + /^X\/\(\/\/\)$/{
42171 + s//\1/
42172 + q
42173 + }
42174 + /^X\/\(\/\).*/{
42175 + s//\1/
42176 + q
42177 + }
42178 + s/.*/./; q'`
42179
42180 +# CDPATH.
42181 +$as_unset CDPATH
42182
42183 -# PATH needs CR, and LINENO needs CR and PATH.
42184 -# Avoid depending upon Character Ranges.
42185 -as_cr_letters='abcdefghijklmnopqrstuvwxyz'
42186 -as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
42187 -as_cr_Letters=$as_cr_letters$as_cr_LETTERS
42188 -as_cr_digits='0123456789'
42189 -as_cr_alnum=$as_cr_Letters$as_cr_digits
42190
42191 -# The user is always right.
42192 -if test "${PATH_SEPARATOR+set}" != set; then
42193 - echo "#! /bin/sh" >conf$$.sh
42194 - echo "exit 0" >>conf$$.sh
42195 - chmod +x conf$$.sh
42196 - if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
42197 - PATH_SEPARATOR=';'
42198 - else
42199 - PATH_SEPARATOR=:
42200 - fi
42201 - rm -f conf$$.sh
42202 +if test "x$CONFIG_SHELL" = x; then
42203 + if (eval ":") 2>/dev/null; then
42204 + as_have_required=yes
42205 +else
42206 + as_have_required=no
42207 fi
42208
42209 + if test $as_have_required = yes && (eval ":
42210 +(as_func_return () {
42211 + (exit \$1)
42212 +}
42213 +as_func_success () {
42214 + as_func_return 0
42215 +}
42216 +as_func_failure () {
42217 + as_func_return 1
42218 +}
42219 +as_func_ret_success () {
42220 + return 0
42221 +}
42222 +as_func_ret_failure () {
42223 + return 1
42224 +}
42225
42226 - as_lineno_1=$LINENO
42227 - as_lineno_2=$LINENO
42228 - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
42229 - test "x$as_lineno_1" != "x$as_lineno_2" &&
42230 - test "x$as_lineno_3" = "x$as_lineno_2" || {
42231 - # Find who we are. Look in the path if we contain no path at all
42232 - # relative or not.
42233 - case $0 in
42234 - *[\\/]* ) as_myself=$0 ;;
42235 - *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42236 -for as_dir in $PATH
42237 -do
42238 - IFS=$as_save_IFS
42239 - test -z "$as_dir" && as_dir=.
42240 - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
42241 -done
42242 +exitcode=0
42243 +if as_func_success; then
42244 + :
42245 +else
42246 + exitcode=1
42247 + echo as_func_success failed.
42248 +fi
42249
42250 - ;;
42251 - esac
42252 - # We did not find ourselves, most probably we were run as `sh COMMAND'
42253 - # in which case we are not to be found in the path.
42254 - if test "x$as_myself" = x; then
42255 - as_myself=$0
42256 - fi
42257 - if test ! -f "$as_myself"; then
42258 - { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
42259 - { (exit 1); exit 1; }; }
42260 - fi
42261 - case $CONFIG_SHELL in
42262 - '')
42263 +if as_func_failure; then
42264 + exitcode=1
42265 + echo as_func_failure succeeded.
42266 +fi
42267 +
42268 +if as_func_ret_success; then
42269 + :
42270 +else
42271 + exitcode=1
42272 + echo as_func_ret_success failed.
42273 +fi
42274 +
42275 +if as_func_ret_failure; then
42276 + exitcode=1
42277 + echo as_func_ret_failure succeeded.
42278 +fi
42279 +
42280 +if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
42281 + :
42282 +else
42283 + exitcode=1
42284 + echo positional parameters were not saved.
42285 +fi
42286 +
42287 +test \$exitcode = 0) || { (exit 1); exit 1; }
42288 +
42289 +(
42290 + as_lineno_1=\$LINENO
42291 + as_lineno_2=\$LINENO
42292 + test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
42293 + test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
42294 +") 2> /dev/null; then
42295 + :
42296 +else
42297 + as_candidate_shells=
42298 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42299 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
42300 do
42301 IFS=$as_save_IFS
42302 test -z "$as_dir" && as_dir=.
42303 - for as_base in sh bash ksh sh5; do
42304 - case $as_dir in
42305 + case $as_dir in
42306 /*)
42307 - if ("$as_dir/$as_base" -c '
42308 + for as_base in sh bash ksh sh5; do
42309 + as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
42310 + done;;
42311 + esac
42312 +done
42313 +IFS=$as_save_IFS
42314 +
42315 +
42316 + for as_shell in $as_candidate_shells $SHELL; do
42317 + # Try only shells that exist, to save several forks.
42318 + if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
42319 + { ("$as_shell") 2> /dev/null <<\_ASEOF
42320 +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
42321 + emulate sh
42322 + NULLCMD=:
42323 + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
42324 + # is contrary to our usage. Disable this feature.
42325 + alias -g '${1+"$@"}'='"$@"'
42326 + setopt NO_GLOB_SUBST
42327 +else
42328 + case `(set -o) 2>/dev/null` in
42329 + *posix*) set -o posix ;;
42330 +esac
42331 +
42332 +fi
42333 +
42334 +
42335 +:
42336 +_ASEOF
42337 +}; then
42338 + CONFIG_SHELL=$as_shell
42339 + as_have_required=yes
42340 + if { "$as_shell" 2> /dev/null <<\_ASEOF
42341 +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
42342 + emulate sh
42343 + NULLCMD=:
42344 + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
42345 + # is contrary to our usage. Disable this feature.
42346 + alias -g '${1+"$@"}'='"$@"'
42347 + setopt NO_GLOB_SUBST
42348 +else
42349 + case `(set -o) 2>/dev/null` in
42350 + *posix*) set -o posix ;;
42351 +esac
42352 +
42353 +fi
42354 +
42355 +
42356 +:
42357 +(as_func_return () {
42358 + (exit $1)
42359 +}
42360 +as_func_success () {
42361 + as_func_return 0
42362 +}
42363 +as_func_failure () {
42364 + as_func_return 1
42365 +}
42366 +as_func_ret_success () {
42367 + return 0
42368 +}
42369 +as_func_ret_failure () {
42370 + return 1
42371 +}
42372 +
42373 +exitcode=0
42374 +if as_func_success; then
42375 + :
42376 +else
42377 + exitcode=1
42378 + echo as_func_success failed.
42379 +fi
42380 +
42381 +if as_func_failure; then
42382 + exitcode=1
42383 + echo as_func_failure succeeded.
42384 +fi
42385 +
42386 +if as_func_ret_success; then
42387 + :
42388 +else
42389 + exitcode=1
42390 + echo as_func_ret_success failed.
42391 +fi
42392 +
42393 +if as_func_ret_failure; then
42394 + exitcode=1
42395 + echo as_func_ret_failure succeeded.
42396 +fi
42397 +
42398 +if ( set x; as_func_ret_success y && test x = "$1" ); then
42399 + :
42400 +else
42401 + exitcode=1
42402 + echo positional parameters were not saved.
42403 +fi
42404 +
42405 +test $exitcode = 0) || { (exit 1); exit 1; }
42406 +
42407 +(
42408 as_lineno_1=$LINENO
42409 as_lineno_2=$LINENO
42410 - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
42411 test "x$as_lineno_1" != "x$as_lineno_2" &&
42412 - test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
42413 - $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
42414 - $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
42415 - CONFIG_SHELL=$as_dir/$as_base
42416 - export CONFIG_SHELL
42417 - exec "$CONFIG_SHELL" "$0" ${1+"$@"}
42418 - fi;;
42419 - esac
42420 - done
42421 -done
42422 -;;
42423 - esac
42424 + test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
42425 +
42426 +_ASEOF
42427 +}; then
42428 + break
42429 +fi
42430 +
42431 +fi
42432 +
42433 + done
42434 +
42435 + if test "x$CONFIG_SHELL" != x; then
42436 + for as_var in BASH_ENV ENV
42437 + do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
42438 + done
42439 + export CONFIG_SHELL
42440 + exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
42441 +fi
42442 +
42443 +
42444 + if test $as_have_required = no; then
42445 + echo This script requires a shell more modern than all the
42446 + echo shells that I found on your system. Please install a
42447 + echo modern shell, or manually run the script under such a
42448 + echo shell if you do have one.
42449 + { (exit 1); exit 1; }
42450 +fi
42451 +
42452 +
42453 +fi
42454 +
42455 +fi
42456 +
42457 +
42458 +
42459 +(eval "as_func_return () {
42460 + (exit \$1)
42461 +}
42462 +as_func_success () {
42463 + as_func_return 0
42464 +}
42465 +as_func_failure () {
42466 + as_func_return 1
42467 +}
42468 +as_func_ret_success () {
42469 + return 0
42470 +}
42471 +as_func_ret_failure () {
42472 + return 1
42473 +}
42474 +
42475 +exitcode=0
42476 +if as_func_success; then
42477 + :
42478 +else
42479 + exitcode=1
42480 + echo as_func_success failed.
42481 +fi
42482 +
42483 +if as_func_failure; then
42484 + exitcode=1
42485 + echo as_func_failure succeeded.
42486 +fi
42487 +
42488 +if as_func_ret_success; then
42489 + :
42490 +else
42491 + exitcode=1
42492 + echo as_func_ret_success failed.
42493 +fi
42494 +
42495 +if as_func_ret_failure; then
42496 + exitcode=1
42497 + echo as_func_ret_failure succeeded.
42498 +fi
42499 +
42500 +if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
42501 + :
42502 +else
42503 + exitcode=1
42504 + echo positional parameters were not saved.
42505 +fi
42506 +
42507 +test \$exitcode = 0") || {
42508 + echo No shell found that supports shell functions.
42509 + echo Please tell autoconf@gnu.org about your system,
42510 + echo including any error possibly output before this
42511 + echo message
42512 +}
42513 +
42514 +
42515 +
42516 + as_lineno_1=$LINENO
42517 + as_lineno_2=$LINENO
42518 + test "x$as_lineno_1" != "x$as_lineno_2" &&
42519 + test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
42520
42521 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
42522 # uniformly replaced by the line number. The first 'sed' inserts a
42523 - # line-number line before each line; the second 'sed' does the real
42524 - # work. The second script uses 'N' to pair each line-number line
42525 - # with the numbered line, and appends trailing '-' during
42526 - # substitution so that $LINENO is not a special case at line end.
42527 + # line-number line after each line using $LINENO; the second 'sed'
42528 + # does the real work. The second script uses 'N' to pair each
42529 + # line-number line with the line containing $LINENO, and appends
42530 + # trailing '-' during substitution so that $LINENO is not a special
42531 + # case at line end.
42532 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
42533 - # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
42534 - sed '=' <$as_myself |
42535 + # scripts with optimization help from Paolo Bonzini. Blame Lee
42536 + # E. McMahon (1931-1989) for sed's syntax. :-)
42537 + sed -n '
42538 + p
42539 + /[$]LINENO/=
42540 + ' <$as_myself |
42541 sed '
42542 + s/[$]LINENO.*/&-/
42543 + t lineno
42544 + b
42545 + :lineno
42546 N
42547 - s,$,-,
42548 - : loop
42549 - s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
42550 + :loop
42551 + s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
42552 t loop
42553 - s,-$,,
42554 - s,^['$as_cr_digits']*\n,,
42555 + s/-\n.*//
42556 ' >$as_me.lineno &&
42557 - chmod +x $as_me.lineno ||
42558 + chmod +x "$as_me.lineno" ||
42559 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
42560 { (exit 1); exit 1; }; }
42561
42562 # Don't try to exec as it changes $[0], causing all sort of problems
42563 # (the dirname of $[0] is not the place where we might find the
42564 - # original and so on. Autoconf is especially sensible to this).
42565 - . ./$as_me.lineno
42566 + # original and so on. Autoconf is especially sensitive to this).
42567 + . "./$as_me.lineno"
42568 # Exit status is that of the last command.
42569 exit
42570 }
42571
42572
42573 -case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
42574 - *c*,-n*) ECHO_N= ECHO_C='
42575 -' ECHO_T=' ' ;;
42576 - *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
42577 - *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
42578 +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
42579 + as_dirname=dirname
42580 +else
42581 + as_dirname=false
42582 +fi
42583 +
42584 +ECHO_C= ECHO_N= ECHO_T=
42585 +case `echo -n x` in
42586 +-n*)
42587 + case `echo 'x\c'` in
42588 + *c*) ECHO_T=' ';; # ECHO_T is single tab character.
42589 + *) ECHO_C='\c';;
42590 + esac;;
42591 +*)
42592 + ECHO_N='-n';;
42593 esac
42594
42595 -if expr a : '\(a\)' >/dev/null 2>&1; then
42596 +if expr a : '\(a\)' >/dev/null 2>&1 &&
42597 + test "X`expr 00001 : '.*\(...\)'`" = X001; then
42598 as_expr=expr
42599 else
42600 as_expr=false
42601 fi
42602
42603 rm -f conf$$ conf$$.exe conf$$.file
42604 +if test -d conf$$.dir; then
42605 + rm -f conf$$.dir/conf$$.file
42606 +else
42607 + rm -f conf$$.dir
42608 + mkdir conf$$.dir
42609 +fi
42610 echo >conf$$.file
42611 if ln -s conf$$.file conf$$ 2>/dev/null; then
42612 - # We could just check for DJGPP; but this test a) works b) is more generic
42613 - # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
42614 - if test -f conf$$.exe; then
42615 - # Don't use ln at all; we don't have any links
42616 + as_ln_s='ln -s'
42617 + # ... but there are two gotchas:
42618 + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
42619 + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
42620 + # In both cases, we have to default to `cp -p'.
42621 + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
42622 as_ln_s='cp -p'
42623 - else
42624 - as_ln_s='ln -s'
42625 - fi
42626 elif ln conf$$.file conf$$ 2>/dev/null; then
42627 as_ln_s=ln
42628 else
42629 as_ln_s='cp -p'
42630 fi
42631 -rm -f conf$$ conf$$.exe conf$$.file
42632 +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
42633 +rmdir conf$$.dir 2>/dev/null
42634
42635 if mkdir -p . 2>/dev/null; then
42636 as_mkdir_p=:
42637 @@ -222,7 +518,28 @@ else
42638 as_mkdir_p=false
42639 fi
42640
42641 -as_executable_p="test -f"
42642 +if test -x / >/dev/null 2>&1; then
42643 + as_test_x='test -x'
42644 +else
42645 + if ls -dL / >/dev/null 2>&1; then
42646 + as_ls_L_option=L
42647 + else
42648 + as_ls_L_option=
42649 + fi
42650 + as_test_x='
42651 + eval sh -c '\''
42652 + if test -d "$1"; then
42653 + test -d "$1/.";
42654 + else
42655 + case $1 in
42656 + -*)set "./$1";;
42657 + esac;
42658 + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
42659 + ???[sx]*):;;*)false;;esac;fi
42660 + '\'' sh
42661 + '
42662 +fi
42663 +as_executable_p=$as_test_x
42664
42665 # Sed expression to map a string onto a valid CPP name.
42666 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
42667 @@ -231,39 +548,27 @@ as_tr_cpp="eval sed 'y%*$as_cr_letters%P
42668 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
42669
42670
42671 -# IFS
42672 -# We need space, tab and new line, in precisely that order.
42673 -as_nl='
42674 -'
42675 -IFS=" $as_nl"
42676 -
42677 -# CDPATH.
42678 -$as_unset CDPATH
42679
42680 +exec 7<&0 </dev/null 6>&1
42681
42682 # Name of the host.
42683 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
42684 # so uname gets run too.
42685 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
42686
42687 -exec 6>&1
42688 -
42689 #
42690 # Initializations.
42691 #
42692 ac_default_prefix=/usr/local
42693 +ac_clean_files=
42694 ac_config_libobj_dir=.
42695 +LIBOBJS=
42696 cross_compiling=no
42697 subdirs=
42698 MFLAGS=
42699 MAKEFLAGS=
42700 SHELL=${CONFIG_SHELL-/bin/sh}
42701
42702 -# Maximum number of lines to put in a shell here document.
42703 -# This variable seems obsolete. It should probably be removed, and
42704 -# only ac_max_sed_lines should be used.
42705 -: ${ac_max_here_lines=38}
42706 -
42707 # Identity of this package.
42708 PACKAGE_NAME=
42709 PACKAGE_TARNAME=
42710 @@ -275,42 +580,190 @@ ac_unique_file="as.h"
42711 # Factoring default headers for most tests.
42712 ac_includes_default="\
42713 #include <stdio.h>
42714 -#if HAVE_SYS_TYPES_H
42715 +#ifdef HAVE_SYS_TYPES_H
42716 # include <sys/types.h>
42717 #endif
42718 -#if HAVE_SYS_STAT_H
42719 +#ifdef HAVE_SYS_STAT_H
42720 # include <sys/stat.h>
42721 #endif
42722 -#if STDC_HEADERS
42723 +#ifdef STDC_HEADERS
42724 # include <stdlib.h>
42725 # include <stddef.h>
42726 #else
42727 -# if HAVE_STDLIB_H
42728 +# ifdef HAVE_STDLIB_H
42729 # include <stdlib.h>
42730 # endif
42731 #endif
42732 -#if HAVE_STRING_H
42733 -# if !STDC_HEADERS && HAVE_MEMORY_H
42734 +#ifdef HAVE_STRING_H
42735 +# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
42736 # include <memory.h>
42737 # endif
42738 # include <string.h>
42739 #endif
42740 -#if HAVE_STRINGS_H
42741 +#ifdef HAVE_STRINGS_H
42742 # include <strings.h>
42743 #endif
42744 -#if HAVE_INTTYPES_H
42745 +#ifdef HAVE_INTTYPES_H
42746 # include <inttypes.h>
42747 -#else
42748 -# if HAVE_STDINT_H
42749 -# include <stdint.h>
42750 -# endif
42751 #endif
42752 -#if HAVE_UNISTD_H
42753 +#ifdef HAVE_STDINT_H
42754 +# include <stdint.h>
42755 +#endif
42756 +#ifdef HAVE_UNISTD_H
42757 # include <unistd.h>
42758 #endif"
42759
42760 -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 LN_S RANLIB ac_ct_RANLIB LIBTOOL WARN_CFLAGS NO_WERROR GDBINIT cgen_cpu_prefix extra_objects target_cpu_type obj_format te_file install_tooldir atof BFDLIB OPCODES_LIB BFDVER_H ALL_OBJ_DEPS YACC LEX LEXLIB LEX_OUTPUT_ROOT 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 MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT LIBM datarootdir docdir htmldir LIBOBJS LTLIBOBJS'
42761 +ac_subst_vars='SHELL
42762 +PATH_SEPARATOR
42763 +PACKAGE_NAME
42764 +PACKAGE_TARNAME
42765 +PACKAGE_VERSION
42766 +PACKAGE_STRING
42767 +PACKAGE_BUGREPORT
42768 +exec_prefix
42769 +prefix
42770 +program_transform_name
42771 +bindir
42772 +sbindir
42773 +libexecdir
42774 +datarootdir
42775 +datadir
42776 +sysconfdir
42777 +sharedstatedir
42778 +localstatedir
42779 +includedir
42780 +oldincludedir
42781 +docdir
42782 +infodir
42783 +htmldir
42784 +dvidir
42785 +pdfdir
42786 +psdir
42787 +libdir
42788 +localedir
42789 +mandir
42790 +DEFS
42791 +ECHO_C
42792 +ECHO_N
42793 +ECHO_T
42794 +LIBS
42795 +build_alias
42796 +host_alias
42797 +target_alias
42798 +build
42799 +build_cpu
42800 +build_vendor
42801 +build_os
42802 +host
42803 +host_cpu
42804 +host_vendor
42805 +host_os
42806 +target
42807 +target_cpu
42808 +target_vendor
42809 +target_os
42810 +CC
42811 +CFLAGS
42812 +LDFLAGS
42813 +CPPFLAGS
42814 +ac_ct_CC
42815 +EXEEXT
42816 +OBJEXT
42817 +INSTALL_PROGRAM
42818 +INSTALL_SCRIPT
42819 +INSTALL_DATA
42820 +CYGPATH_W
42821 +PACKAGE
42822 +VERSION
42823 +ACLOCAL
42824 +AUTOCONF
42825 +AUTOMAKE
42826 +AUTOHEADER
42827 +MAKEINFO
42828 +install_sh
42829 +STRIP
42830 +INSTALL_STRIP_PROGRAM
42831 +mkdir_p
42832 +AWK
42833 +SET_MAKE
42834 +am__leading_dot
42835 +AMTAR
42836 +am__tar
42837 +am__untar
42838 +DEPDIR
42839 +am__include
42840 +am__quote
42841 +AMDEP_TRUE
42842 +AMDEP_FALSE
42843 +AMDEPBACKSLASH
42844 +CCDEPMODE
42845 +am__fastdepCC_TRUE
42846 +am__fastdepCC_FALSE
42847 +LN_S
42848 +RANLIB
42849 +LIBTOOL
42850 +WARN_CFLAGS
42851 +NO_WERROR
42852 +GDBINIT
42853 +CPP
42854 +GREP
42855 +EGREP
42856 +cgen_cpu_prefix
42857 +extra_objects
42858 +target_cpu_type
42859 +obj_format
42860 +te_file
42861 +install_tooldir
42862 +atof
42863 +BFDLIB
42864 +OPCODES_LIB
42865 +BFDVER_H
42866 +ALL_OBJ_DEPS
42867 +YACC
42868 +YFLAGS
42869 +LEX
42870 +LEX_OUTPUT_ROOT
42871 +LEXLIB
42872 +ALLOCA
42873 +USE_NLS
42874 +MSGFMT
42875 +GMSGFMT
42876 +XGETTEXT
42877 +USE_INCLUDED_LIBINTL
42878 +CATALOGS
42879 +CATOBJEXT
42880 +DATADIRNAME
42881 +GMOFILES
42882 +INSTOBJEXT
42883 +INTLDEPS
42884 +INTLLIBS
42885 +INTLOBJS
42886 +POFILES
42887 +POSUB
42888 +INCLUDE_LOCALE_H
42889 +GT_NO
42890 +GT_YES
42891 +MKINSTALLDIRS
42892 +l
42893 +MAINTAINER_MODE_TRUE
42894 +MAINTAINER_MODE_FALSE
42895 +MAINT
42896 +LIBM
42897 +LIBOBJS
42898 +LTLIBOBJS'
42899 ac_subst_files=''
42900 + ac_precious_vars='build_alias
42901 +host_alias
42902 +target_alias
42903 +CC
42904 +CFLAGS
42905 +LDFLAGS
42906 +LIBS
42907 +CPPFLAGS
42908 +CPP
42909 +YACC
42910 +YFLAGS'
42911 +
42912
42913 # Initialize some variables set by options.
42914 ac_init_help=
42915 @@ -337,34 +790,48 @@ x_libraries=NONE
42916 # and all the variables that are supposed to be based on exec_prefix
42917 # by default will actually change.
42918 # Use braces instead of parens because sh, perl, etc. also accept them.
42919 +# (The list follows the same order as the GNU Coding Standards.)
42920 bindir='${exec_prefix}/bin'
42921 sbindir='${exec_prefix}/sbin'
42922 libexecdir='${exec_prefix}/libexec'
42923 -datadir='${prefix}/share'
42924 +datarootdir='${prefix}/share'
42925 +datadir='${datarootdir}'
42926 sysconfdir='${prefix}/etc'
42927 sharedstatedir='${prefix}/com'
42928 localstatedir='${prefix}/var'
42929 -libdir='${exec_prefix}/lib'
42930 includedir='${prefix}/include'
42931 oldincludedir='/usr/include'
42932 -infodir='${prefix}/info'
42933 -mandir='${prefix}/man'
42934 +docdir='${datarootdir}/doc/${PACKAGE}'
42935 +infodir='${datarootdir}/info'
42936 +htmldir='${docdir}'
42937 +dvidir='${docdir}'
42938 +pdfdir='${docdir}'
42939 +psdir='${docdir}'
42940 +libdir='${exec_prefix}/lib'
42941 +localedir='${datarootdir}/locale'
42942 +mandir='${datarootdir}/man'
42943
42944 ac_prev=
42945 +ac_dashdash=
42946 for ac_option
42947 do
42948 # If the previous option needs an argument, assign it.
42949 if test -n "$ac_prev"; then
42950 - eval "$ac_prev=\$ac_option"
42951 + eval $ac_prev=\$ac_option
42952 ac_prev=
42953 continue
42954 fi
42955
42956 - ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
42957 + case $ac_option in
42958 + *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
42959 + *) ac_optarg=yes ;;
42960 + esac
42961
42962 # Accept the important Cygnus configure options, so we can diagnose typos.
42963
42964 - case $ac_option in
42965 + case $ac_dashdash$ac_option in
42966 + --)
42967 + ac_dashdash=yes ;;
42968
42969 -bindir | --bindir | --bindi | --bind | --bin | --bi)
42970 ac_prev=bindir ;;
42971 @@ -386,33 +853,45 @@ do
42972 --config-cache | -C)
42973 cache_file=config.cache ;;
42974
42975 - -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
42976 + -datadir | --datadir | --datadi | --datad)
42977 ac_prev=datadir ;;
42978 - -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
42979 - | --da=*)
42980 + -datadir=* | --datadir=* | --datadi=* | --datad=*)
42981 datadir=$ac_optarg ;;
42982
42983 + -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
42984 + | --dataroo | --dataro | --datar)
42985 + ac_prev=datarootdir ;;
42986 + -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
42987 + | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
42988 + datarootdir=$ac_optarg ;;
42989 +
42990 -disable-* | --disable-*)
42991 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
42992 # Reject names that are not valid shell variable names.
42993 - expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
42994 + expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
42995 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
42996 { (exit 1); exit 1; }; }
42997 - ac_feature=`echo $ac_feature | sed 's/-/_/g'`
42998 - eval "enable_$ac_feature=no" ;;
42999 + ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
43000 + eval enable_$ac_feature=no ;;
43001 +
43002 + -docdir | --docdir | --docdi | --doc | --do)
43003 + ac_prev=docdir ;;
43004 + -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
43005 + docdir=$ac_optarg ;;
43006 +
43007 + -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
43008 + ac_prev=dvidir ;;
43009 + -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
43010 + dvidir=$ac_optarg ;;
43011
43012 -enable-* | --enable-*)
43013 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
43014 # Reject names that are not valid shell variable names.
43015 - expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
43016 + expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
43017 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
43018 { (exit 1); exit 1; }; }
43019 - ac_feature=`echo $ac_feature | sed 's/-/_/g'`
43020 - case $ac_option in
43021 - *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
43022 - *) ac_optarg=yes ;;
43023 - esac
43024 - eval "enable_$ac_feature='$ac_optarg'" ;;
43025 + ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
43026 + eval enable_$ac_feature=\$ac_optarg ;;
43027
43028 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
43029 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
43030 @@ -439,6 +918,12 @@ do
43031 -host=* | --host=* | --hos=* | --ho=*)
43032 host_alias=$ac_optarg ;;
43033
43034 + -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
43035 + ac_prev=htmldir ;;
43036 + -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
43037 + | --ht=*)
43038 + htmldir=$ac_optarg ;;
43039 +
43040 -includedir | --includedir | --includedi | --included | --include \
43041 | --includ | --inclu | --incl | --inc)
43042 ac_prev=includedir ;;
43043 @@ -463,13 +948,16 @@ do
43044 | --libexe=* | --libex=* | --libe=*)
43045 libexecdir=$ac_optarg ;;
43046
43047 + -localedir | --localedir | --localedi | --localed | --locale)
43048 + ac_prev=localedir ;;
43049 + -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
43050 + localedir=$ac_optarg ;;
43051 +
43052 -localstatedir | --localstatedir | --localstatedi | --localstated \
43053 - | --localstate | --localstat | --localsta | --localst \
43054 - | --locals | --local | --loca | --loc | --lo)
43055 + | --localstate | --localstat | --localsta | --localst | --locals)
43056 ac_prev=localstatedir ;;
43057 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
43058 - | --localstate=* | --localstat=* | --localsta=* | --localst=* \
43059 - | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
43060 + | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
43061 localstatedir=$ac_optarg ;;
43062
43063 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
43064 @@ -534,6 +1022,16 @@ do
43065 | --progr-tra=* | --program-tr=* | --program-t=*)
43066 program_transform_name=$ac_optarg ;;
43067
43068 + -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
43069 + ac_prev=pdfdir ;;
43070 + -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
43071 + pdfdir=$ac_optarg ;;
43072 +
43073 + -psdir | --psdir | --psdi | --psd | --ps)
43074 + ac_prev=psdir ;;
43075 + -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
43076 + psdir=$ac_optarg ;;
43077 +
43078 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
43079 | -silent | --silent | --silen | --sile | --sil)
43080 silent=yes ;;
43081 @@ -586,24 +1084,20 @@ do
43082 -with-* | --with-*)
43083 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
43084 # Reject names that are not valid shell variable names.
43085 - expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
43086 + expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
43087 { echo "$as_me: error: invalid package name: $ac_package" >&2
43088 { (exit 1); exit 1; }; }
43089 - ac_package=`echo $ac_package| sed 's/-/_/g'`
43090 - case $ac_option in
43091 - *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
43092 - *) ac_optarg=yes ;;
43093 - esac
43094 - eval "with_$ac_package='$ac_optarg'" ;;
43095 + ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
43096 + eval with_$ac_package=\$ac_optarg ;;
43097
43098 -without-* | --without-*)
43099 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
43100 # Reject names that are not valid shell variable names.
43101 - expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
43102 + expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
43103 { echo "$as_me: error: invalid package name: $ac_package" >&2
43104 { (exit 1); exit 1; }; }
43105 - ac_package=`echo $ac_package | sed 's/-/_/g'`
43106 - eval "with_$ac_package=no" ;;
43107 + ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
43108 + eval with_$ac_package=no ;;
43109
43110 --x)
43111 # Obsolete; use --with-x.
43112 @@ -634,8 +1128,7 @@ Try \`$0 --help' for more information."
43113 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
43114 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
43115 { (exit 1); exit 1; }; }
43116 - ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
43117 - eval "$ac_envvar='$ac_optarg'"
43118 + eval $ac_envvar=\$ac_optarg
43119 export $ac_envvar ;;
43120
43121 *)
43122 @@ -655,27 +1148,19 @@ if test -n "$ac_prev"; then
43123 { (exit 1); exit 1; }; }
43124 fi
43125
43126 -# Be sure to have absolute paths.
43127 -for ac_var in exec_prefix prefix
43128 -do
43129 - eval ac_val=$`echo $ac_var`
43130 - case $ac_val in
43131 - [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
43132 - *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
43133 - { (exit 1); exit 1; }; };;
43134 - esac
43135 -done
43136 -
43137 -# Be sure to have absolute paths.
43138 -for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
43139 - localstatedir libdir includedir oldincludedir infodir mandir
43140 +# Be sure to have absolute directory names.
43141 +for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
43142 + datadir sysconfdir sharedstatedir localstatedir includedir \
43143 + oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
43144 + libdir localedir mandir
43145 do
43146 - eval ac_val=$`echo $ac_var`
43147 + eval ac_val=\$$ac_var
43148 case $ac_val in
43149 - [\\/$]* | ?:[\\/]* ) ;;
43150 - *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
43151 - { (exit 1); exit 1; }; };;
43152 + [\\/$]* | ?:[\\/]* ) continue;;
43153 + NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
43154 esac
43155 + { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
43156 + { (exit 1); exit 1; }; }
43157 done
43158
43159 # There might be people who depend on the old broken behavior: `$host'
43160 @@ -702,74 +1187,76 @@ test -n "$host_alias" && ac_tool_prefix=
43161 test "$silent" = yes && exec 6>/dev/null
43162
43163
43164 +ac_pwd=`pwd` && test -n "$ac_pwd" &&
43165 +ac_ls_di=`ls -di .` &&
43166 +ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
43167 + { echo "$as_me: error: Working directory cannot be determined" >&2
43168 + { (exit 1); exit 1; }; }
43169 +test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
43170 + { echo "$as_me: error: pwd does not report name of working directory" >&2
43171 + { (exit 1); exit 1; }; }
43172 +
43173 +
43174 # Find the source files, if location was not specified.
43175 if test -z "$srcdir"; then
43176 ac_srcdir_defaulted=yes
43177 - # Try the directory containing this script, then its parent.
43178 - ac_confdir=`(dirname "$0") 2>/dev/null ||
43179 + # Try the directory containing this script, then the parent directory.
43180 + ac_confdir=`$as_dirname -- "$0" ||
43181 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
43182 X"$0" : 'X\(//\)[^/]' \| \
43183 X"$0" : 'X\(//\)$' \| \
43184 - X"$0" : 'X\(/\)' \| \
43185 - . : '\(.\)' 2>/dev/null ||
43186 + X"$0" : 'X\(/\)' \| . 2>/dev/null ||
43187 echo X"$0" |
43188 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
43189 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
43190 - /^X\(\/\/\)$/{ s//\1/; q; }
43191 - /^X\(\/\).*/{ s//\1/; q; }
43192 - s/.*/./; q'`
43193 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
43194 + s//\1/
43195 + q
43196 + }
43197 + /^X\(\/\/\)[^/].*/{
43198 + s//\1/
43199 + q
43200 + }
43201 + /^X\(\/\/\)$/{
43202 + s//\1/
43203 + q
43204 + }
43205 + /^X\(\/\).*/{
43206 + s//\1/
43207 + q
43208 + }
43209 + s/.*/./; q'`
43210 srcdir=$ac_confdir
43211 - if test ! -r $srcdir/$ac_unique_file; then
43212 + if test ! -r "$srcdir/$ac_unique_file"; then
43213 srcdir=..
43214 fi
43215 else
43216 ac_srcdir_defaulted=no
43217 fi
43218 -if test ! -r $srcdir/$ac_unique_file; then
43219 - if test "$ac_srcdir_defaulted" = yes; then
43220 - { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
43221 - { (exit 1); exit 1; }; }
43222 - else
43223 - { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
43224 - { (exit 1); exit 1; }; }
43225 - fi
43226 -fi
43227 -(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
43228 - { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
43229 - { (exit 1); exit 1; }; }
43230 -srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
43231 -ac_env_build_alias_set=${build_alias+set}
43232 -ac_env_build_alias_value=$build_alias
43233 -ac_cv_env_build_alias_set=${build_alias+set}
43234 -ac_cv_env_build_alias_value=$build_alias
43235 -ac_env_host_alias_set=${host_alias+set}
43236 -ac_env_host_alias_value=$host_alias
43237 -ac_cv_env_host_alias_set=${host_alias+set}
43238 -ac_cv_env_host_alias_value=$host_alias
43239 -ac_env_target_alias_set=${target_alias+set}
43240 -ac_env_target_alias_value=$target_alias
43241 -ac_cv_env_target_alias_set=${target_alias+set}
43242 -ac_cv_env_target_alias_value=$target_alias
43243 -ac_env_CC_set=${CC+set}
43244 -ac_env_CC_value=$CC
43245 -ac_cv_env_CC_set=${CC+set}
43246 -ac_cv_env_CC_value=$CC
43247 -ac_env_CFLAGS_set=${CFLAGS+set}
43248 -ac_env_CFLAGS_value=$CFLAGS
43249 -ac_cv_env_CFLAGS_set=${CFLAGS+set}
43250 -ac_cv_env_CFLAGS_value=$CFLAGS
43251 -ac_env_LDFLAGS_set=${LDFLAGS+set}
43252 -ac_env_LDFLAGS_value=$LDFLAGS
43253 -ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
43254 -ac_cv_env_LDFLAGS_value=$LDFLAGS
43255 -ac_env_CPPFLAGS_set=${CPPFLAGS+set}
43256 -ac_env_CPPFLAGS_value=$CPPFLAGS
43257 -ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
43258 -ac_cv_env_CPPFLAGS_value=$CPPFLAGS
43259 -ac_env_CPP_set=${CPP+set}
43260 -ac_env_CPP_value=$CPP
43261 -ac_cv_env_CPP_set=${CPP+set}
43262 -ac_cv_env_CPP_value=$CPP
43263 +if test ! -r "$srcdir/$ac_unique_file"; then
43264 + test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
43265 + { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
43266 + { (exit 1); exit 1; }; }
43267 +fi
43268 +ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
43269 +ac_abs_confdir=`(
43270 + cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
43271 + { (exit 1); exit 1; }; }
43272 + pwd)`
43273 +# When building in place, set srcdir=.
43274 +if test "$ac_abs_confdir" = "$ac_pwd"; then
43275 + srcdir=.
43276 +fi
43277 +# Remove unnecessary trailing slashes from srcdir.
43278 +# Double slashes in file names in object file debugging info
43279 +# mess up M-x gdb in Emacs.
43280 +case $srcdir in
43281 +*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
43282 +esac
43283 +for ac_var in $ac_precious_vars; do
43284 + eval ac_env_${ac_var}_set=\${${ac_var}+set}
43285 + eval ac_env_${ac_var}_value=\$${ac_var}
43286 + eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
43287 + eval ac_cv_env_${ac_var}_value=\$${ac_var}
43288 +done
43289
43290 #
43291 # Report the --help message.
43292 @@ -798,9 +1285,6 @@ Configuration:
43293 -n, --no-create do not create output files
43294 --srcdir=DIR find the sources in DIR [configure dir or \`..']
43295
43296 -_ACEOF
43297 -
43298 - cat <<_ACEOF
43299 Installation directories:
43300 --prefix=PREFIX install architecture-independent files in PREFIX
43301 [$ac_default_prefix]
43302 @@ -818,15 +1302,22 @@ Fine tuning of the installation director
43303 --bindir=DIR user executables [EPREFIX/bin]
43304 --sbindir=DIR system admin executables [EPREFIX/sbin]
43305 --libexecdir=DIR program executables [EPREFIX/libexec]
43306 - --datadir=DIR read-only architecture-independent data [PREFIX/share]
43307 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
43308 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
43309 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
43310 --libdir=DIR object code libraries [EPREFIX/lib]
43311 --includedir=DIR C header files [PREFIX/include]
43312 --oldincludedir=DIR C header files for non-gcc [/usr/include]
43313 - --infodir=DIR info documentation [PREFIX/info]
43314 - --mandir=DIR man documentation [PREFIX/man]
43315 + --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
43316 + --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
43317 + --infodir=DIR info documentation [DATAROOTDIR/info]
43318 + --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
43319 + --mandir=DIR man documentation [DATAROOTDIR/man]
43320 + --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
43321 + --htmldir=DIR html documentation [DOCDIR]
43322 + --dvidir=DIR dvi documentation [DOCDIR]
43323 + --pdfdir=DIR pdf documentation [DOCDIR]
43324 + --psdir=DIR ps documentation [DOCDIR]
43325 _ACEOF
43326
43327 cat <<\_ACEOF
43328 @@ -876,126 +1367,100 @@ Some influential environment variables:
43329 CFLAGS C compiler flags
43330 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
43331 nonstandard directory <lib dir>
43332 - CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
43333 - headers in a nonstandard directory <include dir>
43334 + LIBS libraries to pass to the linker, e.g. -l<library>
43335 + CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
43336 + you have headers in a nonstandard directory <include dir>
43337 CPP C preprocessor
43338 + YACC The `Yet Another C Compiler' implementation to use. Defaults to
43339 + the first program found out of: `bison -y', `byacc', `yacc'.
43340 + YFLAGS The list of arguments that will be passed by default to $YACC.
43341 + This script will default YFLAGS to the empty string to avoid a
43342 + default value of `-d' given by some make applications.
43343
43344 Use these variables to override the choices made by `configure' or to help
43345 it to find libraries and programs with nonstandard names/locations.
43346
43347 _ACEOF
43348 +ac_status=$?
43349 fi
43350
43351 if test "$ac_init_help" = "recursive"; then
43352 # If there are subdirs, report their specific --help.
43353 - ac_popdir=`pwd`
43354 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
43355 - test -d $ac_dir || continue
43356 + test -d "$ac_dir" || continue
43357 ac_builddir=.
43358
43359 -if test "$ac_dir" != .; then
43360 +case "$ac_dir" in
43361 +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
43362 +*)
43363 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
43364 - # A "../" for each directory in $ac_dir_suffix.
43365 - ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
43366 -else
43367 - ac_dir_suffix= ac_top_builddir=
43368 -fi
43369 + # A ".." for each directory in $ac_dir_suffix.
43370 + ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
43371 + case $ac_top_builddir_sub in
43372 + "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
43373 + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
43374 + esac ;;
43375 +esac
43376 +ac_abs_top_builddir=$ac_pwd
43377 +ac_abs_builddir=$ac_pwd$ac_dir_suffix
43378 +# for backward compatibility:
43379 +ac_top_builddir=$ac_top_build_prefix
43380
43381 case $srcdir in
43382 - .) # No --srcdir option. We are building in place.
43383 + .) # We are building in place.
43384 ac_srcdir=.
43385 - if test -z "$ac_top_builddir"; then
43386 - ac_top_srcdir=.
43387 - else
43388 - ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
43389 - fi ;;
43390 - [\\/]* | ?:[\\/]* ) # Absolute path.
43391 + ac_top_srcdir=$ac_top_builddir_sub
43392 + ac_abs_top_srcdir=$ac_pwd ;;
43393 + [\\/]* | ?:[\\/]* ) # Absolute name.
43394 ac_srcdir=$srcdir$ac_dir_suffix;
43395 - ac_top_srcdir=$srcdir ;;
43396 - *) # Relative path.
43397 - ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
43398 - ac_top_srcdir=$ac_top_builddir$srcdir ;;
43399 -esac
43400 -
43401 -# Do not use `cd foo && pwd` to compute absolute paths, because
43402 -# the directories may not exist.
43403 -case `pwd` in
43404 -.) ac_abs_builddir="$ac_dir";;
43405 -*)
43406 - case "$ac_dir" in
43407 - .) ac_abs_builddir=`pwd`;;
43408 - [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
43409 - *) ac_abs_builddir=`pwd`/"$ac_dir";;
43410 - esac;;
43411 -esac
43412 -case $ac_abs_builddir in
43413 -.) ac_abs_top_builddir=${ac_top_builddir}.;;
43414 -*)
43415 - case ${ac_top_builddir}. in
43416 - .) ac_abs_top_builddir=$ac_abs_builddir;;
43417 - [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
43418 - *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
43419 - esac;;
43420 -esac
43421 -case $ac_abs_builddir in
43422 -.) ac_abs_srcdir=$ac_srcdir;;
43423 -*)
43424 - case $ac_srcdir in
43425 - .) ac_abs_srcdir=$ac_abs_builddir;;
43426 - [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
43427 - *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
43428 - esac;;
43429 -esac
43430 -case $ac_abs_builddir in
43431 -.) ac_abs_top_srcdir=$ac_top_srcdir;;
43432 -*)
43433 - case $ac_top_srcdir in
43434 - .) ac_abs_top_srcdir=$ac_abs_builddir;;
43435 - [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
43436 - *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
43437 - esac;;
43438 -esac
43439 -
43440 - cd $ac_dir
43441 - # Check for guested configure; otherwise get Cygnus style configure.
43442 - if test -f $ac_srcdir/configure.gnu; then
43443 - echo
43444 - $SHELL $ac_srcdir/configure.gnu --help=recursive
43445 - elif test -f $ac_srcdir/configure; then
43446 - echo
43447 - $SHELL $ac_srcdir/configure --help=recursive
43448 - elif test -f $ac_srcdir/configure.ac ||
43449 - test -f $ac_srcdir/configure.in; then
43450 - echo
43451 - $ac_configure --help
43452 + ac_top_srcdir=$srcdir
43453 + ac_abs_top_srcdir=$srcdir ;;
43454 + *) # Relative name.
43455 + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
43456 + ac_top_srcdir=$ac_top_build_prefix$srcdir
43457 + ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
43458 +esac
43459 +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
43460 +
43461 + cd "$ac_dir" || { ac_status=$?; continue; }
43462 + # Check for guested configure.
43463 + if test -f "$ac_srcdir/configure.gnu"; then
43464 + echo &&
43465 + $SHELL "$ac_srcdir/configure.gnu" --help=recursive
43466 + elif test -f "$ac_srcdir/configure"; then
43467 + echo &&
43468 + $SHELL "$ac_srcdir/configure" --help=recursive
43469 else
43470 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
43471 - fi
43472 - cd $ac_popdir
43473 + fi || ac_status=$?
43474 + cd "$ac_pwd" || { ac_status=$?; break; }
43475 done
43476 fi
43477
43478 -test -n "$ac_init_help" && exit 0
43479 +test -n "$ac_init_help" && exit $ac_status
43480 if $ac_init_version; then
43481 cat <<\_ACEOF
43482 +configure
43483 +generated by GNU Autoconf 2.61
43484
43485 -Copyright (C) 2003 Free Software Foundation, Inc.
43486 +Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
43487 +2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
43488 This configure script is free software; the Free Software Foundation
43489 gives unlimited permission to copy, distribute and modify it.
43490 _ACEOF
43491 - exit 0
43492 + exit
43493 fi
43494 -exec 5>config.log
43495 -cat >&5 <<_ACEOF
43496 +cat >config.log <<_ACEOF
43497 This file contains any messages produced by compilers while
43498 running configure, to aid debugging if configure makes a mistake.
43499
43500 It was created by $as_me, which was
43501 -generated by GNU Autoconf 2.59. Invocation command line was
43502 +generated by GNU Autoconf 2.61. Invocation command line was
43503
43504 $ $0 $@
43505
43506 _ACEOF
43507 +exec 5>>config.log
43508 {
43509 cat <<_ASUNAME
43510 ## --------- ##
43511 @@ -1014,7 +1479,7 @@ uname -v = `(uname -v) 2>/dev/null || ec
43512 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
43513 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
43514 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
43515 -hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
43516 +/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
43517 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
43518 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
43519 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
43520 @@ -1028,6 +1493,7 @@ do
43521 test -z "$as_dir" && as_dir=.
43522 echo "PATH: $as_dir"
43523 done
43524 +IFS=$as_save_IFS
43525
43526 } >&5
43527
43528 @@ -1049,7 +1515,6 @@ _ACEOF
43529 ac_configure_args=
43530 ac_configure_args0=
43531 ac_configure_args1=
43532 -ac_sep=
43533 ac_must_keep_next=false
43534 for ac_pass in 1 2
43535 do
43536 @@ -1060,7 +1525,7 @@ do
43537 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
43538 | -silent | --silent | --silen | --sile | --sil)
43539 continue ;;
43540 - *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
43541 + *\'*)
43542 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
43543 esac
43544 case $ac_pass in
43545 @@ -1082,9 +1547,7 @@ do
43546 -* ) ac_must_keep_next=true ;;
43547 esac
43548 fi
43549 - ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
43550 - # Get rid of the leading space.
43551 - ac_sep=" "
43552 + ac_configure_args="$ac_configure_args '$ac_arg'"
43553 ;;
43554 esac
43555 done
43556 @@ -1095,8 +1558,8 @@ $as_unset ac_configure_args1 || test "${
43557 # When interrupted or exit'd, cleanup temporary files, and complete
43558 # config.log. We remove comments because anyway the quotes in there
43559 # would cause problems or look ugly.
43560 -# WARNING: Be sure not to use single quotes in there, as some shells,
43561 -# such as our DU 5.0 friend, will then `close' the trap.
43562 +# WARNING: Use '\'' to represent an apostrophe within the trap.
43563 +# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
43564 trap 'exit_status=$?
43565 # Save into config.log some information that might help in debugging.
43566 {
43567 @@ -1109,20 +1572,34 @@ trap 'exit_status=$?
43568 _ASBOX
43569 echo
43570 # The following way of writing the cache mishandles newlines in values,
43571 -{
43572 +(
43573 + for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
43574 + eval ac_val=\$$ac_var
43575 + case $ac_val in #(
43576 + *${as_nl}*)
43577 + case $ac_var in #(
43578 + *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
43579 +echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
43580 + esac
43581 + case $ac_var in #(
43582 + _ | IFS | as_nl) ;; #(
43583 + *) $as_unset $ac_var ;;
43584 + esac ;;
43585 + esac
43586 + done
43587 (set) 2>&1 |
43588 - case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
43589 - *ac_space=\ *)
43590 + case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
43591 + *${as_nl}ac_space=\ *)
43592 sed -n \
43593 - "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
43594 - s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
43595 - ;;
43596 + "s/'\''/'\''\\\\'\'''\''/g;
43597 + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
43598 + ;; #(
43599 *)
43600 - sed -n \
43601 - "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
43602 + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
43603 ;;
43604 - esac;
43605 -}
43606 + esac |
43607 + sort
43608 +)
43609 echo
43610
43611 cat <<\_ASBOX
43612 @@ -1133,22 +1610,28 @@ _ASBOX
43613 echo
43614 for ac_var in $ac_subst_vars
43615 do
43616 - eval ac_val=$`echo $ac_var`
43617 - echo "$ac_var='"'"'$ac_val'"'"'"
43618 + eval ac_val=\$$ac_var
43619 + case $ac_val in
43620 + *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
43621 + esac
43622 + echo "$ac_var='\''$ac_val'\''"
43623 done | sort
43624 echo
43625
43626 if test -n "$ac_subst_files"; then
43627 cat <<\_ASBOX
43628 -## ------------- ##
43629 -## Output files. ##
43630 -## ------------- ##
43631 +## ------------------- ##
43632 +## File substitutions. ##
43633 +## ------------------- ##
43634 _ASBOX
43635 echo
43636 for ac_var in $ac_subst_files
43637 do
43638 - eval ac_val=$`echo $ac_var`
43639 - echo "$ac_var='"'"'$ac_val'"'"'"
43640 + eval ac_val=\$$ac_var
43641 + case $ac_val in
43642 + *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
43643 + esac
43644 + echo "$ac_var='\''$ac_val'\''"
43645 done | sort
43646 echo
43647 fi
43648 @@ -1160,26 +1643,24 @@ _ASBOX
43649 ## ----------- ##
43650 _ASBOX
43651 echo
43652 - sed "/^$/d" confdefs.h | sort
43653 + cat confdefs.h
43654 echo
43655 fi
43656 test "$ac_signal" != 0 &&
43657 echo "$as_me: caught signal $ac_signal"
43658 echo "$as_me: exit $exit_status"
43659 } >&5
43660 - rm -f core *.core &&
43661 - rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
43662 + rm -f core *.core core.conftest.* &&
43663 + rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
43664 exit $exit_status
43665 - ' 0
43666 +' 0
43667 for ac_signal in 1 2 13 15; do
43668 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
43669 done
43670 ac_signal=0
43671
43672 # confdefs.h avoids OS command line length limits that DEFS can exceed.
43673 -rm -rf conftest* confdefs.h
43674 -# AIX cpp loses on an empty file, so make sure it contains at least a newline.
43675 -echo >confdefs.h
43676 +rm -f -r conftest* confdefs.h
43677
43678 # Predefined preprocessor variables.
43679
43680 @@ -1210,14 +1691,17 @@ _ACEOF
43681
43682 # Let the site file select an alternate cache file if it wants to.
43683 # Prefer explicitly selected file to automatically selected ones.
43684 -if test -z "$CONFIG_SITE"; then
43685 - if test "x$prefix" != xNONE; then
43686 - CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
43687 - else
43688 - CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
43689 - fi
43690 +if test -n "$CONFIG_SITE"; then
43691 + set x "$CONFIG_SITE"
43692 +elif test "x$prefix" != xNONE; then
43693 + set x "$prefix/share/config.site" "$prefix/etc/config.site"
43694 +else
43695 + set x "$ac_default_prefix/share/config.site" \
43696 + "$ac_default_prefix/etc/config.site"
43697 fi
43698 -for ac_site_file in $CONFIG_SITE; do
43699 +shift
43700 +for ac_site_file
43701 +do
43702 if test -r "$ac_site_file"; then
43703 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
43704 echo "$as_me: loading site script $ac_site_file" >&6;}
43705 @@ -1233,8 +1717,8 @@ if test -r "$cache_file"; then
43706 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
43707 echo "$as_me: loading cache $cache_file" >&6;}
43708 case $cache_file in
43709 - [\\/]* | ?:[\\/]* ) . $cache_file;;
43710 - *) . ./$cache_file;;
43711 + [\\/]* | ?:[\\/]* ) . "$cache_file";;
43712 + *) . "./$cache_file";;
43713 esac
43714 fi
43715 else
43716 @@ -1246,12 +1730,11 @@ fi
43717 # Check that the precious variables saved in the cache have kept the same
43718 # value.
43719 ac_cache_corrupted=false
43720 -for ac_var in `(set) 2>&1 |
43721 - sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
43722 +for ac_var in $ac_precious_vars; do
43723 eval ac_old_set=\$ac_cv_env_${ac_var}_set
43724 eval ac_new_set=\$ac_env_${ac_var}_set
43725 - eval ac_old_val="\$ac_cv_env_${ac_var}_value"
43726 - eval ac_new_val="\$ac_env_${ac_var}_value"
43727 + eval ac_old_val=\$ac_cv_env_${ac_var}_value
43728 + eval ac_new_val=\$ac_env_${ac_var}_value
43729 case $ac_old_set,$ac_new_set in
43730 set,)
43731 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
43732 @@ -1276,8 +1759,7 @@ echo "$as_me: current value: $ac_new_v
43733 # Pass precious variables to config.status.
43734 if test "$ac_new_set" = set; then
43735 case $ac_new_val in
43736 - *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
43737 - ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
43738 + *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
43739 *) ac_arg=$ac_var=$ac_new_val ;;
43740 esac
43741 case " $ac_configure_args " in
43742 @@ -1294,12 +1776,6 @@ echo "$as_me: error: run \`make distclea
43743 { (exit 1); exit 1; }; }
43744 fi
43745
43746 -ac_ext=c
43747 -ac_cpp='$CPP $CPPFLAGS'
43748 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43749 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43750 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
43751 -
43752
43753
43754
43755 @@ -1316,108 +1792,163 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
43756
43757
43758
43759 +ac_ext=c
43760 +ac_cpp='$CPP $CPPFLAGS'
43761 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43762 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43763 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
43764
43765
43766
43767 ac_aux_dir=
43768 -for ac_dir in .. $srcdir/..; do
43769 - if test -f $ac_dir/install-sh; then
43770 +for ac_dir in .. "$srcdir"/..; do
43771 + if test -f "$ac_dir/install-sh"; then
43772 ac_aux_dir=$ac_dir
43773 ac_install_sh="$ac_aux_dir/install-sh -c"
43774 break
43775 - elif test -f $ac_dir/install.sh; then
43776 + elif test -f "$ac_dir/install.sh"; then
43777 ac_aux_dir=$ac_dir
43778 ac_install_sh="$ac_aux_dir/install.sh -c"
43779 break
43780 - elif test -f $ac_dir/shtool; then
43781 + elif test -f "$ac_dir/shtool"; then
43782 ac_aux_dir=$ac_dir
43783 ac_install_sh="$ac_aux_dir/shtool install -c"
43784 break
43785 fi
43786 done
43787 if test -z "$ac_aux_dir"; then
43788 - { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in .. $srcdir/.." >&5
43789 -echo "$as_me: error: cannot find install-sh or install.sh in .. $srcdir/.." >&2;}
43790 + { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in .. \"$srcdir\"/.." >&5
43791 +echo "$as_me: error: cannot find install-sh or install.sh in .. \"$srcdir\"/.." >&2;}
43792 { (exit 1); exit 1; }; }
43793 fi
43794 -ac_config_guess="$SHELL $ac_aux_dir/config.guess"
43795 -ac_config_sub="$SHELL $ac_aux_dir/config.sub"
43796 -ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
43797 +
43798 +# These three variables are undocumented and unsupported,
43799 +# and are intended to be withdrawn in a future Autoconf release.
43800 +# They can cause serious problems if a builder's source tree is in a directory
43801 +# whose full name contains unusual characters.
43802 +ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
43803 +ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
43804 +ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
43805 +
43806
43807 # Make sure we can run config.sub.
43808 -$ac_config_sub sun4 >/dev/null 2>&1 ||
43809 - { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
43810 -echo "$as_me: error: cannot run $ac_config_sub" >&2;}
43811 +$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
43812 + { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
43813 +echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
43814 { (exit 1); exit 1; }; }
43815
43816 -echo "$as_me:$LINENO: checking build system type" >&5
43817 -echo $ECHO_N "checking build system type... $ECHO_C" >&6
43818 +{ echo "$as_me:$LINENO: checking build system type" >&5
43819 +echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
43820 if test "${ac_cv_build+set}" = set; then
43821 echo $ECHO_N "(cached) $ECHO_C" >&6
43822 else
43823 - ac_cv_build_alias=$build_alias
43824 -test -z "$ac_cv_build_alias" &&
43825 - ac_cv_build_alias=`$ac_config_guess`
43826 -test -z "$ac_cv_build_alias" &&
43827 + ac_build_alias=$build_alias
43828 +test "x$ac_build_alias" = x &&
43829 + ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
43830 +test "x$ac_build_alias" = x &&
43831 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
43832 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
43833 { (exit 1); exit 1; }; }
43834 -ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
43835 - { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
43836 -echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
43837 +ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
43838 + { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
43839 +echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
43840 { (exit 1); exit 1; }; }
43841
43842 fi
43843 -echo "$as_me:$LINENO: result: $ac_cv_build" >&5
43844 -echo "${ECHO_T}$ac_cv_build" >&6
43845 +{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
43846 +echo "${ECHO_T}$ac_cv_build" >&6; }
43847 +case $ac_cv_build in
43848 +*-*-*) ;;
43849 +*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
43850 +echo "$as_me: error: invalid value of canonical build" >&2;}
43851 + { (exit 1); exit 1; }; };;
43852 +esac
43853 build=$ac_cv_build
43854 -build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
43855 -build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
43856 -build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
43857 +ac_save_IFS=$IFS; IFS='-'
43858 +set x $ac_cv_build
43859 +shift
43860 +build_cpu=$1
43861 +build_vendor=$2
43862 +shift; shift
43863 +# Remember, the first character of IFS is used to create $*,
43864 +# except with old shells:
43865 +build_os=$*
43866 +IFS=$ac_save_IFS
43867 +case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
43868
43869
43870 -echo "$as_me:$LINENO: checking host system type" >&5
43871 -echo $ECHO_N "checking host system type... $ECHO_C" >&6
43872 +{ echo "$as_me:$LINENO: checking host system type" >&5
43873 +echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
43874 if test "${ac_cv_host+set}" = set; then
43875 echo $ECHO_N "(cached) $ECHO_C" >&6
43876 else
43877 - ac_cv_host_alias=$host_alias
43878 -test -z "$ac_cv_host_alias" &&
43879 - ac_cv_host_alias=$ac_cv_build_alias
43880 -ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
43881 - { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
43882 -echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
43883 + if test "x$host_alias" = x; then
43884 + ac_cv_host=$ac_cv_build
43885 +else
43886 + ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
43887 + { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
43888 +echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
43889 { (exit 1); exit 1; }; }
43890 +fi
43891
43892 fi
43893 -echo "$as_me:$LINENO: result: $ac_cv_host" >&5
43894 -echo "${ECHO_T}$ac_cv_host" >&6
43895 +{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
43896 +echo "${ECHO_T}$ac_cv_host" >&6; }
43897 +case $ac_cv_host in
43898 +*-*-*) ;;
43899 +*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
43900 +echo "$as_me: error: invalid value of canonical host" >&2;}
43901 + { (exit 1); exit 1; }; };;
43902 +esac
43903 host=$ac_cv_host
43904 -host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
43905 -host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
43906 -host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
43907 +ac_save_IFS=$IFS; IFS='-'
43908 +set x $ac_cv_host
43909 +shift
43910 +host_cpu=$1
43911 +host_vendor=$2
43912 +shift; shift
43913 +# Remember, the first character of IFS is used to create $*,
43914 +# except with old shells:
43915 +host_os=$*
43916 +IFS=$ac_save_IFS
43917 +case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
43918
43919
43920 -echo "$as_me:$LINENO: checking target system type" >&5
43921 -echo $ECHO_N "checking target system type... $ECHO_C" >&6
43922 +{ echo "$as_me:$LINENO: checking target system type" >&5
43923 +echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
43924 if test "${ac_cv_target+set}" = set; then
43925 echo $ECHO_N "(cached) $ECHO_C" >&6
43926 else
43927 - ac_cv_target_alias=$target_alias
43928 -test "x$ac_cv_target_alias" = "x" &&
43929 - ac_cv_target_alias=$ac_cv_host_alias
43930 -ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
43931 - { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
43932 -echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
43933 + if test "x$target_alias" = x; then
43934 + ac_cv_target=$ac_cv_host
43935 +else
43936 + ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
43937 + { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
43938 +echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
43939 { (exit 1); exit 1; }; }
43940 +fi
43941
43942 fi
43943 -echo "$as_me:$LINENO: result: $ac_cv_target" >&5
43944 -echo "${ECHO_T}$ac_cv_target" >&6
43945 +{ echo "$as_me:$LINENO: result: $ac_cv_target" >&5
43946 +echo "${ECHO_T}$ac_cv_target" >&6; }
43947 +case $ac_cv_target in
43948 +*-*-*) ;;
43949 +*) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
43950 +echo "$as_me: error: invalid value of canonical target" >&2;}
43951 + { (exit 1); exit 1; }; };;
43952 +esac
43953 target=$ac_cv_target
43954 -target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
43955 -target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
43956 -target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
43957 +ac_save_IFS=$IFS; IFS='-'
43958 +set x $ac_cv_target
43959 +shift
43960 +target_cpu=$1
43961 +target_vendor=$2
43962 +shift; shift
43963 +# Remember, the first character of IFS is used to create $*,
43964 +# except with old shells:
43965 +target_os=$*
43966 +IFS=$ac_save_IFS
43967 +case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
43968
43969
43970 # The aliases save the names the user supplied, while $host etc.
43971 @@ -1434,8 +1965,8 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
43972 if test -n "$ac_tool_prefix"; then
43973 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
43974 set dummy ${ac_tool_prefix}gcc; ac_word=$2
43975 -echo "$as_me:$LINENO: checking for $ac_word" >&5
43976 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43977 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
43978 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
43979 if test "${ac_cv_prog_CC+set}" = set; then
43980 echo $ECHO_N "(cached) $ECHO_C" >&6
43981 else
43982 @@ -1448,32 +1979,34 @@ do
43983 IFS=$as_save_IFS
43984 test -z "$as_dir" && as_dir=.
43985 for ac_exec_ext in '' $ac_executable_extensions; do
43986 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43987 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
43988 ac_cv_prog_CC="${ac_tool_prefix}gcc"
43989 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43990 break 2
43991 fi
43992 done
43993 done
43994 +IFS=$as_save_IFS
43995
43996 fi
43997 fi
43998 CC=$ac_cv_prog_CC
43999 if test -n "$CC"; then
44000 - echo "$as_me:$LINENO: result: $CC" >&5
44001 -echo "${ECHO_T}$CC" >&6
44002 + { echo "$as_me:$LINENO: result: $CC" >&5
44003 +echo "${ECHO_T}$CC" >&6; }
44004 else
44005 - echo "$as_me:$LINENO: result: no" >&5
44006 -echo "${ECHO_T}no" >&6
44007 + { echo "$as_me:$LINENO: result: no" >&5
44008 +echo "${ECHO_T}no" >&6; }
44009 fi
44010
44011 +
44012 fi
44013 if test -z "$ac_cv_prog_CC"; then
44014 ac_ct_CC=$CC
44015 # Extract the first word of "gcc", so it can be a program name with args.
44016 set dummy gcc; ac_word=$2
44017 -echo "$as_me:$LINENO: checking for $ac_word" >&5
44018 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
44019 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
44020 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44021 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
44022 echo $ECHO_N "(cached) $ECHO_C" >&6
44023 else
44024 @@ -1486,36 +2019,51 @@ do
44025 IFS=$as_save_IFS
44026 test -z "$as_dir" && as_dir=.
44027 for ac_exec_ext in '' $ac_executable_extensions; do
44028 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
44029 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44030 ac_cv_prog_ac_ct_CC="gcc"
44031 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44032 break 2
44033 fi
44034 done
44035 done
44036 +IFS=$as_save_IFS
44037
44038 fi
44039 fi
44040 ac_ct_CC=$ac_cv_prog_ac_ct_CC
44041 if test -n "$ac_ct_CC"; then
44042 - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
44043 -echo "${ECHO_T}$ac_ct_CC" >&6
44044 + { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
44045 +echo "${ECHO_T}$ac_ct_CC" >&6; }
44046 else
44047 - echo "$as_me:$LINENO: result: no" >&5
44048 -echo "${ECHO_T}no" >&6
44049 + { echo "$as_me:$LINENO: result: no" >&5
44050 +echo "${ECHO_T}no" >&6; }
44051 fi
44052
44053 - CC=$ac_ct_CC
44054 + if test "x$ac_ct_CC" = x; then
44055 + CC=""
44056 + else
44057 + case $cross_compiling:$ac_tool_warned in
44058 +yes:)
44059 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
44060 +whose name does not start with the host triplet. If you think this
44061 +configuration is useful to you, please write to autoconf@gnu.org." >&5
44062 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
44063 +whose name does not start with the host triplet. If you think this
44064 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
44065 +ac_tool_warned=yes ;;
44066 +esac
44067 + CC=$ac_ct_CC
44068 + fi
44069 else
44070 CC="$ac_cv_prog_CC"
44071 fi
44072
44073 if test -z "$CC"; then
44074 - if test -n "$ac_tool_prefix"; then
44075 - # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
44076 + if test -n "$ac_tool_prefix"; then
44077 + # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
44078 set dummy ${ac_tool_prefix}cc; ac_word=$2
44079 -echo "$as_me:$LINENO: checking for $ac_word" >&5
44080 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
44081 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
44082 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44083 if test "${ac_cv_prog_CC+set}" = set; then
44084 echo $ECHO_N "(cached) $ECHO_C" >&6
44085 else
44086 @@ -1528,74 +2076,34 @@ do
44087 IFS=$as_save_IFS
44088 test -z "$as_dir" && as_dir=.
44089 for ac_exec_ext in '' $ac_executable_extensions; do
44090 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
44091 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44092 ac_cv_prog_CC="${ac_tool_prefix}cc"
44093 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44094 break 2
44095 fi
44096 done
44097 done
44098 +IFS=$as_save_IFS
44099
44100 fi
44101 fi
44102 CC=$ac_cv_prog_CC
44103 if test -n "$CC"; then
44104 - echo "$as_me:$LINENO: result: $CC" >&5
44105 -echo "${ECHO_T}$CC" >&6
44106 -else
44107 - echo "$as_me:$LINENO: result: no" >&5
44108 -echo "${ECHO_T}no" >&6
44109 -fi
44110 -
44111 -fi
44112 -if test -z "$ac_cv_prog_CC"; then
44113 - ac_ct_CC=$CC
44114 - # Extract the first word of "cc", so it can be a program name with args.
44115 -set dummy cc; ac_word=$2
44116 -echo "$as_me:$LINENO: checking for $ac_word" >&5
44117 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
44118 -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
44119 - echo $ECHO_N "(cached) $ECHO_C" >&6
44120 -else
44121 - if test -n "$ac_ct_CC"; then
44122 - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
44123 -else
44124 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44125 -for as_dir in $PATH
44126 -do
44127 - IFS=$as_save_IFS
44128 - test -z "$as_dir" && as_dir=.
44129 - for ac_exec_ext in '' $ac_executable_extensions; do
44130 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
44131 - ac_cv_prog_ac_ct_CC="cc"
44132 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44133 - break 2
44134 - fi
44135 -done
44136 -done
44137 -
44138 -fi
44139 -fi
44140 -ac_ct_CC=$ac_cv_prog_ac_ct_CC
44141 -if test -n "$ac_ct_CC"; then
44142 - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
44143 -echo "${ECHO_T}$ac_ct_CC" >&6
44144 + { echo "$as_me:$LINENO: result: $CC" >&5
44145 +echo "${ECHO_T}$CC" >&6; }
44146 else
44147 - echo "$as_me:$LINENO: result: no" >&5
44148 -echo "${ECHO_T}no" >&6
44149 + { echo "$as_me:$LINENO: result: no" >&5
44150 +echo "${ECHO_T}no" >&6; }
44151 fi
44152
44153 - CC=$ac_ct_CC
44154 -else
44155 - CC="$ac_cv_prog_CC"
44156 -fi
44157
44158 + fi
44159 fi
44160 if test -z "$CC"; then
44161 # Extract the first word of "cc", so it can be a program name with args.
44162 set dummy cc; ac_word=$2
44163 -echo "$as_me:$LINENO: checking for $ac_word" >&5
44164 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
44165 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
44166 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44167 if test "${ac_cv_prog_CC+set}" = set; then
44168 echo $ECHO_N "(cached) $ECHO_C" >&6
44169 else
44170 @@ -1609,7 +2117,7 @@ do
44171 IFS=$as_save_IFS
44172 test -z "$as_dir" && as_dir=.
44173 for ac_exec_ext in '' $ac_executable_extensions; do
44174 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
44175 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44176 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
44177 ac_prog_rejected=yes
44178 continue
44179 @@ -1620,6 +2128,7 @@ do
44180 fi
44181 done
44182 done
44183 +IFS=$as_save_IFS
44184
44185 if test $ac_prog_rejected = yes; then
44186 # We found a bogon in the path, so make sure we never use it.
44187 @@ -1637,22 +2146,23 @@ fi
44188 fi
44189 CC=$ac_cv_prog_CC
44190 if test -n "$CC"; then
44191 - echo "$as_me:$LINENO: result: $CC" >&5
44192 -echo "${ECHO_T}$CC" >&6
44193 + { echo "$as_me:$LINENO: result: $CC" >&5
44194 +echo "${ECHO_T}$CC" >&6; }
44195 else
44196 - echo "$as_me:$LINENO: result: no" >&5
44197 -echo "${ECHO_T}no" >&6
44198 + { echo "$as_me:$LINENO: result: no" >&5
44199 +echo "${ECHO_T}no" >&6; }
44200 fi
44201
44202 +
44203 fi
44204 if test -z "$CC"; then
44205 if test -n "$ac_tool_prefix"; then
44206 - for ac_prog in cl
44207 + for ac_prog in cl.exe
44208 do
44209 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
44210 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
44211 -echo "$as_me:$LINENO: checking for $ac_word" >&5
44212 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
44213 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
44214 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44215 if test "${ac_cv_prog_CC+set}" = set; then
44216 echo $ECHO_N "(cached) $ECHO_C" >&6
44217 else
44218 @@ -1665,36 +2175,38 @@ do
44219 IFS=$as_save_IFS
44220 test -z "$as_dir" && as_dir=.
44221 for ac_exec_ext in '' $ac_executable_extensions; do
44222 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
44223 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44224 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
44225 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44226 break 2
44227 fi
44228 done
44229 done
44230 +IFS=$as_save_IFS
44231
44232 fi
44233 fi
44234 CC=$ac_cv_prog_CC
44235 if test -n "$CC"; then
44236 - echo "$as_me:$LINENO: result: $CC" >&5
44237 -echo "${ECHO_T}$CC" >&6
44238 + { echo "$as_me:$LINENO: result: $CC" >&5
44239 +echo "${ECHO_T}$CC" >&6; }
44240 else
44241 - echo "$as_me:$LINENO: result: no" >&5
44242 -echo "${ECHO_T}no" >&6
44243 + { echo "$as_me:$LINENO: result: no" >&5
44244 +echo "${ECHO_T}no" >&6; }
44245 fi
44246
44247 +
44248 test -n "$CC" && break
44249 done
44250 fi
44251 if test -z "$CC"; then
44252 ac_ct_CC=$CC
44253 - for ac_prog in cl
44254 + for ac_prog in cl.exe
44255 do
44256 # Extract the first word of "$ac_prog", so it can be a program name with args.
44257 set dummy $ac_prog; ac_word=$2
44258 -echo "$as_me:$LINENO: checking for $ac_word" >&5
44259 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
44260 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
44261 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44262 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
44263 echo $ECHO_N "(cached) $ECHO_C" >&6
44264 else
44265 @@ -1707,29 +2219,45 @@ do
44266 IFS=$as_save_IFS
44267 test -z "$as_dir" && as_dir=.
44268 for ac_exec_ext in '' $ac_executable_extensions; do
44269 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
44270 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44271 ac_cv_prog_ac_ct_CC="$ac_prog"
44272 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44273 break 2
44274 fi
44275 done
44276 done
44277 +IFS=$as_save_IFS
44278
44279 fi
44280 fi
44281 ac_ct_CC=$ac_cv_prog_ac_ct_CC
44282 if test -n "$ac_ct_CC"; then
44283 - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
44284 -echo "${ECHO_T}$ac_ct_CC" >&6
44285 + { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
44286 +echo "${ECHO_T}$ac_ct_CC" >&6; }
44287 else
44288 - echo "$as_me:$LINENO: result: no" >&5
44289 -echo "${ECHO_T}no" >&6
44290 + { echo "$as_me:$LINENO: result: no" >&5
44291 +echo "${ECHO_T}no" >&6; }
44292 fi
44293
44294 +
44295 test -n "$ac_ct_CC" && break
44296 done
44297
44298 - CC=$ac_ct_CC
44299 + if test "x$ac_ct_CC" = x; then
44300 + CC=""
44301 + else
44302 + case $cross_compiling:$ac_tool_warned in
44303 +yes:)
44304 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
44305 +whose name does not start with the host triplet. If you think this
44306 +configuration is useful to you, please write to autoconf@gnu.org." >&5
44307 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
44308 +whose name does not start with the host triplet. If you think this
44309 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
44310 +ac_tool_warned=yes ;;
44311 +esac
44312 + CC=$ac_ct_CC
44313 + fi
44314 fi
44315
44316 fi
44317 @@ -1742,21 +2270,35 @@ See \`config.log' for more details." >&2
44318 { (exit 1); exit 1; }; }
44319
44320 # Provide some information about the compiler.
44321 -echo "$as_me:$LINENO:" \
44322 - "checking for C compiler version" >&5
44323 +echo "$as_me:$LINENO: checking for C compiler version" >&5
44324 ac_compiler=`set X $ac_compile; echo $2`
44325 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
44326 - (eval $ac_compiler --version </dev/null >&5) 2>&5
44327 +{ (ac_try="$ac_compiler --version >&5"
44328 +case "(($ac_try" in
44329 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44330 + *) ac_try_echo=$ac_try;;
44331 +esac
44332 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44333 + (eval "$ac_compiler --version >&5") 2>&5
44334 ac_status=$?
44335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44336 (exit $ac_status); }
44337 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
44338 - (eval $ac_compiler -v </dev/null >&5) 2>&5
44339 +{ (ac_try="$ac_compiler -v >&5"
44340 +case "(($ac_try" in
44341 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44342 + *) ac_try_echo=$ac_try;;
44343 +esac
44344 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44345 + (eval "$ac_compiler -v >&5") 2>&5
44346 ac_status=$?
44347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44348 (exit $ac_status); }
44349 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
44350 - (eval $ac_compiler -V </dev/null >&5) 2>&5
44351 +{ (ac_try="$ac_compiler -V >&5"
44352 +case "(($ac_try" in
44353 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44354 + *) ac_try_echo=$ac_try;;
44355 +esac
44356 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44357 + (eval "$ac_compiler -V >&5") 2>&5
44358 ac_status=$?
44359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44360 (exit $ac_status); }
44361 @@ -1781,47 +2323,77 @@ ac_clean_files="$ac_clean_files a.out a.
44362 # Try to create an executable without -o first, disregard a.out.
44363 # It will help us diagnose broken compilers, and finding out an intuition
44364 # of exeext.
44365 -echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
44366 -echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
44367 +{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
44368 +echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
44369 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
44370 -if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
44371 - (eval $ac_link_default) 2>&5
44372 +#
44373 +# List of possible output files, starting from the most likely.
44374 +# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
44375 +# only as a last resort. b.out is created by i960 compilers.
44376 +ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
44377 +#
44378 +# The IRIX 6 linker writes into existing files which may not be
44379 +# executable, retaining their permissions. Remove them first so a
44380 +# subsequent execution test works.
44381 +ac_rmfiles=
44382 +for ac_file in $ac_files
44383 +do
44384 + case $ac_file in
44385 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
44386 + * ) ac_rmfiles="$ac_rmfiles $ac_file";;
44387 + esac
44388 +done
44389 +rm -f $ac_rmfiles
44390 +
44391 +if { (ac_try="$ac_link_default"
44392 +case "(($ac_try" in
44393 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44394 + *) ac_try_echo=$ac_try;;
44395 +esac
44396 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44397 + (eval "$ac_link_default") 2>&5
44398 ac_status=$?
44399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44400 (exit $ac_status); }; then
44401 - # Find the output, starting from the most likely. This scheme is
44402 -# not robust to junk in `.', hence go to wildcards (a.*) only as a last
44403 -# resort.
44404 -
44405 -# Be careful to initialize this variable, since it used to be cached.
44406 -# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
44407 -ac_cv_exeext=
44408 -# b.out is created by i960 compilers.
44409 -for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
44410 + # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
44411 +# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
44412 +# in a Makefile. We should not override ac_cv_exeext if it was cached,
44413 +# so that the user can short-circuit this test for compilers unknown to
44414 +# Autoconf.
44415 +for ac_file in $ac_files ''
44416 do
44417 test -f "$ac_file" || continue
44418 case $ac_file in
44419 - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
44420 - ;;
44421 - conftest.$ac_ext )
44422 - # This is the source file.
44423 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
44424 ;;
44425 [ab].out )
44426 # We found the default executable, but exeext='' is most
44427 # certainly right.
44428 break;;
44429 *.* )
44430 - ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
44431 - # FIXME: I believe we export ac_cv_exeext for Libtool,
44432 - # but it would be cool to find out if it's true. Does anybody
44433 - # maintain Libtool? --akim.
44434 - export ac_cv_exeext
44435 + if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
44436 + then :; else
44437 + ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
44438 + fi
44439 + # We set ac_cv_exeext here because the later test for it is not
44440 + # safe: cross compilers may not add the suffix if given an `-o'
44441 + # argument, so we may need to know it at that point already.
44442 + # Even if this section looks crufty: it has the advantage of
44443 + # actually working.
44444 break;;
44445 * )
44446 break;;
44447 esac
44448 done
44449 +test "$ac_cv_exeext" = no && ac_cv_exeext=
44450 +
44451 else
44452 + ac_file=''
44453 +fi
44454 +
44455 +{ echo "$as_me:$LINENO: result: $ac_file" >&5
44456 +echo "${ECHO_T}$ac_file" >&6; }
44457 +if test -z "$ac_file"; then
44458 echo "$as_me: failed program was:" >&5
44459 sed 's/^/| /' conftest.$ac_ext >&5
44460
44461 @@ -1833,19 +2405,21 @@ See \`config.log' for more details." >&2
44462 fi
44463
44464 ac_exeext=$ac_cv_exeext
44465 -echo "$as_me:$LINENO: result: $ac_file" >&5
44466 -echo "${ECHO_T}$ac_file" >&6
44467
44468 -# Check the compiler produces executables we can run. If not, either
44469 +# Check that the compiler produces executables we can run. If not, either
44470 # the compiler is broken, or we cross compile.
44471 -echo "$as_me:$LINENO: checking whether the C compiler works" >&5
44472 -echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
44473 +{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
44474 +echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
44475 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
44476 # If not cross compiling, check that we can run a simple program.
44477 if test "$cross_compiling" != yes; then
44478 if { ac_try='./$ac_file'
44479 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44480 - (eval $ac_try) 2>&5
44481 + { (case "(($ac_try" in
44482 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44483 + *) ac_try_echo=$ac_try;;
44484 +esac
44485 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44486 + (eval "$ac_try") 2>&5
44487 ac_status=$?
44488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44489 (exit $ac_status); }; }; then
44490 @@ -1864,22 +2438,27 @@ See \`config.log' for more details." >&2
44491 fi
44492 fi
44493 fi
44494 -echo "$as_me:$LINENO: result: yes" >&5
44495 -echo "${ECHO_T}yes" >&6
44496 +{ echo "$as_me:$LINENO: result: yes" >&5
44497 +echo "${ECHO_T}yes" >&6; }
44498
44499 rm -f a.out a.exe conftest$ac_cv_exeext b.out
44500 ac_clean_files=$ac_clean_files_save
44501 -# Check the compiler produces executables we can run. If not, either
44502 +# Check that the compiler produces executables we can run. If not, either
44503 # the compiler is broken, or we cross compile.
44504 -echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
44505 -echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
44506 -echo "$as_me:$LINENO: result: $cross_compiling" >&5
44507 -echo "${ECHO_T}$cross_compiling" >&6
44508 -
44509 -echo "$as_me:$LINENO: checking for suffix of executables" >&5
44510 -echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
44511 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44512 - (eval $ac_link) 2>&5
44513 +{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
44514 +echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
44515 +{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
44516 +echo "${ECHO_T}$cross_compiling" >&6; }
44517 +
44518 +{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
44519 +echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
44520 +if { (ac_try="$ac_link"
44521 +case "(($ac_try" in
44522 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44523 + *) ac_try_echo=$ac_try;;
44524 +esac
44525 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44526 + (eval "$ac_link") 2>&5
44527 ac_status=$?
44528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44529 (exit $ac_status); }; then
44530 @@ -1890,9 +2469,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_l
44531 for ac_file in conftest.exe conftest conftest.*; do
44532 test -f "$ac_file" || continue
44533 case $ac_file in
44534 - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
44535 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
44536 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
44537 - export ac_cv_exeext
44538 break;;
44539 * ) break;;
44540 esac
44541 @@ -1906,14 +2484,14 @@ See \`config.log' for more details." >&2
44542 fi
44543
44544 rm -f conftest$ac_cv_exeext
44545 -echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
44546 -echo "${ECHO_T}$ac_cv_exeext" >&6
44547 +{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
44548 +echo "${ECHO_T}$ac_cv_exeext" >&6; }
44549
44550 rm -f conftest.$ac_ext
44551 EXEEXT=$ac_cv_exeext
44552 ac_exeext=$EXEEXT
44553 -echo "$as_me:$LINENO: checking for suffix of object files" >&5
44554 -echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
44555 +{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
44556 +echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
44557 if test "${ac_cv_objext+set}" = set; then
44558 echo $ECHO_N "(cached) $ECHO_C" >&6
44559 else
44560 @@ -1933,14 +2511,20 @@ main ()
44561 }
44562 _ACEOF
44563 rm -f conftest.o conftest.obj
44564 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44565 - (eval $ac_compile) 2>&5
44566 +if { (ac_try="$ac_compile"
44567 +case "(($ac_try" in
44568 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44569 + *) ac_try_echo=$ac_try;;
44570 +esac
44571 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44572 + (eval "$ac_compile") 2>&5
44573 ac_status=$?
44574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44575 (exit $ac_status); }; then
44576 - for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
44577 + for ac_file in conftest.o conftest.obj conftest.*; do
44578 + test -f "$ac_file" || continue;
44579 case $ac_file in
44580 - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
44581 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
44582 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
44583 break;;
44584 esac
44585 @@ -1958,12 +2542,12 @@ fi
44586
44587 rm -f conftest.$ac_cv_objext conftest.$ac_ext
44588 fi
44589 -echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
44590 -echo "${ECHO_T}$ac_cv_objext" >&6
44591 +{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
44592 +echo "${ECHO_T}$ac_cv_objext" >&6; }
44593 OBJEXT=$ac_cv_objext
44594 ac_objext=$OBJEXT
44595 -echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
44596 -echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
44597 +{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
44598 +echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
44599 if test "${ac_cv_c_compiler_gnu+set}" = set; then
44600 echo $ECHO_N "(cached) $ECHO_C" >&6
44601 else
44602 @@ -1986,50 +2570,49 @@ main ()
44603 }
44604 _ACEOF
44605 rm -f conftest.$ac_objext
44606 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44607 - (eval $ac_compile) 2>conftest.er1
44608 +if { (ac_try="$ac_compile"
44609 +case "(($ac_try" in
44610 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44611 + *) ac_try_echo=$ac_try;;
44612 +esac
44613 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44614 + (eval "$ac_compile") 2>conftest.er1
44615 ac_status=$?
44616 grep -v '^ *+' conftest.er1 >conftest.err
44617 rm -f conftest.er1
44618 cat conftest.err >&5
44619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44620 - (exit $ac_status); } &&
44621 - { ac_try='test -z "$ac_c_werror_flag"
44622 - || test ! -s conftest.err'
44623 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44624 - (eval $ac_try) 2>&5
44625 - ac_status=$?
44626 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
44627 - (exit $ac_status); }; } &&
44628 - { ac_try='test -s conftest.$ac_objext'
44629 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44630 - (eval $ac_try) 2>&5
44631 - ac_status=$?
44632 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
44633 - (exit $ac_status); }; }; then
44634 + (exit $ac_status); } && {
44635 + test -z "$ac_c_werror_flag" ||
44636 + test ! -s conftest.err
44637 + } && test -s conftest.$ac_objext; then
44638 ac_compiler_gnu=yes
44639 else
44640 echo "$as_me: failed program was:" >&5
44641 sed 's/^/| /' conftest.$ac_ext >&5
44642
44643 -ac_compiler_gnu=no
44644 + ac_compiler_gnu=no
44645 fi
44646 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44647 +
44648 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44649 ac_cv_c_compiler_gnu=$ac_compiler_gnu
44650
44651 fi
44652 -echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
44653 -echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
44654 +{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
44655 +echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
44656 GCC=`test $ac_compiler_gnu = yes && echo yes`
44657 ac_test_CFLAGS=${CFLAGS+set}
44658 ac_save_CFLAGS=$CFLAGS
44659 -CFLAGS="-g"
44660 -echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
44661 -echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
44662 +{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
44663 +echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
44664 if test "${ac_cv_prog_cc_g+set}" = set; then
44665 echo $ECHO_N "(cached) $ECHO_C" >&6
44666 else
44667 - cat >conftest.$ac_ext <<_ACEOF
44668 + ac_save_c_werror_flag=$ac_c_werror_flag
44669 + ac_c_werror_flag=yes
44670 + ac_cv_prog_cc_g=no
44671 + CFLAGS="-g"
44672 + cat >conftest.$ac_ext <<_ACEOF
44673 /* confdefs.h. */
44674 _ACEOF
44675 cat confdefs.h >>conftest.$ac_ext
44676 @@ -2045,38 +2628,118 @@ main ()
44677 }
44678 _ACEOF
44679 rm -f conftest.$ac_objext
44680 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44681 - (eval $ac_compile) 2>conftest.er1
44682 +if { (ac_try="$ac_compile"
44683 +case "(($ac_try" in
44684 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44685 + *) ac_try_echo=$ac_try;;
44686 +esac
44687 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44688 + (eval "$ac_compile") 2>conftest.er1
44689 ac_status=$?
44690 grep -v '^ *+' conftest.er1 >conftest.err
44691 rm -f conftest.er1
44692 cat conftest.err >&5
44693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44694 - (exit $ac_status); } &&
44695 - { ac_try='test -z "$ac_c_werror_flag"
44696 - || test ! -s conftest.err'
44697 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44698 - (eval $ac_try) 2>&5
44699 + (exit $ac_status); } && {
44700 + test -z "$ac_c_werror_flag" ||
44701 + test ! -s conftest.err
44702 + } && test -s conftest.$ac_objext; then
44703 + ac_cv_prog_cc_g=yes
44704 +else
44705 + echo "$as_me: failed program was:" >&5
44706 +sed 's/^/| /' conftest.$ac_ext >&5
44707 +
44708 + CFLAGS=""
44709 + cat >conftest.$ac_ext <<_ACEOF
44710 +/* confdefs.h. */
44711 +_ACEOF
44712 +cat confdefs.h >>conftest.$ac_ext
44713 +cat >>conftest.$ac_ext <<_ACEOF
44714 +/* end confdefs.h. */
44715 +
44716 +int
44717 +main ()
44718 +{
44719 +
44720 + ;
44721 + return 0;
44722 +}
44723 +_ACEOF
44724 +rm -f conftest.$ac_objext
44725 +if { (ac_try="$ac_compile"
44726 +case "(($ac_try" in
44727 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44728 + *) ac_try_echo=$ac_try;;
44729 +esac
44730 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44731 + (eval "$ac_compile") 2>conftest.er1
44732 ac_status=$?
44733 + grep -v '^ *+' conftest.er1 >conftest.err
44734 + rm -f conftest.er1
44735 + cat conftest.err >&5
44736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44737 - (exit $ac_status); }; } &&
44738 - { ac_try='test -s conftest.$ac_objext'
44739 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44740 - (eval $ac_try) 2>&5
44741 + (exit $ac_status); } && {
44742 + test -z "$ac_c_werror_flag" ||
44743 + test ! -s conftest.err
44744 + } && test -s conftest.$ac_objext; then
44745 + :
44746 +else
44747 + echo "$as_me: failed program was:" >&5
44748 +sed 's/^/| /' conftest.$ac_ext >&5
44749 +
44750 + ac_c_werror_flag=$ac_save_c_werror_flag
44751 + CFLAGS="-g"
44752 + cat >conftest.$ac_ext <<_ACEOF
44753 +/* confdefs.h. */
44754 +_ACEOF
44755 +cat confdefs.h >>conftest.$ac_ext
44756 +cat >>conftest.$ac_ext <<_ACEOF
44757 +/* end confdefs.h. */
44758 +
44759 +int
44760 +main ()
44761 +{
44762 +
44763 + ;
44764 + return 0;
44765 +}
44766 +_ACEOF
44767 +rm -f conftest.$ac_objext
44768 +if { (ac_try="$ac_compile"
44769 +case "(($ac_try" in
44770 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44771 + *) ac_try_echo=$ac_try;;
44772 +esac
44773 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44774 + (eval "$ac_compile") 2>conftest.er1
44775 ac_status=$?
44776 + grep -v '^ *+' conftest.er1 >conftest.err
44777 + rm -f conftest.er1
44778 + cat conftest.err >&5
44779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44780 - (exit $ac_status); }; }; then
44781 + (exit $ac_status); } && {
44782 + test -z "$ac_c_werror_flag" ||
44783 + test ! -s conftest.err
44784 + } && test -s conftest.$ac_objext; then
44785 ac_cv_prog_cc_g=yes
44786 else
44787 echo "$as_me: failed program was:" >&5
44788 sed 's/^/| /' conftest.$ac_ext >&5
44789
44790 -ac_cv_prog_cc_g=no
44791 +
44792 +fi
44793 +
44794 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44795 +fi
44796 +
44797 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44798 fi
44799 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44800 +
44801 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44802 + ac_c_werror_flag=$ac_save_c_werror_flag
44803 fi
44804 -echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
44805 -echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
44806 +{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
44807 +echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
44808 if test "$ac_test_CFLAGS" = set; then
44809 CFLAGS=$ac_save_CFLAGS
44810 elif test $ac_cv_prog_cc_g = yes; then
44811 @@ -2092,12 +2755,12 @@ else
44812 CFLAGS=
44813 fi
44814 fi
44815 -echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
44816 -echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
44817 -if test "${ac_cv_prog_cc_stdc+set}" = set; then
44818 +{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
44819 +echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
44820 +if test "${ac_cv_prog_cc_c89+set}" = set; then
44821 echo $ECHO_N "(cached) $ECHO_C" >&6
44822 else
44823 - ac_cv_prog_cc_stdc=no
44824 + ac_cv_prog_cc_c89=no
44825 ac_save_CC=$CC
44826 cat >conftest.$ac_ext <<_ACEOF
44827 /* confdefs.h. */
44828 @@ -2131,12 +2794,17 @@ static char *f (char * (*g) (char **, in
44829 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
44830 function prototypes and stuff, but not '\xHH' hex character constants.
44831 These don't provoke an error unfortunately, instead are silently treated
44832 - as 'x'. The following induces an error, until -std1 is added to get
44833 + as 'x'. The following induces an error, until -std is added to get
44834 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
44835 array size at least. It's necessary to write '\x00'==0 to get something
44836 - that's true only with -std1. */
44837 + that's true only with -std. */
44838 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
44839
44840 +/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
44841 + inside strings and character constants. */
44842 +#define FOO(x) 'x'
44843 +int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
44844 +
44845 int test (int i, double x);
44846 struct s1 {int (*f) (int a);};
44847 struct s2 {int (*f) (double a);};
44848 @@ -2151,335 +2819,144 @@ return f (e, argv, 0) != argv[0] || f
44849 return 0;
44850 }
44851 _ACEOF
44852 -# Don't try gcc -ansi; that turns off useful extensions and
44853 -# breaks some systems' header files.
44854 -# AIX -qlanglvl=ansi
44855 -# Ultrix and OSF/1 -std1
44856 -# HP-UX 10.20 and later -Ae
44857 -# HP-UX older versions -Aa -D_HPUX_SOURCE
44858 -# SVR4 -Xc -D__EXTENSIONS__
44859 -for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
44860 +for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
44861 + -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
44862 do
44863 CC="$ac_save_CC $ac_arg"
44864 rm -f conftest.$ac_objext
44865 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44866 - (eval $ac_compile) 2>conftest.er1
44867 +if { (ac_try="$ac_compile"
44868 +case "(($ac_try" in
44869 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44870 + *) ac_try_echo=$ac_try;;
44871 +esac
44872 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44873 + (eval "$ac_compile") 2>conftest.er1
44874 ac_status=$?
44875 grep -v '^ *+' conftest.er1 >conftest.err
44876 rm -f conftest.er1
44877 cat conftest.err >&5
44878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44879 - (exit $ac_status); } &&
44880 - { ac_try='test -z "$ac_c_werror_flag"
44881 - || test ! -s conftest.err'
44882 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44883 - (eval $ac_try) 2>&5
44884 - ac_status=$?
44885 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
44886 - (exit $ac_status); }; } &&
44887 - { ac_try='test -s conftest.$ac_objext'
44888 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44889 - (eval $ac_try) 2>&5
44890 - ac_status=$?
44891 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
44892 - (exit $ac_status); }; }; then
44893 - ac_cv_prog_cc_stdc=$ac_arg
44894 -break
44895 + (exit $ac_status); } && {
44896 + test -z "$ac_c_werror_flag" ||
44897 + test ! -s conftest.err
44898 + } && test -s conftest.$ac_objext; then
44899 + ac_cv_prog_cc_c89=$ac_arg
44900 else
44901 echo "$as_me: failed program was:" >&5
44902 sed 's/^/| /' conftest.$ac_ext >&5
44903
44904 +
44905 fi
44906 -rm -f conftest.err conftest.$ac_objext
44907 +
44908 +rm -f core conftest.err conftest.$ac_objext
44909 + test "x$ac_cv_prog_cc_c89" != "xno" && break
44910 done
44911 -rm -f conftest.$ac_ext conftest.$ac_objext
44912 +rm -f conftest.$ac_ext
44913 CC=$ac_save_CC
44914
44915 fi
44916 -
44917 -case "x$ac_cv_prog_cc_stdc" in
44918 - x|xno)
44919 - echo "$as_me:$LINENO: result: none needed" >&5
44920 -echo "${ECHO_T}none needed" >&6 ;;
44921 +# AC_CACHE_VAL
44922 +case "x$ac_cv_prog_cc_c89" in
44923 + x)
44924 + { echo "$as_me:$LINENO: result: none needed" >&5
44925 +echo "${ECHO_T}none needed" >&6; } ;;
44926 + xno)
44927 + { echo "$as_me:$LINENO: result: unsupported" >&5
44928 +echo "${ECHO_T}unsupported" >&6; } ;;
44929 *)
44930 - echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
44931 -echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
44932 - CC="$CC $ac_cv_prog_cc_stdc" ;;
44933 + CC="$CC $ac_cv_prog_cc_c89"
44934 + { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
44935 +echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
44936 esac
44937
44938 -# Some people use a C++ compiler to compile C. Since we use `exit',
44939 -# in C++ we need to declare it. In case someone uses the same compiler
44940 -# for both compiling C and C++ we need to have the C++ compiler decide
44941 -# the declaration of exit, since it's the most demanding environment.
44942 +
44943 +ac_ext=c
44944 +ac_cpp='$CPP $CPPFLAGS'
44945 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44946 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44947 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
44948 +
44949 +
44950 +{ echo "$as_me:$LINENO: checking for library containing strerror" >&5
44951 +echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6; }
44952 +if test "${ac_cv_search_strerror+set}" = set; then
44953 + echo $ECHO_N "(cached) $ECHO_C" >&6
44954 +else
44955 + ac_func_search_save_LIBS=$LIBS
44956 cat >conftest.$ac_ext <<_ACEOF
44957 -#ifndef __cplusplus
44958 - choke me
44959 -#endif
44960 -_ACEOF
44961 -rm -f conftest.$ac_objext
44962 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44963 - (eval $ac_compile) 2>conftest.er1
44964 - ac_status=$?
44965 - grep -v '^ *+' conftest.er1 >conftest.err
44966 - rm -f conftest.er1
44967 - cat conftest.err >&5
44968 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
44969 - (exit $ac_status); } &&
44970 - { ac_try='test -z "$ac_c_werror_flag"
44971 - || test ! -s conftest.err'
44972 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44973 - (eval $ac_try) 2>&5
44974 - ac_status=$?
44975 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
44976 - (exit $ac_status); }; } &&
44977 - { ac_try='test -s conftest.$ac_objext'
44978 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44979 - (eval $ac_try) 2>&5
44980 - ac_status=$?
44981 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
44982 - (exit $ac_status); }; }; then
44983 - for ac_declaration in \
44984 - '' \
44985 - 'extern "C" void std::exit (int) throw (); using std::exit;' \
44986 - 'extern "C" void std::exit (int); using std::exit;' \
44987 - 'extern "C" void exit (int) throw ();' \
44988 - 'extern "C" void exit (int);' \
44989 - 'void exit (int);'
44990 -do
44991 - cat >conftest.$ac_ext <<_ACEOF
44992 /* confdefs.h. */
44993 _ACEOF
44994 cat confdefs.h >>conftest.$ac_ext
44995 cat >>conftest.$ac_ext <<_ACEOF
44996 /* end confdefs.h. */
44997 -$ac_declaration
44998 -#include <stdlib.h>
44999 +
45000 +/* Override any GCC internal prototype to avoid an error.
45001 + Use char because int might match the return type of a GCC
45002 + builtin and then its argument prototype would still apply. */
45003 +#ifdef __cplusplus
45004 +extern "C"
45005 +#endif
45006 +char strerror ();
45007 int
45008 main ()
45009 {
45010 -exit (42);
45011 +return strerror ();
45012 ;
45013 return 0;
45014 }
45015 _ACEOF
45016 -rm -f conftest.$ac_objext
45017 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45018 - (eval $ac_compile) 2>conftest.er1
45019 +for ac_lib in '' cposix; do
45020 + if test -z "$ac_lib"; then
45021 + ac_res="none required"
45022 + else
45023 + ac_res=-l$ac_lib
45024 + LIBS="-l$ac_lib $ac_func_search_save_LIBS"
45025 + fi
45026 + rm -f conftest.$ac_objext conftest$ac_exeext
45027 +if { (ac_try="$ac_link"
45028 +case "(($ac_try" in
45029 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45030 + *) ac_try_echo=$ac_try;;
45031 +esac
45032 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45033 + (eval "$ac_link") 2>conftest.er1
45034 ac_status=$?
45035 grep -v '^ *+' conftest.er1 >conftest.err
45036 rm -f conftest.er1
45037 cat conftest.err >&5
45038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45039 - (exit $ac_status); } &&
45040 - { ac_try='test -z "$ac_c_werror_flag"
45041 - || test ! -s conftest.err'
45042 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45043 - (eval $ac_try) 2>&5
45044 - ac_status=$?
45045 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
45046 - (exit $ac_status); }; } &&
45047 - { ac_try='test -s conftest.$ac_objext'
45048 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45049 - (eval $ac_try) 2>&5
45050 - ac_status=$?
45051 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
45052 - (exit $ac_status); }; }; then
45053 - :
45054 + (exit $ac_status); } && {
45055 + test -z "$ac_c_werror_flag" ||
45056 + test ! -s conftest.err
45057 + } && test -s conftest$ac_exeext &&
45058 + $as_test_x conftest$ac_exeext; then
45059 + ac_cv_search_strerror=$ac_res
45060 else
45061 echo "$as_me: failed program was:" >&5
45062 sed 's/^/| /' conftest.$ac_ext >&5
45063
45064 -continue
45065 -fi
45066 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45067 - cat >conftest.$ac_ext <<_ACEOF
45068 -/* confdefs.h. */
45069 -_ACEOF
45070 -cat confdefs.h >>conftest.$ac_ext
45071 -cat >>conftest.$ac_ext <<_ACEOF
45072 -/* end confdefs.h. */
45073 -$ac_declaration
45074 -int
45075 -main ()
45076 -{
45077 -exit (42);
45078 - ;
45079 - return 0;
45080 -}
45081 -_ACEOF
45082 -rm -f conftest.$ac_objext
45083 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45084 - (eval $ac_compile) 2>conftest.er1
45085 - ac_status=$?
45086 - grep -v '^ *+' conftest.er1 >conftest.err
45087 - rm -f conftest.er1
45088 - cat conftest.err >&5
45089 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
45090 - (exit $ac_status); } &&
45091 - { ac_try='test -z "$ac_c_werror_flag"
45092 - || test ! -s conftest.err'
45093 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45094 - (eval $ac_try) 2>&5
45095 - ac_status=$?
45096 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
45097 - (exit $ac_status); }; } &&
45098 - { ac_try='test -s conftest.$ac_objext'
45099 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45100 - (eval $ac_try) 2>&5
45101 - ac_status=$?
45102 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
45103 - (exit $ac_status); }; }; then
45104 - break
45105 -else
45106 - echo "$as_me: failed program was:" >&5
45107 -sed 's/^/| /' conftest.$ac_ext >&5
45108
45109 fi
45110 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45111 -done
45112 -rm -f conftest*
45113 -if test -n "$ac_declaration"; then
45114 - echo '#ifdef __cplusplus' >>confdefs.h
45115 - echo $ac_declaration >>confdefs.h
45116 - echo '#endif' >>confdefs.h
45117 -fi
45118 -
45119 -else
45120 - echo "$as_me: failed program was:" >&5
45121 -sed 's/^/| /' conftest.$ac_ext >&5
45122
45123 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45124 + conftest$ac_exeext
45125 + if test "${ac_cv_search_strerror+set}" = set; then
45126 + break
45127 fi
45128 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45129 -ac_ext=c
45130 -ac_cpp='$CPP $CPPFLAGS'
45131 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45132 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45133 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
45134 -
45135 -
45136 -echo "$as_me:$LINENO: checking for library containing strerror" >&5
45137 -echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6
45138 +done
45139 if test "${ac_cv_search_strerror+set}" = set; then
45140 - echo $ECHO_N "(cached) $ECHO_C" >&6
45141 -else
45142 - ac_func_search_save_LIBS=$LIBS
45143 -ac_cv_search_strerror=no
45144 -cat >conftest.$ac_ext <<_ACEOF
45145 -/* confdefs.h. */
45146 -_ACEOF
45147 -cat confdefs.h >>conftest.$ac_ext
45148 -cat >>conftest.$ac_ext <<_ACEOF
45149 -/* end confdefs.h. */
45150 -
45151 -/* Override any gcc2 internal prototype to avoid an error. */
45152 -#ifdef __cplusplus
45153 -extern "C"
45154 -#endif
45155 -/* We use char because int might match the return type of a gcc2
45156 - builtin and then its argument prototype would still apply. */
45157 -char strerror ();
45158 -int
45159 -main ()
45160 -{
45161 -strerror ();
45162 - ;
45163 - return 0;
45164 -}
45165 -_ACEOF
45166 -rm -f conftest.$ac_objext conftest$ac_exeext
45167 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45168 - (eval $ac_link) 2>conftest.er1
45169 - ac_status=$?
45170 - grep -v '^ *+' conftest.er1 >conftest.err
45171 - rm -f conftest.er1
45172 - cat conftest.err >&5
45173 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
45174 - (exit $ac_status); } &&
45175 - { ac_try='test -z "$ac_c_werror_flag"
45176 - || test ! -s conftest.err'
45177 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45178 - (eval $ac_try) 2>&5
45179 - ac_status=$?
45180 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
45181 - (exit $ac_status); }; } &&
45182 - { ac_try='test -s conftest$ac_exeext'
45183 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45184 - (eval $ac_try) 2>&5
45185 - ac_status=$?
45186 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
45187 - (exit $ac_status); }; }; then
45188 - ac_cv_search_strerror="none required"
45189 -else
45190 - echo "$as_me: failed program was:" >&5
45191 -sed 's/^/| /' conftest.$ac_ext >&5
45192 -
45193 -fi
45194 -rm -f conftest.err conftest.$ac_objext \
45195 - conftest$ac_exeext conftest.$ac_ext
45196 -if test "$ac_cv_search_strerror" = no; then
45197 - for ac_lib in cposix; do
45198 - LIBS="-l$ac_lib $ac_func_search_save_LIBS"
45199 - cat >conftest.$ac_ext <<_ACEOF
45200 -/* confdefs.h. */
45201 -_ACEOF
45202 -cat confdefs.h >>conftest.$ac_ext
45203 -cat >>conftest.$ac_ext <<_ACEOF
45204 -/* end confdefs.h. */
45205 -
45206 -/* Override any gcc2 internal prototype to avoid an error. */
45207 -#ifdef __cplusplus
45208 -extern "C"
45209 -#endif
45210 -/* We use char because int might match the return type of a gcc2
45211 - builtin and then its argument prototype would still apply. */
45212 -char strerror ();
45213 -int
45214 -main ()
45215 -{
45216 -strerror ();
45217 - ;
45218 - return 0;
45219 -}
45220 -_ACEOF
45221 -rm -f conftest.$ac_objext conftest$ac_exeext
45222 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45223 - (eval $ac_link) 2>conftest.er1
45224 - ac_status=$?
45225 - grep -v '^ *+' conftest.er1 >conftest.err
45226 - rm -f conftest.er1
45227 - cat conftest.err >&5
45228 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
45229 - (exit $ac_status); } &&
45230 - { ac_try='test -z "$ac_c_werror_flag"
45231 - || test ! -s conftest.err'
45232 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45233 - (eval $ac_try) 2>&5
45234 - ac_status=$?
45235 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
45236 - (exit $ac_status); }; } &&
45237 - { ac_try='test -s conftest$ac_exeext'
45238 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45239 - (eval $ac_try) 2>&5
45240 - ac_status=$?
45241 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
45242 - (exit $ac_status); }; }; then
45243 - ac_cv_search_strerror="-l$ac_lib"
45244 -break
45245 + :
45246 else
45247 - echo "$as_me: failed program was:" >&5
45248 -sed 's/^/| /' conftest.$ac_ext >&5
45249 -
45250 -fi
45251 -rm -f conftest.err conftest.$ac_objext \
45252 - conftest$ac_exeext conftest.$ac_ext
45253 - done
45254 + ac_cv_search_strerror=no
45255 fi
45256 +rm conftest.$ac_ext
45257 LIBS=$ac_func_search_save_LIBS
45258 fi
45259 -echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
45260 -echo "${ECHO_T}$ac_cv_search_strerror" >&6
45261 -if test "$ac_cv_search_strerror" != no; then
45262 - test "$ac_cv_search_strerror" = "none required" || LIBS="$ac_cv_search_strerror $LIBS"
45263 +{ echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
45264 +echo "${ECHO_T}$ac_cv_search_strerror" >&6; }
45265 +ac_res=$ac_cv_search_strerror
45266 +if test "$ac_res" != no; then
45267 + test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
45268
45269 fi
45270
45271 @@ -2499,8 +2976,8 @@ am__api_version="1.9"
45272 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
45273 # OS/2's system install, which has a completely different semantic
45274 # ./install, which can be erroneously created by make from ./install.sh.
45275 -echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
45276 -echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
45277 +{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
45278 +echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
45279 if test -z "$INSTALL"; then
45280 if test "${ac_cv_path_install+set}" = set; then
45281 echo $ECHO_N "(cached) $ECHO_C" >&6
45282 @@ -2522,7 +2999,7 @@ case $as_dir/ in
45283 # by default.
45284 for ac_prog in ginstall scoinst install; do
45285 for ac_exec_ext in '' $ac_executable_extensions; do
45286 - if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
45287 + if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
45288 if test $ac_prog = install &&
45289 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
45290 # AIX install. It has an incompatible calling convention.
45291 @@ -2541,21 +3018,22 @@ case $as_dir/ in
45292 ;;
45293 esac
45294 done
45295 +IFS=$as_save_IFS
45296
45297
45298 fi
45299 if test "${ac_cv_path_install+set}" = set; then
45300 INSTALL=$ac_cv_path_install
45301 else
45302 - # As a last resort, use the slow shell script. We don't cache a
45303 - # path for INSTALL within a source directory, because that will
45304 + # As a last resort, use the slow shell script. Don't cache a
45305 + # value for INSTALL within a source directory, because that will
45306 # break other packages using the cache if that directory is
45307 - # removed, or if the path is relative.
45308 + # removed, or if the value is a relative name.
45309 INSTALL=$ac_install_sh
45310 fi
45311 fi
45312 -echo "$as_me:$LINENO: result: $INSTALL" >&5
45313 -echo "${ECHO_T}$INSTALL" >&6
45314 +{ echo "$as_me:$LINENO: result: $INSTALL" >&5
45315 +echo "${ECHO_T}$INSTALL" >&6; }
45316
45317 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
45318 # It thinks the first close brace ends the variable substitution.
45319 @@ -2565,8 +3043,8 @@ test -z "$INSTALL_SCRIPT" && INSTALL_SCR
45320
45321 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
45322
45323 -echo "$as_me:$LINENO: checking whether build environment is sane" >&5
45324 -echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
45325 +{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
45326 +echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
45327 # Just in case
45328 sleep 1
45329 echo timestamp > conftest.file
45330 @@ -2608,20 +3086,20 @@ echo "$as_me: error: newly created file
45331 Check your system clock" >&2;}
45332 { (exit 1); exit 1; }; }
45333 fi
45334 -echo "$as_me:$LINENO: result: yes" >&5
45335 -echo "${ECHO_T}yes" >&6
45336 +{ echo "$as_me:$LINENO: result: yes" >&5
45337 +echo "${ECHO_T}yes" >&6; }
45338 test "$program_prefix" != NONE &&
45339 - program_transform_name="s,^,$program_prefix,;$program_transform_name"
45340 + program_transform_name="s&^&$program_prefix&;$program_transform_name"
45341 # Use a double $ so make ignores it.
45342 test "$program_suffix" != NONE &&
45343 - program_transform_name="s,\$,$program_suffix,;$program_transform_name"
45344 + program_transform_name="s&\$&$program_suffix&;$program_transform_name"
45345 # Double any \ or $. echo might interpret backslashes.
45346 # By default was `s,x,x', remove it if useless.
45347 cat <<\_ACEOF >conftest.sed
45348 s/[\\$]/&&/g;s/;s,x,x,$//
45349 _ACEOF
45350 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
45351 -rm conftest.sed
45352 +rm -f conftest.sed
45353
45354 # expand $ac_aux_dir to an absolute path
45355 am_aux_dir=`cd $ac_aux_dir && pwd`
45356 @@ -2673,8 +3151,8 @@ for ac_prog in gawk mawk nawk awk
45357 do
45358 # Extract the first word of "$ac_prog", so it can be a program name with args.
45359 set dummy $ac_prog; ac_word=$2
45360 -echo "$as_me:$LINENO: checking for $ac_word" >&5
45361 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45362 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
45363 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
45364 if test "${ac_cv_prog_AWK+set}" = set; then
45365 echo $ECHO_N "(cached) $ECHO_C" >&6
45366 else
45367 @@ -2687,54 +3165,57 @@ do
45368 IFS=$as_save_IFS
45369 test -z "$as_dir" && as_dir=.
45370 for ac_exec_ext in '' $ac_executable_extensions; do
45371 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45372 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
45373 ac_cv_prog_AWK="$ac_prog"
45374 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45375 break 2
45376 fi
45377 done
45378 done
45379 +IFS=$as_save_IFS
45380
45381 fi
45382 fi
45383 AWK=$ac_cv_prog_AWK
45384 if test -n "$AWK"; then
45385 - echo "$as_me:$LINENO: result: $AWK" >&5
45386 -echo "${ECHO_T}$AWK" >&6
45387 + { echo "$as_me:$LINENO: result: $AWK" >&5
45388 +echo "${ECHO_T}$AWK" >&6; }
45389 else
45390 - echo "$as_me:$LINENO: result: no" >&5
45391 -echo "${ECHO_T}no" >&6
45392 + { echo "$as_me:$LINENO: result: no" >&5
45393 +echo "${ECHO_T}no" >&6; }
45394 fi
45395
45396 +
45397 test -n "$AWK" && break
45398 done
45399
45400 -echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
45401 -echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
45402 -set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
45403 -if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
45404 +{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
45405 +echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
45406 +set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
45407 +if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
45408 echo $ECHO_N "(cached) $ECHO_C" >&6
45409 else
45410 cat >conftest.make <<\_ACEOF
45411 +SHELL = /bin/sh
45412 all:
45413 - @echo 'ac_maketemp="$(MAKE)"'
45414 + @echo '@@@%%%=$(MAKE)=@@@%%%'
45415 _ACEOF
45416 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
45417 -eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
45418 -if test -n "$ac_maketemp"; then
45419 - eval ac_cv_prog_make_${ac_make}_set=yes
45420 -else
45421 - eval ac_cv_prog_make_${ac_make}_set=no
45422 -fi
45423 +case `${MAKE-make} -f conftest.make 2>/dev/null` in
45424 + *@@@%%%=?*=@@@%%%*)
45425 + eval ac_cv_prog_make_${ac_make}_set=yes;;
45426 + *)
45427 + eval ac_cv_prog_make_${ac_make}_set=no;;
45428 +esac
45429 rm -f conftest.make
45430 fi
45431 -if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
45432 - echo "$as_me:$LINENO: result: yes" >&5
45433 -echo "${ECHO_T}yes" >&6
45434 +if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
45435 + { echo "$as_me:$LINENO: result: yes" >&5
45436 +echo "${ECHO_T}yes" >&6; }
45437 SET_MAKE=
45438 else
45439 - echo "$as_me:$LINENO: result: no" >&5
45440 -echo "${ECHO_T}no" >&6
45441 + { echo "$as_me:$LINENO: result: no" >&5
45442 +echo "${ECHO_T}no" >&6; }
45443 SET_MAKE="MAKE=${MAKE-make}"
45444 fi
45445
45446 @@ -2749,7 +3230,7 @@ rmdir .tst 2>/dev/null
45447
45448 DEPDIR="${am__leading_dot}deps"
45449
45450 - ac_config_commands="$ac_config_commands depfiles"
45451 +ac_config_commands="$ac_config_commands depfiles"
45452
45453
45454 am_make=${MAKE-make}
45455 @@ -2759,8 +3240,8 @@ am__doit:
45456 .PHONY: am__doit
45457 END
45458 # If we don't find an include directive, just comment out the code.
45459 -echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
45460 -echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
45461 +{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
45462 +echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
45463 am__include="#"
45464 am__quote=
45465 _am_result=none
45466 @@ -2787,15 +3268,15 @@ if test "$am__include" = "#"; then
45467 fi
45468
45469
45470 -echo "$as_me:$LINENO: result: $_am_result" >&5
45471 -echo "${ECHO_T}$_am_result" >&6
45472 +{ echo "$as_me:$LINENO: result: $_am_result" >&5
45473 +echo "${ECHO_T}$_am_result" >&6; }
45474 rm -f confinc confmf
45475
45476 -# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
45477 +# Check whether --enable-dependency-tracking was given.
45478 if test "${enable_dependency_tracking+set}" = set; then
45479 - enableval="$enable_dependency_tracking"
45480 + enableval=$enable_dependency_tracking;
45481 +fi
45482
45483 -fi;
45484 if test "x$enable_dependency_tracking" != xno; then
45485 am_depcomp="$ac_aux_dir/depcomp"
45486 AMDEPBACKSLASH='\'
45487 @@ -2870,8 +3351,8 @@ if test "$cross_compiling" != no; then
45488 if test -n "$ac_tool_prefix"; then
45489 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
45490 set dummy ${ac_tool_prefix}strip; ac_word=$2
45491 -echo "$as_me:$LINENO: checking for $ac_word" >&5
45492 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45493 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
45494 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
45495 if test "${ac_cv_prog_STRIP+set}" = set; then
45496 echo $ECHO_N "(cached) $ECHO_C" >&6
45497 else
45498 @@ -2884,32 +3365,34 @@ do
45499 IFS=$as_save_IFS
45500 test -z "$as_dir" && as_dir=.
45501 for ac_exec_ext in '' $ac_executable_extensions; do
45502 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45503 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
45504 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
45505 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45506 break 2
45507 fi
45508 done
45509 done
45510 +IFS=$as_save_IFS
45511
45512 fi
45513 fi
45514 STRIP=$ac_cv_prog_STRIP
45515 if test -n "$STRIP"; then
45516 - echo "$as_me:$LINENO: result: $STRIP" >&5
45517 -echo "${ECHO_T}$STRIP" >&6
45518 + { echo "$as_me:$LINENO: result: $STRIP" >&5
45519 +echo "${ECHO_T}$STRIP" >&6; }
45520 else
45521 - echo "$as_me:$LINENO: result: no" >&5
45522 -echo "${ECHO_T}no" >&6
45523 + { echo "$as_me:$LINENO: result: no" >&5
45524 +echo "${ECHO_T}no" >&6; }
45525 fi
45526
45527 +
45528 fi
45529 if test -z "$ac_cv_prog_STRIP"; then
45530 ac_ct_STRIP=$STRIP
45531 # Extract the first word of "strip", so it can be a program name with args.
45532 set dummy strip; ac_word=$2
45533 -echo "$as_me:$LINENO: checking for $ac_word" >&5
45534 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45535 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
45536 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
45537 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
45538 echo $ECHO_N "(cached) $ECHO_C" >&6
45539 else
45540 @@ -2922,27 +3405,41 @@ do
45541 IFS=$as_save_IFS
45542 test -z "$as_dir" && as_dir=.
45543 for ac_exec_ext in '' $ac_executable_extensions; do
45544 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45545 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
45546 ac_cv_prog_ac_ct_STRIP="strip"
45547 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45548 break 2
45549 fi
45550 done
45551 done
45552 +IFS=$as_save_IFS
45553
45554 - test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
45555 fi
45556 fi
45557 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
45558 if test -n "$ac_ct_STRIP"; then
45559 - echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
45560 -echo "${ECHO_T}$ac_ct_STRIP" >&6
45561 + { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
45562 +echo "${ECHO_T}$ac_ct_STRIP" >&6; }
45563 else
45564 - echo "$as_me:$LINENO: result: no" >&5
45565 -echo "${ECHO_T}no" >&6
45566 + { echo "$as_me:$LINENO: result: no" >&5
45567 +echo "${ECHO_T}no" >&6; }
45568 fi
45569
45570 - STRIP=$ac_ct_STRIP
45571 + if test "x$ac_ct_STRIP" = x; then
45572 + STRIP=":"
45573 + else
45574 + case $cross_compiling:$ac_tool_warned in
45575 +yes:)
45576 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
45577 +whose name does not start with the host triplet. If you think this
45578 +configuration is useful to you, please write to autoconf@gnu.org." >&5
45579 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
45580 +whose name does not start with the host triplet. If you think this
45581 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
45582 +ac_tool_warned=yes ;;
45583 +esac
45584 + STRIP=$ac_ct_STRIP
45585 + fi
45586 else
45587 STRIP="$ac_cv_prog_STRIP"
45588 fi
45589 @@ -2963,8 +3460,8 @@ am__tar='${AMTAR} chof - "$$tardir"'; am
45590
45591 depcc="$CC" am_compiler_list=
45592
45593 -echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
45594 -echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
45595 +{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
45596 +echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
45597 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
45598 echo $ECHO_N "(cached) $ECHO_C" >&6
45599 else
45600 @@ -3053,8 +3550,8 @@ else
45601 fi
45602
45603 fi
45604 -echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
45605 -echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
45606 +{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
45607 +echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
45608 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
45609
45610
45611 @@ -3072,10 +3569,9 @@ fi
45612
45613
45614
45615 -# Check whether --enable-shared or --disable-shared was given.
45616 +# Check whether --enable-shared was given.
45617 if test "${enable_shared+set}" = set; then
45618 - enableval="$enable_shared"
45619 - p=${PACKAGE-default}
45620 + enableval=$enable_shared; p=${PACKAGE-default}
45621 case $enableval in
45622 yes) enable_shared=yes ;;
45623 no) enable_shared=no ;;
45624 @@ -3093,11 +3589,11 @@ no) enable_shared=no ;;
45625 esac
45626 else
45627 enable_shared=yes
45628 -fi;
45629 -# Check whether --enable-static or --disable-static was given.
45630 +fi
45631 +
45632 +# Check whether --enable-static was given.
45633 if test "${enable_static+set}" = set; then
45634 - enableval="$enable_static"
45635 - p=${PACKAGE-default}
45636 + enableval=$enable_static; p=${PACKAGE-default}
45637 case $enableval in
45638 yes) enable_static=yes ;;
45639 no) enable_static=no ;;
45640 @@ -3115,11 +3611,11 @@ no) enable_static=no ;;
45641 esac
45642 else
45643 enable_static=yes
45644 -fi;
45645 -# Check whether --enable-fast-install or --disable-fast-install was given.
45646 +fi
45647 +
45648 +# Check whether --enable-fast-install was given.
45649 if test "${enable_fast_install+set}" = set; then
45650 - enableval="$enable_fast_install"
45651 - p=${PACKAGE-default}
45652 + enableval=$enable_fast_install; p=${PACKAGE-default}
45653 case $enableval in
45654 yes) enable_fast_install=yes ;;
45655 no) enable_fast_install=no ;;
45656 @@ -3137,20 +3633,21 @@ no) enable_fast_install=no ;;
45657 esac
45658 else
45659 enable_fast_install=yes
45660 -fi;
45661 +fi
45662 +
45663
45664 -# Check whether --with-gnu-ld or --without-gnu-ld was given.
45665 +# Check whether --with-gnu-ld was given.
45666 if test "${with_gnu_ld+set}" = set; then
45667 - withval="$with_gnu_ld"
45668 - test "$withval" = no || with_gnu_ld=yes
45669 + withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
45670 else
45671 with_gnu_ld=no
45672 -fi;
45673 +fi
45674 +
45675 ac_prog=ld
45676 if test "$GCC" = yes; then
45677 # Check if gcc -print-prog-name=ld gives a path.
45678 - echo "$as_me:$LINENO: checking for ld used by GCC" >&5
45679 -echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
45680 + { echo "$as_me:$LINENO: checking for ld used by GCC" >&5
45681 +echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6; }
45682 case $host in
45683 *-*-mingw*)
45684 # gcc leaves a trailing carriage return which upsets mingw
45685 @@ -3179,11 +3676,11 @@ echo $ECHO_N "checking for ld used by GC
45686 ;;
45687 esac
45688 elif test "$with_gnu_ld" = yes; then
45689 - echo "$as_me:$LINENO: checking for GNU ld" >&5
45690 -echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
45691 + { echo "$as_me:$LINENO: checking for GNU ld" >&5
45692 +echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
45693 else
45694 - echo "$as_me:$LINENO: checking for non-GNU ld" >&5
45695 -echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
45696 + { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
45697 +echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
45698 fi
45699 if test "${lt_cv_path_LD+set}" = set; then
45700 echo $ECHO_N "(cached) $ECHO_C" >&6
45701 @@ -3212,17 +3709,17 @@ fi
45702
45703 LD="$lt_cv_path_LD"
45704 if test -n "$LD"; then
45705 - echo "$as_me:$LINENO: result: $LD" >&5
45706 -echo "${ECHO_T}$LD" >&6
45707 + { echo "$as_me:$LINENO: result: $LD" >&5
45708 +echo "${ECHO_T}$LD" >&6; }
45709 else
45710 - echo "$as_me:$LINENO: result: no" >&5
45711 -echo "${ECHO_T}no" >&6
45712 + { echo "$as_me:$LINENO: result: no" >&5
45713 +echo "${ECHO_T}no" >&6; }
45714 fi
45715 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
45716 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
45717 { (exit 1); exit 1; }; }
45718 -echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
45719 -echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
45720 +{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
45721 +echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
45722 if test "${lt_cv_prog_gnu_ld+set}" = set; then
45723 echo $ECHO_N "(cached) $ECHO_C" >&6
45724 else
45725 @@ -3233,25 +3730,25 @@ else
45726 lt_cv_prog_gnu_ld=no
45727 fi
45728 fi
45729 -echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
45730 -echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
45731 +{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
45732 +echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
45733 with_gnu_ld=$lt_cv_prog_gnu_ld
45734
45735
45736 -echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
45737 -echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
45738 +{ echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
45739 +echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
45740 if test "${lt_cv_ld_reload_flag+set}" = set; then
45741 echo $ECHO_N "(cached) $ECHO_C" >&6
45742 else
45743 lt_cv_ld_reload_flag='-r'
45744 fi
45745 -echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
45746 -echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
45747 +{ echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
45748 +echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
45749 reload_flag=$lt_cv_ld_reload_flag
45750 test -n "$reload_flag" && reload_flag=" $reload_flag"
45751
45752 -echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
45753 -echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
45754 +{ echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
45755 +echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
45756 if test "${lt_cv_path_NM+set}" = set; then
45757 echo $ECHO_N "(cached) $ECHO_C" >&6
45758 else
45759 @@ -3286,22 +3783,22 @@ fi
45760 fi
45761
45762 NM="$lt_cv_path_NM"
45763 -echo "$as_me:$LINENO: result: $NM" >&5
45764 -echo "${ECHO_T}$NM" >&6
45765 +{ echo "$as_me:$LINENO: result: $NM" >&5
45766 +echo "${ECHO_T}$NM" >&6; }
45767
45768 -echo "$as_me:$LINENO: checking whether ln -s works" >&5
45769 -echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
45770 +{ echo "$as_me:$LINENO: checking whether ln -s works" >&5
45771 +echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
45772 LN_S=$as_ln_s
45773 if test "$LN_S" = "ln -s"; then
45774 - echo "$as_me:$LINENO: result: yes" >&5
45775 -echo "${ECHO_T}yes" >&6
45776 + { echo "$as_me:$LINENO: result: yes" >&5
45777 +echo "${ECHO_T}yes" >&6; }
45778 else
45779 - echo "$as_me:$LINENO: result: no, using $LN_S" >&5
45780 -echo "${ECHO_T}no, using $LN_S" >&6
45781 + { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
45782 +echo "${ECHO_T}no, using $LN_S" >&6; }
45783 fi
45784
45785 -echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
45786 -echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
45787 +{ echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
45788 +echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6; }
45789 if test "${lt_cv_deplibs_check_method+set}" = set; then
45790 echo $ECHO_N "(cached) $ECHO_C" >&6
45791 else
45792 @@ -3463,8 +3960,8 @@ sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
45793 esac
45794
45795 fi
45796 -echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
45797 -echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
45798 +{ echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
45799 +echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
45800 file_magic_cmd=$lt_cv_file_magic_cmd
45801 deplibs_check_method=$lt_cv_deplibs_check_method
45802
45803 @@ -3474,8 +3971,8 @@ deplibs_check_method=$lt_cv_deplibs_chec
45804 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
45805
45806 # find the maximum length of command line arguments
45807 -echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
45808 -echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
45809 +{ echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
45810 +echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
45811 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
45812 echo $ECHO_N "(cached) $ECHO_C" >&6
45813 else
45814 @@ -3526,11 +4023,11 @@ else
45815 fi
45816
45817 if test -n "$lt_cv_sys_max_cmd_len" ; then
45818 - echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
45819 -echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
45820 + { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
45821 +echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
45822 else
45823 - echo "$as_me:$LINENO: result: none" >&5
45824 -echo "${ECHO_T}none" >&6
45825 + { echo "$as_me:$LINENO: result: none" >&5
45826 +echo "${ECHO_T}none" >&6; }
45827 fi
45828
45829
45830 @@ -3538,8 +4035,8 @@ fi
45831 case $deplibs_check_method in
45832 file_magic*)
45833 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
45834 - echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
45835 -echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
45836 + { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
45837 +echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
45838 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
45839 echo $ECHO_N "(cached) $ECHO_C" >&6
45840 else
45841 @@ -3593,17 +4090,17 @@ fi
45842
45843 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
45844 if test -n "$MAGIC_CMD"; then
45845 - echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
45846 -echo "${ECHO_T}$MAGIC_CMD" >&6
45847 + { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
45848 +echo "${ECHO_T}$MAGIC_CMD" >&6; }
45849 else
45850 - echo "$as_me:$LINENO: result: no" >&5
45851 -echo "${ECHO_T}no" >&6
45852 + { echo "$as_me:$LINENO: result: no" >&5
45853 +echo "${ECHO_T}no" >&6; }
45854 fi
45855
45856 if test -z "$lt_cv_path_MAGIC_CMD"; then
45857 if test -n "$ac_tool_prefix"; then
45858 - echo "$as_me:$LINENO: checking for file" >&5
45859 -echo $ECHO_N "checking for file... $ECHO_C" >&6
45860 + { echo "$as_me:$LINENO: checking for file" >&5
45861 +echo $ECHO_N "checking for file... $ECHO_C" >&6; }
45862 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
45863 echo $ECHO_N "(cached) $ECHO_C" >&6
45864 else
45865 @@ -3657,11 +4154,11 @@ fi
45866
45867 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
45868 if test -n "$MAGIC_CMD"; then
45869 - echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
45870 -echo "${ECHO_T}$MAGIC_CMD" >&6
45871 + { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
45872 +echo "${ECHO_T}$MAGIC_CMD" >&6; }
45873 else
45874 - echo "$as_me:$LINENO: result: no" >&5
45875 -echo "${ECHO_T}no" >&6
45876 + { echo "$as_me:$LINENO: result: no" >&5
45877 +echo "${ECHO_T}no" >&6; }
45878 fi
45879
45880 else
45881 @@ -3676,8 +4173,8 @@ esac
45882 if test -n "$ac_tool_prefix"; then
45883 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
45884 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
45885 -echo "$as_me:$LINENO: checking for $ac_word" >&5
45886 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45887 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
45888 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
45889 if test "${ac_cv_prog_RANLIB+set}" = set; then
45890 echo $ECHO_N "(cached) $ECHO_C" >&6
45891 else
45892 @@ -3690,32 +4187,34 @@ do
45893 IFS=$as_save_IFS
45894 test -z "$as_dir" && as_dir=.
45895 for ac_exec_ext in '' $ac_executable_extensions; do
45896 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45897 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
45898 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
45899 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45900 break 2
45901 fi
45902 done
45903 done
45904 +IFS=$as_save_IFS
45905
45906 fi
45907 fi
45908 RANLIB=$ac_cv_prog_RANLIB
45909 if test -n "$RANLIB"; then
45910 - echo "$as_me:$LINENO: result: $RANLIB" >&5
45911 -echo "${ECHO_T}$RANLIB" >&6
45912 + { echo "$as_me:$LINENO: result: $RANLIB" >&5
45913 +echo "${ECHO_T}$RANLIB" >&6; }
45914 else
45915 - echo "$as_me:$LINENO: result: no" >&5
45916 -echo "${ECHO_T}no" >&6
45917 + { echo "$as_me:$LINENO: result: no" >&5
45918 +echo "${ECHO_T}no" >&6; }
45919 fi
45920
45921 +
45922 fi
45923 if test -z "$ac_cv_prog_RANLIB"; then
45924 ac_ct_RANLIB=$RANLIB
45925 # Extract the first word of "ranlib", so it can be a program name with args.
45926 set dummy ranlib; ac_word=$2
45927 -echo "$as_me:$LINENO: checking for $ac_word" >&5
45928 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45929 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
45930 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
45931 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
45932 echo $ECHO_N "(cached) $ECHO_C" >&6
45933 else
45934 @@ -3728,27 +4227,41 @@ do
45935 IFS=$as_save_IFS
45936 test -z "$as_dir" && as_dir=.
45937 for ac_exec_ext in '' $ac_executable_extensions; do
45938 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45939 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
45940 ac_cv_prog_ac_ct_RANLIB="ranlib"
45941 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45942 break 2
45943 fi
45944 done
45945 done
45946 +IFS=$as_save_IFS
45947
45948 - test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
45949 fi
45950 fi
45951 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
45952 if test -n "$ac_ct_RANLIB"; then
45953 - echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
45954 -echo "${ECHO_T}$ac_ct_RANLIB" >&6
45955 + { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
45956 +echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
45957 else
45958 - echo "$as_me:$LINENO: result: no" >&5
45959 -echo "${ECHO_T}no" >&6
45960 + { echo "$as_me:$LINENO: result: no" >&5
45961 +echo "${ECHO_T}no" >&6; }
45962 fi
45963
45964 - RANLIB=$ac_ct_RANLIB
45965 + if test "x$ac_ct_RANLIB" = x; then
45966 + RANLIB=":"
45967 + else
45968 + case $cross_compiling:$ac_tool_warned in
45969 +yes:)
45970 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
45971 +whose name does not start with the host triplet. If you think this
45972 +configuration is useful to you, please write to autoconf@gnu.org." >&5
45973 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
45974 +whose name does not start with the host triplet. If you think this
45975 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
45976 +ac_tool_warned=yes ;;
45977 +esac
45978 + RANLIB=$ac_ct_RANLIB
45979 + fi
45980 else
45981 RANLIB="$ac_cv_prog_RANLIB"
45982 fi
45983 @@ -3756,8 +4269,8 @@ fi
45984 if test -n "$ac_tool_prefix"; then
45985 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
45986 set dummy ${ac_tool_prefix}strip; ac_word=$2
45987 -echo "$as_me:$LINENO: checking for $ac_word" >&5
45988 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45989 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
45990 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
45991 if test "${ac_cv_prog_STRIP+set}" = set; then
45992 echo $ECHO_N "(cached) $ECHO_C" >&6
45993 else
45994 @@ -3770,32 +4283,34 @@ do
45995 IFS=$as_save_IFS
45996 test -z "$as_dir" && as_dir=.
45997 for ac_exec_ext in '' $ac_executable_extensions; do
45998 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45999 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46000 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
46001 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46002 break 2
46003 fi
46004 done
46005 done
46006 +IFS=$as_save_IFS
46007
46008 fi
46009 fi
46010 STRIP=$ac_cv_prog_STRIP
46011 if test -n "$STRIP"; then
46012 - echo "$as_me:$LINENO: result: $STRIP" >&5
46013 -echo "${ECHO_T}$STRIP" >&6
46014 + { echo "$as_me:$LINENO: result: $STRIP" >&5
46015 +echo "${ECHO_T}$STRIP" >&6; }
46016 else
46017 - echo "$as_me:$LINENO: result: no" >&5
46018 -echo "${ECHO_T}no" >&6
46019 + { echo "$as_me:$LINENO: result: no" >&5
46020 +echo "${ECHO_T}no" >&6; }
46021 fi
46022
46023 +
46024 fi
46025 if test -z "$ac_cv_prog_STRIP"; then
46026 ac_ct_STRIP=$STRIP
46027 # Extract the first word of "strip", so it can be a program name with args.
46028 set dummy strip; ac_word=$2
46029 -echo "$as_me:$LINENO: checking for $ac_word" >&5
46030 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46031 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
46032 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46033 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
46034 echo $ECHO_N "(cached) $ECHO_C" >&6
46035 else
46036 @@ -3808,27 +4323,41 @@ do
46037 IFS=$as_save_IFS
46038 test -z "$as_dir" && as_dir=.
46039 for ac_exec_ext in '' $ac_executable_extensions; do
46040 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46041 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46042 ac_cv_prog_ac_ct_STRIP="strip"
46043 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46044 break 2
46045 fi
46046 done
46047 done
46048 +IFS=$as_save_IFS
46049
46050 - test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
46051 fi
46052 fi
46053 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
46054 if test -n "$ac_ct_STRIP"; then
46055 - echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
46056 -echo "${ECHO_T}$ac_ct_STRIP" >&6
46057 + { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
46058 +echo "${ECHO_T}$ac_ct_STRIP" >&6; }
46059 else
46060 - echo "$as_me:$LINENO: result: no" >&5
46061 -echo "${ECHO_T}no" >&6
46062 + { echo "$as_me:$LINENO: result: no" >&5
46063 +echo "${ECHO_T}no" >&6; }
46064 fi
46065
46066 - STRIP=$ac_ct_STRIP
46067 + if test "x$ac_ct_STRIP" = x; then
46068 + STRIP=":"
46069 + else
46070 + case $cross_compiling:$ac_tool_warned in
46071 +yes:)
46072 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
46073 +whose name does not start with the host triplet. If you think this
46074 +configuration is useful to you, please write to autoconf@gnu.org." >&5
46075 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
46076 +whose name does not start with the host triplet. If you think this
46077 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
46078 +ac_tool_warned=yes ;;
46079 +esac
46080 + STRIP=$ac_ct_STRIP
46081 + fi
46082 else
46083 STRIP="$ac_cv_prog_STRIP"
46084 fi
46085 @@ -3843,22 +4372,22 @@ test "$GCC" = yes && libtool_flags="$lib
46086 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
46087
46088
46089 -# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
46090 +# Check whether --enable-libtool-lock was given.
46091 if test "${enable_libtool_lock+set}" = set; then
46092 - enableval="$enable_libtool_lock"
46093 + enableval=$enable_libtool_lock;
46094 +fi
46095
46096 -fi;
46097 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
46098 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
46099
46100
46101 -# Check whether --with-pic or --without-pic was given.
46102 +# Check whether --with-pic was given.
46103 if test "${with_pic+set}" = set; then
46104 - withval="$with_pic"
46105 - pic_mode="$withval"
46106 + withval=$with_pic; pic_mode="$withval"
46107 else
46108 pic_mode=default
46109 -fi;
46110 +fi
46111 +
46112 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
46113 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
46114
46115 @@ -3867,7 +4396,7 @@ test x"$pic_mode" = xno && libtool_flags
46116 case $host in
46117 *-*-irix6*)
46118 # Find out which ABI we are using.
46119 - echo '#line 3870 "configure"' > conftest.$ac_ext
46120 + echo '#line 4399 "configure"' > conftest.$ac_ext
46121 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46122 (eval $ac_compile) 2>&5
46123 ac_status=$?
46124 @@ -3972,13 +4501,12 @@ x86_64-*linux*|ppc*-*linux*|powerpc*-*li
46125 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
46126 SAVE_CFLAGS="$CFLAGS"
46127 CFLAGS="$CFLAGS -belf"
46128 - echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
46129 -echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
46130 + { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
46131 +echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
46132 if test "${lt_cv_cc_needs_belf+set}" = set; then
46133 echo $ECHO_N "(cached) $ECHO_C" >&6
46134 else
46135
46136 -
46137 ac_ext=c
46138 ac_cpp='$CPP $CPPFLAGS'
46139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46140 @@ -4001,35 +4529,32 @@ main ()
46141 }
46142 _ACEOF
46143 rm -f conftest.$ac_objext conftest$ac_exeext
46144 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46145 - (eval $ac_link) 2>conftest.er1
46146 +if { (ac_try="$ac_link"
46147 +case "(($ac_try" in
46148 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46149 + *) ac_try_echo=$ac_try;;
46150 +esac
46151 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46152 + (eval "$ac_link") 2>conftest.er1
46153 ac_status=$?
46154 grep -v '^ *+' conftest.er1 >conftest.err
46155 rm -f conftest.er1
46156 cat conftest.err >&5
46157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46158 - (exit $ac_status); } &&
46159 - { ac_try='test -z "$ac_c_werror_flag"
46160 - || test ! -s conftest.err'
46161 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46162 - (eval $ac_try) 2>&5
46163 - ac_status=$?
46164 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
46165 - (exit $ac_status); }; } &&
46166 - { ac_try='test -s conftest$ac_exeext'
46167 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46168 - (eval $ac_try) 2>&5
46169 - ac_status=$?
46170 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
46171 - (exit $ac_status); }; }; then
46172 + (exit $ac_status); } && {
46173 + test -z "$ac_c_werror_flag" ||
46174 + test ! -s conftest.err
46175 + } && test -s conftest$ac_exeext &&
46176 + $as_test_x conftest$ac_exeext; then
46177 lt_cv_cc_needs_belf=yes
46178 else
46179 echo "$as_me: failed program was:" >&5
46180 sed 's/^/| /' conftest.$ac_ext >&5
46181
46182 -lt_cv_cc_needs_belf=no
46183 + lt_cv_cc_needs_belf=no
46184 fi
46185 -rm -f conftest.err conftest.$ac_objext \
46186 +
46187 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46188 conftest$ac_exeext conftest.$ac_ext
46189 ac_ext=c
46190 ac_cpp='$CPP $CPPFLAGS'
46191 @@ -4038,8 +4563,8 @@ ac_link='$CC -o conftest$ac_exeext $CFLA
46192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46193
46194 fi
46195 -echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
46196 -echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
46197 +{ echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
46198 +echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
46199 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
46200 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
46201 CFLAGS="$SAVE_CFLAGS"
46202 @@ -4069,39 +4594,58 @@ _ACEOF
46203
46204 # The following way of writing the cache mishandles newlines in values,
46205 # but we know of no workaround that is simple, portable, and efficient.
46206 -# So, don't put newlines in cache variables' values.
46207 +# So, we kill variables containing newlines.
46208 # Ultrix sh set writes to stderr and can't be redirected directly,
46209 # and sets the high bit in the cache file unless we assign to the vars.
46210 -{
46211 +(
46212 + for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
46213 + eval ac_val=\$$ac_var
46214 + case $ac_val in #(
46215 + *${as_nl}*)
46216 + case $ac_var in #(
46217 + *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
46218 +echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
46219 + esac
46220 + case $ac_var in #(
46221 + _ | IFS | as_nl) ;; #(
46222 + *) $as_unset $ac_var ;;
46223 + esac ;;
46224 + esac
46225 + done
46226 +
46227 (set) 2>&1 |
46228 - case `(ac_space=' '; set | grep ac_space) 2>&1` in
46229 - *ac_space=\ *)
46230 + case $as_nl`(ac_space=' '; set) 2>&1` in #(
46231 + *${as_nl}ac_space=\ *)
46232 # `set' does not quote correctly, so add quotes (double-quote
46233 # substitution turns \\\\ into \\, and sed turns \\ into \).
46234 sed -n \
46235 "s/'/'\\\\''/g;
46236 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
46237 - ;;
46238 + ;; #(
46239 *)
46240 # `set' quotes correctly as required by POSIX, so do not add quotes.
46241 - sed -n \
46242 - "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
46243 + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
46244 ;;
46245 - esac;
46246 -} |
46247 + esac |
46248 + sort
46249 +) |
46250 sed '
46251 + /^ac_cv_env_/b end
46252 t clear
46253 - : clear
46254 + :clear
46255 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
46256 t end
46257 - /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
46258 - : end' >>confcache
46259 -if diff $cache_file confcache >/dev/null 2>&1; then :; else
46260 - if test -w $cache_file; then
46261 - test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
46262 + s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
46263 + :end' >>confcache
46264 +if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
46265 + if test -w "$cache_file"; then
46266 + test "x$cache_file" != "x/dev/null" &&
46267 + { echo "$as_me:$LINENO: updating cache $cache_file" >&5
46268 +echo "$as_me: updating cache $cache_file" >&6;}
46269 cat confcache >$cache_file
46270 else
46271 - echo "not updating unwritable cache $cache_file"
46272 + { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
46273 +echo "$as_me: not updating unwritable cache $cache_file" >&6;}
46274 fi
46275 fi
46276 rm -f confcache
46277 @@ -4127,8 +4671,8 @@ if test -r "$cache_file"; then
46278 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
46279 echo "$as_me: loading cache $cache_file" >&6;}
46280 case $cache_file in
46281 - [\\/]* | ?:[\\/]* ) . $cache_file;;
46282 - *) . ./$cache_file;;
46283 + [\\/]* | ?:[\\/]* ) . "$cache_file";;
46284 + *) . "./$cache_file";;
46285 esac
46286 fi
46287 else
46288 @@ -4154,10 +4698,9 @@ exec 5>>./config.log
46289
46290
46291
46292 -# Check whether --enable-targets or --disable-targets was given.
46293 +# Check whether --enable-targets was given.
46294 if test "${enable_targets+set}" = set; then
46295 - enableval="$enable_targets"
46296 - case "${enableval}" in
46297 + enableval=$enable_targets; case "${enableval}" in
46298 yes | "") { { echo "$as_me:$LINENO: error: enable-targets option must specify target names or 'all'" >&5
46299 echo "$as_me: error: enable-targets option must specify target names or 'all'" >&2;}
46300 { (exit 1); exit 1; }; }
46301 @@ -4165,33 +4708,34 @@ echo "$as_me: error: enable-targets opti
46302 no) enable_targets= ;;
46303 *) enable_targets=$enableval ;;
46304 esac
46305 -fi; # Check whether --enable-commonbfdlib or --disable-commonbfdlib was given.
46306 +fi
46307 +# Check whether --enable-commonbfdlib was given.
46308 if test "${enable_commonbfdlib+set}" = set; then
46309 - enableval="$enable_commonbfdlib"
46310 - case "${enableval}" in
46311 + enableval=$enable_commonbfdlib; case "${enableval}" in
46312 yes) commonbfdlib=true ;;
46313 no) commonbfdlib=false ;;
46314 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for BFD commonbfdlib option" >&5
46315 echo "$as_me: error: bad value ${enableval} for BFD commonbfdlib option" >&2;}
46316 { (exit 1); exit 1; }; } ;;
46317 esac
46318 -fi;
46319 +fi
46320 +
46321 using_cgen=no
46322
46323
46324 GCC_WARN_CFLAGS="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
46325
46326 -# Check whether --enable-werror or --disable-werror was given.
46327 +# Check whether --enable-werror was given.
46328 if test "${enable_werror+set}" = set; then
46329 - enableval="$enable_werror"
46330 - case "${enableval}" in
46331 + enableval=$enable_werror; case "${enableval}" in
46332 yes | y) ERROR_ON_WARNING="yes" ;;
46333 no | n) ERROR_ON_WARNING="no" ;;
46334 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-werror" >&5
46335 echo "$as_me: error: bad value ${enableval} for --enable-werror" >&2;}
46336 { (exit 1); exit 1; }; } ;;
46337 esac
46338 -fi;
46339 +fi
46340 +
46341
46342 # Enable -Werror by default when using gcc
46343 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
46344 @@ -4208,10 +4752,9 @@ if test "${GCC}" = yes ; then
46345 WARN_CFLAGS="${GCC_WARN_CFLAGS}"
46346 fi
46347
46348 -# Check whether --enable-build-warnings or --disable-build-warnings was given.
46349 +# Check whether --enable-build-warnings was given.
46350 if test "${enable_build_warnings+set}" = set; then
46351 - enableval="$enable_build_warnings"
46352 - case "${enableval}" in
46353 + enableval=$enable_build_warnings; case "${enableval}" in
46354 yes) WARN_CFLAGS="${GCC_WARN_CFLAGS}";;
46355 no) if test "${GCC}" = yes ; then
46356 WARN_CFLAGS="-w"
46357 @@ -4222,7 +4765,8 @@ if test "${enable_build_warnings+set}" =
46358 WARN_CFLAGS="${t} ${GCC_WARN_CFLAGS}";;
46359 *) WARN_CFLAGS=`echo "${enableval}" | sed -e "s/,/ /g"`;;
46360 esac
46361 -fi;
46362 +fi
46363 +
46364
46365 if test x"$silent" != x"yes" && test x"$WARN_CFLAGS" != x""; then
46366 echo "Setting warning flags = $WARN_CFLAGS" 6>&1
46367 @@ -4233,7 +4777,7 @@ fi
46368
46369
46370 # Generate a header file
46371 - ac_config_headers="$ac_config_headers config.h:config.in"
46372 +ac_config_headers="$ac_config_headers config.h:config.in"
46373
46374
46375 # If we are on a DOS filesystem, we must use gdb.ini rather than
46376 @@ -4241,789 +4785,913 @@ fi
46377 case "${host}" in
46378 *-*-msdos* | *-*-go32* | *-*-mingw32* | *-*-windows*)
46379 GDBINIT="gdb.ini"
46380 - ac_config_files="$ac_config_files gdb.ini:gdbinit.in"
46381 + ac_config_files="$ac_config_files gdb.ini:gdbinit.in"
46382
46383 ;;
46384 *)
46385 GDBINIT=".gdbinit"
46386 - ac_config_files="$ac_config_files .gdbinit:gdbinit.in"
46387 + ac_config_files="$ac_config_files .gdbinit:gdbinit.in"
46388
46389 ;;
46390 esac
46391
46392
46393 #We need this for the host. BOUT header is in host order.
46394 -echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
46395 -echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
46396 -if test "${ac_cv_c_bigendian+set}" = set; then
46397 +ac_ext=c
46398 +ac_cpp='$CPP $CPPFLAGS'
46399 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46400 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46401 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
46402 +{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
46403 +echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
46404 +# On Suns, sometimes $CPP names a directory.
46405 +if test -n "$CPP" && test -d "$CPP"; then
46406 + CPP=
46407 +fi
46408 +if test -z "$CPP"; then
46409 + if test "${ac_cv_prog_CPP+set}" = set; then
46410 echo $ECHO_N "(cached) $ECHO_C" >&6
46411 else
46412 - # See if sys/param.h defines the BYTE_ORDER macro.
46413 -cat >conftest.$ac_ext <<_ACEOF
46414 + # Double quotes because CPP needs to be expanded
46415 + for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
46416 + do
46417 + ac_preproc_ok=false
46418 +for ac_c_preproc_warn_flag in '' yes
46419 +do
46420 + # Use a header file that comes with gcc, so configuring glibc
46421 + # with a fresh cross-compiler works.
46422 + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46423 + # <limits.h> exists even on freestanding compilers.
46424 + # On the NeXT, cc -E runs the code through the compiler's parser,
46425 + # not just through cpp. "Syntax error" is here to catch this case.
46426 + cat >conftest.$ac_ext <<_ACEOF
46427 /* confdefs.h. */
46428 _ACEOF
46429 cat confdefs.h >>conftest.$ac_ext
46430 cat >>conftest.$ac_ext <<_ACEOF
46431 /* end confdefs.h. */
46432 -#include <sys/types.h>
46433 -#include <sys/param.h>
46434 -
46435 -int
46436 -main ()
46437 -{
46438 -#if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
46439 - bogus endian macros
46440 +#ifdef __STDC__
46441 +# include <limits.h>
46442 +#else
46443 +# include <assert.h>
46444 #endif
46445 -
46446 - ;
46447 - return 0;
46448 -}
46449 + Syntax error
46450 _ACEOF
46451 -rm -f conftest.$ac_objext
46452 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46453 - (eval $ac_compile) 2>conftest.er1
46454 +if { (ac_try="$ac_cpp conftest.$ac_ext"
46455 +case "(($ac_try" in
46456 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46457 + *) ac_try_echo=$ac_try;;
46458 +esac
46459 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46460 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
46461 ac_status=$?
46462 grep -v '^ *+' conftest.er1 >conftest.err
46463 rm -f conftest.er1
46464 cat conftest.err >&5
46465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46466 - (exit $ac_status); } &&
46467 - { ac_try='test -z "$ac_c_werror_flag"
46468 - || test ! -s conftest.err'
46469 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46470 - (eval $ac_try) 2>&5
46471 - ac_status=$?
46472 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
46473 - (exit $ac_status); }; } &&
46474 - { ac_try='test -s conftest.$ac_objext'
46475 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46476 - (eval $ac_try) 2>&5
46477 - ac_status=$?
46478 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
46479 - (exit $ac_status); }; }; then
46480 - # It does; now see whether it defined to BIG_ENDIAN or not.
46481 -cat >conftest.$ac_ext <<_ACEOF
46482 + (exit $ac_status); } >/dev/null && {
46483 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
46484 + test ! -s conftest.err
46485 + }; then
46486 + :
46487 +else
46488 + echo "$as_me: failed program was:" >&5
46489 +sed 's/^/| /' conftest.$ac_ext >&5
46490 +
46491 + # Broken: fails on valid input.
46492 +continue
46493 +fi
46494 +
46495 +rm -f conftest.err conftest.$ac_ext
46496 +
46497 + # OK, works on sane cases. Now check whether nonexistent headers
46498 + # can be detected and how.
46499 + cat >conftest.$ac_ext <<_ACEOF
46500 /* confdefs.h. */
46501 _ACEOF
46502 cat confdefs.h >>conftest.$ac_ext
46503 cat >>conftest.$ac_ext <<_ACEOF
46504 /* end confdefs.h. */
46505 -#include <sys/types.h>
46506 -#include <sys/param.h>
46507 -
46508 -int
46509 -main ()
46510 -{
46511 -#if BYTE_ORDER != BIG_ENDIAN
46512 - not big endian
46513 -#endif
46514 -
46515 - ;
46516 - return 0;
46517 -}
46518 +#include <ac_nonexistent.h>
46519 _ACEOF
46520 -rm -f conftest.$ac_objext
46521 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46522 - (eval $ac_compile) 2>conftest.er1
46523 +if { (ac_try="$ac_cpp conftest.$ac_ext"
46524 +case "(($ac_try" in
46525 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46526 + *) ac_try_echo=$ac_try;;
46527 +esac
46528 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46529 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
46530 ac_status=$?
46531 grep -v '^ *+' conftest.er1 >conftest.err
46532 rm -f conftest.er1
46533 cat conftest.err >&5
46534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46535 - (exit $ac_status); } &&
46536 - { ac_try='test -z "$ac_c_werror_flag"
46537 - || test ! -s conftest.err'
46538 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46539 - (eval $ac_try) 2>&5
46540 - ac_status=$?
46541 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
46542 - (exit $ac_status); }; } &&
46543 - { ac_try='test -s conftest.$ac_objext'
46544 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46545 - (eval $ac_try) 2>&5
46546 - ac_status=$?
46547 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
46548 - (exit $ac_status); }; }; then
46549 - ac_cv_c_bigendian=yes
46550 + (exit $ac_status); } >/dev/null && {
46551 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
46552 + test ! -s conftest.err
46553 + }; then
46554 + # Broken: success on invalid input.
46555 +continue
46556 else
46557 echo "$as_me: failed program was:" >&5
46558 sed 's/^/| /' conftest.$ac_ext >&5
46559
46560 -ac_cv_c_bigendian=no
46561 + # Passes both tests.
46562 +ac_preproc_ok=:
46563 +break
46564 fi
46565 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46566 -else
46567 - echo "$as_me: failed program was:" >&5
46568 -sed 's/^/| /' conftest.$ac_ext >&5
46569
46570 -# It does not; compile a test program.
46571 -if test "$cross_compiling" = yes; then
46572 - # try to guess the endianness by grepping values into an object file
46573 - ac_cv_c_bigendian=unknown
46574 +rm -f conftest.err conftest.$ac_ext
46575 +
46576 +done
46577 +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
46578 +rm -f conftest.err conftest.$ac_ext
46579 +if $ac_preproc_ok; then
46580 + break
46581 +fi
46582 +
46583 + done
46584 + ac_cv_prog_CPP=$CPP
46585 +
46586 +fi
46587 + CPP=$ac_cv_prog_CPP
46588 +else
46589 + ac_cv_prog_CPP=$CPP
46590 +fi
46591 +{ echo "$as_me:$LINENO: result: $CPP" >&5
46592 +echo "${ECHO_T}$CPP" >&6; }
46593 +ac_preproc_ok=false
46594 +for ac_c_preproc_warn_flag in '' yes
46595 +do
46596 + # Use a header file that comes with gcc, so configuring glibc
46597 + # with a fresh cross-compiler works.
46598 + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46599 + # <limits.h> exists even on freestanding compilers.
46600 + # On the NeXT, cc -E runs the code through the compiler's parser,
46601 + # not just through cpp. "Syntax error" is here to catch this case.
46602 cat >conftest.$ac_ext <<_ACEOF
46603 /* confdefs.h. */
46604 _ACEOF
46605 cat confdefs.h >>conftest.$ac_ext
46606 cat >>conftest.$ac_ext <<_ACEOF
46607 /* end confdefs.h. */
46608 -short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
46609 -short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
46610 -void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
46611 -short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
46612 -short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
46613 -void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
46614 -int
46615 -main ()
46616 -{
46617 - _ascii (); _ebcdic ();
46618 - ;
46619 - return 0;
46620 -}
46621 +#ifdef __STDC__
46622 +# include <limits.h>
46623 +#else
46624 +# include <assert.h>
46625 +#endif
46626 + Syntax error
46627 _ACEOF
46628 -rm -f conftest.$ac_objext
46629 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46630 - (eval $ac_compile) 2>conftest.er1
46631 +if { (ac_try="$ac_cpp conftest.$ac_ext"
46632 +case "(($ac_try" in
46633 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46634 + *) ac_try_echo=$ac_try;;
46635 +esac
46636 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46637 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
46638 ac_status=$?
46639 grep -v '^ *+' conftest.er1 >conftest.err
46640 rm -f conftest.er1
46641 cat conftest.err >&5
46642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46643 - (exit $ac_status); } &&
46644 - { ac_try='test -z "$ac_c_werror_flag"
46645 - || test ! -s conftest.err'
46646 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46647 - (eval $ac_try) 2>&5
46648 - ac_status=$?
46649 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
46650 - (exit $ac_status); }; } &&
46651 - { ac_try='test -s conftest.$ac_objext'
46652 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46653 - (eval $ac_try) 2>&5
46654 - ac_status=$?
46655 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
46656 - (exit $ac_status); }; }; then
46657 - if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
46658 - ac_cv_c_bigendian=yes
46659 -fi
46660 -if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
46661 - if test "$ac_cv_c_bigendian" = unknown; then
46662 - ac_cv_c_bigendian=no
46663 - else
46664 - # finding both strings is unlikely to happen, but who knows?
46665 - ac_cv_c_bigendian=unknown
46666 - fi
46667 -fi
46668 + (exit $ac_status); } >/dev/null && {
46669 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
46670 + test ! -s conftest.err
46671 + }; then
46672 + :
46673 else
46674 echo "$as_me: failed program was:" >&5
46675 sed 's/^/| /' conftest.$ac_ext >&5
46676
46677 + # Broken: fails on valid input.
46678 +continue
46679 fi
46680 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46681 -else
46682 +
46683 +rm -f conftest.err conftest.$ac_ext
46684 +
46685 + # OK, works on sane cases. Now check whether nonexistent headers
46686 + # can be detected and how.
46687 cat >conftest.$ac_ext <<_ACEOF
46688 /* confdefs.h. */
46689 _ACEOF
46690 cat confdefs.h >>conftest.$ac_ext
46691 cat >>conftest.$ac_ext <<_ACEOF
46692 /* end confdefs.h. */
46693 -int
46694 -main ()
46695 -{
46696 - /* Are we little or big endian? From Harbison&Steele. */
46697 - union
46698 - {
46699 - long l;
46700 - char c[sizeof (long)];
46701 - } u;
46702 - u.l = 1;
46703 - exit (u.c[sizeof (long) - 1] == 1);
46704 -}
46705 +#include <ac_nonexistent.h>
46706 _ACEOF
46707 -rm -f conftest$ac_exeext
46708 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46709 - (eval $ac_link) 2>&5
46710 - ac_status=$?
46711 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
46712 - (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
46713 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46714 - (eval $ac_try) 2>&5
46715 +if { (ac_try="$ac_cpp conftest.$ac_ext"
46716 +case "(($ac_try" in
46717 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46718 + *) ac_try_echo=$ac_try;;
46719 +esac
46720 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46721 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
46722 ac_status=$?
46723 + grep -v '^ *+' conftest.er1 >conftest.err
46724 + rm -f conftest.er1
46725 + cat conftest.err >&5
46726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46727 - (exit $ac_status); }; }; then
46728 - ac_cv_c_bigendian=no
46729 + (exit $ac_status); } >/dev/null && {
46730 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
46731 + test ! -s conftest.err
46732 + }; then
46733 + # Broken: success on invalid input.
46734 +continue
46735 else
46736 - echo "$as_me: program exited with status $ac_status" >&5
46737 -echo "$as_me: failed program was:" >&5
46738 + echo "$as_me: failed program was:" >&5
46739 sed 's/^/| /' conftest.$ac_ext >&5
46740
46741 -( exit $ac_status )
46742 -ac_cv_c_bigendian=yes
46743 -fi
46744 -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
46745 -fi
46746 -fi
46747 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46748 + # Passes both tests.
46749 +ac_preproc_ok=:
46750 +break
46751 fi
46752 -echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
46753 -echo "${ECHO_T}$ac_cv_c_bigendian" >&6
46754 -case $ac_cv_c_bigendian in
46755 - yes)
46756
46757 -cat >>confdefs.h <<\_ACEOF
46758 -#define WORDS_BIGENDIAN 1
46759 -_ACEOF
46760 - ;;
46761 - no)
46762 - ;;
46763 - *)
46764 - { { echo "$as_me:$LINENO: error: unknown endianness
46765 -presetting ac_cv_c_bigendian=no (or yes) will help" >&5
46766 -echo "$as_me: error: unknown endianness
46767 -presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
46768 - { (exit 1); exit 1; }; } ;;
46769 -esac
46770 +rm -f conftest.err conftest.$ac_ext
46771
46772 +done
46773 +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
46774 +rm -f conftest.err conftest.$ac_ext
46775 +if $ac_preproc_ok; then
46776 + :
46777 +else
46778 + { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
46779 +See \`config.log' for more details." >&5
46780 +echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
46781 +See \`config.log' for more details." >&2;}
46782 + { (exit 1); exit 1; }; }
46783 +fi
46784
46785 -te_file=generic
46786 +ac_ext=c
46787 +ac_cpp='$CPP $CPPFLAGS'
46788 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46789 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46790 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
46791
46792 -# Makefile target for installing gas in $(tooldir)/bin.
46793 -install_tooldir=install-exec-tooldir
46794
46795 -canon_targets=""
46796 -all_targets=no
46797 -if test -n "$enable_targets" ; then
46798 - for t in `echo $enable_targets | sed 's/,/ /g'`; do
46799 - if test $t = "all"; then
46800 - all_targets=yes
46801 - continue
46802 - fi
46803 - result=`$ac_config_sub $t 2>/dev/null`
46804 - if test -n "$result" ; then
46805 - canon_targets="$canon_targets $result"
46806 -# else
46807 -# # Permit "all", etc. We don't support it yet though.
46808 -# canon_targets="$canon_targets $t"
46809 +{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
46810 +echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
46811 +if test "${ac_cv_path_GREP+set}" = set; then
46812 + echo $ECHO_N "(cached) $ECHO_C" >&6
46813 +else
46814 + # Extract the first word of "grep ggrep" to use in msg output
46815 +if test -z "$GREP"; then
46816 +set dummy grep ggrep; ac_prog_name=$2
46817 +if test "${ac_cv_path_GREP+set}" = set; then
46818 + echo $ECHO_N "(cached) $ECHO_C" >&6
46819 +else
46820 + ac_path_GREP_found=false
46821 +# Loop through the user's path and test for each of PROGNAME-LIST
46822 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46823 +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
46824 +do
46825 + IFS=$as_save_IFS
46826 + test -z "$as_dir" && as_dir=.
46827 + for ac_prog in grep ggrep; do
46828 + for ac_exec_ext in '' $ac_executable_extensions; do
46829 + ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
46830 + { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
46831 + # Check for GNU ac_path_GREP and select it if it is found.
46832 + # Check for GNU $ac_path_GREP
46833 +case `"$ac_path_GREP" --version 2>&1` in
46834 +*GNU*)
46835 + ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
46836 +*)
46837 + ac_count=0
46838 + echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
46839 + while :
46840 + do
46841 + cat "conftest.in" "conftest.in" >"conftest.tmp"
46842 + mv "conftest.tmp" "conftest.in"
46843 + cp "conftest.in" "conftest.nl"
46844 + echo 'GREP' >> "conftest.nl"
46845 + "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
46846 + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
46847 + ac_count=`expr $ac_count + 1`
46848 + if test $ac_count -gt ${ac_path_GREP_max-0}; then
46849 + # Best one so far, save it but keep looking for a better one
46850 + ac_cv_path_GREP="$ac_path_GREP"
46851 + ac_path_GREP_max=$ac_count
46852 fi
46853 + # 10*(2^10) chars as input seems more than enough
46854 + test $ac_count -gt 10 && break
46855 + done
46856 + rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
46857 +esac
46858 +
46859 +
46860 + $ac_path_GREP_found && break 3
46861 done
46862 - _gas_uniq_list="$canon_targets"
46863 -_gas_uniq_newlist=""
46864 -for _gas_uniq_i in _gas_uniq_dummy $_gas_uniq_list ; do
46865 - case $_gas_uniq_i in
46866 - _gas_uniq_dummy) ;;
46867 - *) case " $_gas_uniq_newlist " in
46868 - *" $_gas_uniq_i "*) ;;
46869 - *) _gas_uniq_newlist="$_gas_uniq_newlist $_gas_uniq_i" ;;
46870 - esac ;;
46871 - esac
46872 done
46873 -canon_targets=$_gas_uniq_newlist
46874
46875 -fi
46876 +done
46877 +IFS=$as_save_IFS
46878
46879 -emulations=""
46880
46881 -for this_target in $target $canon_targets ; do
46882 +fi
46883
46884 - targ=${this_target}
46885 - . ${srcdir}/configure.tgt
46886 +GREP="$ac_cv_path_GREP"
46887 +if test -z "$GREP"; then
46888 + { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
46889 +echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
46890 + { (exit 1); exit 1; }; }
46891 +fi
46892
46893 - case ${target_cpu} in
46894 - crisv32)
46895 +else
46896 + ac_cv_path_GREP=$GREP
46897 +fi
46898
46899 -cat >>confdefs.h <<_ACEOF
46900 -#define DEFAULT_CRIS_ARCH $arch
46901 -_ACEOF
46902
46903 - ;;
46904 - esac
46905 +fi
46906 +{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
46907 +echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
46908 + GREP="$ac_cv_path_GREP"
46909
46910 - if test ${this_target} = $target ; then
46911 - target_cpu_type=${cpu_type}
46912 - elif test ${target_cpu_type} != ${cpu_type} ; then
46913 - continue
46914 +
46915 +{ echo "$as_me:$LINENO: checking for egrep" >&5
46916 +echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
46917 +if test "${ac_cv_path_EGREP+set}" = set; then
46918 + echo $ECHO_N "(cached) $ECHO_C" >&6
46919 +else
46920 + if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
46921 + then ac_cv_path_EGREP="$GREP -E"
46922 + else
46923 + # Extract the first word of "egrep" to use in msg output
46924 +if test -z "$EGREP"; then
46925 +set dummy egrep; ac_prog_name=$2
46926 +if test "${ac_cv_path_EGREP+set}" = set; then
46927 + echo $ECHO_N "(cached) $ECHO_C" >&6
46928 +else
46929 + ac_path_EGREP_found=false
46930 +# Loop through the user's path and test for each of PROGNAME-LIST
46931 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46932 +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
46933 +do
46934 + IFS=$as_save_IFS
46935 + test -z "$as_dir" && as_dir=.
46936 + for ac_prog in egrep; do
46937 + for ac_exec_ext in '' $ac_executable_extensions; do
46938 + ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
46939 + { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
46940 + # Check for GNU ac_path_EGREP and select it if it is found.
46941 + # Check for GNU $ac_path_EGREP
46942 +case `"$ac_path_EGREP" --version 2>&1` in
46943 +*GNU*)
46944 + ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
46945 +*)
46946 + ac_count=0
46947 + echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
46948 + while :
46949 + do
46950 + cat "conftest.in" "conftest.in" >"conftest.tmp"
46951 + mv "conftest.tmp" "conftest.in"
46952 + cp "conftest.in" "conftest.nl"
46953 + echo 'EGREP' >> "conftest.nl"
46954 + "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
46955 + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
46956 + ac_count=`expr $ac_count + 1`
46957 + if test $ac_count -gt ${ac_path_EGREP_max-0}; then
46958 + # Best one so far, save it but keep looking for a better one
46959 + ac_cv_path_EGREP="$ac_path_EGREP"
46960 + ac_path_EGREP_max=$ac_count
46961 fi
46962 + # 10*(2^10) chars as input seems more than enough
46963 + test $ac_count -gt 10 && break
46964 + done
46965 + rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
46966 +esac
46967
46968 - generic_target=${cpu_type}-${target_vendor}-${target_os}
46969 - case ${generic_target} in
46970 - i386-*-sco3.2v5*)
46971 - if test ${this_target} = $target; then
46972
46973 -cat >>confdefs.h <<\_ACEOF
46974 -#define SCO_ELF 1
46975 -_ACEOF
46976 + $ac_path_EGREP_found && break 3
46977 + done
46978 +done
46979
46980 - fi
46981 - ;;
46982 +done
46983 +IFS=$as_save_IFS
46984
46985 - i386-*-msdosdjgpp* \
46986 - | i386-*-go32* \
46987 - | i386-go32-rtems*)
46988
46989 -cat >>confdefs.h <<\_ACEOF
46990 -#define STRICTCOFF 1
46991 -_ACEOF
46992 +fi
46993
46994 - ;;
46995 +EGREP="$ac_cv_path_EGREP"
46996 +if test -z "$EGREP"; then
46997 + { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
46998 +echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
46999 + { (exit 1); exit 1; }; }
47000 +fi
47001
47002 - i860-*-*)
47003 - { echo "$as_me:$LINENO: WARNING: GAS support for ${generic_target} is preliminary and a work in progress" >&5
47004 -echo "$as_me: WARNING: GAS support for ${generic_target} is preliminary and a work in progress" >&2;}
47005 - ;;
47006 +else
47007 + ac_cv_path_EGREP=$EGREP
47008 +fi
47009
47010 - mips-sony-bsd*)
47011 - ;;
47012 - mips-*-bsd*)
47013 - { { echo "$as_me:$LINENO: error: Unknown vendor for mips-bsd configuration." >&5
47014 -echo "$as_me: error: Unknown vendor for mips-bsd configuration." >&2;}
47015 - { (exit 1); exit 1; }; }
47016 - ;;
47017
47018 - ppc-*-aix5.*)
47019 + fi
47020 +fi
47021 +{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
47022 +echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
47023 + EGREP="$ac_cv_path_EGREP"
47024
47025 -cat >>confdefs.h <<\_ACEOF
47026 -#define AIX_WEAK_SUPPORT 1
47027 +
47028 +{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
47029 +echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
47030 +if test "${ac_cv_header_stdc+set}" = set; then
47031 + echo $ECHO_N "(cached) $ECHO_C" >&6
47032 +else
47033 + cat >conftest.$ac_ext <<_ACEOF
47034 +/* confdefs.h. */
47035 _ACEOF
47036 +cat confdefs.h >>conftest.$ac_ext
47037 +cat >>conftest.$ac_ext <<_ACEOF
47038 +/* end confdefs.h. */
47039 +#include <stdlib.h>
47040 +#include <stdarg.h>
47041 +#include <string.h>
47042 +#include <float.h>
47043
47044 - ;;
47045 - ppc-*-linux-*)
47046 - case "$endian" in
47047 - big) ;;
47048 - *) { { echo "$as_me:$LINENO: error: GNU/Linux must be configured big endian" >&5
47049 -echo "$as_me: error: GNU/Linux must be configured big endian" >&2;}
47050 - { (exit 1); exit 1; }; } ;;
47051 - esac
47052 - ;;
47053 - ppc-*-solaris*)
47054 - if test ${this_target} = $target; then
47055 +int
47056 +main ()
47057 +{
47058
47059 -cat >>confdefs.h <<\_ACEOF
47060 -#define TARGET_SOLARIS_COMMENT 1
47061 + ;
47062 + return 0;
47063 +}
47064 _ACEOF
47065 +rm -f conftest.$ac_objext
47066 +if { (ac_try="$ac_compile"
47067 +case "(($ac_try" in
47068 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47069 + *) ac_try_echo=$ac_try;;
47070 +esac
47071 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47072 + (eval "$ac_compile") 2>conftest.er1
47073 + ac_status=$?
47074 + grep -v '^ *+' conftest.er1 >conftest.err
47075 + rm -f conftest.er1
47076 + cat conftest.err >&5
47077 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
47078 + (exit $ac_status); } && {
47079 + test -z "$ac_c_werror_flag" ||
47080 + test ! -s conftest.err
47081 + } && test -s conftest.$ac_objext; then
47082 + ac_cv_header_stdc=yes
47083 +else
47084 + echo "$as_me: failed program was:" >&5
47085 +sed 's/^/| /' conftest.$ac_ext >&5
47086
47087 - fi
47088 - if test x${endian} = xbig; then
47089 - { { echo "$as_me:$LINENO: error: Solaris must be configured little endian" >&5
47090 -echo "$as_me: error: Solaris must be configured little endian" >&2;}
47091 - { (exit 1); exit 1; }; }
47092 - fi
47093 - ;;
47094 + ac_cv_header_stdc=no
47095 +fi
47096
47097 - sh*-*-symbianelf*)
47098 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47099
47100 -cat >>confdefs.h <<\_ACEOF
47101 -#define TARGET_SYMBIAN 1
47102 +if test $ac_cv_header_stdc = yes; then
47103 + # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
47104 + cat >conftest.$ac_ext <<_ACEOF
47105 +/* confdefs.h. */
47106 _ACEOF
47107 +cat confdefs.h >>conftest.$ac_ext
47108 +cat >>conftest.$ac_ext <<_ACEOF
47109 +/* end confdefs.h. */
47110 +#include <string.h>
47111
47112 - ;;
47113 - esac
47114 +_ACEOF
47115 +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
47116 + $EGREP "memchr" >/dev/null 2>&1; then
47117 + :
47118 +else
47119 + ac_cv_header_stdc=no
47120 +fi
47121 +rm -f conftest*
47122
47123 - if test ${this_target} = $target ; then
47124 - endian_def=
47125 - if test x${endian} = xbig; then
47126 - endian_def=1
47127 - elif test x${endian} = xlittle; then
47128 - endian_def=0
47129 - fi
47130 - if test x${endian_def} != x; then
47131 +fi
47132
47133 -cat >>confdefs.h <<_ACEOF
47134 -#define TARGET_BYTES_BIG_ENDIAN $endian_def
47135 +if test $ac_cv_header_stdc = yes; then
47136 + # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
47137 + cat >conftest.$ac_ext <<_ACEOF
47138 +/* confdefs.h. */
47139 _ACEOF
47140 +cat confdefs.h >>conftest.$ac_ext
47141 +cat >>conftest.$ac_ext <<_ACEOF
47142 +/* end confdefs.h. */
47143 +#include <stdlib.h>
47144
47145 - fi
47146 - fi
47147 +_ACEOF
47148 +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
47149 + $EGREP "free" >/dev/null 2>&1; then
47150 + :
47151 +else
47152 + ac_cv_header_stdc=no
47153 +fi
47154 +rm -f conftest*
47155
47156 -# Other random stuff.
47157 +fi
47158
47159 - case ${cpu_type} in
47160 - mips)
47161 - # Set mips_cpu to the name of the default CPU.
47162 - case ${target_cpu} in
47163 - mips | mipsbe | mipseb | mipsle | mipsel | mips64 | mips64el)
47164 - mips_cpu=from-abi
47165 - ;;
47166 - mipsisa32 | mipsisa32el)
47167 - mips_cpu=mips32
47168 - ;;
47169 - mipsisa32r2 | mipsisa32r2el)
47170 - mips_cpu=mips32r2
47171 - ;;
47172 - mipsisa64 | mipsisa64el)
47173 - mips_cpu=mips64
47174 - ;;
47175 - mipsisa64r2 | mipsisa64r2el)
47176 - mips_cpu=mips64r2
47177 - ;;
47178 - mipstx39 | mipstx39el)
47179 - mips_cpu=r3900
47180 - ;;
47181 - mips64vr | mips64vrel)
47182 - mips_cpu=vr4100
47183 - ;;
47184 - mipsisa32r2* | mipsisa64r2*)
47185 - mips_cpu=`echo $target_cpu | sed -e 's/[a-z]*..r2//' -e 's/el$//'`
47186 - ;;
47187 - mips64* | mipsisa64* | mipsisa32*)
47188 - mips_cpu=`echo $target_cpu | sed -e 's/[a-z]*..//' -e 's/el$//'`
47189 - ;;
47190 - *)
47191 - { { echo "$as_me:$LINENO: error: $target_cpu isn't a supported MIPS CPU name" >&5
47192 -echo "$as_me: error: $target_cpu isn't a supported MIPS CPU name" >&2;}
47193 - { (exit 1); exit 1; }; }
47194 - ;;
47195 - esac
47196 - # See whether it's appropriate to set E_MIPS_ABI_O32 for o32
47197 - # binaries. It's a GNU extension that some OSes don't understand.
47198 - # The value only matters on ELF targets.
47199 - case ${target} in
47200 - *-*-irix*)
47201 - use_e_mips_abi_o32=0
47202 - ;;
47203 - *)
47204 - use_e_mips_abi_o32=1
47205 - ;;
47206 - esac
47207 - # Decide whether to generate 32-bit or 64-bit code by default.
47208 - # Used to resolve -march=from-abi when an embedded ABI is selected.
47209 - case ${target} in
47210 - mips64*-*-* | mipsisa64*-*-*)
47211 - mips_default_64bit=1
47212 - ;;
47213 - *)
47214 - mips_default_64bit=0
47215 - ;;
47216 - esac
47217 - # Decide which ABI to target by default.
47218 - case ${target} in
47219 - mips64*-linux* | mips-sgi-irix6*)
47220 - mips_default_abi=N32_ABI
47221 - ;;
47222 - mips*-linux*)
47223 - mips_default_abi=O32_ABI
47224 - ;;
47225 - mips64*-openbsd*)
47226 - mips_default_abi=N64_ABI
47227 - ;;
47228 - *)
47229 - mips_default_abi=NO_ABI
47230 - ;;
47231 - esac
47232 +if test $ac_cv_header_stdc = yes; then
47233 + # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
47234 + if test "$cross_compiling" = yes; then
47235 + :
47236 +else
47237 + cat >conftest.$ac_ext <<_ACEOF
47238 +/* confdefs.h. */
47239 +_ACEOF
47240 +cat confdefs.h >>conftest.$ac_ext
47241 +cat >>conftest.$ac_ext <<_ACEOF
47242 +/* end confdefs.h. */
47243 +#include <ctype.h>
47244 +#include <stdlib.h>
47245 +#if ((' ' & 0x0FF) == 0x020)
47246 +# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
47247 +# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
47248 +#else
47249 +# define ISLOWER(c) \
47250 + (('a' <= (c) && (c) <= 'i') \
47251 + || ('j' <= (c) && (c) <= 'r') \
47252 + || ('s' <= (c) && (c) <= 'z'))
47253 +# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
47254 +#endif
47255
47256 -cat >>confdefs.h <<_ACEOF
47257 -#define MIPS_CPU_STRING_DEFAULT "$mips_cpu"
47258 +#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
47259 +int
47260 +main ()
47261 +{
47262 + int i;
47263 + for (i = 0; i < 256; i++)
47264 + if (XOR (islower (i), ISLOWER (i))
47265 + || toupper (i) != TOUPPER (i))
47266 + return 2;
47267 + return 0;
47268 +}
47269 _ACEOF
47270 +rm -f conftest$ac_exeext
47271 +if { (ac_try="$ac_link"
47272 +case "(($ac_try" in
47273 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47274 + *) ac_try_echo=$ac_try;;
47275 +esac
47276 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47277 + (eval "$ac_link") 2>&5
47278 + ac_status=$?
47279 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
47280 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
47281 + { (case "(($ac_try" in
47282 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47283 + *) ac_try_echo=$ac_try;;
47284 +esac
47285 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47286 + (eval "$ac_try") 2>&5
47287 + ac_status=$?
47288 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
47289 + (exit $ac_status); }; }; then
47290 + :
47291 +else
47292 + echo "$as_me: program exited with status $ac_status" >&5
47293 +echo "$as_me: failed program was:" >&5
47294 +sed 's/^/| /' conftest.$ac_ext >&5
47295
47296 +( exit $ac_status )
47297 +ac_cv_header_stdc=no
47298 +fi
47299 +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
47300 +fi
47301
47302 -cat >>confdefs.h <<_ACEOF
47303 -#define USE_E_MIPS_ABI_O32 $use_e_mips_abi_o32
47304 -_ACEOF
47305
47306 +fi
47307 +fi
47308 +{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
47309 +echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
47310 +if test $ac_cv_header_stdc = yes; then
47311
47312 -cat >>confdefs.h <<_ACEOF
47313 -#define MIPS_DEFAULT_64BIT $mips_default_64bit
47314 +cat >>confdefs.h <<\_ACEOF
47315 +#define STDC_HEADERS 1
47316 _ACEOF
47317
47318 +fi
47319
47320 -cat >>confdefs.h <<_ACEOF
47321 -#define MIPS_DEFAULT_ABI $mips_default_abi
47322 -_ACEOF
47323 +# On IRIX 5.3, sys/types and inttypes.h are conflicting.
47324
47325 - ;;
47326 - esac
47327
47328 - # Do we need the opcodes library?
47329 - case ${cpu_type} in
47330 - vax | i386 | tic30)
47331 - ;;
47332
47333 - *)
47334 - need_opcodes=yes
47335
47336 - case "${enable_shared}" in
47337 - yes) shared_opcodes=true ;;
47338 - *opcodes*) shared_opcodes=true ;;
47339 - *) shared_opcodes=false ;;
47340 - esac
47341 - ;;
47342 - esac
47343
47344 - # Any other special object files needed ?
47345 - case ${cpu_type} in
47346
47347 - bfin)
47348 - echo ${extra_objects} | grep -s "bfin-parse.o"
47349 - if test $? -ne 0 ; then
47350 - extra_objects="$extra_objects bfin-parse.o"
47351 - fi
47352
47353 - echo ${extra_objects} | grep -s "bfin-lex.o"
47354 - if test $? -ne 0 ; then
47355 - extra_objects="$extra_objects bfin-lex.o"
47356 - fi
47357 - ;;
47358
47359 - fr30 | ip2k | iq2000 | m32r | openrisc)
47360 - using_cgen=yes
47361 - ;;
47362
47363 - m32c)
47364 - using_cgen=yes
47365 - ;;
47366 - frv)
47367 - using_cgen=yes
47368 - ;;
47369 - m68k)
47370 - case ${extra_objects} in
47371 - *m68k-parse.o*) ;;
47372 - *) extra_objects="$extra_objects m68k-parse.o" ;;
47373 - esac
47374 - ;;
47375 +for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
47376 + inttypes.h stdint.h unistd.h
47377 +do
47378 +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
47379 +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
47380 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
47381 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
47382 + echo $ECHO_N "(cached) $ECHO_C" >&6
47383 +else
47384 + cat >conftest.$ac_ext <<_ACEOF
47385 +/* confdefs.h. */
47386 +_ACEOF
47387 +cat confdefs.h >>conftest.$ac_ext
47388 +cat >>conftest.$ac_ext <<_ACEOF
47389 +/* end confdefs.h. */
47390 +$ac_includes_default
47391
47392 - mips)
47393 - echo ${extra_objects} | grep -s "itbl-parse.o"
47394 - if test $? -ne 0 ; then
47395 - extra_objects="$extra_objects itbl-parse.o"
47396 - fi
47397 +#include <$ac_header>
47398 +_ACEOF
47399 +rm -f conftest.$ac_objext
47400 +if { (ac_try="$ac_compile"
47401 +case "(($ac_try" in
47402 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47403 + *) ac_try_echo=$ac_try;;
47404 +esac
47405 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47406 + (eval "$ac_compile") 2>conftest.er1
47407 + ac_status=$?
47408 + grep -v '^ *+' conftest.er1 >conftest.err
47409 + rm -f conftest.er1
47410 + cat conftest.err >&5
47411 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
47412 + (exit $ac_status); } && {
47413 + test -z "$ac_c_werror_flag" ||
47414 + test ! -s conftest.err
47415 + } && test -s conftest.$ac_objext; then
47416 + eval "$as_ac_Header=yes"
47417 +else
47418 + echo "$as_me: failed program was:" >&5
47419 +sed 's/^/| /' conftest.$ac_ext >&5
47420
47421 - echo ${extra_objects} | grep -s "itbl-lex.o"
47422 - if test $? -ne 0 ; then
47423 - extra_objects="$extra_objects itbl-lex.o"
47424 - fi
47425 + eval "$as_ac_Header=no"
47426 +fi
47427
47428 - echo ${extra_objects} | grep -s "itbl-ops.o"
47429 - if test $? -ne 0 ; then
47430 - extra_objects="$extra_objects itbl-ops.o"
47431 - fi
47432 - ;;
47433 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47434 +fi
47435 +ac_res=`eval echo '${'$as_ac_Header'}'`
47436 + { echo "$as_me:$LINENO: result: $ac_res" >&5
47437 +echo "${ECHO_T}$ac_res" >&6; }
47438 +if test `eval echo '${'$as_ac_Header'}'` = yes; then
47439 + cat >>confdefs.h <<_ACEOF
47440 +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
47441 +_ACEOF
47442
47443 - mt)
47444 - using_cgen=yes
47445 - ;;
47446 +fi
47447
47448 - i386 | s390 | sparc)
47449 - if test $this_target = $target ; then
47450 +done
47451
47452 -cat >>confdefs.h <<_ACEOF
47453 -#define DEFAULT_ARCH "${arch}"
47454 +
47455 +{ echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
47456 +echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
47457 +if test "${ac_cv_c_bigendian+set}" = set; then
47458 + echo $ECHO_N "(cached) $ECHO_C" >&6
47459 +else
47460 + # See if sys/param.h defines the BYTE_ORDER macro.
47461 +cat >conftest.$ac_ext <<_ACEOF
47462 +/* confdefs.h. */
47463 _ACEOF
47464 +cat confdefs.h >>conftest.$ac_ext
47465 +cat >>conftest.$ac_ext <<_ACEOF
47466 +/* end confdefs.h. */
47467 +#include <sys/types.h>
47468 +#include <sys/param.h>
47469
47470 - fi
47471 - ;;
47472 +int
47473 +main ()
47474 +{
47475 +#if ! (defined BYTE_ORDER && defined BIG_ENDIAN && defined LITTLE_ENDIAN \
47476 + && BYTE_ORDER && BIG_ENDIAN && LITTLE_ENDIAN)
47477 + bogus endian macros
47478 +#endif
47479
47480 - xstormy16)
47481 - using_cgen=yes
47482 - ;;
47483 + ;
47484 + return 0;
47485 +}
47486 +_ACEOF
47487 +rm -f conftest.$ac_objext
47488 +if { (ac_try="$ac_compile"
47489 +case "(($ac_try" in
47490 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47491 + *) ac_try_echo=$ac_try;;
47492 +esac
47493 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47494 + (eval "$ac_compile") 2>conftest.er1
47495 + ac_status=$?
47496 + grep -v '^ *+' conftest.er1 >conftest.err
47497 + rm -f conftest.er1
47498 + cat conftest.err >&5
47499 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
47500 + (exit $ac_status); } && {
47501 + test -z "$ac_c_werror_flag" ||
47502 + test ! -s conftest.err
47503 + } && test -s conftest.$ac_objext; then
47504 + # It does; now see whether it defined to BIG_ENDIAN or not.
47505 +cat >conftest.$ac_ext <<_ACEOF
47506 +/* confdefs.h. */
47507 +_ACEOF
47508 +cat confdefs.h >>conftest.$ac_ext
47509 +cat >>conftest.$ac_ext <<_ACEOF
47510 +/* end confdefs.h. */
47511 +#include <sys/types.h>
47512 +#include <sys/param.h>
47513
47514 - xc16x)
47515 - using_cgen=yes
47516 - ;;
47517 +int
47518 +main ()
47519 +{
47520 +#if BYTE_ORDER != BIG_ENDIAN
47521 + not big endian
47522 +#endif
47523
47524 - xtensa)
47525 - echo ${extra_objects} | grep -s "xtensa-relax.o"
47526 - if test $? -ne 0 ; then
47527 - extra_objects="$extra_objects xtensa-relax.o"
47528 - fi
47529 - ;;
47530 + ;
47531 + return 0;
47532 +}
47533 +_ACEOF
47534 +rm -f conftest.$ac_objext
47535 +if { (ac_try="$ac_compile"
47536 +case "(($ac_try" in
47537 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47538 + *) ac_try_echo=$ac_try;;
47539 +esac
47540 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47541 + (eval "$ac_compile") 2>conftest.er1
47542 + ac_status=$?
47543 + grep -v '^ *+' conftest.er1 >conftest.err
47544 + rm -f conftest.er1
47545 + cat conftest.err >&5
47546 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
47547 + (exit $ac_status); } && {
47548 + test -z "$ac_c_werror_flag" ||
47549 + test ! -s conftest.err
47550 + } && test -s conftest.$ac_objext; then
47551 + ac_cv_c_bigendian=yes
47552 +else
47553 + echo "$as_me: failed program was:" >&5
47554 +sed 's/^/| /' conftest.$ac_ext >&5
47555
47556 - *)
47557 - ;;
47558 - esac
47559 + ac_cv_c_bigendian=no
47560 +fi
47561
47562 - if test $using_cgen = yes ; then
47563 - case "x${extra_objects}" in
47564 - *cgen.o*) ;;
47565 - *) extra_objects="$extra_objects cgen.o" ;;
47566 - esac
47567 - fi
47568 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47569 +else
47570 + echo "$as_me: failed program was:" >&5
47571 +sed 's/^/| /' conftest.$ac_ext >&5
47572
47573 -# See if we really can support this configuration with the emulation code.
47574 + # It does not; compile a test program.
47575 +if test "$cross_compiling" = yes; then
47576 + # try to guess the endianness by grepping values into an object file
47577 + ac_cv_c_bigendian=unknown
47578 + cat >conftest.$ac_ext <<_ACEOF
47579 +/* confdefs.h. */
47580 +_ACEOF
47581 +cat confdefs.h >>conftest.$ac_ext
47582 +cat >>conftest.$ac_ext <<_ACEOF
47583 +/* end confdefs.h. */
47584 +short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
47585 +short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
47586 +void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
47587 +short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
47588 +short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
47589 +void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
47590 +int
47591 +main ()
47592 +{
47593 + _ascii (); _ebcdic ();
47594 + ;
47595 + return 0;
47596 +}
47597 +_ACEOF
47598 +rm -f conftest.$ac_objext
47599 +if { (ac_try="$ac_compile"
47600 +case "(($ac_try" in
47601 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47602 + *) ac_try_echo=$ac_try;;
47603 +esac
47604 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47605 + (eval "$ac_compile") 2>conftest.er1
47606 + ac_status=$?
47607 + grep -v '^ *+' conftest.er1 >conftest.err
47608 + rm -f conftest.er1
47609 + cat conftest.err >&5
47610 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
47611 + (exit $ac_status); } && {
47612 + test -z "$ac_c_werror_flag" ||
47613 + test ! -s conftest.err
47614 + } && test -s conftest.$ac_objext; then
47615 + if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
47616 + ac_cv_c_bigendian=yes
47617 +fi
47618 +if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
47619 + if test "$ac_cv_c_bigendian" = unknown; then
47620 + ac_cv_c_bigendian=no
47621 + else
47622 + # finding both strings is unlikely to happen, but who knows?
47623 + ac_cv_c_bigendian=unknown
47624 + fi
47625 +fi
47626 +else
47627 + echo "$as_me: failed program was:" >&5
47628 +sed 's/^/| /' conftest.$ac_ext >&5
47629
47630 - if test $this_target = $target ; then
47631 - obj_format=$fmt
47632 - te_file=$em
47633 - fi
47634
47635 -# From target name and format, produce a list of supported emulations.
47636 +fi
47637
47638 - case ${generic_target}-${fmt} in
47639 - mips-*-irix5*-*) emulation="mipsbelf mipslelf mipself mipsbecoff mipslecoff mipsecoff" ;;
47640 - mips*-*-linux*-*) case "$endian" in
47641 - big) emulation="mipsbelf mipslelf mipself" ;;
47642 - *) emulation="mipslelf mipsbelf mipself" ;;
47643 - esac ;;
47644 - mips-*-lnews*-ecoff) ;;
47645 - mips-*-*-ecoff) case "$endian" in
47646 - big) emulation="mipsbecoff mipslecoff mipsecoff" ;;
47647 - *) emulation="mipslecoff mipsbecoff mipsecoff" ;;
47648 - esac ;;
47649 - mips-*-*-elf) case "$endian" in
47650 - big) emulation="mipsbelf mipslelf mipself" ;;
47651 - *) emulation="mipslelf mipsbelf mipself" ;;
47652 - esac ;;
47653 - mips-*-sysv4*MP*-*) emulation="mipsbelf mipslelf mipself mipsbecoff mipslecoff mipsecoff" ;;
47654 - # i386-pc-pe-coff != i386-pc-coff.
47655 - i386-*-pe-coff) ;;
47656 - # Uncommenting the next line will turn on support for i386 AOUT
47657 - # for the default linux configuration
47658 - # i386-*-linux*-elf) emulation="i386elf i386aout" ;;
47659 - #
47660 - i386-*-aout) emulation="i386aout" ;;
47661 - i386-*-coff) emulation="i386coff" ;;
47662 - i386-*-elf) emulation="i386elf" ;;
47663 -
47664 - # Always all formats. The first stated emulation becomes the default.
47665 - cris-*-*aout*) emulation="crisaout criself" ;;
47666 - cris-*-*) emulation="criself crisaout" ;;
47667 - esac
47668 -
47669 - emulations="$emulations $emulation"
47670 -
47671 -done
47672 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47673 +else
47674 + cat >conftest.$ac_ext <<_ACEOF
47675 +/* confdefs.h. */
47676 +_ACEOF
47677 +cat confdefs.h >>conftest.$ac_ext
47678 +cat >>conftest.$ac_ext <<_ACEOF
47679 +/* end confdefs.h. */
47680 +$ac_includes_default
47681 +int
47682 +main ()
47683 +{
47684
47685 -# Turn on all targets if possible
47686 -if test ${all_targets} = "yes"; then
47687 - case ${target_cpu_type} in
47688 - i386)
47689 - case ${obj_format} in
47690 - aout)
47691 - emulations="$emulations i386coff i386elf"
47692 - ;;
47693 - coff)
47694 - emulations="$emulations i386aout i386elf"
47695 - ;;
47696 - elf)
47697 - emulations="$emulations i386aout i386coff"
47698 - ;;
47699 - esac
47700 - ;;
47701 - esac
47702 -fi
47703 + /* Are we little or big endian? From Harbison&Steele. */
47704 + union
47705 + {
47706 + long int l;
47707 + char c[sizeof (long int)];
47708 + } u;
47709 + u.l = 1;
47710 + return u.c[sizeof (long int) - 1] == 1;
47711
47712 -# Assign floating point type. Most processors with FP support
47713 -# IEEE FP. On those that don't support FP at all, usually IEEE
47714 -# is emulated.
47715 -case ${target_cpu} in
47716 - vax | tahoe ) atof=${target_cpu} ;;
47717 - pdp11) atof=vax ;;
47718 - *) atof=ieee ;;
47719 + ;
47720 + return 0;
47721 +}
47722 +_ACEOF
47723 +rm -f conftest$ac_exeext
47724 +if { (ac_try="$ac_link"
47725 +case "(($ac_try" in
47726 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47727 + *) ac_try_echo=$ac_try;;
47728 esac
47729 -
47730 -case "${obj_format}" in
47731 - "") { { echo "$as_me:$LINENO: error: GAS does not know what format to use for target ${target}" >&5
47732 -echo "$as_me: error: GAS does not know what format to use for target ${target}" >&2;}
47733 - { (exit 1); exit 1; }; } ;;
47734 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47735 + (eval "$ac_link") 2>&5
47736 + ac_status=$?
47737 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
47738 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
47739 + { (case "(($ac_try" in
47740 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47741 + *) ac_try_echo=$ac_try;;
47742 esac
47743 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47744 + (eval "$ac_try") 2>&5
47745 + ac_status=$?
47746 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
47747 + (exit $ac_status); }; }; then
47748 + ac_cv_c_bigendian=no
47749 +else
47750 + echo "$as_me: program exited with status $ac_status" >&5
47751 +echo "$as_me: failed program was:" >&5
47752 +sed 's/^/| /' conftest.$ac_ext >&5
47753
47754 -# Unfortunately the cpu in cpu-opc.h file isn't always $(TARGET_CPU).
47755 -cgen_cpu_prefix=""
47756 -if test $using_cgen = yes ; then
47757 - case ${target_cpu} in
47758 - *) cgen_cpu_prefix=${target_cpu} ;;
47759 - esac
47760 -
47761 -
47762 -cat >>confdefs.h <<\_ACEOF
47763 -#define USING_CGEN 1
47764 -_ACEOF
47765 -
47766 +( exit $ac_status )
47767 +ac_cv_c_bigendian=yes
47768 +fi
47769 +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
47770 fi
47771
47772
47773 -if test ! -r ${srcdir}/config/tc-${target_cpu_type}.c; then
47774 - { { echo "$as_me:$LINENO: error: GAS does not support target CPU ${target_cpu_type}" >&5
47775 -echo "$as_me: error: GAS does not support target CPU ${target_cpu_type}" >&2;}
47776 - { (exit 1); exit 1; }; }
47777 fi
47778
47779 -if test ! -r ${srcdir}/config/obj-${obj_format}.c; then
47780 - { { echo "$as_me:$LINENO: error: GAS does not have support for object file format ${obj_format}" >&5
47781 -echo "$as_me: error: GAS does not have support for object file format ${obj_format}" >&2;}
47782 - { (exit 1); exit 1; }; }
47783 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47784 fi
47785 +{ echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
47786 +echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
47787 +case $ac_cv_c_bigendian in
47788 + yes)
47789
47790 -# Some COFF configurations want these random other flags set.
47791 -case ${obj_format} in
47792 - coff)
47793 - case ${target_cpu_type} in
47794 - i386)
47795 -cat >>confdefs.h <<\_ACEOF
47796 -#define I386COFF 1
47797 -_ACEOF
47798 - ;;
47799 - m68k)
47800 -cat >>confdefs.h <<\_ACEOF
47801 -#define M68KCOFF 1
47802 -_ACEOF
47803 - ;;
47804 - m88k)
47805 cat >>confdefs.h <<\_ACEOF
47806 -#define M88KCOFF 1
47807 +#define WORDS_BIGENDIAN 1
47808 _ACEOF
47809 ;;
47810 - esac
47811 - ;;
47812 + no)
47813 + ;;
47814 + *)
47815 + { { echo "$as_me:$LINENO: error: unknown endianness
47816 +presetting ac_cv_c_bigendian=no (or yes) will help" >&5
47817 +echo "$as_me: error: unknown endianness
47818 +presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
47819 + { (exit 1); exit 1; }; } ;;
47820 esac
47821
47822 -# Getting this done right is going to be a bitch. Each configuration specified
47823 -# with --enable-targets=... should be checked for environment, format, cpu
47824 -# setting.
47825 -#
47826 -# For each configuration, the necessary object file support code must be linked
47827 -# in. This might be only one, it might be up to four. The necessary emulation
47828 -# code needs to be provided, too.
47829 -#
47830 -# And then there's "--enable-targets=all"....
47831 -#
47832 -# For now, just always do it for MIPS ELF or ECOFF configurations. Sigh.
47833
47834 -formats="${obj_format}"
47835 -emfiles=""
47836 -EMULATIONS=""
47837 -_gas_uniq_list="$emulations"
47838 -_gas_uniq_newlist=""
47839 -for _gas_uniq_i in _gas_uniq_dummy $_gas_uniq_list ; do
47840 - case $_gas_uniq_i in
47841 - _gas_uniq_dummy) ;;
47842 - *) case " $_gas_uniq_newlist " in
47843 - *" $_gas_uniq_i "*) ;;
47844 - *) _gas_uniq_newlist="$_gas_uniq_newlist $_gas_uniq_i" ;;
47845 - esac ;;
47846 - esac
47847 -done
47848 -emulations=$_gas_uniq_newlist
47849 +te_file=generic
47850
47851 -for em in . $emulations ; do
47852 - case $em in
47853 - .) continue ;;
47854 - mipsbelf | mipslelf | mipself)
47855 - fmt=elf file=mipself ;;
47856 - mipsbecoff | mipslecoff | mipsecoff)
47857 - fmt=ecoff file=mipsecoff ;;
47858 - *coff)
47859 - fmt=coff file=$em ;;
47860 - *aout)
47861 - fmt=aout file=$em ;;
47862 - *elf)
47863 - fmt=elf file=$em ;;
47864 - esac
47865 - formats="$formats $fmt"
47866 - emfiles="$emfiles e-$file.o"
47867 - EMULATIONS="$EMULATIONS &$em,"
47868 -done
47869 -_gas_uniq_list="$formats"
47870 -_gas_uniq_newlist=""
47871 -for _gas_uniq_i in _gas_uniq_dummy $_gas_uniq_list ; do
47872 - case $_gas_uniq_i in
47873 - _gas_uniq_dummy) ;;
47874 - *) case " $_gas_uniq_newlist " in
47875 - *" $_gas_uniq_i "*) ;;
47876 - *) _gas_uniq_newlist="$_gas_uniq_newlist $_gas_uniq_i" ;;
47877 - esac ;;
47878 - esac
47879 -done
47880 -formats=$_gas_uniq_newlist
47881 +# Makefile target for installing gas in $(tooldir)/bin.
47882 +install_tooldir=install-exec-tooldir
47883
47884 -_gas_uniq_list="$emfiles"
47885 +canon_targets=""
47886 +all_targets=no
47887 +if test -n "$enable_targets" ; then
47888 + for t in `echo $enable_targets | sed 's/,/ /g'`; do
47889 + if test $t = "all"; then
47890 + all_targets=yes
47891 + continue
47892 + fi
47893 + result=`$ac_config_sub $t 2>/dev/null`
47894 + if test -n "$result" ; then
47895 + canon_targets="$canon_targets $result"
47896 +# else
47897 +# # Permit "all", etc. We don't support it yet though.
47898 +# canon_targets="$canon_targets $t"
47899 + fi
47900 + done
47901 + _gas_uniq_list="$canon_targets"
47902 _gas_uniq_newlist=""
47903 for _gas_uniq_i in _gas_uniq_dummy $_gas_uniq_list ; do
47904 case $_gas_uniq_i in
47905 @@ -5034,883 +5702,871 @@ for _gas_uniq_i in _gas_uniq_dummy $_gas
47906 esac ;;
47907 esac
47908 done
47909 -emfiles=$_gas_uniq_newlist
47910 +canon_targets=$_gas_uniq_newlist
47911
47912 -if test `set . $formats ; shift ; echo $#` -gt 1 ; then
47913 - for fmt in $formats ; do
47914 - case $fmt in
47915 - aout)
47916 -cat >>confdefs.h <<\_ACEOF
47917 -#define OBJ_MAYBE_AOUT 1
47918 +fi
47919 +
47920 +emulations=""
47921 +
47922 +for this_target in $target $canon_targets ; do
47923 +
47924 + targ=${this_target}
47925 + . ${srcdir}/configure.tgt
47926 +
47927 + case ${target_cpu} in
47928 + crisv32)
47929 +
47930 +cat >>confdefs.h <<_ACEOF
47931 +#define DEFAULT_CRIS_ARCH $arch
47932 _ACEOF
47933 - ;;
47934 - bout)
47935 +
47936 + ;;
47937 + esac
47938 +
47939 + if test ${this_target} = $target ; then
47940 + target_cpu_type=${cpu_type}
47941 + elif test ${target_cpu_type} != ${cpu_type} ; then
47942 + continue
47943 + fi
47944 +
47945 + generic_target=${cpu_type}-${target_vendor}-${target_os}
47946 + case ${generic_target} in
47947 + i386-*-sco3.2v5*)
47948 + if test ${this_target} = $target; then
47949 +
47950 cat >>confdefs.h <<\_ACEOF
47951 -#define OBJ_MAYBE_BOUT 1
47952 +#define SCO_ELF 1
47953 _ACEOF
47954 - ;;
47955 - coff)
47956 +
47957 + fi
47958 + ;;
47959 +
47960 + i386-*-msdosdjgpp* \
47961 + | i386-*-go32* \
47962 + | i386-go32-rtems*)
47963 +
47964 cat >>confdefs.h <<\_ACEOF
47965 -#define OBJ_MAYBE_COFF 1
47966 +#define STRICTCOFF 1
47967 _ACEOF
47968 - ;;
47969 - ecoff)
47970 -cat >>confdefs.h <<\_ACEOF
47971 -#define OBJ_MAYBE_ECOFF 1
47972 -_ACEOF
47973 - ;;
47974 - elf)
47975 -cat >>confdefs.h <<\_ACEOF
47976 -#define OBJ_MAYBE_ELF 1
47977 -_ACEOF
47978 - ;;
47979 - generic)
47980 -cat >>confdefs.h <<\_ACEOF
47981 -#define OBJ_MAYBE_GENERIC 1
47982 -_ACEOF
47983 - ;;
47984 - ieee)
47985 -cat >>confdefs.h <<\_ACEOF
47986 -#define OBJ_MAYBE_IEEE 1
47987 -_ACEOF
47988 - ;;
47989 - som)
47990 -cat >>confdefs.h <<\_ACEOF
47991 -#define OBJ_MAYBE_SOM 1
47992 -_ACEOF
47993 - ;;
47994 - esac
47995 - extra_objects="$extra_objects obj-$fmt.o"
47996 - done
47997 - obj_format=multi
47998 -fi
47999 -if test `set . $emfiles ; shift ; echo $#` -gt 0 ; then
48000 - DEFAULT_EMULATION=`set . $emulations ; echo $2`
48001 - # e-mips* has more than one emulation per file, e-i386* has just one at the
48002 - # moment. If only one emulation is specified, then don't define
48003 - # USE_EMULATIONS or include any of the e-files as they will only be bloat.
48004 - case "${obj_format}${emfiles}" in
48005 - multi* | *mips*)
48006 - extra_objects="$extra_objects $emfiles"
48007
48008 -cat >>confdefs.h <<\_ACEOF
48009 -#define USE_EMULATIONS 1
48010 -_ACEOF
48011 - ;;
48012 - esac
48013 -fi
48014 + ;;
48015
48016 + i860-*-*)
48017 + { echo "$as_me:$LINENO: WARNING: GAS support for ${generic_target} is preliminary and a work in progress" >&5
48018 +echo "$as_me: WARNING: GAS support for ${generic_target} is preliminary and a work in progress" >&2;}
48019 + ;;
48020
48021 -cat >>confdefs.h <<_ACEOF
48022 -#define EMULATIONS $EMULATIONS
48023 -_ACEOF
48024 + mips-sony-bsd*)
48025 + ;;
48026 + mips-*-bsd*)
48027 + { { echo "$as_me:$LINENO: error: Unknown vendor for mips-bsd configuration." >&5
48028 +echo "$as_me: error: Unknown vendor for mips-bsd configuration." >&2;}
48029 + { (exit 1); exit 1; }; }
48030 + ;;
48031
48032 + ppc-*-aix5.*)
48033
48034 -cat >>confdefs.h <<_ACEOF
48035 -#define DEFAULT_EMULATION "$DEFAULT_EMULATION"
48036 +cat >>confdefs.h <<\_ACEOF
48037 +#define AIX_WEAK_SUPPORT 1
48038 _ACEOF
48039
48040 + ;;
48041 + ppc-*-linux-*)
48042 + case "$endian" in
48043 + big) ;;
48044 + *) { { echo "$as_me:$LINENO: error: GNU/Linux must be configured big endian" >&5
48045 +echo "$as_me: error: GNU/Linux must be configured big endian" >&2;}
48046 + { (exit 1); exit 1; }; } ;;
48047 + esac
48048 + ;;
48049 + ppc-*-solaris*)
48050 + if test ${this_target} = $target; then
48051
48052 -reject_dev_configs=yes
48053 +cat >>confdefs.h <<\_ACEOF
48054 +#define TARGET_SOLARIS_COMMENT 1
48055 +_ACEOF
48056
48057 -case ${reject_dev_configs}-${dev} in
48058 - yes-yes) # Oops.
48059 - { { echo "$as_me:$LINENO: error: GAS does not support the ${generic_target} configuration." >&5
48060 -echo "$as_me: error: GAS does not support the ${generic_target} configuration." >&2;}
48061 + fi
48062 + if test x${endian} = xbig; then
48063 + { { echo "$as_me:$LINENO: error: Solaris must be configured little endian" >&5
48064 +echo "$as_me: error: Solaris must be configured little endian" >&2;}
48065 { (exit 1); exit 1; }; }
48066 - ;;
48067 -esac
48068 -
48069 -
48070 -
48071 -
48072 -
48073 -
48074 -
48075 -# do we need the opcodes library?
48076 -case "${need_opcodes}" in
48077 -yes)
48078 - OPCODES_LIB=../opcodes/libopcodes.la
48079 - ;;
48080 -esac
48081 + fi
48082 + ;;
48083
48084 -BFDLIB=../bfd/libbfd.la
48085 -BFDVER_H=../bfd/bfdver.h
48086 -ALL_OBJ_DEPS="$ALL_OBJ_DEPS"' ../bfd/bfd.h $(INCDIR)/symcat.h'
48087 + sh*-*-symbianelf*)
48088
48089 +cat >>confdefs.h <<\_ACEOF
48090 +#define TARGET_SYMBIAN 1
48091 +_ACEOF
48092
48093 + ;;
48094 + esac
48095
48096 + if test ${this_target} = $target ; then
48097 + endian_def=
48098 + if test x${endian} = xbig; then
48099 + endian_def=1
48100 + elif test x${endian} = xlittle; then
48101 + endian_def=0
48102 + fi
48103 + if test x${endian_def} != x; then
48104
48105 +cat >>confdefs.h <<_ACEOF
48106 +#define TARGET_BYTES_BIG_ENDIAN $endian_def
48107 +_ACEOF
48108
48109 + fi
48110 + fi
48111
48112 +# Other random stuff.
48113
48114 + case ${cpu_type} in
48115 + mips)
48116 + # Set mips_cpu to the name of the default CPU.
48117 + case ${target_cpu} in
48118 + mips | mipsbe | mipseb | mipsle | mipsel | mips64 | mips64el)
48119 + mips_cpu=from-abi
48120 + ;;
48121 + mipsisa32 | mipsisa32el)
48122 + mips_cpu=mips32
48123 + ;;
48124 + mipsisa32r2 | mipsisa32r2el)
48125 + mips_cpu=mips32r2
48126 + ;;
48127 + mipsisa64 | mipsisa64el)
48128 + mips_cpu=mips64
48129 + ;;
48130 + mipsisa64r2 | mipsisa64r2el)
48131 + mips_cpu=mips64r2
48132 + ;;
48133 + mipstx39 | mipstx39el)
48134 + mips_cpu=r3900
48135 + ;;
48136 + mips64vr | mips64vrel)
48137 + mips_cpu=vr4100
48138 + ;;
48139 + mipsisa32r2* | mipsisa64r2*)
48140 + mips_cpu=`echo $target_cpu | sed -e 's/[a-z]*..r2//' -e 's/el$//'`
48141 + ;;
48142 + mips64* | mipsisa64* | mipsisa32*)
48143 + mips_cpu=`echo $target_cpu | sed -e 's/[a-z]*..//' -e 's/el$//'`
48144 + ;;
48145 + *)
48146 + { { echo "$as_me:$LINENO: error: $target_cpu isn't a supported MIPS CPU name" >&5
48147 +echo "$as_me: error: $target_cpu isn't a supported MIPS CPU name" >&2;}
48148 + { (exit 1); exit 1; }; }
48149 + ;;
48150 + esac
48151 + # See whether it's appropriate to set E_MIPS_ABI_O32 for o32
48152 + # binaries. It's a GNU extension that some OSes don't understand.
48153 + # The value only matters on ELF targets.
48154 + case ${target} in
48155 + *-*-irix*)
48156 + use_e_mips_abi_o32=0
48157 + ;;
48158 + *)
48159 + use_e_mips_abi_o32=1
48160 + ;;
48161 + esac
48162 + # Decide whether to generate 32-bit or 64-bit code by default.
48163 + # Used to resolve -march=from-abi when an embedded ABI is selected.
48164 + case ${target} in
48165 + mips64*-*-* | mipsisa64*-*-*)
48166 + mips_default_64bit=1
48167 + ;;
48168 + *)
48169 + mips_default_64bit=0
48170 + ;;
48171 + esac
48172 + # Decide which ABI to target by default.
48173 + case ${target} in
48174 + mips64*-linux* | mips-sgi-irix6*)
48175 + mips_default_abi=N32_ABI
48176 + ;;
48177 + mips*-linux*)
48178 + mips_default_abi=O32_ABI
48179 + ;;
48180 + mips64*-openbsd*)
48181 + mips_default_abi=N64_ABI
48182 + ;;
48183 + *)
48184 + mips_default_abi=NO_ABI
48185 + ;;
48186 + esac
48187
48188 cat >>confdefs.h <<_ACEOF
48189 -#define TARGET_ALIAS "${target_alias}"
48190 +#define MIPS_CPU_STRING_DEFAULT "$mips_cpu"
48191 _ACEOF
48192
48193
48194 cat >>confdefs.h <<_ACEOF
48195 -#define TARGET_CANONICAL "${target}"
48196 +#define USE_E_MIPS_ABI_O32 $use_e_mips_abi_o32
48197 _ACEOF
48198
48199
48200 cat >>confdefs.h <<_ACEOF
48201 -#define TARGET_CPU "${target_cpu}"
48202 +#define MIPS_DEFAULT_64BIT $mips_default_64bit
48203 _ACEOF
48204
48205
48206 cat >>confdefs.h <<_ACEOF
48207 -#define TARGET_VENDOR "${target_vendor}"
48208 +#define MIPS_DEFAULT_ABI $mips_default_abi
48209 _ACEOF
48210
48211 + ;;
48212 + esac
48213
48214 -cat >>confdefs.h <<_ACEOF
48215 -#define TARGET_OS "${target_os}"
48216 -_ACEOF
48217 + # Do we need the opcodes library?
48218 + case ${cpu_type} in
48219 + vax | i386 | tic30)
48220 + ;;
48221
48222 + *)
48223 + need_opcodes=yes
48224
48225 -ac_ext=c
48226 -ac_cpp='$CPP $CPPFLAGS'
48227 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48228 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48229 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
48230 -if test -n "$ac_tool_prefix"; then
48231 - # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
48232 -set dummy ${ac_tool_prefix}gcc; ac_word=$2
48233 -echo "$as_me:$LINENO: checking for $ac_word" >&5
48234 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48235 -if test "${ac_cv_prog_CC+set}" = set; then
48236 - echo $ECHO_N "(cached) $ECHO_C" >&6
48237 -else
48238 - if test -n "$CC"; then
48239 - ac_cv_prog_CC="$CC" # Let the user override the test.
48240 -else
48241 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48242 -for as_dir in $PATH
48243 -do
48244 - IFS=$as_save_IFS
48245 - test -z "$as_dir" && as_dir=.
48246 - for ac_exec_ext in '' $ac_executable_extensions; do
48247 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48248 - ac_cv_prog_CC="${ac_tool_prefix}gcc"
48249 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48250 - break 2
48251 - fi
48252 -done
48253 -done
48254 + case "${enable_shared}" in
48255 + yes) shared_opcodes=true ;;
48256 + *opcodes*) shared_opcodes=true ;;
48257 + *) shared_opcodes=false ;;
48258 + esac
48259 + ;;
48260 + esac
48261
48262 -fi
48263 -fi
48264 -CC=$ac_cv_prog_CC
48265 -if test -n "$CC"; then
48266 - echo "$as_me:$LINENO: result: $CC" >&5
48267 -echo "${ECHO_T}$CC" >&6
48268 -else
48269 - echo "$as_me:$LINENO: result: no" >&5
48270 -echo "${ECHO_T}no" >&6
48271 -fi
48272 + # Any other special object files needed ?
48273 + case ${cpu_type} in
48274
48275 -fi
48276 -if test -z "$ac_cv_prog_CC"; then
48277 - ac_ct_CC=$CC
48278 - # Extract the first word of "gcc", so it can be a program name with args.
48279 -set dummy gcc; ac_word=$2
48280 -echo "$as_me:$LINENO: checking for $ac_word" >&5
48281 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48282 -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
48283 - echo $ECHO_N "(cached) $ECHO_C" >&6
48284 -else
48285 - if test -n "$ac_ct_CC"; then
48286 - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
48287 -else
48288 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48289 -for as_dir in $PATH
48290 -do
48291 - IFS=$as_save_IFS
48292 - test -z "$as_dir" && as_dir=.
48293 - for ac_exec_ext in '' $ac_executable_extensions; do
48294 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48295 - ac_cv_prog_ac_ct_CC="gcc"
48296 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48297 - break 2
48298 - fi
48299 -done
48300 -done
48301 + bfin)
48302 + echo ${extra_objects} | grep -s "bfin-parse.o"
48303 + if test $? -ne 0 ; then
48304 + extra_objects="$extra_objects bfin-parse.o"
48305 + fi
48306
48307 -fi
48308 -fi
48309 -ac_ct_CC=$ac_cv_prog_ac_ct_CC
48310 -if test -n "$ac_ct_CC"; then
48311 - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
48312 -echo "${ECHO_T}$ac_ct_CC" >&6
48313 -else
48314 - echo "$as_me:$LINENO: result: no" >&5
48315 -echo "${ECHO_T}no" >&6
48316 -fi
48317 + echo ${extra_objects} | grep -s "bfin-lex.o"
48318 + if test $? -ne 0 ; then
48319 + extra_objects="$extra_objects bfin-lex.o"
48320 + fi
48321 + ;;
48322
48323 - CC=$ac_ct_CC
48324 -else
48325 - CC="$ac_cv_prog_CC"
48326 -fi
48327 + fr30 | ip2k | iq2000 | m32r | openrisc)
48328 + using_cgen=yes
48329 + ;;
48330
48331 -if test -z "$CC"; then
48332 - if test -n "$ac_tool_prefix"; then
48333 - # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
48334 -set dummy ${ac_tool_prefix}cc; ac_word=$2
48335 -echo "$as_me:$LINENO: checking for $ac_word" >&5
48336 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48337 -if test "${ac_cv_prog_CC+set}" = set; then
48338 - echo $ECHO_N "(cached) $ECHO_C" >&6
48339 -else
48340 - if test -n "$CC"; then
48341 - ac_cv_prog_CC="$CC" # Let the user override the test.
48342 -else
48343 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48344 -for as_dir in $PATH
48345 -do
48346 - IFS=$as_save_IFS
48347 - test -z "$as_dir" && as_dir=.
48348 - for ac_exec_ext in '' $ac_executable_extensions; do
48349 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48350 - ac_cv_prog_CC="${ac_tool_prefix}cc"
48351 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48352 - break 2
48353 - fi
48354 -done
48355 -done
48356 + m32c)
48357 + using_cgen=yes
48358 + ;;
48359 + frv)
48360 + using_cgen=yes
48361 + ;;
48362 + m68k)
48363 + case ${extra_objects} in
48364 + *m68k-parse.o*) ;;
48365 + *) extra_objects="$extra_objects m68k-parse.o" ;;
48366 + esac
48367 + ;;
48368
48369 -fi
48370 -fi
48371 -CC=$ac_cv_prog_CC
48372 -if test -n "$CC"; then
48373 - echo "$as_me:$LINENO: result: $CC" >&5
48374 -echo "${ECHO_T}$CC" >&6
48375 -else
48376 - echo "$as_me:$LINENO: result: no" >&5
48377 -echo "${ECHO_T}no" >&6
48378 -fi
48379 + mips)
48380 + echo ${extra_objects} | grep -s "itbl-parse.o"
48381 + if test $? -ne 0 ; then
48382 + extra_objects="$extra_objects itbl-parse.o"
48383 + fi
48384
48385 -fi
48386 -if test -z "$ac_cv_prog_CC"; then
48387 - ac_ct_CC=$CC
48388 - # Extract the first word of "cc", so it can be a program name with args.
48389 -set dummy cc; ac_word=$2
48390 -echo "$as_me:$LINENO: checking for $ac_word" >&5
48391 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48392 -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
48393 - echo $ECHO_N "(cached) $ECHO_C" >&6
48394 -else
48395 - if test -n "$ac_ct_CC"; then
48396 - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
48397 -else
48398 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48399 -for as_dir in $PATH
48400 -do
48401 - IFS=$as_save_IFS
48402 - test -z "$as_dir" && as_dir=.
48403 - for ac_exec_ext in '' $ac_executable_extensions; do
48404 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48405 - ac_cv_prog_ac_ct_CC="cc"
48406 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48407 - break 2
48408 - fi
48409 -done
48410 -done
48411 + echo ${extra_objects} | grep -s "itbl-lex.o"
48412 + if test $? -ne 0 ; then
48413 + extra_objects="$extra_objects itbl-lex.o"
48414 + fi
48415
48416 -fi
48417 -fi
48418 -ac_ct_CC=$ac_cv_prog_ac_ct_CC
48419 -if test -n "$ac_ct_CC"; then
48420 - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
48421 -echo "${ECHO_T}$ac_ct_CC" >&6
48422 -else
48423 - echo "$as_me:$LINENO: result: no" >&5
48424 -echo "${ECHO_T}no" >&6
48425 -fi
48426 + echo ${extra_objects} | grep -s "itbl-ops.o"
48427 + if test $? -ne 0 ; then
48428 + extra_objects="$extra_objects itbl-ops.o"
48429 + fi
48430 + ;;
48431
48432 - CC=$ac_ct_CC
48433 -else
48434 - CC="$ac_cv_prog_CC"
48435 -fi
48436 + mt)
48437 + using_cgen=yes
48438 + ;;
48439 +
48440 + i386 | s390 | sparc)
48441 + if test $this_target = $target ; then
48442 +
48443 +cat >>confdefs.h <<_ACEOF
48444 +#define DEFAULT_ARCH "${arch}"
48445 +_ACEOF
48446 +
48447 + fi
48448 + ;;
48449 +
48450 + xstormy16)
48451 + using_cgen=yes
48452 + ;;
48453 +
48454 + xc16x)
48455 + using_cgen=yes
48456 + ;;
48457 +
48458 + xtensa)
48459 + echo ${extra_objects} | grep -s "xtensa-relax.o"
48460 + if test $? -ne 0 ; then
48461 + extra_objects="$extra_objects xtensa-relax.o"
48462 + fi
48463 + ;;
48464 +
48465 + *)
48466 + ;;
48467 + esac
48468 +
48469 + if test $using_cgen = yes ; then
48470 + case "x${extra_objects}" in
48471 + *cgen.o*) ;;
48472 + *) extra_objects="$extra_objects cgen.o" ;;
48473 + esac
48474 + fi
48475 +
48476 +# See if we really can support this configuration with the emulation code.
48477 +
48478 + if test $this_target = $target ; then
48479 + obj_format=$fmt
48480 + te_file=$em
48481 + fi
48482 +
48483 +# From target name and format, produce a list of supported emulations.
48484 +
48485 + case ${generic_target}-${fmt} in
48486 + mips-*-irix5*-*) emulation="mipsbelf mipslelf mipself mipsbecoff mipslecoff mipsecoff" ;;
48487 + mips*-*-linux*-*) case "$endian" in
48488 + big) emulation="mipsbelf mipslelf mipself" ;;
48489 + *) emulation="mipslelf mipsbelf mipself" ;;
48490 + esac ;;
48491 + mips-*-lnews*-ecoff) ;;
48492 + mips-*-*-ecoff) case "$endian" in
48493 + big) emulation="mipsbecoff mipslecoff mipsecoff" ;;
48494 + *) emulation="mipslecoff mipsbecoff mipsecoff" ;;
48495 + esac ;;
48496 + mips-*-*-elf) case "$endian" in
48497 + big) emulation="mipsbelf mipslelf mipself" ;;
48498 + *) emulation="mipslelf mipsbelf mipself" ;;
48499 + esac ;;
48500 + mips-*-sysv4*MP*-*) emulation="mipsbelf mipslelf mipself mipsbecoff mipslecoff mipsecoff" ;;
48501 + # i386-pc-pe-coff != i386-pc-coff.
48502 + i386-*-pe-coff) ;;
48503 + # Uncommenting the next line will turn on support for i386 AOUT
48504 + # for the default linux configuration
48505 + # i386-*-linux*-elf) emulation="i386elf i386aout" ;;
48506 + #
48507 + i386-*-aout) emulation="i386aout" ;;
48508 + i386-*-coff) emulation="i386coff" ;;
48509 + i386-*-elf) emulation="i386elf" ;;
48510 +
48511 + # Always all formats. The first stated emulation becomes the default.
48512 + cris-*-*aout*) emulation="crisaout criself" ;;
48513 + cris-*-*) emulation="criself crisaout" ;;
48514 + esac
48515 +
48516 + emulations="$emulations $emulation"
48517
48518 -fi
48519 -if test -z "$CC"; then
48520 - # Extract the first word of "cc", so it can be a program name with args.
48521 -set dummy cc; ac_word=$2
48522 -echo "$as_me:$LINENO: checking for $ac_word" >&5
48523 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48524 -if test "${ac_cv_prog_CC+set}" = set; then
48525 - echo $ECHO_N "(cached) $ECHO_C" >&6
48526 -else
48527 - if test -n "$CC"; then
48528 - ac_cv_prog_CC="$CC" # Let the user override the test.
48529 -else
48530 - ac_prog_rejected=no
48531 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48532 -for as_dir in $PATH
48533 -do
48534 - IFS=$as_save_IFS
48535 - test -z "$as_dir" && as_dir=.
48536 - for ac_exec_ext in '' $ac_executable_extensions; do
48537 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48538 - if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
48539 - ac_prog_rejected=yes
48540 - continue
48541 - fi
48542 - ac_cv_prog_CC="cc"
48543 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48544 - break 2
48545 - fi
48546 -done
48547 done
48548
48549 -if test $ac_prog_rejected = yes; then
48550 - # We found a bogon in the path, so make sure we never use it.
48551 - set dummy $ac_cv_prog_CC
48552 - shift
48553 - if test $# != 0; then
48554 - # We chose a different compiler from the bogus one.
48555 - # However, it has the same basename, so the bogon will be chosen
48556 - # first if we set CC to just the basename; use the full file name.
48557 - shift
48558 - ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
48559 - fi
48560 -fi
48561 +# Turn on all targets if possible
48562 +if test ${all_targets} = "yes"; then
48563 + case ${target_cpu_type} in
48564 + i386)
48565 + case ${obj_format} in
48566 + aout)
48567 + emulations="$emulations i386coff i386elf"
48568 + ;;
48569 + coff)
48570 + emulations="$emulations i386aout i386elf"
48571 + ;;
48572 + elf)
48573 + emulations="$emulations i386aout i386coff"
48574 + ;;
48575 + esac
48576 + ;;
48577 + esac
48578 fi
48579 +
48580 +# Assign floating point type. Most processors with FP support
48581 +# IEEE FP. On those that don't support FP at all, usually IEEE
48582 +# is emulated.
48583 +case ${target_cpu} in
48584 + vax | tahoe ) atof=${target_cpu} ;;
48585 + pdp11) atof=vax ;;
48586 + *) atof=ieee ;;
48587 +esac
48588 +
48589 +case "${obj_format}" in
48590 + "") { { echo "$as_me:$LINENO: error: GAS does not know what format to use for target ${target}" >&5
48591 +echo "$as_me: error: GAS does not know what format to use for target ${target}" >&2;}
48592 + { (exit 1); exit 1; }; } ;;
48593 +esac
48594 +
48595 +# Unfortunately the cpu in cpu-opc.h file isn't always $(TARGET_CPU).
48596 +cgen_cpu_prefix=""
48597 +if test $using_cgen = yes ; then
48598 + case ${target_cpu} in
48599 + *) cgen_cpu_prefix=${target_cpu} ;;
48600 + esac
48601 +
48602 +
48603 +cat >>confdefs.h <<\_ACEOF
48604 +#define USING_CGEN 1
48605 +_ACEOF
48606 +
48607 fi
48608 -CC=$ac_cv_prog_CC
48609 -if test -n "$CC"; then
48610 - echo "$as_me:$LINENO: result: $CC" >&5
48611 -echo "${ECHO_T}$CC" >&6
48612 -else
48613 - echo "$as_me:$LINENO: result: no" >&5
48614 -echo "${ECHO_T}no" >&6
48615 +
48616 +
48617 +if test ! -r ${srcdir}/config/tc-${target_cpu_type}.c; then
48618 + { { echo "$as_me:$LINENO: error: GAS does not support target CPU ${target_cpu_type}" >&5
48619 +echo "$as_me: error: GAS does not support target CPU ${target_cpu_type}" >&2;}
48620 + { (exit 1); exit 1; }; }
48621 fi
48622
48623 +if test ! -r ${srcdir}/config/obj-${obj_format}.c; then
48624 + { { echo "$as_me:$LINENO: error: GAS does not have support for object file format ${obj_format}" >&5
48625 +echo "$as_me: error: GAS does not have support for object file format ${obj_format}" >&2;}
48626 + { (exit 1); exit 1; }; }
48627 fi
48628 -if test -z "$CC"; then
48629 - if test -n "$ac_tool_prefix"; then
48630 - for ac_prog in cl
48631 - do
48632 - # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
48633 -set dummy $ac_tool_prefix$ac_prog; ac_word=$2
48634 -echo "$as_me:$LINENO: checking for $ac_word" >&5
48635 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48636 -if test "${ac_cv_prog_CC+set}" = set; then
48637 - echo $ECHO_N "(cached) $ECHO_C" >&6
48638 -else
48639 - if test -n "$CC"; then
48640 - ac_cv_prog_CC="$CC" # Let the user override the test.
48641 -else
48642 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48643 -for as_dir in $PATH
48644 -do
48645 - IFS=$as_save_IFS
48646 - test -z "$as_dir" && as_dir=.
48647 - for ac_exec_ext in '' $ac_executable_extensions; do
48648 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48649 - ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
48650 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48651 - break 2
48652 - fi
48653 +
48654 +# Some COFF configurations want these random other flags set.
48655 +case ${obj_format} in
48656 + coff)
48657 + case ${target_cpu_type} in
48658 + i386)
48659 +cat >>confdefs.h <<\_ACEOF
48660 +#define I386COFF 1
48661 +_ACEOF
48662 + ;;
48663 + m68k)
48664 +cat >>confdefs.h <<\_ACEOF
48665 +#define M68KCOFF 1
48666 +_ACEOF
48667 + ;;
48668 + m88k)
48669 +cat >>confdefs.h <<\_ACEOF
48670 +#define M88KCOFF 1
48671 +_ACEOF
48672 + ;;
48673 + esac
48674 + ;;
48675 +esac
48676 +
48677 +# Getting this done right is going to be a bitch. Each configuration specified
48678 +# with --enable-targets=... should be checked for environment, format, cpu
48679 +# setting.
48680 +#
48681 +# For each configuration, the necessary object file support code must be linked
48682 +# in. This might be only one, it might be up to four. The necessary emulation
48683 +# code needs to be provided, too.
48684 +#
48685 +# And then there's "--enable-targets=all"....
48686 +#
48687 +# For now, just always do it for MIPS ELF or ECOFF configurations. Sigh.
48688 +
48689 +formats="${obj_format}"
48690 +emfiles=""
48691 +EMULATIONS=""
48692 +_gas_uniq_list="$emulations"
48693 +_gas_uniq_newlist=""
48694 +for _gas_uniq_i in _gas_uniq_dummy $_gas_uniq_list ; do
48695 + case $_gas_uniq_i in
48696 + _gas_uniq_dummy) ;;
48697 + *) case " $_gas_uniq_newlist " in
48698 + *" $_gas_uniq_i "*) ;;
48699 + *) _gas_uniq_newlist="$_gas_uniq_newlist $_gas_uniq_i" ;;
48700 + esac ;;
48701 + esac
48702 done
48703 +emulations=$_gas_uniq_newlist
48704 +
48705 +for em in . $emulations ; do
48706 + case $em in
48707 + .) continue ;;
48708 + mipsbelf | mipslelf | mipself)
48709 + fmt=elf file=mipself ;;
48710 + mipsbecoff | mipslecoff | mipsecoff)
48711 + fmt=ecoff file=mipsecoff ;;
48712 + *coff)
48713 + fmt=coff file=$em ;;
48714 + *aout)
48715 + fmt=aout file=$em ;;
48716 + *elf)
48717 + fmt=elf file=$em ;;
48718 + esac
48719 + formats="$formats $fmt"
48720 + emfiles="$emfiles e-$file.o"
48721 + EMULATIONS="$EMULATIONS &$em,"
48722 done
48723 +_gas_uniq_list="$formats"
48724 +_gas_uniq_newlist=""
48725 +for _gas_uniq_i in _gas_uniq_dummy $_gas_uniq_list ; do
48726 + case $_gas_uniq_i in
48727 + _gas_uniq_dummy) ;;
48728 + *) case " $_gas_uniq_newlist " in
48729 + *" $_gas_uniq_i "*) ;;
48730 + *) _gas_uniq_newlist="$_gas_uniq_newlist $_gas_uniq_i" ;;
48731 + esac ;;
48732 + esac
48733 +done
48734 +formats=$_gas_uniq_newlist
48735
48736 +_gas_uniq_list="$emfiles"
48737 +_gas_uniq_newlist=""
48738 +for _gas_uniq_i in _gas_uniq_dummy $_gas_uniq_list ; do
48739 + case $_gas_uniq_i in
48740 + _gas_uniq_dummy) ;;
48741 + *) case " $_gas_uniq_newlist " in
48742 + *" $_gas_uniq_i "*) ;;
48743 + *) _gas_uniq_newlist="$_gas_uniq_newlist $_gas_uniq_i" ;;
48744 + esac ;;
48745 + esac
48746 +done
48747 +emfiles=$_gas_uniq_newlist
48748 +
48749 +if test `set . $formats ; shift ; echo $#` -gt 1 ; then
48750 + for fmt in $formats ; do
48751 + case $fmt in
48752 + aout)
48753 +cat >>confdefs.h <<\_ACEOF
48754 +#define OBJ_MAYBE_AOUT 1
48755 +_ACEOF
48756 + ;;
48757 + bout)
48758 +cat >>confdefs.h <<\_ACEOF
48759 +#define OBJ_MAYBE_BOUT 1
48760 +_ACEOF
48761 + ;;
48762 + coff)
48763 +cat >>confdefs.h <<\_ACEOF
48764 +#define OBJ_MAYBE_COFF 1
48765 +_ACEOF
48766 + ;;
48767 + ecoff)
48768 +cat >>confdefs.h <<\_ACEOF
48769 +#define OBJ_MAYBE_ECOFF 1
48770 +_ACEOF
48771 + ;;
48772 + elf)
48773 +cat >>confdefs.h <<\_ACEOF
48774 +#define OBJ_MAYBE_ELF 1
48775 +_ACEOF
48776 + ;;
48777 + generic)
48778 +cat >>confdefs.h <<\_ACEOF
48779 +#define OBJ_MAYBE_GENERIC 1
48780 +_ACEOF
48781 + ;;
48782 + ieee)
48783 +cat >>confdefs.h <<\_ACEOF
48784 +#define OBJ_MAYBE_IEEE 1
48785 +_ACEOF
48786 + ;;
48787 + som)
48788 +cat >>confdefs.h <<\_ACEOF
48789 +#define OBJ_MAYBE_SOM 1
48790 +_ACEOF
48791 + ;;
48792 + esac
48793 + extra_objects="$extra_objects obj-$fmt.o"
48794 + done
48795 + obj_format=multi
48796 fi
48797 -fi
48798 -CC=$ac_cv_prog_CC
48799 -if test -n "$CC"; then
48800 - echo "$as_me:$LINENO: result: $CC" >&5
48801 -echo "${ECHO_T}$CC" >&6
48802 -else
48803 - echo "$as_me:$LINENO: result: no" >&5
48804 -echo "${ECHO_T}no" >&6
48805 +if test `set . $emfiles ; shift ; echo $#` -gt 0 ; then
48806 + DEFAULT_EMULATION=`set . $emulations ; echo $2`
48807 + # e-mips* has more than one emulation per file, e-i386* has just one at the
48808 + # moment. If only one emulation is specified, then don't define
48809 + # USE_EMULATIONS or include any of the e-files as they will only be bloat.
48810 + case "${obj_format}${emfiles}" in
48811 + multi* | *mips*)
48812 + extra_objects="$extra_objects $emfiles"
48813 +
48814 +cat >>confdefs.h <<\_ACEOF
48815 +#define USE_EMULATIONS 1
48816 +_ACEOF
48817 + ;;
48818 + esac
48819 fi
48820
48821 - test -n "$CC" && break
48822 - done
48823 -fi
48824 -if test -z "$CC"; then
48825 - ac_ct_CC=$CC
48826 - for ac_prog in cl
48827 -do
48828 - # Extract the first word of "$ac_prog", so it can be a program name with args.
48829 -set dummy $ac_prog; ac_word=$2
48830 -echo "$as_me:$LINENO: checking for $ac_word" >&5
48831 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48832 -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
48833 - echo $ECHO_N "(cached) $ECHO_C" >&6
48834 -else
48835 - if test -n "$ac_ct_CC"; then
48836 - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
48837 -else
48838 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48839 -for as_dir in $PATH
48840 -do
48841 - IFS=$as_save_IFS
48842 - test -z "$as_dir" && as_dir=.
48843 - for ac_exec_ext in '' $ac_executable_extensions; do
48844 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48845 - ac_cv_prog_ac_ct_CC="$ac_prog"
48846 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48847 - break 2
48848 - fi
48849 -done
48850 -done
48851
48852 -fi
48853 -fi
48854 -ac_ct_CC=$ac_cv_prog_ac_ct_CC
48855 -if test -n "$ac_ct_CC"; then
48856 - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
48857 -echo "${ECHO_T}$ac_ct_CC" >&6
48858 -else
48859 - echo "$as_me:$LINENO: result: no" >&5
48860 -echo "${ECHO_T}no" >&6
48861 -fi
48862 +cat >>confdefs.h <<_ACEOF
48863 +#define EMULATIONS $EMULATIONS
48864 +_ACEOF
48865
48866 - test -n "$ac_ct_CC" && break
48867 -done
48868
48869 - CC=$ac_ct_CC
48870 -fi
48871 +cat >>confdefs.h <<_ACEOF
48872 +#define DEFAULT_EMULATION "$DEFAULT_EMULATION"
48873 +_ACEOF
48874
48875 -fi
48876
48877 +reject_dev_configs=yes
48878
48879 -test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
48880 -See \`config.log' for more details." >&5
48881 -echo "$as_me: error: no acceptable C compiler found in \$PATH
48882 -See \`config.log' for more details." >&2;}
48883 +case ${reject_dev_configs}-${dev} in
48884 + yes-yes) # Oops.
48885 + { { echo "$as_me:$LINENO: error: GAS does not support the ${generic_target} configuration." >&5
48886 +echo "$as_me: error: GAS does not support the ${generic_target} configuration." >&2;}
48887 { (exit 1); exit 1; }; }
48888 + ;;
48889 +esac
48890
48891 -# Provide some information about the compiler.
48892 -echo "$as_me:$LINENO:" \
48893 - "checking for C compiler version" >&5
48894 -ac_compiler=`set X $ac_compile; echo $2`
48895 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
48896 - (eval $ac_compiler --version </dev/null >&5) 2>&5
48897 - ac_status=$?
48898 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
48899 - (exit $ac_status); }
48900 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
48901 - (eval $ac_compiler -v </dev/null >&5) 2>&5
48902 - ac_status=$?
48903 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
48904 - (exit $ac_status); }
48905 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
48906 - (eval $ac_compiler -V </dev/null >&5) 2>&5
48907 - ac_status=$?
48908 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
48909 - (exit $ac_status); }
48910
48911 -echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
48912 -echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
48913 -if test "${ac_cv_c_compiler_gnu+set}" = set; then
48914 - echo $ECHO_N "(cached) $ECHO_C" >&6
48915 -else
48916 - cat >conftest.$ac_ext <<_ACEOF
48917 -/* confdefs.h. */
48918 -_ACEOF
48919 -cat confdefs.h >>conftest.$ac_ext
48920 -cat >>conftest.$ac_ext <<_ACEOF
48921 -/* end confdefs.h. */
48922
48923 -int
48924 -main ()
48925 -{
48926 -#ifndef __GNUC__
48927 - choke me
48928 -#endif
48929
48930 - ;
48931 - return 0;
48932 -}
48933 +
48934 +
48935 +
48936 +# do we need the opcodes library?
48937 +case "${need_opcodes}" in
48938 +yes)
48939 + OPCODES_LIB=../opcodes/libopcodes.la
48940 + ;;
48941 +esac
48942 +
48943 +BFDLIB=../bfd/libbfd.la
48944 +BFDVER_H=../bfd/bfdver.h
48945 +ALL_OBJ_DEPS="$ALL_OBJ_DEPS"' ../bfd/bfd.h $(INCDIR)/symcat.h'
48946 +
48947 +
48948 +
48949 +
48950 +
48951 +
48952 +
48953 +
48954 +cat >>confdefs.h <<_ACEOF
48955 +#define TARGET_ALIAS "${target_alias}"
48956 _ACEOF
48957 -rm -f conftest.$ac_objext
48958 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48959 - (eval $ac_compile) 2>conftest.er1
48960 - ac_status=$?
48961 - grep -v '^ *+' conftest.er1 >conftest.err
48962 - rm -f conftest.er1
48963 - cat conftest.err >&5
48964 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
48965 - (exit $ac_status); } &&
48966 - { ac_try='test -z "$ac_c_werror_flag"
48967 - || test ! -s conftest.err'
48968 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48969 - (eval $ac_try) 2>&5
48970 - ac_status=$?
48971 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
48972 - (exit $ac_status); }; } &&
48973 - { ac_try='test -s conftest.$ac_objext'
48974 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48975 - (eval $ac_try) 2>&5
48976 - ac_status=$?
48977 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
48978 - (exit $ac_status); }; }; then
48979 - ac_compiler_gnu=yes
48980 -else
48981 - echo "$as_me: failed program was:" >&5
48982 -sed 's/^/| /' conftest.$ac_ext >&5
48983
48984 -ac_compiler_gnu=no
48985 -fi
48986 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48987 -ac_cv_c_compiler_gnu=$ac_compiler_gnu
48988
48989 -fi
48990 -echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
48991 -echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
48992 -GCC=`test $ac_compiler_gnu = yes && echo yes`
48993 -ac_test_CFLAGS=${CFLAGS+set}
48994 -ac_save_CFLAGS=$CFLAGS
48995 -CFLAGS="-g"
48996 -echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
48997 -echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
48998 -if test "${ac_cv_prog_cc_g+set}" = set; then
48999 - echo $ECHO_N "(cached) $ECHO_C" >&6
49000 -else
49001 - cat >conftest.$ac_ext <<_ACEOF
49002 -/* confdefs.h. */
49003 +cat >>confdefs.h <<_ACEOF
49004 +#define TARGET_CANONICAL "${target}"
49005 _ACEOF
49006 -cat confdefs.h >>conftest.$ac_ext
49007 -cat >>conftest.$ac_ext <<_ACEOF
49008 -/* end confdefs.h. */
49009
49010 -int
49011 -main ()
49012 -{
49013
49014 - ;
49015 - return 0;
49016 -}
49017 +cat >>confdefs.h <<_ACEOF
49018 +#define TARGET_CPU "${target_cpu}"
49019 _ACEOF
49020 -rm -f conftest.$ac_objext
49021 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49022 - (eval $ac_compile) 2>conftest.er1
49023 - ac_status=$?
49024 - grep -v '^ *+' conftest.er1 >conftest.err
49025 - rm -f conftest.er1
49026 - cat conftest.err >&5
49027 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
49028 - (exit $ac_status); } &&
49029 - { ac_try='test -z "$ac_c_werror_flag"
49030 - || test ! -s conftest.err'
49031 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49032 - (eval $ac_try) 2>&5
49033 - ac_status=$?
49034 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
49035 - (exit $ac_status); }; } &&
49036 - { ac_try='test -s conftest.$ac_objext'
49037 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49038 - (eval $ac_try) 2>&5
49039 - ac_status=$?
49040 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
49041 - (exit $ac_status); }; }; then
49042 - ac_cv_prog_cc_g=yes
49043 -else
49044 - echo "$as_me: failed program was:" >&5
49045 -sed 's/^/| /' conftest.$ac_ext >&5
49046
49047 -ac_cv_prog_cc_g=no
49048 -fi
49049 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49050 -fi
49051 -echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
49052 -echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
49053 -if test "$ac_test_CFLAGS" = set; then
49054 - CFLAGS=$ac_save_CFLAGS
49055 -elif test $ac_cv_prog_cc_g = yes; then
49056 - if test "$GCC" = yes; then
49057 - CFLAGS="-g -O2"
49058 - else
49059 - CFLAGS="-g"
49060 - fi
49061 -else
49062 - if test "$GCC" = yes; then
49063 - CFLAGS="-O2"
49064 - else
49065 - CFLAGS=
49066 - fi
49067 -fi
49068 -echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
49069 -echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
49070 -if test "${ac_cv_prog_cc_stdc+set}" = set; then
49071 - echo $ECHO_N "(cached) $ECHO_C" >&6
49072 -else
49073 - ac_cv_prog_cc_stdc=no
49074 -ac_save_CC=$CC
49075 -cat >conftest.$ac_ext <<_ACEOF
49076 -/* confdefs.h. */
49077 +
49078 +cat >>confdefs.h <<_ACEOF
49079 +#define TARGET_VENDOR "${target_vendor}"
49080 _ACEOF
49081 -cat confdefs.h >>conftest.$ac_ext
49082 -cat >>conftest.$ac_ext <<_ACEOF
49083 -/* end confdefs.h. */
49084 -#include <stdarg.h>
49085 -#include <stdio.h>
49086 -#include <sys/types.h>
49087 -#include <sys/stat.h>
49088 -/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
49089 -struct buf { int x; };
49090 -FILE * (*rcsopen) (struct buf *, struct stat *, int);
49091 -static char *e (p, i)
49092 - char **p;
49093 - int i;
49094 -{
49095 - return p[i];
49096 -}
49097 -static char *f (char * (*g) (char **, int), char **p, ...)
49098 -{
49099 - char *s;
49100 - va_list v;
49101 - va_start (v,p);
49102 - s = g (p, va_arg (v,int));
49103 - va_end (v);
49104 - return s;
49105 -}
49106
49107 -/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
49108 - function prototypes and stuff, but not '\xHH' hex character constants.
49109 - These don't provoke an error unfortunately, instead are silently treated
49110 - as 'x'. The following induces an error, until -std1 is added to get
49111 - proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
49112 - array size at least. It's necessary to write '\x00'==0 to get something
49113 - that's true only with -std1. */
49114 -int osf4_cc_array ['\x00' == 0 ? 1 : -1];
49115
49116 -int test (int i, double x);
49117 -struct s1 {int (*f) (int a);};
49118 -struct s2 {int (*f) (double a);};
49119 -int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
49120 -int argc;
49121 -char **argv;
49122 -int
49123 -main ()
49124 -{
49125 -return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
49126 - ;
49127 - return 0;
49128 -}
49129 +cat >>confdefs.h <<_ACEOF
49130 +#define TARGET_OS "${target_os}"
49131 _ACEOF
49132 -# Don't try gcc -ansi; that turns off useful extensions and
49133 -# breaks some systems' header files.
49134 -# AIX -qlanglvl=ansi
49135 -# Ultrix and OSF/1 -std1
49136 -# HP-UX 10.20 and later -Ae
49137 -# HP-UX older versions -Aa -D_HPUX_SOURCE
49138 -# SVR4 -Xc -D__EXTENSIONS__
49139 -for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
49140 -do
49141 - CC="$ac_save_CC $ac_arg"
49142 - rm -f conftest.$ac_objext
49143 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49144 - (eval $ac_compile) 2>conftest.er1
49145 - ac_status=$?
49146 - grep -v '^ *+' conftest.er1 >conftest.err
49147 - rm -f conftest.er1
49148 - cat conftest.err >&5
49149 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
49150 - (exit $ac_status); } &&
49151 - { ac_try='test -z "$ac_c_werror_flag"
49152 - || test ! -s conftest.err'
49153 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49154 - (eval $ac_try) 2>&5
49155 - ac_status=$?
49156 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
49157 - (exit $ac_status); }; } &&
49158 - { ac_try='test -s conftest.$ac_objext'
49159 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49160 - (eval $ac_try) 2>&5
49161 - ac_status=$?
49162 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
49163 - (exit $ac_status); }; }; then
49164 - ac_cv_prog_cc_stdc=$ac_arg
49165 -break
49166 +
49167 +
49168 +ac_ext=c
49169 +ac_cpp='$CPP $CPPFLAGS'
49170 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49171 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49172 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
49173 +if test -n "$ac_tool_prefix"; then
49174 + # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
49175 +set dummy ${ac_tool_prefix}gcc; ac_word=$2
49176 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
49177 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49178 +if test "${ac_cv_prog_CC+set}" = set; then
49179 + echo $ECHO_N "(cached) $ECHO_C" >&6
49180 else
49181 - echo "$as_me: failed program was:" >&5
49182 -sed 's/^/| /' conftest.$ac_ext >&5
49183 + if test -n "$CC"; then
49184 + ac_cv_prog_CC="$CC" # Let the user override the test.
49185 +else
49186 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49187 +for as_dir in $PATH
49188 +do
49189 + IFS=$as_save_IFS
49190 + test -z "$as_dir" && as_dir=.
49191 + for ac_exec_ext in '' $ac_executable_extensions; do
49192 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49193 + ac_cv_prog_CC="${ac_tool_prefix}gcc"
49194 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49195 + break 2
49196 + fi
49197 +done
49198 +done
49199 +IFS=$as_save_IFS
49200 +
49201 +fi
49202 +fi
49203 +CC=$ac_cv_prog_CC
49204 +if test -n "$CC"; then
49205 + { echo "$as_me:$LINENO: result: $CC" >&5
49206 +echo "${ECHO_T}$CC" >&6; }
49207 +else
49208 + { echo "$as_me:$LINENO: result: no" >&5
49209 +echo "${ECHO_T}no" >&6; }
49210 +fi
49211 +
49212
49213 fi
49214 -rm -f conftest.err conftest.$ac_objext
49215 +if test -z "$ac_cv_prog_CC"; then
49216 + ac_ct_CC=$CC
49217 + # Extract the first word of "gcc", so it can be a program name with args.
49218 +set dummy gcc; ac_word=$2
49219 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
49220 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49221 +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
49222 + echo $ECHO_N "(cached) $ECHO_C" >&6
49223 +else
49224 + if test -n "$ac_ct_CC"; then
49225 + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
49226 +else
49227 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49228 +for as_dir in $PATH
49229 +do
49230 + IFS=$as_save_IFS
49231 + test -z "$as_dir" && as_dir=.
49232 + for ac_exec_ext in '' $ac_executable_extensions; do
49233 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49234 + ac_cv_prog_ac_ct_CC="gcc"
49235 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49236 + break 2
49237 + fi
49238 done
49239 -rm -f conftest.$ac_ext conftest.$ac_objext
49240 -CC=$ac_save_CC
49241 +done
49242 +IFS=$as_save_IFS
49243
49244 fi
49245 +fi
49246 +ac_ct_CC=$ac_cv_prog_ac_ct_CC
49247 +if test -n "$ac_ct_CC"; then
49248 + { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
49249 +echo "${ECHO_T}$ac_ct_CC" >&6; }
49250 +else
49251 + { echo "$as_me:$LINENO: result: no" >&5
49252 +echo "${ECHO_T}no" >&6; }
49253 +fi
49254
49255 -case "x$ac_cv_prog_cc_stdc" in
49256 - x|xno)
49257 - echo "$as_me:$LINENO: result: none needed" >&5
49258 -echo "${ECHO_T}none needed" >&6 ;;
49259 - *)
49260 - echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
49261 -echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
49262 - CC="$CC $ac_cv_prog_cc_stdc" ;;
49263 + if test "x$ac_ct_CC" = x; then
49264 + CC=""
49265 + else
49266 + case $cross_compiling:$ac_tool_warned in
49267 +yes:)
49268 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49269 +whose name does not start with the host triplet. If you think this
49270 +configuration is useful to you, please write to autoconf@gnu.org." >&5
49271 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49272 +whose name does not start with the host triplet. If you think this
49273 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49274 +ac_tool_warned=yes ;;
49275 esac
49276 + CC=$ac_ct_CC
49277 + fi
49278 +else
49279 + CC="$ac_cv_prog_CC"
49280 +fi
49281
49282 -# Some people use a C++ compiler to compile C. Since we use `exit',
49283 -# in C++ we need to declare it. In case someone uses the same compiler
49284 -# for both compiling C and C++ we need to have the C++ compiler decide
49285 -# the declaration of exit, since it's the most demanding environment.
49286 -cat >conftest.$ac_ext <<_ACEOF
49287 -#ifndef __cplusplus
49288 - choke me
49289 -#endif
49290 -_ACEOF
49291 -rm -f conftest.$ac_objext
49292 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49293 - (eval $ac_compile) 2>conftest.er1
49294 - ac_status=$?
49295 - grep -v '^ *+' conftest.er1 >conftest.err
49296 - rm -f conftest.er1
49297 - cat conftest.err >&5
49298 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
49299 - (exit $ac_status); } &&
49300 - { ac_try='test -z "$ac_c_werror_flag"
49301 - || test ! -s conftest.err'
49302 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49303 - (eval $ac_try) 2>&5
49304 - ac_status=$?
49305 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
49306 - (exit $ac_status); }; } &&
49307 - { ac_try='test -s conftest.$ac_objext'
49308 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49309 - (eval $ac_try) 2>&5
49310 - ac_status=$?
49311 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
49312 - (exit $ac_status); }; }; then
49313 - for ac_declaration in \
49314 - '' \
49315 - 'extern "C" void std::exit (int) throw (); using std::exit;' \
49316 - 'extern "C" void std::exit (int); using std::exit;' \
49317 - 'extern "C" void exit (int) throw ();' \
49318 - 'extern "C" void exit (int);' \
49319 - 'void exit (int);'
49320 -do
49321 - cat >conftest.$ac_ext <<_ACEOF
49322 -/* confdefs.h. */
49323 -_ACEOF
49324 -cat confdefs.h >>conftest.$ac_ext
49325 -cat >>conftest.$ac_ext <<_ACEOF
49326 -/* end confdefs.h. */
49327 -$ac_declaration
49328 -#include <stdlib.h>
49329 -int
49330 -main ()
49331 -{
49332 -exit (42);
49333 - ;
49334 - return 0;
49335 -}
49336 -_ACEOF
49337 -rm -f conftest.$ac_objext
49338 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49339 - (eval $ac_compile) 2>conftest.er1
49340 - ac_status=$?
49341 - grep -v '^ *+' conftest.er1 >conftest.err
49342 - rm -f conftest.er1
49343 - cat conftest.err >&5
49344 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
49345 - (exit $ac_status); } &&
49346 - { ac_try='test -z "$ac_c_werror_flag"
49347 - || test ! -s conftest.err'
49348 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49349 - (eval $ac_try) 2>&5
49350 - ac_status=$?
49351 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
49352 - (exit $ac_status); }; } &&
49353 - { ac_try='test -s conftest.$ac_objext'
49354 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49355 - (eval $ac_try) 2>&5
49356 - ac_status=$?
49357 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
49358 - (exit $ac_status); }; }; then
49359 - :
49360 +if test -z "$CC"; then
49361 + if test -n "$ac_tool_prefix"; then
49362 + # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
49363 +set dummy ${ac_tool_prefix}cc; ac_word=$2
49364 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
49365 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49366 +if test "${ac_cv_prog_CC+set}" = set; then
49367 + echo $ECHO_N "(cached) $ECHO_C" >&6
49368 else
49369 - echo "$as_me: failed program was:" >&5
49370 -sed 's/^/| /' conftest.$ac_ext >&5
49371 + if test -n "$CC"; then
49372 + ac_cv_prog_CC="$CC" # Let the user override the test.
49373 +else
49374 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49375 +for as_dir in $PATH
49376 +do
49377 + IFS=$as_save_IFS
49378 + test -z "$as_dir" && as_dir=.
49379 + for ac_exec_ext in '' $ac_executable_extensions; do
49380 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49381 + ac_cv_prog_CC="${ac_tool_prefix}cc"
49382 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49383 + break 2
49384 + fi
49385 +done
49386 +done
49387 +IFS=$as_save_IFS
49388
49389 -continue
49390 fi
49391 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49392 - cat >conftest.$ac_ext <<_ACEOF
49393 -/* confdefs.h. */
49394 -_ACEOF
49395 -cat confdefs.h >>conftest.$ac_ext
49396 -cat >>conftest.$ac_ext <<_ACEOF
49397 -/* end confdefs.h. */
49398 -$ac_declaration
49399 -int
49400 -main ()
49401 -{
49402 -exit (42);
49403 - ;
49404 - return 0;
49405 -}
49406 -_ACEOF
49407 -rm -f conftest.$ac_objext
49408 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49409 - (eval $ac_compile) 2>conftest.er1
49410 - ac_status=$?
49411 - grep -v '^ *+' conftest.er1 >conftest.err
49412 - rm -f conftest.er1
49413 - cat conftest.err >&5
49414 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
49415 - (exit $ac_status); } &&
49416 - { ac_try='test -z "$ac_c_werror_flag"
49417 - || test ! -s conftest.err'
49418 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49419 - (eval $ac_try) 2>&5
49420 - ac_status=$?
49421 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
49422 - (exit $ac_status); }; } &&
49423 - { ac_try='test -s conftest.$ac_objext'
49424 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49425 - (eval $ac_try) 2>&5
49426 - ac_status=$?
49427 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
49428 - (exit $ac_status); }; }; then
49429 - break
49430 +fi
49431 +CC=$ac_cv_prog_CC
49432 +if test -n "$CC"; then
49433 + { echo "$as_me:$LINENO: result: $CC" >&5
49434 +echo "${ECHO_T}$CC" >&6; }
49435 else
49436 - echo "$as_me: failed program was:" >&5
49437 -sed 's/^/| /' conftest.$ac_ext >&5
49438 + { echo "$as_me:$LINENO: result: no" >&5
49439 +echo "${ECHO_T}no" >&6; }
49440 +fi
49441
49442 +
49443 + fi
49444 fi
49445 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49446 +if test -z "$CC"; then
49447 + # Extract the first word of "cc", so it can be a program name with args.
49448 +set dummy cc; ac_word=$2
49449 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
49450 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49451 +if test "${ac_cv_prog_CC+set}" = set; then
49452 + echo $ECHO_N "(cached) $ECHO_C" >&6
49453 +else
49454 + if test -n "$CC"; then
49455 + ac_cv_prog_CC="$CC" # Let the user override the test.
49456 +else
49457 + ac_prog_rejected=no
49458 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49459 +for as_dir in $PATH
49460 +do
49461 + IFS=$as_save_IFS
49462 + test -z "$as_dir" && as_dir=.
49463 + for ac_exec_ext in '' $ac_executable_extensions; do
49464 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49465 + if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
49466 + ac_prog_rejected=yes
49467 + continue
49468 + fi
49469 + ac_cv_prog_CC="cc"
49470 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49471 + break 2
49472 + fi
49473 done
49474 -rm -f conftest*
49475 -if test -n "$ac_declaration"; then
49476 - echo '#ifdef __cplusplus' >>confdefs.h
49477 - echo $ac_declaration >>confdefs.h
49478 - echo '#endif' >>confdefs.h
49479 -fi
49480 +done
49481 +IFS=$as_save_IFS
49482
49483 +if test $ac_prog_rejected = yes; then
49484 + # We found a bogon in the path, so make sure we never use it.
49485 + set dummy $ac_cv_prog_CC
49486 + shift
49487 + if test $# != 0; then
49488 + # We chose a different compiler from the bogus one.
49489 + # However, it has the same basename, so the bogon will be chosen
49490 + # first if we set CC to just the basename; use the full file name.
49491 + shift
49492 + ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
49493 + fi
49494 +fi
49495 +fi
49496 +fi
49497 +CC=$ac_cv_prog_CC
49498 +if test -n "$CC"; then
49499 + { echo "$as_me:$LINENO: result: $CC" >&5
49500 +echo "${ECHO_T}$CC" >&6; }
49501 else
49502 - echo "$as_me: failed program was:" >&5
49503 -sed 's/^/| /' conftest.$ac_ext >&5
49504 -
49505 + { echo "$as_me:$LINENO: result: no" >&5
49506 +echo "${ECHO_T}no" >&6; }
49507 fi
49508 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49509 -ac_ext=c
49510 -ac_cpp='$CPP $CPPFLAGS'
49511 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49512 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49513 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
49514
49515
49516 -for ac_prog in 'bison -y' byacc
49517 -do
49518 - # Extract the first word of "$ac_prog", so it can be a program name with args.
49519 -set dummy $ac_prog; ac_word=$2
49520 -echo "$as_me:$LINENO: checking for $ac_word" >&5
49521 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
49522 -if test "${ac_cv_prog_YACC+set}" = set; then
49523 +fi
49524 +if test -z "$CC"; then
49525 + if test -n "$ac_tool_prefix"; then
49526 + for ac_prog in cl.exe
49527 + do
49528 + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
49529 +set dummy $ac_tool_prefix$ac_prog; ac_word=$2
49530 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
49531 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49532 +if test "${ac_cv_prog_CC+set}" = set; then
49533 echo $ECHO_N "(cached) $ECHO_C" >&6
49534 else
49535 - if test -n "$YACC"; then
49536 - ac_cv_prog_YACC="$YACC" # Let the user override the test.
49537 + if test -n "$CC"; then
49538 + ac_cv_prog_CC="$CC" # Let the user override the test.
49539 else
49540 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49541 for as_dir in $PATH
49542 @@ -5918,40 +6574,43 @@ do
49543 IFS=$as_save_IFS
49544 test -z "$as_dir" && as_dir=.
49545 for ac_exec_ext in '' $ac_executable_extensions; do
49546 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
49547 - ac_cv_prog_YACC="$ac_prog"
49548 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49549 + ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
49550 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49551 break 2
49552 fi
49553 done
49554 done
49555 +IFS=$as_save_IFS
49556
49557 fi
49558 fi
49559 -YACC=$ac_cv_prog_YACC
49560 -if test -n "$YACC"; then
49561 - echo "$as_me:$LINENO: result: $YACC" >&5
49562 -echo "${ECHO_T}$YACC" >&6
49563 +CC=$ac_cv_prog_CC
49564 +if test -n "$CC"; then
49565 + { echo "$as_me:$LINENO: result: $CC" >&5
49566 +echo "${ECHO_T}$CC" >&6; }
49567 else
49568 - echo "$as_me:$LINENO: result: no" >&5
49569 -echo "${ECHO_T}no" >&6
49570 + { echo "$as_me:$LINENO: result: no" >&5
49571 +echo "${ECHO_T}no" >&6; }
49572 fi
49573
49574 - test -n "$YACC" && break
49575 -done
49576 -test -n "$YACC" || YACC="yacc"
49577
49578 -for ac_prog in flex lex
49579 + test -n "$CC" && break
49580 + done
49581 +fi
49582 +if test -z "$CC"; then
49583 + ac_ct_CC=$CC
49584 + for ac_prog in cl.exe
49585 do
49586 # Extract the first word of "$ac_prog", so it can be a program name with args.
49587 set dummy $ac_prog; ac_word=$2
49588 -echo "$as_me:$LINENO: checking for $ac_word" >&5
49589 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
49590 -if test "${ac_cv_prog_LEX+set}" = set; then
49591 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
49592 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49593 +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
49594 echo $ECHO_N "(cached) $ECHO_C" >&6
49595 else
49596 - if test -n "$LEX"; then
49597 - ac_cv_prog_LEX="$LEX" # Let the user override the test.
49598 + if test -n "$ac_ct_CC"; then
49599 + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
49600 else
49601 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49602 for as_dir in $PATH
49603 @@ -5959,277 +6618,432 @@ do
49604 IFS=$as_save_IFS
49605 test -z "$as_dir" && as_dir=.
49606 for ac_exec_ext in '' $ac_executable_extensions; do
49607 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
49608 - ac_cv_prog_LEX="$ac_prog"
49609 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49610 + ac_cv_prog_ac_ct_CC="$ac_prog"
49611 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49612 break 2
49613 fi
49614 done
49615 done
49616 +IFS=$as_save_IFS
49617
49618 fi
49619 fi
49620 -LEX=$ac_cv_prog_LEX
49621 -if test -n "$LEX"; then
49622 - echo "$as_me:$LINENO: result: $LEX" >&5
49623 -echo "${ECHO_T}$LEX" >&6
49624 -else
49625 - echo "$as_me:$LINENO: result: no" >&5
49626 -echo "${ECHO_T}no" >&6
49627 +ac_ct_CC=$ac_cv_prog_ac_ct_CC
49628 +if test -n "$ac_ct_CC"; then
49629 + { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
49630 +echo "${ECHO_T}$ac_ct_CC" >&6; }
49631 +else
49632 + { echo "$as_me:$LINENO: result: no" >&5
49633 +echo "${ECHO_T}no" >&6; }
49634 +fi
49635 +
49636 +
49637 + test -n "$ac_ct_CC" && break
49638 +done
49639 +
49640 + if test "x$ac_ct_CC" = x; then
49641 + CC=""
49642 + else
49643 + case $cross_compiling:$ac_tool_warned in
49644 +yes:)
49645 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49646 +whose name does not start with the host triplet. If you think this
49647 +configuration is useful to you, please write to autoconf@gnu.org." >&5
49648 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49649 +whose name does not start with the host triplet. If you think this
49650 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49651 +ac_tool_warned=yes ;;
49652 +esac
49653 + CC=$ac_ct_CC
49654 + fi
49655 +fi
49656 +
49657 fi
49658
49659 - test -n "$LEX" && break
49660 -done
49661 -test -n "$LEX" || LEX=":"
49662
49663 -if test -z "$LEXLIB"
49664 -then
49665 - echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
49666 -echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
49667 -if test "${ac_cv_lib_fl_yywrap+set}" = set; then
49668 +test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
49669 +See \`config.log' for more details." >&5
49670 +echo "$as_me: error: no acceptable C compiler found in \$PATH
49671 +See \`config.log' for more details." >&2;}
49672 + { (exit 1); exit 1; }; }
49673 +
49674 +# Provide some information about the compiler.
49675 +echo "$as_me:$LINENO: checking for C compiler version" >&5
49676 +ac_compiler=`set X $ac_compile; echo $2`
49677 +{ (ac_try="$ac_compiler --version >&5"
49678 +case "(($ac_try" in
49679 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49680 + *) ac_try_echo=$ac_try;;
49681 +esac
49682 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49683 + (eval "$ac_compiler --version >&5") 2>&5
49684 + ac_status=$?
49685 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
49686 + (exit $ac_status); }
49687 +{ (ac_try="$ac_compiler -v >&5"
49688 +case "(($ac_try" in
49689 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49690 + *) ac_try_echo=$ac_try;;
49691 +esac
49692 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49693 + (eval "$ac_compiler -v >&5") 2>&5
49694 + ac_status=$?
49695 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
49696 + (exit $ac_status); }
49697 +{ (ac_try="$ac_compiler -V >&5"
49698 +case "(($ac_try" in
49699 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49700 + *) ac_try_echo=$ac_try;;
49701 +esac
49702 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49703 + (eval "$ac_compiler -V >&5") 2>&5
49704 + ac_status=$?
49705 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
49706 + (exit $ac_status); }
49707 +
49708 +{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
49709 +echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
49710 +if test "${ac_cv_c_compiler_gnu+set}" = set; then
49711 echo $ECHO_N "(cached) $ECHO_C" >&6
49712 else
49713 - ac_check_lib_save_LIBS=$LIBS
49714 -LIBS="-lfl $LIBS"
49715 -cat >conftest.$ac_ext <<_ACEOF
49716 + cat >conftest.$ac_ext <<_ACEOF
49717 /* confdefs.h. */
49718 _ACEOF
49719 cat confdefs.h >>conftest.$ac_ext
49720 cat >>conftest.$ac_ext <<_ACEOF
49721 /* end confdefs.h. */
49722
49723 -/* Override any gcc2 internal prototype to avoid an error. */
49724 -#ifdef __cplusplus
49725 -extern "C"
49726 -#endif
49727 -/* We use char because int might match the return type of a gcc2
49728 - builtin and then its argument prototype would still apply. */
49729 -char yywrap ();
49730 int
49731 main ()
49732 {
49733 -yywrap ();
49734 +#ifndef __GNUC__
49735 + choke me
49736 +#endif
49737 +
49738 ;
49739 return 0;
49740 }
49741 _ACEOF
49742 -rm -f conftest.$ac_objext conftest$ac_exeext
49743 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49744 - (eval $ac_link) 2>conftest.er1
49745 +rm -f conftest.$ac_objext
49746 +if { (ac_try="$ac_compile"
49747 +case "(($ac_try" in
49748 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49749 + *) ac_try_echo=$ac_try;;
49750 +esac
49751 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49752 + (eval "$ac_compile") 2>conftest.er1
49753 ac_status=$?
49754 grep -v '^ *+' conftest.er1 >conftest.err
49755 rm -f conftest.er1
49756 cat conftest.err >&5
49757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49758 - (exit $ac_status); } &&
49759 - { ac_try='test -z "$ac_c_werror_flag"
49760 - || test ! -s conftest.err'
49761 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49762 - (eval $ac_try) 2>&5
49763 - ac_status=$?
49764 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
49765 - (exit $ac_status); }; } &&
49766 - { ac_try='test -s conftest$ac_exeext'
49767 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49768 - (eval $ac_try) 2>&5
49769 - ac_status=$?
49770 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
49771 - (exit $ac_status); }; }; then
49772 - ac_cv_lib_fl_yywrap=yes
49773 + (exit $ac_status); } && {
49774 + test -z "$ac_c_werror_flag" ||
49775 + test ! -s conftest.err
49776 + } && test -s conftest.$ac_objext; then
49777 + ac_compiler_gnu=yes
49778 else
49779 echo "$as_me: failed program was:" >&5
49780 sed 's/^/| /' conftest.$ac_ext >&5
49781
49782 -ac_cv_lib_fl_yywrap=no
49783 + ac_compiler_gnu=no
49784 fi
49785 -rm -f conftest.err conftest.$ac_objext \
49786 - conftest$ac_exeext conftest.$ac_ext
49787 -LIBS=$ac_check_lib_save_LIBS
49788 +
49789 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49790 +ac_cv_c_compiler_gnu=$ac_compiler_gnu
49791 +
49792 fi
49793 -echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
49794 -echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
49795 -if test $ac_cv_lib_fl_yywrap = yes; then
49796 - LEXLIB="-lfl"
49797 -else
49798 - echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
49799 -echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
49800 -if test "${ac_cv_lib_l_yywrap+set}" = set; then
49801 +{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
49802 +echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
49803 +GCC=`test $ac_compiler_gnu = yes && echo yes`
49804 +ac_test_CFLAGS=${CFLAGS+set}
49805 +ac_save_CFLAGS=$CFLAGS
49806 +{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
49807 +echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
49808 +if test "${ac_cv_prog_cc_g+set}" = set; then
49809 echo $ECHO_N "(cached) $ECHO_C" >&6
49810 else
49811 - ac_check_lib_save_LIBS=$LIBS
49812 -LIBS="-ll $LIBS"
49813 -cat >conftest.$ac_ext <<_ACEOF
49814 + ac_save_c_werror_flag=$ac_c_werror_flag
49815 + ac_c_werror_flag=yes
49816 + ac_cv_prog_cc_g=no
49817 + CFLAGS="-g"
49818 + cat >conftest.$ac_ext <<_ACEOF
49819 /* confdefs.h. */
49820 _ACEOF
49821 cat confdefs.h >>conftest.$ac_ext
49822 cat >>conftest.$ac_ext <<_ACEOF
49823 /* end confdefs.h. */
49824
49825 -/* Override any gcc2 internal prototype to avoid an error. */
49826 -#ifdef __cplusplus
49827 -extern "C"
49828 -#endif
49829 -/* We use char because int might match the return type of a gcc2
49830 - builtin and then its argument prototype would still apply. */
49831 -char yywrap ();
49832 int
49833 main ()
49834 {
49835 -yywrap ();
49836 +
49837 ;
49838 return 0;
49839 }
49840 _ACEOF
49841 -rm -f conftest.$ac_objext conftest$ac_exeext
49842 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49843 - (eval $ac_link) 2>conftest.er1
49844 +rm -f conftest.$ac_objext
49845 +if { (ac_try="$ac_compile"
49846 +case "(($ac_try" in
49847 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49848 + *) ac_try_echo=$ac_try;;
49849 +esac
49850 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49851 + (eval "$ac_compile") 2>conftest.er1
49852 ac_status=$?
49853 grep -v '^ *+' conftest.er1 >conftest.err
49854 rm -f conftest.er1
49855 cat conftest.err >&5
49856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49857 - (exit $ac_status); } &&
49858 - { ac_try='test -z "$ac_c_werror_flag"
49859 - || test ! -s conftest.err'
49860 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49861 - (eval $ac_try) 2>&5
49862 + (exit $ac_status); } && {
49863 + test -z "$ac_c_werror_flag" ||
49864 + test ! -s conftest.err
49865 + } && test -s conftest.$ac_objext; then
49866 + ac_cv_prog_cc_g=yes
49867 +else
49868 + echo "$as_me: failed program was:" >&5
49869 +sed 's/^/| /' conftest.$ac_ext >&5
49870 +
49871 + CFLAGS=""
49872 + cat >conftest.$ac_ext <<_ACEOF
49873 +/* confdefs.h. */
49874 +_ACEOF
49875 +cat confdefs.h >>conftest.$ac_ext
49876 +cat >>conftest.$ac_ext <<_ACEOF
49877 +/* end confdefs.h. */
49878 +
49879 +int
49880 +main ()
49881 +{
49882 +
49883 + ;
49884 + return 0;
49885 +}
49886 +_ACEOF
49887 +rm -f conftest.$ac_objext
49888 +if { (ac_try="$ac_compile"
49889 +case "(($ac_try" in
49890 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49891 + *) ac_try_echo=$ac_try;;
49892 +esac
49893 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49894 + (eval "$ac_compile") 2>conftest.er1
49895 ac_status=$?
49896 + grep -v '^ *+' conftest.er1 >conftest.err
49897 + rm -f conftest.er1
49898 + cat conftest.err >&5
49899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49900 - (exit $ac_status); }; } &&
49901 - { ac_try='test -s conftest$ac_exeext'
49902 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49903 - (eval $ac_try) 2>&5
49904 + (exit $ac_status); } && {
49905 + test -z "$ac_c_werror_flag" ||
49906 + test ! -s conftest.err
49907 + } && test -s conftest.$ac_objext; then
49908 + :
49909 +else
49910 + echo "$as_me: failed program was:" >&5
49911 +sed 's/^/| /' conftest.$ac_ext >&5
49912 +
49913 + ac_c_werror_flag=$ac_save_c_werror_flag
49914 + CFLAGS="-g"
49915 + cat >conftest.$ac_ext <<_ACEOF
49916 +/* confdefs.h. */
49917 +_ACEOF
49918 +cat confdefs.h >>conftest.$ac_ext
49919 +cat >>conftest.$ac_ext <<_ACEOF
49920 +/* end confdefs.h. */
49921 +
49922 +int
49923 +main ()
49924 +{
49925 +
49926 + ;
49927 + return 0;
49928 +}
49929 +_ACEOF
49930 +rm -f conftest.$ac_objext
49931 +if { (ac_try="$ac_compile"
49932 +case "(($ac_try" in
49933 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49934 + *) ac_try_echo=$ac_try;;
49935 +esac
49936 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49937 + (eval "$ac_compile") 2>conftest.er1
49938 ac_status=$?
49939 + grep -v '^ *+' conftest.er1 >conftest.err
49940 + rm -f conftest.er1
49941 + cat conftest.err >&5
49942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49943 - (exit $ac_status); }; }; then
49944 - ac_cv_lib_l_yywrap=yes
49945 + (exit $ac_status); } && {
49946 + test -z "$ac_c_werror_flag" ||
49947 + test ! -s conftest.err
49948 + } && test -s conftest.$ac_objext; then
49949 + ac_cv_prog_cc_g=yes
49950 else
49951 echo "$as_me: failed program was:" >&5
49952 sed 's/^/| /' conftest.$ac_ext >&5
49953
49954 -ac_cv_lib_l_yywrap=no
49955 -fi
49956 -rm -f conftest.err conftest.$ac_objext \
49957 - conftest$ac_exeext conftest.$ac_ext
49958 -LIBS=$ac_check_lib_save_LIBS
49959 -fi
49960 -echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
49961 -echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
49962 -if test $ac_cv_lib_l_yywrap = yes; then
49963 - LEXLIB="-ll"
49964 +
49965 fi
49966
49967 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49968 fi
49969
49970 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49971 fi
49972
49973 -if test "x$LEX" != "x:"; then
49974 - echo "$as_me:$LINENO: checking lex output file root" >&5
49975 -echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
49976 -if test "${ac_cv_prog_lex_root+set}" = set; then
49977 - echo $ECHO_N "(cached) $ECHO_C" >&6
49978 -else
49979 - # The minimal lex program is just a single line: %%. But some broken lexes
49980 -# (Solaris, I think it was) want two %% lines, so accommodate them.
49981 -cat >conftest.l <<_ACEOF
49982 -%%
49983 -%%
49984 -_ACEOF
49985 -{ (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
49986 - (eval $LEX conftest.l) 2>&5
49987 - ac_status=$?
49988 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
49989 - (exit $ac_status); }
49990 -if test -f lex.yy.c; then
49991 - ac_cv_prog_lex_root=lex.yy
49992 -elif test -f lexyy.c; then
49993 - ac_cv_prog_lex_root=lexyy
49994 -else
49995 - { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
49996 -echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
49997 - { (exit 1); exit 1; }; }
49998 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49999 + ac_c_werror_flag=$ac_save_c_werror_flag
50000 fi
50001 +{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
50002 +echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
50003 +if test "$ac_test_CFLAGS" = set; then
50004 + CFLAGS=$ac_save_CFLAGS
50005 +elif test $ac_cv_prog_cc_g = yes; then
50006 + if test "$GCC" = yes; then
50007 + CFLAGS="-g -O2"
50008 + else
50009 + CFLAGS="-g"
50010 + fi
50011 +else
50012 + if test "$GCC" = yes; then
50013 + CFLAGS="-O2"
50014 + else
50015 + CFLAGS=
50016 + fi
50017 fi
50018 -echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
50019 -echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
50020 -rm -f conftest.l
50021 -LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
50022 -
50023 -echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
50024 -echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
50025 -if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
50026 +{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
50027 +echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
50028 +if test "${ac_cv_prog_cc_c89+set}" = set; then
50029 echo $ECHO_N "(cached) $ECHO_C" >&6
50030 else
50031 - # POSIX says lex can declare yytext either as a pointer or an array; the
50032 -# default is implementation-dependent. Figure out which it is, since
50033 -# not all implementations provide the %pointer and %array declarations.
50034 -ac_cv_prog_lex_yytext_pointer=no
50035 -echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
50036 -ac_save_LIBS=$LIBS
50037 -LIBS="$LIBS $LEXLIB"
50038 + ac_cv_prog_cc_c89=no
50039 +ac_save_CC=$CC
50040 cat >conftest.$ac_ext <<_ACEOF
50041 -`cat $LEX_OUTPUT_ROOT.c`
50042 +/* confdefs.h. */
50043 _ACEOF
50044 -rm -f conftest.$ac_objext conftest$ac_exeext
50045 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50046 - (eval $ac_link) 2>conftest.er1
50047 +cat confdefs.h >>conftest.$ac_ext
50048 +cat >>conftest.$ac_ext <<_ACEOF
50049 +/* end confdefs.h. */
50050 +#include <stdarg.h>
50051 +#include <stdio.h>
50052 +#include <sys/types.h>
50053 +#include <sys/stat.h>
50054 +/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
50055 +struct buf { int x; };
50056 +FILE * (*rcsopen) (struct buf *, struct stat *, int);
50057 +static char *e (p, i)
50058 + char **p;
50059 + int i;
50060 +{
50061 + return p[i];
50062 +}
50063 +static char *f (char * (*g) (char **, int), char **p, ...)
50064 +{
50065 + char *s;
50066 + va_list v;
50067 + va_start (v,p);
50068 + s = g (p, va_arg (v,int));
50069 + va_end (v);
50070 + return s;
50071 +}
50072 +
50073 +/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
50074 + function prototypes and stuff, but not '\xHH' hex character constants.
50075 + These don't provoke an error unfortunately, instead are silently treated
50076 + as 'x'. The following induces an error, until -std is added to get
50077 + proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
50078 + array size at least. It's necessary to write '\x00'==0 to get something
50079 + that's true only with -std. */
50080 +int osf4_cc_array ['\x00' == 0 ? 1 : -1];
50081 +
50082 +/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
50083 + inside strings and character constants. */
50084 +#define FOO(x) 'x'
50085 +int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
50086 +
50087 +int test (int i, double x);
50088 +struct s1 {int (*f) (int a);};
50089 +struct s2 {int (*f) (double a);};
50090 +int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
50091 +int argc;
50092 +char **argv;
50093 +int
50094 +main ()
50095 +{
50096 +return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
50097 + ;
50098 + return 0;
50099 +}
50100 +_ACEOF
50101 +for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
50102 + -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
50103 +do
50104 + CC="$ac_save_CC $ac_arg"
50105 + rm -f conftest.$ac_objext
50106 +if { (ac_try="$ac_compile"
50107 +case "(($ac_try" in
50108 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
50109 + *) ac_try_echo=$ac_try;;
50110 +esac
50111 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50112 + (eval "$ac_compile") 2>conftest.er1
50113 ac_status=$?
50114 grep -v '^ *+' conftest.er1 >conftest.err
50115 rm -f conftest.er1
50116 cat conftest.err >&5
50117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50118 - (exit $ac_status); } &&
50119 - { ac_try='test -z "$ac_c_werror_flag"
50120 - || test ! -s conftest.err'
50121 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50122 - (eval $ac_try) 2>&5
50123 - ac_status=$?
50124 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
50125 - (exit $ac_status); }; } &&
50126 - { ac_try='test -s conftest$ac_exeext'
50127 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50128 - (eval $ac_try) 2>&5
50129 - ac_status=$?
50130 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
50131 - (exit $ac_status); }; }; then
50132 - ac_cv_prog_lex_yytext_pointer=yes
50133 + (exit $ac_status); } && {
50134 + test -z "$ac_c_werror_flag" ||
50135 + test ! -s conftest.err
50136 + } && test -s conftest.$ac_objext; then
50137 + ac_cv_prog_cc_c89=$ac_arg
50138 else
50139 echo "$as_me: failed program was:" >&5
50140 sed 's/^/| /' conftest.$ac_ext >&5
50141
50142 -fi
50143 -rm -f conftest.err conftest.$ac_objext \
50144 - conftest$ac_exeext conftest.$ac_ext
50145 -LIBS=$ac_save_LIBS
50146 -rm -f "${LEX_OUTPUT_ROOT}.c"
50147
50148 fi
50149 -echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
50150 -echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
50151 -if test $ac_cv_prog_lex_yytext_pointer = yes; then
50152
50153 -cat >>confdefs.h <<\_ACEOF
50154 -#define YYTEXT_POINTER 1
50155 -_ACEOF
50156 +rm -f core conftest.err conftest.$ac_objext
50157 + test "x$ac_cv_prog_cc_c89" != "xno" && break
50158 +done
50159 +rm -f conftest.$ac_ext
50160 +CC=$ac_save_CC
50161
50162 fi
50163 +# AC_CACHE_VAL
50164 +case "x$ac_cv_prog_cc_c89" in
50165 + x)
50166 + { echo "$as_me:$LINENO: result: none needed" >&5
50167 +echo "${ECHO_T}none needed" >&6; } ;;
50168 + xno)
50169 + { echo "$as_me:$LINENO: result: unsupported" >&5
50170 +echo "${ECHO_T}unsupported" >&6; } ;;
50171 + *)
50172 + CC="$CC $ac_cv_prog_cc_c89"
50173 + { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
50174 +echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
50175 +esac
50176
50177 -fi
50178 -if test "$LEX" = :; then
50179 - LEX=${am_missing_run}flex
50180 -fi
50181
50182 -ALL_LINGUAS="fr tr es rw"
50183 -if test -n "$ac_tool_prefix"; then
50184 - # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
50185 -set dummy ${ac_tool_prefix}ranlib; ac_word=$2
50186 -echo "$as_me:$LINENO: checking for $ac_word" >&5
50187 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
50188 -if test "${ac_cv_prog_RANLIB+set}" = set; then
50189 +ac_ext=c
50190 +ac_cpp='$CPP $CPPFLAGS'
50191 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50192 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50193 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
50194 +
50195 +
50196 +for ac_prog in 'bison -y' byacc
50197 +do
50198 + # Extract the first word of "$ac_prog", so it can be a program name with args.
50199 +set dummy $ac_prog; ac_word=$2
50200 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
50201 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50202 +if test "${ac_cv_prog_YACC+set}" = set; then
50203 echo $ECHO_N "(cached) $ECHO_C" >&6
50204 else
50205 - if test -n "$RANLIB"; then
50206 - ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
50207 + if test -n "$YACC"; then
50208 + ac_cv_prog_YACC="$YACC" # Let the user override the test.
50209 else
50210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50211 for as_dir in $PATH
50212 @@ -6237,37 +7051,42 @@ do
50213 IFS=$as_save_IFS
50214 test -z "$as_dir" && as_dir=.
50215 for ac_exec_ext in '' $ac_executable_extensions; do
50216 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
50217 - ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
50218 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50219 + ac_cv_prog_YACC="$ac_prog"
50220 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50221 break 2
50222 fi
50223 done
50224 done
50225 +IFS=$as_save_IFS
50226
50227 fi
50228 fi
50229 -RANLIB=$ac_cv_prog_RANLIB
50230 -if test -n "$RANLIB"; then
50231 - echo "$as_me:$LINENO: result: $RANLIB" >&5
50232 -echo "${ECHO_T}$RANLIB" >&6
50233 +YACC=$ac_cv_prog_YACC
50234 +if test -n "$YACC"; then
50235 + { echo "$as_me:$LINENO: result: $YACC" >&5
50236 +echo "${ECHO_T}$YACC" >&6; }
50237 else
50238 - echo "$as_me:$LINENO: result: no" >&5
50239 -echo "${ECHO_T}no" >&6
50240 + { echo "$as_me:$LINENO: result: no" >&5
50241 +echo "${ECHO_T}no" >&6; }
50242 fi
50243
50244 -fi
50245 -if test -z "$ac_cv_prog_RANLIB"; then
50246 - ac_ct_RANLIB=$RANLIB
50247 - # Extract the first word of "ranlib", so it can be a program name with args.
50248 -set dummy ranlib; ac_word=$2
50249 -echo "$as_me:$LINENO: checking for $ac_word" >&5
50250 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
50251 -if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
50252 +
50253 + test -n "$YACC" && break
50254 +done
50255 +test -n "$YACC" || YACC="yacc"
50256 +
50257 +for ac_prog in flex lex
50258 +do
50259 + # Extract the first word of "$ac_prog", so it can be a program name with args.
50260 +set dummy $ac_prog; ac_word=$2
50261 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
50262 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50263 +if test "${ac_cv_prog_LEX+set}" = set; then
50264 echo $ECHO_N "(cached) $ECHO_C" >&6
50265 else
50266 - if test -n "$ac_ct_RANLIB"; then
50267 - ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
50268 + if test -n "$LEX"; then
50269 + ac_cv_prog_LEX="$LEX" # Let the user override the test.
50270 else
50271 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50272 for as_dir in $PATH
50273 @@ -6275,449 +7094,295 @@ do
50274 IFS=$as_save_IFS
50275 test -z "$as_dir" && as_dir=.
50276 for ac_exec_ext in '' $ac_executable_extensions; do
50277 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
50278 - ac_cv_prog_ac_ct_RANLIB="ranlib"
50279 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50280 + ac_cv_prog_LEX="$ac_prog"
50281 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50282 break 2
50283 fi
50284 done
50285 done
50286 +IFS=$as_save_IFS
50287
50288 - test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
50289 fi
50290 fi
50291 -ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
50292 -if test -n "$ac_ct_RANLIB"; then
50293 - echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
50294 -echo "${ECHO_T}$ac_ct_RANLIB" >&6
50295 +LEX=$ac_cv_prog_LEX
50296 +if test -n "$LEX"; then
50297 + { echo "$as_me:$LINENO: result: $LEX" >&5
50298 +echo "${ECHO_T}$LEX" >&6; }
50299 else
50300 - echo "$as_me:$LINENO: result: no" >&5
50301 -echo "${ECHO_T}no" >&6
50302 + { echo "$as_me:$LINENO: result: no" >&5
50303 +echo "${ECHO_T}no" >&6; }
50304 fi
50305
50306 - RANLIB=$ac_ct_RANLIB
50307 -else
50308 - RANLIB="$ac_cv_prog_RANLIB"
50309 -fi
50310
50311 -ac_ext=c
50312 -ac_cpp='$CPP $CPPFLAGS'
50313 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50314 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50315 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
50316 -echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
50317 -echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
50318 -# On Suns, sometimes $CPP names a directory.
50319 -if test -n "$CPP" && test -d "$CPP"; then
50320 - CPP=
50321 -fi
50322 -if test -z "$CPP"; then
50323 - if test "${ac_cv_prog_CPP+set}" = set; then
50324 - echo $ECHO_N "(cached) $ECHO_C" >&6
50325 -else
50326 - # Double quotes because CPP needs to be expanded
50327 - for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
50328 - do
50329 - ac_preproc_ok=false
50330 -for ac_c_preproc_warn_flag in '' yes
50331 -do
50332 - # Use a header file that comes with gcc, so configuring glibc
50333 - # with a fresh cross-compiler works.
50334 - # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50335 - # <limits.h> exists even on freestanding compilers.
50336 - # On the NeXT, cc -E runs the code through the compiler's parser,
50337 - # not just through cpp. "Syntax error" is here to catch this case.
50338 - cat >conftest.$ac_ext <<_ACEOF
50339 -/* confdefs.h. */
50340 -_ACEOF
50341 -cat confdefs.h >>conftest.$ac_ext
50342 -cat >>conftest.$ac_ext <<_ACEOF
50343 -/* end confdefs.h. */
50344 -#ifdef __STDC__
50345 -# include <limits.h>
50346 -#else
50347 -# include <assert.h>
50348 + test -n "$LEX" && break
50349 +done
50350 +test -n "$LEX" || LEX=":"
50351 +
50352 +if test "x$LEX" != "x:"; then
50353 + cat >conftest.l <<_ACEOF
50354 +%%
50355 +a { ECHO; }
50356 +b { REJECT; }
50357 +c { yymore (); }
50358 +d { yyless (1); }
50359 +e { yyless (input () != 0); }
50360 +f { unput (yytext[0]); }
50361 +. { BEGIN INITIAL; }
50362 +%%
50363 +#ifdef YYTEXT_POINTER
50364 +extern char *yytext;
50365 #endif
50366 - Syntax error
50367 +int
50368 +main (void)
50369 +{
50370 + return ! yylex () + ! yywrap ();
50371 +}
50372 _ACEOF
50373 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
50374 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
50375 +{ (ac_try="$LEX conftest.l"
50376 +case "(($ac_try" in
50377 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
50378 + *) ac_try_echo=$ac_try;;
50379 +esac
50380 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50381 + (eval "$LEX conftest.l") 2>&5
50382 ac_status=$?
50383 - grep -v '^ *+' conftest.er1 >conftest.err
50384 - rm -f conftest.er1
50385 - cat conftest.err >&5
50386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50387 - (exit $ac_status); } >/dev/null; then
50388 - if test -s conftest.err; then
50389 - ac_cpp_err=$ac_c_preproc_warn_flag
50390 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
50391 - else
50392 - ac_cpp_err=
50393 - fi
50394 -else
50395 - ac_cpp_err=yes
50396 -fi
50397 -if test -z "$ac_cpp_err"; then
50398 - :
50399 + (exit $ac_status); }
50400 +{ echo "$as_me:$LINENO: checking lex output file root" >&5
50401 +echo $ECHO_N "checking lex output file root... $ECHO_C" >&6; }
50402 +if test "${ac_cv_prog_lex_root+set}" = set; then
50403 + echo $ECHO_N "(cached) $ECHO_C" >&6
50404 else
50405 - echo "$as_me: failed program was:" >&5
50406 -sed 's/^/| /' conftest.$ac_ext >&5
50407 -
50408 - # Broken: fails on valid input.
50409 -continue
50410 -fi
50411 -rm -f conftest.err conftest.$ac_ext
50412
50413 - # OK, works on sane cases. Now check whether non-existent headers
50414 - # can be detected and how.
50415 - cat >conftest.$ac_ext <<_ACEOF
50416 -/* confdefs.h. */
50417 -_ACEOF
50418 -cat confdefs.h >>conftest.$ac_ext
50419 -cat >>conftest.$ac_ext <<_ACEOF
50420 -/* end confdefs.h. */
50421 -#include <ac_nonexistent.h>
50422 -_ACEOF
50423 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
50424 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
50425 - ac_status=$?
50426 - grep -v '^ *+' conftest.er1 >conftest.err
50427 - rm -f conftest.er1
50428 - cat conftest.err >&5
50429 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
50430 - (exit $ac_status); } >/dev/null; then
50431 - if test -s conftest.err; then
50432 - ac_cpp_err=$ac_c_preproc_warn_flag
50433 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
50434 - else
50435 - ac_cpp_err=
50436 - fi
50437 -else
50438 - ac_cpp_err=yes
50439 -fi
50440 -if test -z "$ac_cpp_err"; then
50441 - # Broken: success on invalid input.
50442 -continue
50443 +if test -f lex.yy.c; then
50444 + ac_cv_prog_lex_root=lex.yy
50445 +elif test -f lexyy.c; then
50446 + ac_cv_prog_lex_root=lexyy
50447 else
50448 - echo "$as_me: failed program was:" >&5
50449 -sed 's/^/| /' conftest.$ac_ext >&5
50450 -
50451 - # Passes both tests.
50452 -ac_preproc_ok=:
50453 -break
50454 + { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
50455 +echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
50456 + { (exit 1); exit 1; }; }
50457 fi
50458 -rm -f conftest.err conftest.$ac_ext
50459 -
50460 -done
50461 -# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
50462 -rm -f conftest.err conftest.$ac_ext
50463 -if $ac_preproc_ok; then
50464 - break
50465 fi
50466 +{ echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
50467 +echo "${ECHO_T}$ac_cv_prog_lex_root" >&6; }
50468 +LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
50469
50470 - done
50471 - ac_cv_prog_CPP=$CPP
50472 -
50473 -fi
50474 - CPP=$ac_cv_prog_CPP
50475 -else
50476 - ac_cv_prog_CPP=$CPP
50477 -fi
50478 -echo "$as_me:$LINENO: result: $CPP" >&5
50479 -echo "${ECHO_T}$CPP" >&6
50480 -ac_preproc_ok=false
50481 -for ac_c_preproc_warn_flag in '' yes
50482 -do
50483 - # Use a header file that comes with gcc, so configuring glibc
50484 - # with a fresh cross-compiler works.
50485 - # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50486 - # <limits.h> exists even on freestanding compilers.
50487 - # On the NeXT, cc -E runs the code through the compiler's parser,
50488 - # not just through cpp. "Syntax error" is here to catch this case.
50489 - cat >conftest.$ac_ext <<_ACEOF
50490 -/* confdefs.h. */
50491 -_ACEOF
50492 -cat confdefs.h >>conftest.$ac_ext
50493 -cat >>conftest.$ac_ext <<_ACEOF
50494 -/* end confdefs.h. */
50495 -#ifdef __STDC__
50496 -# include <limits.h>
50497 -#else
50498 -# include <assert.h>
50499 -#endif
50500 - Syntax error
50501 -_ACEOF
50502 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
50503 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
50504 - ac_status=$?
50505 - grep -v '^ *+' conftest.er1 >conftest.err
50506 - rm -f conftest.er1
50507 - cat conftest.err >&5
50508 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
50509 - (exit $ac_status); } >/dev/null; then
50510 - if test -s conftest.err; then
50511 - ac_cpp_err=$ac_c_preproc_warn_flag
50512 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
50513 - else
50514 - ac_cpp_err=
50515 - fi
50516 -else
50517 - ac_cpp_err=yes
50518 -fi
50519 -if test -z "$ac_cpp_err"; then
50520 - :
50521 +if test -z "${LEXLIB+set}"; then
50522 + { echo "$as_me:$LINENO: checking lex library" >&5
50523 +echo $ECHO_N "checking lex library... $ECHO_C" >&6; }
50524 +if test "${ac_cv_lib_lex+set}" = set; then
50525 + echo $ECHO_N "(cached) $ECHO_C" >&6
50526 else
50527 - echo "$as_me: failed program was:" >&5
50528 -sed 's/^/| /' conftest.$ac_ext >&5
50529 -
50530 - # Broken: fails on valid input.
50531 -continue
50532 -fi
50533 -rm -f conftest.err conftest.$ac_ext
50534
50535 - # OK, works on sane cases. Now check whether non-existent headers
50536 - # can be detected and how.
50537 - cat >conftest.$ac_ext <<_ACEOF
50538 -/* confdefs.h. */
50539 -_ACEOF
50540 -cat confdefs.h >>conftest.$ac_ext
50541 -cat >>conftest.$ac_ext <<_ACEOF
50542 -/* end confdefs.h. */
50543 -#include <ac_nonexistent.h>
50544 + ac_save_LIBS=$LIBS
50545 + ac_cv_lib_lex='none needed'
50546 + for ac_lib in '' -lfl -ll; do
50547 + LIBS="$ac_lib $ac_save_LIBS"
50548 + cat >conftest.$ac_ext <<_ACEOF
50549 +`cat $LEX_OUTPUT_ROOT.c`
50550 _ACEOF
50551 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
50552 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
50553 +rm -f conftest.$ac_objext conftest$ac_exeext
50554 +if { (ac_try="$ac_link"
50555 +case "(($ac_try" in
50556 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
50557 + *) ac_try_echo=$ac_try;;
50558 +esac
50559 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50560 + (eval "$ac_link") 2>conftest.er1
50561 ac_status=$?
50562 grep -v '^ *+' conftest.er1 >conftest.err
50563 rm -f conftest.er1
50564 cat conftest.err >&5
50565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50566 - (exit $ac_status); } >/dev/null; then
50567 - if test -s conftest.err; then
50568 - ac_cpp_err=$ac_c_preproc_warn_flag
50569 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
50570 - else
50571 - ac_cpp_err=
50572 - fi
50573 -else
50574 - ac_cpp_err=yes
50575 -fi
50576 -if test -z "$ac_cpp_err"; then
50577 - # Broken: success on invalid input.
50578 -continue
50579 + (exit $ac_status); } && {
50580 + test -z "$ac_c_werror_flag" ||
50581 + test ! -s conftest.err
50582 + } && test -s conftest$ac_exeext &&
50583 + $as_test_x conftest$ac_exeext; then
50584 + ac_cv_lib_lex=$ac_lib
50585 else
50586 echo "$as_me: failed program was:" >&5
50587 sed 's/^/| /' conftest.$ac_ext >&5
50588
50589 - # Passes both tests.
50590 -ac_preproc_ok=:
50591 -break
50592 -fi
50593 -rm -f conftest.err conftest.$ac_ext
50594
50595 -done
50596 -# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
50597 -rm -f conftest.err conftest.$ac_ext
50598 -if $ac_preproc_ok; then
50599 - :
50600 -else
50601 - { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
50602 -See \`config.log' for more details." >&5
50603 -echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
50604 -See \`config.log' for more details." >&2;}
50605 - { (exit 1); exit 1; }; }
50606 fi
50607
50608 -ac_ext=c
50609 -ac_cpp='$CPP $CPPFLAGS'
50610 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50611 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50612 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
50613 -
50614 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
50615 + conftest$ac_exeext conftest.$ac_ext
50616 + test "$ac_cv_lib_lex" != 'none needed' && break
50617 + done
50618 + LIBS=$ac_save_LIBS
50619
50620 -echo "$as_me:$LINENO: checking for egrep" >&5
50621 -echo $ECHO_N "checking for egrep... $ECHO_C" >&6
50622 -if test "${ac_cv_prog_egrep+set}" = set; then
50623 - echo $ECHO_N "(cached) $ECHO_C" >&6
50624 -else
50625 - if echo a | (grep -E '(a|b)') >/dev/null 2>&1
50626 - then ac_cv_prog_egrep='grep -E'
50627 - else ac_cv_prog_egrep='egrep'
50628 - fi
50629 fi
50630 -echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
50631 -echo "${ECHO_T}$ac_cv_prog_egrep" >&6
50632 - EGREP=$ac_cv_prog_egrep
50633 -
50634 -
50635 -echo "$as_me:$LINENO: checking for ANSI C header files" >&5
50636 -echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
50637 -if test "${ac_cv_header_stdc+set}" = set; then
50638 - echo $ECHO_N "(cached) $ECHO_C" >&6
50639 -else
50640 - cat >conftest.$ac_ext <<_ACEOF
50641 -/* confdefs.h. */
50642 -_ACEOF
50643 -cat confdefs.h >>conftest.$ac_ext
50644 -cat >>conftest.$ac_ext <<_ACEOF
50645 -/* end confdefs.h. */
50646 -#include <stdlib.h>
50647 -#include <stdarg.h>
50648 -#include <string.h>
50649 -#include <float.h>
50650 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_lex" >&5
50651 +echo "${ECHO_T}$ac_cv_lib_lex" >&6; }
50652 + test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex
50653 +fi
50654
50655 -int
50656 -main ()
50657 -{
50658
50659 - ;
50660 - return 0;
50661 -}
50662 +{ echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
50663 +echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6; }
50664 +if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
50665 + echo $ECHO_N "(cached) $ECHO_C" >&6
50666 +else
50667 + # POSIX says lex can declare yytext either as a pointer or an array; the
50668 +# default is implementation-dependent. Figure out which it is, since
50669 +# not all implementations provide the %pointer and %array declarations.
50670 +ac_cv_prog_lex_yytext_pointer=no
50671 +ac_save_LIBS=$LIBS
50672 +LIBS="$LEXLIB $ac_save_LIBS"
50673 +cat >conftest.$ac_ext <<_ACEOF
50674 +#define YYTEXT_POINTER 1
50675 +`cat $LEX_OUTPUT_ROOT.c`
50676 _ACEOF
50677 -rm -f conftest.$ac_objext
50678 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50679 - (eval $ac_compile) 2>conftest.er1
50680 +rm -f conftest.$ac_objext conftest$ac_exeext
50681 +if { (ac_try="$ac_link"
50682 +case "(($ac_try" in
50683 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
50684 + *) ac_try_echo=$ac_try;;
50685 +esac
50686 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50687 + (eval "$ac_link") 2>conftest.er1
50688 ac_status=$?
50689 grep -v '^ *+' conftest.er1 >conftest.err
50690 rm -f conftest.er1
50691 cat conftest.err >&5
50692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50693 - (exit $ac_status); } &&
50694 - { ac_try='test -z "$ac_c_werror_flag"
50695 - || test ! -s conftest.err'
50696 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50697 - (eval $ac_try) 2>&5
50698 - ac_status=$?
50699 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
50700 - (exit $ac_status); }; } &&
50701 - { ac_try='test -s conftest.$ac_objext'
50702 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50703 - (eval $ac_try) 2>&5
50704 - ac_status=$?
50705 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
50706 - (exit $ac_status); }; }; then
50707 - ac_cv_header_stdc=yes
50708 + (exit $ac_status); } && {
50709 + test -z "$ac_c_werror_flag" ||
50710 + test ! -s conftest.err
50711 + } && test -s conftest$ac_exeext &&
50712 + $as_test_x conftest$ac_exeext; then
50713 + ac_cv_prog_lex_yytext_pointer=yes
50714 else
50715 echo "$as_me: failed program was:" >&5
50716 sed 's/^/| /' conftest.$ac_ext >&5
50717
50718 -ac_cv_header_stdc=no
50719 -fi
50720 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50721 -
50722 -if test $ac_cv_header_stdc = yes; then
50723 - # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
50724 - cat >conftest.$ac_ext <<_ACEOF
50725 -/* confdefs.h. */
50726 -_ACEOF
50727 -cat confdefs.h >>conftest.$ac_ext
50728 -cat >>conftest.$ac_ext <<_ACEOF
50729 -/* end confdefs.h. */
50730 -#include <string.h>
50731
50732 -_ACEOF
50733 -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
50734 - $EGREP "memchr" >/dev/null 2>&1; then
50735 - :
50736 -else
50737 - ac_cv_header_stdc=no
50738 fi
50739 -rm -f conftest*
50740 +
50741 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
50742 + conftest$ac_exeext conftest.$ac_ext
50743 +LIBS=$ac_save_LIBS
50744
50745 fi
50746 +{ echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
50747 +echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6; }
50748 +if test $ac_cv_prog_lex_yytext_pointer = yes; then
50749
50750 -if test $ac_cv_header_stdc = yes; then
50751 - # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
50752 - cat >conftest.$ac_ext <<_ACEOF
50753 -/* confdefs.h. */
50754 +cat >>confdefs.h <<\_ACEOF
50755 +#define YYTEXT_POINTER 1
50756 _ACEOF
50757 -cat confdefs.h >>conftest.$ac_ext
50758 -cat >>conftest.$ac_ext <<_ACEOF
50759 -/* end confdefs.h. */
50760 -#include <stdlib.h>
50761
50762 -_ACEOF
50763 -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
50764 - $EGREP "free" >/dev/null 2>&1; then
50765 - :
50766 -else
50767 - ac_cv_header_stdc=no
50768 fi
50769 -rm -f conftest*
50770 +rm -f conftest.l $LEX_OUTPUT_ROOT.c
50771
50772 fi
50773 +if test "$LEX" = :; then
50774 + LEX=${am_missing_run}flex
50775 +fi
50776
50777 -if test $ac_cv_header_stdc = yes; then
50778 - # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
50779 - if test "$cross_compiling" = yes; then
50780 - :
50781 +ALL_LINGUAS="fr tr es rw"
50782 +if test -n "$ac_tool_prefix"; then
50783 + # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
50784 +set dummy ${ac_tool_prefix}ranlib; ac_word=$2
50785 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
50786 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50787 +if test "${ac_cv_prog_RANLIB+set}" = set; then
50788 + echo $ECHO_N "(cached) $ECHO_C" >&6
50789 else
50790 - cat >conftest.$ac_ext <<_ACEOF
50791 -/* confdefs.h. */
50792 -_ACEOF
50793 -cat confdefs.h >>conftest.$ac_ext
50794 -cat >>conftest.$ac_ext <<_ACEOF
50795 -/* end confdefs.h. */
50796 -#include <ctype.h>
50797 -#if ((' ' & 0x0FF) == 0x020)
50798 -# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
50799 -# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
50800 -#else
50801 -# define ISLOWER(c) \
50802 - (('a' <= (c) && (c) <= 'i') \
50803 - || ('j' <= (c) && (c) <= 'r') \
50804 - || ('s' <= (c) && (c) <= 'z'))
50805 -# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
50806 -#endif
50807 -
50808 -#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
50809 -int
50810 -main ()
50811 -{
50812 - int i;
50813 - for (i = 0; i < 256; i++)
50814 - if (XOR (islower (i), ISLOWER (i))
50815 - || toupper (i) != TOUPPER (i))
50816 - exit(2);
50817 - exit (0);
50818 -}
50819 -_ACEOF
50820 -rm -f conftest$ac_exeext
50821 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50822 - (eval $ac_link) 2>&5
50823 - ac_status=$?
50824 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
50825 - (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
50826 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50827 - (eval $ac_try) 2>&5
50828 - ac_status=$?
50829 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
50830 - (exit $ac_status); }; }; then
50831 - :
50832 + if test -n "$RANLIB"; then
50833 + ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
50834 else
50835 - echo "$as_me: program exited with status $ac_status" >&5
50836 -echo "$as_me: failed program was:" >&5
50837 -sed 's/^/| /' conftest.$ac_ext >&5
50838 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50839 +for as_dir in $PATH
50840 +do
50841 + IFS=$as_save_IFS
50842 + test -z "$as_dir" && as_dir=.
50843 + for ac_exec_ext in '' $ac_executable_extensions; do
50844 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50845 + ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
50846 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50847 + break 2
50848 + fi
50849 +done
50850 +done
50851 +IFS=$as_save_IFS
50852
50853 -( exit $ac_status )
50854 -ac_cv_header_stdc=no
50855 fi
50856 -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
50857 fi
50858 +RANLIB=$ac_cv_prog_RANLIB
50859 +if test -n "$RANLIB"; then
50860 + { echo "$as_me:$LINENO: result: $RANLIB" >&5
50861 +echo "${ECHO_T}$RANLIB" >&6; }
50862 +else
50863 + { echo "$as_me:$LINENO: result: no" >&5
50864 +echo "${ECHO_T}no" >&6; }
50865 fi
50866 +
50867 +
50868 fi
50869 -echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
50870 -echo "${ECHO_T}$ac_cv_header_stdc" >&6
50871 -if test $ac_cv_header_stdc = yes; then
50872 +if test -z "$ac_cv_prog_RANLIB"; then
50873 + ac_ct_RANLIB=$RANLIB
50874 + # Extract the first word of "ranlib", so it can be a program name with args.
50875 +set dummy ranlib; ac_word=$2
50876 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
50877 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50878 +if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
50879 + echo $ECHO_N "(cached) $ECHO_C" >&6
50880 +else
50881 + if test -n "$ac_ct_RANLIB"; then
50882 + ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
50883 +else
50884 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50885 +for as_dir in $PATH
50886 +do
50887 + IFS=$as_save_IFS
50888 + test -z "$as_dir" && as_dir=.
50889 + for ac_exec_ext in '' $ac_executable_extensions; do
50890 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50891 + ac_cv_prog_ac_ct_RANLIB="ranlib"
50892 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50893 + break 2
50894 + fi
50895 +done
50896 +done
50897 +IFS=$as_save_IFS
50898
50899 -cat >>confdefs.h <<\_ACEOF
50900 -#define STDC_HEADERS 1
50901 -_ACEOF
50902 +fi
50903 +fi
50904 +ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
50905 +if test -n "$ac_ct_RANLIB"; then
50906 + { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
50907 +echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
50908 +else
50909 + { echo "$as_me:$LINENO: result: no" >&5
50910 +echo "${ECHO_T}no" >&6; }
50911 +fi
50912
50913 + if test "x$ac_ct_RANLIB" = x; then
50914 + RANLIB=":"
50915 + else
50916 + case $cross_compiling:$ac_tool_warned in
50917 +yes:)
50918 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
50919 +whose name does not start with the host triplet. If you think this
50920 +configuration is useful to you, please write to autoconf@gnu.org." >&5
50921 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
50922 +whose name does not start with the host triplet. If you think this
50923 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
50924 +ac_tool_warned=yes ;;
50925 +esac
50926 + RANLIB=$ac_ct_RANLIB
50927 + fi
50928 +else
50929 + RANLIB="$ac_cv_prog_RANLIB"
50930 fi
50931
50932 -echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
50933 -echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
50934 +{ echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
50935 +echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
50936 if test "${ac_cv_c_const+set}" = set; then
50937 echo $ECHO_N "(cached) $ECHO_C" >&6
50938 else
50939 @@ -6735,10 +7400,10 @@ main ()
50940 #ifndef __cplusplus
50941 /* Ultrix mips cc rejects this. */
50942 typedef int charset[2];
50943 - const charset x;
50944 + const charset cs;
50945 /* SunOS 4.1.1 cc rejects this. */
50946 - char const *const *ccp;
50947 - char **p;
50948 + char const *const *pcpcc;
50949 + char **ppc;
50950 /* NEC SVR4.0.2 mips cc rejects this. */
50951 struct point {int x, y;};
50952 static struct point const zero = {0,0};
50953 @@ -6747,16 +7412,17 @@ main ()
50954 an arm of an if-expression whose if-part is not a constant
50955 expression */
50956 const char *g = "string";
50957 - ccp = &g + (g ? g-g : 0);
50958 + pcpcc = &g + (g ? g-g : 0);
50959 /* HPUX 7.0 cc rejects these. */
50960 - ++ccp;
50961 - p = (char**) ccp;
50962 - ccp = (char const *const *) p;
50963 + ++pcpcc;
50964 + ppc = (char**) pcpcc;
50965 + pcpcc = (char const *const *) ppc;
50966 { /* SCO 3.2v4 cc rejects this. */
50967 char *t;
50968 char const *s = 0 ? (char *) 0 : (char const *) 0;
50969
50970 *t++ = 0;
50971 + if (s) return 0;
50972 }
50973 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
50974 int x[] = {25, 17};
50975 @@ -6775,7 +7441,9 @@ main ()
50976 }
50977 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
50978 const int foo = 10;
50979 + if (!foo) return 0;
50980 }
50981 + return !cs[0] && !zero.x;
50982 #endif
50983
50984 ;
50985 @@ -6783,38 +7451,34 @@ main ()
50986 }
50987 _ACEOF
50988 rm -f conftest.$ac_objext
50989 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50990 - (eval $ac_compile) 2>conftest.er1
50991 +if { (ac_try="$ac_compile"
50992 +case "(($ac_try" in
50993 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
50994 + *) ac_try_echo=$ac_try;;
50995 +esac
50996 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50997 + (eval "$ac_compile") 2>conftest.er1
50998 ac_status=$?
50999 grep -v '^ *+' conftest.er1 >conftest.err
51000 rm -f conftest.er1
51001 cat conftest.err >&5
51002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51003 - (exit $ac_status); } &&
51004 - { ac_try='test -z "$ac_c_werror_flag"
51005 - || test ! -s conftest.err'
51006 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51007 - (eval $ac_try) 2>&5
51008 - ac_status=$?
51009 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
51010 - (exit $ac_status); }; } &&
51011 - { ac_try='test -s conftest.$ac_objext'
51012 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51013 - (eval $ac_try) 2>&5
51014 - ac_status=$?
51015 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
51016 - (exit $ac_status); }; }; then
51017 + (exit $ac_status); } && {
51018 + test -z "$ac_c_werror_flag" ||
51019 + test ! -s conftest.err
51020 + } && test -s conftest.$ac_objext; then
51021 ac_cv_c_const=yes
51022 else
51023 echo "$as_me: failed program was:" >&5
51024 sed 's/^/| /' conftest.$ac_ext >&5
51025
51026 -ac_cv_c_const=no
51027 + ac_cv_c_const=no
51028 fi
51029 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51030 +
51031 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51032 fi
51033 -echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
51034 -echo "${ECHO_T}$ac_cv_c_const" >&6
51035 +{ echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
51036 +echo "${ECHO_T}$ac_cv_c_const" >&6; }
51037 if test $ac_cv_c_const = no; then
51038
51039 cat >>confdefs.h <<\_ACEOF
51040 @@ -6823,8 +7487,8 @@ _ACEOF
51041
51042 fi
51043
51044 -echo "$as_me:$LINENO: checking for inline" >&5
51045 -echo $ECHO_N "checking for inline... $ECHO_C" >&6
51046 +{ echo "$as_me:$LINENO: checking for inline" >&5
51047 +echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
51048 if test "${ac_cv_c_inline+set}" = set; then
51049 echo $ECHO_N "(cached) $ECHO_C" >&6
51050 else
51051 @@ -6844,39 +7508,37 @@ $ac_kw foo_t foo () {return 0; }
51052
51053 _ACEOF
51054 rm -f conftest.$ac_objext
51055 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51056 - (eval $ac_compile) 2>conftest.er1
51057 +if { (ac_try="$ac_compile"
51058 +case "(($ac_try" in
51059 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51060 + *) ac_try_echo=$ac_try;;
51061 +esac
51062 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51063 + (eval "$ac_compile") 2>conftest.er1
51064 ac_status=$?
51065 grep -v '^ *+' conftest.er1 >conftest.err
51066 rm -f conftest.er1
51067 cat conftest.err >&5
51068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51069 - (exit $ac_status); } &&
51070 - { ac_try='test -z "$ac_c_werror_flag"
51071 - || test ! -s conftest.err'
51072 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51073 - (eval $ac_try) 2>&5
51074 - ac_status=$?
51075 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
51076 - (exit $ac_status); }; } &&
51077 - { ac_try='test -s conftest.$ac_objext'
51078 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51079 - (eval $ac_try) 2>&5
51080 - ac_status=$?
51081 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
51082 - (exit $ac_status); }; }; then
51083 - ac_cv_c_inline=$ac_kw; break
51084 + (exit $ac_status); } && {
51085 + test -z "$ac_c_werror_flag" ||
51086 + test ! -s conftest.err
51087 + } && test -s conftest.$ac_objext; then
51088 + ac_cv_c_inline=$ac_kw
51089 else
51090 echo "$as_me: failed program was:" >&5
51091 sed 's/^/| /' conftest.$ac_ext >&5
51092
51093 +
51094 fi
51095 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51096 +
51097 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51098 + test "$ac_cv_c_inline" != no && break
51099 done
51100
51101 fi
51102 -echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
51103 -echo "${ECHO_T}$ac_cv_c_inline" >&6
51104 +{ echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
51105 +echo "${ECHO_T}$ac_cv_c_inline" >&6; }
51106
51107
51108 case $ac_cv_c_inline in
51109 @@ -6894,80 +7556,8 @@ _ACEOF
51110 ;;
51111 esac
51112
51113 -# On IRIX 5.3, sys/types and inttypes.h are conflicting.
51114 -
51115 -
51116 -
51117 -
51118 -
51119 -
51120 -
51121 -
51122 -
51123 -for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
51124 - inttypes.h stdint.h unistd.h
51125 -do
51126 -as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
51127 -echo "$as_me:$LINENO: checking for $ac_header" >&5
51128 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
51129 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
51130 - echo $ECHO_N "(cached) $ECHO_C" >&6
51131 -else
51132 - cat >conftest.$ac_ext <<_ACEOF
51133 -/* confdefs.h. */
51134 -_ACEOF
51135 -cat confdefs.h >>conftest.$ac_ext
51136 -cat >>conftest.$ac_ext <<_ACEOF
51137 -/* end confdefs.h. */
51138 -$ac_includes_default
51139 -
51140 -#include <$ac_header>
51141 -_ACEOF
51142 -rm -f conftest.$ac_objext
51143 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51144 - (eval $ac_compile) 2>conftest.er1
51145 - ac_status=$?
51146 - grep -v '^ *+' conftest.er1 >conftest.err
51147 - rm -f conftest.er1
51148 - cat conftest.err >&5
51149 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
51150 - (exit $ac_status); } &&
51151 - { ac_try='test -z "$ac_c_werror_flag"
51152 - || test ! -s conftest.err'
51153 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51154 - (eval $ac_try) 2>&5
51155 - ac_status=$?
51156 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
51157 - (exit $ac_status); }; } &&
51158 - { ac_try='test -s conftest.$ac_objext'
51159 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51160 - (eval $ac_try) 2>&5
51161 - ac_status=$?
51162 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
51163 - (exit $ac_status); }; }; then
51164 - eval "$as_ac_Header=yes"
51165 -else
51166 - echo "$as_me: failed program was:" >&5
51167 -sed 's/^/| /' conftest.$ac_ext >&5
51168 -
51169 -eval "$as_ac_Header=no"
51170 -fi
51171 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51172 -fi
51173 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
51174 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
51175 -if test `eval echo '${'$as_ac_Header'}'` = yes; then
51176 - cat >>confdefs.h <<_ACEOF
51177 -#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
51178 -_ACEOF
51179 -
51180 -fi
51181 -
51182 -done
51183 -
51184 -
51185 -echo "$as_me:$LINENO: checking for off_t" >&5
51186 -echo $ECHO_N "checking for off_t... $ECHO_C" >&6
51187 +{ echo "$as_me:$LINENO: checking for off_t" >&5
51188 +echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
51189 if test "${ac_cv_type_off_t+set}" = set; then
51190 echo $ECHO_N "(cached) $ECHO_C" >&6
51191 else
51192 @@ -6978,62 +7568,59 @@ cat confdefs.h >>conftest.$ac_ext
51193 cat >>conftest.$ac_ext <<_ACEOF
51194 /* end confdefs.h. */
51195 $ac_includes_default
51196 +typedef off_t ac__type_new_;
51197 int
51198 main ()
51199 {
51200 -if ((off_t *) 0)
51201 +if ((ac__type_new_ *) 0)
51202 return 0;
51203 -if (sizeof (off_t))
51204 +if (sizeof (ac__type_new_))
51205 return 0;
51206 ;
51207 return 0;
51208 }
51209 _ACEOF
51210 rm -f conftest.$ac_objext
51211 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51212 - (eval $ac_compile) 2>conftest.er1
51213 +if { (ac_try="$ac_compile"
51214 +case "(($ac_try" in
51215 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51216 + *) ac_try_echo=$ac_try;;
51217 +esac
51218 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51219 + (eval "$ac_compile") 2>conftest.er1
51220 ac_status=$?
51221 grep -v '^ *+' conftest.er1 >conftest.err
51222 rm -f conftest.er1
51223 cat conftest.err >&5
51224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51225 - (exit $ac_status); } &&
51226 - { ac_try='test -z "$ac_c_werror_flag"
51227 - || test ! -s conftest.err'
51228 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51229 - (eval $ac_try) 2>&5
51230 - ac_status=$?
51231 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
51232 - (exit $ac_status); }; } &&
51233 - { ac_try='test -s conftest.$ac_objext'
51234 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51235 - (eval $ac_try) 2>&5
51236 - ac_status=$?
51237 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
51238 - (exit $ac_status); }; }; then
51239 + (exit $ac_status); } && {
51240 + test -z "$ac_c_werror_flag" ||
51241 + test ! -s conftest.err
51242 + } && test -s conftest.$ac_objext; then
51243 ac_cv_type_off_t=yes
51244 else
51245 echo "$as_me: failed program was:" >&5
51246 sed 's/^/| /' conftest.$ac_ext >&5
51247
51248 -ac_cv_type_off_t=no
51249 + ac_cv_type_off_t=no
51250 fi
51251 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51252 +
51253 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51254 fi
51255 -echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
51256 -echo "${ECHO_T}$ac_cv_type_off_t" >&6
51257 +{ echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
51258 +echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
51259 if test $ac_cv_type_off_t = yes; then
51260 :
51261 else
51262
51263 cat >>confdefs.h <<_ACEOF
51264 -#define off_t long
51265 +#define off_t long int
51266 _ACEOF
51267
51268 fi
51269
51270 -echo "$as_me:$LINENO: checking for size_t" >&5
51271 -echo $ECHO_N "checking for size_t... $ECHO_C" >&6
51272 +{ echo "$as_me:$LINENO: checking for size_t" >&5
51273 +echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
51274 if test "${ac_cv_type_size_t+set}" = set; then
51275 echo $ECHO_N "(cached) $ECHO_C" >&6
51276 else
51277 @@ -7044,64 +7631,61 @@ cat confdefs.h >>conftest.$ac_ext
51278 cat >>conftest.$ac_ext <<_ACEOF
51279 /* end confdefs.h. */
51280 $ac_includes_default
51281 +typedef size_t ac__type_new_;
51282 int
51283 main ()
51284 {
51285 -if ((size_t *) 0)
51286 +if ((ac__type_new_ *) 0)
51287 return 0;
51288 -if (sizeof (size_t))
51289 +if (sizeof (ac__type_new_))
51290 return 0;
51291 ;
51292 return 0;
51293 }
51294 _ACEOF
51295 rm -f conftest.$ac_objext
51296 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51297 - (eval $ac_compile) 2>conftest.er1
51298 +if { (ac_try="$ac_compile"
51299 +case "(($ac_try" in
51300 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51301 + *) ac_try_echo=$ac_try;;
51302 +esac
51303 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51304 + (eval "$ac_compile") 2>conftest.er1
51305 ac_status=$?
51306 grep -v '^ *+' conftest.er1 >conftest.err
51307 rm -f conftest.er1
51308 cat conftest.err >&5
51309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51310 - (exit $ac_status); } &&
51311 - { ac_try='test -z "$ac_c_werror_flag"
51312 - || test ! -s conftest.err'
51313 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51314 - (eval $ac_try) 2>&5
51315 - ac_status=$?
51316 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
51317 - (exit $ac_status); }; } &&
51318 - { ac_try='test -s conftest.$ac_objext'
51319 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51320 - (eval $ac_try) 2>&5
51321 - ac_status=$?
51322 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
51323 - (exit $ac_status); }; }; then
51324 + (exit $ac_status); } && {
51325 + test -z "$ac_c_werror_flag" ||
51326 + test ! -s conftest.err
51327 + } && test -s conftest.$ac_objext; then
51328 ac_cv_type_size_t=yes
51329 else
51330 echo "$as_me: failed program was:" >&5
51331 sed 's/^/| /' conftest.$ac_ext >&5
51332
51333 -ac_cv_type_size_t=no
51334 + ac_cv_type_size_t=no
51335 fi
51336 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51337 +
51338 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51339 fi
51340 -echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
51341 -echo "${ECHO_T}$ac_cv_type_size_t" >&6
51342 +{ echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
51343 +echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
51344 if test $ac_cv_type_size_t = yes; then
51345 :
51346 else
51347
51348 cat >>confdefs.h <<_ACEOF
51349 -#define size_t unsigned
51350 +#define size_t unsigned int
51351 _ACEOF
51352
51353 fi
51354
51355 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
51356 # for constant arguments. Useless!
51357 -echo "$as_me:$LINENO: checking for working alloca.h" >&5
51358 -echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
51359 +{ echo "$as_me:$LINENO: checking for working alloca.h" >&5
51360 +echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6; }
51361 if test "${ac_cv_working_alloca_h+set}" = set; then
51362 echo $ECHO_N "(cached) $ECHO_C" >&6
51363 else
51364 @@ -7116,44 +7700,42 @@ int
51365 main ()
51366 {
51367 char *p = (char *) alloca (2 * sizeof (int));
51368 + if (p) return 0;
51369 ;
51370 return 0;
51371 }
51372 _ACEOF
51373 rm -f conftest.$ac_objext conftest$ac_exeext
51374 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51375 - (eval $ac_link) 2>conftest.er1
51376 +if { (ac_try="$ac_link"
51377 +case "(($ac_try" in
51378 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51379 + *) ac_try_echo=$ac_try;;
51380 +esac
51381 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51382 + (eval "$ac_link") 2>conftest.er1
51383 ac_status=$?
51384 grep -v '^ *+' conftest.er1 >conftest.err
51385 rm -f conftest.er1
51386 cat conftest.err >&5
51387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51388 - (exit $ac_status); } &&
51389 - { ac_try='test -z "$ac_c_werror_flag"
51390 - || test ! -s conftest.err'
51391 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51392 - (eval $ac_try) 2>&5
51393 - ac_status=$?
51394 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
51395 - (exit $ac_status); }; } &&
51396 - { ac_try='test -s conftest$ac_exeext'
51397 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51398 - (eval $ac_try) 2>&5
51399 - ac_status=$?
51400 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
51401 - (exit $ac_status); }; }; then
51402 + (exit $ac_status); } && {
51403 + test -z "$ac_c_werror_flag" ||
51404 + test ! -s conftest.err
51405 + } && test -s conftest$ac_exeext &&
51406 + $as_test_x conftest$ac_exeext; then
51407 ac_cv_working_alloca_h=yes
51408 else
51409 echo "$as_me: failed program was:" >&5
51410 sed 's/^/| /' conftest.$ac_ext >&5
51411
51412 -ac_cv_working_alloca_h=no
51413 + ac_cv_working_alloca_h=no
51414 fi
51415 -rm -f conftest.err conftest.$ac_objext \
51416 +
51417 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
51418 conftest$ac_exeext conftest.$ac_ext
51419 fi
51420 -echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
51421 -echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
51422 +{ echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
51423 +echo "${ECHO_T}$ac_cv_working_alloca_h" >&6; }
51424 if test $ac_cv_working_alloca_h = yes; then
51425
51426 cat >>confdefs.h <<\_ACEOF
51427 @@ -7162,8 +7744,8 @@ _ACEOF
51428
51429 fi
51430
51431 -echo "$as_me:$LINENO: checking for alloca" >&5
51432 -echo $ECHO_N "checking for alloca... $ECHO_C" >&6
51433 +{ echo "$as_me:$LINENO: checking for alloca" >&5
51434 +echo $ECHO_N "checking for alloca... $ECHO_C" >&6; }
51435 if test "${ac_cv_func_alloca_works+set}" = set; then
51436 echo $ECHO_N "(cached) $ECHO_C" >&6
51437 else
51438 @@ -7180,7 +7762,7 @@ cat >>conftest.$ac_ext <<_ACEOF
51439 # include <malloc.h>
51440 # define alloca _alloca
51441 # else
51442 -# if HAVE_ALLOCA_H
51443 +# ifdef HAVE_ALLOCA_H
51444 # include <alloca.h>
51445 # else
51446 # ifdef _AIX
51447 @@ -7198,44 +7780,42 @@ int
51448 main ()
51449 {
51450 char *p = (char *) alloca (1);
51451 + if (p) return 0;
51452 ;
51453 return 0;
51454 }
51455 _ACEOF
51456 rm -f conftest.$ac_objext conftest$ac_exeext
51457 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51458 - (eval $ac_link) 2>conftest.er1
51459 +if { (ac_try="$ac_link"
51460 +case "(($ac_try" in
51461 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51462 + *) ac_try_echo=$ac_try;;
51463 +esac
51464 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51465 + (eval "$ac_link") 2>conftest.er1
51466 ac_status=$?
51467 grep -v '^ *+' conftest.er1 >conftest.err
51468 rm -f conftest.er1
51469 cat conftest.err >&5
51470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51471 - (exit $ac_status); } &&
51472 - { ac_try='test -z "$ac_c_werror_flag"
51473 - || test ! -s conftest.err'
51474 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51475 - (eval $ac_try) 2>&5
51476 - ac_status=$?
51477 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
51478 - (exit $ac_status); }; } &&
51479 - { ac_try='test -s conftest$ac_exeext'
51480 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51481 - (eval $ac_try) 2>&5
51482 - ac_status=$?
51483 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
51484 - (exit $ac_status); }; }; then
51485 + (exit $ac_status); } && {
51486 + test -z "$ac_c_werror_flag" ||
51487 + test ! -s conftest.err
51488 + } && test -s conftest$ac_exeext &&
51489 + $as_test_x conftest$ac_exeext; then
51490 ac_cv_func_alloca_works=yes
51491 else
51492 echo "$as_me: failed program was:" >&5
51493 sed 's/^/| /' conftest.$ac_ext >&5
51494
51495 -ac_cv_func_alloca_works=no
51496 + ac_cv_func_alloca_works=no
51497 fi
51498 -rm -f conftest.err conftest.$ac_objext \
51499 +
51500 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
51501 conftest$ac_exeext conftest.$ac_ext
51502 fi
51503 -echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
51504 -echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
51505 +{ echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
51506 +echo "${ECHO_T}$ac_cv_func_alloca_works" >&6; }
51507
51508 if test $ac_cv_func_alloca_works = yes; then
51509
51510 @@ -7249,15 +7829,15 @@ else
51511 # contain a buggy version. If you still want to use their alloca,
51512 # use ar to extract alloca.o from them instead of compiling alloca.c.
51513
51514 -ALLOCA=alloca.$ac_objext
51515 +ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
51516
51517 cat >>confdefs.h <<\_ACEOF
51518 #define C_ALLOCA 1
51519 _ACEOF
51520
51521
51522 -echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
51523 -echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
51524 +{ echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
51525 +echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6; }
51526 if test "${ac_cv_os_cray+set}" = set; then
51527 echo $ECHO_N "(cached) $ECHO_C" >&6
51528 else
51529 @@ -7267,7 +7847,7 @@ _ACEOF
51530 cat confdefs.h >>conftest.$ac_ext
51531 cat >>conftest.$ac_ext <<_ACEOF
51532 /* end confdefs.h. */
51533 -#if defined(CRAY) && ! defined(CRAY2)
51534 +#if defined CRAY && ! defined CRAY2
51535 webecray
51536 #else
51537 wenotbecray
51538 @@ -7283,14 +7863,14 @@ fi
51539 rm -f conftest*
51540
51541 fi
51542 -echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
51543 -echo "${ECHO_T}$ac_cv_os_cray" >&6
51544 +{ echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
51545 +echo "${ECHO_T}$ac_cv_os_cray" >&6; }
51546 if test $ac_cv_os_cray = yes; then
51547 for ac_func in _getb67 GETB67 getb67; do
51548 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51549 -echo "$as_me:$LINENO: checking for $ac_func" >&5
51550 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51551 -if eval "test \"\${$as_ac_var+set}\" = set"; then
51552 +{ echo "$as_me:$LINENO: checking for $ac_func" >&5
51553 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
51554 +if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
51555 echo $ECHO_N "(cached) $ECHO_C" >&6
51556 else
51557 cat >conftest.$ac_ext <<_ACEOF
51558 @@ -7316,68 +7896,60 @@ cat >>conftest.$ac_ext <<_ACEOF
51559
51560 #undef $ac_func
51561
51562 -/* Override any gcc2 internal prototype to avoid an error. */
51563 +/* Override any GCC internal prototype to avoid an error.
51564 + Use char because int might match the return type of a GCC
51565 + builtin and then its argument prototype would still apply. */
51566 #ifdef __cplusplus
51567 extern "C"
51568 -{
51569 #endif
51570 -/* We use char because int might match the return type of a gcc2
51571 - builtin and then its argument prototype would still apply. */
51572 char $ac_func ();
51573 /* The GNU C library defines this for functions which it implements
51574 to always fail with ENOSYS. Some functions are actually named
51575 something starting with __ and the normal name is an alias. */
51576 -#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51577 +#if defined __stub_$ac_func || defined __stub___$ac_func
51578 choke me
51579 -#else
51580 -char (*f) () = $ac_func;
51581 -#endif
51582 -#ifdef __cplusplus
51583 -}
51584 #endif
51585
51586 int
51587 main ()
51588 {
51589 -return f != $ac_func;
51590 +return $ac_func ();
51591 ;
51592 return 0;
51593 }
51594 _ACEOF
51595 rm -f conftest.$ac_objext conftest$ac_exeext
51596 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51597 - (eval $ac_link) 2>conftest.er1
51598 +if { (ac_try="$ac_link"
51599 +case "(($ac_try" in
51600 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51601 + *) ac_try_echo=$ac_try;;
51602 +esac
51603 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51604 + (eval "$ac_link") 2>conftest.er1
51605 ac_status=$?
51606 grep -v '^ *+' conftest.er1 >conftest.err
51607 rm -f conftest.er1
51608 cat conftest.err >&5
51609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51610 - (exit $ac_status); } &&
51611 - { ac_try='test -z "$ac_c_werror_flag"
51612 - || test ! -s conftest.err'
51613 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51614 - (eval $ac_try) 2>&5
51615 - ac_status=$?
51616 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
51617 - (exit $ac_status); }; } &&
51618 - { ac_try='test -s conftest$ac_exeext'
51619 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51620 - (eval $ac_try) 2>&5
51621 - ac_status=$?
51622 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
51623 - (exit $ac_status); }; }; then
51624 + (exit $ac_status); } && {
51625 + test -z "$ac_c_werror_flag" ||
51626 + test ! -s conftest.err
51627 + } && test -s conftest$ac_exeext &&
51628 + $as_test_x conftest$ac_exeext; then
51629 eval "$as_ac_var=yes"
51630 else
51631 echo "$as_me: failed program was:" >&5
51632 sed 's/^/| /' conftest.$ac_ext >&5
51633
51634 -eval "$as_ac_var=no"
51635 + eval "$as_ac_var=no"
51636 fi
51637 -rm -f conftest.err conftest.$ac_objext \
51638 +
51639 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
51640 conftest$ac_exeext conftest.$ac_ext
51641 fi
51642 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51643 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51644 +ac_res=`eval echo '${'$as_ac_var'}'`
51645 + { echo "$as_me:$LINENO: result: $ac_res" >&5
51646 +echo "${ECHO_T}$ac_res" >&6; }
51647 if test `eval echo '${'$as_ac_var'}'` = yes; then
51648
51649 cat >>confdefs.h <<_ACEOF
51650 @@ -7390,8 +7962,8 @@ fi
51651 done
51652 fi
51653
51654 -echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
51655 -echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
51656 +{ echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
51657 +echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6; }
51658 if test "${ac_cv_c_stack_direction+set}" = set; then
51659 echo $ECHO_N "(cached) $ECHO_C" >&6
51660 else
51661 @@ -7404,6 +7976,7 @@ _ACEOF
51662 cat confdefs.h >>conftest.$ac_ext
51663 cat >>conftest.$ac_ext <<_ACEOF
51664 /* end confdefs.h. */
51665 +$ac_includes_default
51666 int
51667 find_stack_direction ()
51668 {
51669 @@ -7421,17 +7994,26 @@ find_stack_direction ()
51670 int
51671 main ()
51672 {
51673 - exit (find_stack_direction () < 0);
51674 + return find_stack_direction () < 0;
51675 }
51676 _ACEOF
51677 rm -f conftest$ac_exeext
51678 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51679 - (eval $ac_link) 2>&5
51680 +if { (ac_try="$ac_link"
51681 +case "(($ac_try" in
51682 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51683 + *) ac_try_echo=$ac_try;;
51684 +esac
51685 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51686 + (eval "$ac_link") 2>&5
51687 ac_status=$?
51688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51689 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
51690 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51691 - (eval $ac_try) 2>&5
51692 + { (case "(($ac_try" in
51693 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51694 + *) ac_try_echo=$ac_try;;
51695 +esac
51696 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51697 + (eval "$ac_try") 2>&5
51698 ac_status=$?
51699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51700 (exit $ac_status); }; }; then
51701 @@ -7444,11 +8026,13 @@ sed 's/^/| /' conftest.$ac_ext >&5
51702 ( exit $ac_status )
51703 ac_cv_c_stack_direction=-1
51704 fi
51705 -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
51706 +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
51707 fi
51708 +
51709 +
51710 fi
51711 -echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
51712 -echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
51713 +{ echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
51714 +echo "${ECHO_T}$ac_cv_c_stack_direction" >&6; }
51715
51716 cat >>confdefs.h <<_ACEOF
51717 #define STACK_DIRECTION $ac_cv_c_stack_direction
51718 @@ -7462,18 +8046,19 @@ fi
51719 for ac_header in stdlib.h unistd.h
51720 do
51721 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
51722 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
51723 - echo "$as_me:$LINENO: checking for $ac_header" >&5
51724 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
51725 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
51726 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
51727 + { echo "$as_me:$LINENO: checking for $ac_header" >&5
51728 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
51729 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
51730 echo $ECHO_N "(cached) $ECHO_C" >&6
51731 fi
51732 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
51733 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
51734 +ac_res=`eval echo '${'$as_ac_Header'}'`
51735 + { echo "$as_me:$LINENO: result: $ac_res" >&5
51736 +echo "${ECHO_T}$ac_res" >&6; }
51737 else
51738 # Is the header compilable?
51739 -echo "$as_me:$LINENO: checking $ac_header usability" >&5
51740 -echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
51741 +{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
51742 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
51743 cat >conftest.$ac_ext <<_ACEOF
51744 /* confdefs.h. */
51745 _ACEOF
51746 @@ -7484,41 +8069,37 @@ $ac_includes_default
51747 #include <$ac_header>
51748 _ACEOF
51749 rm -f conftest.$ac_objext
51750 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51751 - (eval $ac_compile) 2>conftest.er1
51752 +if { (ac_try="$ac_compile"
51753 +case "(($ac_try" in
51754 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51755 + *) ac_try_echo=$ac_try;;
51756 +esac
51757 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51758 + (eval "$ac_compile") 2>conftest.er1
51759 ac_status=$?
51760 grep -v '^ *+' conftest.er1 >conftest.err
51761 rm -f conftest.er1
51762 cat conftest.err >&5
51763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51764 - (exit $ac_status); } &&
51765 - { ac_try='test -z "$ac_c_werror_flag"
51766 - || test ! -s conftest.err'
51767 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51768 - (eval $ac_try) 2>&5
51769 - ac_status=$?
51770 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
51771 - (exit $ac_status); }; } &&
51772 - { ac_try='test -s conftest.$ac_objext'
51773 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51774 - (eval $ac_try) 2>&5
51775 - ac_status=$?
51776 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
51777 - (exit $ac_status); }; }; then
51778 + (exit $ac_status); } && {
51779 + test -z "$ac_c_werror_flag" ||
51780 + test ! -s conftest.err
51781 + } && test -s conftest.$ac_objext; then
51782 ac_header_compiler=yes
51783 else
51784 echo "$as_me: failed program was:" >&5
51785 sed 's/^/| /' conftest.$ac_ext >&5
51786
51787 -ac_header_compiler=no
51788 + ac_header_compiler=no
51789 fi
51790 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51791 -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
51792 -echo "${ECHO_T}$ac_header_compiler" >&6
51793 +
51794 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51795 +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
51796 +echo "${ECHO_T}$ac_header_compiler" >&6; }
51797
51798 # Is the header present?
51799 -echo "$as_me:$LINENO: checking $ac_header presence" >&5
51800 -echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
51801 +{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
51802 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
51803 cat >conftest.$ac_ext <<_ACEOF
51804 /* confdefs.h. */
51805 _ACEOF
51806 @@ -7527,24 +8108,22 @@ cat >>conftest.$ac_ext <<_ACEOF
51807 /* end confdefs.h. */
51808 #include <$ac_header>
51809 _ACEOF
51810 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
51811 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
51812 +if { (ac_try="$ac_cpp conftest.$ac_ext"
51813 +case "(($ac_try" in
51814 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51815 + *) ac_try_echo=$ac_try;;
51816 +esac
51817 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51818 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
51819 ac_status=$?
51820 grep -v '^ *+' conftest.er1 >conftest.err
51821 rm -f conftest.er1
51822 cat conftest.err >&5
51823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51824 - (exit $ac_status); } >/dev/null; then
51825 - if test -s conftest.err; then
51826 - ac_cpp_err=$ac_c_preproc_warn_flag
51827 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
51828 - else
51829 - ac_cpp_err=
51830 - fi
51831 -else
51832 - ac_cpp_err=yes
51833 -fi
51834 -if test -z "$ac_cpp_err"; then
51835 + (exit $ac_status); } >/dev/null && {
51836 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
51837 + test ! -s conftest.err
51838 + }; then
51839 ac_header_preproc=yes
51840 else
51841 echo "$as_me: failed program was:" >&5
51842 @@ -7552,9 +8131,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
51843
51844 ac_header_preproc=no
51845 fi
51846 +
51847 rm -f conftest.err conftest.$ac_ext
51848 -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
51849 -echo "${ECHO_T}$ac_header_preproc" >&6
51850 +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
51851 +echo "${ECHO_T}$ac_header_preproc" >&6; }
51852
51853 # So? What about this header?
51854 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
51855 @@ -7578,25 +8158,19 @@ echo "$as_me: WARNING: $ac_header: s
51856 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
51857 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
51858 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
51859 - (
51860 - cat <<\_ASBOX
51861 -## ------------------------------------------ ##
51862 -## Report this to the AC_PACKAGE_NAME lists. ##
51863 -## ------------------------------------------ ##
51864 -_ASBOX
51865 - ) |
51866 - sed "s/^/$as_me: WARNING: /" >&2
51867 +
51868 ;;
51869 esac
51870 -echo "$as_me:$LINENO: checking for $ac_header" >&5
51871 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
51872 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
51873 +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
51874 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
51875 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
51876 echo $ECHO_N "(cached) $ECHO_C" >&6
51877 else
51878 eval "$as_ac_Header=\$ac_header_preproc"
51879 fi
51880 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
51881 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
51882 +ac_res=`eval echo '${'$as_ac_Header'}'`
51883 + { echo "$as_me:$LINENO: result: $ac_res" >&5
51884 +echo "${ECHO_T}$ac_res" >&6; }
51885
51886 fi
51887 if test `eval echo '${'$as_ac_Header'}'` = yes; then
51888 @@ -7612,9 +8186,9 @@ done
51889 for ac_func in getpagesize
51890 do
51891 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51892 -echo "$as_me:$LINENO: checking for $ac_func" >&5
51893 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51894 -if eval "test \"\${$as_ac_var+set}\" = set"; then
51895 +{ echo "$as_me:$LINENO: checking for $ac_func" >&5
51896 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
51897 +if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
51898 echo $ECHO_N "(cached) $ECHO_C" >&6
51899 else
51900 cat >conftest.$ac_ext <<_ACEOF
51901 @@ -7640,68 +8214,60 @@ cat >>conftest.$ac_ext <<_ACEOF
51902
51903 #undef $ac_func
51904
51905 -/* Override any gcc2 internal prototype to avoid an error. */
51906 +/* Override any GCC internal prototype to avoid an error.
51907 + Use char because int might match the return type of a GCC
51908 + builtin and then its argument prototype would still apply. */
51909 #ifdef __cplusplus
51910 extern "C"
51911 -{
51912 #endif
51913 -/* We use char because int might match the return type of a gcc2
51914 - builtin and then its argument prototype would still apply. */
51915 char $ac_func ();
51916 /* The GNU C library defines this for functions which it implements
51917 to always fail with ENOSYS. Some functions are actually named
51918 something starting with __ and the normal name is an alias. */
51919 -#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51920 +#if defined __stub_$ac_func || defined __stub___$ac_func
51921 choke me
51922 -#else
51923 -char (*f) () = $ac_func;
51924 -#endif
51925 -#ifdef __cplusplus
51926 -}
51927 #endif
51928
51929 int
51930 main ()
51931 {
51932 -return f != $ac_func;
51933 +return $ac_func ();
51934 ;
51935 return 0;
51936 }
51937 _ACEOF
51938 rm -f conftest.$ac_objext conftest$ac_exeext
51939 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51940 - (eval $ac_link) 2>conftest.er1
51941 +if { (ac_try="$ac_link"
51942 +case "(($ac_try" in
51943 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51944 + *) ac_try_echo=$ac_try;;
51945 +esac
51946 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51947 + (eval "$ac_link") 2>conftest.er1
51948 ac_status=$?
51949 grep -v '^ *+' conftest.er1 >conftest.err
51950 rm -f conftest.er1
51951 cat conftest.err >&5
51952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51953 - (exit $ac_status); } &&
51954 - { ac_try='test -z "$ac_c_werror_flag"
51955 - || test ! -s conftest.err'
51956 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51957 - (eval $ac_try) 2>&5
51958 - ac_status=$?
51959 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
51960 - (exit $ac_status); }; } &&
51961 - { ac_try='test -s conftest$ac_exeext'
51962 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51963 - (eval $ac_try) 2>&5
51964 - ac_status=$?
51965 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
51966 - (exit $ac_status); }; }; then
51967 + (exit $ac_status); } && {
51968 + test -z "$ac_c_werror_flag" ||
51969 + test ! -s conftest.err
51970 + } && test -s conftest$ac_exeext &&
51971 + $as_test_x conftest$ac_exeext; then
51972 eval "$as_ac_var=yes"
51973 else
51974 echo "$as_me: failed program was:" >&5
51975 sed 's/^/| /' conftest.$ac_ext >&5
51976
51977 -eval "$as_ac_var=no"
51978 + eval "$as_ac_var=no"
51979 fi
51980 -rm -f conftest.err conftest.$ac_objext \
51981 +
51982 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
51983 conftest$ac_exeext conftest.$ac_ext
51984 fi
51985 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51986 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51987 +ac_res=`eval echo '${'$as_ac_var'}'`
51988 + { echo "$as_me:$LINENO: result: $ac_res" >&5
51989 +echo "${ECHO_T}$ac_res" >&6; }
51990 if test `eval echo '${'$as_ac_var'}'` = yes; then
51991 cat >>confdefs.h <<_ACEOF
51992 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51993 @@ -7710,8 +8276,8 @@ _ACEOF
51994 fi
51995 done
51996
51997 -echo "$as_me:$LINENO: checking for working mmap" >&5
51998 -echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
51999 +{ echo "$as_me:$LINENO: checking for working mmap" >&5
52000 +echo $ECHO_N "checking for working mmap... $ECHO_C" >&6; }
52001 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
52002 echo $ECHO_N "(cached) $ECHO_C" >&6
52003 else
52004 @@ -7753,21 +8319,21 @@ $ac_includes_default
52005 #include <fcntl.h>
52006 #include <sys/mman.h>
52007
52008 -#if !STDC_HEADERS && !HAVE_STDLIB_H
52009 +#if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
52010 char *malloc ();
52011 #endif
52012
52013 /* This mess was copied from the GNU getpagesize.h. */
52014 -#if !HAVE_GETPAGESIZE
52015 +#ifndef HAVE_GETPAGESIZE
52016 /* Assume that all systems that can run configure have sys/param.h. */
52017 -# if !HAVE_SYS_PARAM_H
52018 +# ifndef HAVE_SYS_PARAM_H
52019 # define HAVE_SYS_PARAM_H 1
52020 # endif
52021
52022 # ifdef _SC_PAGESIZE
52023 # define getpagesize() sysconf(_SC_PAGESIZE)
52024 # else /* no _SC_PAGESIZE */
52025 -# if HAVE_SYS_PARAM_H
52026 +# ifdef HAVE_SYS_PARAM_H
52027 # include <sys/param.h>
52028 # ifdef EXEC_PAGESIZE
52029 # define getpagesize() EXEC_PAGESIZE
52030 @@ -7806,15 +8372,15 @@ main ()
52031 /* First, make a file with some known garbage in it. */
52032 data = (char *) malloc (pagesize);
52033 if (!data)
52034 - exit (1);
52035 + return 1;
52036 for (i = 0; i < pagesize; ++i)
52037 *(data + i) = rand ();
52038 umask (0);
52039 fd = creat ("conftest.mmap", 0600);
52040 if (fd < 0)
52041 - exit (1);
52042 + return 1;
52043 if (write (fd, data, pagesize) != pagesize)
52044 - exit (1);
52045 + return 1;
52046 close (fd);
52047
52048 /* Next, try to mmap the file at a fixed address which already has
52049 @@ -7822,17 +8388,17 @@ main ()
52050 we see the same garbage. */
52051 fd = open ("conftest.mmap", O_RDWR);
52052 if (fd < 0)
52053 - exit (1);
52054 + return 1;
52055 data2 = (char *) malloc (2 * pagesize);
52056 if (!data2)
52057 - exit (1);
52058 - data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
52059 + return 1;
52060 + data2 += (pagesize - ((long int) data2 & (pagesize - 1))) & (pagesize - 1);
52061 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
52062 MAP_PRIVATE | MAP_FIXED, fd, 0L))
52063 - exit (1);
52064 + return 1;
52065 for (i = 0; i < pagesize; ++i)
52066 if (*(data + i) != *(data2 + i))
52067 - exit (1);
52068 + return 1;
52069
52070 /* Finally, make sure that changes to the mapped area do not
52071 percolate back to the file as seen by read(). (This is a bug on
52072 @@ -7841,24 +8407,33 @@ main ()
52073 *(data2 + i) = *(data2 + i) + 1;
52074 data3 = (char *) malloc (pagesize);
52075 if (!data3)
52076 - exit (1);
52077 + return 1;
52078 if (read (fd, data3, pagesize) != pagesize)
52079 - exit (1);
52080 + return 1;
52081 for (i = 0; i < pagesize; ++i)
52082 if (*(data + i) != *(data3 + i))
52083 - exit (1);
52084 + return 1;
52085 close (fd);
52086 - exit (0);
52087 + return 0;
52088 }
52089 _ACEOF
52090 rm -f conftest$ac_exeext
52091 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52092 - (eval $ac_link) 2>&5
52093 +if { (ac_try="$ac_link"
52094 +case "(($ac_try" in
52095 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
52096 + *) ac_try_echo=$ac_try;;
52097 +esac
52098 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
52099 + (eval "$ac_link") 2>&5
52100 ac_status=$?
52101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52102 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
52103 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52104 - (eval $ac_try) 2>&5
52105 + { (case "(($ac_try" in
52106 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
52107 + *) ac_try_echo=$ac_try;;
52108 +esac
52109 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
52110 + (eval "$ac_try") 2>&5
52111 ac_status=$?
52112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52113 (exit $ac_status); }; }; then
52114 @@ -7871,11 +8446,13 @@ sed 's/^/| /' conftest.$ac_ext >&5
52115 ( exit $ac_status )
52116 ac_cv_func_mmap_fixed_mapped=no
52117 fi
52118 -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
52119 +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
52120 fi
52121 +
52122 +
52123 fi
52124 -echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
52125 -echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
52126 +{ echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
52127 +echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6; }
52128 if test $ac_cv_func_mmap_fixed_mapped = yes; then
52129
52130 cat >>confdefs.h <<\_ACEOF
52131 @@ -7899,18 +8476,19 @@ for ac_header in argz.h limits.h locale.
52132 unistd.h values.h sys/param.h
52133 do
52134 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
52135 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
52136 - echo "$as_me:$LINENO: checking for $ac_header" >&5
52137 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
52138 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
52139 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
52140 + { echo "$as_me:$LINENO: checking for $ac_header" >&5
52141 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
52142 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
52143 echo $ECHO_N "(cached) $ECHO_C" >&6
52144 fi
52145 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
52146 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
52147 +ac_res=`eval echo '${'$as_ac_Header'}'`
52148 + { echo "$as_me:$LINENO: result: $ac_res" >&5
52149 +echo "${ECHO_T}$ac_res" >&6; }
52150 else
52151 # Is the header compilable?
52152 -echo "$as_me:$LINENO: checking $ac_header usability" >&5
52153 -echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
52154 +{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
52155 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
52156 cat >conftest.$ac_ext <<_ACEOF
52157 /* confdefs.h. */
52158 _ACEOF
52159 @@ -7921,41 +8499,37 @@ $ac_includes_default
52160 #include <$ac_header>
52161 _ACEOF
52162 rm -f conftest.$ac_objext
52163 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52164 - (eval $ac_compile) 2>conftest.er1
52165 +if { (ac_try="$ac_compile"
52166 +case "(($ac_try" in
52167 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
52168 + *) ac_try_echo=$ac_try;;
52169 +esac
52170 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
52171 + (eval "$ac_compile") 2>conftest.er1
52172 ac_status=$?
52173 grep -v '^ *+' conftest.er1 >conftest.err
52174 rm -f conftest.er1
52175 cat conftest.err >&5
52176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52177 - (exit $ac_status); } &&
52178 - { ac_try='test -z "$ac_c_werror_flag"
52179 - || test ! -s conftest.err'
52180 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52181 - (eval $ac_try) 2>&5
52182 - ac_status=$?
52183 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
52184 - (exit $ac_status); }; } &&
52185 - { ac_try='test -s conftest.$ac_objext'
52186 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52187 - (eval $ac_try) 2>&5
52188 - ac_status=$?
52189 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
52190 - (exit $ac_status); }; }; then
52191 + (exit $ac_status); } && {
52192 + test -z "$ac_c_werror_flag" ||
52193 + test ! -s conftest.err
52194 + } && test -s conftest.$ac_objext; then
52195 ac_header_compiler=yes
52196 else
52197 echo "$as_me: failed program was:" >&5
52198 sed 's/^/| /' conftest.$ac_ext >&5
52199
52200 -ac_header_compiler=no
52201 + ac_header_compiler=no
52202 fi
52203 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52204 -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
52205 -echo "${ECHO_T}$ac_header_compiler" >&6
52206 +
52207 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52208 +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
52209 +echo "${ECHO_T}$ac_header_compiler" >&6; }
52210
52211 # Is the header present?
52212 -echo "$as_me:$LINENO: checking $ac_header presence" >&5
52213 -echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
52214 +{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
52215 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
52216 cat >conftest.$ac_ext <<_ACEOF
52217 /* confdefs.h. */
52218 _ACEOF
52219 @@ -7964,24 +8538,22 @@ cat >>conftest.$ac_ext <<_ACEOF
52220 /* end confdefs.h. */
52221 #include <$ac_header>
52222 _ACEOF
52223 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
52224 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
52225 +if { (ac_try="$ac_cpp conftest.$ac_ext"
52226 +case "(($ac_try" in
52227 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
52228 + *) ac_try_echo=$ac_try;;
52229 +esac
52230 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
52231 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
52232 ac_status=$?
52233 grep -v '^ *+' conftest.er1 >conftest.err
52234 rm -f conftest.er1
52235 cat conftest.err >&5
52236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52237 - (exit $ac_status); } >/dev/null; then
52238 - if test -s conftest.err; then
52239 - ac_cpp_err=$ac_c_preproc_warn_flag
52240 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
52241 - else
52242 - ac_cpp_err=
52243 - fi
52244 -else
52245 - ac_cpp_err=yes
52246 -fi
52247 -if test -z "$ac_cpp_err"; then
52248 + (exit $ac_status); } >/dev/null && {
52249 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
52250 + test ! -s conftest.err
52251 + }; then
52252 ac_header_preproc=yes
52253 else
52254 echo "$as_me: failed program was:" >&5
52255 @@ -7989,9 +8561,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
52256
52257 ac_header_preproc=no
52258 fi
52259 +
52260 rm -f conftest.err conftest.$ac_ext
52261 -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
52262 -echo "${ECHO_T}$ac_header_preproc" >&6
52263 +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
52264 +echo "${ECHO_T}$ac_header_preproc" >&6; }
52265
52266 # So? What about this header?
52267 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
52268 @@ -8015,25 +8588,19 @@ echo "$as_me: WARNING: $ac_header: s
52269 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
52270 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
52271 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
52272 - (
52273 - cat <<\_ASBOX
52274 -## ------------------------------------------ ##
52275 -## Report this to the AC_PACKAGE_NAME lists. ##
52276 -## ------------------------------------------ ##
52277 -_ASBOX
52278 - ) |
52279 - sed "s/^/$as_me: WARNING: /" >&2
52280 +
52281 ;;
52282 esac
52283 -echo "$as_me:$LINENO: checking for $ac_header" >&5
52284 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
52285 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
52286 +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
52287 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
52288 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
52289 echo $ECHO_N "(cached) $ECHO_C" >&6
52290 else
52291 eval "$as_ac_Header=\$ac_header_preproc"
52292 fi
52293 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
52294 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
52295 +ac_res=`eval echo '${'$as_ac_Header'}'`
52296 + { echo "$as_me:$LINENO: result: $ac_res" >&5
52297 +echo "${ECHO_T}$ac_res" >&6; }
52298
52299 fi
52300 if test `eval echo '${'$as_ac_Header'}'` = yes; then
52301 @@ -8059,9 +8626,9 @@ for ac_func in getcwd munmap putenv sete
52302 __argz_count __argz_stringify __argz_next
52303 do
52304 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52305 -echo "$as_me:$LINENO: checking for $ac_func" >&5
52306 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52307 -if eval "test \"\${$as_ac_var+set}\" = set"; then
52308 +{ echo "$as_me:$LINENO: checking for $ac_func" >&5
52309 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
52310 +if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
52311 echo $ECHO_N "(cached) $ECHO_C" >&6
52312 else
52313 cat >conftest.$ac_ext <<_ACEOF
52314 @@ -8087,68 +8654,60 @@ cat >>conftest.$ac_ext <<_ACEOF
52315
52316 #undef $ac_func
52317
52318 -/* Override any gcc2 internal prototype to avoid an error. */
52319 +/* Override any GCC internal prototype to avoid an error.
52320 + Use char because int might match the return type of a GCC
52321 + builtin and then its argument prototype would still apply. */
52322 #ifdef __cplusplus
52323 extern "C"
52324 -{
52325 #endif
52326 -/* We use char because int might match the return type of a gcc2
52327 - builtin and then its argument prototype would still apply. */
52328 char $ac_func ();
52329 /* The GNU C library defines this for functions which it implements
52330 to always fail with ENOSYS. Some functions are actually named
52331 something starting with __ and the normal name is an alias. */
52332 -#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52333 +#if defined __stub_$ac_func || defined __stub___$ac_func
52334 choke me
52335 -#else
52336 -char (*f) () = $ac_func;
52337 -#endif
52338 -#ifdef __cplusplus
52339 -}
52340 #endif
52341
52342 int
52343 main ()
52344 {
52345 -return f != $ac_func;
52346 +return $ac_func ();
52347 ;
52348 return 0;
52349 }
52350 _ACEOF
52351 rm -f conftest.$ac_objext conftest$ac_exeext
52352 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52353 - (eval $ac_link) 2>conftest.er1
52354 +if { (ac_try="$ac_link"
52355 +case "(($ac_try" in
52356 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
52357 + *) ac_try_echo=$ac_try;;
52358 +esac
52359 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
52360 + (eval "$ac_link") 2>conftest.er1
52361 ac_status=$?
52362 grep -v '^ *+' conftest.er1 >conftest.err
52363 rm -f conftest.er1
52364 cat conftest.err >&5
52365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52366 - (exit $ac_status); } &&
52367 - { ac_try='test -z "$ac_c_werror_flag"
52368 - || test ! -s conftest.err'
52369 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52370 - (eval $ac_try) 2>&5
52371 - ac_status=$?
52372 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
52373 - (exit $ac_status); }; } &&
52374 - { ac_try='test -s conftest$ac_exeext'
52375 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52376 - (eval $ac_try) 2>&5
52377 - ac_status=$?
52378 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
52379 - (exit $ac_status); }; }; then
52380 + (exit $ac_status); } && {
52381 + test -z "$ac_c_werror_flag" ||
52382 + test ! -s conftest.err
52383 + } && test -s conftest$ac_exeext &&
52384 + $as_test_x conftest$ac_exeext; then
52385 eval "$as_ac_var=yes"
52386 else
52387 echo "$as_me: failed program was:" >&5
52388 sed 's/^/| /' conftest.$ac_ext >&5
52389
52390 -eval "$as_ac_var=no"
52391 + eval "$as_ac_var=no"
52392 fi
52393 -rm -f conftest.err conftest.$ac_objext \
52394 +
52395 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
52396 conftest$ac_exeext conftest.$ac_ext
52397 fi
52398 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52399 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52400 +ac_res=`eval echo '${'$as_ac_var'}'`
52401 + { echo "$as_me:$LINENO: result: $ac_res" >&5
52402 +echo "${ECHO_T}$ac_res" >&6; }
52403 if test `eval echo '${'$as_ac_var'}'` = yes; then
52404 cat >>confdefs.h <<_ACEOF
52405 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52406 @@ -8163,9 +8722,9 @@ done
52407 for ac_func in stpcpy
52408 do
52409 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52410 -echo "$as_me:$LINENO: checking for $ac_func" >&5
52411 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52412 -if eval "test \"\${$as_ac_var+set}\" = set"; then
52413 +{ echo "$as_me:$LINENO: checking for $ac_func" >&5
52414 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
52415 +if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
52416 echo $ECHO_N "(cached) $ECHO_C" >&6
52417 else
52418 cat >conftest.$ac_ext <<_ACEOF
52419 @@ -8191,68 +8750,60 @@ cat >>conftest.$ac_ext <<_ACEOF
52420
52421 #undef $ac_func
52422
52423 -/* Override any gcc2 internal prototype to avoid an error. */
52424 +/* Override any GCC internal prototype to avoid an error.
52425 + Use char because int might match the return type of a GCC
52426 + builtin and then its argument prototype would still apply. */
52427 #ifdef __cplusplus
52428 extern "C"
52429 -{
52430 #endif
52431 -/* We use char because int might match the return type of a gcc2
52432 - builtin and then its argument prototype would still apply. */
52433 char $ac_func ();
52434 /* The GNU C library defines this for functions which it implements
52435 to always fail with ENOSYS. Some functions are actually named
52436 something starting with __ and the normal name is an alias. */
52437 -#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52438 +#if defined __stub_$ac_func || defined __stub___$ac_func
52439 choke me
52440 -#else
52441 -char (*f) () = $ac_func;
52442 -#endif
52443 -#ifdef __cplusplus
52444 -}
52445 #endif
52446
52447 int
52448 main ()
52449 {
52450 -return f != $ac_func;
52451 +return $ac_func ();
52452 ;
52453 return 0;
52454 }
52455 _ACEOF
52456 rm -f conftest.$ac_objext conftest$ac_exeext
52457 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52458 - (eval $ac_link) 2>conftest.er1
52459 +if { (ac_try="$ac_link"
52460 +case "(($ac_try" in
52461 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
52462 + *) ac_try_echo=$ac_try;;
52463 +esac
52464 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
52465 + (eval "$ac_link") 2>conftest.er1
52466 ac_status=$?
52467 grep -v '^ *+' conftest.er1 >conftest.err
52468 rm -f conftest.er1
52469 cat conftest.err >&5
52470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52471 - (exit $ac_status); } &&
52472 - { ac_try='test -z "$ac_c_werror_flag"
52473 - || test ! -s conftest.err'
52474 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52475 - (eval $ac_try) 2>&5
52476 - ac_status=$?
52477 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
52478 - (exit $ac_status); }; } &&
52479 - { ac_try='test -s conftest$ac_exeext'
52480 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52481 - (eval $ac_try) 2>&5
52482 - ac_status=$?
52483 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
52484 - (exit $ac_status); }; }; then
52485 + (exit $ac_status); } && {
52486 + test -z "$ac_c_werror_flag" ||
52487 + test ! -s conftest.err
52488 + } && test -s conftest$ac_exeext &&
52489 + $as_test_x conftest$ac_exeext; then
52490 eval "$as_ac_var=yes"
52491 else
52492 echo "$as_me: failed program was:" >&5
52493 sed 's/^/| /' conftest.$ac_ext >&5
52494
52495 -eval "$as_ac_var=no"
52496 + eval "$as_ac_var=no"
52497 fi
52498 -rm -f conftest.err conftest.$ac_objext \
52499 +
52500 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
52501 conftest$ac_exeext conftest.$ac_ext
52502 fi
52503 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52504 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52505 +ac_res=`eval echo '${'$as_ac_var'}'`
52506 + { echo "$as_me:$LINENO: result: $ac_res" >&5
52507 +echo "${ECHO_T}$ac_res" >&6; }
52508 if test `eval echo '${'$as_ac_var'}'` = yes; then
52509 cat >>confdefs.h <<_ACEOF
52510 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52511 @@ -8271,8 +8822,8 @@ _ACEOF
52512 fi
52513
52514 if test $ac_cv_header_locale_h = yes; then
52515 - echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
52516 -echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
52517 + { echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
52518 +echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6; }
52519 if test "${am_cv_val_LC_MESSAGES+set}" = set; then
52520 echo $ECHO_N "(cached) $ECHO_C" >&6
52521 else
52522 @@ -8292,39 +8843,36 @@ return LC_MESSAGES
52523 }
52524 _ACEOF
52525 rm -f conftest.$ac_objext conftest$ac_exeext
52526 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52527 - (eval $ac_link) 2>conftest.er1
52528 +if { (ac_try="$ac_link"
52529 +case "(($ac_try" in
52530 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
52531 + *) ac_try_echo=$ac_try;;
52532 +esac
52533 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
52534 + (eval "$ac_link") 2>conftest.er1
52535 ac_status=$?
52536 grep -v '^ *+' conftest.er1 >conftest.err
52537 rm -f conftest.er1
52538 cat conftest.err >&5
52539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52540 - (exit $ac_status); } &&
52541 - { ac_try='test -z "$ac_c_werror_flag"
52542 - || test ! -s conftest.err'
52543 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52544 - (eval $ac_try) 2>&5
52545 - ac_status=$?
52546 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
52547 - (exit $ac_status); }; } &&
52548 - { ac_try='test -s conftest$ac_exeext'
52549 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52550 - (eval $ac_try) 2>&5
52551 - ac_status=$?
52552 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
52553 - (exit $ac_status); }; }; then
52554 + (exit $ac_status); } && {
52555 + test -z "$ac_c_werror_flag" ||
52556 + test ! -s conftest.err
52557 + } && test -s conftest$ac_exeext &&
52558 + $as_test_x conftest$ac_exeext; then
52559 am_cv_val_LC_MESSAGES=yes
52560 else
52561 echo "$as_me: failed program was:" >&5
52562 sed 's/^/| /' conftest.$ac_ext >&5
52563
52564 -am_cv_val_LC_MESSAGES=no
52565 + am_cv_val_LC_MESSAGES=no
52566 fi
52567 -rm -f conftest.err conftest.$ac_objext \
52568 +
52569 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
52570 conftest$ac_exeext conftest.$ac_ext
52571 fi
52572 -echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
52573 -echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6
52574 +{ echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
52575 +echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6; }
52576 if test $am_cv_val_LC_MESSAGES = yes; then
52577
52578 cat >>confdefs.h <<\_ACEOF
52579 @@ -8333,34 +8881,34 @@ _ACEOF
52580
52581 fi
52582 fi
52583 - echo "$as_me:$LINENO: checking whether NLS is requested" >&5
52584 -echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
52585 - # Check whether --enable-nls or --disable-nls was given.
52586 + { echo "$as_me:$LINENO: checking whether NLS is requested" >&5
52587 +echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6; }
52588 + # Check whether --enable-nls was given.
52589 if test "${enable_nls+set}" = set; then
52590 - enableval="$enable_nls"
52591 - USE_NLS=$enableval
52592 + enableval=$enable_nls; USE_NLS=$enableval
52593 else
52594 USE_NLS=yes
52595 -fi;
52596 - echo "$as_me:$LINENO: result: $USE_NLS" >&5
52597 -echo "${ECHO_T}$USE_NLS" >&6
52598 +fi
52599 +
52600 + { echo "$as_me:$LINENO: result: $USE_NLS" >&5
52601 +echo "${ECHO_T}$USE_NLS" >&6; }
52602
52603
52604 USE_INCLUDED_LIBINTL=no
52605
52606 if test "$USE_NLS" = "yes"; then
52607 - echo "$as_me:$LINENO: checking whether included gettext is requested" >&5
52608 -echo $ECHO_N "checking whether included gettext is requested... $ECHO_C" >&6
52609 + { echo "$as_me:$LINENO: checking whether included gettext is requested" >&5
52610 +echo $ECHO_N "checking whether included gettext is requested... $ECHO_C" >&6; }
52611
52612 -# Check whether --with-included-gettext or --without-included-gettext was given.
52613 +# Check whether --with-included-gettext was given.
52614 if test "${with_included_gettext+set}" = set; then
52615 - withval="$with_included_gettext"
52616 - nls_cv_force_use_gnu_gettext=$withval
52617 + withval=$with_included_gettext; nls_cv_force_use_gnu_gettext=$withval
52618 else
52619 nls_cv_force_use_gnu_gettext=no
52620 -fi;
52621 - echo "$as_me:$LINENO: result: $nls_cv_force_use_gnu_gettext" >&5
52622 -echo "${ECHO_T}$nls_cv_force_use_gnu_gettext" >&6
52623 +fi
52624 +
52625 + { echo "$as_me:$LINENO: result: $nls_cv_force_use_gnu_gettext" >&5
52626 +echo "${ECHO_T}$nls_cv_force_use_gnu_gettext" >&6; }
52627
52628 nls_cv_use_gnu_gettext="$nls_cv_force_use_gnu_gettext"
52629 if test "$nls_cv_force_use_gnu_gettext" != "yes"; then
52630 @@ -8369,17 +8917,17 @@ echo "${ECHO_T}$nls_cv_force_use_gnu_get
52631 CATOBJEXT=
52632
52633 if test "${ac_cv_header_libintl_h+set}" = set; then
52634 - echo "$as_me:$LINENO: checking for libintl.h" >&5
52635 -echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6
52636 + { echo "$as_me:$LINENO: checking for libintl.h" >&5
52637 +echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6; }
52638 if test "${ac_cv_header_libintl_h+set}" = set; then
52639 echo $ECHO_N "(cached) $ECHO_C" >&6
52640 fi
52641 -echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
52642 -echo "${ECHO_T}$ac_cv_header_libintl_h" >&6
52643 +{ echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
52644 +echo "${ECHO_T}$ac_cv_header_libintl_h" >&6; }
52645 else
52646 # Is the header compilable?
52647 -echo "$as_me:$LINENO: checking libintl.h usability" >&5
52648 -echo $ECHO_N "checking libintl.h usability... $ECHO_C" >&6
52649 +{ echo "$as_me:$LINENO: checking libintl.h usability" >&5
52650 +echo $ECHO_N "checking libintl.h usability... $ECHO_C" >&6; }
52651 cat >conftest.$ac_ext <<_ACEOF
52652 /* confdefs.h. */
52653 _ACEOF
52654 @@ -8390,41 +8938,37 @@ $ac_includes_default
52655 #include <libintl.h>
52656 _ACEOF
52657 rm -f conftest.$ac_objext
52658 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52659 - (eval $ac_compile) 2>conftest.er1
52660 +if { (ac_try="$ac_compile"
52661 +case "(($ac_try" in
52662 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
52663 + *) ac_try_echo=$ac_try;;
52664 +esac
52665 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
52666 + (eval "$ac_compile") 2>conftest.er1
52667 ac_status=$?
52668 grep -v '^ *+' conftest.er1 >conftest.err
52669 rm -f conftest.er1
52670 cat conftest.err >&5
52671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52672 - (exit $ac_status); } &&
52673 - { ac_try='test -z "$ac_c_werror_flag"
52674 - || test ! -s conftest.err'
52675 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52676 - (eval $ac_try) 2>&5
52677 - ac_status=$?
52678 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
52679 - (exit $ac_status); }; } &&
52680 - { ac_try='test -s conftest.$ac_objext'
52681 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52682 - (eval $ac_try) 2>&5
52683 - ac_status=$?
52684 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
52685 - (exit $ac_status); }; }; then
52686 + (exit $ac_status); } && {
52687 + test -z "$ac_c_werror_flag" ||
52688 + test ! -s conftest.err
52689 + } && test -s conftest.$ac_objext; then
52690 ac_header_compiler=yes
52691 else
52692 echo "$as_me: failed program was:" >&5
52693 sed 's/^/| /' conftest.$ac_ext >&5
52694
52695 -ac_header_compiler=no
52696 + ac_header_compiler=no
52697 fi
52698 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52699 -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
52700 -echo "${ECHO_T}$ac_header_compiler" >&6
52701 +
52702 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52703 +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
52704 +echo "${ECHO_T}$ac_header_compiler" >&6; }
52705
52706 # Is the header present?
52707 -echo "$as_me:$LINENO: checking libintl.h presence" >&5
52708 -echo $ECHO_N "checking libintl.h presence... $ECHO_C" >&6
52709 +{ echo "$as_me:$LINENO: checking libintl.h presence" >&5
52710 +echo $ECHO_N "checking libintl.h presence... $ECHO_C" >&6; }
52711 cat >conftest.$ac_ext <<_ACEOF
52712 /* confdefs.h. */
52713 _ACEOF
52714 @@ -8433,24 +8977,22 @@ cat >>conftest.$ac_ext <<_ACEOF
52715 /* end confdefs.h. */
52716 #include <libintl.h>
52717 _ACEOF
52718 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
52719 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
52720 +if { (ac_try="$ac_cpp conftest.$ac_ext"
52721 +case "(($ac_try" in
52722 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
52723 + *) ac_try_echo=$ac_try;;
52724 +esac
52725 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
52726 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
52727 ac_status=$?
52728 grep -v '^ *+' conftest.er1 >conftest.err
52729 rm -f conftest.er1
52730 cat conftest.err >&5
52731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52732 - (exit $ac_status); } >/dev/null; then
52733 - if test -s conftest.err; then
52734 - ac_cpp_err=$ac_c_preproc_warn_flag
52735 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
52736 - else
52737 - ac_cpp_err=
52738 - fi
52739 -else
52740 - ac_cpp_err=yes
52741 -fi
52742 -if test -z "$ac_cpp_err"; then
52743 + (exit $ac_status); } >/dev/null && {
52744 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
52745 + test ! -s conftest.err
52746 + }; then
52747 ac_header_preproc=yes
52748 else
52749 echo "$as_me: failed program was:" >&5
52750 @@ -8458,9 +9000,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
52751
52752 ac_header_preproc=no
52753 fi
52754 +
52755 rm -f conftest.err conftest.$ac_ext
52756 -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
52757 -echo "${ECHO_T}$ac_header_preproc" >&6
52758 +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
52759 +echo "${ECHO_T}$ac_header_preproc" >&6; }
52760
52761 # So? What about this header?
52762 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
52763 @@ -8484,30 +9027,23 @@ echo "$as_me: WARNING: libintl.h: se
52764 echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;}
52765 { echo "$as_me:$LINENO: WARNING: libintl.h: in the future, the compiler will take precedence" >&5
52766 echo "$as_me: WARNING: libintl.h: in the future, the compiler will take precedence" >&2;}
52767 - (
52768 - cat <<\_ASBOX
52769 -## ------------------------------------------ ##
52770 -## Report this to the AC_PACKAGE_NAME lists. ##
52771 -## ------------------------------------------ ##
52772 -_ASBOX
52773 - ) |
52774 - sed "s/^/$as_me: WARNING: /" >&2
52775 +
52776 ;;
52777 esac
52778 -echo "$as_me:$LINENO: checking for libintl.h" >&5
52779 -echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6
52780 +{ echo "$as_me:$LINENO: checking for libintl.h" >&5
52781 +echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6; }
52782 if test "${ac_cv_header_libintl_h+set}" = set; then
52783 echo $ECHO_N "(cached) $ECHO_C" >&6
52784 else
52785 ac_cv_header_libintl_h=$ac_header_preproc
52786 fi
52787 -echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
52788 -echo "${ECHO_T}$ac_cv_header_libintl_h" >&6
52789 +{ echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
52790 +echo "${ECHO_T}$ac_cv_header_libintl_h" >&6; }
52791
52792 fi
52793 if test $ac_cv_header_libintl_h = yes; then
52794 - echo "$as_me:$LINENO: checking for gettext in libc" >&5
52795 -echo $ECHO_N "checking for gettext in libc... $ECHO_C" >&6
52796 + { echo "$as_me:$LINENO: checking for gettext in libc" >&5
52797 +echo $ECHO_N "checking for gettext in libc... $ECHO_C" >&6; }
52798 if test "${gt_cv_func_gettext_libc+set}" = set; then
52799 echo $ECHO_N "(cached) $ECHO_C" >&6
52800 else
52801 @@ -8527,43 +9063,40 @@ return (int) gettext ("")
52802 }
52803 _ACEOF
52804 rm -f conftest.$ac_objext conftest$ac_exeext
52805 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52806 - (eval $ac_link) 2>conftest.er1
52807 +if { (ac_try="$ac_link"
52808 +case "(($ac_try" in
52809 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
52810 + *) ac_try_echo=$ac_try;;
52811 +esac
52812 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
52813 + (eval "$ac_link") 2>conftest.er1
52814 ac_status=$?
52815 grep -v '^ *+' conftest.er1 >conftest.err
52816 rm -f conftest.er1
52817 cat conftest.err >&5
52818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52819 - (exit $ac_status); } &&
52820 - { ac_try='test -z "$ac_c_werror_flag"
52821 - || test ! -s conftest.err'
52822 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52823 - (eval $ac_try) 2>&5
52824 - ac_status=$?
52825 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
52826 - (exit $ac_status); }; } &&
52827 - { ac_try='test -s conftest$ac_exeext'
52828 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52829 - (eval $ac_try) 2>&5
52830 - ac_status=$?
52831 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
52832 - (exit $ac_status); }; }; then
52833 + (exit $ac_status); } && {
52834 + test -z "$ac_c_werror_flag" ||
52835 + test ! -s conftest.err
52836 + } && test -s conftest$ac_exeext &&
52837 + $as_test_x conftest$ac_exeext; then
52838 gt_cv_func_gettext_libc=yes
52839 else
52840 echo "$as_me: failed program was:" >&5
52841 sed 's/^/| /' conftest.$ac_ext >&5
52842
52843 -gt_cv_func_gettext_libc=no
52844 + gt_cv_func_gettext_libc=no
52845 fi
52846 -rm -f conftest.err conftest.$ac_objext \
52847 +
52848 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
52849 conftest$ac_exeext conftest.$ac_ext
52850 fi
52851 -echo "$as_me:$LINENO: result: $gt_cv_func_gettext_libc" >&5
52852 -echo "${ECHO_T}$gt_cv_func_gettext_libc" >&6
52853 +{ echo "$as_me:$LINENO: result: $gt_cv_func_gettext_libc" >&5
52854 +echo "${ECHO_T}$gt_cv_func_gettext_libc" >&6; }
52855
52856 if test "$gt_cv_func_gettext_libc" != "yes"; then
52857 - echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5
52858 -echo $ECHO_N "checking for bindtextdomain in -lintl... $ECHO_C" >&6
52859 + { echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5
52860 +echo $ECHO_N "checking for bindtextdomain in -lintl... $ECHO_C" >&6; }
52861 if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then
52862 echo $ECHO_N "(cached) $ECHO_C" >&6
52863 else
52864 @@ -8576,59 +9109,56 @@ cat confdefs.h >>conftest.$ac_ext
52865 cat >>conftest.$ac_ext <<_ACEOF
52866 /* end confdefs.h. */
52867
52868 -/* Override any gcc2 internal prototype to avoid an error. */
52869 +/* Override any GCC internal prototype to avoid an error.
52870 + Use char because int might match the return type of a GCC
52871 + builtin and then its argument prototype would still apply. */
52872 #ifdef __cplusplus
52873 extern "C"
52874 #endif
52875 -/* We use char because int might match the return type of a gcc2
52876 - builtin and then its argument prototype would still apply. */
52877 char bindtextdomain ();
52878 int
52879 main ()
52880 {
52881 -bindtextdomain ();
52882 +return bindtextdomain ();
52883 ;
52884 return 0;
52885 }
52886 _ACEOF
52887 rm -f conftest.$ac_objext conftest$ac_exeext
52888 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52889 - (eval $ac_link) 2>conftest.er1
52890 +if { (ac_try="$ac_link"
52891 +case "(($ac_try" in
52892 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
52893 + *) ac_try_echo=$ac_try;;
52894 +esac
52895 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
52896 + (eval "$ac_link") 2>conftest.er1
52897 ac_status=$?
52898 grep -v '^ *+' conftest.er1 >conftest.err
52899 rm -f conftest.er1
52900 cat conftest.err >&5
52901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52902 - (exit $ac_status); } &&
52903 - { ac_try='test -z "$ac_c_werror_flag"
52904 - || test ! -s conftest.err'
52905 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52906 - (eval $ac_try) 2>&5
52907 - ac_status=$?
52908 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
52909 - (exit $ac_status); }; } &&
52910 - { ac_try='test -s conftest$ac_exeext'
52911 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52912 - (eval $ac_try) 2>&5
52913 - ac_status=$?
52914 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
52915 - (exit $ac_status); }; }; then
52916 + (exit $ac_status); } && {
52917 + test -z "$ac_c_werror_flag" ||
52918 + test ! -s conftest.err
52919 + } && test -s conftest$ac_exeext &&
52920 + $as_test_x conftest$ac_exeext; then
52921 ac_cv_lib_intl_bindtextdomain=yes
52922 else
52923 echo "$as_me: failed program was:" >&5
52924 sed 's/^/| /' conftest.$ac_ext >&5
52925
52926 -ac_cv_lib_intl_bindtextdomain=no
52927 + ac_cv_lib_intl_bindtextdomain=no
52928 fi
52929 -rm -f conftest.err conftest.$ac_objext \
52930 +
52931 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
52932 conftest$ac_exeext conftest.$ac_ext
52933 LIBS=$ac_check_lib_save_LIBS
52934 fi
52935 -echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5
52936 -echo "${ECHO_T}$ac_cv_lib_intl_bindtextdomain" >&6
52937 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5
52938 +echo "${ECHO_T}$ac_cv_lib_intl_bindtextdomain" >&6; }
52939 if test $ac_cv_lib_intl_bindtextdomain = yes; then
52940 - echo "$as_me:$LINENO: checking for gettext in libintl" >&5
52941 -echo $ECHO_N "checking for gettext in libintl... $ECHO_C" >&6
52942 + { echo "$as_me:$LINENO: checking for gettext in libintl" >&5
52943 +echo $ECHO_N "checking for gettext in libintl... $ECHO_C" >&6; }
52944 if test "${gt_cv_func_gettext_libintl+set}" = set; then
52945 echo $ECHO_N "(cached) $ECHO_C" >&6
52946 else
52947 @@ -8648,39 +9178,36 @@ return (int) gettext ("")
52948 }
52949 _ACEOF
52950 rm -f conftest.$ac_objext conftest$ac_exeext
52951 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52952 - (eval $ac_link) 2>conftest.er1
52953 +if { (ac_try="$ac_link"
52954 +case "(($ac_try" in
52955 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
52956 + *) ac_try_echo=$ac_try;;
52957 +esac
52958 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
52959 + (eval "$ac_link") 2>conftest.er1
52960 ac_status=$?
52961 grep -v '^ *+' conftest.er1 >conftest.err
52962 rm -f conftest.er1
52963 cat conftest.err >&5
52964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52965 - (exit $ac_status); } &&
52966 - { ac_try='test -z "$ac_c_werror_flag"
52967 - || test ! -s conftest.err'
52968 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52969 - (eval $ac_try) 2>&5
52970 - ac_status=$?
52971 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
52972 - (exit $ac_status); }; } &&
52973 - { ac_try='test -s conftest$ac_exeext'
52974 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52975 - (eval $ac_try) 2>&5
52976 - ac_status=$?
52977 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
52978 - (exit $ac_status); }; }; then
52979 + (exit $ac_status); } && {
52980 + test -z "$ac_c_werror_flag" ||
52981 + test ! -s conftest.err
52982 + } && test -s conftest$ac_exeext &&
52983 + $as_test_x conftest$ac_exeext; then
52984 gt_cv_func_gettext_libintl=yes
52985 else
52986 echo "$as_me: failed program was:" >&5
52987 sed 's/^/| /' conftest.$ac_ext >&5
52988
52989 -gt_cv_func_gettext_libintl=no
52990 + gt_cv_func_gettext_libintl=no
52991 fi
52992 -rm -f conftest.err conftest.$ac_objext \
52993 +
52994 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
52995 conftest$ac_exeext conftest.$ac_ext
52996 fi
52997 -echo "$as_me:$LINENO: result: $gt_cv_func_gettext_libintl" >&5
52998 -echo "${ECHO_T}$gt_cv_func_gettext_libintl" >&6
52999 +{ echo "$as_me:$LINENO: result: $gt_cv_func_gettext_libintl" >&5
53000 +echo "${ECHO_T}$gt_cv_func_gettext_libintl" >&6; }
53001 fi
53002
53003 fi
53004 @@ -8694,8 +9221,8 @@ _ACEOF
53005
53006 # Extract the first word of "msgfmt", so it can be a program name with args.
53007 set dummy msgfmt; ac_word=$2
53008 -echo "$as_me:$LINENO: checking for $ac_word" >&5
53009 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
53010 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
53011 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
53012 if test "${ac_cv_path_MSGFMT+set}" = set; then
53013 echo $ECHO_N "(cached) $ECHO_C" >&6
53014 else
53015 @@ -8721,20 +9248,20 @@ esac
53016 fi
53017 MSGFMT="$ac_cv_path_MSGFMT"
53018 if test -n "$MSGFMT"; then
53019 - echo "$as_me:$LINENO: result: $MSGFMT" >&5
53020 -echo "${ECHO_T}$MSGFMT" >&6
53021 + { echo "$as_me:$LINENO: result: $MSGFMT" >&5
53022 +echo "${ECHO_T}$MSGFMT" >&6; }
53023 else
53024 - echo "$as_me:$LINENO: result: no" >&5
53025 -echo "${ECHO_T}no" >&6
53026 + { echo "$as_me:$LINENO: result: no" >&5
53027 +echo "${ECHO_T}no" >&6; }
53028 fi
53029 if test "$MSGFMT" != "no"; then
53030
53031 for ac_func in dcgettext
53032 do
53033 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53034 -echo "$as_me:$LINENO: checking for $ac_func" >&5
53035 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53036 -if eval "test \"\${$as_ac_var+set}\" = set"; then
53037 +{ echo "$as_me:$LINENO: checking for $ac_func" >&5
53038 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
53039 +if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
53040 echo $ECHO_N "(cached) $ECHO_C" >&6
53041 else
53042 cat >conftest.$ac_ext <<_ACEOF
53043 @@ -8760,68 +9287,60 @@ cat >>conftest.$ac_ext <<_ACEOF
53044
53045 #undef $ac_func
53046
53047 -/* Override any gcc2 internal prototype to avoid an error. */
53048 +/* Override any GCC internal prototype to avoid an error.
53049 + Use char because int might match the return type of a GCC
53050 + builtin and then its argument prototype would still apply. */
53051 #ifdef __cplusplus
53052 extern "C"
53053 -{
53054 #endif
53055 -/* We use char because int might match the return type of a gcc2
53056 - builtin and then its argument prototype would still apply. */
53057 char $ac_func ();
53058 /* The GNU C library defines this for functions which it implements
53059 to always fail with ENOSYS. Some functions are actually named
53060 something starting with __ and the normal name is an alias. */
53061 -#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53062 +#if defined __stub_$ac_func || defined __stub___$ac_func
53063 choke me
53064 -#else
53065 -char (*f) () = $ac_func;
53066 -#endif
53067 -#ifdef __cplusplus
53068 -}
53069 #endif
53070
53071 int
53072 main ()
53073 {
53074 -return f != $ac_func;
53075 +return $ac_func ();
53076 ;
53077 return 0;
53078 }
53079 _ACEOF
53080 rm -f conftest.$ac_objext conftest$ac_exeext
53081 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53082 - (eval $ac_link) 2>conftest.er1
53083 +if { (ac_try="$ac_link"
53084 +case "(($ac_try" in
53085 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
53086 + *) ac_try_echo=$ac_try;;
53087 +esac
53088 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
53089 + (eval "$ac_link") 2>conftest.er1
53090 ac_status=$?
53091 grep -v '^ *+' conftest.er1 >conftest.err
53092 rm -f conftest.er1
53093 cat conftest.err >&5
53094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53095 - (exit $ac_status); } &&
53096 - { ac_try='test -z "$ac_c_werror_flag"
53097 - || test ! -s conftest.err'
53098 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53099 - (eval $ac_try) 2>&5
53100 - ac_status=$?
53101 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
53102 - (exit $ac_status); }; } &&
53103 - { ac_try='test -s conftest$ac_exeext'
53104 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53105 - (eval $ac_try) 2>&5
53106 - ac_status=$?
53107 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
53108 - (exit $ac_status); }; }; then
53109 + (exit $ac_status); } && {
53110 + test -z "$ac_c_werror_flag" ||
53111 + test ! -s conftest.err
53112 + } && test -s conftest$ac_exeext &&
53113 + $as_test_x conftest$ac_exeext; then
53114 eval "$as_ac_var=yes"
53115 else
53116 echo "$as_me: failed program was:" >&5
53117 sed 's/^/| /' conftest.$ac_ext >&5
53118
53119 -eval "$as_ac_var=no"
53120 + eval "$as_ac_var=no"
53121 fi
53122 -rm -f conftest.err conftest.$ac_objext \
53123 +
53124 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
53125 conftest$ac_exeext conftest.$ac_ext
53126 fi
53127 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53128 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53129 +ac_res=`eval echo '${'$as_ac_var'}'`
53130 + { echo "$as_me:$LINENO: result: $ac_res" >&5
53131 +echo "${ECHO_T}$ac_res" >&6; }
53132 if test `eval echo '${'$as_ac_var'}'` = yes; then
53133 cat >>confdefs.h <<_ACEOF
53134 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53135 @@ -8832,8 +9351,8 @@ done
53136
53137 # Extract the first word of "gmsgfmt", so it can be a program name with args.
53138 set dummy gmsgfmt; ac_word=$2
53139 -echo "$as_me:$LINENO: checking for $ac_word" >&5
53140 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
53141 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
53142 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
53143 if test "${ac_cv_path_GMSGFMT+set}" = set; then
53144 echo $ECHO_N "(cached) $ECHO_C" >&6
53145 else
53146 @@ -8848,32 +9367,33 @@ do
53147 IFS=$as_save_IFS
53148 test -z "$as_dir" && as_dir=.
53149 for ac_exec_ext in '' $ac_executable_extensions; do
53150 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
53151 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
53152 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
53153 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
53154 break 2
53155 fi
53156 done
53157 done
53158 +IFS=$as_save_IFS
53159
53160 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
53161 ;;
53162 esac
53163 fi
53164 GMSGFMT=$ac_cv_path_GMSGFMT
53165 -
53166 if test -n "$GMSGFMT"; then
53167 - echo "$as_me:$LINENO: result: $GMSGFMT" >&5
53168 -echo "${ECHO_T}$GMSGFMT" >&6
53169 + { echo "$as_me:$LINENO: result: $GMSGFMT" >&5
53170 +echo "${ECHO_T}$GMSGFMT" >&6; }
53171 else
53172 - echo "$as_me:$LINENO: result: no" >&5
53173 -echo "${ECHO_T}no" >&6
53174 + { echo "$as_me:$LINENO: result: no" >&5
53175 +echo "${ECHO_T}no" >&6; }
53176 fi
53177
53178 +
53179 # Extract the first word of "xgettext", so it can be a program name with args.
53180 set dummy xgettext; ac_word=$2
53181 -echo "$as_me:$LINENO: checking for $ac_word" >&5
53182 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
53183 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
53184 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
53185 if test "${ac_cv_path_XGETTEXT+set}" = set; then
53186 echo $ECHO_N "(cached) $ECHO_C" >&6
53187 else
53188 @@ -8899,11 +9419,11 @@ esac
53189 fi
53190 XGETTEXT="$ac_cv_path_XGETTEXT"
53191 if test -n "$XGETTEXT"; then
53192 - echo "$as_me:$LINENO: result: $XGETTEXT" >&5
53193 -echo "${ECHO_T}$XGETTEXT" >&6
53194 + { echo "$as_me:$LINENO: result: $XGETTEXT" >&5
53195 +echo "${ECHO_T}$XGETTEXT" >&6; }
53196 else
53197 - echo "$as_me:$LINENO: result: no" >&5
53198 -echo "${ECHO_T}no" >&6
53199 + { echo "$as_me:$LINENO: result: no" >&5
53200 +echo "${ECHO_T}no" >&6; }
53201 fi
53202
53203 cat >conftest.$ac_ext <<_ACEOF
53204 @@ -8923,37 +9443,34 @@ extern int _nl_msg_cat_cntr;
53205 }
53206 _ACEOF
53207 rm -f conftest.$ac_objext conftest$ac_exeext
53208 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53209 - (eval $ac_link) 2>conftest.er1
53210 +if { (ac_try="$ac_link"
53211 +case "(($ac_try" in
53212 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
53213 + *) ac_try_echo=$ac_try;;
53214 +esac
53215 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
53216 + (eval "$ac_link") 2>conftest.er1
53217 ac_status=$?
53218 grep -v '^ *+' conftest.er1 >conftest.err
53219 rm -f conftest.er1
53220 cat conftest.err >&5
53221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53222 - (exit $ac_status); } &&
53223 - { ac_try='test -z "$ac_c_werror_flag"
53224 - || test ! -s conftest.err'
53225 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53226 - (eval $ac_try) 2>&5
53227 - ac_status=$?
53228 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
53229 - (exit $ac_status); }; } &&
53230 - { ac_try='test -s conftest$ac_exeext'
53231 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53232 - (eval $ac_try) 2>&5
53233 - ac_status=$?
53234 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
53235 - (exit $ac_status); }; }; then
53236 + (exit $ac_status); } && {
53237 + test -z "$ac_c_werror_flag" ||
53238 + test ! -s conftest.err
53239 + } && test -s conftest$ac_exeext &&
53240 + $as_test_x conftest$ac_exeext; then
53241 CATOBJEXT=.gmo
53242 DATADIRNAME=share
53243 else
53244 echo "$as_me: failed program was:" >&5
53245 sed 's/^/| /' conftest.$ac_ext >&5
53246
53247 -CATOBJEXT=.mo
53248 + CATOBJEXT=.mo
53249 DATADIRNAME=lib
53250 fi
53251 -rm -f conftest.err conftest.$ac_objext \
53252 +
53253 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
53254 conftest$ac_exeext conftest.$ac_ext
53255 INSTOBJEXT=.mo
53256 fi
53257 @@ -8975,8 +9492,8 @@ fi
53258 INTLOBJS="\$(GETTOBJS)"
53259 # Extract the first word of "msgfmt", so it can be a program name with args.
53260 set dummy msgfmt; ac_word=$2
53261 -echo "$as_me:$LINENO: checking for $ac_word" >&5
53262 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
53263 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
53264 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
53265 if test "${ac_cv_path_MSGFMT+set}" = set; then
53266 echo $ECHO_N "(cached) $ECHO_C" >&6
53267 else
53268 @@ -9002,17 +9519,17 @@ esac
53269 fi
53270 MSGFMT="$ac_cv_path_MSGFMT"
53271 if test -n "$MSGFMT"; then
53272 - echo "$as_me:$LINENO: result: $MSGFMT" >&5
53273 -echo "${ECHO_T}$MSGFMT" >&6
53274 + { echo "$as_me:$LINENO: result: $MSGFMT" >&5
53275 +echo "${ECHO_T}$MSGFMT" >&6; }
53276 else
53277 - echo "$as_me:$LINENO: result: no" >&5
53278 -echo "${ECHO_T}no" >&6
53279 + { echo "$as_me:$LINENO: result: no" >&5
53280 +echo "${ECHO_T}no" >&6; }
53281 fi
53282
53283 # Extract the first word of "gmsgfmt", so it can be a program name with args.
53284 set dummy gmsgfmt; ac_word=$2
53285 -echo "$as_me:$LINENO: checking for $ac_word" >&5
53286 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
53287 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
53288 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
53289 if test "${ac_cv_path_GMSGFMT+set}" = set; then
53290 echo $ECHO_N "(cached) $ECHO_C" >&6
53291 else
53292 @@ -9027,32 +9544,33 @@ do
53293 IFS=$as_save_IFS
53294 test -z "$as_dir" && as_dir=.
53295 for ac_exec_ext in '' $ac_executable_extensions; do
53296 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
53297 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
53298 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
53299 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
53300 break 2
53301 fi
53302 done
53303 done
53304 +IFS=$as_save_IFS
53305
53306 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
53307 ;;
53308 esac
53309 fi
53310 GMSGFMT=$ac_cv_path_GMSGFMT
53311 -
53312 if test -n "$GMSGFMT"; then
53313 - echo "$as_me:$LINENO: result: $GMSGFMT" >&5
53314 -echo "${ECHO_T}$GMSGFMT" >&6
53315 + { echo "$as_me:$LINENO: result: $GMSGFMT" >&5
53316 +echo "${ECHO_T}$GMSGFMT" >&6; }
53317 else
53318 - echo "$as_me:$LINENO: result: no" >&5
53319 -echo "${ECHO_T}no" >&6
53320 + { echo "$as_me:$LINENO: result: no" >&5
53321 +echo "${ECHO_T}no" >&6; }
53322 fi
53323
53324 +
53325 # Extract the first word of "xgettext", so it can be a program name with args.
53326 set dummy xgettext; ac_word=$2
53327 -echo "$as_me:$LINENO: checking for $ac_word" >&5
53328 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
53329 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
53330 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
53331 if test "${ac_cv_path_XGETTEXT+set}" = set; then
53332 echo $ECHO_N "(cached) $ECHO_C" >&6
53333 else
53334 @@ -9078,11 +9596,11 @@ esac
53335 fi
53336 XGETTEXT="$ac_cv_path_XGETTEXT"
53337 if test -n "$XGETTEXT"; then
53338 - echo "$as_me:$LINENO: result: $XGETTEXT" >&5
53339 -echo "${ECHO_T}$XGETTEXT" >&6
53340 + { echo "$as_me:$LINENO: result: $XGETTEXT" >&5
53341 +echo "${ECHO_T}$XGETTEXT" >&6; }
53342 else
53343 - echo "$as_me:$LINENO: result: no" >&5
53344 -echo "${ECHO_T}no" >&6
53345 + { echo "$as_me:$LINENO: result: no" >&5
53346 +echo "${ECHO_T}no" >&6; }
53347 fi
53348
53349
53350 @@ -9101,8 +9619,8 @@ fi
53351 if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
53352 : ;
53353 else
53354 - echo "$as_me:$LINENO: result: found xgettext programs is not GNU xgettext; ignore it" >&5
53355 -echo "${ECHO_T}found xgettext programs is not GNU xgettext; ignore it" >&6
53356 + { echo "$as_me:$LINENO: result: found xgettext programs is not GNU xgettext; ignore it" >&5
53357 +echo "${ECHO_T}found xgettext programs is not GNU xgettext; ignore it" >&6; }
53358 XGETTEXT=":"
53359 fi
53360 fi
53361 @@ -9151,8 +9669,8 @@ _ACEOF
53362 if test "x$ALL_LINGUAS" = "x"; then
53363 LINGUAS=
53364 else
53365 - echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
53366 -echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6
53367 + { echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
53368 +echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6; }
53369 NEW_LINGUAS=
53370 for lang in ${LINGUAS=$ALL_LINGUAS}; do
53371 case "$ALL_LINGUAS" in
53372 @@ -9160,8 +9678,8 @@ echo $ECHO_N "checking for catalogs to b
53373 esac
53374 done
53375 LINGUAS=$NEW_LINGUAS
53376 - echo "$as_me:$LINENO: result: $LINGUAS" >&5
53377 -echo "${ECHO_T}$LINGUAS" >&6
53378 + { echo "$as_me:$LINENO: result: $LINGUAS" >&5
53379 +echo "${ECHO_T}$LINGUAS" >&6; }
53380 fi
53381
53382 if test -n "$LINGUAS"; then
53383 @@ -9180,17 +9698,17 @@ echo "${ECHO_T}$LINGUAS" >&6
53384 if test -f $srcdir/po2tbl.sed.in; then
53385 if test "$CATOBJEXT" = ".cat"; then
53386 if test "${ac_cv_header_linux_version_h+set}" = set; then
53387 - echo "$as_me:$LINENO: checking for linux/version.h" >&5
53388 -echo $ECHO_N "checking for linux/version.h... $ECHO_C" >&6
53389 + { echo "$as_me:$LINENO: checking for linux/version.h" >&5
53390 +echo $ECHO_N "checking for linux/version.h... $ECHO_C" >&6; }
53391 if test "${ac_cv_header_linux_version_h+set}" = set; then
53392 echo $ECHO_N "(cached) $ECHO_C" >&6
53393 fi
53394 -echo "$as_me:$LINENO: result: $ac_cv_header_linux_version_h" >&5
53395 -echo "${ECHO_T}$ac_cv_header_linux_version_h" >&6
53396 +{ echo "$as_me:$LINENO: result: $ac_cv_header_linux_version_h" >&5
53397 +echo "${ECHO_T}$ac_cv_header_linux_version_h" >&6; }
53398 else
53399 # Is the header compilable?
53400 -echo "$as_me:$LINENO: checking linux/version.h usability" >&5
53401 -echo $ECHO_N "checking linux/version.h usability... $ECHO_C" >&6
53402 +{ echo "$as_me:$LINENO: checking linux/version.h usability" >&5
53403 +echo $ECHO_N "checking linux/version.h usability... $ECHO_C" >&6; }
53404 cat >conftest.$ac_ext <<_ACEOF
53405 /* confdefs.h. */
53406 _ACEOF
53407 @@ -9201,41 +9719,37 @@ $ac_includes_default
53408 #include <linux/version.h>
53409 _ACEOF
53410 rm -f conftest.$ac_objext
53411 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53412 - (eval $ac_compile) 2>conftest.er1
53413 +if { (ac_try="$ac_compile"
53414 +case "(($ac_try" in
53415 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
53416 + *) ac_try_echo=$ac_try;;
53417 +esac
53418 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
53419 + (eval "$ac_compile") 2>conftest.er1
53420 ac_status=$?
53421 grep -v '^ *+' conftest.er1 >conftest.err
53422 rm -f conftest.er1
53423 cat conftest.err >&5
53424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53425 - (exit $ac_status); } &&
53426 - { ac_try='test -z "$ac_c_werror_flag"
53427 - || test ! -s conftest.err'
53428 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53429 - (eval $ac_try) 2>&5
53430 - ac_status=$?
53431 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
53432 - (exit $ac_status); }; } &&
53433 - { ac_try='test -s conftest.$ac_objext'
53434 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53435 - (eval $ac_try) 2>&5
53436 - ac_status=$?
53437 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
53438 - (exit $ac_status); }; }; then
53439 + (exit $ac_status); } && {
53440 + test -z "$ac_c_werror_flag" ||
53441 + test ! -s conftest.err
53442 + } && test -s conftest.$ac_objext; then
53443 ac_header_compiler=yes
53444 else
53445 echo "$as_me: failed program was:" >&5
53446 sed 's/^/| /' conftest.$ac_ext >&5
53447
53448 -ac_header_compiler=no
53449 + ac_header_compiler=no
53450 fi
53451 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53452 -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
53453 -echo "${ECHO_T}$ac_header_compiler" >&6
53454 +
53455 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53456 +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
53457 +echo "${ECHO_T}$ac_header_compiler" >&6; }
53458
53459 # Is the header present?
53460 -echo "$as_me:$LINENO: checking linux/version.h presence" >&5
53461 -echo $ECHO_N "checking linux/version.h presence... $ECHO_C" >&6
53462 +{ echo "$as_me:$LINENO: checking linux/version.h presence" >&5
53463 +echo $ECHO_N "checking linux/version.h presence... $ECHO_C" >&6; }
53464 cat >conftest.$ac_ext <<_ACEOF
53465 /* confdefs.h. */
53466 _ACEOF
53467 @@ -9244,24 +9758,22 @@ cat >>conftest.$ac_ext <<_ACEOF
53468 /* end confdefs.h. */
53469 #include <linux/version.h>
53470 _ACEOF
53471 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
53472 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
53473 +if { (ac_try="$ac_cpp conftest.$ac_ext"
53474 +case "(($ac_try" in
53475 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
53476 + *) ac_try_echo=$ac_try;;
53477 +esac
53478 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
53479 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
53480 ac_status=$?
53481 grep -v '^ *+' conftest.er1 >conftest.err
53482 rm -f conftest.er1
53483 cat conftest.err >&5
53484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53485 - (exit $ac_status); } >/dev/null; then
53486 - if test -s conftest.err; then
53487 - ac_cpp_err=$ac_c_preproc_warn_flag
53488 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
53489 - else
53490 - ac_cpp_err=
53491 - fi
53492 -else
53493 - ac_cpp_err=yes
53494 -fi
53495 -if test -z "$ac_cpp_err"; then
53496 + (exit $ac_status); } >/dev/null && {
53497 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
53498 + test ! -s conftest.err
53499 + }; then
53500 ac_header_preproc=yes
53501 else
53502 echo "$as_me: failed program was:" >&5
53503 @@ -9269,9 +9781,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
53504
53505 ac_header_preproc=no
53506 fi
53507 +
53508 rm -f conftest.err conftest.$ac_ext
53509 -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
53510 -echo "${ECHO_T}$ac_header_preproc" >&6
53511 +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
53512 +echo "${ECHO_T}$ac_header_preproc" >&6; }
53513
53514 # So? What about this header?
53515 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
53516 @@ -9295,25 +9808,18 @@ echo "$as_me: WARNING: linux/version.h:
53517 echo "$as_me: WARNING: linux/version.h: proceeding with the preprocessor's result" >&2;}
53518 { echo "$as_me:$LINENO: WARNING: linux/version.h: in the future, the compiler will take precedence" >&5
53519 echo "$as_me: WARNING: linux/version.h: in the future, the compiler will take precedence" >&2;}
53520 - (
53521 - cat <<\_ASBOX
53522 -## ------------------------------------------ ##
53523 -## Report this to the AC_PACKAGE_NAME lists. ##
53524 -## ------------------------------------------ ##
53525 -_ASBOX
53526 - ) |
53527 - sed "s/^/$as_me: WARNING: /" >&2
53528 +
53529 ;;
53530 esac
53531 -echo "$as_me:$LINENO: checking for linux/version.h" >&5
53532 -echo $ECHO_N "checking for linux/version.h... $ECHO_C" >&6
53533 +{ echo "$as_me:$LINENO: checking for linux/version.h" >&5
53534 +echo $ECHO_N "checking for linux/version.h... $ECHO_C" >&6; }
53535 if test "${ac_cv_header_linux_version_h+set}" = set; then
53536 echo $ECHO_N "(cached) $ECHO_C" >&6
53537 else
53538 ac_cv_header_linux_version_h=$ac_header_preproc
53539 fi
53540 -echo "$as_me:$LINENO: result: $ac_cv_header_linux_version_h" >&5
53541 -echo "${ECHO_T}$ac_cv_header_linux_version_h" >&6
53542 +{ echo "$as_me:$LINENO: result: $ac_cv_header_linux_version_h" >&5
53543 +echo "${ECHO_T}$ac_cv_header_linux_version_h" >&6; }
53544
53545 fi
53546 if test $ac_cv_header_linux_version_h = yes; then
53547 @@ -9363,17 +9869,17 @@ fi
53548 fi
53549
53550
53551 -echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
53552 -echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
53553 - # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
53554 +{ echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
53555 +echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
53556 + # Check whether --enable-maintainer-mode was given.
53557 if test "${enable_maintainer_mode+set}" = set; then
53558 - enableval="$enable_maintainer_mode"
53559 - USE_MAINTAINER_MODE=$enableval
53560 + enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
53561 else
53562 USE_MAINTAINER_MODE=no
53563 -fi;
53564 - echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
53565 -echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
53566 +fi
53567 +
53568 + { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
53569 +echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
53570
53571
53572 if test $USE_MAINTAINER_MODE = yes; then
53573 @@ -9401,18 +9907,19 @@ fi
53574 for ac_header in string.h stdlib.h memory.h strings.h unistd.h stdarg.h varargs.h errno.h sys/types.h
53575 do
53576 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
53577 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
53578 - echo "$as_me:$LINENO: checking for $ac_header" >&5
53579 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
53580 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
53581 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
53582 + { echo "$as_me:$LINENO: checking for $ac_header" >&5
53583 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
53584 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
53585 echo $ECHO_N "(cached) $ECHO_C" >&6
53586 fi
53587 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
53588 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
53589 +ac_res=`eval echo '${'$as_ac_Header'}'`
53590 + { echo "$as_me:$LINENO: result: $ac_res" >&5
53591 +echo "${ECHO_T}$ac_res" >&6; }
53592 else
53593 # Is the header compilable?
53594 -echo "$as_me:$LINENO: checking $ac_header usability" >&5
53595 -echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
53596 +{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
53597 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
53598 cat >conftest.$ac_ext <<_ACEOF
53599 /* confdefs.h. */
53600 _ACEOF
53601 @@ -9423,41 +9930,37 @@ $ac_includes_default
53602 #include <$ac_header>
53603 _ACEOF
53604 rm -f conftest.$ac_objext
53605 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53606 - (eval $ac_compile) 2>conftest.er1
53607 +if { (ac_try="$ac_compile"
53608 +case "(($ac_try" in
53609 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
53610 + *) ac_try_echo=$ac_try;;
53611 +esac
53612 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
53613 + (eval "$ac_compile") 2>conftest.er1
53614 ac_status=$?
53615 grep -v '^ *+' conftest.er1 >conftest.err
53616 rm -f conftest.er1
53617 cat conftest.err >&5
53618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53619 - (exit $ac_status); } &&
53620 - { ac_try='test -z "$ac_c_werror_flag"
53621 - || test ! -s conftest.err'
53622 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53623 - (eval $ac_try) 2>&5
53624 - ac_status=$?
53625 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
53626 - (exit $ac_status); }; } &&
53627 - { ac_try='test -s conftest.$ac_objext'
53628 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53629 - (eval $ac_try) 2>&5
53630 - ac_status=$?
53631 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
53632 - (exit $ac_status); }; }; then
53633 + (exit $ac_status); } && {
53634 + test -z "$ac_c_werror_flag" ||
53635 + test ! -s conftest.err
53636 + } && test -s conftest.$ac_objext; then
53637 ac_header_compiler=yes
53638 else
53639 echo "$as_me: failed program was:" >&5
53640 sed 's/^/| /' conftest.$ac_ext >&5
53641
53642 -ac_header_compiler=no
53643 + ac_header_compiler=no
53644 fi
53645 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53646 -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
53647 -echo "${ECHO_T}$ac_header_compiler" >&6
53648 +
53649 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53650 +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
53651 +echo "${ECHO_T}$ac_header_compiler" >&6; }
53652
53653 # Is the header present?
53654 -echo "$as_me:$LINENO: checking $ac_header presence" >&5
53655 -echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
53656 +{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
53657 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
53658 cat >conftest.$ac_ext <<_ACEOF
53659 /* confdefs.h. */
53660 _ACEOF
53661 @@ -9466,24 +9969,22 @@ cat >>conftest.$ac_ext <<_ACEOF
53662 /* end confdefs.h. */
53663 #include <$ac_header>
53664 _ACEOF
53665 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
53666 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
53667 +if { (ac_try="$ac_cpp conftest.$ac_ext"
53668 +case "(($ac_try" in
53669 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
53670 + *) ac_try_echo=$ac_try;;
53671 +esac
53672 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
53673 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
53674 ac_status=$?
53675 grep -v '^ *+' conftest.er1 >conftest.err
53676 rm -f conftest.er1
53677 cat conftest.err >&5
53678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53679 - (exit $ac_status); } >/dev/null; then
53680 - if test -s conftest.err; then
53681 - ac_cpp_err=$ac_c_preproc_warn_flag
53682 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
53683 - else
53684 - ac_cpp_err=
53685 - fi
53686 -else
53687 - ac_cpp_err=yes
53688 -fi
53689 -if test -z "$ac_cpp_err"; then
53690 + (exit $ac_status); } >/dev/null && {
53691 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
53692 + test ! -s conftest.err
53693 + }; then
53694 ac_header_preproc=yes
53695 else
53696 echo "$as_me: failed program was:" >&5
53697 @@ -9491,9 +9992,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
53698
53699 ac_header_preproc=no
53700 fi
53701 +
53702 rm -f conftest.err conftest.$ac_ext
53703 -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
53704 -echo "${ECHO_T}$ac_header_preproc" >&6
53705 +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
53706 +echo "${ECHO_T}$ac_header_preproc" >&6; }
53707
53708 # So? What about this header?
53709 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
53710 @@ -9517,25 +10019,19 @@ echo "$as_me: WARNING: $ac_header: s
53711 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
53712 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
53713 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
53714 - (
53715 - cat <<\_ASBOX
53716 -## ------------------------------------------ ##
53717 -## Report this to the AC_PACKAGE_NAME lists. ##
53718 -## ------------------------------------------ ##
53719 -_ASBOX
53720 - ) |
53721 - sed "s/^/$as_me: WARNING: /" >&2
53722 +
53723 ;;
53724 esac
53725 -echo "$as_me:$LINENO: checking for $ac_header" >&5
53726 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
53727 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
53728 +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
53729 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
53730 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
53731 echo $ECHO_N "(cached) $ECHO_C" >&6
53732 else
53733 eval "$as_ac_Header=\$ac_header_preproc"
53734 fi
53735 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
53736 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
53737 +ac_res=`eval echo '${'$as_ac_Header'}'`
53738 + { echo "$as_me:$LINENO: result: $ac_res" >&5
53739 +echo "${ECHO_T}$ac_res" >&6; }
53740
53741 fi
53742 if test `eval echo '${'$as_ac_Header'}'` = yes; then
53743 @@ -9550,8 +10046,8 @@ done
53744
53745 # Put this here so that autoconf's "cross-compiling" message doesn't confuse
53746 # people who are not cross-compiling but are compiling cross-assemblers.
53747 -echo "$as_me:$LINENO: checking whether compiling a cross-assembler" >&5
53748 -echo $ECHO_N "checking whether compiling a cross-assembler... $ECHO_C" >&6
53749 +{ echo "$as_me:$LINENO: checking whether compiling a cross-assembler" >&5
53750 +echo $ECHO_N "checking whether compiling a cross-assembler... $ECHO_C" >&6; }
53751 if test "${host}" = "${target}"; then
53752 cross_gas=no
53753 else
53754 @@ -9562,13 +10058,13 @@ cat >>confdefs.h <<\_ACEOF
53755 _ACEOF
53756
53757 fi
53758 -echo "$as_me:$LINENO: result: $cross_gas" >&5
53759 -echo "${ECHO_T}$cross_gas" >&6
53760 +{ echo "$as_me:$LINENO: result: $cross_gas" >&5
53761 +echo "${ECHO_T}$cross_gas" >&6; }
53762
53763 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
53764 # for constant arguments. Useless!
53765 -echo "$as_me:$LINENO: checking for working alloca.h" >&5
53766 -echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
53767 +{ echo "$as_me:$LINENO: checking for working alloca.h" >&5
53768 +echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6; }
53769 if test "${ac_cv_working_alloca_h+set}" = set; then
53770 echo $ECHO_N "(cached) $ECHO_C" >&6
53771 else
53772 @@ -9583,44 +10079,42 @@ int
53773 main ()
53774 {
53775 char *p = (char *) alloca (2 * sizeof (int));
53776 + if (p) return 0;
53777 ;
53778 return 0;
53779 }
53780 _ACEOF
53781 rm -f conftest.$ac_objext conftest$ac_exeext
53782 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53783 - (eval $ac_link) 2>conftest.er1
53784 +if { (ac_try="$ac_link"
53785 +case "(($ac_try" in
53786 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
53787 + *) ac_try_echo=$ac_try;;
53788 +esac
53789 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
53790 + (eval "$ac_link") 2>conftest.er1
53791 ac_status=$?
53792 grep -v '^ *+' conftest.er1 >conftest.err
53793 rm -f conftest.er1
53794 cat conftest.err >&5
53795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53796 - (exit $ac_status); } &&
53797 - { ac_try='test -z "$ac_c_werror_flag"
53798 - || test ! -s conftest.err'
53799 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53800 - (eval $ac_try) 2>&5
53801 - ac_status=$?
53802 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
53803 - (exit $ac_status); }; } &&
53804 - { ac_try='test -s conftest$ac_exeext'
53805 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53806 - (eval $ac_try) 2>&5
53807 - ac_status=$?
53808 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
53809 - (exit $ac_status); }; }; then
53810 + (exit $ac_status); } && {
53811 + test -z "$ac_c_werror_flag" ||
53812 + test ! -s conftest.err
53813 + } && test -s conftest$ac_exeext &&
53814 + $as_test_x conftest$ac_exeext; then
53815 ac_cv_working_alloca_h=yes
53816 else
53817 echo "$as_me: failed program was:" >&5
53818 sed 's/^/| /' conftest.$ac_ext >&5
53819
53820 -ac_cv_working_alloca_h=no
53821 + ac_cv_working_alloca_h=no
53822 fi
53823 -rm -f conftest.err conftest.$ac_objext \
53824 +
53825 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
53826 conftest$ac_exeext conftest.$ac_ext
53827 fi
53828 -echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
53829 -echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
53830 +{ echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
53831 +echo "${ECHO_T}$ac_cv_working_alloca_h" >&6; }
53832 if test $ac_cv_working_alloca_h = yes; then
53833
53834 cat >>confdefs.h <<\_ACEOF
53835 @@ -9629,8 +10123,8 @@ _ACEOF
53836
53837 fi
53838
53839 -echo "$as_me:$LINENO: checking for alloca" >&5
53840 -echo $ECHO_N "checking for alloca... $ECHO_C" >&6
53841 +{ echo "$as_me:$LINENO: checking for alloca" >&5
53842 +echo $ECHO_N "checking for alloca... $ECHO_C" >&6; }
53843 if test "${ac_cv_func_alloca_works+set}" = set; then
53844 echo $ECHO_N "(cached) $ECHO_C" >&6
53845 else
53846 @@ -9647,7 +10141,7 @@ cat >>conftest.$ac_ext <<_ACEOF
53847 # include <malloc.h>
53848 # define alloca _alloca
53849 # else
53850 -# if HAVE_ALLOCA_H
53851 +# ifdef HAVE_ALLOCA_H
53852 # include <alloca.h>
53853 # else
53854 # ifdef _AIX
53855 @@ -9665,44 +10159,42 @@ int
53856 main ()
53857 {
53858 char *p = (char *) alloca (1);
53859 + if (p) return 0;
53860 ;
53861 return 0;
53862 }
53863 _ACEOF
53864 rm -f conftest.$ac_objext conftest$ac_exeext
53865 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53866 - (eval $ac_link) 2>conftest.er1
53867 +if { (ac_try="$ac_link"
53868 +case "(($ac_try" in
53869 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
53870 + *) ac_try_echo=$ac_try;;
53871 +esac
53872 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
53873 + (eval "$ac_link") 2>conftest.er1
53874 ac_status=$?
53875 grep -v '^ *+' conftest.er1 >conftest.err
53876 rm -f conftest.er1
53877 cat conftest.err >&5
53878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53879 - (exit $ac_status); } &&
53880 - { ac_try='test -z "$ac_c_werror_flag"
53881 - || test ! -s conftest.err'
53882 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53883 - (eval $ac_try) 2>&5
53884 - ac_status=$?
53885 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
53886 - (exit $ac_status); }; } &&
53887 - { ac_try='test -s conftest$ac_exeext'
53888 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53889 - (eval $ac_try) 2>&5
53890 - ac_status=$?
53891 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
53892 - (exit $ac_status); }; }; then
53893 + (exit $ac_status); } && {
53894 + test -z "$ac_c_werror_flag" ||
53895 + test ! -s conftest.err
53896 + } && test -s conftest$ac_exeext &&
53897 + $as_test_x conftest$ac_exeext; then
53898 ac_cv_func_alloca_works=yes
53899 else
53900 echo "$as_me: failed program was:" >&5
53901 sed 's/^/| /' conftest.$ac_ext >&5
53902
53903 -ac_cv_func_alloca_works=no
53904 + ac_cv_func_alloca_works=no
53905 fi
53906 -rm -f conftest.err conftest.$ac_objext \
53907 +
53908 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
53909 conftest$ac_exeext conftest.$ac_ext
53910 fi
53911 -echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
53912 -echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
53913 +{ echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
53914 +echo "${ECHO_T}$ac_cv_func_alloca_works" >&6; }
53915
53916 if test $ac_cv_func_alloca_works = yes; then
53917
53918 @@ -9716,15 +10208,15 @@ else
53919 # contain a buggy version. If you still want to use their alloca,
53920 # use ar to extract alloca.o from them instead of compiling alloca.c.
53921
53922 -ALLOCA=alloca.$ac_objext
53923 +ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
53924
53925 cat >>confdefs.h <<\_ACEOF
53926 #define C_ALLOCA 1
53927 _ACEOF
53928
53929
53930 -echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
53931 -echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
53932 +{ echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
53933 +echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6; }
53934 if test "${ac_cv_os_cray+set}" = set; then
53935 echo $ECHO_N "(cached) $ECHO_C" >&6
53936 else
53937 @@ -9734,7 +10226,7 @@ _ACEOF
53938 cat confdefs.h >>conftest.$ac_ext
53939 cat >>conftest.$ac_ext <<_ACEOF
53940 /* end confdefs.h. */
53941 -#if defined(CRAY) && ! defined(CRAY2)
53942 +#if defined CRAY && ! defined CRAY2
53943 webecray
53944 #else
53945 wenotbecray
53946 @@ -9750,14 +10242,14 @@ fi
53947 rm -f conftest*
53948
53949 fi
53950 -echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
53951 -echo "${ECHO_T}$ac_cv_os_cray" >&6
53952 +{ echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
53953 +echo "${ECHO_T}$ac_cv_os_cray" >&6; }
53954 if test $ac_cv_os_cray = yes; then
53955 for ac_func in _getb67 GETB67 getb67; do
53956 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53957 -echo "$as_me:$LINENO: checking for $ac_func" >&5
53958 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53959 -if eval "test \"\${$as_ac_var+set}\" = set"; then
53960 +{ echo "$as_me:$LINENO: checking for $ac_func" >&5
53961 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
53962 +if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
53963 echo $ECHO_N "(cached) $ECHO_C" >&6
53964 else
53965 cat >conftest.$ac_ext <<_ACEOF
53966 @@ -9783,68 +10275,60 @@ cat >>conftest.$ac_ext <<_ACEOF
53967
53968 #undef $ac_func
53969
53970 -/* Override any gcc2 internal prototype to avoid an error. */
53971 +/* Override any GCC internal prototype to avoid an error.
53972 + Use char because int might match the return type of a GCC
53973 + builtin and then its argument prototype would still apply. */
53974 #ifdef __cplusplus
53975 extern "C"
53976 -{
53977 #endif
53978 -/* We use char because int might match the return type of a gcc2
53979 - builtin and then its argument prototype would still apply. */
53980 char $ac_func ();
53981 /* The GNU C library defines this for functions which it implements
53982 to always fail with ENOSYS. Some functions are actually named
53983 something starting with __ and the normal name is an alias. */
53984 -#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53985 +#if defined __stub_$ac_func || defined __stub___$ac_func
53986 choke me
53987 -#else
53988 -char (*f) () = $ac_func;
53989 -#endif
53990 -#ifdef __cplusplus
53991 -}
53992 #endif
53993
53994 int
53995 main ()
53996 {
53997 -return f != $ac_func;
53998 +return $ac_func ();
53999 ;
54000 return 0;
54001 }
54002 _ACEOF
54003 rm -f conftest.$ac_objext conftest$ac_exeext
54004 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54005 - (eval $ac_link) 2>conftest.er1
54006 +if { (ac_try="$ac_link"
54007 +case "(($ac_try" in
54008 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
54009 + *) ac_try_echo=$ac_try;;
54010 +esac
54011 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
54012 + (eval "$ac_link") 2>conftest.er1
54013 ac_status=$?
54014 grep -v '^ *+' conftest.er1 >conftest.err
54015 rm -f conftest.er1
54016 cat conftest.err >&5
54017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54018 - (exit $ac_status); } &&
54019 - { ac_try='test -z "$ac_c_werror_flag"
54020 - || test ! -s conftest.err'
54021 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54022 - (eval $ac_try) 2>&5
54023 - ac_status=$?
54024 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
54025 - (exit $ac_status); }; } &&
54026 - { ac_try='test -s conftest$ac_exeext'
54027 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54028 - (eval $ac_try) 2>&5
54029 - ac_status=$?
54030 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
54031 - (exit $ac_status); }; }; then
54032 + (exit $ac_status); } && {
54033 + test -z "$ac_c_werror_flag" ||
54034 + test ! -s conftest.err
54035 + } && test -s conftest$ac_exeext &&
54036 + $as_test_x conftest$ac_exeext; then
54037 eval "$as_ac_var=yes"
54038 else
54039 echo "$as_me: failed program was:" >&5
54040 sed 's/^/| /' conftest.$ac_ext >&5
54041
54042 -eval "$as_ac_var=no"
54043 + eval "$as_ac_var=no"
54044 fi
54045 -rm -f conftest.err conftest.$ac_objext \
54046 +
54047 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
54048 conftest$ac_exeext conftest.$ac_ext
54049 fi
54050 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54051 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54052 +ac_res=`eval echo '${'$as_ac_var'}'`
54053 + { echo "$as_me:$LINENO: result: $ac_res" >&5
54054 +echo "${ECHO_T}$ac_res" >&6; }
54055 if test `eval echo '${'$as_ac_var'}'` = yes; then
54056
54057 cat >>confdefs.h <<_ACEOF
54058 @@ -9857,8 +10341,8 @@ fi
54059 done
54060 fi
54061
54062 -echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
54063 -echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
54064 +{ echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
54065 +echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6; }
54066 if test "${ac_cv_c_stack_direction+set}" = set; then
54067 echo $ECHO_N "(cached) $ECHO_C" >&6
54068 else
54069 @@ -9871,6 +10355,7 @@ _ACEOF
54070 cat confdefs.h >>conftest.$ac_ext
54071 cat >>conftest.$ac_ext <<_ACEOF
54072 /* end confdefs.h. */
54073 +$ac_includes_default
54074 int
54075 find_stack_direction ()
54076 {
54077 @@ -9888,17 +10373,26 @@ find_stack_direction ()
54078 int
54079 main ()
54080 {
54081 - exit (find_stack_direction () < 0);
54082 + return find_stack_direction () < 0;
54083 }
54084 _ACEOF
54085 rm -f conftest$ac_exeext
54086 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54087 - (eval $ac_link) 2>&5
54088 +if { (ac_try="$ac_link"
54089 +case "(($ac_try" in
54090 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
54091 + *) ac_try_echo=$ac_try;;
54092 +esac
54093 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
54094 + (eval "$ac_link") 2>&5
54095 ac_status=$?
54096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54097 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
54098 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54099 - (eval $ac_try) 2>&5
54100 + { (case "(($ac_try" in
54101 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
54102 + *) ac_try_echo=$ac_try;;
54103 +esac
54104 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
54105 + (eval "$ac_try") 2>&5
54106 ac_status=$?
54107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54108 (exit $ac_status); }; }; then
54109 @@ -9911,11 +10405,13 @@ sed 's/^/| /' conftest.$ac_ext >&5
54110 ( exit $ac_status )
54111 ac_cv_c_stack_direction=-1
54112 fi
54113 -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
54114 +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
54115 fi
54116 +
54117 +
54118 fi
54119 -echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
54120 -echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
54121 +{ echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
54122 +echo "${ECHO_T}$ac_cv_c_stack_direction" >&6; }
54123
54124 cat >>confdefs.h <<_ACEOF
54125 #define STACK_DIRECTION $ac_cv_c_stack_direction
54126 @@ -9924,8 +10420,8 @@ _ACEOF
54127
54128 fi
54129
54130 -echo "$as_me:$LINENO: checking for inline" >&5
54131 -echo $ECHO_N "checking for inline... $ECHO_C" >&6
54132 +{ echo "$as_me:$LINENO: checking for inline" >&5
54133 +echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
54134 if test "${ac_cv_c_inline+set}" = set; then
54135 echo $ECHO_N "(cached) $ECHO_C" >&6
54136 else
54137 @@ -9945,39 +10441,37 @@ $ac_kw foo_t foo () {return 0; }
54138
54139 _ACEOF
54140 rm -f conftest.$ac_objext
54141 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54142 - (eval $ac_compile) 2>conftest.er1
54143 +if { (ac_try="$ac_compile"
54144 +case "(($ac_try" in
54145 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
54146 + *) ac_try_echo=$ac_try;;
54147 +esac
54148 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
54149 + (eval "$ac_compile") 2>conftest.er1
54150 ac_status=$?
54151 grep -v '^ *+' conftest.er1 >conftest.err
54152 rm -f conftest.er1
54153 cat conftest.err >&5
54154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54155 - (exit $ac_status); } &&
54156 - { ac_try='test -z "$ac_c_werror_flag"
54157 - || test ! -s conftest.err'
54158 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54159 - (eval $ac_try) 2>&5
54160 - ac_status=$?
54161 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
54162 - (exit $ac_status); }; } &&
54163 - { ac_try='test -s conftest.$ac_objext'
54164 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54165 - (eval $ac_try) 2>&5
54166 - ac_status=$?
54167 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
54168 - (exit $ac_status); }; }; then
54169 - ac_cv_c_inline=$ac_kw; break
54170 + (exit $ac_status); } && {
54171 + test -z "$ac_c_werror_flag" ||
54172 + test ! -s conftest.err
54173 + } && test -s conftest.$ac_objext; then
54174 + ac_cv_c_inline=$ac_kw
54175 else
54176 echo "$as_me: failed program was:" >&5
54177 sed 's/^/| /' conftest.$ac_ext >&5
54178
54179 +
54180 fi
54181 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54182 +
54183 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54184 + test "$ac_cv_c_inline" != no && break
54185 done
54186
54187 fi
54188 -echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
54189 -echo "${ECHO_T}$ac_cv_c_inline" >&6
54190 +{ echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
54191 +echo "${ECHO_T}$ac_cv_c_inline" >&6; }
54192
54193
54194 case $ac_cv_c_inline in
54195 @@ -10002,9 +10496,9 @@ esac
54196 for ac_func in unlink remove
54197 do
54198 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54199 -echo "$as_me:$LINENO: checking for $ac_func" >&5
54200 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54201 -if eval "test \"\${$as_ac_var+set}\" = set"; then
54202 +{ echo "$as_me:$LINENO: checking for $ac_func" >&5
54203 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
54204 +if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
54205 echo $ECHO_N "(cached) $ECHO_C" >&6
54206 else
54207 cat >conftest.$ac_ext <<_ACEOF
54208 @@ -10030,68 +10524,60 @@ cat >>conftest.$ac_ext <<_ACEOF
54209
54210 #undef $ac_func
54211
54212 -/* Override any gcc2 internal prototype to avoid an error. */
54213 +/* Override any GCC internal prototype to avoid an error.
54214 + Use char because int might match the return type of a GCC
54215 + builtin and then its argument prototype would still apply. */
54216 #ifdef __cplusplus
54217 extern "C"
54218 -{
54219 #endif
54220 -/* We use char because int might match the return type of a gcc2
54221 - builtin and then its argument prototype would still apply. */
54222 char $ac_func ();
54223 /* The GNU C library defines this for functions which it implements
54224 to always fail with ENOSYS. Some functions are actually named
54225 something starting with __ and the normal name is an alias. */
54226 -#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54227 +#if defined __stub_$ac_func || defined __stub___$ac_func
54228 choke me
54229 -#else
54230 -char (*f) () = $ac_func;
54231 -#endif
54232 -#ifdef __cplusplus
54233 -}
54234 #endif
54235
54236 int
54237 main ()
54238 {
54239 -return f != $ac_func;
54240 +return $ac_func ();
54241 ;
54242 return 0;
54243 }
54244 _ACEOF
54245 rm -f conftest.$ac_objext conftest$ac_exeext
54246 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54247 - (eval $ac_link) 2>conftest.er1
54248 +if { (ac_try="$ac_link"
54249 +case "(($ac_try" in
54250 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
54251 + *) ac_try_echo=$ac_try;;
54252 +esac
54253 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
54254 + (eval "$ac_link") 2>conftest.er1
54255 ac_status=$?
54256 grep -v '^ *+' conftest.er1 >conftest.err
54257 rm -f conftest.er1
54258 cat conftest.err >&5
54259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54260 - (exit $ac_status); } &&
54261 - { ac_try='test -z "$ac_c_werror_flag"
54262 - || test ! -s conftest.err'
54263 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54264 - (eval $ac_try) 2>&5
54265 - ac_status=$?
54266 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
54267 - (exit $ac_status); }; } &&
54268 - { ac_try='test -s conftest$ac_exeext'
54269 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54270 - (eval $ac_try) 2>&5
54271 - ac_status=$?
54272 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
54273 - (exit $ac_status); }; }; then
54274 + (exit $ac_status); } && {
54275 + test -z "$ac_c_werror_flag" ||
54276 + test ! -s conftest.err
54277 + } && test -s conftest$ac_exeext &&
54278 + $as_test_x conftest$ac_exeext; then
54279 eval "$as_ac_var=yes"
54280 else
54281 echo "$as_me: failed program was:" >&5
54282 sed 's/^/| /' conftest.$ac_ext >&5
54283
54284 -eval "$as_ac_var=no"
54285 + eval "$as_ac_var=no"
54286 fi
54287 -rm -f conftest.err conftest.$ac_objext \
54288 +
54289 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
54290 conftest$ac_exeext conftest.$ac_ext
54291 fi
54292 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54293 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54294 +ac_res=`eval echo '${'$as_ac_var'}'`
54295 + { echo "$as_me:$LINENO: result: $ac_res" >&5
54296 +echo "${ECHO_T}$ac_res" >&6; }
54297 if test `eval echo '${'$as_ac_var'}'` = yes; then
54298 cat >>confdefs.h <<_ACEOF
54299 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54300 @@ -10106,9 +10592,9 @@ done
54301 for ac_func in sbrk
54302 do
54303 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54304 -echo "$as_me:$LINENO: checking for $ac_func" >&5
54305 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54306 -if eval "test \"\${$as_ac_var+set}\" = set"; then
54307 +{ echo "$as_me:$LINENO: checking for $ac_func" >&5
54308 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
54309 +if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
54310 echo $ECHO_N "(cached) $ECHO_C" >&6
54311 else
54312 cat >conftest.$ac_ext <<_ACEOF
54313 @@ -10134,68 +10620,60 @@ cat >>conftest.$ac_ext <<_ACEOF
54314
54315 #undef $ac_func
54316
54317 -/* Override any gcc2 internal prototype to avoid an error. */
54318 +/* Override any GCC internal prototype to avoid an error.
54319 + Use char because int might match the return type of a GCC
54320 + builtin and then its argument prototype would still apply. */
54321 #ifdef __cplusplus
54322 extern "C"
54323 -{
54324 #endif
54325 -/* We use char because int might match the return type of a gcc2
54326 - builtin and then its argument prototype would still apply. */
54327 char $ac_func ();
54328 /* The GNU C library defines this for functions which it implements
54329 to always fail with ENOSYS. Some functions are actually named
54330 something starting with __ and the normal name is an alias. */
54331 -#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54332 +#if defined __stub_$ac_func || defined __stub___$ac_func
54333 choke me
54334 -#else
54335 -char (*f) () = $ac_func;
54336 -#endif
54337 -#ifdef __cplusplus
54338 -}
54339 #endif
54340
54341 int
54342 main ()
54343 {
54344 -return f != $ac_func;
54345 +return $ac_func ();
54346 ;
54347 return 0;
54348 }
54349 _ACEOF
54350 rm -f conftest.$ac_objext conftest$ac_exeext
54351 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54352 - (eval $ac_link) 2>conftest.er1
54353 +if { (ac_try="$ac_link"
54354 +case "(($ac_try" in
54355 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
54356 + *) ac_try_echo=$ac_try;;
54357 +esac
54358 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
54359 + (eval "$ac_link") 2>conftest.er1
54360 ac_status=$?
54361 grep -v '^ *+' conftest.er1 >conftest.err
54362 rm -f conftest.er1
54363 cat conftest.err >&5
54364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54365 - (exit $ac_status); } &&
54366 - { ac_try='test -z "$ac_c_werror_flag"
54367 - || test ! -s conftest.err'
54368 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54369 - (eval $ac_try) 2>&5
54370 - ac_status=$?
54371 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
54372 - (exit $ac_status); }; } &&
54373 - { ac_try='test -s conftest$ac_exeext'
54374 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54375 - (eval $ac_try) 2>&5
54376 - ac_status=$?
54377 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
54378 - (exit $ac_status); }; }; then
54379 + (exit $ac_status); } && {
54380 + test -z "$ac_c_werror_flag" ||
54381 + test ! -s conftest.err
54382 + } && test -s conftest$ac_exeext &&
54383 + $as_test_x conftest$ac_exeext; then
54384 eval "$as_ac_var=yes"
54385 else
54386 echo "$as_me: failed program was:" >&5
54387 sed 's/^/| /' conftest.$ac_ext >&5
54388
54389 -eval "$as_ac_var=no"
54390 + eval "$as_ac_var=no"
54391 fi
54392 -rm -f conftest.err conftest.$ac_objext \
54393 +
54394 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
54395 conftest$ac_exeext conftest.$ac_ext
54396 fi
54397 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54398 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54399 +ac_res=`eval echo '${'$as_ac_var'}'`
54400 + { echo "$as_me:$LINENO: result: $ac_res" >&5
54401 +echo "${ECHO_T}$ac_res" >&6; }
54402 if test `eval echo '${'$as_ac_var'}'` = yes; then
54403 cat >>confdefs.h <<_ACEOF
54404 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54405 @@ -10215,8 +10693,8 @@ case $host in
54406 # on darwin the libm is a symbolic link to libSystem.dylib
54407 ;;
54408 *-ncr-sysv4.3*)
54409 - echo "$as_me:$LINENO: checking for _mwvalidcheckl in -lmw" >&5
54410 -echo $ECHO_N "checking for _mwvalidcheckl in -lmw... $ECHO_C" >&6
54411 + { echo "$as_me:$LINENO: checking for _mwvalidcheckl in -lmw" >&5
54412 +echo $ECHO_N "checking for _mwvalidcheckl in -lmw... $ECHO_C" >&6; }
54413 if test "${ac_cv_lib_mw__mwvalidcheckl+set}" = set; then
54414 echo $ECHO_N "(cached) $ECHO_C" >&6
54415 else
54416 @@ -10229,62 +10707,59 @@ cat confdefs.h >>conftest.$ac_ext
54417 cat >>conftest.$ac_ext <<_ACEOF
54418 /* end confdefs.h. */
54419
54420 -/* Override any gcc2 internal prototype to avoid an error. */
54421 +/* Override any GCC internal prototype to avoid an error.
54422 + Use char because int might match the return type of a GCC
54423 + builtin and then its argument prototype would still apply. */
54424 #ifdef __cplusplus
54425 extern "C"
54426 #endif
54427 -/* We use char because int might match the return type of a gcc2
54428 - builtin and then its argument prototype would still apply. */
54429 char _mwvalidcheckl ();
54430 int
54431 main ()
54432 {
54433 -_mwvalidcheckl ();
54434 +return _mwvalidcheckl ();
54435 ;
54436 return 0;
54437 }
54438 _ACEOF
54439 rm -f conftest.$ac_objext conftest$ac_exeext
54440 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54441 - (eval $ac_link) 2>conftest.er1
54442 +if { (ac_try="$ac_link"
54443 +case "(($ac_try" in
54444 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
54445 + *) ac_try_echo=$ac_try;;
54446 +esac
54447 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
54448 + (eval "$ac_link") 2>conftest.er1
54449 ac_status=$?
54450 grep -v '^ *+' conftest.er1 >conftest.err
54451 rm -f conftest.er1
54452 cat conftest.err >&5
54453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54454 - (exit $ac_status); } &&
54455 - { ac_try='test -z "$ac_c_werror_flag"
54456 - || test ! -s conftest.err'
54457 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54458 - (eval $ac_try) 2>&5
54459 - ac_status=$?
54460 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
54461 - (exit $ac_status); }; } &&
54462 - { ac_try='test -s conftest$ac_exeext'
54463 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54464 - (eval $ac_try) 2>&5
54465 - ac_status=$?
54466 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
54467 - (exit $ac_status); }; }; then
54468 + (exit $ac_status); } && {
54469 + test -z "$ac_c_werror_flag" ||
54470 + test ! -s conftest.err
54471 + } && test -s conftest$ac_exeext &&
54472 + $as_test_x conftest$ac_exeext; then
54473 ac_cv_lib_mw__mwvalidcheckl=yes
54474 else
54475 echo "$as_me: failed program was:" >&5
54476 sed 's/^/| /' conftest.$ac_ext >&5
54477
54478 -ac_cv_lib_mw__mwvalidcheckl=no
54479 + ac_cv_lib_mw__mwvalidcheckl=no
54480 fi
54481 -rm -f conftest.err conftest.$ac_objext \
54482 +
54483 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
54484 conftest$ac_exeext conftest.$ac_ext
54485 LIBS=$ac_check_lib_save_LIBS
54486 fi
54487 -echo "$as_me:$LINENO: result: $ac_cv_lib_mw__mwvalidcheckl" >&5
54488 -echo "${ECHO_T}$ac_cv_lib_mw__mwvalidcheckl" >&6
54489 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_mw__mwvalidcheckl" >&5
54490 +echo "${ECHO_T}$ac_cv_lib_mw__mwvalidcheckl" >&6; }
54491 if test $ac_cv_lib_mw__mwvalidcheckl = yes; then
54492 LIBM="-lmw"
54493 fi
54494
54495 - echo "$as_me:$LINENO: checking for main in -lm" >&5
54496 -echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
54497 + { echo "$as_me:$LINENO: checking for main in -lm" >&5
54498 +echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6; }
54499 if test "${ac_cv_lib_m_main+set}" = set; then
54500 echo $ECHO_N "(cached) $ECHO_C" >&6
54501 else
54502 @@ -10301,54 +10776,51 @@ cat >>conftest.$ac_ext <<_ACEOF
54503 int
54504 main ()
54505 {
54506 -main ();
54507 +return main ();
54508 ;
54509 return 0;
54510 }
54511 _ACEOF
54512 rm -f conftest.$ac_objext conftest$ac_exeext
54513 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54514 - (eval $ac_link) 2>conftest.er1
54515 +if { (ac_try="$ac_link"
54516 +case "(($ac_try" in
54517 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
54518 + *) ac_try_echo=$ac_try;;
54519 +esac
54520 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
54521 + (eval "$ac_link") 2>conftest.er1
54522 ac_status=$?
54523 grep -v '^ *+' conftest.er1 >conftest.err
54524 rm -f conftest.er1
54525 cat conftest.err >&5
54526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54527 - (exit $ac_status); } &&
54528 - { ac_try='test -z "$ac_c_werror_flag"
54529 - || test ! -s conftest.err'
54530 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54531 - (eval $ac_try) 2>&5
54532 - ac_status=$?
54533 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
54534 - (exit $ac_status); }; } &&
54535 - { ac_try='test -s conftest$ac_exeext'
54536 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54537 - (eval $ac_try) 2>&5
54538 - ac_status=$?
54539 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
54540 - (exit $ac_status); }; }; then
54541 + (exit $ac_status); } && {
54542 + test -z "$ac_c_werror_flag" ||
54543 + test ! -s conftest.err
54544 + } && test -s conftest$ac_exeext &&
54545 + $as_test_x conftest$ac_exeext; then
54546 ac_cv_lib_m_main=yes
54547 else
54548 echo "$as_me: failed program was:" >&5
54549 sed 's/^/| /' conftest.$ac_ext >&5
54550
54551 -ac_cv_lib_m_main=no
54552 + ac_cv_lib_m_main=no
54553 fi
54554 -rm -f conftest.err conftest.$ac_objext \
54555 +
54556 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
54557 conftest$ac_exeext conftest.$ac_ext
54558 LIBS=$ac_check_lib_save_LIBS
54559 fi
54560 -echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
54561 -echo "${ECHO_T}$ac_cv_lib_m_main" >&6
54562 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
54563 +echo "${ECHO_T}$ac_cv_lib_m_main" >&6; }
54564 if test $ac_cv_lib_m_main = yes; then
54565 LIBM="$LIBM -lm"
54566 fi
54567
54568 ;;
54569 *)
54570 - echo "$as_me:$LINENO: checking for main in -lm" >&5
54571 -echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
54572 + { echo "$as_me:$LINENO: checking for main in -lm" >&5
54573 +echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6; }
54574 if test "${ac_cv_lib_m_main+set}" = set; then
54575 echo $ECHO_N "(cached) $ECHO_C" >&6
54576 else
54577 @@ -10365,46 +10837,43 @@ cat >>conftest.$ac_ext <<_ACEOF
54578 int
54579 main ()
54580 {
54581 -main ();
54582 +return main ();
54583 ;
54584 return 0;
54585 }
54586 _ACEOF
54587 rm -f conftest.$ac_objext conftest$ac_exeext
54588 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54589 - (eval $ac_link) 2>conftest.er1
54590 +if { (ac_try="$ac_link"
54591 +case "(($ac_try" in
54592 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
54593 + *) ac_try_echo=$ac_try;;
54594 +esac
54595 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
54596 + (eval "$ac_link") 2>conftest.er1
54597 ac_status=$?
54598 grep -v '^ *+' conftest.er1 >conftest.err
54599 rm -f conftest.er1
54600 cat conftest.err >&5
54601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54602 - (exit $ac_status); } &&
54603 - { ac_try='test -z "$ac_c_werror_flag"
54604 - || test ! -s conftest.err'
54605 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54606 - (eval $ac_try) 2>&5
54607 - ac_status=$?
54608 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
54609 - (exit $ac_status); }; } &&
54610 - { ac_try='test -s conftest$ac_exeext'
54611 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54612 - (eval $ac_try) 2>&5
54613 - ac_status=$?
54614 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
54615 - (exit $ac_status); }; }; then
54616 + (exit $ac_status); } && {
54617 + test -z "$ac_c_werror_flag" ||
54618 + test ! -s conftest.err
54619 + } && test -s conftest$ac_exeext &&
54620 + $as_test_x conftest$ac_exeext; then
54621 ac_cv_lib_m_main=yes
54622 else
54623 echo "$as_me: failed program was:" >&5
54624 sed 's/^/| /' conftest.$ac_ext >&5
54625
54626 -ac_cv_lib_m_main=no
54627 + ac_cv_lib_m_main=no
54628 fi
54629 -rm -f conftest.err conftest.$ac_objext \
54630 +
54631 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
54632 conftest$ac_exeext conftest.$ac_ext
54633 LIBS=$ac_check_lib_save_LIBS
54634 fi
54635 -echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
54636 -echo "${ECHO_T}$ac_cv_lib_m_main" >&6
54637 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
54638 +echo "${ECHO_T}$ac_cv_lib_m_main" >&6; }
54639 if test $ac_cv_lib_m_main = yes; then
54640 LIBM="-lm"
54641 fi
54642 @@ -10419,8 +10888,8 @@ esac
54643 # Some non-ANSI preprocessors botch requoting inside strings. That's bad
54644 # enough, but on some of those systems, the assert macro relies on requoting
54645 # working properly!
54646 -echo "$as_me:$LINENO: checking for working assert macro" >&5
54647 -echo $ECHO_N "checking for working assert macro... $ECHO_C" >&6
54648 +{ echo "$as_me:$LINENO: checking for working assert macro" >&5
54649 +echo $ECHO_N "checking for working assert macro... $ECHO_C" >&6; }
54650 if test "${gas_cv_assert_ok+set}" = set; then
54651 echo $ECHO_N "(cached) $ECHO_C" >&6
54652 else
54653 @@ -10449,39 +10918,36 @@ assert (a == b
54654 }
54655 _ACEOF
54656 rm -f conftest.$ac_objext conftest$ac_exeext
54657 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54658 - (eval $ac_link) 2>conftest.er1
54659 +if { (ac_try="$ac_link"
54660 +case "(($ac_try" in
54661 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
54662 + *) ac_try_echo=$ac_try;;
54663 +esac
54664 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
54665 + (eval "$ac_link") 2>conftest.er1
54666 ac_status=$?
54667 grep -v '^ *+' conftest.er1 >conftest.err
54668 rm -f conftest.er1
54669 cat conftest.err >&5
54670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54671 - (exit $ac_status); } &&
54672 - { ac_try='test -z "$ac_c_werror_flag"
54673 - || test ! -s conftest.err'
54674 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54675 - (eval $ac_try) 2>&5
54676 - ac_status=$?
54677 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
54678 - (exit $ac_status); }; } &&
54679 - { ac_try='test -s conftest$ac_exeext'
54680 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54681 - (eval $ac_try) 2>&5
54682 - ac_status=$?
54683 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
54684 - (exit $ac_status); }; }; then
54685 + (exit $ac_status); } && {
54686 + test -z "$ac_c_werror_flag" ||
54687 + test ! -s conftest.err
54688 + } && test -s conftest$ac_exeext &&
54689 + $as_test_x conftest$ac_exeext; then
54690 gas_cv_assert_ok=yes
54691 else
54692 echo "$as_me: failed program was:" >&5
54693 sed 's/^/| /' conftest.$ac_ext >&5
54694
54695 -gas_cv_assert_ok=no
54696 + gas_cv_assert_ok=no
54697 fi
54698 -rm -f conftest.err conftest.$ac_objext \
54699 +
54700 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
54701 conftest$ac_exeext conftest.$ac_ext
54702 fi
54703 -echo "$as_me:$LINENO: result: $gas_cv_assert_ok" >&5
54704 -echo "${ECHO_T}$gas_cv_assert_ok" >&6
54705 +{ echo "$as_me:$LINENO: result: $gas_cv_assert_ok" >&5
54706 +echo "${ECHO_T}$gas_cv_assert_ok" >&6; }
54707 test $gas_cv_assert_ok = yes ||
54708 cat >>confdefs.h <<\_ACEOF
54709 #define BROKEN_ASSERT 1
54710 @@ -10514,8 +10980,8 @@ gas_test_headers="
54711 # Does errno.h declare errno, or do we have to add a separate declaration
54712 # for it?
54713
54714 -echo "$as_me:$LINENO: checking whether declaration is required for errno" >&5
54715 -echo $ECHO_N "checking whether declaration is required for errno... $ECHO_C" >&6
54716 +{ echo "$as_me:$LINENO: checking whether declaration is required for errno" >&5
54717 +echo $ECHO_N "checking whether declaration is required for errno... $ECHO_C" >&6; }
54718 if test "${gas_cv_decl_needed_errno+set}" = set; then
54719 echo $ECHO_N "(cached) $ECHO_C" >&6
54720 else
54721 @@ -10543,39 +11009,36 @@ x = (f) errno;
54722 }
54723 _ACEOF
54724 rm -f conftest.$ac_objext conftest$ac_exeext
54725 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54726 - (eval $ac_link) 2>conftest.er1
54727 +if { (ac_try="$ac_link"
54728 +case "(($ac_try" in
54729 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
54730 + *) ac_try_echo=$ac_try;;
54731 +esac
54732 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
54733 + (eval "$ac_link") 2>conftest.er1
54734 ac_status=$?
54735 grep -v '^ *+' conftest.er1 >conftest.err
54736 rm -f conftest.er1
54737 cat conftest.err >&5
54738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54739 - (exit $ac_status); } &&
54740 - { ac_try='test -z "$ac_c_werror_flag"
54741 - || test ! -s conftest.err'
54742 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54743 - (eval $ac_try) 2>&5
54744 - ac_status=$?
54745 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
54746 - (exit $ac_status); }; } &&
54747 - { ac_try='test -s conftest$ac_exeext'
54748 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54749 - (eval $ac_try) 2>&5
54750 - ac_status=$?
54751 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
54752 - (exit $ac_status); }; }; then
54753 + (exit $ac_status); } && {
54754 + test -z "$ac_c_werror_flag" ||
54755 + test ! -s conftest.err
54756 + } && test -s conftest$ac_exeext &&
54757 + $as_test_x conftest$ac_exeext; then
54758 gas_cv_decl_needed_errno=no
54759 else
54760 echo "$as_me: failed program was:" >&5
54761 sed 's/^/| /' conftest.$ac_ext >&5
54762
54763 -gas_cv_decl_needed_errno=yes
54764 + gas_cv_decl_needed_errno=yes
54765 fi
54766 -rm -f conftest.err conftest.$ac_objext \
54767 +
54768 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
54769 conftest$ac_exeext conftest.$ac_ext
54770 fi
54771 -echo "$as_me:$LINENO: result: $gas_cv_decl_needed_errno" >&5
54772 -echo "${ECHO_T}$gas_cv_decl_needed_errno" >&6
54773 +{ echo "$as_me:$LINENO: result: $gas_cv_decl_needed_errno" >&5
54774 +echo "${ECHO_T}$gas_cv_decl_needed_errno" >&6; }
54775 if test $gas_cv_decl_needed_errno = yes; then
54776
54777 cat >>confdefs.h <<\_ACEOF
54778 @@ -10585,8 +11048,8 @@ _ACEOF
54779 fi
54780
54781
54782 -echo "$as_me:$LINENO: checking for a known getopt prototype in unistd.h" >&5
54783 -echo $ECHO_N "checking for a known getopt prototype in unistd.h... $ECHO_C" >&6
54784 +{ echo "$as_me:$LINENO: checking for a known getopt prototype in unistd.h" >&5
54785 +echo $ECHO_N "checking for a known getopt prototype in unistd.h... $ECHO_C" >&6; }
54786 if test "${gas_cv_decl_getopt_unistd_h+set}" = set; then
54787 echo $ECHO_N "(cached) $ECHO_C" >&6
54788 else
54789 @@ -10606,39 +11069,35 @@ extern int getopt (int, char *const*, co
54790 }
54791 _ACEOF
54792 rm -f conftest.$ac_objext
54793 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54794 - (eval $ac_compile) 2>conftest.er1
54795 +if { (ac_try="$ac_compile"
54796 +case "(($ac_try" in
54797 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
54798 + *) ac_try_echo=$ac_try;;
54799 +esac
54800 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
54801 + (eval "$ac_compile") 2>conftest.er1
54802 ac_status=$?
54803 grep -v '^ *+' conftest.er1 >conftest.err
54804 rm -f conftest.er1
54805 cat conftest.err >&5
54806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54807 - (exit $ac_status); } &&
54808 - { ac_try='test -z "$ac_c_werror_flag"
54809 - || test ! -s conftest.err'
54810 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54811 - (eval $ac_try) 2>&5
54812 - ac_status=$?
54813 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
54814 - (exit $ac_status); }; } &&
54815 - { ac_try='test -s conftest.$ac_objext'
54816 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54817 - (eval $ac_try) 2>&5
54818 - ac_status=$?
54819 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
54820 - (exit $ac_status); }; }; then
54821 + (exit $ac_status); } && {
54822 + test -z "$ac_c_werror_flag" ||
54823 + test ! -s conftest.err
54824 + } && test -s conftest.$ac_objext; then
54825 gas_cv_decl_getopt_unistd_h=yes
54826 else
54827 echo "$as_me: failed program was:" >&5
54828 sed 's/^/| /' conftest.$ac_ext >&5
54829
54830 -gas_cv_decl_getopt_unistd_h=no
54831 + gas_cv_decl_getopt_unistd_h=no
54832 fi
54833 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54834 +
54835 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54836 fi
54837
54838 -echo "$as_me:$LINENO: result: $gas_cv_decl_getopt_unistd_h" >&5
54839 -echo "${ECHO_T}$gas_cv_decl_getopt_unistd_h" >&6
54840 +{ echo "$as_me:$LINENO: result: $gas_cv_decl_getopt_unistd_h" >&5
54841 +echo "${ECHO_T}$gas_cv_decl_getopt_unistd_h" >&6; }
54842 if test $gas_cv_decl_getopt_unistd_h = yes; then
54843
54844 cat >>confdefs.h <<\_ACEOF
54845 @@ -10648,8 +11107,8 @@ _ACEOF
54846 fi
54847
54848
54849 -echo "$as_me:$LINENO: checking whether declaration is required for environ" >&5
54850 -echo $ECHO_N "checking whether declaration is required for environ... $ECHO_C" >&6
54851 +{ echo "$as_me:$LINENO: checking whether declaration is required for environ" >&5
54852 +echo $ECHO_N "checking whether declaration is required for environ... $ECHO_C" >&6; }
54853 if test "${gas_cv_decl_needed_environ+set}" = set; then
54854 echo $ECHO_N "(cached) $ECHO_C" >&6
54855 else
54856 @@ -10673,39 +11132,36 @@ x = (f) environ;
54857 }
54858 _ACEOF
54859 rm -f conftest.$ac_objext conftest$ac_exeext
54860 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54861 - (eval $ac_link) 2>conftest.er1
54862 +if { (ac_try="$ac_link"
54863 +case "(($ac_try" in
54864 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
54865 + *) ac_try_echo=$ac_try;;
54866 +esac
54867 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
54868 + (eval "$ac_link") 2>conftest.er1
54869 ac_status=$?
54870 grep -v '^ *+' conftest.er1 >conftest.err
54871 rm -f conftest.er1
54872 cat conftest.err >&5
54873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54874 - (exit $ac_status); } &&
54875 - { ac_try='test -z "$ac_c_werror_flag"
54876 - || test ! -s conftest.err'
54877 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54878 - (eval $ac_try) 2>&5
54879 - ac_status=$?
54880 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
54881 - (exit $ac_status); }; } &&
54882 - { ac_try='test -s conftest$ac_exeext'
54883 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54884 - (eval $ac_try) 2>&5
54885 - ac_status=$?
54886 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
54887 - (exit $ac_status); }; }; then
54888 + (exit $ac_status); } && {
54889 + test -z "$ac_c_werror_flag" ||
54890 + test ! -s conftest.err
54891 + } && test -s conftest$ac_exeext &&
54892 + $as_test_x conftest$ac_exeext; then
54893 gas_cv_decl_needed_environ=no
54894 else
54895 echo "$as_me: failed program was:" >&5
54896 sed 's/^/| /' conftest.$ac_ext >&5
54897
54898 -gas_cv_decl_needed_environ=yes
54899 + gas_cv_decl_needed_environ=yes
54900 fi
54901 -rm -f conftest.err conftest.$ac_objext \
54902 +
54903 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
54904 conftest$ac_exeext conftest.$ac_ext
54905 fi
54906 -echo "$as_me:$LINENO: result: $gas_cv_decl_needed_environ" >&5
54907 -echo "${ECHO_T}$gas_cv_decl_needed_environ" >&6
54908 +{ echo "$as_me:$LINENO: result: $gas_cv_decl_needed_environ" >&5
54909 +echo "${ECHO_T}$gas_cv_decl_needed_environ" >&6; }
54910 if test $gas_cv_decl_needed_environ = yes; then
54911
54912 cat >>confdefs.h <<\_ACEOF
54913 @@ -10715,8 +11171,8 @@ _ACEOF
54914 fi
54915
54916
54917 -echo "$as_me:$LINENO: checking whether declaration is required for ffs" >&5
54918 -echo $ECHO_N "checking whether declaration is required for ffs... $ECHO_C" >&6
54919 +{ echo "$as_me:$LINENO: checking whether declaration is required for ffs" >&5
54920 +echo $ECHO_N "checking whether declaration is required for ffs... $ECHO_C" >&6; }
54921 if test "${gas_cv_decl_needed_ffs+set}" = set; then
54922 echo $ECHO_N "(cached) $ECHO_C" >&6
54923 else
54924 @@ -10740,39 +11196,36 @@ x = (f) ffs;
54925 }
54926 _ACEOF
54927 rm -f conftest.$ac_objext conftest$ac_exeext
54928 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54929 - (eval $ac_link) 2>conftest.er1
54930 +if { (ac_try="$ac_link"
54931 +case "(($ac_try" in
54932 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
54933 + *) ac_try_echo=$ac_try;;
54934 +esac
54935 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
54936 + (eval "$ac_link") 2>conftest.er1
54937 ac_status=$?
54938 grep -v '^ *+' conftest.er1 >conftest.err
54939 rm -f conftest.er1
54940 cat conftest.err >&5
54941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54942 - (exit $ac_status); } &&
54943 - { ac_try='test -z "$ac_c_werror_flag"
54944 - || test ! -s conftest.err'
54945 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54946 - (eval $ac_try) 2>&5
54947 - ac_status=$?
54948 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
54949 - (exit $ac_status); }; } &&
54950 - { ac_try='test -s conftest$ac_exeext'
54951 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54952 - (eval $ac_try) 2>&5
54953 - ac_status=$?
54954 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
54955 - (exit $ac_status); }; }; then
54956 + (exit $ac_status); } && {
54957 + test -z "$ac_c_werror_flag" ||
54958 + test ! -s conftest.err
54959 + } && test -s conftest$ac_exeext &&
54960 + $as_test_x conftest$ac_exeext; then
54961 gas_cv_decl_needed_ffs=no
54962 else
54963 echo "$as_me: failed program was:" >&5
54964 sed 's/^/| /' conftest.$ac_ext >&5
54965
54966 -gas_cv_decl_needed_ffs=yes
54967 + gas_cv_decl_needed_ffs=yes
54968 fi
54969 -rm -f conftest.err conftest.$ac_objext \
54970 +
54971 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
54972 conftest$ac_exeext conftest.$ac_ext
54973 fi
54974 -echo "$as_me:$LINENO: result: $gas_cv_decl_needed_ffs" >&5
54975 -echo "${ECHO_T}$gas_cv_decl_needed_ffs" >&6
54976 +{ echo "$as_me:$LINENO: result: $gas_cv_decl_needed_ffs" >&5
54977 +echo "${ECHO_T}$gas_cv_decl_needed_ffs" >&6; }
54978 if test $gas_cv_decl_needed_ffs = yes; then
54979
54980 cat >>confdefs.h <<\_ACEOF
54981 @@ -10782,8 +11235,8 @@ _ACEOF
54982 fi
54983
54984
54985 -echo "$as_me:$LINENO: checking whether declaration is required for free" >&5
54986 -echo $ECHO_N "checking whether declaration is required for free... $ECHO_C" >&6
54987 +{ echo "$as_me:$LINENO: checking whether declaration is required for free" >&5
54988 +echo $ECHO_N "checking whether declaration is required for free... $ECHO_C" >&6; }
54989 if test "${gas_cv_decl_needed_free+set}" = set; then
54990 echo $ECHO_N "(cached) $ECHO_C" >&6
54991 else
54992 @@ -10807,39 +11260,36 @@ x = (f) free;
54993 }
54994 _ACEOF
54995 rm -f conftest.$ac_objext conftest$ac_exeext
54996 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54997 - (eval $ac_link) 2>conftest.er1
54998 +if { (ac_try="$ac_link"
54999 +case "(($ac_try" in
55000 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
55001 + *) ac_try_echo=$ac_try;;
55002 +esac
55003 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
55004 + (eval "$ac_link") 2>conftest.er1
55005 ac_status=$?
55006 grep -v '^ *+' conftest.er1 >conftest.err
55007 rm -f conftest.er1
55008 cat conftest.err >&5
55009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55010 - (exit $ac_status); } &&
55011 - { ac_try='test -z "$ac_c_werror_flag"
55012 - || test ! -s conftest.err'
55013 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55014 - (eval $ac_try) 2>&5
55015 - ac_status=$?
55016 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
55017 - (exit $ac_status); }; } &&
55018 - { ac_try='test -s conftest$ac_exeext'
55019 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55020 - (eval $ac_try) 2>&5
55021 - ac_status=$?
55022 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
55023 - (exit $ac_status); }; }; then
55024 + (exit $ac_status); } && {
55025 + test -z "$ac_c_werror_flag" ||
55026 + test ! -s conftest.err
55027 + } && test -s conftest$ac_exeext &&
55028 + $as_test_x conftest$ac_exeext; then
55029 gas_cv_decl_needed_free=no
55030 else
55031 echo "$as_me: failed program was:" >&5
55032 sed 's/^/| /' conftest.$ac_ext >&5
55033
55034 -gas_cv_decl_needed_free=yes
55035 + gas_cv_decl_needed_free=yes
55036 fi
55037 -rm -f conftest.err conftest.$ac_objext \
55038 +
55039 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
55040 conftest$ac_exeext conftest.$ac_ext
55041 fi
55042 -echo "$as_me:$LINENO: result: $gas_cv_decl_needed_free" >&5
55043 -echo "${ECHO_T}$gas_cv_decl_needed_free" >&6
55044 +{ echo "$as_me:$LINENO: result: $gas_cv_decl_needed_free" >&5
55045 +echo "${ECHO_T}$gas_cv_decl_needed_free" >&6; }
55046 if test $gas_cv_decl_needed_free = yes; then
55047
55048 cat >>confdefs.h <<\_ACEOF
55049 @@ -10849,8 +11299,8 @@ _ACEOF
55050 fi
55051
55052
55053 -echo "$as_me:$LINENO: checking whether declaration is required for malloc" >&5
55054 -echo $ECHO_N "checking whether declaration is required for malloc... $ECHO_C" >&6
55055 +{ echo "$as_me:$LINENO: checking whether declaration is required for malloc" >&5
55056 +echo $ECHO_N "checking whether declaration is required for malloc... $ECHO_C" >&6; }
55057 if test "${gas_cv_decl_needed_malloc+set}" = set; then
55058 echo $ECHO_N "(cached) $ECHO_C" >&6
55059 else
55060 @@ -10874,39 +11324,36 @@ x = (f) malloc;
55061 }
55062 _ACEOF
55063 rm -f conftest.$ac_objext conftest$ac_exeext
55064 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55065 - (eval $ac_link) 2>conftest.er1
55066 +if { (ac_try="$ac_link"
55067 +case "(($ac_try" in
55068 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
55069 + *) ac_try_echo=$ac_try;;
55070 +esac
55071 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
55072 + (eval "$ac_link") 2>conftest.er1
55073 ac_status=$?
55074 grep -v '^ *+' conftest.er1 >conftest.err
55075 rm -f conftest.er1
55076 cat conftest.err >&5
55077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55078 - (exit $ac_status); } &&
55079 - { ac_try='test -z "$ac_c_werror_flag"
55080 - || test ! -s conftest.err'
55081 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55082 - (eval $ac_try) 2>&5
55083 - ac_status=$?
55084 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
55085 - (exit $ac_status); }; } &&
55086 - { ac_try='test -s conftest$ac_exeext'
55087 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55088 - (eval $ac_try) 2>&5
55089 - ac_status=$?
55090 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
55091 - (exit $ac_status); }; }; then
55092 + (exit $ac_status); } && {
55093 + test -z "$ac_c_werror_flag" ||
55094 + test ! -s conftest.err
55095 + } && test -s conftest$ac_exeext &&
55096 + $as_test_x conftest$ac_exeext; then
55097 gas_cv_decl_needed_malloc=no
55098 else
55099 echo "$as_me: failed program was:" >&5
55100 sed 's/^/| /' conftest.$ac_ext >&5
55101
55102 -gas_cv_decl_needed_malloc=yes
55103 + gas_cv_decl_needed_malloc=yes
55104 fi
55105 -rm -f conftest.err conftest.$ac_objext \
55106 +
55107 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
55108 conftest$ac_exeext conftest.$ac_ext
55109 fi
55110 -echo "$as_me:$LINENO: result: $gas_cv_decl_needed_malloc" >&5
55111 -echo "${ECHO_T}$gas_cv_decl_needed_malloc" >&6
55112 +{ echo "$as_me:$LINENO: result: $gas_cv_decl_needed_malloc" >&5
55113 +echo "${ECHO_T}$gas_cv_decl_needed_malloc" >&6; }
55114 if test $gas_cv_decl_needed_malloc = yes; then
55115
55116 cat >>confdefs.h <<\_ACEOF
55117 @@ -10916,8 +11363,8 @@ _ACEOF
55118 fi
55119
55120
55121 -echo "$as_me:$LINENO: checking whether declaration is required for sbrk" >&5
55122 -echo $ECHO_N "checking whether declaration is required for sbrk... $ECHO_C" >&6
55123 +{ echo "$as_me:$LINENO: checking whether declaration is required for sbrk" >&5
55124 +echo $ECHO_N "checking whether declaration is required for sbrk... $ECHO_C" >&6; }
55125 if test "${gas_cv_decl_needed_sbrk+set}" = set; then
55126 echo $ECHO_N "(cached) $ECHO_C" >&6
55127 else
55128 @@ -10941,39 +11388,36 @@ x = (f) sbrk;
55129 }
55130 _ACEOF
55131 rm -f conftest.$ac_objext conftest$ac_exeext
55132 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55133 - (eval $ac_link) 2>conftest.er1
55134 +if { (ac_try="$ac_link"
55135 +case "(($ac_try" in
55136 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
55137 + *) ac_try_echo=$ac_try;;
55138 +esac
55139 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
55140 + (eval "$ac_link") 2>conftest.er1
55141 ac_status=$?
55142 grep -v '^ *+' conftest.er1 >conftest.err
55143 rm -f conftest.er1
55144 cat conftest.err >&5
55145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55146 - (exit $ac_status); } &&
55147 - { ac_try='test -z "$ac_c_werror_flag"
55148 - || test ! -s conftest.err'
55149 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55150 - (eval $ac_try) 2>&5
55151 - ac_status=$?
55152 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
55153 - (exit $ac_status); }; } &&
55154 - { ac_try='test -s conftest$ac_exeext'
55155 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55156 - (eval $ac_try) 2>&5
55157 - ac_status=$?
55158 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
55159 - (exit $ac_status); }; }; then
55160 + (exit $ac_status); } && {
55161 + test -z "$ac_c_werror_flag" ||
55162 + test ! -s conftest.err
55163 + } && test -s conftest$ac_exeext &&
55164 + $as_test_x conftest$ac_exeext; then
55165 gas_cv_decl_needed_sbrk=no
55166 else
55167 echo "$as_me: failed program was:" >&5
55168 sed 's/^/| /' conftest.$ac_ext >&5
55169
55170 -gas_cv_decl_needed_sbrk=yes
55171 + gas_cv_decl_needed_sbrk=yes
55172 fi
55173 -rm -f conftest.err conftest.$ac_objext \
55174 +
55175 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
55176 conftest$ac_exeext conftest.$ac_ext
55177 fi
55178 -echo "$as_me:$LINENO: result: $gas_cv_decl_needed_sbrk" >&5
55179 -echo "${ECHO_T}$gas_cv_decl_needed_sbrk" >&6
55180 +{ echo "$as_me:$LINENO: result: $gas_cv_decl_needed_sbrk" >&5
55181 +echo "${ECHO_T}$gas_cv_decl_needed_sbrk" >&6; }
55182 if test $gas_cv_decl_needed_sbrk = yes; then
55183
55184 cat >>confdefs.h <<\_ACEOF
55185 @@ -10983,8 +11427,8 @@ _ACEOF
55186 fi
55187
55188
55189 -echo "$as_me:$LINENO: checking whether declaration is required for strstr" >&5
55190 -echo $ECHO_N "checking whether declaration is required for strstr... $ECHO_C" >&6
55191 +{ echo "$as_me:$LINENO: checking whether declaration is required for strstr" >&5
55192 +echo $ECHO_N "checking whether declaration is required for strstr... $ECHO_C" >&6; }
55193 if test "${gas_cv_decl_needed_strstr+set}" = set; then
55194 echo $ECHO_N "(cached) $ECHO_C" >&6
55195 else
55196 @@ -11008,39 +11452,36 @@ x = (f) strstr;
55197 }
55198 _ACEOF
55199 rm -f conftest.$ac_objext conftest$ac_exeext
55200 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55201 - (eval $ac_link) 2>conftest.er1
55202 +if { (ac_try="$ac_link"
55203 +case "(($ac_try" in
55204 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
55205 + *) ac_try_echo=$ac_try;;
55206 +esac
55207 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
55208 + (eval "$ac_link") 2>conftest.er1
55209 ac_status=$?
55210 grep -v '^ *+' conftest.er1 >conftest.err
55211 rm -f conftest.er1
55212 cat conftest.err >&5
55213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55214 - (exit $ac_status); } &&
55215 - { ac_try='test -z "$ac_c_werror_flag"
55216 - || test ! -s conftest.err'
55217 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55218 - (eval $ac_try) 2>&5
55219 - ac_status=$?
55220 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
55221 - (exit $ac_status); }; } &&
55222 - { ac_try='test -s conftest$ac_exeext'
55223 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55224 - (eval $ac_try) 2>&5
55225 - ac_status=$?
55226 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
55227 - (exit $ac_status); }; }; then
55228 + (exit $ac_status); } && {
55229 + test -z "$ac_c_werror_flag" ||
55230 + test ! -s conftest.err
55231 + } && test -s conftest$ac_exeext &&
55232 + $as_test_x conftest$ac_exeext; then
55233 gas_cv_decl_needed_strstr=no
55234 else
55235 echo "$as_me: failed program was:" >&5
55236 sed 's/^/| /' conftest.$ac_ext >&5
55237
55238 -gas_cv_decl_needed_strstr=yes
55239 + gas_cv_decl_needed_strstr=yes
55240 fi
55241 -rm -f conftest.err conftest.$ac_objext \
55242 +
55243 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
55244 conftest$ac_exeext conftest.$ac_ext
55245 fi
55246 -echo "$as_me:$LINENO: result: $gas_cv_decl_needed_strstr" >&5
55247 -echo "${ECHO_T}$gas_cv_decl_needed_strstr" >&6
55248 +{ echo "$as_me:$LINENO: result: $gas_cv_decl_needed_strstr" >&5
55249 +echo "${ECHO_T}$gas_cv_decl_needed_strstr" >&6; }
55250 if test $gas_cv_decl_needed_strstr = yes; then
55251
55252 cat >>confdefs.h <<\_ACEOF
55253 @@ -11050,8 +11491,8 @@ _ACEOF
55254 fi
55255
55256
55257 -echo "$as_me:$LINENO: checking whether vsnprintf is declared" >&5
55258 -echo $ECHO_N "checking whether vsnprintf is declared... $ECHO_C" >&6
55259 +{ echo "$as_me:$LINENO: checking whether vsnprintf is declared" >&5
55260 +echo $ECHO_N "checking whether vsnprintf is declared... $ECHO_C" >&6; }
55261 if test "${ac_cv_have_decl_vsnprintf+set}" = set; then
55262 echo $ECHO_N "(cached) $ECHO_C" >&6
55263 else
55264 @@ -11066,7 +11507,7 @@ int
55265 main ()
55266 {
55267 #ifndef vsnprintf
55268 - char *p = (char *) vsnprintf;
55269 + (void) vsnprintf;
55270 #endif
55271
55272 ;
55273 @@ -11074,38 +11515,34 @@ main ()
55274 }
55275 _ACEOF
55276 rm -f conftest.$ac_objext
55277 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55278 - (eval $ac_compile) 2>conftest.er1
55279 +if { (ac_try="$ac_compile"
55280 +case "(($ac_try" in
55281 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
55282 + *) ac_try_echo=$ac_try;;
55283 +esac
55284 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
55285 + (eval "$ac_compile") 2>conftest.er1
55286 ac_status=$?
55287 grep -v '^ *+' conftest.er1 >conftest.err
55288 rm -f conftest.er1
55289 cat conftest.err >&5
55290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55291 - (exit $ac_status); } &&
55292 - { ac_try='test -z "$ac_c_werror_flag"
55293 - || test ! -s conftest.err'
55294 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55295 - (eval $ac_try) 2>&5
55296 - ac_status=$?
55297 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
55298 - (exit $ac_status); }; } &&
55299 - { ac_try='test -s conftest.$ac_objext'
55300 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55301 - (eval $ac_try) 2>&5
55302 - ac_status=$?
55303 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
55304 - (exit $ac_status); }; }; then
55305 + (exit $ac_status); } && {
55306 + test -z "$ac_c_werror_flag" ||
55307 + test ! -s conftest.err
55308 + } && test -s conftest.$ac_objext; then
55309 ac_cv_have_decl_vsnprintf=yes
55310 else
55311 echo "$as_me: failed program was:" >&5
55312 sed 's/^/| /' conftest.$ac_ext >&5
55313
55314 -ac_cv_have_decl_vsnprintf=no
55315 + ac_cv_have_decl_vsnprintf=no
55316 fi
55317 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55318 +
55319 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55320 fi
55321 -echo "$as_me:$LINENO: result: $ac_cv_have_decl_vsnprintf" >&5
55322 -echo "${ECHO_T}$ac_cv_have_decl_vsnprintf" >&6
55323 +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_vsnprintf" >&5
55324 +echo "${ECHO_T}$ac_cv_have_decl_vsnprintf" >&6; }
55325 if test $ac_cv_have_decl_vsnprintf = yes; then
55326
55327 cat >>confdefs.h <<_ACEOF
55328 @@ -11129,9 +11566,9 @@ fi
55329
55330
55331
55332 - ac_config_files="$ac_config_files Makefile doc/Makefile po/Makefile.in:po/Make-in"
55333 +ac_config_files="$ac_config_files Makefile doc/Makefile po/Makefile.in:po/Make-in"
55334
55335 - ac_config_commands="$ac_config_commands default"
55336 +ac_config_commands="$ac_config_commands default"
55337
55338
55339 cat >confcache <<\_ACEOF
55340 @@ -11152,39 +11589,58 @@ _ACEOF
55341
55342 # The following way of writing the cache mishandles newlines in values,
55343 # but we know of no workaround that is simple, portable, and efficient.
55344 -# So, don't put newlines in cache variables' values.
55345 +# So, we kill variables containing newlines.
55346 # Ultrix sh set writes to stderr and can't be redirected directly,
55347 # and sets the high bit in the cache file unless we assign to the vars.
55348 -{
55349 +(
55350 + for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
55351 + eval ac_val=\$$ac_var
55352 + case $ac_val in #(
55353 + *${as_nl}*)
55354 + case $ac_var in #(
55355 + *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
55356 +echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
55357 + esac
55358 + case $ac_var in #(
55359 + _ | IFS | as_nl) ;; #(
55360 + *) $as_unset $ac_var ;;
55361 + esac ;;
55362 + esac
55363 + done
55364 +
55365 (set) 2>&1 |
55366 - case `(ac_space=' '; set | grep ac_space) 2>&1` in
55367 - *ac_space=\ *)
55368 + case $as_nl`(ac_space=' '; set) 2>&1` in #(
55369 + *${as_nl}ac_space=\ *)
55370 # `set' does not quote correctly, so add quotes (double-quote
55371 # substitution turns \\\\ into \\, and sed turns \\ into \).
55372 sed -n \
55373 "s/'/'\\\\''/g;
55374 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
55375 - ;;
55376 + ;; #(
55377 *)
55378 # `set' quotes correctly as required by POSIX, so do not add quotes.
55379 - sed -n \
55380 - "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
55381 + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
55382 ;;
55383 - esac;
55384 -} |
55385 + esac |
55386 + sort
55387 +) |
55388 sed '
55389 + /^ac_cv_env_/b end
55390 t clear
55391 - : clear
55392 + :clear
55393 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
55394 t end
55395 - /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
55396 - : end' >>confcache
55397 -if diff $cache_file confcache >/dev/null 2>&1; then :; else
55398 - if test -w $cache_file; then
55399 - test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
55400 + s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
55401 + :end' >>confcache
55402 +if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
55403 + if test -w "$cache_file"; then
55404 + test "x$cache_file" != "x/dev/null" &&
55405 + { echo "$as_me:$LINENO: updating cache $cache_file" >&5
55406 +echo "$as_me: updating cache $cache_file" >&6;}
55407 cat confcache >$cache_file
55408 else
55409 - echo "not updating unwritable cache $cache_file"
55410 + { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
55411 +echo "$as_me: not updating unwritable cache $cache_file" >&6;}
55412 fi
55413 fi
55414 rm -f confcache
55415 @@ -11193,32 +11649,18 @@ test "x$prefix" = xNONE && prefix=$ac_de
55416 # Let make expand exec_prefix.
55417 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
55418
55419 -# VPATH may cause trouble with some makes, so we remove $(srcdir),
55420 -# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
55421 -# trailing colons and then remove the whole line if VPATH becomes empty
55422 -# (actually we leave an empty line to preserve line numbers).
55423 -if test "x$srcdir" = x.; then
55424 - ac_vpsub='/^[ ]*VPATH[ ]*=/{
55425 -s/:*\$(srcdir):*/:/;
55426 -s/:*\${srcdir}:*/:/;
55427 -s/:*@srcdir@:*/:/;
55428 -s/^\([^=]*=[ ]*\):*/\1/;
55429 -s/:*$//;
55430 -s/^[^=]*=[ ]*$//;
55431 -}'
55432 -fi
55433 -
55434 DEFS=-DHAVE_CONFIG_H
55435
55436 ac_libobjs=
55437 ac_ltlibobjs=
55438 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
55439 # 1. Remove the extension, and $U if already installed.
55440 - ac_i=`echo "$ac_i" |
55441 - sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
55442 - # 2. Add them.
55443 - ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
55444 - ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
55445 + ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
55446 + ac_i=`echo "$ac_i" | sed "$ac_script"`
55447 + # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
55448 + # will be set to the directory where LIBOBJS objects are built.
55449 + ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
55450 + ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
55451 done
55452 LIBOBJS=$ac_libobjs
55453
55454 @@ -11270,17 +11712,45 @@ cat >>$CONFIG_STATUS <<\_ACEOF
55455 ## M4sh Initialization. ##
55456 ## --------------------- ##
55457
55458 -# Be Bourne compatible
55459 +# Be more Bourne compatible
55460 +DUALCASE=1; export DUALCASE # for MKS sh
55461 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
55462 emulate sh
55463 NULLCMD=:
55464 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
55465 # is contrary to our usage. Disable this feature.
55466 alias -g '${1+"$@"}'='"$@"'
55467 -elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
55468 - set -o posix
55469 + setopt NO_GLOB_SUBST
55470 +else
55471 + case `(set -o) 2>/dev/null` in
55472 + *posix*) set -o posix ;;
55473 +esac
55474 +
55475 +fi
55476 +
55477 +
55478 +
55479 +
55480 +# PATH needs CR
55481 +# Avoid depending upon Character Ranges.
55482 +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
55483 +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
55484 +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
55485 +as_cr_digits='0123456789'
55486 +as_cr_alnum=$as_cr_Letters$as_cr_digits
55487 +
55488 +# The user is always right.
55489 +if test "${PATH_SEPARATOR+set}" != set; then
55490 + echo "#! /bin/sh" >conf$$.sh
55491 + echo "exit 0" >>conf$$.sh
55492 + chmod +x conf$$.sh
55493 + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
55494 + PATH_SEPARATOR=';'
55495 + else
55496 + PATH_SEPARATOR=:
55497 + fi
55498 + rm -f conf$$.sh
55499 fi
55500 -DUALCASE=1; export DUALCASE # for MKS sh
55501
55502 # Support unset when possible.
55503 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
55504 @@ -11290,8 +11760,43 @@ else
55505 fi
55506
55507
55508 +# IFS
55509 +# We need space, tab and new line, in precisely that order. Quoting is
55510 +# there to prevent editors from complaining about space-tab.
55511 +# (If _AS_PATH_WALK were called with IFS unset, it would disable word
55512 +# splitting by setting IFS to empty value.)
55513 +as_nl='
55514 +'
55515 +IFS=" "" $as_nl"
55516 +
55517 +# Find who we are. Look in the path if we contain no directory separator.
55518 +case $0 in
55519 + *[\\/]* ) as_myself=$0 ;;
55520 + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
55521 +for as_dir in $PATH
55522 +do
55523 + IFS=$as_save_IFS
55524 + test -z "$as_dir" && as_dir=.
55525 + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
55526 +done
55527 +IFS=$as_save_IFS
55528 +
55529 + ;;
55530 +esac
55531 +# We did not find ourselves, most probably we were run as `sh COMMAND'
55532 +# in which case we are not to be found in the path.
55533 +if test "x$as_myself" = x; then
55534 + as_myself=$0
55535 +fi
55536 +if test ! -f "$as_myself"; then
55537 + echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
55538 + { (exit 1); exit 1; }
55539 +fi
55540 +
55541 # Work around bugs in pre-3.0 UWIN ksh.
55542 -$as_unset ENV MAIL MAILPATH
55543 +for as_var in ENV MAIL MAILPATH
55544 +do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
55545 +done
55546 PS1='$ '
55547 PS2='> '
55548 PS4='+ '
55549 @@ -11305,18 +11810,19 @@ do
55550 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
55551 eval $as_var=C; export $as_var
55552 else
55553 - $as_unset $as_var
55554 + ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
55555 fi
55556 done
55557
55558 # Required to use basename.
55559 -if expr a : '\(a\)' >/dev/null 2>&1; then
55560 +if expr a : '\(a\)' >/dev/null 2>&1 &&
55561 + test "X`expr 00001 : '.*\(...\)'`" = X001; then
55562 as_expr=expr
55563 else
55564 as_expr=false
55565 fi
55566
55567 -if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
55568 +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
55569 as_basename=basename
55570 else
55571 as_basename=false
55572 @@ -11324,159 +11830,120 @@ fi
55573
55574
55575 # Name of the executable.
55576 -as_me=`$as_basename "$0" ||
55577 +as_me=`$as_basename -- "$0" ||
55578 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
55579 X"$0" : 'X\(//\)$' \| \
55580 - X"$0" : 'X\(/\)$' \| \
55581 - . : '\(.\)' 2>/dev/null ||
55582 + X"$0" : 'X\(/\)' \| . 2>/dev/null ||
55583 echo X/"$0" |
55584 - sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
55585 - /^X\/\(\/\/\)$/{ s//\1/; q; }
55586 - /^X\/\(\/\).*/{ s//\1/; q; }
55587 - s/.*/./; q'`
55588 -
55589 -
55590 -# PATH needs CR, and LINENO needs CR and PATH.
55591 -# Avoid depending upon Character Ranges.
55592 -as_cr_letters='abcdefghijklmnopqrstuvwxyz'
55593 -as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
55594 -as_cr_Letters=$as_cr_letters$as_cr_LETTERS
55595 -as_cr_digits='0123456789'
55596 -as_cr_alnum=$as_cr_Letters$as_cr_digits
55597 + sed '/^.*\/\([^/][^/]*\)\/*$/{
55598 + s//\1/
55599 + q
55600 + }
55601 + /^X\/\(\/\/\)$/{
55602 + s//\1/
55603 + q
55604 + }
55605 + /^X\/\(\/\).*/{
55606 + s//\1/
55607 + q
55608 + }
55609 + s/.*/./; q'`
55610
55611 -# The user is always right.
55612 -if test "${PATH_SEPARATOR+set}" != set; then
55613 - echo "#! /bin/sh" >conf$$.sh
55614 - echo "exit 0" >>conf$$.sh
55615 - chmod +x conf$$.sh
55616 - if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
55617 - PATH_SEPARATOR=';'
55618 - else
55619 - PATH_SEPARATOR=:
55620 - fi
55621 - rm -f conf$$.sh
55622 -fi
55623 +# CDPATH.
55624 +$as_unset CDPATH
55625
55626
55627 - as_lineno_1=$LINENO
55628 - as_lineno_2=$LINENO
55629 - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
55630 - test "x$as_lineno_1" != "x$as_lineno_2" &&
55631 - test "x$as_lineno_3" = "x$as_lineno_2" || {
55632 - # Find who we are. Look in the path if we contain no path at all
55633 - # relative or not.
55634 - case $0 in
55635 - *[\\/]* ) as_myself=$0 ;;
55636 - *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
55637 -for as_dir in $PATH
55638 -do
55639 - IFS=$as_save_IFS
55640 - test -z "$as_dir" && as_dir=.
55641 - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
55642 -done
55643
55644 - ;;
55645 - esac
55646 - # We did not find ourselves, most probably we were run as `sh COMMAND'
55647 - # in which case we are not to be found in the path.
55648 - if test "x$as_myself" = x; then
55649 - as_myself=$0
55650 - fi
55651 - if test ! -f "$as_myself"; then
55652 - { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
55653 -echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
55654 - { (exit 1); exit 1; }; }
55655 - fi
55656 - case $CONFIG_SHELL in
55657 - '')
55658 - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
55659 -for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
55660 -do
55661 - IFS=$as_save_IFS
55662 - test -z "$as_dir" && as_dir=.
55663 - for as_base in sh bash ksh sh5; do
55664 - case $as_dir in
55665 - /*)
55666 - if ("$as_dir/$as_base" -c '
55667 as_lineno_1=$LINENO
55668 as_lineno_2=$LINENO
55669 - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
55670 test "x$as_lineno_1" != "x$as_lineno_2" &&
55671 - test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
55672 - $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
55673 - $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
55674 - CONFIG_SHELL=$as_dir/$as_base
55675 - export CONFIG_SHELL
55676 - exec "$CONFIG_SHELL" "$0" ${1+"$@"}
55677 - fi;;
55678 - esac
55679 - done
55680 -done
55681 -;;
55682 - esac
55683 + test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
55684
55685 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
55686 # uniformly replaced by the line number. The first 'sed' inserts a
55687 - # line-number line before each line; the second 'sed' does the real
55688 - # work. The second script uses 'N' to pair each line-number line
55689 - # with the numbered line, and appends trailing '-' during
55690 - # substitution so that $LINENO is not a special case at line end.
55691 + # line-number line after each line using $LINENO; the second 'sed'
55692 + # does the real work. The second script uses 'N' to pair each
55693 + # line-number line with the line containing $LINENO, and appends
55694 + # trailing '-' during substitution so that $LINENO is not a special
55695 + # case at line end.
55696 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
55697 - # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
55698 - sed '=' <$as_myself |
55699 + # scripts with optimization help from Paolo Bonzini. Blame Lee
55700 + # E. McMahon (1931-1989) for sed's syntax. :-)
55701 + sed -n '
55702 + p
55703 + /[$]LINENO/=
55704 + ' <$as_myself |
55705 sed '
55706 + s/[$]LINENO.*/&-/
55707 + t lineno
55708 + b
55709 + :lineno
55710 N
55711 - s,$,-,
55712 - : loop
55713 - s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
55714 + :loop
55715 + s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
55716 t loop
55717 - s,-$,,
55718 - s,^['$as_cr_digits']*\n,,
55719 + s/-\n.*//
55720 ' >$as_me.lineno &&
55721 - chmod +x $as_me.lineno ||
55722 - { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
55723 -echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
55724 + chmod +x "$as_me.lineno" ||
55725 + { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
55726 { (exit 1); exit 1; }; }
55727
55728 # Don't try to exec as it changes $[0], causing all sort of problems
55729 # (the dirname of $[0] is not the place where we might find the
55730 - # original and so on. Autoconf is especially sensible to this).
55731 - . ./$as_me.lineno
55732 + # original and so on. Autoconf is especially sensitive to this).
55733 + . "./$as_me.lineno"
55734 # Exit status is that of the last command.
55735 exit
55736 }
55737
55738
55739 -case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
55740 - *c*,-n*) ECHO_N= ECHO_C='
55741 -' ECHO_T=' ' ;;
55742 - *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
55743 - *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
55744 +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
55745 + as_dirname=dirname
55746 +else
55747 + as_dirname=false
55748 +fi
55749 +
55750 +ECHO_C= ECHO_N= ECHO_T=
55751 +case `echo -n x` in
55752 +-n*)
55753 + case `echo 'x\c'` in
55754 + *c*) ECHO_T=' ';; # ECHO_T is single tab character.
55755 + *) ECHO_C='\c';;
55756 + esac;;
55757 +*)
55758 + ECHO_N='-n';;
55759 esac
55760
55761 -if expr a : '\(a\)' >/dev/null 2>&1; then
55762 +if expr a : '\(a\)' >/dev/null 2>&1 &&
55763 + test "X`expr 00001 : '.*\(...\)'`" = X001; then
55764 as_expr=expr
55765 else
55766 as_expr=false
55767 fi
55768
55769 rm -f conf$$ conf$$.exe conf$$.file
55770 +if test -d conf$$.dir; then
55771 + rm -f conf$$.dir/conf$$.file
55772 +else
55773 + rm -f conf$$.dir
55774 + mkdir conf$$.dir
55775 +fi
55776 echo >conf$$.file
55777 if ln -s conf$$.file conf$$ 2>/dev/null; then
55778 - # We could just check for DJGPP; but this test a) works b) is more generic
55779 - # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
55780 - if test -f conf$$.exe; then
55781 - # Don't use ln at all; we don't have any links
55782 + as_ln_s='ln -s'
55783 + # ... but there are two gotchas:
55784 + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
55785 + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
55786 + # In both cases, we have to default to `cp -p'.
55787 + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
55788 as_ln_s='cp -p'
55789 - else
55790 - as_ln_s='ln -s'
55791 - fi
55792 elif ln conf$$.file conf$$ 2>/dev/null; then
55793 as_ln_s=ln
55794 else
55795 as_ln_s='cp -p'
55796 fi
55797 -rm -f conf$$ conf$$.exe conf$$.file
55798 +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
55799 +rmdir conf$$.dir 2>/dev/null
55800
55801 if mkdir -p . 2>/dev/null; then
55802 as_mkdir_p=:
55803 @@ -11485,7 +11952,28 @@ else
55804 as_mkdir_p=false
55805 fi
55806
55807 -as_executable_p="test -f"
55808 +if test -x / >/dev/null 2>&1; then
55809 + as_test_x='test -x'
55810 +else
55811 + if ls -dL / >/dev/null 2>&1; then
55812 + as_ls_L_option=L
55813 + else
55814 + as_ls_L_option=
55815 + fi
55816 + as_test_x='
55817 + eval sh -c '\''
55818 + if test -d "$1"; then
55819 + test -d "$1/.";
55820 + else
55821 + case $1 in
55822 + -*)set "./$1";;
55823 + esac;
55824 + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
55825 + ???[sx]*):;;*)false;;esac;fi
55826 + '\'' sh
55827 + '
55828 +fi
55829 +as_executable_p=$as_test_x
55830
55831 # Sed expression to map a string onto a valid CPP name.
55832 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
55833 @@ -11493,32 +11981,15 @@ as_tr_cpp="eval sed 'y%*$as_cr_letters%P
55834 # Sed expression to map a string onto a valid variable name.
55835 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
55836
55837 -
55838 -# IFS
55839 -# We need space, tab and new line, in precisely that order.
55840 -as_nl='
55841 -'
55842 -IFS=" $as_nl"
55843 -
55844 -# CDPATH.
55845 -$as_unset CDPATH
55846 -
55847 +
55848 exec 6>&1
55849
55850 -# Open the log real soon, to keep \$[0] and so on meaningful, and to
55851 +# Save the log message, to keep $[0] and so on meaningful, and to
55852 # report actual input values of CONFIG_FILES etc. instead of their
55853 -# values after options handling. Logging --version etc. is OK.
55854 -exec 5>>config.log
55855 -{
55856 - echo
55857 - sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
55858 -## Running $as_me. ##
55859 -_ASBOX
55860 -} >&5
55861 -cat >&5 <<_CSEOF
55862 -
55863 +# values after options handling.
55864 +ac_log="
55865 This file was extended by $as_me, which was
55866 -generated by GNU Autoconf 2.59. Invocation command line was
55867 +generated by GNU Autoconf 2.61. Invocation command line was
55868
55869 CONFIG_FILES = $CONFIG_FILES
55870 CONFIG_HEADERS = $CONFIG_HEADERS
55871 @@ -11526,30 +11997,20 @@ generated by GNU Autoconf 2.59. Invocat
55872 CONFIG_COMMANDS = $CONFIG_COMMANDS
55873 $ $0 $@
55874
55875 -_CSEOF
55876 -echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
55877 -echo >&5
55878 +on `(hostname || uname -n) 2>/dev/null | sed 1q`
55879 +"
55880 +
55881 _ACEOF
55882
55883 +cat >>$CONFIG_STATUS <<_ACEOF
55884 # Files that config.status was made for.
55885 -if test -n "$ac_config_files"; then
55886 - echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
55887 -fi
55888 -
55889 -if test -n "$ac_config_headers"; then
55890 - echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
55891 -fi
55892 -
55893 -if test -n "$ac_config_links"; then
55894 - echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
55895 -fi
55896 +config_files="$ac_config_files"
55897 +config_headers="$ac_config_headers"
55898 +config_commands="$ac_config_commands"
55899
55900 -if test -n "$ac_config_commands"; then
55901 - echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
55902 -fi
55903 +_ACEOF
55904
55905 cat >>$CONFIG_STATUS <<\_ACEOF
55906 -
55907 ac_cs_usage="\
55908 \`$as_me' instantiates files from templates according to the
55909 current configuration.
55910 @@ -11557,7 +12018,7 @@ current configuration.
55911 Usage: $0 [OPTIONS] [FILE]...
55912
55913 -h, --help print this help, then exit
55914 - -V, --version print version number, then exit
55915 + -V, --version print version number and configuration settings, then exit
55916 -q, --quiet do not print progress messages
55917 -d, --debug don't remove temporary files
55918 --recheck update $as_me by reconfiguring in the same conditions
55919 @@ -11576,19 +12037,21 @@ Configuration commands:
55920 $config_commands
55921
55922 Report bugs to <bug-autoconf@gnu.org>."
55923 -_ACEOF
55924
55925 +_ACEOF
55926 cat >>$CONFIG_STATUS <<_ACEOF
55927 ac_cs_version="\\
55928 config.status
55929 -configured by $0, generated by GNU Autoconf 2.59,
55930 - with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
55931 +configured by $0, generated by GNU Autoconf 2.61,
55932 + with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
55933
55934 -Copyright (C) 2003 Free Software Foundation, Inc.
55935 +Copyright (C) 2006 Free Software Foundation, Inc.
55936 This config.status script is free software; the Free Software Foundation
55937 gives unlimited permission to copy, distribute and modify it."
55938 -srcdir=$srcdir
55939 -INSTALL="$INSTALL"
55940 +
55941 +ac_pwd='$ac_pwd'
55942 +srcdir='$srcdir'
55943 +INSTALL='$INSTALL'
55944 _ACEOF
55945
55946 cat >>$CONFIG_STATUS <<\_ACEOF
55947 @@ -11599,39 +12062,24 @@ while test $# != 0
55948 do
55949 case $1 in
55950 --*=*)
55951 - ac_option=`expr "x$1" : 'x\([^=]*\)='`
55952 - ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
55953 + ac_option=`expr "X$1" : 'X\([^=]*\)='`
55954 + ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
55955 ac_shift=:
55956 ;;
55957 - -*)
55958 + *)
55959 ac_option=$1
55960 ac_optarg=$2
55961 ac_shift=shift
55962 ;;
55963 - *) # This is not an option, so the user has probably given explicit
55964 - # arguments.
55965 - ac_option=$1
55966 - ac_need_defaults=false;;
55967 esac
55968
55969 case $ac_option in
55970 # Handling of the options.
55971 -_ACEOF
55972 -cat >>$CONFIG_STATUS <<\_ACEOF
55973 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
55974 ac_cs_recheck=: ;;
55975 - --version | --vers* | -V )
55976 - echo "$ac_cs_version"; exit 0 ;;
55977 - --he | --h)
55978 - # Conflict between --help and --header
55979 - { { echo "$as_me:$LINENO: error: ambiguous option: $1
55980 -Try \`$0 --help' for more information." >&5
55981 -echo "$as_me: error: ambiguous option: $1
55982 -Try \`$0 --help' for more information." >&2;}
55983 - { (exit 1); exit 1; }; };;
55984 - --help | --hel | -h )
55985 - echo "$ac_cs_usage"; exit 0 ;;
55986 - --debug | --d* | -d )
55987 + --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
55988 + echo "$ac_cs_version"; exit ;;
55989 + --debug | --debu | --deb | --de | --d | -d )
55990 debug=: ;;
55991 --file | --fil | --fi | --f )
55992 $ac_shift
55993 @@ -11641,18 +12089,24 @@ Try \`$0 --help' for more information."
55994 $ac_shift
55995 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
55996 ac_need_defaults=false;;
55997 + --he | --h)
55998 + # Conflict between --help and --header
55999 + { echo "$as_me: error: ambiguous option: $1
56000 +Try \`$0 --help' for more information." >&2
56001 + { (exit 1); exit 1; }; };;
56002 + --help | --hel | -h )
56003 + echo "$ac_cs_usage"; exit ;;
56004 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
56005 | -silent | --silent | --silen | --sile | --sil | --si | --s)
56006 ac_cs_silent=: ;;
56007
56008 # This is an error.
56009 - -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
56010 -Try \`$0 --help' for more information." >&5
56011 -echo "$as_me: error: unrecognized option: $1
56012 -Try \`$0 --help' for more information." >&2;}
56013 + -*) { echo "$as_me: error: unrecognized option: $1
56014 +Try \`$0 --help' for more information." >&2
56015 { (exit 1); exit 1; }; } ;;
56016
56017 - *) ac_config_targets="$ac_config_targets $1" ;;
56018 + *) ac_config_targets="$ac_config_targets $1"
56019 + ac_need_defaults=false ;;
56020
56021 esac
56022 shift
56023 @@ -11668,17 +12122,28 @@ fi
56024 _ACEOF
56025 cat >>$CONFIG_STATUS <<_ACEOF
56026 if \$ac_cs_recheck; then
56027 - echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
56028 - exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
56029 + echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
56030 + CONFIG_SHELL=$SHELL
56031 + export CONFIG_SHELL
56032 + exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
56033 fi
56034
56035 _ACEOF
56036 +cat >>$CONFIG_STATUS <<\_ACEOF
56037 +exec 5>>config.log
56038 +{
56039 + echo
56040 + sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
56041 +## Running $as_me. ##
56042 +_ASBOX
56043 + echo "$ac_log"
56044 +} >&5
56045
56046 +_ACEOF
56047 cat >>$CONFIG_STATUS <<_ACEOF
56048 #
56049 -# INIT-COMMANDS section.
56050 +# INIT-COMMANDS
56051 #
56052 -
56053 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
56054 target_cpu_type=${target_cpu_type}
56055 cgen_cpu_prefix=${cgen_cpu_prefix}
56056 @@ -11687,27 +12152,28 @@ target_cpu_type=${target_cpu_type}
56057
56058 _ACEOF
56059
56060 -
56061 -
56062 cat >>$CONFIG_STATUS <<\_ACEOF
56063 +
56064 +# Handling of arguments.
56065 for ac_config_target in $ac_config_targets
56066 do
56067 - case "$ac_config_target" in
56068 - # Handling of arguments.
56069 - "gdb.ini" ) CONFIG_FILES="$CONFIG_FILES gdb.ini:gdbinit.in" ;;
56070 - ".gdbinit" ) CONFIG_FILES="$CONFIG_FILES .gdbinit:gdbinit.in" ;;
56071 - "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
56072 - "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
56073 - "po/Makefile.in" ) CONFIG_FILES="$CONFIG_FILES po/Makefile.in:po/Make-in" ;;
56074 - "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
56075 - "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
56076 - "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.in" ;;
56077 + case $ac_config_target in
56078 + "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
56079 + "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.in" ;;
56080 + "gdb.ini") CONFIG_FILES="$CONFIG_FILES gdb.ini:gdbinit.in" ;;
56081 + ".gdbinit") CONFIG_FILES="$CONFIG_FILES .gdbinit:gdbinit.in" ;;
56082 + "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
56083 + "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
56084 + "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in:po/Make-in" ;;
56085 + "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
56086 +
56087 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
56088 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
56089 { (exit 1); exit 1; }; };;
56090 esac
56091 done
56092
56093 +
56094 # If the user did not use the arguments to specify the items to instantiate,
56095 # then the envvar interface is used. Set only those that are not.
56096 # We use the long form for the default assignment because of an extremely
56097 @@ -11719,388 +12185,493 @@ if $ac_need_defaults; then
56098 fi
56099
56100 # Have a temporary directory for convenience. Make it in the build tree
56101 -# simply because there is no reason to put it here, and in addition,
56102 +# simply because there is no reason against having it here, and in addition,
56103 # creating and moving files from /tmp can sometimes cause problems.
56104 -# Create a temporary directory, and hook for its removal unless debugging.
56105 +# Hook for its removal unless debugging.
56106 +# Note that there is a small window in which the directory will not be cleaned:
56107 +# after its creation but before its name has been assigned to `$tmp'.
56108 $debug ||
56109 {
56110 - trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
56111 + tmp=
56112 + trap 'exit_status=$?
56113 + { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
56114 +' 0
56115 trap '{ (exit 1); exit 1; }' 1 2 13 15
56116 }
56117 -
56118 # Create a (secure) tmp directory for tmp files.
56119
56120 {
56121 - tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
56122 + tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
56123 test -n "$tmp" && test -d "$tmp"
56124 } ||
56125 {
56126 - tmp=./confstat$$-$RANDOM
56127 - (umask 077 && mkdir $tmp)
56128 + tmp=./conf$$-$RANDOM
56129 + (umask 077 && mkdir "$tmp")
56130 } ||
56131 {
56132 echo "$me: cannot create a temporary directory in ." >&2
56133 { (exit 1); exit 1; }
56134 }
56135
56136 -_ACEOF
56137 -
56138 -cat >>$CONFIG_STATUS <<_ACEOF
56139 -
56140 #
56141 -# CONFIG_FILES section.
56142 +# Set up the sed scripts for CONFIG_FILES section.
56143 #
56144
56145 # No need to generate the scripts if there are no CONFIG_FILES.
56146 # This happens for instance when ./config.status config.h
56147 -if test -n "\$CONFIG_FILES"; then
56148 - # Protect against being on the right side of a sed subst in config.status.
56149 - sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
56150 - s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
56151 -s,@SHELL@,$SHELL,;t t
56152 -s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
56153 -s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
56154 -s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
56155 -s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
56156 -s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
56157 -s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
56158 -s,@exec_prefix@,$exec_prefix,;t t
56159 -s,@prefix@,$prefix,;t t
56160 -s,@program_transform_name@,$program_transform_name,;t t
56161 -s,@bindir@,$bindir,;t t
56162 -s,@sbindir@,$sbindir,;t t
56163 -s,@libexecdir@,$libexecdir,;t t
56164 -s,@datadir@,$datadir,;t t
56165 -s,@sysconfdir@,$sysconfdir,;t t
56166 -s,@sharedstatedir@,$sharedstatedir,;t t
56167 -s,@localstatedir@,$localstatedir,;t t
56168 -s,@libdir@,$libdir,;t t
56169 -s,@includedir@,$includedir,;t t
56170 -s,@oldincludedir@,$oldincludedir,;t t
56171 -s,@infodir@,$infodir,;t t
56172 -s,@mandir@,$mandir,;t t
56173 -s,@build_alias@,$build_alias,;t t
56174 -s,@host_alias@,$host_alias,;t t
56175 -s,@target_alias@,$target_alias,;t t
56176 -s,@DEFS@,$DEFS,;t t
56177 -s,@ECHO_C@,$ECHO_C,;t t
56178 -s,@ECHO_N@,$ECHO_N,;t t
56179 -s,@ECHO_T@,$ECHO_T,;t t
56180 -s,@LIBS@,$LIBS,;t t
56181 -s,@build@,$build,;t t
56182 -s,@build_cpu@,$build_cpu,;t t
56183 -s,@build_vendor@,$build_vendor,;t t
56184 -s,@build_os@,$build_os,;t t
56185 -s,@host@,$host,;t t
56186 -s,@host_cpu@,$host_cpu,;t t
56187 -s,@host_vendor@,$host_vendor,;t t
56188 -s,@host_os@,$host_os,;t t
56189 -s,@target@,$target,;t t
56190 -s,@target_cpu@,$target_cpu,;t t
56191 -s,@target_vendor@,$target_vendor,;t t
56192 -s,@target_os@,$target_os,;t t
56193 -s,@CC@,$CC,;t t
56194 -s,@CFLAGS@,$CFLAGS,;t t
56195 -s,@LDFLAGS@,$LDFLAGS,;t t
56196 -s,@CPPFLAGS@,$CPPFLAGS,;t t
56197 -s,@ac_ct_CC@,$ac_ct_CC,;t t
56198 -s,@EXEEXT@,$EXEEXT,;t t
56199 -s,@OBJEXT@,$OBJEXT,;t t
56200 -s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
56201 -s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
56202 -s,@INSTALL_DATA@,$INSTALL_DATA,;t t
56203 -s,@CYGPATH_W@,$CYGPATH_W,;t t
56204 -s,@PACKAGE@,$PACKAGE,;t t
56205 -s,@VERSION@,$VERSION,;t t
56206 -s,@ACLOCAL@,$ACLOCAL,;t t
56207 -s,@AUTOCONF@,$AUTOCONF,;t t
56208 -s,@AUTOMAKE@,$AUTOMAKE,;t t
56209 -s,@AUTOHEADER@,$AUTOHEADER,;t t
56210 -s,@MAKEINFO@,$MAKEINFO,;t t
56211 -s,@install_sh@,$install_sh,;t t
56212 -s,@STRIP@,$STRIP,;t t
56213 -s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
56214 -s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
56215 -s,@mkdir_p@,$mkdir_p,;t t
56216 -s,@AWK@,$AWK,;t t
56217 -s,@SET_MAKE@,$SET_MAKE,;t t
56218 -s,@am__leading_dot@,$am__leading_dot,;t t
56219 -s,@AMTAR@,$AMTAR,;t t
56220 -s,@am__tar@,$am__tar,;t t
56221 -s,@am__untar@,$am__untar,;t t
56222 -s,@DEPDIR@,$DEPDIR,;t t
56223 -s,@am__include@,$am__include,;t t
56224 -s,@am__quote@,$am__quote,;t t
56225 -s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
56226 -s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
56227 -s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
56228 -s,@CCDEPMODE@,$CCDEPMODE,;t t
56229 -s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
56230 -s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
56231 -s,@LN_S@,$LN_S,;t t
56232 -s,@RANLIB@,$RANLIB,;t t
56233 -s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
56234 -s,@LIBTOOL@,$LIBTOOL,;t t
56235 -s,@WARN_CFLAGS@,$WARN_CFLAGS,;t t
56236 -s,@NO_WERROR@,$NO_WERROR,;t t
56237 -s,@GDBINIT@,$GDBINIT,;t t
56238 -s,@cgen_cpu_prefix@,$cgen_cpu_prefix,;t t
56239 -s,@extra_objects@,$extra_objects,;t t
56240 -s,@target_cpu_type@,$target_cpu_type,;t t
56241 -s,@obj_format@,$obj_format,;t t
56242 -s,@te_file@,$te_file,;t t
56243 -s,@install_tooldir@,$install_tooldir,;t t
56244 -s,@atof@,$atof,;t t
56245 -s,@BFDLIB@,$BFDLIB,;t t
56246 -s,@OPCODES_LIB@,$OPCODES_LIB,;t t
56247 -s,@BFDVER_H@,$BFDVER_H,;t t
56248 -s,@ALL_OBJ_DEPS@,$ALL_OBJ_DEPS,;t t
56249 -s,@YACC@,$YACC,;t t
56250 -s,@LEX@,$LEX,;t t
56251 -s,@LEXLIB@,$LEXLIB,;t t
56252 -s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
56253 -s,@CPP@,$CPP,;t t
56254 -s,@EGREP@,$EGREP,;t t
56255 -s,@ALLOCA@,$ALLOCA,;t t
56256 -s,@USE_NLS@,$USE_NLS,;t t
56257 -s,@MSGFMT@,$MSGFMT,;t t
56258 -s,@GMSGFMT@,$GMSGFMT,;t t
56259 -s,@XGETTEXT@,$XGETTEXT,;t t
56260 -s,@USE_INCLUDED_LIBINTL@,$USE_INCLUDED_LIBINTL,;t t
56261 -s,@CATALOGS@,$CATALOGS,;t t
56262 -s,@CATOBJEXT@,$CATOBJEXT,;t t
56263 -s,@DATADIRNAME@,$DATADIRNAME,;t t
56264 -s,@GMOFILES@,$GMOFILES,;t t
56265 -s,@INSTOBJEXT@,$INSTOBJEXT,;t t
56266 -s,@INTLDEPS@,$INTLDEPS,;t t
56267 -s,@INTLLIBS@,$INTLLIBS,;t t
56268 -s,@INTLOBJS@,$INTLOBJS,;t t
56269 -s,@POFILES@,$POFILES,;t t
56270 -s,@POSUB@,$POSUB,;t t
56271 -s,@INCLUDE_LOCALE_H@,$INCLUDE_LOCALE_H,;t t
56272 -s,@GT_NO@,$GT_NO,;t t
56273 -s,@GT_YES@,$GT_YES,;t t
56274 -s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
56275 -s,@l@,$l,;t t
56276 -s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
56277 -s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
56278 -s,@MAINT@,$MAINT,;t t
56279 -s,@LIBM@,$LIBM,;t t
56280 -s,@datarootdir@,$datarootdir,;t t
56281 -s,@docdir@,$docdir,;t t
56282 -s,@htmldir@,$htmldir,;t t
56283 -s,@LIBOBJS@,$LIBOBJS,;t t
56284 -s,@LTLIBOBJS@,$LTLIBOBJS,;t t
56285 -CEOF
56286 -
56287 -_ACEOF
56288 -
56289 - cat >>$CONFIG_STATUS <<\_ACEOF
56290 - # Split the substitutions into bite-sized pieces for seds with
56291 - # small command number limits, like on Digital OSF/1 and HP-UX.
56292 - ac_max_sed_lines=48
56293 - ac_sed_frag=1 # Number of current file.
56294 - ac_beg=1 # First line for current file.
56295 - ac_end=$ac_max_sed_lines # Line after last line for current file.
56296 - ac_more_lines=:
56297 - ac_sed_cmds=
56298 - while $ac_more_lines; do
56299 - if test $ac_beg -gt 1; then
56300 - sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
56301 - else
56302 - sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
56303 - fi
56304 - if test ! -s $tmp/subs.frag; then
56305 - ac_more_lines=false
56306 - else
56307 - # The purpose of the label and of the branching condition is to
56308 - # speed up the sed processing (if there are no `@' at all, there
56309 - # is no need to browse any of the substitutions).
56310 - # These are the two extra sed commands mentioned above.
56311 - (echo ':t
56312 - /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
56313 - if test -z "$ac_sed_cmds"; then
56314 - ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
56315 - else
56316 - ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
56317 - fi
56318 - ac_sed_frag=`expr $ac_sed_frag + 1`
56319 - ac_beg=$ac_end
56320 - ac_end=`expr $ac_end + $ac_max_sed_lines`
56321 - fi
56322 - done
56323 - if test -z "$ac_sed_cmds"; then
56324 - ac_sed_cmds=cat
56325 +if test -n "$CONFIG_FILES"; then
56326 +
56327 +_ACEOF
56328 +
56329 +
56330 +
56331 +ac_delim='%!_!# '
56332 +for ac_last_try in false false false false false :; do
56333 + cat >conf$$subs.sed <<_ACEOF
56334 +SHELL!$SHELL$ac_delim
56335 +PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
56336 +PACKAGE_NAME!$PACKAGE_NAME$ac_delim
56337 +PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
56338 +PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
56339 +PACKAGE_STRING!$PACKAGE_STRING$ac_delim
56340 +PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
56341 +exec_prefix!$exec_prefix$ac_delim
56342 +prefix!$prefix$ac_delim
56343 +program_transform_name!$program_transform_name$ac_delim
56344 +bindir!$bindir$ac_delim
56345 +sbindir!$sbindir$ac_delim
56346 +libexecdir!$libexecdir$ac_delim
56347 +datarootdir!$datarootdir$ac_delim
56348 +datadir!$datadir$ac_delim
56349 +sysconfdir!$sysconfdir$ac_delim
56350 +sharedstatedir!$sharedstatedir$ac_delim
56351 +localstatedir!$localstatedir$ac_delim
56352 +includedir!$includedir$ac_delim
56353 +oldincludedir!$oldincludedir$ac_delim
56354 +docdir!$docdir$ac_delim
56355 +infodir!$infodir$ac_delim
56356 +htmldir!$htmldir$ac_delim
56357 +dvidir!$dvidir$ac_delim
56358 +pdfdir!$pdfdir$ac_delim
56359 +psdir!$psdir$ac_delim
56360 +libdir!$libdir$ac_delim
56361 +localedir!$localedir$ac_delim
56362 +mandir!$mandir$ac_delim
56363 +DEFS!$DEFS$ac_delim
56364 +ECHO_C!$ECHO_C$ac_delim
56365 +ECHO_N!$ECHO_N$ac_delim
56366 +ECHO_T!$ECHO_T$ac_delim
56367 +LIBS!$LIBS$ac_delim
56368 +build_alias!$build_alias$ac_delim
56369 +host_alias!$host_alias$ac_delim
56370 +target_alias!$target_alias$ac_delim
56371 +build!$build$ac_delim
56372 +build_cpu!$build_cpu$ac_delim
56373 +build_vendor!$build_vendor$ac_delim
56374 +build_os!$build_os$ac_delim
56375 +host!$host$ac_delim
56376 +host_cpu!$host_cpu$ac_delim
56377 +host_vendor!$host_vendor$ac_delim
56378 +host_os!$host_os$ac_delim
56379 +target!$target$ac_delim
56380 +target_cpu!$target_cpu$ac_delim
56381 +target_vendor!$target_vendor$ac_delim
56382 +target_os!$target_os$ac_delim
56383 +CC!$CC$ac_delim
56384 +CFLAGS!$CFLAGS$ac_delim
56385 +LDFLAGS!$LDFLAGS$ac_delim
56386 +CPPFLAGS!$CPPFLAGS$ac_delim
56387 +ac_ct_CC!$ac_ct_CC$ac_delim
56388 +EXEEXT!$EXEEXT$ac_delim
56389 +OBJEXT!$OBJEXT$ac_delim
56390 +INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
56391 +INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
56392 +INSTALL_DATA!$INSTALL_DATA$ac_delim
56393 +CYGPATH_W!$CYGPATH_W$ac_delim
56394 +PACKAGE!$PACKAGE$ac_delim
56395 +VERSION!$VERSION$ac_delim
56396 +ACLOCAL!$ACLOCAL$ac_delim
56397 +AUTOCONF!$AUTOCONF$ac_delim
56398 +AUTOMAKE!$AUTOMAKE$ac_delim
56399 +AUTOHEADER!$AUTOHEADER$ac_delim
56400 +MAKEINFO!$MAKEINFO$ac_delim
56401 +install_sh!$install_sh$ac_delim
56402 +STRIP!$STRIP$ac_delim
56403 +INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
56404 +mkdir_p!$mkdir_p$ac_delim
56405 +AWK!$AWK$ac_delim
56406 +SET_MAKE!$SET_MAKE$ac_delim
56407 +am__leading_dot!$am__leading_dot$ac_delim
56408 +AMTAR!$AMTAR$ac_delim
56409 +am__tar!$am__tar$ac_delim
56410 +am__untar!$am__untar$ac_delim
56411 +DEPDIR!$DEPDIR$ac_delim
56412 +am__include!$am__include$ac_delim
56413 +am__quote!$am__quote$ac_delim
56414 +AMDEP_TRUE!$AMDEP_TRUE$ac_delim
56415 +AMDEP_FALSE!$AMDEP_FALSE$ac_delim
56416 +AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
56417 +CCDEPMODE!$CCDEPMODE$ac_delim
56418 +am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
56419 +am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
56420 +LN_S!$LN_S$ac_delim
56421 +RANLIB!$RANLIB$ac_delim
56422 +LIBTOOL!$LIBTOOL$ac_delim
56423 +WARN_CFLAGS!$WARN_CFLAGS$ac_delim
56424 +NO_WERROR!$NO_WERROR$ac_delim
56425 +GDBINIT!$GDBINIT$ac_delim
56426 +CPP!$CPP$ac_delim
56427 +GREP!$GREP$ac_delim
56428 +EGREP!$EGREP$ac_delim
56429 +cgen_cpu_prefix!$cgen_cpu_prefix$ac_delim
56430 +extra_objects!$extra_objects$ac_delim
56431 +_ACEOF
56432 +
56433 + if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
56434 + break
56435 + elif $ac_last_try; then
56436 + { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
56437 +echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
56438 + { (exit 1); exit 1; }; }
56439 + else
56440 + ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
56441 fi
56442 -fi # test -n "$CONFIG_FILES"
56443 +done
56444 +
56445 +ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
56446 +if test -n "$ac_eof"; then
56447 + ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
56448 + ac_eof=`expr $ac_eof + 1`
56449 +fi
56450 +
56451 +cat >>$CONFIG_STATUS <<_ACEOF
56452 +cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
56453 +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
56454 +_ACEOF
56455 +sed '
56456 +s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
56457 +s/^/s,@/; s/!/@,|#_!!_#|/
56458 +:n
56459 +t n
56460 +s/'"$ac_delim"'$/,g/; t
56461 +s/$/\\/; p
56462 +N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
56463 +' >>$CONFIG_STATUS <conf$$subs.sed
56464 +rm -f conf$$subs.sed
56465 +cat >>$CONFIG_STATUS <<_ACEOF
56466 +CEOF$ac_eof
56467 +_ACEOF
56468 +
56469 +
56470 +ac_delim='%!_!# '
56471 +for ac_last_try in false false false false false :; do
56472 + cat >conf$$subs.sed <<_ACEOF
56473 +target_cpu_type!$target_cpu_type$ac_delim
56474 +obj_format!$obj_format$ac_delim
56475 +te_file!$te_file$ac_delim
56476 +install_tooldir!$install_tooldir$ac_delim
56477 +atof!$atof$ac_delim
56478 +BFDLIB!$BFDLIB$ac_delim
56479 +OPCODES_LIB!$OPCODES_LIB$ac_delim
56480 +BFDVER_H!$BFDVER_H$ac_delim
56481 +ALL_OBJ_DEPS!$ALL_OBJ_DEPS$ac_delim
56482 +YACC!$YACC$ac_delim
56483 +YFLAGS!$YFLAGS$ac_delim
56484 +LEX!$LEX$ac_delim
56485 +LEX_OUTPUT_ROOT!$LEX_OUTPUT_ROOT$ac_delim
56486 +LEXLIB!$LEXLIB$ac_delim
56487 +ALLOCA!$ALLOCA$ac_delim
56488 +USE_NLS!$USE_NLS$ac_delim
56489 +MSGFMT!$MSGFMT$ac_delim
56490 +GMSGFMT!$GMSGFMT$ac_delim
56491 +XGETTEXT!$XGETTEXT$ac_delim
56492 +USE_INCLUDED_LIBINTL!$USE_INCLUDED_LIBINTL$ac_delim
56493 +CATALOGS!$CATALOGS$ac_delim
56494 +CATOBJEXT!$CATOBJEXT$ac_delim
56495 +DATADIRNAME!$DATADIRNAME$ac_delim
56496 +GMOFILES!$GMOFILES$ac_delim
56497 +INSTOBJEXT!$INSTOBJEXT$ac_delim
56498 +INTLDEPS!$INTLDEPS$ac_delim
56499 +INTLLIBS!$INTLLIBS$ac_delim
56500 +INTLOBJS!$INTLOBJS$ac_delim
56501 +POFILES!$POFILES$ac_delim
56502 +POSUB!$POSUB$ac_delim
56503 +INCLUDE_LOCALE_H!$INCLUDE_LOCALE_H$ac_delim
56504 +GT_NO!$GT_NO$ac_delim
56505 +GT_YES!$GT_YES$ac_delim
56506 +MKINSTALLDIRS!$MKINSTALLDIRS$ac_delim
56507 +l!$l$ac_delim
56508 +MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
56509 +MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
56510 +MAINT!$MAINT$ac_delim
56511 +LIBM!$LIBM$ac_delim
56512 +LIBOBJS!$LIBOBJS$ac_delim
56513 +LTLIBOBJS!$LTLIBOBJS$ac_delim
56514 +_ACEOF
56515 +
56516 + if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 41; then
56517 + break
56518 + elif $ac_last_try; then
56519 + { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
56520 +echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
56521 + { (exit 1); exit 1; }; }
56522 + else
56523 + ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
56524 + fi
56525 +done
56526
56527 +ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
56528 +if test -n "$ac_eof"; then
56529 + ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
56530 + ac_eof=`expr $ac_eof + 1`
56531 +fi
56532 +
56533 +cat >>$CONFIG_STATUS <<_ACEOF
56534 +cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
56535 +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
56536 +_ACEOF
56537 +sed '
56538 +s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
56539 +s/^/s,@/; s/!/@,|#_!!_#|/
56540 +:n
56541 +t n
56542 +s/'"$ac_delim"'$/,g/; t
56543 +s/$/\\/; p
56544 +N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
56545 +' >>$CONFIG_STATUS <conf$$subs.sed
56546 +rm -f conf$$subs.sed
56547 +cat >>$CONFIG_STATUS <<_ACEOF
56548 +:end
56549 +s/|#_!!_#|//g
56550 +CEOF$ac_eof
56551 _ACEOF
56552 +
56553 +
56554 +# VPATH may cause trouble with some makes, so we remove $(srcdir),
56555 +# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
56556 +# trailing colons and then remove the whole line if VPATH becomes empty
56557 +# (actually we leave an empty line to preserve line numbers).
56558 +if test "x$srcdir" = x.; then
56559 + ac_vpsub='/^[ ]*VPATH[ ]*=/{
56560 +s/:*\$(srcdir):*/:/
56561 +s/:*\${srcdir}:*/:/
56562 +s/:*@srcdir@:*/:/
56563 +s/^\([^=]*=[ ]*\):*/\1/
56564 +s/:*$//
56565 +s/^[^=]*=[ ]*$//
56566 +}'
56567 +fi
56568 +
56569 cat >>$CONFIG_STATUS <<\_ACEOF
56570 -for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
56571 - # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
56572 - case $ac_file in
56573 - - | *:- | *:-:* ) # input from stdin
56574 - cat >$tmp/stdin
56575 - ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
56576 - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
56577 - *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
56578 - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
56579 - * ) ac_file_in=$ac_file.in ;;
56580 +fi # test -n "$CONFIG_FILES"
56581 +
56582 +
56583 +for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
56584 +do
56585 + case $ac_tag in
56586 + :[FHLC]) ac_mode=$ac_tag; continue;;
56587 + esac
56588 + case $ac_mode$ac_tag in
56589 + :[FHL]*:*);;
56590 + :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
56591 +echo "$as_me: error: Invalid tag $ac_tag." >&2;}
56592 + { (exit 1); exit 1; }; };;
56593 + :[FH]-) ac_tag=-:-;;
56594 + :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
56595 + esac
56596 + ac_save_IFS=$IFS
56597 + IFS=:
56598 + set x $ac_tag
56599 + IFS=$ac_save_IFS
56600 + shift
56601 + ac_file=$1
56602 + shift
56603 +
56604 + case $ac_mode in
56605 + :L) ac_source=$1;;
56606 + :[FH])
56607 + ac_file_inputs=
56608 + for ac_f
56609 + do
56610 + case $ac_f in
56611 + -) ac_f="$tmp/stdin";;
56612 + *) # Look for the file first in the build tree, then in the source tree
56613 + # (if the path is not absolute). The absolute path cannot be DOS-style,
56614 + # because $ac_f cannot contain `:'.
56615 + test -f "$ac_f" ||
56616 + case $ac_f in
56617 + [\\/$]*) false;;
56618 + *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
56619 + esac ||
56620 + { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
56621 +echo "$as_me: error: cannot find input file: $ac_f" >&2;}
56622 + { (exit 1); exit 1; }; };;
56623 + esac
56624 + ac_file_inputs="$ac_file_inputs $ac_f"
56625 + done
56626 +
56627 + # Let's still pretend it is `configure' which instantiates (i.e., don't
56628 + # use $as_me), people would be surprised to read:
56629 + # /* config.h. Generated by config.status. */
56630 + configure_input="Generated from "`IFS=:
56631 + echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
56632 + if test x"$ac_file" != x-; then
56633 + configure_input="$ac_file. $configure_input"
56634 + { echo "$as_me:$LINENO: creating $ac_file" >&5
56635 +echo "$as_me: creating $ac_file" >&6;}
56636 + fi
56637 +
56638 + case $ac_tag in
56639 + *:-:* | *:-) cat >"$tmp/stdin";;
56640 + esac
56641 + ;;
56642 esac
56643
56644 - # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
56645 - ac_dir=`(dirname "$ac_file") 2>/dev/null ||
56646 + ac_dir=`$as_dirname -- "$ac_file" ||
56647 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
56648 X"$ac_file" : 'X\(//\)[^/]' \| \
56649 X"$ac_file" : 'X\(//\)$' \| \
56650 - X"$ac_file" : 'X\(/\)' \| \
56651 - . : '\(.\)' 2>/dev/null ||
56652 + X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
56653 echo X"$ac_file" |
56654 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
56655 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
56656 - /^X\(\/\/\)$/{ s//\1/; q; }
56657 - /^X\(\/\).*/{ s//\1/; q; }
56658 - s/.*/./; q'`
56659 - { if $as_mkdir_p; then
56660 - mkdir -p "$ac_dir"
56661 - else
56662 - as_dir="$ac_dir"
56663 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
56664 + s//\1/
56665 + q
56666 + }
56667 + /^X\(\/\/\)[^/].*/{
56668 + s//\1/
56669 + q
56670 + }
56671 + /^X\(\/\/\)$/{
56672 + s//\1/
56673 + q
56674 + }
56675 + /^X\(\/\).*/{
56676 + s//\1/
56677 + q
56678 + }
56679 + s/.*/./; q'`
56680 + { as_dir="$ac_dir"
56681 + case $as_dir in #(
56682 + -*) as_dir=./$as_dir;;
56683 + esac
56684 + test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
56685 as_dirs=
56686 - while test ! -d "$as_dir"; do
56687 - as_dirs="$as_dir $as_dirs"
56688 - as_dir=`(dirname "$as_dir") 2>/dev/null ||
56689 + while :; do
56690 + case $as_dir in #(
56691 + *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
56692 + *) as_qdir=$as_dir;;
56693 + esac
56694 + as_dirs="'$as_qdir' $as_dirs"
56695 + as_dir=`$as_dirname -- "$as_dir" ||
56696 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
56697 X"$as_dir" : 'X\(//\)[^/]' \| \
56698 X"$as_dir" : 'X\(//\)$' \| \
56699 - X"$as_dir" : 'X\(/\)' \| \
56700 - . : '\(.\)' 2>/dev/null ||
56701 + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
56702 echo X"$as_dir" |
56703 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
56704 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
56705 - /^X\(\/\/\)$/{ s//\1/; q; }
56706 - /^X\(\/\).*/{ s//\1/; q; }
56707 - s/.*/./; q'`
56708 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
56709 + s//\1/
56710 + q
56711 + }
56712 + /^X\(\/\/\)[^/].*/{
56713 + s//\1/
56714 + q
56715 + }
56716 + /^X\(\/\/\)$/{
56717 + s//\1/
56718 + q
56719 + }
56720 + /^X\(\/\).*/{
56721 + s//\1/
56722 + q
56723 + }
56724 + s/.*/./; q'`
56725 + test -d "$as_dir" && break
56726 done
56727 - test ! -n "$as_dirs" || mkdir $as_dirs
56728 - fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
56729 -echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
56730 + test -z "$as_dirs" || eval "mkdir $as_dirs"
56731 + } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
56732 +echo "$as_me: error: cannot create directory $as_dir" >&2;}
56733 { (exit 1); exit 1; }; }; }
56734 -
56735 ac_builddir=.
56736
56737 -if test "$ac_dir" != .; then
56738 +case "$ac_dir" in
56739 +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
56740 +*)
56741 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
56742 - # A "../" for each directory in $ac_dir_suffix.
56743 - ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
56744 -else
56745 - ac_dir_suffix= ac_top_builddir=
56746 -fi
56747 + # A ".." for each directory in $ac_dir_suffix.
56748 + ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
56749 + case $ac_top_builddir_sub in
56750 + "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
56751 + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
56752 + esac ;;
56753 +esac
56754 +ac_abs_top_builddir=$ac_pwd
56755 +ac_abs_builddir=$ac_pwd$ac_dir_suffix
56756 +# for backward compatibility:
56757 +ac_top_builddir=$ac_top_build_prefix
56758
56759 case $srcdir in
56760 - .) # No --srcdir option. We are building in place.
56761 + .) # We are building in place.
56762 ac_srcdir=.
56763 - if test -z "$ac_top_builddir"; then
56764 - ac_top_srcdir=.
56765 - else
56766 - ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
56767 - fi ;;
56768 - [\\/]* | ?:[\\/]* ) # Absolute path.
56769 + ac_top_srcdir=$ac_top_builddir_sub
56770 + ac_abs_top_srcdir=$ac_pwd ;;
56771 + [\\/]* | ?:[\\/]* ) # Absolute name.
56772 ac_srcdir=$srcdir$ac_dir_suffix;
56773 - ac_top_srcdir=$srcdir ;;
56774 - *) # Relative path.
56775 - ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
56776 - ac_top_srcdir=$ac_top_builddir$srcdir ;;
56777 -esac
56778 + ac_top_srcdir=$srcdir
56779 + ac_abs_top_srcdir=$srcdir ;;
56780 + *) # Relative name.
56781 + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
56782 + ac_top_srcdir=$ac_top_build_prefix$srcdir
56783 + ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
56784 +esac
56785 +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
56786
56787 -# Do not use `cd foo && pwd` to compute absolute paths, because
56788 -# the directories may not exist.
56789 -case `pwd` in
56790 -.) ac_abs_builddir="$ac_dir";;
56791 -*)
56792 - case "$ac_dir" in
56793 - .) ac_abs_builddir=`pwd`;;
56794 - [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
56795 - *) ac_abs_builddir=`pwd`/"$ac_dir";;
56796 - esac;;
56797 -esac
56798 -case $ac_abs_builddir in
56799 -.) ac_abs_top_builddir=${ac_top_builddir}.;;
56800 -*)
56801 - case ${ac_top_builddir}. in
56802 - .) ac_abs_top_builddir=$ac_abs_builddir;;
56803 - [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
56804 - *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
56805 - esac;;
56806 -esac
56807 -case $ac_abs_builddir in
56808 -.) ac_abs_srcdir=$ac_srcdir;;
56809 -*)
56810 - case $ac_srcdir in
56811 - .) ac_abs_srcdir=$ac_abs_builddir;;
56812 - [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
56813 - *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
56814 - esac;;
56815 -esac
56816 -case $ac_abs_builddir in
56817 -.) ac_abs_top_srcdir=$ac_top_srcdir;;
56818 -*)
56819 - case $ac_top_srcdir in
56820 - .) ac_abs_top_srcdir=$ac_abs_builddir;;
56821 - [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
56822 - *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
56823 - esac;;
56824 -esac
56825
56826 + case $ac_mode in
56827 + :F)
56828 + #
56829 + # CONFIG_FILE
56830 + #
56831
56832 case $INSTALL in
56833 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
56834 - *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
56835 + *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
56836 esac
56837 +_ACEOF
56838
56839 - if test x"$ac_file" != x-; then
56840 - { echo "$as_me:$LINENO: creating $ac_file" >&5
56841 -echo "$as_me: creating $ac_file" >&6;}
56842 - rm -f "$ac_file"
56843 - fi
56844 - # Let's still pretend it is `configure' which instantiates (i.e., don't
56845 - # use $as_me), people would be surprised to read:
56846 - # /* config.h. Generated by config.status. */
56847 - if test x"$ac_file" = x-; then
56848 - configure_input=
56849 - else
56850 - configure_input="$ac_file. "
56851 - fi
56852 - configure_input=$configure_input"Generated from `echo $ac_file_in |
56853 - sed 's,.*/,,'` by configure."
56854 -
56855 - # First look for the input files in the build tree, otherwise in the
56856 - # src tree.
56857 - ac_file_inputs=`IFS=:
56858 - for f in $ac_file_in; do
56859 - case $f in
56860 - -) echo $tmp/stdin ;;
56861 - [\\/$]*)
56862 - # Absolute (can't be DOS-style, as IFS=:)
56863 - test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
56864 -echo "$as_me: error: cannot find input file: $f" >&2;}
56865 - { (exit 1); exit 1; }; }
56866 - echo "$f";;
56867 - *) # Relative
56868 - if test -f "$f"; then
56869 - # Build tree
56870 - echo "$f"
56871 - elif test -f "$srcdir/$f"; then
56872 - # Source tree
56873 - echo "$srcdir/$f"
56874 - else
56875 - # /dev/null tree
56876 - { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
56877 -echo "$as_me: error: cannot find input file: $f" >&2;}
56878 - { (exit 1); exit 1; }; }
56879 - fi;;
56880 - esac
56881 - done` || { (exit 1); exit 1; }
56882 +cat >>$CONFIG_STATUS <<\_ACEOF
56883 +# If the template does not know about datarootdir, expand it.
56884 +# FIXME: This hack should be removed a few years after 2.60.
56885 +ac_datarootdir_hack=; ac_datarootdir_seen=
56886 +
56887 +case `sed -n '/datarootdir/ {
56888 + p
56889 + q
56890 +}
56891 +/@datadir@/p
56892 +/@docdir@/p
56893 +/@infodir@/p
56894 +/@localedir@/p
56895 +/@mandir@/p
56896 +' $ac_file_inputs` in
56897 +*datarootdir*) ac_datarootdir_seen=yes;;
56898 +*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
56899 + { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
56900 +echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
56901 +_ACEOF
56902 +cat >>$CONFIG_STATUS <<_ACEOF
56903 + ac_datarootdir_hack='
56904 + s&@datadir@&$datadir&g
56905 + s&@docdir@&$docdir&g
56906 + s&@infodir@&$infodir&g
56907 + s&@localedir@&$localedir&g
56908 + s&@mandir@&$mandir&g
56909 + s&\\\${datarootdir}&$datarootdir&g' ;;
56910 +esac
56911 _ACEOF
56912 +
56913 +# Neutralize VPATH when `$srcdir' = `.'.
56914 +# Shell code in configure.ac might set extrasub.
56915 +# FIXME: do we really want to maintain this feature?
56916 cat >>$CONFIG_STATUS <<_ACEOF
56917 sed "$ac_vpsub
56918 $extrasub
56919 @@ -12108,248 +12679,130 @@ _ACEOF
56920 cat >>$CONFIG_STATUS <<\_ACEOF
56921 :t
56922 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
56923 -s,@configure_input@,$configure_input,;t t
56924 -s,@srcdir@,$ac_srcdir,;t t
56925 -s,@abs_srcdir@,$ac_abs_srcdir,;t t
56926 -s,@top_srcdir@,$ac_top_srcdir,;t t
56927 -s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
56928 -s,@builddir@,$ac_builddir,;t t
56929 -s,@abs_builddir@,$ac_abs_builddir,;t t
56930 -s,@top_builddir@,$ac_top_builddir,;t t
56931 -s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
56932 -s,@INSTALL@,$ac_INSTALL,;t t
56933 -" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
56934 - rm -f $tmp/stdin
56935 - if test x"$ac_file" != x-; then
56936 - mv $tmp/out $ac_file
56937 - else
56938 - cat $tmp/out
56939 - rm -f $tmp/out
56940 - fi
56941 -
56942 -done
56943 -_ACEOF
56944 -cat >>$CONFIG_STATUS <<\_ACEOF
56945 -
56946 -#
56947 -# CONFIG_HEADER section.
56948 -#
56949 -
56950 -# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
56951 -# NAME is the cpp macro being defined and VALUE is the value it is being given.
56952 -#
56953 -# ac_d sets the value in "#define NAME VALUE" lines.
56954 -ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
56955 -ac_dB='[ ].*$,\1#\2'
56956 -ac_dC=' '
56957 -ac_dD=',;t'
56958 -# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
56959 -ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
56960 -ac_uB='$,\1#\2define\3'
56961 -ac_uC=' '
56962 -ac_uD=',;t'
56963 +s&@configure_input@&$configure_input&;t t
56964 +s&@top_builddir@&$ac_top_builddir_sub&;t t
56965 +s&@srcdir@&$ac_srcdir&;t t
56966 +s&@abs_srcdir@&$ac_abs_srcdir&;t t
56967 +s&@top_srcdir@&$ac_top_srcdir&;t t
56968 +s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
56969 +s&@builddir@&$ac_builddir&;t t
56970 +s&@abs_builddir@&$ac_abs_builddir&;t t
56971 +s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
56972 +s&@INSTALL@&$ac_INSTALL&;t t
56973 +$ac_datarootdir_hack
56974 +" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
56975 +
56976 +test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
56977 + { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
56978 + { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
56979 + { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
56980 +which seems to be undefined. Please make sure it is defined." >&5
56981 +echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
56982 +which seems to be undefined. Please make sure it is defined." >&2;}
56983
56984 -for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
56985 - # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
56986 + rm -f "$tmp/stdin"
56987 case $ac_file in
56988 - - | *:- | *:-:* ) # input from stdin
56989 - cat >$tmp/stdin
56990 - ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
56991 - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
56992 - *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
56993 - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
56994 - * ) ac_file_in=$ac_file.in ;;
56995 + -) cat "$tmp/out"; rm -f "$tmp/out";;
56996 + *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
56997 esac
56998 + ;;
56999 + :H)
57000 + #
57001 + # CONFIG_HEADER
57002 + #
57003 +_ACEOF
57004 +
57005 +# Transform confdefs.h into a sed script `conftest.defines', that
57006 +# substitutes the proper values into config.h.in to produce config.h.
57007 +rm -f conftest.defines conftest.tail
57008 +# First, append a space to every undef/define line, to ease matching.
57009 +echo 's/$/ /' >conftest.defines
57010 +# Then, protect against being on the right side of a sed subst, or in
57011 +# an unquoted here document, in config.status. If some macros were
57012 +# called several times there might be several #defines for the same
57013 +# symbol, which is useless. But do not sort them, since the last
57014 +# AC_DEFINE must be honored.
57015 +ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
57016 +# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
57017 +# NAME is the cpp macro being defined, VALUE is the value it is being given.
57018 +# PARAMS is the parameter list in the macro definition--in most cases, it's
57019 +# just an empty string.
57020 +ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
57021 +ac_dB='\\)[ (].*,\\1define\\2'
57022 +ac_dC=' '
57023 +ac_dD=' ,'
57024
57025 - test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
57026 -echo "$as_me: creating $ac_file" >&6;}
57027 -
57028 - # First look for the input files in the build tree, otherwise in the
57029 - # src tree.
57030 - ac_file_inputs=`IFS=:
57031 - for f in $ac_file_in; do
57032 - case $f in
57033 - -) echo $tmp/stdin ;;
57034 - [\\/$]*)
57035 - # Absolute (can't be DOS-style, as IFS=:)
57036 - test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
57037 -echo "$as_me: error: cannot find input file: $f" >&2;}
57038 - { (exit 1); exit 1; }; }
57039 - # Do quote $f, to prevent DOS paths from being IFS'd.
57040 - echo "$f";;
57041 - *) # Relative
57042 - if test -f "$f"; then
57043 - # Build tree
57044 - echo "$f"
57045 - elif test -f "$srcdir/$f"; then
57046 - # Source tree
57047 - echo "$srcdir/$f"
57048 - else
57049 - # /dev/null tree
57050 - { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
57051 -echo "$as_me: error: cannot find input file: $f" >&2;}
57052 - { (exit 1); exit 1; }; }
57053 - fi;;
57054 - esac
57055 - done` || { (exit 1); exit 1; }
57056 - # Remove the trailing spaces.
57057 - sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
57058 -
57059 -_ACEOF
57060 -
57061 -# Transform confdefs.h into two sed scripts, `conftest.defines' and
57062 -# `conftest.undefs', that substitutes the proper values into
57063 -# config.h.in to produce config.h. The first handles `#define'
57064 -# templates, and the second `#undef' templates.
57065 -# And first: Protect against being on the right side of a sed subst in
57066 -# config.status. Protect against being in an unquoted here document
57067 -# in config.status.
57068 -rm -f conftest.defines conftest.undefs
57069 -# Using a here document instead of a string reduces the quoting nightmare.
57070 -# Putting comments in sed scripts is not portable.
57071 -#
57072 -# `end' is used to avoid that the second main sed command (meant for
57073 -# 0-ary CPP macros) applies to n-ary macro definitions.
57074 -# See the Autoconf documentation for `clear'.
57075 -cat >confdef2sed.sed <<\_ACEOF
57076 -s/[\\&,]/\\&/g
57077 -s,[\\$`],\\&,g
57078 -t clear
57079 -: clear
57080 -s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
57081 -t end
57082 -s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
57083 -: end
57084 -_ACEOF
57085 -# If some macros were called several times there might be several times
57086 -# the same #defines, which is useless. Nevertheless, we may not want to
57087 -# sort them, since we want the *last* AC-DEFINE to be honored.
57088 -uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
57089 -sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
57090 -rm -f confdef2sed.sed
57091 +uniq confdefs.h |
57092 + sed -n '
57093 + t rset
57094 + :rset
57095 + s/^[ ]*#[ ]*define[ ][ ]*//
57096 + t ok
57097 + d
57098 + :ok
57099 + s/[\\&,]/\\&/g
57100 + s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
57101 + s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
57102 + ' >>conftest.defines
57103
57104 -# This sed command replaces #undef with comments. This is necessary, for
57105 +# Remove the space that was appended to ease matching.
57106 +# Then replace #undef with comments. This is necessary, for
57107 # example, in the case of _POSIX_SOURCE, which is predefined and required
57108 # on some systems where configure will not decide to define it.
57109 -cat >>conftest.undefs <<\_ACEOF
57110 -s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
57111 +# (The regexp can be short, since the line contains either #define or #undef.)
57112 +echo 's/ $//
57113 +s,^[ #]*u.*,/* & */,' >>conftest.defines
57114 +
57115 +# Break up conftest.defines:
57116 +ac_max_sed_lines=50
57117 +
57118 +# First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
57119 +# Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
57120 +# Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
57121 +# et cetera.
57122 +ac_in='$ac_file_inputs'
57123 +ac_out='"$tmp/out1"'
57124 +ac_nxt='"$tmp/out2"'
57125 +
57126 +while :
57127 +do
57128 + # Write a here document:
57129 + cat >>$CONFIG_STATUS <<_ACEOF
57130 + # First, check the format of the line:
57131 + cat >"\$tmp/defines.sed" <<\\CEOF
57132 +/^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
57133 +/^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
57134 +b
57135 +:def
57136 _ACEOF
57137 -
57138 -# Break up conftest.defines because some shells have a limit on the size
57139 -# of here documents, and old seds have small limits too (100 cmds).
57140 -echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
57141 -echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
57142 -echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
57143 -echo ' :' >>$CONFIG_STATUS
57144 -rm -f conftest.tail
57145 -while grep . conftest.defines >/dev/null
57146 -do
57147 - # Write a limited-size here document to $tmp/defines.sed.
57148 - echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
57149 - # Speed up: don't consider the non `#define' lines.
57150 - echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
57151 - # Work around the forget-to-reset-the-flag bug.
57152 - echo 't clr' >>$CONFIG_STATUS
57153 - echo ': clr' >>$CONFIG_STATUS
57154 - sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
57155 + sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
57156 echo 'CEOF
57157 - sed -f $tmp/defines.sed $tmp/in >$tmp/out
57158 - rm -f $tmp/in
57159 - mv $tmp/out $tmp/in
57160 -' >>$CONFIG_STATUS
57161 - sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
57162 + sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
57163 + ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
57164 + sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
57165 + grep . conftest.tail >/dev/null || break
57166 rm -f conftest.defines
57167 mv conftest.tail conftest.defines
57168 done
57169 -rm -f conftest.defines
57170 -echo ' fi # grep' >>$CONFIG_STATUS
57171 -echo >>$CONFIG_STATUS
57172 -
57173 -# Break up conftest.undefs because some shells have a limit on the size
57174 -# of here documents, and old seds have small limits too (100 cmds).
57175 -echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
57176 -rm -f conftest.tail
57177 -while grep . conftest.undefs >/dev/null
57178 -do
57179 - # Write a limited-size here document to $tmp/undefs.sed.
57180 - echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
57181 - # Speed up: don't consider the non `#undef'
57182 - echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
57183 - # Work around the forget-to-reset-the-flag bug.
57184 - echo 't clr' >>$CONFIG_STATUS
57185 - echo ': clr' >>$CONFIG_STATUS
57186 - sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
57187 - echo 'CEOF
57188 - sed -f $tmp/undefs.sed $tmp/in >$tmp/out
57189 - rm -f $tmp/in
57190 - mv $tmp/out $tmp/in
57191 -' >>$CONFIG_STATUS
57192 - sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
57193 - rm -f conftest.undefs
57194 - mv conftest.tail conftest.undefs
57195 -done
57196 -rm -f conftest.undefs
57197 +rm -f conftest.defines conftest.tail
57198
57199 +echo "ac_result=$ac_in" >>$CONFIG_STATUS
57200 cat >>$CONFIG_STATUS <<\_ACEOF
57201 - # Let's still pretend it is `configure' which instantiates (i.e., don't
57202 - # use $as_me), people would be surprised to read:
57203 - # /* config.h. Generated by config.status. */
57204 - if test x"$ac_file" = x-; then
57205 - echo "/* Generated by configure. */" >$tmp/config.h
57206 - else
57207 - echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
57208 - fi
57209 - cat $tmp/in >>$tmp/config.h
57210 - rm -f $tmp/in
57211 if test x"$ac_file" != x-; then
57212 - if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
57213 + echo "/* $configure_input */" >"$tmp/config.h"
57214 + cat "$ac_result" >>"$tmp/config.h"
57215 + if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
57216 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
57217 echo "$as_me: $ac_file is unchanged" >&6;}
57218 else
57219 - ac_dir=`(dirname "$ac_file") 2>/dev/null ||
57220 -$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
57221 - X"$ac_file" : 'X\(//\)[^/]' \| \
57222 - X"$ac_file" : 'X\(//\)$' \| \
57223 - X"$ac_file" : 'X\(/\)' \| \
57224 - . : '\(.\)' 2>/dev/null ||
57225 -echo X"$ac_file" |
57226 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
57227 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
57228 - /^X\(\/\/\)$/{ s//\1/; q; }
57229 - /^X\(\/\).*/{ s//\1/; q; }
57230 - s/.*/./; q'`
57231 - { if $as_mkdir_p; then
57232 - mkdir -p "$ac_dir"
57233 - else
57234 - as_dir="$ac_dir"
57235 - as_dirs=
57236 - while test ! -d "$as_dir"; do
57237 - as_dirs="$as_dir $as_dirs"
57238 - as_dir=`(dirname "$as_dir") 2>/dev/null ||
57239 -$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
57240 - X"$as_dir" : 'X\(//\)[^/]' \| \
57241 - X"$as_dir" : 'X\(//\)$' \| \
57242 - X"$as_dir" : 'X\(/\)' \| \
57243 - . : '\(.\)' 2>/dev/null ||
57244 -echo X"$as_dir" |
57245 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
57246 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
57247 - /^X\(\/\/\)$/{ s//\1/; q; }
57248 - /^X\(\/\).*/{ s//\1/; q; }
57249 - s/.*/./; q'`
57250 - done
57251 - test ! -n "$as_dirs" || mkdir $as_dirs
57252 - fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
57253 -echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
57254 - { (exit 1); exit 1; }; }; }
57255 -
57256 rm -f $ac_file
57257 - mv $tmp/config.h $ac_file
57258 + mv "$tmp/config.h" $ac_file
57259 fi
57260 else
57261 - cat $tmp/config.h
57262 - rm -f $tmp/config.h
57263 + echo "/* $configure_input */"
57264 + cat "$ac_result"
57265 fi
57266 + rm -f "$tmp/out12"
57267 # Compute $ac_file's index in $config_headers.
57268 _am_stamp_count=1
57269 for _am_header in $config_headers :; do
57270 @@ -12360,135 +12813,39 @@ for _am_header in $config_headers :; do
57271 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
57272 esac
57273 done
57274 -echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
57275 +echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
57276 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
57277 X$ac_file : 'X\(//\)[^/]' \| \
57278 X$ac_file : 'X\(//\)$' \| \
57279 - X$ac_file : 'X\(/\)' \| \
57280 - . : '\(.\)' 2>/dev/null ||
57281 + X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
57282 echo X$ac_file |
57283 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
57284 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
57285 - /^X\(\/\/\)$/{ s//\1/; q; }
57286 - /^X\(\/\).*/{ s//\1/; q; }
57287 - s/.*/./; q'`/stamp-h$_am_stamp_count
57288 -done
57289 -_ACEOF
57290 -cat >>$CONFIG_STATUS <<\_ACEOF
57291 -
57292 -#
57293 -# CONFIG_COMMANDS section.
57294 -#
57295 -for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
57296 - ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
57297 - ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
57298 - ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
57299 -$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
57300 - X"$ac_dest" : 'X\(//\)[^/]' \| \
57301 - X"$ac_dest" : 'X\(//\)$' \| \
57302 - X"$ac_dest" : 'X\(/\)' \| \
57303 - . : '\(.\)' 2>/dev/null ||
57304 -echo X"$ac_dest" |
57305 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
57306 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
57307 - /^X\(\/\/\)$/{ s//\1/; q; }
57308 - /^X\(\/\).*/{ s//\1/; q; }
57309 - s/.*/./; q'`
57310 - { if $as_mkdir_p; then
57311 - mkdir -p "$ac_dir"
57312 - else
57313 - as_dir="$ac_dir"
57314 - as_dirs=
57315 - while test ! -d "$as_dir"; do
57316 - as_dirs="$as_dir $as_dirs"
57317 - as_dir=`(dirname "$as_dir") 2>/dev/null ||
57318 -$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
57319 - X"$as_dir" : 'X\(//\)[^/]' \| \
57320 - X"$as_dir" : 'X\(//\)$' \| \
57321 - X"$as_dir" : 'X\(/\)' \| \
57322 - . : '\(.\)' 2>/dev/null ||
57323 -echo X"$as_dir" |
57324 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
57325 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
57326 - /^X\(\/\/\)$/{ s//\1/; q; }
57327 - /^X\(\/\).*/{ s//\1/; q; }
57328 - s/.*/./; q'`
57329 - done
57330 - test ! -n "$as_dirs" || mkdir $as_dirs
57331 - fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
57332 -echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
57333 - { (exit 1); exit 1; }; }; }
57334 -
57335 - ac_builddir=.
57336 -
57337 -if test "$ac_dir" != .; then
57338 - ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
57339 - # A "../" for each directory in $ac_dir_suffix.
57340 - ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
57341 -else
57342 - ac_dir_suffix= ac_top_builddir=
57343 -fi
57344 -
57345 -case $srcdir in
57346 - .) # No --srcdir option. We are building in place.
57347 - ac_srcdir=.
57348 - if test -z "$ac_top_builddir"; then
57349 - ac_top_srcdir=.
57350 - else
57351 - ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
57352 - fi ;;
57353 - [\\/]* | ?:[\\/]* ) # Absolute path.
57354 - ac_srcdir=$srcdir$ac_dir_suffix;
57355 - ac_top_srcdir=$srcdir ;;
57356 - *) # Relative path.
57357 - ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
57358 - ac_top_srcdir=$ac_top_builddir$srcdir ;;
57359 -esac
57360 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
57361 + s//\1/
57362 + q
57363 + }
57364 + /^X\(\/\/\)[^/].*/{
57365 + s//\1/
57366 + q
57367 + }
57368 + /^X\(\/\/\)$/{
57369 + s//\1/
57370 + q
57371 + }
57372 + /^X\(\/\).*/{
57373 + s//\1/
57374 + q
57375 + }
57376 + s/.*/./; q'`/stamp-h$_am_stamp_count
57377 + ;;
57378
57379 -# Do not use `cd foo && pwd` to compute absolute paths, because
57380 -# the directories may not exist.
57381 -case `pwd` in
57382 -.) ac_abs_builddir="$ac_dir";;
57383 -*)
57384 - case "$ac_dir" in
57385 - .) ac_abs_builddir=`pwd`;;
57386 - [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
57387 - *) ac_abs_builddir=`pwd`/"$ac_dir";;
57388 - esac;;
57389 -esac
57390 -case $ac_abs_builddir in
57391 -.) ac_abs_top_builddir=${ac_top_builddir}.;;
57392 -*)
57393 - case ${ac_top_builddir}. in
57394 - .) ac_abs_top_builddir=$ac_abs_builddir;;
57395 - [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
57396 - *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
57397 - esac;;
57398 -esac
57399 -case $ac_abs_builddir in
57400 -.) ac_abs_srcdir=$ac_srcdir;;
57401 -*)
57402 - case $ac_srcdir in
57403 - .) ac_abs_srcdir=$ac_abs_builddir;;
57404 - [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
57405 - *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
57406 - esac;;
57407 -esac
57408 -case $ac_abs_builddir in
57409 -.) ac_abs_top_srcdir=$ac_top_srcdir;;
57410 -*)
57411 - case $ac_top_srcdir in
57412 - .) ac_abs_top_srcdir=$ac_abs_builddir;;
57413 - [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
57414 - *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
57415 - esac;;
57416 -esac
57417 + :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
57418 +echo "$as_me: executing $ac_file commands" >&6;}
57419 + ;;
57420 + esac
57421
57422
57423 - { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
57424 -echo "$as_me: executing $ac_dest commands" >&6;}
57425 - case $ac_dest in
57426 - depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
57427 + case $ac_file$ac_mode in
57428 + "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
57429 # Strip MF so we end up with the name of the file.
57430 mf=`echo "$mf" | sed -e 's/:.*$//'`
57431 # Check whether this is an Automake generated Makefile or not.
57432 @@ -12498,18 +12855,29 @@ echo "$as_me: executing $ac_dest command
57433 # each Makefile.in and add a new line on top of each file to say so.
57434 # So let's grep whole file.
57435 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
57436 - dirpart=`(dirname "$mf") 2>/dev/null ||
57437 + dirpart=`$as_dirname -- "$mf" ||
57438 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
57439 X"$mf" : 'X\(//\)[^/]' \| \
57440 X"$mf" : 'X\(//\)$' \| \
57441 - X"$mf" : 'X\(/\)' \| \
57442 - . : '\(.\)' 2>/dev/null ||
57443 + X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
57444 echo X"$mf" |
57445 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
57446 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
57447 - /^X\(\/\/\)$/{ s//\1/; q; }
57448 - /^X\(\/\).*/{ s//\1/; q; }
57449 - s/.*/./; q'`
57450 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
57451 + s//\1/
57452 + q
57453 + }
57454 + /^X\(\/\/\)[^/].*/{
57455 + s//\1/
57456 + q
57457 + }
57458 + /^X\(\/\/\)$/{
57459 + s//\1/
57460 + q
57461 + }
57462 + /^X\(\/\).*/{
57463 + s//\1/
57464 + q
57465 + }
57466 + s/.*/./; q'`
57467 else
57468 continue
57469 fi
57470 @@ -12531,49 +12899,76 @@ echo X"$mf" |
57471 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
57472 # Make sure the directory exists.
57473 test -f "$dirpart/$file" && continue
57474 - fdir=`(dirname "$file") 2>/dev/null ||
57475 + fdir=`$as_dirname -- "$file" ||
57476 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
57477 X"$file" : 'X\(//\)[^/]' \| \
57478 X"$file" : 'X\(//\)$' \| \
57479 - X"$file" : 'X\(/\)' \| \
57480 - . : '\(.\)' 2>/dev/null ||
57481 + X"$file" : 'X\(/\)' \| . 2>/dev/null ||
57482 echo X"$file" |
57483 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
57484 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
57485 - /^X\(\/\/\)$/{ s//\1/; q; }
57486 - /^X\(\/\).*/{ s//\1/; q; }
57487 - s/.*/./; q'`
57488 - { if $as_mkdir_p; then
57489 - mkdir -p $dirpart/$fdir
57490 - else
57491 - as_dir=$dirpart/$fdir
57492 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
57493 + s//\1/
57494 + q
57495 + }
57496 + /^X\(\/\/\)[^/].*/{
57497 + s//\1/
57498 + q
57499 + }
57500 + /^X\(\/\/\)$/{
57501 + s//\1/
57502 + q
57503 + }
57504 + /^X\(\/\).*/{
57505 + s//\1/
57506 + q
57507 + }
57508 + s/.*/./; q'`
57509 + { as_dir=$dirpart/$fdir
57510 + case $as_dir in #(
57511 + -*) as_dir=./$as_dir;;
57512 + esac
57513 + test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
57514 as_dirs=
57515 - while test ! -d "$as_dir"; do
57516 - as_dirs="$as_dir $as_dirs"
57517 - as_dir=`(dirname "$as_dir") 2>/dev/null ||
57518 + while :; do
57519 + case $as_dir in #(
57520 + *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
57521 + *) as_qdir=$as_dir;;
57522 + esac
57523 + as_dirs="'$as_qdir' $as_dirs"
57524 + as_dir=`$as_dirname -- "$as_dir" ||
57525 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
57526 X"$as_dir" : 'X\(//\)[^/]' \| \
57527 X"$as_dir" : 'X\(//\)$' \| \
57528 - X"$as_dir" : 'X\(/\)' \| \
57529 - . : '\(.\)' 2>/dev/null ||
57530 + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
57531 echo X"$as_dir" |
57532 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
57533 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
57534 - /^X\(\/\/\)$/{ s//\1/; q; }
57535 - /^X\(\/\).*/{ s//\1/; q; }
57536 - s/.*/./; q'`
57537 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
57538 + s//\1/
57539 + q
57540 + }
57541 + /^X\(\/\/\)[^/].*/{
57542 + s//\1/
57543 + q
57544 + }
57545 + /^X\(\/\/\)$/{
57546 + s//\1/
57547 + q
57548 + }
57549 + /^X\(\/\).*/{
57550 + s//\1/
57551 + q
57552 + }
57553 + s/.*/./; q'`
57554 + test -d "$as_dir" && break
57555 done
57556 - test ! -n "$as_dirs" || mkdir $as_dirs
57557 - fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
57558 -echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
57559 + test -z "$as_dirs" || eval "mkdir $as_dirs"
57560 + } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
57561 +echo "$as_me: error: cannot create directory $as_dir" >&2;}
57562 { (exit 1); exit 1; }; }; }
57563 -
57564 # echo "creating $dirpart/$file"
57565 echo '# dummy' > "$dirpart/$file"
57566 done
57567 done
57568 ;;
57569 - default ) rm -f targ-cpu.c targ-cpu.h obj-format.h obj-format.c targ-env.h atof-targ.c itbl-cpu.h
57570 + "default":C) rm -f targ-cpu.c targ-cpu.h obj-format.h obj-format.c targ-env.h atof-targ.c itbl-cpu.h
57571 echo '#include "tc-'"${target_cpu_type}"'.h"' > targ-cpu.h
57572 echo '#include "obj-'"${obj_format}"'.h"' > obj-format.h
57573 echo '#include "te-'"${te_file}"'.h"' > targ-env.h
57574 @@ -12583,11 +12978,10 @@ done
57575 fi
57576
57577 sed -e '/POTFILES =/r po/POTFILES' po/Makefile.in > po/Makefile ;;
57578 +
57579 esac
57580 -done
57581 -_ACEOF
57582 +done # for ac_tag
57583
57584 -cat >>$CONFIG_STATUS <<\_ACEOF
57585
57586 { (exit 0); exit 0; }
57587 _ACEOF
57588 diff -Nrup binutils-2.17/gas/configure.tgt binutils-2.17-atmel/gas/configure.tgt
57589 --- binutils-2.17/gas/configure.tgt 2006-04-05 14:41:57.000000000 +0200
57590 +++ binutils-2.17-atmel/gas/configure.tgt 2007-02-12 15:37:09.000000000 +0100
57591 @@ -33,6 +33,7 @@ case ${cpu} in
57592 am33_2.0) cpu_type=mn10300 endian=little ;;
57593 arm*be|arm*b) cpu_type=arm endian=big ;;
57594 arm*) cpu_type=arm endian=little ;;
57595 + avr32*) cpu_type=avr32 endian=big ;;
57596 bfin*) cpu_type=bfin endian=little ;;
57597 c4x*) cpu_type=tic4x ;;
57598 crisv32) cpu_type=cris arch=crisv32 ;;
57599 @@ -122,6 +123,9 @@ case ${generic_target} in
57600 bfin-*-*) fmt=elf bfd_gas=yes ;;
57601 bfin-*elf) fmt=elf ;;
57602
57603 + avr32-*-linux*) fmt=elf em=linux bfd_gas=yes ;;
57604 + avr32*) fmt=elf bfd_gas=yes ;;
57605 +
57606 cris-*-linux-* | crisv32-*-linux-*)
57607 fmt=multi em=linux ;;
57608 cris-*-* | crisv32-*-*) fmt=multi ;;
57609 diff -Nrup binutils-2.17/gas/doc/all.texi binutils-2.17-atmel/gas/doc/all.texi
57610 --- binutils-2.17/gas/doc/all.texi 2006-02-17 15:36:25.000000000 +0100
57611 +++ binutils-2.17-atmel/gas/doc/all.texi 2007-02-12 15:37:09.000000000 +0100
57612 @@ -29,6 +29,7 @@
57613 @set ALPHA
57614 @set ARC
57615 @set ARM
57616 +@set AVR32
57617 @set BFIN
57618 @set CRIS
57619 @set D10V
57620 diff -Nrup binutils-2.17/gas/doc/as.texinfo binutils-2.17-atmel/gas/doc/as.texinfo
57621 --- binutils-2.17/gas/doc/as.texinfo 2006-04-17 17:16:27.000000000 +0200
57622 +++ binutils-2.17-atmel/gas/doc/as.texinfo 2007-02-12 15:37:09.000000000 +0100
57623 @@ -6182,6 +6182,9 @@ subject, see the hardware manufacturer's
57624 @ifset ARM
57625 * ARM-Dependent:: ARM Dependent Features
57626 @end ifset
57627 +@ifset AVR32
57628 +* AVR32-Dependent:: AVR32 Dependent Features
57629 +@end ifset
57630 @ifset BFIN
57631 * BFIN-Dependent:: BFIN Dependent Features
57632 @end ifset
57633 @@ -6298,6 +6301,10 @@ subject, see the hardware manufacturer's
57634 @include c-arm.texi
57635 @end ifset
57636
57637 +@ifset AVR32
57638 +@include c-avr32.texi
57639 +@end ifset
57640 +
57641 @ifset BFIN
57642 @include c-bfin.texi
57643 @end ifset
57644 diff -Nrup binutils-2.17/gas/doc/c-avr32.texi binutils-2.17-atmel/gas/doc/c-avr32.texi
57645 --- binutils-2.17/gas/doc/c-avr32.texi 1970-01-01 01:00:00.000000000 +0100
57646 +++ binutils-2.17-atmel/gas/doc/c-avr32.texi 2006-09-25 10:30:13.000000000 +0200
57647 @@ -0,0 +1,247 @@
57648 +@c Copyright 2005, 2006
57649 +@c Atmel Corporation
57650 +@c This is part of the GAS manual.
57651 +@c For copying conditions, see the file as.texinfo.
57652 +
57653 +@ifset GENERIC
57654 +@page
57655 +@node AVR32-Dependent
57656 +@chapter AVR32 Dependent Features
57657 +@end ifset
57658 +
57659 +@ifclear GENERIC
57660 +@node Machine Dependencies
57661 +@chapter AVR32 Dependent Features
57662 +@end ifclear
57663 +
57664 +@cindex AVR32 support
57665 +@menu
57666 +* AVR32 Options:: Options
57667 +* AVR32 Syntax:: Syntax
57668 +* AVR32 Directives:: Directives
57669 +* AVR32 Opcodes:: Opcodes
57670 +@end menu
57671 +
57672 +@node AVR32 Options
57673 +@section Options
57674 +@cindex AVR32 options
57675 +@cindex options for AVR32
57676 +
57677 +There are currently no AVR32-specific options. However, the following
57678 +options are planned:
57679 +
57680 +@table @code
57681 +
57682 +@cindex @code{--pic} command line option, AVR32
57683 +@cindex PIC code generation for AVR32
57684 +@item --pic
57685 +This option specifies that the output of the assembler should be marked
57686 +as position-independent code (PIC). It will also ensure that
57687 +pseudo-instructions that deal with address calculation are output as
57688 +PIC, and that all absolute address references in the code are marked as
57689 +such.
57690 +
57691 +@cindex @code{--linkrelax} command line option, AVR32
57692 +@item --linkrelax
57693 +This option specifies that the output of the assembler should be marked
57694 +as linker-relaxable. It will also ensure that all PC-relative operands
57695 +that may change during linker relaxation get appropriate relocations.
57696 +
57697 +@end table
57698 +
57699 +
57700 +@node AVR32 Syntax
57701 +@section Syntax
57702 +@menu
57703 +* AVR32-Chars:: Special Characters
57704 +* AVR32-Symrefs:: Symbol references
57705 +@end menu
57706 +
57707 +@node AVR32-Chars
57708 +@subsection Special Characters
57709 +
57710 +@cindex line comment character, AVR32
57711 +@cindex AVR32 line comment character
57712 +The presence of a @samp{//} on a line indicates the start of a comment
57713 +that extends to the end of the current line. If a @samp{#} appears as
57714 +the first character of a line, the whole line is treated as a comment.
57715 +
57716 +@cindex line separator, AVR32
57717 +@cindex statement separator, AVR32
57718 +@cindex AVR32 line separator
57719 +The @samp{;} character can be used instead of a newline to separate
57720 +statements.
57721 +
57722 +@node AVR32-Symrefs
57723 +@subsection Symbol references
57724 +
57725 +The absolute value of a symbol can be obtained by simply naming the
57726 +symbol. However, as AVR32 symbols have 32-bit values, most symbols have
57727 +values that are outside the range of any instructions.
57728 +
57729 +Instructions that take a PC-relative offset, e.g. @code{lddpc} or
57730 +@code{rcall}, can also reference a symbol by simply naming the symbol
57731 +(no explicit calculations necessary). In this case, the assembler or
57732 +linker subtracts the address of the instruction from the symbol's value
57733 +and inserts the result into the instruction. Note that even though an
57734 +overflow is less likely to happen for a relative reference than for an
57735 +absolute reference, the assembler or linker will generate an error if
57736 +the referenced symbol is too far away from the current location.
57737 +
57738 +Relative references can be used for data as well. For example:
57739 +
57740 +@smallexample
57741 + lddpc r0, 2f
57742 +1: add r0, pc
57743 + ...
57744 + .align 2
57745 +2: .int @var{some_symbol} - 1b
57746 +@end smallexample
57747 +
57748 +Here, r0 will end up with the run-time address of @var{some_symbol} even
57749 +if the program was loaded at a different address than it was linked
57750 +(position-independent code).
57751 +
57752 +@subsubsection Symbol modifiers
57753 +
57754 +@table @code
57755 +
57756 +@item @code{hi(@var{symbol})}
57757 +Evaluates to the value of the symbol shifted right 16 bits. This will
57758 +work even if @var{symbol} is defined in a different module.
57759 +
57760 +@item @code{lo(@var{symbol})}
57761 +Evaluates to the low 16 bits of the symbol's value. This will work even
57762 +if @var{symbol} is defined in a different module.
57763 +
57764 +@item @code{@var{symbol}@@got}
57765 +Create a GOT entry for @var{symbol} and return the offset of that entry
57766 +relative to the GOT base.
57767 +
57768 +@end table
57769 +
57770 +
57771 +@node AVR32 Directives
57772 +@section Directives
57773 +@cindex machine directives, AVR32
57774 +@cindex AVR32 directives
57775 +
57776 +@table @code
57777 +
57778 +@cindex @code{.cpool} directive, AVR32
57779 +@item .cpool
57780 +This directive causes the current contents of the constant pool to be
57781 +dumped into the current section at the current location (aligned to a
57782 +word boundary). @code{GAS} maintains a separate constant pool for each
57783 +section and each sub-section. The @code{.cpool} directive will only
57784 +affect the constant pool of the current section and sub-section. At the
57785 +end of assembly, all remaining, non-empty constant pools will
57786 +automatically be dumped.
57787 +
57788 +@end table
57789 +
57790 +
57791 +@node AVR32 Opcodes
57792 +@section Opcodes
57793 +@cindex AVR32 opcodes
57794 +@cindex opcodes for AVR32
57795 +
57796 +@code{@value{AS}} implements all the standard AVR32 opcodes. It also
57797 +implements several pseudo-opcodes, which are recommended to use wherever
57798 +possible because they give the tool chain better freedom to generate
57799 +optimal code.
57800 +
57801 +@table @code
57802 +
57803 +@cindex @code{LDA.W reg, symbol} pseudo op, AVR32
57804 +@item LDA.W
57805 +@smallexample
57806 + lda.w @var{reg}, @var{symbol}
57807 +@end smallexample
57808 +
57809 +This instruction will load the address of @var{symbol} into
57810 +@var{reg}. The instruction will evaluate to one of the following,
57811 +depending on the relative distance to the symbol, the relative distance
57812 +to the constant pool and whether the @code{--pic} option has been
57813 +specified. If the @code{--pic} option has not been specified, the
57814 +alternatives are as follows:
57815 +@smallexample
57816 + /* @var{symbol} evaluates to a small enough value */
57817 + mov @var{reg}, @var{symbol}
57818 +
57819 + /* (. - @var{symbol}) evaluates to a small enough value */
57820 + sub @var{reg}, pc, . - @var{symbol}
57821 +
57822 + /* Constant pool is close enough */
57823 + lddpc @var{reg}, @var{cpent}
57824 + ...
57825 +@var{cpent}:
57826 + .long @var{symbol}
57827 +
57828 + /* Otherwise (not implemented yet, probably not necessary) */
57829 + mov @var{reg}, lo(@var{symbol})
57830 + orh @var{reg}, hi(@var{symbol})
57831 +@end smallexample
57832 +
57833 +If the @code{--pic} option has been specified, the alternatives are as
57834 +follows:
57835 +@smallexample
57836 + /* (. - @var{symbol}) evaluates to a small enough value */
57837 + sub @var{reg}, pc, . - @var{symbol}
57838 +
57839 + /* If @code{--linkrelax} not specified */
57840 + ld.w @var{reg}, r6[@var{symbol}@@got]
57841 +
57842 + /* Otherwise */
57843 + mov @var{reg}, @var{symbol}@@got / 4
57844 + ld.w @var{reg}, r6[@var{reg} << 2]
57845 +@end smallexample
57846 +
57847 +If @var{symbol} is not defined in the same file and section as the
57848 +@code{LDA.W} instruction, the most pessimistic alternative of the
57849 +above is selected. The linker may convert it back into the most
57850 +optimal alternative when the final value of all symbols is known.
57851 +
57852 +@cindex @code{CALL symbol} pseudo op, AVR32
57853 +@item CALL
57854 +@smallexample
57855 + call @var{symbol}
57856 +@end smallexample
57857 +
57858 +This instruction will insert code to call the subroutine identified by
57859 +@var{symbol}. It will evaluate to one of the following, depending on
57860 +the relative distance to the symbol as well as the @code{--linkrelax}
57861 +and @code{--pic} command-line options.
57862 +
57863 +If @var{symbol} is defined in the same section and input file, and the
57864 +distance is small enough, an @code{rcall} instruction is inserted:
57865 +@smallexample
57866 + rcall @var{symbol}
57867 +@end smallexample
57868 +
57869 +Otherwise, if the @code{--pic} option has not been specified:
57870 +@smallexample
57871 + mcall @var{cpent}
57872 + ...
57873 +@var{cpent}:
57874 + .long @var{symbol}
57875 +@end smallexample
57876 +
57877 +Finally, if nothing else fits and the @code{--pic} option has been
57878 +specified, the assembler will indirect the call through the Global
57879 +Offset Table:
57880 +@smallexample
57881 + /* If @code{--linkrelax} not specified */
57882 + mcall r6[@var{symbol}@@got]
57883 +
57884 + /* If @code{--linkrelax} specified */
57885 + mov lr, @var{symbol}@@got / 4
57886 + ld.w lr, r6[lr << 2]
57887 + icall lr
57888 +@end smallexample
57889 +
57890 +The linker, after determining the final value of @var{symbol}, may
57891 +convert any of these into more optimal alternatives. This includes
57892 +deleting any superfluous constant pool- and GOT-entries.
57893 +
57894 +@end table
57895 diff -Nrup binutils-2.17/gas/doc/Makefile.am binutils-2.17-atmel/gas/doc/Makefile.am
57896 --- binutils-2.17/gas/doc/Makefile.am 2006-06-03 06:45:50.000000000 +0200
57897 +++ binutils-2.17-atmel/gas/doc/Makefile.am 2007-02-12 15:37:09.000000000 +0100
57898 @@ -29,6 +29,7 @@ CPU_DOCS = \
57899 c-alpha.texi \
57900 c-arc.texi \
57901 c-arm.texi \
57902 + c-avr32.texi \
57903 c-bfin.texi \
57904 c-d10v.texi \
57905 c-cris.texi \
57906 diff -Nrup binutils-2.17/gas/doc/Makefile.in binutils-2.17-atmel/gas/doc/Makefile.in
57907 --- binutils-2.17/gas/doc/Makefile.in 2006-06-03 06:45:50.000000000 +0200
57908 +++ binutils-2.17-atmel/gas/doc/Makefile.in 2007-02-20 16:07:30.000000000 +0100
57909 @@ -97,6 +97,7 @@ EXEEXT = @EXEEXT@
57910 GDBINIT = @GDBINIT@
57911 GMOFILES = @GMOFILES@
57912 GMSGFMT = @GMSGFMT@
57913 +GREP = @GREP@
57914 GT_NO = @GT_NO@
57915 GT_YES = @GT_YES@
57916 INCLUDE_LOCALE_H = @INCLUDE_LOCALE_H@
57917 @@ -146,9 +147,8 @@ VERSION = @VERSION@
57918 WARN_CFLAGS = @WARN_CFLAGS@
57919 XGETTEXT = @XGETTEXT@
57920 YACC = @YACC@
57921 +YFLAGS = @YFLAGS@
57922 ac_ct_CC = @ac_ct_CC@
57923 -ac_ct_RANLIB = @ac_ct_RANLIB@
57924 -ac_ct_STRIP = @ac_ct_STRIP@
57925 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
57926 am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
57927 am__include = @am__include@
57928 @@ -167,6 +167,7 @@ cgen_cpu_prefix = @cgen_cpu_prefix@
57929 datadir = @datadir@
57930 datarootdir = @datarootdir@
57931 docdir = @docdir@
57932 +dvidir = @dvidir@
57933 exec_prefix = @exec_prefix@
57934 extra_objects = @extra_objects@
57935 host = @host@
57936 @@ -182,13 +183,16 @@ install_tooldir = @install_tooldir@
57937 l = @l@
57938 libdir = @libdir@
57939 libexecdir = @libexecdir@
57940 +localedir = @localedir@
57941 localstatedir = @localstatedir@
57942 mandir = @mandir@
57943 mkdir_p = @mkdir_p@
57944 obj_format = @obj_format@
57945 oldincludedir = @oldincludedir@
57946 +pdfdir = @pdfdir@
57947 prefix = @prefix@
57948 program_transform_name = @program_transform_name@
57949 +psdir = @psdir@
57950 sbindir = @sbindir@
57951 sharedstatedir = @sharedstatedir@
57952 sysconfdir = @sysconfdir@
57953 @@ -218,6 +222,7 @@ CPU_DOCS = \
57954 c-alpha.texi \
57955 c-arc.texi \
57956 c-arm.texi \
57957 + c-avr32.texi \
57958 c-bfin.texi \
57959 c-d10v.texi \
57960 c-cris.texi \
57961 @@ -384,10 +389,13 @@ dist-info: $(INFO_DEPS)
57962 $(srcdir)/*) base=`echo "$$base" | sed "s|^$$srcdirstrip/||"`;; \
57963 esac; \
57964 if test -f $$base; then d=.; else d=$(srcdir); fi; \
57965 - for file in $$d/$$base*; do \
57966 - relfile=`expr "$$file" : "$$d/\(.*\)"`; \
57967 - test -f $(distdir)/$$relfile || \
57968 - cp -p $$file $(distdir)/$$relfile; \
57969 + base_i=`echo "$$base" | sed 's|\.info$$||;s|$$|.i|'`; \
57970 + for file in $$d/$$base $$d/$$base-[0-9] $$d/$$base-[0-9][0-9] $$d/$$base_i[0-9] $$d/$$base_i[0-9][0-9]; do \
57971 + if test -f $$file; then \
57972 + relfile=`expr "$$file" : "$$d/\(.*\)"`; \
57973 + test -f $(distdir)/$$relfile || \
57974 + cp -p $$file $(distdir)/$$relfile; \
57975 + else :; fi; \
57976 done; \
57977 done
57978
57979 diff -Nrup binutils-2.17/gas/Makefile.am binutils-2.17-atmel/gas/Makefile.am
57980 --- binutils-2.17/gas/Makefile.am 2006-04-06 23:49:30.000000000 +0200
57981 +++ binutils-2.17-atmel/gas/Makefile.am 2007-02-12 15:37:09.000000000 +0100
57982 @@ -45,6 +45,7 @@ CPU_TYPES = \
57983 arc \
57984 arm \
57985 avr \
57986 + avr32 \
57987 bfin \
57988 cris \
57989 crx \
57990 @@ -229,6 +230,7 @@ TARGET_CPU_CFILES = \
57991 config/tc-arc.c \
57992 config/tc-arm.c \
57993 config/tc-avr.c \
57994 + config/tc-avr32.c \
57995 config/tc-bfin.c \
57996 config/tc-cris.c \
57997 config/tc-crx.c \
57998 @@ -280,6 +282,7 @@ TARGET_CPU_HFILES = \
57999 config/tc-arc.h \
58000 config/tc-arm.h \
58001 config/tc-avr.h \
58002 + config/tc-avr32.h \
58003 config/tc-bfin.h \
58004 config/tc-cris.h \
58005 config/tc-crx.h \
58006 @@ -1046,6 +1049,11 @@ DEPTC_avr_elf = $(INCDIR)/symcat.h $(src
58007 $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h $(srcdir)/config/tc-avr.h \
58008 dwarf2dbg.h $(INCDIR)/safe-ctype.h subsegs.h $(INCDIR)/obstack.h \
58009 $(INCDIR)/opcode/avr.h
58010 +DEPTC_avr32_elf = $(INCDIR)/symcat.h $(srcdir)/config/obj-elf.h \
58011 + $(BFDDIR)/elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
58012 + $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h $(srcdir)/config/tc-avr32.h \
58013 + $(INCDIR)/safe-ctype.h subsegs.h $(INCDIR)/obstack.h \
58014 + $(srcdir)/../opcodes/avr32-opc.h $(srcdir)/../opcodes/avr32-asm.h
58015 DEPTC_bfin_coff = $(INCDIR)/symcat.h $(srcdir)/config/obj-coff.h \
58016 $(srcdir)/config/tc-bfin.h $(INCDIR)/coff/internal.h \
58017 $(BFDDIR)/libcoff.h $(INCDIR)/bfdlink.h struc-symbol.h \
58018 @@ -1628,6 +1636,11 @@ DEPOBJ_bfin_elf = $(INCDIR)/symcat.h $(s
58019 $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h $(srcdir)/config/tc-bfin.h \
58020 dwarf2dbg.h $(INCDIR)/safe-ctype.h subsegs.h $(INCDIR)/obstack.h \
58021 struc-symbol.h $(INCDIR)/aout/aout64.h
58022 +DEPOBJ_avr32_elf = $(INCDIR)/symcat.h $(srcdir)/config/obj-elf.h \
58023 + $(BFDDIR)/elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
58024 + $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h $(srcdir)/config/tc-avr32.h \
58025 + $(INCDIR)/safe-ctype.h subsegs.h $(INCDIR)/obstack.h \
58026 + struc-symbol.h dwarf2dbg.h
58027 DEPOBJ_cris_aout = $(INCDIR)/symcat.h $(srcdir)/config/obj-aout.h \
58028 $(srcdir)/config/tc-cris.h $(BFDDIR)/libaout.h $(INCDIR)/bfdlink.h \
58029 $(INCDIR)/aout/aout64.h $(INCDIR)/obstack.h
58030 @@ -2095,6 +2108,9 @@ DEP_bfin_elf = $(srcdir)/config/obj-elf.
58031 $(BFDDIR)/elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
58032 $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h $(srcdir)/config/tc-bfin.h \
58033 dwarf2dbg.h
58034 +DEP_avr32_elf = $(srcdir)/config/obj-elf.h $(INCDIR)/symcat.h \
58035 + $(BFDDIR)/elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
58036 + $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h $(srcdir)/config/tc-avr32.h
58037 DEP_cris_aout = $(srcdir)/config/obj-aout.h $(srcdir)/config/tc-cris.h \
58038 $(BFDDIR)/libaout.h $(INCDIR)/bfdlink.h
58039 DEP_cris_elf = $(srcdir)/config/obj-elf.h $(INCDIR)/symcat.h \
58040 diff -Nrup binutils-2.17/gas/Makefile.in binutils-2.17-atmel/gas/Makefile.in
58041 --- binutils-2.17/gas/Makefile.in 2006-04-17 17:59:40.000000000 +0200
58042 +++ binutils-2.17-atmel/gas/Makefile.in 2007-02-20 16:07:31.000000000 +0100
58043 @@ -143,6 +143,7 @@ EXEEXT = @EXEEXT@
58044 GDBINIT = @GDBINIT@
58045 GMOFILES = @GMOFILES@
58046 GMSGFMT = @GMSGFMT@
58047 +GREP = @GREP@
58048 GT_NO = @GT_NO@
58049 GT_YES = @GT_YES@
58050 INCLUDE_LOCALE_H = @INCLUDE_LOCALE_H@
58051 @@ -192,9 +193,8 @@ VERSION = @VERSION@
58052 WARN_CFLAGS = @WARN_CFLAGS@
58053 XGETTEXT = @XGETTEXT@
58054 YACC = `if [ -f ../bison/bison ] ; then echo ../bison/bison -y -L../bison/bison ; else echo @YACC@ ; fi`
58055 +YFLAGS = @YFLAGS@
58056 ac_ct_CC = @ac_ct_CC@
58057 -ac_ct_RANLIB = @ac_ct_RANLIB@
58058 -ac_ct_STRIP = @ac_ct_STRIP@
58059 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
58060 am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
58061 am__include = @am__include@
58062 @@ -213,6 +213,7 @@ cgen_cpu_prefix = @cgen_cpu_prefix@
58063 datadir = @datadir@
58064 datarootdir = @datarootdir@
58065 docdir = @docdir@
58066 +dvidir = @dvidir@
58067 exec_prefix = @exec_prefix@
58068 extra_objects = @extra_objects@
58069 host = @host@
58070 @@ -228,13 +229,16 @@ install_tooldir = @install_tooldir@
58071 l = @l@
58072 libdir = @libdir@
58073 libexecdir = @libexecdir@
58074 +localedir = @localedir@
58075 localstatedir = @localstatedir@
58076 mandir = @mandir@
58077 mkdir_p = @mkdir_p@
58078 obj_format = @obj_format@
58079 oldincludedir = @oldincludedir@
58080 +pdfdir = @pdfdir@
58081 prefix = @prefix@
58082 program_transform_name = @program_transform_name@
58083 +psdir = @psdir@
58084 sbindir = @sbindir@
58085 sharedstatedir = @sharedstatedir@
58086 sysconfdir = @sysconfdir@
58087 @@ -276,6 +280,7 @@ CPU_TYPES = \
58088 arc \
58089 arm \
58090 avr \
58091 + avr32 \
58092 bfin \
58093 cris \
58094 crx \
58095 @@ -458,6 +463,7 @@ TARGET_CPU_CFILES = \
58096 config/tc-arc.c \
58097 config/tc-arm.c \
58098 config/tc-avr.c \
58099 + config/tc-avr32.c \
58100 config/tc-bfin.c \
58101 config/tc-cris.c \
58102 config/tc-crx.c \
58103 @@ -509,6 +515,7 @@ TARGET_CPU_HFILES = \
58104 config/tc-arc.h \
58105 config/tc-arm.h \
58106 config/tc-avr.h \
58107 + config/tc-avr32.h \
58108 config/tc-bfin.h \
58109 config/tc-cris.h \
58110 config/tc-crx.h \
58111 @@ -798,6 +805,12 @@ DEPTC_avr_elf = $(INCDIR)/symcat.h $(src
58112 dwarf2dbg.h $(INCDIR)/safe-ctype.h subsegs.h $(INCDIR)/obstack.h \
58113 $(INCDIR)/opcode/avr.h
58114
58115 +DEPTC_avr32_elf = $(INCDIR)/symcat.h $(srcdir)/config/obj-elf.h \
58116 + $(BFDDIR)/elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
58117 + $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h $(srcdir)/config/tc-avr32.h \
58118 + $(INCDIR)/safe-ctype.h subsegs.h $(INCDIR)/obstack.h \
58119 + $(srcdir)/../opcodes/avr32-opc.h $(srcdir)/../opcodes/avr32-asm.h
58120 +
58121 DEPTC_bfin_coff = $(INCDIR)/symcat.h $(srcdir)/config/obj-coff.h \
58122 $(srcdir)/config/tc-bfin.h $(INCDIR)/coff/internal.h \
58123 $(BFDDIR)/libcoff.h $(INCDIR)/bfdlink.h struc-symbol.h \
58124 @@ -1491,6 +1504,12 @@ DEPOBJ_bfin_elf = $(INCDIR)/symcat.h $(s
58125 dwarf2dbg.h $(INCDIR)/safe-ctype.h subsegs.h $(INCDIR)/obstack.h \
58126 struc-symbol.h $(INCDIR)/aout/aout64.h
58127
58128 +DEPOBJ_avr32_elf = $(INCDIR)/symcat.h $(srcdir)/config/obj-elf.h \
58129 + $(BFDDIR)/elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
58130 + $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h $(srcdir)/config/tc-avr32.h \
58131 + $(INCDIR)/safe-ctype.h subsegs.h $(INCDIR)/obstack.h \
58132 + struc-symbol.h dwarf2dbg.h
58133 +
58134 DEPOBJ_cris_aout = $(INCDIR)/symcat.h $(srcdir)/config/obj-aout.h \
58135 $(srcdir)/config/tc-cris.h $(BFDDIR)/libaout.h $(INCDIR)/bfdlink.h \
58136 $(INCDIR)/aout/aout64.h $(INCDIR)/obstack.h
58137 @@ -2066,6 +2085,10 @@ DEP_bfin_elf = $(srcdir)/config/obj-elf.
58138 $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h $(srcdir)/config/tc-bfin.h \
58139 dwarf2dbg.h
58140
58141 +DEP_avr32_elf = $(srcdir)/config/obj-elf.h $(INCDIR)/symcat.h \
58142 + $(BFDDIR)/elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
58143 + $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h $(srcdir)/config/tc-avr32.h
58144 +
58145 DEP_cris_aout = $(srcdir)/config/obj-aout.h $(srcdir)/config/tc-cris.h \
58146 $(BFDDIR)/libaout.h $(INCDIR)/bfdlink.h
58147
58148 diff -Nrup binutils-2.17/gas/testsuite/gas/avr32/aliases.d binutils-2.17-atmel/gas/testsuite/gas/avr32/aliases.d
58149 --- binutils-2.17/gas/testsuite/gas/avr32/aliases.d 1970-01-01 01:00:00.000000000 +0100
58150 +++ binutils-2.17-atmel/gas/testsuite/gas/avr32/aliases.d 2006-08-04 14:51:13.000000000 +0200
58151 @@ -0,0 +1,19 @@
58152 +#as:
58153 +#objdump: -dr
58154 +#name: aliases
58155 +
58156 +.*: +file format .*
58157 +
58158 +Disassembly of section \.text:
58159 +
58160 +00000000 <ld_nodisp>:
58161 + 0: 19 80 [ \t]+ld\.ub r0,r12\[0x0\]
58162 + 2: f9 20 00 00[ \t]+ld\.sb r0,r12\[0\]
58163 + 6: 98 80 [ \t]+ld\.uh r0,r12\[0x0\]
58164 + 8: 98 00 [ \t]+ld\.sh r0,r12\[0x0\]
58165 + a: 78 00 [ \t]+ld\.w r0,r12\[0x0\]
58166 +
58167 +0000000c <st_nodisp>:
58168 + c: b8 80 [ \t]+st\.b r12\[0x0\],r0
58169 + e: b8 00 [ \t]+st\.h r12\[0x0\],r0
58170 + 10: 99 00 [ \t]+st\.w r12\[0x0\],r0
58171 diff -Nrup binutils-2.17/gas/testsuite/gas/avr32/aliases.s binutils-2.17-atmel/gas/testsuite/gas/avr32/aliases.s
58172 --- binutils-2.17/gas/testsuite/gas/avr32/aliases.s 1970-01-01 01:00:00.000000000 +0100
58173 +++ binutils-2.17-atmel/gas/testsuite/gas/avr32/aliases.s 2006-08-04 14:51:13.000000000 +0200
58174 @@ -0,0 +1,14 @@
58175 + .text
58176 + .global ld_nodisp
58177 +ld_nodisp:
58178 + ld.ub r0, r12
58179 + ld.sb r0, r12
58180 + ld.uh r0, r12
58181 + ld.sh r0, r12
58182 + ld.w r0, r12
58183 +
58184 + .global st_nodisp
58185 +st_nodisp:
58186 + st.b r12, r0
58187 + st.h r12, r0
58188 + st.w r12, r0
58189 diff -Nrup binutils-2.17/gas/testsuite/gas/avr32/allinsn.d binutils-2.17-atmel/gas/testsuite/gas/avr32/allinsn.d
58190 --- binutils-2.17/gas/testsuite/gas/avr32/allinsn.d 1970-01-01 01:00:00.000000000 +0100
58191 +++ binutils-2.17-atmel/gas/testsuite/gas/avr32/allinsn.d 2006-08-04 14:51:13.000000000 +0200
58192 @@ -0,0 +1,2900 @@
58193 +#as:
58194 +#objdump: -dr
58195 +#name: allinsn
58196 +
58197 +.*: +file format .*
58198 +
58199 +Disassembly of section \.text:
58200 +
58201 +[0-9a-f]* <ld_d5>:
58202 + *[0-9a-f]*: fe 0f 02 3e ld\.d lr,pc\[pc<<0x3\]
58203 + *[0-9a-f]*: e0 00 02 00 ld\.d r0,r0\[r0\]
58204 + *[0-9a-f]*: ea 05 02 26 ld\.d r6,r5\[r5<<0x2\]
58205 + *[0-9a-f]*: e8 04 02 14 ld\.d r4,r4\[r4<<0x1\]
58206 + *[0-9a-f]*: fc 0e 02 1e ld\.d lr,lr\[lr<<0x1\]
58207 + *[0-9a-f]*: e6 0d 02 2a ld\.d r10,r3\[sp<<0x2\]
58208 + *[0-9a-f]*: f4 06 02 28 ld\.d r8,r10\[r6<<0x2\]
58209 + *[0-9a-f]*: ee 09 02 02 ld\.d r2,r7\[r9\]
58210 +
58211 +[0-9a-f]* <ld_w5>:
58212 + *[0-9a-f]*: fe 0f 03 0f ld\.w pc,pc\[pc\]
58213 + *[0-9a-f]*: f8 0c 03 3c ld\.w r12,r12\[r12<<0x3\]
58214 + *[0-9a-f]*: ea 05 03 25 ld\.w r5,r5\[r5<<0x2\]
58215 + *[0-9a-f]*: e8 04 03 14 ld\.w r4,r4\[r4<<0x1\]
58216 + *[0-9a-f]*: fc 0e 03 1e ld\.w lr,lr\[lr<<0x1\]
58217 + *[0-9a-f]*: f2 09 03 02 ld\.w r2,r9\[r9\]
58218 + *[0-9a-f]*: e4 06 03 0b ld\.w r11,r2\[r6\]
58219 + *[0-9a-f]*: e4 0d 03 30 ld\.w r0,r2\[sp<<0x3\]
58220 +
58221 +[0-9a-f]* <ld_sh5>:
58222 + *[0-9a-f]*: fe 0f 04 0f ld\.sh pc,pc\[pc\]
58223 + *[0-9a-f]*: f8 0c 04 3c ld\.sh r12,r12\[r12<<0x3\]
58224 + *[0-9a-f]*: ea 05 04 25 ld\.sh r5,r5\[r5<<0x2\]
58225 + *[0-9a-f]*: e8 04 04 14 ld\.sh r4,r4\[r4<<0x1\]
58226 + *[0-9a-f]*: fc 0e 04 1e ld\.sh lr,lr\[lr<<0x1\]
58227 + *[0-9a-f]*: e0 0f 04 2b ld\.sh r11,r0\[pc<<0x2\]
58228 + *[0-9a-f]*: fa 06 04 2a ld\.sh r10,sp\[r6<<0x2\]
58229 + *[0-9a-f]*: e4 02 04 0c ld\.sh r12,r2\[r2\]
58230 +
58231 +[0-9a-f]* <ld_uh5>:
58232 + *[0-9a-f]*: fe 0f 05 0f ld\.uh pc,pc\[pc\]
58233 + *[0-9a-f]*: f8 0c 05 3c ld\.uh r12,r12\[r12<<0x3\]
58234 + *[0-9a-f]*: ea 05 05 25 ld\.uh r5,r5\[r5<<0x2\]
58235 + *[0-9a-f]*: e8 04 05 14 ld\.uh r4,r4\[r4<<0x1\]
58236 + *[0-9a-f]*: fc 0e 05 1e ld\.uh lr,lr\[lr<<0x1\]
58237 + *[0-9a-f]*: fe 0e 05 38 ld\.uh r8,pc\[lr<<0x3\]
58238 + *[0-9a-f]*: e2 0f 05 16 ld\.uh r6,r1\[pc<<0x1\]
58239 + *[0-9a-f]*: fc 0d 05 16 ld\.uh r6,lr\[sp<<0x1\]
58240 +
58241 +[0-9a-f]* <ld_sb2>:
58242 + *[0-9a-f]*: fe 0f 06 0f ld\.sb pc,pc\[pc\]
58243 + *[0-9a-f]*: f8 0c 06 3c ld\.sb r12,r12\[r12<<0x3\]
58244 + *[0-9a-f]*: ea 05 06 25 ld\.sb r5,r5\[r5<<0x2\]
58245 + *[0-9a-f]*: e8 04 06 14 ld\.sb r4,r4\[r4<<0x1\]
58246 + *[0-9a-f]*: fc 0e 06 1e ld\.sb lr,lr\[lr<<0x1\]
58247 + *[0-9a-f]*: e2 0f 06 39 ld\.sb r9,r1\[pc<<0x3\]
58248 + *[0-9a-f]*: e6 0b 06 10 ld\.sb r0,r3\[r11<<0x1\]
58249 + *[0-9a-f]*: ea 05 06 1a ld\.sb r10,r5\[r5<<0x1\]
58250 +
58251 +[0-9a-f]* <ld_ub5>:
58252 + *[0-9a-f]*: fe 0f 07 0f ld\.ub pc,pc\[pc\]
58253 + *[0-9a-f]*: f8 0c 07 3c ld\.ub r12,r12\[r12<<0x3\]
58254 + *[0-9a-f]*: ea 05 07 25 ld\.ub r5,r5\[r5<<0x2\]
58255 + *[0-9a-f]*: e8 04 07 14 ld\.ub r4,r4\[r4<<0x1\]
58256 + *[0-9a-f]*: fc 0e 07 1e ld\.ub lr,lr\[lr<<0x1\]
58257 + *[0-9a-f]*: f8 07 07 36 ld\.ub r6,r12\[r7<<0x3\]
58258 + *[0-9a-f]*: ec 0c 07 02 ld\.ub r2,r6\[r12\]
58259 + *[0-9a-f]*: ee 0b 07 10 ld\.ub r0,r7\[r11<<0x1\]
58260 +
58261 +[0-9a-f]* <st_d5>:
58262 + *[0-9a-f]*: fe 0f 08 0e st\.d pc\[pc\],lr
58263 + *[0-9a-f]*: f8 0c 08 3c st\.d r12\[r12<<0x3\],r12
58264 + *[0-9a-f]*: ea 05 08 26 st\.d r5\[r5<<0x2\],r6
58265 + *[0-9a-f]*: e8 04 08 14 st\.d r4\[r4<<0x1\],r4
58266 + *[0-9a-f]*: fc 0e 08 1e st\.d lr\[lr<<0x1\],lr
58267 + *[0-9a-f]*: e2 09 08 14 st\.d r1\[r9<<0x1\],r4
58268 + *[0-9a-f]*: f4 02 08 14 st\.d r10\[r2<<0x1\],r4
58269 + *[0-9a-f]*: f8 06 08 0e st\.d r12\[r6\],lr
58270 +
58271 +[0-9a-f]* <st_w5>:
58272 + *[0-9a-f]*: fe 0f 09 0f st\.w pc\[pc\],pc
58273 + *[0-9a-f]*: f8 0c 09 3c st\.w r12\[r12<<0x3\],r12
58274 + *[0-9a-f]*: ea 05 09 25 st\.w r5\[r5<<0x2\],r5
58275 + *[0-9a-f]*: e8 04 09 14 st\.w r4\[r4<<0x1\],r4
58276 + *[0-9a-f]*: fc 0e 09 1e st\.w lr\[lr<<0x1\],lr
58277 + *[0-9a-f]*: e2 0a 09 03 st\.w r1\[r10\],r3
58278 + *[0-9a-f]*: e0 0a 09 19 st\.w r0\[r10<<0x1\],r9
58279 + *[0-9a-f]*: e8 05 09 3f st\.w r4\[r5<<0x3\],pc
58280 +
58281 +[0-9a-f]* <st_h5>:
58282 + *[0-9a-f]*: fe 0f 0a 0f st\.h pc\[pc\],pc
58283 + *[0-9a-f]*: f8 0c 0a 3c st\.h r12\[r12<<0x3\],r12
58284 + *[0-9a-f]*: ea 05 0a 25 st\.h r5\[r5<<0x2\],r5
58285 + *[0-9a-f]*: e8 04 0a 14 st\.h r4\[r4<<0x1\],r4
58286 + *[0-9a-f]*: fc 0e 0a 1e st\.h lr\[lr<<0x1\],lr
58287 + *[0-9a-f]*: e4 09 0a 0b st\.h r2\[r9\],r11
58288 + *[0-9a-f]*: ea 01 0a 2c st\.h r5\[r1<<0x2\],r12
58289 + *[0-9a-f]*: fe 08 0a 23 st\.h pc\[r8<<0x2\],r3
58290 +
58291 +[0-9a-f]* <st_b5>:
58292 + *[0-9a-f]*: fe 0f 0b 0f st\.b pc\[pc\],pc
58293 + *[0-9a-f]*: f8 0c 0b 3c st\.b r12\[r12<<0x3\],r12
58294 + *[0-9a-f]*: ea 05 0b 25 st\.b r5\[r5<<0x2\],r5
58295 + *[0-9a-f]*: e8 04 0b 14 st\.b r4\[r4<<0x1\],r4
58296 + *[0-9a-f]*: fc 0e 0b 1e st\.b lr\[lr<<0x1\],lr
58297 + *[0-9a-f]*: e2 08 0b 16 st\.b r1\[r8<<0x1\],r6
58298 + *[0-9a-f]*: fc 0e 0b 31 st\.b lr\[lr<<0x3\],r1
58299 + *[0-9a-f]*: ea 00 0b 2f st\.b r5\[r0<<0x2\],pc
58300 +
58301 +[0-9a-f]* <divs>:
58302 + *[0-9a-f]*: fe 0f 0c 0f divs pc,pc,pc
58303 + *[0-9a-f]*: f8 0c 0c 0c divs r12,r12,r12
58304 + *[0-9a-f]*: ea 05 0c 05 divs r5,r5,r5
58305 + *[0-9a-f]*: e8 04 0c 04 divs r4,r4,r4
58306 + *[0-9a-f]*: fc 0e 0c 0e divs lr,lr,lr
58307 + *[0-9a-f]*: fe 0f 0c 03 divs r3,pc,pc
58308 + *[0-9a-f]*: f8 02 0c 09 divs r9,r12,r2
58309 + *[0-9a-f]*: e8 01 0c 07 divs r7,r4,r1
58310 +
58311 +[0-9a-f]* <add1>:
58312 + *[0-9a-f]*: 1e 0f add pc,pc
58313 + *[0-9a-f]*: 18 0c add r12,r12
58314 + *[0-9a-f]*: 0a 05 add r5,r5
58315 + *[0-9a-f]*: 08 04 add r4,r4
58316 + *[0-9a-f]*: 1c 0e add lr,lr
58317 + *[0-9a-f]*: 12 0c add r12,r9
58318 + *[0-9a-f]*: 06 06 add r6,r3
58319 + *[0-9a-f]*: 18 0a add r10,r12
58320 +
58321 +[0-9a-f]* <sub1>:
58322 + *[0-9a-f]*: 1e 1f sub pc,pc
58323 + *[0-9a-f]*: 18 1c sub r12,r12
58324 + *[0-9a-f]*: 0a 15 sub r5,r5
58325 + *[0-9a-f]*: 08 14 sub r4,r4
58326 + *[0-9a-f]*: 1c 1e sub lr,lr
58327 + *[0-9a-f]*: 0c 1e sub lr,r6
58328 + *[0-9a-f]*: 1a 10 sub r0,sp
58329 + *[0-9a-f]*: 18 16 sub r6,r12
58330 +
58331 +[0-9a-f]* <rsub1>:
58332 + *[0-9a-f]*: 1e 2f rsub pc,pc
58333 + *[0-9a-f]*: 18 2c rsub r12,r12
58334 + *[0-9a-f]*: 0a 25 rsub r5,r5
58335 + *[0-9a-f]*: 08 24 rsub r4,r4
58336 + *[0-9a-f]*: 1c 2e rsub lr,lr
58337 + *[0-9a-f]*: 1a 2b rsub r11,sp
58338 + *[0-9a-f]*: 08 27 rsub r7,r4
58339 + *[0-9a-f]*: 02 29 rsub r9,r1
58340 +
58341 +[0-9a-f]* <cp1>:
58342 + *[0-9a-f]*: 1e 3f cp\.w pc,pc
58343 + *[0-9a-f]*: 18 3c cp\.w r12,r12
58344 + *[0-9a-f]*: 0a 35 cp\.w r5,r5
58345 + *[0-9a-f]*: 08 34 cp\.w r4,r4
58346 + *[0-9a-f]*: 1c 3e cp\.w lr,lr
58347 + *[0-9a-f]*: 04 36 cp\.w r6,r2
58348 + *[0-9a-f]*: 12 30 cp\.w r0,r9
58349 + *[0-9a-f]*: 1a 33 cp\.w r3,sp
58350 +
58351 +[0-9a-f]* <or1>:
58352 + *[0-9a-f]*: 1e 4f or pc,pc
58353 + *[0-9a-f]*: 18 4c or r12,r12
58354 + *[0-9a-f]*: 0a 45 or r5,r5
58355 + *[0-9a-f]*: 08 44 or r4,r4
58356 + *[0-9a-f]*: 1c 4e or lr,lr
58357 + *[0-9a-f]*: 12 44 or r4,r9
58358 + *[0-9a-f]*: 08 4b or r11,r4
58359 + *[0-9a-f]*: 00 44 or r4,r0
58360 +
58361 +[0-9a-f]* <eor1>:
58362 + *[0-9a-f]*: 1e 5f eor pc,pc
58363 + *[0-9a-f]*: 18 5c eor r12,r12
58364 + *[0-9a-f]*: 0a 55 eor r5,r5
58365 + *[0-9a-f]*: 08 54 eor r4,r4
58366 + *[0-9a-f]*: 1c 5e eor lr,lr
58367 + *[0-9a-f]*: 16 5c eor r12,r11
58368 + *[0-9a-f]*: 02 50 eor r0,r1
58369 + *[0-9a-f]*: 1e 55 eor r5,pc
58370 +
58371 +[0-9a-f]* <and1>:
58372 + *[0-9a-f]*: 1e 6f and pc,pc
58373 + *[0-9a-f]*: 18 6c and r12,r12
58374 + *[0-9a-f]*: 0a 65 and r5,r5
58375 + *[0-9a-f]*: 08 64 and r4,r4
58376 + *[0-9a-f]*: 1c 6e and lr,lr
58377 + *[0-9a-f]*: 02 68 and r8,r1
58378 + *[0-9a-f]*: 1a 60 and r0,sp
58379 + *[0-9a-f]*: 0a 6a and r10,r5
58380 +
58381 +[0-9a-f]* <tst>:
58382 + *[0-9a-f]*: 1e 7f tst pc,pc
58383 + *[0-9a-f]*: 18 7c tst r12,r12
58384 + *[0-9a-f]*: 0a 75 tst r5,r5
58385 + *[0-9a-f]*: 08 74 tst r4,r4
58386 + *[0-9a-f]*: 1c 7e tst lr,lr
58387 + *[0-9a-f]*: 18 70 tst r0,r12
58388 + *[0-9a-f]*: 0c 7a tst r10,r6
58389 + *[0-9a-f]*: 08 7d tst sp,r4
58390 +
58391 +[0-9a-f]* <andn>:
58392 + *[0-9a-f]*: 1e 8f andn pc,pc
58393 + *[0-9a-f]*: 18 8c andn r12,r12
58394 + *[0-9a-f]*: 0a 85 andn r5,r5
58395 + *[0-9a-f]*: 08 84 andn r4,r4
58396 + *[0-9a-f]*: 1c 8e andn lr,lr
58397 + *[0-9a-f]*: 18 89 andn r9,r12
58398 + *[0-9a-f]*: 1a 8b andn r11,sp
58399 + *[0-9a-f]*: 0a 8c andn r12,r5
58400 +
58401 +[0-9a-f]* <mov3>:
58402 + *[0-9a-f]*: 1e 9f mov pc,pc
58403 + *[0-9a-f]*: 18 9c mov r12,r12
58404 + *[0-9a-f]*: 0a 95 mov r5,r5
58405 + *[0-9a-f]*: 08 94 mov r4,r4
58406 + *[0-9a-f]*: 1c 9e mov lr,lr
58407 + *[0-9a-f]*: 12 95 mov r5,r9
58408 + *[0-9a-f]*: 16 9b mov r11,r11
58409 + *[0-9a-f]*: 1c 92 mov r2,lr
58410 +
58411 +[0-9a-f]* <st_w1>:
58412 + *[0-9a-f]*: 1e af st\.w pc\+\+,pc
58413 + *[0-9a-f]*: 18 ac st\.w r12\+\+,r12
58414 + *[0-9a-f]*: 0a a5 st\.w r5\+\+,r5
58415 + *[0-9a-f]*: 08 a4 st\.w r4\+\+,r4
58416 + *[0-9a-f]*: 1c ae st\.w lr\+\+,lr
58417 + *[0-9a-f]*: 02 ab st\.w r1\+\+,r11
58418 + *[0-9a-f]*: 1a a0 st\.w sp\+\+,r0
58419 + *[0-9a-f]*: 1a a1 st\.w sp\+\+,r1
58420 +
58421 +[0-9a-f]* <st_h1>:
58422 + *[0-9a-f]*: 1e bf st\.h pc\+\+,pc
58423 + *[0-9a-f]*: 18 bc st\.h r12\+\+,r12
58424 + *[0-9a-f]*: 0a b5 st\.h r5\+\+,r5
58425 + *[0-9a-f]*: 08 b4 st\.h r4\+\+,r4
58426 + *[0-9a-f]*: 1c be st\.h lr\+\+,lr
58427 + *[0-9a-f]*: 18 bd st\.h r12\+\+,sp
58428 + *[0-9a-f]*: 0e be st\.h r7\+\+,lr
58429 + *[0-9a-f]*: 0e b4 st\.h r7\+\+,r4
58430 +
58431 +[0-9a-f]* <st_b1>:
58432 + *[0-9a-f]*: 1e cf st\.b pc\+\+,pc
58433 + *[0-9a-f]*: 18 cc st\.b r12\+\+,r12
58434 + *[0-9a-f]*: 0a c5 st\.b r5\+\+,r5
58435 + *[0-9a-f]*: 08 c4 st\.b r4\+\+,r4
58436 + *[0-9a-f]*: 1c ce st\.b lr\+\+,lr
58437 + *[0-9a-f]*: 12 cd st\.b r9\+\+,sp
58438 + *[0-9a-f]*: 02 cd st\.b r1\+\+,sp
58439 + *[0-9a-f]*: 00 c4 st\.b r0\+\+,r4
58440 +
58441 +[0-9a-f]* <st_w2>:
58442 + *[0-9a-f]*: 1e df st\.w --pc,pc
58443 + *[0-9a-f]*: 18 dc st\.w --r12,r12
58444 + *[0-9a-f]*: 0a d5 st\.w --r5,r5
58445 + *[0-9a-f]*: 08 d4 st\.w --r4,r4
58446 + *[0-9a-f]*: 1c de st\.w --lr,lr
58447 + *[0-9a-f]*: 02 d7 st\.w --r1,r7
58448 + *[0-9a-f]*: 06 d9 st\.w --r3,r9
58449 + *[0-9a-f]*: 0a d5 st\.w --r5,r5
58450 +
58451 +[0-9a-f]* <st_h2>:
58452 + *[0-9a-f]*: 1e ef st\.h --pc,pc
58453 + *[0-9a-f]*: 18 ec st\.h --r12,r12
58454 + *[0-9a-f]*: 0a e5 st\.h --r5,r5
58455 + *[0-9a-f]*: 08 e4 st\.h --r4,r4
58456 + *[0-9a-f]*: 1c ee st\.h --lr,lr
58457 + *[0-9a-f]*: 0a e7 st\.h --r5,r7
58458 + *[0-9a-f]*: 10 e8 st\.h --r8,r8
58459 + *[0-9a-f]*: 0e e2 st\.h --r7,r2
58460 +
58461 +[0-9a-f]* <st_b2>:
58462 + *[0-9a-f]*: 1e ff st\.b --pc,pc
58463 + *[0-9a-f]*: 18 fc st\.b --r12,r12
58464 + *[0-9a-f]*: 0a f5 st\.b --r5,r5
58465 + *[0-9a-f]*: 08 f4 st\.b --r4,r4
58466 + *[0-9a-f]*: 1c fe st\.b --lr,lr
58467 + *[0-9a-f]*: 1a fd st\.b --sp,sp
58468 + *[0-9a-f]*: 1a fb st\.b --sp,r11
58469 + *[0-9a-f]*: 08 f5 st\.b --r4,r5
58470 +
58471 +[0-9a-f]* <ld_w1>:
58472 + *[0-9a-f]*: 1f 0f ld\.w pc,pc\+\+
58473 + *[0-9a-f]*: 19 0c ld\.w r12,r12\+\+
58474 + *[0-9a-f]*: 0b 05 ld\.w r5,r5\+\+
58475 + *[0-9a-f]*: 09 04 ld\.w r4,r4\+\+
58476 + *[0-9a-f]*: 1d 0e ld\.w lr,lr\+\+
58477 + *[0-9a-f]*: 0f 03 ld\.w r3,r7\+\+
58478 + *[0-9a-f]*: 1d 03 ld\.w r3,lr\+\+
58479 + *[0-9a-f]*: 0b 0c ld\.w r12,r5\+\+
58480 +
58481 +[0-9a-f]* <ld_sh1>:
58482 + *[0-9a-f]*: 1f 1f ld\.sh pc,pc\+\+
58483 + *[0-9a-f]*: 19 1c ld\.sh r12,r12\+\+
58484 + *[0-9a-f]*: 0b 15 ld\.sh r5,r5\+\+
58485 + *[0-9a-f]*: 09 14 ld\.sh r4,r4\+\+
58486 + *[0-9a-f]*: 1d 1e ld\.sh lr,lr\+\+
58487 + *[0-9a-f]*: 05 1b ld\.sh r11,r2\+\+
58488 + *[0-9a-f]*: 11 12 ld\.sh r2,r8\+\+
58489 + *[0-9a-f]*: 0d 17 ld\.sh r7,r6\+\+
58490 +
58491 +[0-9a-f]* <ld_uh1>:
58492 + *[0-9a-f]*: 1f 2f ld\.uh pc,pc\+\+
58493 + *[0-9a-f]*: 19 2c ld\.uh r12,r12\+\+
58494 + *[0-9a-f]*: 0b 25 ld\.uh r5,r5\+\+
58495 + *[0-9a-f]*: 09 24 ld\.uh r4,r4\+\+
58496 + *[0-9a-f]*: 1d 2e ld\.uh lr,lr\+\+
58497 + *[0-9a-f]*: 0f 26 ld\.uh r6,r7\+\+
58498 + *[0-9a-f]*: 17 2a ld\.uh r10,r11\+\+
58499 + *[0-9a-f]*: 09 2e ld\.uh lr,r4\+\+
58500 +
58501 +[0-9a-f]* <ld_ub1>:
58502 + *[0-9a-f]*: 1f 3f ld\.ub pc,pc\+\+
58503 + *[0-9a-f]*: 19 3c ld\.ub r12,r12\+\+
58504 + *[0-9a-f]*: 0b 35 ld\.ub r5,r5\+\+
58505 + *[0-9a-f]*: 09 34 ld\.ub r4,r4\+\+
58506 + *[0-9a-f]*: 1d 3e ld\.ub lr,lr\+\+
58507 + *[0-9a-f]*: 1d 38 ld\.ub r8,lr\+\+
58508 + *[0-9a-f]*: 19 3c ld\.ub r12,r12\+\+
58509 + *[0-9a-f]*: 15 3b ld\.ub r11,r10\+\+
58510 +
58511 +[0-9a-f]* <ld_w2>:
58512 + *[0-9a-f]*: 1f 4f ld\.w pc,--pc
58513 + *[0-9a-f]*: 19 4c ld\.w r12,--r12
58514 + *[0-9a-f]*: 0b 45 ld\.w r5,--r5
58515 + *[0-9a-f]*: 09 44 ld\.w r4,--r4
58516 + *[0-9a-f]*: 1d 4e ld\.w lr,--lr
58517 + *[0-9a-f]*: 1d 4a ld\.w r10,--lr
58518 + *[0-9a-f]*: 13 4c ld\.w r12,--r9
58519 + *[0-9a-f]*: 0b 46 ld\.w r6,--r5
58520 +
58521 +[0-9a-f]* <ld_sh2>:
58522 + *[0-9a-f]*: 1f 5f ld\.sh pc,--pc
58523 + *[0-9a-f]*: 19 5c ld\.sh r12,--r12
58524 + *[0-9a-f]*: 0b 55 ld\.sh r5,--r5
58525 + *[0-9a-f]*: 09 54 ld\.sh r4,--r4
58526 + *[0-9a-f]*: 1d 5e ld\.sh lr,--lr
58527 + *[0-9a-f]*: 15 5f ld\.sh pc,--r10
58528 + *[0-9a-f]*: 07 56 ld\.sh r6,--r3
58529 + *[0-9a-f]*: 0d 54 ld\.sh r4,--r6
58530 +
58531 +[0-9a-f]* <ld_uh2>:
58532 + *[0-9a-f]*: 1f 6f ld\.uh pc,--pc
58533 + *[0-9a-f]*: 19 6c ld\.uh r12,--r12
58534 + *[0-9a-f]*: 0b 65 ld\.uh r5,--r5
58535 + *[0-9a-f]*: 09 64 ld\.uh r4,--r4
58536 + *[0-9a-f]*: 1d 6e ld\.uh lr,--lr
58537 + *[0-9a-f]*: 05 63 ld\.uh r3,--r2
58538 + *[0-9a-f]*: 01 61 ld\.uh r1,--r0
58539 + *[0-9a-f]*: 13 62 ld\.uh r2,--r9
58540 +
58541 +[0-9a-f]* <ld_ub2>:
58542 + *[0-9a-f]*: 1f 7f ld\.ub pc,--pc
58543 + *[0-9a-f]*: 19 7c ld\.ub r12,--r12
58544 + *[0-9a-f]*: 0b 75 ld\.ub r5,--r5
58545 + *[0-9a-f]*: 09 74 ld\.ub r4,--r4
58546 + *[0-9a-f]*: 1d 7e ld\.ub lr,--lr
58547 + *[0-9a-f]*: 03 71 ld\.ub r1,--r1
58548 + *[0-9a-f]*: 0d 70 ld\.ub r0,--r6
58549 + *[0-9a-f]*: 0f 72 ld\.ub r2,--r7
58550 +
58551 +[0-9a-f]* <ld_ub3>:
58552 + *[0-9a-f]*: 1f 8f ld\.ub pc,pc\[0x0\]
58553 + *[0-9a-f]*: 19 fc ld\.ub r12,r12\[0x7\]
58554 + *[0-9a-f]*: 0b c5 ld\.ub r5,r5\[0x4\]
58555 + *[0-9a-f]*: 09 b4 ld\.ub r4,r4\[0x3\]
58556 + *[0-9a-f]*: 1d 9e ld\.ub lr,lr\[0x1\]
58557 + *[0-9a-f]*: 13 e6 ld\.ub r6,r9\[0x6\]
58558 + *[0-9a-f]*: 1d c2 ld\.ub r2,lr\[0x4\]
58559 + *[0-9a-f]*: 11 81 ld\.ub r1,r8\[0x0\]
58560 +
58561 +[0-9a-f]* <sub3_sp>:
58562 + *[0-9a-f]*: 20 0d sub sp,0
58563 + *[0-9a-f]*: 2f fd sub sp,-4
58564 + *[0-9a-f]*: 28 0d sub sp,-512
58565 + *[0-9a-f]*: 27 fd sub sp,508
58566 + *[0-9a-f]*: 20 1d sub sp,4
58567 + *[0-9a-f]*: 20 bd sub sp,44
58568 + *[0-9a-f]*: 20 2d sub sp,8
58569 + *[0-9a-f]*: 25 7d sub sp,348
58570 +
58571 +[0-9a-f]* <sub3>:
58572 + *[0-9a-f]*: 20 0f sub pc,0
58573 + *[0-9a-f]*: 2f fc sub r12,-1
58574 + *[0-9a-f]*: 28 05 sub r5,-128
58575 + *[0-9a-f]*: 27 f4 sub r4,127
58576 + *[0-9a-f]*: 20 1e sub lr,1
58577 + *[0-9a-f]*: 2d 76 sub r6,-41
58578 + *[0-9a-f]*: 22 54 sub r4,37
58579 + *[0-9a-f]*: 23 8c sub r12,56
58580 +
58581 +[0-9a-f]* <mov1>:
58582 + *[0-9a-f]*: 30 0f mov pc,0
58583 + *[0-9a-f]*: 3f fc mov r12,-1
58584 + *[0-9a-f]*: 38 05 mov r5,-128
58585 + *[0-9a-f]*: 37 f4 mov r4,127
58586 + *[0-9a-f]*: 30 1e mov lr,1
58587 + *[0-9a-f]*: 30 ef mov pc,14
58588 + *[0-9a-f]*: 39 c6 mov r6,-100
58589 + *[0-9a-f]*: 38 6e mov lr,-122
58590 +
58591 +[0-9a-f]* <lddsp>:
58592 + *[0-9a-f]*: 40 0f lddsp pc,sp\[0x0\]
58593 + *[0-9a-f]*: 47 fc lddsp r12,sp\[0x1fc\]
58594 + *[0-9a-f]*: 44 05 lddsp r5,sp\[0x100\]
58595 + *[0-9a-f]*: 43 f4 lddsp r4,sp\[0xfc\]
58596 + *[0-9a-f]*: 40 1e lddsp lr,sp\[0x4\]
58597 + *[0-9a-f]*: 44 0e lddsp lr,sp\[0x100\]
58598 + *[0-9a-f]*: 40 5c lddsp r12,sp\[0x14\]
58599 + *[0-9a-f]*: 47 69 lddsp r9,sp\[0x1d8\]
58600 +
58601 +[0-9a-f]* <lddpc>:
58602 + *[0-9a-f]*: 48 0f lddpc pc,[0-9a-f]* <.*>
58603 + *[0-9a-f]*: 4f f0 lddpc r0,[0-9a-f]* <.*>
58604 + *[0-9a-f]*: 4c 08 lddpc r8,[0-9a-f]* <.*>
58605 + *[0-9a-f]*: 4b f7 lddpc r7,[0-9a-f]* <.*>
58606 + *[0-9a-f]*: 48 1e lddpc lr,[0-9a-f]* <.*>
58607 + *[0-9a-f]*: 4f 6d lddpc sp,[0-9a-f]* <.*>
58608 + *[0-9a-f]*: 49 e6 lddpc r6,[0-9a-f]* <.*>
58609 + *[0-9a-f]*: 48 7b lddpc r11,[0-9a-f]* <.*>
58610 +
58611 +[0-9a-f]* <stdsp>:
58612 + *[0-9a-f]*: 50 0f stdsp sp\[0x0\],pc
58613 + *[0-9a-f]*: 57 fc stdsp sp\[0x1fc\],r12
58614 + *[0-9a-f]*: 54 05 stdsp sp\[0x100\],r5
58615 + *[0-9a-f]*: 53 f4 stdsp sp\[0xfc\],r4
58616 + *[0-9a-f]*: 50 1e stdsp sp\[0x4\],lr
58617 + *[0-9a-f]*: 54 cf stdsp sp\[0x130\],pc
58618 + *[0-9a-f]*: 54 00 stdsp sp\[0x100\],r0
58619 + *[0-9a-f]*: 55 45 stdsp sp\[0x150\],r5
58620 +
58621 +[0-9a-f]* <cp2>:
58622 + *[0-9a-f]*: 58 0f cp.w pc,0
58623 + *[0-9a-f]*: 5b fc cp.w r12,-1
58624 + *[0-9a-f]*: 5a 05 cp.w r5,-32
58625 + *[0-9a-f]*: 59 f4 cp.w r4,31
58626 + *[0-9a-f]*: 58 1e cp.w lr,1
58627 + *[0-9a-f]*: 58 38 cp.w r8,3
58628 + *[0-9a-f]*: 59 0e cp.w lr,16
58629 + *[0-9a-f]*: 5a 67 cp.w r7,-26
58630 +
58631 +[0-9a-f]* <acr>:
58632 + *[0-9a-f]*: 5c 0f acr pc
58633 + *[0-9a-f]*: 5c 0c acr r12
58634 + *[0-9a-f]*: 5c 05 acr r5
58635 + *[0-9a-f]*: 5c 04 acr r4
58636 + *[0-9a-f]*: 5c 0e acr lr
58637 + *[0-9a-f]*: 5c 02 acr r2
58638 + *[0-9a-f]*: 5c 0c acr r12
58639 + *[0-9a-f]*: 5c 0f acr pc
58640 +
58641 +[0-9a-f]* <scr>:
58642 + *[0-9a-f]*: 5c 1f scr pc
58643 + *[0-9a-f]*: 5c 1c scr r12
58644 + *[0-9a-f]*: 5c 15 scr r5
58645 + *[0-9a-f]*: 5c 14 scr r4
58646 + *[0-9a-f]*: 5c 1e scr lr
58647 + *[0-9a-f]*: 5c 1f scr pc
58648 + *[0-9a-f]*: 5c 16 scr r6
58649 + *[0-9a-f]*: 5c 11 scr r1
58650 +
58651 +[0-9a-f]* <cpc0>:
58652 + *[0-9a-f]*: 5c 2f cpc pc
58653 + *[0-9a-f]*: 5c 2c cpc r12
58654 + *[0-9a-f]*: 5c 25 cpc r5
58655 + *[0-9a-f]*: 5c 24 cpc r4
58656 + *[0-9a-f]*: 5c 2e cpc lr
58657 + *[0-9a-f]*: 5c 2f cpc pc
58658 + *[0-9a-f]*: 5c 24 cpc r4
58659 + *[0-9a-f]*: 5c 29 cpc r9
58660 +
58661 +[0-9a-f]* <neg>:
58662 + *[0-9a-f]*: 5c 3f neg pc
58663 + *[0-9a-f]*: 5c 3c neg r12
58664 + *[0-9a-f]*: 5c 35 neg r5
58665 + *[0-9a-f]*: 5c 34 neg r4
58666 + *[0-9a-f]*: 5c 3e neg lr
58667 + *[0-9a-f]*: 5c 37 neg r7
58668 + *[0-9a-f]*: 5c 31 neg r1
58669 + *[0-9a-f]*: 5c 39 neg r9
58670 +
58671 +[0-9a-f]* <abs>:
58672 + *[0-9a-f]*: 5c 4f abs pc
58673 + *[0-9a-f]*: 5c 4c abs r12
58674 + *[0-9a-f]*: 5c 45 abs r5
58675 + *[0-9a-f]*: 5c 44 abs r4
58676 + *[0-9a-f]*: 5c 4e abs lr
58677 + *[0-9a-f]*: 5c 46 abs r6
58678 + *[0-9a-f]*: 5c 46 abs r6
58679 + *[0-9a-f]*: 5c 44 abs r4
58680 +
58681 +[0-9a-f]* <castu_b>:
58682 + *[0-9a-f]*: 5c 5f castu\.b pc
58683 + *[0-9a-f]*: 5c 5c castu\.b r12
58684 + *[0-9a-f]*: 5c 55 castu\.b r5
58685 + *[0-9a-f]*: 5c 54 castu\.b r4
58686 + *[0-9a-f]*: 5c 5e castu\.b lr
58687 + *[0-9a-f]*: 5c 57 castu\.b r7
58688 + *[0-9a-f]*: 5c 5d castu\.b sp
58689 + *[0-9a-f]*: 5c 59 castu\.b r9
58690 +
58691 +[0-9a-f]* <casts_b>:
58692 + *[0-9a-f]*: 5c 6f casts\.b pc
58693 + *[0-9a-f]*: 5c 6c casts\.b r12
58694 + *[0-9a-f]*: 5c 65 casts\.b r5
58695 + *[0-9a-f]*: 5c 64 casts\.b r4
58696 + *[0-9a-f]*: 5c 6e casts\.b lr
58697 + *[0-9a-f]*: 5c 6b casts\.b r11
58698 + *[0-9a-f]*: 5c 61 casts\.b r1
58699 + *[0-9a-f]*: 5c 6a casts\.b r10
58700 +
58701 +[0-9a-f]* <castu_h>:
58702 + *[0-9a-f]*: 5c 7f castu\.h pc
58703 + *[0-9a-f]*: 5c 7c castu\.h r12
58704 + *[0-9a-f]*: 5c 75 castu\.h r5
58705 + *[0-9a-f]*: 5c 74 castu\.h r4
58706 + *[0-9a-f]*: 5c 7e castu\.h lr
58707 + *[0-9a-f]*: 5c 7a castu\.h r10
58708 + *[0-9a-f]*: 5c 7b castu\.h r11
58709 + *[0-9a-f]*: 5c 71 castu\.h r1
58710 +
58711 +[0-9a-f]* <casts_h>:
58712 + *[0-9a-f]*: 5c 8f casts\.h pc
58713 + *[0-9a-f]*: 5c 8c casts\.h r12
58714 + *[0-9a-f]*: 5c 85 casts\.h r5
58715 + *[0-9a-f]*: 5c 84 casts\.h r4
58716 + *[0-9a-f]*: 5c 8e casts\.h lr
58717 + *[0-9a-f]*: 5c 80 casts\.h r0
58718 + *[0-9a-f]*: 5c 85 casts\.h r5
58719 + *[0-9a-f]*: 5c 89 casts\.h r9
58720 +
58721 +[0-9a-f]* <brev>:
58722 + *[0-9a-f]*: 5c 9f brev pc
58723 + *[0-9a-f]*: 5c 9c brev r12
58724 + *[0-9a-f]*: 5c 95 brev r5
58725 + *[0-9a-f]*: 5c 94 brev r4
58726 + *[0-9a-f]*: 5c 9e brev lr
58727 + *[0-9a-f]*: 5c 95 brev r5
58728 + *[0-9a-f]*: 5c 9a brev r10
58729 + *[0-9a-f]*: 5c 98 brev r8
58730 +
58731 +[0-9a-f]* <swap_h>:
58732 + *[0-9a-f]*: 5c af swap\.h pc
58733 + *[0-9a-f]*: 5c ac swap\.h r12
58734 + *[0-9a-f]*: 5c a5 swap\.h r5
58735 + *[0-9a-f]*: 5c a4 swap\.h r4
58736 + *[0-9a-f]*: 5c ae swap\.h lr
58737 + *[0-9a-f]*: 5c a7 swap\.h r7
58738 + *[0-9a-f]*: 5c a0 swap\.h r0
58739 + *[0-9a-f]*: 5c a8 swap\.h r8
58740 +
58741 +[0-9a-f]* <swap_b>:
58742 + *[0-9a-f]*: 5c bf swap\.b pc
58743 + *[0-9a-f]*: 5c bc swap\.b r12
58744 + *[0-9a-f]*: 5c b5 swap\.b r5
58745 + *[0-9a-f]*: 5c b4 swap\.b r4
58746 + *[0-9a-f]*: 5c be swap\.b lr
58747 + *[0-9a-f]*: 5c ba swap\.b r10
58748 + *[0-9a-f]*: 5c bc swap\.b r12
58749 + *[0-9a-f]*: 5c b1 swap\.b r1
58750 +
58751 +[0-9a-f]* <swap_bh>:
58752 + *[0-9a-f]*: 5c cf swap\.bh pc
58753 + *[0-9a-f]*: 5c cc swap\.bh r12
58754 + *[0-9a-f]*: 5c c5 swap\.bh r5
58755 + *[0-9a-f]*: 5c c4 swap\.bh r4
58756 + *[0-9a-f]*: 5c ce swap\.bh lr
58757 + *[0-9a-f]*: 5c c9 swap\.bh r9
58758 + *[0-9a-f]*: 5c c4 swap\.bh r4
58759 + *[0-9a-f]*: 5c c1 swap\.bh r1
58760 +
58761 +[0-9a-f]* <One_s_compliment>:
58762 + *[0-9a-f]*: 5c df com pc
58763 + *[0-9a-f]*: 5c dc com r12
58764 + *[0-9a-f]*: 5c d5 com r5
58765 + *[0-9a-f]*: 5c d4 com r4
58766 + *[0-9a-f]*: 5c de com lr
58767 + *[0-9a-f]*: 5c d2 com r2
58768 + *[0-9a-f]*: 5c d2 com r2
58769 + *[0-9a-f]*: 5c d7 com r7
58770 +
58771 +[0-9a-f]* <tnbz>:
58772 + *[0-9a-f]*: 5c ef tnbz pc
58773 + *[0-9a-f]*: 5c ec tnbz r12
58774 + *[0-9a-f]*: 5c e5 tnbz r5
58775 + *[0-9a-f]*: 5c e4 tnbz r4
58776 + *[0-9a-f]*: 5c ee tnbz lr
58777 + *[0-9a-f]*: 5c e8 tnbz r8
58778 + *[0-9a-f]*: 5c ec tnbz r12
58779 + *[0-9a-f]*: 5c ef tnbz pc
58780 +
58781 +[0-9a-f]* <rol>:
58782 + *[0-9a-f]*: 5c ff rol pc
58783 + *[0-9a-f]*: 5c fc rol r12
58784 + *[0-9a-f]*: 5c f5 rol r5
58785 + *[0-9a-f]*: 5c f4 rol r4
58786 + *[0-9a-f]*: 5c fe rol lr
58787 + *[0-9a-f]*: 5c fa rol r10
58788 + *[0-9a-f]*: 5c f9 rol r9
58789 + *[0-9a-f]*: 5c f5 rol r5
58790 +
58791 +[0-9a-f]* <ror>:
58792 + *[0-9a-f]*: 5d 0f ror pc
58793 + *[0-9a-f]*: 5d 0c ror r12
58794 + *[0-9a-f]*: 5d 05 ror r5
58795 + *[0-9a-f]*: 5d 04 ror r4
58796 + *[0-9a-f]*: 5d 0e ror lr
58797 + *[0-9a-f]*: 5d 08 ror r8
58798 + *[0-9a-f]*: 5d 04 ror r4
58799 + *[0-9a-f]*: 5d 07 ror r7
58800 +
58801 +[0-9a-f]* <icall>:
58802 + *[0-9a-f]*: 5d 1f icall pc
58803 + *[0-9a-f]*: 5d 1c icall r12
58804 + *[0-9a-f]*: 5d 15 icall r5
58805 + *[0-9a-f]*: 5d 14 icall r4
58806 + *[0-9a-f]*: 5d 1e icall lr
58807 + *[0-9a-f]*: 5d 13 icall r3
58808 + *[0-9a-f]*: 5d 11 icall r1
58809 + *[0-9a-f]*: 5d 13 icall r3
58810 +
58811 +[0-9a-f]* <mustr>:
58812 + *[0-9a-f]*: 5d 2f mustr pc
58813 + *[0-9a-f]*: 5d 2c mustr r12
58814 + *[0-9a-f]*: 5d 25 mustr r5
58815 + *[0-9a-f]*: 5d 24 mustr r4
58816 + *[0-9a-f]*: 5d 2e mustr lr
58817 + *[0-9a-f]*: 5d 21 mustr r1
58818 + *[0-9a-f]*: 5d 24 mustr r4
58819 + *[0-9a-f]*: 5d 2c mustr r12
58820 +
58821 +[0-9a-f]* <musfr>:
58822 + *[0-9a-f]*: 5d 3f musfr pc
58823 + *[0-9a-f]*: 5d 3c musfr r12
58824 + *[0-9a-f]*: 5d 35 musfr r5
58825 + *[0-9a-f]*: 5d 34 musfr r4
58826 + *[0-9a-f]*: 5d 3e musfr lr
58827 + *[0-9a-f]*: 5d 3b musfr r11
58828 + *[0-9a-f]*: 5d 3c musfr r12
58829 + *[0-9a-f]*: 5d 32 musfr r2
58830 +
58831 +[0-9a-f]* <ret_cond>:
58832 + *[0-9a-f]*: 5e 0f reteq 1
58833 + *[0-9a-f]*: 5e fc retal r12
58834 + *[0-9a-f]*: 5e 85 retls r5
58835 + *[0-9a-f]*: 5e 74 retpl r4
58836 + *[0-9a-f]*: 5e 1e retne -1
58837 + *[0-9a-f]*: 5e 90 retgt r0
58838 + *[0-9a-f]*: 5e 9c retgt r12
58839 + *[0-9a-f]*: 5e 4a retge r10
58840 +
58841 +[0-9a-f]* <sr_cond>:
58842 + *[0-9a-f]*: 5f 0f sreq pc
58843 + *[0-9a-f]*: 5f fc sral r12
58844 + *[0-9a-f]*: 5f 85 srls r5
58845 + *[0-9a-f]*: 5f 74 srpl r4
58846 + *[0-9a-f]*: 5f 1e srne lr
58847 + *[0-9a-f]*: 5f 50 srlt r0
58848 + *[0-9a-f]*: 5f fd sral sp
58849 + *[0-9a-f]*: 5f 49 srge r9
58850 +
58851 +[0-9a-f]* <ld_w3>:
58852 + *[0-9a-f]*: 7e 0f ld\.w pc,pc\[0x0\]
58853 + *[0-9a-f]*: 79 fc ld\.w r12,r12\[0x7c\]
58854 + *[0-9a-f]*: 6b 05 ld\.w r5,r5\[0x40\]
58855 + *[0-9a-f]*: 68 f4 ld\.w r4,r4\[0x3c\]
58856 + *[0-9a-f]*: 7c 1e ld\.w lr,lr\[0x4\]
58857 + *[0-9a-f]*: 64 dd ld\.w sp,r2\[0x34\]
58858 + *[0-9a-f]*: 62 29 ld\.w r9,r1\[0x8\]
58859 + *[0-9a-f]*: 7a f5 ld\.w r5,sp\[0x3c\]
58860 +
58861 +[0-9a-f]* <ld_sh3>:
58862 + *[0-9a-f]*: 9e 0f ld\.sh pc,pc\[0x0\]
58863 + *[0-9a-f]*: 98 7c ld\.sh r12,r12\[0xe\]
58864 + *[0-9a-f]*: 8a 45 ld\.sh r5,r5\[0x8\]
58865 + *[0-9a-f]*: 88 34 ld\.sh r4,r4\[0x6\]
58866 + *[0-9a-f]*: 9c 1e ld\.sh lr,lr\[0x2\]
58867 + *[0-9a-f]*: 84 44 ld\.sh r4,r2\[0x8\]
58868 + *[0-9a-f]*: 9c 5d ld\.sh sp,lr\[0xa\]
58869 + *[0-9a-f]*: 96 12 ld\.sh r2,r11\[0x2\]
58870 +
58871 +[0-9a-f]* <ld_uh3>:
58872 + *[0-9a-f]*: 9e 8f ld\.uh pc,pc\[0x0\]
58873 + *[0-9a-f]*: 98 fc ld\.uh r12,r12\[0xe\]
58874 + *[0-9a-f]*: 8a c5 ld\.uh r5,r5\[0x8\]
58875 + *[0-9a-f]*: 88 b4 ld\.uh r4,r4\[0x6\]
58876 + *[0-9a-f]*: 9c 9e ld\.uh lr,lr\[0x2\]
58877 + *[0-9a-f]*: 80 da ld\.uh r10,r0\[0xa\]
58878 + *[0-9a-f]*: 96 c8 ld\.uh r8,r11\[0x8\]
58879 + *[0-9a-f]*: 84 ea ld\.uh r10,r2\[0xc\]
58880 +
58881 +[0-9a-f]* <st_w3>:
58882 + *[0-9a-f]*: 9f 0f st\.w pc\[0x0\],pc
58883 + *[0-9a-f]*: 99 fc st\.w r12\[0x3c\],r12
58884 + *[0-9a-f]*: 8b 85 st\.w r5\[0x20\],r5
58885 + *[0-9a-f]*: 89 74 st\.w r4\[0x1c\],r4
58886 + *[0-9a-f]*: 9d 1e st\.w lr\[0x4\],lr
58887 + *[0-9a-f]*: 8f bb st\.w r7\[0x2c\],r11
58888 + *[0-9a-f]*: 85 66 st\.w r2\[0x18\],r6
58889 + *[0-9a-f]*: 89 39 st\.w r4\[0xc\],r9
58890 +
58891 +[0-9a-f]* <st_h3>:
58892 + *[0-9a-f]*: be 0f st\.h pc\[0x0\],pc
58893 + *[0-9a-f]*: b8 7c st\.h r12\[0xe\],r12
58894 + *[0-9a-f]*: aa 45 st\.h r5\[0x8\],r5
58895 + *[0-9a-f]*: a8 34 st\.h r4\[0x6\],r4
58896 + *[0-9a-f]*: bc 1e st\.h lr\[0x2\],lr
58897 + *[0-9a-f]*: bc 5c st\.h lr\[0xa\],r12
58898 + *[0-9a-f]*: ac 20 st\.h r6\[0x4\],r0
58899 + *[0-9a-f]*: aa 6d st\.h r5\[0xc\],sp
58900 +
58901 +[0-9a-f]* <st_b3>:
58902 + *[0-9a-f]*: be 8f st\.b pc\[0x0\],pc
58903 + *[0-9a-f]*: b8 fc st\.b r12\[0x7\],r12
58904 + *[0-9a-f]*: aa c5 st\.b r5\[0x4\],r5
58905 + *[0-9a-f]*: a8 b4 st\.b r4\[0x3\],r4
58906 + *[0-9a-f]*: bc 9e st\.b lr\[0x1\],lr
58907 + *[0-9a-f]*: b8 e9 st\.b r12\[0x6\],r9
58908 + *[0-9a-f]*: a4 be st\.b r2\[0x3\],lr
58909 + *[0-9a-f]*: a2 bb st\.b r1\[0x3\],r11
58910 +
58911 +[0-9a-f]* <ldd>:
58912 + *[0-9a-f]*: bf 00 ld\.d r0,pc
58913 + *[0-9a-f]*: b9 0e ld\.d lr,r12
58914 + *[0-9a-f]*: ab 08 ld\.d r8,r5
58915 + *[0-9a-f]*: a9 06 ld\.d r6,r4
58916 + *[0-9a-f]*: bd 02 ld\.d r2,lr
58917 + *[0-9a-f]*: af 0e ld\.d lr,r7
58918 + *[0-9a-f]*: a9 04 ld\.d r4,r4
58919 + *[0-9a-f]*: bf 0e ld\.d lr,pc
58920 +
58921 +[0-9a-f]* <ldd_postinc>:
58922 + *[0-9a-f]*: bf 01 ld\.d r0,pc\+\+
58923 + *[0-9a-f]*: b9 0f ld\.d lr,r12\+\+
58924 + *[0-9a-f]*: ab 09 ld\.d r8,r5\+\+
58925 + *[0-9a-f]*: a9 07 ld\.d r6,r4\+\+
58926 + *[0-9a-f]*: bd 03 ld\.d r2,lr\+\+
58927 + *[0-9a-f]*: ab 0f ld\.d lr,r5\+\+
58928 + *[0-9a-f]*: b7 0d ld\.d r12,r11\+\+
58929 + *[0-9a-f]*: b9 03 ld\.d r2,r12\+\+
58930 +
58931 +[0-9a-f]* <ldd_predec>:
58932 + *[0-9a-f]*: bf 10 ld\.d r0,--pc
58933 + *[0-9a-f]*: b9 1e ld\.d lr,--r12
58934 + *[0-9a-f]*: ab 18 ld\.d r8,--r5
58935 + *[0-9a-f]*: a9 16 ld\.d r6,--r4
58936 + *[0-9a-f]*: bd 12 ld\.d r2,--lr
58937 + *[0-9a-f]*: a1 18 ld\.d r8,--r0
58938 + *[0-9a-f]*: bf 1a ld\.d r10,--pc
58939 + *[0-9a-f]*: a9 12 ld\.d r2,--r4
58940 +
58941 +[0-9a-f]* <std>:
58942 + *[0-9a-f]*: bf 11 st\.d pc,r0
58943 + *[0-9a-f]*: b9 1f st\.d r12,lr
58944 + *[0-9a-f]*: ab 19 st\.d r5,r8
58945 + *[0-9a-f]*: a9 17 st\.d r4,r6
58946 + *[0-9a-f]*: bd 13 st\.d lr,r2
58947 + *[0-9a-f]*: a1 1d st\.d r0,r12
58948 + *[0-9a-f]*: bb 15 st\.d sp,r4
58949 + *[0-9a-f]*: b9 1d st\.d r12,r12
58950 +
58951 +[0-9a-f]* <std_postinc>:
58952 + *[0-9a-f]*: bf 20 st\.d pc\+\+,r0
58953 + *[0-9a-f]*: b9 2e st\.d r12\+\+,lr
58954 + *[0-9a-f]*: ab 28 st\.d r5\+\+,r8
58955 + *[0-9a-f]*: a9 26 st\.d r4\+\+,r6
58956 + *[0-9a-f]*: bd 22 st\.d lr\+\+,r2
58957 + *[0-9a-f]*: bb 26 st\.d sp\+\+,r6
58958 + *[0-9a-f]*: b5 26 st\.d r10\+\+,r6
58959 + *[0-9a-f]*: af 22 st\.d r7\+\+,r2
58960 +
58961 +[0-9a-f]* <std_predec>:
58962 + *[0-9a-f]*: bf 21 st\.d --pc,r0
58963 + *[0-9a-f]*: b9 2f st\.d --r12,lr
58964 + *[0-9a-f]*: ab 29 st\.d --r5,r8
58965 + *[0-9a-f]*: a9 27 st\.d --r4,r6
58966 + *[0-9a-f]*: bd 23 st\.d --lr,r2
58967 + *[0-9a-f]*: a7 27 st\.d --r3,r6
58968 + *[0-9a-f]*: bd 23 st\.d --lr,r2
58969 + *[0-9a-f]*: a1 25 st\.d --r0,r4
58970 +
58971 +[0-9a-f]* <mul>:
58972 + *[0-9a-f]*: bf 3f mul pc,pc
58973 + *[0-9a-f]*: b9 3c mul r12,r12
58974 + *[0-9a-f]*: ab 35 mul r5,r5
58975 + *[0-9a-f]*: a9 34 mul r4,r4
58976 + *[0-9a-f]*: bd 3e mul lr,lr
58977 + *[0-9a-f]*: bd 3a mul r10,lr
58978 + *[0-9a-f]*: b1 30 mul r0,r8
58979 + *[0-9a-f]*: ab 38 mul r8,r5
58980 +
58981 +[0-9a-f]* <asr_imm5>:
58982 + *[0-9a-f]*: a1 4f asr pc,0x0
58983 + *[0-9a-f]*: bf 5c asr r12,0x1f
58984 + *[0-9a-f]*: b1 45 asr r5,0x10
58985 + *[0-9a-f]*: af 54 asr r4,0xf
58986 + *[0-9a-f]*: a1 5e asr lr,0x1
58987 + *[0-9a-f]*: b7 56 asr r6,0x17
58988 + *[0-9a-f]*: b3 46 asr r6,0x12
58989 + *[0-9a-f]*: a9 45 asr r5,0x8
58990 +
58991 +[0-9a-f]* <lsl_imm5>:
58992 + *[0-9a-f]*: a1 6f lsl pc,0x0
58993 + *[0-9a-f]*: bf 7c lsl r12,0x1f
58994 + *[0-9a-f]*: b1 65 lsl r5,0x10
58995 + *[0-9a-f]*: af 74 lsl r4,0xf
58996 + *[0-9a-f]*: a1 7e lsl lr,0x1
58997 + *[0-9a-f]*: ad 7c lsl r12,0xd
58998 + *[0-9a-f]*: b1 66 lsl r6,0x10
58999 + *[0-9a-f]*: b9 71 lsl r1,0x19
59000 +
59001 +[0-9a-f]* <lsr_imm5>:
59002 + *[0-9a-f]*: a1 8f lsr pc,0x0
59003 + *[0-9a-f]*: bf 9c lsr r12,0x1f
59004 + *[0-9a-f]*: b1 85 lsr r5,0x10
59005 + *[0-9a-f]*: af 94 lsr r4,0xf
59006 + *[0-9a-f]*: a1 9e lsr lr,0x1
59007 + *[0-9a-f]*: a1 90 lsr r0,0x1
59008 + *[0-9a-f]*: ab 88 lsr r8,0xa
59009 + *[0-9a-f]*: bb 87 lsr r7,0x1a
59010 +
59011 +[0-9a-f]* <sbr>:
59012 + *[0-9a-f]*: a1 af sbr pc,0x0
59013 + *[0-9a-f]*: bf bc sbr r12,0x1f
59014 + *[0-9a-f]*: b1 a5 sbr r5,0x10
59015 + *[0-9a-f]*: af b4 sbr r4,0xf
59016 + *[0-9a-f]*: a1 be sbr lr,0x1
59017 + *[0-9a-f]*: bf b8 sbr r8,0x1f
59018 + *[0-9a-f]*: b7 a6 sbr r6,0x16
59019 + *[0-9a-f]*: b7 b1 sbr r1,0x17
59020 +
59021 +[0-9a-f]* <cbr>:
59022 + *[0-9a-f]*: a1 cf cbr pc,0x0
59023 + *[0-9a-f]*: bf dc cbr r12,0x1f
59024 + *[0-9a-f]*: b1 c5 cbr r5,0x10
59025 + *[0-9a-f]*: af d4 cbr r4,0xf
59026 + *[0-9a-f]*: a1 de cbr lr,0x1
59027 + *[0-9a-f]*: ab cc cbr r12,0xa
59028 + *[0-9a-f]*: b7 c7 cbr r7,0x16
59029 + *[0-9a-f]*: a9 d8 cbr r8,0x9
59030 +
59031 +[0-9a-f]* <brc1>:
59032 + *[0-9a-f]*: c0 00 breq [0-9a-f]* <.*>
59033 + *[0-9a-f]*: cf f7 brpl [0-9a-f]* <.*>
59034 + *[0-9a-f]*: c8 04 brge [0-9a-f]* <.*>
59035 + *[0-9a-f]*: c7 f3 brcs [0-9a-f]* <.*>
59036 + *[0-9a-f]*: c0 11 brne [0-9a-f]* <.*>
59037 + *[0-9a-f]*: c7 33 brcs [0-9a-f]* <.*>
59038 + *[0-9a-f]*: cf 70 breq [0-9a-f]* <.*>
59039 + *[0-9a-f]*: c0 60 breq [0-9a-f]* <.*>
59040 +
59041 +[0-9a-f]* <rjmp>:
59042 + *[0-9a-f]*: c0 08 rjmp [0-9a-f]* <.*>
59043 + *[0-9a-f]*: cf fb rjmp [0-9a-f]* <.*>
59044 + *[0-9a-f]*: c0 0a rjmp [0-9a-f]* <.*>
59045 + *[0-9a-f]*: cf f9 rjmp [0-9a-f]* <.*>
59046 + *[0-9a-f]*: c0 18 rjmp [0-9a-f]* <.*>
59047 + *[0-9a-f]*: c1 fa rjmp [0-9a-f]* <.*>
59048 + *[0-9a-f]*: c0 78 rjmp [0-9a-f]* <.*>
59049 + *[0-9a-f]*: cf ea rjmp [0-9a-f]* <.*>
59050 +
59051 +[0-9a-f]* <rcall1>:
59052 + *[0-9a-f]*: c0 0c rcall [0-9a-f]* <.*>
59053 + *[0-9a-f]*: cf ff rcall [0-9a-f]* <.*>
59054 + *[0-9a-f]*: c0 0e rcall [0-9a-f]* <.*>
59055 + *[0-9a-f]*: cf fd rcall [0-9a-f]* <.*>
59056 + *[0-9a-f]*: c0 1c rcall [0-9a-f]* <.*>
59057 + *[0-9a-f]*: c6 cc rcall [0-9a-f]* <.*>
59058 + *[0-9a-f]*: cf 7e rcall [0-9a-f]* <.*>
59059 + *[0-9a-f]*: c1 ae rcall [0-9a-f]* <.*>
59060 +
59061 +[0-9a-f]* <acall>:
59062 + *[0-9a-f]*: d0 00 acall 0x0
59063 + *[0-9a-f]*: df f0 acall 0x3fc
59064 + *[0-9a-f]*: d8 00 acall 0x200
59065 + *[0-9a-f]*: d7 f0 acall 0x1fc
59066 + *[0-9a-f]*: d0 10 acall 0x4
59067 + *[0-9a-f]*: d5 90 acall 0x164
59068 + *[0-9a-f]*: d4 c0 acall 0x130
59069 + *[0-9a-f]*: d2 b0 acall 0xac
59070 +
59071 +[0-9a-f]* <scall>:
59072 + *[0-9a-f]*: d7 33 scall
59073 + *[0-9a-f]*: d7 33 scall
59074 + *[0-9a-f]*: d7 33 scall
59075 + *[0-9a-f]*: d7 33 scall
59076 + *[0-9a-f]*: d7 33 scall
59077 + *[0-9a-f]*: d7 33 scall
59078 + *[0-9a-f]*: d7 33 scall
59079 + *[0-9a-f]*: d7 33 scall
59080 +
59081 +[0-9a-f]* <popm>:
59082 + *[0-9a-f]*: d8 02 popm pc
59083 + *[0-9a-f]*: dd fa popm r0-r11,pc,r12=-1
59084 + *[0-9a-f]*: d4 02 popm lr
59085 + *[0-9a-f]*: db fa popm r0-r11,pc,r12=1
59086 + *[0-9a-f]*: d0 12 popm r0-r3
59087 + *[0-9a-f]*: d8 e2 popm r4-r10,pc
59088 + *[0-9a-f]*: d9 1a popm r0-r3,r11,pc,r12=0
59089 + *[0-9a-f]*: d7 b2 popm r0-r7,r10-r12,lr
59090 +
59091 +[0-9a-f]* <pushm>:
59092 + *[0-9a-f]*: d8 01 pushm pc
59093 + *[0-9a-f]*: df f1 pushm r0-r12,lr-pc
59094 + *[0-9a-f]*: d8 01 pushm pc
59095 + *[0-9a-f]*: d7 f1 pushm r0-r12,lr
59096 + *[0-9a-f]*: d0 11 pushm r0-r3
59097 + *[0-9a-f]*: dc c1 pushm r8-r10,lr-pc
59098 + *[0-9a-f]*: d0 91 pushm r0-r3,r10
59099 + *[0-9a-f]*: d2 41 pushm r8-r9,r12
59100 +
59101 +[0-9a-f]* <popm_n>:
59102 +.*
59103 +.*
59104 +.*
59105 +.*
59106 +.*
59107 +.*
59108 +.*
59109 +.*
59110 +
59111 +[0-9a-f]* <pushm_n>:
59112 +.*
59113 +.*
59114 +.*
59115 +.*
59116 +.*
59117 +.*
59118 +.*
59119 +.*
59120 +
59121 +[0-9a-f]* <csrfcz>:
59122 + *[0-9a-f]*: d0 03 csrfcz 0x0
59123 + *[0-9a-f]*: d1 f3 csrfcz 0x1f
59124 + *[0-9a-f]*: d1 03 csrfcz 0x10
59125 + *[0-9a-f]*: d0 f3 csrfcz 0xf
59126 + *[0-9a-f]*: d0 13 csrfcz 0x1
59127 + *[0-9a-f]*: d0 53 csrfcz 0x5
59128 + *[0-9a-f]*: d0 d3 csrfcz 0xd
59129 + *[0-9a-f]*: d1 73 csrfcz 0x17
59130 +
59131 +[0-9a-f]* <ssrf>:
59132 + *[0-9a-f]*: d2 03 ssrf 0x0
59133 + *[0-9a-f]*: d3 f3 ssrf 0x1f
59134 + *[0-9a-f]*: d3 03 ssrf 0x10
59135 + *[0-9a-f]*: d2 f3 ssrf 0xf
59136 + *[0-9a-f]*: d2 13 ssrf 0x1
59137 + *[0-9a-f]*: d3 d3 ssrf 0x1d
59138 + *[0-9a-f]*: d2 d3 ssrf 0xd
59139 + *[0-9a-f]*: d2 d3 ssrf 0xd
59140 +
59141 +[0-9a-f]* <csrf>:
59142 + *[0-9a-f]*: d4 03 csrf 0x0
59143 + *[0-9a-f]*: d5 f3 csrf 0x1f
59144 + *[0-9a-f]*: d5 03 csrf 0x10
59145 + *[0-9a-f]*: d4 f3 csrf 0xf
59146 + *[0-9a-f]*: d4 13 csrf 0x1
59147 + *[0-9a-f]*: d4 a3 csrf 0xa
59148 + *[0-9a-f]*: d4 f3 csrf 0xf
59149 + *[0-9a-f]*: d4 b3 csrf 0xb
59150 +
59151 +[0-9a-f]* <rete>:
59152 + *[0-9a-f]*: d6 03 rete
59153 +
59154 +[0-9a-f]* <rets>:
59155 + *[0-9a-f]*: d6 13 rets
59156 +
59157 +[0-9a-f]* <retd>:
59158 + *[0-9a-f]*: d6 23 retd
59159 +
59160 +[0-9a-f]* <retj>:
59161 + *[0-9a-f]*: d6 33 retj
59162 +
59163 +[0-9a-f]* <tlbr>:
59164 + *[0-9a-f]*: d6 43 tlbr
59165 +
59166 +[0-9a-f]* <tlbs>:
59167 + *[0-9a-f]*: d6 53 tlbs
59168 +
59169 +[0-9a-f]* <tlbw>:
59170 + *[0-9a-f]*: d6 63 tlbw
59171 +
59172 +[0-9a-f]* <breakpoint>:
59173 + *[0-9a-f]*: d6 73 breakpoint
59174 +
59175 +[0-9a-f]* <incjosp>:
59176 + *[0-9a-f]*: d6 83 incjosp 1
59177 + *[0-9a-f]*: d6 93 incjosp 2
59178 + *[0-9a-f]*: d6 a3 incjosp 3
59179 + *[0-9a-f]*: d6 b3 incjosp 4
59180 + *[0-9a-f]*: d6 c3 incjosp -4
59181 + *[0-9a-f]*: d6 d3 incjosp -3
59182 + *[0-9a-f]*: d6 e3 incjosp -2
59183 + *[0-9a-f]*: d6 f3 incjosp -1
59184 +
59185 +[0-9a-f]* <nop>:
59186 + *[0-9a-f]*: d7 03 nop
59187 +
59188 +[0-9a-f]* <popjc>:
59189 + *[0-9a-f]*: d7 13 popjc
59190 +
59191 +[0-9a-f]* <pushjc>:
59192 + *[0-9a-f]*: d7 23 pushjc
59193 +
59194 +[0-9a-f]* <add2>:
59195 + *[0-9a-f]*: fe 0f 00 0f add pc,pc,pc
59196 + *[0-9a-f]*: f8 0c 00 3c add r12,r12,r12<<0x3
59197 + *[0-9a-f]*: ea 05 00 25 add r5,r5,r5<<0x2
59198 + *[0-9a-f]*: e8 04 00 14 add r4,r4,r4<<0x1
59199 + *[0-9a-f]*: fc 0e 00 1e add lr,lr,lr<<0x1
59200 + *[0-9a-f]*: f8 00 00 10 add r0,r12,r0<<0x1
59201 + *[0-9a-f]*: f8 04 00 09 add r9,r12,r4
59202 + *[0-9a-f]*: f8 07 00 2c add r12,r12,r7<<0x2
59203 +
59204 +[0-9a-f]* <sub2>:
59205 + *[0-9a-f]*: fe 0f 01 0f sub pc,pc,pc
59206 + *[0-9a-f]*: f8 0c 01 3c sub r12,r12,r12<<0x3
59207 + *[0-9a-f]*: ea 05 01 25 sub r5,r5,r5<<0x2
59208 + *[0-9a-f]*: e8 04 01 14 sub r4,r4,r4<<0x1
59209 + *[0-9a-f]*: fc 0e 01 1e sub lr,lr,lr<<0x1
59210 + *[0-9a-f]*: e6 04 01 0d sub sp,r3,r4
59211 + *[0-9a-f]*: ee 03 01 03 sub r3,r7,r3
59212 + *[0-9a-f]*: f4 0d 01 1d sub sp,r10,sp<<0x1
59213 +
59214 +[0-9a-f]* <divu>:
59215 + *[0-9a-f]*: fe 0f 0d 0f divu pc,pc,pc
59216 + *[0-9a-f]*: f8 0c 0d 0c divu r12,r12,r12
59217 + *[0-9a-f]*: ea 05 0d 05 divu r5,r5,r5
59218 + *[0-9a-f]*: e8 04 0d 04 divu r4,r4,r4
59219 + *[0-9a-f]*: fc 0e 0d 0e divu lr,lr,lr
59220 + *[0-9a-f]*: e8 0f 0d 0d divu sp,r4,pc
59221 + *[0-9a-f]*: ea 0d 0d 05 divu r5,r5,sp
59222 + *[0-9a-f]*: fa 00 0d 0a divu r10,sp,r0
59223 +
59224 +[0-9a-f]* <addhh_w>:
59225 + *[0-9a-f]*: fe 0f 0e 0f addhh\.w pc,pc:b,pc:b
59226 + *[0-9a-f]*: f8 0c 0e 3c addhh\.w r12,r12:t,r12:t
59227 + *[0-9a-f]*: ea 05 0e 35 addhh\.w r5,r5:t,r5:t
59228 + *[0-9a-f]*: e8 04 0e 04 addhh\.w r4,r4:b,r4:b
59229 + *[0-9a-f]*: fc 0e 0e 3e addhh\.w lr,lr:t,lr:t
59230 + *[0-9a-f]*: e0 03 0e 00 addhh\.w r0,r0:b,r3:b
59231 + *[0-9a-f]*: f8 07 0e 2e addhh\.w lr,r12:t,r7:b
59232 + *[0-9a-f]*: f4 02 0e 23 addhh\.w r3,r10:t,r2:b
59233 +
59234 +[0-9a-f]* <subhh_w>:
59235 + *[0-9a-f]*: fe 0f 0f 0f subhh\.w pc,pc:b,pc:b
59236 + *[0-9a-f]*: f8 0c 0f 3c subhh\.w r12,r12:t,r12:t
59237 + *[0-9a-f]*: ea 05 0f 35 subhh\.w r5,r5:t,r5:t
59238 + *[0-9a-f]*: e8 04 0f 04 subhh\.w r4,r4:b,r4:b
59239 + *[0-9a-f]*: fc 0e 0f 3e subhh\.w lr,lr:t,lr:t
59240 + *[0-9a-f]*: e2 07 0f 2a subhh\.w r10,r1:t,r7:b
59241 + *[0-9a-f]*: f4 0e 0f 3f subhh\.w pc,r10:t,lr:t
59242 + *[0-9a-f]*: e0 0c 0f 23 subhh\.w r3,r0:t,r12:b
59243 +
59244 +[0-9a-f]* <adc>:
59245 + *[0-9a-f]*: fe 0f 00 4f adc pc,pc,pc
59246 + *[0-9a-f]*: f8 0c 00 4c adc r12,r12,r12
59247 + *[0-9a-f]*: ea 05 00 45 adc r5,r5,r5
59248 + *[0-9a-f]*: e8 04 00 44 adc r4,r4,r4
59249 + *[0-9a-f]*: fc 0e 00 4e adc lr,lr,lr
59250 + *[0-9a-f]*: e0 07 00 44 adc r4,r0,r7
59251 + *[0-9a-f]*: e8 03 00 4d adc sp,r4,r3
59252 + *[0-9a-f]*: f8 00 00 42 adc r2,r12,r0
59253 +
59254 +[0-9a-f]* <sbc>:
59255 + *[0-9a-f]*: fe 0f 01 4f sbc pc,pc,pc
59256 + *[0-9a-f]*: f8 0c 01 4c sbc r12,r12,r12
59257 + *[0-9a-f]*: ea 05 01 45 sbc r5,r5,r5
59258 + *[0-9a-f]*: e8 04 01 44 sbc r4,r4,r4
59259 + *[0-9a-f]*: fc 0e 01 4e sbc lr,lr,lr
59260 + *[0-9a-f]*: ee 09 01 46 sbc r6,r7,r9
59261 + *[0-9a-f]*: f0 05 01 40 sbc r0,r8,r5
59262 + *[0-9a-f]*: e0 04 01 41 sbc r1,r0,r4
59263 +
59264 +[0-9a-f]* <mul_2>:
59265 + *[0-9a-f]*: fe 0f 02 4f mul pc,pc,pc
59266 + *[0-9a-f]*: f8 0c 02 4c mul r12,r12,r12
59267 + *[0-9a-f]*: ea 05 02 45 mul r5,r5,r5
59268 + *[0-9a-f]*: e8 04 02 44 mul r4,r4,r4
59269 + *[0-9a-f]*: fc 0e 02 4e mul lr,lr,lr
59270 + *[0-9a-f]*: e0 00 02 4f mul pc,r0,r0
59271 + *[0-9a-f]*: fe 0e 02 48 mul r8,pc,lr
59272 + *[0-9a-f]*: f8 0f 02 44 mul r4,r12,pc
59273 +
59274 +[0-9a-f]* <mac>:
59275 + *[0-9a-f]*: fe 0f 03 4f mac pc,pc,pc
59276 + *[0-9a-f]*: f8 0c 03 4c mac r12,r12,r12
59277 + *[0-9a-f]*: ea 05 03 45 mac r5,r5,r5
59278 + *[0-9a-f]*: e8 04 03 44 mac r4,r4,r4
59279 + *[0-9a-f]*: fc 0e 03 4e mac lr,lr,lr
59280 + *[0-9a-f]*: e8 00 03 4a mac r10,r4,r0
59281 + *[0-9a-f]*: fc 00 03 47 mac r7,lr,r0
59282 + *[0-9a-f]*: f2 0c 03 42 mac r2,r9,r12
59283 +
59284 +[0-9a-f]* <mulsd>:
59285 + *[0-9a-f]*: fe 0f 04 4f muls\.d pc,pc,pc
59286 + *[0-9a-f]*: f8 0c 04 4c muls\.d r12,r12,r12
59287 + *[0-9a-f]*: ea 05 04 45 muls\.d r5,r5,r5
59288 + *[0-9a-f]*: e8 04 04 44 muls\.d r4,r4,r4
59289 + *[0-9a-f]*: fc 0e 04 4e muls\.d lr,lr,lr
59290 + *[0-9a-f]*: f0 0e 04 42 muls\.d r2,r8,lr
59291 + *[0-9a-f]*: e0 0b 04 44 muls\.d r4,r0,r11
59292 + *[0-9a-f]*: fc 06 04 45 muls\.d r5,lr,r6
59293 +
59294 +[0-9a-f]* <macsd>:
59295 + *[0-9a-f]*: fe 0f 05 40 macs\.d r0,pc,pc
59296 + *[0-9a-f]*: f8 0c 05 4e macs\.d lr,r12,r12
59297 + *[0-9a-f]*: ea 05 05 48 macs\.d r8,r5,r5
59298 + *[0-9a-f]*: e8 04 05 46 macs\.d r6,r4,r4
59299 + *[0-9a-f]*: fc 0e 05 42 macs\.d r2,lr,lr
59300 + *[0-9a-f]*: e2 09 05 48 macs\.d r8,r1,r9
59301 + *[0-9a-f]*: f0 08 05 4e macs\.d lr,r8,r8
59302 + *[0-9a-f]*: e6 0c 05 44 macs\.d r4,r3,r12
59303 +
59304 +[0-9a-f]* <mulud>:
59305 + *[0-9a-f]*: fe 0f 06 40 mulu\.d r0,pc,pc
59306 + *[0-9a-f]*: f8 0c 06 4e mulu\.d lr,r12,r12
59307 + *[0-9a-f]*: ea 05 06 48 mulu\.d r8,r5,r5
59308 + *[0-9a-f]*: e8 04 06 46 mulu\.d r6,r4,r4
59309 + *[0-9a-f]*: fc 0e 06 42 mulu\.d r2,lr,lr
59310 + *[0-9a-f]*: ea 00 06 46 mulu\.d r6,r5,r0
59311 + *[0-9a-f]*: ec 01 06 44 mulu\.d r4,r6,r1
59312 + *[0-9a-f]*: f0 02 06 48 mulu\.d r8,r8,r2
59313 +
59314 +[0-9a-f]* <macud>:
59315 + *[0-9a-f]*: fe 0f 07 40 macu\.d r0,pc,pc
59316 + *[0-9a-f]*: f8 0c 07 4e macu\.d lr,r12,r12
59317 + *[0-9a-f]*: ea 05 07 48 macu\.d r8,r5,r5
59318 + *[0-9a-f]*: e8 04 07 46 macu\.d r6,r4,r4
59319 + *[0-9a-f]*: fc 0e 07 42 macu\.d r2,lr,lr
59320 + *[0-9a-f]*: fa 0b 07 46 macu\.d r6,sp,r11
59321 + *[0-9a-f]*: e8 08 07 42 macu\.d r2,r4,r8
59322 + *[0-9a-f]*: f4 09 07 46 macu\.d r6,r10,r9
59323 +
59324 +[0-9a-f]* <asr_1>:
59325 + *[0-9a-f]*: fe 0f 08 4f asr pc,pc,pc
59326 + *[0-9a-f]*: f8 0c 08 4c asr r12,r12,r12
59327 + *[0-9a-f]*: ea 05 08 45 asr r5,r5,r5
59328 + *[0-9a-f]*: e8 04 08 44 asr r4,r4,r4
59329 + *[0-9a-f]*: fc 0e 08 4e asr lr,lr,lr
59330 + *[0-9a-f]*: ec 0f 08 4f asr pc,r6,pc
59331 + *[0-9a-f]*: ec 0c 08 40 asr r0,r6,r12
59332 + *[0-9a-f]*: fa 00 08 44 asr r4,sp,r0
59333 +
59334 +[0-9a-f]* <lsl_1>:
59335 + *[0-9a-f]*: fe 0f 09 4f lsl pc,pc,pc
59336 + *[0-9a-f]*: f8 0c 09 4c lsl r12,r12,r12
59337 + *[0-9a-f]*: ea 05 09 45 lsl r5,r5,r5
59338 + *[0-9a-f]*: e8 04 09 44 lsl r4,r4,r4
59339 + *[0-9a-f]*: fc 0e 09 4e lsl lr,lr,lr
59340 + *[0-9a-f]*: ea 0e 09 4e lsl lr,r5,lr
59341 + *[0-9a-f]*: fe 03 09 45 lsl r5,pc,r3
59342 + *[0-9a-f]*: fe 09 09 41 lsl r1,pc,r9
59343 +
59344 +[0-9a-f]* <lsr_1>:
59345 + *[0-9a-f]*: fe 0f 0a 4f lsr pc,pc,pc
59346 + *[0-9a-f]*: f8 0c 0a 4c lsr r12,r12,r12
59347 + *[0-9a-f]*: ea 05 0a 45 lsr r5,r5,r5
59348 + *[0-9a-f]*: e8 04 0a 44 lsr r4,r4,r4
59349 + *[0-9a-f]*: fc 0e 0a 4e lsr lr,lr,lr
59350 + *[0-9a-f]*: e8 01 0a 42 lsr r2,r4,r1
59351 + *[0-9a-f]*: e2 06 0a 45 lsr r5,r1,r6
59352 + *[0-9a-f]*: ec 07 0a 4d lsr sp,r6,r7
59353 +
59354 +[0-9a-f]* <xchg>:
59355 + *[0-9a-f]*: fe 0f 0b 4f xchg pc,pc,pc
59356 + *[0-9a-f]*: f8 0c 0b 4c xchg r12,r12,r12
59357 + *[0-9a-f]*: ea 05 0b 45 xchg r5,r5,r5
59358 + *[0-9a-f]*: e8 04 0b 44 xchg r4,r4,r4
59359 + *[0-9a-f]*: fc 0e 0b 4e xchg lr,lr,lr
59360 + *[0-9a-f]*: e8 0d 0b 4e xchg lr,r4,sp
59361 + *[0-9a-f]*: ea 0c 0b 41 xchg r1,r5,r12
59362 + *[0-9a-f]*: f8 00 0b 4e xchg lr,r12,r0
59363 +
59364 +[0-9a-f]* <max>:
59365 + *[0-9a-f]*: fe 0f 0c 4f max pc,pc,pc
59366 + *[0-9a-f]*: f8 0c 0c 4c max r12,r12,r12
59367 + *[0-9a-f]*: ea 05 0c 45 max r5,r5,r5
59368 + *[0-9a-f]*: e8 04 0c 44 max r4,r4,r4
59369 + *[0-9a-f]*: fc 0e 0c 4e max lr,lr,lr
59370 + *[0-9a-f]*: e4 0d 0c 4e max lr,r2,sp
59371 + *[0-9a-f]*: f4 09 0c 44 max r4,r10,r9
59372 + *[0-9a-f]*: f2 0e 0c 4e max lr,r9,lr
59373 +
59374 +[0-9a-f]* <min>:
59375 + *[0-9a-f]*: fe 0f 0d 4f min pc,pc,pc
59376 + *[0-9a-f]*: f8 0c 0d 4c min r12,r12,r12
59377 + *[0-9a-f]*: ea 05 0d 45 min r5,r5,r5
59378 + *[0-9a-f]*: e8 04 0d 44 min r4,r4,r4
59379 + *[0-9a-f]*: fc 0e 0d 4e min lr,lr,lr
59380 + *[0-9a-f]*: ee 08 0d 49 min r9,r7,r8
59381 + *[0-9a-f]*: ea 05 0d 4d min sp,r5,r5
59382 + *[0-9a-f]*: e2 04 0d 44 min r4,r1,r4
59383 +
59384 +[0-9a-f]* <addabs>:
59385 + *[0-9a-f]*: fe 0f 0e 4f addabs pc,pc,pc
59386 + *[0-9a-f]*: f8 0c 0e 4c addabs r12,r12,r12
59387 + *[0-9a-f]*: ea 05 0e 45 addabs r5,r5,r5
59388 + *[0-9a-f]*: e8 04 0e 44 addabs r4,r4,r4
59389 + *[0-9a-f]*: fc 0e 0e 4e addabs lr,lr,lr
59390 + *[0-9a-f]*: f4 00 0e 47 addabs r7,r10,r0
59391 + *[0-9a-f]*: f2 07 0e 49 addabs r9,r9,r7
59392 + *[0-9a-f]*: f0 0c 0e 42 addabs r2,r8,r12
59393 +
59394 +[0-9a-f]* <mulnhh_w>:
59395 + *[0-9a-f]*: fe 0f 01 8f mulnhh\.w pc,pc:b,pc:b
59396 + *[0-9a-f]*: f8 0c 01 bc mulnhh\.w r12,r12:t,r12:t
59397 + *[0-9a-f]*: ea 05 01 b5 mulnhh\.w r5,r5:t,r5:t
59398 + *[0-9a-f]*: e8 04 01 84 mulnhh\.w r4,r4:b,r4:b
59399 + *[0-9a-f]*: fc 0e 01 be mulnhh\.w lr,lr:t,lr:t
59400 + *[0-9a-f]*: fa 09 01 ab mulnhh\.w r11,sp:t,r9:b
59401 + *[0-9a-f]*: e8 0e 01 9d mulnhh\.w sp,r4:b,lr:t
59402 + *[0-9a-f]*: e4 0b 01 ac mulnhh\.w r12,r2:t,r11:b
59403 +
59404 +[0-9a-f]* <mulnwh_d>:
59405 + *[0-9a-f]*: fe 0f 02 80 mulnwh\.d r0,pc,pc:b
59406 + *[0-9a-f]*: f8 0c 02 9e mulnwh\.d lr,r12,r12:t
59407 + *[0-9a-f]*: ea 05 02 98 mulnwh\.d r8,r5,r5:t
59408 + *[0-9a-f]*: e8 04 02 86 mulnwh\.d r6,r4,r4:b
59409 + *[0-9a-f]*: fc 0e 02 92 mulnwh\.d r2,lr,lr:t
59410 + *[0-9a-f]*: e6 02 02 9e mulnwh\.d lr,r3,r2:t
59411 + *[0-9a-f]*: ea 09 02 84 mulnwh\.d r4,r5,r9:b
59412 + *[0-9a-f]*: e8 04 02 9c mulnwh\.d r12,r4,r4:t
59413 +
59414 +[0-9a-f]* <machh_w>:
59415 + *[0-9a-f]*: fe 0f 04 8f machh\.w pc,pc:b,pc:b
59416 + *[0-9a-f]*: f8 0c 04 bc machh\.w r12,r12:t,r12:t
59417 + *[0-9a-f]*: ea 05 04 b5 machh\.w r5,r5:t,r5:t
59418 + *[0-9a-f]*: e8 04 04 84 machh\.w r4,r4:b,r4:b
59419 + *[0-9a-f]*: fc 0e 04 be machh\.w lr,lr:t,lr:t
59420 + *[0-9a-f]*: ea 01 04 9e machh\.w lr,r5:b,r1:t
59421 + *[0-9a-f]*: ec 07 04 89 machh\.w r9,r6:b,r7:b
59422 + *[0-9a-f]*: fc 0c 04 a5 machh\.w r5,lr:t,r12:b
59423 +
59424 +[0-9a-f]* <machh_d>:
59425 + *[0-9a-f]*: fe 0f 05 80 machh\.d r0,pc:b,pc:b
59426 + *[0-9a-f]*: f8 0c 05 be machh\.d lr,r12:t,r12:t
59427 + *[0-9a-f]*: ea 05 05 b8 machh\.d r8,r5:t,r5:t
59428 + *[0-9a-f]*: e8 04 05 86 machh\.d r6,r4:b,r4:b
59429 + *[0-9a-f]*: fc 0e 05 b2 machh\.d r2,lr:t,lr:t
59430 + *[0-9a-f]*: e0 08 05 8a machh\.d r10,r0:b,r8:b
59431 + *[0-9a-f]*: e8 05 05 9e machh\.d lr,r4:b,r5:t
59432 + *[0-9a-f]*: e0 04 05 98 machh\.d r8,r0:b,r4:t
59433 +
59434 +[0-9a-f]* <macsathh_w>:
59435 + *[0-9a-f]*: fe 0f 06 8f macsathh\.w pc,pc:b,pc:b
59436 + *[0-9a-f]*: f8 0c 06 bc macsathh\.w r12,r12:t,r12:t
59437 + *[0-9a-f]*: ea 05 06 b5 macsathh\.w r5,r5:t,r5:t
59438 + *[0-9a-f]*: e8 04 06 84 macsathh\.w r4,r4:b,r4:b
59439 + *[0-9a-f]*: fc 0e 06 be macsathh\.w lr,lr:t,lr:t
59440 + *[0-9a-f]*: ee 0f 06 b7 macsathh\.w r7,r7:t,pc:t
59441 + *[0-9a-f]*: e4 04 06 a4 macsathh\.w r4,r2:t,r4:b
59442 + *[0-9a-f]*: f0 03 06 b4 macsathh\.w r4,r8:t,r3:t
59443 +
59444 +[0-9a-f]* <mulhh_w>:
59445 + *[0-9a-f]*: fe 0f 07 8f mulhh\.w pc,pc:b,pc:b
59446 + *[0-9a-f]*: f8 0c 07 bc mulhh\.w r12,r12:t,r12:t
59447 + *[0-9a-f]*: ea 05 07 b5 mulhh\.w r5,r5:t,r5:t
59448 + *[0-9a-f]*: e8 04 07 84 mulhh\.w r4,r4:b,r4:b
59449 + *[0-9a-f]*: fc 0e 07 be mulhh\.w lr,lr:t,lr:t
59450 + *[0-9a-f]*: e8 09 07 a7 mulhh\.w r7,r4:t,r9:b
59451 + *[0-9a-f]*: e6 07 07 bf mulhh\.w pc,r3:t,r7:t
59452 + *[0-9a-f]*: e8 09 07 9f mulhh\.w pc,r4:b,r9:t
59453 +
59454 +[0-9a-f]* <mulsathh_h>:
59455 + *[0-9a-f]*: fe 0f 08 8f mulsathh\.h pc,pc:b,pc:b
59456 + *[0-9a-f]*: f8 0c 08 bc mulsathh\.h r12,r12:t,r12:t
59457 + *[0-9a-f]*: ea 05 08 b5 mulsathh\.h r5,r5:t,r5:t
59458 + *[0-9a-f]*: e8 04 08 84 mulsathh\.h r4,r4:b,r4:b
59459 + *[0-9a-f]*: fc 0e 08 be mulsathh\.h lr,lr:t,lr:t
59460 + *[0-9a-f]*: e2 0d 08 83 mulsathh\.h r3,r1:b,sp:b
59461 + *[0-9a-f]*: fc 0b 08 ab mulsathh\.h r11,lr:t,r11:b
59462 + *[0-9a-f]*: f0 0b 08 98 mulsathh\.h r8,r8:b,r11:t
59463 +
59464 +[0-9a-f]* <mulsathh_w>:
59465 + *[0-9a-f]*: fe 0f 09 8f mulsathh\.w pc,pc:b,pc:b
59466 + *[0-9a-f]*: f8 0c 09 bc mulsathh\.w r12,r12:t,r12:t
59467 + *[0-9a-f]*: ea 05 09 b5 mulsathh\.w r5,r5:t,r5:t
59468 + *[0-9a-f]*: e8 04 09 84 mulsathh\.w r4,r4:b,r4:b
59469 + *[0-9a-f]*: fc 0e 09 be mulsathh\.w lr,lr:t,lr:t
59470 + *[0-9a-f]*: f6 06 09 ae mulsathh\.w lr,r11:t,r6:b
59471 + *[0-9a-f]*: ec 07 09 96 mulsathh\.w r6,r6:b,r7:t
59472 + *[0-9a-f]*: e4 03 09 8a mulsathh\.w r10,r2:b,r3:b
59473 +
59474 +[0-9a-f]* <mulsatrndhh_h>:
59475 + *[0-9a-f]*: fe 0f 0a 8f mulsatrndhh\.h pc,pc:b,pc:b
59476 + *[0-9a-f]*: f8 0c 0a bc mulsatrndhh\.h r12,r12:t,r12:t
59477 + *[0-9a-f]*: ea 05 0a b5 mulsatrndhh\.h r5,r5:t,r5:t
59478 + *[0-9a-f]*: e8 04 0a 84 mulsatrndhh\.h r4,r4:b,r4:b
59479 + *[0-9a-f]*: fc 0e 0a be mulsatrndhh\.h lr,lr:t,lr:t
59480 + *[0-9a-f]*: ec 09 0a 8b mulsatrndhh\.h r11,r6:b,r9:b
59481 + *[0-9a-f]*: e6 08 0a 9b mulsatrndhh\.h r11,r3:b,r8:t
59482 + *[0-9a-f]*: fa 07 0a b5 mulsatrndhh\.h r5,sp:t,r7:t
59483 +
59484 +[0-9a-f]* <mulsatrndwh_w>:
59485 + *[0-9a-f]*: fe 0f 0b 8f mulsatrndwh\.w pc,pc,pc:b
59486 + *[0-9a-f]*: f8 0c 0b 9c mulsatrndwh\.w r12,r12,r12:t
59487 + *[0-9a-f]*: ea 05 0b 95 mulsatrndwh\.w r5,r5,r5:t
59488 + *[0-9a-f]*: e8 04 0b 84 mulsatrndwh\.w r4,r4,r4:b
59489 + *[0-9a-f]*: fc 0e 0b 9e mulsatrndwh\.w lr,lr,lr:t
59490 + *[0-9a-f]*: f8 00 0b 85 mulsatrndwh\.w r5,r12,r0:b
59491 + *[0-9a-f]*: f4 0f 0b 87 mulsatrndwh\.w r7,r10,pc:b
59492 + *[0-9a-f]*: f0 05 0b 9a mulsatrndwh\.w r10,r8,r5:t
59493 +
59494 +[0-9a-f]* <macwh_d>:
59495 + *[0-9a-f]*: fe 0f 0c 80 macwh\.d r0,pc,pc:b
59496 + *[0-9a-f]*: f8 0c 0c 9e macwh\.d lr,r12,r12:t
59497 + *[0-9a-f]*: ea 05 0c 98 macwh\.d r8,r5,r5:t
59498 + *[0-9a-f]*: e8 04 0c 86 macwh\.d r6,r4,r4:b
59499 + *[0-9a-f]*: fc 0e 0c 92 macwh\.d r2,lr,lr:t
59500 + *[0-9a-f]*: f4 0c 0c 94 macwh\.d r4,r10,r12:t
59501 + *[0-9a-f]*: ee 0d 0c 84 macwh\.d r4,r7,sp:b
59502 + *[0-9a-f]*: f2 0b 0c 8e macwh\.d lr,r9,r11:b
59503 +
59504 +[0-9a-f]* <mulwh_d>:
59505 + *[0-9a-f]*: fe 0f 0d 80 mulwh\.d r0,pc,pc:b
59506 + *[0-9a-f]*: f8 0c 0d 9e mulwh\.d lr,r12,r12:t
59507 + *[0-9a-f]*: ea 05 0d 98 mulwh\.d r8,r5,r5:t
59508 + *[0-9a-f]*: e8 04 0d 86 mulwh\.d r6,r4,r4:b
59509 + *[0-9a-f]*: fc 0e 0d 92 mulwh\.d r2,lr,lr:t
59510 + *[0-9a-f]*: ea 01 0d 8c mulwh\.d r12,r5,r1:b
59511 + *[0-9a-f]*: e2 03 0d 90 mulwh\.d r0,r1,r3:t
59512 + *[0-9a-f]*: f2 02 0d 80 mulwh\.d r0,r9,r2:b
59513 +
59514 +[0-9a-f]* <mulsatwh_w>:
59515 + *[0-9a-f]*: fe 0f 0e 8f mulsatwh\.w pc,pc,pc:b
59516 + *[0-9a-f]*: f8 0c 0e 9c mulsatwh\.w r12,r12,r12:t
59517 + *[0-9a-f]*: ea 05 0e 95 mulsatwh\.w r5,r5,r5:t
59518 + *[0-9a-f]*: e8 04 0e 84 mulsatwh\.w r4,r4,r4:b
59519 + *[0-9a-f]*: fc 0e 0e 9e mulsatwh\.w lr,lr,lr:t
59520 + *[0-9a-f]*: fe 0a 0e 9b mulsatwh\.w r11,pc,r10:t
59521 + *[0-9a-f]*: f8 09 0e 9d mulsatwh\.w sp,r12,r9:t
59522 + *[0-9a-f]*: e6 02 0e 90 mulsatwh\.w r0,r3,r2:t
59523 +
59524 +[0-9a-f]* <ldw7>:
59525 + *[0-9a-f]*: fe 0f 0f 8f ld\.w pc,pc\[pc:b<<2\]
59526 + *[0-9a-f]*: f8 0c 0f bc ld\.w r12,r12\[r12:t<<2\]
59527 + *[0-9a-f]*: ea 05 0f a5 ld\.w r5,r5\[r5:u<<2\]
59528 + *[0-9a-f]*: e8 04 0f 94 ld\.w r4,r4\[r4:l<<2\]
59529 + *[0-9a-f]*: fc 0e 0f 9e ld\.w lr,lr\[lr:l<<2\]
59530 + *[0-9a-f]*: f4 06 0f 99 ld\.w r9,r10\[r6:l<<2\]
59531 + *[0-9a-f]*: f4 0a 0f 82 ld\.w r2,r10\[r10:b<<2\]
59532 + *[0-9a-f]*: ea 0f 0f 8b ld\.w r11,r5\[pc:b<<2\]
59533 +
59534 +[0-9a-f]* <satadd_w>:
59535 + *[0-9a-f]*: fe 0f 00 cf satadd\.w pc,pc,pc
59536 + *[0-9a-f]*: f8 0c 00 cc satadd\.w r12,r12,r12
59537 + *[0-9a-f]*: ea 05 00 c5 satadd\.w r5,r5,r5
59538 + *[0-9a-f]*: e8 04 00 c4 satadd\.w r4,r4,r4
59539 + *[0-9a-f]*: fc 0e 00 ce satadd\.w lr,lr,lr
59540 + *[0-9a-f]*: f0 0b 00 c4 satadd\.w r4,r8,r11
59541 + *[0-9a-f]*: f8 06 00 c3 satadd\.w r3,r12,r6
59542 + *[0-9a-f]*: fc 09 00 c3 satadd\.w r3,lr,r9
59543 +
59544 +[0-9a-f]* <satsub_w1>:
59545 + *[0-9a-f]*: fe 0f 01 cf satsub\.w pc,pc,pc
59546 + *[0-9a-f]*: f8 0c 01 cc satsub\.w r12,r12,r12
59547 + *[0-9a-f]*: ea 05 01 c5 satsub\.w r5,r5,r5
59548 + *[0-9a-f]*: e8 04 01 c4 satsub\.w r4,r4,r4
59549 + *[0-9a-f]*: fc 0e 01 ce satsub\.w lr,lr,lr
59550 + *[0-9a-f]*: fa 00 01 c8 satsub\.w r8,sp,r0
59551 + *[0-9a-f]*: f0 04 01 c9 satsub\.w r9,r8,r4
59552 + *[0-9a-f]*: fc 02 01 cf satsub\.w pc,lr,r2
59553 +
59554 +[0-9a-f]* <satadd_h>:
59555 + *[0-9a-f]*: fe 0f 02 cf satadd\.h pc,pc,pc
59556 + *[0-9a-f]*: f8 0c 02 cc satadd\.h r12,r12,r12
59557 + *[0-9a-f]*: ea 05 02 c5 satadd\.h r5,r5,r5
59558 + *[0-9a-f]*: e8 04 02 c4 satadd\.h r4,r4,r4
59559 + *[0-9a-f]*: fc 0e 02 ce satadd\.h lr,lr,lr
59560 + *[0-9a-f]*: e6 09 02 c7 satadd\.h r7,r3,r9
59561 + *[0-9a-f]*: e0 02 02 c1 satadd\.h r1,r0,r2
59562 + *[0-9a-f]*: e8 0e 02 c1 satadd\.h r1,r4,lr
59563 +
59564 +[0-9a-f]* <satsub_h>:
59565 + *[0-9a-f]*: fe 0f 03 cf satsub\.h pc,pc,pc
59566 + *[0-9a-f]*: f8 0c 03 cc satsub\.h r12,r12,r12
59567 + *[0-9a-f]*: ea 05 03 c5 satsub\.h r5,r5,r5
59568 + *[0-9a-f]*: e8 04 03 c4 satsub\.h r4,r4,r4
59569 + *[0-9a-f]*: fc 0e 03 ce satsub\.h lr,lr,lr
59570 + *[0-9a-f]*: fc 03 03 ce satsub\.h lr,lr,r3
59571 + *[0-9a-f]*: ec 05 03 cb satsub\.h r11,r6,r5
59572 + *[0-9a-f]*: fa 00 03 c3 satsub\.h r3,sp,r0
59573 +
59574 +[0-9a-f]* <mul3>:
59575 + *[0-9a-f]*: fe 0f 10 00 mul pc,pc,0
59576 + *[0-9a-f]*: f8 0c 10 ff mul r12,r12,-1
59577 + *[0-9a-f]*: ea 05 10 80 mul r5,r5,-128
59578 + *[0-9a-f]*: e8 04 10 7f mul r4,r4,127
59579 + *[0-9a-f]*: fc 0e 10 01 mul lr,lr,1
59580 + *[0-9a-f]*: e4 0c 10 f9 mul r12,r2,-7
59581 + *[0-9a-f]*: fe 01 10 5f mul r1,pc,95
59582 + *[0-9a-f]*: ec 04 10 13 mul r4,r6,19
59583 +
59584 +[0-9a-f]* <rsub2>:
59585 + *[0-9a-f]*: fe 0f 11 00 rsub pc,pc,0
59586 + *[0-9a-f]*: f8 0c 11 ff rsub r12,r12,-1
59587 + *[0-9a-f]*: ea 05 11 80 rsub r5,r5,-128
59588 + *[0-9a-f]*: e8 04 11 7f rsub r4,r4,127
59589 + *[0-9a-f]*: fc 0e 11 01 rsub lr,lr,1
59590 + *[0-9a-f]*: fc 09 11 60 rsub r9,lr,96
59591 + *[0-9a-f]*: e2 0b 11 38 rsub r11,r1,56
59592 + *[0-9a-f]*: ee 00 11 a9 rsub r0,r7,-87
59593 +
59594 +[0-9a-f]* <clz>:
59595 + *[0-9a-f]*: fe 0f 12 00 clz pc,pc
59596 + *[0-9a-f]*: f8 0c 12 00 clz r12,r12
59597 + *[0-9a-f]*: ea 05 12 00 clz r5,r5
59598 + *[0-9a-f]*: e8 04 12 00 clz r4,r4
59599 + *[0-9a-f]*: fc 0e 12 00 clz lr,lr
59600 + *[0-9a-f]*: e6 02 12 00 clz r2,r3
59601 + *[0-9a-f]*: f6 05 12 00 clz r5,r11
59602 + *[0-9a-f]*: e6 0f 12 00 clz pc,r3
59603 +
59604 +[0-9a-f]* <cpc1>:
59605 + *[0-9a-f]*: fe 0f 13 00 cpc pc,pc
59606 + *[0-9a-f]*: f8 0c 13 00 cpc r12,r12
59607 + *[0-9a-f]*: ea 05 13 00 cpc r5,r5
59608 + *[0-9a-f]*: e8 04 13 00 cpc r4,r4
59609 + *[0-9a-f]*: fc 0e 13 00 cpc lr,lr
59610 + *[0-9a-f]*: e8 0f 13 00 cpc pc,r4
59611 + *[0-9a-f]*: f2 05 13 00 cpc r5,r9
59612 + *[0-9a-f]*: ee 06 13 00 cpc r6,r7
59613 +
59614 +[0-9a-f]* <asr3>:
59615 + *[0-9a-f]*: fe 0f 14 00 asr pc,pc,0x0
59616 + *[0-9a-f]*: f8 0c 14 1f asr r12,r12,0x1f
59617 + *[0-9a-f]*: ea 05 14 10 asr r5,r5,0x10
59618 + *[0-9a-f]*: e8 04 14 0f asr r4,r4,0xf
59619 + *[0-9a-f]*: fc 0e 14 01 asr lr,lr,0x1
59620 + *[0-9a-f]*: f6 04 14 13 asr r4,r11,0x13
59621 + *[0-9a-f]*: fe 0d 14 1a asr sp,pc,0x1a
59622 + *[0-9a-f]*: fa 0b 14 08 asr r11,sp,0x8
59623 +
59624 +[0-9a-f]* <lsl3>:
59625 + *[0-9a-f]*: fe 0f 15 00 lsl pc,pc,0x0
59626 + *[0-9a-f]*: f8 0c 15 1f lsl r12,r12,0x1f
59627 + *[0-9a-f]*: ea 05 15 10 lsl r5,r5,0x10
59628 + *[0-9a-f]*: e8 04 15 0f lsl r4,r4,0xf
59629 + *[0-9a-f]*: fc 0e 15 01 lsl lr,lr,0x1
59630 + *[0-9a-f]*: f4 08 15 11 lsl r8,r10,0x11
59631 + *[0-9a-f]*: fc 02 15 03 lsl r2,lr,0x3
59632 + *[0-9a-f]*: f6 0e 15 0e lsl lr,r11,0xe
59633 +
59634 +[0-9a-f]* <lsr3>:
59635 + *[0-9a-f]*: fe 0f 16 00 lsr pc,pc,0x0
59636 + *[0-9a-f]*: f8 0c 16 1f lsr r12,r12,0x1f
59637 + *[0-9a-f]*: ea 05 16 10 lsr r5,r5,0x10
59638 + *[0-9a-f]*: e8 04 16 0f lsr r4,r4,0xf
59639 + *[0-9a-f]*: fc 0e 16 01 lsr lr,lr,0x1
59640 + *[0-9a-f]*: e6 04 16 1f lsr r4,r3,0x1f
59641 + *[0-9a-f]*: f2 0f 16 0e lsr pc,r9,0xe
59642 + *[0-9a-f]*: e0 03 16 06 lsr r3,r0,0x6
59643 +
59644 +[0-9a-f]* <movc1>:
59645 + *[0-9a-f]*: fe 0f 17 00 moveq pc,pc
59646 + *[0-9a-f]*: f8 0c 17 f0 moval r12,r12
59647 + *[0-9a-f]*: ea 05 17 80 movls r5,r5
59648 + *[0-9a-f]*: e8 04 17 70 movpl r4,r4
59649 + *[0-9a-f]*: fc 0e 17 10 movne lr,lr
59650 + *[0-9a-f]*: f6 0f 17 10 movne pc,r11
59651 + *[0-9a-f]*: e4 0a 17 60 movmi r10,r2
59652 + *[0-9a-f]*: f8 08 17 80 movls r8,r12
59653 +
59654 +[0-9a-f]* <padd_h>:
59655 + *[0-9a-f]*: fe 0f 20 0f padd\.h pc,pc,pc
59656 + *[0-9a-f]*: f8 0c 20 0c padd\.h r12,r12,r12
59657 + *[0-9a-f]*: ea 05 20 05 padd\.h r5,r5,r5
59658 + *[0-9a-f]*: e8 04 20 04 padd\.h r4,r4,r4
59659 + *[0-9a-f]*: fc 0e 20 0e padd\.h lr,lr,lr
59660 + *[0-9a-f]*: e4 07 20 08 padd\.h r8,r2,r7
59661 + *[0-9a-f]*: e0 03 20 00 padd\.h r0,r0,r3
59662 + *[0-9a-f]*: f6 06 20 0d padd\.h sp,r11,r6
59663 +
59664 +[0-9a-f]* <psub_h>:
59665 + *[0-9a-f]*: fe 0f 20 1f psub\.h pc,pc,pc
59666 + *[0-9a-f]*: f8 0c 20 1c psub\.h r12,r12,r12
59667 + *[0-9a-f]*: ea 05 20 15 psub\.h r5,r5,r5
59668 + *[0-9a-f]*: e8 04 20 14 psub\.h r4,r4,r4
59669 + *[0-9a-f]*: fc 0e 20 1e psub\.h lr,lr,lr
59670 + *[0-9a-f]*: ec 08 20 1e psub\.h lr,r6,r8
59671 + *[0-9a-f]*: e2 0d 20 10 psub\.h r0,r1,sp
59672 + *[0-9a-f]*: fe 0d 20 1f psub\.h pc,pc,sp
59673 +
59674 +[0-9a-f]* <paddx_h>:
59675 + *[0-9a-f]*: fe 0f 20 2f paddx\.h pc,pc,pc
59676 + *[0-9a-f]*: f8 0c 20 2c paddx\.h r12,r12,r12
59677 + *[0-9a-f]*: ea 05 20 25 paddx\.h r5,r5,r5
59678 + *[0-9a-f]*: e8 04 20 24 paddx\.h r4,r4,r4
59679 + *[0-9a-f]*: fc 0e 20 2e paddx\.h lr,lr,lr
59680 + *[0-9a-f]*: fe 01 20 2f paddx\.h pc,pc,r1
59681 + *[0-9a-f]*: e8 05 20 2a paddx\.h r10,r4,r5
59682 + *[0-9a-f]*: fe 02 20 25 paddx\.h r5,pc,r2
59683 +
59684 +[0-9a-f]* <psubx_h>:
59685 + *[0-9a-f]*: fe 0f 20 3f psubx\.h pc,pc,pc
59686 + *[0-9a-f]*: f8 0c 20 3c psubx\.h r12,r12,r12
59687 + *[0-9a-f]*: ea 05 20 35 psubx\.h r5,r5,r5
59688 + *[0-9a-f]*: e8 04 20 34 psubx\.h r4,r4,r4
59689 + *[0-9a-f]*: fc 0e 20 3e psubx\.h lr,lr,lr
59690 + *[0-9a-f]*: f8 05 20 35 psubx\.h r5,r12,r5
59691 + *[0-9a-f]*: f0 03 20 33 psubx\.h r3,r8,r3
59692 + *[0-9a-f]*: e4 03 20 35 psubx\.h r5,r2,r3
59693 +
59694 +[0-9a-f]* <padds_sh>:
59695 + *[0-9a-f]*: fe 0f 20 4f padds\.sh pc,pc,pc
59696 + *[0-9a-f]*: f8 0c 20 4c padds\.sh r12,r12,r12
59697 + *[0-9a-f]*: ea 05 20 45 padds\.sh r5,r5,r5
59698 + *[0-9a-f]*: e8 04 20 44 padds\.sh r4,r4,r4
59699 + *[0-9a-f]*: fc 0e 20 4e padds\.sh lr,lr,lr
59700 + *[0-9a-f]*: fc 02 20 49 padds\.sh r9,lr,r2
59701 + *[0-9a-f]*: f0 01 20 46 padds\.sh r6,r8,r1
59702 + *[0-9a-f]*: e8 0a 20 46 padds\.sh r6,r4,r10
59703 +
59704 +[0-9a-f]* <psubs_sh>:
59705 + *[0-9a-f]*: fe 0f 20 5f psubs\.sh pc,pc,pc
59706 + *[0-9a-f]*: f8 0c 20 5c psubs\.sh r12,r12,r12
59707 + *[0-9a-f]*: ea 05 20 55 psubs\.sh r5,r5,r5
59708 + *[0-9a-f]*: e8 04 20 54 psubs\.sh r4,r4,r4
59709 + *[0-9a-f]*: fc 0e 20 5e psubs\.sh lr,lr,lr
59710 + *[0-9a-f]*: fc 0b 20 56 psubs\.sh r6,lr,r11
59711 + *[0-9a-f]*: f8 04 20 52 psubs\.sh r2,r12,r4
59712 + *[0-9a-f]*: f2 00 20 50 psubs\.sh r0,r9,r0
59713 +
59714 +[0-9a-f]* <paddxs_sh>:
59715 + *[0-9a-f]*: fe 0f 20 6f paddxs\.sh pc,pc,pc
59716 + *[0-9a-f]*: f8 0c 20 6c paddxs\.sh r12,r12,r12
59717 + *[0-9a-f]*: ea 05 20 65 paddxs\.sh r5,r5,r5
59718 + *[0-9a-f]*: e8 04 20 64 paddxs\.sh r4,r4,r4
59719 + *[0-9a-f]*: fc 0e 20 6e paddxs\.sh lr,lr,lr
59720 + *[0-9a-f]*: e6 09 20 60 paddxs\.sh r0,r3,r9
59721 + *[0-9a-f]*: f4 0b 20 6f paddxs\.sh pc,r10,r11
59722 + *[0-9a-f]*: f4 0f 20 6f paddxs\.sh pc,r10,pc
59723 +
59724 +[0-9a-f]* <psubxs_sh>:
59725 + *[0-9a-f]*: fe 0f 20 7f psubxs\.sh pc,pc,pc
59726 + *[0-9a-f]*: f8 0c 20 7c psubxs\.sh r12,r12,r12
59727 + *[0-9a-f]*: ea 05 20 75 psubxs\.sh r5,r5,r5
59728 + *[0-9a-f]*: e8 04 20 74 psubxs\.sh r4,r4,r4
59729 + *[0-9a-f]*: fc 0e 20 7e psubxs\.sh lr,lr,lr
59730 + *[0-9a-f]*: e8 04 20 77 psubxs\.sh r7,r4,r4
59731 + *[0-9a-f]*: f0 03 20 77 psubxs\.sh r7,r8,r3
59732 + *[0-9a-f]*: ec 05 20 7f psubxs\.sh pc,r6,r5
59733 +
59734 +[0-9a-f]* <padds_uh>:
59735 + *[0-9a-f]*: fe 0f 20 8f padds\.uh pc,pc,pc
59736 + *[0-9a-f]*: f8 0c 20 8c padds\.uh r12,r12,r12
59737 + *[0-9a-f]*: ea 05 20 85 padds\.uh r5,r5,r5
59738 + *[0-9a-f]*: e8 04 20 84 padds\.uh r4,r4,r4
59739 + *[0-9a-f]*: fc 0e 20 8e padds\.uh lr,lr,lr
59740 + *[0-9a-f]*: f6 07 20 8c padds\.uh r12,r11,r7
59741 + *[0-9a-f]*: f0 0e 20 87 padds\.uh r7,r8,lr
59742 + *[0-9a-f]*: f2 07 20 86 padds\.uh r6,r9,r7
59743 +
59744 +[0-9a-f]* <psubs_uh>:
59745 + *[0-9a-f]*: fe 0f 20 9f psubs\.uh pc,pc,pc
59746 + *[0-9a-f]*: f8 0c 20 9c psubs\.uh r12,r12,r12
59747 + *[0-9a-f]*: ea 05 20 95 psubs\.uh r5,r5,r5
59748 + *[0-9a-f]*: e8 04 20 94 psubs\.uh r4,r4,r4
59749 + *[0-9a-f]*: fc 0e 20 9e psubs\.uh lr,lr,lr
59750 + *[0-9a-f]*: f4 06 20 9e psubs\.uh lr,r10,r6
59751 + *[0-9a-f]*: e4 0f 20 9d psubs\.uh sp,r2,pc
59752 + *[0-9a-f]*: f2 02 20 92 psubs\.uh r2,r9,r2
59753 +
59754 +[0-9a-f]* <paddxs_uh>:
59755 + *[0-9a-f]*: fe 0f 20 af paddxs\.uh pc,pc,pc
59756 + *[0-9a-f]*: f8 0c 20 ac paddxs\.uh r12,r12,r12
59757 + *[0-9a-f]*: ea 05 20 a5 paddxs\.uh r5,r5,r5
59758 + *[0-9a-f]*: e8 04 20 a4 paddxs\.uh r4,r4,r4
59759 + *[0-9a-f]*: fc 0e 20 ae paddxs\.uh lr,lr,lr
59760 + *[0-9a-f]*: f2 05 20 a7 paddxs\.uh r7,r9,r5
59761 + *[0-9a-f]*: e2 04 20 a9 paddxs\.uh r9,r1,r4
59762 + *[0-9a-f]*: e4 03 20 a5 paddxs\.uh r5,r2,r3
59763 +
59764 +[0-9a-f]* <psubxs_uh>:
59765 + *[0-9a-f]*: fe 0f 20 bf psubxs\.uh pc,pc,pc
59766 + *[0-9a-f]*: f8 0c 20 bc psubxs\.uh r12,r12,r12
59767 + *[0-9a-f]*: ea 05 20 b5 psubxs\.uh r5,r5,r5
59768 + *[0-9a-f]*: e8 04 20 b4 psubxs\.uh r4,r4,r4
59769 + *[0-9a-f]*: fc 0e 20 be psubxs\.uh lr,lr,lr
59770 + *[0-9a-f]*: ea 0d 20 bd psubxs\.uh sp,r5,sp
59771 + *[0-9a-f]*: ec 06 20 bd psubxs\.uh sp,r6,r6
59772 + *[0-9a-f]*: f6 08 20 b3 psubxs\.uh r3,r11,r8
59773 +
59774 +[0-9a-f]* <paddh_sh>:
59775 + *[0-9a-f]*: fe 0f 20 cf paddh\.sh pc,pc,pc
59776 + *[0-9a-f]*: f8 0c 20 cc paddh\.sh r12,r12,r12
59777 + *[0-9a-f]*: ea 05 20 c5 paddh\.sh r5,r5,r5
59778 + *[0-9a-f]*: e8 04 20 c4 paddh\.sh r4,r4,r4
59779 + *[0-9a-f]*: fc 0e 20 ce paddh\.sh lr,lr,lr
59780 + *[0-9a-f]*: fa 03 20 cc paddh\.sh r12,sp,r3
59781 + *[0-9a-f]*: ea 03 20 cf paddh\.sh pc,r5,r3
59782 + *[0-9a-f]*: f0 0d 20 c8 paddh\.sh r8,r8,sp
59783 +
59784 +[0-9a-f]* <psubh_sh>:
59785 + *[0-9a-f]*: fe 0f 20 df psubh\.sh pc,pc,pc
59786 + *[0-9a-f]*: f8 0c 20 dc psubh\.sh r12,r12,r12
59787 + *[0-9a-f]*: ea 05 20 d5 psubh\.sh r5,r5,r5
59788 + *[0-9a-f]*: e8 04 20 d4 psubh\.sh r4,r4,r4
59789 + *[0-9a-f]*: fc 0e 20 de psubh\.sh lr,lr,lr
59790 + *[0-9a-f]*: ea 08 20 d1 psubh\.sh r1,r5,r8
59791 + *[0-9a-f]*: e6 06 20 d7 psubh\.sh r7,r3,r6
59792 + *[0-9a-f]*: e6 03 20 d4 psubh\.sh r4,r3,r3
59793 +
59794 +[0-9a-f]* <paddxh_sh>:
59795 + *[0-9a-f]*: fe 0f 20 ef paddxh\.sh pc,pc,pc
59796 + *[0-9a-f]*: f8 0c 20 ec paddxh\.sh r12,r12,r12
59797 + *[0-9a-f]*: ea 05 20 e5 paddxh\.sh r5,r5,r5
59798 + *[0-9a-f]*: e8 04 20 e4 paddxh\.sh r4,r4,r4
59799 + *[0-9a-f]*: fc 0e 20 ee paddxh\.sh lr,lr,lr
59800 + *[0-9a-f]*: e0 04 20 e6 paddxh\.sh r6,r0,r4
59801 + *[0-9a-f]*: f0 09 20 e9 paddxh\.sh r9,r8,r9
59802 + *[0-9a-f]*: e0 0d 20 e3 paddxh\.sh r3,r0,sp
59803 +
59804 +[0-9a-f]* <psubxh_sh>:
59805 + *[0-9a-f]*: fe 0f 20 ff psubxh\.sh pc,pc,pc
59806 + *[0-9a-f]*: f8 0c 20 fc psubxh\.sh r12,r12,r12
59807 + *[0-9a-f]*: ea 05 20 f5 psubxh\.sh r5,r5,r5
59808 + *[0-9a-f]*: e8 04 20 f4 psubxh\.sh r4,r4,r4
59809 + *[0-9a-f]*: fc 0e 20 fe psubxh\.sh lr,lr,lr
59810 + *[0-9a-f]*: fe 0c 20 f4 psubxh\.sh r4,pc,r12
59811 + *[0-9a-f]*: e8 06 20 f8 psubxh\.sh r8,r4,r6
59812 + *[0-9a-f]*: f2 04 20 fc psubxh\.sh r12,r9,r4
59813 +
59814 +[0-9a-f]* <paddsub_h>:
59815 + *[0-9a-f]*: fe 0f 21 0f paddsub\.h pc,pc:b,pc:b
59816 + *[0-9a-f]*: f8 0c 21 3c paddsub\.h r12,r12:t,r12:t
59817 + *[0-9a-f]*: ea 05 21 35 paddsub\.h r5,r5:t,r5:t
59818 + *[0-9a-f]*: e8 04 21 04 paddsub\.h r4,r4:b,r4:b
59819 + *[0-9a-f]*: fc 0e 21 3e paddsub\.h lr,lr:t,lr:t
59820 + *[0-9a-f]*: e4 0e 21 25 paddsub\.h r5,r2:t,lr:b
59821 + *[0-9a-f]*: e2 08 21 07 paddsub\.h r7,r1:b,r8:b
59822 + *[0-9a-f]*: f4 05 21 36 paddsub\.h r6,r10:t,r5:t
59823 +
59824 +[0-9a-f]* <psubadd_h>:
59825 + *[0-9a-f]*: fe 0f 21 4f psubadd\.h pc,pc:b,pc:b
59826 + *[0-9a-f]*: f8 0c 21 7c psubadd\.h r12,r12:t,r12:t
59827 + *[0-9a-f]*: ea 05 21 75 psubadd\.h r5,r5:t,r5:t
59828 + *[0-9a-f]*: e8 04 21 44 psubadd\.h r4,r4:b,r4:b
59829 + *[0-9a-f]*: fc 0e 21 7e psubadd\.h lr,lr:t,lr:t
59830 + *[0-9a-f]*: f6 08 21 79 psubadd\.h r9,r11:t,r8:t
59831 + *[0-9a-f]*: ee 0e 21 7a psubadd\.h r10,r7:t,lr:t
59832 + *[0-9a-f]*: fe 0f 21 66 psubadd\.h r6,pc:t,pc:b
59833 +
59834 +[0-9a-f]* <paddsubs_sh>:
59835 + *[0-9a-f]*: fe 0f 21 8f paddsubs\.sh pc,pc:b,pc:b
59836 + *[0-9a-f]*: f8 0c 21 bc paddsubs\.sh r12,r12:t,r12:t
59837 + *[0-9a-f]*: ea 05 21 b5 paddsubs\.sh r5,r5:t,r5:t
59838 + *[0-9a-f]*: e8 04 21 84 paddsubs\.sh r4,r4:b,r4:b
59839 + *[0-9a-f]*: fc 0e 21 be paddsubs\.sh lr,lr:t,lr:t
59840 + *[0-9a-f]*: fc 00 21 a0 paddsubs\.sh r0,lr:t,r0:b
59841 + *[0-9a-f]*: e4 04 21 b9 paddsubs\.sh r9,r2:t,r4:t
59842 + *[0-9a-f]*: f2 0d 21 bc paddsubs\.sh r12,r9:t,sp:t
59843 +
59844 +[0-9a-f]* <psubadds_sh>:
59845 + *[0-9a-f]*: fe 0f 21 cf psubadds\.sh pc,pc:b,pc:b
59846 + *[0-9a-f]*: f8 0c 21 fc psubadds\.sh r12,r12:t,r12:t
59847 + *[0-9a-f]*: ea 05 21 f5 psubadds\.sh r5,r5:t,r5:t
59848 + *[0-9a-f]*: e8 04 21 c4 psubadds\.sh r4,r4:b,r4:b
59849 + *[0-9a-f]*: fc 0e 21 fe psubadds\.sh lr,lr:t,lr:t
59850 + *[0-9a-f]*: fc 01 21 df psubadds\.sh pc,lr:b,r1:t
59851 + *[0-9a-f]*: e6 0c 21 cb psubadds\.sh r11,r3:b,r12:b
59852 + *[0-9a-f]*: e4 08 21 fa psubadds\.sh r10,r2:t,r8:t
59853 +
59854 +[0-9a-f]* <paddsubs_uh>:
59855 + *[0-9a-f]*: fe 0f 22 0f paddsubs\.uh pc,pc:b,pc:b
59856 + *[0-9a-f]*: f8 0c 22 3c paddsubs\.uh r12,r12:t,r12:t
59857 + *[0-9a-f]*: ea 05 22 35 paddsubs\.uh r5,r5:t,r5:t
59858 + *[0-9a-f]*: e8 04 22 04 paddsubs\.uh r4,r4:b,r4:b
59859 + *[0-9a-f]*: fc 0e 22 3e paddsubs\.uh lr,lr:t,lr:t
59860 + *[0-9a-f]*: e4 03 22 09 paddsubs\.uh r9,r2:b,r3:b
59861 + *[0-9a-f]*: fa 07 22 1d paddsubs\.uh sp,sp:b,r7:t
59862 + *[0-9a-f]*: e0 0a 22 1e paddsubs\.uh lr,r0:b,r10:t
59863 +
59864 +[0-9a-f]* <psubadds_uh>:
59865 + *[0-9a-f]*: fe 0f 22 4f psubadds\.uh pc,pc:b,pc:b
59866 + *[0-9a-f]*: f8 0c 22 7c psubadds\.uh r12,r12:t,r12:t
59867 + *[0-9a-f]*: ea 05 22 75 psubadds\.uh r5,r5:t,r5:t
59868 + *[0-9a-f]*: e8 04 22 44 psubadds\.uh r4,r4:b,r4:b
59869 + *[0-9a-f]*: fc 0e 22 7e psubadds\.uh lr,lr:t,lr:t
59870 + *[0-9a-f]*: f2 0f 22 7c psubadds\.uh r12,r9:t,pc:t
59871 + *[0-9a-f]*: ec 08 22 48 psubadds\.uh r8,r6:b,r8:b
59872 + *[0-9a-f]*: f0 04 22 48 psubadds\.uh r8,r8:b,r4:b
59873 +
59874 +[0-9a-f]* <paddsubh_sh>:
59875 + *[0-9a-f]*: fe 0f 22 8f paddsubh\.sh pc,pc:b,pc:b
59876 + *[0-9a-f]*: f8 0c 22 bc paddsubh\.sh r12,r12:t,r12:t
59877 + *[0-9a-f]*: ea 05 22 b5 paddsubh\.sh r5,r5:t,r5:t
59878 + *[0-9a-f]*: e8 04 22 84 paddsubh\.sh r4,r4:b,r4:b
59879 + *[0-9a-f]*: fc 0e 22 be paddsubh\.sh lr,lr:t,lr:t
59880 + *[0-9a-f]*: f2 09 22 a8 paddsubh\.sh r8,r9:t,r9:b
59881 + *[0-9a-f]*: fa 01 22 b0 paddsubh\.sh r0,sp:t,r1:t
59882 + *[0-9a-f]*: e2 00 22 93 paddsubh\.sh r3,r1:b,r0:t
59883 +
59884 +[0-9a-f]* <psubaddh_sh>:
59885 + *[0-9a-f]*: fe 0f 22 cf psubaddh\.sh pc,pc:b,pc:b
59886 + *[0-9a-f]*: f8 0c 22 fc psubaddh\.sh r12,r12:t,r12:t
59887 + *[0-9a-f]*: ea 05 22 f5 psubaddh\.sh r5,r5:t,r5:t
59888 + *[0-9a-f]*: e8 04 22 c4 psubaddh\.sh r4,r4:b,r4:b
59889 + *[0-9a-f]*: fc 0e 22 fe psubaddh\.sh lr,lr:t,lr:t
59890 + *[0-9a-f]*: e6 0a 22 e7 psubaddh\.sh r7,r3:t,r10:b
59891 + *[0-9a-f]*: e4 01 22 f7 psubaddh\.sh r7,r2:t,r1:t
59892 + *[0-9a-f]*: e6 06 22 cb psubaddh\.sh r11,r3:b,r6:b
59893 +
59894 +[0-9a-f]* <padd_b>:
59895 + *[0-9a-f]*: fe 0f 23 0f padd\.b pc,pc,pc
59896 + *[0-9a-f]*: f8 0c 23 0c padd\.b r12,r12,r12
59897 + *[0-9a-f]*: ea 05 23 05 padd\.b r5,r5,r5
59898 + *[0-9a-f]*: e8 04 23 04 padd\.b r4,r4,r4
59899 + *[0-9a-f]*: fc 0e 23 0e padd\.b lr,lr,lr
59900 + *[0-9a-f]*: ec 0f 23 02 padd\.b r2,r6,pc
59901 + *[0-9a-f]*: f2 0c 23 08 padd\.b r8,r9,r12
59902 + *[0-9a-f]*: f8 03 23 05 padd\.b r5,r12,r3
59903 +
59904 +[0-9a-f]* <psub_b>:
59905 + *[0-9a-f]*: fe 0f 23 1f psub\.b pc,pc,pc
59906 + *[0-9a-f]*: f8 0c 23 1c psub\.b r12,r12,r12
59907 + *[0-9a-f]*: ea 05 23 15 psub\.b r5,r5,r5
59908 + *[0-9a-f]*: e8 04 23 14 psub\.b r4,r4,r4
59909 + *[0-9a-f]*: fc 0e 23 1e psub\.b lr,lr,lr
59910 + *[0-9a-f]*: f8 0f 23 10 psub\.b r0,r12,pc
59911 + *[0-9a-f]*: fa 0a 23 17 psub\.b r7,sp,r10
59912 + *[0-9a-f]*: fa 0c 23 15 psub\.b r5,sp,r12
59913 +
59914 +[0-9a-f]* <padds_sb>:
59915 + *[0-9a-f]*: fe 0f 23 2f padds\.sb pc,pc,pc
59916 + *[0-9a-f]*: f8 0c 23 2c padds\.sb r12,r12,r12
59917 + *[0-9a-f]*: ea 05 23 25 padds\.sb r5,r5,r5
59918 + *[0-9a-f]*: e8 04 23 24 padds\.sb r4,r4,r4
59919 + *[0-9a-f]*: fc 0e 23 2e padds\.sb lr,lr,lr
59920 + *[0-9a-f]*: f6 04 23 2d padds\.sb sp,r11,r4
59921 + *[0-9a-f]*: f4 0b 23 2b padds\.sb r11,r10,r11
59922 + *[0-9a-f]*: f8 06 23 25 padds\.sb r5,r12,r6
59923 +
59924 +[0-9a-f]* <psubs_sb>:
59925 + *[0-9a-f]*: fe 0f 23 3f psubs\.sb pc,pc,pc
59926 + *[0-9a-f]*: f8 0c 23 3c psubs\.sb r12,r12,r12
59927 + *[0-9a-f]*: ea 05 23 35 psubs\.sb r5,r5,r5
59928 + *[0-9a-f]*: e8 04 23 34 psubs\.sb r4,r4,r4
59929 + *[0-9a-f]*: fc 0e 23 3e psubs\.sb lr,lr,lr
59930 + *[0-9a-f]*: ec 08 23 37 psubs\.sb r7,r6,r8
59931 + *[0-9a-f]*: f4 09 23 3c psubs\.sb r12,r10,r9
59932 + *[0-9a-f]*: f6 00 23 3f psubs\.sb pc,r11,r0
59933 +
59934 +[0-9a-f]* <padds_ub>:
59935 + *[0-9a-f]*: fe 0f 23 4f padds\.ub pc,pc,pc
59936 + *[0-9a-f]*: f8 0c 23 4c padds\.ub r12,r12,r12
59937 + *[0-9a-f]*: ea 05 23 45 padds\.ub r5,r5,r5
59938 + *[0-9a-f]*: e8 04 23 44 padds\.ub r4,r4,r4
59939 + *[0-9a-f]*: fc 0e 23 4e padds\.ub lr,lr,lr
59940 + *[0-9a-f]*: e4 0b 23 43 padds\.ub r3,r2,r11
59941 + *[0-9a-f]*: f0 01 23 4a padds\.ub r10,r8,r1
59942 + *[0-9a-f]*: f0 0a 23 4b padds\.ub r11,r8,r10
59943 +
59944 +[0-9a-f]* <psubs_ub>:
59945 + *[0-9a-f]*: fe 0f 23 5f psubs\.ub pc,pc,pc
59946 + *[0-9a-f]*: f8 0c 23 5c psubs\.ub r12,r12,r12
59947 + *[0-9a-f]*: ea 05 23 55 psubs\.ub r5,r5,r5
59948 + *[0-9a-f]*: e8 04 23 54 psubs\.ub r4,r4,r4
59949 + *[0-9a-f]*: fc 0e 23 5e psubs\.ub lr,lr,lr
59950 + *[0-9a-f]*: e4 07 23 50 psubs\.ub r0,r2,r7
59951 + *[0-9a-f]*: ea 03 23 5e psubs\.ub lr,r5,r3
59952 + *[0-9a-f]*: ee 09 23 56 psubs\.ub r6,r7,r9
59953 +
59954 +[0-9a-f]* <paddh_ub>:
59955 + *[0-9a-f]*: fe 0f 23 6f paddh\.ub pc,pc,pc
59956 + *[0-9a-f]*: f8 0c 23 6c paddh\.ub r12,r12,r12
59957 + *[0-9a-f]*: ea 05 23 65 paddh\.ub r5,r5,r5
59958 + *[0-9a-f]*: e8 04 23 64 paddh\.ub r4,r4,r4
59959 + *[0-9a-f]*: fc 0e 23 6e paddh\.ub lr,lr,lr
59960 + *[0-9a-f]*: e2 00 23 6e paddh\.ub lr,r1,r0
59961 + *[0-9a-f]*: ee 07 23 62 paddh\.ub r2,r7,r7
59962 + *[0-9a-f]*: e2 02 23 62 paddh\.ub r2,r1,r2
59963 +
59964 +[0-9a-f]* <psubh_ub>:
59965 + *[0-9a-f]*: fe 0f 23 7f psubh\.ub pc,pc,pc
59966 + *[0-9a-f]*: f8 0c 23 7c psubh\.ub r12,r12,r12
59967 + *[0-9a-f]*: ea 05 23 75 psubh\.ub r5,r5,r5
59968 + *[0-9a-f]*: e8 04 23 74 psubh\.ub r4,r4,r4
59969 + *[0-9a-f]*: fc 0e 23 7e psubh\.ub lr,lr,lr
59970 + *[0-9a-f]*: e2 06 23 70 psubh\.ub r0,r1,r6
59971 + *[0-9a-f]*: fc 0a 23 74 psubh\.ub r4,lr,r10
59972 + *[0-9a-f]*: f0 01 23 79 psubh\.ub r9,r8,r1
59973 +
59974 +[0-9a-f]* <pmax_ub>:
59975 + *[0-9a-f]*: fe 0f 23 8f pmax\.ub pc,pc,pc
59976 + *[0-9a-f]*: f8 0c 23 8c pmax\.ub r12,r12,r12
59977 + *[0-9a-f]*: ea 05 23 85 pmax\.ub r5,r5,r5
59978 + *[0-9a-f]*: e8 04 23 84 pmax\.ub r4,r4,r4
59979 + *[0-9a-f]*: fc 0e 23 8e pmax\.ub lr,lr,lr
59980 + *[0-9a-f]*: e4 0b 23 8f pmax\.ub pc,r2,r11
59981 + *[0-9a-f]*: e2 01 23 8c pmax\.ub r12,r1,r1
59982 + *[0-9a-f]*: e4 00 23 85 pmax\.ub r5,r2,r0
59983 +
59984 +[0-9a-f]* <pmax_sh>:
59985 + *[0-9a-f]*: fe 0f 23 9f pmax\.sh pc,pc,pc
59986 + *[0-9a-f]*: f8 0c 23 9c pmax\.sh r12,r12,r12
59987 + *[0-9a-f]*: ea 05 23 95 pmax\.sh r5,r5,r5
59988 + *[0-9a-f]*: e8 04 23 94 pmax\.sh r4,r4,r4
59989 + *[0-9a-f]*: fc 0e 23 9e pmax\.sh lr,lr,lr
59990 + *[0-9a-f]*: ec 0c 23 9e pmax\.sh lr,r6,r12
59991 + *[0-9a-f]*: fe 05 23 92 pmax\.sh r2,pc,r5
59992 + *[0-9a-f]*: e4 07 23 9f pmax\.sh pc,r2,r7
59993 +
59994 +[0-9a-f]* <pmin_ub>:
59995 + *[0-9a-f]*: fe 0f 23 af pmin\.ub pc,pc,pc
59996 + *[0-9a-f]*: f8 0c 23 ac pmin\.ub r12,r12,r12
59997 + *[0-9a-f]*: ea 05 23 a5 pmin\.ub r5,r5,r5
59998 + *[0-9a-f]*: e8 04 23 a4 pmin\.ub r4,r4,r4
59999 + *[0-9a-f]*: fc 0e 23 ae pmin\.ub lr,lr,lr
60000 + *[0-9a-f]*: e2 05 23 a8 pmin\.ub r8,r1,r5
60001 + *[0-9a-f]*: f0 03 23 a1 pmin\.ub r1,r8,r3
60002 + *[0-9a-f]*: e4 07 23 a0 pmin\.ub r0,r2,r7
60003 +
60004 +[0-9a-f]* <pmin_sh>:
60005 + *[0-9a-f]*: fe 0f 23 bf pmin\.sh pc,pc,pc
60006 + *[0-9a-f]*: f8 0c 23 bc pmin\.sh r12,r12,r12
60007 + *[0-9a-f]*: ea 05 23 b5 pmin\.sh r5,r5,r5
60008 + *[0-9a-f]*: e8 04 23 b4 pmin\.sh r4,r4,r4
60009 + *[0-9a-f]*: fc 0e 23 be pmin\.sh lr,lr,lr
60010 + *[0-9a-f]*: e8 0a 23 b8 pmin\.sh r8,r4,r10
60011 + *[0-9a-f]*: f4 0c 23 be pmin\.sh lr,r10,r12
60012 + *[0-9a-f]*: ec 02 23 b2 pmin\.sh r2,r6,r2
60013 +
60014 +[0-9a-f]* <pavg_ub>:
60015 + *[0-9a-f]*: fe 0f 23 cf pavg\.ub pc,pc,pc
60016 + *[0-9a-f]*: f8 0c 23 cc pavg\.ub r12,r12,r12
60017 + *[0-9a-f]*: ea 05 23 c5 pavg\.ub r5,r5,r5
60018 + *[0-9a-f]*: e8 04 23 c4 pavg\.ub r4,r4,r4
60019 + *[0-9a-f]*: fc 0e 23 ce pavg\.ub lr,lr,lr
60020 + *[0-9a-f]*: e2 06 23 c0 pavg\.ub r0,r1,r6
60021 + *[0-9a-f]*: e6 06 23 c8 pavg\.ub r8,r3,r6
60022 + *[0-9a-f]*: f8 0a 23 cf pavg\.ub pc,r12,r10
60023 +
60024 +[0-9a-f]* <pavg_sh>:
60025 + *[0-9a-f]*: fe 0f 23 df pavg\.sh pc,pc,pc
60026 + *[0-9a-f]*: f8 0c 23 dc pavg\.sh r12,r12,r12
60027 + *[0-9a-f]*: ea 05 23 d5 pavg\.sh r5,r5,r5
60028 + *[0-9a-f]*: e8 04 23 d4 pavg\.sh r4,r4,r4
60029 + *[0-9a-f]*: fc 0e 23 de pavg\.sh lr,lr,lr
60030 + *[0-9a-f]*: fe 0d 23 d9 pavg\.sh r9,pc,sp
60031 + *[0-9a-f]*: fa 03 23 df pavg\.sh pc,sp,r3
60032 + *[0-9a-f]*: e2 09 23 d6 pavg\.sh r6,r1,r9
60033 +
60034 +[0-9a-f]* <pabs_sb>:
60035 + *[0-9a-f]*: e0 0f 23 ef pabs\.sb pc,pc
60036 + *[0-9a-f]*: e0 0c 23 ec pabs\.sb r12,r12
60037 + *[0-9a-f]*: e0 05 23 e5 pabs\.sb r5,r5
60038 + *[0-9a-f]*: e0 04 23 e4 pabs\.sb r4,r4
60039 + *[0-9a-f]*: e0 0e 23 ee pabs\.sb lr,lr
60040 + *[0-9a-f]*: e0 06 23 eb pabs\.sb r11,r6
60041 + *[0-9a-f]*: e0 09 23 ee pabs\.sb lr,r9
60042 + *[0-9a-f]*: e0 07 23 ed pabs\.sb sp,r7
60043 +
60044 +[0-9a-f]* <pabs_sh>:
60045 + *[0-9a-f]*: e0 0f 23 ff pabs\.sh pc,pc
60046 + *[0-9a-f]*: e0 0c 23 fc pabs\.sh r12,r12
60047 + *[0-9a-f]*: e0 05 23 f5 pabs\.sh r5,r5
60048 + *[0-9a-f]*: e0 04 23 f4 pabs\.sh r4,r4
60049 + *[0-9a-f]*: e0 0e 23 fe pabs\.sh lr,lr
60050 + *[0-9a-f]*: e0 03 23 ff pabs\.sh pc,r3
60051 + *[0-9a-f]*: e0 07 23 f5 pabs\.sh r5,r7
60052 + *[0-9a-f]*: e0 00 23 f4 pabs\.sh r4,r0
60053 +
60054 +[0-9a-f]* <psad>:
60055 + *[0-9a-f]*: fe 0f 24 0f psad pc,pc,pc
60056 + *[0-9a-f]*: f8 0c 24 0c psad r12,r12,r12
60057 + *[0-9a-f]*: ea 05 24 05 psad r5,r5,r5
60058 + *[0-9a-f]*: e8 04 24 04 psad r4,r4,r4
60059 + *[0-9a-f]*: fc 0e 24 0e psad lr,lr,lr
60060 + *[0-9a-f]*: f6 0b 24 09 psad r9,r11,r11
60061 + *[0-9a-f]*: e8 0d 24 0e psad lr,r4,sp
60062 + *[0-9a-f]*: e8 05 24 0e psad lr,r4,r5
60063 +
60064 +[0-9a-f]* <pasr_b>:
60065 + *[0-9a-f]*: fe 00 24 1f pasr\.b pc,pc,0x0
60066 + *[0-9a-f]*: f8 07 24 1c pasr\.b r12,r12,0x7
60067 + *[0-9a-f]*: ea 04 24 15 pasr\.b r5,r5,0x4
60068 + *[0-9a-f]*: e8 03 24 14 pasr\.b r4,r4,0x3
60069 + *[0-9a-f]*: fc 01 24 1e pasr\.b lr,lr,0x1
60070 + *[0-9a-f]*: ee 01 24 1f pasr\.b pc,r7,0x1
60071 + *[0-9a-f]*: fc 06 24 1d pasr\.b sp,lr,0x6
60072 + *[0-9a-f]*: e6 02 24 1d pasr\.b sp,r3,0x2
60073 +
60074 +[0-9a-f]* <plsl_b>:
60075 + *[0-9a-f]*: fe 00 24 2f plsl\.b pc,pc,0x0
60076 + *[0-9a-f]*: f8 07 24 2c plsl\.b r12,r12,0x7
60077 + *[0-9a-f]*: ea 04 24 25 plsl\.b r5,r5,0x4
60078 + *[0-9a-f]*: e8 03 24 24 plsl\.b r4,r4,0x3
60079 + *[0-9a-f]*: fc 01 24 2e plsl\.b lr,lr,0x1
60080 + *[0-9a-f]*: f6 04 24 22 plsl\.b r2,r11,0x4
60081 + *[0-9a-f]*: ea 07 24 28 plsl\.b r8,r5,0x7
60082 + *[0-9a-f]*: e0 02 24 2f plsl\.b pc,r0,0x2
60083 +
60084 +[0-9a-f]* <plsr_b>:
60085 + *[0-9a-f]*: fe 00 24 3f plsr\.b pc,pc,0x0
60086 + *[0-9a-f]*: f8 07 24 3c plsr\.b r12,r12,0x7
60087 + *[0-9a-f]*: ea 04 24 35 plsr\.b r5,r5,0x4
60088 + *[0-9a-f]*: e8 03 24 34 plsr\.b r4,r4,0x3
60089 + *[0-9a-f]*: fc 01 24 3e plsr\.b lr,lr,0x1
60090 + *[0-9a-f]*: e2 02 24 3c plsr\.b r12,r1,0x2
60091 + *[0-9a-f]*: fe 07 24 36 plsr\.b r6,pc,0x7
60092 + *[0-9a-f]*: f6 02 24 3c plsr\.b r12,r11,0x2
60093 +
60094 +[0-9a-f]* <pasr_h>:
60095 + *[0-9a-f]*: fe 00 24 4f pasr\.h pc,pc,0x0
60096 + *[0-9a-f]*: f8 0f 24 4c pasr\.h r12,r12,0xf
60097 + *[0-9a-f]*: ea 08 24 45 pasr\.h r5,r5,0x8
60098 + *[0-9a-f]*: e8 07 24 44 pasr\.h r4,r4,0x7
60099 + *[0-9a-f]*: fc 01 24 4e pasr\.h lr,lr,0x1
60100 + *[0-9a-f]*: f6 0a 24 40 pasr\.h r0,r11,0xa
60101 + *[0-9a-f]*: ec 08 24 44 pasr\.h r4,r6,0x8
60102 + *[0-9a-f]*: e4 04 24 46 pasr\.h r6,r2,0x4
60103 +
60104 +[0-9a-f]* <plsl_h>:
60105 + *[0-9a-f]*: fe 00 24 5f plsl\.h pc,pc,0x0
60106 + *[0-9a-f]*: f8 0f 24 5c plsl\.h r12,r12,0xf
60107 + *[0-9a-f]*: ea 08 24 55 plsl\.h r5,r5,0x8
60108 + *[0-9a-f]*: e8 07 24 54 plsl\.h r4,r4,0x7
60109 + *[0-9a-f]*: fc 01 24 5e plsl\.h lr,lr,0x1
60110 + *[0-9a-f]*: f4 09 24 55 plsl\.h r5,r10,0x9
60111 + *[0-9a-f]*: fc 08 24 5d plsl\.h sp,lr,0x8
60112 + *[0-9a-f]*: fc 07 24 50 plsl\.h r0,lr,0x7
60113 +
60114 +[0-9a-f]* <plsr_h>:
60115 + *[0-9a-f]*: fe 00 24 6f plsr\.h pc,pc,0x0
60116 + *[0-9a-f]*: f8 0f 24 6c plsr\.h r12,r12,0xf
60117 + *[0-9a-f]*: ea 08 24 65 plsr\.h r5,r5,0x8
60118 + *[0-9a-f]*: e8 07 24 64 plsr\.h r4,r4,0x7
60119 + *[0-9a-f]*: fc 01 24 6e plsr\.h lr,lr,0x1
60120 + *[0-9a-f]*: e0 0f 24 6b plsr\.h r11,r0,0xf
60121 + *[0-9a-f]*: e6 03 24 6e plsr\.h lr,r3,0x3
60122 + *[0-9a-f]*: fc 0a 24 68 plsr\.h r8,lr,0xa
60123 +
60124 +[0-9a-f]* <packw_sh>:
60125 + *[0-9a-f]*: fe 0f 24 7f packw\.sh pc,pc,pc
60126 + *[0-9a-f]*: f8 0c 24 7c packw\.sh r12,r12,r12
60127 + *[0-9a-f]*: ea 05 24 75 packw\.sh r5,r5,r5
60128 + *[0-9a-f]*: e8 04 24 74 packw\.sh r4,r4,r4
60129 + *[0-9a-f]*: fc 0e 24 7e packw\.sh lr,lr,lr
60130 + *[0-9a-f]*: f6 0a 24 7d packw\.sh sp,r11,r10
60131 + *[0-9a-f]*: e4 0c 24 78 packw\.sh r8,r2,r12
60132 + *[0-9a-f]*: e2 05 24 78 packw\.sh r8,r1,r5
60133 +
60134 +[0-9a-f]* <punpckub_h>:
60135 + *[0-9a-f]*: fe 00 24 8f punpckub\.h pc,pc:b
60136 + *[0-9a-f]*: f8 00 24 9c punpckub\.h r12,r12:t
60137 + *[0-9a-f]*: ea 00 24 95 punpckub\.h r5,r5:t
60138 + *[0-9a-f]*: e8 00 24 84 punpckub\.h r4,r4:b
60139 + *[0-9a-f]*: fc 00 24 9e punpckub\.h lr,lr:t
60140 + *[0-9a-f]*: e2 00 24 96 punpckub\.h r6,r1:t
60141 + *[0-9a-f]*: ea 00 24 8e punpckub\.h lr,r5:b
60142 + *[0-9a-f]*: e4 00 24 9e punpckub\.h lr,r2:t
60143 +
60144 +[0-9a-f]* <punpcksb_h>:
60145 + *[0-9a-f]*: fe 00 24 af punpcksb\.h pc,pc:b
60146 + *[0-9a-f]*: f8 00 24 bc punpcksb\.h r12,r12:t
60147 + *[0-9a-f]*: ea 00 24 b5 punpcksb\.h r5,r5:t
60148 + *[0-9a-f]*: e8 00 24 a4 punpcksb\.h r4,r4:b
60149 + *[0-9a-f]*: fc 00 24 be punpcksb\.h lr,lr:t
60150 + *[0-9a-f]*: ee 00 24 b4 punpcksb\.h r4,r7:t
60151 + *[0-9a-f]*: fc 00 24 a6 punpcksb\.h r6,lr:b
60152 + *[0-9a-f]*: f8 00 24 bc punpcksb\.h r12,r12:t
60153 +
60154 +[0-9a-f]* <packsh_ub>:
60155 + *[0-9a-f]*: fe 0f 24 cf packsh\.ub pc,pc,pc
60156 + *[0-9a-f]*: f8 0c 24 cc packsh\.ub r12,r12,r12
60157 + *[0-9a-f]*: ea 05 24 c5 packsh\.ub r5,r5,r5
60158 + *[0-9a-f]*: e8 04 24 c4 packsh\.ub r4,r4,r4
60159 + *[0-9a-f]*: fc 0e 24 ce packsh\.ub lr,lr,lr
60160 + *[0-9a-f]*: ec 03 24 c3 packsh\.ub r3,r6,r3
60161 + *[0-9a-f]*: e0 03 24 c8 packsh\.ub r8,r0,r3
60162 + *[0-9a-f]*: e6 0e 24 c9 packsh\.ub r9,r3,lr
60163 +
60164 +[0-9a-f]* <packsh_sb>:
60165 + *[0-9a-f]*: fe 0f 24 df packsh\.sb pc,pc,pc
60166 + *[0-9a-f]*: f8 0c 24 dc packsh\.sb r12,r12,r12
60167 + *[0-9a-f]*: ea 05 24 d5 packsh\.sb r5,r5,r5
60168 + *[0-9a-f]*: e8 04 24 d4 packsh\.sb r4,r4,r4
60169 + *[0-9a-f]*: fc 0e 24 de packsh\.sb lr,lr,lr
60170 + *[0-9a-f]*: f0 01 24 d6 packsh\.sb r6,r8,r1
60171 + *[0-9a-f]*: f2 08 24 de packsh\.sb lr,r9,r8
60172 + *[0-9a-f]*: ec 06 24 dd packsh\.sb sp,r6,r6
60173 +
60174 +[0-9a-f]* <andl>:
60175 + *[0-9a-f]*: e0 1f 00 00 andl pc,0x0
60176 + *[0-9a-f]*: e0 1c ff ff andl r12,0xffff
60177 + *[0-9a-f]*: e0 15 80 00 andl r5,0x8000
60178 + *[0-9a-f]*: e0 14 7f ff andl r4,0x7fff
60179 + *[0-9a-f]*: e0 1e 00 01 andl lr,0x1
60180 + *[0-9a-f]*: e0 1f 5a 58 andl pc,0x5a58
60181 + *[0-9a-f]*: e0 18 b8 9e andl r8,0xb89e
60182 + *[0-9a-f]*: e0 17 35 97 andl r7,0x3597
60183 +
60184 +[0-9a-f]* <andl_coh>:
60185 + *[0-9a-f]*: e2 1f 00 00 andl pc,0x0,COH
60186 + *[0-9a-f]*: e2 1c ff ff andl r12,0xffff,COH
60187 + *[0-9a-f]*: e2 15 80 00 andl r5,0x8000,COH
60188 + *[0-9a-f]*: e2 14 7f ff andl r4,0x7fff,COH
60189 + *[0-9a-f]*: e2 1e 00 01 andl lr,0x1,COH
60190 + *[0-9a-f]*: e2 16 58 e1 andl r6,0x58e1,COH
60191 + *[0-9a-f]*: e2 10 9e cd andl r0,0x9ecd,COH
60192 + *[0-9a-f]*: e2 14 bd c4 andl r4,0xbdc4,COH
60193 +
60194 +[0-9a-f]* <andh>:
60195 + *[0-9a-f]*: e4 1f 00 00 andh pc,0x0
60196 + *[0-9a-f]*: e4 1c ff ff andh r12,0xffff
60197 + *[0-9a-f]*: e4 15 80 00 andh r5,0x8000
60198 + *[0-9a-f]*: e4 14 7f ff andh r4,0x7fff
60199 + *[0-9a-f]*: e4 1e 00 01 andh lr,0x1
60200 + *[0-9a-f]*: e4 1c cc 58 andh r12,0xcc58
60201 + *[0-9a-f]*: e4 13 21 e3 andh r3,0x21e3
60202 + *[0-9a-f]*: e4 12 a7 eb andh r2,0xa7eb
60203 +
60204 +[0-9a-f]* <andh_coh>:
60205 + *[0-9a-f]*: e6 1f 00 00 andh pc,0x0,COH
60206 + *[0-9a-f]*: e6 1c ff ff andh r12,0xffff,COH
60207 + *[0-9a-f]*: e6 15 80 00 andh r5,0x8000,COH
60208 + *[0-9a-f]*: e6 14 7f ff andh r4,0x7fff,COH
60209 + *[0-9a-f]*: e6 1e 00 01 andh lr,0x1,COH
60210 + *[0-9a-f]*: e6 1b 86 0d andh r11,0x860d,COH
60211 + *[0-9a-f]*: e6 18 ce f6 andh r8,0xcef6,COH
60212 + *[0-9a-f]*: e6 1a 5c 83 andh r10,0x5c83,COH
60213 +
60214 +[0-9a-f]* <orl>:
60215 + *[0-9a-f]*: e8 1f 00 00 orl pc,0x0
60216 + *[0-9a-f]*: e8 1c ff ff orl r12,0xffff
60217 + *[0-9a-f]*: e8 15 80 00 orl r5,0x8000
60218 + *[0-9a-f]*: e8 14 7f ff orl r4,0x7fff
60219 + *[0-9a-f]*: e8 1e 00 01 orl lr,0x1
60220 + *[0-9a-f]*: e8 1d 41 7e orl sp,0x417e
60221 + *[0-9a-f]*: e8 10 52 bd orl r0,0x52bd
60222 + *[0-9a-f]*: e8 1f ac 47 orl pc,0xac47
60223 +
60224 +[0-9a-f]* <orh>:
60225 + *[0-9a-f]*: ea 1f 00 00 orh pc,0x0
60226 + *[0-9a-f]*: ea 1c ff ff orh r12,0xffff
60227 + *[0-9a-f]*: ea 15 80 00 orh r5,0x8000
60228 + *[0-9a-f]*: ea 14 7f ff orh r4,0x7fff
60229 + *[0-9a-f]*: ea 1e 00 01 orh lr,0x1
60230 + *[0-9a-f]*: ea 18 6e 7d orh r8,0x6e7d
60231 + *[0-9a-f]*: ea 1c 77 1c orh r12,0x771c
60232 + *[0-9a-f]*: ea 11 ea 1a orh r1,0xea1a
60233 +
60234 +[0-9a-f]* <eorl>:
60235 + *[0-9a-f]*: ec 1f 00 00 eorl pc,0x0
60236 + *[0-9a-f]*: ec 1c ff ff eorl r12,0xffff
60237 + *[0-9a-f]*: ec 15 80 00 eorl r5,0x8000
60238 + *[0-9a-f]*: ec 14 7f ff eorl r4,0x7fff
60239 + *[0-9a-f]*: ec 1e 00 01 eorl lr,0x1
60240 + *[0-9a-f]*: ec 14 c7 b9 eorl r4,0xc7b9
60241 + *[0-9a-f]*: ec 16 fb dd eorl r6,0xfbdd
60242 + *[0-9a-f]*: ec 11 51 b1 eorl r1,0x51b1
60243 +
60244 +[0-9a-f]* <eorh>:
60245 + *[0-9a-f]*: ee 1f 00 00 eorh pc,0x0
60246 + *[0-9a-f]*: ee 1c ff ff eorh r12,0xffff
60247 + *[0-9a-f]*: ee 15 80 00 eorh r5,0x8000
60248 + *[0-9a-f]*: ee 14 7f ff eorh r4,0x7fff
60249 + *[0-9a-f]*: ee 1e 00 01 eorh lr,0x1
60250 + *[0-9a-f]*: ee 10 2d d4 eorh r0,0x2dd4
60251 + *[0-9a-f]*: ee 1a 94 b5 eorh r10,0x94b5
60252 + *[0-9a-f]*: ee 19 df 2a eorh r9,0xdf2a
60253 +
60254 +[0-9a-f]* <mcall>:
60255 + *[0-9a-f]*: f0 1f 00 00 mcall [0-9a-f]* <.*>
60256 + *[0-9a-f]*: f0 1c ff ff mcall r12\[-4\]
60257 + *[0-9a-f]*: f0 15 80 00 mcall r5\[-131072\]
60258 + *[0-9a-f]*: f0 14 7f ff mcall r4\[131068\]
60259 + *[0-9a-f]*: f0 1e 00 01 mcall lr\[4\]
60260 + *[0-9a-f]*: f0 1d 3b bf mcall sp\[61180\]
60261 + *[0-9a-f]*: f0 14 dd d2 mcall r4\[-35000\]
60262 + *[0-9a-f]*: f0 10 09 b1 mcall r0\[9924\]
60263 +
60264 +[0-9a-f]* <pref>:
60265 + *[0-9a-f]*: f2 1f 00 00 pref pc\[0\]
60266 + *[0-9a-f]*: f2 1c ff ff pref r12\[-1\]
60267 + *[0-9a-f]*: f2 15 80 00 pref r5\[-32768\]
60268 + *[0-9a-f]*: f2 14 7f ff pref r4\[32767\]
60269 + *[0-9a-f]*: f2 1e 00 01 pref lr\[1\]
60270 + *[0-9a-f]*: f2 17 1e 44 pref r7\[7748\]
60271 + *[0-9a-f]*: f2 17 e1 ed pref r7\[-7699\]
60272 + *[0-9a-f]*: f2 12 9a dc pref r2\[-25892\]
60273 +
60274 +[0-9a-f]* <cache>:
60275 + *[0-9a-f]*: f4 1f 00 00 cache pc\[0\],0x0
60276 + *[0-9a-f]*: f4 1c ff ff cache r12\[-1\],0x1f
60277 + *[0-9a-f]*: f4 15 84 00 cache r5\[-1024\],0x10
60278 + *[0-9a-f]*: f4 14 7b ff cache r4\[1023\],0xf
60279 + *[0-9a-f]*: f4 1e 08 01 cache lr\[1\],0x1
60280 + *[0-9a-f]*: f4 13 8c 3c cache r3\[-964\],0x11
60281 + *[0-9a-f]*: f4 14 b6 89 cache r4\[-375\],0x16
60282 + *[0-9a-f]*: f4 13 8c 88 cache r3\[-888\],0x11
60283 +
60284 +[0-9a-f]* <sub4>:
60285 + *[0-9a-f]*: 20 0f sub pc,0
60286 + *[0-9a-f]*: 2f fc sub r12,-1
60287 + *[0-9a-f]*: f0 25 00 00 sub r5,-1048576
60288 + *[0-9a-f]*: ee 34 ff ff sub r4,1048575
60289 + *[0-9a-f]*: 20 1e sub lr,1
60290 + *[0-9a-f]*: f6 22 8d 6c sub r2,-619156
60291 + *[0-9a-f]*: e6 3e 0a cd sub lr,461517
60292 + *[0-9a-f]*: fc 38 2d 25 sub r8,-185051
60293 +
60294 +[0-9a-f]* <cp3>:
60295 + *[0-9a-f]*: 58 0f cp.w pc,0
60296 + *[0-9a-f]*: 5b fc cp.w r12,-1
60297 + *[0-9a-f]*: f0 45 00 00 cp.w r5,-1048576
60298 + *[0-9a-f]*: ee 54 ff ff cp.w r4,1048575
60299 + *[0-9a-f]*: 58 1e cp.w lr,1
60300 + *[0-9a-f]*: e0 51 e4 ae cp.w r1,124078
60301 + *[0-9a-f]*: fa 40 37 e3 cp.w r0,-378909
60302 + *[0-9a-f]*: fc 44 4a 14 cp.w r4,-243180
60303 +
60304 +[0-9a-f]* <mov2>:
60305 + *[0-9a-f]*: 30 0f mov pc,0
60306 + *[0-9a-f]*: 3f fc mov r12,-1
60307 + *[0-9a-f]*: f0 65 00 00 mov r5,-1048576
60308 + *[0-9a-f]*: ee 74 ff ff mov r4,1048575
60309 + *[0-9a-f]*: 30 1e mov lr,1
60310 + *[0-9a-f]*: fa 75 29 a3 mov r5,-317021
60311 + *[0-9a-f]*: f4 6d 91 94 mov sp,-749164
60312 + *[0-9a-f]*: ee 65 58 93 mov r5,940179
60313 +
60314 +[0-9a-f]* <brc2>:
60315 + *[0-9a-f]*: c0 00 breq [0-9a-f]* <.*>
60316 + *[0-9a-f]*: fe 9f ff ff bral [0-9a-f]* <.*>
60317 + *[0-9a-f]*: f0 88 00 00 brls [0-9a-f]* <.*>
60318 + *[0-9a-f]*: ee 97 ff ff brpl [0-9a-f]* <.*>
60319 + *[0-9a-f]*: c0 11 brne [0-9a-f]* <.*>
60320 + *[0-9a-f]*: f2 8b 4a 4d brhi [0-9a-f]* <.*>
60321 + *[0-9a-f]*: ea 8e 14 cc brqs [0-9a-f]* <.*>
60322 + *[0-9a-f]*: fa 98 98 33 brls [0-9a-f]* <.*>
60323 +
60324 +[0-9a-f]* <rcall2>:
60325 + *[0-9a-f]*: c0 0c rcall [0-9a-f]* <.*>
60326 + *[0-9a-f]*: cf ff rcall [0-9a-f]* <.*>
60327 + *[0-9a-f]*: f0 a0 00 00 rcall [0-9a-f]* <.*>
60328 + *[0-9a-f]*: ee b0 ff ff rcall [0-9a-f]* <.*>
60329 + *[0-9a-f]*: c0 1c rcall [0-9a-f]* <.*>
60330 + *[0-9a-f]*: e2 b0 ca 5a rcall [0-9a-f]* <.*>
60331 + *[0-9a-f]*: e8 a0 47 52 rcall [0-9a-f]* <.*>
60332 + *[0-9a-f]*: fe b0 fd ef rcall [0-9a-f]* <.*>
60333 +
60334 +[0-9a-f]* <sub5>:
60335 + *[0-9a-f]*: fe cf 00 00 sub pc,pc,0
60336 + *[0-9a-f]*: f8 cc ff ff sub r12,r12,-1
60337 + *[0-9a-f]*: ea c5 80 00 sub r5,r5,-32768
60338 + *[0-9a-f]*: e8 c4 7f ff sub r4,r4,32767
60339 + *[0-9a-f]*: fc ce 00 01 sub lr,lr,1
60340 + *[0-9a-f]*: fe cf ce 38 sub pc,pc,-12744
60341 + *[0-9a-f]*: ee c7 95 1b sub r7,r7,-27365
60342 + *[0-9a-f]*: f2 c2 bc 32 sub r2,r9,-17358
60343 +
60344 +[0-9a-f]* <satsub_w2>:
60345 + *[0-9a-f]*: fe df 00 00 satsub\.w pc,pc,0
60346 + *[0-9a-f]*: f8 dc ff ff satsub\.w r12,r12,-1
60347 + *[0-9a-f]*: ea d5 80 00 satsub\.w r5,r5,-32768
60348 + *[0-9a-f]*: e8 d4 7f ff satsub\.w r4,r4,32767
60349 + *[0-9a-f]*: fc de 00 01 satsub\.w lr,lr,1
60350 + *[0-9a-f]*: fc d2 f8 29 satsub\.w r2,lr,-2007
60351 + *[0-9a-f]*: f8 d7 fc f0 satsub\.w r7,r12,-784
60352 + *[0-9a-f]*: ee d4 5a 8c satsub\.w r4,r7,23180
60353 +
60354 +[0-9a-f]* <ld_d4>:
60355 + *[0-9a-f]*: fe e0 00 00 ld\.d r0,pc\[0\]
60356 + *[0-9a-f]*: f8 ee ff ff ld\.d lr,r12\[-1\]
60357 + *[0-9a-f]*: ea e8 80 00 ld\.d r8,r5\[-32768\]
60358 + *[0-9a-f]*: e8 e6 7f ff ld\.d r6,r4\[32767\]
60359 + *[0-9a-f]*: fc e2 00 01 ld\.d r2,lr\[1\]
60360 + *[0-9a-f]*: f6 ee 39 c0 ld\.d lr,r11\[14784\]
60361 + *[0-9a-f]*: f2 e6 b6 27 ld\.d r6,r9\[-18905\]
60362 + *[0-9a-f]*: e6 e2 e7 2d ld\.d r2,r3\[-6355\]
60363 +
60364 +[0-9a-f]* <ld_w4>:
60365 + *[0-9a-f]*: 7e 0f ld\.w pc,pc\[0x0\]
60366 + *[0-9a-f]*: f8 fc ff ff ld\.w r12,r12\[-1\]
60367 + *[0-9a-f]*: ea f5 80 00 ld\.w r5,r5\[-32768\]
60368 + *[0-9a-f]*: e8 f4 7f ff ld\.w r4,r4\[32767\]
60369 + *[0-9a-f]*: fc fe 00 01 ld\.w lr,lr\[1\]
60370 + *[0-9a-f]*: f8 f0 a9 8b ld\.w r0,r12\[-22133\]
60371 + *[0-9a-f]*: fe fd af d7 ld\.w sp,pc\[-20521\]
60372 + *[0-9a-f]*: d7 03 nop
60373 +
60374 +[0-9a-f]* <ld_sh4>:
60375 + *[0-9a-f]*: 9e 0f ld\.sh pc,pc\[0x0\]
60376 + *[0-9a-f]*: f9 0c ff ff ld\.sh r12,r12\[-1\]
60377 + *[0-9a-f]*: eb 05 80 00 ld\.sh r5,r5\[-32768\]
60378 + *[0-9a-f]*: e9 04 7f ff ld\.sh r4,r4\[32767\]
60379 + *[0-9a-f]*: fd 0e 00 01 ld\.sh lr,lr\[1\]
60380 + *[0-9a-f]*: f5 06 78 d2 ld\.sh r6,r10\[30930\]
60381 + *[0-9a-f]*: f5 06 55 d5 ld\.sh r6,r10\[21973\]
60382 + *[0-9a-f]*: d7 03 nop
60383 +
60384 +[0-9a-f]* <ld_uh4>:
60385 + *[0-9a-f]*: 9e 8f ld\.uh pc,pc\[0x0\]
60386 + *[0-9a-f]*: f9 1c ff ff ld\.uh r12,r12\[-1\]
60387 + *[0-9a-f]*: eb 15 80 00 ld\.uh r5,r5\[-32768\]
60388 + *[0-9a-f]*: e9 14 7f ff ld\.uh r4,r4\[32767\]
60389 + *[0-9a-f]*: fd 1e 00 01 ld\.uh lr,lr\[1\]
60390 + *[0-9a-f]*: f3 11 cb d6 ld\.uh r1,r9\[-13354\]
60391 + *[0-9a-f]*: f7 1e 53 59 ld\.uh lr,r11\[21337\]
60392 + *[0-9a-f]*: d7 03 nop
60393 +
60394 +[0-9a-f]* <ld_sb1>:
60395 + *[0-9a-f]*: ff 2f 00 00 ld\.sb pc,pc\[0\]
60396 + *[0-9a-f]*: f9 2c ff ff ld\.sb r12,r12\[-1\]
60397 + *[0-9a-f]*: eb 25 80 00 ld\.sb r5,r5\[-32768\]
60398 + *[0-9a-f]*: e9 24 7f ff ld\.sb r4,r4\[32767\]
60399 + *[0-9a-f]*: fd 2e 00 01 ld\.sb lr,lr\[1\]
60400 + *[0-9a-f]*: fb 27 90 09 ld\.sb r7,sp\[-28663\]
60401 + *[0-9a-f]*: e3 22 e9 09 ld\.sb r2,r1\[-5879\]
60402 + *[0-9a-f]*: e7 2c 49 2e ld\.sb r12,r3\[18734\]
60403 +
60404 +[0-9a-f]* <ld_ub4>:
60405 + *[0-9a-f]*: 1f 8f ld\.ub pc,pc\[0x0\]
60406 + *[0-9a-f]*: f9 3c ff ff ld\.ub r12,r12\[-1\]
60407 + *[0-9a-f]*: eb 35 80 00 ld\.ub r5,r5\[-32768\]
60408 + *[0-9a-f]*: e9 34 7f ff ld\.ub r4,r4\[32767\]
60409 + *[0-9a-f]*: 1d 9e ld\.ub lr,lr\[0x1\]
60410 + *[0-9a-f]*: e9 3f 20 55 ld\.ub pc,r4\[8277\]
60411 + *[0-9a-f]*: f9 35 4a e4 ld\.ub r5,r12\[19172\]
60412 + *[0-9a-f]*: fd 3a 66 eb ld\.ub r10,lr\[26347\]
60413 +
60414 +[0-9a-f]* <st_d4>:
60415 + *[0-9a-f]*: fe e1 00 00 st\.d pc\[0\],r0
60416 + *[0-9a-f]*: f8 ef ff ff st\.d r12\[-1\],lr
60417 + *[0-9a-f]*: ea e9 80 00 st\.d r5\[-32768\],r8
60418 + *[0-9a-f]*: e8 e7 7f ff st\.d r4\[32767\],r6
60419 + *[0-9a-f]*: fc e3 00 01 st\.d lr\[1\],r2
60420 + *[0-9a-f]*: ea eb 33 90 st\.d r5\[13200\],r10
60421 + *[0-9a-f]*: ea eb 24 88 st\.d r5\[9352\],r10
60422 + *[0-9a-f]*: ea e5 7e 75 st\.d r5\[32373\],r4
60423 +
60424 +[0-9a-f]* <st_w4>:
60425 + *[0-9a-f]*: 9f 0f st\.w pc\[0x0\],pc
60426 + *[0-9a-f]*: f9 4c ff ff st\.w r12\[-1\],r12
60427 + *[0-9a-f]*: eb 45 80 00 st\.w r5\[-32768\],r5
60428 + *[0-9a-f]*: e9 44 7f ff st\.w r4\[32767\],r4
60429 + *[0-9a-f]*: fd 4e 00 01 st\.w lr\[1\],lr
60430 + *[0-9a-f]*: fb 47 17 f8 st\.w sp\[6136\],r7
60431 + *[0-9a-f]*: ed 4c 69 cf st\.w r6\[27087\],r12
60432 + *[0-9a-f]*: d7 03 nop
60433 +
60434 +[0-9a-f]* <st_h4>:
60435 + *[0-9a-f]*: be 0f st\.h pc\[0x0\],pc
60436 + *[0-9a-f]*: f9 5c ff ff st\.h r12\[-1\],r12
60437 + *[0-9a-f]*: eb 55 80 00 st\.h r5\[-32768\],r5
60438 + *[0-9a-f]*: e9 54 7f ff st\.h r4\[32767\],r4
60439 + *[0-9a-f]*: fd 5e 00 01 st\.h lr\[1\],lr
60440 + *[0-9a-f]*: e9 57 d9 16 st\.h r4\[-9962\],r7
60441 + *[0-9a-f]*: f3 53 c0 86 st\.h r9\[-16250\],r3
60442 + *[0-9a-f]*: d7 03 nop
60443 +
60444 +[0-9a-f]* <st_b4>:
60445 + *[0-9a-f]*: be 8f st\.b pc\[0x0\],pc
60446 + *[0-9a-f]*: f9 6c ff ff st\.b r12\[-1\],r12
60447 + *[0-9a-f]*: eb 65 80 00 st\.b r5\[-32768\],r5
60448 + *[0-9a-f]*: e9 64 7f ff st\.b r4\[32767\],r4
60449 + *[0-9a-f]*: bc 9e st\.b lr\[0x1\],lr
60450 + *[0-9a-f]*: f9 66 75 96 st\.b r12\[30102\],r6
60451 + *[0-9a-f]*: eb 61 71 31 st\.b r5\[28977\],r1
60452 + *[0-9a-f]*: e1 61 15 5e st\.b r0\[5470\],r1
60453 +
60454 +[0-9a-f]* <mfsr>:
60455 + *[0-9a-f]*: e1 bf 00 00 mfsr pc,0x0
60456 + *[0-9a-f]*: e1 bc 00 ff mfsr r12,0x3fc
60457 + *[0-9a-f]*: e1 b5 00 80 mfsr r5,0x200
60458 + *[0-9a-f]*: e1 b4 00 7f mfsr r4,0x1fc
60459 + *[0-9a-f]*: e1 be 00 01 mfsr lr,0x4
60460 + *[0-9a-f]*: e1 b2 00 ae mfsr r2,0x2b8
60461 + *[0-9a-f]*: e1 b4 00 41 mfsr r4,0x104
60462 + *[0-9a-f]*: e1 ba 00 fe mfsr r10,0x3f8
60463 +
60464 +[0-9a-f]* <mtsr>:
60465 + *[0-9a-f]*: e3 bf 00 00 mtsr 0x0,pc
60466 + *[0-9a-f]*: e3 bc 00 ff mtsr 0x3fc,r12
60467 + *[0-9a-f]*: e3 b5 00 80 mtsr 0x200,r5
60468 + *[0-9a-f]*: e3 b4 00 7f mtsr 0x1fc,r4
60469 + *[0-9a-f]*: e3 be 00 01 mtsr 0x4,lr
60470 + *[0-9a-f]*: e3 ba 00 38 mtsr 0xe0,r10
60471 + *[0-9a-f]*: e3 bc 00 d1 mtsr 0x344,r12
60472 + *[0-9a-f]*: e3 b9 00 4c mtsr 0x130,r9
60473 +
60474 +[0-9a-f]* <mfdr>:
60475 + *[0-9a-f]*: e5 bf 00 00 mfdr pc,0x0
60476 + *[0-9a-f]*: e5 bc 00 ff mfdr r12,0x3fc
60477 + *[0-9a-f]*: e5 b5 00 80 mfdr r5,0x200
60478 + *[0-9a-f]*: e5 b4 00 7f mfdr r4,0x1fc
60479 + *[0-9a-f]*: e5 be 00 01 mfdr lr,0x4
60480 + *[0-9a-f]*: e5 b6 00 e9 mfdr r6,0x3a4
60481 + *[0-9a-f]*: e5 b5 00 09 mfdr r5,0x24
60482 + *[0-9a-f]*: e5 b9 00 4b mfdr r9,0x12c
60483 +
60484 +[0-9a-f]* <mtdr>:
60485 + *[0-9a-f]*: e7 bf 00 00 mtdr 0x0,pc
60486 + *[0-9a-f]*: e7 bc 00 ff mtdr 0x3fc,r12
60487 + *[0-9a-f]*: e7 b5 00 80 mtdr 0x200,r5
60488 + *[0-9a-f]*: e7 b4 00 7f mtdr 0x1fc,r4
60489 + *[0-9a-f]*: e7 be 00 01 mtdr 0x4,lr
60490 + *[0-9a-f]*: e7 b8 00 2d mtdr 0xb4,r8
60491 + *[0-9a-f]*: e7 ba 00 b4 mtdr 0x2d0,r10
60492 + *[0-9a-f]*: e7 be 00 66 mtdr 0x198,lr
60493 +
60494 +[0-9a-f]* <sleep>:
60495 + *[0-9a-f]*: e9 b0 00 00 sleep 0x0
60496 + *[0-9a-f]*: e9 b0 00 ff sleep 0xff
60497 + *[0-9a-f]*: e9 b0 00 80 sleep 0x80
60498 + *[0-9a-f]*: e9 b0 00 7f sleep 0x7f
60499 + *[0-9a-f]*: e9 b0 00 01 sleep 0x1
60500 + *[0-9a-f]*: e9 b0 00 fe sleep 0xfe
60501 + *[0-9a-f]*: e9 b0 00 0f sleep 0xf
60502 + *[0-9a-f]*: e9 b0 00 2b sleep 0x2b
60503 +
60504 +[0-9a-f]* <sync>:
60505 + *[0-9a-f]*: eb b0 00 00 sync 0x0
60506 + *[0-9a-f]*: eb b0 00 ff sync 0xff
60507 + *[0-9a-f]*: eb b0 00 80 sync 0x80
60508 + *[0-9a-f]*: eb b0 00 7f sync 0x7f
60509 + *[0-9a-f]*: eb b0 00 01 sync 0x1
60510 + *[0-9a-f]*: eb b0 00 a6 sync 0xa6
60511 + *[0-9a-f]*: eb b0 00 e6 sync 0xe6
60512 + *[0-9a-f]*: eb b0 00 b4 sync 0xb4
60513 +
60514 +[0-9a-f]* <bld>:
60515 + *[0-9a-f]*: ed bf 00 00 bld pc,0x0
60516 + *[0-9a-f]*: ed bc 00 1f bld r12,0x1f
60517 + *[0-9a-f]*: ed b5 00 10 bld r5,0x10
60518 + *[0-9a-f]*: ed b4 00 0f bld r4,0xf
60519 + *[0-9a-f]*: ed be 00 01 bld lr,0x1
60520 + *[0-9a-f]*: ed b9 00 0f bld r9,0xf
60521 + *[0-9a-f]*: ed b0 00 04 bld r0,0x4
60522 + *[0-9a-f]*: ed be 00 1a bld lr,0x1a
60523 +
60524 +[0-9a-f]* <bst>:
60525 + *[0-9a-f]*: ef bf 00 00 bst pc,0x0
60526 + *[0-9a-f]*: ef bc 00 1f bst r12,0x1f
60527 + *[0-9a-f]*: ef b5 00 10 bst r5,0x10
60528 + *[0-9a-f]*: ef b4 00 0f bst r4,0xf
60529 + *[0-9a-f]*: ef be 00 01 bst lr,0x1
60530 + *[0-9a-f]*: ef ba 00 1c bst r10,0x1c
60531 + *[0-9a-f]*: ef b0 00 03 bst r0,0x3
60532 + *[0-9a-f]*: ef bd 00 02 bst sp,0x2
60533 +
60534 +[0-9a-f]* <sats>:
60535 + *[0-9a-f]*: f1 bf 00 00 sats pc,0x0
60536 + *[0-9a-f]*: f1 bc 03 ff sats r12>>0x1f,0x1f
60537 + *[0-9a-f]*: f1 b5 02 10 sats r5>>0x10,0x10
60538 + *[0-9a-f]*: f1 b4 01 ef sats r4>>0xf,0xf
60539 + *[0-9a-f]*: f1 be 00 21 sats lr>>0x1,0x1
60540 + *[0-9a-f]*: f1 ba 02 63 sats r10>>0x3,0x13
60541 + *[0-9a-f]*: f1 ba 03 42 sats r10>>0x2,0x1a
60542 + *[0-9a-f]*: f1 b1 00 34 sats r1>>0x14,0x1
60543 +
60544 +[0-9a-f]* <satu>:
60545 + *[0-9a-f]*: f1 bf 04 00 satu pc,0x0
60546 + *[0-9a-f]*: f1 bc 07 ff satu r12>>0x1f,0x1f
60547 + *[0-9a-f]*: f1 b5 06 10 satu r5>>0x10,0x10
60548 + *[0-9a-f]*: f1 b4 05 ef satu r4>>0xf,0xf
60549 + *[0-9a-f]*: f1 be 04 21 satu lr>>0x1,0x1
60550 + *[0-9a-f]*: f1 bf 04 e5 satu pc>>0x5,0x7
60551 + *[0-9a-f]*: f1 b7 04 a5 satu r7>>0x5,0x5
60552 + *[0-9a-f]*: f1 b2 06 7a satu r2>>0x1a,0x13
60553 +
60554 +[0-9a-f]* <satrnds>:
60555 + *[0-9a-f]*: f3 bf 00 00 satrnds pc,0x0
60556 + *[0-9a-f]*: f3 bc 03 ff satrnds r12>>0x1f,0x1f
60557 + *[0-9a-f]*: f3 b5 02 10 satrnds r5>>0x10,0x10
60558 + *[0-9a-f]*: f3 b4 01 ef satrnds r4>>0xf,0xf
60559 + *[0-9a-f]*: f3 be 00 21 satrnds lr>>0x1,0x1
60560 + *[0-9a-f]*: f3 b0 02 75 satrnds r0>>0x15,0x13
60561 + *[0-9a-f]*: f3 bd 00 40 satrnds sp,0x2
60562 + *[0-9a-f]*: f3 b7 03 a6 satrnds r7>>0x6,0x1d
60563 +
60564 +[0-9a-f]* <satrndu>:
60565 + *[0-9a-f]*: f3 bf 04 00 satrndu pc,0x0
60566 + *[0-9a-f]*: f3 bc 07 ff satrndu r12>>0x1f,0x1f
60567 + *[0-9a-f]*: f3 b5 06 10 satrndu r5>>0x10,0x10
60568 + *[0-9a-f]*: f3 b4 05 ef satrndu r4>>0xf,0xf
60569 + *[0-9a-f]*: f3 be 04 21 satrndu lr>>0x1,0x1
60570 + *[0-9a-f]*: f3 bc 07 40 satrndu r12,0x1a
60571 + *[0-9a-f]*: f3 b4 04 75 satrndu r4>>0x15,0x3
60572 + *[0-9a-f]*: f3 ba 06 03 satrndu r10>>0x3,0x10
60573 +
60574 +[0-9a-f]* <subfc>:
60575 + *[0-9a-f]*: f5 bf 00 00 subfeq pc,0
60576 + *[0-9a-f]*: f5 bc 0f ff subfal r12,-1
60577 + *[0-9a-f]*: f5 b5 08 80 subfls r5,-128
60578 + *[0-9a-f]*: f5 b4 07 7f subfpl r4,127
60579 + *[0-9a-f]*: f5 be 01 01 subfne lr,1
60580 + *[0-9a-f]*: f5 ba 08 08 subfls r10,8
60581 + *[0-9a-f]*: f5 bb 0d 63 subfvc r11,99
60582 + *[0-9a-f]*: f5 b2 0c 49 subfvs r2,73
60583 +
60584 +[0-9a-f]* <subc>:
60585 + *[0-9a-f]*: f7 bf 00 00 subeq pc,0
60586 + *[0-9a-f]*: f7 bc 0f ff subal r12,-1
60587 + *[0-9a-f]*: f7 b5 08 80 subls r5,-128
60588 + *[0-9a-f]*: f7 b4 07 7f subpl r4,127
60589 + *[0-9a-f]*: f7 be 01 01 subne lr,1
60590 + *[0-9a-f]*: f7 bc 08 76 subls r12,118
60591 + *[0-9a-f]*: f7 be 0d f4 subvc lr,-12
60592 + *[0-9a-f]*: f7 b4 06 f3 submi r4,-13
60593 +
60594 +[0-9a-f]* <movc2>:
60595 + *[0-9a-f]*: f9 bf 00 00 moveq pc,0
60596 + *[0-9a-f]*: f9 bc 0f ff moval r12,-1
60597 + *[0-9a-f]*: f9 b5 08 80 movls r5,-128
60598 + *[0-9a-f]*: f9 b4 07 7f movpl r4,127
60599 + *[0-9a-f]*: f9 be 01 01 movne lr,1
60600 + *[0-9a-f]*: f9 b3 05 86 movlt r3,-122
60601 + *[0-9a-f]*: f9 b8 0d 02 movvc r8,2
60602 + *[0-9a-f]*: f9 b7 01 91 movne r7,-111
60603 +
60604 +[0-9a-f]* <cp_b>:
60605 + *[0-9a-f]*: e0 0f 18 00 cp\.b pc,r0
60606 + *[0-9a-f]*: fe 00 18 00 cp\.b r0,pc
60607 + *[0-9a-f]*: f0 07 18 00 cp\.b r7,r8
60608 + *[0-9a-f]*: ee 08 18 00 cp\.b r8,r7
60609 +
60610 +[0-9a-f]* <cp_h>:
60611 + *[0-9a-f]*: e0 0f 19 00 cp\.h pc,r0
60612 + *[0-9a-f]*: fe 00 19 00 cp\.h r0,pc
60613 + *[0-9a-f]*: f0 07 19 00 cp\.h r7,r8
60614 + *[0-9a-f]*: ee 08 19 00 cp\.h r8,r7
60615 +
60616 +[0-9a-f]* <ldm>:
60617 + *[0-9a-f]*: e1 cf 00 7e ldm pc,r1-r6
60618 + *[0-9a-f]*: e1 cc ff ff ldm r12,r0-pc
60619 + *[0-9a-f]*: e1 c5 80 00 ldm r5,pc
60620 + *[0-9a-f]*: e1 c4 7f ff ldm r4,r0-lr
60621 + *[0-9a-f]*: e1 ce 00 01 ldm lr,r0
60622 + *[0-9a-f]*: e1 c9 40 22 ldm r9,r1,r5,lr
60623 + *[0-9a-f]*: e1 cb 81 ec ldm r11,r2-r3,r5-r8,pc
60624 + *[0-9a-f]*: e1 c6 a2 09 ldm r6,r0,r3,r9,sp,pc
60625 +
60626 +[0-9a-f]* <ldm_pu>:
60627 + *[0-9a-f]*: e3 cf 03 c0 ldm pc\+\+,r6-r9
60628 + *[0-9a-f]*: e3 cc ff ff ldm r12\+\+,r0-pc
60629 + *[0-9a-f]*: e3 c5 80 00 ldm r5\+\+,pc
60630 + *[0-9a-f]*: e3 c4 7f ff ldm r4\+\+,r0-lr
60631 + *[0-9a-f]*: e3 ce 00 01 ldm lr\+\+,r0
60632 + *[0-9a-f]*: e3 cc d5 38 ldm r12\+\+,r3-r5,r8,r10,r12,lr-pc
60633 + *[0-9a-f]*: e3 ca c0 74 ldm r10\+\+,r2,r4-r6,lr-pc
60634 + *[0-9a-f]*: e3 c6 7e 1a ldm r6\+\+,r1,r3-r4,r9-lr
60635 +
60636 +[0-9a-f]* <ldmts>:
60637 + *[0-9a-f]*: e5 cf 01 80 ldmts pc,r7-r8
60638 + *[0-9a-f]*: e5 cc ff ff ldmts r12,r0-pc
60639 + *[0-9a-f]*: e5 c5 80 00 ldmts r5,pc
60640 + *[0-9a-f]*: e5 c4 7f ff ldmts r4,r0-lr
60641 + *[0-9a-f]*: e5 ce 00 01 ldmts lr,r0
60642 + *[0-9a-f]*: e5 c0 18 06 ldmts r0,r1-r2,r11-r12
60643 + *[0-9a-f]*: e5 ce 61 97 ldmts lr,r0-r2,r4,r7-r8,sp-lr
60644 + *[0-9a-f]*: e5 cc c2 3b ldmts r12,r0-r1,r3-r5,r9,lr-pc
60645 +
60646 +[0-9a-f]* <ldmts_pu>:
60647 + *[0-9a-f]*: e7 cf 02 00 ldmts pc\+\+,r9
60648 + *[0-9a-f]*: e7 cc ff ff ldmts r12\+\+,r0-pc
60649 + *[0-9a-f]*: e7 c5 80 00 ldmts r5\+\+,pc
60650 + *[0-9a-f]*: e7 c4 7f ff ldmts r4\+\+,r0-lr
60651 + *[0-9a-f]*: e7 ce 00 01 ldmts lr\+\+,r0
60652 + *[0-9a-f]*: e7 cd 0a bd ldmts sp\+\+,r0,r2-r5,r7,r9,r11
60653 + *[0-9a-f]*: e7 c5 0c 8e ldmts r5\+\+,r1-r3,r7,r10-r11
60654 + *[0-9a-f]*: e7 c8 a1 9c ldmts r8\+\+,r2-r4,r7-r8,sp,pc
60655 +
60656 +[0-9a-f]* <stm>:
60657 + *[0-9a-f]*: e9 cf 00 80 stm pc,r7
60658 + *[0-9a-f]*: e9 cc ff ff stm r12,r0-pc
60659 + *[0-9a-f]*: e9 c5 80 00 stm r5,pc
60660 + *[0-9a-f]*: e9 c4 7f ff stm r4,r0-lr
60661 + *[0-9a-f]*: e9 ce 00 01 stm lr,r0
60662 + *[0-9a-f]*: e9 cd 49 2c stm sp,r2-r3,r5,r8,r11,lr
60663 + *[0-9a-f]*: e9 c4 4c 5f stm r4,r0-r4,r6,r10-r11,lr
60664 + *[0-9a-f]*: e9 c9 f2 22 stm r9,r1,r5,r9,r12-pc
60665 +
60666 +[0-9a-f]* <stm_pu>:
60667 + *[0-9a-f]*: eb cf 00 70 stm --pc,r4-r6
60668 + *[0-9a-f]*: eb cc ff ff stm --r12,r0-pc
60669 + *[0-9a-f]*: eb c5 80 00 stm --r5,pc
60670 + *[0-9a-f]*: eb c4 7f ff stm --r4,r0-lr
60671 + *[0-9a-f]*: eb ce 00 01 stm --lr,r0
60672 + *[0-9a-f]*: eb cb fb f1 stm --r11,r0,r4-r9,r11-pc
60673 + *[0-9a-f]*: eb cb 56 09 stm --r11,r0,r3,r9-r10,r12,lr
60674 + *[0-9a-f]*: eb c6 63 04 stm --r6,r2,r8-r9,sp-lr
60675 +
60676 +[0-9a-f]* <stmts>:
60677 + *[0-9a-f]*: ed cf 01 00 stmts pc,r8
60678 + *[0-9a-f]*: ed cc ff ff stmts r12,r0-pc
60679 + *[0-9a-f]*: ed c5 80 00 stmts r5,pc
60680 + *[0-9a-f]*: ed c4 7f ff stmts r4,r0-lr
60681 + *[0-9a-f]*: ed ce 00 01 stmts lr,r0
60682 + *[0-9a-f]*: ed c1 c6 5b stmts r1,r0-r1,r3-r4,r6,r9-r10,lr-pc
60683 + *[0-9a-f]*: ed c3 1d c1 stmts r3,r0,r6-r8,r10-r12
60684 + *[0-9a-f]*: ed cb d6 d1 stmts r11,r0,r4,r6-r7,r9-r10,r12,lr-pc
60685 +
60686 +[0-9a-f]* <stmts_pu>:
60687 + *[0-9a-f]*: ef cf 01 c0 stmts --pc,r6-r8
60688 + *[0-9a-f]*: ef cc ff ff stmts --r12,r0-pc
60689 + *[0-9a-f]*: ef c5 80 00 stmts --r5,pc
60690 + *[0-9a-f]*: ef c4 7f ff stmts --r4,r0-lr
60691 + *[0-9a-f]*: ef ce 00 01 stmts --lr,r0
60692 + *[0-9a-f]*: ef c2 36 19 stmts --r2,r0,r3-r4,r9-r10,r12-sp
60693 + *[0-9a-f]*: ef c3 c0 03 stmts --r3,r0-r1,lr-pc
60694 + *[0-9a-f]*: ef c0 44 7d stmts --r0,r0,r2-r6,r10,lr
60695 +
60696 +[0-9a-f]* <ldins_h>:
60697 + *[0-9a-f]*: ff df 00 00 ldins\.h pc:b,pc\[0\]
60698 + *[0-9a-f]*: f9 dc 1f ff ldins\.h r12:t,r12\[-2\]
60699 + *[0-9a-f]*: eb d5 18 00 ldins\.h r5:t,r5\[-4096\]
60700 + *[0-9a-f]*: e9 d4 07 ff ldins\.h r4:b,r4\[4094\]
60701 + *[0-9a-f]*: fd de 10 01 ldins\.h lr:t,lr\[2\]
60702 + *[0-9a-f]*: fd d0 13 c5 ldins\.h r0:t,lr\[1930\]
60703 + *[0-9a-f]*: ef d3 0e f5 ldins\.h r3:b,r7\[-534\]
60704 + *[0-9a-f]*: f9 d2 0b 9a ldins\.h r2:b,r12\[-2252\]
60705 +
60706 +[0-9a-f]* <ldins_b>:
60707 + *[0-9a-f]*: ff df 40 00 ldins\.b pc:b,pc\[0\]
60708 + *[0-9a-f]*: f9 dc 7f ff ldins\.b r12:t,r12\[-1\]
60709 + *[0-9a-f]*: eb d5 68 00 ldins\.b r5:u,r5\[-2048\]
60710 + *[0-9a-f]*: e9 d4 57 ff ldins\.b r4:l,r4\[2047\]
60711 + *[0-9a-f]*: fd de 50 01 ldins\.b lr:l,lr\[1\]
60712 + *[0-9a-f]*: e9 d6 7d 6a ldins\.b r6:t,r4\[-662\]
60713 + *[0-9a-f]*: e3 d5 4f 69 ldins\.b r5:b,r1\[-151\]
60714 + *[0-9a-f]*: f7 da 78 7d ldins\.b r10:t,r11\[-1923\]
60715 +
60716 +[0-9a-f]* <ldswp_sh>:
60717 + *[0-9a-f]*: ff df 20 00 ldswp\.sh pc,pc\[0\]
60718 + *[0-9a-f]*: f9 dc 2f ff ldswp\.sh r12,r12\[-2\]
60719 + *[0-9a-f]*: eb d5 28 00 ldswp\.sh r5,r5\[-4096\]
60720 + *[0-9a-f]*: e9 d4 27 ff ldswp\.sh r4,r4\[4094\]
60721 + *[0-9a-f]*: fd de 20 01 ldswp\.sh lr,lr\[2\]
60722 + *[0-9a-f]*: f5 d9 27 84 ldswp\.sh r9,r10\[3848\]
60723 + *[0-9a-f]*: f9 d4 2c 04 ldswp\.sh r4,r12\[-2040\]
60724 + *[0-9a-f]*: e5 da 26 08 ldswp\.sh r10,r2\[3088\]
60725 +
60726 +[0-9a-f]* <ldswp_uh>:
60727 + *[0-9a-f]*: ff df 30 00 ldswp\.uh pc,pc\[0\]
60728 + *[0-9a-f]*: f9 dc 3f ff ldswp\.uh r12,r12\[-2\]
60729 + *[0-9a-f]*: eb d5 38 00 ldswp\.uh r5,r5\[-4096\]
60730 + *[0-9a-f]*: e9 d4 37 ff ldswp\.uh r4,r4\[4094\]
60731 + *[0-9a-f]*: fd de 30 01 ldswp\.uh lr,lr\[2\]
60732 + *[0-9a-f]*: f3 d4 37 46 ldswp\.uh r4,r9\[3724\]
60733 + *[0-9a-f]*: fb de 3c bc ldswp\.uh lr,sp\[-1672\]
60734 + *[0-9a-f]*: f9 d8 38 7d ldswp\.uh r8,r12\[-3846\]
60735 +
60736 +[0-9a-f]* <ldswp_w>:
60737 + *[0-9a-f]*: ff df 80 00 ldswp\.w pc,pc\[0\]
60738 + *[0-9a-f]*: f9 dc 8f ff ldswp\.w r12,r12\[-4\]
60739 + *[0-9a-f]*: eb d5 88 00 ldswp\.w r5,r5\[-8192\]
60740 + *[0-9a-f]*: e9 d4 87 ff ldswp\.w r4,r4\[8188\]
60741 + *[0-9a-f]*: fd de 80 01 ldswp\.w lr,lr\[4\]
60742 + *[0-9a-f]*: ef dd 81 d1 ldswp\.w sp,r7\[1860\]
60743 + *[0-9a-f]*: eb df 8c c1 ldswp\.w pc,r5\[-3324\]
60744 + *[0-9a-f]*: f5 dc 8c c8 ldswp\.w r12,r10\[-3296\]
60745 +
60746 +[0-9a-f]* <stswp_h>:
60747 + *[0-9a-f]*: ff df 90 00 stswp\.h pc\[0\],pc
60748 + *[0-9a-f]*: f9 dc 9f ff stswp\.h r12\[-2\],r12
60749 + *[0-9a-f]*: eb d5 98 00 stswp\.h r5\[-4096\],r5
60750 + *[0-9a-f]*: e9 d4 97 ff stswp\.h r4\[4094\],r4
60751 + *[0-9a-f]*: fd de 90 01 stswp\.h lr\[2\],lr
60752 + *[0-9a-f]*: ef da 90 20 stswp\.h r7\[64\],r10
60753 + *[0-9a-f]*: f5 d2 95 e8 stswp\.h r10\[3024\],r2
60754 + *[0-9a-f]*: e1 da 9b 74 stswp\.h r0\[-2328\],r10
60755 +
60756 +[0-9a-f]* <stswp_w>:
60757 + *[0-9a-f]*: ff df a0 00 stswp\.w pc\[0\],pc
60758 + *[0-9a-f]*: f9 dc af ff stswp\.w r12\[-4\],r12
60759 + *[0-9a-f]*: eb d5 a8 00 stswp\.w r5\[-8192\],r5
60760 + *[0-9a-f]*: e9 d4 a7 ff stswp\.w r4\[8188\],r4
60761 + *[0-9a-f]*: fd de a0 01 stswp\.w lr\[4\],lr
60762 + *[0-9a-f]*: ff d8 a1 21 stswp\.w pc\[1156\],r8
60763 + *[0-9a-f]*: fb da a7 ce stswp\.w sp\[7992\],r10
60764 + *[0-9a-f]*: f1 d5 ae db stswp\.w r8\[-1172\],r5
60765 +
60766 +[0-9a-f]* <and2>:
60767 + *[0-9a-f]*: ff ef 00 0f and pc,pc,pc
60768 + *[0-9a-f]*: f9 ec 01 fc and r12,r12,r12<<0x1f
60769 + *[0-9a-f]*: eb e5 01 05 and r5,r5,r5<<0x10
60770 + *[0-9a-f]*: e9 e4 00 f4 and r4,r4,r4<<0xf
60771 + *[0-9a-f]*: fd ee 00 1e and lr,lr,lr<<0x1
60772 + *[0-9a-f]*: e5 e1 00 1a and r10,r2,r1<<0x1
60773 + *[0-9a-f]*: f1 eb 01 bc and r12,r8,r11<<0x1b
60774 + *[0-9a-f]*: ef e0 00 3a and r10,r7,r0<<0x3
60775 +
60776 +[0-9a-f]* <and3>:
60777 + *[0-9a-f]*: ff ef 02 0f and pc,pc,pc
60778 + *[0-9a-f]*: f9 ec 03 fc and r12,r12,r12>>0x1f
60779 + *[0-9a-f]*: eb e5 03 05 and r5,r5,r5>>0x10
60780 + *[0-9a-f]*: e9 e4 02 f4 and r4,r4,r4>>0xf
60781 + *[0-9a-f]*: fd ee 02 1e and lr,lr,lr>>0x1
60782 + *[0-9a-f]*: f1 e7 03 1c and r12,r8,r7>>0x11
60783 + *[0-9a-f]*: e9 e9 03 4f and pc,r4,r9>>0x14
60784 + *[0-9a-f]*: f3 ea 02 ca and r10,r9,r10>>0xc
60785 +
60786 +[0-9a-f]* <or2>:
60787 + *[0-9a-f]*: ff ef 10 0f or pc,pc,pc
60788 + *[0-9a-f]*: f9 ec 11 fc or r12,r12,r12<<0x1f
60789 + *[0-9a-f]*: eb e5 11 05 or r5,r5,r5<<0x10
60790 + *[0-9a-f]*: e9 e4 10 f4 or r4,r4,r4<<0xf
60791 + *[0-9a-f]*: fd ee 10 1e or lr,lr,lr<<0x1
60792 + *[0-9a-f]*: fb eb 11 d8 or r8,sp,r11<<0x1d
60793 + *[0-9a-f]*: f3 e2 11 cf or pc,r9,r2<<0x1c
60794 + *[0-9a-f]*: e3 e2 10 35 or r5,r1,r2<<0x3
60795 +
60796 +[0-9a-f]* <or3>:
60797 + *[0-9a-f]*: ff ef 12 0f or pc,pc,pc
60798 + *[0-9a-f]*: f9 ec 13 fc or r12,r12,r12>>0x1f
60799 + *[0-9a-f]*: eb e5 13 05 or r5,r5,r5>>0x10
60800 + *[0-9a-f]*: e9 e4 12 f4 or r4,r4,r4>>0xf
60801 + *[0-9a-f]*: fd ee 12 1e or lr,lr,lr>>0x1
60802 + *[0-9a-f]*: fb ed 12 21 or r1,sp,sp>>0x2
60803 + *[0-9a-f]*: e3 e1 13 d0 or r0,r1,r1>>0x1d
60804 + *[0-9a-f]*: f9 e8 12 84 or r4,r12,r8>>0x8
60805 +
60806 +[0-9a-f]* <eor2>:
60807 + *[0-9a-f]*: ff ef 20 0f eor pc,pc,pc
60808 + *[0-9a-f]*: f9 ec 21 fc eor r12,r12,r12<<0x1f
60809 + *[0-9a-f]*: eb e5 21 05 eor r5,r5,r5<<0x10
60810 + *[0-9a-f]*: e9 e4 20 f4 eor r4,r4,r4<<0xf
60811 + *[0-9a-f]*: fd ee 20 1e eor lr,lr,lr<<0x1
60812 + *[0-9a-f]*: f3 e4 20 ba eor r10,r9,r4<<0xb
60813 + *[0-9a-f]*: e1 e1 21 f4 eor r4,r0,r1<<0x1f
60814 + *[0-9a-f]*: e5 ec 20 d6 eor r6,r2,r12<<0xd
60815 +
60816 +[0-9a-f]* <eor3>:
60817 + *[0-9a-f]*: ff ef 22 0f eor pc,pc,pc
60818 + *[0-9a-f]*: f9 ec 23 fc eor r12,r12,r12>>0x1f
60819 + *[0-9a-f]*: eb e5 23 05 eor r5,r5,r5>>0x10
60820 + *[0-9a-f]*: e9 e4 22 f4 eor r4,r4,r4>>0xf
60821 + *[0-9a-f]*: fd ee 22 1e eor lr,lr,lr>>0x1
60822 + *[0-9a-f]*: eb e5 23 65 eor r5,r5,r5>>0x16
60823 + *[0-9a-f]*: e3 ee 22 3a eor r10,r1,lr>>0x3
60824 + *[0-9a-f]*: fd ed 23 a7 eor r7,lr,sp>>0x1a
60825 +
60826 +[0-9a-f]* <sthh_w2>:
60827 + *[0-9a-f]*: ff ef 8f 0f sthh\.w pc\[pc\],pc:b,pc:b
60828 + *[0-9a-f]*: f9 ec bc 3c sthh\.w r12\[r12<<0x3\],r12:t,r12:t
60829 + *[0-9a-f]*: eb e5 b5 25 sthh\.w r5\[r5<<0x2\],r5:t,r5:t
60830 + *[0-9a-f]*: e9 e4 84 14 sthh\.w r4\[r4<<0x1\],r4:b,r4:b
60831 + *[0-9a-f]*: fd ee be 1e sthh\.w lr\[lr<<0x1\],lr:t,lr:t
60832 + *[0-9a-f]*: e3 ec b6 3d sthh\.w sp\[r6<<0x3\],r1:t,r12:t
60833 + *[0-9a-f]*: f3 e9 b6 06 sthh\.w r6\[r6\],r9:t,r9:t
60834 + *[0-9a-f]*: e1 eb 93 0a sthh\.w r10\[r3\],r0:b,r11:t
60835 +
60836 +[0-9a-f]* <sthh_w1>:
60837 + *[0-9a-f]*: ff ef c0 0f sthh\.w pc\[0x0\],pc:b,pc:b
60838 + *[0-9a-f]*: f9 ec ff fc sthh\.w r12\[0x3fc\],r12:t,r12:t
60839 + *[0-9a-f]*: eb e5 f8 05 sthh\.w r5\[0x200\],r5:t,r5:t
60840 + *[0-9a-f]*: e9 e4 c7 f4 sthh\.w r4\[0x1fc\],r4:b,r4:b
60841 + *[0-9a-f]*: fd ee f0 1e sthh\.w lr\[0x4\],lr:t,lr:t
60842 + *[0-9a-f]*: f3 e0 e6 54 sthh\.w r4\[0x194\],r9:t,r0:b
60843 + *[0-9a-f]*: e5 ea e5 78 sthh\.w r8\[0x15c\],r2:t,r10:b
60844 + *[0-9a-f]*: f3 e2 c2 bd sthh\.w sp\[0xac\],r9:b,r2:b
60845 +
60846 +[0-9a-f]* <cop>:
60847 + *[0-9a-f]*: e1 a0 00 00 cop cp0,cr0,cr0,cr0,0x0
60848 + *[0-9a-f]*: e7 af ff ff cop cp7,cr15,cr15,cr15,0x7f
60849 + *[0-9a-f]*: e3 a8 75 55 cop cp3,cr5,cr5,cr5,0x31
60850 + *[0-9a-f]*: e3 a8 44 44 cop cp2,cr4,cr4,cr4,0x30
60851 + *[0-9a-f]*: e5 ad a8 37 cop cp5,cr8,cr3,cr7,0x5a
60852 +
60853 +[0-9a-f]* <ldc_w1>:
60854 + *[0-9a-f]*: e9 a0 00 00 ldc\.w cp0,cr0,r0\[0x0\]
60855 + *[0-9a-f]*: e9 af ef ff ldc\.w cp7,cr15,pc\[0x3fc\]
60856 + *[0-9a-f]*: e9 a5 65 80 ldc\.w cp3,cr5,r5\[0x200\]
60857 + *[0-9a-f]*: e9 a4 44 7f ldc\.w cp2,cr4,r4\[0x1fc\]
60858 + *[0-9a-f]*: e9 ad 89 24 ldc\.w cp4,cr9,sp\[0x90\]
60859 +
60860 +[0-9a-f]* <ldc_w2>:
60861 + *[0-9a-f]*: ef a0 00 40 ldc\.w cp0,cr0,--r0
60862 + *[0-9a-f]*: ef af ef 40 ldc\.w cp7,cr15,--pc
60863 + *[0-9a-f]*: ef a5 65 40 ldc\.w cp3,cr5,--r5
60864 + *[0-9a-f]*: ef a4 44 40 ldc\.w cp2,cr4,--r4
60865 + *[0-9a-f]*: ef ad 89 40 ldc\.w cp4,cr9,--sp
60866 +
60867 +[0-9a-f]* <ldc_w3>:
60868 + *[0-9a-f]*: ef a0 10 00 ldc\.w cp0,cr0,r0\[r0\]
60869 + *[0-9a-f]*: ef af ff 3f ldc\.w cp7,cr15,pc\[pc<<0x3\]
60870 + *[0-9a-f]*: ef a5 75 24 ldc\.w cp3,cr5,r5\[r4<<0x2\]
60871 + *[0-9a-f]*: ef a4 54 13 ldc\.w cp2,cr4,r4\[r3<<0x1\]
60872 + *[0-9a-f]*: ef ad 99 0c ldc\.w cp4,cr9,sp\[r12\]
60873 +
60874 +[0-9a-f]* <ldc_d1>:
60875 + *[0-9a-f]*: e9 a0 10 00 ldc\.d cp0,cr0,r0\[0x0\]
60876 + *[0-9a-f]*: e9 af fe ff ldc\.d cp7,cr14,pc\[0x3fc\]
60877 + *[0-9a-f]*: e9 a5 76 80 ldc\.d cp3,cr6,r5\[0x200\]
60878 + *[0-9a-f]*: e9 a4 54 7f ldc\.d cp2,cr4,r4\[0x1fc\]
60879 + *[0-9a-f]*: e9 ad 98 24 ldc\.d cp4,cr8,sp\[0x90\]
60880 +
60881 +[0-9a-f]* <ldc_d2>:
60882 + *[0-9a-f]*: ef a0 00 50 ldc\.d cp0,cr0,--r0
60883 + *[0-9a-f]*: ef af ee 50 ldc\.d cp7,cr14,--pc
60884 + *[0-9a-f]*: ef a5 66 50 ldc\.d cp3,cr6,--r5
60885 + *[0-9a-f]*: ef a4 44 50 ldc\.d cp2,cr4,--r4
60886 + *[0-9a-f]*: ef ad 88 50 ldc\.d cp4,cr8,--sp
60887 +
60888 +[0-9a-f]* <ldc_d3>:
60889 + *[0-9a-f]*: ef a0 10 40 ldc\.d cp0,cr0,r0\[r0\]
60890 + *[0-9a-f]*: ef af fe 7f ldc\.d cp7,cr14,pc\[pc<<0x3\]
60891 + *[0-9a-f]*: ef a5 76 64 ldc\.d cp3,cr6,r5\[r4<<0x2\]
60892 + *[0-9a-f]*: ef a4 54 53 ldc\.d cp2,cr4,r4\[r3<<0x1\]
60893 + *[0-9a-f]*: ef ad 98 4c ldc\.d cp4,cr8,sp\[r12\]
60894 +
60895 +[0-9a-f]* <stc_w1>:
60896 + *[0-9a-f]*: eb a0 00 00 stc\.w cp0,r0\[0x0\],cr0
60897 + *[0-9a-f]*: eb af ef ff stc\.w cp7,pc\[0x3fc\],cr15
60898 + *[0-9a-f]*: eb a5 65 80 stc\.w cp3,r5\[0x200\],cr5
60899 + *[0-9a-f]*: eb a4 44 7f stc\.w cp2,r4\[0x1fc\],cr4
60900 + *[0-9a-f]*: eb ad 89 24 stc\.w cp4,sp\[0x90\],cr9
60901 +
60902 +[0-9a-f]* <stc_w2>:
60903 + *[0-9a-f]*: ef a0 00 60 stc\.w cp0,r0\+\+,cr0
60904 + *[0-9a-f]*: ef af ef 60 stc\.w cp7,pc\+\+,cr15
60905 + *[0-9a-f]*: ef a5 65 60 stc\.w cp3,r5\+\+,cr5
60906 + *[0-9a-f]*: ef a4 44 60 stc\.w cp2,r4\+\+,cr4
60907 + *[0-9a-f]*: ef ad 89 60 stc\.w cp4,sp\+\+,cr9
60908 +
60909 +[0-9a-f]* <stc_w3>:
60910 + *[0-9a-f]*: ef a0 10 80 stc\.w cp0,r0\[r0\],cr0
60911 + *[0-9a-f]*: ef af ff bf stc\.w cp7,pc\[pc<<0x3\],cr15
60912 + *[0-9a-f]*: ef a5 75 a4 stc\.w cp3,r5\[r4<<0x2\],cr5
60913 + *[0-9a-f]*: ef a4 54 93 stc\.w cp2,r4\[r3<<0x1\],cr4
60914 + *[0-9a-f]*: ef ad 99 8c stc\.w cp4,sp\[r12\],cr9
60915 +
60916 +[0-9a-f]* <stc_d1>:
60917 + *[0-9a-f]*: eb a0 10 00 stc\.d cp0,r0\[0x0\],cr0
60918 + *[0-9a-f]*: eb af fe ff stc\.d cp7,pc\[0x3fc\],cr14
60919 + *[0-9a-f]*: eb a5 76 80 stc\.d cp3,r5\[0x200\],cr6
60920 + *[0-9a-f]*: eb a4 54 7f stc\.d cp2,r4\[0x1fc\],cr4
60921 + *[0-9a-f]*: eb ad 98 24 stc\.d cp4,sp\[0x90\],cr8
60922 +
60923 +[0-9a-f]* <stc_d2>:
60924 + *[0-9a-f]*: ef a0 00 70 stc\.d cp0,r0\+\+,cr0
60925 + *[0-9a-f]*: ef af ee 70 stc\.d cp7,pc\+\+,cr14
60926 + *[0-9a-f]*: ef a5 66 70 stc\.d cp3,r5\+\+,cr6
60927 + *[0-9a-f]*: ef a4 44 70 stc\.d cp2,r4\+\+,cr4
60928 + *[0-9a-f]*: ef ad 88 70 stc\.d cp4,sp\+\+,cr8
60929 +
60930 +[0-9a-f]* <stc_d3>:
60931 + *[0-9a-f]*: ef a0 10 c0 stc\.d cp0,r0\[r0\],cr0
60932 + *[0-9a-f]*: ef af fe ff stc\.d cp7,pc\[pc<<0x3\],cr14
60933 + *[0-9a-f]*: ef a5 76 e4 stc\.d cp3,r5\[r4<<0x2\],cr6
60934 + *[0-9a-f]*: ef a4 54 d3 stc\.d cp2,r4\[r3<<0x1\],cr4
60935 + *[0-9a-f]*: ef ad 98 cc stc\.d cp4,sp\[r12\],cr8
60936 +
60937 +[0-9a-f]* <ldc0_w>:
60938 + *[0-9a-f]*: f1 a0 00 00 ldc0\.w cr0,r0\[0x0\]
60939 + *[0-9a-f]*: f1 af ff ff ldc0\.w cr15,pc\[0x3ffc\]
60940 + *[0-9a-f]*: f1 a5 85 00 ldc0\.w cr5,r5\[0x2000\]
60941 + *[0-9a-f]*: f1 a4 74 ff ldc0\.w cr4,r4\[0x1ffc\]
60942 + *[0-9a-f]*: f1 ad 09 93 ldc0\.w cr9,sp\[0x24c\]
60943 +
60944 +[0-9a-f]* <ldc0_d>:
60945 + *[0-9a-f]*: f3 a0 00 00 ldc0\.d cr0,r0\[0x0\]
60946 + *[0-9a-f]*: f3 af fe ff ldc0\.d cr14,pc\[0x3ffc\]
60947 + *[0-9a-f]*: f3 a5 86 00 ldc0\.d cr6,r5\[0x2000\]
60948 + *[0-9a-f]*: f3 a4 74 ff ldc0\.d cr4,r4\[0x1ffc\]
60949 + *[0-9a-f]*: f3 ad 08 93 ldc0\.d cr8,sp\[0x24c\]
60950 +
60951 +[0-9a-f]* <stc0_w>:
60952 + *[0-9a-f]*: f5 a0 00 00 stc0\.w r0\[0x0\],cr0
60953 + *[0-9a-f]*: f5 af ff ff stc0\.w pc\[0x3ffc\],cr15
60954 + *[0-9a-f]*: f5 a5 85 00 stc0\.w r5\[0x2000\],cr5
60955 + *[0-9a-f]*: f5 a4 74 ff stc0\.w r4\[0x1ffc\],cr4
60956 + *[0-9a-f]*: f5 ad 09 93 stc0\.w sp\[0x24c\],cr9
60957 +
60958 +[0-9a-f]* <stc0_d>:
60959 + *[0-9a-f]*: f7 a0 00 00 stc0\.d r0\[0x0\],cr0
60960 + *[0-9a-f]*: f7 af fe ff stc0\.d pc\[0x3ffc\],cr14
60961 + *[0-9a-f]*: f7 a5 86 00 stc0\.d r5\[0x2000\],cr6
60962 + *[0-9a-f]*: f7 a4 74 ff stc0\.d r4\[0x1ffc\],cr4
60963 + *[0-9a-f]*: f7 ad 08 93 stc0\.d sp\[0x24c\],cr8
60964 +
60965 +[0-9a-f]* <memc>:
60966 + *[0-9a-f]*: f6 10 00 00 memc 0,0x0
60967 + *[0-9a-f]*: f6 1f ff ff memc -4,0x1f
60968 + *[0-9a-f]*: f6 18 40 00 memc -65536,0x10
60969 + *[0-9a-f]*: f6 17 bf ff memc 65532,0xf
60970 +
60971 +[0-9a-f]* <mems>:
60972 + *[0-9a-f]*: f8 10 00 00 mems 0,0x0
60973 + *[0-9a-f]*: f8 1f ff ff mems -4,0x1f
60974 + *[0-9a-f]*: f8 18 40 00 mems -65536,0x10
60975 + *[0-9a-f]*: f8 17 bf ff mems 65532,0xf
60976 +
60977 +[0-9a-f]* <memt>:
60978 + *[0-9a-f]*: fa 10 00 00 memt 0,0x0
60979 + *[0-9a-f]*: fa 1f ff ff memt -4,0x1f
60980 + *[0-9a-f]*: fa 18 40 00 memt -65536,0x10
60981 + *[0-9a-f]*: fa 17 bf ff memt 65532,0xf
60982 +
60983 +[0-9a-f]* <stcond>:
60984 + *[0-9a-f]*: e1 70 00 00 stcond r0\[0\],r0
60985 + *[0-9a-f]*: ff 7f ff ff stcond pc\[-1\],pc
60986 + *[0-9a-f]*: f1 77 80 00 stcond r8\[-32768\],r7
60987 + *[0-9a-f]*: ef 78 7f ff stcond r7\[32767\],r8
60988 + *[0-9a-f]*: eb 7a 12 34 stcond r5\[4660\],r10
60989 +
60990 +[0-9a-f]* <ldcm_w>:
60991 + *[0-9a-f]*: ed af 00 ff ldcm\.w cp0,pc,cr0-cr7
60992 + *[0-9a-f]*: ed a0 e0 01 ldcm\.w cp7,r0,cr0
60993 + *[0-9a-f]*: ed a4 90 7f ldcm\.w cp4,r4\+\+,cr0-cr6
60994 + *[0-9a-f]*: ed a7 60 80 ldcm\.w cp3,r7,cr7
60995 + *[0-9a-f]*: ed ac 30 72 ldcm\.w cp1,r12\+\+,cr1,cr4-cr6
60996 + *[0-9a-f]*: ed af 01 ff ldcm\.w cp0,pc,cr8-cr15
60997 + *[0-9a-f]*: ed a0 e1 01 ldcm\.w cp7,r0,cr8
60998 + *[0-9a-f]*: ed a4 91 7f ldcm\.w cp4,r4\+\+,cr8-cr14
60999 + *[0-9a-f]*: ed a7 61 80 ldcm\.w cp3,r7,cr15
61000 + *[0-9a-f]*: ed ac 31 72 ldcm\.w cp1,r12\+\+,cr9,cr12-cr14
61001 +
61002 +[0-9a-f]* <ldcm_d>:
61003 + *[0-9a-f]*: ed af 04 ff ldcm\.d cp0,pc,cr0-cr15
61004 + *[0-9a-f]*: ed a0 e4 01 ldcm\.d cp7,r0,cr0-cr1
61005 + *[0-9a-f]*: ed a4 94 7f ldcm\.d cp4,r4\+\+,cr0-cr13
61006 + *[0-9a-f]*: ed a7 64 80 ldcm\.d cp3,r7,cr14-cr15
61007 + *[0-9a-f]*: ed ac 54 93 ldcm\.d cp2,r12\+\+,cr0-cr3,cr8-cr9,cr14-cr15
61008 +
61009 +[0-9a-f]* <stcm_w>:
61010 + *[0-9a-f]*: ed af 02 ff stcm\.w cp0,pc,cr0-cr7
61011 + *[0-9a-f]*: ed a0 e2 01 stcm\.w cp7,r0,cr0
61012 + *[0-9a-f]*: ed a4 92 7f stcm\.w cp4,--r4,cr0-cr6
61013 + *[0-9a-f]*: ed a7 62 80 stcm\.w cp3,r7,cr7
61014 + *[0-9a-f]*: ed ac 32 72 stcm\.w cp1,--r12,cr1,cr4-cr6
61015 + *[0-9a-f]*: ed af 03 ff stcm\.w cp0,pc,cr8-cr15
61016 + *[0-9a-f]*: ed a0 e3 01 stcm\.w cp7,r0,cr8
61017 + *[0-9a-f]*: ed a4 93 7f stcm\.w cp4,--r4,cr8-cr14
61018 + *[0-9a-f]*: ed a7 63 80 stcm\.w cp3,r7,cr15
61019 + *[0-9a-f]*: ed ac 33 72 stcm\.w cp1,--r12,cr9,cr12-cr14
61020 +
61021 +[0-9a-f]* <stcm_d>:
61022 + *[0-9a-f]*: ed af 05 ff stcm\.d cp0,pc,cr0-cr15
61023 + *[0-9a-f]*: ed a0 e5 01 stcm\.d cp7,r0,cr0-cr1
61024 + *[0-9a-f]*: ed a4 95 7f stcm\.d cp4,--r4,cr0-cr13
61025 + *[0-9a-f]*: ed a7 65 80 stcm\.d cp3,r7,cr14-cr15
61026 + *[0-9a-f]*: ed ac 55 93 stcm\.d cp2,--r12,cr0-cr3,cr8-cr9,cr14-cr15
61027 +
61028 +[0-9a-f]* <mvcr_w>:
61029 + *[0-9a-f]*: ef af ef 00 mvcr\.w cp7,pc,cr15
61030 + *[0-9a-f]*: ef a0 00 00 mvcr\.w cp0,r0,cr0
61031 + *[0-9a-f]*: ef af 0f 00 mvcr\.w cp0,pc,cr15
61032 + *[0-9a-f]*: ef a0 ef 00 mvcr\.w cp7,r0,cr15
61033 + *[0-9a-f]*: ef af e0 00 mvcr\.w cp7,pc,cr0
61034 + *[0-9a-f]*: ef a7 88 00 mvcr\.w cp4,r7,cr8
61035 + *[0-9a-f]*: ef a8 67 00 mvcr\.w cp3,r8,cr7
61036 +
61037 +[0-9a-f]* <mvcr_d>:
61038 + *[0-9a-f]*: ef ae ee 10 mvcr\.d cp7,lr,cr14
61039 + *[0-9a-f]*: ef a0 00 10 mvcr\.d cp0,r0,cr0
61040 + *[0-9a-f]*: ef ae 0e 10 mvcr\.d cp0,lr,cr14
61041 + *[0-9a-f]*: ef a0 ee 10 mvcr\.d cp7,r0,cr14
61042 + *[0-9a-f]*: ef ae e0 10 mvcr\.d cp7,lr,cr0
61043 + *[0-9a-f]*: ef a6 88 10 mvcr\.d cp4,r6,cr8
61044 + *[0-9a-f]*: ef a8 66 10 mvcr\.d cp3,r8,cr6
61045 +
61046 +[0-9a-f]* <mvrc_w>:
61047 + *[0-9a-f]*: ef af ef 20 mvrc\.w cp7,cr15,pc
61048 + *[0-9a-f]*: ef a0 00 20 mvrc\.w cp0,cr0,r0
61049 + *[0-9a-f]*: ef af 0f 20 mvrc\.w cp0,cr15,pc
61050 + *[0-9a-f]*: ef a0 ef 20 mvrc\.w cp7,cr15,r0
61051 + *[0-9a-f]*: ef af e0 20 mvrc\.w cp7,cr0,pc
61052 + *[0-9a-f]*: ef a7 88 20 mvrc\.w cp4,cr8,r7
61053 + *[0-9a-f]*: ef a8 67 20 mvrc\.w cp3,cr7,r8
61054 +
61055 +[0-9a-f]* <mvrc_d>:
61056 + *[0-9a-f]*: ef ae ee 30 mvrc\.d cp7,cr14,lr
61057 + *[0-9a-f]*: ef a0 00 30 mvrc\.d cp0,cr0,r0
61058 + *[0-9a-f]*: ef ae 0e 30 mvrc\.d cp0,cr14,lr
61059 + *[0-9a-f]*: ef a0 ee 30 mvrc\.d cp7,cr14,r0
61060 + *[0-9a-f]*: ef ae e0 30 mvrc\.d cp7,cr0,lr
61061 + *[0-9a-f]*: ef a6 88 30 mvrc\.d cp4,cr8,r6
61062 + *[0-9a-f]*: ef a8 66 30 mvrc\.d cp3,cr6,r8
61063 +
61064 +[0-9a-f]* <bfexts>:
61065 + *[0-9a-f]*: ff df b3 ff bfexts pc,pc,0x1f,0x1f
61066 + *[0-9a-f]*: e1 d0 b0 00 bfexts r0,r0,0x0,0x0
61067 + *[0-9a-f]*: e1 df b3 ff bfexts r0,pc,0x1f,0x1f
61068 + *[0-9a-f]*: ff d0 b3 ff bfexts pc,r0,0x1f,0x1f
61069 + *[0-9a-f]*: ff df b0 1f bfexts pc,pc,0x0,0x1f
61070 + *[0-9a-f]*: ff df b3 e0 bfexts pc,pc,0x1f,0x0
61071 + *[0-9a-f]*: ef d8 b1 f0 bfexts r7,r8,0xf,0x10
61072 + *[0-9a-f]*: f1 d7 b2 0f bfexts r8,r7,0x10,0xf
61073 +
61074 +[0-9a-f]* <bfextu>:
61075 + *[0-9a-f]*: ff df c3 ff bfextu pc,pc,0x1f,0x1f
61076 + *[0-9a-f]*: e1 d0 c0 00 bfextu r0,r0,0x0,0x0
61077 + *[0-9a-f]*: e1 df c3 ff bfextu r0,pc,0x1f,0x1f
61078 + *[0-9a-f]*: ff d0 c3 ff bfextu pc,r0,0x1f,0x1f
61079 + *[0-9a-f]*: ff df c0 1f bfextu pc,pc,0x0,0x1f
61080 + *[0-9a-f]*: ff df c3 e0 bfextu pc,pc,0x1f,0x0
61081 + *[0-9a-f]*: ef d8 c1 f0 bfextu r7,r8,0xf,0x10
61082 + *[0-9a-f]*: f1 d7 c2 0f bfextu r8,r7,0x10,0xf
61083 +
61084 +[0-9a-f]* <bfins>:
61085 + *[0-9a-f]*: ff df d3 ff bfins pc,pc,0x1f,0x1f
61086 + *[0-9a-f]*: e1 d0 d0 00 bfins r0,r0,0x0,0x0
61087 + *[0-9a-f]*: e1 df d3 ff bfins r0,pc,0x1f,0x1f
61088 + *[0-9a-f]*: ff d0 d3 ff bfins pc,r0,0x1f,0x1f
61089 + *[0-9a-f]*: ff df d0 1f bfins pc,pc,0x0,0x1f
61090 + *[0-9a-f]*: ff df d3 e0 bfins pc,pc,0x1f,0x0
61091 + *[0-9a-f]*: ef d8 d1 f0 bfins r7,r8,0xf,0x10
61092 + *[0-9a-f]*: f1 d7 d2 0f bfins r8,r7,0x10,0xf
61093 diff -Nrup binutils-2.17/gas/testsuite/gas/avr32/allinsn.exp binutils-2.17-atmel/gas/testsuite/gas/avr32/allinsn.exp
61094 --- binutils-2.17/gas/testsuite/gas/avr32/allinsn.exp 1970-01-01 01:00:00.000000000 +0100
61095 +++ binutils-2.17-atmel/gas/testsuite/gas/avr32/allinsn.exp 2006-08-04 14:51:13.000000000 +0200
61096 @@ -0,0 +1,5 @@
61097 +# AVR32 assembler testsuite. -*- Tcl -*-
61098 +
61099 +if [istarget avr32-*-*] {
61100 + run_dump_test "allinsn"
61101 +}
61102 diff -Nrup binutils-2.17/gas/testsuite/gas/avr32/allinsn.s binutils-2.17-atmel/gas/testsuite/gas/avr32/allinsn.s
61103 --- binutils-2.17/gas/testsuite/gas/avr32/allinsn.s 1970-01-01 01:00:00.000000000 +0100
61104 +++ binutils-2.17-atmel/gas/testsuite/gas/avr32/allinsn.s 2006-08-04 14:51:13.000000000 +0200
61105 @@ -0,0 +1,3242 @@
61106 + .data
61107 +foodata: .word 42
61108 + .text
61109 +footext:
61110 + .text
61111 + .global ld_d5
61112 +ld_d5:
61113 + ld.d lr,pc[pc<<3]
61114 + ld.d r0,r0[r0<<0]
61115 + ld.d r6,r5[r5<<2]
61116 + ld.d r4,r4[r4<<1]
61117 + ld.d lr,lr[lr<<1]
61118 + ld.d r10,r3[sp<<2]
61119 + ld.d r8,r10[r6<<2]
61120 + ld.d r2,r7[r9<<0]
61121 + .text
61122 + .global ld_w5
61123 +ld_w5:
61124 + ld.w pc,pc[pc<<0]
61125 + ld.w r12,r12[r12<<3]
61126 + ld.w r5,r5[r5<<2]
61127 + ld.w r4,r4[r4<<1]
61128 + ld.w lr,lr[lr<<1]
61129 + ld.w r2,r9[r9<<0]
61130 + ld.w r11,r2[r6<<0]
61131 + ld.w r0,r2[sp<<3]
61132 + .text
61133 + .global ld_sh5
61134 +ld_sh5:
61135 + ld.sh pc,pc[pc<<0]
61136 + ld.sh r12,r12[r12<<3]
61137 + ld.sh r5,r5[r5<<2]
61138 + ld.sh r4,r4[r4<<1]
61139 + ld.sh lr,lr[lr<<1]
61140 + ld.sh r11,r0[pc<<2]
61141 + ld.sh r10,sp[r6<<2]
61142 + ld.sh r12,r2[r2<<0]
61143 + .text
61144 + .global ld_uh5
61145 +ld_uh5:
61146 + ld.uh pc,pc[pc<<0]
61147 + ld.uh r12,r12[r12<<3]
61148 + ld.uh r5,r5[r5<<2]
61149 + ld.uh r4,r4[r4<<1]
61150 + ld.uh lr,lr[lr<<1]
61151 + ld.uh r8,pc[lr<<3]
61152 + ld.uh r6,r1[pc<<1]
61153 + ld.uh r6,lr[sp<<1]
61154 + .text
61155 + .global ld_sb2
61156 +ld_sb2:
61157 + ld.sb pc,pc[pc<<0]
61158 + ld.sb r12,r12[r12<<3]
61159 + ld.sb r5,r5[r5<<2]
61160 + ld.sb r4,r4[r4<<1]
61161 + ld.sb lr,lr[lr<<1]
61162 + ld.sb r9,r1[pc<<3]
61163 + ld.sb r0,r3[r11<<1]
61164 + ld.sb r10,r5[r5<<1]
61165 + .text
61166 + .global ld_ub5
61167 +ld_ub5:
61168 + ld.ub pc,pc[pc<<0]
61169 + ld.ub r12,r12[r12<<3]
61170 + ld.ub r5,r5[r5<<2]
61171 + ld.ub r4,r4[r4<<1]
61172 + ld.ub lr,lr[lr<<1]
61173 + ld.ub r6,r12[r7<<3]
61174 + ld.ub r2,r6[r12<<0]
61175 + ld.ub r0,r7[r11<<1]
61176 + .text
61177 + .global st_d5
61178 +st_d5:
61179 + st.d pc[pc<<0],r14
61180 + st.d r12[r12<<3],r12
61181 + st.d r5[r5<<2],r6
61182 + st.d r4[r4<<1],r4
61183 + st.d lr[lr<<1],lr
61184 + st.d r1[r9<<1],r4
61185 + st.d r10[r2<<1],r4
61186 + st.d r12[r6<<0],lr
61187 + .text
61188 + .global st_w5
61189 +st_w5:
61190 + st.w pc[pc<<0],pc
61191 + st.w r12[r12<<3],r12
61192 + st.w r5[r5<<2],r5
61193 + st.w r4[r4<<1],r4
61194 + st.w lr[lr<<1],lr
61195 + st.w r1[r10<<0],r3
61196 + st.w r0[r10<<1],r9
61197 + st.w r4[r5<<3],pc
61198 + .text
61199 + .global st_h5
61200 +st_h5:
61201 + st.h pc[pc<<0],pc
61202 + st.h r12[r12<<3],r12
61203 + st.h r5[r5<<2],r5
61204 + st.h r4[r4<<1],r4
61205 + st.h lr[lr<<1],lr
61206 + st.h r2[r9<<0],r11
61207 + st.h r5[r1<<2],r12
61208 + st.h pc[r8<<2],r3
61209 + .text
61210 + .global st_b5
61211 +st_b5:
61212 + st.b pc[pc<<0],pc
61213 + st.b r12[r12<<3],r12
61214 + st.b r5[r5<<2],r5
61215 + st.b r4[r4<<1],r4
61216 + st.b lr[lr<<1],lr
61217 + st.b r1[r8<<1],r6
61218 + st.b lr[lr<<3],r1
61219 + st.b r5[r0<<2],pc
61220 + .text
61221 + .global divs
61222 +divs:
61223 + divs pc,pc,pc
61224 + divs r12,r12,r12
61225 + divs r5,r5,r5
61226 + divs r4,r4,r4
61227 + divs lr,lr,lr
61228 + divs r3,pc,pc
61229 + divs r9,r12,r2
61230 + divs r7,r4,r1
61231 + .text
61232 + .global add1
61233 +add1:
61234 + add pc,pc
61235 + add r12,r12
61236 + add r5,r5
61237 + add r4,r4
61238 + add lr,lr
61239 + add r12,r9
61240 + add r6,r3
61241 + add r10,r12
61242 + .text
61243 + .global sub1
61244 +sub1:
61245 + sub pc,pc
61246 + sub r12,r12
61247 + sub r5,r5
61248 + sub r4,r4
61249 + sub lr,lr
61250 + sub lr,r6
61251 + sub r0,sp
61252 + sub r6,r12
61253 + .text
61254 + .global rsub1
61255 +rsub1:
61256 + rsub pc,pc
61257 + rsub r12,r12
61258 + rsub r5,r5
61259 + rsub r4,r4
61260 + rsub lr,lr
61261 + rsub r11,sp
61262 + rsub r7,r4
61263 + rsub r9,r1
61264 + .text
61265 + .global cp1
61266 +cp1:
61267 + cp pc,pc
61268 + cp r12,r12
61269 + cp r5,r5
61270 + cp r4,r4
61271 + cp lr,lr
61272 + cp r6,r2
61273 + cp r0,r9
61274 + cp r3,sp
61275 + .text
61276 + .global or1
61277 +or1:
61278 + or pc,pc
61279 + or r12,r12
61280 + or r5,r5
61281 + or r4,r4
61282 + or lr,lr
61283 + or r4,r9
61284 + or r11,r4
61285 + or r4,r0
61286 + .text
61287 + .global eor1
61288 +eor1:
61289 + eor pc,pc
61290 + eor r12,r12
61291 + eor r5,r5
61292 + eor r4,r4
61293 + eor lr,lr
61294 + eor r12,r11
61295 + eor r0,r1
61296 + eor r5,pc
61297 + .text
61298 + .global and1
61299 +and1:
61300 + and pc,pc
61301 + and r12,r12
61302 + and r5,r5
61303 + and r4,r4
61304 + and lr,lr
61305 + and r8,r1
61306 + and r0,sp
61307 + and r10,r5
61308 + .text
61309 + .global tst
61310 +tst:
61311 + tst pc,pc
61312 + tst r12,r12
61313 + tst r5,r5
61314 + tst r4,r4
61315 + tst lr,lr
61316 + tst r0,r12
61317 + tst r10,r6
61318 + tst sp,r4
61319 + .text
61320 + .global andn
61321 +andn:
61322 + andn pc,pc
61323 + andn r12,r12
61324 + andn r5,r5
61325 + andn r4,r4
61326 + andn lr,lr
61327 + andn r9,r12
61328 + andn r11,sp
61329 + andn r12,r5
61330 + .text
61331 + .global mov3
61332 +mov3:
61333 + mov pc,pc
61334 + mov r12,r12
61335 + mov r5,r5
61336 + mov r4,r4
61337 + mov lr,lr
61338 + mov r5,r9
61339 + mov r11,r11
61340 + mov r2,lr
61341 + .text
61342 + .global st_w1
61343 +st_w1:
61344 + st.w pc++,pc
61345 + st.w r12++,r12
61346 + st.w r5++,r5
61347 + st.w r4++,r4
61348 + st.w lr++,lr
61349 + st.w r1++,r11
61350 + st.w sp++,r0
61351 + st.w sp++,r1
61352 + .text
61353 + .global st_h1
61354 +st_h1:
61355 + st.h pc++,pc
61356 + st.h r12++,r12
61357 + st.h r5++,r5
61358 + st.h r4++,r4
61359 + st.h lr++,lr
61360 + st.h r12++,sp
61361 + st.h r7++,lr
61362 + st.h r7++,r4
61363 + .text
61364 + .global st_b1
61365 +st_b1:
61366 + st.b pc++,pc
61367 + st.b r12++,r12
61368 + st.b r5++,r5
61369 + st.b r4++,r4
61370 + st.b lr++,lr
61371 + st.b r9++,sp
61372 + st.b r1++,sp
61373 + st.b r0++,r4
61374 + .text
61375 + .global st_w2
61376 +st_w2:
61377 + st.w --pc,pc
61378 + st.w --r12,r12
61379 + st.w --r5,r5
61380 + st.w --r4,r4
61381 + st.w --lr,lr
61382 + st.w --r1,r7
61383 + st.w --r3,r9
61384 + st.w --r5,r5
61385 + .text
61386 + .global st_h2
61387 +st_h2:
61388 + st.h --pc,pc
61389 + st.h --r12,r12
61390 + st.h --r5,r5
61391 + st.h --r4,r4
61392 + st.h --lr,lr
61393 + st.h --r5,r7
61394 + st.h --r8,r8
61395 + st.h --r7,r2
61396 + .text
61397 + .global st_b2
61398 +st_b2:
61399 + st.b --pc,pc
61400 + st.b --r12,r12
61401 + st.b --r5,r5
61402 + st.b --r4,r4
61403 + st.b --lr,lr
61404 + st.b --sp,sp
61405 + st.b --sp,r11
61406 + st.b --r4,r5
61407 + .text
61408 + .global ld_w1
61409 +ld_w1:
61410 + ld.w pc,pc++
61411 + ld.w r12,r12++
61412 + ld.w r5,r5++
61413 + ld.w r4,r4++
61414 + ld.w lr,lr++
61415 + ld.w r3,r7++
61416 + ld.w r3,lr++
61417 + ld.w r12,r5++
61418 + .text
61419 + .global ld_sh1
61420 +ld_sh1:
61421 + ld.sh pc,pc++
61422 + ld.sh r12,r12++
61423 + ld.sh r5,r5++
61424 + ld.sh r4,r4++
61425 + ld.sh lr,lr++
61426 + ld.sh r11,r2++
61427 + ld.sh r2,r8++
61428 + ld.sh r7,r6++
61429 + .text
61430 + .global ld_uh1
61431 +ld_uh1:
61432 + ld.uh pc,pc++
61433 + ld.uh r12,r12++
61434 + ld.uh r5,r5++
61435 + ld.uh r4,r4++
61436 + ld.uh lr,lr++
61437 + ld.uh r6,r7++
61438 + ld.uh r10,r11++
61439 + ld.uh lr,r4++
61440 + .text
61441 + .global ld_ub1
61442 +ld_ub1:
61443 + ld.ub pc,pc++
61444 + ld.ub r12,r12++
61445 + ld.ub r5,r5++
61446 + ld.ub r4,r4++
61447 + ld.ub lr,lr++
61448 + ld.ub r8,lr++
61449 + ld.ub r12,r12++
61450 + ld.ub r11,r10++
61451 + .text
61452 + .global ld_w2
61453 +ld_w2:
61454 + ld.w pc,--pc
61455 + ld.w r12,--r12
61456 + ld.w r5,--r5
61457 + ld.w r4,--r4
61458 + ld.w lr,--lr
61459 + ld.w r10,--lr
61460 + ld.w r12,--r9
61461 + ld.w r6,--r5
61462 + .text
61463 + .global ld_sh2
61464 +ld_sh2:
61465 + ld.sh pc,--pc
61466 + ld.sh r12,--r12
61467 + ld.sh r5,--r5
61468 + ld.sh r4,--r4
61469 + ld.sh lr,--lr
61470 + ld.sh pc,--r10
61471 + ld.sh r6,--r3
61472 + ld.sh r4,--r6
61473 + .text
61474 + .global ld_uh2
61475 +ld_uh2:
61476 + ld.uh pc,--pc
61477 + ld.uh r12,--r12
61478 + ld.uh r5,--r5
61479 + ld.uh r4,--r4
61480 + ld.uh lr,--lr
61481 + ld.uh r3,--r2
61482 + ld.uh r1,--r0
61483 + ld.uh r2,--r9
61484 + .text
61485 + .global ld_ub2
61486 +ld_ub2:
61487 + ld.ub pc,--pc
61488 + ld.ub r12,--r12
61489 + ld.ub r5,--r5
61490 + ld.ub r4,--r4
61491 + ld.ub lr,--lr
61492 + ld.ub r1,--r1
61493 + ld.ub r0,--r6
61494 + ld.ub r2,--r7
61495 + .text
61496 + .global ld_ub3
61497 +ld_ub3:
61498 + ld.ub pc,pc[0]
61499 + ld.ub r12,r12[7]
61500 + ld.ub r5,r5[4]
61501 + ld.ub r4,r4[3]
61502 + ld.ub lr,lr[1]
61503 + ld.ub r6,r9[6]
61504 + ld.ub r2,lr[4]
61505 + ld.ub r1,r8[0]
61506 + .text
61507 + .global sub3_sp
61508 +sub3_sp:
61509 + sub sp,0
61510 + sub sp,-4
61511 + sub sp,-512
61512 + sub sp,508
61513 + sub sp,4
61514 + sub sp,44
61515 + sub sp,8
61516 + sub sp,348
61517 + .text
61518 + .global sub3
61519 +sub3:
61520 + sub pc,0
61521 + sub r12,-1
61522 + sub r5,-128
61523 + sub r4,127
61524 + sub lr,1
61525 + sub r6,-41
61526 + sub r4,37
61527 + sub r12,56
61528 + .text
61529 + .global mov1
61530 +mov1:
61531 + mov pc,0
61532 + mov r12,-1
61533 + mov r5,-128
61534 + mov r4,127
61535 + mov lr,1
61536 + mov pc,14
61537 + mov r6,-100
61538 + mov lr,-122
61539 + .text
61540 + .global lddsp
61541 +lddsp:
61542 + lddsp pc,sp[0]
61543 + lddsp r12,sp[508]
61544 + lddsp r5,sp[256]
61545 + lddsp r4,sp[252]
61546 + lddsp lr,sp[4]
61547 + lddsp lr,sp[256]
61548 + lddsp r12,sp[20]
61549 + lddsp r9,sp[472]
61550 + .text
61551 + .global lddpc
61552 +lddpc:
61553 + lddpc pc,pc[0]
61554 + lddpc r0,pc[508]
61555 + lddpc r8,pc[256]
61556 + lddpc r7,pc[252]
61557 + lddpc lr,pc[4]
61558 + lddpc sp,pc[472]
61559 + lddpc r6,pc[120]
61560 + lddpc r11,pc[28]
61561 + .text
61562 + .global stdsp
61563 +stdsp:
61564 + stdsp sp[0],pc
61565 + stdsp sp[508],r12
61566 + stdsp sp[256],r5
61567 + stdsp sp[252],r4
61568 + stdsp sp[4],lr
61569 + stdsp sp[304],pc
61570 + stdsp sp[256],r0
61571 + stdsp sp[336],r5
61572 + .text
61573 + .global cp2
61574 +cp2:
61575 + cp pc,0
61576 + cp r12,-1
61577 + cp r5,-32
61578 + cp r4,31
61579 + cp lr,1
61580 + cp r8,3
61581 + cp lr,16
61582 + cp r7,-26
61583 + .text
61584 + .global acr
61585 +acr:
61586 + acr pc
61587 + acr r12
61588 + acr r5
61589 + acr r4
61590 + acr lr
61591 + acr r2
61592 + acr r12
61593 + acr pc
61594 + .text
61595 + .global scr
61596 +scr:
61597 + scr pc
61598 + scr r12
61599 + scr r5
61600 + scr r4
61601 + scr lr
61602 + scr pc
61603 + scr r6
61604 + scr r1
61605 + .text
61606 + .global cpc0
61607 +cpc0:
61608 + cpc pc
61609 + cpc r12
61610 + cpc r5
61611 + cpc r4
61612 + cpc lr
61613 + cpc pc
61614 + cpc r4
61615 + cpc r9
61616 + .text
61617 + .global neg
61618 +neg:
61619 + neg pc
61620 + neg r12
61621 + neg r5
61622 + neg r4
61623 + neg lr
61624 + neg r7
61625 + neg r1
61626 + neg r9
61627 + .text
61628 + .global abs
61629 +abs:
61630 + abs pc
61631 + abs r12
61632 + abs r5
61633 + abs r4
61634 + abs lr
61635 + abs r6
61636 + abs r6
61637 + abs r4
61638 + .text
61639 + .global castu_b
61640 +castu_b:
61641 + castu.b pc
61642 + castu.b r12
61643 + castu.b r5
61644 + castu.b r4
61645 + castu.b lr
61646 + castu.b r7
61647 + castu.b sp
61648 + castu.b r9
61649 + .text
61650 + .global casts_b
61651 +casts_b:
61652 + casts.b pc
61653 + casts.b r12
61654 + casts.b r5
61655 + casts.b r4
61656 + casts.b lr
61657 + casts.b r11
61658 + casts.b r1
61659 + casts.b r10
61660 + .text
61661 + .global castu_h
61662 +castu_h:
61663 + castu.h pc
61664 + castu.h r12
61665 + castu.h r5
61666 + castu.h r4
61667 + castu.h lr
61668 + castu.h r10
61669 + castu.h r11
61670 + castu.h r1
61671 + .text
61672 + .global casts_h
61673 +casts_h:
61674 + casts.h pc
61675 + casts.h r12
61676 + casts.h r5
61677 + casts.h r4
61678 + casts.h lr
61679 + casts.h r0
61680 + casts.h r5
61681 + casts.h r9
61682 + .text
61683 + .global brev
61684 +brev:
61685 + brev pc
61686 + brev r12
61687 + brev r5
61688 + brev r4
61689 + brev lr
61690 + brev r5
61691 + brev r10
61692 + brev r8
61693 + .text
61694 + .global swap_h
61695 +swap_h:
61696 + swap.h pc
61697 + swap.h r12
61698 + swap.h r5
61699 + swap.h r4
61700 + swap.h lr
61701 + swap.h r7
61702 + swap.h r0
61703 + swap.h r8
61704 + .text
61705 + .global swap_b
61706 +swap_b:
61707 + swap.b pc
61708 + swap.b r12
61709 + swap.b r5
61710 + swap.b r4
61711 + swap.b lr
61712 + swap.b r10
61713 + swap.b r12
61714 + swap.b r1
61715 + .text
61716 + .global swap_bh
61717 +swap_bh:
61718 + swap.bh pc
61719 + swap.bh r12
61720 + swap.bh r5
61721 + swap.bh r4
61722 + swap.bh lr
61723 + swap.bh r9
61724 + swap.bh r4
61725 + swap.bh r1
61726 + .text
61727 + .global One_s_compliment
61728 +One_s_compliment:
61729 + com pc
61730 + com r12
61731 + com r5
61732 + com r4
61733 + com lr
61734 + com r2
61735 + com r2
61736 + com r7
61737 + .text
61738 + .global tnbz
61739 +tnbz:
61740 + tnbz pc
61741 + tnbz r12
61742 + tnbz r5
61743 + tnbz r4
61744 + tnbz lr
61745 + tnbz r8
61746 + tnbz r12
61747 + tnbz pc
61748 + .text
61749 + .global rol
61750 +rol:
61751 + rol pc
61752 + rol r12
61753 + rol r5
61754 + rol r4
61755 + rol lr
61756 + rol r10
61757 + rol r9
61758 + rol r5
61759 + .text
61760 + .global ror
61761 +ror:
61762 + ror pc
61763 + ror r12
61764 + ror r5
61765 + ror r4
61766 + ror lr
61767 + ror r8
61768 + ror r4
61769 + ror r7
61770 + .text
61771 + .global icall
61772 +icall:
61773 + icall pc
61774 + icall r12
61775 + icall r5
61776 + icall r4
61777 + icall lr
61778 + icall r3
61779 + icall r1
61780 + icall r3
61781 + .text
61782 + .global mustr
61783 +mustr:
61784 + mustr pc
61785 + mustr r12
61786 + mustr r5
61787 + mustr r4
61788 + mustr lr
61789 + mustr r1
61790 + mustr r4
61791 + mustr r12
61792 + .text
61793 + .global musfr
61794 +musfr:
61795 + musfr pc
61796 + musfr r12
61797 + musfr r5
61798 + musfr r4
61799 + musfr lr
61800 + musfr r11
61801 + musfr r12
61802 + musfr r2
61803 + .text
61804 + .global ret_cond
61805 +ret_cond:
61806 + reteq pc
61807 + retal r12
61808 + retls r5
61809 + retpl r4
61810 + retne lr
61811 + retgt r0
61812 + retgt r12
61813 + retge r10
61814 + .text
61815 + .global sr_cond
61816 +sr_cond:
61817 + sreq pc
61818 + sral r12
61819 + srls r5
61820 + srpl r4
61821 + srne lr
61822 + srlt r0
61823 + sral sp
61824 + srge r9
61825 + .text
61826 + .global ld_w3
61827 +ld_w3:
61828 + ld.w pc,pc[0]
61829 + ld.w r12,r12[124]
61830 + ld.w r5,r5[64]
61831 + ld.w r4,r4[60]
61832 + ld.w lr,lr[4]
61833 + ld.w sp,r2[52]
61834 + ld.w r9,r1[8]
61835 + ld.w r5,sp[60]
61836 + .text
61837 + .global ld_sh3
61838 +ld_sh3:
61839 + ld.sh pc,pc[0]
61840 + ld.sh r12,r12[14]
61841 + ld.sh r5,r5[8]
61842 + ld.sh r4,r4[6]
61843 + ld.sh lr,lr[2]
61844 + ld.sh r4,r2[8]
61845 + ld.sh sp,lr[10]
61846 + ld.sh r2,r11[2]
61847 + .text
61848 + .global ld_uh3
61849 +ld_uh3:
61850 + ld.uh pc,pc[0]
61851 + ld.uh r12,r12[14]
61852 + ld.uh r5,r5[8]
61853 + ld.uh r4,r4[6]
61854 + ld.uh lr,lr[2]
61855 + ld.uh r10,r0[10]
61856 + ld.uh r8,r11[8]
61857 + ld.uh r10,r2[12]
61858 + .text
61859 + .global st_w3
61860 +st_w3:
61861 + st.w pc[0],pc
61862 + st.w r12[60],r12
61863 + st.w r5[32],r5
61864 + st.w r4[28],r4
61865 + st.w lr[4],lr
61866 + st.w r7[44],r11
61867 + st.w r2[24],r6
61868 + st.w r4[12],r9
61869 + .text
61870 + .global st_h3
61871 +st_h3:
61872 + st.h pc[0],pc
61873 + st.h r12[14],r12
61874 + st.h r5[8],r5
61875 + st.h r4[6],r4
61876 + st.h lr[2],lr
61877 + st.h lr[10],r12
61878 + st.h r6[4],r0
61879 + st.h r5[12],sp
61880 + .text
61881 + .global st_b3
61882 +st_b3:
61883 + st.b pc[0],pc
61884 + st.b r12[7],r12
61885 + st.b r5[4],r5
61886 + st.b r4[3],r4
61887 + st.b lr[1],lr
61888 + st.b r12[6],r9
61889 + st.b r2[3],lr
61890 + st.b r1[3],r11
61891 + .text
61892 + .global ldd
61893 +ldd:
61894 + ld.d r0,pc
61895 + ld.d r14,r12
61896 + ld.d r8,r5
61897 + ld.d r6,r4
61898 + ld.d r2,lr
61899 + ld.d r14,r7
61900 + ld.d r4,r4
61901 + ld.d r14,pc
61902 + .text
61903 + .global ldd_postinc
61904 +ldd_postinc:
61905 + ld.d r0,pc++
61906 + ld.d r14,r12++
61907 + ld.d r8,r5++
61908 + ld.d r6,r4++
61909 + ld.d r2,lr++
61910 + ld.d r14,r5++
61911 + ld.d r12,r11++
61912 + ld.d r2,r12++
61913 + .text
61914 + .global ldd_predec
61915 +ldd_predec:
61916 + ld.d r0,--pc
61917 + ld.d r14,--r12
61918 + ld.d r8,--r5
61919 + ld.d r6,--r4
61920 + ld.d r2,--lr
61921 + ld.d r8,--r0
61922 + ld.d r10,--pc
61923 + ld.d r2,--r4
61924 + .text
61925 + .global std
61926 +std:
61927 + st.d pc,r0
61928 + st.d r12,r14
61929 + st.d r5,r8
61930 + st.d r4,r6
61931 + st.d lr,r2
61932 + st.d r0,r12
61933 + st.d sp,r4
61934 + st.d r12,r12
61935 + .text
61936 + .global std_postinc
61937 +std_postinc:
61938 + st.d pc++,r0
61939 + st.d r12++,r14
61940 + st.d r5++,r8
61941 + st.d r4++,r6
61942 + st.d lr++,r2
61943 + st.d sp++,r6
61944 + st.d r10++,r6
61945 + st.d r7++,r2
61946 + .text
61947 + .global std_predec
61948 +std_predec:
61949 + st.d --pc,r0
61950 + st.d --r12,r14
61951 + st.d --r5,r8
61952 + st.d --r4,r6
61953 + st.d --lr,r2
61954 + st.d --r3,r6
61955 + st.d --lr,r2
61956 + st.d --r0,r4
61957 + .text
61958 + .global mul
61959 +mul:
61960 + mul pc,pc
61961 + mul r12,r12
61962 + mul r5,r5
61963 + mul r4,r4
61964 + mul lr,lr
61965 + mul r10,lr
61966 + mul r0,r8
61967 + mul r8,r5
61968 + .text
61969 + .global asr_imm5
61970 +asr_imm5:
61971 + asr pc,0
61972 + asr r12,31
61973 + asr r5,16
61974 + asr r4,15
61975 + asr lr,1
61976 + asr r6,23
61977 + asr r6,18
61978 + asr r5,8
61979 + .text
61980 + .global lsl_imm5
61981 +lsl_imm5:
61982 + lsl pc,0
61983 + lsl r12,31
61984 + lsl r5,16
61985 + lsl r4,15
61986 + lsl lr,1
61987 + lsl r12,13
61988 + lsl r6,16
61989 + lsl r1,25
61990 + .text
61991 + .global lsr_imm5
61992 +lsr_imm5:
61993 + lsr pc,0
61994 + lsr r12,31
61995 + lsr r5,16
61996 + lsr r4,15
61997 + lsr lr,1
61998 + lsr r0,1
61999 + lsr r8,10
62000 + lsr r7,26
62001 + .text
62002 + .global sbr
62003 +sbr:
62004 + sbr pc,0
62005 + sbr r12,31
62006 + sbr r5,16
62007 + sbr r4,15
62008 + sbr lr,1
62009 + sbr r8,31
62010 + sbr r6,22
62011 + sbr r1,23
62012 + .text
62013 + .global cbr
62014 +cbr:
62015 + cbr pc,0
62016 + cbr r12,31
62017 + cbr r5,16
62018 + cbr r4,15
62019 + cbr lr,1
62020 + cbr r12,10
62021 + cbr r7,22
62022 + cbr r8,9
62023 + .text
62024 + .global brc1
62025 +brc1:
62026 + breq 0
62027 + brpl -2
62028 + brge -256
62029 + brcs 254
62030 + brne 2
62031 + brcs 230
62032 + breq -18
62033 + breq 12
62034 + .text
62035 + .global rjmp
62036 +rjmp:
62037 + rjmp 0
62038 + rjmp -2
62039 + rjmp -1024
62040 + rjmp 1022
62041 + rjmp 2
62042 + rjmp -962
62043 + rjmp 14
62044 + rjmp -516
62045 + .text
62046 + .global rcall1
62047 +rcall1:
62048 + rcall 0
62049 + rcall -2
62050 + rcall -1024
62051 + rcall 1022
62052 + rcall 2
62053 + rcall 216
62054 + rcall -530
62055 + rcall -972
62056 + .text
62057 + .global acall
62058 +acall:
62059 + acall 0
62060 + acall 1020
62061 + acall 512
62062 + acall 508
62063 + acall 4
62064 + acall 356
62065 + acall 304
62066 + acall 172
62067 + .text
62068 + .global scall
62069 +scall:
62070 + scall
62071 + scall
62072 + scall
62073 + scall
62074 + scall
62075 + scall
62076 + scall
62077 + scall
62078 + .text
62079 + .global popm
62080 +popm:
62081 + /* popm with no argument fails currently */
62082 + popm pc
62083 + popm r0-r11,pc,r12=-1
62084 + popm lr
62085 + popm r0-r11,pc,r12=1
62086 + popm r0-r3
62087 + popm r4-r10,pc
62088 + popm r0-r3,r11,pc,r12=0
62089 + popm r0-r7,r10-r12,lr
62090 + .text
62091 + .global pushm
62092 +pushm:
62093 + pushm pc
62094 + pushm r0-r12,lr,pc
62095 + pushm pc
62096 + pushm r0-r12,lr
62097 + pushm r0-r3
62098 + pushm r8-r10,lr,pc
62099 + pushm r0-r3,r10
62100 + pushm r8-r9,r12
62101 + .text
62102 + .global popm_n
62103 +popm_n:
62104 + popm pc
62105 + popm r0-r11,pc,r12=-1
62106 + popm lr
62107 + popm r0-r11,pc,r12=1
62108 + popm r0-r3
62109 + popm r4-r10,pc
62110 + popm r0-r3,r11,pc,r12=0
62111 + popm r0-r7,r10-r12,lr
62112 + .text
62113 + .global pushm_n
62114 +pushm_n:
62115 + pushm pc
62116 + pushm r0-r12,lr,pc
62117 + pushm pc
62118 + pushm r0-r12,lr
62119 + pushm r0-r3
62120 + pushm r8-r10,lr,pc
62121 + pushm r0-r3,r10
62122 + pushm r8-r9,r12
62123 + .text
62124 + .global csrfcz
62125 +csrfcz:
62126 + csrfcz 0
62127 + csrfcz 31
62128 + csrfcz 16
62129 + csrfcz 15
62130 + csrfcz 1
62131 + csrfcz 5
62132 + csrfcz 13
62133 + csrfcz 23
62134 + .text
62135 + .global ssrf
62136 +ssrf:
62137 + ssrf 0
62138 + ssrf 31
62139 + ssrf 16
62140 + ssrf 15
62141 + ssrf 1
62142 + ssrf 29
62143 + ssrf 13
62144 + ssrf 13
62145 + .text
62146 + .global csrf
62147 +csrf:
62148 + csrf 0
62149 + csrf 31
62150 + csrf 16
62151 + csrf 15
62152 + csrf 1
62153 + csrf 10
62154 + csrf 15
62155 + csrf 11
62156 + .text
62157 + .global rete
62158 +rete:
62159 + rete
62160 + .text
62161 + .global rets
62162 +rets:
62163 + rets
62164 + .text
62165 + .global retd
62166 +retd:
62167 + retd
62168 + .text
62169 + .global retj
62170 +retj:
62171 + retj
62172 + .text
62173 + .global tlbr
62174 +tlbr:
62175 + tlbr
62176 + .text
62177 + .global tlbs
62178 +tlbs:
62179 + tlbs
62180 + .text
62181 + .global tlbw
62182 +tlbw:
62183 + tlbw
62184 + .text
62185 + .global breakpoint
62186 +breakpoint:
62187 + breakpoint
62188 + .text
62189 + .global incjosp
62190 +incjosp:
62191 + incjosp 1
62192 + incjosp 2
62193 + incjosp 3
62194 + incjosp 4
62195 + incjosp -4
62196 + incjosp -3
62197 + incjosp -2
62198 + incjosp -1
62199 + .text
62200 + .global nop
62201 +nop:
62202 + nop
62203 + .text
62204 + .global popjc
62205 +popjc:
62206 + popjc
62207 + .text
62208 + .global pushjc
62209 +pushjc:
62210 + pushjc
62211 + .text
62212 + .global add2
62213 +add2:
62214 + add pc,pc,pc<<0
62215 + add r12,r12,r12<<3
62216 + add r5,r5,r5<<2
62217 + add r4,r4,r4<<1
62218 + add lr,lr,lr<<1
62219 + add r0,r12,r0<<1
62220 + add r9,r12,r4<<0
62221 + add r12,r12,r7<<2
62222 + .text
62223 + .global sub2
62224 +sub2:
62225 + sub pc,pc,pc<<0
62226 + sub r12,r12,r12<<3
62227 + sub r5,r5,r5<<2
62228 + sub r4,r4,r4<<1
62229 + sub lr,lr,lr<<1
62230 + sub sp,r3,r4<<0
62231 + sub r3,r7,r3<<0
62232 + sub sp,r10,sp<<1
62233 + .text
62234 + .global divu
62235 +divu:
62236 + divu pc,pc,pc
62237 + divu r12,r12,r12
62238 + divu r5,r5,r5
62239 + divu r4,r4,r4
62240 + divu lr,lr,lr
62241 + divu sp,r4,pc
62242 + divu r5,r5,sp
62243 + divu r10,sp,r0
62244 + .text
62245 + .global addhh_w
62246 +addhh_w:
62247 + addhh.w pc,pc:b,pc:b
62248 + addhh.w r12,r12:t,r12:t
62249 + addhh.w r5,r5:t,r5:t
62250 + addhh.w r4,r4:b,r4:b
62251 + addhh.w lr,lr:t,lr:t
62252 + addhh.w r0,r0:b,r3:b
62253 + addhh.w lr,r12:t,r7:b
62254 + addhh.w r3,r10:t,r2:b
62255 + .text
62256 + .global subhh_w
62257 +subhh_w:
62258 + subhh.w pc,pc:b,pc:b
62259 + subhh.w r12,r12:t,r12:t
62260 + subhh.w r5,r5:t,r5:t
62261 + subhh.w r4,r4:b,r4:b
62262 + subhh.w lr,lr:t,lr:t
62263 + subhh.w r10,r1:t,r7:b
62264 + subhh.w pc,r10:t,lr:t
62265 + subhh.w r3,r0:t,r12:b
62266 + .text
62267 + .global adc
62268 +adc:
62269 + adc pc,pc,pc
62270 + adc r12,r12,r12
62271 + adc r5,r5,r5
62272 + adc r4,r4,r4
62273 + adc lr,lr,lr
62274 + adc r4,r0,r7
62275 + adc sp,r4,r3
62276 + adc r2,r12,r0
62277 + .text
62278 + .global sbc
62279 +sbc:
62280 + sbc pc,pc,pc
62281 + sbc r12,r12,r12
62282 + sbc r5,r5,r5
62283 + sbc r4,r4,r4
62284 + sbc lr,lr,lr
62285 + sbc r6,r7,r9
62286 + sbc r0,r8,r5
62287 + sbc r1,r0,r4
62288 + .text
62289 + .global mul_2
62290 +mul_2:
62291 + mul pc,pc,pc
62292 + mul r12,r12,r12
62293 + mul r5,r5,r5
62294 + mul r4,r4,r4
62295 + mul lr,lr,lr
62296 + mul pc,r0,r0
62297 + mul r8,pc,lr
62298 + mul r4,r12,pc
62299 + .text
62300 + .global mac
62301 +mac:
62302 + mac pc,pc,pc
62303 + mac r12,r12,r12
62304 + mac r5,r5,r5
62305 + mac r4,r4,r4
62306 + mac lr,lr,lr
62307 + mac r10,r4,r0
62308 + mac r7,lr,r0
62309 + mac r2,r9,r12
62310 + .text
62311 + .global mulsd
62312 +mulsd:
62313 + muls.d pc,pc,pc
62314 + muls.d r12,r12,r12
62315 + muls.d r5,r5,r5
62316 + muls.d r4,r4,r4
62317 + muls.d lr,lr,lr
62318 + muls.d r2,r8,lr
62319 + muls.d r4,r0,r11
62320 + muls.d r5,lr,r6
62321 + .text
62322 + .global macsd
62323 +macsd:
62324 + macs.d r0,pc,pc
62325 + macs.d r14,r12,r12
62326 + macs.d r8,r5,r5
62327 + macs.d r6,r4,r4
62328 + macs.d r2,lr,lr
62329 + macs.d r8,r1,r9
62330 + macs.d r14,r8,r8
62331 + macs.d r4,r3,r12
62332 + .text
62333 + .global mulud
62334 +mulud:
62335 + mulu.d r0,pc,pc
62336 + mulu.d r14,r12,r12
62337 + mulu.d r8,r5,r5
62338 + mulu.d r6,r4,r4
62339 + mulu.d r2,lr,lr
62340 + mulu.d r6,r5,r0
62341 + mulu.d r4,r6,r1
62342 + mulu.d r8,r8,r2
62343 + .text
62344 + .global macud
62345 +macud:
62346 + macu.d r0,pc,pc
62347 + macu.d r14,r12,r12
62348 + macu.d r8,r5,r5
62349 + macu.d r6,r4,r4
62350 + macu.d r2,lr,lr
62351 + macu.d r6,sp,r11
62352 + macu.d r2,r4,r8
62353 + macu.d r6,r10,r9
62354 + .text
62355 + .global asr_1
62356 +asr_1:
62357 + asr pc,pc,pc
62358 + asr r12,r12,r12
62359 + asr r5,r5,r5
62360 + asr r4,r4,r4
62361 + asr lr,lr,lr
62362 + asr pc,r6,pc
62363 + asr r0,r6,r12
62364 + asr r4,sp,r0
62365 + .text
62366 + .global lsl_1
62367 +lsl_1:
62368 + lsl pc,pc,pc
62369 + lsl r12,r12,r12
62370 + lsl r5,r5,r5
62371 + lsl r4,r4,r4
62372 + lsl lr,lr,lr
62373 + lsl lr,r5,lr
62374 + lsl r5,pc,r3
62375 + lsl r1,pc,r9
62376 + .text
62377 + .global lsr_1
62378 +lsr_1:
62379 + lsr pc,pc,pc
62380 + lsr r12,r12,r12
62381 + lsr r5,r5,r5
62382 + lsr r4,r4,r4
62383 + lsr lr,lr,lr
62384 + lsr r2,r4,r1
62385 + lsr r5,r1,r6
62386 + lsr sp,r6,r7
62387 + .text
62388 + .global xchg
62389 +xchg:
62390 + xchg pc,pc,pc
62391 + xchg r12,r12,r12
62392 + xchg r5,r5,r5
62393 + xchg r4,r4,r4
62394 + xchg lr,lr,lr
62395 + xchg lr,r4,sp
62396 + xchg r1,r5,r12
62397 + xchg lr,r12,r0
62398 + .text
62399 + .global max
62400 +max:
62401 + max pc,pc,pc
62402 + max r12,r12,r12
62403 + max r5,r5,r5
62404 + max r4,r4,r4
62405 + max lr,lr,lr
62406 + max lr,r2,sp
62407 + max r4,r10,r9
62408 + max lr,r9,lr
62409 + .text
62410 + .global min
62411 +min:
62412 + min pc,pc,pc
62413 + min r12,r12,r12
62414 + min r5,r5,r5
62415 + min r4,r4,r4
62416 + min lr,lr,lr
62417 + min r9,r7,r8
62418 + min sp,r5,r5
62419 + min r4,r1,r4
62420 + .text
62421 + .global addabs
62422 +addabs:
62423 + addabs pc,pc,pc
62424 + addabs r12,r12,r12
62425 + addabs r5,r5,r5
62426 + addabs r4,r4,r4
62427 + addabs lr,lr,lr
62428 + addabs r7,r10,r0
62429 + addabs r9,r9,r7
62430 + addabs r2,r8,r12
62431 + .text
62432 + .global mulnhh_w
62433 +mulnhh_w:
62434 + mulnhh.w pc,pc:b,pc:b
62435 + mulnhh.w r12,r12:t,r12:t
62436 + mulnhh.w r5,r5:t,r5:t
62437 + mulnhh.w r4,r4:b,r4:b
62438 + mulnhh.w lr,lr:t,lr:t
62439 + mulnhh.w r11,sp:t,r9:b
62440 + mulnhh.w sp,r4:b,lr:t
62441 + mulnhh.w r12,r2:t,r11:b
62442 + .text
62443 + .global mulnwh_d
62444 +mulnwh_d:
62445 + mulnwh.d r0,pc,pc:b
62446 + mulnwh.d r14,r12,r12:t
62447 + mulnwh.d r8,r5,r5:t
62448 + mulnwh.d r6,r4,r4:b
62449 + mulnwh.d r2,lr,lr:t
62450 + mulnwh.d r14,r3,r2:t
62451 + mulnwh.d r4,r5,r9:b
62452 + mulnwh.d r12,r4,r4:t
62453 + .text
62454 + .global machh_w
62455 +machh_w:
62456 + machh.w pc,pc:b,pc:b
62457 + machh.w r12,r12:t,r12:t
62458 + machh.w r5,r5:t,r5:t
62459 + machh.w r4,r4:b,r4:b
62460 + machh.w lr,lr:t,lr:t
62461 + machh.w lr,r5:b,r1:t
62462 + machh.w r9,r6:b,r7:b
62463 + machh.w r5,lr:t,r12:b
62464 + .text
62465 + .global machh_d
62466 +machh_d:
62467 + machh.d r0,pc:b,pc:b
62468 + machh.d r14,r12:t,r12:t
62469 + machh.d r8,r5:t,r5:t
62470 + machh.d r6,r4:b,r4:b
62471 + machh.d r2,lr:t,lr:t
62472 + machh.d r10,r0:b,r8:b
62473 + machh.d r14,r4:b,r5:t
62474 + machh.d r8,r0:b,r4:t
62475 + .text
62476 + .global macsathh_w
62477 +macsathh_w:
62478 + macsathh.w pc,pc:b,pc:b
62479 + macsathh.w r12,r12:t,r12:t
62480 + macsathh.w r5,r5:t,r5:t
62481 + macsathh.w r4,r4:b,r4:b
62482 + macsathh.w lr,lr:t,lr:t
62483 + macsathh.w r7,r7:t,pc:t
62484 + macsathh.w r4,r2:t,r4:b
62485 + macsathh.w r4,r8:t,r3:t
62486 + .text
62487 + .global mulhh_w
62488 +mulhh_w:
62489 + mulhh.w pc,pc:b,pc:b
62490 + mulhh.w r12,r12:t,r12:t
62491 + mulhh.w r5,r5:t,r5:t
62492 + mulhh.w r4,r4:b,r4:b
62493 + mulhh.w lr,lr:t,lr:t
62494 + mulhh.w r7,r4:t,r9:b
62495 + mulhh.w pc,r3:t,r7:t
62496 + mulhh.w pc,r4:b,r9:t
62497 + .text
62498 + .global mulsathh_h
62499 +mulsathh_h:
62500 + mulsathh.h pc,pc:b,pc:b
62501 + mulsathh.h r12,r12:t,r12:t
62502 + mulsathh.h r5,r5:t,r5:t
62503 + mulsathh.h r4,r4:b,r4:b
62504 + mulsathh.h lr,lr:t,lr:t
62505 + mulsathh.h r3,r1:b,sp:b
62506 + mulsathh.h r11,lr:t,r11:b
62507 + mulsathh.h r8,r8:b,r11:t
62508 + .text
62509 + .global mulsathh_w
62510 +mulsathh_w:
62511 + mulsathh.w pc,pc:b,pc:b
62512 + mulsathh.w r12,r12:t,r12:t
62513 + mulsathh.w r5,r5:t,r5:t
62514 + mulsathh.w r4,r4:b,r4:b
62515 + mulsathh.w lr,lr:t,lr:t
62516 + mulsathh.w lr,r11:t,r6:b
62517 + mulsathh.w r6,r6:b,r7:t
62518 + mulsathh.w r10,r2:b,r3:b
62519 + .text
62520 + .global mulsatrndhh_h
62521 +mulsatrndhh_h:
62522 + mulsatrndhh.h pc,pc:b,pc:b
62523 + mulsatrndhh.h r12,r12:t,r12:t
62524 + mulsatrndhh.h r5,r5:t,r5:t
62525 + mulsatrndhh.h r4,r4:b,r4:b
62526 + mulsatrndhh.h lr,lr:t,lr:t
62527 + mulsatrndhh.h r11,r6:b,r9:b
62528 + mulsatrndhh.h r11,r3:b,r8:t
62529 + mulsatrndhh.h r5,sp:t,r7:t
62530 + .text
62531 + .global mulsatrndwh_w
62532 +mulsatrndwh_w:
62533 + mulsatrndwh.w pc,pc,pc:b
62534 + mulsatrndwh.w r12,r12,r12:t
62535 + mulsatrndwh.w r5,r5,r5:t
62536 + mulsatrndwh.w r4,r4,r4:b
62537 + mulsatrndwh.w lr,lr,lr:t
62538 + mulsatrndwh.w r5,r12,r0:b
62539 + mulsatrndwh.w r7,r10,pc:b
62540 + mulsatrndwh.w r10,r8,r5:t
62541 + .text
62542 + .global macwh_d
62543 +macwh_d:
62544 + macwh.d r0,pc,pc:b
62545 + macwh.d r14,r12,r12:t
62546 + macwh.d r8,r5,r5:t
62547 + macwh.d r6,r4,r4:b
62548 + macwh.d r2,lr,lr:t
62549 + macwh.d r4,r10,r12:t
62550 + macwh.d r4,r7,sp:b
62551 + macwh.d r14,r9,r11:b
62552 + .text
62553 + .global mulwh_d
62554 +mulwh_d:
62555 + mulwh.d r0,pc,pc:b
62556 + mulwh.d r14,r12,r12:t
62557 + mulwh.d r8,r5,r5:t
62558 + mulwh.d r6,r4,r4:b
62559 + mulwh.d r2,lr,lr:t
62560 + mulwh.d r12,r5,r1:b
62561 + mulwh.d r0,r1,r3:t
62562 + mulwh.d r0,r9,r2:b
62563 + .text
62564 + .global mulsatwh_w
62565 +mulsatwh_w:
62566 + mulsatwh.w pc,pc,pc:b
62567 + mulsatwh.w r12,r12,r12:t
62568 + mulsatwh.w r5,r5,r5:t
62569 + mulsatwh.w r4,r4,r4:b
62570 + mulsatwh.w lr,lr,lr:t
62571 + mulsatwh.w r11,pc,r10:t
62572 + mulsatwh.w sp,r12,r9:t
62573 + mulsatwh.w r0,r3,r2:t
62574 + .text
62575 + .global ldw7
62576 +ldw7:
62577 + ld.w pc,pc[pc:b<<2]
62578 + ld.w r12,r12[r12:t<<2]
62579 + ld.w r5,r5[r5:u<<2]
62580 + ld.w r4,r4[r4:l<<2]
62581 + ld.w lr,lr[lr:l<<2]
62582 + ld.w r9,r10[r6:l<<2]
62583 + ld.w r2,r10[r10:b<<2]
62584 + ld.w r11,r5[pc:b<<2]
62585 + .text
62586 + .global satadd_w
62587 +satadd_w:
62588 + satadd.w pc,pc,pc
62589 + satadd.w r12,r12,r12
62590 + satadd.w r5,r5,r5
62591 + satadd.w r4,r4,r4
62592 + satadd.w lr,lr,lr
62593 + satadd.w r4,r8,r11
62594 + satadd.w r3,r12,r6
62595 + satadd.w r3,lr,r9
62596 + .text
62597 + .global satsub_w1
62598 +satsub_w1:
62599 + satsub.w pc,pc,pc
62600 + satsub.w r12,r12,r12
62601 + satsub.w r5,r5,r5
62602 + satsub.w r4,r4,r4
62603 + satsub.w lr,lr,lr
62604 + satsub.w r8,sp,r0
62605 + satsub.w r9,r8,r4
62606 + satsub.w pc,lr,r2
62607 + .text
62608 + .global satadd_h
62609 +satadd_h:
62610 + satadd.h pc,pc,pc
62611 + satadd.h r12,r12,r12
62612 + satadd.h r5,r5,r5
62613 + satadd.h r4,r4,r4
62614 + satadd.h lr,lr,lr
62615 + satadd.h r7,r3,r9
62616 + satadd.h r1,r0,r2
62617 + satadd.h r1,r4,lr
62618 + .text
62619 + .global satsub_h
62620 +satsub_h:
62621 + satsub.h pc,pc,pc
62622 + satsub.h r12,r12,r12
62623 + satsub.h r5,r5,r5
62624 + satsub.h r4,r4,r4
62625 + satsub.h lr,lr,lr
62626 + satsub.h lr,lr,r3
62627 + satsub.h r11,r6,r5
62628 + satsub.h r3,sp,r0
62629 + .text
62630 + .global mul3
62631 +mul3:
62632 + mul pc,pc,0
62633 + mul r12,r12,-1
62634 + mul r5,r5,-128
62635 + mul r4,r4,127
62636 + mul lr,lr,1
62637 + mul r12,r2,-7
62638 + mul r1,pc,95
62639 + mul r4,r6,19
62640 + .text
62641 + .global rsub2
62642 +rsub2:
62643 + rsub pc,pc,0
62644 + rsub r12,r12,-1
62645 + rsub r5,r5,-128
62646 + rsub r4,r4,127
62647 + rsub lr,lr,1
62648 + rsub r9,lr,96
62649 + rsub r11,r1,56
62650 + rsub r0,r7,-87
62651 + .text
62652 + .global clz
62653 +clz:
62654 + clz pc,pc
62655 + clz r12,r12
62656 + clz r5,r5
62657 + clz r4,r4
62658 + clz lr,lr
62659 + clz r2,r3
62660 + clz r5,r11
62661 + clz pc,r3
62662 + .text
62663 + .global cpc1
62664 +cpc1:
62665 + cpc pc,pc
62666 + cpc r12,r12
62667 + cpc r5,r5
62668 + cpc r4,r4
62669 + cpc lr,lr
62670 + cpc pc,r4
62671 + cpc r5,r9
62672 + cpc r6,r7
62673 + .text
62674 + .global asr3
62675 +asr3:
62676 + asr pc,pc,0
62677 + asr r12,r12,31
62678 + asr r5,r5,16
62679 + asr r4,r4,15
62680 + asr lr,lr,1
62681 + asr r4,r11,19
62682 + asr sp,pc,26
62683 + asr r11,sp,8
62684 + .text
62685 + .global lsl3
62686 +lsl3:
62687 + lsl pc,pc,0
62688 + lsl r12,r12,31
62689 + lsl r5,r5,16
62690 + lsl r4,r4,15
62691 + lsl lr,lr,1
62692 + lsl r8,r10,17
62693 + lsl r2,lr,3
62694 + lsl lr,r11,14
62695 + .text
62696 + .global lsr3
62697 +lsr3:
62698 + lsr pc,pc,0
62699 + lsr r12,r12,31
62700 + lsr r5,r5,16
62701 + lsr r4,r4,15
62702 + lsr lr,lr,1
62703 + lsr r4,r3,31
62704 + lsr pc,r9,14
62705 + lsr r3,r0,6
62706 +/* .text
62707 + .global extract_b
62708 +extract_b:
62709 + extract.b pc,pc:b
62710 + extract.b r12,r12:t
62711 + extract.b r5,r5:u
62712 + extract.b r4,r4:l
62713 + extract.b lr,lr:l
62714 + extract.b r2,r5:l
62715 + extract.b r12,r3:l
62716 + extract.b sp,r3:l
62717 + .text
62718 + .global insert_b
62719 +insert_b:
62720 + insert.b pc:b,pc
62721 + insert.b r12:t,r12
62722 + insert.b r5:u,r5
62723 + insert.b r4:l,r4
62724 + insert.b lr:l,lr
62725 + insert.b r12:u,r3
62726 + insert.b r10:l,lr
62727 + insert.b r11:l,r12
62728 + .text
62729 + .global extract_h
62730 +extract_h:
62731 + extract.h pc,pc:b
62732 + extract.h r12,r12:t
62733 + extract.h r5,r5:t
62734 + extract.h r4,r4:b
62735 + extract.h lr,lr:t
62736 + extract.h r11,lr:b
62737 + extract.h r10,r0:b
62738 + extract.h r11,r12:b
62739 + .text
62740 + .global insert_h
62741 +insert_h:
62742 + insert.h pc:b,pc
62743 + insert.h r12:t,r12
62744 + insert.h r5:t,r5
62745 + insert.h r4:b,r4
62746 + insert.h lr:t,lr
62747 + insert.h r12:t,r11
62748 + insert.h r7:b,r6
62749 + insert.h r1:t,r11 */
62750 + .text
62751 + .global movc1
62752 +movc1:
62753 + moveq pc,pc
62754 + moval r12,r12
62755 + movls r5,r5
62756 + movpl r4,r4
62757 + movne lr,lr
62758 + movne pc,r11
62759 + movmi r10,r2
62760 + movls r8,r12
62761 + .text
62762 + .global padd_h
62763 +padd_h:
62764 + padd.h pc,pc,pc
62765 + padd.h r12,r12,r12
62766 + padd.h r5,r5,r5
62767 + padd.h r4,r4,r4
62768 + padd.h lr,lr,lr
62769 + padd.h r8,r2,r7
62770 + padd.h r0,r0,r3
62771 + padd.h sp,r11,r6
62772 + .text
62773 + .global psub_h
62774 +psub_h:
62775 + psub.h pc,pc,pc
62776 + psub.h r12,r12,r12
62777 + psub.h r5,r5,r5
62778 + psub.h r4,r4,r4
62779 + psub.h lr,lr,lr
62780 + psub.h lr,r6,r8
62781 + psub.h r0,r1,sp
62782 + psub.h pc,pc,sp
62783 + .text
62784 + .global paddx_h
62785 +paddx_h:
62786 + paddx.h pc,pc,pc
62787 + paddx.h r12,r12,r12
62788 + paddx.h r5,r5,r5
62789 + paddx.h r4,r4,r4
62790 + paddx.h lr,lr,lr
62791 + paddx.h pc,pc,r1
62792 + paddx.h r10,r4,r5
62793 + paddx.h r5,pc,r2
62794 + .text
62795 + .global psubx_h
62796 +psubx_h:
62797 + psubx.h pc,pc,pc
62798 + psubx.h r12,r12,r12
62799 + psubx.h r5,r5,r5
62800 + psubx.h r4,r4,r4
62801 + psubx.h lr,lr,lr
62802 + psubx.h r5,r12,r5
62803 + psubx.h r3,r8,r3
62804 + psubx.h r5,r2,r3
62805 + .text
62806 + .global padds_sh
62807 +padds_sh:
62808 + padds.sh pc,pc,pc
62809 + padds.sh r12,r12,r12
62810 + padds.sh r5,r5,r5
62811 + padds.sh r4,r4,r4
62812 + padds.sh lr,lr,lr
62813 + padds.sh r9,lr,r2
62814 + padds.sh r6,r8,r1
62815 + padds.sh r6,r4,r10
62816 + .text
62817 + .global psubs_sh
62818 +psubs_sh:
62819 + psubs.sh pc,pc,pc
62820 + psubs.sh r12,r12,r12
62821 + psubs.sh r5,r5,r5
62822 + psubs.sh r4,r4,r4
62823 + psubs.sh lr,lr,lr
62824 + psubs.sh r6,lr,r11
62825 + psubs.sh r2,r12,r4
62826 + psubs.sh r0,r9,r0
62827 + .text
62828 + .global paddxs_sh
62829 +paddxs_sh:
62830 + paddxs.sh pc,pc,pc
62831 + paddxs.sh r12,r12,r12
62832 + paddxs.sh r5,r5,r5
62833 + paddxs.sh r4,r4,r4
62834 + paddxs.sh lr,lr,lr
62835 + paddxs.sh r0,r3,r9
62836 + paddxs.sh pc,r10,r11
62837 + paddxs.sh pc,r10,pc
62838 + .text
62839 + .global psubxs_sh
62840 +psubxs_sh:
62841 + psubxs.sh pc,pc,pc
62842 + psubxs.sh r12,r12,r12
62843 + psubxs.sh r5,r5,r5
62844 + psubxs.sh r4,r4,r4
62845 + psubxs.sh lr,lr,lr
62846 + psubxs.sh r7,r4,r4
62847 + psubxs.sh r7,r8,r3
62848 + psubxs.sh pc,r6,r5
62849 + .text
62850 + .global padds_uh
62851 +padds_uh:
62852 + padds.uh pc,pc,pc
62853 + padds.uh r12,r12,r12
62854 + padds.uh r5,r5,r5
62855 + padds.uh r4,r4,r4
62856 + padds.uh lr,lr,lr
62857 + padds.uh r12,r11,r7
62858 + padds.uh r7,r8,lr
62859 + padds.uh r6,r9,r7
62860 + .text
62861 + .global psubs_uh
62862 +psubs_uh:
62863 + psubs.uh pc,pc,pc
62864 + psubs.uh r12,r12,r12
62865 + psubs.uh r5,r5,r5
62866 + psubs.uh r4,r4,r4
62867 + psubs.uh lr,lr,lr
62868 + psubs.uh lr,r10,r6
62869 + psubs.uh sp,r2,pc
62870 + psubs.uh r2,r9,r2
62871 + .text
62872 + .global paddxs_uh
62873 +paddxs_uh:
62874 + paddxs.uh pc,pc,pc
62875 + paddxs.uh r12,r12,r12
62876 + paddxs.uh r5,r5,r5
62877 + paddxs.uh r4,r4,r4
62878 + paddxs.uh lr,lr,lr
62879 + paddxs.uh r7,r9,r5
62880 + paddxs.uh r9,r1,r4
62881 + paddxs.uh r5,r2,r3
62882 + .text
62883 + .global psubxs_uh
62884 +psubxs_uh:
62885 + psubxs.uh pc,pc,pc
62886 + psubxs.uh r12,r12,r12
62887 + psubxs.uh r5,r5,r5
62888 + psubxs.uh r4,r4,r4
62889 + psubxs.uh lr,lr,lr
62890 + psubxs.uh sp,r5,sp
62891 + psubxs.uh sp,r6,r6
62892 + psubxs.uh r3,r11,r8
62893 + .text
62894 + .global paddh_sh
62895 +paddh_sh:
62896 + paddh.sh pc,pc,pc
62897 + paddh.sh r12,r12,r12
62898 + paddh.sh r5,r5,r5
62899 + paddh.sh r4,r4,r4
62900 + paddh.sh lr,lr,lr
62901 + paddh.sh r12,sp,r3
62902 + paddh.sh pc,r5,r3
62903 + paddh.sh r8,r8,sp
62904 + .text
62905 + .global psubh_sh
62906 +psubh_sh:
62907 + psubh.sh pc,pc,pc
62908 + psubh.sh r12,r12,r12
62909 + psubh.sh r5,r5,r5
62910 + psubh.sh r4,r4,r4
62911 + psubh.sh lr,lr,lr
62912 + psubh.sh r1,r5,r8
62913 + psubh.sh r7,r3,r6
62914 + psubh.sh r4,r3,r3
62915 + .text
62916 + .global paddxh_sh
62917 +paddxh_sh:
62918 + paddxh.sh pc,pc,pc
62919 + paddxh.sh r12,r12,r12
62920 + paddxh.sh r5,r5,r5
62921 + paddxh.sh r4,r4,r4
62922 + paddxh.sh lr,lr,lr
62923 + paddxh.sh r6,r0,r4
62924 + paddxh.sh r9,r8,r9
62925 + paddxh.sh r3,r0,sp
62926 + .text
62927 + .global psubxh_sh
62928 +psubxh_sh:
62929 + psubxh.sh pc,pc,pc
62930 + psubxh.sh r12,r12,r12
62931 + psubxh.sh r5,r5,r5
62932 + psubxh.sh r4,r4,r4
62933 + psubxh.sh lr,lr,lr
62934 + psubxh.sh r4,pc,r12
62935 + psubxh.sh r8,r4,r6
62936 + psubxh.sh r12,r9,r4
62937 + .text
62938 + .global paddsub_h
62939 +paddsub_h:
62940 + paddsub.h pc,pc:b,pc:b
62941 + paddsub.h r12,r12:t,r12:t
62942 + paddsub.h r5,r5:t,r5:t
62943 + paddsub.h r4,r4:b,r4:b
62944 + paddsub.h lr,lr:t,lr:t
62945 + paddsub.h r5,r2:t,lr:b
62946 + paddsub.h r7,r1:b,r8:b
62947 + paddsub.h r6,r10:t,r5:t
62948 + .text
62949 + .global psubadd_h
62950 +psubadd_h:
62951 + psubadd.h pc,pc:b,pc:b
62952 + psubadd.h r12,r12:t,r12:t
62953 + psubadd.h r5,r5:t,r5:t
62954 + psubadd.h r4,r4:b,r4:b
62955 + psubadd.h lr,lr:t,lr:t
62956 + psubadd.h r9,r11:t,r8:t
62957 + psubadd.h r10,r7:t,lr:t
62958 + psubadd.h r6,pc:t,pc:b
62959 + .text
62960 + .global paddsubs_sh
62961 +paddsubs_sh:
62962 + paddsubs.sh pc,pc:b,pc:b
62963 + paddsubs.sh r12,r12:t,r12:t
62964 + paddsubs.sh r5,r5:t,r5:t
62965 + paddsubs.sh r4,r4:b,r4:b
62966 + paddsubs.sh lr,lr:t,lr:t
62967 + paddsubs.sh r0,lr:t,r0:b
62968 + paddsubs.sh r9,r2:t,r4:t
62969 + paddsubs.sh r12,r9:t,sp:t
62970 + .text
62971 + .global psubadds_sh
62972 +psubadds_sh:
62973 + psubadds.sh pc,pc:b,pc:b
62974 + psubadds.sh r12,r12:t,r12:t
62975 + psubadds.sh r5,r5:t,r5:t
62976 + psubadds.sh r4,r4:b,r4:b
62977 + psubadds.sh lr,lr:t,lr:t
62978 + psubadds.sh pc,lr:b,r1:t
62979 + psubadds.sh r11,r3:b,r12:b
62980 + psubadds.sh r10,r2:t,r8:t
62981 + .text
62982 + .global paddsubs_uh
62983 +paddsubs_uh:
62984 + paddsubs.uh pc,pc:b,pc:b
62985 + paddsubs.uh r12,r12:t,r12:t
62986 + paddsubs.uh r5,r5:t,r5:t
62987 + paddsubs.uh r4,r4:b,r4:b
62988 + paddsubs.uh lr,lr:t,lr:t
62989 + paddsubs.uh r9,r2:b,r3:b
62990 + paddsubs.uh sp,sp:b,r7:t
62991 + paddsubs.uh lr,r0:b,r10:t
62992 + .text
62993 + .global psubadds_uh
62994 +psubadds_uh:
62995 + psubadds.uh pc,pc:b,pc:b
62996 + psubadds.uh r12,r12:t,r12:t
62997 + psubadds.uh r5,r5:t,r5:t
62998 + psubadds.uh r4,r4:b,r4:b
62999 + psubadds.uh lr,lr:t,lr:t
63000 + psubadds.uh r12,r9:t,pc:t
63001 + psubadds.uh r8,r6:b,r8:b
63002 + psubadds.uh r8,r8:b,r4:b
63003 + .text
63004 + .global paddsubh_sh
63005 +paddsubh_sh:
63006 + paddsubh.sh pc,pc:b,pc:b
63007 + paddsubh.sh r12,r12:t,r12:t
63008 + paddsubh.sh r5,r5:t,r5:t
63009 + paddsubh.sh r4,r4:b,r4:b
63010 + paddsubh.sh lr,lr:t,lr:t
63011 + paddsubh.sh r8,r9:t,r9:b
63012 + paddsubh.sh r0,sp:t,r1:t
63013 + paddsubh.sh r3,r1:b,r0:t
63014 + .text
63015 + .global psubaddh_sh
63016 +psubaddh_sh:
63017 + psubaddh.sh pc,pc:b,pc:b
63018 + psubaddh.sh r12,r12:t,r12:t
63019 + psubaddh.sh r5,r5:t,r5:t
63020 + psubaddh.sh r4,r4:b,r4:b
63021 + psubaddh.sh lr,lr:t,lr:t
63022 + psubaddh.sh r7,r3:t,r10:b
63023 + psubaddh.sh r7,r2:t,r1:t
63024 + psubaddh.sh r11,r3:b,r6:b
63025 + .text
63026 + .global padd_b
63027 +padd_b:
63028 + padd.b pc,pc,pc
63029 + padd.b r12,r12,r12
63030 + padd.b r5,r5,r5
63031 + padd.b r4,r4,r4
63032 + padd.b lr,lr,lr
63033 + padd.b r2,r6,pc
63034 + padd.b r8,r9,r12
63035 + padd.b r5,r12,r3
63036 + .text
63037 + .global psub_b
63038 +psub_b:
63039 + psub.b pc,pc,pc
63040 + psub.b r12,r12,r12
63041 + psub.b r5,r5,r5
63042 + psub.b r4,r4,r4
63043 + psub.b lr,lr,lr
63044 + psub.b r0,r12,pc
63045 + psub.b r7,sp,r10
63046 + psub.b r5,sp,r12
63047 + .text
63048 + .global padds_sb
63049 +padds_sb:
63050 + padds.sb pc,pc,pc
63051 + padds.sb r12,r12,r12
63052 + padds.sb r5,r5,r5
63053 + padds.sb r4,r4,r4
63054 + padds.sb lr,lr,lr
63055 + padds.sb sp,r11,r4
63056 + padds.sb r11,r10,r11
63057 + padds.sb r5,r12,r6
63058 + .text
63059 + .global psubs_sb
63060 +psubs_sb:
63061 + psubs.sb pc,pc,pc
63062 + psubs.sb r12,r12,r12
63063 + psubs.sb r5,r5,r5
63064 + psubs.sb r4,r4,r4
63065 + psubs.sb lr,lr,lr
63066 + psubs.sb r7,r6,r8
63067 + psubs.sb r12,r10,r9
63068 + psubs.sb pc,r11,r0
63069 + .text
63070 + .global padds_ub
63071 +padds_ub:
63072 + padds.ub pc,pc,pc
63073 + padds.ub r12,r12,r12
63074 + padds.ub r5,r5,r5
63075 + padds.ub r4,r4,r4
63076 + padds.ub lr,lr,lr
63077 + padds.ub r3,r2,r11
63078 + padds.ub r10,r8,r1
63079 + padds.ub r11,r8,r10
63080 + .text
63081 + .global psubs_ub
63082 +psubs_ub:
63083 + psubs.ub pc,pc,pc
63084 + psubs.ub r12,r12,r12
63085 + psubs.ub r5,r5,r5
63086 + psubs.ub r4,r4,r4
63087 + psubs.ub lr,lr,lr
63088 + psubs.ub r0,r2,r7
63089 + psubs.ub lr,r5,r3
63090 + psubs.ub r6,r7,r9
63091 + .text
63092 + .global paddh_ub
63093 +paddh_ub:
63094 + paddh.ub pc,pc,pc
63095 + paddh.ub r12,r12,r12
63096 + paddh.ub r5,r5,r5
63097 + paddh.ub r4,r4,r4
63098 + paddh.ub lr,lr,lr
63099 + paddh.ub lr,r1,r0
63100 + paddh.ub r2,r7,r7
63101 + paddh.ub r2,r1,r2
63102 + .text
63103 + .global psubh_ub
63104 +psubh_ub:
63105 + psubh.ub pc,pc,pc
63106 + psubh.ub r12,r12,r12
63107 + psubh.ub r5,r5,r5
63108 + psubh.ub r4,r4,r4
63109 + psubh.ub lr,lr,lr
63110 + psubh.ub r0,r1,r6
63111 + psubh.ub r4,lr,r10
63112 + psubh.ub r9,r8,r1
63113 + .text
63114 + .global pmax_ub
63115 +pmax_ub:
63116 + pmax.ub pc,pc,pc
63117 + pmax.ub r12,r12,r12
63118 + pmax.ub r5,r5,r5
63119 + pmax.ub r4,r4,r4
63120 + pmax.ub lr,lr,lr
63121 + pmax.ub pc,r2,r11
63122 + pmax.ub r12,r1,r1
63123 + pmax.ub r5,r2,r0
63124 + .text
63125 + .global pmax_sh
63126 +pmax_sh:
63127 + pmax.sh pc,pc,pc
63128 + pmax.sh r12,r12,r12
63129 + pmax.sh r5,r5,r5
63130 + pmax.sh r4,r4,r4
63131 + pmax.sh lr,lr,lr
63132 + pmax.sh lr,r6,r12
63133 + pmax.sh r2,pc,r5
63134 + pmax.sh pc,r2,r7
63135 + .text
63136 + .global pmin_ub
63137 +pmin_ub:
63138 + pmin.ub pc,pc,pc
63139 + pmin.ub r12,r12,r12
63140 + pmin.ub r5,r5,r5
63141 + pmin.ub r4,r4,r4
63142 + pmin.ub lr,lr,lr
63143 + pmin.ub r8,r1,r5
63144 + pmin.ub r1,r8,r3
63145 + pmin.ub r0,r2,r7
63146 + .text
63147 + .global pmin_sh
63148 +pmin_sh:
63149 + pmin.sh pc,pc,pc
63150 + pmin.sh r12,r12,r12
63151 + pmin.sh r5,r5,r5
63152 + pmin.sh r4,r4,r4
63153 + pmin.sh lr,lr,lr
63154 + pmin.sh r8,r4,r10
63155 + pmin.sh lr,r10,r12
63156 + pmin.sh r2,r6,r2
63157 + .text
63158 + .global pavg_ub
63159 +pavg_ub:
63160 + pavg.ub pc,pc,pc
63161 + pavg.ub r12,r12,r12
63162 + pavg.ub r5,r5,r5
63163 + pavg.ub r4,r4,r4
63164 + pavg.ub lr,lr,lr
63165 + pavg.ub r0,r1,r6
63166 + pavg.ub r8,r3,r6
63167 + pavg.ub pc,r12,r10
63168 + .text
63169 + .global pavg_sh
63170 +pavg_sh:
63171 + pavg.sh pc,pc,pc
63172 + pavg.sh r12,r12,r12
63173 + pavg.sh r5,r5,r5
63174 + pavg.sh r4,r4,r4
63175 + pavg.sh lr,lr,lr
63176 + pavg.sh r9,pc,sp
63177 + pavg.sh pc,sp,r3
63178 + pavg.sh r6,r1,r9
63179 + .text
63180 + .global pabs_sb
63181 +pabs_sb:
63182 + pabs.sb pc,pc
63183 + pabs.sb r12,r12
63184 + pabs.sb r5,r5
63185 + pabs.sb r4,r4
63186 + pabs.sb lr,lr
63187 + pabs.sb r11,r6
63188 + pabs.sb lr,r9
63189 + pabs.sb sp,r7
63190 + .text
63191 + .global pabs_sh
63192 +pabs_sh:
63193 + pabs.sh pc,pc
63194 + pabs.sh r12,r12
63195 + pabs.sh r5,r5
63196 + pabs.sh r4,r4
63197 + pabs.sh lr,lr
63198 + pabs.sh pc,r3
63199 + pabs.sh r5,r7
63200 + pabs.sh r4,r0
63201 + .text
63202 + .global psad
63203 +psad:
63204 + psad pc,pc,pc
63205 + psad r12,r12,r12
63206 + psad r5,r5,r5
63207 + psad r4,r4,r4
63208 + psad lr,lr,lr
63209 + psad r9,r11,r11
63210 + psad lr,r4,sp
63211 + psad lr,r4,r5
63212 + .text
63213 + .global pasr_b
63214 +pasr_b:
63215 + pasr.b pc,pc,0
63216 + pasr.b r12,r12,7
63217 + pasr.b r5,r5,4
63218 + pasr.b r4,r4,3
63219 + pasr.b lr,lr,1
63220 + pasr.b pc,r7,1
63221 + pasr.b sp,lr,6
63222 + pasr.b sp,r3,2
63223 + .text
63224 + .global plsl_b
63225 +plsl_b:
63226 + plsl.b pc,pc,0
63227 + plsl.b r12,r12,7
63228 + plsl.b r5,r5,4
63229 + plsl.b r4,r4,3
63230 + plsl.b lr,lr,1
63231 + plsl.b r2,r11,4
63232 + plsl.b r8,r5,7
63233 + plsl.b pc,r0,2
63234 + .text
63235 + .global plsr_b
63236 +plsr_b:
63237 + plsr.b pc,pc,0
63238 + plsr.b r12,r12,7
63239 + plsr.b r5,r5,4
63240 + plsr.b r4,r4,3
63241 + plsr.b lr,lr,1
63242 + plsr.b r12,r1,2
63243 + plsr.b r6,pc,7
63244 + plsr.b r12,r11,2
63245 + .text
63246 + .global pasr_h
63247 +pasr_h:
63248 + pasr.h pc,pc,0
63249 + pasr.h r12,r12,15
63250 + pasr.h r5,r5,8
63251 + pasr.h r4,r4,7
63252 + pasr.h lr,lr,1
63253 + pasr.h r0,r11,10
63254 + pasr.h r4,r6,8
63255 + pasr.h r6,r2,4
63256 + .text
63257 + .global plsl_h
63258 +plsl_h:
63259 + plsl.h pc,pc,0
63260 + plsl.h r12,r12,15
63261 + plsl.h r5,r5,8
63262 + plsl.h r4,r4,7
63263 + plsl.h lr,lr,1
63264 + plsl.h r5,r10,9
63265 + plsl.h sp,lr,8
63266 + plsl.h r0,lr,7
63267 + .text
63268 + .global plsr_h
63269 +plsr_h:
63270 + plsr.h pc,pc,0
63271 + plsr.h r12,r12,15
63272 + plsr.h r5,r5,8
63273 + plsr.h r4,r4,7
63274 + plsr.h lr,lr,1
63275 + plsr.h r11,r0,15
63276 + plsr.h lr,r3,3
63277 + plsr.h r8,lr,10
63278 + .text
63279 + .global packw_sh
63280 +packw_sh:
63281 + packw.sh pc,pc,pc
63282 + packw.sh r12,r12,r12
63283 + packw.sh r5,r5,r5
63284 + packw.sh r4,r4,r4
63285 + packw.sh lr,lr,lr
63286 + packw.sh sp,r11,r10
63287 + packw.sh r8,r2,r12
63288 + packw.sh r8,r1,r5
63289 + .text
63290 + .global punpckub_h
63291 +punpckub_h:
63292 + punpckub.h pc,pc:b
63293 + punpckub.h r12,r12:t
63294 + punpckub.h r5,r5:t
63295 + punpckub.h r4,r4:b
63296 + punpckub.h lr,lr:t
63297 + punpckub.h r6,r1:t
63298 + punpckub.h lr,r5:b
63299 + punpckub.h lr,r2:t
63300 + .text
63301 + .global punpcksb_h
63302 +punpcksb_h:
63303 + punpcksb.h pc,pc:b
63304 + punpcksb.h r12,r12:t
63305 + punpcksb.h r5,r5:t
63306 + punpcksb.h r4,r4:b
63307 + punpcksb.h lr,lr:t
63308 + punpcksb.h r4,r7:t
63309 + punpcksb.h r6,lr:b
63310 + punpcksb.h r12,r12:t
63311 + .text
63312 + .global packsh_ub
63313 +packsh_ub:
63314 + packsh.ub pc,pc,pc
63315 + packsh.ub r12,r12,r12
63316 + packsh.ub r5,r5,r5
63317 + packsh.ub r4,r4,r4
63318 + packsh.ub lr,lr,lr
63319 + packsh.ub r3,r6,r3
63320 + packsh.ub r8,r0,r3
63321 + packsh.ub r9,r3,lr
63322 + .text
63323 + .global packsh_sb
63324 +packsh_sb:
63325 + packsh.sb pc,pc,pc
63326 + packsh.sb r12,r12,r12
63327 + packsh.sb r5,r5,r5
63328 + packsh.sb r4,r4,r4
63329 + packsh.sb lr,lr,lr
63330 + packsh.sb r6,r8,r1
63331 + packsh.sb lr,r9,r8
63332 + packsh.sb sp,r6,r6
63333 + .text
63334 + .global andl
63335 +andl:
63336 + andl pc,0
63337 + andl r12,65535
63338 + andl r5,32768
63339 + andl r4,32767
63340 + andl lr,1
63341 + andl pc,23128
63342 + andl r8,47262
63343 + andl r7,13719
63344 + .text
63345 + .global andl_coh
63346 +andl_coh:
63347 + andl pc,0,COH
63348 + andl r12,65535,COH
63349 + andl r5,32768,COH
63350 + andl r4,32767,COH
63351 + andl lr,1,COH
63352 + andl r6,22753,COH
63353 + andl r0,40653,COH
63354 + andl r4,48580,COH
63355 + .text
63356 + .global andh
63357 +andh:
63358 + andh pc,0
63359 + andh r12,65535
63360 + andh r5,32768
63361 + andh r4,32767
63362 + andh lr,1
63363 + andh r12,52312
63364 + andh r3,8675
63365 + andh r2,42987
63366 + .text
63367 + .global andh_coh
63368 +andh_coh:
63369 + andh pc,0,COH
63370 + andh r12,65535,COH
63371 + andh r5,32768,COH
63372 + andh r4,32767,COH
63373 + andh lr,1,COH
63374 + andh r11,34317,COH
63375 + andh r8,52982,COH
63376 + andh r10,23683,COH
63377 + .text
63378 + .global orl
63379 +orl:
63380 + orl pc,0
63381 + orl r12,65535
63382 + orl r5,32768
63383 + orl r4,32767
63384 + orl lr,1
63385 + orl sp,16766
63386 + orl r0,21181
63387 + orl pc,44103
63388 + .text
63389 + .global orh
63390 +orh:
63391 + orh pc,0
63392 + orh r12,65535
63393 + orh r5,32768
63394 + orh r4,32767
63395 + orh lr,1
63396 + orh r8,28285
63397 + orh r12,30492
63398 + orh r1,59930
63399 + .text
63400 + .global eorl
63401 +eorl:
63402 + eorl pc,0
63403 + eorl r12,65535
63404 + eorl r5,32768
63405 + eorl r4,32767
63406 + eorl lr,1
63407 + eorl r4,51129
63408 + eorl r6,64477
63409 + eorl r1,20913
63410 + .text
63411 + .global eorh
63412 +eorh:
63413 + eorh pc,0
63414 + eorh r12,65535
63415 + eorh r5,32768
63416 + eorh r4,32767
63417 + eorh lr,1
63418 + eorh r0,11732
63419 + eorh r10,38069
63420 + eorh r9,57130
63421 + .text
63422 + .global mcall
63423 +mcall:
63424 + mcall pc[0]
63425 + mcall r12[-4]
63426 + mcall r5[-131072]
63427 + mcall r4[131068]
63428 + mcall lr[4]
63429 + mcall sp[61180]
63430 + mcall r4[-35000]
63431 + mcall r0[9924]
63432 + .text
63433 + .global pref
63434 +pref:
63435 + pref pc[0]
63436 + pref r12[-1]
63437 + pref r5[-32768]
63438 + pref r4[32767]
63439 + pref lr[1]
63440 + pref r7[7748]
63441 + pref r7[-7699]
63442 + pref r2[-25892]
63443 + .text
63444 + .global cache
63445 +cache:
63446 + cache pc[0],0
63447 + cache r12[-1],31
63448 + cache r5[-1024],16
63449 + cache r4[1023],15
63450 + cache lr[1],1
63451 + cache r3[-964],17
63452 + cache r4[-375],22
63453 + cache r3[-888],17
63454 + .text
63455 + .global sub4
63456 +sub4:
63457 + sub pc,0
63458 + sub r12,-1
63459 + sub r5,-1048576
63460 + sub r4,1048575
63461 + sub lr,1
63462 + sub r2,-619156
63463 + sub lr,461517
63464 + sub r8,-185051
63465 + .text
63466 + .global cp3
63467 +cp3:
63468 + cp pc,0
63469 + cp r12,-1
63470 + cp r5,-1048576
63471 + cp r4,1048575
63472 + cp lr,1
63473 + cp r1,124078
63474 + cp r0,-378909
63475 + cp r4,-243180
63476 + .text
63477 + .global mov2
63478 +mov2:
63479 + mov pc,0
63480 + mov r12,-1
63481 + mov r5,-1048576
63482 + mov r4,1048575
63483 + mov lr,1
63484 + mov r5,-317021
63485 + mov sp,-749164
63486 + mov r5,940179
63487 + .text
63488 + .global brc2
63489 +brc2:
63490 + breq 0
63491 + bral -2
63492 + brls -2097152
63493 + brpl 2097150
63494 + brne 2
63495 + brhi -1796966
63496 + brqs 1321368
63497 + brls -577434
63498 + .text
63499 + .global rcall2
63500 +rcall2:
63501 + rcall 0
63502 + rcall -2
63503 + rcall -2097152
63504 + rcall 2097150
63505 + rcall 2
63506 + rcall 496820
63507 + rcall 1085092
63508 + rcall -1058
63509 + .text
63510 + .global sub5
63511 +sub5:
63512 + sub pc,pc,0
63513 + sub r12,r12,-1
63514 + sub r5,r5,-32768
63515 + sub r4,r4,32767
63516 + sub lr,lr,1
63517 + sub pc,pc,-12744
63518 + sub r7,r7,-27365
63519 + sub r2,r9,-17358
63520 + .text
63521 + .global satsub_w2
63522 +satsub_w2:
63523 + satsub.w pc,pc,0
63524 + satsub.w r12,r12,-1
63525 + satsub.w r5,r5,-32768
63526 + satsub.w r4,r4,32767
63527 + satsub.w lr,lr,1
63528 + satsub.w r2,lr,-2007
63529 + satsub.w r7,r12,-784
63530 + satsub.w r4,r7,23180
63531 + .text
63532 + .global ld_d4
63533 +ld_d4:
63534 + ld.d r0,pc[0]
63535 + ld.d r14,r12[-1]
63536 + ld.d r8,r5[-32768]
63537 + ld.d r6,r4[32767]
63538 + ld.d r2,lr[1]
63539 + ld.d r14,r11[14784]
63540 + ld.d r6,r9[-18905]
63541 + ld.d r2,r3[-6355]
63542 + .text
63543 + .global ld_w4
63544 +ld_w4:
63545 + ld.w pc,pc[0]
63546 + ld.w r12,r12[-1]
63547 + ld.w r5,r5[-32768]
63548 + ld.w r4,r4[32767]
63549 + ld.w lr,lr[1]
63550 + ld.w r0,r12[-22133]
63551 + ld.w sp,pc[-20521]
63552 + /* ld.w r3,r5[29035] */
63553 + nop
63554 + .text
63555 + .global ld_sh4
63556 +ld_sh4:
63557 + ld.sh pc,pc[0]
63558 + ld.sh r12,r12[-1]
63559 + ld.sh r5,r5[-32768]
63560 + ld.sh r4,r4[32767]
63561 + ld.sh lr,lr[1]
63562 + ld.sh r6,r10[30930]
63563 + ld.sh r6,r10[21973]
63564 + /* ld.sh r11,r10[-2058] */
63565 + nop
63566 + .text
63567 + .global ld_uh4
63568 +ld_uh4:
63569 + ld.uh pc,pc[0]
63570 + ld.uh r12,r12[-1]
63571 + ld.uh r5,r5[-32768]
63572 + ld.uh r4,r4[32767]
63573 + ld.uh lr,lr[1]
63574 + ld.uh r1,r9[-13354]
63575 + ld.uh lr,r11[21337]
63576 + /* ld.uh r2,lr[-25370] */
63577 + nop
63578 + .text
63579 + .global ld_sb1
63580 +ld_sb1:
63581 + ld.sb pc,pc[0]
63582 + ld.sb r12,r12[-1]
63583 + ld.sb r5,r5[-32768]
63584 + ld.sb r4,r4[32767]
63585 + ld.sb lr,lr[1]
63586 + ld.sb r7,sp[-28663]
63587 + ld.sb r2,r1[-5879]
63588 + ld.sb r12,r3[18734]
63589 + .text
63590 + .global ld_ub4
63591 +ld_ub4:
63592 + ld.ub pc,pc[0]
63593 + ld.ub r12,r12[-1]
63594 + ld.ub r5,r5[-32768]
63595 + ld.ub r4,r4[32767]
63596 + ld.ub lr,lr[1]
63597 + ld.ub pc,r4[8277]
63598 + ld.ub r5,r12[19172]
63599 + ld.ub r10,lr[26347]
63600 + .text
63601 + .global st_d4
63602 +st_d4:
63603 + st.d pc[0],r0
63604 + st.d r12[-1],r14
63605 + st.d r5[-32768],r8
63606 + st.d r4[32767],r6
63607 + st.d lr[1],r2
63608 + st.d r5[13200],r10
63609 + st.d r5[9352],r10
63610 + st.d r5[32373],r4
63611 + .text
63612 + .global st_w4
63613 +st_w4:
63614 + st.w pc[0],pc
63615 + st.w r12[-1],r12
63616 + st.w r5[-32768],r5
63617 + st.w r4[32767],r4
63618 + st.w lr[1],lr
63619 + st.w sp[6136],r7
63620 + st.w r6[27087],r12
63621 + /* st.w r3[20143],r7 */
63622 + nop
63623 + .text
63624 + .global st_h4
63625 +st_h4:
63626 + st.h pc[0],pc
63627 + st.h r12[-1],r12
63628 + st.h r5[-32768],r5
63629 + st.h r4[32767],r4
63630 + st.h lr[1],lr
63631 + st.h r4[-9962],r7
63632 + st.h r9[-16250],r3
63633 + /* st.h r8[-28810],r7 */
63634 + nop
63635 + .text
63636 + .global st_b4
63637 +st_b4:
63638 + st.b pc[0],pc
63639 + st.b r12[-1],r12
63640 + st.b r5[-32768],r5
63641 + st.b r4[32767],r4
63642 + st.b lr[1],lr
63643 + st.b r12[30102],r6
63644 + st.b r5[28977],r1
63645 + st.b r0[5470],r1
63646 + .text
63647 + .global mfsr
63648 +mfsr:
63649 + mfsr pc,0
63650 + mfsr r12,1020
63651 + mfsr r5,512
63652 + mfsr r4,508
63653 + mfsr lr,4
63654 + mfsr r2,696
63655 + mfsr r4,260
63656 + mfsr r10,1016
63657 + .text
63658 + .global mtsr
63659 +mtsr:
63660 + mtsr 0,pc
63661 + mtsr 1020,r12
63662 + mtsr 512,r5
63663 + mtsr 508,r4
63664 + mtsr 4,lr
63665 + mtsr 224,r10
63666 + mtsr 836,r12
63667 + mtsr 304,r9
63668 + .text
63669 + .global mfdr
63670 +mfdr:
63671 + mfdr pc,0
63672 + mfdr r12,1020
63673 + mfdr r5,512
63674 + mfdr r4,508
63675 + mfdr lr,4
63676 + mfdr r6,932
63677 + mfdr r5,36
63678 + mfdr r9,300
63679 + .text
63680 + .global mtdr
63681 +mtdr:
63682 + mtdr 0,pc
63683 + mtdr 1020,r12
63684 + mtdr 512,r5
63685 + mtdr 508,r4
63686 + mtdr 4,lr
63687 + mtdr 180,r8
63688 + mtdr 720,r10
63689 + mtdr 408,lr
63690 + .text
63691 + .global sleep
63692 +sleep:
63693 + sleep 0
63694 + sleep 255
63695 + sleep 128
63696 + sleep 127
63697 + sleep 1
63698 + sleep 254
63699 + sleep 15
63700 + sleep 43
63701 + .text
63702 + .global sync
63703 +sync:
63704 + sync 0
63705 + sync 255
63706 + sync 128
63707 + sync 127
63708 + sync 1
63709 + sync 166
63710 + sync 230
63711 + sync 180
63712 + .text
63713 + .global bld
63714 +bld:
63715 + bld pc,0
63716 + bld r12,31
63717 + bld r5,16
63718 + bld r4,15
63719 + bld lr,1
63720 + bld r9,15
63721 + bld r0,4
63722 + bld lr,26
63723 + .text
63724 + .global bst
63725 +bst:
63726 + bst pc,0
63727 + bst r12,31
63728 + bst r5,16
63729 + bst r4,15
63730 + bst lr,1
63731 + bst r10,28
63732 + bst r0,3
63733 + bst sp,2
63734 + .text
63735 + .global sats
63736 +sats:
63737 + sats pc>>0,0
63738 + sats r12>>31,31
63739 + sats r5>>16,16
63740 + sats r4>>15,15
63741 + sats lr>>1,1
63742 + sats r10>>3,19
63743 + sats r10>>2,26
63744 + sats r1>>20,1
63745 + .text
63746 + .global satu
63747 +satu:
63748 + satu pc>>0,0
63749 + satu r12>>31,31
63750 + satu r5>>16,16
63751 + satu r4>>15,15
63752 + satu lr>>1,1
63753 + satu pc>>5,7
63754 + satu r7>>5,5
63755 + satu r2>>26,19
63756 + .text
63757 + .global satrnds
63758 +satrnds:
63759 + satrnds pc>>0,0
63760 + satrnds r12>>31,31
63761 + satrnds r5>>16,16
63762 + satrnds r4>>15,15
63763 + satrnds lr>>1,1
63764 + satrnds r0>>21,19
63765 + satrnds sp>>0,2
63766 + satrnds r7>>6,29
63767 + .text
63768 + .global satrndu
63769 +satrndu:
63770 + satrndu pc>>0,0
63771 + satrndu r12>>31,31
63772 + satrndu r5>>16,16
63773 + satrndu r4>>15,15
63774 + satrndu lr>>1,1
63775 + satrndu r12>>0,26
63776 + satrndu r4>>21,3
63777 + satrndu r10>>3,16
63778 + .text
63779 + .global subfc
63780 +subfc:
63781 + subfeq pc,0
63782 + subfal r12,-1
63783 + subfls r5,-128
63784 + subfpl r4,127
63785 + subfne lr,1
63786 + subfls r10,8
63787 + subfvc r11,99
63788 + subfvs r2,73
63789 + .text
63790 + .global subc
63791 +subc:
63792 + subeq pc,0
63793 + subal r12,-1
63794 + subls r5,-128
63795 + subpl r4,127
63796 + subne lr,1
63797 + subls r12,118
63798 + subvc lr,-12
63799 + submi r4,-13
63800 + .text
63801 + .global movc2
63802 +movc2:
63803 + moveq pc,0
63804 + moval r12,-1
63805 + movls r5,-128
63806 + movpl r4,127
63807 + movne lr,1
63808 + movlt r3,-122
63809 + movvc r8,2
63810 + movne r7,-111
63811 + .text
63812 + .global cp_b
63813 +cp_b:
63814 + cp.b pc,r0
63815 + cp.b r0,pc
63816 + cp.b r7,r8
63817 + cp.b r8,r7
63818 + .text
63819 + .global cp_h
63820 +cp_h:
63821 + cp.h pc,r0
63822 + cp.h r0,pc
63823 + cp.h r7,r8
63824 + cp.h r8,r7
63825 + .text
63826 + .global ldm
63827 +ldm:
63828 + ldm pc,r1-r6
63829 + ldm r12,r0-r15
63830 + ldm r5,r15
63831 + ldm r4,r0-r14
63832 + ldm lr,r0
63833 + ldm r9,r1,r5,r14
63834 + ldm r11,r2-r3,r5-r8,r15
63835 + ldm r6,r0,r3,r9,r13,r15
63836 + .text
63837 + .global ldm_pu
63838 +ldm_pu:
63839 + ldm pc++,r6-r9
63840 + ldm r12++,r0-r15
63841 + ldm r5++,r15
63842 + ldm r4++,r0-r14
63843 + ldm lr++,r0
63844 + ldm r12++,r3-r5,r8,r10,r12,r14-r15
63845 + ldm r10++,r2,r4-r6,r14-r15
63846 + ldm r6++,r1,r3-r4,r9-r14
63847 + .text
63848 + .global ldmts
63849 +ldmts:
63850 + ldmts pc,r7-r8
63851 + ldmts r12,r0-r15
63852 + ldmts r5,r15
63853 + ldmts r4,r0-r14
63854 + ldmts lr,r0
63855 + ldmts r0,r1-r2,r11-r12
63856 + ldmts lr,r0-r2,r4,r7-r8,r13-r14
63857 + ldmts r12,r0-r1,r3-r5,r9,r14-r15
63858 + .text
63859 + .global ldmts_pu
63860 +ldmts_pu:
63861 + ldmts pc++,r9
63862 + ldmts r12++,r0-r15
63863 + ldmts r5++,r15
63864 + ldmts r4++,r0-r14
63865 + ldmts lr++,r0
63866 + ldmts sp++,r0,r2-r5,r7,r9,r11
63867 + ldmts r5++,r1-r3,r7,r10-r11
63868 + ldmts r8++,r2-r4,r7-r8,r13,r15
63869 + .text
63870 + .global stm
63871 +stm:
63872 + stm pc,r7
63873 + stm r12,r0-r15
63874 + stm r5,r15
63875 + stm r4,r0-r14
63876 + stm lr,r0
63877 + stm sp,r2-r3,r5,r8,r11,r14
63878 + stm r4,r0-r4,r6,r10-r11,r14
63879 + stm r9,r1,r5,r9,r12-r15
63880 + .text
63881 + .global stm_pu
63882 +stm_pu:
63883 + stm --pc,r4-r6
63884 + stm --r12,r0-r15
63885 + stm --r5,r15
63886 + stm --r4,r0-r14
63887 + stm --lr,r0
63888 + stm --r11,r0,r4-r9,r11-r15
63889 + stm --r11,r0,r3,r9-r10,r12,r14
63890 + stm --r6,r2,r8-r9,r13-r14
63891 + .text
63892 + .global stmts
63893 +stmts:
63894 + stmts pc,r8
63895 + stmts r12,r0-r15
63896 + stmts r5,r15
63897 + stmts r4,r0-r14
63898 + stmts lr,r0
63899 + stmts r1,r0-r1,r3-r4,r6,r9-r10,r14-r15
63900 + stmts r3,r0,r6-r8,r10-r12
63901 + stmts r11,r0,r4,r6-r7,r9-r10,r12,r14-r15
63902 + .text
63903 + .global stmts_pu
63904 +stmts_pu:
63905 + stmts --pc,r6-r8
63906 + stmts --r12,r0-r15
63907 + stmts --r5,r15
63908 + stmts --r4,r0-r14
63909 + stmts --lr,r0
63910 + stmts --r2,r0,r3-r4,r9-r10,r12-r13
63911 + stmts --r3,r0-r1,r14-r15
63912 + stmts --r0,r0,r2-r6,r10,r14
63913 + .text
63914 + .global ldins_h
63915 +ldins_h:
63916 + ldins.h pc:b,pc[0]
63917 + ldins.h r12:t,r12[-2]
63918 + ldins.h r5:t,r5[-4096]
63919 + ldins.h r4:b,r4[4094]
63920 + ldins.h lr:t,lr[2]
63921 + ldins.h r0:t,lr[1930]
63922 + ldins.h r3:b,r7[-534]
63923 + ldins.h r2:b,r12[-2252]
63924 + .text
63925 + .global ldins_b
63926 +ldins_b:
63927 + ldins.b pc:b,pc[0]
63928 + ldins.b r12:t,r12[-1]
63929 + ldins.b r5:u,r5[-2048]
63930 + ldins.b r4:l,r4[2047]
63931 + ldins.b lr:l,lr[1]
63932 + ldins.b r6:t,r4[-662]
63933 + ldins.b r5:b,r1[-151]
63934 + ldins.b r10:t,r11[-1923]
63935 + .text
63936 + .global ldswp_sh
63937 +ldswp_sh:
63938 + ldswp.sh pc,pc[0]
63939 + ldswp.sh r12,r12[-2]
63940 + ldswp.sh r5,r5[-4096]
63941 + ldswp.sh r4,r4[4094]
63942 + ldswp.sh lr,lr[2]
63943 + ldswp.sh r9,r10[3848]
63944 + ldswp.sh r4,r12[-2040]
63945 + ldswp.sh r10,r2[3088]
63946 + .text
63947 + .global ldswp_uh
63948 +ldswp_uh:
63949 + ldswp.uh pc,pc[0]
63950 + ldswp.uh r12,r12[-2]
63951 + ldswp.uh r5,r5[-4096]
63952 + ldswp.uh r4,r4[4094]
63953 + ldswp.uh lr,lr[2]
63954 + ldswp.uh r4,r9[3724]
63955 + ldswp.uh lr,sp[-1672]
63956 + ldswp.uh r8,r12[-3846]
63957 + .text
63958 + .global ldswp_w
63959 +ldswp_w:
63960 + ldswp.w pc,pc[0]
63961 + ldswp.w r12,r12[-4]
63962 + ldswp.w r5,r5[-8192]
63963 + ldswp.w r4,r4[8188]
63964 + ldswp.w lr,lr[4]
63965 + ldswp.w sp,r7[1860]
63966 + ldswp.w pc,r5[-3324]
63967 + ldswp.w r12,r10[-3296]
63968 + .text
63969 + .global stswp_h
63970 +stswp_h:
63971 + stswp.h pc[0],pc
63972 + stswp.h r12[-2],r12
63973 + stswp.h r5[-4096],r5
63974 + stswp.h r4[4094],r4
63975 + stswp.h lr[2],lr
63976 + stswp.h r7[64],r10
63977 + stswp.h r10[3024],r2
63978 + stswp.h r0[-2328],r10
63979 + .text
63980 + .global stswp_w
63981 +stswp_w:
63982 + stswp.w pc[0],pc
63983 + stswp.w r12[-4],r12
63984 + stswp.w r5[-8192],r5
63985 + stswp.w r4[8188],r4
63986 + stswp.w lr[4],lr
63987 + stswp.w pc[1156],r8
63988 + stswp.w sp[7992],r10
63989 + stswp.w r8[-1172],r5
63990 + .text
63991 + .global and2
63992 +and2:
63993 + and pc,pc,pc<<0
63994 + and r12,r12,r12<<31
63995 + and r5,r5,r5<<16
63996 + and r4,r4,r4<<15
63997 + and lr,lr,lr<<1
63998 + and r10,r2,r1<<1
63999 + and r12,r8,r11<<27
64000 + and r10,r7,r0<<3
64001 + .text
64002 + .global and3
64003 +and3:
64004 + and pc,pc,pc>>0
64005 + and r12,r12,r12>>31
64006 + and r5,r5,r5>>16
64007 + and r4,r4,r4>>15
64008 + and lr,lr,lr>>1
64009 + and r12,r8,r7>>17
64010 + and pc,r4,r9>>20
64011 + and r10,r9,r10>>12
64012 + .text
64013 + .global or2
64014 +or2:
64015 + or pc,pc,pc<<0
64016 + or r12,r12,r12<<31
64017 + or r5,r5,r5<<16
64018 + or r4,r4,r4<<15
64019 + or lr,lr,lr<<1
64020 + or r8,sp,r11<<29
64021 + or pc,r9,r2<<28
64022 + or r5,r1,r2<<3
64023 + .text
64024 + .global or3
64025 +or3:
64026 + or pc,pc,pc>>0
64027 + or r12,r12,r12>>31
64028 + or r5,r5,r5>>16
64029 + or r4,r4,r4>>15
64030 + or lr,lr,lr>>1
64031 + or r1,sp,sp>>2
64032 + or r0,r1,r1>>29
64033 + or r4,r12,r8>>8
64034 + .text
64035 + .global eor2
64036 +eor2:
64037 + eor pc,pc,pc<<0
64038 + eor r12,r12,r12<<31
64039 + eor r5,r5,r5<<16
64040 + eor r4,r4,r4<<15
64041 + eor lr,lr,lr<<1
64042 + eor r10,r9,r4<<11
64043 + eor r4,r0,r1<<31
64044 + eor r6,r2,r12<<13
64045 + .text
64046 + .global eor3
64047 +eor3:
64048 + eor pc,pc,pc>>0
64049 + eor r12,r12,r12>>31
64050 + eor r5,r5,r5>>16
64051 + eor r4,r4,r4>>15
64052 + eor lr,lr,lr>>1
64053 + eor r5,r5,r5>>22
64054 + eor r10,r1,lr>>3
64055 + eor r7,lr,sp>>26
64056 + .text
64057 + .global sthh_w2
64058 +sthh_w2:
64059 + sthh.w pc[pc<<0],pc:b,pc:b
64060 + sthh.w r12[r12<<3],r12:t,r12:t
64061 + sthh.w r5[r5<<2],r5:t,r5:t
64062 + sthh.w r4[r4<<1],r4:b,r4:b
64063 + sthh.w lr[lr<<1],lr:t,lr:t
64064 + sthh.w sp[r6<<3],r1:t,r12:t
64065 + sthh.w r6[r6<<0],r9:t,r9:t
64066 + sthh.w r10[r3<<0],r0:b,r11:t
64067 + .text
64068 + .global sthh_w1
64069 +sthh_w1:
64070 + sthh.w pc[0],pc:b,pc:b
64071 + sthh.w r12[1020],r12:t,r12:t
64072 + sthh.w r5[512],r5:t,r5:t
64073 + sthh.w r4[508],r4:b,r4:b
64074 + sthh.w lr[4],lr:t,lr:t
64075 + sthh.w r4[404],r9:t,r0:b
64076 + sthh.w r8[348],r2:t,r10:b
64077 + sthh.w sp[172],r9:b,r2:b
64078 + .text
64079 + .global cop
64080 +cop:
64081 + cop cp0,cr0,cr0,cr0,0
64082 + cop cp7,cr15,cr15,cr15,0x7f
64083 + cop cp3,cr5,cr5,cr5,0x31
64084 + cop cp2,cr4,cr4,cr4,0x30
64085 + cop cp5,cr8,cr3,cr7,0x5a
64086 + .text
64087 + .global ldc_w1
64088 +ldc_w1:
64089 + ldc.w cp0,cr0,r0[0]
64090 + ldc.w cp7,cr15,pc[255<<2]
64091 + ldc.w cp3,cr5,r5[128<<2]
64092 + ldc.w cp2,cr4,r4[127<<2]
64093 + ldc.w cp4,cr9,r13[36<<2]
64094 + .text
64095 + .global ldc_w2
64096 +ldc_w2:
64097 + ldc.w cp0,cr0,--r0
64098 + ldc.w cp7,cr15,--pc
64099 + ldc.w cp3,cr5,--r5
64100 + ldc.w cp2,cr4,--r4
64101 + ldc.w cp4,cr9,--r13
64102 + .text
64103 + .global ldc_w3
64104 +ldc_w3:
64105 + ldc.w cp0,cr0,r0[r0]
64106 + ldc.w cp7,cr15,pc[pc<<3]
64107 + ldc.w cp3,cr5,r5[r4<<2]
64108 + ldc.w cp2,cr4,r4[r3<<1]
64109 + ldc.w cp4,cr9,r13[r12<<0]
64110 + .text
64111 + .global ldc_d1
64112 +ldc_d1:
64113 + ldc.d cp0,cr0,r0[0]
64114 + ldc.d cp7,cr14,pc[255<<2]
64115 + ldc.d cp3,cr6,r5[128<<2]
64116 + ldc.d cp2,cr4,r4[127<<2]
64117 + ldc.d cp4,cr8,r13[36<<2]
64118 + .text
64119 + .global ldc_d2
64120 +ldc_d2:
64121 + ldc.d cp0,cr0,--r0
64122 + ldc.d cp7,cr14,--pc
64123 + ldc.d cp3,cr6,--r5
64124 + ldc.d cp2,cr4,--r4
64125 + ldc.d cp4,cr8,--r13
64126 + .text
64127 + .global ldc_d3
64128 +ldc_d3:
64129 + ldc.d cp0,cr0,r0[r0]
64130 + ldc.d cp7,cr14,pc[pc<<3]
64131 + ldc.d cp3,cr6,r5[r4<<2]
64132 + ldc.d cp2,cr4,r4[r3<<1]
64133 + ldc.d cp4,cr8,r13[r12<<0]
64134 + .text
64135 + .global stc_w1
64136 +stc_w1:
64137 + stc.w cp0,r0[0],cr0
64138 + stc.w cp7,pc[255<<2],cr15
64139 + stc.w cp3,r5[128<<2],cr5
64140 + stc.w cp2,r4[127<<2],cr4
64141 + stc.w cp4,r13[36<<2],cr9
64142 + .text
64143 + .global stc_w2
64144 +stc_w2:
64145 + stc.w cp0,r0++,cr0
64146 + stc.w cp7,pc++,cr15
64147 + stc.w cp3,r5++,cr5
64148 + stc.w cp2,r4++,cr4
64149 + stc.w cp4,r13++,cr9
64150 + .text
64151 + .global stc_w3
64152 +stc_w3:
64153 + stc.w cp0,r0[r0],cr0
64154 + stc.w cp7,pc[pc<<3],cr15
64155 + stc.w cp3,r5[r4<<2],cr5
64156 + stc.w cp2,r4[r3<<1],cr4
64157 + stc.w cp4,r13[r12<<0],cr9
64158 + .text
64159 + .global stc_d1
64160 +stc_d1:
64161 + stc.d cp0,r0[0],cr0
64162 + stc.d cp7,pc[255<<2],cr14
64163 + stc.d cp3,r5[128<<2],cr6
64164 + stc.d cp2,r4[127<<2],cr4
64165 + stc.d cp4,r13[36<<2],cr8
64166 + .text
64167 + .global stc_d2
64168 +stc_d2:
64169 + stc.d cp0,r0++,cr0
64170 + stc.d cp7,pc++,cr14
64171 + stc.d cp3,r5++,cr6
64172 + stc.d cp2,r4++,cr4
64173 + stc.d cp4,r13++,cr8
64174 + .text
64175 + .global stc_d3
64176 +stc_d3:
64177 + stc.d cp0,r0[r0],cr0
64178 + stc.d cp7,pc[pc<<3],cr14
64179 + stc.d cp3,r5[r4<<2],cr6
64180 + stc.d cp2,r4[r3<<1],cr4
64181 + stc.d cp4,r13[r12<<0],cr8
64182 + .text
64183 + .global ldc0_w
64184 +ldc0_w:
64185 + ldc0.w cr0,r0[0]
64186 + ldc0.w cr15,pc[4095<<2]
64187 + ldc0.w cr5,r5[2048<<2]
64188 + ldc0.w cr4,r4[2047<<2]
64189 + ldc0.w cr9,r13[147<<2]
64190 + .text
64191 + .global ldc0_d
64192 +ldc0_d:
64193 + ldc0.d cr0,r0[0]
64194 + ldc0.d cr14,pc[4095<<2]
64195 + ldc0.d cr6,r5[2048<<2]
64196 + ldc0.d cr4,r4[2047<<2]
64197 + ldc0.d cr8,r13[147<<2]
64198 + .text
64199 + .global stc0_w
64200 +stc0_w:
64201 + stc0.w r0[0],cr0
64202 + stc0.w pc[4095<<2],cr15
64203 + stc0.w r5[2048<<2],cr5
64204 + stc0.w r4[2047<<2],cr4
64205 + stc0.w r13[147<<2],cr9
64206 + .text
64207 + .global stc0_d
64208 +stc0_d:
64209 + stc0.d r0[0],cr0
64210 + stc0.d pc[4095<<2],cr14
64211 + stc0.d r5[2048<<2],cr6
64212 + stc0.d r4[2047<<2],cr4
64213 + stc0.d r13[147<<2],cr8
64214 + .text
64215 + .global memc
64216 +memc:
64217 + memc 0, 0
64218 + memc -4, 31
64219 + memc -65536, 16
64220 + memc 65532, 15
64221 + .text
64222 + .global mems
64223 +mems:
64224 + mems 0, 0
64225 + mems -4, 31
64226 + mems -65536, 16
64227 + mems 65532, 15
64228 + .text
64229 + .global memt
64230 +memt:
64231 + memt 0, 0
64232 + memt -4, 31
64233 + memt -65536, 16
64234 + memt 65532, 15
64235 +
64236 + .text
64237 + .global stcond
64238 +stcond:
64239 + stcond r0[0], r0
64240 + stcond pc[-1], pc
64241 + stcond r8[-32768], r7
64242 + stcond r7[32767], r8
64243 + stcond r5[0x1234], r10
64244 +
64245 +ldcm_w:
64246 + ldcm.w cp0,pc,cr0-cr7
64247 + ldcm.w cp7,r0,cr0
64248 + ldcm.w cp4,r4++,cr0-cr6
64249 + ldcm.w cp3,r7,cr7
64250 + ldcm.w cp1,r12++,cr1,cr4-cr6
64251 + ldcm.w cp0,pc,cr8-cr15
64252 + ldcm.w cp7,r0,cr8
64253 + ldcm.w cp4,r4++,cr8-cr14
64254 + ldcm.w cp3,r7,cr15
64255 + ldcm.w cp1,r12++,cr9,cr12-cr14
64256 +
64257 +ldcm_d:
64258 + ldcm.d cp0,pc,cr0-cr15
64259 + ldcm.d cp7,r0,cr0,cr1
64260 + ldcm.d cp4,r4++,cr0-cr13
64261 + ldcm.d cp3,r7,cr14-cr15
64262 + ldcm.d cp2,r12++,cr0-cr3,cr8-cr9,cr14-cr15
64263 +
64264 +stcm_w:
64265 + stcm.w cp0,pc,cr0-cr7
64266 + stcm.w cp7,r0,cr0
64267 + stcm.w cp4,--r4,cr0-cr6
64268 + stcm.w cp3,r7,cr7
64269 + stcm.w cp1,--r12,cr1,cr4-cr6
64270 + stcm.w cp0,pc,cr8-cr15
64271 + stcm.w cp7,r0,cr8
64272 + stcm.w cp4,--r4,cr8-cr14
64273 + stcm.w cp3,r7,cr15
64274 + stcm.w cp1,--r12,cr9,cr12-cr14
64275 +
64276 +stcm_d:
64277 + stcm.d cp0,pc,cr0-cr15
64278 + stcm.d cp7,r0,cr0,cr1
64279 + stcm.d cp4,--r4,cr0-cr13
64280 + stcm.d cp3,r7,cr14-cr15
64281 + stcm.d cp2,--r12,cr0-cr3,cr8-cr9,cr14-cr15
64282 +
64283 +mvcr_w:
64284 + mvcr.w cp7,pc,cr15
64285 + mvcr.w cp0,r0,cr0
64286 + mvcr.w cp0,pc,cr15
64287 + mvcr.w cp7,r0,cr15
64288 + mvcr.w cp7,pc,cr0
64289 + mvcr.w cp4,r7,cr8
64290 + mvcr.w cp3,r8,cr7
64291 +
64292 +mvcr_d:
64293 + mvcr.d cp7,lr,cr14
64294 + mvcr.d cp0,r0,cr0
64295 + mvcr.d cp0,lr,cr14
64296 + mvcr.d cp7,r0,cr14
64297 + mvcr.d cp7,lr,cr0
64298 + mvcr.d cp4,r6,cr8
64299 + mvcr.d cp3,r8,cr6
64300 +
64301 +mvrc_w:
64302 + mvrc.w cp7,cr15,pc
64303 + mvrc.w cp0,cr0,r0
64304 + mvrc.w cp0,cr15,pc
64305 + mvrc.w cp7,cr15,r0
64306 + mvrc.w cp7,cr0,pc
64307 + mvrc.w cp4,cr8,r7
64308 + mvrc.w cp3,cr7,r8
64309 +
64310 +mvrc_d:
64311 + mvrc.d cp7,cr14,lr
64312 + mvrc.d cp0,cr0,r0
64313 + mvrc.d cp0,cr14,lr
64314 + mvrc.d cp7,cr14,r0
64315 + mvrc.d cp7,cr0,lr
64316 + mvrc.d cp4,cr8,r6
64317 + mvrc.d cp3,cr6,r8
64318 +
64319 +bfexts:
64320 + bfexts pc,pc,31,31
64321 + bfexts r0,r0,0,0
64322 + bfexts r0,pc,31,31
64323 + bfexts pc,r0,31,31
64324 + bfexts pc,pc,0,31
64325 + bfexts pc,pc,31,0
64326 + bfexts r7,r8,15,16
64327 + bfexts r8,r7,16,15
64328 +
64329 +bfextu:
64330 + bfextu pc,pc,31,31
64331 + bfextu r0,r0,0,0
64332 + bfextu r0,pc,31,31
64333 + bfextu pc,r0,31,31
64334 + bfextu pc,pc,0,31
64335 + bfextu pc,pc,31,0
64336 + bfextu r7,r8,15,16
64337 + bfextu r8,r7,16,15
64338 +
64339 +bfins:
64340 + bfins pc,pc,31,31
64341 + bfins r0,r0,0,0
64342 + bfins r0,pc,31,31
64343 + bfins pc,r0,31,31
64344 + bfins pc,pc,0,31
64345 + bfins pc,pc,31,0
64346 + bfins r7,r8,15,16
64347 + bfins r8,r7,16,15
64348 diff -Nrup binutils-2.17/gas/testsuite/gas/avr32/avr32.exp binutils-2.17-atmel/gas/testsuite/gas/avr32/avr32.exp
64349 --- binutils-2.17/gas/testsuite/gas/avr32/avr32.exp 1970-01-01 01:00:00.000000000 +0100
64350 +++ binutils-2.17-atmel/gas/testsuite/gas/avr32/avr32.exp 2006-10-03 17:19:02.000000000 +0200
64351 @@ -0,0 +1,23 @@
64352 +# AVR32 assembler testsuite. -*- Tcl -*-
64353 +
64354 +if [istarget avr32-*-*] {
64355 + run_dump_test "hwrd-lwrd"
64356 + run_dump_test "pcrel"
64357 + run_dump_test "aliases"
64358 + run_dump_test "dwarf2"
64359 + run_dump_test "pic_reloc"
64360 + run_dump_test "fpinsn"
64361 + run_dump_test "pico"
64362 + run_dump_test "lda_pic"
64363 + run_dump_test "lda_pic_linkrelax"
64364 + run_dump_test "lda_nopic"
64365 + run_dump_test "lda_nopic_linkrelax"
64366 + run_dump_test "call_pic"
64367 + run_dump_test "call_pic_linkrelax"
64368 + run_dump_test "call_nopic"
64369 + run_dump_test "call_nopic_linkrelax"
64370 + run_dump_test "jmptable"
64371 + run_dump_test "jmptable_linkrelax"
64372 + run_dump_test "symdiff"
64373 + run_dump_test "symdiff_linkrelax"
64374 +}
64375 diff -Nrup binutils-2.17/gas/testsuite/gas/avr32/call_nopic.d binutils-2.17-atmel/gas/testsuite/gas/avr32/call_nopic.d
64376 --- binutils-2.17/gas/testsuite/gas/avr32/call_nopic.d 1970-01-01 01:00:00.000000000 +0100
64377 +++ binutils-2.17-atmel/gas/testsuite/gas/avr32/call_nopic.d 2006-08-04 14:51:13.000000000 +0200
64378 @@ -0,0 +1,36 @@
64379 +#source: call.s
64380 +#as:
64381 +#objdump: -dr
64382 +#name: call_nopic
64383 +
64384 +.*: +file format .*
64385 +
64386 +Disassembly of section \.text:
64387 +
64388 +00000000 <call_test>:
64389 + 0: d7 03 nop
64390 +
64391 +00000002 <toofar_negative>:
64392 + \.\.\.
64393 + 1ffffe: 00 00 add r0,r0
64394 + 200000: f0 a0 00 00 rcall 0 <call_test>
64395 + 200004: f0 1f 00 0c mcall 200034 <toofar_negative\+0x200032>
64396 + 200008: f0 1f 00 0c mcall 200038 <toofar_negative\+0x200036>
64397 + 20000c: f0 1f 00 0c mcall 20003c <toofar_negative\+0x20003a>
64398 + 200010: f0 1f 00 0c mcall 200040 <toofar_negative\+0x20003e>
64399 + \.\.\.
64400 + 200030: ee b0 ff ff rcall 40002e <far_positive>
64401 + \.\.\.
64402 + 200034: R_AVR32_32_CPENT \.text\+0x2
64403 + 200038: R_AVR32_32_CPENT \.text\.init
64404 + 20003c: R_AVR32_32_CPENT undefined
64405 + 200040: R_AVR32_32_CPENT \.text\+0x40002c
64406 +
64407 +0040002c <toofar_positive>:
64408 + 40002c: d7 03 nop
64409 +0040002e <far_positive>:
64410 + 40002e: d7 03 nop
64411 +Disassembly of section \.text\.init:
64412 +
64413 +00000000 <different_section>:
64414 + 0: e2 c0 00 00 sub r0,r1,0
64415 diff -Nrup binutils-2.17/gas/testsuite/gas/avr32/call_nopic_linkrelax.d binutils-2.17-atmel/gas/testsuite/gas/avr32/call_nopic_linkrelax.d
64416 --- binutils-2.17/gas/testsuite/gas/avr32/call_nopic_linkrelax.d 1970-01-01 01:00:00.000000000 +0100
64417 +++ binutils-2.17-atmel/gas/testsuite/gas/avr32/call_nopic_linkrelax.d 2006-08-04 14:51:13.000000000 +0200
64418 @@ -0,0 +1,43 @@
64419 +#source: call.s
64420 +#as: --linkrelax
64421 +#objdump: -dr
64422 +#name: call_nopic_linkrelax
64423 +
64424 +.*: +file format .*
64425 +
64426 +Disassembly of section \.text:
64427 +
64428 +00000000 <call_test>:
64429 + 0: d7 03 nop
64430 +
64431 +00000002 <toofar_negative>:
64432 + \.\.\.
64433 + 1ffffe: 00 00 add r0,r0
64434 + 200000: e0 a0 00 00 rcall 200000 <toofar_negative\+0x1ffffe>
64435 + 200000: R_AVR32_22H_PCREL \.text
64436 + 200004: f0 1f 00 00 mcall 200004 <toofar_negative\+0x200002>
64437 + 200004: R_AVR32_CPCALL \.text\+0x200034
64438 + 200008: f0 1f 00 00 mcall 200008 <toofar_negative\+0x200006>
64439 + 200008: R_AVR32_CPCALL \.text\+0x200038
64440 + 20000c: f0 1f 00 00 mcall 20000c <toofar_negative\+0x20000a>
64441 + 20000c: R_AVR32_CPCALL \.text\+0x20003c
64442 + 200010: f0 1f 00 00 mcall 200010 <toofar_negative\+0x20000e>
64443 + 200010: R_AVR32_CPCALL \.text\+0x200040
64444 + \.\.\.
64445 + 200030: e0 a0 00 00 rcall 200030 <toofar_negative\+0x20002e>
64446 + 200030: R_AVR32_22H_PCREL \.text\+0x40002e
64447 + \.\.\.
64448 + 200034: R_AVR32_ALIGN \*ABS\*\+0x2
64449 + 200034: R_AVR32_32_CPENT \.text\+0x2
64450 + 200038: R_AVR32_32_CPENT \.text\.init
64451 + 20003c: R_AVR32_32_CPENT undefined
64452 + 200040: R_AVR32_32_CPENT \.text\+0x40002c
64453 +
64454 +0040002c <toofar_positive>:
64455 + 40002c: d7 03 nop
64456 +0040002e <far_positive>:
64457 + 40002e: d7 03 nop
64458 +Disassembly of section \.text\.init:
64459 +
64460 +00000000 <different_section>:
64461 + 0: e2 c0 00 00 sub r0,r1,0
64462 diff -Nrup binutils-2.17/gas/testsuite/gas/avr32/call_pic.d binutils-2.17-atmel/gas/testsuite/gas/avr32/call_pic.d
64463 --- binutils-2.17/gas/testsuite/gas/avr32/call_pic.d 1970-01-01 01:00:00.000000000 +0100
64464 +++ binutils-2.17-atmel/gas/testsuite/gas/avr32/call_pic.d 2006-08-04 14:51:13.000000000 +0200
64465 @@ -0,0 +1,36 @@
64466 +#source: call.s
64467 +#as: --pic
64468 +#objdump: -dr
64469 +#name: call_pic
64470 +
64471 +.*: +file format .*
64472 +
64473 +Disassembly of section \.text:
64474 +
64475 +00000000 <call_test>:
64476 + 0: d7 03 nop
64477 +
64478 +00000002 <toofar_negative>:
64479 + \.\.\.
64480 + 1ffffe: 00 00 add r0,r0
64481 + 200000: f0 a0 00 00 rcall 0 <call_test>
64482 + 200004: f0 16 00 00 mcall r6\[0\]
64483 + 200004: R_AVR32_GOT18SW toofar_negative
64484 + 200008: f0 16 00 00 mcall r6\[0\]
64485 + 200008: R_AVR32_GOT18SW different_section
64486 + 20000c: f0 16 00 00 mcall r6\[0\]
64487 + 20000c: R_AVR32_GOT18SW undefined
64488 + 200010: f0 16 00 00 mcall r6\[0\]
64489 + 200010: R_AVR32_GOT18SW toofar_positive
64490 + \.\.\.
64491 + 200030: ee b0 ff ff rcall 40002e <far_positive>
64492 + \.\.\.
64493 +
64494 +0040002c <toofar_positive>:
64495 + 40002c: d7 03 nop
64496 +0040002e <far_positive>:
64497 + 40002e: d7 03 nop
64498 +Disassembly of section \.text\.init:
64499 +
64500 +00000000 <different_section>:
64501 + 0: e2 c0 00 00 sub r0,r1,0
64502 diff -Nrup binutils-2.17/gas/testsuite/gas/avr32/call_pic_linkrelax.d binutils-2.17-atmel/gas/testsuite/gas/avr32/call_pic_linkrelax.d
64503 --- binutils-2.17/gas/testsuite/gas/avr32/call_pic_linkrelax.d 1970-01-01 01:00:00.000000000 +0100
64504 +++ binutils-2.17-atmel/gas/testsuite/gas/avr32/call_pic_linkrelax.d 2006-08-04 14:51:13.000000000 +0200
64505 @@ -0,0 +1,47 @@
64506 +#source: call.s
64507 +#as: --pic --linkrelax
64508 +#objdump: -dr
64509 +#name: call_pic_linkrelax
64510 +
64511 +.*: +file format .*
64512 +
64513 +Disassembly of section \.text:
64514 +
64515 +00000000 <call_test>:
64516 + 0: d7 03 nop
64517 +
64518 +00000002 <toofar_negative>:
64519 + \.\.\.
64520 + 1ffffe: 00 00 add r0,r0
64521 + 200000: e0 a0 00 00 rcall 200000 <toofar_negative\+0x1ffffe>
64522 + 200000: R_AVR32_22H_PCREL \.text
64523 + 200004: e0 6e 00 00 mov lr,0
64524 + 200004: R_AVR32_GOTCALL toofar_negative
64525 + 200008: ec 0e 03 2e ld\.w lr,r6\[lr<<0x2\]
64526 + 20000c: 5d 1e icall lr
64527 + 20000e: e0 6e 00 00 mov lr,0
64528 + 20000e: R_AVR32_GOTCALL different_section
64529 + 200012: ec 0e 03 2e ld\.w lr,r6\[lr<<0x2\]
64530 + 200016: 5d 1e icall lr
64531 + 200018: e0 6e 00 00 mov lr,0
64532 + 200018: R_AVR32_GOTCALL undefined
64533 + 20001c: ec 0e 03 2e ld\.w lr,r6\[lr<<0x2\]
64534 + 200020: 5d 1e icall lr
64535 + 200022: e0 6e 00 00 mov lr,0
64536 + 200022: R_AVR32_GOTCALL toofar_positive
64537 + 200026: ec 0e 03 2e ld\.w lr,r6\[lr<<0x2\]
64538 + 20002a: 5d 1e icall lr
64539 + 20002c: 00 00 add r0,r0
64540 + 20002e: 00 00 add r0,r0
64541 + 200030: e0 a0 00 00 rcall 200030 <toofar_negative\+0x20002e>
64542 + 200030: R_AVR32_22H_PCREL \.text\+0x40002e
64543 + \.\.\.
64544 +
64545 +0040002c <toofar_positive>:
64546 + 40002c: d7 03 nop
64547 +0040002e <far_positive>:
64548 + 40002e: d7 03 nop
64549 +Disassembly of section \.text\.init:
64550 +
64551 +00000000 <different_section>:
64552 + 0: e2 c0 00 00 sub r0,r1,0
64553 diff -Nrup binutils-2.17/gas/testsuite/gas/avr32/call.s binutils-2.17-atmel/gas/testsuite/gas/avr32/call.s
64554 --- binutils-2.17/gas/testsuite/gas/avr32/call.s 1970-01-01 01:00:00.000000000 +0100
64555 +++ binutils-2.17-atmel/gas/testsuite/gas/avr32/call.s 2006-08-04 14:51:13.000000000 +0200
64556 @@ -0,0 +1,30 @@
64557 +
64558 + .text
64559 + .global call_test
64560 +call_test:
64561 +far_negative:
64562 + nop
64563 +toofar_negative:
64564 +
64565 + .org 0x200000
64566 +
64567 + call far_negative
64568 + call toofar_negative
64569 + call different_section
64570 + call undefined
64571 + call toofar_positive
64572 + .org 0x200030
64573 + call far_positive
64574 +
64575 + .cpool
64576 +
64577 + .org 0x40002c
64578 +
64579 +toofar_positive:
64580 + nop
64581 +far_positive:
64582 + nop
64583 +
64584 + .section .text.init,"ax",@progbits
64585 +different_section:
64586 + sub r0, r1, 0
64587 diff -Nrup binutils-2.17/gas/testsuite/gas/avr32/dwarf2.d binutils-2.17-atmel/gas/testsuite/gas/avr32/dwarf2.d
64588 --- binutils-2.17/gas/testsuite/gas/avr32/dwarf2.d 1970-01-01 01:00:00.000000000 +0100
64589 +++ binutils-2.17-atmel/gas/testsuite/gas/avr32/dwarf2.d 2006-08-04 14:51:13.000000000 +0200
64590 @@ -0,0 +1,42 @@
64591 +#readelf: -wl
64592 +#name: dwarf2
64593 +#source: dwarf2.s
64594 +
64595 +Dump of debug contents of section \.debug_line:
64596 +
64597 + Length: 53
64598 + DWARF Version: 2
64599 + Prologue Length: 26
64600 + Minimum Instruction Length: 1
64601 + Initial value of 'is_stmt': 1
64602 + Line Base: -5
64603 + Line Range: 14
64604 + Opcode Base: 10
64605 + \(Pointer size: 4\)
64606 +
64607 + Opcodes:
64608 + Opcode 1 has 0 args
64609 + Opcode 2 has 1 args
64610 + Opcode 3 has 1 args
64611 + Opcode 4 has 1 args
64612 + Opcode 5 has 1 args
64613 + Opcode 6 has 0 args
64614 + Opcode 7 has 0 args
64615 + Opcode 8 has 0 args
64616 + Opcode 9 has 1 args
64617 +
64618 + The Directory Table is empty\.
64619 +
64620 + The File Name Table:
64621 + Entry Dir Time Size Name
64622 + 1 0 0 0 main\.c
64623 +
64624 + Line Number Statements:
64625 + Extended opcode 2: set Address to 0x0
64626 + Advance Line by 87 to 88
64627 + Copy
64628 + Advance Line by 23 to 111
64629 + Special opcode .*: advance Address by 4 to 0x4 and Line by 0 to 111
64630 + Special opcode .*: advance Address by 10 to 0xe and Line by 1 to 112
64631 + Advance PC by 530 to 220
64632 + Extended opcode 1: End of Sequence
64633 diff -Nrup binutils-2.17/gas/testsuite/gas/avr32/dwarf2.s binutils-2.17-atmel/gas/testsuite/gas/avr32/dwarf2.s
64634 --- binutils-2.17/gas/testsuite/gas/avr32/dwarf2.s 1970-01-01 01:00:00.000000000 +0100
64635 +++ binutils-2.17-atmel/gas/testsuite/gas/avr32/dwarf2.s 2006-08-04 14:51:13.000000000 +0200
64636 @@ -0,0 +1,67 @@
64637 +# Source file used to test DWARF2 information for AVR32.
64638 +
64639 + .file "main.c"
64640 +
64641 + .section .debug_abbrev,"",@progbits
64642 +.Ldebug_abbrev0:
64643 + .section .debug_info,"",@progbits
64644 +.Ldebug_info0:
64645 + .section .debug_line,"",@progbits
64646 +.Ldebug_line0:
64647 +
64648 + .text
64649 + .align 1
64650 + .globl main
64651 + .type main, @function
64652 +.Ltext0:
64653 +main:
64654 + .file 1 "main.c"
64655 + .loc 1 88 0
64656 + pushm r0-r7,lr
64657 + sub sp, 4
64658 + .loc 1 111 0
64659 + lddpc r12, .LC1
64660 + lddpc r7, .LC1
64661 + icall r7
64662 + .loc 1 112 0
64663 + lddpc r6, .LC4
64664 +
64665 + .align 2
64666 +.LC4: .int 0
64667 +
64668 + .fill 256, 2, 0
64669 +
64670 + .align 2
64671 +.LC1:
64672 + .int 0
64673 +.LC2:
64674 + .int 0
64675 +.LC3:
64676 + .int 0
64677 + .size main, . - main
64678 +
64679 +.Letext0:
64680 +
64681 + .section .debug_info
64682 + .int .Ledebug_info0 - .Ldebug_info0 // size
64683 + .short 2 // version
64684 + .int .Ldebug_abbrev0 // abbrev offset
64685 + .byte 4 // bytes per addr
64686 +
64687 + .uleb128 1 // abbrev 1
64688 + .int .Ldebug_line0 // DW_AT_stmt_list
64689 + .int .Letext0 // DW_AT_high_pc
64690 + .int .Ltext0 // DW_AT_low_pc
64691 +
64692 +.Ledebug_info0:
64693 +
64694 + .section .debug_abbrev
64695 + .uleb128 0x01
64696 + .uleb128 0x11 // DW_TAG_compile_unit
64697 + .byte 0 // DW_CHILDREN_no
64698 + .uleb128 0x10, 0x6 // DW_AT_stmt_list
64699 + .uleb128 0x12, 0x1 // DW_AT_high_pc
64700 + .uleb128 0x11, 0x1 // DW_AT_low_pc
64701 + .uleb128 0, 0
64702 +
64703 + .byte 0
64704 diff -Nrup binutils-2.17/gas/testsuite/gas/avr32/fpinsn.d binutils-2.17-atmel/gas/testsuite/gas/avr32/fpinsn.d
64705 --- binutils-2.17/gas/testsuite/gas/avr32/fpinsn.d 1970-01-01 01:00:00.000000000 +0100
64706 +++ binutils-2.17-atmel/gas/testsuite/gas/avr32/fpinsn.d 2006-08-04 14:51:13.000000000 +0200
64707 @@ -0,0 +1,271 @@
64708 +#as:
64709 +#objdump: -dr
64710 +#name: fpinsn
64711 +
64712 +.*: +file format .*
64713 +
64714 +Disassembly of section \.text:
64715 +
64716 +[0-9a-f]* <fadd_s>:
64717 + *[0-9a-f]*: e1 a2 0f ff cop cp0,cr15,cr15,cr15,0x4
64718 + *[0-9a-f]*: e1 a2 00 00 cop cp0,cr0,cr0,cr0,0x4
64719 + *[0-9a-f]*: e1 a2 00 ff cop cp0,cr0,cr15,cr15,0x4
64720 + *[0-9a-f]*: e1 a2 0f 0f cop cp0,cr15,cr0,cr15,0x4
64721 + *[0-9a-f]*: e1 a2 0f f0 cop cp0,cr15,cr15,cr0,0x4
64722 + *[0-9a-f]*: e1 a2 07 88 cop cp0,cr7,cr8,cr8,0x4
64723 + *[0-9a-f]*: e1 a2 08 78 cop cp0,cr8,cr7,cr8,0x4
64724 + *[0-9a-f]*: e1 a2 08 87 cop cp0,cr8,cr8,cr7,0x4
64725 +
64726 +[0-9a-f]* <fsub_s>:
64727 + *[0-9a-f]*: e1 a2 1f ff cop cp0,cr15,cr15,cr15,0x5
64728 + *[0-9a-f]*: e1 a2 10 00 cop cp0,cr0,cr0,cr0,0x5
64729 + *[0-9a-f]*: e1 a2 10 ff cop cp0,cr0,cr15,cr15,0x5
64730 + *[0-9a-f]*: e1 a2 1f 0f cop cp0,cr15,cr0,cr15,0x5
64731 + *[0-9a-f]*: e1 a2 1f f0 cop cp0,cr15,cr15,cr0,0x5
64732 + *[0-9a-f]*: e1 a2 17 88 cop cp0,cr7,cr8,cr8,0x5
64733 + *[0-9a-f]*: e1 a2 18 78 cop cp0,cr8,cr7,cr8,0x5
64734 + *[0-9a-f]*: e1 a2 18 87 cop cp0,cr8,cr8,cr7,0x5
64735 +
64736 +[0-9a-f]* <fmac_s>:
64737 + *[0-9a-f]*: e1 a0 0f ff cop cp0,cr15,cr15,cr15,0x0
64738 + *[0-9a-f]*: e1 a0 00 00 cop cp0,cr0,cr0,cr0,0x0
64739 + *[0-9a-f]*: e1 a0 00 ff cop cp0,cr0,cr15,cr15,0x0
64740 + *[0-9a-f]*: e1 a0 0f 0f cop cp0,cr15,cr0,cr15,0x0
64741 + *[0-9a-f]*: e1 a0 0f f0 cop cp0,cr15,cr15,cr0,0x0
64742 + *[0-9a-f]*: e1 a0 07 88 cop cp0,cr7,cr8,cr8,0x0
64743 + *[0-9a-f]*: e1 a0 08 78 cop cp0,cr8,cr7,cr8,0x0
64744 + *[0-9a-f]*: e1 a0 08 87 cop cp0,cr8,cr8,cr7,0x0
64745 +
64746 +[0-9a-f]* <fnmac_s>:
64747 + *[0-9a-f]*: e1 a0 1f ff cop cp0,cr15,cr15,cr15,0x1
64748 + *[0-9a-f]*: e1 a0 10 00 cop cp0,cr0,cr0,cr0,0x1
64749 + *[0-9a-f]*: e1 a0 10 ff cop cp0,cr0,cr15,cr15,0x1
64750 + *[0-9a-f]*: e1 a0 1f 0f cop cp0,cr15,cr0,cr15,0x1
64751 + *[0-9a-f]*: e1 a0 1f f0 cop cp0,cr15,cr15,cr0,0x1
64752 + *[0-9a-f]*: e1 a0 17 88 cop cp0,cr7,cr8,cr8,0x1
64753 + *[0-9a-f]*: e1 a0 18 78 cop cp0,cr8,cr7,cr8,0x1
64754 + *[0-9a-f]*: e1 a0 18 87 cop cp0,cr8,cr8,cr7,0x1
64755 +
64756 +[0-9a-f]* <fmsc_s>:
64757 + *[0-9a-f]*: e1 a1 0f ff cop cp0,cr15,cr15,cr15,0x2
64758 + *[0-9a-f]*: e1 a1 00 00 cop cp0,cr0,cr0,cr0,0x2
64759 + *[0-9a-f]*: e1 a1 00 ff cop cp0,cr0,cr15,cr15,0x2
64760 + *[0-9a-f]*: e1 a1 0f 0f cop cp0,cr15,cr0,cr15,0x2
64761 + *[0-9a-f]*: e1 a1 0f f0 cop cp0,cr15,cr15,cr0,0x2
64762 + *[0-9a-f]*: e1 a1 07 88 cop cp0,cr7,cr8,cr8,0x2
64763 + *[0-9a-f]*: e1 a1 08 78 cop cp0,cr8,cr7,cr8,0x2
64764 + *[0-9a-f]*: e1 a1 08 87 cop cp0,cr8,cr8,cr7,0x2
64765 +
64766 +[0-9a-f]* <fnmsc_s>:
64767 + *[0-9a-f]*: e1 a1 1f ff cop cp0,cr15,cr15,cr15,0x3
64768 + *[0-9a-f]*: e1 a1 10 00 cop cp0,cr0,cr0,cr0,0x3
64769 + *[0-9a-f]*: e1 a1 10 ff cop cp0,cr0,cr15,cr15,0x3
64770 + *[0-9a-f]*: e1 a1 1f 0f cop cp0,cr15,cr0,cr15,0x3
64771 + *[0-9a-f]*: e1 a1 1f f0 cop cp0,cr15,cr15,cr0,0x3
64772 + *[0-9a-f]*: e1 a1 17 88 cop cp0,cr7,cr8,cr8,0x3
64773 + *[0-9a-f]*: e1 a1 18 78 cop cp0,cr8,cr7,cr8,0x3
64774 + *[0-9a-f]*: e1 a1 18 87 cop cp0,cr8,cr8,cr7,0x3
64775 +
64776 +[0-9a-f]* <fmul_s>:
64777 + *[0-9a-f]*: e1 a3 0f ff cop cp0,cr15,cr15,cr15,0x6
64778 + *[0-9a-f]*: e1 a3 00 00 cop cp0,cr0,cr0,cr0,0x6
64779 + *[0-9a-f]*: e1 a3 00 ff cop cp0,cr0,cr15,cr15,0x6
64780 + *[0-9a-f]*: e1 a3 0f 0f cop cp0,cr15,cr0,cr15,0x6
64781 + *[0-9a-f]*: e1 a3 0f f0 cop cp0,cr15,cr15,cr0,0x6
64782 + *[0-9a-f]*: e1 a3 07 88 cop cp0,cr7,cr8,cr8,0x6
64783 + *[0-9a-f]*: e1 a3 08 78 cop cp0,cr8,cr7,cr8,0x6
64784 + *[0-9a-f]*: e1 a3 08 87 cop cp0,cr8,cr8,cr7,0x6
64785 +
64786 +[0-9a-f]* <fnmul_s>:
64787 + *[0-9a-f]*: e1 a3 1f ff cop cp0,cr15,cr15,cr15,0x7
64788 + *[0-9a-f]*: e1 a3 10 00 cop cp0,cr0,cr0,cr0,0x7
64789 + *[0-9a-f]*: e1 a3 10 ff cop cp0,cr0,cr15,cr15,0x7
64790 + *[0-9a-f]*: e1 a3 1f 0f cop cp0,cr15,cr0,cr15,0x7
64791 + *[0-9a-f]*: e1 a3 1f f0 cop cp0,cr15,cr15,cr0,0x7
64792 + *[0-9a-f]*: e1 a3 17 88 cop cp0,cr7,cr8,cr8,0x7
64793 + *[0-9a-f]*: e1 a3 18 78 cop cp0,cr8,cr7,cr8,0x7
64794 + *[0-9a-f]*: e1 a3 18 87 cop cp0,cr8,cr8,cr7,0x7
64795 +
64796 +[0-9a-f]* <fneg_s>:
64797 + *[0-9a-f]*: e1 a4 0f f0 cop cp0,cr15,cr15,cr0,0x8
64798 + *[0-9a-f]*: e1 a4 00 00 cop cp0,cr0,cr0,cr0,0x8
64799 + *[0-9a-f]*: e1 a4 00 f0 cop cp0,cr0,cr15,cr0,0x8
64800 + *[0-9a-f]*: e1 a4 0f 00 cop cp0,cr15,cr0,cr0,0x8
64801 + *[0-9a-f]*: e1 a4 07 80 cop cp0,cr7,cr8,cr0,0x8
64802 + *[0-9a-f]*: e1 a4 08 70 cop cp0,cr8,cr7,cr0,0x8
64803 +
64804 +[0-9a-f]* <fabs_s>:
64805 + *[0-9a-f]*: e1 a4 1f f0 cop cp0,cr15,cr15,cr0,0x9
64806 + *[0-9a-f]*: e1 a4 10 00 cop cp0,cr0,cr0,cr0,0x9
64807 + *[0-9a-f]*: e1 a4 10 f0 cop cp0,cr0,cr15,cr0,0x9
64808 + *[0-9a-f]*: e1 a4 1f 00 cop cp0,cr15,cr0,cr0,0x9
64809 + *[0-9a-f]*: e1 a4 17 80 cop cp0,cr7,cr8,cr0,0x9
64810 + *[0-9a-f]*: e1 a4 18 70 cop cp0,cr8,cr7,cr0,0x9
64811 +
64812 +[0-9a-f]* <fcmp_s>:
64813 + *[0-9a-f]*: e1 a6 10 ff cop cp0,cr0,cr15,cr15,0xd
64814 + *[0-9a-f]*: e1 a6 10 00 cop cp0,cr0,cr0,cr0,0xd
64815 + *[0-9a-f]*: e1 a6 10 0f cop cp0,cr0,cr0,cr15,0xd
64816 + *[0-9a-f]*: e1 a6 10 f0 cop cp0,cr0,cr15,cr0,0xd
64817 + *[0-9a-f]*: e1 a6 10 78 cop cp0,cr0,cr7,cr8,0xd
64818 + *[0-9a-f]*: e1 a6 10 87 cop cp0,cr0,cr8,cr7,0xd
64819 +
64820 +[0-9a-f]* <fadd_d>:
64821 + *[0-9a-f]*: e5 a2 0e ee cop cp0,cr14,cr14,cr14,0x44
64822 + *[0-9a-f]*: e5 a2 00 00 cop cp0,cr0,cr0,cr0,0x44
64823 + *[0-9a-f]*: e5 a2 00 ee cop cp0,cr0,cr14,cr14,0x44
64824 + *[0-9a-f]*: e5 a2 0e 0e cop cp0,cr14,cr0,cr14,0x44
64825 + *[0-9a-f]*: e5 a2 0e e0 cop cp0,cr14,cr14,cr0,0x44
64826 + *[0-9a-f]*: e5 a2 06 88 cop cp0,cr6,cr8,cr8,0x44
64827 + *[0-9a-f]*: e5 a2 08 68 cop cp0,cr8,cr6,cr8,0x44
64828 + *[0-9a-f]*: e5 a2 08 86 cop cp0,cr8,cr8,cr6,0x44
64829 +
64830 +[0-9a-f]* <fsub_d>:
64831 + *[0-9a-f]*: e5 a2 1e ee cop cp0,cr14,cr14,cr14,0x45
64832 + *[0-9a-f]*: e5 a2 10 00 cop cp0,cr0,cr0,cr0,0x45
64833 + *[0-9a-f]*: e5 a2 10 ee cop cp0,cr0,cr14,cr14,0x45
64834 + *[0-9a-f]*: e5 a2 1e 0e cop cp0,cr14,cr0,cr14,0x45
64835 + *[0-9a-f]*: e5 a2 1e e0 cop cp0,cr14,cr14,cr0,0x45
64836 + *[0-9a-f]*: e5 a2 16 88 cop cp0,cr6,cr8,cr8,0x45
64837 + *[0-9a-f]*: e5 a2 18 68 cop cp0,cr8,cr6,cr8,0x45
64838 + *[0-9a-f]*: e5 a2 18 86 cop cp0,cr8,cr8,cr6,0x45
64839 +
64840 +[0-9a-f]* <fmac_d>:
64841 + *[0-9a-f]*: e5 a0 0e ee cop cp0,cr14,cr14,cr14,0x40
64842 + *[0-9a-f]*: e5 a0 00 00 cop cp0,cr0,cr0,cr0,0x40
64843 + *[0-9a-f]*: e5 a0 00 ee cop cp0,cr0,cr14,cr14,0x40
64844 + *[0-9a-f]*: e5 a0 0e 0e cop cp0,cr14,cr0,cr14,0x40
64845 + *[0-9a-f]*: e5 a0 0e e0 cop cp0,cr14,cr14,cr0,0x40
64846 + *[0-9a-f]*: e5 a0 06 88 cop cp0,cr6,cr8,cr8,0x40
64847 + *[0-9a-f]*: e5 a0 08 68 cop cp0,cr8,cr6,cr8,0x40
64848 + *[0-9a-f]*: e5 a0 08 86 cop cp0,cr8,cr8,cr6,0x40
64849 +
64850 +[0-9a-f]* <fnmac_d>:
64851 + *[0-9a-f]*: e5 a0 1e ee cop cp0,cr14,cr14,cr14,0x41
64852 + *[0-9a-f]*: e5 a0 10 00 cop cp0,cr0,cr0,cr0,0x41
64853 + *[0-9a-f]*: e5 a0 10 ee cop cp0,cr0,cr14,cr14,0x41
64854 + *[0-9a-f]*: e5 a0 1e 0e cop cp0,cr14,cr0,cr14,0x41
64855 + *[0-9a-f]*: e5 a0 1e e0 cop cp0,cr14,cr14,cr0,0x41
64856 + *[0-9a-f]*: e5 a0 16 88 cop cp0,cr6,cr8,cr8,0x41
64857 + *[0-9a-f]*: e5 a0 18 68 cop cp0,cr8,cr6,cr8,0x41
64858 + *[0-9a-f]*: e5 a0 18 86 cop cp0,cr8,cr8,cr6,0x41
64859 +
64860 +[0-9a-f]* <fmsc_d>:
64861 + *[0-9a-f]*: e5 a1 0e ee cop cp0,cr14,cr14,cr14,0x42
64862 + *[0-9a-f]*: e5 a1 00 00 cop cp0,cr0,cr0,cr0,0x42
64863 + *[0-9a-f]*: e5 a1 00 ee cop cp0,cr0,cr14,cr14,0x42
64864 + *[0-9a-f]*: e5 a1 0e 0e cop cp0,cr14,cr0,cr14,0x42
64865 + *[0-9a-f]*: e5 a1 0e e0 cop cp0,cr14,cr14,cr0,0x42
64866 + *[0-9a-f]*: e5 a1 06 88 cop cp0,cr6,cr8,cr8,0x42
64867 + *[0-9a-f]*: e5 a1 08 68 cop cp0,cr8,cr6,cr8,0x42
64868 + *[0-9a-f]*: e5 a1 08 86 cop cp0,cr8,cr8,cr6,0x42
64869 +
64870 +[0-9a-f]* <fnmsc_d>:
64871 + *[0-9a-f]*: e5 a1 1e ee cop cp0,cr14,cr14,cr14,0x43
64872 + *[0-9a-f]*: e5 a1 10 00 cop cp0,cr0,cr0,cr0,0x43
64873 + *[0-9a-f]*: e5 a1 10 ee cop cp0,cr0,cr14,cr14,0x43
64874 + *[0-9a-f]*: e5 a1 1e 0e cop cp0,cr14,cr0,cr14,0x43
64875 + *[0-9a-f]*: e5 a1 1e e0 cop cp0,cr14,cr14,cr0,0x43
64876 + *[0-9a-f]*: e5 a1 16 88 cop cp0,cr6,cr8,cr8,0x43
64877 + *[0-9a-f]*: e5 a1 18 68 cop cp0,cr8,cr6,cr8,0x43
64878 + *[0-9a-f]*: e5 a1 18 86 cop cp0,cr8,cr8,cr6,0x43
64879 +
64880 +[0-9a-f]* <fmul_d>:
64881 + *[0-9a-f]*: e5 a3 0e ee cop cp0,cr14,cr14,cr14,0x46
64882 + *[0-9a-f]*: e5 a3 00 00 cop cp0,cr0,cr0,cr0,0x46
64883 + *[0-9a-f]*: e5 a3 00 ee cop cp0,cr0,cr14,cr14,0x46
64884 + *[0-9a-f]*: e5 a3 0e 0e cop cp0,cr14,cr0,cr14,0x46
64885 + *[0-9a-f]*: e5 a3 0e e0 cop cp0,cr14,cr14,cr0,0x46
64886 + *[0-9a-f]*: e5 a3 06 88 cop cp0,cr6,cr8,cr8,0x46
64887 + *[0-9a-f]*: e5 a3 08 68 cop cp0,cr8,cr6,cr8,0x46
64888 + *[0-9a-f]*: e5 a3 08 86 cop cp0,cr8,cr8,cr6,0x46
64889 +
64890 +[0-9a-f]* <fnmul_d>:
64891 + *[0-9a-f]*: e5 a3 1e ee cop cp0,cr14,cr14,cr14,0x47
64892 + *[0-9a-f]*: e5 a3 10 00 cop cp0,cr0,cr0,cr0,0x47
64893 + *[0-9a-f]*: e5 a3 10 ee cop cp0,cr0,cr14,cr14,0x47
64894 + *[0-9a-f]*: e5 a3 1e 0e cop cp0,cr14,cr0,cr14,0x47
64895 + *[0-9a-f]*: e5 a3 1e e0 cop cp0,cr14,cr14,cr0,0x47
64896 + *[0-9a-f]*: e5 a3 16 88 cop cp0,cr6,cr8,cr8,0x47
64897 + *[0-9a-f]*: e5 a3 18 68 cop cp0,cr8,cr6,cr8,0x47
64898 + *[0-9a-f]*: e5 a3 18 86 cop cp0,cr8,cr8,cr6,0x47
64899 +
64900 +[0-9a-f]* <fneg_d>:
64901 + *[0-9a-f]*: e5 a4 0e e0 cop cp0,cr14,cr14,cr0,0x48
64902 + *[0-9a-f]*: e5 a4 00 00 cop cp0,cr0,cr0,cr0,0x48
64903 + *[0-9a-f]*: e5 a4 00 e0 cop cp0,cr0,cr14,cr0,0x48
64904 + *[0-9a-f]*: e5 a4 0e 00 cop cp0,cr14,cr0,cr0,0x48
64905 + *[0-9a-f]*: e5 a4 06 80 cop cp0,cr6,cr8,cr0,0x48
64906 + *[0-9a-f]*: e5 a4 08 60 cop cp0,cr8,cr6,cr0,0x48
64907 +
64908 +[0-9a-f]* <fabs_d>:
64909 + *[0-9a-f]*: e5 a4 1e e0 cop cp0,cr14,cr14,cr0,0x49
64910 + *[0-9a-f]*: e5 a4 10 00 cop cp0,cr0,cr0,cr0,0x49
64911 + *[0-9a-f]*: e5 a4 10 e0 cop cp0,cr0,cr14,cr0,0x49
64912 + *[0-9a-f]*: e5 a4 1e 00 cop cp0,cr14,cr0,cr0,0x49
64913 + *[0-9a-f]*: e5 a4 16 80 cop cp0,cr6,cr8,cr0,0x49
64914 + *[0-9a-f]*: e5 a4 18 60 cop cp0,cr8,cr6,cr0,0x49
64915 +
64916 +[0-9a-f]* <fcmp_d>:
64917 + *[0-9a-f]*: e5 a6 10 ee cop cp0,cr0,cr14,cr14,0x4d
64918 + *[0-9a-f]*: e5 a6 10 00 cop cp0,cr0,cr0,cr0,0x4d
64919 + *[0-9a-f]*: e5 a6 10 0e cop cp0,cr0,cr0,cr14,0x4d
64920 + *[0-9a-f]*: e5 a6 10 e0 cop cp0,cr0,cr14,cr0,0x4d
64921 + *[0-9a-f]*: e5 a6 10 68 cop cp0,cr0,cr6,cr8,0x4d
64922 + *[0-9a-f]*: e5 a6 10 86 cop cp0,cr0,cr8,cr6,0x4d
64923 +
64924 +[0-9a-f]* <fmov_s>:
64925 + *[0-9a-f]*: e1 a5 0f f0 cop cp0,cr15,cr15,cr0,0xa
64926 + *[0-9a-f]*: e1 a5 00 00 cop cp0,cr0,cr0,cr0,0xa
64927 + *[0-9a-f]*: e1 a5 0f 00 cop cp0,cr15,cr0,cr0,0xa
64928 + *[0-9a-f]*: e1 a5 00 f0 cop cp0,cr0,cr15,cr0,0xa
64929 + *[0-9a-f]*: e1 a5 08 70 cop cp0,cr8,cr7,cr0,0xa
64930 + *[0-9a-f]*: e1 a5 07 80 cop cp0,cr7,cr8,cr0,0xa
64931 + *[0-9a-f]*: ef af 0f 00 mvcr.w cp0,pc,cr15
64932 + *[0-9a-f]*: ef a0 00 00 mvcr.w cp0,r0,cr0
64933 + *[0-9a-f]*: ef af 00 00 mvcr.w cp0,pc,cr0
64934 + *[0-9a-f]*: ef a0 0f 00 mvcr.w cp0,r0,cr15
64935 + *[0-9a-f]*: ef a8 07 00 mvcr.w cp0,r8,cr7
64936 + *[0-9a-f]*: ef a7 08 00 mvcr.w cp0,r7,cr8
64937 + *[0-9a-f]*: ef af 0f 20 mvrc.w cp0,cr15,pc
64938 + *[0-9a-f]*: ef a0 00 20 mvrc.w cp0,cr0,r0
64939 + *[0-9a-f]*: ef a0 0f 20 mvrc.w cp0,cr15,r0
64940 + *[0-9a-f]*: ef af 00 20 mvrc.w cp0,cr0,pc
64941 + *[0-9a-f]*: ef a7 08 20 mvrc.w cp0,cr8,r7
64942 + *[0-9a-f]*: ef a8 07 20 mvrc.w cp0,cr7,r8
64943 +
64944 +[0-9a-f]* <fmov_d>:
64945 + *[0-9a-f]*: e5 a5 0e e0 cop cp0,cr14,cr14,cr0,0x4a
64946 + *[0-9a-f]*: e5 a5 00 00 cop cp0,cr0,cr0,cr0,0x4a
64947 + *[0-9a-f]*: e5 a5 0e 00 cop cp0,cr14,cr0,cr0,0x4a
64948 + *[0-9a-f]*: e5 a5 00 e0 cop cp0,cr0,cr14,cr0,0x4a
64949 + *[0-9a-f]*: e5 a5 08 60 cop cp0,cr8,cr6,cr0,0x4a
64950 + *[0-9a-f]*: e5 a5 06 80 cop cp0,cr6,cr8,cr0,0x4a
64951 + *[0-9a-f]*: ef ae 0e 10 mvcr.d cp0,lr,cr14
64952 + *[0-9a-f]*: ef a0 00 10 mvcr.d cp0,r0,cr0
64953 + *[0-9a-f]*: ef ae 00 10 mvcr.d cp0,lr,cr0
64954 + *[0-9a-f]*: ef a0 0e 10 mvcr.d cp0,r0,cr14
64955 + *[0-9a-f]*: ef a8 06 10 mvcr.d cp0,r8,cr6
64956 + *[0-9a-f]*: ef a6 08 10 mvcr.d cp0,r6,cr8
64957 + *[0-9a-f]*: ef ae 0e 30 mvrc.d cp0,cr14,lr
64958 + *[0-9a-f]*: ef a0 00 30 mvrc.d cp0,cr0,r0
64959 + *[0-9a-f]*: ef a0 0e 30 mvrc.d cp0,cr14,r0
64960 + *[0-9a-f]*: ef ae 00 30 mvrc.d cp0,cr0,lr
64961 + *[0-9a-f]*: ef a6 08 30 mvrc.d cp0,cr8,r6
64962 + *[0-9a-f]*: ef a8 06 30 mvrc.d cp0,cr6,r8
64963 +
64964 +[0-9a-f]* <fcasts_d>:
64965 + *[0-9a-f]*: e1 a7 1f e0 cop cp0,cr15,cr14,cr0,0xf
64966 + *[0-9a-f]*: e1 a7 10 00 cop cp0,cr0,cr0,cr0,0xf
64967 + *[0-9a-f]*: e1 a7 1f 00 cop cp0,cr15,cr0,cr0,0xf
64968 + *[0-9a-f]*: e1 a7 10 e0 cop cp0,cr0,cr14,cr0,0xf
64969 + *[0-9a-f]*: e1 a7 18 60 cop cp0,cr8,cr6,cr0,0xf
64970 + *[0-9a-f]*: e1 a7 17 80 cop cp0,cr7,cr8,cr0,0xf
64971 +
64972 +[0-9a-f]* <fcastd_s>:
64973 + *[0-9a-f]*: e1 a8 0e f0 cop cp0,cr14,cr15,cr0,0x10
64974 + *[0-9a-f]*: e1 a8 00 00 cop cp0,cr0,cr0,cr0,0x10
64975 + *[0-9a-f]*: e1 a8 0e 00 cop cp0,cr14,cr0,cr0,0x10
64976 + *[0-9a-f]*: e1 a8 00 f0 cop cp0,cr0,cr15,cr0,0x10
64977 + *[0-9a-f]*: e1 a8 08 70 cop cp0,cr8,cr7,cr0,0x10
64978 + *[0-9a-f]*: e1 a8 06 80 cop cp0,cr6,cr8,cr0,0x10
64979 diff -Nrup binutils-2.17/gas/testsuite/gas/avr32/fpinsn.s binutils-2.17-atmel/gas/testsuite/gas/avr32/fpinsn.s
64980 --- binutils-2.17/gas/testsuite/gas/avr32/fpinsn.s 1970-01-01 01:00:00.000000000 +0100
64981 +++ binutils-2.17-atmel/gas/testsuite/gas/avr32/fpinsn.s 2006-08-04 14:51:13.000000000 +0200
64982 @@ -0,0 +1,266 @@
64983 +
64984 + .text
64985 + .global fadd_s
64986 +fadd_s:
64987 + fadd.s fr15, fr15, fr15
64988 + fadd.s fr0, fr0, fr0
64989 + fadd.s fr0, fr15, fr15
64990 + fadd.s fr15, fr0, fr15
64991 + fadd.s fr15, fr15, fr0
64992 + fadd.s fr7, fr8, fr8
64993 + fadd.s fr8, fr7, fr8
64994 + fadd.s fr8, fr8, fr7
64995 + .global fsub_s
64996 +fsub_s:
64997 + fsub.s fr15, fr15, fr15
64998 + fsub.s fr0, fr0, fr0
64999 + fsub.s fr0, fr15, fr15
65000 + fsub.s fr15, fr0, fr15
65001 + fsub.s fr15, fr15, fr0
65002 + fsub.s fr7, fr8, fr8
65003 + fsub.s fr8, fr7, fr8
65004 + fsub.s fr8, fr8, fr7
65005 + .global fmac_s
65006 +fmac_s:
65007 + fmac.s fr15, fr15, fr15
65008 + fmac.s fr0, fr0, fr0
65009 + fmac.s fr0, fr15, fr15
65010 + fmac.s fr15, fr0, fr15
65011 + fmac.s fr15, fr15, fr0
65012 + fmac.s fr7, fr8, fr8
65013 + fmac.s fr8, fr7, fr8
65014 + fmac.s fr8, fr8, fr7
65015 + .global fnmac_s
65016 +fnmac_s:
65017 + fnmac.s fr15, fr15, fr15
65018 + fnmac.s fr0, fr0, fr0
65019 + fnmac.s fr0, fr15, fr15
65020 + fnmac.s fr15, fr0, fr15
65021 + fnmac.s fr15, fr15, fr0
65022 + fnmac.s fr7, fr8, fr8
65023 + fnmac.s fr8, fr7, fr8
65024 + fnmac.s fr8, fr8, fr7
65025 + .global fmsc_s
65026 +fmsc_s:
65027 + fmsc.s fr15, fr15, fr15
65028 + fmsc.s fr0, fr0, fr0
65029 + fmsc.s fr0, fr15, fr15
65030 + fmsc.s fr15, fr0, fr15
65031 + fmsc.s fr15, fr15, fr0
65032 + fmsc.s fr7, fr8, fr8
65033 + fmsc.s fr8, fr7, fr8
65034 + fmsc.s fr8, fr8, fr7
65035 + .global fnmsc_s
65036 +fnmsc_s:
65037 + fnmsc.s fr15, fr15, fr15
65038 + fnmsc.s fr0, fr0, fr0
65039 + fnmsc.s fr0, fr15, fr15
65040 + fnmsc.s fr15, fr0, fr15
65041 + fnmsc.s fr15, fr15, fr0
65042 + fnmsc.s fr7, fr8, fr8
65043 + fnmsc.s fr8, fr7, fr8
65044 + fnmsc.s fr8, fr8, fr7
65045 + .global fmul_s
65046 +fmul_s:
65047 + fmul.s fr15, fr15, fr15
65048 + fmul.s fr0, fr0, fr0
65049 + fmul.s fr0, fr15, fr15
65050 + fmul.s fr15, fr0, fr15
65051 + fmul.s fr15, fr15, fr0
65052 + fmul.s fr7, fr8, fr8
65053 + fmul.s fr8, fr7, fr8
65054 + fmul.s fr8, fr8, fr7
65055 + .global fnmul_s
65056 +fnmul_s:
65057 + fnmul.s fr15, fr15, fr15
65058 + fnmul.s fr0, fr0, fr0
65059 + fnmul.s fr0, fr15, fr15
65060 + fnmul.s fr15, fr0, fr15
65061 + fnmul.s fr15, fr15, fr0
65062 + fnmul.s fr7, fr8, fr8
65063 + fnmul.s fr8, fr7, fr8
65064 + fnmul.s fr8, fr8, fr7
65065 + .global fneg_s
65066 +fneg_s:
65067 + fneg.s fr15, fr15
65068 + fneg.s fr0, fr0
65069 + fneg.s fr0, fr15
65070 + fneg.s fr15, fr0
65071 + fneg.s fr7, fr8
65072 + fneg.s fr8, fr7
65073 + .global fabs_s
65074 +fabs_s:
65075 + fabs.s fr15, fr15
65076 + fabs.s fr0, fr0
65077 + fabs.s fr0, fr15
65078 + fabs.s fr15, fr0
65079 + fabs.s fr7, fr8
65080 + fabs.s fr8, fr7
65081 + .global fcmp_s
65082 +fcmp_s:
65083 + fcmp.s fr15, fr15
65084 + fcmp.s fr0, fr0
65085 + fcmp.s fr0, fr15
65086 + fcmp.s fr15, fr0
65087 + fcmp.s fr7, fr8
65088 + fcmp.s fr8, fr7
65089 + .global fadd_d
65090 +fadd_d:
65091 + fadd.d fr14, fr14, fr14
65092 + fadd.d fr0, fr0, fr0
65093 + fadd.d fr0, fr14, fr14
65094 + fadd.d fr14, fr0, fr14
65095 + fadd.d fr14, fr14, fr0
65096 + fadd.d fr6, fr8, fr8
65097 + fadd.d fr8, fr6, fr8
65098 + fadd.d fr8, fr8, fr6
65099 + .global fsub_d
65100 +fsub_d:
65101 + fsub.d fr14, fr14, fr14
65102 + fsub.d fr0, fr0, fr0
65103 + fsub.d fr0, fr14, fr14
65104 + fsub.d fr14, fr0, fr14
65105 + fsub.d fr14, fr14, fr0
65106 + fsub.d fr6, fr8, fr8
65107 + fsub.d fr8, fr6, fr8
65108 + fsub.d fr8, fr8, fr6
65109 + .global fmac_d
65110 +fmac_d:
65111 + fmac.d fr14, fr14, fr14
65112 + fmac.d fr0, fr0, fr0
65113 + fmac.d fr0, fr14, fr14
65114 + fmac.d fr14, fr0, fr14
65115 + fmac.d fr14, fr14, fr0
65116 + fmac.d fr6, fr8, fr8
65117 + fmac.d fr8, fr6, fr8
65118 + fmac.d fr8, fr8, fr6
65119 + .global fnmac_d
65120 +fnmac_d:
65121 + fnmac.d fr14, fr14, fr14
65122 + fnmac.d fr0, fr0, fr0
65123 + fnmac.d fr0, fr14, fr14
65124 + fnmac.d fr14, fr0, fr14
65125 + fnmac.d fr14, fr14, fr0
65126 + fnmac.d fr6, fr8, fr8
65127 + fnmac.d fr8, fr6, fr8
65128 + fnmac.d fr8, fr8, fr6
65129 + .global fmsc_d
65130 +fmsc_d:
65131 + fmsc.d fr14, fr14, fr14
65132 + fmsc.d fr0, fr0, fr0
65133 + fmsc.d fr0, fr14, fr14
65134 + fmsc.d fr14, fr0, fr14
65135 + fmsc.d fr14, fr14, fr0
65136 + fmsc.d fr6, fr8, fr8
65137 + fmsc.d fr8, fr6, fr8
65138 + fmsc.d fr8, fr8, fr6
65139 + .global fnmsc_d
65140 +fnmsc_d:
65141 + fnmsc.d fr14, fr14, fr14
65142 + fnmsc.d fr0, fr0, fr0
65143 + fnmsc.d fr0, fr14, fr14
65144 + fnmsc.d fr14, fr0, fr14
65145 + fnmsc.d fr14, fr14, fr0
65146 + fnmsc.d fr6, fr8, fr8
65147 + fnmsc.d fr8, fr6, fr8
65148 + fnmsc.d fr8, fr8, fr6
65149 + .global fmul_d
65150 +fmul_d:
65151 + fmul.d fr14, fr14, fr14
65152 + fmul.d fr0, fr0, fr0
65153 + fmul.d fr0, fr14, fr14
65154 + fmul.d fr14, fr0, fr14
65155 + fmul.d fr14, fr14, fr0
65156 + fmul.d fr6, fr8, fr8
65157 + fmul.d fr8, fr6, fr8
65158 + fmul.d fr8, fr8, fr6
65159 + .global fnmul_d
65160 +fnmul_d:
65161 + fnmul.d fr14, fr14, fr14
65162 + fnmul.d fr0, fr0, fr0
65163 + fnmul.d fr0, fr14, fr14
65164 + fnmul.d fr14, fr0, fr14
65165 + fnmul.d fr14, fr14, fr0
65166 + fnmul.d fr6, fr8, fr8
65167 + fnmul.d fr8, fr6, fr8
65168 + fnmul.d fr8, fr8, fr6
65169 + .global fneg_d
65170 +fneg_d:
65171 + fneg.d fr14, fr14
65172 + fneg.d fr0, fr0
65173 + fneg.d fr0, fr14
65174 + fneg.d fr14, fr0
65175 + fneg.d fr6, fr8
65176 + fneg.d fr8, fr6
65177 + .global fabs_d
65178 +fabs_d:
65179 + fabs.d fr14, fr14
65180 + fabs.d fr0, fr0
65181 + fabs.d fr0, fr14
65182 + fabs.d fr14, fr0
65183 + fabs.d fr6, fr8
65184 + fabs.d fr8, fr6
65185 + .global fcmp_d
65186 +fcmp_d:
65187 + fcmp.d fr14, fr14
65188 + fcmp.d fr0, fr0
65189 + fcmp.d fr0, fr14
65190 + fcmp.d fr14, fr0
65191 + fcmp.d fr6, fr8
65192 + fcmp.d fr8, fr6
65193 + .global fmov_s
65194 +fmov_s:
65195 + fmov.s fr15, fr15
65196 + fmov.s fr0, fr0
65197 + fmov.s fr15, fr0
65198 + fmov.s fr0, fr15
65199 + fmov.s fr8, fr7
65200 + fmov.s fr7, fr8
65201 + fmov.s pc, fr15
65202 + fmov.s r0, fr0
65203 + fmov.s pc, fr0
65204 + fmov.s r0, fr15
65205 + fmov.s r8, fr7
65206 + fmov.s r7, fr8
65207 + fmov.s fr15, pc
65208 + fmov.s fr0, r0
65209 + fmov.s fr15, r0
65210 + fmov.s fr0, pc
65211 + fmov.s fr8, r7
65212 + fmov.s fr7, r8
65213 + .global fmov_d
65214 +fmov_d:
65215 + fmov.d fr14, fr14
65216 + fmov.d fr0, fr0
65217 + fmov.d fr14, fr0
65218 + fmov.d fr0, fr14
65219 + fmov.d fr8, fr6
65220 + fmov.d fr6, fr8
65221 + fmov.d lr, fr14
65222 + fmov.d r0, fr0
65223 + fmov.d lr, fr0
65224 + fmov.d r0, fr14
65225 + fmov.d r8, fr6
65226 + fmov.d r6, fr8
65227 + fmov.d fr14, lr
65228 + fmov.d fr0, r0
65229 + fmov.d fr14, r0
65230 + fmov.d fr0, lr
65231 + fmov.d fr8, r6
65232 + fmov.d fr6, r8
65233 + .global fcasts_d
65234 +fcasts_d:
65235 + fcasts.d fr15, fr14
65236 + fcasts.d fr0, fr0
65237 + fcasts.d fr15, fr0
65238 + fcasts.d fr0, fr14
65239 + fcasts.d fr8, fr6
65240 + fcasts.d fr7, fr8
65241 + .global fcastd_s
65242 +fcastd_s:
65243 + fcastd.s fr14, fr15
65244 + fcastd.s fr0, fr0
65245 + fcastd.s fr14, fr0
65246 + fcastd.s fr0, fr15
65247 + fcastd.s fr8, fr7
65248 + fcastd.s fr6, fr8
65249 diff -Nrup binutils-2.17/gas/testsuite/gas/avr32/hwrd-lwrd.d binutils-2.17-atmel/gas/testsuite/gas/avr32/hwrd-lwrd.d
65250 --- binutils-2.17/gas/testsuite/gas/avr32/hwrd-lwrd.d 1970-01-01 01:00:00.000000000 +0100
65251 +++ binutils-2.17-atmel/gas/testsuite/gas/avr32/hwrd-lwrd.d 2006-08-04 14:51:13.000000000 +0200
65252 @@ -0,0 +1,47 @@
65253 +#as:
65254 +#objdump: -dr
65255 +#name: hwrd-lwrd
65256 +
65257 +.*: +file format .*
65258 +
65259 +Disassembly of section \.text:
65260 +
65261 +00000000 <test_hwrd>:
65262 + 0: e0 60 87 65 mov r0,34661
65263 + 4: e0 60 12 34 mov r0,4660
65264 + 8: e0 60 00 00 mov r0,0
65265 + 8: R_AVR32_HI16 \.text\+0x60
65266 + c: e0 60 00 00 mov r0,0
65267 + c: R_AVR32_HI16 extsym1
65268 + 10: ea 10 87 65 orh r0,0x8765
65269 + 14: ea 10 12 34 orh r0,0x1234
65270 + 18: ea 10 00 00 orh r0,0x0
65271 + 18: R_AVR32_HI16 \.text\+0x60
65272 + 1c: ea 10 00 00 orh r0,0x0
65273 + 1c: R_AVR32_HI16 extsym1
65274 + 20: e4 10 87 65 andh r0,0x8765
65275 + 24: e4 10 12 34 andh r0,0x1234
65276 + 28: e4 10 00 00 andh r0,0x0
65277 + 28: R_AVR32_HI16 \.text\+0x60
65278 + 2c: e4 10 00 00 andh r0,0x0
65279 + 2c: R_AVR32_HI16 extsym1
65280 +
65281 +00000030 <test_lwrd>:
65282 + 30: e0 60 43 21 mov r0,17185
65283 + 34: e0 60 56 78 mov r0,22136
65284 + 38: e0 60 00 00 mov r0,0
65285 + 38: R_AVR32_LO16 \.text\+0x60
65286 + 3c: e0 60 00 00 mov r0,0
65287 + 3c: R_AVR32_LO16 extsym1
65288 + 40: e8 10 43 21 orl r0,0x4321
65289 + 44: e8 10 56 78 orl r0,0x5678
65290 + 48: e8 10 00 00 orl r0,0x0
65291 + 48: R_AVR32_LO16 \.text\+0x60
65292 + 4c: e8 10 00 00 orl r0,0x0
65293 + 4c: R_AVR32_LO16 extsym1
65294 + 50: e0 10 43 21 andl r0,0x4321
65295 + 54: e0 10 56 78 andl r0,0x5678
65296 + 58: e0 10 00 00 andl r0,0x0
65297 + 58: R_AVR32_LO16 \.text\+0x60
65298 + 5c: e0 10 00 00 andl r0,0x0
65299 + 5c: R_AVR32_LO16 extsym1
65300 diff -Nrup binutils-2.17/gas/testsuite/gas/avr32/hwrd-lwrd.s binutils-2.17-atmel/gas/testsuite/gas/avr32/hwrd-lwrd.s
65301 --- binutils-2.17/gas/testsuite/gas/avr32/hwrd-lwrd.s 1970-01-01 01:00:00.000000000 +0100
65302 +++ binutils-2.17-atmel/gas/testsuite/gas/avr32/hwrd-lwrd.s 2006-08-04 14:51:13.000000000 +0200
65303 @@ -0,0 +1,39 @@
65304 +
65305 + .equ sym1, 0x12345678
65306 +
65307 + .text
65308 + .global test_hwrd
65309 +test_hwrd:
65310 + mov r0, hi(0x87654321)
65311 + mov r0, hi(sym1)
65312 + mov r0, hi(sym2)
65313 + mov r0, hi(extsym1)
65314 +
65315 + orh r0, hi(0x87654321)
65316 + orh r0, hi(sym1)
65317 + orh r0, hi(sym2)
65318 + orh r0, hi(extsym1)
65319 +
65320 + andh r0, hi(0x87654321)
65321 + andh r0, hi(sym1)
65322 + andh r0, hi(sym2)
65323 + andh r0, hi(extsym1)
65324 +
65325 + .global test_lwrd
65326 +test_lwrd:
65327 + mov r0, lo(0x87654321)
65328 + mov r0, lo(sym1)
65329 + mov r0, lo(sym2)
65330 + mov r0, lo(extsym1)
65331 +
65332 + orl r0, lo(0x87654321)
65333 + orl r0, lo(sym1)
65334 + orl r0, lo(sym2)
65335 + orl r0, lo(extsym1)
65336 +
65337 + andl r0, lo(0x87654321)
65338 + andl r0, lo(sym1)
65339 + andl r0, lo(sym2)
65340 + andl r0, lo(extsym1)
65341 +
65342 +sym2:
65343 diff -Nrup binutils-2.17/gas/testsuite/gas/avr32/jmptable.d binutils-2.17-atmel/gas/testsuite/gas/avr32/jmptable.d
65344 --- binutils-2.17/gas/testsuite/gas/avr32/jmptable.d 1970-01-01 01:00:00.000000000 +0100
65345 +++ binutils-2.17-atmel/gas/testsuite/gas/avr32/jmptable.d 2006-08-04 14:51:13.000000000 +0200
65346 @@ -0,0 +1,20 @@
65347 +#source: jmptable.s
65348 +#as:
65349 +#objdump: -dr
65350 +#name: jmptable
65351 +
65352 +.*: +file format .*
65353 +
65354 +Disassembly of section \.text:
65355 +
65356 +00000000 <jmptable_test>:
65357 + 0: fe c8 ff f4 sub r8,pc,-12
65358 + 4: f0 00 00 2f add pc,r8,r0<<0x2
65359 + 8: d7 03 nop
65360 + a: 00 00 add r0,r0
65361 + c: c0 38 rjmp 12 <jmptable_test\+0x12>
65362 + e: c0 38 rjmp 14 <jmptable_test\+0x14>
65363 + 10: c0 38 rjmp 16 <jmptable_test\+0x16>
65364 + 12: d7 03 nop
65365 + 14: d7 03 nop
65366 + 16: d7 03 nop
65367 diff -Nrup binutils-2.17/gas/testsuite/gas/avr32/jmptable_linkrelax.d binutils-2.17-atmel/gas/testsuite/gas/avr32/jmptable_linkrelax.d
65368 --- binutils-2.17/gas/testsuite/gas/avr32/jmptable_linkrelax.d 1970-01-01 01:00:00.000000000 +0100
65369 +++ binutils-2.17-atmel/gas/testsuite/gas/avr32/jmptable_linkrelax.d 2006-08-04 14:51:13.000000000 +0200
65370 @@ -0,0 +1,25 @@
65371 +#source: jmptable.s
65372 +#as: --linkrelax
65373 +#objdump: -dr
65374 +#name: jmptable_linkrelax
65375 +
65376 +.*: +file format .*
65377 +
65378 +Disassembly of section \.text:
65379 +
65380 +00000000 <jmptable_test>:
65381 + 0: fe c8 00 00 sub r8,pc,0
65382 + 0: R_AVR32_16N_PCREL \.text\+0xc
65383 + 4: f0 00 00 2f add pc,r8,r0<<0x2
65384 + 8: d7 03 nop
65385 + a: 00 00 add r0,r0
65386 + a: R_AVR32_ALIGN \*ABS\*\+0x2
65387 + c: c0 08 rjmp c <jmptable_test\+0xc>
65388 + c: R_AVR32_11H_PCREL \.text\+0x12
65389 + e: c0 08 rjmp e <jmptable_test\+0xe>
65390 + e: R_AVR32_11H_PCREL \.text\+0x14
65391 + 10: c0 08 rjmp 10 <jmptable_test\+0x10>
65392 + 10: R_AVR32_11H_PCREL \.text\+0x16
65393 + 12: d7 03 nop
65394 + 14: d7 03 nop
65395 + 16: d7 03 nop
65396 diff -Nrup binutils-2.17/gas/testsuite/gas/avr32/jmptable.s binutils-2.17-atmel/gas/testsuite/gas/avr32/jmptable.s
65397 --- binutils-2.17/gas/testsuite/gas/avr32/jmptable.s 1970-01-01 01:00:00.000000000 +0100
65398 +++ binutils-2.17-atmel/gas/testsuite/gas/avr32/jmptable.s 2006-08-04 14:51:13.000000000 +0200
65399 @@ -0,0 +1,14 @@
65400 +
65401 + .text
65402 + .global jmptable_test
65403 +jmptable_test:
65404 + sub r8, pc, -(.L1 - .)
65405 + add pc, r8, r0 << 2
65406 + nop
65407 + .align 2
65408 +.L1: rjmp 1f
65409 + rjmp 2f
65410 + rjmp 3f
65411 +1: nop
65412 +2: nop
65413 +3: nop
65414 diff -Nrup binutils-2.17/gas/testsuite/gas/avr32/lda_nopic.d binutils-2.17-atmel/gas/testsuite/gas/avr32/lda_nopic.d
65415 --- binutils-2.17/gas/testsuite/gas/avr32/lda_nopic.d 1970-01-01 01:00:00.000000000 +0100
65416 +++ binutils-2.17-atmel/gas/testsuite/gas/avr32/lda_nopic.d 2006-08-04 14:51:13.000000000 +0200
65417 @@ -0,0 +1,32 @@
65418 +#source: lda.s
65419 +#as:
65420 +#objdump: -dr
65421 +#name: lda_nopic
65422 +
65423 +.*: +file format .*
65424 +
65425 +Disassembly of section \.text:
65426 +
65427 +00000000 <lda_test>:
65428 + 0: f2 c8 00 00 sub r8,r9,0
65429 +
65430 +00000004 <far_negative>:
65431 + 4: f6 ca 00 00 sub r10,r11,0
65432 + ...
65433 + 8000: fe c0 7f fc sub r0,pc,32764
65434 + 8004: 48 31 lddpc r1,8010 <far_negative\+0x800c>
65435 + 8006: 48 42 lddpc r2,8014 <far_negative\+0x8010>
65436 + 8008: 48 43 lddpc r3,8018 <far_negative\+0x8014>
65437 + 800a: 48 54 lddpc r4,801c <far_negative\+0x8018>
65438 + 800c: fe c5 80 04 sub r5,pc,-32764
65439 + ...
65440 + 8010: R_AVR32_32_CPENT \.text
65441 + 8014: R_AVR32_32_CPENT \.data
65442 + 8018: R_AVR32_32_CPENT undefined
65443 + 801c: R_AVR32_32_CPENT \.text\+0x1001c
65444 +
65445 +00010008 <far_positive>:
65446 + 10008: fa cc 00 00 sub r12,sp,0
65447 + ...
65448 +0001001c <toofar_positive>:
65449 + 1001c: fe ce 00 00 sub lr,pc,0
65450 diff -Nrup binutils-2.17/gas/testsuite/gas/avr32/lda_nopic_linkrelax.d binutils-2.17-atmel/gas/testsuite/gas/avr32/lda_nopic_linkrelax.d
65451 --- binutils-2.17/gas/testsuite/gas/avr32/lda_nopic_linkrelax.d 1970-01-01 01:00:00.000000000 +0100
65452 +++ binutils-2.17-atmel/gas/testsuite/gas/avr32/lda_nopic_linkrelax.d 2006-08-04 14:51:13.000000000 +0200
65453 @@ -0,0 +1,41 @@
65454 +#source: lda.s
65455 +#as: --linkrelax
65456 +#objdump: -dr
65457 +#name: lda_nopic_linkrelax
65458 +
65459 +.*: +file format .*
65460 +
65461 +Disassembly of section \.text:
65462 +
65463 +00000000 <lda_test>:
65464 + 0: f2 c8 00 00 sub r8,r9,0
65465 +
65466 +00000004 <far_negative>:
65467 + 4: f6 ca 00 00 sub r10,r11,0
65468 + \.\.\.
65469 + 8000: 48 00 lddpc r0,8000 <far_negative\+0x7ffc>
65470 + 8000: R_AVR32_9W_CP \.text\+0x800c
65471 + 8002: 48 01 lddpc r1,8000 <far_negative\+0x7ffc>
65472 + 8002: R_AVR32_9W_CP \.text\+0x8010
65473 + 8004: 48 02 lddpc r2,8004 <far_negative\+0x8000>
65474 + 8004: R_AVR32_9W_CP \.text\+0x8014
65475 + 8006: 48 03 lddpc r3,8004 <far_negative\+0x8000>
65476 + 8006: R_AVR32_9W_CP \.text\+0x8018
65477 + 8008: 48 04 lddpc r4,8008 <far_negative\+0x8004>
65478 + 8008: R_AVR32_9W_CP \.text\+0x801c
65479 + 800a: 48 05 lddpc r5,8008 <far_negative\+0x8004>
65480 + 800a: R_AVR32_9W_CP \.text\+0x8020
65481 + \.\.\.
65482 + 800c: R_AVR32_ALIGN \*ABS\*\+0x2
65483 + 800c: R_AVR32_32_CPENT \.text\+0x4
65484 + 8010: R_AVR32_32_CPENT \.text
65485 + 8014: R_AVR32_32_CPENT \.data
65486 + 8018: R_AVR32_32_CPENT undefined
65487 + 801c: R_AVR32_32_CPENT \.text\+0x10020
65488 + 8020: R_AVR32_32_CPENT \.text\+0x1000c
65489 +
65490 +0001000c <far_positive>:
65491 + 1000c: fa cc 00 00 sub r12,sp,0
65492 + \.\.\.
65493 +00010020 <toofar_positive>:
65494 + 10020: fe ce 00 00 sub lr,pc,0
65495 diff -Nrup binutils-2.17/gas/testsuite/gas/avr32/lda_pic.d binutils-2.17-atmel/gas/testsuite/gas/avr32/lda_pic.d
65496 --- binutils-2.17/gas/testsuite/gas/avr32/lda_pic.d 1970-01-01 01:00:00.000000000 +0100
65497 +++ binutils-2.17-atmel/gas/testsuite/gas/avr32/lda_pic.d 2006-08-04 14:51:13.000000000 +0200
65498 @@ -0,0 +1,32 @@
65499 +#source: lda.s
65500 +#as: --pic
65501 +#objdump: -dr
65502 +#name: lda_pic
65503 +
65504 +.*: +file format .*
65505 +
65506 +Disassembly of section \.text:
65507 +
65508 +00000000 <lda_test>:
65509 + 0: f2 c8 00 00 sub r8,r9,0
65510 +
65511 +00000004 <far_negative>:
65512 + 4: f6 ca 00 00 sub r10,r11,0
65513 + ...
65514 + 8000: fe c0 7f fc sub r0,pc,32764
65515 + 8004: ec f1 00 00 ld.w r1,r6\[0\]
65516 + 8004: R_AVR32_GOT16S toofar_negative
65517 + 8008: ec f2 00 00 ld.w r2,r6\[0\]
65518 + 8008: R_AVR32_GOT16S different_section
65519 + 800c: ec f3 00 00 ld.w r3,r6\[0\]
65520 + 800c: R_AVR32_GOT16S undefined
65521 + 8010: ec f4 00 00 ld.w r4,r6\[0\]
65522 + 8010: R_AVR32_GOT16S toofar_positive
65523 + 8014: fe c5 80 14 sub r5,pc,-32748
65524 + ...
65525 +
65526 +00010000 <far_positive>:
65527 + 10000: fa cc 00 00 sub r12,sp,0
65528 + ...
65529 +00010014 <toofar_positive>:
65530 + 10014: fe ce 00 00 sub lr,pc,0
65531 diff -Nrup binutils-2.17/gas/testsuite/gas/avr32/lda_pic_linkrelax.d binutils-2.17-atmel/gas/testsuite/gas/avr32/lda_pic_linkrelax.d
65532 --- binutils-2.17/gas/testsuite/gas/avr32/lda_pic_linkrelax.d 1970-01-01 01:00:00.000000000 +0100
65533 +++ binutils-2.17-atmel/gas/testsuite/gas/avr32/lda_pic_linkrelax.d 2006-08-04 14:51:13.000000000 +0200
65534 @@ -0,0 +1,40 @@
65535 +#source: lda.s
65536 +#as: --pic --linkrelax
65537 +#objdump: -dr
65538 +#name: lda_pic_linkrelax
65539 +
65540 +.*: +file format .*
65541 +
65542 +Disassembly of section \.text:
65543 +
65544 +00000000 <lda_test>:
65545 + 0: f2 c8 00 00 sub r8,r9,0
65546 +
65547 +00000004 <far_negative>:
65548 + 4: f6 ca 00 00 sub r10,r11,0
65549 + ...
65550 + 8000: e0 60 00 00 mov r0,0
65551 + 8000: R_AVR32_LDA_GOT far_negative
65552 + 8004: ec 00 03 20 ld\.w r0,r6\[r0<<0x2\]
65553 + 8008: e0 61 00 00 mov r1,0
65554 + 8008: R_AVR32_LDA_GOT toofar_negative
65555 + 800c: ec 01 03 21 ld\.w r1,r6\[r1<<0x2\]
65556 + 8010: e0 62 00 00 mov r2,0
65557 + 8010: R_AVR32_LDA_GOT different_section
65558 + 8014: ec 02 03 22 ld\.w r2,r6\[r2<<0x2\]
65559 + 8018: e0 63 00 00 mov r3,0
65560 + 8018: R_AVR32_LDA_GOT undefined
65561 + 801c: ec 03 03 23 ld\.w r3,r6\[r3<<0x2\]
65562 + 8020: e0 64 00 00 mov r4,0
65563 + 8020: R_AVR32_LDA_GOT toofar_positive
65564 + 8024: ec 04 03 24 ld\.w r4,r6\[r4<<0x2\]
65565 + 8028: e0 65 00 00 mov r5,0
65566 + 8028: R_AVR32_LDA_GOT far_positive
65567 + 802c: ec 05 03 25 ld\.w r5,r6\[r5<<0x2\]
65568 + ...
65569 +
65570 +00010018 <far_positive>:
65571 + 10018: fa cc 00 00 sub r12,sp,0
65572 + ...
65573 +0001002c <toofar_positive>:
65574 + 1002c: fe ce 00 00 sub lr,pc,0
65575 diff -Nrup binutils-2.17/gas/testsuite/gas/avr32/lda.s binutils-2.17-atmel/gas/testsuite/gas/avr32/lda.s
65576 --- binutils-2.17/gas/testsuite/gas/avr32/lda.s 1970-01-01 01:00:00.000000000 +0100
65577 +++ binutils-2.17-atmel/gas/testsuite/gas/avr32/lda.s 2006-08-04 14:51:13.000000000 +0200
65578 @@ -0,0 +1,30 @@
65579 +
65580 + .text
65581 + .global lda_test
65582 +lda_test:
65583 +toofar_negative:
65584 + sub r8, r9, 0
65585 +far_negative:
65586 + sub r10, r11, 0
65587 +
65588 + .fill 32760, 1, 0x00
65589 +
65590 + lda.w r0, far_negative
65591 + lda.w r1, toofar_negative
65592 + lda.w r2, different_section
65593 + lda.w r3, undefined
65594 + lda.w r4, toofar_positive
65595 + lda.w r5, far_positive
65596 +
65597 + .cpool
65598 +
65599 + .fill 32744, 1, 0x00
65600 +far_positive:
65601 + sub r12, sp, 0
65602 + .fill 16, 1, 0x00
65603 +toofar_positive:
65604 + sub lr, pc, 0
65605 +
65606 + .data
65607 +different_section:
65608 + .long 0x12345678
65609 diff -Nrup binutils-2.17/gas/testsuite/gas/avr32/pcrel.d binutils-2.17-atmel/gas/testsuite/gas/avr32/pcrel.d
65610 --- binutils-2.17/gas/testsuite/gas/avr32/pcrel.d 1970-01-01 01:00:00.000000000 +0100
65611 +++ binutils-2.17-atmel/gas/testsuite/gas/avr32/pcrel.d 2006-08-04 14:51:13.000000000 +0200
65612 @@ -0,0 +1,64 @@
65613 +#as:
65614 +#objdump: -dr
65615 +#name: pcrel
65616 +
65617 +.*: +file format .*
65618 +
65619 +Disassembly of section \.text:
65620 +
65621 +00000000 <test_rjmp>:
65622 + 0: d7 03 nop
65623 + 2: c0 28 rjmp 6 <test_rjmp\+0x6>
65624 + 4: d7 03 nop
65625 + 6: e0 8f 00 00 bral 6 <test_rjmp\+0x6>
65626 + 6: R_AVR32_22H_PCREL extsym10
65627 +
65628 +0000000a <test_rcall>:
65629 + a: d7 03 nop
65630 +0000000c <test_rcall2>:
65631 + c: c0 2c rcall 10 <test_rcall2\+0x4>
65632 + e: d7 03 nop
65633 + 10: e0 a0 00 00 rcall 10 <test_rcall2\+0x4>
65634 + 10: R_AVR32_22H_PCREL extsym21
65635 +
65636 +00000014 <test_branch>:
65637 + 14: c0 31 brne 1a <test_branch\+0x6>
65638 + 16: e0 8f 00 00 bral 16 <test_branch\+0x2>
65639 + 16: R_AVR32_22H_PCREL test_branch
65640 + 1a: e0 80 00 00 breq 1a <test_branch\+0x6>
65641 + 1a: R_AVR32_22H_PCREL extsym21
65642 +
65643 +0000001e <test_lddpc>:
65644 + 1e: 48 30 lddpc r0,28 <sym1>
65645 + 20: 48 20 lddpc r0,28 <sym1>
65646 + 22: fe f0 00 00 ld.w r0,pc\[0\]
65647 + 22: R_AVR32_16B_PCREL extsym16
65648 + \.\.\.
65649 +
65650 +00000028 <sym1>:
65651 + 28: d7 03 nop
65652 + 2a: d7 03 nop
65653 +
65654 +0000002c <test_local>:
65655 + 2c: 48 20 lddpc r0,34 <test_local\+0x8>
65656 + 2e: 48 30 lddpc r0,38 <test_local\+0xc>
65657 + 30: 48 20 lddpc r0,38 <test_local\+0xc>
65658 + 32: 00 00 add r0,r0
65659 + 34: d7 03 nop
65660 + 36: d7 03 nop
65661 + 38: d7 03 nop
65662 + 3a: d7 03 nop
65663 +
65664 +Disassembly of section \.text\.init:
65665 +
65666 +00000000 <test_inter_section>:
65667 + 0: e0 a0 .. .. rcall [0-9a-f]+ <.*>
65668 + 0: R_AVR32_22H_PCREL test_rcall
65669 + 4: d7 03 nop
65670 + 6: e0 a0 .. .. rcall [0-9a-f]+ <.*>
65671 + 6: R_AVR32_22H_PCREL test_rcall
65672 + a: e0 a0 .. .. rcall [0-9a-z]+ <.*>
65673 + a: R_AVR32_22H_PCREL \.text\+0xc
65674 + e: d7 03 nop
65675 + 10: e0 a0 .. .. rcall [0-9a-f]+ <.*>
65676 + 10: R_AVR32_22H_PCREL \.text\+0xc
65677 diff -Nrup binutils-2.17/gas/testsuite/gas/avr32/pcrel.s binutils-2.17-atmel/gas/testsuite/gas/avr32/pcrel.s
65678 --- binutils-2.17/gas/testsuite/gas/avr32/pcrel.s 1970-01-01 01:00:00.000000000 +0100
65679 +++ binutils-2.17-atmel/gas/testsuite/gas/avr32/pcrel.s 2006-08-04 14:51:13.000000000 +0200
65680 @@ -0,0 +1,57 @@
65681 +
65682 + .text
65683 + .global test_rjmp
65684 +test_rjmp:
65685 + nop
65686 + rjmp 0f
65687 + nop
65688 +0: rjmp extsym10
65689 +
65690 + .global test_rcall
65691 +test_rcall:
65692 + nop
65693 +test_rcall2:
65694 + rcall 0f
65695 + nop
65696 +0: rcall extsym21
65697 +
65698 + .global test_branch
65699 +test_branch:
65700 + brne 0f
65701 + /* This will generate a reloc since test_branch is global */
65702 + bral test_branch
65703 +0: breq extsym21
65704 +
65705 + .global test_lddpc
65706 +test_lddpc:
65707 + lddpc r0,sym1
65708 + lddpc r0,sym1
65709 + lddpc r0,extsym16
65710 +
65711 + .align 2
65712 +sym1: nop
65713 + nop
65714 +
65715 + .global test_local
65716 +test_local:
65717 + lddpc r0, .LC1
65718 + lddpc r0, .LC2
65719 + lddpc r0, .LC1 + 0x4
65720 +
65721 + .align 2
65722 +.LC1:
65723 + nop
65724 + nop
65725 +.LC2:
65726 + nop
65727 + nop
65728 +
65729 + .section .text.init,"ax"
65730 + .global test_inter_section
65731 +test_inter_section:
65732 + rcall test_rcall
65733 + nop
65734 + rcall test_rcall
65735 + rcall test_rcall2
65736 + nop
65737 + rcall test_rcall2
65738 diff -Nrup binutils-2.17/gas/testsuite/gas/avr32/pico.d binutils-2.17-atmel/gas/testsuite/gas/avr32/pico.d
65739 --- binutils-2.17/gas/testsuite/gas/avr32/pico.d 1970-01-01 01:00:00.000000000 +0100
65740 +++ binutils-2.17-atmel/gas/testsuite/gas/avr32/pico.d 2007-01-29 12:21:57.000000000 +0100
65741 @@ -0,0 +1,149 @@
65742 +#as:
65743 +#objdump: -dr
65744 +#name: pico
65745 +
65746 +.*: +file format .*
65747 +
65748 +Disassembly of section \.text:
65749 +
65750 +[0-9a-f]* <picosvmac>:
65751 + *[0-9a-f]*: e1 a6 20 00 cop cp1,cr0,cr0,cr0,0xc
65752 + *[0-9a-f]*: e1 a7 2b bb cop cp1,cr11,cr11,cr11,0xe
65753 + *[0-9a-f]*: e1 a6 3a 05 cop cp1,cr10,cr0,cr5,0xd
65754 + *[0-9a-f]*: e1 a7 36 90 cop cp1,cr6,cr9,cr0,0xf
65755 +
65756 +[0-9a-f]* <picosvmul>:
65757 + *[0-9a-f]*: e1 a4 20 00 cop cp1,cr0,cr0,cr0,0x8
65758 + *[0-9a-f]*: e1 a5 2b bb cop cp1,cr11,cr11,cr11,0xa
65759 + *[0-9a-f]*: e1 a4 3a 05 cop cp1,cr10,cr0,cr5,0x9
65760 + *[0-9a-f]*: e1 a5 36 90 cop cp1,cr6,cr9,cr0,0xb
65761 +
65762 +[0-9a-f]* <picovmac>:
65763 + *[0-9a-f]*: e1 a2 20 00 cop cp1,cr0,cr0,cr0,0x4
65764 + *[0-9a-f]*: e1 a3 2b bb cop cp1,cr11,cr11,cr11,0x6
65765 + *[0-9a-f]*: e1 a2 3a 05 cop cp1,cr10,cr0,cr5,0x5
65766 + *[0-9a-f]*: e1 a3 36 90 cop cp1,cr6,cr9,cr0,0x7
65767 +
65768 +[0-9a-f]* <picovmul>:
65769 + *[0-9a-f]*: e1 a0 20 00 cop cp1,cr0,cr0,cr0,0x0
65770 + *[0-9a-f]*: e1 a1 2b bb cop cp1,cr11,cr11,cr11,0x2
65771 + *[0-9a-f]*: e1 a0 3a 05 cop cp1,cr10,cr0,cr5,0x1
65772 + *[0-9a-f]*: e1 a1 36 90 cop cp1,cr6,cr9,cr0,0x3
65773 +
65774 +[0-9a-f]* <picold_d>:
65775 + *[0-9a-f]*: e9 af 3e ff ldc\.d cp1,cr14,pc\[0x3fc\]
65776 + *[0-9a-f]*: e9 a0 30 ff ldc\.d cp1,cr0,r0\[0x3fc\]
65777 + *[0-9a-f]*: e9 a0 30 00 ldc\.d cp1,cr0,r0\[0x0\]
65778 + *[0-9a-f]*: ef a8 26 50 ldc\.d cp1,cr6,--r8
65779 + *[0-9a-f]*: ef a7 28 50 ldc\.d cp1,cr8,--r7
65780 + *[0-9a-f]*: ef aa 32 65 ldc\.d cp1,cr2,r10\[r5<<0x2\]
65781 + *[0-9a-f]*: ef a3 3c 46 ldc\.d cp1,cr12,r3\[r6\]
65782 +
65783 +[0-9a-f]* <picold_w>:
65784 + *[0-9a-f]*: e9 af 2f ff ldc\.w cp1,cr15,pc\[0x3fc\]
65785 + *[0-9a-f]*: e9 a0 20 ff ldc\.w cp1,cr0,r0\[0x3fc\]
65786 + *[0-9a-f]*: e9 a0 20 00 ldc\.w cp1,cr0,r0\[0x0\]
65787 + *[0-9a-f]*: ef a8 27 40 ldc\.w cp1,cr7,--r8
65788 + *[0-9a-f]*: ef a7 28 40 ldc\.w cp1,cr8,--r7
65789 + *[0-9a-f]*: ef aa 31 25 ldc\.w cp1,cr1,r10\[r5<<0x2\]
65790 + *[0-9a-f]*: ef a3 3d 06 ldc\.w cp1,cr13,r3\[r6\]
65791 +
65792 +[0-9a-f]* <picoldm_d>:
65793 + *[0-9a-f]*: ed af 24 ff ldcm\.d cp1,pc,cr0-cr15
65794 + *[0-9a-f]*: ed a0 24 01 ldcm\.d cp1,r0,cr0-cr1
65795 + *[0-9a-f]*: ed a7 24 80 ldcm\.d cp1,r7,cr14-cr15
65796 + *[0-9a-f]*: ed a8 24 7f ldcm\.d cp1,r8,cr0-cr13
65797 +
65798 +[0-9a-f]* <picoldm_d_pu>:
65799 + *[0-9a-f]*: ed af 34 ff ldcm\.d cp1,pc\+\+,cr0-cr15
65800 + *[0-9a-f]*: ed a0 34 01 ldcm\.d cp1,r0\+\+,cr0-cr1
65801 + *[0-9a-f]*: ed a7 34 80 ldcm\.d cp1,r7\+\+,cr14-cr15
65802 + *[0-9a-f]*: ed a8 34 7f ldcm\.d cp1,r8\+\+,cr0-cr13
65803 +
65804 +[0-9a-f]* <picoldm_w>:
65805 + *[0-9a-f]*: ed af 20 ff ldcm\.w cp1,pc,cr0-cr7
65806 + *[0-9a-f]*: ed a0 20 01 ldcm\.w cp1,r0,cr0
65807 + *[0-9a-f]*: ed a7 20 80 ldcm\.w cp1,r7,cr7
65808 + *[0-9a-f]*: ed a8 20 7f ldcm\.w cp1,r8,cr0-cr6
65809 + *[0-9a-f]*: ed af 21 ff ldcm\.w cp1,pc,cr8-cr15
65810 + *[0-9a-f]*: ed a0 21 01 ldcm\.w cp1,r0,cr8
65811 + *[0-9a-f]*: ed a7 21 80 ldcm\.w cp1,r7,cr15
65812 + *[0-9a-f]*: ed a8 21 7f ldcm\.w cp1,r8,cr8-cr14
65813 +
65814 +[0-9a-f]* <picoldm_w_pu>:
65815 + *[0-9a-f]*: ed af 30 ff ldcm\.w cp1,pc\+\+,cr0-cr7
65816 + *[0-9a-f]*: ed a0 30 01 ldcm\.w cp1,r0\+\+,cr0
65817 + *[0-9a-f]*: ed a7 30 80 ldcm\.w cp1,r7\+\+,cr7
65818 + *[0-9a-f]*: ed a8 30 7f ldcm\.w cp1,r8\+\+,cr0-cr6
65819 + *[0-9a-f]*: ed af 31 ff ldcm\.w cp1,pc\+\+,cr8-cr15
65820 + *[0-9a-f]*: ed a0 31 01 ldcm\.w cp1,r0\+\+,cr8
65821 + *[0-9a-f]*: ed a7 31 80 ldcm\.w cp1,r7\+\+,cr15
65822 + *[0-9a-f]*: ed a8 31 7f ldcm\.w cp1,r8\+\+,cr8-cr14
65823 +
65824 +[0-9a-f]* <picomv_d>:
65825 + *[0-9a-f]*: ef ae 2e 30 mvrc\.d cp1,cr14,lr
65826 + *[0-9a-f]*: ef a0 20 30 mvrc\.d cp1,cr0,r0
65827 + *[0-9a-f]*: ef a8 26 30 mvrc\.d cp1,cr6,r8
65828 + *[0-9a-f]*: ef a6 28 30 mvrc\.d cp1,cr8,r6
65829 + *[0-9a-f]*: ef ae 2e 10 mvcr\.d cp1,lr,cr14
65830 + *[0-9a-f]*: ef a0 20 10 mvcr\.d cp1,r0,cr0
65831 + *[0-9a-f]*: ef a8 26 10 mvcr\.d cp1,r8,cr6
65832 + *[0-9a-f]*: ef a6 28 10 mvcr\.d cp1,r6,cr8
65833 +
65834 +[0-9a-f]* <picomv_w>:
65835 + *[0-9a-f]*: ef af 2f 20 mvrc\.w cp1,cr15,pc
65836 + *[0-9a-f]*: ef a0 20 20 mvrc\.w cp1,cr0,r0
65837 + *[0-9a-f]*: ef a8 27 20 mvrc\.w cp1,cr7,r8
65838 + *[0-9a-f]*: ef a7 28 20 mvrc\.w cp1,cr8,r7
65839 + *[0-9a-f]*: ef af 2f 00 mvcr\.w cp1,pc,cr15
65840 + *[0-9a-f]*: ef a0 20 00 mvcr\.w cp1,r0,cr0
65841 + *[0-9a-f]*: ef a8 27 00 mvcr\.w cp1,r8,cr7
65842 + *[0-9a-f]*: ef a7 28 00 mvcr\.w cp1,r7,cr8
65843 +
65844 +[0-9a-f]* <picost_d>:
65845 + *[0-9a-f]*: eb af 3e ff stc\.d cp1,pc\[0x3fc\],cr14
65846 + *[0-9a-f]*: eb a0 30 00 stc\.d cp1,r0\[0x0\],cr0
65847 + *[0-9a-f]*: ef a8 26 70 stc\.d cp1,r8\+\+,cr6
65848 + *[0-9a-f]*: ef a7 28 70 stc\.d cp1,r7\+\+,cr8
65849 + *[0-9a-f]*: ef aa 32 e5 stc\.d cp1,r10\[r5<<0x2\],cr2
65850 + *[0-9a-f]*: ef a3 3c c6 stc\.d cp1,r3\[r6\],cr12
65851 +
65852 +[0-9a-f]* <picost_w>:
65853 + *[0-9a-f]*: eb af 2f ff stc\.w cp1,pc\[0x3fc\],cr15
65854 + *[0-9a-f]*: eb a0 20 00 stc\.w cp1,r0\[0x0\],cr0
65855 + *[0-9a-f]*: ef a8 27 60 stc\.w cp1,r8\+\+,cr7
65856 + *[0-9a-f]*: ef a7 28 60 stc\.w cp1,r7\+\+,cr8
65857 + *[0-9a-f]*: ef aa 31 a5 stc\.w cp1,r10\[r5<<0x2\],cr1
65858 + *[0-9a-f]*: ef a3 3d 86 stc\.w cp1,r3\[r6\],cr13
65859 +
65860 +[0-9a-f]* <picostm_d>:
65861 + *[0-9a-f]*: ed af 25 ff stcm\.d cp1,pc,cr0-cr15
65862 + *[0-9a-f]*: ed a0 25 01 stcm\.d cp1,r0,cr0-cr1
65863 + *[0-9a-f]*: ed a7 25 80 stcm\.d cp1,r7,cr14-cr15
65864 + *[0-9a-f]*: ed a8 25 7f stcm\.d cp1,r8,cr0-cr13
65865 +
65866 +[0-9a-f]* <picostm_d_pu>:
65867 + *[0-9a-f]*: ed af 35 ff stcm\.d cp1,--pc,cr0-cr15
65868 + *[0-9a-f]*: ed a0 35 01 stcm\.d cp1,--r0,cr0-cr1
65869 + *[0-9a-f]*: ed a7 35 80 stcm\.d cp1,--r7,cr14-cr15
65870 + *[0-9a-f]*: ed a8 35 7f stcm\.d cp1,--r8,cr0-cr13
65871 +
65872 +[0-9a-f]* <picostm_w>:
65873 + *[0-9a-f]*: ed af 22 ff stcm\.w cp1,pc,cr0-cr7
65874 + *[0-9a-f]*: ed a0 22 01 stcm\.w cp1,r0,cr0
65875 + *[0-9a-f]*: ed a7 22 80 stcm\.w cp1,r7,cr7
65876 + *[0-9a-f]*: ed a8 22 7f stcm\.w cp1,r8,cr0-cr6
65877 + *[0-9a-f]*: ed af 23 ff stcm\.w cp1,pc,cr8-cr15
65878 + *[0-9a-f]*: ed a0 23 01 stcm\.w cp1,r0,cr8
65879 + *[0-9a-f]*: ed a7 23 80 stcm\.w cp1,r7,cr15
65880 + *[0-9a-f]*: ed a8 23 7f stcm\.w cp1,r8,cr8-cr14
65881 +
65882 +[0-9a-f]* <picostm_w_pu>:
65883 + *[0-9a-f]*: ed af 32 ff stcm\.w cp1,--pc,cr0-cr7
65884 + *[0-9a-f]*: ed a0 32 01 stcm\.w cp1,--r0,cr0
65885 + *[0-9a-f]*: ed a7 32 80 stcm\.w cp1,--r7,cr7
65886 + *[0-9a-f]*: ed a8 32 7f stcm\.w cp1,--r8,cr0-cr6
65887 + *[0-9a-f]*: ed af 33 ff stcm\.w cp1,--pc,cr8-cr15
65888 + *[0-9a-f]*: ed a0 33 01 stcm\.w cp1,--r0,cr8
65889 + *[0-9a-f]*: ed a7 33 80 stcm\.w cp1,--r7,cr15
65890 + *[0-9a-f]*: ed a8 33 7f stcm\.w cp1,--r8,cr8-cr14
65891 diff -Nrup binutils-2.17/gas/testsuite/gas/avr32/pico.s binutils-2.17-atmel/gas/testsuite/gas/avr32/pico.s
65892 --- binutils-2.17/gas/testsuite/gas/avr32/pico.s 1970-01-01 01:00:00.000000000 +0100
65893 +++ binutils-2.17-atmel/gas/testsuite/gas/avr32/pico.s 2007-01-29 12:21:57.000000000 +0100
65894 @@ -0,0 +1,144 @@
65895 +
65896 + .text
65897 + .global picosvmac
65898 +picosvmac:
65899 + picosvmac out0, in0, in0, in0
65900 + picosvmac out2, in11, in11, in11
65901 + picosvmac out1, in10, in0, in5
65902 + picosvmac out3, in6, in9, in0
65903 + .global picosvmul
65904 +picosvmul:
65905 + picosvmul out0, in0, in0, in0
65906 + picosvmul out2, in11, in11, in11
65907 + picosvmul out1, in10, in0, in5
65908 + picosvmul out3, in6, in9, in0
65909 + .global picovmac
65910 +picovmac:
65911 + picovmac out0, in0, in0, in0
65912 + picovmac out2, in11, in11, in11
65913 + picovmac out1, in10, in0, in5
65914 + picovmac out3, in6, in9, in0
65915 + .global picovmul
65916 +picovmul:
65917 + picovmul out0, in0, in0, in0
65918 + picovmul out2, in11, in11, in11
65919 + picovmul out1, in10, in0, in5
65920 + picovmul out3, in6, in9, in0
65921 + .global picold_d
65922 +picold_d:
65923 + picold.d vmu2_out, pc[1020]
65924 + picold.d inpix2, r0[1020]
65925 + picold.d inpix2, r0[0]
65926 + picold.d coeff0_a, --r8
65927 + picold.d coeff1_a, --r7
65928 + picold.d inpix0, r10[r5 << 2]
65929 + picold.d vmu0_out, r3[r6 << 0]
65930 + .global picold_w
65931 +picold_w:
65932 + picold.w config, pc[1020]
65933 + picold.w inpix2, r0[1020]
65934 + picold.w inpix2, r0[0]
65935 + picold.w coeff0_b, --r8
65936 + picold.w coeff1_a, --r7
65937 + picold.w inpix1, r10[r5 << 2]
65938 + picold.w vmu1_out, r3[r6 << 0]
65939 + .global picoldm_d
65940 +picoldm_d:
65941 + picoldm.d pc, inpix2-config
65942 + picoldm.d r0, inpix2, inpix1
65943 + picoldm.d r7, vmu2_out, config
65944 + picoldm.d r8, inpix2-vmu1_out
65945 + .global picoldm_d_pu
65946 +picoldm_d_pu:
65947 + picoldm.d pc++, inpix2, inpix1, inpix0, outpix2, outpix1, outpix0, coeff0_a, coeff0_b, coeff1_a, coeff1_b, coeff2_a, coeff2_b, vmu0_out, vmu1_out, vmu2_out, config
65948 + picoldm.d r0++, inpix2, inpix1
65949 + picoldm.d r7++, vmu2_out, config
65950 + picoldm.d r8++, inpix2, inpix1, inpix0, outpix2, outpix1, outpix0, coeff0_a, coeff0_b, coeff1_a, coeff1_b, coeff2_a, coeff2_b, vmu0_out, vmu1_out
65951 + .global picoldm_w
65952 +picoldm_w:
65953 + picoldm.w pc, inpix2-coeff0_b
65954 + picoldm.w r0, inpix2
65955 + picoldm.w r7, coeff0_b
65956 + picoldm.w r8, inpix2-coeff0_a
65957 + picoldm.w pc, coeff1_a-config
65958 + picoldm.w r0, coeff1_a
65959 + picoldm.w r7, config
65960 + picoldm.w r8, coeff1_a-vmu2_out
65961 + .global picoldm_w_pu
65962 +picoldm_w_pu:
65963 + picoldm.w pc++, inpix2-coeff0_b
65964 + picoldm.w r0++, inpix2
65965 + picoldm.w r7++, coeff0_b
65966 + picoldm.w r8++, inpix2-coeff0_a
65967 + picoldm.w pc++, coeff1_a-config
65968 + picoldm.w r0++, coeff1_a
65969 + picoldm.w r7++, config
65970 + picoldm.w r8++, coeff1_a-vmu2_out
65971 + .global picomv_d
65972 +picomv_d:
65973 + picomv.d vmu2_out, lr
65974 + picomv.d inpix2, r0
65975 + picomv.d coeff0_a, r8
65976 + picomv.d coeff1_a, r6
65977 + picomv.d pc, vmu2_out
65978 + picomv.d r0, inpix2
65979 + picomv.d r8, coeff0_a
65980 + picomv.d r6, coeff1_a
65981 + .global picomv_w
65982 +picomv_w:
65983 + picomv.w config, pc
65984 + picomv.w inpix2, r0
65985 + picomv.w coeff0_b, r8
65986 + picomv.w coeff1_a, r7
65987 + picomv.w pc, config
65988 + picomv.w r0, inpix2
65989 + picomv.w r8, coeff0_b
65990 + picomv.w r7, coeff1_a
65991 + .global picost_d
65992 +picost_d:
65993 + picost.d pc[1020], vmu2_out
65994 + picost.d r0[0], inpix2
65995 + picost.d r8++, coeff0_a
65996 + picost.d r7++, coeff1_a
65997 + picost.d r10[r5 << 2], inpix0
65998 + picost.d r3[r6 << 0], vmu0_out
65999 + .global picost_w
66000 +picost_w:
66001 + picost.w pc[1020], config
66002 + picost.w r0[0], inpix2
66003 + picost.w r8++, coeff0_b
66004 + picost.w r7++, coeff1_a
66005 + picost.w r10[r5 << 2], inpix1
66006 + picost.w r3[r6 << 0], vmu1_out
66007 + .global picostm_d
66008 +picostm_d:
66009 + picostm.d pc, inpix2-config
66010 + picostm.d r0, inpix2, inpix1
66011 + picostm.d r7, vmu2_out, config
66012 + picostm.d r8, inpix2-vmu1_out
66013 + .global picostm_d_pu
66014 +picostm_d_pu:
66015 + picostm.d --pc, inpix2, inpix1, inpix0, outpix2, outpix1, outpix0, coeff0_a, coeff0_b, coeff1_a, coeff1_b, coeff2_a, coeff2_b, vmu0_out, vmu1_out, vmu2_out, config
66016 + picostm.d --r0, inpix2, inpix1
66017 + picostm.d --r7, vmu2_out, config
66018 + picostm.d --r8, inpix2, inpix1, inpix0, outpix2, outpix1, outpix0, coeff0_a, coeff0_b, coeff1_a, coeff1_b, coeff2_a, coeff2_b, vmu0_out, vmu1_out
66019 + .global picostm_w
66020 +picostm_w:
66021 + picostm.w pc, inpix2-coeff0_b
66022 + picostm.w r0, inpix2
66023 + picostm.w r7, coeff0_b
66024 + picostm.w r8, inpix2-coeff0_a
66025 + picostm.w pc, coeff1_a-config
66026 + picostm.w r0, coeff1_a
66027 + picostm.w r7, config
66028 + picostm.w r8, coeff1_a-vmu2_out
66029 + .global picostm_w_pu
66030 +picostm_w_pu:
66031 + picostm.w --pc, inpix2-coeff0_b
66032 + picostm.w --r0, inpix2
66033 + picostm.w --r7, coeff0_b
66034 + picostm.w --r8, inpix2-coeff0_a
66035 + picostm.w --pc, coeff1_a-config
66036 + picostm.w --r0, coeff1_a
66037 + picostm.w --r7, config
66038 + picostm.w --r8, coeff1_a-vmu2_out
66039 diff -Nrup binutils-2.17/gas/testsuite/gas/avr32/pic_reloc.d binutils-2.17-atmel/gas/testsuite/gas/avr32/pic_reloc.d
66040 --- binutils-2.17/gas/testsuite/gas/avr32/pic_reloc.d 1970-01-01 01:00:00.000000000 +0100
66041 +++ binutils-2.17-atmel/gas/testsuite/gas/avr32/pic_reloc.d 2006-08-04 14:51:13.000000000 +0200
66042 @@ -0,0 +1,27 @@
66043 +#as:
66044 +#objdump: -dr
66045 +#name: pic_reloc
66046 +
66047 +.*: +file format .*
66048 +
66049 +Disassembly of section \.text:
66050 +
66051 +00000000 <mcall_got>:
66052 + 0: f0 16 00 00 mcall r6\[0\]
66053 + 0: R_AVR32_GOT18SW extfunc
66054 + 4: f0 16 00 00 mcall r6\[0\]
66055 + 4: R_AVR32_GOT18SW \.L1
66056 + 8: f0 16 00 00 mcall r6\[0\]
66057 + 8: R_AVR32_GOT18SW \.L2
66058 + c: f0 16 00 00 mcall r6\[0\]
66059 + c: R_AVR32_GOT18SW mcall_got
66060 +
66061 +00000010 <ldw_got>:
66062 + 10: ec f0 00 00 ld.w r0,r6\[0\]
66063 + 10: R_AVR32_GOT16S extvar
66064 + 14: ec f0 00 00 ld.w r0,r6\[0\]
66065 + 14: R_AVR32_GOT16S \.L3
66066 + 18: ec f0 00 00 ld.w r0,r6\[0\]
66067 + 18: R_AVR32_GOT16S \.L4
66068 + 1c: ec f0 00 00 ld.w r0,r6\[0\]
66069 + 1c: R_AVR32_GOT16S ldw_got
66070 diff -Nrup binutils-2.17/gas/testsuite/gas/avr32/pic_reloc.s binutils-2.17-atmel/gas/testsuite/gas/avr32/pic_reloc.s
66071 --- binutils-2.17/gas/testsuite/gas/avr32/pic_reloc.s 1970-01-01 01:00:00.000000000 +0100
66072 +++ binutils-2.17-atmel/gas/testsuite/gas/avr32/pic_reloc.s 2006-08-04 14:51:13.000000000 +0200
66073 @@ -0,0 +1,18 @@
66074 +
66075 + .text
66076 + .global mcall_got
66077 +mcall_got:
66078 +.L1:
66079 + mcall r6[extfunc@got]
66080 + mcall r6[.L1@got]
66081 + mcall r6[.L2@got]
66082 + mcall r6[mcall_got@got]
66083 +.L2:
66084 +
66085 + .global ldw_got
66086 +ldw_got:
66087 +.L3: ld.w r0,r6[extvar@got]
66088 + ld.w r0,r6[.L3@got]
66089 + ld.w r0,r6[.L4@got]
66090 + ld.w r0,r6[ldw_got@got]
66091 +.L4:
66092 diff -Nrup binutils-2.17/gas/testsuite/gas/avr32/symdiff.d binutils-2.17-atmel/gas/testsuite/gas/avr32/symdiff.d
66093 --- binutils-2.17/gas/testsuite/gas/avr32/symdiff.d 1970-01-01 01:00:00.000000000 +0100
66094 +++ binutils-2.17-atmel/gas/testsuite/gas/avr32/symdiff.d 2006-08-04 14:51:13.000000000 +0200
66095 @@ -0,0 +1,24 @@
66096 +#source: symdiff.s
66097 +#as:
66098 +#objdump: -dr
66099 +#name: symdiff
66100 +
66101 +.*: +file format .*
66102 +
66103 +Disassembly of section \.text:
66104 +
66105 +00000000 <diff32>:
66106 + 0: 00 00 add r0,r0
66107 + 2: 00 04 add r4,r0
66108 +
66109 +00000004 <diff16>:
66110 + 4: 00 04 add r4,r0
66111 +
66112 +00000006 <diff8>:
66113 + 6: 04 00 add r0,r2
66114 +
66115 +00000008 <symdiff_test>:
66116 + 8: d7 03 nop
66117 + a: d7 03 nop
66118 + c: d7 03 nop
66119 + e: d7 03 nop
66120 diff -Nrup binutils-2.17/gas/testsuite/gas/avr32/symdiff_linkrelax.d binutils-2.17-atmel/gas/testsuite/gas/avr32/symdiff_linkrelax.d
66121 --- binutils-2.17/gas/testsuite/gas/avr32/symdiff_linkrelax.d 1970-01-01 01:00:00.000000000 +0100
66122 +++ binutils-2.17-atmel/gas/testsuite/gas/avr32/symdiff_linkrelax.d 2006-08-04 14:51:13.000000000 +0200
66123 @@ -0,0 +1,28 @@
66124 +#source: symdiff.s
66125 +#as: --linkrelax
66126 +#objdump: -dr
66127 +#name: symdiff_linkrelax
66128 +
66129 +.*: +file format .*
66130 +
66131 +Disassembly of section \.text:
66132 +
66133 +00000000 <diff32>:
66134 + 0: 00 00 add r0,r0
66135 + 0: R_AVR32_DIFF32 \.text\+0xa
66136 + 2: 00 04 add r4,r0
66137 +
66138 +00000004 <diff16>:
66139 + 4: 00 04 add r4,r0
66140 + 4: R_AVR32_DIFF16 \.text\+0xa
66141 +
66142 +00000006 <diff8>:
66143 + 6: 04 00 add r0,r2
66144 + 6: R_AVR32_DIFF8 \.text\+0xa
66145 + 7: R_AVR32_ALIGN \*ABS\*\+0x1
66146 +
66147 +00000008 <symdiff_test>:
66148 + 8: d7 03 nop
66149 + a: d7 03 nop
66150 + c: d7 03 nop
66151 + e: d7 03 nop
66152 diff -Nrup binutils-2.17/gas/testsuite/gas/avr32/symdiff.s binutils-2.17-atmel/gas/testsuite/gas/avr32/symdiff.s
66153 --- binutils-2.17/gas/testsuite/gas/avr32/symdiff.s 1970-01-01 01:00:00.000000000 +0100
66154 +++ binutils-2.17-atmel/gas/testsuite/gas/avr32/symdiff.s 2006-08-04 14:51:13.000000000 +0200
66155 @@ -0,0 +1,19 @@
66156 +
66157 + .text
66158 + .global diff32
66159 +diff32:
66160 + .long .L2 - .L1
66161 + .global diff16
66162 +diff16:
66163 + .short .L2 - .L1
66164 + .global diff8
66165 +diff8:
66166 + .byte .L2 - .L1
66167 +
66168 + .global symdiff_test
66169 + .align 1
66170 +symdiff_test:
66171 + nop
66172 +.L1: nop
66173 + nop
66174 +.L2: nop
66175 diff -Nrup binutils-2.17/gas/write.c binutils-2.17-atmel/gas/write.c
66176 --- binutils-2.17/gas/write.c 2006-05-10 15:43:37.000000000 +0200
66177 +++ binutils-2.17-atmel/gas/write.c 2007-02-12 15:37:09.000000000 +0100
66178 @@ -126,7 +126,9 @@ static fixS *fix_new_internal (fragS *,
66179 offsetT offset, int pcrel,
66180 RELOC_ENUM r_type);
66181 static long fixup_segment (fixS *, segT);
66182 +#if !defined (TC_RELAX_ALIGN)
66183 static relax_addressT relax_align (relax_addressT addr, int align);
66184 +#endif
66185 static fragS *chain_frchains_together_1 (segT, struct frchain *);
66186 static void chain_frchains_together (bfd *, segT, PTR);
66187 static void cvt_frag_to_fill (segT, fragS *);
66188 @@ -1684,6 +1686,10 @@ relax_frag (segT segment, fragS *fragP,
66189
66190 #endif /* defined (TC_GENERIC_RELAX_TABLE) */
66191
66192 +#ifdef TC_RELAX_ALIGN
66193 +#define RELAX_ALIGN(SEG, FRAG, ADDR) TC_RELAX_ALIGN(SEG, FRAG, ADDR)
66194 +#else
66195 +#define RELAX_ALIGN(SEG, FRAG, ADDR) relax_align(ADDR, (FRAG)->fr_offset)
66196 /* Relax_align. Advance location counter to next address that has 'alignment'
66197 lowest order bits all 0s, return size of adjustment made. */
66198 static relax_addressT
66199 @@ -1703,6 +1709,7 @@ relax_align (register relax_addressT add
66200 #endif
66201 return (new_address - address);
66202 }
66203 +#endif
66204
66205 /* Now we have a segment, not a crowd of sub-segments, we can make
66206 fr_address values.
66207 @@ -1746,7 +1753,7 @@ relax_segment (struct frag *segment_frag
66208 case rs_align_code:
66209 case rs_align_test:
66210 {
66211 - addressT offset = relax_align (address, (int) fragP->fr_offset);
66212 + addressT offset = RELAX_ALIGN(segment, fragP, address);
66213
66214 if (fragP->fr_subtype != 0 && offset > fragP->fr_subtype)
66215 offset = 0;
66216 @@ -1922,10 +1929,10 @@ relax_segment (struct frag *segment_frag
66217 {
66218 addressT oldoff, newoff;
66219
66220 - oldoff = relax_align (was_address + fragP->fr_fix,
66221 - (int) offset);
66222 - newoff = relax_align (address + fragP->fr_fix,
66223 - (int) offset);
66224 + oldoff = RELAX_ALIGN (segment, fragP,
66225 + was_address + fragP->fr_fix);
66226 + newoff = RELAX_ALIGN (segment, fragP,
66227 + address + fragP->fr_fix);
66228
66229 if (fragP->fr_subtype != 0)
66230 {
66231 diff -Nrup binutils-2.17/include/dis-asm.h binutils-2.17-atmel/include/dis-asm.h
66232 --- binutils-2.17/include/dis-asm.h 2006-02-17 15:36:26.000000000 +0100
66233 +++ binutils-2.17-atmel/include/dis-asm.h 2007-02-12 15:37:09.000000000 +0100
66234 @@ -223,6 +223,7 @@ extern int print_insn_big_arm (bfd_vma,
66235 extern int print_insn_little_arm (bfd_vma, disassemble_info *);
66236 extern int print_insn_sparc (bfd_vma, disassemble_info *);
66237 extern int print_insn_avr (bfd_vma, disassemble_info *);
66238 +extern int print_insn_avr32 (bfd_vma, disassemble_info *);
66239 extern int print_insn_bfin (bfd_vma, disassemble_info *);
66240 extern int print_insn_d10v (bfd_vma, disassemble_info *);
66241 extern int print_insn_d30v (bfd_vma, disassemble_info *);
66242 @@ -276,7 +277,9 @@ extern disassembler_ftype cris_get_disas
66243 extern void print_mips_disassembler_options (FILE *);
66244 extern void print_ppc_disassembler_options (FILE *);
66245 extern void print_arm_disassembler_options (FILE *);
66246 +extern void print_avr32_disassembler_options (FILE *);
66247 extern void parse_arm_disassembler_option (char *);
66248 +extern void parse_avr32_disassembler_option (char *);
66249 extern int get_arm_regname_num_options (void);
66250 extern int set_arm_regname_option (int);
66251 extern int get_arm_regnames (int, const char **, const char **, const char *const **);
66252 diff -Nrup binutils-2.17/include/elf/avr32.h binutils-2.17-atmel/include/elf/avr32.h
66253 --- binutils-2.17/include/elf/avr32.h 1970-01-01 01:00:00.000000000 +0100
66254 +++ binutils-2.17-atmel/include/elf/avr32.h 2006-08-04 14:50:43.000000000 +0200
66255 @@ -0,0 +1,95 @@
66256 +/* AVR32 ELF support for BFD.
66257 + Copyright 2003-2006 Atmel Corporation.
66258 +
66259 + Written by Haavard Skinnemoen, Atmel Norway, <hskinnemoen@atmel.com>
66260 +
66261 + This file is part of BFD, the Binary File Descriptor library.
66262 +
66263 + This program is free software; you can redistribute it and/or
66264 + modify it under the terms of the GNU General Public License as
66265 + published by the Free Software Foundation; either version 2 of the
66266 + License, or (at your option) any later version.
66267 +
66268 + This program is distributed in the hope that it will be useful, but
66269 + WITHOUT ANY WARRANTY; without even the implied warranty of
66270 + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
66271 + General Public License for more details.
66272 +
66273 + You should have received a copy of the GNU General Public License
66274 + along with this program; if not, write to the Free Software
66275 + Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
66276 + 02111-1307, USA. */
66277 +
66278 +#include "elf/reloc-macros.h"
66279 +
66280 +/* CPU-specific flags for the ELF header e_flags field */
66281 +#define EF_AVR32_LINKRELAX 0x01
66282 +#define EF_AVR32_PIC 0x02
66283 +
66284 +START_RELOC_NUMBERS (elf_avr32_reloc_type)
66285 + RELOC_NUMBER (R_AVR32_NONE, 0)
66286 +
66287 + /* Data Relocations */
66288 + RELOC_NUMBER (R_AVR32_32, 1)
66289 + RELOC_NUMBER (R_AVR32_16, 2)
66290 + RELOC_NUMBER (R_AVR32_8, 3)
66291 + RELOC_NUMBER (R_AVR32_32_PCREL, 4)
66292 + RELOC_NUMBER (R_AVR32_16_PCREL, 5)
66293 + RELOC_NUMBER (R_AVR32_8_PCREL, 6)
66294 + RELOC_NUMBER (R_AVR32_DIFF32, 7)
66295 + RELOC_NUMBER (R_AVR32_DIFF16, 8)
66296 + RELOC_NUMBER (R_AVR32_DIFF8, 9)
66297 + RELOC_NUMBER (R_AVR32_GOT32, 10)
66298 + RELOC_NUMBER (R_AVR32_GOT16, 11)
66299 + RELOC_NUMBER (R_AVR32_GOT8, 12)
66300 +
66301 + /* Normal Code Relocations */
66302 + RELOC_NUMBER (R_AVR32_21S, 13)
66303 + RELOC_NUMBER (R_AVR32_16U, 14)
66304 + RELOC_NUMBER (R_AVR32_16S, 15)
66305 + RELOC_NUMBER (R_AVR32_8S, 16)
66306 + RELOC_NUMBER (R_AVR32_8S_EXT, 17)
66307 +
66308 + /* PC-Relative Code Relocations */
66309 + RELOC_NUMBER (R_AVR32_22H_PCREL, 18)
66310 + RELOC_NUMBER (R_AVR32_18W_PCREL, 19)
66311 + RELOC_NUMBER (R_AVR32_16B_PCREL, 20)
66312 + RELOC_NUMBER (R_AVR32_16N_PCREL, 21)
66313 + RELOC_NUMBER (R_AVR32_14UW_PCREL, 22)
66314 + RELOC_NUMBER (R_AVR32_11H_PCREL, 23)
66315 + RELOC_NUMBER (R_AVR32_10UW_PCREL, 24)
66316 + RELOC_NUMBER (R_AVR32_9H_PCREL, 25)
66317 + RELOC_NUMBER (R_AVR32_9UW_PCREL, 26)
66318 +
66319 + /* Special Code Relocations */
66320 + RELOC_NUMBER (R_AVR32_HI16, 27)
66321 + RELOC_NUMBER (R_AVR32_LO16, 28)
66322 +
66323 + /* PIC Relocations */
66324 + RELOC_NUMBER (R_AVR32_GOTPC, 29)
66325 + RELOC_NUMBER (R_AVR32_GOTCALL, 30)
66326 + RELOC_NUMBER (R_AVR32_LDA_GOT, 31)
66327 + RELOC_NUMBER (R_AVR32_GOT21S, 32)
66328 + RELOC_NUMBER (R_AVR32_GOT18SW, 33)
66329 + RELOC_NUMBER (R_AVR32_GOT16S, 34)
66330 + RELOC_NUMBER (R_AVR32_GOT7UW, 35)
66331 +
66332 + /* Constant Pool Relocations */
66333 + RELOC_NUMBER (R_AVR32_32_CPENT, 36)
66334 + RELOC_NUMBER (R_AVR32_CPCALL, 37)
66335 + RELOC_NUMBER (R_AVR32_16_CP, 38)
66336 + RELOC_NUMBER (R_AVR32_9W_CP, 39)
66337 +
66338 + /* Dynamic Relocations */
66339 + RELOC_NUMBER (R_AVR32_RELATIVE, 40)
66340 + RELOC_NUMBER (R_AVR32_GLOB_DAT, 41)
66341 + RELOC_NUMBER (R_AVR32_JMP_SLOT, 42)
66342 +
66343 + /* Linkrelax Information */
66344 + RELOC_NUMBER (R_AVR32_ALIGN, 43)
66345 +END_RELOC_NUMBERS (R_AVR32_max)
66346 +
66347 +/* Processor specific dynamic array tags. */
66348 +
66349 +/* The total size in bytes of the Global Offset Table */
66350 +#define DT_AVR32_GOTSZ 0x70000001
66351 diff -Nrup binutils-2.17/include/elf/common.h binutils-2.17-atmel/include/elf/common.h
66352 --- binutils-2.17/include/elf/common.h 2006-02-17 15:36:26.000000000 +0100
66353 +++ binutils-2.17-atmel/include/elf/common.h 2007-02-12 15:37:09.000000000 +0100
66354 @@ -256,6 +256,9 @@
66355 /* V850 backend magic number. Written in the absense of an ABI. */
66356 #define EM_CYGNUS_V850 0x9080
66357
66358 +/* AVR32 magic number, picked by IAR Systems. */
66359 +#define EM_AVR32 0x18ad
66360 +
66361 /* old S/390 backend magic number. Written in the absence of an ABI. */
66362 #define EM_S390_OLD 0xa390
66363
66364 diff -Nrup binutils-2.17/ld/config.in binutils-2.17-atmel/ld/config.in
66365 --- binutils-2.17/ld/config.in 2006-04-16 20:20:30.000000000 +0200
66366 +++ binutils-2.17-atmel/ld/config.in 2007-02-20 16:07:39.000000000 +0100
66367 @@ -187,7 +187,7 @@
66368
66369 /* If using the C implementation of alloca, define if you know the
66370 direction of stack growth for your system; otherwise it will be
66371 - automatically deduced at run-time.
66372 + automatically deduced at runtime.
66373 STACK_DIRECTION > 0 => grows toward higher addresses
66374 STACK_DIRECTION < 0 => grows toward lower addresses
66375 STACK_DIRECTION = 0 => direction of growth unknown */
66376 @@ -215,8 +215,8 @@
66377 #undef inline
66378 #endif
66379
66380 -/* Define to `long' if <sys/types.h> does not define. */
66381 +/* Define to `long int' if <sys/types.h> does not define. */
66382 #undef off_t
66383
66384 -/* Define to `unsigned' if <sys/types.h> does not define. */
66385 +/* Define to `unsigned int' if <sys/types.h> does not define. */
66386 #undef size_t
66387 diff -Nrup binutils-2.17/ld/configure binutils-2.17-atmel/ld/configure
66388 --- binutils-2.17/ld/configure 2006-04-11 12:36:26.000000000 +0200
66389 +++ binutils-2.17-atmel/ld/configure 2007-02-20 16:07:37.000000000 +0100
66390 @@ -1,25 +1,54 @@
66391 #! /bin/sh
66392 # Guess values for system-dependent variables and create Makefiles.
66393 -# Generated by GNU Autoconf 2.59.
66394 +# Generated by GNU Autoconf 2.61.
66395 #
66396 -# Copyright (C) 2003 Free Software Foundation, Inc.
66397 +# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
66398 +# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
66399 # This configure script is free software; the Free Software Foundation
66400 # gives unlimited permission to copy, distribute and modify it.
66401 ## --------------------- ##
66402 ## M4sh Initialization. ##
66403 ## --------------------- ##
66404
66405 -# Be Bourne compatible
66406 +# Be more Bourne compatible
66407 +DUALCASE=1; export DUALCASE # for MKS sh
66408 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
66409 emulate sh
66410 NULLCMD=:
66411 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
66412 # is contrary to our usage. Disable this feature.
66413 alias -g '${1+"$@"}'='"$@"'
66414 -elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
66415 - set -o posix
66416 + setopt NO_GLOB_SUBST
66417 +else
66418 + case `(set -o) 2>/dev/null` in
66419 + *posix*) set -o posix ;;
66420 +esac
66421 +
66422 +fi
66423 +
66424 +
66425 +
66426 +
66427 +# PATH needs CR
66428 +# Avoid depending upon Character Ranges.
66429 +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
66430 +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
66431 +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
66432 +as_cr_digits='0123456789'
66433 +as_cr_alnum=$as_cr_Letters$as_cr_digits
66434 +
66435 +# The user is always right.
66436 +if test "${PATH_SEPARATOR+set}" != set; then
66437 + echo "#! /bin/sh" >conf$$.sh
66438 + echo "exit 0" >>conf$$.sh
66439 + chmod +x conf$$.sh
66440 + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
66441 + PATH_SEPARATOR=';'
66442 + else
66443 + PATH_SEPARATOR=:
66444 + fi
66445 + rm -f conf$$.sh
66446 fi
66447 -DUALCASE=1; export DUALCASE # for MKS sh
66448
66449 # Support unset when possible.
66450 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
66451 @@ -29,8 +58,43 @@ else
66452 fi
66453
66454
66455 +# IFS
66456 +# We need space, tab and new line, in precisely that order. Quoting is
66457 +# there to prevent editors from complaining about space-tab.
66458 +# (If _AS_PATH_WALK were called with IFS unset, it would disable word
66459 +# splitting by setting IFS to empty value.)
66460 +as_nl='
66461 +'
66462 +IFS=" "" $as_nl"
66463 +
66464 +# Find who we are. Look in the path if we contain no directory separator.
66465 +case $0 in
66466 + *[\\/]* ) as_myself=$0 ;;
66467 + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
66468 +for as_dir in $PATH
66469 +do
66470 + IFS=$as_save_IFS
66471 + test -z "$as_dir" && as_dir=.
66472 + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
66473 +done
66474 +IFS=$as_save_IFS
66475 +
66476 + ;;
66477 +esac
66478 +# We did not find ourselves, most probably we were run as `sh COMMAND'
66479 +# in which case we are not to be found in the path.
66480 +if test "x$as_myself" = x; then
66481 + as_myself=$0
66482 +fi
66483 +if test ! -f "$as_myself"; then
66484 + echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
66485 + { (exit 1); exit 1; }
66486 +fi
66487 +
66488 # Work around bugs in pre-3.0 UWIN ksh.
66489 -$as_unset ENV MAIL MAILPATH
66490 +for as_var in ENV MAIL MAILPATH
66491 +do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
66492 +done
66493 PS1='$ '
66494 PS2='> '
66495 PS4='+ '
66496 @@ -44,18 +108,19 @@ do
66497 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
66498 eval $as_var=C; export $as_var
66499 else
66500 - $as_unset $as_var
66501 + ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
66502 fi
66503 done
66504
66505 # Required to use basename.
66506 -if expr a : '\(a\)' >/dev/null 2>&1; then
66507 +if expr a : '\(a\)' >/dev/null 2>&1 &&
66508 + test "X`expr 00001 : '.*\(...\)'`" = X001; then
66509 as_expr=expr
66510 else
66511 as_expr=false
66512 fi
66513
66514 -if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
66515 +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
66516 as_basename=basename
66517 else
66518 as_basename=false
66519 @@ -63,157 +128,388 @@ fi
66520
66521
66522 # Name of the executable.
66523 -as_me=`$as_basename "$0" ||
66524 +as_me=`$as_basename -- "$0" ||
66525 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
66526 X"$0" : 'X\(//\)$' \| \
66527 - X"$0" : 'X\(/\)$' \| \
66528 - . : '\(.\)' 2>/dev/null ||
66529 + X"$0" : 'X\(/\)' \| . 2>/dev/null ||
66530 echo X/"$0" |
66531 - sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
66532 - /^X\/\(\/\/\)$/{ s//\1/; q; }
66533 - /^X\/\(\/\).*/{ s//\1/; q; }
66534 - s/.*/./; q'`
66535 + sed '/^.*\/\([^/][^/]*\)\/*$/{
66536 + s//\1/
66537 + q
66538 + }
66539 + /^X\/\(\/\/\)$/{
66540 + s//\1/
66541 + q
66542 + }
66543 + /^X\/\(\/\).*/{
66544 + s//\1/
66545 + q
66546 + }
66547 + s/.*/./; q'`
66548
66549 +# CDPATH.
66550 +$as_unset CDPATH
66551
66552 -# PATH needs CR, and LINENO needs CR and PATH.
66553 -# Avoid depending upon Character Ranges.
66554 -as_cr_letters='abcdefghijklmnopqrstuvwxyz'
66555 -as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
66556 -as_cr_Letters=$as_cr_letters$as_cr_LETTERS
66557 -as_cr_digits='0123456789'
66558 -as_cr_alnum=$as_cr_Letters$as_cr_digits
66559
66560 -# The user is always right.
66561 -if test "${PATH_SEPARATOR+set}" != set; then
66562 - echo "#! /bin/sh" >conf$$.sh
66563 - echo "exit 0" >>conf$$.sh
66564 - chmod +x conf$$.sh
66565 - if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
66566 - PATH_SEPARATOR=';'
66567 - else
66568 - PATH_SEPARATOR=:
66569 - fi
66570 - rm -f conf$$.sh
66571 +if test "x$CONFIG_SHELL" = x; then
66572 + if (eval ":") 2>/dev/null; then
66573 + as_have_required=yes
66574 +else
66575 + as_have_required=no
66576 +fi
66577 +
66578 + if test $as_have_required = yes && (eval ":
66579 +(as_func_return () {
66580 + (exit \$1)
66581 +}
66582 +as_func_success () {
66583 + as_func_return 0
66584 +}
66585 +as_func_failure () {
66586 + as_func_return 1
66587 +}
66588 +as_func_ret_success () {
66589 + return 0
66590 +}
66591 +as_func_ret_failure () {
66592 + return 1
66593 +}
66594 +
66595 +exitcode=0
66596 +if as_func_success; then
66597 + :
66598 +else
66599 + exitcode=1
66600 + echo as_func_success failed.
66601 fi
66602
66603 +if as_func_failure; then
66604 + exitcode=1
66605 + echo as_func_failure succeeded.
66606 +fi
66607
66608 - as_lineno_1=$LINENO
66609 - as_lineno_2=$LINENO
66610 - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
66611 - test "x$as_lineno_1" != "x$as_lineno_2" &&
66612 - test "x$as_lineno_3" = "x$as_lineno_2" || {
66613 - # Find who we are. Look in the path if we contain no path at all
66614 - # relative or not.
66615 - case $0 in
66616 - *[\\/]* ) as_myself=$0 ;;
66617 - *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
66618 -for as_dir in $PATH
66619 -do
66620 - IFS=$as_save_IFS
66621 - test -z "$as_dir" && as_dir=.
66622 - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
66623 -done
66624 +if as_func_ret_success; then
66625 + :
66626 +else
66627 + exitcode=1
66628 + echo as_func_ret_success failed.
66629 +fi
66630
66631 - ;;
66632 - esac
66633 - # We did not find ourselves, most probably we were run as `sh COMMAND'
66634 - # in which case we are not to be found in the path.
66635 - if test "x$as_myself" = x; then
66636 - as_myself=$0
66637 - fi
66638 - if test ! -f "$as_myself"; then
66639 - { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
66640 - { (exit 1); exit 1; }; }
66641 - fi
66642 - case $CONFIG_SHELL in
66643 - '')
66644 +if as_func_ret_failure; then
66645 + exitcode=1
66646 + echo as_func_ret_failure succeeded.
66647 +fi
66648 +
66649 +if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
66650 + :
66651 +else
66652 + exitcode=1
66653 + echo positional parameters were not saved.
66654 +fi
66655 +
66656 +test \$exitcode = 0) || { (exit 1); exit 1; }
66657 +
66658 +(
66659 + as_lineno_1=\$LINENO
66660 + as_lineno_2=\$LINENO
66661 + test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
66662 + test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
66663 +") 2> /dev/null; then
66664 + :
66665 +else
66666 + as_candidate_shells=
66667 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
66668 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
66669 do
66670 IFS=$as_save_IFS
66671 test -z "$as_dir" && as_dir=.
66672 - for as_base in sh bash ksh sh5; do
66673 - case $as_dir in
66674 + case $as_dir in
66675 /*)
66676 - if ("$as_dir/$as_base" -c '
66677 + for as_base in sh bash ksh sh5; do
66678 + as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
66679 + done;;
66680 + esac
66681 +done
66682 +IFS=$as_save_IFS
66683 +
66684 +
66685 + for as_shell in $as_candidate_shells $SHELL; do
66686 + # Try only shells that exist, to save several forks.
66687 + if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
66688 + { ("$as_shell") 2> /dev/null <<\_ASEOF
66689 +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
66690 + emulate sh
66691 + NULLCMD=:
66692 + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
66693 + # is contrary to our usage. Disable this feature.
66694 + alias -g '${1+"$@"}'='"$@"'
66695 + setopt NO_GLOB_SUBST
66696 +else
66697 + case `(set -o) 2>/dev/null` in
66698 + *posix*) set -o posix ;;
66699 +esac
66700 +
66701 +fi
66702 +
66703 +
66704 +:
66705 +_ASEOF
66706 +}; then
66707 + CONFIG_SHELL=$as_shell
66708 + as_have_required=yes
66709 + if { "$as_shell" 2> /dev/null <<\_ASEOF
66710 +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
66711 + emulate sh
66712 + NULLCMD=:
66713 + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
66714 + # is contrary to our usage. Disable this feature.
66715 + alias -g '${1+"$@"}'='"$@"'
66716 + setopt NO_GLOB_SUBST
66717 +else
66718 + case `(set -o) 2>/dev/null` in
66719 + *posix*) set -o posix ;;
66720 +esac
66721 +
66722 +fi
66723 +
66724 +
66725 +:
66726 +(as_func_return () {
66727 + (exit $1)
66728 +}
66729 +as_func_success () {
66730 + as_func_return 0
66731 +}
66732 +as_func_failure () {
66733 + as_func_return 1
66734 +}
66735 +as_func_ret_success () {
66736 + return 0
66737 +}
66738 +as_func_ret_failure () {
66739 + return 1
66740 +}
66741 +
66742 +exitcode=0
66743 +if as_func_success; then
66744 + :
66745 +else
66746 + exitcode=1
66747 + echo as_func_success failed.
66748 +fi
66749 +
66750 +if as_func_failure; then
66751 + exitcode=1
66752 + echo as_func_failure succeeded.
66753 +fi
66754 +
66755 +if as_func_ret_success; then
66756 + :
66757 +else
66758 + exitcode=1
66759 + echo as_func_ret_success failed.
66760 +fi
66761 +
66762 +if as_func_ret_failure; then
66763 + exitcode=1
66764 + echo as_func_ret_failure succeeded.
66765 +fi
66766 +
66767 +if ( set x; as_func_ret_success y && test x = "$1" ); then
66768 + :
66769 +else
66770 + exitcode=1
66771 + echo positional parameters were not saved.
66772 +fi
66773 +
66774 +test $exitcode = 0) || { (exit 1); exit 1; }
66775 +
66776 +(
66777 as_lineno_1=$LINENO
66778 as_lineno_2=$LINENO
66779 - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
66780 test "x$as_lineno_1" != "x$as_lineno_2" &&
66781 - test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
66782 - $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
66783 - $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
66784 - CONFIG_SHELL=$as_dir/$as_base
66785 - export CONFIG_SHELL
66786 - exec "$CONFIG_SHELL" "$0" ${1+"$@"}
66787 - fi;;
66788 - esac
66789 - done
66790 -done
66791 -;;
66792 - esac
66793 + test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
66794 +
66795 +_ASEOF
66796 +}; then
66797 + break
66798 +fi
66799 +
66800 +fi
66801 +
66802 + done
66803 +
66804 + if test "x$CONFIG_SHELL" != x; then
66805 + for as_var in BASH_ENV ENV
66806 + do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
66807 + done
66808 + export CONFIG_SHELL
66809 + exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
66810 +fi
66811 +
66812 +
66813 + if test $as_have_required = no; then
66814 + echo This script requires a shell more modern than all the
66815 + echo shells that I found on your system. Please install a
66816 + echo modern shell, or manually run the script under such a
66817 + echo shell if you do have one.
66818 + { (exit 1); exit 1; }
66819 +fi
66820 +
66821 +
66822 +fi
66823 +
66824 +fi
66825 +
66826 +
66827 +
66828 +(eval "as_func_return () {
66829 + (exit \$1)
66830 +}
66831 +as_func_success () {
66832 + as_func_return 0
66833 +}
66834 +as_func_failure () {
66835 + as_func_return 1
66836 +}
66837 +as_func_ret_success () {
66838 + return 0
66839 +}
66840 +as_func_ret_failure () {
66841 + return 1
66842 +}
66843 +
66844 +exitcode=0
66845 +if as_func_success; then
66846 + :
66847 +else
66848 + exitcode=1
66849 + echo as_func_success failed.
66850 +fi
66851 +
66852 +if as_func_failure; then
66853 + exitcode=1
66854 + echo as_func_failure succeeded.
66855 +fi
66856 +
66857 +if as_func_ret_success; then
66858 + :
66859 +else
66860 + exitcode=1
66861 + echo as_func_ret_success failed.
66862 +fi
66863 +
66864 +if as_func_ret_failure; then
66865 + exitcode=1
66866 + echo as_func_ret_failure succeeded.
66867 +fi
66868 +
66869 +if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
66870 + :
66871 +else
66872 + exitcode=1
66873 + echo positional parameters were not saved.
66874 +fi
66875 +
66876 +test \$exitcode = 0") || {
66877 + echo No shell found that supports shell functions.
66878 + echo Please tell autoconf@gnu.org about your system,
66879 + echo including any error possibly output before this
66880 + echo message
66881 +}
66882 +
66883 +
66884 +
66885 + as_lineno_1=$LINENO
66886 + as_lineno_2=$LINENO
66887 + test "x$as_lineno_1" != "x$as_lineno_2" &&
66888 + test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
66889
66890 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
66891 # uniformly replaced by the line number. The first 'sed' inserts a
66892 - # line-number line before each line; the second 'sed' does the real
66893 - # work. The second script uses 'N' to pair each line-number line
66894 - # with the numbered line, and appends trailing '-' during
66895 - # substitution so that $LINENO is not a special case at line end.
66896 + # line-number line after each line using $LINENO; the second 'sed'
66897 + # does the real work. The second script uses 'N' to pair each
66898 + # line-number line with the line containing $LINENO, and appends
66899 + # trailing '-' during substitution so that $LINENO is not a special
66900 + # case at line end.
66901 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
66902 - # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
66903 - sed '=' <$as_myself |
66904 + # scripts with optimization help from Paolo Bonzini. Blame Lee
66905 + # E. McMahon (1931-1989) for sed's syntax. :-)
66906 + sed -n '
66907 + p
66908 + /[$]LINENO/=
66909 + ' <$as_myself |
66910 sed '
66911 + s/[$]LINENO.*/&-/
66912 + t lineno
66913 + b
66914 + :lineno
66915 N
66916 - s,$,-,
66917 - : loop
66918 - s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
66919 + :loop
66920 + s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
66921 t loop
66922 - s,-$,,
66923 - s,^['$as_cr_digits']*\n,,
66924 + s/-\n.*//
66925 ' >$as_me.lineno &&
66926 - chmod +x $as_me.lineno ||
66927 + chmod +x "$as_me.lineno" ||
66928 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
66929 { (exit 1); exit 1; }; }
66930
66931 # Don't try to exec as it changes $[0], causing all sort of problems
66932 # (the dirname of $[0] is not the place where we might find the
66933 - # original and so on. Autoconf is especially sensible to this).
66934 - . ./$as_me.lineno
66935 + # original and so on. Autoconf is especially sensitive to this).
66936 + . "./$as_me.lineno"
66937 # Exit status is that of the last command.
66938 exit
66939 }
66940
66941
66942 -case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
66943 - *c*,-n*) ECHO_N= ECHO_C='
66944 -' ECHO_T=' ' ;;
66945 - *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
66946 - *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
66947 +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
66948 + as_dirname=dirname
66949 +else
66950 + as_dirname=false
66951 +fi
66952 +
66953 +ECHO_C= ECHO_N= ECHO_T=
66954 +case `echo -n x` in
66955 +-n*)
66956 + case `echo 'x\c'` in
66957 + *c*) ECHO_T=' ';; # ECHO_T is single tab character.
66958 + *) ECHO_C='\c';;
66959 + esac;;
66960 +*)
66961 + ECHO_N='-n';;
66962 esac
66963
66964 -if expr a : '\(a\)' >/dev/null 2>&1; then
66965 +if expr a : '\(a\)' >/dev/null 2>&1 &&
66966 + test "X`expr 00001 : '.*\(...\)'`" = X001; then
66967 as_expr=expr
66968 else
66969 as_expr=false
66970 fi
66971
66972 rm -f conf$$ conf$$.exe conf$$.file
66973 +if test -d conf$$.dir; then
66974 + rm -f conf$$.dir/conf$$.file
66975 +else
66976 + rm -f conf$$.dir
66977 + mkdir conf$$.dir
66978 +fi
66979 echo >conf$$.file
66980 if ln -s conf$$.file conf$$ 2>/dev/null; then
66981 - # We could just check for DJGPP; but this test a) works b) is more generic
66982 - # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
66983 - if test -f conf$$.exe; then
66984 - # Don't use ln at all; we don't have any links
66985 + as_ln_s='ln -s'
66986 + # ... but there are two gotchas:
66987 + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
66988 + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
66989 + # In both cases, we have to default to `cp -p'.
66990 + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
66991 as_ln_s='cp -p'
66992 - else
66993 - as_ln_s='ln -s'
66994 - fi
66995 elif ln conf$$.file conf$$ 2>/dev/null; then
66996 as_ln_s=ln
66997 else
66998 as_ln_s='cp -p'
66999 fi
67000 -rm -f conf$$ conf$$.exe conf$$.file
67001 +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
67002 +rmdir conf$$.dir 2>/dev/null
67003
67004 if mkdir -p . 2>/dev/null; then
67005 as_mkdir_p=:
67006 @@ -222,7 +518,28 @@ else
67007 as_mkdir_p=false
67008 fi
67009
67010 -as_executable_p="test -f"
67011 +if test -x / >/dev/null 2>&1; then
67012 + as_test_x='test -x'
67013 +else
67014 + if ls -dL / >/dev/null 2>&1; then
67015 + as_ls_L_option=L
67016 + else
67017 + as_ls_L_option=
67018 + fi
67019 + as_test_x='
67020 + eval sh -c '\''
67021 + if test -d "$1"; then
67022 + test -d "$1/.";
67023 + else
67024 + case $1 in
67025 + -*)set "./$1";;
67026 + esac;
67027 + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
67028 + ???[sx]*):;;*)false;;esac;fi
67029 + '\'' sh
67030 + '
67031 +fi
67032 +as_executable_p=$as_test_x
67033
67034 # Sed expression to map a string onto a valid CPP name.
67035 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
67036 @@ -231,39 +548,27 @@ as_tr_cpp="eval sed 'y%*$as_cr_letters%P
67037 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
67038
67039
67040 -# IFS
67041 -# We need space, tab and new line, in precisely that order.
67042 -as_nl='
67043 -'
67044 -IFS=" $as_nl"
67045 -
67046 -# CDPATH.
67047 -$as_unset CDPATH
67048
67049 +exec 7<&0 </dev/null 6>&1
67050
67051 # Name of the host.
67052 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
67053 # so uname gets run too.
67054 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
67055
67056 -exec 6>&1
67057 -
67058 #
67059 # Initializations.
67060 #
67061 ac_default_prefix=/usr/local
67062 +ac_clean_files=
67063 ac_config_libobj_dir=.
67064 +LIBOBJS=
67065 cross_compiling=no
67066 subdirs=
67067 MFLAGS=
67068 MAKEFLAGS=
67069 SHELL=${CONFIG_SHELL-/bin/sh}
67070
67071 -# Maximum number of lines to put in a shell here document.
67072 -# This variable seems obsolete. It should probably be removed, and
67073 -# only ac_max_sed_lines should be used.
67074 -: ${ac_max_here_lines=38}
67075 -
67076 # Identity of this package.
67077 PACKAGE_NAME=
67078 PACKAGE_TARNAME=
67079 @@ -275,42 +580,191 @@ ac_unique_file="ldmain.c"
67080 # Factoring default headers for most tests.
67081 ac_includes_default="\
67082 #include <stdio.h>
67083 -#if HAVE_SYS_TYPES_H
67084 +#ifdef HAVE_SYS_TYPES_H
67085 # include <sys/types.h>
67086 #endif
67087 -#if HAVE_SYS_STAT_H
67088 +#ifdef HAVE_SYS_STAT_H
67089 # include <sys/stat.h>
67090 #endif
67091 -#if STDC_HEADERS
67092 +#ifdef STDC_HEADERS
67093 # include <stdlib.h>
67094 # include <stddef.h>
67095 #else
67096 -# if HAVE_STDLIB_H
67097 +# ifdef HAVE_STDLIB_H
67098 # include <stdlib.h>
67099 # endif
67100 #endif
67101 -#if HAVE_STRING_H
67102 -# if !STDC_HEADERS && HAVE_MEMORY_H
67103 +#ifdef HAVE_STRING_H
67104 +# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
67105 # include <memory.h>
67106 # endif
67107 # include <string.h>
67108 #endif
67109 -#if HAVE_STRINGS_H
67110 +#ifdef HAVE_STRINGS_H
67111 # include <strings.h>
67112 #endif
67113 -#if HAVE_INTTYPES_H
67114 +#ifdef HAVE_INTTYPES_H
67115 # include <inttypes.h>
67116 -#else
67117 -# if HAVE_STDINT_H
67118 -# include <stdint.h>
67119 -# endif
67120 #endif
67121 -#if HAVE_UNISTD_H
67122 +#ifdef HAVE_STDINT_H
67123 +# include <stdint.h>
67124 +#endif
67125 +#ifdef HAVE_UNISTD_H
67126 # include <unistd.h>
67127 #endif"
67128
67129 -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 LN_S RANLIB ac_ct_RANLIB LIBTOOL use_sysroot TARGET_SYSTEM_ROOT TARGET_SYSTEM_ROOT_DEFINE WARN_CFLAGS NO_WERROR 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 YACC LEX LEXLIB LEX_OUTPUT_ROOT MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT HDEFINES HOSTING_CRT0 HOSTING_LIBS NATIVE_LIB_DIRS STRINGIFY EMUL EMULATION_OFILES EMUL_EXTRA_OFILES LIB_PATH EMULATION_LIBPATH TESTBFDLIB datarootdir docdir htmldir LIBOBJS LTLIBOBJS'
67130 +ac_subst_vars='SHELL
67131 +PATH_SEPARATOR
67132 +PACKAGE_NAME
67133 +PACKAGE_TARNAME
67134 +PACKAGE_VERSION
67135 +PACKAGE_STRING
67136 +PACKAGE_BUGREPORT
67137 +exec_prefix
67138 +prefix
67139 +program_transform_name
67140 +bindir
67141 +sbindir
67142 +libexecdir
67143 +datarootdir
67144 +datadir
67145 +sysconfdir
67146 +sharedstatedir
67147 +localstatedir
67148 +includedir
67149 +oldincludedir
67150 +docdir
67151 +infodir
67152 +htmldir
67153 +dvidir
67154 +pdfdir
67155 +psdir
67156 +libdir
67157 +localedir
67158 +mandir
67159 +DEFS
67160 +ECHO_C
67161 +ECHO_N
67162 +ECHO_T
67163 +LIBS
67164 +build_alias
67165 +host_alias
67166 +target_alias
67167 +build
67168 +build_cpu
67169 +build_vendor
67170 +build_os
67171 +host
67172 +host_cpu
67173 +host_vendor
67174 +host_os
67175 +target
67176 +target_cpu
67177 +target_vendor
67178 +target_os
67179 +CC
67180 +CFLAGS
67181 +LDFLAGS
67182 +CPPFLAGS
67183 +ac_ct_CC
67184 +EXEEXT
67185 +OBJEXT
67186 +INSTALL_PROGRAM
67187 +INSTALL_SCRIPT
67188 +INSTALL_DATA
67189 +CYGPATH_W
67190 +PACKAGE
67191 +VERSION
67192 +ACLOCAL
67193 +AUTOCONF
67194 +AUTOMAKE
67195 +AUTOHEADER
67196 +MAKEINFO
67197 +install_sh
67198 +STRIP
67199 +INSTALL_STRIP_PROGRAM
67200 +mkdir_p
67201 +AWK
67202 +SET_MAKE
67203 +am__leading_dot
67204 +AMTAR
67205 +am__tar
67206 +am__untar
67207 +DEPDIR
67208 +am__include
67209 +am__quote
67210 +AMDEP_TRUE
67211 +AMDEP_FALSE
67212 +AMDEPBACKSLASH
67213 +CCDEPMODE
67214 +am__fastdepCC_TRUE
67215 +am__fastdepCC_FALSE
67216 +LN_S
67217 +RANLIB
67218 +LIBTOOL
67219 +use_sysroot
67220 +TARGET_SYSTEM_ROOT
67221 +TARGET_SYSTEM_ROOT_DEFINE
67222 +WARN_CFLAGS
67223 +NO_WERROR
67224 +CPP
67225 +GREP
67226 +EGREP
67227 +ALLOCA
67228 +USE_NLS
67229 +MSGFMT
67230 +GMSGFMT
67231 +XGETTEXT
67232 +USE_INCLUDED_LIBINTL
67233 +CATALOGS
67234 +CATOBJEXT
67235 +DATADIRNAME
67236 +GMOFILES
67237 +INSTOBJEXT
67238 +INTLDEPS
67239 +INTLLIBS
67240 +INTLOBJS
67241 +POFILES
67242 +POSUB
67243 +INCLUDE_LOCALE_H
67244 +GT_NO
67245 +GT_YES
67246 +MKINSTALLDIRS
67247 +l
67248 +YACC
67249 +YFLAGS
67250 +LEX
67251 +LEX_OUTPUT_ROOT
67252 +LEXLIB
67253 +MAINTAINER_MODE_TRUE
67254 +MAINTAINER_MODE_FALSE
67255 +MAINT
67256 +HDEFINES
67257 +HOSTING_CRT0
67258 +HOSTING_LIBS
67259 +NATIVE_LIB_DIRS
67260 +STRINGIFY
67261 +EMUL
67262 +EMULATION_OFILES
67263 +EMUL_EXTRA_OFILES
67264 +LIB_PATH
67265 +EMULATION_LIBPATH
67266 +TESTBFDLIB
67267 +LIBOBJS
67268 +LTLIBOBJS'
67269 ac_subst_files='TDIRS'
67270 + ac_precious_vars='build_alias
67271 +host_alias
67272 +target_alias
67273 +CC
67274 +CFLAGS
67275 +LDFLAGS
67276 +LIBS
67277 +CPPFLAGS
67278 +CPP
67279 +YACC
67280 +YFLAGS'
67281 +
67282
67283 # Initialize some variables set by options.
67284 ac_init_help=
67285 @@ -337,34 +791,48 @@ x_libraries=NONE
67286 # and all the variables that are supposed to be based on exec_prefix
67287 # by default will actually change.
67288 # Use braces instead of parens because sh, perl, etc. also accept them.
67289 +# (The list follows the same order as the GNU Coding Standards.)
67290 bindir='${exec_prefix}/bin'
67291 sbindir='${exec_prefix}/sbin'
67292 libexecdir='${exec_prefix}/libexec'
67293 -datadir='${prefix}/share'
67294 +datarootdir='${prefix}/share'
67295 +datadir='${datarootdir}'
67296 sysconfdir='${prefix}/etc'
67297 sharedstatedir='${prefix}/com'
67298 localstatedir='${prefix}/var'
67299 -libdir='${exec_prefix}/lib'
67300 includedir='${prefix}/include'
67301 oldincludedir='/usr/include'
67302 -infodir='${prefix}/info'
67303 -mandir='${prefix}/man'
67304 +docdir='${datarootdir}/doc/${PACKAGE}'
67305 +infodir='${datarootdir}/info'
67306 +htmldir='${docdir}'
67307 +dvidir='${docdir}'
67308 +pdfdir='${docdir}'
67309 +psdir='${docdir}'
67310 +libdir='${exec_prefix}/lib'
67311 +localedir='${datarootdir}/locale'
67312 +mandir='${datarootdir}/man'
67313
67314 ac_prev=
67315 +ac_dashdash=
67316 for ac_option
67317 do
67318 # If the previous option needs an argument, assign it.
67319 if test -n "$ac_prev"; then
67320 - eval "$ac_prev=\$ac_option"
67321 + eval $ac_prev=\$ac_option
67322 ac_prev=
67323 continue
67324 fi
67325
67326 - ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
67327 + case $ac_option in
67328 + *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
67329 + *) ac_optarg=yes ;;
67330 + esac
67331
67332 # Accept the important Cygnus configure options, so we can diagnose typos.
67333
67334 - case $ac_option in
67335 + case $ac_dashdash$ac_option in
67336 + --)
67337 + ac_dashdash=yes ;;
67338
67339 -bindir | --bindir | --bindi | --bind | --bin | --bi)
67340 ac_prev=bindir ;;
67341 @@ -386,33 +854,45 @@ do
67342 --config-cache | -C)
67343 cache_file=config.cache ;;
67344
67345 - -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
67346 + -datadir | --datadir | --datadi | --datad)
67347 ac_prev=datadir ;;
67348 - -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
67349 - | --da=*)
67350 + -datadir=* | --datadir=* | --datadi=* | --datad=*)
67351 datadir=$ac_optarg ;;
67352
67353 + -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
67354 + | --dataroo | --dataro | --datar)
67355 + ac_prev=datarootdir ;;
67356 + -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
67357 + | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
67358 + datarootdir=$ac_optarg ;;
67359 +
67360 -disable-* | --disable-*)
67361 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
67362 # Reject names that are not valid shell variable names.
67363 - expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
67364 + expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
67365 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
67366 { (exit 1); exit 1; }; }
67367 - ac_feature=`echo $ac_feature | sed 's/-/_/g'`
67368 - eval "enable_$ac_feature=no" ;;
67369 + ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
67370 + eval enable_$ac_feature=no ;;
67371 +
67372 + -docdir | --docdir | --docdi | --doc | --do)
67373 + ac_prev=docdir ;;
67374 + -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
67375 + docdir=$ac_optarg ;;
67376 +
67377 + -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
67378 + ac_prev=dvidir ;;
67379 + -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
67380 + dvidir=$ac_optarg ;;
67381
67382 -enable-* | --enable-*)
67383 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
67384 # Reject names that are not valid shell variable names.
67385 - expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
67386 + expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
67387 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
67388 { (exit 1); exit 1; }; }
67389 - ac_feature=`echo $ac_feature | sed 's/-/_/g'`
67390 - case $ac_option in
67391 - *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
67392 - *) ac_optarg=yes ;;
67393 - esac
67394 - eval "enable_$ac_feature='$ac_optarg'" ;;
67395 + ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
67396 + eval enable_$ac_feature=\$ac_optarg ;;
67397
67398 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
67399 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
67400 @@ -439,6 +919,12 @@ do
67401 -host=* | --host=* | --hos=* | --ho=*)
67402 host_alias=$ac_optarg ;;
67403
67404 + -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
67405 + ac_prev=htmldir ;;
67406 + -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
67407 + | --ht=*)
67408 + htmldir=$ac_optarg ;;
67409 +
67410 -includedir | --includedir | --includedi | --included | --include \
67411 | --includ | --inclu | --incl | --inc)
67412 ac_prev=includedir ;;
67413 @@ -463,13 +949,16 @@ do
67414 | --libexe=* | --libex=* | --libe=*)
67415 libexecdir=$ac_optarg ;;
67416
67417 + -localedir | --localedir | --localedi | --localed | --locale)
67418 + ac_prev=localedir ;;
67419 + -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
67420 + localedir=$ac_optarg ;;
67421 +
67422 -localstatedir | --localstatedir | --localstatedi | --localstated \
67423 - | --localstate | --localstat | --localsta | --localst \
67424 - | --locals | --local | --loca | --loc | --lo)
67425 + | --localstate | --localstat | --localsta | --localst | --locals)
67426 ac_prev=localstatedir ;;
67427 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
67428 - | --localstate=* | --localstat=* | --localsta=* | --localst=* \
67429 - | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
67430 + | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
67431 localstatedir=$ac_optarg ;;
67432
67433 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
67434 @@ -534,6 +1023,16 @@ do
67435 | --progr-tra=* | --program-tr=* | --program-t=*)
67436 program_transform_name=$ac_optarg ;;
67437
67438 + -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
67439 + ac_prev=pdfdir ;;
67440 + -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
67441 + pdfdir=$ac_optarg ;;
67442 +
67443 + -psdir | --psdir | --psdi | --psd | --ps)
67444 + ac_prev=psdir ;;
67445 + -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
67446 + psdir=$ac_optarg ;;
67447 +
67448 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
67449 | -silent | --silent | --silen | --sile | --sil)
67450 silent=yes ;;
67451 @@ -586,24 +1085,20 @@ do
67452 -with-* | --with-*)
67453 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
67454 # Reject names that are not valid shell variable names.
67455 - expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
67456 + expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
67457 { echo "$as_me: error: invalid package name: $ac_package" >&2
67458 { (exit 1); exit 1; }; }
67459 - ac_package=`echo $ac_package| sed 's/-/_/g'`
67460 - case $ac_option in
67461 - *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
67462 - *) ac_optarg=yes ;;
67463 - esac
67464 - eval "with_$ac_package='$ac_optarg'" ;;
67465 + ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
67466 + eval with_$ac_package=\$ac_optarg ;;
67467
67468 -without-* | --without-*)
67469 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
67470 # Reject names that are not valid shell variable names.
67471 - expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
67472 + expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
67473 { echo "$as_me: error: invalid package name: $ac_package" >&2
67474 { (exit 1); exit 1; }; }
67475 - ac_package=`echo $ac_package | sed 's/-/_/g'`
67476 - eval "with_$ac_package=no" ;;
67477 + ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
67478 + eval with_$ac_package=no ;;
67479
67480 --x)
67481 # Obsolete; use --with-x.
67482 @@ -634,8 +1129,7 @@ Try \`$0 --help' for more information."
67483 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
67484 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
67485 { (exit 1); exit 1; }; }
67486 - ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
67487 - eval "$ac_envvar='$ac_optarg'"
67488 + eval $ac_envvar=\$ac_optarg
67489 export $ac_envvar ;;
67490
67491 *)
67492 @@ -655,27 +1149,19 @@ if test -n "$ac_prev"; then
67493 { (exit 1); exit 1; }; }
67494 fi
67495
67496 -# Be sure to have absolute paths.
67497 -for ac_var in exec_prefix prefix
67498 +# Be sure to have absolute directory names.
67499 +for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
67500 + datadir sysconfdir sharedstatedir localstatedir includedir \
67501 + oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
67502 + libdir localedir mandir
67503 do
67504 - eval ac_val=$`echo $ac_var`
67505 + eval ac_val=\$$ac_var
67506 case $ac_val in
67507 - [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
67508 - *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
67509 - { (exit 1); exit 1; }; };;
67510 - esac
67511 -done
67512 -
67513 -# Be sure to have absolute paths.
67514 -for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
67515 - localstatedir libdir includedir oldincludedir infodir mandir
67516 -do
67517 - eval ac_val=$`echo $ac_var`
67518 - case $ac_val in
67519 - [\\/$]* | ?:[\\/]* ) ;;
67520 - *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
67521 - { (exit 1); exit 1; }; };;
67522 + [\\/$]* | ?:[\\/]* ) continue;;
67523 + NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
67524 esac
67525 + { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
67526 + { (exit 1); exit 1; }; }
67527 done
67528
67529 # There might be people who depend on the old broken behavior: `$host'
67530 @@ -702,74 +1188,76 @@ test -n "$host_alias" && ac_tool_prefix=
67531 test "$silent" = yes && exec 6>/dev/null
67532
67533
67534 +ac_pwd=`pwd` && test -n "$ac_pwd" &&
67535 +ac_ls_di=`ls -di .` &&
67536 +ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
67537 + { echo "$as_me: error: Working directory cannot be determined" >&2
67538 + { (exit 1); exit 1; }; }
67539 +test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
67540 + { echo "$as_me: error: pwd does not report name of working directory" >&2
67541 + { (exit 1); exit 1; }; }
67542 +
67543 +
67544 # Find the source files, if location was not specified.
67545 if test -z "$srcdir"; then
67546 ac_srcdir_defaulted=yes
67547 - # Try the directory containing this script, then its parent.
67548 - ac_confdir=`(dirname "$0") 2>/dev/null ||
67549 + # Try the directory containing this script, then the parent directory.
67550 + ac_confdir=`$as_dirname -- "$0" ||
67551 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
67552 X"$0" : 'X\(//\)[^/]' \| \
67553 X"$0" : 'X\(//\)$' \| \
67554 - X"$0" : 'X\(/\)' \| \
67555 - . : '\(.\)' 2>/dev/null ||
67556 + X"$0" : 'X\(/\)' \| . 2>/dev/null ||
67557 echo X"$0" |
67558 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
67559 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
67560 - /^X\(\/\/\)$/{ s//\1/; q; }
67561 - /^X\(\/\).*/{ s//\1/; q; }
67562 - s/.*/./; q'`
67563 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
67564 + s//\1/
67565 + q
67566 + }
67567 + /^X\(\/\/\)[^/].*/{
67568 + s//\1/
67569 + q
67570 + }
67571 + /^X\(\/\/\)$/{
67572 + s//\1/
67573 + q
67574 + }
67575 + /^X\(\/\).*/{
67576 + s//\1/
67577 + q
67578 + }
67579 + s/.*/./; q'`
67580 srcdir=$ac_confdir
67581 - if test ! -r $srcdir/$ac_unique_file; then
67582 + if test ! -r "$srcdir/$ac_unique_file"; then
67583 srcdir=..
67584 fi
67585 else
67586 ac_srcdir_defaulted=no
67587 fi
67588 -if test ! -r $srcdir/$ac_unique_file; then
67589 - if test "$ac_srcdir_defaulted" = yes; then
67590 - { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
67591 - { (exit 1); exit 1; }; }
67592 - else
67593 - { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
67594 - { (exit 1); exit 1; }; }
67595 - fi
67596 -fi
67597 -(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
67598 - { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
67599 - { (exit 1); exit 1; }; }
67600 -srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
67601 -ac_env_build_alias_set=${build_alias+set}
67602 -ac_env_build_alias_value=$build_alias
67603 -ac_cv_env_build_alias_set=${build_alias+set}
67604 -ac_cv_env_build_alias_value=$build_alias
67605 -ac_env_host_alias_set=${host_alias+set}
67606 -ac_env_host_alias_value=$host_alias
67607 -ac_cv_env_host_alias_set=${host_alias+set}
67608 -ac_cv_env_host_alias_value=$host_alias
67609 -ac_env_target_alias_set=${target_alias+set}
67610 -ac_env_target_alias_value=$target_alias
67611 -ac_cv_env_target_alias_set=${target_alias+set}
67612 -ac_cv_env_target_alias_value=$target_alias
67613 -ac_env_CC_set=${CC+set}
67614 -ac_env_CC_value=$CC
67615 -ac_cv_env_CC_set=${CC+set}
67616 -ac_cv_env_CC_value=$CC
67617 -ac_env_CFLAGS_set=${CFLAGS+set}
67618 -ac_env_CFLAGS_value=$CFLAGS
67619 -ac_cv_env_CFLAGS_set=${CFLAGS+set}
67620 -ac_cv_env_CFLAGS_value=$CFLAGS
67621 -ac_env_LDFLAGS_set=${LDFLAGS+set}
67622 -ac_env_LDFLAGS_value=$LDFLAGS
67623 -ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
67624 -ac_cv_env_LDFLAGS_value=$LDFLAGS
67625 -ac_env_CPPFLAGS_set=${CPPFLAGS+set}
67626 -ac_env_CPPFLAGS_value=$CPPFLAGS
67627 -ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
67628 -ac_cv_env_CPPFLAGS_value=$CPPFLAGS
67629 -ac_env_CPP_set=${CPP+set}
67630 -ac_env_CPP_value=$CPP
67631 -ac_cv_env_CPP_set=${CPP+set}
67632 -ac_cv_env_CPP_value=$CPP
67633 +if test ! -r "$srcdir/$ac_unique_file"; then
67634 + test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
67635 + { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
67636 + { (exit 1); exit 1; }; }
67637 +fi
67638 +ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
67639 +ac_abs_confdir=`(
67640 + cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
67641 + { (exit 1); exit 1; }; }
67642 + pwd)`
67643 +# When building in place, set srcdir=.
67644 +if test "$ac_abs_confdir" = "$ac_pwd"; then
67645 + srcdir=.
67646 +fi
67647 +# Remove unnecessary trailing slashes from srcdir.
67648 +# Double slashes in file names in object file debugging info
67649 +# mess up M-x gdb in Emacs.
67650 +case $srcdir in
67651 +*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
67652 +esac
67653 +for ac_var in $ac_precious_vars; do
67654 + eval ac_env_${ac_var}_set=\${${ac_var}+set}
67655 + eval ac_env_${ac_var}_value=\$${ac_var}
67656 + eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
67657 + eval ac_cv_env_${ac_var}_value=\$${ac_var}
67658 +done
67659
67660 #
67661 # Report the --help message.
67662 @@ -798,9 +1286,6 @@ Configuration:
67663 -n, --no-create do not create output files
67664 --srcdir=DIR find the sources in DIR [configure dir or \`..']
67665
67666 -_ACEOF
67667 -
67668 - cat <<_ACEOF
67669 Installation directories:
67670 --prefix=PREFIX install architecture-independent files in PREFIX
67671 [$ac_default_prefix]
67672 @@ -818,15 +1303,22 @@ Fine tuning of the installation director
67673 --bindir=DIR user executables [EPREFIX/bin]
67674 --sbindir=DIR system admin executables [EPREFIX/sbin]
67675 --libexecdir=DIR program executables [EPREFIX/libexec]
67676 - --datadir=DIR read-only architecture-independent data [PREFIX/share]
67677 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
67678 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
67679 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
67680 --libdir=DIR object code libraries [EPREFIX/lib]
67681 --includedir=DIR C header files [PREFIX/include]
67682 --oldincludedir=DIR C header files for non-gcc [/usr/include]
67683 - --infodir=DIR info documentation [PREFIX/info]
67684 - --mandir=DIR man documentation [PREFIX/man]
67685 + --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
67686 + --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
67687 + --infodir=DIR info documentation [DATAROOTDIR/info]
67688 + --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
67689 + --mandir=DIR man documentation [DATAROOTDIR/man]
67690 + --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
67691 + --htmldir=DIR html documentation [DOCDIR]
67692 + --dvidir=DIR dvi documentation [DOCDIR]
67693 + --pdfdir=DIR pdf documentation [DOCDIR]
67694 + --psdir=DIR ps documentation [DOCDIR]
67695 _ACEOF
67696
67697 cat <<\_ACEOF
67698 @@ -878,126 +1370,100 @@ Some influential environment variables:
67699 CFLAGS C compiler flags
67700 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
67701 nonstandard directory <lib dir>
67702 - CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
67703 - headers in a nonstandard directory <include dir>
67704 + LIBS libraries to pass to the linker, e.g. -l<library>
67705 + CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
67706 + you have headers in a nonstandard directory <include dir>
67707 CPP C preprocessor
67708 + YACC The `Yet Another C Compiler' implementation to use. Defaults to
67709 + the first program found out of: `bison -y', `byacc', `yacc'.
67710 + YFLAGS The list of arguments that will be passed by default to $YACC.
67711 + This script will default YFLAGS to the empty string to avoid a
67712 + default value of `-d' given by some make applications.
67713
67714 Use these variables to override the choices made by `configure' or to help
67715 it to find libraries and programs with nonstandard names/locations.
67716
67717 _ACEOF
67718 +ac_status=$?
67719 fi
67720
67721 if test "$ac_init_help" = "recursive"; then
67722 # If there are subdirs, report their specific --help.
67723 - ac_popdir=`pwd`
67724 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
67725 - test -d $ac_dir || continue
67726 + test -d "$ac_dir" || continue
67727 ac_builddir=.
67728
67729 -if test "$ac_dir" != .; then
67730 +case "$ac_dir" in
67731 +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
67732 +*)
67733 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
67734 - # A "../" for each directory in $ac_dir_suffix.
67735 - ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
67736 -else
67737 - ac_dir_suffix= ac_top_builddir=
67738 -fi
67739 + # A ".." for each directory in $ac_dir_suffix.
67740 + ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
67741 + case $ac_top_builddir_sub in
67742 + "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
67743 + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
67744 + esac ;;
67745 +esac
67746 +ac_abs_top_builddir=$ac_pwd
67747 +ac_abs_builddir=$ac_pwd$ac_dir_suffix
67748 +# for backward compatibility:
67749 +ac_top_builddir=$ac_top_build_prefix
67750
67751 case $srcdir in
67752 - .) # No --srcdir option. We are building in place.
67753 + .) # We are building in place.
67754 ac_srcdir=.
67755 - if test -z "$ac_top_builddir"; then
67756 - ac_top_srcdir=.
67757 - else
67758 - ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
67759 - fi ;;
67760 - [\\/]* | ?:[\\/]* ) # Absolute path.
67761 + ac_top_srcdir=$ac_top_builddir_sub
67762 + ac_abs_top_srcdir=$ac_pwd ;;
67763 + [\\/]* | ?:[\\/]* ) # Absolute name.
67764 ac_srcdir=$srcdir$ac_dir_suffix;
67765 - ac_top_srcdir=$srcdir ;;
67766 - *) # Relative path.
67767 - ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
67768 - ac_top_srcdir=$ac_top_builddir$srcdir ;;
67769 -esac
67770 -
67771 -# Do not use `cd foo && pwd` to compute absolute paths, because
67772 -# the directories may not exist.
67773 -case `pwd` in
67774 -.) ac_abs_builddir="$ac_dir";;
67775 -*)
67776 - case "$ac_dir" in
67777 - .) ac_abs_builddir=`pwd`;;
67778 - [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
67779 - *) ac_abs_builddir=`pwd`/"$ac_dir";;
67780 - esac;;
67781 -esac
67782 -case $ac_abs_builddir in
67783 -.) ac_abs_top_builddir=${ac_top_builddir}.;;
67784 -*)
67785 - case ${ac_top_builddir}. in
67786 - .) ac_abs_top_builddir=$ac_abs_builddir;;
67787 - [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
67788 - *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
67789 - esac;;
67790 -esac
67791 -case $ac_abs_builddir in
67792 -.) ac_abs_srcdir=$ac_srcdir;;
67793 -*)
67794 - case $ac_srcdir in
67795 - .) ac_abs_srcdir=$ac_abs_builddir;;
67796 - [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
67797 - *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
67798 - esac;;
67799 -esac
67800 -case $ac_abs_builddir in
67801 -.) ac_abs_top_srcdir=$ac_top_srcdir;;
67802 -*)
67803 - case $ac_top_srcdir in
67804 - .) ac_abs_top_srcdir=$ac_abs_builddir;;
67805 - [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
67806 - *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
67807 - esac;;
67808 -esac
67809 -
67810 - cd $ac_dir
67811 - # Check for guested configure; otherwise get Cygnus style configure.
67812 - if test -f $ac_srcdir/configure.gnu; then
67813 - echo
67814 - $SHELL $ac_srcdir/configure.gnu --help=recursive
67815 - elif test -f $ac_srcdir/configure; then
67816 - echo
67817 - $SHELL $ac_srcdir/configure --help=recursive
67818 - elif test -f $ac_srcdir/configure.ac ||
67819 - test -f $ac_srcdir/configure.in; then
67820 - echo
67821 - $ac_configure --help
67822 + ac_top_srcdir=$srcdir
67823 + ac_abs_top_srcdir=$srcdir ;;
67824 + *) # Relative name.
67825 + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
67826 + ac_top_srcdir=$ac_top_build_prefix$srcdir
67827 + ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
67828 +esac
67829 +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
67830 +
67831 + cd "$ac_dir" || { ac_status=$?; continue; }
67832 + # Check for guested configure.
67833 + if test -f "$ac_srcdir/configure.gnu"; then
67834 + echo &&
67835 + $SHELL "$ac_srcdir/configure.gnu" --help=recursive
67836 + elif test -f "$ac_srcdir/configure"; then
67837 + echo &&
67838 + $SHELL "$ac_srcdir/configure" --help=recursive
67839 else
67840 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
67841 - fi
67842 - cd $ac_popdir
67843 + fi || ac_status=$?
67844 + cd "$ac_pwd" || { ac_status=$?; break; }
67845 done
67846 fi
67847
67848 -test -n "$ac_init_help" && exit 0
67849 +test -n "$ac_init_help" && exit $ac_status
67850 if $ac_init_version; then
67851 cat <<\_ACEOF
67852 +configure
67853 +generated by GNU Autoconf 2.61
67854
67855 -Copyright (C) 2003 Free Software Foundation, Inc.
67856 +Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
67857 +2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
67858 This configure script is free software; the Free Software Foundation
67859 gives unlimited permission to copy, distribute and modify it.
67860 _ACEOF
67861 - exit 0
67862 + exit
67863 fi
67864 -exec 5>config.log
67865 -cat >&5 <<_ACEOF
67866 +cat >config.log <<_ACEOF
67867 This file contains any messages produced by compilers while
67868 running configure, to aid debugging if configure makes a mistake.
67869
67870 It was created by $as_me, which was
67871 -generated by GNU Autoconf 2.59. Invocation command line was
67872 +generated by GNU Autoconf 2.61. Invocation command line was
67873
67874 $ $0 $@
67875
67876 _ACEOF
67877 +exec 5>>config.log
67878 {
67879 cat <<_ASUNAME
67880 ## --------- ##
67881 @@ -1016,7 +1482,7 @@ uname -v = `(uname -v) 2>/dev/null || ec
67882 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
67883 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
67884 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
67885 -hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
67886 +/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
67887 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
67888 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
67889 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
67890 @@ -1030,6 +1496,7 @@ do
67891 test -z "$as_dir" && as_dir=.
67892 echo "PATH: $as_dir"
67893 done
67894 +IFS=$as_save_IFS
67895
67896 } >&5
67897
67898 @@ -1051,7 +1518,6 @@ _ACEOF
67899 ac_configure_args=
67900 ac_configure_args0=
67901 ac_configure_args1=
67902 -ac_sep=
67903 ac_must_keep_next=false
67904 for ac_pass in 1 2
67905 do
67906 @@ -1062,7 +1528,7 @@ do
67907 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
67908 | -silent | --silent | --silen | --sile | --sil)
67909 continue ;;
67910 - *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
67911 + *\'*)
67912 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
67913 esac
67914 case $ac_pass in
67915 @@ -1084,9 +1550,7 @@ do
67916 -* ) ac_must_keep_next=true ;;
67917 esac
67918 fi
67919 - ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
67920 - # Get rid of the leading space.
67921 - ac_sep=" "
67922 + ac_configure_args="$ac_configure_args '$ac_arg'"
67923 ;;
67924 esac
67925 done
67926 @@ -1097,8 +1561,8 @@ $as_unset ac_configure_args1 || test "${
67927 # When interrupted or exit'd, cleanup temporary files, and complete
67928 # config.log. We remove comments because anyway the quotes in there
67929 # would cause problems or look ugly.
67930 -# WARNING: Be sure not to use single quotes in there, as some shells,
67931 -# such as our DU 5.0 friend, will then `close' the trap.
67932 +# WARNING: Use '\'' to represent an apostrophe within the trap.
67933 +# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
67934 trap 'exit_status=$?
67935 # Save into config.log some information that might help in debugging.
67936 {
67937 @@ -1111,20 +1575,34 @@ trap 'exit_status=$?
67938 _ASBOX
67939 echo
67940 # The following way of writing the cache mishandles newlines in values,
67941 -{
67942 +(
67943 + for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
67944 + eval ac_val=\$$ac_var
67945 + case $ac_val in #(
67946 + *${as_nl}*)
67947 + case $ac_var in #(
67948 + *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
67949 +echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
67950 + esac
67951 + case $ac_var in #(
67952 + _ | IFS | as_nl) ;; #(
67953 + *) $as_unset $ac_var ;;
67954 + esac ;;
67955 + esac
67956 + done
67957 (set) 2>&1 |
67958 - case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
67959 - *ac_space=\ *)
67960 + case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
67961 + *${as_nl}ac_space=\ *)
67962 sed -n \
67963 - "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
67964 - s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
67965 - ;;
67966 + "s/'\''/'\''\\\\'\'''\''/g;
67967 + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
67968 + ;; #(
67969 *)
67970 - sed -n \
67971 - "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
67972 + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
67973 ;;
67974 - esac;
67975 -}
67976 + esac |
67977 + sort
67978 +)
67979 echo
67980
67981 cat <<\_ASBOX
67982 @@ -1135,22 +1613,28 @@ _ASBOX
67983 echo
67984 for ac_var in $ac_subst_vars
67985 do
67986 - eval ac_val=$`echo $ac_var`
67987 - echo "$ac_var='"'"'$ac_val'"'"'"
67988 + eval ac_val=\$$ac_var
67989 + case $ac_val in
67990 + *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
67991 + esac
67992 + echo "$ac_var='\''$ac_val'\''"
67993 done | sort
67994 echo
67995
67996 if test -n "$ac_subst_files"; then
67997 cat <<\_ASBOX
67998 -## ------------- ##
67999 -## Output files. ##
68000 -## ------------- ##
68001 +## ------------------- ##
68002 +## File substitutions. ##
68003 +## ------------------- ##
68004 _ASBOX
68005 echo
68006 for ac_var in $ac_subst_files
68007 do
68008 - eval ac_val=$`echo $ac_var`
68009 - echo "$ac_var='"'"'$ac_val'"'"'"
68010 + eval ac_val=\$$ac_var
68011 + case $ac_val in
68012 + *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
68013 + esac
68014 + echo "$ac_var='\''$ac_val'\''"
68015 done | sort
68016 echo
68017 fi
68018 @@ -1162,26 +1646,24 @@ _ASBOX
68019 ## ----------- ##
68020 _ASBOX
68021 echo
68022 - sed "/^$/d" confdefs.h | sort
68023 + cat confdefs.h
68024 echo
68025 fi
68026 test "$ac_signal" != 0 &&
68027 echo "$as_me: caught signal $ac_signal"
68028 echo "$as_me: exit $exit_status"
68029 } >&5
68030 - rm -f core *.core &&
68031 - rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
68032 + rm -f core *.core core.conftest.* &&
68033 + rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
68034 exit $exit_status
68035 - ' 0
68036 +' 0
68037 for ac_signal in 1 2 13 15; do
68038 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
68039 done
68040 ac_signal=0
68041
68042 # confdefs.h avoids OS command line length limits that DEFS can exceed.
68043 -rm -rf conftest* confdefs.h
68044 -# AIX cpp loses on an empty file, so make sure it contains at least a newline.
68045 -echo >confdefs.h
68046 +rm -f -r conftest* confdefs.h
68047
68048 # Predefined preprocessor variables.
68049
68050 @@ -1212,14 +1694,17 @@ _ACEOF
68051
68052 # Let the site file select an alternate cache file if it wants to.
68053 # Prefer explicitly selected file to automatically selected ones.
68054 -if test -z "$CONFIG_SITE"; then
68055 - if test "x$prefix" != xNONE; then
68056 - CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
68057 - else
68058 - CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
68059 - fi
68060 +if test -n "$CONFIG_SITE"; then
68061 + set x "$CONFIG_SITE"
68062 +elif test "x$prefix" != xNONE; then
68063 + set x "$prefix/share/config.site" "$prefix/etc/config.site"
68064 +else
68065 + set x "$ac_default_prefix/share/config.site" \
68066 + "$ac_default_prefix/etc/config.site"
68067 fi
68068 -for ac_site_file in $CONFIG_SITE; do
68069 +shift
68070 +for ac_site_file
68071 +do
68072 if test -r "$ac_site_file"; then
68073 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
68074 echo "$as_me: loading site script $ac_site_file" >&6;}
68075 @@ -1235,8 +1720,8 @@ if test -r "$cache_file"; then
68076 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
68077 echo "$as_me: loading cache $cache_file" >&6;}
68078 case $cache_file in
68079 - [\\/]* | ?:[\\/]* ) . $cache_file;;
68080 - *) . ./$cache_file;;
68081 + [\\/]* | ?:[\\/]* ) . "$cache_file";;
68082 + *) . "./$cache_file";;
68083 esac
68084 fi
68085 else
68086 @@ -1248,12 +1733,11 @@ fi
68087 # Check that the precious variables saved in the cache have kept the same
68088 # value.
68089 ac_cache_corrupted=false
68090 -for ac_var in `(set) 2>&1 |
68091 - sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
68092 +for ac_var in $ac_precious_vars; do
68093 eval ac_old_set=\$ac_cv_env_${ac_var}_set
68094 eval ac_new_set=\$ac_env_${ac_var}_set
68095 - eval ac_old_val="\$ac_cv_env_${ac_var}_value"
68096 - eval ac_new_val="\$ac_env_${ac_var}_value"
68097 + eval ac_old_val=\$ac_cv_env_${ac_var}_value
68098 + eval ac_new_val=\$ac_env_${ac_var}_value
68099 case $ac_old_set,$ac_new_set in
68100 set,)
68101 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
68102 @@ -1278,8 +1762,7 @@ echo "$as_me: current value: $ac_new_v
68103 # Pass precious variables to config.status.
68104 if test "$ac_new_set" = set; then
68105 case $ac_new_val in
68106 - *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
68107 - ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
68108 + *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
68109 *) ac_arg=$ac_var=$ac_new_val ;;
68110 esac
68111 case " $ac_configure_args " in
68112 @@ -1296,12 +1779,6 @@ echo "$as_me: error: run \`make distclea
68113 { (exit 1); exit 1; }; }
68114 fi
68115
68116 -ac_ext=c
68117 -ac_cpp='$CPP $CPPFLAGS'
68118 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68119 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68120 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
68121 -
68122
68123
68124
68125 @@ -1318,108 +1795,163 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
68126
68127
68128
68129 +ac_ext=c
68130 +ac_cpp='$CPP $CPPFLAGS'
68131 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68132 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68133 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
68134
68135
68136
68137 ac_aux_dir=
68138 -for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
68139 - if test -f $ac_dir/install-sh; then
68140 +for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
68141 + if test -f "$ac_dir/install-sh"; then
68142 ac_aux_dir=$ac_dir
68143 ac_install_sh="$ac_aux_dir/install-sh -c"
68144 break
68145 - elif test -f $ac_dir/install.sh; then
68146 + elif test -f "$ac_dir/install.sh"; then
68147 ac_aux_dir=$ac_dir
68148 ac_install_sh="$ac_aux_dir/install.sh -c"
68149 break
68150 - elif test -f $ac_dir/shtool; then
68151 + elif test -f "$ac_dir/shtool"; then
68152 ac_aux_dir=$ac_dir
68153 ac_install_sh="$ac_aux_dir/shtool install -c"
68154 break
68155 fi
68156 done
68157 if test -z "$ac_aux_dir"; then
68158 - { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
68159 -echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
68160 + { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
68161 +echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
68162 { (exit 1); exit 1; }; }
68163 fi
68164 -ac_config_guess="$SHELL $ac_aux_dir/config.guess"
68165 -ac_config_sub="$SHELL $ac_aux_dir/config.sub"
68166 -ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
68167 +
68168 +# These three variables are undocumented and unsupported,
68169 +# and are intended to be withdrawn in a future Autoconf release.
68170 +# They can cause serious problems if a builder's source tree is in a directory
68171 +# whose full name contains unusual characters.
68172 +ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
68173 +ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
68174 +ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
68175 +
68176
68177 # Make sure we can run config.sub.
68178 -$ac_config_sub sun4 >/dev/null 2>&1 ||
68179 - { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
68180 -echo "$as_me: error: cannot run $ac_config_sub" >&2;}
68181 +$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
68182 + { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
68183 +echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
68184 { (exit 1); exit 1; }; }
68185
68186 -echo "$as_me:$LINENO: checking build system type" >&5
68187 -echo $ECHO_N "checking build system type... $ECHO_C" >&6
68188 +{ echo "$as_me:$LINENO: checking build system type" >&5
68189 +echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
68190 if test "${ac_cv_build+set}" = set; then
68191 echo $ECHO_N "(cached) $ECHO_C" >&6
68192 else
68193 - ac_cv_build_alias=$build_alias
68194 -test -z "$ac_cv_build_alias" &&
68195 - ac_cv_build_alias=`$ac_config_guess`
68196 -test -z "$ac_cv_build_alias" &&
68197 + ac_build_alias=$build_alias
68198 +test "x$ac_build_alias" = x &&
68199 + ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
68200 +test "x$ac_build_alias" = x &&
68201 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
68202 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
68203 { (exit 1); exit 1; }; }
68204 -ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
68205 - { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
68206 -echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
68207 +ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
68208 + { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
68209 +echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
68210 { (exit 1); exit 1; }; }
68211
68212 fi
68213 -echo "$as_me:$LINENO: result: $ac_cv_build" >&5
68214 -echo "${ECHO_T}$ac_cv_build" >&6
68215 +{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
68216 +echo "${ECHO_T}$ac_cv_build" >&6; }
68217 +case $ac_cv_build in
68218 +*-*-*) ;;
68219 +*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
68220 +echo "$as_me: error: invalid value of canonical build" >&2;}
68221 + { (exit 1); exit 1; }; };;
68222 +esac
68223 build=$ac_cv_build
68224 -build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
68225 -build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
68226 -build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
68227 +ac_save_IFS=$IFS; IFS='-'
68228 +set x $ac_cv_build
68229 +shift
68230 +build_cpu=$1
68231 +build_vendor=$2
68232 +shift; shift
68233 +# Remember, the first character of IFS is used to create $*,
68234 +# except with old shells:
68235 +build_os=$*
68236 +IFS=$ac_save_IFS
68237 +case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
68238
68239
68240 -echo "$as_me:$LINENO: checking host system type" >&5
68241 -echo $ECHO_N "checking host system type... $ECHO_C" >&6
68242 +{ echo "$as_me:$LINENO: checking host system type" >&5
68243 +echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
68244 if test "${ac_cv_host+set}" = set; then
68245 echo $ECHO_N "(cached) $ECHO_C" >&6
68246 else
68247 - ac_cv_host_alias=$host_alias
68248 -test -z "$ac_cv_host_alias" &&
68249 - ac_cv_host_alias=$ac_cv_build_alias
68250 -ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
68251 - { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
68252 -echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
68253 + if test "x$host_alias" = x; then
68254 + ac_cv_host=$ac_cv_build
68255 +else
68256 + ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
68257 + { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
68258 +echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
68259 { (exit 1); exit 1; }; }
68260 +fi
68261
68262 fi
68263 -echo "$as_me:$LINENO: result: $ac_cv_host" >&5
68264 -echo "${ECHO_T}$ac_cv_host" >&6
68265 +{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
68266 +echo "${ECHO_T}$ac_cv_host" >&6; }
68267 +case $ac_cv_host in
68268 +*-*-*) ;;
68269 +*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
68270 +echo "$as_me: error: invalid value of canonical host" >&2;}
68271 + { (exit 1); exit 1; }; };;
68272 +esac
68273 host=$ac_cv_host
68274 -host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
68275 -host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
68276 -host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
68277 +ac_save_IFS=$IFS; IFS='-'
68278 +set x $ac_cv_host
68279 +shift
68280 +host_cpu=$1
68281 +host_vendor=$2
68282 +shift; shift
68283 +# Remember, the first character of IFS is used to create $*,
68284 +# except with old shells:
68285 +host_os=$*
68286 +IFS=$ac_save_IFS
68287 +case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
68288
68289
68290 -echo "$as_me:$LINENO: checking target system type" >&5
68291 -echo $ECHO_N "checking target system type... $ECHO_C" >&6
68292 +{ echo "$as_me:$LINENO: checking target system type" >&5
68293 +echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
68294 if test "${ac_cv_target+set}" = set; then
68295 echo $ECHO_N "(cached) $ECHO_C" >&6
68296 else
68297 - ac_cv_target_alias=$target_alias
68298 -test "x$ac_cv_target_alias" = "x" &&
68299 - ac_cv_target_alias=$ac_cv_host_alias
68300 -ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
68301 - { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
68302 -echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
68303 + if test "x$target_alias" = x; then
68304 + ac_cv_target=$ac_cv_host
68305 +else
68306 + ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
68307 + { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
68308 +echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
68309 { (exit 1); exit 1; }; }
68310 +fi
68311
68312 fi
68313 -echo "$as_me:$LINENO: result: $ac_cv_target" >&5
68314 -echo "${ECHO_T}$ac_cv_target" >&6
68315 +{ echo "$as_me:$LINENO: result: $ac_cv_target" >&5
68316 +echo "${ECHO_T}$ac_cv_target" >&6; }
68317 +case $ac_cv_target in
68318 +*-*-*) ;;
68319 +*) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
68320 +echo "$as_me: error: invalid value of canonical target" >&2;}
68321 + { (exit 1); exit 1; }; };;
68322 +esac
68323 target=$ac_cv_target
68324 -target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
68325 -target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
68326 -target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
68327 +ac_save_IFS=$IFS; IFS='-'
68328 +set x $ac_cv_target
68329 +shift
68330 +target_cpu=$1
68331 +target_vendor=$2
68332 +shift; shift
68333 +# Remember, the first character of IFS is used to create $*,
68334 +# except with old shells:
68335 +target_os=$*
68336 +IFS=$ac_save_IFS
68337 +case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
68338
68339
68340 # The aliases save the names the user supplied, while $host etc.
68341 @@ -1436,8 +1968,8 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
68342 if test -n "$ac_tool_prefix"; then
68343 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
68344 set dummy ${ac_tool_prefix}gcc; ac_word=$2
68345 -echo "$as_me:$LINENO: checking for $ac_word" >&5
68346 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
68347 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
68348 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
68349 if test "${ac_cv_prog_CC+set}" = set; then
68350 echo $ECHO_N "(cached) $ECHO_C" >&6
68351 else
68352 @@ -1450,32 +1982,34 @@ do
68353 IFS=$as_save_IFS
68354 test -z "$as_dir" && as_dir=.
68355 for ac_exec_ext in '' $ac_executable_extensions; do
68356 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
68357 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
68358 ac_cv_prog_CC="${ac_tool_prefix}gcc"
68359 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
68360 break 2
68361 fi
68362 done
68363 done
68364 +IFS=$as_save_IFS
68365
68366 fi
68367 fi
68368 CC=$ac_cv_prog_CC
68369 if test -n "$CC"; then
68370 - echo "$as_me:$LINENO: result: $CC" >&5
68371 -echo "${ECHO_T}$CC" >&6
68372 + { echo "$as_me:$LINENO: result: $CC" >&5
68373 +echo "${ECHO_T}$CC" >&6; }
68374 else
68375 - echo "$as_me:$LINENO: result: no" >&5
68376 -echo "${ECHO_T}no" >&6
68377 + { echo "$as_me:$LINENO: result: no" >&5
68378 +echo "${ECHO_T}no" >&6; }
68379 fi
68380
68381 +
68382 fi
68383 if test -z "$ac_cv_prog_CC"; then
68384 ac_ct_CC=$CC
68385 # Extract the first word of "gcc", so it can be a program name with args.
68386 set dummy gcc; ac_word=$2
68387 -echo "$as_me:$LINENO: checking for $ac_word" >&5
68388 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
68389 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
68390 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
68391 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
68392 echo $ECHO_N "(cached) $ECHO_C" >&6
68393 else
68394 @@ -1488,36 +2022,51 @@ do
68395 IFS=$as_save_IFS
68396 test -z "$as_dir" && as_dir=.
68397 for ac_exec_ext in '' $ac_executable_extensions; do
68398 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
68399 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
68400 ac_cv_prog_ac_ct_CC="gcc"
68401 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
68402 break 2
68403 fi
68404 done
68405 done
68406 +IFS=$as_save_IFS
68407
68408 fi
68409 fi
68410 ac_ct_CC=$ac_cv_prog_ac_ct_CC
68411 if test -n "$ac_ct_CC"; then
68412 - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
68413 -echo "${ECHO_T}$ac_ct_CC" >&6
68414 + { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
68415 +echo "${ECHO_T}$ac_ct_CC" >&6; }
68416 else
68417 - echo "$as_me:$LINENO: result: no" >&5
68418 -echo "${ECHO_T}no" >&6
68419 + { echo "$as_me:$LINENO: result: no" >&5
68420 +echo "${ECHO_T}no" >&6; }
68421 fi
68422
68423 - CC=$ac_ct_CC
68424 + if test "x$ac_ct_CC" = x; then
68425 + CC=""
68426 + else
68427 + case $cross_compiling:$ac_tool_warned in
68428 +yes:)
68429 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
68430 +whose name does not start with the host triplet. If you think this
68431 +configuration is useful to you, please write to autoconf@gnu.org." >&5
68432 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
68433 +whose name does not start with the host triplet. If you think this
68434 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
68435 +ac_tool_warned=yes ;;
68436 +esac
68437 + CC=$ac_ct_CC
68438 + fi
68439 else
68440 CC="$ac_cv_prog_CC"
68441 fi
68442
68443 if test -z "$CC"; then
68444 - if test -n "$ac_tool_prefix"; then
68445 - # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
68446 + if test -n "$ac_tool_prefix"; then
68447 + # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
68448 set dummy ${ac_tool_prefix}cc; ac_word=$2
68449 -echo "$as_me:$LINENO: checking for $ac_word" >&5
68450 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
68451 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
68452 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
68453 if test "${ac_cv_prog_CC+set}" = set; then
68454 echo $ECHO_N "(cached) $ECHO_C" >&6
68455 else
68456 @@ -1530,74 +2079,34 @@ do
68457 IFS=$as_save_IFS
68458 test -z "$as_dir" && as_dir=.
68459 for ac_exec_ext in '' $ac_executable_extensions; do
68460 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
68461 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
68462 ac_cv_prog_CC="${ac_tool_prefix}cc"
68463 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
68464 break 2
68465 fi
68466 done
68467 done
68468 +IFS=$as_save_IFS
68469
68470 fi
68471 fi
68472 CC=$ac_cv_prog_CC
68473 if test -n "$CC"; then
68474 - echo "$as_me:$LINENO: result: $CC" >&5
68475 -echo "${ECHO_T}$CC" >&6
68476 -else
68477 - echo "$as_me:$LINENO: result: no" >&5
68478 -echo "${ECHO_T}no" >&6
68479 -fi
68480 -
68481 -fi
68482 -if test -z "$ac_cv_prog_CC"; then
68483 - ac_ct_CC=$CC
68484 - # Extract the first word of "cc", so it can be a program name with args.
68485 -set dummy cc; ac_word=$2
68486 -echo "$as_me:$LINENO: checking for $ac_word" >&5
68487 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
68488 -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
68489 - echo $ECHO_N "(cached) $ECHO_C" >&6
68490 -else
68491 - if test -n "$ac_ct_CC"; then
68492 - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
68493 -else
68494 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
68495 -for as_dir in $PATH
68496 -do
68497 - IFS=$as_save_IFS
68498 - test -z "$as_dir" && as_dir=.
68499 - for ac_exec_ext in '' $ac_executable_extensions; do
68500 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
68501 - ac_cv_prog_ac_ct_CC="cc"
68502 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
68503 - break 2
68504 - fi
68505 -done
68506 -done
68507 -
68508 -fi
68509 -fi
68510 -ac_ct_CC=$ac_cv_prog_ac_ct_CC
68511 -if test -n "$ac_ct_CC"; then
68512 - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
68513 -echo "${ECHO_T}$ac_ct_CC" >&6
68514 + { echo "$as_me:$LINENO: result: $CC" >&5
68515 +echo "${ECHO_T}$CC" >&6; }
68516 else
68517 - echo "$as_me:$LINENO: result: no" >&5
68518 -echo "${ECHO_T}no" >&6
68519 + { echo "$as_me:$LINENO: result: no" >&5
68520 +echo "${ECHO_T}no" >&6; }
68521 fi
68522
68523 - CC=$ac_ct_CC
68524 -else
68525 - CC="$ac_cv_prog_CC"
68526 -fi
68527
68528 + fi
68529 fi
68530 if test -z "$CC"; then
68531 # Extract the first word of "cc", so it can be a program name with args.
68532 set dummy cc; ac_word=$2
68533 -echo "$as_me:$LINENO: checking for $ac_word" >&5
68534 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
68535 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
68536 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
68537 if test "${ac_cv_prog_CC+set}" = set; then
68538 echo $ECHO_N "(cached) $ECHO_C" >&6
68539 else
68540 @@ -1611,7 +2120,7 @@ do
68541 IFS=$as_save_IFS
68542 test -z "$as_dir" && as_dir=.
68543 for ac_exec_ext in '' $ac_executable_extensions; do
68544 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
68545 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
68546 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
68547 ac_prog_rejected=yes
68548 continue
68549 @@ -1622,6 +2131,7 @@ do
68550 fi
68551 done
68552 done
68553 +IFS=$as_save_IFS
68554
68555 if test $ac_prog_rejected = yes; then
68556 # We found a bogon in the path, so make sure we never use it.
68557 @@ -1639,22 +2149,23 @@ fi
68558 fi
68559 CC=$ac_cv_prog_CC
68560 if test -n "$CC"; then
68561 - echo "$as_me:$LINENO: result: $CC" >&5
68562 -echo "${ECHO_T}$CC" >&6
68563 + { echo "$as_me:$LINENO: result: $CC" >&5
68564 +echo "${ECHO_T}$CC" >&6; }
68565 else
68566 - echo "$as_me:$LINENO: result: no" >&5
68567 -echo "${ECHO_T}no" >&6
68568 + { echo "$as_me:$LINENO: result: no" >&5
68569 +echo "${ECHO_T}no" >&6; }
68570 fi
68571
68572 +
68573 fi
68574 if test -z "$CC"; then
68575 if test -n "$ac_tool_prefix"; then
68576 - for ac_prog in cl
68577 + for ac_prog in cl.exe
68578 do
68579 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
68580 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
68581 -echo "$as_me:$LINENO: checking for $ac_word" >&5
68582 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
68583 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
68584 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
68585 if test "${ac_cv_prog_CC+set}" = set; then
68586 echo $ECHO_N "(cached) $ECHO_C" >&6
68587 else
68588 @@ -1667,36 +2178,38 @@ do
68589 IFS=$as_save_IFS
68590 test -z "$as_dir" && as_dir=.
68591 for ac_exec_ext in '' $ac_executable_extensions; do
68592 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
68593 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
68594 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
68595 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
68596 break 2
68597 fi
68598 done
68599 done
68600 +IFS=$as_save_IFS
68601
68602 fi
68603 fi
68604 CC=$ac_cv_prog_CC
68605 if test -n "$CC"; then
68606 - echo "$as_me:$LINENO: result: $CC" >&5
68607 -echo "${ECHO_T}$CC" >&6
68608 + { echo "$as_me:$LINENO: result: $CC" >&5
68609 +echo "${ECHO_T}$CC" >&6; }
68610 else
68611 - echo "$as_me:$LINENO: result: no" >&5
68612 -echo "${ECHO_T}no" >&6
68613 + { echo "$as_me:$LINENO: result: no" >&5
68614 +echo "${ECHO_T}no" >&6; }
68615 fi
68616
68617 +
68618 test -n "$CC" && break
68619 done
68620 fi
68621 if test -z "$CC"; then
68622 ac_ct_CC=$CC
68623 - for ac_prog in cl
68624 + for ac_prog in cl.exe
68625 do
68626 # Extract the first word of "$ac_prog", so it can be a program name with args.
68627 set dummy $ac_prog; ac_word=$2
68628 -echo "$as_me:$LINENO: checking for $ac_word" >&5
68629 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
68630 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
68631 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
68632 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
68633 echo $ECHO_N "(cached) $ECHO_C" >&6
68634 else
68635 @@ -1709,29 +2222,45 @@ do
68636 IFS=$as_save_IFS
68637 test -z "$as_dir" && as_dir=.
68638 for ac_exec_ext in '' $ac_executable_extensions; do
68639 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
68640 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
68641 ac_cv_prog_ac_ct_CC="$ac_prog"
68642 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
68643 break 2
68644 fi
68645 done
68646 done
68647 +IFS=$as_save_IFS
68648
68649 fi
68650 fi
68651 ac_ct_CC=$ac_cv_prog_ac_ct_CC
68652 if test -n "$ac_ct_CC"; then
68653 - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
68654 -echo "${ECHO_T}$ac_ct_CC" >&6
68655 + { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
68656 +echo "${ECHO_T}$ac_ct_CC" >&6; }
68657 else
68658 - echo "$as_me:$LINENO: result: no" >&5
68659 -echo "${ECHO_T}no" >&6
68660 + { echo "$as_me:$LINENO: result: no" >&5
68661 +echo "${ECHO_T}no" >&6; }
68662 fi
68663
68664 +
68665 test -n "$ac_ct_CC" && break
68666 done
68667
68668 - CC=$ac_ct_CC
68669 + if test "x$ac_ct_CC" = x; then
68670 + CC=""
68671 + else
68672 + case $cross_compiling:$ac_tool_warned in
68673 +yes:)
68674 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
68675 +whose name does not start with the host triplet. If you think this
68676 +configuration is useful to you, please write to autoconf@gnu.org." >&5
68677 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
68678 +whose name does not start with the host triplet. If you think this
68679 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
68680 +ac_tool_warned=yes ;;
68681 +esac
68682 + CC=$ac_ct_CC
68683 + fi
68684 fi
68685
68686 fi
68687 @@ -1744,21 +2273,35 @@ See \`config.log' for more details." >&2
68688 { (exit 1); exit 1; }; }
68689
68690 # Provide some information about the compiler.
68691 -echo "$as_me:$LINENO:" \
68692 - "checking for C compiler version" >&5
68693 +echo "$as_me:$LINENO: checking for C compiler version" >&5
68694 ac_compiler=`set X $ac_compile; echo $2`
68695 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
68696 - (eval $ac_compiler --version </dev/null >&5) 2>&5
68697 +{ (ac_try="$ac_compiler --version >&5"
68698 +case "(($ac_try" in
68699 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
68700 + *) ac_try_echo=$ac_try;;
68701 +esac
68702 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
68703 + (eval "$ac_compiler --version >&5") 2>&5
68704 ac_status=$?
68705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68706 (exit $ac_status); }
68707 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
68708 - (eval $ac_compiler -v </dev/null >&5) 2>&5
68709 +{ (ac_try="$ac_compiler -v >&5"
68710 +case "(($ac_try" in
68711 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
68712 + *) ac_try_echo=$ac_try;;
68713 +esac
68714 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
68715 + (eval "$ac_compiler -v >&5") 2>&5
68716 ac_status=$?
68717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68718 (exit $ac_status); }
68719 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
68720 - (eval $ac_compiler -V </dev/null >&5) 2>&5
68721 +{ (ac_try="$ac_compiler -V >&5"
68722 +case "(($ac_try" in
68723 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
68724 + *) ac_try_echo=$ac_try;;
68725 +esac
68726 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
68727 + (eval "$ac_compiler -V >&5") 2>&5
68728 ac_status=$?
68729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68730 (exit $ac_status); }
68731 @@ -1783,47 +2326,77 @@ ac_clean_files="$ac_clean_files a.out a.
68732 # Try to create an executable without -o first, disregard a.out.
68733 # It will help us diagnose broken compilers, and finding out an intuition
68734 # of exeext.
68735 -echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
68736 -echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
68737 +{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
68738 +echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
68739 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
68740 -if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
68741 - (eval $ac_link_default) 2>&5
68742 +#
68743 +# List of possible output files, starting from the most likely.
68744 +# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
68745 +# only as a last resort. b.out is created by i960 compilers.
68746 +ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
68747 +#
68748 +# The IRIX 6 linker writes into existing files which may not be
68749 +# executable, retaining their permissions. Remove them first so a
68750 +# subsequent execution test works.
68751 +ac_rmfiles=
68752 +for ac_file in $ac_files
68753 +do
68754 + case $ac_file in
68755 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
68756 + * ) ac_rmfiles="$ac_rmfiles $ac_file";;
68757 + esac
68758 +done
68759 +rm -f $ac_rmfiles
68760 +
68761 +if { (ac_try="$ac_link_default"
68762 +case "(($ac_try" in
68763 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
68764 + *) ac_try_echo=$ac_try;;
68765 +esac
68766 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
68767 + (eval "$ac_link_default") 2>&5
68768 ac_status=$?
68769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68770 (exit $ac_status); }; then
68771 - # Find the output, starting from the most likely. This scheme is
68772 -# not robust to junk in `.', hence go to wildcards (a.*) only as a last
68773 -# resort.
68774 -
68775 -# Be careful to initialize this variable, since it used to be cached.
68776 -# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
68777 -ac_cv_exeext=
68778 -# b.out is created by i960 compilers.
68779 -for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
68780 + # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
68781 +# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
68782 +# in a Makefile. We should not override ac_cv_exeext if it was cached,
68783 +# so that the user can short-circuit this test for compilers unknown to
68784 +# Autoconf.
68785 +for ac_file in $ac_files ''
68786 do
68787 test -f "$ac_file" || continue
68788 case $ac_file in
68789 - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
68790 - ;;
68791 - conftest.$ac_ext )
68792 - # This is the source file.
68793 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
68794 ;;
68795 [ab].out )
68796 # We found the default executable, but exeext='' is most
68797 # certainly right.
68798 break;;
68799 *.* )
68800 - ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
68801 - # FIXME: I believe we export ac_cv_exeext for Libtool,
68802 - # but it would be cool to find out if it's true. Does anybody
68803 - # maintain Libtool? --akim.
68804 - export ac_cv_exeext
68805 + if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
68806 + then :; else
68807 + ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
68808 + fi
68809 + # We set ac_cv_exeext here because the later test for it is not
68810 + # safe: cross compilers may not add the suffix if given an `-o'
68811 + # argument, so we may need to know it at that point already.
68812 + # Even if this section looks crufty: it has the advantage of
68813 + # actually working.
68814 break;;
68815 * )
68816 break;;
68817 esac
68818 done
68819 +test "$ac_cv_exeext" = no && ac_cv_exeext=
68820 +
68821 else
68822 + ac_file=''
68823 +fi
68824 +
68825 +{ echo "$as_me:$LINENO: result: $ac_file" >&5
68826 +echo "${ECHO_T}$ac_file" >&6; }
68827 +if test -z "$ac_file"; then
68828 echo "$as_me: failed program was:" >&5
68829 sed 's/^/| /' conftest.$ac_ext >&5
68830
68831 @@ -1835,19 +2408,21 @@ See \`config.log' for more details." >&2
68832 fi
68833
68834 ac_exeext=$ac_cv_exeext
68835 -echo "$as_me:$LINENO: result: $ac_file" >&5
68836 -echo "${ECHO_T}$ac_file" >&6
68837
68838 -# Check the compiler produces executables we can run. If not, either
68839 +# Check that the compiler produces executables we can run. If not, either
68840 # the compiler is broken, or we cross compile.
68841 -echo "$as_me:$LINENO: checking whether the C compiler works" >&5
68842 -echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
68843 +{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
68844 +echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
68845 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
68846 # If not cross compiling, check that we can run a simple program.
68847 if test "$cross_compiling" != yes; then
68848 if { ac_try='./$ac_file'
68849 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68850 - (eval $ac_try) 2>&5
68851 + { (case "(($ac_try" in
68852 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
68853 + *) ac_try_echo=$ac_try;;
68854 +esac
68855 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
68856 + (eval "$ac_try") 2>&5
68857 ac_status=$?
68858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68859 (exit $ac_status); }; }; then
68860 @@ -1866,22 +2441,27 @@ See \`config.log' for more details." >&2
68861 fi
68862 fi
68863 fi
68864 -echo "$as_me:$LINENO: result: yes" >&5
68865 -echo "${ECHO_T}yes" >&6
68866 +{ echo "$as_me:$LINENO: result: yes" >&5
68867 +echo "${ECHO_T}yes" >&6; }
68868
68869 rm -f a.out a.exe conftest$ac_cv_exeext b.out
68870 ac_clean_files=$ac_clean_files_save
68871 -# Check the compiler produces executables we can run. If not, either
68872 +# Check that the compiler produces executables we can run. If not, either
68873 # the compiler is broken, or we cross compile.
68874 -echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
68875 -echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
68876 -echo "$as_me:$LINENO: result: $cross_compiling" >&5
68877 -echo "${ECHO_T}$cross_compiling" >&6
68878 -
68879 -echo "$as_me:$LINENO: checking for suffix of executables" >&5
68880 -echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
68881 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68882 - (eval $ac_link) 2>&5
68883 +{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
68884 +echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
68885 +{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
68886 +echo "${ECHO_T}$cross_compiling" >&6; }
68887 +
68888 +{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
68889 +echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
68890 +if { (ac_try="$ac_link"
68891 +case "(($ac_try" in
68892 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
68893 + *) ac_try_echo=$ac_try;;
68894 +esac
68895 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
68896 + (eval "$ac_link") 2>&5
68897 ac_status=$?
68898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68899 (exit $ac_status); }; then
68900 @@ -1892,9 +2472,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_l
68901 for ac_file in conftest.exe conftest conftest.*; do
68902 test -f "$ac_file" || continue
68903 case $ac_file in
68904 - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
68905 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
68906 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
68907 - export ac_cv_exeext
68908 break;;
68909 * ) break;;
68910 esac
68911 @@ -1908,14 +2487,14 @@ See \`config.log' for more details." >&2
68912 fi
68913
68914 rm -f conftest$ac_cv_exeext
68915 -echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
68916 -echo "${ECHO_T}$ac_cv_exeext" >&6
68917 +{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
68918 +echo "${ECHO_T}$ac_cv_exeext" >&6; }
68919
68920 rm -f conftest.$ac_ext
68921 EXEEXT=$ac_cv_exeext
68922 ac_exeext=$EXEEXT
68923 -echo "$as_me:$LINENO: checking for suffix of object files" >&5
68924 -echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
68925 +{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
68926 +echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
68927 if test "${ac_cv_objext+set}" = set; then
68928 echo $ECHO_N "(cached) $ECHO_C" >&6
68929 else
68930 @@ -1935,14 +2514,20 @@ main ()
68931 }
68932 _ACEOF
68933 rm -f conftest.o conftest.obj
68934 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68935 - (eval $ac_compile) 2>&5
68936 +if { (ac_try="$ac_compile"
68937 +case "(($ac_try" in
68938 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
68939 + *) ac_try_echo=$ac_try;;
68940 +esac
68941 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
68942 + (eval "$ac_compile") 2>&5
68943 ac_status=$?
68944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68945 (exit $ac_status); }; then
68946 - for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
68947 + for ac_file in conftest.o conftest.obj conftest.*; do
68948 + test -f "$ac_file" || continue;
68949 case $ac_file in
68950 - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
68951 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
68952 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
68953 break;;
68954 esac
68955 @@ -1960,12 +2545,12 @@ fi
68956
68957 rm -f conftest.$ac_cv_objext conftest.$ac_ext
68958 fi
68959 -echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
68960 -echo "${ECHO_T}$ac_cv_objext" >&6
68961 +{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
68962 +echo "${ECHO_T}$ac_cv_objext" >&6; }
68963 OBJEXT=$ac_cv_objext
68964 ac_objext=$OBJEXT
68965 -echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
68966 -echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
68967 +{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
68968 +echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
68969 if test "${ac_cv_c_compiler_gnu+set}" = set; then
68970 echo $ECHO_N "(cached) $ECHO_C" >&6
68971 else
68972 @@ -1988,50 +2573,49 @@ main ()
68973 }
68974 _ACEOF
68975 rm -f conftest.$ac_objext
68976 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68977 - (eval $ac_compile) 2>conftest.er1
68978 +if { (ac_try="$ac_compile"
68979 +case "(($ac_try" in
68980 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
68981 + *) ac_try_echo=$ac_try;;
68982 +esac
68983 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
68984 + (eval "$ac_compile") 2>conftest.er1
68985 ac_status=$?
68986 grep -v '^ *+' conftest.er1 >conftest.err
68987 rm -f conftest.er1
68988 cat conftest.err >&5
68989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68990 - (exit $ac_status); } &&
68991 - { ac_try='test -z "$ac_c_werror_flag"
68992 - || test ! -s conftest.err'
68993 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68994 - (eval $ac_try) 2>&5
68995 - ac_status=$?
68996 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
68997 - (exit $ac_status); }; } &&
68998 - { ac_try='test -s conftest.$ac_objext'
68999 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69000 - (eval $ac_try) 2>&5
69001 - ac_status=$?
69002 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
69003 - (exit $ac_status); }; }; then
69004 + (exit $ac_status); } && {
69005 + test -z "$ac_c_werror_flag" ||
69006 + test ! -s conftest.err
69007 + } && test -s conftest.$ac_objext; then
69008 ac_compiler_gnu=yes
69009 else
69010 echo "$as_me: failed program was:" >&5
69011 sed 's/^/| /' conftest.$ac_ext >&5
69012
69013 -ac_compiler_gnu=no
69014 + ac_compiler_gnu=no
69015 fi
69016 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69017 +
69018 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69019 ac_cv_c_compiler_gnu=$ac_compiler_gnu
69020
69021 fi
69022 -echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
69023 -echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
69024 +{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
69025 +echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
69026 GCC=`test $ac_compiler_gnu = yes && echo yes`
69027 ac_test_CFLAGS=${CFLAGS+set}
69028 ac_save_CFLAGS=$CFLAGS
69029 -CFLAGS="-g"
69030 -echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
69031 -echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
69032 +{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
69033 +echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
69034 if test "${ac_cv_prog_cc_g+set}" = set; then
69035 echo $ECHO_N "(cached) $ECHO_C" >&6
69036 else
69037 - cat >conftest.$ac_ext <<_ACEOF
69038 + ac_save_c_werror_flag=$ac_c_werror_flag
69039 + ac_c_werror_flag=yes
69040 + ac_cv_prog_cc_g=no
69041 + CFLAGS="-g"
69042 + cat >conftest.$ac_ext <<_ACEOF
69043 /* confdefs.h. */
69044 _ACEOF
69045 cat confdefs.h >>conftest.$ac_ext
69046 @@ -2047,38 +2631,118 @@ main ()
69047 }
69048 _ACEOF
69049 rm -f conftest.$ac_objext
69050 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69051 - (eval $ac_compile) 2>conftest.er1
69052 +if { (ac_try="$ac_compile"
69053 +case "(($ac_try" in
69054 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
69055 + *) ac_try_echo=$ac_try;;
69056 +esac
69057 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
69058 + (eval "$ac_compile") 2>conftest.er1
69059 ac_status=$?
69060 grep -v '^ *+' conftest.er1 >conftest.err
69061 rm -f conftest.er1
69062 cat conftest.err >&5
69063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69064 - (exit $ac_status); } &&
69065 - { ac_try='test -z "$ac_c_werror_flag"
69066 - || test ! -s conftest.err'
69067 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69068 - (eval $ac_try) 2>&5
69069 + (exit $ac_status); } && {
69070 + test -z "$ac_c_werror_flag" ||
69071 + test ! -s conftest.err
69072 + } && test -s conftest.$ac_objext; then
69073 + ac_cv_prog_cc_g=yes
69074 +else
69075 + echo "$as_me: failed program was:" >&5
69076 +sed 's/^/| /' conftest.$ac_ext >&5
69077 +
69078 + CFLAGS=""
69079 + cat >conftest.$ac_ext <<_ACEOF
69080 +/* confdefs.h. */
69081 +_ACEOF
69082 +cat confdefs.h >>conftest.$ac_ext
69083 +cat >>conftest.$ac_ext <<_ACEOF
69084 +/* end confdefs.h. */
69085 +
69086 +int
69087 +main ()
69088 +{
69089 +
69090 + ;
69091 + return 0;
69092 +}
69093 +_ACEOF
69094 +rm -f conftest.$ac_objext
69095 +if { (ac_try="$ac_compile"
69096 +case "(($ac_try" in
69097 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
69098 + *) ac_try_echo=$ac_try;;
69099 +esac
69100 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
69101 + (eval "$ac_compile") 2>conftest.er1
69102 ac_status=$?
69103 + grep -v '^ *+' conftest.er1 >conftest.err
69104 + rm -f conftest.er1
69105 + cat conftest.err >&5
69106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69107 - (exit $ac_status); }; } &&
69108 - { ac_try='test -s conftest.$ac_objext'
69109 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69110 - (eval $ac_try) 2>&5
69111 + (exit $ac_status); } && {
69112 + test -z "$ac_c_werror_flag" ||
69113 + test ! -s conftest.err
69114 + } && test -s conftest.$ac_objext; then
69115 + :
69116 +else
69117 + echo "$as_me: failed program was:" >&5
69118 +sed 's/^/| /' conftest.$ac_ext >&5
69119 +
69120 + ac_c_werror_flag=$ac_save_c_werror_flag
69121 + CFLAGS="-g"
69122 + cat >conftest.$ac_ext <<_ACEOF
69123 +/* confdefs.h. */
69124 +_ACEOF
69125 +cat confdefs.h >>conftest.$ac_ext
69126 +cat >>conftest.$ac_ext <<_ACEOF
69127 +/* end confdefs.h. */
69128 +
69129 +int
69130 +main ()
69131 +{
69132 +
69133 + ;
69134 + return 0;
69135 +}
69136 +_ACEOF
69137 +rm -f conftest.$ac_objext
69138 +if { (ac_try="$ac_compile"
69139 +case "(($ac_try" in
69140 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
69141 + *) ac_try_echo=$ac_try;;
69142 +esac
69143 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
69144 + (eval "$ac_compile") 2>conftest.er1
69145 ac_status=$?
69146 + grep -v '^ *+' conftest.er1 >conftest.err
69147 + rm -f conftest.er1
69148 + cat conftest.err >&5
69149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69150 - (exit $ac_status); }; }; then
69151 + (exit $ac_status); } && {
69152 + test -z "$ac_c_werror_flag" ||
69153 + test ! -s conftest.err
69154 + } && test -s conftest.$ac_objext; then
69155 ac_cv_prog_cc_g=yes
69156 else
69157 echo "$as_me: failed program was:" >&5
69158 sed 's/^/| /' conftest.$ac_ext >&5
69159
69160 -ac_cv_prog_cc_g=no
69161 +
69162 +fi
69163 +
69164 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69165 +fi
69166 +
69167 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69168 fi
69169 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69170 +
69171 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69172 + ac_c_werror_flag=$ac_save_c_werror_flag
69173 fi
69174 -echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
69175 -echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
69176 +{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
69177 +echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
69178 if test "$ac_test_CFLAGS" = set; then
69179 CFLAGS=$ac_save_CFLAGS
69180 elif test $ac_cv_prog_cc_g = yes; then
69181 @@ -2094,12 +2758,12 @@ else
69182 CFLAGS=
69183 fi
69184 fi
69185 -echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
69186 -echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
69187 -if test "${ac_cv_prog_cc_stdc+set}" = set; then
69188 +{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
69189 +echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
69190 +if test "${ac_cv_prog_cc_c89+set}" = set; then
69191 echo $ECHO_N "(cached) $ECHO_C" >&6
69192 else
69193 - ac_cv_prog_cc_stdc=no
69194 + ac_cv_prog_cc_c89=no
69195 ac_save_CC=$CC
69196 cat >conftest.$ac_ext <<_ACEOF
69197 /* confdefs.h. */
69198 @@ -2133,12 +2797,17 @@ static char *f (char * (*g) (char **, in
69199 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
69200 function prototypes and stuff, but not '\xHH' hex character constants.
69201 These don't provoke an error unfortunately, instead are silently treated
69202 - as 'x'. The following induces an error, until -std1 is added to get
69203 + as 'x'. The following induces an error, until -std is added to get
69204 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
69205 array size at least. It's necessary to write '\x00'==0 to get something
69206 - that's true only with -std1. */
69207 + that's true only with -std. */
69208 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
69209
69210 +/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
69211 + inside strings and character constants. */
69212 +#define FOO(x) 'x'
69213 +int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
69214 +
69215 int test (int i, double x);
69216 struct s1 {int (*f) (int a);};
69217 struct s2 {int (*f) (double a);};
69218 @@ -2153,335 +2822,144 @@ return f (e, argv, 0) != argv[0] || f
69219 return 0;
69220 }
69221 _ACEOF
69222 -# Don't try gcc -ansi; that turns off useful extensions and
69223 -# breaks some systems' header files.
69224 -# AIX -qlanglvl=ansi
69225 -# Ultrix and OSF/1 -std1
69226 -# HP-UX 10.20 and later -Ae
69227 -# HP-UX older versions -Aa -D_HPUX_SOURCE
69228 -# SVR4 -Xc -D__EXTENSIONS__
69229 -for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
69230 +for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
69231 + -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
69232 do
69233 CC="$ac_save_CC $ac_arg"
69234 rm -f conftest.$ac_objext
69235 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69236 - (eval $ac_compile) 2>conftest.er1
69237 +if { (ac_try="$ac_compile"
69238 +case "(($ac_try" in
69239 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
69240 + *) ac_try_echo=$ac_try;;
69241 +esac
69242 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
69243 + (eval "$ac_compile") 2>conftest.er1
69244 ac_status=$?
69245 grep -v '^ *+' conftest.er1 >conftest.err
69246 rm -f conftest.er1
69247 cat conftest.err >&5
69248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69249 - (exit $ac_status); } &&
69250 - { ac_try='test -z "$ac_c_werror_flag"
69251 - || test ! -s conftest.err'
69252 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69253 - (eval $ac_try) 2>&5
69254 - ac_status=$?
69255 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
69256 - (exit $ac_status); }; } &&
69257 - { ac_try='test -s conftest.$ac_objext'
69258 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69259 - (eval $ac_try) 2>&5
69260 - ac_status=$?
69261 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
69262 - (exit $ac_status); }; }; then
69263 - ac_cv_prog_cc_stdc=$ac_arg
69264 -break
69265 + (exit $ac_status); } && {
69266 + test -z "$ac_c_werror_flag" ||
69267 + test ! -s conftest.err
69268 + } && test -s conftest.$ac_objext; then
69269 + ac_cv_prog_cc_c89=$ac_arg
69270 else
69271 echo "$as_me: failed program was:" >&5
69272 sed 's/^/| /' conftest.$ac_ext >&5
69273
69274 +
69275 fi
69276 -rm -f conftest.err conftest.$ac_objext
69277 +
69278 +rm -f core conftest.err conftest.$ac_objext
69279 + test "x$ac_cv_prog_cc_c89" != "xno" && break
69280 done
69281 -rm -f conftest.$ac_ext conftest.$ac_objext
69282 +rm -f conftest.$ac_ext
69283 CC=$ac_save_CC
69284
69285 fi
69286 -
69287 -case "x$ac_cv_prog_cc_stdc" in
69288 - x|xno)
69289 - echo "$as_me:$LINENO: result: none needed" >&5
69290 -echo "${ECHO_T}none needed" >&6 ;;
69291 +# AC_CACHE_VAL
69292 +case "x$ac_cv_prog_cc_c89" in
69293 + x)
69294 + { echo "$as_me:$LINENO: result: none needed" >&5
69295 +echo "${ECHO_T}none needed" >&6; } ;;
69296 + xno)
69297 + { echo "$as_me:$LINENO: result: unsupported" >&5
69298 +echo "${ECHO_T}unsupported" >&6; } ;;
69299 *)
69300 - echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
69301 -echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
69302 - CC="$CC $ac_cv_prog_cc_stdc" ;;
69303 + CC="$CC $ac_cv_prog_cc_c89"
69304 + { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
69305 +echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
69306 esac
69307
69308 -# Some people use a C++ compiler to compile C. Since we use `exit',
69309 -# in C++ we need to declare it. In case someone uses the same compiler
69310 -# for both compiling C and C++ we need to have the C++ compiler decide
69311 -# the declaration of exit, since it's the most demanding environment.
69312 +
69313 +ac_ext=c
69314 +ac_cpp='$CPP $CPPFLAGS'
69315 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69316 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69317 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
69318 +
69319 +
69320 +{ echo "$as_me:$LINENO: checking for library containing strerror" >&5
69321 +echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6; }
69322 +if test "${ac_cv_search_strerror+set}" = set; then
69323 + echo $ECHO_N "(cached) $ECHO_C" >&6
69324 +else
69325 + ac_func_search_save_LIBS=$LIBS
69326 cat >conftest.$ac_ext <<_ACEOF
69327 -#ifndef __cplusplus
69328 - choke me
69329 -#endif
69330 -_ACEOF
69331 -rm -f conftest.$ac_objext
69332 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69333 - (eval $ac_compile) 2>conftest.er1
69334 - ac_status=$?
69335 - grep -v '^ *+' conftest.er1 >conftest.err
69336 - rm -f conftest.er1
69337 - cat conftest.err >&5
69338 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
69339 - (exit $ac_status); } &&
69340 - { ac_try='test -z "$ac_c_werror_flag"
69341 - || test ! -s conftest.err'
69342 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69343 - (eval $ac_try) 2>&5
69344 - ac_status=$?
69345 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
69346 - (exit $ac_status); }; } &&
69347 - { ac_try='test -s conftest.$ac_objext'
69348 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69349 - (eval $ac_try) 2>&5
69350 - ac_status=$?
69351 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
69352 - (exit $ac_status); }; }; then
69353 - for ac_declaration in \
69354 - '' \
69355 - 'extern "C" void std::exit (int) throw (); using std::exit;' \
69356 - 'extern "C" void std::exit (int); using std::exit;' \
69357 - 'extern "C" void exit (int) throw ();' \
69358 - 'extern "C" void exit (int);' \
69359 - 'void exit (int);'
69360 -do
69361 - cat >conftest.$ac_ext <<_ACEOF
69362 /* confdefs.h. */
69363 _ACEOF
69364 cat confdefs.h >>conftest.$ac_ext
69365 cat >>conftest.$ac_ext <<_ACEOF
69366 /* end confdefs.h. */
69367 -$ac_declaration
69368 -#include <stdlib.h>
69369 +
69370 +/* Override any GCC internal prototype to avoid an error.
69371 + Use char because int might match the return type of a GCC
69372 + builtin and then its argument prototype would still apply. */
69373 +#ifdef __cplusplus
69374 +extern "C"
69375 +#endif
69376 +char strerror ();
69377 int
69378 main ()
69379 {
69380 -exit (42);
69381 +return strerror ();
69382 ;
69383 return 0;
69384 }
69385 _ACEOF
69386 -rm -f conftest.$ac_objext
69387 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69388 - (eval $ac_compile) 2>conftest.er1
69389 +for ac_lib in '' cposix; do
69390 + if test -z "$ac_lib"; then
69391 + ac_res="none required"
69392 + else
69393 + ac_res=-l$ac_lib
69394 + LIBS="-l$ac_lib $ac_func_search_save_LIBS"
69395 + fi
69396 + rm -f conftest.$ac_objext conftest$ac_exeext
69397 +if { (ac_try="$ac_link"
69398 +case "(($ac_try" in
69399 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
69400 + *) ac_try_echo=$ac_try;;
69401 +esac
69402 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
69403 + (eval "$ac_link") 2>conftest.er1
69404 ac_status=$?
69405 grep -v '^ *+' conftest.er1 >conftest.err
69406 rm -f conftest.er1
69407 cat conftest.err >&5
69408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69409 - (exit $ac_status); } &&
69410 - { ac_try='test -z "$ac_c_werror_flag"
69411 - || test ! -s conftest.err'
69412 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69413 - (eval $ac_try) 2>&5
69414 - ac_status=$?
69415 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
69416 - (exit $ac_status); }; } &&
69417 - { ac_try='test -s conftest.$ac_objext'
69418 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69419 - (eval $ac_try) 2>&5
69420 - ac_status=$?
69421 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
69422 - (exit $ac_status); }; }; then
69423 - :
69424 + (exit $ac_status); } && {
69425 + test -z "$ac_c_werror_flag" ||
69426 + test ! -s conftest.err
69427 + } && test -s conftest$ac_exeext &&
69428 + $as_test_x conftest$ac_exeext; then
69429 + ac_cv_search_strerror=$ac_res
69430 else
69431 echo "$as_me: failed program was:" >&5
69432 sed 's/^/| /' conftest.$ac_ext >&5
69433
69434 -continue
69435 -fi
69436 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69437 - cat >conftest.$ac_ext <<_ACEOF
69438 -/* confdefs.h. */
69439 -_ACEOF
69440 -cat confdefs.h >>conftest.$ac_ext
69441 -cat >>conftest.$ac_ext <<_ACEOF
69442 -/* end confdefs.h. */
69443 -$ac_declaration
69444 -int
69445 -main ()
69446 -{
69447 -exit (42);
69448 - ;
69449 - return 0;
69450 -}
69451 -_ACEOF
69452 -rm -f conftest.$ac_objext
69453 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69454 - (eval $ac_compile) 2>conftest.er1
69455 - ac_status=$?
69456 - grep -v '^ *+' conftest.er1 >conftest.err
69457 - rm -f conftest.er1
69458 - cat conftest.err >&5
69459 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
69460 - (exit $ac_status); } &&
69461 - { ac_try='test -z "$ac_c_werror_flag"
69462 - || test ! -s conftest.err'
69463 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69464 - (eval $ac_try) 2>&5
69465 - ac_status=$?
69466 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
69467 - (exit $ac_status); }; } &&
69468 - { ac_try='test -s conftest.$ac_objext'
69469 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69470 - (eval $ac_try) 2>&5
69471 - ac_status=$?
69472 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
69473 - (exit $ac_status); }; }; then
69474 - break
69475 -else
69476 - echo "$as_me: failed program was:" >&5
69477 -sed 's/^/| /' conftest.$ac_ext >&5
69478
69479 fi
69480 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69481 -done
69482 -rm -f conftest*
69483 -if test -n "$ac_declaration"; then
69484 - echo '#ifdef __cplusplus' >>confdefs.h
69485 - echo $ac_declaration >>confdefs.h
69486 - echo '#endif' >>confdefs.h
69487 -fi
69488 -
69489 -else
69490 - echo "$as_me: failed program was:" >&5
69491 -sed 's/^/| /' conftest.$ac_ext >&5
69492
69493 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
69494 + conftest$ac_exeext
69495 + if test "${ac_cv_search_strerror+set}" = set; then
69496 + break
69497 fi
69498 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69499 -ac_ext=c
69500 -ac_cpp='$CPP $CPPFLAGS'
69501 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69502 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69503 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
69504 -
69505 -
69506 -echo "$as_me:$LINENO: checking for library containing strerror" >&5
69507 -echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6
69508 +done
69509 if test "${ac_cv_search_strerror+set}" = set; then
69510 - echo $ECHO_N "(cached) $ECHO_C" >&6
69511 -else
69512 - ac_func_search_save_LIBS=$LIBS
69513 -ac_cv_search_strerror=no
69514 -cat >conftest.$ac_ext <<_ACEOF
69515 -/* confdefs.h. */
69516 -_ACEOF
69517 -cat confdefs.h >>conftest.$ac_ext
69518 -cat >>conftest.$ac_ext <<_ACEOF
69519 -/* end confdefs.h. */
69520 -
69521 -/* Override any gcc2 internal prototype to avoid an error. */
69522 -#ifdef __cplusplus
69523 -extern "C"
69524 -#endif
69525 -/* We use char because int might match the return type of a gcc2
69526 - builtin and then its argument prototype would still apply. */
69527 -char strerror ();
69528 -int
69529 -main ()
69530 -{
69531 -strerror ();
69532 - ;
69533 - return 0;
69534 -}
69535 -_ACEOF
69536 -rm -f conftest.$ac_objext conftest$ac_exeext
69537 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69538 - (eval $ac_link) 2>conftest.er1
69539 - ac_status=$?
69540 - grep -v '^ *+' conftest.er1 >conftest.err
69541 - rm -f conftest.er1
69542 - cat conftest.err >&5
69543 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
69544 - (exit $ac_status); } &&
69545 - { ac_try='test -z "$ac_c_werror_flag"
69546 - || test ! -s conftest.err'
69547 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69548 - (eval $ac_try) 2>&5
69549 - ac_status=$?
69550 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
69551 - (exit $ac_status); }; } &&
69552 - { ac_try='test -s conftest$ac_exeext'
69553 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69554 - (eval $ac_try) 2>&5
69555 - ac_status=$?
69556 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
69557 - (exit $ac_status); }; }; then
69558 - ac_cv_search_strerror="none required"
69559 -else
69560 - echo "$as_me: failed program was:" >&5
69561 -sed 's/^/| /' conftest.$ac_ext >&5
69562 -
69563 -fi
69564 -rm -f conftest.err conftest.$ac_objext \
69565 - conftest$ac_exeext conftest.$ac_ext
69566 -if test "$ac_cv_search_strerror" = no; then
69567 - for ac_lib in cposix; do
69568 - LIBS="-l$ac_lib $ac_func_search_save_LIBS"
69569 - cat >conftest.$ac_ext <<_ACEOF
69570 -/* confdefs.h. */
69571 -_ACEOF
69572 -cat confdefs.h >>conftest.$ac_ext
69573 -cat >>conftest.$ac_ext <<_ACEOF
69574 -/* end confdefs.h. */
69575 -
69576 -/* Override any gcc2 internal prototype to avoid an error. */
69577 -#ifdef __cplusplus
69578 -extern "C"
69579 -#endif
69580 -/* We use char because int might match the return type of a gcc2
69581 - builtin and then its argument prototype would still apply. */
69582 -char strerror ();
69583 -int
69584 -main ()
69585 -{
69586 -strerror ();
69587 - ;
69588 - return 0;
69589 -}
69590 -_ACEOF
69591 -rm -f conftest.$ac_objext conftest$ac_exeext
69592 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69593 - (eval $ac_link) 2>conftest.er1
69594 - ac_status=$?
69595 - grep -v '^ *+' conftest.er1 >conftest.err
69596 - rm -f conftest.er1
69597 - cat conftest.err >&5
69598 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
69599 - (exit $ac_status); } &&
69600 - { ac_try='test -z "$ac_c_werror_flag"
69601 - || test ! -s conftest.err'
69602 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69603 - (eval $ac_try) 2>&5
69604 - ac_status=$?
69605 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
69606 - (exit $ac_status); }; } &&
69607 - { ac_try='test -s conftest$ac_exeext'
69608 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69609 - (eval $ac_try) 2>&5
69610 - ac_status=$?
69611 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
69612 - (exit $ac_status); }; }; then
69613 - ac_cv_search_strerror="-l$ac_lib"
69614 -break
69615 + :
69616 else
69617 - echo "$as_me: failed program was:" >&5
69618 -sed 's/^/| /' conftest.$ac_ext >&5
69619 -
69620 -fi
69621 -rm -f conftest.err conftest.$ac_objext \
69622 - conftest$ac_exeext conftest.$ac_ext
69623 - done
69624 + ac_cv_search_strerror=no
69625 fi
69626 +rm conftest.$ac_ext
69627 LIBS=$ac_func_search_save_LIBS
69628 fi
69629 -echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
69630 -echo "${ECHO_T}$ac_cv_search_strerror" >&6
69631 -if test "$ac_cv_search_strerror" != no; then
69632 - test "$ac_cv_search_strerror" = "none required" || LIBS="$ac_cv_search_strerror $LIBS"
69633 +{ echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
69634 +echo "${ECHO_T}$ac_cv_search_strerror" >&6; }
69635 +ac_res=$ac_cv_search_strerror
69636 +if test "$ac_res" != no; then
69637 + test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
69638
69639 fi
69640
69641 @@ -2501,8 +2979,8 @@ am__api_version="1.9"
69642 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
69643 # OS/2's system install, which has a completely different semantic
69644 # ./install, which can be erroneously created by make from ./install.sh.
69645 -echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
69646 -echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
69647 +{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
69648 +echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
69649 if test -z "$INSTALL"; then
69650 if test "${ac_cv_path_install+set}" = set; then
69651 echo $ECHO_N "(cached) $ECHO_C" >&6
69652 @@ -2524,7 +3002,7 @@ case $as_dir/ in
69653 # by default.
69654 for ac_prog in ginstall scoinst install; do
69655 for ac_exec_ext in '' $ac_executable_extensions; do
69656 - if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
69657 + if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
69658 if test $ac_prog = install &&
69659 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
69660 # AIX install. It has an incompatible calling convention.
69661 @@ -2543,21 +3021,22 @@ case $as_dir/ in
69662 ;;
69663 esac
69664 done
69665 +IFS=$as_save_IFS
69666
69667
69668 fi
69669 if test "${ac_cv_path_install+set}" = set; then
69670 INSTALL=$ac_cv_path_install
69671 else
69672 - # As a last resort, use the slow shell script. We don't cache a
69673 - # path for INSTALL within a source directory, because that will
69674 + # As a last resort, use the slow shell script. Don't cache a
69675 + # value for INSTALL within a source directory, because that will
69676 # break other packages using the cache if that directory is
69677 - # removed, or if the path is relative.
69678 + # removed, or if the value is a relative name.
69679 INSTALL=$ac_install_sh
69680 fi
69681 fi
69682 -echo "$as_me:$LINENO: result: $INSTALL" >&5
69683 -echo "${ECHO_T}$INSTALL" >&6
69684 +{ echo "$as_me:$LINENO: result: $INSTALL" >&5
69685 +echo "${ECHO_T}$INSTALL" >&6; }
69686
69687 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
69688 # It thinks the first close brace ends the variable substitution.
69689 @@ -2567,8 +3046,8 @@ test -z "$INSTALL_SCRIPT" && INSTALL_SCR
69690
69691 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
69692
69693 -echo "$as_me:$LINENO: checking whether build environment is sane" >&5
69694 -echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
69695 +{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
69696 +echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
69697 # Just in case
69698 sleep 1
69699 echo timestamp > conftest.file
69700 @@ -2610,20 +3089,20 @@ echo "$as_me: error: newly created file
69701 Check your system clock" >&2;}
69702 { (exit 1); exit 1; }; }
69703 fi
69704 -echo "$as_me:$LINENO: result: yes" >&5
69705 -echo "${ECHO_T}yes" >&6
69706 +{ echo "$as_me:$LINENO: result: yes" >&5
69707 +echo "${ECHO_T}yes" >&6; }
69708 test "$program_prefix" != NONE &&
69709 - program_transform_name="s,^,$program_prefix,;$program_transform_name"
69710 + program_transform_name="s&^&$program_prefix&;$program_transform_name"
69711 # Use a double $ so make ignores it.
69712 test "$program_suffix" != NONE &&
69713 - program_transform_name="s,\$,$program_suffix,;$program_transform_name"
69714 + program_transform_name="s&\$&$program_suffix&;$program_transform_name"
69715 # Double any \ or $. echo might interpret backslashes.
69716 # By default was `s,x,x', remove it if useless.
69717 cat <<\_ACEOF >conftest.sed
69718 s/[\\$]/&&/g;s/;s,x,x,$//
69719 _ACEOF
69720 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
69721 -rm conftest.sed
69722 +rm -f conftest.sed
69723
69724 # expand $ac_aux_dir to an absolute path
69725 am_aux_dir=`cd $ac_aux_dir && pwd`
69726 @@ -2675,8 +3154,8 @@ for ac_prog in gawk mawk nawk awk
69727 do
69728 # Extract the first word of "$ac_prog", so it can be a program name with args.
69729 set dummy $ac_prog; ac_word=$2
69730 -echo "$as_me:$LINENO: checking for $ac_word" >&5
69731 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
69732 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
69733 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
69734 if test "${ac_cv_prog_AWK+set}" = set; then
69735 echo $ECHO_N "(cached) $ECHO_C" >&6
69736 else
69737 @@ -2689,54 +3168,57 @@ do
69738 IFS=$as_save_IFS
69739 test -z "$as_dir" && as_dir=.
69740 for ac_exec_ext in '' $ac_executable_extensions; do
69741 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
69742 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
69743 ac_cv_prog_AWK="$ac_prog"
69744 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
69745 break 2
69746 fi
69747 done
69748 done
69749 +IFS=$as_save_IFS
69750
69751 fi
69752 fi
69753 AWK=$ac_cv_prog_AWK
69754 if test -n "$AWK"; then
69755 - echo "$as_me:$LINENO: result: $AWK" >&5
69756 -echo "${ECHO_T}$AWK" >&6
69757 + { echo "$as_me:$LINENO: result: $AWK" >&5
69758 +echo "${ECHO_T}$AWK" >&6; }
69759 else
69760 - echo "$as_me:$LINENO: result: no" >&5
69761 -echo "${ECHO_T}no" >&6
69762 + { echo "$as_me:$LINENO: result: no" >&5
69763 +echo "${ECHO_T}no" >&6; }
69764 fi
69765
69766 +
69767 test -n "$AWK" && break
69768 done
69769
69770 -echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
69771 -echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
69772 -set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
69773 -if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
69774 +{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
69775 +echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
69776 +set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
69777 +if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
69778 echo $ECHO_N "(cached) $ECHO_C" >&6
69779 else
69780 cat >conftest.make <<\_ACEOF
69781 +SHELL = /bin/sh
69782 all:
69783 - @echo 'ac_maketemp="$(MAKE)"'
69784 + @echo '@@@%%%=$(MAKE)=@@@%%%'
69785 _ACEOF
69786 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
69787 -eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
69788 -if test -n "$ac_maketemp"; then
69789 - eval ac_cv_prog_make_${ac_make}_set=yes
69790 -else
69791 - eval ac_cv_prog_make_${ac_make}_set=no
69792 -fi
69793 +case `${MAKE-make} -f conftest.make 2>/dev/null` in
69794 + *@@@%%%=?*=@@@%%%*)
69795 + eval ac_cv_prog_make_${ac_make}_set=yes;;
69796 + *)
69797 + eval ac_cv_prog_make_${ac_make}_set=no;;
69798 +esac
69799 rm -f conftest.make
69800 fi
69801 -if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
69802 - echo "$as_me:$LINENO: result: yes" >&5
69803 -echo "${ECHO_T}yes" >&6
69804 +if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
69805 + { echo "$as_me:$LINENO: result: yes" >&5
69806 +echo "${ECHO_T}yes" >&6; }
69807 SET_MAKE=
69808 else
69809 - echo "$as_me:$LINENO: result: no" >&5
69810 -echo "${ECHO_T}no" >&6
69811 + { echo "$as_me:$LINENO: result: no" >&5
69812 +echo "${ECHO_T}no" >&6; }
69813 SET_MAKE="MAKE=${MAKE-make}"
69814 fi
69815
69816 @@ -2751,7 +3233,7 @@ rmdir .tst 2>/dev/null
69817
69818 DEPDIR="${am__leading_dot}deps"
69819
69820 - ac_config_commands="$ac_config_commands depfiles"
69821 +ac_config_commands="$ac_config_commands depfiles"
69822
69823
69824 am_make=${MAKE-make}
69825 @@ -2761,8 +3243,8 @@ am__doit:
69826 .PHONY: am__doit
69827 END
69828 # If we don't find an include directive, just comment out the code.
69829 -echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
69830 -echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
69831 +{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
69832 +echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
69833 am__include="#"
69834 am__quote=
69835 _am_result=none
69836 @@ -2789,15 +3271,15 @@ if test "$am__include" = "#"; then
69837 fi
69838
69839
69840 -echo "$as_me:$LINENO: result: $_am_result" >&5
69841 -echo "${ECHO_T}$_am_result" >&6
69842 +{ echo "$as_me:$LINENO: result: $_am_result" >&5
69843 +echo "${ECHO_T}$_am_result" >&6; }
69844 rm -f confinc confmf
69845
69846 -# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
69847 +# Check whether --enable-dependency-tracking was given.
69848 if test "${enable_dependency_tracking+set}" = set; then
69849 - enableval="$enable_dependency_tracking"
69850 + enableval=$enable_dependency_tracking;
69851 +fi
69852
69853 -fi;
69854 if test "x$enable_dependency_tracking" != xno; then
69855 am_depcomp="$ac_aux_dir/depcomp"
69856 AMDEPBACKSLASH='\'
69857 @@ -2872,8 +3354,8 @@ if test "$cross_compiling" != no; then
69858 if test -n "$ac_tool_prefix"; then
69859 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
69860 set dummy ${ac_tool_prefix}strip; ac_word=$2
69861 -echo "$as_me:$LINENO: checking for $ac_word" >&5
69862 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
69863 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
69864 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
69865 if test "${ac_cv_prog_STRIP+set}" = set; then
69866 echo $ECHO_N "(cached) $ECHO_C" >&6
69867 else
69868 @@ -2886,32 +3368,34 @@ do
69869 IFS=$as_save_IFS
69870 test -z "$as_dir" && as_dir=.
69871 for ac_exec_ext in '' $ac_executable_extensions; do
69872 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
69873 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
69874 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
69875 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
69876 break 2
69877 fi
69878 done
69879 done
69880 +IFS=$as_save_IFS
69881
69882 fi
69883 fi
69884 STRIP=$ac_cv_prog_STRIP
69885 if test -n "$STRIP"; then
69886 - echo "$as_me:$LINENO: result: $STRIP" >&5
69887 -echo "${ECHO_T}$STRIP" >&6
69888 + { echo "$as_me:$LINENO: result: $STRIP" >&5
69889 +echo "${ECHO_T}$STRIP" >&6; }
69890 else
69891 - echo "$as_me:$LINENO: result: no" >&5
69892 -echo "${ECHO_T}no" >&6
69893 + { echo "$as_me:$LINENO: result: no" >&5
69894 +echo "${ECHO_T}no" >&6; }
69895 fi
69896
69897 +
69898 fi
69899 if test -z "$ac_cv_prog_STRIP"; then
69900 ac_ct_STRIP=$STRIP
69901 # Extract the first word of "strip", so it can be a program name with args.
69902 set dummy strip; ac_word=$2
69903 -echo "$as_me:$LINENO: checking for $ac_word" >&5
69904 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
69905 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
69906 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
69907 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
69908 echo $ECHO_N "(cached) $ECHO_C" >&6
69909 else
69910 @@ -2924,27 +3408,41 @@ do
69911 IFS=$as_save_IFS
69912 test -z "$as_dir" && as_dir=.
69913 for ac_exec_ext in '' $ac_executable_extensions; do
69914 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
69915 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
69916 ac_cv_prog_ac_ct_STRIP="strip"
69917 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
69918 break 2
69919 fi
69920 done
69921 done
69922 +IFS=$as_save_IFS
69923
69924 - test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
69925 fi
69926 fi
69927 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
69928 if test -n "$ac_ct_STRIP"; then
69929 - echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
69930 -echo "${ECHO_T}$ac_ct_STRIP" >&6
69931 + { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
69932 +echo "${ECHO_T}$ac_ct_STRIP" >&6; }
69933 else
69934 - echo "$as_me:$LINENO: result: no" >&5
69935 -echo "${ECHO_T}no" >&6
69936 + { echo "$as_me:$LINENO: result: no" >&5
69937 +echo "${ECHO_T}no" >&6; }
69938 fi
69939
69940 - STRIP=$ac_ct_STRIP
69941 + if test "x$ac_ct_STRIP" = x; then
69942 + STRIP=":"
69943 + else
69944 + case $cross_compiling:$ac_tool_warned in
69945 +yes:)
69946 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
69947 +whose name does not start with the host triplet. If you think this
69948 +configuration is useful to you, please write to autoconf@gnu.org." >&5
69949 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
69950 +whose name does not start with the host triplet. If you think this
69951 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
69952 +ac_tool_warned=yes ;;
69953 +esac
69954 + STRIP=$ac_ct_STRIP
69955 + fi
69956 else
69957 STRIP="$ac_cv_prog_STRIP"
69958 fi
69959 @@ -2965,8 +3463,8 @@ am__tar='${AMTAR} chof - "$$tardir"'; am
69960
69961 depcc="$CC" am_compiler_list=
69962
69963 -echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
69964 -echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
69965 +{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
69966 +echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
69967 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
69968 echo $ECHO_N "(cached) $ECHO_C" >&6
69969 else
69970 @@ -3055,8 +3553,8 @@ else
69971 fi
69972
69973 fi
69974 -echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
69975 -echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
69976 +{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
69977 +echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
69978 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
69979
69980
69981 @@ -3074,10 +3572,9 @@ fi
69982
69983
69984
69985 -# Check whether --enable-shared or --disable-shared was given.
69986 +# Check whether --enable-shared was given.
69987 if test "${enable_shared+set}" = set; then
69988 - enableval="$enable_shared"
69989 - p=${PACKAGE-default}
69990 + enableval=$enable_shared; p=${PACKAGE-default}
69991 case $enableval in
69992 yes) enable_shared=yes ;;
69993 no) enable_shared=no ;;
69994 @@ -3095,11 +3592,11 @@ no) enable_shared=no ;;
69995 esac
69996 else
69997 enable_shared=yes
69998 -fi;
69999 -# Check whether --enable-static or --disable-static was given.
70000 +fi
70001 +
70002 +# Check whether --enable-static was given.
70003 if test "${enable_static+set}" = set; then
70004 - enableval="$enable_static"
70005 - p=${PACKAGE-default}
70006 + enableval=$enable_static; p=${PACKAGE-default}
70007 case $enableval in
70008 yes) enable_static=yes ;;
70009 no) enable_static=no ;;
70010 @@ -3117,11 +3614,11 @@ no) enable_static=no ;;
70011 esac
70012 else
70013 enable_static=yes
70014 -fi;
70015 -# Check whether --enable-fast-install or --disable-fast-install was given.
70016 +fi
70017 +
70018 +# Check whether --enable-fast-install was given.
70019 if test "${enable_fast_install+set}" = set; then
70020 - enableval="$enable_fast_install"
70021 - p=${PACKAGE-default}
70022 + enableval=$enable_fast_install; p=${PACKAGE-default}
70023 case $enableval in
70024 yes) enable_fast_install=yes ;;
70025 no) enable_fast_install=no ;;
70026 @@ -3139,20 +3636,21 @@ no) enable_fast_install=no ;;
70027 esac
70028 else
70029 enable_fast_install=yes
70030 -fi;
70031 +fi
70032 +
70033
70034 -# Check whether --with-gnu-ld or --without-gnu-ld was given.
70035 +# Check whether --with-gnu-ld was given.
70036 if test "${with_gnu_ld+set}" = set; then
70037 - withval="$with_gnu_ld"
70038 - test "$withval" = no || with_gnu_ld=yes
70039 + withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
70040 else
70041 with_gnu_ld=no
70042 -fi;
70043 +fi
70044 +
70045 ac_prog=ld
70046 if test "$GCC" = yes; then
70047 # Check if gcc -print-prog-name=ld gives a path.
70048 - echo "$as_me:$LINENO: checking for ld used by GCC" >&5
70049 -echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
70050 + { echo "$as_me:$LINENO: checking for ld used by GCC" >&5
70051 +echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6; }
70052 case $host in
70053 *-*-mingw*)
70054 # gcc leaves a trailing carriage return which upsets mingw
70055 @@ -3181,11 +3679,11 @@ echo $ECHO_N "checking for ld used by GC
70056 ;;
70057 esac
70058 elif test "$with_gnu_ld" = yes; then
70059 - echo "$as_me:$LINENO: checking for GNU ld" >&5
70060 -echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
70061 + { echo "$as_me:$LINENO: checking for GNU ld" >&5
70062 +echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
70063 else
70064 - echo "$as_me:$LINENO: checking for non-GNU ld" >&5
70065 -echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
70066 + { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
70067 +echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
70068 fi
70069 if test "${lt_cv_path_LD+set}" = set; then
70070 echo $ECHO_N "(cached) $ECHO_C" >&6
70071 @@ -3214,17 +3712,17 @@ fi
70072
70073 LD="$lt_cv_path_LD"
70074 if test -n "$LD"; then
70075 - echo "$as_me:$LINENO: result: $LD" >&5
70076 -echo "${ECHO_T}$LD" >&6
70077 + { echo "$as_me:$LINENO: result: $LD" >&5
70078 +echo "${ECHO_T}$LD" >&6; }
70079 else
70080 - echo "$as_me:$LINENO: result: no" >&5
70081 -echo "${ECHO_T}no" >&6
70082 + { echo "$as_me:$LINENO: result: no" >&5
70083 +echo "${ECHO_T}no" >&6; }
70084 fi
70085 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
70086 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
70087 { (exit 1); exit 1; }; }
70088 -echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
70089 -echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
70090 +{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
70091 +echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
70092 if test "${lt_cv_prog_gnu_ld+set}" = set; then
70093 echo $ECHO_N "(cached) $ECHO_C" >&6
70094 else
70095 @@ -3235,25 +3733,25 @@ else
70096 lt_cv_prog_gnu_ld=no
70097 fi
70098 fi
70099 -echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
70100 -echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
70101 +{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
70102 +echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
70103 with_gnu_ld=$lt_cv_prog_gnu_ld
70104
70105
70106 -echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
70107 -echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
70108 +{ echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
70109 +echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
70110 if test "${lt_cv_ld_reload_flag+set}" = set; then
70111 echo $ECHO_N "(cached) $ECHO_C" >&6
70112 else
70113 lt_cv_ld_reload_flag='-r'
70114 fi
70115 -echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
70116 -echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
70117 +{ echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
70118 +echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
70119 reload_flag=$lt_cv_ld_reload_flag
70120 test -n "$reload_flag" && reload_flag=" $reload_flag"
70121
70122 -echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
70123 -echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
70124 +{ echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
70125 +echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
70126 if test "${lt_cv_path_NM+set}" = set; then
70127 echo $ECHO_N "(cached) $ECHO_C" >&6
70128 else
70129 @@ -3288,22 +3786,22 @@ fi
70130 fi
70131
70132 NM="$lt_cv_path_NM"
70133 -echo "$as_me:$LINENO: result: $NM" >&5
70134 -echo "${ECHO_T}$NM" >&6
70135 +{ echo "$as_me:$LINENO: result: $NM" >&5
70136 +echo "${ECHO_T}$NM" >&6; }
70137
70138 -echo "$as_me:$LINENO: checking whether ln -s works" >&5
70139 -echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
70140 +{ echo "$as_me:$LINENO: checking whether ln -s works" >&5
70141 +echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
70142 LN_S=$as_ln_s
70143 if test "$LN_S" = "ln -s"; then
70144 - echo "$as_me:$LINENO: result: yes" >&5
70145 -echo "${ECHO_T}yes" >&6
70146 + { echo "$as_me:$LINENO: result: yes" >&5
70147 +echo "${ECHO_T}yes" >&6; }
70148 else
70149 - echo "$as_me:$LINENO: result: no, using $LN_S" >&5
70150 -echo "${ECHO_T}no, using $LN_S" >&6
70151 + { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
70152 +echo "${ECHO_T}no, using $LN_S" >&6; }
70153 fi
70154
70155 -echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
70156 -echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
70157 +{ echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
70158 +echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6; }
70159 if test "${lt_cv_deplibs_check_method+set}" = set; then
70160 echo $ECHO_N "(cached) $ECHO_C" >&6
70161 else
70162 @@ -3465,8 +3963,8 @@ sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
70163 esac
70164
70165 fi
70166 -echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
70167 -echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
70168 +{ echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
70169 +echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
70170 file_magic_cmd=$lt_cv_file_magic_cmd
70171 deplibs_check_method=$lt_cv_deplibs_check_method
70172
70173 @@ -3476,8 +3974,8 @@ deplibs_check_method=$lt_cv_deplibs_chec
70174 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
70175
70176 # find the maximum length of command line arguments
70177 -echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
70178 -echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
70179 +{ echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
70180 +echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
70181 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
70182 echo $ECHO_N "(cached) $ECHO_C" >&6
70183 else
70184 @@ -3528,11 +4026,11 @@ else
70185 fi
70186
70187 if test -n "$lt_cv_sys_max_cmd_len" ; then
70188 - echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
70189 -echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
70190 + { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
70191 +echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
70192 else
70193 - echo "$as_me:$LINENO: result: none" >&5
70194 -echo "${ECHO_T}none" >&6
70195 + { echo "$as_me:$LINENO: result: none" >&5
70196 +echo "${ECHO_T}none" >&6; }
70197 fi
70198
70199
70200 @@ -3540,8 +4038,8 @@ fi
70201 case $deplibs_check_method in
70202 file_magic*)
70203 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
70204 - echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
70205 -echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
70206 + { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
70207 +echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
70208 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
70209 echo $ECHO_N "(cached) $ECHO_C" >&6
70210 else
70211 @@ -3595,17 +4093,17 @@ fi
70212
70213 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
70214 if test -n "$MAGIC_CMD"; then
70215 - echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
70216 -echo "${ECHO_T}$MAGIC_CMD" >&6
70217 + { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
70218 +echo "${ECHO_T}$MAGIC_CMD" >&6; }
70219 else
70220 - echo "$as_me:$LINENO: result: no" >&5
70221 -echo "${ECHO_T}no" >&6
70222 + { echo "$as_me:$LINENO: result: no" >&5
70223 +echo "${ECHO_T}no" >&6; }
70224 fi
70225
70226 if test -z "$lt_cv_path_MAGIC_CMD"; then
70227 if test -n "$ac_tool_prefix"; then
70228 - echo "$as_me:$LINENO: checking for file" >&5
70229 -echo $ECHO_N "checking for file... $ECHO_C" >&6
70230 + { echo "$as_me:$LINENO: checking for file" >&5
70231 +echo $ECHO_N "checking for file... $ECHO_C" >&6; }
70232 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
70233 echo $ECHO_N "(cached) $ECHO_C" >&6
70234 else
70235 @@ -3659,11 +4157,11 @@ fi
70236
70237 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
70238 if test -n "$MAGIC_CMD"; then
70239 - echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
70240 -echo "${ECHO_T}$MAGIC_CMD" >&6
70241 + { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
70242 +echo "${ECHO_T}$MAGIC_CMD" >&6; }
70243 else
70244 - echo "$as_me:$LINENO: result: no" >&5
70245 -echo "${ECHO_T}no" >&6
70246 + { echo "$as_me:$LINENO: result: no" >&5
70247 +echo "${ECHO_T}no" >&6; }
70248 fi
70249
70250 else
70251 @@ -3678,8 +4176,8 @@ esac
70252 if test -n "$ac_tool_prefix"; then
70253 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
70254 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
70255 -echo "$as_me:$LINENO: checking for $ac_word" >&5
70256 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
70257 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
70258 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
70259 if test "${ac_cv_prog_RANLIB+set}" = set; then
70260 echo $ECHO_N "(cached) $ECHO_C" >&6
70261 else
70262 @@ -3692,32 +4190,34 @@ do
70263 IFS=$as_save_IFS
70264 test -z "$as_dir" && as_dir=.
70265 for ac_exec_ext in '' $ac_executable_extensions; do
70266 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
70267 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
70268 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
70269 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
70270 break 2
70271 fi
70272 done
70273 done
70274 +IFS=$as_save_IFS
70275
70276 fi
70277 fi
70278 RANLIB=$ac_cv_prog_RANLIB
70279 if test -n "$RANLIB"; then
70280 - echo "$as_me:$LINENO: result: $RANLIB" >&5
70281 -echo "${ECHO_T}$RANLIB" >&6
70282 + { echo "$as_me:$LINENO: result: $RANLIB" >&5
70283 +echo "${ECHO_T}$RANLIB" >&6; }
70284 else
70285 - echo "$as_me:$LINENO: result: no" >&5
70286 -echo "${ECHO_T}no" >&6
70287 + { echo "$as_me:$LINENO: result: no" >&5
70288 +echo "${ECHO_T}no" >&6; }
70289 fi
70290
70291 +
70292 fi
70293 if test -z "$ac_cv_prog_RANLIB"; then
70294 ac_ct_RANLIB=$RANLIB
70295 # Extract the first word of "ranlib", so it can be a program name with args.
70296 set dummy ranlib; ac_word=$2
70297 -echo "$as_me:$LINENO: checking for $ac_word" >&5
70298 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
70299 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
70300 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
70301 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
70302 echo $ECHO_N "(cached) $ECHO_C" >&6
70303 else
70304 @@ -3730,27 +4230,41 @@ do
70305 IFS=$as_save_IFS
70306 test -z "$as_dir" && as_dir=.
70307 for ac_exec_ext in '' $ac_executable_extensions; do
70308 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
70309 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
70310 ac_cv_prog_ac_ct_RANLIB="ranlib"
70311 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
70312 break 2
70313 fi
70314 done
70315 done
70316 +IFS=$as_save_IFS
70317
70318 - test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
70319 fi
70320 fi
70321 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
70322 if test -n "$ac_ct_RANLIB"; then
70323 - echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
70324 -echo "${ECHO_T}$ac_ct_RANLIB" >&6
70325 + { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
70326 +echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
70327 else
70328 - echo "$as_me:$LINENO: result: no" >&5
70329 -echo "${ECHO_T}no" >&6
70330 + { echo "$as_me:$LINENO: result: no" >&5
70331 +echo "${ECHO_T}no" >&6; }
70332 fi
70333
70334 - RANLIB=$ac_ct_RANLIB
70335 + if test "x$ac_ct_RANLIB" = x; then
70336 + RANLIB=":"
70337 + else
70338 + case $cross_compiling:$ac_tool_warned in
70339 +yes:)
70340 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
70341 +whose name does not start with the host triplet. If you think this
70342 +configuration is useful to you, please write to autoconf@gnu.org." >&5
70343 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
70344 +whose name does not start with the host triplet. If you think this
70345 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
70346 +ac_tool_warned=yes ;;
70347 +esac
70348 + RANLIB=$ac_ct_RANLIB
70349 + fi
70350 else
70351 RANLIB="$ac_cv_prog_RANLIB"
70352 fi
70353 @@ -3758,8 +4272,8 @@ fi
70354 if test -n "$ac_tool_prefix"; then
70355 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
70356 set dummy ${ac_tool_prefix}strip; ac_word=$2
70357 -echo "$as_me:$LINENO: checking for $ac_word" >&5
70358 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
70359 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
70360 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
70361 if test "${ac_cv_prog_STRIP+set}" = set; then
70362 echo $ECHO_N "(cached) $ECHO_C" >&6
70363 else
70364 @@ -3772,32 +4286,34 @@ do
70365 IFS=$as_save_IFS
70366 test -z "$as_dir" && as_dir=.
70367 for ac_exec_ext in '' $ac_executable_extensions; do
70368 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
70369 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
70370 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
70371 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
70372 break 2
70373 fi
70374 done
70375 done
70376 +IFS=$as_save_IFS
70377
70378 fi
70379 fi
70380 STRIP=$ac_cv_prog_STRIP
70381 if test -n "$STRIP"; then
70382 - echo "$as_me:$LINENO: result: $STRIP" >&5
70383 -echo "${ECHO_T}$STRIP" >&6
70384 + { echo "$as_me:$LINENO: result: $STRIP" >&5
70385 +echo "${ECHO_T}$STRIP" >&6; }
70386 else
70387 - echo "$as_me:$LINENO: result: no" >&5
70388 -echo "${ECHO_T}no" >&6
70389 + { echo "$as_me:$LINENO: result: no" >&5
70390 +echo "${ECHO_T}no" >&6; }
70391 fi
70392
70393 +
70394 fi
70395 if test -z "$ac_cv_prog_STRIP"; then
70396 ac_ct_STRIP=$STRIP
70397 # Extract the first word of "strip", so it can be a program name with args.
70398 set dummy strip; ac_word=$2
70399 -echo "$as_me:$LINENO: checking for $ac_word" >&5
70400 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
70401 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
70402 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
70403 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
70404 echo $ECHO_N "(cached) $ECHO_C" >&6
70405 else
70406 @@ -3810,27 +4326,41 @@ do
70407 IFS=$as_save_IFS
70408 test -z "$as_dir" && as_dir=.
70409 for ac_exec_ext in '' $ac_executable_extensions; do
70410 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
70411 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
70412 ac_cv_prog_ac_ct_STRIP="strip"
70413 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
70414 break 2
70415 fi
70416 done
70417 done
70418 +IFS=$as_save_IFS
70419
70420 - test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
70421 fi
70422 fi
70423 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
70424 if test -n "$ac_ct_STRIP"; then
70425 - echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
70426 -echo "${ECHO_T}$ac_ct_STRIP" >&6
70427 + { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
70428 +echo "${ECHO_T}$ac_ct_STRIP" >&6; }
70429 else
70430 - echo "$as_me:$LINENO: result: no" >&5
70431 -echo "${ECHO_T}no" >&6
70432 + { echo "$as_me:$LINENO: result: no" >&5
70433 +echo "${ECHO_T}no" >&6; }
70434 fi
70435
70436 - STRIP=$ac_ct_STRIP
70437 + if test "x$ac_ct_STRIP" = x; then
70438 + STRIP=":"
70439 + else
70440 + case $cross_compiling:$ac_tool_warned in
70441 +yes:)
70442 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
70443 +whose name does not start with the host triplet. If you think this
70444 +configuration is useful to you, please write to autoconf@gnu.org." >&5
70445 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
70446 +whose name does not start with the host triplet. If you think this
70447 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
70448 +ac_tool_warned=yes ;;
70449 +esac
70450 + STRIP=$ac_ct_STRIP
70451 + fi
70452 else
70453 STRIP="$ac_cv_prog_STRIP"
70454 fi
70455 @@ -3845,22 +4375,22 @@ test "$GCC" = yes && libtool_flags="$lib
70456 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
70457
70458
70459 -# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
70460 +# Check whether --enable-libtool-lock was given.
70461 if test "${enable_libtool_lock+set}" = set; then
70462 - enableval="$enable_libtool_lock"
70463 + enableval=$enable_libtool_lock;
70464 +fi
70465
70466 -fi;
70467 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
70468 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
70469
70470
70471 -# Check whether --with-pic or --without-pic was given.
70472 +# Check whether --with-pic was given.
70473 if test "${with_pic+set}" = set; then
70474 - withval="$with_pic"
70475 - pic_mode="$withval"
70476 + withval=$with_pic; pic_mode="$withval"
70477 else
70478 pic_mode=default
70479 -fi;
70480 +fi
70481 +
70482 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
70483 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
70484
70485 @@ -3869,7 +4399,7 @@ test x"$pic_mode" = xno && libtool_flags
70486 case $host in
70487 *-*-irix6*)
70488 # Find out which ABI we are using.
70489 - echo '#line 3872 "configure"' > conftest.$ac_ext
70490 + echo '#line 4402 "configure"' > conftest.$ac_ext
70491 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70492 (eval $ac_compile) 2>&5
70493 ac_status=$?
70494 @@ -3974,13 +4504,12 @@ x86_64-*linux*|ppc*-*linux*|powerpc*-*li
70495 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
70496 SAVE_CFLAGS="$CFLAGS"
70497 CFLAGS="$CFLAGS -belf"
70498 - echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
70499 -echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
70500 + { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
70501 +echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
70502 if test "${lt_cv_cc_needs_belf+set}" = set; then
70503 echo $ECHO_N "(cached) $ECHO_C" >&6
70504 else
70505
70506 -
70507 ac_ext=c
70508 ac_cpp='$CPP $CPPFLAGS'
70509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70510 @@ -4003,35 +4532,32 @@ main ()
70511 }
70512 _ACEOF
70513 rm -f conftest.$ac_objext conftest$ac_exeext
70514 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70515 - (eval $ac_link) 2>conftest.er1
70516 +if { (ac_try="$ac_link"
70517 +case "(($ac_try" in
70518 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
70519 + *) ac_try_echo=$ac_try;;
70520 +esac
70521 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
70522 + (eval "$ac_link") 2>conftest.er1
70523 ac_status=$?
70524 grep -v '^ *+' conftest.er1 >conftest.err
70525 rm -f conftest.er1
70526 cat conftest.err >&5
70527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70528 - (exit $ac_status); } &&
70529 - { ac_try='test -z "$ac_c_werror_flag"
70530 - || test ! -s conftest.err'
70531 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70532 - (eval $ac_try) 2>&5
70533 - ac_status=$?
70534 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
70535 - (exit $ac_status); }; } &&
70536 - { ac_try='test -s conftest$ac_exeext'
70537 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70538 - (eval $ac_try) 2>&5
70539 - ac_status=$?
70540 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
70541 - (exit $ac_status); }; }; then
70542 + (exit $ac_status); } && {
70543 + test -z "$ac_c_werror_flag" ||
70544 + test ! -s conftest.err
70545 + } && test -s conftest$ac_exeext &&
70546 + $as_test_x conftest$ac_exeext; then
70547 lt_cv_cc_needs_belf=yes
70548 else
70549 echo "$as_me: failed program was:" >&5
70550 sed 's/^/| /' conftest.$ac_ext >&5
70551
70552 -lt_cv_cc_needs_belf=no
70553 + lt_cv_cc_needs_belf=no
70554 fi
70555 -rm -f conftest.err conftest.$ac_objext \
70556 +
70557 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
70558 conftest$ac_exeext conftest.$ac_ext
70559 ac_ext=c
70560 ac_cpp='$CPP $CPPFLAGS'
70561 @@ -4040,8 +4566,8 @@ ac_link='$CC -o conftest$ac_exeext $CFLA
70562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70563
70564 fi
70565 -echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
70566 -echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
70567 +{ echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
70568 +echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
70569 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
70570 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
70571 CFLAGS="$SAVE_CFLAGS"
70572 @@ -4071,39 +4597,58 @@ _ACEOF
70573
70574 # The following way of writing the cache mishandles newlines in values,
70575 # but we know of no workaround that is simple, portable, and efficient.
70576 -# So, don't put newlines in cache variables' values.
70577 +# So, we kill variables containing newlines.
70578 # Ultrix sh set writes to stderr and can't be redirected directly,
70579 # and sets the high bit in the cache file unless we assign to the vars.
70580 -{
70581 +(
70582 + for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
70583 + eval ac_val=\$$ac_var
70584 + case $ac_val in #(
70585 + *${as_nl}*)
70586 + case $ac_var in #(
70587 + *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
70588 +echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
70589 + esac
70590 + case $ac_var in #(
70591 + _ | IFS | as_nl) ;; #(
70592 + *) $as_unset $ac_var ;;
70593 + esac ;;
70594 + esac
70595 + done
70596 +
70597 (set) 2>&1 |
70598 - case `(ac_space=' '; set | grep ac_space) 2>&1` in
70599 - *ac_space=\ *)
70600 + case $as_nl`(ac_space=' '; set) 2>&1` in #(
70601 + *${as_nl}ac_space=\ *)
70602 # `set' does not quote correctly, so add quotes (double-quote
70603 # substitution turns \\\\ into \\, and sed turns \\ into \).
70604 sed -n \
70605 "s/'/'\\\\''/g;
70606 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
70607 - ;;
70608 + ;; #(
70609 *)
70610 # `set' quotes correctly as required by POSIX, so do not add quotes.
70611 - sed -n \
70612 - "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
70613 + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
70614 ;;
70615 - esac;
70616 -} |
70617 + esac |
70618 + sort
70619 +) |
70620 sed '
70621 + /^ac_cv_env_/b end
70622 t clear
70623 - : clear
70624 + :clear
70625 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
70626 t end
70627 - /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
70628 - : end' >>confcache
70629 -if diff $cache_file confcache >/dev/null 2>&1; then :; else
70630 - if test -w $cache_file; then
70631 - test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
70632 + s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
70633 + :end' >>confcache
70634 +if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
70635 + if test -w "$cache_file"; then
70636 + test "x$cache_file" != "x/dev/null" &&
70637 + { echo "$as_me:$LINENO: updating cache $cache_file" >&5
70638 +echo "$as_me: updating cache $cache_file" >&6;}
70639 cat confcache >$cache_file
70640 else
70641 - echo "not updating unwritable cache $cache_file"
70642 + { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
70643 +echo "$as_me: not updating unwritable cache $cache_file" >&6;}
70644 fi
70645 fi
70646 rm -f confcache
70647 @@ -4129,8 +4674,8 @@ if test -r "$cache_file"; then
70648 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
70649 echo "$as_me: loading cache $cache_file" >&6;}
70650 case $cache_file in
70651 - [\\/]* | ?:[\\/]* ) . $cache_file;;
70652 - *) . ./$cache_file;;
70653 + [\\/]* | ?:[\\/]* ) . "$cache_file";;
70654 + *) . "./$cache_file";;
70655 esac
70656 fi
70657 else
70658 @@ -4157,15 +4702,14 @@ exec 5>>./config.log
70659
70660
70661
70662 -# Check whether --with-lib-path or --without-lib-path was given.
70663 +# Check whether --with-lib-path was given.
70664 if test "${with_lib_path+set}" = set; then
70665 - withval="$with_lib_path"
70666 - LIB_PATH=$withval
70667 -fi;
70668 -# Check whether --enable-targets or --disable-targets was given.
70669 + withval=$with_lib_path; LIB_PATH=$withval
70670 +fi
70671 +
70672 +# Check whether --enable-targets was given.
70673 if test "${enable_targets+set}" = set; then
70674 - enableval="$enable_targets"
70675 - case "${enableval}" in
70676 + enableval=$enable_targets; case "${enableval}" in
70677 yes | "") { { echo "$as_me:$LINENO: error: enable-targets option must specify target names or 'all'" >&5
70678 echo "$as_me: error: enable-targets option must specify target names or 'all'" >&2;}
70679 { (exit 1); exit 1; }; }
70680 @@ -4173,10 +4717,10 @@ echo "$as_me: error: enable-targets opti
70681 no) enable_targets= ;;
70682 *) enable_targets=$enableval ;;
70683 esac
70684 -fi; # Check whether --enable-64-bit-bfd or --disable-64-bit-bfd was given.
70685 +fi
70686 +# Check whether --enable-64-bit-bfd was given.
70687 if test "${enable_64_bit_bfd+set}" = set; then
70688 - enableval="$enable_64_bit_bfd"
70689 - case "${enableval}" in
70690 + enableval=$enable_64_bit_bfd; case "${enableval}" in
70691 yes) want64=true ;;
70692 no) want64=false ;;
70693 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for 64-bit-bfd option" >&5
70694 @@ -4185,12 +4729,12 @@ echo "$as_me: error: bad value ${enablev
70695 esac
70696 else
70697 want64=false
70698 -fi;
70699 +fi
70700
70701 -# Check whether --with-sysroot or --without-sysroot was given.
70702 -if test "${with_sysroot+set}" = set; then
70703 - withval="$with_sysroot"
70704
70705 +# Check whether --with-sysroot was given.
70706 +if test "${with_sysroot+set}" = set; then
70707 + withval=$with_sysroot;
70708 case ${with_sysroot} in
70709 yes) TARGET_SYSTEM_ROOT='${exec_prefix}/${target_alias}/sys-root' ;;
70710 *) TARGET_SYSTEM_ROOT=$with_sysroot ;;
70711 @@ -4222,7 +4766,8 @@ else
70712 TARGET_SYSTEM_ROOT=
70713 TARGET_SYSTEM_ROOT_DEFINE='-DTARGET_SYSTEM_ROOT=\"\"'
70714
70715 -fi;
70716 +fi
70717 +
70718
70719
70720
70721 @@ -4230,17 +4775,17 @@ fi;
70722
70723 GCC_WARN_CFLAGS="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
70724
70725 -# Check whether --enable-werror or --disable-werror was given.
70726 +# Check whether --enable-werror was given.
70727 if test "${enable_werror+set}" = set; then
70728 - enableval="$enable_werror"
70729 - case "${enableval}" in
70730 + enableval=$enable_werror; case "${enableval}" in
70731 yes | y) ERROR_ON_WARNING="yes" ;;
70732 no | n) ERROR_ON_WARNING="no" ;;
70733 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-werror" >&5
70734 echo "$as_me: error: bad value ${enableval} for --enable-werror" >&2;}
70735 { (exit 1); exit 1; }; } ;;
70736 esac
70737 -fi;
70738 +fi
70739 +
70740
70741 # Enable -Werror by default when using gcc
70742 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
70743 @@ -4257,10 +4802,9 @@ if test "${GCC}" = yes ; then
70744 WARN_CFLAGS="${GCC_WARN_CFLAGS}"
70745 fi
70746
70747 -# Check whether --enable-build-warnings or --disable-build-warnings was given.
70748 +# Check whether --enable-build-warnings was given.
70749 if test "${enable_build_warnings+set}" = set; then
70750 - enableval="$enable_build_warnings"
70751 - case "${enableval}" in
70752 + enableval=$enable_build_warnings; case "${enableval}" in
70753 yes) WARN_CFLAGS="${GCC_WARN_CFLAGS}";;
70754 no) if test "${GCC}" = yes ; then
70755 WARN_CFLAGS="-w"
70756 @@ -4271,7 +4815,8 @@ if test "${enable_build_warnings+set}" =
70757 WARN_CFLAGS="${t} ${GCC_WARN_CFLAGS}";;
70758 *) WARN_CFLAGS=`echo "${enableval}" | sed -e "s/,/ /g"`;;
70759 esac
70760 -fi;
70761 +fi
70762 +
70763
70764 if test x"$silent" != x"yes" && test x"$WARN_CFLAGS" != x""; then
70765 echo "Setting warning flags = $WARN_CFLAGS" 6>&1
70766 @@ -4281,7 +4826,7 @@ fi
70767
70768
70769
70770 - ac_config_headers="$ac_config_headers config.h:config.in"
70771 +ac_config_headers="$ac_config_headers config.h:config.in"
70772
70773
70774 if test -z "$target" ; then
70775 @@ -4305,8 +4850,8 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
70776 if test -n "$ac_tool_prefix"; then
70777 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
70778 set dummy ${ac_tool_prefix}gcc; ac_word=$2
70779 -echo "$as_me:$LINENO: checking for $ac_word" >&5
70780 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
70781 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
70782 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
70783 if test "${ac_cv_prog_CC+set}" = set; then
70784 echo $ECHO_N "(cached) $ECHO_C" >&6
70785 else
70786 @@ -4319,32 +4864,34 @@ do
70787 IFS=$as_save_IFS
70788 test -z "$as_dir" && as_dir=.
70789 for ac_exec_ext in '' $ac_executable_extensions; do
70790 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
70791 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
70792 ac_cv_prog_CC="${ac_tool_prefix}gcc"
70793 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
70794 break 2
70795 fi
70796 done
70797 done
70798 +IFS=$as_save_IFS
70799
70800 fi
70801 fi
70802 CC=$ac_cv_prog_CC
70803 if test -n "$CC"; then
70804 - echo "$as_me:$LINENO: result: $CC" >&5
70805 -echo "${ECHO_T}$CC" >&6
70806 + { echo "$as_me:$LINENO: result: $CC" >&5
70807 +echo "${ECHO_T}$CC" >&6; }
70808 else
70809 - echo "$as_me:$LINENO: result: no" >&5
70810 -echo "${ECHO_T}no" >&6
70811 + { echo "$as_me:$LINENO: result: no" >&5
70812 +echo "${ECHO_T}no" >&6; }
70813 fi
70814
70815 +
70816 fi
70817 if test -z "$ac_cv_prog_CC"; then
70818 ac_ct_CC=$CC
70819 # Extract the first word of "gcc", so it can be a program name with args.
70820 set dummy gcc; ac_word=$2
70821 -echo "$as_me:$LINENO: checking for $ac_word" >&5
70822 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
70823 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
70824 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
70825 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
70826 echo $ECHO_N "(cached) $ECHO_C" >&6
70827 else
70828 @@ -4357,36 +4904,51 @@ do
70829 IFS=$as_save_IFS
70830 test -z "$as_dir" && as_dir=.
70831 for ac_exec_ext in '' $ac_executable_extensions; do
70832 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
70833 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
70834 ac_cv_prog_ac_ct_CC="gcc"
70835 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
70836 break 2
70837 fi
70838 done
70839 done
70840 +IFS=$as_save_IFS
70841
70842 fi
70843 fi
70844 ac_ct_CC=$ac_cv_prog_ac_ct_CC
70845 if test -n "$ac_ct_CC"; then
70846 - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
70847 -echo "${ECHO_T}$ac_ct_CC" >&6
70848 + { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
70849 +echo "${ECHO_T}$ac_ct_CC" >&6; }
70850 else
70851 - echo "$as_me:$LINENO: result: no" >&5
70852 -echo "${ECHO_T}no" >&6
70853 + { echo "$as_me:$LINENO: result: no" >&5
70854 +echo "${ECHO_T}no" >&6; }
70855 fi
70856
70857 - CC=$ac_ct_CC
70858 + if test "x$ac_ct_CC" = x; then
70859 + CC=""
70860 + else
70861 + case $cross_compiling:$ac_tool_warned in
70862 +yes:)
70863 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
70864 +whose name does not start with the host triplet. If you think this
70865 +configuration is useful to you, please write to autoconf@gnu.org." >&5
70866 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
70867 +whose name does not start with the host triplet. If you think this
70868 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
70869 +ac_tool_warned=yes ;;
70870 +esac
70871 + CC=$ac_ct_CC
70872 + fi
70873 else
70874 CC="$ac_cv_prog_CC"
70875 fi
70876
70877 if test -z "$CC"; then
70878 - if test -n "$ac_tool_prefix"; then
70879 - # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
70880 + if test -n "$ac_tool_prefix"; then
70881 + # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
70882 set dummy ${ac_tool_prefix}cc; ac_word=$2
70883 -echo "$as_me:$LINENO: checking for $ac_word" >&5
70884 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
70885 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
70886 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
70887 if test "${ac_cv_prog_CC+set}" = set; then
70888 echo $ECHO_N "(cached) $ECHO_C" >&6
70889 else
70890 @@ -4399,74 +4961,34 @@ do
70891 IFS=$as_save_IFS
70892 test -z "$as_dir" && as_dir=.
70893 for ac_exec_ext in '' $ac_executable_extensions; do
70894 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
70895 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
70896 ac_cv_prog_CC="${ac_tool_prefix}cc"
70897 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
70898 break 2
70899 fi
70900 done
70901 done
70902 +IFS=$as_save_IFS
70903
70904 fi
70905 fi
70906 CC=$ac_cv_prog_CC
70907 if test -n "$CC"; then
70908 - echo "$as_me:$LINENO: result: $CC" >&5
70909 -echo "${ECHO_T}$CC" >&6
70910 -else
70911 - echo "$as_me:$LINENO: result: no" >&5
70912 -echo "${ECHO_T}no" >&6
70913 -fi
70914 -
70915 -fi
70916 -if test -z "$ac_cv_prog_CC"; then
70917 - ac_ct_CC=$CC
70918 - # Extract the first word of "cc", so it can be a program name with args.
70919 -set dummy cc; ac_word=$2
70920 -echo "$as_me:$LINENO: checking for $ac_word" >&5
70921 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
70922 -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
70923 - echo $ECHO_N "(cached) $ECHO_C" >&6
70924 -else
70925 - if test -n "$ac_ct_CC"; then
70926 - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
70927 -else
70928 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
70929 -for as_dir in $PATH
70930 -do
70931 - IFS=$as_save_IFS
70932 - test -z "$as_dir" && as_dir=.
70933 - for ac_exec_ext in '' $ac_executable_extensions; do
70934 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
70935 - ac_cv_prog_ac_ct_CC="cc"
70936 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
70937 - break 2
70938 - fi
70939 -done
70940 -done
70941 -
70942 -fi
70943 -fi
70944 -ac_ct_CC=$ac_cv_prog_ac_ct_CC
70945 -if test -n "$ac_ct_CC"; then
70946 - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
70947 -echo "${ECHO_T}$ac_ct_CC" >&6
70948 + { echo "$as_me:$LINENO: result: $CC" >&5
70949 +echo "${ECHO_T}$CC" >&6; }
70950 else
70951 - echo "$as_me:$LINENO: result: no" >&5
70952 -echo "${ECHO_T}no" >&6
70953 + { echo "$as_me:$LINENO: result: no" >&5
70954 +echo "${ECHO_T}no" >&6; }
70955 fi
70956
70957 - CC=$ac_ct_CC
70958 -else
70959 - CC="$ac_cv_prog_CC"
70960 -fi
70961
70962 + fi
70963 fi
70964 if test -z "$CC"; then
70965 # Extract the first word of "cc", so it can be a program name with args.
70966 set dummy cc; ac_word=$2
70967 -echo "$as_me:$LINENO: checking for $ac_word" >&5
70968 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
70969 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
70970 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
70971 if test "${ac_cv_prog_CC+set}" = set; then
70972 echo $ECHO_N "(cached) $ECHO_C" >&6
70973 else
70974 @@ -4480,7 +5002,7 @@ do
70975 IFS=$as_save_IFS
70976 test -z "$as_dir" && as_dir=.
70977 for ac_exec_ext in '' $ac_executable_extensions; do
70978 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
70979 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
70980 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
70981 ac_prog_rejected=yes
70982 continue
70983 @@ -4491,6 +5013,7 @@ do
70984 fi
70985 done
70986 done
70987 +IFS=$as_save_IFS
70988
70989 if test $ac_prog_rejected = yes; then
70990 # We found a bogon in the path, so make sure we never use it.
70991 @@ -4508,22 +5031,23 @@ fi
70992 fi
70993 CC=$ac_cv_prog_CC
70994 if test -n "$CC"; then
70995 - echo "$as_me:$LINENO: result: $CC" >&5
70996 -echo "${ECHO_T}$CC" >&6
70997 + { echo "$as_me:$LINENO: result: $CC" >&5
70998 +echo "${ECHO_T}$CC" >&6; }
70999 else
71000 - echo "$as_me:$LINENO: result: no" >&5
71001 -echo "${ECHO_T}no" >&6
71002 + { echo "$as_me:$LINENO: result: no" >&5
71003 +echo "${ECHO_T}no" >&6; }
71004 fi
71005
71006 +
71007 fi
71008 if test -z "$CC"; then
71009 if test -n "$ac_tool_prefix"; then
71010 - for ac_prog in cl
71011 + for ac_prog in cl.exe
71012 do
71013 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
71014 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
71015 -echo "$as_me:$LINENO: checking for $ac_word" >&5
71016 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
71017 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
71018 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
71019 if test "${ac_cv_prog_CC+set}" = set; then
71020 echo $ECHO_N "(cached) $ECHO_C" >&6
71021 else
71022 @@ -4536,36 +5060,38 @@ do
71023 IFS=$as_save_IFS
71024 test -z "$as_dir" && as_dir=.
71025 for ac_exec_ext in '' $ac_executable_extensions; do
71026 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
71027 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
71028 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
71029 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
71030 break 2
71031 fi
71032 done
71033 done
71034 +IFS=$as_save_IFS
71035
71036 fi
71037 fi
71038 CC=$ac_cv_prog_CC
71039 if test -n "$CC"; then
71040 - echo "$as_me:$LINENO: result: $CC" >&5
71041 -echo "${ECHO_T}$CC" >&6
71042 + { echo "$as_me:$LINENO: result: $CC" >&5
71043 +echo "${ECHO_T}$CC" >&6; }
71044 else
71045 - echo "$as_me:$LINENO: result: no" >&5
71046 -echo "${ECHO_T}no" >&6
71047 + { echo "$as_me:$LINENO: result: no" >&5
71048 +echo "${ECHO_T}no" >&6; }
71049 fi
71050
71051 +
71052 test -n "$CC" && break
71053 done
71054 fi
71055 if test -z "$CC"; then
71056 ac_ct_CC=$CC
71057 - for ac_prog in cl
71058 + for ac_prog in cl.exe
71059 do
71060 # Extract the first word of "$ac_prog", so it can be a program name with args.
71061 set dummy $ac_prog; ac_word=$2
71062 -echo "$as_me:$LINENO: checking for $ac_word" >&5
71063 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
71064 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
71065 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
71066 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
71067 echo $ECHO_N "(cached) $ECHO_C" >&6
71068 else
71069 @@ -4578,29 +5104,45 @@ do
71070 IFS=$as_save_IFS
71071 test -z "$as_dir" && as_dir=.
71072 for ac_exec_ext in '' $ac_executable_extensions; do
71073 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
71074 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
71075 ac_cv_prog_ac_ct_CC="$ac_prog"
71076 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
71077 break 2
71078 fi
71079 done
71080 done
71081 +IFS=$as_save_IFS
71082
71083 fi
71084 fi
71085 ac_ct_CC=$ac_cv_prog_ac_ct_CC
71086 if test -n "$ac_ct_CC"; then
71087 - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
71088 -echo "${ECHO_T}$ac_ct_CC" >&6
71089 + { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
71090 +echo "${ECHO_T}$ac_ct_CC" >&6; }
71091 else
71092 - echo "$as_me:$LINENO: result: no" >&5
71093 -echo "${ECHO_T}no" >&6
71094 + { echo "$as_me:$LINENO: result: no" >&5
71095 +echo "${ECHO_T}no" >&6; }
71096 fi
71097
71098 +
71099 test -n "$ac_ct_CC" && break
71100 done
71101
71102 - CC=$ac_ct_CC
71103 + if test "x$ac_ct_CC" = x; then
71104 + CC=""
71105 + else
71106 + case $cross_compiling:$ac_tool_warned in
71107 +yes:)
71108 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
71109 +whose name does not start with the host triplet. If you think this
71110 +configuration is useful to you, please write to autoconf@gnu.org." >&5
71111 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
71112 +whose name does not start with the host triplet. If you think this
71113 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
71114 +ac_tool_warned=yes ;;
71115 +esac
71116 + CC=$ac_ct_CC
71117 + fi
71118 fi
71119
71120 fi
71121 @@ -4613,27 +5155,41 @@ See \`config.log' for more details." >&2
71122 { (exit 1); exit 1; }; }
71123
71124 # Provide some information about the compiler.
71125 -echo "$as_me:$LINENO:" \
71126 - "checking for C compiler version" >&5
71127 +echo "$as_me:$LINENO: checking for C compiler version" >&5
71128 ac_compiler=`set X $ac_compile; echo $2`
71129 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
71130 - (eval $ac_compiler --version </dev/null >&5) 2>&5
71131 +{ (ac_try="$ac_compiler --version >&5"
71132 +case "(($ac_try" in
71133 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
71134 + *) ac_try_echo=$ac_try;;
71135 +esac
71136 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
71137 + (eval "$ac_compiler --version >&5") 2>&5
71138 ac_status=$?
71139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71140 (exit $ac_status); }
71141 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
71142 - (eval $ac_compiler -v </dev/null >&5) 2>&5
71143 +{ (ac_try="$ac_compiler -v >&5"
71144 +case "(($ac_try" in
71145 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
71146 + *) ac_try_echo=$ac_try;;
71147 +esac
71148 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
71149 + (eval "$ac_compiler -v >&5") 2>&5
71150 ac_status=$?
71151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71152 (exit $ac_status); }
71153 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
71154 - (eval $ac_compiler -V </dev/null >&5) 2>&5
71155 +{ (ac_try="$ac_compiler -V >&5"
71156 +case "(($ac_try" in
71157 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
71158 + *) ac_try_echo=$ac_try;;
71159 +esac
71160 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
71161 + (eval "$ac_compiler -V >&5") 2>&5
71162 ac_status=$?
71163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71164 (exit $ac_status); }
71165
71166 -echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
71167 -echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
71168 +{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
71169 +echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
71170 if test "${ac_cv_c_compiler_gnu+set}" = set; then
71171 echo $ECHO_N "(cached) $ECHO_C" >&6
71172 else
71173 @@ -4656,50 +5212,49 @@ main ()
71174 }
71175 _ACEOF
71176 rm -f conftest.$ac_objext
71177 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71178 - (eval $ac_compile) 2>conftest.er1
71179 +if { (ac_try="$ac_compile"
71180 +case "(($ac_try" in
71181 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
71182 + *) ac_try_echo=$ac_try;;
71183 +esac
71184 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
71185 + (eval "$ac_compile") 2>conftest.er1
71186 ac_status=$?
71187 grep -v '^ *+' conftest.er1 >conftest.err
71188 rm -f conftest.er1
71189 cat conftest.err >&5
71190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71191 - (exit $ac_status); } &&
71192 - { ac_try='test -z "$ac_c_werror_flag"
71193 - || test ! -s conftest.err'
71194 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71195 - (eval $ac_try) 2>&5
71196 - ac_status=$?
71197 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
71198 - (exit $ac_status); }; } &&
71199 - { ac_try='test -s conftest.$ac_objext'
71200 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71201 - (eval $ac_try) 2>&5
71202 - ac_status=$?
71203 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
71204 - (exit $ac_status); }; }; then
71205 + (exit $ac_status); } && {
71206 + test -z "$ac_c_werror_flag" ||
71207 + test ! -s conftest.err
71208 + } && test -s conftest.$ac_objext; then
71209 ac_compiler_gnu=yes
71210 else
71211 echo "$as_me: failed program was:" >&5
71212 sed 's/^/| /' conftest.$ac_ext >&5
71213
71214 -ac_compiler_gnu=no
71215 + ac_compiler_gnu=no
71216 fi
71217 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71218 +
71219 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71220 ac_cv_c_compiler_gnu=$ac_compiler_gnu
71221
71222 fi
71223 -echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
71224 -echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
71225 +{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
71226 +echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
71227 GCC=`test $ac_compiler_gnu = yes && echo yes`
71228 ac_test_CFLAGS=${CFLAGS+set}
71229 ac_save_CFLAGS=$CFLAGS
71230 -CFLAGS="-g"
71231 -echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
71232 -echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
71233 +{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
71234 +echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
71235 if test "${ac_cv_prog_cc_g+set}" = set; then
71236 echo $ECHO_N "(cached) $ECHO_C" >&6
71237 else
71238 - cat >conftest.$ac_ext <<_ACEOF
71239 + ac_save_c_werror_flag=$ac_c_werror_flag
71240 + ac_c_werror_flag=yes
71241 + ac_cv_prog_cc_g=no
71242 + CFLAGS="-g"
71243 + cat >conftest.$ac_ext <<_ACEOF
71244 /* confdefs.h. */
71245 _ACEOF
71246 cat confdefs.h >>conftest.$ac_ext
71247 @@ -4715,59 +5270,139 @@ main ()
71248 }
71249 _ACEOF
71250 rm -f conftest.$ac_objext
71251 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71252 - (eval $ac_compile) 2>conftest.er1
71253 +if { (ac_try="$ac_compile"
71254 +case "(($ac_try" in
71255 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
71256 + *) ac_try_echo=$ac_try;;
71257 +esac
71258 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
71259 + (eval "$ac_compile") 2>conftest.er1
71260 ac_status=$?
71261 grep -v '^ *+' conftest.er1 >conftest.err
71262 rm -f conftest.er1
71263 cat conftest.err >&5
71264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71265 - (exit $ac_status); } &&
71266 - { ac_try='test -z "$ac_c_werror_flag"
71267 - || test ! -s conftest.err'
71268 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71269 - (eval $ac_try) 2>&5
71270 - ac_status=$?
71271 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
71272 - (exit $ac_status); }; } &&
71273 - { ac_try='test -s conftest.$ac_objext'
71274 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71275 - (eval $ac_try) 2>&5
71276 - ac_status=$?
71277 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
71278 - (exit $ac_status); }; }; then
71279 + (exit $ac_status); } && {
71280 + test -z "$ac_c_werror_flag" ||
71281 + test ! -s conftest.err
71282 + } && test -s conftest.$ac_objext; then
71283 ac_cv_prog_cc_g=yes
71284 else
71285 echo "$as_me: failed program was:" >&5
71286 sed 's/^/| /' conftest.$ac_ext >&5
71287
71288 -ac_cv_prog_cc_g=no
71289 -fi
71290 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71291 -fi
71292 -echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
71293 -echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
71294 -if test "$ac_test_CFLAGS" = set; then
71295 - CFLAGS=$ac_save_CFLAGS
71296 -elif test $ac_cv_prog_cc_g = yes; then
71297 - if test "$GCC" = yes; then
71298 - CFLAGS="-g -O2"
71299 - else
71300 - CFLAGS="-g"
71301 - fi
71302 -else
71303 - if test "$GCC" = yes; then
71304 - CFLAGS="-O2"
71305 - else
71306 - CFLAGS=
71307 - fi
71308 -fi
71309 -echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
71310 -echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
71311 -if test "${ac_cv_prog_cc_stdc+set}" = set; then
71312 - echo $ECHO_N "(cached) $ECHO_C" >&6
71313 -else
71314 - ac_cv_prog_cc_stdc=no
71315 + CFLAGS=""
71316 + cat >conftest.$ac_ext <<_ACEOF
71317 +/* confdefs.h. */
71318 +_ACEOF
71319 +cat confdefs.h >>conftest.$ac_ext
71320 +cat >>conftest.$ac_ext <<_ACEOF
71321 +/* end confdefs.h. */
71322 +
71323 +int
71324 +main ()
71325 +{
71326 +
71327 + ;
71328 + return 0;
71329 +}
71330 +_ACEOF
71331 +rm -f conftest.$ac_objext
71332 +if { (ac_try="$ac_compile"
71333 +case "(($ac_try" in
71334 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
71335 + *) ac_try_echo=$ac_try;;
71336 +esac
71337 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
71338 + (eval "$ac_compile") 2>conftest.er1
71339 + ac_status=$?
71340 + grep -v '^ *+' conftest.er1 >conftest.err
71341 + rm -f conftest.er1
71342 + cat conftest.err >&5
71343 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
71344 + (exit $ac_status); } && {
71345 + test -z "$ac_c_werror_flag" ||
71346 + test ! -s conftest.err
71347 + } && test -s conftest.$ac_objext; then
71348 + :
71349 +else
71350 + echo "$as_me: failed program was:" >&5
71351 +sed 's/^/| /' conftest.$ac_ext >&5
71352 +
71353 + ac_c_werror_flag=$ac_save_c_werror_flag
71354 + CFLAGS="-g"
71355 + cat >conftest.$ac_ext <<_ACEOF
71356 +/* confdefs.h. */
71357 +_ACEOF
71358 +cat confdefs.h >>conftest.$ac_ext
71359 +cat >>conftest.$ac_ext <<_ACEOF
71360 +/* end confdefs.h. */
71361 +
71362 +int
71363 +main ()
71364 +{
71365 +
71366 + ;
71367 + return 0;
71368 +}
71369 +_ACEOF
71370 +rm -f conftest.$ac_objext
71371 +if { (ac_try="$ac_compile"
71372 +case "(($ac_try" in
71373 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
71374 + *) ac_try_echo=$ac_try;;
71375 +esac
71376 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
71377 + (eval "$ac_compile") 2>conftest.er1
71378 + ac_status=$?
71379 + grep -v '^ *+' conftest.er1 >conftest.err
71380 + rm -f conftest.er1
71381 + cat conftest.err >&5
71382 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
71383 + (exit $ac_status); } && {
71384 + test -z "$ac_c_werror_flag" ||
71385 + test ! -s conftest.err
71386 + } && test -s conftest.$ac_objext; then
71387 + ac_cv_prog_cc_g=yes
71388 +else
71389 + echo "$as_me: failed program was:" >&5
71390 +sed 's/^/| /' conftest.$ac_ext >&5
71391 +
71392 +
71393 +fi
71394 +
71395 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71396 +fi
71397 +
71398 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71399 +fi
71400 +
71401 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71402 + ac_c_werror_flag=$ac_save_c_werror_flag
71403 +fi
71404 +{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
71405 +echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
71406 +if test "$ac_test_CFLAGS" = set; then
71407 + CFLAGS=$ac_save_CFLAGS
71408 +elif test $ac_cv_prog_cc_g = yes; then
71409 + if test "$GCC" = yes; then
71410 + CFLAGS="-g -O2"
71411 + else
71412 + CFLAGS="-g"
71413 + fi
71414 +else
71415 + if test "$GCC" = yes; then
71416 + CFLAGS="-O2"
71417 + else
71418 + CFLAGS=
71419 + fi
71420 +fi
71421 +{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
71422 +echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
71423 +if test "${ac_cv_prog_cc_c89+set}" = set; then
71424 + echo $ECHO_N "(cached) $ECHO_C" >&6
71425 +else
71426 + ac_cv_prog_cc_c89=no
71427 ac_save_CC=$CC
71428 cat >conftest.$ac_ext <<_ACEOF
71429 /* confdefs.h. */
71430 @@ -4801,12 +5436,17 @@ static char *f (char * (*g) (char **, in
71431 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
71432 function prototypes and stuff, but not '\xHH' hex character constants.
71433 These don't provoke an error unfortunately, instead are silently treated
71434 - as 'x'. The following induces an error, until -std1 is added to get
71435 + as 'x'. The following induces an error, until -std is added to get
71436 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
71437 array size at least. It's necessary to write '\x00'==0 to get something
71438 - that's true only with -std1. */
71439 + that's true only with -std. */
71440 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
71441
71442 +/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
71443 + inside strings and character constants. */
71444 +#define FOO(x) 'x'
71445 +int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
71446 +
71447 int test (int i, double x);
71448 struct s1 {int (*f) (int a);};
71449 struct s2 {int (*f) (double a);};
71450 @@ -4821,205 +5461,57 @@ return f (e, argv, 0) != argv[0] || f
71451 return 0;
71452 }
71453 _ACEOF
71454 -# Don't try gcc -ansi; that turns off useful extensions and
71455 -# breaks some systems' header files.
71456 -# AIX -qlanglvl=ansi
71457 -# Ultrix and OSF/1 -std1
71458 -# HP-UX 10.20 and later -Ae
71459 -# HP-UX older versions -Aa -D_HPUX_SOURCE
71460 -# SVR4 -Xc -D__EXTENSIONS__
71461 -for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
71462 +for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
71463 + -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
71464 do
71465 CC="$ac_save_CC $ac_arg"
71466 rm -f conftest.$ac_objext
71467 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71468 - (eval $ac_compile) 2>conftest.er1
71469 +if { (ac_try="$ac_compile"
71470 +case "(($ac_try" in
71471 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
71472 + *) ac_try_echo=$ac_try;;
71473 +esac
71474 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
71475 + (eval "$ac_compile") 2>conftest.er1
71476 ac_status=$?
71477 grep -v '^ *+' conftest.er1 >conftest.err
71478 rm -f conftest.er1
71479 cat conftest.err >&5
71480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71481 - (exit $ac_status); } &&
71482 - { ac_try='test -z "$ac_c_werror_flag"
71483 - || test ! -s conftest.err'
71484 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71485 - (eval $ac_try) 2>&5
71486 - ac_status=$?
71487 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
71488 - (exit $ac_status); }; } &&
71489 - { ac_try='test -s conftest.$ac_objext'
71490 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71491 - (eval $ac_try) 2>&5
71492 - ac_status=$?
71493 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
71494 - (exit $ac_status); }; }; then
71495 - ac_cv_prog_cc_stdc=$ac_arg
71496 -break
71497 + (exit $ac_status); } && {
71498 + test -z "$ac_c_werror_flag" ||
71499 + test ! -s conftest.err
71500 + } && test -s conftest.$ac_objext; then
71501 + ac_cv_prog_cc_c89=$ac_arg
71502 else
71503 echo "$as_me: failed program was:" >&5
71504 sed 's/^/| /' conftest.$ac_ext >&5
71505
71506 +
71507 fi
71508 -rm -f conftest.err conftest.$ac_objext
71509 +
71510 +rm -f core conftest.err conftest.$ac_objext
71511 + test "x$ac_cv_prog_cc_c89" != "xno" && break
71512 done
71513 -rm -f conftest.$ac_ext conftest.$ac_objext
71514 +rm -f conftest.$ac_ext
71515 CC=$ac_save_CC
71516
71517 fi
71518 -
71519 -case "x$ac_cv_prog_cc_stdc" in
71520 - x|xno)
71521 - echo "$as_me:$LINENO: result: none needed" >&5
71522 -echo "${ECHO_T}none needed" >&6 ;;
71523 +# AC_CACHE_VAL
71524 +case "x$ac_cv_prog_cc_c89" in
71525 + x)
71526 + { echo "$as_me:$LINENO: result: none needed" >&5
71527 +echo "${ECHO_T}none needed" >&6; } ;;
71528 + xno)
71529 + { echo "$as_me:$LINENO: result: unsupported" >&5
71530 +echo "${ECHO_T}unsupported" >&6; } ;;
71531 *)
71532 - echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
71533 -echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
71534 - CC="$CC $ac_cv_prog_cc_stdc" ;;
71535 + CC="$CC $ac_cv_prog_cc_c89"
71536 + { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
71537 +echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
71538 esac
71539
71540 -# Some people use a C++ compiler to compile C. Since we use `exit',
71541 -# in C++ we need to declare it. In case someone uses the same compiler
71542 -# for both compiling C and C++ we need to have the C++ compiler decide
71543 -# the declaration of exit, since it's the most demanding environment.
71544 -cat >conftest.$ac_ext <<_ACEOF
71545 -#ifndef __cplusplus
71546 - choke me
71547 -#endif
71548 -_ACEOF
71549 -rm -f conftest.$ac_objext
71550 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71551 - (eval $ac_compile) 2>conftest.er1
71552 - ac_status=$?
71553 - grep -v '^ *+' conftest.er1 >conftest.err
71554 - rm -f conftest.er1
71555 - cat conftest.err >&5
71556 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
71557 - (exit $ac_status); } &&
71558 - { ac_try='test -z "$ac_c_werror_flag"
71559 - || test ! -s conftest.err'
71560 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71561 - (eval $ac_try) 2>&5
71562 - ac_status=$?
71563 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
71564 - (exit $ac_status); }; } &&
71565 - { ac_try='test -s conftest.$ac_objext'
71566 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71567 - (eval $ac_try) 2>&5
71568 - ac_status=$?
71569 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
71570 - (exit $ac_status); }; }; then
71571 - for ac_declaration in \
71572 - '' \
71573 - 'extern "C" void std::exit (int) throw (); using std::exit;' \
71574 - 'extern "C" void std::exit (int); using std::exit;' \
71575 - 'extern "C" void exit (int) throw ();' \
71576 - 'extern "C" void exit (int);' \
71577 - 'void exit (int);'
71578 -do
71579 - cat >conftest.$ac_ext <<_ACEOF
71580 -/* confdefs.h. */
71581 -_ACEOF
71582 -cat confdefs.h >>conftest.$ac_ext
71583 -cat >>conftest.$ac_ext <<_ACEOF
71584 -/* end confdefs.h. */
71585 -$ac_declaration
71586 -#include <stdlib.h>
71587 -int
71588 -main ()
71589 -{
71590 -exit (42);
71591 - ;
71592 - return 0;
71593 -}
71594 -_ACEOF
71595 -rm -f conftest.$ac_objext
71596 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71597 - (eval $ac_compile) 2>conftest.er1
71598 - ac_status=$?
71599 - grep -v '^ *+' conftest.er1 >conftest.err
71600 - rm -f conftest.er1
71601 - cat conftest.err >&5
71602 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
71603 - (exit $ac_status); } &&
71604 - { ac_try='test -z "$ac_c_werror_flag"
71605 - || test ! -s conftest.err'
71606 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71607 - (eval $ac_try) 2>&5
71608 - ac_status=$?
71609 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
71610 - (exit $ac_status); }; } &&
71611 - { ac_try='test -s conftest.$ac_objext'
71612 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71613 - (eval $ac_try) 2>&5
71614 - ac_status=$?
71615 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
71616 - (exit $ac_status); }; }; then
71617 - :
71618 -else
71619 - echo "$as_me: failed program was:" >&5
71620 -sed 's/^/| /' conftest.$ac_ext >&5
71621 -
71622 -continue
71623 -fi
71624 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71625 - cat >conftest.$ac_ext <<_ACEOF
71626 -/* confdefs.h. */
71627 -_ACEOF
71628 -cat confdefs.h >>conftest.$ac_ext
71629 -cat >>conftest.$ac_ext <<_ACEOF
71630 -/* end confdefs.h. */
71631 -$ac_declaration
71632 -int
71633 -main ()
71634 -{
71635 -exit (42);
71636 - ;
71637 - return 0;
71638 -}
71639 -_ACEOF
71640 -rm -f conftest.$ac_objext
71641 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71642 - (eval $ac_compile) 2>conftest.er1
71643 - ac_status=$?
71644 - grep -v '^ *+' conftest.er1 >conftest.err
71645 - rm -f conftest.er1
71646 - cat conftest.err >&5
71647 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
71648 - (exit $ac_status); } &&
71649 - { ac_try='test -z "$ac_c_werror_flag"
71650 - || test ! -s conftest.err'
71651 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71652 - (eval $ac_try) 2>&5
71653 - ac_status=$?
71654 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
71655 - (exit $ac_status); }; } &&
71656 - { ac_try='test -s conftest.$ac_objext'
71657 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71658 - (eval $ac_try) 2>&5
71659 - ac_status=$?
71660 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
71661 - (exit $ac_status); }; }; then
71662 - break
71663 -else
71664 - echo "$as_me: failed program was:" >&5
71665 -sed 's/^/| /' conftest.$ac_ext >&5
71666 -
71667 -fi
71668 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71669 -done
71670 -rm -f conftest*
71671 -if test -n "$ac_declaration"; then
71672 - echo '#ifdef __cplusplus' >>confdefs.h
71673 - echo $ac_declaration >>confdefs.h
71674 - echo '#endif' >>confdefs.h
71675 -fi
71676 -
71677 -else
71678 - echo "$as_me: failed program was:" >&5
71679 -sed 's/^/| /' conftest.$ac_ext >&5
71680
71681 -fi
71682 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71683 ac_ext=c
71684 ac_cpp='$CPP $CPPFLAGS'
71685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71686 @@ -5039,8 +5531,8 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
71687 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
71688 # OS/2's system install, which has a completely different semantic
71689 # ./install, which can be erroneously created by make from ./install.sh.
71690 -echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
71691 -echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
71692 +{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
71693 +echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
71694 if test -z "$INSTALL"; then
71695 if test "${ac_cv_path_install+set}" = set; then
71696 echo $ECHO_N "(cached) $ECHO_C" >&6
71697 @@ -5062,7 +5554,7 @@ case $as_dir/ in
71698 # by default.
71699 for ac_prog in ginstall scoinst install; do
71700 for ac_exec_ext in '' $ac_executable_extensions; do
71701 - if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
71702 + if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
71703 if test $ac_prog = install &&
71704 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
71705 # AIX install. It has an incompatible calling convention.
71706 @@ -5081,21 +5573,22 @@ case $as_dir/ in
71707 ;;
71708 esac
71709 done
71710 +IFS=$as_save_IFS
71711
71712
71713 fi
71714 if test "${ac_cv_path_install+set}" = set; then
71715 INSTALL=$ac_cv_path_install
71716 else
71717 - # As a last resort, use the slow shell script. We don't cache a
71718 - # path for INSTALL within a source directory, because that will
71719 + # As a last resort, use the slow shell script. Don't cache a
71720 + # value for INSTALL within a source directory, because that will
71721 # break other packages using the cache if that directory is
71722 - # removed, or if the path is relative.
71723 + # removed, or if the value is a relative name.
71724 INSTALL=$ac_install_sh
71725 fi
71726 fi
71727 -echo "$as_me:$LINENO: result: $INSTALL" >&5
71728 -echo "${ECHO_T}$INSTALL" >&6
71729 +{ echo "$as_me:$LINENO: result: $INSTALL" >&5
71730 +echo "${ECHO_T}$INSTALL" >&6; }
71731
71732 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
71733 # It thinks the first close brace ends the variable substitution.
71734 @@ -5110,8 +5603,8 @@ ALL_LINGUAS="fr sv tr es da vi zh_CN"
71735 if test -n "$ac_tool_prefix"; then
71736 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
71737 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
71738 -echo "$as_me:$LINENO: checking for $ac_word" >&5
71739 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
71740 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
71741 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
71742 if test "${ac_cv_prog_RANLIB+set}" = set; then
71743 echo $ECHO_N "(cached) $ECHO_C" >&6
71744 else
71745 @@ -5124,32 +5617,34 @@ do
71746 IFS=$as_save_IFS
71747 test -z "$as_dir" && as_dir=.
71748 for ac_exec_ext in '' $ac_executable_extensions; do
71749 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
71750 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
71751 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
71752 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
71753 break 2
71754 fi
71755 done
71756 done
71757 +IFS=$as_save_IFS
71758
71759 fi
71760 fi
71761 RANLIB=$ac_cv_prog_RANLIB
71762 if test -n "$RANLIB"; then
71763 - echo "$as_me:$LINENO: result: $RANLIB" >&5
71764 -echo "${ECHO_T}$RANLIB" >&6
71765 + { echo "$as_me:$LINENO: result: $RANLIB" >&5
71766 +echo "${ECHO_T}$RANLIB" >&6; }
71767 else
71768 - echo "$as_me:$LINENO: result: no" >&5
71769 -echo "${ECHO_T}no" >&6
71770 + { echo "$as_me:$LINENO: result: no" >&5
71771 +echo "${ECHO_T}no" >&6; }
71772 fi
71773
71774 +
71775 fi
71776 if test -z "$ac_cv_prog_RANLIB"; then
71777 ac_ct_RANLIB=$RANLIB
71778 # Extract the first word of "ranlib", so it can be a program name with args.
71779 set dummy ranlib; ac_word=$2
71780 -echo "$as_me:$LINENO: checking for $ac_word" >&5
71781 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
71782 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
71783 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
71784 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
71785 echo $ECHO_N "(cached) $ECHO_C" >&6
71786 else
71787 @@ -5162,27 +5657,41 @@ do
71788 IFS=$as_save_IFS
71789 test -z "$as_dir" && as_dir=.
71790 for ac_exec_ext in '' $ac_executable_extensions; do
71791 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
71792 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
71793 ac_cv_prog_ac_ct_RANLIB="ranlib"
71794 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
71795 break 2
71796 fi
71797 done
71798 done
71799 +IFS=$as_save_IFS
71800
71801 - test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
71802 fi
71803 fi
71804 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
71805 if test -n "$ac_ct_RANLIB"; then
71806 - echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
71807 -echo "${ECHO_T}$ac_ct_RANLIB" >&6
71808 + { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
71809 +echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
71810 else
71811 - echo "$as_me:$LINENO: result: no" >&5
71812 -echo "${ECHO_T}no" >&6
71813 + { echo "$as_me:$LINENO: result: no" >&5
71814 +echo "${ECHO_T}no" >&6; }
71815 fi
71816
71817 - RANLIB=$ac_ct_RANLIB
71818 + if test "x$ac_ct_RANLIB" = x; then
71819 + RANLIB=":"
71820 + else
71821 + case $cross_compiling:$ac_tool_warned in
71822 +yes:)
71823 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
71824 +whose name does not start with the host triplet. If you think this
71825 +configuration is useful to you, please write to autoconf@gnu.org." >&5
71826 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
71827 +whose name does not start with the host triplet. If you think this
71828 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
71829 +ac_tool_warned=yes ;;
71830 +esac
71831 + RANLIB=$ac_ct_RANLIB
71832 + fi
71833 else
71834 RANLIB="$ac_cv_prog_RANLIB"
71835 fi
71836 @@ -5192,8 +5701,8 @@ ac_cpp='$CPP $CPPFLAGS'
71837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71840 -echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
71841 -echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
71842 +{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
71843 +echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
71844 # On Suns, sometimes $CPP names a directory.
71845 if test -n "$CPP" && test -d "$CPP"; then
71846 CPP=
71847 @@ -5227,24 +5736,22 @@ cat >>conftest.$ac_ext <<_ACEOF
71848 #endif
71849 Syntax error
71850 _ACEOF
71851 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
71852 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
71853 +if { (ac_try="$ac_cpp conftest.$ac_ext"
71854 +case "(($ac_try" in
71855 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
71856 + *) ac_try_echo=$ac_try;;
71857 +esac
71858 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
71859 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
71860 ac_status=$?
71861 grep -v '^ *+' conftest.er1 >conftest.err
71862 rm -f conftest.er1
71863 cat conftest.err >&5
71864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71865 - (exit $ac_status); } >/dev/null; then
71866 - if test -s conftest.err; then
71867 - ac_cpp_err=$ac_c_preproc_warn_flag
71868 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
71869 - else
71870 - ac_cpp_err=
71871 - fi
71872 -else
71873 - ac_cpp_err=yes
71874 -fi
71875 -if test -z "$ac_cpp_err"; then
71876 + (exit $ac_status); } >/dev/null && {
71877 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
71878 + test ! -s conftest.err
71879 + }; then
71880 :
71881 else
71882 echo "$as_me: failed program was:" >&5
71883 @@ -5253,9 +5760,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
71884 # Broken: fails on valid input.
71885 continue
71886 fi
71887 +
71888 rm -f conftest.err conftest.$ac_ext
71889
71890 - # OK, works on sane cases. Now check whether non-existent headers
71891 + # OK, works on sane cases. Now check whether nonexistent headers
71892 # can be detected and how.
71893 cat >conftest.$ac_ext <<_ACEOF
71894 /* confdefs.h. */
71895 @@ -5265,24 +5773,22 @@ cat >>conftest.$ac_ext <<_ACEOF
71896 /* end confdefs.h. */
71897 #include <ac_nonexistent.h>
71898 _ACEOF
71899 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
71900 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
71901 +if { (ac_try="$ac_cpp conftest.$ac_ext"
71902 +case "(($ac_try" in
71903 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
71904 + *) ac_try_echo=$ac_try;;
71905 +esac
71906 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
71907 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
71908 ac_status=$?
71909 grep -v '^ *+' conftest.er1 >conftest.err
71910 rm -f conftest.er1
71911 cat conftest.err >&5
71912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71913 - (exit $ac_status); } >/dev/null; then
71914 - if test -s conftest.err; then
71915 - ac_cpp_err=$ac_c_preproc_warn_flag
71916 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
71917 - else
71918 - ac_cpp_err=
71919 - fi
71920 -else
71921 - ac_cpp_err=yes
71922 -fi
71923 -if test -z "$ac_cpp_err"; then
71924 + (exit $ac_status); } >/dev/null && {
71925 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
71926 + test ! -s conftest.err
71927 + }; then
71928 # Broken: success on invalid input.
71929 continue
71930 else
71931 @@ -5293,6 +5799,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
71932 ac_preproc_ok=:
71933 break
71934 fi
71935 +
71936 rm -f conftest.err conftest.$ac_ext
71937
71938 done
71939 @@ -5310,8 +5817,8 @@ fi
71940 else
71941 ac_cv_prog_CPP=$CPP
71942 fi
71943 -echo "$as_me:$LINENO: result: $CPP" >&5
71944 -echo "${ECHO_T}$CPP" >&6
71945 +{ echo "$as_me:$LINENO: result: $CPP" >&5
71946 +echo "${ECHO_T}$CPP" >&6; }
71947 ac_preproc_ok=false
71948 for ac_c_preproc_warn_flag in '' yes
71949 do
71950 @@ -5334,24 +5841,22 @@ cat >>conftest.$ac_ext <<_ACEOF
71951 #endif
71952 Syntax error
71953 _ACEOF
71954 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
71955 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
71956 +if { (ac_try="$ac_cpp conftest.$ac_ext"
71957 +case "(($ac_try" in
71958 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
71959 + *) ac_try_echo=$ac_try;;
71960 +esac
71961 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
71962 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
71963 ac_status=$?
71964 grep -v '^ *+' conftest.er1 >conftest.err
71965 rm -f conftest.er1
71966 cat conftest.err >&5
71967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71968 - (exit $ac_status); } >/dev/null; then
71969 - if test -s conftest.err; then
71970 - ac_cpp_err=$ac_c_preproc_warn_flag
71971 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
71972 - else
71973 - ac_cpp_err=
71974 - fi
71975 -else
71976 - ac_cpp_err=yes
71977 -fi
71978 -if test -z "$ac_cpp_err"; then
71979 + (exit $ac_status); } >/dev/null && {
71980 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
71981 + test ! -s conftest.err
71982 + }; then
71983 :
71984 else
71985 echo "$as_me: failed program was:" >&5
71986 @@ -5360,9 +5865,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
71987 # Broken: fails on valid input.
71988 continue
71989 fi
71990 +
71991 rm -f conftest.err conftest.$ac_ext
71992
71993 - # OK, works on sane cases. Now check whether non-existent headers
71994 + # OK, works on sane cases. Now check whether nonexistent headers
71995 # can be detected and how.
71996 cat >conftest.$ac_ext <<_ACEOF
71997 /* confdefs.h. */
71998 @@ -5372,24 +5878,22 @@ cat >>conftest.$ac_ext <<_ACEOF
71999 /* end confdefs.h. */
72000 #include <ac_nonexistent.h>
72001 _ACEOF
72002 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
72003 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
72004 +if { (ac_try="$ac_cpp conftest.$ac_ext"
72005 +case "(($ac_try" in
72006 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
72007 + *) ac_try_echo=$ac_try;;
72008 +esac
72009 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
72010 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
72011 ac_status=$?
72012 grep -v '^ *+' conftest.er1 >conftest.err
72013 rm -f conftest.er1
72014 cat conftest.err >&5
72015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72016 - (exit $ac_status); } >/dev/null; then
72017 - if test -s conftest.err; then
72018 - ac_cpp_err=$ac_c_preproc_warn_flag
72019 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
72020 - else
72021 - ac_cpp_err=
72022 - fi
72023 -else
72024 - ac_cpp_err=yes
72025 -fi
72026 -if test -z "$ac_cpp_err"; then
72027 + (exit $ac_status); } >/dev/null && {
72028 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
72029 + test ! -s conftest.err
72030 + }; then
72031 # Broken: success on invalid input.
72032 continue
72033 else
72034 @@ -5400,6 +5904,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
72035 ac_preproc_ok=:
72036 break
72037 fi
72038 +
72039 rm -f conftest.err conftest.$ac_ext
72040
72041 done
72042 @@ -5422,79 +5927,222 @@ ac_link='$CC -o conftest$ac_exeext $CFLA
72043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72044
72045
72046 -echo "$as_me:$LINENO: checking for egrep" >&5
72047 -echo $ECHO_N "checking for egrep... $ECHO_C" >&6
72048 -if test "${ac_cv_prog_egrep+set}" = set; then
72049 +{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
72050 +echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
72051 +if test "${ac_cv_path_GREP+set}" = set; then
72052 + echo $ECHO_N "(cached) $ECHO_C" >&6
72053 +else
72054 + # Extract the first word of "grep ggrep" to use in msg output
72055 +if test -z "$GREP"; then
72056 +set dummy grep ggrep; ac_prog_name=$2
72057 +if test "${ac_cv_path_GREP+set}" = set; then
72058 echo $ECHO_N "(cached) $ECHO_C" >&6
72059 else
72060 - if echo a | (grep -E '(a|b)') >/dev/null 2>&1
72061 - then ac_cv_prog_egrep='grep -E'
72062 - else ac_cv_prog_egrep='egrep'
72063 + ac_path_GREP_found=false
72064 +# Loop through the user's path and test for each of PROGNAME-LIST
72065 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
72066 +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
72067 +do
72068 + IFS=$as_save_IFS
72069 + test -z "$as_dir" && as_dir=.
72070 + for ac_prog in grep ggrep; do
72071 + for ac_exec_ext in '' $ac_executable_extensions; do
72072 + ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
72073 + { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
72074 + # Check for GNU ac_path_GREP and select it if it is found.
72075 + # Check for GNU $ac_path_GREP
72076 +case `"$ac_path_GREP" --version 2>&1` in
72077 +*GNU*)
72078 + ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
72079 +*)
72080 + ac_count=0
72081 + echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
72082 + while :
72083 + do
72084 + cat "conftest.in" "conftest.in" >"conftest.tmp"
72085 + mv "conftest.tmp" "conftest.in"
72086 + cp "conftest.in" "conftest.nl"
72087 + echo 'GREP' >> "conftest.nl"
72088 + "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
72089 + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
72090 + ac_count=`expr $ac_count + 1`
72091 + if test $ac_count -gt ${ac_path_GREP_max-0}; then
72092 + # Best one so far, save it but keep looking for a better one
72093 + ac_cv_path_GREP="$ac_path_GREP"
72094 + ac_path_GREP_max=$ac_count
72095 fi
72096 -fi
72097 -echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
72098 -echo "${ECHO_T}$ac_cv_prog_egrep" >&6
72099 - EGREP=$ac_cv_prog_egrep
72100 + # 10*(2^10) chars as input seems more than enough
72101 + test $ac_count -gt 10 && break
72102 + done
72103 + rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
72104 +esac
72105
72106
72107 -echo "$as_me:$LINENO: checking for ANSI C header files" >&5
72108 -echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
72109 -if test "${ac_cv_header_stdc+set}" = set; then
72110 - echo $ECHO_N "(cached) $ECHO_C" >&6
72111 -else
72112 - cat >conftest.$ac_ext <<_ACEOF
72113 -/* confdefs.h. */
72114 -_ACEOF
72115 -cat confdefs.h >>conftest.$ac_ext
72116 -cat >>conftest.$ac_ext <<_ACEOF
72117 -/* end confdefs.h. */
72118 -#include <stdlib.h>
72119 -#include <stdarg.h>
72120 -#include <string.h>
72121 -#include <float.h>
72122 + $ac_path_GREP_found && break 3
72123 + done
72124 +done
72125
72126 -int
72127 -main ()
72128 -{
72129 +done
72130 +IFS=$as_save_IFS
72131
72132 - ;
72133 - return 0;
72134 -}
72135 -_ACEOF
72136 -rm -f conftest.$ac_objext
72137 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72138 - (eval $ac_compile) 2>conftest.er1
72139 - ac_status=$?
72140 - grep -v '^ *+' conftest.er1 >conftest.err
72141 - rm -f conftest.er1
72142 - cat conftest.err >&5
72143 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
72144 - (exit $ac_status); } &&
72145 - { ac_try='test -z "$ac_c_werror_flag"
72146 - || test ! -s conftest.err'
72147 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72148 - (eval $ac_try) 2>&5
72149 - ac_status=$?
72150 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
72151 - (exit $ac_status); }; } &&
72152 - { ac_try='test -s conftest.$ac_objext'
72153 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72154 - (eval $ac_try) 2>&5
72155 - ac_status=$?
72156 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
72157 - (exit $ac_status); }; }; then
72158 - ac_cv_header_stdc=yes
72159 -else
72160 - echo "$as_me: failed program was:" >&5
72161 -sed 's/^/| /' conftest.$ac_ext >&5
72162
72163 -ac_cv_header_stdc=no
72164 fi
72165 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72166
72167 -if test $ac_cv_header_stdc = yes; then
72168 - # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
72169 - cat >conftest.$ac_ext <<_ACEOF
72170 +GREP="$ac_cv_path_GREP"
72171 +if test -z "$GREP"; then
72172 + { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
72173 +echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
72174 + { (exit 1); exit 1; }; }
72175 +fi
72176 +
72177 +else
72178 + ac_cv_path_GREP=$GREP
72179 +fi
72180 +
72181 +
72182 +fi
72183 +{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
72184 +echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
72185 + GREP="$ac_cv_path_GREP"
72186 +
72187 +
72188 +{ echo "$as_me:$LINENO: checking for egrep" >&5
72189 +echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
72190 +if test "${ac_cv_path_EGREP+set}" = set; then
72191 + echo $ECHO_N "(cached) $ECHO_C" >&6
72192 +else
72193 + if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
72194 + then ac_cv_path_EGREP="$GREP -E"
72195 + else
72196 + # Extract the first word of "egrep" to use in msg output
72197 +if test -z "$EGREP"; then
72198 +set dummy egrep; ac_prog_name=$2
72199 +if test "${ac_cv_path_EGREP+set}" = set; then
72200 + echo $ECHO_N "(cached) $ECHO_C" >&6
72201 +else
72202 + ac_path_EGREP_found=false
72203 +# Loop through the user's path and test for each of PROGNAME-LIST
72204 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
72205 +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
72206 +do
72207 + IFS=$as_save_IFS
72208 + test -z "$as_dir" && as_dir=.
72209 + for ac_prog in egrep; do
72210 + for ac_exec_ext in '' $ac_executable_extensions; do
72211 + ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
72212 + { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
72213 + # Check for GNU ac_path_EGREP and select it if it is found.
72214 + # Check for GNU $ac_path_EGREP
72215 +case `"$ac_path_EGREP" --version 2>&1` in
72216 +*GNU*)
72217 + ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
72218 +*)
72219 + ac_count=0
72220 + echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
72221 + while :
72222 + do
72223 + cat "conftest.in" "conftest.in" >"conftest.tmp"
72224 + mv "conftest.tmp" "conftest.in"
72225 + cp "conftest.in" "conftest.nl"
72226 + echo 'EGREP' >> "conftest.nl"
72227 + "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
72228 + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
72229 + ac_count=`expr $ac_count + 1`
72230 + if test $ac_count -gt ${ac_path_EGREP_max-0}; then
72231 + # Best one so far, save it but keep looking for a better one
72232 + ac_cv_path_EGREP="$ac_path_EGREP"
72233 + ac_path_EGREP_max=$ac_count
72234 + fi
72235 + # 10*(2^10) chars as input seems more than enough
72236 + test $ac_count -gt 10 && break
72237 + done
72238 + rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
72239 +esac
72240 +
72241 +
72242 + $ac_path_EGREP_found && break 3
72243 + done
72244 +done
72245 +
72246 +done
72247 +IFS=$as_save_IFS
72248 +
72249 +
72250 +fi
72251 +
72252 +EGREP="$ac_cv_path_EGREP"
72253 +if test -z "$EGREP"; then
72254 + { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
72255 +echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
72256 + { (exit 1); exit 1; }; }
72257 +fi
72258 +
72259 +else
72260 + ac_cv_path_EGREP=$EGREP
72261 +fi
72262 +
72263 +
72264 + fi
72265 +fi
72266 +{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
72267 +echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
72268 + EGREP="$ac_cv_path_EGREP"
72269 +
72270 +
72271 +{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
72272 +echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
72273 +if test "${ac_cv_header_stdc+set}" = set; then
72274 + echo $ECHO_N "(cached) $ECHO_C" >&6
72275 +else
72276 + cat >conftest.$ac_ext <<_ACEOF
72277 +/* confdefs.h. */
72278 +_ACEOF
72279 +cat confdefs.h >>conftest.$ac_ext
72280 +cat >>conftest.$ac_ext <<_ACEOF
72281 +/* end confdefs.h. */
72282 +#include <stdlib.h>
72283 +#include <stdarg.h>
72284 +#include <string.h>
72285 +#include <float.h>
72286 +
72287 +int
72288 +main ()
72289 +{
72290 +
72291 + ;
72292 + return 0;
72293 +}
72294 +_ACEOF
72295 +rm -f conftest.$ac_objext
72296 +if { (ac_try="$ac_compile"
72297 +case "(($ac_try" in
72298 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
72299 + *) ac_try_echo=$ac_try;;
72300 +esac
72301 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
72302 + (eval "$ac_compile") 2>conftest.er1
72303 + ac_status=$?
72304 + grep -v '^ *+' conftest.er1 >conftest.err
72305 + rm -f conftest.er1
72306 + cat conftest.err >&5
72307 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
72308 + (exit $ac_status); } && {
72309 + test -z "$ac_c_werror_flag" ||
72310 + test ! -s conftest.err
72311 + } && test -s conftest.$ac_objext; then
72312 + ac_cv_header_stdc=yes
72313 +else
72314 + echo "$as_me: failed program was:" >&5
72315 +sed 's/^/| /' conftest.$ac_ext >&5
72316 +
72317 + ac_cv_header_stdc=no
72318 +fi
72319 +
72320 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72321 +
72322 +if test $ac_cv_header_stdc = yes; then
72323 + # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
72324 + cat >conftest.$ac_ext <<_ACEOF
72325 /* confdefs.h. */
72326 _ACEOF
72327 cat confdefs.h >>conftest.$ac_ext
72328 @@ -5546,6 +6194,7 @@ cat confdefs.h >>conftest.$ac_ext
72329 cat >>conftest.$ac_ext <<_ACEOF
72330 /* end confdefs.h. */
72331 #include <ctype.h>
72332 +#include <stdlib.h>
72333 #if ((' ' & 0x0FF) == 0x020)
72334 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
72335 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
72336 @@ -5565,18 +6214,27 @@ main ()
72337 for (i = 0; i < 256; i++)
72338 if (XOR (islower (i), ISLOWER (i))
72339 || toupper (i) != TOUPPER (i))
72340 - exit(2);
72341 - exit (0);
72342 + return 2;
72343 + return 0;
72344 }
72345 _ACEOF
72346 rm -f conftest$ac_exeext
72347 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72348 - (eval $ac_link) 2>&5
72349 +if { (ac_try="$ac_link"
72350 +case "(($ac_try" in
72351 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
72352 + *) ac_try_echo=$ac_try;;
72353 +esac
72354 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
72355 + (eval "$ac_link") 2>&5
72356 ac_status=$?
72357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72358 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
72359 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72360 - (eval $ac_try) 2>&5
72361 + { (case "(($ac_try" in
72362 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
72363 + *) ac_try_echo=$ac_try;;
72364 +esac
72365 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
72366 + (eval "$ac_try") 2>&5
72367 ac_status=$?
72368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72369 (exit $ac_status); }; }; then
72370 @@ -5589,12 +6247,14 @@ sed 's/^/| /' conftest.$ac_ext >&5
72371 ( exit $ac_status )
72372 ac_cv_header_stdc=no
72373 fi
72374 -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
72375 +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
72376 fi
72377 +
72378 +
72379 fi
72380 fi
72381 -echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
72382 -echo "${ECHO_T}$ac_cv_header_stdc" >&6
72383 +{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
72384 +echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
72385 if test $ac_cv_header_stdc = yes; then
72386
72387 cat >>confdefs.h <<\_ACEOF
72388 @@ -5603,8 +6263,8 @@ _ACEOF
72389
72390 fi
72391
72392 -echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
72393 -echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
72394 +{ echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
72395 +echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
72396 if test "${ac_cv_c_const+set}" = set; then
72397 echo $ECHO_N "(cached) $ECHO_C" >&6
72398 else
72399 @@ -5622,10 +6282,10 @@ main ()
72400 #ifndef __cplusplus
72401 /* Ultrix mips cc rejects this. */
72402 typedef int charset[2];
72403 - const charset x;
72404 + const charset cs;
72405 /* SunOS 4.1.1 cc rejects this. */
72406 - char const *const *ccp;
72407 - char **p;
72408 + char const *const *pcpcc;
72409 + char **ppc;
72410 /* NEC SVR4.0.2 mips cc rejects this. */
72411 struct point {int x, y;};
72412 static struct point const zero = {0,0};
72413 @@ -5634,16 +6294,17 @@ main ()
72414 an arm of an if-expression whose if-part is not a constant
72415 expression */
72416 const char *g = "string";
72417 - ccp = &g + (g ? g-g : 0);
72418 + pcpcc = &g + (g ? g-g : 0);
72419 /* HPUX 7.0 cc rejects these. */
72420 - ++ccp;
72421 - p = (char**) ccp;
72422 - ccp = (char const *const *) p;
72423 + ++pcpcc;
72424 + ppc = (char**) pcpcc;
72425 + pcpcc = (char const *const *) ppc;
72426 { /* SCO 3.2v4 cc rejects this. */
72427 char *t;
72428 char const *s = 0 ? (char *) 0 : (char const *) 0;
72429
72430 *t++ = 0;
72431 + if (s) return 0;
72432 }
72433 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
72434 int x[] = {25, 17};
72435 @@ -5662,7 +6323,9 @@ main ()
72436 }
72437 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
72438 const int foo = 10;
72439 + if (!foo) return 0;
72440 }
72441 + return !cs[0] && !zero.x;
72442 #endif
72443
72444 ;
72445 @@ -5670,38 +6333,34 @@ main ()
72446 }
72447 _ACEOF
72448 rm -f conftest.$ac_objext
72449 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72450 - (eval $ac_compile) 2>conftest.er1
72451 +if { (ac_try="$ac_compile"
72452 +case "(($ac_try" in
72453 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
72454 + *) ac_try_echo=$ac_try;;
72455 +esac
72456 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
72457 + (eval "$ac_compile") 2>conftest.er1
72458 ac_status=$?
72459 grep -v '^ *+' conftest.er1 >conftest.err
72460 rm -f conftest.er1
72461 cat conftest.err >&5
72462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72463 - (exit $ac_status); } &&
72464 - { ac_try='test -z "$ac_c_werror_flag"
72465 - || test ! -s conftest.err'
72466 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72467 - (eval $ac_try) 2>&5
72468 - ac_status=$?
72469 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
72470 - (exit $ac_status); }; } &&
72471 - { ac_try='test -s conftest.$ac_objext'
72472 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72473 - (eval $ac_try) 2>&5
72474 - ac_status=$?
72475 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
72476 - (exit $ac_status); }; }; then
72477 + (exit $ac_status); } && {
72478 + test -z "$ac_c_werror_flag" ||
72479 + test ! -s conftest.err
72480 + } && test -s conftest.$ac_objext; then
72481 ac_cv_c_const=yes
72482 else
72483 echo "$as_me: failed program was:" >&5
72484 sed 's/^/| /' conftest.$ac_ext >&5
72485
72486 -ac_cv_c_const=no
72487 + ac_cv_c_const=no
72488 fi
72489 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72490 +
72491 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72492 fi
72493 -echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
72494 -echo "${ECHO_T}$ac_cv_c_const" >&6
72495 +{ echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
72496 +echo "${ECHO_T}$ac_cv_c_const" >&6; }
72497 if test $ac_cv_c_const = no; then
72498
72499 cat >>confdefs.h <<\_ACEOF
72500 @@ -5710,8 +6369,8 @@ _ACEOF
72501
72502 fi
72503
72504 -echo "$as_me:$LINENO: checking for inline" >&5
72505 -echo $ECHO_N "checking for inline... $ECHO_C" >&6
72506 +{ echo "$as_me:$LINENO: checking for inline" >&5
72507 +echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
72508 if test "${ac_cv_c_inline+set}" = set; then
72509 echo $ECHO_N "(cached) $ECHO_C" >&6
72510 else
72511 @@ -5731,39 +6390,37 @@ $ac_kw foo_t foo () {return 0; }
72512
72513 _ACEOF
72514 rm -f conftest.$ac_objext
72515 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72516 - (eval $ac_compile) 2>conftest.er1
72517 +if { (ac_try="$ac_compile"
72518 +case "(($ac_try" in
72519 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
72520 + *) ac_try_echo=$ac_try;;
72521 +esac
72522 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
72523 + (eval "$ac_compile") 2>conftest.er1
72524 ac_status=$?
72525 grep -v '^ *+' conftest.er1 >conftest.err
72526 rm -f conftest.er1
72527 cat conftest.err >&5
72528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72529 - (exit $ac_status); } &&
72530 - { ac_try='test -z "$ac_c_werror_flag"
72531 - || test ! -s conftest.err'
72532 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72533 - (eval $ac_try) 2>&5
72534 - ac_status=$?
72535 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
72536 - (exit $ac_status); }; } &&
72537 - { ac_try='test -s conftest.$ac_objext'
72538 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72539 - (eval $ac_try) 2>&5
72540 - ac_status=$?
72541 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
72542 - (exit $ac_status); }; }; then
72543 - ac_cv_c_inline=$ac_kw; break
72544 + (exit $ac_status); } && {
72545 + test -z "$ac_c_werror_flag" ||
72546 + test ! -s conftest.err
72547 + } && test -s conftest.$ac_objext; then
72548 + ac_cv_c_inline=$ac_kw
72549 else
72550 echo "$as_me: failed program was:" >&5
72551 sed 's/^/| /' conftest.$ac_ext >&5
72552
72553 +
72554 fi
72555 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72556 +
72557 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72558 + test "$ac_cv_c_inline" != no && break
72559 done
72560
72561 fi
72562 -echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
72563 -echo "${ECHO_T}$ac_cv_c_inline" >&6
72564 +{ echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
72565 +echo "${ECHO_T}$ac_cv_c_inline" >&6; }
72566
72567
72568 case $ac_cv_c_inline in
72569 @@ -5795,9 +6452,9 @@ for ac_header in sys/types.h sys/stat.h
72570 inttypes.h stdint.h unistd.h
72571 do
72572 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
72573 -echo "$as_me:$LINENO: checking for $ac_header" >&5
72574 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
72575 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
72576 +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
72577 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
72578 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
72579 echo $ECHO_N "(cached) $ECHO_C" >&6
72580 else
72581 cat >conftest.$ac_ext <<_ACEOF
72582 @@ -5811,38 +6468,35 @@ $ac_includes_default
72583 #include <$ac_header>
72584 _ACEOF
72585 rm -f conftest.$ac_objext
72586 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72587 - (eval $ac_compile) 2>conftest.er1
72588 +if { (ac_try="$ac_compile"
72589 +case "(($ac_try" in
72590 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
72591 + *) ac_try_echo=$ac_try;;
72592 +esac
72593 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
72594 + (eval "$ac_compile") 2>conftest.er1
72595 ac_status=$?
72596 grep -v '^ *+' conftest.er1 >conftest.err
72597 rm -f conftest.er1
72598 cat conftest.err >&5
72599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72600 - (exit $ac_status); } &&
72601 - { ac_try='test -z "$ac_c_werror_flag"
72602 - || test ! -s conftest.err'
72603 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72604 - (eval $ac_try) 2>&5
72605 - ac_status=$?
72606 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
72607 - (exit $ac_status); }; } &&
72608 - { ac_try='test -s conftest.$ac_objext'
72609 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72610 - (eval $ac_try) 2>&5
72611 - ac_status=$?
72612 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
72613 - (exit $ac_status); }; }; then
72614 + (exit $ac_status); } && {
72615 + test -z "$ac_c_werror_flag" ||
72616 + test ! -s conftest.err
72617 + } && test -s conftest.$ac_objext; then
72618 eval "$as_ac_Header=yes"
72619 else
72620 echo "$as_me: failed program was:" >&5
72621 sed 's/^/| /' conftest.$ac_ext >&5
72622
72623 -eval "$as_ac_Header=no"
72624 + eval "$as_ac_Header=no"
72625 fi
72626 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72627 +
72628 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72629 fi
72630 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
72631 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
72632 +ac_res=`eval echo '${'$as_ac_Header'}'`
72633 + { echo "$as_me:$LINENO: result: $ac_res" >&5
72634 +echo "${ECHO_T}$ac_res" >&6; }
72635 if test `eval echo '${'$as_ac_Header'}'` = yes; then
72636 cat >>confdefs.h <<_ACEOF
72637 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
72638 @@ -5853,8 +6507,8 @@ fi
72639 done
72640
72641
72642 -echo "$as_me:$LINENO: checking for off_t" >&5
72643 -echo $ECHO_N "checking for off_t... $ECHO_C" >&6
72644 +{ echo "$as_me:$LINENO: checking for off_t" >&5
72645 +echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
72646 if test "${ac_cv_type_off_t+set}" = set; then
72647 echo $ECHO_N "(cached) $ECHO_C" >&6
72648 else
72649 @@ -5865,62 +6519,59 @@ cat confdefs.h >>conftest.$ac_ext
72650 cat >>conftest.$ac_ext <<_ACEOF
72651 /* end confdefs.h. */
72652 $ac_includes_default
72653 +typedef off_t ac__type_new_;
72654 int
72655 main ()
72656 {
72657 -if ((off_t *) 0)
72658 +if ((ac__type_new_ *) 0)
72659 return 0;
72660 -if (sizeof (off_t))
72661 +if (sizeof (ac__type_new_))
72662 return 0;
72663 ;
72664 return 0;
72665 }
72666 _ACEOF
72667 rm -f conftest.$ac_objext
72668 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72669 - (eval $ac_compile) 2>conftest.er1
72670 +if { (ac_try="$ac_compile"
72671 +case "(($ac_try" in
72672 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
72673 + *) ac_try_echo=$ac_try;;
72674 +esac
72675 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
72676 + (eval "$ac_compile") 2>conftest.er1
72677 ac_status=$?
72678 grep -v '^ *+' conftest.er1 >conftest.err
72679 rm -f conftest.er1
72680 cat conftest.err >&5
72681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72682 - (exit $ac_status); } &&
72683 - { ac_try='test -z "$ac_c_werror_flag"
72684 - || test ! -s conftest.err'
72685 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72686 - (eval $ac_try) 2>&5
72687 - ac_status=$?
72688 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
72689 - (exit $ac_status); }; } &&
72690 - { ac_try='test -s conftest.$ac_objext'
72691 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72692 - (eval $ac_try) 2>&5
72693 - ac_status=$?
72694 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
72695 - (exit $ac_status); }; }; then
72696 + (exit $ac_status); } && {
72697 + test -z "$ac_c_werror_flag" ||
72698 + test ! -s conftest.err
72699 + } && test -s conftest.$ac_objext; then
72700 ac_cv_type_off_t=yes
72701 else
72702 echo "$as_me: failed program was:" >&5
72703 sed 's/^/| /' conftest.$ac_ext >&5
72704
72705 -ac_cv_type_off_t=no
72706 + ac_cv_type_off_t=no
72707 fi
72708 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72709 +
72710 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72711 fi
72712 -echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
72713 -echo "${ECHO_T}$ac_cv_type_off_t" >&6
72714 +{ echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
72715 +echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
72716 if test $ac_cv_type_off_t = yes; then
72717 :
72718 else
72719
72720 cat >>confdefs.h <<_ACEOF
72721 -#define off_t long
72722 +#define off_t long int
72723 _ACEOF
72724
72725 fi
72726
72727 -echo "$as_me:$LINENO: checking for size_t" >&5
72728 -echo $ECHO_N "checking for size_t... $ECHO_C" >&6
72729 +{ echo "$as_me:$LINENO: checking for size_t" >&5
72730 +echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
72731 if test "${ac_cv_type_size_t+set}" = set; then
72732 echo $ECHO_N "(cached) $ECHO_C" >&6
72733 else
72734 @@ -5931,64 +6582,61 @@ cat confdefs.h >>conftest.$ac_ext
72735 cat >>conftest.$ac_ext <<_ACEOF
72736 /* end confdefs.h. */
72737 $ac_includes_default
72738 +typedef size_t ac__type_new_;
72739 int
72740 main ()
72741 {
72742 -if ((size_t *) 0)
72743 +if ((ac__type_new_ *) 0)
72744 return 0;
72745 -if (sizeof (size_t))
72746 +if (sizeof (ac__type_new_))
72747 return 0;
72748 ;
72749 return 0;
72750 }
72751 _ACEOF
72752 rm -f conftest.$ac_objext
72753 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72754 - (eval $ac_compile) 2>conftest.er1
72755 +if { (ac_try="$ac_compile"
72756 +case "(($ac_try" in
72757 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
72758 + *) ac_try_echo=$ac_try;;
72759 +esac
72760 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
72761 + (eval "$ac_compile") 2>conftest.er1
72762 ac_status=$?
72763 grep -v '^ *+' conftest.er1 >conftest.err
72764 rm -f conftest.er1
72765 cat conftest.err >&5
72766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72767 - (exit $ac_status); } &&
72768 - { ac_try='test -z "$ac_c_werror_flag"
72769 - || test ! -s conftest.err'
72770 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72771 - (eval $ac_try) 2>&5
72772 - ac_status=$?
72773 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
72774 - (exit $ac_status); }; } &&
72775 - { ac_try='test -s conftest.$ac_objext'
72776 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72777 - (eval $ac_try) 2>&5
72778 - ac_status=$?
72779 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
72780 - (exit $ac_status); }; }; then
72781 + (exit $ac_status); } && {
72782 + test -z "$ac_c_werror_flag" ||
72783 + test ! -s conftest.err
72784 + } && test -s conftest.$ac_objext; then
72785 ac_cv_type_size_t=yes
72786 else
72787 echo "$as_me: failed program was:" >&5
72788 sed 's/^/| /' conftest.$ac_ext >&5
72789
72790 -ac_cv_type_size_t=no
72791 + ac_cv_type_size_t=no
72792 fi
72793 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72794 +
72795 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72796 fi
72797 -echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
72798 -echo "${ECHO_T}$ac_cv_type_size_t" >&6
72799 +{ echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
72800 +echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
72801 if test $ac_cv_type_size_t = yes; then
72802 :
72803 else
72804
72805 cat >>confdefs.h <<_ACEOF
72806 -#define size_t unsigned
72807 +#define size_t unsigned int
72808 _ACEOF
72809
72810 fi
72811
72812 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
72813 # for constant arguments. Useless!
72814 -echo "$as_me:$LINENO: checking for working alloca.h" >&5
72815 -echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
72816 +{ echo "$as_me:$LINENO: checking for working alloca.h" >&5
72817 +echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6; }
72818 if test "${ac_cv_working_alloca_h+set}" = set; then
72819 echo $ECHO_N "(cached) $ECHO_C" >&6
72820 else
72821 @@ -6003,44 +6651,42 @@ int
72822 main ()
72823 {
72824 char *p = (char *) alloca (2 * sizeof (int));
72825 + if (p) return 0;
72826 ;
72827 return 0;
72828 }
72829 _ACEOF
72830 rm -f conftest.$ac_objext conftest$ac_exeext
72831 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72832 - (eval $ac_link) 2>conftest.er1
72833 +if { (ac_try="$ac_link"
72834 +case "(($ac_try" in
72835 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
72836 + *) ac_try_echo=$ac_try;;
72837 +esac
72838 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
72839 + (eval "$ac_link") 2>conftest.er1
72840 ac_status=$?
72841 grep -v '^ *+' conftest.er1 >conftest.err
72842 rm -f conftest.er1
72843 cat conftest.err >&5
72844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72845 - (exit $ac_status); } &&
72846 - { ac_try='test -z "$ac_c_werror_flag"
72847 - || test ! -s conftest.err'
72848 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72849 - (eval $ac_try) 2>&5
72850 - ac_status=$?
72851 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
72852 - (exit $ac_status); }; } &&
72853 - { ac_try='test -s conftest$ac_exeext'
72854 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72855 - (eval $ac_try) 2>&5
72856 - ac_status=$?
72857 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
72858 - (exit $ac_status); }; }; then
72859 + (exit $ac_status); } && {
72860 + test -z "$ac_c_werror_flag" ||
72861 + test ! -s conftest.err
72862 + } && test -s conftest$ac_exeext &&
72863 + $as_test_x conftest$ac_exeext; then
72864 ac_cv_working_alloca_h=yes
72865 else
72866 echo "$as_me: failed program was:" >&5
72867 sed 's/^/| /' conftest.$ac_ext >&5
72868
72869 -ac_cv_working_alloca_h=no
72870 + ac_cv_working_alloca_h=no
72871 fi
72872 -rm -f conftest.err conftest.$ac_objext \
72873 +
72874 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
72875 conftest$ac_exeext conftest.$ac_ext
72876 fi
72877 -echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
72878 -echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
72879 +{ echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
72880 +echo "${ECHO_T}$ac_cv_working_alloca_h" >&6; }
72881 if test $ac_cv_working_alloca_h = yes; then
72882
72883 cat >>confdefs.h <<\_ACEOF
72884 @@ -6049,8 +6695,8 @@ _ACEOF
72885
72886 fi
72887
72888 -echo "$as_me:$LINENO: checking for alloca" >&5
72889 -echo $ECHO_N "checking for alloca... $ECHO_C" >&6
72890 +{ echo "$as_me:$LINENO: checking for alloca" >&5
72891 +echo $ECHO_N "checking for alloca... $ECHO_C" >&6; }
72892 if test "${ac_cv_func_alloca_works+set}" = set; then
72893 echo $ECHO_N "(cached) $ECHO_C" >&6
72894 else
72895 @@ -6067,7 +6713,7 @@ cat >>conftest.$ac_ext <<_ACEOF
72896 # include <malloc.h>
72897 # define alloca _alloca
72898 # else
72899 -# if HAVE_ALLOCA_H
72900 +# ifdef HAVE_ALLOCA_H
72901 # include <alloca.h>
72902 # else
72903 # ifdef _AIX
72904 @@ -6085,44 +6731,42 @@ int
72905 main ()
72906 {
72907 char *p = (char *) alloca (1);
72908 + if (p) return 0;
72909 ;
72910 return 0;
72911 }
72912 _ACEOF
72913 rm -f conftest.$ac_objext conftest$ac_exeext
72914 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72915 - (eval $ac_link) 2>conftest.er1
72916 +if { (ac_try="$ac_link"
72917 +case "(($ac_try" in
72918 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
72919 + *) ac_try_echo=$ac_try;;
72920 +esac
72921 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
72922 + (eval "$ac_link") 2>conftest.er1
72923 ac_status=$?
72924 grep -v '^ *+' conftest.er1 >conftest.err
72925 rm -f conftest.er1
72926 cat conftest.err >&5
72927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72928 - (exit $ac_status); } &&
72929 - { ac_try='test -z "$ac_c_werror_flag"
72930 - || test ! -s conftest.err'
72931 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72932 - (eval $ac_try) 2>&5
72933 - ac_status=$?
72934 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
72935 - (exit $ac_status); }; } &&
72936 - { ac_try='test -s conftest$ac_exeext'
72937 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72938 - (eval $ac_try) 2>&5
72939 - ac_status=$?
72940 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
72941 - (exit $ac_status); }; }; then
72942 + (exit $ac_status); } && {
72943 + test -z "$ac_c_werror_flag" ||
72944 + test ! -s conftest.err
72945 + } && test -s conftest$ac_exeext &&
72946 + $as_test_x conftest$ac_exeext; then
72947 ac_cv_func_alloca_works=yes
72948 else
72949 echo "$as_me: failed program was:" >&5
72950 sed 's/^/| /' conftest.$ac_ext >&5
72951
72952 -ac_cv_func_alloca_works=no
72953 + ac_cv_func_alloca_works=no
72954 fi
72955 -rm -f conftest.err conftest.$ac_objext \
72956 +
72957 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
72958 conftest$ac_exeext conftest.$ac_ext
72959 fi
72960 -echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
72961 -echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
72962 +{ echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
72963 +echo "${ECHO_T}$ac_cv_func_alloca_works" >&6; }
72964
72965 if test $ac_cv_func_alloca_works = yes; then
72966
72967 @@ -6136,15 +6780,15 @@ else
72968 # contain a buggy version. If you still want to use their alloca,
72969 # use ar to extract alloca.o from them instead of compiling alloca.c.
72970
72971 -ALLOCA=alloca.$ac_objext
72972 +ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
72973
72974 cat >>confdefs.h <<\_ACEOF
72975 #define C_ALLOCA 1
72976 _ACEOF
72977
72978
72979 -echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
72980 -echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
72981 +{ echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
72982 +echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6; }
72983 if test "${ac_cv_os_cray+set}" = set; then
72984 echo $ECHO_N "(cached) $ECHO_C" >&6
72985 else
72986 @@ -6154,7 +6798,7 @@ _ACEOF
72987 cat confdefs.h >>conftest.$ac_ext
72988 cat >>conftest.$ac_ext <<_ACEOF
72989 /* end confdefs.h. */
72990 -#if defined(CRAY) && ! defined(CRAY2)
72991 +#if defined CRAY && ! defined CRAY2
72992 webecray
72993 #else
72994 wenotbecray
72995 @@ -6170,14 +6814,14 @@ fi
72996 rm -f conftest*
72997
72998 fi
72999 -echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
73000 -echo "${ECHO_T}$ac_cv_os_cray" >&6
73001 +{ echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
73002 +echo "${ECHO_T}$ac_cv_os_cray" >&6; }
73003 if test $ac_cv_os_cray = yes; then
73004 for ac_func in _getb67 GETB67 getb67; do
73005 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73006 -echo "$as_me:$LINENO: checking for $ac_func" >&5
73007 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73008 -if eval "test \"\${$as_ac_var+set}\" = set"; then
73009 +{ echo "$as_me:$LINENO: checking for $ac_func" >&5
73010 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
73011 +if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
73012 echo $ECHO_N "(cached) $ECHO_C" >&6
73013 else
73014 cat >conftest.$ac_ext <<_ACEOF
73015 @@ -6203,68 +6847,60 @@ cat >>conftest.$ac_ext <<_ACEOF
73016
73017 #undef $ac_func
73018
73019 -/* Override any gcc2 internal prototype to avoid an error. */
73020 +/* Override any GCC internal prototype to avoid an error.
73021 + Use char because int might match the return type of a GCC
73022 + builtin and then its argument prototype would still apply. */
73023 #ifdef __cplusplus
73024 extern "C"
73025 -{
73026 #endif
73027 -/* We use char because int might match the return type of a gcc2
73028 - builtin and then its argument prototype would still apply. */
73029 char $ac_func ();
73030 /* The GNU C library defines this for functions which it implements
73031 to always fail with ENOSYS. Some functions are actually named
73032 something starting with __ and the normal name is an alias. */
73033 -#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73034 +#if defined __stub_$ac_func || defined __stub___$ac_func
73035 choke me
73036 -#else
73037 -char (*f) () = $ac_func;
73038 -#endif
73039 -#ifdef __cplusplus
73040 -}
73041 #endif
73042
73043 int
73044 main ()
73045 {
73046 -return f != $ac_func;
73047 +return $ac_func ();
73048 ;
73049 return 0;
73050 }
73051 _ACEOF
73052 rm -f conftest.$ac_objext conftest$ac_exeext
73053 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73054 - (eval $ac_link) 2>conftest.er1
73055 +if { (ac_try="$ac_link"
73056 +case "(($ac_try" in
73057 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
73058 + *) ac_try_echo=$ac_try;;
73059 +esac
73060 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
73061 + (eval "$ac_link") 2>conftest.er1
73062 ac_status=$?
73063 grep -v '^ *+' conftest.er1 >conftest.err
73064 rm -f conftest.er1
73065 cat conftest.err >&5
73066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73067 - (exit $ac_status); } &&
73068 - { ac_try='test -z "$ac_c_werror_flag"
73069 - || test ! -s conftest.err'
73070 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73071 - (eval $ac_try) 2>&5
73072 - ac_status=$?
73073 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
73074 - (exit $ac_status); }; } &&
73075 - { ac_try='test -s conftest$ac_exeext'
73076 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73077 - (eval $ac_try) 2>&5
73078 - ac_status=$?
73079 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
73080 - (exit $ac_status); }; }; then
73081 + (exit $ac_status); } && {
73082 + test -z "$ac_c_werror_flag" ||
73083 + test ! -s conftest.err
73084 + } && test -s conftest$ac_exeext &&
73085 + $as_test_x conftest$ac_exeext; then
73086 eval "$as_ac_var=yes"
73087 else
73088 echo "$as_me: failed program was:" >&5
73089 sed 's/^/| /' conftest.$ac_ext >&5
73090
73091 -eval "$as_ac_var=no"
73092 + eval "$as_ac_var=no"
73093 fi
73094 -rm -f conftest.err conftest.$ac_objext \
73095 +
73096 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
73097 conftest$ac_exeext conftest.$ac_ext
73098 fi
73099 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73100 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73101 +ac_res=`eval echo '${'$as_ac_var'}'`
73102 + { echo "$as_me:$LINENO: result: $ac_res" >&5
73103 +echo "${ECHO_T}$ac_res" >&6; }
73104 if test `eval echo '${'$as_ac_var'}'` = yes; then
73105
73106 cat >>confdefs.h <<_ACEOF
73107 @@ -6277,8 +6913,8 @@ fi
73108 done
73109 fi
73110
73111 -echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
73112 -echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
73113 +{ echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
73114 +echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6; }
73115 if test "${ac_cv_c_stack_direction+set}" = set; then
73116 echo $ECHO_N "(cached) $ECHO_C" >&6
73117 else
73118 @@ -6291,6 +6927,7 @@ _ACEOF
73119 cat confdefs.h >>conftest.$ac_ext
73120 cat >>conftest.$ac_ext <<_ACEOF
73121 /* end confdefs.h. */
73122 +$ac_includes_default
73123 int
73124 find_stack_direction ()
73125 {
73126 @@ -6308,17 +6945,26 @@ find_stack_direction ()
73127 int
73128 main ()
73129 {
73130 - exit (find_stack_direction () < 0);
73131 + return find_stack_direction () < 0;
73132 }
73133 _ACEOF
73134 rm -f conftest$ac_exeext
73135 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73136 - (eval $ac_link) 2>&5
73137 +if { (ac_try="$ac_link"
73138 +case "(($ac_try" in
73139 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
73140 + *) ac_try_echo=$ac_try;;
73141 +esac
73142 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
73143 + (eval "$ac_link") 2>&5
73144 ac_status=$?
73145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73146 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
73147 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73148 - (eval $ac_try) 2>&5
73149 + { (case "(($ac_try" in
73150 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
73151 + *) ac_try_echo=$ac_try;;
73152 +esac
73153 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
73154 + (eval "$ac_try") 2>&5
73155 ac_status=$?
73156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73157 (exit $ac_status); }; }; then
73158 @@ -6331,11 +6977,13 @@ sed 's/^/| /' conftest.$ac_ext >&5
73159 ( exit $ac_status )
73160 ac_cv_c_stack_direction=-1
73161 fi
73162 -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
73163 +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
73164 fi
73165 +
73166 +
73167 fi
73168 -echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
73169 -echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
73170 +{ echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
73171 +echo "${ECHO_T}$ac_cv_c_stack_direction" >&6; }
73172
73173 cat >>confdefs.h <<_ACEOF
73174 #define STACK_DIRECTION $ac_cv_c_stack_direction
73175 @@ -6349,18 +6997,19 @@ fi
73176 for ac_header in stdlib.h unistd.h
73177 do
73178 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
73179 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
73180 - echo "$as_me:$LINENO: checking for $ac_header" >&5
73181 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
73182 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
73183 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
73184 + { echo "$as_me:$LINENO: checking for $ac_header" >&5
73185 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
73186 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
73187 echo $ECHO_N "(cached) $ECHO_C" >&6
73188 fi
73189 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
73190 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
73191 +ac_res=`eval echo '${'$as_ac_Header'}'`
73192 + { echo "$as_me:$LINENO: result: $ac_res" >&5
73193 +echo "${ECHO_T}$ac_res" >&6; }
73194 else
73195 # Is the header compilable?
73196 -echo "$as_me:$LINENO: checking $ac_header usability" >&5
73197 -echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
73198 +{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
73199 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
73200 cat >conftest.$ac_ext <<_ACEOF
73201 /* confdefs.h. */
73202 _ACEOF
73203 @@ -6371,41 +7020,37 @@ $ac_includes_default
73204 #include <$ac_header>
73205 _ACEOF
73206 rm -f conftest.$ac_objext
73207 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73208 - (eval $ac_compile) 2>conftest.er1
73209 +if { (ac_try="$ac_compile"
73210 +case "(($ac_try" in
73211 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
73212 + *) ac_try_echo=$ac_try;;
73213 +esac
73214 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
73215 + (eval "$ac_compile") 2>conftest.er1
73216 ac_status=$?
73217 grep -v '^ *+' conftest.er1 >conftest.err
73218 rm -f conftest.er1
73219 cat conftest.err >&5
73220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73221 - (exit $ac_status); } &&
73222 - { ac_try='test -z "$ac_c_werror_flag"
73223 - || test ! -s conftest.err'
73224 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73225 - (eval $ac_try) 2>&5
73226 - ac_status=$?
73227 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
73228 - (exit $ac_status); }; } &&
73229 - { ac_try='test -s conftest.$ac_objext'
73230 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73231 - (eval $ac_try) 2>&5
73232 - ac_status=$?
73233 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
73234 - (exit $ac_status); }; }; then
73235 + (exit $ac_status); } && {
73236 + test -z "$ac_c_werror_flag" ||
73237 + test ! -s conftest.err
73238 + } && test -s conftest.$ac_objext; then
73239 ac_header_compiler=yes
73240 else
73241 echo "$as_me: failed program was:" >&5
73242 sed 's/^/| /' conftest.$ac_ext >&5
73243
73244 -ac_header_compiler=no
73245 + ac_header_compiler=no
73246 fi
73247 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73248 -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
73249 -echo "${ECHO_T}$ac_header_compiler" >&6
73250 +
73251 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73252 +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
73253 +echo "${ECHO_T}$ac_header_compiler" >&6; }
73254
73255 # Is the header present?
73256 -echo "$as_me:$LINENO: checking $ac_header presence" >&5
73257 -echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
73258 +{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
73259 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
73260 cat >conftest.$ac_ext <<_ACEOF
73261 /* confdefs.h. */
73262 _ACEOF
73263 @@ -6414,24 +7059,22 @@ cat >>conftest.$ac_ext <<_ACEOF
73264 /* end confdefs.h. */
73265 #include <$ac_header>
73266 _ACEOF
73267 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
73268 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
73269 +if { (ac_try="$ac_cpp conftest.$ac_ext"
73270 +case "(($ac_try" in
73271 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
73272 + *) ac_try_echo=$ac_try;;
73273 +esac
73274 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
73275 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
73276 ac_status=$?
73277 grep -v '^ *+' conftest.er1 >conftest.err
73278 rm -f conftest.er1
73279 cat conftest.err >&5
73280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73281 - (exit $ac_status); } >/dev/null; then
73282 - if test -s conftest.err; then
73283 - ac_cpp_err=$ac_c_preproc_warn_flag
73284 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
73285 - else
73286 - ac_cpp_err=
73287 - fi
73288 -else
73289 - ac_cpp_err=yes
73290 -fi
73291 -if test -z "$ac_cpp_err"; then
73292 + (exit $ac_status); } >/dev/null && {
73293 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
73294 + test ! -s conftest.err
73295 + }; then
73296 ac_header_preproc=yes
73297 else
73298 echo "$as_me: failed program was:" >&5
73299 @@ -6439,9 +7082,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
73300
73301 ac_header_preproc=no
73302 fi
73303 +
73304 rm -f conftest.err conftest.$ac_ext
73305 -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
73306 -echo "${ECHO_T}$ac_header_preproc" >&6
73307 +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
73308 +echo "${ECHO_T}$ac_header_preproc" >&6; }
73309
73310 # So? What about this header?
73311 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
73312 @@ -6465,25 +7109,19 @@ echo "$as_me: WARNING: $ac_header: s
73313 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
73314 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
73315 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
73316 - (
73317 - cat <<\_ASBOX
73318 -## ------------------------------------------ ##
73319 -## Report this to the AC_PACKAGE_NAME lists. ##
73320 -## ------------------------------------------ ##
73321 -_ASBOX
73322 - ) |
73323 - sed "s/^/$as_me: WARNING: /" >&2
73324 +
73325 ;;
73326 esac
73327 -echo "$as_me:$LINENO: checking for $ac_header" >&5
73328 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
73329 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
73330 +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
73331 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
73332 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
73333 echo $ECHO_N "(cached) $ECHO_C" >&6
73334 else
73335 eval "$as_ac_Header=\$ac_header_preproc"
73336 fi
73337 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
73338 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
73339 +ac_res=`eval echo '${'$as_ac_Header'}'`
73340 + { echo "$as_me:$LINENO: result: $ac_res" >&5
73341 +echo "${ECHO_T}$ac_res" >&6; }
73342
73343 fi
73344 if test `eval echo '${'$as_ac_Header'}'` = yes; then
73345 @@ -6499,9 +7137,9 @@ done
73346 for ac_func in getpagesize
73347 do
73348 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73349 -echo "$as_me:$LINENO: checking for $ac_func" >&5
73350 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73351 -if eval "test \"\${$as_ac_var+set}\" = set"; then
73352 +{ echo "$as_me:$LINENO: checking for $ac_func" >&5
73353 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
73354 +if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
73355 echo $ECHO_N "(cached) $ECHO_C" >&6
73356 else
73357 cat >conftest.$ac_ext <<_ACEOF
73358 @@ -6527,68 +7165,60 @@ cat >>conftest.$ac_ext <<_ACEOF
73359
73360 #undef $ac_func
73361
73362 -/* Override any gcc2 internal prototype to avoid an error. */
73363 +/* Override any GCC internal prototype to avoid an error.
73364 + Use char because int might match the return type of a GCC
73365 + builtin and then its argument prototype would still apply. */
73366 #ifdef __cplusplus
73367 extern "C"
73368 -{
73369 #endif
73370 -/* We use char because int might match the return type of a gcc2
73371 - builtin and then its argument prototype would still apply. */
73372 char $ac_func ();
73373 /* The GNU C library defines this for functions which it implements
73374 to always fail with ENOSYS. Some functions are actually named
73375 something starting with __ and the normal name is an alias. */
73376 -#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73377 +#if defined __stub_$ac_func || defined __stub___$ac_func
73378 choke me
73379 -#else
73380 -char (*f) () = $ac_func;
73381 -#endif
73382 -#ifdef __cplusplus
73383 -}
73384 #endif
73385
73386 int
73387 main ()
73388 {
73389 -return f != $ac_func;
73390 +return $ac_func ();
73391 ;
73392 return 0;
73393 }
73394 _ACEOF
73395 rm -f conftest.$ac_objext conftest$ac_exeext
73396 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73397 - (eval $ac_link) 2>conftest.er1
73398 +if { (ac_try="$ac_link"
73399 +case "(($ac_try" in
73400 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
73401 + *) ac_try_echo=$ac_try;;
73402 +esac
73403 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
73404 + (eval "$ac_link") 2>conftest.er1
73405 ac_status=$?
73406 grep -v '^ *+' conftest.er1 >conftest.err
73407 rm -f conftest.er1
73408 cat conftest.err >&5
73409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73410 - (exit $ac_status); } &&
73411 - { ac_try='test -z "$ac_c_werror_flag"
73412 - || test ! -s conftest.err'
73413 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73414 - (eval $ac_try) 2>&5
73415 - ac_status=$?
73416 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
73417 - (exit $ac_status); }; } &&
73418 - { ac_try='test -s conftest$ac_exeext'
73419 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73420 - (eval $ac_try) 2>&5
73421 - ac_status=$?
73422 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
73423 - (exit $ac_status); }; }; then
73424 + (exit $ac_status); } && {
73425 + test -z "$ac_c_werror_flag" ||
73426 + test ! -s conftest.err
73427 + } && test -s conftest$ac_exeext &&
73428 + $as_test_x conftest$ac_exeext; then
73429 eval "$as_ac_var=yes"
73430 else
73431 echo "$as_me: failed program was:" >&5
73432 sed 's/^/| /' conftest.$ac_ext >&5
73433
73434 -eval "$as_ac_var=no"
73435 + eval "$as_ac_var=no"
73436 fi
73437 -rm -f conftest.err conftest.$ac_objext \
73438 +
73439 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
73440 conftest$ac_exeext conftest.$ac_ext
73441 fi
73442 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73443 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73444 +ac_res=`eval echo '${'$as_ac_var'}'`
73445 + { echo "$as_me:$LINENO: result: $ac_res" >&5
73446 +echo "${ECHO_T}$ac_res" >&6; }
73447 if test `eval echo '${'$as_ac_var'}'` = yes; then
73448 cat >>confdefs.h <<_ACEOF
73449 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73450 @@ -6597,8 +7227,8 @@ _ACEOF
73451 fi
73452 done
73453
73454 -echo "$as_me:$LINENO: checking for working mmap" >&5
73455 -echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
73456 +{ echo "$as_me:$LINENO: checking for working mmap" >&5
73457 +echo $ECHO_N "checking for working mmap... $ECHO_C" >&6; }
73458 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
73459 echo $ECHO_N "(cached) $ECHO_C" >&6
73460 else
73461 @@ -6640,21 +7270,21 @@ $ac_includes_default
73462 #include <fcntl.h>
73463 #include <sys/mman.h>
73464
73465 -#if !STDC_HEADERS && !HAVE_STDLIB_H
73466 +#if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
73467 char *malloc ();
73468 #endif
73469
73470 /* This mess was copied from the GNU getpagesize.h. */
73471 -#if !HAVE_GETPAGESIZE
73472 +#ifndef HAVE_GETPAGESIZE
73473 /* Assume that all systems that can run configure have sys/param.h. */
73474 -# if !HAVE_SYS_PARAM_H
73475 +# ifndef HAVE_SYS_PARAM_H
73476 # define HAVE_SYS_PARAM_H 1
73477 # endif
73478
73479 # ifdef _SC_PAGESIZE
73480 # define getpagesize() sysconf(_SC_PAGESIZE)
73481 # else /* no _SC_PAGESIZE */
73482 -# if HAVE_SYS_PARAM_H
73483 +# ifdef HAVE_SYS_PARAM_H
73484 # include <sys/param.h>
73485 # ifdef EXEC_PAGESIZE
73486 # define getpagesize() EXEC_PAGESIZE
73487 @@ -6693,15 +7323,15 @@ main ()
73488 /* First, make a file with some known garbage in it. */
73489 data = (char *) malloc (pagesize);
73490 if (!data)
73491 - exit (1);
73492 + return 1;
73493 for (i = 0; i < pagesize; ++i)
73494 *(data + i) = rand ();
73495 umask (0);
73496 fd = creat ("conftest.mmap", 0600);
73497 if (fd < 0)
73498 - exit (1);
73499 + return 1;
73500 if (write (fd, data, pagesize) != pagesize)
73501 - exit (1);
73502 + return 1;
73503 close (fd);
73504
73505 /* Next, try to mmap the file at a fixed address which already has
73506 @@ -6709,17 +7339,17 @@ main ()
73507 we see the same garbage. */
73508 fd = open ("conftest.mmap", O_RDWR);
73509 if (fd < 0)
73510 - exit (1);
73511 + return 1;
73512 data2 = (char *) malloc (2 * pagesize);
73513 if (!data2)
73514 - exit (1);
73515 - data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
73516 + return 1;
73517 + data2 += (pagesize - ((long int) data2 & (pagesize - 1))) & (pagesize - 1);
73518 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
73519 MAP_PRIVATE | MAP_FIXED, fd, 0L))
73520 - exit (1);
73521 + return 1;
73522 for (i = 0; i < pagesize; ++i)
73523 if (*(data + i) != *(data2 + i))
73524 - exit (1);
73525 + return 1;
73526
73527 /* Finally, make sure that changes to the mapped area do not
73528 percolate back to the file as seen by read(). (This is a bug on
73529 @@ -6728,24 +7358,33 @@ main ()
73530 *(data2 + i) = *(data2 + i) + 1;
73531 data3 = (char *) malloc (pagesize);
73532 if (!data3)
73533 - exit (1);
73534 + return 1;
73535 if (read (fd, data3, pagesize) != pagesize)
73536 - exit (1);
73537 + return 1;
73538 for (i = 0; i < pagesize; ++i)
73539 if (*(data + i) != *(data3 + i))
73540 - exit (1);
73541 + return 1;
73542 close (fd);
73543 - exit (0);
73544 + return 0;
73545 }
73546 _ACEOF
73547 rm -f conftest$ac_exeext
73548 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73549 - (eval $ac_link) 2>&5
73550 +if { (ac_try="$ac_link"
73551 +case "(($ac_try" in
73552 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
73553 + *) ac_try_echo=$ac_try;;
73554 +esac
73555 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
73556 + (eval "$ac_link") 2>&5
73557 ac_status=$?
73558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73559 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
73560 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73561 - (eval $ac_try) 2>&5
73562 + { (case "(($ac_try" in
73563 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
73564 + *) ac_try_echo=$ac_try;;
73565 +esac
73566 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
73567 + (eval "$ac_try") 2>&5
73568 ac_status=$?
73569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73570 (exit $ac_status); }; }; then
73571 @@ -6758,11 +7397,13 @@ sed 's/^/| /' conftest.$ac_ext >&5
73572 ( exit $ac_status )
73573 ac_cv_func_mmap_fixed_mapped=no
73574 fi
73575 -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
73576 +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
73577 fi
73578 +
73579 +
73580 fi
73581 -echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
73582 -echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
73583 +{ echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
73584 +echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6; }
73585 if test $ac_cv_func_mmap_fixed_mapped = yes; then
73586
73587 cat >>confdefs.h <<\_ACEOF
73588 @@ -6786,18 +7427,19 @@ for ac_header in argz.h limits.h locale.
73589 unistd.h values.h sys/param.h
73590 do
73591 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
73592 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
73593 - echo "$as_me:$LINENO: checking for $ac_header" >&5
73594 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
73595 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
73596 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
73597 + { echo "$as_me:$LINENO: checking for $ac_header" >&5
73598 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
73599 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
73600 echo $ECHO_N "(cached) $ECHO_C" >&6
73601 fi
73602 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
73603 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
73604 +ac_res=`eval echo '${'$as_ac_Header'}'`
73605 + { echo "$as_me:$LINENO: result: $ac_res" >&5
73606 +echo "${ECHO_T}$ac_res" >&6; }
73607 else
73608 # Is the header compilable?
73609 -echo "$as_me:$LINENO: checking $ac_header usability" >&5
73610 -echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
73611 +{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
73612 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
73613 cat >conftest.$ac_ext <<_ACEOF
73614 /* confdefs.h. */
73615 _ACEOF
73616 @@ -6808,41 +7450,37 @@ $ac_includes_default
73617 #include <$ac_header>
73618 _ACEOF
73619 rm -f conftest.$ac_objext
73620 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73621 - (eval $ac_compile) 2>conftest.er1
73622 +if { (ac_try="$ac_compile"
73623 +case "(($ac_try" in
73624 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
73625 + *) ac_try_echo=$ac_try;;
73626 +esac
73627 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
73628 + (eval "$ac_compile") 2>conftest.er1
73629 ac_status=$?
73630 grep -v '^ *+' conftest.er1 >conftest.err
73631 rm -f conftest.er1
73632 cat conftest.err >&5
73633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73634 - (exit $ac_status); } &&
73635 - { ac_try='test -z "$ac_c_werror_flag"
73636 - || test ! -s conftest.err'
73637 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73638 - (eval $ac_try) 2>&5
73639 - ac_status=$?
73640 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
73641 - (exit $ac_status); }; } &&
73642 - { ac_try='test -s conftest.$ac_objext'
73643 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73644 - (eval $ac_try) 2>&5
73645 - ac_status=$?
73646 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
73647 - (exit $ac_status); }; }; then
73648 + (exit $ac_status); } && {
73649 + test -z "$ac_c_werror_flag" ||
73650 + test ! -s conftest.err
73651 + } && test -s conftest.$ac_objext; then
73652 ac_header_compiler=yes
73653 else
73654 echo "$as_me: failed program was:" >&5
73655 sed 's/^/| /' conftest.$ac_ext >&5
73656
73657 -ac_header_compiler=no
73658 + ac_header_compiler=no
73659 fi
73660 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73661 -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
73662 -echo "${ECHO_T}$ac_header_compiler" >&6
73663 +
73664 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73665 +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
73666 +echo "${ECHO_T}$ac_header_compiler" >&6; }
73667
73668 # Is the header present?
73669 -echo "$as_me:$LINENO: checking $ac_header presence" >&5
73670 -echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
73671 +{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
73672 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
73673 cat >conftest.$ac_ext <<_ACEOF
73674 /* confdefs.h. */
73675 _ACEOF
73676 @@ -6851,24 +7489,22 @@ cat >>conftest.$ac_ext <<_ACEOF
73677 /* end confdefs.h. */
73678 #include <$ac_header>
73679 _ACEOF
73680 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
73681 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
73682 +if { (ac_try="$ac_cpp conftest.$ac_ext"
73683 +case "(($ac_try" in
73684 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
73685 + *) ac_try_echo=$ac_try;;
73686 +esac
73687 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
73688 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
73689 ac_status=$?
73690 grep -v '^ *+' conftest.er1 >conftest.err
73691 rm -f conftest.er1
73692 cat conftest.err >&5
73693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73694 - (exit $ac_status); } >/dev/null; then
73695 - if test -s conftest.err; then
73696 - ac_cpp_err=$ac_c_preproc_warn_flag
73697 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
73698 - else
73699 - ac_cpp_err=
73700 - fi
73701 -else
73702 - ac_cpp_err=yes
73703 -fi
73704 -if test -z "$ac_cpp_err"; then
73705 + (exit $ac_status); } >/dev/null && {
73706 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
73707 + test ! -s conftest.err
73708 + }; then
73709 ac_header_preproc=yes
73710 else
73711 echo "$as_me: failed program was:" >&5
73712 @@ -6876,9 +7512,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
73713
73714 ac_header_preproc=no
73715 fi
73716 +
73717 rm -f conftest.err conftest.$ac_ext
73718 -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
73719 -echo "${ECHO_T}$ac_header_preproc" >&6
73720 +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
73721 +echo "${ECHO_T}$ac_header_preproc" >&6; }
73722
73723 # So? What about this header?
73724 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
73725 @@ -6902,25 +7539,19 @@ echo "$as_me: WARNING: $ac_header: s
73726 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
73727 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
73728 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
73729 - (
73730 - cat <<\_ASBOX
73731 -## ------------------------------------------ ##
73732 -## Report this to the AC_PACKAGE_NAME lists. ##
73733 -## ------------------------------------------ ##
73734 -_ASBOX
73735 - ) |
73736 - sed "s/^/$as_me: WARNING: /" >&2
73737 +
73738 ;;
73739 esac
73740 -echo "$as_me:$LINENO: checking for $ac_header" >&5
73741 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
73742 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
73743 +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
73744 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
73745 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
73746 echo $ECHO_N "(cached) $ECHO_C" >&6
73747 else
73748 eval "$as_ac_Header=\$ac_header_preproc"
73749 fi
73750 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
73751 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
73752 +ac_res=`eval echo '${'$as_ac_Header'}'`
73753 + { echo "$as_me:$LINENO: result: $ac_res" >&5
73754 +echo "${ECHO_T}$ac_res" >&6; }
73755
73756 fi
73757 if test `eval echo '${'$as_ac_Header'}'` = yes; then
73758 @@ -6946,9 +7577,9 @@ for ac_func in getcwd munmap putenv sete
73759 __argz_count __argz_stringify __argz_next
73760 do
73761 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73762 -echo "$as_me:$LINENO: checking for $ac_func" >&5
73763 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73764 -if eval "test \"\${$as_ac_var+set}\" = set"; then
73765 +{ echo "$as_me:$LINENO: checking for $ac_func" >&5
73766 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
73767 +if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
73768 echo $ECHO_N "(cached) $ECHO_C" >&6
73769 else
73770 cat >conftest.$ac_ext <<_ACEOF
73771 @@ -6974,68 +7605,60 @@ cat >>conftest.$ac_ext <<_ACEOF
73772
73773 #undef $ac_func
73774
73775 -/* Override any gcc2 internal prototype to avoid an error. */
73776 +/* Override any GCC internal prototype to avoid an error.
73777 + Use char because int might match the return type of a GCC
73778 + builtin and then its argument prototype would still apply. */
73779 #ifdef __cplusplus
73780 extern "C"
73781 -{
73782 #endif
73783 -/* We use char because int might match the return type of a gcc2
73784 - builtin and then its argument prototype would still apply. */
73785 char $ac_func ();
73786 /* The GNU C library defines this for functions which it implements
73787 to always fail with ENOSYS. Some functions are actually named
73788 something starting with __ and the normal name is an alias. */
73789 -#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73790 +#if defined __stub_$ac_func || defined __stub___$ac_func
73791 choke me
73792 -#else
73793 -char (*f) () = $ac_func;
73794 -#endif
73795 -#ifdef __cplusplus
73796 -}
73797 #endif
73798
73799 int
73800 main ()
73801 {
73802 -return f != $ac_func;
73803 +return $ac_func ();
73804 ;
73805 return 0;
73806 }
73807 _ACEOF
73808 rm -f conftest.$ac_objext conftest$ac_exeext
73809 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73810 - (eval $ac_link) 2>conftest.er1
73811 +if { (ac_try="$ac_link"
73812 +case "(($ac_try" in
73813 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
73814 + *) ac_try_echo=$ac_try;;
73815 +esac
73816 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
73817 + (eval "$ac_link") 2>conftest.er1
73818 ac_status=$?
73819 grep -v '^ *+' conftest.er1 >conftest.err
73820 rm -f conftest.er1
73821 cat conftest.err >&5
73822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73823 - (exit $ac_status); } &&
73824 - { ac_try='test -z "$ac_c_werror_flag"
73825 - || test ! -s conftest.err'
73826 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73827 - (eval $ac_try) 2>&5
73828 - ac_status=$?
73829 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
73830 - (exit $ac_status); }; } &&
73831 - { ac_try='test -s conftest$ac_exeext'
73832 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73833 - (eval $ac_try) 2>&5
73834 - ac_status=$?
73835 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
73836 - (exit $ac_status); }; }; then
73837 + (exit $ac_status); } && {
73838 + test -z "$ac_c_werror_flag" ||
73839 + test ! -s conftest.err
73840 + } && test -s conftest$ac_exeext &&
73841 + $as_test_x conftest$ac_exeext; then
73842 eval "$as_ac_var=yes"
73843 else
73844 echo "$as_me: failed program was:" >&5
73845 sed 's/^/| /' conftest.$ac_ext >&5
73846
73847 -eval "$as_ac_var=no"
73848 + eval "$as_ac_var=no"
73849 fi
73850 -rm -f conftest.err conftest.$ac_objext \
73851 +
73852 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
73853 conftest$ac_exeext conftest.$ac_ext
73854 fi
73855 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73856 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73857 +ac_res=`eval echo '${'$as_ac_var'}'`
73858 + { echo "$as_me:$LINENO: result: $ac_res" >&5
73859 +echo "${ECHO_T}$ac_res" >&6; }
73860 if test `eval echo '${'$as_ac_var'}'` = yes; then
73861 cat >>confdefs.h <<_ACEOF
73862 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73863 @@ -7050,9 +7673,9 @@ done
73864 for ac_func in stpcpy
73865 do
73866 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73867 -echo "$as_me:$LINENO: checking for $ac_func" >&5
73868 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73869 -if eval "test \"\${$as_ac_var+set}\" = set"; then
73870 +{ echo "$as_me:$LINENO: checking for $ac_func" >&5
73871 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
73872 +if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
73873 echo $ECHO_N "(cached) $ECHO_C" >&6
73874 else
73875 cat >conftest.$ac_ext <<_ACEOF
73876 @@ -7078,68 +7701,60 @@ cat >>conftest.$ac_ext <<_ACEOF
73877
73878 #undef $ac_func
73879
73880 -/* Override any gcc2 internal prototype to avoid an error. */
73881 +/* Override any GCC internal prototype to avoid an error.
73882 + Use char because int might match the return type of a GCC
73883 + builtin and then its argument prototype would still apply. */
73884 #ifdef __cplusplus
73885 extern "C"
73886 -{
73887 #endif
73888 -/* We use char because int might match the return type of a gcc2
73889 - builtin and then its argument prototype would still apply. */
73890 char $ac_func ();
73891 /* The GNU C library defines this for functions which it implements
73892 to always fail with ENOSYS. Some functions are actually named
73893 something starting with __ and the normal name is an alias. */
73894 -#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73895 +#if defined __stub_$ac_func || defined __stub___$ac_func
73896 choke me
73897 -#else
73898 -char (*f) () = $ac_func;
73899 -#endif
73900 -#ifdef __cplusplus
73901 -}
73902 #endif
73903
73904 int
73905 main ()
73906 {
73907 -return f != $ac_func;
73908 +return $ac_func ();
73909 ;
73910 return 0;
73911 }
73912 _ACEOF
73913 rm -f conftest.$ac_objext conftest$ac_exeext
73914 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73915 - (eval $ac_link) 2>conftest.er1
73916 +if { (ac_try="$ac_link"
73917 +case "(($ac_try" in
73918 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
73919 + *) ac_try_echo=$ac_try;;
73920 +esac
73921 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
73922 + (eval "$ac_link") 2>conftest.er1
73923 ac_status=$?
73924 grep -v '^ *+' conftest.er1 >conftest.err
73925 rm -f conftest.er1
73926 cat conftest.err >&5
73927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73928 - (exit $ac_status); } &&
73929 - { ac_try='test -z "$ac_c_werror_flag"
73930 - || test ! -s conftest.err'
73931 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73932 - (eval $ac_try) 2>&5
73933 - ac_status=$?
73934 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
73935 - (exit $ac_status); }; } &&
73936 - { ac_try='test -s conftest$ac_exeext'
73937 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73938 - (eval $ac_try) 2>&5
73939 - ac_status=$?
73940 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
73941 - (exit $ac_status); }; }; then
73942 + (exit $ac_status); } && {
73943 + test -z "$ac_c_werror_flag" ||
73944 + test ! -s conftest.err
73945 + } && test -s conftest$ac_exeext &&
73946 + $as_test_x conftest$ac_exeext; then
73947 eval "$as_ac_var=yes"
73948 else
73949 echo "$as_me: failed program was:" >&5
73950 sed 's/^/| /' conftest.$ac_ext >&5
73951
73952 -eval "$as_ac_var=no"
73953 + eval "$as_ac_var=no"
73954 fi
73955 -rm -f conftest.err conftest.$ac_objext \
73956 +
73957 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
73958 conftest$ac_exeext conftest.$ac_ext
73959 fi
73960 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73961 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73962 +ac_res=`eval echo '${'$as_ac_var'}'`
73963 + { echo "$as_me:$LINENO: result: $ac_res" >&5
73964 +echo "${ECHO_T}$ac_res" >&6; }
73965 if test `eval echo '${'$as_ac_var'}'` = yes; then
73966 cat >>confdefs.h <<_ACEOF
73967 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73968 @@ -7158,8 +7773,8 @@ _ACEOF
73969 fi
73970
73971 if test $ac_cv_header_locale_h = yes; then
73972 - echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
73973 -echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
73974 + { echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
73975 +echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6; }
73976 if test "${am_cv_val_LC_MESSAGES+set}" = set; then
73977 echo $ECHO_N "(cached) $ECHO_C" >&6
73978 else
73979 @@ -7179,39 +7794,36 @@ return LC_MESSAGES
73980 }
73981 _ACEOF
73982 rm -f conftest.$ac_objext conftest$ac_exeext
73983 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73984 - (eval $ac_link) 2>conftest.er1
73985 +if { (ac_try="$ac_link"
73986 +case "(($ac_try" in
73987 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
73988 + *) ac_try_echo=$ac_try;;
73989 +esac
73990 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
73991 + (eval "$ac_link") 2>conftest.er1
73992 ac_status=$?
73993 grep -v '^ *+' conftest.er1 >conftest.err
73994 rm -f conftest.er1
73995 cat conftest.err >&5
73996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73997 - (exit $ac_status); } &&
73998 - { ac_try='test -z "$ac_c_werror_flag"
73999 - || test ! -s conftest.err'
74000 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74001 - (eval $ac_try) 2>&5
74002 - ac_status=$?
74003 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
74004 - (exit $ac_status); }; } &&
74005 - { ac_try='test -s conftest$ac_exeext'
74006 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74007 - (eval $ac_try) 2>&5
74008 - ac_status=$?
74009 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
74010 - (exit $ac_status); }; }; then
74011 + (exit $ac_status); } && {
74012 + test -z "$ac_c_werror_flag" ||
74013 + test ! -s conftest.err
74014 + } && test -s conftest$ac_exeext &&
74015 + $as_test_x conftest$ac_exeext; then
74016 am_cv_val_LC_MESSAGES=yes
74017 else
74018 echo "$as_me: failed program was:" >&5
74019 sed 's/^/| /' conftest.$ac_ext >&5
74020
74021 -am_cv_val_LC_MESSAGES=no
74022 + am_cv_val_LC_MESSAGES=no
74023 fi
74024 -rm -f conftest.err conftest.$ac_objext \
74025 +
74026 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
74027 conftest$ac_exeext conftest.$ac_ext
74028 fi
74029 -echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
74030 -echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6
74031 +{ echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
74032 +echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6; }
74033 if test $am_cv_val_LC_MESSAGES = yes; then
74034
74035 cat >>confdefs.h <<\_ACEOF
74036 @@ -7220,34 +7832,34 @@ _ACEOF
74037
74038 fi
74039 fi
74040 - echo "$as_me:$LINENO: checking whether NLS is requested" >&5
74041 -echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
74042 - # Check whether --enable-nls or --disable-nls was given.
74043 + { echo "$as_me:$LINENO: checking whether NLS is requested" >&5
74044 +echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6; }
74045 + # Check whether --enable-nls was given.
74046 if test "${enable_nls+set}" = set; then
74047 - enableval="$enable_nls"
74048 - USE_NLS=$enableval
74049 + enableval=$enable_nls; USE_NLS=$enableval
74050 else
74051 USE_NLS=yes
74052 -fi;
74053 - echo "$as_me:$LINENO: result: $USE_NLS" >&5
74054 -echo "${ECHO_T}$USE_NLS" >&6
74055 +fi
74056 +
74057 + { echo "$as_me:$LINENO: result: $USE_NLS" >&5
74058 +echo "${ECHO_T}$USE_NLS" >&6; }
74059
74060
74061 USE_INCLUDED_LIBINTL=no
74062
74063 if test "$USE_NLS" = "yes"; then
74064 - echo "$as_me:$LINENO: checking whether included gettext is requested" >&5
74065 -echo $ECHO_N "checking whether included gettext is requested... $ECHO_C" >&6
74066 + { echo "$as_me:$LINENO: checking whether included gettext is requested" >&5
74067 +echo $ECHO_N "checking whether included gettext is requested... $ECHO_C" >&6; }
74068
74069 -# Check whether --with-included-gettext or --without-included-gettext was given.
74070 +# Check whether --with-included-gettext was given.
74071 if test "${with_included_gettext+set}" = set; then
74072 - withval="$with_included_gettext"
74073 - nls_cv_force_use_gnu_gettext=$withval
74074 + withval=$with_included_gettext; nls_cv_force_use_gnu_gettext=$withval
74075 else
74076 nls_cv_force_use_gnu_gettext=no
74077 -fi;
74078 - echo "$as_me:$LINENO: result: $nls_cv_force_use_gnu_gettext" >&5
74079 -echo "${ECHO_T}$nls_cv_force_use_gnu_gettext" >&6
74080 +fi
74081 +
74082 + { echo "$as_me:$LINENO: result: $nls_cv_force_use_gnu_gettext" >&5
74083 +echo "${ECHO_T}$nls_cv_force_use_gnu_gettext" >&6; }
74084
74085 nls_cv_use_gnu_gettext="$nls_cv_force_use_gnu_gettext"
74086 if test "$nls_cv_force_use_gnu_gettext" != "yes"; then
74087 @@ -7256,17 +7868,17 @@ echo "${ECHO_T}$nls_cv_force_use_gnu_get
74088 CATOBJEXT=
74089
74090 if test "${ac_cv_header_libintl_h+set}" = set; then
74091 - echo "$as_me:$LINENO: checking for libintl.h" >&5
74092 -echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6
74093 + { echo "$as_me:$LINENO: checking for libintl.h" >&5
74094 +echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6; }
74095 if test "${ac_cv_header_libintl_h+set}" = set; then
74096 echo $ECHO_N "(cached) $ECHO_C" >&6
74097 fi
74098 -echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
74099 -echo "${ECHO_T}$ac_cv_header_libintl_h" >&6
74100 +{ echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
74101 +echo "${ECHO_T}$ac_cv_header_libintl_h" >&6; }
74102 else
74103 # Is the header compilable?
74104 -echo "$as_me:$LINENO: checking libintl.h usability" >&5
74105 -echo $ECHO_N "checking libintl.h usability... $ECHO_C" >&6
74106 +{ echo "$as_me:$LINENO: checking libintl.h usability" >&5
74107 +echo $ECHO_N "checking libintl.h usability... $ECHO_C" >&6; }
74108 cat >conftest.$ac_ext <<_ACEOF
74109 /* confdefs.h. */
74110 _ACEOF
74111 @@ -7277,41 +7889,37 @@ $ac_includes_default
74112 #include <libintl.h>
74113 _ACEOF
74114 rm -f conftest.$ac_objext
74115 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74116 - (eval $ac_compile) 2>conftest.er1
74117 +if { (ac_try="$ac_compile"
74118 +case "(($ac_try" in
74119 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
74120 + *) ac_try_echo=$ac_try;;
74121 +esac
74122 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
74123 + (eval "$ac_compile") 2>conftest.er1
74124 ac_status=$?
74125 grep -v '^ *+' conftest.er1 >conftest.err
74126 rm -f conftest.er1
74127 cat conftest.err >&5
74128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74129 - (exit $ac_status); } &&
74130 - { ac_try='test -z "$ac_c_werror_flag"
74131 - || test ! -s conftest.err'
74132 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74133 - (eval $ac_try) 2>&5
74134 - ac_status=$?
74135 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
74136 - (exit $ac_status); }; } &&
74137 - { ac_try='test -s conftest.$ac_objext'
74138 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74139 - (eval $ac_try) 2>&5
74140 - ac_status=$?
74141 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
74142 - (exit $ac_status); }; }; then
74143 + (exit $ac_status); } && {
74144 + test -z "$ac_c_werror_flag" ||
74145 + test ! -s conftest.err
74146 + } && test -s conftest.$ac_objext; then
74147 ac_header_compiler=yes
74148 else
74149 echo "$as_me: failed program was:" >&5
74150 sed 's/^/| /' conftest.$ac_ext >&5
74151
74152 -ac_header_compiler=no
74153 + ac_header_compiler=no
74154 fi
74155 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74156 -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
74157 -echo "${ECHO_T}$ac_header_compiler" >&6
74158 +
74159 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74160 +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
74161 +echo "${ECHO_T}$ac_header_compiler" >&6; }
74162
74163 # Is the header present?
74164 -echo "$as_me:$LINENO: checking libintl.h presence" >&5
74165 -echo $ECHO_N "checking libintl.h presence... $ECHO_C" >&6
74166 +{ echo "$as_me:$LINENO: checking libintl.h presence" >&5
74167 +echo $ECHO_N "checking libintl.h presence... $ECHO_C" >&6; }
74168 cat >conftest.$ac_ext <<_ACEOF
74169 /* confdefs.h. */
74170 _ACEOF
74171 @@ -7320,24 +7928,22 @@ cat >>conftest.$ac_ext <<_ACEOF
74172 /* end confdefs.h. */
74173 #include <libintl.h>
74174 _ACEOF
74175 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
74176 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
74177 +if { (ac_try="$ac_cpp conftest.$ac_ext"
74178 +case "(($ac_try" in
74179 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
74180 + *) ac_try_echo=$ac_try;;
74181 +esac
74182 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
74183 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
74184 ac_status=$?
74185 grep -v '^ *+' conftest.er1 >conftest.err
74186 rm -f conftest.er1
74187 cat conftest.err >&5
74188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74189 - (exit $ac_status); } >/dev/null; then
74190 - if test -s conftest.err; then
74191 - ac_cpp_err=$ac_c_preproc_warn_flag
74192 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
74193 - else
74194 - ac_cpp_err=
74195 - fi
74196 -else
74197 - ac_cpp_err=yes
74198 -fi
74199 -if test -z "$ac_cpp_err"; then
74200 + (exit $ac_status); } >/dev/null && {
74201 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
74202 + test ! -s conftest.err
74203 + }; then
74204 ac_header_preproc=yes
74205 else
74206 echo "$as_me: failed program was:" >&5
74207 @@ -7345,9 +7951,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
74208
74209 ac_header_preproc=no
74210 fi
74211 +
74212 rm -f conftest.err conftest.$ac_ext
74213 -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
74214 -echo "${ECHO_T}$ac_header_preproc" >&6
74215 +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
74216 +echo "${ECHO_T}$ac_header_preproc" >&6; }
74217
74218 # So? What about this header?
74219 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
74220 @@ -7371,30 +7978,23 @@ echo "$as_me: WARNING: libintl.h: se
74221 echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;}
74222 { echo "$as_me:$LINENO: WARNING: libintl.h: in the future, the compiler will take precedence" >&5
74223 echo "$as_me: WARNING: libintl.h: in the future, the compiler will take precedence" >&2;}
74224 - (
74225 - cat <<\_ASBOX
74226 -## ------------------------------------------ ##
74227 -## Report this to the AC_PACKAGE_NAME lists. ##
74228 -## ------------------------------------------ ##
74229 -_ASBOX
74230 - ) |
74231 - sed "s/^/$as_me: WARNING: /" >&2
74232 +
74233 ;;
74234 esac
74235 -echo "$as_me:$LINENO: checking for libintl.h" >&5
74236 -echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6
74237 +{ echo "$as_me:$LINENO: checking for libintl.h" >&5
74238 +echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6; }
74239 if test "${ac_cv_header_libintl_h+set}" = set; then
74240 echo $ECHO_N "(cached) $ECHO_C" >&6
74241 else
74242 ac_cv_header_libintl_h=$ac_header_preproc
74243 fi
74244 -echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
74245 -echo "${ECHO_T}$ac_cv_header_libintl_h" >&6
74246 +{ echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
74247 +echo "${ECHO_T}$ac_cv_header_libintl_h" >&6; }
74248
74249 fi
74250 if test $ac_cv_header_libintl_h = yes; then
74251 - echo "$as_me:$LINENO: checking for gettext in libc" >&5
74252 -echo $ECHO_N "checking for gettext in libc... $ECHO_C" >&6
74253 + { echo "$as_me:$LINENO: checking for gettext in libc" >&5
74254 +echo $ECHO_N "checking for gettext in libc... $ECHO_C" >&6; }
74255 if test "${gt_cv_func_gettext_libc+set}" = set; then
74256 echo $ECHO_N "(cached) $ECHO_C" >&6
74257 else
74258 @@ -7414,43 +8014,40 @@ return (int) gettext ("")
74259 }
74260 _ACEOF
74261 rm -f conftest.$ac_objext conftest$ac_exeext
74262 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74263 - (eval $ac_link) 2>conftest.er1
74264 +if { (ac_try="$ac_link"
74265 +case "(($ac_try" in
74266 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
74267 + *) ac_try_echo=$ac_try;;
74268 +esac
74269 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
74270 + (eval "$ac_link") 2>conftest.er1
74271 ac_status=$?
74272 grep -v '^ *+' conftest.er1 >conftest.err
74273 rm -f conftest.er1
74274 cat conftest.err >&5
74275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74276 - (exit $ac_status); } &&
74277 - { ac_try='test -z "$ac_c_werror_flag"
74278 - || test ! -s conftest.err'
74279 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74280 - (eval $ac_try) 2>&5
74281 - ac_status=$?
74282 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
74283 - (exit $ac_status); }; } &&
74284 - { ac_try='test -s conftest$ac_exeext'
74285 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74286 - (eval $ac_try) 2>&5
74287 - ac_status=$?
74288 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
74289 - (exit $ac_status); }; }; then
74290 + (exit $ac_status); } && {
74291 + test -z "$ac_c_werror_flag" ||
74292 + test ! -s conftest.err
74293 + } && test -s conftest$ac_exeext &&
74294 + $as_test_x conftest$ac_exeext; then
74295 gt_cv_func_gettext_libc=yes
74296 else
74297 echo "$as_me: failed program was:" >&5
74298 sed 's/^/| /' conftest.$ac_ext >&5
74299
74300 -gt_cv_func_gettext_libc=no
74301 + gt_cv_func_gettext_libc=no
74302 fi
74303 -rm -f conftest.err conftest.$ac_objext \
74304 +
74305 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
74306 conftest$ac_exeext conftest.$ac_ext
74307 fi
74308 -echo "$as_me:$LINENO: result: $gt_cv_func_gettext_libc" >&5
74309 -echo "${ECHO_T}$gt_cv_func_gettext_libc" >&6
74310 +{ echo "$as_me:$LINENO: result: $gt_cv_func_gettext_libc" >&5
74311 +echo "${ECHO_T}$gt_cv_func_gettext_libc" >&6; }
74312
74313 if test "$gt_cv_func_gettext_libc" != "yes"; then
74314 - echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5
74315 -echo $ECHO_N "checking for bindtextdomain in -lintl... $ECHO_C" >&6
74316 + { echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5
74317 +echo $ECHO_N "checking for bindtextdomain in -lintl... $ECHO_C" >&6; }
74318 if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then
74319 echo $ECHO_N "(cached) $ECHO_C" >&6
74320 else
74321 @@ -7463,59 +8060,56 @@ cat confdefs.h >>conftest.$ac_ext
74322 cat >>conftest.$ac_ext <<_ACEOF
74323 /* end confdefs.h. */
74324
74325 -/* Override any gcc2 internal prototype to avoid an error. */
74326 +/* Override any GCC internal prototype to avoid an error.
74327 + Use char because int might match the return type of a GCC
74328 + builtin and then its argument prototype would still apply. */
74329 #ifdef __cplusplus
74330 extern "C"
74331 #endif
74332 -/* We use char because int might match the return type of a gcc2
74333 - builtin and then its argument prototype would still apply. */
74334 char bindtextdomain ();
74335 int
74336 main ()
74337 {
74338 -bindtextdomain ();
74339 +return bindtextdomain ();
74340 ;
74341 return 0;
74342 }
74343 _ACEOF
74344 rm -f conftest.$ac_objext conftest$ac_exeext
74345 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74346 - (eval $ac_link) 2>conftest.er1
74347 +if { (ac_try="$ac_link"
74348 +case "(($ac_try" in
74349 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
74350 + *) ac_try_echo=$ac_try;;
74351 +esac
74352 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
74353 + (eval "$ac_link") 2>conftest.er1
74354 ac_status=$?
74355 grep -v '^ *+' conftest.er1 >conftest.err
74356 rm -f conftest.er1
74357 cat conftest.err >&5
74358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74359 - (exit $ac_status); } &&
74360 - { ac_try='test -z "$ac_c_werror_flag"
74361 - || test ! -s conftest.err'
74362 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74363 - (eval $ac_try) 2>&5
74364 - ac_status=$?
74365 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
74366 - (exit $ac_status); }; } &&
74367 - { ac_try='test -s conftest$ac_exeext'
74368 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74369 - (eval $ac_try) 2>&5
74370 - ac_status=$?
74371 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
74372 - (exit $ac_status); }; }; then
74373 + (exit $ac_status); } && {
74374 + test -z "$ac_c_werror_flag" ||
74375 + test ! -s conftest.err
74376 + } && test -s conftest$ac_exeext &&
74377 + $as_test_x conftest$ac_exeext; then
74378 ac_cv_lib_intl_bindtextdomain=yes
74379 else
74380 echo "$as_me: failed program was:" >&5
74381 sed 's/^/| /' conftest.$ac_ext >&5
74382
74383 -ac_cv_lib_intl_bindtextdomain=no
74384 + ac_cv_lib_intl_bindtextdomain=no
74385 fi
74386 -rm -f conftest.err conftest.$ac_objext \
74387 +
74388 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
74389 conftest$ac_exeext conftest.$ac_ext
74390 LIBS=$ac_check_lib_save_LIBS
74391 fi
74392 -echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5
74393 -echo "${ECHO_T}$ac_cv_lib_intl_bindtextdomain" >&6
74394 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5
74395 +echo "${ECHO_T}$ac_cv_lib_intl_bindtextdomain" >&6; }
74396 if test $ac_cv_lib_intl_bindtextdomain = yes; then
74397 - echo "$as_me:$LINENO: checking for gettext in libintl" >&5
74398 -echo $ECHO_N "checking for gettext in libintl... $ECHO_C" >&6
74399 + { echo "$as_me:$LINENO: checking for gettext in libintl" >&5
74400 +echo $ECHO_N "checking for gettext in libintl... $ECHO_C" >&6; }
74401 if test "${gt_cv_func_gettext_libintl+set}" = set; then
74402 echo $ECHO_N "(cached) $ECHO_C" >&6
74403 else
74404 @@ -7535,39 +8129,36 @@ return (int) gettext ("")
74405 }
74406 _ACEOF
74407 rm -f conftest.$ac_objext conftest$ac_exeext
74408 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74409 - (eval $ac_link) 2>conftest.er1
74410 +if { (ac_try="$ac_link"
74411 +case "(($ac_try" in
74412 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
74413 + *) ac_try_echo=$ac_try;;
74414 +esac
74415 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
74416 + (eval "$ac_link") 2>conftest.er1
74417 ac_status=$?
74418 grep -v '^ *+' conftest.er1 >conftest.err
74419 rm -f conftest.er1
74420 cat conftest.err >&5
74421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74422 - (exit $ac_status); } &&
74423 - { ac_try='test -z "$ac_c_werror_flag"
74424 - || test ! -s conftest.err'
74425 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74426 - (eval $ac_try) 2>&5
74427 - ac_status=$?
74428 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
74429 - (exit $ac_status); }; } &&
74430 - { ac_try='test -s conftest$ac_exeext'
74431 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74432 - (eval $ac_try) 2>&5
74433 - ac_status=$?
74434 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
74435 - (exit $ac_status); }; }; then
74436 + (exit $ac_status); } && {
74437 + test -z "$ac_c_werror_flag" ||
74438 + test ! -s conftest.err
74439 + } && test -s conftest$ac_exeext &&
74440 + $as_test_x conftest$ac_exeext; then
74441 gt_cv_func_gettext_libintl=yes
74442 else
74443 echo "$as_me: failed program was:" >&5
74444 sed 's/^/| /' conftest.$ac_ext >&5
74445
74446 -gt_cv_func_gettext_libintl=no
74447 + gt_cv_func_gettext_libintl=no
74448 fi
74449 -rm -f conftest.err conftest.$ac_objext \
74450 +
74451 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
74452 conftest$ac_exeext conftest.$ac_ext
74453 fi
74454 -echo "$as_me:$LINENO: result: $gt_cv_func_gettext_libintl" >&5
74455 -echo "${ECHO_T}$gt_cv_func_gettext_libintl" >&6
74456 +{ echo "$as_me:$LINENO: result: $gt_cv_func_gettext_libintl" >&5
74457 +echo "${ECHO_T}$gt_cv_func_gettext_libintl" >&6; }
74458 fi
74459
74460 fi
74461 @@ -7581,8 +8172,8 @@ _ACEOF
74462
74463 # Extract the first word of "msgfmt", so it can be a program name with args.
74464 set dummy msgfmt; ac_word=$2
74465 -echo "$as_me:$LINENO: checking for $ac_word" >&5
74466 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
74467 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
74468 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
74469 if test "${ac_cv_path_MSGFMT+set}" = set; then
74470 echo $ECHO_N "(cached) $ECHO_C" >&6
74471 else
74472 @@ -7608,20 +8199,20 @@ esac
74473 fi
74474 MSGFMT="$ac_cv_path_MSGFMT"
74475 if test -n "$MSGFMT"; then
74476 - echo "$as_me:$LINENO: result: $MSGFMT" >&5
74477 -echo "${ECHO_T}$MSGFMT" >&6
74478 + { echo "$as_me:$LINENO: result: $MSGFMT" >&5
74479 +echo "${ECHO_T}$MSGFMT" >&6; }
74480 else
74481 - echo "$as_me:$LINENO: result: no" >&5
74482 -echo "${ECHO_T}no" >&6
74483 + { echo "$as_me:$LINENO: result: no" >&5
74484 +echo "${ECHO_T}no" >&6; }
74485 fi
74486 if test "$MSGFMT" != "no"; then
74487
74488 for ac_func in dcgettext
74489 do
74490 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74491 -echo "$as_me:$LINENO: checking for $ac_func" >&5
74492 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74493 -if eval "test \"\${$as_ac_var+set}\" = set"; then
74494 +{ echo "$as_me:$LINENO: checking for $ac_func" >&5
74495 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
74496 +if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
74497 echo $ECHO_N "(cached) $ECHO_C" >&6
74498 else
74499 cat >conftest.$ac_ext <<_ACEOF
74500 @@ -7647,68 +8238,60 @@ cat >>conftest.$ac_ext <<_ACEOF
74501
74502 #undef $ac_func
74503
74504 -/* Override any gcc2 internal prototype to avoid an error. */
74505 +/* Override any GCC internal prototype to avoid an error.
74506 + Use char because int might match the return type of a GCC
74507 + builtin and then its argument prototype would still apply. */
74508 #ifdef __cplusplus
74509 extern "C"
74510 -{
74511 #endif
74512 -/* We use char because int might match the return type of a gcc2
74513 - builtin and then its argument prototype would still apply. */
74514 char $ac_func ();
74515 /* The GNU C library defines this for functions which it implements
74516 to always fail with ENOSYS. Some functions are actually named
74517 something starting with __ and the normal name is an alias. */
74518 -#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74519 +#if defined __stub_$ac_func || defined __stub___$ac_func
74520 choke me
74521 -#else
74522 -char (*f) () = $ac_func;
74523 -#endif
74524 -#ifdef __cplusplus
74525 -}
74526 #endif
74527
74528 int
74529 main ()
74530 {
74531 -return f != $ac_func;
74532 +return $ac_func ();
74533 ;
74534 return 0;
74535 }
74536 _ACEOF
74537 rm -f conftest.$ac_objext conftest$ac_exeext
74538 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74539 - (eval $ac_link) 2>conftest.er1
74540 +if { (ac_try="$ac_link"
74541 +case "(($ac_try" in
74542 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
74543 + *) ac_try_echo=$ac_try;;
74544 +esac
74545 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
74546 + (eval "$ac_link") 2>conftest.er1
74547 ac_status=$?
74548 grep -v '^ *+' conftest.er1 >conftest.err
74549 rm -f conftest.er1
74550 cat conftest.err >&5
74551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74552 - (exit $ac_status); } &&
74553 - { ac_try='test -z "$ac_c_werror_flag"
74554 - || test ! -s conftest.err'
74555 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74556 - (eval $ac_try) 2>&5
74557 - ac_status=$?
74558 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
74559 - (exit $ac_status); }; } &&
74560 - { ac_try='test -s conftest$ac_exeext'
74561 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74562 - (eval $ac_try) 2>&5
74563 - ac_status=$?
74564 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
74565 - (exit $ac_status); }; }; then
74566 + (exit $ac_status); } && {
74567 + test -z "$ac_c_werror_flag" ||
74568 + test ! -s conftest.err
74569 + } && test -s conftest$ac_exeext &&
74570 + $as_test_x conftest$ac_exeext; then
74571 eval "$as_ac_var=yes"
74572 else
74573 echo "$as_me: failed program was:" >&5
74574 sed 's/^/| /' conftest.$ac_ext >&5
74575
74576 -eval "$as_ac_var=no"
74577 + eval "$as_ac_var=no"
74578 fi
74579 -rm -f conftest.err conftest.$ac_objext \
74580 +
74581 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
74582 conftest$ac_exeext conftest.$ac_ext
74583 fi
74584 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74585 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74586 +ac_res=`eval echo '${'$as_ac_var'}'`
74587 + { echo "$as_me:$LINENO: result: $ac_res" >&5
74588 +echo "${ECHO_T}$ac_res" >&6; }
74589 if test `eval echo '${'$as_ac_var'}'` = yes; then
74590 cat >>confdefs.h <<_ACEOF
74591 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74592 @@ -7719,8 +8302,8 @@ done
74593
74594 # Extract the first word of "gmsgfmt", so it can be a program name with args.
74595 set dummy gmsgfmt; ac_word=$2
74596 -echo "$as_me:$LINENO: checking for $ac_word" >&5
74597 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
74598 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
74599 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
74600 if test "${ac_cv_path_GMSGFMT+set}" = set; then
74601 echo $ECHO_N "(cached) $ECHO_C" >&6
74602 else
74603 @@ -7735,32 +8318,33 @@ do
74604 IFS=$as_save_IFS
74605 test -z "$as_dir" && as_dir=.
74606 for ac_exec_ext in '' $ac_executable_extensions; do
74607 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
74608 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
74609 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
74610 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
74611 break 2
74612 fi
74613 done
74614 done
74615 +IFS=$as_save_IFS
74616
74617 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
74618 ;;
74619 esac
74620 fi
74621 GMSGFMT=$ac_cv_path_GMSGFMT
74622 -
74623 if test -n "$GMSGFMT"; then
74624 - echo "$as_me:$LINENO: result: $GMSGFMT" >&5
74625 -echo "${ECHO_T}$GMSGFMT" >&6
74626 + { echo "$as_me:$LINENO: result: $GMSGFMT" >&5
74627 +echo "${ECHO_T}$GMSGFMT" >&6; }
74628 else
74629 - echo "$as_me:$LINENO: result: no" >&5
74630 -echo "${ECHO_T}no" >&6
74631 + { echo "$as_me:$LINENO: result: no" >&5
74632 +echo "${ECHO_T}no" >&6; }
74633 fi
74634
74635 +
74636 # Extract the first word of "xgettext", so it can be a program name with args.
74637 set dummy xgettext; ac_word=$2
74638 -echo "$as_me:$LINENO: checking for $ac_word" >&5
74639 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
74640 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
74641 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
74642 if test "${ac_cv_path_XGETTEXT+set}" = set; then
74643 echo $ECHO_N "(cached) $ECHO_C" >&6
74644 else
74645 @@ -7786,11 +8370,11 @@ esac
74646 fi
74647 XGETTEXT="$ac_cv_path_XGETTEXT"
74648 if test -n "$XGETTEXT"; then
74649 - echo "$as_me:$LINENO: result: $XGETTEXT" >&5
74650 -echo "${ECHO_T}$XGETTEXT" >&6
74651 + { echo "$as_me:$LINENO: result: $XGETTEXT" >&5
74652 +echo "${ECHO_T}$XGETTEXT" >&6; }
74653 else
74654 - echo "$as_me:$LINENO: result: no" >&5
74655 -echo "${ECHO_T}no" >&6
74656 + { echo "$as_me:$LINENO: result: no" >&5
74657 +echo "${ECHO_T}no" >&6; }
74658 fi
74659
74660 cat >conftest.$ac_ext <<_ACEOF
74661 @@ -7810,37 +8394,34 @@ extern int _nl_msg_cat_cntr;
74662 }
74663 _ACEOF
74664 rm -f conftest.$ac_objext conftest$ac_exeext
74665 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74666 - (eval $ac_link) 2>conftest.er1
74667 +if { (ac_try="$ac_link"
74668 +case "(($ac_try" in
74669 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
74670 + *) ac_try_echo=$ac_try;;
74671 +esac
74672 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
74673 + (eval "$ac_link") 2>conftest.er1
74674 ac_status=$?
74675 grep -v '^ *+' conftest.er1 >conftest.err
74676 rm -f conftest.er1
74677 cat conftest.err >&5
74678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74679 - (exit $ac_status); } &&
74680 - { ac_try='test -z "$ac_c_werror_flag"
74681 - || test ! -s conftest.err'
74682 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74683 - (eval $ac_try) 2>&5
74684 - ac_status=$?
74685 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
74686 - (exit $ac_status); }; } &&
74687 - { ac_try='test -s conftest$ac_exeext'
74688 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74689 - (eval $ac_try) 2>&5
74690 - ac_status=$?
74691 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
74692 - (exit $ac_status); }; }; then
74693 + (exit $ac_status); } && {
74694 + test -z "$ac_c_werror_flag" ||
74695 + test ! -s conftest.err
74696 + } && test -s conftest$ac_exeext &&
74697 + $as_test_x conftest$ac_exeext; then
74698 CATOBJEXT=.gmo
74699 DATADIRNAME=share
74700 else
74701 echo "$as_me: failed program was:" >&5
74702 sed 's/^/| /' conftest.$ac_ext >&5
74703
74704 -CATOBJEXT=.mo
74705 + CATOBJEXT=.mo
74706 DATADIRNAME=lib
74707 fi
74708 -rm -f conftest.err conftest.$ac_objext \
74709 +
74710 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
74711 conftest$ac_exeext conftest.$ac_ext
74712 INSTOBJEXT=.mo
74713 fi
74714 @@ -7862,8 +8443,8 @@ fi
74715 INTLOBJS="\$(GETTOBJS)"
74716 # Extract the first word of "msgfmt", so it can be a program name with args.
74717 set dummy msgfmt; ac_word=$2
74718 -echo "$as_me:$LINENO: checking for $ac_word" >&5
74719 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
74720 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
74721 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
74722 if test "${ac_cv_path_MSGFMT+set}" = set; then
74723 echo $ECHO_N "(cached) $ECHO_C" >&6
74724 else
74725 @@ -7889,17 +8470,17 @@ esac
74726 fi
74727 MSGFMT="$ac_cv_path_MSGFMT"
74728 if test -n "$MSGFMT"; then
74729 - echo "$as_me:$LINENO: result: $MSGFMT" >&5
74730 -echo "${ECHO_T}$MSGFMT" >&6
74731 + { echo "$as_me:$LINENO: result: $MSGFMT" >&5
74732 +echo "${ECHO_T}$MSGFMT" >&6; }
74733 else
74734 - echo "$as_me:$LINENO: result: no" >&5
74735 -echo "${ECHO_T}no" >&6
74736 + { echo "$as_me:$LINENO: result: no" >&5
74737 +echo "${ECHO_T}no" >&6; }
74738 fi
74739
74740 # Extract the first word of "gmsgfmt", so it can be a program name with args.
74741 set dummy gmsgfmt; ac_word=$2
74742 -echo "$as_me:$LINENO: checking for $ac_word" >&5
74743 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
74744 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
74745 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
74746 if test "${ac_cv_path_GMSGFMT+set}" = set; then
74747 echo $ECHO_N "(cached) $ECHO_C" >&6
74748 else
74749 @@ -7914,32 +8495,33 @@ do
74750 IFS=$as_save_IFS
74751 test -z "$as_dir" && as_dir=.
74752 for ac_exec_ext in '' $ac_executable_extensions; do
74753 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
74754 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
74755 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
74756 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
74757 break 2
74758 fi
74759 done
74760 done
74761 +IFS=$as_save_IFS
74762
74763 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
74764 ;;
74765 esac
74766 fi
74767 GMSGFMT=$ac_cv_path_GMSGFMT
74768 -
74769 if test -n "$GMSGFMT"; then
74770 - echo "$as_me:$LINENO: result: $GMSGFMT" >&5
74771 -echo "${ECHO_T}$GMSGFMT" >&6
74772 + { echo "$as_me:$LINENO: result: $GMSGFMT" >&5
74773 +echo "${ECHO_T}$GMSGFMT" >&6; }
74774 else
74775 - echo "$as_me:$LINENO: result: no" >&5
74776 -echo "${ECHO_T}no" >&6
74777 + { echo "$as_me:$LINENO: result: no" >&5
74778 +echo "${ECHO_T}no" >&6; }
74779 fi
74780
74781 +
74782 # Extract the first word of "xgettext", so it can be a program name with args.
74783 set dummy xgettext; ac_word=$2
74784 -echo "$as_me:$LINENO: checking for $ac_word" >&5
74785 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
74786 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
74787 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
74788 if test "${ac_cv_path_XGETTEXT+set}" = set; then
74789 echo $ECHO_N "(cached) $ECHO_C" >&6
74790 else
74791 @@ -7965,11 +8547,11 @@ esac
74792 fi
74793 XGETTEXT="$ac_cv_path_XGETTEXT"
74794 if test -n "$XGETTEXT"; then
74795 - echo "$as_me:$LINENO: result: $XGETTEXT" >&5
74796 -echo "${ECHO_T}$XGETTEXT" >&6
74797 + { echo "$as_me:$LINENO: result: $XGETTEXT" >&5
74798 +echo "${ECHO_T}$XGETTEXT" >&6; }
74799 else
74800 - echo "$as_me:$LINENO: result: no" >&5
74801 -echo "${ECHO_T}no" >&6
74802 + { echo "$as_me:$LINENO: result: no" >&5
74803 +echo "${ECHO_T}no" >&6; }
74804 fi
74805
74806
74807 @@ -7988,8 +8570,8 @@ fi
74808 if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
74809 : ;
74810 else
74811 - echo "$as_me:$LINENO: result: found xgettext programs is not GNU xgettext; ignore it" >&5
74812 -echo "${ECHO_T}found xgettext programs is not GNU xgettext; ignore it" >&6
74813 + { echo "$as_me:$LINENO: result: found xgettext programs is not GNU xgettext; ignore it" >&5
74814 +echo "${ECHO_T}found xgettext programs is not GNU xgettext; ignore it" >&6; }
74815 XGETTEXT=":"
74816 fi
74817 fi
74818 @@ -8038,8 +8620,8 @@ _ACEOF
74819 if test "x$ALL_LINGUAS" = "x"; then
74820 LINGUAS=
74821 else
74822 - echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
74823 -echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6
74824 + { echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
74825 +echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6; }
74826 NEW_LINGUAS=
74827 for lang in ${LINGUAS=$ALL_LINGUAS}; do
74828 case "$ALL_LINGUAS" in
74829 @@ -8047,8 +8629,8 @@ echo $ECHO_N "checking for catalogs to b
74830 esac
74831 done
74832 LINGUAS=$NEW_LINGUAS
74833 - echo "$as_me:$LINENO: result: $LINGUAS" >&5
74834 -echo "${ECHO_T}$LINGUAS" >&6
74835 + { echo "$as_me:$LINENO: result: $LINGUAS" >&5
74836 +echo "${ECHO_T}$LINGUAS" >&6; }
74837 fi
74838
74839 if test -n "$LINGUAS"; then
74840 @@ -8067,17 +8649,17 @@ echo "${ECHO_T}$LINGUAS" >&6
74841 if test -f $srcdir/po2tbl.sed.in; then
74842 if test "$CATOBJEXT" = ".cat"; then
74843 if test "${ac_cv_header_linux_version_h+set}" = set; then
74844 - echo "$as_me:$LINENO: checking for linux/version.h" >&5
74845 -echo $ECHO_N "checking for linux/version.h... $ECHO_C" >&6
74846 + { echo "$as_me:$LINENO: checking for linux/version.h" >&5
74847 +echo $ECHO_N "checking for linux/version.h... $ECHO_C" >&6; }
74848 if test "${ac_cv_header_linux_version_h+set}" = set; then
74849 echo $ECHO_N "(cached) $ECHO_C" >&6
74850 fi
74851 -echo "$as_me:$LINENO: result: $ac_cv_header_linux_version_h" >&5
74852 -echo "${ECHO_T}$ac_cv_header_linux_version_h" >&6
74853 +{ echo "$as_me:$LINENO: result: $ac_cv_header_linux_version_h" >&5
74854 +echo "${ECHO_T}$ac_cv_header_linux_version_h" >&6; }
74855 else
74856 # Is the header compilable?
74857 -echo "$as_me:$LINENO: checking linux/version.h usability" >&5
74858 -echo $ECHO_N "checking linux/version.h usability... $ECHO_C" >&6
74859 +{ echo "$as_me:$LINENO: checking linux/version.h usability" >&5
74860 +echo $ECHO_N "checking linux/version.h usability... $ECHO_C" >&6; }
74861 cat >conftest.$ac_ext <<_ACEOF
74862 /* confdefs.h. */
74863 _ACEOF
74864 @@ -8088,41 +8670,37 @@ $ac_includes_default
74865 #include <linux/version.h>
74866 _ACEOF
74867 rm -f conftest.$ac_objext
74868 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74869 - (eval $ac_compile) 2>conftest.er1
74870 +if { (ac_try="$ac_compile"
74871 +case "(($ac_try" in
74872 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
74873 + *) ac_try_echo=$ac_try;;
74874 +esac
74875 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
74876 + (eval "$ac_compile") 2>conftest.er1
74877 ac_status=$?
74878 grep -v '^ *+' conftest.er1 >conftest.err
74879 rm -f conftest.er1
74880 cat conftest.err >&5
74881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74882 - (exit $ac_status); } &&
74883 - { ac_try='test -z "$ac_c_werror_flag"
74884 - || test ! -s conftest.err'
74885 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74886 - (eval $ac_try) 2>&5
74887 - ac_status=$?
74888 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
74889 - (exit $ac_status); }; } &&
74890 - { ac_try='test -s conftest.$ac_objext'
74891 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74892 - (eval $ac_try) 2>&5
74893 - ac_status=$?
74894 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
74895 - (exit $ac_status); }; }; then
74896 + (exit $ac_status); } && {
74897 + test -z "$ac_c_werror_flag" ||
74898 + test ! -s conftest.err
74899 + } && test -s conftest.$ac_objext; then
74900 ac_header_compiler=yes
74901 else
74902 echo "$as_me: failed program was:" >&5
74903 sed 's/^/| /' conftest.$ac_ext >&5
74904
74905 -ac_header_compiler=no
74906 + ac_header_compiler=no
74907 fi
74908 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74909 -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
74910 -echo "${ECHO_T}$ac_header_compiler" >&6
74911 +
74912 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74913 +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
74914 +echo "${ECHO_T}$ac_header_compiler" >&6; }
74915
74916 # Is the header present?
74917 -echo "$as_me:$LINENO: checking linux/version.h presence" >&5
74918 -echo $ECHO_N "checking linux/version.h presence... $ECHO_C" >&6
74919 +{ echo "$as_me:$LINENO: checking linux/version.h presence" >&5
74920 +echo $ECHO_N "checking linux/version.h presence... $ECHO_C" >&6; }
74921 cat >conftest.$ac_ext <<_ACEOF
74922 /* confdefs.h. */
74923 _ACEOF
74924 @@ -8131,24 +8709,22 @@ cat >>conftest.$ac_ext <<_ACEOF
74925 /* end confdefs.h. */
74926 #include <linux/version.h>
74927 _ACEOF
74928 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
74929 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
74930 +if { (ac_try="$ac_cpp conftest.$ac_ext"
74931 +case "(($ac_try" in
74932 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
74933 + *) ac_try_echo=$ac_try;;
74934 +esac
74935 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
74936 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
74937 ac_status=$?
74938 grep -v '^ *+' conftest.er1 >conftest.err
74939 rm -f conftest.er1
74940 cat conftest.err >&5
74941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74942 - (exit $ac_status); } >/dev/null; then
74943 - if test -s conftest.err; then
74944 - ac_cpp_err=$ac_c_preproc_warn_flag
74945 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
74946 - else
74947 - ac_cpp_err=
74948 - fi
74949 -else
74950 - ac_cpp_err=yes
74951 -fi
74952 -if test -z "$ac_cpp_err"; then
74953 + (exit $ac_status); } >/dev/null && {
74954 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
74955 + test ! -s conftest.err
74956 + }; then
74957 ac_header_preproc=yes
74958 else
74959 echo "$as_me: failed program was:" >&5
74960 @@ -8156,9 +8732,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
74961
74962 ac_header_preproc=no
74963 fi
74964 +
74965 rm -f conftest.err conftest.$ac_ext
74966 -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
74967 -echo "${ECHO_T}$ac_header_preproc" >&6
74968 +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
74969 +echo "${ECHO_T}$ac_header_preproc" >&6; }
74970
74971 # So? What about this header?
74972 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
74973 @@ -8182,25 +8759,18 @@ echo "$as_me: WARNING: linux/version.h:
74974 echo "$as_me: WARNING: linux/version.h: proceeding with the preprocessor's result" >&2;}
74975 { echo "$as_me:$LINENO: WARNING: linux/version.h: in the future, the compiler will take precedence" >&5
74976 echo "$as_me: WARNING: linux/version.h: in the future, the compiler will take precedence" >&2;}
74977 - (
74978 - cat <<\_ASBOX
74979 -## ------------------------------------------ ##
74980 -## Report this to the AC_PACKAGE_NAME lists. ##
74981 -## ------------------------------------------ ##
74982 -_ASBOX
74983 - ) |
74984 - sed "s/^/$as_me: WARNING: /" >&2
74985 +
74986 ;;
74987 esac
74988 -echo "$as_me:$LINENO: checking for linux/version.h" >&5
74989 -echo $ECHO_N "checking for linux/version.h... $ECHO_C" >&6
74990 +{ echo "$as_me:$LINENO: checking for linux/version.h" >&5
74991 +echo $ECHO_N "checking for linux/version.h... $ECHO_C" >&6; }
74992 if test "${ac_cv_header_linux_version_h+set}" = set; then
74993 echo $ECHO_N "(cached) $ECHO_C" >&6
74994 else
74995 ac_cv_header_linux_version_h=$ac_header_preproc
74996 fi
74997 -echo "$as_me:$LINENO: result: $ac_cv_header_linux_version_h" >&5
74998 -echo "${ECHO_T}$ac_cv_header_linux_version_h" >&6
74999 +{ echo "$as_me:$LINENO: result: $ac_cv_header_linux_version_h" >&5
75000 +echo "${ECHO_T}$ac_cv_header_linux_version_h" >&6; }
75001
75002 fi
75003 if test $ac_cv_header_linux_version_h = yes; then
75004 @@ -8256,8 +8826,8 @@ for ac_prog in 'bison -y' byacc
75005 do
75006 # Extract the first word of "$ac_prog", so it can be a program name with args.
75007 set dummy $ac_prog; ac_word=$2
75008 -echo "$as_me:$LINENO: checking for $ac_word" >&5
75009 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
75010 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
75011 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
75012 if test "${ac_cv_prog_YACC+set}" = set; then
75013 echo $ECHO_N "(cached) $ECHO_C" >&6
75014 else
75015 @@ -8270,25 +8840,27 @@ do
75016 IFS=$as_save_IFS
75017 test -z "$as_dir" && as_dir=.
75018 for ac_exec_ext in '' $ac_executable_extensions; do
75019 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
75020 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
75021 ac_cv_prog_YACC="$ac_prog"
75022 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
75023 break 2
75024 fi
75025 done
75026 done
75027 +IFS=$as_save_IFS
75028
75029 fi
75030 fi
75031 YACC=$ac_cv_prog_YACC
75032 if test -n "$YACC"; then
75033 - echo "$as_me:$LINENO: result: $YACC" >&5
75034 -echo "${ECHO_T}$YACC" >&6
75035 + { echo "$as_me:$LINENO: result: $YACC" >&5
75036 +echo "${ECHO_T}$YACC" >&6; }
75037 else
75038 - echo "$as_me:$LINENO: result: no" >&5
75039 -echo "${ECHO_T}no" >&6
75040 + { echo "$as_me:$LINENO: result: no" >&5
75041 +echo "${ECHO_T}no" >&6; }
75042 fi
75043
75044 +
75045 test -n "$YACC" && break
75046 done
75047 test -n "$YACC" || YACC="yacc"
75048 @@ -8297,8 +8869,8 @@ for ac_prog in flex lex
75049 do
75050 # Extract the first word of "$ac_prog", so it can be a program name with args.
75051 set dummy $ac_prog; ac_word=$2
75052 -echo "$as_me:$LINENO: checking for $ac_word" >&5
75053 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
75054 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
75055 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
75056 if test "${ac_cv_prog_LEX+set}" = set; then
75057 echo $ECHO_N "(cached) $ECHO_C" >&6
75058 else
75059 @@ -8311,253 +8883,182 @@ do
75060 IFS=$as_save_IFS
75061 test -z "$as_dir" && as_dir=.
75062 for ac_exec_ext in '' $ac_executable_extensions; do
75063 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
75064 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
75065 ac_cv_prog_LEX="$ac_prog"
75066 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
75067 break 2
75068 fi
75069 done
75070 done
75071 +IFS=$as_save_IFS
75072
75073 fi
75074 fi
75075 LEX=$ac_cv_prog_LEX
75076 if test -n "$LEX"; then
75077 - echo "$as_me:$LINENO: result: $LEX" >&5
75078 -echo "${ECHO_T}$LEX" >&6
75079 + { echo "$as_me:$LINENO: result: $LEX" >&5
75080 +echo "${ECHO_T}$LEX" >&6; }
75081 else
75082 - echo "$as_me:$LINENO: result: no" >&5
75083 -echo "${ECHO_T}no" >&6
75084 + { echo "$as_me:$LINENO: result: no" >&5
75085 +echo "${ECHO_T}no" >&6; }
75086 fi
75087
75088 +
75089 test -n "$LEX" && break
75090 done
75091 test -n "$LEX" || LEX=":"
75092
75093 -if test -z "$LEXLIB"
75094 -then
75095 - echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
75096 -echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
75097 -if test "${ac_cv_lib_fl_yywrap+set}" = set; then
75098 - echo $ECHO_N "(cached) $ECHO_C" >&6
75099 -else
75100 - ac_check_lib_save_LIBS=$LIBS
75101 -LIBS="-lfl $LIBS"
75102 -cat >conftest.$ac_ext <<_ACEOF
75103 -/* confdefs.h. */
75104 -_ACEOF
75105 -cat confdefs.h >>conftest.$ac_ext
75106 -cat >>conftest.$ac_ext <<_ACEOF
75107 -/* end confdefs.h. */
75108 -
75109 -/* Override any gcc2 internal prototype to avoid an error. */
75110 -#ifdef __cplusplus
75111 -extern "C"
75112 +if test "x$LEX" != "x:"; then
75113 + cat >conftest.l <<_ACEOF
75114 +%%
75115 +a { ECHO; }
75116 +b { REJECT; }
75117 +c { yymore (); }
75118 +d { yyless (1); }
75119 +e { yyless (input () != 0); }
75120 +f { unput (yytext[0]); }
75121 +. { BEGIN INITIAL; }
75122 +%%
75123 +#ifdef YYTEXT_POINTER
75124 +extern char *yytext;
75125 #endif
75126 -/* We use char because int might match the return type of a gcc2
75127 - builtin and then its argument prototype would still apply. */
75128 -char yywrap ();
75129 int
75130 -main ()
75131 +main (void)
75132 {
75133 -yywrap ();
75134 - ;
75135 - return 0;
75136 + return ! yylex () + ! yywrap ();
75137 }
75138 _ACEOF
75139 -rm -f conftest.$ac_objext conftest$ac_exeext
75140 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75141 - (eval $ac_link) 2>conftest.er1
75142 - ac_status=$?
75143 - grep -v '^ *+' conftest.er1 >conftest.err
75144 - rm -f conftest.er1
75145 - cat conftest.err >&5
75146 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
75147 - (exit $ac_status); } &&
75148 - { ac_try='test -z "$ac_c_werror_flag"
75149 - || test ! -s conftest.err'
75150 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75151 - (eval $ac_try) 2>&5
75152 - ac_status=$?
75153 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
75154 - (exit $ac_status); }; } &&
75155 - { ac_try='test -s conftest$ac_exeext'
75156 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75157 - (eval $ac_try) 2>&5
75158 +{ (ac_try="$LEX conftest.l"
75159 +case "(($ac_try" in
75160 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
75161 + *) ac_try_echo=$ac_try;;
75162 +esac
75163 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
75164 + (eval "$LEX conftest.l") 2>&5
75165 ac_status=$?
75166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75167 - (exit $ac_status); }; }; then
75168 - ac_cv_lib_fl_yywrap=yes
75169 + (exit $ac_status); }
75170 +{ echo "$as_me:$LINENO: checking lex output file root" >&5
75171 +echo $ECHO_N "checking lex output file root... $ECHO_C" >&6; }
75172 +if test "${ac_cv_prog_lex_root+set}" = set; then
75173 + echo $ECHO_N "(cached) $ECHO_C" >&6
75174 else
75175 - echo "$as_me: failed program was:" >&5
75176 -sed 's/^/| /' conftest.$ac_ext >&5
75177
75178 -ac_cv_lib_fl_yywrap=no
75179 +if test -f lex.yy.c; then
75180 + ac_cv_prog_lex_root=lex.yy
75181 +elif test -f lexyy.c; then
75182 + ac_cv_prog_lex_root=lexyy
75183 +else
75184 + { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
75185 +echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
75186 + { (exit 1); exit 1; }; }
75187 fi
75188 -rm -f conftest.err conftest.$ac_objext \
75189 - conftest$ac_exeext conftest.$ac_ext
75190 -LIBS=$ac_check_lib_save_LIBS
75191 fi
75192 -echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
75193 -echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
75194 -if test $ac_cv_lib_fl_yywrap = yes; then
75195 - LEXLIB="-lfl"
75196 -else
75197 - echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
75198 -echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
75199 -if test "${ac_cv_lib_l_yywrap+set}" = set; then
75200 +{ echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
75201 +echo "${ECHO_T}$ac_cv_prog_lex_root" >&6; }
75202 +LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
75203 +
75204 +if test -z "${LEXLIB+set}"; then
75205 + { echo "$as_me:$LINENO: checking lex library" >&5
75206 +echo $ECHO_N "checking lex library... $ECHO_C" >&6; }
75207 +if test "${ac_cv_lib_lex+set}" = set; then
75208 echo $ECHO_N "(cached) $ECHO_C" >&6
75209 else
75210 - ac_check_lib_save_LIBS=$LIBS
75211 -LIBS="-ll $LIBS"
75212 -cat >conftest.$ac_ext <<_ACEOF
75213 -/* confdefs.h. */
75214 -_ACEOF
75215 -cat confdefs.h >>conftest.$ac_ext
75216 -cat >>conftest.$ac_ext <<_ACEOF
75217 -/* end confdefs.h. */
75218
75219 -/* Override any gcc2 internal prototype to avoid an error. */
75220 -#ifdef __cplusplus
75221 -extern "C"
75222 -#endif
75223 -/* We use char because int might match the return type of a gcc2
75224 - builtin and then its argument prototype would still apply. */
75225 -char yywrap ();
75226 -int
75227 -main ()
75228 -{
75229 -yywrap ();
75230 - ;
75231 - return 0;
75232 -}
75233 + ac_save_LIBS=$LIBS
75234 + ac_cv_lib_lex='none needed'
75235 + for ac_lib in '' -lfl -ll; do
75236 + LIBS="$ac_lib $ac_save_LIBS"
75237 + cat >conftest.$ac_ext <<_ACEOF
75238 +`cat $LEX_OUTPUT_ROOT.c`
75239 _ACEOF
75240 rm -f conftest.$ac_objext conftest$ac_exeext
75241 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75242 - (eval $ac_link) 2>conftest.er1
75243 +if { (ac_try="$ac_link"
75244 +case "(($ac_try" in
75245 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
75246 + *) ac_try_echo=$ac_try;;
75247 +esac
75248 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
75249 + (eval "$ac_link") 2>conftest.er1
75250 ac_status=$?
75251 grep -v '^ *+' conftest.er1 >conftest.err
75252 rm -f conftest.er1
75253 cat conftest.err >&5
75254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75255 - (exit $ac_status); } &&
75256 - { ac_try='test -z "$ac_c_werror_flag"
75257 - || test ! -s conftest.err'
75258 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75259 - (eval $ac_try) 2>&5
75260 - ac_status=$?
75261 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
75262 - (exit $ac_status); }; } &&
75263 - { ac_try='test -s conftest$ac_exeext'
75264 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75265 - (eval $ac_try) 2>&5
75266 - ac_status=$?
75267 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
75268 - (exit $ac_status); }; }; then
75269 - ac_cv_lib_l_yywrap=yes
75270 + (exit $ac_status); } && {
75271 + test -z "$ac_c_werror_flag" ||
75272 + test ! -s conftest.err
75273 + } && test -s conftest$ac_exeext &&
75274 + $as_test_x conftest$ac_exeext; then
75275 + ac_cv_lib_lex=$ac_lib
75276 else
75277 echo "$as_me: failed program was:" >&5
75278 sed 's/^/| /' conftest.$ac_ext >&5
75279
75280 -ac_cv_lib_l_yywrap=no
75281 -fi
75282 -rm -f conftest.err conftest.$ac_objext \
75283 - conftest$ac_exeext conftest.$ac_ext
75284 -LIBS=$ac_check_lib_save_LIBS
75285 -fi
75286 -echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
75287 -echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
75288 -if test $ac_cv_lib_l_yywrap = yes; then
75289 - LEXLIB="-ll"
75290 -fi
75291
75292 fi
75293
75294 -fi
75295 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
75296 + conftest$ac_exeext conftest.$ac_ext
75297 + test "$ac_cv_lib_lex" != 'none needed' && break
75298 + done
75299 + LIBS=$ac_save_LIBS
75300
75301 -if test "x$LEX" != "x:"; then
75302 - echo "$as_me:$LINENO: checking lex output file root" >&5
75303 -echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
75304 -if test "${ac_cv_prog_lex_root+set}" = set; then
75305 - echo $ECHO_N "(cached) $ECHO_C" >&6
75306 -else
75307 - # The minimal lex program is just a single line: %%. But some broken lexes
75308 -# (Solaris, I think it was) want two %% lines, so accommodate them.
75309 -cat >conftest.l <<_ACEOF
75310 -%%
75311 -%%
75312 -_ACEOF
75313 -{ (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
75314 - (eval $LEX conftest.l) 2>&5
75315 - ac_status=$?
75316 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
75317 - (exit $ac_status); }
75318 -if test -f lex.yy.c; then
75319 - ac_cv_prog_lex_root=lex.yy
75320 -elif test -f lexyy.c; then
75321 - ac_cv_prog_lex_root=lexyy
75322 -else
75323 - { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
75324 -echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
75325 - { (exit 1); exit 1; }; }
75326 fi
75327 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_lex" >&5
75328 +echo "${ECHO_T}$ac_cv_lib_lex" >&6; }
75329 + test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex
75330 fi
75331 -echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
75332 -echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
75333 -rm -f conftest.l
75334 -LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
75335
75336 -echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
75337 -echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
75338 +
75339 +{ echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
75340 +echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6; }
75341 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
75342 echo $ECHO_N "(cached) $ECHO_C" >&6
75343 else
75344 # POSIX says lex can declare yytext either as a pointer or an array; the
75345 -# default is implementation-dependent. Figure out which it is, since
75346 +# default is implementation-dependent. Figure out which it is, since
75347 # not all implementations provide the %pointer and %array declarations.
75348 ac_cv_prog_lex_yytext_pointer=no
75349 -echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
75350 ac_save_LIBS=$LIBS
75351 -LIBS="$LIBS $LEXLIB"
75352 +LIBS="$LEXLIB $ac_save_LIBS"
75353 cat >conftest.$ac_ext <<_ACEOF
75354 +#define YYTEXT_POINTER 1
75355 `cat $LEX_OUTPUT_ROOT.c`
75356 _ACEOF
75357 rm -f conftest.$ac_objext conftest$ac_exeext
75358 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75359 - (eval $ac_link) 2>conftest.er1
75360 +if { (ac_try="$ac_link"
75361 +case "(($ac_try" in
75362 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
75363 + *) ac_try_echo=$ac_try;;
75364 +esac
75365 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
75366 + (eval "$ac_link") 2>conftest.er1
75367 ac_status=$?
75368 grep -v '^ *+' conftest.er1 >conftest.err
75369 rm -f conftest.er1
75370 cat conftest.err >&5
75371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75372 - (exit $ac_status); } &&
75373 - { ac_try='test -z "$ac_c_werror_flag"
75374 - || test ! -s conftest.err'
75375 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75376 - (eval $ac_try) 2>&5
75377 - ac_status=$?
75378 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
75379 - (exit $ac_status); }; } &&
75380 - { ac_try='test -s conftest$ac_exeext'
75381 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75382 - (eval $ac_try) 2>&5
75383 - ac_status=$?
75384 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
75385 - (exit $ac_status); }; }; then
75386 + (exit $ac_status); } && {
75387 + test -z "$ac_c_werror_flag" ||
75388 + test ! -s conftest.err
75389 + } && test -s conftest$ac_exeext &&
75390 + $as_test_x conftest$ac_exeext; then
75391 ac_cv_prog_lex_yytext_pointer=yes
75392 else
75393 echo "$as_me: failed program was:" >&5
75394 sed 's/^/| /' conftest.$ac_ext >&5
75395
75396 +
75397 fi
75398 -rm -f conftest.err conftest.$ac_objext \
75399 +
75400 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
75401 conftest$ac_exeext conftest.$ac_ext
75402 LIBS=$ac_save_LIBS
75403 -rm -f "${LEX_OUTPUT_ROOT}.c"
75404
75405 fi
75406 -echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
75407 -echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
75408 +{ echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
75409 +echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6; }
75410 if test $ac_cv_prog_lex_yytext_pointer = yes; then
75411
75412 cat >>confdefs.h <<\_ACEOF
75413 @@ -8565,23 +9066,24 @@ cat >>confdefs.h <<\_ACEOF
75414 _ACEOF
75415
75416 fi
75417 +rm -f conftest.l $LEX_OUTPUT_ROOT.c
75418
75419 fi
75420 if test "$LEX" = :; then
75421 LEX=${am_missing_run}flex
75422 fi
75423
75424 -echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
75425 -echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
75426 - # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
75427 +{ echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
75428 +echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
75429 + # Check whether --enable-maintainer-mode was given.
75430 if test "${enable_maintainer_mode+set}" = set; then
75431 - enableval="$enable_maintainer_mode"
75432 - USE_MAINTAINER_MODE=$enableval
75433 + enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
75434 else
75435 USE_MAINTAINER_MODE=no
75436 -fi;
75437 - echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
75438 -echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
75439 +fi
75440 +
75441 + { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
75442 +echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
75443
75444
75445 if test $USE_MAINTAINER_MODE = yes; then
75446 @@ -8611,18 +9113,19 @@ fi
75447 for ac_header in string.h strings.h stdlib.h unistd.h elf-hints.h
75448 do
75449 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
75450 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
75451 - echo "$as_me:$LINENO: checking for $ac_header" >&5
75452 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
75453 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
75454 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
75455 + { echo "$as_me:$LINENO: checking for $ac_header" >&5
75456 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
75457 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
75458 echo $ECHO_N "(cached) $ECHO_C" >&6
75459 fi
75460 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
75461 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
75462 +ac_res=`eval echo '${'$as_ac_Header'}'`
75463 + { echo "$as_me:$LINENO: result: $ac_res" >&5
75464 +echo "${ECHO_T}$ac_res" >&6; }
75465 else
75466 # Is the header compilable?
75467 -echo "$as_me:$LINENO: checking $ac_header usability" >&5
75468 -echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
75469 +{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
75470 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
75471 cat >conftest.$ac_ext <<_ACEOF
75472 /* confdefs.h. */
75473 _ACEOF
75474 @@ -8633,41 +9136,37 @@ $ac_includes_default
75475 #include <$ac_header>
75476 _ACEOF
75477 rm -f conftest.$ac_objext
75478 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75479 - (eval $ac_compile) 2>conftest.er1
75480 +if { (ac_try="$ac_compile"
75481 +case "(($ac_try" in
75482 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
75483 + *) ac_try_echo=$ac_try;;
75484 +esac
75485 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
75486 + (eval "$ac_compile") 2>conftest.er1
75487 ac_status=$?
75488 grep -v '^ *+' conftest.er1 >conftest.err
75489 rm -f conftest.er1
75490 cat conftest.err >&5
75491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75492 - (exit $ac_status); } &&
75493 - { ac_try='test -z "$ac_c_werror_flag"
75494 - || test ! -s conftest.err'
75495 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75496 - (eval $ac_try) 2>&5
75497 - ac_status=$?
75498 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
75499 - (exit $ac_status); }; } &&
75500 - { ac_try='test -s conftest.$ac_objext'
75501 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75502 - (eval $ac_try) 2>&5
75503 - ac_status=$?
75504 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
75505 - (exit $ac_status); }; }; then
75506 + (exit $ac_status); } && {
75507 + test -z "$ac_c_werror_flag" ||
75508 + test ! -s conftest.err
75509 + } && test -s conftest.$ac_objext; then
75510 ac_header_compiler=yes
75511 else
75512 echo "$as_me: failed program was:" >&5
75513 sed 's/^/| /' conftest.$ac_ext >&5
75514
75515 -ac_header_compiler=no
75516 + ac_header_compiler=no
75517 fi
75518 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75519 -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
75520 -echo "${ECHO_T}$ac_header_compiler" >&6
75521 +
75522 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75523 +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
75524 +echo "${ECHO_T}$ac_header_compiler" >&6; }
75525
75526 # Is the header present?
75527 -echo "$as_me:$LINENO: checking $ac_header presence" >&5
75528 -echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
75529 +{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
75530 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
75531 cat >conftest.$ac_ext <<_ACEOF
75532 /* confdefs.h. */
75533 _ACEOF
75534 @@ -8676,24 +9175,22 @@ cat >>conftest.$ac_ext <<_ACEOF
75535 /* end confdefs.h. */
75536 #include <$ac_header>
75537 _ACEOF
75538 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
75539 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
75540 +if { (ac_try="$ac_cpp conftest.$ac_ext"
75541 +case "(($ac_try" in
75542 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
75543 + *) ac_try_echo=$ac_try;;
75544 +esac
75545 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
75546 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
75547 ac_status=$?
75548 grep -v '^ *+' conftest.er1 >conftest.err
75549 rm -f conftest.er1
75550 cat conftest.err >&5
75551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75552 - (exit $ac_status); } >/dev/null; then
75553 - if test -s conftest.err; then
75554 - ac_cpp_err=$ac_c_preproc_warn_flag
75555 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
75556 - else
75557 - ac_cpp_err=
75558 - fi
75559 -else
75560 - ac_cpp_err=yes
75561 -fi
75562 -if test -z "$ac_cpp_err"; then
75563 + (exit $ac_status); } >/dev/null && {
75564 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
75565 + test ! -s conftest.err
75566 + }; then
75567 ac_header_preproc=yes
75568 else
75569 echo "$as_me: failed program was:" >&5
75570 @@ -8701,9 +9198,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
75571
75572 ac_header_preproc=no
75573 fi
75574 +
75575 rm -f conftest.err conftest.$ac_ext
75576 -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
75577 -echo "${ECHO_T}$ac_header_preproc" >&6
75578 +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
75579 +echo "${ECHO_T}$ac_header_preproc" >&6; }
75580
75581 # So? What about this header?
75582 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
75583 @@ -8727,25 +9225,19 @@ echo "$as_me: WARNING: $ac_header: s
75584 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
75585 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
75586 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
75587 - (
75588 - cat <<\_ASBOX
75589 -## ------------------------------------------ ##
75590 -## Report this to the AC_PACKAGE_NAME lists. ##
75591 -## ------------------------------------------ ##
75592 -_ASBOX
75593 - ) |
75594 - sed "s/^/$as_me: WARNING: /" >&2
75595 +
75596 ;;
75597 esac
75598 -echo "$as_me:$LINENO: checking for $ac_header" >&5
75599 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
75600 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
75601 +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
75602 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
75603 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
75604 echo $ECHO_N "(cached) $ECHO_C" >&6
75605 else
75606 eval "$as_ac_Header=\$ac_header_preproc"
75607 fi
75608 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
75609 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
75610 +ac_res=`eval echo '${'$as_ac_Header'}'`
75611 + { echo "$as_me:$LINENO: result: $ac_res" >&5
75612 +echo "${ECHO_T}$ac_res" >&6; }
75613
75614 fi
75615 if test `eval echo '${'$as_ac_Header'}'` = yes; then
75616 @@ -8763,9 +9255,9 @@ done
75617 for ac_func in sbrk realpath glob
75618 do
75619 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75620 -echo "$as_me:$LINENO: checking for $ac_func" >&5
75621 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75622 -if eval "test \"\${$as_ac_var+set}\" = set"; then
75623 +{ echo "$as_me:$LINENO: checking for $ac_func" >&5
75624 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
75625 +if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
75626 echo $ECHO_N "(cached) $ECHO_C" >&6
75627 else
75628 cat >conftest.$ac_ext <<_ACEOF
75629 @@ -8791,68 +9283,60 @@ cat >>conftest.$ac_ext <<_ACEOF
75630
75631 #undef $ac_func
75632
75633 -/* Override any gcc2 internal prototype to avoid an error. */
75634 +/* Override any GCC internal prototype to avoid an error.
75635 + Use char because int might match the return type of a GCC
75636 + builtin and then its argument prototype would still apply. */
75637 #ifdef __cplusplus
75638 extern "C"
75639 -{
75640 #endif
75641 -/* We use char because int might match the return type of a gcc2
75642 - builtin and then its argument prototype would still apply. */
75643 char $ac_func ();
75644 /* The GNU C library defines this for functions which it implements
75645 to always fail with ENOSYS. Some functions are actually named
75646 something starting with __ and the normal name is an alias. */
75647 -#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75648 +#if defined __stub_$ac_func || defined __stub___$ac_func
75649 choke me
75650 -#else
75651 -char (*f) () = $ac_func;
75652 -#endif
75653 -#ifdef __cplusplus
75654 -}
75655 #endif
75656
75657 int
75658 main ()
75659 {
75660 -return f != $ac_func;
75661 +return $ac_func ();
75662 ;
75663 return 0;
75664 }
75665 _ACEOF
75666 rm -f conftest.$ac_objext conftest$ac_exeext
75667 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75668 - (eval $ac_link) 2>conftest.er1
75669 +if { (ac_try="$ac_link"
75670 +case "(($ac_try" in
75671 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
75672 + *) ac_try_echo=$ac_try;;
75673 +esac
75674 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
75675 + (eval "$ac_link") 2>conftest.er1
75676 ac_status=$?
75677 grep -v '^ *+' conftest.er1 >conftest.err
75678 rm -f conftest.er1
75679 cat conftest.err >&5
75680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75681 - (exit $ac_status); } &&
75682 - { ac_try='test -z "$ac_c_werror_flag"
75683 - || test ! -s conftest.err'
75684 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75685 - (eval $ac_try) 2>&5
75686 - ac_status=$?
75687 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
75688 - (exit $ac_status); }; } &&
75689 - { ac_try='test -s conftest$ac_exeext'
75690 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75691 - (eval $ac_try) 2>&5
75692 - ac_status=$?
75693 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
75694 - (exit $ac_status); }; }; then
75695 + (exit $ac_status); } && {
75696 + test -z "$ac_c_werror_flag" ||
75697 + test ! -s conftest.err
75698 + } && test -s conftest$ac_exeext &&
75699 + $as_test_x conftest$ac_exeext; then
75700 eval "$as_ac_var=yes"
75701 else
75702 echo "$as_me: failed program was:" >&5
75703 sed 's/^/| /' conftest.$ac_ext >&5
75704
75705 -eval "$as_ac_var=no"
75706 + eval "$as_ac_var=no"
75707 fi
75708 -rm -f conftest.err conftest.$ac_objext \
75709 +
75710 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
75711 conftest$ac_exeext conftest.$ac_ext
75712 fi
75713 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75714 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75715 +ac_res=`eval echo '${'$as_ac_var'}'`
75716 + { echo "$as_me:$LINENO: result: $ac_res" >&5
75717 +echo "${ECHO_T}$ac_res" >&6; }
75718 if test `eval echo '${'$as_ac_var'}'` = yes; then
75719 cat >>confdefs.h <<_ACEOF
75720 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75721 @@ -8869,9 +9353,9 @@ done
75722 ac_header_dirent=no
75723 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
75724 as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
75725 -echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
75726 -echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
75727 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
75728 +{ echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
75729 +echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6; }
75730 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
75731 echo $ECHO_N "(cached) $ECHO_C" >&6
75732 else
75733 cat >conftest.$ac_ext <<_ACEOF
75734 @@ -8893,38 +9377,35 @@ return 0;
75735 }
75736 _ACEOF
75737 rm -f conftest.$ac_objext
75738 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75739 - (eval $ac_compile) 2>conftest.er1
75740 +if { (ac_try="$ac_compile"
75741 +case "(($ac_try" in
75742 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
75743 + *) ac_try_echo=$ac_try;;
75744 +esac
75745 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
75746 + (eval "$ac_compile") 2>conftest.er1
75747 ac_status=$?
75748 grep -v '^ *+' conftest.er1 >conftest.err
75749 rm -f conftest.er1
75750 cat conftest.err >&5
75751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75752 - (exit $ac_status); } &&
75753 - { ac_try='test -z "$ac_c_werror_flag"
75754 - || test ! -s conftest.err'
75755 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75756 - (eval $ac_try) 2>&5
75757 - ac_status=$?
75758 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
75759 - (exit $ac_status); }; } &&
75760 - { ac_try='test -s conftest.$ac_objext'
75761 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75762 - (eval $ac_try) 2>&5
75763 - ac_status=$?
75764 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
75765 - (exit $ac_status); }; }; then
75766 + (exit $ac_status); } && {
75767 + test -z "$ac_c_werror_flag" ||
75768 + test ! -s conftest.err
75769 + } && test -s conftest.$ac_objext; then
75770 eval "$as_ac_Header=yes"
75771 else
75772 echo "$as_me: failed program was:" >&5
75773 sed 's/^/| /' conftest.$ac_ext >&5
75774
75775 -eval "$as_ac_Header=no"
75776 + eval "$as_ac_Header=no"
75777 fi
75778 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75779 +
75780 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75781 fi
75782 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
75783 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
75784 +ac_res=`eval echo '${'$as_ac_Header'}'`
75785 + { echo "$as_me:$LINENO: result: $ac_res" >&5
75786 +echo "${ECHO_T}$ac_res" >&6; }
75787 if test `eval echo '${'$as_ac_Header'}'` = yes; then
75788 cat >>confdefs.h <<_ACEOF
75789 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
75790 @@ -8936,13 +9417,12 @@ fi
75791 done
75792 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
75793 if test $ac_header_dirent = dirent.h; then
75794 - echo "$as_me:$LINENO: checking for library containing opendir" >&5
75795 -echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
75796 + { echo "$as_me:$LINENO: checking for library containing opendir" >&5
75797 +echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
75798 if test "${ac_cv_search_opendir+set}" = set; then
75799 echo $ECHO_N "(cached) $ECHO_C" >&6
75800 else
75801 ac_func_search_save_LIBS=$LIBS
75802 -ac_cv_search_opendir=no
75803 cat >conftest.$ac_ext <<_ACEOF
75804 /* confdefs.h. */
75805 _ACEOF
75806 @@ -8950,126 +9430,83 @@ cat confdefs.h >>conftest.$ac_ext
75807 cat >>conftest.$ac_ext <<_ACEOF
75808 /* end confdefs.h. */
75809
75810 -/* Override any gcc2 internal prototype to avoid an error. */
75811 +/* Override any GCC internal prototype to avoid an error.
75812 + Use char because int might match the return type of a GCC
75813 + builtin and then its argument prototype would still apply. */
75814 #ifdef __cplusplus
75815 extern "C"
75816 #endif
75817 -/* We use char because int might match the return type of a gcc2
75818 - builtin and then its argument prototype would still apply. */
75819 char opendir ();
75820 int
75821 main ()
75822 {
75823 -opendir ();
75824 +return opendir ();
75825 ;
75826 return 0;
75827 }
75828 _ACEOF
75829 -rm -f conftest.$ac_objext conftest$ac_exeext
75830 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75831 - (eval $ac_link) 2>conftest.er1
75832 +for ac_lib in '' dir; do
75833 + if test -z "$ac_lib"; then
75834 + ac_res="none required"
75835 + else
75836 + ac_res=-l$ac_lib
75837 + LIBS="-l$ac_lib $ac_func_search_save_LIBS"
75838 + fi
75839 + rm -f conftest.$ac_objext conftest$ac_exeext
75840 +if { (ac_try="$ac_link"
75841 +case "(($ac_try" in
75842 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
75843 + *) ac_try_echo=$ac_try;;
75844 +esac
75845 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
75846 + (eval "$ac_link") 2>conftest.er1
75847 ac_status=$?
75848 grep -v '^ *+' conftest.er1 >conftest.err
75849 rm -f conftest.er1
75850 cat conftest.err >&5
75851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75852 - (exit $ac_status); } &&
75853 - { ac_try='test -z "$ac_c_werror_flag"
75854 - || test ! -s conftest.err'
75855 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75856 - (eval $ac_try) 2>&5
75857 - ac_status=$?
75858 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
75859 - (exit $ac_status); }; } &&
75860 - { ac_try='test -s conftest$ac_exeext'
75861 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75862 - (eval $ac_try) 2>&5
75863 - ac_status=$?
75864 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
75865 - (exit $ac_status); }; }; then
75866 - ac_cv_search_opendir="none required"
75867 + (exit $ac_status); } && {
75868 + test -z "$ac_c_werror_flag" ||
75869 + test ! -s conftest.err
75870 + } && test -s conftest$ac_exeext &&
75871 + $as_test_x conftest$ac_exeext; then
75872 + ac_cv_search_opendir=$ac_res
75873 else
75874 echo "$as_me: failed program was:" >&5
75875 sed 's/^/| /' conftest.$ac_ext >&5
75876
75877 +
75878 fi
75879 -rm -f conftest.err conftest.$ac_objext \
75880 - conftest$ac_exeext conftest.$ac_ext
75881 -if test "$ac_cv_search_opendir" = no; then
75882 - for ac_lib in dir; do
75883 - LIBS="-l$ac_lib $ac_func_search_save_LIBS"
75884 - cat >conftest.$ac_ext <<_ACEOF
75885 -/* confdefs.h. */
75886 -_ACEOF
75887 -cat confdefs.h >>conftest.$ac_ext
75888 -cat >>conftest.$ac_ext <<_ACEOF
75889 -/* end confdefs.h. */
75890 -
75891 -/* Override any gcc2 internal prototype to avoid an error. */
75892 -#ifdef __cplusplus
75893 -extern "C"
75894 -#endif
75895 -/* We use char because int might match the return type of a gcc2
75896 - builtin and then its argument prototype would still apply. */
75897 -char opendir ();
75898 -int
75899 -main ()
75900 -{
75901 -opendir ();
75902 - ;
75903 - return 0;
75904 -}
75905 -_ACEOF
75906 -rm -f conftest.$ac_objext conftest$ac_exeext
75907 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75908 - (eval $ac_link) 2>conftest.er1
75909 - ac_status=$?
75910 - grep -v '^ *+' conftest.er1 >conftest.err
75911 - rm -f conftest.er1
75912 - cat conftest.err >&5
75913 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
75914 - (exit $ac_status); } &&
75915 - { ac_try='test -z "$ac_c_werror_flag"
75916 - || test ! -s conftest.err'
75917 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75918 - (eval $ac_try) 2>&5
75919 - ac_status=$?
75920 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
75921 - (exit $ac_status); }; } &&
75922 - { ac_try='test -s conftest$ac_exeext'
75923 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75924 - (eval $ac_try) 2>&5
75925 - ac_status=$?
75926 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
75927 - (exit $ac_status); }; }; then
75928 - ac_cv_search_opendir="-l$ac_lib"
75929 -break
75930 -else
75931 - echo "$as_me: failed program was:" >&5
75932 -sed 's/^/| /' conftest.$ac_ext >&5
75933
75934 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
75935 + conftest$ac_exeext
75936 + if test "${ac_cv_search_opendir+set}" = set; then
75937 + break
75938 fi
75939 -rm -f conftest.err conftest.$ac_objext \
75940 - conftest$ac_exeext conftest.$ac_ext
75941 - done
75942 +done
75943 +if test "${ac_cv_search_opendir+set}" = set; then
75944 + :
75945 +else
75946 + ac_cv_search_opendir=no
75947 fi
75948 +rm conftest.$ac_ext
75949 LIBS=$ac_func_search_save_LIBS
75950 fi
75951 -echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
75952 -echo "${ECHO_T}$ac_cv_search_opendir" >&6
75953 -if test "$ac_cv_search_opendir" != no; then
75954 - test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
75955 +{ echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
75956 +echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
75957 +ac_res=$ac_cv_search_opendir
75958 +if test "$ac_res" != no; then
75959 + test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
75960
75961 fi
75962
75963 else
75964 - echo "$as_me:$LINENO: checking for library containing opendir" >&5
75965 -echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
75966 + { echo "$as_me:$LINENO: checking for library containing opendir" >&5
75967 +echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
75968 if test "${ac_cv_search_opendir+set}" = set; then
75969 echo $ECHO_N "(cached) $ECHO_C" >&6
75970 else
75971 ac_func_search_save_LIBS=$LIBS
75972 -ac_cv_search_opendir=no
75973 cat >conftest.$ac_ext <<_ACEOF
75974 /* confdefs.h. */
75975 _ACEOF
75976 @@ -9077,123 +9514,81 @@ cat confdefs.h >>conftest.$ac_ext
75977 cat >>conftest.$ac_ext <<_ACEOF
75978 /* end confdefs.h. */
75979
75980 -/* Override any gcc2 internal prototype to avoid an error. */
75981 +/* Override any GCC internal prototype to avoid an error.
75982 + Use char because int might match the return type of a GCC
75983 + builtin and then its argument prototype would still apply. */
75984 #ifdef __cplusplus
75985 extern "C"
75986 #endif
75987 -/* We use char because int might match the return type of a gcc2
75988 - builtin and then its argument prototype would still apply. */
75989 char opendir ();
75990 int
75991 main ()
75992 {
75993 -opendir ();
75994 +return opendir ();
75995 ;
75996 return 0;
75997 }
75998 _ACEOF
75999 -rm -f conftest.$ac_objext conftest$ac_exeext
76000 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76001 - (eval $ac_link) 2>conftest.er1
76002 +for ac_lib in '' x; do
76003 + if test -z "$ac_lib"; then
76004 + ac_res="none required"
76005 + else
76006 + ac_res=-l$ac_lib
76007 + LIBS="-l$ac_lib $ac_func_search_save_LIBS"
76008 + fi
76009 + rm -f conftest.$ac_objext conftest$ac_exeext
76010 +if { (ac_try="$ac_link"
76011 +case "(($ac_try" in
76012 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
76013 + *) ac_try_echo=$ac_try;;
76014 +esac
76015 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
76016 + (eval "$ac_link") 2>conftest.er1
76017 ac_status=$?
76018 grep -v '^ *+' conftest.er1 >conftest.err
76019 rm -f conftest.er1
76020 cat conftest.err >&5
76021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76022 - (exit $ac_status); } &&
76023 - { ac_try='test -z "$ac_c_werror_flag"
76024 - || test ! -s conftest.err'
76025 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76026 - (eval $ac_try) 2>&5
76027 - ac_status=$?
76028 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
76029 - (exit $ac_status); }; } &&
76030 - { ac_try='test -s conftest$ac_exeext'
76031 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76032 - (eval $ac_try) 2>&5
76033 - ac_status=$?
76034 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
76035 - (exit $ac_status); }; }; then
76036 - ac_cv_search_opendir="none required"
76037 + (exit $ac_status); } && {
76038 + test -z "$ac_c_werror_flag" ||
76039 + test ! -s conftest.err
76040 + } && test -s conftest$ac_exeext &&
76041 + $as_test_x conftest$ac_exeext; then
76042 + ac_cv_search_opendir=$ac_res
76043 else
76044 echo "$as_me: failed program was:" >&5
76045 sed 's/^/| /' conftest.$ac_ext >&5
76046
76047 -fi
76048 -rm -f conftest.err conftest.$ac_objext \
76049 - conftest$ac_exeext conftest.$ac_ext
76050 -if test "$ac_cv_search_opendir" = no; then
76051 - for ac_lib in x; do
76052 - LIBS="-l$ac_lib $ac_func_search_save_LIBS"
76053 - cat >conftest.$ac_ext <<_ACEOF
76054 -/* confdefs.h. */
76055 -_ACEOF
76056 -cat confdefs.h >>conftest.$ac_ext
76057 -cat >>conftest.$ac_ext <<_ACEOF
76058 -/* end confdefs.h. */
76059
76060 -/* Override any gcc2 internal prototype to avoid an error. */
76061 -#ifdef __cplusplus
76062 -extern "C"
76063 -#endif
76064 -/* We use char because int might match the return type of a gcc2
76065 - builtin and then its argument prototype would still apply. */
76066 -char opendir ();
76067 -int
76068 -main ()
76069 -{
76070 -opendir ();
76071 - ;
76072 - return 0;
76073 -}
76074 -_ACEOF
76075 -rm -f conftest.$ac_objext conftest$ac_exeext
76076 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76077 - (eval $ac_link) 2>conftest.er1
76078 - ac_status=$?
76079 - grep -v '^ *+' conftest.er1 >conftest.err
76080 - rm -f conftest.er1
76081 - cat conftest.err >&5
76082 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
76083 - (exit $ac_status); } &&
76084 - { ac_try='test -z "$ac_c_werror_flag"
76085 - || test ! -s conftest.err'
76086 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76087 - (eval $ac_try) 2>&5
76088 - ac_status=$?
76089 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
76090 - (exit $ac_status); }; } &&
76091 - { ac_try='test -s conftest$ac_exeext'
76092 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76093 - (eval $ac_try) 2>&5
76094 - ac_status=$?
76095 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
76096 - (exit $ac_status); }; }; then
76097 - ac_cv_search_opendir="-l$ac_lib"
76098 -break
76099 -else
76100 - echo "$as_me: failed program was:" >&5
76101 -sed 's/^/| /' conftest.$ac_ext >&5
76102 +fi
76103
76104 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
76105 + conftest$ac_exeext
76106 + if test "${ac_cv_search_opendir+set}" = set; then
76107 + break
76108 fi
76109 -rm -f conftest.err conftest.$ac_objext \
76110 - conftest$ac_exeext conftest.$ac_ext
76111 - done
76112 +done
76113 +if test "${ac_cv_search_opendir+set}" = set; then
76114 + :
76115 +else
76116 + ac_cv_search_opendir=no
76117 fi
76118 +rm conftest.$ac_ext
76119 LIBS=$ac_func_search_save_LIBS
76120 fi
76121 -echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
76122 -echo "${ECHO_T}$ac_cv_search_opendir" >&6
76123 -if test "$ac_cv_search_opendir" != no; then
76124 - test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
76125 +{ echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
76126 +echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
76127 +ac_res=$ac_cv_search_opendir
76128 +if test "$ac_res" != no; then
76129 + test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
76130
76131 fi
76132
76133 fi
76134
76135
76136 -echo "$as_me:$LINENO: checking for a known getopt prototype in unistd.h" >&5
76137 -echo $ECHO_N "checking for a known getopt prototype in unistd.h... $ECHO_C" >&6
76138 +{ echo "$as_me:$LINENO: checking for a known getopt prototype in unistd.h" >&5
76139 +echo $ECHO_N "checking for a known getopt prototype in unistd.h... $ECHO_C" >&6; }
76140 if test "${ld_cv_decl_getopt_unistd_h+set}" = set; then
76141 echo $ECHO_N "(cached) $ECHO_C" >&6
76142 else
76143 @@ -9213,39 +9608,35 @@ extern int getopt (int, char *const*, co
76144 }
76145 _ACEOF
76146 rm -f conftest.$ac_objext
76147 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76148 - (eval $ac_compile) 2>conftest.er1
76149 +if { (ac_try="$ac_compile"
76150 +case "(($ac_try" in
76151 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
76152 + *) ac_try_echo=$ac_try;;
76153 +esac
76154 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
76155 + (eval "$ac_compile") 2>conftest.er1
76156 ac_status=$?
76157 grep -v '^ *+' conftest.er1 >conftest.err
76158 rm -f conftest.er1
76159 cat conftest.err >&5
76160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76161 - (exit $ac_status); } &&
76162 - { ac_try='test -z "$ac_c_werror_flag"
76163 - || test ! -s conftest.err'
76164 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76165 - (eval $ac_try) 2>&5
76166 - ac_status=$?
76167 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
76168 - (exit $ac_status); }; } &&
76169 - { ac_try='test -s conftest.$ac_objext'
76170 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76171 - (eval $ac_try) 2>&5
76172 - ac_status=$?
76173 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
76174 - (exit $ac_status); }; }; then
76175 + (exit $ac_status); } && {
76176 + test -z "$ac_c_werror_flag" ||
76177 + test ! -s conftest.err
76178 + } && test -s conftest.$ac_objext; then
76179 ld_cv_decl_getopt_unistd_h=yes
76180 else
76181 echo "$as_me: failed program was:" >&5
76182 sed 's/^/| /' conftest.$ac_ext >&5
76183
76184 -ld_cv_decl_getopt_unistd_h=no
76185 + ld_cv_decl_getopt_unistd_h=no
76186 fi
76187 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76188 +
76189 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76190 fi
76191
76192 -echo "$as_me:$LINENO: result: $ld_cv_decl_getopt_unistd_h" >&5
76193 -echo "${ECHO_T}$ld_cv_decl_getopt_unistd_h" >&6
76194 +{ echo "$as_me:$LINENO: result: $ld_cv_decl_getopt_unistd_h" >&5
76195 +echo "${ECHO_T}$ld_cv_decl_getopt_unistd_h" >&6; }
76196 if test $ld_cv_decl_getopt_unistd_h = yes; then
76197
76198 cat >>confdefs.h <<\_ACEOF
76199 @@ -9264,8 +9655,8 @@ _ACEOF
76200 ;;
76201 esac
76202
76203 -echo "$as_me:$LINENO: checking whether strstr is declared" >&5
76204 -echo $ECHO_N "checking whether strstr is declared... $ECHO_C" >&6
76205 +{ echo "$as_me:$LINENO: checking whether strstr is declared" >&5
76206 +echo $ECHO_N "checking whether strstr is declared... $ECHO_C" >&6; }
76207 if test "${ac_cv_have_decl_strstr+set}" = set; then
76208 echo $ECHO_N "(cached) $ECHO_C" >&6
76209 else
76210 @@ -9280,7 +9671,7 @@ int
76211 main ()
76212 {
76213 #ifndef strstr
76214 - char *p = (char *) strstr;
76215 + (void) strstr;
76216 #endif
76217
76218 ;
76219 @@ -9288,38 +9679,34 @@ main ()
76220 }
76221 _ACEOF
76222 rm -f conftest.$ac_objext
76223 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76224 - (eval $ac_compile) 2>conftest.er1
76225 +if { (ac_try="$ac_compile"
76226 +case "(($ac_try" in
76227 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
76228 + *) ac_try_echo=$ac_try;;
76229 +esac
76230 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
76231 + (eval "$ac_compile") 2>conftest.er1
76232 ac_status=$?
76233 grep -v '^ *+' conftest.er1 >conftest.err
76234 rm -f conftest.er1
76235 cat conftest.err >&5
76236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76237 - (exit $ac_status); } &&
76238 - { ac_try='test -z "$ac_c_werror_flag"
76239 - || test ! -s conftest.err'
76240 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76241 - (eval $ac_try) 2>&5
76242 - ac_status=$?
76243 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
76244 - (exit $ac_status); }; } &&
76245 - { ac_try='test -s conftest.$ac_objext'
76246 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76247 - (eval $ac_try) 2>&5
76248 - ac_status=$?
76249 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
76250 - (exit $ac_status); }; }; then
76251 + (exit $ac_status); } && {
76252 + test -z "$ac_c_werror_flag" ||
76253 + test ! -s conftest.err
76254 + } && test -s conftest.$ac_objext; then
76255 ac_cv_have_decl_strstr=yes
76256 else
76257 echo "$as_me: failed program was:" >&5
76258 sed 's/^/| /' conftest.$ac_ext >&5
76259
76260 -ac_cv_have_decl_strstr=no
76261 + ac_cv_have_decl_strstr=no
76262 fi
76263 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76264 +
76265 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76266 fi
76267 -echo "$as_me:$LINENO: result: $ac_cv_have_decl_strstr" >&5
76268 -echo "${ECHO_T}$ac_cv_have_decl_strstr" >&6
76269 +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_strstr" >&5
76270 +echo "${ECHO_T}$ac_cv_have_decl_strstr" >&6; }
76271 if test $ac_cv_have_decl_strstr = yes; then
76272
76273 cat >>confdefs.h <<_ACEOF
76274 @@ -9334,8 +9721,8 @@ _ACEOF
76275
76276
76277 fi
76278 -echo "$as_me:$LINENO: checking whether free is declared" >&5
76279 -echo $ECHO_N "checking whether free is declared... $ECHO_C" >&6
76280 +{ echo "$as_me:$LINENO: checking whether free is declared" >&5
76281 +echo $ECHO_N "checking whether free is declared... $ECHO_C" >&6; }
76282 if test "${ac_cv_have_decl_free+set}" = set; then
76283 echo $ECHO_N "(cached) $ECHO_C" >&6
76284 else
76285 @@ -9350,7 +9737,7 @@ int
76286 main ()
76287 {
76288 #ifndef free
76289 - char *p = (char *) free;
76290 + (void) free;
76291 #endif
76292
76293 ;
76294 @@ -9358,38 +9745,34 @@ main ()
76295 }
76296 _ACEOF
76297 rm -f conftest.$ac_objext
76298 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76299 - (eval $ac_compile) 2>conftest.er1
76300 +if { (ac_try="$ac_compile"
76301 +case "(($ac_try" in
76302 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
76303 + *) ac_try_echo=$ac_try;;
76304 +esac
76305 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
76306 + (eval "$ac_compile") 2>conftest.er1
76307 ac_status=$?
76308 grep -v '^ *+' conftest.er1 >conftest.err
76309 rm -f conftest.er1
76310 cat conftest.err >&5
76311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76312 - (exit $ac_status); } &&
76313 - { ac_try='test -z "$ac_c_werror_flag"
76314 - || test ! -s conftest.err'
76315 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76316 - (eval $ac_try) 2>&5
76317 - ac_status=$?
76318 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
76319 - (exit $ac_status); }; } &&
76320 - { ac_try='test -s conftest.$ac_objext'
76321 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76322 - (eval $ac_try) 2>&5
76323 - ac_status=$?
76324 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
76325 - (exit $ac_status); }; }; then
76326 + (exit $ac_status); } && {
76327 + test -z "$ac_c_werror_flag" ||
76328 + test ! -s conftest.err
76329 + } && test -s conftest.$ac_objext; then
76330 ac_cv_have_decl_free=yes
76331 else
76332 echo "$as_me: failed program was:" >&5
76333 sed 's/^/| /' conftest.$ac_ext >&5
76334
76335 -ac_cv_have_decl_free=no
76336 + ac_cv_have_decl_free=no
76337 fi
76338 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76339 +
76340 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76341 fi
76342 -echo "$as_me:$LINENO: result: $ac_cv_have_decl_free" >&5
76343 -echo "${ECHO_T}$ac_cv_have_decl_free" >&6
76344 +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_free" >&5
76345 +echo "${ECHO_T}$ac_cv_have_decl_free" >&6; }
76346 if test $ac_cv_have_decl_free = yes; then
76347
76348 cat >>confdefs.h <<_ACEOF
76349 @@ -9404,8 +9787,8 @@ _ACEOF
76350
76351
76352 fi
76353 -echo "$as_me:$LINENO: checking whether sbrk is declared" >&5
76354 -echo $ECHO_N "checking whether sbrk is declared... $ECHO_C" >&6
76355 +{ echo "$as_me:$LINENO: checking whether sbrk is declared" >&5
76356 +echo $ECHO_N "checking whether sbrk is declared... $ECHO_C" >&6; }
76357 if test "${ac_cv_have_decl_sbrk+set}" = set; then
76358 echo $ECHO_N "(cached) $ECHO_C" >&6
76359 else
76360 @@ -9420,7 +9803,7 @@ int
76361 main ()
76362 {
76363 #ifndef sbrk
76364 - char *p = (char *) sbrk;
76365 + (void) sbrk;
76366 #endif
76367
76368 ;
76369 @@ -9428,38 +9811,34 @@ main ()
76370 }
76371 _ACEOF
76372 rm -f conftest.$ac_objext
76373 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76374 - (eval $ac_compile) 2>conftest.er1
76375 +if { (ac_try="$ac_compile"
76376 +case "(($ac_try" in
76377 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
76378 + *) ac_try_echo=$ac_try;;
76379 +esac
76380 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
76381 + (eval "$ac_compile") 2>conftest.er1
76382 ac_status=$?
76383 grep -v '^ *+' conftest.er1 >conftest.err
76384 rm -f conftest.er1
76385 cat conftest.err >&5
76386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76387 - (exit $ac_status); } &&
76388 - { ac_try='test -z "$ac_c_werror_flag"
76389 - || test ! -s conftest.err'
76390 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76391 - (eval $ac_try) 2>&5
76392 - ac_status=$?
76393 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
76394 - (exit $ac_status); }; } &&
76395 - { ac_try='test -s conftest.$ac_objext'
76396 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76397 - (eval $ac_try) 2>&5
76398 - ac_status=$?
76399 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
76400 - (exit $ac_status); }; }; then
76401 + (exit $ac_status); } && {
76402 + test -z "$ac_c_werror_flag" ||
76403 + test ! -s conftest.err
76404 + } && test -s conftest.$ac_objext; then
76405 ac_cv_have_decl_sbrk=yes
76406 else
76407 echo "$as_me: failed program was:" >&5
76408 sed 's/^/| /' conftest.$ac_ext >&5
76409
76410 -ac_cv_have_decl_sbrk=no
76411 + ac_cv_have_decl_sbrk=no
76412 fi
76413 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76414 +
76415 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76416 fi
76417 -echo "$as_me:$LINENO: result: $ac_cv_have_decl_sbrk" >&5
76418 -echo "${ECHO_T}$ac_cv_have_decl_sbrk" >&6
76419 +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_sbrk" >&5
76420 +echo "${ECHO_T}$ac_cv_have_decl_sbrk" >&6; }
76421 if test $ac_cv_have_decl_sbrk = yes; then
76422
76423 cat >>confdefs.h <<_ACEOF
76424 @@ -9474,8 +9853,8 @@ _ACEOF
76425
76426
76427 fi
76428 -echo "$as_me:$LINENO: checking whether getenv is declared" >&5
76429 -echo $ECHO_N "checking whether getenv is declared... $ECHO_C" >&6
76430 +{ echo "$as_me:$LINENO: checking whether getenv is declared" >&5
76431 +echo $ECHO_N "checking whether getenv is declared... $ECHO_C" >&6; }
76432 if test "${ac_cv_have_decl_getenv+set}" = set; then
76433 echo $ECHO_N "(cached) $ECHO_C" >&6
76434 else
76435 @@ -9490,7 +9869,7 @@ int
76436 main ()
76437 {
76438 #ifndef getenv
76439 - char *p = (char *) getenv;
76440 + (void) getenv;
76441 #endif
76442
76443 ;
76444 @@ -9498,38 +9877,34 @@ main ()
76445 }
76446 _ACEOF
76447 rm -f conftest.$ac_objext
76448 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76449 - (eval $ac_compile) 2>conftest.er1
76450 +if { (ac_try="$ac_compile"
76451 +case "(($ac_try" in
76452 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
76453 + *) ac_try_echo=$ac_try;;
76454 +esac
76455 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
76456 + (eval "$ac_compile") 2>conftest.er1
76457 ac_status=$?
76458 grep -v '^ *+' conftest.er1 >conftest.err
76459 rm -f conftest.er1
76460 cat conftest.err >&5
76461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76462 - (exit $ac_status); } &&
76463 - { ac_try='test -z "$ac_c_werror_flag"
76464 - || test ! -s conftest.err'
76465 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76466 - (eval $ac_try) 2>&5
76467 - ac_status=$?
76468 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
76469 - (exit $ac_status); }; } &&
76470 - { ac_try='test -s conftest.$ac_objext'
76471 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76472 - (eval $ac_try) 2>&5
76473 - ac_status=$?
76474 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
76475 - (exit $ac_status); }; }; then
76476 + (exit $ac_status); } && {
76477 + test -z "$ac_c_werror_flag" ||
76478 + test ! -s conftest.err
76479 + } && test -s conftest.$ac_objext; then
76480 ac_cv_have_decl_getenv=yes
76481 else
76482 echo "$as_me: failed program was:" >&5
76483 sed 's/^/| /' conftest.$ac_ext >&5
76484
76485 -ac_cv_have_decl_getenv=no
76486 + ac_cv_have_decl_getenv=no
76487 fi
76488 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76489 +
76490 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76491 fi
76492 -echo "$as_me:$LINENO: result: $ac_cv_have_decl_getenv" >&5
76493 -echo "${ECHO_T}$ac_cv_have_decl_getenv" >&6
76494 +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_getenv" >&5
76495 +echo "${ECHO_T}$ac_cv_have_decl_getenv" >&6; }
76496 if test $ac_cv_have_decl_getenv = yes; then
76497
76498 cat >>confdefs.h <<_ACEOF
76499 @@ -9544,8 +9919,8 @@ _ACEOF
76500
76501
76502 fi
76503 -echo "$as_me:$LINENO: checking whether environ is declared" >&5
76504 -echo $ECHO_N "checking whether environ is declared... $ECHO_C" >&6
76505 +{ echo "$as_me:$LINENO: checking whether environ is declared" >&5
76506 +echo $ECHO_N "checking whether environ is declared... $ECHO_C" >&6; }
76507 if test "${ac_cv_have_decl_environ+set}" = set; then
76508 echo $ECHO_N "(cached) $ECHO_C" >&6
76509 else
76510 @@ -9560,7 +9935,7 @@ int
76511 main ()
76512 {
76513 #ifndef environ
76514 - char *p = (char *) environ;
76515 + (void) environ;
76516 #endif
76517
76518 ;
76519 @@ -9568,38 +9943,34 @@ main ()
76520 }
76521 _ACEOF
76522 rm -f conftest.$ac_objext
76523 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76524 - (eval $ac_compile) 2>conftest.er1
76525 +if { (ac_try="$ac_compile"
76526 +case "(($ac_try" in
76527 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
76528 + *) ac_try_echo=$ac_try;;
76529 +esac
76530 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
76531 + (eval "$ac_compile") 2>conftest.er1
76532 ac_status=$?
76533 grep -v '^ *+' conftest.er1 >conftest.err
76534 rm -f conftest.er1
76535 cat conftest.err >&5
76536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76537 - (exit $ac_status); } &&
76538 - { ac_try='test -z "$ac_c_werror_flag"
76539 - || test ! -s conftest.err'
76540 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76541 - (eval $ac_try) 2>&5
76542 - ac_status=$?
76543 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
76544 - (exit $ac_status); }; } &&
76545 - { ac_try='test -s conftest.$ac_objext'
76546 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76547 - (eval $ac_try) 2>&5
76548 - ac_status=$?
76549 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
76550 - (exit $ac_status); }; }; then
76551 + (exit $ac_status); } && {
76552 + test -z "$ac_c_werror_flag" ||
76553 + test ! -s conftest.err
76554 + } && test -s conftest.$ac_objext; then
76555 ac_cv_have_decl_environ=yes
76556 else
76557 echo "$as_me: failed program was:" >&5
76558 sed 's/^/| /' conftest.$ac_ext >&5
76559
76560 -ac_cv_have_decl_environ=no
76561 + ac_cv_have_decl_environ=no
76562 fi
76563 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76564 +
76565 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76566 fi
76567 -echo "$as_me:$LINENO: result: $ac_cv_have_decl_environ" >&5
76568 -echo "${ECHO_T}$ac_cv_have_decl_environ" >&6
76569 +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_environ" >&5
76570 +echo "${ECHO_T}$ac_cv_have_decl_environ" >&6; }
76571 if test $ac_cv_have_decl_environ = yes; then
76572
76573 cat >>confdefs.h <<_ACEOF
76574 @@ -9623,8 +9994,8 @@ fi
76575 # broken Microsoft MSVC compiler, which limits the length of string
76576 # constants, while still supporting pre-ANSI compilers which do not
76577 # support string concatenation.
76578 -echo "$as_me:$LINENO: checking whether ANSI C string concatenation works" >&5
76579 -echo $ECHO_N "checking whether ANSI C string concatenation works... $ECHO_C" >&6
76580 +{ echo "$as_me:$LINENO: checking whether ANSI C string concatenation works" >&5
76581 +echo $ECHO_N "checking whether ANSI C string concatenation works... $ECHO_C" >&6; }
76582 if test "${ld_cv_string_concatenation+set}" = set; then
76583 echo $ECHO_N "(cached) $ECHO_C" >&6
76584 else
76585 @@ -9644,39 +10015,35 @@ char *a = "a" "a";
76586 }
76587 _ACEOF
76588 rm -f conftest.$ac_objext
76589 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76590 - (eval $ac_compile) 2>conftest.er1
76591 +if { (ac_try="$ac_compile"
76592 +case "(($ac_try" in
76593 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
76594 + *) ac_try_echo=$ac_try;;
76595 +esac
76596 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
76597 + (eval "$ac_compile") 2>conftest.er1
76598 ac_status=$?
76599 grep -v '^ *+' conftest.er1 >conftest.err
76600 rm -f conftest.er1
76601 cat conftest.err >&5
76602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76603 - (exit $ac_status); } &&
76604 - { ac_try='test -z "$ac_c_werror_flag"
76605 - || test ! -s conftest.err'
76606 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76607 - (eval $ac_try) 2>&5
76608 - ac_status=$?
76609 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
76610 - (exit $ac_status); }; } &&
76611 - { ac_try='test -s conftest.$ac_objext'
76612 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76613 - (eval $ac_try) 2>&5
76614 - ac_status=$?
76615 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
76616 - (exit $ac_status); }; }; then
76617 + (exit $ac_status); } && {
76618 + test -z "$ac_c_werror_flag" ||
76619 + test ! -s conftest.err
76620 + } && test -s conftest.$ac_objext; then
76621 ld_cv_string_concatenation=yes
76622 else
76623 echo "$as_me: failed program was:" >&5
76624 sed 's/^/| /' conftest.$ac_ext >&5
76625
76626 -ld_cv_string_concatenation=no
76627 + ld_cv_string_concatenation=no
76628 fi
76629 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76630 +
76631 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76632 fi
76633
76634 -echo "$as_me:$LINENO: result: $ld_cv_string_concatenation" >&5
76635 -echo "${ECHO_T}$ld_cv_string_concatenation" >&6
76636 +{ echo "$as_me:$LINENO: result: $ld_cv_string_concatenation" >&5
76637 +echo "${ECHO_T}$ld_cv_string_concatenation" >&6; }
76638 if test "$ld_cv_string_concatenation" = "yes"; then
76639 STRINGIFY=astring.sed
76640 else
76641 @@ -9801,8 +10168,10 @@ fi
76642
76643
76644
76645 - ac_config_files="$ac_config_files Makefile po/Makefile.in:po/Make-in"
76646 - ac_config_commands="$ac_config_commands default"
76647 +ac_config_files="$ac_config_files Makefile po/Makefile.in:po/Make-in"
76648 +
76649 +ac_config_commands="$ac_config_commands default"
76650 +
76651 cat >confcache <<\_ACEOF
76652 # This file is a shell script that caches the results of configure
76653 # tests run on this system so they can be shared between configure
76654 @@ -9821,39 +10190,58 @@ _ACEOF
76655
76656 # The following way of writing the cache mishandles newlines in values,
76657 # but we know of no workaround that is simple, portable, and efficient.
76658 -# So, don't put newlines in cache variables' values.
76659 +# So, we kill variables containing newlines.
76660 # Ultrix sh set writes to stderr and can't be redirected directly,
76661 # and sets the high bit in the cache file unless we assign to the vars.
76662 -{
76663 +(
76664 + for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
76665 + eval ac_val=\$$ac_var
76666 + case $ac_val in #(
76667 + *${as_nl}*)
76668 + case $ac_var in #(
76669 + *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
76670 +echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
76671 + esac
76672 + case $ac_var in #(
76673 + _ | IFS | as_nl) ;; #(
76674 + *) $as_unset $ac_var ;;
76675 + esac ;;
76676 + esac
76677 + done
76678 +
76679 (set) 2>&1 |
76680 - case `(ac_space=' '; set | grep ac_space) 2>&1` in
76681 - *ac_space=\ *)
76682 + case $as_nl`(ac_space=' '; set) 2>&1` in #(
76683 + *${as_nl}ac_space=\ *)
76684 # `set' does not quote correctly, so add quotes (double-quote
76685 # substitution turns \\\\ into \\, and sed turns \\ into \).
76686 sed -n \
76687 "s/'/'\\\\''/g;
76688 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
76689 - ;;
76690 + ;; #(
76691 *)
76692 # `set' quotes correctly as required by POSIX, so do not add quotes.
76693 - sed -n \
76694 - "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
76695 + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
76696 ;;
76697 - esac;
76698 -} |
76699 + esac |
76700 + sort
76701 +) |
76702 sed '
76703 + /^ac_cv_env_/b end
76704 t clear
76705 - : clear
76706 + :clear
76707 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
76708 t end
76709 - /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
76710 - : end' >>confcache
76711 -if diff $cache_file confcache >/dev/null 2>&1; then :; else
76712 - if test -w $cache_file; then
76713 - test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
76714 + s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
76715 + :end' >>confcache
76716 +if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
76717 + if test -w "$cache_file"; then
76718 + test "x$cache_file" != "x/dev/null" &&
76719 + { echo "$as_me:$LINENO: updating cache $cache_file" >&5
76720 +echo "$as_me: updating cache $cache_file" >&6;}
76721 cat confcache >$cache_file
76722 else
76723 - echo "not updating unwritable cache $cache_file"
76724 + { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
76725 +echo "$as_me: not updating unwritable cache $cache_file" >&6;}
76726 fi
76727 fi
76728 rm -f confcache
76729 @@ -9862,32 +10250,18 @@ test "x$prefix" = xNONE && prefix=$ac_de
76730 # Let make expand exec_prefix.
76731 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
76732
76733 -# VPATH may cause trouble with some makes, so we remove $(srcdir),
76734 -# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
76735 -# trailing colons and then remove the whole line if VPATH becomes empty
76736 -# (actually we leave an empty line to preserve line numbers).
76737 -if test "x$srcdir" = x.; then
76738 - ac_vpsub='/^[ ]*VPATH[ ]*=/{
76739 -s/:*\$(srcdir):*/:/;
76740 -s/:*\${srcdir}:*/:/;
76741 -s/:*@srcdir@:*/:/;
76742 -s/^\([^=]*=[ ]*\):*/\1/;
76743 -s/:*$//;
76744 -s/^[^=]*=[ ]*$//;
76745 -}'
76746 -fi
76747 -
76748 DEFS=-DHAVE_CONFIG_H
76749
76750 ac_libobjs=
76751 ac_ltlibobjs=
76752 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
76753 # 1. Remove the extension, and $U if already installed.
76754 - ac_i=`echo "$ac_i" |
76755 - sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
76756 - # 2. Add them.
76757 - ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
76758 - ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
76759 + ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
76760 + ac_i=`echo "$ac_i" | sed "$ac_script"`
76761 + # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
76762 + # will be set to the directory where LIBOBJS objects are built.
76763 + ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
76764 + ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
76765 done
76766 LIBOBJS=$ac_libobjs
76767
76768 @@ -9939,17 +10313,45 @@ cat >>$CONFIG_STATUS <<\_ACEOF
76769 ## M4sh Initialization. ##
76770 ## --------------------- ##
76771
76772 -# Be Bourne compatible
76773 +# Be more Bourne compatible
76774 +DUALCASE=1; export DUALCASE # for MKS sh
76775 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
76776 emulate sh
76777 NULLCMD=:
76778 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
76779 # is contrary to our usage. Disable this feature.
76780 alias -g '${1+"$@"}'='"$@"'
76781 -elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
76782 - set -o posix
76783 + setopt NO_GLOB_SUBST
76784 +else
76785 + case `(set -o) 2>/dev/null` in
76786 + *posix*) set -o posix ;;
76787 +esac
76788 +
76789 +fi
76790 +
76791 +
76792 +
76793 +
76794 +# PATH needs CR
76795 +# Avoid depending upon Character Ranges.
76796 +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
76797 +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
76798 +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
76799 +as_cr_digits='0123456789'
76800 +as_cr_alnum=$as_cr_Letters$as_cr_digits
76801 +
76802 +# The user is always right.
76803 +if test "${PATH_SEPARATOR+set}" != set; then
76804 + echo "#! /bin/sh" >conf$$.sh
76805 + echo "exit 0" >>conf$$.sh
76806 + chmod +x conf$$.sh
76807 + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
76808 + PATH_SEPARATOR=';'
76809 + else
76810 + PATH_SEPARATOR=:
76811 + fi
76812 + rm -f conf$$.sh
76813 fi
76814 -DUALCASE=1; export DUALCASE # for MKS sh
76815
76816 # Support unset when possible.
76817 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
76818 @@ -9959,8 +10361,43 @@ else
76819 fi
76820
76821
76822 +# IFS
76823 +# We need space, tab and new line, in precisely that order. Quoting is
76824 +# there to prevent editors from complaining about space-tab.
76825 +# (If _AS_PATH_WALK were called with IFS unset, it would disable word
76826 +# splitting by setting IFS to empty value.)
76827 +as_nl='
76828 +'
76829 +IFS=" "" $as_nl"
76830 +
76831 +# Find who we are. Look in the path if we contain no directory separator.
76832 +case $0 in
76833 + *[\\/]* ) as_myself=$0 ;;
76834 + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
76835 +for as_dir in $PATH
76836 +do
76837 + IFS=$as_save_IFS
76838 + test -z "$as_dir" && as_dir=.
76839 + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
76840 +done
76841 +IFS=$as_save_IFS
76842 +
76843 + ;;
76844 +esac
76845 +# We did not find ourselves, most probably we were run as `sh COMMAND'
76846 +# in which case we are not to be found in the path.
76847 +if test "x$as_myself" = x; then
76848 + as_myself=$0
76849 +fi
76850 +if test ! -f "$as_myself"; then
76851 + echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
76852 + { (exit 1); exit 1; }
76853 +fi
76854 +
76855 # Work around bugs in pre-3.0 UWIN ksh.
76856 -$as_unset ENV MAIL MAILPATH
76857 +for as_var in ENV MAIL MAILPATH
76858 +do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
76859 +done
76860 PS1='$ '
76861 PS2='> '
76862 PS4='+ '
76863 @@ -9974,18 +10411,19 @@ do
76864 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
76865 eval $as_var=C; export $as_var
76866 else
76867 - $as_unset $as_var
76868 + ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
76869 fi
76870 done
76871
76872 # Required to use basename.
76873 -if expr a : '\(a\)' >/dev/null 2>&1; then
76874 +if expr a : '\(a\)' >/dev/null 2>&1 &&
76875 + test "X`expr 00001 : '.*\(...\)'`" = X001; then
76876 as_expr=expr
76877 else
76878 as_expr=false
76879 fi
76880
76881 -if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
76882 +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
76883 as_basename=basename
76884 else
76885 as_basename=false
76886 @@ -9993,159 +10431,120 @@ fi
76887
76888
76889 # Name of the executable.
76890 -as_me=`$as_basename "$0" ||
76891 +as_me=`$as_basename -- "$0" ||
76892 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
76893 X"$0" : 'X\(//\)$' \| \
76894 - X"$0" : 'X\(/\)$' \| \
76895 - . : '\(.\)' 2>/dev/null ||
76896 + X"$0" : 'X\(/\)' \| . 2>/dev/null ||
76897 echo X/"$0" |
76898 - sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
76899 - /^X\/\(\/\/\)$/{ s//\1/; q; }
76900 - /^X\/\(\/\).*/{ s//\1/; q; }
76901 - s/.*/./; q'`
76902 -
76903 -
76904 -# PATH needs CR, and LINENO needs CR and PATH.
76905 -# Avoid depending upon Character Ranges.
76906 -as_cr_letters='abcdefghijklmnopqrstuvwxyz'
76907 -as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
76908 -as_cr_Letters=$as_cr_letters$as_cr_LETTERS
76909 -as_cr_digits='0123456789'
76910 -as_cr_alnum=$as_cr_Letters$as_cr_digits
76911 + sed '/^.*\/\([^/][^/]*\)\/*$/{
76912 + s//\1/
76913 + q
76914 + }
76915 + /^X\/\(\/\/\)$/{
76916 + s//\1/
76917 + q
76918 + }
76919 + /^X\/\(\/\).*/{
76920 + s//\1/
76921 + q
76922 + }
76923 + s/.*/./; q'`
76924
76925 -# The user is always right.
76926 -if test "${PATH_SEPARATOR+set}" != set; then
76927 - echo "#! /bin/sh" >conf$$.sh
76928 - echo "exit 0" >>conf$$.sh
76929 - chmod +x conf$$.sh
76930 - if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
76931 - PATH_SEPARATOR=';'
76932 - else
76933 - PATH_SEPARATOR=:
76934 - fi
76935 - rm -f conf$$.sh
76936 -fi
76937 +# CDPATH.
76938 +$as_unset CDPATH
76939
76940
76941 - as_lineno_1=$LINENO
76942 - as_lineno_2=$LINENO
76943 - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
76944 - test "x$as_lineno_1" != "x$as_lineno_2" &&
76945 - test "x$as_lineno_3" = "x$as_lineno_2" || {
76946 - # Find who we are. Look in the path if we contain no path at all
76947 - # relative or not.
76948 - case $0 in
76949 - *[\\/]* ) as_myself=$0 ;;
76950 - *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
76951 -for as_dir in $PATH
76952 -do
76953 - IFS=$as_save_IFS
76954 - test -z "$as_dir" && as_dir=.
76955 - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
76956 -done
76957
76958 - ;;
76959 - esac
76960 - # We did not find ourselves, most probably we were run as `sh COMMAND'
76961 - # in which case we are not to be found in the path.
76962 - if test "x$as_myself" = x; then
76963 - as_myself=$0
76964 - fi
76965 - if test ! -f "$as_myself"; then
76966 - { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
76967 -echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
76968 - { (exit 1); exit 1; }; }
76969 - fi
76970 - case $CONFIG_SHELL in
76971 - '')
76972 - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
76973 -for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
76974 -do
76975 - IFS=$as_save_IFS
76976 - test -z "$as_dir" && as_dir=.
76977 - for as_base in sh bash ksh sh5; do
76978 - case $as_dir in
76979 - /*)
76980 - if ("$as_dir/$as_base" -c '
76981 as_lineno_1=$LINENO
76982 as_lineno_2=$LINENO
76983 - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
76984 test "x$as_lineno_1" != "x$as_lineno_2" &&
76985 - test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
76986 - $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
76987 - $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
76988 - CONFIG_SHELL=$as_dir/$as_base
76989 - export CONFIG_SHELL
76990 - exec "$CONFIG_SHELL" "$0" ${1+"$@"}
76991 - fi;;
76992 - esac
76993 - done
76994 -done
76995 -;;
76996 - esac
76997 + test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
76998
76999 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
77000 # uniformly replaced by the line number. The first 'sed' inserts a
77001 - # line-number line before each line; the second 'sed' does the real
77002 - # work. The second script uses 'N' to pair each line-number line
77003 - # with the numbered line, and appends trailing '-' during
77004 - # substitution so that $LINENO is not a special case at line end.
77005 + # line-number line after each line using $LINENO; the second 'sed'
77006 + # does the real work. The second script uses 'N' to pair each
77007 + # line-number line with the line containing $LINENO, and appends
77008 + # trailing '-' during substitution so that $LINENO is not a special
77009 + # case at line end.
77010 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
77011 - # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
77012 - sed '=' <$as_myself |
77013 + # scripts with optimization help from Paolo Bonzini. Blame Lee
77014 + # E. McMahon (1931-1989) for sed's syntax. :-)
77015 + sed -n '
77016 + p
77017 + /[$]LINENO/=
77018 + ' <$as_myself |
77019 sed '
77020 + s/[$]LINENO.*/&-/
77021 + t lineno
77022 + b
77023 + :lineno
77024 N
77025 - s,$,-,
77026 - : loop
77027 - s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
77028 + :loop
77029 + s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
77030 t loop
77031 - s,-$,,
77032 - s,^['$as_cr_digits']*\n,,
77033 + s/-\n.*//
77034 ' >$as_me.lineno &&
77035 - chmod +x $as_me.lineno ||
77036 - { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
77037 -echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
77038 + chmod +x "$as_me.lineno" ||
77039 + { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
77040 { (exit 1); exit 1; }; }
77041
77042 # Don't try to exec as it changes $[0], causing all sort of problems
77043 # (the dirname of $[0] is not the place where we might find the
77044 - # original and so on. Autoconf is especially sensible to this).
77045 - . ./$as_me.lineno
77046 + # original and so on. Autoconf is especially sensitive to this).
77047 + . "./$as_me.lineno"
77048 # Exit status is that of the last command.
77049 exit
77050 }
77051
77052
77053 -case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
77054 - *c*,-n*) ECHO_N= ECHO_C='
77055 -' ECHO_T=' ' ;;
77056 - *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
77057 - *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
77058 +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
77059 + as_dirname=dirname
77060 +else
77061 + as_dirname=false
77062 +fi
77063 +
77064 +ECHO_C= ECHO_N= ECHO_T=
77065 +case `echo -n x` in
77066 +-n*)
77067 + case `echo 'x\c'` in
77068 + *c*) ECHO_T=' ';; # ECHO_T is single tab character.
77069 + *) ECHO_C='\c';;
77070 + esac;;
77071 +*)
77072 + ECHO_N='-n';;
77073 esac
77074
77075 -if expr a : '\(a\)' >/dev/null 2>&1; then
77076 +if expr a : '\(a\)' >/dev/null 2>&1 &&
77077 + test "X`expr 00001 : '.*\(...\)'`" = X001; then
77078 as_expr=expr
77079 else
77080 as_expr=false
77081 fi
77082
77083 rm -f conf$$ conf$$.exe conf$$.file
77084 +if test -d conf$$.dir; then
77085 + rm -f conf$$.dir/conf$$.file
77086 +else
77087 + rm -f conf$$.dir
77088 + mkdir conf$$.dir
77089 +fi
77090 echo >conf$$.file
77091 if ln -s conf$$.file conf$$ 2>/dev/null; then
77092 - # We could just check for DJGPP; but this test a) works b) is more generic
77093 - # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
77094 - if test -f conf$$.exe; then
77095 - # Don't use ln at all; we don't have any links
77096 + as_ln_s='ln -s'
77097 + # ... but there are two gotchas:
77098 + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
77099 + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
77100 + # In both cases, we have to default to `cp -p'.
77101 + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
77102 as_ln_s='cp -p'
77103 - else
77104 - as_ln_s='ln -s'
77105 - fi
77106 elif ln conf$$.file conf$$ 2>/dev/null; then
77107 as_ln_s=ln
77108 else
77109 as_ln_s='cp -p'
77110 fi
77111 -rm -f conf$$ conf$$.exe conf$$.file
77112 +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
77113 +rmdir conf$$.dir 2>/dev/null
77114
77115 if mkdir -p . 2>/dev/null; then
77116 as_mkdir_p=:
77117 @@ -10154,7 +10553,28 @@ else
77118 as_mkdir_p=false
77119 fi
77120
77121 -as_executable_p="test -f"
77122 +if test -x / >/dev/null 2>&1; then
77123 + as_test_x='test -x'
77124 +else
77125 + if ls -dL / >/dev/null 2>&1; then
77126 + as_ls_L_option=L
77127 + else
77128 + as_ls_L_option=
77129 + fi
77130 + as_test_x='
77131 + eval sh -c '\''
77132 + if test -d "$1"; then
77133 + test -d "$1/.";
77134 + else
77135 + case $1 in
77136 + -*)set "./$1";;
77137 + esac;
77138 + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
77139 + ???[sx]*):;;*)false;;esac;fi
77140 + '\'' sh
77141 + '
77142 +fi
77143 +as_executable_p=$as_test_x
77144
77145 # Sed expression to map a string onto a valid CPP name.
77146 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
77147 @@ -10163,31 +10583,14 @@ as_tr_cpp="eval sed 'y%*$as_cr_letters%P
77148 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
77149
77150
77151 -# IFS
77152 -# We need space, tab and new line, in precisely that order.
77153 -as_nl='
77154 -'
77155 -IFS=" $as_nl"
77156 -
77157 -# CDPATH.
77158 -$as_unset CDPATH
77159 -
77160 exec 6>&1
77161
77162 -# Open the log real soon, to keep \$[0] and so on meaningful, and to
77163 +# Save the log message, to keep $[0] and so on meaningful, and to
77164 # report actual input values of CONFIG_FILES etc. instead of their
77165 -# values after options handling. Logging --version etc. is OK.
77166 -exec 5>>config.log
77167 -{
77168 - echo
77169 - sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
77170 -## Running $as_me. ##
77171 -_ASBOX
77172 -} >&5
77173 -cat >&5 <<_CSEOF
77174 -
77175 +# values after options handling.
77176 +ac_log="
77177 This file was extended by $as_me, which was
77178 -generated by GNU Autoconf 2.59. Invocation command line was
77179 +generated by GNU Autoconf 2.61. Invocation command line was
77180
77181 CONFIG_FILES = $CONFIG_FILES
77182 CONFIG_HEADERS = $CONFIG_HEADERS
77183 @@ -10195,30 +10598,20 @@ generated by GNU Autoconf 2.59. Invocat
77184 CONFIG_COMMANDS = $CONFIG_COMMANDS
77185 $ $0 $@
77186
77187 -_CSEOF
77188 -echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
77189 -echo >&5
77190 +on `(hostname || uname -n) 2>/dev/null | sed 1q`
77191 +"
77192 +
77193 _ACEOF
77194
77195 +cat >>$CONFIG_STATUS <<_ACEOF
77196 # Files that config.status was made for.
77197 -if test -n "$ac_config_files"; then
77198 - echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
77199 -fi
77200 -
77201 -if test -n "$ac_config_headers"; then
77202 - echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
77203 -fi
77204 -
77205 -if test -n "$ac_config_links"; then
77206 - echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
77207 -fi
77208 +config_files="$ac_config_files"
77209 +config_headers="$ac_config_headers"
77210 +config_commands="$ac_config_commands"
77211
77212 -if test -n "$ac_config_commands"; then
77213 - echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
77214 -fi
77215 +_ACEOF
77216
77217 cat >>$CONFIG_STATUS <<\_ACEOF
77218 -
77219 ac_cs_usage="\
77220 \`$as_me' instantiates files from templates according to the
77221 current configuration.
77222 @@ -10226,7 +10619,7 @@ current configuration.
77223 Usage: $0 [OPTIONS] [FILE]...
77224
77225 -h, --help print this help, then exit
77226 - -V, --version print version number, then exit
77227 + -V, --version print version number and configuration settings, then exit
77228 -q, --quiet do not print progress messages
77229 -d, --debug don't remove temporary files
77230 --recheck update $as_me by reconfiguring in the same conditions
77231 @@ -10245,19 +10638,21 @@ Configuration commands:
77232 $config_commands
77233
77234 Report bugs to <bug-autoconf@gnu.org>."
77235 -_ACEOF
77236
77237 +_ACEOF
77238 cat >>$CONFIG_STATUS <<_ACEOF
77239 ac_cs_version="\\
77240 config.status
77241 -configured by $0, generated by GNU Autoconf 2.59,
77242 - with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
77243 +configured by $0, generated by GNU Autoconf 2.61,
77244 + with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
77245
77246 -Copyright (C) 2003 Free Software Foundation, Inc.
77247 +Copyright (C) 2006 Free Software Foundation, Inc.
77248 This config.status script is free software; the Free Software Foundation
77249 gives unlimited permission to copy, distribute and modify it."
77250 -srcdir=$srcdir
77251 -INSTALL="$INSTALL"
77252 +
77253 +ac_pwd='$ac_pwd'
77254 +srcdir='$srcdir'
77255 +INSTALL='$INSTALL'
77256 _ACEOF
77257
77258 cat >>$CONFIG_STATUS <<\_ACEOF
77259 @@ -10268,39 +10663,24 @@ while test $# != 0
77260 do
77261 case $1 in
77262 --*=*)
77263 - ac_option=`expr "x$1" : 'x\([^=]*\)='`
77264 - ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
77265 + ac_option=`expr "X$1" : 'X\([^=]*\)='`
77266 + ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
77267 ac_shift=:
77268 ;;
77269 - -*)
77270 + *)
77271 ac_option=$1
77272 ac_optarg=$2
77273 ac_shift=shift
77274 ;;
77275 - *) # This is not an option, so the user has probably given explicit
77276 - # arguments.
77277 - ac_option=$1
77278 - ac_need_defaults=false;;
77279 esac
77280
77281 case $ac_option in
77282 # Handling of the options.
77283 -_ACEOF
77284 -cat >>$CONFIG_STATUS <<\_ACEOF
77285 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
77286 ac_cs_recheck=: ;;
77287 - --version | --vers* | -V )
77288 - echo "$ac_cs_version"; exit 0 ;;
77289 - --he | --h)
77290 - # Conflict between --help and --header
77291 - { { echo "$as_me:$LINENO: error: ambiguous option: $1
77292 -Try \`$0 --help' for more information." >&5
77293 -echo "$as_me: error: ambiguous option: $1
77294 -Try \`$0 --help' for more information." >&2;}
77295 - { (exit 1); exit 1; }; };;
77296 - --help | --hel | -h )
77297 - echo "$ac_cs_usage"; exit 0 ;;
77298 - --debug | --d* | -d )
77299 + --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
77300 + echo "$ac_cs_version"; exit ;;
77301 + --debug | --debu | --deb | --de | --d | -d )
77302 debug=: ;;
77303 --file | --fil | --fi | --f )
77304 $ac_shift
77305 @@ -10310,18 +10690,24 @@ Try \`$0 --help' for more information."
77306 $ac_shift
77307 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
77308 ac_need_defaults=false;;
77309 + --he | --h)
77310 + # Conflict between --help and --header
77311 + { echo "$as_me: error: ambiguous option: $1
77312 +Try \`$0 --help' for more information." >&2
77313 + { (exit 1); exit 1; }; };;
77314 + --help | --hel | -h )
77315 + echo "$ac_cs_usage"; exit ;;
77316 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
77317 | -silent | --silent | --silen | --sile | --sil | --si | --s)
77318 ac_cs_silent=: ;;
77319
77320 # This is an error.
77321 - -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
77322 -Try \`$0 --help' for more information." >&5
77323 -echo "$as_me: error: unrecognized option: $1
77324 -Try \`$0 --help' for more information." >&2;}
77325 + -*) { echo "$as_me: error: unrecognized option: $1
77326 +Try \`$0 --help' for more information." >&2
77327 { (exit 1); exit 1; }; } ;;
77328
77329 - *) ac_config_targets="$ac_config_targets $1" ;;
77330 + *) ac_config_targets="$ac_config_targets $1"
77331 + ac_need_defaults=false ;;
77332
77333 esac
77334 shift
77335 @@ -10337,39 +10723,51 @@ fi
77336 _ACEOF
77337 cat >>$CONFIG_STATUS <<_ACEOF
77338 if \$ac_cs_recheck; then
77339 - echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
77340 - exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
77341 + echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
77342 + CONFIG_SHELL=$SHELL
77343 + export CONFIG_SHELL
77344 + exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
77345 fi
77346
77347 _ACEOF
77348 +cat >>$CONFIG_STATUS <<\_ACEOF
77349 +exec 5>>config.log
77350 +{
77351 + echo
77352 + sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
77353 +## Running $as_me. ##
77354 +_ASBOX
77355 + echo "$ac_log"
77356 +} >&5
77357
77358 +_ACEOF
77359 cat >>$CONFIG_STATUS <<_ACEOF
77360 #
77361 -# INIT-COMMANDS section.
77362 +# INIT-COMMANDS
77363 #
77364 -
77365 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
77366
77367 _ACEOF
77368
77369 -
77370 -
77371 cat >>$CONFIG_STATUS <<\_ACEOF
77372 +
77373 +# Handling of arguments.
77374 for ac_config_target in $ac_config_targets
77375 do
77376 - case "$ac_config_target" in
77377 - # Handling of arguments.
77378 - "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
77379 - "po/Makefile.in" ) CONFIG_FILES="$CONFIG_FILES po/Makefile.in:po/Make-in" ;;
77380 - "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
77381 - "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
77382 - "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.in" ;;
77383 + case $ac_config_target in
77384 + "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
77385 + "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.in" ;;
77386 + "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
77387 + "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in:po/Make-in" ;;
77388 + "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
77389 +
77390 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
77391 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
77392 { (exit 1); exit 1; }; };;
77393 esac
77394 done
77395
77396 +
77397 # If the user did not use the arguments to specify the items to instantiate,
77398 # then the envvar interface is used. Set only those that are not.
77399 # We use the long form for the default assignment because of an extremely
77400 @@ -10381,640 +10779,634 @@ if $ac_need_defaults; then
77401 fi
77402
77403 # Have a temporary directory for convenience. Make it in the build tree
77404 -# simply because there is no reason to put it here, and in addition,
77405 +# simply because there is no reason against having it here, and in addition,
77406 # creating and moving files from /tmp can sometimes cause problems.
77407 -# Create a temporary directory, and hook for its removal unless debugging.
77408 +# Hook for its removal unless debugging.
77409 +# Note that there is a small window in which the directory will not be cleaned:
77410 +# after its creation but before its name has been assigned to `$tmp'.
77411 $debug ||
77412 {
77413 - trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
77414 + tmp=
77415 + trap 'exit_status=$?
77416 + { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
77417 +' 0
77418 trap '{ (exit 1); exit 1; }' 1 2 13 15
77419 }
77420 -
77421 # Create a (secure) tmp directory for tmp files.
77422
77423 {
77424 - tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
77425 + tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
77426 test -n "$tmp" && test -d "$tmp"
77427 } ||
77428 {
77429 - tmp=./confstat$$-$RANDOM
77430 - (umask 077 && mkdir $tmp)
77431 + tmp=./conf$$-$RANDOM
77432 + (umask 077 && mkdir "$tmp")
77433 } ||
77434 {
77435 echo "$me: cannot create a temporary directory in ." >&2
77436 { (exit 1); exit 1; }
77437 }
77438
77439 -_ACEOF
77440 -
77441 -cat >>$CONFIG_STATUS <<_ACEOF
77442 -
77443 #
77444 -# CONFIG_FILES section.
77445 +# Set up the sed scripts for CONFIG_FILES section.
77446 #
77447
77448 # No need to generate the scripts if there are no CONFIG_FILES.
77449 # This happens for instance when ./config.status config.h
77450 -if test -n "\$CONFIG_FILES"; then
77451 - # Protect against being on the right side of a sed subst in config.status.
77452 - sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
77453 - s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
77454 -s,@SHELL@,$SHELL,;t t
77455 -s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
77456 -s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
77457 -s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
77458 -s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
77459 -s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
77460 -s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
77461 -s,@exec_prefix@,$exec_prefix,;t t
77462 -s,@prefix@,$prefix,;t t
77463 -s,@program_transform_name@,$program_transform_name,;t t
77464 -s,@bindir@,$bindir,;t t
77465 -s,@sbindir@,$sbindir,;t t
77466 -s,@libexecdir@,$libexecdir,;t t
77467 -s,@datadir@,$datadir,;t t
77468 -s,@sysconfdir@,$sysconfdir,;t t
77469 -s,@sharedstatedir@,$sharedstatedir,;t t
77470 -s,@localstatedir@,$localstatedir,;t t
77471 -s,@libdir@,$libdir,;t t
77472 -s,@includedir@,$includedir,;t t
77473 -s,@oldincludedir@,$oldincludedir,;t t
77474 -s,@infodir@,$infodir,;t t
77475 -s,@mandir@,$mandir,;t t
77476 -s,@build_alias@,$build_alias,;t t
77477 -s,@host_alias@,$host_alias,;t t
77478 -s,@target_alias@,$target_alias,;t t
77479 -s,@DEFS@,$DEFS,;t t
77480 -s,@ECHO_C@,$ECHO_C,;t t
77481 -s,@ECHO_N@,$ECHO_N,;t t
77482 -s,@ECHO_T@,$ECHO_T,;t t
77483 -s,@LIBS@,$LIBS,;t t
77484 -s,@build@,$build,;t t
77485 -s,@build_cpu@,$build_cpu,;t t
77486 -s,@build_vendor@,$build_vendor,;t t
77487 -s,@build_os@,$build_os,;t t
77488 -s,@host@,$host,;t t
77489 -s,@host_cpu@,$host_cpu,;t t
77490 -s,@host_vendor@,$host_vendor,;t t
77491 -s,@host_os@,$host_os,;t t
77492 -s,@target@,$target,;t t
77493 -s,@target_cpu@,$target_cpu,;t t
77494 -s,@target_vendor@,$target_vendor,;t t
77495 -s,@target_os@,$target_os,;t t
77496 -s,@CC@,$CC,;t t
77497 -s,@CFLAGS@,$CFLAGS,;t t
77498 -s,@LDFLAGS@,$LDFLAGS,;t t
77499 -s,@CPPFLAGS@,$CPPFLAGS,;t t
77500 -s,@ac_ct_CC@,$ac_ct_CC,;t t
77501 -s,@EXEEXT@,$EXEEXT,;t t
77502 -s,@OBJEXT@,$OBJEXT,;t t
77503 -s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
77504 -s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
77505 -s,@INSTALL_DATA@,$INSTALL_DATA,;t t
77506 -s,@CYGPATH_W@,$CYGPATH_W,;t t
77507 -s,@PACKAGE@,$PACKAGE,;t t
77508 -s,@VERSION@,$VERSION,;t t
77509 -s,@ACLOCAL@,$ACLOCAL,;t t
77510 -s,@AUTOCONF@,$AUTOCONF,;t t
77511 -s,@AUTOMAKE@,$AUTOMAKE,;t t
77512 -s,@AUTOHEADER@,$AUTOHEADER,;t t
77513 -s,@MAKEINFO@,$MAKEINFO,;t t
77514 -s,@install_sh@,$install_sh,;t t
77515 -s,@STRIP@,$STRIP,;t t
77516 -s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
77517 -s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
77518 -s,@mkdir_p@,$mkdir_p,;t t
77519 -s,@AWK@,$AWK,;t t
77520 -s,@SET_MAKE@,$SET_MAKE,;t t
77521 -s,@am__leading_dot@,$am__leading_dot,;t t
77522 -s,@AMTAR@,$AMTAR,;t t
77523 -s,@am__tar@,$am__tar,;t t
77524 -s,@am__untar@,$am__untar,;t t
77525 -s,@DEPDIR@,$DEPDIR,;t t
77526 -s,@am__include@,$am__include,;t t
77527 -s,@am__quote@,$am__quote,;t t
77528 -s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
77529 -s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
77530 -s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
77531 -s,@CCDEPMODE@,$CCDEPMODE,;t t
77532 -s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
77533 -s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
77534 -s,@LN_S@,$LN_S,;t t
77535 -s,@RANLIB@,$RANLIB,;t t
77536 -s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
77537 -s,@LIBTOOL@,$LIBTOOL,;t t
77538 -s,@use_sysroot@,$use_sysroot,;t t
77539 -s,@TARGET_SYSTEM_ROOT@,$TARGET_SYSTEM_ROOT,;t t
77540 -s,@TARGET_SYSTEM_ROOT_DEFINE@,$TARGET_SYSTEM_ROOT_DEFINE,;t t
77541 -s,@WARN_CFLAGS@,$WARN_CFLAGS,;t t
77542 -s,@NO_WERROR@,$NO_WERROR,;t t
77543 -s,@CPP@,$CPP,;t t
77544 -s,@EGREP@,$EGREP,;t t
77545 -s,@ALLOCA@,$ALLOCA,;t t
77546 -s,@USE_NLS@,$USE_NLS,;t t
77547 -s,@MSGFMT@,$MSGFMT,;t t
77548 -s,@GMSGFMT@,$GMSGFMT,;t t
77549 -s,@XGETTEXT@,$XGETTEXT,;t t
77550 -s,@USE_INCLUDED_LIBINTL@,$USE_INCLUDED_LIBINTL,;t t
77551 -s,@CATALOGS@,$CATALOGS,;t t
77552 -s,@CATOBJEXT@,$CATOBJEXT,;t t
77553 -s,@DATADIRNAME@,$DATADIRNAME,;t t
77554 -s,@GMOFILES@,$GMOFILES,;t t
77555 -s,@INSTOBJEXT@,$INSTOBJEXT,;t t
77556 -s,@INTLDEPS@,$INTLDEPS,;t t
77557 -s,@INTLLIBS@,$INTLLIBS,;t t
77558 -s,@INTLOBJS@,$INTLOBJS,;t t
77559 -s,@POFILES@,$POFILES,;t t
77560 -s,@POSUB@,$POSUB,;t t
77561 -s,@INCLUDE_LOCALE_H@,$INCLUDE_LOCALE_H,;t t
77562 -s,@GT_NO@,$GT_NO,;t t
77563 -s,@GT_YES@,$GT_YES,;t t
77564 -s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
77565 -s,@l@,$l,;t t
77566 -s,@YACC@,$YACC,;t t
77567 -s,@LEX@,$LEX,;t t
77568 -s,@LEXLIB@,$LEXLIB,;t t
77569 -s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
77570 -s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
77571 -s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
77572 -s,@MAINT@,$MAINT,;t t
77573 -s,@HDEFINES@,$HDEFINES,;t t
77574 -s,@HOSTING_CRT0@,$HOSTING_CRT0,;t t
77575 -s,@HOSTING_LIBS@,$HOSTING_LIBS,;t t
77576 -s,@NATIVE_LIB_DIRS@,$NATIVE_LIB_DIRS,;t t
77577 -s,@STRINGIFY@,$STRINGIFY,;t t
77578 -s,@EMUL@,$EMUL,;t t
77579 -s,@EMULATION_OFILES@,$EMULATION_OFILES,;t t
77580 -s,@EMUL_EXTRA_OFILES@,$EMUL_EXTRA_OFILES,;t t
77581 -s,@LIB_PATH@,$LIB_PATH,;t t
77582 -s,@EMULATION_LIBPATH@,$EMULATION_LIBPATH,;t t
77583 -s,@TESTBFDLIB@,$TESTBFDLIB,;t t
77584 -s,@datarootdir@,$datarootdir,;t t
77585 -s,@docdir@,$docdir,;t t
77586 -s,@htmldir@,$htmldir,;t t
77587 -s,@LIBOBJS@,$LIBOBJS,;t t
77588 -s,@LTLIBOBJS@,$LTLIBOBJS,;t t
77589 -/@TDIRS@/r $TDIRS
77590 -s,@TDIRS@,,;t t
77591 -CEOF
77592 -
77593 -_ACEOF
77594 -
77595 - cat >>$CONFIG_STATUS <<\_ACEOF
77596 - # Split the substitutions into bite-sized pieces for seds with
77597 - # small command number limits, like on Digital OSF/1 and HP-UX.
77598 - ac_max_sed_lines=48
77599 - ac_sed_frag=1 # Number of current file.
77600 - ac_beg=1 # First line for current file.
77601 - ac_end=$ac_max_sed_lines # Line after last line for current file.
77602 - ac_more_lines=:
77603 - ac_sed_cmds=
77604 - while $ac_more_lines; do
77605 - if test $ac_beg -gt 1; then
77606 - sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
77607 - else
77608 - sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
77609 - fi
77610 - if test ! -s $tmp/subs.frag; then
77611 - ac_more_lines=false
77612 - else
77613 - # The purpose of the label and of the branching condition is to
77614 - # speed up the sed processing (if there are no `@' at all, there
77615 - # is no need to browse any of the substitutions).
77616 - # These are the two extra sed commands mentioned above.
77617 - (echo ':t
77618 - /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
77619 - if test -z "$ac_sed_cmds"; then
77620 - ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
77621 - else
77622 - ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
77623 - fi
77624 - ac_sed_frag=`expr $ac_sed_frag + 1`
77625 - ac_beg=$ac_end
77626 - ac_end=`expr $ac_end + $ac_max_sed_lines`
77627 - fi
77628 - done
77629 - if test -z "$ac_sed_cmds"; then
77630 - ac_sed_cmds=cat
77631 +if test -n "$CONFIG_FILES"; then
77632 +
77633 +_ACEOF
77634 +
77635 +# Create sed commands to just substitute file output variables.
77636 +
77637 +# Remaining file output variables are in a fragment that also has non-file
77638 +# output varibles.
77639 +
77640 +
77641 +
77642 +ac_delim='%!_!# '
77643 +for ac_last_try in false false false false false :; do
77644 + cat >conf$$subs.sed <<_ACEOF
77645 +SHELL!$SHELL$ac_delim
77646 +PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
77647 +PACKAGE_NAME!$PACKAGE_NAME$ac_delim
77648 +PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
77649 +PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
77650 +PACKAGE_STRING!$PACKAGE_STRING$ac_delim
77651 +PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
77652 +exec_prefix!$exec_prefix$ac_delim
77653 +prefix!$prefix$ac_delim
77654 +program_transform_name!$program_transform_name$ac_delim
77655 +bindir!$bindir$ac_delim
77656 +sbindir!$sbindir$ac_delim
77657 +libexecdir!$libexecdir$ac_delim
77658 +datarootdir!$datarootdir$ac_delim
77659 +datadir!$datadir$ac_delim
77660 +sysconfdir!$sysconfdir$ac_delim
77661 +sharedstatedir!$sharedstatedir$ac_delim
77662 +localstatedir!$localstatedir$ac_delim
77663 +includedir!$includedir$ac_delim
77664 +oldincludedir!$oldincludedir$ac_delim
77665 +docdir!$docdir$ac_delim
77666 +infodir!$infodir$ac_delim
77667 +htmldir!$htmldir$ac_delim
77668 +dvidir!$dvidir$ac_delim
77669 +pdfdir!$pdfdir$ac_delim
77670 +psdir!$psdir$ac_delim
77671 +libdir!$libdir$ac_delim
77672 +localedir!$localedir$ac_delim
77673 +mandir!$mandir$ac_delim
77674 +DEFS!$DEFS$ac_delim
77675 +ECHO_C!$ECHO_C$ac_delim
77676 +ECHO_N!$ECHO_N$ac_delim
77677 +ECHO_T!$ECHO_T$ac_delim
77678 +LIBS!$LIBS$ac_delim
77679 +build_alias!$build_alias$ac_delim
77680 +host_alias!$host_alias$ac_delim
77681 +target_alias!$target_alias$ac_delim
77682 +build!$build$ac_delim
77683 +build_cpu!$build_cpu$ac_delim
77684 +build_vendor!$build_vendor$ac_delim
77685 +build_os!$build_os$ac_delim
77686 +host!$host$ac_delim
77687 +host_cpu!$host_cpu$ac_delim
77688 +host_vendor!$host_vendor$ac_delim
77689 +host_os!$host_os$ac_delim
77690 +target!$target$ac_delim
77691 +target_cpu!$target_cpu$ac_delim
77692 +target_vendor!$target_vendor$ac_delim
77693 +target_os!$target_os$ac_delim
77694 +CC!$CC$ac_delim
77695 +CFLAGS!$CFLAGS$ac_delim
77696 +LDFLAGS!$LDFLAGS$ac_delim
77697 +CPPFLAGS!$CPPFLAGS$ac_delim
77698 +ac_ct_CC!$ac_ct_CC$ac_delim
77699 +EXEEXT!$EXEEXT$ac_delim
77700 +OBJEXT!$OBJEXT$ac_delim
77701 +INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
77702 +INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
77703 +INSTALL_DATA!$INSTALL_DATA$ac_delim
77704 +CYGPATH_W!$CYGPATH_W$ac_delim
77705 +PACKAGE!$PACKAGE$ac_delim
77706 +VERSION!$VERSION$ac_delim
77707 +ACLOCAL!$ACLOCAL$ac_delim
77708 +AUTOCONF!$AUTOCONF$ac_delim
77709 +AUTOMAKE!$AUTOMAKE$ac_delim
77710 +AUTOHEADER!$AUTOHEADER$ac_delim
77711 +MAKEINFO!$MAKEINFO$ac_delim
77712 +install_sh!$install_sh$ac_delim
77713 +STRIP!$STRIP$ac_delim
77714 +INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
77715 +mkdir_p!$mkdir_p$ac_delim
77716 +AWK!$AWK$ac_delim
77717 +SET_MAKE!$SET_MAKE$ac_delim
77718 +am__leading_dot!$am__leading_dot$ac_delim
77719 +AMTAR!$AMTAR$ac_delim
77720 +am__tar!$am__tar$ac_delim
77721 +am__untar!$am__untar$ac_delim
77722 +DEPDIR!$DEPDIR$ac_delim
77723 +am__include!$am__include$ac_delim
77724 +am__quote!$am__quote$ac_delim
77725 +AMDEP_TRUE!$AMDEP_TRUE$ac_delim
77726 +AMDEP_FALSE!$AMDEP_FALSE$ac_delim
77727 +AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
77728 +CCDEPMODE!$CCDEPMODE$ac_delim
77729 +am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
77730 +am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
77731 +LN_S!$LN_S$ac_delim
77732 +RANLIB!$RANLIB$ac_delim
77733 +LIBTOOL!$LIBTOOL$ac_delim
77734 +use_sysroot!$use_sysroot$ac_delim
77735 +TARGET_SYSTEM_ROOT!$TARGET_SYSTEM_ROOT$ac_delim
77736 +TARGET_SYSTEM_ROOT_DEFINE!$TARGET_SYSTEM_ROOT_DEFINE$ac_delim
77737 +WARN_CFLAGS!$WARN_CFLAGS$ac_delim
77738 +NO_WERROR!$NO_WERROR$ac_delim
77739 +_ACEOF
77740 +
77741 + if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 94; then
77742 + break
77743 + elif $ac_last_try; then
77744 + { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
77745 +echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
77746 + { (exit 1); exit 1; }; }
77747 + else
77748 + ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
77749 fi
77750 -fi # test -n "$CONFIG_FILES"
77751 +done
77752 +
77753 +ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
77754 +if test -n "$ac_eof"; then
77755 + ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
77756 + ac_eof=`expr $ac_eof + 1`
77757 +fi
77758 +
77759 +cat >>$CONFIG_STATUS <<_ACEOF
77760 +cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
77761 +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
77762 +/^[ ]*@TDIRS@[ ]*$/{
77763 +r $TDIRS
77764 +d
77765 +}
77766 +_ACEOF
77767 +sed '
77768 +s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
77769 +s/^/s,@/; s/!/@,|#_!!_#|/
77770 +:n
77771 +t n
77772 +s/'"$ac_delim"'$/,g/; t
77773 +s/$/\\/; p
77774 +N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
77775 +' >>$CONFIG_STATUS <conf$$subs.sed
77776 +rm -f conf$$subs.sed
77777 +cat >>$CONFIG_STATUS <<_ACEOF
77778 +CEOF$ac_eof
77779 +_ACEOF
77780 +
77781 +
77782 +ac_delim='%!_!# '
77783 +for ac_last_try in false false false false false :; do
77784 + cat >conf$$subs.sed <<_ACEOF
77785 +CPP!$CPP$ac_delim
77786 +GREP!$GREP$ac_delim
77787 +EGREP!$EGREP$ac_delim
77788 +ALLOCA!$ALLOCA$ac_delim
77789 +USE_NLS!$USE_NLS$ac_delim
77790 +MSGFMT!$MSGFMT$ac_delim
77791 +GMSGFMT!$GMSGFMT$ac_delim
77792 +XGETTEXT!$XGETTEXT$ac_delim
77793 +USE_INCLUDED_LIBINTL!$USE_INCLUDED_LIBINTL$ac_delim
77794 +CATALOGS!$CATALOGS$ac_delim
77795 +CATOBJEXT!$CATOBJEXT$ac_delim
77796 +DATADIRNAME!$DATADIRNAME$ac_delim
77797 +GMOFILES!$GMOFILES$ac_delim
77798 +INSTOBJEXT!$INSTOBJEXT$ac_delim
77799 +INTLDEPS!$INTLDEPS$ac_delim
77800 +INTLLIBS!$INTLLIBS$ac_delim
77801 +INTLOBJS!$INTLOBJS$ac_delim
77802 +POFILES!$POFILES$ac_delim
77803 +POSUB!$POSUB$ac_delim
77804 +INCLUDE_LOCALE_H!$INCLUDE_LOCALE_H$ac_delim
77805 +GT_NO!$GT_NO$ac_delim
77806 +GT_YES!$GT_YES$ac_delim
77807 +MKINSTALLDIRS!$MKINSTALLDIRS$ac_delim
77808 +l!$l$ac_delim
77809 +YACC!$YACC$ac_delim
77810 +YFLAGS!$YFLAGS$ac_delim
77811 +LEX!$LEX$ac_delim
77812 +LEX_OUTPUT_ROOT!$LEX_OUTPUT_ROOT$ac_delim
77813 +LEXLIB!$LEXLIB$ac_delim
77814 +MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
77815 +MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
77816 +MAINT!$MAINT$ac_delim
77817 +HDEFINES!$HDEFINES$ac_delim
77818 +HOSTING_CRT0!$HOSTING_CRT0$ac_delim
77819 +HOSTING_LIBS!$HOSTING_LIBS$ac_delim
77820 +NATIVE_LIB_DIRS!$NATIVE_LIB_DIRS$ac_delim
77821 +STRINGIFY!$STRINGIFY$ac_delim
77822 +EMUL!$EMUL$ac_delim
77823 +EMULATION_OFILES!$EMULATION_OFILES$ac_delim
77824 +EMUL_EXTRA_OFILES!$EMUL_EXTRA_OFILES$ac_delim
77825 +LIB_PATH!$LIB_PATH$ac_delim
77826 +EMULATION_LIBPATH!$EMULATION_LIBPATH$ac_delim
77827 +TESTBFDLIB!$TESTBFDLIB$ac_delim
77828 +LIBOBJS!$LIBOBJS$ac_delim
77829 +LTLIBOBJS!$LTLIBOBJS$ac_delim
77830 +_ACEOF
77831 +
77832 + if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 45; then
77833 + break
77834 + elif $ac_last_try; then
77835 + { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
77836 +echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
77837 + { (exit 1); exit 1; }; }
77838 + else
77839 + ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
77840 + fi
77841 +done
77842 +
77843 +ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
77844 +if test -n "$ac_eof"; then
77845 + ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
77846 + ac_eof=`expr $ac_eof + 1`
77847 +fi
77848
77849 +cat >>$CONFIG_STATUS <<_ACEOF
77850 +cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
77851 +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
77852 +_ACEOF
77853 +sed '
77854 +s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
77855 +s/^/s,@/; s/!/@,|#_!!_#|/
77856 +:n
77857 +t n
77858 +s/'"$ac_delim"'$/,g/; t
77859 +s/$/\\/; p
77860 +N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
77861 +' >>$CONFIG_STATUS <conf$$subs.sed
77862 +rm -f conf$$subs.sed
77863 +cat >>$CONFIG_STATUS <<_ACEOF
77864 +:end
77865 +s/|#_!!_#|//g
77866 +CEOF$ac_eof
77867 _ACEOF
77868 +
77869 +
77870 +# VPATH may cause trouble with some makes, so we remove $(srcdir),
77871 +# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
77872 +# trailing colons and then remove the whole line if VPATH becomes empty
77873 +# (actually we leave an empty line to preserve line numbers).
77874 +if test "x$srcdir" = x.; then
77875 + ac_vpsub='/^[ ]*VPATH[ ]*=/{
77876 +s/:*\$(srcdir):*/:/
77877 +s/:*\${srcdir}:*/:/
77878 +s/:*@srcdir@:*/:/
77879 +s/^\([^=]*=[ ]*\):*/\1/
77880 +s/:*$//
77881 +s/^[^=]*=[ ]*$//
77882 +}'
77883 +fi
77884 +
77885 cat >>$CONFIG_STATUS <<\_ACEOF
77886 -for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
77887 - # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
77888 - case $ac_file in
77889 - - | *:- | *:-:* ) # input from stdin
77890 - cat >$tmp/stdin
77891 - ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
77892 - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
77893 - *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
77894 - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
77895 - * ) ac_file_in=$ac_file.in ;;
77896 +fi # test -n "$CONFIG_FILES"
77897 +
77898 +
77899 +for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
77900 +do
77901 + case $ac_tag in
77902 + :[FHLC]) ac_mode=$ac_tag; continue;;
77903 + esac
77904 + case $ac_mode$ac_tag in
77905 + :[FHL]*:*);;
77906 + :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
77907 +echo "$as_me: error: Invalid tag $ac_tag." >&2;}
77908 + { (exit 1); exit 1; }; };;
77909 + :[FH]-) ac_tag=-:-;;
77910 + :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
77911 + esac
77912 + ac_save_IFS=$IFS
77913 + IFS=:
77914 + set x $ac_tag
77915 + IFS=$ac_save_IFS
77916 + shift
77917 + ac_file=$1
77918 + shift
77919 +
77920 + case $ac_mode in
77921 + :L) ac_source=$1;;
77922 + :[FH])
77923 + ac_file_inputs=
77924 + for ac_f
77925 + do
77926 + case $ac_f in
77927 + -) ac_f="$tmp/stdin";;
77928 + *) # Look for the file first in the build tree, then in the source tree
77929 + # (if the path is not absolute). The absolute path cannot be DOS-style,
77930 + # because $ac_f cannot contain `:'.
77931 + test -f "$ac_f" ||
77932 + case $ac_f in
77933 + [\\/$]*) false;;
77934 + *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
77935 + esac ||
77936 + { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
77937 +echo "$as_me: error: cannot find input file: $ac_f" >&2;}
77938 + { (exit 1); exit 1; }; };;
77939 + esac
77940 + ac_file_inputs="$ac_file_inputs $ac_f"
77941 + done
77942 +
77943 + # Let's still pretend it is `configure' which instantiates (i.e., don't
77944 + # use $as_me), people would be surprised to read:
77945 + # /* config.h. Generated by config.status. */
77946 + configure_input="Generated from "`IFS=:
77947 + echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
77948 + if test x"$ac_file" != x-; then
77949 + configure_input="$ac_file. $configure_input"
77950 + { echo "$as_me:$LINENO: creating $ac_file" >&5
77951 +echo "$as_me: creating $ac_file" >&6;}
77952 + fi
77953 +
77954 + case $ac_tag in
77955 + *:-:* | *:-) cat >"$tmp/stdin";;
77956 + esac
77957 + ;;
77958 esac
77959
77960 - # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
77961 - ac_dir=`(dirname "$ac_file") 2>/dev/null ||
77962 + ac_dir=`$as_dirname -- "$ac_file" ||
77963 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
77964 X"$ac_file" : 'X\(//\)[^/]' \| \
77965 X"$ac_file" : 'X\(//\)$' \| \
77966 - X"$ac_file" : 'X\(/\)' \| \
77967 - . : '\(.\)' 2>/dev/null ||
77968 + X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
77969 echo X"$ac_file" |
77970 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
77971 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
77972 - /^X\(\/\/\)$/{ s//\1/; q; }
77973 - /^X\(\/\).*/{ s//\1/; q; }
77974 - s/.*/./; q'`
77975 - { if $as_mkdir_p; then
77976 - mkdir -p "$ac_dir"
77977 - else
77978 - as_dir="$ac_dir"
77979 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
77980 + s//\1/
77981 + q
77982 + }
77983 + /^X\(\/\/\)[^/].*/{
77984 + s//\1/
77985 + q
77986 + }
77987 + /^X\(\/\/\)$/{
77988 + s//\1/
77989 + q
77990 + }
77991 + /^X\(\/\).*/{
77992 + s//\1/
77993 + q
77994 + }
77995 + s/.*/./; q'`
77996 + { as_dir="$ac_dir"
77997 + case $as_dir in #(
77998 + -*) as_dir=./$as_dir;;
77999 + esac
78000 + test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
78001 as_dirs=
78002 - while test ! -d "$as_dir"; do
78003 - as_dirs="$as_dir $as_dirs"
78004 - as_dir=`(dirname "$as_dir") 2>/dev/null ||
78005 + while :; do
78006 + case $as_dir in #(
78007 + *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
78008 + *) as_qdir=$as_dir;;
78009 + esac
78010 + as_dirs="'$as_qdir' $as_dirs"
78011 + as_dir=`$as_dirname -- "$as_dir" ||
78012 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
78013 X"$as_dir" : 'X\(//\)[^/]' \| \
78014 X"$as_dir" : 'X\(//\)$' \| \
78015 - X"$as_dir" : 'X\(/\)' \| \
78016 - . : '\(.\)' 2>/dev/null ||
78017 + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
78018 echo X"$as_dir" |
78019 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
78020 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
78021 - /^X\(\/\/\)$/{ s//\1/; q; }
78022 - /^X\(\/\).*/{ s//\1/; q; }
78023 - s/.*/./; q'`
78024 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
78025 + s//\1/
78026 + q
78027 + }
78028 + /^X\(\/\/\)[^/].*/{
78029 + s//\1/
78030 + q
78031 + }
78032 + /^X\(\/\/\)$/{
78033 + s//\1/
78034 + q
78035 + }
78036 + /^X\(\/\).*/{
78037 + s//\1/
78038 + q
78039 + }
78040 + s/.*/./; q'`
78041 + test -d "$as_dir" && break
78042 done
78043 - test ! -n "$as_dirs" || mkdir $as_dirs
78044 - fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
78045 -echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
78046 + test -z "$as_dirs" || eval "mkdir $as_dirs"
78047 + } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
78048 +echo "$as_me: error: cannot create directory $as_dir" >&2;}
78049 { (exit 1); exit 1; }; }; }
78050 -
78051 ac_builddir=.
78052
78053 -if test "$ac_dir" != .; then
78054 +case "$ac_dir" in
78055 +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
78056 +*)
78057 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
78058 - # A "../" for each directory in $ac_dir_suffix.
78059 - ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
78060 -else
78061 - ac_dir_suffix= ac_top_builddir=
78062 -fi
78063 + # A ".." for each directory in $ac_dir_suffix.
78064 + ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
78065 + case $ac_top_builddir_sub in
78066 + "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
78067 + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
78068 + esac ;;
78069 +esac
78070 +ac_abs_top_builddir=$ac_pwd
78071 +ac_abs_builddir=$ac_pwd$ac_dir_suffix
78072 +# for backward compatibility:
78073 +ac_top_builddir=$ac_top_build_prefix
78074
78075 case $srcdir in
78076 - .) # No --srcdir option. We are building in place.
78077 + .) # We are building in place.
78078 ac_srcdir=.
78079 - if test -z "$ac_top_builddir"; then
78080 - ac_top_srcdir=.
78081 - else
78082 - ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
78083 - fi ;;
78084 - [\\/]* | ?:[\\/]* ) # Absolute path.
78085 + ac_top_srcdir=$ac_top_builddir_sub
78086 + ac_abs_top_srcdir=$ac_pwd ;;
78087 + [\\/]* | ?:[\\/]* ) # Absolute name.
78088 ac_srcdir=$srcdir$ac_dir_suffix;
78089 - ac_top_srcdir=$srcdir ;;
78090 - *) # Relative path.
78091 - ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
78092 - ac_top_srcdir=$ac_top_builddir$srcdir ;;
78093 -esac
78094 + ac_top_srcdir=$srcdir
78095 + ac_abs_top_srcdir=$srcdir ;;
78096 + *) # Relative name.
78097 + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
78098 + ac_top_srcdir=$ac_top_build_prefix$srcdir
78099 + ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
78100 +esac
78101 +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
78102
78103 -# Do not use `cd foo && pwd` to compute absolute paths, because
78104 -# the directories may not exist.
78105 -case `pwd` in
78106 -.) ac_abs_builddir="$ac_dir";;
78107 -*)
78108 - case "$ac_dir" in
78109 - .) ac_abs_builddir=`pwd`;;
78110 - [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
78111 - *) ac_abs_builddir=`pwd`/"$ac_dir";;
78112 - esac;;
78113 -esac
78114 -case $ac_abs_builddir in
78115 -.) ac_abs_top_builddir=${ac_top_builddir}.;;
78116 -*)
78117 - case ${ac_top_builddir}. in
78118 - .) ac_abs_top_builddir=$ac_abs_builddir;;
78119 - [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
78120 - *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
78121 - esac;;
78122 -esac
78123 -case $ac_abs_builddir in
78124 -.) ac_abs_srcdir=$ac_srcdir;;
78125 -*)
78126 - case $ac_srcdir in
78127 - .) ac_abs_srcdir=$ac_abs_builddir;;
78128 - [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
78129 - *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
78130 - esac;;
78131 -esac
78132 -case $ac_abs_builddir in
78133 -.) ac_abs_top_srcdir=$ac_top_srcdir;;
78134 -*)
78135 - case $ac_top_srcdir in
78136 - .) ac_abs_top_srcdir=$ac_abs_builddir;;
78137 - [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
78138 - *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
78139 - esac;;
78140 -esac
78141
78142 + case $ac_mode in
78143 + :F)
78144 + #
78145 + # CONFIG_FILE
78146 + #
78147
78148 case $INSTALL in
78149 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
78150 - *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
78151 + *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
78152 esac
78153 +_ACEOF
78154
78155 - if test x"$ac_file" != x-; then
78156 - { echo "$as_me:$LINENO: creating $ac_file" >&5
78157 -echo "$as_me: creating $ac_file" >&6;}
78158 - rm -f "$ac_file"
78159 - fi
78160 - # Let's still pretend it is `configure' which instantiates (i.e., don't
78161 - # use $as_me), people would be surprised to read:
78162 - # /* config.h. Generated by config.status. */
78163 - if test x"$ac_file" = x-; then
78164 - configure_input=
78165 - else
78166 - configure_input="$ac_file. "
78167 - fi
78168 - configure_input=$configure_input"Generated from `echo $ac_file_in |
78169 - sed 's,.*/,,'` by configure."
78170 -
78171 - # First look for the input files in the build tree, otherwise in the
78172 - # src tree.
78173 - ac_file_inputs=`IFS=:
78174 - for f in $ac_file_in; do
78175 - case $f in
78176 - -) echo $tmp/stdin ;;
78177 - [\\/$]*)
78178 - # Absolute (can't be DOS-style, as IFS=:)
78179 - test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
78180 -echo "$as_me: error: cannot find input file: $f" >&2;}
78181 - { (exit 1); exit 1; }; }
78182 - echo "$f";;
78183 - *) # Relative
78184 - if test -f "$f"; then
78185 - # Build tree
78186 - echo "$f"
78187 - elif test -f "$srcdir/$f"; then
78188 - # Source tree
78189 - echo "$srcdir/$f"
78190 - else
78191 - # /dev/null tree
78192 - { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
78193 -echo "$as_me: error: cannot find input file: $f" >&2;}
78194 - { (exit 1); exit 1; }; }
78195 - fi;;
78196 - esac
78197 - done` || { (exit 1); exit 1; }
78198 +cat >>$CONFIG_STATUS <<\_ACEOF
78199 +# If the template does not know about datarootdir, expand it.
78200 +# FIXME: This hack should be removed a few years after 2.60.
78201 +ac_datarootdir_hack=; ac_datarootdir_seen=
78202 +
78203 +case `sed -n '/datarootdir/ {
78204 + p
78205 + q
78206 +}
78207 +/@datadir@/p
78208 +/@docdir@/p
78209 +/@infodir@/p
78210 +/@localedir@/p
78211 +/@mandir@/p
78212 +' $ac_file_inputs` in
78213 +*datarootdir*) ac_datarootdir_seen=yes;;
78214 +*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
78215 + { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
78216 +echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
78217 _ACEOF
78218 cat >>$CONFIG_STATUS <<_ACEOF
78219 + ac_datarootdir_hack='
78220 + s&@datadir@&$datadir&g
78221 + s&@docdir@&$docdir&g
78222 + s&@infodir@&$infodir&g
78223 + s&@localedir@&$localedir&g
78224 + s&@mandir@&$mandir&g
78225 + s&\\\${datarootdir}&$datarootdir&g' ;;
78226 +esac
78227 +_ACEOF
78228 +
78229 +# Neutralize VPATH when `$srcdir' = `.'.
78230 +# Shell code in configure.ac might set extrasub.
78231 +# FIXME: do we really want to maintain this feature?
78232 +cat >>$CONFIG_STATUS <<_ACEOF
78233 sed "$ac_vpsub
78234 $extrasub
78235 _ACEOF
78236 cat >>$CONFIG_STATUS <<\_ACEOF
78237 :t
78238 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
78239 -s,@configure_input@,$configure_input,;t t
78240 -s,@srcdir@,$ac_srcdir,;t t
78241 -s,@abs_srcdir@,$ac_abs_srcdir,;t t
78242 -s,@top_srcdir@,$ac_top_srcdir,;t t
78243 -s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
78244 -s,@builddir@,$ac_builddir,;t t
78245 -s,@abs_builddir@,$ac_abs_builddir,;t t
78246 -s,@top_builddir@,$ac_top_builddir,;t t
78247 -s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
78248 -s,@INSTALL@,$ac_INSTALL,;t t
78249 -" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
78250 - rm -f $tmp/stdin
78251 - if test x"$ac_file" != x-; then
78252 - mv $tmp/out $ac_file
78253 - else
78254 - cat $tmp/out
78255 - rm -f $tmp/out
78256 - fi
78257 -
78258 -done
78259 -_ACEOF
78260 -cat >>$CONFIG_STATUS <<\_ACEOF
78261 -
78262 -#
78263 -# CONFIG_HEADER section.
78264 -#
78265 -
78266 -# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
78267 -# NAME is the cpp macro being defined and VALUE is the value it is being given.
78268 -#
78269 -# ac_d sets the value in "#define NAME VALUE" lines.
78270 -ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
78271 -ac_dB='[ ].*$,\1#\2'
78272 -ac_dC=' '
78273 -ac_dD=',;t'
78274 -# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
78275 -ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
78276 -ac_uB='$,\1#\2define\3'
78277 -ac_uC=' '
78278 -ac_uD=',;t'
78279 +s&@configure_input@&$configure_input&;t t
78280 +s&@top_builddir@&$ac_top_builddir_sub&;t t
78281 +s&@srcdir@&$ac_srcdir&;t t
78282 +s&@abs_srcdir@&$ac_abs_srcdir&;t t
78283 +s&@top_srcdir@&$ac_top_srcdir&;t t
78284 +s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
78285 +s&@builddir@&$ac_builddir&;t t
78286 +s&@abs_builddir@&$ac_abs_builddir&;t t
78287 +s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
78288 +s&@INSTALL@&$ac_INSTALL&;t t
78289 +$ac_datarootdir_hack
78290 +" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
78291 +
78292 +test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
78293 + { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
78294 + { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
78295 + { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
78296 +which seems to be undefined. Please make sure it is defined." >&5
78297 +echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
78298 +which seems to be undefined. Please make sure it is defined." >&2;}
78299
78300 -for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
78301 - # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
78302 + rm -f "$tmp/stdin"
78303 case $ac_file in
78304 - - | *:- | *:-:* ) # input from stdin
78305 - cat >$tmp/stdin
78306 - ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
78307 - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
78308 - *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
78309 - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
78310 - * ) ac_file_in=$ac_file.in ;;
78311 + -) cat "$tmp/out"; rm -f "$tmp/out";;
78312 + *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
78313 esac
78314 + ;;
78315 + :H)
78316 + #
78317 + # CONFIG_HEADER
78318 + #
78319 +_ACEOF
78320 +
78321 +# Transform confdefs.h into a sed script `conftest.defines', that
78322 +# substitutes the proper values into config.h.in to produce config.h.
78323 +rm -f conftest.defines conftest.tail
78324 +# First, append a space to every undef/define line, to ease matching.
78325 +echo 's/$/ /' >conftest.defines
78326 +# Then, protect against being on the right side of a sed subst, or in
78327 +# an unquoted here document, in config.status. If some macros were
78328 +# called several times there might be several #defines for the same
78329 +# symbol, which is useless. But do not sort them, since the last
78330 +# AC_DEFINE must be honored.
78331 +ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
78332 +# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
78333 +# NAME is the cpp macro being defined, VALUE is the value it is being given.
78334 +# PARAMS is the parameter list in the macro definition--in most cases, it's
78335 +# just an empty string.
78336 +ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
78337 +ac_dB='\\)[ (].*,\\1define\\2'
78338 +ac_dC=' '
78339 +ac_dD=' ,'
78340
78341 - test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
78342 -echo "$as_me: creating $ac_file" >&6;}
78343 -
78344 - # First look for the input files in the build tree, otherwise in the
78345 - # src tree.
78346 - ac_file_inputs=`IFS=:
78347 - for f in $ac_file_in; do
78348 - case $f in
78349 - -) echo $tmp/stdin ;;
78350 - [\\/$]*)
78351 - # Absolute (can't be DOS-style, as IFS=:)
78352 - test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
78353 -echo "$as_me: error: cannot find input file: $f" >&2;}
78354 - { (exit 1); exit 1; }; }
78355 - # Do quote $f, to prevent DOS paths from being IFS'd.
78356 - echo "$f";;
78357 - *) # Relative
78358 - if test -f "$f"; then
78359 - # Build tree
78360 - echo "$f"
78361 - elif test -f "$srcdir/$f"; then
78362 - # Source tree
78363 - echo "$srcdir/$f"
78364 - else
78365 - # /dev/null tree
78366 - { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
78367 -echo "$as_me: error: cannot find input file: $f" >&2;}
78368 - { (exit 1); exit 1; }; }
78369 - fi;;
78370 - esac
78371 - done` || { (exit 1); exit 1; }
78372 - # Remove the trailing spaces.
78373 - sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
78374 -
78375 -_ACEOF
78376 -
78377 -# Transform confdefs.h into two sed scripts, `conftest.defines' and
78378 -# `conftest.undefs', that substitutes the proper values into
78379 -# config.h.in to produce config.h. The first handles `#define'
78380 -# templates, and the second `#undef' templates.
78381 -# And first: Protect against being on the right side of a sed subst in
78382 -# config.status. Protect against being in an unquoted here document
78383 -# in config.status.
78384 -rm -f conftest.defines conftest.undefs
78385 -# Using a here document instead of a string reduces the quoting nightmare.
78386 -# Putting comments in sed scripts is not portable.
78387 -#
78388 -# `end' is used to avoid that the second main sed command (meant for
78389 -# 0-ary CPP macros) applies to n-ary macro definitions.
78390 -# See the Autoconf documentation for `clear'.
78391 -cat >confdef2sed.sed <<\_ACEOF
78392 -s/[\\&,]/\\&/g
78393 -s,[\\$`],\\&,g
78394 -t clear
78395 -: clear
78396 -s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
78397 -t end
78398 -s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
78399 -: end
78400 -_ACEOF
78401 -# If some macros were called several times there might be several times
78402 -# the same #defines, which is useless. Nevertheless, we may not want to
78403 -# sort them, since we want the *last* AC-DEFINE to be honored.
78404 -uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
78405 -sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
78406 -rm -f confdef2sed.sed
78407 +uniq confdefs.h |
78408 + sed -n '
78409 + t rset
78410 + :rset
78411 + s/^[ ]*#[ ]*define[ ][ ]*//
78412 + t ok
78413 + d
78414 + :ok
78415 + s/[\\&,]/\\&/g
78416 + s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
78417 + s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
78418 + ' >>conftest.defines
78419
78420 -# This sed command replaces #undef with comments. This is necessary, for
78421 +# Remove the space that was appended to ease matching.
78422 +# Then replace #undef with comments. This is necessary, for
78423 # example, in the case of _POSIX_SOURCE, which is predefined and required
78424 # on some systems where configure will not decide to define it.
78425 -cat >>conftest.undefs <<\_ACEOF
78426 -s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
78427 +# (The regexp can be short, since the line contains either #define or #undef.)
78428 +echo 's/ $//
78429 +s,^[ #]*u.*,/* & */,' >>conftest.defines
78430 +
78431 +# Break up conftest.defines:
78432 +ac_max_sed_lines=50
78433 +
78434 +# First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
78435 +# Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
78436 +# Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
78437 +# et cetera.
78438 +ac_in='$ac_file_inputs'
78439 +ac_out='"$tmp/out1"'
78440 +ac_nxt='"$tmp/out2"'
78441 +
78442 +while :
78443 +do
78444 + # Write a here document:
78445 + cat >>$CONFIG_STATUS <<_ACEOF
78446 + # First, check the format of the line:
78447 + cat >"\$tmp/defines.sed" <<\\CEOF
78448 +/^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
78449 +/^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
78450 +b
78451 +:def
78452 _ACEOF
78453 -
78454 -# Break up conftest.defines because some shells have a limit on the size
78455 -# of here documents, and old seds have small limits too (100 cmds).
78456 -echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
78457 -echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
78458 -echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
78459 -echo ' :' >>$CONFIG_STATUS
78460 -rm -f conftest.tail
78461 -while grep . conftest.defines >/dev/null
78462 -do
78463 - # Write a limited-size here document to $tmp/defines.sed.
78464 - echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
78465 - # Speed up: don't consider the non `#define' lines.
78466 - echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
78467 - # Work around the forget-to-reset-the-flag bug.
78468 - echo 't clr' >>$CONFIG_STATUS
78469 - echo ': clr' >>$CONFIG_STATUS
78470 - sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
78471 + sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
78472 echo 'CEOF
78473 - sed -f $tmp/defines.sed $tmp/in >$tmp/out
78474 - rm -f $tmp/in
78475 - mv $tmp/out $tmp/in
78476 -' >>$CONFIG_STATUS
78477 - sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
78478 + sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
78479 + ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
78480 + sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
78481 + grep . conftest.tail >/dev/null || break
78482 rm -f conftest.defines
78483 mv conftest.tail conftest.defines
78484 done
78485 -rm -f conftest.defines
78486 -echo ' fi # grep' >>$CONFIG_STATUS
78487 -echo >>$CONFIG_STATUS
78488 -
78489 -# Break up conftest.undefs because some shells have a limit on the size
78490 -# of here documents, and old seds have small limits too (100 cmds).
78491 -echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
78492 -rm -f conftest.tail
78493 -while grep . conftest.undefs >/dev/null
78494 -do
78495 - # Write a limited-size here document to $tmp/undefs.sed.
78496 - echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
78497 - # Speed up: don't consider the non `#undef'
78498 - echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
78499 - # Work around the forget-to-reset-the-flag bug.
78500 - echo 't clr' >>$CONFIG_STATUS
78501 - echo ': clr' >>$CONFIG_STATUS
78502 - sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
78503 - echo 'CEOF
78504 - sed -f $tmp/undefs.sed $tmp/in >$tmp/out
78505 - rm -f $tmp/in
78506 - mv $tmp/out $tmp/in
78507 -' >>$CONFIG_STATUS
78508 - sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
78509 - rm -f conftest.undefs
78510 - mv conftest.tail conftest.undefs
78511 -done
78512 -rm -f conftest.undefs
78513 +rm -f conftest.defines conftest.tail
78514
78515 +echo "ac_result=$ac_in" >>$CONFIG_STATUS
78516 cat >>$CONFIG_STATUS <<\_ACEOF
78517 - # Let's still pretend it is `configure' which instantiates (i.e., don't
78518 - # use $as_me), people would be surprised to read:
78519 - # /* config.h. Generated by config.status. */
78520 - if test x"$ac_file" = x-; then
78521 - echo "/* Generated by configure. */" >$tmp/config.h
78522 - else
78523 - echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
78524 - fi
78525 - cat $tmp/in >>$tmp/config.h
78526 - rm -f $tmp/in
78527 if test x"$ac_file" != x-; then
78528 - if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
78529 + echo "/* $configure_input */" >"$tmp/config.h"
78530 + cat "$ac_result" >>"$tmp/config.h"
78531 + if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
78532 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
78533 echo "$as_me: $ac_file is unchanged" >&6;}
78534 else
78535 - ac_dir=`(dirname "$ac_file") 2>/dev/null ||
78536 -$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
78537 - X"$ac_file" : 'X\(//\)[^/]' \| \
78538 - X"$ac_file" : 'X\(//\)$' \| \
78539 - X"$ac_file" : 'X\(/\)' \| \
78540 - . : '\(.\)' 2>/dev/null ||
78541 -echo X"$ac_file" |
78542 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
78543 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
78544 - /^X\(\/\/\)$/{ s//\1/; q; }
78545 - /^X\(\/\).*/{ s//\1/; q; }
78546 - s/.*/./; q'`
78547 - { if $as_mkdir_p; then
78548 - mkdir -p "$ac_dir"
78549 - else
78550 - as_dir="$ac_dir"
78551 - as_dirs=
78552 - while test ! -d "$as_dir"; do
78553 - as_dirs="$as_dir $as_dirs"
78554 - as_dir=`(dirname "$as_dir") 2>/dev/null ||
78555 -$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
78556 - X"$as_dir" : 'X\(//\)[^/]' \| \
78557 - X"$as_dir" : 'X\(//\)$' \| \
78558 - X"$as_dir" : 'X\(/\)' \| \
78559 - . : '\(.\)' 2>/dev/null ||
78560 -echo X"$as_dir" |
78561 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
78562 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
78563 - /^X\(\/\/\)$/{ s//\1/; q; }
78564 - /^X\(\/\).*/{ s//\1/; q; }
78565 - s/.*/./; q'`
78566 - done
78567 - test ! -n "$as_dirs" || mkdir $as_dirs
78568 - fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
78569 -echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
78570 - { (exit 1); exit 1; }; }; }
78571 -
78572 rm -f $ac_file
78573 - mv $tmp/config.h $ac_file
78574 + mv "$tmp/config.h" $ac_file
78575 fi
78576 else
78577 - cat $tmp/config.h
78578 - rm -f $tmp/config.h
78579 + echo "/* $configure_input */"
78580 + cat "$ac_result"
78581 fi
78582 + rm -f "$tmp/out12"
78583 # Compute $ac_file's index in $config_headers.
78584 _am_stamp_count=1
78585 for _am_header in $config_headers :; do
78586 @@ -11025,135 +11417,39 @@ for _am_header in $config_headers :; do
78587 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
78588 esac
78589 done
78590 -echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
78591 +echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
78592 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
78593 X$ac_file : 'X\(//\)[^/]' \| \
78594 X$ac_file : 'X\(//\)$' \| \
78595 - X$ac_file : 'X\(/\)' \| \
78596 - . : '\(.\)' 2>/dev/null ||
78597 + X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
78598 echo X$ac_file |
78599 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
78600 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
78601 - /^X\(\/\/\)$/{ s//\1/; q; }
78602 - /^X\(\/\).*/{ s//\1/; q; }
78603 - s/.*/./; q'`/stamp-h$_am_stamp_count
78604 -done
78605 -_ACEOF
78606 -cat >>$CONFIG_STATUS <<\_ACEOF
78607 -
78608 -#
78609 -# CONFIG_COMMANDS section.
78610 -#
78611 -for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
78612 - ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
78613 - ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
78614 - ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
78615 -$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
78616 - X"$ac_dest" : 'X\(//\)[^/]' \| \
78617 - X"$ac_dest" : 'X\(//\)$' \| \
78618 - X"$ac_dest" : 'X\(/\)' \| \
78619 - . : '\(.\)' 2>/dev/null ||
78620 -echo X"$ac_dest" |
78621 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
78622 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
78623 - /^X\(\/\/\)$/{ s//\1/; q; }
78624 - /^X\(\/\).*/{ s//\1/; q; }
78625 - s/.*/./; q'`
78626 - { if $as_mkdir_p; then
78627 - mkdir -p "$ac_dir"
78628 - else
78629 - as_dir="$ac_dir"
78630 - as_dirs=
78631 - while test ! -d "$as_dir"; do
78632 - as_dirs="$as_dir $as_dirs"
78633 - as_dir=`(dirname "$as_dir") 2>/dev/null ||
78634 -$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
78635 - X"$as_dir" : 'X\(//\)[^/]' \| \
78636 - X"$as_dir" : 'X\(//\)$' \| \
78637 - X"$as_dir" : 'X\(/\)' \| \
78638 - . : '\(.\)' 2>/dev/null ||
78639 -echo X"$as_dir" |
78640 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
78641 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
78642 - /^X\(\/\/\)$/{ s//\1/; q; }
78643 - /^X\(\/\).*/{ s//\1/; q; }
78644 - s/.*/./; q'`
78645 - done
78646 - test ! -n "$as_dirs" || mkdir $as_dirs
78647 - fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
78648 -echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
78649 - { (exit 1); exit 1; }; }; }
78650 -
78651 - ac_builddir=.
78652 -
78653 -if test "$ac_dir" != .; then
78654 - ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
78655 - # A "../" for each directory in $ac_dir_suffix.
78656 - ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
78657 -else
78658 - ac_dir_suffix= ac_top_builddir=
78659 -fi
78660 -
78661 -case $srcdir in
78662 - .) # No --srcdir option. We are building in place.
78663 - ac_srcdir=.
78664 - if test -z "$ac_top_builddir"; then
78665 - ac_top_srcdir=.
78666 - else
78667 - ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
78668 - fi ;;
78669 - [\\/]* | ?:[\\/]* ) # Absolute path.
78670 - ac_srcdir=$srcdir$ac_dir_suffix;
78671 - ac_top_srcdir=$srcdir ;;
78672 - *) # Relative path.
78673 - ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
78674 - ac_top_srcdir=$ac_top_builddir$srcdir ;;
78675 -esac
78676 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
78677 + s//\1/
78678 + q
78679 + }
78680 + /^X\(\/\/\)[^/].*/{
78681 + s//\1/
78682 + q
78683 + }
78684 + /^X\(\/\/\)$/{
78685 + s//\1/
78686 + q
78687 + }
78688 + /^X\(\/\).*/{
78689 + s//\1/
78690 + q
78691 + }
78692 + s/.*/./; q'`/stamp-h$_am_stamp_count
78693 + ;;
78694
78695 -# Do not use `cd foo && pwd` to compute absolute paths, because
78696 -# the directories may not exist.
78697 -case `pwd` in
78698 -.) ac_abs_builddir="$ac_dir";;
78699 -*)
78700 - case "$ac_dir" in
78701 - .) ac_abs_builddir=`pwd`;;
78702 - [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
78703 - *) ac_abs_builddir=`pwd`/"$ac_dir";;
78704 - esac;;
78705 -esac
78706 -case $ac_abs_builddir in
78707 -.) ac_abs_top_builddir=${ac_top_builddir}.;;
78708 -*)
78709 - case ${ac_top_builddir}. in
78710 - .) ac_abs_top_builddir=$ac_abs_builddir;;
78711 - [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
78712 - *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
78713 - esac;;
78714 -esac
78715 -case $ac_abs_builddir in
78716 -.) ac_abs_srcdir=$ac_srcdir;;
78717 -*)
78718 - case $ac_srcdir in
78719 - .) ac_abs_srcdir=$ac_abs_builddir;;
78720 - [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
78721 - *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
78722 - esac;;
78723 -esac
78724 -case $ac_abs_builddir in
78725 -.) ac_abs_top_srcdir=$ac_top_srcdir;;
78726 -*)
78727 - case $ac_top_srcdir in
78728 - .) ac_abs_top_srcdir=$ac_abs_builddir;;
78729 - [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
78730 - *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
78731 - esac;;
78732 -esac
78733 + :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
78734 +echo "$as_me: executing $ac_file commands" >&6;}
78735 + ;;
78736 + esac
78737
78738
78739 - { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
78740 -echo "$as_me: executing $ac_dest commands" >&6;}
78741 - case $ac_dest in
78742 - depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
78743 + case $ac_file$ac_mode in
78744 + "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
78745 # Strip MF so we end up with the name of the file.
78746 mf=`echo "$mf" | sed -e 's/:.*$//'`
78747 # Check whether this is an Automake generated Makefile or not.
78748 @@ -11163,18 +11459,29 @@ echo "$as_me: executing $ac_dest command
78749 # each Makefile.in and add a new line on top of each file to say so.
78750 # So let's grep whole file.
78751 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
78752 - dirpart=`(dirname "$mf") 2>/dev/null ||
78753 + dirpart=`$as_dirname -- "$mf" ||
78754 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
78755 X"$mf" : 'X\(//\)[^/]' \| \
78756 X"$mf" : 'X\(//\)$' \| \
78757 - X"$mf" : 'X\(/\)' \| \
78758 - . : '\(.\)' 2>/dev/null ||
78759 + X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
78760 echo X"$mf" |
78761 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
78762 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
78763 - /^X\(\/\/\)$/{ s//\1/; q; }
78764 - /^X\(\/\).*/{ s//\1/; q; }
78765 - s/.*/./; q'`
78766 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
78767 + s//\1/
78768 + q
78769 + }
78770 + /^X\(\/\/\)[^/].*/{
78771 + s//\1/
78772 + q
78773 + }
78774 + /^X\(\/\/\)$/{
78775 + s//\1/
78776 + q
78777 + }
78778 + /^X\(\/\).*/{
78779 + s//\1/
78780 + q
78781 + }
78782 + s/.*/./; q'`
78783 else
78784 continue
78785 fi
78786 @@ -11196,54 +11503,80 @@ echo X"$mf" |
78787 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
78788 # Make sure the directory exists.
78789 test -f "$dirpart/$file" && continue
78790 - fdir=`(dirname "$file") 2>/dev/null ||
78791 + fdir=`$as_dirname -- "$file" ||
78792 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
78793 X"$file" : 'X\(//\)[^/]' \| \
78794 X"$file" : 'X\(//\)$' \| \
78795 - X"$file" : 'X\(/\)' \| \
78796 - . : '\(.\)' 2>/dev/null ||
78797 + X"$file" : 'X\(/\)' \| . 2>/dev/null ||
78798 echo X"$file" |
78799 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
78800 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
78801 - /^X\(\/\/\)$/{ s//\1/; q; }
78802 - /^X\(\/\).*/{ s//\1/; q; }
78803 - s/.*/./; q'`
78804 - { if $as_mkdir_p; then
78805 - mkdir -p $dirpart/$fdir
78806 - else
78807 - as_dir=$dirpart/$fdir
78808 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
78809 + s//\1/
78810 + q
78811 + }
78812 + /^X\(\/\/\)[^/].*/{
78813 + s//\1/
78814 + q
78815 + }
78816 + /^X\(\/\/\)$/{
78817 + s//\1/
78818 + q
78819 + }
78820 + /^X\(\/\).*/{
78821 + s//\1/
78822 + q
78823 + }
78824 + s/.*/./; q'`
78825 + { as_dir=$dirpart/$fdir
78826 + case $as_dir in #(
78827 + -*) as_dir=./$as_dir;;
78828 + esac
78829 + test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
78830 as_dirs=
78831 - while test ! -d "$as_dir"; do
78832 - as_dirs="$as_dir $as_dirs"
78833 - as_dir=`(dirname "$as_dir") 2>/dev/null ||
78834 + while :; do
78835 + case $as_dir in #(
78836 + *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
78837 + *) as_qdir=$as_dir;;
78838 + esac
78839 + as_dirs="'$as_qdir' $as_dirs"
78840 + as_dir=`$as_dirname -- "$as_dir" ||
78841 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
78842 X"$as_dir" : 'X\(//\)[^/]' \| \
78843 X"$as_dir" : 'X\(//\)$' \| \
78844 - X"$as_dir" : 'X\(/\)' \| \
78845 - . : '\(.\)' 2>/dev/null ||
78846 + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
78847 echo X"$as_dir" |
78848 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
78849 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
78850 - /^X\(\/\/\)$/{ s//\1/; q; }
78851 - /^X\(\/\).*/{ s//\1/; q; }
78852 - s/.*/./; q'`
78853 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
78854 + s//\1/
78855 + q
78856 + }
78857 + /^X\(\/\/\)[^/].*/{
78858 + s//\1/
78859 + q
78860 + }
78861 + /^X\(\/\/\)$/{
78862 + s//\1/
78863 + q
78864 + }
78865 + /^X\(\/\).*/{
78866 + s//\1/
78867 + q
78868 + }
78869 + s/.*/./; q'`
78870 + test -d "$as_dir" && break
78871 done
78872 - test ! -n "$as_dirs" || mkdir $as_dirs
78873 - fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
78874 -echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
78875 + test -z "$as_dirs" || eval "mkdir $as_dirs"
78876 + } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
78877 +echo "$as_me: error: cannot create directory $as_dir" >&2;}
78878 { (exit 1); exit 1; }; }; }
78879 -
78880 # echo "creating $dirpart/$file"
78881 echo '# dummy' > "$dirpart/$file"
78882 done
78883 done
78884 ;;
78885 - default ) sed -e '/POTFILES =/r po/POTFILES' po/Makefile.in > po/Makefile ;;
78886 + "default":C) sed -e '/POTFILES =/r po/POTFILES' po/Makefile.in > po/Makefile ;;
78887 +
78888 esac
78889 -done
78890 -_ACEOF
78891 +done # for ac_tag
78892
78893 -cat >>$CONFIG_STATUS <<\_ACEOF
78894
78895 { (exit 0); exit 0; }
78896 _ACEOF
78897 diff -Nrup binutils-2.17/ld/configure.tgt binutils-2.17-atmel/ld/configure.tgt
78898 --- binutils-2.17/ld/configure.tgt 2006-04-05 14:41:57.000000000 +0200
78899 +++ binutils-2.17-atmel/ld/configure.tgt 2007-02-12 15:37:09.000000000 +0100
78900 @@ -81,8 +81,10 @@ xscale-*-coff) targ_emul=armcoff ;;
78901 xscale-*-elf) targ_emul=armelf
78902 ;;
78903 avr-*-*) targ_emul=avr2
78904 - targ_extra_emuls="avr1 avr3 avr4 avr5"
78905 - ;;
78906 + targ_extra_emuls="avr1 avr3 avr4 avr5" ;;
78907 +avr32-*-none) targ_emul=avr32elf_ap7000
78908 + targ_extra_emuls="avr32elf_uc3a0512" ;;
78909 +avr32-*-linux*) targ_emul=avr32linux ;;
78910 bfin-*-elf) targ_emul=elf32bfin; targ_extra_emuls="elf32bfinfd" ;;
78911 bfin-*-uclinux*) targ_emul=elf32bfin; targ_extra_emuls="elf32bfinfd" ;;
78912 cr16c-*-elf*) targ_emul=elf32cr16c
78913 diff -Nrup binutils-2.17/ld/emulparams/avr32elf_ap7000.sh binutils-2.17-atmel/ld/emulparams/avr32elf_ap7000.sh
78914 --- binutils-2.17/ld/emulparams/avr32elf_ap7000.sh 1970-01-01 01:00:00.000000000 +0100
78915 +++ binutils-2.17-atmel/ld/emulparams/avr32elf_ap7000.sh 2006-11-10 15:11:19.000000000 +0100
78916 @@ -0,0 +1,34 @@
78917 +MACHINE=ap
78918 +SCRIPT_NAME=elf_xip
78919 +TEMPLATE_NAME=elf32
78920 +OUTPUT_FORMAT="elf32-avr32"
78921 +ARCH=avr32
78922 +MAXPAGESIZE=4096
78923 +ENTRY=_start
78924 +EMBEDDED=yes
78925 +NO_SMALL_DATA=yes
78926 +NOP=0xd703d703
78927 +
78928 +TEXT_START_ADDR=0xa0000000
78929 +DATA_SEGMENT_ALIGN=8
78930 +BSS_ALIGNMENT=8
78931 +
78932 +INITIAL_READONLY_SECTIONS=".reset : { *(.reset) } >FLASH AT>FLASH
78933 + . = . & 0x1fffffff;"
78934 +
78935 +MEMORY="MEMORY
78936 + {
78937 + FLASH (rxai) : ORIGIN = 0x00000000, LENGTH = 0x4000000
78938 + SRAM (rwxa) : ORIGIN = 0x24000000, LENGTH = 0x8000
78939 + }"
78940 +RO_LMA_REGION="FLASH"
78941 +RO_VMA_REGION="FLASH"
78942 +RW_LMA_REGION="FLASH"
78943 +RW_VMA_REGION="SRAM"
78944 +
78945 +STACK_SIZE=0x1000
78946 +STACK_ADDR="ORIGIN(SRAM) + LENGTH(SRAM) - ${STACK_SIZE}"
78947 +
78948 +DATA_SEGMENT_END="__heap_start__ = ALIGN(8);
78949 + . = ${STACK_ADDR};
78950 + __heap_end__ = .;"
78951 diff -Nrup binutils-2.17/ld/emulparams/avr32elf.sh binutils-2.17-atmel/ld/emulparams/avr32elf.sh
78952 --- binutils-2.17/ld/emulparams/avr32elf.sh 1970-01-01 01:00:00.000000000 +0100
78953 +++ binutils-2.17-atmel/ld/emulparams/avr32elf.sh 2006-08-04 14:51:23.000000000 +0200
78954 @@ -0,0 +1,24 @@
78955 +MACHINE=
78956 +SCRIPT_NAME=elf
78957 +TEMPLATE_NAME=elf32
78958 +OUTPUT_FORMAT="elf32-avr32"
78959 +TEXT_START_ADDR=0xa0000000
78960 +ARCH=avr32
78961 +MAXPAGESIZE=0x4
78962 +ENTRY=_start
78963 +EMBEDDED=yes
78964 +NOP=0xd703d703
78965 +INITIAL_READONLY_SECTIONS=".reset : AT(0x0) { *(.reset) }
78966 + . = . & 0x1fffffff;"
78967 +DATA_START_SYMBOLS="__data_init_start__ = .;
78968 + __data_init_end__ = .;
78969 + __data_start__ = .;"
78970 +
78971 +OTHER_BSS_SYMBOLS='__bss_start__ = .;'
78972 +OTHER_BSS_END_SYMBOLS="_bss_end__ = . ; __bss_end__ = . ; __end__ = . ;
78973 + . = ALIGN(16);
78974 + __heap_start__ = .;
78975 + __heap_end__ = 0x82000000;"
78976 +
78977 +STACK_ADDR=0x82000000
78978 +
78979 diff -Nrup binutils-2.17/ld/emulparams/avr32elf_uc3a0512.sh binutils-2.17-atmel/ld/emulparams/avr32elf_uc3a0512.sh
78980 --- binutils-2.17/ld/emulparams/avr32elf_uc3a0512.sh 1970-01-01 01:00:00.000000000 +0100
78981 +++ binutils-2.17-atmel/ld/emulparams/avr32elf_uc3a0512.sh 2006-11-10 15:11:19.000000000 +0100
78982 @@ -0,0 +1,34 @@
78983 +MACHINE=uc
78984 +SCRIPT_NAME=elf_xip
78985 +TEMPLATE_NAME=elf32
78986 +OUTPUT_FORMAT="elf32-avr32"
78987 +ARCH=avr32
78988 +MAXPAGESIZE=4096
78989 +ENTRY=_start
78990 +EMBEDDED=yes
78991 +NO_SMALL_DATA=yes
78992 +NOP=0xd703d703
78993 +
78994 +TEXT_START_ADDR=0x80000000
78995 +DATA_SEGMENT_ALIGN=8
78996 +BSS_ALIGNMENT=8
78997 +
78998 +INITIAL_READONLY_SECTIONS=".reset : { *(.reset) } >FLASH AT>FLASH
78999 + . = . & 0x1fffffff;"
79000 +
79001 +MEMORY="MEMORY
79002 + {
79003 + FLASH (rxai) : ORIGIN = 0x80000000, LENGTH = 0x80000
79004 + INTRAM (rwxa) : ORIGIN = 0x00000000, LENGTH = 0x10000
79005 + }"
79006 +RO_LMA_REGION="FLASH"
79007 +RO_VMA_REGION="FLASH"
79008 +RW_LMA_REGION="FLASH"
79009 +RW_VMA_REGION="INTRAM"
79010 +
79011 +STACK_SIZE=0x1000
79012 +STACK_ADDR="ORIGIN(INTRAM) + LENGTH(INTRAM) - ${STACK_SIZE}"
79013 +
79014 +DATA_SEGMENT_END="__heap_start__ = ALIGN(8);
79015 + . = ${STACK_ADDR};
79016 + __heap_end__ = .;"
79017 diff -Nrup binutils-2.17/ld/emulparams/avr32linux.sh binutils-2.17-atmel/ld/emulparams/avr32linux.sh
79018 --- binutils-2.17/ld/emulparams/avr32linux.sh 1970-01-01 01:00:00.000000000 +0100
79019 +++ binutils-2.17-atmel/ld/emulparams/avr32linux.sh 2006-08-04 14:51:23.000000000 +0200
79020 @@ -0,0 +1,13 @@
79021 +ARCH=avr32
79022 +SCRIPT_NAME=elf
79023 +TEMPLATE_NAME=elf32
79024 +OUTPUT_FORMAT="elf32-avr32"
79025 +GENERATE_SHLIB_SCRIPT=yes
79026 +MAXPAGESIZE=0x1000
79027 +TEXT_START_ADDR=0x00001000
79028 +NOP=0xd703d703
79029 +
79030 +# This appears to place the GOT before the data section, which is
79031 +# essential for uClinux. We don't use those .s* sections on AVR32
79032 +# anyway, so it shouldn't hurt for regular Linux either...
79033 +NO_SMALL_DATA=yes
79034 diff -Nrup binutils-2.17/ld/Makefile.am binutils-2.17-atmel/ld/Makefile.am
79035 --- binutils-2.17/ld/Makefile.am 2006-06-03 06:45:50.000000000 +0200
79036 +++ binutils-2.17-atmel/ld/Makefile.am 2007-02-12 15:37:09.000000000 +0100
79037 @@ -133,6 +133,9 @@ ALL_EMULATIONS = \
79038 eavr3.o \
79039 eavr4.o \
79040 eavr5.o \
79041 + eavr32elf_ap7000.o \
79042 + eavr32elf_uc3a0512.o \
79043 + eavr32linux.o \
79044 ecoff_i860.o \
79045 ecoff_sparc.o \
79046 ecrisaout.o \
79047 @@ -595,6 +598,15 @@ eavr5.c: $(srcdir)/emulparams/avr5.sh \
79048 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/avr.sc \
79049 ${GEN_DEPENDS}
79050 ${GENSCRIPTS} avr5 "$(tdir_avr2)"
79051 +eavr32elf_ap7000.c: $(srcdir)/emulparams/avr32elf_ap7000.sh \
79052 + $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf_xip.sc ${GEN_DEPENDS}
79053 + ${GENSCRIPTS} avr32elf_ap7000 "$(tdir_avr32)"
79054 +eavr32elf_uc3a0512.c: $(srcdir)/emulparams/avr32elf_uc3a0512.sh \
79055 + $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf_xip.sc ${GEN_DEPENDS}
79056 + ${GENSCRIPTS} avr32elf_uc3a0512 "$(tdir_avr32)"
79057 +eavr32linux.c: $(srcdir)/emulparams/avr32linux.sh \
79058 + $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
79059 + ${GENSCRIPTS} avr32linux "$(tdir_avr32)"
79060 ecoff_i860.c: $(srcdir)/emulparams/coff_i860.sh \
79061 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/i860coff.sc ${GEN_DEPENDS}
79062 ${GENSCRIPTS} coff_i860 "$(tdir_coff_i860)"
79063 @@ -1800,7 +1812,9 @@ install-exec-local: ld-new$(EXEEXT)
79064 || $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) ld-new$(EXEEXT) $(DESTDIR)$(tooldir)/bin/ld$(EXEEXT); \
79065 fi
79066
79067 -install-data-local:
79068 +# We want install to imply install-info as per GNU standards, despite the
79069 +# cygnus option.
79070 +install-data-local: install-info
79071 $(mkinstalldirs) $(DESTDIR)$(scriptdir)/ldscripts
79072 for f in ldscripts/*; do \
79073 $(INSTALL_DATA) $$f $(DESTDIR)$(scriptdir)/$$f ; \
79074 diff -Nrup binutils-2.17/ld/Makefile.in binutils-2.17-atmel/ld/Makefile.in
79075 --- binutils-2.17/ld/Makefile.in 2006-06-03 06:45:50.000000000 +0200
79076 +++ binutils-2.17-atmel/ld/Makefile.in 2007-02-20 16:07:38.000000000 +0100
79077 @@ -145,6 +145,7 @@ EMUL_EXTRA_OFILES = @EMUL_EXTRA_OFILES@
79078 EXEEXT = @EXEEXT@
79079 GMOFILES = @GMOFILES@
79080 GMSGFMT = @GMSGFMT@
79081 +GREP = @GREP@
79082 GT_NO = @GT_NO@
79083 GT_YES = @GT_YES@
79084 HDEFINES = @HDEFINES@
79085 @@ -213,9 +214,8 @@ VERSION = @VERSION@
79086 WARN_CFLAGS = @WARN_CFLAGS@
79087 XGETTEXT = @XGETTEXT@
79088 YACC = `if [ -f ../bison/bison ]; then echo ../bison/bison -y -L$(srcdir)/../bison/; else echo @YACC@; fi`
79089 +YFLAGS = -d
79090 ac_ct_CC = @ac_ct_CC@
79091 -ac_ct_RANLIB = @ac_ct_RANLIB@
79092 -ac_ct_STRIP = @ac_ct_STRIP@
79093 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
79094 am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
79095 am__include = @am__include@
79096 @@ -232,6 +232,7 @@ build_vendor = @build_vendor@
79097 datadir = @datadir@
79098 datarootdir = @datarootdir@
79099 docdir = @docdir@
79100 +dvidir = @dvidir@
79101 exec_prefix = @exec_prefix@
79102 host = @host@
79103 host_alias = @host_alias@
79104 @@ -245,12 +246,15 @@ install_sh = @install_sh@
79105 l = @l@
79106 libdir = @libdir@
79107 libexecdir = @libexecdir@
79108 +localedir = @localedir@
79109 localstatedir = @localstatedir@
79110 mandir = @mandir@
79111 mkdir_p = @mkdir_p@
79112 oldincludedir = @oldincludedir@
79113 +pdfdir = @pdfdir@
79114 prefix = @prefix@
79115 program_transform_name = @program_transform_name@
79116 +psdir = @psdir@
79117 sbindir = @sbindir@
79118 sharedstatedir = @sharedstatedir@
79119 sysconfdir = @sysconfdir@
79120 @@ -263,7 +267,6 @@ use_sysroot = @use_sysroot@
79121 AUTOMAKE_OPTIONS = cygnus dejagnu
79122 SUBDIRS = po
79123 tooldir = $(exec_prefix)/$(target_alias)
79124 -YFLAGS = -d
79125 AM_CFLAGS = $(WARN_CFLAGS)
79126
79127 # We put the scripts in the directory $(scriptdir)/ldscripts.
79128 @@ -357,6 +360,9 @@ ALL_EMULATIONS = \
79129 eavr3.o \
79130 eavr4.o \
79131 eavr5.o \
79132 + eavr32elf_ap7000.o \
79133 + eavr32elf_uc3a0512.o \
79134 + eavr32linux.o \
79135 ecoff_i860.o \
79136 ecoff_sparc.o \
79137 ecrisaout.o \
79138 @@ -878,10 +884,13 @@ dist-info: $(INFO_DEPS)
79139 $(srcdir)/*) base=`echo "$$base" | sed "s|^$$srcdirstrip/||"`;; \
79140 esac; \
79141 if test -f $$base; then d=.; else d=$(srcdir); fi; \
79142 - for file in $$d/$$base*; do \
79143 - relfile=`expr "$$file" : "$$d/\(.*\)"`; \
79144 - test -f $(distdir)/$$relfile || \
79145 - cp -p $$file $(distdir)/$$relfile; \
79146 + base_i=`echo "$$base" | sed 's|\.info$$||;s|$$|.i|'`; \
79147 + for file in $$d/$$base $$d/$$base-[0-9] $$d/$$base-[0-9][0-9] $$d/$$base_i[0-9] $$d/$$base_i[0-9][0-9]; do \
79148 + if test -f $$file; then \
79149 + relfile=`expr "$$file" : "$$d/\(.*\)"`; \
79150 + test -f $(distdir)/$$relfile || \
79151 + cp -p $$file $(distdir)/$$relfile; \
79152 + else :; fi; \
79153 done; \
79154 done
79155
79156 @@ -1406,6 +1415,15 @@ eavr5.c: $(srcdir)/emulparams/avr5.sh \
79157 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/avr.sc \
79158 ${GEN_DEPENDS}
79159 ${GENSCRIPTS} avr5 "$(tdir_avr2)"
79160 +eavr32elf_ap7000.c: $(srcdir)/emulparams/avr32elf_ap7000.sh \
79161 + $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf_xip.sc ${GEN_DEPENDS}
79162 + ${GENSCRIPTS} avr32elf_ap7000 "$(tdir_avr32)"
79163 +eavr32elf_uc3a0512.c: $(srcdir)/emulparams/avr32elf_uc3a0512.sh \
79164 + $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf_xip.sc ${GEN_DEPENDS}
79165 + ${GENSCRIPTS} avr32elf_uc3a0512 "$(tdir_avr32)"
79166 +eavr32linux.c: $(srcdir)/emulparams/avr32linux.sh \
79167 + $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
79168 + ${GENSCRIPTS} avr32linux "$(tdir_avr32)"
79169 ecoff_i860.c: $(srcdir)/emulparams/coff_i860.sh \
79170 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/i860coff.sc ${GEN_DEPENDS}
79171 ${GENSCRIPTS} coff_i860 "$(tdir_coff_i860)"
79172 @@ -2587,7 +2605,9 @@ install-exec-local: ld-new$(EXEEXT)
79173 || $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) ld-new$(EXEEXT) $(DESTDIR)$(tooldir)/bin/ld$(EXEEXT); \
79174 fi
79175
79176 -install-data-local:
79177 +# We want install to imply install-info as per GNU standards, despite the
79178 +# cygnus option.
79179 +install-data-local: install-info
79180 $(mkinstalldirs) $(DESTDIR)$(scriptdir)/ldscripts
79181 for f in ldscripts/*; do \
79182 $(INSTALL_DATA) $$f $(DESTDIR)$(scriptdir)/$$f ; \
79183 diff -Nrup binutils-2.17/ld/scripttempl/elf_xip.sc binutils-2.17-atmel/ld/scripttempl/elf_xip.sc
79184 --- binutils-2.17/ld/scripttempl/elf_xip.sc 1970-01-01 01:00:00.000000000 +0100
79185 +++ binutils-2.17-atmel/ld/scripttempl/elf_xip.sc 2006-08-04 14:51:49.000000000 +0200
79186 @@ -0,0 +1,456 @@
79187 +#
79188 +# Unusual variables checked by this code:
79189 +# NOP - four byte opcode for no-op (defaults to 0)
79190 +# NO_SMALL_DATA - no .sbss/.sbss2/.sdata/.sdata2 sections if not
79191 +# empty.
79192 +# SMALL_DATA_CTOR - .ctors contains small data.
79193 +# SMALL_DATA_DTOR - .dtors contains small data.
79194 +# DATA_ADDR - if end-of-text-plus-one-page isn't right for data start
79195 +# INITIAL_READONLY_SECTIONS - at start of text segment
79196 +# OTHER_READONLY_SECTIONS - other than .text .init .rodata ...
79197 +# (e.g., .PARISC.milli)
79198 +# OTHER_TEXT_SECTIONS - these get put in .text when relocating
79199 +# OTHER_READWRITE_SECTIONS - other than .data .bss .ctors .sdata ...
79200 +# (e.g., .PARISC.global)
79201 +# OTHER_RELRO_SECTIONS - other than .data.rel.ro ...
79202 +# (e.g. PPC32 .fixup, .got[12])
79203 +# OTHER_BSS_SECTIONS - other than .bss .sbss ...
79204 +# OTHER_SECTIONS - at the end
79205 +# EXECUTABLE_SYMBOLS - symbols that must be defined for an
79206 +# executable (e.g., _DYNAMIC_LINK)
79207 +# TEXT_START_ADDR - the first byte of the text segment, after any
79208 +# headers.
79209 +# TEXT_BASE_ADDRESS - the first byte of the text segment.
79210 +# TEXT_START_SYMBOLS - symbols that appear at the start of the
79211 +# .text section.
79212 +# DATA_START_SYMBOLS - symbols that appear at the start of the
79213 +# .data section.
79214 +# OTHER_GOT_SYMBOLS - symbols defined just before .got.
79215 +# OTHER_GOT_SECTIONS - sections just after .got.
79216 +# OTHER_SDATA_SECTIONS - sections just after .sdata.
79217 +# OTHER_BSS_SYMBOLS - symbols that appear at the start of the
79218 +# .bss section besides __bss_start.
79219 +# DATA_PLT - .plt should be in data segment, not text segment.
79220 +# PLT_BEFORE_GOT - .plt just before .got when .plt is in data segement.
79221 +# BSS_PLT - .plt should be in bss segment
79222 +# TEXT_DYNAMIC - .dynamic in text segment, not data segment.
79223 +# EMBEDDED - whether this is for an embedded system.
79224 +# SHLIB_TEXT_START_ADDR - if set, add to SIZEOF_HEADERS to set
79225 +# start address of shared library.
79226 +# INPUT_FILES - INPUT command of files to always include
79227 +# WRITABLE_RODATA - if set, the .rodata section should be writable
79228 +# INIT_START, INIT_END - statements just before and just after
79229 +# combination of .init sections.
79230 +# FINI_START, FINI_END - statements just before and just after
79231 +# combination of .fini sections.
79232 +# STACK_ADDR - start of a .stack section.
79233 +# OTHER_END_SYMBOLS - symbols to place right at the end of the script.
79234 +# SEPARATE_GOTPLT - if set, .got.plt should be separate output section,
79235 +# so that .got can be in the RELRO area. It should be set to
79236 +# the number of bytes in the beginning of .got.plt which can be
79237 +# in the RELRO area as well.
79238 +#
79239 +# When adding sections, do note that the names of some sections are used
79240 +# when specifying the start address of the next.
79241 +#
79242 +
79243 +# Many sections come in three flavours. There is the 'real' section,
79244 +# like ".data". Then there are the per-procedure or per-variable
79245 +# sections, generated by -ffunction-sections and -fdata-sections in GCC,
79246 +# and useful for --gc-sections, which for a variable "foo" might be
79247 +# ".data.foo". Then there are the linkonce sections, for which the linker
79248 +# eliminates duplicates, which are named like ".gnu.linkonce.d.foo".
79249 +# The exact correspondences are:
79250 +#
79251 +# Section Linkonce section
79252 +# .text .gnu.linkonce.t.foo
79253 +# .rodata .gnu.linkonce.r.foo
79254 +# .data .gnu.linkonce.d.foo
79255 +# .bss .gnu.linkonce.b.foo
79256 +# .sdata .gnu.linkonce.s.foo
79257 +# .sbss .gnu.linkonce.sb.foo
79258 +# .sdata2 .gnu.linkonce.s2.foo
79259 +# .sbss2 .gnu.linkonce.sb2.foo
79260 +# .debug_info .gnu.linkonce.wi.foo
79261 +# .tdata .gnu.linkonce.td.foo
79262 +# .tbss .gnu.linkonce.tb.foo
79263 +#
79264 +# Each of these can also have corresponding .rel.* and .rela.* sections.
79265 +
79266 +test -z "$ENTRY" && ENTRY=_start
79267 +test -z "${BIG_OUTPUT_FORMAT}" && BIG_OUTPUT_FORMAT=${OUTPUT_FORMAT}
79268 +test -z "${LITTLE_OUTPUT_FORMAT}" && LITTLE_OUTPUT_FORMAT=${OUTPUT_FORMAT}
79269 +if [ -z "$MACHINE" ]; then OUTPUT_ARCH=${ARCH}; else OUTPUT_ARCH=${ARCH}:${MACHINE}; fi
79270 +test -z "${ELFSIZE}" && ELFSIZE=32
79271 +test -z "${ALIGNMENT}" && ALIGNMENT="${ELFSIZE} / 8"
79272 +test "$LD_FLAG" = "N" && DATA_ADDR=.
79273 +test -n "$CREATE_SHLIB$CREATE_PIE" && test -n "$SHLIB_DATA_ADDR" && COMMONPAGESIZE=""
79274 +test -z "$CREATE_SHLIB$CREATE_PIE" && test -n "$DATA_ADDR" && COMMONPAGESIZE=""
79275 +test -n "$RELRO_NOW" && unset SEPARATE_GOTPLT
79276 +if test -n "$RELOCATING"; then
79277 + RO_REGION="${RO_VMA_REGION+ >}${RO_VMA_REGION}${RO_LMA_REGION+ AT>}${RO_LMA_REGION}"
79278 + RW_REGION="${RW_VMA_REGION+ >}${RW_VMA_REGION}${RW_LMA_REGION+ AT>}${RW_LMA_REGION}"
79279 +else
79280 + RO_REGION=""
79281 + RW_REGION=""
79282 +fi
79283 +INTERP=".interp ${RELOCATING-0} : { *(.interp) }${RO_REGION}"
79284 +PLT=".plt ${RELOCATING-0} : { *(.plt) }"
79285 +if test -z "$GOT"; then
79286 + if test -z "$SEPARATE_GOTPLT"; then
79287 + GOT=".got ${RELOCATING-0} : { *(.got.plt) *(.got) }"
79288 + else
79289 + GOT=".got ${RELOCATING-0} : { *(.got) }"
79290 + GOTPLT="${RELOCATING+${DATA_SEGMENT_RELRO_GOTPLT_END}}
79291 + .got.plt ${RELOCATING-0} : { *(.got.plt) }"
79292 + fi
79293 +fi
79294 +DALIGN=".dalign : { . = ALIGN(${DATA_SEGMENT_ALIGN}); PROVIDE(_data_lma = .); }${RO_REGION}"
79295 +BALIGN=".balign : { . = ALIGN(${BSS_ALIGNMENT}); _edata = .; }${RW_REGION}"
79296 +DYNAMIC=".dynamic ${RELOCATING-0} : { *(.dynamic) }"
79297 +RODATA=".rodata ${RELOCATING-0} : { *(.rodata${RELOCATING+ .rodata.* .gnu.linkonce.r.*}) }"
79298 +DATARELRO=".data.rel.ro : { *(.data.rel.ro.local) *(.data.rel.ro*) }${RW_REGION}"
79299 +STACKNOTE="/DISCARD/ : { *(.note.GNU-stack) }"
79300 +if test -z "${NO_SMALL_DATA}"; then
79301 + SBSS=".sbss ${RELOCATING-0} :
79302 + {
79303 + ${RELOCATING+PROVIDE (__sbss_start = .);}
79304 + ${RELOCATING+PROVIDE (___sbss_start = .);}
79305 + ${CREATE_SHLIB+*(.sbss2 .sbss2.* .gnu.linkonce.sb2.*)}
79306 + *(.dynsbss)
79307 + *(.sbss${RELOCATING+ .sbss.* .gnu.linkonce.sb.*})
79308 + *(.scommon)
79309 + ${RELOCATING+PROVIDE (__sbss_end = .);}
79310 + ${RELOCATING+PROVIDE (___sbss_end = .);}
79311 + }${RW_REGION}"
79312 + SBSS2=".sbss2 ${RELOCATING-0} : { *(.sbss2${RELOCATING+ .sbss2.* .gnu.linkonce.sb2.*}) }${RW_REGION}"
79313 + SDATA="/* We want the small data sections together, so single-instruction offsets
79314 + can access them all, and initialized data all before uninitialized, so
79315 + we can shorten the on-disk segment size. */
79316 + .sdata ${RELOCATING-0} :
79317 + {
79318 + ${RELOCATING+${SDATA_START_SYMBOLS}}
79319 + ${CREATE_SHLIB+*(.sdata2 .sdata2.* .gnu.linkonce.s2.*)}
79320 + *(.sdata${RELOCATING+ .sdata.* .gnu.linkonce.s.*})
79321 + }${RW_REGION}"
79322 + SDATA2=".sdata2 ${RELOCATING-0} : { *(.sdata2${RELOCATING+ .sdata2.* .gnu.linkonce.s2.*}) }${RW_REGION}"
79323 + REL_SDATA=".rel.sdata ${RELOCATING-0} : { *(.rel.sdata${RELOCATING+ .rel.sdata.* .rel.gnu.linkonce.s.*}) }${RO_REGION}
79324 + .rela.sdata ${RELOCATING-0} : { *(.rela.sdata${RELOCATING+ .rela.sdata.* .rela.gnu.linkonce.s.*}) }"
79325 + REL_SBSS=".rel.sbss ${RELOCATING-0} : { *(.rel.sbss${RELOCATING+ .rel.sbss.* .rel.gnu.linkonce.sb.*}) }${RO_REGION}
79326 + .rela.sbss ${RELOCATING-0} : { *(.rela.sbss${RELOCATING+ .rela.sbss.* .rela.gnu.linkonce.sb.*}) }${RO_REGION}"
79327 + REL_SDATA2=".rel.sdata2 ${RELOCATING-0} : { *(.rel.sdata2${RELOCATING+ .rel.sdata2.* .rel.gnu.linkonce.s2.*}) }${RO_REGION}
79328 + .rela.sdata2 ${RELOCATING-0} : { *(.rela.sdata2${RELOCATING+ .rela.sdata2.* .rela.gnu.linkonce.s2.*}) }${RO_REGION}"
79329 + REL_SBSS2=".rel.sbss2 ${RELOCATING-0} : { *(.rel.sbss2${RELOCATING+ .rel.sbss2.* .rel.gnu.linkonce.sb2.*}) }${RO_REGION}
79330 + .rela.sbss2 ${RELOCATING-0} : { *(.rela.sbss2${RELOCATING+ .rela.sbss2.* .rela.gnu.linkonce.sb2.*}) }${RO_REGION}"
79331 +else
79332 + NO_SMALL_DATA=" "
79333 +fi
79334 +test -n "$SEPARATE_GOTPLT" && SEPARATE_GOTPLT=" "
79335 +CTOR=".ctors ${CONSTRUCTING-0} :
79336 + {
79337 + ${CONSTRUCTING+${CTOR_START}}
79338 + /* gcc uses crtbegin.o to find the start of
79339 + the constructors, so we make sure it is
79340 + first. Because this is a wildcard, it
79341 + doesn't matter if the user does not
79342 + actually link against crtbegin.o; the
79343 + linker won't look for a file to match a
79344 + wildcard. The wildcard also means that it
79345 + doesn't matter which directory crtbegin.o
79346 + is in. */
79347 +
79348 + KEEP (*crtbegin*.o(.ctors))
79349 +
79350 + /* We don't want to include the .ctor section from
79351 + from the crtend.o file until after the sorted ctors.
79352 + The .ctor section from the crtend file contains the
79353 + end of ctors marker and it must be last */
79354 +
79355 + KEEP (*(EXCLUDE_FILE (*crtend*.o $OTHER_EXCLUDE_FILES) .ctors))
79356 + KEEP (*(SORT(.ctors.*)))
79357 + KEEP (*(.ctors))
79358 + ${CONSTRUCTING+${CTOR_END}}
79359 + }"
79360 +DTOR=".dtors ${CONSTRUCTING-0} :
79361 + {
79362 + ${CONSTRUCTING+${DTOR_START}}
79363 + KEEP (*crtbegin*.o(.dtors))
79364 + KEEP (*(EXCLUDE_FILE (*crtend*.o $OTHER_EXCLUDE_FILES) .dtors))
79365 + KEEP (*(SORT(.dtors.*)))
79366 + KEEP (*(.dtors))
79367 + ${CONSTRUCTING+${DTOR_END}}
79368 + }"
79369 +STACK=".stack ${RELOCATING-0}${RELOCATING+${STACK_ADDR}} :
79370 + {
79371 + ${RELOCATING+_stack = .;}
79372 + *(.stack)
79373 + ${RELOCATING+${STACK_SIZE+. = ${STACK_SIZE};}}
79374 + ${RELOCATING+_estack = .;}
79375 + }${RW_REGION}"
79376 +
79377 +# if this is for an embedded system, don't add SIZEOF_HEADERS.
79378 +if [ -z "$EMBEDDED" ]; then
79379 + test -z "${TEXT_BASE_ADDRESS}" && TEXT_BASE_ADDRESS="${TEXT_START_ADDR} + SIZEOF_HEADERS"
79380 +else
79381 + test -z "${TEXT_BASE_ADDRESS}" && TEXT_BASE_ADDRESS="${TEXT_START_ADDR}"
79382 +fi
79383 +
79384 +cat <<EOF
79385 +OUTPUT_FORMAT("${OUTPUT_FORMAT}", "${BIG_OUTPUT_FORMAT}",
79386 + "${LITTLE_OUTPUT_FORMAT}")
79387 +OUTPUT_ARCH(${OUTPUT_ARCH})
79388 +ENTRY(${ENTRY})
79389 +
79390 +${RELOCATING+${LIB_SEARCH_DIRS}}
79391 +${RELOCATING+/* Do we need any of these for elf?
79392 + __DYNAMIC = 0; ${STACKZERO+${STACKZERO}} ${SHLIB_PATH+${SHLIB_PATH}} */}
79393 +${RELOCATING+${EXECUTABLE_SYMBOLS}}
79394 +${RELOCATING+${INPUT_FILES}}
79395 +${RELOCATING- /* For some reason, the Solaris linker makes bad executables
79396 + if gld -r is used and the intermediate file has sections starting
79397 + at non-zero addresses. Could be a Solaris ld bug, could be a GNU ld
79398 + bug. But for now assigning the zero vmas works. */}
79399 +
79400 +${RELOCATING+${MEMORY}}
79401 +
79402 +SECTIONS
79403 +{
79404 + /* Read-only sections, merged into text segment: */
79405 + ${CREATE_SHLIB-${CREATE_PIE-${RELOCATING+PROVIDE (__executable_start = ${TEXT_START_ADDR}); . = ${TEXT_BASE_ADDRESS};}}}
79406 + ${CREATE_SHLIB+${RELOCATING+. = ${SHLIB_TEXT_START_ADDR:-0} + SIZEOF_HEADERS;}}
79407 + ${CREATE_PIE+${RELOCATING+. = ${SHLIB_TEXT_START_ADDR:-0} + SIZEOF_HEADERS;}}
79408 + ${CREATE_SHLIB-${INTERP}}
79409 + ${INITIAL_READONLY_SECTIONS}
79410 + ${TEXT_DYNAMIC+${DYNAMIC}${RO_REGION}}
79411 + .hash ${RELOCATING-0} : { *(.hash) }${RO_REGION}
79412 + .dynsym ${RELOCATING-0} : { *(.dynsym) }${RO_REGION}
79413 + .dynstr ${RELOCATING-0} : { *(.dynstr) }${RO_REGION}
79414 + .gnu.version ${RELOCATING-0} : { *(.gnu.version) }${RO_REGION}
79415 + .gnu.version_d ${RELOCATING-0}: { *(.gnu.version_d) }${RO_REGION}
79416 + .gnu.version_r ${RELOCATING-0}: { *(.gnu.version_r) }${RO_REGION}
79417 +
79418 +EOF
79419 +if [ "x$COMBRELOC" = x ]; then
79420 + COMBRELOCCAT=cat
79421 +else
79422 + COMBRELOCCAT="cat > $COMBRELOC"
79423 +fi
79424 +eval $COMBRELOCCAT <<EOF
79425 + .rel.init ${RELOCATING-0} : { *(.rel.init) }${RO_REGION}
79426 + .rela.init ${RELOCATING-0} : { *(.rela.init) }${RO_REGION}
79427 + .rel.text ${RELOCATING-0} : { *(.rel.text${RELOCATING+ .rel.text.* .rel.gnu.linkonce.t.*}) }${RO_REGION}
79428 + .rela.text ${RELOCATING-0} : { *(.rela.text${RELOCATING+ .rela.text.* .rela.gnu.linkonce.t.*}) }${RO_REGION}
79429 + .rel.fini ${RELOCATING-0} : { *(.rel.fini) }${RO_REGION}
79430 + .rela.fini ${RELOCATING-0} : { *(.rela.fini) }${RO_REGION}
79431 + .rel.rodata ${RELOCATING-0} : { *(.rel.rodata${RELOCATING+ .rel.rodata.* .rel.gnu.linkonce.r.*}) }${RO_REGION}
79432 + .rela.rodata ${RELOCATING-0} : { *(.rela.rodata${RELOCATING+ .rela.rodata.* .rela.gnu.linkonce.r.*}) }${RO_REGION}
79433 + ${OTHER_READONLY_RELOC_SECTIONS}
79434 + .rel.data.rel.ro ${RELOCATING-0} : { *(.rel.data.rel.ro${RELOCATING+*}) }${RO_REGION}
79435 + .rela.data.rel.ro ${RELOCATING-0} : { *(.rel.data.rel.ro${RELOCATING+*}) }${RO_REGION}
79436 + .rel.data ${RELOCATING-0} : { *(.rel.data${RELOCATING+ .rel.data.* .rel.gnu.linkonce.d.*}) }${RO_REGION}
79437 + .rela.data ${RELOCATING-0} : { *(.rela.data${RELOCATING+ .rela.data.* .rela.gnu.linkonce.d.*}) }${RO_REGION}
79438 + .rel.tdata ${RELOCATING-0} : { *(.rel.tdata${RELOCATING+ .rel.tdata.* .rel.gnu.linkonce.td.*}) }${RO_REGION}
79439 + .rela.tdata ${RELOCATING-0} : { *(.rela.tdata${RELOCATING+ .rela.tdata.* .rela.gnu.linkonce.td.*}) }${RO_REGION}
79440 + .rel.tbss ${RELOCATING-0} : { *(.rel.tbss${RELOCATING+ .rel.tbss.* .rel.gnu.linkonce.tb.*}) }${RO_REGION}
79441 + .rela.tbss ${RELOCATING-0} : { *(.rela.tbss${RELOCATING+ .rela.tbss.* .rela.gnu.linkonce.tb.*}) }${RO_REGION}
79442 + .rel.ctors ${RELOCATING-0} : { *(.rel.ctors) }${RO_REGION}
79443 + .rela.ctors ${RELOCATING-0} : { *(.rela.ctors) }${RO_REGION}
79444 + .rel.dtors ${RELOCATING-0} : { *(.rel.dtors) }${RO_REGION}
79445 + .rela.dtors ${RELOCATING-0} : { *(.rela.dtors) }${RO_REGION}
79446 + .rel.got ${RELOCATING-0} : { *(.rel.got) }${RO_REGION}
79447 + .rela.got ${RELOCATING-0} : { *(.rela.got) }${RO_REGION}
79448 + ${OTHER_GOT_RELOC_SECTIONS}
79449 + ${REL_SDATA}
79450 + ${REL_SBSS}
79451 + ${REL_SDATA2}
79452 + ${REL_SBSS2}
79453 + .rel.bss ${RELOCATING-0} : { *(.rel.bss${RELOCATING+ .rel.bss.* .rel.gnu.linkonce.b.*}) }${RO_REGION}
79454 + .rela.bss ${RELOCATING-0} : { *(.rela.bss${RELOCATING+ .rela.bss.* .rela.gnu.linkonce.b.*}) }${RO_REGION}
79455 +EOF
79456 +if [ -n "$COMBRELOC" ]; then
79457 +cat <<EOF
79458 + .rel.dyn ${RELOCATING-0} :
79459 + {
79460 +EOF
79461 +sed -e '/^[ ]*[{}][ ]*$/d;/:[ ]*$/d;/\.rela\./d;s/^.*: { *\(.*\)}$/ \1/' $COMBRELOC
79462 +cat <<EOF
79463 + }${RO_REGION}
79464 + .rela.dyn ${RELOCATING-0} :
79465 + {
79466 +EOF
79467 +sed -e '/^[ ]*[{}][ ]*$/d;/:[ ]*$/d;/\.rel\./d;s/^.*: { *\(.*\)}/ \1/' $COMBRELOC
79468 +cat <<EOF
79469 + }${RO_REGION}
79470 +EOF
79471 +fi
79472 +cat <<EOF
79473 + .rel.plt ${RELOCATING-0} : { *(.rel.plt) }${RO_REGION}
79474 + .rela.plt ${RELOCATING-0} : { *(.rela.plt) }${RO_REGION}
79475 + ${OTHER_PLT_RELOC_SECTIONS}
79476 +
79477 + .init ${RELOCATING-0} :
79478 + {
79479 + ${RELOCATING+${INIT_START}}
79480 + KEEP (*(.init))
79481 + ${RELOCATING+${INIT_END}}
79482 + }${RO_REGION} =${NOP-0}
79483 +
79484 + ${DATA_PLT-${BSS_PLT-${PLT}${RO_REGION}}}
79485 + .text ${RELOCATING-0} :
79486 + {
79487 + ${RELOCATING+${TEXT_START_SYMBOLS}}
79488 + *(.text .stub${RELOCATING+ .text.* .gnu.linkonce.t.*})
79489 + KEEP (*(.text.*personality*))
79490 + /* .gnu.warning sections are handled specially by elf32.em. */
79491 + *(.gnu.warning)
79492 + ${RELOCATING+${OTHER_TEXT_SECTIONS}}
79493 + }${RO_REGION} =${NOP-0}
79494 + .fini ${RELOCATING-0} :
79495 + {
79496 + ${RELOCATING+${FINI_START}}
79497 + KEEP (*(.fini))
79498 + ${RELOCATING+${FINI_END}}
79499 + }${RO_REGION} =${NOP-0}
79500 + ${RELOCATING+PROVIDE (__etext = .);}
79501 + ${RELOCATING+PROVIDE (_etext = .);}
79502 + ${RELOCATING+PROVIDE (etext = .);}
79503 + ${WRITABLE_RODATA-${RODATA}${RO_REGION}}
79504 + .rodata1 ${RELOCATING-0} : { *(.rodata1) }${RO_REGION}
79505 + ${CREATE_SHLIB-${SDATA2}}
79506 + ${CREATE_SHLIB-${SBSS2}}
79507 + ${OTHER_READONLY_SECTIONS}
79508 + .eh_frame_hdr : { *(.eh_frame_hdr) }${RO_REGION}
79509 + .eh_frame ${RELOCATING-0} : ONLY_IF_RO { KEEP (*(.eh_frame)) }${RO_REGION}
79510 + .gcc_except_table ${RELOCATING-0} : ONLY_IF_RO { KEEP (*(.gcc_except_table)) *(.gcc_except_table.*) }${RO_REGION}
79511 +
79512 + ${RELOCATING+${DALIGN}}
79513 + ${RELOCATING+PROVIDE (_data = ORIGIN(${RW_VMA_REGION}));}
79514 + . = ORIGIN(${RW_VMA_REGION});
79515 + /* Exception handling */
79516 + .eh_frame ${RELOCATING-0} : ONLY_IF_RW { KEEP (*(.eh_frame)) }${RW_REGION}
79517 + .gcc_except_table ${RELOCATING-0} : ONLY_IF_RW { KEEP (*(.gcc_except_table)) *(.gcc_except_table.*) }${RW_REGION}
79518 +
79519 + /* Thread Local Storage sections */
79520 + .tdata ${RELOCATING-0} : { *(.tdata${RELOCATING+ .tdata.* .gnu.linkonce.td.*}) }${RW_REGION}
79521 + .tbss ${RELOCATING-0} : { *(.tbss${RELOCATING+ .tbss.* .gnu.linkonce.tb.*})${RELOCATING+ *(.tcommon)} }${RW_REGION}
79522 +
79523 + /* Ensure the __preinit_array_start label is properly aligned. We
79524 + could instead move the label definition inside the section, but
79525 + the linker would then create the section even if it turns out to
79526 + be empty, which isn't pretty. */
79527 + ${RELOCATING+${CREATE_SHLIB-PROVIDE (__preinit_array_start = ALIGN(${ALIGNMENT}));}}
79528 + .preinit_array ${RELOCATING-0} : { KEEP (*(.preinit_array)) }${RW_REGION}
79529 + ${RELOCATING+${CREATE_SHLIB-PROVIDE (__preinit_array_end = .);}}
79530 +
79531 + ${RELOCATING+${CREATE_SHLIB-PROVIDE (__init_array_start = .);}}
79532 + .init_array ${RELOCATING-0} : { KEEP (*(.init_array)) }${RW_REGION}
79533 + ${RELOCATING+${CREATE_SHLIB-PROVIDE (__init_array_end = .);}}
79534 +
79535 + ${RELOCATING+${CREATE_SHLIB-PROVIDE (__fini_array_start = .);}}
79536 + .fini_array ${RELOCATING-0} : { KEEP (*(.fini_array)) }${RW_REGION}
79537 + ${RELOCATING+${CREATE_SHLIB-PROVIDE (__fini_array_end = .);}}
79538 +
79539 + ${SMALL_DATA_CTOR-${RELOCATING+${CTOR}${RW_REGION}}}
79540 + ${SMALL_DATA_DTOR-${RELOCATING+${DTOR}${RW_REGION}}}
79541 + .jcr ${RELOCATING-0} : { KEEP (*(.jcr)) }${RW_REGION}
79542 +
79543 + ${RELOCATING+${DATARELRO}}
79544 + ${OTHER_RELRO_SECTIONS}
79545 + ${TEXT_DYNAMIC-${DYNAMIC}${RW_REGION}}
79546 + ${NO_SMALL_DATA+${RELRO_NOW+${GOT}${RW_REGION}}}
79547 + ${NO_SMALL_DATA+${RELRO_NOW-${SEPARATE_GOTPLT+${GOT}${RW_REGION}}}}
79548 + ${NO_SMALL_DATA+${RELRO_NOW-${SEPARATE_GOTPLT+${GOTPLT}${RW_REGION}}}}
79549 + ${RELOCATING+${DATA_SEGMENT_RELRO_END}}
79550 + ${NO_SMALL_DATA+${RELRO_NOW-${SEPARATE_GOTPLT-${GOT}${RW_REGION}}}}
79551 +
79552 + ${DATA_PLT+${PLT_BEFORE_GOT-${PLT}${RW_REGION}}}
79553 +
79554 + .data ${RELOCATING-0} :
79555 + {
79556 + ${RELOCATING+${DATA_START_SYMBOLS}}
79557 + *(.data${RELOCATING+ .data.* .gnu.linkonce.d.*})
79558 + KEEP (*(.gnu.linkonce.d.*personality*))
79559 + ${CONSTRUCTING+SORT(CONSTRUCTORS)}
79560 + }${RW_REGION}
79561 + .data1 ${RELOCATING-0} : { *(.data1) }${RW_REGION}
79562 + ${WRITABLE_RODATA+${RODATA}${RW_REGION}}
79563 + ${OTHER_READWRITE_SECTIONS}
79564 + ${SMALL_DATA_CTOR+${RELOCATING+${CTOR}${RW_REGION}}}
79565 + ${SMALL_DATA_DTOR+${RELOCATING+${DTOR}${RW_REGION}}}
79566 + ${DATA_PLT+${PLT_BEFORE_GOT+${PLT}${RW_REGION}}}
79567 + ${RELOCATING+${OTHER_GOT_SYMBOLS}}
79568 + ${NO_SMALL_DATA-${GOT}${RW_REGION}}
79569 + ${OTHER_GOT_SECTIONS}
79570 + ${SDATA}
79571 + ${OTHER_SDATA_SECTIONS}
79572 + ${RELOCATING+${BALIGN}}
79573 + ${RELOCATING+_edata = .;}
79574 + ${RELOCATING+PROVIDE (edata = .);}
79575 + ${RELOCATING+__bss_start = .;}
79576 + ${RELOCATING+${OTHER_BSS_SYMBOLS}}
79577 + ${SBSS}
79578 + ${BSS_PLT+${PLT}${RW_REGION}}
79579 + .bss ${RELOCATING-0} :
79580 + {
79581 + *(.dynbss)
79582 + *(.bss${RELOCATING+ .bss.* .gnu.linkonce.b.*})
79583 + *(COMMON)
79584 + /* Align here to ensure that the .bss section occupies space up to
79585 + _end. Align after .bss to ensure correct alignment even if the
79586 + .bss section disappears because there are no input sections. */
79587 + ${RELOCATING+. = ALIGN(${BSS_ALIGNMENT});}
79588 + }${RW_REGION}
79589 + ${OTHER_BSS_SECTIONS}
79590 + ${RELOCATING+. = ALIGN(${BSS_ALIGNMENT});}
79591 + ${RELOCATING+_end = .;}
79592 + ${RELOCATING+${OTHER_BSS_END_SYMBOLS}}
79593 + ${RELOCATING+PROVIDE (end = .);}
79594 + ${RELOCATING+${DATA_SEGMENT_END}}
79595 +
79596 + /* Stabs debugging sections. */
79597 + .stab 0 : { *(.stab) }
79598 + .stabstr 0 : { *(.stabstr) }
79599 + .stab.excl 0 : { *(.stab.excl) }
79600 + .stab.exclstr 0 : { *(.stab.exclstr) }
79601 + .stab.index 0 : { *(.stab.index) }
79602 + .stab.indexstr 0 : { *(.stab.indexstr) }
79603 +
79604 + .comment 0 : { *(.comment) }
79605 +
79606 + /* DWARF debug sections.
79607 + Symbols in the DWARF debugging sections are relative to the beginning
79608 + of the section so we begin them at 0. */
79609 +
79610 + /* DWARF 1 */
79611 + .debug 0 : { *(.debug) }
79612 + .line 0 : { *(.line) }
79613 +
79614 + /* GNU DWARF 1 extensions */
79615 + .debug_srcinfo 0 : { *(.debug_srcinfo) }
79616 + .debug_sfnames 0 : { *(.debug_sfnames) }
79617 +
79618 + /* DWARF 1.1 and DWARF 2 */
79619 + .debug_aranges 0 : { *(.debug_aranges) }
79620 + .debug_pubnames 0 : { *(.debug_pubnames) }
79621 +
79622 + /* DWARF 2 */
79623 + .debug_info 0 : { *(.debug_info .gnu.linkonce.wi.*) }
79624 + .debug_abbrev 0 : { *(.debug_abbrev) }
79625 + .debug_line 0 : { *(.debug_line) }
79626 + .debug_frame 0 : { *(.debug_frame) }
79627 + .debug_str 0 : { *(.debug_str) }
79628 + .debug_loc 0 : { *(.debug_loc) }
79629 + .debug_macinfo 0 : { *(.debug_macinfo) }
79630 +
79631 + /* SGI/MIPS DWARF 2 extensions */
79632 + .debug_weaknames 0 : { *(.debug_weaknames) }
79633 + .debug_funcnames 0 : { *(.debug_funcnames) }
79634 + .debug_typenames 0 : { *(.debug_typenames) }
79635 + .debug_varnames 0 : { *(.debug_varnames) }
79636 +
79637 + ${STACK_ADDR+${STACK}}
79638 + ${OTHER_SECTIONS}
79639 + ${RELOCATING+${OTHER_END_SYMBOLS}}
79640 + ${RELOCATING+${STACKNOTE}}
79641 +}
79642 +EOF
79643 diff -Nrup binutils-2.17/ld/testsuite/ld-auto-import/client.c binutils-2.17-atmel/ld/testsuite/ld-auto-import/client.c
79644 --- binutils-2.17/ld/testsuite/ld-auto-import/client.c 2002-12-18 17:05:10.000000000 +0100
79645 +++ binutils-2.17-atmel/ld/testsuite/ld-auto-import/client.c 2006-08-04 14:21:01.000000000 +0200
79646 @@ -1,55 +1,55 @@
79647 -#include <stdio.h>
79648 -
79649 -extern int var;
79650 -extern void (*func_ptr)(void);
79651 -extern void print_var (void);
79652 -extern void print_foo (void);
79653 -extern int foo;
79654 -extern int var2[2];
79655 -
79656 -typedef struct
79657 -{
79658 - int * var;
79659 - void (* func_ptr)(void);
79660 -}
79661 -TEST;
79662 -
79663 -TEST xyz = { &var, print_var };
79664 -
79665 -int
79666 -main (void)
79667 -{
79668 - print_var ();
79669 -
79670 - printf ("We see var = %d\n", var);
79671 - printf ("Setting var = 456\n");
79672 -
79673 - var = 456;
79674 -
79675 - print_var ();
79676 - printf ("We see var = %d\n\n", var);
79677 -
79678 - var = 90;
79679 - print_var ();
79680 - printf ("We see var = %d\n\n", var);
79681 -
79682 - print_foo ();
79683 - printf ("We see foo = %d\n", foo);
79684 - printf ("Setting foo = 19\n");
79685 - foo = 19;
79686 - print_foo ();
79687 - printf ("We see foo = %d\n\n", foo);
79688 - fflush (stdout);
79689 -
79690 - printf ("Calling dllimported function pointer\n");
79691 - func_ptr ();
79692 -
79693 - printf ("Calling functions using global structure\n");
79694 - xyz.func_ptr ();
79695 - * xyz.var = 40;
79696 - xyz.func_ptr ();
79697 -
79698 - printf ("We see var2[0] = %d\n\n", var2[0]);
79699 -
79700 - return 0;
79701 -}
79702 +#include <stdio.h>
79703 +
79704 +extern int var;
79705 +extern void (*func_ptr)(void);
79706 +extern void print_var (void);
79707 +extern void print_foo (void);
79708 +extern int foo;
79709 +extern int var2[2];
79710 +
79711 +typedef struct
79712 +{
79713 + int * var;
79714 + void (* func_ptr)(void);
79715 +}
79716 +TEST;
79717 +
79718 +TEST xyz = { &var, print_var };
79719 +
79720 +int
79721 +main (void)
79722 +{
79723 + print_var ();
79724 +
79725 + printf ("We see var = %d\n", var);
79726 + printf ("Setting var = 456\n");
79727 +
79728 + var = 456;
79729 +
79730 + print_var ();
79731 + printf ("We see var = %d\n\n", var);
79732 +
79733 + var = 90;
79734 + print_var ();
79735 + printf ("We see var = %d\n\n", var);
79736 +
79737 + print_foo ();
79738 + printf ("We see foo = %d\n", foo);
79739 + printf ("Setting foo = 19\n");
79740 + foo = 19;
79741 + print_foo ();
79742 + printf ("We see foo = %d\n\n", foo);
79743 + fflush (stdout);
79744 +
79745 + printf ("Calling dllimported function pointer\n");
79746 + func_ptr ();
79747 +
79748 + printf ("Calling functions using global structure\n");
79749 + xyz.func_ptr ();
79750 + * xyz.var = 40;
79751 + xyz.func_ptr ();
79752 +
79753 + printf ("We see var2[0] = %d\n\n", var2[0]);
79754 +
79755 + return 0;
79756 +}
79757 diff -Nrup binutils-2.17/ld/testsuite/ld-auto-import/dll.c binutils-2.17-atmel/ld/testsuite/ld-auto-import/dll.c
79758 --- binutils-2.17/ld/testsuite/ld-auto-import/dll.c 2002-12-18 17:05:10.000000000 +0100
79759 +++ binutils-2.17-atmel/ld/testsuite/ld-auto-import/dll.c 2006-08-04 14:21:01.000000000 +0200
79760 @@ -1,20 +1,20 @@
79761 -int var = 123;
79762 -int foo = 121;
79763 -
79764 -int var2[2]= { 123, 456 };
79765 -
79766 -#include <stdio.h>
79767 -
79768 -void
79769 -print_var (void)
79770 -{
79771 - printf ("DLL sees var = %d\n", var);
79772 -}
79773 -
79774 -void
79775 -print_foo (void)
79776 -{
79777 - printf ("DLL sees foo = %d\n", foo);
79778 -}
79779 -
79780 -void (* func_ptr)(void) = print_foo;
79781 +int var = 123;
79782 +int foo = 121;
79783 +
79784 +int var2[2]= { 123, 456 };
79785 +
79786 +#include <stdio.h>
79787 +
79788 +void
79789 +print_var (void)
79790 +{
79791 + printf ("DLL sees var = %d\n", var);
79792 +}
79793 +
79794 +void
79795 +print_foo (void)
79796 +{
79797 + printf ("DLL sees foo = %d\n", foo);
79798 +}
79799 +
79800 +void (* func_ptr)(void) = print_foo;
79801 diff -Nrup binutils-2.17/ld/testsuite/ld-avr32/avr32.exp binutils-2.17-atmel/ld/testsuite/ld-avr32/avr32.exp
79802 --- binutils-2.17/ld/testsuite/ld-avr32/avr32.exp 1970-01-01 01:00:00.000000000 +0100
79803 +++ binutils-2.17-atmel/ld/testsuite/ld-avr32/avr32.exp 2006-08-04 14:51:39.000000000 +0200
79804 @@ -0,0 +1,25 @@
79805 +# Expect script for AVR32 ELF linker tests.
79806 +# Copyright 2004-2006 Atmel Corporation.
79807 +#
79808 +# This file is free software; you can redistribute it and/or modify
79809 +# it under the terms of the GNU General Public License as published by
79810 +# the Free Software Foundation; either version 2 of the License, or
79811 +# (at your option) any later version.
79812 +#
79813 +# This program is distributed in the hope that it will be useful,
79814 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
79815 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
79816 +# GNU General Public License for more details.
79817 +#
79818 +# You should have received a copy of the GNU General Public License
79819 +# along with this program; if not, write to the Free Software
79820 +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
79821 +#
79822 +# Written by Haavard Skinnemoen (hskinnemoen@atmel.com)
79823 +#
79824 +
79825 +if ![istarget avr32-*-*] {
79826 + return
79827 +}
79828 +
79829 +run_dump_test "pcrel"
79830 diff -Nrup binutils-2.17/ld/testsuite/ld-avr32/pcrel.d binutils-2.17-atmel/ld/testsuite/ld-avr32/pcrel.d
79831 --- binutils-2.17/ld/testsuite/ld-avr32/pcrel.d 1970-01-01 01:00:00.000000000 +0100
79832 +++ binutils-2.17-atmel/ld/testsuite/ld-avr32/pcrel.d 2006-08-04 14:51:39.000000000 +0200
79833 @@ -0,0 +1,74 @@
79834 +#name: AVR32 ELF PC-relative external relocs
79835 +#source: symbols.s
79836 +#source: ../../../gas/testsuite/gas/avr32/pcrel.s
79837 +#ld: -T $srcdir/$subdir/pcrel.ld
79838 +#objdump: -d
79839 +
79840 +.*: file format elf.*avr32.*
79841 +
79842 +Disassembly of section .text:
79843 +
79844 +a0000000 <_start>:
79845 +a0000000: d7 03 nop
79846 +a0000002: d7 03 nop
79847 +
79848 +a0000004 <test_rjmp>:
79849 +a0000004: d7 03 nop
79850 +a0000006: c0 28 rjmp a000000a <test_rjmp\+0x6>
79851 +a0000008: d7 03 nop
79852 +a000000a: e0 8f 01 fb bral a0000400 <extsym10>
79853 +
79854 +a000000e <test_rcall>:
79855 +a000000e: d7 03 nop
79856 +a0000010 <test_rcall2>:
79857 +a0000010: c0 2c rcall a0000014 <test_rcall2\+0x4>
79858 +a0000012: d7 03 nop
79859 +a0000014: ee b0 ff f6 rcall a0200000 <extsym21>
79860 +
79861 +a0000018 <test_branch>:
79862 +a0000018: c0 31 brne a000001e <test_branch\+0x6>
79863 +a000001a: fe 9f ff ff bral a0000018 <test_branch>
79864 +a000001e: ee 90 ff f1 breq a0200000 <extsym21>
79865 +
79866 +a0000022 <test_lddpc>:
79867 +a0000022: 48 30 lddpc r0,a000002c <sym1>
79868 +a0000024: 48 20 lddpc r0,a000002c <sym1>
79869 +a0000026: fe f0 7f da ld.w r0,pc\[32730\]
79870 + ...
79871 +
79872 +a000002c <sym1>:
79873 +a000002c: d7 03 nop
79874 +a000002e: d7 03 nop
79875 +
79876 +a0000030 <test_local>:
79877 +a0000030: 48 20 lddpc r0,a0000038 <test_local\+0x8>
79878 +a0000032: 48 30 lddpc r0,a000003c <test_local\+0xc>
79879 +a0000034: 48 20 lddpc r0,a000003c <test_local\+0xc>
79880 +a0000036: 00 00 add r0,r0
79881 +a0000038: d7 03 nop
79882 +a000003a: d7 03 nop
79883 +a000003c: d7 03 nop
79884 +a000003e: d7 03 nop
79885 +
79886 +Disassembly of section \.text\.init:
79887 +a0000040 <test_inter_section>:
79888 +a0000040: fe b0 ff e7 rcall a000000e <test_rcall>
79889 +a0000044: d7 03 nop
79890 +a0000046: fe b0 ff e4 rcall a000000e <test_rcall>
79891 +a000004a: fe b0 ff e3 rcall a0000010 <test_rcall2>
79892 +a000004e: d7 03 nop
79893 +a0000050: fe b0 ff e0 rcall a0000010 <test_rcall2>
79894 +
79895 +Disassembly of section \.text\.pcrel10:
79896 +
79897 +a0000400 <extsym10>:
79898 +a0000400: d7 03 nop
79899 +
79900 +Disassembly of section \.text\.pcrel16:
79901 +
79902 +a0008000 <extsym16>:
79903 +a0008000: d7 03 nop
79904 +
79905 +Disassembly of section \.text\.pcrel21:
79906 +a0200000 <extsym21>:
79907 +a0200000: d7 03 nop
79908 diff -Nrup binutils-2.17/ld/testsuite/ld-avr32/pcrel.ld binutils-2.17-atmel/ld/testsuite/ld-avr32/pcrel.ld
79909 --- binutils-2.17/ld/testsuite/ld-avr32/pcrel.ld 1970-01-01 01:00:00.000000000 +0100
79910 +++ binutils-2.17-atmel/ld/testsuite/ld-avr32/pcrel.ld 2006-08-04 14:51:39.000000000 +0200
79911 @@ -0,0 +1,23 @@
79912 +ENTRY(_start)
79913 +SECTIONS
79914 +{
79915 + .text 0xa0000000:
79916 + {
79917 + *(.text)
79918 + }
79919 +
79920 + .text.pcrel10 0xa0000400:
79921 + {
79922 + *(.text.pcrel10)
79923 + }
79924 +
79925 + .text.pcrel16 0xa0008000:
79926 + {
79927 + *(.text.pcrel16)
79928 + }
79929 +
79930 + .text.pcrel21 0xa0200000:
79931 + {
79932 + *(.text.pcrel21)
79933 + }
79934 +}
79935 diff -Nrup binutils-2.17/ld/testsuite/ld-avr32/symbols.s binutils-2.17-atmel/ld/testsuite/ld-avr32/symbols.s
79936 --- binutils-2.17/ld/testsuite/ld-avr32/symbols.s 1970-01-01 01:00:00.000000000 +0100
79937 +++ binutils-2.17-atmel/ld/testsuite/ld-avr32/symbols.s 2006-08-04 14:51:39.000000000 +0200
79938 @@ -0,0 +1,20 @@
79939 + .text
79940 + .global _start
79941 +_start:
79942 + nop
79943 + nop
79944 +
79945 + .section .text.pcrel10,"ax"
79946 + .global extsym10
79947 +extsym10:
79948 + nop
79949 +
79950 + .section .text.pcrel16,"ax"
79951 + .global extsym16
79952 +extsym16:
79953 + nop
79954 +
79955 + .section .text.pcrel21,"ax"
79956 + .global extsym21
79957 +extsym21:
79958 + nop
79959 diff -Nrup binutils-2.17/opcodes/aclocal.m4 binutils-2.17-atmel/opcodes/aclocal.m4
79960 --- binutils-2.17/opcodes/aclocal.m4 2005-09-30 20:05:59.000000000 +0200
79961 +++ binutils-2.17-atmel/opcodes/aclocal.m4 2007-02-20 16:07:44.000000000 +0100
79962 @@ -1,4 +1,4 @@
79963 -# generated automatically by aclocal 1.9.5 -*- Autoconf -*-
79964 +# generated automatically by aclocal 1.9.6 -*- Autoconf -*-
79965
79966 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
79967 # 2005 Free Software Foundation, Inc.
79968 @@ -28,7 +28,7 @@ AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api
79969 # Call AM_AUTOMAKE_VERSION so it can be traced.
79970 # This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
79971 AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
79972 - [AM_AUTOMAKE_VERSION([1.9.5])])
79973 + [AM_AUTOMAKE_VERSION([1.9.6])])
79974
79975 # AM_AUX_DIR_EXPAND -*- Autoconf -*-
79976
79977 diff -Nrup binutils-2.17/opcodes/avr32-asm.c binutils-2.17-atmel/opcodes/avr32-asm.c
79978 --- binutils-2.17/opcodes/avr32-asm.c 1970-01-01 01:00:00.000000000 +0100
79979 +++ binutils-2.17-atmel/opcodes/avr32-asm.c 2006-10-03 17:19:02.000000000 +0200
79980 @@ -0,0 +1,264 @@
79981 +/* Assembler interface for AVR32.
79982 + Copyright 2005, 2006 Atmel Corporation.
79983 +
79984 + Written by Haavard Skinnemoen, Atmel Norway, <hskinnemoen@atmel.com>
79985 +
79986 + This file is part of libopcodes.
79987 +
79988 + This program is free software; you can redistribute it and/or
79989 + modify it under the terms of the GNU General Public License as
79990 + published by the Free Software Foundation; either version 2 of the
79991 + License, or (at your option) any later version.
79992 +
79993 + This program is distributed in the hope that it will be useful, but
79994 + WITHOUT ANY WARRANTY; without even the implied warranty of
79995 + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
79996 + General Public License for more details.
79997 +
79998 + You should have received a copy of the GNU General Public License
79999 + along with this program; if not, write to the Free Software
80000 + Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
80001 + 02111-1307, USA. */
80002 +
80003 +#include <string.h>
80004 +
80005 +#include "avr32-opc.h"
80006 +#include "avr32-asm.h"
80007 +
80008 +/* Structure for a register hash table entry. */
80009 +struct reg_entry
80010 +{
80011 + const char *name;
80012 + int number;
80013 +};
80014 +
80015 +/* Integer Registers. */
80016 +static const struct reg_entry reg_table[] =
80017 + {
80018 + /* Primary names (used by the disassembler) */
80019 + { "r0", 0 }, { "r1", 1 }, { "r2", 2 }, { "r3", 3 },
80020 + { "r4", 4 }, { "r5", 5 }, { "r6", 6 }, { "r7", 7 },
80021 + { "r8", 8 }, { "r9", 9 }, { "r10", 10 }, { "r11", 11 },
80022 + { "r12", 12 }, { "sp", 13 }, { "lr", 14 }, { "pc", 15 },
80023 + /* Alternatives to sp, lr and pc. */
80024 + { "r13", 13 }, { "r14", 14 }, { "r15", 15 },
80025 + };
80026 +#define AVR32_NR_INTREGS (sizeof(reg_table)/sizeof(reg_table[0]))
80027 +
80028 +/* Coprocessor Registers. */
80029 +static const struct reg_entry cr_table[] =
80030 + {
80031 + { "cr0", 0 }, { "cr1", 1 }, { "cr2", 2 }, { "cr3", 3 },
80032 + { "cr4", 4 }, { "cr5", 5 }, { "cr6", 6 }, { "cr7", 7 },
80033 + { "cr8", 8 }, { "cr9", 9 }, { "cr10", 10 }, { "cr11", 11 },
80034 + { "cr12", 12 }, { "cr13", 13 }, { "cr14", 14 }, { "cr15", 15 },
80035 + };
80036 +#define AVR32_NR_CPREGS (sizeof(cr_table)/sizeof(cr_table[0]))
80037 +
80038 +/* Floating-point Registers. */
80039 +static const struct reg_entry fr_table[] =
80040 + {
80041 + { "fr0", 0 }, { "fr1", 1 }, { "fr2", 2 }, { "fr3", 3 },
80042 + { "fr4", 4 }, { "fr5", 5 }, { "fr6", 6 }, { "fr7", 7 },
80043 + { "fr8", 8 }, { "fr9", 9 }, { "fr10", 10 }, { "fr11", 11 },
80044 + { "fr12", 12 }, { "fr13", 13 }, { "fr14", 14 }, { "fr15", 15 },
80045 + };
80046 +#define AVR32_NR_FPREGS (sizeof(fr_table)/sizeof(fr_table[0]))
80047 +
80048 +/* PiCo Registers. */
80049 +static const struct reg_entry pico_table[] =
80050 + {
80051 + { "inpix2", 0 }, { "inpix1", 1 }, { "inpix0", 2 },
80052 + { "outpix2", 3 }, { "outpix1", 4 }, { "outpix0", 5 },
80053 + { "coeff0_a", 6 }, { "coeff0_b", 7 }, { "coeff1_a", 8 },
80054 + { "coeff1_b", 9 }, { "coeff2_a", 10 }, { "coeff2_b", 11 },
80055 + { "vmu0_out", 12 }, { "vmu1_out", 13 }, { "vmu2_out", 14 },
80056 + { "config", 15 },
80057 + };
80058 +#define AVR32_NR_PICOREGS (sizeof(pico_table)/sizeof(pico_table[0]))
80059 +
80060 +int
80061 +avr32_parse_intreg(const char *str)
80062 +{
80063 + unsigned int i;
80064 +
80065 + for (i = 0; i < AVR32_NR_INTREGS; i++)
80066 + {
80067 + if (strcasecmp(reg_table[i].name, str) == 0)
80068 + return reg_table[i].number;
80069 + }
80070 +
80071 + return -1;
80072 +}
80073 +
80074 +int
80075 +avr32_parse_cpreg(const char *str)
80076 +{
80077 + unsigned int i;
80078 +
80079 + for (i = 0; i < AVR32_NR_CPREGS; i++)
80080 + {
80081 + if (strcasecmp(cr_table[i].name, str) == 0)
80082 + return cr_table[i].number;
80083 + }
80084 +
80085 + return -1;
80086 +}
80087 +
80088 +int avr32_parse_fpreg(const char *str)
80089 +{
80090 + unsigned int i;
80091 +
80092 + for (i = 0; i < AVR32_NR_FPREGS; i++)
80093 + {
80094 + if (strcasecmp(fr_table[i].name, str) == 0)
80095 + return fr_table[i].number;
80096 + }
80097 +
80098 + return -1;
80099 +}
80100 +
80101 +int avr32_parse_picoreg(const char *str)
80102 +{
80103 + unsigned int i;
80104 +
80105 + for (i = 0; i < AVR32_NR_PICOREGS; i++)
80106 + {
80107 + if (strcasecmp(pico_table[i].name, str) == 0)
80108 + return pico_table[i].number;
80109 + }
80110 +
80111 + return -1;
80112 +}
80113 +
80114 +static unsigned long
80115 +parse_reglist(char *str, char **endptr, int (*parse_reg)(const char *))
80116 +{
80117 + int reg_from, reg_to;
80118 + unsigned long result = 0;
80119 + char *p1, *p2, c;
80120 +
80121 + while (*str)
80122 + {
80123 + for (p1 = str; *p1; p1++)
80124 + if (*p1 == ',' || *p1 == '-')
80125 + break;
80126 +
80127 + c = *p1, *p1 = 0;
80128 + reg_from = parse_reg(str);
80129 + *p1 = c;
80130 +
80131 + if (reg_from < 0)
80132 + break;
80133 +
80134 + if (*p1 == '-')
80135 + {
80136 + for (p2 = ++p1; *p2; p2++)
80137 + if (*p2 == ',')
80138 + break;
80139 +
80140 + c = *p2, *p2 = 0;
80141 + /* printf("going to parse reg_to from `%s'\n", p1); */
80142 + reg_to = parse_reg(p1);
80143 + *p2 = c;
80144 +
80145 + if (reg_to < 0)
80146 + break;
80147 +
80148 + while (reg_from <= reg_to)
80149 + result |= (1 << reg_from++);
80150 + p1 = p2;
80151 + }
80152 + else
80153 + result |= (1 << reg_from);
80154 +
80155 + str = p1;
80156 + if (*str) ++str;
80157 + }
80158 +
80159 + if (endptr)
80160 + *endptr = str;
80161 +
80162 + return result;
80163 +}
80164 +
80165 +unsigned long
80166 +avr32_parse_reglist(char *str, char **endptr)
80167 +{
80168 + return parse_reglist(str, endptr, avr32_parse_intreg);
80169 +}
80170 +
80171 +unsigned long
80172 +avr32_parse_cpreglist(char *str, char **endptr)
80173 +{
80174 + return parse_reglist(str, endptr, avr32_parse_cpreg);
80175 +}
80176 +
80177 +unsigned long
80178 +avr32_parse_pico_reglist(char *str, char **endptr)
80179 +{
80180 + return parse_reglist(str, endptr, avr32_parse_picoreg);
80181 +}
80182 +
80183 +int
80184 +avr32_make_regmask8(unsigned long regmask16, unsigned long *regmask8)
80185 +{
80186 + unsigned long result = 0;
80187 +
80188 + /* printf("convert regmask16 0x%04lx\n", regmask16); */
80189 +
80190 + if (regmask16 & 0xf)
80191 + {
80192 + if ((regmask16 & 0xf) == 0xf)
80193 + result |= 1 << 0;
80194 + else
80195 + return -1;
80196 + }
80197 + if (regmask16 & 0xf0)
80198 + {
80199 + if ((regmask16 & 0xf0) == 0xf0)
80200 + result |= 1 << 1;
80201 + else
80202 + return -1;
80203 + }
80204 + if (regmask16 & 0x300)
80205 + {
80206 + if ((regmask16 & 0x300) == 0x300)
80207 + result |= 1 << 2;
80208 + else
80209 + return -1;
80210 + }
80211 + if (regmask16 & (1 << 13))
80212 + return -1;
80213 +
80214 + if (regmask16 & (1 << 10))
80215 + result |= 1 << 3;
80216 + if (regmask16 & (1 << 11))
80217 + result |= 1 << 4;
80218 + if (regmask16 & (1 << 12))
80219 + result |= 1 << 5;
80220 + if (regmask16 & (1 << 14))
80221 + result |= 1 << 6;
80222 + if (regmask16 & (1 << 15))
80223 + result |= 1 << 7;
80224 +
80225 + *regmask8 = result;
80226 +
80227 + return 0;
80228 +}
80229 +
80230 +#if 0
80231 +struct reg_map
80232 +{
80233 + const struct reg_entry *names;
80234 + int nr_regs;
80235 + struct hash_control *htab;
80236 + const char *errmsg;
80237 +};
80238 +
80239 +struct reg_map all_reg_maps[] =
80240 + {
80241 + { reg_table, AVR32_NR_INTREGS, NULL, N_("integral register expected") },
80242 + { cr_table, AVR32_NR_CPREGS, NULL, N_("coprocessor register expected") },
80243 + };
80244 +#endif
80245 diff -Nrup binutils-2.17/opcodes/avr32-asm.h binutils-2.17-atmel/opcodes/avr32-asm.h
80246 --- binutils-2.17/opcodes/avr32-asm.h 1970-01-01 01:00:00.000000000 +0100
80247 +++ binutils-2.17-atmel/opcodes/avr32-asm.h 2006-10-03 17:19:02.000000000 +0200
80248 @@ -0,0 +1,42 @@
80249 +/* Assembler interface for AVR32.
80250 + Copyright 2005, 2006 Atmel Corporation.
80251 +
80252 + Written by Haavard Skinnemoen, Atmel Norway, <hskinnemoen@atmel.com>
80253 +
80254 + This file is part of libopcodes.
80255 +
80256 + This program is free software; you can redistribute it and/or
80257 + modify it under the terms of the GNU General Public License as
80258 + published by the Free Software Foundation; either version 2 of the
80259 + License, or (at your option) any later version.
80260 +
80261 + This program is distributed in the hope that it will be useful, but
80262 + WITHOUT ANY WARRANTY; without even the implied warranty of
80263 + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
80264 + General Public License for more details.
80265 +
80266 + You should have received a copy of the GNU General Public License
80267 + along with this program; if not, write to the Free Software
80268 + Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
80269 + 02111-1307, USA. */
80270 +#ifndef __OPCODES_AVR32_ASM_H
80271 +#define __OPCODES_AVR32_ASM_H
80272 +
80273 +extern int
80274 +avr32_parse_intreg(const char *str);
80275 +extern int
80276 +avr32_parse_cpreg(const char *str);
80277 +extern int
80278 +avr32_parse_fpreg(const char *str);
80279 +extern int
80280 +avr32_parse_picoreg(const char *str);
80281 +extern unsigned long
80282 +avr32_parse_reglist(char *str, char **endptr);
80283 +extern unsigned long
80284 +avr32_parse_cpreglist(char *str, char **endptr);
80285 +extern unsigned long
80286 +avr32_parse_pico_reglist(char *str, char **endptr);
80287 +extern int
80288 +avr32_make_regmask8(unsigned long regmask16, unsigned long *regmask8);
80289 +
80290 +#endif /* __OPCODES_AVR32_ASM_H */
80291 diff -Nrup binutils-2.17/opcodes/avr32-dis.c binutils-2.17-atmel/opcodes/avr32-dis.c
80292 --- binutils-2.17/opcodes/avr32-dis.c 1970-01-01 01:00:00.000000000 +0100
80293 +++ binutils-2.17-atmel/opcodes/avr32-dis.c 2006-08-04 14:50:49.000000000 +0200
80294 @@ -0,0 +1,891 @@
80295 +/* Print AVR32 instructions for GDB and objdump.
80296 + Copyright 2005, 2006 Atmel Corporation.
80297 +
80298 + Written by Haavard Skinnemoen, Atmel Norway, <hskinnemoen@atmel.com>
80299 +
80300 + This file is part of libopcodes.
80301 +
80302 + This program is free software; you can redistribute it and/or
80303 + modify it under the terms of the GNU General Public License as
80304 + published by the Free Software Foundation; either version 2 of the
80305 + License, or (at your option) any later version.
80306 +
80307 + This program is distributed in the hope that it will be useful, but
80308 + WITHOUT ANY WARRANTY; without even the implied warranty of
80309 + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
80310 + General Public License for more details.
80311 +
80312 + You should have received a copy of the GNU General Public License
80313 + along with this program; if not, write to the Free Software
80314 + Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
80315 + 02111-1307, USA. */
80316 +
80317 +#include "sysdep.h"
80318 +#include "dis-asm.h"
80319 +#include "avr32-opc.h"
80320 +#include "opintl.h"
80321 +#include "safe-ctype.h"
80322 +
80323 +/* TODO: Share this with -asm */
80324 +
80325 +/* Structure for a register hash table entry. */
80326 +struct reg_entry
80327 +{
80328 + const char *name;
80329 + int number;
80330 +};
80331 +
80332 +#ifndef strneq
80333 +#define strneq(a,b,n) (strncmp ((a), (b), (n)) == 0)
80334 +#endif
80335 +
80336 +
80337 +static const struct reg_entry reg_table[] =
80338 + {
80339 + /* Primary names (used by the disassembler) */
80340 + { "r0", 0 }, { "r1", 1 }, { "r2", 2 }, { "r3", 3 },
80341 + { "r4", 4 }, { "r5", 5 }, { "r6", 6 }, { "r7", 7 },
80342 + { "r8", 8 }, { "r9", 9 }, { "r10", 10 }, { "r11", 11 },
80343 + { "r12", 12 }, { "sp", 13 }, { "lr", 14 }, { "pc", 15 },
80344 + /* Alternatives to sp, lr and pc. */
80345 + { "r13", 13 }, { "r14", 14 }, { "r15", 15 },
80346 + };
80347 +#define AVR32_NR_INTREGS (sizeof(reg_table)/sizeof(reg_table[0]))
80348 +
80349 +/* Coprocessor Registers. */
80350 +static const struct reg_entry cr_table[] =
80351 + {
80352 + { "cr0", 0 }, { "cr1", 1 }, { "cr2", 2 }, { "cr3", 3 },
80353 + { "cr4", 4 }, { "cr5", 5 }, { "cr6", 6 }, { "cr7", 7 },
80354 + { "cr8", 8 }, { "cr9", 9 }, { "cr10", 10 }, { "cr11", 11 },
80355 + { "cr12", 12 }, { "cr13", 13 }, { "cr14", 14 }, { "cr15", 15 },
80356 + };
80357 +#define AVR32_NR_CPREGS (sizeof(cr_table)/sizeof(cr_table[0]))
80358 +
80359 +static const char bparts[4] = { 'b', 'l', 'u', 't' };
80360 +static bfd_vma current_pc;
80361 +
80362 +struct avr32_field_value
80363 +{
80364 + const struct avr32_ifield *ifield;
80365 + unsigned long value;
80366 +};
80367 +
80368 +struct avr32_operand
80369 +{
80370 + int id;
80371 + int is_pcrel;
80372 + int align_order;
80373 + int (*print)(struct avr32_operand *op, struct disassemble_info *info,
80374 + struct avr32_field_value *ifields);
80375 +};
80376 +
80377 +static signed long
80378 +get_signed_value(const struct avr32_field_value *fv)
80379 +{
80380 + signed long value = fv->value;
80381 +
80382 + if (fv->value & (1 << (fv->ifield->bitsize - 1)))
80383 + value |= (~0UL << fv->ifield->bitsize);
80384 +
80385 + return value;
80386 +}
80387 +
80388 +static void
80389 +print_reglist_range(unsigned int first, unsigned int last,
80390 + const struct reg_entry *reg_names,
80391 + int need_comma,
80392 + struct disassemble_info *info)
80393 +{
80394 + if (need_comma)
80395 + info->fprintf_func(info->stream, ",");
80396 +
80397 + if (first == last)
80398 + info->fprintf_func(info->stream, "%s",
80399 + reg_names[first].name);
80400 + else
80401 + info->fprintf_func(info->stream, "%s-%s",
80402 + reg_names[first].name, reg_names[last].name);
80403 +}
80404 +
80405 +static int
80406 +print_intreg(struct avr32_operand *op,
80407 + struct disassemble_info *info,
80408 + struct avr32_field_value *ifields)
80409 +{
80410 + unsigned long regid = ifields[0].value << op->align_order;
80411 +
80412 + info->fprintf_func(info->stream, "%s",
80413 + reg_table[regid].name);
80414 + return 1;
80415 +}
80416 +
80417 +static int
80418 +print_intreg_predec(struct avr32_operand *op ATTRIBUTE_UNUSED,
80419 + struct disassemble_info *info,
80420 + struct avr32_field_value *ifields)
80421 +{
80422 + info->fprintf_func(info->stream, "--%s",
80423 + reg_table[ifields[0].value].name);
80424 + return 1;
80425 +}
80426 +
80427 +static int
80428 +print_intreg_postinc(struct avr32_operand *op ATTRIBUTE_UNUSED,
80429 + struct disassemble_info *info,
80430 + struct avr32_field_value *ifields)
80431 +{
80432 + info->fprintf_func(info->stream, "%s++",
80433 + reg_table[ifields[0].value].name);
80434 + return 1;
80435 +}
80436 +
80437 +static int
80438 +print_intreg_lsl(struct avr32_operand *op ATTRIBUTE_UNUSED,
80439 + struct disassemble_info *info,
80440 + struct avr32_field_value *ifields)
80441 +{
80442 + const char *rp = reg_table[ifields[0].value].name;
80443 + unsigned long sa = ifields[1].value;
80444 +
80445 + if (sa)
80446 + info->fprintf_func(info->stream, "%s<<0x%lx", rp, sa);
80447 + else
80448 + info->fprintf_func(info->stream, "%s", rp);
80449 +
80450 + return 2;
80451 +}
80452 +
80453 +static int
80454 +print_intreg_lsr(struct avr32_operand *op ATTRIBUTE_UNUSED,
80455 + struct disassemble_info *info,
80456 + struct avr32_field_value *ifields)
80457 +{
80458 + const char *rp = reg_table[ifields[0].value].name;
80459 + unsigned long sa = ifields[1].value;
80460 +
80461 + if (sa)
80462 + info->fprintf_func(info->stream, "%s>>0x%lx", rp, sa);
80463 + else
80464 + info->fprintf_func(info->stream, "%s", rp);
80465 +
80466 + return 2;
80467 +}
80468 +
80469 +static int
80470 +print_intreg_bpart(struct avr32_operand *op ATTRIBUTE_UNUSED,
80471 + struct disassemble_info *info,
80472 + struct avr32_field_value *ifields)
80473 +{
80474 + info->fprintf_func(info->stream, "%s:%c",
80475 + reg_table[ifields[0].value].name,
80476 + bparts[ifields[1].value]);
80477 + return 2;
80478 +}
80479 +
80480 +static int
80481 +print_intreg_hpart(struct avr32_operand *op ATTRIBUTE_UNUSED,
80482 + struct disassemble_info *info,
80483 + struct avr32_field_value *ifields)
80484 +{
80485 + info->fprintf_func(info->stream, "%s:%c",
80486 + reg_table[ifields[0].value].name,
80487 + ifields[1].value ? 't' : 'b');
80488 + return 2;
80489 +}
80490 +
80491 +static int
80492 +print_intreg_sdisp(struct avr32_operand *op,
80493 + struct disassemble_info *info,
80494 + struct avr32_field_value *ifields)
80495 +{
80496 + signed long disp;
80497 +
80498 + disp = get_signed_value(&ifields[1]) << op->align_order;
80499 +
80500 + info->fprintf_func(info->stream, "%s[%ld]",
80501 + reg_table[ifields[0].value].name, disp);
80502 + return 2;
80503 +}
80504 +
80505 +static int
80506 +print_intreg_udisp(struct avr32_operand *op,
80507 + struct disassemble_info *info,
80508 + struct avr32_field_value *ifields)
80509 +{
80510 + info->fprintf_func(info->stream, "%s[0x%lx]",
80511 + reg_table[ifields[0].value].name,
80512 + ifields[1].value << op->align_order);
80513 + return 2;
80514 +}
80515 +
80516 +static int
80517 +print_intreg_index(struct avr32_operand *op ATTRIBUTE_UNUSED,
80518 + struct disassemble_info *info,
80519 + struct avr32_field_value *ifields)
80520 +{
80521 + const char *rb, *ri;
80522 + unsigned long sa = ifields[2].value;
80523 +
80524 + rb = reg_table[ifields[0].value].name;
80525 + ri = reg_table[ifields[1].value].name;
80526 +
80527 + if (sa)
80528 + info->fprintf_func(info->stream, "%s[%s<<0x%lx]", rb, ri, sa);
80529 + else
80530 + info->fprintf_func(info->stream, "%s[%s]", rb, ri);
80531 +
80532 + return 3;
80533 +}
80534 +
80535 +static int
80536 +print_intreg_xindex(struct avr32_operand *op ATTRIBUTE_UNUSED,
80537 + struct disassemble_info *info,
80538 + struct avr32_field_value *ifields)
80539 +{
80540 + info->fprintf_func(info->stream, "%s[%s:%c<<2]",
80541 + reg_table[ifields[0].value].name,
80542 + reg_table[ifields[1].value].name,
80543 + bparts[ifields[2].value]);
80544 + return 3;
80545 +}
80546 +
80547 +static int
80548 +print_jmplabel(struct avr32_operand *op,
80549 + struct disassemble_info *info,
80550 + struct avr32_field_value *ifields)
80551 +{
80552 + bfd_vma address, offset;
80553 +
80554 + offset = get_signed_value(ifields) << op->align_order;
80555 + address = (current_pc & (~0UL << op->align_order)) + offset;
80556 +
80557 + info->print_address_func(address, info);
80558 +
80559 + return 1;
80560 +}
80561 +
80562 +static int
80563 +print_pc_disp(struct avr32_operand *op,
80564 + struct disassemble_info *info,
80565 + struct avr32_field_value *ifields)
80566 +{
80567 + bfd_vma address, offset;
80568 +
80569 + offset = ifields[0].value << op->align_order;
80570 + address = (current_pc & (~0UL << op->align_order)) + offset;
80571 +
80572 + info->print_address_func(address, info);
80573 +
80574 + return 1;
80575 +}
80576 +
80577 +static int
80578 +print_sp(struct avr32_operand *op ATTRIBUTE_UNUSED,
80579 + struct disassemble_info *info,
80580 + struct avr32_field_value *ifields ATTRIBUTE_UNUSED)
80581 +{
80582 + info->fprintf_func(info->stream, "sp");
80583 + return 1;
80584 +}
80585 +
80586 +static int
80587 +print_sp_disp(struct avr32_operand *op,
80588 + struct disassemble_info *info,
80589 + struct avr32_field_value *ifields)
80590 +{
80591 + info->fprintf_func(info->stream, "sp[0x%lx]",
80592 + ifields[0].value << op->align_order);
80593 + return 1;
80594 +}
80595 +
80596 +static int
80597 +print_cpno(struct avr32_operand *op ATTRIBUTE_UNUSED,
80598 + struct disassemble_info *info,
80599 + struct avr32_field_value *ifields)
80600 +{
80601 + info->fprintf_func(info->stream, "cp%lu", ifields[0].value);
80602 + return 1;
80603 +}
80604 +
80605 +static int
80606 +print_cpreg(struct avr32_operand *op,
80607 + struct disassemble_info *info,
80608 + struct avr32_field_value *ifields)
80609 +{
80610 + info->fprintf_func(info->stream, "cr%lu",
80611 + ifields[0].value << op->align_order);
80612 + return 1;
80613 +}
80614 +
80615 +static int
80616 +print_uconst(struct avr32_operand *op,
80617 + struct disassemble_info *info,
80618 + struct avr32_field_value *ifields)
80619 +{
80620 + info->fprintf_func(info->stream, "0x%lx",
80621 + ifields[0].value << op->align_order);
80622 + return 1;
80623 +}
80624 +
80625 +static int
80626 +print_sconst(struct avr32_operand *op,
80627 + struct disassemble_info *info,
80628 + struct avr32_field_value *ifields)
80629 +{
80630 + info->fprintf_func(info->stream, "%ld",
80631 + get_signed_value(ifields) << op->align_order);
80632 + return 1;
80633 +}
80634 +
80635 +static int
80636 +print_reglist8_head(unsigned long regmask, int *commap,
80637 + struct disassemble_info *info)
80638 +{
80639 + int first = -1, last, i = 0;
80640 + int need_comma = 0;
80641 +
80642 + while (i < 12)
80643 + {
80644 + if (first == -1 && (regmask & 1))
80645 + {
80646 + first = i;
80647 + }
80648 + else if (first != -1 && !(regmask & 1))
80649 + {
80650 + last = i - 1;
80651 +
80652 + print_reglist_range(first, last, reg_table, need_comma, info);
80653 + need_comma = 1;
80654 + first = -1;
80655 + }
80656 +
80657 + if (i < 8)
80658 + i += 4;
80659 + else if (i < 10)
80660 + i += 2;
80661 + else
80662 + i++;
80663 + regmask >>= 1;
80664 + }
80665 +
80666 + *commap = need_comma;
80667 + return first;
80668 +}
80669 +
80670 +static void
80671 +print_reglist8_tail(unsigned long regmask, int first, int need_comma,
80672 + struct disassemble_info *info)
80673 +{
80674 + int last = 11;
80675 +
80676 + if (regmask & 0x20)
80677 + {
80678 + if (first == -1)
80679 + first = 12;
80680 + last = 12;
80681 + }
80682 +
80683 + if (first != -1)
80684 + {
80685 + print_reglist_range(first, last, reg_table, need_comma, info);
80686 + need_comma = 1;
80687 + first = -1;
80688 + }
80689 +
80690 + if (regmask & 0x40)
80691 + {
80692 + if (first == -1)
80693 + first = 14;
80694 + last = 14;
80695 + }
80696 +
80697 + if (regmask & 0x80)
80698 + {
80699 + if (first == -1)
80700 + first = 15;
80701 + last = 15;
80702 + }
80703 +
80704 + if (first != -1)
80705 + print_reglist_range(first, last, reg_table, need_comma, info);
80706 +}
80707 +
80708 +static int
80709 +print_reglist8(struct avr32_operand *op ATTRIBUTE_UNUSED,
80710 + struct disassemble_info *info,
80711 + struct avr32_field_value *ifields)
80712 +{
80713 + unsigned long regmask = ifields[0].value;
80714 + int first, need_comma;
80715 +
80716 + first = print_reglist8_head(regmask, &need_comma, info);
80717 + print_reglist8_tail(regmask, first, need_comma, info);
80718 +
80719 + return 1;
80720 +}
80721 +
80722 +static int
80723 +print_reglist9(struct avr32_operand *op ATTRIBUTE_UNUSED,
80724 + struct disassemble_info *info,
80725 + struct avr32_field_value *ifields)
80726 +{
80727 + unsigned long regmask = ifields[0].value >> 1;
80728 + int first, last, need_comma;
80729 +
80730 + first = print_reglist8_head(regmask, &need_comma, info);
80731 +
80732 + if ((ifields[0].value & 0x101) == 0x101)
80733 + {
80734 + if (first != -1)
80735 + {
80736 + last = 11;
80737 +
80738 + print_reglist_range(first, last, reg_table, need_comma, info);
80739 + need_comma = 1;
80740 + first = -1;
80741 + }
80742 +
80743 + print_reglist_range(15, 15, reg_table, need_comma, info);
80744 +
80745 + regmask >>= 5;
80746 +
80747 + if ((regmask & 3) == 0)
80748 + info->fprintf_func(info->stream, ",r12=0");
80749 + else if ((regmask & 3) == 1)
80750 + info->fprintf_func(info->stream, ",r12=1");
80751 + else
80752 + info->fprintf_func(info->stream, ",r12=-1");
80753 + }
80754 + else
80755 + print_reglist8_tail(regmask, first, need_comma, info);
80756 +
80757 + return 1;
80758 +}
80759 +
80760 +static int
80761 +print_reglist16(struct avr32_operand *op ATTRIBUTE_UNUSED,
80762 + struct disassemble_info *info,
80763 + struct avr32_field_value *ifields)
80764 +{
80765 + unsigned long regmask = ifields[0].value;
80766 + unsigned int i = 0, first, last;
80767 + int need_comma = 0;
80768 +
80769 + while (i < 16)
80770 + {
80771 + if (regmask & 1)
80772 + {
80773 + first = i;
80774 + while (i < 16)
80775 + {
80776 + i++;
80777 + regmask >>= 1;
80778 + if (!(regmask & 1))
80779 + break;
80780 + }
80781 + last = i - 1;
80782 + print_reglist_range(first, last, reg_table, need_comma, info);
80783 + need_comma = 1;
80784 + }
80785 + else
80786 + {
80787 + i++;
80788 + regmask >>= 1;
80789 + }
80790 + }
80791 +
80792 + return 1;
80793 +}
80794 +
80795 +static int
80796 +print_reglist_ldm(struct avr32_operand *op,
80797 + struct disassemble_info *info,
80798 + struct avr32_field_value *ifields)
80799 +{
80800 + int rp, w_bit;
80801 + int i, first, last;
80802 + unsigned long regmask;
80803 +
80804 + rp = ifields[0].value;
80805 + w_bit = ifields[1].value;
80806 + regmask = ifields[2].value;
80807 +
80808 + if (regmask & (1 << AVR32_REG_PC) && rp == AVR32_REG_PC)
80809 + {
80810 + if (w_bit)
80811 + info->fprintf_func(info->stream, "sp++");
80812 + else
80813 + info->fprintf_func(info->stream, "sp");
80814 +
80815 + for (i = 0; i < 12; )
80816 + {
80817 + if (regmask & (1 << i))
80818 + {
80819 + first = i;
80820 + while (i < 12)
80821 + {
80822 + i++;
80823 + if (!(regmask & (1 << i)))
80824 + break;
80825 + }
80826 + last = i - 1;
80827 + print_reglist_range(first, last, reg_table, 1, info);
80828 + }
80829 + else
80830 + i++;
80831 + }
80832 +
80833 + info->fprintf_func(info->stream, ",pc");
80834 + if (regmask & (1 << AVR32_REG_LR))
80835 + info->fprintf_func(info->stream, ",r12=-1");
80836 + else if (regmask & (1 << AVR32_REG_R12))
80837 + info->fprintf_func(info->stream, ",r12=1");
80838 + else
80839 + info->fprintf_func(info->stream, ",r12=0");
80840 + }
80841 + else
80842 + {
80843 + if (w_bit)
80844 + info->fprintf_func(info->stream, "%s++,", reg_table[rp].name);
80845 + else
80846 + info->fprintf_func(info->stream, "%s,", reg_table[rp].name);
80847 +
80848 + print_reglist16(op, info, ifields + 2);
80849 + }
80850 +
80851 + return 3;
80852 +}
80853 +
80854 +static int
80855 +print_reglist_cp8(struct avr32_operand *op ATTRIBUTE_UNUSED,
80856 + struct disassemble_info *info,
80857 + struct avr32_field_value *ifields)
80858 +{
80859 + unsigned long regmask = ifields[0].value;
80860 + unsigned int i = 0, first, last, offset = 0;
80861 + int need_comma = 0;
80862 +
80863 + if (ifields[1].value)
80864 + offset = 8;
80865 +
80866 + while (i < 8)
80867 + {
80868 + if (regmask & 1)
80869 + {
80870 + first = i;
80871 + while (i < 8)
80872 + {
80873 + i++;
80874 + regmask >>= 1;
80875 + if (!(regmask & 1))
80876 + break;
80877 + }
80878 + last = i - 1;
80879 + print_reglist_range(offset + first, offset + last,
80880 + cr_table, need_comma, info);
80881 + need_comma = 1;
80882 + }
80883 + else
80884 + {
80885 + i++;
80886 + regmask >>= 1;
80887 + }
80888 + }
80889 +
80890 + return 2;
80891 +}
80892 +
80893 +static int
80894 +print_reglist_cpd8(struct avr32_operand *op ATTRIBUTE_UNUSED,
80895 + struct disassemble_info *info,
80896 + struct avr32_field_value *ifields)
80897 +{
80898 + unsigned long regmask = ifields[0].value;
80899 + unsigned int i = 0, first, last;
80900 + int need_comma = 0;
80901 +
80902 + while (i < 8)
80903 + {
80904 + if (regmask & 1)
80905 + {
80906 + first = 2 * i;
80907 + while (i < 8)
80908 + {
80909 + i++;
80910 + regmask >>= 1;
80911 + if (!(regmask & 1))
80912 + break;
80913 + }
80914 + last = 2 * (i - 1) + 1;
80915 + print_reglist_range(first, last, cr_table, need_comma, info);
80916 + need_comma = 1;
80917 + }
80918 + else
80919 + {
80920 + i++;
80921 + regmask >>= 1;
80922 + }
80923 + }
80924 +
80925 + return 1;
80926 +}
80927 +
80928 +static int
80929 +print_retval(struct avr32_operand *op ATTRIBUTE_UNUSED,
80930 + struct disassemble_info *info,
80931 + struct avr32_field_value *ifields)
80932 +{
80933 + unsigned long regid = ifields[0].value;
80934 + const char *retval;
80935 +
80936 + if (regid < AVR32_REG_SP)
80937 + retval = reg_table[regid].name;
80938 + else if (regid == AVR32_REG_SP)
80939 + retval = "0";
80940 + else if (regid == AVR32_REG_LR)
80941 + retval = "-1";
80942 + else
80943 + retval = "1";
80944 +
80945 + info->fprintf_func(info->stream, "%s", retval);
80946 +
80947 + return 1;
80948 +}
80949 +
80950 +static int
80951 +print_mcall(struct avr32_operand *op,
80952 + struct disassemble_info *info,
80953 + struct avr32_field_value *ifields)
80954 +{
80955 + unsigned long regid = ifields[0].value;
80956 +
80957 + if (regid == AVR32_REG_PC)
80958 + print_jmplabel(op, info, ifields + 1);
80959 + else
80960 + print_intreg_sdisp(op, info, ifields);
80961 +
80962 + return 2;
80963 +}
80964 +
80965 +static int
80966 +print_jospinc(struct avr32_operand *op ATTRIBUTE_UNUSED,
80967 + struct disassemble_info *info,
80968 + struct avr32_field_value *ifields)
80969 +{
80970 + signed long value = ifields[0].value;
80971 +
80972 + if (value >= 4)
80973 + value -= 8;
80974 + else
80975 + value += 1;
80976 +
80977 + info->fprintf_func(info->stream, "%ld", value);
80978 +
80979 + return 1;
80980 +}
80981 +
80982 +static int
80983 +print_coh(struct avr32_operand *op ATTRIBUTE_UNUSED,
80984 + struct disassemble_info *info,
80985 + struct avr32_field_value *ifields ATTRIBUTE_UNUSED)
80986 +{
80987 + info->fprintf_func(info->stream, "COH");
80988 + return 0;
80989 +}
80990 +
80991 +#define OP(name, sgn, pcrel, align, func) \
80992 + { AVR32_OPERAND_##name, pcrel, align, print_##func }
80993 +
80994 +struct avr32_operand operand[AVR32_NR_OPERANDS] =
80995 + {
80996 + OP(INTREG, 0, 0, 0, intreg),
80997 + OP(INTREG_PREDEC, 0, 0, 0, intreg_predec),
80998 + OP(INTREG_POSTINC, 0, 0, 0, intreg_postinc),
80999 + OP(INTREG_LSL, 0, 0, 0, intreg_lsl),
81000 + OP(INTREG_LSR, 0, 0, 0, intreg_lsr),
81001 + OP(INTREG_BSEL, 0, 0, 0, intreg_bpart),
81002 + OP(INTREG_HSEL, 0, 0, 1, intreg_hpart),
81003 + OP(INTREG_SDISP, 1, 0, 0, intreg_sdisp),
81004 + OP(INTREG_SDISP_H, 1, 0, 1, intreg_sdisp),
81005 + OP(INTREG_SDISP_W, 1, 0, 2, intreg_sdisp),
81006 + OP(INTREG_UDISP, 0, 0, 0, intreg_udisp),
81007 + OP(INTREG_UDISP_H, 0, 0, 1, intreg_udisp),
81008 + OP(INTREG_UDISP_W, 0, 0, 2, intreg_udisp),
81009 + OP(INTREG_INDEX, 0, 0, 0, intreg_index),
81010 + OP(INTREG_XINDEX, 0, 0, 0, intreg_xindex),
81011 + OP(DWREG, 0, 0, 1, intreg),
81012 + OP(PC_UDISP_W, 0, 1, 2, pc_disp),
81013 + OP(SP, 0, 0, 0, sp),
81014 + OP(SP_UDISP_W, 0, 0, 2, sp_disp),
81015 + OP(CPNO, 0, 0, 0, cpno),
81016 + OP(CPREG, 0, 0, 0, cpreg),
81017 + OP(CPREG_D, 0, 0, 1, cpreg),
81018 + OP(UNSIGNED_CONST, 0, 0, 0, uconst),
81019 + OP(UNSIGNED_CONST_W, 0, 0, 2, uconst),
81020 + OP(SIGNED_CONST, 1, 0, 0, sconst),
81021 + OP(SIGNED_CONST_W, 1, 0, 2, sconst),
81022 + OP(JMPLABEL, 1, 1, 1, jmplabel),
81023 + OP(UNSIGNED_NUMBER, 0, 0, 0, uconst),
81024 + OP(UNSIGNED_NUMBER_W, 0, 0, 2, uconst),
81025 + OP(REGLIST8, 0, 0, 0, reglist8),
81026 + OP(REGLIST9, 0, 0, 0, reglist9),
81027 + OP(REGLIST16, 0, 0, 0, reglist16),
81028 + OP(REGLIST_LDM, 0, 0, 0, reglist_ldm),
81029 + OP(REGLIST_CP8, 0, 0, 0, reglist_cp8),
81030 + OP(REGLIST_CPD8, 0, 0, 0, reglist_cpd8),
81031 + OP(RETVAL, 0, 0, 0, retval),
81032 + OP(MCALL, 1, 0, 2, mcall),
81033 + OP(JOSPINC, 0, 0, 0, jospinc),
81034 + OP(COH, 0, 0, 0, coh),
81035 + };
81036 +
81037 +static void
81038 +print_opcode(bfd_vma insn_word, const struct avr32_opcode *opc,
81039 + bfd_vma pc, struct disassemble_info *info)
81040 +{
81041 + const struct avr32_syntax *syntax = opc->syntax;
81042 + struct avr32_field_value fields[AVR32_MAX_FIELDS];
81043 + unsigned int i, next_field = 0, nr_operands;
81044 +
81045 + for (i = 0; i < opc->nr_fields; i++)
81046 + {
81047 + opc->fields[i]->extract(opc->fields[i], &insn_word, &fields[i].value);
81048 + fields[i].ifield = opc->fields[i];
81049 + }
81050 +
81051 + current_pc = pc;
81052 + info->fprintf_func(info->stream, "%s", syntax->mnemonic->name);
81053 +
81054 + if (syntax->nr_operands < 0)
81055 + nr_operands = (unsigned int) -syntax->nr_operands;
81056 + else
81057 + nr_operands = (unsigned int) syntax->nr_operands;
81058 +
81059 + for (i = 0; i < nr_operands; i++)
81060 + {
81061 + struct avr32_operand *op = &operand[syntax->operand[i]];
81062 +
81063 + if (i)
81064 + info->fprintf_func(info->stream, ",");
81065 + else
81066 + info->fprintf_func(info->stream, " ");
81067 + next_field += op->print(op, info, &fields[next_field]);
81068 + }
81069 +}
81070 +
81071 +static const struct avr32_opcode *
81072 +find_opcode(bfd_vma insn_word)
81073 +{
81074 + int i;
81075 +
81076 + for (i = 0; i < AVR32_NR_OPCODES; i++)
81077 + {
81078 + const struct avr32_opcode *opc = &avr32_opc_table[i];
81079 +
81080 + if ((insn_word & opc->mask) == opc->value)
81081 + return opc;
81082 + }
81083 +
81084 + return NULL;
81085 +}
81086 +
81087 +static int
81088 +read_insn_word(bfd_vma pc, bfd_vma *valuep,
81089 + struct disassemble_info *info)
81090 +{
81091 + bfd_byte b[4];
81092 + int status;
81093 +
81094 + status = info->read_memory_func(pc, b, 4, info);
81095 + if (status)
81096 + {
81097 + status = info->read_memory_func(pc, b, 2, info);
81098 + if (status)
81099 + {
81100 + info->memory_error_func(status, pc, info);
81101 + return -1;
81102 + }
81103 + b[3] = b[2] = 0;
81104 + }
81105 +
81106 + *valuep = (b[0] << 24) | (b[1] << 16) | (b[2] << 8) | b[3];
81107 + return 0;
81108 +}
81109 +
81110 +/* Parse an individual disassembler option. */
81111 +
81112 +void
81113 +parse_avr32_disassembler_option (option)
81114 + char * option;
81115 +{
81116 + if (option == NULL)
81117 + return;
81118 +
81119 + /* XXX - should break 'option' at following delimiter. */
81120 + fprintf (stderr, _("Unrecognised disassembler option: %s\n"), option);
81121 +
81122 + return;
81123 +}
81124 +
81125 +/* Parse the string of disassembler options, spliting it at whitespaces
81126 + or commas. (Whitespace separators supported for backwards compatibility). */
81127 +
81128 +static void
81129 +parse_disassembler_options (char *options)
81130 +{
81131 + if (options == NULL)
81132 + return;
81133 +
81134 + while (*options)
81135 + {
81136 + parse_avr32_disassembler_option (options);
81137 +
81138 + /* Skip forward to next seperator. */
81139 + while ((*options) && (! ISSPACE (*options)) && (*options != ','))
81140 + ++ options;
81141 + /* Skip forward past seperators. */
81142 + while (ISSPACE (*options) || (*options == ','))
81143 + ++ options;
81144 + }
81145 +}
81146 +
81147 +int
81148 +print_insn_avr32(bfd_vma pc, struct disassemble_info *info)
81149 +{
81150 + bfd_vma insn_word;
81151 + const struct avr32_opcode *opc;
81152 +
81153 + if (info->disassembler_options)
81154 + {
81155 + parse_disassembler_options (info->disassembler_options);
81156 +
81157 + /* To avoid repeated parsing of these options, we remove them here. */
81158 + info->disassembler_options = NULL;
81159 + }
81160 +
81161 + info->bytes_per_chunk = 1;
81162 + info->display_endian = BFD_ENDIAN_BIG;
81163 +
81164 + if (read_insn_word(pc, &insn_word, info))
81165 + return -1;
81166 +
81167 + opc = find_opcode(insn_word);
81168 + if (opc)
81169 + {
81170 + print_opcode(insn_word, opc, pc, info);
81171 + return opc->size;
81172 + }
81173 + else
81174 + {
81175 + info->fprintf_func(info->stream, _("*unknown*"));
81176 + return 2;
81177 + }
81178 +
81179 +}
81180 +
81181 +void
81182 +print_avr32_disassembler_options (FILE *stream ATTRIBUTE_UNUSED)
81183 +{
81184 +
81185 +}
81186 diff -Nrup binutils-2.17/opcodes/avr32-opc.c binutils-2.17-atmel/opcodes/avr32-opc.c
81187 --- binutils-2.17/opcodes/avr32-opc.c 1970-01-01 01:00:00.000000000 +0100
81188 +++ binutils-2.17-atmel/opcodes/avr32-opc.c 2007-01-29 12:21:57.000000000 +0100
81189 @@ -0,0 +1,6140 @@
81190 +/* Opcode tables for AVR32.
81191 + Copyright 2005, 2006 Atmel Corporation.
81192 +
81193 + Written by Haavard Skinnemoen, Atmel Norway, <hskinnemoen@atmel.com>
81194 +
81195 + This file is part of libopcodes.
81196 +
81197 + This program is free software; you can redistribute it and/or
81198 + modify it under the terms of the GNU General Public License as
81199 + published by the Free Software Foundation; either version 2 of the
81200 + License, or (at your option) any later version.
81201 +
81202 + This program is distributed in the hope that it will be useful, but
81203 + WITHOUT ANY WARRANTY; without even the implied warranty of
81204 + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
81205 + General Public License for more details.
81206 +
81207 + You should have received a copy of the GNU General Public License
81208 + along with this program; if not, write to the Free Software
81209 + Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
81210 + 02111-1307, USA. */
81211 +
81212 +#include <stdlib.h>
81213 +#include <assert.h>
81214 +
81215 +#include "avr32-opc.h"
81216 +
81217 +#define PICO_CPNO 1
81218 +
81219 +void
81220 +avr32_insert_simple(const struct avr32_ifield *field,
81221 + void *buf, unsigned long value)
81222 +{
81223 + bfd_vma word;
81224 +
81225 + word = bfd_getb32(buf);
81226 + word &= ~field->mask;
81227 + word |= (value << field->shift) & field->mask;
81228 + bfd_putb32(word, buf);
81229 +}
81230 +
81231 +void
81232 +avr32_insert_bit5c(const struct avr32_ifield *field ATTRIBUTE_UNUSED,
81233 + void *buf, unsigned long value)
81234 +{
81235 + char *opcode = buf;
81236 +
81237 + opcode[0] = (opcode[0] & 0xe1) | (value & 0x1e);
81238 + opcode[1] = (opcode[1] & 0xef) | ((value & 1) << 4);
81239 +}
81240 +
81241 +void
81242 +avr32_insert_k10(const struct avr32_ifield *field ATTRIBUTE_UNUSED,
81243 + void *buf, unsigned long value)
81244 +{
81245 + char *opcode = buf;
81246 +
81247 + opcode[0] = (opcode[0] & 0xf0) | ((value & 0xf0) >> 4);
81248 + opcode[1] = ((opcode[1] & 0x0c) | ((value & 0x0f) << 4)
81249 + | ((value & 0x300) >> 8));
81250 +}
81251 +
81252 +void
81253 +avr32_insert_k21(const struct avr32_ifield *field,
81254 + void *buf, unsigned long value)
81255 +{
81256 + bfd_vma word;
81257 + bfd_vma k21;
81258 +
81259 + word = bfd_getb32(buf);
81260 + word &= ~field->mask;
81261 + k21 = ((value & 0xffff) | ((value & 0x10000) << 4)
81262 + | ((value & 0x1e0000) << 8));
81263 + assert(!(k21 & ~field->mask));
81264 + word |= k21;
81265 + bfd_putb32(word, buf);
81266 +}
81267 +
81268 +void
81269 +avr32_insert_cpop(const struct avr32_ifield *field,
81270 + void *buf, unsigned long value)
81271 +{
81272 + bfd_vma word;
81273 +
81274 + word = bfd_getb32(buf);
81275 + word &= ~field->mask;
81276 + word |= (((value & 0x1e) << 15) | ((value & 0x60) << 20)
81277 + | ((value & 0x01) << 12));
81278 + bfd_putb32(word, buf);
81279 +}
81280 +
81281 +void
81282 +avr32_insert_k12cp(const struct avr32_ifield *field,
81283 + void *buf, unsigned long value)
81284 +{
81285 + bfd_vma word;
81286 +
81287 + word = bfd_getb32(buf);
81288 + word &= ~field->mask;
81289 + word |= ((value & 0xf00) << 4) | (value & 0xff);
81290 + bfd_putb32(word, buf);
81291 +}
81292 +
81293 +void avr32_extract_simple(const struct avr32_ifield *field,
81294 + void *buf, unsigned long *value)
81295 +{
81296 + /* XXX: The disassembler has done any necessary byteswapping already */
81297 + bfd_vma word = *(bfd_vma *)buf;
81298 +
81299 + *value = (word & field->mask) >> field->shift;
81300 +}
81301 +
81302 +void avr32_extract_bit5c(const struct avr32_ifield *field ATTRIBUTE_UNUSED,
81303 + void *buf, unsigned long *value)
81304 +{
81305 + bfd_vma word = *(bfd_vma *)buf;
81306 +
81307 + *value = ((word >> 20) & 1) | ((word >> 24) & 0x1e);
81308 +}
81309 +
81310 +void avr32_extract_k10(const struct avr32_ifield *field ATTRIBUTE_UNUSED,
81311 + void *buf, unsigned long *value)
81312 +{
81313 + bfd_vma word = *(bfd_vma *)buf;
81314 +
81315 + *value = ((word >> 8) & 0x300) | ((word >> 20) & 0xff);
81316 +}
81317 +
81318 +void avr32_extract_k21(const struct avr32_ifield *field ATTRIBUTE_UNUSED,
81319 + void *buf, unsigned long *value)
81320 +{
81321 + bfd_vma word = *(bfd_vma *)buf;
81322 +
81323 + *value = ((word & 0xffff) | ((word >> 4) & 0x10000)
81324 + | ((word >> 8) & 0x1e0000));
81325 +}
81326 +
81327 +void avr32_extract_cpop(const struct avr32_ifield *field ATTRIBUTE_UNUSED,
81328 + void *buf, unsigned long *value)
81329 +{
81330 + bfd_vma word = *(bfd_vma *)buf;
81331 +
81332 + *value = (((word >> 12) & 1) | ((word >> 15) & 0x1e)
81333 + | ((word >> 20) & 0x60));
81334 +}
81335 +
81336 +void avr32_extract_k12cp(const struct avr32_ifield *field ATTRIBUTE_UNUSED,
81337 + void *buf, unsigned long *value)
81338 +{
81339 + bfd_vma word = *(bfd_vma *)buf;
81340 +
81341 + *value = ((word >> 4) & 0xf00) | (word & 0xff);
81342 +}
81343 +
81344 +#define IFLD(id, bitsz, shift, mask, func) \
81345 + { AVR32_IFIELD_##id, bitsz, shift, mask, \
81346 + avr32_insert_##func, avr32_extract_##func }
81347 +
81348 +const struct avr32_ifield avr32_ifield_table[] =
81349 + {
81350 + IFLD(RX, 4, 25, 0x1e000000, simple),
81351 + IFLD(RY, 4, 16, 0x000f0000, simple),
81352 + IFLD(COND4C, 4, 20, 0x00f00000, simple),
81353 + IFLD(K8C, 8, 20, 0x0ff00000, simple),
81354 + IFLD(K7C, 7, 20, 0x07f00000, simple),
81355 + IFLD(K5C, 5, 20, 0x01f00000, simple),
81356 + IFLD(K3, 3, 20, 0x00700000, simple),
81357 + IFLD(RY_DW, 3, 17, 0x000e0000, simple),
81358 + IFLD(COND4E, 4, 8, 0x00000f00, simple),
81359 + IFLD(K8E, 8, 0, 0x000000ff, simple),
81360 + IFLD(BIT5C, 5, 20, 0x1e100000, bit5c),
81361 + IFLD(COND3, 3, 16, 0x00070000, simple),
81362 + IFLD(K10, 10, 16, 0x0ff30000, k10),
81363 + IFLD(POPM, 9, 19, 0x0ff80000, simple),
81364 + IFLD(K2, 2, 4, 0x00000030, simple),
81365 + IFLD(RD_E, 4, 0, 0x0000000f, simple),
81366 + IFLD(RD_DW, 3, 1, 0x0000000e, simple),
81367 + IFLD(X, 1, 5, 0x00000020, simple),
81368 + IFLD(Y, 1, 4, 0x00000010, simple),
81369 + IFLD(X2, 1, 13, 0x00002000, simple),
81370 + IFLD(Y2, 1, 12, 0x00001000, simple),
81371 + IFLD(K5E, 5, 0, 0x0000001f, simple),
81372 + IFLD(PART2, 2, 0, 0x00000003, simple),
81373 + IFLD(PART1, 1, 0, 0x00000001, simple),
81374 + IFLD(K16, 16, 0, 0x0000ffff, simple),
81375 + IFLD(CACHEOP, 5, 11, 0x0000f800, simple),
81376 + IFLD(K11, 11, 0, 0x000007ff, simple),
81377 + IFLD(K21, 21, 0, 0x1e10ffff, k21),
81378 + IFLD(CPOP, 7, 12, 0x060f1000, cpop),
81379 + IFLD(CPNO, 3, 13, 0x0000e000, simple),
81380 + IFLD(CRD_RI, 4, 8, 0x00000f00, simple),
81381 + IFLD(CRX, 4, 4, 0x000000f0, simple),
81382 + IFLD(CRY, 4, 0, 0x0000000f, simple),
81383 + IFLD(K7E, 7, 0, 0x0000007f, simple),
81384 + IFLD(CRD_DW, 3, 9, 0x00000e00, simple),
81385 + IFLD(PART1_K12, 1, 12, 0x00001000, simple),
81386 + IFLD(PART2_K12, 2, 12, 0x00003000, simple),
81387 + IFLD(K12, 12, 0, 0x00000fff, simple),
81388 + IFLD(S5, 5, 5, 0x000003e0, simple),
81389 + IFLD(K5E2, 5, 4, 0x000001f0, simple),
81390 + IFLD(K4, 4, 20, 0x00f00000, simple),
81391 + IFLD(COND4E2, 4, 4, 0x000000f0, simple),
81392 + IFLD(K8E2, 8, 4, 0x00000ff0, simple),
81393 + IFLD(K6, 6, 20, 0x03f00000, simple),
81394 + IFLD(MEM15, 15, 0, 0x00007fff, simple),
81395 + IFLD(MEMB5, 5, 15, 0x000f8000, simple),
81396 + IFLD(W, 1, 25, 0x02000000, simple),
81397 + /* Coprocessor Multiple High/Low */
81398 + IFLD(CM_HL, 1, 8, 0x00000100, simple),
81399 + IFLD(K12CP, 12 ,0, 0x0000f0ff, k12cp),
81400 + };
81401 +#undef IFLD
81402 +
81403 +
81404 +struct avr32_opcode avr32_opc_table[] =
81405 + {
81406 + {
81407 + AVR32_OPC_ABS, 2, 0x5c400000, 0xfff00000,
81408 + &avr32_syntax_table[AVR32_SYNTAX_ABS],
81409 + BFD_RELOC_UNUSED, 1, -1,
81410 + {
81411 + &avr32_ifield_table[AVR32_IFIELD_RY],
81412 + }
81413 + },
81414 + {
81415 + AVR32_OPC_ACALL, 2, 0xd0000000, 0xf00f0000,
81416 + &avr32_syntax_table[AVR32_SYNTAX_ACALL],
81417 + BFD_RELOC_UNUSED, 1, -1,
81418 + {
81419 + &avr32_ifield_table[AVR32_IFIELD_K8C],
81420 + },
81421 + },
81422 + {
81423 + AVR32_OPC_ACR, 2, 0x5c000000, 0xfff00000,
81424 + &avr32_syntax_table[AVR32_SYNTAX_ACR],
81425 + BFD_RELOC_UNUSED, 1, -1,
81426 + {
81427 + &avr32_ifield_table[AVR32_IFIELD_RY],
81428 + },
81429 + },
81430 + {
81431 + AVR32_OPC_ADC, 4, 0xe0000040, 0xe1f0fff0,
81432 + &avr32_syntax_table[AVR32_SYNTAX_ADC],
81433 + BFD_RELOC_UNUSED, 3, -1,
81434 + {
81435 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
81436 + &avr32_ifield_table[AVR32_IFIELD_RX],
81437 + &avr32_ifield_table[AVR32_IFIELD_RY],
81438 + },
81439 + },
81440 + {
81441 + AVR32_OPC_ADD1, 2, 0x00000000, 0xe1f00000,
81442 + &avr32_syntax_table[AVR32_SYNTAX_ADD1],
81443 + BFD_RELOC_UNUSED, 2, -1,
81444 + {
81445 + &avr32_ifield_table[AVR32_IFIELD_RY],
81446 + &avr32_ifield_table[AVR32_IFIELD_RX],
81447 + },
81448 + },
81449 + {
81450 + AVR32_OPC_ADD2, 4, 0xe0000000, 0xe1f0ffc0,
81451 + &avr32_syntax_table[AVR32_SYNTAX_ADD2],
81452 + BFD_RELOC_UNUSED, 4, -1,
81453 + {
81454 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
81455 + &avr32_ifield_table[AVR32_IFIELD_RX],
81456 + &avr32_ifield_table[AVR32_IFIELD_RY],
81457 + &avr32_ifield_table[AVR32_IFIELD_K2],
81458 + },
81459 + },
81460 + {
81461 + AVR32_OPC_ADDABS, 4, 0xe0000e40, 0xe1f0fff0,
81462 + &avr32_syntax_table[AVR32_SYNTAX_ADDABS],
81463 + BFD_RELOC_UNUSED, 3, -1,
81464 + {
81465 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
81466 + &avr32_ifield_table[AVR32_IFIELD_RX],
81467 + &avr32_ifield_table[AVR32_IFIELD_RY],
81468 + },
81469 + },
81470 + {
81471 + AVR32_OPC_ADDHH_W, 4, 0xe0000e00, 0xe1f0ffc0,
81472 + &avr32_syntax_table[AVR32_SYNTAX_ADDHH_W],
81473 + BFD_RELOC_UNUSED, 5, -1,
81474 + {
81475 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
81476 + &avr32_ifield_table[AVR32_IFIELD_RX],
81477 + &avr32_ifield_table[AVR32_IFIELD_X],
81478 + &avr32_ifield_table[AVR32_IFIELD_RY],
81479 + &avr32_ifield_table[AVR32_IFIELD_Y],
81480 + },
81481 + },
81482 + {
81483 + AVR32_OPC_AND1, 2, 0x00600000, 0xe1f00000,
81484 + &avr32_syntax_table[AVR32_SYNTAX_AND1],
81485 + BFD_RELOC_UNUSED, 2, -1,
81486 + {
81487 + &avr32_ifield_table[AVR32_IFIELD_RY],
81488 + &avr32_ifield_table[AVR32_IFIELD_RX],
81489 + },
81490 + },
81491 + {
81492 + AVR32_OPC_AND2, 4, 0xe1e00000, 0xe1f0fe00,
81493 + &avr32_syntax_table[AVR32_SYNTAX_AND2],
81494 + BFD_RELOC_UNUSED, 4, -1,
81495 + {
81496 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
81497 + &avr32_ifield_table[AVR32_IFIELD_RX],
81498 + &avr32_ifield_table[AVR32_IFIELD_RY],
81499 + &avr32_ifield_table[AVR32_IFIELD_K5E2],
81500 + },
81501 + },
81502 + {
81503 + AVR32_OPC_AND3, 4, 0xe1e00200, 0xe1f0fe00,
81504 + &avr32_syntax_table[AVR32_SYNTAX_AND3],
81505 + BFD_RELOC_UNUSED, 4, -1,
81506 + {
81507 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
81508 + &avr32_ifield_table[AVR32_IFIELD_RX],
81509 + &avr32_ifield_table[AVR32_IFIELD_RY],
81510 + &avr32_ifield_table[AVR32_IFIELD_K5E2],
81511 + },
81512 + },
81513 + {
81514 + AVR32_OPC_ANDH, 4, 0xe4100000, 0xfff00000,
81515 + &avr32_syntax_table[AVR32_SYNTAX_ANDH],
81516 + BFD_RELOC_AVR32_16U, 2, 1,
81517 + {
81518 + &avr32_ifield_table[AVR32_IFIELD_RY],
81519 + &avr32_ifield_table[AVR32_IFIELD_K16],
81520 + },
81521 + },
81522 + {
81523 + AVR32_OPC_ANDH_COH, 4, 0xe6100000, 0xfff00000,
81524 + &avr32_syntax_table[AVR32_SYNTAX_ANDH_COH],
81525 + BFD_RELOC_AVR32_16U, 2, 1,
81526 + {
81527 + &avr32_ifield_table[AVR32_IFIELD_RY],
81528 + &avr32_ifield_table[AVR32_IFIELD_K16],
81529 + },
81530 + },
81531 + {
81532 + AVR32_OPC_ANDL, 4, 0xe0100000, 0xfff00000,
81533 + &avr32_syntax_table[AVR32_SYNTAX_ANDL],
81534 + BFD_RELOC_AVR32_16U, 2, 1,
81535 + {
81536 + &avr32_ifield_table[AVR32_IFIELD_RY],
81537 + &avr32_ifield_table[AVR32_IFIELD_K16],
81538 + },
81539 + },
81540 + {
81541 + AVR32_OPC_ANDL_COH, 4, 0xe2100000, 0xfff00000,
81542 + &avr32_syntax_table[AVR32_SYNTAX_ANDL_COH],
81543 + BFD_RELOC_AVR32_16U, 2, 1,
81544 + {
81545 + &avr32_ifield_table[AVR32_IFIELD_RY],
81546 + &avr32_ifield_table[AVR32_IFIELD_K16],
81547 + },
81548 + },
81549 + {
81550 + AVR32_OPC_ANDN, 2, 0x00800000, 0xe1f00000,
81551 + &avr32_syntax_table[AVR32_SYNTAX_ANDN],
81552 + BFD_RELOC_UNUSED, 2, -1,
81553 + {
81554 + &avr32_ifield_table[AVR32_IFIELD_RY],
81555 + &avr32_ifield_table[AVR32_IFIELD_RX],
81556 + },
81557 + },
81558 + {
81559 + AVR32_OPC_ASR1, 4, 0xe0000840, 0xe1f0fff0,
81560 + &avr32_syntax_table[AVR32_SYNTAX_ASR1],
81561 + BFD_RELOC_UNUSED, 3, -1,
81562 + {
81563 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
81564 + &avr32_ifield_table[AVR32_IFIELD_RX],
81565 + &avr32_ifield_table[AVR32_IFIELD_RY],
81566 + },
81567 + },
81568 + {
81569 + AVR32_OPC_ASR3, 4, 0xe0001400, 0xe1f0ffe0,
81570 + &avr32_syntax_table[AVR32_SYNTAX_ASR3],
81571 + BFD_RELOC_UNUSED, 3, -1,
81572 + {
81573 + &avr32_ifield_table[AVR32_IFIELD_RY],
81574 + &avr32_ifield_table[AVR32_IFIELD_RX],
81575 + &avr32_ifield_table[AVR32_IFIELD_K5E],
81576 + },
81577 + },
81578 + {
81579 + AVR32_OPC_ASR2, 2, 0xa1400000, 0xe1e00000,
81580 + &avr32_syntax_table[AVR32_SYNTAX_ASR2],
81581 + BFD_RELOC_UNUSED, 2, -1,
81582 + {
81583 + &avr32_ifield_table[AVR32_IFIELD_RY],
81584 + &avr32_ifield_table[AVR32_IFIELD_BIT5C],
81585 + },
81586 + },
81587 + {
81588 + AVR32_OPC_BLD, 4, 0xedb00000, 0xfff0ffe0,
81589 + &avr32_syntax_table[AVR32_SYNTAX_BLD],
81590 + BFD_RELOC_UNUSED, 2, -1,
81591 + {
81592 + &avr32_ifield_table[AVR32_IFIELD_RY],
81593 + &avr32_ifield_table[AVR32_IFIELD_K5E],
81594 + },
81595 + },
81596 + {
81597 + AVR32_OPC_BREQ1, 2, 0xc0000000, 0xf00f0000,
81598 + &avr32_syntax_table[AVR32_SYNTAX_BREQ1],
81599 + BFD_RELOC_AVR32_9H_PCREL, 1, 0,
81600 + {
81601 + &avr32_ifield_table[AVR32_IFIELD_K8C],
81602 + },
81603 + },
81604 + {
81605 + AVR32_OPC_BRNE1, 2, 0xc0010000, 0xf00f0000,
81606 + &avr32_syntax_table[AVR32_SYNTAX_BRNE1],
81607 + BFD_RELOC_AVR32_9H_PCREL, 1, 0,
81608 + {
81609 + &avr32_ifield_table[AVR32_IFIELD_K8C],
81610 + },
81611 + },
81612 + {
81613 + AVR32_OPC_BRCC1, 2, 0xc0020000, 0xf00f0000,
81614 + &avr32_syntax_table[AVR32_SYNTAX_BRCC1],
81615 + BFD_RELOC_AVR32_9H_PCREL, 1, 0,
81616 + {
81617 + &avr32_ifield_table[AVR32_IFIELD_K8C],
81618 + },
81619 + },
81620 + {
81621 + AVR32_OPC_BRCS1, 2, 0xc0030000, 0xf00f0000,
81622 + &avr32_syntax_table[AVR32_SYNTAX_BRCS1],
81623 + BFD_RELOC_AVR32_9H_PCREL, 1, 0,
81624 + {
81625 + &avr32_ifield_table[AVR32_IFIELD_K8C],
81626 + },
81627 + },
81628 + {
81629 + AVR32_OPC_BRGE1, 2, 0xc0040000, 0xf00f0000,
81630 + &avr32_syntax_table[AVR32_SYNTAX_BRGE1],
81631 + BFD_RELOC_AVR32_9H_PCREL, 1, 0,
81632 + {
81633 + &avr32_ifield_table[AVR32_IFIELD_K8C],
81634 + },
81635 + },
81636 + {
81637 + AVR32_OPC_BRLT1, 2, 0xc0050000, 0xf00f0000,
81638 + &avr32_syntax_table[AVR32_SYNTAX_BRLT1],
81639 + BFD_RELOC_AVR32_9H_PCREL, 1, 0,
81640 + {
81641 + &avr32_ifield_table[AVR32_IFIELD_K8C],
81642 + },
81643 + },
81644 + {
81645 + AVR32_OPC_BRMI1, 2, 0xc0060000, 0xf00f0000,
81646 + &avr32_syntax_table[AVR32_SYNTAX_BRMI1],
81647 + BFD_RELOC_AVR32_9H_PCREL, 1, 0,
81648 + {
81649 + &avr32_ifield_table[AVR32_IFIELD_K8C],
81650 + },
81651 + },
81652 + {
81653 + AVR32_OPC_BRPL1, 2, 0xc0070000, 0xf00f0000,
81654 + &avr32_syntax_table[AVR32_SYNTAX_BRPL1],
81655 + BFD_RELOC_AVR32_9H_PCREL, 1, 0,
81656 + {
81657 + &avr32_ifield_table[AVR32_IFIELD_K8C],
81658 + },
81659 + },
81660 + {
81661 + AVR32_OPC_BREQ2, 4, 0xe0800000, 0xe1ef0000,
81662 + &avr32_syntax_table[AVR32_SYNTAX_BREQ2],
81663 + BFD_RELOC_AVR32_22H_PCREL, 1, 0,
81664 + {
81665 + &avr32_ifield_table[AVR32_IFIELD_K21],
81666 + },
81667 + },
81668 + {
81669 + AVR32_OPC_BRNE2, 4, 0xe0810000, 0xe1ef0000,
81670 + &avr32_syntax_table[AVR32_SYNTAX_BRNE2],
81671 + BFD_RELOC_AVR32_22H_PCREL, 1, 0,
81672 + {
81673 + &avr32_ifield_table[AVR32_IFIELD_K21],
81674 + },
81675 + },
81676 + {
81677 + AVR32_OPC_BRCC2, 4, 0xe0820000, 0xe1ef0000,
81678 + &avr32_syntax_table[AVR32_SYNTAX_BRHS2],
81679 + BFD_RELOC_AVR32_22H_PCREL, 1, 0,
81680 + {
81681 + &avr32_ifield_table[AVR32_IFIELD_K21],
81682 + },
81683 + },
81684 + {
81685 + AVR32_OPC_BRCS2, 4, 0xe0830000, 0xe1ef0000,
81686 + &avr32_syntax_table[AVR32_SYNTAX_BRLO2],
81687 + BFD_RELOC_AVR32_22H_PCREL, 1, 0,
81688 + {
81689 + &avr32_ifield_table[AVR32_IFIELD_K21],
81690 + },
81691 + },
81692 + {
81693 + AVR32_OPC_BRGE2, 4, 0xe0840000, 0xe1ef0000,
81694 + &avr32_syntax_table[AVR32_SYNTAX_BRGE2],
81695 + BFD_RELOC_AVR32_22H_PCREL, 1, 0,
81696 + {
81697 + &avr32_ifield_table[AVR32_IFIELD_K21],
81698 + },
81699 + },
81700 + {
81701 + AVR32_OPC_BRLT2, 4, 0xe0850000, 0xe1ef0000,
81702 + &avr32_syntax_table[AVR32_SYNTAX_BRLT2],
81703 + BFD_RELOC_AVR32_22H_PCREL, 1, 0,
81704 + {
81705 + &avr32_ifield_table[AVR32_IFIELD_K21],
81706 + },
81707 + },
81708 + {
81709 + AVR32_OPC_BRMI2, 4, 0xe0860000, 0xe1ef0000,
81710 + &avr32_syntax_table[AVR32_SYNTAX_BRMI2],
81711 + BFD_RELOC_AVR32_22H_PCREL, 1, 0,
81712 + {
81713 + &avr32_ifield_table[AVR32_IFIELD_K21],
81714 + },
81715 + },
81716 + {
81717 + AVR32_OPC_BRPL2, 4, 0xe0870000, 0xe1ef0000,
81718 + &avr32_syntax_table[AVR32_SYNTAX_BRPL2],
81719 + BFD_RELOC_AVR32_22H_PCREL, 1, 0,
81720 + {
81721 + &avr32_ifield_table[AVR32_IFIELD_K21],
81722 + },
81723 + },
81724 + {
81725 + AVR32_OPC_BRLS, 4, 0xe0880000, 0xe1ef0000,
81726 + &avr32_syntax_table[AVR32_SYNTAX_BRLS],
81727 + BFD_RELOC_AVR32_22H_PCREL, 1, 0,
81728 + {
81729 + &avr32_ifield_table[AVR32_IFIELD_K21],
81730 + },
81731 + },
81732 + {
81733 + AVR32_OPC_BRGT, 4, 0xe0890000, 0xe1ef0000,
81734 + &avr32_syntax_table[AVR32_SYNTAX_BRGT],
81735 + BFD_RELOC_AVR32_22H_PCREL, 1, 0,
81736 + {
81737 + &avr32_ifield_table[AVR32_IFIELD_K21],
81738 + },
81739 + },
81740 + {
81741 + AVR32_OPC_BRLE, 4, 0xe08a0000, 0xe1ef0000,
81742 + &avr32_syntax_table[AVR32_SYNTAX_BRLE],
81743 + BFD_RELOC_AVR32_22H_PCREL, 1, 0,
81744 + {
81745 + &avr32_ifield_table[AVR32_IFIELD_K21],
81746 + },
81747 + },
81748 + {
81749 + AVR32_OPC_BRHI, 4, 0xe08b0000, 0xe1ef0000,
81750 + &avr32_syntax_table[AVR32_SYNTAX_BRHI],
81751 + BFD_RELOC_AVR32_22H_PCREL, 1, 0,
81752 + {
81753 + &avr32_ifield_table[AVR32_IFIELD_K21],
81754 + },
81755 + },
81756 + {
81757 + AVR32_OPC_BRVS, 4, 0xe08c0000, 0xe1ef0000,
81758 + &avr32_syntax_table[AVR32_SYNTAX_BRVS],
81759 + BFD_RELOC_AVR32_22H_PCREL, 1, 0,
81760 + {
81761 + &avr32_ifield_table[AVR32_IFIELD_K21],
81762 + },
81763 + },
81764 + {
81765 + AVR32_OPC_BRVC, 4, 0xe08d0000, 0xe1ef0000,
81766 + &avr32_syntax_table[AVR32_SYNTAX_BRVC],
81767 + BFD_RELOC_AVR32_22H_PCREL, 1, 0,
81768 + {
81769 + &avr32_ifield_table[AVR32_IFIELD_K21],
81770 + },
81771 + },
81772 + {
81773 + AVR32_OPC_BRQS, 4, 0xe08e0000, 0xe1ef0000,
81774 + &avr32_syntax_table[AVR32_SYNTAX_BRQS],
81775 + BFD_RELOC_AVR32_22H_PCREL, 1, 0,
81776 + {
81777 + &avr32_ifield_table[AVR32_IFIELD_K21],
81778 + },
81779 + },
81780 + {
81781 + AVR32_OPC_BRAL, 4, 0xe08f0000, 0xe1ef0000,
81782 + &avr32_syntax_table[AVR32_SYNTAX_BRAL],
81783 + BFD_RELOC_AVR32_22H_PCREL, 1, 0,
81784 + {
81785 + &avr32_ifield_table[AVR32_IFIELD_K21],
81786 + },
81787 + },
81788 + {
81789 + AVR32_OPC_BREAKPOINT, 2, 0xd6730000, 0xffff0000,
81790 + &avr32_syntax_table[AVR32_SYNTAX_BREAKPOINT],
81791 + BFD_RELOC_UNUSED, 0, -1, { NULL },
81792 + },
81793 + {
81794 + AVR32_OPC_BREV, 2, 0x5c900000, 0xfff00000,
81795 + &avr32_syntax_table[AVR32_SYNTAX_BREV],
81796 + BFD_RELOC_UNUSED, 1, -1,
81797 + {
81798 + &avr32_ifield_table[AVR32_IFIELD_RY],
81799 + },
81800 + },
81801 + {
81802 + AVR32_OPC_BST, 4, 0xefb00000, 0xfff0ffe0,
81803 + &avr32_syntax_table[AVR32_SYNTAX_BST],
81804 + BFD_RELOC_UNUSED, 2, -1,
81805 + {
81806 + &avr32_ifield_table[AVR32_IFIELD_RY],
81807 + &avr32_ifield_table[AVR32_IFIELD_K5E],
81808 + },
81809 + },
81810 + {
81811 + AVR32_OPC_CACHE, 4, 0xf4100000, 0xfff00000,
81812 + &avr32_syntax_table[AVR32_SYNTAX_CACHE],
81813 + BFD_RELOC_UNUSED, 3, -1,
81814 + {
81815 + &avr32_ifield_table[AVR32_IFIELD_RY],
81816 + &avr32_ifield_table[AVR32_IFIELD_K11],
81817 + &avr32_ifield_table[AVR32_IFIELD_CACHEOP],
81818 + },
81819 + },
81820 + {
81821 + AVR32_OPC_CASTS_B, 2, 0x5c600000, 0xfff00000,
81822 + &avr32_syntax_table[AVR32_SYNTAX_CASTS_B],
81823 + BFD_RELOC_UNUSED, 1, -1,
81824 + {
81825 + &avr32_ifield_table[AVR32_IFIELD_RY],
81826 + },
81827 + },
81828 + {
81829 + AVR32_OPC_CASTS_H, 2, 0x5c800000, 0xfff00000,
81830 + &avr32_syntax_table[AVR32_SYNTAX_CASTS_H],
81831 + BFD_RELOC_UNUSED, 1, -1,
81832 + {
81833 + &avr32_ifield_table[AVR32_IFIELD_RY],
81834 + },
81835 + },
81836 + {
81837 + AVR32_OPC_CASTU_B, 2, 0x5c500000, 0xfff00000,
81838 + &avr32_syntax_table[AVR32_SYNTAX_CASTU_B],
81839 + BFD_RELOC_UNUSED, 1, -1,
81840 + {
81841 + &avr32_ifield_table[AVR32_IFIELD_RY],
81842 + },
81843 + },
81844 + {
81845 + AVR32_OPC_CASTU_H, 2, 0x5c700000, 0xfff00000,
81846 + &avr32_syntax_table[AVR32_SYNTAX_CASTU_H],
81847 + BFD_RELOC_UNUSED, 1, -1,
81848 + {
81849 + &avr32_ifield_table[AVR32_IFIELD_RY],
81850 + },
81851 + },
81852 + {
81853 + AVR32_OPC_CBR, 2, 0xa1c00000, 0xe1e00000,
81854 + &avr32_syntax_table[AVR32_SYNTAX_CBR],
81855 + BFD_RELOC_UNUSED, 2, -1,
81856 + {
81857 + &avr32_ifield_table[AVR32_IFIELD_RY],
81858 + &avr32_ifield_table[AVR32_IFIELD_BIT5C],
81859 + },
81860 + },
81861 + {
81862 + AVR32_OPC_CLZ, 4, 0xe0001200, 0xe1f0ffff,
81863 + &avr32_syntax_table[AVR32_SYNTAX_CLZ],
81864 + BFD_RELOC_UNUSED, 2, -1,
81865 + {
81866 + &avr32_ifield_table[AVR32_IFIELD_RY],
81867 + &avr32_ifield_table[AVR32_IFIELD_RX],
81868 + },
81869 + },
81870 + {
81871 + AVR32_OPC_COM, 2, 0x5cd00000, 0xfff00000,
81872 + &avr32_syntax_table[AVR32_SYNTAX_COM],
81873 + BFD_RELOC_UNUSED, 1, -1,
81874 + {
81875 + &avr32_ifield_table[AVR32_IFIELD_RY],
81876 + },
81877 + },
81878 + {
81879 + AVR32_OPC_COP, 4, 0xe1a00000, 0xf9f00000,
81880 + &avr32_syntax_table[AVR32_SYNTAX_COP],
81881 + BFD_RELOC_UNUSED, 5, -1,
81882 + {
81883 + &avr32_ifield_table[AVR32_IFIELD_CPNO],
81884 + &avr32_ifield_table[AVR32_IFIELD_CRD_RI],
81885 + &avr32_ifield_table[AVR32_IFIELD_CRX],
81886 + &avr32_ifield_table[AVR32_IFIELD_CRY],
81887 + &avr32_ifield_table[AVR32_IFIELD_CPOP],
81888 + },
81889 + },
81890 + {
81891 + AVR32_OPC_CP_B, 4, 0xe0001800, 0xe1f0ffff,
81892 + &avr32_syntax_table[AVR32_SYNTAX_CP_B],
81893 + BFD_RELOC_UNUSED, 2, -1,
81894 + {
81895 + &avr32_ifield_table[AVR32_IFIELD_RY],
81896 + &avr32_ifield_table[AVR32_IFIELD_RX],
81897 + },
81898 + },
81899 + {
81900 + AVR32_OPC_CP_H, 4, 0xe0001900, 0xe1f0ffff,
81901 + &avr32_syntax_table[AVR32_SYNTAX_CP_H],
81902 + BFD_RELOC_UNUSED, 2, -1,
81903 + {
81904 + &avr32_ifield_table[AVR32_IFIELD_RY],
81905 + &avr32_ifield_table[AVR32_IFIELD_RX],
81906 + },
81907 + },
81908 + {
81909 + AVR32_OPC_CP_W1, 2, 0x00300000, 0xe1f00000,
81910 + &avr32_syntax_table[AVR32_SYNTAX_CP_W1],
81911 + BFD_RELOC_UNUSED, 2, -1,
81912 + {
81913 + &avr32_ifield_table[AVR32_IFIELD_RY],
81914 + &avr32_ifield_table[AVR32_IFIELD_RX],
81915 + },
81916 + },
81917 + {
81918 + AVR32_OPC_CP_W2, 2, 0x58000000, 0xfc000000,
81919 + &avr32_syntax_table[AVR32_SYNTAX_CP_W2],
81920 + BFD_RELOC_AVR32_6S, 2, 1,
81921 + {
81922 + &avr32_ifield_table[AVR32_IFIELD_RY],
81923 + &avr32_ifield_table[AVR32_IFIELD_K6],
81924 + },
81925 + },
81926 + {
81927 + AVR32_OPC_CP_W3, 4, 0xe0400000, 0xe1e00000,
81928 + &avr32_syntax_table[AVR32_SYNTAX_CP_W3],
81929 + BFD_RELOC_AVR32_21S, 2, 1,
81930 + {
81931 + &avr32_ifield_table[AVR32_IFIELD_RY],
81932 + &avr32_ifield_table[AVR32_IFIELD_K21],
81933 + },
81934 + },
81935 + {
81936 + AVR32_OPC_CPC1, 4, 0xe0001300, 0xe1f0ffff,
81937 + &avr32_syntax_table[AVR32_SYNTAX_CPC1],
81938 + BFD_RELOC_UNUSED, 2, -1,
81939 + {
81940 + &avr32_ifield_table[AVR32_IFIELD_RY],
81941 + &avr32_ifield_table[AVR32_IFIELD_RX],
81942 + },
81943 + },
81944 + {
81945 + AVR32_OPC_CPC2, 2, 0x5c200000, 0xfff00000,
81946 + &avr32_syntax_table[AVR32_SYNTAX_CPC2],
81947 + BFD_RELOC_UNUSED, 1, -1,
81948 + {
81949 + &avr32_ifield_table[AVR32_IFIELD_RY],
81950 + },
81951 + },
81952 + {
81953 + AVR32_OPC_CSRF, 2, 0xd4030000, 0xfe0f0000,
81954 + &avr32_syntax_table[AVR32_SYNTAX_CSRF],
81955 + BFD_RELOC_UNUSED, 1, -1,
81956 + {
81957 + &avr32_ifield_table[AVR32_IFIELD_K5C],
81958 + },
81959 + },
81960 + {
81961 + AVR32_OPC_CSRFCZ, 2, 0xd0030000, 0xfe0f0000,
81962 + &avr32_syntax_table[AVR32_SYNTAX_CSRFCZ],
81963 + BFD_RELOC_UNUSED, 1, -1,
81964 + {
81965 + &avr32_ifield_table[AVR32_IFIELD_K5C],
81966 + },
81967 + },
81968 + {
81969 + AVR32_OPC_DIVS, 4, 0xe0000c00, 0xe1f0ffc0,
81970 + &avr32_syntax_table[AVR32_SYNTAX_DIVS],
81971 + BFD_RELOC_UNUSED, 3, -1,
81972 + {
81973 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
81974 + &avr32_ifield_table[AVR32_IFIELD_RX],
81975 + &avr32_ifield_table[AVR32_IFIELD_RY],
81976 + },
81977 + },
81978 + {
81979 + AVR32_OPC_DIVU, 4, 0xe0000d00, 0xe1f0ffc0,
81980 + &avr32_syntax_table[AVR32_SYNTAX_DIVU],
81981 + BFD_RELOC_UNUSED, 3, -1,
81982 + {
81983 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
81984 + &avr32_ifield_table[AVR32_IFIELD_RX],
81985 + &avr32_ifield_table[AVR32_IFIELD_RY],
81986 + },
81987 + },
81988 + {
81989 + AVR32_OPC_EOR1, 2, 0x00500000, 0xe1f00000,
81990 + &avr32_syntax_table[AVR32_SYNTAX_EOR1],
81991 + BFD_RELOC_UNUSED, 2, -1,
81992 + {
81993 + &avr32_ifield_table[AVR32_IFIELD_RY],
81994 + &avr32_ifield_table[AVR32_IFIELD_RX],
81995 + },
81996 + },
81997 + {
81998 + AVR32_OPC_EOR2, 4, 0xe1e02000, 0xe1f0fe00,
81999 + &avr32_syntax_table[AVR32_SYNTAX_EOR2],
82000 + BFD_RELOC_UNUSED, 4, -1,
82001 + {
82002 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
82003 + &avr32_ifield_table[AVR32_IFIELD_RX],
82004 + &avr32_ifield_table[AVR32_IFIELD_RY],
82005 + &avr32_ifield_table[AVR32_IFIELD_K5E2],
82006 + }
82007 + },
82008 + {
82009 + AVR32_OPC_EOR3, 4, 0xe1e02200, 0xe1f0fe00,
82010 + &avr32_syntax_table[AVR32_SYNTAX_EOR3],
82011 + BFD_RELOC_UNUSED, 4, -1,
82012 + {
82013 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
82014 + &avr32_ifield_table[AVR32_IFIELD_RX],
82015 + &avr32_ifield_table[AVR32_IFIELD_RY],
82016 + &avr32_ifield_table[AVR32_IFIELD_K5E2],
82017 + }
82018 + },
82019 + {
82020 + AVR32_OPC_EORL, 4, 0xec100000, 0xfff00000,
82021 + &avr32_syntax_table[AVR32_SYNTAX_EORL],
82022 + BFD_RELOC_AVR32_16U, 2, 1,
82023 + {
82024 + &avr32_ifield_table[AVR32_IFIELD_RY],
82025 + &avr32_ifield_table[AVR32_IFIELD_K16],
82026 + },
82027 + },
82028 + {
82029 + AVR32_OPC_EORH, 4, 0xee100000, 0xfff00000,
82030 + &avr32_syntax_table[AVR32_SYNTAX_EORH],
82031 + BFD_RELOC_AVR32_16U, 2, 1,
82032 + {
82033 + &avr32_ifield_table[AVR32_IFIELD_RY],
82034 + &avr32_ifield_table[AVR32_IFIELD_K16],
82035 + },
82036 + },
82037 + {
82038 + AVR32_OPC_FRS, 2, 0xd7430000, 0xffff0000,
82039 + &avr32_syntax_table[AVR32_SYNTAX_FRS],
82040 + BFD_RELOC_UNUSED, 0, -1, { NULL },
82041 + },
82042 + {
82043 + AVR32_OPC_ICALL, 2, 0x5d100000, 0xfff00000,
82044 + &avr32_syntax_table[AVR32_SYNTAX_ICALL],
82045 + BFD_RELOC_UNUSED, 1, -1,
82046 + {
82047 + &avr32_ifield_table[AVR32_IFIELD_RY],
82048 + },
82049 + },
82050 + {
82051 + AVR32_OPC_INCJOSP, 2, 0xd6830000, 0xff8f0000,
82052 + &avr32_syntax_table[AVR32_SYNTAX_INCJOSP],
82053 + BFD_RELOC_UNUSED, 1, -1,
82054 + {
82055 + &avr32_ifield_table[AVR32_IFIELD_K3],
82056 + },
82057 + },
82058 + {
82059 + AVR32_OPC_LD_D1, 2, 0xa1010000, 0xe1f10000,
82060 + &avr32_syntax_table[AVR32_SYNTAX_LD_D1],
82061 + BFD_RELOC_UNUSED, 2, -1,
82062 + {
82063 + &avr32_ifield_table[AVR32_IFIELD_RY_DW],
82064 + &avr32_ifield_table[AVR32_IFIELD_RX],
82065 + },
82066 + },
82067 + {
82068 + AVR32_OPC_LD_D2, 2, 0xa1100000, 0xe1f10000,
82069 + &avr32_syntax_table[AVR32_SYNTAX_LD_D2],
82070 + BFD_RELOC_UNUSED, 2, -1,
82071 + {
82072 + &avr32_ifield_table[AVR32_IFIELD_RY_DW],
82073 + &avr32_ifield_table[AVR32_IFIELD_RX],
82074 + },
82075 + },
82076 + {
82077 + AVR32_OPC_LD_D3, 2, 0xa1000000, 0xe1f10000,
82078 + &avr32_syntax_table[AVR32_SYNTAX_LD_D3],
82079 + BFD_RELOC_UNUSED, 2, -1,
82080 + {
82081 + &avr32_ifield_table[AVR32_IFIELD_RY_DW],
82082 + &avr32_ifield_table[AVR32_IFIELD_RX],
82083 + },
82084 + },
82085 + {
82086 + AVR32_OPC_LD_D5, 4, 0xe0000200, 0xe1f0ffc1,
82087 + &avr32_syntax_table[AVR32_SYNTAX_LD_D5],
82088 + BFD_RELOC_UNUSED, 4, -1,
82089 + {
82090 + &avr32_ifield_table[AVR32_IFIELD_RD_DW],
82091 + &avr32_ifield_table[AVR32_IFIELD_RX],
82092 + &avr32_ifield_table[AVR32_IFIELD_RY],
82093 + &avr32_ifield_table[AVR32_IFIELD_K2],
82094 + },
82095 + },
82096 + {
82097 + AVR32_OPC_LD_D4, 4, 0xe0e00000, 0xe1f10000,
82098 + &avr32_syntax_table[AVR32_SYNTAX_LD_D4],
82099 + BFD_RELOC_AVR32_16S, 3, 2,
82100 + {
82101 + &avr32_ifield_table[AVR32_IFIELD_RY_DW],
82102 + &avr32_ifield_table[AVR32_IFIELD_RX],
82103 + &avr32_ifield_table[AVR32_IFIELD_K16],
82104 + },
82105 + },
82106 + {
82107 + AVR32_OPC_LD_SB2, 4, 0xe0000600, 0xe1f0ffc0,
82108 + &avr32_syntax_table[AVR32_SYNTAX_LD_SB2],
82109 + BFD_RELOC_UNUSED, 4, -1,
82110 + {
82111 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
82112 + &avr32_ifield_table[AVR32_IFIELD_RX],
82113 + &avr32_ifield_table[AVR32_IFIELD_RY],
82114 + &avr32_ifield_table[AVR32_IFIELD_K2],
82115 + },
82116 + },
82117 + {
82118 + AVR32_OPC_LD_SB1, 4, 0xe1200000, 0xe1f00000,
82119 + &avr32_syntax_table[AVR32_SYNTAX_LD_SB1],
82120 + BFD_RELOC_AVR32_16S, 3, -1,
82121 + {
82122 + &avr32_ifield_table[AVR32_IFIELD_RY],
82123 + &avr32_ifield_table[AVR32_IFIELD_RX],
82124 + &avr32_ifield_table[AVR32_IFIELD_K16],
82125 + },
82126 + },
82127 + {
82128 + AVR32_OPC_LD_UB1, 2, 0x01300000, 0xe1f00000,
82129 + &avr32_syntax_table[AVR32_SYNTAX_LD_UB1],
82130 + BFD_RELOC_UNUSED, 2, -1,
82131 + {
82132 + &avr32_ifield_table[AVR32_IFIELD_RY],
82133 + &avr32_ifield_table[AVR32_IFIELD_RX],
82134 + },
82135 + },
82136 + {
82137 + AVR32_OPC_LD_UB2, 2, 0x01700000, 0xe1f00000,
82138 + &avr32_syntax_table[AVR32_SYNTAX_LD_UB2],
82139 + BFD_RELOC_UNUSED, 2, -1,
82140 + {
82141 + &avr32_ifield_table[AVR32_IFIELD_RY],
82142 + &avr32_ifield_table[AVR32_IFIELD_RX],
82143 + },
82144 + },
82145 + {
82146 + AVR32_OPC_LD_UB5, 4, 0xe0000700, 0xe1f0ffc0,
82147 + &avr32_syntax_table[AVR32_SYNTAX_LD_UB5],
82148 + BFD_RELOC_UNUSED, 4, -1,
82149 + {
82150 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
82151 + &avr32_ifield_table[AVR32_IFIELD_RX],
82152 + &avr32_ifield_table[AVR32_IFIELD_RY],
82153 + &avr32_ifield_table[AVR32_IFIELD_K2],
82154 + },
82155 + },
82156 + {
82157 + AVR32_OPC_LD_UB3, 2, 0x01800000, 0xe1800000,
82158 + &avr32_syntax_table[AVR32_SYNTAX_LD_UB3],
82159 + BFD_RELOC_AVR32_3U, 3, 2,
82160 + {
82161 + &avr32_ifield_table[AVR32_IFIELD_RY],
82162 + &avr32_ifield_table[AVR32_IFIELD_RX],
82163 + &avr32_ifield_table[AVR32_IFIELD_K3],
82164 + },
82165 + },
82166 + {
82167 + AVR32_OPC_LD_UB4, 4, 0xe1300000, 0xe1f00000,
82168 + &avr32_syntax_table[AVR32_SYNTAX_LD_UB4],
82169 + BFD_RELOC_AVR32_16S, 3, 2,
82170 + {
82171 + &avr32_ifield_table[AVR32_IFIELD_RY],
82172 + &avr32_ifield_table[AVR32_IFIELD_RX],
82173 + &avr32_ifield_table[AVR32_IFIELD_K16],
82174 + },
82175 + },
82176 + {
82177 + AVR32_OPC_LD_SH1, 2, 0x01100000, 0xe1f00000,
82178 + &avr32_syntax_table[AVR32_SYNTAX_LD_SH1],
82179 + BFD_RELOC_UNUSED, 2, -1,
82180 + {
82181 + &avr32_ifield_table[AVR32_IFIELD_RY],
82182 + &avr32_ifield_table[AVR32_IFIELD_RX],
82183 + },
82184 + },
82185 + {
82186 + AVR32_OPC_LD_SH2, 2, 0x01500000, 0xe1f00000,
82187 + &avr32_syntax_table[AVR32_SYNTAX_LD_SH2],
82188 + BFD_RELOC_UNUSED, 2, -1,
82189 + {
82190 + &avr32_ifield_table[AVR32_IFIELD_RY],
82191 + &avr32_ifield_table[AVR32_IFIELD_RX],
82192 + },
82193 + },
82194 + {
82195 + AVR32_OPC_LD_SH5, 4, 0xe0000400, 0xe1f0ffc0,
82196 + &avr32_syntax_table[AVR32_SYNTAX_LD_SH5],
82197 + BFD_RELOC_UNUSED, 4, -1,
82198 + {
82199 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
82200 + &avr32_ifield_table[AVR32_IFIELD_RX],
82201 + &avr32_ifield_table[AVR32_IFIELD_RY],
82202 + &avr32_ifield_table[AVR32_IFIELD_K2],
82203 + },
82204 + },
82205 + {
82206 + AVR32_OPC_LD_SH3, 2, 0x80000000, 0xe1800000,
82207 + &avr32_syntax_table[AVR32_SYNTAX_LD_SH3],
82208 + BFD_RELOC_AVR32_4UH, 3, 2,
82209 + {
82210 + &avr32_ifield_table[AVR32_IFIELD_RY],
82211 + &avr32_ifield_table[AVR32_IFIELD_RX],
82212 + &avr32_ifield_table[AVR32_IFIELD_K3],
82213 + },
82214 + },
82215 + {
82216 + AVR32_OPC_LD_SH4, 4, 0xe1000000, 0xe1f00000,
82217 + &avr32_syntax_table[AVR32_SYNTAX_LD_SH4],
82218 + BFD_RELOC_AVR32_16S, 3, 2,
82219 + {
82220 + &avr32_ifield_table[AVR32_IFIELD_RY],
82221 + &avr32_ifield_table[AVR32_IFIELD_RX],
82222 + &avr32_ifield_table[AVR32_IFIELD_K16],
82223 + },
82224 + },
82225 + {
82226 + AVR32_OPC_LD_UH1, 2, 0x01200000, 0xe1f00000,
82227 + &avr32_syntax_table[AVR32_SYNTAX_LD_UH1],
82228 + BFD_RELOC_UNUSED, 2, -1,
82229 + {
82230 + &avr32_ifield_table[AVR32_IFIELD_RY],
82231 + &avr32_ifield_table[AVR32_IFIELD_RX],
82232 + },
82233 + },
82234 + {
82235 + AVR32_OPC_LD_UH2, 2, 0x01600000, 0xe1f00000,
82236 + &avr32_syntax_table[AVR32_SYNTAX_LD_UH2],
82237 + BFD_RELOC_UNUSED, 2, -1,
82238 + {
82239 + &avr32_ifield_table[AVR32_IFIELD_RY],
82240 + &avr32_ifield_table[AVR32_IFIELD_RX],
82241 + },
82242 + },
82243 + {
82244 + AVR32_OPC_LD_UH5, 4, 0xe0000500, 0xe1f0ffc0,
82245 + &avr32_syntax_table[AVR32_SYNTAX_LD_UH5],
82246 + BFD_RELOC_UNUSED, 4, -1,
82247 + {
82248 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
82249 + &avr32_ifield_table[AVR32_IFIELD_RX],
82250 + &avr32_ifield_table[AVR32_IFIELD_RY],
82251 + &avr32_ifield_table[AVR32_IFIELD_K2],
82252 + },
82253 + },
82254 + {
82255 + AVR32_OPC_LD_UH3, 2, 0x80800000, 0xe1800000,
82256 + &avr32_syntax_table[AVR32_SYNTAX_LD_UH3],
82257 + BFD_RELOC_AVR32_4UH, 3, 2,
82258 + {
82259 + &avr32_ifield_table[AVR32_IFIELD_RY],
82260 + &avr32_ifield_table[AVR32_IFIELD_RX],
82261 + &avr32_ifield_table[AVR32_IFIELD_K3],
82262 + },
82263 + },
82264 + {
82265 + AVR32_OPC_LD_UH4, 4, 0xe1100000, 0xe1f00000,
82266 + &avr32_syntax_table[AVR32_SYNTAX_LD_UH4],
82267 + BFD_RELOC_AVR32_16S, 3, 2,
82268 + {
82269 + &avr32_ifield_table[AVR32_IFIELD_RY],
82270 + &avr32_ifield_table[AVR32_IFIELD_RX],
82271 + &avr32_ifield_table[AVR32_IFIELD_K16],
82272 + },
82273 + },
82274 + {
82275 + AVR32_OPC_LD_W1, 2, 0x01000000, 0xe1f00000,
82276 + &avr32_syntax_table[AVR32_SYNTAX_LD_W1],
82277 + BFD_RELOC_UNUSED, 2, -1,
82278 + {
82279 + &avr32_ifield_table[AVR32_IFIELD_RY],
82280 + &avr32_ifield_table[AVR32_IFIELD_RX],
82281 + },
82282 + },
82283 + {
82284 + AVR32_OPC_LD_W2, 2, 0x01400000, 0xe1f00000,
82285 + &avr32_syntax_table[AVR32_SYNTAX_LD_W2],
82286 + BFD_RELOC_UNUSED, 2, -1,
82287 + {
82288 + &avr32_ifield_table[AVR32_IFIELD_RY],
82289 + &avr32_ifield_table[AVR32_IFIELD_RX],
82290 + },
82291 + },
82292 + {
82293 + AVR32_OPC_LD_W5, 4, 0xe0000300, 0xe1f0ffc0,
82294 + &avr32_syntax_table[AVR32_SYNTAX_LD_W5],
82295 + BFD_RELOC_UNUSED, 4, -1,
82296 + {
82297 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
82298 + &avr32_ifield_table[AVR32_IFIELD_RX],
82299 + &avr32_ifield_table[AVR32_IFIELD_RY],
82300 + &avr32_ifield_table[AVR32_IFIELD_K2],
82301 + },
82302 + },
82303 + {
82304 + AVR32_OPC_LD_W6, 4, 0xe0000f80, 0xe1f0ffc0,
82305 + &avr32_syntax_table[AVR32_SYNTAX_LD_W6],
82306 + BFD_RELOC_UNUSED, 4, -1,
82307 + {
82308 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
82309 + &avr32_ifield_table[AVR32_IFIELD_RX],
82310 + &avr32_ifield_table[AVR32_IFIELD_RY],
82311 + &avr32_ifield_table[AVR32_IFIELD_K2],
82312 + },
82313 + },
82314 + {
82315 + AVR32_OPC_LD_W3, 2, 0x60000000, 0xe0000000,
82316 + &avr32_syntax_table[AVR32_SYNTAX_LD_W3],
82317 + BFD_RELOC_AVR32_7UW, 3, 2,
82318 + {
82319 + &avr32_ifield_table[AVR32_IFIELD_RY],
82320 + &avr32_ifield_table[AVR32_IFIELD_RX],
82321 + &avr32_ifield_table[AVR32_IFIELD_K5C],
82322 + },
82323 + },
82324 + {
82325 + AVR32_OPC_LD_W4, 4, 0xe0f00000, 0xe1f00000,
82326 + &avr32_syntax_table[AVR32_SYNTAX_LD_W4],
82327 + BFD_RELOC_AVR32_16S, 3, 2,
82328 + {
82329 + &avr32_ifield_table[AVR32_IFIELD_RY],
82330 + &avr32_ifield_table[AVR32_IFIELD_RX],
82331 + &avr32_ifield_table[AVR32_IFIELD_K16],
82332 + },
82333 + },
82334 + {
82335 + AVR32_OPC_LDC_D1, 4, 0xe9a01000, 0xfff01100,
82336 + &avr32_syntax_table[AVR32_SYNTAX_LDC_D1],
82337 + BFD_RELOC_AVR32_10UW, 4, 3,
82338 + {
82339 + &avr32_ifield_table[AVR32_IFIELD_CPNO],
82340 + &avr32_ifield_table[AVR32_IFIELD_CRD_DW],
82341 + &avr32_ifield_table[AVR32_IFIELD_RY],
82342 + &avr32_ifield_table[AVR32_IFIELD_K8E],
82343 + },
82344 + },
82345 + {
82346 + AVR32_OPC_LDC_D2, 4, 0xefa00050, 0xfff011ff,
82347 + &avr32_syntax_table[AVR32_SYNTAX_LDC_D2],
82348 + BFD_RELOC_UNUSED, 3, -1,
82349 + {
82350 + &avr32_ifield_table[AVR32_IFIELD_CPNO],
82351 + &avr32_ifield_table[AVR32_IFIELD_CRD_DW],
82352 + &avr32_ifield_table[AVR32_IFIELD_RY],
82353 + },
82354 + },
82355 + {
82356 + AVR32_OPC_LDC_D3, 4, 0xefa01040, 0xfff011c0,
82357 + &avr32_syntax_table[AVR32_SYNTAX_LDC_D3],
82358 + BFD_RELOC_UNUSED, 5, -1,
82359 + {
82360 + &avr32_ifield_table[AVR32_IFIELD_CPNO],
82361 + &avr32_ifield_table[AVR32_IFIELD_CRD_DW],
82362 + &avr32_ifield_table[AVR32_IFIELD_RY],
82363 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
82364 + &avr32_ifield_table[AVR32_IFIELD_K2],
82365 + },
82366 + },
82367 + {
82368 + AVR32_OPC_LDC_W1, 4, 0xe9a00000, 0xfff01000,
82369 + &avr32_syntax_table[AVR32_SYNTAX_LDC_W1],
82370 + BFD_RELOC_AVR32_10UW, 4, 3,
82371 + {
82372 + &avr32_ifield_table[AVR32_IFIELD_CPNO],
82373 + &avr32_ifield_table[AVR32_IFIELD_CRD_RI],
82374 + &avr32_ifield_table[AVR32_IFIELD_RY],
82375 + &avr32_ifield_table[AVR32_IFIELD_K8E],
82376 + },
82377 + },
82378 + {
82379 + AVR32_OPC_LDC_W2, 4, 0xefa00040, 0xfff010ff,
82380 + &avr32_syntax_table[AVR32_SYNTAX_LDC_W2],
82381 + BFD_RELOC_UNUSED, 3, -1,
82382 + {
82383 + &avr32_ifield_table[AVR32_IFIELD_CPNO],
82384 + &avr32_ifield_table[AVR32_IFIELD_CRD_RI],
82385 + &avr32_ifield_table[AVR32_IFIELD_RY],
82386 + },
82387 + },
82388 + {
82389 + AVR32_OPC_LDC_W3, 4, 0xefa01000, 0xfff010c0,
82390 + &avr32_syntax_table[AVR32_SYNTAX_LDC_W3],
82391 + BFD_RELOC_UNUSED, 5, -1,
82392 + {
82393 + &avr32_ifield_table[AVR32_IFIELD_CPNO],
82394 + &avr32_ifield_table[AVR32_IFIELD_CRD_RI],
82395 + &avr32_ifield_table[AVR32_IFIELD_RY],
82396 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
82397 + &avr32_ifield_table[AVR32_IFIELD_K2],
82398 + },
82399 + },
82400 + {
82401 + AVR32_OPC_LDC0_D, 4, 0xf3a00000, 0xfff00100,
82402 + &avr32_syntax_table[AVR32_SYNTAX_LDC0_D],
82403 + BFD_RELOC_AVR32_14UW, 3, 2,
82404 + {
82405 + &avr32_ifield_table[AVR32_IFIELD_CRD_DW],
82406 + &avr32_ifield_table[AVR32_IFIELD_RY],
82407 + &avr32_ifield_table[AVR32_IFIELD_K12CP],
82408 + },
82409 + },
82410 + {
82411 + AVR32_OPC_LDC0_W, 4, 0xf1a00000, 0xfff00000,
82412 + &avr32_syntax_table[AVR32_SYNTAX_LDC0_W],
82413 + BFD_RELOC_AVR32_14UW, 3, 2,
82414 + {
82415 + &avr32_ifield_table[AVR32_IFIELD_CRD_RI],
82416 + &avr32_ifield_table[AVR32_IFIELD_RY],
82417 + &avr32_ifield_table[AVR32_IFIELD_K12CP],
82418 + },
82419 + },
82420 + {
82421 + AVR32_OPC_LDCM_D, 4, 0xeda00400, 0xfff01f00,
82422 + &avr32_syntax_table[AVR32_SYNTAX_LDCM_D],
82423 + BFD_RELOC_UNUSED, 3, -1,
82424 + {
82425 + &avr32_ifield_table[AVR32_IFIELD_CPNO],
82426 + &avr32_ifield_table[AVR32_IFIELD_RY],
82427 + &avr32_ifield_table[AVR32_IFIELD_K8E],
82428 + },
82429 + },
82430 + {
82431 + AVR32_OPC_LDCM_D_PU, 4, 0xeda01400, 0xfff01f00,
82432 + &avr32_syntax_table[AVR32_SYNTAX_LDCM_D_PU],
82433 + BFD_RELOC_UNUSED, 3, -1,
82434 + {
82435 + &avr32_ifield_table[AVR32_IFIELD_CPNO],
82436 + &avr32_ifield_table[AVR32_IFIELD_RY],
82437 + &avr32_ifield_table[AVR32_IFIELD_K8E],
82438 + },
82439 + },
82440 + {
82441 + AVR32_OPC_LDCM_W, 4, 0xeda00000, 0xfff01e00,
82442 + &avr32_syntax_table[AVR32_SYNTAX_LDCM_W],
82443 + BFD_RELOC_UNUSED, 4, -1,
82444 + {
82445 + &avr32_ifield_table[AVR32_IFIELD_CPNO],
82446 + &avr32_ifield_table[AVR32_IFIELD_RY],
82447 + &avr32_ifield_table[AVR32_IFIELD_K8E],
82448 + &avr32_ifield_table[AVR32_IFIELD_CM_HL],
82449 + },
82450 + },
82451 + {
82452 + AVR32_OPC_LDCM_W_PU, 4, 0xeda01000, 0xfff01e00,
82453 + &avr32_syntax_table[AVR32_SYNTAX_LDCM_W_PU],
82454 + BFD_RELOC_UNUSED, 4, -1,
82455 + {
82456 + &avr32_ifield_table[AVR32_IFIELD_CPNO],
82457 + &avr32_ifield_table[AVR32_IFIELD_RY],
82458 + &avr32_ifield_table[AVR32_IFIELD_K8E],
82459 + &avr32_ifield_table[AVR32_IFIELD_CM_HL],
82460 + },
82461 + },
82462 + {
82463 + AVR32_OPC_LDDPC, 2, 0x48000000, 0xf8000000,
82464 + &avr32_syntax_table[AVR32_SYNTAX_LDDPC],
82465 + BFD_RELOC_AVR32_9UW_PCREL, 2, 1,
82466 + {
82467 + &avr32_ifield_table[AVR32_IFIELD_RY],
82468 + &avr32_ifield_table[AVR32_IFIELD_K7C],
82469 + },
82470 + },
82471 + {
82472 + AVR32_OPC_LDDPC_EXT, 4, 0xfef00000, 0xfff00000,
82473 + &avr32_syntax_table[AVR32_SYNTAX_LDDPC_EXT],
82474 + BFD_RELOC_AVR32_16B_PCREL, 2, 1,
82475 + {
82476 + &avr32_ifield_table[AVR32_IFIELD_RY],
82477 + &avr32_ifield_table[AVR32_IFIELD_K16],
82478 + },
82479 + },
82480 + {
82481 + AVR32_OPC_LDDSP, 2, 0x40000000, 0xf8000000,
82482 + &avr32_syntax_table[AVR32_SYNTAX_LDDSP],
82483 + BFD_RELOC_UNUSED, 2, -1,
82484 + {
82485 + &avr32_ifield_table[AVR32_IFIELD_RY],
82486 + &avr32_ifield_table[AVR32_IFIELD_K7C],
82487 + },
82488 + },
82489 + {
82490 + AVR32_OPC_LDINS_B, 4, 0xe1d04000, 0xe1f0c000,
82491 + &avr32_syntax_table[AVR32_SYNTAX_LDINS_B],
82492 + BFD_RELOC_UNUSED, 4, -1,
82493 + {
82494 + &avr32_ifield_table[AVR32_IFIELD_RY],
82495 + &avr32_ifield_table[AVR32_IFIELD_PART2_K12],
82496 + &avr32_ifield_table[AVR32_IFIELD_RX],
82497 + &avr32_ifield_table[AVR32_IFIELD_K12],
82498 + },
82499 + },
82500 + {
82501 + AVR32_OPC_LDINS_H, 4, 0xe1d00000, 0xe1f0e000,
82502 + &avr32_syntax_table[AVR32_SYNTAX_LDINS_H],
82503 + BFD_RELOC_UNUSED, 4, -1,
82504 + {
82505 + &avr32_ifield_table[AVR32_IFIELD_RY],
82506 + &avr32_ifield_table[AVR32_IFIELD_PART1_K12],
82507 + &avr32_ifield_table[AVR32_IFIELD_RX],
82508 + &avr32_ifield_table[AVR32_IFIELD_K12],
82509 + },
82510 + },
82511 + {
82512 + AVR32_OPC_LDM, 4, 0xe1c00000, 0xfdf00000,
82513 + &avr32_syntax_table[AVR32_SYNTAX_LDM],
82514 + BFD_RELOC_UNUSED, 3, -1,
82515 + {
82516 + &avr32_ifield_table[AVR32_IFIELD_RY],
82517 + &avr32_ifield_table[AVR32_IFIELD_W],
82518 + &avr32_ifield_table[AVR32_IFIELD_K16],
82519 + },
82520 + },
82521 + {
82522 + AVR32_OPC_LDMTS, 4, 0xe5c00000, 0xfff00000,
82523 + &avr32_syntax_table[AVR32_SYNTAX_LDMTS],
82524 + BFD_RELOC_UNUSED, 2, -1,
82525 + {
82526 + &avr32_ifield_table[AVR32_IFIELD_RY],
82527 + &avr32_ifield_table[AVR32_IFIELD_K16],
82528 + },
82529 + },
82530 + {
82531 + AVR32_OPC_LDMTS_PU, 4, 0xe7c00000, 0xfff00000,
82532 + &avr32_syntax_table[AVR32_SYNTAX_LDMTS_PU],
82533 + BFD_RELOC_UNUSED, 2, -1,
82534 + {
82535 + &avr32_ifield_table[AVR32_IFIELD_RY],
82536 + &avr32_ifield_table[AVR32_IFIELD_K16],
82537 + },
82538 + },
82539 + {
82540 + AVR32_OPC_LDSWP_SH, 4, 0xe1d02000, 0xe1f0f000,
82541 + &avr32_syntax_table[AVR32_SYNTAX_LDSWP_SH],
82542 + BFD_RELOC_UNUSED, 3, -1,
82543 + {
82544 + &avr32_ifield_table[AVR32_IFIELD_RY],
82545 + &avr32_ifield_table[AVR32_IFIELD_RX],
82546 + &avr32_ifield_table[AVR32_IFIELD_K12],
82547 + },
82548 + },
82549 + {
82550 + AVR32_OPC_LDSWP_UH, 4, 0xe1d03000, 0xe1f0f000,
82551 + &avr32_syntax_table[AVR32_SYNTAX_LDSWP_UH],
82552 + BFD_RELOC_UNUSED, 3, -1,
82553 + {
82554 + &avr32_ifield_table[AVR32_IFIELD_RY],
82555 + &avr32_ifield_table[AVR32_IFIELD_RX],
82556 + &avr32_ifield_table[AVR32_IFIELD_K12],
82557 + },
82558 + },
82559 + {
82560 + AVR32_OPC_LDSWP_W, 4, 0xe1d08000, 0xe1f0f000,
82561 + &avr32_syntax_table[AVR32_SYNTAX_LDSWP_W],
82562 + BFD_RELOC_UNUSED, 3, -1,
82563 + {
82564 + &avr32_ifield_table[AVR32_IFIELD_RY],
82565 + &avr32_ifield_table[AVR32_IFIELD_RX],
82566 + &avr32_ifield_table[AVR32_IFIELD_K12],
82567 + },
82568 + },
82569 + {
82570 + AVR32_OPC_LSL1, 4, 0xe0000940, 0xe1f0fff0,
82571 + &avr32_syntax_table[AVR32_SYNTAX_LSL1],
82572 + BFD_RELOC_UNUSED, 3, -1,
82573 + {
82574 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
82575 + &avr32_ifield_table[AVR32_IFIELD_RX],
82576 + &avr32_ifield_table[AVR32_IFIELD_RY],
82577 + },
82578 + },
82579 + {
82580 + AVR32_OPC_LSL3, 4, 0xe0001500, 0xe1f0ffe0,
82581 + &avr32_syntax_table[AVR32_SYNTAX_LSL3],
82582 + BFD_RELOC_UNUSED, 3, -1,
82583 + {
82584 + &avr32_ifield_table[AVR32_IFIELD_RY],
82585 + &avr32_ifield_table[AVR32_IFIELD_RX],
82586 + &avr32_ifield_table[AVR32_IFIELD_K5E],
82587 + },
82588 + },
82589 + {
82590 + AVR32_OPC_LSL2, 2, 0xa1600000, 0xe1e00000,
82591 + &avr32_syntax_table[AVR32_SYNTAX_LSL2],
82592 + BFD_RELOC_UNUSED, 2, -1,
82593 + {
82594 + &avr32_ifield_table[AVR32_IFIELD_RY],
82595 + &avr32_ifield_table[AVR32_IFIELD_BIT5C],
82596 + },
82597 + },
82598 + {
82599 + AVR32_OPC_LSR1, 4, 0xe0000a40, 0xe1f0fff0,
82600 + &avr32_syntax_table[AVR32_SYNTAX_LSR1],
82601 + BFD_RELOC_UNUSED, 3, -1,
82602 + {
82603 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
82604 + &avr32_ifield_table[AVR32_IFIELD_RX],
82605 + &avr32_ifield_table[AVR32_IFIELD_RY],
82606 + },
82607 + },
82608 + {
82609 + AVR32_OPC_LSR3, 4, 0xe0001600, 0xe1f0ffe0,
82610 + &avr32_syntax_table[AVR32_SYNTAX_LSR3],
82611 + BFD_RELOC_UNUSED, 3, -1,
82612 + {
82613 + &avr32_ifield_table[AVR32_IFIELD_RY],
82614 + &avr32_ifield_table[AVR32_IFIELD_RX],
82615 + &avr32_ifield_table[AVR32_IFIELD_K5E],
82616 + },
82617 + },
82618 + {
82619 + AVR32_OPC_LSR2, 2, 0xa1800000, 0xe1e00000,
82620 + &avr32_syntax_table[AVR32_SYNTAX_LSR2],
82621 + BFD_RELOC_UNUSED, 2, -1,
82622 + {
82623 + &avr32_ifield_table[AVR32_IFIELD_RY],
82624 + &avr32_ifield_table[AVR32_IFIELD_BIT5C],
82625 + },
82626 + },
82627 + {
82628 + AVR32_OPC_MAC, 4, 0xe0000340, 0xe1f0fff0,
82629 + &avr32_syntax_table[AVR32_SYNTAX_MAC],
82630 + BFD_RELOC_UNUSED, 3, -1,
82631 + {
82632 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
82633 + &avr32_ifield_table[AVR32_IFIELD_RX],
82634 + &avr32_ifield_table[AVR32_IFIELD_RY],
82635 + },
82636 + },
82637 + {
82638 + AVR32_OPC_MACHH_D, 4, 0xe0000580, 0xe1f0ffc1,
82639 + &avr32_syntax_table[AVR32_SYNTAX_MACHH_D],
82640 + BFD_RELOC_UNUSED, 5, -1,
82641 + {
82642 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
82643 + &avr32_ifield_table[AVR32_IFIELD_RX],
82644 + &avr32_ifield_table[AVR32_IFIELD_X],
82645 + &avr32_ifield_table[AVR32_IFIELD_RY],
82646 + &avr32_ifield_table[AVR32_IFIELD_Y],
82647 + },
82648 + },
82649 + {
82650 + AVR32_OPC_MACHH_W, 4, 0xe0000480, 0xe1f0ffc0,
82651 + &avr32_syntax_table[AVR32_SYNTAX_MACHH_W],
82652 + BFD_RELOC_UNUSED, 5, -1,
82653 + {
82654 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
82655 + &avr32_ifield_table[AVR32_IFIELD_RX],
82656 + &avr32_ifield_table[AVR32_IFIELD_X],
82657 + &avr32_ifield_table[AVR32_IFIELD_RY],
82658 + &avr32_ifield_table[AVR32_IFIELD_Y],
82659 + },
82660 + },
82661 + {
82662 + AVR32_OPC_MACS_D, 4, 0xe0000540, 0xe1f0fff1,
82663 + &avr32_syntax_table[AVR32_SYNTAX_MACS_D],
82664 + BFD_RELOC_UNUSED, 3, -1,
82665 + {
82666 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
82667 + &avr32_ifield_table[AVR32_IFIELD_RX],
82668 + &avr32_ifield_table[AVR32_IFIELD_RY],
82669 + },
82670 + },
82671 + {
82672 + AVR32_OPC_MACSATHH_W, 4, 0xe0000680, 0xe1f0ffc0,
82673 + &avr32_syntax_table[AVR32_SYNTAX_MACSATHH_W],
82674 + BFD_RELOC_UNUSED, 5, -1,
82675 + {
82676 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
82677 + &avr32_ifield_table[AVR32_IFIELD_RX],
82678 + &avr32_ifield_table[AVR32_IFIELD_X],
82679 + &avr32_ifield_table[AVR32_IFIELD_RY],
82680 + &avr32_ifield_table[AVR32_IFIELD_Y],
82681 + },
82682 + },
82683 + {
82684 + AVR32_OPC_MACUD, 4, 0xe0000740, 0xe1f0fff1,
82685 + &avr32_syntax_table[AVR32_SYNTAX_MACUD],
82686 + BFD_RELOC_UNUSED, 3, -1,
82687 + {
82688 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
82689 + &avr32_ifield_table[AVR32_IFIELD_RX],
82690 + &avr32_ifield_table[AVR32_IFIELD_RY],
82691 + },
82692 + },
82693 + {
82694 + AVR32_OPC_MACWH_D, 4, 0xe0000c80, 0xe1f0ffe1,
82695 + &avr32_syntax_table[AVR32_SYNTAX_MACWH_D],
82696 + BFD_RELOC_UNUSED, 4, -1,
82697 + {
82698 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
82699 + &avr32_ifield_table[AVR32_IFIELD_RX],
82700 + &avr32_ifield_table[AVR32_IFIELD_RY],
82701 + &avr32_ifield_table[AVR32_IFIELD_Y],
82702 + },
82703 + },
82704 + {
82705 + AVR32_OPC_MAX, 4, 0xe0000c40, 0xe1f0fff0,
82706 + &avr32_syntax_table[AVR32_SYNTAX_MAX],
82707 + BFD_RELOC_UNUSED, 3, -1,
82708 + {
82709 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
82710 + &avr32_ifield_table[AVR32_IFIELD_RX],
82711 + &avr32_ifield_table[AVR32_IFIELD_RY],
82712 + },
82713 + },
82714 + {
82715 + AVR32_OPC_MCALL, 4, 0xf0100000, 0xfff00000,
82716 + &avr32_syntax_table[AVR32_SYNTAX_MCALL],
82717 + BFD_RELOC_AVR32_18W_PCREL, 2, 1,
82718 + {
82719 + &avr32_ifield_table[AVR32_IFIELD_RY],
82720 + &avr32_ifield_table[AVR32_IFIELD_K16],
82721 + },
82722 + },
82723 + {
82724 + AVR32_OPC_MFDR, 4, 0xe5b00000, 0xfff0ff00,
82725 + &avr32_syntax_table[AVR32_SYNTAX_MFDR],
82726 + BFD_RELOC_AVR32_8S_EXT, 2, 1,
82727 + {
82728 + &avr32_ifield_table[AVR32_IFIELD_RY],
82729 + &avr32_ifield_table[AVR32_IFIELD_K8E],
82730 + },
82731 + },
82732 + {
82733 + AVR32_OPC_MFSR, 4, 0xe1b00000, 0xfff0ff00,
82734 + &avr32_syntax_table[AVR32_SYNTAX_MFSR],
82735 + BFD_RELOC_AVR32_8S_EXT, 2, 1,
82736 + {
82737 + &avr32_ifield_table[AVR32_IFIELD_RY],
82738 + &avr32_ifield_table[AVR32_IFIELD_K8E],
82739 + },
82740 + },
82741 + {
82742 + AVR32_OPC_MIN, 4, 0xe0000d40, 0xe1f0fff0,
82743 + &avr32_syntax_table[AVR32_SYNTAX_MIN],
82744 + BFD_RELOC_UNUSED, 3, -1,
82745 + {
82746 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
82747 + &avr32_ifield_table[AVR32_IFIELD_RX],
82748 + &avr32_ifield_table[AVR32_IFIELD_RY],
82749 + },
82750 + },
82751 + {
82752 + AVR32_OPC_MOV3, 2, 0x00900000, 0xe1f00000,
82753 + &avr32_syntax_table[AVR32_SYNTAX_MOV3],
82754 + BFD_RELOC_NONE, 2, -1,
82755 + {
82756 + &avr32_ifield_table[AVR32_IFIELD_RY],
82757 + &avr32_ifield_table[AVR32_IFIELD_RX],
82758 + },
82759 + },
82760 + {
82761 + AVR32_OPC_MOV1, 2, 0x30000000, 0xf0000000,
82762 + &avr32_syntax_table[AVR32_SYNTAX_MOV1],
82763 + BFD_RELOC_AVR32_8S, 2, 1,
82764 + {
82765 + &avr32_ifield_table[AVR32_IFIELD_RY],
82766 + &avr32_ifield_table[AVR32_IFIELD_K8C],
82767 + },
82768 + },
82769 + {
82770 + AVR32_OPC_MOV2, 4, 0xe0600000, 0xe1e00000,
82771 + &avr32_syntax_table[AVR32_SYNTAX_MOV2],
82772 + BFD_RELOC_AVR32_21S, 2, 1,
82773 + {
82774 + &avr32_ifield_table[AVR32_IFIELD_RY],
82775 + &avr32_ifield_table[AVR32_IFIELD_K21],
82776 + },
82777 + },
82778 + {
82779 + AVR32_OPC_MOVEQ1, 4, 0xe0001700, 0xe1f0ffff,
82780 + &avr32_syntax_table[AVR32_SYNTAX_MOVEQ1],
82781 + BFD_RELOC_UNUSED, 2, -1,
82782 + {
82783 + &avr32_ifield_table[AVR32_IFIELD_RY],
82784 + &avr32_ifield_table[AVR32_IFIELD_RX],
82785 + },
82786 + },
82787 + {
82788 + AVR32_OPC_MOVNE1, 4, 0xe0001710, 0xe1f0ffff,
82789 + &avr32_syntax_table[AVR32_SYNTAX_MOVNE1],
82790 + BFD_RELOC_UNUSED, 2, -1,
82791 + {
82792 + &avr32_ifield_table[AVR32_IFIELD_RY],
82793 + &avr32_ifield_table[AVR32_IFIELD_RX],
82794 + },
82795 + },
82796 + {
82797 + AVR32_OPC_MOVCC1, 4, 0xe0001720, 0xe1f0ffff,
82798 + &avr32_syntax_table[AVR32_SYNTAX_MOVHS1],
82799 + BFD_RELOC_UNUSED, 2, -1,
82800 + {
82801 + &avr32_ifield_table[AVR32_IFIELD_RY],
82802 + &avr32_ifield_table[AVR32_IFIELD_RX],
82803 + },
82804 + },
82805 + {
82806 + AVR32_OPC_MOVCS1, 4, 0xe0001730, 0xe1f0ffff,
82807 + &avr32_syntax_table[AVR32_SYNTAX_MOVLO1],
82808 + BFD_RELOC_UNUSED, 2, -1,
82809 + {
82810 + &avr32_ifield_table[AVR32_IFIELD_RY],
82811 + &avr32_ifield_table[AVR32_IFIELD_RX],
82812 + },
82813 + },
82814 + {
82815 + AVR32_OPC_MOVGE1, 4, 0xe0001740, 0xe1f0ffff,
82816 + &avr32_syntax_table[AVR32_SYNTAX_MOVGE1],
82817 + BFD_RELOC_UNUSED, 2, -1,
82818 + {
82819 + &avr32_ifield_table[AVR32_IFIELD_RY],
82820 + &avr32_ifield_table[AVR32_IFIELD_RX],
82821 + },
82822 + },
82823 + {
82824 + AVR32_OPC_MOVLT1, 4, 0xe0001750, 0xe1f0ffff,
82825 + &avr32_syntax_table[AVR32_SYNTAX_MOVLT1],
82826 + BFD_RELOC_UNUSED, 2, -1,
82827 + {
82828 + &avr32_ifield_table[AVR32_IFIELD_RY],
82829 + &avr32_ifield_table[AVR32_IFIELD_RX],
82830 + },
82831 + },
82832 + {
82833 + AVR32_OPC_MOVMI1, 4, 0xe0001760, 0xe1f0ffff,
82834 + &avr32_syntax_table[AVR32_SYNTAX_MOVMI1],
82835 + BFD_RELOC_UNUSED, 2, -1,
82836 + {
82837 + &avr32_ifield_table[AVR32_IFIELD_RY],
82838 + &avr32_ifield_table[AVR32_IFIELD_RX],
82839 + },
82840 + },
82841 + {
82842 + AVR32_OPC_MOVPL1, 4, 0xe0001770, 0xe1f0ffff,
82843 + &avr32_syntax_table[AVR32_SYNTAX_MOVPL1],
82844 + BFD_RELOC_UNUSED, 2, -1,
82845 + {
82846 + &avr32_ifield_table[AVR32_IFIELD_RY],
82847 + &avr32_ifield_table[AVR32_IFIELD_RX],
82848 + },
82849 + },
82850 + {
82851 + AVR32_OPC_MOVLS1, 4, 0xe0001780, 0xe1f0ffff,
82852 + &avr32_syntax_table[AVR32_SYNTAX_MOVLS1],
82853 + BFD_RELOC_UNUSED, 2, -1,
82854 + {
82855 + &avr32_ifield_table[AVR32_IFIELD_RY],
82856 + &avr32_ifield_table[AVR32_IFIELD_RX],
82857 + },
82858 + },
82859 + {
82860 + AVR32_OPC_MOVGT1, 4, 0xe0001790, 0xe1f0ffff,
82861 + &avr32_syntax_table[AVR32_SYNTAX_MOVGT1],
82862 + BFD_RELOC_UNUSED, 2, -1,
82863 + {
82864 + &avr32_ifield_table[AVR32_IFIELD_RY],
82865 + &avr32_ifield_table[AVR32_IFIELD_RX],
82866 + },
82867 + },
82868 + {
82869 + AVR32_OPC_MOVLE1, 4, 0xe00017a0, 0xe1f0ffff,
82870 + &avr32_syntax_table[AVR32_SYNTAX_MOVLE1],
82871 + BFD_RELOC_UNUSED, 2, -1,
82872 + {
82873 + &avr32_ifield_table[AVR32_IFIELD_RY],
82874 + &avr32_ifield_table[AVR32_IFIELD_RX],
82875 + },
82876 + },
82877 + {
82878 + AVR32_OPC_MOVHI1, 4, 0xe00017b0, 0xe1f0ffff,
82879 + &avr32_syntax_table[AVR32_SYNTAX_MOVHI1],
82880 + BFD_RELOC_UNUSED, 2, -1,
82881 + {
82882 + &avr32_ifield_table[AVR32_IFIELD_RY],
82883 + &avr32_ifield_table[AVR32_IFIELD_RX],
82884 + },
82885 + },
82886 + {
82887 + AVR32_OPC_MOVVS1, 4, 0xe00017c0, 0xe1f0ffff,
82888 + &avr32_syntax_table[AVR32_SYNTAX_MOVVS1],
82889 + BFD_RELOC_UNUSED, 2, -1,
82890 + {
82891 + &avr32_ifield_table[AVR32_IFIELD_RY],
82892 + &avr32_ifield_table[AVR32_IFIELD_RX],
82893 + },
82894 + },
82895 + {
82896 + AVR32_OPC_MOVVC1, 4, 0xe00017d0, 0xe1f0ffff,
82897 + &avr32_syntax_table[AVR32_SYNTAX_MOVVC1],
82898 + BFD_RELOC_UNUSED, 2, -1,
82899 + {
82900 + &avr32_ifield_table[AVR32_IFIELD_RY],
82901 + &avr32_ifield_table[AVR32_IFIELD_RX],
82902 + },
82903 + },
82904 + {
82905 + AVR32_OPC_MOVQS1, 4, 0xe00017e0, 0xe1f0ffff,
82906 + &avr32_syntax_table[AVR32_SYNTAX_MOVQS1],
82907 + BFD_RELOC_UNUSED, 2, -1,
82908 + {
82909 + &avr32_ifield_table[AVR32_IFIELD_RY],
82910 + &avr32_ifield_table[AVR32_IFIELD_RX],
82911 + },
82912 + },
82913 + {
82914 + AVR32_OPC_MOVAL1, 4, 0xe00017f0, 0xe1f0ffff,
82915 + &avr32_syntax_table[AVR32_SYNTAX_MOVAL1],
82916 + BFD_RELOC_UNUSED, 2, -1,
82917 + {
82918 + &avr32_ifield_table[AVR32_IFIELD_RY],
82919 + &avr32_ifield_table[AVR32_IFIELD_RX],
82920 + },
82921 + },
82922 + {
82923 + AVR32_OPC_MOVEQ2, 4, 0xf9b00000, 0xfff0ff00,
82924 + &avr32_syntax_table[AVR32_SYNTAX_MOVEQ2],
82925 + BFD_RELOC_AVR32_8S_EXT, 2, 1,
82926 + {
82927 + &avr32_ifield_table[AVR32_IFIELD_RY],
82928 + &avr32_ifield_table[AVR32_IFIELD_K8E],
82929 + },
82930 + },
82931 + {
82932 + AVR32_OPC_MOVNE2, 4, 0xf9b00100, 0xfff0ff00,
82933 + &avr32_syntax_table[AVR32_SYNTAX_MOVNE2],
82934 + BFD_RELOC_AVR32_8S_EXT, 2, 1,
82935 + {
82936 + &avr32_ifield_table[AVR32_IFIELD_RY],
82937 + &avr32_ifield_table[AVR32_IFIELD_K8E],
82938 + },
82939 + },
82940 + {
82941 + AVR32_OPC_MOVCC2, 4, 0xf9b00200, 0xfff0ff00,
82942 + &avr32_syntax_table[AVR32_SYNTAX_MOVHS2],
82943 + BFD_RELOC_AVR32_8S_EXT, 2, 1,
82944 + {
82945 + &avr32_ifield_table[AVR32_IFIELD_RY],
82946 + &avr32_ifield_table[AVR32_IFIELD_K8E],
82947 + },
82948 + },
82949 + {
82950 + AVR32_OPC_MOVCS2, 4, 0xf9b00300, 0xfff0ff00,
82951 + &avr32_syntax_table[AVR32_SYNTAX_MOVLO2],
82952 + BFD_RELOC_AVR32_8S_EXT, 2, 1,
82953 + {
82954 + &avr32_ifield_table[AVR32_IFIELD_RY],
82955 + &avr32_ifield_table[AVR32_IFIELD_K8E],
82956 + },
82957 + },
82958 + {
82959 + AVR32_OPC_MOVGE2, 4, 0xf9b00400, 0xfff0ff00,
82960 + &avr32_syntax_table[AVR32_SYNTAX_MOVGE2],
82961 + BFD_RELOC_AVR32_8S_EXT, 2, 1,
82962 + {
82963 + &avr32_ifield_table[AVR32_IFIELD_RY],
82964 + &avr32_ifield_table[AVR32_IFIELD_K8E],
82965 + },
82966 + },
82967 + {
82968 + AVR32_OPC_MOVLT2, 4, 0xf9b00500, 0xfff0ff00,
82969 + &avr32_syntax_table[AVR32_SYNTAX_MOVLT2],
82970 + BFD_RELOC_AVR32_8S_EXT, 2, 1,
82971 + {
82972 + &avr32_ifield_table[AVR32_IFIELD_RY],
82973 + &avr32_ifield_table[AVR32_IFIELD_K8E],
82974 + },
82975 + },
82976 + {
82977 + AVR32_OPC_MOVMI2, 4, 0xf9b00600, 0xfff0ff00,
82978 + &avr32_syntax_table[AVR32_SYNTAX_MOVMI2],
82979 + BFD_RELOC_AVR32_8S_EXT, 2, 1,
82980 + {
82981 + &avr32_ifield_table[AVR32_IFIELD_RY],
82982 + &avr32_ifield_table[AVR32_IFIELD_K8E],
82983 + },
82984 + },
82985 + {
82986 + AVR32_OPC_MOVPL2, 4, 0xf9b00700, 0xfff0ff00,
82987 + &avr32_syntax_table[AVR32_SYNTAX_MOVPL2],
82988 + BFD_RELOC_AVR32_8S_EXT, 2, 1,
82989 + {
82990 + &avr32_ifield_table[AVR32_IFIELD_RY],
82991 + &avr32_ifield_table[AVR32_IFIELD_K8E],
82992 + },
82993 + },
82994 + {
82995 + AVR32_OPC_MOVLS2, 4, 0xf9b00800, 0xfff0ff00,
82996 + &avr32_syntax_table[AVR32_SYNTAX_MOVLS2],
82997 + BFD_RELOC_AVR32_8S_EXT, 2, 1,
82998 + {
82999 + &avr32_ifield_table[AVR32_IFIELD_RY],
83000 + &avr32_ifield_table[AVR32_IFIELD_K8E],
83001 + },
83002 + },
83003 + {
83004 + AVR32_OPC_MOVGT2, 4, 0xf9b00900, 0xfff0ff00,
83005 + &avr32_syntax_table[AVR32_SYNTAX_MOVGT2],
83006 + BFD_RELOC_AVR32_8S_EXT, 2, 1,
83007 + {
83008 + &avr32_ifield_table[AVR32_IFIELD_RY],
83009 + &avr32_ifield_table[AVR32_IFIELD_K8E],
83010 + },
83011 + },
83012 + {
83013 + AVR32_OPC_MOVLE2, 4, 0xf9b00a00, 0xfff0ff00,
83014 + &avr32_syntax_table[AVR32_SYNTAX_MOVLE2],
83015 + BFD_RELOC_AVR32_8S_EXT, 2, 1,
83016 + {
83017 + &avr32_ifield_table[AVR32_IFIELD_RY],
83018 + &avr32_ifield_table[AVR32_IFIELD_K8E],
83019 + },
83020 + },
83021 + {
83022 + AVR32_OPC_MOVHI2, 4, 0xf9b00b00, 0xfff0ff00,
83023 + &avr32_syntax_table[AVR32_SYNTAX_MOVHI2],
83024 + BFD_RELOC_AVR32_8S_EXT, 2, 1,
83025 + {
83026 + &avr32_ifield_table[AVR32_IFIELD_RY],
83027 + &avr32_ifield_table[AVR32_IFIELD_K8E],
83028 + },
83029 + },
83030 + {
83031 + AVR32_OPC_MOVVS2, 4, 0xf9b00c00, 0xfff0ff00,
83032 + &avr32_syntax_table[AVR32_SYNTAX_MOVVS2],
83033 + BFD_RELOC_AVR32_8S_EXT, 2, 1,
83034 + {
83035 + &avr32_ifield_table[AVR32_IFIELD_RY],
83036 + &avr32_ifield_table[AVR32_IFIELD_K8E],
83037 + },
83038 + },
83039 + {
83040 + AVR32_OPC_MOVVC2, 4, 0xf9b00d00, 0xfff0ff00,
83041 + &avr32_syntax_table[AVR32_SYNTAX_MOVVC2],
83042 + BFD_RELOC_AVR32_8S_EXT, 2, 1,
83043 + {
83044 + &avr32_ifield_table[AVR32_IFIELD_RY],
83045 + &avr32_ifield_table[AVR32_IFIELD_K8E],
83046 + },
83047 + },
83048 + {
83049 + AVR32_OPC_MOVQS2, 4, 0xf9b00e00, 0xfff0ff00,
83050 + &avr32_syntax_table[AVR32_SYNTAX_MOVQS2],
83051 + BFD_RELOC_AVR32_8S_EXT, 2, 1,
83052 + {
83053 + &avr32_ifield_table[AVR32_IFIELD_RY],
83054 + &avr32_ifield_table[AVR32_IFIELD_K8E],
83055 + },
83056 + },
83057 + {
83058 + AVR32_OPC_MOVAL2, 4, 0xf9b00f00, 0xfff0ff00,
83059 + &avr32_syntax_table[AVR32_SYNTAX_MOVAL2],
83060 + BFD_RELOC_AVR32_8S_EXT, 2, 1,
83061 + {
83062 + &avr32_ifield_table[AVR32_IFIELD_RY],
83063 + &avr32_ifield_table[AVR32_IFIELD_K8E],
83064 + },
83065 + },
83066 + {
83067 + AVR32_OPC_MTDR, 4, 0xe7b00000, 0xfff0ff00,
83068 + &avr32_syntax_table[AVR32_SYNTAX_MTDR],
83069 + BFD_RELOC_AVR32_8S_EXT, 2, 0,
83070 + {
83071 + &avr32_ifield_table[AVR32_IFIELD_K8E],
83072 + &avr32_ifield_table[AVR32_IFIELD_RY],
83073 + },
83074 + },
83075 + {
83076 + AVR32_OPC_MTSR, 4, 0xe3b00000, 0xfff0ff00,
83077 + &avr32_syntax_table[AVR32_SYNTAX_MTSR],
83078 + BFD_RELOC_AVR32_8S_EXT, 2, 0,
83079 + {
83080 + &avr32_ifield_table[AVR32_IFIELD_K8E],
83081 + &avr32_ifield_table[AVR32_IFIELD_RY],
83082 + },
83083 + },
83084 + {
83085 + AVR32_OPC_MUL1, 2, 0xa1300000, 0xe1f00000,
83086 + &avr32_syntax_table[AVR32_SYNTAX_MUL1],
83087 + BFD_RELOC_UNUSED, 2, -1,
83088 + {
83089 + &avr32_ifield_table[AVR32_IFIELD_RY],
83090 + &avr32_ifield_table[AVR32_IFIELD_RX],
83091 + },
83092 + },
83093 + {
83094 + AVR32_OPC_MUL2, 4, 0xe0000240, 0xe1f0fff0,
83095 + &avr32_syntax_table[AVR32_SYNTAX_MUL2],
83096 + BFD_RELOC_UNUSED, 3, -1,
83097 + {
83098 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
83099 + &avr32_ifield_table[AVR32_IFIELD_RX],
83100 + &avr32_ifield_table[AVR32_IFIELD_RY],
83101 + },
83102 + },
83103 + {
83104 + AVR32_OPC_MUL3, 4, 0xe0001000, 0xe1f0ff00,
83105 + &avr32_syntax_table[AVR32_SYNTAX_MUL3],
83106 + BFD_RELOC_AVR32_8S_EXT, 3, 2,
83107 + {
83108 + &avr32_ifield_table[AVR32_IFIELD_RY],
83109 + &avr32_ifield_table[AVR32_IFIELD_RX],
83110 + &avr32_ifield_table[AVR32_IFIELD_K8E],
83111 + },
83112 + },
83113 + {
83114 + AVR32_OPC_MULHH_W, 4, 0xe0000780, 0xe1f0ffc0,
83115 + &avr32_syntax_table[AVR32_SYNTAX_MULHH_W],
83116 + BFD_RELOC_UNUSED, 5, -1,
83117 + {
83118 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
83119 + &avr32_ifield_table[AVR32_IFIELD_RX],
83120 + &avr32_ifield_table[AVR32_IFIELD_X],
83121 + &avr32_ifield_table[AVR32_IFIELD_RY],
83122 + &avr32_ifield_table[AVR32_IFIELD_Y],
83123 + },
83124 + },
83125 + {
83126 + AVR32_OPC_MULNHH_W, 4, 0xe0000180, 0xe1f0ffc0,
83127 + &avr32_syntax_table[AVR32_SYNTAX_MULNHH_W],
83128 + BFD_RELOC_UNUSED, 5, -1,
83129 + {
83130 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
83131 + &avr32_ifield_table[AVR32_IFIELD_RX],
83132 + &avr32_ifield_table[AVR32_IFIELD_X],
83133 + &avr32_ifield_table[AVR32_IFIELD_RY],
83134 + &avr32_ifield_table[AVR32_IFIELD_Y],
83135 + },
83136 + },
83137 + {
83138 + AVR32_OPC_MULNWH_D, 4, 0xe0000280, 0xe1f0ffe1,
83139 + &avr32_syntax_table[AVR32_SYNTAX_MULNWH_D],
83140 + BFD_RELOC_UNUSED, 4, -1,
83141 + {
83142 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
83143 + &avr32_ifield_table[AVR32_IFIELD_RX],
83144 + &avr32_ifield_table[AVR32_IFIELD_RY],
83145 + &avr32_ifield_table[AVR32_IFIELD_Y],
83146 + },
83147 + },
83148 + {
83149 + AVR32_OPC_MULSD, 4, 0xe0000440, 0xe1f0fff0,
83150 + &avr32_syntax_table[AVR32_SYNTAX_MULSD],
83151 + BFD_RELOC_UNUSED, 3, -1,
83152 + {
83153 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
83154 + &avr32_ifield_table[AVR32_IFIELD_RX],
83155 + &avr32_ifield_table[AVR32_IFIELD_RY],
83156 + },
83157 + },
83158 + {
83159 + AVR32_OPC_MULSATHH_H, 4, 0xe0000880, 0xe1f0ffc0,
83160 + &avr32_syntax_table[AVR32_SYNTAX_MULSATHH_H],
83161 + BFD_RELOC_UNUSED, 5, -1,
83162 + {
83163 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
83164 + &avr32_ifield_table[AVR32_IFIELD_RX],
83165 + &avr32_ifield_table[AVR32_IFIELD_X],
83166 + &avr32_ifield_table[AVR32_IFIELD_RY],
83167 + &avr32_ifield_table[AVR32_IFIELD_Y],
83168 + },
83169 + },
83170 + {
83171 + AVR32_OPC_MULSATHH_W, 4, 0xe0000980, 0xe1f0ffc0,
83172 + &avr32_syntax_table[AVR32_SYNTAX_MULSATHH_W],
83173 + BFD_RELOC_UNUSED, 5, -1,
83174 + {
83175 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
83176 + &avr32_ifield_table[AVR32_IFIELD_RX],
83177 + &avr32_ifield_table[AVR32_IFIELD_X],
83178 + &avr32_ifield_table[AVR32_IFIELD_RY],
83179 + &avr32_ifield_table[AVR32_IFIELD_Y],
83180 + },
83181 + },
83182 + {
83183 + AVR32_OPC_MULSATRNDHH_H, 4, 0xe0000a80, 0xe1f0ffc0,
83184 + &avr32_syntax_table[AVR32_SYNTAX_MULSATRNDHH_H],
83185 + BFD_RELOC_UNUSED, 5, -1,
83186 + {
83187 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
83188 + &avr32_ifield_table[AVR32_IFIELD_RX],
83189 + &avr32_ifield_table[AVR32_IFIELD_X],
83190 + &avr32_ifield_table[AVR32_IFIELD_RY],
83191 + &avr32_ifield_table[AVR32_IFIELD_Y],
83192 + },
83193 + },
83194 + {
83195 + AVR32_OPC_MULSATRNDWH_W, 4, 0xe0000b80, 0xe1f0ffe0,
83196 + &avr32_syntax_table[AVR32_SYNTAX_MULSATRNDWH_W],
83197 + BFD_RELOC_UNUSED, 4, -1,
83198 + {
83199 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
83200 + &avr32_ifield_table[AVR32_IFIELD_RX],
83201 + &avr32_ifield_table[AVR32_IFIELD_RY],
83202 + &avr32_ifield_table[AVR32_IFIELD_Y],
83203 + },
83204 + },
83205 + {
83206 + AVR32_OPC_MULSATWH_W, 4, 0xe0000e80, 0xe1f0ffe0,
83207 + &avr32_syntax_table[AVR32_SYNTAX_MULSATWH_W],
83208 + BFD_RELOC_UNUSED, 4, -1,
83209 + {
83210 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
83211 + &avr32_ifield_table[AVR32_IFIELD_RX],
83212 + &avr32_ifield_table[AVR32_IFIELD_RY],
83213 + &avr32_ifield_table[AVR32_IFIELD_Y],
83214 + },
83215 + },
83216 + {
83217 + AVR32_OPC_MULU_D, 4, 0xe0000640, 0xe1f0fff1,
83218 + &avr32_syntax_table[AVR32_SYNTAX_MULU_D],
83219 + BFD_RELOC_UNUSED, 3, -1,
83220 + {
83221 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
83222 + &avr32_ifield_table[AVR32_IFIELD_RX],
83223 + &avr32_ifield_table[AVR32_IFIELD_RY],
83224 + },
83225 + },
83226 + {
83227 + AVR32_OPC_MULWH_D, 4, 0xe0000d80, 0xe1f0ffe1,
83228 + &avr32_syntax_table[AVR32_SYNTAX_MULWH_D],
83229 + BFD_RELOC_UNUSED, 4, -1,
83230 + {
83231 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
83232 + &avr32_ifield_table[AVR32_IFIELD_RX],
83233 + &avr32_ifield_table[AVR32_IFIELD_RY],
83234 + &avr32_ifield_table[AVR32_IFIELD_Y],
83235 + },
83236 + },
83237 + {
83238 + AVR32_OPC_MUSFR, 2, 0x5d300000, 0xfff00000,
83239 + &avr32_syntax_table[AVR32_SYNTAX_MUSFR],
83240 + BFD_RELOC_UNUSED, 1, -1,
83241 + {
83242 + &avr32_ifield_table[AVR32_IFIELD_RY],
83243 + }
83244 + },
83245 + {
83246 + AVR32_OPC_MUSTR, 2, 0x5d200000, 0xfff00000,
83247 + &avr32_syntax_table[AVR32_SYNTAX_MUSTR],
83248 + BFD_RELOC_UNUSED, 1, -1,
83249 + {
83250 + &avr32_ifield_table[AVR32_IFIELD_RY],
83251 + }
83252 + },
83253 + {
83254 + AVR32_OPC_MVCR_D, 4, 0xefa00010, 0xfff111ff,
83255 + &avr32_syntax_table[AVR32_SYNTAX_MVCR_D],
83256 + BFD_RELOC_UNUSED, 3, -1,
83257 + {
83258 + &avr32_ifield_table[AVR32_IFIELD_CPNO],
83259 + &avr32_ifield_table[AVR32_IFIELD_RY_DW],
83260 + &avr32_ifield_table[AVR32_IFIELD_CRD_DW],
83261 + },
83262 + },
83263 + {
83264 + AVR32_OPC_MVCR_W, 4, 0xefa00000, 0xfff010ff,
83265 + &avr32_syntax_table[AVR32_SYNTAX_MVCR_W],
83266 + BFD_RELOC_UNUSED, 3, -1,
83267 + {
83268 + &avr32_ifield_table[AVR32_IFIELD_CPNO],
83269 + &avr32_ifield_table[AVR32_IFIELD_RY],
83270 + &avr32_ifield_table[AVR32_IFIELD_CRD_RI],
83271 + },
83272 + },
83273 + {
83274 + AVR32_OPC_MVRC_D, 4, 0xefa00030, 0xfff111ff,
83275 + &avr32_syntax_table[AVR32_SYNTAX_MVRC_D],
83276 + BFD_RELOC_UNUSED, 3, -1,
83277 + {
83278 + &avr32_ifield_table[AVR32_IFIELD_CPNO],
83279 + &avr32_ifield_table[AVR32_IFIELD_CRD_DW],
83280 + &avr32_ifield_table[AVR32_IFIELD_RY_DW],
83281 + },
83282 + },
83283 + {
83284 + AVR32_OPC_MVRC_W, 4, 0xefa00020, 0xfff010ff,
83285 + &avr32_syntax_table[AVR32_SYNTAX_MVRC_W],
83286 + BFD_RELOC_UNUSED, 3, -1,
83287 + {
83288 + &avr32_ifield_table[AVR32_IFIELD_CPNO],
83289 + &avr32_ifield_table[AVR32_IFIELD_CRD_RI],
83290 + &avr32_ifield_table[AVR32_IFIELD_RY],
83291 + },
83292 + },
83293 + {
83294 + AVR32_OPC_NEG, 2, 0x5c300000, 0xfff00000,
83295 + &avr32_syntax_table[AVR32_SYNTAX_NEG],
83296 + BFD_RELOC_UNUSED, 1, -1,
83297 + {
83298 + &avr32_ifield_table[AVR32_IFIELD_RY],
83299 + }
83300 + },
83301 + {
83302 + AVR32_OPC_NOP, 2, 0xd7030000, 0xffff0000,
83303 + &avr32_syntax_table[AVR32_SYNTAX_NOP],
83304 + BFD_RELOC_UNUSED, 0, -1, { NULL },
83305 + },
83306 + {
83307 + AVR32_OPC_OR1, 2, 0x00400000, 0xe1f00000,
83308 + &avr32_syntax_table[AVR32_SYNTAX_OR1],
83309 + BFD_RELOC_UNUSED, 2, -1,
83310 + {
83311 + &avr32_ifield_table[AVR32_IFIELD_RY],
83312 + &avr32_ifield_table[AVR32_IFIELD_RX],
83313 + },
83314 + },
83315 + {
83316 + AVR32_OPC_OR2, 4, 0xe1e01000, 0xe1f0fe00,
83317 + &avr32_syntax_table[AVR32_SYNTAX_OR2],
83318 + BFD_RELOC_UNUSED, 4, -1,
83319 + {
83320 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
83321 + &avr32_ifield_table[AVR32_IFIELD_RX],
83322 + &avr32_ifield_table[AVR32_IFIELD_RY],
83323 + &avr32_ifield_table[AVR32_IFIELD_K5E2],
83324 + },
83325 + },
83326 + {
83327 + AVR32_OPC_OR3, 4, 0xe1e01200, 0xe1f0fe00,
83328 + &avr32_syntax_table[AVR32_SYNTAX_OR3],
83329 + BFD_RELOC_UNUSED, 4, -1,
83330 + {
83331 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
83332 + &avr32_ifield_table[AVR32_IFIELD_RX],
83333 + &avr32_ifield_table[AVR32_IFIELD_RY],
83334 + &avr32_ifield_table[AVR32_IFIELD_K5E2],
83335 + },
83336 + },
83337 + {
83338 + AVR32_OPC_ORH, 4, 0xea100000, 0xfff00000,
83339 + &avr32_syntax_table[AVR32_SYNTAX_ORH],
83340 + BFD_RELOC_AVR32_16U, 2, 1,
83341 + {
83342 + &avr32_ifield_table[AVR32_IFIELD_RY],
83343 + &avr32_ifield_table[AVR32_IFIELD_K16],
83344 + },
83345 + },
83346 + {
83347 + AVR32_OPC_ORL, 4, 0xe8100000, 0xfff00000,
83348 + &avr32_syntax_table[AVR32_SYNTAX_ORL],
83349 + BFD_RELOC_AVR32_16U, 2, 1,
83350 + {
83351 + &avr32_ifield_table[AVR32_IFIELD_RY],
83352 + &avr32_ifield_table[AVR32_IFIELD_K16],
83353 + },
83354 + },
83355 + {
83356 + AVR32_OPC_PABS_SB, 4, 0xe00023e0, 0xfff0fff0,
83357 + &avr32_syntax_table[AVR32_SYNTAX_PABS_SB],
83358 + BFD_RELOC_UNUSED, 2, -1,
83359 + {
83360 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
83361 + &avr32_ifield_table[AVR32_IFIELD_RY],
83362 + },
83363 + },
83364 + {
83365 + AVR32_OPC_PABS_SH, 4, 0xe00023f0, 0xfff0fff0,
83366 + &avr32_syntax_table[AVR32_SYNTAX_PABS_SH],
83367 + BFD_RELOC_UNUSED, 2, -1,
83368 + {
83369 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
83370 + &avr32_ifield_table[AVR32_IFIELD_RY],
83371 + },
83372 + },
83373 + {
83374 + AVR32_OPC_PACKSH_SB, 4, 0xe00024d0, 0xe1f0fff0,
83375 + &avr32_syntax_table[AVR32_SYNTAX_PACKSH_SB],
83376 + BFD_RELOC_UNUSED, 3, -1,
83377 + {
83378 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
83379 + &avr32_ifield_table[AVR32_IFIELD_RX],
83380 + &avr32_ifield_table[AVR32_IFIELD_RY],
83381 + },
83382 + },
83383 + {
83384 + AVR32_OPC_PACKSH_UB, 4, 0xe00024c0, 0xe1f0fff0,
83385 + &avr32_syntax_table[AVR32_SYNTAX_PACKSH_UB],
83386 + BFD_RELOC_UNUSED, 3, -1,
83387 + {
83388 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
83389 + &avr32_ifield_table[AVR32_IFIELD_RX],
83390 + &avr32_ifield_table[AVR32_IFIELD_RY],
83391 + },
83392 + },
83393 + {
83394 + AVR32_OPC_PACKW_SH, 4, 0xe0002470, 0xe1f0fff0,
83395 + &avr32_syntax_table[AVR32_SYNTAX_PACKW_SH],
83396 + BFD_RELOC_UNUSED, 3, -1,
83397 + {
83398 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
83399 + &avr32_ifield_table[AVR32_IFIELD_RX],
83400 + &avr32_ifield_table[AVR32_IFIELD_RY],
83401 + },
83402 + },
83403 + {
83404 + AVR32_OPC_PADD_B, 4, 0xe0002300, 0xe1f0fff0,
83405 + &avr32_syntax_table[AVR32_SYNTAX_PADD_B],
83406 + BFD_RELOC_UNUSED, 3, -1,
83407 + {
83408 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
83409 + &avr32_ifield_table[AVR32_IFIELD_RX],
83410 + &avr32_ifield_table[AVR32_IFIELD_RY],
83411 + },
83412 + },
83413 + {
83414 + AVR32_OPC_PADD_H, 4, 0xe0002000, 0xe1f0fff0,
83415 + &avr32_syntax_table[AVR32_SYNTAX_PADD_H],
83416 + BFD_RELOC_UNUSED, 3, -1,
83417 + {
83418 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
83419 + &avr32_ifield_table[AVR32_IFIELD_RX],
83420 + &avr32_ifield_table[AVR32_IFIELD_RY],
83421 + },
83422 + },
83423 + {
83424 + AVR32_OPC_PADDH_SH, 4, 0xe00020c0, 0xe1f0fff0,
83425 + &avr32_syntax_table[AVR32_SYNTAX_PADDH_SH],
83426 + BFD_RELOC_UNUSED, 3, -1,
83427 + {
83428 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
83429 + &avr32_ifield_table[AVR32_IFIELD_RX],
83430 + &avr32_ifield_table[AVR32_IFIELD_RY],
83431 + },
83432 + },
83433 + {
83434 + AVR32_OPC_PADDH_UB, 4, 0xe0002360, 0xe1f0fff0,
83435 + &avr32_syntax_table[AVR32_SYNTAX_PADDH_UB],
83436 + BFD_RELOC_UNUSED, 3, -1,
83437 + {
83438 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
83439 + &avr32_ifield_table[AVR32_IFIELD_RX],
83440 + &avr32_ifield_table[AVR32_IFIELD_RY],
83441 + },
83442 + },
83443 + {
83444 + AVR32_OPC_PADDS_SB, 4, 0xe0002320, 0xe1f0fff0,
83445 + &avr32_syntax_table[AVR32_SYNTAX_PADDS_SB],
83446 + BFD_RELOC_UNUSED, 3, -1,
83447 + {
83448 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
83449 + &avr32_ifield_table[AVR32_IFIELD_RX],
83450 + &avr32_ifield_table[AVR32_IFIELD_RY],
83451 + },
83452 + },
83453 + {
83454 + AVR32_OPC_PADDS_SH, 4, 0xe0002040, 0xe1f0fff0,
83455 + &avr32_syntax_table[AVR32_SYNTAX_PADDS_SH],
83456 + BFD_RELOC_UNUSED, 3, -1,
83457 + {
83458 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
83459 + &avr32_ifield_table[AVR32_IFIELD_RX],
83460 + &avr32_ifield_table[AVR32_IFIELD_RY],
83461 + },
83462 + },
83463 + {
83464 + AVR32_OPC_PADDS_UB, 4, 0xe0002340, 0xe1f0fff0,
83465 + &avr32_syntax_table[AVR32_SYNTAX_PADDS_UB],
83466 + BFD_RELOC_UNUSED, 3, -1,
83467 + {
83468 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
83469 + &avr32_ifield_table[AVR32_IFIELD_RX],
83470 + &avr32_ifield_table[AVR32_IFIELD_RY],
83471 + },
83472 + },
83473 + {
83474 + AVR32_OPC_PADDS_UH, 4, 0xe0002080, 0xe1f0fff0,
83475 + &avr32_syntax_table[AVR32_SYNTAX_PADDS_UH],
83476 + BFD_RELOC_UNUSED, 3, -1,
83477 + {
83478 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
83479 + &avr32_ifield_table[AVR32_IFIELD_RX],
83480 + &avr32_ifield_table[AVR32_IFIELD_RY],
83481 + },
83482 + },
83483 + {
83484 + AVR32_OPC_PADDSUB_H, 4, 0xe0002100, 0xe1f0ffc0,
83485 + &avr32_syntax_table[AVR32_SYNTAX_PADDSUB_H],
83486 + BFD_RELOC_UNUSED, 5, -1,
83487 + {
83488 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
83489 + &avr32_ifield_table[AVR32_IFIELD_RX],
83490 + &avr32_ifield_table[AVR32_IFIELD_X],
83491 + &avr32_ifield_table[AVR32_IFIELD_RY],
83492 + &avr32_ifield_table[AVR32_IFIELD_Y],
83493 + },
83494 + },
83495 + {
83496 + AVR32_OPC_PADDSUBH_SH, 4, 0xe0002280, 0xe1f0ffc0,
83497 + &avr32_syntax_table[AVR32_SYNTAX_PADDSUBH_SH],
83498 + BFD_RELOC_UNUSED, 5, -1,
83499 + {
83500 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
83501 + &avr32_ifield_table[AVR32_IFIELD_RX],
83502 + &avr32_ifield_table[AVR32_IFIELD_X],
83503 + &avr32_ifield_table[AVR32_IFIELD_RY],
83504 + &avr32_ifield_table[AVR32_IFIELD_Y],
83505 + },
83506 + },
83507 + {
83508 + AVR32_OPC_PADDSUBS_SH, 4, 0xe0002180, 0xe1f0ffc0,
83509 + &avr32_syntax_table[AVR32_SYNTAX_PADDSUBS_SH],
83510 + BFD_RELOC_UNUSED, 5, -1,
83511 + {
83512 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
83513 + &avr32_ifield_table[AVR32_IFIELD_RX],
83514 + &avr32_ifield_table[AVR32_IFIELD_X],
83515 + &avr32_ifield_table[AVR32_IFIELD_RY],
83516 + &avr32_ifield_table[AVR32_IFIELD_Y],
83517 + },
83518 + },
83519 + {
83520 + AVR32_OPC_PADDSUBS_UH, 4, 0xe0002200, 0xe1f0ffc0,
83521 + &avr32_syntax_table[AVR32_SYNTAX_PADDSUBS_UH],
83522 + BFD_RELOC_UNUSED, 5, -1,
83523 + {
83524 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
83525 + &avr32_ifield_table[AVR32_IFIELD_RX],
83526 + &avr32_ifield_table[AVR32_IFIELD_X],
83527 + &avr32_ifield_table[AVR32_IFIELD_RY],
83528 + &avr32_ifield_table[AVR32_IFIELD_Y],
83529 + },
83530 + },
83531 + {
83532 + AVR32_OPC_PADDX_H, 4, 0xe0002020, 0xe1f0fff0,
83533 + &avr32_syntax_table[AVR32_SYNTAX_PADDX_H],
83534 + BFD_RELOC_UNUSED, 3, -1,
83535 + {
83536 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
83537 + &avr32_ifield_table[AVR32_IFIELD_RX],
83538 + &avr32_ifield_table[AVR32_IFIELD_RY],
83539 + },
83540 + },
83541 + {
83542 + AVR32_OPC_PADDXH_SH, 4, 0xe00020e0, 0xe1f0fff0,
83543 + &avr32_syntax_table[AVR32_SYNTAX_PADDXH_SH],
83544 + BFD_RELOC_UNUSED, 3, -1,
83545 + {
83546 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
83547 + &avr32_ifield_table[AVR32_IFIELD_RX],
83548 + &avr32_ifield_table[AVR32_IFIELD_RY],
83549 + },
83550 + },
83551 + {
83552 + AVR32_OPC_PADDXS_SH, 4, 0xe0002060, 0xe1f0fff0,
83553 + &avr32_syntax_table[AVR32_SYNTAX_PADDXS_SH],
83554 + BFD_RELOC_UNUSED, 3, -1,
83555 + {
83556 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
83557 + &avr32_ifield_table[AVR32_IFIELD_RX],
83558 + &avr32_ifield_table[AVR32_IFIELD_RY],
83559 + },
83560 + },
83561 + {
83562 + AVR32_OPC_PADDXS_UH, 4, 0xe00020a0, 0xe1f0fff0,
83563 + &avr32_syntax_table[AVR32_SYNTAX_PADDXS_UH],
83564 + BFD_RELOC_UNUSED, 3, -1,
83565 + {
83566 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
83567 + &avr32_ifield_table[AVR32_IFIELD_RX],
83568 + &avr32_ifield_table[AVR32_IFIELD_RY],
83569 + },
83570 + },
83571 + {
83572 + AVR32_OPC_PASR_B, 4, 0xe0002410, 0xe1f8fff0,
83573 + &avr32_syntax_table[AVR32_SYNTAX_PASR_B],
83574 + BFD_RELOC_UNUSED, 3, -1,
83575 + {
83576 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
83577 + &avr32_ifield_table[AVR32_IFIELD_RX],
83578 + &avr32_ifield_table[AVR32_IFIELD_COND3],
83579 + },
83580 + },
83581 + {
83582 + AVR32_OPC_PASR_H, 4, 0xe0002440, 0xe1f0fff0,
83583 + &avr32_syntax_table[AVR32_SYNTAX_PASR_H],
83584 + BFD_RELOC_UNUSED, 3, -1,
83585 + {
83586 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
83587 + &avr32_ifield_table[AVR32_IFIELD_RX],
83588 + &avr32_ifield_table[AVR32_IFIELD_RY],
83589 + },
83590 + },
83591 + {
83592 + AVR32_OPC_PAVG_SH, 4, 0xe00023d0, 0xe1f0fff0,
83593 + &avr32_syntax_table[AVR32_SYNTAX_PAVG_SH],
83594 + BFD_RELOC_UNUSED, 3, -1,
83595 + {
83596 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
83597 + &avr32_ifield_table[AVR32_IFIELD_RX],
83598 + &avr32_ifield_table[AVR32_IFIELD_RY],
83599 + },
83600 + },
83601 + {
83602 + AVR32_OPC_PAVG_UB, 4, 0xe00023c0, 0xe1f0fff0,
83603 + &avr32_syntax_table[AVR32_SYNTAX_PAVG_UB],
83604 + BFD_RELOC_UNUSED, 3, -1,
83605 + {
83606 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
83607 + &avr32_ifield_table[AVR32_IFIELD_RX],
83608 + &avr32_ifield_table[AVR32_IFIELD_RY],
83609 + },
83610 + },
83611 + {
83612 + AVR32_OPC_PLSL_B, 4, 0xe0002420, 0xe1f8fff0,
83613 + &avr32_syntax_table[AVR32_SYNTAX_PLSL_B],
83614 + BFD_RELOC_UNUSED, 3, -1,
83615 + {
83616 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
83617 + &avr32_ifield_table[AVR32_IFIELD_RX],
83618 + &avr32_ifield_table[AVR32_IFIELD_COND3],
83619 + },
83620 + },
83621 + {
83622 + AVR32_OPC_PLSL_H, 4, 0xe0002450, 0xe1f0fff0,
83623 + &avr32_syntax_table[AVR32_SYNTAX_PLSL_H],
83624 + BFD_RELOC_UNUSED, 3, -1,
83625 + {
83626 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
83627 + &avr32_ifield_table[AVR32_IFIELD_RX],
83628 + &avr32_ifield_table[AVR32_IFIELD_RY],
83629 + },
83630 + },
83631 + {
83632 + AVR32_OPC_PLSR_B, 4, 0xe0002430, 0xe1f8fff0,
83633 + &avr32_syntax_table[AVR32_SYNTAX_PLSR_B],
83634 + BFD_RELOC_UNUSED, 3, -1,
83635 + {
83636 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
83637 + &avr32_ifield_table[AVR32_IFIELD_RX],
83638 + &avr32_ifield_table[AVR32_IFIELD_COND3],
83639 + },
83640 + },
83641 + {
83642 + AVR32_OPC_PLSR_H, 4, 0xe0002460, 0xe1f0fff0,
83643 + &avr32_syntax_table[AVR32_SYNTAX_PLSR_H],
83644 + BFD_RELOC_UNUSED, 3, -1,
83645 + {
83646 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
83647 + &avr32_ifield_table[AVR32_IFIELD_RX],
83648 + &avr32_ifield_table[AVR32_IFIELD_RY],
83649 + },
83650 + },
83651 + {
83652 + AVR32_OPC_PMAX_SH, 4, 0xe0002390, 0xe1f0fff0,
83653 + &avr32_syntax_table[AVR32_SYNTAX_PMAX_SH],
83654 + BFD_RELOC_UNUSED, 3, -1,
83655 + {
83656 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
83657 + &avr32_ifield_table[AVR32_IFIELD_RX],
83658 + &avr32_ifield_table[AVR32_IFIELD_RY],
83659 + },
83660 + },
83661 + {
83662 + AVR32_OPC_PMAX_UB, 4, 0xe0002380, 0xe1f0fff0,
83663 + &avr32_syntax_table[AVR32_SYNTAX_PMAX_UB],
83664 + BFD_RELOC_UNUSED, 3, -1,
83665 + {
83666 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
83667 + &avr32_ifield_table[AVR32_IFIELD_RX],
83668 + &avr32_ifield_table[AVR32_IFIELD_RY],
83669 + },
83670 + },
83671 + {
83672 + AVR32_OPC_PMIN_SH, 4, 0xe00023b0, 0xe1f0fff0,
83673 + &avr32_syntax_table[AVR32_SYNTAX_PMIN_SH],
83674 + BFD_RELOC_UNUSED, 3, -1,
83675 + {
83676 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
83677 + &avr32_ifield_table[AVR32_IFIELD_RX],
83678 + &avr32_ifield_table[AVR32_IFIELD_RY],
83679 + },
83680 + },
83681 + {
83682 + AVR32_OPC_PMIN_UB, 4, 0xe00023a0, 0xe1f0fff0,
83683 + &avr32_syntax_table[AVR32_SYNTAX_PMIN_UB],
83684 + BFD_RELOC_UNUSED, 3, -1,
83685 + {
83686 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
83687 + &avr32_ifield_table[AVR32_IFIELD_RX],
83688 + &avr32_ifield_table[AVR32_IFIELD_RY],
83689 + },
83690 + },
83691 + {
83692 + AVR32_OPC_POPJC, 2, 0xd7130000, 0xffff0000,
83693 + &avr32_syntax_table[AVR32_SYNTAX_POPJC],
83694 + BFD_RELOC_UNUSED, 0, -1, { NULL },
83695 + },
83696 + {
83697 + AVR32_OPC_POPM, 2, 0xd0020000, 0xf0070000,
83698 + &avr32_syntax_table[AVR32_SYNTAX_POPM],
83699 + BFD_RELOC_UNUSED, 1, -1,
83700 + {
83701 + &avr32_ifield_table[AVR32_IFIELD_POPM],
83702 + },
83703 + },
83704 + {
83705 + AVR32_OPC_POPM_E, 4, 0xe3cd0000, 0xffff0000,
83706 + &avr32_syntax_table[AVR32_SYNTAX_POPM_E],
83707 + BFD_RELOC_UNUSED, 1, -1,
83708 + {
83709 + &avr32_ifield_table[AVR32_IFIELD_K16],
83710 + },
83711 + },
83712 + {
83713 + AVR32_OPC_PREF, 4, 0xf2100000, 0xfff00000,
83714 + &avr32_syntax_table[AVR32_SYNTAX_PREF],
83715 + BFD_RELOC_AVR32_16S, 2, -1,
83716 + {
83717 + &avr32_ifield_table[AVR32_IFIELD_RY],
83718 + &avr32_ifield_table[AVR32_IFIELD_K16],
83719 + },
83720 + },
83721 + {
83722 + AVR32_OPC_PSAD, 4, 0xe0002400, 0xe1f0fff0,
83723 + &avr32_syntax_table[AVR32_SYNTAX_PSAD],
83724 + BFD_RELOC_UNUSED, 3, -1,
83725 + {
83726 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
83727 + &avr32_ifield_table[AVR32_IFIELD_RX],
83728 + &avr32_ifield_table[AVR32_IFIELD_RY],
83729 + },
83730 + },
83731 + {
83732 + AVR32_OPC_PSUB_B, 4, 0xe0002310, 0xe1f0fff0,
83733 + &avr32_syntax_table[AVR32_SYNTAX_PSUB_B],
83734 + BFD_RELOC_UNUSED, 3, -1,
83735 + {
83736 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
83737 + &avr32_ifield_table[AVR32_IFIELD_RX],
83738 + &avr32_ifield_table[AVR32_IFIELD_RY],
83739 + },
83740 + },
83741 + {
83742 + AVR32_OPC_PSUB_H, 4, 0xe0002010, 0xe1f0fff0,
83743 + &avr32_syntax_table[AVR32_SYNTAX_PSUB_H],
83744 + BFD_RELOC_UNUSED, 3, -1,
83745 + {
83746 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
83747 + &avr32_ifield_table[AVR32_IFIELD_RX],
83748 + &avr32_ifield_table[AVR32_IFIELD_RY],
83749 + },
83750 + },
83751 + {
83752 + AVR32_OPC_PSUBADD_H, 4, 0xe0002140, 0xe1f0ffc0,
83753 + &avr32_syntax_table[AVR32_SYNTAX_PSUBADD_H],
83754 + BFD_RELOC_UNUSED, 5, -1,
83755 + {
83756 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
83757 + &avr32_ifield_table[AVR32_IFIELD_RX],
83758 + &avr32_ifield_table[AVR32_IFIELD_X],
83759 + &avr32_ifield_table[AVR32_IFIELD_RY],
83760 + &avr32_ifield_table[AVR32_IFIELD_Y],
83761 + },
83762 + },
83763 + {
83764 + AVR32_OPC_PSUBADDH_SH, 4, 0xe00022c0, 0xe1f0ffc0,
83765 + &avr32_syntax_table[AVR32_SYNTAX_PSUBADDH_SH],
83766 + BFD_RELOC_UNUSED, 5, -1,
83767 + {
83768 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
83769 + &avr32_ifield_table[AVR32_IFIELD_RX],
83770 + &avr32_ifield_table[AVR32_IFIELD_X],
83771 + &avr32_ifield_table[AVR32_IFIELD_RY],
83772 + &avr32_ifield_table[AVR32_IFIELD_Y],
83773 + },
83774 + },
83775 + {
83776 + AVR32_OPC_PSUBADDS_SH, 4, 0xe00021c0, 0xe1f0ffc0,
83777 + &avr32_syntax_table[AVR32_SYNTAX_PSUBADDS_SH],
83778 + BFD_RELOC_UNUSED, 5, -1,
83779 + {
83780 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
83781 + &avr32_ifield_table[AVR32_IFIELD_RX],
83782 + &avr32_ifield_table[AVR32_IFIELD_X],
83783 + &avr32_ifield_table[AVR32_IFIELD_RY],
83784 + &avr32_ifield_table[AVR32_IFIELD_Y],
83785 + },
83786 + },
83787 + {
83788 + AVR32_OPC_PSUBADDS_UH, 4, 0xe0002240, 0xe1f0ffc0,
83789 + &avr32_syntax_table[AVR32_SYNTAX_PSUBADDS_UH],
83790 + BFD_RELOC_UNUSED, 5, -1,
83791 + {
83792 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
83793 + &avr32_ifield_table[AVR32_IFIELD_RX],
83794 + &avr32_ifield_table[AVR32_IFIELD_X],
83795 + &avr32_ifield_table[AVR32_IFIELD_RY],
83796 + &avr32_ifield_table[AVR32_IFIELD_Y],
83797 + },
83798 + },
83799 + {
83800 + AVR32_OPC_PSUBH_SH, 4, 0xe00020d0, 0xe1f0fff0,
83801 + &avr32_syntax_table[AVR32_SYNTAX_PSUBH_SH],
83802 + BFD_RELOC_UNUSED, 3, -1,
83803 + {
83804 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
83805 + &avr32_ifield_table[AVR32_IFIELD_RX],
83806 + &avr32_ifield_table[AVR32_IFIELD_RY],
83807 + },
83808 + },
83809 + {
83810 + AVR32_OPC_PSUBH_UB, 4, 0xe0002370, 0xe1f0fff0,
83811 + &avr32_syntax_table[AVR32_SYNTAX_PSUBH_UB],
83812 + BFD_RELOC_UNUSED, 3, -1,
83813 + {
83814 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
83815 + &avr32_ifield_table[AVR32_IFIELD_RX],
83816 + &avr32_ifield_table[AVR32_IFIELD_RY],
83817 + },
83818 + },
83819 + {
83820 + AVR32_OPC_PSUBS_SB, 4, 0xe0002330, 0xe1f0fff0,
83821 + &avr32_syntax_table[AVR32_SYNTAX_PSUBS_SB],
83822 + BFD_RELOC_UNUSED, 3, -1,
83823 + {
83824 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
83825 + &avr32_ifield_table[AVR32_IFIELD_RX],
83826 + &avr32_ifield_table[AVR32_IFIELD_RY],
83827 + },
83828 + },
83829 + {
83830 + AVR32_OPC_PSUBS_SH, 4, 0xe0002050, 0xe1f0fff0,
83831 + &avr32_syntax_table[AVR32_SYNTAX_PSUBS_SH],
83832 + BFD_RELOC_UNUSED, 3, -1,
83833 + {
83834 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
83835 + &avr32_ifield_table[AVR32_IFIELD_RX],
83836 + &avr32_ifield_table[AVR32_IFIELD_RY],
83837 + },
83838 + },
83839 + {
83840 + AVR32_OPC_PSUBS_UB, 4, 0xe0002350, 0xe1f0fff0,
83841 + &avr32_syntax_table[AVR32_SYNTAX_PSUBS_UB],
83842 + BFD_RELOC_UNUSED, 3, -1,
83843 + {
83844 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
83845 + &avr32_ifield_table[AVR32_IFIELD_RX],
83846 + &avr32_ifield_table[AVR32_IFIELD_RY],
83847 + },
83848 + },
83849 + {
83850 + AVR32_OPC_PSUBS_UH, 4, 0xe0002090, 0xe1f0fff0,
83851 + &avr32_syntax_table[AVR32_SYNTAX_PSUBS_UH],
83852 + BFD_RELOC_UNUSED, 3, -1,
83853 + {
83854 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
83855 + &avr32_ifield_table[AVR32_IFIELD_RX],
83856 + &avr32_ifield_table[AVR32_IFIELD_RY],
83857 + },
83858 + },
83859 + {
83860 + AVR32_OPC_PSUBX_H, 4, 0xe0002030, 0xe1f0fff0,
83861 + &avr32_syntax_table[AVR32_SYNTAX_PSUBX_H],
83862 + BFD_RELOC_UNUSED, 3, -1,
83863 + {
83864 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
83865 + &avr32_ifield_table[AVR32_IFIELD_RX],
83866 + &avr32_ifield_table[AVR32_IFIELD_RY],
83867 + },
83868 + },
83869 + {
83870 + AVR32_OPC_PSUBXH_SH, 4, 0xe00020f0, 0xe1f0fff0,
83871 + &avr32_syntax_table[AVR32_SYNTAX_PSUBXH_SH],
83872 + BFD_RELOC_UNUSED, 3, -1,
83873 + {
83874 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
83875 + &avr32_ifield_table[AVR32_IFIELD_RX],
83876 + &avr32_ifield_table[AVR32_IFIELD_RY],
83877 + },
83878 + },
83879 + {
83880 + AVR32_OPC_PSUBXS_SH, 4, 0xe0002070, 0xe1f0fff0,
83881 + &avr32_syntax_table[AVR32_SYNTAX_PSUBXS_SH],
83882 + BFD_RELOC_UNUSED, 3, -1,
83883 + {
83884 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
83885 + &avr32_ifield_table[AVR32_IFIELD_RX],
83886 + &avr32_ifield_table[AVR32_IFIELD_RY],
83887 + },
83888 + },
83889 + {
83890 + AVR32_OPC_PSUBXS_UH, 4, 0xe00020b0, 0xe1f0fff0,
83891 + &avr32_syntax_table[AVR32_SYNTAX_PSUBXS_UH],
83892 + BFD_RELOC_UNUSED, 3, -1,
83893 + {
83894 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
83895 + &avr32_ifield_table[AVR32_IFIELD_RX],
83896 + &avr32_ifield_table[AVR32_IFIELD_RY],
83897 + },
83898 + },
83899 + {
83900 + AVR32_OPC_PUNPCKSB_H, 4, 0xe00024a0, 0xe1ffffe0,
83901 + &avr32_syntax_table[AVR32_SYNTAX_PUNPCKSB_H],
83902 + BFD_RELOC_UNUSED, 3, -1,
83903 + {
83904 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
83905 + &avr32_ifield_table[AVR32_IFIELD_RX],
83906 + &avr32_ifield_table[AVR32_IFIELD_Y],
83907 + },
83908 + },
83909 + {
83910 + AVR32_OPC_PUNPCKUB_H, 4, 0xe0002480, 0xe1ffffe0,
83911 + &avr32_syntax_table[AVR32_SYNTAX_PUNPCKUB_H],
83912 + BFD_RELOC_UNUSED, 3, -1,
83913 + {
83914 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
83915 + &avr32_ifield_table[AVR32_IFIELD_RX],
83916 + &avr32_ifield_table[AVR32_IFIELD_Y],
83917 + },
83918 + },
83919 + {
83920 + AVR32_OPC_PUSHJC, 2, 0xd7230000, 0xffff0000,
83921 + &avr32_syntax_table[AVR32_SYNTAX_PUSHJC],
83922 + BFD_RELOC_UNUSED, 0, -1, { NULL },
83923 + },
83924 + {
83925 + AVR32_OPC_PUSHM, 2, 0xd0010000, 0xf00f0000,
83926 + &avr32_syntax_table[AVR32_SYNTAX_PUSHM],
83927 + BFD_RELOC_UNUSED, 1, -1,
83928 + {
83929 + &avr32_ifield_table[AVR32_IFIELD_K8C],
83930 + },
83931 + },
83932 + {
83933 + AVR32_OPC_PUSHM_E, 4, 0xebcd0000, 0xffff0000,
83934 + &avr32_syntax_table[AVR32_SYNTAX_PUSHM_E],
83935 + BFD_RELOC_UNUSED, 1, -1,
83936 + {
83937 + &avr32_ifield_table[AVR32_IFIELD_K16],
83938 + },
83939 + },
83940 + {
83941 + AVR32_OPC_RCALL1, 2, 0xc00c0000, 0xf00c0000,
83942 + &avr32_syntax_table[AVR32_SYNTAX_RCALL1],
83943 + BFD_RELOC_AVR32_11H_PCREL, 1, 0,
83944 + {
83945 + &avr32_ifield_table[AVR32_IFIELD_K10],
83946 + },
83947 + },
83948 + {
83949 + AVR32_OPC_RCALL2, 4, 0xe0a00000, 0xe1ef0000,
83950 + &avr32_syntax_table[AVR32_SYNTAX_RCALL2],
83951 + BFD_RELOC_AVR32_22H_PCREL, 1, 0,
83952 + {
83953 + &avr32_ifield_table[AVR32_IFIELD_K21],
83954 + },
83955 + },
83956 + {
83957 + AVR32_OPC_RETEQ, 2, 0x5e000000, 0xfff00000,
83958 + &avr32_syntax_table[AVR32_SYNTAX_RETEQ],
83959 + BFD_RELOC_NONE, 1, -1,
83960 + {
83961 + &avr32_ifield_table[AVR32_IFIELD_RY],
83962 + },
83963 + },
83964 + {
83965 + AVR32_OPC_RETNE, 2, 0x5e100000, 0xfff00000,
83966 + &avr32_syntax_table[AVR32_SYNTAX_RETNE],
83967 + BFD_RELOC_NONE, 1, -1,
83968 + {
83969 + &avr32_ifield_table[AVR32_IFIELD_RY],
83970 + },
83971 + },
83972 + {
83973 + AVR32_OPC_RETCC, 2, 0x5e200000, 0xfff00000,
83974 + &avr32_syntax_table[AVR32_SYNTAX_RETHS],
83975 + BFD_RELOC_NONE, 1, -1,
83976 + {
83977 + &avr32_ifield_table[AVR32_IFIELD_RY],
83978 + },
83979 + },
83980 + {
83981 + AVR32_OPC_RETCS, 2, 0x5e300000, 0xfff00000,
83982 + &avr32_syntax_table[AVR32_SYNTAX_RETLO],
83983 + BFD_RELOC_NONE, 1, -1,
83984 + {
83985 + &avr32_ifield_table[AVR32_IFIELD_RY],
83986 + },
83987 + },
83988 + {
83989 + AVR32_OPC_RETGE, 2, 0x5e400000, 0xfff00000,
83990 + &avr32_syntax_table[AVR32_SYNTAX_RETGE],
83991 + BFD_RELOC_NONE, 1, -1,
83992 + {
83993 + &avr32_ifield_table[AVR32_IFIELD_RY],
83994 + },
83995 + },
83996 + {
83997 + AVR32_OPC_RETLT, 2, 0x5e500000, 0xfff00000,
83998 + &avr32_syntax_table[AVR32_SYNTAX_RETLT],
83999 + BFD_RELOC_NONE, 1, -1,
84000 + {
84001 + &avr32_ifield_table[AVR32_IFIELD_RY],
84002 + },
84003 + },
84004 + {
84005 + AVR32_OPC_RETMI, 2, 0x5e600000, 0xfff00000,
84006 + &avr32_syntax_table[AVR32_SYNTAX_RETMI],
84007 + BFD_RELOC_NONE, 1, -1,
84008 + {
84009 + &avr32_ifield_table[AVR32_IFIELD_RY],
84010 + },
84011 + },
84012 + {
84013 + AVR32_OPC_RETPL, 2, 0x5e700000, 0xfff00000,
84014 + &avr32_syntax_table[AVR32_SYNTAX_RETPL],
84015 + BFD_RELOC_NONE, 1, -1,
84016 + {
84017 + &avr32_ifield_table[AVR32_IFIELD_RY],
84018 + },
84019 + },
84020 + {
84021 + AVR32_OPC_RETLS, 2, 0x5e800000, 0xfff00000,
84022 + &avr32_syntax_table[AVR32_SYNTAX_RETLS],
84023 + BFD_RELOC_NONE, 1, -1,
84024 + {
84025 + &avr32_ifield_table[AVR32_IFIELD_RY],
84026 + },
84027 + },
84028 + {
84029 + AVR32_OPC_RETGT, 2, 0x5e900000, 0xfff00000,
84030 + &avr32_syntax_table[AVR32_SYNTAX_RETGT],
84031 + BFD_RELOC_NONE, 1, -1,
84032 + {
84033 + &avr32_ifield_table[AVR32_IFIELD_RY],
84034 + },
84035 + },
84036 + {
84037 + AVR32_OPC_RETLE, 2, 0x5ea00000, 0xfff00000,
84038 + &avr32_syntax_table[AVR32_SYNTAX_RETLE],
84039 + BFD_RELOC_NONE, 1, -1,
84040 + {
84041 + &avr32_ifield_table[AVR32_IFIELD_RY],
84042 + },
84043 + },
84044 + {
84045 + AVR32_OPC_RETHI, 2, 0x5eb00000, 0xfff00000,
84046 + &avr32_syntax_table[AVR32_SYNTAX_RETHI],
84047 + BFD_RELOC_NONE, 1, -1,
84048 + {
84049 + &avr32_ifield_table[AVR32_IFIELD_RY],
84050 + },
84051 + },
84052 + {
84053 + AVR32_OPC_RETVS, 2, 0x5ec00000, 0xfff00000,
84054 + &avr32_syntax_table[AVR32_SYNTAX_RETVS],
84055 + BFD_RELOC_NONE, 1, -1,
84056 + {
84057 + &avr32_ifield_table[AVR32_IFIELD_RY],
84058 + },
84059 + },
84060 + {
84061 + AVR32_OPC_RETVC, 2, 0x5ed00000, 0xfff00000,
84062 + &avr32_syntax_table[AVR32_SYNTAX_RETVC],
84063 + BFD_RELOC_NONE, 1, -1,
84064 + {
84065 + &avr32_ifield_table[AVR32_IFIELD_RY],
84066 + },
84067 + },
84068 + {
84069 + AVR32_OPC_RETQS, 2, 0x5ee00000, 0xfff00000,
84070 + &avr32_syntax_table[AVR32_SYNTAX_RETQS],
84071 + BFD_RELOC_NONE, 1, -1,
84072 + {
84073 + &avr32_ifield_table[AVR32_IFIELD_RY],
84074 + },
84075 + },
84076 + {
84077 + AVR32_OPC_RETAL, 2, 0x5ef00000, 0xfff00000,
84078 + &avr32_syntax_table[AVR32_SYNTAX_RETAL],
84079 + BFD_RELOC_NONE, 1, -1,
84080 + {
84081 + &avr32_ifield_table[AVR32_IFIELD_RY],
84082 + },
84083 + },
84084 + {
84085 + AVR32_OPC_RETD, 2, 0xd6230000, 0xffff0000,
84086 + &avr32_syntax_table[AVR32_SYNTAX_RETD],
84087 + BFD_RELOC_NONE, 0, -1, { NULL },
84088 + },
84089 + {
84090 + AVR32_OPC_RETE, 2, 0xd6030000, 0xffff0000,
84091 + &avr32_syntax_table[AVR32_SYNTAX_RETE],
84092 + BFD_RELOC_NONE, 0, -1, { NULL },
84093 + },
84094 + {
84095 + AVR32_OPC_RETJ, 2, 0xd6330000, 0xffff0000,
84096 + &avr32_syntax_table[AVR32_SYNTAX_RETJ],
84097 + BFD_RELOC_NONE, 0, -1, { NULL },
84098 + },
84099 + {
84100 + AVR32_OPC_RETS, 2, 0xd6130000, 0xffff0000,
84101 + &avr32_syntax_table[AVR32_SYNTAX_RETS],
84102 + BFD_RELOC_NONE, 0, -1, { NULL },
84103 + },
84104 + {
84105 + AVR32_OPC_RJMP, 2, 0xc0080000, 0xf00c0000,
84106 + &avr32_syntax_table[AVR32_SYNTAX_RJMP],
84107 + BFD_RELOC_AVR32_11H_PCREL, 1, 0,
84108 + {
84109 + &avr32_ifield_table[AVR32_IFIELD_K10],
84110 + },
84111 + },
84112 + {
84113 + AVR32_OPC_ROL, 2, 0x5cf00000, 0xfff00000,
84114 + &avr32_syntax_table[AVR32_SYNTAX_ROL],
84115 + BFD_RELOC_UNUSED, 1, -1,
84116 + {
84117 + &avr32_ifield_table[AVR32_IFIELD_RY],
84118 + }
84119 + },
84120 + {
84121 + AVR32_OPC_ROR, 2, 0x5d000000, 0xfff00000,
84122 + &avr32_syntax_table[AVR32_SYNTAX_ROR],
84123 + BFD_RELOC_UNUSED, 1, -1,
84124 + {
84125 + &avr32_ifield_table[AVR32_IFIELD_RY],
84126 + }
84127 + },
84128 + {
84129 + AVR32_OPC_RSUB1, 2, 0x00200000, 0xe1f00000,
84130 + &avr32_syntax_table[AVR32_SYNTAX_RSUB1],
84131 + BFD_RELOC_UNUSED, 2, -1,
84132 + {
84133 + &avr32_ifield_table[AVR32_IFIELD_RY],
84134 + &avr32_ifield_table[AVR32_IFIELD_RX],
84135 + },
84136 + },
84137 + {
84138 + AVR32_OPC_RSUB2, 4, 0xe0001100, 0xe1f0ff00,
84139 + &avr32_syntax_table[AVR32_SYNTAX_RSUB2],
84140 + BFD_RELOC_AVR32_8S_EXT, 3, 2,
84141 + {
84142 + &avr32_ifield_table[AVR32_IFIELD_RY],
84143 + &avr32_ifield_table[AVR32_IFIELD_RX],
84144 + &avr32_ifield_table[AVR32_IFIELD_K8E],
84145 + },
84146 + },
84147 + {
84148 + AVR32_OPC_SATADD_H, 4, 0xe00002c0, 0xe1f0fff0,
84149 + &avr32_syntax_table[AVR32_SYNTAX_SATADD_H],
84150 + BFD_RELOC_UNUSED, 3, -1,
84151 + {
84152 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
84153 + &avr32_ifield_table[AVR32_IFIELD_RX],
84154 + &avr32_ifield_table[AVR32_IFIELD_RY],
84155 + },
84156 + },
84157 + {
84158 + AVR32_OPC_SATADD_W, 4, 0xe00000c0, 0xe1f0fff0,
84159 + &avr32_syntax_table[AVR32_SYNTAX_SATADD_W],
84160 + BFD_RELOC_UNUSED, 3, -1,
84161 + {
84162 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
84163 + &avr32_ifield_table[AVR32_IFIELD_RX],
84164 + &avr32_ifield_table[AVR32_IFIELD_RY],
84165 + },
84166 + },
84167 + {
84168 + AVR32_OPC_SATRNDS, 4, 0xf3b00000, 0xfff0fc00,
84169 + &avr32_syntax_table[AVR32_SYNTAX_SATRNDS],
84170 + BFD_RELOC_UNUSED, 3, -1,
84171 + {
84172 + &avr32_ifield_table[AVR32_IFIELD_RY],
84173 + &avr32_ifield_table[AVR32_IFIELD_K5E],
84174 + &avr32_ifield_table[AVR32_IFIELD_S5],
84175 + },
84176 + },
84177 + {
84178 + AVR32_OPC_SATRNDU, 4, 0xf3b00400, 0xfff0fc00,
84179 + &avr32_syntax_table[AVR32_SYNTAX_SATRNDU],
84180 + BFD_RELOC_UNUSED, 3, -1,
84181 + {
84182 + &avr32_ifield_table[AVR32_IFIELD_RY],
84183 + &avr32_ifield_table[AVR32_IFIELD_K5E],
84184 + &avr32_ifield_table[AVR32_IFIELD_S5],
84185 + },
84186 + },
84187 + {
84188 + AVR32_OPC_SATS, 4, 0xf1b00000, 0xfff0fc00,
84189 + &avr32_syntax_table[AVR32_SYNTAX_SATS],
84190 + BFD_RELOC_UNUSED, 3, -1,
84191 + {
84192 + &avr32_ifield_table[AVR32_IFIELD_RY],
84193 + &avr32_ifield_table[AVR32_IFIELD_K5E],
84194 + &avr32_ifield_table[AVR32_IFIELD_S5],
84195 + },
84196 + },
84197 + {
84198 + AVR32_OPC_SATSUB_H, 4, 0xe00003c0, 0xe1f0fff0,
84199 + &avr32_syntax_table[AVR32_SYNTAX_SATSUB_H],
84200 + BFD_RELOC_UNUSED, 3, -1,
84201 + {
84202 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
84203 + &avr32_ifield_table[AVR32_IFIELD_RX],
84204 + &avr32_ifield_table[AVR32_IFIELD_RY],
84205 + },
84206 + },
84207 + {
84208 + AVR32_OPC_SATSUB_W1, 4, 0xe00001c0, 0xe1f0fff0,
84209 + &avr32_syntax_table[AVR32_SYNTAX_SATSUB_W1],
84210 + BFD_RELOC_UNUSED, 3, -1,
84211 + {
84212 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
84213 + &avr32_ifield_table[AVR32_IFIELD_RX],
84214 + &avr32_ifield_table[AVR32_IFIELD_RY],
84215 + },
84216 + },
84217 + {
84218 + AVR32_OPC_SATSUB_W2, 4, 0xe0d00000, 0xe1f00000,
84219 + &avr32_syntax_table[AVR32_SYNTAX_SATSUB_W2],
84220 + BFD_RELOC_UNUSED, 3, -1,
84221 + {
84222 + &avr32_ifield_table[AVR32_IFIELD_RY],
84223 + &avr32_ifield_table[AVR32_IFIELD_RX],
84224 + &avr32_ifield_table[AVR32_IFIELD_K16],
84225 + },
84226 + },
84227 + {
84228 + AVR32_OPC_SATU, 4, 0xf1b00400, 0xfff0fc00,
84229 + &avr32_syntax_table[AVR32_SYNTAX_SATU],
84230 + BFD_RELOC_UNUSED, 3, -1,
84231 + {
84232 + &avr32_ifield_table[AVR32_IFIELD_RY],
84233 + &avr32_ifield_table[AVR32_IFIELD_K5E],
84234 + &avr32_ifield_table[AVR32_IFIELD_S5],
84235 + },
84236 + },
84237 + {
84238 + AVR32_OPC_SBC, 4, 0xe0000140, 0xe1f0fff0,
84239 + &avr32_syntax_table[AVR32_SYNTAX_SBC],
84240 + BFD_RELOC_UNUSED, 3, -1,
84241 + {
84242 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
84243 + &avr32_ifield_table[AVR32_IFIELD_RX],
84244 + &avr32_ifield_table[AVR32_IFIELD_RY],
84245 + },
84246 + },
84247 + {
84248 + AVR32_OPC_SBR, 2, 0xa1a00000, 0xe1e00000,
84249 + &avr32_syntax_table[AVR32_SYNTAX_SBR],
84250 + BFD_RELOC_UNUSED, 2, -1,
84251 + {
84252 + &avr32_ifield_table[AVR32_IFIELD_RY],
84253 + &avr32_ifield_table[AVR32_IFIELD_BIT5C],
84254 + },
84255 + },
84256 + {
84257 + AVR32_OPC_SCALL, 2, 0xd7330000, 0xffff0000,
84258 + &avr32_syntax_table[AVR32_SYNTAX_SCALL],
84259 + BFD_RELOC_UNUSED, 0, -1, { NULL },
84260 + },
84261 + {
84262 + AVR32_OPC_SCR, 2, 0x5c100000, 0xfff00000,
84263 + &avr32_syntax_table[AVR32_SYNTAX_SCR],
84264 + BFD_RELOC_UNUSED, 1, -1,
84265 + {
84266 + &avr32_ifield_table[AVR32_IFIELD_RY],
84267 + },
84268 + },
84269 + {
84270 + AVR32_OPC_SLEEP, 4, 0xe9b00000, 0xffffff00,
84271 + &avr32_syntax_table[AVR32_SYNTAX_SLEEP],
84272 + BFD_RELOC_AVR32_8S_EXT, 1, 0,
84273 + {
84274 + &avr32_ifield_table[AVR32_IFIELD_K8E],
84275 + },
84276 + },
84277 + {
84278 + AVR32_OPC_SREQ, 2, 0x5f000000, 0xfff00000,
84279 + &avr32_syntax_table[AVR32_SYNTAX_SREQ],
84280 + BFD_RELOC_UNUSED, 1, -1,
84281 + {
84282 + &avr32_ifield_table[AVR32_IFIELD_RY],
84283 + },
84284 + },
84285 + {
84286 + AVR32_OPC_SRNE, 2, 0x5f100000, 0xfff00000,
84287 + &avr32_syntax_table[AVR32_SYNTAX_SRNE],
84288 + BFD_RELOC_UNUSED, 1, -1,
84289 + {
84290 + &avr32_ifield_table[AVR32_IFIELD_RY],
84291 + },
84292 + },
84293 + {
84294 + AVR32_OPC_SRCC, 2, 0x5f200000, 0xfff00000,
84295 + &avr32_syntax_table[AVR32_SYNTAX_SRHS],
84296 + BFD_RELOC_UNUSED, 1, -1,
84297 + {
84298 + &avr32_ifield_table[AVR32_IFIELD_RY],
84299 + },
84300 + },
84301 + {
84302 + AVR32_OPC_SRCS, 2, 0x5f300000, 0xfff00000,
84303 + &avr32_syntax_table[AVR32_SYNTAX_SRLO],
84304 + BFD_RELOC_UNUSED, 1, -1,
84305 + {
84306 + &avr32_ifield_table[AVR32_IFIELD_RY],
84307 + },
84308 + },
84309 + {
84310 + AVR32_OPC_SRGE, 2, 0x5f400000, 0xfff00000,
84311 + &avr32_syntax_table[AVR32_SYNTAX_SRGE],
84312 + BFD_RELOC_UNUSED, 1, -1,
84313 + {
84314 + &avr32_ifield_table[AVR32_IFIELD_RY],
84315 + },
84316 + },
84317 + {
84318 + AVR32_OPC_SRLT, 2, 0x5f500000, 0xfff00000,
84319 + &avr32_syntax_table[AVR32_SYNTAX_SRLT],
84320 + BFD_RELOC_UNUSED, 1, -1,
84321 + {
84322 + &avr32_ifield_table[AVR32_IFIELD_RY],
84323 + },
84324 + },
84325 + {
84326 + AVR32_OPC_SRMI, 2, 0x5f600000, 0xfff00000,
84327 + &avr32_syntax_table[AVR32_SYNTAX_SRMI],
84328 + BFD_RELOC_UNUSED, 1, -1,
84329 + {
84330 + &avr32_ifield_table[AVR32_IFIELD_RY],
84331 + },
84332 + },
84333 + {
84334 + AVR32_OPC_SRPL, 2, 0x5f700000, 0xfff00000,
84335 + &avr32_syntax_table[AVR32_SYNTAX_SRPL],
84336 + BFD_RELOC_UNUSED, 1, -1,
84337 + {
84338 + &avr32_ifield_table[AVR32_IFIELD_RY],
84339 + },
84340 + },
84341 + {
84342 + AVR32_OPC_SRLS, 2, 0x5f800000, 0xfff00000,
84343 + &avr32_syntax_table[AVR32_SYNTAX_SRLS],
84344 + BFD_RELOC_UNUSED, 1, -1,
84345 + {
84346 + &avr32_ifield_table[AVR32_IFIELD_RY],
84347 + },
84348 + },
84349 + {
84350 + AVR32_OPC_SRGT, 2, 0x5f900000, 0xfff00000,
84351 + &avr32_syntax_table[AVR32_SYNTAX_SRGT],
84352 + BFD_RELOC_UNUSED, 1, -1,
84353 + {
84354 + &avr32_ifield_table[AVR32_IFIELD_RY],
84355 + },
84356 + },
84357 + {
84358 + AVR32_OPC_SRLE, 2, 0x5fa00000, 0xfff00000,
84359 + &avr32_syntax_table[AVR32_SYNTAX_SRLE],
84360 + BFD_RELOC_UNUSED, 1, -1,
84361 + {
84362 + &avr32_ifield_table[AVR32_IFIELD_RY],
84363 + },
84364 + },
84365 + {
84366 + AVR32_OPC_SRHI, 2, 0x5fb00000, 0xfff00000,
84367 + &avr32_syntax_table[AVR32_SYNTAX_SRHI],
84368 + BFD_RELOC_UNUSED, 1, -1,
84369 + {
84370 + &avr32_ifield_table[AVR32_IFIELD_RY],
84371 + },
84372 + },
84373 + {
84374 + AVR32_OPC_SRVS, 2, 0x5fc00000, 0xfff00000,
84375 + &avr32_syntax_table[AVR32_SYNTAX_SRVS],
84376 + BFD_RELOC_UNUSED, 1, -1,
84377 + {
84378 + &avr32_ifield_table[AVR32_IFIELD_RY],
84379 + },
84380 + },
84381 + {
84382 + AVR32_OPC_SRVC, 2, 0x5fd00000, 0xfff00000,
84383 + &avr32_syntax_table[AVR32_SYNTAX_SRVC],
84384 + BFD_RELOC_UNUSED, 1, -1,
84385 + {
84386 + &avr32_ifield_table[AVR32_IFIELD_RY],
84387 + },
84388 + },
84389 + {
84390 + AVR32_OPC_SRQS, 2, 0x5fe00000, 0xfff00000,
84391 + &avr32_syntax_table[AVR32_SYNTAX_SRQS],
84392 + BFD_RELOC_UNUSED, 1, -1,
84393 + {
84394 + &avr32_ifield_table[AVR32_IFIELD_RY],
84395 + },
84396 + },
84397 + {
84398 + AVR32_OPC_SRAL, 2, 0x5ff00000, 0xfff00000,
84399 + &avr32_syntax_table[AVR32_SYNTAX_SRAL],
84400 + BFD_RELOC_UNUSED, 1, -1,
84401 + {
84402 + &avr32_ifield_table[AVR32_IFIELD_RY],
84403 + },
84404 + },
84405 + {
84406 + AVR32_OPC_SSRF, 2, 0xd2030000, 0xfe0f0000,
84407 + &avr32_syntax_table[AVR32_SYNTAX_SSRF],
84408 + BFD_RELOC_UNUSED, 1, -1,
84409 + {
84410 + &avr32_ifield_table[AVR32_IFIELD_K5C],
84411 + },
84412 + },
84413 + {
84414 + AVR32_OPC_ST_B1, 2, 0x00c00000, 0xe1f00000,
84415 + &avr32_syntax_table[AVR32_SYNTAX_ST_B1],
84416 + BFD_RELOC_UNUSED, 2, -1,
84417 + {
84418 + &avr32_ifield_table[AVR32_IFIELD_RX],
84419 + &avr32_ifield_table[AVR32_IFIELD_RY],
84420 + },
84421 + },
84422 + {
84423 + AVR32_OPC_ST_B2, 2, 0x00f00000, 0xe1f00000,
84424 + &avr32_syntax_table[AVR32_SYNTAX_ST_B2],
84425 + BFD_RELOC_UNUSED, 2, -1,
84426 + {
84427 + &avr32_ifield_table[AVR32_IFIELD_RX],
84428 + &avr32_ifield_table[AVR32_IFIELD_RY],
84429 + },
84430 + },
84431 + {
84432 + AVR32_OPC_ST_B5, 4, 0xe0000b00, 0xe1f0ffc0,
84433 + &avr32_syntax_table[AVR32_SYNTAX_ST_B5],
84434 + BFD_RELOC_UNUSED, 4, -1,
84435 + {
84436 + &avr32_ifield_table[AVR32_IFIELD_RX],
84437 + &avr32_ifield_table[AVR32_IFIELD_RY],
84438 + &avr32_ifield_table[AVR32_IFIELD_K2],
84439 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
84440 + },
84441 + },
84442 + {
84443 + AVR32_OPC_ST_B3, 2, 0xa0800000, 0xe1800000,
84444 + &avr32_syntax_table[AVR32_SYNTAX_ST_B3],
84445 + BFD_RELOC_AVR32_3U, 3, 1,
84446 + {
84447 + &avr32_ifield_table[AVR32_IFIELD_RX],
84448 + &avr32_ifield_table[AVR32_IFIELD_K3],
84449 + &avr32_ifield_table[AVR32_IFIELD_RY],
84450 + },
84451 + },
84452 + {
84453 + AVR32_OPC_ST_B4, 4, 0xe1600000, 0xe1f00000,
84454 + &avr32_syntax_table[AVR32_SYNTAX_ST_B4],
84455 + BFD_RELOC_AVR32_16S, 3, 1,
84456 + {
84457 + &avr32_ifield_table[AVR32_IFIELD_RX],
84458 + &avr32_ifield_table[AVR32_IFIELD_K16],
84459 + &avr32_ifield_table[AVR32_IFIELD_RY],
84460 + },
84461 + },
84462 + {
84463 + AVR32_OPC_ST_D1, 2, 0xa1200000, 0xe1f10000,
84464 + &avr32_syntax_table[AVR32_SYNTAX_ST_D1],
84465 + BFD_RELOC_UNUSED, 2, -1,
84466 + {
84467 + &avr32_ifield_table[AVR32_IFIELD_RX],
84468 + &avr32_ifield_table[AVR32_IFIELD_RY_DW],
84469 + },
84470 + },
84471 + {
84472 + AVR32_OPC_ST_D2, 2, 0xa1210000, 0xe1f10000,
84473 + &avr32_syntax_table[AVR32_SYNTAX_ST_D2],
84474 + BFD_RELOC_UNUSED, 2, -1,
84475 + {
84476 + &avr32_ifield_table[AVR32_IFIELD_RX],
84477 + &avr32_ifield_table[AVR32_IFIELD_RY_DW],
84478 + },
84479 + },
84480 + {
84481 + AVR32_OPC_ST_D3, 2, 0xa1110000, 0xe1f10000,
84482 + &avr32_syntax_table[AVR32_SYNTAX_ST_D3],
84483 + BFD_RELOC_UNUSED, 2, -1,
84484 + {
84485 + &avr32_ifield_table[AVR32_IFIELD_RX],
84486 + &avr32_ifield_table[AVR32_IFIELD_RY_DW],
84487 + },
84488 + },
84489 + {
84490 + AVR32_OPC_ST_D5, 4, 0xe0000800, 0xe1f0ffc1,
84491 + &avr32_syntax_table[AVR32_SYNTAX_ST_D5],
84492 + BFD_RELOC_UNUSED, 4, -1,
84493 + {
84494 + &avr32_ifield_table[AVR32_IFIELD_RX],
84495 + &avr32_ifield_table[AVR32_IFIELD_RY],
84496 + &avr32_ifield_table[AVR32_IFIELD_K2],
84497 + &avr32_ifield_table[AVR32_IFIELD_RD_DW],
84498 + },
84499 + },
84500 + {
84501 + AVR32_OPC_ST_D4, 4, 0xe0e10000, 0xe1f10000,
84502 + &avr32_syntax_table[AVR32_SYNTAX_ST_D4],
84503 + BFD_RELOC_AVR32_16S, 3, 1,
84504 + {
84505 + &avr32_ifield_table[AVR32_IFIELD_RX],
84506 + &avr32_ifield_table[AVR32_IFIELD_K16],
84507 + &avr32_ifield_table[AVR32_IFIELD_RY_DW],
84508 + },
84509 + },
84510 + {
84511 + AVR32_OPC_ST_H1, 2, 0x00b00000, 0xe1f00000,
84512 + &avr32_syntax_table[AVR32_SYNTAX_ST_H1],
84513 + BFD_RELOC_UNUSED, 2, -1,
84514 + {
84515 + &avr32_ifield_table[AVR32_IFIELD_RX],
84516 + &avr32_ifield_table[AVR32_IFIELD_RY],
84517 + },
84518 + },
84519 + {
84520 + AVR32_OPC_ST_H2, 2, 0x00e00000, 0xe1f00000,
84521 + &avr32_syntax_table[AVR32_SYNTAX_ST_H2],
84522 + BFD_RELOC_UNUSED, 2, -1,
84523 + {
84524 + &avr32_ifield_table[AVR32_IFIELD_RX],
84525 + &avr32_ifield_table[AVR32_IFIELD_RY],
84526 + },
84527 + },
84528 + {
84529 + AVR32_OPC_ST_H5, 4, 0xe0000a00, 0xe1f0ffc0,
84530 + &avr32_syntax_table[AVR32_SYNTAX_ST_H5],
84531 + BFD_RELOC_UNUSED, 4, -1,
84532 + {
84533 + &avr32_ifield_table[AVR32_IFIELD_RX],
84534 + &avr32_ifield_table[AVR32_IFIELD_RY],
84535 + &avr32_ifield_table[AVR32_IFIELD_K2],
84536 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
84537 + },
84538 + },
84539 + {
84540 + AVR32_OPC_ST_H3, 2, 0xa0000000, 0xe1800000,
84541 + &avr32_syntax_table[AVR32_SYNTAX_ST_H3],
84542 + BFD_RELOC_AVR32_4UH, 3, 1,
84543 + {
84544 + &avr32_ifield_table[AVR32_IFIELD_RX],
84545 + &avr32_ifield_table[AVR32_IFIELD_K3],
84546 + &avr32_ifield_table[AVR32_IFIELD_RY],
84547 + },
84548 + },
84549 + {
84550 + AVR32_OPC_ST_H4, 4, 0xe1500000, 0xe1f00000,
84551 + &avr32_syntax_table[AVR32_SYNTAX_ST_H4],
84552 + BFD_RELOC_AVR32_16S, 3, 1,
84553 + {
84554 + &avr32_ifield_table[AVR32_IFIELD_RX],
84555 + &avr32_ifield_table[AVR32_IFIELD_K16],
84556 + &avr32_ifield_table[AVR32_IFIELD_RY],
84557 + },
84558 + },
84559 + {
84560 + AVR32_OPC_ST_W1, 2, 0x00a00000, 0xe1f00000,
84561 + &avr32_syntax_table[AVR32_SYNTAX_ST_W1],
84562 + BFD_RELOC_UNUSED, 2, -1,
84563 + {
84564 + &avr32_ifield_table[AVR32_IFIELD_RX],
84565 + &avr32_ifield_table[AVR32_IFIELD_RY],
84566 + },
84567 + },
84568 + {
84569 + AVR32_OPC_ST_W2, 2, 0x00d00000, 0xe1f00000,
84570 + &avr32_syntax_table[AVR32_SYNTAX_ST_W2],
84571 + BFD_RELOC_UNUSED, 2, -1,
84572 + {
84573 + &avr32_ifield_table[AVR32_IFIELD_RX],
84574 + &avr32_ifield_table[AVR32_IFIELD_RY],
84575 + },
84576 + },
84577 + {
84578 + AVR32_OPC_ST_W5, 4, 0xe0000900, 0xe1f0ffc0,
84579 + &avr32_syntax_table[AVR32_SYNTAX_ST_W5],
84580 + BFD_RELOC_UNUSED, 4, -1,
84581 + {
84582 + &avr32_ifield_table[AVR32_IFIELD_RX],
84583 + &avr32_ifield_table[AVR32_IFIELD_RY],
84584 + &avr32_ifield_table[AVR32_IFIELD_K2],
84585 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
84586 + },
84587 + },
84588 + {
84589 + AVR32_OPC_ST_W3, 2, 0x81000000, 0xe1000000,
84590 + &avr32_syntax_table[AVR32_SYNTAX_ST_W3],
84591 + BFD_RELOC_AVR32_6UW, 3, 1,
84592 + {
84593 + &avr32_ifield_table[AVR32_IFIELD_RX],
84594 + &avr32_ifield_table[AVR32_IFIELD_K4],
84595 + &avr32_ifield_table[AVR32_IFIELD_RY],
84596 + },
84597 + },
84598 + {
84599 + AVR32_OPC_ST_W4, 4, 0xe1400000, 0xe1f00000,
84600 + &avr32_syntax_table[AVR32_SYNTAX_ST_W4],
84601 + BFD_RELOC_AVR32_16S, 3, 1,
84602 + {
84603 + &avr32_ifield_table[AVR32_IFIELD_RX],
84604 + &avr32_ifield_table[AVR32_IFIELD_K16],
84605 + &avr32_ifield_table[AVR32_IFIELD_RY],
84606 + },
84607 + },
84608 + {
84609 + AVR32_OPC_STC_D1, 4, 0xeba01000, 0xfff01100,
84610 + &avr32_syntax_table[AVR32_SYNTAX_STC_D1],
84611 + BFD_RELOC_AVR32_10UW, 4, 2,
84612 + {
84613 + &avr32_ifield_table[AVR32_IFIELD_CPNO],
84614 + &avr32_ifield_table[AVR32_IFIELD_RY],
84615 + &avr32_ifield_table[AVR32_IFIELD_K8E],
84616 + &avr32_ifield_table[AVR32_IFIELD_CRD_DW],
84617 + },
84618 + },
84619 + {
84620 + AVR32_OPC_STC_D2, 4, 0xefa00070, 0xfff011f0,
84621 + &avr32_syntax_table[AVR32_SYNTAX_STC_D2],
84622 + BFD_RELOC_UNUSED, 3, -1,
84623 + {
84624 + &avr32_ifield_table[AVR32_IFIELD_CPNO],
84625 + &avr32_ifield_table[AVR32_IFIELD_RY],
84626 + &avr32_ifield_table[AVR32_IFIELD_CRD_DW],
84627 + },
84628 + },
84629 + {
84630 + AVR32_OPC_STC_D3, 4, 0xefa010c0, 0xfff011c0,
84631 + &avr32_syntax_table[AVR32_SYNTAX_STC_D3],
84632 + BFD_RELOC_UNUSED, 5, -1,
84633 + {
84634 + &avr32_ifield_table[AVR32_IFIELD_CPNO],
84635 + &avr32_ifield_table[AVR32_IFIELD_RY],
84636 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
84637 + &avr32_ifield_table[AVR32_IFIELD_K2],
84638 + &avr32_ifield_table[AVR32_IFIELD_CRD_DW],
84639 + },
84640 + },
84641 + {
84642 + AVR32_OPC_STC_W1, 4, 0xeba00000, 0xfff01000,
84643 + &avr32_syntax_table[AVR32_SYNTAX_STC_W1],
84644 + BFD_RELOC_AVR32_10UW, 4, 2,
84645 + {
84646 + &avr32_ifield_table[AVR32_IFIELD_CPNO],
84647 + &avr32_ifield_table[AVR32_IFIELD_RY],
84648 + &avr32_ifield_table[AVR32_IFIELD_K8E],
84649 + &avr32_ifield_table[AVR32_IFIELD_CRD_RI],
84650 + },
84651 + },
84652 + {
84653 + AVR32_OPC_STC_W2, 4, 0xefa00060, 0xfff010ff,
84654 + &avr32_syntax_table[AVR32_SYNTAX_STC_W2],
84655 + BFD_RELOC_UNUSED, 3, -1,
84656 + {
84657 + &avr32_ifield_table[AVR32_IFIELD_CPNO],
84658 + &avr32_ifield_table[AVR32_IFIELD_RY],
84659 + &avr32_ifield_table[AVR32_IFIELD_CRD_RI],
84660 + },
84661 + },
84662 + {
84663 + AVR32_OPC_STC_W3, 4, 0xefa01080, 0xfff010c0,
84664 + &avr32_syntax_table[AVR32_SYNTAX_STC_W3],
84665 + BFD_RELOC_UNUSED, 5, -1,
84666 + {
84667 + &avr32_ifield_table[AVR32_IFIELD_CPNO],
84668 + &avr32_ifield_table[AVR32_IFIELD_RY],
84669 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
84670 + &avr32_ifield_table[AVR32_IFIELD_K2],
84671 + &avr32_ifield_table[AVR32_IFIELD_CRD_RI],
84672 + },
84673 + },
84674 + {
84675 + AVR32_OPC_STC0_D, 4, 0xf7a00000, 0xfff00100,
84676 + &avr32_syntax_table[AVR32_SYNTAX_STC0_D],
84677 + BFD_RELOC_AVR32_14UW, 3, 1,
84678 + {
84679 + &avr32_ifield_table[AVR32_IFIELD_RY],
84680 + &avr32_ifield_table[AVR32_IFIELD_K12CP],
84681 + &avr32_ifield_table[AVR32_IFIELD_CRD_DW],
84682 + },
84683 + },
84684 + {
84685 + AVR32_OPC_STC0_W, 4, 0xf5a00000, 0xfff00000,
84686 + &avr32_syntax_table[AVR32_SYNTAX_STC0_W],
84687 + BFD_RELOC_AVR32_14UW, 3, 1,
84688 + {
84689 + &avr32_ifield_table[AVR32_IFIELD_RY],
84690 + &avr32_ifield_table[AVR32_IFIELD_K12CP],
84691 + &avr32_ifield_table[AVR32_IFIELD_CRD_RI],
84692 + },
84693 + },
84694 + {
84695 + AVR32_OPC_STCM_D, 4, 0xeda00500, 0xfff01f00,
84696 + &avr32_syntax_table[AVR32_SYNTAX_STCM_D],
84697 + BFD_RELOC_UNUSED, 3, -1,
84698 + {
84699 + &avr32_ifield_table[AVR32_IFIELD_CPNO],
84700 + &avr32_ifield_table[AVR32_IFIELD_RY],
84701 + &avr32_ifield_table[AVR32_IFIELD_K8E],
84702 + },
84703 + },
84704 + {
84705 + AVR32_OPC_STCM_D_PU, 4, 0xeda01500, 0xfff01f00,
84706 + &avr32_syntax_table[AVR32_SYNTAX_STCM_D_PU],
84707 + BFD_RELOC_UNUSED, 3, -1,
84708 + {
84709 + &avr32_ifield_table[AVR32_IFIELD_CPNO],
84710 + &avr32_ifield_table[AVR32_IFIELD_RY],
84711 + &avr32_ifield_table[AVR32_IFIELD_K8E],
84712 + },
84713 + },
84714 + {
84715 + AVR32_OPC_STCM_W, 4, 0xeda00200, 0xfff01e00,
84716 + &avr32_syntax_table[AVR32_SYNTAX_STCM_W],
84717 + BFD_RELOC_UNUSED, 4, -1,
84718 + {
84719 + &avr32_ifield_table[AVR32_IFIELD_CPNO],
84720 + &avr32_ifield_table[AVR32_IFIELD_RY],
84721 + &avr32_ifield_table[AVR32_IFIELD_K8E],
84722 + &avr32_ifield_table[AVR32_IFIELD_CM_HL],
84723 + },
84724 + },
84725 + {
84726 + AVR32_OPC_STCM_W_PU, 4, 0xeda01200, 0xfff01e00,
84727 + &avr32_syntax_table[AVR32_SYNTAX_STCM_W_PU],
84728 + BFD_RELOC_UNUSED, 4, -1,
84729 + {
84730 + &avr32_ifield_table[AVR32_IFIELD_CPNO],
84731 + &avr32_ifield_table[AVR32_IFIELD_RY],
84732 + &avr32_ifield_table[AVR32_IFIELD_K8E],
84733 + &avr32_ifield_table[AVR32_IFIELD_CM_HL],
84734 + },
84735 + },
84736 + {
84737 + AVR32_OPC_STCOND, 4, 0xe1700000, 0xe1f00000,
84738 + &avr32_syntax_table[AVR32_SYNTAX_STCOND],
84739 + BFD_RELOC_UNUSED, 3, -1,
84740 + {
84741 + &avr32_ifield_table[AVR32_IFIELD_RX],
84742 + &avr32_ifield_table[AVR32_IFIELD_K16],
84743 + &avr32_ifield_table[AVR32_IFIELD_RY],
84744 + },
84745 + },
84746 + {
84747 + AVR32_OPC_STDSP, 2, 0x50000000, 0xf8000000,
84748 + &avr32_syntax_table[AVR32_SYNTAX_STDSP],
84749 + BFD_RELOC_UNUSED, 2, -1,
84750 + {
84751 + &avr32_ifield_table[AVR32_IFIELD_K7C],
84752 + &avr32_ifield_table[AVR32_IFIELD_RY],
84753 + },
84754 + },
84755 + {
84756 + AVR32_OPC_STHH_W2, 4, 0xe1e08000, 0xe1f0c0c0,
84757 + &avr32_syntax_table[AVR32_SYNTAX_STHH_W2],
84758 + BFD_RELOC_UNUSED, 7, -1,
84759 + {
84760 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
84761 + &avr32_ifield_table[AVR32_IFIELD_CRD_RI],
84762 + &avr32_ifield_table[AVR32_IFIELD_K2],
84763 + &avr32_ifield_table[AVR32_IFIELD_RX],
84764 + &avr32_ifield_table[AVR32_IFIELD_X2],
84765 + &avr32_ifield_table[AVR32_IFIELD_RY],
84766 + &avr32_ifield_table[AVR32_IFIELD_Y2],
84767 + },
84768 + },
84769 + {
84770 + AVR32_OPC_STHH_W1, 4, 0xe1e0c000, 0xe1f0c000,
84771 + &avr32_syntax_table[AVR32_SYNTAX_STHH_W1],
84772 + BFD_RELOC_AVR32_STHH_W, 6, 1,
84773 + {
84774 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
84775 + &avr32_ifield_table[AVR32_IFIELD_K8E2],
84776 + &avr32_ifield_table[AVR32_IFIELD_RX],
84777 + &avr32_ifield_table[AVR32_IFIELD_X2],
84778 + &avr32_ifield_table[AVR32_IFIELD_RY],
84779 + &avr32_ifield_table[AVR32_IFIELD_Y2],
84780 + },
84781 + },
84782 + {
84783 + AVR32_OPC_STM, 4, 0xe9c00000, 0xfff00000,
84784 + &avr32_syntax_table[AVR32_SYNTAX_STM],
84785 + BFD_RELOC_UNUSED, 2, -1,
84786 + {
84787 + &avr32_ifield_table[AVR32_IFIELD_RY],
84788 + &avr32_ifield_table[AVR32_IFIELD_K16],
84789 + },
84790 + },
84791 + {
84792 + AVR32_OPC_STM_PU, 4, 0xebc00000, 0xfff00000,
84793 + &avr32_syntax_table[AVR32_SYNTAX_STM_PU],
84794 + BFD_RELOC_UNUSED, 2, -1,
84795 + {
84796 + &avr32_ifield_table[AVR32_IFIELD_RY],
84797 + &avr32_ifield_table[AVR32_IFIELD_K16],
84798 + },
84799 + },
84800 + {
84801 + AVR32_OPC_STMTS, 4, 0xedc00000, 0xfff00000,
84802 + &avr32_syntax_table[AVR32_SYNTAX_STMTS],
84803 + BFD_RELOC_UNUSED, 2, -1,
84804 + {
84805 + &avr32_ifield_table[AVR32_IFIELD_RY],
84806 + &avr32_ifield_table[AVR32_IFIELD_K16],
84807 + },
84808 + },
84809 + {
84810 + AVR32_OPC_STMTS_PU, 4, 0xefc00000, 0xfff00000,
84811 + &avr32_syntax_table[AVR32_SYNTAX_STMTS_PU],
84812 + BFD_RELOC_UNUSED, 2, -1,
84813 + {
84814 + &avr32_ifield_table[AVR32_IFIELD_RY],
84815 + &avr32_ifield_table[AVR32_IFIELD_K16],
84816 + },
84817 + },
84818 + {
84819 + AVR32_OPC_STSWP_H, 4, 0xe1d09000, 0xe1f0f000,
84820 + &avr32_syntax_table[AVR32_SYNTAX_STSWP_H],
84821 + BFD_RELOC_UNUSED, 3, -1,
84822 + {
84823 + &avr32_ifield_table[AVR32_IFIELD_RX],
84824 + &avr32_ifield_table[AVR32_IFIELD_K12],
84825 + &avr32_ifield_table[AVR32_IFIELD_RY],
84826 + },
84827 + },
84828 + {
84829 + AVR32_OPC_STSWP_W, 4, 0xe1d0a000, 0xe1f0f000,
84830 + &avr32_syntax_table[AVR32_SYNTAX_STSWP_W],
84831 + BFD_RELOC_UNUSED, 3, -1,
84832 + {
84833 + &avr32_ifield_table[AVR32_IFIELD_RX],
84834 + &avr32_ifield_table[AVR32_IFIELD_K12],
84835 + &avr32_ifield_table[AVR32_IFIELD_RY],
84836 + },
84837 + },
84838 + {
84839 + AVR32_OPC_SUB1, 2, 0x00100000, 0xe1f00000,
84840 + &avr32_syntax_table[AVR32_SYNTAX_SUB1],
84841 + BFD_RELOC_UNUSED, 2, -1,
84842 + {
84843 + &avr32_ifield_table[AVR32_IFIELD_RY],
84844 + &avr32_ifield_table[AVR32_IFIELD_RX],
84845 + },
84846 + },
84847 + {
84848 + AVR32_OPC_SUB2, 4, 0xe0000100, 0xe1f0ffc0,
84849 + &avr32_syntax_table[AVR32_SYNTAX_SUB2],
84850 + BFD_RELOC_UNUSED, 4, -1,
84851 + {
84852 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
84853 + &avr32_ifield_table[AVR32_IFIELD_RX],
84854 + &avr32_ifield_table[AVR32_IFIELD_RY],
84855 + &avr32_ifield_table[AVR32_IFIELD_K2],
84856 + },
84857 + },
84858 + {
84859 + AVR32_OPC_SUB5, 4, 0xe0c00000, 0xe1f00000,
84860 + &avr32_syntax_table[AVR32_SYNTAX_SUB5],
84861 + BFD_RELOC_AVR32_SUB5, 3, 2,
84862 + {
84863 + &avr32_ifield_table[AVR32_IFIELD_RY],
84864 + &avr32_ifield_table[AVR32_IFIELD_RX],
84865 + &avr32_ifield_table[AVR32_IFIELD_K16],
84866 + },
84867 + },
84868 + {
84869 + AVR32_OPC_SUB3_SP, 2, 0x200d0000, 0xf00f0000,
84870 + &avr32_syntax_table[AVR32_SYNTAX_SUB3_SP],
84871 + BFD_RELOC_AVR32_10SW, 2, 1,
84872 + {
84873 + &avr32_ifield_table[AVR32_IFIELD_RY],
84874 + &avr32_ifield_table[AVR32_IFIELD_K8C],
84875 + },
84876 + },
84877 + {
84878 + AVR32_OPC_SUB3, 2, 0x20000000, 0xf0000000,
84879 + &avr32_syntax_table[AVR32_SYNTAX_SUB3],
84880 + BFD_RELOC_AVR32_8S, 2, 1,
84881 + {
84882 + &avr32_ifield_table[AVR32_IFIELD_RY],
84883 + &avr32_ifield_table[AVR32_IFIELD_K8C],
84884 + },
84885 + },
84886 + {
84887 + AVR32_OPC_SUB4, 4, 0xe0200000, 0xe1e00000,
84888 + &avr32_syntax_table[AVR32_SYNTAX_SUB4],
84889 + BFD_RELOC_AVR32_21S, 2, 1,
84890 + {
84891 + &avr32_ifield_table[AVR32_IFIELD_RY],
84892 + &avr32_ifield_table[AVR32_IFIELD_K21],
84893 + },
84894 + },
84895 + {
84896 + AVR32_OPC_SUBEQ, 4, 0xf7b00000, 0xfff0ff00,
84897 + &avr32_syntax_table[AVR32_SYNTAX_SUBEQ],
84898 + BFD_RELOC_AVR32_8S_EXT, 2, 1,
84899 + {
84900 + &avr32_ifield_table[AVR32_IFIELD_RY],
84901 + &avr32_ifield_table[AVR32_IFIELD_K8E],
84902 + },
84903 + },
84904 + {
84905 + AVR32_OPC_SUBNE, 4, 0xf7b00100, 0xfff0ff00,
84906 + &avr32_syntax_table[AVR32_SYNTAX_SUBNE],
84907 + BFD_RELOC_AVR32_8S_EXT, 2, 1,
84908 + {
84909 + &avr32_ifield_table[AVR32_IFIELD_RY],
84910 + &avr32_ifield_table[AVR32_IFIELD_K8E],
84911 + },
84912 + },
84913 + {
84914 + AVR32_OPC_SUBCC, 4, 0xf7b00200, 0xfff0ff00,
84915 + &avr32_syntax_table[AVR32_SYNTAX_SUBHS],
84916 + BFD_RELOC_AVR32_8S_EXT, 2, 1,
84917 + {
84918 + &avr32_ifield_table[AVR32_IFIELD_RY],
84919 + &avr32_ifield_table[AVR32_IFIELD_K8E],
84920 + },
84921 + },
84922 + {
84923 + AVR32_OPC_SUBCS, 4, 0xf7b00300, 0xfff0ff00,
84924 + &avr32_syntax_table[AVR32_SYNTAX_SUBLO],
84925 + BFD_RELOC_AVR32_8S_EXT, 2, 1,
84926 + {
84927 + &avr32_ifield_table[AVR32_IFIELD_RY],
84928 + &avr32_ifield_table[AVR32_IFIELD_K8E],
84929 + },
84930 + },
84931 + {
84932 + AVR32_OPC_SUBGE, 4, 0xf7b00400, 0xfff0ff00,
84933 + &avr32_syntax_table[AVR32_SYNTAX_SUBGE],
84934 + BFD_RELOC_AVR32_8S_EXT, 2, 1,
84935 + {
84936 + &avr32_ifield_table[AVR32_IFIELD_RY],
84937 + &avr32_ifield_table[AVR32_IFIELD_K8E],
84938 + },
84939 + },
84940 + {
84941 + AVR32_OPC_SUBLT, 4, 0xf7b00500, 0xfff0ff00,
84942 + &avr32_syntax_table[AVR32_SYNTAX_SUBLT],
84943 + BFD_RELOC_AVR32_8S_EXT, 2, 1,
84944 + {
84945 + &avr32_ifield_table[AVR32_IFIELD_RY],
84946 + &avr32_ifield_table[AVR32_IFIELD_K8E],
84947 + },
84948 + },
84949 + {
84950 + AVR32_OPC_SUBMI, 4, 0xf7b00600, 0xfff0ff00,
84951 + &avr32_syntax_table[AVR32_SYNTAX_SUBMI],
84952 + BFD_RELOC_AVR32_8S_EXT, 2, 1,
84953 + {
84954 + &avr32_ifield_table[AVR32_IFIELD_RY],
84955 + &avr32_ifield_table[AVR32_IFIELD_K8E],
84956 + },
84957 + },
84958 + {
84959 + AVR32_OPC_SUBPL, 4, 0xf7b00700, 0xfff0ff00,
84960 + &avr32_syntax_table[AVR32_SYNTAX_SUBPL],
84961 + BFD_RELOC_AVR32_8S_EXT, 2, 1,
84962 + {
84963 + &avr32_ifield_table[AVR32_IFIELD_RY],
84964 + &avr32_ifield_table[AVR32_IFIELD_K8E],
84965 + },
84966 + },
84967 + {
84968 + AVR32_OPC_SUBLS, 4, 0xf7b00800, 0xfff0ff00,
84969 + &avr32_syntax_table[AVR32_SYNTAX_SUBLS],
84970 + BFD_RELOC_AVR32_8S_EXT, 2, 1,
84971 + {
84972 + &avr32_ifield_table[AVR32_IFIELD_RY],
84973 + &avr32_ifield_table[AVR32_IFIELD_K8E],
84974 + },
84975 + },
84976 + {
84977 + AVR32_OPC_SUBGT, 4, 0xf7b00900, 0xfff0ff00,
84978 + &avr32_syntax_table[AVR32_SYNTAX_SUBGT],
84979 + BFD_RELOC_AVR32_8S_EXT, 2, 1,
84980 + {
84981 + &avr32_ifield_table[AVR32_IFIELD_RY],
84982 + &avr32_ifield_table[AVR32_IFIELD_K8E],
84983 + },
84984 + },
84985 + {
84986 + AVR32_OPC_SUBLE, 4, 0xf7b00a00, 0xfff0ff00,
84987 + &avr32_syntax_table[AVR32_SYNTAX_SUBLE],
84988 + BFD_RELOC_AVR32_8S_EXT, 2, 1,
84989 + {
84990 + &avr32_ifield_table[AVR32_IFIELD_RY],
84991 + &avr32_ifield_table[AVR32_IFIELD_K8E],
84992 + },
84993 + },
84994 + {
84995 + AVR32_OPC_SUBHI, 4, 0xf7b00b00, 0xfff0ff00,
84996 + &avr32_syntax_table[AVR32_SYNTAX_SUBHI],
84997 + BFD_RELOC_AVR32_8S_EXT, 2, 1,
84998 + {
84999 + &avr32_ifield_table[AVR32_IFIELD_RY],
85000 + &avr32_ifield_table[AVR32_IFIELD_K8E],
85001 + },
85002 + },
85003 + {
85004 + AVR32_OPC_SUBVS, 4, 0xf7b00c00, 0xfff0ff00,
85005 + &avr32_syntax_table[AVR32_SYNTAX_SUBVS],
85006 + BFD_RELOC_AVR32_8S_EXT, 2, 1,
85007 + {
85008 + &avr32_ifield_table[AVR32_IFIELD_RY],
85009 + &avr32_ifield_table[AVR32_IFIELD_K8E],
85010 + },
85011 + },
85012 + {
85013 + AVR32_OPC_SUBVC, 4, 0xf7b00d00, 0xfff0ff00,
85014 + &avr32_syntax_table[AVR32_SYNTAX_SUBVC],
85015 + BFD_RELOC_AVR32_8S_EXT, 2, 1,
85016 + {
85017 + &avr32_ifield_table[AVR32_IFIELD_RY],
85018 + &avr32_ifield_table[AVR32_IFIELD_K8E],
85019 + },
85020 + },
85021 + {
85022 + AVR32_OPC_SUBQS, 4, 0xf7b00e00, 0xfff0ff00,
85023 + &avr32_syntax_table[AVR32_SYNTAX_SUBQS],
85024 + BFD_RELOC_AVR32_8S_EXT, 2, 1,
85025 + {
85026 + &avr32_ifield_table[AVR32_IFIELD_RY],
85027 + &avr32_ifield_table[AVR32_IFIELD_K8E],
85028 + },
85029 + },
85030 + {
85031 + AVR32_OPC_SUBAL, 4, 0xf7b00f00, 0xfff0ff00,
85032 + &avr32_syntax_table[AVR32_SYNTAX_SUBAL],
85033 + BFD_RELOC_AVR32_8S_EXT, 2, 1,
85034 + {
85035 + &avr32_ifield_table[AVR32_IFIELD_RY],
85036 + &avr32_ifield_table[AVR32_IFIELD_K8E],
85037 + },
85038 + },
85039 + {
85040 + AVR32_OPC_SUBFEQ, 4, 0xf5b00000, 0xfff0ff00,
85041 + &avr32_syntax_table[AVR32_SYNTAX_SUBFEQ],
85042 + BFD_RELOC_AVR32_8S_EXT, 2, 1,
85043 + {
85044 + &avr32_ifield_table[AVR32_IFIELD_RY],
85045 + &avr32_ifield_table[AVR32_IFIELD_K8E],
85046 + },
85047 + },
85048 + {
85049 + AVR32_OPC_SUBFNE, 4, 0xf5b00100, 0xfff0ff00,
85050 + &avr32_syntax_table[AVR32_SYNTAX_SUBFNE],
85051 + BFD_RELOC_AVR32_8S_EXT, 2, 1,
85052 + {
85053 + &avr32_ifield_table[AVR32_IFIELD_RY],
85054 + &avr32_ifield_table[AVR32_IFIELD_K8E],
85055 + },
85056 + },
85057 + {
85058 + AVR32_OPC_SUBFCC, 4, 0xf5b00200, 0xfff0ff00,
85059 + &avr32_syntax_table[AVR32_SYNTAX_SUBFHS],
85060 + BFD_RELOC_AVR32_8S_EXT, 2, 1,
85061 + {
85062 + &avr32_ifield_table[AVR32_IFIELD_RY],
85063 + &avr32_ifield_table[AVR32_IFIELD_K8E],
85064 + },
85065 + },
85066 + {
85067 + AVR32_OPC_SUBFCS, 4, 0xf5b00300, 0xfff0ff00,
85068 + &avr32_syntax_table[AVR32_SYNTAX_SUBFLO],
85069 + BFD_RELOC_AVR32_8S_EXT, 2, 1,
85070 + {
85071 + &avr32_ifield_table[AVR32_IFIELD_RY],
85072 + &avr32_ifield_table[AVR32_IFIELD_K8E],
85073 + },
85074 + },
85075 + {
85076 + AVR32_OPC_SUBFGE, 4, 0xf5b00400, 0xfff0ff00,
85077 + &avr32_syntax_table[AVR32_SYNTAX_SUBFGE],
85078 + BFD_RELOC_AVR32_8S_EXT, 2, 1,
85079 + {
85080 + &avr32_ifield_table[AVR32_IFIELD_RY],
85081 + &avr32_ifield_table[AVR32_IFIELD_K8E],
85082 + },
85083 + },
85084 + {
85085 + AVR32_OPC_SUBFLT, 4, 0xf5b00500, 0xfff0ff00,
85086 + &avr32_syntax_table[AVR32_SYNTAX_SUBFLT],
85087 + BFD_RELOC_AVR32_8S_EXT, 2, 1,
85088 + {
85089 + &avr32_ifield_table[AVR32_IFIELD_RY],
85090 + &avr32_ifield_table[AVR32_IFIELD_K8E],
85091 + },
85092 + },
85093 + {
85094 + AVR32_OPC_SUBFMI, 4, 0xf5b00600, 0xfff0ff00,
85095 + &avr32_syntax_table[AVR32_SYNTAX_SUBFMI],
85096 + BFD_RELOC_AVR32_8S_EXT, 2, 1,
85097 + {
85098 + &avr32_ifield_table[AVR32_IFIELD_RY],
85099 + &avr32_ifield_table[AVR32_IFIELD_K8E],
85100 + },
85101 + },
85102 + {
85103 + AVR32_OPC_SUBFPL, 4, 0xf5b00700, 0xfff0ff00,
85104 + &avr32_syntax_table[AVR32_SYNTAX_SUBFPL],
85105 + BFD_RELOC_AVR32_8S_EXT, 2, 1,
85106 + {
85107 + &avr32_ifield_table[AVR32_IFIELD_RY],
85108 + &avr32_ifield_table[AVR32_IFIELD_K8E],
85109 + },
85110 + },
85111 + {
85112 + AVR32_OPC_SUBFLS, 4, 0xf5b00800, 0xfff0ff00,
85113 + &avr32_syntax_table[AVR32_SYNTAX_SUBFLS],
85114 + BFD_RELOC_AVR32_8S_EXT, 2, 1,
85115 + {
85116 + &avr32_ifield_table[AVR32_IFIELD_RY],
85117 + &avr32_ifield_table[AVR32_IFIELD_K8E],
85118 + },
85119 + },
85120 + {
85121 + AVR32_OPC_SUBFGT, 4, 0xf5b00900, 0xfff0ff00,
85122 + &avr32_syntax_table[AVR32_SYNTAX_SUBFGT],
85123 + BFD_RELOC_AVR32_8S_EXT, 2, 1,
85124 + {
85125 + &avr32_ifield_table[AVR32_IFIELD_RY],
85126 + &avr32_ifield_table[AVR32_IFIELD_K8E],
85127 + },
85128 + },
85129 + {
85130 + AVR32_OPC_SUBFLE, 4, 0xf5b00a00, 0xfff0ff00,
85131 + &avr32_syntax_table[AVR32_SYNTAX_SUBFLE],
85132 + BFD_RELOC_AVR32_8S_EXT, 2, 1,
85133 + {
85134 + &avr32_ifield_table[AVR32_IFIELD_RY],
85135 + &avr32_ifield_table[AVR32_IFIELD_K8E],
85136 + },
85137 + },
85138 + {
85139 + AVR32_OPC_SUBFHI, 4, 0xf5b00b00, 0xfff0ff00,
85140 + &avr32_syntax_table[AVR32_SYNTAX_SUBFHI],
85141 + BFD_RELOC_AVR32_8S_EXT, 2, 1,
85142 + {
85143 + &avr32_ifield_table[AVR32_IFIELD_RY],
85144 + &avr32_ifield_table[AVR32_IFIELD_K8E],
85145 + },
85146 + },
85147 + {
85148 + AVR32_OPC_SUBFVS, 4, 0xf5b00c00, 0xfff0ff00,
85149 + &avr32_syntax_table[AVR32_SYNTAX_SUBFVS],
85150 + BFD_RELOC_AVR32_8S_EXT, 2, 1,
85151 + {
85152 + &avr32_ifield_table[AVR32_IFIELD_RY],
85153 + &avr32_ifield_table[AVR32_IFIELD_K8E],
85154 + },
85155 + },
85156 + {
85157 + AVR32_OPC_SUBFVC, 4, 0xf5b00d00, 0xfff0ff00,
85158 + &avr32_syntax_table[AVR32_SYNTAX_SUBFVC],
85159 + BFD_RELOC_AVR32_8S_EXT, 2, 1,
85160 + {
85161 + &avr32_ifield_table[AVR32_IFIELD_RY],
85162 + &avr32_ifield_table[AVR32_IFIELD_K8E],
85163 + },
85164 + },
85165 + {
85166 + AVR32_OPC_SUBFQS, 4, 0xf5b00e00, 0xfff0ff00,
85167 + &avr32_syntax_table[AVR32_SYNTAX_SUBFQS],
85168 + BFD_RELOC_AVR32_8S_EXT, 2, 1,
85169 + {
85170 + &avr32_ifield_table[AVR32_IFIELD_RY],
85171 + &avr32_ifield_table[AVR32_IFIELD_K8E],
85172 + },
85173 + },
85174 + {
85175 + AVR32_OPC_SUBFAL, 4, 0xf5b00f00, 0xfff0ff00,
85176 + &avr32_syntax_table[AVR32_SYNTAX_SUBFAL],
85177 + BFD_RELOC_AVR32_8S_EXT, 2, 1,
85178 + {
85179 + &avr32_ifield_table[AVR32_IFIELD_RY],
85180 + &avr32_ifield_table[AVR32_IFIELD_K8E],
85181 + },
85182 + },
85183 + {
85184 + AVR32_OPC_SUBHH_W, 4, 0xe0000f00, 0xe1f0ffc0,
85185 + &avr32_syntax_table[AVR32_SYNTAX_SUBHH_W],
85186 + BFD_RELOC_UNUSED, 5, -1,
85187 + {
85188 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
85189 + &avr32_ifield_table[AVR32_IFIELD_RX],
85190 + &avr32_ifield_table[AVR32_IFIELD_X],
85191 + &avr32_ifield_table[AVR32_IFIELD_RY],
85192 + &avr32_ifield_table[AVR32_IFIELD_Y],
85193 + },
85194 + },
85195 + {
85196 + AVR32_OPC_SWAP_B, 2, 0x5cb00000, 0xfff00000,
85197 + &avr32_syntax_table[AVR32_SYNTAX_SWAP_B],
85198 + BFD_RELOC_UNUSED, 1, -1,
85199 + {
85200 + &avr32_ifield_table[AVR32_IFIELD_RY],
85201 + }
85202 + },
85203 + {
85204 + AVR32_OPC_SWAP_BH, 2, 0x5cc00000, 0xfff00000,
85205 + &avr32_syntax_table[AVR32_SYNTAX_SWAP_BH],
85206 + BFD_RELOC_UNUSED, 1, -1,
85207 + {
85208 + &avr32_ifield_table[AVR32_IFIELD_RY],
85209 + }
85210 + },
85211 + {
85212 + AVR32_OPC_SWAP_H, 2, 0x5ca00000, 0xfff00000,
85213 + &avr32_syntax_table[AVR32_SYNTAX_SWAP_H],
85214 + BFD_RELOC_UNUSED, 1, -1,
85215 + {
85216 + &avr32_ifield_table[AVR32_IFIELD_RY],
85217 + }
85218 + },
85219 + {
85220 + AVR32_OPC_SYNC, 4, 0xebb00000, 0xffffff00,
85221 + &avr32_syntax_table[AVR32_SYNTAX_SYNC],
85222 + BFD_RELOC_AVR32_8S_EXT, 1, 0,
85223 + {
85224 + &avr32_ifield_table[AVR32_IFIELD_K8E],
85225 + }
85226 + },
85227 + {
85228 + AVR32_OPC_TLBR, 2, 0xd6430000, 0xffff0000,
85229 + &avr32_syntax_table[AVR32_SYNTAX_TLBR],
85230 + BFD_RELOC_UNUSED, 0, -1, { NULL },
85231 + },
85232 + {
85233 + AVR32_OPC_TLBS, 2, 0xd6530000, 0xffff0000,
85234 + &avr32_syntax_table[AVR32_SYNTAX_TLBS],
85235 + BFD_RELOC_UNUSED, 0, -1, { NULL },
85236 + },
85237 + {
85238 + AVR32_OPC_TLBW, 2, 0xd6630000, 0xffff0000,
85239 + &avr32_syntax_table[AVR32_SYNTAX_TLBW],
85240 + BFD_RELOC_UNUSED, 0, -1, { NULL },
85241 + },
85242 + {
85243 + AVR32_OPC_TNBZ, 2, 0x5ce00000, 0xfff00000,
85244 + &avr32_syntax_table[AVR32_SYNTAX_TNBZ],
85245 + BFD_RELOC_UNUSED, 1, -1,
85246 + {
85247 + &avr32_ifield_table[AVR32_IFIELD_RY],
85248 + }
85249 + },
85250 + {
85251 + AVR32_OPC_TST, 2, 0x00700000, 0xe1f00000,
85252 + &avr32_syntax_table[AVR32_SYNTAX_TST],
85253 + BFD_RELOC_UNUSED, 2, -1,
85254 + {
85255 + &avr32_ifield_table[AVR32_IFIELD_RY],
85256 + &avr32_ifield_table[AVR32_IFIELD_RX],
85257 + },
85258 + },
85259 + {
85260 + AVR32_OPC_XCHG, 4, 0xe0000b40, 0xe1f0fff0,
85261 + &avr32_syntax_table[AVR32_SYNTAX_XCHG],
85262 + BFD_RELOC_UNUSED, 3, -1,
85263 + {
85264 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
85265 + &avr32_ifield_table[AVR32_IFIELD_RX],
85266 + &avr32_ifield_table[AVR32_IFIELD_RY],
85267 + },
85268 + },
85269 + {
85270 + AVR32_OPC_MEMC, 4, 0xf6100000, 0xfff00000,
85271 + &avr32_syntax_table[AVR32_SYNTAX_MEMC],
85272 + BFD_RELOC_UNUSED, 2, -1,
85273 + {
85274 + &avr32_ifield_table[AVR32_IFIELD_MEM15],
85275 + &avr32_ifield_table[AVR32_IFIELD_MEMB5],
85276 + },
85277 + },
85278 + {
85279 + AVR32_OPC_MEMS, 4, 0xf8100000, 0xfff00000,
85280 + &avr32_syntax_table[AVR32_SYNTAX_MEMS],
85281 + BFD_RELOC_UNUSED, 2, -1,
85282 + {
85283 + &avr32_ifield_table[AVR32_IFIELD_MEM15],
85284 + &avr32_ifield_table[AVR32_IFIELD_MEMB5],
85285 + },
85286 + },
85287 + {
85288 + AVR32_OPC_MEMT, 4, 0xfa100000, 0xfff00000,
85289 + &avr32_syntax_table[AVR32_SYNTAX_MEMT],
85290 + BFD_RELOC_UNUSED, 2, -1,
85291 + {
85292 + &avr32_ifield_table[AVR32_IFIELD_MEM15],
85293 + &avr32_ifield_table[AVR32_IFIELD_MEMB5],
85294 + },
85295 + },
85296 + {
85297 + AVR32_OPC_BFEXTS, 4, 0xe1d0b000, 0xe1f0fc00,
85298 + &avr32_syntax_table[AVR32_SYNTAX_BFEXTS],
85299 + BFD_RELOC_UNUSED, 4, -1,
85300 + {
85301 + &avr32_ifield_table[AVR32_IFIELD_RX],
85302 + &avr32_ifield_table[AVR32_IFIELD_RY],
85303 + &avr32_ifield_table[AVR32_IFIELD_S5],
85304 + &avr32_ifield_table[AVR32_IFIELD_K5E],
85305 + },
85306 + },
85307 + {
85308 + AVR32_OPC_BFEXTU, 4, 0xe1d0c000, 0xe1f0fc00,
85309 + &avr32_syntax_table[AVR32_SYNTAX_BFEXTU],
85310 + BFD_RELOC_UNUSED, 4, -1,
85311 + {
85312 + &avr32_ifield_table[AVR32_IFIELD_RX],
85313 + &avr32_ifield_table[AVR32_IFIELD_RY],
85314 + &avr32_ifield_table[AVR32_IFIELD_S5],
85315 + &avr32_ifield_table[AVR32_IFIELD_K5E],
85316 + },
85317 + },
85318 + {
85319 + AVR32_OPC_BFINS, 4, 0xe1d0d000, 0xe1f0fc00,
85320 + &avr32_syntax_table[AVR32_SYNTAX_BFINS],
85321 + BFD_RELOC_UNUSED, 4, -1,
85322 + {
85323 + &avr32_ifield_table[AVR32_IFIELD_RX],
85324 + &avr32_ifield_table[AVR32_IFIELD_RY],
85325 + &avr32_ifield_table[AVR32_IFIELD_S5],
85326 + &avr32_ifield_table[AVR32_IFIELD_K5E],
85327 + },
85328 + },
85329 + };
85330 +
85331 +#define FPALIAS_DXY(name, opcode) \
85332 + { \
85333 + AVR32_ALIAS_##name##_S, \
85334 + &avr32_opc_table[AVR32_OPC_COP], \
85335 + { \
85336 + { 0, 0 }, \
85337 + { 1, 0 }, { 1, 1 }, { 1, 2 }, \
85338 + { 0, opcode }, \
85339 + }, \
85340 + }, { \
85341 + AVR32_ALIAS_##name##_D, \
85342 + &avr32_opc_table[AVR32_OPC_COP], \
85343 + { \
85344 + { 0, 0 }, \
85345 + { 1, 0 }, { 1, 1 }, { 1, 2 }, \
85346 + { 0, (opcode) | 0x40 }, \
85347 + }, \
85348 + }
85349 +#define FPALIAS_DX(name, opcode) \
85350 + { \
85351 + AVR32_ALIAS_##name##_S, \
85352 + &avr32_opc_table[AVR32_OPC_COP], \
85353 + { \
85354 + { 0, 0 }, \
85355 + { 1, 0 }, { 1, 1 }, { 0, 0 }, \
85356 + { 0, opcode }, \
85357 + }, \
85358 + }, { \
85359 + AVR32_ALIAS_##name##_D, \
85360 + &avr32_opc_table[AVR32_OPC_COP], \
85361 + { \
85362 + { 0, 0 }, \
85363 + { 1, 0 }, { 1, 1 }, { 0, 0 }, \
85364 + { 0, (opcode) | 0x40 }, \
85365 + }, \
85366 + }
85367 +#define FPALIAS_XY(name, opcode) \
85368 + { \
85369 + AVR32_ALIAS_##name##_S, \
85370 + &avr32_opc_table[AVR32_OPC_COP], \
85371 + { \
85372 + { 0, 0 }, \
85373 + { 0, 0 }, { 1, 0 }, { 1, 1 }, \
85374 + { 0, opcode }, \
85375 + }, \
85376 + }, { \
85377 + AVR32_ALIAS_##name##_D, \
85378 + &avr32_opc_table[AVR32_OPC_COP], \
85379 + { \
85380 + { 0, 0 }, \
85381 + { 0, 0 }, { 1, 0 }, { 1, 1 }, \
85382 + { 0, (opcode) | 0x40 }, \
85383 + }, \
85384 + }
85385 +
85386 +const struct avr32_alias avr32_alias_table[] =
85387 + {
85388 + FPALIAS_DXY(FMAC, 0x00),
85389 + FPALIAS_DXY(FNMAC, 0x01),
85390 + FPALIAS_DXY(FMSC, 0x02),
85391 + FPALIAS_DXY(FNMSC, 0x03),
85392 + FPALIAS_DXY(FADD, 0x04),
85393 + FPALIAS_DXY(FSUB, 0x05),
85394 + FPALIAS_DXY(FMUL, 0x06),
85395 + FPALIAS_DXY(FNMUL, 0x07),
85396 + FPALIAS_DX(FNEG, 0x08),
85397 + FPALIAS_DX(FABS, 0x09),
85398 + FPALIAS_XY(FCMP, 0x0d),
85399 + FPALIAS_DX(FMOV1, 0x0a),
85400 + {
85401 + AVR32_ALIAS_FMOV2_S,
85402 + &avr32_opc_table[AVR32_OPC_MVCR_W],
85403 + { { 0, 0 }, { 1, 0 }, { 1, 1 }, },
85404 + },
85405 + {
85406 + AVR32_ALIAS_FMOV2_D,
85407 + &avr32_opc_table[AVR32_OPC_MVCR_D],
85408 + { { 0, 0 }, { 1, 0 }, { 1, 1 }, },
85409 + },
85410 + {
85411 + AVR32_ALIAS_FMOV3_S,
85412 + &avr32_opc_table[AVR32_OPC_MVRC_W],
85413 + { { 0, 0 }, { 1, 0 }, { 1, 1 }, },
85414 + },
85415 + {
85416 + AVR32_ALIAS_FMOV3_D,
85417 + &avr32_opc_table[AVR32_OPC_MVRC_D],
85418 + { { 0, 0 }, { 1, 0 }, { 1, 1 }, },
85419 + },
85420 + {
85421 + AVR32_ALIAS_FCASTS_D,
85422 + &avr32_opc_table[AVR32_OPC_COP],
85423 + {
85424 + { 0, 0 },
85425 + { 1, 0 }, { 1, 1 }, { 0, 0 },
85426 + { 0, 0x0f },
85427 + },
85428 + },
85429 + {
85430 + AVR32_ALIAS_FCASTD_S,
85431 + &avr32_opc_table[AVR32_OPC_COP],
85432 + {
85433 + { 0, 0 },
85434 + { 1, 0 }, { 1, 1 }, { 0, 0 },
85435 + { 0, 0x10 },
85436 + },
85437 + },
85438 + {
85439 + AVR32_ALIAS_PICOSVMAC0,
85440 + &avr32_opc_table[AVR32_OPC_COP],
85441 + {
85442 + { 0, PICO_CPNO },
85443 + { 1, 0 }, { 1, 1 }, { 1, 2 },
85444 + { 0, 0x0c },
85445 + },
85446 + },
85447 + {
85448 + AVR32_ALIAS_PICOSVMAC1,
85449 + &avr32_opc_table[AVR32_OPC_COP],
85450 + {
85451 + { 0, PICO_CPNO },
85452 + { 1, 0 }, { 1, 1 }, { 1, 2 },
85453 + { 0, 0x0d },
85454 + },
85455 + },
85456 + {
85457 + AVR32_ALIAS_PICOSVMAC2,
85458 + &avr32_opc_table[AVR32_OPC_COP],
85459 + {
85460 + { 0, PICO_CPNO },
85461 + { 1, 0 }, { 1, 1 }, { 1, 2 },
85462 + { 0, 0x0e },
85463 + },
85464 + },
85465 + {
85466 + AVR32_ALIAS_PICOSVMAC3,
85467 + &avr32_opc_table[AVR32_OPC_COP],
85468 + {
85469 + { 0, PICO_CPNO },
85470 + { 1, 0 }, { 1, 1 }, { 1, 2 },
85471 + { 0, 0x0f },
85472 + },
85473 + },
85474 + {
85475 + AVR32_ALIAS_PICOSVMUL0,
85476 + &avr32_opc_table[AVR32_OPC_COP],
85477 + {
85478 + { 0, PICO_CPNO },
85479 + { 1, 0 }, { 1, 1 }, { 1, 2 },
85480 + { 0, 0x08 },
85481 + },
85482 + },
85483 + {
85484 + AVR32_ALIAS_PICOSVMUL1,
85485 + &avr32_opc_table[AVR32_OPC_COP],
85486 + {
85487 + { 0, PICO_CPNO },
85488 + { 1, 0 }, { 1, 1 }, { 1, 2 },
85489 + { 0, 0x09 },
85490 + },
85491 + },
85492 + {
85493 + AVR32_ALIAS_PICOSVMUL2,
85494 + &avr32_opc_table[AVR32_OPC_COP],
85495 + {
85496 + { 0, PICO_CPNO },
85497 + { 1, 0 }, { 1, 1 }, { 1, 2 },
85498 + { 0, 0x0a },
85499 + },
85500 + },
85501 + {
85502 + AVR32_ALIAS_PICOSVMUL3,
85503 + &avr32_opc_table[AVR32_OPC_COP],
85504 + {
85505 + { 0, PICO_CPNO },
85506 + { 1, 0 }, { 1, 1 }, { 1, 2 },
85507 + { 0, 0x0b },
85508 + },
85509 + },
85510 + {
85511 + AVR32_ALIAS_PICOVMAC0,
85512 + &avr32_opc_table[AVR32_OPC_COP],
85513 + {
85514 + { 0, PICO_CPNO },
85515 + { 1, 0 }, { 1, 1 }, { 1, 2 },
85516 + { 0, 0x04 },
85517 + },
85518 + },
85519 + {
85520 + AVR32_ALIAS_PICOVMAC1,
85521 + &avr32_opc_table[AVR32_OPC_COP],
85522 + {
85523 + { 0, PICO_CPNO },
85524 + { 1, 0 }, { 1, 1 }, { 1, 2 },
85525 + { 0, 0x05 },
85526 + },
85527 + },
85528 + {
85529 + AVR32_ALIAS_PICOVMAC2,
85530 + &avr32_opc_table[AVR32_OPC_COP],
85531 + {
85532 + { 0, PICO_CPNO },
85533 + { 1, 0 }, { 1, 1 }, { 1, 2 },
85534 + { 0, 0x06 },
85535 + },
85536 + },
85537 + {
85538 + AVR32_ALIAS_PICOVMAC3,
85539 + &avr32_opc_table[AVR32_OPC_COP],
85540 + {
85541 + { 0, PICO_CPNO },
85542 + { 1, 0 }, { 1, 1 }, { 1, 2 },
85543 + { 0, 0x07 },
85544 + },
85545 + },
85546 + {
85547 + AVR32_ALIAS_PICOVMUL0,
85548 + &avr32_opc_table[AVR32_OPC_COP],
85549 + {
85550 + { 0, PICO_CPNO },
85551 + { 1, 0 }, { 1, 1 }, { 1, 2 },
85552 + { 0, 0x00 },
85553 + },
85554 + },
85555 + {
85556 + AVR32_ALIAS_PICOVMUL1,
85557 + &avr32_opc_table[AVR32_OPC_COP],
85558 + {
85559 + { 0, PICO_CPNO },
85560 + { 1, 0 }, { 1, 1 }, { 1, 2 },
85561 + { 0, 0x01 },
85562 + },
85563 + },
85564 + {
85565 + AVR32_ALIAS_PICOVMUL2,
85566 + &avr32_opc_table[AVR32_OPC_COP],
85567 + {
85568 + { 0, PICO_CPNO },
85569 + { 1, 0 }, { 1, 1 }, { 1, 2 },
85570 + { 0, 0x02 },
85571 + },
85572 + },
85573 + {
85574 + AVR32_ALIAS_PICOVMUL3,
85575 + &avr32_opc_table[AVR32_OPC_COP],
85576 + {
85577 + { 0, PICO_CPNO },
85578 + { 1, 0 }, { 1, 1 }, { 1, 2 },
85579 + { 0, 0x03 },
85580 + },
85581 + },
85582 + {
85583 + AVR32_ALIAS_PICOLD_D1,
85584 + &avr32_opc_table[AVR32_OPC_LDC_D1],
85585 + {
85586 + { 0, PICO_CPNO },
85587 + { 1, 0 }, { 1, 1 },
85588 + },
85589 + },
85590 + {
85591 + AVR32_ALIAS_PICOLD_D2,
85592 + &avr32_opc_table[AVR32_OPC_LDC_D2],
85593 + {
85594 + { 0, PICO_CPNO },
85595 + { 1, 0 }, { 1, 1 },
85596 + },
85597 + },
85598 + {
85599 + AVR32_ALIAS_PICOLD_D3,
85600 + &avr32_opc_table[AVR32_OPC_LDC_D3],
85601 + {
85602 + { 0, PICO_CPNO },
85603 + { 1, 0 }, { 1, 1 }, { 1, 2 }, { 1, 3 },
85604 + },
85605 + },
85606 + {
85607 + AVR32_ALIAS_PICOLD_W1,
85608 + &avr32_opc_table[AVR32_OPC_LDC_W1],
85609 + {
85610 + { 0, PICO_CPNO },
85611 + { 1, 0 }, { 1, 1 },
85612 + },
85613 + },
85614 + {
85615 + AVR32_ALIAS_PICOLD_W2,
85616 + &avr32_opc_table[AVR32_OPC_LDC_W2],
85617 + {
85618 + { 0, PICO_CPNO },
85619 + { 1, 0 }, { 1, 1 },
85620 + },
85621 + },
85622 + {
85623 + AVR32_ALIAS_PICOLD_W3,
85624 + &avr32_opc_table[AVR32_OPC_LDC_W3],
85625 + {
85626 + { 0, PICO_CPNO },
85627 + { 1, 0 }, { 1, 1 }, { 1, 2 }, { 1, 3 },
85628 + },
85629 + },
85630 + {
85631 + AVR32_ALIAS_PICOLDM_D,
85632 + &avr32_opc_table[AVR32_OPC_LDCM_D],
85633 + {
85634 + { 0, PICO_CPNO },
85635 + { 1, 0 }, { 1, 1 },
85636 + },
85637 + },
85638 + {
85639 + AVR32_ALIAS_PICOLDM_D_PU,
85640 + &avr32_opc_table[AVR32_OPC_LDCM_D_PU],
85641 + {
85642 + { 0, PICO_CPNO },
85643 + { 1, 0 }, { 1, 1 },
85644 + },
85645 + },
85646 + {
85647 + AVR32_ALIAS_PICOLDM_W,
85648 + &avr32_opc_table[AVR32_OPC_LDCM_W],
85649 + {
85650 + { 0, PICO_CPNO },
85651 + { 1, 0 }, { 1, 1 }, { 1, 2 },
85652 + },
85653 + },
85654 + {
85655 + AVR32_ALIAS_PICOLDM_W_PU,
85656 + &avr32_opc_table[AVR32_OPC_LDCM_W_PU],
85657 + {
85658 + { 0, PICO_CPNO },
85659 + { 1, 0 }, { 1, 1 }, { 1, 2 },
85660 + },
85661 + },
85662 + {
85663 + AVR32_ALIAS_PICOMV_D1,
85664 + &avr32_opc_table[AVR32_OPC_MVCR_D],
85665 + {
85666 + { 0, PICO_CPNO },
85667 + { 1, 0 }, { 1, 1 },
85668 + },
85669 + },
85670 + {
85671 + AVR32_ALIAS_PICOMV_D2,
85672 + &avr32_opc_table[AVR32_OPC_MVRC_D],
85673 + {
85674 + { 0, PICO_CPNO },
85675 + { 1, 0 }, { 1, 1 },
85676 + },
85677 + },
85678 + {
85679 + AVR32_ALIAS_PICOMV_W1,
85680 + &avr32_opc_table[AVR32_OPC_MVCR_W],
85681 + {
85682 + { 0, PICO_CPNO },
85683 + { 1, 0 }, { 1, 1 },
85684 + },
85685 + },
85686 + {
85687 + AVR32_ALIAS_PICOMV_W2,
85688 + &avr32_opc_table[AVR32_OPC_MVRC_W],
85689 + {
85690 + { 0, PICO_CPNO },
85691 + { 1, 0 }, { 1, 1 },
85692 + },
85693 + },
85694 + {
85695 + AVR32_ALIAS_PICOST_D1,
85696 + &avr32_opc_table[AVR32_OPC_STC_D1],
85697 + {
85698 + { 0, PICO_CPNO },
85699 + { 1, 0 }, { 1, 1 }, { 1, 2 },
85700 + },
85701 + },
85702 + {
85703 + AVR32_ALIAS_PICOST_D2,
85704 + &avr32_opc_table[AVR32_OPC_STC_D2],
85705 + {
85706 + { 0, PICO_CPNO },
85707 + { 1, 0 }, { 1, 1 },
85708 + },
85709 + },
85710 + {
85711 + AVR32_ALIAS_PICOST_D3,
85712 + &avr32_opc_table[AVR32_OPC_STC_D3],
85713 + {
85714 + { 0, PICO_CPNO },
85715 + { 1, 0 }, { 1, 1 }, { 1, 2 }, { 1, 3 },
85716 + },
85717 + },
85718 + {
85719 + AVR32_ALIAS_PICOST_W1,
85720 + &avr32_opc_table[AVR32_OPC_STC_W1],
85721 + {
85722 + { 0, PICO_CPNO },
85723 + { 1, 0 }, { 1, 1 }, { 1, 2 },
85724 + },
85725 + },
85726 + {
85727 + AVR32_ALIAS_PICOST_W2,
85728 + &avr32_opc_table[AVR32_OPC_STC_W2],
85729 + {
85730 + { 0, PICO_CPNO },
85731 + { 1, 0 }, { 1, 1 },
85732 + },
85733 + },
85734 + {
85735 + AVR32_ALIAS_PICOST_W3,
85736 + &avr32_opc_table[AVR32_OPC_STC_W3],
85737 + {
85738 + { 0, PICO_CPNO },
85739 + { 1, 0 }, { 1, 1 }, { 1, 2 }, { 1, 3 },
85740 + },
85741 + },
85742 + {
85743 + AVR32_ALIAS_PICOSTM_D,
85744 + &avr32_opc_table[AVR32_OPC_STCM_D],
85745 + {
85746 + { 0, PICO_CPNO },
85747 + { 1, 0 }, { 1, 1 },
85748 + },
85749 + },
85750 + {
85751 + AVR32_ALIAS_PICOSTM_D_PU,
85752 + &avr32_opc_table[AVR32_OPC_STCM_D_PU],
85753 + {
85754 + { 0, PICO_CPNO },
85755 + { 1, 0 }, { 1, 1 },
85756 + },
85757 + },
85758 + {
85759 + AVR32_ALIAS_PICOSTM_W,
85760 + &avr32_opc_table[AVR32_OPC_STCM_W],
85761 + {
85762 + { 0, PICO_CPNO },
85763 + { 1, 0 }, { 1, 1 }, { 1, 2 },
85764 + },
85765 + },
85766 + {
85767 + AVR32_ALIAS_PICOSTM_W_PU,
85768 + &avr32_opc_table[AVR32_OPC_STCM_W_PU],
85769 + {
85770 + { 0, PICO_CPNO },
85771 + { 1, 0 }, { 1, 1 }, { 1, 2 },
85772 + },
85773 + },
85774 + };
85775 +
85776 +
85777 +#define SYNTAX_NORMAL0(id, mne, opc, arch) \
85778 + { \
85779 + AVR32_SYNTAX_##id, arch, \
85780 + &avr32_mnemonic_table[AVR32_MNEMONIC_##mne], \
85781 + AVR32_PARSER_NORMAL, \
85782 + { &avr32_opc_table[AVR32_OPC_##opc], }, \
85783 + NULL, 0, { } \
85784 + }
85785 +#define SYNTAX_NORMAL1(id, mne, opc, op0, arch) \
85786 + { \
85787 + AVR32_SYNTAX_##id, arch, \
85788 + &avr32_mnemonic_table[AVR32_MNEMONIC_##mne], \
85789 + AVR32_PARSER_NORMAL, \
85790 + { &avr32_opc_table[AVR32_OPC_##opc], }, \
85791 + NULL, 1, \
85792 + { \
85793 + AVR32_OPERAND_##op0, \
85794 + } \
85795 + }
85796 +#define SYNTAX_NORMALM1(id, mne, opc, op0, arch) \
85797 + { \
85798 + AVR32_SYNTAX_##id, arch, \
85799 + &avr32_mnemonic_table[AVR32_MNEMONIC_##mne], \
85800 + AVR32_PARSER_NORMAL, \
85801 + { &avr32_opc_table[AVR32_OPC_##opc], }, \
85802 + NULL, -1, \
85803 + { \
85804 + AVR32_OPERAND_##op0, \
85805 + } \
85806 + }
85807 +#define SYNTAX_NORMAL2(id, mne, opc, op0, op1, arch) \
85808 + { \
85809 + AVR32_SYNTAX_##id, arch, \
85810 + &avr32_mnemonic_table[AVR32_MNEMONIC_##mne], \
85811 + AVR32_PARSER_NORMAL, \
85812 + { &avr32_opc_table[AVR32_OPC_##opc], }, \
85813 + NULL, 2, \
85814 + { \
85815 + AVR32_OPERAND_##op0, AVR32_OPERAND_##op1, \
85816 + } \
85817 + }
85818 +#define SYNTAX_NORMALM2(id, mne, opc, op0, op1, arch) \
85819 + { \
85820 + AVR32_SYNTAX_##id, arch, \
85821 + &avr32_mnemonic_table[AVR32_MNEMONIC_##mne], \
85822 + AVR32_PARSER_NORMAL, \
85823 + { &avr32_opc_table[AVR32_OPC_##opc], }, \
85824 + NULL, -2, \
85825 + { \
85826 + AVR32_OPERAND_##op0, AVR32_OPERAND_##op1, \
85827 + } \
85828 + }
85829 +#define SYNTAX_NORMAL3(id, mne, opc, op0, op1, op2, arch) \
85830 + { \
85831 + AVR32_SYNTAX_##id, arch, \
85832 + &avr32_mnemonic_table[AVR32_MNEMONIC_##mne], \
85833 + AVR32_PARSER_NORMAL, \
85834 + { &avr32_opc_table[AVR32_OPC_##opc], }, \
85835 + NULL, 3, \
85836 + { \
85837 + AVR32_OPERAND_##op0, AVR32_OPERAND_##op1, \
85838 + AVR32_OPERAND_##op2, \
85839 + } \
85840 + }
85841 +#define SYNTAX_NORMALM3(id, mne, opc, op0, op1, op2, arch) \
85842 + { \
85843 + AVR32_SYNTAX_##id, arch, \
85844 + &avr32_mnemonic_table[AVR32_MNEMONIC_##mne], \
85845 + AVR32_PARSER_NORMAL, \
85846 + { &avr32_opc_table[AVR32_OPC_##opc], }, \
85847 + NULL, -3, \
85848 + { \
85849 + AVR32_OPERAND_##op0, AVR32_OPERAND_##op1, \
85850 + AVR32_OPERAND_##op2, \
85851 + } \
85852 + }
85853 +#define SYNTAX_NORMAL4(id, mne, opc, op0, op1, op2, op3, arch)\
85854 + { \
85855 + AVR32_SYNTAX_##id, arch, \
85856 + &avr32_mnemonic_table[AVR32_MNEMONIC_##mne], \
85857 + AVR32_PARSER_NORMAL, \
85858 + { &avr32_opc_table[AVR32_OPC_##opc], }, \
85859 + NULL, 4, \
85860 + { \
85861 + AVR32_OPERAND_##op0, AVR32_OPERAND_##op1, \
85862 + AVR32_OPERAND_##op2, AVR32_OPERAND_##op3, \
85863 + } \
85864 + }
85865 +#define SYNTAX_NORMAL5(id, mne, opc, op0, op1, op2, op3, op4, arch) \
85866 + { \
85867 + AVR32_SYNTAX_##id, arch, \
85868 + &avr32_mnemonic_table[AVR32_MNEMONIC_##mne], \
85869 + AVR32_PARSER_NORMAL, \
85870 + { &avr32_opc_table[AVR32_OPC_##opc], }, \
85871 + NULL, 5, \
85872 + { \
85873 + AVR32_OPERAND_##op0, AVR32_OPERAND_##op1, \
85874 + AVR32_OPERAND_##op2, AVR32_OPERAND_##op3, \
85875 + AVR32_OPERAND_##op4, \
85876 + } \
85877 + }
85878 +
85879 +#define SYNTAX_NORMAL_C1(id, mne, opc, nxt, op0, arch) \
85880 + { \
85881 + AVR32_SYNTAX_##id, arch, \
85882 + &avr32_mnemonic_table[AVR32_MNEMONIC_##mne], \
85883 + AVR32_PARSER_NORMAL, \
85884 + { &avr32_opc_table[AVR32_OPC_##opc], }, \
85885 + &avr32_syntax_table[AVR32_SYNTAX_##nxt], 1, \
85886 + { \
85887 + AVR32_OPERAND_##op0, \
85888 + } \
85889 + }
85890 +#define SYNTAX_NORMAL_CM1(id, mne, opc, nxt, op0, arch) \
85891 + { \
85892 + AVR32_SYNTAX_##id, arch, \
85893 + &avr32_mnemonic_table[AVR32_MNEMONIC_##mne], \
85894 + AVR32_PARSER_NORMAL, \
85895 + { &avr32_opc_table[AVR32_OPC_##opc], }, \
85896 + &avr32_syntax_table[AVR32_SYNTAX_##nxt], -1, \
85897 + { \
85898 + AVR32_OPERAND_##op0, \
85899 + } \
85900 + }
85901 +#define SYNTAX_NORMAL_C2(id, mne, opc, nxt, op0, op1, arch) \
85902 + { \
85903 + AVR32_SYNTAX_##id, arch, \
85904 + &avr32_mnemonic_table[AVR32_MNEMONIC_##mne], \
85905 + AVR32_PARSER_NORMAL, \
85906 + { &avr32_opc_table[AVR32_OPC_##opc], }, \
85907 + &avr32_syntax_table[AVR32_SYNTAX_##nxt], 2, \
85908 + { \
85909 + AVR32_OPERAND_##op0, AVR32_OPERAND_##op1, \
85910 + } \
85911 + }
85912 +#define SYNTAX_NORMAL_CM2(id, mne, opc, nxt, op0, op1, arch) \
85913 + { \
85914 + AVR32_SYNTAX_##id, arch, \
85915 + &avr32_mnemonic_table[AVR32_MNEMONIC_##mne], \
85916 + AVR32_PARSER_NORMAL, \
85917 + { &avr32_opc_table[AVR32_OPC_##opc], }, \
85918 + &avr32_syntax_table[AVR32_SYNTAX_##nxt], -2, \
85919 + { \
85920 + AVR32_OPERAND_##op0, AVR32_OPERAND_##op1, \
85921 + } \
85922 + }
85923 +#define SYNTAX_NORMAL_C3(id, mne, opc, nxt, op0, op1, op2, arch) \
85924 + { \
85925 + AVR32_SYNTAX_##id, arch, \
85926 + &avr32_mnemonic_table[AVR32_MNEMONIC_##mne], \
85927 + AVR32_PARSER_NORMAL, \
85928 + { &avr32_opc_table[AVR32_OPC_##opc], }, \
85929 + &avr32_syntax_table[AVR32_SYNTAX_##nxt], 3, \
85930 + { \
85931 + AVR32_OPERAND_##op0, AVR32_OPERAND_##op1, \
85932 + AVR32_OPERAND_##op2, \
85933 + } \
85934 + }
85935 +#define SYNTAX_NORMAL_CM3(id, mne, opc, nxt, op0, op1, op2, arch) \
85936 + { \
85937 + AVR32_SYNTAX_##id, arch, \
85938 + &avr32_mnemonic_table[AVR32_MNEMONIC_##mne], \
85939 + AVR32_PARSER_NORMAL, \
85940 + { &avr32_opc_table[AVR32_OPC_##opc], }, \
85941 + &avr32_syntax_table[AVR32_SYNTAX_##nxt], -3, \
85942 + { \
85943 + AVR32_OPERAND_##op0, AVR32_OPERAND_##op1, \
85944 + AVR32_OPERAND_##op2, \
85945 + } \
85946 + }
85947 +
85948 +#define SYNTAX_FP(name, nr_ops) \
85949 + { \
85950 + AVR32_SYNTAX_##name##_S, \
85951 + AVR32_FP, NULL, AVR32_PARSER_ALIAS, \
85952 + { .alias = &avr32_alias_table[AVR32_ALIAS_##name##_S] }, \
85953 + NULL, nr_ops, \
85954 + { \
85955 + AVR32_OPERAND_FPREG_S, \
85956 + AVR32_OPERAND_FPREG_S, \
85957 + AVR32_OPERAND_FPREG_S, \
85958 + }, \
85959 + }, \
85960 + { \
85961 + AVR32_SYNTAX_##name##_D, \
85962 + AVR32_FP, NULL, AVR32_PARSER_ALIAS, \
85963 + { .alias = &avr32_alias_table[AVR32_ALIAS_##name##_D] }, \
85964 + NULL, nr_ops, \
85965 + { \
85966 + AVR32_OPERAND_FPREG_D, \
85967 + AVR32_OPERAND_FPREG_D, \
85968 + AVR32_OPERAND_FPREG_D, \
85969 + }, \
85970 + }
85971 +
85972 +const struct avr32_syntax avr32_syntax_table[] =
85973 + {
85974 + SYNTAX_NORMAL1(ABS, ABS, ABS, INTREG, AVR32_V1),
85975 + SYNTAX_NORMAL1(ACALL, ACALL, ACALL, UNSIGNED_CONST_W, AVR32_V1),
85976 + SYNTAX_NORMAL1(ACR, ACR, ACR, INTREG,AVR32_V1),
85977 + SYNTAX_NORMAL3(ADC, ADC, ADC, INTREG, INTREG, INTREG, AVR32_V1),
85978 + SYNTAX_NORMAL_C2(ADD1, ADD, ADD1, ADD2, INTREG, INTREG, AVR32_V1),
85979 + SYNTAX_NORMAL3(ADD2, ADD, ADD2, INTREG, INTREG, INTREG_LSL, AVR32_V1),
85980 + SYNTAX_NORMAL3(ADDABS, ADDABS, ADDABS, INTREG, INTREG, INTREG, AVR32_V1),
85981 + SYNTAX_NORMAL3(ADDHH_W, ADDHH_W, ADDHH_W, INTREG, INTREG_HSEL, INTREG_HSEL, AVR32_DSP),
85982 + SYNTAX_NORMAL_C2(AND1, AND, AND1, AND2, INTREG, INTREG, AVR32_V1),
85983 + SYNTAX_NORMAL_C3(AND2, AND, AND2, AND3, INTREG, INTREG, INTREG_LSL, AVR32_V1),
85984 + SYNTAX_NORMAL3(AND3, AND, AND3, INTREG, INTREG, INTREG_LSR, AVR32_V1),
85985 + SYNTAX_NORMAL_C2(ANDH, ANDH, ANDH, ANDH_COH, INTREG, UNSIGNED_CONST, AVR32_V1),
85986 + SYNTAX_NORMAL3(ANDH_COH, ANDH, ANDH_COH, INTREG, UNSIGNED_CONST, COH, AVR32_V1),
85987 + SYNTAX_NORMAL_C2(ANDL, ANDL, ANDL, ANDL_COH, INTREG, UNSIGNED_CONST, AVR32_V1),
85988 + SYNTAX_NORMAL3(ANDL_COH, ANDL, ANDL_COH, INTREG, UNSIGNED_CONST, COH, AVR32_V1),
85989 + SYNTAX_NORMAL2(ANDN, ANDN, ANDN, INTREG, INTREG, AVR32_V1),
85990 + SYNTAX_NORMAL_C3(ASR1, ASR, ASR1, ASR3, INTREG, INTREG, INTREG, AVR32_V1),
85991 + SYNTAX_NORMAL_C3(ASR3, ASR, ASR3, ASR2, INTREG, INTREG, UNSIGNED_NUMBER, AVR32_V1),
85992 + SYNTAX_NORMAL2(ASR2, ASR, ASR2, INTREG, UNSIGNED_NUMBER, AVR32_V1),
85993 + SYNTAX_NORMAL4(BFEXTS, BFEXTS, BFEXTS, INTREG, INTREG, UNSIGNED_NUMBER, UNSIGNED_NUMBER, AVR32_V1),
85994 + SYNTAX_NORMAL4(BFEXTU, BFEXTU, BFEXTU, INTREG, INTREG, UNSIGNED_NUMBER, UNSIGNED_NUMBER, AVR32_V1),
85995 + SYNTAX_NORMAL4(BFINS, BFINS, BFINS, INTREG, INTREG, UNSIGNED_NUMBER, UNSIGNED_NUMBER, AVR32_V1),
85996 + SYNTAX_NORMAL2(BLD, BLD, BLD, INTREG, UNSIGNED_NUMBER, AVR32_V1),
85997 + SYNTAX_NORMAL_C1(BREQ1, BREQ, BREQ1, BREQ2, JMPLABEL, AVR32_V1),
85998 + SYNTAX_NORMAL_C1(BRNE1, BRNE, BRNE1, BRNE2, JMPLABEL, AVR32_V1),
85999 + SYNTAX_NORMAL_C1(BRCC1, BRCC, BRCC1, BRCC2, JMPLABEL, AVR32_V1),
86000 + SYNTAX_NORMAL_C1(BRCS1, BRCS, BRCS1, BRCS2, JMPLABEL, AVR32_V1),
86001 + SYNTAX_NORMAL_C1(BRGE1, BRGE, BRGE1, BRGE2, JMPLABEL, AVR32_V1),
86002 + SYNTAX_NORMAL_C1(BRLT1, BRLT, BRLT1, BRLT2, JMPLABEL, AVR32_V1),
86003 + SYNTAX_NORMAL_C1(BRMI1, BRMI, BRMI1, BRMI2, JMPLABEL, AVR32_V1),
86004 + SYNTAX_NORMAL_C1(BRPL1, BRPL, BRPL1, BRPL2, JMPLABEL, AVR32_V1),
86005 + SYNTAX_NORMAL_C1(BRHS1, BRHS, BRCC1, BRHS2, JMPLABEL, AVR32_V1),
86006 + SYNTAX_NORMAL_C1(BRLO1, BRLO, BRCS1, BRLO2, JMPLABEL, AVR32_V1),
86007 + SYNTAX_NORMAL1(BREQ2, BREQ, BREQ2, JMPLABEL, AVR32_V1),
86008 + SYNTAX_NORMAL1(BRNE2, BRNE, BRNE2, JMPLABEL, AVR32_V1),
86009 + SYNTAX_NORMAL1(BRCC2, BRCC, BRCC2, JMPLABEL, AVR32_V1),
86010 + SYNTAX_NORMAL1(BRCS2, BRCS, BRCS2, JMPLABEL, AVR32_V1),
86011 + SYNTAX_NORMAL1(BRGE2, BRGE, BRGE2, JMPLABEL, AVR32_V1),
86012 + SYNTAX_NORMAL1(BRLT2, BRLT, BRLT2, JMPLABEL, AVR32_V1),
86013 + SYNTAX_NORMAL1(BRMI2, BRMI, BRMI2, JMPLABEL, AVR32_V1),
86014 + SYNTAX_NORMAL1(BRPL2, BRPL, BRPL2, JMPLABEL, AVR32_V1),
86015 + SYNTAX_NORMAL1(BRLS, BRLS, BRLS, JMPLABEL, AVR32_V1),
86016 + SYNTAX_NORMAL1(BRGT, BRGT, BRGT, JMPLABEL, AVR32_V1),
86017 + SYNTAX_NORMAL1(BRLE, BRLE, BRLE, JMPLABEL, AVR32_V1),
86018 + SYNTAX_NORMAL1(BRHI, BRHI, BRHI, JMPLABEL, AVR32_V1),
86019 + SYNTAX_NORMAL1(BRVS, BRVS, BRVS, JMPLABEL, AVR32_V1),
86020 + SYNTAX_NORMAL1(BRVC, BRVC, BRVC, JMPLABEL, AVR32_V1),
86021 + SYNTAX_NORMAL1(BRQS, BRQS, BRQS, JMPLABEL, AVR32_V1),
86022 + SYNTAX_NORMAL1(BRAL, BRAL, BRAL, JMPLABEL, AVR32_V1),
86023 + SYNTAX_NORMAL1(BRHS2, BRHS, BRCC2, JMPLABEL, AVR32_V1),
86024 + SYNTAX_NORMAL1(BRLO2, BRLO, BRCS2, JMPLABEL, AVR32_V1),
86025 + SYNTAX_NORMAL0(BREAKPOINT, BREAKPOINT, BREAKPOINT, AVR32_V1),
86026 + SYNTAX_NORMAL1(BREV, BREV, BREV, INTREG, AVR32_V1),
86027 + SYNTAX_NORMAL2(BST, BST, BST, INTREG, UNSIGNED_NUMBER, AVR32_V1),
86028 + SYNTAX_NORMAL2(CACHE, CACHE, CACHE, INTREG_SDISP, UNSIGNED_NUMBER, AVR32_V1),
86029 + SYNTAX_NORMAL1(CASTS_B, CASTS_B, CASTS_B, INTREG, AVR32_V1),
86030 + SYNTAX_NORMAL1(CASTS_H, CASTS_H, CASTS_H, INTREG, AVR32_V1),
86031 + SYNTAX_NORMAL1(CASTU_B, CASTU_B, CASTU_B, INTREG, AVR32_V1),
86032 + SYNTAX_NORMAL1(CASTU_H, CASTU_H, CASTU_H, INTREG, AVR32_V1),
86033 + SYNTAX_NORMAL2(CBR, CBR, CBR, INTREG, UNSIGNED_NUMBER, AVR32_V1),
86034 + SYNTAX_NORMAL2(CLZ, CLZ, CLZ, INTREG, INTREG, AVR32_V1),
86035 + SYNTAX_NORMAL1(COM, COM, COM, INTREG, AVR32_V1),
86036 + SYNTAX_NORMAL5(COP, COP, COP, CPNO, CPREG, CPREG, CPREG, UNSIGNED_NUMBER, AVR32_V1),
86037 + SYNTAX_NORMAL2(CP_B, CP_B, CP_B, INTREG, INTREG, AVR32_V1),
86038 + SYNTAX_NORMAL2(CP_H, CP_H, CP_H, INTREG, INTREG, AVR32_V1),
86039 + SYNTAX_NORMAL_C2(CP_W1, CP_W, CP_W1, CP_W2, INTREG, INTREG, AVR32_V1),
86040 + SYNTAX_NORMAL_C2(CP_W2, CP_W, CP_W2, CP_W3, INTREG, SIGNED_CONST, AVR32_V1),
86041 + SYNTAX_NORMAL2(CP_W3, CP_W, CP_W3, INTREG, SIGNED_CONST, AVR32_V1),
86042 + SYNTAX_NORMAL_C2(CPC1, CPC, CPC1, CPC2, INTREG, INTREG, AVR32_V1),
86043 + SYNTAX_NORMAL1(CPC2, CPC, CPC2, INTREG, AVR32_V1),
86044 + SYNTAX_NORMAL1(CSRF, CSRF, CSRF, UNSIGNED_NUMBER, AVR32_V1),
86045 + SYNTAX_NORMAL1(CSRFCZ, CSRFCZ, CSRFCZ, UNSIGNED_NUMBER, AVR32_V1),
86046 + SYNTAX_NORMAL3(DIVS, DIVS, DIVS, INTREG, INTREG, INTREG, AVR32_V1),
86047 + SYNTAX_NORMAL3(DIVU, DIVU, DIVU, INTREG, INTREG, INTREG, AVR32_V1),
86048 + SYNTAX_NORMAL_C2(EOR1, EOR, EOR1, EOR2, INTREG, INTREG, AVR32_V1),
86049 + SYNTAX_NORMAL_C3(EOR2, EOR, EOR2, EOR3, INTREG, INTREG, INTREG_LSL, AVR32_V1),
86050 + SYNTAX_NORMAL3(EOR3, EOR, EOR3, INTREG, INTREG, INTREG_LSR, AVR32_V1),
86051 + SYNTAX_NORMAL2(EORL, EORL, EORL, INTREG, UNSIGNED_CONST, AVR32_V1),
86052 + SYNTAX_NORMAL2(EORH, EORH, EORH, INTREG, UNSIGNED_CONST, AVR32_V1),
86053 + SYNTAX_NORMAL0(FRS, FRS, FRS, AVR32_V1),
86054 + SYNTAX_NORMAL1(ICALL, ICALL, ICALL, INTREG, AVR32_V1),
86055 + SYNTAX_NORMAL1(INCJOSP, INCJOSP, INCJOSP, JOSPINC, AVR32_V1),
86056 + SYNTAX_NORMAL_C2(LD_D1, LD_D, LD_D1, LD_D2, DWREG, INTREG_POSTINC, AVR32_V1),
86057 + SYNTAX_NORMAL_C2(LD_D2, LD_D, LD_D2, LD_D3, DWREG, INTREG_PREDEC, AVR32_V1),
86058 + SYNTAX_NORMAL_C2(LD_D3, LD_D, LD_D3, LD_D5, DWREG, INTREG, AVR32_V1),
86059 + SYNTAX_NORMAL_C2(LD_D5, LD_D, LD_D5, LD_D4, DWREG, INTREG_INDEX, AVR32_V1),
86060 + SYNTAX_NORMAL2(LD_D4, LD_D, LD_D4, DWREG, INTREG_SDISP, AVR32_V1),
86061 + SYNTAX_NORMAL_C2(LD_SB2, LD_SB, LD_SB2, LD_SB1, INTREG, INTREG_INDEX, AVR32_V1),
86062 + SYNTAX_NORMAL2(LD_SB1, LD_SB, LD_SB1, INTREG, INTREG_SDISP, AVR32_V1),
86063 + SYNTAX_NORMAL_C2(LD_UB1, LD_UB, LD_UB1, LD_UB2, INTREG, INTREG_POSTINC, AVR32_V1),
86064 + SYNTAX_NORMAL_C2(LD_UB2, LD_UB, LD_UB2, LD_UB5, INTREG, INTREG_PREDEC, AVR32_V1),
86065 + SYNTAX_NORMAL_C2(LD_UB5, LD_UB, LD_UB5, LD_UB3, INTREG, INTREG_INDEX, AVR32_V1),
86066 + SYNTAX_NORMAL_C2(LD_UB3, LD_UB, LD_UB3, LD_UB4, INTREG, INTREG_UDISP, AVR32_V1),
86067 + SYNTAX_NORMAL2(LD_UB4, LD_UB, LD_UB4, INTREG, INTREG_SDISP, AVR32_V1),
86068 + SYNTAX_NORMAL_C2(LD_SH1, LD_SH, LD_SH1, LD_SH2, INTREG, INTREG_POSTINC, AVR32_V1),
86069 + SYNTAX_NORMAL_C2(LD_SH2, LD_SH, LD_SH2, LD_SH5, INTREG, INTREG_PREDEC, AVR32_V1),
86070 + SYNTAX_NORMAL_C2(LD_SH5, LD_SH, LD_SH5, LD_SH3, INTREG, INTREG_INDEX, AVR32_V1),
86071 + SYNTAX_NORMAL_C2(LD_SH3, LD_SH, LD_SH3, LD_SH4, INTREG, INTREG_UDISP_H, AVR32_V1),
86072 + SYNTAX_NORMAL2(LD_SH4, LD_SH, LD_SH4, INTREG, INTREG_SDISP, AVR32_V1),
86073 + SYNTAX_NORMAL_C2(LD_UH1, LD_UH, LD_UH1, LD_UH2, INTREG, INTREG_POSTINC, AVR32_V1),
86074 + SYNTAX_NORMAL_C2(LD_UH2, LD_UH, LD_UH2, LD_UH5, INTREG, INTREG_PREDEC, AVR32_V1),
86075 + SYNTAX_NORMAL_C2(LD_UH5, LD_UH, LD_UH5, LD_UH3, INTREG, INTREG_INDEX, AVR32_V1),
86076 + SYNTAX_NORMAL_C2(LD_UH3, LD_UH, LD_UH3, LD_UH4, INTREG, INTREG_UDISP_H, AVR32_V1),
86077 + SYNTAX_NORMAL2(LD_UH4, LD_UH, LD_UH4, INTREG, INTREG_SDISP, AVR32_V1),
86078 + SYNTAX_NORMAL_C2(LD_W1, LD_W, LD_W1, LD_W2, INTREG, INTREG_POSTINC, AVR32_V1),
86079 + SYNTAX_NORMAL_C2(LD_W2, LD_W, LD_W2, LD_W5, INTREG, INTREG_PREDEC, AVR32_V1),
86080 + SYNTAX_NORMAL_C2(LD_W5, LD_W, LD_W5, LD_W6, INTREG, INTREG_INDEX, AVR32_V1),
86081 + SYNTAX_NORMAL_C2(LD_W6, LD_W, LD_W6, LD_W3, INTREG, INTREG_XINDEX, AVR32_V1),
86082 + SYNTAX_NORMAL_C2(LD_W3, LD_W, LD_W3, LD_W4, INTREG, INTREG_UDISP_W, AVR32_V1),
86083 + SYNTAX_NORMAL2(LD_W4, LD_W, LD_W4, INTREG, INTREG_SDISP, AVR32_V1),
86084 + SYNTAX_NORMAL3(LDC_D1, LDC_D, LDC_D1, CPNO, CPREG_D, INTREG_UDISP_W, AVR32_V1),
86085 + SYNTAX_NORMAL_C3(LDC_D2, LDC_D, LDC_D2, LDC_D1, CPNO, CPREG_D, INTREG_PREDEC, AVR32_V1),
86086 + SYNTAX_NORMAL_C3(LDC_D3, LDC_D, LDC_D3, LDC_D2, CPNO, CPREG_D, INTREG_INDEX, AVR32_V1),
86087 + SYNTAX_NORMAL3(LDC_W1, LDC_W, LDC_W1, CPNO, CPREG, INTREG_UDISP_W, AVR32_V1),
86088 + SYNTAX_NORMAL_C3(LDC_W2, LDC_W, LDC_W2, LDC_W1, CPNO, CPREG, INTREG_PREDEC, AVR32_V1),
86089 + SYNTAX_NORMAL_C3(LDC_W3, LDC_W, LDC_W3, LDC_W2, CPNO, CPREG, INTREG_INDEX, AVR32_V1),
86090 + SYNTAX_NORMAL2(LDC0_D, LDC0_D, LDC0_D, CPREG_D, INTREG_UDISP_W, AVR32_V1),
86091 + SYNTAX_NORMAL2(LDC0_W, LDC0_W, LDC0_W, CPREG, INTREG_UDISP_W, AVR32_V1),
86092 + SYNTAX_NORMAL_CM3(LDCM_D, LDCM_D, LDCM_D, LDCM_D_PU, CPNO, INTREG, REGLIST_CPD8, AVR32_V1),
86093 + SYNTAX_NORMALM3(LDCM_D_PU, LDCM_D, LDCM_D_PU, CPNO, INTREG_POSTINC, REGLIST_CPD8, AVR32_V1),
86094 + SYNTAX_NORMAL_CM3(LDCM_W, LDCM_W, LDCM_W, LDCM_W_PU, CPNO, INTREG, REGLIST_CP8, AVR32_V1),
86095 + SYNTAX_NORMALM3(LDCM_W_PU, LDCM_W, LDCM_W_PU, CPNO, INTREG_POSTINC, REGLIST_CP8, AVR32_V1),
86096 + SYNTAX_NORMAL2(LDDPC, LDDPC, LDDPC, INTREG, PC_UDISP_W, AVR32_V1),
86097 + SYNTAX_NORMAL2(LDDPC_EXT, LDDPC, LDDPC_EXT, INTREG, SIGNED_CONST, AVR32_V1),
86098 + SYNTAX_NORMAL2(LDDSP, LDDSP, LDDSP, INTREG, SP_UDISP_W, AVR32_V1),
86099 + SYNTAX_NORMAL2(LDINS_B, LDINS_B, LDINS_B, INTREG_BSEL, INTREG_SDISP, AVR32_V1),
86100 + SYNTAX_NORMAL2(LDINS_H, LDINS_H, LDINS_H, INTREG_HSEL, INTREG_SDISP_H, AVR32_V1),
86101 + SYNTAX_NORMALM1(LDM, LDM, LDM, REGLIST_LDM, AVR32_V1),
86102 + SYNTAX_NORMAL_CM2(LDMTS, LDMTS, LDMTS, LDMTS_PU, INTREG, REGLIST16, AVR32_V1),
86103 + SYNTAX_NORMALM2(LDMTS_PU, LDMTS, LDMTS_PU, INTREG_POSTINC, REGLIST16, AVR32_V1),
86104 + SYNTAX_NORMAL2(LDSWP_SH, LDSWP_SH, LDSWP_SH, INTREG, INTREG_SDISP_H, AVR32_V1),
86105 + SYNTAX_NORMAL2(LDSWP_UH, LDSWP_UH, LDSWP_UH, INTREG, INTREG_SDISP_H, AVR32_V1),
86106 + SYNTAX_NORMAL2(LDSWP_W, LDSWP_W, LDSWP_W, INTREG, INTREG_SDISP_W, AVR32_V1),
86107 + SYNTAX_NORMAL_C3(LSL1, LSL, LSL1, LSL3, INTREG, INTREG, INTREG, AVR32_V1),
86108 + SYNTAX_NORMAL_C3(LSL3, LSL, LSL3, LSL2, INTREG, INTREG, UNSIGNED_NUMBER, AVR32_V1),
86109 + SYNTAX_NORMAL2(LSL2, LSL, LSL2, INTREG, UNSIGNED_NUMBER, AVR32_V1),
86110 + SYNTAX_NORMAL_C3(LSR1, LSR, LSR1, LSR3, INTREG, INTREG, INTREG, AVR32_V1),
86111 + SYNTAX_NORMAL_C3(LSR3, LSR, LSR3, LSR2, INTREG, INTREG, UNSIGNED_NUMBER, AVR32_V1),
86112 + SYNTAX_NORMAL2(LSR2, LSR, LSR2, INTREG, UNSIGNED_NUMBER, AVR32_V1),
86113 + SYNTAX_NORMAL3(MAC, MAC, MAC, INTREG, INTREG, INTREG, AVR32_V1),
86114 + SYNTAX_NORMAL3(MACHH_D, MACHH_D, MACHH_D, INTREG, INTREG_HSEL, INTREG_HSEL, AVR32_DSP),
86115 + SYNTAX_NORMAL3(MACHH_W, MACHH_W, MACHH_W, INTREG, INTREG_HSEL, INTREG_HSEL, AVR32_DSP),
86116 + SYNTAX_NORMAL3(MACS_D, MACS_D, MACS_D, INTREG, INTREG, INTREG, AVR32_V1),
86117 + SYNTAX_NORMAL3(MACSATHH_W, MACSATHH_W, MACSATHH_W, INTREG, INTREG_HSEL, INTREG_HSEL, AVR32_DSP),
86118 + SYNTAX_NORMAL3(MACUD, MACU_D, MACUD, INTREG, INTREG, INTREG, AVR32_V1),
86119 + SYNTAX_NORMAL3(MACWH_D, MACWH_D, MACWH_D, INTREG, INTREG, INTREG_HSEL, AVR32_DSP),
86120 + SYNTAX_NORMAL3(MAX, MAX, MAX, INTREG, INTREG, INTREG, AVR32_V1),
86121 + SYNTAX_NORMAL1(MCALL, MCALL, MCALL, MCALL, AVR32_V1),
86122 + SYNTAX_NORMAL2(MFDR, MFDR, MFDR, INTREG, UNSIGNED_CONST_W, AVR32_V1),
86123 + SYNTAX_NORMAL2(MFSR, MFSR, MFSR, INTREG, UNSIGNED_CONST_W, AVR32_V1),
86124 + SYNTAX_NORMAL3(MIN, MIN, MIN, INTREG, INTREG, INTREG, AVR32_V1),
86125 + SYNTAX_NORMAL_C2(MOV3, MOV, MOV3, MOV1, INTREG, INTREG, AVR32_V1),
86126 + SYNTAX_NORMAL_C2(MOV1, MOV, MOV1, MOV2, INTREG, SIGNED_CONST, AVR32_V1),
86127 + SYNTAX_NORMAL2(MOV2, MOV, MOV2, INTREG, SIGNED_CONST, AVR32_V1),
86128 + SYNTAX_NORMAL_C2(MOVEQ1, MOVEQ, MOVEQ1, MOVEQ2, INTREG, INTREG, AVR32_V1),
86129 + SYNTAX_NORMAL_C2(MOVNE1, MOVNE, MOVNE1, MOVNE2, INTREG, INTREG, AVR32_V1),
86130 + SYNTAX_NORMAL_C2(MOVCC1, MOVCC, MOVCC1, MOVCC2, INTREG, INTREG, AVR32_V1),
86131 + SYNTAX_NORMAL_C2(MOVCS1, MOVCS, MOVCS1, MOVCS2, INTREG, INTREG, AVR32_V1),
86132 + SYNTAX_NORMAL_C2(MOVGE1, MOVGE, MOVGE1, MOVGE2, INTREG, INTREG, AVR32_V1),
86133 + SYNTAX_NORMAL_C2(MOVLT1, MOVLT, MOVLT1, MOVLT2, INTREG, INTREG, AVR32_V1),
86134 + SYNTAX_NORMAL_C2(MOVMI1, MOVMI, MOVMI1, MOVMI2, INTREG, INTREG, AVR32_V1),
86135 + SYNTAX_NORMAL_C2(MOVPL1, MOVPL, MOVPL1, MOVPL2, INTREG, INTREG, AVR32_V1),
86136 + SYNTAX_NORMAL_C2(MOVLS1, MOVLS, MOVLS1, MOVLS2, INTREG, INTREG, AVR32_V1),
86137 + SYNTAX_NORMAL_C2(MOVGT1, MOVGT, MOVGT1, MOVGT2, INTREG, INTREG, AVR32_V1),
86138 + SYNTAX_NORMAL_C2(MOVLE1, MOVLE, MOVLE1, MOVLE2, INTREG, INTREG, AVR32_V1),
86139 + SYNTAX_NORMAL_C2(MOVHI1, MOVHI, MOVHI1, MOVHI2, INTREG, INTREG, AVR32_V1),
86140 + SYNTAX_NORMAL_C2(MOVVS1, MOVVS, MOVVS1, MOVVS2, INTREG, INTREG, AVR32_V1),
86141 + SYNTAX_NORMAL_C2(MOVVC1, MOVVC, MOVVC1, MOVVC2, INTREG, INTREG, AVR32_V1),
86142 + SYNTAX_NORMAL_C2(MOVQS1, MOVQS, MOVQS1, MOVQS2, INTREG, INTREG, AVR32_V1),
86143 + SYNTAX_NORMAL_C2(MOVAL1, MOVAL, MOVAL1, MOVAL2, INTREG, INTREG, AVR32_V1),
86144 + SYNTAX_NORMAL_C2(MOVHS1, MOVHS, MOVCC1, MOVHS2, INTREG, INTREG, AVR32_V1),
86145 + SYNTAX_NORMAL_C2(MOVLO1, MOVLO, MOVCS1, MOVLO2, INTREG, INTREG, AVR32_V1),
86146 + SYNTAX_NORMAL2(MOVEQ2, MOVEQ, MOVEQ2, INTREG, SIGNED_CONST, AVR32_V1),
86147 + SYNTAX_NORMAL2(MOVNE2, MOVNE, MOVNE2, INTREG, SIGNED_CONST, AVR32_V1),
86148 + SYNTAX_NORMAL2(MOVCC2, MOVCC, MOVCC2, INTREG, SIGNED_CONST, AVR32_V1),
86149 + SYNTAX_NORMAL2(MOVCS2, MOVCS, MOVCS2, INTREG, SIGNED_CONST, AVR32_V1),
86150 + SYNTAX_NORMAL2(MOVGE2, MOVGE, MOVGE2, INTREG, SIGNED_CONST, AVR32_V1),
86151 + SYNTAX_NORMAL2(MOVLT2, MOVLT, MOVLT2, INTREG, SIGNED_CONST, AVR32_V1),
86152 + SYNTAX_NORMAL2(MOVMI2, MOVMI, MOVMI2, INTREG, SIGNED_CONST, AVR32_V1),
86153 + SYNTAX_NORMAL2(MOVPL2, MOVPL, MOVPL2, INTREG, SIGNED_CONST, AVR32_V1),
86154 + SYNTAX_NORMAL2(MOVLS2, MOVLS, MOVLS2, INTREG, SIGNED_CONST, AVR32_V1),
86155 + SYNTAX_NORMAL2(MOVGT2, MOVGT, MOVGT2, INTREG, SIGNED_CONST, AVR32_V1),
86156 + SYNTAX_NORMAL2(MOVLE2, MOVLE, MOVLE2, INTREG, SIGNED_CONST, AVR32_V1),
86157 + SYNTAX_NORMAL2(MOVHI2, MOVHI, MOVHI2, INTREG, SIGNED_CONST, AVR32_V1),
86158 + SYNTAX_NORMAL2(MOVVS2, MOVVS, MOVVS2, INTREG, SIGNED_CONST, AVR32_V1),
86159 + SYNTAX_NORMAL2(MOVVC2, MOVVC, MOVVC2, INTREG, SIGNED_CONST, AVR32_V1),
86160 + SYNTAX_NORMAL2(MOVQS2, MOVQS, MOVQS2, INTREG, SIGNED_CONST, AVR32_V1),
86161 + SYNTAX_NORMAL2(MOVAL2, MOVAL, MOVAL2, INTREG, SIGNED_CONST, AVR32_V1),
86162 + SYNTAX_NORMAL2(MOVHS2, MOVHS, MOVCC2, INTREG, SIGNED_CONST, AVR32_V1),
86163 + SYNTAX_NORMAL2(MOVLO2, MOVLO, MOVCS2, INTREG, SIGNED_CONST, AVR32_V1),
86164 + SYNTAX_NORMAL2(MTDR, MTDR, MTDR, UNSIGNED_CONST_W, INTREG, AVR32_V1),
86165 + SYNTAX_NORMAL2(MTSR, MTSR, MTSR, UNSIGNED_CONST_W, INTREG, AVR32_V1),
86166 + SYNTAX_NORMAL_C2(MUL1, MUL, MUL1, MUL2, INTREG, INTREG, AVR32_V1),
86167 + SYNTAX_NORMAL_C3(MUL2, MUL, MUL2, MUL3, INTREG, INTREG, INTREG, AVR32_V1),
86168 + SYNTAX_NORMAL3(MUL3, MUL, MUL3, INTREG, INTREG, SIGNED_CONST, AVR32_V1),
86169 + SYNTAX_NORMAL3(MULHH_W, MULHH_W, MULHH_W, INTREG, INTREG_HSEL, INTREG_HSEL, AVR32_DSP),
86170 + SYNTAX_NORMAL3(MULNHH_W, MULNHH_W, MULNHH_W, INTREG, INTREG_HSEL, INTREG_HSEL, AVR32_DSP),
86171 + SYNTAX_NORMAL3(MULNWH_D, MULNWH_D, MULNWH_D, INTREG, INTREG, INTREG_HSEL, AVR32_DSP),
86172 + SYNTAX_NORMAL3(MULSD, MULS_D, MULSD, INTREG, INTREG, INTREG, AVR32_V1),
86173 + SYNTAX_NORMAL3(MULSATHH_H, MULSATHH_H, MULSATHH_H, INTREG, INTREG_HSEL, INTREG_HSEL, AVR32_DSP),
86174 + SYNTAX_NORMAL3(MULSATHH_W, MULSATHH_W, MULSATHH_W, INTREG, INTREG_HSEL, INTREG_HSEL, AVR32_DSP),
86175 + SYNTAX_NORMAL3(MULSATRNDHH_H, MULSATRNDHH_H, MULSATRNDHH_H, INTREG, INTREG_HSEL, INTREG_HSEL, AVR32_DSP),
86176 + SYNTAX_NORMAL3(MULSATRNDWH_W, MULSATRNDWH_W, MULSATRNDWH_W, INTREG, INTREG, INTREG_HSEL, AVR32_DSP),
86177 + SYNTAX_NORMAL3(MULSATWH_W, MULSATWH_W, MULSATWH_W, INTREG, INTREG, INTREG_HSEL, AVR32_DSP),
86178 + SYNTAX_NORMAL3(MULU_D, MULU_D, MULU_D, INTREG, INTREG, INTREG, AVR32_V1),
86179 + SYNTAX_NORMAL3(MULWH_D, MULWH_D, MULWH_D, INTREG, INTREG, INTREG_HSEL, AVR32_DSP),
86180 + SYNTAX_NORMAL1(MUSFR, MUSFR, MUSFR, INTREG, AVR32_V1),
86181 + SYNTAX_NORMAL1(MUSTR, MUSTR, MUSTR, INTREG, AVR32_V1),
86182 + SYNTAX_NORMAL3(MVCR_D, MVCR_D, MVCR_D, CPNO, DWREG, CPREG_D, AVR32_V1),
86183 + SYNTAX_NORMAL3(MVCR_W, MVCR_W, MVCR_W, CPNO, INTREG, CPREG, AVR32_V1),
86184 + SYNTAX_NORMAL3(MVRC_D, MVRC_D, MVRC_D, CPNO, CPREG_D, DWREG, AVR32_V1),
86185 + SYNTAX_NORMAL3(MVRC_W, MVRC_W, MVRC_W, CPNO, CPREG, INTREG, AVR32_V1),
86186 + SYNTAX_NORMAL1(NEG, NEG, NEG, INTREG, AVR32_V1),
86187 + SYNTAX_NORMAL0(NOP, NOP, NOP, AVR32_V1),
86188 + SYNTAX_NORMAL_C2(OR1, OR, OR1, OR2, INTREG, INTREG, AVR32_V1),
86189 + SYNTAX_NORMAL_C3(OR2, OR, OR2, OR3, INTREG, INTREG, INTREG_LSL, AVR32_V1),
86190 + SYNTAX_NORMAL3(OR3, OR, OR3, INTREG, INTREG, INTREG_LSR, AVR32_V1),
86191 + SYNTAX_NORMAL2(ORH, ORH, ORH, INTREG, UNSIGNED_CONST, AVR32_V1),
86192 + SYNTAX_NORMAL2(ORL, ORL, ORL, INTREG, UNSIGNED_CONST, AVR32_V1),
86193 + SYNTAX_NORMAL2(PABS_SB, PABS_SB, PABS_SB, INTREG, INTREG, AVR32_SIMD),
86194 + SYNTAX_NORMAL2(PABS_SH, PABS_SH, PABS_SH, INTREG, INTREG, AVR32_SIMD),
86195 + SYNTAX_NORMAL3(PACKSH_SB, PACKSH_SB, PACKSH_SB, INTREG, INTREG, INTREG, AVR32_SIMD),
86196 + SYNTAX_NORMAL3(PACKSH_UB, PACKSH_UB, PACKSH_UB, INTREG, INTREG, INTREG, AVR32_SIMD),
86197 + SYNTAX_NORMAL3(PACKW_SH, PACKW_SH, PACKW_SH, INTREG, INTREG, INTREG, AVR32_SIMD),
86198 + SYNTAX_NORMAL3(PADD_B, PADD_B, PADD_B, INTREG, INTREG, INTREG, AVR32_SIMD),
86199 + SYNTAX_NORMAL3(PADD_H, PADD_H, PADD_H, INTREG, INTREG, INTREG, AVR32_SIMD),
86200 + SYNTAX_NORMAL3(PADDH_SH, PADDH_SH, PADDH_SH, INTREG, INTREG, INTREG, AVR32_SIMD),
86201 + SYNTAX_NORMAL3(PADDH_UB, PADDH_UB, PADDH_UB, INTREG, INTREG, INTREG, AVR32_SIMD),
86202 + SYNTAX_NORMAL3(PADDS_SB, PADDS_SB, PADDS_SB, INTREG, INTREG, INTREG, AVR32_SIMD),
86203 + SYNTAX_NORMAL3(PADDS_SH, PADDS_SH, PADDS_SH, INTREG, INTREG, INTREG, AVR32_SIMD),
86204 + SYNTAX_NORMAL3(PADDS_UB, PADDS_UB, PADDS_UB, INTREG, INTREG, INTREG, AVR32_SIMD),
86205 + SYNTAX_NORMAL3(PADDS_UH, PADDS_UH, PADDS_UH, INTREG, INTREG, INTREG, AVR32_SIMD),
86206 + SYNTAX_NORMAL3(PADDSUB_H, PADDSUB_H, PADDSUB_H, INTREG, INTREG_HSEL, INTREG_HSEL, AVR32_SIMD),
86207 + SYNTAX_NORMAL3(PADDSUBH_SH, PADDSUBH_SH, PADDSUBH_SH, INTREG, INTREG_HSEL, INTREG_HSEL, AVR32_SIMD),
86208 + SYNTAX_NORMAL3(PADDSUBS_SH, PADDSUBS_SH, PADDSUBS_SH, INTREG, INTREG_HSEL, INTREG_HSEL, AVR32_SIMD),
86209 + SYNTAX_NORMAL3(PADDSUBS_UH, PADDSUBS_UH, PADDSUBS_UH, INTREG, INTREG_HSEL, INTREG_HSEL, AVR32_SIMD),
86210 + SYNTAX_NORMAL3(PADDX_H, PADDX_H, PADDX_H, INTREG, INTREG, INTREG, AVR32_SIMD),
86211 + SYNTAX_NORMAL3(PADDXH_SH, PADDXH_SH, PADDXH_SH, INTREG, INTREG, INTREG, AVR32_SIMD),
86212 + SYNTAX_NORMAL3(PADDXS_SH, PADDXS_SH, PADDXS_SH, INTREG, INTREG, INTREG, AVR32_SIMD),
86213 + SYNTAX_NORMAL3(PADDXS_UH, PADDXS_UH, PADDXS_UH, INTREG, INTREG, INTREG, AVR32_SIMD),
86214 + SYNTAX_NORMAL3(PASR_B, PASR_B, PASR_B, INTREG, INTREG, UNSIGNED_NUMBER, AVR32_SIMD),
86215 + SYNTAX_NORMAL3(PASR_H, PASR_H, PASR_H, INTREG, INTREG, UNSIGNED_NUMBER, AVR32_SIMD),
86216 + SYNTAX_NORMAL3(PAVG_SH, PAVG_SH, PAVG_SH, INTREG, INTREG, INTREG, AVR32_SIMD),
86217 + SYNTAX_NORMAL3(PAVG_UB, PAVG_UB, PAVG_UB, INTREG, INTREG, INTREG, AVR32_SIMD),
86218 + SYNTAX_NORMAL3(PLSL_B, PLSL_B, PLSL_B, INTREG, INTREG, UNSIGNED_NUMBER, AVR32_SIMD),
86219 + SYNTAX_NORMAL3(PLSL_H, PLSL_H, PLSL_H, INTREG, INTREG, UNSIGNED_NUMBER, AVR32_SIMD),
86220 + SYNTAX_NORMAL3(PLSR_B, PLSR_B, PLSR_B, INTREG, INTREG, UNSIGNED_NUMBER, AVR32_SIMD),
86221 + SYNTAX_NORMAL3(PLSR_H, PLSR_H, PLSR_H, INTREG, INTREG, UNSIGNED_NUMBER, AVR32_SIMD),
86222 + SYNTAX_NORMAL3(PMAX_SH, PMAX_SH, PMAX_SH, INTREG, INTREG, INTREG, AVR32_SIMD),
86223 + SYNTAX_NORMAL3(PMAX_UB, PMAX_UB, PMAX_UB, INTREG, INTREG, INTREG, AVR32_SIMD),
86224 + SYNTAX_NORMAL3(PMIN_SH, PMIN_SH, PMIN_SH, INTREG, INTREG, INTREG, AVR32_SIMD),
86225 + SYNTAX_NORMAL3(PMIN_UB, PMIN_UB, PMIN_UB, INTREG, INTREG, INTREG, AVR32_SIMD),
86226 + SYNTAX_NORMAL0(POPJC, POPJC, POPJC, AVR32_V1),
86227 + SYNTAX_NORMAL_CM1(POPM, POPM, POPM, POPM_E, REGLIST9, AVR32_V1),
86228 + SYNTAX_NORMALM1(POPM_E, POPM, POPM_E, REGLIST16, AVR32_V1),
86229 + SYNTAX_NORMAL1(PREF, PREF, PREF, INTREG_SDISP, AVR32_V1),
86230 + SYNTAX_NORMAL3(PSAD, PSAD, PSAD, INTREG, INTREG, INTREG, AVR32_SIMD),
86231 + SYNTAX_NORMAL3(PSUB_B, PSUB_B, PSUB_B, INTREG, INTREG, INTREG, AVR32_SIMD),
86232 + SYNTAX_NORMAL3(PSUB_H, PSUB_H, PSUB_H, INTREG, INTREG, INTREG, AVR32_SIMD),
86233 + SYNTAX_NORMAL3(PSUBADD_H, PSUBADD_H, PSUBADD_H, INTREG, INTREG_HSEL, INTREG_HSEL, AVR32_SIMD),
86234 + SYNTAX_NORMAL3(PSUBADDH_SH, PSUBADDH_SH, PSUBADDH_SH, INTREG, INTREG_HSEL, INTREG_HSEL, AVR32_SIMD),
86235 + SYNTAX_NORMAL3(PSUBADDS_SH, PSUBADDS_SH, PSUBADDS_SH, INTREG, INTREG_HSEL, INTREG_HSEL, AVR32_SIMD),
86236 + SYNTAX_NORMAL3(PSUBADDS_UH, PSUBADDS_UH, PSUBADDS_UH, INTREG, INTREG_HSEL, INTREG_HSEL, AVR32_SIMD),
86237 + SYNTAX_NORMAL3(PSUBH_SH, PSUBH_SH, PSUBH_SH, INTREG, INTREG, INTREG, AVR32_SIMD),
86238 + SYNTAX_NORMAL3(PSUBH_UB, PSUBH_UB, PSUBH_UB, INTREG, INTREG, INTREG, AVR32_SIMD),
86239 + SYNTAX_NORMAL3(PSUBS_SB, PSUBS_SB, PSUBS_SB, INTREG, INTREG, INTREG, AVR32_SIMD),
86240 + SYNTAX_NORMAL3(PSUBS_SH, PSUBS_SH, PSUBS_SH, INTREG, INTREG, INTREG, AVR32_SIMD),
86241 + SYNTAX_NORMAL3(PSUBS_UB, PSUBS_UB, PSUBS_UB, INTREG, INTREG, INTREG, AVR32_SIMD),
86242 + SYNTAX_NORMAL3(PSUBS_UH, PSUBS_UH, PSUBS_UH, INTREG, INTREG, INTREG, AVR32_SIMD),
86243 + SYNTAX_NORMAL3(PSUBX_H, PSUBX_H, PSUBX_H, INTREG, INTREG, INTREG, AVR32_SIMD),
86244 + SYNTAX_NORMAL3(PSUBXH_SH, PSUBXH_SH, PSUBXH_SH, INTREG, INTREG, INTREG, AVR32_SIMD),
86245 + SYNTAX_NORMAL3(PSUBXS_SH, PSUBXS_SH, PSUBXS_SH, INTREG, INTREG, INTREG, AVR32_SIMD),
86246 + SYNTAX_NORMAL3(PSUBXS_UH, PSUBXS_UH, PSUBXS_UH, INTREG, INTREG, INTREG, AVR32_SIMD),
86247 + SYNTAX_NORMAL2(PUNPCKSB_H, PUNPCKSB_H, PUNPCKSB_H, INTREG, INTREG_HSEL, AVR32_SIMD),
86248 + SYNTAX_NORMAL2(PUNPCKUB_H, PUNPCKUB_H, PUNPCKUB_H, INTREG, INTREG_HSEL, AVR32_SIMD),
86249 + SYNTAX_NORMAL0(PUSHJC, PUSHJC, PUSHJC, AVR32_V1),
86250 + SYNTAX_NORMAL_CM1(PUSHM, PUSHM, PUSHM, PUSHM_E, REGLIST8, AVR32_V1),
86251 + SYNTAX_NORMALM1(PUSHM_E, PUSHM, PUSHM_E, REGLIST16, AVR32_V1),
86252 + SYNTAX_NORMAL_C1(RCALL1, RCALL, RCALL1, RCALL2, JMPLABEL, AVR32_V1),
86253 + SYNTAX_NORMAL1(RCALL2, RCALL, RCALL2, JMPLABEL, AVR32_V1),
86254 + SYNTAX_NORMAL1(RETEQ, RETEQ, RETEQ, RETVAL, AVR32_V1),
86255 + SYNTAX_NORMAL1(RETNE, RETNE, RETNE, RETVAL, AVR32_V1),
86256 + SYNTAX_NORMAL1(RETCC, RETCC, RETCC, RETVAL, AVR32_V1),
86257 + SYNTAX_NORMAL1(RETCS, RETCS, RETCS, RETVAL, AVR32_V1),
86258 + SYNTAX_NORMAL1(RETGE, RETGE, RETGE, RETVAL, AVR32_V1),
86259 + SYNTAX_NORMAL1(RETLT, RETLT, RETLT, RETVAL, AVR32_V1),
86260 + SYNTAX_NORMAL1(RETMI, RETMI, RETMI, RETVAL, AVR32_V1),
86261 + SYNTAX_NORMAL1(RETPL, RETPL, RETPL, RETVAL, AVR32_V1),
86262 + SYNTAX_NORMAL1(RETLS, RETLS, RETLS, RETVAL, AVR32_V1),
86263 + SYNTAX_NORMAL1(RETGT, RETGT, RETGT, RETVAL, AVR32_V1),
86264 + SYNTAX_NORMAL1(RETLE, RETLE, RETLE, RETVAL, AVR32_V1),
86265 + SYNTAX_NORMAL1(RETHI, RETHI, RETHI, RETVAL, AVR32_V1),
86266 + SYNTAX_NORMAL1(RETVS, RETVS, RETVS, RETVAL, AVR32_V1),
86267 + SYNTAX_NORMAL1(RETVC, RETVC, RETVC, RETVAL, AVR32_V1),
86268 + SYNTAX_NORMAL1(RETQS, RETQS, RETQS, RETVAL, AVR32_V1),
86269 + SYNTAX_NORMAL1(RETAL, RETAL, RETAL, RETVAL, AVR32_V1),
86270 + SYNTAX_NORMAL1(RETHS, RETHS, RETCC, RETVAL, AVR32_V1),
86271 + SYNTAX_NORMAL1(RETLO, RETLO, RETCS, RETVAL, AVR32_V1),
86272 + SYNTAX_NORMAL0(RETD, RETD, RETD, AVR32_V1),
86273 + SYNTAX_NORMAL0(RETE, RETE, RETE, AVR32_V1),
86274 + SYNTAX_NORMAL0(RETJ, RETJ, RETJ, AVR32_V1),
86275 + SYNTAX_NORMAL0(RETS, RETS, RETS, AVR32_V1),
86276 + SYNTAX_NORMAL1(RJMP, RJMP, RJMP, JMPLABEL, AVR32_V1),
86277 + SYNTAX_NORMAL1(ROL, ROL, ROL, INTREG, AVR32_V1),
86278 + SYNTAX_NORMAL1(ROR, ROR, ROR, INTREG, AVR32_V1),
86279 + SYNTAX_NORMAL_C2(RSUB1, RSUB, RSUB1, RSUB2, INTREG, INTREG, AVR32_V1),
86280 + SYNTAX_NORMAL3(RSUB2, RSUB, RSUB2, INTREG, INTREG, SIGNED_CONST, AVR32_V1),
86281 + SYNTAX_NORMAL3(SATADD_H, SATADD_H, SATADD_H, INTREG, INTREG, INTREG, AVR32_DSP),
86282 + SYNTAX_NORMAL3(SATADD_W, SATADD_W, SATADD_W, INTREG, INTREG, INTREG, AVR32_DSP),
86283 + SYNTAX_NORMAL2(SATRNDS, SATRNDS, SATRNDS, INTREG_LSR, UNSIGNED_NUMBER, AVR32_DSP),
86284 + SYNTAX_NORMAL2(SATRNDU, SATRNDU, SATRNDU, INTREG_LSR, UNSIGNED_NUMBER, AVR32_DSP),
86285 + SYNTAX_NORMAL2(SATS, SATS, SATS, INTREG_LSR, UNSIGNED_NUMBER, AVR32_DSP),
86286 + SYNTAX_NORMAL3(SATSUB_H, SATSUB_H, SATSUB_H, INTREG, INTREG, INTREG, AVR32_DSP),
86287 + SYNTAX_NORMAL_C3(SATSUB_W1, SATSUB_W, SATSUB_W1, SATSUB_W2, INTREG, INTREG, INTREG, AVR32_DSP),
86288 + SYNTAX_NORMAL3(SATSUB_W2, SATSUB_W, SATSUB_W2, INTREG, INTREG, SIGNED_CONST, AVR32_DSP),
86289 + SYNTAX_NORMAL2(SATU, SATU, SATU, INTREG_LSR, UNSIGNED_NUMBER, AVR32_V1),
86290 + SYNTAX_NORMAL3(SBC, SBC, SBC, INTREG, INTREG, INTREG, AVR32_V1),
86291 + SYNTAX_NORMAL2(SBR, SBR, SBR, INTREG, UNSIGNED_NUMBER, AVR32_V1),
86292 + SYNTAX_NORMAL0(SCALL, SCALL, SCALL, AVR32_V1),
86293 + SYNTAX_NORMAL1(SCR, SCR, SCR, INTREG, AVR32_V1),
86294 + SYNTAX_NORMAL1(SLEEP, SLEEP, SLEEP, UNSIGNED_CONST, AVR32_V1),
86295 + SYNTAX_NORMAL1(SREQ, SREQ, SREQ, INTREG, AVR32_V1),
86296 + SYNTAX_NORMAL1(SRNE, SRNE, SRNE, INTREG, AVR32_V1),
86297 + SYNTAX_NORMAL1(SRCC, SRCC, SRCC, INTREG, AVR32_V1),
86298 + SYNTAX_NORMAL1(SRCS, SRCS, SRCS, INTREG, AVR32_V1),
86299 + SYNTAX_NORMAL1(SRGE, SRGE, SRGE, INTREG, AVR32_V1),
86300 + SYNTAX_NORMAL1(SRLT, SRLT, SRLT, INTREG, AVR32_V1),
86301 + SYNTAX_NORMAL1(SRMI, SRMI, SRMI, INTREG, AVR32_V1),
86302 + SYNTAX_NORMAL1(SRPL, SRPL, SRPL, INTREG, AVR32_V1),
86303 + SYNTAX_NORMAL1(SRLS, SRLS, SRLS, INTREG, AVR32_V1),
86304 + SYNTAX_NORMAL1(SRGT, SRGT, SRGT, INTREG, AVR32_V1),
86305 + SYNTAX_NORMAL1(SRLE, SRLE, SRLE, INTREG, AVR32_V1),
86306 + SYNTAX_NORMAL1(SRHI, SRHI, SRHI, INTREG, AVR32_V1),
86307 + SYNTAX_NORMAL1(SRVS, SRVS, SRVS, INTREG, AVR32_V1),
86308 + SYNTAX_NORMAL1(SRVC, SRVC, SRVC, INTREG, AVR32_V1),
86309 + SYNTAX_NORMAL1(SRQS, SRQS, SRQS, INTREG, AVR32_V1),
86310 + SYNTAX_NORMAL1(SRAL, SRAL, SRAL, INTREG, AVR32_V1),
86311 + SYNTAX_NORMAL1(SRHS, SRHS, SRCC, INTREG, AVR32_V1),
86312 + SYNTAX_NORMAL1(SRLO, SRLO, SRCS, INTREG, AVR32_V1),
86313 + SYNTAX_NORMAL1(SSRF, SSRF, SSRF, UNSIGNED_NUMBER, AVR32_V1),
86314 + SYNTAX_NORMAL_C2(ST_B1, ST_B, ST_B1, ST_B2, INTREG_POSTINC, INTREG, AVR32_V1),
86315 + SYNTAX_NORMAL_C2(ST_B2, ST_B, ST_B2, ST_B5, INTREG_PREDEC, INTREG, AVR32_V1),
86316 + SYNTAX_NORMAL_C2(ST_B5, ST_B, ST_B5, ST_B3, INTREG_INDEX, INTREG, AVR32_V1),
86317 + SYNTAX_NORMAL_C2(ST_B3, ST_B, ST_B3, ST_B4, INTREG_UDISP, INTREG, AVR32_V1),
86318 + SYNTAX_NORMAL2(ST_B4, ST_B, ST_B4, INTREG_SDISP, INTREG, AVR32_V1),
86319 + SYNTAX_NORMAL_C2(ST_D1, ST_D, ST_D1, ST_D2, INTREG_POSTINC, DWREG, AVR32_V1),
86320 + SYNTAX_NORMAL_C2(ST_D2, ST_D, ST_D2, ST_D3, INTREG_PREDEC, DWREG, AVR32_V1),
86321 + SYNTAX_NORMAL_C2(ST_D3, ST_D, ST_D3, ST_D5, INTREG, DWREG, AVR32_V1),
86322 + SYNTAX_NORMAL_C2(ST_D5, ST_D, ST_D5, ST_D4, INTREG_INDEX, DWREG, AVR32_V1),
86323 + SYNTAX_NORMAL2(ST_D4, ST_D, ST_D4, INTREG_SDISP, DWREG, AVR32_V1),
86324 + SYNTAX_NORMAL_C2(ST_H1, ST_H, ST_H1, ST_H2, INTREG_POSTINC, INTREG, AVR32_V1),
86325 + SYNTAX_NORMAL_C2(ST_H2, ST_H, ST_H2, ST_H5, INTREG_PREDEC, INTREG, AVR32_V1),
86326 + SYNTAX_NORMAL_C2(ST_H5, ST_H, ST_H5, ST_H3, INTREG_INDEX, INTREG, AVR32_V1),
86327 + SYNTAX_NORMAL_C2(ST_H3, ST_H, ST_H3, ST_H4, INTREG_UDISP_H, INTREG, AVR32_V1),
86328 + SYNTAX_NORMAL2(ST_H4, ST_H, ST_H4, INTREG_SDISP, INTREG, AVR32_V1),
86329 + SYNTAX_NORMAL_C2(ST_W1, ST_W, ST_W1, ST_W2, INTREG_POSTINC, INTREG, AVR32_V1),
86330 + SYNTAX_NORMAL_C2(ST_W2, ST_W, ST_W2, ST_W5, INTREG_PREDEC, INTREG, AVR32_V1),
86331 + SYNTAX_NORMAL_C2(ST_W5, ST_W, ST_W5, ST_W3, INTREG_INDEX, INTREG, AVR32_V1),
86332 + SYNTAX_NORMAL_C2(ST_W3, ST_W, ST_W3, ST_W4, INTREG_UDISP_W, INTREG, AVR32_V1),
86333 + SYNTAX_NORMAL2(ST_W4, ST_W, ST_W4, INTREG_SDISP, INTREG, AVR32_V1),
86334 + SYNTAX_NORMAL3(STC_D1, STC_D, STC_D1, CPNO, INTREG_UDISP_W, CPREG_D, AVR32_V1),
86335 + SYNTAX_NORMAL_C3(STC_D2, STC_D, STC_D2, STC_D1, CPNO, INTREG_POSTINC, CPREG_D, AVR32_V1),
86336 + SYNTAX_NORMAL_C3(STC_D3, STC_D, STC_D3, STC_D2, CPNO, INTREG_INDEX, CPREG_D, AVR32_V1),
86337 + SYNTAX_NORMAL3(STC_W1, STC_W, STC_W1, CPNO, INTREG_UDISP_W, CPREG, AVR32_V1),
86338 + SYNTAX_NORMAL_C3(STC_W2, STC_W, STC_W2, STC_W1, CPNO, INTREG_POSTINC, CPREG, AVR32_V1),
86339 + SYNTAX_NORMAL_C3(STC_W3, STC_W, STC_W3, STC_W2, CPNO, INTREG_INDEX, CPREG, AVR32_V1),
86340 + SYNTAX_NORMAL2(STC0_D, STC0_D, STC0_D, INTREG_UDISP_W, CPREG_D, AVR32_V1),
86341 + SYNTAX_NORMAL2(STC0_W, STC0_W, STC0_W, INTREG_UDISP_W, CPREG, AVR32_V1),
86342 + SYNTAX_NORMAL_CM3(STCM_D, STCM_D, STCM_D, STCM_D_PU, CPNO, INTREG, REGLIST_CPD8, AVR32_V1),
86343 + SYNTAX_NORMALM3(STCM_D_PU, STCM_D, STCM_D_PU, CPNO, INTREG_PREDEC, REGLIST_CPD8, AVR32_V1),
86344 + SYNTAX_NORMAL_CM3(STCM_W, STCM_W, STCM_W, STCM_W_PU, CPNO, INTREG, REGLIST_CP8, AVR32_V1),
86345 + SYNTAX_NORMALM3(STCM_W_PU, STCM_W, STCM_W_PU, CPNO, INTREG_PREDEC, REGLIST_CP8, AVR32_V1),
86346 + SYNTAX_NORMAL2(STCOND, STCOND, STCOND, INTREG_SDISP, INTREG, AVR32_V1),
86347 + SYNTAX_NORMAL2(STDSP, STDSP, STDSP, SP_UDISP_W, INTREG, AVR32_V1),
86348 + SYNTAX_NORMAL_C3(STHH_W2, STHH_W, STHH_W2, STHH_W1, INTREG_INDEX, INTREG_HSEL, INTREG_HSEL, AVR32_V1),
86349 + SYNTAX_NORMAL3(STHH_W1, STHH_W, STHH_W1, INTREG_UDISP_W, INTREG_HSEL, INTREG_HSEL, AVR32_V1),
86350 + SYNTAX_NORMAL_CM2(STM, STM, STM, STM_PU, INTREG, REGLIST16, AVR32_V1),
86351 + SYNTAX_NORMALM2(STM_PU, STM, STM_PU, INTREG_PREDEC, REGLIST16, AVR32_V1),
86352 + SYNTAX_NORMAL_CM2(STMTS, STMTS, STMTS, STMTS_PU, INTREG, REGLIST16, AVR32_V1),
86353 + SYNTAX_NORMALM2(STMTS_PU, STMTS, STMTS_PU, INTREG_PREDEC, REGLIST16, AVR32_V1),
86354 + SYNTAX_NORMAL2(STSWP_H, STSWP_H, STSWP_H, INTREG_SDISP_H, INTREG, AVR32_V1),
86355 + SYNTAX_NORMAL2(STSWP_W, STSWP_W, STSWP_W, INTREG_SDISP_W, INTREG, AVR32_V1),
86356 + SYNTAX_NORMAL_C2(SUB1, SUB, SUB1, SUB2, INTREG, INTREG, AVR32_V1),
86357 + SYNTAX_NORMAL_C3(SUB2, SUB, SUB2, SUB5, INTREG, INTREG, INTREG_LSL, AVR32_V1),
86358 + SYNTAX_NORMAL_C3(SUB5, SUB, SUB5, SUB3_SP, INTREG, INTREG, SIGNED_CONST, AVR32_V1),
86359 + SYNTAX_NORMAL_C2(SUB3_SP, SUB, SUB3_SP, SUB3, SP, SIGNED_CONST_W, AVR32_V1),
86360 + SYNTAX_NORMAL_C2(SUB3, SUB, SUB3, SUB4, INTREG, SIGNED_CONST, AVR32_V1),
86361 + SYNTAX_NORMAL2(SUB4, SUB, SUB4, INTREG, SIGNED_CONST, AVR32_V1),
86362 + SYNTAX_NORMAL2(SUBEQ, SUBEQ, SUBEQ, INTREG, SIGNED_CONST, AVR32_V1),
86363 + SYNTAX_NORMAL2(SUBNE, SUBNE, SUBNE, INTREG, SIGNED_CONST, AVR32_V1),
86364 + SYNTAX_NORMAL2(SUBCC, SUBCC, SUBCC, INTREG, SIGNED_CONST, AVR32_V1),
86365 + SYNTAX_NORMAL2(SUBCS, SUBCS, SUBCS, INTREG, SIGNED_CONST, AVR32_V1),
86366 + SYNTAX_NORMAL2(SUBGE, SUBGE, SUBGE, INTREG, SIGNED_CONST, AVR32_V1),
86367 + SYNTAX_NORMAL2(SUBLT, SUBLT, SUBLT, INTREG, SIGNED_CONST, AVR32_V1),
86368 + SYNTAX_NORMAL2(SUBMI, SUBMI, SUBMI, INTREG, SIGNED_CONST, AVR32_V1),
86369 + SYNTAX_NORMAL2(SUBPL, SUBPL, SUBPL, INTREG, SIGNED_CONST, AVR32_V1),
86370 + SYNTAX_NORMAL2(SUBLS, SUBLS, SUBLS, INTREG, SIGNED_CONST, AVR32_V1),
86371 + SYNTAX_NORMAL2(SUBGT, SUBGT, SUBGT, INTREG, SIGNED_CONST, AVR32_V1),
86372 + SYNTAX_NORMAL2(SUBLE, SUBLE, SUBLE, INTREG, SIGNED_CONST, AVR32_V1),
86373 + SYNTAX_NORMAL2(SUBHI, SUBHI, SUBHI, INTREG, SIGNED_CONST, AVR32_V1),
86374 + SYNTAX_NORMAL2(SUBVS, SUBVS, SUBVS, INTREG, SIGNED_CONST, AVR32_V1),
86375 + SYNTAX_NORMAL2(SUBVC, SUBVC, SUBVC, INTREG, SIGNED_CONST, AVR32_V1),
86376 + SYNTAX_NORMAL2(SUBQS, SUBQS, SUBQS, INTREG, SIGNED_CONST, AVR32_V1),
86377 + SYNTAX_NORMAL2(SUBAL, SUBAL, SUBAL, INTREG, SIGNED_CONST, AVR32_V1),
86378 + SYNTAX_NORMAL2(SUBHS, SUBHS, SUBCC, INTREG, SIGNED_CONST, AVR32_V1),
86379 + SYNTAX_NORMAL2(SUBLO, SUBLO, SUBCS, INTREG, SIGNED_CONST, AVR32_V1),
86380 + SYNTAX_NORMAL2(SUBFEQ, SUBFEQ, SUBFEQ, INTREG, SIGNED_CONST, AVR32_V1),
86381 + SYNTAX_NORMAL2(SUBFNE, SUBFNE, SUBFNE, INTREG, SIGNED_CONST, AVR32_V1),
86382 + SYNTAX_NORMAL2(SUBFCC, SUBFCC, SUBFCC, INTREG, SIGNED_CONST, AVR32_V1),
86383 + SYNTAX_NORMAL2(SUBFCS, SUBFCS, SUBFCS, INTREG, SIGNED_CONST, AVR32_V1),
86384 + SYNTAX_NORMAL2(SUBFGE, SUBFGE, SUBFGE, INTREG, SIGNED_CONST, AVR32_V1),
86385 + SYNTAX_NORMAL2(SUBFLT, SUBFLT, SUBFLT, INTREG, SIGNED_CONST, AVR32_V1),
86386 + SYNTAX_NORMAL2(SUBFMI, SUBFMI, SUBFMI, INTREG, SIGNED_CONST, AVR32_V1),
86387 + SYNTAX_NORMAL2(SUBFPL, SUBFPL, SUBFPL, INTREG, SIGNED_CONST, AVR32_V1),
86388 + SYNTAX_NORMAL2(SUBFLS, SUBFLS, SUBFLS, INTREG, SIGNED_CONST, AVR32_V1),
86389 + SYNTAX_NORMAL2(SUBFGT, SUBFGT, SUBFGT, INTREG, SIGNED_CONST, AVR32_V1),
86390 + SYNTAX_NORMAL2(SUBFLE, SUBFLE, SUBFLE, INTREG, SIGNED_CONST, AVR32_V1),
86391 + SYNTAX_NORMAL2(SUBFHI, SUBFHI, SUBFHI, INTREG, SIGNED_CONST, AVR32_V1),
86392 + SYNTAX_NORMAL2(SUBFVS, SUBFVS, SUBFVS, INTREG, SIGNED_CONST, AVR32_V1),
86393 + SYNTAX_NORMAL2(SUBFVC, SUBFVC, SUBFVC, INTREG, SIGNED_CONST, AVR32_V1),
86394 + SYNTAX_NORMAL2(SUBFQS, SUBFQS, SUBFQS, INTREG, SIGNED_CONST, AVR32_V1),
86395 + SYNTAX_NORMAL2(SUBFAL, SUBFAL, SUBFAL, INTREG, SIGNED_CONST, AVR32_V1),
86396 + SYNTAX_NORMAL2(SUBFHS, SUBFHS, SUBFCC, INTREG, SIGNED_CONST, AVR32_V1),
86397 + SYNTAX_NORMAL2(SUBFLO, SUBFLO, SUBFCS, INTREG, SIGNED_CONST, AVR32_V1),
86398 + SYNTAX_NORMAL3(SUBHH_W, SUBHH_W, SUBHH_W, INTREG, INTREG_HSEL, INTREG_HSEL, AVR32_DSP),
86399 + SYNTAX_NORMAL1(SWAP_B, SWAP_B, SWAP_B, INTREG, AVR32_V1),
86400 + SYNTAX_NORMAL1(SWAP_BH, SWAP_BH, SWAP_BH, INTREG, AVR32_V1),
86401 + SYNTAX_NORMAL1(SWAP_H, SWAP_H, SWAP_H, INTREG, AVR32_V1),
86402 + SYNTAX_NORMAL1(SYNC, SYNC, SYNC, UNSIGNED_CONST, AVR32_V1),
86403 + SYNTAX_NORMAL0(TLBR, TLBR, TLBR, AVR32_V1),
86404 + SYNTAX_NORMAL0(TLBS, TLBS, TLBS, AVR32_V1),
86405 + SYNTAX_NORMAL0(TLBW, TLBW, TLBW, AVR32_V1),
86406 + SYNTAX_NORMAL1(TNBZ, TNBZ, TNBZ, INTREG, AVR32_V1),
86407 + SYNTAX_NORMAL2(TST, TST, TST, INTREG, INTREG, AVR32_V1),
86408 + SYNTAX_NORMAL3(XCHG, XCHG, XCHG, INTREG, INTREG, INTREG, AVR32_V1),
86409 + SYNTAX_NORMAL2(MEMC, MEMC, MEMC, SIGNED_CONST_W, UNSIGNED_NUMBER, AVR32_RMW),
86410 + SYNTAX_NORMAL2(MEMS, MEMS, MEMS, SIGNED_CONST_W, UNSIGNED_NUMBER, AVR32_RMW),
86411 + SYNTAX_NORMAL2(MEMT, MEMT, MEMT, SIGNED_CONST_W, UNSIGNED_NUMBER, AVR32_RMW),
86412 + SYNTAX_FP(FADD, 3),
86413 + SYNTAX_FP(FSUB, 3),
86414 + SYNTAX_FP(FMAC, 3),
86415 + SYNTAX_FP(FNMAC, 3),
86416 + SYNTAX_FP(FMSC, 3),
86417 + SYNTAX_FP(FNMSC, 3),
86418 + SYNTAX_FP(FMUL, 3),
86419 + SYNTAX_FP(FNMUL, 3),
86420 + SYNTAX_FP(FNEG, 2),
86421 + SYNTAX_FP(FABS, 2),
86422 + SYNTAX_FP(FCMP, 2),
86423 + {
86424 + AVR32_SYNTAX_FMOV1_S,
86425 + AVR32_FP, NULL, AVR32_PARSER_ALIAS,
86426 + { .alias = &avr32_alias_table[AVR32_ALIAS_FMOV1_S] },
86427 + &avr32_syntax_table[AVR32_SYNTAX_FMOV2_S],
86428 + 2,
86429 + {
86430 + AVR32_OPERAND_FPREG_S,
86431 + AVR32_OPERAND_FPREG_S,
86432 + },
86433 + },
86434 + {
86435 + AVR32_SYNTAX_FMOV1_D,
86436 + AVR32_FP, NULL, AVR32_PARSER_ALIAS,
86437 + { .alias = &avr32_alias_table[AVR32_ALIAS_FMOV1_D] },
86438 + &avr32_syntax_table[AVR32_SYNTAX_FMOV2_D],
86439 + 2,
86440 + {
86441 + AVR32_OPERAND_FPREG_D,
86442 + AVR32_OPERAND_FPREG_D,
86443 + },
86444 + },
86445 + {
86446 + AVR32_SYNTAX_FMOV2_S,
86447 + AVR32_FP, NULL, AVR32_PARSER_ALIAS,
86448 + { .alias = &avr32_alias_table[AVR32_ALIAS_FMOV2_S] },
86449 + &avr32_syntax_table[AVR32_SYNTAX_FMOV3_S],
86450 + 2,
86451 + {
86452 + AVR32_OPERAND_INTREG,
86453 + AVR32_OPERAND_FPREG_S,
86454 + },
86455 + },
86456 + {
86457 + AVR32_SYNTAX_FMOV2_D,
86458 + AVR32_FP, NULL, AVR32_PARSER_ALIAS,
86459 + { .alias = &avr32_alias_table[AVR32_ALIAS_FMOV2_D] },
86460 + &avr32_syntax_table[AVR32_SYNTAX_FMOV3_D],
86461 + 2,
86462 + {
86463 + AVR32_OPERAND_DWREG,
86464 + AVR32_OPERAND_FPREG_D,
86465 + },
86466 + },
86467 + {
86468 + AVR32_SYNTAX_FMOV3_S,
86469 + AVR32_FP, NULL, AVR32_PARSER_ALIAS,
86470 + { .alias = &avr32_alias_table[AVR32_ALIAS_FMOV3_S] }, NULL,
86471 + 2,
86472 + {
86473 + AVR32_OPERAND_FPREG_S,
86474 + AVR32_OPERAND_INTREG,
86475 + },
86476 + },
86477 + {
86478 + AVR32_SYNTAX_FMOV3_D,
86479 + AVR32_FP, NULL, AVR32_PARSER_ALIAS,
86480 + { .alias = &avr32_alias_table[AVR32_ALIAS_FMOV3_D] }, NULL,
86481 + 2,
86482 + {
86483 + AVR32_OPERAND_FPREG_D,
86484 + AVR32_OPERAND_DWREG,
86485 + },
86486 + },
86487 + {
86488 + AVR32_SYNTAX_FCASTS_D,
86489 + AVR32_FP, NULL, AVR32_PARSER_ALIAS,
86490 + { .alias = &avr32_alias_table[AVR32_ALIAS_FCASTS_D] }, NULL,
86491 + 2,
86492 + {
86493 + AVR32_OPERAND_FPREG_S,
86494 + AVR32_OPERAND_FPREG_D,
86495 + },
86496 + },
86497 + {
86498 + AVR32_SYNTAX_FCASTD_S,
86499 + AVR32_FP, NULL, AVR32_PARSER_ALIAS,
86500 + { .alias = &avr32_alias_table[AVR32_ALIAS_FCASTD_S] }, NULL,
86501 + 2,
86502 + {
86503 + AVR32_OPERAND_FPREG_D,
86504 + AVR32_OPERAND_FPREG_S,
86505 + },
86506 + },
86507 + {
86508 + AVR32_SYNTAX_LDA_W,
86509 + AVR32_V1, NULL, AVR32_PARSER_LDA,
86510 + { NULL }, NULL,
86511 + 2,
86512 + {
86513 + AVR32_OPERAND_INTREG,
86514 + AVR32_OPERAND_SIGNED_CONST,
86515 + },
86516 + },
86517 + {
86518 + AVR32_SYNTAX_CALL,
86519 + AVR32_V1, NULL, AVR32_PARSER_CALL,
86520 + { NULL }, NULL,
86521 + 1,
86522 + {
86523 + AVR32_OPERAND_JMPLABEL,
86524 + },
86525 + },
86526 + {
86527 + AVR32_SYNTAX_PICOSVMAC0,
86528 + AVR32_PICO, &avr32_mnemonic_table[AVR32_MNEMONIC_PICOSVMAC], AVR32_PARSER_ALIAS,
86529 + { .alias = &avr32_alias_table[AVR32_ALIAS_PICOSVMAC0] },
86530 + &avr32_syntax_table[AVR32_SYNTAX_PICOSVMAC1], 4,
86531 + {
86532 + AVR32_OPERAND_PICO_OUT0,
86533 + AVR32_OPERAND_PICO_IN,
86534 + AVR32_OPERAND_PICO_IN,
86535 + AVR32_OPERAND_PICO_IN,
86536 + },
86537 + },
86538 + {
86539 + AVR32_SYNTAX_PICOSVMAC1,
86540 + AVR32_PICO, &avr32_mnemonic_table[AVR32_MNEMONIC_PICOSVMAC], AVR32_PARSER_ALIAS,
86541 + { .alias = &avr32_alias_table[AVR32_ALIAS_PICOSVMAC1] },
86542 + &avr32_syntax_table[AVR32_SYNTAX_PICOSVMAC2], 4,
86543 + {
86544 + AVR32_OPERAND_PICO_OUT1,
86545 + AVR32_OPERAND_PICO_IN,
86546 + AVR32_OPERAND_PICO_IN,
86547 + AVR32_OPERAND_PICO_IN,
86548 + },
86549 + },
86550 + {
86551 + AVR32_SYNTAX_PICOSVMAC2,
86552 + AVR32_PICO, &avr32_mnemonic_table[AVR32_MNEMONIC_PICOSVMAC], AVR32_PARSER_ALIAS,
86553 + { .alias = &avr32_alias_table[AVR32_ALIAS_PICOSVMAC2] },
86554 + &avr32_syntax_table[AVR32_SYNTAX_PICOSVMAC3], 4,
86555 + {
86556 + AVR32_OPERAND_PICO_OUT2,
86557 + AVR32_OPERAND_PICO_IN,
86558 + AVR32_OPERAND_PICO_IN,
86559 + AVR32_OPERAND_PICO_IN,
86560 + },
86561 + },
86562 + {
86563 + AVR32_SYNTAX_PICOSVMAC3,
86564 + AVR32_PICO, &avr32_mnemonic_table[AVR32_MNEMONIC_PICOSVMAC], AVR32_PARSER_ALIAS,
86565 + { .alias = &avr32_alias_table[AVR32_ALIAS_PICOSVMAC3] },
86566 + NULL, 4,
86567 + {
86568 + AVR32_OPERAND_PICO_OUT3,
86569 + AVR32_OPERAND_PICO_IN,
86570 + AVR32_OPERAND_PICO_IN,
86571 + AVR32_OPERAND_PICO_IN,
86572 + },
86573 + },
86574 + {
86575 + AVR32_SYNTAX_PICOSVMUL0,
86576 + AVR32_PICO, &avr32_mnemonic_table[AVR32_MNEMONIC_PICOSVMUL], AVR32_PARSER_ALIAS,
86577 + { .alias = &avr32_alias_table[AVR32_ALIAS_PICOSVMUL0] },
86578 + &avr32_syntax_table[AVR32_SYNTAX_PICOSVMUL1], 4,
86579 + {
86580 + AVR32_OPERAND_PICO_OUT0,
86581 + AVR32_OPERAND_PICO_IN,
86582 + AVR32_OPERAND_PICO_IN,
86583 + AVR32_OPERAND_PICO_IN,
86584 + },
86585 + },
86586 + {
86587 + AVR32_SYNTAX_PICOSVMUL1,
86588 + AVR32_PICO, &avr32_mnemonic_table[AVR32_MNEMONIC_PICOSVMUL], AVR32_PARSER_ALIAS,
86589 + { .alias = &avr32_alias_table[AVR32_ALIAS_PICOSVMUL1] },
86590 + &avr32_syntax_table[AVR32_SYNTAX_PICOSVMUL2], 4,
86591 + {
86592 + AVR32_OPERAND_PICO_OUT1,
86593 + AVR32_OPERAND_PICO_IN,
86594 + AVR32_OPERAND_PICO_IN,
86595 + AVR32_OPERAND_PICO_IN,
86596 + },
86597 + },
86598 + {
86599 + AVR32_SYNTAX_PICOSVMUL2,
86600 + AVR32_PICO, &avr32_mnemonic_table[AVR32_MNEMONIC_PICOSVMUL], AVR32_PARSER_ALIAS,
86601 + { .alias = &avr32_alias_table[AVR32_ALIAS_PICOSVMUL2] },
86602 + &avr32_syntax_table[AVR32_SYNTAX_PICOSVMUL3], 4,
86603 + {
86604 + AVR32_OPERAND_PICO_OUT2,
86605 + AVR32_OPERAND_PICO_IN,
86606 + AVR32_OPERAND_PICO_IN,
86607 + AVR32_OPERAND_PICO_IN,
86608 + },
86609 + },
86610 + {
86611 + AVR32_SYNTAX_PICOSVMUL3,
86612 + AVR32_PICO, &avr32_mnemonic_table[AVR32_MNEMONIC_PICOSVMUL], AVR32_PARSER_ALIAS,
86613 + { .alias = &avr32_alias_table[AVR32_ALIAS_PICOSVMUL3] },
86614 + NULL, 4,
86615 + {
86616 + AVR32_OPERAND_PICO_OUT3,
86617 + AVR32_OPERAND_PICO_IN,
86618 + AVR32_OPERAND_PICO_IN,
86619 + AVR32_OPERAND_PICO_IN,
86620 + },
86621 + },
86622 + {
86623 + AVR32_SYNTAX_PICOVMAC0,
86624 + AVR32_PICO, &avr32_mnemonic_table[AVR32_MNEMONIC_PICOVMAC], AVR32_PARSER_ALIAS,
86625 + { .alias = &avr32_alias_table[AVR32_ALIAS_PICOVMAC0] },
86626 + &avr32_syntax_table[AVR32_SYNTAX_PICOVMAC1], 4,
86627 + {
86628 + AVR32_OPERAND_PICO_OUT0,
86629 + AVR32_OPERAND_PICO_IN,
86630 + AVR32_OPERAND_PICO_IN,
86631 + AVR32_OPERAND_PICO_IN,
86632 + },
86633 + },
86634 + {
86635 + AVR32_SYNTAX_PICOVMAC1,
86636 + AVR32_PICO, &avr32_mnemonic_table[AVR32_MNEMONIC_PICOVMAC], AVR32_PARSER_ALIAS,
86637 + { .alias = &avr32_alias_table[AVR32_ALIAS_PICOVMAC1] },
86638 + &avr32_syntax_table[AVR32_SYNTAX_PICOVMAC2], 4,
86639 + {
86640 + AVR32_OPERAND_PICO_OUT1,
86641 + AVR32_OPERAND_PICO_IN,
86642 + AVR32_OPERAND_PICO_IN,
86643 + AVR32_OPERAND_PICO_IN,
86644 + },
86645 + },
86646 + {
86647 + AVR32_SYNTAX_PICOVMAC2,
86648 + AVR32_PICO, &avr32_mnemonic_table[AVR32_MNEMONIC_PICOVMAC], AVR32_PARSER_ALIAS,
86649 + { .alias = &avr32_alias_table[AVR32_ALIAS_PICOVMAC2] },
86650 + &avr32_syntax_table[AVR32_SYNTAX_PICOVMAC3], 4,
86651 + {
86652 + AVR32_OPERAND_PICO_OUT2,
86653 + AVR32_OPERAND_PICO_IN,
86654 + AVR32_OPERAND_PICO_IN,
86655 + AVR32_OPERAND_PICO_IN,
86656 + },
86657 + },
86658 + {
86659 + AVR32_SYNTAX_PICOVMAC3,
86660 + AVR32_PICO, &avr32_mnemonic_table[AVR32_MNEMONIC_PICOVMAC], AVR32_PARSER_ALIAS,
86661 + { .alias = &avr32_alias_table[AVR32_ALIAS_PICOVMAC3] },
86662 + NULL, 4,
86663 + {
86664 + AVR32_OPERAND_PICO_OUT3,
86665 + AVR32_OPERAND_PICO_IN,
86666 + AVR32_OPERAND_PICO_IN,
86667 + AVR32_OPERAND_PICO_IN,
86668 + },
86669 + },
86670 + {
86671 + AVR32_SYNTAX_PICOVMUL0,
86672 + AVR32_PICO, &avr32_mnemonic_table[AVR32_MNEMONIC_PICOVMUL], AVR32_PARSER_ALIAS,
86673 + { .alias = &avr32_alias_table[AVR32_ALIAS_PICOVMUL0] },
86674 + &avr32_syntax_table[AVR32_SYNTAX_PICOVMUL1], 4,
86675 + {
86676 + AVR32_OPERAND_PICO_OUT0,
86677 + AVR32_OPERAND_PICO_IN,
86678 + AVR32_OPERAND_PICO_IN,
86679 + AVR32_OPERAND_PICO_IN,
86680 + },
86681 + },
86682 + {
86683 + AVR32_SYNTAX_PICOVMUL1,
86684 + AVR32_PICO, &avr32_mnemonic_table[AVR32_MNEMONIC_PICOVMUL], AVR32_PARSER_ALIAS,
86685 + { .alias = &avr32_alias_table[AVR32_ALIAS_PICOVMUL1] },
86686 + &avr32_syntax_table[AVR32_SYNTAX_PICOVMUL2], 4,
86687 + {
86688 + AVR32_OPERAND_PICO_OUT1,
86689 + AVR32_OPERAND_PICO_IN,
86690 + AVR32_OPERAND_PICO_IN,
86691 + AVR32_OPERAND_PICO_IN,
86692 + },
86693 + },
86694 + {
86695 + AVR32_SYNTAX_PICOVMUL2,
86696 + AVR32_PICO, &avr32_mnemonic_table[AVR32_MNEMONIC_PICOVMUL], AVR32_PARSER_ALIAS,
86697 + { .alias = &avr32_alias_table[AVR32_ALIAS_PICOVMUL2] },
86698 + &avr32_syntax_table[AVR32_SYNTAX_PICOVMUL3], 4,
86699 + {
86700 + AVR32_OPERAND_PICO_OUT2,
86701 + AVR32_OPERAND_PICO_IN,
86702 + AVR32_OPERAND_PICO_IN,
86703 + AVR32_OPERAND_PICO_IN,
86704 + },
86705 + },
86706 + {
86707 + AVR32_SYNTAX_PICOVMUL3,
86708 + AVR32_PICO, &avr32_mnemonic_table[AVR32_MNEMONIC_PICOVMUL], AVR32_PARSER_ALIAS,
86709 + { .alias = &avr32_alias_table[AVR32_ALIAS_PICOVMUL3] },
86710 + NULL, 4,
86711 + {
86712 + AVR32_OPERAND_PICO_OUT3,
86713 + AVR32_OPERAND_PICO_IN,
86714 + AVR32_OPERAND_PICO_IN,
86715 + AVR32_OPERAND_PICO_IN,
86716 + },
86717 + },
86718 + {
86719 + AVR32_SYNTAX_PICOLD_D2,
86720 + AVR32_PICO, &avr32_mnemonic_table[AVR32_MNEMONIC_PICOLD_D], AVR32_PARSER_ALIAS,
86721 + { .alias = &avr32_alias_table[AVR32_ALIAS_PICOLD_D2] },
86722 + &avr32_syntax_table[AVR32_SYNTAX_PICOLD_D3], 2,
86723 + {
86724 + AVR32_OPERAND_PICO_REG_D,
86725 + AVR32_OPERAND_INTREG_PREDEC,
86726 + },
86727 + },
86728 + {
86729 + AVR32_SYNTAX_PICOLD_D3,
86730 + AVR32_PICO, &avr32_mnemonic_table[AVR32_MNEMONIC_PICOLD_D], AVR32_PARSER_ALIAS,
86731 + { .alias = &avr32_alias_table[AVR32_ALIAS_PICOLD_D3] },
86732 + &avr32_syntax_table[AVR32_SYNTAX_PICOLD_D1], 2,
86733 + {
86734 + AVR32_OPERAND_PICO_REG_D,
86735 + AVR32_OPERAND_INTREG_INDEX,
86736 + },
86737 + },
86738 + {
86739 + AVR32_SYNTAX_PICOLD_D1,
86740 + AVR32_PICO, &avr32_mnemonic_table[AVR32_MNEMONIC_PICOLD_D], AVR32_PARSER_ALIAS,
86741 + { .alias = &avr32_alias_table[AVR32_ALIAS_PICOLD_D1] },
86742 + NULL, 2,
86743 + {
86744 + AVR32_OPERAND_PICO_REG_D,
86745 + AVR32_OPERAND_INTREG_UDISP_W,
86746 + },
86747 + },
86748 + {
86749 + AVR32_SYNTAX_PICOLD_W2,
86750 + AVR32_PICO, &avr32_mnemonic_table[AVR32_MNEMONIC_PICOLD_W], AVR32_PARSER_ALIAS,
86751 + { .alias = &avr32_alias_table[AVR32_ALIAS_PICOLD_W2] },
86752 + &avr32_syntax_table[AVR32_SYNTAX_PICOLD_W3], 2,
86753 + {
86754 + AVR32_OPERAND_PICO_REG_W,
86755 + AVR32_OPERAND_INTREG_PREDEC,
86756 + },
86757 + },
86758 + {
86759 + AVR32_SYNTAX_PICOLD_W3,
86760 + AVR32_PICO, &avr32_mnemonic_table[AVR32_MNEMONIC_PICOLD_W], AVR32_PARSER_ALIAS,
86761 + { .alias = &avr32_alias_table[AVR32_ALIAS_PICOLD_W3] },
86762 + &avr32_syntax_table[AVR32_SYNTAX_PICOLD_W1], 2,
86763 + {
86764 + AVR32_OPERAND_PICO_REG_W,
86765 + AVR32_OPERAND_INTREG_INDEX,
86766 + },
86767 + },
86768 + {
86769 + AVR32_SYNTAX_PICOLD_W1,
86770 + AVR32_PICO, &avr32_mnemonic_table[AVR32_MNEMONIC_PICOLD_W], AVR32_PARSER_ALIAS,
86771 + { .alias = &avr32_alias_table[AVR32_ALIAS_PICOLD_W1] },
86772 + NULL, 2,
86773 + {
86774 + AVR32_OPERAND_PICO_REG_W,
86775 + AVR32_OPERAND_INTREG_UDISP_W,
86776 + },
86777 + },
86778 + {
86779 + AVR32_SYNTAX_PICOLDM_D,
86780 + AVR32_PICO, &avr32_mnemonic_table[AVR32_MNEMONIC_PICOLDM_D], AVR32_PARSER_ALIAS,
86781 + { .alias = &avr32_alias_table[AVR32_ALIAS_PICOLDM_D] },
86782 + &avr32_syntax_table[AVR32_SYNTAX_PICOLDM_D_PU], -2,
86783 + {
86784 + AVR32_OPERAND_INTREG,
86785 + AVR32_OPERAND_PICO_REGLIST_D,
86786 + },
86787 + },
86788 + {
86789 + AVR32_SYNTAX_PICOLDM_D_PU,
86790 + AVR32_PICO, &avr32_mnemonic_table[AVR32_MNEMONIC_PICOLDM_D], AVR32_PARSER_ALIAS,
86791 + { .alias = &avr32_alias_table[AVR32_ALIAS_PICOLDM_D_PU] },
86792 + NULL, -2,
86793 + {
86794 + AVR32_OPERAND_INTREG_POSTINC,
86795 + AVR32_OPERAND_PICO_REGLIST_D,
86796 + },
86797 + },
86798 + {
86799 + AVR32_SYNTAX_PICOLDM_W,
86800 + AVR32_PICO, &avr32_mnemonic_table[AVR32_MNEMONIC_PICOLDM_W], AVR32_PARSER_ALIAS,
86801 + { .alias = &avr32_alias_table[AVR32_ALIAS_PICOLDM_W] },
86802 + &avr32_syntax_table[AVR32_SYNTAX_PICOLDM_W_PU], -2,
86803 + {
86804 + AVR32_OPERAND_INTREG,
86805 + AVR32_OPERAND_PICO_REGLIST_W,
86806 + },
86807 + },
86808 + {
86809 + AVR32_SYNTAX_PICOLDM_W_PU,
86810 + AVR32_PICO, &avr32_mnemonic_table[AVR32_MNEMONIC_PICOLDM_W], AVR32_PARSER_ALIAS,
86811 + { .alias = &avr32_alias_table[AVR32_ALIAS_PICOLDM_W_PU] },
86812 + NULL, -2,
86813 + {
86814 + AVR32_OPERAND_INTREG_POSTINC,
86815 + AVR32_OPERAND_PICO_REGLIST_W,
86816 + },
86817 + },
86818 + {
86819 + AVR32_SYNTAX_PICOMV_D1,
86820 + AVR32_PICO, &avr32_mnemonic_table[AVR32_MNEMONIC_PICOMV_D], AVR32_PARSER_ALIAS,
86821 + { .alias = &avr32_alias_table[AVR32_ALIAS_PICOMV_D1] },
86822 + &avr32_syntax_table[AVR32_SYNTAX_PICOMV_D2], 2,
86823 + {
86824 + AVR32_OPERAND_DWREG,
86825 + AVR32_OPERAND_PICO_REG_D,
86826 + },
86827 + },
86828 + {
86829 + AVR32_SYNTAX_PICOMV_D2,
86830 + AVR32_PICO, &avr32_mnemonic_table[AVR32_MNEMONIC_PICOMV_D], AVR32_PARSER_ALIAS,
86831 + { .alias = &avr32_alias_table[AVR32_ALIAS_PICOMV_D2] },
86832 + NULL, 2,
86833 + {
86834 + AVR32_OPERAND_PICO_REG_D,
86835 + AVR32_OPERAND_DWREG,
86836 + },
86837 + },
86838 + {
86839 + AVR32_SYNTAX_PICOMV_W1,
86840 + AVR32_PICO, &avr32_mnemonic_table[AVR32_MNEMONIC_PICOMV_W], AVR32_PARSER_ALIAS,
86841 + { .alias = &avr32_alias_table[AVR32_ALIAS_PICOMV_W1] },
86842 + &avr32_syntax_table[AVR32_SYNTAX_PICOMV_W2], 2,
86843 + {
86844 + AVR32_OPERAND_INTREG,
86845 + AVR32_OPERAND_PICO_REG_W,
86846 + },
86847 + },
86848 + {
86849 + AVR32_SYNTAX_PICOMV_W2,
86850 + AVR32_PICO, &avr32_mnemonic_table[AVR32_MNEMONIC_PICOMV_W], AVR32_PARSER_ALIAS,
86851 + { .alias = &avr32_alias_table[AVR32_ALIAS_PICOMV_W2] },
86852 + NULL, 2,
86853 + {
86854 + AVR32_OPERAND_PICO_REG_W,
86855 + AVR32_OPERAND_INTREG,
86856 + },
86857 + },
86858 + {
86859 + AVR32_SYNTAX_PICOST_D2,
86860 + AVR32_PICO, &avr32_mnemonic_table[AVR32_MNEMONIC_PICOST_D], AVR32_PARSER_ALIAS,
86861 + { .alias = &avr32_alias_table[AVR32_ALIAS_PICOST_D2] },
86862 + &avr32_syntax_table[AVR32_SYNTAX_PICOST_D3], 2,
86863 + {
86864 + AVR32_OPERAND_INTREG_POSTINC,
86865 + AVR32_OPERAND_PICO_REG_D,
86866 + },
86867 + },
86868 + {
86869 + AVR32_SYNTAX_PICOST_D3,
86870 + AVR32_PICO, &avr32_mnemonic_table[AVR32_MNEMONIC_PICOST_D], AVR32_PARSER_ALIAS,
86871 + { .alias = &avr32_alias_table[AVR32_ALIAS_PICOST_D3] },
86872 + &avr32_syntax_table[AVR32_SYNTAX_PICOST_D1], 2,
86873 + {
86874 + AVR32_OPERAND_INTREG_INDEX,
86875 + AVR32_OPERAND_PICO_REG_D,
86876 + },
86877 + },
86878 + {
86879 + AVR32_SYNTAX_PICOST_D1,
86880 + AVR32_PICO, &avr32_mnemonic_table[AVR32_MNEMONIC_PICOST_D], AVR32_PARSER_ALIAS,
86881 + { .alias = &avr32_alias_table[AVR32_ALIAS_PICOST_D1] },
86882 + NULL, 2,
86883 + {
86884 + AVR32_OPERAND_INTREG_UDISP_W,
86885 + AVR32_OPERAND_PICO_REG_D,
86886 + },
86887 + },
86888 + {
86889 + AVR32_SYNTAX_PICOST_W2,
86890 + AVR32_PICO, &avr32_mnemonic_table[AVR32_MNEMONIC_PICOST_W], AVR32_PARSER_ALIAS,
86891 + { .alias = &avr32_alias_table[AVR32_ALIAS_PICOST_W2] },
86892 + &avr32_syntax_table[AVR32_SYNTAX_PICOST_W3], 2,
86893 + {
86894 + AVR32_OPERAND_INTREG_POSTINC,
86895 + AVR32_OPERAND_PICO_REG_W,
86896 + },
86897 + },
86898 + {
86899 + AVR32_SYNTAX_PICOST_W3,
86900 + AVR32_PICO, &avr32_mnemonic_table[AVR32_MNEMONIC_PICOST_W], AVR32_PARSER_ALIAS,
86901 + { .alias = &avr32_alias_table[AVR32_ALIAS_PICOST_W3] },
86902 + &avr32_syntax_table[AVR32_SYNTAX_PICOST_W1], 2,
86903 + {
86904 + AVR32_OPERAND_INTREG_INDEX,
86905 + AVR32_OPERAND_PICO_REG_W,
86906 + },
86907 + },
86908 + {
86909 + AVR32_SYNTAX_PICOST_W1,
86910 + AVR32_PICO, &avr32_mnemonic_table[AVR32_MNEMONIC_PICOST_W], AVR32_PARSER_ALIAS,
86911 + { .alias = &avr32_alias_table[AVR32_ALIAS_PICOST_W1] },
86912 + NULL, 2,
86913 + {
86914 + AVR32_OPERAND_INTREG_UDISP_W,
86915 + AVR32_OPERAND_PICO_REG_W,
86916 + },
86917 + },
86918 + {
86919 + AVR32_SYNTAX_PICOSTM_D,
86920 + AVR32_PICO, &avr32_mnemonic_table[AVR32_MNEMONIC_PICOSTM_D], AVR32_PARSER_ALIAS,
86921 + { .alias = &avr32_alias_table[AVR32_ALIAS_PICOSTM_D] },
86922 + &avr32_syntax_table[AVR32_SYNTAX_PICOSTM_D_PU], -2,
86923 + {
86924 + AVR32_OPERAND_INTREG,
86925 + AVR32_OPERAND_PICO_REGLIST_D,
86926 + },
86927 + },
86928 + {
86929 + AVR32_SYNTAX_PICOSTM_D_PU,
86930 + AVR32_PICO, &avr32_mnemonic_table[AVR32_MNEMONIC_PICOSTM_D], AVR32_PARSER_ALIAS,
86931 + { .alias = &avr32_alias_table[AVR32_ALIAS_PICOSTM_D_PU] },
86932 + NULL, -2,
86933 + {
86934 + AVR32_OPERAND_INTREG_PREDEC,
86935 + AVR32_OPERAND_PICO_REGLIST_D,
86936 + },
86937 + },
86938 + {
86939 + AVR32_SYNTAX_PICOSTM_W,
86940 + AVR32_PICO, &avr32_mnemonic_table[AVR32_MNEMONIC_PICOSTM_W], AVR32_PARSER_ALIAS,
86941 + { .alias = &avr32_alias_table[AVR32_ALIAS_PICOSTM_W] },
86942 + &avr32_syntax_table[AVR32_SYNTAX_PICOSTM_W_PU], -2,
86943 + {
86944 + AVR32_OPERAND_INTREG,
86945 + AVR32_OPERAND_PICO_REGLIST_W,
86946 + },
86947 + },
86948 + {
86949 + AVR32_SYNTAX_PICOSTM_W_PU,
86950 + AVR32_PICO, &avr32_mnemonic_table[AVR32_MNEMONIC_PICOSTM_W], AVR32_PARSER_ALIAS,
86951 + { .alias = &avr32_alias_table[AVR32_ALIAS_PICOSTM_W_PU] },
86952 + NULL, -2,
86953 + {
86954 + AVR32_OPERAND_INTREG_PREDEC,
86955 + AVR32_OPERAND_PICO_REGLIST_W,
86956 + },
86957 + },
86958 + };
86959 +
86960 +#define NORMAL_MNEMONIC(name, syntax, str) \
86961 + { \
86962 + AVR32_MNEMONIC_##name, str, \
86963 + &avr32_syntax_table[AVR32_SYNTAX_##syntax], \
86964 + }
86965 +#define FP_MNEMONIC(name, syntax, str) \
86966 + NORMAL_MNEMONIC(name##_S, syntax##_S, str ".s"), \
86967 + NORMAL_MNEMONIC(name##_D, syntax##_D, str ".d")
86968 +
86969 +const struct avr32_mnemonic avr32_mnemonic_table[] =
86970 + {
86971 + NORMAL_MNEMONIC(ABS, ABS, "abs"),
86972 + NORMAL_MNEMONIC(ACALL, ACALL, "acall"),
86973 + NORMAL_MNEMONIC(ACR, ACR, "acr"),
86974 + NORMAL_MNEMONIC(ADC, ADC, "adc"),
86975 + NORMAL_MNEMONIC(ADD, ADD1, "add"),
86976 + NORMAL_MNEMONIC(ADDABS, ADDABS, "addabs"),
86977 + NORMAL_MNEMONIC(ADDHH_W, ADDHH_W, "addhh.w"),
86978 + NORMAL_MNEMONIC(AND, AND1, "and"),
86979 + NORMAL_MNEMONIC(ANDH, ANDH, "andh"),
86980 + NORMAL_MNEMONIC(ANDL, ANDL, "andl"),
86981 + NORMAL_MNEMONIC(ANDN, ANDN, "andn"),
86982 + NORMAL_MNEMONIC(ASR, ASR1, "asr"),
86983 + NORMAL_MNEMONIC(BFEXTS, BFEXTS, "bfexts"),
86984 + NORMAL_MNEMONIC(BFEXTU, BFEXTU, "bfextu"),
86985 + NORMAL_MNEMONIC(BFINS, BFINS, "bfins"),
86986 + NORMAL_MNEMONIC(BLD, BLD, "bld"),
86987 + NORMAL_MNEMONIC(BREQ, BREQ1, "breq"),
86988 + NORMAL_MNEMONIC(BRNE, BRNE1, "brne"),
86989 + NORMAL_MNEMONIC(BRCC, BRCC1, "brcc"),
86990 + NORMAL_MNEMONIC(BRCS, BRCS1, "brcs"),
86991 + NORMAL_MNEMONIC(BRGE, BRGE1, "brge"),
86992 + NORMAL_MNEMONIC(BRLT, BRLT1, "brlt"),
86993 + NORMAL_MNEMONIC(BRMI, BRMI1, "brmi"),
86994 + NORMAL_MNEMONIC(BRPL, BRPL1, "brpl"),
86995 + NORMAL_MNEMONIC(BRHS, BRHS1, "brhs"),
86996 + NORMAL_MNEMONIC(BRLO, BRLO1, "brlo"),
86997 + NORMAL_MNEMONIC(BRLS, BRLS, "brls"),
86998 + NORMAL_MNEMONIC(BRGT, BRGT, "brgt"),
86999 + NORMAL_MNEMONIC(BRLE, BRLE, "brle"),
87000 + NORMAL_MNEMONIC(BRHI, BRHI, "brhi"),
87001 + NORMAL_MNEMONIC(BRVS, BRVS, "brvs"),
87002 + NORMAL_MNEMONIC(BRVC, BRVC, "brvc"),
87003 + NORMAL_MNEMONIC(BRQS, BRQS, "brqs"),
87004 + NORMAL_MNEMONIC(BRAL, BRAL, "bral"),
87005 + NORMAL_MNEMONIC(BREAKPOINT, BREAKPOINT, "breakpoint"),
87006 + NORMAL_MNEMONIC(BREV, BREV, "brev"),
87007 + NORMAL_MNEMONIC(BST, BST, "bst"),
87008 + NORMAL_MNEMONIC(CACHE, CACHE, "cache"),
87009 + NORMAL_MNEMONIC(CASTS_B, CASTS_B, "casts.b"),
87010 + NORMAL_MNEMONIC(CASTS_H, CASTS_H, "casts.h"),
87011 + NORMAL_MNEMONIC(CASTU_B, CASTU_B, "castu.b"),
87012 + NORMAL_MNEMONIC(CASTU_H, CASTU_H, "castu.h"),
87013 + NORMAL_MNEMONIC(CBR, CBR, "cbr"),
87014 + NORMAL_MNEMONIC(CLZ, CLZ, "clz"),
87015 + NORMAL_MNEMONIC(COM, COM, "com"),
87016 + NORMAL_MNEMONIC(COP, COP, "cop"),
87017 + NORMAL_MNEMONIC(CP_B, CP_B, "cp.b"),
87018 + NORMAL_MNEMONIC(CP_H, CP_H, "cp.h"),
87019 + NORMAL_MNEMONIC(CP_W, CP_W1, "cp.w"),
87020 + NORMAL_MNEMONIC(CP, CP_W1, "cp"),
87021 + NORMAL_MNEMONIC(CPC, CPC1, "cpc"),
87022 + NORMAL_MNEMONIC(CSRF, CSRF, "csrf"),
87023 + NORMAL_MNEMONIC(CSRFCZ, CSRFCZ, "csrfcz"),
87024 + NORMAL_MNEMONIC(DIVS, DIVS, "divs"),
87025 + NORMAL_MNEMONIC(DIVU, DIVU, "divu"),
87026 + NORMAL_MNEMONIC(EOR, EOR1, "eor"),
87027 + NORMAL_MNEMONIC(EORL, EORL, "eorl"),
87028 + NORMAL_MNEMONIC(EORH, EORH, "eorh"),
87029 + NORMAL_MNEMONIC(FRS, FRS, "frs"),
87030 + NORMAL_MNEMONIC(ICALL, ICALL, "icall"),
87031 + NORMAL_MNEMONIC(INCJOSP, INCJOSP, "incjosp"),
87032 + NORMAL_MNEMONIC(LD_D, LD_D1, "ld.d"),
87033 + NORMAL_MNEMONIC(LD_SB, LD_SB2, "ld.sb"),
87034 + NORMAL_MNEMONIC(LD_UB, LD_UB1, "ld.ub"),
87035 + NORMAL_MNEMONIC(LD_SH, LD_SH1, "ld.sh"),
87036 + NORMAL_MNEMONIC(LD_UH, LD_UH1, "ld.uh"),
87037 + NORMAL_MNEMONIC(LD_W, LD_W1, "ld.w"),
87038 + NORMAL_MNEMONIC(LDC_D, LDC_D3, "ldc.d"),
87039 + NORMAL_MNEMONIC(LDC_W, LDC_W3, "ldc.w"),
87040 + NORMAL_MNEMONIC(LDC0_D, LDC0_D, "ldc0.d"),
87041 + NORMAL_MNEMONIC(LDC0_W, LDC0_W, "ldc0.w"),
87042 + NORMAL_MNEMONIC(LDCM_D, LDCM_D, "ldcm.d"),
87043 + NORMAL_MNEMONIC(LDCM_W, LDCM_W, "ldcm.w"),
87044 + NORMAL_MNEMONIC(LDDPC, LDDPC, "lddpc"),
87045 + NORMAL_MNEMONIC(LDDSP, LDDSP, "lddsp"),
87046 + NORMAL_MNEMONIC(LDINS_B, LDINS_B, "ldins.b"),
87047 + NORMAL_MNEMONIC(LDINS_H, LDINS_H, "ldins.h"),
87048 + NORMAL_MNEMONIC(LDM, LDM, "ldm"),
87049 + NORMAL_MNEMONIC(LDMTS, LDMTS, "ldmts"),
87050 + NORMAL_MNEMONIC(LDSWP_SH, LDSWP_SH, "ldswp.sh"),
87051 + NORMAL_MNEMONIC(LDSWP_UH, LDSWP_UH, "ldswp.uh"),
87052 + NORMAL_MNEMONIC(LDSWP_W, LDSWP_W, "ldswp.w"),
87053 + NORMAL_MNEMONIC(LSL, LSL1, "lsl"),
87054 + NORMAL_MNEMONIC(LSR, LSR1, "lsr"),
87055 + NORMAL_MNEMONIC(MAC, MAC, "mac"),
87056 + NORMAL_MNEMONIC(MACHH_D, MACHH_D, "machh.d"),
87057 + NORMAL_MNEMONIC(MACHH_W, MACHH_W, "machh.w"),
87058 + NORMAL_MNEMONIC(MACS_D, MACS_D, "macs.d"),
87059 + NORMAL_MNEMONIC(MACSATHH_W, MACSATHH_W, "macsathh.w"),
87060 + NORMAL_MNEMONIC(MACU_D, MACUD, "macu.d"),
87061 + NORMAL_MNEMONIC(MACWH_D, MACWH_D, "macwh.d"),
87062 + NORMAL_MNEMONIC(MAX, MAX, "max"),
87063 + NORMAL_MNEMONIC(MCALL, MCALL, "mcall"),
87064 + NORMAL_MNEMONIC(MFDR, MFDR, "mfdr"),
87065 + NORMAL_MNEMONIC(MFSR, MFSR, "mfsr"),
87066 + NORMAL_MNEMONIC(MIN, MIN, "min"),
87067 + NORMAL_MNEMONIC(MOV, MOV3, "mov"),
87068 + NORMAL_MNEMONIC(MOVEQ, MOVEQ1, "moveq"),
87069 + NORMAL_MNEMONIC(MOVNE, MOVNE1, "movne"),
87070 + NORMAL_MNEMONIC(MOVCC, MOVCC1, "movcc"),
87071 + NORMAL_MNEMONIC(MOVCS, MOVCS1, "movcs"),
87072 + NORMAL_MNEMONIC(MOVGE, MOVGE1, "movge"),
87073 + NORMAL_MNEMONIC(MOVLT, MOVLT1, "movlt"),
87074 + NORMAL_MNEMONIC(MOVMI, MOVMI1, "movmi"),
87075 + NORMAL_MNEMONIC(MOVPL, MOVPL1, "movpl"),
87076 + NORMAL_MNEMONIC(MOVLS, MOVLS1, "movls"),
87077 + NORMAL_MNEMONIC(MOVGT, MOVGT1, "movgt"),
87078 + NORMAL_MNEMONIC(MOVLE, MOVLE1, "movle"),
87079 + NORMAL_MNEMONIC(MOVHI, MOVHI1, "movhi"),
87080 + NORMAL_MNEMONIC(MOVVS, MOVVS1, "movvs"),
87081 + NORMAL_MNEMONIC(MOVVC, MOVVC1, "movvc"),
87082 + NORMAL_MNEMONIC(MOVQS, MOVQS1, "movqs"),
87083 + NORMAL_MNEMONIC(MOVAL, MOVAL1, "moval"),
87084 + NORMAL_MNEMONIC(MOVHS, MOVHS1, "movhs"),
87085 + NORMAL_MNEMONIC(MOVLO, MOVLO1, "movlo"),
87086 + NORMAL_MNEMONIC(MTDR, MTDR, "mtdr"),
87087 + NORMAL_MNEMONIC(MTSR, MTSR, "mtsr"),
87088 + NORMAL_MNEMONIC(MUL, MUL1, "mul"),
87089 + NORMAL_MNEMONIC(MULHH_W, MULHH_W, "mulhh.w"),
87090 + NORMAL_MNEMONIC(MULNHH_W, MULNHH_W, "mulnhh.w"),
87091 + NORMAL_MNEMONIC(MULNWH_D, MULNWH_D, "mulnwh.d"),
87092 + NORMAL_MNEMONIC(MULS_D, MULSD, "muls.d"),
87093 + NORMAL_MNEMONIC(MULSATHH_H, MULSATHH_H, "mulsathh.h"),
87094 + NORMAL_MNEMONIC(MULSATHH_W, MULSATHH_W, "mulsathh.w"),
87095 + NORMAL_MNEMONIC(MULSATRNDHH_H, MULSATRNDHH_H, "mulsatrndhh.h"),
87096 + NORMAL_MNEMONIC(MULSATRNDWH_W, MULSATRNDWH_W, "mulsatrndwh.w"),
87097 + NORMAL_MNEMONIC(MULSATWH_W, MULSATWH_W, "mulsatwh.w"),
87098 + NORMAL_MNEMONIC(MULU_D, MULU_D, "mulu.d"),
87099 + NORMAL_MNEMONIC(MULWH_D, MULWH_D, "mulwh.d"),
87100 + NORMAL_MNEMONIC(MUSFR, MUSFR, "musfr"),
87101 + NORMAL_MNEMONIC(MUSTR, MUSTR, "mustr"),
87102 + NORMAL_MNEMONIC(MVCR_D, MVCR_D, "mvcr.d"),
87103 + NORMAL_MNEMONIC(MVCR_W, MVCR_W, "mvcr.w"),
87104 + NORMAL_MNEMONIC(MVRC_D, MVRC_D, "mvrc.d"),
87105 + NORMAL_MNEMONIC(MVRC_W, MVRC_W, "mvrc.w"),
87106 + NORMAL_MNEMONIC(NEG, NEG, "neg"),
87107 + NORMAL_MNEMONIC(NOP, NOP, "nop"),
87108 + NORMAL_MNEMONIC(OR, OR1, "or"),
87109 + NORMAL_MNEMONIC(ORH, ORH, "orh"),
87110 + NORMAL_MNEMONIC(ORL, ORL, "orl"),
87111 + NORMAL_MNEMONIC(PABS_SB, PABS_SB, "pabs.sb"),
87112 + NORMAL_MNEMONIC(PABS_SH, PABS_SH, "pabs.sh"),
87113 + NORMAL_MNEMONIC(PACKSH_SB, PACKSH_SB, "packsh.sb"),
87114 + NORMAL_MNEMONIC(PACKSH_UB, PACKSH_UB, "packsh.ub"),
87115 + NORMAL_MNEMONIC(PACKW_SH, PACKW_SH, "packw.sh"),
87116 + NORMAL_MNEMONIC(PADD_B, PADD_B, "padd.b"),
87117 + NORMAL_MNEMONIC(PADD_H, PADD_H, "padd.h"),
87118 + NORMAL_MNEMONIC(PADDH_SH, PADDH_SH, "paddh.sh"),
87119 + NORMAL_MNEMONIC(PADDH_UB, PADDH_UB, "paddh.ub"),
87120 + NORMAL_MNEMONIC(PADDS_SB, PADDS_SB, "padds.sb"),
87121 + NORMAL_MNEMONIC(PADDS_SH, PADDS_SH, "padds.sh"),
87122 + NORMAL_MNEMONIC(PADDS_UB, PADDS_UB, "padds.ub"),
87123 + NORMAL_MNEMONIC(PADDS_UH, PADDS_UH, "padds.uh"),
87124 + NORMAL_MNEMONIC(PADDSUB_H, PADDSUB_H, "paddsub.h"),
87125 + NORMAL_MNEMONIC(PADDSUBH_SH, PADDSUBH_SH, "paddsubh.sh"),
87126 + NORMAL_MNEMONIC(PADDSUBS_SH, PADDSUBS_SH, "paddsubs.sh"),
87127 + NORMAL_MNEMONIC(PADDSUBS_UH, PADDSUBS_UH, "paddsubs.uh"),
87128 + NORMAL_MNEMONIC(PADDX_H, PADDX_H, "paddx.h"),
87129 + NORMAL_MNEMONIC(PADDXH_SH, PADDXH_SH, "paddxh.sh"),
87130 + NORMAL_MNEMONIC(PADDXS_SH, PADDXS_SH, "paddxs.sh"),
87131 + NORMAL_MNEMONIC(PADDXS_UH, PADDXS_UH, "paddxs.uh"),
87132 + NORMAL_MNEMONIC(PASR_B, PASR_B, "pasr.b"),
87133 + NORMAL_MNEMONIC(PASR_H, PASR_H, "pasr.h"),
87134 + NORMAL_MNEMONIC(PAVG_SH, PAVG_SH, "pavg.sh"),
87135 + NORMAL_MNEMONIC(PAVG_UB, PAVG_UB, "pavg.ub"),
87136 + NORMAL_MNEMONIC(PLSL_B, PLSL_B, "plsl.b"),
87137 + NORMAL_MNEMONIC(PLSL_H, PLSL_H, "plsl.h"),
87138 + NORMAL_MNEMONIC(PLSR_B, PLSR_B, "plsr.b"),
87139 + NORMAL_MNEMONIC(PLSR_H, PLSR_H, "plsr.h"),
87140 + NORMAL_MNEMONIC(PMAX_SH, PMAX_SH, "pmax.sh"),
87141 + NORMAL_MNEMONIC(PMAX_UB, PMAX_UB, "pmax.ub"),
87142 + NORMAL_MNEMONIC(PMIN_SH, PMIN_SH, "pmin.sh"),
87143 + NORMAL_MNEMONIC(PMIN_UB, PMIN_UB, "pmin.ub"),
87144 + NORMAL_MNEMONIC(POPJC, POPJC, "popjc"),
87145 + NORMAL_MNEMONIC(POPM, POPM, "popm"),
87146 + NORMAL_MNEMONIC(PREF, PREF, "pref"),
87147 + NORMAL_MNEMONIC(PSAD, PSAD, "psad"),
87148 + NORMAL_MNEMONIC(PSUB_B, PSUB_B, "psub.b"),
87149 + NORMAL_MNEMONIC(PSUB_H, PSUB_H, "psub.h"),
87150 + NORMAL_MNEMONIC(PSUBADD_H, PSUBADD_H, "psubadd.h"),
87151 + NORMAL_MNEMONIC(PSUBADDH_SH, PSUBADDH_SH, "psubaddh.sh"),
87152 + NORMAL_MNEMONIC(PSUBADDS_SH, PSUBADDS_SH, "psubadds.sh"),
87153 + NORMAL_MNEMONIC(PSUBADDS_UH, PSUBADDS_UH, "psubadds.uh"),
87154 + NORMAL_MNEMONIC(PSUBH_SH, PSUBH_SH, "psubh.sh"),
87155 + NORMAL_MNEMONIC(PSUBH_UB, PSUBH_UB, "psubh.ub"),
87156 + NORMAL_MNEMONIC(PSUBS_SB, PSUBS_SB, "psubs.sb"),
87157 + NORMAL_MNEMONIC(PSUBS_SH, PSUBS_SH, "psubs.sh"),
87158 + NORMAL_MNEMONIC(PSUBS_UB, PSUBS_UB, "psubs.ub"),
87159 + NORMAL_MNEMONIC(PSUBS_UH, PSUBS_UH, "psubs.uh"),
87160 + NORMAL_MNEMONIC(PSUBX_H, PSUBX_H, "psubx.h"),
87161 + NORMAL_MNEMONIC(PSUBXH_SH, PSUBXH_SH, "psubxh.sh"),
87162 + NORMAL_MNEMONIC(PSUBXS_SH, PSUBXS_SH, "psubxs.sh"),
87163 + NORMAL_MNEMONIC(PSUBXS_UH, PSUBXS_UH, "psubxs.uh"),
87164 + NORMAL_MNEMONIC(PUNPCKSB_H, PUNPCKSB_H, "punpcksb.h"),
87165 + NORMAL_MNEMONIC(PUNPCKUB_H, PUNPCKUB_H, "punpckub.h"),
87166 + NORMAL_MNEMONIC(PUSHJC, PUSHJC, "pushjc"),
87167 + NORMAL_MNEMONIC(PUSHM, PUSHM, "pushm"),
87168 + NORMAL_MNEMONIC(RCALL, RCALL1, "rcall"),
87169 + NORMAL_MNEMONIC(RETEQ, RETEQ, "reteq"),
87170 + NORMAL_MNEMONIC(RETNE, RETNE, "retne"),
87171 + NORMAL_MNEMONIC(RETCC, RETCC, "retcc"),
87172 + NORMAL_MNEMONIC(RETCS, RETCS, "retcs"),
87173 + NORMAL_MNEMONIC(RETGE, RETGE, "retge"),
87174 + NORMAL_MNEMONIC(RETLT, RETLT, "retlt"),
87175 + NORMAL_MNEMONIC(RETMI, RETMI, "retmi"),
87176 + NORMAL_MNEMONIC(RETPL, RETPL, "retpl"),
87177 + NORMAL_MNEMONIC(RETLS, RETLS, "retls"),
87178 + NORMAL_MNEMONIC(RETGT, RETGT, "retgt"),
87179 + NORMAL_MNEMONIC(RETLE, RETLE, "retle"),
87180 + NORMAL_MNEMONIC(RETHI, RETHI, "rethi"),
87181 + NORMAL_MNEMONIC(RETVS, RETVS, "retvs"),
87182 + NORMAL_MNEMONIC(RETVC, RETVC, "retvc"),
87183 + NORMAL_MNEMONIC(RETQS, RETQS, "retqs"),
87184 + NORMAL_MNEMONIC(RETAL, RETAL, "retal"),
87185 + NORMAL_MNEMONIC(RETHS, RETHS, "reths"),
87186 + NORMAL_MNEMONIC(RETLO, RETLO, "retlo"),
87187 + NORMAL_MNEMONIC(RET, RETAL, "ret"),
87188 + NORMAL_MNEMONIC(RETD, RETD, "retd"),
87189 + NORMAL_MNEMONIC(RETE, RETE, "rete"),
87190 + NORMAL_MNEMONIC(RETJ, RETJ, "retj"),
87191 + NORMAL_MNEMONIC(RETS, RETS, "rets"),
87192 + NORMAL_MNEMONIC(RJMP, RJMP, "rjmp"),
87193 + NORMAL_MNEMONIC(ROL, ROL, "rol"),
87194 + NORMAL_MNEMONIC(ROR, ROR, "ror"),
87195 + NORMAL_MNEMONIC(RSUB, RSUB1, "rsub"),
87196 + NORMAL_MNEMONIC(SATADD_H, SATADD_H, "satadd.h"),
87197 + NORMAL_MNEMONIC(SATADD_W, SATADD_W, "satadd.w"),
87198 + NORMAL_MNEMONIC(SATRNDS, SATRNDS, "satrnds"),
87199 + NORMAL_MNEMONIC(SATRNDU, SATRNDU, "satrndu"),
87200 + NORMAL_MNEMONIC(SATS, SATS, "sats"),
87201 + NORMAL_MNEMONIC(SATSUB_H, SATSUB_H, "satsub.h"),
87202 + NORMAL_MNEMONIC(SATSUB_W, SATSUB_W1, "satsub.w"),
87203 + NORMAL_MNEMONIC(SATU, SATU, "satu"),
87204 + NORMAL_MNEMONIC(SBC, SBC, "sbc"),
87205 + NORMAL_MNEMONIC(SBR, SBR, "sbr"),
87206 + NORMAL_MNEMONIC(SCALL, SCALL, "scall"),
87207 + NORMAL_MNEMONIC(SCR, SCR, "scr"),
87208 + NORMAL_MNEMONIC(SLEEP, SLEEP, "sleep"),
87209 + NORMAL_MNEMONIC(SREQ, SREQ, "sreq"),
87210 + NORMAL_MNEMONIC(SRNE, SRNE, "srne"),
87211 + NORMAL_MNEMONIC(SRCC, SRCC, "srcc"),
87212 + NORMAL_MNEMONIC(SRCS, SRCS, "srcs"),
87213 + NORMAL_MNEMONIC(SRGE, SRGE, "srge"),
87214 + NORMAL_MNEMONIC(SRLT, SRLT, "srlt"),
87215 + NORMAL_MNEMONIC(SRMI, SRMI, "srmi"),
87216 + NORMAL_MNEMONIC(SRPL, SRPL, "srpl"),
87217 + NORMAL_MNEMONIC(SRLS, SRLS, "srls"),
87218 + NORMAL_MNEMONIC(SRGT, SRGT, "srgt"),
87219 + NORMAL_MNEMONIC(SRLE, SRLE, "srle"),
87220 + NORMAL_MNEMONIC(SRHI, SRHI, "srhi"),
87221 + NORMAL_MNEMONIC(SRVS, SRVS, "srvs"),
87222 + NORMAL_MNEMONIC(SRVC, SRVC, "srvc"),
87223 + NORMAL_MNEMONIC(SRQS, SRQS, "srqs"),
87224 + NORMAL_MNEMONIC(SRAL, SRAL, "sral"),
87225 + NORMAL_MNEMONIC(SRHS, SRHS, "srhs"),
87226 + NORMAL_MNEMONIC(SRLO, SRLO, "srlo"),
87227 + NORMAL_MNEMONIC(SSRF, SSRF, "ssrf"),
87228 + NORMAL_MNEMONIC(ST_B, ST_B1, "st.b"),
87229 + NORMAL_MNEMONIC(ST_D, ST_D1, "st.d"),
87230 + NORMAL_MNEMONIC(ST_H, ST_H1, "st.h"),
87231 + NORMAL_MNEMONIC(ST_W, ST_W1, "st.w"),
87232 + NORMAL_MNEMONIC(STC_D, STC_D3, "stc.d"),
87233 + NORMAL_MNEMONIC(STC_W, STC_W3, "stc.w"),
87234 + NORMAL_MNEMONIC(STC0_D, STC0_D, "stc0.d"),
87235 + NORMAL_MNEMONIC(STC0_W, STC0_W, "stc0.w"),
87236 + NORMAL_MNEMONIC(STCM_D, STCM_D, "stcm.d"),
87237 + NORMAL_MNEMONIC(STCM_W, STCM_W, "stcm.w"),
87238 + NORMAL_MNEMONIC(STCOND, STCOND, "stcond"),
87239 + NORMAL_MNEMONIC(STDSP, STDSP, "stdsp"),
87240 + NORMAL_MNEMONIC(STHH_W, STHH_W2, "sthh.w"),
87241 + NORMAL_MNEMONIC(STM, STM, "stm"),
87242 + NORMAL_MNEMONIC(STMTS, STMTS, "stmts"),
87243 + NORMAL_MNEMONIC(STSWP_H, STSWP_H, "stswp.h"),
87244 + NORMAL_MNEMONIC(STSWP_W, STSWP_W, "stswp.w"),
87245 + NORMAL_MNEMONIC(SUB, SUB1, "sub"),
87246 + NORMAL_MNEMONIC(SUBEQ, SUBEQ, "subeq"),
87247 + NORMAL_MNEMONIC(SUBNE, SUBNE, "subne"),
87248 + NORMAL_MNEMONIC(SUBCC, SUBCC, "subcc"),
87249 + NORMAL_MNEMONIC(SUBCS, SUBCS, "subcs"),
87250 + NORMAL_MNEMONIC(SUBGE, SUBGE, "subge"),
87251 + NORMAL_MNEMONIC(SUBLT, SUBLT, "sublt"),
87252 + NORMAL_MNEMONIC(SUBMI, SUBMI, "submi"),
87253 + NORMAL_MNEMONIC(SUBPL, SUBPL, "subpl"),
87254 + NORMAL_MNEMONIC(SUBLS, SUBLS, "subls"),
87255 + NORMAL_MNEMONIC(SUBGT, SUBGT, "subgt"),
87256 + NORMAL_MNEMONIC(SUBLE, SUBLE, "suble"),
87257 + NORMAL_MNEMONIC(SUBHI, SUBHI, "subhi"),
87258 + NORMAL_MNEMONIC(SUBVS, SUBVS, "subvs"),
87259 + NORMAL_MNEMONIC(SUBVC, SUBVC, "subvc"),
87260 + NORMAL_MNEMONIC(SUBQS, SUBQS, "subqs"),
87261 + NORMAL_MNEMONIC(SUBAL, SUBAL, "subal"),
87262 + NORMAL_MNEMONIC(SUBHS, SUBHS, "subhs"),
87263 + NORMAL_MNEMONIC(SUBLO, SUBLO, "sublo"),
87264 + NORMAL_MNEMONIC(SUBFEQ, SUBFEQ, "subfeq"),
87265 + NORMAL_MNEMONIC(SUBFNE, SUBFNE, "subfne"),
87266 + NORMAL_MNEMONIC(SUBFCC, SUBFCC, "subfcc"),
87267 + NORMAL_MNEMONIC(SUBFCS, SUBFCS, "subfcs"),
87268 + NORMAL_MNEMONIC(SUBFGE, SUBFGE, "subfge"),
87269 + NORMAL_MNEMONIC(SUBFLT, SUBFLT, "subflt"),
87270 + NORMAL_MNEMONIC(SUBFMI, SUBFMI, "subfmi"),
87271 + NORMAL_MNEMONIC(SUBFPL, SUBFPL, "subfpl"),
87272 + NORMAL_MNEMONIC(SUBFLS, SUBFLS, "subfls"),
87273 + NORMAL_MNEMONIC(SUBFGT, SUBFGT, "subfgt"),
87274 + NORMAL_MNEMONIC(SUBFLE, SUBFLE, "subfle"),
87275 + NORMAL_MNEMONIC(SUBFHI, SUBFHI, "subfhi"),
87276 + NORMAL_MNEMONIC(SUBFVS, SUBFVS, "subfvs"),
87277 + NORMAL_MNEMONIC(SUBFVC, SUBFVC, "subfvc"),
87278 + NORMAL_MNEMONIC(SUBFQS, SUBFQS, "subfqs"),
87279 + NORMAL_MNEMONIC(SUBFAL, SUBFAL, "subfal"),
87280 + NORMAL_MNEMONIC(SUBFHS, SUBFHS, "subfhs"),
87281 + NORMAL_MNEMONIC(SUBFLO, SUBFLO, "subflo"),
87282 + NORMAL_MNEMONIC(SUBHH_W, SUBHH_W, "subhh.w"),
87283 + NORMAL_MNEMONIC(SWAP_B, SWAP_B, "swap.b"),
87284 + NORMAL_MNEMONIC(SWAP_BH, SWAP_BH, "swap.bh"),
87285 + NORMAL_MNEMONIC(SWAP_H, SWAP_H, "swap.h"),
87286 + NORMAL_MNEMONIC(SYNC, SYNC, "sync"),
87287 + NORMAL_MNEMONIC(TLBR, TLBR, "tlbr"),
87288 + NORMAL_MNEMONIC(TLBS, TLBS, "tlbs"),
87289 + NORMAL_MNEMONIC(TLBW, TLBW, "tlbw"),
87290 + NORMAL_MNEMONIC(TNBZ, TNBZ, "tnbz"),
87291 + NORMAL_MNEMONIC(TST, TST, "tst"),
87292 + NORMAL_MNEMONIC(XCHG, XCHG, "xchg"),
87293 + NORMAL_MNEMONIC(MEMC, MEMC, "memc"),
87294 + NORMAL_MNEMONIC(MEMS, MEMS, "mems"),
87295 + NORMAL_MNEMONIC(MEMT, MEMT, "memt"),
87296 + FP_MNEMONIC(FADD, FADD, "fadd"),
87297 + FP_MNEMONIC(FSUB, FSUB, "fsub"),
87298 + FP_MNEMONIC(FMAC, FMAC, "fmac"),
87299 + FP_MNEMONIC(FNMAC, FNMAC, "fnmac"),
87300 + FP_MNEMONIC(FMSC, FMSC, "fmsc"),
87301 + FP_MNEMONIC(FNMSC, FNMSC, "fnmsc"),
87302 + FP_MNEMONIC(FMUL, FMUL, "fmul"),
87303 + FP_MNEMONIC(FNMUL, FNMUL, "fnmul"),
87304 + FP_MNEMONIC(FNEG, FNEG, "fneg"),
87305 + FP_MNEMONIC(FABS, FABS, "fabs"),
87306 + FP_MNEMONIC(FCMP, FCMP, "fcmp"),
87307 + FP_MNEMONIC(FMOV, FMOV1, "fmov"),
87308 + NORMAL_MNEMONIC(FCASTS_D, FCASTS_D, "fcasts.d"),
87309 + NORMAL_MNEMONIC(FCASTD_S, FCASTD_S, "fcastd.s"),
87310 + NORMAL_MNEMONIC(LDA_W, LDA_W, "lda.w"),
87311 + NORMAL_MNEMONIC(CALL, CALL, "call"),
87312 + NORMAL_MNEMONIC(PICOSVMAC, PICOSVMAC0, "picosvmac"),
87313 + NORMAL_MNEMONIC(PICOSVMUL, PICOSVMUL0, "picosvmul"),
87314 + NORMAL_MNEMONIC(PICOVMAC, PICOVMAC0, "picovmac"),
87315 + NORMAL_MNEMONIC(PICOVMUL, PICOVMUL0, "picovmul"),
87316 + NORMAL_MNEMONIC(PICOLD_D, PICOLD_D2, "picold.d"),
87317 + NORMAL_MNEMONIC(PICOLD_W, PICOLD_W2, "picold.w"),
87318 + NORMAL_MNEMONIC(PICOLDM_D, PICOLDM_D, "picoldm.d"),
87319 + NORMAL_MNEMONIC(PICOLDM_W, PICOLDM_W, "picoldm.w"),
87320 + NORMAL_MNEMONIC(PICOMV_D, PICOMV_D1, "picomv.d"),
87321 + NORMAL_MNEMONIC(PICOMV_W, PICOMV_W1, "picomv.w"),
87322 + NORMAL_MNEMONIC(PICOST_D, PICOST_D2, "picost.d"),
87323 + NORMAL_MNEMONIC(PICOST_W, PICOST_W2, "picost.w"),
87324 + NORMAL_MNEMONIC(PICOSTM_D, PICOSTM_D, "picostm.d"),
87325 + NORMAL_MNEMONIC(PICOSTM_W, PICOSTM_W, "picostm.w"),
87326 + };
87327 +#undef NORMAL_MNEMONIC
87328 +#undef ALIAS_MNEMONIC
87329 +#undef FP_MNEMONIC
87330 diff -Nrup binutils-2.17/opcodes/avr32-opc.h binutils-2.17-atmel/opcodes/avr32-opc.h
87331 --- binutils-2.17/opcodes/avr32-opc.h 1970-01-01 01:00:00.000000000 +0100
87332 +++ binutils-2.17-atmel/opcodes/avr32-opc.h 2007-01-29 12:21:57.000000000 +0100
87333 @@ -0,0 +1,1655 @@
87334 +/* Opcode tables for AVR32.
87335 + Copyright 2005, 2006 Atmel Corporation.
87336 +
87337 + Written by Haavard Skinnemoen, Atmel Norway, <hskinnemoen@atmel.com>
87338 +
87339 + This file is part of libopcodes.
87340 +
87341 + This program is free software; you can redistribute it and/or
87342 + modify it under the terms of the GNU General Public License as
87343 + published by the Free Software Foundation; either version 2 of the
87344 + License, or (at your option) any later version.
87345 +
87346 + This program is distributed in the hope that it will be useful, but
87347 + WITHOUT ANY WARRANTY; without even the implied warranty of
87348 + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
87349 + General Public License for more details.
87350 +
87351 + You should have received a copy of the GNU General Public License
87352 + along with this program; if not, write to the Free Software
87353 + Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
87354 + 02111-1307, USA. */
87355 +
87356 +#include "bfd.h"
87357 +
87358 +#define AVR32_MAX_OPERANDS 8
87359 +#define AVR32_MAX_FIELDS 8
87360 +
87361 +#define AVR32_V1 (1 << 1)
87362 +#define AVR32_SIMD (1 << 2)
87363 +#define AVR32_DSP (1 << 3)
87364 +#define AVR32_RMW (1 << 4)
87365 +#define AVR32_FP (1 << 16)
87366 +#define AVR32_PICO (1 << 17)
87367 +
87368 +/* Registers we commonly refer to */
87369 +#define AVR32_REG_R12 12
87370 +#define AVR32_REG_SP 13
87371 +#define AVR32_REG_LR 14
87372 +#define AVR32_REG_PC 15
87373 +
87374 +struct avr32_ifield
87375 +{
87376 + int id;
87377 + unsigned short bitsize;
87378 + unsigned short shift;
87379 + unsigned long mask;
87380 +
87381 + /* If the value doesn't fit, it will be truncated with no warning */
87382 + void (*insert)(const struct avr32_ifield *, void *, unsigned long);
87383 + void (*extract)(const struct avr32_ifield *, void *, unsigned long *);
87384 +};
87385 +
87386 +struct avr32_opcode
87387 +{
87388 + int id;
87389 + int size;
87390 + unsigned long value;
87391 + unsigned long mask;
87392 + const struct avr32_syntax *syntax;
87393 + bfd_reloc_code_real_type reloc_type;
87394 + unsigned int nr_fields;
87395 + /* if relaxable, which field is variable, otherwise -1 */
87396 + int var_field;
87397 + const struct avr32_ifield *fields[AVR32_MAX_FIELDS];
87398 +};
87399 +
87400 +struct avr32_alias
87401 +{
87402 + int id;
87403 + const struct avr32_opcode *opc;
87404 + struct {
87405 + int is_opindex;
87406 + unsigned long value;
87407 + } operand_map[AVR32_MAX_OPERANDS];
87408 +};
87409 +
87410 +struct avr32_syntax
87411 +{
87412 + int id;
87413 + unsigned long isa_flags;
87414 + const struct avr32_mnemonic *mnemonic;
87415 + int type;
87416 + union {
87417 + const struct avr32_opcode *opc;
87418 + const struct avr32_alias *alias;
87419 + } u;
87420 + const struct avr32_syntax *next;
87421 + /* negative means "vararg" */
87422 + int nr_operands;
87423 + int operand[AVR32_MAX_OPERANDS];
87424 +};
87425 +
87426 +#if 0
87427 +#define AVR32_ALIAS_MAKE_CONST(val) ((val) | 0x80000000UL)
87428 +#define AVR32_ALIAS_IS_CONST(mapval) (((mapval) & 0x80000000UL) != 0)
87429 +#define AVR32_ALIAS_GET_CONST(mapval) ((mapval) & ~0x80000000UL)
87430 +#endif
87431 +
87432 +struct avr32_mnemonic
87433 +{
87434 + int id;
87435 + const char *name;
87436 + const struct avr32_syntax *syntax;
87437 +};
87438 +
87439 +extern const struct avr32_ifield avr32_ifield_table[];
87440 +extern struct avr32_opcode avr32_opc_table[];
87441 +extern const struct avr32_syntax avr32_syntax_table[];
87442 +extern const struct avr32_alias avr32_alias_table[];
87443 +extern const struct avr32_mnemonic avr32_mnemonic_table[];
87444 +
87445 +extern void avr32_insert_simple(const struct avr32_ifield *field,
87446 + void *buf, unsigned long value);
87447 +extern void avr32_insert_bit5c(const struct avr32_ifield *field,
87448 + void *buf, unsigned long value);
87449 +extern void avr32_insert_k10(const struct avr32_ifield *field,
87450 + void *buf, unsigned long value);
87451 +extern void avr32_insert_k21(const struct avr32_ifield *field,
87452 + void *buf, unsigned long value);
87453 +extern void avr32_insert_cpop(const struct avr32_ifield *field,
87454 + void *buf, unsigned long value);
87455 +extern void avr32_insert_k12cp(const struct avr32_ifield *field,
87456 + void *buf, unsigned long value);
87457 +
87458 +extern void avr32_extract_simple(const struct avr32_ifield *field,
87459 + void *buf, unsigned long *value);
87460 +extern void avr32_extract_bit5c(const struct avr32_ifield *field,
87461 + void *buf, unsigned long *value);
87462 +extern void avr32_extract_k10(const struct avr32_ifield *field,
87463 + void *buf, unsigned long *value);
87464 +extern void avr32_extract_k21(const struct avr32_ifield *field,
87465 + void *buf, unsigned long *value);
87466 +extern void avr32_extract_cpop(const struct avr32_ifield *field,
87467 + void *buf, unsigned long *value);
87468 +extern void avr32_extract_k12cp(const struct avr32_ifield *field,
87469 + void *buf, unsigned long *value);
87470 +
87471 +enum avr32_operand_type
87472 +{
87473 + AVR32_OPERAND_INTREG, /* just a register */
87474 + AVR32_OPERAND_INTREG_PREDEC, /* register with pre-decrement */
87475 + AVR32_OPERAND_INTREG_POSTINC, /* register with post-increment */
87476 + AVR32_OPERAND_INTREG_LSL, /* register with left shift */
87477 + AVR32_OPERAND_INTREG_LSR, /* register with right shift */
87478 + AVR32_OPERAND_INTREG_BSEL, /* register with byte selector */
87479 + AVR32_OPERAND_INTREG_HSEL, /* register with halfword selector */
87480 + AVR32_OPERAND_INTREG_SDISP, /* Rp[signed disp] */
87481 + AVR32_OPERAND_INTREG_SDISP_H, /* Rp[signed hword-aligned disp] */
87482 + AVR32_OPERAND_INTREG_SDISP_W, /* Rp[signed word-aligned disp] */
87483 + AVR32_OPERAND_INTREG_UDISP, /* Rp[unsigned disp] */
87484 + AVR32_OPERAND_INTREG_UDISP_H, /* Rp[unsigned hword-aligned disp] */
87485 + AVR32_OPERAND_INTREG_UDISP_W, /* Rp[unsigned word-aligned disp] */
87486 + AVR32_OPERAND_INTREG_INDEX, /* Rp[Ri << sa] */
87487 + AVR32_OPERAND_INTREG_XINDEX, /* Rp[Ri:bytesel << 2] */
87488 + AVR32_OPERAND_DWREG, /* Even-numbered register */
87489 + AVR32_OPERAND_PC_UDISP_W, /* PC[unsigned word-aligned disp] or label */
87490 + AVR32_OPERAND_SP, /* Just SP */
87491 + AVR32_OPERAND_SP_UDISP_W, /* SP[unsigned word-aligned disp] */
87492 + AVR32_OPERAND_CPNO,
87493 + AVR32_OPERAND_CPREG,
87494 + AVR32_OPERAND_CPREG_D,
87495 + AVR32_OPERAND_UNSIGNED_CONST,
87496 + AVR32_OPERAND_UNSIGNED_CONST_W,
87497 + AVR32_OPERAND_SIGNED_CONST,
87498 + AVR32_OPERAND_SIGNED_CONST_W,
87499 + AVR32_OPERAND_JMPLABEL,
87500 + AVR32_OPERAND_UNSIGNED_NUMBER,
87501 + AVR32_OPERAND_UNSIGNED_NUMBER_W,
87502 + AVR32_OPERAND_REGLIST8,
87503 + AVR32_OPERAND_REGLIST9,
87504 + AVR32_OPERAND_REGLIST16,
87505 + AVR32_OPERAND_REGLIST_LDM,
87506 + AVR32_OPERAND_REGLIST_CP8,
87507 + AVR32_OPERAND_REGLIST_CPD8,
87508 + AVR32_OPERAND_RETVAL,
87509 + AVR32_OPERAND_MCALL,
87510 + AVR32_OPERAND_JOSPINC,
87511 + AVR32_OPERAND_COH,
87512 + AVR32_OPERAND_FPREG_S,
87513 + AVR32_OPERAND_FPREG_D,
87514 + AVR32_OPERAND_PICO_REG_W,
87515 + AVR32_OPERAND_PICO_REG_D,
87516 + AVR32_OPERAND_PICO_REGLIST_W,
87517 + AVR32_OPERAND_PICO_REGLIST_D,
87518 + AVR32_OPERAND_PICO_IN,
87519 + AVR32_OPERAND_PICO_OUT0,
87520 + AVR32_OPERAND_PICO_OUT1,
87521 + AVR32_OPERAND_PICO_OUT2,
87522 + AVR32_OPERAND_PICO_OUT3,
87523 + AVR32_OPERAND__END_
87524 +};
87525 +#define AVR32_OPERAND_UNKNOWN AVR32_OPERAND__END_
87526 +#define AVR32_NR_OPERANDS AVR32_OPERAND__END_
87527 +
87528 +enum avr32_ifield_type
87529 +{
87530 + AVR32_IFIELD_RX,
87531 + AVR32_IFIELD_RY,
87532 + AVR32_IFIELD_COND4C,
87533 + AVR32_IFIELD_K8C,
87534 + AVR32_IFIELD_K7C,
87535 + AVR32_IFIELD_K5C,
87536 + AVR32_IFIELD_K3,
87537 + AVR32_IFIELD_RY_DW,
87538 + AVR32_IFIELD_COND4E,
87539 + AVR32_IFIELD_K8E,
87540 + AVR32_IFIELD_BIT5C,
87541 + AVR32_IFIELD_COND3,
87542 + AVR32_IFIELD_K10,
87543 + AVR32_IFIELD_POPM,
87544 + AVR32_IFIELD_K2,
87545 + AVR32_IFIELD_RD_E,
87546 + AVR32_IFIELD_RD_DW,
87547 + AVR32_IFIELD_X,
87548 + AVR32_IFIELD_Y,
87549 + AVR32_IFIELD_X2,
87550 + AVR32_IFIELD_Y2,
87551 + AVR32_IFIELD_K5E,
87552 + AVR32_IFIELD_PART2,
87553 + AVR32_IFIELD_PART1,
87554 + AVR32_IFIELD_K16,
87555 + AVR32_IFIELD_CACHEOP,
87556 + AVR32_IFIELD_K11,
87557 + AVR32_IFIELD_K21,
87558 + AVR32_IFIELD_CPOP,
87559 + AVR32_IFIELD_CPNO,
87560 + AVR32_IFIELD_CRD_RI,
87561 + AVR32_IFIELD_CRX,
87562 + AVR32_IFIELD_CRY,
87563 + AVR32_IFIELD_K7E,
87564 + AVR32_IFIELD_CRD_DW,
87565 + AVR32_IFIELD_PART1_K12,
87566 + AVR32_IFIELD_PART2_K12,
87567 + AVR32_IFIELD_K12,
87568 + AVR32_IFIELD_S5,
87569 + AVR32_IFIELD_K5E2,
87570 + AVR32_IFIELD_K4,
87571 + AVR32_IFIELD_COND4E2,
87572 + AVR32_IFIELD_K8E2,
87573 + AVR32_IFIELD_K6,
87574 + AVR32_IFIELD_MEM15,
87575 + AVR32_IFIELD_MEMB5,
87576 + AVR32_IFIELD_W,
87577 + AVR32_IFIELD_CM_HL,
87578 + AVR32_IFIELD_K12CP,
87579 + AVR32_IFIELD__END_,
87580 +};
87581 +#define AVR32_NR_IFIELDS AVR32_IFIELD__END_
87582 +
87583 +enum avr32_opc_type
87584 +{
87585 + AVR32_OPC_ABS,
87586 + AVR32_OPC_ACALL,
87587 + AVR32_OPC_ACR,
87588 + AVR32_OPC_ADC,
87589 + AVR32_OPC_ADD1,
87590 + AVR32_OPC_ADD2,
87591 + AVR32_OPC_ADDABS,
87592 + AVR32_OPC_ADDHH_W,
87593 + AVR32_OPC_AND1,
87594 + AVR32_OPC_AND2,
87595 + AVR32_OPC_AND3,
87596 + AVR32_OPC_ANDH,
87597 + AVR32_OPC_ANDH_COH,
87598 + AVR32_OPC_ANDL,
87599 + AVR32_OPC_ANDL_COH,
87600 + AVR32_OPC_ANDN,
87601 + AVR32_OPC_ASR1,
87602 + AVR32_OPC_ASR3,
87603 + AVR32_OPC_ASR2,
87604 + AVR32_OPC_BLD,
87605 + AVR32_OPC_BREQ1,
87606 + AVR32_OPC_BRNE1,
87607 + AVR32_OPC_BRCC1,
87608 + AVR32_OPC_BRCS1,
87609 + AVR32_OPC_BRGE1,
87610 + AVR32_OPC_BRLT1,
87611 + AVR32_OPC_BRMI1,
87612 + AVR32_OPC_BRPL1,
87613 + AVR32_OPC_BREQ2,
87614 + AVR32_OPC_BRNE2,
87615 + AVR32_OPC_BRCC2,
87616 + AVR32_OPC_BRCS2,
87617 + AVR32_OPC_BRGE2,
87618 + AVR32_OPC_BRLT2,
87619 + AVR32_OPC_BRMI2,
87620 + AVR32_OPC_BRPL2,
87621 + AVR32_OPC_BRLS,
87622 + AVR32_OPC_BRGT,
87623 + AVR32_OPC_BRLE,
87624 + AVR32_OPC_BRHI,
87625 + AVR32_OPC_BRVS,
87626 + AVR32_OPC_BRVC,
87627 + AVR32_OPC_BRQS,
87628 + AVR32_OPC_BRAL,
87629 + AVR32_OPC_BREAKPOINT,
87630 + AVR32_OPC_BREV,
87631 + AVR32_OPC_BST,
87632 + AVR32_OPC_CACHE,
87633 + AVR32_OPC_CASTS_B,
87634 + AVR32_OPC_CASTS_H,
87635 + AVR32_OPC_CASTU_B,
87636 + AVR32_OPC_CASTU_H,
87637 + AVR32_OPC_CBR,
87638 + AVR32_OPC_CLZ,
87639 + AVR32_OPC_COM,
87640 + AVR32_OPC_COP,
87641 + AVR32_OPC_CP_B,
87642 + AVR32_OPC_CP_H,
87643 + AVR32_OPC_CP_W1,
87644 + AVR32_OPC_CP_W2,
87645 + AVR32_OPC_CP_W3,
87646 + AVR32_OPC_CPC1,
87647 + AVR32_OPC_CPC2,
87648 + AVR32_OPC_CSRF,
87649 + AVR32_OPC_CSRFCZ,
87650 + AVR32_OPC_DIVS,
87651 + AVR32_OPC_DIVU,
87652 + AVR32_OPC_EOR1,
87653 + AVR32_OPC_EOR2,
87654 + AVR32_OPC_EOR3,
87655 + AVR32_OPC_EORL,
87656 + AVR32_OPC_EORH,
87657 + AVR32_OPC_FRS,
87658 + AVR32_OPC_ICALL,
87659 + AVR32_OPC_INCJOSP,
87660 + AVR32_OPC_LD_D1,
87661 + AVR32_OPC_LD_D2,
87662 + AVR32_OPC_LD_D3,
87663 + AVR32_OPC_LD_D5,
87664 + AVR32_OPC_LD_D4,
87665 + AVR32_OPC_LD_SB2,
87666 + AVR32_OPC_LD_SB1,
87667 + AVR32_OPC_LD_UB1,
87668 + AVR32_OPC_LD_UB2,
87669 + AVR32_OPC_LD_UB5,
87670 + AVR32_OPC_LD_UB3,
87671 + AVR32_OPC_LD_UB4,
87672 + AVR32_OPC_LD_SH1,
87673 + AVR32_OPC_LD_SH2,
87674 + AVR32_OPC_LD_SH5,
87675 + AVR32_OPC_LD_SH3,
87676 + AVR32_OPC_LD_SH4,
87677 + AVR32_OPC_LD_UH1,
87678 + AVR32_OPC_LD_UH2,
87679 + AVR32_OPC_LD_UH5,
87680 + AVR32_OPC_LD_UH3,
87681 + AVR32_OPC_LD_UH4,
87682 + AVR32_OPC_LD_W1,
87683 + AVR32_OPC_LD_W2,
87684 + AVR32_OPC_LD_W5,
87685 + AVR32_OPC_LD_W6,
87686 + AVR32_OPC_LD_W3,
87687 + AVR32_OPC_LD_W4,
87688 + AVR32_OPC_LDC_D1,
87689 + AVR32_OPC_LDC_D2,
87690 + AVR32_OPC_LDC_D3,
87691 + AVR32_OPC_LDC_W1,
87692 + AVR32_OPC_LDC_W2,
87693 + AVR32_OPC_LDC_W3,
87694 + AVR32_OPC_LDC0_D,
87695 + AVR32_OPC_LDC0_W,
87696 + AVR32_OPC_LDCM_D,
87697 + AVR32_OPC_LDCM_D_PU,
87698 + AVR32_OPC_LDCM_W,
87699 + AVR32_OPC_LDCM_W_PU,
87700 + AVR32_OPC_LDDPC,
87701 + AVR32_OPC_LDDPC_EXT,
87702 + AVR32_OPC_LDDSP,
87703 + AVR32_OPC_LDINS_B,
87704 + AVR32_OPC_LDINS_H,
87705 + AVR32_OPC_LDM,
87706 + AVR32_OPC_LDMTS,
87707 + AVR32_OPC_LDMTS_PU,
87708 + AVR32_OPC_LDSWP_SH,
87709 + AVR32_OPC_LDSWP_UH,
87710 + AVR32_OPC_LDSWP_W,
87711 + AVR32_OPC_LSL1,
87712 + AVR32_OPC_LSL3,
87713 + AVR32_OPC_LSL2,
87714 + AVR32_OPC_LSR1,
87715 + AVR32_OPC_LSR3,
87716 + AVR32_OPC_LSR2,
87717 + AVR32_OPC_MAC,
87718 + AVR32_OPC_MACHH_D,
87719 + AVR32_OPC_MACHH_W,
87720 + AVR32_OPC_MACS_D,
87721 + AVR32_OPC_MACSATHH_W,
87722 + AVR32_OPC_MACUD,
87723 + AVR32_OPC_MACWH_D,
87724 + AVR32_OPC_MAX,
87725 + AVR32_OPC_MCALL,
87726 + AVR32_OPC_MFDR,
87727 + AVR32_OPC_MFSR,
87728 + AVR32_OPC_MIN,
87729 + AVR32_OPC_MOV3,
87730 + AVR32_OPC_MOV1,
87731 + AVR32_OPC_MOV2,
87732 + AVR32_OPC_MOVEQ1,
87733 + AVR32_OPC_MOVNE1,
87734 + AVR32_OPC_MOVCC1,
87735 + AVR32_OPC_MOVCS1,
87736 + AVR32_OPC_MOVGE1,
87737 + AVR32_OPC_MOVLT1,
87738 + AVR32_OPC_MOVMI1,
87739 + AVR32_OPC_MOVPL1,
87740 + AVR32_OPC_MOVLS1,
87741 + AVR32_OPC_MOVGT1,
87742 + AVR32_OPC_MOVLE1,
87743 + AVR32_OPC_MOVHI1,
87744 + AVR32_OPC_MOVVS1,
87745 + AVR32_OPC_MOVVC1,
87746 + AVR32_OPC_MOVQS1,
87747 + AVR32_OPC_MOVAL1,
87748 + AVR32_OPC_MOVEQ2,
87749 + AVR32_OPC_MOVNE2,
87750 + AVR32_OPC_MOVCC2,
87751 + AVR32_OPC_MOVCS2,
87752 + AVR32_OPC_MOVGE2,
87753 + AVR32_OPC_MOVLT2,
87754 + AVR32_OPC_MOVMI2,
87755 + AVR32_OPC_MOVPL2,
87756 + AVR32_OPC_MOVLS2,
87757 + AVR32_OPC_MOVGT2,
87758 + AVR32_OPC_MOVLE2,
87759 + AVR32_OPC_MOVHI2,
87760 + AVR32_OPC_MOVVS2,
87761 + AVR32_OPC_MOVVC2,
87762 + AVR32_OPC_MOVQS2,
87763 + AVR32_OPC_MOVAL2,
87764 + AVR32_OPC_MTDR,
87765 + AVR32_OPC_MTSR,
87766 + AVR32_OPC_MUL1,
87767 + AVR32_OPC_MUL2,
87768 + AVR32_OPC_MUL3,
87769 + AVR32_OPC_MULHH_W,
87770 + AVR32_OPC_MULNHH_W,
87771 + AVR32_OPC_MULNWH_D,
87772 + AVR32_OPC_MULSD,
87773 + AVR32_OPC_MULSATHH_H,
87774 + AVR32_OPC_MULSATHH_W,
87775 + AVR32_OPC_MULSATRNDHH_H,
87776 + AVR32_OPC_MULSATRNDWH_W,
87777 + AVR32_OPC_MULSATWH_W,
87778 + AVR32_OPC_MULU_D,
87779 + AVR32_OPC_MULWH_D,
87780 + AVR32_OPC_MUSFR,
87781 + AVR32_OPC_MUSTR,
87782 + AVR32_OPC_MVCR_D,
87783 + AVR32_OPC_MVCR_W,
87784 + AVR32_OPC_MVRC_D,
87785 + AVR32_OPC_MVRC_W,
87786 + AVR32_OPC_NEG,
87787 + AVR32_OPC_NOP,
87788 + AVR32_OPC_OR1,
87789 + AVR32_OPC_OR2,
87790 + AVR32_OPC_OR3,
87791 + AVR32_OPC_ORH,
87792 + AVR32_OPC_ORL,
87793 + AVR32_OPC_PABS_SB,
87794 + AVR32_OPC_PABS_SH,
87795 + AVR32_OPC_PACKSH_SB,
87796 + AVR32_OPC_PACKSH_UB,
87797 + AVR32_OPC_PACKW_SH,
87798 + AVR32_OPC_PADD_B,
87799 + AVR32_OPC_PADD_H,
87800 + AVR32_OPC_PADDH_SH,
87801 + AVR32_OPC_PADDH_UB,
87802 + AVR32_OPC_PADDS_SB,
87803 + AVR32_OPC_PADDS_SH,
87804 + AVR32_OPC_PADDS_UB,
87805 + AVR32_OPC_PADDS_UH,
87806 + AVR32_OPC_PADDSUB_H,
87807 + AVR32_OPC_PADDSUBH_SH,
87808 + AVR32_OPC_PADDSUBS_SH,
87809 + AVR32_OPC_PADDSUBS_UH,
87810 + AVR32_OPC_PADDX_H,
87811 + AVR32_OPC_PADDXH_SH,
87812 + AVR32_OPC_PADDXS_SH,
87813 + AVR32_OPC_PADDXS_UH,
87814 + AVR32_OPC_PASR_B,
87815 + AVR32_OPC_PASR_H,
87816 + AVR32_OPC_PAVG_SH,
87817 + AVR32_OPC_PAVG_UB,
87818 + AVR32_OPC_PLSL_B,
87819 + AVR32_OPC_PLSL_H,
87820 + AVR32_OPC_PLSR_B,
87821 + AVR32_OPC_PLSR_H,
87822 + AVR32_OPC_PMAX_SH,
87823 + AVR32_OPC_PMAX_UB,
87824 + AVR32_OPC_PMIN_SH,
87825 + AVR32_OPC_PMIN_UB,
87826 + AVR32_OPC_POPJC,
87827 + AVR32_OPC_POPM,
87828 + AVR32_OPC_POPM_E,
87829 + AVR32_OPC_PREF,
87830 + AVR32_OPC_PSAD,
87831 + AVR32_OPC_PSUB_B,
87832 + AVR32_OPC_PSUB_H,
87833 + AVR32_OPC_PSUBADD_H,
87834 + AVR32_OPC_PSUBADDH_SH,
87835 + AVR32_OPC_PSUBADDS_SH,
87836 + AVR32_OPC_PSUBADDS_UH,
87837 + AVR32_OPC_PSUBH_SH,
87838 + AVR32_OPC_PSUBH_UB,
87839 + AVR32_OPC_PSUBS_SB,
87840 + AVR32_OPC_PSUBS_SH,
87841 + AVR32_OPC_PSUBS_UB,
87842 + AVR32_OPC_PSUBS_UH,
87843 + AVR32_OPC_PSUBX_H,
87844 + AVR32_OPC_PSUBXH_SH,
87845 + AVR32_OPC_PSUBXS_SH,
87846 + AVR32_OPC_PSUBXS_UH,
87847 + AVR32_OPC_PUNPCKSB_H,
87848 + AVR32_OPC_PUNPCKUB_H,
87849 + AVR32_OPC_PUSHJC,
87850 + AVR32_OPC_PUSHM,
87851 + AVR32_OPC_PUSHM_E,
87852 + AVR32_OPC_RCALL1,
87853 + AVR32_OPC_RCALL2,
87854 + AVR32_OPC_RETEQ,
87855 + AVR32_OPC_RETNE,
87856 + AVR32_OPC_RETCC,
87857 + AVR32_OPC_RETCS,
87858 + AVR32_OPC_RETGE,
87859 + AVR32_OPC_RETLT,
87860 + AVR32_OPC_RETMI,
87861 + AVR32_OPC_RETPL,
87862 + AVR32_OPC_RETLS,
87863 + AVR32_OPC_RETGT,
87864 + AVR32_OPC_RETLE,
87865 + AVR32_OPC_RETHI,
87866 + AVR32_OPC_RETVS,
87867 + AVR32_OPC_RETVC,
87868 + AVR32_OPC_RETQS,
87869 + AVR32_OPC_RETAL,
87870 + AVR32_OPC_RETD,
87871 + AVR32_OPC_RETE,
87872 + AVR32_OPC_RETJ,
87873 + AVR32_OPC_RETS,
87874 + AVR32_OPC_RJMP,
87875 + AVR32_OPC_ROL,
87876 + AVR32_OPC_ROR,
87877 + AVR32_OPC_RSUB1,
87878 + AVR32_OPC_RSUB2,
87879 + AVR32_OPC_SATADD_H,
87880 + AVR32_OPC_SATADD_W,
87881 + AVR32_OPC_SATRNDS,
87882 + AVR32_OPC_SATRNDU,
87883 + AVR32_OPC_SATS,
87884 + AVR32_OPC_SATSUB_H,
87885 + AVR32_OPC_SATSUB_W1,
87886 + AVR32_OPC_SATSUB_W2,
87887 + AVR32_OPC_SATU,
87888 + AVR32_OPC_SBC,
87889 + AVR32_OPC_SBR,
87890 + AVR32_OPC_SCALL,
87891 + AVR32_OPC_SCR,
87892 + AVR32_OPC_SLEEP,
87893 + AVR32_OPC_SREQ,
87894 + AVR32_OPC_SRNE,
87895 + AVR32_OPC_SRCC,
87896 + AVR32_OPC_SRCS,
87897 + AVR32_OPC_SRGE,
87898 + AVR32_OPC_SRLT,
87899 + AVR32_OPC_SRMI,
87900 + AVR32_OPC_SRPL,
87901 + AVR32_OPC_SRLS,
87902 + AVR32_OPC_SRGT,
87903 + AVR32_OPC_SRLE,
87904 + AVR32_OPC_SRHI,
87905 + AVR32_OPC_SRVS,
87906 + AVR32_OPC_SRVC,
87907 + AVR32_OPC_SRQS,
87908 + AVR32_OPC_SRAL,
87909 + AVR32_OPC_SSRF,
87910 + AVR32_OPC_ST_B1,
87911 + AVR32_OPC_ST_B2,
87912 + AVR32_OPC_ST_B5,
87913 + AVR32_OPC_ST_B3,
87914 + AVR32_OPC_ST_B4,
87915 + AVR32_OPC_ST_D1,
87916 + AVR32_OPC_ST_D2,
87917 + AVR32_OPC_ST_D3,
87918 + AVR32_OPC_ST_D5,
87919 + AVR32_OPC_ST_D4,
87920 + AVR32_OPC_ST_H1,
87921 + AVR32_OPC_ST_H2,
87922 + AVR32_OPC_ST_H5,
87923 + AVR32_OPC_ST_H3,
87924 + AVR32_OPC_ST_H4,
87925 + AVR32_OPC_ST_W1,
87926 + AVR32_OPC_ST_W2,
87927 + AVR32_OPC_ST_W5,
87928 + AVR32_OPC_ST_W3,
87929 + AVR32_OPC_ST_W4,
87930 + AVR32_OPC_STC_D1,
87931 + AVR32_OPC_STC_D2,
87932 + AVR32_OPC_STC_D3,
87933 + AVR32_OPC_STC_W1,
87934 + AVR32_OPC_STC_W2,
87935 + AVR32_OPC_STC_W3,
87936 + AVR32_OPC_STC0_D,
87937 + AVR32_OPC_STC0_W,
87938 + AVR32_OPC_STCM_D,
87939 + AVR32_OPC_STCM_D_PU,
87940 + AVR32_OPC_STCM_W,
87941 + AVR32_OPC_STCM_W_PU,
87942 + AVR32_OPC_STCOND,
87943 + AVR32_OPC_STDSP,
87944 + AVR32_OPC_STHH_W2,
87945 + AVR32_OPC_STHH_W1,
87946 + AVR32_OPC_STM,
87947 + AVR32_OPC_STM_PU,
87948 + AVR32_OPC_STMTS,
87949 + AVR32_OPC_STMTS_PU,
87950 + AVR32_OPC_STSWP_H,
87951 + AVR32_OPC_STSWP_W,
87952 + AVR32_OPC_SUB1,
87953 + AVR32_OPC_SUB2,
87954 + AVR32_OPC_SUB5,
87955 + AVR32_OPC_SUB3_SP,
87956 + AVR32_OPC_SUB3,
87957 + AVR32_OPC_SUB4,
87958 + AVR32_OPC_SUBEQ,
87959 + AVR32_OPC_SUBNE,
87960 + AVR32_OPC_SUBCC,
87961 + AVR32_OPC_SUBCS,
87962 + AVR32_OPC_SUBGE,
87963 + AVR32_OPC_SUBLT,
87964 + AVR32_OPC_SUBMI,
87965 + AVR32_OPC_SUBPL,
87966 + AVR32_OPC_SUBLS,
87967 + AVR32_OPC_SUBGT,
87968 + AVR32_OPC_SUBLE,
87969 + AVR32_OPC_SUBHI,
87970 + AVR32_OPC_SUBVS,
87971 + AVR32_OPC_SUBVC,
87972 + AVR32_OPC_SUBQS,
87973 + AVR32_OPC_SUBAL,
87974 + AVR32_OPC_SUBFEQ,
87975 + AVR32_OPC_SUBFNE,
87976 + AVR32_OPC_SUBFCC,
87977 + AVR32_OPC_SUBFCS,
87978 + AVR32_OPC_SUBFGE,
87979 + AVR32_OPC_SUBFLT,
87980 + AVR32_OPC_SUBFMI,
87981 + AVR32_OPC_SUBFPL,
87982 + AVR32_OPC_SUBFLS,
87983 + AVR32_OPC_SUBFGT,
87984 + AVR32_OPC_SUBFLE,
87985 + AVR32_OPC_SUBFHI,
87986 + AVR32_OPC_SUBFVS,
87987 + AVR32_OPC_SUBFVC,
87988 + AVR32_OPC_SUBFQS,
87989 + AVR32_OPC_SUBFAL,
87990 + AVR32_OPC_SUBHH_W,
87991 + AVR32_OPC_SWAP_B,
87992 + AVR32_OPC_SWAP_BH,
87993 + AVR32_OPC_SWAP_H,
87994 + AVR32_OPC_SYNC,
87995 + AVR32_OPC_TLBR,
87996 + AVR32_OPC_TLBS,
87997 + AVR32_OPC_TLBW,
87998 + AVR32_OPC_TNBZ,
87999 + AVR32_OPC_TST,
88000 + AVR32_OPC_XCHG,
88001 + AVR32_OPC_MEMC,
88002 + AVR32_OPC_MEMS,
88003 + AVR32_OPC_MEMT,
88004 + AVR32_OPC_BFEXTS,
88005 + AVR32_OPC_BFEXTU,
88006 + AVR32_OPC_BFINS,
88007 + AVR32_OPC__END_
88008 +};
88009 +#define AVR32_NR_OPCODES AVR32_OPC__END_
88010 +
88011 +enum avr32_syntax_type
88012 +{
88013 + AVR32_SYNTAX_ABS,
88014 + AVR32_SYNTAX_ACALL,
88015 + AVR32_SYNTAX_ACR,
88016 + AVR32_SYNTAX_ADC,
88017 + AVR32_SYNTAX_ADD1,
88018 + AVR32_SYNTAX_ADD2,
88019 + AVR32_SYNTAX_ADDABS,
88020 + AVR32_SYNTAX_ADDHH_W,
88021 + AVR32_SYNTAX_AND1,
88022 + AVR32_SYNTAX_AND2,
88023 + AVR32_SYNTAX_AND3,
88024 + AVR32_SYNTAX_ANDH,
88025 + AVR32_SYNTAX_ANDH_COH,
88026 + AVR32_SYNTAX_ANDL,
88027 + AVR32_SYNTAX_ANDL_COH,
88028 + AVR32_SYNTAX_ANDN,
88029 + AVR32_SYNTAX_ASR1,
88030 + AVR32_SYNTAX_ASR3,
88031 + AVR32_SYNTAX_ASR2,
88032 + AVR32_SYNTAX_BFEXTS,
88033 + AVR32_SYNTAX_BFEXTU,
88034 + AVR32_SYNTAX_BFINS,
88035 + AVR32_SYNTAX_BLD,
88036 + AVR32_SYNTAX_BREQ1,
88037 + AVR32_SYNTAX_BRNE1,
88038 + AVR32_SYNTAX_BRCC1,
88039 + AVR32_SYNTAX_BRCS1,
88040 + AVR32_SYNTAX_BRGE1,
88041 + AVR32_SYNTAX_BRLT1,
88042 + AVR32_SYNTAX_BRMI1,
88043 + AVR32_SYNTAX_BRPL1,
88044 + AVR32_SYNTAX_BRHS1,
88045 + AVR32_SYNTAX_BRLO1,
88046 + AVR32_SYNTAX_BREQ2,
88047 + AVR32_SYNTAX_BRNE2,
88048 + AVR32_SYNTAX_BRCC2,
88049 + AVR32_SYNTAX_BRCS2,
88050 + AVR32_SYNTAX_BRGE2,
88051 + AVR32_SYNTAX_BRLT2,
88052 + AVR32_SYNTAX_BRMI2,
88053 + AVR32_SYNTAX_BRPL2,
88054 + AVR32_SYNTAX_BRLS,
88055 + AVR32_SYNTAX_BRGT,
88056 + AVR32_SYNTAX_BRLE,
88057 + AVR32_SYNTAX_BRHI,
88058 + AVR32_SYNTAX_BRVS,
88059 + AVR32_SYNTAX_BRVC,
88060 + AVR32_SYNTAX_BRQS,
88061 + AVR32_SYNTAX_BRAL,
88062 + AVR32_SYNTAX_BRHS2,
88063 + AVR32_SYNTAX_BRLO2,
88064 + AVR32_SYNTAX_BREAKPOINT,
88065 + AVR32_SYNTAX_BREV,
88066 + AVR32_SYNTAX_BST,
88067 + AVR32_SYNTAX_CACHE,
88068 + AVR32_SYNTAX_CASTS_B,
88069 + AVR32_SYNTAX_CASTS_H,
88070 + AVR32_SYNTAX_CASTU_B,
88071 + AVR32_SYNTAX_CASTU_H,
88072 + AVR32_SYNTAX_CBR,
88073 + AVR32_SYNTAX_CLZ,
88074 + AVR32_SYNTAX_COM,
88075 + AVR32_SYNTAX_COP,
88076 + AVR32_SYNTAX_CP_B,
88077 + AVR32_SYNTAX_CP_H,
88078 + AVR32_SYNTAX_CP_W1,
88079 + AVR32_SYNTAX_CP_W2,
88080 + AVR32_SYNTAX_CP_W3,
88081 + AVR32_SYNTAX_CPC1,
88082 + AVR32_SYNTAX_CPC2,
88083 + AVR32_SYNTAX_CSRF,
88084 + AVR32_SYNTAX_CSRFCZ,
88085 + AVR32_SYNTAX_DIVS,
88086 + AVR32_SYNTAX_DIVU,
88087 + AVR32_SYNTAX_EOR1,
88088 + AVR32_SYNTAX_EOR2,
88089 + AVR32_SYNTAX_EOR3,
88090 + AVR32_SYNTAX_EORL,
88091 + AVR32_SYNTAX_EORH,
88092 + AVR32_SYNTAX_FRS,
88093 + AVR32_SYNTAX_ICALL,
88094 + AVR32_SYNTAX_INCJOSP,
88095 + AVR32_SYNTAX_LD_D1,
88096 + AVR32_SYNTAX_LD_D2,
88097 + AVR32_SYNTAX_LD_D3,
88098 + AVR32_SYNTAX_LD_D5,
88099 + AVR32_SYNTAX_LD_D4,
88100 + AVR32_SYNTAX_LD_SB2,
88101 + AVR32_SYNTAX_LD_SB1,
88102 + AVR32_SYNTAX_LD_UB1,
88103 + AVR32_SYNTAX_LD_UB2,
88104 + AVR32_SYNTAX_LD_UB5,
88105 + AVR32_SYNTAX_LD_UB3,
88106 + AVR32_SYNTAX_LD_UB4,
88107 + AVR32_SYNTAX_LD_SH1,
88108 + AVR32_SYNTAX_LD_SH2,
88109 + AVR32_SYNTAX_LD_SH5,
88110 + AVR32_SYNTAX_LD_SH3,
88111 + AVR32_SYNTAX_LD_SH4,
88112 + AVR32_SYNTAX_LD_UH1,
88113 + AVR32_SYNTAX_LD_UH2,
88114 + AVR32_SYNTAX_LD_UH5,
88115 + AVR32_SYNTAX_LD_UH3,
88116 + AVR32_SYNTAX_LD_UH4,
88117 + AVR32_SYNTAX_LD_W1,
88118 + AVR32_SYNTAX_LD_W2,
88119 + AVR32_SYNTAX_LD_W5,
88120 + AVR32_SYNTAX_LD_W6,
88121 + AVR32_SYNTAX_LD_W3,
88122 + AVR32_SYNTAX_LD_W4,
88123 + AVR32_SYNTAX_LDC_D1,
88124 + AVR32_SYNTAX_LDC_D2,
88125 + AVR32_SYNTAX_LDC_D3,
88126 + AVR32_SYNTAX_LDC_W1,
88127 + AVR32_SYNTAX_LDC_W2,
88128 + AVR32_SYNTAX_LDC_W3,
88129 + AVR32_SYNTAX_LDC0_D,
88130 + AVR32_SYNTAX_LDC0_W,
88131 + AVR32_SYNTAX_LDCM_D,
88132 + AVR32_SYNTAX_LDCM_D_PU,
88133 + AVR32_SYNTAX_LDCM_W,
88134 + AVR32_SYNTAX_LDCM_W_PU,
88135 + AVR32_SYNTAX_LDDPC,
88136 + AVR32_SYNTAX_LDDPC_EXT,
88137 + AVR32_SYNTAX_LDDSP,
88138 + AVR32_SYNTAX_LDINS_B,
88139 + AVR32_SYNTAX_LDINS_H,
88140 + AVR32_SYNTAX_LDM,
88141 + AVR32_SYNTAX_LDMTS,
88142 + AVR32_SYNTAX_LDMTS_PU,
88143 + AVR32_SYNTAX_LDSWP_SH,
88144 + AVR32_SYNTAX_LDSWP_UH,
88145 + AVR32_SYNTAX_LDSWP_W,
88146 + AVR32_SYNTAX_LSL1,
88147 + AVR32_SYNTAX_LSL3,
88148 + AVR32_SYNTAX_LSL2,
88149 + AVR32_SYNTAX_LSR1,
88150 + AVR32_SYNTAX_LSR3,
88151 + AVR32_SYNTAX_LSR2,
88152 + AVR32_SYNTAX_MAC,
88153 + AVR32_SYNTAX_MACHH_D,
88154 + AVR32_SYNTAX_MACHH_W,
88155 + AVR32_SYNTAX_MACS_D,
88156 + AVR32_SYNTAX_MACSATHH_W,
88157 + AVR32_SYNTAX_MACUD,
88158 + AVR32_SYNTAX_MACWH_D,
88159 + AVR32_SYNTAX_MAX,
88160 + AVR32_SYNTAX_MCALL,
88161 + AVR32_SYNTAX_MFDR,
88162 + AVR32_SYNTAX_MFSR,
88163 + AVR32_SYNTAX_MIN,
88164 + AVR32_SYNTAX_MOV3,
88165 + AVR32_SYNTAX_MOV1,
88166 + AVR32_SYNTAX_MOV2,
88167 + AVR32_SYNTAX_MOVEQ1,
88168 + AVR32_SYNTAX_MOVNE1,
88169 + AVR32_SYNTAX_MOVCC1,
88170 + AVR32_SYNTAX_MOVCS1,
88171 + AVR32_SYNTAX_MOVGE1,
88172 + AVR32_SYNTAX_MOVLT1,
88173 + AVR32_SYNTAX_MOVMI1,
88174 + AVR32_SYNTAX_MOVPL1,
88175 + AVR32_SYNTAX_MOVLS1,
88176 + AVR32_SYNTAX_MOVGT1,
88177 + AVR32_SYNTAX_MOVLE1,
88178 + AVR32_SYNTAX_MOVHI1,
88179 + AVR32_SYNTAX_MOVVS1,
88180 + AVR32_SYNTAX_MOVVC1,
88181 + AVR32_SYNTAX_MOVQS1,
88182 + AVR32_SYNTAX_MOVAL1,
88183 + AVR32_SYNTAX_MOVHS1,
88184 + AVR32_SYNTAX_MOVLO1,
88185 + AVR32_SYNTAX_MOVEQ2,
88186 + AVR32_SYNTAX_MOVNE2,
88187 + AVR32_SYNTAX_MOVCC2,
88188 + AVR32_SYNTAX_MOVCS2,
88189 + AVR32_SYNTAX_MOVGE2,
88190 + AVR32_SYNTAX_MOVLT2,
88191 + AVR32_SYNTAX_MOVMI2,
88192 + AVR32_SYNTAX_MOVPL2,
88193 + AVR32_SYNTAX_MOVLS2,
88194 + AVR32_SYNTAX_MOVGT2,
88195 + AVR32_SYNTAX_MOVLE2,
88196 + AVR32_SYNTAX_MOVHI2,
88197 + AVR32_SYNTAX_MOVVS2,
88198 + AVR32_SYNTAX_MOVVC2,
88199 + AVR32_SYNTAX_MOVQS2,
88200 + AVR32_SYNTAX_MOVAL2,
88201 + AVR32_SYNTAX_MOVHS2,
88202 + AVR32_SYNTAX_MOVLO2,
88203 + AVR32_SYNTAX_MTDR,
88204 + AVR32_SYNTAX_MTSR,
88205 + AVR32_SYNTAX_MUL1,
88206 + AVR32_SYNTAX_MUL2,
88207 + AVR32_SYNTAX_MUL3,
88208 + AVR32_SYNTAX_MULHH_W,
88209 + AVR32_SYNTAX_MULNHH_W,
88210 + AVR32_SYNTAX_MULNWH_D,
88211 + AVR32_SYNTAX_MULSD,
88212 + AVR32_SYNTAX_MULSATHH_H,
88213 + AVR32_SYNTAX_MULSATHH_W,
88214 + AVR32_SYNTAX_MULSATRNDHH_H,
88215 + AVR32_SYNTAX_MULSATRNDWH_W,
88216 + AVR32_SYNTAX_MULSATWH_W,
88217 + AVR32_SYNTAX_MULU_D,
88218 + AVR32_SYNTAX_MULWH_D,
88219 + AVR32_SYNTAX_MUSFR,
88220 + AVR32_SYNTAX_MUSTR,
88221 + AVR32_SYNTAX_MVCR_D,
88222 + AVR32_SYNTAX_MVCR_W,
88223 + AVR32_SYNTAX_MVRC_D,
88224 + AVR32_SYNTAX_MVRC_W,
88225 + AVR32_SYNTAX_NEG,
88226 + AVR32_SYNTAX_NOP,
88227 + AVR32_SYNTAX_OR1,
88228 + AVR32_SYNTAX_OR2,
88229 + AVR32_SYNTAX_OR3,
88230 + AVR32_SYNTAX_ORH,
88231 + AVR32_SYNTAX_ORL,
88232 + AVR32_SYNTAX_PABS_SB,
88233 + AVR32_SYNTAX_PABS_SH,
88234 + AVR32_SYNTAX_PACKSH_SB,
88235 + AVR32_SYNTAX_PACKSH_UB,
88236 + AVR32_SYNTAX_PACKW_SH,
88237 + AVR32_SYNTAX_PADD_B,
88238 + AVR32_SYNTAX_PADD_H,
88239 + AVR32_SYNTAX_PADDH_SH,
88240 + AVR32_SYNTAX_PADDH_UB,
88241 + AVR32_SYNTAX_PADDS_SB,
88242 + AVR32_SYNTAX_PADDS_SH,
88243 + AVR32_SYNTAX_PADDS_UB,
88244 + AVR32_SYNTAX_PADDS_UH,
88245 + AVR32_SYNTAX_PADDSUB_H,
88246 + AVR32_SYNTAX_PADDSUBH_SH,
88247 + AVR32_SYNTAX_PADDSUBS_SH,
88248 + AVR32_SYNTAX_PADDSUBS_UH,
88249 + AVR32_SYNTAX_PADDX_H,
88250 + AVR32_SYNTAX_PADDXH_SH,
88251 + AVR32_SYNTAX_PADDXS_SH,
88252 + AVR32_SYNTAX_PADDXS_UH,
88253 + AVR32_SYNTAX_PASR_B,
88254 + AVR32_SYNTAX_PASR_H,
88255 + AVR32_SYNTAX_PAVG_SH,
88256 + AVR32_SYNTAX_PAVG_UB,
88257 + AVR32_SYNTAX_PLSL_B,
88258 + AVR32_SYNTAX_PLSL_H,
88259 + AVR32_SYNTAX_PLSR_B,
88260 + AVR32_SYNTAX_PLSR_H,
88261 + AVR32_SYNTAX_PMAX_SH,
88262 + AVR32_SYNTAX_PMAX_UB,
88263 + AVR32_SYNTAX_PMIN_SH,
88264 + AVR32_SYNTAX_PMIN_UB,
88265 + AVR32_SYNTAX_POPJC,
88266 + AVR32_SYNTAX_POPM,
88267 + AVR32_SYNTAX_POPM_E,
88268 + AVR32_SYNTAX_PREF,
88269 + AVR32_SYNTAX_PSAD,
88270 + AVR32_SYNTAX_PSUB_B,
88271 + AVR32_SYNTAX_PSUB_H,
88272 + AVR32_SYNTAX_PSUBADD_H,
88273 + AVR32_SYNTAX_PSUBADDH_SH,
88274 + AVR32_SYNTAX_PSUBADDS_SH,
88275 + AVR32_SYNTAX_PSUBADDS_UH,
88276 + AVR32_SYNTAX_PSUBH_SH,
88277 + AVR32_SYNTAX_PSUBH_UB,
88278 + AVR32_SYNTAX_PSUBS_SB,
88279 + AVR32_SYNTAX_PSUBS_SH,
88280 + AVR32_SYNTAX_PSUBS_UB,
88281 + AVR32_SYNTAX_PSUBS_UH,
88282 + AVR32_SYNTAX_PSUBX_H,
88283 + AVR32_SYNTAX_PSUBXH_SH,
88284 + AVR32_SYNTAX_PSUBXS_SH,
88285 + AVR32_SYNTAX_PSUBXS_UH,
88286 + AVR32_SYNTAX_PUNPCKSB_H,
88287 + AVR32_SYNTAX_PUNPCKUB_H,
88288 + AVR32_SYNTAX_PUSHJC,
88289 + AVR32_SYNTAX_PUSHM,
88290 + AVR32_SYNTAX_PUSHM_E,
88291 + AVR32_SYNTAX_RCALL1,
88292 + AVR32_SYNTAX_RCALL2,
88293 + AVR32_SYNTAX_RETEQ,
88294 + AVR32_SYNTAX_RETNE,
88295 + AVR32_SYNTAX_RETCC,
88296 + AVR32_SYNTAX_RETCS,
88297 + AVR32_SYNTAX_RETGE,
88298 + AVR32_SYNTAX_RETLT,
88299 + AVR32_SYNTAX_RETMI,
88300 + AVR32_SYNTAX_RETPL,
88301 + AVR32_SYNTAX_RETLS,
88302 + AVR32_SYNTAX_RETGT,
88303 + AVR32_SYNTAX_RETLE,
88304 + AVR32_SYNTAX_RETHI,
88305 + AVR32_SYNTAX_RETVS,
88306 + AVR32_SYNTAX_RETVC,
88307 + AVR32_SYNTAX_RETQS,
88308 + AVR32_SYNTAX_RETAL,
88309 + AVR32_SYNTAX_RETHS,
88310 + AVR32_SYNTAX_RETLO,
88311 + AVR32_SYNTAX_RETD,
88312 + AVR32_SYNTAX_RETE,
88313 + AVR32_SYNTAX_RETJ,
88314 + AVR32_SYNTAX_RETS,
88315 + AVR32_SYNTAX_RJMP,
88316 + AVR32_SYNTAX_ROL,
88317 + AVR32_SYNTAX_ROR,
88318 + AVR32_SYNTAX_RSUB1,
88319 + AVR32_SYNTAX_RSUB2,
88320 + AVR32_SYNTAX_SATADD_H,
88321 + AVR32_SYNTAX_SATADD_W,
88322 + AVR32_SYNTAX_SATRNDS,
88323 + AVR32_SYNTAX_SATRNDU,
88324 + AVR32_SYNTAX_SATS,
88325 + AVR32_SYNTAX_SATSUB_H,
88326 + AVR32_SYNTAX_SATSUB_W1,
88327 + AVR32_SYNTAX_SATSUB_W2,
88328 + AVR32_SYNTAX_SATU,
88329 + AVR32_SYNTAX_SBC,
88330 + AVR32_SYNTAX_SBR,
88331 + AVR32_SYNTAX_SCALL,
88332 + AVR32_SYNTAX_SCR,
88333 + AVR32_SYNTAX_SLEEP,
88334 + AVR32_SYNTAX_SREQ,
88335 + AVR32_SYNTAX_SRNE,
88336 + AVR32_SYNTAX_SRCC,
88337 + AVR32_SYNTAX_SRCS,
88338 + AVR32_SYNTAX_SRGE,
88339 + AVR32_SYNTAX_SRLT,
88340 + AVR32_SYNTAX_SRMI,
88341 + AVR32_SYNTAX_SRPL,
88342 + AVR32_SYNTAX_SRLS,
88343 + AVR32_SYNTAX_SRGT,
88344 + AVR32_SYNTAX_SRLE,
88345 + AVR32_SYNTAX_SRHI,
88346 + AVR32_SYNTAX_SRVS,
88347 + AVR32_SYNTAX_SRVC,
88348 + AVR32_SYNTAX_SRQS,
88349 + AVR32_SYNTAX_SRAL,
88350 + AVR32_SYNTAX_SRHS,
88351 + AVR32_SYNTAX_SRLO,
88352 + AVR32_SYNTAX_SSRF,
88353 + AVR32_SYNTAX_ST_B1,
88354 + AVR32_SYNTAX_ST_B2,
88355 + AVR32_SYNTAX_ST_B5,
88356 + AVR32_SYNTAX_ST_B3,
88357 + AVR32_SYNTAX_ST_B4,
88358 + AVR32_SYNTAX_ST_D1,
88359 + AVR32_SYNTAX_ST_D2,
88360 + AVR32_SYNTAX_ST_D3,
88361 + AVR32_SYNTAX_ST_D5,
88362 + AVR32_SYNTAX_ST_D4,
88363 + AVR32_SYNTAX_ST_H1,
88364 + AVR32_SYNTAX_ST_H2,
88365 + AVR32_SYNTAX_ST_H5,
88366 + AVR32_SYNTAX_ST_H3,
88367 + AVR32_SYNTAX_ST_H4,
88368 + AVR32_SYNTAX_ST_W1,
88369 + AVR32_SYNTAX_ST_W2,
88370 + AVR32_SYNTAX_ST_W5,
88371 + AVR32_SYNTAX_ST_W3,
88372 + AVR32_SYNTAX_ST_W4,
88373 + AVR32_SYNTAX_STC_D1,
88374 + AVR32_SYNTAX_STC_D2,
88375 + AVR32_SYNTAX_STC_D3,
88376 + AVR32_SYNTAX_STC_W1,
88377 + AVR32_SYNTAX_STC_W2,
88378 + AVR32_SYNTAX_STC_W3,
88379 + AVR32_SYNTAX_STC0_D,
88380 + AVR32_SYNTAX_STC0_W,
88381 + AVR32_SYNTAX_STCM_D,
88382 + AVR32_SYNTAX_STCM_D_PU,
88383 + AVR32_SYNTAX_STCM_W,
88384 + AVR32_SYNTAX_STCM_W_PU,
88385 + AVR32_SYNTAX_STCOND,
88386 + AVR32_SYNTAX_STDSP,
88387 + AVR32_SYNTAX_STHH_W2,
88388 + AVR32_SYNTAX_STHH_W1,
88389 + AVR32_SYNTAX_STM,
88390 + AVR32_SYNTAX_STM_PU,
88391 + AVR32_SYNTAX_STMTS,
88392 + AVR32_SYNTAX_STMTS_PU,
88393 + AVR32_SYNTAX_STSWP_H,
88394 + AVR32_SYNTAX_STSWP_W,
88395 + AVR32_SYNTAX_SUB1,
88396 + AVR32_SYNTAX_SUB2,
88397 + AVR32_SYNTAX_SUB5,
88398 + AVR32_SYNTAX_SUB3_SP,
88399 + AVR32_SYNTAX_SUB3,
88400 + AVR32_SYNTAX_SUB4,
88401 + AVR32_SYNTAX_SUBEQ,
88402 + AVR32_SYNTAX_SUBNE,
88403 + AVR32_SYNTAX_SUBCC,
88404 + AVR32_SYNTAX_SUBCS,
88405 + AVR32_SYNTAX_SUBGE,
88406 + AVR32_SYNTAX_SUBLT,
88407 + AVR32_SYNTAX_SUBMI,
88408 + AVR32_SYNTAX_SUBPL,
88409 + AVR32_SYNTAX_SUBLS,
88410 + AVR32_SYNTAX_SUBGT,
88411 + AVR32_SYNTAX_SUBLE,
88412 + AVR32_SYNTAX_SUBHI,
88413 + AVR32_SYNTAX_SUBVS,
88414 + AVR32_SYNTAX_SUBVC,
88415 + AVR32_SYNTAX_SUBQS,
88416 + AVR32_SYNTAX_SUBAL,
88417 + AVR32_SYNTAX_SUBHS,
88418 + AVR32_SYNTAX_SUBLO,
88419 + AVR32_SYNTAX_SUBFEQ,
88420 + AVR32_SYNTAX_SUBFNE,
88421 + AVR32_SYNTAX_SUBFCC,
88422 + AVR32_SYNTAX_SUBFCS,
88423 + AVR32_SYNTAX_SUBFGE,
88424 + AVR32_SYNTAX_SUBFLT,
88425 + AVR32_SYNTAX_SUBFMI,
88426 + AVR32_SYNTAX_SUBFPL,
88427 + AVR32_SYNTAX_SUBFLS,
88428 + AVR32_SYNTAX_SUBFGT,
88429 + AVR32_SYNTAX_SUBFLE,
88430 + AVR32_SYNTAX_SUBFHI,
88431 + AVR32_SYNTAX_SUBFVS,
88432 + AVR32_SYNTAX_SUBFVC,
88433 + AVR32_SYNTAX_SUBFQS,
88434 + AVR32_SYNTAX_SUBFAL,
88435 + AVR32_SYNTAX_SUBFHS,
88436 + AVR32_SYNTAX_SUBFLO,
88437 + AVR32_SYNTAX_SUBHH_W,
88438 + AVR32_SYNTAX_SWAP_B,
88439 + AVR32_SYNTAX_SWAP_BH,
88440 + AVR32_SYNTAX_SWAP_H,
88441 + AVR32_SYNTAX_SYNC,
88442 + AVR32_SYNTAX_TLBR,
88443 + AVR32_SYNTAX_TLBS,
88444 + AVR32_SYNTAX_TLBW,
88445 + AVR32_SYNTAX_TNBZ,
88446 + AVR32_SYNTAX_TST,
88447 + AVR32_SYNTAX_XCHG,
88448 + AVR32_SYNTAX_MEMC,
88449 + AVR32_SYNTAX_MEMS,
88450 + AVR32_SYNTAX_MEMT,
88451 + AVR32_SYNTAX_FADD_S,
88452 + AVR32_SYNTAX_FADD_D,
88453 + AVR32_SYNTAX_FSUB_S,
88454 + AVR32_SYNTAX_FSUB_D,
88455 + AVR32_SYNTAX_FMAC_S,
88456 + AVR32_SYNTAX_FMAC_D,
88457 + AVR32_SYNTAX_FNMAC_S,
88458 + AVR32_SYNTAX_FNMAC_D,
88459 + AVR32_SYNTAX_FMSC_S,
88460 + AVR32_SYNTAX_FMSC_D,
88461 + AVR32_SYNTAX_FNMSC_S,
88462 + AVR32_SYNTAX_FNMSC_D,
88463 + AVR32_SYNTAX_FMUL_S,
88464 + AVR32_SYNTAX_FMUL_D,
88465 + AVR32_SYNTAX_FNMUL_S,
88466 + AVR32_SYNTAX_FNMUL_D,
88467 + AVR32_SYNTAX_FNEG_S,
88468 + AVR32_SYNTAX_FNEG_D,
88469 + AVR32_SYNTAX_FABS_S,
88470 + AVR32_SYNTAX_FABS_D,
88471 + AVR32_SYNTAX_FCMP_S,
88472 + AVR32_SYNTAX_FCMP_D,
88473 + AVR32_SYNTAX_FMOV1_S,
88474 + AVR32_SYNTAX_FMOV1_D,
88475 + AVR32_SYNTAX_FMOV2_S,
88476 + AVR32_SYNTAX_FMOV2_D,
88477 + AVR32_SYNTAX_FMOV3_S,
88478 + AVR32_SYNTAX_FMOV3_D,
88479 + AVR32_SYNTAX_FCASTS_D,
88480 + AVR32_SYNTAX_FCASTD_S,
88481 + AVR32_SYNTAX_LDA_W,
88482 + AVR32_SYNTAX_CALL,
88483 + AVR32_SYNTAX_PICOSVMAC0,
88484 + AVR32_SYNTAX_PICOSVMAC1,
88485 + AVR32_SYNTAX_PICOSVMAC2,
88486 + AVR32_SYNTAX_PICOSVMAC3,
88487 + AVR32_SYNTAX_PICOSVMUL0,
88488 + AVR32_SYNTAX_PICOSVMUL1,
88489 + AVR32_SYNTAX_PICOSVMUL2,
88490 + AVR32_SYNTAX_PICOSVMUL3,
88491 + AVR32_SYNTAX_PICOVMAC0,
88492 + AVR32_SYNTAX_PICOVMAC1,
88493 + AVR32_SYNTAX_PICOVMAC2,
88494 + AVR32_SYNTAX_PICOVMAC3,
88495 + AVR32_SYNTAX_PICOVMUL0,
88496 + AVR32_SYNTAX_PICOVMUL1,
88497 + AVR32_SYNTAX_PICOVMUL2,
88498 + AVR32_SYNTAX_PICOVMUL3,
88499 + AVR32_SYNTAX_PICOLD_D2,
88500 + AVR32_SYNTAX_PICOLD_D3,
88501 + AVR32_SYNTAX_PICOLD_D1,
88502 + AVR32_SYNTAX_PICOLD_W2,
88503 + AVR32_SYNTAX_PICOLD_W3,
88504 + AVR32_SYNTAX_PICOLD_W1,
88505 + AVR32_SYNTAX_PICOLDM_D,
88506 + AVR32_SYNTAX_PICOLDM_D_PU,
88507 + AVR32_SYNTAX_PICOLDM_W,
88508 + AVR32_SYNTAX_PICOLDM_W_PU,
88509 + AVR32_SYNTAX_PICOMV_D1,
88510 + AVR32_SYNTAX_PICOMV_D2,
88511 + AVR32_SYNTAX_PICOMV_W1,
88512 + AVR32_SYNTAX_PICOMV_W2,
88513 + AVR32_SYNTAX_PICOST_D2,
88514 + AVR32_SYNTAX_PICOST_D3,
88515 + AVR32_SYNTAX_PICOST_D1,
88516 + AVR32_SYNTAX_PICOST_W2,
88517 + AVR32_SYNTAX_PICOST_W3,
88518 + AVR32_SYNTAX_PICOST_W1,
88519 + AVR32_SYNTAX_PICOSTM_D,
88520 + AVR32_SYNTAX_PICOSTM_D_PU,
88521 + AVR32_SYNTAX_PICOSTM_W,
88522 + AVR32_SYNTAX_PICOSTM_W_PU,
88523 + AVR32_SYNTAX__END_
88524 +};
88525 +#define AVR32_NR_SYNTAX AVR32_SYNTAX__END_
88526 +
88527 +enum avr32_alias_type
88528 + {
88529 + AVR32_ALIAS_FMAC_S,
88530 + AVR32_ALIAS_FMAC_D,
88531 + AVR32_ALIAS_FNMAC_S,
88532 + AVR32_ALIAS_FNMAC_D,
88533 + AVR32_ALIAS_FMSC_S,
88534 + AVR32_ALIAS_FMSC_D,
88535 + AVR32_ALIAS_FNMSC_S,
88536 + AVR32_ALIAS_FNMSC_D,
88537 + AVR32_ALIAS_FADD_S,
88538 + AVR32_ALIAS_FADD_D,
88539 + AVR32_ALIAS_FSUB_S,
88540 + AVR32_ALIAS_FSUB_D,
88541 + AVR32_ALIAS_FMUL_S,
88542 + AVR32_ALIAS_FMUL_D,
88543 + AVR32_ALIAS_FNMUL_S,
88544 + AVR32_ALIAS_FNMUL_D,
88545 + AVR32_ALIAS_FNEG_S,
88546 + AVR32_ALIAS_FNEG_D,
88547 + AVR32_ALIAS_FABS_S,
88548 + AVR32_ALIAS_FABS_D,
88549 + AVR32_ALIAS_FCMP_S,
88550 + AVR32_ALIAS_FCMP_D,
88551 + AVR32_ALIAS_FMOV1_S,
88552 + AVR32_ALIAS_FMOV1_D,
88553 + AVR32_ALIAS_FMOV2_S,
88554 + AVR32_ALIAS_FMOV2_D,
88555 + AVR32_ALIAS_FMOV3_S,
88556 + AVR32_ALIAS_FMOV3_D,
88557 + AVR32_ALIAS_FCASTS_D,
88558 + AVR32_ALIAS_FCASTD_S,
88559 + AVR32_ALIAS_PICOSVMAC0,
88560 + AVR32_ALIAS_PICOSVMAC1,
88561 + AVR32_ALIAS_PICOSVMAC2,
88562 + AVR32_ALIAS_PICOSVMAC3,
88563 + AVR32_ALIAS_PICOSVMUL0,
88564 + AVR32_ALIAS_PICOSVMUL1,
88565 + AVR32_ALIAS_PICOSVMUL2,
88566 + AVR32_ALIAS_PICOSVMUL3,
88567 + AVR32_ALIAS_PICOVMAC0,
88568 + AVR32_ALIAS_PICOVMAC1,
88569 + AVR32_ALIAS_PICOVMAC2,
88570 + AVR32_ALIAS_PICOVMAC3,
88571 + AVR32_ALIAS_PICOVMUL0,
88572 + AVR32_ALIAS_PICOVMUL1,
88573 + AVR32_ALIAS_PICOVMUL2,
88574 + AVR32_ALIAS_PICOVMUL3,
88575 + AVR32_ALIAS_PICOLD_D1,
88576 + AVR32_ALIAS_PICOLD_D2,
88577 + AVR32_ALIAS_PICOLD_D3,
88578 + AVR32_ALIAS_PICOLD_W1,
88579 + AVR32_ALIAS_PICOLD_W2,
88580 + AVR32_ALIAS_PICOLD_W3,
88581 + AVR32_ALIAS_PICOLDM_D,
88582 + AVR32_ALIAS_PICOLDM_D_PU,
88583 + AVR32_ALIAS_PICOLDM_W,
88584 + AVR32_ALIAS_PICOLDM_W_PU,
88585 + AVR32_ALIAS_PICOMV_D1,
88586 + AVR32_ALIAS_PICOMV_D2,
88587 + AVR32_ALIAS_PICOMV_W1,
88588 + AVR32_ALIAS_PICOMV_W2,
88589 + AVR32_ALIAS_PICOST_D1,
88590 + AVR32_ALIAS_PICOST_D2,
88591 + AVR32_ALIAS_PICOST_D3,
88592 + AVR32_ALIAS_PICOST_W1,
88593 + AVR32_ALIAS_PICOST_W2,
88594 + AVR32_ALIAS_PICOST_W3,
88595 + AVR32_ALIAS_PICOSTM_D,
88596 + AVR32_ALIAS_PICOSTM_D_PU,
88597 + AVR32_ALIAS_PICOSTM_W,
88598 + AVR32_ALIAS_PICOSTM_W_PU,
88599 + AVR32_ALIAS__END_
88600 + };
88601 +#define AVR32_NR_ALIAS AVR32_ALIAS__END_
88602 +
88603 +enum avr32_mnemonic_type
88604 +{
88605 + AVR32_MNEMONIC_ABS,
88606 + AVR32_MNEMONIC_ACALL,
88607 + AVR32_MNEMONIC_ACR,
88608 + AVR32_MNEMONIC_ADC,
88609 + AVR32_MNEMONIC_ADD,
88610 + AVR32_MNEMONIC_ADDABS,
88611 + AVR32_MNEMONIC_ADDHH_W,
88612 + AVR32_MNEMONIC_AND,
88613 + AVR32_MNEMONIC_ANDH,
88614 + AVR32_MNEMONIC_ANDL,
88615 + AVR32_MNEMONIC_ANDN,
88616 + AVR32_MNEMONIC_ASR,
88617 + AVR32_MNEMONIC_BFEXTS,
88618 + AVR32_MNEMONIC_BFEXTU,
88619 + AVR32_MNEMONIC_BFINS,
88620 + AVR32_MNEMONIC_BLD,
88621 + AVR32_MNEMONIC_BREQ,
88622 + AVR32_MNEMONIC_BRNE,
88623 + AVR32_MNEMONIC_BRCC,
88624 + AVR32_MNEMONIC_BRCS,
88625 + AVR32_MNEMONIC_BRGE,
88626 + AVR32_MNEMONIC_BRLT,
88627 + AVR32_MNEMONIC_BRMI,
88628 + AVR32_MNEMONIC_BRPL,
88629 + AVR32_MNEMONIC_BRHS,
88630 + AVR32_MNEMONIC_BRLO,
88631 + AVR32_MNEMONIC_BRLS,
88632 + AVR32_MNEMONIC_BRGT,
88633 + AVR32_MNEMONIC_BRLE,
88634 + AVR32_MNEMONIC_BRHI,
88635 + AVR32_MNEMONIC_BRVS,
88636 + AVR32_MNEMONIC_BRVC,
88637 + AVR32_MNEMONIC_BRQS,
88638 + AVR32_MNEMONIC_BRAL,
88639 + AVR32_MNEMONIC_BREAKPOINT,
88640 + AVR32_MNEMONIC_BREV,
88641 + AVR32_MNEMONIC_BST,
88642 + AVR32_MNEMONIC_CACHE,
88643 + AVR32_MNEMONIC_CASTS_B,
88644 + AVR32_MNEMONIC_CASTS_H,
88645 + AVR32_MNEMONIC_CASTU_B,
88646 + AVR32_MNEMONIC_CASTU_H,
88647 + AVR32_MNEMONIC_CBR,
88648 + AVR32_MNEMONIC_CLZ,
88649 + AVR32_MNEMONIC_COM,
88650 + AVR32_MNEMONIC_COP,
88651 + AVR32_MNEMONIC_CP_B,
88652 + AVR32_MNEMONIC_CP_H,
88653 + AVR32_MNEMONIC_CP_W,
88654 + AVR32_MNEMONIC_CP,
88655 + AVR32_MNEMONIC_CPC,
88656 + AVR32_MNEMONIC_CSRF,
88657 + AVR32_MNEMONIC_CSRFCZ,
88658 + AVR32_MNEMONIC_DIVS,
88659 + AVR32_MNEMONIC_DIVU,
88660 + AVR32_MNEMONIC_EOR,
88661 + AVR32_MNEMONIC_EORL,
88662 + AVR32_MNEMONIC_EORH,
88663 + AVR32_MNEMONIC_FRS,
88664 + AVR32_MNEMONIC_ICALL,
88665 + AVR32_MNEMONIC_INCJOSP,
88666 + AVR32_MNEMONIC_LD_D,
88667 + AVR32_MNEMONIC_LD_SB,
88668 + AVR32_MNEMONIC_LD_UB,
88669 + AVR32_MNEMONIC_LD_SH,
88670 + AVR32_MNEMONIC_LD_UH,
88671 + AVR32_MNEMONIC_LD_W,
88672 + AVR32_MNEMONIC_LDC_D,
88673 + AVR32_MNEMONIC_LDC_W,
88674 + AVR32_MNEMONIC_LDC0_D,
88675 + AVR32_MNEMONIC_LDC0_W,
88676 + AVR32_MNEMONIC_LDCM_D,
88677 + AVR32_MNEMONIC_LDCM_W,
88678 + AVR32_MNEMONIC_LDDPC,
88679 + AVR32_MNEMONIC_LDDSP,
88680 + AVR32_MNEMONIC_LDINS_B,
88681 + AVR32_MNEMONIC_LDINS_H,
88682 + AVR32_MNEMONIC_LDM,
88683 + AVR32_MNEMONIC_LDMTS,
88684 + AVR32_MNEMONIC_LDSWP_SH,
88685 + AVR32_MNEMONIC_LDSWP_UH,
88686 + AVR32_MNEMONIC_LDSWP_W,
88687 + AVR32_MNEMONIC_LSL,
88688 + AVR32_MNEMONIC_LSR,
88689 + AVR32_MNEMONIC_MAC,
88690 + AVR32_MNEMONIC_MACHH_D,
88691 + AVR32_MNEMONIC_MACHH_W,
88692 + AVR32_MNEMONIC_MACS_D,
88693 + AVR32_MNEMONIC_MACSATHH_W,
88694 + AVR32_MNEMONIC_MACU_D,
88695 + AVR32_MNEMONIC_MACWH_D,
88696 + AVR32_MNEMONIC_MAX,
88697 + AVR32_MNEMONIC_MCALL,
88698 + AVR32_MNEMONIC_MFDR,
88699 + AVR32_MNEMONIC_MFSR,
88700 + AVR32_MNEMONIC_MIN,
88701 + AVR32_MNEMONIC_MOV,
88702 + AVR32_MNEMONIC_MOVEQ,
88703 + AVR32_MNEMONIC_MOVNE,
88704 + AVR32_MNEMONIC_MOVCC,
88705 + AVR32_MNEMONIC_MOVCS,
88706 + AVR32_MNEMONIC_MOVGE,
88707 + AVR32_MNEMONIC_MOVLT,
88708 + AVR32_MNEMONIC_MOVMI,
88709 + AVR32_MNEMONIC_MOVPL,
88710 + AVR32_MNEMONIC_MOVLS,
88711 + AVR32_MNEMONIC_MOVGT,
88712 + AVR32_MNEMONIC_MOVLE,
88713 + AVR32_MNEMONIC_MOVHI,
88714 + AVR32_MNEMONIC_MOVVS,
88715 + AVR32_MNEMONIC_MOVVC,
88716 + AVR32_MNEMONIC_MOVQS,
88717 + AVR32_MNEMONIC_MOVAL,
88718 + AVR32_MNEMONIC_MOVHS,
88719 + AVR32_MNEMONIC_MOVLO,
88720 + AVR32_MNEMONIC_MTDR,
88721 + AVR32_MNEMONIC_MTSR,
88722 + AVR32_MNEMONIC_MUL,
88723 + AVR32_MNEMONIC_MULHH_W,
88724 + AVR32_MNEMONIC_MULNHH_W,
88725 + AVR32_MNEMONIC_MULNWH_D,
88726 + AVR32_MNEMONIC_MULS_D,
88727 + AVR32_MNEMONIC_MULSATHH_H,
88728 + AVR32_MNEMONIC_MULSATHH_W,
88729 + AVR32_MNEMONIC_MULSATRNDHH_H,
88730 + AVR32_MNEMONIC_MULSATRNDWH_W,
88731 + AVR32_MNEMONIC_MULSATWH_W,
88732 + AVR32_MNEMONIC_MULU_D,
88733 + AVR32_MNEMONIC_MULWH_D,
88734 + AVR32_MNEMONIC_MUSFR,
88735 + AVR32_MNEMONIC_MUSTR,
88736 + AVR32_MNEMONIC_MVCR_D,
88737 + AVR32_MNEMONIC_MVCR_W,
88738 + AVR32_MNEMONIC_MVRC_D,
88739 + AVR32_MNEMONIC_MVRC_W,
88740 + AVR32_MNEMONIC_NEG,
88741 + AVR32_MNEMONIC_NOP,
88742 + AVR32_MNEMONIC_OR,
88743 + AVR32_MNEMONIC_ORH,
88744 + AVR32_MNEMONIC_ORL,
88745 + AVR32_MNEMONIC_PABS_SB,
88746 + AVR32_MNEMONIC_PABS_SH,
88747 + AVR32_MNEMONIC_PACKSH_SB,
88748 + AVR32_MNEMONIC_PACKSH_UB,
88749 + AVR32_MNEMONIC_PACKW_SH,
88750 + AVR32_MNEMONIC_PADD_B,
88751 + AVR32_MNEMONIC_PADD_H,
88752 + AVR32_MNEMONIC_PADDH_SH,
88753 + AVR32_MNEMONIC_PADDH_UB,
88754 + AVR32_MNEMONIC_PADDS_SB,
88755 + AVR32_MNEMONIC_PADDS_SH,
88756 + AVR32_MNEMONIC_PADDS_UB,
88757 + AVR32_MNEMONIC_PADDS_UH,
88758 + AVR32_MNEMONIC_PADDSUB_H,
88759 + AVR32_MNEMONIC_PADDSUBH_SH,
88760 + AVR32_MNEMONIC_PADDSUBS_SH,
88761 + AVR32_MNEMONIC_PADDSUBS_UH,
88762 + AVR32_MNEMONIC_PADDX_H,
88763 + AVR32_MNEMONIC_PADDXH_SH,
88764 + AVR32_MNEMONIC_PADDXS_SH,
88765 + AVR32_MNEMONIC_PADDXS_UH,
88766 + AVR32_MNEMONIC_PASR_B,
88767 + AVR32_MNEMONIC_PASR_H,
88768 + AVR32_MNEMONIC_PAVG_SH,
88769 + AVR32_MNEMONIC_PAVG_UB,
88770 + AVR32_MNEMONIC_PLSL_B,
88771 + AVR32_MNEMONIC_PLSL_H,
88772 + AVR32_MNEMONIC_PLSR_B,
88773 + AVR32_MNEMONIC_PLSR_H,
88774 + AVR32_MNEMONIC_PMAX_SH,
88775 + AVR32_MNEMONIC_PMAX_UB,
88776 + AVR32_MNEMONIC_PMIN_SH,
88777 + AVR32_MNEMONIC_PMIN_UB,
88778 + AVR32_MNEMONIC_POPJC,
88779 + AVR32_MNEMONIC_POPM,
88780 + AVR32_MNEMONIC_PREF,
88781 + AVR32_MNEMONIC_PSAD,
88782 + AVR32_MNEMONIC_PSUB_B,
88783 + AVR32_MNEMONIC_PSUB_H,
88784 + AVR32_MNEMONIC_PSUBADD_H,
88785 + AVR32_MNEMONIC_PSUBADDH_SH,
88786 + AVR32_MNEMONIC_PSUBADDS_SH,
88787 + AVR32_MNEMONIC_PSUBADDS_UH,
88788 + AVR32_MNEMONIC_PSUBH_SH,
88789 + AVR32_MNEMONIC_PSUBH_UB,
88790 + AVR32_MNEMONIC_PSUBS_SB,
88791 + AVR32_MNEMONIC_PSUBS_SH,
88792 + AVR32_MNEMONIC_PSUBS_UB,
88793 + AVR32_MNEMONIC_PSUBS_UH,
88794 + AVR32_MNEMONIC_PSUBX_H,
88795 + AVR32_MNEMONIC_PSUBXH_SH,
88796 + AVR32_MNEMONIC_PSUBXS_SH,
88797 + AVR32_MNEMONIC_PSUBXS_UH,
88798 + AVR32_MNEMONIC_PUNPCKSB_H,
88799 + AVR32_MNEMONIC_PUNPCKUB_H,
88800 + AVR32_MNEMONIC_PUSHJC,
88801 + AVR32_MNEMONIC_PUSHM,
88802 + AVR32_MNEMONIC_RCALL,
88803 + AVR32_MNEMONIC_RETEQ,
88804 + AVR32_MNEMONIC_RETNE,
88805 + AVR32_MNEMONIC_RETCC,
88806 + AVR32_MNEMONIC_RETCS,
88807 + AVR32_MNEMONIC_RETGE,
88808 + AVR32_MNEMONIC_RETLT,
88809 + AVR32_MNEMONIC_RETMI,
88810 + AVR32_MNEMONIC_RETPL,
88811 + AVR32_MNEMONIC_RETLS,
88812 + AVR32_MNEMONIC_RETGT,
88813 + AVR32_MNEMONIC_RETLE,
88814 + AVR32_MNEMONIC_RETHI,
88815 + AVR32_MNEMONIC_RETVS,
88816 + AVR32_MNEMONIC_RETVC,
88817 + AVR32_MNEMONIC_RETQS,
88818 + AVR32_MNEMONIC_RETAL,
88819 + AVR32_MNEMONIC_RETHS,
88820 + AVR32_MNEMONIC_RETLO,
88821 + AVR32_MNEMONIC_RET,
88822 + AVR32_MNEMONIC_RETD,
88823 + AVR32_MNEMONIC_RETE,
88824 + AVR32_MNEMONIC_RETJ,
88825 + AVR32_MNEMONIC_RETS,
88826 + AVR32_MNEMONIC_RJMP,
88827 + AVR32_MNEMONIC_ROL,
88828 + AVR32_MNEMONIC_ROR,
88829 + AVR32_MNEMONIC_RSUB,
88830 + AVR32_MNEMONIC_SATADD_H,
88831 + AVR32_MNEMONIC_SATADD_W,
88832 + AVR32_MNEMONIC_SATRNDS,
88833 + AVR32_MNEMONIC_SATRNDU,
88834 + AVR32_MNEMONIC_SATS,
88835 + AVR32_MNEMONIC_SATSUB_H,
88836 + AVR32_MNEMONIC_SATSUB_W,
88837 + AVR32_MNEMONIC_SATU,
88838 + AVR32_MNEMONIC_SBC,
88839 + AVR32_MNEMONIC_SBR,
88840 + AVR32_MNEMONIC_SCALL,
88841 + AVR32_MNEMONIC_SCR,
88842 + AVR32_MNEMONIC_SLEEP,
88843 + AVR32_MNEMONIC_SREQ,
88844 + AVR32_MNEMONIC_SRNE,
88845 + AVR32_MNEMONIC_SRCC,
88846 + AVR32_MNEMONIC_SRCS,
88847 + AVR32_MNEMONIC_SRGE,
88848 + AVR32_MNEMONIC_SRLT,
88849 + AVR32_MNEMONIC_SRMI,
88850 + AVR32_MNEMONIC_SRPL,
88851 + AVR32_MNEMONIC_SRLS,
88852 + AVR32_MNEMONIC_SRGT,
88853 + AVR32_MNEMONIC_SRLE,
88854 + AVR32_MNEMONIC_SRHI,
88855 + AVR32_MNEMONIC_SRVS,
88856 + AVR32_MNEMONIC_SRVC,
88857 + AVR32_MNEMONIC_SRQS,
88858 + AVR32_MNEMONIC_SRAL,
88859 + AVR32_MNEMONIC_SRHS,
88860 + AVR32_MNEMONIC_SRLO,
88861 + AVR32_MNEMONIC_SSRF,
88862 + AVR32_MNEMONIC_ST_B,
88863 + AVR32_MNEMONIC_ST_D,
88864 + AVR32_MNEMONIC_ST_H,
88865 + AVR32_MNEMONIC_ST_W,
88866 + AVR32_MNEMONIC_STC_D,
88867 + AVR32_MNEMONIC_STC_W,
88868 + AVR32_MNEMONIC_STC0_D,
88869 + AVR32_MNEMONIC_STC0_W,
88870 + AVR32_MNEMONIC_STCM_D,
88871 + AVR32_MNEMONIC_STCM_W,
88872 + AVR32_MNEMONIC_STCOND,
88873 + AVR32_MNEMONIC_STDSP,
88874 + AVR32_MNEMONIC_STHH_W,
88875 + AVR32_MNEMONIC_STM,
88876 + AVR32_MNEMONIC_STMTS,
88877 + AVR32_MNEMONIC_STSWP_H,
88878 + AVR32_MNEMONIC_STSWP_W,
88879 + AVR32_MNEMONIC_SUB,
88880 + AVR32_MNEMONIC_SUBEQ,
88881 + AVR32_MNEMONIC_SUBNE,
88882 + AVR32_MNEMONIC_SUBCC,
88883 + AVR32_MNEMONIC_SUBCS,
88884 + AVR32_MNEMONIC_SUBGE,
88885 + AVR32_MNEMONIC_SUBLT,
88886 + AVR32_MNEMONIC_SUBMI,
88887 + AVR32_MNEMONIC_SUBPL,
88888 + AVR32_MNEMONIC_SUBLS,
88889 + AVR32_MNEMONIC_SUBGT,
88890 + AVR32_MNEMONIC_SUBLE,
88891 + AVR32_MNEMONIC_SUBHI,
88892 + AVR32_MNEMONIC_SUBVS,
88893 + AVR32_MNEMONIC_SUBVC,
88894 + AVR32_MNEMONIC_SUBQS,
88895 + AVR32_MNEMONIC_SUBAL,
88896 + AVR32_MNEMONIC_SUBHS,
88897 + AVR32_MNEMONIC_SUBLO,
88898 + AVR32_MNEMONIC_SUBFEQ,
88899 + AVR32_MNEMONIC_SUBFNE,
88900 + AVR32_MNEMONIC_SUBFCC,
88901 + AVR32_MNEMONIC_SUBFCS,
88902 + AVR32_MNEMONIC_SUBFGE,
88903 + AVR32_MNEMONIC_SUBFLT,
88904 + AVR32_MNEMONIC_SUBFMI,
88905 + AVR32_MNEMONIC_SUBFPL,
88906 + AVR32_MNEMONIC_SUBFLS,
88907 + AVR32_MNEMONIC_SUBFGT,
88908 + AVR32_MNEMONIC_SUBFLE,
88909 + AVR32_MNEMONIC_SUBFHI,
88910 + AVR32_MNEMONIC_SUBFVS,
88911 + AVR32_MNEMONIC_SUBFVC,
88912 + AVR32_MNEMONIC_SUBFQS,
88913 + AVR32_MNEMONIC_SUBFAL,
88914 + AVR32_MNEMONIC_SUBFHS,
88915 + AVR32_MNEMONIC_SUBFLO,
88916 + AVR32_MNEMONIC_SUBHH_W,
88917 + AVR32_MNEMONIC_SWAP_B,
88918 + AVR32_MNEMONIC_SWAP_BH,
88919 + AVR32_MNEMONIC_SWAP_H,
88920 + AVR32_MNEMONIC_SYNC,
88921 + AVR32_MNEMONIC_TLBR,
88922 + AVR32_MNEMONIC_TLBS,
88923 + AVR32_MNEMONIC_TLBW,
88924 + AVR32_MNEMONIC_TNBZ,
88925 + AVR32_MNEMONIC_TST,
88926 + AVR32_MNEMONIC_XCHG,
88927 + AVR32_MNEMONIC_MEMC,
88928 + AVR32_MNEMONIC_MEMS,
88929 + AVR32_MNEMONIC_MEMT,
88930 + AVR32_MNEMONIC_FADD_S,
88931 + AVR32_MNEMONIC_FADD_D,
88932 + AVR32_MNEMONIC_FSUB_S,
88933 + AVR32_MNEMONIC_FSUB_D,
88934 + AVR32_MNEMONIC_FMAC_S,
88935 + AVR32_MNEMONIC_FMAC_D,
88936 + AVR32_MNEMONIC_FNMAC_S,
88937 + AVR32_MNEMONIC_FNMAC_D,
88938 + AVR32_MNEMONIC_FMSC_S,
88939 + AVR32_MNEMONIC_FMSC_D,
88940 + AVR32_MNEMONIC_FNMSC_S,
88941 + AVR32_MNEMONIC_FNMSC_D,
88942 + AVR32_MNEMONIC_FMUL_S,
88943 + AVR32_MNEMONIC_FMUL_D,
88944 + AVR32_MNEMONIC_FNMUL_S,
88945 + AVR32_MNEMONIC_FNMUL_D,
88946 + AVR32_MNEMONIC_FNEG_S,
88947 + AVR32_MNEMONIC_FNEG_D,
88948 + AVR32_MNEMONIC_FABS_S,
88949 + AVR32_MNEMONIC_FABS_D,
88950 + AVR32_MNEMONIC_FCMP_S,
88951 + AVR32_MNEMONIC_FCMP_D,
88952 + AVR32_MNEMONIC_FMOV_S,
88953 + AVR32_MNEMONIC_FMOV_D,
88954 + AVR32_MNEMONIC_FCASTS_D,
88955 + AVR32_MNEMONIC_FCASTD_S,
88956 + /* AVR32_MNEMONIC_FLD_S,
88957 + AVR32_MNEMONIC_FLD_D,
88958 + AVR32_MNEMONIC_FST_S,
88959 + AVR32_MNEMONIC_FST_D, */
88960 + AVR32_MNEMONIC_LDA_W,
88961 + AVR32_MNEMONIC_CALL,
88962 + AVR32_MNEMONIC_PICOSVMAC,
88963 + AVR32_MNEMONIC_PICOSVMUL,
88964 + AVR32_MNEMONIC_PICOVMAC,
88965 + AVR32_MNEMONIC_PICOVMUL,
88966 + AVR32_MNEMONIC_PICOLD_D,
88967 + AVR32_MNEMONIC_PICOLD_W,
88968 + AVR32_MNEMONIC_PICOLDM_D,
88969 + AVR32_MNEMONIC_PICOLDM_W,
88970 + AVR32_MNEMONIC_PICOMV_D,
88971 + AVR32_MNEMONIC_PICOMV_W,
88972 + AVR32_MNEMONIC_PICOST_D,
88973 + AVR32_MNEMONIC_PICOST_W,
88974 + AVR32_MNEMONIC_PICOSTM_D,
88975 + AVR32_MNEMONIC_PICOSTM_W,
88976 + AVR32_MNEMONIC__END_
88977 +};
88978 +#define AVR32_NR_MNEMONICS AVR32_MNEMONIC__END_
88979 +
88980 +enum avr32_syntax_parser
88981 + {
88982 + AVR32_PARSER_NORMAL,
88983 + AVR32_PARSER_ALIAS,
88984 + AVR32_PARSER_LDA,
88985 + AVR32_PARSER_CALL,
88986 + AVR32_PARSER__END_
88987 + };
88988 +#define AVR32_NR_PARSERS AVR32_PARSER__END_
88989 diff -Nrup binutils-2.17/opcodes/config.in binutils-2.17-atmel/opcodes/config.in
88990 --- binutils-2.17/opcodes/config.in 2005-03-31 18:52:53.000000000 +0200
88991 +++ binutils-2.17-atmel/opcodes/config.in 2007-02-20 16:07:47.000000000 +0100
88992 @@ -138,7 +138,7 @@
88993
88994 /* If using the C implementation of alloca, define if you know the
88995 direction of stack growth for your system; otherwise it will be
88996 - automatically deduced at run-time.
88997 + automatically deduced at runtime.
88998 STACK_DIRECTION > 0 => grows toward higher addresses
88999 STACK_DIRECTION < 0 => grows toward lower addresses
89000 STACK_DIRECTION = 0 => direction of growth unknown */
89001 @@ -159,8 +159,8 @@
89002 #undef inline
89003 #endif
89004
89005 -/* Define to `long' if <sys/types.h> does not define. */
89006 +/* Define to `long int' if <sys/types.h> does not define. */
89007 #undef off_t
89008
89009 -/* Define to `unsigned' if <sys/types.h> does not define. */
89010 +/* Define to `unsigned int' if <sys/types.h> does not define. */
89011 #undef size_t
89012 diff -Nrup binutils-2.17/opcodes/configure binutils-2.17-atmel/opcodes/configure
89013 --- binutils-2.17/opcodes/configure 2006-02-17 15:36:28.000000000 +0100
89014 +++ binutils-2.17-atmel/opcodes/configure 2007-02-20 16:07:46.000000000 +0100
89015 @@ -1,25 +1,54 @@
89016 #! /bin/sh
89017 # Guess values for system-dependent variables and create Makefiles.
89018 -# Generated by GNU Autoconf 2.59.
89019 +# Generated by GNU Autoconf 2.61.
89020 #
89021 -# Copyright (C) 2003 Free Software Foundation, Inc.
89022 +# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
89023 +# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
89024 # This configure script is free software; the Free Software Foundation
89025 # gives unlimited permission to copy, distribute and modify it.
89026 ## --------------------- ##
89027 ## M4sh Initialization. ##
89028 ## --------------------- ##
89029
89030 -# Be Bourne compatible
89031 +# Be more Bourne compatible
89032 +DUALCASE=1; export DUALCASE # for MKS sh
89033 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
89034 emulate sh
89035 NULLCMD=:
89036 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
89037 # is contrary to our usage. Disable this feature.
89038 alias -g '${1+"$@"}'='"$@"'
89039 -elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
89040 - set -o posix
89041 + setopt NO_GLOB_SUBST
89042 +else
89043 + case `(set -o) 2>/dev/null` in
89044 + *posix*) set -o posix ;;
89045 +esac
89046 +
89047 +fi
89048 +
89049 +
89050 +
89051 +
89052 +# PATH needs CR
89053 +# Avoid depending upon Character Ranges.
89054 +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
89055 +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
89056 +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
89057 +as_cr_digits='0123456789'
89058 +as_cr_alnum=$as_cr_Letters$as_cr_digits
89059 +
89060 +# The user is always right.
89061 +if test "${PATH_SEPARATOR+set}" != set; then
89062 + echo "#! /bin/sh" >conf$$.sh
89063 + echo "exit 0" >>conf$$.sh
89064 + chmod +x conf$$.sh
89065 + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
89066 + PATH_SEPARATOR=';'
89067 + else
89068 + PATH_SEPARATOR=:
89069 + fi
89070 + rm -f conf$$.sh
89071 fi
89072 -DUALCASE=1; export DUALCASE # for MKS sh
89073
89074 # Support unset when possible.
89075 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
89076 @@ -29,8 +58,43 @@ else
89077 fi
89078
89079
89080 +# IFS
89081 +# We need space, tab and new line, in precisely that order. Quoting is
89082 +# there to prevent editors from complaining about space-tab.
89083 +# (If _AS_PATH_WALK were called with IFS unset, it would disable word
89084 +# splitting by setting IFS to empty value.)
89085 +as_nl='
89086 +'
89087 +IFS=" "" $as_nl"
89088 +
89089 +# Find who we are. Look in the path if we contain no directory separator.
89090 +case $0 in
89091 + *[\\/]* ) as_myself=$0 ;;
89092 + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
89093 +for as_dir in $PATH
89094 +do
89095 + IFS=$as_save_IFS
89096 + test -z "$as_dir" && as_dir=.
89097 + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
89098 +done
89099 +IFS=$as_save_IFS
89100 +
89101 + ;;
89102 +esac
89103 +# We did not find ourselves, most probably we were run as `sh COMMAND'
89104 +# in which case we are not to be found in the path.
89105 +if test "x$as_myself" = x; then
89106 + as_myself=$0
89107 +fi
89108 +if test ! -f "$as_myself"; then
89109 + echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
89110 + { (exit 1); exit 1; }
89111 +fi
89112 +
89113 # Work around bugs in pre-3.0 UWIN ksh.
89114 -$as_unset ENV MAIL MAILPATH
89115 +for as_var in ENV MAIL MAILPATH
89116 +do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
89117 +done
89118 PS1='$ '
89119 PS2='> '
89120 PS4='+ '
89121 @@ -44,18 +108,19 @@ do
89122 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
89123 eval $as_var=C; export $as_var
89124 else
89125 - $as_unset $as_var
89126 + ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
89127 fi
89128 done
89129
89130 # Required to use basename.
89131 -if expr a : '\(a\)' >/dev/null 2>&1; then
89132 +if expr a : '\(a\)' >/dev/null 2>&1 &&
89133 + test "X`expr 00001 : '.*\(...\)'`" = X001; then
89134 as_expr=expr
89135 else
89136 as_expr=false
89137 fi
89138
89139 -if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
89140 +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
89141 as_basename=basename
89142 else
89143 as_basename=false
89144 @@ -63,157 +128,388 @@ fi
89145
89146
89147 # Name of the executable.
89148 -as_me=`$as_basename "$0" ||
89149 +as_me=`$as_basename -- "$0" ||
89150 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
89151 X"$0" : 'X\(//\)$' \| \
89152 - X"$0" : 'X\(/\)$' \| \
89153 - . : '\(.\)' 2>/dev/null ||
89154 + X"$0" : 'X\(/\)' \| . 2>/dev/null ||
89155 echo X/"$0" |
89156 - sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
89157 - /^X\/\(\/\/\)$/{ s//\1/; q; }
89158 - /^X\/\(\/\).*/{ s//\1/; q; }
89159 - s/.*/./; q'`
89160 + sed '/^.*\/\([^/][^/]*\)\/*$/{
89161 + s//\1/
89162 + q
89163 + }
89164 + /^X\/\(\/\/\)$/{
89165 + s//\1/
89166 + q
89167 + }
89168 + /^X\/\(\/\).*/{
89169 + s//\1/
89170 + q
89171 + }
89172 + s/.*/./; q'`
89173
89174 +# CDPATH.
89175 +$as_unset CDPATH
89176
89177 -# PATH needs CR, and LINENO needs CR and PATH.
89178 -# Avoid depending upon Character Ranges.
89179 -as_cr_letters='abcdefghijklmnopqrstuvwxyz'
89180 -as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
89181 -as_cr_Letters=$as_cr_letters$as_cr_LETTERS
89182 -as_cr_digits='0123456789'
89183 -as_cr_alnum=$as_cr_Letters$as_cr_digits
89184
89185 -# The user is always right.
89186 -if test "${PATH_SEPARATOR+set}" != set; then
89187 - echo "#! /bin/sh" >conf$$.sh
89188 - echo "exit 0" >>conf$$.sh
89189 - chmod +x conf$$.sh
89190 - if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
89191 - PATH_SEPARATOR=';'
89192 - else
89193 - PATH_SEPARATOR=:
89194 - fi
89195 - rm -f conf$$.sh
89196 +if test "x$CONFIG_SHELL" = x; then
89197 + if (eval ":") 2>/dev/null; then
89198 + as_have_required=yes
89199 +else
89200 + as_have_required=no
89201 +fi
89202 +
89203 + if test $as_have_required = yes && (eval ":
89204 +(as_func_return () {
89205 + (exit \$1)
89206 +}
89207 +as_func_success () {
89208 + as_func_return 0
89209 +}
89210 +as_func_failure () {
89211 + as_func_return 1
89212 +}
89213 +as_func_ret_success () {
89214 + return 0
89215 +}
89216 +as_func_ret_failure () {
89217 + return 1
89218 +}
89219 +
89220 +exitcode=0
89221 +if as_func_success; then
89222 + :
89223 +else
89224 + exitcode=1
89225 + echo as_func_success failed.
89226 fi
89227
89228 +if as_func_failure; then
89229 + exitcode=1
89230 + echo as_func_failure succeeded.
89231 +fi
89232
89233 - as_lineno_1=$LINENO
89234 - as_lineno_2=$LINENO
89235 - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
89236 - test "x$as_lineno_1" != "x$as_lineno_2" &&
89237 - test "x$as_lineno_3" = "x$as_lineno_2" || {
89238 - # Find who we are. Look in the path if we contain no path at all
89239 - # relative or not.
89240 - case $0 in
89241 - *[\\/]* ) as_myself=$0 ;;
89242 - *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
89243 -for as_dir in $PATH
89244 -do
89245 - IFS=$as_save_IFS
89246 - test -z "$as_dir" && as_dir=.
89247 - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
89248 -done
89249 +if as_func_ret_success; then
89250 + :
89251 +else
89252 + exitcode=1
89253 + echo as_func_ret_success failed.
89254 +fi
89255
89256 - ;;
89257 - esac
89258 - # We did not find ourselves, most probably we were run as `sh COMMAND'
89259 - # in which case we are not to be found in the path.
89260 - if test "x$as_myself" = x; then
89261 - as_myself=$0
89262 - fi
89263 - if test ! -f "$as_myself"; then
89264 - { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
89265 - { (exit 1); exit 1; }; }
89266 - fi
89267 - case $CONFIG_SHELL in
89268 - '')
89269 +if as_func_ret_failure; then
89270 + exitcode=1
89271 + echo as_func_ret_failure succeeded.
89272 +fi
89273 +
89274 +if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
89275 + :
89276 +else
89277 + exitcode=1
89278 + echo positional parameters were not saved.
89279 +fi
89280 +
89281 +test \$exitcode = 0) || { (exit 1); exit 1; }
89282 +
89283 +(
89284 + as_lineno_1=\$LINENO
89285 + as_lineno_2=\$LINENO
89286 + test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
89287 + test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
89288 +") 2> /dev/null; then
89289 + :
89290 +else
89291 + as_candidate_shells=
89292 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
89293 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
89294 do
89295 IFS=$as_save_IFS
89296 test -z "$as_dir" && as_dir=.
89297 - for as_base in sh bash ksh sh5; do
89298 - case $as_dir in
89299 + case $as_dir in
89300 /*)
89301 - if ("$as_dir/$as_base" -c '
89302 + for as_base in sh bash ksh sh5; do
89303 + as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
89304 + done;;
89305 + esac
89306 +done
89307 +IFS=$as_save_IFS
89308 +
89309 +
89310 + for as_shell in $as_candidate_shells $SHELL; do
89311 + # Try only shells that exist, to save several forks.
89312 + if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
89313 + { ("$as_shell") 2> /dev/null <<\_ASEOF
89314 +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
89315 + emulate sh
89316 + NULLCMD=:
89317 + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
89318 + # is contrary to our usage. Disable this feature.
89319 + alias -g '${1+"$@"}'='"$@"'
89320 + setopt NO_GLOB_SUBST
89321 +else
89322 + case `(set -o) 2>/dev/null` in
89323 + *posix*) set -o posix ;;
89324 +esac
89325 +
89326 +fi
89327 +
89328 +
89329 +:
89330 +_ASEOF
89331 +}; then
89332 + CONFIG_SHELL=$as_shell
89333 + as_have_required=yes
89334 + if { "$as_shell" 2> /dev/null <<\_ASEOF
89335 +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
89336 + emulate sh
89337 + NULLCMD=:
89338 + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
89339 + # is contrary to our usage. Disable this feature.
89340 + alias -g '${1+"$@"}'='"$@"'
89341 + setopt NO_GLOB_SUBST
89342 +else
89343 + case `(set -o) 2>/dev/null` in
89344 + *posix*) set -o posix ;;
89345 +esac
89346 +
89347 +fi
89348 +
89349 +
89350 +:
89351 +(as_func_return () {
89352 + (exit $1)
89353 +}
89354 +as_func_success () {
89355 + as_func_return 0
89356 +}
89357 +as_func_failure () {
89358 + as_func_return 1
89359 +}
89360 +as_func_ret_success () {
89361 + return 0
89362 +}
89363 +as_func_ret_failure () {
89364 + return 1
89365 +}
89366 +
89367 +exitcode=0
89368 +if as_func_success; then
89369 + :
89370 +else
89371 + exitcode=1
89372 + echo as_func_success failed.
89373 +fi
89374 +
89375 +if as_func_failure; then
89376 + exitcode=1
89377 + echo as_func_failure succeeded.
89378 +fi
89379 +
89380 +if as_func_ret_success; then
89381 + :
89382 +else
89383 + exitcode=1
89384 + echo as_func_ret_success failed.
89385 +fi
89386 +
89387 +if as_func_ret_failure; then
89388 + exitcode=1
89389 + echo as_func_ret_failure succeeded.
89390 +fi
89391 +
89392 +if ( set x; as_func_ret_success y && test x = "$1" ); then
89393 + :
89394 +else
89395 + exitcode=1
89396 + echo positional parameters were not saved.
89397 +fi
89398 +
89399 +test $exitcode = 0) || { (exit 1); exit 1; }
89400 +
89401 +(
89402 as_lineno_1=$LINENO
89403 as_lineno_2=$LINENO
89404 - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
89405 test "x$as_lineno_1" != "x$as_lineno_2" &&
89406 - test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
89407 - $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
89408 - $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
89409 - CONFIG_SHELL=$as_dir/$as_base
89410 - export CONFIG_SHELL
89411 - exec "$CONFIG_SHELL" "$0" ${1+"$@"}
89412 - fi;;
89413 - esac
89414 - done
89415 -done
89416 -;;
89417 - esac
89418 + test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
89419 +
89420 +_ASEOF
89421 +}; then
89422 + break
89423 +fi
89424 +
89425 +fi
89426 +
89427 + done
89428 +
89429 + if test "x$CONFIG_SHELL" != x; then
89430 + for as_var in BASH_ENV ENV
89431 + do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
89432 + done
89433 + export CONFIG_SHELL
89434 + exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
89435 +fi
89436 +
89437 +
89438 + if test $as_have_required = no; then
89439 + echo This script requires a shell more modern than all the
89440 + echo shells that I found on your system. Please install a
89441 + echo modern shell, or manually run the script under such a
89442 + echo shell if you do have one.
89443 + { (exit 1); exit 1; }
89444 +fi
89445 +
89446 +
89447 +fi
89448 +
89449 +fi
89450 +
89451 +
89452 +
89453 +(eval "as_func_return () {
89454 + (exit \$1)
89455 +}
89456 +as_func_success () {
89457 + as_func_return 0
89458 +}
89459 +as_func_failure () {
89460 + as_func_return 1
89461 +}
89462 +as_func_ret_success () {
89463 + return 0
89464 +}
89465 +as_func_ret_failure () {
89466 + return 1
89467 +}
89468 +
89469 +exitcode=0
89470 +if as_func_success; then
89471 + :
89472 +else
89473 + exitcode=1
89474 + echo as_func_success failed.
89475 +fi
89476 +
89477 +if as_func_failure; then
89478 + exitcode=1
89479 + echo as_func_failure succeeded.
89480 +fi
89481 +
89482 +if as_func_ret_success; then
89483 + :
89484 +else
89485 + exitcode=1
89486 + echo as_func_ret_success failed.
89487 +fi
89488 +
89489 +if as_func_ret_failure; then
89490 + exitcode=1
89491 + echo as_func_ret_failure succeeded.
89492 +fi
89493 +
89494 +if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
89495 + :
89496 +else
89497 + exitcode=1
89498 + echo positional parameters were not saved.
89499 +fi
89500 +
89501 +test \$exitcode = 0") || {
89502 + echo No shell found that supports shell functions.
89503 + echo Please tell autoconf@gnu.org about your system,
89504 + echo including any error possibly output before this
89505 + echo message
89506 +}
89507 +
89508 +
89509 +
89510 + as_lineno_1=$LINENO
89511 + as_lineno_2=$LINENO
89512 + test "x$as_lineno_1" != "x$as_lineno_2" &&
89513 + test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
89514
89515 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
89516 # uniformly replaced by the line number. The first 'sed' inserts a
89517 - # line-number line before each line; the second 'sed' does the real
89518 - # work. The second script uses 'N' to pair each line-number line
89519 - # with the numbered line, and appends trailing '-' during
89520 - # substitution so that $LINENO is not a special case at line end.
89521 + # line-number line after each line using $LINENO; the second 'sed'
89522 + # does the real work. The second script uses 'N' to pair each
89523 + # line-number line with the line containing $LINENO, and appends
89524 + # trailing '-' during substitution so that $LINENO is not a special
89525 + # case at line end.
89526 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
89527 - # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
89528 - sed '=' <$as_myself |
89529 + # scripts with optimization help from Paolo Bonzini. Blame Lee
89530 + # E. McMahon (1931-1989) for sed's syntax. :-)
89531 + sed -n '
89532 + p
89533 + /[$]LINENO/=
89534 + ' <$as_myself |
89535 sed '
89536 + s/[$]LINENO.*/&-/
89537 + t lineno
89538 + b
89539 + :lineno
89540 N
89541 - s,$,-,
89542 - : loop
89543 - s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
89544 + :loop
89545 + s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
89546 t loop
89547 - s,-$,,
89548 - s,^['$as_cr_digits']*\n,,
89549 + s/-\n.*//
89550 ' >$as_me.lineno &&
89551 - chmod +x $as_me.lineno ||
89552 + chmod +x "$as_me.lineno" ||
89553 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
89554 { (exit 1); exit 1; }; }
89555
89556 # Don't try to exec as it changes $[0], causing all sort of problems
89557 # (the dirname of $[0] is not the place where we might find the
89558 - # original and so on. Autoconf is especially sensible to this).
89559 - . ./$as_me.lineno
89560 + # original and so on. Autoconf is especially sensitive to this).
89561 + . "./$as_me.lineno"
89562 # Exit status is that of the last command.
89563 exit
89564 }
89565
89566
89567 -case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
89568 - *c*,-n*) ECHO_N= ECHO_C='
89569 -' ECHO_T=' ' ;;
89570 - *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
89571 - *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
89572 +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
89573 + as_dirname=dirname
89574 +else
89575 + as_dirname=false
89576 +fi
89577 +
89578 +ECHO_C= ECHO_N= ECHO_T=
89579 +case `echo -n x` in
89580 +-n*)
89581 + case `echo 'x\c'` in
89582 + *c*) ECHO_T=' ';; # ECHO_T is single tab character.
89583 + *) ECHO_C='\c';;
89584 + esac;;
89585 +*)
89586 + ECHO_N='-n';;
89587 esac
89588
89589 -if expr a : '\(a\)' >/dev/null 2>&1; then
89590 +if expr a : '\(a\)' >/dev/null 2>&1 &&
89591 + test "X`expr 00001 : '.*\(...\)'`" = X001; then
89592 as_expr=expr
89593 else
89594 as_expr=false
89595 fi
89596
89597 rm -f conf$$ conf$$.exe conf$$.file
89598 +if test -d conf$$.dir; then
89599 + rm -f conf$$.dir/conf$$.file
89600 +else
89601 + rm -f conf$$.dir
89602 + mkdir conf$$.dir
89603 +fi
89604 echo >conf$$.file
89605 if ln -s conf$$.file conf$$ 2>/dev/null; then
89606 - # We could just check for DJGPP; but this test a) works b) is more generic
89607 - # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
89608 - if test -f conf$$.exe; then
89609 - # Don't use ln at all; we don't have any links
89610 + as_ln_s='ln -s'
89611 + # ... but there are two gotchas:
89612 + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
89613 + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
89614 + # In both cases, we have to default to `cp -p'.
89615 + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
89616 as_ln_s='cp -p'
89617 - else
89618 - as_ln_s='ln -s'
89619 - fi
89620 elif ln conf$$.file conf$$ 2>/dev/null; then
89621 as_ln_s=ln
89622 else
89623 as_ln_s='cp -p'
89624 fi
89625 -rm -f conf$$ conf$$.exe conf$$.file
89626 +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
89627 +rmdir conf$$.dir 2>/dev/null
89628
89629 if mkdir -p . 2>/dev/null; then
89630 as_mkdir_p=:
89631 @@ -222,7 +518,28 @@ else
89632 as_mkdir_p=false
89633 fi
89634
89635 -as_executable_p="test -f"
89636 +if test -x / >/dev/null 2>&1; then
89637 + as_test_x='test -x'
89638 +else
89639 + if ls -dL / >/dev/null 2>&1; then
89640 + as_ls_L_option=L
89641 + else
89642 + as_ls_L_option=
89643 + fi
89644 + as_test_x='
89645 + eval sh -c '\''
89646 + if test -d "$1"; then
89647 + test -d "$1/.";
89648 + else
89649 + case $1 in
89650 + -*)set "./$1";;
89651 + esac;
89652 + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
89653 + ???[sx]*):;;*)false;;esac;fi
89654 + '\'' sh
89655 + '
89656 +fi
89657 +as_executable_p=$as_test_x
89658
89659 # Sed expression to map a string onto a valid CPP name.
89660 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
89661 @@ -231,39 +548,27 @@ as_tr_cpp="eval sed 'y%*$as_cr_letters%P
89662 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
89663
89664
89665 -# IFS
89666 -# We need space, tab and new line, in precisely that order.
89667 -as_nl='
89668 -'
89669 -IFS=" $as_nl"
89670 -
89671 -# CDPATH.
89672 -$as_unset CDPATH
89673
89674 +exec 7<&0 </dev/null 6>&1
89675
89676 # Name of the host.
89677 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
89678 # so uname gets run too.
89679 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
89680
89681 -exec 6>&1
89682 -
89683 #
89684 # Initializations.
89685 #
89686 ac_default_prefix=/usr/local
89687 +ac_clean_files=
89688 ac_config_libobj_dir=.
89689 +LIBOBJS=
89690 cross_compiling=no
89691 subdirs=
89692 MFLAGS=
89693 MAKEFLAGS=
89694 SHELL=${CONFIG_SHELL-/bin/sh}
89695
89696 -# Maximum number of lines to put in a shell here document.
89697 -# This variable seems obsolete. It should probably be removed, and
89698 -# only ac_max_sed_lines should be used.
89699 -: ${ac_max_here_lines=38}
89700 -
89701 # Identity of this package.
89702 PACKAGE_NAME=
89703 PACKAGE_TARNAME=
89704 @@ -275,42 +580,187 @@ ac_unique_file="z8k-dis.c"
89705 # Factoring default headers for most tests.
89706 ac_includes_default="\
89707 #include <stdio.h>
89708 -#if HAVE_SYS_TYPES_H
89709 +#ifdef HAVE_SYS_TYPES_H
89710 # include <sys/types.h>
89711 #endif
89712 -#if HAVE_SYS_STAT_H
89713 +#ifdef HAVE_SYS_STAT_H
89714 # include <sys/stat.h>
89715 #endif
89716 -#if STDC_HEADERS
89717 +#ifdef STDC_HEADERS
89718 # include <stdlib.h>
89719 # include <stddef.h>
89720 #else
89721 -# if HAVE_STDLIB_H
89722 +# ifdef HAVE_STDLIB_H
89723 # include <stdlib.h>
89724 # endif
89725 #endif
89726 -#if HAVE_STRING_H
89727 -# if !STDC_HEADERS && HAVE_MEMORY_H
89728 +#ifdef HAVE_STRING_H
89729 +# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
89730 # include <memory.h>
89731 # endif
89732 # include <string.h>
89733 #endif
89734 -#if HAVE_STRINGS_H
89735 +#ifdef HAVE_STRINGS_H
89736 # include <strings.h>
89737 #endif
89738 -#if HAVE_INTTYPES_H
89739 +#ifdef HAVE_INTTYPES_H
89740 # include <inttypes.h>
89741 -#else
89742 -# if HAVE_STDINT_H
89743 -# include <stdint.h>
89744 -# endif
89745 #endif
89746 -#if HAVE_UNISTD_H
89747 +#ifdef HAVE_STDINT_H
89748 +# include <stdint.h>
89749 +#endif
89750 +#ifdef HAVE_UNISTD_H
89751 # include <unistd.h>
89752 #endif"
89753
89754 -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 CC_FOR_BUILD EXEEXT_FOR_BUILD HDEFINES CGEN_MAINT_TRUE CGEN_MAINT_FALSE cgendir WIN32LDFLAGS WIN32LIBADD archdefs BFD_MACHINES LIBOBJS LTLIBOBJS'
89755 +ac_subst_vars='SHELL
89756 +PATH_SEPARATOR
89757 +PACKAGE_NAME
89758 +PACKAGE_TARNAME
89759 +PACKAGE_VERSION
89760 +PACKAGE_STRING
89761 +PACKAGE_BUGREPORT
89762 +exec_prefix
89763 +prefix
89764 +program_transform_name
89765 +bindir
89766 +sbindir
89767 +libexecdir
89768 +datarootdir
89769 +datadir
89770 +sysconfdir
89771 +sharedstatedir
89772 +localstatedir
89773 +includedir
89774 +oldincludedir
89775 +docdir
89776 +infodir
89777 +htmldir
89778 +dvidir
89779 +pdfdir
89780 +psdir
89781 +libdir
89782 +localedir
89783 +mandir
89784 +DEFS
89785 +ECHO_C
89786 +ECHO_N
89787 +ECHO_T
89788 +LIBS
89789 +build_alias
89790 +host_alias
89791 +target_alias
89792 +build
89793 +build_cpu
89794 +build_vendor
89795 +build_os
89796 +host
89797 +host_cpu
89798 +host_vendor
89799 +host_os
89800 +target
89801 +target_cpu
89802 +target_vendor
89803 +target_os
89804 +CC
89805 +CFLAGS
89806 +LDFLAGS
89807 +CPPFLAGS
89808 +ac_ct_CC
89809 +EXEEXT
89810 +OBJEXT
89811 +INSTALL_PROGRAM
89812 +INSTALL_SCRIPT
89813 +INSTALL_DATA
89814 +CYGPATH_W
89815 +PACKAGE
89816 +VERSION
89817 +ACLOCAL
89818 +AUTOCONF
89819 +AUTOMAKE
89820 +AUTOHEADER
89821 +MAKEINFO
89822 +install_sh
89823 +STRIP
89824 +INSTALL_STRIP_PROGRAM
89825 +mkdir_p
89826 +AWK
89827 +SET_MAKE
89828 +am__leading_dot
89829 +AMTAR
89830 +am__tar
89831 +am__untar
89832 +DEPDIR
89833 +am__include
89834 +am__quote
89835 +AMDEP_TRUE
89836 +AMDEP_FALSE
89837 +AMDEPBACKSLASH
89838 +CCDEPMODE
89839 +am__fastdepCC_TRUE
89840 +am__fastdepCC_FALSE
89841 +AR
89842 +RANLIB
89843 +LN_S
89844 +LIBTOOL
89845 +WARN_CFLAGS
89846 +NO_WERROR
89847 +MAINTAINER_MODE_TRUE
89848 +MAINTAINER_MODE_FALSE
89849 +MAINT
89850 +INSTALL_LIBBFD_TRUE
89851 +INSTALL_LIBBFD_FALSE
89852 +host_noncanonical
89853 +target_noncanonical
89854 +bfdlibdir
89855 +bfdincludedir
89856 +CPP
89857 +GREP
89858 +EGREP
89859 +ALLOCA
89860 +USE_NLS
89861 +MSGFMT
89862 +GMSGFMT
89863 +XGETTEXT
89864 +USE_INCLUDED_LIBINTL
89865 +CATALOGS
89866 +CATOBJEXT
89867 +DATADIRNAME
89868 +GMOFILES
89869 +INSTOBJEXT
89870 +INTLDEPS
89871 +INTLLIBS
89872 +INTLOBJS
89873 +POFILES
89874 +POSUB
89875 +INCLUDE_LOCALE_H
89876 +GT_NO
89877 +GT_YES
89878 +MKINSTALLDIRS
89879 +l
89880 +CC_FOR_BUILD
89881 +EXEEXT_FOR_BUILD
89882 +HDEFINES
89883 +CGEN_MAINT_TRUE
89884 +CGEN_MAINT_FALSE
89885 +cgendir
89886 +WIN32LDFLAGS
89887 +WIN32LIBADD
89888 +archdefs
89889 +BFD_MACHINES
89890 +LIBOBJS
89891 +LTLIBOBJS'
89892 ac_subst_files=''
89893 + ac_precious_vars='build_alias
89894 +host_alias
89895 +target_alias
89896 +CC
89897 +CFLAGS
89898 +LDFLAGS
89899 +LIBS
89900 +CPPFLAGS
89901 +CPP'
89902 +
89903
89904 # Initialize some variables set by options.
89905 ac_init_help=
89906 @@ -337,34 +787,48 @@ x_libraries=NONE
89907 # and all the variables that are supposed to be based on exec_prefix
89908 # by default will actually change.
89909 # Use braces instead of parens because sh, perl, etc. also accept them.
89910 +# (The list follows the same order as the GNU Coding Standards.)
89911 bindir='${exec_prefix}/bin'
89912 sbindir='${exec_prefix}/sbin'
89913 libexecdir='${exec_prefix}/libexec'
89914 -datadir='${prefix}/share'
89915 +datarootdir='${prefix}/share'
89916 +datadir='${datarootdir}'
89917 sysconfdir='${prefix}/etc'
89918 sharedstatedir='${prefix}/com'
89919 localstatedir='${prefix}/var'
89920 -libdir='${exec_prefix}/lib'
89921 includedir='${prefix}/include'
89922 oldincludedir='/usr/include'
89923 -infodir='${prefix}/info'
89924 -mandir='${prefix}/man'
89925 +docdir='${datarootdir}/doc/${PACKAGE}'
89926 +infodir='${datarootdir}/info'
89927 +htmldir='${docdir}'
89928 +dvidir='${docdir}'
89929 +pdfdir='${docdir}'
89930 +psdir='${docdir}'
89931 +libdir='${exec_prefix}/lib'
89932 +localedir='${datarootdir}/locale'
89933 +mandir='${datarootdir}/man'
89934
89935 ac_prev=
89936 +ac_dashdash=
89937 for ac_option
89938 do
89939 # If the previous option needs an argument, assign it.
89940 if test -n "$ac_prev"; then
89941 - eval "$ac_prev=\$ac_option"
89942 + eval $ac_prev=\$ac_option
89943 ac_prev=
89944 continue
89945 fi
89946
89947 - ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
89948 + case $ac_option in
89949 + *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
89950 + *) ac_optarg=yes ;;
89951 + esac
89952
89953 # Accept the important Cygnus configure options, so we can diagnose typos.
89954
89955 - case $ac_option in
89956 + case $ac_dashdash$ac_option in
89957 + --)
89958 + ac_dashdash=yes ;;
89959
89960 -bindir | --bindir | --bindi | --bind | --bin | --bi)
89961 ac_prev=bindir ;;
89962 @@ -386,33 +850,45 @@ do
89963 --config-cache | -C)
89964 cache_file=config.cache ;;
89965
89966 - -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
89967 + -datadir | --datadir | --datadi | --datad)
89968 ac_prev=datadir ;;
89969 - -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
89970 - | --da=*)
89971 + -datadir=* | --datadir=* | --datadi=* | --datad=*)
89972 datadir=$ac_optarg ;;
89973
89974 + -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
89975 + | --dataroo | --dataro | --datar)
89976 + ac_prev=datarootdir ;;
89977 + -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
89978 + | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
89979 + datarootdir=$ac_optarg ;;
89980 +
89981 -disable-* | --disable-*)
89982 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
89983 # Reject names that are not valid shell variable names.
89984 - expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
89985 + expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
89986 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
89987 { (exit 1); exit 1; }; }
89988 - ac_feature=`echo $ac_feature | sed 's/-/_/g'`
89989 - eval "enable_$ac_feature=no" ;;
89990 + ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
89991 + eval enable_$ac_feature=no ;;
89992 +
89993 + -docdir | --docdir | --docdi | --doc | --do)
89994 + ac_prev=docdir ;;
89995 + -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
89996 + docdir=$ac_optarg ;;
89997 +
89998 + -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
89999 + ac_prev=dvidir ;;
90000 + -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
90001 + dvidir=$ac_optarg ;;
90002
90003 -enable-* | --enable-*)
90004 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
90005 # Reject names that are not valid shell variable names.
90006 - expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
90007 + expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
90008 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
90009 { (exit 1); exit 1; }; }
90010 - ac_feature=`echo $ac_feature | sed 's/-/_/g'`
90011 - case $ac_option in
90012 - *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
90013 - *) ac_optarg=yes ;;
90014 - esac
90015 - eval "enable_$ac_feature='$ac_optarg'" ;;
90016 + ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
90017 + eval enable_$ac_feature=\$ac_optarg ;;
90018
90019 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
90020 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
90021 @@ -439,6 +915,12 @@ do
90022 -host=* | --host=* | --hos=* | --ho=*)
90023 host_alias=$ac_optarg ;;
90024
90025 + -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
90026 + ac_prev=htmldir ;;
90027 + -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
90028 + | --ht=*)
90029 + htmldir=$ac_optarg ;;
90030 +
90031 -includedir | --includedir | --includedi | --included | --include \
90032 | --includ | --inclu | --incl | --inc)
90033 ac_prev=includedir ;;
90034 @@ -463,13 +945,16 @@ do
90035 | --libexe=* | --libex=* | --libe=*)
90036 libexecdir=$ac_optarg ;;
90037
90038 + -localedir | --localedir | --localedi | --localed | --locale)
90039 + ac_prev=localedir ;;
90040 + -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
90041 + localedir=$ac_optarg ;;
90042 +
90043 -localstatedir | --localstatedir | --localstatedi | --localstated \
90044 - | --localstate | --localstat | --localsta | --localst \
90045 - | --locals | --local | --loca | --loc | --lo)
90046 + | --localstate | --localstat | --localsta | --localst | --locals)
90047 ac_prev=localstatedir ;;
90048 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
90049 - | --localstate=* | --localstat=* | --localsta=* | --localst=* \
90050 - | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
90051 + | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
90052 localstatedir=$ac_optarg ;;
90053
90054 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
90055 @@ -534,6 +1019,16 @@ do
90056 | --progr-tra=* | --program-tr=* | --program-t=*)
90057 program_transform_name=$ac_optarg ;;
90058
90059 + -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
90060 + ac_prev=pdfdir ;;
90061 + -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
90062 + pdfdir=$ac_optarg ;;
90063 +
90064 + -psdir | --psdir | --psdi | --psd | --ps)
90065 + ac_prev=psdir ;;
90066 + -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
90067 + psdir=$ac_optarg ;;
90068 +
90069 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
90070 | -silent | --silent | --silen | --sile | --sil)
90071 silent=yes ;;
90072 @@ -586,24 +1081,20 @@ do
90073 -with-* | --with-*)
90074 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
90075 # Reject names that are not valid shell variable names.
90076 - expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
90077 + expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
90078 { echo "$as_me: error: invalid package name: $ac_package" >&2
90079 { (exit 1); exit 1; }; }
90080 - ac_package=`echo $ac_package| sed 's/-/_/g'`
90081 - case $ac_option in
90082 - *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
90083 - *) ac_optarg=yes ;;
90084 - esac
90085 - eval "with_$ac_package='$ac_optarg'" ;;
90086 + ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
90087 + eval with_$ac_package=\$ac_optarg ;;
90088
90089 -without-* | --without-*)
90090 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
90091 # Reject names that are not valid shell variable names.
90092 - expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
90093 + expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
90094 { echo "$as_me: error: invalid package name: $ac_package" >&2
90095 { (exit 1); exit 1; }; }
90096 - ac_package=`echo $ac_package | sed 's/-/_/g'`
90097 - eval "with_$ac_package=no" ;;
90098 + ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
90099 + eval with_$ac_package=no ;;
90100
90101 --x)
90102 # Obsolete; use --with-x.
90103 @@ -634,8 +1125,7 @@ Try \`$0 --help' for more information."
90104 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
90105 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
90106 { (exit 1); exit 1; }; }
90107 - ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
90108 - eval "$ac_envvar='$ac_optarg'"
90109 + eval $ac_envvar=\$ac_optarg
90110 export $ac_envvar ;;
90111
90112 *)
90113 @@ -655,27 +1145,19 @@ if test -n "$ac_prev"; then
90114 { (exit 1); exit 1; }; }
90115 fi
90116
90117 -# Be sure to have absolute paths.
90118 -for ac_var in exec_prefix prefix
90119 -do
90120 - eval ac_val=$`echo $ac_var`
90121 - case $ac_val in
90122 - [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
90123 - *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
90124 - { (exit 1); exit 1; }; };;
90125 - esac
90126 -done
90127 -
90128 -# Be sure to have absolute paths.
90129 -for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
90130 - localstatedir libdir includedir oldincludedir infodir mandir
90131 +# Be sure to have absolute directory names.
90132 +for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
90133 + datadir sysconfdir sharedstatedir localstatedir includedir \
90134 + oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
90135 + libdir localedir mandir
90136 do
90137 - eval ac_val=$`echo $ac_var`
90138 + eval ac_val=\$$ac_var
90139 case $ac_val in
90140 - [\\/$]* | ?:[\\/]* ) ;;
90141 - *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
90142 - { (exit 1); exit 1; }; };;
90143 + [\\/$]* | ?:[\\/]* ) continue;;
90144 + NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
90145 esac
90146 + { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
90147 + { (exit 1); exit 1; }; }
90148 done
90149
90150 # There might be people who depend on the old broken behavior: `$host'
90151 @@ -702,74 +1184,76 @@ test -n "$host_alias" && ac_tool_prefix=
90152 test "$silent" = yes && exec 6>/dev/null
90153
90154
90155 +ac_pwd=`pwd` && test -n "$ac_pwd" &&
90156 +ac_ls_di=`ls -di .` &&
90157 +ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
90158 + { echo "$as_me: error: Working directory cannot be determined" >&2
90159 + { (exit 1); exit 1; }; }
90160 +test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
90161 + { echo "$as_me: error: pwd does not report name of working directory" >&2
90162 + { (exit 1); exit 1; }; }
90163 +
90164 +
90165 # Find the source files, if location was not specified.
90166 if test -z "$srcdir"; then
90167 ac_srcdir_defaulted=yes
90168 - # Try the directory containing this script, then its parent.
90169 - ac_confdir=`(dirname "$0") 2>/dev/null ||
90170 + # Try the directory containing this script, then the parent directory.
90171 + ac_confdir=`$as_dirname -- "$0" ||
90172 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
90173 X"$0" : 'X\(//\)[^/]' \| \
90174 X"$0" : 'X\(//\)$' \| \
90175 - X"$0" : 'X\(/\)' \| \
90176 - . : '\(.\)' 2>/dev/null ||
90177 + X"$0" : 'X\(/\)' \| . 2>/dev/null ||
90178 echo X"$0" |
90179 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
90180 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
90181 - /^X\(\/\/\)$/{ s//\1/; q; }
90182 - /^X\(\/\).*/{ s//\1/; q; }
90183 - s/.*/./; q'`
90184 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
90185 + s//\1/
90186 + q
90187 + }
90188 + /^X\(\/\/\)[^/].*/{
90189 + s//\1/
90190 + q
90191 + }
90192 + /^X\(\/\/\)$/{
90193 + s//\1/
90194 + q
90195 + }
90196 + /^X\(\/\).*/{
90197 + s//\1/
90198 + q
90199 + }
90200 + s/.*/./; q'`
90201 srcdir=$ac_confdir
90202 - if test ! -r $srcdir/$ac_unique_file; then
90203 + if test ! -r "$srcdir/$ac_unique_file"; then
90204 srcdir=..
90205 fi
90206 else
90207 ac_srcdir_defaulted=no
90208 fi
90209 -if test ! -r $srcdir/$ac_unique_file; then
90210 - if test "$ac_srcdir_defaulted" = yes; then
90211 - { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
90212 - { (exit 1); exit 1; }; }
90213 - else
90214 - { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
90215 - { (exit 1); exit 1; }; }
90216 - fi
90217 -fi
90218 -(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
90219 - { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
90220 - { (exit 1); exit 1; }; }
90221 -srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
90222 -ac_env_build_alias_set=${build_alias+set}
90223 -ac_env_build_alias_value=$build_alias
90224 -ac_cv_env_build_alias_set=${build_alias+set}
90225 -ac_cv_env_build_alias_value=$build_alias
90226 -ac_env_host_alias_set=${host_alias+set}
90227 -ac_env_host_alias_value=$host_alias
90228 -ac_cv_env_host_alias_set=${host_alias+set}
90229 -ac_cv_env_host_alias_value=$host_alias
90230 -ac_env_target_alias_set=${target_alias+set}
90231 -ac_env_target_alias_value=$target_alias
90232 -ac_cv_env_target_alias_set=${target_alias+set}
90233 -ac_cv_env_target_alias_value=$target_alias
90234 -ac_env_CC_set=${CC+set}
90235 -ac_env_CC_value=$CC
90236 -ac_cv_env_CC_set=${CC+set}
90237 -ac_cv_env_CC_value=$CC
90238 -ac_env_CFLAGS_set=${CFLAGS+set}
90239 -ac_env_CFLAGS_value=$CFLAGS
90240 -ac_cv_env_CFLAGS_set=${CFLAGS+set}
90241 -ac_cv_env_CFLAGS_value=$CFLAGS
90242 -ac_env_LDFLAGS_set=${LDFLAGS+set}
90243 -ac_env_LDFLAGS_value=$LDFLAGS
90244 -ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
90245 -ac_cv_env_LDFLAGS_value=$LDFLAGS
90246 -ac_env_CPPFLAGS_set=${CPPFLAGS+set}
90247 -ac_env_CPPFLAGS_value=$CPPFLAGS
90248 -ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
90249 -ac_cv_env_CPPFLAGS_value=$CPPFLAGS
90250 -ac_env_CPP_set=${CPP+set}
90251 -ac_env_CPP_value=$CPP
90252 -ac_cv_env_CPP_set=${CPP+set}
90253 -ac_cv_env_CPP_value=$CPP
90254 +if test ! -r "$srcdir/$ac_unique_file"; then
90255 + test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
90256 + { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
90257 + { (exit 1); exit 1; }; }
90258 +fi
90259 +ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
90260 +ac_abs_confdir=`(
90261 + cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
90262 + { (exit 1); exit 1; }; }
90263 + pwd)`
90264 +# When building in place, set srcdir=.
90265 +if test "$ac_abs_confdir" = "$ac_pwd"; then
90266 + srcdir=.
90267 +fi
90268 +# Remove unnecessary trailing slashes from srcdir.
90269 +# Double slashes in file names in object file debugging info
90270 +# mess up M-x gdb in Emacs.
90271 +case $srcdir in
90272 +*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
90273 +esac
90274 +for ac_var in $ac_precious_vars; do
90275 + eval ac_env_${ac_var}_set=\${${ac_var}+set}
90276 + eval ac_env_${ac_var}_value=\$${ac_var}
90277 + eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
90278 + eval ac_cv_env_${ac_var}_value=\$${ac_var}
90279 +done
90280
90281 #
90282 # Report the --help message.
90283 @@ -798,9 +1282,6 @@ Configuration:
90284 -n, --no-create do not create output files
90285 --srcdir=DIR find the sources in DIR [configure dir or \`..']
90286
90287 -_ACEOF
90288 -
90289 - cat <<_ACEOF
90290 Installation directories:
90291 --prefix=PREFIX install architecture-independent files in PREFIX
90292 [$ac_default_prefix]
90293 @@ -818,15 +1299,22 @@ Fine tuning of the installation director
90294 --bindir=DIR user executables [EPREFIX/bin]
90295 --sbindir=DIR system admin executables [EPREFIX/sbin]
90296 --libexecdir=DIR program executables [EPREFIX/libexec]
90297 - --datadir=DIR read-only architecture-independent data [PREFIX/share]
90298 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
90299 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
90300 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
90301 --libdir=DIR object code libraries [EPREFIX/lib]
90302 --includedir=DIR C header files [PREFIX/include]
90303 --oldincludedir=DIR C header files for non-gcc [/usr/include]
90304 - --infodir=DIR info documentation [PREFIX/info]
90305 - --mandir=DIR man documentation [PREFIX/man]
90306 + --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
90307 + --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
90308 + --infodir=DIR info documentation [DATAROOTDIR/info]
90309 + --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
90310 + --mandir=DIR man documentation [DATAROOTDIR/man]
90311 + --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
90312 + --htmldir=DIR html documentation [DOCDIR]
90313 + --dvidir=DIR dvi documentation [DOCDIR]
90314 + --pdfdir=DIR pdf documentation [DOCDIR]
90315 + --psdir=DIR ps documentation [DOCDIR]
90316 _ACEOF
90317
90318 cat <<\_ACEOF
90319 @@ -878,126 +1366,95 @@ Some influential environment variables:
90320 CFLAGS C compiler flags
90321 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
90322 nonstandard directory <lib dir>
90323 - CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
90324 - headers in a nonstandard directory <include dir>
90325 + LIBS libraries to pass to the linker, e.g. -l<library>
90326 + CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
90327 + you have headers in a nonstandard directory <include dir>
90328 CPP C preprocessor
90329
90330 Use these variables to override the choices made by `configure' or to help
90331 it to find libraries and programs with nonstandard names/locations.
90332
90333 _ACEOF
90334 +ac_status=$?
90335 fi
90336
90337 if test "$ac_init_help" = "recursive"; then
90338 # If there are subdirs, report their specific --help.
90339 - ac_popdir=`pwd`
90340 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
90341 - test -d $ac_dir || continue
90342 + test -d "$ac_dir" || continue
90343 ac_builddir=.
90344
90345 -if test "$ac_dir" != .; then
90346 +case "$ac_dir" in
90347 +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
90348 +*)
90349 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
90350 - # A "../" for each directory in $ac_dir_suffix.
90351 - ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
90352 -else
90353 - ac_dir_suffix= ac_top_builddir=
90354 -fi
90355 + # A ".." for each directory in $ac_dir_suffix.
90356 + ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
90357 + case $ac_top_builddir_sub in
90358 + "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
90359 + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
90360 + esac ;;
90361 +esac
90362 +ac_abs_top_builddir=$ac_pwd
90363 +ac_abs_builddir=$ac_pwd$ac_dir_suffix
90364 +# for backward compatibility:
90365 +ac_top_builddir=$ac_top_build_prefix
90366
90367 case $srcdir in
90368 - .) # No --srcdir option. We are building in place.
90369 + .) # We are building in place.
90370 ac_srcdir=.
90371 - if test -z "$ac_top_builddir"; then
90372 - ac_top_srcdir=.
90373 - else
90374 - ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
90375 - fi ;;
90376 - [\\/]* | ?:[\\/]* ) # Absolute path.
90377 + ac_top_srcdir=$ac_top_builddir_sub
90378 + ac_abs_top_srcdir=$ac_pwd ;;
90379 + [\\/]* | ?:[\\/]* ) # Absolute name.
90380 ac_srcdir=$srcdir$ac_dir_suffix;
90381 - ac_top_srcdir=$srcdir ;;
90382 - *) # Relative path.
90383 - ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
90384 - ac_top_srcdir=$ac_top_builddir$srcdir ;;
90385 -esac
90386 -
90387 -# Do not use `cd foo && pwd` to compute absolute paths, because
90388 -# the directories may not exist.
90389 -case `pwd` in
90390 -.) ac_abs_builddir="$ac_dir";;
90391 -*)
90392 - case "$ac_dir" in
90393 - .) ac_abs_builddir=`pwd`;;
90394 - [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
90395 - *) ac_abs_builddir=`pwd`/"$ac_dir";;
90396 - esac;;
90397 -esac
90398 -case $ac_abs_builddir in
90399 -.) ac_abs_top_builddir=${ac_top_builddir}.;;
90400 -*)
90401 - case ${ac_top_builddir}. in
90402 - .) ac_abs_top_builddir=$ac_abs_builddir;;
90403 - [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
90404 - *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
90405 - esac;;
90406 -esac
90407 -case $ac_abs_builddir in
90408 -.) ac_abs_srcdir=$ac_srcdir;;
90409 -*)
90410 - case $ac_srcdir in
90411 - .) ac_abs_srcdir=$ac_abs_builddir;;
90412 - [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
90413 - *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
90414 - esac;;
90415 -esac
90416 -case $ac_abs_builddir in
90417 -.) ac_abs_top_srcdir=$ac_top_srcdir;;
90418 -*)
90419 - case $ac_top_srcdir in
90420 - .) ac_abs_top_srcdir=$ac_abs_builddir;;
90421 - [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
90422 - *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
90423 - esac;;
90424 -esac
90425 -
90426 - cd $ac_dir
90427 - # Check for guested configure; otherwise get Cygnus style configure.
90428 - if test -f $ac_srcdir/configure.gnu; then
90429 - echo
90430 - $SHELL $ac_srcdir/configure.gnu --help=recursive
90431 - elif test -f $ac_srcdir/configure; then
90432 - echo
90433 - $SHELL $ac_srcdir/configure --help=recursive
90434 - elif test -f $ac_srcdir/configure.ac ||
90435 - test -f $ac_srcdir/configure.in; then
90436 - echo
90437 - $ac_configure --help
90438 + ac_top_srcdir=$srcdir
90439 + ac_abs_top_srcdir=$srcdir ;;
90440 + *) # Relative name.
90441 + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
90442 + ac_top_srcdir=$ac_top_build_prefix$srcdir
90443 + ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
90444 +esac
90445 +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
90446 +
90447 + cd "$ac_dir" || { ac_status=$?; continue; }
90448 + # Check for guested configure.
90449 + if test -f "$ac_srcdir/configure.gnu"; then
90450 + echo &&
90451 + $SHELL "$ac_srcdir/configure.gnu" --help=recursive
90452 + elif test -f "$ac_srcdir/configure"; then
90453 + echo &&
90454 + $SHELL "$ac_srcdir/configure" --help=recursive
90455 else
90456 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
90457 - fi
90458 - cd $ac_popdir
90459 + fi || ac_status=$?
90460 + cd "$ac_pwd" || { ac_status=$?; break; }
90461 done
90462 fi
90463
90464 -test -n "$ac_init_help" && exit 0
90465 +test -n "$ac_init_help" && exit $ac_status
90466 if $ac_init_version; then
90467 cat <<\_ACEOF
90468 +configure
90469 +generated by GNU Autoconf 2.61
90470
90471 -Copyright (C) 2003 Free Software Foundation, Inc.
90472 +Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
90473 +2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
90474 This configure script is free software; the Free Software Foundation
90475 gives unlimited permission to copy, distribute and modify it.
90476 _ACEOF
90477 - exit 0
90478 + exit
90479 fi
90480 -exec 5>config.log
90481 -cat >&5 <<_ACEOF
90482 +cat >config.log <<_ACEOF
90483 This file contains any messages produced by compilers while
90484 running configure, to aid debugging if configure makes a mistake.
90485
90486 It was created by $as_me, which was
90487 -generated by GNU Autoconf 2.59. Invocation command line was
90488 +generated by GNU Autoconf 2.61. Invocation command line was
90489
90490 $ $0 $@
90491
90492 _ACEOF
90493 +exec 5>>config.log
90494 {
90495 cat <<_ASUNAME
90496 ## --------- ##
90497 @@ -1016,7 +1473,7 @@ uname -v = `(uname -v) 2>/dev/null || ec
90498 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
90499 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
90500 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
90501 -hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
90502 +/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
90503 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
90504 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
90505 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
90506 @@ -1030,6 +1487,7 @@ do
90507 test -z "$as_dir" && as_dir=.
90508 echo "PATH: $as_dir"
90509 done
90510 +IFS=$as_save_IFS
90511
90512 } >&5
90513
90514 @@ -1051,7 +1509,6 @@ _ACEOF
90515 ac_configure_args=
90516 ac_configure_args0=
90517 ac_configure_args1=
90518 -ac_sep=
90519 ac_must_keep_next=false
90520 for ac_pass in 1 2
90521 do
90522 @@ -1062,7 +1519,7 @@ do
90523 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
90524 | -silent | --silent | --silen | --sile | --sil)
90525 continue ;;
90526 - *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
90527 + *\'*)
90528 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
90529 esac
90530 case $ac_pass in
90531 @@ -1084,9 +1541,7 @@ do
90532 -* ) ac_must_keep_next=true ;;
90533 esac
90534 fi
90535 - ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
90536 - # Get rid of the leading space.
90537 - ac_sep=" "
90538 + ac_configure_args="$ac_configure_args '$ac_arg'"
90539 ;;
90540 esac
90541 done
90542 @@ -1097,8 +1552,8 @@ $as_unset ac_configure_args1 || test "${
90543 # When interrupted or exit'd, cleanup temporary files, and complete
90544 # config.log. We remove comments because anyway the quotes in there
90545 # would cause problems or look ugly.
90546 -# WARNING: Be sure not to use single quotes in there, as some shells,
90547 -# such as our DU 5.0 friend, will then `close' the trap.
90548 +# WARNING: Use '\'' to represent an apostrophe within the trap.
90549 +# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
90550 trap 'exit_status=$?
90551 # Save into config.log some information that might help in debugging.
90552 {
90553 @@ -1111,20 +1566,34 @@ trap 'exit_status=$?
90554 _ASBOX
90555 echo
90556 # The following way of writing the cache mishandles newlines in values,
90557 -{
90558 +(
90559 + for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
90560 + eval ac_val=\$$ac_var
90561 + case $ac_val in #(
90562 + *${as_nl}*)
90563 + case $ac_var in #(
90564 + *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
90565 +echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
90566 + esac
90567 + case $ac_var in #(
90568 + _ | IFS | as_nl) ;; #(
90569 + *) $as_unset $ac_var ;;
90570 + esac ;;
90571 + esac
90572 + done
90573 (set) 2>&1 |
90574 - case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
90575 - *ac_space=\ *)
90576 + case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
90577 + *${as_nl}ac_space=\ *)
90578 sed -n \
90579 - "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
90580 - s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
90581 - ;;
90582 + "s/'\''/'\''\\\\'\'''\''/g;
90583 + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
90584 + ;; #(
90585 *)
90586 - sed -n \
90587 - "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
90588 + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
90589 ;;
90590 - esac;
90591 -}
90592 + esac |
90593 + sort
90594 +)
90595 echo
90596
90597 cat <<\_ASBOX
90598 @@ -1135,22 +1604,28 @@ _ASBOX
90599 echo
90600 for ac_var in $ac_subst_vars
90601 do
90602 - eval ac_val=$`echo $ac_var`
90603 - echo "$ac_var='"'"'$ac_val'"'"'"
90604 + eval ac_val=\$$ac_var
90605 + case $ac_val in
90606 + *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
90607 + esac
90608 + echo "$ac_var='\''$ac_val'\''"
90609 done | sort
90610 echo
90611
90612 if test -n "$ac_subst_files"; then
90613 cat <<\_ASBOX
90614 -## ------------- ##
90615 -## Output files. ##
90616 -## ------------- ##
90617 +## ------------------- ##
90618 +## File substitutions. ##
90619 +## ------------------- ##
90620 _ASBOX
90621 echo
90622 for ac_var in $ac_subst_files
90623 do
90624 - eval ac_val=$`echo $ac_var`
90625 - echo "$ac_var='"'"'$ac_val'"'"'"
90626 + eval ac_val=\$$ac_var
90627 + case $ac_val in
90628 + *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
90629 + esac
90630 + echo "$ac_var='\''$ac_val'\''"
90631 done | sort
90632 echo
90633 fi
90634 @@ -1162,26 +1637,24 @@ _ASBOX
90635 ## ----------- ##
90636 _ASBOX
90637 echo
90638 - sed "/^$/d" confdefs.h | sort
90639 + cat confdefs.h
90640 echo
90641 fi
90642 test "$ac_signal" != 0 &&
90643 echo "$as_me: caught signal $ac_signal"
90644 echo "$as_me: exit $exit_status"
90645 } >&5
90646 - rm -f core *.core &&
90647 - rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
90648 + rm -f core *.core core.conftest.* &&
90649 + rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
90650 exit $exit_status
90651 - ' 0
90652 +' 0
90653 for ac_signal in 1 2 13 15; do
90654 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
90655 done
90656 ac_signal=0
90657
90658 # confdefs.h avoids OS command line length limits that DEFS can exceed.
90659 -rm -rf conftest* confdefs.h
90660 -# AIX cpp loses on an empty file, so make sure it contains at least a newline.
90661 -echo >confdefs.h
90662 +rm -f -r conftest* confdefs.h
90663
90664 # Predefined preprocessor variables.
90665
90666 @@ -1212,14 +1685,17 @@ _ACEOF
90667
90668 # Let the site file select an alternate cache file if it wants to.
90669 # Prefer explicitly selected file to automatically selected ones.
90670 -if test -z "$CONFIG_SITE"; then
90671 - if test "x$prefix" != xNONE; then
90672 - CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
90673 - else
90674 - CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
90675 - fi
90676 +if test -n "$CONFIG_SITE"; then
90677 + set x "$CONFIG_SITE"
90678 +elif test "x$prefix" != xNONE; then
90679 + set x "$prefix/share/config.site" "$prefix/etc/config.site"
90680 +else
90681 + set x "$ac_default_prefix/share/config.site" \
90682 + "$ac_default_prefix/etc/config.site"
90683 fi
90684 -for ac_site_file in $CONFIG_SITE; do
90685 +shift
90686 +for ac_site_file
90687 +do
90688 if test -r "$ac_site_file"; then
90689 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
90690 echo "$as_me: loading site script $ac_site_file" >&6;}
90691 @@ -1235,8 +1711,8 @@ if test -r "$cache_file"; then
90692 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
90693 echo "$as_me: loading cache $cache_file" >&6;}
90694 case $cache_file in
90695 - [\\/]* | ?:[\\/]* ) . $cache_file;;
90696 - *) . ./$cache_file;;
90697 + [\\/]* | ?:[\\/]* ) . "$cache_file";;
90698 + *) . "./$cache_file";;
90699 esac
90700 fi
90701 else
90702 @@ -1248,12 +1724,11 @@ fi
90703 # Check that the precious variables saved in the cache have kept the same
90704 # value.
90705 ac_cache_corrupted=false
90706 -for ac_var in `(set) 2>&1 |
90707 - sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
90708 +for ac_var in $ac_precious_vars; do
90709 eval ac_old_set=\$ac_cv_env_${ac_var}_set
90710 eval ac_new_set=\$ac_env_${ac_var}_set
90711 - eval ac_old_val="\$ac_cv_env_${ac_var}_value"
90712 - eval ac_new_val="\$ac_env_${ac_var}_value"
90713 + eval ac_old_val=\$ac_cv_env_${ac_var}_value
90714 + eval ac_new_val=\$ac_env_${ac_var}_value
90715 case $ac_old_set,$ac_new_set in
90716 set,)
90717 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
90718 @@ -1278,8 +1753,7 @@ echo "$as_me: current value: $ac_new_v
90719 # Pass precious variables to config.status.
90720 if test "$ac_new_set" = set; then
90721 case $ac_new_val in
90722 - *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
90723 - ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
90724 + *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
90725 *) ac_arg=$ac_var=$ac_new_val ;;
90726 esac
90727 case " $ac_configure_args " in
90728 @@ -1296,12 +1770,6 @@ echo "$as_me: error: run \`make distclea
90729 { (exit 1); exit 1; }; }
90730 fi
90731
90732 -ac_ext=c
90733 -ac_cpp='$CPP $CPPFLAGS'
90734 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90735 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90736 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
90737 -
90738
90739
90740
90741 @@ -1318,109 +1786,164 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
90742
90743
90744
90745 +ac_ext=c
90746 +ac_cpp='$CPP $CPPFLAGS'
90747 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90748 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90749 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
90750
90751
90752
90753
90754 ac_aux_dir=
90755 -for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
90756 - if test -f $ac_dir/install-sh; then
90757 +for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
90758 + if test -f "$ac_dir/install-sh"; then
90759 ac_aux_dir=$ac_dir
90760 ac_install_sh="$ac_aux_dir/install-sh -c"
90761 break
90762 - elif test -f $ac_dir/install.sh; then
90763 + elif test -f "$ac_dir/install.sh"; then
90764 ac_aux_dir=$ac_dir
90765 ac_install_sh="$ac_aux_dir/install.sh -c"
90766 break
90767 - elif test -f $ac_dir/shtool; then
90768 + elif test -f "$ac_dir/shtool"; then
90769 ac_aux_dir=$ac_dir
90770 ac_install_sh="$ac_aux_dir/shtool install -c"
90771 break
90772 fi
90773 done
90774 if test -z "$ac_aux_dir"; then
90775 - { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
90776 -echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
90777 + { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
90778 +echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
90779 { (exit 1); exit 1; }; }
90780 fi
90781 -ac_config_guess="$SHELL $ac_aux_dir/config.guess"
90782 -ac_config_sub="$SHELL $ac_aux_dir/config.sub"
90783 -ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
90784 +
90785 +# These three variables are undocumented and unsupported,
90786 +# and are intended to be withdrawn in a future Autoconf release.
90787 +# They can cause serious problems if a builder's source tree is in a directory
90788 +# whose full name contains unusual characters.
90789 +ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
90790 +ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
90791 +ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
90792 +
90793
90794 # Make sure we can run config.sub.
90795 -$ac_config_sub sun4 >/dev/null 2>&1 ||
90796 - { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
90797 -echo "$as_me: error: cannot run $ac_config_sub" >&2;}
90798 +$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
90799 + { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
90800 +echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
90801 { (exit 1); exit 1; }; }
90802
90803 -echo "$as_me:$LINENO: checking build system type" >&5
90804 -echo $ECHO_N "checking build system type... $ECHO_C" >&6
90805 +{ echo "$as_me:$LINENO: checking build system type" >&5
90806 +echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
90807 if test "${ac_cv_build+set}" = set; then
90808 echo $ECHO_N "(cached) $ECHO_C" >&6
90809 else
90810 - ac_cv_build_alias=$build_alias
90811 -test -z "$ac_cv_build_alias" &&
90812 - ac_cv_build_alias=`$ac_config_guess`
90813 -test -z "$ac_cv_build_alias" &&
90814 + ac_build_alias=$build_alias
90815 +test "x$ac_build_alias" = x &&
90816 + ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
90817 +test "x$ac_build_alias" = x &&
90818 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
90819 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
90820 { (exit 1); exit 1; }; }
90821 -ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
90822 - { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
90823 -echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
90824 +ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
90825 + { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
90826 +echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
90827 { (exit 1); exit 1; }; }
90828
90829 fi
90830 -echo "$as_me:$LINENO: result: $ac_cv_build" >&5
90831 -echo "${ECHO_T}$ac_cv_build" >&6
90832 +{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
90833 +echo "${ECHO_T}$ac_cv_build" >&6; }
90834 +case $ac_cv_build in
90835 +*-*-*) ;;
90836 +*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
90837 +echo "$as_me: error: invalid value of canonical build" >&2;}
90838 + { (exit 1); exit 1; }; };;
90839 +esac
90840 build=$ac_cv_build
90841 -build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
90842 -build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
90843 -build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
90844 +ac_save_IFS=$IFS; IFS='-'
90845 +set x $ac_cv_build
90846 +shift
90847 +build_cpu=$1
90848 +build_vendor=$2
90849 +shift; shift
90850 +# Remember, the first character of IFS is used to create $*,
90851 +# except with old shells:
90852 +build_os=$*
90853 +IFS=$ac_save_IFS
90854 +case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
90855
90856
90857 -echo "$as_me:$LINENO: checking host system type" >&5
90858 -echo $ECHO_N "checking host system type... $ECHO_C" >&6
90859 +{ echo "$as_me:$LINENO: checking host system type" >&5
90860 +echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
90861 if test "${ac_cv_host+set}" = set; then
90862 echo $ECHO_N "(cached) $ECHO_C" >&6
90863 else
90864 - ac_cv_host_alias=$host_alias
90865 -test -z "$ac_cv_host_alias" &&
90866 - ac_cv_host_alias=$ac_cv_build_alias
90867 -ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
90868 - { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
90869 -echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
90870 + if test "x$host_alias" = x; then
90871 + ac_cv_host=$ac_cv_build
90872 +else
90873 + ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
90874 + { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
90875 +echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
90876 { (exit 1); exit 1; }; }
90877 +fi
90878
90879 fi
90880 -echo "$as_me:$LINENO: result: $ac_cv_host" >&5
90881 -echo "${ECHO_T}$ac_cv_host" >&6
90882 +{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
90883 +echo "${ECHO_T}$ac_cv_host" >&6; }
90884 +case $ac_cv_host in
90885 +*-*-*) ;;
90886 +*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
90887 +echo "$as_me: error: invalid value of canonical host" >&2;}
90888 + { (exit 1); exit 1; }; };;
90889 +esac
90890 host=$ac_cv_host
90891 -host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
90892 -host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
90893 -host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
90894 +ac_save_IFS=$IFS; IFS='-'
90895 +set x $ac_cv_host
90896 +shift
90897 +host_cpu=$1
90898 +host_vendor=$2
90899 +shift; shift
90900 +# Remember, the first character of IFS is used to create $*,
90901 +# except with old shells:
90902 +host_os=$*
90903 +IFS=$ac_save_IFS
90904 +case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
90905
90906
90907 -echo "$as_me:$LINENO: checking target system type" >&5
90908 -echo $ECHO_N "checking target system type... $ECHO_C" >&6
90909 +{ echo "$as_me:$LINENO: checking target system type" >&5
90910 +echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
90911 if test "${ac_cv_target+set}" = set; then
90912 echo $ECHO_N "(cached) $ECHO_C" >&6
90913 else
90914 - ac_cv_target_alias=$target_alias
90915 -test "x$ac_cv_target_alias" = "x" &&
90916 - ac_cv_target_alias=$ac_cv_host_alias
90917 -ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
90918 - { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
90919 -echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
90920 + if test "x$target_alias" = x; then
90921 + ac_cv_target=$ac_cv_host
90922 +else
90923 + ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
90924 + { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
90925 +echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
90926 { (exit 1); exit 1; }; }
90927 +fi
90928
90929 fi
90930 -echo "$as_me:$LINENO: result: $ac_cv_target" >&5
90931 -echo "${ECHO_T}$ac_cv_target" >&6
90932 +{ echo "$as_me:$LINENO: result: $ac_cv_target" >&5
90933 +echo "${ECHO_T}$ac_cv_target" >&6; }
90934 +case $ac_cv_target in
90935 +*-*-*) ;;
90936 +*) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
90937 +echo "$as_me: error: invalid value of canonical target" >&2;}
90938 + { (exit 1); exit 1; }; };;
90939 +esac
90940 target=$ac_cv_target
90941 -target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
90942 -target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
90943 -target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
90944 +ac_save_IFS=$IFS; IFS='-'
90945 +set x $ac_cv_target
90946 +shift
90947 +target_cpu=$1
90948 +target_vendor=$2
90949 +shift; shift
90950 +# Remember, the first character of IFS is used to create $*,
90951 +# except with old shells:
90952 +target_os=$*
90953 +IFS=$ac_save_IFS
90954 +case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
90955
90956
90957 # The aliases save the names the user supplied, while $host etc.
90958 @@ -1437,8 +1960,8 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
90959 if test -n "$ac_tool_prefix"; then
90960 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
90961 set dummy ${ac_tool_prefix}gcc; ac_word=$2
90962 -echo "$as_me:$LINENO: checking for $ac_word" >&5
90963 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
90964 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
90965 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
90966 if test "${ac_cv_prog_CC+set}" = set; then
90967 echo $ECHO_N "(cached) $ECHO_C" >&6
90968 else
90969 @@ -1451,32 +1974,34 @@ do
90970 IFS=$as_save_IFS
90971 test -z "$as_dir" && as_dir=.
90972 for ac_exec_ext in '' $ac_executable_extensions; do
90973 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
90974 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
90975 ac_cv_prog_CC="${ac_tool_prefix}gcc"
90976 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
90977 break 2
90978 fi
90979 done
90980 done
90981 +IFS=$as_save_IFS
90982
90983 fi
90984 fi
90985 CC=$ac_cv_prog_CC
90986 if test -n "$CC"; then
90987 - echo "$as_me:$LINENO: result: $CC" >&5
90988 -echo "${ECHO_T}$CC" >&6
90989 + { echo "$as_me:$LINENO: result: $CC" >&5
90990 +echo "${ECHO_T}$CC" >&6; }
90991 else
90992 - echo "$as_me:$LINENO: result: no" >&5
90993 -echo "${ECHO_T}no" >&6
90994 + { echo "$as_me:$LINENO: result: no" >&5
90995 +echo "${ECHO_T}no" >&6; }
90996 fi
90997
90998 +
90999 fi
91000 if test -z "$ac_cv_prog_CC"; then
91001 ac_ct_CC=$CC
91002 # Extract the first word of "gcc", so it can be a program name with args.
91003 set dummy gcc; ac_word=$2
91004 -echo "$as_me:$LINENO: checking for $ac_word" >&5
91005 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
91006 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
91007 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
91008 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
91009 echo $ECHO_N "(cached) $ECHO_C" >&6
91010 else
91011 @@ -1489,36 +2014,51 @@ do
91012 IFS=$as_save_IFS
91013 test -z "$as_dir" && as_dir=.
91014 for ac_exec_ext in '' $ac_executable_extensions; do
91015 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
91016 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
91017 ac_cv_prog_ac_ct_CC="gcc"
91018 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
91019 break 2
91020 fi
91021 done
91022 done
91023 +IFS=$as_save_IFS
91024
91025 fi
91026 fi
91027 ac_ct_CC=$ac_cv_prog_ac_ct_CC
91028 if test -n "$ac_ct_CC"; then
91029 - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
91030 -echo "${ECHO_T}$ac_ct_CC" >&6
91031 + { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
91032 +echo "${ECHO_T}$ac_ct_CC" >&6; }
91033 else
91034 - echo "$as_me:$LINENO: result: no" >&5
91035 -echo "${ECHO_T}no" >&6
91036 + { echo "$as_me:$LINENO: result: no" >&5
91037 +echo "${ECHO_T}no" >&6; }
91038 fi
91039
91040 - CC=$ac_ct_CC
91041 + if test "x$ac_ct_CC" = x; then
91042 + CC=""
91043 + else
91044 + case $cross_compiling:$ac_tool_warned in
91045 +yes:)
91046 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
91047 +whose name does not start with the host triplet. If you think this
91048 +configuration is useful to you, please write to autoconf@gnu.org." >&5
91049 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
91050 +whose name does not start with the host triplet. If you think this
91051 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
91052 +ac_tool_warned=yes ;;
91053 +esac
91054 + CC=$ac_ct_CC
91055 + fi
91056 else
91057 CC="$ac_cv_prog_CC"
91058 fi
91059
91060 if test -z "$CC"; then
91061 - if test -n "$ac_tool_prefix"; then
91062 - # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
91063 + if test -n "$ac_tool_prefix"; then
91064 + # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
91065 set dummy ${ac_tool_prefix}cc; ac_word=$2
91066 -echo "$as_me:$LINENO: checking for $ac_word" >&5
91067 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
91068 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
91069 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
91070 if test "${ac_cv_prog_CC+set}" = set; then
91071 echo $ECHO_N "(cached) $ECHO_C" >&6
91072 else
91073 @@ -1531,74 +2071,34 @@ do
91074 IFS=$as_save_IFS
91075 test -z "$as_dir" && as_dir=.
91076 for ac_exec_ext in '' $ac_executable_extensions; do
91077 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
91078 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
91079 ac_cv_prog_CC="${ac_tool_prefix}cc"
91080 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
91081 break 2
91082 fi
91083 done
91084 done
91085 +IFS=$as_save_IFS
91086
91087 fi
91088 fi
91089 CC=$ac_cv_prog_CC
91090 if test -n "$CC"; then
91091 - echo "$as_me:$LINENO: result: $CC" >&5
91092 -echo "${ECHO_T}$CC" >&6
91093 -else
91094 - echo "$as_me:$LINENO: result: no" >&5
91095 -echo "${ECHO_T}no" >&6
91096 -fi
91097 -
91098 -fi
91099 -if test -z "$ac_cv_prog_CC"; then
91100 - ac_ct_CC=$CC
91101 - # Extract the first word of "cc", so it can be a program name with args.
91102 -set dummy cc; ac_word=$2
91103 -echo "$as_me:$LINENO: checking for $ac_word" >&5
91104 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
91105 -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
91106 - echo $ECHO_N "(cached) $ECHO_C" >&6
91107 -else
91108 - if test -n "$ac_ct_CC"; then
91109 - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
91110 -else
91111 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
91112 -for as_dir in $PATH
91113 -do
91114 - IFS=$as_save_IFS
91115 - test -z "$as_dir" && as_dir=.
91116 - for ac_exec_ext in '' $ac_executable_extensions; do
91117 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
91118 - ac_cv_prog_ac_ct_CC="cc"
91119 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
91120 - break 2
91121 - fi
91122 -done
91123 -done
91124 -
91125 -fi
91126 -fi
91127 -ac_ct_CC=$ac_cv_prog_ac_ct_CC
91128 -if test -n "$ac_ct_CC"; then
91129 - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
91130 -echo "${ECHO_T}$ac_ct_CC" >&6
91131 + { echo "$as_me:$LINENO: result: $CC" >&5
91132 +echo "${ECHO_T}$CC" >&6; }
91133 else
91134 - echo "$as_me:$LINENO: result: no" >&5
91135 -echo "${ECHO_T}no" >&6
91136 + { echo "$as_me:$LINENO: result: no" >&5
91137 +echo "${ECHO_T}no" >&6; }
91138 fi
91139
91140 - CC=$ac_ct_CC
91141 -else
91142 - CC="$ac_cv_prog_CC"
91143 -fi
91144
91145 + fi
91146 fi
91147 if test -z "$CC"; then
91148 # Extract the first word of "cc", so it can be a program name with args.
91149 set dummy cc; ac_word=$2
91150 -echo "$as_me:$LINENO: checking for $ac_word" >&5
91151 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
91152 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
91153 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
91154 if test "${ac_cv_prog_CC+set}" = set; then
91155 echo $ECHO_N "(cached) $ECHO_C" >&6
91156 else
91157 @@ -1612,7 +2112,7 @@ do
91158 IFS=$as_save_IFS
91159 test -z "$as_dir" && as_dir=.
91160 for ac_exec_ext in '' $ac_executable_extensions; do
91161 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
91162 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
91163 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
91164 ac_prog_rejected=yes
91165 continue
91166 @@ -1623,6 +2123,7 @@ do
91167 fi
91168 done
91169 done
91170 +IFS=$as_save_IFS
91171
91172 if test $ac_prog_rejected = yes; then
91173 # We found a bogon in the path, so make sure we never use it.
91174 @@ -1640,22 +2141,23 @@ fi
91175 fi
91176 CC=$ac_cv_prog_CC
91177 if test -n "$CC"; then
91178 - echo "$as_me:$LINENO: result: $CC" >&5
91179 -echo "${ECHO_T}$CC" >&6
91180 + { echo "$as_me:$LINENO: result: $CC" >&5
91181 +echo "${ECHO_T}$CC" >&6; }
91182 else
91183 - echo "$as_me:$LINENO: result: no" >&5
91184 -echo "${ECHO_T}no" >&6
91185 + { echo "$as_me:$LINENO: result: no" >&5
91186 +echo "${ECHO_T}no" >&6; }
91187 fi
91188
91189 +
91190 fi
91191 if test -z "$CC"; then
91192 if test -n "$ac_tool_prefix"; then
91193 - for ac_prog in cl
91194 + for ac_prog in cl.exe
91195 do
91196 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
91197 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
91198 -echo "$as_me:$LINENO: checking for $ac_word" >&5
91199 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
91200 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
91201 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
91202 if test "${ac_cv_prog_CC+set}" = set; then
91203 echo $ECHO_N "(cached) $ECHO_C" >&6
91204 else
91205 @@ -1668,36 +2170,38 @@ do
91206 IFS=$as_save_IFS
91207 test -z "$as_dir" && as_dir=.
91208 for ac_exec_ext in '' $ac_executable_extensions; do
91209 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
91210 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
91211 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
91212 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
91213 break 2
91214 fi
91215 done
91216 done
91217 +IFS=$as_save_IFS
91218
91219 fi
91220 fi
91221 CC=$ac_cv_prog_CC
91222 if test -n "$CC"; then
91223 - echo "$as_me:$LINENO: result: $CC" >&5
91224 -echo "${ECHO_T}$CC" >&6
91225 + { echo "$as_me:$LINENO: result: $CC" >&5
91226 +echo "${ECHO_T}$CC" >&6; }
91227 else
91228 - echo "$as_me:$LINENO: result: no" >&5
91229 -echo "${ECHO_T}no" >&6
91230 + { echo "$as_me:$LINENO: result: no" >&5
91231 +echo "${ECHO_T}no" >&6; }
91232 fi
91233
91234 +
91235 test -n "$CC" && break
91236 done
91237 fi
91238 if test -z "$CC"; then
91239 ac_ct_CC=$CC
91240 - for ac_prog in cl
91241 + for ac_prog in cl.exe
91242 do
91243 # Extract the first word of "$ac_prog", so it can be a program name with args.
91244 set dummy $ac_prog; ac_word=$2
91245 -echo "$as_me:$LINENO: checking for $ac_word" >&5
91246 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
91247 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
91248 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
91249 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
91250 echo $ECHO_N "(cached) $ECHO_C" >&6
91251 else
91252 @@ -1710,29 +2214,45 @@ do
91253 IFS=$as_save_IFS
91254 test -z "$as_dir" && as_dir=.
91255 for ac_exec_ext in '' $ac_executable_extensions; do
91256 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
91257 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
91258 ac_cv_prog_ac_ct_CC="$ac_prog"
91259 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
91260 break 2
91261 fi
91262 done
91263 done
91264 +IFS=$as_save_IFS
91265
91266 fi
91267 fi
91268 ac_ct_CC=$ac_cv_prog_ac_ct_CC
91269 if test -n "$ac_ct_CC"; then
91270 - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
91271 -echo "${ECHO_T}$ac_ct_CC" >&6
91272 + { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
91273 +echo "${ECHO_T}$ac_ct_CC" >&6; }
91274 else
91275 - echo "$as_me:$LINENO: result: no" >&5
91276 -echo "${ECHO_T}no" >&6
91277 + { echo "$as_me:$LINENO: result: no" >&5
91278 +echo "${ECHO_T}no" >&6; }
91279 fi
91280
91281 +
91282 test -n "$ac_ct_CC" && break
91283 done
91284
91285 - CC=$ac_ct_CC
91286 + if test "x$ac_ct_CC" = x; then
91287 + CC=""
91288 + else
91289 + case $cross_compiling:$ac_tool_warned in
91290 +yes:)
91291 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
91292 +whose name does not start with the host triplet. If you think this
91293 +configuration is useful to you, please write to autoconf@gnu.org." >&5
91294 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
91295 +whose name does not start with the host triplet. If you think this
91296 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
91297 +ac_tool_warned=yes ;;
91298 +esac
91299 + CC=$ac_ct_CC
91300 + fi
91301 fi
91302
91303 fi
91304 @@ -1745,21 +2265,35 @@ See \`config.log' for more details." >&2
91305 { (exit 1); exit 1; }; }
91306
91307 # Provide some information about the compiler.
91308 -echo "$as_me:$LINENO:" \
91309 - "checking for C compiler version" >&5
91310 +echo "$as_me:$LINENO: checking for C compiler version" >&5
91311 ac_compiler=`set X $ac_compile; echo $2`
91312 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
91313 - (eval $ac_compiler --version </dev/null >&5) 2>&5
91314 +{ (ac_try="$ac_compiler --version >&5"
91315 +case "(($ac_try" in
91316 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
91317 + *) ac_try_echo=$ac_try;;
91318 +esac
91319 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
91320 + (eval "$ac_compiler --version >&5") 2>&5
91321 ac_status=$?
91322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91323 (exit $ac_status); }
91324 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
91325 - (eval $ac_compiler -v </dev/null >&5) 2>&5
91326 +{ (ac_try="$ac_compiler -v >&5"
91327 +case "(($ac_try" in
91328 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
91329 + *) ac_try_echo=$ac_try;;
91330 +esac
91331 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
91332 + (eval "$ac_compiler -v >&5") 2>&5
91333 ac_status=$?
91334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91335 (exit $ac_status); }
91336 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
91337 - (eval $ac_compiler -V </dev/null >&5) 2>&5
91338 +{ (ac_try="$ac_compiler -V >&5"
91339 +case "(($ac_try" in
91340 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
91341 + *) ac_try_echo=$ac_try;;
91342 +esac
91343 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
91344 + (eval "$ac_compiler -V >&5") 2>&5
91345 ac_status=$?
91346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91347 (exit $ac_status); }
91348 @@ -1784,47 +2318,77 @@ ac_clean_files="$ac_clean_files a.out a.
91349 # Try to create an executable without -o first, disregard a.out.
91350 # It will help us diagnose broken compilers, and finding out an intuition
91351 # of exeext.
91352 -echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
91353 -echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
91354 +{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
91355 +echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
91356 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
91357 -if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
91358 - (eval $ac_link_default) 2>&5
91359 +#
91360 +# List of possible output files, starting from the most likely.
91361 +# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
91362 +# only as a last resort. b.out is created by i960 compilers.
91363 +ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
91364 +#
91365 +# The IRIX 6 linker writes into existing files which may not be
91366 +# executable, retaining their permissions. Remove them first so a
91367 +# subsequent execution test works.
91368 +ac_rmfiles=
91369 +for ac_file in $ac_files
91370 +do
91371 + case $ac_file in
91372 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
91373 + * ) ac_rmfiles="$ac_rmfiles $ac_file";;
91374 + esac
91375 +done
91376 +rm -f $ac_rmfiles
91377 +
91378 +if { (ac_try="$ac_link_default"
91379 +case "(($ac_try" in
91380 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
91381 + *) ac_try_echo=$ac_try;;
91382 +esac
91383 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
91384 + (eval "$ac_link_default") 2>&5
91385 ac_status=$?
91386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91387 (exit $ac_status); }; then
91388 - # Find the output, starting from the most likely. This scheme is
91389 -# not robust to junk in `.', hence go to wildcards (a.*) only as a last
91390 -# resort.
91391 -
91392 -# Be careful to initialize this variable, since it used to be cached.
91393 -# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
91394 -ac_cv_exeext=
91395 -# b.out is created by i960 compilers.
91396 -for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
91397 + # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
91398 +# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
91399 +# in a Makefile. We should not override ac_cv_exeext if it was cached,
91400 +# so that the user can short-circuit this test for compilers unknown to
91401 +# Autoconf.
91402 +for ac_file in $ac_files ''
91403 do
91404 test -f "$ac_file" || continue
91405 case $ac_file in
91406 - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
91407 - ;;
91408 - conftest.$ac_ext )
91409 - # This is the source file.
91410 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
91411 ;;
91412 [ab].out )
91413 # We found the default executable, but exeext='' is most
91414 # certainly right.
91415 break;;
91416 *.* )
91417 - ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
91418 - # FIXME: I believe we export ac_cv_exeext for Libtool,
91419 - # but it would be cool to find out if it's true. Does anybody
91420 - # maintain Libtool? --akim.
91421 - export ac_cv_exeext
91422 + if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
91423 + then :; else
91424 + ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
91425 + fi
91426 + # We set ac_cv_exeext here because the later test for it is not
91427 + # safe: cross compilers may not add the suffix if given an `-o'
91428 + # argument, so we may need to know it at that point already.
91429 + # Even if this section looks crufty: it has the advantage of
91430 + # actually working.
91431 break;;
91432 * )
91433 break;;
91434 esac
91435 done
91436 +test "$ac_cv_exeext" = no && ac_cv_exeext=
91437 +
91438 else
91439 + ac_file=''
91440 +fi
91441 +
91442 +{ echo "$as_me:$LINENO: result: $ac_file" >&5
91443 +echo "${ECHO_T}$ac_file" >&6; }
91444 +if test -z "$ac_file"; then
91445 echo "$as_me: failed program was:" >&5
91446 sed 's/^/| /' conftest.$ac_ext >&5
91447
91448 @@ -1836,19 +2400,21 @@ See \`config.log' for more details." >&2
91449 fi
91450
91451 ac_exeext=$ac_cv_exeext
91452 -echo "$as_me:$LINENO: result: $ac_file" >&5
91453 -echo "${ECHO_T}$ac_file" >&6
91454
91455 -# Check the compiler produces executables we can run. If not, either
91456 +# Check that the compiler produces executables we can run. If not, either
91457 # the compiler is broken, or we cross compile.
91458 -echo "$as_me:$LINENO: checking whether the C compiler works" >&5
91459 -echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
91460 +{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
91461 +echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
91462 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
91463 # If not cross compiling, check that we can run a simple program.
91464 if test "$cross_compiling" != yes; then
91465 if { ac_try='./$ac_file'
91466 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91467 - (eval $ac_try) 2>&5
91468 + { (case "(($ac_try" in
91469 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
91470 + *) ac_try_echo=$ac_try;;
91471 +esac
91472 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
91473 + (eval "$ac_try") 2>&5
91474 ac_status=$?
91475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91476 (exit $ac_status); }; }; then
91477 @@ -1867,22 +2433,27 @@ See \`config.log' for more details." >&2
91478 fi
91479 fi
91480 fi
91481 -echo "$as_me:$LINENO: result: yes" >&5
91482 -echo "${ECHO_T}yes" >&6
91483 +{ echo "$as_me:$LINENO: result: yes" >&5
91484 +echo "${ECHO_T}yes" >&6; }
91485
91486 rm -f a.out a.exe conftest$ac_cv_exeext b.out
91487 ac_clean_files=$ac_clean_files_save
91488 -# Check the compiler produces executables we can run. If not, either
91489 +# Check that the compiler produces executables we can run. If not, either
91490 # the compiler is broken, or we cross compile.
91491 -echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
91492 -echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
91493 -echo "$as_me:$LINENO: result: $cross_compiling" >&5
91494 -echo "${ECHO_T}$cross_compiling" >&6
91495 -
91496 -echo "$as_me:$LINENO: checking for suffix of executables" >&5
91497 -echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
91498 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91499 - (eval $ac_link) 2>&5
91500 +{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
91501 +echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
91502 +{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
91503 +echo "${ECHO_T}$cross_compiling" >&6; }
91504 +
91505 +{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
91506 +echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
91507 +if { (ac_try="$ac_link"
91508 +case "(($ac_try" in
91509 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
91510 + *) ac_try_echo=$ac_try;;
91511 +esac
91512 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
91513 + (eval "$ac_link") 2>&5
91514 ac_status=$?
91515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91516 (exit $ac_status); }; then
91517 @@ -1893,9 +2464,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_l
91518 for ac_file in conftest.exe conftest conftest.*; do
91519 test -f "$ac_file" || continue
91520 case $ac_file in
91521 - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
91522 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
91523 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
91524 - export ac_cv_exeext
91525 break;;
91526 * ) break;;
91527 esac
91528 @@ -1909,14 +2479,14 @@ See \`config.log' for more details." >&2
91529 fi
91530
91531 rm -f conftest$ac_cv_exeext
91532 -echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
91533 -echo "${ECHO_T}$ac_cv_exeext" >&6
91534 +{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
91535 +echo "${ECHO_T}$ac_cv_exeext" >&6; }
91536
91537 rm -f conftest.$ac_ext
91538 EXEEXT=$ac_cv_exeext
91539 ac_exeext=$EXEEXT
91540 -echo "$as_me:$LINENO: checking for suffix of object files" >&5
91541 -echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
91542 +{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
91543 +echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
91544 if test "${ac_cv_objext+set}" = set; then
91545 echo $ECHO_N "(cached) $ECHO_C" >&6
91546 else
91547 @@ -1936,14 +2506,20 @@ main ()
91548 }
91549 _ACEOF
91550 rm -f conftest.o conftest.obj
91551 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91552 - (eval $ac_compile) 2>&5
91553 +if { (ac_try="$ac_compile"
91554 +case "(($ac_try" in
91555 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
91556 + *) ac_try_echo=$ac_try;;
91557 +esac
91558 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
91559 + (eval "$ac_compile") 2>&5
91560 ac_status=$?
91561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91562 (exit $ac_status); }; then
91563 - for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
91564 + for ac_file in conftest.o conftest.obj conftest.*; do
91565 + test -f "$ac_file" || continue;
91566 case $ac_file in
91567 - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
91568 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
91569 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
91570 break;;
91571 esac
91572 @@ -1961,12 +2537,12 @@ fi
91573
91574 rm -f conftest.$ac_cv_objext conftest.$ac_ext
91575 fi
91576 -echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
91577 -echo "${ECHO_T}$ac_cv_objext" >&6
91578 +{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
91579 +echo "${ECHO_T}$ac_cv_objext" >&6; }
91580 OBJEXT=$ac_cv_objext
91581 ac_objext=$OBJEXT
91582 -echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
91583 -echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
91584 +{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
91585 +echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
91586 if test "${ac_cv_c_compiler_gnu+set}" = set; then
91587 echo $ECHO_N "(cached) $ECHO_C" >&6
91588 else
91589 @@ -1989,50 +2565,49 @@ main ()
91590 }
91591 _ACEOF
91592 rm -f conftest.$ac_objext
91593 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91594 - (eval $ac_compile) 2>conftest.er1
91595 +if { (ac_try="$ac_compile"
91596 +case "(($ac_try" in
91597 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
91598 + *) ac_try_echo=$ac_try;;
91599 +esac
91600 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
91601 + (eval "$ac_compile") 2>conftest.er1
91602 ac_status=$?
91603 grep -v '^ *+' conftest.er1 >conftest.err
91604 rm -f conftest.er1
91605 cat conftest.err >&5
91606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91607 - (exit $ac_status); } &&
91608 - { ac_try='test -z "$ac_c_werror_flag"
91609 - || test ! -s conftest.err'
91610 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91611 - (eval $ac_try) 2>&5
91612 - ac_status=$?
91613 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
91614 - (exit $ac_status); }; } &&
91615 - { ac_try='test -s conftest.$ac_objext'
91616 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91617 - (eval $ac_try) 2>&5
91618 - ac_status=$?
91619 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
91620 - (exit $ac_status); }; }; then
91621 + (exit $ac_status); } && {
91622 + test -z "$ac_c_werror_flag" ||
91623 + test ! -s conftest.err
91624 + } && test -s conftest.$ac_objext; then
91625 ac_compiler_gnu=yes
91626 else
91627 echo "$as_me: failed program was:" >&5
91628 sed 's/^/| /' conftest.$ac_ext >&5
91629
91630 -ac_compiler_gnu=no
91631 + ac_compiler_gnu=no
91632 fi
91633 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91634 +
91635 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
91636 ac_cv_c_compiler_gnu=$ac_compiler_gnu
91637
91638 fi
91639 -echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
91640 -echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
91641 +{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
91642 +echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
91643 GCC=`test $ac_compiler_gnu = yes && echo yes`
91644 ac_test_CFLAGS=${CFLAGS+set}
91645 ac_save_CFLAGS=$CFLAGS
91646 -CFLAGS="-g"
91647 -echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
91648 -echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
91649 +{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
91650 +echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
91651 if test "${ac_cv_prog_cc_g+set}" = set; then
91652 echo $ECHO_N "(cached) $ECHO_C" >&6
91653 else
91654 - cat >conftest.$ac_ext <<_ACEOF
91655 + ac_save_c_werror_flag=$ac_c_werror_flag
91656 + ac_c_werror_flag=yes
91657 + ac_cv_prog_cc_g=no
91658 + CFLAGS="-g"
91659 + cat >conftest.$ac_ext <<_ACEOF
91660 /* confdefs.h. */
91661 _ACEOF
91662 cat confdefs.h >>conftest.$ac_ext
91663 @@ -2048,38 +2623,118 @@ main ()
91664 }
91665 _ACEOF
91666 rm -f conftest.$ac_objext
91667 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91668 - (eval $ac_compile) 2>conftest.er1
91669 +if { (ac_try="$ac_compile"
91670 +case "(($ac_try" in
91671 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
91672 + *) ac_try_echo=$ac_try;;
91673 +esac
91674 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
91675 + (eval "$ac_compile") 2>conftest.er1
91676 ac_status=$?
91677 grep -v '^ *+' conftest.er1 >conftest.err
91678 rm -f conftest.er1
91679 cat conftest.err >&5
91680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91681 - (exit $ac_status); } &&
91682 - { ac_try='test -z "$ac_c_werror_flag"
91683 - || test ! -s conftest.err'
91684 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91685 - (eval $ac_try) 2>&5
91686 + (exit $ac_status); } && {
91687 + test -z "$ac_c_werror_flag" ||
91688 + test ! -s conftest.err
91689 + } && test -s conftest.$ac_objext; then
91690 + ac_cv_prog_cc_g=yes
91691 +else
91692 + echo "$as_me: failed program was:" >&5
91693 +sed 's/^/| /' conftest.$ac_ext >&5
91694 +
91695 + CFLAGS=""
91696 + cat >conftest.$ac_ext <<_ACEOF
91697 +/* confdefs.h. */
91698 +_ACEOF
91699 +cat confdefs.h >>conftest.$ac_ext
91700 +cat >>conftest.$ac_ext <<_ACEOF
91701 +/* end confdefs.h. */
91702 +
91703 +int
91704 +main ()
91705 +{
91706 +
91707 + ;
91708 + return 0;
91709 +}
91710 +_ACEOF
91711 +rm -f conftest.$ac_objext
91712 +if { (ac_try="$ac_compile"
91713 +case "(($ac_try" in
91714 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
91715 + *) ac_try_echo=$ac_try;;
91716 +esac
91717 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
91718 + (eval "$ac_compile") 2>conftest.er1
91719 ac_status=$?
91720 + grep -v '^ *+' conftest.er1 >conftest.err
91721 + rm -f conftest.er1
91722 + cat conftest.err >&5
91723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91724 - (exit $ac_status); }; } &&
91725 - { ac_try='test -s conftest.$ac_objext'
91726 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91727 - (eval $ac_try) 2>&5
91728 + (exit $ac_status); } && {
91729 + test -z "$ac_c_werror_flag" ||
91730 + test ! -s conftest.err
91731 + } && test -s conftest.$ac_objext; then
91732 + :
91733 +else
91734 + echo "$as_me: failed program was:" >&5
91735 +sed 's/^/| /' conftest.$ac_ext >&5
91736 +
91737 + ac_c_werror_flag=$ac_save_c_werror_flag
91738 + CFLAGS="-g"
91739 + cat >conftest.$ac_ext <<_ACEOF
91740 +/* confdefs.h. */
91741 +_ACEOF
91742 +cat confdefs.h >>conftest.$ac_ext
91743 +cat >>conftest.$ac_ext <<_ACEOF
91744 +/* end confdefs.h. */
91745 +
91746 +int
91747 +main ()
91748 +{
91749 +
91750 + ;
91751 + return 0;
91752 +}
91753 +_ACEOF
91754 +rm -f conftest.$ac_objext
91755 +if { (ac_try="$ac_compile"
91756 +case "(($ac_try" in
91757 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
91758 + *) ac_try_echo=$ac_try;;
91759 +esac
91760 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
91761 + (eval "$ac_compile") 2>conftest.er1
91762 ac_status=$?
91763 + grep -v '^ *+' conftest.er1 >conftest.err
91764 + rm -f conftest.er1
91765 + cat conftest.err >&5
91766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91767 - (exit $ac_status); }; }; then
91768 + (exit $ac_status); } && {
91769 + test -z "$ac_c_werror_flag" ||
91770 + test ! -s conftest.err
91771 + } && test -s conftest.$ac_objext; then
91772 ac_cv_prog_cc_g=yes
91773 else
91774 echo "$as_me: failed program was:" >&5
91775 sed 's/^/| /' conftest.$ac_ext >&5
91776
91777 -ac_cv_prog_cc_g=no
91778 +
91779 +fi
91780 +
91781 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
91782 +fi
91783 +
91784 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
91785 fi
91786 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91787 +
91788 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
91789 + ac_c_werror_flag=$ac_save_c_werror_flag
91790 fi
91791 -echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
91792 -echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
91793 +{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
91794 +echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
91795 if test "$ac_test_CFLAGS" = set; then
91796 CFLAGS=$ac_save_CFLAGS
91797 elif test $ac_cv_prog_cc_g = yes; then
91798 @@ -2095,12 +2750,12 @@ else
91799 CFLAGS=
91800 fi
91801 fi
91802 -echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
91803 -echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
91804 -if test "${ac_cv_prog_cc_stdc+set}" = set; then
91805 +{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
91806 +echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
91807 +if test "${ac_cv_prog_cc_c89+set}" = set; then
91808 echo $ECHO_N "(cached) $ECHO_C" >&6
91809 else
91810 - ac_cv_prog_cc_stdc=no
91811 + ac_cv_prog_cc_c89=no
91812 ac_save_CC=$CC
91813 cat >conftest.$ac_ext <<_ACEOF
91814 /* confdefs.h. */
91815 @@ -2134,12 +2789,17 @@ static char *f (char * (*g) (char **, in
91816 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
91817 function prototypes and stuff, but not '\xHH' hex character constants.
91818 These don't provoke an error unfortunately, instead are silently treated
91819 - as 'x'. The following induces an error, until -std1 is added to get
91820 + as 'x'. The following induces an error, until -std is added to get
91821 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
91822 array size at least. It's necessary to write '\x00'==0 to get something
91823 - that's true only with -std1. */
91824 + that's true only with -std. */
91825 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
91826
91827 +/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
91828 + inside strings and character constants. */
91829 +#define FOO(x) 'x'
91830 +int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
91831 +
91832 int test (int i, double x);
91833 struct s1 {int (*f) (int a);};
91834 struct s2 {int (*f) (double a);};
91835 @@ -2154,335 +2814,144 @@ return f (e, argv, 0) != argv[0] || f
91836 return 0;
91837 }
91838 _ACEOF
91839 -# Don't try gcc -ansi; that turns off useful extensions and
91840 -# breaks some systems' header files.
91841 -# AIX -qlanglvl=ansi
91842 -# Ultrix and OSF/1 -std1
91843 -# HP-UX 10.20 and later -Ae
91844 -# HP-UX older versions -Aa -D_HPUX_SOURCE
91845 -# SVR4 -Xc -D__EXTENSIONS__
91846 -for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
91847 +for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
91848 + -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
91849 do
91850 CC="$ac_save_CC $ac_arg"
91851 rm -f conftest.$ac_objext
91852 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91853 - (eval $ac_compile) 2>conftest.er1
91854 +if { (ac_try="$ac_compile"
91855 +case "(($ac_try" in
91856 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
91857 + *) ac_try_echo=$ac_try;;
91858 +esac
91859 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
91860 + (eval "$ac_compile") 2>conftest.er1
91861 ac_status=$?
91862 grep -v '^ *+' conftest.er1 >conftest.err
91863 rm -f conftest.er1
91864 cat conftest.err >&5
91865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91866 - (exit $ac_status); } &&
91867 - { ac_try='test -z "$ac_c_werror_flag"
91868 - || test ! -s conftest.err'
91869 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91870 - (eval $ac_try) 2>&5
91871 - ac_status=$?
91872 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
91873 - (exit $ac_status); }; } &&
91874 - { ac_try='test -s conftest.$ac_objext'
91875 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91876 - (eval $ac_try) 2>&5
91877 - ac_status=$?
91878 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
91879 - (exit $ac_status); }; }; then
91880 - ac_cv_prog_cc_stdc=$ac_arg
91881 -break
91882 + (exit $ac_status); } && {
91883 + test -z "$ac_c_werror_flag" ||
91884 + test ! -s conftest.err
91885 + } && test -s conftest.$ac_objext; then
91886 + ac_cv_prog_cc_c89=$ac_arg
91887 else
91888 echo "$as_me: failed program was:" >&5
91889 sed 's/^/| /' conftest.$ac_ext >&5
91890
91891 +
91892 fi
91893 -rm -f conftest.err conftest.$ac_objext
91894 +
91895 +rm -f core conftest.err conftest.$ac_objext
91896 + test "x$ac_cv_prog_cc_c89" != "xno" && break
91897 done
91898 -rm -f conftest.$ac_ext conftest.$ac_objext
91899 +rm -f conftest.$ac_ext
91900 CC=$ac_save_CC
91901
91902 fi
91903 -
91904 -case "x$ac_cv_prog_cc_stdc" in
91905 - x|xno)
91906 - echo "$as_me:$LINENO: result: none needed" >&5
91907 -echo "${ECHO_T}none needed" >&6 ;;
91908 +# AC_CACHE_VAL
91909 +case "x$ac_cv_prog_cc_c89" in
91910 + x)
91911 + { echo "$as_me:$LINENO: result: none needed" >&5
91912 +echo "${ECHO_T}none needed" >&6; } ;;
91913 + xno)
91914 + { echo "$as_me:$LINENO: result: unsupported" >&5
91915 +echo "${ECHO_T}unsupported" >&6; } ;;
91916 *)
91917 - echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
91918 -echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
91919 - CC="$CC $ac_cv_prog_cc_stdc" ;;
91920 + CC="$CC $ac_cv_prog_cc_c89"
91921 + { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
91922 +echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
91923 esac
91924
91925 -# Some people use a C++ compiler to compile C. Since we use `exit',
91926 -# in C++ we need to declare it. In case someone uses the same compiler
91927 -# for both compiling C and C++ we need to have the C++ compiler decide
91928 -# the declaration of exit, since it's the most demanding environment.
91929 +
91930 +ac_ext=c
91931 +ac_cpp='$CPP $CPPFLAGS'
91932 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91933 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91934 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
91935 +
91936 +
91937 +{ echo "$as_me:$LINENO: checking for library containing strerror" >&5
91938 +echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6; }
91939 +if test "${ac_cv_search_strerror+set}" = set; then
91940 + echo $ECHO_N "(cached) $ECHO_C" >&6
91941 +else
91942 + ac_func_search_save_LIBS=$LIBS
91943 cat >conftest.$ac_ext <<_ACEOF
91944 -#ifndef __cplusplus
91945 - choke me
91946 -#endif
91947 -_ACEOF
91948 -rm -f conftest.$ac_objext
91949 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91950 - (eval $ac_compile) 2>conftest.er1
91951 - ac_status=$?
91952 - grep -v '^ *+' conftest.er1 >conftest.err
91953 - rm -f conftest.er1
91954 - cat conftest.err >&5
91955 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
91956 - (exit $ac_status); } &&
91957 - { ac_try='test -z "$ac_c_werror_flag"
91958 - || test ! -s conftest.err'
91959 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91960 - (eval $ac_try) 2>&5
91961 - ac_status=$?
91962 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
91963 - (exit $ac_status); }; } &&
91964 - { ac_try='test -s conftest.$ac_objext'
91965 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91966 - (eval $ac_try) 2>&5
91967 - ac_status=$?
91968 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
91969 - (exit $ac_status); }; }; then
91970 - for ac_declaration in \
91971 - '' \
91972 - 'extern "C" void std::exit (int) throw (); using std::exit;' \
91973 - 'extern "C" void std::exit (int); using std::exit;' \
91974 - 'extern "C" void exit (int) throw ();' \
91975 - 'extern "C" void exit (int);' \
91976 - 'void exit (int);'
91977 -do
91978 - cat >conftest.$ac_ext <<_ACEOF
91979 /* confdefs.h. */
91980 _ACEOF
91981 cat confdefs.h >>conftest.$ac_ext
91982 cat >>conftest.$ac_ext <<_ACEOF
91983 /* end confdefs.h. */
91984 -$ac_declaration
91985 -#include <stdlib.h>
91986 +
91987 +/* Override any GCC internal prototype to avoid an error.
91988 + Use char because int might match the return type of a GCC
91989 + builtin and then its argument prototype would still apply. */
91990 +#ifdef __cplusplus
91991 +extern "C"
91992 +#endif
91993 +char strerror ();
91994 int
91995 main ()
91996 {
91997 -exit (42);
91998 +return strerror ();
91999 ;
92000 return 0;
92001 }
92002 _ACEOF
92003 -rm -f conftest.$ac_objext
92004 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92005 - (eval $ac_compile) 2>conftest.er1
92006 +for ac_lib in '' cposix; do
92007 + if test -z "$ac_lib"; then
92008 + ac_res="none required"
92009 + else
92010 + ac_res=-l$ac_lib
92011 + LIBS="-l$ac_lib $ac_func_search_save_LIBS"
92012 + fi
92013 + rm -f conftest.$ac_objext conftest$ac_exeext
92014 +if { (ac_try="$ac_link"
92015 +case "(($ac_try" in
92016 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
92017 + *) ac_try_echo=$ac_try;;
92018 +esac
92019 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
92020 + (eval "$ac_link") 2>conftest.er1
92021 ac_status=$?
92022 grep -v '^ *+' conftest.er1 >conftest.err
92023 rm -f conftest.er1
92024 cat conftest.err >&5
92025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92026 - (exit $ac_status); } &&
92027 - { ac_try='test -z "$ac_c_werror_flag"
92028 - || test ! -s conftest.err'
92029 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92030 - (eval $ac_try) 2>&5
92031 - ac_status=$?
92032 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
92033 - (exit $ac_status); }; } &&
92034 - { ac_try='test -s conftest.$ac_objext'
92035 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92036 - (eval $ac_try) 2>&5
92037 - ac_status=$?
92038 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
92039 - (exit $ac_status); }; }; then
92040 - :
92041 + (exit $ac_status); } && {
92042 + test -z "$ac_c_werror_flag" ||
92043 + test ! -s conftest.err
92044 + } && test -s conftest$ac_exeext &&
92045 + $as_test_x conftest$ac_exeext; then
92046 + ac_cv_search_strerror=$ac_res
92047 else
92048 echo "$as_me: failed program was:" >&5
92049 sed 's/^/| /' conftest.$ac_ext >&5
92050
92051 -continue
92052 -fi
92053 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92054 - cat >conftest.$ac_ext <<_ACEOF
92055 -/* confdefs.h. */
92056 -_ACEOF
92057 -cat confdefs.h >>conftest.$ac_ext
92058 -cat >>conftest.$ac_ext <<_ACEOF
92059 -/* end confdefs.h. */
92060 -$ac_declaration
92061 -int
92062 -main ()
92063 -{
92064 -exit (42);
92065 - ;
92066 - return 0;
92067 -}
92068 -_ACEOF
92069 -rm -f conftest.$ac_objext
92070 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92071 - (eval $ac_compile) 2>conftest.er1
92072 - ac_status=$?
92073 - grep -v '^ *+' conftest.er1 >conftest.err
92074 - rm -f conftest.er1
92075 - cat conftest.err >&5
92076 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
92077 - (exit $ac_status); } &&
92078 - { ac_try='test -z "$ac_c_werror_flag"
92079 - || test ! -s conftest.err'
92080 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92081 - (eval $ac_try) 2>&5
92082 - ac_status=$?
92083 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
92084 - (exit $ac_status); }; } &&
92085 - { ac_try='test -s conftest.$ac_objext'
92086 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92087 - (eval $ac_try) 2>&5
92088 - ac_status=$?
92089 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
92090 - (exit $ac_status); }; }; then
92091 - break
92092 -else
92093 - echo "$as_me: failed program was:" >&5
92094 -sed 's/^/| /' conftest.$ac_ext >&5
92095
92096 fi
92097 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92098 -done
92099 -rm -f conftest*
92100 -if test -n "$ac_declaration"; then
92101 - echo '#ifdef __cplusplus' >>confdefs.h
92102 - echo $ac_declaration >>confdefs.h
92103 - echo '#endif' >>confdefs.h
92104 -fi
92105 -
92106 -else
92107 - echo "$as_me: failed program was:" >&5
92108 -sed 's/^/| /' conftest.$ac_ext >&5
92109
92110 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
92111 + conftest$ac_exeext
92112 + if test "${ac_cv_search_strerror+set}" = set; then
92113 + break
92114 fi
92115 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92116 -ac_ext=c
92117 -ac_cpp='$CPP $CPPFLAGS'
92118 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92119 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92120 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
92121 -
92122 -
92123 -echo "$as_me:$LINENO: checking for library containing strerror" >&5
92124 -echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6
92125 +done
92126 if test "${ac_cv_search_strerror+set}" = set; then
92127 - echo $ECHO_N "(cached) $ECHO_C" >&6
92128 -else
92129 - ac_func_search_save_LIBS=$LIBS
92130 -ac_cv_search_strerror=no
92131 -cat >conftest.$ac_ext <<_ACEOF
92132 -/* confdefs.h. */
92133 -_ACEOF
92134 -cat confdefs.h >>conftest.$ac_ext
92135 -cat >>conftest.$ac_ext <<_ACEOF
92136 -/* end confdefs.h. */
92137 -
92138 -/* Override any gcc2 internal prototype to avoid an error. */
92139 -#ifdef __cplusplus
92140 -extern "C"
92141 -#endif
92142 -/* We use char because int might match the return type of a gcc2
92143 - builtin and then its argument prototype would still apply. */
92144 -char strerror ();
92145 -int
92146 -main ()
92147 -{
92148 -strerror ();
92149 - ;
92150 - return 0;
92151 -}
92152 -_ACEOF
92153 -rm -f conftest.$ac_objext conftest$ac_exeext
92154 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92155 - (eval $ac_link) 2>conftest.er1
92156 - ac_status=$?
92157 - grep -v '^ *+' conftest.er1 >conftest.err
92158 - rm -f conftest.er1
92159 - cat conftest.err >&5
92160 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
92161 - (exit $ac_status); } &&
92162 - { ac_try='test -z "$ac_c_werror_flag"
92163 - || test ! -s conftest.err'
92164 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92165 - (eval $ac_try) 2>&5
92166 - ac_status=$?
92167 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
92168 - (exit $ac_status); }; } &&
92169 - { ac_try='test -s conftest$ac_exeext'
92170 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92171 - (eval $ac_try) 2>&5
92172 - ac_status=$?
92173 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
92174 - (exit $ac_status); }; }; then
92175 - ac_cv_search_strerror="none required"
92176 -else
92177 - echo "$as_me: failed program was:" >&5
92178 -sed 's/^/| /' conftest.$ac_ext >&5
92179 -
92180 -fi
92181 -rm -f conftest.err conftest.$ac_objext \
92182 - conftest$ac_exeext conftest.$ac_ext
92183 -if test "$ac_cv_search_strerror" = no; then
92184 - for ac_lib in cposix; do
92185 - LIBS="-l$ac_lib $ac_func_search_save_LIBS"
92186 - cat >conftest.$ac_ext <<_ACEOF
92187 -/* confdefs.h. */
92188 -_ACEOF
92189 -cat confdefs.h >>conftest.$ac_ext
92190 -cat >>conftest.$ac_ext <<_ACEOF
92191 -/* end confdefs.h. */
92192 -
92193 -/* Override any gcc2 internal prototype to avoid an error. */
92194 -#ifdef __cplusplus
92195 -extern "C"
92196 -#endif
92197 -/* We use char because int might match the return type of a gcc2
92198 - builtin and then its argument prototype would still apply. */
92199 -char strerror ();
92200 -int
92201 -main ()
92202 -{
92203 -strerror ();
92204 - ;
92205 - return 0;
92206 -}
92207 -_ACEOF
92208 -rm -f conftest.$ac_objext conftest$ac_exeext
92209 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92210 - (eval $ac_link) 2>conftest.er1
92211 - ac_status=$?
92212 - grep -v '^ *+' conftest.er1 >conftest.err
92213 - rm -f conftest.er1
92214 - cat conftest.err >&5
92215 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
92216 - (exit $ac_status); } &&
92217 - { ac_try='test -z "$ac_c_werror_flag"
92218 - || test ! -s conftest.err'
92219 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92220 - (eval $ac_try) 2>&5
92221 - ac_status=$?
92222 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
92223 - (exit $ac_status); }; } &&
92224 - { ac_try='test -s conftest$ac_exeext'
92225 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92226 - (eval $ac_try) 2>&5
92227 - ac_status=$?
92228 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
92229 - (exit $ac_status); }; }; then
92230 - ac_cv_search_strerror="-l$ac_lib"
92231 -break
92232 + :
92233 else
92234 - echo "$as_me: failed program was:" >&5
92235 -sed 's/^/| /' conftest.$ac_ext >&5
92236 -
92237 -fi
92238 -rm -f conftest.err conftest.$ac_objext \
92239 - conftest$ac_exeext conftest.$ac_ext
92240 - done
92241 + ac_cv_search_strerror=no
92242 fi
92243 +rm conftest.$ac_ext
92244 LIBS=$ac_func_search_save_LIBS
92245 fi
92246 -echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
92247 -echo "${ECHO_T}$ac_cv_search_strerror" >&6
92248 -if test "$ac_cv_search_strerror" != no; then
92249 - test "$ac_cv_search_strerror" = "none required" || LIBS="$ac_cv_search_strerror $LIBS"
92250 +{ echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
92251 +echo "${ECHO_T}$ac_cv_search_strerror" >&6; }
92252 +ac_res=$ac_cv_search_strerror
92253 +if test "$ac_res" != no; then
92254 + test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
92255
92256 fi
92257
92258 @@ -2506,8 +2975,8 @@ am__api_version="1.9"
92259 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
92260 # OS/2's system install, which has a completely different semantic
92261 # ./install, which can be erroneously created by make from ./install.sh.
92262 -echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
92263 -echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
92264 +{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
92265 +echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
92266 if test -z "$INSTALL"; then
92267 if test "${ac_cv_path_install+set}" = set; then
92268 echo $ECHO_N "(cached) $ECHO_C" >&6
92269 @@ -2529,7 +2998,7 @@ case $as_dir/ in
92270 # by default.
92271 for ac_prog in ginstall scoinst install; do
92272 for ac_exec_ext in '' $ac_executable_extensions; do
92273 - if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
92274 + if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
92275 if test $ac_prog = install &&
92276 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
92277 # AIX install. It has an incompatible calling convention.
92278 @@ -2548,21 +3017,22 @@ case $as_dir/ in
92279 ;;
92280 esac
92281 done
92282 +IFS=$as_save_IFS
92283
92284
92285 fi
92286 if test "${ac_cv_path_install+set}" = set; then
92287 INSTALL=$ac_cv_path_install
92288 else
92289 - # As a last resort, use the slow shell script. We don't cache a
92290 - # path for INSTALL within a source directory, because that will
92291 + # As a last resort, use the slow shell script. Don't cache a
92292 + # value for INSTALL within a source directory, because that will
92293 # break other packages using the cache if that directory is
92294 - # removed, or if the path is relative.
92295 + # removed, or if the value is a relative name.
92296 INSTALL=$ac_install_sh
92297 fi
92298 fi
92299 -echo "$as_me:$LINENO: result: $INSTALL" >&5
92300 -echo "${ECHO_T}$INSTALL" >&6
92301 +{ echo "$as_me:$LINENO: result: $INSTALL" >&5
92302 +echo "${ECHO_T}$INSTALL" >&6; }
92303
92304 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
92305 # It thinks the first close brace ends the variable substitution.
92306 @@ -2572,8 +3042,8 @@ test -z "$INSTALL_SCRIPT" && INSTALL_SCR
92307
92308 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
92309
92310 -echo "$as_me:$LINENO: checking whether build environment is sane" >&5
92311 -echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
92312 +{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
92313 +echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
92314 # Just in case
92315 sleep 1
92316 echo timestamp > conftest.file
92317 @@ -2615,20 +3085,20 @@ echo "$as_me: error: newly created file
92318 Check your system clock" >&2;}
92319 { (exit 1); exit 1; }; }
92320 fi
92321 -echo "$as_me:$LINENO: result: yes" >&5
92322 -echo "${ECHO_T}yes" >&6
92323 +{ echo "$as_me:$LINENO: result: yes" >&5
92324 +echo "${ECHO_T}yes" >&6; }
92325 test "$program_prefix" != NONE &&
92326 - program_transform_name="s,^,$program_prefix,;$program_transform_name"
92327 + program_transform_name="s&^&$program_prefix&;$program_transform_name"
92328 # Use a double $ so make ignores it.
92329 test "$program_suffix" != NONE &&
92330 - program_transform_name="s,\$,$program_suffix,;$program_transform_name"
92331 + program_transform_name="s&\$&$program_suffix&;$program_transform_name"
92332 # Double any \ or $. echo might interpret backslashes.
92333 # By default was `s,x,x', remove it if useless.
92334 cat <<\_ACEOF >conftest.sed
92335 s/[\\$]/&&/g;s/;s,x,x,$//
92336 _ACEOF
92337 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
92338 -rm conftest.sed
92339 +rm -f conftest.sed
92340
92341 # expand $ac_aux_dir to an absolute path
92342 am_aux_dir=`cd $ac_aux_dir && pwd`
92343 @@ -2680,8 +3150,8 @@ for ac_prog in gawk mawk nawk awk
92344 do
92345 # Extract the first word of "$ac_prog", so it can be a program name with args.
92346 set dummy $ac_prog; ac_word=$2
92347 -echo "$as_me:$LINENO: checking for $ac_word" >&5
92348 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
92349 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
92350 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
92351 if test "${ac_cv_prog_AWK+set}" = set; then
92352 echo $ECHO_N "(cached) $ECHO_C" >&6
92353 else
92354 @@ -2694,54 +3164,57 @@ do
92355 IFS=$as_save_IFS
92356 test -z "$as_dir" && as_dir=.
92357 for ac_exec_ext in '' $ac_executable_extensions; do
92358 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
92359 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
92360 ac_cv_prog_AWK="$ac_prog"
92361 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
92362 break 2
92363 fi
92364 done
92365 done
92366 +IFS=$as_save_IFS
92367
92368 fi
92369 fi
92370 AWK=$ac_cv_prog_AWK
92371 if test -n "$AWK"; then
92372 - echo "$as_me:$LINENO: result: $AWK" >&5
92373 -echo "${ECHO_T}$AWK" >&6
92374 + { echo "$as_me:$LINENO: result: $AWK" >&5
92375 +echo "${ECHO_T}$AWK" >&6; }
92376 else
92377 - echo "$as_me:$LINENO: result: no" >&5
92378 -echo "${ECHO_T}no" >&6
92379 + { echo "$as_me:$LINENO: result: no" >&5
92380 +echo "${ECHO_T}no" >&6; }
92381 fi
92382
92383 +
92384 test -n "$AWK" && break
92385 done
92386
92387 -echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
92388 -echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
92389 -set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
92390 -if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
92391 +{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
92392 +echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
92393 +set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
92394 +if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
92395 echo $ECHO_N "(cached) $ECHO_C" >&6
92396 else
92397 cat >conftest.make <<\_ACEOF
92398 +SHELL = /bin/sh
92399 all:
92400 - @echo 'ac_maketemp="$(MAKE)"'
92401 + @echo '@@@%%%=$(MAKE)=@@@%%%'
92402 _ACEOF
92403 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
92404 -eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
92405 -if test -n "$ac_maketemp"; then
92406 - eval ac_cv_prog_make_${ac_make}_set=yes
92407 -else
92408 - eval ac_cv_prog_make_${ac_make}_set=no
92409 -fi
92410 +case `${MAKE-make} -f conftest.make 2>/dev/null` in
92411 + *@@@%%%=?*=@@@%%%*)
92412 + eval ac_cv_prog_make_${ac_make}_set=yes;;
92413 + *)
92414 + eval ac_cv_prog_make_${ac_make}_set=no;;
92415 +esac
92416 rm -f conftest.make
92417 fi
92418 -if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
92419 - echo "$as_me:$LINENO: result: yes" >&5
92420 -echo "${ECHO_T}yes" >&6
92421 +if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
92422 + { echo "$as_me:$LINENO: result: yes" >&5
92423 +echo "${ECHO_T}yes" >&6; }
92424 SET_MAKE=
92425 else
92426 - echo "$as_me:$LINENO: result: no" >&5
92427 -echo "${ECHO_T}no" >&6
92428 + { echo "$as_me:$LINENO: result: no" >&5
92429 +echo "${ECHO_T}no" >&6; }
92430 SET_MAKE="MAKE=${MAKE-make}"
92431 fi
92432
92433 @@ -2756,7 +3229,7 @@ rmdir .tst 2>/dev/null
92434
92435 DEPDIR="${am__leading_dot}deps"
92436
92437 - ac_config_commands="$ac_config_commands depfiles"
92438 +ac_config_commands="$ac_config_commands depfiles"
92439
92440
92441 am_make=${MAKE-make}
92442 @@ -2766,8 +3239,8 @@ am__doit:
92443 .PHONY: am__doit
92444 END
92445 # If we don't find an include directive, just comment out the code.
92446 -echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
92447 -echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
92448 +{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
92449 +echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
92450 am__include="#"
92451 am__quote=
92452 _am_result=none
92453 @@ -2794,15 +3267,15 @@ if test "$am__include" = "#"; then
92454 fi
92455
92456
92457 -echo "$as_me:$LINENO: result: $_am_result" >&5
92458 -echo "${ECHO_T}$_am_result" >&6
92459 +{ echo "$as_me:$LINENO: result: $_am_result" >&5
92460 +echo "${ECHO_T}$_am_result" >&6; }
92461 rm -f confinc confmf
92462
92463 -# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
92464 +# Check whether --enable-dependency-tracking was given.
92465 if test "${enable_dependency_tracking+set}" = set; then
92466 - enableval="$enable_dependency_tracking"
92467 + enableval=$enable_dependency_tracking;
92468 +fi
92469
92470 -fi;
92471 if test "x$enable_dependency_tracking" != xno; then
92472 am_depcomp="$ac_aux_dir/depcomp"
92473 AMDEPBACKSLASH='\'
92474 @@ -2877,8 +3350,8 @@ if test "$cross_compiling" != no; then
92475 if test -n "$ac_tool_prefix"; then
92476 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
92477 set dummy ${ac_tool_prefix}strip; ac_word=$2
92478 -echo "$as_me:$LINENO: checking for $ac_word" >&5
92479 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
92480 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
92481 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
92482 if test "${ac_cv_prog_STRIP+set}" = set; then
92483 echo $ECHO_N "(cached) $ECHO_C" >&6
92484 else
92485 @@ -2891,32 +3364,34 @@ do
92486 IFS=$as_save_IFS
92487 test -z "$as_dir" && as_dir=.
92488 for ac_exec_ext in '' $ac_executable_extensions; do
92489 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
92490 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
92491 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
92492 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
92493 break 2
92494 fi
92495 done
92496 done
92497 +IFS=$as_save_IFS
92498
92499 fi
92500 fi
92501 STRIP=$ac_cv_prog_STRIP
92502 if test -n "$STRIP"; then
92503 - echo "$as_me:$LINENO: result: $STRIP" >&5
92504 -echo "${ECHO_T}$STRIP" >&6
92505 + { echo "$as_me:$LINENO: result: $STRIP" >&5
92506 +echo "${ECHO_T}$STRIP" >&6; }
92507 else
92508 - echo "$as_me:$LINENO: result: no" >&5
92509 -echo "${ECHO_T}no" >&6
92510 + { echo "$as_me:$LINENO: result: no" >&5
92511 +echo "${ECHO_T}no" >&6; }
92512 fi
92513
92514 +
92515 fi
92516 if test -z "$ac_cv_prog_STRIP"; then
92517 ac_ct_STRIP=$STRIP
92518 # Extract the first word of "strip", so it can be a program name with args.
92519 set dummy strip; ac_word=$2
92520 -echo "$as_me:$LINENO: checking for $ac_word" >&5
92521 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
92522 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
92523 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
92524 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
92525 echo $ECHO_N "(cached) $ECHO_C" >&6
92526 else
92527 @@ -2929,27 +3404,41 @@ do
92528 IFS=$as_save_IFS
92529 test -z "$as_dir" && as_dir=.
92530 for ac_exec_ext in '' $ac_executable_extensions; do
92531 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
92532 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
92533 ac_cv_prog_ac_ct_STRIP="strip"
92534 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
92535 break 2
92536 fi
92537 done
92538 done
92539 +IFS=$as_save_IFS
92540
92541 - test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
92542 fi
92543 fi
92544 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
92545 if test -n "$ac_ct_STRIP"; then
92546 - echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
92547 -echo "${ECHO_T}$ac_ct_STRIP" >&6
92548 + { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
92549 +echo "${ECHO_T}$ac_ct_STRIP" >&6; }
92550 else
92551 - echo "$as_me:$LINENO: result: no" >&5
92552 -echo "${ECHO_T}no" >&6
92553 + { echo "$as_me:$LINENO: result: no" >&5
92554 +echo "${ECHO_T}no" >&6; }
92555 fi
92556
92557 - STRIP=$ac_ct_STRIP
92558 + if test "x$ac_ct_STRIP" = x; then
92559 + STRIP=":"
92560 + else
92561 + case $cross_compiling:$ac_tool_warned in
92562 +yes:)
92563 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
92564 +whose name does not start with the host triplet. If you think this
92565 +configuration is useful to you, please write to autoconf@gnu.org." >&5
92566 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
92567 +whose name does not start with the host triplet. If you think this
92568 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
92569 +ac_tool_warned=yes ;;
92570 +esac
92571 + STRIP=$ac_ct_STRIP
92572 + fi
92573 else
92574 STRIP="$ac_cv_prog_STRIP"
92575 fi
92576 @@ -2970,8 +3459,8 @@ am__tar='${AMTAR} chof - "$$tardir"'; am
92577
92578 depcc="$CC" am_compiler_list=
92579
92580 -echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
92581 -echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
92582 +{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
92583 +echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
92584 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
92585 echo $ECHO_N "(cached) $ECHO_C" >&6
92586 else
92587 @@ -3060,8 +3549,8 @@ else
92588 fi
92589
92590 fi
92591 -echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
92592 -echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
92593 +{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
92594 +echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
92595 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
92596
92597
92598 @@ -3082,8 +3571,8 @@ fi
92599 if test -n "$ac_tool_prefix"; then
92600 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
92601 set dummy ${ac_tool_prefix}ar; ac_word=$2
92602 -echo "$as_me:$LINENO: checking for $ac_word" >&5
92603 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
92604 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
92605 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
92606 if test "${ac_cv_prog_AR+set}" = set; then
92607 echo $ECHO_N "(cached) $ECHO_C" >&6
92608 else
92609 @@ -3096,32 +3585,34 @@ do
92610 IFS=$as_save_IFS
92611 test -z "$as_dir" && as_dir=.
92612 for ac_exec_ext in '' $ac_executable_extensions; do
92613 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
92614 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
92615 ac_cv_prog_AR="${ac_tool_prefix}ar"
92616 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
92617 break 2
92618 fi
92619 done
92620 done
92621 +IFS=$as_save_IFS
92622
92623 fi
92624 fi
92625 AR=$ac_cv_prog_AR
92626 if test -n "$AR"; then
92627 - echo "$as_me:$LINENO: result: $AR" >&5
92628 -echo "${ECHO_T}$AR" >&6
92629 + { echo "$as_me:$LINENO: result: $AR" >&5
92630 +echo "${ECHO_T}$AR" >&6; }
92631 else
92632 - echo "$as_me:$LINENO: result: no" >&5
92633 -echo "${ECHO_T}no" >&6
92634 + { echo "$as_me:$LINENO: result: no" >&5
92635 +echo "${ECHO_T}no" >&6; }
92636 fi
92637
92638 +
92639 fi
92640 if test -z "$ac_cv_prog_AR"; then
92641 ac_ct_AR=$AR
92642 # Extract the first word of "ar", so it can be a program name with args.
92643 set dummy ar; ac_word=$2
92644 -echo "$as_me:$LINENO: checking for $ac_word" >&5
92645 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
92646 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
92647 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
92648 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
92649 echo $ECHO_N "(cached) $ECHO_C" >&6
92650 else
92651 @@ -3134,26 +3625,41 @@ do
92652 IFS=$as_save_IFS
92653 test -z "$as_dir" && as_dir=.
92654 for ac_exec_ext in '' $ac_executable_extensions; do
92655 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
92656 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
92657 ac_cv_prog_ac_ct_AR="ar"
92658 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
92659 break 2
92660 fi
92661 done
92662 done
92663 +IFS=$as_save_IFS
92664
92665 fi
92666 fi
92667 ac_ct_AR=$ac_cv_prog_ac_ct_AR
92668 if test -n "$ac_ct_AR"; then
92669 - echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
92670 -echo "${ECHO_T}$ac_ct_AR" >&6
92671 + { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
92672 +echo "${ECHO_T}$ac_ct_AR" >&6; }
92673 else
92674 - echo "$as_me:$LINENO: result: no" >&5
92675 -echo "${ECHO_T}no" >&6
92676 + { echo "$as_me:$LINENO: result: no" >&5
92677 +echo "${ECHO_T}no" >&6; }
92678 fi
92679
92680 - AR=$ac_ct_AR
92681 + if test "x$ac_ct_AR" = x; then
92682 + AR=""
92683 + else
92684 + case $cross_compiling:$ac_tool_warned in
92685 +yes:)
92686 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
92687 +whose name does not start with the host triplet. If you think this
92688 +configuration is useful to you, please write to autoconf@gnu.org." >&5
92689 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
92690 +whose name does not start with the host triplet. If you think this
92691 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
92692 +ac_tool_warned=yes ;;
92693 +esac
92694 + AR=$ac_ct_AR
92695 + fi
92696 else
92697 AR="$ac_cv_prog_AR"
92698 fi
92699 @@ -3161,8 +3667,8 @@ fi
92700 if test -n "$ac_tool_prefix"; then
92701 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
92702 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
92703 -echo "$as_me:$LINENO: checking for $ac_word" >&5
92704 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
92705 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
92706 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
92707 if test "${ac_cv_prog_RANLIB+set}" = set; then
92708 echo $ECHO_N "(cached) $ECHO_C" >&6
92709 else
92710 @@ -3175,32 +3681,34 @@ do
92711 IFS=$as_save_IFS
92712 test -z "$as_dir" && as_dir=.
92713 for ac_exec_ext in '' $ac_executable_extensions; do
92714 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
92715 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
92716 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
92717 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
92718 break 2
92719 fi
92720 done
92721 done
92722 +IFS=$as_save_IFS
92723
92724 fi
92725 fi
92726 RANLIB=$ac_cv_prog_RANLIB
92727 if test -n "$RANLIB"; then
92728 - echo "$as_me:$LINENO: result: $RANLIB" >&5
92729 -echo "${ECHO_T}$RANLIB" >&6
92730 + { echo "$as_me:$LINENO: result: $RANLIB" >&5
92731 +echo "${ECHO_T}$RANLIB" >&6; }
92732 else
92733 - echo "$as_me:$LINENO: result: no" >&5
92734 -echo "${ECHO_T}no" >&6
92735 + { echo "$as_me:$LINENO: result: no" >&5
92736 +echo "${ECHO_T}no" >&6; }
92737 fi
92738
92739 +
92740 fi
92741 if test -z "$ac_cv_prog_RANLIB"; then
92742 ac_ct_RANLIB=$RANLIB
92743 # Extract the first word of "ranlib", so it can be a program name with args.
92744 set dummy ranlib; ac_word=$2
92745 -echo "$as_me:$LINENO: checking for $ac_word" >&5
92746 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
92747 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
92748 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
92749 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
92750 echo $ECHO_N "(cached) $ECHO_C" >&6
92751 else
92752 @@ -3213,36 +3721,49 @@ do
92753 IFS=$as_save_IFS
92754 test -z "$as_dir" && as_dir=.
92755 for ac_exec_ext in '' $ac_executable_extensions; do
92756 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
92757 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
92758 ac_cv_prog_ac_ct_RANLIB="ranlib"
92759 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
92760 break 2
92761 fi
92762 done
92763 done
92764 +IFS=$as_save_IFS
92765
92766 - test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
92767 fi
92768 fi
92769 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
92770 if test -n "$ac_ct_RANLIB"; then
92771 - echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
92772 -echo "${ECHO_T}$ac_ct_RANLIB" >&6
92773 + { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
92774 +echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
92775 else
92776 - echo "$as_me:$LINENO: result: no" >&5
92777 -echo "${ECHO_T}no" >&6
92778 + { echo "$as_me:$LINENO: result: no" >&5
92779 +echo "${ECHO_T}no" >&6; }
92780 fi
92781
92782 - RANLIB=$ac_ct_RANLIB
92783 + if test "x$ac_ct_RANLIB" = x; then
92784 + RANLIB=":"
92785 + else
92786 + case $cross_compiling:$ac_tool_warned in
92787 +yes:)
92788 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
92789 +whose name does not start with the host triplet. If you think this
92790 +configuration is useful to you, please write to autoconf@gnu.org." >&5
92791 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
92792 +whose name does not start with the host triplet. If you think this
92793 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
92794 +ac_tool_warned=yes ;;
92795 +esac
92796 + RANLIB=$ac_ct_RANLIB
92797 + fi
92798 else
92799 RANLIB="$ac_cv_prog_RANLIB"
92800 fi
92801
92802
92803 -# Check whether --enable-shared or --disable-shared was given.
92804 +# Check whether --enable-shared was given.
92805 if test "${enable_shared+set}" = set; then
92806 - enableval="$enable_shared"
92807 - p=${PACKAGE-default}
92808 + enableval=$enable_shared; p=${PACKAGE-default}
92809 case $enableval in
92810 yes) enable_shared=yes ;;
92811 no) enable_shared=no ;;
92812 @@ -3260,12 +3781,12 @@ no) enable_shared=no ;;
92813 esac
92814 else
92815 enable_shared=no
92816 -fi;
92817 +fi
92818 +
92819
92820 -# Check whether --enable-static or --disable-static was given.
92821 +# Check whether --enable-static was given.
92822 if test "${enable_static+set}" = set; then
92823 - enableval="$enable_static"
92824 - p=${PACKAGE-default}
92825 + enableval=$enable_static; p=${PACKAGE-default}
92826 case $enableval in
92827 yes) enable_static=yes ;;
92828 no) enable_static=no ;;
92829 @@ -3283,11 +3804,11 @@ no) enable_static=no ;;
92830 esac
92831 else
92832 enable_static=yes
92833 -fi;
92834 -# Check whether --enable-fast-install or --disable-fast-install was given.
92835 +fi
92836 +
92837 +# Check whether --enable-fast-install was given.
92838 if test "${enable_fast_install+set}" = set; then
92839 - enableval="$enable_fast_install"
92840 - p=${PACKAGE-default}
92841 + enableval=$enable_fast_install; p=${PACKAGE-default}
92842 case $enableval in
92843 yes) enable_fast_install=yes ;;
92844 no) enable_fast_install=no ;;
92845 @@ -3305,20 +3826,21 @@ no) enable_fast_install=no ;;
92846 esac
92847 else
92848 enable_fast_install=yes
92849 -fi;
92850 +fi
92851 +
92852
92853 -# Check whether --with-gnu-ld or --without-gnu-ld was given.
92854 +# Check whether --with-gnu-ld was given.
92855 if test "${with_gnu_ld+set}" = set; then
92856 - withval="$with_gnu_ld"
92857 - test "$withval" = no || with_gnu_ld=yes
92858 + withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
92859 else
92860 with_gnu_ld=no
92861 -fi;
92862 +fi
92863 +
92864 ac_prog=ld
92865 if test "$GCC" = yes; then
92866 # Check if gcc -print-prog-name=ld gives a path.
92867 - echo "$as_me:$LINENO: checking for ld used by GCC" >&5
92868 -echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
92869 + { echo "$as_me:$LINENO: checking for ld used by GCC" >&5
92870 +echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6; }
92871 case $host in
92872 *-*-mingw*)
92873 # gcc leaves a trailing carriage return which upsets mingw
92874 @@ -3347,11 +3869,11 @@ echo $ECHO_N "checking for ld used by GC
92875 ;;
92876 esac
92877 elif test "$with_gnu_ld" = yes; then
92878 - echo "$as_me:$LINENO: checking for GNU ld" >&5
92879 -echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
92880 + { echo "$as_me:$LINENO: checking for GNU ld" >&5
92881 +echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
92882 else
92883 - echo "$as_me:$LINENO: checking for non-GNU ld" >&5
92884 -echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
92885 + { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
92886 +echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
92887 fi
92888 if test "${lt_cv_path_LD+set}" = set; then
92889 echo $ECHO_N "(cached) $ECHO_C" >&6
92890 @@ -3380,17 +3902,17 @@ fi
92891
92892 LD="$lt_cv_path_LD"
92893 if test -n "$LD"; then
92894 - echo "$as_me:$LINENO: result: $LD" >&5
92895 -echo "${ECHO_T}$LD" >&6
92896 + { echo "$as_me:$LINENO: result: $LD" >&5
92897 +echo "${ECHO_T}$LD" >&6; }
92898 else
92899 - echo "$as_me:$LINENO: result: no" >&5
92900 -echo "${ECHO_T}no" >&6
92901 + { echo "$as_me:$LINENO: result: no" >&5
92902 +echo "${ECHO_T}no" >&6; }
92903 fi
92904 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
92905 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
92906 { (exit 1); exit 1; }; }
92907 -echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
92908 -echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
92909 +{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
92910 +echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
92911 if test "${lt_cv_prog_gnu_ld+set}" = set; then
92912 echo $ECHO_N "(cached) $ECHO_C" >&6
92913 else
92914 @@ -3401,25 +3923,25 @@ else
92915 lt_cv_prog_gnu_ld=no
92916 fi
92917 fi
92918 -echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
92919 -echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
92920 +{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
92921 +echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
92922 with_gnu_ld=$lt_cv_prog_gnu_ld
92923
92924
92925 -echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
92926 -echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
92927 +{ echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
92928 +echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
92929 if test "${lt_cv_ld_reload_flag+set}" = set; then
92930 echo $ECHO_N "(cached) $ECHO_C" >&6
92931 else
92932 lt_cv_ld_reload_flag='-r'
92933 fi
92934 -echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
92935 -echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
92936 +{ echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
92937 +echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
92938 reload_flag=$lt_cv_ld_reload_flag
92939 test -n "$reload_flag" && reload_flag=" $reload_flag"
92940
92941 -echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
92942 -echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
92943 +{ echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
92944 +echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
92945 if test "${lt_cv_path_NM+set}" = set; then
92946 echo $ECHO_N "(cached) $ECHO_C" >&6
92947 else
92948 @@ -3454,22 +3976,22 @@ fi
92949 fi
92950
92951 NM="$lt_cv_path_NM"
92952 -echo "$as_me:$LINENO: result: $NM" >&5
92953 -echo "${ECHO_T}$NM" >&6
92954 +{ echo "$as_me:$LINENO: result: $NM" >&5
92955 +echo "${ECHO_T}$NM" >&6; }
92956
92957 -echo "$as_me:$LINENO: checking whether ln -s works" >&5
92958 -echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
92959 +{ echo "$as_me:$LINENO: checking whether ln -s works" >&5
92960 +echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
92961 LN_S=$as_ln_s
92962 if test "$LN_S" = "ln -s"; then
92963 - echo "$as_me:$LINENO: result: yes" >&5
92964 -echo "${ECHO_T}yes" >&6
92965 + { echo "$as_me:$LINENO: result: yes" >&5
92966 +echo "${ECHO_T}yes" >&6; }
92967 else
92968 - echo "$as_me:$LINENO: result: no, using $LN_S" >&5
92969 -echo "${ECHO_T}no, using $LN_S" >&6
92970 + { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
92971 +echo "${ECHO_T}no, using $LN_S" >&6; }
92972 fi
92973
92974 -echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
92975 -echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
92976 +{ echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
92977 +echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6; }
92978 if test "${lt_cv_deplibs_check_method+set}" = set; then
92979 echo $ECHO_N "(cached) $ECHO_C" >&6
92980 else
92981 @@ -3631,8 +4153,8 @@ sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
92982 esac
92983
92984 fi
92985 -echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
92986 -echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
92987 +{ echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
92988 +echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
92989 file_magic_cmd=$lt_cv_file_magic_cmd
92990 deplibs_check_method=$lt_cv_deplibs_check_method
92991
92992 @@ -3642,8 +4164,8 @@ deplibs_check_method=$lt_cv_deplibs_chec
92993 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
92994
92995 # find the maximum length of command line arguments
92996 -echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
92997 -echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
92998 +{ echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
92999 +echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
93000 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
93001 echo $ECHO_N "(cached) $ECHO_C" >&6
93002 else
93003 @@ -3694,11 +4216,11 @@ else
93004 fi
93005
93006 if test -n "$lt_cv_sys_max_cmd_len" ; then
93007 - echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
93008 -echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
93009 + { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
93010 +echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
93011 else
93012 - echo "$as_me:$LINENO: result: none" >&5
93013 -echo "${ECHO_T}none" >&6
93014 + { echo "$as_me:$LINENO: result: none" >&5
93015 +echo "${ECHO_T}none" >&6; }
93016 fi
93017
93018
93019 @@ -3706,8 +4228,8 @@ fi
93020 case $deplibs_check_method in
93021 file_magic*)
93022 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
93023 - echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
93024 -echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
93025 + { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
93026 +echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
93027 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
93028 echo $ECHO_N "(cached) $ECHO_C" >&6
93029 else
93030 @@ -3761,17 +4283,17 @@ fi
93031
93032 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
93033 if test -n "$MAGIC_CMD"; then
93034 - echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
93035 -echo "${ECHO_T}$MAGIC_CMD" >&6
93036 + { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
93037 +echo "${ECHO_T}$MAGIC_CMD" >&6; }
93038 else
93039 - echo "$as_me:$LINENO: result: no" >&5
93040 -echo "${ECHO_T}no" >&6
93041 + { echo "$as_me:$LINENO: result: no" >&5
93042 +echo "${ECHO_T}no" >&6; }
93043 fi
93044
93045 if test -z "$lt_cv_path_MAGIC_CMD"; then
93046 if test -n "$ac_tool_prefix"; then
93047 - echo "$as_me:$LINENO: checking for file" >&5
93048 -echo $ECHO_N "checking for file... $ECHO_C" >&6
93049 + { echo "$as_me:$LINENO: checking for file" >&5
93050 +echo $ECHO_N "checking for file... $ECHO_C" >&6; }
93051 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
93052 echo $ECHO_N "(cached) $ECHO_C" >&6
93053 else
93054 @@ -3825,11 +4347,11 @@ fi
93055
93056 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
93057 if test -n "$MAGIC_CMD"; then
93058 - echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
93059 -echo "${ECHO_T}$MAGIC_CMD" >&6
93060 + { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
93061 +echo "${ECHO_T}$MAGIC_CMD" >&6; }
93062 else
93063 - echo "$as_me:$LINENO: result: no" >&5
93064 -echo "${ECHO_T}no" >&6
93065 + { echo "$as_me:$LINENO: result: no" >&5
93066 +echo "${ECHO_T}no" >&6; }
93067 fi
93068
93069 else
93070 @@ -3844,8 +4366,8 @@ esac
93071 if test -n "$ac_tool_prefix"; then
93072 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
93073 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
93074 -echo "$as_me:$LINENO: checking for $ac_word" >&5
93075 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
93076 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
93077 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
93078 if test "${ac_cv_prog_RANLIB+set}" = set; then
93079 echo $ECHO_N "(cached) $ECHO_C" >&6
93080 else
93081 @@ -3858,32 +4380,34 @@ do
93082 IFS=$as_save_IFS
93083 test -z "$as_dir" && as_dir=.
93084 for ac_exec_ext in '' $ac_executable_extensions; do
93085 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
93086 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
93087 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
93088 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
93089 break 2
93090 fi
93091 done
93092 done
93093 +IFS=$as_save_IFS
93094
93095 fi
93096 fi
93097 RANLIB=$ac_cv_prog_RANLIB
93098 if test -n "$RANLIB"; then
93099 - echo "$as_me:$LINENO: result: $RANLIB" >&5
93100 -echo "${ECHO_T}$RANLIB" >&6
93101 + { echo "$as_me:$LINENO: result: $RANLIB" >&5
93102 +echo "${ECHO_T}$RANLIB" >&6; }
93103 else
93104 - echo "$as_me:$LINENO: result: no" >&5
93105 -echo "${ECHO_T}no" >&6
93106 + { echo "$as_me:$LINENO: result: no" >&5
93107 +echo "${ECHO_T}no" >&6; }
93108 fi
93109
93110 +
93111 fi
93112 if test -z "$ac_cv_prog_RANLIB"; then
93113 ac_ct_RANLIB=$RANLIB
93114 # Extract the first word of "ranlib", so it can be a program name with args.
93115 set dummy ranlib; ac_word=$2
93116 -echo "$as_me:$LINENO: checking for $ac_word" >&5
93117 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
93118 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
93119 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
93120 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
93121 echo $ECHO_N "(cached) $ECHO_C" >&6
93122 else
93123 @@ -3896,27 +4420,41 @@ do
93124 IFS=$as_save_IFS
93125 test -z "$as_dir" && as_dir=.
93126 for ac_exec_ext in '' $ac_executable_extensions; do
93127 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
93128 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
93129 ac_cv_prog_ac_ct_RANLIB="ranlib"
93130 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
93131 break 2
93132 fi
93133 done
93134 done
93135 +IFS=$as_save_IFS
93136
93137 - test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
93138 fi
93139 fi
93140 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
93141 if test -n "$ac_ct_RANLIB"; then
93142 - echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
93143 -echo "${ECHO_T}$ac_ct_RANLIB" >&6
93144 + { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
93145 +echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
93146 else
93147 - echo "$as_me:$LINENO: result: no" >&5
93148 -echo "${ECHO_T}no" >&6
93149 + { echo "$as_me:$LINENO: result: no" >&5
93150 +echo "${ECHO_T}no" >&6; }
93151 fi
93152
93153 - RANLIB=$ac_ct_RANLIB
93154 + if test "x$ac_ct_RANLIB" = x; then
93155 + RANLIB=":"
93156 + else
93157 + case $cross_compiling:$ac_tool_warned in
93158 +yes:)
93159 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
93160 +whose name does not start with the host triplet. If you think this
93161 +configuration is useful to you, please write to autoconf@gnu.org." >&5
93162 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
93163 +whose name does not start with the host triplet. If you think this
93164 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
93165 +ac_tool_warned=yes ;;
93166 +esac
93167 + RANLIB=$ac_ct_RANLIB
93168 + fi
93169 else
93170 RANLIB="$ac_cv_prog_RANLIB"
93171 fi
93172 @@ -3924,8 +4462,8 @@ fi
93173 if test -n "$ac_tool_prefix"; then
93174 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
93175 set dummy ${ac_tool_prefix}strip; ac_word=$2
93176 -echo "$as_me:$LINENO: checking for $ac_word" >&5
93177 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
93178 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
93179 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
93180 if test "${ac_cv_prog_STRIP+set}" = set; then
93181 echo $ECHO_N "(cached) $ECHO_C" >&6
93182 else
93183 @@ -3938,32 +4476,34 @@ do
93184 IFS=$as_save_IFS
93185 test -z "$as_dir" && as_dir=.
93186 for ac_exec_ext in '' $ac_executable_extensions; do
93187 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
93188 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
93189 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
93190 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
93191 break 2
93192 fi
93193 done
93194 done
93195 +IFS=$as_save_IFS
93196
93197 fi
93198 fi
93199 STRIP=$ac_cv_prog_STRIP
93200 if test -n "$STRIP"; then
93201 - echo "$as_me:$LINENO: result: $STRIP" >&5
93202 -echo "${ECHO_T}$STRIP" >&6
93203 + { echo "$as_me:$LINENO: result: $STRIP" >&5
93204 +echo "${ECHO_T}$STRIP" >&6; }
93205 else
93206 - echo "$as_me:$LINENO: result: no" >&5
93207 -echo "${ECHO_T}no" >&6
93208 + { echo "$as_me:$LINENO: result: no" >&5
93209 +echo "${ECHO_T}no" >&6; }
93210 fi
93211
93212 +
93213 fi
93214 if test -z "$ac_cv_prog_STRIP"; then
93215 ac_ct_STRIP=$STRIP
93216 # Extract the first word of "strip", so it can be a program name with args.
93217 set dummy strip; ac_word=$2
93218 -echo "$as_me:$LINENO: checking for $ac_word" >&5
93219 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
93220 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
93221 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
93222 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
93223 echo $ECHO_N "(cached) $ECHO_C" >&6
93224 else
93225 @@ -3976,27 +4516,41 @@ do
93226 IFS=$as_save_IFS
93227 test -z "$as_dir" && as_dir=.
93228 for ac_exec_ext in '' $ac_executable_extensions; do
93229 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
93230 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
93231 ac_cv_prog_ac_ct_STRIP="strip"
93232 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
93233 break 2
93234 fi
93235 done
93236 done
93237 +IFS=$as_save_IFS
93238
93239 - test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
93240 fi
93241 fi
93242 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
93243 if test -n "$ac_ct_STRIP"; then
93244 - echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
93245 -echo "${ECHO_T}$ac_ct_STRIP" >&6
93246 + { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
93247 +echo "${ECHO_T}$ac_ct_STRIP" >&6; }
93248 else
93249 - echo "$as_me:$LINENO: result: no" >&5
93250 -echo "${ECHO_T}no" >&6
93251 + { echo "$as_me:$LINENO: result: no" >&5
93252 +echo "${ECHO_T}no" >&6; }
93253 fi
93254
93255 - STRIP=$ac_ct_STRIP
93256 + if test "x$ac_ct_STRIP" = x; then
93257 + STRIP=":"
93258 + else
93259 + case $cross_compiling:$ac_tool_warned in
93260 +yes:)
93261 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
93262 +whose name does not start with the host triplet. If you think this
93263 +configuration is useful to you, please write to autoconf@gnu.org." >&5
93264 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
93265 +whose name does not start with the host triplet. If you think this
93266 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
93267 +ac_tool_warned=yes ;;
93268 +esac
93269 + STRIP=$ac_ct_STRIP
93270 + fi
93271 else
93272 STRIP="$ac_cv_prog_STRIP"
93273 fi
93274 @@ -4011,22 +4565,22 @@ test "$GCC" = yes && libtool_flags="$lib
93275 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
93276
93277
93278 -# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
93279 +# Check whether --enable-libtool-lock was given.
93280 if test "${enable_libtool_lock+set}" = set; then
93281 - enableval="$enable_libtool_lock"
93282 + enableval=$enable_libtool_lock;
93283 +fi
93284
93285 -fi;
93286 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
93287 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
93288
93289
93290 -# Check whether --with-pic or --without-pic was given.
93291 +# Check whether --with-pic was given.
93292 if test "${with_pic+set}" = set; then
93293 - withval="$with_pic"
93294 - pic_mode="$withval"
93295 + withval=$with_pic; pic_mode="$withval"
93296 else
93297 pic_mode=default
93298 -fi;
93299 +fi
93300 +
93301 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
93302 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
93303
93304 @@ -4035,7 +4589,7 @@ test x"$pic_mode" = xno && libtool_flags
93305 case $host in
93306 *-*-irix6*)
93307 # Find out which ABI we are using.
93308 - echo '#line 4038 "configure"' > conftest.$ac_ext
93309 + echo '#line 4592 "configure"' > conftest.$ac_ext
93310 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93311 (eval $ac_compile) 2>&5
93312 ac_status=$?
93313 @@ -4140,13 +4694,12 @@ x86_64-*linux*|ppc*-*linux*|powerpc*-*li
93314 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
93315 SAVE_CFLAGS="$CFLAGS"
93316 CFLAGS="$CFLAGS -belf"
93317 - echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
93318 -echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
93319 + { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
93320 +echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
93321 if test "${lt_cv_cc_needs_belf+set}" = set; then
93322 echo $ECHO_N "(cached) $ECHO_C" >&6
93323 else
93324
93325 -
93326 ac_ext=c
93327 ac_cpp='$CPP $CPPFLAGS'
93328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93329 @@ -4169,35 +4722,32 @@ main ()
93330 }
93331 _ACEOF
93332 rm -f conftest.$ac_objext conftest$ac_exeext
93333 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93334 - (eval $ac_link) 2>conftest.er1
93335 +if { (ac_try="$ac_link"
93336 +case "(($ac_try" in
93337 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
93338 + *) ac_try_echo=$ac_try;;
93339 +esac
93340 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
93341 + (eval "$ac_link") 2>conftest.er1
93342 ac_status=$?
93343 grep -v '^ *+' conftest.er1 >conftest.err
93344 rm -f conftest.er1
93345 cat conftest.err >&5
93346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93347 - (exit $ac_status); } &&
93348 - { ac_try='test -z "$ac_c_werror_flag"
93349 - || test ! -s conftest.err'
93350 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93351 - (eval $ac_try) 2>&5
93352 - ac_status=$?
93353 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
93354 - (exit $ac_status); }; } &&
93355 - { ac_try='test -s conftest$ac_exeext'
93356 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93357 - (eval $ac_try) 2>&5
93358 - ac_status=$?
93359 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
93360 - (exit $ac_status); }; }; then
93361 + (exit $ac_status); } && {
93362 + test -z "$ac_c_werror_flag" ||
93363 + test ! -s conftest.err
93364 + } && test -s conftest$ac_exeext &&
93365 + $as_test_x conftest$ac_exeext; then
93366 lt_cv_cc_needs_belf=yes
93367 else
93368 echo "$as_me: failed program was:" >&5
93369 sed 's/^/| /' conftest.$ac_ext >&5
93370
93371 -lt_cv_cc_needs_belf=no
93372 + lt_cv_cc_needs_belf=no
93373 fi
93374 -rm -f conftest.err conftest.$ac_objext \
93375 +
93376 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
93377 conftest$ac_exeext conftest.$ac_ext
93378 ac_ext=c
93379 ac_cpp='$CPP $CPPFLAGS'
93380 @@ -4206,8 +4756,8 @@ ac_link='$CC -o conftest$ac_exeext $CFLA
93381 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93382
93383 fi
93384 -echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
93385 -echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
93386 +{ echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
93387 +echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
93388 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
93389 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
93390 CFLAGS="$SAVE_CFLAGS"
93391 @@ -4237,39 +4787,58 @@ _ACEOF
93392
93393 # The following way of writing the cache mishandles newlines in values,
93394 # but we know of no workaround that is simple, portable, and efficient.
93395 -# So, don't put newlines in cache variables' values.
93396 +# So, we kill variables containing newlines.
93397 # Ultrix sh set writes to stderr and can't be redirected directly,
93398 # and sets the high bit in the cache file unless we assign to the vars.
93399 -{
93400 +(
93401 + for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
93402 + eval ac_val=\$$ac_var
93403 + case $ac_val in #(
93404 + *${as_nl}*)
93405 + case $ac_var in #(
93406 + *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
93407 +echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
93408 + esac
93409 + case $ac_var in #(
93410 + _ | IFS | as_nl) ;; #(
93411 + *) $as_unset $ac_var ;;
93412 + esac ;;
93413 + esac
93414 + done
93415 +
93416 (set) 2>&1 |
93417 - case `(ac_space=' '; set | grep ac_space) 2>&1` in
93418 - *ac_space=\ *)
93419 + case $as_nl`(ac_space=' '; set) 2>&1` in #(
93420 + *${as_nl}ac_space=\ *)
93421 # `set' does not quote correctly, so add quotes (double-quote
93422 # substitution turns \\\\ into \\, and sed turns \\ into \).
93423 sed -n \
93424 "s/'/'\\\\''/g;
93425 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
93426 - ;;
93427 + ;; #(
93428 *)
93429 # `set' quotes correctly as required by POSIX, so do not add quotes.
93430 - sed -n \
93431 - "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
93432 + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
93433 ;;
93434 - esac;
93435 -} |
93436 + esac |
93437 + sort
93438 +) |
93439 sed '
93440 + /^ac_cv_env_/b end
93441 t clear
93442 - : clear
93443 + :clear
93444 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
93445 t end
93446 - /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
93447 - : end' >>confcache
93448 -if diff $cache_file confcache >/dev/null 2>&1; then :; else
93449 - if test -w $cache_file; then
93450 - test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
93451 + s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
93452 + :end' >>confcache
93453 +if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
93454 + if test -w "$cache_file"; then
93455 + test "x$cache_file" != "x/dev/null" &&
93456 + { echo "$as_me:$LINENO: updating cache $cache_file" >&5
93457 +echo "$as_me: updating cache $cache_file" >&6;}
93458 cat confcache >$cache_file
93459 else
93460 - echo "not updating unwritable cache $cache_file"
93461 + { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
93462 +echo "$as_me: not updating unwritable cache $cache_file" >&6;}
93463 fi
93464 fi
93465 rm -f confcache
93466 @@ -4295,8 +4864,8 @@ if test -r "$cache_file"; then
93467 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
93468 echo "$as_me: loading cache $cache_file" >&6;}
93469 case $cache_file in
93470 - [\\/]* | ?:[\\/]* ) . $cache_file;;
93471 - *) . ./$cache_file;;
93472 + [\\/]* | ?:[\\/]* ) . "$cache_file";;
93473 + *) . "./$cache_file";;
93474 esac
93475 fi
93476 else
93477 @@ -4322,10 +4891,9 @@ exec 5>>./config.log
93478
93479
93480
93481 -# Check whether --enable-targets or --disable-targets was given.
93482 +# Check whether --enable-targets was given.
93483 if test "${enable_targets+set}" = set; then
93484 - enableval="$enable_targets"
93485 - case "${enableval}" in
93486 + enableval=$enable_targets; case "${enableval}" in
93487 yes | "") { { echo "$as_me:$LINENO: error: enable-targets option must specify target names or 'all'" >&5
93488 echo "$as_me: error: enable-targets option must specify target names or 'all'" >&2;}
93489 { (exit 1); exit 1; }; }
93490 @@ -4333,31 +4901,32 @@ echo "$as_me: error: enable-targets opti
93491 no) enable_targets= ;;
93492 *) enable_targets=$enableval ;;
93493 esac
93494 -fi; # Check whether --enable-commonbfdlib or --disable-commonbfdlib was given.
93495 +fi
93496 +# Check whether --enable-commonbfdlib was given.
93497 if test "${enable_commonbfdlib+set}" = set; then
93498 - enableval="$enable_commonbfdlib"
93499 - case "${enableval}" in
93500 + enableval=$enable_commonbfdlib; case "${enableval}" in
93501 yes) commonbfdlib=true ;;
93502 no) commonbfdlib=false ;;
93503 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for opcodes commonbfdlib option" >&5
93504 echo "$as_me: error: bad value ${enableval} for opcodes commonbfdlib option" >&2;}
93505 { (exit 1); exit 1; }; } ;;
93506 esac
93507 -fi;
93508 +fi
93509 +
93510
93511 GCC_WARN_CFLAGS="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
93512
93513 -# Check whether --enable-werror or --disable-werror was given.
93514 +# Check whether --enable-werror was given.
93515 if test "${enable_werror+set}" = set; then
93516 - enableval="$enable_werror"
93517 - case "${enableval}" in
93518 + enableval=$enable_werror; case "${enableval}" in
93519 yes | y) ERROR_ON_WARNING="yes" ;;
93520 no | n) ERROR_ON_WARNING="no" ;;
93521 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-werror" >&5
93522 echo "$as_me: error: bad value ${enableval} for --enable-werror" >&2;}
93523 { (exit 1); exit 1; }; } ;;
93524 esac
93525 -fi;
93526 +fi
93527 +
93528
93529 # Enable -Werror by default when using gcc
93530 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
93531 @@ -4374,10 +4943,9 @@ if test "${GCC}" = yes ; then
93532 WARN_CFLAGS="${GCC_WARN_CFLAGS}"
93533 fi
93534
93535 -# Check whether --enable-build-warnings or --disable-build-warnings was given.
93536 +# Check whether --enable-build-warnings was given.
93537 if test "${enable_build_warnings+set}" = set; then
93538 - enableval="$enable_build_warnings"
93539 - case "${enableval}" in
93540 + enableval=$enable_build_warnings; case "${enableval}" in
93541 yes) WARN_CFLAGS="${GCC_WARN_CFLAGS}";;
93542 no) if test "${GCC}" = yes ; then
93543 WARN_CFLAGS="-w"
93544 @@ -4388,7 +4956,8 @@ if test "${enable_build_warnings+set}" =
93545 WARN_CFLAGS="${t} ${GCC_WARN_CFLAGS}";;
93546 *) WARN_CFLAGS=`echo "${enableval}" | sed -e "s/,/ /g"`;;
93547 esac
93548 -fi;
93549 +fi
93550 +
93551
93552 if test x"$silent" != x"yes" && test x"$WARN_CFLAGS" != x""; then
93553 echo "Setting warning flags = $WARN_CFLAGS" 6>&1
93554 @@ -4398,7 +4967,7 @@ fi
93555
93556
93557
93558 - ac_config_headers="$ac_config_headers config.h:config.in"
93559 +ac_config_headers="$ac_config_headers config.h:config.in"
93560
93561
93562 if test -z "$target" ; then
93563 @@ -4407,17 +4976,17 @@ echo "$as_me: error: Unrecognized target
93564 { (exit 1); exit 1; }; }
93565 fi
93566
93567 -echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
93568 -echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
93569 - # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
93570 +{ echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
93571 +echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
93572 + # Check whether --enable-maintainer-mode was given.
93573 if test "${enable_maintainer_mode+set}" = set; then
93574 - enableval="$enable_maintainer_mode"
93575 - USE_MAINTAINER_MODE=$enableval
93576 + enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
93577 else
93578 USE_MAINTAINER_MODE=no
93579 -fi;
93580 - echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
93581 -echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
93582 +fi
93583 +
93584 + { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
93585 +echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
93586
93587
93588 if test $USE_MAINTAINER_MODE = yes; then
93589 @@ -4446,21 +5015,21 @@ esac
93590 *) target_noncanonical=${target_alias} ;;
93591 esac
93592
93593 -echo "$as_me:$LINENO: checking whether to install libbfd" >&5
93594 -echo $ECHO_N "checking whether to install libbfd... $ECHO_C" >&6
93595 - # Check whether --enable-install-libbfd or --disable-install-libbfd was given.
93596 +{ echo "$as_me:$LINENO: checking whether to install libbfd" >&5
93597 +echo $ECHO_N "checking whether to install libbfd... $ECHO_C" >&6; }
93598 + # Check whether --enable-install-libbfd was given.
93599 if test "${enable_install_libbfd+set}" = set; then
93600 - enableval="$enable_install_libbfd"
93601 - install_libbfd_p=$enableval
93602 + enableval=$enable_install_libbfd; install_libbfd_p=$enableval
93603 else
93604 if test "${host}" = "${target}" || test "$enable_shared" = "yes"; then
93605 install_libbfd_p=yes
93606 else
93607 install_libbfd_p=no
93608 fi
93609 -fi;
93610 - echo "$as_me:$LINENO: result: $install_libbfd_p" >&5
93611 -echo "${ECHO_T}$install_libbfd_p" >&6
93612 +fi
93613 +
93614 + { echo "$as_me:$LINENO: result: $install_libbfd_p" >&5
93615 +echo "${ECHO_T}$install_libbfd_p" >&6; }
93616
93617
93618 if test $install_libbfd_p = yes; then
93619 @@ -4499,8 +5068,8 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
93620 if test -n "$ac_tool_prefix"; then
93621 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
93622 set dummy ${ac_tool_prefix}gcc; ac_word=$2
93623 -echo "$as_me:$LINENO: checking for $ac_word" >&5
93624 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
93625 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
93626 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
93627 if test "${ac_cv_prog_CC+set}" = set; then
93628 echo $ECHO_N "(cached) $ECHO_C" >&6
93629 else
93630 @@ -4513,32 +5082,34 @@ do
93631 IFS=$as_save_IFS
93632 test -z "$as_dir" && as_dir=.
93633 for ac_exec_ext in '' $ac_executable_extensions; do
93634 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
93635 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
93636 ac_cv_prog_CC="${ac_tool_prefix}gcc"
93637 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
93638 break 2
93639 fi
93640 done
93641 done
93642 +IFS=$as_save_IFS
93643
93644 fi
93645 fi
93646 CC=$ac_cv_prog_CC
93647 if test -n "$CC"; then
93648 - echo "$as_me:$LINENO: result: $CC" >&5
93649 -echo "${ECHO_T}$CC" >&6
93650 + { echo "$as_me:$LINENO: result: $CC" >&5
93651 +echo "${ECHO_T}$CC" >&6; }
93652 else
93653 - echo "$as_me:$LINENO: result: no" >&5
93654 -echo "${ECHO_T}no" >&6
93655 + { echo "$as_me:$LINENO: result: no" >&5
93656 +echo "${ECHO_T}no" >&6; }
93657 fi
93658
93659 +
93660 fi
93661 if test -z "$ac_cv_prog_CC"; then
93662 ac_ct_CC=$CC
93663 # Extract the first word of "gcc", so it can be a program name with args.
93664 set dummy gcc; ac_word=$2
93665 -echo "$as_me:$LINENO: checking for $ac_word" >&5
93666 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
93667 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
93668 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
93669 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
93670 echo $ECHO_N "(cached) $ECHO_C" >&6
93671 else
93672 @@ -4551,36 +5122,51 @@ do
93673 IFS=$as_save_IFS
93674 test -z "$as_dir" && as_dir=.
93675 for ac_exec_ext in '' $ac_executable_extensions; do
93676 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
93677 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
93678 ac_cv_prog_ac_ct_CC="gcc"
93679 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
93680 break 2
93681 fi
93682 done
93683 done
93684 +IFS=$as_save_IFS
93685
93686 fi
93687 fi
93688 ac_ct_CC=$ac_cv_prog_ac_ct_CC
93689 if test -n "$ac_ct_CC"; then
93690 - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
93691 -echo "${ECHO_T}$ac_ct_CC" >&6
93692 + { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
93693 +echo "${ECHO_T}$ac_ct_CC" >&6; }
93694 else
93695 - echo "$as_me:$LINENO: result: no" >&5
93696 -echo "${ECHO_T}no" >&6
93697 + { echo "$as_me:$LINENO: result: no" >&5
93698 +echo "${ECHO_T}no" >&6; }
93699 fi
93700
93701 - CC=$ac_ct_CC
93702 + if test "x$ac_ct_CC" = x; then
93703 + CC=""
93704 + else
93705 + case $cross_compiling:$ac_tool_warned in
93706 +yes:)
93707 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
93708 +whose name does not start with the host triplet. If you think this
93709 +configuration is useful to you, please write to autoconf@gnu.org." >&5
93710 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
93711 +whose name does not start with the host triplet. If you think this
93712 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
93713 +ac_tool_warned=yes ;;
93714 +esac
93715 + CC=$ac_ct_CC
93716 + fi
93717 else
93718 CC="$ac_cv_prog_CC"
93719 fi
93720
93721 if test -z "$CC"; then
93722 - if test -n "$ac_tool_prefix"; then
93723 - # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
93724 + if test -n "$ac_tool_prefix"; then
93725 + # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
93726 set dummy ${ac_tool_prefix}cc; ac_word=$2
93727 -echo "$as_me:$LINENO: checking for $ac_word" >&5
93728 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
93729 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
93730 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
93731 if test "${ac_cv_prog_CC+set}" = set; then
93732 echo $ECHO_N "(cached) $ECHO_C" >&6
93733 else
93734 @@ -4593,74 +5179,34 @@ do
93735 IFS=$as_save_IFS
93736 test -z "$as_dir" && as_dir=.
93737 for ac_exec_ext in '' $ac_executable_extensions; do
93738 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
93739 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
93740 ac_cv_prog_CC="${ac_tool_prefix}cc"
93741 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
93742 break 2
93743 fi
93744 done
93745 done
93746 +IFS=$as_save_IFS
93747
93748 fi
93749 fi
93750 CC=$ac_cv_prog_CC
93751 if test -n "$CC"; then
93752 - echo "$as_me:$LINENO: result: $CC" >&5
93753 -echo "${ECHO_T}$CC" >&6
93754 -else
93755 - echo "$as_me:$LINENO: result: no" >&5
93756 -echo "${ECHO_T}no" >&6
93757 -fi
93758 -
93759 -fi
93760 -if test -z "$ac_cv_prog_CC"; then
93761 - ac_ct_CC=$CC
93762 - # Extract the first word of "cc", so it can be a program name with args.
93763 -set dummy cc; ac_word=$2
93764 -echo "$as_me:$LINENO: checking for $ac_word" >&5
93765 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
93766 -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
93767 - echo $ECHO_N "(cached) $ECHO_C" >&6
93768 -else
93769 - if test -n "$ac_ct_CC"; then
93770 - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
93771 -else
93772 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
93773 -for as_dir in $PATH
93774 -do
93775 - IFS=$as_save_IFS
93776 - test -z "$as_dir" && as_dir=.
93777 - for ac_exec_ext in '' $ac_executable_extensions; do
93778 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
93779 - ac_cv_prog_ac_ct_CC="cc"
93780 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
93781 - break 2
93782 - fi
93783 -done
93784 -done
93785 -
93786 -fi
93787 -fi
93788 -ac_ct_CC=$ac_cv_prog_ac_ct_CC
93789 -if test -n "$ac_ct_CC"; then
93790 - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
93791 -echo "${ECHO_T}$ac_ct_CC" >&6
93792 + { echo "$as_me:$LINENO: result: $CC" >&5
93793 +echo "${ECHO_T}$CC" >&6; }
93794 else
93795 - echo "$as_me:$LINENO: result: no" >&5
93796 -echo "${ECHO_T}no" >&6
93797 + { echo "$as_me:$LINENO: result: no" >&5
93798 +echo "${ECHO_T}no" >&6; }
93799 fi
93800
93801 - CC=$ac_ct_CC
93802 -else
93803 - CC="$ac_cv_prog_CC"
93804 -fi
93805
93806 + fi
93807 fi
93808 if test -z "$CC"; then
93809 # Extract the first word of "cc", so it can be a program name with args.
93810 set dummy cc; ac_word=$2
93811 -echo "$as_me:$LINENO: checking for $ac_word" >&5
93812 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
93813 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
93814 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
93815 if test "${ac_cv_prog_CC+set}" = set; then
93816 echo $ECHO_N "(cached) $ECHO_C" >&6
93817 else
93818 @@ -4674,7 +5220,7 @@ do
93819 IFS=$as_save_IFS
93820 test -z "$as_dir" && as_dir=.
93821 for ac_exec_ext in '' $ac_executable_extensions; do
93822 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
93823 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
93824 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
93825 ac_prog_rejected=yes
93826 continue
93827 @@ -4685,6 +5231,7 @@ do
93828 fi
93829 done
93830 done
93831 +IFS=$as_save_IFS
93832
93833 if test $ac_prog_rejected = yes; then
93834 # We found a bogon in the path, so make sure we never use it.
93835 @@ -4702,22 +5249,23 @@ fi
93836 fi
93837 CC=$ac_cv_prog_CC
93838 if test -n "$CC"; then
93839 - echo "$as_me:$LINENO: result: $CC" >&5
93840 -echo "${ECHO_T}$CC" >&6
93841 + { echo "$as_me:$LINENO: result: $CC" >&5
93842 +echo "${ECHO_T}$CC" >&6; }
93843 else
93844 - echo "$as_me:$LINENO: result: no" >&5
93845 -echo "${ECHO_T}no" >&6
93846 + { echo "$as_me:$LINENO: result: no" >&5
93847 +echo "${ECHO_T}no" >&6; }
93848 fi
93849
93850 +
93851 fi
93852 if test -z "$CC"; then
93853 if test -n "$ac_tool_prefix"; then
93854 - for ac_prog in cl
93855 + for ac_prog in cl.exe
93856 do
93857 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
93858 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
93859 -echo "$as_me:$LINENO: checking for $ac_word" >&5
93860 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
93861 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
93862 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
93863 if test "${ac_cv_prog_CC+set}" = set; then
93864 echo $ECHO_N "(cached) $ECHO_C" >&6
93865 else
93866 @@ -4730,36 +5278,38 @@ do
93867 IFS=$as_save_IFS
93868 test -z "$as_dir" && as_dir=.
93869 for ac_exec_ext in '' $ac_executable_extensions; do
93870 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
93871 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
93872 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
93873 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
93874 break 2
93875 fi
93876 done
93877 done
93878 +IFS=$as_save_IFS
93879
93880 fi
93881 fi
93882 CC=$ac_cv_prog_CC
93883 if test -n "$CC"; then
93884 - echo "$as_me:$LINENO: result: $CC" >&5
93885 -echo "${ECHO_T}$CC" >&6
93886 + { echo "$as_me:$LINENO: result: $CC" >&5
93887 +echo "${ECHO_T}$CC" >&6; }
93888 else
93889 - echo "$as_me:$LINENO: result: no" >&5
93890 -echo "${ECHO_T}no" >&6
93891 + { echo "$as_me:$LINENO: result: no" >&5
93892 +echo "${ECHO_T}no" >&6; }
93893 fi
93894
93895 +
93896 test -n "$CC" && break
93897 done
93898 fi
93899 if test -z "$CC"; then
93900 ac_ct_CC=$CC
93901 - for ac_prog in cl
93902 + for ac_prog in cl.exe
93903 do
93904 # Extract the first word of "$ac_prog", so it can be a program name with args.
93905 set dummy $ac_prog; ac_word=$2
93906 -echo "$as_me:$LINENO: checking for $ac_word" >&5
93907 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
93908 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
93909 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
93910 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
93911 echo $ECHO_N "(cached) $ECHO_C" >&6
93912 else
93913 @@ -4772,29 +5322,45 @@ do
93914 IFS=$as_save_IFS
93915 test -z "$as_dir" && as_dir=.
93916 for ac_exec_ext in '' $ac_executable_extensions; do
93917 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
93918 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
93919 ac_cv_prog_ac_ct_CC="$ac_prog"
93920 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
93921 break 2
93922 fi
93923 done
93924 done
93925 +IFS=$as_save_IFS
93926
93927 fi
93928 fi
93929 ac_ct_CC=$ac_cv_prog_ac_ct_CC
93930 if test -n "$ac_ct_CC"; then
93931 - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
93932 -echo "${ECHO_T}$ac_ct_CC" >&6
93933 + { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
93934 +echo "${ECHO_T}$ac_ct_CC" >&6; }
93935 else
93936 - echo "$as_me:$LINENO: result: no" >&5
93937 -echo "${ECHO_T}no" >&6
93938 + { echo "$as_me:$LINENO: result: no" >&5
93939 +echo "${ECHO_T}no" >&6; }
93940 fi
93941
93942 +
93943 test -n "$ac_ct_CC" && break
93944 done
93945
93946 - CC=$ac_ct_CC
93947 + if test "x$ac_ct_CC" = x; then
93948 + CC=""
93949 + else
93950 + case $cross_compiling:$ac_tool_warned in
93951 +yes:)
93952 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
93953 +whose name does not start with the host triplet. If you think this
93954 +configuration is useful to you, please write to autoconf@gnu.org." >&5
93955 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
93956 +whose name does not start with the host triplet. If you think this
93957 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
93958 +ac_tool_warned=yes ;;
93959 +esac
93960 + CC=$ac_ct_CC
93961 + fi
93962 fi
93963
93964 fi
93965 @@ -4807,27 +5373,41 @@ See \`config.log' for more details." >&2
93966 { (exit 1); exit 1; }; }
93967
93968 # Provide some information about the compiler.
93969 -echo "$as_me:$LINENO:" \
93970 - "checking for C compiler version" >&5
93971 +echo "$as_me:$LINENO: checking for C compiler version" >&5
93972 ac_compiler=`set X $ac_compile; echo $2`
93973 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
93974 - (eval $ac_compiler --version </dev/null >&5) 2>&5
93975 +{ (ac_try="$ac_compiler --version >&5"
93976 +case "(($ac_try" in
93977 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
93978 + *) ac_try_echo=$ac_try;;
93979 +esac
93980 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
93981 + (eval "$ac_compiler --version >&5") 2>&5
93982 ac_status=$?
93983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93984 (exit $ac_status); }
93985 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
93986 - (eval $ac_compiler -v </dev/null >&5) 2>&5
93987 +{ (ac_try="$ac_compiler -v >&5"
93988 +case "(($ac_try" in
93989 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
93990 + *) ac_try_echo=$ac_try;;
93991 +esac
93992 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
93993 + (eval "$ac_compiler -v >&5") 2>&5
93994 ac_status=$?
93995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93996 (exit $ac_status); }
93997 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
93998 - (eval $ac_compiler -V </dev/null >&5) 2>&5
93999 +{ (ac_try="$ac_compiler -V >&5"
94000 +case "(($ac_try" in
94001 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
94002 + *) ac_try_echo=$ac_try;;
94003 +esac
94004 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
94005 + (eval "$ac_compiler -V >&5") 2>&5
94006 ac_status=$?
94007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94008 (exit $ac_status); }
94009
94010 -echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
94011 -echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
94012 +{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
94013 +echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
94014 if test "${ac_cv_c_compiler_gnu+set}" = set; then
94015 echo $ECHO_N "(cached) $ECHO_C" >&6
94016 else
94017 @@ -4850,50 +5430,49 @@ main ()
94018 }
94019 _ACEOF
94020 rm -f conftest.$ac_objext
94021 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94022 - (eval $ac_compile) 2>conftest.er1
94023 +if { (ac_try="$ac_compile"
94024 +case "(($ac_try" in
94025 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
94026 + *) ac_try_echo=$ac_try;;
94027 +esac
94028 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
94029 + (eval "$ac_compile") 2>conftest.er1
94030 ac_status=$?
94031 grep -v '^ *+' conftest.er1 >conftest.err
94032 rm -f conftest.er1
94033 cat conftest.err >&5
94034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94035 - (exit $ac_status); } &&
94036 - { ac_try='test -z "$ac_c_werror_flag"
94037 - || test ! -s conftest.err'
94038 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94039 - (eval $ac_try) 2>&5
94040 - ac_status=$?
94041 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
94042 - (exit $ac_status); }; } &&
94043 - { ac_try='test -s conftest.$ac_objext'
94044 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94045 - (eval $ac_try) 2>&5
94046 - ac_status=$?
94047 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
94048 - (exit $ac_status); }; }; then
94049 + (exit $ac_status); } && {
94050 + test -z "$ac_c_werror_flag" ||
94051 + test ! -s conftest.err
94052 + } && test -s conftest.$ac_objext; then
94053 ac_compiler_gnu=yes
94054 else
94055 echo "$as_me: failed program was:" >&5
94056 sed 's/^/| /' conftest.$ac_ext >&5
94057
94058 -ac_compiler_gnu=no
94059 + ac_compiler_gnu=no
94060 fi
94061 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94062 +
94063 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
94064 ac_cv_c_compiler_gnu=$ac_compiler_gnu
94065
94066 fi
94067 -echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
94068 -echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
94069 +{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
94070 +echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
94071 GCC=`test $ac_compiler_gnu = yes && echo yes`
94072 ac_test_CFLAGS=${CFLAGS+set}
94073 ac_save_CFLAGS=$CFLAGS
94074 -CFLAGS="-g"
94075 -echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
94076 -echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
94077 +{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
94078 +echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
94079 if test "${ac_cv_prog_cc_g+set}" = set; then
94080 echo $ECHO_N "(cached) $ECHO_C" >&6
94081 else
94082 - cat >conftest.$ac_ext <<_ACEOF
94083 + ac_save_c_werror_flag=$ac_c_werror_flag
94084 + ac_c_werror_flag=yes
94085 + ac_cv_prog_cc_g=no
94086 + CFLAGS="-g"
94087 + cat >conftest.$ac_ext <<_ACEOF
94088 /* confdefs.h. */
94089 _ACEOF
94090 cat confdefs.h >>conftest.$ac_ext
94091 @@ -4909,59 +5488,139 @@ main ()
94092 }
94093 _ACEOF
94094 rm -f conftest.$ac_objext
94095 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94096 - (eval $ac_compile) 2>conftest.er1
94097 +if { (ac_try="$ac_compile"
94098 +case "(($ac_try" in
94099 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
94100 + *) ac_try_echo=$ac_try;;
94101 +esac
94102 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
94103 + (eval "$ac_compile") 2>conftest.er1
94104 ac_status=$?
94105 grep -v '^ *+' conftest.er1 >conftest.err
94106 rm -f conftest.er1
94107 cat conftest.err >&5
94108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94109 - (exit $ac_status); } &&
94110 - { ac_try='test -z "$ac_c_werror_flag"
94111 - || test ! -s conftest.err'
94112 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94113 - (eval $ac_try) 2>&5
94114 - ac_status=$?
94115 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
94116 - (exit $ac_status); }; } &&
94117 - { ac_try='test -s conftest.$ac_objext'
94118 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94119 - (eval $ac_try) 2>&5
94120 - ac_status=$?
94121 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
94122 - (exit $ac_status); }; }; then
94123 + (exit $ac_status); } && {
94124 + test -z "$ac_c_werror_flag" ||
94125 + test ! -s conftest.err
94126 + } && test -s conftest.$ac_objext; then
94127 ac_cv_prog_cc_g=yes
94128 else
94129 echo "$as_me: failed program was:" >&5
94130 sed 's/^/| /' conftest.$ac_ext >&5
94131
94132 -ac_cv_prog_cc_g=no
94133 -fi
94134 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94135 -fi
94136 -echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
94137 -echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
94138 -if test "$ac_test_CFLAGS" = set; then
94139 - CFLAGS=$ac_save_CFLAGS
94140 -elif test $ac_cv_prog_cc_g = yes; then
94141 - if test "$GCC" = yes; then
94142 - CFLAGS="-g -O2"
94143 - else
94144 - CFLAGS="-g"
94145 - fi
94146 -else
94147 - if test "$GCC" = yes; then
94148 + CFLAGS=""
94149 + cat >conftest.$ac_ext <<_ACEOF
94150 +/* confdefs.h. */
94151 +_ACEOF
94152 +cat confdefs.h >>conftest.$ac_ext
94153 +cat >>conftest.$ac_ext <<_ACEOF
94154 +/* end confdefs.h. */
94155 +
94156 +int
94157 +main ()
94158 +{
94159 +
94160 + ;
94161 + return 0;
94162 +}
94163 +_ACEOF
94164 +rm -f conftest.$ac_objext
94165 +if { (ac_try="$ac_compile"
94166 +case "(($ac_try" in
94167 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
94168 + *) ac_try_echo=$ac_try;;
94169 +esac
94170 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
94171 + (eval "$ac_compile") 2>conftest.er1
94172 + ac_status=$?
94173 + grep -v '^ *+' conftest.er1 >conftest.err
94174 + rm -f conftest.er1
94175 + cat conftest.err >&5
94176 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
94177 + (exit $ac_status); } && {
94178 + test -z "$ac_c_werror_flag" ||
94179 + test ! -s conftest.err
94180 + } && test -s conftest.$ac_objext; then
94181 + :
94182 +else
94183 + echo "$as_me: failed program was:" >&5
94184 +sed 's/^/| /' conftest.$ac_ext >&5
94185 +
94186 + ac_c_werror_flag=$ac_save_c_werror_flag
94187 + CFLAGS="-g"
94188 + cat >conftest.$ac_ext <<_ACEOF
94189 +/* confdefs.h. */
94190 +_ACEOF
94191 +cat confdefs.h >>conftest.$ac_ext
94192 +cat >>conftest.$ac_ext <<_ACEOF
94193 +/* end confdefs.h. */
94194 +
94195 +int
94196 +main ()
94197 +{
94198 +
94199 + ;
94200 + return 0;
94201 +}
94202 +_ACEOF
94203 +rm -f conftest.$ac_objext
94204 +if { (ac_try="$ac_compile"
94205 +case "(($ac_try" in
94206 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
94207 + *) ac_try_echo=$ac_try;;
94208 +esac
94209 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
94210 + (eval "$ac_compile") 2>conftest.er1
94211 + ac_status=$?
94212 + grep -v '^ *+' conftest.er1 >conftest.err
94213 + rm -f conftest.er1
94214 + cat conftest.err >&5
94215 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
94216 + (exit $ac_status); } && {
94217 + test -z "$ac_c_werror_flag" ||
94218 + test ! -s conftest.err
94219 + } && test -s conftest.$ac_objext; then
94220 + ac_cv_prog_cc_g=yes
94221 +else
94222 + echo "$as_me: failed program was:" >&5
94223 +sed 's/^/| /' conftest.$ac_ext >&5
94224 +
94225 +
94226 +fi
94227 +
94228 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
94229 +fi
94230 +
94231 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
94232 +fi
94233 +
94234 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
94235 + ac_c_werror_flag=$ac_save_c_werror_flag
94236 +fi
94237 +{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
94238 +echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
94239 +if test "$ac_test_CFLAGS" = set; then
94240 + CFLAGS=$ac_save_CFLAGS
94241 +elif test $ac_cv_prog_cc_g = yes; then
94242 + if test "$GCC" = yes; then
94243 + CFLAGS="-g -O2"
94244 + else
94245 + CFLAGS="-g"
94246 + fi
94247 +else
94248 + if test "$GCC" = yes; then
94249 CFLAGS="-O2"
94250 else
94251 CFLAGS=
94252 fi
94253 fi
94254 -echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
94255 -echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
94256 -if test "${ac_cv_prog_cc_stdc+set}" = set; then
94257 +{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
94258 +echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
94259 +if test "${ac_cv_prog_cc_c89+set}" = set; then
94260 echo $ECHO_N "(cached) $ECHO_C" >&6
94261 else
94262 - ac_cv_prog_cc_stdc=no
94263 + ac_cv_prog_cc_c89=no
94264 ac_save_CC=$CC
94265 cat >conftest.$ac_ext <<_ACEOF
94266 /* confdefs.h. */
94267 @@ -4995,12 +5654,17 @@ static char *f (char * (*g) (char **, in
94268 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
94269 function prototypes and stuff, but not '\xHH' hex character constants.
94270 These don't provoke an error unfortunately, instead are silently treated
94271 - as 'x'. The following induces an error, until -std1 is added to get
94272 + as 'x'. The following induces an error, until -std is added to get
94273 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
94274 array size at least. It's necessary to write '\x00'==0 to get something
94275 - that's true only with -std1. */
94276 + that's true only with -std. */
94277 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
94278
94279 +/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
94280 + inside strings and character constants. */
94281 +#define FOO(x) 'x'
94282 +int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
94283 +
94284 int test (int i, double x);
94285 struct s1 {int (*f) (int a);};
94286 struct s2 {int (*f) (double a);};
94287 @@ -5015,205 +5679,57 @@ return f (e, argv, 0) != argv[0] || f
94288 return 0;
94289 }
94290 _ACEOF
94291 -# Don't try gcc -ansi; that turns off useful extensions and
94292 -# breaks some systems' header files.
94293 -# AIX -qlanglvl=ansi
94294 -# Ultrix and OSF/1 -std1
94295 -# HP-UX 10.20 and later -Ae
94296 -# HP-UX older versions -Aa -D_HPUX_SOURCE
94297 -# SVR4 -Xc -D__EXTENSIONS__
94298 -for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
94299 +for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
94300 + -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
94301 do
94302 CC="$ac_save_CC $ac_arg"
94303 rm -f conftest.$ac_objext
94304 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94305 - (eval $ac_compile) 2>conftest.er1
94306 +if { (ac_try="$ac_compile"
94307 +case "(($ac_try" in
94308 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
94309 + *) ac_try_echo=$ac_try;;
94310 +esac
94311 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
94312 + (eval "$ac_compile") 2>conftest.er1
94313 ac_status=$?
94314 grep -v '^ *+' conftest.er1 >conftest.err
94315 rm -f conftest.er1
94316 cat conftest.err >&5
94317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94318 - (exit $ac_status); } &&
94319 - { ac_try='test -z "$ac_c_werror_flag"
94320 - || test ! -s conftest.err'
94321 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94322 - (eval $ac_try) 2>&5
94323 - ac_status=$?
94324 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
94325 - (exit $ac_status); }; } &&
94326 - { ac_try='test -s conftest.$ac_objext'
94327 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94328 - (eval $ac_try) 2>&5
94329 - ac_status=$?
94330 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
94331 - (exit $ac_status); }; }; then
94332 - ac_cv_prog_cc_stdc=$ac_arg
94333 -break
94334 + (exit $ac_status); } && {
94335 + test -z "$ac_c_werror_flag" ||
94336 + test ! -s conftest.err
94337 + } && test -s conftest.$ac_objext; then
94338 + ac_cv_prog_cc_c89=$ac_arg
94339 else
94340 echo "$as_me: failed program was:" >&5
94341 sed 's/^/| /' conftest.$ac_ext >&5
94342
94343 +
94344 fi
94345 -rm -f conftest.err conftest.$ac_objext
94346 +
94347 +rm -f core conftest.err conftest.$ac_objext
94348 + test "x$ac_cv_prog_cc_c89" != "xno" && break
94349 done
94350 -rm -f conftest.$ac_ext conftest.$ac_objext
94351 +rm -f conftest.$ac_ext
94352 CC=$ac_save_CC
94353
94354 fi
94355 -
94356 -case "x$ac_cv_prog_cc_stdc" in
94357 - x|xno)
94358 - echo "$as_me:$LINENO: result: none needed" >&5
94359 -echo "${ECHO_T}none needed" >&6 ;;
94360 +# AC_CACHE_VAL
94361 +case "x$ac_cv_prog_cc_c89" in
94362 + x)
94363 + { echo "$as_me:$LINENO: result: none needed" >&5
94364 +echo "${ECHO_T}none needed" >&6; } ;;
94365 + xno)
94366 + { echo "$as_me:$LINENO: result: unsupported" >&5
94367 +echo "${ECHO_T}unsupported" >&6; } ;;
94368 *)
94369 - echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
94370 -echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
94371 - CC="$CC $ac_cv_prog_cc_stdc" ;;
94372 + CC="$CC $ac_cv_prog_cc_c89"
94373 + { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
94374 +echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
94375 esac
94376
94377 -# Some people use a C++ compiler to compile C. Since we use `exit',
94378 -# in C++ we need to declare it. In case someone uses the same compiler
94379 -# for both compiling C and C++ we need to have the C++ compiler decide
94380 -# the declaration of exit, since it's the most demanding environment.
94381 -cat >conftest.$ac_ext <<_ACEOF
94382 -#ifndef __cplusplus
94383 - choke me
94384 -#endif
94385 -_ACEOF
94386 -rm -f conftest.$ac_objext
94387 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94388 - (eval $ac_compile) 2>conftest.er1
94389 - ac_status=$?
94390 - grep -v '^ *+' conftest.er1 >conftest.err
94391 - rm -f conftest.er1
94392 - cat conftest.err >&5
94393 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
94394 - (exit $ac_status); } &&
94395 - { ac_try='test -z "$ac_c_werror_flag"
94396 - || test ! -s conftest.err'
94397 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94398 - (eval $ac_try) 2>&5
94399 - ac_status=$?
94400 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
94401 - (exit $ac_status); }; } &&
94402 - { ac_try='test -s conftest.$ac_objext'
94403 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94404 - (eval $ac_try) 2>&5
94405 - ac_status=$?
94406 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
94407 - (exit $ac_status); }; }; then
94408 - for ac_declaration in \
94409 - '' \
94410 - 'extern "C" void std::exit (int) throw (); using std::exit;' \
94411 - 'extern "C" void std::exit (int); using std::exit;' \
94412 - 'extern "C" void exit (int) throw ();' \
94413 - 'extern "C" void exit (int);' \
94414 - 'void exit (int);'
94415 -do
94416 - cat >conftest.$ac_ext <<_ACEOF
94417 -/* confdefs.h. */
94418 -_ACEOF
94419 -cat confdefs.h >>conftest.$ac_ext
94420 -cat >>conftest.$ac_ext <<_ACEOF
94421 -/* end confdefs.h. */
94422 -$ac_declaration
94423 -#include <stdlib.h>
94424 -int
94425 -main ()
94426 -{
94427 -exit (42);
94428 - ;
94429 - return 0;
94430 -}
94431 -_ACEOF
94432 -rm -f conftest.$ac_objext
94433 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94434 - (eval $ac_compile) 2>conftest.er1
94435 - ac_status=$?
94436 - grep -v '^ *+' conftest.er1 >conftest.err
94437 - rm -f conftest.er1
94438 - cat conftest.err >&5
94439 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
94440 - (exit $ac_status); } &&
94441 - { ac_try='test -z "$ac_c_werror_flag"
94442 - || test ! -s conftest.err'
94443 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94444 - (eval $ac_try) 2>&5
94445 - ac_status=$?
94446 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
94447 - (exit $ac_status); }; } &&
94448 - { ac_try='test -s conftest.$ac_objext'
94449 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94450 - (eval $ac_try) 2>&5
94451 - ac_status=$?
94452 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
94453 - (exit $ac_status); }; }; then
94454 - :
94455 -else
94456 - echo "$as_me: failed program was:" >&5
94457 -sed 's/^/| /' conftest.$ac_ext >&5
94458 -
94459 -continue
94460 -fi
94461 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94462 - cat >conftest.$ac_ext <<_ACEOF
94463 -/* confdefs.h. */
94464 -_ACEOF
94465 -cat confdefs.h >>conftest.$ac_ext
94466 -cat >>conftest.$ac_ext <<_ACEOF
94467 -/* end confdefs.h. */
94468 -$ac_declaration
94469 -int
94470 -main ()
94471 -{
94472 -exit (42);
94473 - ;
94474 - return 0;
94475 -}
94476 -_ACEOF
94477 -rm -f conftest.$ac_objext
94478 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94479 - (eval $ac_compile) 2>conftest.er1
94480 - ac_status=$?
94481 - grep -v '^ *+' conftest.er1 >conftest.err
94482 - rm -f conftest.er1
94483 - cat conftest.err >&5
94484 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
94485 - (exit $ac_status); } &&
94486 - { ac_try='test -z "$ac_c_werror_flag"
94487 - || test ! -s conftest.err'
94488 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94489 - (eval $ac_try) 2>&5
94490 - ac_status=$?
94491 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
94492 - (exit $ac_status); }; } &&
94493 - { ac_try='test -s conftest.$ac_objext'
94494 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94495 - (eval $ac_try) 2>&5
94496 - ac_status=$?
94497 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
94498 - (exit $ac_status); }; }; then
94499 - break
94500 -else
94501 - echo "$as_me: failed program was:" >&5
94502 -sed 's/^/| /' conftest.$ac_ext >&5
94503 -
94504 -fi
94505 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94506 -done
94507 -rm -f conftest*
94508 -if test -n "$ac_declaration"; then
94509 - echo '#ifdef __cplusplus' >>confdefs.h
94510 - echo $ac_declaration >>confdefs.h
94511 - echo '#endif' >>confdefs.h
94512 -fi
94513 -
94514 -else
94515 - echo "$as_me: failed program was:" >&5
94516 -sed 's/^/| /' conftest.$ac_ext >&5
94517
94518 -fi
94519 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94520 ac_ext=c
94521 ac_cpp='$CPP $CPPFLAGS'
94522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94523 @@ -5225,8 +5741,8 @@ ALL_LINGUAS="fr sv tr es da de id pt_BR
94524 if test -n "$ac_tool_prefix"; then
94525 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
94526 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
94527 -echo "$as_me:$LINENO: checking for $ac_word" >&5
94528 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
94529 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
94530 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
94531 if test "${ac_cv_prog_RANLIB+set}" = set; then
94532 echo $ECHO_N "(cached) $ECHO_C" >&6
94533 else
94534 @@ -5239,32 +5755,34 @@ do
94535 IFS=$as_save_IFS
94536 test -z "$as_dir" && as_dir=.
94537 for ac_exec_ext in '' $ac_executable_extensions; do
94538 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
94539 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
94540 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
94541 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
94542 break 2
94543 fi
94544 done
94545 done
94546 +IFS=$as_save_IFS
94547
94548 fi
94549 fi
94550 RANLIB=$ac_cv_prog_RANLIB
94551 if test -n "$RANLIB"; then
94552 - echo "$as_me:$LINENO: result: $RANLIB" >&5
94553 -echo "${ECHO_T}$RANLIB" >&6
94554 + { echo "$as_me:$LINENO: result: $RANLIB" >&5
94555 +echo "${ECHO_T}$RANLIB" >&6; }
94556 else
94557 - echo "$as_me:$LINENO: result: no" >&5
94558 -echo "${ECHO_T}no" >&6
94559 + { echo "$as_me:$LINENO: result: no" >&5
94560 +echo "${ECHO_T}no" >&6; }
94561 fi
94562
94563 +
94564 fi
94565 if test -z "$ac_cv_prog_RANLIB"; then
94566 ac_ct_RANLIB=$RANLIB
94567 # Extract the first word of "ranlib", so it can be a program name with args.
94568 set dummy ranlib; ac_word=$2
94569 -echo "$as_me:$LINENO: checking for $ac_word" >&5
94570 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
94571 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
94572 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
94573 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
94574 echo $ECHO_N "(cached) $ECHO_C" >&6
94575 else
94576 @@ -5277,27 +5795,41 @@ do
94577 IFS=$as_save_IFS
94578 test -z "$as_dir" && as_dir=.
94579 for ac_exec_ext in '' $ac_executable_extensions; do
94580 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
94581 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
94582 ac_cv_prog_ac_ct_RANLIB="ranlib"
94583 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
94584 break 2
94585 fi
94586 done
94587 done
94588 +IFS=$as_save_IFS
94589
94590 - test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
94591 fi
94592 fi
94593 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
94594 if test -n "$ac_ct_RANLIB"; then
94595 - echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
94596 -echo "${ECHO_T}$ac_ct_RANLIB" >&6
94597 + { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
94598 +echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
94599 else
94600 - echo "$as_me:$LINENO: result: no" >&5
94601 -echo "${ECHO_T}no" >&6
94602 + { echo "$as_me:$LINENO: result: no" >&5
94603 +echo "${ECHO_T}no" >&6; }
94604 fi
94605
94606 - RANLIB=$ac_ct_RANLIB
94607 + if test "x$ac_ct_RANLIB" = x; then
94608 + RANLIB=":"
94609 + else
94610 + case $cross_compiling:$ac_tool_warned in
94611 +yes:)
94612 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
94613 +whose name does not start with the host triplet. If you think this
94614 +configuration is useful to you, please write to autoconf@gnu.org." >&5
94615 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
94616 +whose name does not start with the host triplet. If you think this
94617 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
94618 +ac_tool_warned=yes ;;
94619 +esac
94620 + RANLIB=$ac_ct_RANLIB
94621 + fi
94622 else
94623 RANLIB="$ac_cv_prog_RANLIB"
94624 fi
94625 @@ -5307,8 +5839,8 @@ ac_cpp='$CPP $CPPFLAGS'
94626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94629 -echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
94630 -echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
94631 +{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
94632 +echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
94633 # On Suns, sometimes $CPP names a directory.
94634 if test -n "$CPP" && test -d "$CPP"; then
94635 CPP=
94636 @@ -5342,24 +5874,22 @@ cat >>conftest.$ac_ext <<_ACEOF
94637 #endif
94638 Syntax error
94639 _ACEOF
94640 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
94641 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
94642 +if { (ac_try="$ac_cpp conftest.$ac_ext"
94643 +case "(($ac_try" in
94644 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
94645 + *) ac_try_echo=$ac_try;;
94646 +esac
94647 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
94648 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
94649 ac_status=$?
94650 grep -v '^ *+' conftest.er1 >conftest.err
94651 rm -f conftest.er1
94652 cat conftest.err >&5
94653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94654 - (exit $ac_status); } >/dev/null; then
94655 - if test -s conftest.err; then
94656 - ac_cpp_err=$ac_c_preproc_warn_flag
94657 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
94658 - else
94659 - ac_cpp_err=
94660 - fi
94661 -else
94662 - ac_cpp_err=yes
94663 -fi
94664 -if test -z "$ac_cpp_err"; then
94665 + (exit $ac_status); } >/dev/null && {
94666 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
94667 + test ! -s conftest.err
94668 + }; then
94669 :
94670 else
94671 echo "$as_me: failed program was:" >&5
94672 @@ -5368,9 +5898,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
94673 # Broken: fails on valid input.
94674 continue
94675 fi
94676 +
94677 rm -f conftest.err conftest.$ac_ext
94678
94679 - # OK, works on sane cases. Now check whether non-existent headers
94680 + # OK, works on sane cases. Now check whether nonexistent headers
94681 # can be detected and how.
94682 cat >conftest.$ac_ext <<_ACEOF
94683 /* confdefs.h. */
94684 @@ -5380,24 +5911,22 @@ cat >>conftest.$ac_ext <<_ACEOF
94685 /* end confdefs.h. */
94686 #include <ac_nonexistent.h>
94687 _ACEOF
94688 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
94689 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
94690 +if { (ac_try="$ac_cpp conftest.$ac_ext"
94691 +case "(($ac_try" in
94692 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
94693 + *) ac_try_echo=$ac_try;;
94694 +esac
94695 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
94696 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
94697 ac_status=$?
94698 grep -v '^ *+' conftest.er1 >conftest.err
94699 rm -f conftest.er1
94700 cat conftest.err >&5
94701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94702 - (exit $ac_status); } >/dev/null; then
94703 - if test -s conftest.err; then
94704 - ac_cpp_err=$ac_c_preproc_warn_flag
94705 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
94706 - else
94707 - ac_cpp_err=
94708 - fi
94709 -else
94710 - ac_cpp_err=yes
94711 -fi
94712 -if test -z "$ac_cpp_err"; then
94713 + (exit $ac_status); } >/dev/null && {
94714 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
94715 + test ! -s conftest.err
94716 + }; then
94717 # Broken: success on invalid input.
94718 continue
94719 else
94720 @@ -5408,6 +5937,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
94721 ac_preproc_ok=:
94722 break
94723 fi
94724 +
94725 rm -f conftest.err conftest.$ac_ext
94726
94727 done
94728 @@ -5425,8 +5955,8 @@ fi
94729 else
94730 ac_cv_prog_CPP=$CPP
94731 fi
94732 -echo "$as_me:$LINENO: result: $CPP" >&5
94733 -echo "${ECHO_T}$CPP" >&6
94734 +{ echo "$as_me:$LINENO: result: $CPP" >&5
94735 +echo "${ECHO_T}$CPP" >&6; }
94736 ac_preproc_ok=false
94737 for ac_c_preproc_warn_flag in '' yes
94738 do
94739 @@ -5449,24 +5979,22 @@ cat >>conftest.$ac_ext <<_ACEOF
94740 #endif
94741 Syntax error
94742 _ACEOF
94743 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
94744 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
94745 +if { (ac_try="$ac_cpp conftest.$ac_ext"
94746 +case "(($ac_try" in
94747 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
94748 + *) ac_try_echo=$ac_try;;
94749 +esac
94750 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
94751 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
94752 ac_status=$?
94753 grep -v '^ *+' conftest.er1 >conftest.err
94754 rm -f conftest.er1
94755 cat conftest.err >&5
94756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94757 - (exit $ac_status); } >/dev/null; then
94758 - if test -s conftest.err; then
94759 - ac_cpp_err=$ac_c_preproc_warn_flag
94760 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
94761 - else
94762 - ac_cpp_err=
94763 - fi
94764 -else
94765 - ac_cpp_err=yes
94766 -fi
94767 -if test -z "$ac_cpp_err"; then
94768 + (exit $ac_status); } >/dev/null && {
94769 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
94770 + test ! -s conftest.err
94771 + }; then
94772 :
94773 else
94774 echo "$as_me: failed program was:" >&5
94775 @@ -5475,9 +6003,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
94776 # Broken: fails on valid input.
94777 continue
94778 fi
94779 +
94780 rm -f conftest.err conftest.$ac_ext
94781
94782 - # OK, works on sane cases. Now check whether non-existent headers
94783 + # OK, works on sane cases. Now check whether nonexistent headers
94784 # can be detected and how.
94785 cat >conftest.$ac_ext <<_ACEOF
94786 /* confdefs.h. */
94787 @@ -5487,24 +6016,22 @@ cat >>conftest.$ac_ext <<_ACEOF
94788 /* end confdefs.h. */
94789 #include <ac_nonexistent.h>
94790 _ACEOF
94791 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
94792 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
94793 +if { (ac_try="$ac_cpp conftest.$ac_ext"
94794 +case "(($ac_try" in
94795 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
94796 + *) ac_try_echo=$ac_try;;
94797 +esac
94798 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
94799 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
94800 ac_status=$?
94801 grep -v '^ *+' conftest.er1 >conftest.err
94802 rm -f conftest.er1
94803 cat conftest.err >&5
94804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94805 - (exit $ac_status); } >/dev/null; then
94806 - if test -s conftest.err; then
94807 - ac_cpp_err=$ac_c_preproc_warn_flag
94808 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
94809 - else
94810 - ac_cpp_err=
94811 - fi
94812 -else
94813 - ac_cpp_err=yes
94814 -fi
94815 -if test -z "$ac_cpp_err"; then
94816 + (exit $ac_status); } >/dev/null && {
94817 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
94818 + test ! -s conftest.err
94819 + }; then
94820 # Broken: success on invalid input.
94821 continue
94822 else
94823 @@ -5515,6 +6042,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
94824 ac_preproc_ok=:
94825 break
94826 fi
94827 +
94828 rm -f conftest.err conftest.$ac_ext
94829
94830 done
94831 @@ -5537,79 +6065,222 @@ ac_link='$CC -o conftest$ac_exeext $CFLA
94832 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94833
94834
94835 -echo "$as_me:$LINENO: checking for egrep" >&5
94836 -echo $ECHO_N "checking for egrep... $ECHO_C" >&6
94837 -if test "${ac_cv_prog_egrep+set}" = set; then
94838 +{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
94839 +echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
94840 +if test "${ac_cv_path_GREP+set}" = set; then
94841 + echo $ECHO_N "(cached) $ECHO_C" >&6
94842 +else
94843 + # Extract the first word of "grep ggrep" to use in msg output
94844 +if test -z "$GREP"; then
94845 +set dummy grep ggrep; ac_prog_name=$2
94846 +if test "${ac_cv_path_GREP+set}" = set; then
94847 echo $ECHO_N "(cached) $ECHO_C" >&6
94848 else
94849 - if echo a | (grep -E '(a|b)') >/dev/null 2>&1
94850 - then ac_cv_prog_egrep='grep -E'
94851 - else ac_cv_prog_egrep='egrep'
94852 + ac_path_GREP_found=false
94853 +# Loop through the user's path and test for each of PROGNAME-LIST
94854 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
94855 +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
94856 +do
94857 + IFS=$as_save_IFS
94858 + test -z "$as_dir" && as_dir=.
94859 + for ac_prog in grep ggrep; do
94860 + for ac_exec_ext in '' $ac_executable_extensions; do
94861 + ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
94862 + { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
94863 + # Check for GNU ac_path_GREP and select it if it is found.
94864 + # Check for GNU $ac_path_GREP
94865 +case `"$ac_path_GREP" --version 2>&1` in
94866 +*GNU*)
94867 + ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
94868 +*)
94869 + ac_count=0
94870 + echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
94871 + while :
94872 + do
94873 + cat "conftest.in" "conftest.in" >"conftest.tmp"
94874 + mv "conftest.tmp" "conftest.in"
94875 + cp "conftest.in" "conftest.nl"
94876 + echo 'GREP' >> "conftest.nl"
94877 + "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
94878 + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
94879 + ac_count=`expr $ac_count + 1`
94880 + if test $ac_count -gt ${ac_path_GREP_max-0}; then
94881 + # Best one so far, save it but keep looking for a better one
94882 + ac_cv_path_GREP="$ac_path_GREP"
94883 + ac_path_GREP_max=$ac_count
94884 fi
94885 -fi
94886 -echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
94887 -echo "${ECHO_T}$ac_cv_prog_egrep" >&6
94888 - EGREP=$ac_cv_prog_egrep
94889 + # 10*(2^10) chars as input seems more than enough
94890 + test $ac_count -gt 10 && break
94891 + done
94892 + rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
94893 +esac
94894
94895
94896 -echo "$as_me:$LINENO: checking for ANSI C header files" >&5
94897 -echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
94898 -if test "${ac_cv_header_stdc+set}" = set; then
94899 - echo $ECHO_N "(cached) $ECHO_C" >&6
94900 -else
94901 - cat >conftest.$ac_ext <<_ACEOF
94902 -/* confdefs.h. */
94903 -_ACEOF
94904 -cat confdefs.h >>conftest.$ac_ext
94905 -cat >>conftest.$ac_ext <<_ACEOF
94906 -/* end confdefs.h. */
94907 -#include <stdlib.h>
94908 -#include <stdarg.h>
94909 -#include <string.h>
94910 -#include <float.h>
94911 + $ac_path_GREP_found && break 3
94912 + done
94913 +done
94914
94915 -int
94916 -main ()
94917 -{
94918 +done
94919 +IFS=$as_save_IFS
94920 +
94921 +
94922 +fi
94923 +
94924 +GREP="$ac_cv_path_GREP"
94925 +if test -z "$GREP"; then
94926 + { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
94927 +echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
94928 + { (exit 1); exit 1; }; }
94929 +fi
94930
94931 - ;
94932 - return 0;
94933 -}
94934 -_ACEOF
94935 -rm -f conftest.$ac_objext
94936 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94937 - (eval $ac_compile) 2>conftest.er1
94938 - ac_status=$?
94939 - grep -v '^ *+' conftest.er1 >conftest.err
94940 - rm -f conftest.er1
94941 - cat conftest.err >&5
94942 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
94943 - (exit $ac_status); } &&
94944 - { ac_try='test -z "$ac_c_werror_flag"
94945 - || test ! -s conftest.err'
94946 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94947 - (eval $ac_try) 2>&5
94948 - ac_status=$?
94949 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
94950 - (exit $ac_status); }; } &&
94951 - { ac_try='test -s conftest.$ac_objext'
94952 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94953 - (eval $ac_try) 2>&5
94954 - ac_status=$?
94955 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
94956 - (exit $ac_status); }; }; then
94957 - ac_cv_header_stdc=yes
94958 else
94959 - echo "$as_me: failed program was:" >&5
94960 -sed 's/^/| /' conftest.$ac_ext >&5
94961 + ac_cv_path_GREP=$GREP
94962 +fi
94963 +
94964
94965 -ac_cv_header_stdc=no
94966 fi
94967 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94968 +{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
94969 +echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
94970 + GREP="$ac_cv_path_GREP"
94971
94972 -if test $ac_cv_header_stdc = yes; then
94973 - # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
94974 - cat >conftest.$ac_ext <<_ACEOF
94975 +
94976 +{ echo "$as_me:$LINENO: checking for egrep" >&5
94977 +echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
94978 +if test "${ac_cv_path_EGREP+set}" = set; then
94979 + echo $ECHO_N "(cached) $ECHO_C" >&6
94980 +else
94981 + if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
94982 + then ac_cv_path_EGREP="$GREP -E"
94983 + else
94984 + # Extract the first word of "egrep" to use in msg output
94985 +if test -z "$EGREP"; then
94986 +set dummy egrep; ac_prog_name=$2
94987 +if test "${ac_cv_path_EGREP+set}" = set; then
94988 + echo $ECHO_N "(cached) $ECHO_C" >&6
94989 +else
94990 + ac_path_EGREP_found=false
94991 +# Loop through the user's path and test for each of PROGNAME-LIST
94992 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
94993 +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
94994 +do
94995 + IFS=$as_save_IFS
94996 + test -z "$as_dir" && as_dir=.
94997 + for ac_prog in egrep; do
94998 + for ac_exec_ext in '' $ac_executable_extensions; do
94999 + ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
95000 + { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
95001 + # Check for GNU ac_path_EGREP and select it if it is found.
95002 + # Check for GNU $ac_path_EGREP
95003 +case `"$ac_path_EGREP" --version 2>&1` in
95004 +*GNU*)
95005 + ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
95006 +*)
95007 + ac_count=0
95008 + echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
95009 + while :
95010 + do
95011 + cat "conftest.in" "conftest.in" >"conftest.tmp"
95012 + mv "conftest.tmp" "conftest.in"
95013 + cp "conftest.in" "conftest.nl"
95014 + echo 'EGREP' >> "conftest.nl"
95015 + "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
95016 + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
95017 + ac_count=`expr $ac_count + 1`
95018 + if test $ac_count -gt ${ac_path_EGREP_max-0}; then
95019 + # Best one so far, save it but keep looking for a better one
95020 + ac_cv_path_EGREP="$ac_path_EGREP"
95021 + ac_path_EGREP_max=$ac_count
95022 + fi
95023 + # 10*(2^10) chars as input seems more than enough
95024 + test $ac_count -gt 10 && break
95025 + done
95026 + rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
95027 +esac
95028 +
95029 +
95030 + $ac_path_EGREP_found && break 3
95031 + done
95032 +done
95033 +
95034 +done
95035 +IFS=$as_save_IFS
95036 +
95037 +
95038 +fi
95039 +
95040 +EGREP="$ac_cv_path_EGREP"
95041 +if test -z "$EGREP"; then
95042 + { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
95043 +echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
95044 + { (exit 1); exit 1; }; }
95045 +fi
95046 +
95047 +else
95048 + ac_cv_path_EGREP=$EGREP
95049 +fi
95050 +
95051 +
95052 + fi
95053 +fi
95054 +{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
95055 +echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
95056 + EGREP="$ac_cv_path_EGREP"
95057 +
95058 +
95059 +{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
95060 +echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
95061 +if test "${ac_cv_header_stdc+set}" = set; then
95062 + echo $ECHO_N "(cached) $ECHO_C" >&6
95063 +else
95064 + cat >conftest.$ac_ext <<_ACEOF
95065 +/* confdefs.h. */
95066 +_ACEOF
95067 +cat confdefs.h >>conftest.$ac_ext
95068 +cat >>conftest.$ac_ext <<_ACEOF
95069 +/* end confdefs.h. */
95070 +#include <stdlib.h>
95071 +#include <stdarg.h>
95072 +#include <string.h>
95073 +#include <float.h>
95074 +
95075 +int
95076 +main ()
95077 +{
95078 +
95079 + ;
95080 + return 0;
95081 +}
95082 +_ACEOF
95083 +rm -f conftest.$ac_objext
95084 +if { (ac_try="$ac_compile"
95085 +case "(($ac_try" in
95086 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
95087 + *) ac_try_echo=$ac_try;;
95088 +esac
95089 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
95090 + (eval "$ac_compile") 2>conftest.er1
95091 + ac_status=$?
95092 + grep -v '^ *+' conftest.er1 >conftest.err
95093 + rm -f conftest.er1
95094 + cat conftest.err >&5
95095 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
95096 + (exit $ac_status); } && {
95097 + test -z "$ac_c_werror_flag" ||
95098 + test ! -s conftest.err
95099 + } && test -s conftest.$ac_objext; then
95100 + ac_cv_header_stdc=yes
95101 +else
95102 + echo "$as_me: failed program was:" >&5
95103 +sed 's/^/| /' conftest.$ac_ext >&5
95104 +
95105 + ac_cv_header_stdc=no
95106 +fi
95107 +
95108 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
95109 +
95110 +if test $ac_cv_header_stdc = yes; then
95111 + # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
95112 + cat >conftest.$ac_ext <<_ACEOF
95113 /* confdefs.h. */
95114 _ACEOF
95115 cat confdefs.h >>conftest.$ac_ext
95116 @@ -5661,6 +6332,7 @@ cat confdefs.h >>conftest.$ac_ext
95117 cat >>conftest.$ac_ext <<_ACEOF
95118 /* end confdefs.h. */
95119 #include <ctype.h>
95120 +#include <stdlib.h>
95121 #if ((' ' & 0x0FF) == 0x020)
95122 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
95123 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
95124 @@ -5680,18 +6352,27 @@ main ()
95125 for (i = 0; i < 256; i++)
95126 if (XOR (islower (i), ISLOWER (i))
95127 || toupper (i) != TOUPPER (i))
95128 - exit(2);
95129 - exit (0);
95130 + return 2;
95131 + return 0;
95132 }
95133 _ACEOF
95134 rm -f conftest$ac_exeext
95135 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95136 - (eval $ac_link) 2>&5
95137 +if { (ac_try="$ac_link"
95138 +case "(($ac_try" in
95139 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
95140 + *) ac_try_echo=$ac_try;;
95141 +esac
95142 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
95143 + (eval "$ac_link") 2>&5
95144 ac_status=$?
95145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95146 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
95147 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95148 - (eval $ac_try) 2>&5
95149 + { (case "(($ac_try" in
95150 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
95151 + *) ac_try_echo=$ac_try;;
95152 +esac
95153 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
95154 + (eval "$ac_try") 2>&5
95155 ac_status=$?
95156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95157 (exit $ac_status); }; }; then
95158 @@ -5704,12 +6385,14 @@ sed 's/^/| /' conftest.$ac_ext >&5
95159 ( exit $ac_status )
95160 ac_cv_header_stdc=no
95161 fi
95162 -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
95163 +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
95164 fi
95165 +
95166 +
95167 fi
95168 fi
95169 -echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
95170 -echo "${ECHO_T}$ac_cv_header_stdc" >&6
95171 +{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
95172 +echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
95173 if test $ac_cv_header_stdc = yes; then
95174
95175 cat >>confdefs.h <<\_ACEOF
95176 @@ -5718,8 +6401,8 @@ _ACEOF
95177
95178 fi
95179
95180 -echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
95181 -echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
95182 +{ echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
95183 +echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
95184 if test "${ac_cv_c_const+set}" = set; then
95185 echo $ECHO_N "(cached) $ECHO_C" >&6
95186 else
95187 @@ -5737,10 +6420,10 @@ main ()
95188 #ifndef __cplusplus
95189 /* Ultrix mips cc rejects this. */
95190 typedef int charset[2];
95191 - const charset x;
95192 + const charset cs;
95193 /* SunOS 4.1.1 cc rejects this. */
95194 - char const *const *ccp;
95195 - char **p;
95196 + char const *const *pcpcc;
95197 + char **ppc;
95198 /* NEC SVR4.0.2 mips cc rejects this. */
95199 struct point {int x, y;};
95200 static struct point const zero = {0,0};
95201 @@ -5749,16 +6432,17 @@ main ()
95202 an arm of an if-expression whose if-part is not a constant
95203 expression */
95204 const char *g = "string";
95205 - ccp = &g + (g ? g-g : 0);
95206 + pcpcc = &g + (g ? g-g : 0);
95207 /* HPUX 7.0 cc rejects these. */
95208 - ++ccp;
95209 - p = (char**) ccp;
95210 - ccp = (char const *const *) p;
95211 + ++pcpcc;
95212 + ppc = (char**) pcpcc;
95213 + pcpcc = (char const *const *) ppc;
95214 { /* SCO 3.2v4 cc rejects this. */
95215 char *t;
95216 char const *s = 0 ? (char *) 0 : (char const *) 0;
95217
95218 *t++ = 0;
95219 + if (s) return 0;
95220 }
95221 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
95222 int x[] = {25, 17};
95223 @@ -5777,7 +6461,9 @@ main ()
95224 }
95225 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
95226 const int foo = 10;
95227 + if (!foo) return 0;
95228 }
95229 + return !cs[0] && !zero.x;
95230 #endif
95231
95232 ;
95233 @@ -5785,38 +6471,34 @@ main ()
95234 }
95235 _ACEOF
95236 rm -f conftest.$ac_objext
95237 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95238 - (eval $ac_compile) 2>conftest.er1
95239 +if { (ac_try="$ac_compile"
95240 +case "(($ac_try" in
95241 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
95242 + *) ac_try_echo=$ac_try;;
95243 +esac
95244 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
95245 + (eval "$ac_compile") 2>conftest.er1
95246 ac_status=$?
95247 grep -v '^ *+' conftest.er1 >conftest.err
95248 rm -f conftest.er1
95249 cat conftest.err >&5
95250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95251 - (exit $ac_status); } &&
95252 - { ac_try='test -z "$ac_c_werror_flag"
95253 - || test ! -s conftest.err'
95254 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95255 - (eval $ac_try) 2>&5
95256 - ac_status=$?
95257 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
95258 - (exit $ac_status); }; } &&
95259 - { ac_try='test -s conftest.$ac_objext'
95260 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95261 - (eval $ac_try) 2>&5
95262 - ac_status=$?
95263 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
95264 - (exit $ac_status); }; }; then
95265 + (exit $ac_status); } && {
95266 + test -z "$ac_c_werror_flag" ||
95267 + test ! -s conftest.err
95268 + } && test -s conftest.$ac_objext; then
95269 ac_cv_c_const=yes
95270 else
95271 echo "$as_me: failed program was:" >&5
95272 sed 's/^/| /' conftest.$ac_ext >&5
95273
95274 -ac_cv_c_const=no
95275 + ac_cv_c_const=no
95276 fi
95277 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95278 +
95279 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
95280 fi
95281 -echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
95282 -echo "${ECHO_T}$ac_cv_c_const" >&6
95283 +{ echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
95284 +echo "${ECHO_T}$ac_cv_c_const" >&6; }
95285 if test $ac_cv_c_const = no; then
95286
95287 cat >>confdefs.h <<\_ACEOF
95288 @@ -5825,8 +6507,8 @@ _ACEOF
95289
95290 fi
95291
95292 -echo "$as_me:$LINENO: checking for inline" >&5
95293 -echo $ECHO_N "checking for inline... $ECHO_C" >&6
95294 +{ echo "$as_me:$LINENO: checking for inline" >&5
95295 +echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
95296 if test "${ac_cv_c_inline+set}" = set; then
95297 echo $ECHO_N "(cached) $ECHO_C" >&6
95298 else
95299 @@ -5846,39 +6528,37 @@ $ac_kw foo_t foo () {return 0; }
95300
95301 _ACEOF
95302 rm -f conftest.$ac_objext
95303 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95304 - (eval $ac_compile) 2>conftest.er1
95305 +if { (ac_try="$ac_compile"
95306 +case "(($ac_try" in
95307 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
95308 + *) ac_try_echo=$ac_try;;
95309 +esac
95310 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
95311 + (eval "$ac_compile") 2>conftest.er1
95312 ac_status=$?
95313 grep -v '^ *+' conftest.er1 >conftest.err
95314 rm -f conftest.er1
95315 cat conftest.err >&5
95316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95317 - (exit $ac_status); } &&
95318 - { ac_try='test -z "$ac_c_werror_flag"
95319 - || test ! -s conftest.err'
95320 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95321 - (eval $ac_try) 2>&5
95322 - ac_status=$?
95323 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
95324 - (exit $ac_status); }; } &&
95325 - { ac_try='test -s conftest.$ac_objext'
95326 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95327 - (eval $ac_try) 2>&5
95328 - ac_status=$?
95329 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
95330 - (exit $ac_status); }; }; then
95331 - ac_cv_c_inline=$ac_kw; break
95332 + (exit $ac_status); } && {
95333 + test -z "$ac_c_werror_flag" ||
95334 + test ! -s conftest.err
95335 + } && test -s conftest.$ac_objext; then
95336 + ac_cv_c_inline=$ac_kw
95337 else
95338 echo "$as_me: failed program was:" >&5
95339 sed 's/^/| /' conftest.$ac_ext >&5
95340
95341 +
95342 fi
95343 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95344 +
95345 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
95346 + test "$ac_cv_c_inline" != no && break
95347 done
95348
95349 fi
95350 -echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
95351 -echo "${ECHO_T}$ac_cv_c_inline" >&6
95352 +{ echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
95353 +echo "${ECHO_T}$ac_cv_c_inline" >&6; }
95354
95355
95356 case $ac_cv_c_inline in
95357 @@ -5910,9 +6590,9 @@ for ac_header in sys/types.h sys/stat.h
95358 inttypes.h stdint.h unistd.h
95359 do
95360 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
95361 -echo "$as_me:$LINENO: checking for $ac_header" >&5
95362 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
95363 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
95364 +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
95365 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
95366 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
95367 echo $ECHO_N "(cached) $ECHO_C" >&6
95368 else
95369 cat >conftest.$ac_ext <<_ACEOF
95370 @@ -5926,38 +6606,35 @@ $ac_includes_default
95371 #include <$ac_header>
95372 _ACEOF
95373 rm -f conftest.$ac_objext
95374 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95375 - (eval $ac_compile) 2>conftest.er1
95376 +if { (ac_try="$ac_compile"
95377 +case "(($ac_try" in
95378 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
95379 + *) ac_try_echo=$ac_try;;
95380 +esac
95381 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
95382 + (eval "$ac_compile") 2>conftest.er1
95383 ac_status=$?
95384 grep -v '^ *+' conftest.er1 >conftest.err
95385 rm -f conftest.er1
95386 cat conftest.err >&5
95387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95388 - (exit $ac_status); } &&
95389 - { ac_try='test -z "$ac_c_werror_flag"
95390 - || test ! -s conftest.err'
95391 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95392 - (eval $ac_try) 2>&5
95393 - ac_status=$?
95394 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
95395 - (exit $ac_status); }; } &&
95396 - { ac_try='test -s conftest.$ac_objext'
95397 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95398 - (eval $ac_try) 2>&5
95399 - ac_status=$?
95400 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
95401 - (exit $ac_status); }; }; then
95402 + (exit $ac_status); } && {
95403 + test -z "$ac_c_werror_flag" ||
95404 + test ! -s conftest.err
95405 + } && test -s conftest.$ac_objext; then
95406 eval "$as_ac_Header=yes"
95407 else
95408 echo "$as_me: failed program was:" >&5
95409 sed 's/^/| /' conftest.$ac_ext >&5
95410
95411 -eval "$as_ac_Header=no"
95412 + eval "$as_ac_Header=no"
95413 fi
95414 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95415 +
95416 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
95417 fi
95418 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
95419 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
95420 +ac_res=`eval echo '${'$as_ac_Header'}'`
95421 + { echo "$as_me:$LINENO: result: $ac_res" >&5
95422 +echo "${ECHO_T}$ac_res" >&6; }
95423 if test `eval echo '${'$as_ac_Header'}'` = yes; then
95424 cat >>confdefs.h <<_ACEOF
95425 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
95426 @@ -5968,8 +6645,8 @@ fi
95427 done
95428
95429
95430 -echo "$as_me:$LINENO: checking for off_t" >&5
95431 -echo $ECHO_N "checking for off_t... $ECHO_C" >&6
95432 +{ echo "$as_me:$LINENO: checking for off_t" >&5
95433 +echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
95434 if test "${ac_cv_type_off_t+set}" = set; then
95435 echo $ECHO_N "(cached) $ECHO_C" >&6
95436 else
95437 @@ -5980,62 +6657,59 @@ cat confdefs.h >>conftest.$ac_ext
95438 cat >>conftest.$ac_ext <<_ACEOF
95439 /* end confdefs.h. */
95440 $ac_includes_default
95441 +typedef off_t ac__type_new_;
95442 int
95443 main ()
95444 {
95445 -if ((off_t *) 0)
95446 +if ((ac__type_new_ *) 0)
95447 return 0;
95448 -if (sizeof (off_t))
95449 +if (sizeof (ac__type_new_))
95450 return 0;
95451 ;
95452 return 0;
95453 }
95454 _ACEOF
95455 rm -f conftest.$ac_objext
95456 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95457 - (eval $ac_compile) 2>conftest.er1
95458 +if { (ac_try="$ac_compile"
95459 +case "(($ac_try" in
95460 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
95461 + *) ac_try_echo=$ac_try;;
95462 +esac
95463 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
95464 + (eval "$ac_compile") 2>conftest.er1
95465 ac_status=$?
95466 grep -v '^ *+' conftest.er1 >conftest.err
95467 rm -f conftest.er1
95468 cat conftest.err >&5
95469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95470 - (exit $ac_status); } &&
95471 - { ac_try='test -z "$ac_c_werror_flag"
95472 - || test ! -s conftest.err'
95473 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95474 - (eval $ac_try) 2>&5
95475 - ac_status=$?
95476 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
95477 - (exit $ac_status); }; } &&
95478 - { ac_try='test -s conftest.$ac_objext'
95479 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95480 - (eval $ac_try) 2>&5
95481 - ac_status=$?
95482 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
95483 - (exit $ac_status); }; }; then
95484 + (exit $ac_status); } && {
95485 + test -z "$ac_c_werror_flag" ||
95486 + test ! -s conftest.err
95487 + } && test -s conftest.$ac_objext; then
95488 ac_cv_type_off_t=yes
95489 else
95490 echo "$as_me: failed program was:" >&5
95491 sed 's/^/| /' conftest.$ac_ext >&5
95492
95493 -ac_cv_type_off_t=no
95494 + ac_cv_type_off_t=no
95495 fi
95496 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95497 +
95498 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
95499 fi
95500 -echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
95501 -echo "${ECHO_T}$ac_cv_type_off_t" >&6
95502 +{ echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
95503 +echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
95504 if test $ac_cv_type_off_t = yes; then
95505 :
95506 else
95507
95508 cat >>confdefs.h <<_ACEOF
95509 -#define off_t long
95510 +#define off_t long int
95511 _ACEOF
95512
95513 fi
95514
95515 -echo "$as_me:$LINENO: checking for size_t" >&5
95516 -echo $ECHO_N "checking for size_t... $ECHO_C" >&6
95517 +{ echo "$as_me:$LINENO: checking for size_t" >&5
95518 +echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
95519 if test "${ac_cv_type_size_t+set}" = set; then
95520 echo $ECHO_N "(cached) $ECHO_C" >&6
95521 else
95522 @@ -6046,64 +6720,61 @@ cat confdefs.h >>conftest.$ac_ext
95523 cat >>conftest.$ac_ext <<_ACEOF
95524 /* end confdefs.h. */
95525 $ac_includes_default
95526 +typedef size_t ac__type_new_;
95527 int
95528 main ()
95529 {
95530 -if ((size_t *) 0)
95531 +if ((ac__type_new_ *) 0)
95532 return 0;
95533 -if (sizeof (size_t))
95534 +if (sizeof (ac__type_new_))
95535 return 0;
95536 ;
95537 return 0;
95538 }
95539 _ACEOF
95540 rm -f conftest.$ac_objext
95541 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95542 - (eval $ac_compile) 2>conftest.er1
95543 +if { (ac_try="$ac_compile"
95544 +case "(($ac_try" in
95545 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
95546 + *) ac_try_echo=$ac_try;;
95547 +esac
95548 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
95549 + (eval "$ac_compile") 2>conftest.er1
95550 ac_status=$?
95551 grep -v '^ *+' conftest.er1 >conftest.err
95552 rm -f conftest.er1
95553 cat conftest.err >&5
95554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95555 - (exit $ac_status); } &&
95556 - { ac_try='test -z "$ac_c_werror_flag"
95557 - || test ! -s conftest.err'
95558 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95559 - (eval $ac_try) 2>&5
95560 - ac_status=$?
95561 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
95562 - (exit $ac_status); }; } &&
95563 - { ac_try='test -s conftest.$ac_objext'
95564 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95565 - (eval $ac_try) 2>&5
95566 - ac_status=$?
95567 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
95568 - (exit $ac_status); }; }; then
95569 + (exit $ac_status); } && {
95570 + test -z "$ac_c_werror_flag" ||
95571 + test ! -s conftest.err
95572 + } && test -s conftest.$ac_objext; then
95573 ac_cv_type_size_t=yes
95574 else
95575 echo "$as_me: failed program was:" >&5
95576 sed 's/^/| /' conftest.$ac_ext >&5
95577
95578 -ac_cv_type_size_t=no
95579 + ac_cv_type_size_t=no
95580 fi
95581 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95582 +
95583 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
95584 fi
95585 -echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
95586 -echo "${ECHO_T}$ac_cv_type_size_t" >&6
95587 +{ echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
95588 +echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
95589 if test $ac_cv_type_size_t = yes; then
95590 :
95591 else
95592
95593 cat >>confdefs.h <<_ACEOF
95594 -#define size_t unsigned
95595 +#define size_t unsigned int
95596 _ACEOF
95597
95598 fi
95599
95600 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
95601 # for constant arguments. Useless!
95602 -echo "$as_me:$LINENO: checking for working alloca.h" >&5
95603 -echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
95604 +{ echo "$as_me:$LINENO: checking for working alloca.h" >&5
95605 +echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6; }
95606 if test "${ac_cv_working_alloca_h+set}" = set; then
95607 echo $ECHO_N "(cached) $ECHO_C" >&6
95608 else
95609 @@ -6118,44 +6789,42 @@ int
95610 main ()
95611 {
95612 char *p = (char *) alloca (2 * sizeof (int));
95613 + if (p) return 0;
95614 ;
95615 return 0;
95616 }
95617 _ACEOF
95618 rm -f conftest.$ac_objext conftest$ac_exeext
95619 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95620 - (eval $ac_link) 2>conftest.er1
95621 +if { (ac_try="$ac_link"
95622 +case "(($ac_try" in
95623 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
95624 + *) ac_try_echo=$ac_try;;
95625 +esac
95626 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
95627 + (eval "$ac_link") 2>conftest.er1
95628 ac_status=$?
95629 grep -v '^ *+' conftest.er1 >conftest.err
95630 rm -f conftest.er1
95631 cat conftest.err >&5
95632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95633 - (exit $ac_status); } &&
95634 - { ac_try='test -z "$ac_c_werror_flag"
95635 - || test ! -s conftest.err'
95636 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95637 - (eval $ac_try) 2>&5
95638 - ac_status=$?
95639 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
95640 - (exit $ac_status); }; } &&
95641 - { ac_try='test -s conftest$ac_exeext'
95642 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95643 - (eval $ac_try) 2>&5
95644 - ac_status=$?
95645 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
95646 - (exit $ac_status); }; }; then
95647 + (exit $ac_status); } && {
95648 + test -z "$ac_c_werror_flag" ||
95649 + test ! -s conftest.err
95650 + } && test -s conftest$ac_exeext &&
95651 + $as_test_x conftest$ac_exeext; then
95652 ac_cv_working_alloca_h=yes
95653 else
95654 echo "$as_me: failed program was:" >&5
95655 sed 's/^/| /' conftest.$ac_ext >&5
95656
95657 -ac_cv_working_alloca_h=no
95658 + ac_cv_working_alloca_h=no
95659 fi
95660 -rm -f conftest.err conftest.$ac_objext \
95661 +
95662 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
95663 conftest$ac_exeext conftest.$ac_ext
95664 fi
95665 -echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
95666 -echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
95667 +{ echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
95668 +echo "${ECHO_T}$ac_cv_working_alloca_h" >&6; }
95669 if test $ac_cv_working_alloca_h = yes; then
95670
95671 cat >>confdefs.h <<\_ACEOF
95672 @@ -6164,8 +6833,8 @@ _ACEOF
95673
95674 fi
95675
95676 -echo "$as_me:$LINENO: checking for alloca" >&5
95677 -echo $ECHO_N "checking for alloca... $ECHO_C" >&6
95678 +{ echo "$as_me:$LINENO: checking for alloca" >&5
95679 +echo $ECHO_N "checking for alloca... $ECHO_C" >&6; }
95680 if test "${ac_cv_func_alloca_works+set}" = set; then
95681 echo $ECHO_N "(cached) $ECHO_C" >&6
95682 else
95683 @@ -6182,7 +6851,7 @@ cat >>conftest.$ac_ext <<_ACEOF
95684 # include <malloc.h>
95685 # define alloca _alloca
95686 # else
95687 -# if HAVE_ALLOCA_H
95688 +# ifdef HAVE_ALLOCA_H
95689 # include <alloca.h>
95690 # else
95691 # ifdef _AIX
95692 @@ -6200,44 +6869,42 @@ int
95693 main ()
95694 {
95695 char *p = (char *) alloca (1);
95696 + if (p) return 0;
95697 ;
95698 return 0;
95699 }
95700 _ACEOF
95701 rm -f conftest.$ac_objext conftest$ac_exeext
95702 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95703 - (eval $ac_link) 2>conftest.er1
95704 +if { (ac_try="$ac_link"
95705 +case "(($ac_try" in
95706 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
95707 + *) ac_try_echo=$ac_try;;
95708 +esac
95709 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
95710 + (eval "$ac_link") 2>conftest.er1
95711 ac_status=$?
95712 grep -v '^ *+' conftest.er1 >conftest.err
95713 rm -f conftest.er1
95714 cat conftest.err >&5
95715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95716 - (exit $ac_status); } &&
95717 - { ac_try='test -z "$ac_c_werror_flag"
95718 - || test ! -s conftest.err'
95719 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95720 - (eval $ac_try) 2>&5
95721 - ac_status=$?
95722 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
95723 - (exit $ac_status); }; } &&
95724 - { ac_try='test -s conftest$ac_exeext'
95725 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95726 - (eval $ac_try) 2>&5
95727 - ac_status=$?
95728 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
95729 - (exit $ac_status); }; }; then
95730 + (exit $ac_status); } && {
95731 + test -z "$ac_c_werror_flag" ||
95732 + test ! -s conftest.err
95733 + } && test -s conftest$ac_exeext &&
95734 + $as_test_x conftest$ac_exeext; then
95735 ac_cv_func_alloca_works=yes
95736 else
95737 echo "$as_me: failed program was:" >&5
95738 sed 's/^/| /' conftest.$ac_ext >&5
95739
95740 -ac_cv_func_alloca_works=no
95741 + ac_cv_func_alloca_works=no
95742 fi
95743 -rm -f conftest.err conftest.$ac_objext \
95744 +
95745 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
95746 conftest$ac_exeext conftest.$ac_ext
95747 fi
95748 -echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
95749 -echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
95750 +{ echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
95751 +echo "${ECHO_T}$ac_cv_func_alloca_works" >&6; }
95752
95753 if test $ac_cv_func_alloca_works = yes; then
95754
95755 @@ -6251,15 +6918,15 @@ else
95756 # contain a buggy version. If you still want to use their alloca,
95757 # use ar to extract alloca.o from them instead of compiling alloca.c.
95758
95759 -ALLOCA=alloca.$ac_objext
95760 +ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
95761
95762 cat >>confdefs.h <<\_ACEOF
95763 #define C_ALLOCA 1
95764 _ACEOF
95765
95766
95767 -echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
95768 -echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
95769 +{ echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
95770 +echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6; }
95771 if test "${ac_cv_os_cray+set}" = set; then
95772 echo $ECHO_N "(cached) $ECHO_C" >&6
95773 else
95774 @@ -6269,7 +6936,7 @@ _ACEOF
95775 cat confdefs.h >>conftest.$ac_ext
95776 cat >>conftest.$ac_ext <<_ACEOF
95777 /* end confdefs.h. */
95778 -#if defined(CRAY) && ! defined(CRAY2)
95779 +#if defined CRAY && ! defined CRAY2
95780 webecray
95781 #else
95782 wenotbecray
95783 @@ -6285,14 +6952,14 @@ fi
95784 rm -f conftest*
95785
95786 fi
95787 -echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
95788 -echo "${ECHO_T}$ac_cv_os_cray" >&6
95789 +{ echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
95790 +echo "${ECHO_T}$ac_cv_os_cray" >&6; }
95791 if test $ac_cv_os_cray = yes; then
95792 for ac_func in _getb67 GETB67 getb67; do
95793 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95794 -echo "$as_me:$LINENO: checking for $ac_func" >&5
95795 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95796 -if eval "test \"\${$as_ac_var+set}\" = set"; then
95797 +{ echo "$as_me:$LINENO: checking for $ac_func" >&5
95798 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
95799 +if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
95800 echo $ECHO_N "(cached) $ECHO_C" >&6
95801 else
95802 cat >conftest.$ac_ext <<_ACEOF
95803 @@ -6318,68 +6985,60 @@ cat >>conftest.$ac_ext <<_ACEOF
95804
95805 #undef $ac_func
95806
95807 -/* Override any gcc2 internal prototype to avoid an error. */
95808 +/* Override any GCC internal prototype to avoid an error.
95809 + Use char because int might match the return type of a GCC
95810 + builtin and then its argument prototype would still apply. */
95811 #ifdef __cplusplus
95812 extern "C"
95813 -{
95814 #endif
95815 -/* We use char because int might match the return type of a gcc2
95816 - builtin and then its argument prototype would still apply. */
95817 char $ac_func ();
95818 /* The GNU C library defines this for functions which it implements
95819 to always fail with ENOSYS. Some functions are actually named
95820 something starting with __ and the normal name is an alias. */
95821 -#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95822 +#if defined __stub_$ac_func || defined __stub___$ac_func
95823 choke me
95824 -#else
95825 -char (*f) () = $ac_func;
95826 -#endif
95827 -#ifdef __cplusplus
95828 -}
95829 #endif
95830
95831 int
95832 main ()
95833 {
95834 -return f != $ac_func;
95835 +return $ac_func ();
95836 ;
95837 return 0;
95838 }
95839 _ACEOF
95840 rm -f conftest.$ac_objext conftest$ac_exeext
95841 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95842 - (eval $ac_link) 2>conftest.er1
95843 +if { (ac_try="$ac_link"
95844 +case "(($ac_try" in
95845 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
95846 + *) ac_try_echo=$ac_try;;
95847 +esac
95848 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
95849 + (eval "$ac_link") 2>conftest.er1
95850 ac_status=$?
95851 grep -v '^ *+' conftest.er1 >conftest.err
95852 rm -f conftest.er1
95853 cat conftest.err >&5
95854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95855 - (exit $ac_status); } &&
95856 - { ac_try='test -z "$ac_c_werror_flag"
95857 - || test ! -s conftest.err'
95858 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95859 - (eval $ac_try) 2>&5
95860 - ac_status=$?
95861 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
95862 - (exit $ac_status); }; } &&
95863 - { ac_try='test -s conftest$ac_exeext'
95864 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95865 - (eval $ac_try) 2>&5
95866 - ac_status=$?
95867 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
95868 - (exit $ac_status); }; }; then
95869 + (exit $ac_status); } && {
95870 + test -z "$ac_c_werror_flag" ||
95871 + test ! -s conftest.err
95872 + } && test -s conftest$ac_exeext &&
95873 + $as_test_x conftest$ac_exeext; then
95874 eval "$as_ac_var=yes"
95875 else
95876 echo "$as_me: failed program was:" >&5
95877 sed 's/^/| /' conftest.$ac_ext >&5
95878
95879 -eval "$as_ac_var=no"
95880 + eval "$as_ac_var=no"
95881 fi
95882 -rm -f conftest.err conftest.$ac_objext \
95883 +
95884 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
95885 conftest$ac_exeext conftest.$ac_ext
95886 fi
95887 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95888 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95889 +ac_res=`eval echo '${'$as_ac_var'}'`
95890 + { echo "$as_me:$LINENO: result: $ac_res" >&5
95891 +echo "${ECHO_T}$ac_res" >&6; }
95892 if test `eval echo '${'$as_ac_var'}'` = yes; then
95893
95894 cat >>confdefs.h <<_ACEOF
95895 @@ -6392,8 +7051,8 @@ fi
95896 done
95897 fi
95898
95899 -echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
95900 -echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
95901 +{ echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
95902 +echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6; }
95903 if test "${ac_cv_c_stack_direction+set}" = set; then
95904 echo $ECHO_N "(cached) $ECHO_C" >&6
95905 else
95906 @@ -6406,6 +7065,7 @@ _ACEOF
95907 cat confdefs.h >>conftest.$ac_ext
95908 cat >>conftest.$ac_ext <<_ACEOF
95909 /* end confdefs.h. */
95910 +$ac_includes_default
95911 int
95912 find_stack_direction ()
95913 {
95914 @@ -6423,17 +7083,26 @@ find_stack_direction ()
95915 int
95916 main ()
95917 {
95918 - exit (find_stack_direction () < 0);
95919 + return find_stack_direction () < 0;
95920 }
95921 _ACEOF
95922 rm -f conftest$ac_exeext
95923 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95924 - (eval $ac_link) 2>&5
95925 +if { (ac_try="$ac_link"
95926 +case "(($ac_try" in
95927 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
95928 + *) ac_try_echo=$ac_try;;
95929 +esac
95930 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
95931 + (eval "$ac_link") 2>&5
95932 ac_status=$?
95933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95934 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
95935 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95936 - (eval $ac_try) 2>&5
95937 + { (case "(($ac_try" in
95938 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
95939 + *) ac_try_echo=$ac_try;;
95940 +esac
95941 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
95942 + (eval "$ac_try") 2>&5
95943 ac_status=$?
95944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95945 (exit $ac_status); }; }; then
95946 @@ -6446,11 +7115,13 @@ sed 's/^/| /' conftest.$ac_ext >&5
95947 ( exit $ac_status )
95948 ac_cv_c_stack_direction=-1
95949 fi
95950 -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
95951 +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
95952 fi
95953 +
95954 +
95955 fi
95956 -echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
95957 -echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
95958 +{ echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
95959 +echo "${ECHO_T}$ac_cv_c_stack_direction" >&6; }
95960
95961 cat >>confdefs.h <<_ACEOF
95962 #define STACK_DIRECTION $ac_cv_c_stack_direction
95963 @@ -6464,18 +7135,19 @@ fi
95964 for ac_header in stdlib.h unistd.h
95965 do
95966 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
95967 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
95968 - echo "$as_me:$LINENO: checking for $ac_header" >&5
95969 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
95970 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
95971 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
95972 + { echo "$as_me:$LINENO: checking for $ac_header" >&5
95973 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
95974 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
95975 echo $ECHO_N "(cached) $ECHO_C" >&6
95976 fi
95977 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
95978 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
95979 +ac_res=`eval echo '${'$as_ac_Header'}'`
95980 + { echo "$as_me:$LINENO: result: $ac_res" >&5
95981 +echo "${ECHO_T}$ac_res" >&6; }
95982 else
95983 # Is the header compilable?
95984 -echo "$as_me:$LINENO: checking $ac_header usability" >&5
95985 -echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
95986 +{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
95987 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
95988 cat >conftest.$ac_ext <<_ACEOF
95989 /* confdefs.h. */
95990 _ACEOF
95991 @@ -6486,41 +7158,37 @@ $ac_includes_default
95992 #include <$ac_header>
95993 _ACEOF
95994 rm -f conftest.$ac_objext
95995 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95996 - (eval $ac_compile) 2>conftest.er1
95997 +if { (ac_try="$ac_compile"
95998 +case "(($ac_try" in
95999 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
96000 + *) ac_try_echo=$ac_try;;
96001 +esac
96002 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
96003 + (eval "$ac_compile") 2>conftest.er1
96004 ac_status=$?
96005 grep -v '^ *+' conftest.er1 >conftest.err
96006 rm -f conftest.er1
96007 cat conftest.err >&5
96008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96009 - (exit $ac_status); } &&
96010 - { ac_try='test -z "$ac_c_werror_flag"
96011 - || test ! -s conftest.err'
96012 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96013 - (eval $ac_try) 2>&5
96014 - ac_status=$?
96015 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
96016 - (exit $ac_status); }; } &&
96017 - { ac_try='test -s conftest.$ac_objext'
96018 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96019 - (eval $ac_try) 2>&5
96020 - ac_status=$?
96021 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
96022 - (exit $ac_status); }; }; then
96023 + (exit $ac_status); } && {
96024 + test -z "$ac_c_werror_flag" ||
96025 + test ! -s conftest.err
96026 + } && test -s conftest.$ac_objext; then
96027 ac_header_compiler=yes
96028 else
96029 echo "$as_me: failed program was:" >&5
96030 sed 's/^/| /' conftest.$ac_ext >&5
96031
96032 -ac_header_compiler=no
96033 + ac_header_compiler=no
96034 fi
96035 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96036 -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
96037 -echo "${ECHO_T}$ac_header_compiler" >&6
96038 +
96039 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
96040 +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
96041 +echo "${ECHO_T}$ac_header_compiler" >&6; }
96042
96043 # Is the header present?
96044 -echo "$as_me:$LINENO: checking $ac_header presence" >&5
96045 -echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
96046 +{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
96047 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
96048 cat >conftest.$ac_ext <<_ACEOF
96049 /* confdefs.h. */
96050 _ACEOF
96051 @@ -6529,24 +7197,22 @@ cat >>conftest.$ac_ext <<_ACEOF
96052 /* end confdefs.h. */
96053 #include <$ac_header>
96054 _ACEOF
96055 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
96056 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
96057 +if { (ac_try="$ac_cpp conftest.$ac_ext"
96058 +case "(($ac_try" in
96059 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
96060 + *) ac_try_echo=$ac_try;;
96061 +esac
96062 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
96063 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
96064 ac_status=$?
96065 grep -v '^ *+' conftest.er1 >conftest.err
96066 rm -f conftest.er1
96067 cat conftest.err >&5
96068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96069 - (exit $ac_status); } >/dev/null; then
96070 - if test -s conftest.err; then
96071 - ac_cpp_err=$ac_c_preproc_warn_flag
96072 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
96073 - else
96074 - ac_cpp_err=
96075 - fi
96076 -else
96077 - ac_cpp_err=yes
96078 -fi
96079 -if test -z "$ac_cpp_err"; then
96080 + (exit $ac_status); } >/dev/null && {
96081 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
96082 + test ! -s conftest.err
96083 + }; then
96084 ac_header_preproc=yes
96085 else
96086 echo "$as_me: failed program was:" >&5
96087 @@ -6554,9 +7220,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
96088
96089 ac_header_preproc=no
96090 fi
96091 +
96092 rm -f conftest.err conftest.$ac_ext
96093 -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
96094 -echo "${ECHO_T}$ac_header_preproc" >&6
96095 +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
96096 +echo "${ECHO_T}$ac_header_preproc" >&6; }
96097
96098 # So? What about this header?
96099 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
96100 @@ -6580,25 +7247,19 @@ echo "$as_me: WARNING: $ac_header: s
96101 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
96102 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
96103 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
96104 - (
96105 - cat <<\_ASBOX
96106 -## ------------------------------------------ ##
96107 -## Report this to the AC_PACKAGE_NAME lists. ##
96108 -## ------------------------------------------ ##
96109 -_ASBOX
96110 - ) |
96111 - sed "s/^/$as_me: WARNING: /" >&2
96112 +
96113 ;;
96114 esac
96115 -echo "$as_me:$LINENO: checking for $ac_header" >&5
96116 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
96117 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
96118 +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
96119 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
96120 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
96121 echo $ECHO_N "(cached) $ECHO_C" >&6
96122 else
96123 eval "$as_ac_Header=\$ac_header_preproc"
96124 fi
96125 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
96126 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
96127 +ac_res=`eval echo '${'$as_ac_Header'}'`
96128 + { echo "$as_me:$LINENO: result: $ac_res" >&5
96129 +echo "${ECHO_T}$ac_res" >&6; }
96130
96131 fi
96132 if test `eval echo '${'$as_ac_Header'}'` = yes; then
96133 @@ -6614,9 +7275,9 @@ done
96134 for ac_func in getpagesize
96135 do
96136 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96137 -echo "$as_me:$LINENO: checking for $ac_func" >&5
96138 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96139 -if eval "test \"\${$as_ac_var+set}\" = set"; then
96140 +{ echo "$as_me:$LINENO: checking for $ac_func" >&5
96141 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
96142 +if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
96143 echo $ECHO_N "(cached) $ECHO_C" >&6
96144 else
96145 cat >conftest.$ac_ext <<_ACEOF
96146 @@ -6642,68 +7303,60 @@ cat >>conftest.$ac_ext <<_ACEOF
96147
96148 #undef $ac_func
96149
96150 -/* Override any gcc2 internal prototype to avoid an error. */
96151 +/* Override any GCC internal prototype to avoid an error.
96152 + Use char because int might match the return type of a GCC
96153 + builtin and then its argument prototype would still apply. */
96154 #ifdef __cplusplus
96155 extern "C"
96156 -{
96157 #endif
96158 -/* We use char because int might match the return type of a gcc2
96159 - builtin and then its argument prototype would still apply. */
96160 char $ac_func ();
96161 /* The GNU C library defines this for functions which it implements
96162 to always fail with ENOSYS. Some functions are actually named
96163 something starting with __ and the normal name is an alias. */
96164 -#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96165 +#if defined __stub_$ac_func || defined __stub___$ac_func
96166 choke me
96167 -#else
96168 -char (*f) () = $ac_func;
96169 -#endif
96170 -#ifdef __cplusplus
96171 -}
96172 #endif
96173
96174 int
96175 main ()
96176 {
96177 -return f != $ac_func;
96178 +return $ac_func ();
96179 ;
96180 return 0;
96181 }
96182 _ACEOF
96183 rm -f conftest.$ac_objext conftest$ac_exeext
96184 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96185 - (eval $ac_link) 2>conftest.er1
96186 +if { (ac_try="$ac_link"
96187 +case "(($ac_try" in
96188 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
96189 + *) ac_try_echo=$ac_try;;
96190 +esac
96191 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
96192 + (eval "$ac_link") 2>conftest.er1
96193 ac_status=$?
96194 grep -v '^ *+' conftest.er1 >conftest.err
96195 rm -f conftest.er1
96196 cat conftest.err >&5
96197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96198 - (exit $ac_status); } &&
96199 - { ac_try='test -z "$ac_c_werror_flag"
96200 - || test ! -s conftest.err'
96201 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96202 - (eval $ac_try) 2>&5
96203 - ac_status=$?
96204 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
96205 - (exit $ac_status); }; } &&
96206 - { ac_try='test -s conftest$ac_exeext'
96207 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96208 - (eval $ac_try) 2>&5
96209 - ac_status=$?
96210 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
96211 - (exit $ac_status); }; }; then
96212 + (exit $ac_status); } && {
96213 + test -z "$ac_c_werror_flag" ||
96214 + test ! -s conftest.err
96215 + } && test -s conftest$ac_exeext &&
96216 + $as_test_x conftest$ac_exeext; then
96217 eval "$as_ac_var=yes"
96218 else
96219 echo "$as_me: failed program was:" >&5
96220 sed 's/^/| /' conftest.$ac_ext >&5
96221
96222 -eval "$as_ac_var=no"
96223 + eval "$as_ac_var=no"
96224 fi
96225 -rm -f conftest.err conftest.$ac_objext \
96226 +
96227 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
96228 conftest$ac_exeext conftest.$ac_ext
96229 fi
96230 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96231 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96232 +ac_res=`eval echo '${'$as_ac_var'}'`
96233 + { echo "$as_me:$LINENO: result: $ac_res" >&5
96234 +echo "${ECHO_T}$ac_res" >&6; }
96235 if test `eval echo '${'$as_ac_var'}'` = yes; then
96236 cat >>confdefs.h <<_ACEOF
96237 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96238 @@ -6712,8 +7365,8 @@ _ACEOF
96239 fi
96240 done
96241
96242 -echo "$as_me:$LINENO: checking for working mmap" >&5
96243 -echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
96244 +{ echo "$as_me:$LINENO: checking for working mmap" >&5
96245 +echo $ECHO_N "checking for working mmap... $ECHO_C" >&6; }
96246 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
96247 echo $ECHO_N "(cached) $ECHO_C" >&6
96248 else
96249 @@ -6755,21 +7408,21 @@ $ac_includes_default
96250 #include <fcntl.h>
96251 #include <sys/mman.h>
96252
96253 -#if !STDC_HEADERS && !HAVE_STDLIB_H
96254 +#if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
96255 char *malloc ();
96256 #endif
96257
96258 /* This mess was copied from the GNU getpagesize.h. */
96259 -#if !HAVE_GETPAGESIZE
96260 +#ifndef HAVE_GETPAGESIZE
96261 /* Assume that all systems that can run configure have sys/param.h. */
96262 -# if !HAVE_SYS_PARAM_H
96263 +# ifndef HAVE_SYS_PARAM_H
96264 # define HAVE_SYS_PARAM_H 1
96265 # endif
96266
96267 # ifdef _SC_PAGESIZE
96268 # define getpagesize() sysconf(_SC_PAGESIZE)
96269 # else /* no _SC_PAGESIZE */
96270 -# if HAVE_SYS_PARAM_H
96271 +# ifdef HAVE_SYS_PARAM_H
96272 # include <sys/param.h>
96273 # ifdef EXEC_PAGESIZE
96274 # define getpagesize() EXEC_PAGESIZE
96275 @@ -6808,15 +7461,15 @@ main ()
96276 /* First, make a file with some known garbage in it. */
96277 data = (char *) malloc (pagesize);
96278 if (!data)
96279 - exit (1);
96280 + return 1;
96281 for (i = 0; i < pagesize; ++i)
96282 *(data + i) = rand ();
96283 umask (0);
96284 fd = creat ("conftest.mmap", 0600);
96285 if (fd < 0)
96286 - exit (1);
96287 + return 1;
96288 if (write (fd, data, pagesize) != pagesize)
96289 - exit (1);
96290 + return 1;
96291 close (fd);
96292
96293 /* Next, try to mmap the file at a fixed address which already has
96294 @@ -6824,17 +7477,17 @@ main ()
96295 we see the same garbage. */
96296 fd = open ("conftest.mmap", O_RDWR);
96297 if (fd < 0)
96298 - exit (1);
96299 + return 1;
96300 data2 = (char *) malloc (2 * pagesize);
96301 if (!data2)
96302 - exit (1);
96303 - data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
96304 + return 1;
96305 + data2 += (pagesize - ((long int) data2 & (pagesize - 1))) & (pagesize - 1);
96306 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
96307 MAP_PRIVATE | MAP_FIXED, fd, 0L))
96308 - exit (1);
96309 + return 1;
96310 for (i = 0; i < pagesize; ++i)
96311 if (*(data + i) != *(data2 + i))
96312 - exit (1);
96313 + return 1;
96314
96315 /* Finally, make sure that changes to the mapped area do not
96316 percolate back to the file as seen by read(). (This is a bug on
96317 @@ -6843,24 +7496,33 @@ main ()
96318 *(data2 + i) = *(data2 + i) + 1;
96319 data3 = (char *) malloc (pagesize);
96320 if (!data3)
96321 - exit (1);
96322 + return 1;
96323 if (read (fd, data3, pagesize) != pagesize)
96324 - exit (1);
96325 + return 1;
96326 for (i = 0; i < pagesize; ++i)
96327 if (*(data + i) != *(data3 + i))
96328 - exit (1);
96329 + return 1;
96330 close (fd);
96331 - exit (0);
96332 + return 0;
96333 }
96334 _ACEOF
96335 rm -f conftest$ac_exeext
96336 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96337 - (eval $ac_link) 2>&5
96338 +if { (ac_try="$ac_link"
96339 +case "(($ac_try" in
96340 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
96341 + *) ac_try_echo=$ac_try;;
96342 +esac
96343 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
96344 + (eval "$ac_link") 2>&5
96345 ac_status=$?
96346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96347 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
96348 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96349 - (eval $ac_try) 2>&5
96350 + { (case "(($ac_try" in
96351 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
96352 + *) ac_try_echo=$ac_try;;
96353 +esac
96354 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
96355 + (eval "$ac_try") 2>&5
96356 ac_status=$?
96357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96358 (exit $ac_status); }; }; then
96359 @@ -6873,11 +7535,13 @@ sed 's/^/| /' conftest.$ac_ext >&5
96360 ( exit $ac_status )
96361 ac_cv_func_mmap_fixed_mapped=no
96362 fi
96363 -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
96364 +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
96365 fi
96366 +
96367 +
96368 fi
96369 -echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
96370 -echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
96371 +{ echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
96372 +echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6; }
96373 if test $ac_cv_func_mmap_fixed_mapped = yes; then
96374
96375 cat >>confdefs.h <<\_ACEOF
96376 @@ -6901,18 +7565,19 @@ for ac_header in argz.h limits.h locale.
96377 unistd.h values.h sys/param.h
96378 do
96379 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
96380 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
96381 - echo "$as_me:$LINENO: checking for $ac_header" >&5
96382 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
96383 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
96384 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
96385 + { echo "$as_me:$LINENO: checking for $ac_header" >&5
96386 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
96387 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
96388 echo $ECHO_N "(cached) $ECHO_C" >&6
96389 fi
96390 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
96391 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
96392 +ac_res=`eval echo '${'$as_ac_Header'}'`
96393 + { echo "$as_me:$LINENO: result: $ac_res" >&5
96394 +echo "${ECHO_T}$ac_res" >&6; }
96395 else
96396 # Is the header compilable?
96397 -echo "$as_me:$LINENO: checking $ac_header usability" >&5
96398 -echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
96399 +{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
96400 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
96401 cat >conftest.$ac_ext <<_ACEOF
96402 /* confdefs.h. */
96403 _ACEOF
96404 @@ -6923,41 +7588,37 @@ $ac_includes_default
96405 #include <$ac_header>
96406 _ACEOF
96407 rm -f conftest.$ac_objext
96408 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96409 - (eval $ac_compile) 2>conftest.er1
96410 +if { (ac_try="$ac_compile"
96411 +case "(($ac_try" in
96412 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
96413 + *) ac_try_echo=$ac_try;;
96414 +esac
96415 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
96416 + (eval "$ac_compile") 2>conftest.er1
96417 ac_status=$?
96418 grep -v '^ *+' conftest.er1 >conftest.err
96419 rm -f conftest.er1
96420 cat conftest.err >&5
96421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96422 - (exit $ac_status); } &&
96423 - { ac_try='test -z "$ac_c_werror_flag"
96424 - || test ! -s conftest.err'
96425 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96426 - (eval $ac_try) 2>&5
96427 - ac_status=$?
96428 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
96429 - (exit $ac_status); }; } &&
96430 - { ac_try='test -s conftest.$ac_objext'
96431 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96432 - (eval $ac_try) 2>&5
96433 - ac_status=$?
96434 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
96435 - (exit $ac_status); }; }; then
96436 + (exit $ac_status); } && {
96437 + test -z "$ac_c_werror_flag" ||
96438 + test ! -s conftest.err
96439 + } && test -s conftest.$ac_objext; then
96440 ac_header_compiler=yes
96441 else
96442 echo "$as_me: failed program was:" >&5
96443 sed 's/^/| /' conftest.$ac_ext >&5
96444
96445 -ac_header_compiler=no
96446 + ac_header_compiler=no
96447 fi
96448 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96449 -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
96450 -echo "${ECHO_T}$ac_header_compiler" >&6
96451 +
96452 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
96453 +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
96454 +echo "${ECHO_T}$ac_header_compiler" >&6; }
96455
96456 # Is the header present?
96457 -echo "$as_me:$LINENO: checking $ac_header presence" >&5
96458 -echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
96459 +{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
96460 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
96461 cat >conftest.$ac_ext <<_ACEOF
96462 /* confdefs.h. */
96463 _ACEOF
96464 @@ -6966,24 +7627,22 @@ cat >>conftest.$ac_ext <<_ACEOF
96465 /* end confdefs.h. */
96466 #include <$ac_header>
96467 _ACEOF
96468 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
96469 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
96470 +if { (ac_try="$ac_cpp conftest.$ac_ext"
96471 +case "(($ac_try" in
96472 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
96473 + *) ac_try_echo=$ac_try;;
96474 +esac
96475 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
96476 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
96477 ac_status=$?
96478 grep -v '^ *+' conftest.er1 >conftest.err
96479 rm -f conftest.er1
96480 cat conftest.err >&5
96481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96482 - (exit $ac_status); } >/dev/null; then
96483 - if test -s conftest.err; then
96484 - ac_cpp_err=$ac_c_preproc_warn_flag
96485 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
96486 - else
96487 - ac_cpp_err=
96488 - fi
96489 -else
96490 - ac_cpp_err=yes
96491 -fi
96492 -if test -z "$ac_cpp_err"; then
96493 + (exit $ac_status); } >/dev/null && {
96494 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
96495 + test ! -s conftest.err
96496 + }; then
96497 ac_header_preproc=yes
96498 else
96499 echo "$as_me: failed program was:" >&5
96500 @@ -6991,9 +7650,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
96501
96502 ac_header_preproc=no
96503 fi
96504 +
96505 rm -f conftest.err conftest.$ac_ext
96506 -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
96507 -echo "${ECHO_T}$ac_header_preproc" >&6
96508 +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
96509 +echo "${ECHO_T}$ac_header_preproc" >&6; }
96510
96511 # So? What about this header?
96512 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
96513 @@ -7017,25 +7677,19 @@ echo "$as_me: WARNING: $ac_header: s
96514 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
96515 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
96516 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
96517 - (
96518 - cat <<\_ASBOX
96519 -## ------------------------------------------ ##
96520 -## Report this to the AC_PACKAGE_NAME lists. ##
96521 -## ------------------------------------------ ##
96522 -_ASBOX
96523 - ) |
96524 - sed "s/^/$as_me: WARNING: /" >&2
96525 +
96526 ;;
96527 esac
96528 -echo "$as_me:$LINENO: checking for $ac_header" >&5
96529 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
96530 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
96531 +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
96532 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
96533 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
96534 echo $ECHO_N "(cached) $ECHO_C" >&6
96535 else
96536 eval "$as_ac_Header=\$ac_header_preproc"
96537 fi
96538 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
96539 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
96540 +ac_res=`eval echo '${'$as_ac_Header'}'`
96541 + { echo "$as_me:$LINENO: result: $ac_res" >&5
96542 +echo "${ECHO_T}$ac_res" >&6; }
96543
96544 fi
96545 if test `eval echo '${'$as_ac_Header'}'` = yes; then
96546 @@ -7061,9 +7715,9 @@ for ac_func in getcwd munmap putenv sete
96547 __argz_count __argz_stringify __argz_next
96548 do
96549 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96550 -echo "$as_me:$LINENO: checking for $ac_func" >&5
96551 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96552 -if eval "test \"\${$as_ac_var+set}\" = set"; then
96553 +{ echo "$as_me:$LINENO: checking for $ac_func" >&5
96554 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
96555 +if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
96556 echo $ECHO_N "(cached) $ECHO_C" >&6
96557 else
96558 cat >conftest.$ac_ext <<_ACEOF
96559 @@ -7089,68 +7743,60 @@ cat >>conftest.$ac_ext <<_ACEOF
96560
96561 #undef $ac_func
96562
96563 -/* Override any gcc2 internal prototype to avoid an error. */
96564 +/* Override any GCC internal prototype to avoid an error.
96565 + Use char because int might match the return type of a GCC
96566 + builtin and then its argument prototype would still apply. */
96567 #ifdef __cplusplus
96568 extern "C"
96569 -{
96570 #endif
96571 -/* We use char because int might match the return type of a gcc2
96572 - builtin and then its argument prototype would still apply. */
96573 char $ac_func ();
96574 /* The GNU C library defines this for functions which it implements
96575 to always fail with ENOSYS. Some functions are actually named
96576 something starting with __ and the normal name is an alias. */
96577 -#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96578 +#if defined __stub_$ac_func || defined __stub___$ac_func
96579 choke me
96580 -#else
96581 -char (*f) () = $ac_func;
96582 -#endif
96583 -#ifdef __cplusplus
96584 -}
96585 #endif
96586
96587 int
96588 main ()
96589 {
96590 -return f != $ac_func;
96591 +return $ac_func ();
96592 ;
96593 return 0;
96594 }
96595 _ACEOF
96596 rm -f conftest.$ac_objext conftest$ac_exeext
96597 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96598 - (eval $ac_link) 2>conftest.er1
96599 +if { (ac_try="$ac_link"
96600 +case "(($ac_try" in
96601 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
96602 + *) ac_try_echo=$ac_try;;
96603 +esac
96604 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
96605 + (eval "$ac_link") 2>conftest.er1
96606 ac_status=$?
96607 grep -v '^ *+' conftest.er1 >conftest.err
96608 rm -f conftest.er1
96609 cat conftest.err >&5
96610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96611 - (exit $ac_status); } &&
96612 - { ac_try='test -z "$ac_c_werror_flag"
96613 - || test ! -s conftest.err'
96614 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96615 - (eval $ac_try) 2>&5
96616 - ac_status=$?
96617 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
96618 - (exit $ac_status); }; } &&
96619 - { ac_try='test -s conftest$ac_exeext'
96620 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96621 - (eval $ac_try) 2>&5
96622 - ac_status=$?
96623 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
96624 - (exit $ac_status); }; }; then
96625 + (exit $ac_status); } && {
96626 + test -z "$ac_c_werror_flag" ||
96627 + test ! -s conftest.err
96628 + } && test -s conftest$ac_exeext &&
96629 + $as_test_x conftest$ac_exeext; then
96630 eval "$as_ac_var=yes"
96631 else
96632 echo "$as_me: failed program was:" >&5
96633 sed 's/^/| /' conftest.$ac_ext >&5
96634
96635 -eval "$as_ac_var=no"
96636 + eval "$as_ac_var=no"
96637 fi
96638 -rm -f conftest.err conftest.$ac_objext \
96639 +
96640 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
96641 conftest$ac_exeext conftest.$ac_ext
96642 fi
96643 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96644 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96645 +ac_res=`eval echo '${'$as_ac_var'}'`
96646 + { echo "$as_me:$LINENO: result: $ac_res" >&5
96647 +echo "${ECHO_T}$ac_res" >&6; }
96648 if test `eval echo '${'$as_ac_var'}'` = yes; then
96649 cat >>confdefs.h <<_ACEOF
96650 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96651 @@ -7165,9 +7811,9 @@ done
96652 for ac_func in stpcpy
96653 do
96654 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96655 -echo "$as_me:$LINENO: checking for $ac_func" >&5
96656 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96657 -if eval "test \"\${$as_ac_var+set}\" = set"; then
96658 +{ echo "$as_me:$LINENO: checking for $ac_func" >&5
96659 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
96660 +if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
96661 echo $ECHO_N "(cached) $ECHO_C" >&6
96662 else
96663 cat >conftest.$ac_ext <<_ACEOF
96664 @@ -7193,68 +7839,60 @@ cat >>conftest.$ac_ext <<_ACEOF
96665
96666 #undef $ac_func
96667
96668 -/* Override any gcc2 internal prototype to avoid an error. */
96669 +/* Override any GCC internal prototype to avoid an error.
96670 + Use char because int might match the return type of a GCC
96671 + builtin and then its argument prototype would still apply. */
96672 #ifdef __cplusplus
96673 extern "C"
96674 -{
96675 #endif
96676 -/* We use char because int might match the return type of a gcc2
96677 - builtin and then its argument prototype would still apply. */
96678 char $ac_func ();
96679 /* The GNU C library defines this for functions which it implements
96680 to always fail with ENOSYS. Some functions are actually named
96681 something starting with __ and the normal name is an alias. */
96682 -#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96683 +#if defined __stub_$ac_func || defined __stub___$ac_func
96684 choke me
96685 -#else
96686 -char (*f) () = $ac_func;
96687 -#endif
96688 -#ifdef __cplusplus
96689 -}
96690 #endif
96691
96692 int
96693 main ()
96694 {
96695 -return f != $ac_func;
96696 +return $ac_func ();
96697 ;
96698 return 0;
96699 }
96700 _ACEOF
96701 rm -f conftest.$ac_objext conftest$ac_exeext
96702 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96703 - (eval $ac_link) 2>conftest.er1
96704 +if { (ac_try="$ac_link"
96705 +case "(($ac_try" in
96706 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
96707 + *) ac_try_echo=$ac_try;;
96708 +esac
96709 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
96710 + (eval "$ac_link") 2>conftest.er1
96711 ac_status=$?
96712 grep -v '^ *+' conftest.er1 >conftest.err
96713 rm -f conftest.er1
96714 cat conftest.err >&5
96715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96716 - (exit $ac_status); } &&
96717 - { ac_try='test -z "$ac_c_werror_flag"
96718 - || test ! -s conftest.err'
96719 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96720 - (eval $ac_try) 2>&5
96721 - ac_status=$?
96722 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
96723 - (exit $ac_status); }; } &&
96724 - { ac_try='test -s conftest$ac_exeext'
96725 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96726 - (eval $ac_try) 2>&5
96727 - ac_status=$?
96728 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
96729 - (exit $ac_status); }; }; then
96730 + (exit $ac_status); } && {
96731 + test -z "$ac_c_werror_flag" ||
96732 + test ! -s conftest.err
96733 + } && test -s conftest$ac_exeext &&
96734 + $as_test_x conftest$ac_exeext; then
96735 eval "$as_ac_var=yes"
96736 else
96737 echo "$as_me: failed program was:" >&5
96738 sed 's/^/| /' conftest.$ac_ext >&5
96739
96740 -eval "$as_ac_var=no"
96741 + eval "$as_ac_var=no"
96742 fi
96743 -rm -f conftest.err conftest.$ac_objext \
96744 +
96745 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
96746 conftest$ac_exeext conftest.$ac_ext
96747 fi
96748 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96749 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96750 +ac_res=`eval echo '${'$as_ac_var'}'`
96751 + { echo "$as_me:$LINENO: result: $ac_res" >&5
96752 +echo "${ECHO_T}$ac_res" >&6; }
96753 if test `eval echo '${'$as_ac_var'}'` = yes; then
96754 cat >>confdefs.h <<_ACEOF
96755 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96756 @@ -7273,8 +7911,8 @@ _ACEOF
96757 fi
96758
96759 if test $ac_cv_header_locale_h = yes; then
96760 - echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
96761 -echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
96762 + { echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
96763 +echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6; }
96764 if test "${am_cv_val_LC_MESSAGES+set}" = set; then
96765 echo $ECHO_N "(cached) $ECHO_C" >&6
96766 else
96767 @@ -7294,39 +7932,36 @@ return LC_MESSAGES
96768 }
96769 _ACEOF
96770 rm -f conftest.$ac_objext conftest$ac_exeext
96771 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96772 - (eval $ac_link) 2>conftest.er1
96773 +if { (ac_try="$ac_link"
96774 +case "(($ac_try" in
96775 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
96776 + *) ac_try_echo=$ac_try;;
96777 +esac
96778 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
96779 + (eval "$ac_link") 2>conftest.er1
96780 ac_status=$?
96781 grep -v '^ *+' conftest.er1 >conftest.err
96782 rm -f conftest.er1
96783 cat conftest.err >&5
96784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96785 - (exit $ac_status); } &&
96786 - { ac_try='test -z "$ac_c_werror_flag"
96787 - || test ! -s conftest.err'
96788 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96789 - (eval $ac_try) 2>&5
96790 - ac_status=$?
96791 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
96792 - (exit $ac_status); }; } &&
96793 - { ac_try='test -s conftest$ac_exeext'
96794 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96795 - (eval $ac_try) 2>&5
96796 - ac_status=$?
96797 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
96798 - (exit $ac_status); }; }; then
96799 + (exit $ac_status); } && {
96800 + test -z "$ac_c_werror_flag" ||
96801 + test ! -s conftest.err
96802 + } && test -s conftest$ac_exeext &&
96803 + $as_test_x conftest$ac_exeext; then
96804 am_cv_val_LC_MESSAGES=yes
96805 else
96806 echo "$as_me: failed program was:" >&5
96807 sed 's/^/| /' conftest.$ac_ext >&5
96808
96809 -am_cv_val_LC_MESSAGES=no
96810 + am_cv_val_LC_MESSAGES=no
96811 fi
96812 -rm -f conftest.err conftest.$ac_objext \
96813 +
96814 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
96815 conftest$ac_exeext conftest.$ac_ext
96816 fi
96817 -echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
96818 -echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6
96819 +{ echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
96820 +echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6; }
96821 if test $am_cv_val_LC_MESSAGES = yes; then
96822
96823 cat >>confdefs.h <<\_ACEOF
96824 @@ -7335,34 +7970,34 @@ _ACEOF
96825
96826 fi
96827 fi
96828 - echo "$as_me:$LINENO: checking whether NLS is requested" >&5
96829 -echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
96830 - # Check whether --enable-nls or --disable-nls was given.
96831 + { echo "$as_me:$LINENO: checking whether NLS is requested" >&5
96832 +echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6; }
96833 + # Check whether --enable-nls was given.
96834 if test "${enable_nls+set}" = set; then
96835 - enableval="$enable_nls"
96836 - USE_NLS=$enableval
96837 + enableval=$enable_nls; USE_NLS=$enableval
96838 else
96839 USE_NLS=yes
96840 -fi;
96841 - echo "$as_me:$LINENO: result: $USE_NLS" >&5
96842 -echo "${ECHO_T}$USE_NLS" >&6
96843 +fi
96844 +
96845 + { echo "$as_me:$LINENO: result: $USE_NLS" >&5
96846 +echo "${ECHO_T}$USE_NLS" >&6; }
96847
96848
96849 USE_INCLUDED_LIBINTL=no
96850
96851 if test "$USE_NLS" = "yes"; then
96852 - echo "$as_me:$LINENO: checking whether included gettext is requested" >&5
96853 -echo $ECHO_N "checking whether included gettext is requested... $ECHO_C" >&6
96854 + { echo "$as_me:$LINENO: checking whether included gettext is requested" >&5
96855 +echo $ECHO_N "checking whether included gettext is requested... $ECHO_C" >&6; }
96856
96857 -# Check whether --with-included-gettext or --without-included-gettext was given.
96858 +# Check whether --with-included-gettext was given.
96859 if test "${with_included_gettext+set}" = set; then
96860 - withval="$with_included_gettext"
96861 - nls_cv_force_use_gnu_gettext=$withval
96862 + withval=$with_included_gettext; nls_cv_force_use_gnu_gettext=$withval
96863 else
96864 nls_cv_force_use_gnu_gettext=no
96865 -fi;
96866 - echo "$as_me:$LINENO: result: $nls_cv_force_use_gnu_gettext" >&5
96867 -echo "${ECHO_T}$nls_cv_force_use_gnu_gettext" >&6
96868 +fi
96869 +
96870 + { echo "$as_me:$LINENO: result: $nls_cv_force_use_gnu_gettext" >&5
96871 +echo "${ECHO_T}$nls_cv_force_use_gnu_gettext" >&6; }
96872
96873 nls_cv_use_gnu_gettext="$nls_cv_force_use_gnu_gettext"
96874 if test "$nls_cv_force_use_gnu_gettext" != "yes"; then
96875 @@ -7371,17 +8006,17 @@ echo "${ECHO_T}$nls_cv_force_use_gnu_get
96876 CATOBJEXT=
96877
96878 if test "${ac_cv_header_libintl_h+set}" = set; then
96879 - echo "$as_me:$LINENO: checking for libintl.h" >&5
96880 -echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6
96881 + { echo "$as_me:$LINENO: checking for libintl.h" >&5
96882 +echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6; }
96883 if test "${ac_cv_header_libintl_h+set}" = set; then
96884 echo $ECHO_N "(cached) $ECHO_C" >&6
96885 fi
96886 -echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
96887 -echo "${ECHO_T}$ac_cv_header_libintl_h" >&6
96888 +{ echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
96889 +echo "${ECHO_T}$ac_cv_header_libintl_h" >&6; }
96890 else
96891 # Is the header compilable?
96892 -echo "$as_me:$LINENO: checking libintl.h usability" >&5
96893 -echo $ECHO_N "checking libintl.h usability... $ECHO_C" >&6
96894 +{ echo "$as_me:$LINENO: checking libintl.h usability" >&5
96895 +echo $ECHO_N "checking libintl.h usability... $ECHO_C" >&6; }
96896 cat >conftest.$ac_ext <<_ACEOF
96897 /* confdefs.h. */
96898 _ACEOF
96899 @@ -7392,41 +8027,37 @@ $ac_includes_default
96900 #include <libintl.h>
96901 _ACEOF
96902 rm -f conftest.$ac_objext
96903 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96904 - (eval $ac_compile) 2>conftest.er1
96905 +if { (ac_try="$ac_compile"
96906 +case "(($ac_try" in
96907 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
96908 + *) ac_try_echo=$ac_try;;
96909 +esac
96910 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
96911 + (eval "$ac_compile") 2>conftest.er1
96912 ac_status=$?
96913 grep -v '^ *+' conftest.er1 >conftest.err
96914 rm -f conftest.er1
96915 cat conftest.err >&5
96916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96917 - (exit $ac_status); } &&
96918 - { ac_try='test -z "$ac_c_werror_flag"
96919 - || test ! -s conftest.err'
96920 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96921 - (eval $ac_try) 2>&5
96922 - ac_status=$?
96923 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
96924 - (exit $ac_status); }; } &&
96925 - { ac_try='test -s conftest.$ac_objext'
96926 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96927 - (eval $ac_try) 2>&5
96928 - ac_status=$?
96929 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
96930 - (exit $ac_status); }; }; then
96931 + (exit $ac_status); } && {
96932 + test -z "$ac_c_werror_flag" ||
96933 + test ! -s conftest.err
96934 + } && test -s conftest.$ac_objext; then
96935 ac_header_compiler=yes
96936 else
96937 echo "$as_me: failed program was:" >&5
96938 sed 's/^/| /' conftest.$ac_ext >&5
96939
96940 -ac_header_compiler=no
96941 + ac_header_compiler=no
96942 fi
96943 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96944 -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
96945 -echo "${ECHO_T}$ac_header_compiler" >&6
96946 +
96947 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
96948 +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
96949 +echo "${ECHO_T}$ac_header_compiler" >&6; }
96950
96951 # Is the header present?
96952 -echo "$as_me:$LINENO: checking libintl.h presence" >&5
96953 -echo $ECHO_N "checking libintl.h presence... $ECHO_C" >&6
96954 +{ echo "$as_me:$LINENO: checking libintl.h presence" >&5
96955 +echo $ECHO_N "checking libintl.h presence... $ECHO_C" >&6; }
96956 cat >conftest.$ac_ext <<_ACEOF
96957 /* confdefs.h. */
96958 _ACEOF
96959 @@ -7435,24 +8066,22 @@ cat >>conftest.$ac_ext <<_ACEOF
96960 /* end confdefs.h. */
96961 #include <libintl.h>
96962 _ACEOF
96963 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
96964 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
96965 +if { (ac_try="$ac_cpp conftest.$ac_ext"
96966 +case "(($ac_try" in
96967 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
96968 + *) ac_try_echo=$ac_try;;
96969 +esac
96970 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
96971 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
96972 ac_status=$?
96973 grep -v '^ *+' conftest.er1 >conftest.err
96974 rm -f conftest.er1
96975 cat conftest.err >&5
96976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96977 - (exit $ac_status); } >/dev/null; then
96978 - if test -s conftest.err; then
96979 - ac_cpp_err=$ac_c_preproc_warn_flag
96980 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
96981 - else
96982 - ac_cpp_err=
96983 - fi
96984 -else
96985 - ac_cpp_err=yes
96986 -fi
96987 -if test -z "$ac_cpp_err"; then
96988 + (exit $ac_status); } >/dev/null && {
96989 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
96990 + test ! -s conftest.err
96991 + }; then
96992 ac_header_preproc=yes
96993 else
96994 echo "$as_me: failed program was:" >&5
96995 @@ -7460,9 +8089,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
96996
96997 ac_header_preproc=no
96998 fi
96999 +
97000 rm -f conftest.err conftest.$ac_ext
97001 -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
97002 -echo "${ECHO_T}$ac_header_preproc" >&6
97003 +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
97004 +echo "${ECHO_T}$ac_header_preproc" >&6; }
97005
97006 # So? What about this header?
97007 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
97008 @@ -7486,30 +8116,23 @@ echo "$as_me: WARNING: libintl.h: se
97009 echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;}
97010 { echo "$as_me:$LINENO: WARNING: libintl.h: in the future, the compiler will take precedence" >&5
97011 echo "$as_me: WARNING: libintl.h: in the future, the compiler will take precedence" >&2;}
97012 - (
97013 - cat <<\_ASBOX
97014 -## ------------------------------------------ ##
97015 -## Report this to the AC_PACKAGE_NAME lists. ##
97016 -## ------------------------------------------ ##
97017 -_ASBOX
97018 - ) |
97019 - sed "s/^/$as_me: WARNING: /" >&2
97020 +
97021 ;;
97022 esac
97023 -echo "$as_me:$LINENO: checking for libintl.h" >&5
97024 -echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6
97025 +{ echo "$as_me:$LINENO: checking for libintl.h" >&5
97026 +echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6; }
97027 if test "${ac_cv_header_libintl_h+set}" = set; then
97028 echo $ECHO_N "(cached) $ECHO_C" >&6
97029 else
97030 ac_cv_header_libintl_h=$ac_header_preproc
97031 fi
97032 -echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
97033 -echo "${ECHO_T}$ac_cv_header_libintl_h" >&6
97034 +{ echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
97035 +echo "${ECHO_T}$ac_cv_header_libintl_h" >&6; }
97036
97037 fi
97038 if test $ac_cv_header_libintl_h = yes; then
97039 - echo "$as_me:$LINENO: checking for gettext in libc" >&5
97040 -echo $ECHO_N "checking for gettext in libc... $ECHO_C" >&6
97041 + { echo "$as_me:$LINENO: checking for gettext in libc" >&5
97042 +echo $ECHO_N "checking for gettext in libc... $ECHO_C" >&6; }
97043 if test "${gt_cv_func_gettext_libc+set}" = set; then
97044 echo $ECHO_N "(cached) $ECHO_C" >&6
97045 else
97046 @@ -7529,43 +8152,40 @@ return (int) gettext ("")
97047 }
97048 _ACEOF
97049 rm -f conftest.$ac_objext conftest$ac_exeext
97050 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97051 - (eval $ac_link) 2>conftest.er1
97052 +if { (ac_try="$ac_link"
97053 +case "(($ac_try" in
97054 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
97055 + *) ac_try_echo=$ac_try;;
97056 +esac
97057 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
97058 + (eval "$ac_link") 2>conftest.er1
97059 ac_status=$?
97060 grep -v '^ *+' conftest.er1 >conftest.err
97061 rm -f conftest.er1
97062 cat conftest.err >&5
97063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97064 - (exit $ac_status); } &&
97065 - { ac_try='test -z "$ac_c_werror_flag"
97066 - || test ! -s conftest.err'
97067 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97068 - (eval $ac_try) 2>&5
97069 - ac_status=$?
97070 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
97071 - (exit $ac_status); }; } &&
97072 - { ac_try='test -s conftest$ac_exeext'
97073 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97074 - (eval $ac_try) 2>&5
97075 - ac_status=$?
97076 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
97077 - (exit $ac_status); }; }; then
97078 + (exit $ac_status); } && {
97079 + test -z "$ac_c_werror_flag" ||
97080 + test ! -s conftest.err
97081 + } && test -s conftest$ac_exeext &&
97082 + $as_test_x conftest$ac_exeext; then
97083 gt_cv_func_gettext_libc=yes
97084 else
97085 echo "$as_me: failed program was:" >&5
97086 sed 's/^/| /' conftest.$ac_ext >&5
97087
97088 -gt_cv_func_gettext_libc=no
97089 + gt_cv_func_gettext_libc=no
97090 fi
97091 -rm -f conftest.err conftest.$ac_objext \
97092 +
97093 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
97094 conftest$ac_exeext conftest.$ac_ext
97095 fi
97096 -echo "$as_me:$LINENO: result: $gt_cv_func_gettext_libc" >&5
97097 -echo "${ECHO_T}$gt_cv_func_gettext_libc" >&6
97098 +{ echo "$as_me:$LINENO: result: $gt_cv_func_gettext_libc" >&5
97099 +echo "${ECHO_T}$gt_cv_func_gettext_libc" >&6; }
97100
97101 if test "$gt_cv_func_gettext_libc" != "yes"; then
97102 - echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5
97103 -echo $ECHO_N "checking for bindtextdomain in -lintl... $ECHO_C" >&6
97104 + { echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5
97105 +echo $ECHO_N "checking for bindtextdomain in -lintl... $ECHO_C" >&6; }
97106 if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then
97107 echo $ECHO_N "(cached) $ECHO_C" >&6
97108 else
97109 @@ -7578,59 +8198,56 @@ cat confdefs.h >>conftest.$ac_ext
97110 cat >>conftest.$ac_ext <<_ACEOF
97111 /* end confdefs.h. */
97112
97113 -/* Override any gcc2 internal prototype to avoid an error. */
97114 +/* Override any GCC internal prototype to avoid an error.
97115 + Use char because int might match the return type of a GCC
97116 + builtin and then its argument prototype would still apply. */
97117 #ifdef __cplusplus
97118 extern "C"
97119 #endif
97120 -/* We use char because int might match the return type of a gcc2
97121 - builtin and then its argument prototype would still apply. */
97122 char bindtextdomain ();
97123 int
97124 main ()
97125 {
97126 -bindtextdomain ();
97127 +return bindtextdomain ();
97128 ;
97129 return 0;
97130 }
97131 _ACEOF
97132 rm -f conftest.$ac_objext conftest$ac_exeext
97133 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97134 - (eval $ac_link) 2>conftest.er1
97135 +if { (ac_try="$ac_link"
97136 +case "(($ac_try" in
97137 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
97138 + *) ac_try_echo=$ac_try;;
97139 +esac
97140 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
97141 + (eval "$ac_link") 2>conftest.er1
97142 ac_status=$?
97143 grep -v '^ *+' conftest.er1 >conftest.err
97144 rm -f conftest.er1
97145 cat conftest.err >&5
97146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97147 - (exit $ac_status); } &&
97148 - { ac_try='test -z "$ac_c_werror_flag"
97149 - || test ! -s conftest.err'
97150 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97151 - (eval $ac_try) 2>&5
97152 - ac_status=$?
97153 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
97154 - (exit $ac_status); }; } &&
97155 - { ac_try='test -s conftest$ac_exeext'
97156 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97157 - (eval $ac_try) 2>&5
97158 - ac_status=$?
97159 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
97160 - (exit $ac_status); }; }; then
97161 + (exit $ac_status); } && {
97162 + test -z "$ac_c_werror_flag" ||
97163 + test ! -s conftest.err
97164 + } && test -s conftest$ac_exeext &&
97165 + $as_test_x conftest$ac_exeext; then
97166 ac_cv_lib_intl_bindtextdomain=yes
97167 else
97168 echo "$as_me: failed program was:" >&5
97169 sed 's/^/| /' conftest.$ac_ext >&5
97170
97171 -ac_cv_lib_intl_bindtextdomain=no
97172 + ac_cv_lib_intl_bindtextdomain=no
97173 fi
97174 -rm -f conftest.err conftest.$ac_objext \
97175 +
97176 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
97177 conftest$ac_exeext conftest.$ac_ext
97178 LIBS=$ac_check_lib_save_LIBS
97179 fi
97180 -echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5
97181 -echo "${ECHO_T}$ac_cv_lib_intl_bindtextdomain" >&6
97182 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5
97183 +echo "${ECHO_T}$ac_cv_lib_intl_bindtextdomain" >&6; }
97184 if test $ac_cv_lib_intl_bindtextdomain = yes; then
97185 - echo "$as_me:$LINENO: checking for gettext in libintl" >&5
97186 -echo $ECHO_N "checking for gettext in libintl... $ECHO_C" >&6
97187 + { echo "$as_me:$LINENO: checking for gettext in libintl" >&5
97188 +echo $ECHO_N "checking for gettext in libintl... $ECHO_C" >&6; }
97189 if test "${gt_cv_func_gettext_libintl+set}" = set; then
97190 echo $ECHO_N "(cached) $ECHO_C" >&6
97191 else
97192 @@ -7650,39 +8267,36 @@ return (int) gettext ("")
97193 }
97194 _ACEOF
97195 rm -f conftest.$ac_objext conftest$ac_exeext
97196 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97197 - (eval $ac_link) 2>conftest.er1
97198 +if { (ac_try="$ac_link"
97199 +case "(($ac_try" in
97200 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
97201 + *) ac_try_echo=$ac_try;;
97202 +esac
97203 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
97204 + (eval "$ac_link") 2>conftest.er1
97205 ac_status=$?
97206 grep -v '^ *+' conftest.er1 >conftest.err
97207 rm -f conftest.er1
97208 cat conftest.err >&5
97209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97210 - (exit $ac_status); } &&
97211 - { ac_try='test -z "$ac_c_werror_flag"
97212 - || test ! -s conftest.err'
97213 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97214 - (eval $ac_try) 2>&5
97215 - ac_status=$?
97216 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
97217 - (exit $ac_status); }; } &&
97218 - { ac_try='test -s conftest$ac_exeext'
97219 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97220 - (eval $ac_try) 2>&5
97221 - ac_status=$?
97222 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
97223 - (exit $ac_status); }; }; then
97224 + (exit $ac_status); } && {
97225 + test -z "$ac_c_werror_flag" ||
97226 + test ! -s conftest.err
97227 + } && test -s conftest$ac_exeext &&
97228 + $as_test_x conftest$ac_exeext; then
97229 gt_cv_func_gettext_libintl=yes
97230 else
97231 echo "$as_me: failed program was:" >&5
97232 sed 's/^/| /' conftest.$ac_ext >&5
97233
97234 -gt_cv_func_gettext_libintl=no
97235 + gt_cv_func_gettext_libintl=no
97236 fi
97237 -rm -f conftest.err conftest.$ac_objext \
97238 +
97239 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
97240 conftest$ac_exeext conftest.$ac_ext
97241 fi
97242 -echo "$as_me:$LINENO: result: $gt_cv_func_gettext_libintl" >&5
97243 -echo "${ECHO_T}$gt_cv_func_gettext_libintl" >&6
97244 +{ echo "$as_me:$LINENO: result: $gt_cv_func_gettext_libintl" >&5
97245 +echo "${ECHO_T}$gt_cv_func_gettext_libintl" >&6; }
97246 fi
97247
97248 fi
97249 @@ -7696,8 +8310,8 @@ _ACEOF
97250
97251 # Extract the first word of "msgfmt", so it can be a program name with args.
97252 set dummy msgfmt; ac_word=$2
97253 -echo "$as_me:$LINENO: checking for $ac_word" >&5
97254 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
97255 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
97256 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
97257 if test "${ac_cv_path_MSGFMT+set}" = set; then
97258 echo $ECHO_N "(cached) $ECHO_C" >&6
97259 else
97260 @@ -7723,20 +8337,20 @@ esac
97261 fi
97262 MSGFMT="$ac_cv_path_MSGFMT"
97263 if test -n "$MSGFMT"; then
97264 - echo "$as_me:$LINENO: result: $MSGFMT" >&5
97265 -echo "${ECHO_T}$MSGFMT" >&6
97266 + { echo "$as_me:$LINENO: result: $MSGFMT" >&5
97267 +echo "${ECHO_T}$MSGFMT" >&6; }
97268 else
97269 - echo "$as_me:$LINENO: result: no" >&5
97270 -echo "${ECHO_T}no" >&6
97271 + { echo "$as_me:$LINENO: result: no" >&5
97272 +echo "${ECHO_T}no" >&6; }
97273 fi
97274 if test "$MSGFMT" != "no"; then
97275
97276 for ac_func in dcgettext
97277 do
97278 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97279 -echo "$as_me:$LINENO: checking for $ac_func" >&5
97280 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
97281 -if eval "test \"\${$as_ac_var+set}\" = set"; then
97282 +{ echo "$as_me:$LINENO: checking for $ac_func" >&5
97283 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
97284 +if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
97285 echo $ECHO_N "(cached) $ECHO_C" >&6
97286 else
97287 cat >conftest.$ac_ext <<_ACEOF
97288 @@ -7762,68 +8376,60 @@ cat >>conftest.$ac_ext <<_ACEOF
97289
97290 #undef $ac_func
97291
97292 -/* Override any gcc2 internal prototype to avoid an error. */
97293 +/* Override any GCC internal prototype to avoid an error.
97294 + Use char because int might match the return type of a GCC
97295 + builtin and then its argument prototype would still apply. */
97296 #ifdef __cplusplus
97297 extern "C"
97298 -{
97299 #endif
97300 -/* We use char because int might match the return type of a gcc2
97301 - builtin and then its argument prototype would still apply. */
97302 char $ac_func ();
97303 /* The GNU C library defines this for functions which it implements
97304 to always fail with ENOSYS. Some functions are actually named
97305 something starting with __ and the normal name is an alias. */
97306 -#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
97307 +#if defined __stub_$ac_func || defined __stub___$ac_func
97308 choke me
97309 -#else
97310 -char (*f) () = $ac_func;
97311 -#endif
97312 -#ifdef __cplusplus
97313 -}
97314 #endif
97315
97316 int
97317 main ()
97318 {
97319 -return f != $ac_func;
97320 +return $ac_func ();
97321 ;
97322 return 0;
97323 }
97324 _ACEOF
97325 rm -f conftest.$ac_objext conftest$ac_exeext
97326 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97327 - (eval $ac_link) 2>conftest.er1
97328 +if { (ac_try="$ac_link"
97329 +case "(($ac_try" in
97330 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
97331 + *) ac_try_echo=$ac_try;;
97332 +esac
97333 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
97334 + (eval "$ac_link") 2>conftest.er1
97335 ac_status=$?
97336 grep -v '^ *+' conftest.er1 >conftest.err
97337 rm -f conftest.er1
97338 cat conftest.err >&5
97339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97340 - (exit $ac_status); } &&
97341 - { ac_try='test -z "$ac_c_werror_flag"
97342 - || test ! -s conftest.err'
97343 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97344 - (eval $ac_try) 2>&5
97345 - ac_status=$?
97346 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
97347 - (exit $ac_status); }; } &&
97348 - { ac_try='test -s conftest$ac_exeext'
97349 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97350 - (eval $ac_try) 2>&5
97351 - ac_status=$?
97352 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
97353 - (exit $ac_status); }; }; then
97354 + (exit $ac_status); } && {
97355 + test -z "$ac_c_werror_flag" ||
97356 + test ! -s conftest.err
97357 + } && test -s conftest$ac_exeext &&
97358 + $as_test_x conftest$ac_exeext; then
97359 eval "$as_ac_var=yes"
97360 else
97361 echo "$as_me: failed program was:" >&5
97362 sed 's/^/| /' conftest.$ac_ext >&5
97363
97364 -eval "$as_ac_var=no"
97365 + eval "$as_ac_var=no"
97366 fi
97367 -rm -f conftest.err conftest.$ac_objext \
97368 +
97369 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
97370 conftest$ac_exeext conftest.$ac_ext
97371 fi
97372 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
97373 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
97374 +ac_res=`eval echo '${'$as_ac_var'}'`
97375 + { echo "$as_me:$LINENO: result: $ac_res" >&5
97376 +echo "${ECHO_T}$ac_res" >&6; }
97377 if test `eval echo '${'$as_ac_var'}'` = yes; then
97378 cat >>confdefs.h <<_ACEOF
97379 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97380 @@ -7834,8 +8440,8 @@ done
97381
97382 # Extract the first word of "gmsgfmt", so it can be a program name with args.
97383 set dummy gmsgfmt; ac_word=$2
97384 -echo "$as_me:$LINENO: checking for $ac_word" >&5
97385 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
97386 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
97387 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
97388 if test "${ac_cv_path_GMSGFMT+set}" = set; then
97389 echo $ECHO_N "(cached) $ECHO_C" >&6
97390 else
97391 @@ -7850,32 +8456,33 @@ do
97392 IFS=$as_save_IFS
97393 test -z "$as_dir" && as_dir=.
97394 for ac_exec_ext in '' $ac_executable_extensions; do
97395 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
97396 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
97397 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
97398 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
97399 break 2
97400 fi
97401 done
97402 done
97403 +IFS=$as_save_IFS
97404
97405 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
97406 ;;
97407 esac
97408 fi
97409 GMSGFMT=$ac_cv_path_GMSGFMT
97410 -
97411 if test -n "$GMSGFMT"; then
97412 - echo "$as_me:$LINENO: result: $GMSGFMT" >&5
97413 -echo "${ECHO_T}$GMSGFMT" >&6
97414 + { echo "$as_me:$LINENO: result: $GMSGFMT" >&5
97415 +echo "${ECHO_T}$GMSGFMT" >&6; }
97416 else
97417 - echo "$as_me:$LINENO: result: no" >&5
97418 -echo "${ECHO_T}no" >&6
97419 + { echo "$as_me:$LINENO: result: no" >&5
97420 +echo "${ECHO_T}no" >&6; }
97421 fi
97422
97423 +
97424 # Extract the first word of "xgettext", so it can be a program name with args.
97425 set dummy xgettext; ac_word=$2
97426 -echo "$as_me:$LINENO: checking for $ac_word" >&5
97427 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
97428 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
97429 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
97430 if test "${ac_cv_path_XGETTEXT+set}" = set; then
97431 echo $ECHO_N "(cached) $ECHO_C" >&6
97432 else
97433 @@ -7901,11 +8508,11 @@ esac
97434 fi
97435 XGETTEXT="$ac_cv_path_XGETTEXT"
97436 if test -n "$XGETTEXT"; then
97437 - echo "$as_me:$LINENO: result: $XGETTEXT" >&5
97438 -echo "${ECHO_T}$XGETTEXT" >&6
97439 + { echo "$as_me:$LINENO: result: $XGETTEXT" >&5
97440 +echo "${ECHO_T}$XGETTEXT" >&6; }
97441 else
97442 - echo "$as_me:$LINENO: result: no" >&5
97443 -echo "${ECHO_T}no" >&6
97444 + { echo "$as_me:$LINENO: result: no" >&5
97445 +echo "${ECHO_T}no" >&6; }
97446 fi
97447
97448 cat >conftest.$ac_ext <<_ACEOF
97449 @@ -7925,37 +8532,34 @@ extern int _nl_msg_cat_cntr;
97450 }
97451 _ACEOF
97452 rm -f conftest.$ac_objext conftest$ac_exeext
97453 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97454 - (eval $ac_link) 2>conftest.er1
97455 +if { (ac_try="$ac_link"
97456 +case "(($ac_try" in
97457 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
97458 + *) ac_try_echo=$ac_try;;
97459 +esac
97460 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
97461 + (eval "$ac_link") 2>conftest.er1
97462 ac_status=$?
97463 grep -v '^ *+' conftest.er1 >conftest.err
97464 rm -f conftest.er1
97465 cat conftest.err >&5
97466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97467 - (exit $ac_status); } &&
97468 - { ac_try='test -z "$ac_c_werror_flag"
97469 - || test ! -s conftest.err'
97470 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97471 - (eval $ac_try) 2>&5
97472 - ac_status=$?
97473 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
97474 - (exit $ac_status); }; } &&
97475 - { ac_try='test -s conftest$ac_exeext'
97476 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97477 - (eval $ac_try) 2>&5
97478 - ac_status=$?
97479 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
97480 - (exit $ac_status); }; }; then
97481 + (exit $ac_status); } && {
97482 + test -z "$ac_c_werror_flag" ||
97483 + test ! -s conftest.err
97484 + } && test -s conftest$ac_exeext &&
97485 + $as_test_x conftest$ac_exeext; then
97486 CATOBJEXT=.gmo
97487 DATADIRNAME=share
97488 else
97489 echo "$as_me: failed program was:" >&5
97490 sed 's/^/| /' conftest.$ac_ext >&5
97491
97492 -CATOBJEXT=.mo
97493 + CATOBJEXT=.mo
97494 DATADIRNAME=lib
97495 fi
97496 -rm -f conftest.err conftest.$ac_objext \
97497 +
97498 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
97499 conftest$ac_exeext conftest.$ac_ext
97500 INSTOBJEXT=.mo
97501 fi
97502 @@ -7977,8 +8581,8 @@ fi
97503 INTLOBJS="\$(GETTOBJS)"
97504 # Extract the first word of "msgfmt", so it can be a program name with args.
97505 set dummy msgfmt; ac_word=$2
97506 -echo "$as_me:$LINENO: checking for $ac_word" >&5
97507 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
97508 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
97509 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
97510 if test "${ac_cv_path_MSGFMT+set}" = set; then
97511 echo $ECHO_N "(cached) $ECHO_C" >&6
97512 else
97513 @@ -8004,17 +8608,17 @@ esac
97514 fi
97515 MSGFMT="$ac_cv_path_MSGFMT"
97516 if test -n "$MSGFMT"; then
97517 - echo "$as_me:$LINENO: result: $MSGFMT" >&5
97518 -echo "${ECHO_T}$MSGFMT" >&6
97519 + { echo "$as_me:$LINENO: result: $MSGFMT" >&5
97520 +echo "${ECHO_T}$MSGFMT" >&6; }
97521 else
97522 - echo "$as_me:$LINENO: result: no" >&5
97523 -echo "${ECHO_T}no" >&6
97524 + { echo "$as_me:$LINENO: result: no" >&5
97525 +echo "${ECHO_T}no" >&6; }
97526 fi
97527
97528 # Extract the first word of "gmsgfmt", so it can be a program name with args.
97529 set dummy gmsgfmt; ac_word=$2
97530 -echo "$as_me:$LINENO: checking for $ac_word" >&5
97531 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
97532 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
97533 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
97534 if test "${ac_cv_path_GMSGFMT+set}" = set; then
97535 echo $ECHO_N "(cached) $ECHO_C" >&6
97536 else
97537 @@ -8029,32 +8633,33 @@ do
97538 IFS=$as_save_IFS
97539 test -z "$as_dir" && as_dir=.
97540 for ac_exec_ext in '' $ac_executable_extensions; do
97541 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
97542 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
97543 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
97544 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
97545 break 2
97546 fi
97547 done
97548 done
97549 +IFS=$as_save_IFS
97550
97551 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
97552 ;;
97553 esac
97554 fi
97555 GMSGFMT=$ac_cv_path_GMSGFMT
97556 -
97557 if test -n "$GMSGFMT"; then
97558 - echo "$as_me:$LINENO: result: $GMSGFMT" >&5
97559 -echo "${ECHO_T}$GMSGFMT" >&6
97560 + { echo "$as_me:$LINENO: result: $GMSGFMT" >&5
97561 +echo "${ECHO_T}$GMSGFMT" >&6; }
97562 else
97563 - echo "$as_me:$LINENO: result: no" >&5
97564 -echo "${ECHO_T}no" >&6
97565 + { echo "$as_me:$LINENO: result: no" >&5
97566 +echo "${ECHO_T}no" >&6; }
97567 fi
97568
97569 +
97570 # Extract the first word of "xgettext", so it can be a program name with args.
97571 set dummy xgettext; ac_word=$2
97572 -echo "$as_me:$LINENO: checking for $ac_word" >&5
97573 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
97574 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
97575 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
97576 if test "${ac_cv_path_XGETTEXT+set}" = set; then
97577 echo $ECHO_N "(cached) $ECHO_C" >&6
97578 else
97579 @@ -8080,11 +8685,11 @@ esac
97580 fi
97581 XGETTEXT="$ac_cv_path_XGETTEXT"
97582 if test -n "$XGETTEXT"; then
97583 - echo "$as_me:$LINENO: result: $XGETTEXT" >&5
97584 -echo "${ECHO_T}$XGETTEXT" >&6
97585 + { echo "$as_me:$LINENO: result: $XGETTEXT" >&5
97586 +echo "${ECHO_T}$XGETTEXT" >&6; }
97587 else
97588 - echo "$as_me:$LINENO: result: no" >&5
97589 -echo "${ECHO_T}no" >&6
97590 + { echo "$as_me:$LINENO: result: no" >&5
97591 +echo "${ECHO_T}no" >&6; }
97592 fi
97593
97594
97595 @@ -8103,8 +8708,8 @@ fi
97596 if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
97597 : ;
97598 else
97599 - echo "$as_me:$LINENO: result: found xgettext programs is not GNU xgettext; ignore it" >&5
97600 -echo "${ECHO_T}found xgettext programs is not GNU xgettext; ignore it" >&6
97601 + { echo "$as_me:$LINENO: result: found xgettext programs is not GNU xgettext; ignore it" >&5
97602 +echo "${ECHO_T}found xgettext programs is not GNU xgettext; ignore it" >&6; }
97603 XGETTEXT=":"
97604 fi
97605 fi
97606 @@ -8153,8 +8758,8 @@ _ACEOF
97607 if test "x$ALL_LINGUAS" = "x"; then
97608 LINGUAS=
97609 else
97610 - echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
97611 -echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6
97612 + { echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
97613 +echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6; }
97614 NEW_LINGUAS=
97615 for lang in ${LINGUAS=$ALL_LINGUAS}; do
97616 case "$ALL_LINGUAS" in
97617 @@ -8162,8 +8767,8 @@ echo $ECHO_N "checking for catalogs to b
97618 esac
97619 done
97620 LINGUAS=$NEW_LINGUAS
97621 - echo "$as_me:$LINENO: result: $LINGUAS" >&5
97622 -echo "${ECHO_T}$LINGUAS" >&6
97623 + { echo "$as_me:$LINENO: result: $LINGUAS" >&5
97624 +echo "${ECHO_T}$LINGUAS" >&6; }
97625 fi
97626
97627 if test -n "$LINGUAS"; then
97628 @@ -8182,17 +8787,17 @@ echo "${ECHO_T}$LINGUAS" >&6
97629 if test -f $srcdir/po2tbl.sed.in; then
97630 if test "$CATOBJEXT" = ".cat"; then
97631 if test "${ac_cv_header_linux_version_h+set}" = set; then
97632 - echo "$as_me:$LINENO: checking for linux/version.h" >&5
97633 -echo $ECHO_N "checking for linux/version.h... $ECHO_C" >&6
97634 + { echo "$as_me:$LINENO: checking for linux/version.h" >&5
97635 +echo $ECHO_N "checking for linux/version.h... $ECHO_C" >&6; }
97636 if test "${ac_cv_header_linux_version_h+set}" = set; then
97637 echo $ECHO_N "(cached) $ECHO_C" >&6
97638 fi
97639 -echo "$as_me:$LINENO: result: $ac_cv_header_linux_version_h" >&5
97640 -echo "${ECHO_T}$ac_cv_header_linux_version_h" >&6
97641 +{ echo "$as_me:$LINENO: result: $ac_cv_header_linux_version_h" >&5
97642 +echo "${ECHO_T}$ac_cv_header_linux_version_h" >&6; }
97643 else
97644 # Is the header compilable?
97645 -echo "$as_me:$LINENO: checking linux/version.h usability" >&5
97646 -echo $ECHO_N "checking linux/version.h usability... $ECHO_C" >&6
97647 +{ echo "$as_me:$LINENO: checking linux/version.h usability" >&5
97648 +echo $ECHO_N "checking linux/version.h usability... $ECHO_C" >&6; }
97649 cat >conftest.$ac_ext <<_ACEOF
97650 /* confdefs.h. */
97651 _ACEOF
97652 @@ -8203,41 +8808,37 @@ $ac_includes_default
97653 #include <linux/version.h>
97654 _ACEOF
97655 rm -f conftest.$ac_objext
97656 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97657 - (eval $ac_compile) 2>conftest.er1
97658 +if { (ac_try="$ac_compile"
97659 +case "(($ac_try" in
97660 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
97661 + *) ac_try_echo=$ac_try;;
97662 +esac
97663 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
97664 + (eval "$ac_compile") 2>conftest.er1
97665 ac_status=$?
97666 grep -v '^ *+' conftest.er1 >conftest.err
97667 rm -f conftest.er1
97668 cat conftest.err >&5
97669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97670 - (exit $ac_status); } &&
97671 - { ac_try='test -z "$ac_c_werror_flag"
97672 - || test ! -s conftest.err'
97673 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97674 - (eval $ac_try) 2>&5
97675 - ac_status=$?
97676 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
97677 - (exit $ac_status); }; } &&
97678 - { ac_try='test -s conftest.$ac_objext'
97679 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97680 - (eval $ac_try) 2>&5
97681 - ac_status=$?
97682 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
97683 - (exit $ac_status); }; }; then
97684 + (exit $ac_status); } && {
97685 + test -z "$ac_c_werror_flag" ||
97686 + test ! -s conftest.err
97687 + } && test -s conftest.$ac_objext; then
97688 ac_header_compiler=yes
97689 else
97690 echo "$as_me: failed program was:" >&5
97691 sed 's/^/| /' conftest.$ac_ext >&5
97692
97693 -ac_header_compiler=no
97694 + ac_header_compiler=no
97695 fi
97696 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97697 -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
97698 -echo "${ECHO_T}$ac_header_compiler" >&6
97699 +
97700 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
97701 +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
97702 +echo "${ECHO_T}$ac_header_compiler" >&6; }
97703
97704 # Is the header present?
97705 -echo "$as_me:$LINENO: checking linux/version.h presence" >&5
97706 -echo $ECHO_N "checking linux/version.h presence... $ECHO_C" >&6
97707 +{ echo "$as_me:$LINENO: checking linux/version.h presence" >&5
97708 +echo $ECHO_N "checking linux/version.h presence... $ECHO_C" >&6; }
97709 cat >conftest.$ac_ext <<_ACEOF
97710 /* confdefs.h. */
97711 _ACEOF
97712 @@ -8246,24 +8847,22 @@ cat >>conftest.$ac_ext <<_ACEOF
97713 /* end confdefs.h. */
97714 #include <linux/version.h>
97715 _ACEOF
97716 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
97717 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
97718 +if { (ac_try="$ac_cpp conftest.$ac_ext"
97719 +case "(($ac_try" in
97720 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
97721 + *) ac_try_echo=$ac_try;;
97722 +esac
97723 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
97724 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
97725 ac_status=$?
97726 grep -v '^ *+' conftest.er1 >conftest.err
97727 rm -f conftest.er1
97728 cat conftest.err >&5
97729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97730 - (exit $ac_status); } >/dev/null; then
97731 - if test -s conftest.err; then
97732 - ac_cpp_err=$ac_c_preproc_warn_flag
97733 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
97734 - else
97735 - ac_cpp_err=
97736 - fi
97737 -else
97738 - ac_cpp_err=yes
97739 -fi
97740 -if test -z "$ac_cpp_err"; then
97741 + (exit $ac_status); } >/dev/null && {
97742 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
97743 + test ! -s conftest.err
97744 + }; then
97745 ac_header_preproc=yes
97746 else
97747 echo "$as_me: failed program was:" >&5
97748 @@ -8271,9 +8870,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
97749
97750 ac_header_preproc=no
97751 fi
97752 +
97753 rm -f conftest.err conftest.$ac_ext
97754 -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
97755 -echo "${ECHO_T}$ac_header_preproc" >&6
97756 +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
97757 +echo "${ECHO_T}$ac_header_preproc" >&6; }
97758
97759 # So? What about this header?
97760 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
97761 @@ -8297,25 +8897,18 @@ echo "$as_me: WARNING: linux/version.h:
97762 echo "$as_me: WARNING: linux/version.h: proceeding with the preprocessor's result" >&2;}
97763 { echo "$as_me:$LINENO: WARNING: linux/version.h: in the future, the compiler will take precedence" >&5
97764 echo "$as_me: WARNING: linux/version.h: in the future, the compiler will take precedence" >&2;}
97765 - (
97766 - cat <<\_ASBOX
97767 -## ------------------------------------------ ##
97768 -## Report this to the AC_PACKAGE_NAME lists. ##
97769 -## ------------------------------------------ ##
97770 -_ASBOX
97771 - ) |
97772 - sed "s/^/$as_me: WARNING: /" >&2
97773 +
97774 ;;
97775 esac
97776 -echo "$as_me:$LINENO: checking for linux/version.h" >&5
97777 -echo $ECHO_N "checking for linux/version.h... $ECHO_C" >&6
97778 +{ echo "$as_me:$LINENO: checking for linux/version.h" >&5
97779 +echo $ECHO_N "checking for linux/version.h... $ECHO_C" >&6; }
97780 if test "${ac_cv_header_linux_version_h+set}" = set; then
97781 echo $ECHO_N "(cached) $ECHO_C" >&6
97782 else
97783 ac_cv_header_linux_version_h=$ac_header_preproc
97784 fi
97785 -echo "$as_me:$LINENO: result: $ac_cv_header_linux_version_h" >&5
97786 -echo "${ECHO_T}$ac_cv_header_linux_version_h" >&6
97787 +{ echo "$as_me:$LINENO: result: $ac_cv_header_linux_version_h" >&5
97788 +echo "${ECHO_T}$ac_cv_header_linux_version_h" >&6; }
97789
97790 fi
97791 if test $ac_cv_header_linux_version_h = yes; then
97792 @@ -8380,8 +8973,8 @@ fi
97793 if test "x$cross_compiling" = "xno"; then
97794 EXEEXT_FOR_BUILD='$(EXEEXT)'
97795 else
97796 - echo "$as_me:$LINENO: checking for build system executable suffix" >&5
97797 -echo $ECHO_N "checking for build system executable suffix... $ECHO_C" >&6
97798 + { echo "$as_me:$LINENO: checking for build system executable suffix" >&5
97799 +echo $ECHO_N "checking for build system executable suffix... $ECHO_C" >&6; }
97800 if test "${bfd_cv_build_exeext+set}" = set; then
97801 echo $ECHO_N "(cached) $ECHO_C" >&6
97802 else
97803 @@ -8398,8 +8991,8 @@ else
97804 rm -f conftest*
97805 test x"${bfd_cv_build_exeext}" = x && bfd_cv_build_exeext=no
97806 fi
97807 -echo "$as_me:$LINENO: result: $bfd_cv_build_exeext" >&5
97808 -echo "${ECHO_T}$bfd_cv_build_exeext" >&6
97809 +{ echo "$as_me:$LINENO: result: $bfd_cv_build_exeext" >&5
97810 +echo "${ECHO_T}$bfd_cv_build_exeext" >&6; }
97811 EXEEXT_FOR_BUILD=""
97812 test x"${bfd_cv_build_exeext}" != xno && EXEEXT_FOR_BUILD=${bfd_cv_build_exeext}
97813 fi
97814 @@ -8419,8 +9012,8 @@ fi
97815 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
97816 # OS/2's system install, which has a completely different semantic
97817 # ./install, which can be erroneously created by make from ./install.sh.
97818 -echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
97819 -echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
97820 +{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
97821 +echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
97822 if test -z "$INSTALL"; then
97823 if test "${ac_cv_path_install+set}" = set; then
97824 echo $ECHO_N "(cached) $ECHO_C" >&6
97825 @@ -8442,7 +9035,7 @@ case $as_dir/ in
97826 # by default.
97827 for ac_prog in ginstall scoinst install; do
97828 for ac_exec_ext in '' $ac_executable_extensions; do
97829 - if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
97830 + if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
97831 if test $ac_prog = install &&
97832 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
97833 # AIX install. It has an incompatible calling convention.
97834 @@ -8461,21 +9054,22 @@ case $as_dir/ in
97835 ;;
97836 esac
97837 done
97838 +IFS=$as_save_IFS
97839
97840
97841 fi
97842 if test "${ac_cv_path_install+set}" = set; then
97843 INSTALL=$ac_cv_path_install
97844 else
97845 - # As a last resort, use the slow shell script. We don't cache a
97846 - # path for INSTALL within a source directory, because that will
97847 + # As a last resort, use the slow shell script. Don't cache a
97848 + # value for INSTALL within a source directory, because that will
97849 # break other packages using the cache if that directory is
97850 - # removed, or if the path is relative.
97851 + # removed, or if the value is a relative name.
97852 INSTALL=$ac_install_sh
97853 fi
97854 fi
97855 -echo "$as_me:$LINENO: result: $INSTALL" >&5
97856 -echo "${ECHO_T}$INSTALL" >&6
97857 +{ echo "$as_me:$LINENO: result: $INSTALL" >&5
97858 +echo "${ECHO_T}$INSTALL" >&6; }
97859
97860 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
97861 # It thinks the first close brace ends the variable substitution.
97862 @@ -8492,18 +9086,19 @@ test -z "$INSTALL_DATA" && INSTALL_DATA=
97863 for ac_header in string.h strings.h stdlib.h
97864 do
97865 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
97866 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
97867 - echo "$as_me:$LINENO: checking for $ac_header" >&5
97868 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
97869 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
97870 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
97871 + { echo "$as_me:$LINENO: checking for $ac_header" >&5
97872 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
97873 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
97874 echo $ECHO_N "(cached) $ECHO_C" >&6
97875 fi
97876 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
97877 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
97878 +ac_res=`eval echo '${'$as_ac_Header'}'`
97879 + { echo "$as_me:$LINENO: result: $ac_res" >&5
97880 +echo "${ECHO_T}$ac_res" >&6; }
97881 else
97882 # Is the header compilable?
97883 -echo "$as_me:$LINENO: checking $ac_header usability" >&5
97884 -echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
97885 +{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
97886 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
97887 cat >conftest.$ac_ext <<_ACEOF
97888 /* confdefs.h. */
97889 _ACEOF
97890 @@ -8514,41 +9109,37 @@ $ac_includes_default
97891 #include <$ac_header>
97892 _ACEOF
97893 rm -f conftest.$ac_objext
97894 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97895 - (eval $ac_compile) 2>conftest.er1
97896 +if { (ac_try="$ac_compile"
97897 +case "(($ac_try" in
97898 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
97899 + *) ac_try_echo=$ac_try;;
97900 +esac
97901 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
97902 + (eval "$ac_compile") 2>conftest.er1
97903 ac_status=$?
97904 grep -v '^ *+' conftest.er1 >conftest.err
97905 rm -f conftest.er1
97906 cat conftest.err >&5
97907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97908 - (exit $ac_status); } &&
97909 - { ac_try='test -z "$ac_c_werror_flag"
97910 - || test ! -s conftest.err'
97911 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97912 - (eval $ac_try) 2>&5
97913 - ac_status=$?
97914 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
97915 - (exit $ac_status); }; } &&
97916 - { ac_try='test -s conftest.$ac_objext'
97917 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97918 - (eval $ac_try) 2>&5
97919 - ac_status=$?
97920 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
97921 - (exit $ac_status); }; }; then
97922 + (exit $ac_status); } && {
97923 + test -z "$ac_c_werror_flag" ||
97924 + test ! -s conftest.err
97925 + } && test -s conftest.$ac_objext; then
97926 ac_header_compiler=yes
97927 else
97928 echo "$as_me: failed program was:" >&5
97929 sed 's/^/| /' conftest.$ac_ext >&5
97930
97931 -ac_header_compiler=no
97932 + ac_header_compiler=no
97933 fi
97934 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97935 -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
97936 -echo "${ECHO_T}$ac_header_compiler" >&6
97937 +
97938 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
97939 +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
97940 +echo "${ECHO_T}$ac_header_compiler" >&6; }
97941
97942 # Is the header present?
97943 -echo "$as_me:$LINENO: checking $ac_header presence" >&5
97944 -echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
97945 +{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
97946 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
97947 cat >conftest.$ac_ext <<_ACEOF
97948 /* confdefs.h. */
97949 _ACEOF
97950 @@ -8557,24 +9148,22 @@ cat >>conftest.$ac_ext <<_ACEOF
97951 /* end confdefs.h. */
97952 #include <$ac_header>
97953 _ACEOF
97954 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
97955 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
97956 +if { (ac_try="$ac_cpp conftest.$ac_ext"
97957 +case "(($ac_try" in
97958 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
97959 + *) ac_try_echo=$ac_try;;
97960 +esac
97961 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
97962 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
97963 ac_status=$?
97964 grep -v '^ *+' conftest.er1 >conftest.err
97965 rm -f conftest.er1
97966 cat conftest.err >&5
97967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97968 - (exit $ac_status); } >/dev/null; then
97969 - if test -s conftest.err; then
97970 - ac_cpp_err=$ac_c_preproc_warn_flag
97971 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
97972 - else
97973 - ac_cpp_err=
97974 - fi
97975 -else
97976 - ac_cpp_err=yes
97977 -fi
97978 -if test -z "$ac_cpp_err"; then
97979 + (exit $ac_status); } >/dev/null && {
97980 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
97981 + test ! -s conftest.err
97982 + }; then
97983 ac_header_preproc=yes
97984 else
97985 echo "$as_me: failed program was:" >&5
97986 @@ -8582,9 +9171,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
97987
97988 ac_header_preproc=no
97989 fi
97990 +
97991 rm -f conftest.err conftest.$ac_ext
97992 -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
97993 -echo "${ECHO_T}$ac_header_preproc" >&6
97994 +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
97995 +echo "${ECHO_T}$ac_header_preproc" >&6; }
97996
97997 # So? What about this header?
97998 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
97999 @@ -8608,25 +9198,19 @@ echo "$as_me: WARNING: $ac_header: s
98000 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
98001 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
98002 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
98003 - (
98004 - cat <<\_ASBOX
98005 -## ------------------------------------------ ##
98006 -## Report this to the AC_PACKAGE_NAME lists. ##
98007 -## ------------------------------------------ ##
98008 -_ASBOX
98009 - ) |
98010 - sed "s/^/$as_me: WARNING: /" >&2
98011 +
98012 ;;
98013 esac
98014 -echo "$as_me:$LINENO: checking for $ac_header" >&5
98015 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
98016 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
98017 +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
98018 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
98019 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
98020 echo $ECHO_N "(cached) $ECHO_C" >&6
98021 else
98022 eval "$as_ac_Header=\$ac_header_preproc"
98023 fi
98024 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
98025 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
98026 +ac_res=`eval echo '${'$as_ac_Header'}'`
98027 + { echo "$as_me:$LINENO: result: $ac_res" >&5
98028 +echo "${ECHO_T}$ac_res" >&6; }
98029
98030 fi
98031 if test `eval echo '${'$as_ac_Header'}'` = yes; then
98032 @@ -8639,8 +9223,8 @@ fi
98033 done
98034
98035
98036 -echo "$as_me:$LINENO: checking whether basename is declared" >&5
98037 -echo $ECHO_N "checking whether basename is declared... $ECHO_C" >&6
98038 +{ echo "$as_me:$LINENO: checking whether basename is declared" >&5
98039 +echo $ECHO_N "checking whether basename is declared... $ECHO_C" >&6; }
98040 if test "${ac_cv_have_decl_basename+set}" = set; then
98041 echo $ECHO_N "(cached) $ECHO_C" >&6
98042 else
98043 @@ -8655,7 +9239,7 @@ int
98044 main ()
98045 {
98046 #ifndef basename
98047 - char *p = (char *) basename;
98048 + (void) basename;
98049 #endif
98050
98051 ;
98052 @@ -8663,38 +9247,34 @@ main ()
98053 }
98054 _ACEOF
98055 rm -f conftest.$ac_objext
98056 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98057 - (eval $ac_compile) 2>conftest.er1
98058 +if { (ac_try="$ac_compile"
98059 +case "(($ac_try" in
98060 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
98061 + *) ac_try_echo=$ac_try;;
98062 +esac
98063 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
98064 + (eval "$ac_compile") 2>conftest.er1
98065 ac_status=$?
98066 grep -v '^ *+' conftest.er1 >conftest.err
98067 rm -f conftest.er1
98068 cat conftest.err >&5
98069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98070 - (exit $ac_status); } &&
98071 - { ac_try='test -z "$ac_c_werror_flag"
98072 - || test ! -s conftest.err'
98073 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98074 - (eval $ac_try) 2>&5
98075 - ac_status=$?
98076 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
98077 - (exit $ac_status); }; } &&
98078 - { ac_try='test -s conftest.$ac_objext'
98079 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98080 - (eval $ac_try) 2>&5
98081 - ac_status=$?
98082 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
98083 - (exit $ac_status); }; }; then
98084 + (exit $ac_status); } && {
98085 + test -z "$ac_c_werror_flag" ||
98086 + test ! -s conftest.err
98087 + } && test -s conftest.$ac_objext; then
98088 ac_cv_have_decl_basename=yes
98089 else
98090 echo "$as_me: failed program was:" >&5
98091 sed 's/^/| /' conftest.$ac_ext >&5
98092
98093 -ac_cv_have_decl_basename=no
98094 + ac_cv_have_decl_basename=no
98095 fi
98096 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98097 +
98098 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
98099 fi
98100 -echo "$as_me:$LINENO: result: $ac_cv_have_decl_basename" >&5
98101 -echo "${ECHO_T}$ac_cv_have_decl_basename" >&6
98102 +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_basename" >&5
98103 +echo "${ECHO_T}$ac_cv_have_decl_basename" >&6; }
98104 if test $ac_cv_have_decl_basename = yes; then
98105
98106 cat >>confdefs.h <<_ACEOF
98107 @@ -8715,10 +9295,9 @@ fi
98108 cgen_maint=no
98109 cgendir='$(srcdir)/../cgen'
98110
98111 -# Check whether --enable-cgen-maint or --disable-cgen-maint was given.
98112 +# Check whether --enable-cgen-maint was given.
98113 if test "${enable_cgen_maint+set}" = set; then
98114 - enableval="$enable_cgen_maint"
98115 - case "${enableval}" in
98116 + enableval=$enable_cgen_maint; case "${enableval}" in
98117 yes) cgen_maint=yes ;;
98118 no) cgen_maint=no ;;
98119 *)
98120 @@ -8729,7 +9308,8 @@ if test "${enable_cgen_maint+set}" = set
98121 cgendir=${cgen_maint}/lib/cgen
98122 ;;
98123 esac
98124 -fi;
98125 +fi
98126 +
98127
98128 if test x${cgen_maint} = xyes; then
98129 CGEN_MAINT_TRUE=
98130 @@ -8805,6 +9385,7 @@ if test x${all_targets} = xfalse ; then
98131 bfd_arc_arch) ta="$ta arc-dis.lo arc-opc.lo arc-ext.lo" ;;
98132 bfd_arm_arch) ta="$ta arm-dis.lo" ;;
98133 bfd_avr_arch) ta="$ta avr-dis.lo" ;;
98134 + bfd_avr32_arch) ta="$ta avr32-asm.lo avr32-dis.lo avr32-opc.lo" ;;
98135 bfd_bfin_arch) ta="$ta bfin-dis.lo" ;;
98136 bfd_cris_arch) ta="$ta cris-dis.lo cris-opc.lo cgen-bitset.lo" ;;
98137 bfd_crx_arch) ta="$ta crx-dis.lo crx-opc.lo" ;;
98138 @@ -8922,9 +9503,9 @@ fi
98139
98140
98141
98142 - ac_config_files="$ac_config_files Makefile po/Makefile.in:po/Make-in"
98143 +ac_config_files="$ac_config_files Makefile po/Makefile.in:po/Make-in"
98144
98145 - ac_config_commands="$ac_config_commands default"
98146 +ac_config_commands="$ac_config_commands default"
98147
98148 cat >confcache <<\_ACEOF
98149 # This file is a shell script that caches the results of configure
98150 @@ -8944,39 +9525,58 @@ _ACEOF
98151
98152 # The following way of writing the cache mishandles newlines in values,
98153 # but we know of no workaround that is simple, portable, and efficient.
98154 -# So, don't put newlines in cache variables' values.
98155 +# So, we kill variables containing newlines.
98156 # Ultrix sh set writes to stderr and can't be redirected directly,
98157 # and sets the high bit in the cache file unless we assign to the vars.
98158 -{
98159 +(
98160 + for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
98161 + eval ac_val=\$$ac_var
98162 + case $ac_val in #(
98163 + *${as_nl}*)
98164 + case $ac_var in #(
98165 + *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
98166 +echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
98167 + esac
98168 + case $ac_var in #(
98169 + _ | IFS | as_nl) ;; #(
98170 + *) $as_unset $ac_var ;;
98171 + esac ;;
98172 + esac
98173 + done
98174 +
98175 (set) 2>&1 |
98176 - case `(ac_space=' '; set | grep ac_space) 2>&1` in
98177 - *ac_space=\ *)
98178 + case $as_nl`(ac_space=' '; set) 2>&1` in #(
98179 + *${as_nl}ac_space=\ *)
98180 # `set' does not quote correctly, so add quotes (double-quote
98181 # substitution turns \\\\ into \\, and sed turns \\ into \).
98182 sed -n \
98183 "s/'/'\\\\''/g;
98184 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
98185 - ;;
98186 + ;; #(
98187 *)
98188 # `set' quotes correctly as required by POSIX, so do not add quotes.
98189 - sed -n \
98190 - "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
98191 + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
98192 ;;
98193 - esac;
98194 -} |
98195 + esac |
98196 + sort
98197 +) |
98198 sed '
98199 + /^ac_cv_env_/b end
98200 t clear
98201 - : clear
98202 + :clear
98203 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
98204 t end
98205 - /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
98206 - : end' >>confcache
98207 -if diff $cache_file confcache >/dev/null 2>&1; then :; else
98208 - if test -w $cache_file; then
98209 - test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
98210 + s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
98211 + :end' >>confcache
98212 +if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
98213 + if test -w "$cache_file"; then
98214 + test "x$cache_file" != "x/dev/null" &&
98215 + { echo "$as_me:$LINENO: updating cache $cache_file" >&5
98216 +echo "$as_me: updating cache $cache_file" >&6;}
98217 cat confcache >$cache_file
98218 else
98219 - echo "not updating unwritable cache $cache_file"
98220 + { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
98221 +echo "$as_me: not updating unwritable cache $cache_file" >&6;}
98222 fi
98223 fi
98224 rm -f confcache
98225 @@ -8985,32 +9585,18 @@ test "x$prefix" = xNONE && prefix=$ac_de
98226 # Let make expand exec_prefix.
98227 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
98228
98229 -# VPATH may cause trouble with some makes, so we remove $(srcdir),
98230 -# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
98231 -# trailing colons and then remove the whole line if VPATH becomes empty
98232 -# (actually we leave an empty line to preserve line numbers).
98233 -if test "x$srcdir" = x.; then
98234 - ac_vpsub='/^[ ]*VPATH[ ]*=/{
98235 -s/:*\$(srcdir):*/:/;
98236 -s/:*\${srcdir}:*/:/;
98237 -s/:*@srcdir@:*/:/;
98238 -s/^\([^=]*=[ ]*\):*/\1/;
98239 -s/:*$//;
98240 -s/^[^=]*=[ ]*$//;
98241 -}'
98242 -fi
98243 -
98244 DEFS=-DHAVE_CONFIG_H
98245
98246 ac_libobjs=
98247 ac_ltlibobjs=
98248 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
98249 # 1. Remove the extension, and $U if already installed.
98250 - ac_i=`echo "$ac_i" |
98251 - sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
98252 - # 2. Add them.
98253 - ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
98254 - ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
98255 + ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
98256 + ac_i=`echo "$ac_i" | sed "$ac_script"`
98257 + # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
98258 + # will be set to the directory where LIBOBJS objects are built.
98259 + ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
98260 + ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
98261 done
98262 LIBOBJS=$ac_libobjs
98263
98264 @@ -9076,17 +9662,45 @@ cat >>$CONFIG_STATUS <<\_ACEOF
98265 ## M4sh Initialization. ##
98266 ## --------------------- ##
98267
98268 -# Be Bourne compatible
98269 +# Be more Bourne compatible
98270 +DUALCASE=1; export DUALCASE # for MKS sh
98271 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
98272 emulate sh
98273 NULLCMD=:
98274 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
98275 # is contrary to our usage. Disable this feature.
98276 alias -g '${1+"$@"}'='"$@"'
98277 -elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
98278 - set -o posix
98279 + setopt NO_GLOB_SUBST
98280 +else
98281 + case `(set -o) 2>/dev/null` in
98282 + *posix*) set -o posix ;;
98283 +esac
98284 +
98285 +fi
98286 +
98287 +
98288 +
98289 +
98290 +# PATH needs CR
98291 +# Avoid depending upon Character Ranges.
98292 +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
98293 +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
98294 +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
98295 +as_cr_digits='0123456789'
98296 +as_cr_alnum=$as_cr_Letters$as_cr_digits
98297 +
98298 +# The user is always right.
98299 +if test "${PATH_SEPARATOR+set}" != set; then
98300 + echo "#! /bin/sh" >conf$$.sh
98301 + echo "exit 0" >>conf$$.sh
98302 + chmod +x conf$$.sh
98303 + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
98304 + PATH_SEPARATOR=';'
98305 + else
98306 + PATH_SEPARATOR=:
98307 + fi
98308 + rm -f conf$$.sh
98309 fi
98310 -DUALCASE=1; export DUALCASE # for MKS sh
98311
98312 # Support unset when possible.
98313 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
98314 @@ -9096,8 +9710,43 @@ else
98315 fi
98316
98317
98318 +# IFS
98319 +# We need space, tab and new line, in precisely that order. Quoting is
98320 +# there to prevent editors from complaining about space-tab.
98321 +# (If _AS_PATH_WALK were called with IFS unset, it would disable word
98322 +# splitting by setting IFS to empty value.)
98323 +as_nl='
98324 +'
98325 +IFS=" "" $as_nl"
98326 +
98327 +# Find who we are. Look in the path if we contain no directory separator.
98328 +case $0 in
98329 + *[\\/]* ) as_myself=$0 ;;
98330 + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
98331 +for as_dir in $PATH
98332 +do
98333 + IFS=$as_save_IFS
98334 + test -z "$as_dir" && as_dir=.
98335 + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
98336 +done
98337 +IFS=$as_save_IFS
98338 +
98339 + ;;
98340 +esac
98341 +# We did not find ourselves, most probably we were run as `sh COMMAND'
98342 +# in which case we are not to be found in the path.
98343 +if test "x$as_myself" = x; then
98344 + as_myself=$0
98345 +fi
98346 +if test ! -f "$as_myself"; then
98347 + echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
98348 + { (exit 1); exit 1; }
98349 +fi
98350 +
98351 # Work around bugs in pre-3.0 UWIN ksh.
98352 -$as_unset ENV MAIL MAILPATH
98353 +for as_var in ENV MAIL MAILPATH
98354 +do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
98355 +done
98356 PS1='$ '
98357 PS2='> '
98358 PS4='+ '
98359 @@ -9111,18 +9760,19 @@ do
98360 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
98361 eval $as_var=C; export $as_var
98362 else
98363 - $as_unset $as_var
98364 + ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
98365 fi
98366 done
98367
98368 # Required to use basename.
98369 -if expr a : '\(a\)' >/dev/null 2>&1; then
98370 +if expr a : '\(a\)' >/dev/null 2>&1 &&
98371 + test "X`expr 00001 : '.*\(...\)'`" = X001; then
98372 as_expr=expr
98373 else
98374 as_expr=false
98375 fi
98376
98377 -if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
98378 +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
98379 as_basename=basename
98380 else
98381 as_basename=false
98382 @@ -9130,159 +9780,120 @@ fi
98383
98384
98385 # Name of the executable.
98386 -as_me=`$as_basename "$0" ||
98387 +as_me=`$as_basename -- "$0" ||
98388 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
98389 X"$0" : 'X\(//\)$' \| \
98390 - X"$0" : 'X\(/\)$' \| \
98391 - . : '\(.\)' 2>/dev/null ||
98392 + X"$0" : 'X\(/\)' \| . 2>/dev/null ||
98393 echo X/"$0" |
98394 - sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
98395 - /^X\/\(\/\/\)$/{ s//\1/; q; }
98396 - /^X\/\(\/\).*/{ s//\1/; q; }
98397 - s/.*/./; q'`
98398 + sed '/^.*\/\([^/][^/]*\)\/*$/{
98399 + s//\1/
98400 + q
98401 + }
98402 + /^X\/\(\/\/\)$/{
98403 + s//\1/
98404 + q
98405 + }
98406 + /^X\/\(\/\).*/{
98407 + s//\1/
98408 + q
98409 + }
98410 + s/.*/./; q'`
98411
98412 +# CDPATH.
98413 +$as_unset CDPATH
98414
98415 -# PATH needs CR, and LINENO needs CR and PATH.
98416 -# Avoid depending upon Character Ranges.
98417 -as_cr_letters='abcdefghijklmnopqrstuvwxyz'
98418 -as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
98419 -as_cr_Letters=$as_cr_letters$as_cr_LETTERS
98420 -as_cr_digits='0123456789'
98421 -as_cr_alnum=$as_cr_Letters$as_cr_digits
98422 -
98423 -# The user is always right.
98424 -if test "${PATH_SEPARATOR+set}" != set; then
98425 - echo "#! /bin/sh" >conf$$.sh
98426 - echo "exit 0" >>conf$$.sh
98427 - chmod +x conf$$.sh
98428 - if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
98429 - PATH_SEPARATOR=';'
98430 - else
98431 - PATH_SEPARATOR=:
98432 - fi
98433 - rm -f conf$$.sh
98434 -fi
98435
98436
98437 as_lineno_1=$LINENO
98438 as_lineno_2=$LINENO
98439 - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
98440 test "x$as_lineno_1" != "x$as_lineno_2" &&
98441 - test "x$as_lineno_3" = "x$as_lineno_2" || {
98442 - # Find who we are. Look in the path if we contain no path at all
98443 - # relative or not.
98444 - case $0 in
98445 - *[\\/]* ) as_myself=$0 ;;
98446 - *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
98447 -for as_dir in $PATH
98448 -do
98449 - IFS=$as_save_IFS
98450 - test -z "$as_dir" && as_dir=.
98451 - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
98452 -done
98453 -
98454 - ;;
98455 - esac
98456 - # We did not find ourselves, most probably we were run as `sh COMMAND'
98457 - # in which case we are not to be found in the path.
98458 - if test "x$as_myself" = x; then
98459 - as_myself=$0
98460 - fi
98461 - if test ! -f "$as_myself"; then
98462 - { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
98463 -echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
98464 - { (exit 1); exit 1; }; }
98465 - fi
98466 - case $CONFIG_SHELL in
98467 - '')
98468 - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
98469 -for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
98470 -do
98471 - IFS=$as_save_IFS
98472 - test -z "$as_dir" && as_dir=.
98473 - for as_base in sh bash ksh sh5; do
98474 - case $as_dir in
98475 - /*)
98476 - if ("$as_dir/$as_base" -c '
98477 - as_lineno_1=$LINENO
98478 - as_lineno_2=$LINENO
98479 - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
98480 - test "x$as_lineno_1" != "x$as_lineno_2" &&
98481 - test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
98482 - $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
98483 - $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
98484 - CONFIG_SHELL=$as_dir/$as_base
98485 - export CONFIG_SHELL
98486 - exec "$CONFIG_SHELL" "$0" ${1+"$@"}
98487 - fi;;
98488 - esac
98489 - done
98490 -done
98491 -;;
98492 - esac
98493 + test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
98494
98495 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
98496 # uniformly replaced by the line number. The first 'sed' inserts a
98497 - # line-number line before each line; the second 'sed' does the real
98498 - # work. The second script uses 'N' to pair each line-number line
98499 - # with the numbered line, and appends trailing '-' during
98500 - # substitution so that $LINENO is not a special case at line end.
98501 + # line-number line after each line using $LINENO; the second 'sed'
98502 + # does the real work. The second script uses 'N' to pair each
98503 + # line-number line with the line containing $LINENO, and appends
98504 + # trailing '-' during substitution so that $LINENO is not a special
98505 + # case at line end.
98506 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
98507 - # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
98508 - sed '=' <$as_myself |
98509 + # scripts with optimization help from Paolo Bonzini. Blame Lee
98510 + # E. McMahon (1931-1989) for sed's syntax. :-)
98511 + sed -n '
98512 + p
98513 + /[$]LINENO/=
98514 + ' <$as_myself |
98515 sed '
98516 + s/[$]LINENO.*/&-/
98517 + t lineno
98518 + b
98519 + :lineno
98520 N
98521 - s,$,-,
98522 - : loop
98523 - s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
98524 + :loop
98525 + s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
98526 t loop
98527 - s,-$,,
98528 - s,^['$as_cr_digits']*\n,,
98529 + s/-\n.*//
98530 ' >$as_me.lineno &&
98531 - chmod +x $as_me.lineno ||
98532 - { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
98533 -echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
98534 + chmod +x "$as_me.lineno" ||
98535 + { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
98536 { (exit 1); exit 1; }; }
98537
98538 # Don't try to exec as it changes $[0], causing all sort of problems
98539 # (the dirname of $[0] is not the place where we might find the
98540 - # original and so on. Autoconf is especially sensible to this).
98541 - . ./$as_me.lineno
98542 + # original and so on. Autoconf is especially sensitive to this).
98543 + . "./$as_me.lineno"
98544 # Exit status is that of the last command.
98545 exit
98546 }
98547
98548
98549 -case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
98550 - *c*,-n*) ECHO_N= ECHO_C='
98551 -' ECHO_T=' ' ;;
98552 - *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
98553 - *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
98554 +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
98555 + as_dirname=dirname
98556 +else
98557 + as_dirname=false
98558 +fi
98559 +
98560 +ECHO_C= ECHO_N= ECHO_T=
98561 +case `echo -n x` in
98562 +-n*)
98563 + case `echo 'x\c'` in
98564 + *c*) ECHO_T=' ';; # ECHO_T is single tab character.
98565 + *) ECHO_C='\c';;
98566 + esac;;
98567 +*)
98568 + ECHO_N='-n';;
98569 esac
98570
98571 -if expr a : '\(a\)' >/dev/null 2>&1; then
98572 +if expr a : '\(a\)' >/dev/null 2>&1 &&
98573 + test "X`expr 00001 : '.*\(...\)'`" = X001; then
98574 as_expr=expr
98575 else
98576 as_expr=false
98577 fi
98578
98579 rm -f conf$$ conf$$.exe conf$$.file
98580 +if test -d conf$$.dir; then
98581 + rm -f conf$$.dir/conf$$.file
98582 +else
98583 + rm -f conf$$.dir
98584 + mkdir conf$$.dir
98585 +fi
98586 echo >conf$$.file
98587 if ln -s conf$$.file conf$$ 2>/dev/null; then
98588 - # We could just check for DJGPP; but this test a) works b) is more generic
98589 - # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
98590 - if test -f conf$$.exe; then
98591 - # Don't use ln at all; we don't have any links
98592 + as_ln_s='ln -s'
98593 + # ... but there are two gotchas:
98594 + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
98595 + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
98596 + # In both cases, we have to default to `cp -p'.
98597 + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
98598 as_ln_s='cp -p'
98599 - else
98600 - as_ln_s='ln -s'
98601 - fi
98602 elif ln conf$$.file conf$$ 2>/dev/null; then
98603 as_ln_s=ln
98604 else
98605 as_ln_s='cp -p'
98606 fi
98607 -rm -f conf$$ conf$$.exe conf$$.file
98608 +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
98609 +rmdir conf$$.dir 2>/dev/null
98610
98611 if mkdir -p . 2>/dev/null; then
98612 as_mkdir_p=:
98613 @@ -9291,7 +9902,28 @@ else
98614 as_mkdir_p=false
98615 fi
98616
98617 -as_executable_p="test -f"
98618 +if test -x / >/dev/null 2>&1; then
98619 + as_test_x='test -x'
98620 +else
98621 + if ls -dL / >/dev/null 2>&1; then
98622 + as_ls_L_option=L
98623 + else
98624 + as_ls_L_option=
98625 + fi
98626 + as_test_x='
98627 + eval sh -c '\''
98628 + if test -d "$1"; then
98629 + test -d "$1/.";
98630 + else
98631 + case $1 in
98632 + -*)set "./$1";;
98633 + esac;
98634 + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
98635 + ???[sx]*):;;*)false;;esac;fi
98636 + '\'' sh
98637 + '
98638 +fi
98639 +as_executable_p=$as_test_x
98640
98641 # Sed expression to map a string onto a valid CPP name.
98642 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
98643 @@ -9300,31 +9932,14 @@ as_tr_cpp="eval sed 'y%*$as_cr_letters%P
98644 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
98645
98646
98647 -# IFS
98648 -# We need space, tab and new line, in precisely that order.
98649 -as_nl='
98650 -'
98651 -IFS=" $as_nl"
98652 -
98653 -# CDPATH.
98654 -$as_unset CDPATH
98655 -
98656 exec 6>&1
98657
98658 -# Open the log real soon, to keep \$[0] and so on meaningful, and to
98659 +# Save the log message, to keep $[0] and so on meaningful, and to
98660 # report actual input values of CONFIG_FILES etc. instead of their
98661 -# values after options handling. Logging --version etc. is OK.
98662 -exec 5>>config.log
98663 -{
98664 - echo
98665 - sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
98666 -## Running $as_me. ##
98667 -_ASBOX
98668 -} >&5
98669 -cat >&5 <<_CSEOF
98670 -
98671 +# values after options handling.
98672 +ac_log="
98673 This file was extended by $as_me, which was
98674 -generated by GNU Autoconf 2.59. Invocation command line was
98675 +generated by GNU Autoconf 2.61. Invocation command line was
98676
98677 CONFIG_FILES = $CONFIG_FILES
98678 CONFIG_HEADERS = $CONFIG_HEADERS
98679 @@ -9332,30 +9947,20 @@ generated by GNU Autoconf 2.59. Invocat
98680 CONFIG_COMMANDS = $CONFIG_COMMANDS
98681 $ $0 $@
98682
98683 -_CSEOF
98684 -echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
98685 -echo >&5
98686 +on `(hostname || uname -n) 2>/dev/null | sed 1q`
98687 +"
98688 +
98689 _ACEOF
98690
98691 +cat >>$CONFIG_STATUS <<_ACEOF
98692 # Files that config.status was made for.
98693 -if test -n "$ac_config_files"; then
98694 - echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
98695 -fi
98696 -
98697 -if test -n "$ac_config_headers"; then
98698 - echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
98699 -fi
98700 -
98701 -if test -n "$ac_config_links"; then
98702 - echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
98703 -fi
98704 +config_files="$ac_config_files"
98705 +config_headers="$ac_config_headers"
98706 +config_commands="$ac_config_commands"
98707
98708 -if test -n "$ac_config_commands"; then
98709 - echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
98710 -fi
98711 +_ACEOF
98712
98713 cat >>$CONFIG_STATUS <<\_ACEOF
98714 -
98715 ac_cs_usage="\
98716 \`$as_me' instantiates files from templates according to the
98717 current configuration.
98718 @@ -9363,7 +9968,7 @@ current configuration.
98719 Usage: $0 [OPTIONS] [FILE]...
98720
98721 -h, --help print this help, then exit
98722 - -V, --version print version number, then exit
98723 + -V, --version print version number and configuration settings, then exit
98724 -q, --quiet do not print progress messages
98725 -d, --debug don't remove temporary files
98726 --recheck update $as_me by reconfiguring in the same conditions
98727 @@ -9382,19 +9987,21 @@ Configuration commands:
98728 $config_commands
98729
98730 Report bugs to <bug-autoconf@gnu.org>."
98731 -_ACEOF
98732
98733 +_ACEOF
98734 cat >>$CONFIG_STATUS <<_ACEOF
98735 ac_cs_version="\\
98736 config.status
98737 -configured by $0, generated by GNU Autoconf 2.59,
98738 - with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
98739 +configured by $0, generated by GNU Autoconf 2.61,
98740 + with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
98741
98742 -Copyright (C) 2003 Free Software Foundation, Inc.
98743 +Copyright (C) 2006 Free Software Foundation, Inc.
98744 This config.status script is free software; the Free Software Foundation
98745 gives unlimited permission to copy, distribute and modify it."
98746 -srcdir=$srcdir
98747 -INSTALL="$INSTALL"
98748 +
98749 +ac_pwd='$ac_pwd'
98750 +srcdir='$srcdir'
98751 +INSTALL='$INSTALL'
98752 _ACEOF
98753
98754 cat >>$CONFIG_STATUS <<\_ACEOF
98755 @@ -9405,39 +10012,24 @@ while test $# != 0
98756 do
98757 case $1 in
98758 --*=*)
98759 - ac_option=`expr "x$1" : 'x\([^=]*\)='`
98760 - ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
98761 + ac_option=`expr "X$1" : 'X\([^=]*\)='`
98762 + ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
98763 ac_shift=:
98764 ;;
98765 - -*)
98766 + *)
98767 ac_option=$1
98768 ac_optarg=$2
98769 ac_shift=shift
98770 ;;
98771 - *) # This is not an option, so the user has probably given explicit
98772 - # arguments.
98773 - ac_option=$1
98774 - ac_need_defaults=false;;
98775 esac
98776
98777 case $ac_option in
98778 # Handling of the options.
98779 -_ACEOF
98780 -cat >>$CONFIG_STATUS <<\_ACEOF
98781 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
98782 ac_cs_recheck=: ;;
98783 - --version | --vers* | -V )
98784 - echo "$ac_cs_version"; exit 0 ;;
98785 - --he | --h)
98786 - # Conflict between --help and --header
98787 - { { echo "$as_me:$LINENO: error: ambiguous option: $1
98788 -Try \`$0 --help' for more information." >&5
98789 -echo "$as_me: error: ambiguous option: $1
98790 -Try \`$0 --help' for more information." >&2;}
98791 - { (exit 1); exit 1; }; };;
98792 - --help | --hel | -h )
98793 - echo "$ac_cs_usage"; exit 0 ;;
98794 - --debug | --d* | -d )
98795 + --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
98796 + echo "$ac_cs_version"; exit ;;
98797 + --debug | --debu | --deb | --de | --d | -d )
98798 debug=: ;;
98799 --file | --fil | --fi | --f )
98800 $ac_shift
98801 @@ -9447,18 +10039,24 @@ Try \`$0 --help' for more information."
98802 $ac_shift
98803 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
98804 ac_need_defaults=false;;
98805 + --he | --h)
98806 + # Conflict between --help and --header
98807 + { echo "$as_me: error: ambiguous option: $1
98808 +Try \`$0 --help' for more information." >&2
98809 + { (exit 1); exit 1; }; };;
98810 + --help | --hel | -h )
98811 + echo "$ac_cs_usage"; exit ;;
98812 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
98813 | -silent | --silent | --silen | --sile | --sil | --si | --s)
98814 ac_cs_silent=: ;;
98815
98816 # This is an error.
98817 - -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
98818 -Try \`$0 --help' for more information." >&5
98819 -echo "$as_me: error: unrecognized option: $1
98820 -Try \`$0 --help' for more information." >&2;}
98821 + -*) { echo "$as_me: error: unrecognized option: $1
98822 +Try \`$0 --help' for more information." >&2
98823 { (exit 1); exit 1; }; } ;;
98824
98825 - *) ac_config_targets="$ac_config_targets $1" ;;
98826 + *) ac_config_targets="$ac_config_targets $1"
98827 + ac_need_defaults=false ;;
98828
98829 esac
98830 shift
98831 @@ -9474,40 +10072,52 @@ fi
98832 _ACEOF
98833 cat >>$CONFIG_STATUS <<_ACEOF
98834 if \$ac_cs_recheck; then
98835 - echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
98836 - exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
98837 + echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
98838 + CONFIG_SHELL=$SHELL
98839 + export CONFIG_SHELL
98840 + exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
98841 fi
98842
98843 _ACEOF
98844 +cat >>$CONFIG_STATUS <<\_ACEOF
98845 +exec 5>>config.log
98846 +{
98847 + echo
98848 + sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
98849 +## Running $as_me. ##
98850 +_ASBOX
98851 + echo "$ac_log"
98852 +} >&5
98853
98854 +_ACEOF
98855 cat >>$CONFIG_STATUS <<_ACEOF
98856 #
98857 -# INIT-COMMANDS section.
98858 +# INIT-COMMANDS
98859 #
98860 -
98861 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
98862
98863
98864 _ACEOF
98865
98866 -
98867 -
98868 cat >>$CONFIG_STATUS <<\_ACEOF
98869 +
98870 +# Handling of arguments.
98871 for ac_config_target in $ac_config_targets
98872 do
98873 - case "$ac_config_target" in
98874 - # Handling of arguments.
98875 - "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
98876 - "po/Makefile.in" ) CONFIG_FILES="$CONFIG_FILES po/Makefile.in:po/Make-in" ;;
98877 - "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
98878 - "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
98879 - "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.in" ;;
98880 + case $ac_config_target in
98881 + "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
98882 + "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.in" ;;
98883 + "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
98884 + "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in:po/Make-in" ;;
98885 + "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
98886 +
98887 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
98888 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
98889 { (exit 1); exit 1; }; };;
98890 esac
98891 done
98892
98893 +
98894 # If the user did not use the arguments to specify the items to instantiate,
98895 # then the envvar interface is used. Set only those that are not.
98896 # We use the long form for the default assignment because of an extremely
98897 @@ -9519,635 +10129,623 @@ if $ac_need_defaults; then
98898 fi
98899
98900 # Have a temporary directory for convenience. Make it in the build tree
98901 -# simply because there is no reason to put it here, and in addition,
98902 +# simply because there is no reason against having it here, and in addition,
98903 # creating and moving files from /tmp can sometimes cause problems.
98904 -# Create a temporary directory, and hook for its removal unless debugging.
98905 +# Hook for its removal unless debugging.
98906 +# Note that there is a small window in which the directory will not be cleaned:
98907 +# after its creation but before its name has been assigned to `$tmp'.
98908 $debug ||
98909 {
98910 - trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
98911 + tmp=
98912 + trap 'exit_status=$?
98913 + { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
98914 +' 0
98915 trap '{ (exit 1); exit 1; }' 1 2 13 15
98916 }
98917 -
98918 # Create a (secure) tmp directory for tmp files.
98919
98920 {
98921 - tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
98922 + tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
98923 test -n "$tmp" && test -d "$tmp"
98924 } ||
98925 {
98926 - tmp=./confstat$$-$RANDOM
98927 - (umask 077 && mkdir $tmp)
98928 + tmp=./conf$$-$RANDOM
98929 + (umask 077 && mkdir "$tmp")
98930 } ||
98931 {
98932 echo "$me: cannot create a temporary directory in ." >&2
98933 { (exit 1); exit 1; }
98934 }
98935
98936 -_ACEOF
98937 -
98938 -cat >>$CONFIG_STATUS <<_ACEOF
98939 -
98940 #
98941 -# CONFIG_FILES section.
98942 +# Set up the sed scripts for CONFIG_FILES section.
98943 #
98944
98945 # No need to generate the scripts if there are no CONFIG_FILES.
98946 # This happens for instance when ./config.status config.h
98947 -if test -n "\$CONFIG_FILES"; then
98948 - # Protect against being on the right side of a sed subst in config.status.
98949 - sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
98950 - s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
98951 -s,@SHELL@,$SHELL,;t t
98952 -s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
98953 -s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
98954 -s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
98955 -s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
98956 -s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
98957 -s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
98958 -s,@exec_prefix@,$exec_prefix,;t t
98959 -s,@prefix@,$prefix,;t t
98960 -s,@program_transform_name@,$program_transform_name,;t t
98961 -s,@bindir@,$bindir,;t t
98962 -s,@sbindir@,$sbindir,;t t
98963 -s,@libexecdir@,$libexecdir,;t t
98964 -s,@datadir@,$datadir,;t t
98965 -s,@sysconfdir@,$sysconfdir,;t t
98966 -s,@sharedstatedir@,$sharedstatedir,;t t
98967 -s,@localstatedir@,$localstatedir,;t t
98968 -s,@libdir@,$libdir,;t t
98969 -s,@includedir@,$includedir,;t t
98970 -s,@oldincludedir@,$oldincludedir,;t t
98971 -s,@infodir@,$infodir,;t t
98972 -s,@mandir@,$mandir,;t t
98973 -s,@build_alias@,$build_alias,;t t
98974 -s,@host_alias@,$host_alias,;t t
98975 -s,@target_alias@,$target_alias,;t t
98976 -s,@DEFS@,$DEFS,;t t
98977 -s,@ECHO_C@,$ECHO_C,;t t
98978 -s,@ECHO_N@,$ECHO_N,;t t
98979 -s,@ECHO_T@,$ECHO_T,;t t
98980 -s,@LIBS@,$LIBS,;t t
98981 -s,@build@,$build,;t t
98982 -s,@build_cpu@,$build_cpu,;t t
98983 -s,@build_vendor@,$build_vendor,;t t
98984 -s,@build_os@,$build_os,;t t
98985 -s,@host@,$host,;t t
98986 -s,@host_cpu@,$host_cpu,;t t
98987 -s,@host_vendor@,$host_vendor,;t t
98988 -s,@host_os@,$host_os,;t t
98989 -s,@target@,$target,;t t
98990 -s,@target_cpu@,$target_cpu,;t t
98991 -s,@target_vendor@,$target_vendor,;t t
98992 -s,@target_os@,$target_os,;t t
98993 -s,@CC@,$CC,;t t
98994 -s,@CFLAGS@,$CFLAGS,;t t
98995 -s,@LDFLAGS@,$LDFLAGS,;t t
98996 -s,@CPPFLAGS@,$CPPFLAGS,;t t
98997 -s,@ac_ct_CC@,$ac_ct_CC,;t t
98998 -s,@EXEEXT@,$EXEEXT,;t t
98999 -s,@OBJEXT@,$OBJEXT,;t t
99000 -s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
99001 -s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
99002 -s,@INSTALL_DATA@,$INSTALL_DATA,;t t
99003 -s,@CYGPATH_W@,$CYGPATH_W,;t t
99004 -s,@PACKAGE@,$PACKAGE,;t t
99005 -s,@VERSION@,$VERSION,;t t
99006 -s,@ACLOCAL@,$ACLOCAL,;t t
99007 -s,@AUTOCONF@,$AUTOCONF,;t t
99008 -s,@AUTOMAKE@,$AUTOMAKE,;t t
99009 -s,@AUTOHEADER@,$AUTOHEADER,;t t
99010 -s,@MAKEINFO@,$MAKEINFO,;t t
99011 -s,@install_sh@,$install_sh,;t t
99012 -s,@STRIP@,$STRIP,;t t
99013 -s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
99014 -s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
99015 -s,@mkdir_p@,$mkdir_p,;t t
99016 -s,@AWK@,$AWK,;t t
99017 -s,@SET_MAKE@,$SET_MAKE,;t t
99018 -s,@am__leading_dot@,$am__leading_dot,;t t
99019 -s,@AMTAR@,$AMTAR,;t t
99020 -s,@am__tar@,$am__tar,;t t
99021 -s,@am__untar@,$am__untar,;t t
99022 -s,@DEPDIR@,$DEPDIR,;t t
99023 -s,@am__include@,$am__include,;t t
99024 -s,@am__quote@,$am__quote,;t t
99025 -s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
99026 -s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
99027 -s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
99028 -s,@CCDEPMODE@,$CCDEPMODE,;t t
99029 -s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
99030 -s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
99031 -s,@AR@,$AR,;t t
99032 -s,@ac_ct_AR@,$ac_ct_AR,;t t
99033 -s,@RANLIB@,$RANLIB,;t t
99034 -s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
99035 -s,@LN_S@,$LN_S,;t t
99036 -s,@LIBTOOL@,$LIBTOOL,;t t
99037 -s,@WARN_CFLAGS@,$WARN_CFLAGS,;t t
99038 -s,@NO_WERROR@,$NO_WERROR,;t t
99039 -s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
99040 -s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
99041 -s,@MAINT@,$MAINT,;t t
99042 -s,@INSTALL_LIBBFD_TRUE@,$INSTALL_LIBBFD_TRUE,;t t
99043 -s,@INSTALL_LIBBFD_FALSE@,$INSTALL_LIBBFD_FALSE,;t t
99044 -s,@host_noncanonical@,$host_noncanonical,;t t
99045 -s,@target_noncanonical@,$target_noncanonical,;t t
99046 -s,@bfdlibdir@,$bfdlibdir,;t t
99047 -s,@bfdincludedir@,$bfdincludedir,;t t
99048 -s,@CPP@,$CPP,;t t
99049 -s,@EGREP@,$EGREP,;t t
99050 -s,@ALLOCA@,$ALLOCA,;t t
99051 -s,@USE_NLS@,$USE_NLS,;t t
99052 -s,@MSGFMT@,$MSGFMT,;t t
99053 -s,@GMSGFMT@,$GMSGFMT,;t t
99054 -s,@XGETTEXT@,$XGETTEXT,;t t
99055 -s,@USE_INCLUDED_LIBINTL@,$USE_INCLUDED_LIBINTL,;t t
99056 -s,@CATALOGS@,$CATALOGS,;t t
99057 -s,@CATOBJEXT@,$CATOBJEXT,;t t
99058 -s,@DATADIRNAME@,$DATADIRNAME,;t t
99059 -s,@GMOFILES@,$GMOFILES,;t t
99060 -s,@INSTOBJEXT@,$INSTOBJEXT,;t t
99061 -s,@INTLDEPS@,$INTLDEPS,;t t
99062 -s,@INTLLIBS@,$INTLLIBS,;t t
99063 -s,@INTLOBJS@,$INTLOBJS,;t t
99064 -s,@POFILES@,$POFILES,;t t
99065 -s,@POSUB@,$POSUB,;t t
99066 -s,@INCLUDE_LOCALE_H@,$INCLUDE_LOCALE_H,;t t
99067 -s,@GT_NO@,$GT_NO,;t t
99068 -s,@GT_YES@,$GT_YES,;t t
99069 -s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
99070 -s,@l@,$l,;t t
99071 -s,@CC_FOR_BUILD@,$CC_FOR_BUILD,;t t
99072 -s,@EXEEXT_FOR_BUILD@,$EXEEXT_FOR_BUILD,;t t
99073 -s,@HDEFINES@,$HDEFINES,;t t
99074 -s,@CGEN_MAINT_TRUE@,$CGEN_MAINT_TRUE,;t t
99075 -s,@CGEN_MAINT_FALSE@,$CGEN_MAINT_FALSE,;t t
99076 -s,@cgendir@,$cgendir,;t t
99077 -s,@WIN32LDFLAGS@,$WIN32LDFLAGS,;t t
99078 -s,@WIN32LIBADD@,$WIN32LIBADD,;t t
99079 -s,@archdefs@,$archdefs,;t t
99080 -s,@BFD_MACHINES@,$BFD_MACHINES,;t t
99081 -s,@LIBOBJS@,$LIBOBJS,;t t
99082 -s,@LTLIBOBJS@,$LTLIBOBJS,;t t
99083 -CEOF
99084 -
99085 -_ACEOF
99086 -
99087 - cat >>$CONFIG_STATUS <<\_ACEOF
99088 - # Split the substitutions into bite-sized pieces for seds with
99089 - # small command number limits, like on Digital OSF/1 and HP-UX.
99090 - ac_max_sed_lines=48
99091 - ac_sed_frag=1 # Number of current file.
99092 - ac_beg=1 # First line for current file.
99093 - ac_end=$ac_max_sed_lines # Line after last line for current file.
99094 - ac_more_lines=:
99095 - ac_sed_cmds=
99096 - while $ac_more_lines; do
99097 - if test $ac_beg -gt 1; then
99098 - sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
99099 - else
99100 - sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
99101 - fi
99102 - if test ! -s $tmp/subs.frag; then
99103 - ac_more_lines=false
99104 - else
99105 - # The purpose of the label and of the branching condition is to
99106 - # speed up the sed processing (if there are no `@' at all, there
99107 - # is no need to browse any of the substitutions).
99108 - # These are the two extra sed commands mentioned above.
99109 - (echo ':t
99110 - /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
99111 - if test -z "$ac_sed_cmds"; then
99112 - ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
99113 - else
99114 - ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
99115 - fi
99116 - ac_sed_frag=`expr $ac_sed_frag + 1`
99117 - ac_beg=$ac_end
99118 - ac_end=`expr $ac_end + $ac_max_sed_lines`
99119 - fi
99120 - done
99121 - if test -z "$ac_sed_cmds"; then
99122 - ac_sed_cmds=cat
99123 +if test -n "$CONFIG_FILES"; then
99124 +
99125 +_ACEOF
99126 +
99127 +
99128 +
99129 +ac_delim='%!_!# '
99130 +for ac_last_try in false false false false false :; do
99131 + cat >conf$$subs.sed <<_ACEOF
99132 +SHELL!$SHELL$ac_delim
99133 +PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
99134 +PACKAGE_NAME!$PACKAGE_NAME$ac_delim
99135 +PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
99136 +PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
99137 +PACKAGE_STRING!$PACKAGE_STRING$ac_delim
99138 +PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
99139 +exec_prefix!$exec_prefix$ac_delim
99140 +prefix!$prefix$ac_delim
99141 +program_transform_name!$program_transform_name$ac_delim
99142 +bindir!$bindir$ac_delim
99143 +sbindir!$sbindir$ac_delim
99144 +libexecdir!$libexecdir$ac_delim
99145 +datarootdir!$datarootdir$ac_delim
99146 +datadir!$datadir$ac_delim
99147 +sysconfdir!$sysconfdir$ac_delim
99148 +sharedstatedir!$sharedstatedir$ac_delim
99149 +localstatedir!$localstatedir$ac_delim
99150 +includedir!$includedir$ac_delim
99151 +oldincludedir!$oldincludedir$ac_delim
99152 +docdir!$docdir$ac_delim
99153 +infodir!$infodir$ac_delim
99154 +htmldir!$htmldir$ac_delim
99155 +dvidir!$dvidir$ac_delim
99156 +pdfdir!$pdfdir$ac_delim
99157 +psdir!$psdir$ac_delim
99158 +libdir!$libdir$ac_delim
99159 +localedir!$localedir$ac_delim
99160 +mandir!$mandir$ac_delim
99161 +DEFS!$DEFS$ac_delim
99162 +ECHO_C!$ECHO_C$ac_delim
99163 +ECHO_N!$ECHO_N$ac_delim
99164 +ECHO_T!$ECHO_T$ac_delim
99165 +LIBS!$LIBS$ac_delim
99166 +build_alias!$build_alias$ac_delim
99167 +host_alias!$host_alias$ac_delim
99168 +target_alias!$target_alias$ac_delim
99169 +build!$build$ac_delim
99170 +build_cpu!$build_cpu$ac_delim
99171 +build_vendor!$build_vendor$ac_delim
99172 +build_os!$build_os$ac_delim
99173 +host!$host$ac_delim
99174 +host_cpu!$host_cpu$ac_delim
99175 +host_vendor!$host_vendor$ac_delim
99176 +host_os!$host_os$ac_delim
99177 +target!$target$ac_delim
99178 +target_cpu!$target_cpu$ac_delim
99179 +target_vendor!$target_vendor$ac_delim
99180 +target_os!$target_os$ac_delim
99181 +CC!$CC$ac_delim
99182 +CFLAGS!$CFLAGS$ac_delim
99183 +LDFLAGS!$LDFLAGS$ac_delim
99184 +CPPFLAGS!$CPPFLAGS$ac_delim
99185 +ac_ct_CC!$ac_ct_CC$ac_delim
99186 +EXEEXT!$EXEEXT$ac_delim
99187 +OBJEXT!$OBJEXT$ac_delim
99188 +INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
99189 +INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
99190 +INSTALL_DATA!$INSTALL_DATA$ac_delim
99191 +CYGPATH_W!$CYGPATH_W$ac_delim
99192 +PACKAGE!$PACKAGE$ac_delim
99193 +VERSION!$VERSION$ac_delim
99194 +ACLOCAL!$ACLOCAL$ac_delim
99195 +AUTOCONF!$AUTOCONF$ac_delim
99196 +AUTOMAKE!$AUTOMAKE$ac_delim
99197 +AUTOHEADER!$AUTOHEADER$ac_delim
99198 +MAKEINFO!$MAKEINFO$ac_delim
99199 +install_sh!$install_sh$ac_delim
99200 +STRIP!$STRIP$ac_delim
99201 +INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
99202 +mkdir_p!$mkdir_p$ac_delim
99203 +AWK!$AWK$ac_delim
99204 +SET_MAKE!$SET_MAKE$ac_delim
99205 +am__leading_dot!$am__leading_dot$ac_delim
99206 +AMTAR!$AMTAR$ac_delim
99207 +am__tar!$am__tar$ac_delim
99208 +am__untar!$am__untar$ac_delim
99209 +DEPDIR!$DEPDIR$ac_delim
99210 +am__include!$am__include$ac_delim
99211 +am__quote!$am__quote$ac_delim
99212 +AMDEP_TRUE!$AMDEP_TRUE$ac_delim
99213 +AMDEP_FALSE!$AMDEP_FALSE$ac_delim
99214 +AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
99215 +CCDEPMODE!$CCDEPMODE$ac_delim
99216 +am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
99217 +am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
99218 +AR!$AR$ac_delim
99219 +RANLIB!$RANLIB$ac_delim
99220 +LN_S!$LN_S$ac_delim
99221 +LIBTOOL!$LIBTOOL$ac_delim
99222 +WARN_CFLAGS!$WARN_CFLAGS$ac_delim
99223 +NO_WERROR!$NO_WERROR$ac_delim
99224 +MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
99225 +MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
99226 +MAINT!$MAINT$ac_delim
99227 +INSTALL_LIBBFD_TRUE!$INSTALL_LIBBFD_TRUE$ac_delim
99228 +INSTALL_LIBBFD_FALSE!$INSTALL_LIBBFD_FALSE$ac_delim
99229 +_ACEOF
99230 +
99231 + if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
99232 + break
99233 + elif $ac_last_try; then
99234 + { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
99235 +echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
99236 + { (exit 1); exit 1; }; }
99237 + else
99238 + ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
99239 fi
99240 -fi # test -n "$CONFIG_FILES"
99241 +done
99242 +
99243 +ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
99244 +if test -n "$ac_eof"; then
99245 + ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
99246 + ac_eof=`expr $ac_eof + 1`
99247 +fi
99248 +
99249 +cat >>$CONFIG_STATUS <<_ACEOF
99250 +cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
99251 +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
99252 +_ACEOF
99253 +sed '
99254 +s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
99255 +s/^/s,@/; s/!/@,|#_!!_#|/
99256 +:n
99257 +t n
99258 +s/'"$ac_delim"'$/,g/; t
99259 +s/$/\\/; p
99260 +N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
99261 +' >>$CONFIG_STATUS <conf$$subs.sed
99262 +rm -f conf$$subs.sed
99263 +cat >>$CONFIG_STATUS <<_ACEOF
99264 +CEOF$ac_eof
99265 +_ACEOF
99266 +
99267
99268 +ac_delim='%!_!# '
99269 +for ac_last_try in false false false false false :; do
99270 + cat >conf$$subs.sed <<_ACEOF
99271 +host_noncanonical!$host_noncanonical$ac_delim
99272 +target_noncanonical!$target_noncanonical$ac_delim
99273 +bfdlibdir!$bfdlibdir$ac_delim
99274 +bfdincludedir!$bfdincludedir$ac_delim
99275 +CPP!$CPP$ac_delim
99276 +GREP!$GREP$ac_delim
99277 +EGREP!$EGREP$ac_delim
99278 +ALLOCA!$ALLOCA$ac_delim
99279 +USE_NLS!$USE_NLS$ac_delim
99280 +MSGFMT!$MSGFMT$ac_delim
99281 +GMSGFMT!$GMSGFMT$ac_delim
99282 +XGETTEXT!$XGETTEXT$ac_delim
99283 +USE_INCLUDED_LIBINTL!$USE_INCLUDED_LIBINTL$ac_delim
99284 +CATALOGS!$CATALOGS$ac_delim
99285 +CATOBJEXT!$CATOBJEXT$ac_delim
99286 +DATADIRNAME!$DATADIRNAME$ac_delim
99287 +GMOFILES!$GMOFILES$ac_delim
99288 +INSTOBJEXT!$INSTOBJEXT$ac_delim
99289 +INTLDEPS!$INTLDEPS$ac_delim
99290 +INTLLIBS!$INTLLIBS$ac_delim
99291 +INTLOBJS!$INTLOBJS$ac_delim
99292 +POFILES!$POFILES$ac_delim
99293 +POSUB!$POSUB$ac_delim
99294 +INCLUDE_LOCALE_H!$INCLUDE_LOCALE_H$ac_delim
99295 +GT_NO!$GT_NO$ac_delim
99296 +GT_YES!$GT_YES$ac_delim
99297 +MKINSTALLDIRS!$MKINSTALLDIRS$ac_delim
99298 +l!$l$ac_delim
99299 +CC_FOR_BUILD!$CC_FOR_BUILD$ac_delim
99300 +EXEEXT_FOR_BUILD!$EXEEXT_FOR_BUILD$ac_delim
99301 +HDEFINES!$HDEFINES$ac_delim
99302 +CGEN_MAINT_TRUE!$CGEN_MAINT_TRUE$ac_delim
99303 +CGEN_MAINT_FALSE!$CGEN_MAINT_FALSE$ac_delim
99304 +cgendir!$cgendir$ac_delim
99305 +WIN32LDFLAGS!$WIN32LDFLAGS$ac_delim
99306 +WIN32LIBADD!$WIN32LIBADD$ac_delim
99307 +archdefs!$archdefs$ac_delim
99308 +BFD_MACHINES!$BFD_MACHINES$ac_delim
99309 +LIBOBJS!$LIBOBJS$ac_delim
99310 +LTLIBOBJS!$LTLIBOBJS$ac_delim
99311 +_ACEOF
99312 +
99313 + if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 40; then
99314 + break
99315 + elif $ac_last_try; then
99316 + { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
99317 +echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
99318 + { (exit 1); exit 1; }; }
99319 + else
99320 + ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
99321 + fi
99322 +done
99323 +
99324 +ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
99325 +if test -n "$ac_eof"; then
99326 + ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
99327 + ac_eof=`expr $ac_eof + 1`
99328 +fi
99329 +
99330 +cat >>$CONFIG_STATUS <<_ACEOF
99331 +cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
99332 +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
99333 _ACEOF
99334 +sed '
99335 +s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
99336 +s/^/s,@/; s/!/@,|#_!!_#|/
99337 +:n
99338 +t n
99339 +s/'"$ac_delim"'$/,g/; t
99340 +s/$/\\/; p
99341 +N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
99342 +' >>$CONFIG_STATUS <conf$$subs.sed
99343 +rm -f conf$$subs.sed
99344 +cat >>$CONFIG_STATUS <<_ACEOF
99345 +:end
99346 +s/|#_!!_#|//g
99347 +CEOF$ac_eof
99348 +_ACEOF
99349 +
99350 +
99351 +# VPATH may cause trouble with some makes, so we remove $(srcdir),
99352 +# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
99353 +# trailing colons and then remove the whole line if VPATH becomes empty
99354 +# (actually we leave an empty line to preserve line numbers).
99355 +if test "x$srcdir" = x.; then
99356 + ac_vpsub='/^[ ]*VPATH[ ]*=/{
99357 +s/:*\$(srcdir):*/:/
99358 +s/:*\${srcdir}:*/:/
99359 +s/:*@srcdir@:*/:/
99360 +s/^\([^=]*=[ ]*\):*/\1/
99361 +s/:*$//
99362 +s/^[^=]*=[ ]*$//
99363 +}'
99364 +fi
99365 +
99366 cat >>$CONFIG_STATUS <<\_ACEOF
99367 -for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
99368 - # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
99369 - case $ac_file in
99370 - - | *:- | *:-:* ) # input from stdin
99371 - cat >$tmp/stdin
99372 - ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
99373 - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
99374 - *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
99375 - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
99376 - * ) ac_file_in=$ac_file.in ;;
99377 +fi # test -n "$CONFIG_FILES"
99378 +
99379 +
99380 +for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
99381 +do
99382 + case $ac_tag in
99383 + :[FHLC]) ac_mode=$ac_tag; continue;;
99384 + esac
99385 + case $ac_mode$ac_tag in
99386 + :[FHL]*:*);;
99387 + :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
99388 +echo "$as_me: error: Invalid tag $ac_tag." >&2;}
99389 + { (exit 1); exit 1; }; };;
99390 + :[FH]-) ac_tag=-:-;;
99391 + :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
99392 esac
99393 + ac_save_IFS=$IFS
99394 + IFS=:
99395 + set x $ac_tag
99396 + IFS=$ac_save_IFS
99397 + shift
99398 + ac_file=$1
99399 + shift
99400 +
99401 + case $ac_mode in
99402 + :L) ac_source=$1;;
99403 + :[FH])
99404 + ac_file_inputs=
99405 + for ac_f
99406 + do
99407 + case $ac_f in
99408 + -) ac_f="$tmp/stdin";;
99409 + *) # Look for the file first in the build tree, then in the source tree
99410 + # (if the path is not absolute). The absolute path cannot be DOS-style,
99411 + # because $ac_f cannot contain `:'.
99412 + test -f "$ac_f" ||
99413 + case $ac_f in
99414 + [\\/$]*) false;;
99415 + *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
99416 + esac ||
99417 + { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
99418 +echo "$as_me: error: cannot find input file: $ac_f" >&2;}
99419 + { (exit 1); exit 1; }; };;
99420 + esac
99421 + ac_file_inputs="$ac_file_inputs $ac_f"
99422 + done
99423 +
99424 + # Let's still pretend it is `configure' which instantiates (i.e., don't
99425 + # use $as_me), people would be surprised to read:
99426 + # /* config.h. Generated by config.status. */
99427 + configure_input="Generated from "`IFS=:
99428 + echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
99429 + if test x"$ac_file" != x-; then
99430 + configure_input="$ac_file. $configure_input"
99431 + { echo "$as_me:$LINENO: creating $ac_file" >&5
99432 +echo "$as_me: creating $ac_file" >&6;}
99433 + fi
99434
99435 - # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
99436 - ac_dir=`(dirname "$ac_file") 2>/dev/null ||
99437 + case $ac_tag in
99438 + *:-:* | *:-) cat >"$tmp/stdin";;
99439 + esac
99440 + ;;
99441 + esac
99442 +
99443 + ac_dir=`$as_dirname -- "$ac_file" ||
99444 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
99445 X"$ac_file" : 'X\(//\)[^/]' \| \
99446 X"$ac_file" : 'X\(//\)$' \| \
99447 - X"$ac_file" : 'X\(/\)' \| \
99448 - . : '\(.\)' 2>/dev/null ||
99449 + X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
99450 echo X"$ac_file" |
99451 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
99452 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
99453 - /^X\(\/\/\)$/{ s//\1/; q; }
99454 - /^X\(\/\).*/{ s//\1/; q; }
99455 - s/.*/./; q'`
99456 - { if $as_mkdir_p; then
99457 - mkdir -p "$ac_dir"
99458 - else
99459 - as_dir="$ac_dir"
99460 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
99461 + s//\1/
99462 + q
99463 + }
99464 + /^X\(\/\/\)[^/].*/{
99465 + s//\1/
99466 + q
99467 + }
99468 + /^X\(\/\/\)$/{
99469 + s//\1/
99470 + q
99471 + }
99472 + /^X\(\/\).*/{
99473 + s//\1/
99474 + q
99475 + }
99476 + s/.*/./; q'`
99477 + { as_dir="$ac_dir"
99478 + case $as_dir in #(
99479 + -*) as_dir=./$as_dir;;
99480 + esac
99481 + test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
99482 as_dirs=
99483 - while test ! -d "$as_dir"; do
99484 - as_dirs="$as_dir $as_dirs"
99485 - as_dir=`(dirname "$as_dir") 2>/dev/null ||
99486 + while :; do
99487 + case $as_dir in #(
99488 + *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
99489 + *) as_qdir=$as_dir;;
99490 + esac
99491 + as_dirs="'$as_qdir' $as_dirs"
99492 + as_dir=`$as_dirname -- "$as_dir" ||
99493 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
99494 X"$as_dir" : 'X\(//\)[^/]' \| \
99495 X"$as_dir" : 'X\(//\)$' \| \
99496 - X"$as_dir" : 'X\(/\)' \| \
99497 - . : '\(.\)' 2>/dev/null ||
99498 + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
99499 echo X"$as_dir" |
99500 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
99501 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
99502 - /^X\(\/\/\)$/{ s//\1/; q; }
99503 - /^X\(\/\).*/{ s//\1/; q; }
99504 - s/.*/./; q'`
99505 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
99506 + s//\1/
99507 + q
99508 + }
99509 + /^X\(\/\/\)[^/].*/{
99510 + s//\1/
99511 + q
99512 + }
99513 + /^X\(\/\/\)$/{
99514 + s//\1/
99515 + q
99516 + }
99517 + /^X\(\/\).*/{
99518 + s//\1/
99519 + q
99520 + }
99521 + s/.*/./; q'`
99522 + test -d "$as_dir" && break
99523 done
99524 - test ! -n "$as_dirs" || mkdir $as_dirs
99525 - fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
99526 -echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
99527 + test -z "$as_dirs" || eval "mkdir $as_dirs"
99528 + } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
99529 +echo "$as_me: error: cannot create directory $as_dir" >&2;}
99530 { (exit 1); exit 1; }; }; }
99531 -
99532 ac_builddir=.
99533
99534 -if test "$ac_dir" != .; then
99535 +case "$ac_dir" in
99536 +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
99537 +*)
99538 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
99539 - # A "../" for each directory in $ac_dir_suffix.
99540 - ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
99541 -else
99542 - ac_dir_suffix= ac_top_builddir=
99543 -fi
99544 + # A ".." for each directory in $ac_dir_suffix.
99545 + ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
99546 + case $ac_top_builddir_sub in
99547 + "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
99548 + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
99549 + esac ;;
99550 +esac
99551 +ac_abs_top_builddir=$ac_pwd
99552 +ac_abs_builddir=$ac_pwd$ac_dir_suffix
99553 +# for backward compatibility:
99554 +ac_top_builddir=$ac_top_build_prefix
99555
99556 case $srcdir in
99557 - .) # No --srcdir option. We are building in place.
99558 + .) # We are building in place.
99559 ac_srcdir=.
99560 - if test -z "$ac_top_builddir"; then
99561 - ac_top_srcdir=.
99562 - else
99563 - ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
99564 - fi ;;
99565 - [\\/]* | ?:[\\/]* ) # Absolute path.
99566 + ac_top_srcdir=$ac_top_builddir_sub
99567 + ac_abs_top_srcdir=$ac_pwd ;;
99568 + [\\/]* | ?:[\\/]* ) # Absolute name.
99569 ac_srcdir=$srcdir$ac_dir_suffix;
99570 - ac_top_srcdir=$srcdir ;;
99571 - *) # Relative path.
99572 - ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
99573 - ac_top_srcdir=$ac_top_builddir$srcdir ;;
99574 -esac
99575 + ac_top_srcdir=$srcdir
99576 + ac_abs_top_srcdir=$srcdir ;;
99577 + *) # Relative name.
99578 + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
99579 + ac_top_srcdir=$ac_top_build_prefix$srcdir
99580 + ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
99581 +esac
99582 +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
99583
99584 -# Do not use `cd foo && pwd` to compute absolute paths, because
99585 -# the directories may not exist.
99586 -case `pwd` in
99587 -.) ac_abs_builddir="$ac_dir";;
99588 -*)
99589 - case "$ac_dir" in
99590 - .) ac_abs_builddir=`pwd`;;
99591 - [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
99592 - *) ac_abs_builddir=`pwd`/"$ac_dir";;
99593 - esac;;
99594 -esac
99595 -case $ac_abs_builddir in
99596 -.) ac_abs_top_builddir=${ac_top_builddir}.;;
99597 -*)
99598 - case ${ac_top_builddir}. in
99599 - .) ac_abs_top_builddir=$ac_abs_builddir;;
99600 - [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
99601 - *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
99602 - esac;;
99603 -esac
99604 -case $ac_abs_builddir in
99605 -.) ac_abs_srcdir=$ac_srcdir;;
99606 -*)
99607 - case $ac_srcdir in
99608 - .) ac_abs_srcdir=$ac_abs_builddir;;
99609 - [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
99610 - *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
99611 - esac;;
99612 -esac
99613 -case $ac_abs_builddir in
99614 -.) ac_abs_top_srcdir=$ac_top_srcdir;;
99615 -*)
99616 - case $ac_top_srcdir in
99617 - .) ac_abs_top_srcdir=$ac_abs_builddir;;
99618 - [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
99619 - *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
99620 - esac;;
99621 -esac
99622
99623 + case $ac_mode in
99624 + :F)
99625 + #
99626 + # CONFIG_FILE
99627 + #
99628
99629 case $INSTALL in
99630 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
99631 - *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
99632 + *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
99633 esac
99634 +_ACEOF
99635
99636 - if test x"$ac_file" != x-; then
99637 - { echo "$as_me:$LINENO: creating $ac_file" >&5
99638 -echo "$as_me: creating $ac_file" >&6;}
99639 - rm -f "$ac_file"
99640 - fi
99641 - # Let's still pretend it is `configure' which instantiates (i.e., don't
99642 - # use $as_me), people would be surprised to read:
99643 - # /* config.h. Generated by config.status. */
99644 - if test x"$ac_file" = x-; then
99645 - configure_input=
99646 - else
99647 - configure_input="$ac_file. "
99648 - fi
99649 - configure_input=$configure_input"Generated from `echo $ac_file_in |
99650 - sed 's,.*/,,'` by configure."
99651 -
99652 - # First look for the input files in the build tree, otherwise in the
99653 - # src tree.
99654 - ac_file_inputs=`IFS=:
99655 - for f in $ac_file_in; do
99656 - case $f in
99657 - -) echo $tmp/stdin ;;
99658 - [\\/$]*)
99659 - # Absolute (can't be DOS-style, as IFS=:)
99660 - test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
99661 -echo "$as_me: error: cannot find input file: $f" >&2;}
99662 - { (exit 1); exit 1; }; }
99663 - echo "$f";;
99664 - *) # Relative
99665 - if test -f "$f"; then
99666 - # Build tree
99667 - echo "$f"
99668 - elif test -f "$srcdir/$f"; then
99669 - # Source tree
99670 - echo "$srcdir/$f"
99671 - else
99672 - # /dev/null tree
99673 - { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
99674 -echo "$as_me: error: cannot find input file: $f" >&2;}
99675 - { (exit 1); exit 1; }; }
99676 - fi;;
99677 - esac
99678 - done` || { (exit 1); exit 1; }
99679 +cat >>$CONFIG_STATUS <<\_ACEOF
99680 +# If the template does not know about datarootdir, expand it.
99681 +# FIXME: This hack should be removed a few years after 2.60.
99682 +ac_datarootdir_hack=; ac_datarootdir_seen=
99683 +
99684 +case `sed -n '/datarootdir/ {
99685 + p
99686 + q
99687 +}
99688 +/@datadir@/p
99689 +/@docdir@/p
99690 +/@infodir@/p
99691 +/@localedir@/p
99692 +/@mandir@/p
99693 +' $ac_file_inputs` in
99694 +*datarootdir*) ac_datarootdir_seen=yes;;
99695 +*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
99696 + { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
99697 +echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
99698 _ACEOF
99699 cat >>$CONFIG_STATUS <<_ACEOF
99700 + ac_datarootdir_hack='
99701 + s&@datadir@&$datadir&g
99702 + s&@docdir@&$docdir&g
99703 + s&@infodir@&$infodir&g
99704 + s&@localedir@&$localedir&g
99705 + s&@mandir@&$mandir&g
99706 + s&\\\${datarootdir}&$datarootdir&g' ;;
99707 +esac
99708 +_ACEOF
99709 +
99710 +# Neutralize VPATH when `$srcdir' = `.'.
99711 +# Shell code in configure.ac might set extrasub.
99712 +# FIXME: do we really want to maintain this feature?
99713 +cat >>$CONFIG_STATUS <<_ACEOF
99714 sed "$ac_vpsub
99715 $extrasub
99716 _ACEOF
99717 cat >>$CONFIG_STATUS <<\_ACEOF
99718 :t
99719 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
99720 -s,@configure_input@,$configure_input,;t t
99721 -s,@srcdir@,$ac_srcdir,;t t
99722 -s,@abs_srcdir@,$ac_abs_srcdir,;t t
99723 -s,@top_srcdir@,$ac_top_srcdir,;t t
99724 -s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
99725 -s,@builddir@,$ac_builddir,;t t
99726 -s,@abs_builddir@,$ac_abs_builddir,;t t
99727 -s,@top_builddir@,$ac_top_builddir,;t t
99728 -s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
99729 -s,@INSTALL@,$ac_INSTALL,;t t
99730 -" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
99731 - rm -f $tmp/stdin
99732 - if test x"$ac_file" != x-; then
99733 - mv $tmp/out $ac_file
99734 - else
99735 - cat $tmp/out
99736 - rm -f $tmp/out
99737 - fi
99738 +s&@configure_input@&$configure_input&;t t
99739 +s&@top_builddir@&$ac_top_builddir_sub&;t t
99740 +s&@srcdir@&$ac_srcdir&;t t
99741 +s&@abs_srcdir@&$ac_abs_srcdir&;t t
99742 +s&@top_srcdir@&$ac_top_srcdir&;t t
99743 +s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
99744 +s&@builddir@&$ac_builddir&;t t
99745 +s&@abs_builddir@&$ac_abs_builddir&;t t
99746 +s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
99747 +s&@INSTALL@&$ac_INSTALL&;t t
99748 +$ac_datarootdir_hack
99749 +" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
99750 +
99751 +test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
99752 + { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
99753 + { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
99754 + { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
99755 +which seems to be undefined. Please make sure it is defined." >&5
99756 +echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
99757 +which seems to be undefined. Please make sure it is defined." >&2;}
99758
99759 -done
99760 -_ACEOF
99761 -cat >>$CONFIG_STATUS <<\_ACEOF
99762 -
99763 -#
99764 -# CONFIG_HEADER section.
99765 -#
99766 -
99767 -# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
99768 -# NAME is the cpp macro being defined and VALUE is the value it is being given.
99769 -#
99770 -# ac_d sets the value in "#define NAME VALUE" lines.
99771 -ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
99772 -ac_dB='[ ].*$,\1#\2'
99773 -ac_dC=' '
99774 -ac_dD=',;t'
99775 -# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
99776 -ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
99777 -ac_uB='$,\1#\2define\3'
99778 -ac_uC=' '
99779 -ac_uD=',;t'
99780 -
99781 -for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
99782 - # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
99783 + rm -f "$tmp/stdin"
99784 case $ac_file in
99785 - - | *:- | *:-:* ) # input from stdin
99786 - cat >$tmp/stdin
99787 - ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
99788 - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
99789 - *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
99790 - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
99791 - * ) ac_file_in=$ac_file.in ;;
99792 + -) cat "$tmp/out"; rm -f "$tmp/out";;
99793 + *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
99794 esac
99795 + ;;
99796 + :H)
99797 + #
99798 + # CONFIG_HEADER
99799 + #
99800 +_ACEOF
99801 +
99802 +# Transform confdefs.h into a sed script `conftest.defines', that
99803 +# substitutes the proper values into config.h.in to produce config.h.
99804 +rm -f conftest.defines conftest.tail
99805 +# First, append a space to every undef/define line, to ease matching.
99806 +echo 's/$/ /' >conftest.defines
99807 +# Then, protect against being on the right side of a sed subst, or in
99808 +# an unquoted here document, in config.status. If some macros were
99809 +# called several times there might be several #defines for the same
99810 +# symbol, which is useless. But do not sort them, since the last
99811 +# AC_DEFINE must be honored.
99812 +ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
99813 +# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
99814 +# NAME is the cpp macro being defined, VALUE is the value it is being given.
99815 +# PARAMS is the parameter list in the macro definition--in most cases, it's
99816 +# just an empty string.
99817 +ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
99818 +ac_dB='\\)[ (].*,\\1define\\2'
99819 +ac_dC=' '
99820 +ac_dD=' ,'
99821
99822 - test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
99823 -echo "$as_me: creating $ac_file" >&6;}
99824 -
99825 - # First look for the input files in the build tree, otherwise in the
99826 - # src tree.
99827 - ac_file_inputs=`IFS=:
99828 - for f in $ac_file_in; do
99829 - case $f in
99830 - -) echo $tmp/stdin ;;
99831 - [\\/$]*)
99832 - # Absolute (can't be DOS-style, as IFS=:)
99833 - test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
99834 -echo "$as_me: error: cannot find input file: $f" >&2;}
99835 - { (exit 1); exit 1; }; }
99836 - # Do quote $f, to prevent DOS paths from being IFS'd.
99837 - echo "$f";;
99838 - *) # Relative
99839 - if test -f "$f"; then
99840 - # Build tree
99841 - echo "$f"
99842 - elif test -f "$srcdir/$f"; then
99843 - # Source tree
99844 - echo "$srcdir/$f"
99845 - else
99846 - # /dev/null tree
99847 - { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
99848 -echo "$as_me: error: cannot find input file: $f" >&2;}
99849 - { (exit 1); exit 1; }; }
99850 - fi;;
99851 - esac
99852 - done` || { (exit 1); exit 1; }
99853 - # Remove the trailing spaces.
99854 - sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
99855 -
99856 -_ACEOF
99857 +uniq confdefs.h |
99858 + sed -n '
99859 + t rset
99860 + :rset
99861 + s/^[ ]*#[ ]*define[ ][ ]*//
99862 + t ok
99863 + d
99864 + :ok
99865 + s/[\\&,]/\\&/g
99866 + s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
99867 + s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
99868 + ' >>conftest.defines
99869
99870 -# Transform confdefs.h into two sed scripts, `conftest.defines' and
99871 -# `conftest.undefs', that substitutes the proper values into
99872 -# config.h.in to produce config.h. The first handles `#define'
99873 -# templates, and the second `#undef' templates.
99874 -# And first: Protect against being on the right side of a sed subst in
99875 -# config.status. Protect against being in an unquoted here document
99876 -# in config.status.
99877 -rm -f conftest.defines conftest.undefs
99878 -# Using a here document instead of a string reduces the quoting nightmare.
99879 -# Putting comments in sed scripts is not portable.
99880 -#
99881 -# `end' is used to avoid that the second main sed command (meant for
99882 -# 0-ary CPP macros) applies to n-ary macro definitions.
99883 -# See the Autoconf documentation for `clear'.
99884 -cat >confdef2sed.sed <<\_ACEOF
99885 -s/[\\&,]/\\&/g
99886 -s,[\\$`],\\&,g
99887 -t clear
99888 -: clear
99889 -s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
99890 -t end
99891 -s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
99892 -: end
99893 -_ACEOF
99894 -# If some macros were called several times there might be several times
99895 -# the same #defines, which is useless. Nevertheless, we may not want to
99896 -# sort them, since we want the *last* AC-DEFINE to be honored.
99897 -uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
99898 -sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
99899 -rm -f confdef2sed.sed
99900 -
99901 -# This sed command replaces #undef with comments. This is necessary, for
99902 +# Remove the space that was appended to ease matching.
99903 +# Then replace #undef with comments. This is necessary, for
99904 # example, in the case of _POSIX_SOURCE, which is predefined and required
99905 # on some systems where configure will not decide to define it.
99906 -cat >>conftest.undefs <<\_ACEOF
99907 -s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
99908 +# (The regexp can be short, since the line contains either #define or #undef.)
99909 +echo 's/ $//
99910 +s,^[ #]*u.*,/* & */,' >>conftest.defines
99911 +
99912 +# Break up conftest.defines:
99913 +ac_max_sed_lines=50
99914 +
99915 +# First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
99916 +# Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
99917 +# Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
99918 +# et cetera.
99919 +ac_in='$ac_file_inputs'
99920 +ac_out='"$tmp/out1"'
99921 +ac_nxt='"$tmp/out2"'
99922 +
99923 +while :
99924 +do
99925 + # Write a here document:
99926 + cat >>$CONFIG_STATUS <<_ACEOF
99927 + # First, check the format of the line:
99928 + cat >"\$tmp/defines.sed" <<\\CEOF
99929 +/^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
99930 +/^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
99931 +b
99932 +:def
99933 _ACEOF
99934 -
99935 -# Break up conftest.defines because some shells have a limit on the size
99936 -# of here documents, and old seds have small limits too (100 cmds).
99937 -echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
99938 -echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
99939 -echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
99940 -echo ' :' >>$CONFIG_STATUS
99941 -rm -f conftest.tail
99942 -while grep . conftest.defines >/dev/null
99943 -do
99944 - # Write a limited-size here document to $tmp/defines.sed.
99945 - echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
99946 - # Speed up: don't consider the non `#define' lines.
99947 - echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
99948 - # Work around the forget-to-reset-the-flag bug.
99949 - echo 't clr' >>$CONFIG_STATUS
99950 - echo ': clr' >>$CONFIG_STATUS
99951 - sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
99952 + sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
99953 echo 'CEOF
99954 - sed -f $tmp/defines.sed $tmp/in >$tmp/out
99955 - rm -f $tmp/in
99956 - mv $tmp/out $tmp/in
99957 -' >>$CONFIG_STATUS
99958 - sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
99959 + sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
99960 + ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
99961 + sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
99962 + grep . conftest.tail >/dev/null || break
99963 rm -f conftest.defines
99964 mv conftest.tail conftest.defines
99965 done
99966 -rm -f conftest.defines
99967 -echo ' fi # grep' >>$CONFIG_STATUS
99968 -echo >>$CONFIG_STATUS
99969 -
99970 -# Break up conftest.undefs because some shells have a limit on the size
99971 -# of here documents, and old seds have small limits too (100 cmds).
99972 -echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
99973 -rm -f conftest.tail
99974 -while grep . conftest.undefs >/dev/null
99975 -do
99976 - # Write a limited-size here document to $tmp/undefs.sed.
99977 - echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
99978 - # Speed up: don't consider the non `#undef'
99979 - echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
99980 - # Work around the forget-to-reset-the-flag bug.
99981 - echo 't clr' >>$CONFIG_STATUS
99982 - echo ': clr' >>$CONFIG_STATUS
99983 - sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
99984 - echo 'CEOF
99985 - sed -f $tmp/undefs.sed $tmp/in >$tmp/out
99986 - rm -f $tmp/in
99987 - mv $tmp/out $tmp/in
99988 -' >>$CONFIG_STATUS
99989 - sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
99990 - rm -f conftest.undefs
99991 - mv conftest.tail conftest.undefs
99992 -done
99993 -rm -f conftest.undefs
99994 +rm -f conftest.defines conftest.tail
99995
99996 +echo "ac_result=$ac_in" >>$CONFIG_STATUS
99997 cat >>$CONFIG_STATUS <<\_ACEOF
99998 - # Let's still pretend it is `configure' which instantiates (i.e., don't
99999 - # use $as_me), people would be surprised to read:
100000 - # /* config.h. Generated by config.status. */
100001 - if test x"$ac_file" = x-; then
100002 - echo "/* Generated by configure. */" >$tmp/config.h
100003 - else
100004 - echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
100005 - fi
100006 - cat $tmp/in >>$tmp/config.h
100007 - rm -f $tmp/in
100008 if test x"$ac_file" != x-; then
100009 - if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
100010 + echo "/* $configure_input */" >"$tmp/config.h"
100011 + cat "$ac_result" >>"$tmp/config.h"
100012 + if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
100013 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
100014 echo "$as_me: $ac_file is unchanged" >&6;}
100015 else
100016 - ac_dir=`(dirname "$ac_file") 2>/dev/null ||
100017 -$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
100018 - X"$ac_file" : 'X\(//\)[^/]' \| \
100019 - X"$ac_file" : 'X\(//\)$' \| \
100020 - X"$ac_file" : 'X\(/\)' \| \
100021 - . : '\(.\)' 2>/dev/null ||
100022 -echo X"$ac_file" |
100023 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
100024 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
100025 - /^X\(\/\/\)$/{ s//\1/; q; }
100026 - /^X\(\/\).*/{ s//\1/; q; }
100027 - s/.*/./; q'`
100028 - { if $as_mkdir_p; then
100029 - mkdir -p "$ac_dir"
100030 - else
100031 - as_dir="$ac_dir"
100032 - as_dirs=
100033 - while test ! -d "$as_dir"; do
100034 - as_dirs="$as_dir $as_dirs"
100035 - as_dir=`(dirname "$as_dir") 2>/dev/null ||
100036 -$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
100037 - X"$as_dir" : 'X\(//\)[^/]' \| \
100038 - X"$as_dir" : 'X\(//\)$' \| \
100039 - X"$as_dir" : 'X\(/\)' \| \
100040 - . : '\(.\)' 2>/dev/null ||
100041 -echo X"$as_dir" |
100042 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
100043 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
100044 - /^X\(\/\/\)$/{ s//\1/; q; }
100045 - /^X\(\/\).*/{ s//\1/; q; }
100046 - s/.*/./; q'`
100047 - done
100048 - test ! -n "$as_dirs" || mkdir $as_dirs
100049 - fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
100050 -echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
100051 - { (exit 1); exit 1; }; }; }
100052 -
100053 rm -f $ac_file
100054 - mv $tmp/config.h $ac_file
100055 + mv "$tmp/config.h" $ac_file
100056 fi
100057 else
100058 - cat $tmp/config.h
100059 - rm -f $tmp/config.h
100060 + echo "/* $configure_input */"
100061 + cat "$ac_result"
100062 fi
100063 + rm -f "$tmp/out12"
100064 # Compute $ac_file's index in $config_headers.
100065 _am_stamp_count=1
100066 for _am_header in $config_headers :; do
100067 @@ -10158,135 +10756,39 @@ for _am_header in $config_headers :; do
100068 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
100069 esac
100070 done
100071 -echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
100072 +echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
100073 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
100074 X$ac_file : 'X\(//\)[^/]' \| \
100075 X$ac_file : 'X\(//\)$' \| \
100076 - X$ac_file : 'X\(/\)' \| \
100077 - . : '\(.\)' 2>/dev/null ||
100078 + X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
100079 echo X$ac_file |
100080 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
100081 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
100082 - /^X\(\/\/\)$/{ s//\1/; q; }
100083 - /^X\(\/\).*/{ s//\1/; q; }
100084 - s/.*/./; q'`/stamp-h$_am_stamp_count
100085 -done
100086 -_ACEOF
100087 -cat >>$CONFIG_STATUS <<\_ACEOF
100088 -
100089 -#
100090 -# CONFIG_COMMANDS section.
100091 -#
100092 -for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
100093 - ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
100094 - ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
100095 - ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
100096 -$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
100097 - X"$ac_dest" : 'X\(//\)[^/]' \| \
100098 - X"$ac_dest" : 'X\(//\)$' \| \
100099 - X"$ac_dest" : 'X\(/\)' \| \
100100 - . : '\(.\)' 2>/dev/null ||
100101 -echo X"$ac_dest" |
100102 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
100103 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
100104 - /^X\(\/\/\)$/{ s//\1/; q; }
100105 - /^X\(\/\).*/{ s//\1/; q; }
100106 - s/.*/./; q'`
100107 - { if $as_mkdir_p; then
100108 - mkdir -p "$ac_dir"
100109 - else
100110 - as_dir="$ac_dir"
100111 - as_dirs=
100112 - while test ! -d "$as_dir"; do
100113 - as_dirs="$as_dir $as_dirs"
100114 - as_dir=`(dirname "$as_dir") 2>/dev/null ||
100115 -$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
100116 - X"$as_dir" : 'X\(//\)[^/]' \| \
100117 - X"$as_dir" : 'X\(//\)$' \| \
100118 - X"$as_dir" : 'X\(/\)' \| \
100119 - . : '\(.\)' 2>/dev/null ||
100120 -echo X"$as_dir" |
100121 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
100122 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
100123 - /^X\(\/\/\)$/{ s//\1/; q; }
100124 - /^X\(\/\).*/{ s//\1/; q; }
100125 - s/.*/./; q'`
100126 - done
100127 - test ! -n "$as_dirs" || mkdir $as_dirs
100128 - fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
100129 -echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
100130 - { (exit 1); exit 1; }; }; }
100131 -
100132 - ac_builddir=.
100133 -
100134 -if test "$ac_dir" != .; then
100135 - ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
100136 - # A "../" for each directory in $ac_dir_suffix.
100137 - ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
100138 -else
100139 - ac_dir_suffix= ac_top_builddir=
100140 -fi
100141 -
100142 -case $srcdir in
100143 - .) # No --srcdir option. We are building in place.
100144 - ac_srcdir=.
100145 - if test -z "$ac_top_builddir"; then
100146 - ac_top_srcdir=.
100147 - else
100148 - ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
100149 - fi ;;
100150 - [\\/]* | ?:[\\/]* ) # Absolute path.
100151 - ac_srcdir=$srcdir$ac_dir_suffix;
100152 - ac_top_srcdir=$srcdir ;;
100153 - *) # Relative path.
100154 - ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
100155 - ac_top_srcdir=$ac_top_builddir$srcdir ;;
100156 -esac
100157 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
100158 + s//\1/
100159 + q
100160 + }
100161 + /^X\(\/\/\)[^/].*/{
100162 + s//\1/
100163 + q
100164 + }
100165 + /^X\(\/\/\)$/{
100166 + s//\1/
100167 + q
100168 + }
100169 + /^X\(\/\).*/{
100170 + s//\1/
100171 + q
100172 + }
100173 + s/.*/./; q'`/stamp-h$_am_stamp_count
100174 + ;;
100175
100176 -# Do not use `cd foo && pwd` to compute absolute paths, because
100177 -# the directories may not exist.
100178 -case `pwd` in
100179 -.) ac_abs_builddir="$ac_dir";;
100180 -*)
100181 - case "$ac_dir" in
100182 - .) ac_abs_builddir=`pwd`;;
100183 - [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
100184 - *) ac_abs_builddir=`pwd`/"$ac_dir";;
100185 - esac;;
100186 -esac
100187 -case $ac_abs_builddir in
100188 -.) ac_abs_top_builddir=${ac_top_builddir}.;;
100189 -*)
100190 - case ${ac_top_builddir}. in
100191 - .) ac_abs_top_builddir=$ac_abs_builddir;;
100192 - [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
100193 - *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
100194 - esac;;
100195 -esac
100196 -case $ac_abs_builddir in
100197 -.) ac_abs_srcdir=$ac_srcdir;;
100198 -*)
100199 - case $ac_srcdir in
100200 - .) ac_abs_srcdir=$ac_abs_builddir;;
100201 - [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
100202 - *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
100203 - esac;;
100204 -esac
100205 -case $ac_abs_builddir in
100206 -.) ac_abs_top_srcdir=$ac_top_srcdir;;
100207 -*)
100208 - case $ac_top_srcdir in
100209 - .) ac_abs_top_srcdir=$ac_abs_builddir;;
100210 - [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
100211 - *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
100212 - esac;;
100213 -esac
100214 + :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
100215 +echo "$as_me: executing $ac_file commands" >&6;}
100216 + ;;
100217 + esac
100218
100219
100220 - { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
100221 -echo "$as_me: executing $ac_dest commands" >&6;}
100222 - case $ac_dest in
100223 - depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
100224 + case $ac_file$ac_mode in
100225 + "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
100226 # Strip MF so we end up with the name of the file.
100227 mf=`echo "$mf" | sed -e 's/:.*$//'`
100228 # Check whether this is an Automake generated Makefile or not.
100229 @@ -10296,18 +10798,29 @@ echo "$as_me: executing $ac_dest command
100230 # each Makefile.in and add a new line on top of each file to say so.
100231 # So let's grep whole file.
100232 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
100233 - dirpart=`(dirname "$mf") 2>/dev/null ||
100234 + dirpart=`$as_dirname -- "$mf" ||
100235 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
100236 X"$mf" : 'X\(//\)[^/]' \| \
100237 X"$mf" : 'X\(//\)$' \| \
100238 - X"$mf" : 'X\(/\)' \| \
100239 - . : '\(.\)' 2>/dev/null ||
100240 + X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
100241 echo X"$mf" |
100242 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
100243 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
100244 - /^X\(\/\/\)$/{ s//\1/; q; }
100245 - /^X\(\/\).*/{ s//\1/; q; }
100246 - s/.*/./; q'`
100247 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
100248 + s//\1/
100249 + q
100250 + }
100251 + /^X\(\/\/\)[^/].*/{
100252 + s//\1/
100253 + q
100254 + }
100255 + /^X\(\/\/\)$/{
100256 + s//\1/
100257 + q
100258 + }
100259 + /^X\(\/\).*/{
100260 + s//\1/
100261 + q
100262 + }
100263 + s/.*/./; q'`
100264 else
100265 continue
100266 fi
100267 @@ -10329,54 +10842,80 @@ echo X"$mf" |
100268 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
100269 # Make sure the directory exists.
100270 test -f "$dirpart/$file" && continue
100271 - fdir=`(dirname "$file") 2>/dev/null ||
100272 + fdir=`$as_dirname -- "$file" ||
100273 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
100274 X"$file" : 'X\(//\)[^/]' \| \
100275 X"$file" : 'X\(//\)$' \| \
100276 - X"$file" : 'X\(/\)' \| \
100277 - . : '\(.\)' 2>/dev/null ||
100278 + X"$file" : 'X\(/\)' \| . 2>/dev/null ||
100279 echo X"$file" |
100280 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
100281 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
100282 - /^X\(\/\/\)$/{ s//\1/; q; }
100283 - /^X\(\/\).*/{ s//\1/; q; }
100284 - s/.*/./; q'`
100285 - { if $as_mkdir_p; then
100286 - mkdir -p $dirpart/$fdir
100287 - else
100288 - as_dir=$dirpart/$fdir
100289 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
100290 + s//\1/
100291 + q
100292 + }
100293 + /^X\(\/\/\)[^/].*/{
100294 + s//\1/
100295 + q
100296 + }
100297 + /^X\(\/\/\)$/{
100298 + s//\1/
100299 + q
100300 + }
100301 + /^X\(\/\).*/{
100302 + s//\1/
100303 + q
100304 + }
100305 + s/.*/./; q'`
100306 + { as_dir=$dirpart/$fdir
100307 + case $as_dir in #(
100308 + -*) as_dir=./$as_dir;;
100309 + esac
100310 + test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
100311 as_dirs=
100312 - while test ! -d "$as_dir"; do
100313 - as_dirs="$as_dir $as_dirs"
100314 - as_dir=`(dirname "$as_dir") 2>/dev/null ||
100315 + while :; do
100316 + case $as_dir in #(
100317 + *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
100318 + *) as_qdir=$as_dir;;
100319 + esac
100320 + as_dirs="'$as_qdir' $as_dirs"
100321 + as_dir=`$as_dirname -- "$as_dir" ||
100322 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
100323 X"$as_dir" : 'X\(//\)[^/]' \| \
100324 X"$as_dir" : 'X\(//\)$' \| \
100325 - X"$as_dir" : 'X\(/\)' \| \
100326 - . : '\(.\)' 2>/dev/null ||
100327 + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
100328 echo X"$as_dir" |
100329 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
100330 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
100331 - /^X\(\/\/\)$/{ s//\1/; q; }
100332 - /^X\(\/\).*/{ s//\1/; q; }
100333 - s/.*/./; q'`
100334 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
100335 + s//\1/
100336 + q
100337 + }
100338 + /^X\(\/\/\)[^/].*/{
100339 + s//\1/
100340 + q
100341 + }
100342 + /^X\(\/\/\)$/{
100343 + s//\1/
100344 + q
100345 + }
100346 + /^X\(\/\).*/{
100347 + s//\1/
100348 + q
100349 + }
100350 + s/.*/./; q'`
100351 + test -d "$as_dir" && break
100352 done
100353 - test ! -n "$as_dirs" || mkdir $as_dirs
100354 - fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
100355 -echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
100356 + test -z "$as_dirs" || eval "mkdir $as_dirs"
100357 + } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
100358 +echo "$as_me: error: cannot create directory $as_dir" >&2;}
100359 { (exit 1); exit 1; }; }; }
100360 -
100361 # echo "creating $dirpart/$file"
100362 echo '# dummy' > "$dirpart/$file"
100363 done
100364 done
100365 ;;
100366 - default ) sed -e '/POTFILES =/r po/POTFILES' po/Makefile.in > po/Makefile ;;
100367 + "default":C) sed -e '/POTFILES =/r po/POTFILES' po/Makefile.in > po/Makefile ;;
100368 +
100369 esac
100370 -done
100371 -_ACEOF
100372 +done # for ac_tag
100373
100374 -cat >>$CONFIG_STATUS <<\_ACEOF
100375
100376 { (exit 0); exit 0; }
100377 _ACEOF
100378 diff -Nrup binutils-2.17/opcodes/configure.in binutils-2.17-atmel/opcodes/configure.in
100379 --- binutils-2.17/opcodes/configure.in 2006-02-17 15:36:28.000000000 +0100
100380 +++ binutils-2.17-atmel/opcodes/configure.in 2007-02-12 15:37:09.000000000 +0100
100381 @@ -157,6 +157,7 @@ if test x${all_targets} = xfalse ; then
100382 bfd_arc_arch) ta="$ta arc-dis.lo arc-opc.lo arc-ext.lo" ;;
100383 bfd_arm_arch) ta="$ta arm-dis.lo" ;;
100384 bfd_avr_arch) ta="$ta avr-dis.lo" ;;
100385 + bfd_avr32_arch) ta="$ta avr32-asm.lo avr32-dis.lo avr32-opc.lo" ;;
100386 bfd_bfin_arch) ta="$ta bfin-dis.lo" ;;
100387 bfd_cris_arch) ta="$ta cris-dis.lo cris-opc.lo cgen-bitset.lo" ;;
100388 bfd_crx_arch) ta="$ta crx-dis.lo crx-opc.lo" ;;
100389 diff -Nrup binutils-2.17/opcodes/disassemble.c binutils-2.17-atmel/opcodes/disassemble.c
100390 --- binutils-2.17/opcodes/disassemble.c 2006-02-17 15:36:28.000000000 +0100
100391 +++ binutils-2.17-atmel/opcodes/disassemble.c 2007-02-12 15:37:09.000000000 +0100
100392 @@ -24,6 +24,7 @@
100393 #define ARCH_arc
100394 #define ARCH_arm
100395 #define ARCH_avr
100396 +#define ARCH_avr32
100397 #define ARCH_bfin
100398 #define ARCH_cris
100399 #define ARCH_crx
100400 @@ -121,6 +122,11 @@ disassembler (abfd)
100401 disassemble = print_insn_avr;
100402 break;
100403 #endif
100404 +#ifdef ARCH_avr32
100405 + case bfd_arch_avr32:
100406 + disassemble = print_insn_avr32;
100407 + break;
100408 +#endif
100409 #ifdef ARCH_bfin
100410 case bfd_arch_bfin:
100411 disassemble = print_insn_bfin;
100412 @@ -433,6 +439,9 @@ disassembler_usage (stream)
100413 #ifdef ARCH_powerpc
100414 print_ppc_disassembler_options (stream);
100415 #endif
100416 +#ifdef ARCH_avr32
100417 + print_avr32_disassembler_options (stream);
100418 +#endif
100419
100420 return;
100421 }
100422 diff -Nrup binutils-2.17/opcodes/Makefile.am binutils-2.17-atmel/opcodes/Makefile.am
100423 --- binutils-2.17/opcodes/Makefile.am 2006-04-06 23:49:35.000000000 +0200
100424 +++ binutils-2.17-atmel/opcodes/Makefile.am 2007-02-12 15:37:09.000000000 +0100
100425 @@ -29,6 +29,7 @@ LIBIBERTY = ../libiberty/libiberty.a
100426 # Header files.
100427 HFILES = \
100428 cgen-ops.h cgen-types.h \
100429 + avr32-asm.h avr32-opc.h \
100430 fr30-desc.h fr30-opc.h \
100431 frv-desc.h frv-opc.h \
100432 h8500-opc.h \
100433 @@ -58,6 +59,9 @@ CFILES = \
100434 arc-ext.c \
100435 arm-dis.c \
100436 avr-dis.c \
100437 + avr32-asm.c \
100438 + avr32-dis.c \
100439 + avr32-opc.c \
100440 bfin-dis.c \
100441 cgen-asm.c \
100442 cgen-bitset.c \
100443 @@ -200,6 +204,9 @@ ALL_MACHINES = \
100444 arc-ext.lo \
100445 arm-dis.lo \
100446 avr-dis.lo \
100447 + avr32-asm.lo \
100448 + avr32-dis.lo \
100449 + avr32-opc.lo \
100450 bfin-dis.lo \
100451 cgen-asm.lo \
100452 cgen-bitset.lo \
100453 @@ -624,6 +631,15 @@ arm-dis.lo: arm-dis.c sysdep.h config.h
100454 avr-dis.lo: avr-dis.c sysdep.h config.h $(INCDIR)/ansidecl.h \
100455 $(INCDIR)/dis-asm.h $(BFD_H) $(INCDIR)/symcat.h opintl.h \
100456 $(INCDIR)/libiberty.h $(INCDIR)/opcode/avr.h
100457 +avr32-asm.lo: avr32-asm.c sysdep.h config.h $(INCDIR)/ansidecl.h \
100458 + $(BFD_H) $(INCDIR)/symcat.h avr32-opc.h opintl.h \
100459 + $(INCDIR)/xregex.h $(INCDIR)/xregex2.h \
100460 + $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h
100461 +avr32-dis.lo: avr32-dis.c sysdep.h config.h $(INCDIR)/ansidecl.h \
100462 + $(INCDIR)/dis-asm.h $(BFD_H) $(INCDIR)/symcat.h $(INCDIR)/libiberty.h \
100463 + avr32-opc.h opintl.h
100464 +avr32-opc.lo: avr32-opc.c sysdep.h config.h $(INCDIR)/ansidecl.h \
100465 + $(BFD_H) $(INCDIR)/symcat.h avr32-opc.h $(INCDIR)/libiberty.h
100466 bfin-dis.lo: bfin-dis.c $(INCDIR)/opcode/bfin.h $(INCDIR)/dis-asm.h \
100467 $(BFD_H) $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h
100468 cgen-asm.lo: cgen-asm.c sysdep.h config.h $(INCDIR)/ansidecl.h \
100469 diff -Nrup binutils-2.17/opcodes/Makefile.in binutils-2.17-atmel/opcodes/Makefile.in
100470 --- binutils-2.17/opcodes/Makefile.in 2006-04-06 23:49:35.000000000 +0200
100471 +++ binutils-2.17-atmel/opcodes/Makefile.in 2007-02-20 16:07:47.000000000 +0100
100472 @@ -1,4 +1,4 @@
100473 -# Makefile.in generated by automake 1.9.5 from Makefile.am.
100474 +# Makefile.in generated by automake 1.9.6 from Makefile.am.
100475 # @configure_input@
100476
100477 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
100478 @@ -15,8 +15,6 @@
100479 @SET_MAKE@
100480
100481
100482 -SOURCES = libopcodes.c $(libopcodes_la_SOURCES)
100483 -
100484 srcdir = @srcdir@
100485 top_srcdir = @top_srcdir@
100486 VPATH = @srcdir@
100487 @@ -132,6 +130,7 @@ EXEEXT = @EXEEXT@
100488 EXEEXT_FOR_BUILD = @EXEEXT_FOR_BUILD@
100489 GMOFILES = @GMOFILES@
100490 GMSGFMT = @GMSGFMT@
100491 +GREP = @GREP@
100492 GT_NO = @GT_NO@
100493 GT_YES = @GT_YES@
100494 HDEFINES = @HDEFINES@
100495 @@ -180,10 +179,7 @@ WARN_CFLAGS = @WARN_CFLAGS@
100496 WIN32LDFLAGS = @WIN32LDFLAGS@
100497 WIN32LIBADD = @WIN32LIBADD@
100498 XGETTEXT = @XGETTEXT@
100499 -ac_ct_AR = @ac_ct_AR@
100500 ac_ct_CC = @ac_ct_CC@
100501 -ac_ct_RANLIB = @ac_ct_RANLIB@
100502 -ac_ct_STRIP = @ac_ct_STRIP@
100503 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
100504 am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
100505 am__include = @am__include@
100506 @@ -202,6 +198,9 @@ build_os = @build_os@
100507 build_vendor = @build_vendor@
100508 cgendir = @cgendir@
100509 datadir = @datadir@
100510 +datarootdir = @datarootdir@
100511 +docdir = @docdir@
100512 +dvidir = @dvidir@
100513 exec_prefix = @exec_prefix@
100514 host = @host@
100515 host_alias = @host_alias@
100516 @@ -209,18 +208,22 @@ host_cpu = @host_cpu@
100517 host_noncanonical = @host_noncanonical@
100518 host_os = @host_os@
100519 host_vendor = @host_vendor@
100520 +htmldir = @htmldir@
100521 includedir = @includedir@
100522 infodir = @infodir@
100523 install_sh = @install_sh@
100524 l = @l@
100525 libdir = @libdir@
100526 libexecdir = @libexecdir@
100527 +localedir = @localedir@
100528 localstatedir = @localstatedir@
100529 mandir = @mandir@
100530 mkdir_p = @mkdir_p@
100531 oldincludedir = @oldincludedir@
100532 +pdfdir = @pdfdir@
100533 prefix = @prefix@
100534 program_transform_name = @program_transform_name@
100535 +psdir = @psdir@
100536 sbindir = @sbindir@
100537 sharedstatedir = @sharedstatedir@
100538 sysconfdir = @sysconfdir@
100539 @@ -247,6 +250,7 @@ LIBIBERTY = ../libiberty/libiberty.a
100540 # Header files.
100541 HFILES = \
100542 cgen-ops.h cgen-types.h \
100543 + avr32-asm.h avr32-opc.h \
100544 fr30-desc.h fr30-opc.h \
100545 frv-desc.h frv-opc.h \
100546 h8500-opc.h \
100547 @@ -277,6 +281,9 @@ CFILES = \
100548 arc-ext.c \
100549 arm-dis.c \
100550 avr-dis.c \
100551 + avr32-asm.c \
100552 + avr32-dis.c \
100553 + avr32-opc.c \
100554 bfin-dis.c \
100555 cgen-asm.c \
100556 cgen-bitset.c \
100557 @@ -419,6 +426,9 @@ ALL_MACHINES = \
100558 arc-ext.lo \
100559 arm-dis.lo \
100560 avr-dis.lo \
100561 + avr32-asm.lo \
100562 + avr32-dis.lo \
100563 + avr32-opc.lo \
100564 bfin-dis.lo \
100565 cgen-asm.lo \
100566 cgen-bitset.lo \
100567 @@ -1166,6 +1176,15 @@ arm-dis.lo: arm-dis.c sysdep.h config.h
100568 avr-dis.lo: avr-dis.c sysdep.h config.h $(INCDIR)/ansidecl.h \
100569 $(INCDIR)/dis-asm.h $(BFD_H) $(INCDIR)/symcat.h opintl.h \
100570 $(INCDIR)/libiberty.h $(INCDIR)/opcode/avr.h
100571 +avr32-asm.lo: avr32-asm.c sysdep.h config.h $(INCDIR)/ansidecl.h \
100572 + $(BFD_H) $(INCDIR)/symcat.h avr32-opc.h opintl.h \
100573 + $(INCDIR)/xregex.h $(INCDIR)/xregex2.h \
100574 + $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h
100575 +avr32-dis.lo: avr32-dis.c sysdep.h config.h $(INCDIR)/ansidecl.h \
100576 + $(INCDIR)/dis-asm.h $(BFD_H) $(INCDIR)/symcat.h $(INCDIR)/libiberty.h \
100577 + avr32-opc.h opintl.h
100578 +avr32-opc.lo: avr32-opc.c sysdep.h config.h $(INCDIR)/ansidecl.h \
100579 + $(BFD_H) $(INCDIR)/symcat.h avr32-opc.h $(INCDIR)/libiberty.h
100580 bfin-dis.lo: bfin-dis.c $(INCDIR)/opcode/bfin.h $(INCDIR)/dis-asm.h \
100581 $(BFD_H) $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h
100582 cgen-asm.lo: cgen-asm.c sysdep.h config.h $(INCDIR)/ansidecl.h \
100583 diff -Nur binutils-2.17/config.sub binutils-2.17-owrt/config.sub
100584 --- binutils-2.17/config.sub 2006-01-16 18:34:37.000000000 +0100
100585 +++ binutils-2.17-owrt/config.sub 2007-06-04 16:30:34.000000000 +0200
100586 @@ -241,6 +241,7 @@
100587 | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
100588 | am33_2.0 \
100589 | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr \
100590 + | avr32 \
100591 | bfin \
100592 | c4x | clipper \
100593 | d10v | d30v | dlx | dsp16xx \
100594 @@ -317,7 +318,7 @@
100595 | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \
100596 | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
100597 | arm-* | armbe-* | armle-* | armeb-* | armv*-* \
100598 - | avr-* \
100599 + | avr-* | avr32-* \
100600 | bfin-* | bs2000-* \
100601 | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \
100602 | clipper-* | craynv-* | cydra-* \