remove the custom Build/Prepare override in binutils, use PATCH_DIR, refresh patches...
[openwrt/staging/florian.git] / toolchain / binutils / patches / 2.17 / 500-avr32.patch
1 Index: binutils-2.17/bfd/aclocal.m4
2 ===================================================================
3 --- binutils-2.17.orig/bfd/aclocal.m4 2007-06-28 09:19:34.137046832 +0200
4 +++ binutils-2.17/bfd/aclocal.m4 2007-06-28 09:19:36.555679144 +0200
5 @@ -1,4 +1,4 @@
6 -# generated automatically by aclocal 1.9.5 -*- Autoconf -*-
7 +# generated automatically by aclocal 1.9.6 -*- Autoconf -*-
8
9 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
10 # 2005 Free Software Foundation, Inc.
11 @@ -28,7 +28,7 @@
12 # Call AM_AUTOMAKE_VERSION so it can be traced.
13 # This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
14 AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
15 - [AM_AUTOMAKE_VERSION([1.9.5])])
16 + [AM_AUTOMAKE_VERSION([1.9.6])])
17
18 # AM_AUX_DIR_EXPAND -*- Autoconf -*-
19
20 Index: binutils-2.17/bfd/archures.c
21 ===================================================================
22 --- binutils-2.17.orig/bfd/archures.c 2007-06-28 09:19:34.142046072 +0200
23 +++ binutils-2.17/bfd/archures.c 2007-06-28 09:19:36.556678992 +0200
24 @@ -334,6 +334,9 @@
25 .#define bfd_mach_avr3 3
26 .#define bfd_mach_avr4 4
27 .#define bfd_mach_avr5 5
28 +. bfd_arch_avr32, {* Atmel AVR32 *}
29 +.#define bfd_mach_avr32_ap 7000
30 +.#define bfd_mach_avr32_uc 3000
31 . bfd_arch_bfin, {* ADI Blackfin *}
32 .#define bfd_mach_bfin 1
33 . bfd_arch_cr16c, {* National Semiconductor CompactRISC. *}
34 @@ -423,6 +426,7 @@
35 extern const bfd_arch_info_type bfd_arc_arch;
36 extern const bfd_arch_info_type bfd_arm_arch;
37 extern const bfd_arch_info_type bfd_avr_arch;
38 +extern const bfd_arch_info_type bfd_avr32_arch;
39 extern const bfd_arch_info_type bfd_bfin_arch;
40 extern const bfd_arch_info_type bfd_cr16c_arch;
41 extern const bfd_arch_info_type bfd_cris_arch;
42 @@ -490,6 +494,7 @@
43 &bfd_arc_arch,
44 &bfd_arm_arch,
45 &bfd_avr_arch,
46 + &bfd_avr32_arch,
47 &bfd_bfin_arch,
48 &bfd_cr16c_arch,
49 &bfd_cris_arch,
50 Index: binutils-2.17/bfd/bfd-in2.h
51 ===================================================================
52 --- binutils-2.17.orig/bfd/bfd-in2.h 2007-06-28 09:19:34.149045008 +0200
53 +++ binutils-2.17/bfd/bfd-in2.h 2007-06-28 09:19:36.558678688 +0200
54 @@ -1931,6 +1931,9 @@
55 #define bfd_mach_avr3 3
56 #define bfd_mach_avr4 4
57 #define bfd_mach_avr5 5
58 + bfd_arch_avr32, /* Atmel AVR32 */
59 +#define bfd_mach_avr32_ap 7000
60 +#define bfd_mach_avr32_uc 3000
61 bfd_arch_bfin, /* ADI Blackfin */
62 #define bfd_mach_bfin 1
63 bfd_arch_cr16c, /* National Semiconductor CompactRISC. */
64 @@ -3577,6 +3580,87 @@
65 instructions */
66 BFD_RELOC_AVR_6_ADIW,
67
68 +/* Difference between two labels: L2 - L1. The value of L1 is encoded
69 +as sym + addend, while the initial difference after assembly is
70 +inserted into the object file by the assembler. */
71 + BFD_RELOC_AVR32_DIFF32,
72 + BFD_RELOC_AVR32_DIFF16,
73 + BFD_RELOC_AVR32_DIFF8,
74 +
75 +/* Reference to a symbol through the Global Offset Table. The linker
76 +will allocate an entry for symbol in the GOT and insert the offset
77 +of this entry as the relocation value. */
78 + BFD_RELOC_AVR32_GOT32,
79 + BFD_RELOC_AVR32_GOT16,
80 + BFD_RELOC_AVR32_GOT8,
81 +
82 +/* Normal (non-pc-relative) code relocations. Alignment and signedness
83 +is indicated by the suffixes. S means signed, U means unsigned. W
84 +means word-aligned, H means halfword-aligned, neither means
85 +byte-aligned (no alignment.) SUB5 is the same relocation as 16S. */
86 + BFD_RELOC_AVR32_21S,
87 + BFD_RELOC_AVR32_16U,
88 + BFD_RELOC_AVR32_16S,
89 + BFD_RELOC_AVR32_SUB5,
90 + BFD_RELOC_AVR32_8S_EXT,
91 + BFD_RELOC_AVR32_8S,
92 +
93 +/* PC-relative relocations are signed if neither 'U' nor 'S' is
94 +specified. However, we explicitly tack on a 'B' to indicate no
95 +alignment, to avoid confusion with data relocs. All of these resolve
96 +to sym + addend - offset, except the one with 'N' (negated) suffix.
97 +This particular one resolves to offset - sym - addend. */
98 + BFD_RELOC_AVR32_22H_PCREL,
99 + BFD_RELOC_AVR32_18W_PCREL,
100 + BFD_RELOC_AVR32_16B_PCREL,
101 + BFD_RELOC_AVR32_16N_PCREL,
102 + BFD_RELOC_AVR32_14UW_PCREL,
103 + BFD_RELOC_AVR32_11H_PCREL,
104 + BFD_RELOC_AVR32_10UW_PCREL,
105 + BFD_RELOC_AVR32_9H_PCREL,
106 + BFD_RELOC_AVR32_9UW_PCREL,
107 +
108 +/* Subtract the link-time address of the GOT from (symbol + addend)
109 +and insert the result. */
110 + BFD_RELOC_AVR32_GOTPC,
111 +
112 +/* Reference to a symbol through the GOT. The linker will allocate an
113 +entry for symbol in the GOT and insert the offset of this entry as
114 +the relocation value. addend must be zero. As usual, 'S' means
115 +signed, 'W' means word-aligned, etc. */
116 + BFD_RELOC_AVR32_GOTCALL,
117 + BFD_RELOC_AVR32_LDA_GOT,
118 + BFD_RELOC_AVR32_GOT21S,
119 + BFD_RELOC_AVR32_GOT18SW,
120 + BFD_RELOC_AVR32_GOT16S,
121 +
122 +/* 32-bit constant pool entry. I don't think 8- and 16-bit entries make
123 +a whole lot of sense. */
124 + BFD_RELOC_AVR32_32_CPENT,
125 +
126 +/* Constant pool references. Some of these relocations are signed,
127 +others are unsigned. It doesn't really matter, since the constant
128 +pool always comes after the code that references it. */
129 + BFD_RELOC_AVR32_CPCALL,
130 + BFD_RELOC_AVR32_16_CP,
131 + BFD_RELOC_AVR32_9W_CP,
132 +
133 +/* sym must be the absolute symbol. The addend specifies the alignment
134 +order, e.g. if addend is 2, the linker must add padding so that the
135 +next address is aligned to a 4-byte boundary. */
136 + BFD_RELOC_AVR32_ALIGN,
137 +
138 +/* Code relocations that will never make it to the output file. */
139 + BFD_RELOC_AVR32_14UW,
140 + BFD_RELOC_AVR32_10UW,
141 + BFD_RELOC_AVR32_10SW,
142 + BFD_RELOC_AVR32_STHH_W,
143 + BFD_RELOC_AVR32_7UW,
144 + BFD_RELOC_AVR32_6S,
145 + BFD_RELOC_AVR32_6UW,
146 + BFD_RELOC_AVR32_4UH,
147 + BFD_RELOC_AVR32_3U,
148 +
149 /* Direct 12 bit. */
150 BFD_RELOC_390_12,
151
152 Index: binutils-2.17/bfd/config.bfd
153 ===================================================================
154 --- binutils-2.17.orig/bfd/config.bfd 2007-06-28 09:19:34.154044248 +0200
155 +++ binutils-2.17/bfd/config.bfd 2007-06-28 09:19:36.558678688 +0200
156 @@ -317,6 +317,10 @@
157 targ_underscore=yes
158 ;;
159
160 + avr32-*-*)
161 + targ_defvec=bfd_elf32_avr32_vec
162 + ;;
163 +
164 c30-*-*aout* | tic30-*-*aout*)
165 targ_defvec=tic30_aout_vec
166 ;;
167 Index: binutils-2.17/bfd/config.in
168 ===================================================================
169 --- binutils-2.17.orig/bfd/config.in 2007-06-28 09:19:34.159043488 +0200
170 +++ binutils-2.17/bfd/config.in 2007-06-28 09:19:36.559678536 +0200
171 @@ -313,18 +313,18 @@
172 /* Define to the version of this package. */
173 #undef PACKAGE_VERSION
174
175 -/* The size of a `long', as computed by sizeof. */
176 +/* The size of `long', as computed by sizeof. */
177 #undef SIZEOF_LONG
178
179 -/* The size of a `long long', as computed by sizeof. */
180 +/* The size of `long long', as computed by sizeof. */
181 #undef SIZEOF_LONG_LONG
182
183 -/* The size of a `off_t', as computed by sizeof. */
184 +/* The size of `off_t', as computed by sizeof. */
185 #undef SIZEOF_OFF_T
186
187 /* If using the C implementation of alloca, define if you know the
188 direction of stack growth for your system; otherwise it will be
189 - automatically deduced at run-time.
190 + automatically deduced at runtime.
191 STACK_DIRECTION > 0 => grows toward higher addresses
192 STACK_DIRECTION < 0 => grows toward lower addresses
193 STACK_DIRECTION = 0 => direction of growth unknown */
194 @@ -368,8 +368,8 @@
195 #undef inline
196 #endif
197
198 -/* Define to `long' if <sys/types.h> does not define. */
199 +/* Define to `long int' if <sys/types.h> does not define. */
200 #undef off_t
201
202 -/* Define to `unsigned' if <sys/types.h> does not define. */
203 +/* Define to `unsigned int' if <sys/types.h> does not define. */
204 #undef size_t
205 Index: binutils-2.17/bfd/configure
206 ===================================================================
207 --- binutils-2.17.orig/bfd/configure 2007-06-28 09:19:35.023912008 +0200
208 +++ binutils-2.17/bfd/configure 2007-06-28 09:19:36.575676104 +0200
209 @@ -1,25 +1,54 @@
210 #! /bin/sh
211 # Guess values for system-dependent variables and create Makefiles.
212 -# Generated by GNU Autoconf 2.59.
213 +# Generated by GNU Autoconf 2.61.
214 #
215 -# Copyright (C) 2003 Free Software Foundation, Inc.
216 +# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
217 +# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
218 # This configure script is free software; the Free Software Foundation
219 # gives unlimited permission to copy, distribute and modify it.
220 ## --------------------- ##
221 ## M4sh Initialization. ##
222 ## --------------------- ##
223
224 -# Be Bourne compatible
225 +# Be more Bourne compatible
226 +DUALCASE=1; export DUALCASE # for MKS sh
227 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
228 emulate sh
229 NULLCMD=:
230 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
231 # is contrary to our usage. Disable this feature.
232 alias -g '${1+"$@"}'='"$@"'
233 -elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
234 - set -o posix
235 + setopt NO_GLOB_SUBST
236 +else
237 + case `(set -o) 2>/dev/null` in
238 + *posix*) set -o posix ;;
239 +esac
240 +
241 +fi
242 +
243 +
244 +
245 +
246 +# PATH needs CR
247 +# Avoid depending upon Character Ranges.
248 +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
249 +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
250 +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
251 +as_cr_digits='0123456789'
252 +as_cr_alnum=$as_cr_Letters$as_cr_digits
253 +
254 +# The user is always right.
255 +if test "${PATH_SEPARATOR+set}" != set; then
256 + echo "#! /bin/sh" >conf$$.sh
257 + echo "exit 0" >>conf$$.sh
258 + chmod +x conf$$.sh
259 + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
260 + PATH_SEPARATOR=';'
261 + else
262 + PATH_SEPARATOR=:
263 + fi
264 + rm -f conf$$.sh
265 fi
266 -DUALCASE=1; export DUALCASE # for MKS sh
267
268 # Support unset when possible.
269 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
270 @@ -29,8 +58,43 @@
271 fi
272
273
274 +# IFS
275 +# We need space, tab and new line, in precisely that order. Quoting is
276 +# there to prevent editors from complaining about space-tab.
277 +# (If _AS_PATH_WALK were called with IFS unset, it would disable word
278 +# splitting by setting IFS to empty value.)
279 +as_nl='
280 +'
281 +IFS=" "" $as_nl"
282 +
283 +# Find who we are. Look in the path if we contain no directory separator.
284 +case $0 in
285 + *[\\/]* ) as_myself=$0 ;;
286 + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
287 +for as_dir in $PATH
288 +do
289 + IFS=$as_save_IFS
290 + test -z "$as_dir" && as_dir=.
291 + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
292 +done
293 +IFS=$as_save_IFS
294 +
295 + ;;
296 +esac
297 +# We did not find ourselves, most probably we were run as `sh COMMAND'
298 +# in which case we are not to be found in the path.
299 +if test "x$as_myself" = x; then
300 + as_myself=$0
301 +fi
302 +if test ! -f "$as_myself"; then
303 + echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
304 + { (exit 1); exit 1; }
305 +fi
306 +
307 # Work around bugs in pre-3.0 UWIN ksh.
308 -$as_unset ENV MAIL MAILPATH
309 +for as_var in ENV MAIL MAILPATH
310 +do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
311 +done
312 PS1='$ '
313 PS2='> '
314 PS4='+ '
315 @@ -44,18 +108,19 @@
316 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
317 eval $as_var=C; export $as_var
318 else
319 - $as_unset $as_var
320 + ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
321 fi
322 done
323
324 # Required to use basename.
325 -if expr a : '\(a\)' >/dev/null 2>&1; then
326 +if expr a : '\(a\)' >/dev/null 2>&1 &&
327 + test "X`expr 00001 : '.*\(...\)'`" = X001; then
328 as_expr=expr
329 else
330 as_expr=false
331 fi
332
333 -if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
334 +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
335 as_basename=basename
336 else
337 as_basename=false
338 @@ -63,157 +128,388 @@
339
340
341 # Name of the executable.
342 -as_me=`$as_basename "$0" ||
343 +as_me=`$as_basename -- "$0" ||
344 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
345 X"$0" : 'X\(//\)$' \| \
346 - X"$0" : 'X\(/\)$' \| \
347 - . : '\(.\)' 2>/dev/null ||
348 + X"$0" : 'X\(/\)' \| . 2>/dev/null ||
349 echo X/"$0" |
350 - sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
351 - /^X\/\(\/\/\)$/{ s//\1/; q; }
352 - /^X\/\(\/\).*/{ s//\1/; q; }
353 - s/.*/./; q'`
354 + sed '/^.*\/\([^/][^/]*\)\/*$/{
355 + s//\1/
356 + q
357 + }
358 + /^X\/\(\/\/\)$/{
359 + s//\1/
360 + q
361 + }
362 + /^X\/\(\/\).*/{
363 + s//\1/
364 + q
365 + }
366 + s/.*/./; q'`
367
368 +# CDPATH.
369 +$as_unset CDPATH
370
371 -# PATH needs CR, and LINENO needs CR and PATH.
372 -# Avoid depending upon Character Ranges.
373 -as_cr_letters='abcdefghijklmnopqrstuvwxyz'
374 -as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
375 -as_cr_Letters=$as_cr_letters$as_cr_LETTERS
376 -as_cr_digits='0123456789'
377 -as_cr_alnum=$as_cr_Letters$as_cr_digits
378
379 -# The user is always right.
380 -if test "${PATH_SEPARATOR+set}" != set; then
381 - echo "#! /bin/sh" >conf$$.sh
382 - echo "exit 0" >>conf$$.sh
383 - chmod +x conf$$.sh
384 - if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
385 - PATH_SEPARATOR=';'
386 - else
387 - PATH_SEPARATOR=:
388 - fi
389 - rm -f conf$$.sh
390 +if test "x$CONFIG_SHELL" = x; then
391 + if (eval ":") 2>/dev/null; then
392 + as_have_required=yes
393 +else
394 + as_have_required=no
395 +fi
396 +
397 + if test $as_have_required = yes && (eval ":
398 +(as_func_return () {
399 + (exit \$1)
400 +}
401 +as_func_success () {
402 + as_func_return 0
403 +}
404 +as_func_failure () {
405 + as_func_return 1
406 +}
407 +as_func_ret_success () {
408 + return 0
409 +}
410 +as_func_ret_failure () {
411 + return 1
412 +}
413 +
414 +exitcode=0
415 +if as_func_success; then
416 + :
417 +else
418 + exitcode=1
419 + echo as_func_success failed.
420 fi
421
422 +if as_func_failure; then
423 + exitcode=1
424 + echo as_func_failure succeeded.
425 +fi
426
427 - as_lineno_1=$LINENO
428 - as_lineno_2=$LINENO
429 - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
430 - test "x$as_lineno_1" != "x$as_lineno_2" &&
431 - test "x$as_lineno_3" = "x$as_lineno_2" || {
432 - # Find who we are. Look in the path if we contain no path at all
433 - # relative or not.
434 - case $0 in
435 - *[\\/]* ) as_myself=$0 ;;
436 - *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
437 -for as_dir in $PATH
438 -do
439 - IFS=$as_save_IFS
440 - test -z "$as_dir" && as_dir=.
441 - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
442 -done
443 +if as_func_ret_success; then
444 + :
445 +else
446 + exitcode=1
447 + echo as_func_ret_success failed.
448 +fi
449
450 - ;;
451 - esac
452 - # We did not find ourselves, most probably we were run as `sh COMMAND'
453 - # in which case we are not to be found in the path.
454 - if test "x$as_myself" = x; then
455 - as_myself=$0
456 - fi
457 - if test ! -f "$as_myself"; then
458 - { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
459 - { (exit 1); exit 1; }; }
460 - fi
461 - case $CONFIG_SHELL in
462 - '')
463 +if as_func_ret_failure; then
464 + exitcode=1
465 + echo as_func_ret_failure succeeded.
466 +fi
467 +
468 +if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
469 + :
470 +else
471 + exitcode=1
472 + echo positional parameters were not saved.
473 +fi
474 +
475 +test \$exitcode = 0) || { (exit 1); exit 1; }
476 +
477 +(
478 + as_lineno_1=\$LINENO
479 + as_lineno_2=\$LINENO
480 + test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
481 + test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
482 +") 2> /dev/null; then
483 + :
484 +else
485 + as_candidate_shells=
486 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
487 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
488 do
489 IFS=$as_save_IFS
490 test -z "$as_dir" && as_dir=.
491 - for as_base in sh bash ksh sh5; do
492 - case $as_dir in
493 + case $as_dir in
494 /*)
495 - if ("$as_dir/$as_base" -c '
496 + for as_base in sh bash ksh sh5; do
497 + as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
498 + done;;
499 + esac
500 +done
501 +IFS=$as_save_IFS
502 +
503 +
504 + for as_shell in $as_candidate_shells $SHELL; do
505 + # Try only shells that exist, to save several forks.
506 + if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
507 + { ("$as_shell") 2> /dev/null <<\_ASEOF
508 +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
509 + emulate sh
510 + NULLCMD=:
511 + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
512 + # is contrary to our usage. Disable this feature.
513 + alias -g '${1+"$@"}'='"$@"'
514 + setopt NO_GLOB_SUBST
515 +else
516 + case `(set -o) 2>/dev/null` in
517 + *posix*) set -o posix ;;
518 +esac
519 +
520 +fi
521 +
522 +
523 +:
524 +_ASEOF
525 +}; then
526 + CONFIG_SHELL=$as_shell
527 + as_have_required=yes
528 + if { "$as_shell" 2> /dev/null <<\_ASEOF
529 +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
530 + emulate sh
531 + NULLCMD=:
532 + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
533 + # is contrary to our usage. Disable this feature.
534 + alias -g '${1+"$@"}'='"$@"'
535 + setopt NO_GLOB_SUBST
536 +else
537 + case `(set -o) 2>/dev/null` in
538 + *posix*) set -o posix ;;
539 +esac
540 +
541 +fi
542 +
543 +
544 +:
545 +(as_func_return () {
546 + (exit $1)
547 +}
548 +as_func_success () {
549 + as_func_return 0
550 +}
551 +as_func_failure () {
552 + as_func_return 1
553 +}
554 +as_func_ret_success () {
555 + return 0
556 +}
557 +as_func_ret_failure () {
558 + return 1
559 +}
560 +
561 +exitcode=0
562 +if as_func_success; then
563 + :
564 +else
565 + exitcode=1
566 + echo as_func_success failed.
567 +fi
568 +
569 +if as_func_failure; then
570 + exitcode=1
571 + echo as_func_failure succeeded.
572 +fi
573 +
574 +if as_func_ret_success; then
575 + :
576 +else
577 + exitcode=1
578 + echo as_func_ret_success failed.
579 +fi
580 +
581 +if as_func_ret_failure; then
582 + exitcode=1
583 + echo as_func_ret_failure succeeded.
584 +fi
585 +
586 +if ( set x; as_func_ret_success y && test x = "$1" ); then
587 + :
588 +else
589 + exitcode=1
590 + echo positional parameters were not saved.
591 +fi
592 +
593 +test $exitcode = 0) || { (exit 1); exit 1; }
594 +
595 +(
596 as_lineno_1=$LINENO
597 as_lineno_2=$LINENO
598 - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
599 test "x$as_lineno_1" != "x$as_lineno_2" &&
600 - test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
601 - $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
602 - $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
603 - CONFIG_SHELL=$as_dir/$as_base
604 - export CONFIG_SHELL
605 - exec "$CONFIG_SHELL" "$0" ${1+"$@"}
606 - fi;;
607 - esac
608 - done
609 -done
610 -;;
611 - esac
612 + test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
613 +
614 +_ASEOF
615 +}; then
616 + break
617 +fi
618 +
619 +fi
620 +
621 + done
622 +
623 + if test "x$CONFIG_SHELL" != x; then
624 + for as_var in BASH_ENV ENV
625 + do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
626 + done
627 + export CONFIG_SHELL
628 + exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
629 +fi
630 +
631 +
632 + if test $as_have_required = no; then
633 + echo This script requires a shell more modern than all the
634 + echo shells that I found on your system. Please install a
635 + echo modern shell, or manually run the script under such a
636 + echo shell if you do have one.
637 + { (exit 1); exit 1; }
638 +fi
639 +
640 +
641 +fi
642 +
643 +fi
644 +
645 +
646 +
647 +(eval "as_func_return () {
648 + (exit \$1)
649 +}
650 +as_func_success () {
651 + as_func_return 0
652 +}
653 +as_func_failure () {
654 + as_func_return 1
655 +}
656 +as_func_ret_success () {
657 + return 0
658 +}
659 +as_func_ret_failure () {
660 + return 1
661 +}
662 +
663 +exitcode=0
664 +if as_func_success; then
665 + :
666 +else
667 + exitcode=1
668 + echo as_func_success failed.
669 +fi
670 +
671 +if as_func_failure; then
672 + exitcode=1
673 + echo as_func_failure succeeded.
674 +fi
675 +
676 +if as_func_ret_success; then
677 + :
678 +else
679 + exitcode=1
680 + echo as_func_ret_success failed.
681 +fi
682 +
683 +if as_func_ret_failure; then
684 + exitcode=1
685 + echo as_func_ret_failure succeeded.
686 +fi
687 +
688 +if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
689 + :
690 +else
691 + exitcode=1
692 + echo positional parameters were not saved.
693 +fi
694 +
695 +test \$exitcode = 0") || {
696 + echo No shell found that supports shell functions.
697 + echo Please tell autoconf@gnu.org about your system,
698 + echo including any error possibly output before this
699 + echo message
700 +}
701 +
702 +
703 +
704 + as_lineno_1=$LINENO
705 + as_lineno_2=$LINENO
706 + test "x$as_lineno_1" != "x$as_lineno_2" &&
707 + test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
708
709 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
710 # uniformly replaced by the line number. The first 'sed' inserts a
711 - # line-number line before each line; the second 'sed' does the real
712 - # work. The second script uses 'N' to pair each line-number line
713 - # with the numbered line, and appends trailing '-' during
714 - # substitution so that $LINENO is not a special case at line end.
715 + # line-number line after each line using $LINENO; the second 'sed'
716 + # does the real work. The second script uses 'N' to pair each
717 + # line-number line with the line containing $LINENO, and appends
718 + # trailing '-' during substitution so that $LINENO is not a special
719 + # case at line end.
720 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
721 - # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
722 - sed '=' <$as_myself |
723 + # scripts with optimization help from Paolo Bonzini. Blame Lee
724 + # E. McMahon (1931-1989) for sed's syntax. :-)
725 + sed -n '
726 + p
727 + /[$]LINENO/=
728 + ' <$as_myself |
729 sed '
730 + s/[$]LINENO.*/&-/
731 + t lineno
732 + b
733 + :lineno
734 N
735 - s,$,-,
736 - : loop
737 - s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
738 + :loop
739 + s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
740 t loop
741 - s,-$,,
742 - s,^['$as_cr_digits']*\n,,
743 + s/-\n.*//
744 ' >$as_me.lineno &&
745 - chmod +x $as_me.lineno ||
746 + chmod +x "$as_me.lineno" ||
747 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
748 { (exit 1); exit 1; }; }
749
750 # Don't try to exec as it changes $[0], causing all sort of problems
751 # (the dirname of $[0] is not the place where we might find the
752 - # original and so on. Autoconf is especially sensible to this).
753 - . ./$as_me.lineno
754 + # original and so on. Autoconf is especially sensitive to this).
755 + . "./$as_me.lineno"
756 # Exit status is that of the last command.
757 exit
758 }
759
760
761 -case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
762 - *c*,-n*) ECHO_N= ECHO_C='
763 -' ECHO_T=' ' ;;
764 - *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
765 - *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
766 +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
767 + as_dirname=dirname
768 +else
769 + as_dirname=false
770 +fi
771 +
772 +ECHO_C= ECHO_N= ECHO_T=
773 +case `echo -n x` in
774 +-n*)
775 + case `echo 'x\c'` in
776 + *c*) ECHO_T=' ';; # ECHO_T is single tab character.
777 + *) ECHO_C='\c';;
778 + esac;;
779 +*)
780 + ECHO_N='-n';;
781 esac
782
783 -if expr a : '\(a\)' >/dev/null 2>&1; then
784 +if expr a : '\(a\)' >/dev/null 2>&1 &&
785 + test "X`expr 00001 : '.*\(...\)'`" = X001; then
786 as_expr=expr
787 else
788 as_expr=false
789 fi
790
791 rm -f conf$$ conf$$.exe conf$$.file
792 +if test -d conf$$.dir; then
793 + rm -f conf$$.dir/conf$$.file
794 +else
795 + rm -f conf$$.dir
796 + mkdir conf$$.dir
797 +fi
798 echo >conf$$.file
799 if ln -s conf$$.file conf$$ 2>/dev/null; then
800 - # We could just check for DJGPP; but this test a) works b) is more generic
801 - # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
802 - if test -f conf$$.exe; then
803 - # Don't use ln at all; we don't have any links
804 + as_ln_s='ln -s'
805 + # ... but there are two gotchas:
806 + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
807 + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
808 + # In both cases, we have to default to `cp -p'.
809 + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
810 as_ln_s='cp -p'
811 - else
812 - as_ln_s='ln -s'
813 - fi
814 elif ln conf$$.file conf$$ 2>/dev/null; then
815 as_ln_s=ln
816 else
817 as_ln_s='cp -p'
818 fi
819 -rm -f conf$$ conf$$.exe conf$$.file
820 +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
821 +rmdir conf$$.dir 2>/dev/null
822
823 if mkdir -p . 2>/dev/null; then
824 as_mkdir_p=:
825 @@ -222,7 +518,28 @@
826 as_mkdir_p=false
827 fi
828
829 -as_executable_p="test -f"
830 +if test -x / >/dev/null 2>&1; then
831 + as_test_x='test -x'
832 +else
833 + if ls -dL / >/dev/null 2>&1; then
834 + as_ls_L_option=L
835 + else
836 + as_ls_L_option=
837 + fi
838 + as_test_x='
839 + eval sh -c '\''
840 + if test -d "$1"; then
841 + test -d "$1/.";
842 + else
843 + case $1 in
844 + -*)set "./$1";;
845 + esac;
846 + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
847 + ???[sx]*):;;*)false;;esac;fi
848 + '\'' sh
849 + '
850 +fi
851 +as_executable_p=$as_test_x
852
853 # Sed expression to map a string onto a valid CPP name.
854 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
855 @@ -231,39 +548,27 @@
856 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
857
858
859 -# IFS
860 -# We need space, tab and new line, in precisely that order.
861 -as_nl='
862 -'
863 -IFS=" $as_nl"
864 -
865 -# CDPATH.
866 -$as_unset CDPATH
867
868 +exec 7<&0 </dev/null 6>&1
869
870 # Name of the host.
871 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
872 # so uname gets run too.
873 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
874
875 -exec 6>&1
876 -
877 #
878 # Initializations.
879 #
880 ac_default_prefix=/usr/local
881 +ac_clean_files=
882 ac_config_libobj_dir=.
883 +LIBOBJS=
884 cross_compiling=no
885 subdirs=
886 MFLAGS=
887 MAKEFLAGS=
888 SHELL=${CONFIG_SHELL-/bin/sh}
889
890 -# Maximum number of lines to put in a shell here document.
891 -# This variable seems obsolete. It should probably be removed, and
892 -# only ac_max_sed_lines should be used.
893 -: ${ac_max_here_lines=38}
894 -
895 # Identity of this package.
896 PACKAGE_NAME=
897 PACKAGE_TARNAME=
898 @@ -275,42 +580,199 @@
899 # Factoring default headers for most tests.
900 ac_includes_default="\
901 #include <stdio.h>
902 -#if HAVE_SYS_TYPES_H
903 +#ifdef HAVE_SYS_TYPES_H
904 # include <sys/types.h>
905 #endif
906 -#if HAVE_SYS_STAT_H
907 +#ifdef HAVE_SYS_STAT_H
908 # include <sys/stat.h>
909 #endif
910 -#if STDC_HEADERS
911 +#ifdef STDC_HEADERS
912 # include <stdlib.h>
913 # include <stddef.h>
914 #else
915 -# if HAVE_STDLIB_H
916 +# ifdef HAVE_STDLIB_H
917 # include <stdlib.h>
918 # endif
919 #endif
920 -#if HAVE_STRING_H
921 -# if !STDC_HEADERS && HAVE_MEMORY_H
922 +#ifdef HAVE_STRING_H
923 +# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
924 # include <memory.h>
925 # endif
926 # include <string.h>
927 #endif
928 -#if HAVE_STRINGS_H
929 +#ifdef HAVE_STRINGS_H
930 # include <strings.h>
931 #endif
932 -#if HAVE_INTTYPES_H
933 +#ifdef HAVE_INTTYPES_H
934 # include <inttypes.h>
935 -#else
936 -# if HAVE_STDINT_H
937 -# include <stdint.h>
938 -# endif
939 #endif
940 -#if HAVE_UNISTD_H
941 +#ifdef HAVE_STDINT_H
942 +# include <stdint.h>
943 +#endif
944 +#ifdef HAVE_UNISTD_H
945 # include <unistd.h>
946 #endif"
947
948 -ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE AR ac_ct_AR RANLIB ac_ct_RANLIB LN_S LIBTOOL WARN_CFLAGS NO_WERROR MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT INSTALL_LIBBFD_TRUE INSTALL_LIBBFD_FALSE host_noncanonical target_noncanonical bfdlibdir bfdincludedir CPP EGREP ALLOCA USE_NLS MSGFMT GMSGFMT XGETTEXT USE_INCLUDED_LIBINTL CATALOGS CATOBJEXT DATADIRNAME GMOFILES INSTOBJEXT INTLDEPS INTLLIBS INTLOBJS POFILES POSUB INCLUDE_LOCALE_H GT_NO GT_YES MKINSTALLDIRS l HDEFINES BFD_HOST_64BIT_LONG BFD_HOST_LONG_LONG BFD_HOST_64_BIT_DEFINED BFD_HOST_64_BIT BFD_HOST_U_64_BIT CC_FOR_BUILD EXEEXT_FOR_BUILD COREFILE COREFLAG WIN32LDFLAGS WIN32LIBADD TDEFINES wordsize bfd_libs all_backends bfd_backends bfd_machines bfd_default_target_size bfd_file_ptr bfd_ufile_ptr tdefaults datarootdir docdir htmldir LIBOBJS LTLIBOBJS'
949 +ac_subst_vars='SHELL
950 +PATH_SEPARATOR
951 +PACKAGE_NAME
952 +PACKAGE_TARNAME
953 +PACKAGE_VERSION
954 +PACKAGE_STRING
955 +PACKAGE_BUGREPORT
956 +exec_prefix
957 +prefix
958 +program_transform_name
959 +bindir
960 +sbindir
961 +libexecdir
962 +datarootdir
963 +datadir
964 +sysconfdir
965 +sharedstatedir
966 +localstatedir
967 +includedir
968 +oldincludedir
969 +docdir
970 +infodir
971 +htmldir
972 +dvidir
973 +pdfdir
974 +psdir
975 +libdir
976 +localedir
977 +mandir
978 +DEFS
979 +ECHO_C
980 +ECHO_N
981 +ECHO_T
982 +LIBS
983 +build_alias
984 +host_alias
985 +target_alias
986 +build
987 +build_cpu
988 +build_vendor
989 +build_os
990 +host
991 +host_cpu
992 +host_vendor
993 +host_os
994 +target
995 +target_cpu
996 +target_vendor
997 +target_os
998 +CC
999 +CFLAGS
1000 +LDFLAGS
1001 +CPPFLAGS
1002 +ac_ct_CC
1003 +EXEEXT
1004 +OBJEXT
1005 +INSTALL_PROGRAM
1006 +INSTALL_SCRIPT
1007 +INSTALL_DATA
1008 +CYGPATH_W
1009 +PACKAGE
1010 +VERSION
1011 +ACLOCAL
1012 +AUTOCONF
1013 +AUTOMAKE
1014 +AUTOHEADER
1015 +MAKEINFO
1016 +install_sh
1017 +STRIP
1018 +INSTALL_STRIP_PROGRAM
1019 +mkdir_p
1020 +AWK
1021 +SET_MAKE
1022 +am__leading_dot
1023 +AMTAR
1024 +am__tar
1025 +am__untar
1026 +DEPDIR
1027 +am__include
1028 +am__quote
1029 +AMDEP_TRUE
1030 +AMDEP_FALSE
1031 +AMDEPBACKSLASH
1032 +CCDEPMODE
1033 +am__fastdepCC_TRUE
1034 +am__fastdepCC_FALSE
1035 +AR
1036 +RANLIB
1037 +LN_S
1038 +LIBTOOL
1039 +WARN_CFLAGS
1040 +NO_WERROR
1041 +MAINTAINER_MODE_TRUE
1042 +MAINTAINER_MODE_FALSE
1043 +MAINT
1044 +INSTALL_LIBBFD_TRUE
1045 +INSTALL_LIBBFD_FALSE
1046 +host_noncanonical
1047 +target_noncanonical
1048 +bfdlibdir
1049 +bfdincludedir
1050 +CPP
1051 +GREP
1052 +EGREP
1053 +ALLOCA
1054 +USE_NLS
1055 +MSGFMT
1056 +GMSGFMT
1057 +XGETTEXT
1058 +USE_INCLUDED_LIBINTL
1059 +CATALOGS
1060 +CATOBJEXT
1061 +DATADIRNAME
1062 +GMOFILES
1063 +INSTOBJEXT
1064 +INTLDEPS
1065 +INTLLIBS
1066 +INTLOBJS
1067 +POFILES
1068 +POSUB
1069 +INCLUDE_LOCALE_H
1070 +GT_NO
1071 +GT_YES
1072 +MKINSTALLDIRS
1073 +l
1074 +HDEFINES
1075 +BFD_HOST_64BIT_LONG
1076 +BFD_HOST_LONG_LONG
1077 +BFD_HOST_64_BIT_DEFINED
1078 +BFD_HOST_64_BIT
1079 +BFD_HOST_U_64_BIT
1080 +CC_FOR_BUILD
1081 +EXEEXT_FOR_BUILD
1082 +COREFILE
1083 +COREFLAG
1084 +WIN32LDFLAGS
1085 +WIN32LIBADD
1086 +TDEFINES
1087 +wordsize
1088 +bfd_libs
1089 +all_backends
1090 +bfd_backends
1091 +bfd_machines
1092 +bfd_default_target_size
1093 +bfd_file_ptr
1094 +bfd_ufile_ptr
1095 +tdefaults
1096 +LIBOBJS
1097 +LTLIBOBJS'
1098 ac_subst_files=''
1099 + ac_precious_vars='build_alias
1100 +host_alias
1101 +target_alias
1102 +CC
1103 +CFLAGS
1104 +LDFLAGS
1105 +LIBS
1106 +CPPFLAGS
1107 +CPP'
1108 +
1109
1110 # Initialize some variables set by options.
1111 ac_init_help=
1112 @@ -337,34 +799,48 @@
1113 # and all the variables that are supposed to be based on exec_prefix
1114 # by default will actually change.
1115 # Use braces instead of parens because sh, perl, etc. also accept them.
1116 +# (The list follows the same order as the GNU Coding Standards.)
1117 bindir='${exec_prefix}/bin'
1118 sbindir='${exec_prefix}/sbin'
1119 libexecdir='${exec_prefix}/libexec'
1120 -datadir='${prefix}/share'
1121 +datarootdir='${prefix}/share'
1122 +datadir='${datarootdir}'
1123 sysconfdir='${prefix}/etc'
1124 sharedstatedir='${prefix}/com'
1125 localstatedir='${prefix}/var'
1126 -libdir='${exec_prefix}/lib'
1127 includedir='${prefix}/include'
1128 oldincludedir='/usr/include'
1129 -infodir='${prefix}/info'
1130 -mandir='${prefix}/man'
1131 +docdir='${datarootdir}/doc/${PACKAGE}'
1132 +infodir='${datarootdir}/info'
1133 +htmldir='${docdir}'
1134 +dvidir='${docdir}'
1135 +pdfdir='${docdir}'
1136 +psdir='${docdir}'
1137 +libdir='${exec_prefix}/lib'
1138 +localedir='${datarootdir}/locale'
1139 +mandir='${datarootdir}/man'
1140
1141 ac_prev=
1142 +ac_dashdash=
1143 for ac_option
1144 do
1145 # If the previous option needs an argument, assign it.
1146 if test -n "$ac_prev"; then
1147 - eval "$ac_prev=\$ac_option"
1148 + eval $ac_prev=\$ac_option
1149 ac_prev=
1150 continue
1151 fi
1152
1153 - ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
1154 + case $ac_option in
1155 + *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1156 + *) ac_optarg=yes ;;
1157 + esac
1158
1159 # Accept the important Cygnus configure options, so we can diagnose typos.
1160
1161 - case $ac_option in
1162 + case $ac_dashdash$ac_option in
1163 + --)
1164 + ac_dashdash=yes ;;
1165
1166 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1167 ac_prev=bindir ;;
1168 @@ -386,33 +862,45 @@
1169 --config-cache | -C)
1170 cache_file=config.cache ;;
1171
1172 - -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
1173 + -datadir | --datadir | --datadi | --datad)
1174 ac_prev=datadir ;;
1175 - -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
1176 - | --da=*)
1177 + -datadir=* | --datadir=* | --datadi=* | --datad=*)
1178 datadir=$ac_optarg ;;
1179
1180 + -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1181 + | --dataroo | --dataro | --datar)
1182 + ac_prev=datarootdir ;;
1183 + -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1184 + | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1185 + datarootdir=$ac_optarg ;;
1186 +
1187 -disable-* | --disable-*)
1188 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1189 # Reject names that are not valid shell variable names.
1190 - expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1191 + expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1192 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1193 { (exit 1); exit 1; }; }
1194 - ac_feature=`echo $ac_feature | sed 's/-/_/g'`
1195 - eval "enable_$ac_feature=no" ;;
1196 + ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1197 + eval enable_$ac_feature=no ;;
1198 +
1199 + -docdir | --docdir | --docdi | --doc | --do)
1200 + ac_prev=docdir ;;
1201 + -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1202 + docdir=$ac_optarg ;;
1203 +
1204 + -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1205 + ac_prev=dvidir ;;
1206 + -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1207 + dvidir=$ac_optarg ;;
1208
1209 -enable-* | --enable-*)
1210 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1211 # Reject names that are not valid shell variable names.
1212 - expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1213 + expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1214 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1215 { (exit 1); exit 1; }; }
1216 - ac_feature=`echo $ac_feature | sed 's/-/_/g'`
1217 - case $ac_option in
1218 - *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
1219 - *) ac_optarg=yes ;;
1220 - esac
1221 - eval "enable_$ac_feature='$ac_optarg'" ;;
1222 + ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1223 + eval enable_$ac_feature=\$ac_optarg ;;
1224
1225 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1226 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1227 @@ -439,6 +927,12 @@
1228 -host=* | --host=* | --hos=* | --ho=*)
1229 host_alias=$ac_optarg ;;
1230
1231 + -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1232 + ac_prev=htmldir ;;
1233 + -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1234 + | --ht=*)
1235 + htmldir=$ac_optarg ;;
1236 +
1237 -includedir | --includedir | --includedi | --included | --include \
1238 | --includ | --inclu | --incl | --inc)
1239 ac_prev=includedir ;;
1240 @@ -463,13 +957,16 @@
1241 | --libexe=* | --libex=* | --libe=*)
1242 libexecdir=$ac_optarg ;;
1243
1244 + -localedir | --localedir | --localedi | --localed | --locale)
1245 + ac_prev=localedir ;;
1246 + -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1247 + localedir=$ac_optarg ;;
1248 +
1249 -localstatedir | --localstatedir | --localstatedi | --localstated \
1250 - | --localstate | --localstat | --localsta | --localst \
1251 - | --locals | --local | --loca | --loc | --lo)
1252 + | --localstate | --localstat | --localsta | --localst | --locals)
1253 ac_prev=localstatedir ;;
1254 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1255 - | --localstate=* | --localstat=* | --localsta=* | --localst=* \
1256 - | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
1257 + | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1258 localstatedir=$ac_optarg ;;
1259
1260 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1261 @@ -534,6 +1031,16 @@
1262 | --progr-tra=* | --program-tr=* | --program-t=*)
1263 program_transform_name=$ac_optarg ;;
1264
1265 + -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1266 + ac_prev=pdfdir ;;
1267 + -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1268 + pdfdir=$ac_optarg ;;
1269 +
1270 + -psdir | --psdir | --psdi | --psd | --ps)
1271 + ac_prev=psdir ;;
1272 + -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1273 + psdir=$ac_optarg ;;
1274 +
1275 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1276 | -silent | --silent | --silen | --sile | --sil)
1277 silent=yes ;;
1278 @@ -586,24 +1093,20 @@
1279 -with-* | --with-*)
1280 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1281 # Reject names that are not valid shell variable names.
1282 - expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1283 + expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1284 { echo "$as_me: error: invalid package name: $ac_package" >&2
1285 { (exit 1); exit 1; }; }
1286 - ac_package=`echo $ac_package| sed 's/-/_/g'`
1287 - case $ac_option in
1288 - *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
1289 - *) ac_optarg=yes ;;
1290 - esac
1291 - eval "with_$ac_package='$ac_optarg'" ;;
1292 + ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1293 + eval with_$ac_package=\$ac_optarg ;;
1294
1295 -without-* | --without-*)
1296 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1297 # Reject names that are not valid shell variable names.
1298 - expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1299 + expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1300 { echo "$as_me: error: invalid package name: $ac_package" >&2
1301 { (exit 1); exit 1; }; }
1302 - ac_package=`echo $ac_package | sed 's/-/_/g'`
1303 - eval "with_$ac_package=no" ;;
1304 + ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1305 + eval with_$ac_package=no ;;
1306
1307 --x)
1308 # Obsolete; use --with-x.
1309 @@ -634,8 +1137,7 @@
1310 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1311 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1312 { (exit 1); exit 1; }; }
1313 - ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
1314 - eval "$ac_envvar='$ac_optarg'"
1315 + eval $ac_envvar=\$ac_optarg
1316 export $ac_envvar ;;
1317
1318 *)
1319 @@ -655,27 +1157,19 @@
1320 { (exit 1); exit 1; }; }
1321 fi
1322
1323 -# Be sure to have absolute paths.
1324 -for ac_var in exec_prefix prefix
1325 -do
1326 - eval ac_val=$`echo $ac_var`
1327 - case $ac_val in
1328 - [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
1329 - *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1330 - { (exit 1); exit 1; }; };;
1331 - esac
1332 -done
1333 -
1334 -# Be sure to have absolute paths.
1335 -for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
1336 - localstatedir libdir includedir oldincludedir infodir mandir
1337 +# Be sure to have absolute directory names.
1338 +for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1339 + datadir sysconfdir sharedstatedir localstatedir includedir \
1340 + oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1341 + libdir localedir mandir
1342 do
1343 - eval ac_val=$`echo $ac_var`
1344 + eval ac_val=\$$ac_var
1345 case $ac_val in
1346 - [\\/$]* | ?:[\\/]* ) ;;
1347 - *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1348 - { (exit 1); exit 1; }; };;
1349 + [\\/$]* | ?:[\\/]* ) continue;;
1350 + NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1351 esac
1352 + { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1353 + { (exit 1); exit 1; }; }
1354 done
1355
1356 # There might be people who depend on the old broken behavior: `$host'
1357 @@ -702,74 +1196,76 @@
1358 test "$silent" = yes && exec 6>/dev/null
1359
1360
1361 +ac_pwd=`pwd` && test -n "$ac_pwd" &&
1362 +ac_ls_di=`ls -di .` &&
1363 +ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1364 + { echo "$as_me: error: Working directory cannot be determined" >&2
1365 + { (exit 1); exit 1; }; }
1366 +test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1367 + { echo "$as_me: error: pwd does not report name of working directory" >&2
1368 + { (exit 1); exit 1; }; }
1369 +
1370 +
1371 # Find the source files, if location was not specified.
1372 if test -z "$srcdir"; then
1373 ac_srcdir_defaulted=yes
1374 - # Try the directory containing this script, then its parent.
1375 - ac_confdir=`(dirname "$0") 2>/dev/null ||
1376 + # Try the directory containing this script, then the parent directory.
1377 + ac_confdir=`$as_dirname -- "$0" ||
1378 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1379 X"$0" : 'X\(//\)[^/]' \| \
1380 X"$0" : 'X\(//\)$' \| \
1381 - X"$0" : 'X\(/\)' \| \
1382 - . : '\(.\)' 2>/dev/null ||
1383 + X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1384 echo X"$0" |
1385 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
1386 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
1387 - /^X\(\/\/\)$/{ s//\1/; q; }
1388 - /^X\(\/\).*/{ s//\1/; q; }
1389 - s/.*/./; q'`
1390 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1391 + s//\1/
1392 + q
1393 + }
1394 + /^X\(\/\/\)[^/].*/{
1395 + s//\1/
1396 + q
1397 + }
1398 + /^X\(\/\/\)$/{
1399 + s//\1/
1400 + q
1401 + }
1402 + /^X\(\/\).*/{
1403 + s//\1/
1404 + q
1405 + }
1406 + s/.*/./; q'`
1407 srcdir=$ac_confdir
1408 - if test ! -r $srcdir/$ac_unique_file; then
1409 + if test ! -r "$srcdir/$ac_unique_file"; then
1410 srcdir=..
1411 fi
1412 else
1413 ac_srcdir_defaulted=no
1414 fi
1415 -if test ! -r $srcdir/$ac_unique_file; then
1416 - if test "$ac_srcdir_defaulted" = yes; then
1417 - { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
1418 - { (exit 1); exit 1; }; }
1419 - else
1420 - { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1421 - { (exit 1); exit 1; }; }
1422 - fi
1423 -fi
1424 -(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
1425 - { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
1426 - { (exit 1); exit 1; }; }
1427 -srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
1428 -ac_env_build_alias_set=${build_alias+set}
1429 -ac_env_build_alias_value=$build_alias
1430 -ac_cv_env_build_alias_set=${build_alias+set}
1431 -ac_cv_env_build_alias_value=$build_alias
1432 -ac_env_host_alias_set=${host_alias+set}
1433 -ac_env_host_alias_value=$host_alias
1434 -ac_cv_env_host_alias_set=${host_alias+set}
1435 -ac_cv_env_host_alias_value=$host_alias
1436 -ac_env_target_alias_set=${target_alias+set}
1437 -ac_env_target_alias_value=$target_alias
1438 -ac_cv_env_target_alias_set=${target_alias+set}
1439 -ac_cv_env_target_alias_value=$target_alias
1440 -ac_env_CC_set=${CC+set}
1441 -ac_env_CC_value=$CC
1442 -ac_cv_env_CC_set=${CC+set}
1443 -ac_cv_env_CC_value=$CC
1444 -ac_env_CFLAGS_set=${CFLAGS+set}
1445 -ac_env_CFLAGS_value=$CFLAGS
1446 -ac_cv_env_CFLAGS_set=${CFLAGS+set}
1447 -ac_cv_env_CFLAGS_value=$CFLAGS
1448 -ac_env_LDFLAGS_set=${LDFLAGS+set}
1449 -ac_env_LDFLAGS_value=$LDFLAGS
1450 -ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
1451 -ac_cv_env_LDFLAGS_value=$LDFLAGS
1452 -ac_env_CPPFLAGS_set=${CPPFLAGS+set}
1453 -ac_env_CPPFLAGS_value=$CPPFLAGS
1454 -ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
1455 -ac_cv_env_CPPFLAGS_value=$CPPFLAGS
1456 -ac_env_CPP_set=${CPP+set}
1457 -ac_env_CPP_value=$CPP
1458 -ac_cv_env_CPP_set=${CPP+set}
1459 -ac_cv_env_CPP_value=$CPP
1460 +if test ! -r "$srcdir/$ac_unique_file"; then
1461 + test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1462 + { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1463 + { (exit 1); exit 1; }; }
1464 +fi
1465 +ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1466 +ac_abs_confdir=`(
1467 + cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1468 + { (exit 1); exit 1; }; }
1469 + pwd)`
1470 +# When building in place, set srcdir=.
1471 +if test "$ac_abs_confdir" = "$ac_pwd"; then
1472 + srcdir=.
1473 +fi
1474 +# Remove unnecessary trailing slashes from srcdir.
1475 +# Double slashes in file names in object file debugging info
1476 +# mess up M-x gdb in Emacs.
1477 +case $srcdir in
1478 +*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1479 +esac
1480 +for ac_var in $ac_precious_vars; do
1481 + eval ac_env_${ac_var}_set=\${${ac_var}+set}
1482 + eval ac_env_${ac_var}_value=\$${ac_var}
1483 + eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1484 + eval ac_cv_env_${ac_var}_value=\$${ac_var}
1485 +done
1486
1487 #
1488 # Report the --help message.
1489 @@ -798,9 +1294,6 @@
1490 -n, --no-create do not create output files
1491 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1492
1493 -_ACEOF
1494 -
1495 - cat <<_ACEOF
1496 Installation directories:
1497 --prefix=PREFIX install architecture-independent files in PREFIX
1498 [$ac_default_prefix]
1499 @@ -818,15 +1311,22 @@
1500 --bindir=DIR user executables [EPREFIX/bin]
1501 --sbindir=DIR system admin executables [EPREFIX/sbin]
1502 --libexecdir=DIR program executables [EPREFIX/libexec]
1503 - --datadir=DIR read-only architecture-independent data [PREFIX/share]
1504 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1505 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1506 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1507 --libdir=DIR object code libraries [EPREFIX/lib]
1508 --includedir=DIR C header files [PREFIX/include]
1509 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1510 - --infodir=DIR info documentation [PREFIX/info]
1511 - --mandir=DIR man documentation [PREFIX/man]
1512 + --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1513 + --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1514 + --infodir=DIR info documentation [DATAROOTDIR/info]
1515 + --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1516 + --mandir=DIR man documentation [DATAROOTDIR/man]
1517 + --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1518 + --htmldir=DIR html documentation [DOCDIR]
1519 + --dvidir=DIR dvi documentation [DOCDIR]
1520 + --pdfdir=DIR pdf documentation [DOCDIR]
1521 + --psdir=DIR ps documentation [DOCDIR]
1522 _ACEOF
1523
1524 cat <<\_ACEOF
1525 @@ -880,126 +1380,95 @@
1526 CFLAGS C compiler flags
1527 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1528 nonstandard directory <lib dir>
1529 - CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1530 - headers in a nonstandard directory <include dir>
1531 + LIBS libraries to pass to the linker, e.g. -l<library>
1532 + CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1533 + you have headers in a nonstandard directory <include dir>
1534 CPP C preprocessor
1535
1536 Use these variables to override the choices made by `configure' or to help
1537 it to find libraries and programs with nonstandard names/locations.
1538
1539 _ACEOF
1540 +ac_status=$?
1541 fi
1542
1543 if test "$ac_init_help" = "recursive"; then
1544 # If there are subdirs, report their specific --help.
1545 - ac_popdir=`pwd`
1546 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1547 - test -d $ac_dir || continue
1548 + test -d "$ac_dir" || continue
1549 ac_builddir=.
1550
1551 -if test "$ac_dir" != .; then
1552 +case "$ac_dir" in
1553 +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1554 +*)
1555 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1556 - # A "../" for each directory in $ac_dir_suffix.
1557 - ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1558 -else
1559 - ac_dir_suffix= ac_top_builddir=
1560 -fi
1561 + # A ".." for each directory in $ac_dir_suffix.
1562 + ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1563 + case $ac_top_builddir_sub in
1564 + "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1565 + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1566 + esac ;;
1567 +esac
1568 +ac_abs_top_builddir=$ac_pwd
1569 +ac_abs_builddir=$ac_pwd$ac_dir_suffix
1570 +# for backward compatibility:
1571 +ac_top_builddir=$ac_top_build_prefix
1572
1573 case $srcdir in
1574 - .) # No --srcdir option. We are building in place.
1575 + .) # We are building in place.
1576 ac_srcdir=.
1577 - if test -z "$ac_top_builddir"; then
1578 - ac_top_srcdir=.
1579 - else
1580 - ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1581 - fi ;;
1582 - [\\/]* | ?:[\\/]* ) # Absolute path.
1583 + ac_top_srcdir=$ac_top_builddir_sub
1584 + ac_abs_top_srcdir=$ac_pwd ;;
1585 + [\\/]* | ?:[\\/]* ) # Absolute name.
1586 ac_srcdir=$srcdir$ac_dir_suffix;
1587 - ac_top_srcdir=$srcdir ;;
1588 - *) # Relative path.
1589 - ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1590 - ac_top_srcdir=$ac_top_builddir$srcdir ;;
1591 -esac
1592 -
1593 -# Do not use `cd foo && pwd` to compute absolute paths, because
1594 -# the directories may not exist.
1595 -case `pwd` in
1596 -.) ac_abs_builddir="$ac_dir";;
1597 -*)
1598 - case "$ac_dir" in
1599 - .) ac_abs_builddir=`pwd`;;
1600 - [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1601 - *) ac_abs_builddir=`pwd`/"$ac_dir";;
1602 - esac;;
1603 -esac
1604 -case $ac_abs_builddir in
1605 -.) ac_abs_top_builddir=${ac_top_builddir}.;;
1606 -*)
1607 - case ${ac_top_builddir}. in
1608 - .) ac_abs_top_builddir=$ac_abs_builddir;;
1609 - [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1610 - *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1611 - esac;;
1612 -esac
1613 -case $ac_abs_builddir in
1614 -.) ac_abs_srcdir=$ac_srcdir;;
1615 -*)
1616 - case $ac_srcdir in
1617 - .) ac_abs_srcdir=$ac_abs_builddir;;
1618 - [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1619 - *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1620 - esac;;
1621 -esac
1622 -case $ac_abs_builddir in
1623 -.) ac_abs_top_srcdir=$ac_top_srcdir;;
1624 -*)
1625 - case $ac_top_srcdir in
1626 - .) ac_abs_top_srcdir=$ac_abs_builddir;;
1627 - [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1628 - *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1629 - esac;;
1630 -esac
1631 -
1632 - cd $ac_dir
1633 - # Check for guested configure; otherwise get Cygnus style configure.
1634 - if test -f $ac_srcdir/configure.gnu; then
1635 - echo
1636 - $SHELL $ac_srcdir/configure.gnu --help=recursive
1637 - elif test -f $ac_srcdir/configure; then
1638 - echo
1639 - $SHELL $ac_srcdir/configure --help=recursive
1640 - elif test -f $ac_srcdir/configure.ac ||
1641 - test -f $ac_srcdir/configure.in; then
1642 - echo
1643 - $ac_configure --help
1644 + ac_top_srcdir=$srcdir
1645 + ac_abs_top_srcdir=$srcdir ;;
1646 + *) # Relative name.
1647 + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1648 + ac_top_srcdir=$ac_top_build_prefix$srcdir
1649 + ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1650 +esac
1651 +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1652 +
1653 + cd "$ac_dir" || { ac_status=$?; continue; }
1654 + # Check for guested configure.
1655 + if test -f "$ac_srcdir/configure.gnu"; then
1656 + echo &&
1657 + $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1658 + elif test -f "$ac_srcdir/configure"; then
1659 + echo &&
1660 + $SHELL "$ac_srcdir/configure" --help=recursive
1661 else
1662 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1663 - fi
1664 - cd $ac_popdir
1665 + fi || ac_status=$?
1666 + cd "$ac_pwd" || { ac_status=$?; break; }
1667 done
1668 fi
1669
1670 -test -n "$ac_init_help" && exit 0
1671 +test -n "$ac_init_help" && exit $ac_status
1672 if $ac_init_version; then
1673 cat <<\_ACEOF
1674 +configure
1675 +generated by GNU Autoconf 2.61
1676
1677 -Copyright (C) 2003 Free Software Foundation, Inc.
1678 +Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1679 +2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1680 This configure script is free software; the Free Software Foundation
1681 gives unlimited permission to copy, distribute and modify it.
1682 _ACEOF
1683 - exit 0
1684 + exit
1685 fi
1686 -exec 5>config.log
1687 -cat >&5 <<_ACEOF
1688 +cat >config.log <<_ACEOF
1689 This file contains any messages produced by compilers while
1690 running configure, to aid debugging if configure makes a mistake.
1691
1692 It was created by $as_me, which was
1693 -generated by GNU Autoconf 2.59. Invocation command line was
1694 +generated by GNU Autoconf 2.61. Invocation command line was
1695
1696 $ $0 $@
1697
1698 _ACEOF
1699 +exec 5>>config.log
1700 {
1701 cat <<_ASUNAME
1702 ## --------- ##
1703 @@ -1018,7 +1487,7 @@
1704 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1705 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1706 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1707 -hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1708 +/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1709 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1710 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1711 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1712 @@ -1032,6 +1501,7 @@
1713 test -z "$as_dir" && as_dir=.
1714 echo "PATH: $as_dir"
1715 done
1716 +IFS=$as_save_IFS
1717
1718 } >&5
1719
1720 @@ -1053,7 +1523,6 @@
1721 ac_configure_args=
1722 ac_configure_args0=
1723 ac_configure_args1=
1724 -ac_sep=
1725 ac_must_keep_next=false
1726 for ac_pass in 1 2
1727 do
1728 @@ -1064,7 +1533,7 @@
1729 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1730 | -silent | --silent | --silen | --sile | --sil)
1731 continue ;;
1732 - *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1733 + *\'*)
1734 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1735 esac
1736 case $ac_pass in
1737 @@ -1086,9 +1555,7 @@
1738 -* ) ac_must_keep_next=true ;;
1739 esac
1740 fi
1741 - ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1742 - # Get rid of the leading space.
1743 - ac_sep=" "
1744 + ac_configure_args="$ac_configure_args '$ac_arg'"
1745 ;;
1746 esac
1747 done
1748 @@ -1099,8 +1566,8 @@
1749 # When interrupted or exit'd, cleanup temporary files, and complete
1750 # config.log. We remove comments because anyway the quotes in there
1751 # would cause problems or look ugly.
1752 -# WARNING: Be sure not to use single quotes in there, as some shells,
1753 -# such as our DU 5.0 friend, will then `close' the trap.
1754 +# WARNING: Use '\'' to represent an apostrophe within the trap.
1755 +# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1756 trap 'exit_status=$?
1757 # Save into config.log some information that might help in debugging.
1758 {
1759 @@ -1113,20 +1580,34 @@
1760 _ASBOX
1761 echo
1762 # The following way of writing the cache mishandles newlines in values,
1763 -{
1764 +(
1765 + for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1766 + eval ac_val=\$$ac_var
1767 + case $ac_val in #(
1768 + *${as_nl}*)
1769 + case $ac_var in #(
1770 + *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1771 +echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1772 + esac
1773 + case $ac_var in #(
1774 + _ | IFS | as_nl) ;; #(
1775 + *) $as_unset $ac_var ;;
1776 + esac ;;
1777 + esac
1778 + done
1779 (set) 2>&1 |
1780 - case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1781 - *ac_space=\ *)
1782 + case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1783 + *${as_nl}ac_space=\ *)
1784 sed -n \
1785 - "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1786 - s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1787 - ;;
1788 + "s/'\''/'\''\\\\'\'''\''/g;
1789 + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1790 + ;; #(
1791 *)
1792 - sed -n \
1793 - "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1794 + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1795 ;;
1796 - esac;
1797 -}
1798 + esac |
1799 + sort
1800 +)
1801 echo
1802
1803 cat <<\_ASBOX
1804 @@ -1137,22 +1618,28 @@
1805 echo
1806 for ac_var in $ac_subst_vars
1807 do
1808 - eval ac_val=$`echo $ac_var`
1809 - echo "$ac_var='"'"'$ac_val'"'"'"
1810 + eval ac_val=\$$ac_var
1811 + case $ac_val in
1812 + *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1813 + esac
1814 + echo "$ac_var='\''$ac_val'\''"
1815 done | sort
1816 echo
1817
1818 if test -n "$ac_subst_files"; then
1819 cat <<\_ASBOX
1820 -## ------------- ##
1821 -## Output files. ##
1822 -## ------------- ##
1823 +## ------------------- ##
1824 +## File substitutions. ##
1825 +## ------------------- ##
1826 _ASBOX
1827 echo
1828 for ac_var in $ac_subst_files
1829 do
1830 - eval ac_val=$`echo $ac_var`
1831 - echo "$ac_var='"'"'$ac_val'"'"'"
1832 + eval ac_val=\$$ac_var
1833 + case $ac_val in
1834 + *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1835 + esac
1836 + echo "$ac_var='\''$ac_val'\''"
1837 done | sort
1838 echo
1839 fi
1840 @@ -1164,26 +1651,24 @@
1841 ## ----------- ##
1842 _ASBOX
1843 echo
1844 - sed "/^$/d" confdefs.h | sort
1845 + cat confdefs.h
1846 echo
1847 fi
1848 test "$ac_signal" != 0 &&
1849 echo "$as_me: caught signal $ac_signal"
1850 echo "$as_me: exit $exit_status"
1851 } >&5
1852 - rm -f core *.core &&
1853 - rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1854 + rm -f core *.core core.conftest.* &&
1855 + rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1856 exit $exit_status
1857 - ' 0
1858 +' 0
1859 for ac_signal in 1 2 13 15; do
1860 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1861 done
1862 ac_signal=0
1863
1864 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1865 -rm -rf conftest* confdefs.h
1866 -# AIX cpp loses on an empty file, so make sure it contains at least a newline.
1867 -echo >confdefs.h
1868 +rm -f -r conftest* confdefs.h
1869
1870 # Predefined preprocessor variables.
1871
1872 @@ -1214,14 +1699,17 @@
1873
1874 # Let the site file select an alternate cache file if it wants to.
1875 # Prefer explicitly selected file to automatically selected ones.
1876 -if test -z "$CONFIG_SITE"; then
1877 - if test "x$prefix" != xNONE; then
1878 - CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1879 - else
1880 - CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1881 - fi
1882 +if test -n "$CONFIG_SITE"; then
1883 + set x "$CONFIG_SITE"
1884 +elif test "x$prefix" != xNONE; then
1885 + set x "$prefix/share/config.site" "$prefix/etc/config.site"
1886 +else
1887 + set x "$ac_default_prefix/share/config.site" \
1888 + "$ac_default_prefix/etc/config.site"
1889 fi
1890 -for ac_site_file in $CONFIG_SITE; do
1891 +shift
1892 +for ac_site_file
1893 +do
1894 if test -r "$ac_site_file"; then
1895 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1896 echo "$as_me: loading site script $ac_site_file" >&6;}
1897 @@ -1237,8 +1725,8 @@
1898 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1899 echo "$as_me: loading cache $cache_file" >&6;}
1900 case $cache_file in
1901 - [\\/]* | ?:[\\/]* ) . $cache_file;;
1902 - *) . ./$cache_file;;
1903 + [\\/]* | ?:[\\/]* ) . "$cache_file";;
1904 + *) . "./$cache_file";;
1905 esac
1906 fi
1907 else
1908 @@ -1250,12 +1738,11 @@
1909 # Check that the precious variables saved in the cache have kept the same
1910 # value.
1911 ac_cache_corrupted=false
1912 -for ac_var in `(set) 2>&1 |
1913 - sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1914 +for ac_var in $ac_precious_vars; do
1915 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1916 eval ac_new_set=\$ac_env_${ac_var}_set
1917 - eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1918 - eval ac_new_val="\$ac_env_${ac_var}_value"
1919 + eval ac_old_val=\$ac_cv_env_${ac_var}_value
1920 + eval ac_new_val=\$ac_env_${ac_var}_value
1921 case $ac_old_set,$ac_new_set in
1922 set,)
1923 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1924 @@ -1280,8 +1767,7 @@
1925 # Pass precious variables to config.status.
1926 if test "$ac_new_set" = set; then
1927 case $ac_new_val in
1928 - *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1929 - ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1930 + *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1931 *) ac_arg=$ac_var=$ac_new_val ;;
1932 esac
1933 case " $ac_configure_args " in
1934 @@ -1298,12 +1784,6 @@
1935 { (exit 1); exit 1; }; }
1936 fi
1937
1938 -ac_ext=c
1939 -ac_cpp='$CPP $CPPFLAGS'
1940 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1941 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1942 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
1943 -
1944
1945
1946
1947 @@ -1320,109 +1800,164 @@
1948
1949
1950
1951 +ac_ext=c
1952 +ac_cpp='$CPP $CPPFLAGS'
1953 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1954 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1955 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
1956
1957
1958
1959
1960 ac_aux_dir=
1961 -for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1962 - if test -f $ac_dir/install-sh; then
1963 +for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1964 + if test -f "$ac_dir/install-sh"; then
1965 ac_aux_dir=$ac_dir
1966 ac_install_sh="$ac_aux_dir/install-sh -c"
1967 break
1968 - elif test -f $ac_dir/install.sh; then
1969 + elif test -f "$ac_dir/install.sh"; then
1970 ac_aux_dir=$ac_dir
1971 ac_install_sh="$ac_aux_dir/install.sh -c"
1972 break
1973 - elif test -f $ac_dir/shtool; then
1974 + elif test -f "$ac_dir/shtool"; then
1975 ac_aux_dir=$ac_dir
1976 ac_install_sh="$ac_aux_dir/shtool install -c"
1977 break
1978 fi
1979 done
1980 if test -z "$ac_aux_dir"; then
1981 - { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1982 -echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1983 + { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1984 +echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1985 { (exit 1); exit 1; }; }
1986 fi
1987 -ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1988 -ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1989 -ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1990 +
1991 +# These three variables are undocumented and unsupported,
1992 +# and are intended to be withdrawn in a future Autoconf release.
1993 +# They can cause serious problems if a builder's source tree is in a directory
1994 +# whose full name contains unusual characters.
1995 +ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1996 +ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1997 +ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1998 +
1999
2000 # Make sure we can run config.sub.
2001 -$ac_config_sub sun4 >/dev/null 2>&1 ||
2002 - { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
2003 -echo "$as_me: error: cannot run $ac_config_sub" >&2;}
2004 +$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2005 + { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2006 +echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2007 { (exit 1); exit 1; }; }
2008
2009 -echo "$as_me:$LINENO: checking build system type" >&5
2010 -echo $ECHO_N "checking build system type... $ECHO_C" >&6
2011 +{ echo "$as_me:$LINENO: checking build system type" >&5
2012 +echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2013 if test "${ac_cv_build+set}" = set; then
2014 echo $ECHO_N "(cached) $ECHO_C" >&6
2015 else
2016 - ac_cv_build_alias=$build_alias
2017 -test -z "$ac_cv_build_alias" &&
2018 - ac_cv_build_alias=`$ac_config_guess`
2019 -test -z "$ac_cv_build_alias" &&
2020 + ac_build_alias=$build_alias
2021 +test "x$ac_build_alias" = x &&
2022 + ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2023 +test "x$ac_build_alias" = x &&
2024 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2025 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2026 { (exit 1); exit 1; }; }
2027 -ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
2028 - { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
2029 -echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
2030 +ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2031 + { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2032 +echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2033 { (exit 1); exit 1; }; }
2034
2035 fi
2036 -echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2037 -echo "${ECHO_T}$ac_cv_build" >&6
2038 +{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2039 +echo "${ECHO_T}$ac_cv_build" >&6; }
2040 +case $ac_cv_build in
2041 +*-*-*) ;;
2042 +*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2043 +echo "$as_me: error: invalid value of canonical build" >&2;}
2044 + { (exit 1); exit 1; }; };;
2045 +esac
2046 build=$ac_cv_build
2047 -build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2048 -build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2049 -build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2050 +ac_save_IFS=$IFS; IFS='-'
2051 +set x $ac_cv_build
2052 +shift
2053 +build_cpu=$1
2054 +build_vendor=$2
2055 +shift; shift
2056 +# Remember, the first character of IFS is used to create $*,
2057 +# except with old shells:
2058 +build_os=$*
2059 +IFS=$ac_save_IFS
2060 +case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2061
2062
2063 -echo "$as_me:$LINENO: checking host system type" >&5
2064 -echo $ECHO_N "checking host system type... $ECHO_C" >&6
2065 +{ echo "$as_me:$LINENO: checking host system type" >&5
2066 +echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2067 if test "${ac_cv_host+set}" = set; then
2068 echo $ECHO_N "(cached) $ECHO_C" >&6
2069 else
2070 - ac_cv_host_alias=$host_alias
2071 -test -z "$ac_cv_host_alias" &&
2072 - ac_cv_host_alias=$ac_cv_build_alias
2073 -ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
2074 - { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
2075 -echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
2076 + if test "x$host_alias" = x; then
2077 + ac_cv_host=$ac_cv_build
2078 +else
2079 + ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2080 + { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2081 +echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2082 { (exit 1); exit 1; }; }
2083 +fi
2084
2085 fi
2086 -echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2087 -echo "${ECHO_T}$ac_cv_host" >&6
2088 +{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2089 +echo "${ECHO_T}$ac_cv_host" >&6; }
2090 +case $ac_cv_host in
2091 +*-*-*) ;;
2092 +*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2093 +echo "$as_me: error: invalid value of canonical host" >&2;}
2094 + { (exit 1); exit 1; }; };;
2095 +esac
2096 host=$ac_cv_host
2097 -host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2098 -host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2099 -host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2100 +ac_save_IFS=$IFS; IFS='-'
2101 +set x $ac_cv_host
2102 +shift
2103 +host_cpu=$1
2104 +host_vendor=$2
2105 +shift; shift
2106 +# Remember, the first character of IFS is used to create $*,
2107 +# except with old shells:
2108 +host_os=$*
2109 +IFS=$ac_save_IFS
2110 +case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2111
2112
2113 -echo "$as_me:$LINENO: checking target system type" >&5
2114 -echo $ECHO_N "checking target system type... $ECHO_C" >&6
2115 +{ echo "$as_me:$LINENO: checking target system type" >&5
2116 +echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2117 if test "${ac_cv_target+set}" = set; then
2118 echo $ECHO_N "(cached) $ECHO_C" >&6
2119 else
2120 - ac_cv_target_alias=$target_alias
2121 -test "x$ac_cv_target_alias" = "x" &&
2122 - ac_cv_target_alias=$ac_cv_host_alias
2123 -ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
2124 - { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
2125 -echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
2126 + if test "x$target_alias" = x; then
2127 + ac_cv_target=$ac_cv_host
2128 +else
2129 + ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2130 + { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2131 +echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2132 { (exit 1); exit 1; }; }
2133 +fi
2134
2135 fi
2136 -echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2137 -echo "${ECHO_T}$ac_cv_target" >&6
2138 +{ echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2139 +echo "${ECHO_T}$ac_cv_target" >&6; }
2140 +case $ac_cv_target in
2141 +*-*-*) ;;
2142 +*) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2143 +echo "$as_me: error: invalid value of canonical target" >&2;}
2144 + { (exit 1); exit 1; }; };;
2145 +esac
2146 target=$ac_cv_target
2147 -target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2148 -target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2149 -target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2150 +ac_save_IFS=$IFS; IFS='-'
2151 +set x $ac_cv_target
2152 +shift
2153 +target_cpu=$1
2154 +target_vendor=$2
2155 +shift; shift
2156 +# Remember, the first character of IFS is used to create $*,
2157 +# except with old shells:
2158 +target_os=$*
2159 +IFS=$ac_save_IFS
2160 +case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2161
2162
2163 # The aliases save the names the user supplied, while $host etc.
2164 @@ -1439,8 +1974,8 @@
2165 if test -n "$ac_tool_prefix"; then
2166 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2167 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2168 -echo "$as_me:$LINENO: checking for $ac_word" >&5
2169 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2170 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2171 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2172 if test "${ac_cv_prog_CC+set}" = set; then
2173 echo $ECHO_N "(cached) $ECHO_C" >&6
2174 else
2175 @@ -1453,32 +1988,34 @@
2176 IFS=$as_save_IFS
2177 test -z "$as_dir" && as_dir=.
2178 for ac_exec_ext in '' $ac_executable_extensions; do
2179 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2180 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2181 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2182 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2183 break 2
2184 fi
2185 done
2186 done
2187 +IFS=$as_save_IFS
2188
2189 fi
2190 fi
2191 CC=$ac_cv_prog_CC
2192 if test -n "$CC"; then
2193 - echo "$as_me:$LINENO: result: $CC" >&5
2194 -echo "${ECHO_T}$CC" >&6
2195 + { echo "$as_me:$LINENO: result: $CC" >&5
2196 +echo "${ECHO_T}$CC" >&6; }
2197 else
2198 - echo "$as_me:$LINENO: result: no" >&5
2199 -echo "${ECHO_T}no" >&6
2200 + { echo "$as_me:$LINENO: result: no" >&5
2201 +echo "${ECHO_T}no" >&6; }
2202 fi
2203
2204 +
2205 fi
2206 if test -z "$ac_cv_prog_CC"; then
2207 ac_ct_CC=$CC
2208 # Extract the first word of "gcc", so it can be a program name with args.
2209 set dummy gcc; ac_word=$2
2210 -echo "$as_me:$LINENO: checking for $ac_word" >&5
2211 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2212 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2213 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2214 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2215 echo $ECHO_N "(cached) $ECHO_C" >&6
2216 else
2217 @@ -1491,36 +2028,51 @@
2218 IFS=$as_save_IFS
2219 test -z "$as_dir" && as_dir=.
2220 for ac_exec_ext in '' $ac_executable_extensions; do
2221 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2222 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2223 ac_cv_prog_ac_ct_CC="gcc"
2224 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2225 break 2
2226 fi
2227 done
2228 done
2229 +IFS=$as_save_IFS
2230
2231 fi
2232 fi
2233 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2234 if test -n "$ac_ct_CC"; then
2235 - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2236 -echo "${ECHO_T}$ac_ct_CC" >&6
2237 + { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2238 +echo "${ECHO_T}$ac_ct_CC" >&6; }
2239 else
2240 - echo "$as_me:$LINENO: result: no" >&5
2241 -echo "${ECHO_T}no" >&6
2242 + { echo "$as_me:$LINENO: result: no" >&5
2243 +echo "${ECHO_T}no" >&6; }
2244 fi
2245
2246 - CC=$ac_ct_CC
2247 + if test "x$ac_ct_CC" = x; then
2248 + CC=""
2249 + else
2250 + case $cross_compiling:$ac_tool_warned in
2251 +yes:)
2252 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2253 +whose name does not start with the host triplet. If you think this
2254 +configuration is useful to you, please write to autoconf@gnu.org." >&5
2255 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2256 +whose name does not start with the host triplet. If you think this
2257 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2258 +ac_tool_warned=yes ;;
2259 +esac
2260 + CC=$ac_ct_CC
2261 + fi
2262 else
2263 CC="$ac_cv_prog_CC"
2264 fi
2265
2266 if test -z "$CC"; then
2267 - if test -n "$ac_tool_prefix"; then
2268 - # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2269 + if test -n "$ac_tool_prefix"; then
2270 + # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2271 set dummy ${ac_tool_prefix}cc; ac_word=$2
2272 -echo "$as_me:$LINENO: checking for $ac_word" >&5
2273 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2274 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2275 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2276 if test "${ac_cv_prog_CC+set}" = set; then
2277 echo $ECHO_N "(cached) $ECHO_C" >&6
2278 else
2279 @@ -1533,74 +2085,34 @@
2280 IFS=$as_save_IFS
2281 test -z "$as_dir" && as_dir=.
2282 for ac_exec_ext in '' $ac_executable_extensions; do
2283 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2284 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2285 ac_cv_prog_CC="${ac_tool_prefix}cc"
2286 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2287 break 2
2288 fi
2289 done
2290 done
2291 +IFS=$as_save_IFS
2292
2293 fi
2294 fi
2295 CC=$ac_cv_prog_CC
2296 if test -n "$CC"; then
2297 - echo "$as_me:$LINENO: result: $CC" >&5
2298 -echo "${ECHO_T}$CC" >&6
2299 -else
2300 - echo "$as_me:$LINENO: result: no" >&5
2301 -echo "${ECHO_T}no" >&6
2302 -fi
2303 -
2304 -fi
2305 -if test -z "$ac_cv_prog_CC"; then
2306 - ac_ct_CC=$CC
2307 - # Extract the first word of "cc", so it can be a program name with args.
2308 -set dummy cc; ac_word=$2
2309 -echo "$as_me:$LINENO: checking for $ac_word" >&5
2310 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2311 -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2312 - echo $ECHO_N "(cached) $ECHO_C" >&6
2313 -else
2314 - if test -n "$ac_ct_CC"; then
2315 - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2316 -else
2317 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2318 -for as_dir in $PATH
2319 -do
2320 - IFS=$as_save_IFS
2321 - test -z "$as_dir" && as_dir=.
2322 - for ac_exec_ext in '' $ac_executable_extensions; do
2323 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2324 - ac_cv_prog_ac_ct_CC="cc"
2325 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2326 - break 2
2327 - fi
2328 -done
2329 -done
2330 -
2331 -fi
2332 -fi
2333 -ac_ct_CC=$ac_cv_prog_ac_ct_CC
2334 -if test -n "$ac_ct_CC"; then
2335 - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2336 -echo "${ECHO_T}$ac_ct_CC" >&6
2337 + { echo "$as_me:$LINENO: result: $CC" >&5
2338 +echo "${ECHO_T}$CC" >&6; }
2339 else
2340 - echo "$as_me:$LINENO: result: no" >&5
2341 -echo "${ECHO_T}no" >&6
2342 + { echo "$as_me:$LINENO: result: no" >&5
2343 +echo "${ECHO_T}no" >&6; }
2344 fi
2345
2346 - CC=$ac_ct_CC
2347 -else
2348 - CC="$ac_cv_prog_CC"
2349 -fi
2350
2351 + fi
2352 fi
2353 if test -z "$CC"; then
2354 # Extract the first word of "cc", so it can be a program name with args.
2355 set dummy cc; ac_word=$2
2356 -echo "$as_me:$LINENO: checking for $ac_word" >&5
2357 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2358 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2359 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2360 if test "${ac_cv_prog_CC+set}" = set; then
2361 echo $ECHO_N "(cached) $ECHO_C" >&6
2362 else
2363 @@ -1614,7 +2126,7 @@
2364 IFS=$as_save_IFS
2365 test -z "$as_dir" && as_dir=.
2366 for ac_exec_ext in '' $ac_executable_extensions; do
2367 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2368 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2369 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2370 ac_prog_rejected=yes
2371 continue
2372 @@ -1625,6 +2137,7 @@
2373 fi
2374 done
2375 done
2376 +IFS=$as_save_IFS
2377
2378 if test $ac_prog_rejected = yes; then
2379 # We found a bogon in the path, so make sure we never use it.
2380 @@ -1642,22 +2155,23 @@
2381 fi
2382 CC=$ac_cv_prog_CC
2383 if test -n "$CC"; then
2384 - echo "$as_me:$LINENO: result: $CC" >&5
2385 -echo "${ECHO_T}$CC" >&6
2386 + { echo "$as_me:$LINENO: result: $CC" >&5
2387 +echo "${ECHO_T}$CC" >&6; }
2388 else
2389 - echo "$as_me:$LINENO: result: no" >&5
2390 -echo "${ECHO_T}no" >&6
2391 + { echo "$as_me:$LINENO: result: no" >&5
2392 +echo "${ECHO_T}no" >&6; }
2393 fi
2394
2395 +
2396 fi
2397 if test -z "$CC"; then
2398 if test -n "$ac_tool_prefix"; then
2399 - for ac_prog in cl
2400 + for ac_prog in cl.exe
2401 do
2402 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2403 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2404 -echo "$as_me:$LINENO: checking for $ac_word" >&5
2405 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2406 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2407 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2408 if test "${ac_cv_prog_CC+set}" = set; then
2409 echo $ECHO_N "(cached) $ECHO_C" >&6
2410 else
2411 @@ -1670,36 +2184,38 @@
2412 IFS=$as_save_IFS
2413 test -z "$as_dir" && as_dir=.
2414 for ac_exec_ext in '' $ac_executable_extensions; do
2415 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2416 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2417 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2418 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2419 break 2
2420 fi
2421 done
2422 done
2423 +IFS=$as_save_IFS
2424
2425 fi
2426 fi
2427 CC=$ac_cv_prog_CC
2428 if test -n "$CC"; then
2429 - echo "$as_me:$LINENO: result: $CC" >&5
2430 -echo "${ECHO_T}$CC" >&6
2431 + { echo "$as_me:$LINENO: result: $CC" >&5
2432 +echo "${ECHO_T}$CC" >&6; }
2433 else
2434 - echo "$as_me:$LINENO: result: no" >&5
2435 -echo "${ECHO_T}no" >&6
2436 + { echo "$as_me:$LINENO: result: no" >&5
2437 +echo "${ECHO_T}no" >&6; }
2438 fi
2439
2440 +
2441 test -n "$CC" && break
2442 done
2443 fi
2444 if test -z "$CC"; then
2445 ac_ct_CC=$CC
2446 - for ac_prog in cl
2447 + for ac_prog in cl.exe
2448 do
2449 # Extract the first word of "$ac_prog", so it can be a program name with args.
2450 set dummy $ac_prog; ac_word=$2
2451 -echo "$as_me:$LINENO: checking for $ac_word" >&5
2452 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2453 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2454 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2455 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2456 echo $ECHO_N "(cached) $ECHO_C" >&6
2457 else
2458 @@ -1712,29 +2228,45 @@
2459 IFS=$as_save_IFS
2460 test -z "$as_dir" && as_dir=.
2461 for ac_exec_ext in '' $ac_executable_extensions; do
2462 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2463 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2464 ac_cv_prog_ac_ct_CC="$ac_prog"
2465 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2466 break 2
2467 fi
2468 done
2469 done
2470 +IFS=$as_save_IFS
2471
2472 fi
2473 fi
2474 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2475 if test -n "$ac_ct_CC"; then
2476 - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2477 -echo "${ECHO_T}$ac_ct_CC" >&6
2478 + { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2479 +echo "${ECHO_T}$ac_ct_CC" >&6; }
2480 else
2481 - echo "$as_me:$LINENO: result: no" >&5
2482 -echo "${ECHO_T}no" >&6
2483 + { echo "$as_me:$LINENO: result: no" >&5
2484 +echo "${ECHO_T}no" >&6; }
2485 fi
2486
2487 +
2488 test -n "$ac_ct_CC" && break
2489 done
2490
2491 - CC=$ac_ct_CC
2492 + if test "x$ac_ct_CC" = x; then
2493 + CC=""
2494 + else
2495 + case $cross_compiling:$ac_tool_warned in
2496 +yes:)
2497 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2498 +whose name does not start with the host triplet. If you think this
2499 +configuration is useful to you, please write to autoconf@gnu.org." >&5
2500 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2501 +whose name does not start with the host triplet. If you think this
2502 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2503 +ac_tool_warned=yes ;;
2504 +esac
2505 + CC=$ac_ct_CC
2506 + fi
2507 fi
2508
2509 fi
2510 @@ -1747,21 +2279,35 @@
2511 { (exit 1); exit 1; }; }
2512
2513 # Provide some information about the compiler.
2514 -echo "$as_me:$LINENO:" \
2515 - "checking for C compiler version" >&5
2516 +echo "$as_me:$LINENO: checking for C compiler version" >&5
2517 ac_compiler=`set X $ac_compile; echo $2`
2518 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2519 - (eval $ac_compiler --version </dev/null >&5) 2>&5
2520 +{ (ac_try="$ac_compiler --version >&5"
2521 +case "(($ac_try" in
2522 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2523 + *) ac_try_echo=$ac_try;;
2524 +esac
2525 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2526 + (eval "$ac_compiler --version >&5") 2>&5
2527 ac_status=$?
2528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2529 (exit $ac_status); }
2530 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2531 - (eval $ac_compiler -v </dev/null >&5) 2>&5
2532 +{ (ac_try="$ac_compiler -v >&5"
2533 +case "(($ac_try" in
2534 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2535 + *) ac_try_echo=$ac_try;;
2536 +esac
2537 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2538 + (eval "$ac_compiler -v >&5") 2>&5
2539 ac_status=$?
2540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2541 (exit $ac_status); }
2542 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2543 - (eval $ac_compiler -V </dev/null >&5) 2>&5
2544 +{ (ac_try="$ac_compiler -V >&5"
2545 +case "(($ac_try" in
2546 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2547 + *) ac_try_echo=$ac_try;;
2548 +esac
2549 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2550 + (eval "$ac_compiler -V >&5") 2>&5
2551 ac_status=$?
2552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2553 (exit $ac_status); }
2554 @@ -1786,47 +2332,77 @@
2555 # Try to create an executable without -o first, disregard a.out.
2556 # It will help us diagnose broken compilers, and finding out an intuition
2557 # of exeext.
2558 -echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2559 -echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2560 +{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2561 +echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2562 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2563 -if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2564 - (eval $ac_link_default) 2>&5
2565 +#
2566 +# List of possible output files, starting from the most likely.
2567 +# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2568 +# only as a last resort. b.out is created by i960 compilers.
2569 +ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2570 +#
2571 +# The IRIX 6 linker writes into existing files which may not be
2572 +# executable, retaining their permissions. Remove them first so a
2573 +# subsequent execution test works.
2574 +ac_rmfiles=
2575 +for ac_file in $ac_files
2576 +do
2577 + case $ac_file in
2578 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2579 + * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2580 + esac
2581 +done
2582 +rm -f $ac_rmfiles
2583 +
2584 +if { (ac_try="$ac_link_default"
2585 +case "(($ac_try" in
2586 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2587 + *) ac_try_echo=$ac_try;;
2588 +esac
2589 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2590 + (eval "$ac_link_default") 2>&5
2591 ac_status=$?
2592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2593 (exit $ac_status); }; then
2594 - # Find the output, starting from the most likely. This scheme is
2595 -# not robust to junk in `.', hence go to wildcards (a.*) only as a last
2596 -# resort.
2597 -
2598 -# Be careful to initialize this variable, since it used to be cached.
2599 -# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2600 -ac_cv_exeext=
2601 -# b.out is created by i960 compilers.
2602 -for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2603 + # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2604 +# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2605 +# in a Makefile. We should not override ac_cv_exeext if it was cached,
2606 +# so that the user can short-circuit this test for compilers unknown to
2607 +# Autoconf.
2608 +for ac_file in $ac_files ''
2609 do
2610 test -f "$ac_file" || continue
2611 case $ac_file in
2612 - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2613 - ;;
2614 - conftest.$ac_ext )
2615 - # This is the source file.
2616 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2617 ;;
2618 [ab].out )
2619 # We found the default executable, but exeext='' is most
2620 # certainly right.
2621 break;;
2622 *.* )
2623 - ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2624 - # FIXME: I believe we export ac_cv_exeext for Libtool,
2625 - # but it would be cool to find out if it's true. Does anybody
2626 - # maintain Libtool? --akim.
2627 - export ac_cv_exeext
2628 + if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2629 + then :; else
2630 + ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2631 + fi
2632 + # We set ac_cv_exeext here because the later test for it is not
2633 + # safe: cross compilers may not add the suffix if given an `-o'
2634 + # argument, so we may need to know it at that point already.
2635 + # Even if this section looks crufty: it has the advantage of
2636 + # actually working.
2637 break;;
2638 * )
2639 break;;
2640 esac
2641 done
2642 +test "$ac_cv_exeext" = no && ac_cv_exeext=
2643 +
2644 else
2645 + ac_file=''
2646 +fi
2647 +
2648 +{ echo "$as_me:$LINENO: result: $ac_file" >&5
2649 +echo "${ECHO_T}$ac_file" >&6; }
2650 +if test -z "$ac_file"; then
2651 echo "$as_me: failed program was:" >&5
2652 sed 's/^/| /' conftest.$ac_ext >&5
2653
2654 @@ -1838,19 +2414,21 @@
2655 fi
2656
2657 ac_exeext=$ac_cv_exeext
2658 -echo "$as_me:$LINENO: result: $ac_file" >&5
2659 -echo "${ECHO_T}$ac_file" >&6
2660
2661 -# Check the compiler produces executables we can run. If not, either
2662 +# Check that the compiler produces executables we can run. If not, either
2663 # the compiler is broken, or we cross compile.
2664 -echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2665 -echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2666 +{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2667 +echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2668 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2669 # If not cross compiling, check that we can run a simple program.
2670 if test "$cross_compiling" != yes; then
2671 if { ac_try='./$ac_file'
2672 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2673 - (eval $ac_try) 2>&5
2674 + { (case "(($ac_try" in
2675 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2676 + *) ac_try_echo=$ac_try;;
2677 +esac
2678 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2679 + (eval "$ac_try") 2>&5
2680 ac_status=$?
2681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2682 (exit $ac_status); }; }; then
2683 @@ -1869,22 +2447,27 @@
2684 fi
2685 fi
2686 fi
2687 -echo "$as_me:$LINENO: result: yes" >&5
2688 -echo "${ECHO_T}yes" >&6
2689 +{ echo "$as_me:$LINENO: result: yes" >&5
2690 +echo "${ECHO_T}yes" >&6; }
2691
2692 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2693 ac_clean_files=$ac_clean_files_save
2694 -# Check the compiler produces executables we can run. If not, either
2695 +# Check that the compiler produces executables we can run. If not, either
2696 # the compiler is broken, or we cross compile.
2697 -echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2698 -echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2699 -echo "$as_me:$LINENO: result: $cross_compiling" >&5
2700 -echo "${ECHO_T}$cross_compiling" >&6
2701 -
2702 -echo "$as_me:$LINENO: checking for suffix of executables" >&5
2703 -echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2704 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2705 - (eval $ac_link) 2>&5
2706 +{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2707 +echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2708 +{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
2709 +echo "${ECHO_T}$cross_compiling" >&6; }
2710 +
2711 +{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
2712 +echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2713 +if { (ac_try="$ac_link"
2714 +case "(($ac_try" in
2715 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2716 + *) ac_try_echo=$ac_try;;
2717 +esac
2718 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2719 + (eval "$ac_link") 2>&5
2720 ac_status=$?
2721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2722 (exit $ac_status); }; then
2723 @@ -1895,9 +2478,8 @@
2724 for ac_file in conftest.exe conftest conftest.*; do
2725 test -f "$ac_file" || continue
2726 case $ac_file in
2727 - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2728 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2729 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2730 - export ac_cv_exeext
2731 break;;
2732 * ) break;;
2733 esac
2734 @@ -1911,14 +2493,14 @@
2735 fi
2736
2737 rm -f conftest$ac_cv_exeext
2738 -echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2739 -echo "${ECHO_T}$ac_cv_exeext" >&6
2740 +{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2741 +echo "${ECHO_T}$ac_cv_exeext" >&6; }
2742
2743 rm -f conftest.$ac_ext
2744 EXEEXT=$ac_cv_exeext
2745 ac_exeext=$EXEEXT
2746 -echo "$as_me:$LINENO: checking for suffix of object files" >&5
2747 -echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2748 +{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
2749 +echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2750 if test "${ac_cv_objext+set}" = set; then
2751 echo $ECHO_N "(cached) $ECHO_C" >&6
2752 else
2753 @@ -1938,14 +2520,20 @@
2754 }
2755 _ACEOF
2756 rm -f conftest.o conftest.obj
2757 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2758 - (eval $ac_compile) 2>&5
2759 +if { (ac_try="$ac_compile"
2760 +case "(($ac_try" in
2761 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2762 + *) ac_try_echo=$ac_try;;
2763 +esac
2764 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2765 + (eval "$ac_compile") 2>&5
2766 ac_status=$?
2767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2768 (exit $ac_status); }; then
2769 - for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2770 + for ac_file in conftest.o conftest.obj conftest.*; do
2771 + test -f "$ac_file" || continue;
2772 case $ac_file in
2773 - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2774 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2775 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2776 break;;
2777 esac
2778 @@ -1963,12 +2551,12 @@
2779
2780 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2781 fi
2782 -echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2783 -echo "${ECHO_T}$ac_cv_objext" >&6
2784 +{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2785 +echo "${ECHO_T}$ac_cv_objext" >&6; }
2786 OBJEXT=$ac_cv_objext
2787 ac_objext=$OBJEXT
2788 -echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2789 -echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2790 +{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2791 +echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2792 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2793 echo $ECHO_N "(cached) $ECHO_C" >&6
2794 else
2795 @@ -1991,50 +2579,49 @@
2796 }
2797 _ACEOF
2798 rm -f conftest.$ac_objext
2799 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2800 - (eval $ac_compile) 2>conftest.er1
2801 +if { (ac_try="$ac_compile"
2802 +case "(($ac_try" in
2803 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2804 + *) ac_try_echo=$ac_try;;
2805 +esac
2806 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2807 + (eval "$ac_compile") 2>conftest.er1
2808 ac_status=$?
2809 grep -v '^ *+' conftest.er1 >conftest.err
2810 rm -f conftest.er1
2811 cat conftest.err >&5
2812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2813 - (exit $ac_status); } &&
2814 - { ac_try='test -z "$ac_c_werror_flag"
2815 - || test ! -s conftest.err'
2816 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2817 - (eval $ac_try) 2>&5
2818 - ac_status=$?
2819 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
2820 - (exit $ac_status); }; } &&
2821 - { ac_try='test -s conftest.$ac_objext'
2822 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2823 - (eval $ac_try) 2>&5
2824 - ac_status=$?
2825 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
2826 - (exit $ac_status); }; }; then
2827 + (exit $ac_status); } && {
2828 + test -z "$ac_c_werror_flag" ||
2829 + test ! -s conftest.err
2830 + } && test -s conftest.$ac_objext; then
2831 ac_compiler_gnu=yes
2832 else
2833 echo "$as_me: failed program was:" >&5
2834 sed 's/^/| /' conftest.$ac_ext >&5
2835
2836 -ac_compiler_gnu=no
2837 + ac_compiler_gnu=no
2838 fi
2839 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2840 +
2841 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2842 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2843
2844 fi
2845 -echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2846 -echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2847 +{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2848 +echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2849 GCC=`test $ac_compiler_gnu = yes && echo yes`
2850 ac_test_CFLAGS=${CFLAGS+set}
2851 ac_save_CFLAGS=$CFLAGS
2852 -CFLAGS="-g"
2853 -echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2854 -echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2855 +{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2856 +echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2857 if test "${ac_cv_prog_cc_g+set}" = set; then
2858 echo $ECHO_N "(cached) $ECHO_C" >&6
2859 else
2860 - cat >conftest.$ac_ext <<_ACEOF
2861 + ac_save_c_werror_flag=$ac_c_werror_flag
2862 + ac_c_werror_flag=yes
2863 + ac_cv_prog_cc_g=no
2864 + CFLAGS="-g"
2865 + cat >conftest.$ac_ext <<_ACEOF
2866 /* confdefs.h. */
2867 _ACEOF
2868 cat confdefs.h >>conftest.$ac_ext
2869 @@ -2050,38 +2637,118 @@
2870 }
2871 _ACEOF
2872 rm -f conftest.$ac_objext
2873 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2874 - (eval $ac_compile) 2>conftest.er1
2875 +if { (ac_try="$ac_compile"
2876 +case "(($ac_try" in
2877 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2878 + *) ac_try_echo=$ac_try;;
2879 +esac
2880 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2881 + (eval "$ac_compile") 2>conftest.er1
2882 ac_status=$?
2883 grep -v '^ *+' conftest.er1 >conftest.err
2884 rm -f conftest.er1
2885 cat conftest.err >&5
2886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2887 - (exit $ac_status); } &&
2888 - { ac_try='test -z "$ac_c_werror_flag"
2889 - || test ! -s conftest.err'
2890 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2891 - (eval $ac_try) 2>&5
2892 + (exit $ac_status); } && {
2893 + test -z "$ac_c_werror_flag" ||
2894 + test ! -s conftest.err
2895 + } && test -s conftest.$ac_objext; then
2896 + ac_cv_prog_cc_g=yes
2897 +else
2898 + echo "$as_me: failed program was:" >&5
2899 +sed 's/^/| /' conftest.$ac_ext >&5
2900 +
2901 + CFLAGS=""
2902 + cat >conftest.$ac_ext <<_ACEOF
2903 +/* confdefs.h. */
2904 +_ACEOF
2905 +cat confdefs.h >>conftest.$ac_ext
2906 +cat >>conftest.$ac_ext <<_ACEOF
2907 +/* end confdefs.h. */
2908 +
2909 +int
2910 +main ()
2911 +{
2912 +
2913 + ;
2914 + return 0;
2915 +}
2916 +_ACEOF
2917 +rm -f conftest.$ac_objext
2918 +if { (ac_try="$ac_compile"
2919 +case "(($ac_try" in
2920 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2921 + *) ac_try_echo=$ac_try;;
2922 +esac
2923 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2924 + (eval "$ac_compile") 2>conftest.er1
2925 ac_status=$?
2926 + grep -v '^ *+' conftest.er1 >conftest.err
2927 + rm -f conftest.er1
2928 + cat conftest.err >&5
2929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2930 - (exit $ac_status); }; } &&
2931 - { ac_try='test -s conftest.$ac_objext'
2932 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2933 - (eval $ac_try) 2>&5
2934 + (exit $ac_status); } && {
2935 + test -z "$ac_c_werror_flag" ||
2936 + test ! -s conftest.err
2937 + } && test -s conftest.$ac_objext; then
2938 + :
2939 +else
2940 + echo "$as_me: failed program was:" >&5
2941 +sed 's/^/| /' conftest.$ac_ext >&5
2942 +
2943 + ac_c_werror_flag=$ac_save_c_werror_flag
2944 + CFLAGS="-g"
2945 + cat >conftest.$ac_ext <<_ACEOF
2946 +/* confdefs.h. */
2947 +_ACEOF
2948 +cat confdefs.h >>conftest.$ac_ext
2949 +cat >>conftest.$ac_ext <<_ACEOF
2950 +/* end confdefs.h. */
2951 +
2952 +int
2953 +main ()
2954 +{
2955 +
2956 + ;
2957 + return 0;
2958 +}
2959 +_ACEOF
2960 +rm -f conftest.$ac_objext
2961 +if { (ac_try="$ac_compile"
2962 +case "(($ac_try" in
2963 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2964 + *) ac_try_echo=$ac_try;;
2965 +esac
2966 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2967 + (eval "$ac_compile") 2>conftest.er1
2968 ac_status=$?
2969 + grep -v '^ *+' conftest.er1 >conftest.err
2970 + rm -f conftest.er1
2971 + cat conftest.err >&5
2972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2973 - (exit $ac_status); }; }; then
2974 + (exit $ac_status); } && {
2975 + test -z "$ac_c_werror_flag" ||
2976 + test ! -s conftest.err
2977 + } && test -s conftest.$ac_objext; then
2978 ac_cv_prog_cc_g=yes
2979 else
2980 echo "$as_me: failed program was:" >&5
2981 sed 's/^/| /' conftest.$ac_ext >&5
2982
2983 -ac_cv_prog_cc_g=no
2984 +
2985 fi
2986 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2987 +
2988 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2989 +fi
2990 +
2991 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2992 +fi
2993 +
2994 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2995 + ac_c_werror_flag=$ac_save_c_werror_flag
2996 fi
2997 -echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2998 -echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2999 +{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3000 +echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3001 if test "$ac_test_CFLAGS" = set; then
3002 CFLAGS=$ac_save_CFLAGS
3003 elif test $ac_cv_prog_cc_g = yes; then
3004 @@ -2097,12 +2764,12 @@
3005 CFLAGS=
3006 fi
3007 fi
3008 -echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3009 -echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3010 -if test "${ac_cv_prog_cc_stdc+set}" = set; then
3011 +{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3012 +echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3013 +if test "${ac_cv_prog_cc_c89+set}" = set; then
3014 echo $ECHO_N "(cached) $ECHO_C" >&6
3015 else
3016 - ac_cv_prog_cc_stdc=no
3017 + ac_cv_prog_cc_c89=no
3018 ac_save_CC=$CC
3019 cat >conftest.$ac_ext <<_ACEOF
3020 /* confdefs.h. */
3021 @@ -2136,12 +2803,17 @@
3022 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3023 function prototypes and stuff, but not '\xHH' hex character constants.
3024 These don't provoke an error unfortunately, instead are silently treated
3025 - as 'x'. The following induces an error, until -std1 is added to get
3026 + as 'x'. The following induces an error, until -std is added to get
3027 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3028 array size at least. It's necessary to write '\x00'==0 to get something
3029 - that's true only with -std1. */
3030 + that's true only with -std. */
3031 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3032
3033 +/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3034 + inside strings and character constants. */
3035 +#define FOO(x) 'x'
3036 +int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3037 +
3038 int test (int i, double x);
3039 struct s1 {int (*f) (int a);};
3040 struct s2 {int (*f) (double a);};
3041 @@ -2156,335 +2828,144 @@
3042 return 0;
3043 }
3044 _ACEOF
3045 -# Don't try gcc -ansi; that turns off useful extensions and
3046 -# breaks some systems' header files.
3047 -# AIX -qlanglvl=ansi
3048 -# Ultrix and OSF/1 -std1
3049 -# HP-UX 10.20 and later -Ae
3050 -# HP-UX older versions -Aa -D_HPUX_SOURCE
3051 -# SVR4 -Xc -D__EXTENSIONS__
3052 -for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3053 +for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3054 + -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3055 do
3056 CC="$ac_save_CC $ac_arg"
3057 rm -f conftest.$ac_objext
3058 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3059 - (eval $ac_compile) 2>conftest.er1
3060 +if { (ac_try="$ac_compile"
3061 +case "(($ac_try" in
3062 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3063 + *) ac_try_echo=$ac_try;;
3064 +esac
3065 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3066 + (eval "$ac_compile") 2>conftest.er1
3067 ac_status=$?
3068 grep -v '^ *+' conftest.er1 >conftest.err
3069 rm -f conftest.er1
3070 cat conftest.err >&5
3071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3072 - (exit $ac_status); } &&
3073 - { ac_try='test -z "$ac_c_werror_flag"
3074 - || test ! -s conftest.err'
3075 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3076 - (eval $ac_try) 2>&5
3077 - ac_status=$?
3078 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
3079 - (exit $ac_status); }; } &&
3080 - { ac_try='test -s conftest.$ac_objext'
3081 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3082 - (eval $ac_try) 2>&5
3083 - ac_status=$?
3084 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
3085 - (exit $ac_status); }; }; then
3086 - ac_cv_prog_cc_stdc=$ac_arg
3087 -break
3088 + (exit $ac_status); } && {
3089 + test -z "$ac_c_werror_flag" ||
3090 + test ! -s conftest.err
3091 + } && test -s conftest.$ac_objext; then
3092 + ac_cv_prog_cc_c89=$ac_arg
3093 else
3094 echo "$as_me: failed program was:" >&5
3095 sed 's/^/| /' conftest.$ac_ext >&5
3096
3097 +
3098 fi
3099 -rm -f conftest.err conftest.$ac_objext
3100 +
3101 +rm -f core conftest.err conftest.$ac_objext
3102 + test "x$ac_cv_prog_cc_c89" != "xno" && break
3103 done
3104 -rm -f conftest.$ac_ext conftest.$ac_objext
3105 +rm -f conftest.$ac_ext
3106 CC=$ac_save_CC
3107
3108 fi
3109 -
3110 -case "x$ac_cv_prog_cc_stdc" in
3111 - x|xno)
3112 - echo "$as_me:$LINENO: result: none needed" >&5
3113 -echo "${ECHO_T}none needed" >&6 ;;
3114 +# AC_CACHE_VAL
3115 +case "x$ac_cv_prog_cc_c89" in
3116 + x)
3117 + { echo "$as_me:$LINENO: result: none needed" >&5
3118 +echo "${ECHO_T}none needed" >&6; } ;;
3119 + xno)
3120 + { echo "$as_me:$LINENO: result: unsupported" >&5
3121 +echo "${ECHO_T}unsupported" >&6; } ;;
3122 *)
3123 - echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3124 -echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3125 - CC="$CC $ac_cv_prog_cc_stdc" ;;
3126 + CC="$CC $ac_cv_prog_cc_c89"
3127 + { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3128 +echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3129 esac
3130
3131 -# Some people use a C++ compiler to compile C. Since we use `exit',
3132 -# in C++ we need to declare it. In case someone uses the same compiler
3133 -# for both compiling C and C++ we need to have the C++ compiler decide
3134 -# the declaration of exit, since it's the most demanding environment.
3135 +
3136 +ac_ext=c
3137 +ac_cpp='$CPP $CPPFLAGS'
3138 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3139 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3140 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
3141 +
3142 +
3143 +{ echo "$as_me:$LINENO: checking for library containing strerror" >&5
3144 +echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6; }
3145 +if test "${ac_cv_search_strerror+set}" = set; then
3146 + echo $ECHO_N "(cached) $ECHO_C" >&6
3147 +else
3148 + ac_func_search_save_LIBS=$LIBS
3149 cat >conftest.$ac_ext <<_ACEOF
3150 -#ifndef __cplusplus
3151 - choke me
3152 -#endif
3153 -_ACEOF
3154 -rm -f conftest.$ac_objext
3155 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3156 - (eval $ac_compile) 2>conftest.er1
3157 - ac_status=$?
3158 - grep -v '^ *+' conftest.er1 >conftest.err
3159 - rm -f conftest.er1
3160 - cat conftest.err >&5
3161 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
3162 - (exit $ac_status); } &&
3163 - { ac_try='test -z "$ac_c_werror_flag"
3164 - || test ! -s conftest.err'
3165 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3166 - (eval $ac_try) 2>&5
3167 - ac_status=$?
3168 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
3169 - (exit $ac_status); }; } &&
3170 - { ac_try='test -s conftest.$ac_objext'
3171 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3172 - (eval $ac_try) 2>&5
3173 - ac_status=$?
3174 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
3175 - (exit $ac_status); }; }; then
3176 - for ac_declaration in \
3177 - '' \
3178 - 'extern "C" void std::exit (int) throw (); using std::exit;' \
3179 - 'extern "C" void std::exit (int); using std::exit;' \
3180 - 'extern "C" void exit (int) throw ();' \
3181 - 'extern "C" void exit (int);' \
3182 - 'void exit (int);'
3183 -do
3184 - cat >conftest.$ac_ext <<_ACEOF
3185 /* confdefs.h. */
3186 _ACEOF
3187 cat confdefs.h >>conftest.$ac_ext
3188 cat >>conftest.$ac_ext <<_ACEOF
3189 /* end confdefs.h. */
3190 -$ac_declaration
3191 -#include <stdlib.h>
3192 +
3193 +/* Override any GCC internal prototype to avoid an error.
3194 + Use char because int might match the return type of a GCC
3195 + builtin and then its argument prototype would still apply. */
3196 +#ifdef __cplusplus
3197 +extern "C"
3198 +#endif
3199 +char strerror ();
3200 int
3201 main ()
3202 {
3203 -exit (42);
3204 +return strerror ();
3205 ;
3206 return 0;
3207 }
3208 _ACEOF
3209 -rm -f conftest.$ac_objext
3210 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3211 - (eval $ac_compile) 2>conftest.er1
3212 +for ac_lib in '' cposix; do
3213 + if test -z "$ac_lib"; then
3214 + ac_res="none required"
3215 + else
3216 + ac_res=-l$ac_lib
3217 + LIBS="-l$ac_lib $ac_func_search_save_LIBS"
3218 + fi
3219 + rm -f conftest.$ac_objext conftest$ac_exeext
3220 +if { (ac_try="$ac_link"
3221 +case "(($ac_try" in
3222 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3223 + *) ac_try_echo=$ac_try;;
3224 +esac
3225 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3226 + (eval "$ac_link") 2>conftest.er1
3227 ac_status=$?
3228 grep -v '^ *+' conftest.er1 >conftest.err
3229 rm -f conftest.er1
3230 cat conftest.err >&5
3231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3232 - (exit $ac_status); } &&
3233 - { ac_try='test -z "$ac_c_werror_flag"
3234 - || test ! -s conftest.err'
3235 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3236 - (eval $ac_try) 2>&5
3237 - ac_status=$?
3238 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
3239 - (exit $ac_status); }; } &&
3240 - { ac_try='test -s conftest.$ac_objext'
3241 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3242 - (eval $ac_try) 2>&5
3243 - ac_status=$?
3244 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
3245 - (exit $ac_status); }; }; then
3246 - :
3247 + (exit $ac_status); } && {
3248 + test -z "$ac_c_werror_flag" ||
3249 + test ! -s conftest.err
3250 + } && test -s conftest$ac_exeext &&
3251 + $as_test_x conftest$ac_exeext; then
3252 + ac_cv_search_strerror=$ac_res
3253 else
3254 echo "$as_me: failed program was:" >&5
3255 sed 's/^/| /' conftest.$ac_ext >&5
3256
3257 -continue
3258 -fi
3259 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3260 - cat >conftest.$ac_ext <<_ACEOF
3261 -/* confdefs.h. */
3262 -_ACEOF
3263 -cat confdefs.h >>conftest.$ac_ext
3264 -cat >>conftest.$ac_ext <<_ACEOF
3265 -/* end confdefs.h. */
3266 -$ac_declaration
3267 -int
3268 -main ()
3269 -{
3270 -exit (42);
3271 - ;
3272 - return 0;
3273 -}
3274 -_ACEOF
3275 -rm -f conftest.$ac_objext
3276 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3277 - (eval $ac_compile) 2>conftest.er1
3278 - ac_status=$?
3279 - grep -v '^ *+' conftest.er1 >conftest.err
3280 - rm -f conftest.er1
3281 - cat conftest.err >&5
3282 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
3283 - (exit $ac_status); } &&
3284 - { ac_try='test -z "$ac_c_werror_flag"
3285 - || test ! -s conftest.err'
3286 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3287 - (eval $ac_try) 2>&5
3288 - ac_status=$?
3289 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
3290 - (exit $ac_status); }; } &&
3291 - { ac_try='test -s conftest.$ac_objext'
3292 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3293 - (eval $ac_try) 2>&5
3294 - ac_status=$?
3295 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
3296 - (exit $ac_status); }; }; then
3297 - break
3298 -else
3299 - echo "$as_me: failed program was:" >&5
3300 -sed 's/^/| /' conftest.$ac_ext >&5
3301
3302 fi
3303 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3304 -done
3305 -rm -f conftest*
3306 -if test -n "$ac_declaration"; then
3307 - echo '#ifdef __cplusplus' >>confdefs.h
3308 - echo $ac_declaration >>confdefs.h
3309 - echo '#endif' >>confdefs.h
3310 -fi
3311 -
3312 -else
3313 - echo "$as_me: failed program was:" >&5
3314 -sed 's/^/| /' conftest.$ac_ext >&5
3315
3316 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3317 + conftest$ac_exeext
3318 + if test "${ac_cv_search_strerror+set}" = set; then
3319 + break
3320 fi
3321 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3322 -ac_ext=c
3323 -ac_cpp='$CPP $CPPFLAGS'
3324 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3325 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3326 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
3327 -
3328 -
3329 -echo "$as_me:$LINENO: checking for library containing strerror" >&5
3330 -echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6
3331 +done
3332 if test "${ac_cv_search_strerror+set}" = set; then
3333 - echo $ECHO_N "(cached) $ECHO_C" >&6
3334 -else
3335 - ac_func_search_save_LIBS=$LIBS
3336 -ac_cv_search_strerror=no
3337 -cat >conftest.$ac_ext <<_ACEOF
3338 -/* confdefs.h. */
3339 -_ACEOF
3340 -cat confdefs.h >>conftest.$ac_ext
3341 -cat >>conftest.$ac_ext <<_ACEOF
3342 -/* end confdefs.h. */
3343 -
3344 -/* Override any gcc2 internal prototype to avoid an error. */
3345 -#ifdef __cplusplus
3346 -extern "C"
3347 -#endif
3348 -/* We use char because int might match the return type of a gcc2
3349 - builtin and then its argument prototype would still apply. */
3350 -char strerror ();
3351 -int
3352 -main ()
3353 -{
3354 -strerror ();
3355 - ;
3356 - return 0;
3357 -}
3358 -_ACEOF
3359 -rm -f conftest.$ac_objext conftest$ac_exeext
3360 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3361 - (eval $ac_link) 2>conftest.er1
3362 - ac_status=$?
3363 - grep -v '^ *+' conftest.er1 >conftest.err
3364 - rm -f conftest.er1
3365 - cat conftest.err >&5
3366 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
3367 - (exit $ac_status); } &&
3368 - { ac_try='test -z "$ac_c_werror_flag"
3369 - || test ! -s conftest.err'
3370 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3371 - (eval $ac_try) 2>&5
3372 - ac_status=$?
3373 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
3374 - (exit $ac_status); }; } &&
3375 - { ac_try='test -s conftest$ac_exeext'
3376 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3377 - (eval $ac_try) 2>&5
3378 - ac_status=$?
3379 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
3380 - (exit $ac_status); }; }; then
3381 - ac_cv_search_strerror="none required"
3382 -else
3383 - echo "$as_me: failed program was:" >&5
3384 -sed 's/^/| /' conftest.$ac_ext >&5
3385 -
3386 -fi
3387 -rm -f conftest.err conftest.$ac_objext \
3388 - conftest$ac_exeext conftest.$ac_ext
3389 -if test "$ac_cv_search_strerror" = no; then
3390 - for ac_lib in cposix; do
3391 - LIBS="-l$ac_lib $ac_func_search_save_LIBS"
3392 - cat >conftest.$ac_ext <<_ACEOF
3393 -/* confdefs.h. */
3394 -_ACEOF
3395 -cat confdefs.h >>conftest.$ac_ext
3396 -cat >>conftest.$ac_ext <<_ACEOF
3397 -/* end confdefs.h. */
3398 -
3399 -/* Override any gcc2 internal prototype to avoid an error. */
3400 -#ifdef __cplusplus
3401 -extern "C"
3402 -#endif
3403 -/* We use char because int might match the return type of a gcc2
3404 - builtin and then its argument prototype would still apply. */
3405 -char strerror ();
3406 -int
3407 -main ()
3408 -{
3409 -strerror ();
3410 - ;
3411 - return 0;
3412 -}
3413 -_ACEOF
3414 -rm -f conftest.$ac_objext conftest$ac_exeext
3415 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3416 - (eval $ac_link) 2>conftest.er1
3417 - ac_status=$?
3418 - grep -v '^ *+' conftest.er1 >conftest.err
3419 - rm -f conftest.er1
3420 - cat conftest.err >&5
3421 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
3422 - (exit $ac_status); } &&
3423 - { ac_try='test -z "$ac_c_werror_flag"
3424 - || test ! -s conftest.err'
3425 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3426 - (eval $ac_try) 2>&5
3427 - ac_status=$?
3428 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
3429 - (exit $ac_status); }; } &&
3430 - { ac_try='test -s conftest$ac_exeext'
3431 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3432 - (eval $ac_try) 2>&5
3433 - ac_status=$?
3434 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
3435 - (exit $ac_status); }; }; then
3436 - ac_cv_search_strerror="-l$ac_lib"
3437 -break
3438 + :
3439 else
3440 - echo "$as_me: failed program was:" >&5
3441 -sed 's/^/| /' conftest.$ac_ext >&5
3442 -
3443 -fi
3444 -rm -f conftest.err conftest.$ac_objext \
3445 - conftest$ac_exeext conftest.$ac_ext
3446 - done
3447 + ac_cv_search_strerror=no
3448 fi
3449 +rm conftest.$ac_ext
3450 LIBS=$ac_func_search_save_LIBS
3451 fi
3452 -echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
3453 -echo "${ECHO_T}$ac_cv_search_strerror" >&6
3454 -if test "$ac_cv_search_strerror" != no; then
3455 - test "$ac_cv_search_strerror" = "none required" || LIBS="$ac_cv_search_strerror $LIBS"
3456 +{ echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
3457 +echo "${ECHO_T}$ac_cv_search_strerror" >&6; }
3458 +ac_res=$ac_cv_search_strerror
3459 +if test "$ac_res" != no; then
3460 + test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
3461
3462 fi
3463
3464 @@ -2503,8 +2984,8 @@
3465 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3466 # OS/2's system install, which has a completely different semantic
3467 # ./install, which can be erroneously created by make from ./install.sh.
3468 -echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3469 -echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3470 +{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3471 +echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
3472 if test -z "$INSTALL"; then
3473 if test "${ac_cv_path_install+set}" = set; then
3474 echo $ECHO_N "(cached) $ECHO_C" >&6
3475 @@ -2526,7 +3007,7 @@
3476 # by default.
3477 for ac_prog in ginstall scoinst install; do
3478 for ac_exec_ext in '' $ac_executable_extensions; do
3479 - if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3480 + if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3481 if test $ac_prog = install &&
3482 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3483 # AIX install. It has an incompatible calling convention.
3484 @@ -2545,21 +3026,22 @@
3485 ;;
3486 esac
3487 done
3488 +IFS=$as_save_IFS
3489
3490
3491 fi
3492 if test "${ac_cv_path_install+set}" = set; then
3493 INSTALL=$ac_cv_path_install
3494 else
3495 - # As a last resort, use the slow shell script. We don't cache a
3496 - # path for INSTALL within a source directory, because that will
3497 + # As a last resort, use the slow shell script. Don't cache a
3498 + # value for INSTALL within a source directory, because that will
3499 # break other packages using the cache if that directory is
3500 - # removed, or if the path is relative.
3501 + # removed, or if the value is a relative name.
3502 INSTALL=$ac_install_sh
3503 fi
3504 fi
3505 -echo "$as_me:$LINENO: result: $INSTALL" >&5
3506 -echo "${ECHO_T}$INSTALL" >&6
3507 +{ echo "$as_me:$LINENO: result: $INSTALL" >&5
3508 +echo "${ECHO_T}$INSTALL" >&6; }
3509
3510 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3511 # It thinks the first close brace ends the variable substitution.
3512 @@ -2569,8 +3051,8 @@
3513
3514 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3515
3516 -echo "$as_me:$LINENO: checking whether build environment is sane" >&5
3517 -echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
3518 +{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
3519 +echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
3520 # Just in case
3521 sleep 1
3522 echo timestamp > conftest.file
3523 @@ -2612,20 +3094,20 @@
3524 Check your system clock" >&2;}
3525 { (exit 1); exit 1; }; }
3526 fi
3527 -echo "$as_me:$LINENO: result: yes" >&5
3528 -echo "${ECHO_T}yes" >&6
3529 +{ echo "$as_me:$LINENO: result: yes" >&5
3530 +echo "${ECHO_T}yes" >&6; }
3531 test "$program_prefix" != NONE &&
3532 - program_transform_name="s,^,$program_prefix,;$program_transform_name"
3533 + program_transform_name="s&^&$program_prefix&;$program_transform_name"
3534 # Use a double $ so make ignores it.
3535 test "$program_suffix" != NONE &&
3536 - program_transform_name="s,\$,$program_suffix,;$program_transform_name"
3537 + program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3538 # Double any \ or $. echo might interpret backslashes.
3539 # By default was `s,x,x', remove it if useless.
3540 cat <<\_ACEOF >conftest.sed
3541 s/[\\$]/&&/g;s/;s,x,x,$//
3542 _ACEOF
3543 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
3544 -rm conftest.sed
3545 +rm -f conftest.sed
3546
3547 # expand $ac_aux_dir to an absolute path
3548 am_aux_dir=`cd $ac_aux_dir && pwd`
3549 @@ -2677,8 +3159,8 @@
3550 do
3551 # Extract the first word of "$ac_prog", so it can be a program name with args.
3552 set dummy $ac_prog; ac_word=$2
3553 -echo "$as_me:$LINENO: checking for $ac_word" >&5
3554 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3555 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3556 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3557 if test "${ac_cv_prog_AWK+set}" = set; then
3558 echo $ECHO_N "(cached) $ECHO_C" >&6
3559 else
3560 @@ -2691,54 +3173,57 @@
3561 IFS=$as_save_IFS
3562 test -z "$as_dir" && as_dir=.
3563 for ac_exec_ext in '' $ac_executable_extensions; do
3564 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3565 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3566 ac_cv_prog_AWK="$ac_prog"
3567 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3568 break 2
3569 fi
3570 done
3571 done
3572 +IFS=$as_save_IFS
3573
3574 fi
3575 fi
3576 AWK=$ac_cv_prog_AWK
3577 if test -n "$AWK"; then
3578 - echo "$as_me:$LINENO: result: $AWK" >&5
3579 -echo "${ECHO_T}$AWK" >&6
3580 + { echo "$as_me:$LINENO: result: $AWK" >&5
3581 +echo "${ECHO_T}$AWK" >&6; }
3582 else
3583 - echo "$as_me:$LINENO: result: no" >&5
3584 -echo "${ECHO_T}no" >&6
3585 + { echo "$as_me:$LINENO: result: no" >&5
3586 +echo "${ECHO_T}no" >&6; }
3587 fi
3588
3589 +
3590 test -n "$AWK" && break
3591 done
3592
3593 -echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3594 -echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
3595 -set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
3596 -if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
3597 +{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3598 +echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
3599 +set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3600 +if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
3601 echo $ECHO_N "(cached) $ECHO_C" >&6
3602 else
3603 cat >conftest.make <<\_ACEOF
3604 +SHELL = /bin/sh
3605 all:
3606 - @echo 'ac_maketemp="$(MAKE)"'
3607 + @echo '@@@%%%=$(MAKE)=@@@%%%'
3608 _ACEOF
3609 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3610 -eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
3611 -if test -n "$ac_maketemp"; then
3612 - eval ac_cv_prog_make_${ac_make}_set=yes
3613 -else
3614 - eval ac_cv_prog_make_${ac_make}_set=no
3615 -fi
3616 +case `${MAKE-make} -f conftest.make 2>/dev/null` in
3617 + *@@@%%%=?*=@@@%%%*)
3618 + eval ac_cv_prog_make_${ac_make}_set=yes;;
3619 + *)
3620 + eval ac_cv_prog_make_${ac_make}_set=no;;
3621 +esac
3622 rm -f conftest.make
3623 fi
3624 -if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
3625 - echo "$as_me:$LINENO: result: yes" >&5
3626 -echo "${ECHO_T}yes" >&6
3627 +if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3628 + { echo "$as_me:$LINENO: result: yes" >&5
3629 +echo "${ECHO_T}yes" >&6; }
3630 SET_MAKE=
3631 else
3632 - echo "$as_me:$LINENO: result: no" >&5
3633 -echo "${ECHO_T}no" >&6
3634 + { echo "$as_me:$LINENO: result: no" >&5
3635 +echo "${ECHO_T}no" >&6; }
3636 SET_MAKE="MAKE=${MAKE-make}"
3637 fi
3638
3639 @@ -2753,7 +3238,7 @@
3640
3641 DEPDIR="${am__leading_dot}deps"
3642
3643 - ac_config_commands="$ac_config_commands depfiles"
3644 +ac_config_commands="$ac_config_commands depfiles"
3645
3646
3647 am_make=${MAKE-make}
3648 @@ -2763,8 +3248,8 @@
3649 .PHONY: am__doit
3650 END
3651 # If we don't find an include directive, just comment out the code.
3652 -echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3653 -echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
3654 +{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3655 +echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
3656 am__include="#"
3657 am__quote=
3658 _am_result=none
3659 @@ -2791,15 +3276,15 @@
3660 fi
3661
3662
3663 -echo "$as_me:$LINENO: result: $_am_result" >&5
3664 -echo "${ECHO_T}$_am_result" >&6
3665 +{ echo "$as_me:$LINENO: result: $_am_result" >&5
3666 +echo "${ECHO_T}$_am_result" >&6; }
3667 rm -f confinc confmf
3668
3669 -# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
3670 +# Check whether --enable-dependency-tracking was given.
3671 if test "${enable_dependency_tracking+set}" = set; then
3672 - enableval="$enable_dependency_tracking"
3673 + enableval=$enable_dependency_tracking;
3674 +fi
3675
3676 -fi;
3677 if test "x$enable_dependency_tracking" != xno; then
3678 am_depcomp="$ac_aux_dir/depcomp"
3679 AMDEPBACKSLASH='\'
3680 @@ -2836,7 +3321,7 @@
3681
3682 # Define the identity of the package.
3683 PACKAGE=bfd
3684 - VERSION=2.17
3685 + VERSION=2.17.atmel.0.0.99
3686
3687
3688 cat >>confdefs.h <<_ACEOF
3689 @@ -2874,8 +3359,8 @@
3690 if test -n "$ac_tool_prefix"; then
3691 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3692 set dummy ${ac_tool_prefix}strip; ac_word=$2
3693 -echo "$as_me:$LINENO: checking for $ac_word" >&5
3694 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3695 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3696 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3697 if test "${ac_cv_prog_STRIP+set}" = set; then
3698 echo $ECHO_N "(cached) $ECHO_C" >&6
3699 else
3700 @@ -2888,32 +3373,34 @@
3701 IFS=$as_save_IFS
3702 test -z "$as_dir" && as_dir=.
3703 for ac_exec_ext in '' $ac_executable_extensions; do
3704 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3705 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3706 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3707 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3708 break 2
3709 fi
3710 done
3711 done
3712 +IFS=$as_save_IFS
3713
3714 fi
3715 fi
3716 STRIP=$ac_cv_prog_STRIP
3717 if test -n "$STRIP"; then
3718 - echo "$as_me:$LINENO: result: $STRIP" >&5
3719 -echo "${ECHO_T}$STRIP" >&6
3720 + { echo "$as_me:$LINENO: result: $STRIP" >&5
3721 +echo "${ECHO_T}$STRIP" >&6; }
3722 else
3723 - echo "$as_me:$LINENO: result: no" >&5
3724 -echo "${ECHO_T}no" >&6
3725 + { echo "$as_me:$LINENO: result: no" >&5
3726 +echo "${ECHO_T}no" >&6; }
3727 fi
3728
3729 +
3730 fi
3731 if test -z "$ac_cv_prog_STRIP"; then
3732 ac_ct_STRIP=$STRIP
3733 # Extract the first word of "strip", so it can be a program name with args.
3734 set dummy strip; ac_word=$2
3735 -echo "$as_me:$LINENO: checking for $ac_word" >&5
3736 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3737 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3738 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3739 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
3740 echo $ECHO_N "(cached) $ECHO_C" >&6
3741 else
3742 @@ -2926,27 +3413,41 @@
3743 IFS=$as_save_IFS
3744 test -z "$as_dir" && as_dir=.
3745 for ac_exec_ext in '' $ac_executable_extensions; do
3746 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3747 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3748 ac_cv_prog_ac_ct_STRIP="strip"
3749 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3750 break 2
3751 fi
3752 done
3753 done
3754 +IFS=$as_save_IFS
3755
3756 - test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
3757 fi
3758 fi
3759 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3760 if test -n "$ac_ct_STRIP"; then
3761 - echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
3762 -echo "${ECHO_T}$ac_ct_STRIP" >&6
3763 + { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
3764 +echo "${ECHO_T}$ac_ct_STRIP" >&6; }
3765 else
3766 - echo "$as_me:$LINENO: result: no" >&5
3767 -echo "${ECHO_T}no" >&6
3768 + { echo "$as_me:$LINENO: result: no" >&5
3769 +echo "${ECHO_T}no" >&6; }
3770 fi
3771
3772 - STRIP=$ac_ct_STRIP
3773 + if test "x$ac_ct_STRIP" = x; then
3774 + STRIP=":"
3775 + else
3776 + case $cross_compiling:$ac_tool_warned in
3777 +yes:)
3778 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3779 +whose name does not start with the host triplet. If you think this
3780 +configuration is useful to you, please write to autoconf@gnu.org." >&5
3781 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3782 +whose name does not start with the host triplet. If you think this
3783 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3784 +ac_tool_warned=yes ;;
3785 +esac
3786 + STRIP=$ac_ct_STRIP
3787 + fi
3788 else
3789 STRIP="$ac_cv_prog_STRIP"
3790 fi
3791 @@ -2967,8 +3468,8 @@
3792
3793 depcc="$CC" am_compiler_list=
3794
3795 -echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3796 -echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3797 +{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3798 +echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3799 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3800 echo $ECHO_N "(cached) $ECHO_C" >&6
3801 else
3802 @@ -3057,8 +3558,8 @@
3803 fi
3804
3805 fi
3806 -echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3807 -echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3808 +{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3809 +echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3810 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3811
3812
3813 @@ -3079,8 +3580,8 @@
3814 if test -n "$ac_tool_prefix"; then
3815 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3816 set dummy ${ac_tool_prefix}ar; ac_word=$2
3817 -echo "$as_me:$LINENO: checking for $ac_word" >&5
3818 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3819 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3820 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3821 if test "${ac_cv_prog_AR+set}" = set; then
3822 echo $ECHO_N "(cached) $ECHO_C" >&6
3823 else
3824 @@ -3093,32 +3594,34 @@
3825 IFS=$as_save_IFS
3826 test -z "$as_dir" && as_dir=.
3827 for ac_exec_ext in '' $ac_executable_extensions; do
3828 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3829 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3830 ac_cv_prog_AR="${ac_tool_prefix}ar"
3831 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3832 break 2
3833 fi
3834 done
3835 done
3836 +IFS=$as_save_IFS
3837
3838 fi
3839 fi
3840 AR=$ac_cv_prog_AR
3841 if test -n "$AR"; then
3842 - echo "$as_me:$LINENO: result: $AR" >&5
3843 -echo "${ECHO_T}$AR" >&6
3844 + { echo "$as_me:$LINENO: result: $AR" >&5
3845 +echo "${ECHO_T}$AR" >&6; }
3846 else
3847 - echo "$as_me:$LINENO: result: no" >&5
3848 -echo "${ECHO_T}no" >&6
3849 + { echo "$as_me:$LINENO: result: no" >&5
3850 +echo "${ECHO_T}no" >&6; }
3851 fi
3852
3853 +
3854 fi
3855 if test -z "$ac_cv_prog_AR"; then
3856 ac_ct_AR=$AR
3857 # Extract the first word of "ar", so it can be a program name with args.
3858 set dummy ar; ac_word=$2
3859 -echo "$as_me:$LINENO: checking for $ac_word" >&5
3860 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3861 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3862 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3863 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3864 echo $ECHO_N "(cached) $ECHO_C" >&6
3865 else
3866 @@ -3131,26 +3634,41 @@
3867 IFS=$as_save_IFS
3868 test -z "$as_dir" && as_dir=.
3869 for ac_exec_ext in '' $ac_executable_extensions; do
3870 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3871 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3872 ac_cv_prog_ac_ct_AR="ar"
3873 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3874 break 2
3875 fi
3876 done
3877 done
3878 +IFS=$as_save_IFS
3879
3880 fi
3881 fi
3882 ac_ct_AR=$ac_cv_prog_ac_ct_AR
3883 if test -n "$ac_ct_AR"; then
3884 - echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3885 -echo "${ECHO_T}$ac_ct_AR" >&6
3886 + { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3887 +echo "${ECHO_T}$ac_ct_AR" >&6; }
3888 else
3889 - echo "$as_me:$LINENO: result: no" >&5
3890 -echo "${ECHO_T}no" >&6
3891 + { echo "$as_me:$LINENO: result: no" >&5
3892 +echo "${ECHO_T}no" >&6; }
3893 fi
3894
3895 - AR=$ac_ct_AR
3896 + if test "x$ac_ct_AR" = x; then
3897 + AR=""
3898 + else
3899 + case $cross_compiling:$ac_tool_warned in
3900 +yes:)
3901 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3902 +whose name does not start with the host triplet. If you think this
3903 +configuration is useful to you, please write to autoconf@gnu.org." >&5
3904 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3905 +whose name does not start with the host triplet. If you think this
3906 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3907 +ac_tool_warned=yes ;;
3908 +esac
3909 + AR=$ac_ct_AR
3910 + fi
3911 else
3912 AR="$ac_cv_prog_AR"
3913 fi
3914 @@ -3158,8 +3676,8 @@
3915 if test -n "$ac_tool_prefix"; then
3916 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3917 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3918 -echo "$as_me:$LINENO: checking for $ac_word" >&5
3919 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3920 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3921 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3922 if test "${ac_cv_prog_RANLIB+set}" = set; then
3923 echo $ECHO_N "(cached) $ECHO_C" >&6
3924 else
3925 @@ -3172,32 +3690,34 @@
3926 IFS=$as_save_IFS
3927 test -z "$as_dir" && as_dir=.
3928 for ac_exec_ext in '' $ac_executable_extensions; do
3929 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3930 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3931 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3932 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3933 break 2
3934 fi
3935 done
3936 done
3937 +IFS=$as_save_IFS
3938
3939 fi
3940 fi
3941 RANLIB=$ac_cv_prog_RANLIB
3942 if test -n "$RANLIB"; then
3943 - echo "$as_me:$LINENO: result: $RANLIB" >&5
3944 -echo "${ECHO_T}$RANLIB" >&6
3945 + { echo "$as_me:$LINENO: result: $RANLIB" >&5
3946 +echo "${ECHO_T}$RANLIB" >&6; }
3947 else
3948 - echo "$as_me:$LINENO: result: no" >&5
3949 -echo "${ECHO_T}no" >&6
3950 + { echo "$as_me:$LINENO: result: no" >&5
3951 +echo "${ECHO_T}no" >&6; }
3952 fi
3953
3954 +
3955 fi
3956 if test -z "$ac_cv_prog_RANLIB"; then
3957 ac_ct_RANLIB=$RANLIB
3958 # Extract the first word of "ranlib", so it can be a program name with args.
3959 set dummy ranlib; ac_word=$2
3960 -echo "$as_me:$LINENO: checking for $ac_word" >&5
3961 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3962 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3963 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3964 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3965 echo $ECHO_N "(cached) $ECHO_C" >&6
3966 else
3967 @@ -3210,36 +3730,49 @@
3968 IFS=$as_save_IFS
3969 test -z "$as_dir" && as_dir=.
3970 for ac_exec_ext in '' $ac_executable_extensions; do
3971 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3972 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3973 ac_cv_prog_ac_ct_RANLIB="ranlib"
3974 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3975 break 2
3976 fi
3977 done
3978 done
3979 +IFS=$as_save_IFS
3980
3981 - test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
3982 fi
3983 fi
3984 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3985 if test -n "$ac_ct_RANLIB"; then
3986 - echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3987 -echo "${ECHO_T}$ac_ct_RANLIB" >&6
3988 + { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3989 +echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
3990 else
3991 - echo "$as_me:$LINENO: result: no" >&5
3992 -echo "${ECHO_T}no" >&6
3993 + { echo "$as_me:$LINENO: result: no" >&5
3994 +echo "${ECHO_T}no" >&6; }
3995 fi
3996
3997 - RANLIB=$ac_ct_RANLIB
3998 + if test "x$ac_ct_RANLIB" = x; then
3999 + RANLIB=":"
4000 + else
4001 + case $cross_compiling:$ac_tool_warned in
4002 +yes:)
4003 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4004 +whose name does not start with the host triplet. If you think this
4005 +configuration is useful to you, please write to autoconf@gnu.org." >&5
4006 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4007 +whose name does not start with the host triplet. If you think this
4008 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4009 +ac_tool_warned=yes ;;
4010 +esac
4011 + RANLIB=$ac_ct_RANLIB
4012 + fi
4013 else
4014 RANLIB="$ac_cv_prog_RANLIB"
4015 fi
4016
4017
4018 -# Check whether --enable-shared or --disable-shared was given.
4019 +# Check whether --enable-shared was given.
4020 if test "${enable_shared+set}" = set; then
4021 - enableval="$enable_shared"
4022 - p=${PACKAGE-default}
4023 + enableval=$enable_shared; p=${PACKAGE-default}
4024 case $enableval in
4025 yes) enable_shared=yes ;;
4026 no) enable_shared=no ;;
4027 @@ -3257,12 +3790,12 @@
4028 esac
4029 else
4030 enable_shared=no
4031 -fi;
4032 +fi
4033 +
4034
4035 -# Check whether --enable-static or --disable-static was given.
4036 +# Check whether --enable-static was given.
4037 if test "${enable_static+set}" = set; then
4038 - enableval="$enable_static"
4039 - p=${PACKAGE-default}
4040 + enableval=$enable_static; p=${PACKAGE-default}
4041 case $enableval in
4042 yes) enable_static=yes ;;
4043 no) enable_static=no ;;
4044 @@ -3280,11 +3813,11 @@
4045 esac
4046 else
4047 enable_static=yes
4048 -fi;
4049 -# Check whether --enable-fast-install or --disable-fast-install was given.
4050 +fi
4051 +
4052 +# Check whether --enable-fast-install was given.
4053 if test "${enable_fast_install+set}" = set; then
4054 - enableval="$enable_fast_install"
4055 - p=${PACKAGE-default}
4056 + enableval=$enable_fast_install; p=${PACKAGE-default}
4057 case $enableval in
4058 yes) enable_fast_install=yes ;;
4059 no) enable_fast_install=no ;;
4060 @@ -3302,20 +3835,21 @@
4061 esac
4062 else
4063 enable_fast_install=yes
4064 -fi;
4065 +fi
4066 +
4067
4068 -# Check whether --with-gnu-ld or --without-gnu-ld was given.
4069 +# Check whether --with-gnu-ld was given.
4070 if test "${with_gnu_ld+set}" = set; then
4071 - withval="$with_gnu_ld"
4072 - test "$withval" = no || with_gnu_ld=yes
4073 + withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4074 else
4075 with_gnu_ld=no
4076 -fi;
4077 +fi
4078 +
4079 ac_prog=ld
4080 if test "$GCC" = yes; then
4081 # Check if gcc -print-prog-name=ld gives a path.
4082 - echo "$as_me:$LINENO: checking for ld used by GCC" >&5
4083 -echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
4084 + { echo "$as_me:$LINENO: checking for ld used by GCC" >&5
4085 +echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6; }
4086 case $host in
4087 *-*-mingw*)
4088 # gcc leaves a trailing carriage return which upsets mingw
4089 @@ -3344,11 +3878,11 @@
4090 ;;
4091 esac
4092 elif test "$with_gnu_ld" = yes; then
4093 - echo "$as_me:$LINENO: checking for GNU ld" >&5
4094 -echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
4095 + { echo "$as_me:$LINENO: checking for GNU ld" >&5
4096 +echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
4097 else
4098 - echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4099 -echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
4100 + { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4101 +echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
4102 fi
4103 if test "${lt_cv_path_LD+set}" = set; then
4104 echo $ECHO_N "(cached) $ECHO_C" >&6
4105 @@ -3377,17 +3911,17 @@
4106
4107 LD="$lt_cv_path_LD"
4108 if test -n "$LD"; then
4109 - echo "$as_me:$LINENO: result: $LD" >&5
4110 -echo "${ECHO_T}$LD" >&6
4111 + { echo "$as_me:$LINENO: result: $LD" >&5
4112 +echo "${ECHO_T}$LD" >&6; }
4113 else
4114 - echo "$as_me:$LINENO: result: no" >&5
4115 -echo "${ECHO_T}no" >&6
4116 + { echo "$as_me:$LINENO: result: no" >&5
4117 +echo "${ECHO_T}no" >&6; }
4118 fi
4119 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4120 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4121 { (exit 1); exit 1; }; }
4122 -echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4123 -echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
4124 +{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4125 +echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
4126 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4127 echo $ECHO_N "(cached) $ECHO_C" >&6
4128 else
4129 @@ -3398,25 +3932,25 @@
4130 lt_cv_prog_gnu_ld=no
4131 fi
4132 fi
4133 -echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4134 -echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
4135 +{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4136 +echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
4137 with_gnu_ld=$lt_cv_prog_gnu_ld
4138
4139
4140 -echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4141 -echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
4142 +{ echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4143 +echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
4144 if test "${lt_cv_ld_reload_flag+set}" = set; then
4145 echo $ECHO_N "(cached) $ECHO_C" >&6
4146 else
4147 lt_cv_ld_reload_flag='-r'
4148 fi
4149 -echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4150 -echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
4151 +{ echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4152 +echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
4153 reload_flag=$lt_cv_ld_reload_flag
4154 test -n "$reload_flag" && reload_flag=" $reload_flag"
4155
4156 -echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
4157 -echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
4158 +{ echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
4159 +echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
4160 if test "${lt_cv_path_NM+set}" = set; then
4161 echo $ECHO_N "(cached) $ECHO_C" >&6
4162 else
4163 @@ -3451,22 +3985,22 @@
4164 fi
4165
4166 NM="$lt_cv_path_NM"
4167 -echo "$as_me:$LINENO: result: $NM" >&5
4168 -echo "${ECHO_T}$NM" >&6
4169 +{ echo "$as_me:$LINENO: result: $NM" >&5
4170 +echo "${ECHO_T}$NM" >&6; }
4171
4172 -echo "$as_me:$LINENO: checking whether ln -s works" >&5
4173 -echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
4174 +{ echo "$as_me:$LINENO: checking whether ln -s works" >&5
4175 +echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
4176 LN_S=$as_ln_s
4177 if test "$LN_S" = "ln -s"; then
4178 - echo "$as_me:$LINENO: result: yes" >&5
4179 -echo "${ECHO_T}yes" >&6
4180 + { echo "$as_me:$LINENO: result: yes" >&5
4181 +echo "${ECHO_T}yes" >&6; }
4182 else
4183 - echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4184 -echo "${ECHO_T}no, using $LN_S" >&6
4185 + { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4186 +echo "${ECHO_T}no, using $LN_S" >&6; }
4187 fi
4188
4189 -echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
4190 -echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
4191 +{ echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
4192 +echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6; }
4193 if test "${lt_cv_deplibs_check_method+set}" = set; then
4194 echo $ECHO_N "(cached) $ECHO_C" >&6
4195 else
4196 @@ -3628,8 +4162,8 @@
4197 esac
4198
4199 fi
4200 -echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4201 -echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
4202 +{ echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4203 +echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
4204 file_magic_cmd=$lt_cv_file_magic_cmd
4205 deplibs_check_method=$lt_cv_deplibs_check_method
4206
4207 @@ -3639,8 +4173,8 @@
4208 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
4209
4210 # find the maximum length of command line arguments
4211 -echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
4212 -echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
4213 +{ echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
4214 +echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
4215 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
4216 echo $ECHO_N "(cached) $ECHO_C" >&6
4217 else
4218 @@ -3691,11 +4225,11 @@
4219 fi
4220
4221 if test -n "$lt_cv_sys_max_cmd_len" ; then
4222 - echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
4223 -echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
4224 + { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
4225 +echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
4226 else
4227 - echo "$as_me:$LINENO: result: none" >&5
4228 -echo "${ECHO_T}none" >&6
4229 + { echo "$as_me:$LINENO: result: none" >&5
4230 +echo "${ECHO_T}none" >&6; }
4231 fi
4232
4233
4234 @@ -3703,8 +4237,8 @@
4235 case $deplibs_check_method in
4236 file_magic*)
4237 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
4238 - echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
4239 -echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
4240 + { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
4241 +echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
4242 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4243 echo $ECHO_N "(cached) $ECHO_C" >&6
4244 else
4245 @@ -3758,17 +4292,17 @@
4246
4247 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4248 if test -n "$MAGIC_CMD"; then
4249 - echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4250 -echo "${ECHO_T}$MAGIC_CMD" >&6
4251 + { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4252 +echo "${ECHO_T}$MAGIC_CMD" >&6; }
4253 else
4254 - echo "$as_me:$LINENO: result: no" >&5
4255 -echo "${ECHO_T}no" >&6
4256 + { echo "$as_me:$LINENO: result: no" >&5
4257 +echo "${ECHO_T}no" >&6; }
4258 fi
4259
4260 if test -z "$lt_cv_path_MAGIC_CMD"; then
4261 if test -n "$ac_tool_prefix"; then
4262 - echo "$as_me:$LINENO: checking for file" >&5
4263 -echo $ECHO_N "checking for file... $ECHO_C" >&6
4264 + { echo "$as_me:$LINENO: checking for file" >&5
4265 +echo $ECHO_N "checking for file... $ECHO_C" >&6; }
4266 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4267 echo $ECHO_N "(cached) $ECHO_C" >&6
4268 else
4269 @@ -3822,11 +4356,11 @@
4270
4271 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4272 if test -n "$MAGIC_CMD"; then
4273 - echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4274 -echo "${ECHO_T}$MAGIC_CMD" >&6
4275 + { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4276 +echo "${ECHO_T}$MAGIC_CMD" >&6; }
4277 else
4278 - echo "$as_me:$LINENO: result: no" >&5
4279 -echo "${ECHO_T}no" >&6
4280 + { echo "$as_me:$LINENO: result: no" >&5
4281 +echo "${ECHO_T}no" >&6; }
4282 fi
4283
4284 else
4285 @@ -3841,8 +4375,8 @@
4286 if test -n "$ac_tool_prefix"; then
4287 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4288 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4289 -echo "$as_me:$LINENO: checking for $ac_word" >&5
4290 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4291 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4292 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4293 if test "${ac_cv_prog_RANLIB+set}" = set; then
4294 echo $ECHO_N "(cached) $ECHO_C" >&6
4295 else
4296 @@ -3855,32 +4389,34 @@
4297 IFS=$as_save_IFS
4298 test -z "$as_dir" && as_dir=.
4299 for ac_exec_ext in '' $ac_executable_extensions; do
4300 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4301 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4302 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4303 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4304 break 2
4305 fi
4306 done
4307 done
4308 +IFS=$as_save_IFS
4309
4310 fi
4311 fi
4312 RANLIB=$ac_cv_prog_RANLIB
4313 if test -n "$RANLIB"; then
4314 - echo "$as_me:$LINENO: result: $RANLIB" >&5
4315 -echo "${ECHO_T}$RANLIB" >&6
4316 + { echo "$as_me:$LINENO: result: $RANLIB" >&5
4317 +echo "${ECHO_T}$RANLIB" >&6; }
4318 else
4319 - echo "$as_me:$LINENO: result: no" >&5
4320 -echo "${ECHO_T}no" >&6
4321 + { echo "$as_me:$LINENO: result: no" >&5
4322 +echo "${ECHO_T}no" >&6; }
4323 fi
4324
4325 +
4326 fi
4327 if test -z "$ac_cv_prog_RANLIB"; then
4328 ac_ct_RANLIB=$RANLIB
4329 # Extract the first word of "ranlib", so it can be a program name with args.
4330 set dummy ranlib; ac_word=$2
4331 -echo "$as_me:$LINENO: checking for $ac_word" >&5
4332 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4333 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4334 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4335 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4336 echo $ECHO_N "(cached) $ECHO_C" >&6
4337 else
4338 @@ -3893,27 +4429,41 @@
4339 IFS=$as_save_IFS
4340 test -z "$as_dir" && as_dir=.
4341 for ac_exec_ext in '' $ac_executable_extensions; do
4342 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4343 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4344 ac_cv_prog_ac_ct_RANLIB="ranlib"
4345 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4346 break 2
4347 fi
4348 done
4349 done
4350 +IFS=$as_save_IFS
4351
4352 - test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
4353 fi
4354 fi
4355 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4356 if test -n "$ac_ct_RANLIB"; then
4357 - echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4358 -echo "${ECHO_T}$ac_ct_RANLIB" >&6
4359 + { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4360 +echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
4361 else
4362 - echo "$as_me:$LINENO: result: no" >&5
4363 -echo "${ECHO_T}no" >&6
4364 + { echo "$as_me:$LINENO: result: no" >&5
4365 +echo "${ECHO_T}no" >&6; }
4366 fi
4367
4368 - RANLIB=$ac_ct_RANLIB
4369 + if test "x$ac_ct_RANLIB" = x; then
4370 + RANLIB=":"
4371 + else
4372 + case $cross_compiling:$ac_tool_warned in
4373 +yes:)
4374 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4375 +whose name does not start with the host triplet. If you think this
4376 +configuration is useful to you, please write to autoconf@gnu.org." >&5
4377 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4378 +whose name does not start with the host triplet. If you think this
4379 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4380 +ac_tool_warned=yes ;;
4381 +esac
4382 + RANLIB=$ac_ct_RANLIB
4383 + fi
4384 else
4385 RANLIB="$ac_cv_prog_RANLIB"
4386 fi
4387 @@ -3921,8 +4471,8 @@
4388 if test -n "$ac_tool_prefix"; then
4389 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4390 set dummy ${ac_tool_prefix}strip; ac_word=$2
4391 -echo "$as_me:$LINENO: checking for $ac_word" >&5
4392 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4393 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4394 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4395 if test "${ac_cv_prog_STRIP+set}" = set; then
4396 echo $ECHO_N "(cached) $ECHO_C" >&6
4397 else
4398 @@ -3935,32 +4485,34 @@
4399 IFS=$as_save_IFS
4400 test -z "$as_dir" && as_dir=.
4401 for ac_exec_ext in '' $ac_executable_extensions; do
4402 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4403 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4404 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4405 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4406 break 2
4407 fi
4408 done
4409 done
4410 +IFS=$as_save_IFS
4411
4412 fi
4413 fi
4414 STRIP=$ac_cv_prog_STRIP
4415 if test -n "$STRIP"; then
4416 - echo "$as_me:$LINENO: result: $STRIP" >&5
4417 -echo "${ECHO_T}$STRIP" >&6
4418 + { echo "$as_me:$LINENO: result: $STRIP" >&5
4419 +echo "${ECHO_T}$STRIP" >&6; }
4420 else
4421 - echo "$as_me:$LINENO: result: no" >&5
4422 -echo "${ECHO_T}no" >&6
4423 + { echo "$as_me:$LINENO: result: no" >&5
4424 +echo "${ECHO_T}no" >&6; }
4425 fi
4426
4427 +
4428 fi
4429 if test -z "$ac_cv_prog_STRIP"; then
4430 ac_ct_STRIP=$STRIP
4431 # Extract the first word of "strip", so it can be a program name with args.
4432 set dummy strip; ac_word=$2
4433 -echo "$as_me:$LINENO: checking for $ac_word" >&5
4434 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4435 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4436 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4437 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4438 echo $ECHO_N "(cached) $ECHO_C" >&6
4439 else
4440 @@ -3973,27 +4525,41 @@
4441 IFS=$as_save_IFS
4442 test -z "$as_dir" && as_dir=.
4443 for ac_exec_ext in '' $ac_executable_extensions; do
4444 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4445 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4446 ac_cv_prog_ac_ct_STRIP="strip"
4447 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4448 break 2
4449 fi
4450 done
4451 done
4452 +IFS=$as_save_IFS
4453
4454 - test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
4455 fi
4456 fi
4457 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4458 if test -n "$ac_ct_STRIP"; then
4459 - echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4460 -echo "${ECHO_T}$ac_ct_STRIP" >&6
4461 + { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4462 +echo "${ECHO_T}$ac_ct_STRIP" >&6; }
4463 else
4464 - echo "$as_me:$LINENO: result: no" >&5
4465 -echo "${ECHO_T}no" >&6
4466 + { echo "$as_me:$LINENO: result: no" >&5
4467 +echo "${ECHO_T}no" >&6; }
4468 fi
4469
4470 - STRIP=$ac_ct_STRIP
4471 + if test "x$ac_ct_STRIP" = x; then
4472 + STRIP=":"
4473 + else
4474 + case $cross_compiling:$ac_tool_warned in
4475 +yes:)
4476 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4477 +whose name does not start with the host triplet. If you think this
4478 +configuration is useful to you, please write to autoconf@gnu.org." >&5
4479 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4480 +whose name does not start with the host triplet. If you think this
4481 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4482 +ac_tool_warned=yes ;;
4483 +esac
4484 + STRIP=$ac_ct_STRIP
4485 + fi
4486 else
4487 STRIP="$ac_cv_prog_STRIP"
4488 fi
4489 @@ -4008,22 +4574,22 @@
4490 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
4491
4492
4493 -# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4494 +# Check whether --enable-libtool-lock was given.
4495 if test "${enable_libtool_lock+set}" = set; then
4496 - enableval="$enable_libtool_lock"
4497 + enableval=$enable_libtool_lock;
4498 +fi
4499
4500 -fi;
4501 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
4502 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
4503
4504
4505 -# Check whether --with-pic or --without-pic was given.
4506 +# Check whether --with-pic was given.
4507 if test "${with_pic+set}" = set; then
4508 - withval="$with_pic"
4509 - pic_mode="$withval"
4510 + withval=$with_pic; pic_mode="$withval"
4511 else
4512 pic_mode=default
4513 -fi;
4514 +fi
4515 +
4516 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
4517 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
4518
4519 @@ -4032,7 +4598,7 @@
4520 case $host in
4521 *-*-irix6*)
4522 # Find out which ABI we are using.
4523 - echo '#line 4035 "configure"' > conftest.$ac_ext
4524 + echo '#line 4601 "configure"' > conftest.$ac_ext
4525 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4526 (eval $ac_compile) 2>&5
4527 ac_status=$?
4528 @@ -4137,13 +4703,12 @@
4529 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4530 SAVE_CFLAGS="$CFLAGS"
4531 CFLAGS="$CFLAGS -belf"
4532 - echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4533 -echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4534 + { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4535 +echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
4536 if test "${lt_cv_cc_needs_belf+set}" = set; then
4537 echo $ECHO_N "(cached) $ECHO_C" >&6
4538 else
4539
4540 -
4541 ac_ext=c
4542 ac_cpp='$CPP $CPPFLAGS'
4543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4544 @@ -4166,35 +4731,32 @@
4545 }
4546 _ACEOF
4547 rm -f conftest.$ac_objext conftest$ac_exeext
4548 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4549 - (eval $ac_link) 2>conftest.er1
4550 +if { (ac_try="$ac_link"
4551 +case "(($ac_try" in
4552 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4553 + *) ac_try_echo=$ac_try;;
4554 +esac
4555 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4556 + (eval "$ac_link") 2>conftest.er1
4557 ac_status=$?
4558 grep -v '^ *+' conftest.er1 >conftest.err
4559 rm -f conftest.er1
4560 cat conftest.err >&5
4561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4562 - (exit $ac_status); } &&
4563 - { ac_try='test -z "$ac_c_werror_flag"
4564 - || test ! -s conftest.err'
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); }; } &&
4570 - { ac_try='test -s conftest$ac_exeext'
4571 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4572 - (eval $ac_try) 2>&5
4573 - ac_status=$?
4574 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
4575 - (exit $ac_status); }; }; then
4576 + (exit $ac_status); } && {
4577 + test -z "$ac_c_werror_flag" ||
4578 + test ! -s conftest.err
4579 + } && test -s conftest$ac_exeext &&
4580 + $as_test_x conftest$ac_exeext; then
4581 lt_cv_cc_needs_belf=yes
4582 else
4583 echo "$as_me: failed program was:" >&5
4584 sed 's/^/| /' conftest.$ac_ext >&5
4585
4586 -lt_cv_cc_needs_belf=no
4587 + lt_cv_cc_needs_belf=no
4588 fi
4589 -rm -f conftest.err conftest.$ac_objext \
4590 +
4591 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4592 conftest$ac_exeext conftest.$ac_ext
4593 ac_ext=c
4594 ac_cpp='$CPP $CPPFLAGS'
4595 @@ -4203,8 +4765,8 @@
4596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4597
4598 fi
4599 -echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4600 -echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4601 +{ echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4602 +echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
4603 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4604 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4605 CFLAGS="$SAVE_CFLAGS"
4606 @@ -4234,39 +4796,58 @@
4607
4608 # The following way of writing the cache mishandles newlines in values,
4609 # but we know of no workaround that is simple, portable, and efficient.
4610 -# So, don't put newlines in cache variables' values.
4611 +# So, we kill variables containing newlines.
4612 # Ultrix sh set writes to stderr and can't be redirected directly,
4613 # and sets the high bit in the cache file unless we assign to the vars.
4614 -{
4615 +(
4616 + for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4617 + eval ac_val=\$$ac_var
4618 + case $ac_val in #(
4619 + *${as_nl}*)
4620 + case $ac_var in #(
4621 + *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
4622 +echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
4623 + esac
4624 + case $ac_var in #(
4625 + _ | IFS | as_nl) ;; #(
4626 + *) $as_unset $ac_var ;;
4627 + esac ;;
4628 + esac
4629 + done
4630 +
4631 (set) 2>&1 |
4632 - case `(ac_space=' '; set | grep ac_space) 2>&1` in
4633 - *ac_space=\ *)
4634 + case $as_nl`(ac_space=' '; set) 2>&1` in #(
4635 + *${as_nl}ac_space=\ *)
4636 # `set' does not quote correctly, so add quotes (double-quote
4637 # substitution turns \\\\ into \\, and sed turns \\ into \).
4638 sed -n \
4639 "s/'/'\\\\''/g;
4640 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4641 - ;;
4642 + ;; #(
4643 *)
4644 # `set' quotes correctly as required by POSIX, so do not add quotes.
4645 - sed -n \
4646 - "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4647 + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4648 ;;
4649 - esac;
4650 -} |
4651 + esac |
4652 + sort
4653 +) |
4654 sed '
4655 + /^ac_cv_env_/b end
4656 t clear
4657 - : clear
4658 + :clear
4659 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4660 t end
4661 - /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4662 - : end' >>confcache
4663 -if diff $cache_file confcache >/dev/null 2>&1; then :; else
4664 - if test -w $cache_file; then
4665 - test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4666 + s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4667 + :end' >>confcache
4668 +if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4669 + if test -w "$cache_file"; then
4670 + test "x$cache_file" != "x/dev/null" &&
4671 + { echo "$as_me:$LINENO: updating cache $cache_file" >&5
4672 +echo "$as_me: updating cache $cache_file" >&6;}
4673 cat confcache >$cache_file
4674 else
4675 - echo "not updating unwritable cache $cache_file"
4676 + { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
4677 +echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4678 fi
4679 fi
4680 rm -f confcache
4681 @@ -4292,8 +4873,8 @@
4682 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
4683 echo "$as_me: loading cache $cache_file" >&6;}
4684 case $cache_file in
4685 - [\\/]* | ?:[\\/]* ) . $cache_file;;
4686 - *) . ./$cache_file;;
4687 + [\\/]* | ?:[\\/]* ) . "$cache_file";;
4688 + *) . "./$cache_file";;
4689 esac
4690 fi
4691 else
4692 @@ -4319,10 +4900,9 @@
4693
4694
4695
4696 -# Check whether --enable-64-bit-bfd or --disable-64-bit-bfd was given.
4697 +# Check whether --enable-64-bit-bfd was given.
4698 if test "${enable_64_bit_bfd+set}" = set; then
4699 - enableval="$enable_64_bit_bfd"
4700 - case "${enableval}" in
4701 + enableval=$enable_64_bit_bfd; case "${enableval}" in
4702 yes) want64=true ;;
4703 no) want64=false ;;
4704 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for 64-bit-bfd option" >&5
4705 @@ -4331,10 +4911,10 @@
4706 esac
4707 else
4708 want64=false
4709 -fi; # Check whether --enable-targets or --disable-targets was given.
4710 +fi
4711 +# Check whether --enable-targets was given.
4712 if test "${enable_targets+set}" = set; then
4713 - enableval="$enable_targets"
4714 - case "${enableval}" in
4715 + enableval=$enable_targets; case "${enableval}" in
4716 yes | "") { { echo "$as_me:$LINENO: error: enable-targets option must specify target names or 'all'" >&5
4717 echo "$as_me: error: enable-targets option must specify target names or 'all'" >&2;}
4718 { (exit 1); exit 1; }; }
4719 @@ -4342,21 +4922,21 @@
4720 no) enable_targets= ;;
4721 *) enable_targets=$enableval ;;
4722 esac
4723 -fi; # Check whether --enable-commonbfdlib or --disable-commonbfdlib was given.
4724 +fi
4725 +# Check whether --enable-commonbfdlib was given.
4726 if test "${enable_commonbfdlib+set}" = set; then
4727 - enableval="$enable_commonbfdlib"
4728 - case "${enableval}" in
4729 + enableval=$enable_commonbfdlib; case "${enableval}" in
4730 yes) commonbfdlib=true ;;
4731 no) commonbfdlib=false ;;
4732 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for BFD commonbfdlib option" >&5
4733 echo "$as_me: error: bad value ${enableval} for BFD commonbfdlib option" >&2;}
4734 { (exit 1); exit 1; }; } ;;
4735 esac
4736 -fi;
4737 -# Check whether --with-mmap or --without-mmap was given.
4738 +fi
4739 +
4740 +# Check whether --with-mmap was given.
4741 if test "${with_mmap+set}" = set; then
4742 - withval="$with_mmap"
4743 - case "${withval}" in
4744 + withval=$with_mmap; case "${withval}" in
4745 yes) want_mmap=true ;;
4746 no) want_mmap=false ;;
4747 *) { { echo "$as_me:$LINENO: error: bad value ${withval} for BFD with-mmap option" >&5
4748 @@ -4365,11 +4945,11 @@
4749 esac
4750 else
4751 want_mmap=false
4752 -fi;
4753 -# Check whether --enable-secureplt or --disable-secureplt was given.
4754 +fi
4755 +
4756 +# Check whether --enable-secureplt was given.
4757 if test "${enable_secureplt+set}" = set; then
4758 - enableval="$enable_secureplt"
4759 - case "${enableval}" in
4760 + enableval=$enable_secureplt; case "${enableval}" in
4761 yes) use_secureplt=true ;;
4762 no) use_secureplt=false ;;
4763 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for secureplt option" >&5
4764 @@ -4378,7 +4958,8 @@
4765 esac
4766 else
4767 use_secureplt=false
4768 -fi; if test $use_secureplt = true; then
4769 +fi
4770 +if test $use_secureplt = true; then
4771
4772 cat >>confdefs.h <<\_ACEOF
4773 #define USE_SECUREPLT 1
4774 @@ -4389,17 +4970,17 @@
4775
4776 GCC_WARN_CFLAGS="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
4777
4778 -# Check whether --enable-werror or --disable-werror was given.
4779 +# Check whether --enable-werror was given.
4780 if test "${enable_werror+set}" = set; then
4781 - enableval="$enable_werror"
4782 - case "${enableval}" in
4783 + enableval=$enable_werror; case "${enableval}" in
4784 yes | y) ERROR_ON_WARNING="yes" ;;
4785 no | n) ERROR_ON_WARNING="no" ;;
4786 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-werror" >&5
4787 echo "$as_me: error: bad value ${enableval} for --enable-werror" >&2;}
4788 { (exit 1); exit 1; }; } ;;
4789 esac
4790 -fi;
4791 +fi
4792 +
4793
4794 # Enable -Werror by default when using gcc
4795 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
4796 @@ -4416,10 +4997,9 @@
4797 WARN_CFLAGS="${GCC_WARN_CFLAGS}"
4798 fi
4799
4800 -# Check whether --enable-build-warnings or --disable-build-warnings was given.
4801 +# Check whether --enable-build-warnings was given.
4802 if test "${enable_build_warnings+set}" = set; then
4803 - enableval="$enable_build_warnings"
4804 - case "${enableval}" in
4805 + enableval=$enable_build_warnings; case "${enableval}" in
4806 yes) WARN_CFLAGS="${GCC_WARN_CFLAGS}";;
4807 no) if test "${GCC}" = yes ; then
4808 WARN_CFLAGS="-w"
4809 @@ -4430,7 +5010,8 @@
4810 WARN_CFLAGS="${t} ${GCC_WARN_CFLAGS}";;
4811 *) WARN_CFLAGS=`echo "${enableval}" | sed -e "s/,/ /g"`;;
4812 esac
4813 -fi;
4814 +fi
4815 +
4816
4817 if test x"$silent" != x"yes" && test x"$WARN_CFLAGS" != x""; then
4818 echo "Setting warning flags = $WARN_CFLAGS" 6>&1
4819 @@ -4440,7 +5021,7 @@
4820
4821
4822
4823 - ac_config_headers="$ac_config_headers config.h:config.in"
4824 +ac_config_headers="$ac_config_headers config.h:config.in"
4825
4826
4827 if test -z "$target" ; then
4828 @@ -4449,17 +5030,17 @@
4829 { (exit 1); exit 1; }; }
4830 fi
4831
4832 -echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
4833 -echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
4834 - # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
4835 +{ echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
4836 +echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
4837 + # Check whether --enable-maintainer-mode was given.
4838 if test "${enable_maintainer_mode+set}" = set; then
4839 - enableval="$enable_maintainer_mode"
4840 - USE_MAINTAINER_MODE=$enableval
4841 + enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
4842 else
4843 USE_MAINTAINER_MODE=no
4844 -fi;
4845 - echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
4846 -echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
4847 +fi
4848 +
4849 + { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
4850 +echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
4851
4852
4853 if test $USE_MAINTAINER_MODE = yes; then
4854 @@ -4488,21 +5069,21 @@
4855 *) target_noncanonical=${target_alias} ;;
4856 esac
4857
4858 -echo "$as_me:$LINENO: checking whether to install libbfd" >&5
4859 -echo $ECHO_N "checking whether to install libbfd... $ECHO_C" >&6
4860 - # Check whether --enable-install-libbfd or --disable-install-libbfd was given.
4861 +{ echo "$as_me:$LINENO: checking whether to install libbfd" >&5
4862 +echo $ECHO_N "checking whether to install libbfd... $ECHO_C" >&6; }
4863 + # Check whether --enable-install-libbfd was given.
4864 if test "${enable_install_libbfd+set}" = set; then
4865 - enableval="$enable_install_libbfd"
4866 - install_libbfd_p=$enableval
4867 + enableval=$enable_install_libbfd; install_libbfd_p=$enableval
4868 else
4869 if test "${host}" = "${target}" || test "$enable_shared" = "yes"; then
4870 install_libbfd_p=yes
4871 else
4872 install_libbfd_p=no
4873 fi
4874 -fi;
4875 - echo "$as_me:$LINENO: result: $install_libbfd_p" >&5
4876 -echo "${ECHO_T}$install_libbfd_p" >&6
4877 +fi
4878 +
4879 + { echo "$as_me:$LINENO: result: $install_libbfd_p" >&5
4880 +echo "${ECHO_T}$install_libbfd_p" >&6; }
4881
4882
4883 if test $install_libbfd_p = yes; then
4884 @@ -4545,8 +5126,8 @@
4885 if test -n "$ac_tool_prefix"; then
4886 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4887 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4888 -echo "$as_me:$LINENO: checking for $ac_word" >&5
4889 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4890 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4891 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4892 if test "${ac_cv_prog_CC+set}" = set; then
4893 echo $ECHO_N "(cached) $ECHO_C" >&6
4894 else
4895 @@ -4559,32 +5140,34 @@
4896 IFS=$as_save_IFS
4897 test -z "$as_dir" && as_dir=.
4898 for ac_exec_ext in '' $ac_executable_extensions; do
4899 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4900 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4901 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4902 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4903 break 2
4904 fi
4905 done
4906 done
4907 +IFS=$as_save_IFS
4908
4909 fi
4910 fi
4911 CC=$ac_cv_prog_CC
4912 if test -n "$CC"; then
4913 - echo "$as_me:$LINENO: result: $CC" >&5
4914 -echo "${ECHO_T}$CC" >&6
4915 + { echo "$as_me:$LINENO: result: $CC" >&5
4916 +echo "${ECHO_T}$CC" >&6; }
4917 else
4918 - echo "$as_me:$LINENO: result: no" >&5
4919 -echo "${ECHO_T}no" >&6
4920 + { echo "$as_me:$LINENO: result: no" >&5
4921 +echo "${ECHO_T}no" >&6; }
4922 fi
4923
4924 +
4925 fi
4926 if test -z "$ac_cv_prog_CC"; then
4927 ac_ct_CC=$CC
4928 # Extract the first word of "gcc", so it can be a program name with args.
4929 set dummy gcc; ac_word=$2
4930 -echo "$as_me:$LINENO: checking for $ac_word" >&5
4931 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4932 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4933 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4934 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4935 echo $ECHO_N "(cached) $ECHO_C" >&6
4936 else
4937 @@ -4597,36 +5180,51 @@
4938 IFS=$as_save_IFS
4939 test -z "$as_dir" && as_dir=.
4940 for ac_exec_ext in '' $ac_executable_extensions; do
4941 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4942 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4943 ac_cv_prog_ac_ct_CC="gcc"
4944 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4945 break 2
4946 fi
4947 done
4948 done
4949 +IFS=$as_save_IFS
4950
4951 fi
4952 fi
4953 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4954 if test -n "$ac_ct_CC"; then
4955 - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4956 -echo "${ECHO_T}$ac_ct_CC" >&6
4957 + { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4958 +echo "${ECHO_T}$ac_ct_CC" >&6; }
4959 else
4960 - echo "$as_me:$LINENO: result: no" >&5
4961 -echo "${ECHO_T}no" >&6
4962 + { echo "$as_me:$LINENO: result: no" >&5
4963 +echo "${ECHO_T}no" >&6; }
4964 fi
4965
4966 - CC=$ac_ct_CC
4967 + if test "x$ac_ct_CC" = x; then
4968 + CC=""
4969 + else
4970 + case $cross_compiling:$ac_tool_warned in
4971 +yes:)
4972 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4973 +whose name does not start with the host triplet. If you think this
4974 +configuration is useful to you, please write to autoconf@gnu.org." >&5
4975 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4976 +whose name does not start with the host triplet. If you think this
4977 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4978 +ac_tool_warned=yes ;;
4979 +esac
4980 + CC=$ac_ct_CC
4981 + fi
4982 else
4983 CC="$ac_cv_prog_CC"
4984 fi
4985
4986 if test -z "$CC"; then
4987 - if test -n "$ac_tool_prefix"; then
4988 - # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4989 + if test -n "$ac_tool_prefix"; then
4990 + # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4991 set dummy ${ac_tool_prefix}cc; ac_word=$2
4992 -echo "$as_me:$LINENO: checking for $ac_word" >&5
4993 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4994 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4995 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4996 if test "${ac_cv_prog_CC+set}" = set; then
4997 echo $ECHO_N "(cached) $ECHO_C" >&6
4998 else
4999 @@ -4639,74 +5237,34 @@
5000 IFS=$as_save_IFS
5001 test -z "$as_dir" && as_dir=.
5002 for ac_exec_ext in '' $ac_executable_extensions; do
5003 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5004 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5005 ac_cv_prog_CC="${ac_tool_prefix}cc"
5006 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5007 break 2
5008 fi
5009 done
5010 done
5011 +IFS=$as_save_IFS
5012
5013 fi
5014 fi
5015 CC=$ac_cv_prog_CC
5016 if test -n "$CC"; then
5017 - echo "$as_me:$LINENO: result: $CC" >&5
5018 -echo "${ECHO_T}$CC" >&6
5019 -else
5020 - echo "$as_me:$LINENO: result: no" >&5
5021 -echo "${ECHO_T}no" >&6
5022 -fi
5023 -
5024 -fi
5025 -if test -z "$ac_cv_prog_CC"; then
5026 - ac_ct_CC=$CC
5027 - # Extract the first word of "cc", so it can be a program name with args.
5028 -set dummy cc; ac_word=$2
5029 -echo "$as_me:$LINENO: checking for $ac_word" >&5
5030 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5031 -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
5032 - echo $ECHO_N "(cached) $ECHO_C" >&6
5033 -else
5034 - if test -n "$ac_ct_CC"; then
5035 - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5036 -else
5037 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5038 -for as_dir in $PATH
5039 -do
5040 - IFS=$as_save_IFS
5041 - test -z "$as_dir" && as_dir=.
5042 - for ac_exec_ext in '' $ac_executable_extensions; do
5043 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5044 - ac_cv_prog_ac_ct_CC="cc"
5045 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5046 - break 2
5047 - fi
5048 -done
5049 -done
5050 -
5051 -fi
5052 -fi
5053 -ac_ct_CC=$ac_cv_prog_ac_ct_CC
5054 -if test -n "$ac_ct_CC"; then
5055 - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
5056 -echo "${ECHO_T}$ac_ct_CC" >&6
5057 + { echo "$as_me:$LINENO: result: $CC" >&5
5058 +echo "${ECHO_T}$CC" >&6; }
5059 else
5060 - echo "$as_me:$LINENO: result: no" >&5
5061 -echo "${ECHO_T}no" >&6
5062 + { echo "$as_me:$LINENO: result: no" >&5
5063 +echo "${ECHO_T}no" >&6; }
5064 fi
5065
5066 - CC=$ac_ct_CC
5067 -else
5068 - CC="$ac_cv_prog_CC"
5069 -fi
5070
5071 + fi
5072 fi
5073 if test -z "$CC"; then
5074 # Extract the first word of "cc", so it can be a program name with args.
5075 set dummy cc; ac_word=$2
5076 -echo "$as_me:$LINENO: checking for $ac_word" >&5
5077 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5078 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5079 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5080 if test "${ac_cv_prog_CC+set}" = set; then
5081 echo $ECHO_N "(cached) $ECHO_C" >&6
5082 else
5083 @@ -4720,7 +5278,7 @@
5084 IFS=$as_save_IFS
5085 test -z "$as_dir" && as_dir=.
5086 for ac_exec_ext in '' $ac_executable_extensions; do
5087 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5088 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5089 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5090 ac_prog_rejected=yes
5091 continue
5092 @@ -4731,6 +5289,7 @@
5093 fi
5094 done
5095 done
5096 +IFS=$as_save_IFS
5097
5098 if test $ac_prog_rejected = yes; then
5099 # We found a bogon in the path, so make sure we never use it.
5100 @@ -4748,22 +5307,23 @@
5101 fi
5102 CC=$ac_cv_prog_CC
5103 if test -n "$CC"; then
5104 - echo "$as_me:$LINENO: result: $CC" >&5
5105 -echo "${ECHO_T}$CC" >&6
5106 + { echo "$as_me:$LINENO: result: $CC" >&5
5107 +echo "${ECHO_T}$CC" >&6; }
5108 else
5109 - echo "$as_me:$LINENO: result: no" >&5
5110 -echo "${ECHO_T}no" >&6
5111 + { echo "$as_me:$LINENO: result: no" >&5
5112 +echo "${ECHO_T}no" >&6; }
5113 fi
5114
5115 +
5116 fi
5117 if test -z "$CC"; then
5118 if test -n "$ac_tool_prefix"; then
5119 - for ac_prog in cl
5120 + for ac_prog in cl.exe
5121 do
5122 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5123 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5124 -echo "$as_me:$LINENO: checking for $ac_word" >&5
5125 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5126 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5127 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5128 if test "${ac_cv_prog_CC+set}" = set; then
5129 echo $ECHO_N "(cached) $ECHO_C" >&6
5130 else
5131 @@ -4776,36 +5336,38 @@
5132 IFS=$as_save_IFS
5133 test -z "$as_dir" && as_dir=.
5134 for ac_exec_ext in '' $ac_executable_extensions; do
5135 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5136 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5137 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
5138 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5139 break 2
5140 fi
5141 done
5142 done
5143 +IFS=$as_save_IFS
5144
5145 fi
5146 fi
5147 CC=$ac_cv_prog_CC
5148 if test -n "$CC"; then
5149 - echo "$as_me:$LINENO: result: $CC" >&5
5150 -echo "${ECHO_T}$CC" >&6
5151 + { echo "$as_me:$LINENO: result: $CC" >&5
5152 +echo "${ECHO_T}$CC" >&6; }
5153 else
5154 - echo "$as_me:$LINENO: result: no" >&5
5155 -echo "${ECHO_T}no" >&6
5156 + { echo "$as_me:$LINENO: result: no" >&5
5157 +echo "${ECHO_T}no" >&6; }
5158 fi
5159
5160 +
5161 test -n "$CC" && break
5162 done
5163 fi
5164 if test -z "$CC"; then
5165 ac_ct_CC=$CC
5166 - for ac_prog in cl
5167 + for ac_prog in cl.exe
5168 do
5169 # Extract the first word of "$ac_prog", so it can be a program name with args.
5170 set dummy $ac_prog; ac_word=$2
5171 -echo "$as_me:$LINENO: checking for $ac_word" >&5
5172 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5173 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5174 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5175 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
5176 echo $ECHO_N "(cached) $ECHO_C" >&6
5177 else
5178 @@ -4818,29 +5380,45 @@
5179 IFS=$as_save_IFS
5180 test -z "$as_dir" && as_dir=.
5181 for ac_exec_ext in '' $ac_executable_extensions; do
5182 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5183 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5184 ac_cv_prog_ac_ct_CC="$ac_prog"
5185 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5186 break 2
5187 fi
5188 done
5189 done
5190 +IFS=$as_save_IFS
5191
5192 fi
5193 fi
5194 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5195 if test -n "$ac_ct_CC"; then
5196 - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
5197 -echo "${ECHO_T}$ac_ct_CC" >&6
5198 + { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
5199 +echo "${ECHO_T}$ac_ct_CC" >&6; }
5200 else
5201 - echo "$as_me:$LINENO: result: no" >&5
5202 -echo "${ECHO_T}no" >&6
5203 + { echo "$as_me:$LINENO: result: no" >&5
5204 +echo "${ECHO_T}no" >&6; }
5205 fi
5206
5207 +
5208 test -n "$ac_ct_CC" && break
5209 done
5210
5211 - CC=$ac_ct_CC
5212 + if test "x$ac_ct_CC" = x; then
5213 + CC=""
5214 + else
5215 + case $cross_compiling:$ac_tool_warned in
5216 +yes:)
5217 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5218 +whose name does not start with the host triplet. If you think this
5219 +configuration is useful to you, please write to autoconf@gnu.org." >&5
5220 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5221 +whose name does not start with the host triplet. If you think this
5222 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5223 +ac_tool_warned=yes ;;
5224 +esac
5225 + CC=$ac_ct_CC
5226 + fi
5227 fi
5228
5229 fi
5230 @@ -4853,27 +5431,41 @@
5231 { (exit 1); exit 1; }; }
5232
5233 # Provide some information about the compiler.
5234 -echo "$as_me:$LINENO:" \
5235 - "checking for C compiler version" >&5
5236 +echo "$as_me:$LINENO: checking for C compiler version" >&5
5237 ac_compiler=`set X $ac_compile; echo $2`
5238 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
5239 - (eval $ac_compiler --version </dev/null >&5) 2>&5
5240 +{ (ac_try="$ac_compiler --version >&5"
5241 +case "(($ac_try" in
5242 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5243 + *) ac_try_echo=$ac_try;;
5244 +esac
5245 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5246 + (eval "$ac_compiler --version >&5") 2>&5
5247 ac_status=$?
5248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5249 (exit $ac_status); }
5250 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
5251 - (eval $ac_compiler -v </dev/null >&5) 2>&5
5252 +{ (ac_try="$ac_compiler -v >&5"
5253 +case "(($ac_try" in
5254 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5255 + *) ac_try_echo=$ac_try;;
5256 +esac
5257 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5258 + (eval "$ac_compiler -v >&5") 2>&5
5259 ac_status=$?
5260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5261 (exit $ac_status); }
5262 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
5263 - (eval $ac_compiler -V </dev/null >&5) 2>&5
5264 +{ (ac_try="$ac_compiler -V >&5"
5265 +case "(($ac_try" in
5266 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5267 + *) ac_try_echo=$ac_try;;
5268 +esac
5269 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5270 + (eval "$ac_compiler -V >&5") 2>&5
5271 ac_status=$?
5272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5273 (exit $ac_status); }
5274
5275 -echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
5276 -echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
5277 +{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
5278 +echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
5279 if test "${ac_cv_c_compiler_gnu+set}" = set; then
5280 echo $ECHO_N "(cached) $ECHO_C" >&6
5281 else
5282 @@ -4896,50 +5488,49 @@
5283 }
5284 _ACEOF
5285 rm -f conftest.$ac_objext
5286 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5287 - (eval $ac_compile) 2>conftest.er1
5288 +if { (ac_try="$ac_compile"
5289 +case "(($ac_try" in
5290 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5291 + *) ac_try_echo=$ac_try;;
5292 +esac
5293 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5294 + (eval "$ac_compile") 2>conftest.er1
5295 ac_status=$?
5296 grep -v '^ *+' conftest.er1 >conftest.err
5297 rm -f conftest.er1
5298 cat conftest.err >&5
5299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5300 - (exit $ac_status); } &&
5301 - { ac_try='test -z "$ac_c_werror_flag"
5302 - || test ! -s conftest.err'
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); }; } &&
5308 - { ac_try='test -s conftest.$ac_objext'
5309 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5310 - (eval $ac_try) 2>&5
5311 - ac_status=$?
5312 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5313 - (exit $ac_status); }; }; then
5314 + (exit $ac_status); } && {
5315 + test -z "$ac_c_werror_flag" ||
5316 + test ! -s conftest.err
5317 + } && test -s conftest.$ac_objext; then
5318 ac_compiler_gnu=yes
5319 else
5320 echo "$as_me: failed program was:" >&5
5321 sed 's/^/| /' conftest.$ac_ext >&5
5322
5323 -ac_compiler_gnu=no
5324 + ac_compiler_gnu=no
5325 fi
5326 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5327 +
5328 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5329 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5330
5331 fi
5332 -echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
5333 -echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
5334 +{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
5335 +echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
5336 GCC=`test $ac_compiler_gnu = yes && echo yes`
5337 ac_test_CFLAGS=${CFLAGS+set}
5338 ac_save_CFLAGS=$CFLAGS
5339 -CFLAGS="-g"
5340 -echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
5341 -echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
5342 +{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
5343 +echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
5344 if test "${ac_cv_prog_cc_g+set}" = set; then
5345 echo $ECHO_N "(cached) $ECHO_C" >&6
5346 else
5347 - cat >conftest.$ac_ext <<_ACEOF
5348 + ac_save_c_werror_flag=$ac_c_werror_flag
5349 + ac_c_werror_flag=yes
5350 + ac_cv_prog_cc_g=no
5351 + CFLAGS="-g"
5352 + cat >conftest.$ac_ext <<_ACEOF
5353 /* confdefs.h. */
5354 _ACEOF
5355 cat confdefs.h >>conftest.$ac_ext
5356 @@ -4955,46 +5546,126 @@
5357 }
5358 _ACEOF
5359 rm -f conftest.$ac_objext
5360 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5361 - (eval $ac_compile) 2>conftest.er1
5362 +if { (ac_try="$ac_compile"
5363 +case "(($ac_try" in
5364 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5365 + *) ac_try_echo=$ac_try;;
5366 +esac
5367 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5368 + (eval "$ac_compile") 2>conftest.er1
5369 ac_status=$?
5370 grep -v '^ *+' conftest.er1 >conftest.err
5371 rm -f conftest.er1
5372 cat conftest.err >&5
5373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5374 - (exit $ac_status); } &&
5375 - { ac_try='test -z "$ac_c_werror_flag"
5376 - || test ! -s conftest.err'
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); }; } &&
5382 - { ac_try='test -s conftest.$ac_objext'
5383 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5384 - (eval $ac_try) 2>&5
5385 - ac_status=$?
5386 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5387 - (exit $ac_status); }; }; then
5388 + (exit $ac_status); } && {
5389 + test -z "$ac_c_werror_flag" ||
5390 + test ! -s conftest.err
5391 + } && test -s conftest.$ac_objext; then
5392 ac_cv_prog_cc_g=yes
5393 else
5394 echo "$as_me: failed program was:" >&5
5395 sed 's/^/| /' conftest.$ac_ext >&5
5396
5397 -ac_cv_prog_cc_g=no
5398 -fi
5399 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5400 -fi
5401 -echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
5402 -echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
5403 -if test "$ac_test_CFLAGS" = set; then
5404 - CFLAGS=$ac_save_CFLAGS
5405 -elif test $ac_cv_prog_cc_g = yes; then
5406 - if test "$GCC" = yes; then
5407 - CFLAGS="-g -O2"
5408 - else
5409 - CFLAGS="-g"
5410 - fi
5411 + CFLAGS=""
5412 + cat >conftest.$ac_ext <<_ACEOF
5413 +/* confdefs.h. */
5414 +_ACEOF
5415 +cat confdefs.h >>conftest.$ac_ext
5416 +cat >>conftest.$ac_ext <<_ACEOF
5417 +/* end confdefs.h. */
5418 +
5419 +int
5420 +main ()
5421 +{
5422 +
5423 + ;
5424 + return 0;
5425 +}
5426 +_ACEOF
5427 +rm -f conftest.$ac_objext
5428 +if { (ac_try="$ac_compile"
5429 +case "(($ac_try" in
5430 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5431 + *) ac_try_echo=$ac_try;;
5432 +esac
5433 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5434 + (eval "$ac_compile") 2>conftest.er1
5435 + ac_status=$?
5436 + grep -v '^ *+' conftest.er1 >conftest.err
5437 + rm -f conftest.er1
5438 + cat conftest.err >&5
5439 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
5440 + (exit $ac_status); } && {
5441 + test -z "$ac_c_werror_flag" ||
5442 + test ! -s conftest.err
5443 + } && test -s conftest.$ac_objext; then
5444 + :
5445 +else
5446 + echo "$as_me: failed program was:" >&5
5447 +sed 's/^/| /' conftest.$ac_ext >&5
5448 +
5449 + ac_c_werror_flag=$ac_save_c_werror_flag
5450 + CFLAGS="-g"
5451 + cat >conftest.$ac_ext <<_ACEOF
5452 +/* confdefs.h. */
5453 +_ACEOF
5454 +cat confdefs.h >>conftest.$ac_ext
5455 +cat >>conftest.$ac_ext <<_ACEOF
5456 +/* end confdefs.h. */
5457 +
5458 +int
5459 +main ()
5460 +{
5461 +
5462 + ;
5463 + return 0;
5464 +}
5465 +_ACEOF
5466 +rm -f conftest.$ac_objext
5467 +if { (ac_try="$ac_compile"
5468 +case "(($ac_try" in
5469 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5470 + *) ac_try_echo=$ac_try;;
5471 +esac
5472 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5473 + (eval "$ac_compile") 2>conftest.er1
5474 + ac_status=$?
5475 + grep -v '^ *+' conftest.er1 >conftest.err
5476 + rm -f conftest.er1
5477 + cat conftest.err >&5
5478 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
5479 + (exit $ac_status); } && {
5480 + test -z "$ac_c_werror_flag" ||
5481 + test ! -s conftest.err
5482 + } && test -s conftest.$ac_objext; then
5483 + ac_cv_prog_cc_g=yes
5484 +else
5485 + echo "$as_me: failed program was:" >&5
5486 +sed 's/^/| /' conftest.$ac_ext >&5
5487 +
5488 +
5489 +fi
5490 +
5491 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5492 +fi
5493 +
5494 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5495 +fi
5496 +
5497 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5498 + ac_c_werror_flag=$ac_save_c_werror_flag
5499 +fi
5500 +{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
5501 +echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
5502 +if test "$ac_test_CFLAGS" = set; then
5503 + CFLAGS=$ac_save_CFLAGS
5504 +elif test $ac_cv_prog_cc_g = yes; then
5505 + if test "$GCC" = yes; then
5506 + CFLAGS="-g -O2"
5507 + else
5508 + CFLAGS="-g"
5509 + fi
5510 else
5511 if test "$GCC" = yes; then
5512 CFLAGS="-O2"
5513 @@ -5002,12 +5673,12 @@
5514 CFLAGS=
5515 fi
5516 fi
5517 -echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
5518 -echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
5519 -if test "${ac_cv_prog_cc_stdc+set}" = set; then
5520 +{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
5521 +echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
5522 +if test "${ac_cv_prog_cc_c89+set}" = set; then
5523 echo $ECHO_N "(cached) $ECHO_C" >&6
5524 else
5525 - ac_cv_prog_cc_stdc=no
5526 + ac_cv_prog_cc_c89=no
5527 ac_save_CC=$CC
5528 cat >conftest.$ac_ext <<_ACEOF
5529 /* confdefs.h. */
5530 @@ -5041,12 +5712,17 @@
5531 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5532 function prototypes and stuff, but not '\xHH' hex character constants.
5533 These don't provoke an error unfortunately, instead are silently treated
5534 - as 'x'. The following induces an error, until -std1 is added to get
5535 + as 'x'. The following induces an error, until -std is added to get
5536 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5537 array size at least. It's necessary to write '\x00'==0 to get something
5538 - that's true only with -std1. */
5539 + that's true only with -std. */
5540 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5541
5542 +/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5543 + inside strings and character constants. */
5544 +#define FOO(x) 'x'
5545 +int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5546 +
5547 int test (int i, double x);
5548 struct s1 {int (*f) (int a);};
5549 struct s2 {int (*f) (double a);};
5550 @@ -5061,205 +5737,57 @@
5551 return 0;
5552 }
5553 _ACEOF
5554 -# Don't try gcc -ansi; that turns off useful extensions and
5555 -# breaks some systems' header files.
5556 -# AIX -qlanglvl=ansi
5557 -# Ultrix and OSF/1 -std1
5558 -# HP-UX 10.20 and later -Ae
5559 -# HP-UX older versions -Aa -D_HPUX_SOURCE
5560 -# SVR4 -Xc -D__EXTENSIONS__
5561 -for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5562 +for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5563 + -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5564 do
5565 CC="$ac_save_CC $ac_arg"
5566 rm -f conftest.$ac_objext
5567 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5568 - (eval $ac_compile) 2>conftest.er1
5569 +if { (ac_try="$ac_compile"
5570 +case "(($ac_try" in
5571 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5572 + *) ac_try_echo=$ac_try;;
5573 +esac
5574 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5575 + (eval "$ac_compile") 2>conftest.er1
5576 ac_status=$?
5577 grep -v '^ *+' conftest.er1 >conftest.err
5578 rm -f conftest.er1
5579 cat conftest.err >&5
5580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5581 - (exit $ac_status); } &&
5582 - { ac_try='test -z "$ac_c_werror_flag"
5583 - || test ! -s conftest.err'
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); }; } &&
5589 - { ac_try='test -s conftest.$ac_objext'
5590 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5591 - (eval $ac_try) 2>&5
5592 - ac_status=$?
5593 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5594 - (exit $ac_status); }; }; then
5595 - ac_cv_prog_cc_stdc=$ac_arg
5596 -break
5597 + (exit $ac_status); } && {
5598 + test -z "$ac_c_werror_flag" ||
5599 + test ! -s conftest.err
5600 + } && test -s conftest.$ac_objext; then
5601 + ac_cv_prog_cc_c89=$ac_arg
5602 else
5603 echo "$as_me: failed program was:" >&5
5604 sed 's/^/| /' conftest.$ac_ext >&5
5605
5606 +
5607 fi
5608 -rm -f conftest.err conftest.$ac_objext
5609 +
5610 +rm -f core conftest.err conftest.$ac_objext
5611 + test "x$ac_cv_prog_cc_c89" != "xno" && break
5612 done
5613 -rm -f conftest.$ac_ext conftest.$ac_objext
5614 +rm -f conftest.$ac_ext
5615 CC=$ac_save_CC
5616
5617 fi
5618 -
5619 -case "x$ac_cv_prog_cc_stdc" in
5620 - x|xno)
5621 - echo "$as_me:$LINENO: result: none needed" >&5
5622 -echo "${ECHO_T}none needed" >&6 ;;
5623 +# AC_CACHE_VAL
5624 +case "x$ac_cv_prog_cc_c89" in
5625 + x)
5626 + { echo "$as_me:$LINENO: result: none needed" >&5
5627 +echo "${ECHO_T}none needed" >&6; } ;;
5628 + xno)
5629 + { echo "$as_me:$LINENO: result: unsupported" >&5
5630 +echo "${ECHO_T}unsupported" >&6; } ;;
5631 *)
5632 - echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
5633 -echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
5634 - CC="$CC $ac_cv_prog_cc_stdc" ;;
5635 + CC="$CC $ac_cv_prog_cc_c89"
5636 + { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
5637 +echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
5638 esac
5639
5640 -# Some people use a C++ compiler to compile C. Since we use `exit',
5641 -# in C++ we need to declare it. In case someone uses the same compiler
5642 -# for both compiling C and C++ we need to have the C++ compiler decide
5643 -# the declaration of exit, since it's the most demanding environment.
5644 -cat >conftest.$ac_ext <<_ACEOF
5645 -#ifndef __cplusplus
5646 - choke me
5647 -#endif
5648 -_ACEOF
5649 -rm -f conftest.$ac_objext
5650 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5651 - (eval $ac_compile) 2>conftest.er1
5652 - ac_status=$?
5653 - grep -v '^ *+' conftest.er1 >conftest.err
5654 - rm -f conftest.er1
5655 - cat conftest.err >&5
5656 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5657 - (exit $ac_status); } &&
5658 - { ac_try='test -z "$ac_c_werror_flag"
5659 - || test ! -s conftest.err'
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); }; } &&
5665 - { ac_try='test -s conftest.$ac_objext'
5666 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5667 - (eval $ac_try) 2>&5
5668 - ac_status=$?
5669 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5670 - (exit $ac_status); }; }; then
5671 - for ac_declaration in \
5672 - '' \
5673 - 'extern "C" void std::exit (int) throw (); using std::exit;' \
5674 - 'extern "C" void std::exit (int); using std::exit;' \
5675 - 'extern "C" void exit (int) throw ();' \
5676 - 'extern "C" void exit (int);' \
5677 - 'void exit (int);'
5678 -do
5679 - cat >conftest.$ac_ext <<_ACEOF
5680 -/* confdefs.h. */
5681 -_ACEOF
5682 -cat confdefs.h >>conftest.$ac_ext
5683 -cat >>conftest.$ac_ext <<_ACEOF
5684 -/* end confdefs.h. */
5685 -$ac_declaration
5686 -#include <stdlib.h>
5687 -int
5688 -main ()
5689 -{
5690 -exit (42);
5691 - ;
5692 - return 0;
5693 -}
5694 -_ACEOF
5695 -rm -f conftest.$ac_objext
5696 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5697 - (eval $ac_compile) 2>conftest.er1
5698 - ac_status=$?
5699 - grep -v '^ *+' conftest.er1 >conftest.err
5700 - rm -f conftest.er1
5701 - cat conftest.err >&5
5702 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5703 - (exit $ac_status); } &&
5704 - { ac_try='test -z "$ac_c_werror_flag"
5705 - || test ! -s conftest.err'
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); }; } &&
5711 - { ac_try='test -s conftest.$ac_objext'
5712 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5713 - (eval $ac_try) 2>&5
5714 - ac_status=$?
5715 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5716 - (exit $ac_status); }; }; then
5717 - :
5718 -else
5719 - echo "$as_me: failed program was:" >&5
5720 -sed 's/^/| /' conftest.$ac_ext >&5
5721 -
5722 -continue
5723 -fi
5724 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5725 - cat >conftest.$ac_ext <<_ACEOF
5726 -/* confdefs.h. */
5727 -_ACEOF
5728 -cat confdefs.h >>conftest.$ac_ext
5729 -cat >>conftest.$ac_ext <<_ACEOF
5730 -/* end confdefs.h. */
5731 -$ac_declaration
5732 -int
5733 -main ()
5734 -{
5735 -exit (42);
5736 - ;
5737 - return 0;
5738 -}
5739 -_ACEOF
5740 -rm -f conftest.$ac_objext
5741 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5742 - (eval $ac_compile) 2>conftest.er1
5743 - ac_status=$?
5744 - grep -v '^ *+' conftest.er1 >conftest.err
5745 - rm -f conftest.er1
5746 - cat conftest.err >&5
5747 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5748 - (exit $ac_status); } &&
5749 - { ac_try='test -z "$ac_c_werror_flag"
5750 - || test ! -s conftest.err'
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); }; } &&
5756 - { ac_try='test -s conftest.$ac_objext'
5757 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5758 - (eval $ac_try) 2>&5
5759 - ac_status=$?
5760 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5761 - (exit $ac_status); }; }; then
5762 - break
5763 -else
5764 - echo "$as_me: failed program was:" >&5
5765 -sed 's/^/| /' conftest.$ac_ext >&5
5766 -
5767 -fi
5768 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5769 -done
5770 -rm -f conftest*
5771 -if test -n "$ac_declaration"; then
5772 - echo '#ifdef __cplusplus' >>confdefs.h
5773 - echo $ac_declaration >>confdefs.h
5774 - echo '#endif' >>confdefs.h
5775 -fi
5776 -
5777 -else
5778 - echo "$as_me: failed program was:" >&5
5779 -sed 's/^/| /' conftest.$ac_ext >&5
5780
5781 -fi
5782 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5783 ac_ext=c
5784 ac_cpp='$CPP $CPPFLAGS'
5785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5786 @@ -5277,8 +5805,8 @@
5787 if test -n "$ac_tool_prefix"; then
5788 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5789 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5790 -echo "$as_me:$LINENO: checking for $ac_word" >&5
5791 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5792 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5793 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5794 if test "${ac_cv_prog_RANLIB+set}" = set; then
5795 echo $ECHO_N "(cached) $ECHO_C" >&6
5796 else
5797 @@ -5291,32 +5819,34 @@
5798 IFS=$as_save_IFS
5799 test -z "$as_dir" && as_dir=.
5800 for ac_exec_ext in '' $ac_executable_extensions; do
5801 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5802 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5803 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5804 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5805 break 2
5806 fi
5807 done
5808 done
5809 +IFS=$as_save_IFS
5810
5811 fi
5812 fi
5813 RANLIB=$ac_cv_prog_RANLIB
5814 if test -n "$RANLIB"; then
5815 - echo "$as_me:$LINENO: result: $RANLIB" >&5
5816 -echo "${ECHO_T}$RANLIB" >&6
5817 + { echo "$as_me:$LINENO: result: $RANLIB" >&5
5818 +echo "${ECHO_T}$RANLIB" >&6; }
5819 else
5820 - echo "$as_me:$LINENO: result: no" >&5
5821 -echo "${ECHO_T}no" >&6
5822 + { echo "$as_me:$LINENO: result: no" >&5
5823 +echo "${ECHO_T}no" >&6; }
5824 fi
5825
5826 +
5827 fi
5828 if test -z "$ac_cv_prog_RANLIB"; then
5829 ac_ct_RANLIB=$RANLIB
5830 # Extract the first word of "ranlib", so it can be a program name with args.
5831 set dummy ranlib; ac_word=$2
5832 -echo "$as_me:$LINENO: checking for $ac_word" >&5
5833 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5834 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5835 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5836 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5837 echo $ECHO_N "(cached) $ECHO_C" >&6
5838 else
5839 @@ -5329,27 +5859,41 @@
5840 IFS=$as_save_IFS
5841 test -z "$as_dir" && as_dir=.
5842 for ac_exec_ext in '' $ac_executable_extensions; do
5843 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5844 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5845 ac_cv_prog_ac_ct_RANLIB="ranlib"
5846 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5847 break 2
5848 fi
5849 done
5850 done
5851 +IFS=$as_save_IFS
5852
5853 - test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
5854 fi
5855 fi
5856 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5857 if test -n "$ac_ct_RANLIB"; then
5858 - echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5859 -echo "${ECHO_T}$ac_ct_RANLIB" >&6
5860 + { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5861 +echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
5862 else
5863 - echo "$as_me:$LINENO: result: no" >&5
5864 -echo "${ECHO_T}no" >&6
5865 + { echo "$as_me:$LINENO: result: no" >&5
5866 +echo "${ECHO_T}no" >&6; }
5867 fi
5868
5869 - RANLIB=$ac_ct_RANLIB
5870 + if test "x$ac_ct_RANLIB" = x; then
5871 + RANLIB=":"
5872 + else
5873 + case $cross_compiling:$ac_tool_warned in
5874 +yes:)
5875 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5876 +whose name does not start with the host triplet. If you think this
5877 +configuration is useful to you, please write to autoconf@gnu.org." >&5
5878 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5879 +whose name does not start with the host triplet. If you think this
5880 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5881 +ac_tool_warned=yes ;;
5882 +esac
5883 + RANLIB=$ac_ct_RANLIB
5884 + fi
5885 else
5886 RANLIB="$ac_cv_prog_RANLIB"
5887 fi
5888 @@ -5359,8 +5903,8 @@
5889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5892 -echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5893 -echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
5894 +{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5895 +echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
5896 # On Suns, sometimes $CPP names a directory.
5897 if test -n "$CPP" && test -d "$CPP"; then
5898 CPP=
5899 @@ -5394,24 +5938,22 @@
5900 #endif
5901 Syntax error
5902 _ACEOF
5903 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5904 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5905 +if { (ac_try="$ac_cpp conftest.$ac_ext"
5906 +case "(($ac_try" in
5907 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5908 + *) ac_try_echo=$ac_try;;
5909 +esac
5910 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5911 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5912 ac_status=$?
5913 grep -v '^ *+' conftest.er1 >conftest.err
5914 rm -f conftest.er1
5915 cat conftest.err >&5
5916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5917 - (exit $ac_status); } >/dev/null; then
5918 - if test -s conftest.err; then
5919 - ac_cpp_err=$ac_c_preproc_warn_flag
5920 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5921 - else
5922 - ac_cpp_err=
5923 - fi
5924 -else
5925 - ac_cpp_err=yes
5926 -fi
5927 -if test -z "$ac_cpp_err"; then
5928 + (exit $ac_status); } >/dev/null && {
5929 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5930 + test ! -s conftest.err
5931 + }; then
5932 :
5933 else
5934 echo "$as_me: failed program was:" >&5
5935 @@ -5420,9 +5962,10 @@
5936 # Broken: fails on valid input.
5937 continue
5938 fi
5939 +
5940 rm -f conftest.err conftest.$ac_ext
5941
5942 - # OK, works on sane cases. Now check whether non-existent headers
5943 + # OK, works on sane cases. Now check whether nonexistent headers
5944 # can be detected and how.
5945 cat >conftest.$ac_ext <<_ACEOF
5946 /* confdefs.h. */
5947 @@ -5432,24 +5975,22 @@
5948 /* end confdefs.h. */
5949 #include <ac_nonexistent.h>
5950 _ACEOF
5951 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5952 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5953 +if { (ac_try="$ac_cpp conftest.$ac_ext"
5954 +case "(($ac_try" in
5955 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5956 + *) ac_try_echo=$ac_try;;
5957 +esac
5958 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5959 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5960 ac_status=$?
5961 grep -v '^ *+' conftest.er1 >conftest.err
5962 rm -f conftest.er1
5963 cat conftest.err >&5
5964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5965 - (exit $ac_status); } >/dev/null; then
5966 - if test -s conftest.err; then
5967 - ac_cpp_err=$ac_c_preproc_warn_flag
5968 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5969 - else
5970 - ac_cpp_err=
5971 - fi
5972 -else
5973 - ac_cpp_err=yes
5974 -fi
5975 -if test -z "$ac_cpp_err"; then
5976 + (exit $ac_status); } >/dev/null && {
5977 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5978 + test ! -s conftest.err
5979 + }; then
5980 # Broken: success on invalid input.
5981 continue
5982 else
5983 @@ -5460,6 +6001,7 @@
5984 ac_preproc_ok=:
5985 break
5986 fi
5987 +
5988 rm -f conftest.err conftest.$ac_ext
5989
5990 done
5991 @@ -5477,8 +6019,8 @@
5992 else
5993 ac_cv_prog_CPP=$CPP
5994 fi
5995 -echo "$as_me:$LINENO: result: $CPP" >&5
5996 -echo "${ECHO_T}$CPP" >&6
5997 +{ echo "$as_me:$LINENO: result: $CPP" >&5
5998 +echo "${ECHO_T}$CPP" >&6; }
5999 ac_preproc_ok=false
6000 for ac_c_preproc_warn_flag in '' yes
6001 do
6002 @@ -5501,24 +6043,22 @@
6003 #endif
6004 Syntax error
6005 _ACEOF
6006 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6007 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6008 +if { (ac_try="$ac_cpp conftest.$ac_ext"
6009 +case "(($ac_try" in
6010 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6011 + *) ac_try_echo=$ac_try;;
6012 +esac
6013 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6014 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6015 ac_status=$?
6016 grep -v '^ *+' conftest.er1 >conftest.err
6017 rm -f conftest.er1
6018 cat conftest.err >&5
6019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6020 - (exit $ac_status); } >/dev/null; then
6021 - if test -s conftest.err; then
6022 - ac_cpp_err=$ac_c_preproc_warn_flag
6023 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6024 - else
6025 - ac_cpp_err=
6026 - fi
6027 -else
6028 - ac_cpp_err=yes
6029 -fi
6030 -if test -z "$ac_cpp_err"; then
6031 + (exit $ac_status); } >/dev/null && {
6032 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6033 + test ! -s conftest.err
6034 + }; then
6035 :
6036 else
6037 echo "$as_me: failed program was:" >&5
6038 @@ -5527,9 +6067,10 @@
6039 # Broken: fails on valid input.
6040 continue
6041 fi
6042 +
6043 rm -f conftest.err conftest.$ac_ext
6044
6045 - # OK, works on sane cases. Now check whether non-existent headers
6046 + # OK, works on sane cases. Now check whether nonexistent headers
6047 # can be detected and how.
6048 cat >conftest.$ac_ext <<_ACEOF
6049 /* confdefs.h. */
6050 @@ -5539,24 +6080,22 @@
6051 /* end confdefs.h. */
6052 #include <ac_nonexistent.h>
6053 _ACEOF
6054 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6055 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6056 +if { (ac_try="$ac_cpp conftest.$ac_ext"
6057 +case "(($ac_try" in
6058 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6059 + *) ac_try_echo=$ac_try;;
6060 +esac
6061 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6062 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6063 ac_status=$?
6064 grep -v '^ *+' conftest.er1 >conftest.err
6065 rm -f conftest.er1
6066 cat conftest.err >&5
6067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6068 - (exit $ac_status); } >/dev/null; then
6069 - if test -s conftest.err; then
6070 - ac_cpp_err=$ac_c_preproc_warn_flag
6071 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6072 - else
6073 - ac_cpp_err=
6074 - fi
6075 -else
6076 - ac_cpp_err=yes
6077 -fi
6078 -if test -z "$ac_cpp_err"; then
6079 + (exit $ac_status); } >/dev/null && {
6080 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6081 + test ! -s conftest.err
6082 + }; then
6083 # Broken: success on invalid input.
6084 continue
6085 else
6086 @@ -5567,6 +6106,7 @@
6087 ac_preproc_ok=:
6088 break
6089 fi
6090 +
6091 rm -f conftest.err conftest.$ac_ext
6092
6093 done
6094 @@ -5589,87 +6129,230 @@
6095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6096
6097
6098 -echo "$as_me:$LINENO: checking for egrep" >&5
6099 -echo $ECHO_N "checking for egrep... $ECHO_C" >&6
6100 -if test "${ac_cv_prog_egrep+set}" = set; then
6101 +{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
6102 +echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
6103 +if test "${ac_cv_path_GREP+set}" = set; then
6104 + echo $ECHO_N "(cached) $ECHO_C" >&6
6105 +else
6106 + # Extract the first word of "grep ggrep" to use in msg output
6107 +if test -z "$GREP"; then
6108 +set dummy grep ggrep; ac_prog_name=$2
6109 +if test "${ac_cv_path_GREP+set}" = set; then
6110 echo $ECHO_N "(cached) $ECHO_C" >&6
6111 else
6112 - if echo a | (grep -E '(a|b)') >/dev/null 2>&1
6113 - then ac_cv_prog_egrep='grep -E'
6114 - else ac_cv_prog_egrep='egrep'
6115 + ac_path_GREP_found=false
6116 +# Loop through the user's path and test for each of PROGNAME-LIST
6117 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6118 +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6119 +do
6120 + IFS=$as_save_IFS
6121 + test -z "$as_dir" && as_dir=.
6122 + for ac_prog in grep ggrep; do
6123 + for ac_exec_ext in '' $ac_executable_extensions; do
6124 + ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6125 + { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
6126 + # Check for GNU ac_path_GREP and select it if it is found.
6127 + # Check for GNU $ac_path_GREP
6128 +case `"$ac_path_GREP" --version 2>&1` in
6129 +*GNU*)
6130 + ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6131 +*)
6132 + ac_count=0
6133 + echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
6134 + while :
6135 + do
6136 + cat "conftest.in" "conftest.in" >"conftest.tmp"
6137 + mv "conftest.tmp" "conftest.in"
6138 + cp "conftest.in" "conftest.nl"
6139 + echo 'GREP' >> "conftest.nl"
6140 + "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6141 + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6142 + ac_count=`expr $ac_count + 1`
6143 + if test $ac_count -gt ${ac_path_GREP_max-0}; then
6144 + # Best one so far, save it but keep looking for a better one
6145 + ac_cv_path_GREP="$ac_path_GREP"
6146 + ac_path_GREP_max=$ac_count
6147 fi
6148 -fi
6149 -echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
6150 -echo "${ECHO_T}$ac_cv_prog_egrep" >&6
6151 - EGREP=$ac_cv_prog_egrep
6152 + # 10*(2^10) chars as input seems more than enough
6153 + test $ac_count -gt 10 && break
6154 + done
6155 + rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6156 +esac
6157
6158
6159 -echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6160 -echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
6161 -if test "${ac_cv_header_stdc+set}" = set; then
6162 - echo $ECHO_N "(cached) $ECHO_C" >&6
6163 -else
6164 - cat >conftest.$ac_ext <<_ACEOF
6165 -/* confdefs.h. */
6166 -_ACEOF
6167 -cat confdefs.h >>conftest.$ac_ext
6168 -cat >>conftest.$ac_ext <<_ACEOF
6169 -/* end confdefs.h. */
6170 -#include <stdlib.h>
6171 -#include <stdarg.h>
6172 -#include <string.h>
6173 -#include <float.h>
6174 + $ac_path_GREP_found && break 3
6175 + done
6176 +done
6177
6178 -int
6179 -main ()
6180 -{
6181 +done
6182 +IFS=$as_save_IFS
6183
6184 - ;
6185 - return 0;
6186 -}
6187 -_ACEOF
6188 -rm -f conftest.$ac_objext
6189 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6190 - (eval $ac_compile) 2>conftest.er1
6191 - ac_status=$?
6192 - grep -v '^ *+' conftest.er1 >conftest.err
6193 - rm -f conftest.er1
6194 - cat conftest.err >&5
6195 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6196 - (exit $ac_status); } &&
6197 - { ac_try='test -z "$ac_c_werror_flag"
6198 - || test ! -s conftest.err'
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); }; } &&
6204 - { ac_try='test -s conftest.$ac_objext'
6205 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6206 - (eval $ac_try) 2>&5
6207 - ac_status=$?
6208 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6209 - (exit $ac_status); }; }; then
6210 - ac_cv_header_stdc=yes
6211 -else
6212 - echo "$as_me: failed program was:" >&5
6213 -sed 's/^/| /' conftest.$ac_ext >&5
6214
6215 -ac_cv_header_stdc=no
6216 fi
6217 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6218
6219 -if test $ac_cv_header_stdc = yes; then
6220 - # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6221 - cat >conftest.$ac_ext <<_ACEOF
6222 -/* confdefs.h. */
6223 -_ACEOF
6224 -cat confdefs.h >>conftest.$ac_ext
6225 -cat >>conftest.$ac_ext <<_ACEOF
6226 -/* end confdefs.h. */
6227 -#include <string.h>
6228 +GREP="$ac_cv_path_GREP"
6229 +if test -z "$GREP"; then
6230 + { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
6231 +echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
6232 + { (exit 1); exit 1; }; }
6233 +fi
6234
6235 -_ACEOF
6236 +else
6237 + ac_cv_path_GREP=$GREP
6238 +fi
6239 +
6240 +
6241 +fi
6242 +{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
6243 +echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
6244 + GREP="$ac_cv_path_GREP"
6245 +
6246 +
6247 +{ echo "$as_me:$LINENO: checking for egrep" >&5
6248 +echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
6249 +if test "${ac_cv_path_EGREP+set}" = set; then
6250 + echo $ECHO_N "(cached) $ECHO_C" >&6
6251 +else
6252 + if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6253 + then ac_cv_path_EGREP="$GREP -E"
6254 + else
6255 + # Extract the first word of "egrep" to use in msg output
6256 +if test -z "$EGREP"; then
6257 +set dummy egrep; ac_prog_name=$2
6258 +if test "${ac_cv_path_EGREP+set}" = set; then
6259 + echo $ECHO_N "(cached) $ECHO_C" >&6
6260 +else
6261 + ac_path_EGREP_found=false
6262 +# Loop through the user's path and test for each of PROGNAME-LIST
6263 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6264 +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6265 +do
6266 + IFS=$as_save_IFS
6267 + test -z "$as_dir" && as_dir=.
6268 + for ac_prog in egrep; do
6269 + for ac_exec_ext in '' $ac_executable_extensions; do
6270 + ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6271 + { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
6272 + # Check for GNU ac_path_EGREP and select it if it is found.
6273 + # Check for GNU $ac_path_EGREP
6274 +case `"$ac_path_EGREP" --version 2>&1` in
6275 +*GNU*)
6276 + ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6277 +*)
6278 + ac_count=0
6279 + echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
6280 + while :
6281 + do
6282 + cat "conftest.in" "conftest.in" >"conftest.tmp"
6283 + mv "conftest.tmp" "conftest.in"
6284 + cp "conftest.in" "conftest.nl"
6285 + echo 'EGREP' >> "conftest.nl"
6286 + "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6287 + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6288 + ac_count=`expr $ac_count + 1`
6289 + if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6290 + # Best one so far, save it but keep looking for a better one
6291 + ac_cv_path_EGREP="$ac_path_EGREP"
6292 + ac_path_EGREP_max=$ac_count
6293 + fi
6294 + # 10*(2^10) chars as input seems more than enough
6295 + test $ac_count -gt 10 && break
6296 + done
6297 + rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6298 +esac
6299 +
6300 +
6301 + $ac_path_EGREP_found && break 3
6302 + done
6303 +done
6304 +
6305 +done
6306 +IFS=$as_save_IFS
6307 +
6308 +
6309 +fi
6310 +
6311 +EGREP="$ac_cv_path_EGREP"
6312 +if test -z "$EGREP"; then
6313 + { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
6314 +echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
6315 + { (exit 1); exit 1; }; }
6316 +fi
6317 +
6318 +else
6319 + ac_cv_path_EGREP=$EGREP
6320 +fi
6321 +
6322 +
6323 + fi
6324 +fi
6325 +{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
6326 +echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
6327 + EGREP="$ac_cv_path_EGREP"
6328 +
6329 +
6330 +{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6331 +echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
6332 +if test "${ac_cv_header_stdc+set}" = set; then
6333 + echo $ECHO_N "(cached) $ECHO_C" >&6
6334 +else
6335 + cat >conftest.$ac_ext <<_ACEOF
6336 +/* confdefs.h. */
6337 +_ACEOF
6338 +cat confdefs.h >>conftest.$ac_ext
6339 +cat >>conftest.$ac_ext <<_ACEOF
6340 +/* end confdefs.h. */
6341 +#include <stdlib.h>
6342 +#include <stdarg.h>
6343 +#include <string.h>
6344 +#include <float.h>
6345 +
6346 +int
6347 +main ()
6348 +{
6349 +
6350 + ;
6351 + return 0;
6352 +}
6353 +_ACEOF
6354 +rm -f conftest.$ac_objext
6355 +if { (ac_try="$ac_compile"
6356 +case "(($ac_try" in
6357 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6358 + *) ac_try_echo=$ac_try;;
6359 +esac
6360 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6361 + (eval "$ac_compile") 2>conftest.er1
6362 + ac_status=$?
6363 + grep -v '^ *+' conftest.er1 >conftest.err
6364 + rm -f conftest.er1
6365 + cat conftest.err >&5
6366 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6367 + (exit $ac_status); } && {
6368 + test -z "$ac_c_werror_flag" ||
6369 + test ! -s conftest.err
6370 + } && test -s conftest.$ac_objext; then
6371 + ac_cv_header_stdc=yes
6372 +else
6373 + echo "$as_me: failed program was:" >&5
6374 +sed 's/^/| /' conftest.$ac_ext >&5
6375 +
6376 + ac_cv_header_stdc=no
6377 +fi
6378 +
6379 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6380 +
6381 +if test $ac_cv_header_stdc = yes; then
6382 + # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6383 + cat >conftest.$ac_ext <<_ACEOF
6384 +/* confdefs.h. */
6385 +_ACEOF
6386 +cat confdefs.h >>conftest.$ac_ext
6387 +cat >>conftest.$ac_ext <<_ACEOF
6388 +/* end confdefs.h. */
6389 +#include <string.h>
6390 +
6391 +_ACEOF
6392 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6393 $EGREP "memchr" >/dev/null 2>&1; then
6394 :
6395 @@ -5713,6 +6396,7 @@
6396 cat >>conftest.$ac_ext <<_ACEOF
6397 /* end confdefs.h. */
6398 #include <ctype.h>
6399 +#include <stdlib.h>
6400 #if ((' ' & 0x0FF) == 0x020)
6401 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6402 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6403 @@ -5732,18 +6416,27 @@
6404 for (i = 0; i < 256; i++)
6405 if (XOR (islower (i), ISLOWER (i))
6406 || toupper (i) != TOUPPER (i))
6407 - exit(2);
6408 - exit (0);
6409 + return 2;
6410 + return 0;
6411 }
6412 _ACEOF
6413 rm -f conftest$ac_exeext
6414 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6415 - (eval $ac_link) 2>&5
6416 +if { (ac_try="$ac_link"
6417 +case "(($ac_try" in
6418 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6419 + *) ac_try_echo=$ac_try;;
6420 +esac
6421 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6422 + (eval "$ac_link") 2>&5
6423 ac_status=$?
6424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6425 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6426 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6427 - (eval $ac_try) 2>&5
6428 + { (case "(($ac_try" in
6429 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6430 + *) ac_try_echo=$ac_try;;
6431 +esac
6432 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6433 + (eval "$ac_try") 2>&5
6434 ac_status=$?
6435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6436 (exit $ac_status); }; }; then
6437 @@ -5756,12 +6449,14 @@
6438 ( exit $ac_status )
6439 ac_cv_header_stdc=no
6440 fi
6441 -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6442 +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6443 fi
6444 +
6445 +
6446 fi
6447 fi
6448 -echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6449 -echo "${ECHO_T}$ac_cv_header_stdc" >&6
6450 +{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6451 +echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
6452 if test $ac_cv_header_stdc = yes; then
6453
6454 cat >>confdefs.h <<\_ACEOF
6455 @@ -5770,8 +6465,8 @@
6456
6457 fi
6458
6459 -echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
6460 -echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
6461 +{ echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
6462 +echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
6463 if test "${ac_cv_c_const+set}" = set; then
6464 echo $ECHO_N "(cached) $ECHO_C" >&6
6465 else
6466 @@ -5789,10 +6484,10 @@
6467 #ifndef __cplusplus
6468 /* Ultrix mips cc rejects this. */
6469 typedef int charset[2];
6470 - const charset x;
6471 + const charset cs;
6472 /* SunOS 4.1.1 cc rejects this. */
6473 - char const *const *ccp;
6474 - char **p;
6475 + char const *const *pcpcc;
6476 + char **ppc;
6477 /* NEC SVR4.0.2 mips cc rejects this. */
6478 struct point {int x, y;};
6479 static struct point const zero = {0,0};
6480 @@ -5801,16 +6496,17 @@
6481 an arm of an if-expression whose if-part is not a constant
6482 expression */
6483 const char *g = "string";
6484 - ccp = &g + (g ? g-g : 0);
6485 + pcpcc = &g + (g ? g-g : 0);
6486 /* HPUX 7.0 cc rejects these. */
6487 - ++ccp;
6488 - p = (char**) ccp;
6489 - ccp = (char const *const *) p;
6490 + ++pcpcc;
6491 + ppc = (char**) pcpcc;
6492 + pcpcc = (char const *const *) ppc;
6493 { /* SCO 3.2v4 cc rejects this. */
6494 char *t;
6495 char const *s = 0 ? (char *) 0 : (char const *) 0;
6496
6497 *t++ = 0;
6498 + if (s) return 0;
6499 }
6500 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
6501 int x[] = {25, 17};
6502 @@ -5829,7 +6525,9 @@
6503 }
6504 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
6505 const int foo = 10;
6506 + if (!foo) return 0;
6507 }
6508 + return !cs[0] && !zero.x;
6509 #endif
6510
6511 ;
6512 @@ -5837,38 +6535,34 @@
6513 }
6514 _ACEOF
6515 rm -f conftest.$ac_objext
6516 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6517 - (eval $ac_compile) 2>conftest.er1
6518 +if { (ac_try="$ac_compile"
6519 +case "(($ac_try" in
6520 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6521 + *) ac_try_echo=$ac_try;;
6522 +esac
6523 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6524 + (eval "$ac_compile") 2>conftest.er1
6525 ac_status=$?
6526 grep -v '^ *+' conftest.er1 >conftest.err
6527 rm -f conftest.er1
6528 cat conftest.err >&5
6529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6530 - (exit $ac_status); } &&
6531 - { ac_try='test -z "$ac_c_werror_flag"
6532 - || test ! -s conftest.err'
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); }; } &&
6538 - { ac_try='test -s conftest.$ac_objext'
6539 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6540 - (eval $ac_try) 2>&5
6541 - ac_status=$?
6542 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6543 - (exit $ac_status); }; }; then
6544 + (exit $ac_status); } && {
6545 + test -z "$ac_c_werror_flag" ||
6546 + test ! -s conftest.err
6547 + } && test -s conftest.$ac_objext; then
6548 ac_cv_c_const=yes
6549 else
6550 echo "$as_me: failed program was:" >&5
6551 sed 's/^/| /' conftest.$ac_ext >&5
6552
6553 -ac_cv_c_const=no
6554 + ac_cv_c_const=no
6555 fi
6556 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6557 +
6558 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6559 fi
6560 -echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
6561 -echo "${ECHO_T}$ac_cv_c_const" >&6
6562 +{ echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
6563 +echo "${ECHO_T}$ac_cv_c_const" >&6; }
6564 if test $ac_cv_c_const = no; then
6565
6566 cat >>confdefs.h <<\_ACEOF
6567 @@ -5877,8 +6571,8 @@
6568
6569 fi
6570
6571 -echo "$as_me:$LINENO: checking for inline" >&5
6572 -echo $ECHO_N "checking for inline... $ECHO_C" >&6
6573 +{ echo "$as_me:$LINENO: checking for inline" >&5
6574 +echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
6575 if test "${ac_cv_c_inline+set}" = set; then
6576 echo $ECHO_N "(cached) $ECHO_C" >&6
6577 else
6578 @@ -5898,39 +6592,37 @@
6579
6580 _ACEOF
6581 rm -f conftest.$ac_objext
6582 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6583 - (eval $ac_compile) 2>conftest.er1
6584 +if { (ac_try="$ac_compile"
6585 +case "(($ac_try" in
6586 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6587 + *) ac_try_echo=$ac_try;;
6588 +esac
6589 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6590 + (eval "$ac_compile") 2>conftest.er1
6591 ac_status=$?
6592 grep -v '^ *+' conftest.er1 >conftest.err
6593 rm -f conftest.er1
6594 cat conftest.err >&5
6595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6596 - (exit $ac_status); } &&
6597 - { ac_try='test -z "$ac_c_werror_flag"
6598 - || test ! -s conftest.err'
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); }; } &&
6604 - { ac_try='test -s conftest.$ac_objext'
6605 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6606 - (eval $ac_try) 2>&5
6607 - ac_status=$?
6608 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6609 - (exit $ac_status); }; }; then
6610 - ac_cv_c_inline=$ac_kw; break
6611 + (exit $ac_status); } && {
6612 + test -z "$ac_c_werror_flag" ||
6613 + test ! -s conftest.err
6614 + } && test -s conftest.$ac_objext; then
6615 + ac_cv_c_inline=$ac_kw
6616 else
6617 echo "$as_me: failed program was:" >&5
6618 sed 's/^/| /' conftest.$ac_ext >&5
6619
6620 +
6621 fi
6622 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6623 +
6624 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6625 + test "$ac_cv_c_inline" != no && break
6626 done
6627
6628 fi
6629 -echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
6630 -echo "${ECHO_T}$ac_cv_c_inline" >&6
6631 +{ echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
6632 +echo "${ECHO_T}$ac_cv_c_inline" >&6; }
6633
6634
6635 case $ac_cv_c_inline in
6636 @@ -5962,9 +6654,9 @@
6637 inttypes.h stdint.h unistd.h
6638 do
6639 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6640 -echo "$as_me:$LINENO: checking for $ac_header" >&5
6641 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6642 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
6643 +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
6644 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6645 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6646 echo $ECHO_N "(cached) $ECHO_C" >&6
6647 else
6648 cat >conftest.$ac_ext <<_ACEOF
6649 @@ -5978,38 +6670,35 @@
6650 #include <$ac_header>
6651 _ACEOF
6652 rm -f conftest.$ac_objext
6653 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6654 - (eval $ac_compile) 2>conftest.er1
6655 +if { (ac_try="$ac_compile"
6656 +case "(($ac_try" in
6657 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6658 + *) ac_try_echo=$ac_try;;
6659 +esac
6660 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6661 + (eval "$ac_compile") 2>conftest.er1
6662 ac_status=$?
6663 grep -v '^ *+' conftest.er1 >conftest.err
6664 rm -f conftest.er1
6665 cat conftest.err >&5
6666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6667 - (exit $ac_status); } &&
6668 - { ac_try='test -z "$ac_c_werror_flag"
6669 - || test ! -s conftest.err'
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); }; } &&
6675 - { ac_try='test -s conftest.$ac_objext'
6676 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6677 - (eval $ac_try) 2>&5
6678 - ac_status=$?
6679 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6680 - (exit $ac_status); }; }; then
6681 + (exit $ac_status); } && {
6682 + test -z "$ac_c_werror_flag" ||
6683 + test ! -s conftest.err
6684 + } && test -s conftest.$ac_objext; then
6685 eval "$as_ac_Header=yes"
6686 else
6687 echo "$as_me: failed program was:" >&5
6688 sed 's/^/| /' conftest.$ac_ext >&5
6689
6690 -eval "$as_ac_Header=no"
6691 + eval "$as_ac_Header=no"
6692 fi
6693 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6694 +
6695 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6696 fi
6697 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6698 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6699 +ac_res=`eval echo '${'$as_ac_Header'}'`
6700 + { echo "$as_me:$LINENO: result: $ac_res" >&5
6701 +echo "${ECHO_T}$ac_res" >&6; }
6702 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6703 cat >>confdefs.h <<_ACEOF
6704 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6705 @@ -6020,8 +6709,8 @@
6706 done
6707
6708
6709 -echo "$as_me:$LINENO: checking for off_t" >&5
6710 -echo $ECHO_N "checking for off_t... $ECHO_C" >&6
6711 +{ echo "$as_me:$LINENO: checking for off_t" >&5
6712 +echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
6713 if test "${ac_cv_type_off_t+set}" = set; then
6714 echo $ECHO_N "(cached) $ECHO_C" >&6
6715 else
6716 @@ -6032,62 +6721,59 @@
6717 cat >>conftest.$ac_ext <<_ACEOF
6718 /* end confdefs.h. */
6719 $ac_includes_default
6720 +typedef off_t ac__type_new_;
6721 int
6722 main ()
6723 {
6724 -if ((off_t *) 0)
6725 +if ((ac__type_new_ *) 0)
6726 return 0;
6727 -if (sizeof (off_t))
6728 +if (sizeof (ac__type_new_))
6729 return 0;
6730 ;
6731 return 0;
6732 }
6733 _ACEOF
6734 rm -f conftest.$ac_objext
6735 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6736 - (eval $ac_compile) 2>conftest.er1
6737 +if { (ac_try="$ac_compile"
6738 +case "(($ac_try" in
6739 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6740 + *) ac_try_echo=$ac_try;;
6741 +esac
6742 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6743 + (eval "$ac_compile") 2>conftest.er1
6744 ac_status=$?
6745 grep -v '^ *+' conftest.er1 >conftest.err
6746 rm -f conftest.er1
6747 cat conftest.err >&5
6748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6749 - (exit $ac_status); } &&
6750 - { ac_try='test -z "$ac_c_werror_flag"
6751 - || test ! -s conftest.err'
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); }; } &&
6757 - { ac_try='test -s conftest.$ac_objext'
6758 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6759 - (eval $ac_try) 2>&5
6760 - ac_status=$?
6761 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6762 - (exit $ac_status); }; }; then
6763 + (exit $ac_status); } && {
6764 + test -z "$ac_c_werror_flag" ||
6765 + test ! -s conftest.err
6766 + } && test -s conftest.$ac_objext; then
6767 ac_cv_type_off_t=yes
6768 else
6769 echo "$as_me: failed program was:" >&5
6770 sed 's/^/| /' conftest.$ac_ext >&5
6771
6772 -ac_cv_type_off_t=no
6773 + ac_cv_type_off_t=no
6774 fi
6775 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6776 +
6777 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6778 fi
6779 -echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
6780 -echo "${ECHO_T}$ac_cv_type_off_t" >&6
6781 +{ echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
6782 +echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
6783 if test $ac_cv_type_off_t = yes; then
6784 :
6785 else
6786
6787 cat >>confdefs.h <<_ACEOF
6788 -#define off_t long
6789 +#define off_t long int
6790 _ACEOF
6791
6792 fi
6793
6794 -echo "$as_me:$LINENO: checking for size_t" >&5
6795 -echo $ECHO_N "checking for size_t... $ECHO_C" >&6
6796 +{ echo "$as_me:$LINENO: checking for size_t" >&5
6797 +echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
6798 if test "${ac_cv_type_size_t+set}" = set; then
6799 echo $ECHO_N "(cached) $ECHO_C" >&6
6800 else
6801 @@ -6098,64 +6784,61 @@
6802 cat >>conftest.$ac_ext <<_ACEOF
6803 /* end confdefs.h. */
6804 $ac_includes_default
6805 +typedef size_t ac__type_new_;
6806 int
6807 main ()
6808 {
6809 -if ((size_t *) 0)
6810 +if ((ac__type_new_ *) 0)
6811 return 0;
6812 -if (sizeof (size_t))
6813 +if (sizeof (ac__type_new_))
6814 return 0;
6815 ;
6816 return 0;
6817 }
6818 _ACEOF
6819 rm -f conftest.$ac_objext
6820 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6821 - (eval $ac_compile) 2>conftest.er1
6822 +if { (ac_try="$ac_compile"
6823 +case "(($ac_try" in
6824 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6825 + *) ac_try_echo=$ac_try;;
6826 +esac
6827 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6828 + (eval "$ac_compile") 2>conftest.er1
6829 ac_status=$?
6830 grep -v '^ *+' conftest.er1 >conftest.err
6831 rm -f conftest.er1
6832 cat conftest.err >&5
6833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6834 - (exit $ac_status); } &&
6835 - { ac_try='test -z "$ac_c_werror_flag"
6836 - || test ! -s conftest.err'
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); }; } &&
6842 - { ac_try='test -s conftest.$ac_objext'
6843 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6844 - (eval $ac_try) 2>&5
6845 - ac_status=$?
6846 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6847 - (exit $ac_status); }; }; then
6848 + (exit $ac_status); } && {
6849 + test -z "$ac_c_werror_flag" ||
6850 + test ! -s conftest.err
6851 + } && test -s conftest.$ac_objext; then
6852 ac_cv_type_size_t=yes
6853 else
6854 echo "$as_me: failed program was:" >&5
6855 sed 's/^/| /' conftest.$ac_ext >&5
6856
6857 -ac_cv_type_size_t=no
6858 + ac_cv_type_size_t=no
6859 fi
6860 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6861 +
6862 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6863 fi
6864 -echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
6865 -echo "${ECHO_T}$ac_cv_type_size_t" >&6
6866 +{ echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
6867 +echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
6868 if test $ac_cv_type_size_t = yes; then
6869 :
6870 else
6871
6872 cat >>confdefs.h <<_ACEOF
6873 -#define size_t unsigned
6874 +#define size_t unsigned int
6875 _ACEOF
6876
6877 fi
6878
6879 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
6880 # for constant arguments. Useless!
6881 -echo "$as_me:$LINENO: checking for working alloca.h" >&5
6882 -echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
6883 +{ echo "$as_me:$LINENO: checking for working alloca.h" >&5
6884 +echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6; }
6885 if test "${ac_cv_working_alloca_h+set}" = set; then
6886 echo $ECHO_N "(cached) $ECHO_C" >&6
6887 else
6888 @@ -6170,44 +6853,42 @@
6889 main ()
6890 {
6891 char *p = (char *) alloca (2 * sizeof (int));
6892 + if (p) return 0;
6893 ;
6894 return 0;
6895 }
6896 _ACEOF
6897 rm -f conftest.$ac_objext conftest$ac_exeext
6898 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6899 - (eval $ac_link) 2>conftest.er1
6900 +if { (ac_try="$ac_link"
6901 +case "(($ac_try" in
6902 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6903 + *) ac_try_echo=$ac_try;;
6904 +esac
6905 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6906 + (eval "$ac_link") 2>conftest.er1
6907 ac_status=$?
6908 grep -v '^ *+' conftest.er1 >conftest.err
6909 rm -f conftest.er1
6910 cat conftest.err >&5
6911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6912 - (exit $ac_status); } &&
6913 - { ac_try='test -z "$ac_c_werror_flag"
6914 - || test ! -s conftest.err'
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); }; } &&
6920 - { ac_try='test -s conftest$ac_exeext'
6921 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6922 - (eval $ac_try) 2>&5
6923 - ac_status=$?
6924 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6925 - (exit $ac_status); }; }; then
6926 + (exit $ac_status); } && {
6927 + test -z "$ac_c_werror_flag" ||
6928 + test ! -s conftest.err
6929 + } && test -s conftest$ac_exeext &&
6930 + $as_test_x conftest$ac_exeext; then
6931 ac_cv_working_alloca_h=yes
6932 else
6933 echo "$as_me: failed program was:" >&5
6934 sed 's/^/| /' conftest.$ac_ext >&5
6935
6936 -ac_cv_working_alloca_h=no
6937 + ac_cv_working_alloca_h=no
6938 fi
6939 -rm -f conftest.err conftest.$ac_objext \
6940 +
6941 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6942 conftest$ac_exeext conftest.$ac_ext
6943 fi
6944 -echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
6945 -echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
6946 +{ echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
6947 +echo "${ECHO_T}$ac_cv_working_alloca_h" >&6; }
6948 if test $ac_cv_working_alloca_h = yes; then
6949
6950 cat >>confdefs.h <<\_ACEOF
6951 @@ -6216,8 +6897,8 @@
6952
6953 fi
6954
6955 -echo "$as_me:$LINENO: checking for alloca" >&5
6956 -echo $ECHO_N "checking for alloca... $ECHO_C" >&6
6957 +{ echo "$as_me:$LINENO: checking for alloca" >&5
6958 +echo $ECHO_N "checking for alloca... $ECHO_C" >&6; }
6959 if test "${ac_cv_func_alloca_works+set}" = set; then
6960 echo $ECHO_N "(cached) $ECHO_C" >&6
6961 else
6962 @@ -6234,7 +6915,7 @@
6963 # include <malloc.h>
6964 # define alloca _alloca
6965 # else
6966 -# if HAVE_ALLOCA_H
6967 +# ifdef HAVE_ALLOCA_H
6968 # include <alloca.h>
6969 # else
6970 # ifdef _AIX
6971 @@ -6252,44 +6933,42 @@
6972 main ()
6973 {
6974 char *p = (char *) alloca (1);
6975 + if (p) return 0;
6976 ;
6977 return 0;
6978 }
6979 _ACEOF
6980 rm -f conftest.$ac_objext conftest$ac_exeext
6981 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6982 - (eval $ac_link) 2>conftest.er1
6983 +if { (ac_try="$ac_link"
6984 +case "(($ac_try" in
6985 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6986 + *) ac_try_echo=$ac_try;;
6987 +esac
6988 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6989 + (eval "$ac_link") 2>conftest.er1
6990 ac_status=$?
6991 grep -v '^ *+' conftest.er1 >conftest.err
6992 rm -f conftest.er1
6993 cat conftest.err >&5
6994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6995 - (exit $ac_status); } &&
6996 - { ac_try='test -z "$ac_c_werror_flag"
6997 - || test ! -s conftest.err'
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); }; } &&
7003 - { ac_try='test -s conftest$ac_exeext'
7004 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7005 - (eval $ac_try) 2>&5
7006 - ac_status=$?
7007 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
7008 - (exit $ac_status); }; }; then
7009 + (exit $ac_status); } && {
7010 + test -z "$ac_c_werror_flag" ||
7011 + test ! -s conftest.err
7012 + } && test -s conftest$ac_exeext &&
7013 + $as_test_x conftest$ac_exeext; then
7014 ac_cv_func_alloca_works=yes
7015 else
7016 echo "$as_me: failed program was:" >&5
7017 sed 's/^/| /' conftest.$ac_ext >&5
7018
7019 -ac_cv_func_alloca_works=no
7020 + ac_cv_func_alloca_works=no
7021 fi
7022 -rm -f conftest.err conftest.$ac_objext \
7023 +
7024 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7025 conftest$ac_exeext conftest.$ac_ext
7026 fi
7027 -echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
7028 -echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
7029 +{ echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
7030 +echo "${ECHO_T}$ac_cv_func_alloca_works" >&6; }
7031
7032 if test $ac_cv_func_alloca_works = yes; then
7033
7034 @@ -6303,15 +6982,15 @@
7035 # contain a buggy version. If you still want to use their alloca,
7036 # use ar to extract alloca.o from them instead of compiling alloca.c.
7037
7038 -ALLOCA=alloca.$ac_objext
7039 +ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
7040
7041 cat >>confdefs.h <<\_ACEOF
7042 #define C_ALLOCA 1
7043 _ACEOF
7044
7045
7046 -echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
7047 -echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
7048 +{ echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
7049 +echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6; }
7050 if test "${ac_cv_os_cray+set}" = set; then
7051 echo $ECHO_N "(cached) $ECHO_C" >&6
7052 else
7053 @@ -6321,7 +7000,7 @@
7054 cat confdefs.h >>conftest.$ac_ext
7055 cat >>conftest.$ac_ext <<_ACEOF
7056 /* end confdefs.h. */
7057 -#if defined(CRAY) && ! defined(CRAY2)
7058 +#if defined CRAY && ! defined CRAY2
7059 webecray
7060 #else
7061 wenotbecray
7062 @@ -6337,14 +7016,14 @@
7063 rm -f conftest*
7064
7065 fi
7066 -echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
7067 -echo "${ECHO_T}$ac_cv_os_cray" >&6
7068 +{ echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
7069 +echo "${ECHO_T}$ac_cv_os_cray" >&6; }
7070 if test $ac_cv_os_cray = yes; then
7071 for ac_func in _getb67 GETB67 getb67; do
7072 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7073 -echo "$as_me:$LINENO: checking for $ac_func" >&5
7074 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7075 -if eval "test \"\${$as_ac_var+set}\" = set"; then
7076 +{ echo "$as_me:$LINENO: checking for $ac_func" >&5
7077 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
7078 +if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7079 echo $ECHO_N "(cached) $ECHO_C" >&6
7080 else
7081 cat >conftest.$ac_ext <<_ACEOF
7082 @@ -6370,68 +7049,60 @@
7083
7084 #undef $ac_func
7085
7086 -/* Override any gcc2 internal prototype to avoid an error. */
7087 +/* Override any GCC internal prototype to avoid an error.
7088 + Use char because int might match the return type of a GCC
7089 + builtin and then its argument prototype would still apply. */
7090 #ifdef __cplusplus
7091 extern "C"
7092 -{
7093 #endif
7094 -/* We use char because int might match the return type of a gcc2
7095 - builtin and then its argument prototype would still apply. */
7096 char $ac_func ();
7097 /* The GNU C library defines this for functions which it implements
7098 to always fail with ENOSYS. Some functions are actually named
7099 something starting with __ and the normal name is an alias. */
7100 -#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7101 +#if defined __stub_$ac_func || defined __stub___$ac_func
7102 choke me
7103 -#else
7104 -char (*f) () = $ac_func;
7105 -#endif
7106 -#ifdef __cplusplus
7107 -}
7108 #endif
7109
7110 int
7111 main ()
7112 {
7113 -return f != $ac_func;
7114 +return $ac_func ();
7115 ;
7116 return 0;
7117 }
7118 _ACEOF
7119 rm -f conftest.$ac_objext conftest$ac_exeext
7120 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7121 - (eval $ac_link) 2>conftest.er1
7122 +if { (ac_try="$ac_link"
7123 +case "(($ac_try" in
7124 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7125 + *) ac_try_echo=$ac_try;;
7126 +esac
7127 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7128 + (eval "$ac_link") 2>conftest.er1
7129 ac_status=$?
7130 grep -v '^ *+' conftest.er1 >conftest.err
7131 rm -f conftest.er1
7132 cat conftest.err >&5
7133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7134 - (exit $ac_status); } &&
7135 - { ac_try='test -z "$ac_c_werror_flag"
7136 - || test ! -s conftest.err'
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); }; } &&
7142 - { ac_try='test -s conftest$ac_exeext'
7143 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7144 - (eval $ac_try) 2>&5
7145 - ac_status=$?
7146 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
7147 - (exit $ac_status); }; }; then
7148 + (exit $ac_status); } && {
7149 + test -z "$ac_c_werror_flag" ||
7150 + test ! -s conftest.err
7151 + } && test -s conftest$ac_exeext &&
7152 + $as_test_x conftest$ac_exeext; then
7153 eval "$as_ac_var=yes"
7154 else
7155 echo "$as_me: failed program was:" >&5
7156 sed 's/^/| /' conftest.$ac_ext >&5
7157
7158 -eval "$as_ac_var=no"
7159 + eval "$as_ac_var=no"
7160 fi
7161 -rm -f conftest.err conftest.$ac_objext \
7162 +
7163 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7164 conftest$ac_exeext conftest.$ac_ext
7165 fi
7166 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7167 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7168 +ac_res=`eval echo '${'$as_ac_var'}'`
7169 + { echo "$as_me:$LINENO: result: $ac_res" >&5
7170 +echo "${ECHO_T}$ac_res" >&6; }
7171 if test `eval echo '${'$as_ac_var'}'` = yes; then
7172
7173 cat >>confdefs.h <<_ACEOF
7174 @@ -6444,8 +7115,8 @@
7175 done
7176 fi
7177
7178 -echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
7179 -echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
7180 +{ echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
7181 +echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6; }
7182 if test "${ac_cv_c_stack_direction+set}" = set; then
7183 echo $ECHO_N "(cached) $ECHO_C" >&6
7184 else
7185 @@ -6458,6 +7129,7 @@
7186 cat confdefs.h >>conftest.$ac_ext
7187 cat >>conftest.$ac_ext <<_ACEOF
7188 /* end confdefs.h. */
7189 +$ac_includes_default
7190 int
7191 find_stack_direction ()
7192 {
7193 @@ -6475,17 +7147,26 @@
7194 int
7195 main ()
7196 {
7197 - exit (find_stack_direction () < 0);
7198 + return find_stack_direction () < 0;
7199 }
7200 _ACEOF
7201 rm -f conftest$ac_exeext
7202 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7203 - (eval $ac_link) 2>&5
7204 +if { (ac_try="$ac_link"
7205 +case "(($ac_try" in
7206 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7207 + *) ac_try_echo=$ac_try;;
7208 +esac
7209 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7210 + (eval "$ac_link") 2>&5
7211 ac_status=$?
7212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7213 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7214 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7215 - (eval $ac_try) 2>&5
7216 + { (case "(($ac_try" in
7217 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7218 + *) ac_try_echo=$ac_try;;
7219 +esac
7220 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7221 + (eval "$ac_try") 2>&5
7222 ac_status=$?
7223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7224 (exit $ac_status); }; }; then
7225 @@ -6498,11 +7179,13 @@
7226 ( exit $ac_status )
7227 ac_cv_c_stack_direction=-1
7228 fi
7229 -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7230 +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7231 fi
7232 +
7233 +
7234 fi
7235 -echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
7236 -echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
7237 +{ echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
7238 +echo "${ECHO_T}$ac_cv_c_stack_direction" >&6; }
7239
7240 cat >>confdefs.h <<_ACEOF
7241 #define STACK_DIRECTION $ac_cv_c_stack_direction
7242 @@ -6516,18 +7199,19 @@
7243 for ac_header in stdlib.h unistd.h
7244 do
7245 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7246 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
7247 - echo "$as_me:$LINENO: checking for $ac_header" >&5
7248 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7249 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
7250 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7251 + { echo "$as_me:$LINENO: checking for $ac_header" >&5
7252 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7253 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7254 echo $ECHO_N "(cached) $ECHO_C" >&6
7255 fi
7256 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7257 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7258 +ac_res=`eval echo '${'$as_ac_Header'}'`
7259 + { echo "$as_me:$LINENO: result: $ac_res" >&5
7260 +echo "${ECHO_T}$ac_res" >&6; }
7261 else
7262 # Is the header compilable?
7263 -echo "$as_me:$LINENO: checking $ac_header usability" >&5
7264 -echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7265 +{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
7266 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
7267 cat >conftest.$ac_ext <<_ACEOF
7268 /* confdefs.h. */
7269 _ACEOF
7270 @@ -6538,41 +7222,37 @@
7271 #include <$ac_header>
7272 _ACEOF
7273 rm -f conftest.$ac_objext
7274 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7275 - (eval $ac_compile) 2>conftest.er1
7276 +if { (ac_try="$ac_compile"
7277 +case "(($ac_try" in
7278 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7279 + *) ac_try_echo=$ac_try;;
7280 +esac
7281 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7282 + (eval "$ac_compile") 2>conftest.er1
7283 ac_status=$?
7284 grep -v '^ *+' conftest.er1 >conftest.err
7285 rm -f conftest.er1
7286 cat conftest.err >&5
7287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7288 - (exit $ac_status); } &&
7289 - { ac_try='test -z "$ac_c_werror_flag"
7290 - || test ! -s conftest.err'
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); }; } &&
7296 - { ac_try='test -s conftest.$ac_objext'
7297 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7298 - (eval $ac_try) 2>&5
7299 - ac_status=$?
7300 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
7301 - (exit $ac_status); }; }; then
7302 + (exit $ac_status); } && {
7303 + test -z "$ac_c_werror_flag" ||
7304 + test ! -s conftest.err
7305 + } && test -s conftest.$ac_objext; then
7306 ac_header_compiler=yes
7307 else
7308 echo "$as_me: failed program was:" >&5
7309 sed 's/^/| /' conftest.$ac_ext >&5
7310
7311 -ac_header_compiler=no
7312 + ac_header_compiler=no
7313 fi
7314 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7315 -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7316 -echo "${ECHO_T}$ac_header_compiler" >&6
7317 +
7318 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7319 +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7320 +echo "${ECHO_T}$ac_header_compiler" >&6; }
7321
7322 # Is the header present?
7323 -echo "$as_me:$LINENO: checking $ac_header presence" >&5
7324 -echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7325 +{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
7326 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
7327 cat >conftest.$ac_ext <<_ACEOF
7328 /* confdefs.h. */
7329 _ACEOF
7330 @@ -6581,24 +7261,22 @@
7331 /* end confdefs.h. */
7332 #include <$ac_header>
7333 _ACEOF
7334 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7335 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7336 +if { (ac_try="$ac_cpp conftest.$ac_ext"
7337 +case "(($ac_try" in
7338 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7339 + *) ac_try_echo=$ac_try;;
7340 +esac
7341 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7342 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7343 ac_status=$?
7344 grep -v '^ *+' conftest.er1 >conftest.err
7345 rm -f conftest.er1
7346 cat conftest.err >&5
7347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7348 - (exit $ac_status); } >/dev/null; then
7349 - if test -s conftest.err; then
7350 - ac_cpp_err=$ac_c_preproc_warn_flag
7351 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
7352 - else
7353 - ac_cpp_err=
7354 - fi
7355 -else
7356 - ac_cpp_err=yes
7357 -fi
7358 -if test -z "$ac_cpp_err"; then
7359 + (exit $ac_status); } >/dev/null && {
7360 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7361 + test ! -s conftest.err
7362 + }; then
7363 ac_header_preproc=yes
7364 else
7365 echo "$as_me: failed program was:" >&5
7366 @@ -6606,9 +7284,10 @@
7367
7368 ac_header_preproc=no
7369 fi
7370 +
7371 rm -f conftest.err conftest.$ac_ext
7372 -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7373 -echo "${ECHO_T}$ac_header_preproc" >&6
7374 +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7375 +echo "${ECHO_T}$ac_header_preproc" >&6; }
7376
7377 # So? What about this header?
7378 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7379 @@ -6632,25 +7311,19 @@
7380 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7381 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7382 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7383 - (
7384 - cat <<\_ASBOX
7385 -## ------------------------------------------ ##
7386 -## Report this to the AC_PACKAGE_NAME lists. ##
7387 -## ------------------------------------------ ##
7388 -_ASBOX
7389 - ) |
7390 - sed "s/^/$as_me: WARNING: /" >&2
7391 +
7392 ;;
7393 esac
7394 -echo "$as_me:$LINENO: checking for $ac_header" >&5
7395 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7396 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
7397 +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
7398 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7399 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7400 echo $ECHO_N "(cached) $ECHO_C" >&6
7401 else
7402 eval "$as_ac_Header=\$ac_header_preproc"
7403 fi
7404 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7405 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7406 +ac_res=`eval echo '${'$as_ac_Header'}'`
7407 + { echo "$as_me:$LINENO: result: $ac_res" >&5
7408 +echo "${ECHO_T}$ac_res" >&6; }
7409
7410 fi
7411 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7412 @@ -6666,9 +7339,9 @@
7413 for ac_func in getpagesize
7414 do
7415 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7416 -echo "$as_me:$LINENO: checking for $ac_func" >&5
7417 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7418 -if eval "test \"\${$as_ac_var+set}\" = set"; then
7419 +{ echo "$as_me:$LINENO: checking for $ac_func" >&5
7420 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
7421 +if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7422 echo $ECHO_N "(cached) $ECHO_C" >&6
7423 else
7424 cat >conftest.$ac_ext <<_ACEOF
7425 @@ -6694,68 +7367,60 @@
7426
7427 #undef $ac_func
7428
7429 -/* Override any gcc2 internal prototype to avoid an error. */
7430 +/* Override any GCC internal prototype to avoid an error.
7431 + Use char because int might match the return type of a GCC
7432 + builtin and then its argument prototype would still apply. */
7433 #ifdef __cplusplus
7434 extern "C"
7435 -{
7436 #endif
7437 -/* We use char because int might match the return type of a gcc2
7438 - builtin and then its argument prototype would still apply. */
7439 char $ac_func ();
7440 /* The GNU C library defines this for functions which it implements
7441 to always fail with ENOSYS. Some functions are actually named
7442 something starting with __ and the normal name is an alias. */
7443 -#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7444 +#if defined __stub_$ac_func || defined __stub___$ac_func
7445 choke me
7446 -#else
7447 -char (*f) () = $ac_func;
7448 -#endif
7449 -#ifdef __cplusplus
7450 -}
7451 #endif
7452
7453 int
7454 main ()
7455 {
7456 -return f != $ac_func;
7457 +return $ac_func ();
7458 ;
7459 return 0;
7460 }
7461 _ACEOF
7462 rm -f conftest.$ac_objext conftest$ac_exeext
7463 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7464 - (eval $ac_link) 2>conftest.er1
7465 +if { (ac_try="$ac_link"
7466 +case "(($ac_try" in
7467 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7468 + *) ac_try_echo=$ac_try;;
7469 +esac
7470 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7471 + (eval "$ac_link") 2>conftest.er1
7472 ac_status=$?
7473 grep -v '^ *+' conftest.er1 >conftest.err
7474 rm -f conftest.er1
7475 cat conftest.err >&5
7476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7477 - (exit $ac_status); } &&
7478 - { ac_try='test -z "$ac_c_werror_flag"
7479 - || test ! -s conftest.err'
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); }; } &&
7485 - { ac_try='test -s conftest$ac_exeext'
7486 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7487 - (eval $ac_try) 2>&5
7488 - ac_status=$?
7489 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
7490 - (exit $ac_status); }; }; then
7491 + (exit $ac_status); } && {
7492 + test -z "$ac_c_werror_flag" ||
7493 + test ! -s conftest.err
7494 + } && test -s conftest$ac_exeext &&
7495 + $as_test_x conftest$ac_exeext; then
7496 eval "$as_ac_var=yes"
7497 else
7498 echo "$as_me: failed program was:" >&5
7499 sed 's/^/| /' conftest.$ac_ext >&5
7500
7501 -eval "$as_ac_var=no"
7502 + eval "$as_ac_var=no"
7503 fi
7504 -rm -f conftest.err conftest.$ac_objext \
7505 +
7506 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7507 conftest$ac_exeext conftest.$ac_ext
7508 fi
7509 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7510 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7511 +ac_res=`eval echo '${'$as_ac_var'}'`
7512 + { echo "$as_me:$LINENO: result: $ac_res" >&5
7513 +echo "${ECHO_T}$ac_res" >&6; }
7514 if test `eval echo '${'$as_ac_var'}'` = yes; then
7515 cat >>confdefs.h <<_ACEOF
7516 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7517 @@ -6764,8 +7429,8 @@
7518 fi
7519 done
7520
7521 -echo "$as_me:$LINENO: checking for working mmap" >&5
7522 -echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
7523 +{ echo "$as_me:$LINENO: checking for working mmap" >&5
7524 +echo $ECHO_N "checking for working mmap... $ECHO_C" >&6; }
7525 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
7526 echo $ECHO_N "(cached) $ECHO_C" >&6
7527 else
7528 @@ -6807,21 +7472,21 @@
7529 #include <fcntl.h>
7530 #include <sys/mman.h>
7531
7532 -#if !STDC_HEADERS && !HAVE_STDLIB_H
7533 +#if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
7534 char *malloc ();
7535 #endif
7536
7537 /* This mess was copied from the GNU getpagesize.h. */
7538 -#if !HAVE_GETPAGESIZE
7539 +#ifndef HAVE_GETPAGESIZE
7540 /* Assume that all systems that can run configure have sys/param.h. */
7541 -# if !HAVE_SYS_PARAM_H
7542 +# ifndef HAVE_SYS_PARAM_H
7543 # define HAVE_SYS_PARAM_H 1
7544 # endif
7545
7546 # ifdef _SC_PAGESIZE
7547 # define getpagesize() sysconf(_SC_PAGESIZE)
7548 # else /* no _SC_PAGESIZE */
7549 -# if HAVE_SYS_PARAM_H
7550 +# ifdef HAVE_SYS_PARAM_H
7551 # include <sys/param.h>
7552 # ifdef EXEC_PAGESIZE
7553 # define getpagesize() EXEC_PAGESIZE
7554 @@ -6860,15 +7525,15 @@
7555 /* First, make a file with some known garbage in it. */
7556 data = (char *) malloc (pagesize);
7557 if (!data)
7558 - exit (1);
7559 + return 1;
7560 for (i = 0; i < pagesize; ++i)
7561 *(data + i) = rand ();
7562 umask (0);
7563 fd = creat ("conftest.mmap", 0600);
7564 if (fd < 0)
7565 - exit (1);
7566 + return 1;
7567 if (write (fd, data, pagesize) != pagesize)
7568 - exit (1);
7569 + return 1;
7570 close (fd);
7571
7572 /* Next, try to mmap the file at a fixed address which already has
7573 @@ -6876,17 +7541,17 @@
7574 we see the same garbage. */
7575 fd = open ("conftest.mmap", O_RDWR);
7576 if (fd < 0)
7577 - exit (1);
7578 + return 1;
7579 data2 = (char *) malloc (2 * pagesize);
7580 if (!data2)
7581 - exit (1);
7582 - data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
7583 + return 1;
7584 + data2 += (pagesize - ((long int) data2 & (pagesize - 1))) & (pagesize - 1);
7585 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
7586 MAP_PRIVATE | MAP_FIXED, fd, 0L))
7587 - exit (1);
7588 + return 1;
7589 for (i = 0; i < pagesize; ++i)
7590 if (*(data + i) != *(data2 + i))
7591 - exit (1);
7592 + return 1;
7593
7594 /* Finally, make sure that changes to the mapped area do not
7595 percolate back to the file as seen by read(). (This is a bug on
7596 @@ -6895,24 +7560,33 @@
7597 *(data2 + i) = *(data2 + i) + 1;
7598 data3 = (char *) malloc (pagesize);
7599 if (!data3)
7600 - exit (1);
7601 + return 1;
7602 if (read (fd, data3, pagesize) != pagesize)
7603 - exit (1);
7604 + return 1;
7605 for (i = 0; i < pagesize; ++i)
7606 if (*(data + i) != *(data3 + i))
7607 - exit (1);
7608 + return 1;
7609 close (fd);
7610 - exit (0);
7611 + return 0;
7612 }
7613 _ACEOF
7614 rm -f conftest$ac_exeext
7615 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7616 - (eval $ac_link) 2>&5
7617 +if { (ac_try="$ac_link"
7618 +case "(($ac_try" in
7619 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7620 + *) ac_try_echo=$ac_try;;
7621 +esac
7622 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7623 + (eval "$ac_link") 2>&5
7624 ac_status=$?
7625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7626 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7627 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7628 - (eval $ac_try) 2>&5
7629 + { (case "(($ac_try" in
7630 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7631 + *) ac_try_echo=$ac_try;;
7632 +esac
7633 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7634 + (eval "$ac_try") 2>&5
7635 ac_status=$?
7636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7637 (exit $ac_status); }; }; then
7638 @@ -6925,11 +7599,13 @@
7639 ( exit $ac_status )
7640 ac_cv_func_mmap_fixed_mapped=no
7641 fi
7642 -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7643 +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7644 fi
7645 +
7646 +
7647 fi
7648 -echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
7649 -echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
7650 +{ echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
7651 +echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6; }
7652 if test $ac_cv_func_mmap_fixed_mapped = yes; then
7653
7654 cat >>confdefs.h <<\_ACEOF
7655 @@ -6953,18 +7629,19 @@
7656 unistd.h values.h sys/param.h
7657 do
7658 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7659 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
7660 - echo "$as_me:$LINENO: checking for $ac_header" >&5
7661 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7662 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
7663 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7664 + { echo "$as_me:$LINENO: checking for $ac_header" >&5
7665 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7666 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7667 echo $ECHO_N "(cached) $ECHO_C" >&6
7668 fi
7669 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7670 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7671 +ac_res=`eval echo '${'$as_ac_Header'}'`
7672 + { echo "$as_me:$LINENO: result: $ac_res" >&5
7673 +echo "${ECHO_T}$ac_res" >&6; }
7674 else
7675 # Is the header compilable?
7676 -echo "$as_me:$LINENO: checking $ac_header usability" >&5
7677 -echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7678 +{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
7679 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
7680 cat >conftest.$ac_ext <<_ACEOF
7681 /* confdefs.h. */
7682 _ACEOF
7683 @@ -6975,41 +7652,37 @@
7684 #include <$ac_header>
7685 _ACEOF
7686 rm -f conftest.$ac_objext
7687 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7688 - (eval $ac_compile) 2>conftest.er1
7689 +if { (ac_try="$ac_compile"
7690 +case "(($ac_try" in
7691 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7692 + *) ac_try_echo=$ac_try;;
7693 +esac
7694 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7695 + (eval "$ac_compile") 2>conftest.er1
7696 ac_status=$?
7697 grep -v '^ *+' conftest.er1 >conftest.err
7698 rm -f conftest.er1
7699 cat conftest.err >&5
7700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7701 - (exit $ac_status); } &&
7702 - { ac_try='test -z "$ac_c_werror_flag"
7703 - || test ! -s conftest.err'
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); }; } &&
7709 - { ac_try='test -s conftest.$ac_objext'
7710 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7711 - (eval $ac_try) 2>&5
7712 - ac_status=$?
7713 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
7714 - (exit $ac_status); }; }; then
7715 + (exit $ac_status); } && {
7716 + test -z "$ac_c_werror_flag" ||
7717 + test ! -s conftest.err
7718 + } && test -s conftest.$ac_objext; then
7719 ac_header_compiler=yes
7720 else
7721 echo "$as_me: failed program was:" >&5
7722 sed 's/^/| /' conftest.$ac_ext >&5
7723
7724 -ac_header_compiler=no
7725 + ac_header_compiler=no
7726 fi
7727 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7728 -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7729 -echo "${ECHO_T}$ac_header_compiler" >&6
7730 +
7731 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7732 +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7733 +echo "${ECHO_T}$ac_header_compiler" >&6; }
7734
7735 # Is the header present?
7736 -echo "$as_me:$LINENO: checking $ac_header presence" >&5
7737 -echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7738 +{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
7739 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
7740 cat >conftest.$ac_ext <<_ACEOF
7741 /* confdefs.h. */
7742 _ACEOF
7743 @@ -7018,24 +7691,22 @@
7744 /* end confdefs.h. */
7745 #include <$ac_header>
7746 _ACEOF
7747 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7748 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7749 +if { (ac_try="$ac_cpp conftest.$ac_ext"
7750 +case "(($ac_try" in
7751 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7752 + *) ac_try_echo=$ac_try;;
7753 +esac
7754 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7755 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7756 ac_status=$?
7757 grep -v '^ *+' conftest.er1 >conftest.err
7758 rm -f conftest.er1
7759 cat conftest.err >&5
7760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7761 - (exit $ac_status); } >/dev/null; then
7762 - if test -s conftest.err; then
7763 - ac_cpp_err=$ac_c_preproc_warn_flag
7764 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
7765 - else
7766 - ac_cpp_err=
7767 - fi
7768 -else
7769 - ac_cpp_err=yes
7770 -fi
7771 -if test -z "$ac_cpp_err"; then
7772 + (exit $ac_status); } >/dev/null && {
7773 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7774 + test ! -s conftest.err
7775 + }; then
7776 ac_header_preproc=yes
7777 else
7778 echo "$as_me: failed program was:" >&5
7779 @@ -7043,9 +7714,10 @@
7780
7781 ac_header_preproc=no
7782 fi
7783 +
7784 rm -f conftest.err conftest.$ac_ext
7785 -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7786 -echo "${ECHO_T}$ac_header_preproc" >&6
7787 +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7788 +echo "${ECHO_T}$ac_header_preproc" >&6; }
7789
7790 # So? What about this header?
7791 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7792 @@ -7069,25 +7741,19 @@
7793 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7794 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7795 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7796 - (
7797 - cat <<\_ASBOX
7798 -## ------------------------------------------ ##
7799 -## Report this to the AC_PACKAGE_NAME lists. ##
7800 -## ------------------------------------------ ##
7801 -_ASBOX
7802 - ) |
7803 - sed "s/^/$as_me: WARNING: /" >&2
7804 +
7805 ;;
7806 esac
7807 -echo "$as_me:$LINENO: checking for $ac_header" >&5
7808 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7809 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
7810 +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
7811 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7812 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7813 echo $ECHO_N "(cached) $ECHO_C" >&6
7814 else
7815 eval "$as_ac_Header=\$ac_header_preproc"
7816 fi
7817 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7818 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7819 +ac_res=`eval echo '${'$as_ac_Header'}'`
7820 + { echo "$as_me:$LINENO: result: $ac_res" >&5
7821 +echo "${ECHO_T}$ac_res" >&6; }
7822
7823 fi
7824 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7825 @@ -7113,9 +7779,9 @@
7826 __argz_count __argz_stringify __argz_next
7827 do
7828 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7829 -echo "$as_me:$LINENO: checking for $ac_func" >&5
7830 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7831 -if eval "test \"\${$as_ac_var+set}\" = set"; then
7832 +{ echo "$as_me:$LINENO: checking for $ac_func" >&5
7833 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
7834 +if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7835 echo $ECHO_N "(cached) $ECHO_C" >&6
7836 else
7837 cat >conftest.$ac_ext <<_ACEOF
7838 @@ -7141,68 +7807,60 @@
7839
7840 #undef $ac_func
7841
7842 -/* Override any gcc2 internal prototype to avoid an error. */
7843 +/* Override any GCC internal prototype to avoid an error.
7844 + Use char because int might match the return type of a GCC
7845 + builtin and then its argument prototype would still apply. */
7846 #ifdef __cplusplus
7847 extern "C"
7848 -{
7849 #endif
7850 -/* We use char because int might match the return type of a gcc2
7851 - builtin and then its argument prototype would still apply. */
7852 char $ac_func ();
7853 /* The GNU C library defines this for functions which it implements
7854 to always fail with ENOSYS. Some functions are actually named
7855 something starting with __ and the normal name is an alias. */
7856 -#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7857 +#if defined __stub_$ac_func || defined __stub___$ac_func
7858 choke me
7859 -#else
7860 -char (*f) () = $ac_func;
7861 -#endif
7862 -#ifdef __cplusplus
7863 -}
7864 #endif
7865
7866 int
7867 main ()
7868 {
7869 -return f != $ac_func;
7870 +return $ac_func ();
7871 ;
7872 return 0;
7873 }
7874 _ACEOF
7875 rm -f conftest.$ac_objext conftest$ac_exeext
7876 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7877 - (eval $ac_link) 2>conftest.er1
7878 +if { (ac_try="$ac_link"
7879 +case "(($ac_try" in
7880 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7881 + *) ac_try_echo=$ac_try;;
7882 +esac
7883 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7884 + (eval "$ac_link") 2>conftest.er1
7885 ac_status=$?
7886 grep -v '^ *+' conftest.er1 >conftest.err
7887 rm -f conftest.er1
7888 cat conftest.err >&5
7889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7890 - (exit $ac_status); } &&
7891 - { ac_try='test -z "$ac_c_werror_flag"
7892 - || test ! -s conftest.err'
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); }; } &&
7898 - { ac_try='test -s conftest$ac_exeext'
7899 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7900 - (eval $ac_try) 2>&5
7901 - ac_status=$?
7902 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
7903 - (exit $ac_status); }; }; then
7904 + (exit $ac_status); } && {
7905 + test -z "$ac_c_werror_flag" ||
7906 + test ! -s conftest.err
7907 + } && test -s conftest$ac_exeext &&
7908 + $as_test_x conftest$ac_exeext; then
7909 eval "$as_ac_var=yes"
7910 else
7911 echo "$as_me: failed program was:" >&5
7912 sed 's/^/| /' conftest.$ac_ext >&5
7913
7914 -eval "$as_ac_var=no"
7915 + eval "$as_ac_var=no"
7916 fi
7917 -rm -f conftest.err conftest.$ac_objext \
7918 +
7919 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7920 conftest$ac_exeext conftest.$ac_ext
7921 fi
7922 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7923 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7924 +ac_res=`eval echo '${'$as_ac_var'}'`
7925 + { echo "$as_me:$LINENO: result: $ac_res" >&5
7926 +echo "${ECHO_T}$ac_res" >&6; }
7927 if test `eval echo '${'$as_ac_var'}'` = yes; then
7928 cat >>confdefs.h <<_ACEOF
7929 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7930 @@ -7217,9 +7875,9 @@
7931 for ac_func in stpcpy
7932 do
7933 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7934 -echo "$as_me:$LINENO: checking for $ac_func" >&5
7935 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7936 -if eval "test \"\${$as_ac_var+set}\" = set"; then
7937 +{ echo "$as_me:$LINENO: checking for $ac_func" >&5
7938 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
7939 +if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7940 echo $ECHO_N "(cached) $ECHO_C" >&6
7941 else
7942 cat >conftest.$ac_ext <<_ACEOF
7943 @@ -7245,68 +7903,60 @@
7944
7945 #undef $ac_func
7946
7947 -/* Override any gcc2 internal prototype to avoid an error. */
7948 +/* Override any GCC internal prototype to avoid an error.
7949 + Use char because int might match the return type of a GCC
7950 + builtin and then its argument prototype would still apply. */
7951 #ifdef __cplusplus
7952 extern "C"
7953 -{
7954 #endif
7955 -/* We use char because int might match the return type of a gcc2
7956 - builtin and then its argument prototype would still apply. */
7957 char $ac_func ();
7958 /* The GNU C library defines this for functions which it implements
7959 to always fail with ENOSYS. Some functions are actually named
7960 something starting with __ and the normal name is an alias. */
7961 -#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7962 +#if defined __stub_$ac_func || defined __stub___$ac_func
7963 choke me
7964 -#else
7965 -char (*f) () = $ac_func;
7966 -#endif
7967 -#ifdef __cplusplus
7968 -}
7969 #endif
7970
7971 int
7972 main ()
7973 {
7974 -return f != $ac_func;
7975 +return $ac_func ();
7976 ;
7977 return 0;
7978 }
7979 _ACEOF
7980 rm -f conftest.$ac_objext conftest$ac_exeext
7981 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7982 - (eval $ac_link) 2>conftest.er1
7983 +if { (ac_try="$ac_link"
7984 +case "(($ac_try" in
7985 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7986 + *) ac_try_echo=$ac_try;;
7987 +esac
7988 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7989 + (eval "$ac_link") 2>conftest.er1
7990 ac_status=$?
7991 grep -v '^ *+' conftest.er1 >conftest.err
7992 rm -f conftest.er1
7993 cat conftest.err >&5
7994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7995 - (exit $ac_status); } &&
7996 - { ac_try='test -z "$ac_c_werror_flag"
7997 - || test ! -s conftest.err'
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); }; } &&
8003 - { ac_try='test -s conftest$ac_exeext'
8004 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8005 - (eval $ac_try) 2>&5
8006 - ac_status=$?
8007 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
8008 - (exit $ac_status); }; }; then
8009 + (exit $ac_status); } && {
8010 + test -z "$ac_c_werror_flag" ||
8011 + test ! -s conftest.err
8012 + } && test -s conftest$ac_exeext &&
8013 + $as_test_x conftest$ac_exeext; then
8014 eval "$as_ac_var=yes"
8015 else
8016 echo "$as_me: failed program was:" >&5
8017 sed 's/^/| /' conftest.$ac_ext >&5
8018
8019 -eval "$as_ac_var=no"
8020 + eval "$as_ac_var=no"
8021 fi
8022 -rm -f conftest.err conftest.$ac_objext \
8023 +
8024 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8025 conftest$ac_exeext conftest.$ac_ext
8026 fi
8027 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8028 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8029 +ac_res=`eval echo '${'$as_ac_var'}'`
8030 + { echo "$as_me:$LINENO: result: $ac_res" >&5
8031 +echo "${ECHO_T}$ac_res" >&6; }
8032 if test `eval echo '${'$as_ac_var'}'` = yes; then
8033 cat >>confdefs.h <<_ACEOF
8034 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8035 @@ -7325,8 +7975,8 @@
8036 fi
8037
8038 if test $ac_cv_header_locale_h = yes; then
8039 - echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
8040 -echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
8041 + { echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
8042 +echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6; }
8043 if test "${am_cv_val_LC_MESSAGES+set}" = set; then
8044 echo $ECHO_N "(cached) $ECHO_C" >&6
8045 else
8046 @@ -7346,39 +7996,36 @@
8047 }
8048 _ACEOF
8049 rm -f conftest.$ac_objext conftest$ac_exeext
8050 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8051 - (eval $ac_link) 2>conftest.er1
8052 +if { (ac_try="$ac_link"
8053 +case "(($ac_try" in
8054 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8055 + *) ac_try_echo=$ac_try;;
8056 +esac
8057 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8058 + (eval "$ac_link") 2>conftest.er1
8059 ac_status=$?
8060 grep -v '^ *+' conftest.er1 >conftest.err
8061 rm -f conftest.er1
8062 cat conftest.err >&5
8063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8064 - (exit $ac_status); } &&
8065 - { ac_try='test -z "$ac_c_werror_flag"
8066 - || test ! -s conftest.err'
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); }; } &&
8072 - { ac_try='test -s conftest$ac_exeext'
8073 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8074 - (eval $ac_try) 2>&5
8075 - ac_status=$?
8076 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
8077 - (exit $ac_status); }; }; then
8078 + (exit $ac_status); } && {
8079 + test -z "$ac_c_werror_flag" ||
8080 + test ! -s conftest.err
8081 + } && test -s conftest$ac_exeext &&
8082 + $as_test_x conftest$ac_exeext; then
8083 am_cv_val_LC_MESSAGES=yes
8084 else
8085 echo "$as_me: failed program was:" >&5
8086 sed 's/^/| /' conftest.$ac_ext >&5
8087
8088 -am_cv_val_LC_MESSAGES=no
8089 + am_cv_val_LC_MESSAGES=no
8090 fi
8091 -rm -f conftest.err conftest.$ac_objext \
8092 +
8093 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8094 conftest$ac_exeext conftest.$ac_ext
8095 fi
8096 -echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
8097 -echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6
8098 +{ echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
8099 +echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6; }
8100 if test $am_cv_val_LC_MESSAGES = yes; then
8101
8102 cat >>confdefs.h <<\_ACEOF
8103 @@ -7387,34 +8034,34 @@
8104
8105 fi
8106 fi
8107 - echo "$as_me:$LINENO: checking whether NLS is requested" >&5
8108 -echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
8109 - # Check whether --enable-nls or --disable-nls was given.
8110 + { echo "$as_me:$LINENO: checking whether NLS is requested" >&5
8111 +echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6; }
8112 + # Check whether --enable-nls was given.
8113 if test "${enable_nls+set}" = set; then
8114 - enableval="$enable_nls"
8115 - USE_NLS=$enableval
8116 + enableval=$enable_nls; USE_NLS=$enableval
8117 else
8118 USE_NLS=yes
8119 -fi;
8120 - echo "$as_me:$LINENO: result: $USE_NLS" >&5
8121 -echo "${ECHO_T}$USE_NLS" >&6
8122 +fi
8123 +
8124 + { echo "$as_me:$LINENO: result: $USE_NLS" >&5
8125 +echo "${ECHO_T}$USE_NLS" >&6; }
8126
8127
8128 USE_INCLUDED_LIBINTL=no
8129
8130 if test "$USE_NLS" = "yes"; then
8131 - echo "$as_me:$LINENO: checking whether included gettext is requested" >&5
8132 -echo $ECHO_N "checking whether included gettext is requested... $ECHO_C" >&6
8133 + { echo "$as_me:$LINENO: checking whether included gettext is requested" >&5
8134 +echo $ECHO_N "checking whether included gettext is requested... $ECHO_C" >&6; }
8135
8136 -# Check whether --with-included-gettext or --without-included-gettext was given.
8137 +# Check whether --with-included-gettext was given.
8138 if test "${with_included_gettext+set}" = set; then
8139 - withval="$with_included_gettext"
8140 - nls_cv_force_use_gnu_gettext=$withval
8141 + withval=$with_included_gettext; nls_cv_force_use_gnu_gettext=$withval
8142 else
8143 nls_cv_force_use_gnu_gettext=no
8144 -fi;
8145 - echo "$as_me:$LINENO: result: $nls_cv_force_use_gnu_gettext" >&5
8146 -echo "${ECHO_T}$nls_cv_force_use_gnu_gettext" >&6
8147 +fi
8148 +
8149 + { echo "$as_me:$LINENO: result: $nls_cv_force_use_gnu_gettext" >&5
8150 +echo "${ECHO_T}$nls_cv_force_use_gnu_gettext" >&6; }
8151
8152 nls_cv_use_gnu_gettext="$nls_cv_force_use_gnu_gettext"
8153 if test "$nls_cv_force_use_gnu_gettext" != "yes"; then
8154 @@ -7423,17 +8070,17 @@
8155 CATOBJEXT=
8156
8157 if test "${ac_cv_header_libintl_h+set}" = set; then
8158 - echo "$as_me:$LINENO: checking for libintl.h" >&5
8159 -echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6
8160 + { echo "$as_me:$LINENO: checking for libintl.h" >&5
8161 +echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6; }
8162 if test "${ac_cv_header_libintl_h+set}" = set; then
8163 echo $ECHO_N "(cached) $ECHO_C" >&6
8164 fi
8165 -echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
8166 -echo "${ECHO_T}$ac_cv_header_libintl_h" >&6
8167 +{ echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
8168 +echo "${ECHO_T}$ac_cv_header_libintl_h" >&6; }
8169 else
8170 # Is the header compilable?
8171 -echo "$as_me:$LINENO: checking libintl.h usability" >&5
8172 -echo $ECHO_N "checking libintl.h usability... $ECHO_C" >&6
8173 +{ echo "$as_me:$LINENO: checking libintl.h usability" >&5
8174 +echo $ECHO_N "checking libintl.h usability... $ECHO_C" >&6; }
8175 cat >conftest.$ac_ext <<_ACEOF
8176 /* confdefs.h. */
8177 _ACEOF
8178 @@ -7444,41 +8091,37 @@
8179 #include <libintl.h>
8180 _ACEOF
8181 rm -f conftest.$ac_objext
8182 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8183 - (eval $ac_compile) 2>conftest.er1
8184 +if { (ac_try="$ac_compile"
8185 +case "(($ac_try" in
8186 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8187 + *) ac_try_echo=$ac_try;;
8188 +esac
8189 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8190 + (eval "$ac_compile") 2>conftest.er1
8191 ac_status=$?
8192 grep -v '^ *+' conftest.er1 >conftest.err
8193 rm -f conftest.er1
8194 cat conftest.err >&5
8195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8196 - (exit $ac_status); } &&
8197 - { ac_try='test -z "$ac_c_werror_flag"
8198 - || test ! -s conftest.err'
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); }; } &&
8204 - { ac_try='test -s conftest.$ac_objext'
8205 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8206 - (eval $ac_try) 2>&5
8207 - ac_status=$?
8208 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
8209 - (exit $ac_status); }; }; then
8210 + (exit $ac_status); } && {
8211 + test -z "$ac_c_werror_flag" ||
8212 + test ! -s conftest.err
8213 + } && test -s conftest.$ac_objext; then
8214 ac_header_compiler=yes
8215 else
8216 echo "$as_me: failed program was:" >&5
8217 sed 's/^/| /' conftest.$ac_ext >&5
8218
8219 -ac_header_compiler=no
8220 + ac_header_compiler=no
8221 fi
8222 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8223 -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8224 -echo "${ECHO_T}$ac_header_compiler" >&6
8225 +
8226 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8227 +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8228 +echo "${ECHO_T}$ac_header_compiler" >&6; }
8229
8230 # Is the header present?
8231 -echo "$as_me:$LINENO: checking libintl.h presence" >&5
8232 -echo $ECHO_N "checking libintl.h presence... $ECHO_C" >&6
8233 +{ echo "$as_me:$LINENO: checking libintl.h presence" >&5
8234 +echo $ECHO_N "checking libintl.h presence... $ECHO_C" >&6; }
8235 cat >conftest.$ac_ext <<_ACEOF
8236 /* confdefs.h. */
8237 _ACEOF
8238 @@ -7487,24 +8130,22 @@
8239 /* end confdefs.h. */
8240 #include <libintl.h>
8241 _ACEOF
8242 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8243 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8244 +if { (ac_try="$ac_cpp conftest.$ac_ext"
8245 +case "(($ac_try" in
8246 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8247 + *) ac_try_echo=$ac_try;;
8248 +esac
8249 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8250 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8251 ac_status=$?
8252 grep -v '^ *+' conftest.er1 >conftest.err
8253 rm -f conftest.er1
8254 cat conftest.err >&5
8255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8256 - (exit $ac_status); } >/dev/null; then
8257 - if test -s conftest.err; then
8258 - ac_cpp_err=$ac_c_preproc_warn_flag
8259 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
8260 - else
8261 - ac_cpp_err=
8262 - fi
8263 -else
8264 - ac_cpp_err=yes
8265 -fi
8266 -if test -z "$ac_cpp_err"; then
8267 + (exit $ac_status); } >/dev/null && {
8268 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
8269 + test ! -s conftest.err
8270 + }; then
8271 ac_header_preproc=yes
8272 else
8273 echo "$as_me: failed program was:" >&5
8274 @@ -7512,9 +8153,10 @@
8275
8276 ac_header_preproc=no
8277 fi
8278 +
8279 rm -f conftest.err conftest.$ac_ext
8280 -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8281 -echo "${ECHO_T}$ac_header_preproc" >&6
8282 +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8283 +echo "${ECHO_T}$ac_header_preproc" >&6; }
8284
8285 # So? What about this header?
8286 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8287 @@ -7538,30 +8180,23 @@
8288 echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;}
8289 { echo "$as_me:$LINENO: WARNING: libintl.h: in the future, the compiler will take precedence" >&5
8290 echo "$as_me: WARNING: libintl.h: in the future, the compiler will take precedence" >&2;}
8291 - (
8292 - cat <<\_ASBOX
8293 -## ------------------------------------------ ##
8294 -## Report this to the AC_PACKAGE_NAME lists. ##
8295 -## ------------------------------------------ ##
8296 -_ASBOX
8297 - ) |
8298 - sed "s/^/$as_me: WARNING: /" >&2
8299 +
8300 ;;
8301 esac
8302 -echo "$as_me:$LINENO: checking for libintl.h" >&5
8303 -echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6
8304 +{ echo "$as_me:$LINENO: checking for libintl.h" >&5
8305 +echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6; }
8306 if test "${ac_cv_header_libintl_h+set}" = set; then
8307 echo $ECHO_N "(cached) $ECHO_C" >&6
8308 else
8309 ac_cv_header_libintl_h=$ac_header_preproc
8310 fi
8311 -echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
8312 -echo "${ECHO_T}$ac_cv_header_libintl_h" >&6
8313 +{ echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
8314 +echo "${ECHO_T}$ac_cv_header_libintl_h" >&6; }
8315
8316 fi
8317 if test $ac_cv_header_libintl_h = yes; then
8318 - echo "$as_me:$LINENO: checking for gettext in libc" >&5
8319 -echo $ECHO_N "checking for gettext in libc... $ECHO_C" >&6
8320 + { echo "$as_me:$LINENO: checking for gettext in libc" >&5
8321 +echo $ECHO_N "checking for gettext in libc... $ECHO_C" >&6; }
8322 if test "${gt_cv_func_gettext_libc+set}" = set; then
8323 echo $ECHO_N "(cached) $ECHO_C" >&6
8324 else
8325 @@ -7581,43 +8216,40 @@
8326 }
8327 _ACEOF
8328 rm -f conftest.$ac_objext conftest$ac_exeext
8329 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8330 - (eval $ac_link) 2>conftest.er1
8331 +if { (ac_try="$ac_link"
8332 +case "(($ac_try" in
8333 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8334 + *) ac_try_echo=$ac_try;;
8335 +esac
8336 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8337 + (eval "$ac_link") 2>conftest.er1
8338 ac_status=$?
8339 grep -v '^ *+' conftest.er1 >conftest.err
8340 rm -f conftest.er1
8341 cat conftest.err >&5
8342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8343 - (exit $ac_status); } &&
8344 - { ac_try='test -z "$ac_c_werror_flag"
8345 - || test ! -s conftest.err'
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); }; } &&
8351 - { ac_try='test -s conftest$ac_exeext'
8352 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8353 - (eval $ac_try) 2>&5
8354 - ac_status=$?
8355 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
8356 - (exit $ac_status); }; }; then
8357 + (exit $ac_status); } && {
8358 + test -z "$ac_c_werror_flag" ||
8359 + test ! -s conftest.err
8360 + } && test -s conftest$ac_exeext &&
8361 + $as_test_x conftest$ac_exeext; then
8362 gt_cv_func_gettext_libc=yes
8363 else
8364 echo "$as_me: failed program was:" >&5
8365 sed 's/^/| /' conftest.$ac_ext >&5
8366
8367 -gt_cv_func_gettext_libc=no
8368 + gt_cv_func_gettext_libc=no
8369 fi
8370 -rm -f conftest.err conftest.$ac_objext \
8371 +
8372 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8373 conftest$ac_exeext conftest.$ac_ext
8374 fi
8375 -echo "$as_me:$LINENO: result: $gt_cv_func_gettext_libc" >&5
8376 -echo "${ECHO_T}$gt_cv_func_gettext_libc" >&6
8377 +{ echo "$as_me:$LINENO: result: $gt_cv_func_gettext_libc" >&5
8378 +echo "${ECHO_T}$gt_cv_func_gettext_libc" >&6; }
8379
8380 if test "$gt_cv_func_gettext_libc" != "yes"; then
8381 - echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5
8382 -echo $ECHO_N "checking for bindtextdomain in -lintl... $ECHO_C" >&6
8383 + { echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5
8384 +echo $ECHO_N "checking for bindtextdomain in -lintl... $ECHO_C" >&6; }
8385 if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then
8386 echo $ECHO_N "(cached) $ECHO_C" >&6
8387 else
8388 @@ -7630,59 +8262,56 @@
8389 cat >>conftest.$ac_ext <<_ACEOF
8390 /* end confdefs.h. */
8391
8392 -/* Override any gcc2 internal prototype to avoid an error. */
8393 +/* Override any GCC internal prototype to avoid an error.
8394 + Use char because int might match the return type of a GCC
8395 + builtin and then its argument prototype would still apply. */
8396 #ifdef __cplusplus
8397 extern "C"
8398 #endif
8399 -/* We use char because int might match the return type of a gcc2
8400 - builtin and then its argument prototype would still apply. */
8401 char bindtextdomain ();
8402 int
8403 main ()
8404 {
8405 -bindtextdomain ();
8406 +return bindtextdomain ();
8407 ;
8408 return 0;
8409 }
8410 _ACEOF
8411 rm -f conftest.$ac_objext conftest$ac_exeext
8412 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8413 - (eval $ac_link) 2>conftest.er1
8414 +if { (ac_try="$ac_link"
8415 +case "(($ac_try" in
8416 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8417 + *) ac_try_echo=$ac_try;;
8418 +esac
8419 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8420 + (eval "$ac_link") 2>conftest.er1
8421 ac_status=$?
8422 grep -v '^ *+' conftest.er1 >conftest.err
8423 rm -f conftest.er1
8424 cat conftest.err >&5
8425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8426 - (exit $ac_status); } &&
8427 - { ac_try='test -z "$ac_c_werror_flag"
8428 - || test ! -s conftest.err'
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); }; } &&
8434 - { ac_try='test -s conftest$ac_exeext'
8435 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8436 - (eval $ac_try) 2>&5
8437 - ac_status=$?
8438 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
8439 - (exit $ac_status); }; }; then
8440 + (exit $ac_status); } && {
8441 + test -z "$ac_c_werror_flag" ||
8442 + test ! -s conftest.err
8443 + } && test -s conftest$ac_exeext &&
8444 + $as_test_x conftest$ac_exeext; then
8445 ac_cv_lib_intl_bindtextdomain=yes
8446 else
8447 echo "$as_me: failed program was:" >&5
8448 sed 's/^/| /' conftest.$ac_ext >&5
8449
8450 -ac_cv_lib_intl_bindtextdomain=no
8451 + ac_cv_lib_intl_bindtextdomain=no
8452 fi
8453 -rm -f conftest.err conftest.$ac_objext \
8454 +
8455 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8456 conftest$ac_exeext conftest.$ac_ext
8457 LIBS=$ac_check_lib_save_LIBS
8458 fi
8459 -echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5
8460 -echo "${ECHO_T}$ac_cv_lib_intl_bindtextdomain" >&6
8461 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5
8462 +echo "${ECHO_T}$ac_cv_lib_intl_bindtextdomain" >&6; }
8463 if test $ac_cv_lib_intl_bindtextdomain = yes; then
8464 - echo "$as_me:$LINENO: checking for gettext in libintl" >&5
8465 -echo $ECHO_N "checking for gettext in libintl... $ECHO_C" >&6
8466 + { echo "$as_me:$LINENO: checking for gettext in libintl" >&5
8467 +echo $ECHO_N "checking for gettext in libintl... $ECHO_C" >&6; }
8468 if test "${gt_cv_func_gettext_libintl+set}" = set; then
8469 echo $ECHO_N "(cached) $ECHO_C" >&6
8470 else
8471 @@ -7702,39 +8331,36 @@
8472 }
8473 _ACEOF
8474 rm -f conftest.$ac_objext conftest$ac_exeext
8475 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8476 - (eval $ac_link) 2>conftest.er1
8477 +if { (ac_try="$ac_link"
8478 +case "(($ac_try" in
8479 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8480 + *) ac_try_echo=$ac_try;;
8481 +esac
8482 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8483 + (eval "$ac_link") 2>conftest.er1
8484 ac_status=$?
8485 grep -v '^ *+' conftest.er1 >conftest.err
8486 rm -f conftest.er1
8487 cat conftest.err >&5
8488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8489 - (exit $ac_status); } &&
8490 - { ac_try='test -z "$ac_c_werror_flag"
8491 - || test ! -s conftest.err'
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); }; } &&
8497 - { ac_try='test -s conftest$ac_exeext'
8498 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8499 - (eval $ac_try) 2>&5
8500 - ac_status=$?
8501 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
8502 - (exit $ac_status); }; }; then
8503 + (exit $ac_status); } && {
8504 + test -z "$ac_c_werror_flag" ||
8505 + test ! -s conftest.err
8506 + } && test -s conftest$ac_exeext &&
8507 + $as_test_x conftest$ac_exeext; then
8508 gt_cv_func_gettext_libintl=yes
8509 else
8510 echo "$as_me: failed program was:" >&5
8511 sed 's/^/| /' conftest.$ac_ext >&5
8512
8513 -gt_cv_func_gettext_libintl=no
8514 + gt_cv_func_gettext_libintl=no
8515 fi
8516 -rm -f conftest.err conftest.$ac_objext \
8517 +
8518 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8519 conftest$ac_exeext conftest.$ac_ext
8520 fi
8521 -echo "$as_me:$LINENO: result: $gt_cv_func_gettext_libintl" >&5
8522 -echo "${ECHO_T}$gt_cv_func_gettext_libintl" >&6
8523 +{ echo "$as_me:$LINENO: result: $gt_cv_func_gettext_libintl" >&5
8524 +echo "${ECHO_T}$gt_cv_func_gettext_libintl" >&6; }
8525 fi
8526
8527 fi
8528 @@ -7748,8 +8374,8 @@
8529
8530 # Extract the first word of "msgfmt", so it can be a program name with args.
8531 set dummy msgfmt; ac_word=$2
8532 -echo "$as_me:$LINENO: checking for $ac_word" >&5
8533 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8534 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
8535 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8536 if test "${ac_cv_path_MSGFMT+set}" = set; then
8537 echo $ECHO_N "(cached) $ECHO_C" >&6
8538 else
8539 @@ -7775,20 +8401,20 @@
8540 fi
8541 MSGFMT="$ac_cv_path_MSGFMT"
8542 if test -n "$MSGFMT"; then
8543 - echo "$as_me:$LINENO: result: $MSGFMT" >&5
8544 -echo "${ECHO_T}$MSGFMT" >&6
8545 + { echo "$as_me:$LINENO: result: $MSGFMT" >&5
8546 +echo "${ECHO_T}$MSGFMT" >&6; }
8547 else
8548 - echo "$as_me:$LINENO: result: no" >&5
8549 -echo "${ECHO_T}no" >&6
8550 + { echo "$as_me:$LINENO: result: no" >&5
8551 +echo "${ECHO_T}no" >&6; }
8552 fi
8553 if test "$MSGFMT" != "no"; then
8554
8555 for ac_func in dcgettext
8556 do
8557 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8558 -echo "$as_me:$LINENO: checking for $ac_func" >&5
8559 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8560 -if eval "test \"\${$as_ac_var+set}\" = set"; then
8561 +{ echo "$as_me:$LINENO: checking for $ac_func" >&5
8562 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
8563 +if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8564 echo $ECHO_N "(cached) $ECHO_C" >&6
8565 else
8566 cat >conftest.$ac_ext <<_ACEOF
8567 @@ -7814,68 +8440,60 @@
8568
8569 #undef $ac_func
8570
8571 -/* Override any gcc2 internal prototype to avoid an error. */
8572 +/* Override any GCC internal prototype to avoid an error.
8573 + Use char because int might match the return type of a GCC
8574 + builtin and then its argument prototype would still apply. */
8575 #ifdef __cplusplus
8576 extern "C"
8577 -{
8578 #endif
8579 -/* We use char because int might match the return type of a gcc2
8580 - builtin and then its argument prototype would still apply. */
8581 char $ac_func ();
8582 /* The GNU C library defines this for functions which it implements
8583 to always fail with ENOSYS. Some functions are actually named
8584 something starting with __ and the normal name is an alias. */
8585 -#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8586 +#if defined __stub_$ac_func || defined __stub___$ac_func
8587 choke me
8588 -#else
8589 -char (*f) () = $ac_func;
8590 -#endif
8591 -#ifdef __cplusplus
8592 -}
8593 #endif
8594
8595 int
8596 main ()
8597 {
8598 -return f != $ac_func;
8599 +return $ac_func ();
8600 ;
8601 return 0;
8602 }
8603 _ACEOF
8604 rm -f conftest.$ac_objext conftest$ac_exeext
8605 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8606 - (eval $ac_link) 2>conftest.er1
8607 +if { (ac_try="$ac_link"
8608 +case "(($ac_try" in
8609 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8610 + *) ac_try_echo=$ac_try;;
8611 +esac
8612 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8613 + (eval "$ac_link") 2>conftest.er1
8614 ac_status=$?
8615 grep -v '^ *+' conftest.er1 >conftest.err
8616 rm -f conftest.er1
8617 cat conftest.err >&5
8618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8619 - (exit $ac_status); } &&
8620 - { ac_try='test -z "$ac_c_werror_flag"
8621 - || test ! -s conftest.err'
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); }; } &&
8627 - { ac_try='test -s conftest$ac_exeext'
8628 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8629 - (eval $ac_try) 2>&5
8630 - ac_status=$?
8631 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
8632 - (exit $ac_status); }; }; then
8633 + (exit $ac_status); } && {
8634 + test -z "$ac_c_werror_flag" ||
8635 + test ! -s conftest.err
8636 + } && test -s conftest$ac_exeext &&
8637 + $as_test_x conftest$ac_exeext; then
8638 eval "$as_ac_var=yes"
8639 else
8640 echo "$as_me: failed program was:" >&5
8641 sed 's/^/| /' conftest.$ac_ext >&5
8642
8643 -eval "$as_ac_var=no"
8644 + eval "$as_ac_var=no"
8645 fi
8646 -rm -f conftest.err conftest.$ac_objext \
8647 +
8648 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8649 conftest$ac_exeext conftest.$ac_ext
8650 fi
8651 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8652 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8653 +ac_res=`eval echo '${'$as_ac_var'}'`
8654 + { echo "$as_me:$LINENO: result: $ac_res" >&5
8655 +echo "${ECHO_T}$ac_res" >&6; }
8656 if test `eval echo '${'$as_ac_var'}'` = yes; then
8657 cat >>confdefs.h <<_ACEOF
8658 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8659 @@ -7886,8 +8504,8 @@
8660
8661 # Extract the first word of "gmsgfmt", so it can be a program name with args.
8662 set dummy gmsgfmt; ac_word=$2
8663 -echo "$as_me:$LINENO: checking for $ac_word" >&5
8664 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8665 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
8666 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8667 if test "${ac_cv_path_GMSGFMT+set}" = set; then
8668 echo $ECHO_N "(cached) $ECHO_C" >&6
8669 else
8670 @@ -7902,32 +8520,33 @@
8671 IFS=$as_save_IFS
8672 test -z "$as_dir" && as_dir=.
8673 for ac_exec_ext in '' $ac_executable_extensions; do
8674 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8675 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8676 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
8677 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8678 break 2
8679 fi
8680 done
8681 done
8682 +IFS=$as_save_IFS
8683
8684 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
8685 ;;
8686 esac
8687 fi
8688 GMSGFMT=$ac_cv_path_GMSGFMT
8689 -
8690 if test -n "$GMSGFMT"; then
8691 - echo "$as_me:$LINENO: result: $GMSGFMT" >&5
8692 -echo "${ECHO_T}$GMSGFMT" >&6
8693 + { echo "$as_me:$LINENO: result: $GMSGFMT" >&5
8694 +echo "${ECHO_T}$GMSGFMT" >&6; }
8695 else
8696 - echo "$as_me:$LINENO: result: no" >&5
8697 -echo "${ECHO_T}no" >&6
8698 + { echo "$as_me:$LINENO: result: no" >&5
8699 +echo "${ECHO_T}no" >&6; }
8700 fi
8701
8702 +
8703 # Extract the first word of "xgettext", so it can be a program name with args.
8704 set dummy xgettext; ac_word=$2
8705 -echo "$as_me:$LINENO: checking for $ac_word" >&5
8706 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8707 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
8708 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8709 if test "${ac_cv_path_XGETTEXT+set}" = set; then
8710 echo $ECHO_N "(cached) $ECHO_C" >&6
8711 else
8712 @@ -7953,11 +8572,11 @@
8713 fi
8714 XGETTEXT="$ac_cv_path_XGETTEXT"
8715 if test -n "$XGETTEXT"; then
8716 - echo "$as_me:$LINENO: result: $XGETTEXT" >&5
8717 -echo "${ECHO_T}$XGETTEXT" >&6
8718 + { echo "$as_me:$LINENO: result: $XGETTEXT" >&5
8719 +echo "${ECHO_T}$XGETTEXT" >&6; }
8720 else
8721 - echo "$as_me:$LINENO: result: no" >&5
8722 -echo "${ECHO_T}no" >&6
8723 + { echo "$as_me:$LINENO: result: no" >&5
8724 +echo "${ECHO_T}no" >&6; }
8725 fi
8726
8727 cat >conftest.$ac_ext <<_ACEOF
8728 @@ -7977,37 +8596,34 @@
8729 }
8730 _ACEOF
8731 rm -f conftest.$ac_objext conftest$ac_exeext
8732 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8733 - (eval $ac_link) 2>conftest.er1
8734 +if { (ac_try="$ac_link"
8735 +case "(($ac_try" in
8736 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8737 + *) ac_try_echo=$ac_try;;
8738 +esac
8739 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8740 + (eval "$ac_link") 2>conftest.er1
8741 ac_status=$?
8742 grep -v '^ *+' conftest.er1 >conftest.err
8743 rm -f conftest.er1
8744 cat conftest.err >&5
8745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8746 - (exit $ac_status); } &&
8747 - { ac_try='test -z "$ac_c_werror_flag"
8748 - || test ! -s conftest.err'
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); }; } &&
8754 - { ac_try='test -s conftest$ac_exeext'
8755 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8756 - (eval $ac_try) 2>&5
8757 - ac_status=$?
8758 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
8759 - (exit $ac_status); }; }; then
8760 + (exit $ac_status); } && {
8761 + test -z "$ac_c_werror_flag" ||
8762 + test ! -s conftest.err
8763 + } && test -s conftest$ac_exeext &&
8764 + $as_test_x conftest$ac_exeext; then
8765 CATOBJEXT=.gmo
8766 DATADIRNAME=share
8767 else
8768 echo "$as_me: failed program was:" >&5
8769 sed 's/^/| /' conftest.$ac_ext >&5
8770
8771 -CATOBJEXT=.mo
8772 + CATOBJEXT=.mo
8773 DATADIRNAME=lib
8774 fi
8775 -rm -f conftest.err conftest.$ac_objext \
8776 +
8777 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8778 conftest$ac_exeext conftest.$ac_ext
8779 INSTOBJEXT=.mo
8780 fi
8781 @@ -8029,8 +8645,8 @@
8782 INTLOBJS="\$(GETTOBJS)"
8783 # Extract the first word of "msgfmt", so it can be a program name with args.
8784 set dummy msgfmt; ac_word=$2
8785 -echo "$as_me:$LINENO: checking for $ac_word" >&5
8786 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8787 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
8788 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8789 if test "${ac_cv_path_MSGFMT+set}" = set; then
8790 echo $ECHO_N "(cached) $ECHO_C" >&6
8791 else
8792 @@ -8056,17 +8672,17 @@
8793 fi
8794 MSGFMT="$ac_cv_path_MSGFMT"
8795 if test -n "$MSGFMT"; then
8796 - echo "$as_me:$LINENO: result: $MSGFMT" >&5
8797 -echo "${ECHO_T}$MSGFMT" >&6
8798 + { echo "$as_me:$LINENO: result: $MSGFMT" >&5
8799 +echo "${ECHO_T}$MSGFMT" >&6; }
8800 else
8801 - echo "$as_me:$LINENO: result: no" >&5
8802 -echo "${ECHO_T}no" >&6
8803 + { echo "$as_me:$LINENO: result: no" >&5
8804 +echo "${ECHO_T}no" >&6; }
8805 fi
8806
8807 # Extract the first word of "gmsgfmt", so it can be a program name with args.
8808 set dummy gmsgfmt; ac_word=$2
8809 -echo "$as_me:$LINENO: checking for $ac_word" >&5
8810 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8811 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
8812 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8813 if test "${ac_cv_path_GMSGFMT+set}" = set; then
8814 echo $ECHO_N "(cached) $ECHO_C" >&6
8815 else
8816 @@ -8081,32 +8697,33 @@
8817 IFS=$as_save_IFS
8818 test -z "$as_dir" && as_dir=.
8819 for ac_exec_ext in '' $ac_executable_extensions; do
8820 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8821 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8822 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
8823 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8824 break 2
8825 fi
8826 done
8827 done
8828 +IFS=$as_save_IFS
8829
8830 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
8831 ;;
8832 esac
8833 fi
8834 GMSGFMT=$ac_cv_path_GMSGFMT
8835 -
8836 if test -n "$GMSGFMT"; then
8837 - echo "$as_me:$LINENO: result: $GMSGFMT" >&5
8838 -echo "${ECHO_T}$GMSGFMT" >&6
8839 + { echo "$as_me:$LINENO: result: $GMSGFMT" >&5
8840 +echo "${ECHO_T}$GMSGFMT" >&6; }
8841 else
8842 - echo "$as_me:$LINENO: result: no" >&5
8843 -echo "${ECHO_T}no" >&6
8844 + { echo "$as_me:$LINENO: result: no" >&5
8845 +echo "${ECHO_T}no" >&6; }
8846 fi
8847
8848 +
8849 # Extract the first word of "xgettext", so it can be a program name with args.
8850 set dummy xgettext; ac_word=$2
8851 -echo "$as_me:$LINENO: checking for $ac_word" >&5
8852 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8853 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
8854 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8855 if test "${ac_cv_path_XGETTEXT+set}" = set; then
8856 echo $ECHO_N "(cached) $ECHO_C" >&6
8857 else
8858 @@ -8132,11 +8749,11 @@
8859 fi
8860 XGETTEXT="$ac_cv_path_XGETTEXT"
8861 if test -n "$XGETTEXT"; then
8862 - echo "$as_me:$LINENO: result: $XGETTEXT" >&5
8863 -echo "${ECHO_T}$XGETTEXT" >&6
8864 + { echo "$as_me:$LINENO: result: $XGETTEXT" >&5
8865 +echo "${ECHO_T}$XGETTEXT" >&6; }
8866 else
8867 - echo "$as_me:$LINENO: result: no" >&5
8868 -echo "${ECHO_T}no" >&6
8869 + { echo "$as_me:$LINENO: result: no" >&5
8870 +echo "${ECHO_T}no" >&6; }
8871 fi
8872
8873
8874 @@ -8155,8 +8772,8 @@
8875 if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
8876 : ;
8877 else
8878 - echo "$as_me:$LINENO: result: found xgettext programs is not GNU xgettext; ignore it" >&5
8879 -echo "${ECHO_T}found xgettext programs is not GNU xgettext; ignore it" >&6
8880 + { echo "$as_me:$LINENO: result: found xgettext programs is not GNU xgettext; ignore it" >&5
8881 +echo "${ECHO_T}found xgettext programs is not GNU xgettext; ignore it" >&6; }
8882 XGETTEXT=":"
8883 fi
8884 fi
8885 @@ -8205,8 +8822,8 @@
8886 if test "x$ALL_LINGUAS" = "x"; then
8887 LINGUAS=
8888 else
8889 - echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
8890 -echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6
8891 + { echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
8892 +echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6; }
8893 NEW_LINGUAS=
8894 for lang in ${LINGUAS=$ALL_LINGUAS}; do
8895 case "$ALL_LINGUAS" in
8896 @@ -8214,8 +8831,8 @@
8897 esac
8898 done
8899 LINGUAS=$NEW_LINGUAS
8900 - echo "$as_me:$LINENO: result: $LINGUAS" >&5
8901 -echo "${ECHO_T}$LINGUAS" >&6
8902 + { echo "$as_me:$LINENO: result: $LINGUAS" >&5
8903 +echo "${ECHO_T}$LINGUAS" >&6; }
8904 fi
8905
8906 if test -n "$LINGUAS"; then
8907 @@ -8234,17 +8851,17 @@
8908 if test -f $srcdir/po2tbl.sed.in; then
8909 if test "$CATOBJEXT" = ".cat"; then
8910 if test "${ac_cv_header_linux_version_h+set}" = set; then
8911 - echo "$as_me:$LINENO: checking for linux/version.h" >&5
8912 -echo $ECHO_N "checking for linux/version.h... $ECHO_C" >&6
8913 + { echo "$as_me:$LINENO: checking for linux/version.h" >&5
8914 +echo $ECHO_N "checking for linux/version.h... $ECHO_C" >&6; }
8915 if test "${ac_cv_header_linux_version_h+set}" = set; then
8916 echo $ECHO_N "(cached) $ECHO_C" >&6
8917 fi
8918 -echo "$as_me:$LINENO: result: $ac_cv_header_linux_version_h" >&5
8919 -echo "${ECHO_T}$ac_cv_header_linux_version_h" >&6
8920 +{ echo "$as_me:$LINENO: result: $ac_cv_header_linux_version_h" >&5
8921 +echo "${ECHO_T}$ac_cv_header_linux_version_h" >&6; }
8922 else
8923 # Is the header compilable?
8924 -echo "$as_me:$LINENO: checking linux/version.h usability" >&5
8925 -echo $ECHO_N "checking linux/version.h usability... $ECHO_C" >&6
8926 +{ echo "$as_me:$LINENO: checking linux/version.h usability" >&5
8927 +echo $ECHO_N "checking linux/version.h usability... $ECHO_C" >&6; }
8928 cat >conftest.$ac_ext <<_ACEOF
8929 /* confdefs.h. */
8930 _ACEOF
8931 @@ -8255,41 +8872,37 @@
8932 #include <linux/version.h>
8933 _ACEOF
8934 rm -f conftest.$ac_objext
8935 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8936 - (eval $ac_compile) 2>conftest.er1
8937 +if { (ac_try="$ac_compile"
8938 +case "(($ac_try" in
8939 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8940 + *) ac_try_echo=$ac_try;;
8941 +esac
8942 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8943 + (eval "$ac_compile") 2>conftest.er1
8944 ac_status=$?
8945 grep -v '^ *+' conftest.er1 >conftest.err
8946 rm -f conftest.er1
8947 cat conftest.err >&5
8948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8949 - (exit $ac_status); } &&
8950 - { ac_try='test -z "$ac_c_werror_flag"
8951 - || test ! -s conftest.err'
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); }; } &&
8957 - { ac_try='test -s conftest.$ac_objext'
8958 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8959 - (eval $ac_try) 2>&5
8960 - ac_status=$?
8961 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
8962 - (exit $ac_status); }; }; then
8963 + (exit $ac_status); } && {
8964 + test -z "$ac_c_werror_flag" ||
8965 + test ! -s conftest.err
8966 + } && test -s conftest.$ac_objext; then
8967 ac_header_compiler=yes
8968 else
8969 echo "$as_me: failed program was:" >&5
8970 sed 's/^/| /' conftest.$ac_ext >&5
8971
8972 -ac_header_compiler=no
8973 + ac_header_compiler=no
8974 fi
8975 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8976 -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8977 -echo "${ECHO_T}$ac_header_compiler" >&6
8978 +
8979 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8980 +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8981 +echo "${ECHO_T}$ac_header_compiler" >&6; }
8982
8983 # Is the header present?
8984 -echo "$as_me:$LINENO: checking linux/version.h presence" >&5
8985 -echo $ECHO_N "checking linux/version.h presence... $ECHO_C" >&6
8986 +{ echo "$as_me:$LINENO: checking linux/version.h presence" >&5
8987 +echo $ECHO_N "checking linux/version.h presence... $ECHO_C" >&6; }
8988 cat >conftest.$ac_ext <<_ACEOF
8989 /* confdefs.h. */
8990 _ACEOF
8991 @@ -8298,24 +8911,22 @@
8992 /* end confdefs.h. */
8993 #include <linux/version.h>
8994 _ACEOF
8995 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8996 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8997 +if { (ac_try="$ac_cpp conftest.$ac_ext"
8998 +case "(($ac_try" in
8999 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9000 + *) ac_try_echo=$ac_try;;
9001 +esac
9002 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9003 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9004 ac_status=$?
9005 grep -v '^ *+' conftest.er1 >conftest.err
9006 rm -f conftest.er1
9007 cat conftest.err >&5
9008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9009 - (exit $ac_status); } >/dev/null; then
9010 - if test -s conftest.err; then
9011 - ac_cpp_err=$ac_c_preproc_warn_flag
9012 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
9013 - else
9014 - ac_cpp_err=
9015 - fi
9016 -else
9017 - ac_cpp_err=yes
9018 -fi
9019 -if test -z "$ac_cpp_err"; then
9020 + (exit $ac_status); } >/dev/null && {
9021 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9022 + test ! -s conftest.err
9023 + }; then
9024 ac_header_preproc=yes
9025 else
9026 echo "$as_me: failed program was:" >&5
9027 @@ -8323,9 +8934,10 @@
9028
9029 ac_header_preproc=no
9030 fi
9031 +
9032 rm -f conftest.err conftest.$ac_ext
9033 -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9034 -echo "${ECHO_T}$ac_header_preproc" >&6
9035 +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9036 +echo "${ECHO_T}$ac_header_preproc" >&6; }
9037
9038 # So? What about this header?
9039 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9040 @@ -8349,25 +8961,18 @@
9041 echo "$as_me: WARNING: linux/version.h: proceeding with the preprocessor's result" >&2;}
9042 { echo "$as_me:$LINENO: WARNING: linux/version.h: in the future, the compiler will take precedence" >&5
9043 echo "$as_me: WARNING: linux/version.h: in the future, the compiler will take precedence" >&2;}
9044 - (
9045 - cat <<\_ASBOX
9046 -## ------------------------------------------ ##
9047 -## Report this to the AC_PACKAGE_NAME lists. ##
9048 -## ------------------------------------------ ##
9049 -_ASBOX
9050 - ) |
9051 - sed "s/^/$as_me: WARNING: /" >&2
9052 +
9053 ;;
9054 esac
9055 -echo "$as_me:$LINENO: checking for linux/version.h" >&5
9056 -echo $ECHO_N "checking for linux/version.h... $ECHO_C" >&6
9057 +{ echo "$as_me:$LINENO: checking for linux/version.h" >&5
9058 +echo $ECHO_N "checking for linux/version.h... $ECHO_C" >&6; }
9059 if test "${ac_cv_header_linux_version_h+set}" = set; then
9060 echo $ECHO_N "(cached) $ECHO_C" >&6
9061 else
9062 ac_cv_header_linux_version_h=$ac_header_preproc
9063 fi
9064 -echo "$as_me:$LINENO: result: $ac_cv_header_linux_version_h" >&5
9065 -echo "${ECHO_T}$ac_cv_header_linux_version_h" >&6
9066 +{ echo "$as_me:$LINENO: result: $ac_cv_header_linux_version_h" >&5
9067 +echo "${ECHO_T}$ac_cv_header_linux_version_h" >&6; }
9068
9069 fi
9070 if test $ac_cv_header_linux_version_h = yes; then
9071 @@ -8434,8 +9039,8 @@
9072 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
9073 # OS/2's system install, which has a completely different semantic
9074 # ./install, which can be erroneously created by make from ./install.sh.
9075 -echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
9076 -echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
9077 +{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
9078 +echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
9079 if test -z "$INSTALL"; then
9080 if test "${ac_cv_path_install+set}" = set; then
9081 echo $ECHO_N "(cached) $ECHO_C" >&6
9082 @@ -8457,7 +9062,7 @@
9083 # by default.
9084 for ac_prog in ginstall scoinst install; do
9085 for ac_exec_ext in '' $ac_executable_extensions; do
9086 - if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
9087 + if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
9088 if test $ac_prog = install &&
9089 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
9090 # AIX install. It has an incompatible calling convention.
9091 @@ -8476,21 +9081,22 @@
9092 ;;
9093 esac
9094 done
9095 +IFS=$as_save_IFS
9096
9097
9098 fi
9099 if test "${ac_cv_path_install+set}" = set; then
9100 INSTALL=$ac_cv_path_install
9101 else
9102 - # As a last resort, use the slow shell script. We don't cache a
9103 - # path for INSTALL within a source directory, because that will
9104 + # As a last resort, use the slow shell script. Don't cache a
9105 + # value for INSTALL within a source directory, because that will
9106 # break other packages using the cache if that directory is
9107 - # removed, or if the path is relative.
9108 + # removed, or if the value is a relative name.
9109 INSTALL=$ac_install_sh
9110 fi
9111 fi
9112 -echo "$as_me:$LINENO: result: $INSTALL" >&5
9113 -echo "${ECHO_T}$INSTALL" >&6
9114 +{ echo "$as_me:$LINENO: result: $INSTALL" >&5
9115 +echo "${ECHO_T}$INSTALL" >&6; }
9116
9117 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
9118 # It thinks the first close brace ends the variable substitution.
9119 @@ -8507,8 +9113,8 @@
9120 BFD_HOST_64_BIT=
9121 BFD_HOST_U_64_BIT=
9122
9123 -echo "$as_me:$LINENO: checking for long long" >&5
9124 -echo $ECHO_N "checking for long long... $ECHO_C" >&6
9125 +{ echo "$as_me:$LINENO: checking for long long" >&5
9126 +echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
9127 if test "${bfd_cv_has_long_long+set}" = set; then
9128 echo $ECHO_N "(cached) $ECHO_C" >&6
9129 else
9130 @@ -8528,43 +9134,39 @@
9131 }
9132 _ACEOF
9133 rm -f conftest.$ac_objext
9134 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9135 - (eval $ac_compile) 2>conftest.er1
9136 +if { (ac_try="$ac_compile"
9137 +case "(($ac_try" in
9138 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9139 + *) ac_try_echo=$ac_try;;
9140 +esac
9141 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9142 + (eval "$ac_compile") 2>conftest.er1
9143 ac_status=$?
9144 grep -v '^ *+' conftest.er1 >conftest.err
9145 rm -f conftest.er1
9146 cat conftest.err >&5
9147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9148 - (exit $ac_status); } &&
9149 - { ac_try='test -z "$ac_c_werror_flag"
9150 - || test ! -s conftest.err'
9151 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9152 - (eval $ac_try) 2>&5
9153 - ac_status=$?
9154 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
9155 - (exit $ac_status); }; } &&
9156 - { ac_try='test -s conftest.$ac_objext'
9157 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9158 - (eval $ac_try) 2>&5
9159 - ac_status=$?
9160 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
9161 - (exit $ac_status); }; }; then
9162 + (exit $ac_status); } && {
9163 + test -z "$ac_c_werror_flag" ||
9164 + test ! -s conftest.err
9165 + } && test -s conftest.$ac_objext; then
9166 bfd_cv_has_long_long=yes
9167 else
9168 echo "$as_me: failed program was:" >&5
9169 sed 's/^/| /' conftest.$ac_ext >&5
9170
9171 -bfd_cv_has_long_long=no
9172 + bfd_cv_has_long_long=no
9173 fi
9174 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9175 +
9176 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9177 fi
9178
9179 -echo "$as_me:$LINENO: result: $bfd_cv_has_long_long" >&5
9180 -echo "${ECHO_T}$bfd_cv_has_long_long" >&6
9181 +{ echo "$as_me:$LINENO: result: $bfd_cv_has_long_long" >&5
9182 +echo "${ECHO_T}$bfd_cv_has_long_long" >&6; }
9183 if test $bfd_cv_has_long_long = yes; then
9184 BFD_HOST_LONG_LONG=1
9185 - echo "$as_me:$LINENO: checking for long long" >&5
9186 -echo $ECHO_N "checking for long long... $ECHO_C" >&6
9187 + { echo "$as_me:$LINENO: checking for long long" >&5
9188 +echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
9189 if test "${ac_cv_type_long_long+set}" = set; then
9190 echo $ECHO_N "(cached) $ECHO_C" >&6
9191 else
9192 @@ -8575,61 +9177,57 @@
9193 cat >>conftest.$ac_ext <<_ACEOF
9194 /* end confdefs.h. */
9195 $ac_includes_default
9196 +typedef long long ac__type_new_;
9197 int
9198 main ()
9199 {
9200 -if ((long long *) 0)
9201 +if ((ac__type_new_ *) 0)
9202 return 0;
9203 -if (sizeof (long long))
9204 +if (sizeof (ac__type_new_))
9205 return 0;
9206 ;
9207 return 0;
9208 }
9209 _ACEOF
9210 rm -f conftest.$ac_objext
9211 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9212 - (eval $ac_compile) 2>conftest.er1
9213 +if { (ac_try="$ac_compile"
9214 +case "(($ac_try" in
9215 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9216 + *) ac_try_echo=$ac_try;;
9217 +esac
9218 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9219 + (eval "$ac_compile") 2>conftest.er1
9220 ac_status=$?
9221 grep -v '^ *+' conftest.er1 >conftest.err
9222 rm -f conftest.er1
9223 cat conftest.err >&5
9224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9225 - (exit $ac_status); } &&
9226 - { ac_try='test -z "$ac_c_werror_flag"
9227 - || test ! -s conftest.err'
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); }; } &&
9233 - { ac_try='test -s conftest.$ac_objext'
9234 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9235 - (eval $ac_try) 2>&5
9236 - ac_status=$?
9237 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
9238 - (exit $ac_status); }; }; then
9239 + (exit $ac_status); } && {
9240 + test -z "$ac_c_werror_flag" ||
9241 + test ! -s conftest.err
9242 + } && test -s conftest.$ac_objext; then
9243 ac_cv_type_long_long=yes
9244 else
9245 echo "$as_me: failed program was:" >&5
9246 sed 's/^/| /' conftest.$ac_ext >&5
9247
9248 -ac_cv_type_long_long=no
9249 + ac_cv_type_long_long=no
9250 fi
9251 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9252 +
9253 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9254 fi
9255 -echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
9256 -echo "${ECHO_T}$ac_cv_type_long_long" >&6
9257 +{ echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
9258 +echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
9259
9260 -echo "$as_me:$LINENO: checking size of long long" >&5
9261 -echo $ECHO_N "checking size of long long... $ECHO_C" >&6
9262 +# The cast to long int works around a bug in the HP C Compiler
9263 +# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
9264 +# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
9265 +# This bug is HP SR number 8606223364.
9266 +{ echo "$as_me:$LINENO: checking size of long long" >&5
9267 +echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
9268 if test "${ac_cv_sizeof_long_long+set}" = set; then
9269 echo $ECHO_N "(cached) $ECHO_C" >&6
9270 else
9271 - if test "$ac_cv_type_long_long" = yes; then
9272 - # The cast to unsigned long works around a bug in the HP C Compiler
9273 - # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
9274 - # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
9275 - # This bug is HP SR number 8606223364.
9276 if test "$cross_compiling" = yes; then
9277 # Depending upon the size, compute the lo and hi bounds.
9278 cat >conftest.$ac_ext <<_ACEOF
9279 @@ -8639,10 +9237,11 @@
9280 cat >>conftest.$ac_ext <<_ACEOF
9281 /* end confdefs.h. */
9282 $ac_includes_default
9283 + typedef long long ac__type_sizeof_;
9284 int
9285 main ()
9286 {
9287 -static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
9288 +static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
9289 test_array [0] = 0
9290
9291 ;
9292 @@ -8650,27 +9249,22 @@
9293 }
9294 _ACEOF
9295 rm -f conftest.$ac_objext
9296 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9297 - (eval $ac_compile) 2>conftest.er1
9298 +if { (ac_try="$ac_compile"
9299 +case "(($ac_try" in
9300 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9301 + *) ac_try_echo=$ac_try;;
9302 +esac
9303 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9304 + (eval "$ac_compile") 2>conftest.er1
9305 ac_status=$?
9306 grep -v '^ *+' conftest.er1 >conftest.err
9307 rm -f conftest.er1
9308 cat conftest.err >&5
9309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9310 - (exit $ac_status); } &&
9311 - { ac_try='test -z "$ac_c_werror_flag"
9312 - || test ! -s conftest.err'
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); }; } &&
9318 - { ac_try='test -s conftest.$ac_objext'
9319 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9320 - (eval $ac_try) 2>&5
9321 - ac_status=$?
9322 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
9323 - (exit $ac_status); }; }; then
9324 + (exit $ac_status); } && {
9325 + test -z "$ac_c_werror_flag" ||
9326 + test ! -s conftest.err
9327 + } && test -s conftest.$ac_objext; then
9328 ac_lo=0 ac_mid=0
9329 while :; do
9330 cat >conftest.$ac_ext <<_ACEOF
9331 @@ -8680,10 +9274,11 @@
9332 cat >>conftest.$ac_ext <<_ACEOF
9333 /* end confdefs.h. */
9334 $ac_includes_default
9335 + typedef long long ac__type_sizeof_;
9336 int
9337 main ()
9338 {
9339 -static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
9340 +static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
9341 test_array [0] = 0
9342
9343 ;
9344 @@ -8691,56 +9286,53 @@
9345 }
9346 _ACEOF
9347 rm -f conftest.$ac_objext
9348 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9349 - (eval $ac_compile) 2>conftest.er1
9350 +if { (ac_try="$ac_compile"
9351 +case "(($ac_try" in
9352 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9353 + *) ac_try_echo=$ac_try;;
9354 +esac
9355 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9356 + (eval "$ac_compile") 2>conftest.er1
9357 ac_status=$?
9358 grep -v '^ *+' conftest.er1 >conftest.err
9359 rm -f conftest.er1
9360 cat conftest.err >&5
9361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9362 - (exit $ac_status); } &&
9363 - { ac_try='test -z "$ac_c_werror_flag"
9364 - || test ! -s conftest.err'
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); }; } &&
9370 - { ac_try='test -s conftest.$ac_objext'
9371 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9372 - (eval $ac_try) 2>&5
9373 - ac_status=$?
9374 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
9375 - (exit $ac_status); }; }; then
9376 + (exit $ac_status); } && {
9377 + test -z "$ac_c_werror_flag" ||
9378 + test ! -s conftest.err
9379 + } && test -s conftest.$ac_objext; then
9380 ac_hi=$ac_mid; break
9381 else
9382 echo "$as_me: failed program was:" >&5
9383 sed 's/^/| /' conftest.$ac_ext >&5
9384
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 + ac_lo=`expr $ac_mid + 1`
9392 + if test $ac_lo -le $ac_mid; then
9393 + ac_lo= ac_hi=
9394 + break
9395 + fi
9396 + ac_mid=`expr 2 '*' $ac_mid + 1`
9397 fi
9398 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9399 +
9400 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9401 done
9402 else
9403 echo "$as_me: failed program was:" >&5
9404 sed 's/^/| /' conftest.$ac_ext >&5
9405
9406 -cat >conftest.$ac_ext <<_ACEOF
9407 + cat >conftest.$ac_ext <<_ACEOF
9408 /* confdefs.h. */
9409 _ACEOF
9410 cat confdefs.h >>conftest.$ac_ext
9411 cat >>conftest.$ac_ext <<_ACEOF
9412 /* end confdefs.h. */
9413 $ac_includes_default
9414 + typedef long long ac__type_sizeof_;
9415 int
9416 main ()
9417 {
9418 -static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
9419 +static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
9420 test_array [0] = 0
9421
9422 ;
9423 @@ -8748,27 +9340,22 @@
9424 }
9425 _ACEOF
9426 rm -f conftest.$ac_objext
9427 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9428 - (eval $ac_compile) 2>conftest.er1
9429 +if { (ac_try="$ac_compile"
9430 +case "(($ac_try" in
9431 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9432 + *) ac_try_echo=$ac_try;;
9433 +esac
9434 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9435 + (eval "$ac_compile") 2>conftest.er1
9436 ac_status=$?
9437 grep -v '^ *+' conftest.er1 >conftest.err
9438 rm -f conftest.er1
9439 cat conftest.err >&5
9440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9441 - (exit $ac_status); } &&
9442 - { ac_try='test -z "$ac_c_werror_flag"
9443 - || test ! -s conftest.err'
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); }; } &&
9449 - { ac_try='test -s conftest.$ac_objext'
9450 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9451 - (eval $ac_try) 2>&5
9452 - ac_status=$?
9453 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
9454 - (exit $ac_status); }; }; then
9455 + (exit $ac_status); } && {
9456 + test -z "$ac_c_werror_flag" ||
9457 + test ! -s conftest.err
9458 + } && test -s conftest.$ac_objext; then
9459 ac_hi=-1 ac_mid=-1
9460 while :; do
9461 cat >conftest.$ac_ext <<_ACEOF
9462 @@ -8778,10 +9365,11 @@
9463 cat >>conftest.$ac_ext <<_ACEOF
9464 /* end confdefs.h. */
9465 $ac_includes_default
9466 + typedef long long ac__type_sizeof_;
9467 int
9468 main ()
9469 {
9470 -static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
9471 +static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
9472 test_array [0] = 0
9473
9474 ;
9475 @@ -8789,50 +9377,48 @@
9476 }
9477 _ACEOF
9478 rm -f conftest.$ac_objext
9479 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9480 - (eval $ac_compile) 2>conftest.er1
9481 +if { (ac_try="$ac_compile"
9482 +case "(($ac_try" in
9483 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9484 + *) ac_try_echo=$ac_try;;
9485 +esac
9486 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9487 + (eval "$ac_compile") 2>conftest.er1
9488 ac_status=$?
9489 grep -v '^ *+' conftest.er1 >conftest.err
9490 rm -f conftest.er1
9491 cat conftest.err >&5
9492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9493 - (exit $ac_status); } &&
9494 - { ac_try='test -z "$ac_c_werror_flag"
9495 - || test ! -s conftest.err'
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); }; } &&
9501 - { ac_try='test -s conftest.$ac_objext'
9502 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9503 - (eval $ac_try) 2>&5
9504 - ac_status=$?
9505 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
9506 - (exit $ac_status); }; }; then
9507 + (exit $ac_status); } && {
9508 + test -z "$ac_c_werror_flag" ||
9509 + test ! -s conftest.err
9510 + } && test -s conftest.$ac_objext; then
9511 ac_lo=$ac_mid; break
9512 else
9513 echo "$as_me: failed program was:" >&5
9514 sed 's/^/| /' conftest.$ac_ext >&5
9515
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 + ac_hi=`expr '(' $ac_mid ')' - 1`
9523 + if test $ac_mid -le $ac_hi; then
9524 + ac_lo= ac_hi=
9525 + break
9526 + fi
9527 + ac_mid=`expr 2 '*' $ac_mid`
9528 fi
9529 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9530 +
9531 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9532 done
9533 else
9534 echo "$as_me: failed program was:" >&5
9535 sed 's/^/| /' conftest.$ac_ext >&5
9536
9537 -ac_lo= ac_hi=
9538 + ac_lo= ac_hi=
9539 fi
9540 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9541 +
9542 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9543 fi
9544 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9545 +
9546 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9547 # Binary search between lo and hi bounds.
9548 while test "x$ac_lo" != "x$ac_hi"; do
9549 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
9550 @@ -8843,10 +9429,11 @@
9551 cat >>conftest.$ac_ext <<_ACEOF
9552 /* end confdefs.h. */
9553 $ac_includes_default
9554 + typedef long long ac__type_sizeof_;
9555 int
9556 main ()
9557 {
9558 -static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
9559 +static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
9560 test_array [0] = 0
9561
9562 ;
9563 @@ -8854,52 +9441,45 @@
9564 }
9565 _ACEOF
9566 rm -f conftest.$ac_objext
9567 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9568 - (eval $ac_compile) 2>conftest.er1
9569 +if { (ac_try="$ac_compile"
9570 +case "(($ac_try" in
9571 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9572 + *) ac_try_echo=$ac_try;;
9573 +esac
9574 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9575 + (eval "$ac_compile") 2>conftest.er1
9576 ac_status=$?
9577 grep -v '^ *+' conftest.er1 >conftest.err
9578 rm -f conftest.er1
9579 cat conftest.err >&5
9580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9581 - (exit $ac_status); } &&
9582 - { ac_try='test -z "$ac_c_werror_flag"
9583 - || test ! -s conftest.err'
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); }; } &&
9589 - { ac_try='test -s conftest.$ac_objext'
9590 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9591 - (eval $ac_try) 2>&5
9592 - ac_status=$?
9593 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
9594 - (exit $ac_status); }; }; then
9595 + (exit $ac_status); } && {
9596 + test -z "$ac_c_werror_flag" ||
9597 + test ! -s conftest.err
9598 + } && test -s conftest.$ac_objext; then
9599 ac_hi=$ac_mid
9600 else
9601 echo "$as_me: failed program was:" >&5
9602 sed 's/^/| /' conftest.$ac_ext >&5
9603
9604 -ac_lo=`expr '(' $ac_mid ')' + 1`
9605 + ac_lo=`expr '(' $ac_mid ')' + 1`
9606 fi
9607 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9608 +
9609 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9610 done
9611 case $ac_lo in
9612 ?*) ac_cv_sizeof_long_long=$ac_lo;;
9613 -'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
9614 +'') if test "$ac_cv_type_long_long" = yes; then
9615 + { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
9616 See \`config.log' for more details." >&5
9617 -echo "$as_me: error: cannot compute sizeof (long long), 77
9618 +echo "$as_me: error: cannot compute sizeof (long long)
9619 See \`config.log' for more details." >&2;}
9620 - { (exit 1); exit 1; }; } ;;
9621 + { (exit 77); exit 77; }; }
9622 + else
9623 + ac_cv_sizeof_long_long=0
9624 + fi ;;
9625 esac
9626 else
9627 - if test "$cross_compiling" = yes; then
9628 - { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
9629 -See \`config.log' for more details." >&5
9630 -echo "$as_me: error: cannot run test program while cross compiling
9631 -See \`config.log' for more details." >&2;}
9632 - { (exit 1); exit 1; }; }
9633 -else
9634 cat >conftest.$ac_ext <<_ACEOF
9635 /* confdefs.h. */
9636 _ACEOF
9637 @@ -8907,8 +9487,9 @@
9638 cat >>conftest.$ac_ext <<_ACEOF
9639 /* end confdefs.h. */
9640 $ac_includes_default
9641 -long longval () { return (long) (sizeof (long long)); }
9642 -unsigned long ulongval () { return (long) (sizeof (long long)); }
9643 + typedef long long ac__type_sizeof_;
9644 +static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
9645 +static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
9646 #include <stdio.h>
9647 #include <stdlib.h>
9648 int
9649 @@ -8917,35 +9498,44 @@
9650
9651 FILE *f = fopen ("conftest.val", "w");
9652 if (! f)
9653 - exit (1);
9654 - if (((long) (sizeof (long long))) < 0)
9655 + return 1;
9656 + if (((long int) (sizeof (ac__type_sizeof_))) < 0)
9657 {
9658 - long i = longval ();
9659 - if (i != ((long) (sizeof (long long))))
9660 - exit (1);
9661 + long int i = longval ();
9662 + if (i != ((long int) (sizeof (ac__type_sizeof_))))
9663 + return 1;
9664 fprintf (f, "%ld\n", i);
9665 }
9666 else
9667 {
9668 - unsigned long i = ulongval ();
9669 - if (i != ((long) (sizeof (long long))))
9670 - exit (1);
9671 + unsigned long int i = ulongval ();
9672 + if (i != ((long int) (sizeof (ac__type_sizeof_))))
9673 + return 1;
9674 fprintf (f, "%lu\n", i);
9675 }
9676 - exit (ferror (f) || fclose (f) != 0);
9677 + return ferror (f) || fclose (f) != 0;
9678
9679 ;
9680 return 0;
9681 }
9682 _ACEOF
9683 rm -f conftest$ac_exeext
9684 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9685 - (eval $ac_link) 2>&5
9686 +if { (ac_try="$ac_link"
9687 +case "(($ac_try" in
9688 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9689 + *) ac_try_echo=$ac_try;;
9690 +esac
9691 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9692 + (eval "$ac_link") 2>&5
9693 ac_status=$?
9694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9695 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
9696 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9697 - (eval $ac_try) 2>&5
9698 + { (case "(($ac_try" in
9699 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9700 + *) ac_try_echo=$ac_try;;
9701 +esac
9702 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9703 + (eval "$ac_try") 2>&5
9704 ac_status=$?
9705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9706 (exit $ac_status); }; }; then
9707 @@ -8956,22 +9546,25 @@
9708 sed 's/^/| /' conftest.$ac_ext >&5
9709
9710 ( exit $ac_status )
9711 -{ { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
9712 +if test "$ac_cv_type_long_long" = yes; then
9713 + { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
9714 See \`config.log' for more details." >&5
9715 -echo "$as_me: error: cannot compute sizeof (long long), 77
9716 +echo "$as_me: error: cannot compute sizeof (long long)
9717 See \`config.log' for more details." >&2;}
9718 - { (exit 1); exit 1; }; }
9719 -fi
9720 -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9721 + { (exit 77); exit 77; }; }
9722 + else
9723 + ac_cv_sizeof_long_long=0
9724 + fi
9725 fi
9726 +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9727 fi
9728 rm -f conftest.val
9729 -else
9730 - ac_cv_sizeof_long_long=0
9731 -fi
9732 fi
9733 -echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
9734 -echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
9735 +{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
9736 +echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
9737 +
9738 +
9739 +
9740 cat >>confdefs.h <<_ACEOF
9741 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
9742 _ACEOF
9743 @@ -8979,8 +9572,8 @@
9744
9745 fi
9746
9747 -echo "$as_me:$LINENO: checking for long" >&5
9748 -echo $ECHO_N "checking for long... $ECHO_C" >&6
9749 +{ echo "$as_me:$LINENO: checking for long" >&5
9750 +echo $ECHO_N "checking for long... $ECHO_C" >&6; }
9751 if test "${ac_cv_type_long+set}" = set; then
9752 echo $ECHO_N "(cached) $ECHO_C" >&6
9753 else
9754 @@ -8991,61 +9584,57 @@
9755 cat >>conftest.$ac_ext <<_ACEOF
9756 /* end confdefs.h. */
9757 $ac_includes_default
9758 +typedef long ac__type_new_;
9759 int
9760 main ()
9761 {
9762 -if ((long *) 0)
9763 +if ((ac__type_new_ *) 0)
9764 return 0;
9765 -if (sizeof (long))
9766 +if (sizeof (ac__type_new_))
9767 return 0;
9768 ;
9769 return 0;
9770 }
9771 _ACEOF
9772 rm -f conftest.$ac_objext
9773 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9774 - (eval $ac_compile) 2>conftest.er1
9775 +if { (ac_try="$ac_compile"
9776 +case "(($ac_try" in
9777 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9778 + *) ac_try_echo=$ac_try;;
9779 +esac
9780 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9781 + (eval "$ac_compile") 2>conftest.er1
9782 ac_status=$?
9783 grep -v '^ *+' conftest.er1 >conftest.err
9784 rm -f conftest.er1
9785 cat conftest.err >&5
9786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9787 - (exit $ac_status); } &&
9788 - { ac_try='test -z "$ac_c_werror_flag"
9789 - || test ! -s conftest.err'
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); }; } &&
9795 - { ac_try='test -s conftest.$ac_objext'
9796 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9797 - (eval $ac_try) 2>&5
9798 - ac_status=$?
9799 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
9800 - (exit $ac_status); }; }; then
9801 + (exit $ac_status); } && {
9802 + test -z "$ac_c_werror_flag" ||
9803 + test ! -s conftest.err
9804 + } && test -s conftest.$ac_objext; then
9805 ac_cv_type_long=yes
9806 else
9807 echo "$as_me: failed program was:" >&5
9808 sed 's/^/| /' conftest.$ac_ext >&5
9809
9810 -ac_cv_type_long=no
9811 + ac_cv_type_long=no
9812 fi
9813 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9814 +
9815 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9816 fi
9817 -echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
9818 -echo "${ECHO_T}$ac_cv_type_long" >&6
9819 +{ echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
9820 +echo "${ECHO_T}$ac_cv_type_long" >&6; }
9821
9822 -echo "$as_me:$LINENO: checking size of long" >&5
9823 -echo $ECHO_N "checking size of long... $ECHO_C" >&6
9824 +# The cast to long int works around a bug in the HP C Compiler
9825 +# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
9826 +# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
9827 +# This bug is HP SR number 8606223364.
9828 +{ echo "$as_me:$LINENO: checking size of long" >&5
9829 +echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
9830 if test "${ac_cv_sizeof_long+set}" = set; then
9831 echo $ECHO_N "(cached) $ECHO_C" >&6
9832 else
9833 - if test "$ac_cv_type_long" = yes; then
9834 - # The cast to unsigned long works around a bug in the HP C Compiler
9835 - # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
9836 - # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
9837 - # This bug is HP SR number 8606223364.
9838 if test "$cross_compiling" = yes; then
9839 # Depending upon the size, compute the lo and hi bounds.
9840 cat >conftest.$ac_ext <<_ACEOF
9841 @@ -9055,10 +9644,11 @@
9842 cat >>conftest.$ac_ext <<_ACEOF
9843 /* end confdefs.h. */
9844 $ac_includes_default
9845 + typedef long ac__type_sizeof_;
9846 int
9847 main ()
9848 {
9849 -static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
9850 +static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
9851 test_array [0] = 0
9852
9853 ;
9854 @@ -9066,27 +9656,22 @@
9855 }
9856 _ACEOF
9857 rm -f conftest.$ac_objext
9858 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9859 - (eval $ac_compile) 2>conftest.er1
9860 +if { (ac_try="$ac_compile"
9861 +case "(($ac_try" in
9862 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9863 + *) ac_try_echo=$ac_try;;
9864 +esac
9865 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9866 + (eval "$ac_compile") 2>conftest.er1
9867 ac_status=$?
9868 grep -v '^ *+' conftest.er1 >conftest.err
9869 rm -f conftest.er1
9870 cat conftest.err >&5
9871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9872 - (exit $ac_status); } &&
9873 - { ac_try='test -z "$ac_c_werror_flag"
9874 - || test ! -s conftest.err'
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); }; } &&
9880 - { ac_try='test -s conftest.$ac_objext'
9881 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9882 - (eval $ac_try) 2>&5
9883 - ac_status=$?
9884 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
9885 - (exit $ac_status); }; }; then
9886 + (exit $ac_status); } && {
9887 + test -z "$ac_c_werror_flag" ||
9888 + test ! -s conftest.err
9889 + } && test -s conftest.$ac_objext; then
9890 ac_lo=0 ac_mid=0
9891 while :; do
9892 cat >conftest.$ac_ext <<_ACEOF
9893 @@ -9096,10 +9681,11 @@
9894 cat >>conftest.$ac_ext <<_ACEOF
9895 /* end confdefs.h. */
9896 $ac_includes_default
9897 + typedef long ac__type_sizeof_;
9898 int
9899 main ()
9900 {
9901 -static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
9902 +static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
9903 test_array [0] = 0
9904
9905 ;
9906 @@ -9107,56 +9693,53 @@
9907 }
9908 _ACEOF
9909 rm -f conftest.$ac_objext
9910 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9911 - (eval $ac_compile) 2>conftest.er1
9912 +if { (ac_try="$ac_compile"
9913 +case "(($ac_try" in
9914 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9915 + *) ac_try_echo=$ac_try;;
9916 +esac
9917 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9918 + (eval "$ac_compile") 2>conftest.er1
9919 ac_status=$?
9920 grep -v '^ *+' conftest.er1 >conftest.err
9921 rm -f conftest.er1
9922 cat conftest.err >&5
9923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9924 - (exit $ac_status); } &&
9925 - { ac_try='test -z "$ac_c_werror_flag"
9926 - || test ! -s conftest.err'
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); }; } &&
9932 - { ac_try='test -s conftest.$ac_objext'
9933 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9934 - (eval $ac_try) 2>&5
9935 - ac_status=$?
9936 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
9937 - (exit $ac_status); }; }; then
9938 + (exit $ac_status); } && {
9939 + test -z "$ac_c_werror_flag" ||
9940 + test ! -s conftest.err
9941 + } && test -s conftest.$ac_objext; then
9942 ac_hi=$ac_mid; break
9943 else
9944 echo "$as_me: failed program was:" >&5
9945 sed 's/^/| /' conftest.$ac_ext >&5
9946
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 + ac_lo=`expr $ac_mid + 1`
9954 + if test $ac_lo -le $ac_mid; then
9955 + ac_lo= ac_hi=
9956 + break
9957 + fi
9958 + ac_mid=`expr 2 '*' $ac_mid + 1`
9959 fi
9960 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9961 +
9962 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9963 done
9964 else
9965 echo "$as_me: failed program was:" >&5
9966 sed 's/^/| /' conftest.$ac_ext >&5
9967
9968 -cat >conftest.$ac_ext <<_ACEOF
9969 + cat >conftest.$ac_ext <<_ACEOF
9970 /* confdefs.h. */
9971 _ACEOF
9972 cat confdefs.h >>conftest.$ac_ext
9973 cat >>conftest.$ac_ext <<_ACEOF
9974 /* end confdefs.h. */
9975 $ac_includes_default
9976 + typedef long ac__type_sizeof_;
9977 int
9978 main ()
9979 {
9980 -static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
9981 +static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
9982 test_array [0] = 0
9983
9984 ;
9985 @@ -9164,27 +9747,22 @@
9986 }
9987 _ACEOF
9988 rm -f conftest.$ac_objext
9989 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9990 - (eval $ac_compile) 2>conftest.er1
9991 +if { (ac_try="$ac_compile"
9992 +case "(($ac_try" in
9993 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9994 + *) ac_try_echo=$ac_try;;
9995 +esac
9996 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9997 + (eval "$ac_compile") 2>conftest.er1
9998 ac_status=$?
9999 grep -v '^ *+' conftest.er1 >conftest.err
10000 rm -f conftest.er1
10001 cat conftest.err >&5
10002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10003 - (exit $ac_status); } &&
10004 - { ac_try='test -z "$ac_c_werror_flag"
10005 - || test ! -s conftest.err'
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); }; } &&
10011 - { ac_try='test -s conftest.$ac_objext'
10012 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10013 - (eval $ac_try) 2>&5
10014 - ac_status=$?
10015 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
10016 - (exit $ac_status); }; }; then
10017 + (exit $ac_status); } && {
10018 + test -z "$ac_c_werror_flag" ||
10019 + test ! -s conftest.err
10020 + } && test -s conftest.$ac_objext; then
10021 ac_hi=-1 ac_mid=-1
10022 while :; do
10023 cat >conftest.$ac_ext <<_ACEOF
10024 @@ -9194,10 +9772,11 @@
10025 cat >>conftest.$ac_ext <<_ACEOF
10026 /* end confdefs.h. */
10027 $ac_includes_default
10028 + typedef long ac__type_sizeof_;
10029 int
10030 main ()
10031 {
10032 -static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
10033 +static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
10034 test_array [0] = 0
10035
10036 ;
10037 @@ -9205,50 +9784,48 @@
10038 }
10039 _ACEOF
10040 rm -f conftest.$ac_objext
10041 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10042 - (eval $ac_compile) 2>conftest.er1
10043 +if { (ac_try="$ac_compile"
10044 +case "(($ac_try" in
10045 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10046 + *) ac_try_echo=$ac_try;;
10047 +esac
10048 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10049 + (eval "$ac_compile") 2>conftest.er1
10050 ac_status=$?
10051 grep -v '^ *+' conftest.er1 >conftest.err
10052 rm -f conftest.er1
10053 cat conftest.err >&5
10054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10055 - (exit $ac_status); } &&
10056 - { ac_try='test -z "$ac_c_werror_flag"
10057 - || test ! -s conftest.err'
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); }; } &&
10063 - { ac_try='test -s conftest.$ac_objext'
10064 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10065 - (eval $ac_try) 2>&5
10066 - ac_status=$?
10067 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
10068 - (exit $ac_status); }; }; then
10069 + (exit $ac_status); } && {
10070 + test -z "$ac_c_werror_flag" ||
10071 + test ! -s conftest.err
10072 + } && test -s conftest.$ac_objext; then
10073 ac_lo=$ac_mid; break
10074 else
10075 echo "$as_me: failed program was:" >&5
10076 sed 's/^/| /' conftest.$ac_ext >&5
10077
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 + ac_hi=`expr '(' $ac_mid ')' - 1`
10085 + if test $ac_mid -le $ac_hi; then
10086 + ac_lo= ac_hi=
10087 + break
10088 + fi
10089 + ac_mid=`expr 2 '*' $ac_mid`
10090 fi
10091 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10092 +
10093 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10094 done
10095 else
10096 echo "$as_me: failed program was:" >&5
10097 sed 's/^/| /' conftest.$ac_ext >&5
10098
10099 -ac_lo= ac_hi=
10100 + ac_lo= ac_hi=
10101 fi
10102 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10103 +
10104 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10105 fi
10106 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10107 +
10108 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10109 # Binary search between lo and hi bounds.
10110 while test "x$ac_lo" != "x$ac_hi"; do
10111 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
10112 @@ -9259,10 +9836,11 @@
10113 cat >>conftest.$ac_ext <<_ACEOF
10114 /* end confdefs.h. */
10115 $ac_includes_default
10116 + typedef long ac__type_sizeof_;
10117 int
10118 main ()
10119 {
10120 -static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
10121 +static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
10122 test_array [0] = 0
10123
10124 ;
10125 @@ -9270,52 +9848,45 @@
10126 }
10127 _ACEOF
10128 rm -f conftest.$ac_objext
10129 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10130 - (eval $ac_compile) 2>conftest.er1
10131 +if { (ac_try="$ac_compile"
10132 +case "(($ac_try" in
10133 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10134 + *) ac_try_echo=$ac_try;;
10135 +esac
10136 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10137 + (eval "$ac_compile") 2>conftest.er1
10138 ac_status=$?
10139 grep -v '^ *+' conftest.er1 >conftest.err
10140 rm -f conftest.er1
10141 cat conftest.err >&5
10142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10143 - (exit $ac_status); } &&
10144 - { ac_try='test -z "$ac_c_werror_flag"
10145 - || test ! -s conftest.err'
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); }; } &&
10151 - { ac_try='test -s conftest.$ac_objext'
10152 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10153 - (eval $ac_try) 2>&5
10154 - ac_status=$?
10155 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
10156 - (exit $ac_status); }; }; then
10157 + (exit $ac_status); } && {
10158 + test -z "$ac_c_werror_flag" ||
10159 + test ! -s conftest.err
10160 + } && test -s conftest.$ac_objext; then
10161 ac_hi=$ac_mid
10162 else
10163 echo "$as_me: failed program was:" >&5
10164 sed 's/^/| /' conftest.$ac_ext >&5
10165
10166 -ac_lo=`expr '(' $ac_mid ')' + 1`
10167 + ac_lo=`expr '(' $ac_mid ')' + 1`
10168 fi
10169 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10170 +
10171 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10172 done
10173 case $ac_lo in
10174 ?*) ac_cv_sizeof_long=$ac_lo;;
10175 -'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
10176 +'') if test "$ac_cv_type_long" = yes; then
10177 + { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
10178 See \`config.log' for more details." >&5
10179 -echo "$as_me: error: cannot compute sizeof (long), 77
10180 +echo "$as_me: error: cannot compute sizeof (long)
10181 See \`config.log' for more details." >&2;}
10182 - { (exit 1); exit 1; }; } ;;
10183 + { (exit 77); exit 77; }; }
10184 + else
10185 + ac_cv_sizeof_long=0
10186 + fi ;;
10187 esac
10188 else
10189 - if test "$cross_compiling" = yes; then
10190 - { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
10191 -See \`config.log' for more details." >&5
10192 -echo "$as_me: error: cannot run test program while cross compiling
10193 -See \`config.log' for more details." >&2;}
10194 - { (exit 1); exit 1; }; }
10195 -else
10196 cat >conftest.$ac_ext <<_ACEOF
10197 /* confdefs.h. */
10198 _ACEOF
10199 @@ -9323,8 +9894,9 @@
10200 cat >>conftest.$ac_ext <<_ACEOF
10201 /* end confdefs.h. */
10202 $ac_includes_default
10203 -long longval () { return (long) (sizeof (long)); }
10204 -unsigned long ulongval () { return (long) (sizeof (long)); }
10205 + typedef long ac__type_sizeof_;
10206 +static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
10207 +static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
10208 #include <stdio.h>
10209 #include <stdlib.h>
10210 int
10211 @@ -9333,35 +9905,44 @@
10212
10213 FILE *f = fopen ("conftest.val", "w");
10214 if (! f)
10215 - exit (1);
10216 - if (((long) (sizeof (long))) < 0)
10217 + return 1;
10218 + if (((long int) (sizeof (ac__type_sizeof_))) < 0)
10219 {
10220 - long i = longval ();
10221 - if (i != ((long) (sizeof (long))))
10222 - exit (1);
10223 + long int i = longval ();
10224 + if (i != ((long int) (sizeof (ac__type_sizeof_))))
10225 + return 1;
10226 fprintf (f, "%ld\n", i);
10227 }
10228 else
10229 {
10230 - unsigned long i = ulongval ();
10231 - if (i != ((long) (sizeof (long))))
10232 - exit (1);
10233 + unsigned long int i = ulongval ();
10234 + if (i != ((long int) (sizeof (ac__type_sizeof_))))
10235 + return 1;
10236 fprintf (f, "%lu\n", i);
10237 }
10238 - exit (ferror (f) || fclose (f) != 0);
10239 + return ferror (f) || fclose (f) != 0;
10240
10241 ;
10242 return 0;
10243 }
10244 _ACEOF
10245 rm -f conftest$ac_exeext
10246 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10247 - (eval $ac_link) 2>&5
10248 +if { (ac_try="$ac_link"
10249 +case "(($ac_try" in
10250 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10251 + *) ac_try_echo=$ac_try;;
10252 +esac
10253 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10254 + (eval "$ac_link") 2>&5
10255 ac_status=$?
10256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10257 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
10258 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10259 - (eval $ac_try) 2>&5
10260 + { (case "(($ac_try" in
10261 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10262 + *) ac_try_echo=$ac_try;;
10263 +esac
10264 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10265 + (eval "$ac_try") 2>&5
10266 ac_status=$?
10267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10268 (exit $ac_status); }; }; then
10269 @@ -9372,22 +9953,25 @@
10270 sed 's/^/| /' conftest.$ac_ext >&5
10271
10272 ( exit $ac_status )
10273 -{ { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
10274 +if test "$ac_cv_type_long" = yes; then
10275 + { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
10276 See \`config.log' for more details." >&5
10277 -echo "$as_me: error: cannot compute sizeof (long), 77
10278 +echo "$as_me: error: cannot compute sizeof (long)
10279 See \`config.log' for more details." >&2;}
10280 - { (exit 1); exit 1; }; }
10281 -fi
10282 -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
10283 + { (exit 77); exit 77; }; }
10284 + else
10285 + ac_cv_sizeof_long=0
10286 + fi
10287 fi
10288 +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
10289 fi
10290 rm -f conftest.val
10291 -else
10292 - ac_cv_sizeof_long=0
10293 -fi
10294 fi
10295 -echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
10296 -echo "${ECHO_T}$ac_cv_sizeof_long" >&6
10297 +{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
10298 +echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
10299 +
10300 +
10301 +
10302 cat >>confdefs.h <<_ACEOF
10303 #define SIZEOF_LONG $ac_cv_sizeof_long
10304 _ACEOF
10305 @@ -9428,8 +10012,8 @@
10306 if test "x$cross_compiling" = "xno"; then
10307 EXEEXT_FOR_BUILD='$(EXEEXT)'
10308 else
10309 - echo "$as_me:$LINENO: checking for build system executable suffix" >&5
10310 -echo $ECHO_N "checking for build system executable suffix... $ECHO_C" >&6
10311 + { echo "$as_me:$LINENO: checking for build system executable suffix" >&5
10312 +echo $ECHO_N "checking for build system executable suffix... $ECHO_C" >&6; }
10313 if test "${bfd_cv_build_exeext+set}" = set; then
10314 echo $ECHO_N "(cached) $ECHO_C" >&6
10315 else
10316 @@ -9446,8 +10030,8 @@
10317 rm -f conftest*
10318 test x"${bfd_cv_build_exeext}" = x && bfd_cv_build_exeext=no
10319 fi
10320 -echo "$as_me:$LINENO: result: $bfd_cv_build_exeext" >&5
10321 -echo "${ECHO_T}$bfd_cv_build_exeext" >&6
10322 +{ echo "$as_me:$LINENO: result: $bfd_cv_build_exeext" >&5
10323 +echo "${ECHO_T}$bfd_cv_build_exeext" >&6; }
10324 EXEEXT_FOR_BUILD=""
10325 test x"${bfd_cv_build_exeext}" != xno && EXEEXT_FOR_BUILD=${bfd_cv_build_exeext}
10326 fi
10327 @@ -9462,18 +10046,19 @@
10328 for ac_header in stddef.h string.h strings.h stdlib.h time.h unistd.h
10329 do
10330 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10331 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
10332 - echo "$as_me:$LINENO: checking for $ac_header" >&5
10333 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10334 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
10335 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10336 + { echo "$as_me:$LINENO: checking for $ac_header" >&5
10337 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10338 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10339 echo $ECHO_N "(cached) $ECHO_C" >&6
10340 fi
10341 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10342 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10343 +ac_res=`eval echo '${'$as_ac_Header'}'`
10344 + { echo "$as_me:$LINENO: result: $ac_res" >&5
10345 +echo "${ECHO_T}$ac_res" >&6; }
10346 else
10347 # Is the header compilable?
10348 -echo "$as_me:$LINENO: checking $ac_header usability" >&5
10349 -echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10350 +{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
10351 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10352 cat >conftest.$ac_ext <<_ACEOF
10353 /* confdefs.h. */
10354 _ACEOF
10355 @@ -9484,41 +10069,37 @@
10356 #include <$ac_header>
10357 _ACEOF
10358 rm -f conftest.$ac_objext
10359 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10360 - (eval $ac_compile) 2>conftest.er1
10361 +if { (ac_try="$ac_compile"
10362 +case "(($ac_try" in
10363 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10364 + *) ac_try_echo=$ac_try;;
10365 +esac
10366 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10367 + (eval "$ac_compile") 2>conftest.er1
10368 ac_status=$?
10369 grep -v '^ *+' conftest.er1 >conftest.err
10370 rm -f conftest.er1
10371 cat conftest.err >&5
10372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10373 - (exit $ac_status); } &&
10374 - { ac_try='test -z "$ac_c_werror_flag"
10375 - || test ! -s conftest.err'
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); }; } &&
10381 - { ac_try='test -s conftest.$ac_objext'
10382 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10383 - (eval $ac_try) 2>&5
10384 - ac_status=$?
10385 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
10386 - (exit $ac_status); }; }; then
10387 + (exit $ac_status); } && {
10388 + test -z "$ac_c_werror_flag" ||
10389 + test ! -s conftest.err
10390 + } && test -s conftest.$ac_objext; then
10391 ac_header_compiler=yes
10392 else
10393 echo "$as_me: failed program was:" >&5
10394 sed 's/^/| /' conftest.$ac_ext >&5
10395
10396 -ac_header_compiler=no
10397 + ac_header_compiler=no
10398 fi
10399 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10400 -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10401 -echo "${ECHO_T}$ac_header_compiler" >&6
10402 +
10403 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10404 +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10405 +echo "${ECHO_T}$ac_header_compiler" >&6; }
10406
10407 # Is the header present?
10408 -echo "$as_me:$LINENO: checking $ac_header presence" >&5
10409 -echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10410 +{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
10411 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10412 cat >conftest.$ac_ext <<_ACEOF
10413 /* confdefs.h. */
10414 _ACEOF
10415 @@ -9527,24 +10108,22 @@
10416 /* end confdefs.h. */
10417 #include <$ac_header>
10418 _ACEOF
10419 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10420 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10421 +if { (ac_try="$ac_cpp conftest.$ac_ext"
10422 +case "(($ac_try" in
10423 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10424 + *) ac_try_echo=$ac_try;;
10425 +esac
10426 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10427 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10428 ac_status=$?
10429 grep -v '^ *+' conftest.er1 >conftest.err
10430 rm -f conftest.er1
10431 cat conftest.err >&5
10432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10433 - (exit $ac_status); } >/dev/null; then
10434 - if test -s conftest.err; then
10435 - ac_cpp_err=$ac_c_preproc_warn_flag
10436 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
10437 - else
10438 - ac_cpp_err=
10439 - fi
10440 -else
10441 - ac_cpp_err=yes
10442 -fi
10443 -if test -z "$ac_cpp_err"; then
10444 + (exit $ac_status); } >/dev/null && {
10445 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10446 + test ! -s conftest.err
10447 + }; then
10448 ac_header_preproc=yes
10449 else
10450 echo "$as_me: failed program was:" >&5
10451 @@ -9552,9 +10131,10 @@
10452
10453 ac_header_preproc=no
10454 fi
10455 +
10456 rm -f conftest.err conftest.$ac_ext
10457 -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10458 -echo "${ECHO_T}$ac_header_preproc" >&6
10459 +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10460 +echo "${ECHO_T}$ac_header_preproc" >&6; }
10461
10462 # So? What about this header?
10463 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10464 @@ -9578,25 +10158,19 @@
10465 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10466 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10467 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10468 - (
10469 - cat <<\_ASBOX
10470 -## ------------------------------------------ ##
10471 -## Report this to the AC_PACKAGE_NAME lists. ##
10472 -## ------------------------------------------ ##
10473 -_ASBOX
10474 - ) |
10475 - sed "s/^/$as_me: WARNING: /" >&2
10476 +
10477 ;;
10478 esac
10479 -echo "$as_me:$LINENO: checking for $ac_header" >&5
10480 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10481 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
10482 +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
10483 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10484 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10485 echo $ECHO_N "(cached) $ECHO_C" >&6
10486 else
10487 eval "$as_ac_Header=\$ac_header_preproc"
10488 fi
10489 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10490 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10491 +ac_res=`eval echo '${'$as_ac_Header'}'`
10492 + { echo "$as_me:$LINENO: result: $ac_res" >&5
10493 +echo "${ECHO_T}$ac_res" >&6; }
10494
10495 fi
10496 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10497 @@ -9614,18 +10188,19 @@
10498 for ac_header in fcntl.h sys/file.h sys/time.h
10499 do
10500 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10501 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
10502 - echo "$as_me:$LINENO: checking for $ac_header" >&5
10503 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10504 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
10505 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10506 + { echo "$as_me:$LINENO: checking for $ac_header" >&5
10507 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10508 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10509 echo $ECHO_N "(cached) $ECHO_C" >&6
10510 fi
10511 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10512 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10513 +ac_res=`eval echo '${'$as_ac_Header'}'`
10514 + { echo "$as_me:$LINENO: result: $ac_res" >&5
10515 +echo "${ECHO_T}$ac_res" >&6; }
10516 else
10517 # Is the header compilable?
10518 -echo "$as_me:$LINENO: checking $ac_header usability" >&5
10519 -echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10520 +{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
10521 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10522 cat >conftest.$ac_ext <<_ACEOF
10523 /* confdefs.h. */
10524 _ACEOF
10525 @@ -9636,41 +10211,37 @@
10526 #include <$ac_header>
10527 _ACEOF
10528 rm -f conftest.$ac_objext
10529 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10530 - (eval $ac_compile) 2>conftest.er1
10531 +if { (ac_try="$ac_compile"
10532 +case "(($ac_try" in
10533 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10534 + *) ac_try_echo=$ac_try;;
10535 +esac
10536 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10537 + (eval "$ac_compile") 2>conftest.er1
10538 ac_status=$?
10539 grep -v '^ *+' conftest.er1 >conftest.err
10540 rm -f conftest.er1
10541 cat conftest.err >&5
10542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10543 - (exit $ac_status); } &&
10544 - { ac_try='test -z "$ac_c_werror_flag"
10545 - || test ! -s conftest.err'
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); }; } &&
10551 - { ac_try='test -s conftest.$ac_objext'
10552 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10553 - (eval $ac_try) 2>&5
10554 - ac_status=$?
10555 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
10556 - (exit $ac_status); }; }; then
10557 + (exit $ac_status); } && {
10558 + test -z "$ac_c_werror_flag" ||
10559 + test ! -s conftest.err
10560 + } && test -s conftest.$ac_objext; then
10561 ac_header_compiler=yes
10562 else
10563 echo "$as_me: failed program was:" >&5
10564 sed 's/^/| /' conftest.$ac_ext >&5
10565
10566 -ac_header_compiler=no
10567 + ac_header_compiler=no
10568 fi
10569 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10570 -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10571 -echo "${ECHO_T}$ac_header_compiler" >&6
10572 +
10573 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10574 +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10575 +echo "${ECHO_T}$ac_header_compiler" >&6; }
10576
10577 # Is the header present?
10578 -echo "$as_me:$LINENO: checking $ac_header presence" >&5
10579 -echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10580 +{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
10581 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10582 cat >conftest.$ac_ext <<_ACEOF
10583 /* confdefs.h. */
10584 _ACEOF
10585 @@ -9679,24 +10250,22 @@
10586 /* end confdefs.h. */
10587 #include <$ac_header>
10588 _ACEOF
10589 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10590 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10591 +if { (ac_try="$ac_cpp conftest.$ac_ext"
10592 +case "(($ac_try" in
10593 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10594 + *) ac_try_echo=$ac_try;;
10595 +esac
10596 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10597 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10598 ac_status=$?
10599 grep -v '^ *+' conftest.er1 >conftest.err
10600 rm -f conftest.er1
10601 cat conftest.err >&5
10602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10603 - (exit $ac_status); } >/dev/null; then
10604 - if test -s conftest.err; then
10605 - ac_cpp_err=$ac_c_preproc_warn_flag
10606 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
10607 - else
10608 - ac_cpp_err=
10609 - fi
10610 -else
10611 - ac_cpp_err=yes
10612 -fi
10613 -if test -z "$ac_cpp_err"; then
10614 + (exit $ac_status); } >/dev/null && {
10615 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10616 + test ! -s conftest.err
10617 + }; then
10618 ac_header_preproc=yes
10619 else
10620 echo "$as_me: failed program was:" >&5
10621 @@ -9704,9 +10273,10 @@
10622
10623 ac_header_preproc=no
10624 fi
10625 +
10626 rm -f conftest.err conftest.$ac_ext
10627 -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10628 -echo "${ECHO_T}$ac_header_preproc" >&6
10629 +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10630 +echo "${ECHO_T}$ac_header_preproc" >&6; }
10631
10632 # So? What about this header?
10633 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10634 @@ -9730,25 +10300,19 @@
10635 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10636 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10637 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10638 - (
10639 - cat <<\_ASBOX
10640 -## ------------------------------------------ ##
10641 -## Report this to the AC_PACKAGE_NAME lists. ##
10642 -## ------------------------------------------ ##
10643 -_ASBOX
10644 - ) |
10645 - sed "s/^/$as_me: WARNING: /" >&2
10646 +
10647 ;;
10648 esac
10649 -echo "$as_me:$LINENO: checking for $ac_header" >&5
10650 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10651 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
10652 +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
10653 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10654 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10655 echo $ECHO_N "(cached) $ECHO_C" >&6
10656 else
10657 eval "$as_ac_Header=\$ac_header_preproc"
10658 fi
10659 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10660 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10661 +ac_res=`eval echo '${'$as_ac_Header'}'`
10662 + { echo "$as_me:$LINENO: result: $ac_res" >&5
10663 +echo "${ECHO_T}$ac_res" >&6; }
10664
10665 fi
10666 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10667 @@ -9760,8 +10324,8 @@
10668
10669 done
10670
10671 -echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
10672 -echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
10673 +{ echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
10674 +echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; }
10675 if test "${ac_cv_header_time+set}" = set; then
10676 echo $ECHO_N "(cached) $ECHO_C" >&6
10677 else
10678 @@ -9785,38 +10349,34 @@
10679 }
10680 _ACEOF
10681 rm -f conftest.$ac_objext
10682 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10683 - (eval $ac_compile) 2>conftest.er1
10684 +if { (ac_try="$ac_compile"
10685 +case "(($ac_try" in
10686 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10687 + *) ac_try_echo=$ac_try;;
10688 +esac
10689 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10690 + (eval "$ac_compile") 2>conftest.er1
10691 ac_status=$?
10692 grep -v '^ *+' conftest.er1 >conftest.err
10693 rm -f conftest.er1
10694 cat conftest.err >&5
10695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10696 - (exit $ac_status); } &&
10697 - { ac_try='test -z "$ac_c_werror_flag"
10698 - || test ! -s conftest.err'
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); }; } &&
10704 - { ac_try='test -s conftest.$ac_objext'
10705 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10706 - (eval $ac_try) 2>&5
10707 - ac_status=$?
10708 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
10709 - (exit $ac_status); }; }; then
10710 + (exit $ac_status); } && {
10711 + test -z "$ac_c_werror_flag" ||
10712 + test ! -s conftest.err
10713 + } && test -s conftest.$ac_objext; then
10714 ac_cv_header_time=yes
10715 else
10716 echo "$as_me: failed program was:" >&5
10717 sed 's/^/| /' conftest.$ac_ext >&5
10718
10719 -ac_cv_header_time=no
10720 + ac_cv_header_time=no
10721 fi
10722 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10723 +
10724 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10725 fi
10726 -echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
10727 -echo "${ECHO_T}$ac_cv_header_time" >&6
10728 +{ echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
10729 +echo "${ECHO_T}$ac_cv_header_time" >&6; }
10730 if test $ac_cv_header_time = yes; then
10731
10732 cat >>confdefs.h <<\_ACEOF
10733 @@ -9833,9 +10393,9 @@
10734 ac_header_dirent=no
10735 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
10736 as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
10737 -echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
10738 -echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
10739 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
10740 +{ echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
10741 +echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6; }
10742 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10743 echo $ECHO_N "(cached) $ECHO_C" >&6
10744 else
10745 cat >conftest.$ac_ext <<_ACEOF
10746 @@ -9857,38 +10417,35 @@
10747 }
10748 _ACEOF
10749 rm -f conftest.$ac_objext
10750 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10751 - (eval $ac_compile) 2>conftest.er1
10752 +if { (ac_try="$ac_compile"
10753 +case "(($ac_try" in
10754 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10755 + *) ac_try_echo=$ac_try;;
10756 +esac
10757 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10758 + (eval "$ac_compile") 2>conftest.er1
10759 ac_status=$?
10760 grep -v '^ *+' conftest.er1 >conftest.err
10761 rm -f conftest.er1
10762 cat conftest.err >&5
10763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10764 - (exit $ac_status); } &&
10765 - { ac_try='test -z "$ac_c_werror_flag"
10766 - || test ! -s conftest.err'
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); }; } &&
10772 - { ac_try='test -s conftest.$ac_objext'
10773 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10774 - (eval $ac_try) 2>&5
10775 - ac_status=$?
10776 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
10777 - (exit $ac_status); }; }; then
10778 + (exit $ac_status); } && {
10779 + test -z "$ac_c_werror_flag" ||
10780 + test ! -s conftest.err
10781 + } && test -s conftest.$ac_objext; then
10782 eval "$as_ac_Header=yes"
10783 else
10784 echo "$as_me: failed program was:" >&5
10785 sed 's/^/| /' conftest.$ac_ext >&5
10786
10787 -eval "$as_ac_Header=no"
10788 + eval "$as_ac_Header=no"
10789 fi
10790 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10791 +
10792 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10793 fi
10794 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10795 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10796 +ac_res=`eval echo '${'$as_ac_Header'}'`
10797 + { echo "$as_me:$LINENO: result: $ac_res" >&5
10798 +echo "${ECHO_T}$ac_res" >&6; }
10799 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10800 cat >>confdefs.h <<_ACEOF
10801 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
10802 @@ -9900,13 +10457,12 @@
10803 done
10804 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
10805 if test $ac_header_dirent = dirent.h; then
10806 - echo "$as_me:$LINENO: checking for library containing opendir" >&5
10807 -echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
10808 + { echo "$as_me:$LINENO: checking for library containing opendir" >&5
10809 +echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
10810 if test "${ac_cv_search_opendir+set}" = set; then
10811 echo $ECHO_N "(cached) $ECHO_C" >&6
10812 else
10813 ac_func_search_save_LIBS=$LIBS
10814 -ac_cv_search_opendir=no
10815 cat >conftest.$ac_ext <<_ACEOF
10816 /* confdefs.h. */
10817 _ACEOF
10818 @@ -9914,126 +10470,83 @@
10819 cat >>conftest.$ac_ext <<_ACEOF
10820 /* end confdefs.h. */
10821
10822 -/* Override any gcc2 internal prototype to avoid an error. */
10823 +/* Override any GCC internal prototype to avoid an error.
10824 + Use char because int might match the return type of a GCC
10825 + builtin and then its argument prototype would still apply. */
10826 #ifdef __cplusplus
10827 extern "C"
10828 #endif
10829 -/* We use char because int might match the return type of a gcc2
10830 - builtin and then its argument prototype would still apply. */
10831 char opendir ();
10832 int
10833 main ()
10834 {
10835 -opendir ();
10836 +return opendir ();
10837 ;
10838 return 0;
10839 }
10840 _ACEOF
10841 -rm -f conftest.$ac_objext conftest$ac_exeext
10842 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10843 - (eval $ac_link) 2>conftest.er1
10844 +for ac_lib in '' dir; do
10845 + if test -z "$ac_lib"; then
10846 + ac_res="none required"
10847 + else
10848 + ac_res=-l$ac_lib
10849 + LIBS="-l$ac_lib $ac_func_search_save_LIBS"
10850 + fi
10851 + rm -f conftest.$ac_objext conftest$ac_exeext
10852 +if { (ac_try="$ac_link"
10853 +case "(($ac_try" in
10854 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10855 + *) ac_try_echo=$ac_try;;
10856 +esac
10857 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10858 + (eval "$ac_link") 2>conftest.er1
10859 ac_status=$?
10860 grep -v '^ *+' conftest.er1 >conftest.err
10861 rm -f conftest.er1
10862 cat conftest.err >&5
10863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10864 - (exit $ac_status); } &&
10865 - { ac_try='test -z "$ac_c_werror_flag"
10866 - || test ! -s conftest.err'
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); }; } &&
10872 - { ac_try='test -s conftest$ac_exeext'
10873 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10874 - (eval $ac_try) 2>&5
10875 - ac_status=$?
10876 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
10877 - (exit $ac_status); }; }; then
10878 - ac_cv_search_opendir="none required"
10879 + (exit $ac_status); } && {
10880 + test -z "$ac_c_werror_flag" ||
10881 + test ! -s conftest.err
10882 + } && test -s conftest$ac_exeext &&
10883 + $as_test_x conftest$ac_exeext; then
10884 + ac_cv_search_opendir=$ac_res
10885 else
10886 echo "$as_me: failed program was:" >&5
10887 sed 's/^/| /' conftest.$ac_ext >&5
10888
10889 -fi
10890 -rm -f conftest.err conftest.$ac_objext \
10891 - conftest$ac_exeext conftest.$ac_ext
10892 -if test "$ac_cv_search_opendir" = no; then
10893 - for ac_lib in dir; do
10894 - LIBS="-l$ac_lib $ac_func_search_save_LIBS"
10895 - cat >conftest.$ac_ext <<_ACEOF
10896 -/* confdefs.h. */
10897 -_ACEOF
10898 -cat confdefs.h >>conftest.$ac_ext
10899 -cat >>conftest.$ac_ext <<_ACEOF
10900 -/* end confdefs.h. */
10901
10902 -/* Override any gcc2 internal prototype to avoid an error. */
10903 -#ifdef __cplusplus
10904 -extern "C"
10905 -#endif
10906 -/* We use char because int might match the return type of a gcc2
10907 - builtin and then its argument prototype would still apply. */
10908 -char opendir ();
10909 -int
10910 -main ()
10911 -{
10912 -opendir ();
10913 - ;
10914 - return 0;
10915 -}
10916 -_ACEOF
10917 -rm -f conftest.$ac_objext conftest$ac_exeext
10918 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10919 - (eval $ac_link) 2>conftest.er1
10920 - ac_status=$?
10921 - grep -v '^ *+' conftest.er1 >conftest.err
10922 - rm -f conftest.er1
10923 - cat conftest.err >&5
10924 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
10925 - (exit $ac_status); } &&
10926 - { ac_try='test -z "$ac_c_werror_flag"
10927 - || test ! -s conftest.err'
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); }; } &&
10933 - { ac_try='test -s conftest$ac_exeext'
10934 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10935 - (eval $ac_try) 2>&5
10936 - ac_status=$?
10937 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
10938 - (exit $ac_status); }; }; then
10939 - ac_cv_search_opendir="-l$ac_lib"
10940 -break
10941 -else
10942 - echo "$as_me: failed program was:" >&5
10943 -sed 's/^/| /' conftest.$ac_ext >&5
10944 +fi
10945
10946 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10947 + conftest$ac_exeext
10948 + if test "${ac_cv_search_opendir+set}" = set; then
10949 + break
10950 fi
10951 -rm -f conftest.err conftest.$ac_objext \
10952 - conftest$ac_exeext conftest.$ac_ext
10953 - done
10954 +done
10955 +if test "${ac_cv_search_opendir+set}" = set; then
10956 + :
10957 +else
10958 + ac_cv_search_opendir=no
10959 fi
10960 +rm conftest.$ac_ext
10961 LIBS=$ac_func_search_save_LIBS
10962 fi
10963 -echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
10964 -echo "${ECHO_T}$ac_cv_search_opendir" >&6
10965 -if test "$ac_cv_search_opendir" != no; then
10966 - test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
10967 +{ echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
10968 +echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
10969 +ac_res=$ac_cv_search_opendir
10970 +if test "$ac_res" != no; then
10971 + test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
10972
10973 fi
10974
10975 else
10976 - echo "$as_me:$LINENO: checking for library containing opendir" >&5
10977 -echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
10978 + { echo "$as_me:$LINENO: checking for library containing opendir" >&5
10979 +echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
10980 if test "${ac_cv_search_opendir+set}" = set; then
10981 echo $ECHO_N "(cached) $ECHO_C" >&6
10982 else
10983 ac_func_search_save_LIBS=$LIBS
10984 -ac_cv_search_opendir=no
10985 cat >conftest.$ac_ext <<_ACEOF
10986 /* confdefs.h. */
10987 _ACEOF
10988 @@ -10041,122 +10554,80 @@
10989 cat >>conftest.$ac_ext <<_ACEOF
10990 /* end confdefs.h. */
10991
10992 -/* Override any gcc2 internal prototype to avoid an error. */
10993 +/* Override any GCC internal prototype to avoid an error.
10994 + Use char because int might match the return type of a GCC
10995 + builtin and then its argument prototype would still apply. */
10996 #ifdef __cplusplus
10997 extern "C"
10998 #endif
10999 -/* We use char because int might match the return type of a gcc2
11000 - builtin and then its argument prototype would still apply. */
11001 char opendir ();
11002 int
11003 main ()
11004 {
11005 -opendir ();
11006 +return opendir ();
11007 ;
11008 return 0;
11009 }
11010 _ACEOF
11011 -rm -f conftest.$ac_objext conftest$ac_exeext
11012 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11013 - (eval $ac_link) 2>conftest.er1
11014 +for ac_lib in '' x; do
11015 + if test -z "$ac_lib"; then
11016 + ac_res="none required"
11017 + else
11018 + ac_res=-l$ac_lib
11019 + LIBS="-l$ac_lib $ac_func_search_save_LIBS"
11020 + fi
11021 + rm -f conftest.$ac_objext conftest$ac_exeext
11022 +if { (ac_try="$ac_link"
11023 +case "(($ac_try" in
11024 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11025 + *) ac_try_echo=$ac_try;;
11026 +esac
11027 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11028 + (eval "$ac_link") 2>conftest.er1
11029 ac_status=$?
11030 grep -v '^ *+' conftest.er1 >conftest.err
11031 rm -f conftest.er1
11032 cat conftest.err >&5
11033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11034 - (exit $ac_status); } &&
11035 - { ac_try='test -z "$ac_c_werror_flag"
11036 - || test ! -s conftest.err'
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); }; } &&
11042 - { ac_try='test -s conftest$ac_exeext'
11043 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11044 - (eval $ac_try) 2>&5
11045 - ac_status=$?
11046 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
11047 - (exit $ac_status); }; }; then
11048 - ac_cv_search_opendir="none required"
11049 + (exit $ac_status); } && {
11050 + test -z "$ac_c_werror_flag" ||
11051 + test ! -s conftest.err
11052 + } && test -s conftest$ac_exeext &&
11053 + $as_test_x conftest$ac_exeext; then
11054 + ac_cv_search_opendir=$ac_res
11055 else
11056 echo "$as_me: failed program was:" >&5
11057 sed 's/^/| /' conftest.$ac_ext >&5
11058
11059 -fi
11060 -rm -f conftest.err conftest.$ac_objext \
11061 - conftest$ac_exeext conftest.$ac_ext
11062 -if test "$ac_cv_search_opendir" = no; then
11063 - for ac_lib in x; do
11064 - LIBS="-l$ac_lib $ac_func_search_save_LIBS"
11065 - cat >conftest.$ac_ext <<_ACEOF
11066 -/* confdefs.h. */
11067 -_ACEOF
11068 -cat confdefs.h >>conftest.$ac_ext
11069 -cat >>conftest.$ac_ext <<_ACEOF
11070 -/* end confdefs.h. */
11071
11072 -/* Override any gcc2 internal prototype to avoid an error. */
11073 -#ifdef __cplusplus
11074 -extern "C"
11075 -#endif
11076 -/* We use char because int might match the return type of a gcc2
11077 - builtin and then its argument prototype would still apply. */
11078 -char opendir ();
11079 -int
11080 -main ()
11081 -{
11082 -opendir ();
11083 - ;
11084 - return 0;
11085 -}
11086 -_ACEOF
11087 -rm -f conftest.$ac_objext conftest$ac_exeext
11088 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11089 - (eval $ac_link) 2>conftest.er1
11090 - ac_status=$?
11091 - grep -v '^ *+' conftest.er1 >conftest.err
11092 - rm -f conftest.er1
11093 - cat conftest.err >&5
11094 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
11095 - (exit $ac_status); } &&
11096 - { ac_try='test -z "$ac_c_werror_flag"
11097 - || test ! -s conftest.err'
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); }; } &&
11103 - { ac_try='test -s conftest$ac_exeext'
11104 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11105 - (eval $ac_try) 2>&5
11106 - ac_status=$?
11107 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
11108 - (exit $ac_status); }; }; then
11109 - ac_cv_search_opendir="-l$ac_lib"
11110 -break
11111 -else
11112 - echo "$as_me: failed program was:" >&5
11113 -sed 's/^/| /' conftest.$ac_ext >&5
11114 +fi
11115
11116 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11117 + conftest$ac_exeext
11118 + if test "${ac_cv_search_opendir+set}" = set; then
11119 + break
11120 fi
11121 -rm -f conftest.err conftest.$ac_objext \
11122 - conftest$ac_exeext conftest.$ac_ext
11123 - done
11124 +done
11125 +if test "${ac_cv_search_opendir+set}" = set; then
11126 + :
11127 +else
11128 + ac_cv_search_opendir=no
11129 fi
11130 +rm conftest.$ac_ext
11131 LIBS=$ac_func_search_save_LIBS
11132 fi
11133 -echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
11134 -echo "${ECHO_T}$ac_cv_search_opendir" >&6
11135 -if test "$ac_cv_search_opendir" != no; then
11136 - test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
11137 +{ echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
11138 +echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
11139 +ac_res=$ac_cv_search_opendir
11140 +if test "$ac_res" != no; then
11141 + test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
11142
11143 fi
11144
11145 fi
11146
11147 -echo "$as_me:$LINENO: checking whether string.h and strings.h may both be included" >&5
11148 -echo $ECHO_N "checking whether string.h and strings.h may both be included... $ECHO_C" >&6
11149 +{ echo "$as_me:$LINENO: checking whether string.h and strings.h may both be included" >&5
11150 +echo $ECHO_N "checking whether string.h and strings.h may both be included... $ECHO_C" >&6; }
11151 if test "${gcc_cv_header_string+set}" = set; then
11152 echo $ECHO_N "(cached) $ECHO_C" >&6
11153 else
11154 @@ -10177,38 +10648,34 @@
11155 }
11156 _ACEOF
11157 rm -f conftest.$ac_objext
11158 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11159 - (eval $ac_compile) 2>conftest.er1
11160 +if { (ac_try="$ac_compile"
11161 +case "(($ac_try" in
11162 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11163 + *) ac_try_echo=$ac_try;;
11164 +esac
11165 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11166 + (eval "$ac_compile") 2>conftest.er1
11167 ac_status=$?
11168 grep -v '^ *+' conftest.er1 >conftest.err
11169 rm -f conftest.er1
11170 cat conftest.err >&5
11171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11172 - (exit $ac_status); } &&
11173 - { ac_try='test -z "$ac_c_werror_flag"
11174 - || test ! -s conftest.err'
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); }; } &&
11180 - { ac_try='test -s conftest.$ac_objext'
11181 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11182 - (eval $ac_try) 2>&5
11183 - ac_status=$?
11184 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
11185 - (exit $ac_status); }; }; then
11186 + (exit $ac_status); } && {
11187 + test -z "$ac_c_werror_flag" ||
11188 + test ! -s conftest.err
11189 + } && test -s conftest.$ac_objext; then
11190 gcc_cv_header_string=yes
11191 else
11192 echo "$as_me: failed program was:" >&5
11193 sed 's/^/| /' conftest.$ac_ext >&5
11194
11195 -gcc_cv_header_string=no
11196 + gcc_cv_header_string=no
11197 fi
11198 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11199 +
11200 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11201 fi
11202 -echo "$as_me:$LINENO: result: $gcc_cv_header_string" >&5
11203 -echo "${ECHO_T}$gcc_cv_header_string" >&6
11204 +{ echo "$as_me:$LINENO: result: $gcc_cv_header_string" >&5
11205 +echo "${ECHO_T}$gcc_cv_header_string" >&6; }
11206 if test $gcc_cv_header_string = yes; then
11207
11208 cat >>confdefs.h <<\_ACEOF
11209 @@ -10227,9 +10694,9 @@
11210 for ac_func in fcntl getpagesize setitimer sysconf fdopen getuid getgid
11211 do
11212 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11213 -echo "$as_me:$LINENO: checking for $ac_func" >&5
11214 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11215 -if eval "test \"\${$as_ac_var+set}\" = set"; then
11216 +{ echo "$as_me:$LINENO: checking for $ac_func" >&5
11217 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
11218 +if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11219 echo $ECHO_N "(cached) $ECHO_C" >&6
11220 else
11221 cat >conftest.$ac_ext <<_ACEOF
11222 @@ -10255,68 +10722,60 @@
11223
11224 #undef $ac_func
11225
11226 -/* Override any gcc2 internal prototype to avoid an error. */
11227 +/* Override any GCC internal prototype to avoid an error.
11228 + Use char because int might match the return type of a GCC
11229 + builtin and then its argument prototype would still apply. */
11230 #ifdef __cplusplus
11231 extern "C"
11232 -{
11233 #endif
11234 -/* We use char because int might match the return type of a gcc2
11235 - builtin and then its argument prototype would still apply. */
11236 char $ac_func ();
11237 /* The GNU C library defines this for functions which it implements
11238 to always fail with ENOSYS. Some functions are actually named
11239 something starting with __ and the normal name is an alias. */
11240 -#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11241 +#if defined __stub_$ac_func || defined __stub___$ac_func
11242 choke me
11243 -#else
11244 -char (*f) () = $ac_func;
11245 -#endif
11246 -#ifdef __cplusplus
11247 -}
11248 #endif
11249
11250 int
11251 main ()
11252 {
11253 -return f != $ac_func;
11254 +return $ac_func ();
11255 ;
11256 return 0;
11257 }
11258 _ACEOF
11259 rm -f conftest.$ac_objext conftest$ac_exeext
11260 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11261 - (eval $ac_link) 2>conftest.er1
11262 +if { (ac_try="$ac_link"
11263 +case "(($ac_try" in
11264 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11265 + *) ac_try_echo=$ac_try;;
11266 +esac
11267 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11268 + (eval "$ac_link") 2>conftest.er1
11269 ac_status=$?
11270 grep -v '^ *+' conftest.er1 >conftest.err
11271 rm -f conftest.er1
11272 cat conftest.err >&5
11273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11274 - (exit $ac_status); } &&
11275 - { ac_try='test -z "$ac_c_werror_flag"
11276 - || test ! -s conftest.err'
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); }; } &&
11282 - { ac_try='test -s conftest$ac_exeext'
11283 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11284 - (eval $ac_try) 2>&5
11285 - ac_status=$?
11286 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
11287 - (exit $ac_status); }; }; then
11288 + (exit $ac_status); } && {
11289 + test -z "$ac_c_werror_flag" ||
11290 + test ! -s conftest.err
11291 + } && test -s conftest$ac_exeext &&
11292 + $as_test_x conftest$ac_exeext; then
11293 eval "$as_ac_var=yes"
11294 else
11295 echo "$as_me: failed program was:" >&5
11296 sed 's/^/| /' conftest.$ac_ext >&5
11297
11298 -eval "$as_ac_var=no"
11299 + eval "$as_ac_var=no"
11300 fi
11301 -rm -f conftest.err conftest.$ac_objext \
11302 +
11303 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11304 conftest$ac_exeext conftest.$ac_ext
11305 fi
11306 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11307 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11308 +ac_res=`eval echo '${'$as_ac_var'}'`
11309 + { echo "$as_me:$LINENO: result: $ac_res" >&5
11310 +echo "${ECHO_T}$ac_res" >&6; }
11311 if test `eval echo '${'$as_ac_var'}'` = yes; then
11312 cat >>confdefs.h <<_ACEOF
11313 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11314 @@ -10329,9 +10788,9 @@
11315 for ac_func in strtoull
11316 do
11317 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11318 -echo "$as_me:$LINENO: checking for $ac_func" >&5
11319 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11320 -if eval "test \"\${$as_ac_var+set}\" = set"; then
11321 +{ echo "$as_me:$LINENO: checking for $ac_func" >&5
11322 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
11323 +if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11324 echo $ECHO_N "(cached) $ECHO_C" >&6
11325 else
11326 cat >conftest.$ac_ext <<_ACEOF
11327 @@ -10357,68 +10816,60 @@
11328
11329 #undef $ac_func
11330
11331 -/* Override any gcc2 internal prototype to avoid an error. */
11332 +/* Override any GCC internal prototype to avoid an error.
11333 + Use char because int might match the return type of a GCC
11334 + builtin and then its argument prototype would still apply. */
11335 #ifdef __cplusplus
11336 extern "C"
11337 -{
11338 #endif
11339 -/* We use char because int might match the return type of a gcc2
11340 - builtin and then its argument prototype would still apply. */
11341 char $ac_func ();
11342 /* The GNU C library defines this for functions which it implements
11343 to always fail with ENOSYS. Some functions are actually named
11344 something starting with __ and the normal name is an alias. */
11345 -#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11346 +#if defined __stub_$ac_func || defined __stub___$ac_func
11347 choke me
11348 -#else
11349 -char (*f) () = $ac_func;
11350 -#endif
11351 -#ifdef __cplusplus
11352 -}
11353 #endif
11354
11355 int
11356 main ()
11357 {
11358 -return f != $ac_func;
11359 +return $ac_func ();
11360 ;
11361 return 0;
11362 }
11363 _ACEOF
11364 rm -f conftest.$ac_objext conftest$ac_exeext
11365 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11366 - (eval $ac_link) 2>conftest.er1
11367 +if { (ac_try="$ac_link"
11368 +case "(($ac_try" in
11369 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11370 + *) ac_try_echo=$ac_try;;
11371 +esac
11372 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11373 + (eval "$ac_link") 2>conftest.er1
11374 ac_status=$?
11375 grep -v '^ *+' conftest.er1 >conftest.err
11376 rm -f conftest.er1
11377 cat conftest.err >&5
11378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11379 - (exit $ac_status); } &&
11380 - { ac_try='test -z "$ac_c_werror_flag"
11381 - || test ! -s conftest.err'
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); }; } &&
11387 - { ac_try='test -s conftest$ac_exeext'
11388 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11389 - (eval $ac_try) 2>&5
11390 - ac_status=$?
11391 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
11392 - (exit $ac_status); }; }; then
11393 + (exit $ac_status); } && {
11394 + test -z "$ac_c_werror_flag" ||
11395 + test ! -s conftest.err
11396 + } && test -s conftest$ac_exeext &&
11397 + $as_test_x conftest$ac_exeext; then
11398 eval "$as_ac_var=yes"
11399 else
11400 echo "$as_me: failed program was:" >&5
11401 sed 's/^/| /' conftest.$ac_ext >&5
11402
11403 -eval "$as_ac_var=no"
11404 + eval "$as_ac_var=no"
11405 fi
11406 -rm -f conftest.err conftest.$ac_objext \
11407 +
11408 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11409 conftest$ac_exeext conftest.$ac_ext
11410 fi
11411 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11412 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11413 +ac_res=`eval echo '${'$as_ac_var'}'`
11414 + { echo "$as_me:$LINENO: result: $ac_res" >&5
11415 +echo "${ECHO_T}$ac_res" >&6; }
11416 if test `eval echo '${'$as_ac_var'}'` = yes; then
11417 cat >>confdefs.h <<_ACEOF
11418 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11419 @@ -10428,8 +10879,8 @@
11420 done
11421
11422
11423 -echo "$as_me:$LINENO: checking whether basename is declared" >&5
11424 -echo $ECHO_N "checking whether basename is declared... $ECHO_C" >&6
11425 +{ echo "$as_me:$LINENO: checking whether basename is declared" >&5
11426 +echo $ECHO_N "checking whether basename is declared... $ECHO_C" >&6; }
11427 if test "${ac_cv_have_decl_basename+set}" = set; then
11428 echo $ECHO_N "(cached) $ECHO_C" >&6
11429 else
11430 @@ -10444,7 +10895,7 @@
11431 main ()
11432 {
11433 #ifndef basename
11434 - char *p = (char *) basename;
11435 + (void) basename;
11436 #endif
11437
11438 ;
11439 @@ -10452,38 +10903,34 @@
11440 }
11441 _ACEOF
11442 rm -f conftest.$ac_objext
11443 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11444 - (eval $ac_compile) 2>conftest.er1
11445 +if { (ac_try="$ac_compile"
11446 +case "(($ac_try" in
11447 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11448 + *) ac_try_echo=$ac_try;;
11449 +esac
11450 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11451 + (eval "$ac_compile") 2>conftest.er1
11452 ac_status=$?
11453 grep -v '^ *+' conftest.er1 >conftest.err
11454 rm -f conftest.er1
11455 cat conftest.err >&5
11456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11457 - (exit $ac_status); } &&
11458 - { ac_try='test -z "$ac_c_werror_flag"
11459 - || test ! -s conftest.err'
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); }; } &&
11465 - { ac_try='test -s conftest.$ac_objext'
11466 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11467 - (eval $ac_try) 2>&5
11468 - ac_status=$?
11469 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
11470 - (exit $ac_status); }; }; then
11471 + (exit $ac_status); } && {
11472 + test -z "$ac_c_werror_flag" ||
11473 + test ! -s conftest.err
11474 + } && test -s conftest.$ac_objext; then
11475 ac_cv_have_decl_basename=yes
11476 else
11477 echo "$as_me: failed program was:" >&5
11478 sed 's/^/| /' conftest.$ac_ext >&5
11479
11480 -ac_cv_have_decl_basename=no
11481 + ac_cv_have_decl_basename=no
11482 fi
11483 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11484 +
11485 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11486 fi
11487 -echo "$as_me:$LINENO: result: $ac_cv_have_decl_basename" >&5
11488 -echo "${ECHO_T}$ac_cv_have_decl_basename" >&6
11489 +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_basename" >&5
11490 +echo "${ECHO_T}$ac_cv_have_decl_basename" >&6; }
11491 if test $ac_cv_have_decl_basename = yes; then
11492
11493 cat >>confdefs.h <<_ACEOF
11494 @@ -10500,8 +10947,8 @@
11495 fi
11496
11497
11498 -echo "$as_me:$LINENO: checking whether ftello is declared" >&5
11499 -echo $ECHO_N "checking whether ftello is declared... $ECHO_C" >&6
11500 +{ echo "$as_me:$LINENO: checking whether ftello is declared" >&5
11501 +echo $ECHO_N "checking whether ftello is declared... $ECHO_C" >&6; }
11502 if test "${ac_cv_have_decl_ftello+set}" = set; then
11503 echo $ECHO_N "(cached) $ECHO_C" >&6
11504 else
11505 @@ -10516,7 +10963,7 @@
11506 main ()
11507 {
11508 #ifndef ftello
11509 - char *p = (char *) ftello;
11510 + (void) ftello;
11511 #endif
11512
11513 ;
11514 @@ -10524,38 +10971,34 @@
11515 }
11516 _ACEOF
11517 rm -f conftest.$ac_objext
11518 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11519 - (eval $ac_compile) 2>conftest.er1
11520 +if { (ac_try="$ac_compile"
11521 +case "(($ac_try" in
11522 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11523 + *) ac_try_echo=$ac_try;;
11524 +esac
11525 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11526 + (eval "$ac_compile") 2>conftest.er1
11527 ac_status=$?
11528 grep -v '^ *+' conftest.er1 >conftest.err
11529 rm -f conftest.er1
11530 cat conftest.err >&5
11531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11532 - (exit $ac_status); } &&
11533 - { ac_try='test -z "$ac_c_werror_flag"
11534 - || test ! -s conftest.err'
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); }; } &&
11540 - { ac_try='test -s conftest.$ac_objext'
11541 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11542 - (eval $ac_try) 2>&5
11543 - ac_status=$?
11544 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
11545 - (exit $ac_status); }; }; then
11546 + (exit $ac_status); } && {
11547 + test -z "$ac_c_werror_flag" ||
11548 + test ! -s conftest.err
11549 + } && test -s conftest.$ac_objext; then
11550 ac_cv_have_decl_ftello=yes
11551 else
11552 echo "$as_me: failed program was:" >&5
11553 sed 's/^/| /' conftest.$ac_ext >&5
11554
11555 -ac_cv_have_decl_ftello=no
11556 + ac_cv_have_decl_ftello=no
11557 fi
11558 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11559 +
11560 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11561 fi
11562 -echo "$as_me:$LINENO: result: $ac_cv_have_decl_ftello" >&5
11563 -echo "${ECHO_T}$ac_cv_have_decl_ftello" >&6
11564 +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_ftello" >&5
11565 +echo "${ECHO_T}$ac_cv_have_decl_ftello" >&6; }
11566 if test $ac_cv_have_decl_ftello = yes; then
11567
11568 cat >>confdefs.h <<_ACEOF
11569 @@ -10572,8 +11015,8 @@
11570 fi
11571
11572
11573 -echo "$as_me:$LINENO: checking whether ftello64 is declared" >&5
11574 -echo $ECHO_N "checking whether ftello64 is declared... $ECHO_C" >&6
11575 +{ echo "$as_me:$LINENO: checking whether ftello64 is declared" >&5
11576 +echo $ECHO_N "checking whether ftello64 is declared... $ECHO_C" >&6; }
11577 if test "${ac_cv_have_decl_ftello64+set}" = set; then
11578 echo $ECHO_N "(cached) $ECHO_C" >&6
11579 else
11580 @@ -10588,7 +11031,7 @@
11581 main ()
11582 {
11583 #ifndef ftello64
11584 - char *p = (char *) ftello64;
11585 + (void) ftello64;
11586 #endif
11587
11588 ;
11589 @@ -10596,38 +11039,34 @@
11590 }
11591 _ACEOF
11592 rm -f conftest.$ac_objext
11593 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11594 - (eval $ac_compile) 2>conftest.er1
11595 +if { (ac_try="$ac_compile"
11596 +case "(($ac_try" in
11597 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11598 + *) ac_try_echo=$ac_try;;
11599 +esac
11600 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11601 + (eval "$ac_compile") 2>conftest.er1
11602 ac_status=$?
11603 grep -v '^ *+' conftest.er1 >conftest.err
11604 rm -f conftest.er1
11605 cat conftest.err >&5
11606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11607 - (exit $ac_status); } &&
11608 - { ac_try='test -z "$ac_c_werror_flag"
11609 - || test ! -s conftest.err'
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); }; } &&
11615 - { ac_try='test -s conftest.$ac_objext'
11616 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11617 - (eval $ac_try) 2>&5
11618 - ac_status=$?
11619 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
11620 - (exit $ac_status); }; }; then
11621 + (exit $ac_status); } && {
11622 + test -z "$ac_c_werror_flag" ||
11623 + test ! -s conftest.err
11624 + } && test -s conftest.$ac_objext; then
11625 ac_cv_have_decl_ftello64=yes
11626 else
11627 echo "$as_me: failed program was:" >&5
11628 sed 's/^/| /' conftest.$ac_ext >&5
11629
11630 -ac_cv_have_decl_ftello64=no
11631 + ac_cv_have_decl_ftello64=no
11632 fi
11633 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11634 +
11635 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11636 fi
11637 -echo "$as_me:$LINENO: result: $ac_cv_have_decl_ftello64" >&5
11638 -echo "${ECHO_T}$ac_cv_have_decl_ftello64" >&6
11639 +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_ftello64" >&5
11640 +echo "${ECHO_T}$ac_cv_have_decl_ftello64" >&6; }
11641 if test $ac_cv_have_decl_ftello64 = yes; then
11642
11643 cat >>confdefs.h <<_ACEOF
11644 @@ -10644,8 +11083,8 @@
11645 fi
11646
11647
11648 -echo "$as_me:$LINENO: checking whether fseeko is declared" >&5
11649 -echo $ECHO_N "checking whether fseeko is declared... $ECHO_C" >&6
11650 +{ echo "$as_me:$LINENO: checking whether fseeko is declared" >&5
11651 +echo $ECHO_N "checking whether fseeko is declared... $ECHO_C" >&6; }
11652 if test "${ac_cv_have_decl_fseeko+set}" = set; then
11653 echo $ECHO_N "(cached) $ECHO_C" >&6
11654 else
11655 @@ -10660,7 +11099,7 @@
11656 main ()
11657 {
11658 #ifndef fseeko
11659 - char *p = (char *) fseeko;
11660 + (void) fseeko;
11661 #endif
11662
11663 ;
11664 @@ -10668,38 +11107,34 @@
11665 }
11666 _ACEOF
11667 rm -f conftest.$ac_objext
11668 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11669 - (eval $ac_compile) 2>conftest.er1
11670 +if { (ac_try="$ac_compile"
11671 +case "(($ac_try" in
11672 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11673 + *) ac_try_echo=$ac_try;;
11674 +esac
11675 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11676 + (eval "$ac_compile") 2>conftest.er1
11677 ac_status=$?
11678 grep -v '^ *+' conftest.er1 >conftest.err
11679 rm -f conftest.er1
11680 cat conftest.err >&5
11681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11682 - (exit $ac_status); } &&
11683 - { ac_try='test -z "$ac_c_werror_flag"
11684 - || test ! -s conftest.err'
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); }; } &&
11690 - { ac_try='test -s conftest.$ac_objext'
11691 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11692 - (eval $ac_try) 2>&5
11693 - ac_status=$?
11694 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
11695 - (exit $ac_status); }; }; then
11696 + (exit $ac_status); } && {
11697 + test -z "$ac_c_werror_flag" ||
11698 + test ! -s conftest.err
11699 + } && test -s conftest.$ac_objext; then
11700 ac_cv_have_decl_fseeko=yes
11701 else
11702 echo "$as_me: failed program was:" >&5
11703 sed 's/^/| /' conftest.$ac_ext >&5
11704
11705 -ac_cv_have_decl_fseeko=no
11706 + ac_cv_have_decl_fseeko=no
11707 fi
11708 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11709 +
11710 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11711 fi
11712 -echo "$as_me:$LINENO: result: $ac_cv_have_decl_fseeko" >&5
11713 -echo "${ECHO_T}$ac_cv_have_decl_fseeko" >&6
11714 +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_fseeko" >&5
11715 +echo "${ECHO_T}$ac_cv_have_decl_fseeko" >&6; }
11716 if test $ac_cv_have_decl_fseeko = yes; then
11717
11718 cat >>confdefs.h <<_ACEOF
11719 @@ -10716,8 +11151,8 @@
11720 fi
11721
11722
11723 -echo "$as_me:$LINENO: checking whether fseeko64 is declared" >&5
11724 -echo $ECHO_N "checking whether fseeko64 is declared... $ECHO_C" >&6
11725 +{ echo "$as_me:$LINENO: checking whether fseeko64 is declared" >&5
11726 +echo $ECHO_N "checking whether fseeko64 is declared... $ECHO_C" >&6; }
11727 if test "${ac_cv_have_decl_fseeko64+set}" = set; then
11728 echo $ECHO_N "(cached) $ECHO_C" >&6
11729 else
11730 @@ -10732,7 +11167,7 @@
11731 main ()
11732 {
11733 #ifndef fseeko64
11734 - char *p = (char *) fseeko64;
11735 + (void) fseeko64;
11736 #endif
11737
11738 ;
11739 @@ -10740,38 +11175,34 @@
11740 }
11741 _ACEOF
11742 rm -f conftest.$ac_objext
11743 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11744 - (eval $ac_compile) 2>conftest.er1
11745 +if { (ac_try="$ac_compile"
11746 +case "(($ac_try" in
11747 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11748 + *) ac_try_echo=$ac_try;;
11749 +esac
11750 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11751 + (eval "$ac_compile") 2>conftest.er1
11752 ac_status=$?
11753 grep -v '^ *+' conftest.er1 >conftest.err
11754 rm -f conftest.er1
11755 cat conftest.err >&5
11756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11757 - (exit $ac_status); } &&
11758 - { ac_try='test -z "$ac_c_werror_flag"
11759 - || test ! -s conftest.err'
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); }; } &&
11765 - { ac_try='test -s conftest.$ac_objext'
11766 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11767 - (eval $ac_try) 2>&5
11768 - ac_status=$?
11769 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
11770 - (exit $ac_status); }; }; then
11771 + (exit $ac_status); } && {
11772 + test -z "$ac_c_werror_flag" ||
11773 + test ! -s conftest.err
11774 + } && test -s conftest.$ac_objext; then
11775 ac_cv_have_decl_fseeko64=yes
11776 else
11777 echo "$as_me: failed program was:" >&5
11778 sed 's/^/| /' conftest.$ac_ext >&5
11779
11780 -ac_cv_have_decl_fseeko64=no
11781 + ac_cv_have_decl_fseeko64=no
11782 fi
11783 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11784 +
11785 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11786 fi
11787 -echo "$as_me:$LINENO: result: $ac_cv_have_decl_fseeko64" >&5
11788 -echo "${ECHO_T}$ac_cv_have_decl_fseeko64" >&6
11789 +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_fseeko64" >&5
11790 +echo "${ECHO_T}$ac_cv_have_decl_fseeko64" >&6; }
11791 if test $ac_cv_have_decl_fseeko64 = yes; then
11792
11793 cat >>confdefs.h <<_ACEOF
11794 @@ -10799,8 +11230,8 @@
11795 ;;
11796 esac
11797
11798 -echo "$as_me:$LINENO: checking whether ffs is declared" >&5
11799 -echo $ECHO_N "checking whether ffs is declared... $ECHO_C" >&6
11800 +{ echo "$as_me:$LINENO: checking whether ffs is declared" >&5
11801 +echo $ECHO_N "checking whether ffs is declared... $ECHO_C" >&6; }
11802 if test "${ac_cv_have_decl_ffs+set}" = set; then
11803 echo $ECHO_N "(cached) $ECHO_C" >&6
11804 else
11805 @@ -10815,7 +11246,7 @@
11806 main ()
11807 {
11808 #ifndef ffs
11809 - char *p = (char *) ffs;
11810 + (void) ffs;
11811 #endif
11812
11813 ;
11814 @@ -10823,38 +11254,34 @@
11815 }
11816 _ACEOF
11817 rm -f conftest.$ac_objext
11818 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11819 - (eval $ac_compile) 2>conftest.er1
11820 +if { (ac_try="$ac_compile"
11821 +case "(($ac_try" in
11822 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11823 + *) ac_try_echo=$ac_try;;
11824 +esac
11825 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11826 + (eval "$ac_compile") 2>conftest.er1
11827 ac_status=$?
11828 grep -v '^ *+' conftest.er1 >conftest.err
11829 rm -f conftest.er1
11830 cat conftest.err >&5
11831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11832 - (exit $ac_status); } &&
11833 - { ac_try='test -z "$ac_c_werror_flag"
11834 - || test ! -s conftest.err'
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); }; } &&
11840 - { ac_try='test -s conftest.$ac_objext'
11841 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11842 - (eval $ac_try) 2>&5
11843 - ac_status=$?
11844 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
11845 - (exit $ac_status); }; }; then
11846 + (exit $ac_status); } && {
11847 + test -z "$ac_c_werror_flag" ||
11848 + test ! -s conftest.err
11849 + } && test -s conftest.$ac_objext; then
11850 ac_cv_have_decl_ffs=yes
11851 else
11852 echo "$as_me: failed program was:" >&5
11853 sed 's/^/| /' conftest.$ac_ext >&5
11854
11855 -ac_cv_have_decl_ffs=no
11856 + ac_cv_have_decl_ffs=no
11857 fi
11858 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11859 +
11860 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11861 fi
11862 -echo "$as_me:$LINENO: result: $ac_cv_have_decl_ffs" >&5
11863 -echo "${ECHO_T}$ac_cv_have_decl_ffs" >&6
11864 +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_ffs" >&5
11865 +echo "${ECHO_T}$ac_cv_have_decl_ffs" >&6; }
11866 if test $ac_cv_have_decl_ffs = yes; then
11867
11868 cat >>confdefs.h <<_ACEOF
11869 @@ -10871,8 +11298,8 @@
11870 fi
11871
11872
11873 -echo "$as_me:$LINENO: checking whether free is declared" >&5
11874 -echo $ECHO_N "checking whether free is declared... $ECHO_C" >&6
11875 +{ echo "$as_me:$LINENO: checking whether free is declared" >&5
11876 +echo $ECHO_N "checking whether free is declared... $ECHO_C" >&6; }
11877 if test "${ac_cv_have_decl_free+set}" = set; then
11878 echo $ECHO_N "(cached) $ECHO_C" >&6
11879 else
11880 @@ -10887,7 +11314,7 @@
11881 main ()
11882 {
11883 #ifndef free
11884 - char *p = (char *) free;
11885 + (void) free;
11886 #endif
11887
11888 ;
11889 @@ -10895,38 +11322,34 @@
11890 }
11891 _ACEOF
11892 rm -f conftest.$ac_objext
11893 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11894 - (eval $ac_compile) 2>conftest.er1
11895 +if { (ac_try="$ac_compile"
11896 +case "(($ac_try" in
11897 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11898 + *) ac_try_echo=$ac_try;;
11899 +esac
11900 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11901 + (eval "$ac_compile") 2>conftest.er1
11902 ac_status=$?
11903 grep -v '^ *+' conftest.er1 >conftest.err
11904 rm -f conftest.er1
11905 cat conftest.err >&5
11906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11907 - (exit $ac_status); } &&
11908 - { ac_try='test -z "$ac_c_werror_flag"
11909 - || test ! -s conftest.err'
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); }; } &&
11915 - { ac_try='test -s conftest.$ac_objext'
11916 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11917 - (eval $ac_try) 2>&5
11918 - ac_status=$?
11919 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
11920 - (exit $ac_status); }; }; then
11921 + (exit $ac_status); } && {
11922 + test -z "$ac_c_werror_flag" ||
11923 + test ! -s conftest.err
11924 + } && test -s conftest.$ac_objext; then
11925 ac_cv_have_decl_free=yes
11926 else
11927 echo "$as_me: failed program was:" >&5
11928 sed 's/^/| /' conftest.$ac_ext >&5
11929
11930 -ac_cv_have_decl_free=no
11931 + ac_cv_have_decl_free=no
11932 fi
11933 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11934 +
11935 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11936 fi
11937 -echo "$as_me:$LINENO: result: $ac_cv_have_decl_free" >&5
11938 -echo "${ECHO_T}$ac_cv_have_decl_free" >&6
11939 +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_free" >&5
11940 +echo "${ECHO_T}$ac_cv_have_decl_free" >&6; }
11941 if test $ac_cv_have_decl_free = yes; then
11942
11943 cat >>confdefs.h <<_ACEOF
11944 @@ -10943,8 +11366,8 @@
11945 fi
11946
11947
11948 -echo "$as_me:$LINENO: checking whether getenv is declared" >&5
11949 -echo $ECHO_N "checking whether getenv is declared... $ECHO_C" >&6
11950 +{ echo "$as_me:$LINENO: checking whether getenv is declared" >&5
11951 +echo $ECHO_N "checking whether getenv is declared... $ECHO_C" >&6; }
11952 if test "${ac_cv_have_decl_getenv+set}" = set; then
11953 echo $ECHO_N "(cached) $ECHO_C" >&6
11954 else
11955 @@ -10959,7 +11382,7 @@
11956 main ()
11957 {
11958 #ifndef getenv
11959 - char *p = (char *) getenv;
11960 + (void) getenv;
11961 #endif
11962
11963 ;
11964 @@ -10967,38 +11390,34 @@
11965 }
11966 _ACEOF
11967 rm -f conftest.$ac_objext
11968 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11969 - (eval $ac_compile) 2>conftest.er1
11970 +if { (ac_try="$ac_compile"
11971 +case "(($ac_try" in
11972 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11973 + *) ac_try_echo=$ac_try;;
11974 +esac
11975 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11976 + (eval "$ac_compile") 2>conftest.er1
11977 ac_status=$?
11978 grep -v '^ *+' conftest.er1 >conftest.err
11979 rm -f conftest.er1
11980 cat conftest.err >&5
11981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11982 - (exit $ac_status); } &&
11983 - { ac_try='test -z "$ac_c_werror_flag"
11984 - || test ! -s conftest.err'
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); }; } &&
11990 - { ac_try='test -s conftest.$ac_objext'
11991 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11992 - (eval $ac_try) 2>&5
11993 - ac_status=$?
11994 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
11995 - (exit $ac_status); }; }; then
11996 + (exit $ac_status); } && {
11997 + test -z "$ac_c_werror_flag" ||
11998 + test ! -s conftest.err
11999 + } && test -s conftest.$ac_objext; then
12000 ac_cv_have_decl_getenv=yes
12001 else
12002 echo "$as_me: failed program was:" >&5
12003 sed 's/^/| /' conftest.$ac_ext >&5
12004
12005 -ac_cv_have_decl_getenv=no
12006 + ac_cv_have_decl_getenv=no
12007 fi
12008 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12009 +
12010 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12011 fi
12012 -echo "$as_me:$LINENO: result: $ac_cv_have_decl_getenv" >&5
12013 -echo "${ECHO_T}$ac_cv_have_decl_getenv" >&6
12014 +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_getenv" >&5
12015 +echo "${ECHO_T}$ac_cv_have_decl_getenv" >&6; }
12016 if test $ac_cv_have_decl_getenv = yes; then
12017
12018 cat >>confdefs.h <<_ACEOF
12019 @@ -11015,8 +11434,8 @@
12020 fi
12021
12022
12023 -echo "$as_me:$LINENO: checking whether malloc is declared" >&5
12024 -echo $ECHO_N "checking whether malloc is declared... $ECHO_C" >&6
12025 +{ echo "$as_me:$LINENO: checking whether malloc is declared" >&5
12026 +echo $ECHO_N "checking whether malloc is declared... $ECHO_C" >&6; }
12027 if test "${ac_cv_have_decl_malloc+set}" = set; then
12028 echo $ECHO_N "(cached) $ECHO_C" >&6
12029 else
12030 @@ -11031,7 +11450,7 @@
12031 main ()
12032 {
12033 #ifndef malloc
12034 - char *p = (char *) malloc;
12035 + (void) malloc;
12036 #endif
12037
12038 ;
12039 @@ -11039,38 +11458,34 @@
12040 }
12041 _ACEOF
12042 rm -f conftest.$ac_objext
12043 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12044 - (eval $ac_compile) 2>conftest.er1
12045 +if { (ac_try="$ac_compile"
12046 +case "(($ac_try" in
12047 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12048 + *) ac_try_echo=$ac_try;;
12049 +esac
12050 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12051 + (eval "$ac_compile") 2>conftest.er1
12052 ac_status=$?
12053 grep -v '^ *+' conftest.er1 >conftest.err
12054 rm -f conftest.er1
12055 cat conftest.err >&5
12056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12057 - (exit $ac_status); } &&
12058 - { ac_try='test -z "$ac_c_werror_flag"
12059 - || test ! -s conftest.err'
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); }; } &&
12065 - { ac_try='test -s conftest.$ac_objext'
12066 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12067 - (eval $ac_try) 2>&5
12068 - ac_status=$?
12069 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12070 - (exit $ac_status); }; }; then
12071 + (exit $ac_status); } && {
12072 + test -z "$ac_c_werror_flag" ||
12073 + test ! -s conftest.err
12074 + } && test -s conftest.$ac_objext; then
12075 ac_cv_have_decl_malloc=yes
12076 else
12077 echo "$as_me: failed program was:" >&5
12078 sed 's/^/| /' conftest.$ac_ext >&5
12079
12080 -ac_cv_have_decl_malloc=no
12081 + ac_cv_have_decl_malloc=no
12082 fi
12083 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12084 +
12085 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12086 fi
12087 -echo "$as_me:$LINENO: result: $ac_cv_have_decl_malloc" >&5
12088 -echo "${ECHO_T}$ac_cv_have_decl_malloc" >&6
12089 +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_malloc" >&5
12090 +echo "${ECHO_T}$ac_cv_have_decl_malloc" >&6; }
12091 if test $ac_cv_have_decl_malloc = yes; then
12092
12093 cat >>confdefs.h <<_ACEOF
12094 @@ -11087,8 +11502,8 @@
12095 fi
12096
12097
12098 -echo "$as_me:$LINENO: checking whether realloc is declared" >&5
12099 -echo $ECHO_N "checking whether realloc is declared... $ECHO_C" >&6
12100 +{ echo "$as_me:$LINENO: checking whether realloc is declared" >&5
12101 +echo $ECHO_N "checking whether realloc is declared... $ECHO_C" >&6; }
12102 if test "${ac_cv_have_decl_realloc+set}" = set; then
12103 echo $ECHO_N "(cached) $ECHO_C" >&6
12104 else
12105 @@ -11103,7 +11518,7 @@
12106 main ()
12107 {
12108 #ifndef realloc
12109 - char *p = (char *) realloc;
12110 + (void) realloc;
12111 #endif
12112
12113 ;
12114 @@ -11111,38 +11526,34 @@
12115 }
12116 _ACEOF
12117 rm -f conftest.$ac_objext
12118 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12119 - (eval $ac_compile) 2>conftest.er1
12120 +if { (ac_try="$ac_compile"
12121 +case "(($ac_try" in
12122 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12123 + *) ac_try_echo=$ac_try;;
12124 +esac
12125 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12126 + (eval "$ac_compile") 2>conftest.er1
12127 ac_status=$?
12128 grep -v '^ *+' conftest.er1 >conftest.err
12129 rm -f conftest.er1
12130 cat conftest.err >&5
12131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12132 - (exit $ac_status); } &&
12133 - { ac_try='test -z "$ac_c_werror_flag"
12134 - || test ! -s conftest.err'
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); }; } &&
12140 - { ac_try='test -s conftest.$ac_objext'
12141 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12142 - (eval $ac_try) 2>&5
12143 - ac_status=$?
12144 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12145 - (exit $ac_status); }; }; then
12146 + (exit $ac_status); } && {
12147 + test -z "$ac_c_werror_flag" ||
12148 + test ! -s conftest.err
12149 + } && test -s conftest.$ac_objext; then
12150 ac_cv_have_decl_realloc=yes
12151 else
12152 echo "$as_me: failed program was:" >&5
12153 sed 's/^/| /' conftest.$ac_ext >&5
12154
12155 -ac_cv_have_decl_realloc=no
12156 + ac_cv_have_decl_realloc=no
12157 fi
12158 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12159 +
12160 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12161 fi
12162 -echo "$as_me:$LINENO: result: $ac_cv_have_decl_realloc" >&5
12163 -echo "${ECHO_T}$ac_cv_have_decl_realloc" >&6
12164 +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_realloc" >&5
12165 +echo "${ECHO_T}$ac_cv_have_decl_realloc" >&6; }
12166 if test $ac_cv_have_decl_realloc = yes; then
12167
12168 cat >>confdefs.h <<_ACEOF
12169 @@ -11159,8 +11570,8 @@
12170 fi
12171
12172
12173 -echo "$as_me:$LINENO: checking whether stpcpy is declared" >&5
12174 -echo $ECHO_N "checking whether stpcpy is declared... $ECHO_C" >&6
12175 +{ echo "$as_me:$LINENO: checking whether stpcpy is declared" >&5
12176 +echo $ECHO_N "checking whether stpcpy is declared... $ECHO_C" >&6; }
12177 if test "${ac_cv_have_decl_stpcpy+set}" = set; then
12178 echo $ECHO_N "(cached) $ECHO_C" >&6
12179 else
12180 @@ -11175,7 +11586,7 @@
12181 main ()
12182 {
12183 #ifndef stpcpy
12184 - char *p = (char *) stpcpy;
12185 + (void) stpcpy;
12186 #endif
12187
12188 ;
12189 @@ -11183,38 +11594,34 @@
12190 }
12191 _ACEOF
12192 rm -f conftest.$ac_objext
12193 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12194 - (eval $ac_compile) 2>conftest.er1
12195 +if { (ac_try="$ac_compile"
12196 +case "(($ac_try" in
12197 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12198 + *) ac_try_echo=$ac_try;;
12199 +esac
12200 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12201 + (eval "$ac_compile") 2>conftest.er1
12202 ac_status=$?
12203 grep -v '^ *+' conftest.er1 >conftest.err
12204 rm -f conftest.er1
12205 cat conftest.err >&5
12206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12207 - (exit $ac_status); } &&
12208 - { ac_try='test -z "$ac_c_werror_flag"
12209 - || test ! -s conftest.err'
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); }; } &&
12215 - { ac_try='test -s conftest.$ac_objext'
12216 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12217 - (eval $ac_try) 2>&5
12218 - ac_status=$?
12219 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12220 - (exit $ac_status); }; }; then
12221 + (exit $ac_status); } && {
12222 + test -z "$ac_c_werror_flag" ||
12223 + test ! -s conftest.err
12224 + } && test -s conftest.$ac_objext; then
12225 ac_cv_have_decl_stpcpy=yes
12226 else
12227 echo "$as_me: failed program was:" >&5
12228 sed 's/^/| /' conftest.$ac_ext >&5
12229
12230 -ac_cv_have_decl_stpcpy=no
12231 + ac_cv_have_decl_stpcpy=no
12232 fi
12233 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12234 +
12235 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12236 fi
12237 -echo "$as_me:$LINENO: result: $ac_cv_have_decl_stpcpy" >&5
12238 -echo "${ECHO_T}$ac_cv_have_decl_stpcpy" >&6
12239 +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_stpcpy" >&5
12240 +echo "${ECHO_T}$ac_cv_have_decl_stpcpy" >&6; }
12241 if test $ac_cv_have_decl_stpcpy = yes; then
12242
12243 cat >>confdefs.h <<_ACEOF
12244 @@ -11231,8 +11638,8 @@
12245 fi
12246
12247
12248 -echo "$as_me:$LINENO: checking whether strstr is declared" >&5
12249 -echo $ECHO_N "checking whether strstr is declared... $ECHO_C" >&6
12250 +{ echo "$as_me:$LINENO: checking whether strstr is declared" >&5
12251 +echo $ECHO_N "checking whether strstr is declared... $ECHO_C" >&6; }
12252 if test "${ac_cv_have_decl_strstr+set}" = set; then
12253 echo $ECHO_N "(cached) $ECHO_C" >&6
12254 else
12255 @@ -11247,7 +11654,7 @@
12256 main ()
12257 {
12258 #ifndef strstr
12259 - char *p = (char *) strstr;
12260 + (void) strstr;
12261 #endif
12262
12263 ;
12264 @@ -11255,38 +11662,34 @@
12265 }
12266 _ACEOF
12267 rm -f conftest.$ac_objext
12268 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12269 - (eval $ac_compile) 2>conftest.er1
12270 +if { (ac_try="$ac_compile"
12271 +case "(($ac_try" in
12272 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12273 + *) ac_try_echo=$ac_try;;
12274 +esac
12275 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12276 + (eval "$ac_compile") 2>conftest.er1
12277 ac_status=$?
12278 grep -v '^ *+' conftest.er1 >conftest.err
12279 rm -f conftest.er1
12280 cat conftest.err >&5
12281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12282 - (exit $ac_status); } &&
12283 - { ac_try='test -z "$ac_c_werror_flag"
12284 - || test ! -s conftest.err'
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); }; } &&
12290 - { ac_try='test -s conftest.$ac_objext'
12291 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12292 - (eval $ac_try) 2>&5
12293 - ac_status=$?
12294 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12295 - (exit $ac_status); }; }; then
12296 + (exit $ac_status); } && {
12297 + test -z "$ac_c_werror_flag" ||
12298 + test ! -s conftest.err
12299 + } && test -s conftest.$ac_objext; then
12300 ac_cv_have_decl_strstr=yes
12301 else
12302 echo "$as_me: failed program was:" >&5
12303 sed 's/^/| /' conftest.$ac_ext >&5
12304
12305 -ac_cv_have_decl_strstr=no
12306 + ac_cv_have_decl_strstr=no
12307 fi
12308 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12309 +
12310 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12311 fi
12312 -echo "$as_me:$LINENO: result: $ac_cv_have_decl_strstr" >&5
12313 -echo "${ECHO_T}$ac_cv_have_decl_strstr" >&6
12314 +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_strstr" >&5
12315 +echo "${ECHO_T}$ac_cv_have_decl_strstr" >&6; }
12316 if test $ac_cv_have_decl_strstr = yes; then
12317
12318 cat >>confdefs.h <<_ACEOF
12319 @@ -11303,8 +11706,8 @@
12320 fi
12321
12322
12323 -echo "$as_me:$LINENO: checking whether snprintf is declared" >&5
12324 -echo $ECHO_N "checking whether snprintf is declared... $ECHO_C" >&6
12325 +{ echo "$as_me:$LINENO: checking whether snprintf is declared" >&5
12326 +echo $ECHO_N "checking whether snprintf is declared... $ECHO_C" >&6; }
12327 if test "${ac_cv_have_decl_snprintf+set}" = set; then
12328 echo $ECHO_N "(cached) $ECHO_C" >&6
12329 else
12330 @@ -11319,7 +11722,7 @@
12331 main ()
12332 {
12333 #ifndef snprintf
12334 - char *p = (char *) snprintf;
12335 + (void) snprintf;
12336 #endif
12337
12338 ;
12339 @@ -11327,38 +11730,34 @@
12340 }
12341 _ACEOF
12342 rm -f conftest.$ac_objext
12343 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12344 - (eval $ac_compile) 2>conftest.er1
12345 +if { (ac_try="$ac_compile"
12346 +case "(($ac_try" in
12347 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12348 + *) ac_try_echo=$ac_try;;
12349 +esac
12350 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12351 + (eval "$ac_compile") 2>conftest.er1
12352 ac_status=$?
12353 grep -v '^ *+' conftest.er1 >conftest.err
12354 rm -f conftest.er1
12355 cat conftest.err >&5
12356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12357 - (exit $ac_status); } &&
12358 - { ac_try='test -z "$ac_c_werror_flag"
12359 - || test ! -s conftest.err'
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); }; } &&
12365 - { ac_try='test -s conftest.$ac_objext'
12366 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12367 - (eval $ac_try) 2>&5
12368 - ac_status=$?
12369 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12370 - (exit $ac_status); }; }; then
12371 + (exit $ac_status); } && {
12372 + test -z "$ac_c_werror_flag" ||
12373 + test ! -s conftest.err
12374 + } && test -s conftest.$ac_objext; then
12375 ac_cv_have_decl_snprintf=yes
12376 else
12377 echo "$as_me: failed program was:" >&5
12378 sed 's/^/| /' conftest.$ac_ext >&5
12379
12380 -ac_cv_have_decl_snprintf=no
12381 + ac_cv_have_decl_snprintf=no
12382 fi
12383 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12384 +
12385 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12386 fi
12387 -echo "$as_me:$LINENO: result: $ac_cv_have_decl_snprintf" >&5
12388 -echo "${ECHO_T}$ac_cv_have_decl_snprintf" >&6
12389 +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_snprintf" >&5
12390 +echo "${ECHO_T}$ac_cv_have_decl_snprintf" >&6; }
12391 if test $ac_cv_have_decl_snprintf = yes; then
12392
12393 cat >>confdefs.h <<_ACEOF
12394 @@ -11375,8 +11774,8 @@
12395 fi
12396
12397
12398 -echo "$as_me:$LINENO: checking whether vsnprintf is declared" >&5
12399 -echo $ECHO_N "checking whether vsnprintf is declared... $ECHO_C" >&6
12400 +{ echo "$as_me:$LINENO: checking whether vsnprintf is declared" >&5
12401 +echo $ECHO_N "checking whether vsnprintf is declared... $ECHO_C" >&6; }
12402 if test "${ac_cv_have_decl_vsnprintf+set}" = set; then
12403 echo $ECHO_N "(cached) $ECHO_C" >&6
12404 else
12405 @@ -11391,7 +11790,7 @@
12406 main ()
12407 {
12408 #ifndef vsnprintf
12409 - char *p = (char *) vsnprintf;
12410 + (void) vsnprintf;
12411 #endif
12412
12413 ;
12414 @@ -11399,38 +11798,34 @@
12415 }
12416 _ACEOF
12417 rm -f conftest.$ac_objext
12418 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12419 - (eval $ac_compile) 2>conftest.er1
12420 +if { (ac_try="$ac_compile"
12421 +case "(($ac_try" in
12422 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12423 + *) ac_try_echo=$ac_try;;
12424 +esac
12425 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12426 + (eval "$ac_compile") 2>conftest.er1
12427 ac_status=$?
12428 grep -v '^ *+' conftest.er1 >conftest.err
12429 rm -f conftest.er1
12430 cat conftest.err >&5
12431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12432 - (exit $ac_status); } &&
12433 - { ac_try='test -z "$ac_c_werror_flag"
12434 - || test ! -s conftest.err'
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); }; } &&
12440 - { ac_try='test -s conftest.$ac_objext'
12441 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12442 - (eval $ac_try) 2>&5
12443 - ac_status=$?
12444 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12445 - (exit $ac_status); }; }; then
12446 + (exit $ac_status); } && {
12447 + test -z "$ac_c_werror_flag" ||
12448 + test ! -s conftest.err
12449 + } && test -s conftest.$ac_objext; then
12450 ac_cv_have_decl_vsnprintf=yes
12451 else
12452 echo "$as_me: failed program was:" >&5
12453 sed 's/^/| /' conftest.$ac_ext >&5
12454
12455 -ac_cv_have_decl_vsnprintf=no
12456 + ac_cv_have_decl_vsnprintf=no
12457 fi
12458 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12459 +
12460 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12461 fi
12462 -echo "$as_me:$LINENO: result: $ac_cv_have_decl_vsnprintf" >&5
12463 -echo "${ECHO_T}$ac_cv_have_decl_vsnprintf" >&6
12464 +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_vsnprintf" >&5
12465 +echo "${ECHO_T}$ac_cv_have_decl_vsnprintf" >&6; }
12466 if test $ac_cv_have_decl_vsnprintf = yes; then
12467
12468 cat >>confdefs.h <<_ACEOF
12469 @@ -11609,8 +12004,8 @@
12470 COREFLAG="$COREFLAG -DAIX_CORE_DUMPX_CORE"
12471 # Not all versions of AIX with -DAIX_CORE_DUMPX_CORE
12472 # have c_impl as a member of struct core_dumpx
12473 - echo "$as_me:$LINENO: checking for c_impl in struct core_dumpx" >&5
12474 -echo $ECHO_N "checking for c_impl in struct core_dumpx... $ECHO_C" >&6
12475 + { echo "$as_me:$LINENO: checking for c_impl in struct core_dumpx" >&5
12476 +echo $ECHO_N "checking for c_impl in struct core_dumpx... $ECHO_C" >&6; }
12477 cat >conftest.$ac_ext <<_ACEOF
12478 /* confdefs.h. */
12479 _ACEOF
12480 @@ -11627,42 +12022,38 @@
12481 }
12482 _ACEOF
12483 rm -f conftest.$ac_objext
12484 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12485 - (eval $ac_compile) 2>conftest.er1
12486 +if { (ac_try="$ac_compile"
12487 +case "(($ac_try" in
12488 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12489 + *) ac_try_echo=$ac_try;;
12490 +esac
12491 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12492 + (eval "$ac_compile") 2>conftest.er1
12493 ac_status=$?
12494 grep -v '^ *+' conftest.er1 >conftest.err
12495 rm -f conftest.er1
12496 cat conftest.err >&5
12497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12498 - (exit $ac_status); } &&
12499 - { ac_try='test -z "$ac_c_werror_flag"
12500 - || test ! -s conftest.err'
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); }; } &&
12506 - { ac_try='test -s conftest.$ac_objext'
12507 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12508 - (eval $ac_try) 2>&5
12509 - ac_status=$?
12510 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12511 - (exit $ac_status); }; }; then
12512 + (exit $ac_status); } && {
12513 + test -z "$ac_c_werror_flag" ||
12514 + test ! -s conftest.err
12515 + } && test -s conftest.$ac_objext; then
12516
12517 cat >>confdefs.h <<\_ACEOF
12518 #define HAVE_ST_C_IMPL 1
12519 _ACEOF
12520
12521 - echo "$as_me:$LINENO: result: yes" >&5
12522 -echo "${ECHO_T}yes" >&6
12523 + { echo "$as_me:$LINENO: result: yes" >&5
12524 +echo "${ECHO_T}yes" >&6; }
12525 else
12526 echo "$as_me: failed program was:" >&5
12527 sed 's/^/| /' conftest.$ac_ext >&5
12528
12529 -echo "$as_me:$LINENO: result: no" >&5
12530 -echo "${ECHO_T}no" >&6
12531 + { echo "$as_me:$LINENO: result: no" >&5
12532 +echo "${ECHO_T}no" >&6; }
12533 fi
12534 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12535 +
12536 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12537 ;;
12538 rs6000-*-aix4*) COREFILE=rs6000-core.lo ;;
12539 rs6000-*-*) COREFILE=rs6000-core.lo ;;
12540 @@ -11726,18 +12117,19 @@
12541 for ac_header in sys/procfs.h
12542 do
12543 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12544 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
12545 - echo "$as_me:$LINENO: checking for $ac_header" >&5
12546 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12547 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
12548 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12549 + { echo "$as_me:$LINENO: checking for $ac_header" >&5
12550 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12551 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12552 echo $ECHO_N "(cached) $ECHO_C" >&6
12553 fi
12554 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12555 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12556 +ac_res=`eval echo '${'$as_ac_Header'}'`
12557 + { echo "$as_me:$LINENO: result: $ac_res" >&5
12558 +echo "${ECHO_T}$ac_res" >&6; }
12559 else
12560 # Is the header compilable?
12561 -echo "$as_me:$LINENO: checking $ac_header usability" >&5
12562 -echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12563 +{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
12564 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
12565 cat >conftest.$ac_ext <<_ACEOF
12566 /* confdefs.h. */
12567 _ACEOF
12568 @@ -11748,41 +12140,37 @@
12569 #include <$ac_header>
12570 _ACEOF
12571 rm -f conftest.$ac_objext
12572 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12573 - (eval $ac_compile) 2>conftest.er1
12574 +if { (ac_try="$ac_compile"
12575 +case "(($ac_try" in
12576 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12577 + *) ac_try_echo=$ac_try;;
12578 +esac
12579 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12580 + (eval "$ac_compile") 2>conftest.er1
12581 ac_status=$?
12582 grep -v '^ *+' conftest.er1 >conftest.err
12583 rm -f conftest.er1
12584 cat conftest.err >&5
12585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12586 - (exit $ac_status); } &&
12587 - { ac_try='test -z "$ac_c_werror_flag"
12588 - || test ! -s conftest.err'
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); }; } &&
12594 - { ac_try='test -s conftest.$ac_objext'
12595 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12596 - (eval $ac_try) 2>&5
12597 - ac_status=$?
12598 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12599 - (exit $ac_status); }; }; then
12600 + (exit $ac_status); } && {
12601 + test -z "$ac_c_werror_flag" ||
12602 + test ! -s conftest.err
12603 + } && test -s conftest.$ac_objext; then
12604 ac_header_compiler=yes
12605 else
12606 echo "$as_me: failed program was:" >&5
12607 sed 's/^/| /' conftest.$ac_ext >&5
12608
12609 -ac_header_compiler=no
12610 + ac_header_compiler=no
12611 fi
12612 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12613 -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12614 -echo "${ECHO_T}$ac_header_compiler" >&6
12615 +
12616 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12617 +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12618 +echo "${ECHO_T}$ac_header_compiler" >&6; }
12619
12620 # Is the header present?
12621 -echo "$as_me:$LINENO: checking $ac_header presence" >&5
12622 -echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12623 +{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
12624 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
12625 cat >conftest.$ac_ext <<_ACEOF
12626 /* confdefs.h. */
12627 _ACEOF
12628 @@ -11791,24 +12179,22 @@
12629 /* end confdefs.h. */
12630 #include <$ac_header>
12631 _ACEOF
12632 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12633 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12634 +if { (ac_try="$ac_cpp conftest.$ac_ext"
12635 +case "(($ac_try" in
12636 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12637 + *) ac_try_echo=$ac_try;;
12638 +esac
12639 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12640 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12641 ac_status=$?
12642 grep -v '^ *+' conftest.er1 >conftest.err
12643 rm -f conftest.er1
12644 cat conftest.err >&5
12645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12646 - (exit $ac_status); } >/dev/null; then
12647 - if test -s conftest.err; then
12648 - ac_cpp_err=$ac_c_preproc_warn_flag
12649 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
12650 - else
12651 - ac_cpp_err=
12652 - fi
12653 -else
12654 - ac_cpp_err=yes
12655 -fi
12656 -if test -z "$ac_cpp_err"; then
12657 + (exit $ac_status); } >/dev/null && {
12658 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12659 + test ! -s conftest.err
12660 + }; then
12661 ac_header_preproc=yes
12662 else
12663 echo "$as_me: failed program was:" >&5
12664 @@ -11816,9 +12202,10 @@
12665
12666 ac_header_preproc=no
12667 fi
12668 +
12669 rm -f conftest.err conftest.$ac_ext
12670 -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12671 -echo "${ECHO_T}$ac_header_preproc" >&6
12672 +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12673 +echo "${ECHO_T}$ac_header_preproc" >&6; }
12674
12675 # So? What about this header?
12676 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12677 @@ -11842,25 +12229,19 @@
12678 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12679 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12680 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12681 - (
12682 - cat <<\_ASBOX
12683 -## ------------------------------------------ ##
12684 -## Report this to the AC_PACKAGE_NAME lists. ##
12685 -## ------------------------------------------ ##
12686 -_ASBOX
12687 - ) |
12688 - sed "s/^/$as_me: WARNING: /" >&2
12689 +
12690 ;;
12691 esac
12692 -echo "$as_me:$LINENO: checking for $ac_header" >&5
12693 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12694 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
12695 +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
12696 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12697 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12698 echo $ECHO_N "(cached) $ECHO_C" >&6
12699 else
12700 eval "$as_ac_Header=\$ac_header_preproc"
12701 fi
12702 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12703 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12704 +ac_res=`eval echo '${'$as_ac_Header'}'`
12705 + { echo "$as_me:$LINENO: result: $ac_res" >&5
12706 +echo "${ECHO_T}$ac_res" >&6; }
12707
12708 fi
12709 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12710 @@ -11873,8 +12254,8 @@
12711 done
12712
12713 if test "$ac_cv_header_sys_procfs_h" = yes; then
12714 - echo "$as_me:$LINENO: checking for prstatus_t in sys/procfs.h" >&5
12715 -echo $ECHO_N "checking for prstatus_t in sys/procfs.h... $ECHO_C" >&6
12716 + { echo "$as_me:$LINENO: checking for prstatus_t in sys/procfs.h" >&5
12717 +echo $ECHO_N "checking for prstatus_t in sys/procfs.h... $ECHO_C" >&6; }
12718 if test "${bfd_cv_have_sys_procfs_type_prstatus_t+set}" = set; then
12719 echo $ECHO_N "(cached) $ECHO_C" >&6
12720 else
12721 @@ -11896,36 +12277,32 @@
12722 }
12723 _ACEOF
12724 rm -f conftest.$ac_objext
12725 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12726 - (eval $ac_compile) 2>conftest.er1
12727 +if { (ac_try="$ac_compile"
12728 +case "(($ac_try" in
12729 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12730 + *) ac_try_echo=$ac_try;;
12731 +esac
12732 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12733 + (eval "$ac_compile") 2>conftest.er1
12734 ac_status=$?
12735 grep -v '^ *+' conftest.er1 >conftest.err
12736 rm -f conftest.er1
12737 cat conftest.err >&5
12738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12739 - (exit $ac_status); } &&
12740 - { ac_try='test -z "$ac_c_werror_flag"
12741 - || test ! -s conftest.err'
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); }; } &&
12747 - { ac_try='test -s conftest.$ac_objext'
12748 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12749 - (eval $ac_try) 2>&5
12750 - ac_status=$?
12751 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12752 - (exit $ac_status); }; }; then
12753 + (exit $ac_status); } && {
12754 + test -z "$ac_c_werror_flag" ||
12755 + test ! -s conftest.err
12756 + } && test -s conftest.$ac_objext; then
12757 bfd_cv_have_sys_procfs_type_prstatus_t=yes
12758 else
12759 echo "$as_me: failed program was:" >&5
12760 sed 's/^/| /' conftest.$ac_ext >&5
12761
12762 -bfd_cv_have_sys_procfs_type_prstatus_t=no
12763 + bfd_cv_have_sys_procfs_type_prstatus_t=no
12764
12765 fi
12766 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12767 +
12768 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12769 fi
12770
12771 if test $bfd_cv_have_sys_procfs_type_prstatus_t = yes; then
12772 @@ -11935,11 +12312,11 @@
12773 _ACEOF
12774
12775 fi
12776 - echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prstatus_t" >&5
12777 -echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prstatus_t" >&6
12778 + { echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prstatus_t" >&5
12779 +echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prstatus_t" >&6; }
12780
12781 - echo "$as_me:$LINENO: checking for prstatus32_t in sys/procfs.h" >&5
12782 -echo $ECHO_N "checking for prstatus32_t in sys/procfs.h... $ECHO_C" >&6
12783 + { echo "$as_me:$LINENO: checking for prstatus32_t in sys/procfs.h" >&5
12784 +echo $ECHO_N "checking for prstatus32_t in sys/procfs.h... $ECHO_C" >&6; }
12785 if test "${bfd_cv_have_sys_procfs_type_prstatus32_t+set}" = set; then
12786 echo $ECHO_N "(cached) $ECHO_C" >&6
12787 else
12788 @@ -11961,36 +12338,32 @@
12789 }
12790 _ACEOF
12791 rm -f conftest.$ac_objext
12792 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12793 - (eval $ac_compile) 2>conftest.er1
12794 +if { (ac_try="$ac_compile"
12795 +case "(($ac_try" in
12796 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12797 + *) ac_try_echo=$ac_try;;
12798 +esac
12799 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12800 + (eval "$ac_compile") 2>conftest.er1
12801 ac_status=$?
12802 grep -v '^ *+' conftest.er1 >conftest.err
12803 rm -f conftest.er1
12804 cat conftest.err >&5
12805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12806 - (exit $ac_status); } &&
12807 - { ac_try='test -z "$ac_c_werror_flag"
12808 - || test ! -s conftest.err'
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); }; } &&
12814 - { ac_try='test -s conftest.$ac_objext'
12815 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12816 - (eval $ac_try) 2>&5
12817 - ac_status=$?
12818 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12819 - (exit $ac_status); }; }; then
12820 + (exit $ac_status); } && {
12821 + test -z "$ac_c_werror_flag" ||
12822 + test ! -s conftest.err
12823 + } && test -s conftest.$ac_objext; then
12824 bfd_cv_have_sys_procfs_type_prstatus32_t=yes
12825 else
12826 echo "$as_me: failed program was:" >&5
12827 sed 's/^/| /' conftest.$ac_ext >&5
12828
12829 -bfd_cv_have_sys_procfs_type_prstatus32_t=no
12830 + bfd_cv_have_sys_procfs_type_prstatus32_t=no
12831
12832 fi
12833 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12834 +
12835 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12836 fi
12837
12838 if test $bfd_cv_have_sys_procfs_type_prstatus32_t = yes; then
12839 @@ -12000,11 +12373,11 @@
12840 _ACEOF
12841
12842 fi
12843 - echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prstatus32_t" >&5
12844 -echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prstatus32_t" >&6
12845 + { echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prstatus32_t" >&5
12846 +echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prstatus32_t" >&6; }
12847
12848 - echo "$as_me:$LINENO: checking for prstatus_t.pr_who in sys/procfs.h" >&5
12849 -echo $ECHO_N "checking for prstatus_t.pr_who in sys/procfs.h... $ECHO_C" >&6
12850 + { echo "$as_me:$LINENO: checking for prstatus_t.pr_who in sys/procfs.h" >&5
12851 +echo $ECHO_N "checking for prstatus_t.pr_who in sys/procfs.h... $ECHO_C" >&6; }
12852 if test "${bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who+set}" = set; then
12853 echo $ECHO_N "(cached) $ECHO_C" >&6
12854 else
12855 @@ -12026,36 +12399,32 @@
12856 }
12857 _ACEOF
12858 rm -f conftest.$ac_objext
12859 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12860 - (eval $ac_compile) 2>conftest.er1
12861 +if { (ac_try="$ac_compile"
12862 +case "(($ac_try" in
12863 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12864 + *) ac_try_echo=$ac_try;;
12865 +esac
12866 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12867 + (eval "$ac_compile") 2>conftest.er1
12868 ac_status=$?
12869 grep -v '^ *+' conftest.er1 >conftest.err
12870 rm -f conftest.er1
12871 cat conftest.err >&5
12872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12873 - (exit $ac_status); } &&
12874 - { ac_try='test -z "$ac_c_werror_flag"
12875 - || test ! -s conftest.err'
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); }; } &&
12881 - { ac_try='test -s conftest.$ac_objext'
12882 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12883 - (eval $ac_try) 2>&5
12884 - ac_status=$?
12885 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12886 - (exit $ac_status); }; }; then
12887 + (exit $ac_status); } && {
12888 + test -z "$ac_c_werror_flag" ||
12889 + test ! -s conftest.err
12890 + } && test -s conftest.$ac_objext; then
12891 bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who=yes
12892 else
12893 echo "$as_me: failed program was:" >&5
12894 sed 's/^/| /' conftest.$ac_ext >&5
12895
12896 -bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who=no
12897 + bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who=no
12898
12899 fi
12900 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12901 +
12902 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12903 fi
12904
12905 if test $bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who = yes; then
12906 @@ -12065,11 +12434,11 @@
12907 _ACEOF
12908
12909 fi
12910 - echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who" >&5
12911 -echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who" >&6
12912 + { echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who" >&5
12913 +echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who" >&6; }
12914
12915 - echo "$as_me:$LINENO: checking for prstatus32_t.pr_who in sys/procfs.h" >&5
12916 -echo $ECHO_N "checking for prstatus32_t.pr_who in sys/procfs.h... $ECHO_C" >&6
12917 + { echo "$as_me:$LINENO: checking for prstatus32_t.pr_who in sys/procfs.h" >&5
12918 +echo $ECHO_N "checking for prstatus32_t.pr_who in sys/procfs.h... $ECHO_C" >&6; }
12919 if test "${bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who+set}" = set; then
12920 echo $ECHO_N "(cached) $ECHO_C" >&6
12921 else
12922 @@ -12091,36 +12460,32 @@
12923 }
12924 _ACEOF
12925 rm -f conftest.$ac_objext
12926 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12927 - (eval $ac_compile) 2>conftest.er1
12928 +if { (ac_try="$ac_compile"
12929 +case "(($ac_try" in
12930 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12931 + *) ac_try_echo=$ac_try;;
12932 +esac
12933 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12934 + (eval "$ac_compile") 2>conftest.er1
12935 ac_status=$?
12936 grep -v '^ *+' conftest.er1 >conftest.err
12937 rm -f conftest.er1
12938 cat conftest.err >&5
12939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12940 - (exit $ac_status); } &&
12941 - { ac_try='test -z "$ac_c_werror_flag"
12942 - || test ! -s conftest.err'
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); }; } &&
12948 - { ac_try='test -s conftest.$ac_objext'
12949 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12950 - (eval $ac_try) 2>&5
12951 - ac_status=$?
12952 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12953 - (exit $ac_status); }; }; then
12954 + (exit $ac_status); } && {
12955 + test -z "$ac_c_werror_flag" ||
12956 + test ! -s conftest.err
12957 + } && test -s conftest.$ac_objext; then
12958 bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who=yes
12959 else
12960 echo "$as_me: failed program was:" >&5
12961 sed 's/^/| /' conftest.$ac_ext >&5
12962
12963 -bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who=no
12964 + bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who=no
12965
12966 fi
12967 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12968 +
12969 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12970 fi
12971
12972 if test $bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who = yes; then
12973 @@ -12130,11 +12495,11 @@
12974 _ACEOF
12975
12976 fi
12977 - echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who" >&5
12978 -echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who" >&6
12979 + { echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who" >&5
12980 +echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who" >&6; }
12981
12982 - echo "$as_me:$LINENO: checking for pstatus_t in sys/procfs.h" >&5
12983 -echo $ECHO_N "checking for pstatus_t in sys/procfs.h... $ECHO_C" >&6
12984 + { echo "$as_me:$LINENO: checking for pstatus_t in sys/procfs.h" >&5
12985 +echo $ECHO_N "checking for pstatus_t in sys/procfs.h... $ECHO_C" >&6; }
12986 if test "${bfd_cv_have_sys_procfs_type_pstatus_t+set}" = set; then
12987 echo $ECHO_N "(cached) $ECHO_C" >&6
12988 else
12989 @@ -12156,36 +12521,32 @@
12990 }
12991 _ACEOF
12992 rm -f conftest.$ac_objext
12993 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12994 - (eval $ac_compile) 2>conftest.er1
12995 +if { (ac_try="$ac_compile"
12996 +case "(($ac_try" in
12997 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12998 + *) ac_try_echo=$ac_try;;
12999 +esac
13000 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13001 + (eval "$ac_compile") 2>conftest.er1
13002 ac_status=$?
13003 grep -v '^ *+' conftest.er1 >conftest.err
13004 rm -f conftest.er1
13005 cat conftest.err >&5
13006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13007 - (exit $ac_status); } &&
13008 - { ac_try='test -z "$ac_c_werror_flag"
13009 - || test ! -s conftest.err'
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); }; } &&
13015 - { ac_try='test -s conftest.$ac_objext'
13016 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13017 - (eval $ac_try) 2>&5
13018 - ac_status=$?
13019 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13020 - (exit $ac_status); }; }; then
13021 + (exit $ac_status); } && {
13022 + test -z "$ac_c_werror_flag" ||
13023 + test ! -s conftest.err
13024 + } && test -s conftest.$ac_objext; then
13025 bfd_cv_have_sys_procfs_type_pstatus_t=yes
13026 else
13027 echo "$as_me: failed program was:" >&5
13028 sed 's/^/| /' conftest.$ac_ext >&5
13029
13030 -bfd_cv_have_sys_procfs_type_pstatus_t=no
13031 + bfd_cv_have_sys_procfs_type_pstatus_t=no
13032
13033 fi
13034 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13035 +
13036 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13037 fi
13038
13039 if test $bfd_cv_have_sys_procfs_type_pstatus_t = yes; then
13040 @@ -12195,11 +12556,11 @@
13041 _ACEOF
13042
13043 fi
13044 - echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_pstatus_t" >&5
13045 -echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_pstatus_t" >&6
13046 + { echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_pstatus_t" >&5
13047 +echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_pstatus_t" >&6; }
13048
13049 - echo "$as_me:$LINENO: checking for pxstatus_t in sys/procfs.h" >&5
13050 -echo $ECHO_N "checking for pxstatus_t in sys/procfs.h... $ECHO_C" >&6
13051 + { echo "$as_me:$LINENO: checking for pxstatus_t in sys/procfs.h" >&5
13052 +echo $ECHO_N "checking for pxstatus_t in sys/procfs.h... $ECHO_C" >&6; }
13053 if test "${bfd_cv_have_sys_procfs_type_pxstatus_t+set}" = set; then
13054 echo $ECHO_N "(cached) $ECHO_C" >&6
13055 else
13056 @@ -12221,36 +12582,32 @@
13057 }
13058 _ACEOF
13059 rm -f conftest.$ac_objext
13060 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13061 - (eval $ac_compile) 2>conftest.er1
13062 +if { (ac_try="$ac_compile"
13063 +case "(($ac_try" in
13064 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13065 + *) ac_try_echo=$ac_try;;
13066 +esac
13067 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13068 + (eval "$ac_compile") 2>conftest.er1
13069 ac_status=$?
13070 grep -v '^ *+' conftest.er1 >conftest.err
13071 rm -f conftest.er1
13072 cat conftest.err >&5
13073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13074 - (exit $ac_status); } &&
13075 - { ac_try='test -z "$ac_c_werror_flag"
13076 - || test ! -s conftest.err'
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); }; } &&
13082 - { ac_try='test -s conftest.$ac_objext'
13083 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13084 - (eval $ac_try) 2>&5
13085 - ac_status=$?
13086 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13087 - (exit $ac_status); }; }; then
13088 + (exit $ac_status); } && {
13089 + test -z "$ac_c_werror_flag" ||
13090 + test ! -s conftest.err
13091 + } && test -s conftest.$ac_objext; then
13092 bfd_cv_have_sys_procfs_type_pxstatus_t=yes
13093 else
13094 echo "$as_me: failed program was:" >&5
13095 sed 's/^/| /' conftest.$ac_ext >&5
13096
13097 -bfd_cv_have_sys_procfs_type_pxstatus_t=no
13098 + bfd_cv_have_sys_procfs_type_pxstatus_t=no
13099
13100 fi
13101 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13102 +
13103 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13104 fi
13105
13106 if test $bfd_cv_have_sys_procfs_type_pxstatus_t = yes; then
13107 @@ -12260,11 +12617,11 @@
13108 _ACEOF
13109
13110 fi
13111 - echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_pxstatus_t" >&5
13112 -echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_pxstatus_t" >&6
13113 + { echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_pxstatus_t" >&5
13114 +echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_pxstatus_t" >&6; }
13115
13116 - echo "$as_me:$LINENO: checking for pstatus32_t in sys/procfs.h" >&5
13117 -echo $ECHO_N "checking for pstatus32_t in sys/procfs.h... $ECHO_C" >&6
13118 + { echo "$as_me:$LINENO: checking for pstatus32_t in sys/procfs.h" >&5
13119 +echo $ECHO_N "checking for pstatus32_t in sys/procfs.h... $ECHO_C" >&6; }
13120 if test "${bfd_cv_have_sys_procfs_type_pstatus32_t+set}" = set; then
13121 echo $ECHO_N "(cached) $ECHO_C" >&6
13122 else
13123 @@ -12286,36 +12643,32 @@
13124 }
13125 _ACEOF
13126 rm -f conftest.$ac_objext
13127 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13128 - (eval $ac_compile) 2>conftest.er1
13129 +if { (ac_try="$ac_compile"
13130 +case "(($ac_try" in
13131 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13132 + *) ac_try_echo=$ac_try;;
13133 +esac
13134 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13135 + (eval "$ac_compile") 2>conftest.er1
13136 ac_status=$?
13137 grep -v '^ *+' conftest.er1 >conftest.err
13138 rm -f conftest.er1
13139 cat conftest.err >&5
13140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13141 - (exit $ac_status); } &&
13142 - { ac_try='test -z "$ac_c_werror_flag"
13143 - || test ! -s conftest.err'
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); }; } &&
13149 - { ac_try='test -s conftest.$ac_objext'
13150 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13151 - (eval $ac_try) 2>&5
13152 - ac_status=$?
13153 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13154 - (exit $ac_status); }; }; then
13155 + (exit $ac_status); } && {
13156 + test -z "$ac_c_werror_flag" ||
13157 + test ! -s conftest.err
13158 + } && test -s conftest.$ac_objext; then
13159 bfd_cv_have_sys_procfs_type_pstatus32_t=yes
13160 else
13161 echo "$as_me: failed program was:" >&5
13162 sed 's/^/| /' conftest.$ac_ext >&5
13163
13164 -bfd_cv_have_sys_procfs_type_pstatus32_t=no
13165 + bfd_cv_have_sys_procfs_type_pstatus32_t=no
13166
13167 fi
13168 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13169 +
13170 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13171 fi
13172
13173 if test $bfd_cv_have_sys_procfs_type_pstatus32_t = yes; then
13174 @@ -12325,11 +12678,11 @@
13175 _ACEOF
13176
13177 fi
13178 - echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_pstatus32_t" >&5
13179 -echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_pstatus32_t" >&6
13180 + { echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_pstatus32_t" >&5
13181 +echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_pstatus32_t" >&6; }
13182
13183 - echo "$as_me:$LINENO: checking for prpsinfo_t in sys/procfs.h" >&5
13184 -echo $ECHO_N "checking for prpsinfo_t in sys/procfs.h... $ECHO_C" >&6
13185 + { echo "$as_me:$LINENO: checking for prpsinfo_t in sys/procfs.h" >&5
13186 +echo $ECHO_N "checking for prpsinfo_t in sys/procfs.h... $ECHO_C" >&6; }
13187 if test "${bfd_cv_have_sys_procfs_type_prpsinfo_t+set}" = set; then
13188 echo $ECHO_N "(cached) $ECHO_C" >&6
13189 else
13190 @@ -12351,36 +12704,32 @@
13191 }
13192 _ACEOF
13193 rm -f conftest.$ac_objext
13194 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13195 - (eval $ac_compile) 2>conftest.er1
13196 +if { (ac_try="$ac_compile"
13197 +case "(($ac_try" in
13198 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13199 + *) ac_try_echo=$ac_try;;
13200 +esac
13201 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13202 + (eval "$ac_compile") 2>conftest.er1
13203 ac_status=$?
13204 grep -v '^ *+' conftest.er1 >conftest.err
13205 rm -f conftest.er1
13206 cat conftest.err >&5
13207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13208 - (exit $ac_status); } &&
13209 - { ac_try='test -z "$ac_c_werror_flag"
13210 - || test ! -s conftest.err'
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); }; } &&
13216 - { ac_try='test -s conftest.$ac_objext'
13217 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13218 - (eval $ac_try) 2>&5
13219 - ac_status=$?
13220 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13221 - (exit $ac_status); }; }; then
13222 + (exit $ac_status); } && {
13223 + test -z "$ac_c_werror_flag" ||
13224 + test ! -s conftest.err
13225 + } && test -s conftest.$ac_objext; then
13226 bfd_cv_have_sys_procfs_type_prpsinfo_t=yes
13227 else
13228 echo "$as_me: failed program was:" >&5
13229 sed 's/^/| /' conftest.$ac_ext >&5
13230
13231 -bfd_cv_have_sys_procfs_type_prpsinfo_t=no
13232 + bfd_cv_have_sys_procfs_type_prpsinfo_t=no
13233
13234 fi
13235 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13236 +
13237 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13238 fi
13239
13240 if test $bfd_cv_have_sys_procfs_type_prpsinfo_t = yes; then
13241 @@ -12390,11 +12739,11 @@
13242 _ACEOF
13243
13244 fi
13245 - echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prpsinfo_t" >&5
13246 -echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prpsinfo_t" >&6
13247 + { echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prpsinfo_t" >&5
13248 +echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prpsinfo_t" >&6; }
13249
13250 - echo "$as_me:$LINENO: checking for prpsinfo32_t in sys/procfs.h" >&5
13251 -echo $ECHO_N "checking for prpsinfo32_t in sys/procfs.h... $ECHO_C" >&6
13252 + { echo "$as_me:$LINENO: checking for prpsinfo32_t in sys/procfs.h" >&5
13253 +echo $ECHO_N "checking for prpsinfo32_t in sys/procfs.h... $ECHO_C" >&6; }
13254 if test "${bfd_cv_have_sys_procfs_type_prpsinfo32_t+set}" = set; then
13255 echo $ECHO_N "(cached) $ECHO_C" >&6
13256 else
13257 @@ -12416,36 +12765,32 @@
13258 }
13259 _ACEOF
13260 rm -f conftest.$ac_objext
13261 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13262 - (eval $ac_compile) 2>conftest.er1
13263 +if { (ac_try="$ac_compile"
13264 +case "(($ac_try" in
13265 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13266 + *) ac_try_echo=$ac_try;;
13267 +esac
13268 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13269 + (eval "$ac_compile") 2>conftest.er1
13270 ac_status=$?
13271 grep -v '^ *+' conftest.er1 >conftest.err
13272 rm -f conftest.er1
13273 cat conftest.err >&5
13274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13275 - (exit $ac_status); } &&
13276 - { ac_try='test -z "$ac_c_werror_flag"
13277 - || test ! -s conftest.err'
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); }; } &&
13283 - { ac_try='test -s conftest.$ac_objext'
13284 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13285 - (eval $ac_try) 2>&5
13286 - ac_status=$?
13287 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13288 - (exit $ac_status); }; }; then
13289 + (exit $ac_status); } && {
13290 + test -z "$ac_c_werror_flag" ||
13291 + test ! -s conftest.err
13292 + } && test -s conftest.$ac_objext; then
13293 bfd_cv_have_sys_procfs_type_prpsinfo32_t=yes
13294 else
13295 echo "$as_me: failed program was:" >&5
13296 sed 's/^/| /' conftest.$ac_ext >&5
13297
13298 -bfd_cv_have_sys_procfs_type_prpsinfo32_t=no
13299 + bfd_cv_have_sys_procfs_type_prpsinfo32_t=no
13300
13301 fi
13302 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13303 +
13304 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13305 fi
13306
13307 if test $bfd_cv_have_sys_procfs_type_prpsinfo32_t = yes; then
13308 @@ -12455,11 +12800,11 @@
13309 _ACEOF
13310
13311 fi
13312 - echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prpsinfo32_t" >&5
13313 -echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prpsinfo32_t" >&6
13314 + { echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prpsinfo32_t" >&5
13315 +echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prpsinfo32_t" >&6; }
13316
13317 - echo "$as_me:$LINENO: checking for psinfo_t in sys/procfs.h" >&5
13318 -echo $ECHO_N "checking for psinfo_t in sys/procfs.h... $ECHO_C" >&6
13319 + { echo "$as_me:$LINENO: checking for psinfo_t in sys/procfs.h" >&5
13320 +echo $ECHO_N "checking for psinfo_t in sys/procfs.h... $ECHO_C" >&6; }
13321 if test "${bfd_cv_have_sys_procfs_type_psinfo_t+set}" = set; then
13322 echo $ECHO_N "(cached) $ECHO_C" >&6
13323 else
13324 @@ -12481,36 +12826,32 @@
13325 }
13326 _ACEOF
13327 rm -f conftest.$ac_objext
13328 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13329 - (eval $ac_compile) 2>conftest.er1
13330 +if { (ac_try="$ac_compile"
13331 +case "(($ac_try" in
13332 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13333 + *) ac_try_echo=$ac_try;;
13334 +esac
13335 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13336 + (eval "$ac_compile") 2>conftest.er1
13337 ac_status=$?
13338 grep -v '^ *+' conftest.er1 >conftest.err
13339 rm -f conftest.er1
13340 cat conftest.err >&5
13341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13342 - (exit $ac_status); } &&
13343 - { ac_try='test -z "$ac_c_werror_flag"
13344 - || test ! -s conftest.err'
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); }; } &&
13350 - { ac_try='test -s conftest.$ac_objext'
13351 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13352 - (eval $ac_try) 2>&5
13353 - ac_status=$?
13354 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13355 - (exit $ac_status); }; }; then
13356 + (exit $ac_status); } && {
13357 + test -z "$ac_c_werror_flag" ||
13358 + test ! -s conftest.err
13359 + } && test -s conftest.$ac_objext; then
13360 bfd_cv_have_sys_procfs_type_psinfo_t=yes
13361 else
13362 echo "$as_me: failed program was:" >&5
13363 sed 's/^/| /' conftest.$ac_ext >&5
13364
13365 -bfd_cv_have_sys_procfs_type_psinfo_t=no
13366 + bfd_cv_have_sys_procfs_type_psinfo_t=no
13367
13368 fi
13369 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13370 +
13371 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13372 fi
13373
13374 if test $bfd_cv_have_sys_procfs_type_psinfo_t = yes; then
13375 @@ -12520,11 +12861,11 @@
13376 _ACEOF
13377
13378 fi
13379 - echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_psinfo_t" >&5
13380 -echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_psinfo_t" >&6
13381 + { echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_psinfo_t" >&5
13382 +echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_psinfo_t" >&6; }
13383
13384 - echo "$as_me:$LINENO: checking for psinfo32_t in sys/procfs.h" >&5
13385 -echo $ECHO_N "checking for psinfo32_t in sys/procfs.h... $ECHO_C" >&6
13386 + { echo "$as_me:$LINENO: checking for psinfo32_t in sys/procfs.h" >&5
13387 +echo $ECHO_N "checking for psinfo32_t in sys/procfs.h... $ECHO_C" >&6; }
13388 if test "${bfd_cv_have_sys_procfs_type_psinfo32_t+set}" = set; then
13389 echo $ECHO_N "(cached) $ECHO_C" >&6
13390 else
13391 @@ -12546,36 +12887,32 @@
13392 }
13393 _ACEOF
13394 rm -f conftest.$ac_objext
13395 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13396 - (eval $ac_compile) 2>conftest.er1
13397 +if { (ac_try="$ac_compile"
13398 +case "(($ac_try" in
13399 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13400 + *) ac_try_echo=$ac_try;;
13401 +esac
13402 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13403 + (eval "$ac_compile") 2>conftest.er1
13404 ac_status=$?
13405 grep -v '^ *+' conftest.er1 >conftest.err
13406 rm -f conftest.er1
13407 cat conftest.err >&5
13408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13409 - (exit $ac_status); } &&
13410 - { ac_try='test -z "$ac_c_werror_flag"
13411 - || test ! -s conftest.err'
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); }; } &&
13417 - { ac_try='test -s conftest.$ac_objext'
13418 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13419 - (eval $ac_try) 2>&5
13420 - ac_status=$?
13421 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13422 - (exit $ac_status); }; }; then
13423 + (exit $ac_status); } && {
13424 + test -z "$ac_c_werror_flag" ||
13425 + test ! -s conftest.err
13426 + } && test -s conftest.$ac_objext; then
13427 bfd_cv_have_sys_procfs_type_psinfo32_t=yes
13428 else
13429 echo "$as_me: failed program was:" >&5
13430 sed 's/^/| /' conftest.$ac_ext >&5
13431
13432 -bfd_cv_have_sys_procfs_type_psinfo32_t=no
13433 + bfd_cv_have_sys_procfs_type_psinfo32_t=no
13434
13435 fi
13436 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13437 +
13438 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13439 fi
13440
13441 if test $bfd_cv_have_sys_procfs_type_psinfo32_t = yes; then
13442 @@ -12585,11 +12922,11 @@
13443 _ACEOF
13444
13445 fi
13446 - echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_psinfo32_t" >&5
13447 -echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_psinfo32_t" >&6
13448 + { echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_psinfo32_t" >&5
13449 +echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_psinfo32_t" >&6; }
13450
13451 - echo "$as_me:$LINENO: checking for lwpstatus_t in sys/procfs.h" >&5
13452 -echo $ECHO_N "checking for lwpstatus_t in sys/procfs.h... $ECHO_C" >&6
13453 + { echo "$as_me:$LINENO: checking for lwpstatus_t in sys/procfs.h" >&5
13454 +echo $ECHO_N "checking for lwpstatus_t in sys/procfs.h... $ECHO_C" >&6; }
13455 if test "${bfd_cv_have_sys_procfs_type_lwpstatus_t+set}" = set; then
13456 echo $ECHO_N "(cached) $ECHO_C" >&6
13457 else
13458 @@ -12611,36 +12948,32 @@
13459 }
13460 _ACEOF
13461 rm -f conftest.$ac_objext
13462 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13463 - (eval $ac_compile) 2>conftest.er1
13464 +if { (ac_try="$ac_compile"
13465 +case "(($ac_try" in
13466 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13467 + *) ac_try_echo=$ac_try;;
13468 +esac
13469 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13470 + (eval "$ac_compile") 2>conftest.er1
13471 ac_status=$?
13472 grep -v '^ *+' conftest.er1 >conftest.err
13473 rm -f conftest.er1
13474 cat conftest.err >&5
13475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13476 - (exit $ac_status); } &&
13477 - { ac_try='test -z "$ac_c_werror_flag"
13478 - || test ! -s conftest.err'
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); }; } &&
13484 - { ac_try='test -s conftest.$ac_objext'
13485 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13486 - (eval $ac_try) 2>&5
13487 - ac_status=$?
13488 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13489 - (exit $ac_status); }; }; then
13490 + (exit $ac_status); } && {
13491 + test -z "$ac_c_werror_flag" ||
13492 + test ! -s conftest.err
13493 + } && test -s conftest.$ac_objext; then
13494 bfd_cv_have_sys_procfs_type_lwpstatus_t=yes
13495 else
13496 echo "$as_me: failed program was:" >&5
13497 sed 's/^/| /' conftest.$ac_ext >&5
13498
13499 -bfd_cv_have_sys_procfs_type_lwpstatus_t=no
13500 + bfd_cv_have_sys_procfs_type_lwpstatus_t=no
13501
13502 fi
13503 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13504 +
13505 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13506 fi
13507
13508 if test $bfd_cv_have_sys_procfs_type_lwpstatus_t = yes; then
13509 @@ -12650,11 +12983,11 @@
13510 _ACEOF
13511
13512 fi
13513 - echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_lwpstatus_t" >&5
13514 -echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_lwpstatus_t" >&6
13515 + { echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_lwpstatus_t" >&5
13516 +echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_lwpstatus_t" >&6; }
13517
13518 - echo "$as_me:$LINENO: checking for lwpxstatus_t in sys/procfs.h" >&5
13519 -echo $ECHO_N "checking for lwpxstatus_t in sys/procfs.h... $ECHO_C" >&6
13520 + { echo "$as_me:$LINENO: checking for lwpxstatus_t in sys/procfs.h" >&5
13521 +echo $ECHO_N "checking for lwpxstatus_t in sys/procfs.h... $ECHO_C" >&6; }
13522 if test "${bfd_cv_have_sys_procfs_type_lwpxstatus_t+set}" = set; then
13523 echo $ECHO_N "(cached) $ECHO_C" >&6
13524 else
13525 @@ -12676,36 +13009,32 @@
13526 }
13527 _ACEOF
13528 rm -f conftest.$ac_objext
13529 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13530 - (eval $ac_compile) 2>conftest.er1
13531 +if { (ac_try="$ac_compile"
13532 +case "(($ac_try" in
13533 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13534 + *) ac_try_echo=$ac_try;;
13535 +esac
13536 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13537 + (eval "$ac_compile") 2>conftest.er1
13538 ac_status=$?
13539 grep -v '^ *+' conftest.er1 >conftest.err
13540 rm -f conftest.er1
13541 cat conftest.err >&5
13542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13543 - (exit $ac_status); } &&
13544 - { ac_try='test -z "$ac_c_werror_flag"
13545 - || test ! -s conftest.err'
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); }; } &&
13551 - { ac_try='test -s conftest.$ac_objext'
13552 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13553 - (eval $ac_try) 2>&5
13554 - ac_status=$?
13555 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13556 - (exit $ac_status); }; }; then
13557 + (exit $ac_status); } && {
13558 + test -z "$ac_c_werror_flag" ||
13559 + test ! -s conftest.err
13560 + } && test -s conftest.$ac_objext; then
13561 bfd_cv_have_sys_procfs_type_lwpxstatus_t=yes
13562 else
13563 echo "$as_me: failed program was:" >&5
13564 sed 's/^/| /' conftest.$ac_ext >&5
13565
13566 -bfd_cv_have_sys_procfs_type_lwpxstatus_t=no
13567 + bfd_cv_have_sys_procfs_type_lwpxstatus_t=no
13568
13569 fi
13570 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13571 +
13572 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13573 fi
13574
13575 if test $bfd_cv_have_sys_procfs_type_lwpxstatus_t = yes; then
13576 @@ -12715,11 +13044,11 @@
13577 _ACEOF
13578
13579 fi
13580 - echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_lwpxstatus_t" >&5
13581 -echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_lwpxstatus_t" >&6
13582 + { echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_lwpxstatus_t" >&5
13583 +echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_lwpxstatus_t" >&6; }
13584
13585 - echo "$as_me:$LINENO: checking for lwpstatus_t.pr_context in sys/procfs.h" >&5
13586 -echo $ECHO_N "checking for lwpstatus_t.pr_context in sys/procfs.h... $ECHO_C" >&6
13587 + { echo "$as_me:$LINENO: checking for lwpstatus_t.pr_context in sys/procfs.h" >&5
13588 +echo $ECHO_N "checking for lwpstatus_t.pr_context in sys/procfs.h... $ECHO_C" >&6; }
13589 if test "${bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context+set}" = set; then
13590 echo $ECHO_N "(cached) $ECHO_C" >&6
13591 else
13592 @@ -12741,36 +13070,32 @@
13593 }
13594 _ACEOF
13595 rm -f conftest.$ac_objext
13596 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13597 - (eval $ac_compile) 2>conftest.er1
13598 +if { (ac_try="$ac_compile"
13599 +case "(($ac_try" in
13600 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13601 + *) ac_try_echo=$ac_try;;
13602 +esac
13603 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13604 + (eval "$ac_compile") 2>conftest.er1
13605 ac_status=$?
13606 grep -v '^ *+' conftest.er1 >conftest.err
13607 rm -f conftest.er1
13608 cat conftest.err >&5
13609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13610 - (exit $ac_status); } &&
13611 - { ac_try='test -z "$ac_c_werror_flag"
13612 - || test ! -s conftest.err'
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); }; } &&
13618 - { ac_try='test -s conftest.$ac_objext'
13619 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13620 - (eval $ac_try) 2>&5
13621 - ac_status=$?
13622 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13623 - (exit $ac_status); }; }; then
13624 + (exit $ac_status); } && {
13625 + test -z "$ac_c_werror_flag" ||
13626 + test ! -s conftest.err
13627 + } && test -s conftest.$ac_objext; then
13628 bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context=yes
13629 else
13630 echo "$as_me: failed program was:" >&5
13631 sed 's/^/| /' conftest.$ac_ext >&5
13632
13633 -bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context=no
13634 + bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context=no
13635
13636 fi
13637 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13638 +
13639 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13640 fi
13641
13642 if test $bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context = yes; then
13643 @@ -12780,11 +13105,11 @@
13644 _ACEOF
13645
13646 fi
13647 - echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context" >&5
13648 -echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context" >&6
13649 + { echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context" >&5
13650 +echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context" >&6; }
13651
13652 - echo "$as_me:$LINENO: checking for lwpstatus_t.pr_reg in sys/procfs.h" >&5
13653 -echo $ECHO_N "checking for lwpstatus_t.pr_reg in sys/procfs.h... $ECHO_C" >&6
13654 + { echo "$as_me:$LINENO: checking for lwpstatus_t.pr_reg in sys/procfs.h" >&5
13655 +echo $ECHO_N "checking for lwpstatus_t.pr_reg in sys/procfs.h... $ECHO_C" >&6; }
13656 if test "${bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg+set}" = set; then
13657 echo $ECHO_N "(cached) $ECHO_C" >&6
13658 else
13659 @@ -12806,36 +13131,32 @@
13660 }
13661 _ACEOF
13662 rm -f conftest.$ac_objext
13663 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13664 - (eval $ac_compile) 2>conftest.er1
13665 +if { (ac_try="$ac_compile"
13666 +case "(($ac_try" in
13667 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13668 + *) ac_try_echo=$ac_try;;
13669 +esac
13670 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13671 + (eval "$ac_compile") 2>conftest.er1
13672 ac_status=$?
13673 grep -v '^ *+' conftest.er1 >conftest.err
13674 rm -f conftest.er1
13675 cat conftest.err >&5
13676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13677 - (exit $ac_status); } &&
13678 - { ac_try='test -z "$ac_c_werror_flag"
13679 - || test ! -s conftest.err'
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); }; } &&
13685 - { ac_try='test -s conftest.$ac_objext'
13686 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13687 - (eval $ac_try) 2>&5
13688 - ac_status=$?
13689 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13690 - (exit $ac_status); }; }; then
13691 + (exit $ac_status); } && {
13692 + test -z "$ac_c_werror_flag" ||
13693 + test ! -s conftest.err
13694 + } && test -s conftest.$ac_objext; then
13695 bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg=yes
13696 else
13697 echo "$as_me: failed program was:" >&5
13698 sed 's/^/| /' conftest.$ac_ext >&5
13699
13700 -bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg=no
13701 + bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg=no
13702
13703 fi
13704 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13705 +
13706 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13707 fi
13708
13709 if test $bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg = yes; then
13710 @@ -12845,11 +13166,11 @@
13711 _ACEOF
13712
13713 fi
13714 - echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg" >&5
13715 -echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg" >&6
13716 + { echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg" >&5
13717 +echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg" >&6; }
13718
13719 - echo "$as_me:$LINENO: checking for win32_pstatus_t in sys/procfs.h" >&5
13720 -echo $ECHO_N "checking for win32_pstatus_t in sys/procfs.h... $ECHO_C" >&6
13721 + { echo "$as_me:$LINENO: checking for win32_pstatus_t in sys/procfs.h" >&5
13722 +echo $ECHO_N "checking for win32_pstatus_t in sys/procfs.h... $ECHO_C" >&6; }
13723 if test "${bfd_cv_have_sys_procfs_type_win32_pstatus_t+set}" = set; then
13724 echo $ECHO_N "(cached) $ECHO_C" >&6
13725 else
13726 @@ -12871,36 +13192,32 @@
13727 }
13728 _ACEOF
13729 rm -f conftest.$ac_objext
13730 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13731 - (eval $ac_compile) 2>conftest.er1
13732 +if { (ac_try="$ac_compile"
13733 +case "(($ac_try" in
13734 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13735 + *) ac_try_echo=$ac_try;;
13736 +esac
13737 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13738 + (eval "$ac_compile") 2>conftest.er1
13739 ac_status=$?
13740 grep -v '^ *+' conftest.er1 >conftest.err
13741 rm -f conftest.er1
13742 cat conftest.err >&5
13743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13744 - (exit $ac_status); } &&
13745 - { ac_try='test -z "$ac_c_werror_flag"
13746 - || test ! -s conftest.err'
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); }; } &&
13752 - { ac_try='test -s conftest.$ac_objext'
13753 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13754 - (eval $ac_try) 2>&5
13755 - ac_status=$?
13756 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13757 - (exit $ac_status); }; }; then
13758 + (exit $ac_status); } && {
13759 + test -z "$ac_c_werror_flag" ||
13760 + test ! -s conftest.err
13761 + } && test -s conftest.$ac_objext; then
13762 bfd_cv_have_sys_procfs_type_win32_pstatus_t=yes
13763 else
13764 echo "$as_me: failed program was:" >&5
13765 sed 's/^/| /' conftest.$ac_ext >&5
13766
13767 -bfd_cv_have_sys_procfs_type_win32_pstatus_t=no
13768 + bfd_cv_have_sys_procfs_type_win32_pstatus_t=no
13769
13770 fi
13771 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13772 +
13773 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13774 fi
13775
13776 if test $bfd_cv_have_sys_procfs_type_win32_pstatus_t = yes; then
13777 @@ -12910,8 +13227,8 @@
13778 _ACEOF
13779
13780 fi
13781 - echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_win32_pstatus_t" >&5
13782 -echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_win32_pstatus_t" >&6
13783 + { echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_win32_pstatus_t" >&5
13784 +echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_win32_pstatus_t" >&6; }
13785
13786 fi
13787 fi
13788 @@ -13070,6 +13387,7 @@
13789 bfd_efi_app_ia64_vec) tb="$tb efi-app-ia64.lo pepigen.lo cofflink.lo"; target_size=64 ;;
13790 bfd_elf32_am33lin_vec) tb="$tb elf32-am33lin.lo elf32.lo $elf" ;;
13791 bfd_elf32_avr_vec) tb="$tb elf32-avr.lo elf32.lo $elf" ;;
13792 + bfd_elf32_avr32_vec) tb="$tb elf32-avr32.lo elf32.lo $elf" ;;
13793 bfd_elf32_bfin_vec) tb="$tb elf32-bfin.lo elf32.lo $elf" ;;
13794 bfd_elf32_bfinfdpic_vec) tb="$tb elf32-bfin.lo elf32.lo $elf" ;;
13795 bfd_elf32_big_generic_vec) tb="$tb elf32-gen.lo elf32.lo $elf" ;;
13796 @@ -13389,8 +13707,8 @@
13797 fi
13798 if test -n "$GCC" ; then
13799 bad_64bit_gcc=no;
13800 - echo "$as_me:$LINENO: checking for gcc version with buggy 64-bit support" >&5
13801 -echo $ECHO_N "checking for gcc version with buggy 64-bit support... $ECHO_C" >&6
13802 + { echo "$as_me:$LINENO: checking for gcc version with buggy 64-bit support" >&5
13803 +echo $ECHO_N "checking for gcc version with buggy 64-bit support... $ECHO_C" >&6; }
13804 # Add more tests for gcc versions with non-working 64-bit support here.
13805 cat >conftest.$ac_ext <<_ACEOF
13806 /* confdefs.h. */
13807 @@ -13403,11 +13721,11 @@
13808 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13809 $EGREP ": 2 : 91 : 1 :" >/dev/null 2>&1; then
13810 bad_64bit_gcc=yes;
13811 - echo "$as_me:$LINENO: result: yes: egcs-1.1.2 on ix86 spotted" >&5
13812 -echo "${ECHO_T}yes: egcs-1.1.2 on ix86 spotted" >&6
13813 + { echo "$as_me:$LINENO: result: yes: egcs-1.1.2 on ix86 spotted" >&5
13814 +echo "${ECHO_T}yes: egcs-1.1.2 on ix86 spotted" >&6; }
13815 else
13816 - echo "$as_me:$LINENO: result: no" >&5
13817 -echo "${ECHO_T}no" >&6
13818 + { echo "$as_me:$LINENO: result: no" >&5
13819 +echo "${ECHO_T}no" >&6; }
13820 fi
13821 rm -f conftest*
13822
13823 @@ -13445,9 +13763,9 @@
13824 for ac_func in ftello ftello64 fseeko fseeko64 fopen64
13825 do
13826 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13827 -echo "$as_me:$LINENO: checking for $ac_func" >&5
13828 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13829 -if eval "test \"\${$as_ac_var+set}\" = set"; then
13830 +{ echo "$as_me:$LINENO: checking for $ac_func" >&5
13831 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13832 +if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13833 echo $ECHO_N "(cached) $ECHO_C" >&6
13834 else
13835 cat >conftest.$ac_ext <<_ACEOF
13836 @@ -13473,68 +13791,60 @@
13837
13838 #undef $ac_func
13839
13840 -/* Override any gcc2 internal prototype to avoid an error. */
13841 +/* Override any GCC internal prototype to avoid an error.
13842 + Use char because int might match the return type of a GCC
13843 + builtin and then its argument prototype would still apply. */
13844 #ifdef __cplusplus
13845 extern "C"
13846 -{
13847 #endif
13848 -/* We use char because int might match the return type of a gcc2
13849 - builtin and then its argument prototype would still apply. */
13850 char $ac_func ();
13851 /* The GNU C library defines this for functions which it implements
13852 to always fail with ENOSYS. Some functions are actually named
13853 something starting with __ and the normal name is an alias. */
13854 -#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13855 +#if defined __stub_$ac_func || defined __stub___$ac_func
13856 choke me
13857 -#else
13858 -char (*f) () = $ac_func;
13859 -#endif
13860 -#ifdef __cplusplus
13861 -}
13862 #endif
13863
13864 int
13865 main ()
13866 {
13867 -return f != $ac_func;
13868 +return $ac_func ();
13869 ;
13870 return 0;
13871 }
13872 _ACEOF
13873 rm -f conftest.$ac_objext conftest$ac_exeext
13874 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13875 - (eval $ac_link) 2>conftest.er1
13876 +if { (ac_try="$ac_link"
13877 +case "(($ac_try" in
13878 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13879 + *) ac_try_echo=$ac_try;;
13880 +esac
13881 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13882 + (eval "$ac_link") 2>conftest.er1
13883 ac_status=$?
13884 grep -v '^ *+' conftest.er1 >conftest.err
13885 rm -f conftest.er1
13886 cat conftest.err >&5
13887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13888 - (exit $ac_status); } &&
13889 - { ac_try='test -z "$ac_c_werror_flag"
13890 - || test ! -s conftest.err'
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); }; } &&
13896 - { ac_try='test -s conftest$ac_exeext'
13897 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13898 - (eval $ac_try) 2>&5
13899 - ac_status=$?
13900 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13901 - (exit $ac_status); }; }; then
13902 + (exit $ac_status); } && {
13903 + test -z "$ac_c_werror_flag" ||
13904 + test ! -s conftest.err
13905 + } && test -s conftest$ac_exeext &&
13906 + $as_test_x conftest$ac_exeext; then
13907 eval "$as_ac_var=yes"
13908 else
13909 echo "$as_me: failed program was:" >&5
13910 sed 's/^/| /' conftest.$ac_ext >&5
13911
13912 -eval "$as_ac_var=no"
13913 + eval "$as_ac_var=no"
13914 fi
13915 -rm -f conftest.err conftest.$ac_objext \
13916 +
13917 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13918 conftest$ac_exeext conftest.$ac_ext
13919 fi
13920 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13921 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13922 +ac_res=`eval echo '${'$as_ac_var'}'`
13923 + { echo "$as_me:$LINENO: result: $ac_res" >&5
13924 +echo "${ECHO_T}$ac_res" >&6; }
13925 if test `eval echo '${'$as_ac_var'}'` = yes; then
13926 cat >>confdefs.h <<_ACEOF
13927 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13928 @@ -13544,8 +13854,8 @@
13929 done
13930
13931 if test x"$ac_cv_func_ftello" = xyes -a x"$ac_cv_func_fseeko" = xyes; then
13932 - echo "$as_me:$LINENO: checking for off_t" >&5
13933 -echo $ECHO_N "checking for off_t... $ECHO_C" >&6
13934 + { echo "$as_me:$LINENO: checking for off_t" >&5
13935 +echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
13936 if test "${ac_cv_type_off_t+set}" = set; then
13937 echo $ECHO_N "(cached) $ECHO_C" >&6
13938 else
13939 @@ -13556,61 +13866,57 @@
13940 cat >>conftest.$ac_ext <<_ACEOF
13941 /* end confdefs.h. */
13942 $ac_includes_default
13943 +typedef off_t ac__type_new_;
13944 int
13945 main ()
13946 {
13947 -if ((off_t *) 0)
13948 +if ((ac__type_new_ *) 0)
13949 return 0;
13950 -if (sizeof (off_t))
13951 +if (sizeof (ac__type_new_))
13952 return 0;
13953 ;
13954 return 0;
13955 }
13956 _ACEOF
13957 rm -f conftest.$ac_objext
13958 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13959 - (eval $ac_compile) 2>conftest.er1
13960 +if { (ac_try="$ac_compile"
13961 +case "(($ac_try" in
13962 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13963 + *) ac_try_echo=$ac_try;;
13964 +esac
13965 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13966 + (eval "$ac_compile") 2>conftest.er1
13967 ac_status=$?
13968 grep -v '^ *+' conftest.er1 >conftest.err
13969 rm -f conftest.er1
13970 cat conftest.err >&5
13971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13972 - (exit $ac_status); } &&
13973 - { ac_try='test -z "$ac_c_werror_flag"
13974 - || test ! -s conftest.err'
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); }; } &&
13980 - { ac_try='test -s conftest.$ac_objext'
13981 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13982 - (eval $ac_try) 2>&5
13983 - ac_status=$?
13984 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13985 - (exit $ac_status); }; }; then
13986 + (exit $ac_status); } && {
13987 + test -z "$ac_c_werror_flag" ||
13988 + test ! -s conftest.err
13989 + } && test -s conftest.$ac_objext; then
13990 ac_cv_type_off_t=yes
13991 else
13992 echo "$as_me: failed program was:" >&5
13993 sed 's/^/| /' conftest.$ac_ext >&5
13994
13995 -ac_cv_type_off_t=no
13996 + ac_cv_type_off_t=no
13997 fi
13998 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13999 +
14000 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14001 fi
14002 -echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
14003 -echo "${ECHO_T}$ac_cv_type_off_t" >&6
14004 +{ echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
14005 +echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
14006
14007 -echo "$as_me:$LINENO: checking size of off_t" >&5
14008 -echo $ECHO_N "checking size of off_t... $ECHO_C" >&6
14009 +# The cast to long int works around a bug in the HP C Compiler
14010 +# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14011 +# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14012 +# This bug is HP SR number 8606223364.
14013 +{ echo "$as_me:$LINENO: checking size of off_t" >&5
14014 +echo $ECHO_N "checking size of off_t... $ECHO_C" >&6; }
14015 if test "${ac_cv_sizeof_off_t+set}" = set; then
14016 echo $ECHO_N "(cached) $ECHO_C" >&6
14017 else
14018 - if test "$ac_cv_type_off_t" = yes; then
14019 - # The cast to unsigned long works around a bug in the HP C Compiler
14020 - # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14021 - # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14022 - # This bug is HP SR number 8606223364.
14023 if test "$cross_compiling" = yes; then
14024 # Depending upon the size, compute the lo and hi bounds.
14025 cat >conftest.$ac_ext <<_ACEOF
14026 @@ -13620,10 +13926,11 @@
14027 cat >>conftest.$ac_ext <<_ACEOF
14028 /* end confdefs.h. */
14029 $ac_includes_default
14030 + typedef off_t ac__type_sizeof_;
14031 int
14032 main ()
14033 {
14034 -static int test_array [1 - 2 * !(((long) (sizeof (off_t))) >= 0)];
14035 +static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
14036 test_array [0] = 0
14037
14038 ;
14039 @@ -13631,27 +13938,22 @@
14040 }
14041 _ACEOF
14042 rm -f conftest.$ac_objext
14043 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14044 - (eval $ac_compile) 2>conftest.er1
14045 +if { (ac_try="$ac_compile"
14046 +case "(($ac_try" in
14047 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14048 + *) ac_try_echo=$ac_try;;
14049 +esac
14050 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14051 + (eval "$ac_compile") 2>conftest.er1
14052 ac_status=$?
14053 grep -v '^ *+' conftest.er1 >conftest.err
14054 rm -f conftest.er1
14055 cat conftest.err >&5
14056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14057 - (exit $ac_status); } &&
14058 - { ac_try='test -z "$ac_c_werror_flag"
14059 - || test ! -s conftest.err'
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); }; } &&
14065 - { ac_try='test -s conftest.$ac_objext'
14066 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14067 - (eval $ac_try) 2>&5
14068 - ac_status=$?
14069 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14070 - (exit $ac_status); }; }; then
14071 + (exit $ac_status); } && {
14072 + test -z "$ac_c_werror_flag" ||
14073 + test ! -s conftest.err
14074 + } && test -s conftest.$ac_objext; then
14075 ac_lo=0 ac_mid=0
14076 while :; do
14077 cat >conftest.$ac_ext <<_ACEOF
14078 @@ -13661,10 +13963,11 @@
14079 cat >>conftest.$ac_ext <<_ACEOF
14080 /* end confdefs.h. */
14081 $ac_includes_default
14082 + typedef off_t ac__type_sizeof_;
14083 int
14084 main ()
14085 {
14086 -static int test_array [1 - 2 * !(((long) (sizeof (off_t))) <= $ac_mid)];
14087 +static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
14088 test_array [0] = 0
14089
14090 ;
14091 @@ -13672,56 +13975,53 @@
14092 }
14093 _ACEOF
14094 rm -f conftest.$ac_objext
14095 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14096 - (eval $ac_compile) 2>conftest.er1
14097 +if { (ac_try="$ac_compile"
14098 +case "(($ac_try" in
14099 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14100 + *) ac_try_echo=$ac_try;;
14101 +esac
14102 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14103 + (eval "$ac_compile") 2>conftest.er1
14104 ac_status=$?
14105 grep -v '^ *+' conftest.er1 >conftest.err
14106 rm -f conftest.er1
14107 cat conftest.err >&5
14108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14109 - (exit $ac_status); } &&
14110 - { ac_try='test -z "$ac_c_werror_flag"
14111 - || test ! -s conftest.err'
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); }; } &&
14117 - { ac_try='test -s conftest.$ac_objext'
14118 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14119 - (eval $ac_try) 2>&5
14120 - ac_status=$?
14121 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14122 - (exit $ac_status); }; }; then
14123 + (exit $ac_status); } && {
14124 + test -z "$ac_c_werror_flag" ||
14125 + test ! -s conftest.err
14126 + } && test -s conftest.$ac_objext; then
14127 ac_hi=$ac_mid; break
14128 else
14129 echo "$as_me: failed program was:" >&5
14130 sed 's/^/| /' conftest.$ac_ext >&5
14131
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 + ac_lo=`expr $ac_mid + 1`
14139 + if test $ac_lo -le $ac_mid; then
14140 + ac_lo= ac_hi=
14141 + break
14142 + fi
14143 + ac_mid=`expr 2 '*' $ac_mid + 1`
14144 fi
14145 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14146 +
14147 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14148 done
14149 else
14150 echo "$as_me: failed program was:" >&5
14151 sed 's/^/| /' conftest.$ac_ext >&5
14152
14153 -cat >conftest.$ac_ext <<_ACEOF
14154 + cat >conftest.$ac_ext <<_ACEOF
14155 /* confdefs.h. */
14156 _ACEOF
14157 cat confdefs.h >>conftest.$ac_ext
14158 cat >>conftest.$ac_ext <<_ACEOF
14159 /* end confdefs.h. */
14160 $ac_includes_default
14161 + typedef off_t ac__type_sizeof_;
14162 int
14163 main ()
14164 {
14165 -static int test_array [1 - 2 * !(((long) (sizeof (off_t))) < 0)];
14166 +static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
14167 test_array [0] = 0
14168
14169 ;
14170 @@ -13729,27 +14029,22 @@
14171 }
14172 _ACEOF
14173 rm -f conftest.$ac_objext
14174 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14175 - (eval $ac_compile) 2>conftest.er1
14176 +if { (ac_try="$ac_compile"
14177 +case "(($ac_try" in
14178 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14179 + *) ac_try_echo=$ac_try;;
14180 +esac
14181 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14182 + (eval "$ac_compile") 2>conftest.er1
14183 ac_status=$?
14184 grep -v '^ *+' conftest.er1 >conftest.err
14185 rm -f conftest.er1
14186 cat conftest.err >&5
14187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14188 - (exit $ac_status); } &&
14189 - { ac_try='test -z "$ac_c_werror_flag"
14190 - || test ! -s conftest.err'
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); }; } &&
14196 - { ac_try='test -s conftest.$ac_objext'
14197 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14198 - (eval $ac_try) 2>&5
14199 - ac_status=$?
14200 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14201 - (exit $ac_status); }; }; then
14202 + (exit $ac_status); } && {
14203 + test -z "$ac_c_werror_flag" ||
14204 + test ! -s conftest.err
14205 + } && test -s conftest.$ac_objext; then
14206 ac_hi=-1 ac_mid=-1
14207 while :; do
14208 cat >conftest.$ac_ext <<_ACEOF
14209 @@ -13759,10 +14054,11 @@
14210 cat >>conftest.$ac_ext <<_ACEOF
14211 /* end confdefs.h. */
14212 $ac_includes_default
14213 + typedef off_t ac__type_sizeof_;
14214 int
14215 main ()
14216 {
14217 -static int test_array [1 - 2 * !(((long) (sizeof (off_t))) >= $ac_mid)];
14218 +static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
14219 test_array [0] = 0
14220
14221 ;
14222 @@ -13770,50 +14066,48 @@
14223 }
14224 _ACEOF
14225 rm -f conftest.$ac_objext
14226 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14227 - (eval $ac_compile) 2>conftest.er1
14228 +if { (ac_try="$ac_compile"
14229 +case "(($ac_try" in
14230 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14231 + *) ac_try_echo=$ac_try;;
14232 +esac
14233 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14234 + (eval "$ac_compile") 2>conftest.er1
14235 ac_status=$?
14236 grep -v '^ *+' conftest.er1 >conftest.err
14237 rm -f conftest.er1
14238 cat conftest.err >&5
14239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14240 - (exit $ac_status); } &&
14241 - { ac_try='test -z "$ac_c_werror_flag"
14242 - || test ! -s conftest.err'
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); }; } &&
14248 - { ac_try='test -s conftest.$ac_objext'
14249 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14250 - (eval $ac_try) 2>&5
14251 - ac_status=$?
14252 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14253 - (exit $ac_status); }; }; then
14254 + (exit $ac_status); } && {
14255 + test -z "$ac_c_werror_flag" ||
14256 + test ! -s conftest.err
14257 + } && test -s conftest.$ac_objext; then
14258 ac_lo=$ac_mid; break
14259 else
14260 echo "$as_me: failed program was:" >&5
14261 sed 's/^/| /' conftest.$ac_ext >&5
14262
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 + ac_hi=`expr '(' $ac_mid ')' - 1`
14270 + if test $ac_mid -le $ac_hi; then
14271 + ac_lo= ac_hi=
14272 + break
14273 + fi
14274 + ac_mid=`expr 2 '*' $ac_mid`
14275 fi
14276 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14277 +
14278 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14279 done
14280 else
14281 echo "$as_me: failed program was:" >&5
14282 sed 's/^/| /' conftest.$ac_ext >&5
14283
14284 -ac_lo= ac_hi=
14285 + ac_lo= ac_hi=
14286 fi
14287 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14288 +
14289 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14290 fi
14291 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14292 +
14293 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14294 # Binary search between lo and hi bounds.
14295 while test "x$ac_lo" != "x$ac_hi"; do
14296 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14297 @@ -13824,10 +14118,11 @@
14298 cat >>conftest.$ac_ext <<_ACEOF
14299 /* end confdefs.h. */
14300 $ac_includes_default
14301 + typedef off_t ac__type_sizeof_;
14302 int
14303 main ()
14304 {
14305 -static int test_array [1 - 2 * !(((long) (sizeof (off_t))) <= $ac_mid)];
14306 +static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
14307 test_array [0] = 0
14308
14309 ;
14310 @@ -13835,52 +14130,45 @@
14311 }
14312 _ACEOF
14313 rm -f conftest.$ac_objext
14314 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14315 - (eval $ac_compile) 2>conftest.er1
14316 +if { (ac_try="$ac_compile"
14317 +case "(($ac_try" in
14318 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14319 + *) ac_try_echo=$ac_try;;
14320 +esac
14321 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14322 + (eval "$ac_compile") 2>conftest.er1
14323 ac_status=$?
14324 grep -v '^ *+' conftest.er1 >conftest.err
14325 rm -f conftest.er1
14326 cat conftest.err >&5
14327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14328 - (exit $ac_status); } &&
14329 - { ac_try='test -z "$ac_c_werror_flag"
14330 - || test ! -s conftest.err'
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); }; } &&
14336 - { ac_try='test -s conftest.$ac_objext'
14337 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14338 - (eval $ac_try) 2>&5
14339 - ac_status=$?
14340 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14341 - (exit $ac_status); }; }; then
14342 + (exit $ac_status); } && {
14343 + test -z "$ac_c_werror_flag" ||
14344 + test ! -s conftest.err
14345 + } && test -s conftest.$ac_objext; then
14346 ac_hi=$ac_mid
14347 else
14348 echo "$as_me: failed program was:" >&5
14349 sed 's/^/| /' conftest.$ac_ext >&5
14350
14351 -ac_lo=`expr '(' $ac_mid ')' + 1`
14352 + ac_lo=`expr '(' $ac_mid ')' + 1`
14353 fi
14354 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14355 +
14356 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14357 done
14358 case $ac_lo in
14359 ?*) ac_cv_sizeof_off_t=$ac_lo;;
14360 -'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (off_t), 77
14361 +'') if test "$ac_cv_type_off_t" = yes; then
14362 + { { echo "$as_me:$LINENO: error: cannot compute sizeof (off_t)
14363 See \`config.log' for more details." >&5
14364 -echo "$as_me: error: cannot compute sizeof (off_t), 77
14365 +echo "$as_me: error: cannot compute sizeof (off_t)
14366 See \`config.log' for more details." >&2;}
14367 - { (exit 1); exit 1; }; } ;;
14368 + { (exit 77); exit 77; }; }
14369 + else
14370 + ac_cv_sizeof_off_t=0
14371 + fi ;;
14372 esac
14373 else
14374 - if test "$cross_compiling" = yes; then
14375 - { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14376 -See \`config.log' for more details." >&5
14377 -echo "$as_me: error: cannot run test program while cross compiling
14378 -See \`config.log' for more details." >&2;}
14379 - { (exit 1); exit 1; }; }
14380 -else
14381 cat >conftest.$ac_ext <<_ACEOF
14382 /* confdefs.h. */
14383 _ACEOF
14384 @@ -13888,8 +14176,9 @@
14385 cat >>conftest.$ac_ext <<_ACEOF
14386 /* end confdefs.h. */
14387 $ac_includes_default
14388 -long longval () { return (long) (sizeof (off_t)); }
14389 -unsigned long ulongval () { return (long) (sizeof (off_t)); }
14390 + typedef off_t ac__type_sizeof_;
14391 +static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
14392 +static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
14393 #include <stdio.h>
14394 #include <stdlib.h>
14395 int
14396 @@ -13898,35 +14187,44 @@
14397
14398 FILE *f = fopen ("conftest.val", "w");
14399 if (! f)
14400 - exit (1);
14401 - if (((long) (sizeof (off_t))) < 0)
14402 + return 1;
14403 + if (((long int) (sizeof (ac__type_sizeof_))) < 0)
14404 {
14405 - long i = longval ();
14406 - if (i != ((long) (sizeof (off_t))))
14407 - exit (1);
14408 + long int i = longval ();
14409 + if (i != ((long int) (sizeof (ac__type_sizeof_))))
14410 + return 1;
14411 fprintf (f, "%ld\n", i);
14412 }
14413 else
14414 {
14415 - unsigned long i = ulongval ();
14416 - if (i != ((long) (sizeof (off_t))))
14417 - exit (1);
14418 + unsigned long int i = ulongval ();
14419 + if (i != ((long int) (sizeof (ac__type_sizeof_))))
14420 + return 1;
14421 fprintf (f, "%lu\n", i);
14422 }
14423 - exit (ferror (f) || fclose (f) != 0);
14424 + return ferror (f) || fclose (f) != 0;
14425
14426 ;
14427 return 0;
14428 }
14429 _ACEOF
14430 rm -f conftest$ac_exeext
14431 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14432 - (eval $ac_link) 2>&5
14433 +if { (ac_try="$ac_link"
14434 +case "(($ac_try" in
14435 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14436 + *) ac_try_echo=$ac_try;;
14437 +esac
14438 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14439 + (eval "$ac_link") 2>&5
14440 ac_status=$?
14441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14442 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14443 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14444 - (eval $ac_try) 2>&5
14445 + { (case "(($ac_try" in
14446 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14447 + *) ac_try_echo=$ac_try;;
14448 +esac
14449 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14450 + (eval "$ac_try") 2>&5
14451 ac_status=$?
14452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14453 (exit $ac_status); }; }; then
14454 @@ -13937,30 +14235,33 @@
14455 sed 's/^/| /' conftest.$ac_ext >&5
14456
14457 ( exit $ac_status )
14458 -{ { echo "$as_me:$LINENO: error: cannot compute sizeof (off_t), 77
14459 +if test "$ac_cv_type_off_t" = yes; then
14460 + { { echo "$as_me:$LINENO: error: cannot compute sizeof (off_t)
14461 See \`config.log' for more details." >&5
14462 -echo "$as_me: error: cannot compute sizeof (off_t), 77
14463 +echo "$as_me: error: cannot compute sizeof (off_t)
14464 See \`config.log' for more details." >&2;}
14465 - { (exit 1); exit 1; }; }
14466 -fi
14467 -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14468 + { (exit 77); exit 77; }; }
14469 + else
14470 + ac_cv_sizeof_off_t=0
14471 + fi
14472 fi
14473 +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14474 fi
14475 rm -f conftest.val
14476 -else
14477 - ac_cv_sizeof_off_t=0
14478 -fi
14479 fi
14480 -echo "$as_me:$LINENO: result: $ac_cv_sizeof_off_t" >&5
14481 -echo "${ECHO_T}$ac_cv_sizeof_off_t" >&6
14482 +{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_off_t" >&5
14483 +echo "${ECHO_T}$ac_cv_sizeof_off_t" >&6; }
14484 +
14485 +
14486 +
14487 cat >>confdefs.h <<_ACEOF
14488 #define SIZEOF_OFF_T $ac_cv_sizeof_off_t
14489 _ACEOF
14490
14491
14492 fi
14493 -echo "$as_me:$LINENO: checking file_ptr type" >&5
14494 -echo $ECHO_N "checking file_ptr type... $ECHO_C" >&6
14495 +{ echo "$as_me:$LINENO: checking file_ptr type" >&5
14496 +echo $ECHO_N "checking file_ptr type... $ECHO_C" >&6; }
14497 bfd_file_ptr="long"
14498 bfd_ufile_ptr="unsigned long"
14499 if test x"$ac_cv_func_ftello64" = xyes -a x"$ac_cv_func_fseeko64" = xyes \
14500 @@ -13968,8 +14269,8 @@
14501 bfd_file_ptr=BFD_HOST_64_BIT
14502 bfd_ufile_ptr=BFD_HOST_U_64_BIT
14503 fi
14504 -echo "$as_me:$LINENO: result: $bfd_file_ptr" >&5
14505 -echo "${ECHO_T}$bfd_file_ptr" >&6
14506 +{ echo "$as_me:$LINENO: result: $bfd_file_ptr" >&5
14507 +echo "${ECHO_T}$bfd_file_ptr" >&6; }
14508
14509
14510
14511 @@ -13987,18 +14288,19 @@
14512 for ac_header in stdlib.h unistd.h
14513 do
14514 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14515 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
14516 - echo "$as_me:$LINENO: checking for $ac_header" >&5
14517 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14518 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
14519 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14520 + { echo "$as_me:$LINENO: checking for $ac_header" >&5
14521 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
14522 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14523 echo $ECHO_N "(cached) $ECHO_C" >&6
14524 fi
14525 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14526 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14527 +ac_res=`eval echo '${'$as_ac_Header'}'`
14528 + { echo "$as_me:$LINENO: result: $ac_res" >&5
14529 +echo "${ECHO_T}$ac_res" >&6; }
14530 else
14531 # Is the header compilable?
14532 -echo "$as_me:$LINENO: checking $ac_header usability" >&5
14533 -echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14534 +{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
14535 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
14536 cat >conftest.$ac_ext <<_ACEOF
14537 /* confdefs.h. */
14538 _ACEOF
14539 @@ -14009,41 +14311,37 @@
14540 #include <$ac_header>
14541 _ACEOF
14542 rm -f conftest.$ac_objext
14543 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14544 - (eval $ac_compile) 2>conftest.er1
14545 +if { (ac_try="$ac_compile"
14546 +case "(($ac_try" in
14547 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14548 + *) ac_try_echo=$ac_try;;
14549 +esac
14550 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14551 + (eval "$ac_compile") 2>conftest.er1
14552 ac_status=$?
14553 grep -v '^ *+' conftest.er1 >conftest.err
14554 rm -f conftest.er1
14555 cat conftest.err >&5
14556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14557 - (exit $ac_status); } &&
14558 - { ac_try='test -z "$ac_c_werror_flag"
14559 - || test ! -s conftest.err'
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); }; } &&
14565 - { ac_try='test -s conftest.$ac_objext'
14566 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14567 - (eval $ac_try) 2>&5
14568 - ac_status=$?
14569 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14570 - (exit $ac_status); }; }; then
14571 + (exit $ac_status); } && {
14572 + test -z "$ac_c_werror_flag" ||
14573 + test ! -s conftest.err
14574 + } && test -s conftest.$ac_objext; then
14575 ac_header_compiler=yes
14576 else
14577 echo "$as_me: failed program was:" >&5
14578 sed 's/^/| /' conftest.$ac_ext >&5
14579
14580 -ac_header_compiler=no
14581 + ac_header_compiler=no
14582 fi
14583 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14584 -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14585 -echo "${ECHO_T}$ac_header_compiler" >&6
14586 +
14587 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14588 +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14589 +echo "${ECHO_T}$ac_header_compiler" >&6; }
14590
14591 # Is the header present?
14592 -echo "$as_me:$LINENO: checking $ac_header presence" >&5
14593 -echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14594 +{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
14595 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
14596 cat >conftest.$ac_ext <<_ACEOF
14597 /* confdefs.h. */
14598 _ACEOF
14599 @@ -14052,24 +14350,22 @@
14600 /* end confdefs.h. */
14601 #include <$ac_header>
14602 _ACEOF
14603 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14604 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14605 +if { (ac_try="$ac_cpp conftest.$ac_ext"
14606 +case "(($ac_try" in
14607 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14608 + *) ac_try_echo=$ac_try;;
14609 +esac
14610 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14611 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14612 ac_status=$?
14613 grep -v '^ *+' conftest.er1 >conftest.err
14614 rm -f conftest.er1
14615 cat conftest.err >&5
14616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14617 - (exit $ac_status); } >/dev/null; then
14618 - if test -s conftest.err; then
14619 - ac_cpp_err=$ac_c_preproc_warn_flag
14620 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14621 - else
14622 - ac_cpp_err=
14623 - fi
14624 -else
14625 - ac_cpp_err=yes
14626 -fi
14627 -if test -z "$ac_cpp_err"; then
14628 + (exit $ac_status); } >/dev/null && {
14629 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14630 + test ! -s conftest.err
14631 + }; then
14632 ac_header_preproc=yes
14633 else
14634 echo "$as_me: failed program was:" >&5
14635 @@ -14077,9 +14373,10 @@
14636
14637 ac_header_preproc=no
14638 fi
14639 +
14640 rm -f conftest.err conftest.$ac_ext
14641 -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14642 -echo "${ECHO_T}$ac_header_preproc" >&6
14643 +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14644 +echo "${ECHO_T}$ac_header_preproc" >&6; }
14645
14646 # So? What about this header?
14647 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14648 @@ -14103,25 +14400,19 @@
14649 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14650 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14651 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14652 - (
14653 - cat <<\_ASBOX
14654 -## ------------------------------------------ ##
14655 -## Report this to the AC_PACKAGE_NAME lists. ##
14656 -## ------------------------------------------ ##
14657 -_ASBOX
14658 - ) |
14659 - sed "s/^/$as_me: WARNING: /" >&2
14660 +
14661 ;;
14662 esac
14663 -echo "$as_me:$LINENO: checking for $ac_header" >&5
14664 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14665 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
14666 +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
14667 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
14668 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14669 echo $ECHO_N "(cached) $ECHO_C" >&6
14670 else
14671 eval "$as_ac_Header=\$ac_header_preproc"
14672 fi
14673 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14674 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14675 +ac_res=`eval echo '${'$as_ac_Header'}'`
14676 + { echo "$as_me:$LINENO: result: $ac_res" >&5
14677 +echo "${ECHO_T}$ac_res" >&6; }
14678
14679 fi
14680 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14681 @@ -14137,9 +14428,9 @@
14682 for ac_func in getpagesize
14683 do
14684 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14685 -echo "$as_me:$LINENO: checking for $ac_func" >&5
14686 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14687 -if eval "test \"\${$as_ac_var+set}\" = set"; then
14688 +{ echo "$as_me:$LINENO: checking for $ac_func" >&5
14689 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
14690 +if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14691 echo $ECHO_N "(cached) $ECHO_C" >&6
14692 else
14693 cat >conftest.$ac_ext <<_ACEOF
14694 @@ -14165,68 +14456,60 @@
14695
14696 #undef $ac_func
14697
14698 -/* Override any gcc2 internal prototype to avoid an error. */
14699 +/* Override any GCC internal prototype to avoid an error.
14700 + Use char because int might match the return type of a GCC
14701 + builtin and then its argument prototype would still apply. */
14702 #ifdef __cplusplus
14703 extern "C"
14704 -{
14705 #endif
14706 -/* We use char because int might match the return type of a gcc2
14707 - builtin and then its argument prototype would still apply. */
14708 char $ac_func ();
14709 /* The GNU C library defines this for functions which it implements
14710 to always fail with ENOSYS. Some functions are actually named
14711 something starting with __ and the normal name is an alias. */
14712 -#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14713 +#if defined __stub_$ac_func || defined __stub___$ac_func
14714 choke me
14715 -#else
14716 -char (*f) () = $ac_func;
14717 -#endif
14718 -#ifdef __cplusplus
14719 -}
14720 #endif
14721
14722 int
14723 main ()
14724 {
14725 -return f != $ac_func;
14726 +return $ac_func ();
14727 ;
14728 return 0;
14729 }
14730 _ACEOF
14731 rm -f conftest.$ac_objext conftest$ac_exeext
14732 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14733 - (eval $ac_link) 2>conftest.er1
14734 +if { (ac_try="$ac_link"
14735 +case "(($ac_try" in
14736 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14737 + *) ac_try_echo=$ac_try;;
14738 +esac
14739 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14740 + (eval "$ac_link") 2>conftest.er1
14741 ac_status=$?
14742 grep -v '^ *+' conftest.er1 >conftest.err
14743 rm -f conftest.er1
14744 cat conftest.err >&5
14745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14746 - (exit $ac_status); } &&
14747 - { ac_try='test -z "$ac_c_werror_flag"
14748 - || test ! -s conftest.err'
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); }; } &&
14754 - { ac_try='test -s conftest$ac_exeext'
14755 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14756 - (eval $ac_try) 2>&5
14757 - ac_status=$?
14758 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14759 - (exit $ac_status); }; }; then
14760 + (exit $ac_status); } && {
14761 + test -z "$ac_c_werror_flag" ||
14762 + test ! -s conftest.err
14763 + } && test -s conftest$ac_exeext &&
14764 + $as_test_x conftest$ac_exeext; then
14765 eval "$as_ac_var=yes"
14766 else
14767 echo "$as_me: failed program was:" >&5
14768 sed 's/^/| /' conftest.$ac_ext >&5
14769
14770 -eval "$as_ac_var=no"
14771 + eval "$as_ac_var=no"
14772 fi
14773 -rm -f conftest.err conftest.$ac_objext \
14774 +
14775 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14776 conftest$ac_exeext conftest.$ac_ext
14777 fi
14778 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14779 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14780 +ac_res=`eval echo '${'$as_ac_var'}'`
14781 + { echo "$as_me:$LINENO: result: $ac_res" >&5
14782 +echo "${ECHO_T}$ac_res" >&6; }
14783 if test `eval echo '${'$as_ac_var'}'` = yes; then
14784 cat >>confdefs.h <<_ACEOF
14785 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14786 @@ -14235,8 +14518,8 @@
14787 fi
14788 done
14789
14790 -echo "$as_me:$LINENO: checking for working mmap" >&5
14791 -echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
14792 +{ echo "$as_me:$LINENO: checking for working mmap" >&5
14793 +echo $ECHO_N "checking for working mmap... $ECHO_C" >&6; }
14794 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
14795 echo $ECHO_N "(cached) $ECHO_C" >&6
14796 else
14797 @@ -14278,21 +14561,21 @@
14798 #include <fcntl.h>
14799 #include <sys/mman.h>
14800
14801 -#if !STDC_HEADERS && !HAVE_STDLIB_H
14802 +#if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
14803 char *malloc ();
14804 #endif
14805
14806 /* This mess was copied from the GNU getpagesize.h. */
14807 -#if !HAVE_GETPAGESIZE
14808 +#ifndef HAVE_GETPAGESIZE
14809 /* Assume that all systems that can run configure have sys/param.h. */
14810 -# if !HAVE_SYS_PARAM_H
14811 +# ifndef HAVE_SYS_PARAM_H
14812 # define HAVE_SYS_PARAM_H 1
14813 # endif
14814
14815 # ifdef _SC_PAGESIZE
14816 # define getpagesize() sysconf(_SC_PAGESIZE)
14817 # else /* no _SC_PAGESIZE */
14818 -# if HAVE_SYS_PARAM_H
14819 +# ifdef HAVE_SYS_PARAM_H
14820 # include <sys/param.h>
14821 # ifdef EXEC_PAGESIZE
14822 # define getpagesize() EXEC_PAGESIZE
14823 @@ -14331,15 +14614,15 @@
14824 /* First, make a file with some known garbage in it. */
14825 data = (char *) malloc (pagesize);
14826 if (!data)
14827 - exit (1);
14828 + return 1;
14829 for (i = 0; i < pagesize; ++i)
14830 *(data + i) = rand ();
14831 umask (0);
14832 fd = creat ("conftest.mmap", 0600);
14833 if (fd < 0)
14834 - exit (1);
14835 + return 1;
14836 if (write (fd, data, pagesize) != pagesize)
14837 - exit (1);
14838 + return 1;
14839 close (fd);
14840
14841 /* Next, try to mmap the file at a fixed address which already has
14842 @@ -14347,17 +14630,17 @@
14843 we see the same garbage. */
14844 fd = open ("conftest.mmap", O_RDWR);
14845 if (fd < 0)
14846 - exit (1);
14847 + return 1;
14848 data2 = (char *) malloc (2 * pagesize);
14849 if (!data2)
14850 - exit (1);
14851 - data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
14852 + return 1;
14853 + data2 += (pagesize - ((long int) data2 & (pagesize - 1))) & (pagesize - 1);
14854 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
14855 MAP_PRIVATE | MAP_FIXED, fd, 0L))
14856 - exit (1);
14857 + return 1;
14858 for (i = 0; i < pagesize; ++i)
14859 if (*(data + i) != *(data2 + i))
14860 - exit (1);
14861 + return 1;
14862
14863 /* Finally, make sure that changes to the mapped area do not
14864 percolate back to the file as seen by read(). (This is a bug on
14865 @@ -14366,24 +14649,33 @@
14866 *(data2 + i) = *(data2 + i) + 1;
14867 data3 = (char *) malloc (pagesize);
14868 if (!data3)
14869 - exit (1);
14870 + return 1;
14871 if (read (fd, data3, pagesize) != pagesize)
14872 - exit (1);
14873 + return 1;
14874 for (i = 0; i < pagesize; ++i)
14875 if (*(data + i) != *(data3 + i))
14876 - exit (1);
14877 + return 1;
14878 close (fd);
14879 - exit (0);
14880 + return 0;
14881 }
14882 _ACEOF
14883 rm -f conftest$ac_exeext
14884 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14885 - (eval $ac_link) 2>&5
14886 +if { (ac_try="$ac_link"
14887 +case "(($ac_try" in
14888 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14889 + *) ac_try_echo=$ac_try;;
14890 +esac
14891 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14892 + (eval "$ac_link") 2>&5
14893 ac_status=$?
14894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14895 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14896 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14897 - (eval $ac_try) 2>&5
14898 + { (case "(($ac_try" in
14899 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14900 + *) ac_try_echo=$ac_try;;
14901 +esac
14902 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14903 + (eval "$ac_try") 2>&5
14904 ac_status=$?
14905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14906 (exit $ac_status); }; }; then
14907 @@ -14396,11 +14688,13 @@
14908 ( exit $ac_status )
14909 ac_cv_func_mmap_fixed_mapped=no
14910 fi
14911 -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14912 +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14913 fi
14914 +
14915 +
14916 fi
14917 -echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
14918 -echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
14919 +{ echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
14920 +echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6; }
14921 if test $ac_cv_func_mmap_fixed_mapped = yes; then
14922
14923 cat >>confdefs.h <<\_ACEOF
14924 @@ -14415,9 +14709,9 @@
14925 for ac_func in madvise mprotect
14926 do
14927 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14928 -echo "$as_me:$LINENO: checking for $ac_func" >&5
14929 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14930 -if eval "test \"\${$as_ac_var+set}\" = set"; then
14931 +{ echo "$as_me:$LINENO: checking for $ac_func" >&5
14932 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
14933 +if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14934 echo $ECHO_N "(cached) $ECHO_C" >&6
14935 else
14936 cat >conftest.$ac_ext <<_ACEOF
14937 @@ -14443,68 +14737,60 @@
14938
14939 #undef $ac_func
14940
14941 -/* Override any gcc2 internal prototype to avoid an error. */
14942 +/* Override any GCC internal prototype to avoid an error.
14943 + Use char because int might match the return type of a GCC
14944 + builtin and then its argument prototype would still apply. */
14945 #ifdef __cplusplus
14946 extern "C"
14947 -{
14948 #endif
14949 -/* We use char because int might match the return type of a gcc2
14950 - builtin and then its argument prototype would still apply. */
14951 char $ac_func ();
14952 /* The GNU C library defines this for functions which it implements
14953 to always fail with ENOSYS. Some functions are actually named
14954 something starting with __ and the normal name is an alias. */
14955 -#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14956 +#if defined __stub_$ac_func || defined __stub___$ac_func
14957 choke me
14958 -#else
14959 -char (*f) () = $ac_func;
14960 -#endif
14961 -#ifdef __cplusplus
14962 -}
14963 #endif
14964
14965 int
14966 main ()
14967 {
14968 -return f != $ac_func;
14969 +return $ac_func ();
14970 ;
14971 return 0;
14972 }
14973 _ACEOF
14974 rm -f conftest.$ac_objext conftest$ac_exeext
14975 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14976 - (eval $ac_link) 2>conftest.er1
14977 +if { (ac_try="$ac_link"
14978 +case "(($ac_try" in
14979 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14980 + *) ac_try_echo=$ac_try;;
14981 +esac
14982 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14983 + (eval "$ac_link") 2>conftest.er1
14984 ac_status=$?
14985 grep -v '^ *+' conftest.er1 >conftest.err
14986 rm -f conftest.er1
14987 cat conftest.err >&5
14988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14989 - (exit $ac_status); } &&
14990 - { ac_try='test -z "$ac_c_werror_flag"
14991 - || test ! -s conftest.err'
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); }; } &&
14997 - { ac_try='test -s conftest$ac_exeext'
14998 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14999 - (eval $ac_try) 2>&5
15000 - ac_status=$?
15001 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
15002 - (exit $ac_status); }; }; then
15003 + (exit $ac_status); } && {
15004 + test -z "$ac_c_werror_flag" ||
15005 + test ! -s conftest.err
15006 + } && test -s conftest$ac_exeext &&
15007 + $as_test_x conftest$ac_exeext; then
15008 eval "$as_ac_var=yes"
15009 else
15010 echo "$as_me: failed program was:" >&5
15011 sed 's/^/| /' conftest.$ac_ext >&5
15012
15013 -eval "$as_ac_var=no"
15014 + eval "$as_ac_var=no"
15015 fi
15016 -rm -f conftest.err conftest.$ac_objext \
15017 +
15018 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15019 conftest$ac_exeext conftest.$ac_ext
15020 fi
15021 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15022 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15023 +ac_res=`eval echo '${'$as_ac_var'}'`
15024 + { echo "$as_me:$LINENO: result: $ac_res" >&5
15025 +echo "${ECHO_T}$ac_res" >&6; }
15026 if test `eval echo '${'$as_ac_var'}'` = yes; then
15027 cat >>confdefs.h <<_ACEOF
15028 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15029 @@ -14522,9 +14808,9 @@
15030 esac
15031
15032 rm -f doc/config.status
15033 - ac_config_files="$ac_config_files Makefile doc/Makefile bfd-in3.h:bfd-in2.h po/Makefile.in:po/Make-in"
15034 +ac_config_files="$ac_config_files Makefile doc/Makefile bfd-in3.h:bfd-in2.h po/Makefile.in:po/Make-in"
15035
15036 - ac_config_commands="$ac_config_commands default"
15037 +ac_config_commands="$ac_config_commands default"
15038
15039
15040
15041 @@ -14549,39 +14835,58 @@
15042
15043 # The following way of writing the cache mishandles newlines in values,
15044 # but we know of no workaround that is simple, portable, and efficient.
15045 -# So, don't put newlines in cache variables' values.
15046 +# So, we kill variables containing newlines.
15047 # Ultrix sh set writes to stderr and can't be redirected directly,
15048 # and sets the high bit in the cache file unless we assign to the vars.
15049 -{
15050 +(
15051 + for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15052 + eval ac_val=\$$ac_var
15053 + case $ac_val in #(
15054 + *${as_nl}*)
15055 + case $ac_var in #(
15056 + *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
15057 +echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
15058 + esac
15059 + case $ac_var in #(
15060 + _ | IFS | as_nl) ;; #(
15061 + *) $as_unset $ac_var ;;
15062 + esac ;;
15063 + esac
15064 + done
15065 +
15066 (set) 2>&1 |
15067 - case `(ac_space=' '; set | grep ac_space) 2>&1` in
15068 - *ac_space=\ *)
15069 + case $as_nl`(ac_space=' '; set) 2>&1` in #(
15070 + *${as_nl}ac_space=\ *)
15071 # `set' does not quote correctly, so add quotes (double-quote
15072 # substitution turns \\\\ into \\, and sed turns \\ into \).
15073 sed -n \
15074 "s/'/'\\\\''/g;
15075 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15076 - ;;
15077 + ;; #(
15078 *)
15079 # `set' quotes correctly as required by POSIX, so do not add quotes.
15080 - sed -n \
15081 - "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
15082 + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15083 ;;
15084 - esac;
15085 -} |
15086 + esac |
15087 + sort
15088 +) |
15089 sed '
15090 + /^ac_cv_env_/b end
15091 t clear
15092 - : clear
15093 + :clear
15094 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15095 t end
15096 - /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15097 - : end' >>confcache
15098 -if diff $cache_file confcache >/dev/null 2>&1; then :; else
15099 - if test -w $cache_file; then
15100 - test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
15101 + s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15102 + :end' >>confcache
15103 +if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15104 + if test -w "$cache_file"; then
15105 + test "x$cache_file" != "x/dev/null" &&
15106 + { echo "$as_me:$LINENO: updating cache $cache_file" >&5
15107 +echo "$as_me: updating cache $cache_file" >&6;}
15108 cat confcache >$cache_file
15109 else
15110 - echo "not updating unwritable cache $cache_file"
15111 + { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
15112 +echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15113 fi
15114 fi
15115 rm -f confcache
15116 @@ -14590,32 +14895,18 @@
15117 # Let make expand exec_prefix.
15118 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
15119
15120 -# VPATH may cause trouble with some makes, so we remove $(srcdir),
15121 -# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
15122 -# trailing colons and then remove the whole line if VPATH becomes empty
15123 -# (actually we leave an empty line to preserve line numbers).
15124 -if test "x$srcdir" = x.; then
15125 - ac_vpsub='/^[ ]*VPATH[ ]*=/{
15126 -s/:*\$(srcdir):*/:/;
15127 -s/:*\${srcdir}:*/:/;
15128 -s/:*@srcdir@:*/:/;
15129 -s/^\([^=]*=[ ]*\):*/\1/;
15130 -s/:*$//;
15131 -s/^[^=]*=[ ]*$//;
15132 -}'
15133 -fi
15134 -
15135 DEFS=-DHAVE_CONFIG_H
15136
15137 ac_libobjs=
15138 ac_ltlibobjs=
15139 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
15140 # 1. Remove the extension, and $U if already installed.
15141 - ac_i=`echo "$ac_i" |
15142 - sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
15143 - # 2. Add them.
15144 - ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
15145 - ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
15146 + ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
15147 + ac_i=`echo "$ac_i" | sed "$ac_script"`
15148 + # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15149 + # will be set to the directory where LIBOBJS objects are built.
15150 + ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15151 + ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
15152 done
15153 LIBOBJS=$ac_libobjs
15154
15155 @@ -14674,17 +14965,45 @@
15156 ## M4sh Initialization. ##
15157 ## --------------------- ##
15158
15159 -# Be Bourne compatible
15160 +# Be more Bourne compatible
15161 +DUALCASE=1; export DUALCASE # for MKS sh
15162 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
15163 emulate sh
15164 NULLCMD=:
15165 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
15166 # is contrary to our usage. Disable this feature.
15167 alias -g '${1+"$@"}'='"$@"'
15168 -elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
15169 - set -o posix
15170 + setopt NO_GLOB_SUBST
15171 +else
15172 + case `(set -o) 2>/dev/null` in
15173 + *posix*) set -o posix ;;
15174 +esac
15175 +
15176 +fi
15177 +
15178 +
15179 +
15180 +
15181 +# PATH needs CR
15182 +# Avoid depending upon Character Ranges.
15183 +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
15184 +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15185 +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
15186 +as_cr_digits='0123456789'
15187 +as_cr_alnum=$as_cr_Letters$as_cr_digits
15188 +
15189 +# The user is always right.
15190 +if test "${PATH_SEPARATOR+set}" != set; then
15191 + echo "#! /bin/sh" >conf$$.sh
15192 + echo "exit 0" >>conf$$.sh
15193 + chmod +x conf$$.sh
15194 + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
15195 + PATH_SEPARATOR=';'
15196 + else
15197 + PATH_SEPARATOR=:
15198 + fi
15199 + rm -f conf$$.sh
15200 fi
15201 -DUALCASE=1; export DUALCASE # for MKS sh
15202
15203 # Support unset when possible.
15204 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
15205 @@ -14694,8 +15013,43 @@
15206 fi
15207
15208
15209 +# IFS
15210 +# We need space, tab and new line, in precisely that order. Quoting is
15211 +# there to prevent editors from complaining about space-tab.
15212 +# (If _AS_PATH_WALK were called with IFS unset, it would disable word
15213 +# splitting by setting IFS to empty value.)
15214 +as_nl='
15215 +'
15216 +IFS=" "" $as_nl"
15217 +
15218 +# Find who we are. Look in the path if we contain no directory separator.
15219 +case $0 in
15220 + *[\\/]* ) as_myself=$0 ;;
15221 + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15222 +for as_dir in $PATH
15223 +do
15224 + IFS=$as_save_IFS
15225 + test -z "$as_dir" && as_dir=.
15226 + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15227 +done
15228 +IFS=$as_save_IFS
15229 +
15230 + ;;
15231 +esac
15232 +# We did not find ourselves, most probably we were run as `sh COMMAND'
15233 +# in which case we are not to be found in the path.
15234 +if test "x$as_myself" = x; then
15235 + as_myself=$0
15236 +fi
15237 +if test ! -f "$as_myself"; then
15238 + echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15239 + { (exit 1); exit 1; }
15240 +fi
15241 +
15242 # Work around bugs in pre-3.0 UWIN ksh.
15243 -$as_unset ENV MAIL MAILPATH
15244 +for as_var in ENV MAIL MAILPATH
15245 +do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
15246 +done
15247 PS1='$ '
15248 PS2='> '
15249 PS4='+ '
15250 @@ -14709,18 +15063,19 @@
15251 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
15252 eval $as_var=C; export $as_var
15253 else
15254 - $as_unset $as_var
15255 + ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
15256 fi
15257 done
15258
15259 # Required to use basename.
15260 -if expr a : '\(a\)' >/dev/null 2>&1; then
15261 +if expr a : '\(a\)' >/dev/null 2>&1 &&
15262 + test "X`expr 00001 : '.*\(...\)'`" = X001; then
15263 as_expr=expr
15264 else
15265 as_expr=false
15266 fi
15267
15268 -if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
15269 +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15270 as_basename=basename
15271 else
15272 as_basename=false
15273 @@ -14728,159 +15083,120 @@
15274
15275
15276 # Name of the executable.
15277 -as_me=`$as_basename "$0" ||
15278 +as_me=`$as_basename -- "$0" ||
15279 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15280 X"$0" : 'X\(//\)$' \| \
15281 - X"$0" : 'X\(/\)$' \| \
15282 - . : '\(.\)' 2>/dev/null ||
15283 + X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15284 echo X/"$0" |
15285 - sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
15286 - /^X\/\(\/\/\)$/{ s//\1/; q; }
15287 - /^X\/\(\/\).*/{ s//\1/; q; }
15288 - s/.*/./; q'`
15289 + sed '/^.*\/\([^/][^/]*\)\/*$/{
15290 + s//\1/
15291 + q
15292 + }
15293 + /^X\/\(\/\/\)$/{
15294 + s//\1/
15295 + q
15296 + }
15297 + /^X\/\(\/\).*/{
15298 + s//\1/
15299 + q
15300 + }
15301 + s/.*/./; q'`
15302
15303 -
15304 -# PATH needs CR, and LINENO needs CR and PATH.
15305 -# Avoid depending upon Character Ranges.
15306 -as_cr_letters='abcdefghijklmnopqrstuvwxyz'
15307 -as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15308 -as_cr_Letters=$as_cr_letters$as_cr_LETTERS
15309 -as_cr_digits='0123456789'
15310 -as_cr_alnum=$as_cr_Letters$as_cr_digits
15311 -
15312 -# The user is always right.
15313 -if test "${PATH_SEPARATOR+set}" != set; then
15314 - echo "#! /bin/sh" >conf$$.sh
15315 - echo "exit 0" >>conf$$.sh
15316 - chmod +x conf$$.sh
15317 - if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
15318 - PATH_SEPARATOR=';'
15319 - else
15320 - PATH_SEPARATOR=:
15321 - fi
15322 - rm -f conf$$.sh
15323 -fi
15324 +# CDPATH.
15325 +$as_unset CDPATH
15326
15327
15328 - as_lineno_1=$LINENO
15329 - as_lineno_2=$LINENO
15330 - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
15331 - test "x$as_lineno_1" != "x$as_lineno_2" &&
15332 - test "x$as_lineno_3" = "x$as_lineno_2" || {
15333 - # Find who we are. Look in the path if we contain no path at all
15334 - # relative or not.
15335 - case $0 in
15336 - *[\\/]* ) as_myself=$0 ;;
15337 - *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15338 -for as_dir in $PATH
15339 -do
15340 - IFS=$as_save_IFS
15341 - test -z "$as_dir" && as_dir=.
15342 - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15343 -done
15344
15345 - ;;
15346 - esac
15347 - # We did not find ourselves, most probably we were run as `sh COMMAND'
15348 - # in which case we are not to be found in the path.
15349 - if test "x$as_myself" = x; then
15350 - as_myself=$0
15351 - fi
15352 - if test ! -f "$as_myself"; then
15353 - { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
15354 -echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
15355 - { (exit 1); exit 1; }; }
15356 - fi
15357 - case $CONFIG_SHELL in
15358 - '')
15359 - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15360 -for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
15361 -do
15362 - IFS=$as_save_IFS
15363 - test -z "$as_dir" && as_dir=.
15364 - for as_base in sh bash ksh sh5; do
15365 - case $as_dir in
15366 - /*)
15367 - if ("$as_dir/$as_base" -c '
15368 as_lineno_1=$LINENO
15369 as_lineno_2=$LINENO
15370 - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
15371 test "x$as_lineno_1" != "x$as_lineno_2" &&
15372 - test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
15373 - $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
15374 - $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
15375 - CONFIG_SHELL=$as_dir/$as_base
15376 - export CONFIG_SHELL
15377 - exec "$CONFIG_SHELL" "$0" ${1+"$@"}
15378 - fi;;
15379 - esac
15380 - done
15381 -done
15382 -;;
15383 - esac
15384 + test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
15385
15386 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
15387 # uniformly replaced by the line number. The first 'sed' inserts a
15388 - # line-number line before each line; the second 'sed' does the real
15389 - # work. The second script uses 'N' to pair each line-number line
15390 - # with the numbered line, and appends trailing '-' during
15391 - # substitution so that $LINENO is not a special case at line end.
15392 + # line-number line after each line using $LINENO; the second 'sed'
15393 + # does the real work. The second script uses 'N' to pair each
15394 + # line-number line with the line containing $LINENO, and appends
15395 + # trailing '-' during substitution so that $LINENO is not a special
15396 + # case at line end.
15397 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
15398 - # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
15399 - sed '=' <$as_myself |
15400 + # scripts with optimization help from Paolo Bonzini. Blame Lee
15401 + # E. McMahon (1931-1989) for sed's syntax. :-)
15402 + sed -n '
15403 + p
15404 + /[$]LINENO/=
15405 + ' <$as_myself |
15406 sed '
15407 + s/[$]LINENO.*/&-/
15408 + t lineno
15409 + b
15410 + :lineno
15411 N
15412 - s,$,-,
15413 - : loop
15414 - s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
15415 + :loop
15416 + s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
15417 t loop
15418 - s,-$,,
15419 - s,^['$as_cr_digits']*\n,,
15420 + s/-\n.*//
15421 ' >$as_me.lineno &&
15422 - chmod +x $as_me.lineno ||
15423 - { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
15424 -echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
15425 + chmod +x "$as_me.lineno" ||
15426 + { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
15427 { (exit 1); exit 1; }; }
15428
15429 # Don't try to exec as it changes $[0], causing all sort of problems
15430 # (the dirname of $[0] is not the place where we might find the
15431 - # original and so on. Autoconf is especially sensible to this).
15432 - . ./$as_me.lineno
15433 + # original and so on. Autoconf is especially sensitive to this).
15434 + . "./$as_me.lineno"
15435 # Exit status is that of the last command.
15436 exit
15437 }
15438
15439
15440 -case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
15441 - *c*,-n*) ECHO_N= ECHO_C='
15442 -' ECHO_T=' ' ;;
15443 - *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
15444 - *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
15445 +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
15446 + as_dirname=dirname
15447 +else
15448 + as_dirname=false
15449 +fi
15450 +
15451 +ECHO_C= ECHO_N= ECHO_T=
15452 +case `echo -n x` in
15453 +-n*)
15454 + case `echo 'x\c'` in
15455 + *c*) ECHO_T=' ';; # ECHO_T is single tab character.
15456 + *) ECHO_C='\c';;
15457 + esac;;
15458 +*)
15459 + ECHO_N='-n';;
15460 esac
15461
15462 -if expr a : '\(a\)' >/dev/null 2>&1; then
15463 +if expr a : '\(a\)' >/dev/null 2>&1 &&
15464 + test "X`expr 00001 : '.*\(...\)'`" = X001; then
15465 as_expr=expr
15466 else
15467 as_expr=false
15468 fi
15469
15470 rm -f conf$$ conf$$.exe conf$$.file
15471 +if test -d conf$$.dir; then
15472 + rm -f conf$$.dir/conf$$.file
15473 +else
15474 + rm -f conf$$.dir
15475 + mkdir conf$$.dir
15476 +fi
15477 echo >conf$$.file
15478 if ln -s conf$$.file conf$$ 2>/dev/null; then
15479 - # We could just check for DJGPP; but this test a) works b) is more generic
15480 - # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
15481 - if test -f conf$$.exe; then
15482 - # Don't use ln at all; we don't have any links
15483 + as_ln_s='ln -s'
15484 + # ... but there are two gotchas:
15485 + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15486 + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15487 + # In both cases, we have to default to `cp -p'.
15488 + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
15489 as_ln_s='cp -p'
15490 - else
15491 - as_ln_s='ln -s'
15492 - fi
15493 elif ln conf$$.file conf$$ 2>/dev/null; then
15494 as_ln_s=ln
15495 else
15496 as_ln_s='cp -p'
15497 fi
15498 -rm -f conf$$ conf$$.exe conf$$.file
15499 +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
15500 +rmdir conf$$.dir 2>/dev/null
15501
15502 if mkdir -p . 2>/dev/null; then
15503 as_mkdir_p=:
15504 @@ -14889,7 +15205,28 @@
15505 as_mkdir_p=false
15506 fi
15507
15508 -as_executable_p="test -f"
15509 +if test -x / >/dev/null 2>&1; then
15510 + as_test_x='test -x'
15511 +else
15512 + if ls -dL / >/dev/null 2>&1; then
15513 + as_ls_L_option=L
15514 + else
15515 + as_ls_L_option=
15516 + fi
15517 + as_test_x='
15518 + eval sh -c '\''
15519 + if test -d "$1"; then
15520 + test -d "$1/.";
15521 + else
15522 + case $1 in
15523 + -*)set "./$1";;
15524 + esac;
15525 + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
15526 + ???[sx]*):;;*)false;;esac;fi
15527 + '\'' sh
15528 + '
15529 +fi
15530 +as_executable_p=$as_test_x
15531
15532 # Sed expression to map a string onto a valid CPP name.
15533 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15534 @@ -14898,31 +15235,14 @@
15535 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15536
15537
15538 -# IFS
15539 -# We need space, tab and new line, in precisely that order.
15540 -as_nl='
15541 -'
15542 -IFS=" $as_nl"
15543 -
15544 -# CDPATH.
15545 -$as_unset CDPATH
15546 -
15547 exec 6>&1
15548
15549 -# Open the log real soon, to keep \$[0] and so on meaningful, and to
15550 +# Save the log message, to keep $[0] and so on meaningful, and to
15551 # report actual input values of CONFIG_FILES etc. instead of their
15552 -# values after options handling. Logging --version etc. is OK.
15553 -exec 5>>config.log
15554 -{
15555 - echo
15556 - sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15557 -## Running $as_me. ##
15558 -_ASBOX
15559 -} >&5
15560 -cat >&5 <<_CSEOF
15561 -
15562 +# values after options handling.
15563 +ac_log="
15564 This file was extended by $as_me, which was
15565 -generated by GNU Autoconf 2.59. Invocation command line was
15566 +generated by GNU Autoconf 2.61. Invocation command line was
15567
15568 CONFIG_FILES = $CONFIG_FILES
15569 CONFIG_HEADERS = $CONFIG_HEADERS
15570 @@ -14930,30 +15250,20 @@
15571 CONFIG_COMMANDS = $CONFIG_COMMANDS
15572 $ $0 $@
15573
15574 -_CSEOF
15575 -echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
15576 -echo >&5
15577 +on `(hostname || uname -n) 2>/dev/null | sed 1q`
15578 +"
15579 +
15580 _ACEOF
15581
15582 +cat >>$CONFIG_STATUS <<_ACEOF
15583 # Files that config.status was made for.
15584 -if test -n "$ac_config_files"; then
15585 - echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
15586 -fi
15587 +config_files="$ac_config_files"
15588 +config_headers="$ac_config_headers"
15589 +config_commands="$ac_config_commands"
15590
15591 -if test -n "$ac_config_headers"; then
15592 - echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
15593 -fi
15594 -
15595 -if test -n "$ac_config_links"; then
15596 - echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
15597 -fi
15598 -
15599 -if test -n "$ac_config_commands"; then
15600 - echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
15601 -fi
15602 +_ACEOF
15603
15604 cat >>$CONFIG_STATUS <<\_ACEOF
15605 -
15606 ac_cs_usage="\
15607 \`$as_me' instantiates files from templates according to the
15608 current configuration.
15609 @@ -14961,7 +15271,7 @@
15610 Usage: $0 [OPTIONS] [FILE]...
15611
15612 -h, --help print this help, then exit
15613 - -V, --version print version number, then exit
15614 + -V, --version print version number and configuration settings, then exit
15615 -q, --quiet do not print progress messages
15616 -d, --debug don't remove temporary files
15617 --recheck update $as_me by reconfiguring in the same conditions
15618 @@ -14980,19 +15290,21 @@
15619 $config_commands
15620
15621 Report bugs to <bug-autoconf@gnu.org>."
15622 -_ACEOF
15623
15624 +_ACEOF
15625 cat >>$CONFIG_STATUS <<_ACEOF
15626 ac_cs_version="\\
15627 config.status
15628 -configured by $0, generated by GNU Autoconf 2.59,
15629 - with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
15630 +configured by $0, generated by GNU Autoconf 2.61,
15631 + with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
15632
15633 -Copyright (C) 2003 Free Software Foundation, Inc.
15634 +Copyright (C) 2006 Free Software Foundation, Inc.
15635 This config.status script is free software; the Free Software Foundation
15636 gives unlimited permission to copy, distribute and modify it."
15637 -srcdir=$srcdir
15638 -INSTALL="$INSTALL"
15639 +
15640 +ac_pwd='$ac_pwd'
15641 +srcdir='$srcdir'
15642 +INSTALL='$INSTALL'
15643 _ACEOF
15644
15645 cat >>$CONFIG_STATUS <<\_ACEOF
15646 @@ -15003,39 +15315,24 @@
15647 do
15648 case $1 in
15649 --*=*)
15650 - ac_option=`expr "x$1" : 'x\([^=]*\)='`
15651 - ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
15652 + ac_option=`expr "X$1" : 'X\([^=]*\)='`
15653 + ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
15654 ac_shift=:
15655 ;;
15656 - -*)
15657 + *)
15658 ac_option=$1
15659 ac_optarg=$2
15660 ac_shift=shift
15661 ;;
15662 - *) # This is not an option, so the user has probably given explicit
15663 - # arguments.
15664 - ac_option=$1
15665 - ac_need_defaults=false;;
15666 esac
15667
15668 case $ac_option in
15669 # Handling of the options.
15670 -_ACEOF
15671 -cat >>$CONFIG_STATUS <<\_ACEOF
15672 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
15673 ac_cs_recheck=: ;;
15674 - --version | --vers* | -V )
15675 - echo "$ac_cs_version"; exit 0 ;;
15676 - --he | --h)
15677 - # Conflict between --help and --header
15678 - { { echo "$as_me:$LINENO: error: ambiguous option: $1
15679 -Try \`$0 --help' for more information." >&5
15680 -echo "$as_me: error: ambiguous option: $1
15681 -Try \`$0 --help' for more information." >&2;}
15682 - { (exit 1); exit 1; }; };;
15683 - --help | --hel | -h )
15684 - echo "$ac_cs_usage"; exit 0 ;;
15685 - --debug | --d* | -d )
15686 + --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
15687 + echo "$ac_cs_version"; exit ;;
15688 + --debug | --debu | --deb | --de | --d | -d )
15689 debug=: ;;
15690 --file | --fil | --fi | --f )
15691 $ac_shift
15692 @@ -15045,18 +15342,24 @@
15693 $ac_shift
15694 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
15695 ac_need_defaults=false;;
15696 + --he | --h)
15697 + # Conflict between --help and --header
15698 + { echo "$as_me: error: ambiguous option: $1
15699 +Try \`$0 --help' for more information." >&2
15700 + { (exit 1); exit 1; }; };;
15701 + --help | --hel | -h )
15702 + echo "$ac_cs_usage"; exit ;;
15703 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
15704 | -silent | --silent | --silen | --sile | --sil | --si | --s)
15705 ac_cs_silent=: ;;
15706
15707 # This is an error.
15708 - -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
15709 -Try \`$0 --help' for more information." >&5
15710 -echo "$as_me: error: unrecognized option: $1
15711 -Try \`$0 --help' for more information." >&2;}
15712 + -*) { echo "$as_me: error: unrecognized option: $1
15713 +Try \`$0 --help' for more information." >&2
15714 { (exit 1); exit 1; }; } ;;
15715
15716 - *) ac_config_targets="$ac_config_targets $1" ;;
15717 + *) ac_config_targets="$ac_config_targets $1"
15718 + ac_need_defaults=false ;;
15719
15720 esac
15721 shift
15722 @@ -15072,42 +15375,54 @@
15723 _ACEOF
15724 cat >>$CONFIG_STATUS <<_ACEOF
15725 if \$ac_cs_recheck; then
15726 - echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
15727 - exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15728 + echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
15729 + CONFIG_SHELL=$SHELL
15730 + export CONFIG_SHELL
15731 + exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15732 fi
15733
15734 _ACEOF
15735 +cat >>$CONFIG_STATUS <<\_ACEOF
15736 +exec 5>>config.log
15737 +{
15738 + echo
15739 + sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15740 +## Running $as_me. ##
15741 +_ASBOX
15742 + echo "$ac_log"
15743 +} >&5
15744
15745 +_ACEOF
15746 cat >>$CONFIG_STATUS <<_ACEOF
15747 #
15748 -# INIT-COMMANDS section.
15749 +# INIT-COMMANDS
15750 #
15751 -
15752 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
15753
15754
15755 _ACEOF
15756
15757 -
15758 -
15759 cat >>$CONFIG_STATUS <<\_ACEOF
15760 +
15761 +# Handling of arguments.
15762 for ac_config_target in $ac_config_targets
15763 do
15764 - case "$ac_config_target" in
15765 - # Handling of arguments.
15766 - "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
15767 - "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
15768 - "bfd-in3.h" ) CONFIG_FILES="$CONFIG_FILES bfd-in3.h:bfd-in2.h" ;;
15769 - "po/Makefile.in" ) CONFIG_FILES="$CONFIG_FILES po/Makefile.in:po/Make-in" ;;
15770 - "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
15771 - "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
15772 - "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.in" ;;
15773 + case $ac_config_target in
15774 + "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
15775 + "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.in" ;;
15776 + "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
15777 + "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
15778 + "bfd-in3.h") CONFIG_FILES="$CONFIG_FILES bfd-in3.h:bfd-in2.h" ;;
15779 + "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in:po/Make-in" ;;
15780 + "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
15781 +
15782 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
15783 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
15784 { (exit 1); exit 1; }; };;
15785 esac
15786 done
15787
15788 +
15789 # If the user did not use the arguments to specify the items to instantiate,
15790 # then the envvar interface is used. Set only those that are not.
15791 # We use the long form for the default assignment because of an extremely
15792 @@ -15119,401 +15434,504 @@
15793 fi
15794
15795 # Have a temporary directory for convenience. Make it in the build tree
15796 -# simply because there is no reason to put it here, and in addition,
15797 +# simply because there is no reason against having it here, and in addition,
15798 # creating and moving files from /tmp can sometimes cause problems.
15799 -# Create a temporary directory, and hook for its removal unless debugging.
15800 +# Hook for its removal unless debugging.
15801 +# Note that there is a small window in which the directory will not be cleaned:
15802 +# after its creation but before its name has been assigned to `$tmp'.
15803 $debug ||
15804 {
15805 - trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
15806 + tmp=
15807 + trap 'exit_status=$?
15808 + { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
15809 +' 0
15810 trap '{ (exit 1); exit 1; }' 1 2 13 15
15811 }
15812 -
15813 # Create a (secure) tmp directory for tmp files.
15814
15815 {
15816 - tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
15817 + tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15818 test -n "$tmp" && test -d "$tmp"
15819 } ||
15820 {
15821 - tmp=./confstat$$-$RANDOM
15822 - (umask 077 && mkdir $tmp)
15823 + tmp=./conf$$-$RANDOM
15824 + (umask 077 && mkdir "$tmp")
15825 } ||
15826 {
15827 echo "$me: cannot create a temporary directory in ." >&2
15828 { (exit 1); exit 1; }
15829 }
15830
15831 -_ACEOF
15832 -
15833 -cat >>$CONFIG_STATUS <<_ACEOF
15834 -
15835 #
15836 -# CONFIG_FILES section.
15837 +# Set up the sed scripts for CONFIG_FILES section.
15838 #
15839
15840 # No need to generate the scripts if there are no CONFIG_FILES.
15841 # This happens for instance when ./config.status config.h
15842 -if test -n "\$CONFIG_FILES"; then
15843 - # Protect against being on the right side of a sed subst in config.status.
15844 - sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
15845 - s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
15846 -s,@SHELL@,$SHELL,;t t
15847 -s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
15848 -s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
15849 -s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
15850 -s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
15851 -s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
15852 -s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
15853 -s,@exec_prefix@,$exec_prefix,;t t
15854 -s,@prefix@,$prefix,;t t
15855 -s,@program_transform_name@,$program_transform_name,;t t
15856 -s,@bindir@,$bindir,;t t
15857 -s,@sbindir@,$sbindir,;t t
15858 -s,@libexecdir@,$libexecdir,;t t
15859 -s,@datadir@,$datadir,;t t
15860 -s,@sysconfdir@,$sysconfdir,;t t
15861 -s,@sharedstatedir@,$sharedstatedir,;t t
15862 -s,@localstatedir@,$localstatedir,;t t
15863 -s,@libdir@,$libdir,;t t
15864 -s,@includedir@,$includedir,;t t
15865 -s,@oldincludedir@,$oldincludedir,;t t
15866 -s,@infodir@,$infodir,;t t
15867 -s,@mandir@,$mandir,;t t
15868 -s,@build_alias@,$build_alias,;t t
15869 -s,@host_alias@,$host_alias,;t t
15870 -s,@target_alias@,$target_alias,;t t
15871 -s,@DEFS@,$DEFS,;t t
15872 -s,@ECHO_C@,$ECHO_C,;t t
15873 -s,@ECHO_N@,$ECHO_N,;t t
15874 -s,@ECHO_T@,$ECHO_T,;t t
15875 -s,@LIBS@,$LIBS,;t t
15876 -s,@build@,$build,;t t
15877 -s,@build_cpu@,$build_cpu,;t t
15878 -s,@build_vendor@,$build_vendor,;t t
15879 -s,@build_os@,$build_os,;t t
15880 -s,@host@,$host,;t t
15881 -s,@host_cpu@,$host_cpu,;t t
15882 -s,@host_vendor@,$host_vendor,;t t
15883 -s,@host_os@,$host_os,;t t
15884 -s,@target@,$target,;t t
15885 -s,@target_cpu@,$target_cpu,;t t
15886 -s,@target_vendor@,$target_vendor,;t t
15887 -s,@target_os@,$target_os,;t t
15888 -s,@CC@,$CC,;t t
15889 -s,@CFLAGS@,$CFLAGS,;t t
15890 -s,@LDFLAGS@,$LDFLAGS,;t t
15891 -s,@CPPFLAGS@,$CPPFLAGS,;t t
15892 -s,@ac_ct_CC@,$ac_ct_CC,;t t
15893 -s,@EXEEXT@,$EXEEXT,;t t
15894 -s,@OBJEXT@,$OBJEXT,;t t
15895 -s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
15896 -s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
15897 -s,@INSTALL_DATA@,$INSTALL_DATA,;t t
15898 -s,@CYGPATH_W@,$CYGPATH_W,;t t
15899 -s,@PACKAGE@,$PACKAGE,;t t
15900 -s,@VERSION@,$VERSION,;t t
15901 -s,@ACLOCAL@,$ACLOCAL,;t t
15902 -s,@AUTOCONF@,$AUTOCONF,;t t
15903 -s,@AUTOMAKE@,$AUTOMAKE,;t t
15904 -s,@AUTOHEADER@,$AUTOHEADER,;t t
15905 -s,@MAKEINFO@,$MAKEINFO,;t t
15906 -s,@install_sh@,$install_sh,;t t
15907 -s,@STRIP@,$STRIP,;t t
15908 -s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
15909 -s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
15910 -s,@mkdir_p@,$mkdir_p,;t t
15911 -s,@AWK@,$AWK,;t t
15912 -s,@SET_MAKE@,$SET_MAKE,;t t
15913 -s,@am__leading_dot@,$am__leading_dot,;t t
15914 -s,@AMTAR@,$AMTAR,;t t
15915 -s,@am__tar@,$am__tar,;t t
15916 -s,@am__untar@,$am__untar,;t t
15917 -s,@DEPDIR@,$DEPDIR,;t t
15918 -s,@am__include@,$am__include,;t t
15919 -s,@am__quote@,$am__quote,;t t
15920 -s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
15921 -s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
15922 -s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
15923 -s,@CCDEPMODE@,$CCDEPMODE,;t t
15924 -s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
15925 -s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
15926 -s,@AR@,$AR,;t t
15927 -s,@ac_ct_AR@,$ac_ct_AR,;t t
15928 -s,@RANLIB@,$RANLIB,;t t
15929 -s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
15930 -s,@LN_S@,$LN_S,;t t
15931 -s,@LIBTOOL@,$LIBTOOL,;t t
15932 -s,@WARN_CFLAGS@,$WARN_CFLAGS,;t t
15933 -s,@NO_WERROR@,$NO_WERROR,;t t
15934 -s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
15935 -s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
15936 -s,@MAINT@,$MAINT,;t t
15937 -s,@INSTALL_LIBBFD_TRUE@,$INSTALL_LIBBFD_TRUE,;t t
15938 -s,@INSTALL_LIBBFD_FALSE@,$INSTALL_LIBBFD_FALSE,;t t
15939 -s,@host_noncanonical@,$host_noncanonical,;t t
15940 -s,@target_noncanonical@,$target_noncanonical,;t t
15941 -s,@bfdlibdir@,$bfdlibdir,;t t
15942 -s,@bfdincludedir@,$bfdincludedir,;t t
15943 -s,@CPP@,$CPP,;t t
15944 -s,@EGREP@,$EGREP,;t t
15945 -s,@ALLOCA@,$ALLOCA,;t t
15946 -s,@USE_NLS@,$USE_NLS,;t t
15947 -s,@MSGFMT@,$MSGFMT,;t t
15948 -s,@GMSGFMT@,$GMSGFMT,;t t
15949 -s,@XGETTEXT@,$XGETTEXT,;t t
15950 -s,@USE_INCLUDED_LIBINTL@,$USE_INCLUDED_LIBINTL,;t t
15951 -s,@CATALOGS@,$CATALOGS,;t t
15952 -s,@CATOBJEXT@,$CATOBJEXT,;t t
15953 -s,@DATADIRNAME@,$DATADIRNAME,;t t
15954 -s,@GMOFILES@,$GMOFILES,;t t
15955 -s,@INSTOBJEXT@,$INSTOBJEXT,;t t
15956 -s,@INTLDEPS@,$INTLDEPS,;t t
15957 -s,@INTLLIBS@,$INTLLIBS,;t t
15958 -s,@INTLOBJS@,$INTLOBJS,;t t
15959 -s,@POFILES@,$POFILES,;t t
15960 -s,@POSUB@,$POSUB,;t t
15961 -s,@INCLUDE_LOCALE_H@,$INCLUDE_LOCALE_H,;t t
15962 -s,@GT_NO@,$GT_NO,;t t
15963 -s,@GT_YES@,$GT_YES,;t t
15964 -s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
15965 -s,@l@,$l,;t t
15966 -s,@HDEFINES@,$HDEFINES,;t t
15967 -s,@BFD_HOST_64BIT_LONG@,$BFD_HOST_64BIT_LONG,;t t
15968 -s,@BFD_HOST_LONG_LONG@,$BFD_HOST_LONG_LONG,;t t
15969 -s,@BFD_HOST_64_BIT_DEFINED@,$BFD_HOST_64_BIT_DEFINED,;t t
15970 -s,@BFD_HOST_64_BIT@,$BFD_HOST_64_BIT,;t t
15971 -s,@BFD_HOST_U_64_BIT@,$BFD_HOST_U_64_BIT,;t t
15972 -s,@CC_FOR_BUILD@,$CC_FOR_BUILD,;t t
15973 -s,@EXEEXT_FOR_BUILD@,$EXEEXT_FOR_BUILD,;t t
15974 -s,@COREFILE@,$COREFILE,;t t
15975 -s,@COREFLAG@,$COREFLAG,;t t
15976 -s,@WIN32LDFLAGS@,$WIN32LDFLAGS,;t t
15977 -s,@WIN32LIBADD@,$WIN32LIBADD,;t t
15978 -s,@TDEFINES@,$TDEFINES,;t t
15979 -s,@wordsize@,$wordsize,;t t
15980 -s,@bfd_libs@,$bfd_libs,;t t
15981 -s,@all_backends@,$all_backends,;t t
15982 -s,@bfd_backends@,$bfd_backends,;t t
15983 -s,@bfd_machines@,$bfd_machines,;t t
15984 -s,@bfd_default_target_size@,$bfd_default_target_size,;t t
15985 -s,@bfd_file_ptr@,$bfd_file_ptr,;t t
15986 -s,@bfd_ufile_ptr@,$bfd_ufile_ptr,;t t
15987 -s,@tdefaults@,$tdefaults,;t t
15988 -s,@datarootdir@,$datarootdir,;t t
15989 -s,@docdir@,$docdir,;t t
15990 -s,@htmldir@,$htmldir,;t t
15991 -s,@LIBOBJS@,$LIBOBJS,;t t
15992 -s,@LTLIBOBJS@,$LTLIBOBJS,;t t
15993 -CEOF
15994 -
15995 -_ACEOF
15996 -
15997 - cat >>$CONFIG_STATUS <<\_ACEOF
15998 - # Split the substitutions into bite-sized pieces for seds with
15999 - # small command number limits, like on Digital OSF/1 and HP-UX.
16000 - ac_max_sed_lines=48
16001 - ac_sed_frag=1 # Number of current file.
16002 - ac_beg=1 # First line for current file.
16003 - ac_end=$ac_max_sed_lines # Line after last line for current file.
16004 - ac_more_lines=:
16005 - ac_sed_cmds=
16006 - while $ac_more_lines; do
16007 - if test $ac_beg -gt 1; then
16008 - sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
16009 - else
16010 - sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
16011 - fi
16012 - if test ! -s $tmp/subs.frag; then
16013 - ac_more_lines=false
16014 - else
16015 - # The purpose of the label and of the branching condition is to
16016 - # speed up the sed processing (if there are no `@' at all, there
16017 - # is no need to browse any of the substitutions).
16018 - # These are the two extra sed commands mentioned above.
16019 - (echo ':t
16020 - /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
16021 - if test -z "$ac_sed_cmds"; then
16022 - ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
16023 - else
16024 - ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
16025 - fi
16026 - ac_sed_frag=`expr $ac_sed_frag + 1`
16027 - ac_beg=$ac_end
16028 - ac_end=`expr $ac_end + $ac_max_sed_lines`
16029 - fi
16030 - done
16031 - if test -z "$ac_sed_cmds"; then
16032 - ac_sed_cmds=cat
16033 +if test -n "$CONFIG_FILES"; then
16034 +
16035 +_ACEOF
16036 +
16037 +
16038 +
16039 +ac_delim='%!_!# '
16040 +for ac_last_try in false false false false false :; do
16041 + cat >conf$$subs.sed <<_ACEOF
16042 +SHELL!$SHELL$ac_delim
16043 +PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
16044 +PACKAGE_NAME!$PACKAGE_NAME$ac_delim
16045 +PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
16046 +PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
16047 +PACKAGE_STRING!$PACKAGE_STRING$ac_delim
16048 +PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
16049 +exec_prefix!$exec_prefix$ac_delim
16050 +prefix!$prefix$ac_delim
16051 +program_transform_name!$program_transform_name$ac_delim
16052 +bindir!$bindir$ac_delim
16053 +sbindir!$sbindir$ac_delim
16054 +libexecdir!$libexecdir$ac_delim
16055 +datarootdir!$datarootdir$ac_delim
16056 +datadir!$datadir$ac_delim
16057 +sysconfdir!$sysconfdir$ac_delim
16058 +sharedstatedir!$sharedstatedir$ac_delim
16059 +localstatedir!$localstatedir$ac_delim
16060 +includedir!$includedir$ac_delim
16061 +oldincludedir!$oldincludedir$ac_delim
16062 +docdir!$docdir$ac_delim
16063 +infodir!$infodir$ac_delim
16064 +htmldir!$htmldir$ac_delim
16065 +dvidir!$dvidir$ac_delim
16066 +pdfdir!$pdfdir$ac_delim
16067 +psdir!$psdir$ac_delim
16068 +libdir!$libdir$ac_delim
16069 +localedir!$localedir$ac_delim
16070 +mandir!$mandir$ac_delim
16071 +DEFS!$DEFS$ac_delim
16072 +ECHO_C!$ECHO_C$ac_delim
16073 +ECHO_N!$ECHO_N$ac_delim
16074 +ECHO_T!$ECHO_T$ac_delim
16075 +LIBS!$LIBS$ac_delim
16076 +build_alias!$build_alias$ac_delim
16077 +host_alias!$host_alias$ac_delim
16078 +target_alias!$target_alias$ac_delim
16079 +build!$build$ac_delim
16080 +build_cpu!$build_cpu$ac_delim
16081 +build_vendor!$build_vendor$ac_delim
16082 +build_os!$build_os$ac_delim
16083 +host!$host$ac_delim
16084 +host_cpu!$host_cpu$ac_delim
16085 +host_vendor!$host_vendor$ac_delim
16086 +host_os!$host_os$ac_delim
16087 +target!$target$ac_delim
16088 +target_cpu!$target_cpu$ac_delim
16089 +target_vendor!$target_vendor$ac_delim
16090 +target_os!$target_os$ac_delim
16091 +CC!$CC$ac_delim
16092 +CFLAGS!$CFLAGS$ac_delim
16093 +LDFLAGS!$LDFLAGS$ac_delim
16094 +CPPFLAGS!$CPPFLAGS$ac_delim
16095 +ac_ct_CC!$ac_ct_CC$ac_delim
16096 +EXEEXT!$EXEEXT$ac_delim
16097 +OBJEXT!$OBJEXT$ac_delim
16098 +INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
16099 +INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
16100 +INSTALL_DATA!$INSTALL_DATA$ac_delim
16101 +CYGPATH_W!$CYGPATH_W$ac_delim
16102 +PACKAGE!$PACKAGE$ac_delim
16103 +VERSION!$VERSION$ac_delim
16104 +ACLOCAL!$ACLOCAL$ac_delim
16105 +AUTOCONF!$AUTOCONF$ac_delim
16106 +AUTOMAKE!$AUTOMAKE$ac_delim
16107 +AUTOHEADER!$AUTOHEADER$ac_delim
16108 +MAKEINFO!$MAKEINFO$ac_delim
16109 +install_sh!$install_sh$ac_delim
16110 +STRIP!$STRIP$ac_delim
16111 +INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
16112 +mkdir_p!$mkdir_p$ac_delim
16113 +AWK!$AWK$ac_delim
16114 +SET_MAKE!$SET_MAKE$ac_delim
16115 +am__leading_dot!$am__leading_dot$ac_delim
16116 +AMTAR!$AMTAR$ac_delim
16117 +am__tar!$am__tar$ac_delim
16118 +am__untar!$am__untar$ac_delim
16119 +DEPDIR!$DEPDIR$ac_delim
16120 +am__include!$am__include$ac_delim
16121 +am__quote!$am__quote$ac_delim
16122 +AMDEP_TRUE!$AMDEP_TRUE$ac_delim
16123 +AMDEP_FALSE!$AMDEP_FALSE$ac_delim
16124 +AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
16125 +CCDEPMODE!$CCDEPMODE$ac_delim
16126 +am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
16127 +am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
16128 +AR!$AR$ac_delim
16129 +RANLIB!$RANLIB$ac_delim
16130 +LN_S!$LN_S$ac_delim
16131 +LIBTOOL!$LIBTOOL$ac_delim
16132 +WARN_CFLAGS!$WARN_CFLAGS$ac_delim
16133 +NO_WERROR!$NO_WERROR$ac_delim
16134 +MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
16135 +MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
16136 +MAINT!$MAINT$ac_delim
16137 +INSTALL_LIBBFD_TRUE!$INSTALL_LIBBFD_TRUE$ac_delim
16138 +INSTALL_LIBBFD_FALSE!$INSTALL_LIBBFD_FALSE$ac_delim
16139 +_ACEOF
16140 +
16141 + if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
16142 + break
16143 + elif $ac_last_try; then
16144 + { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
16145 +echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
16146 + { (exit 1); exit 1; }; }
16147 + else
16148 + ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16149 fi
16150 -fi # test -n "$CONFIG_FILES"
16151 +done
16152 +
16153 +ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
16154 +if test -n "$ac_eof"; then
16155 + ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
16156 + ac_eof=`expr $ac_eof + 1`
16157 +fi
16158
16159 +cat >>$CONFIG_STATUS <<_ACEOF
16160 +cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
16161 +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
16162 +_ACEOF
16163 +sed '
16164 +s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
16165 +s/^/s,@/; s/!/@,|#_!!_#|/
16166 +:n
16167 +t n
16168 +s/'"$ac_delim"'$/,g/; t
16169 +s/$/\\/; p
16170 +N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
16171 +' >>$CONFIG_STATUS <conf$$subs.sed
16172 +rm -f conf$$subs.sed
16173 +cat >>$CONFIG_STATUS <<_ACEOF
16174 +CEOF$ac_eof
16175 +_ACEOF
16176 +
16177 +
16178 +ac_delim='%!_!# '
16179 +for ac_last_try in false false false false false :; do
16180 + cat >conf$$subs.sed <<_ACEOF
16181 +host_noncanonical!$host_noncanonical$ac_delim
16182 +target_noncanonical!$target_noncanonical$ac_delim
16183 +bfdlibdir!$bfdlibdir$ac_delim
16184 +bfdincludedir!$bfdincludedir$ac_delim
16185 +CPP!$CPP$ac_delim
16186 +GREP!$GREP$ac_delim
16187 +EGREP!$EGREP$ac_delim
16188 +ALLOCA!$ALLOCA$ac_delim
16189 +USE_NLS!$USE_NLS$ac_delim
16190 +MSGFMT!$MSGFMT$ac_delim
16191 +GMSGFMT!$GMSGFMT$ac_delim
16192 +XGETTEXT!$XGETTEXT$ac_delim
16193 +USE_INCLUDED_LIBINTL!$USE_INCLUDED_LIBINTL$ac_delim
16194 +CATALOGS!$CATALOGS$ac_delim
16195 +CATOBJEXT!$CATOBJEXT$ac_delim
16196 +DATADIRNAME!$DATADIRNAME$ac_delim
16197 +GMOFILES!$GMOFILES$ac_delim
16198 +INSTOBJEXT!$INSTOBJEXT$ac_delim
16199 +INTLDEPS!$INTLDEPS$ac_delim
16200 +INTLLIBS!$INTLLIBS$ac_delim
16201 +INTLOBJS!$INTLOBJS$ac_delim
16202 +POFILES!$POFILES$ac_delim
16203 +POSUB!$POSUB$ac_delim
16204 +INCLUDE_LOCALE_H!$INCLUDE_LOCALE_H$ac_delim
16205 +GT_NO!$GT_NO$ac_delim
16206 +GT_YES!$GT_YES$ac_delim
16207 +MKINSTALLDIRS!$MKINSTALLDIRS$ac_delim
16208 +l!$l$ac_delim
16209 +HDEFINES!$HDEFINES$ac_delim
16210 +BFD_HOST_64BIT_LONG!$BFD_HOST_64BIT_LONG$ac_delim
16211 +BFD_HOST_LONG_LONG!$BFD_HOST_LONG_LONG$ac_delim
16212 +BFD_HOST_64_BIT_DEFINED!$BFD_HOST_64_BIT_DEFINED$ac_delim
16213 +BFD_HOST_64_BIT!$BFD_HOST_64_BIT$ac_delim
16214 +BFD_HOST_U_64_BIT!$BFD_HOST_U_64_BIT$ac_delim
16215 +CC_FOR_BUILD!$CC_FOR_BUILD$ac_delim
16216 +EXEEXT_FOR_BUILD!$EXEEXT_FOR_BUILD$ac_delim
16217 +COREFILE!$COREFILE$ac_delim
16218 +COREFLAG!$COREFLAG$ac_delim
16219 +WIN32LDFLAGS!$WIN32LDFLAGS$ac_delim
16220 +WIN32LIBADD!$WIN32LIBADD$ac_delim
16221 +TDEFINES!$TDEFINES$ac_delim
16222 +wordsize!$wordsize$ac_delim
16223 +bfd_libs!$bfd_libs$ac_delim
16224 +all_backends!$all_backends$ac_delim
16225 +bfd_backends!$bfd_backends$ac_delim
16226 +bfd_machines!$bfd_machines$ac_delim
16227 +bfd_default_target_size!$bfd_default_target_size$ac_delim
16228 +bfd_file_ptr!$bfd_file_ptr$ac_delim
16229 +bfd_ufile_ptr!$bfd_ufile_ptr$ac_delim
16230 +tdefaults!$tdefaults$ac_delim
16231 +LIBOBJS!$LIBOBJS$ac_delim
16232 +LTLIBOBJS!$LTLIBOBJS$ac_delim
16233 _ACEOF
16234 +
16235 + if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 52; then
16236 + break
16237 + elif $ac_last_try; then
16238 + { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
16239 +echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
16240 + { (exit 1); exit 1; }; }
16241 + else
16242 + ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16243 + fi
16244 +done
16245 +
16246 +ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
16247 +if test -n "$ac_eof"; then
16248 + ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
16249 + ac_eof=`expr $ac_eof + 1`
16250 +fi
16251 +
16252 +cat >>$CONFIG_STATUS <<_ACEOF
16253 +cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
16254 +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
16255 +_ACEOF
16256 +sed '
16257 +s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
16258 +s/^/s,@/; s/!/@,|#_!!_#|/
16259 +:n
16260 +t n
16261 +s/'"$ac_delim"'$/,g/; t
16262 +s/$/\\/; p
16263 +N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
16264 +' >>$CONFIG_STATUS <conf$$subs.sed
16265 +rm -f conf$$subs.sed
16266 +cat >>$CONFIG_STATUS <<_ACEOF
16267 +:end
16268 +s/|#_!!_#|//g
16269 +CEOF$ac_eof
16270 +_ACEOF
16271 +
16272 +
16273 +# VPATH may cause trouble with some makes, so we remove $(srcdir),
16274 +# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
16275 +# trailing colons and then remove the whole line if VPATH becomes empty
16276 +# (actually we leave an empty line to preserve line numbers).
16277 +if test "x$srcdir" = x.; then
16278 + ac_vpsub='/^[ ]*VPATH[ ]*=/{
16279 +s/:*\$(srcdir):*/:/
16280 +s/:*\${srcdir}:*/:/
16281 +s/:*@srcdir@:*/:/
16282 +s/^\([^=]*=[ ]*\):*/\1/
16283 +s/:*$//
16284 +s/^[^=]*=[ ]*$//
16285 +}'
16286 +fi
16287 +
16288 cat >>$CONFIG_STATUS <<\_ACEOF
16289 -for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
16290 - # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
16291 - case $ac_file in
16292 - - | *:- | *:-:* ) # input from stdin
16293 - cat >$tmp/stdin
16294 - ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
16295 - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
16296 - *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
16297 - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
16298 - * ) ac_file_in=$ac_file.in ;;
16299 +fi # test -n "$CONFIG_FILES"
16300 +
16301 +
16302 +for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
16303 +do
16304 + case $ac_tag in
16305 + :[FHLC]) ac_mode=$ac_tag; continue;;
16306 + esac
16307 + case $ac_mode$ac_tag in
16308 + :[FHL]*:*);;
16309 + :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
16310 +echo "$as_me: error: Invalid tag $ac_tag." >&2;}
16311 + { (exit 1); exit 1; }; };;
16312 + :[FH]-) ac_tag=-:-;;
16313 + :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
16314 + esac
16315 + ac_save_IFS=$IFS
16316 + IFS=:
16317 + set x $ac_tag
16318 + IFS=$ac_save_IFS
16319 + shift
16320 + ac_file=$1
16321 + shift
16322 +
16323 + case $ac_mode in
16324 + :L) ac_source=$1;;
16325 + :[FH])
16326 + ac_file_inputs=
16327 + for ac_f
16328 + do
16329 + case $ac_f in
16330 + -) ac_f="$tmp/stdin";;
16331 + *) # Look for the file first in the build tree, then in the source tree
16332 + # (if the path is not absolute). The absolute path cannot be DOS-style,
16333 + # because $ac_f cannot contain `:'.
16334 + test -f "$ac_f" ||
16335 + case $ac_f in
16336 + [\\/$]*) false;;
16337 + *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
16338 + esac ||
16339 + { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
16340 +echo "$as_me: error: cannot find input file: $ac_f" >&2;}
16341 + { (exit 1); exit 1; }; };;
16342 + esac
16343 + ac_file_inputs="$ac_file_inputs $ac_f"
16344 + done
16345 +
16346 + # Let's still pretend it is `configure' which instantiates (i.e., don't
16347 + # use $as_me), people would be surprised to read:
16348 + # /* config.h. Generated by config.status. */
16349 + configure_input="Generated from "`IFS=:
16350 + echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
16351 + if test x"$ac_file" != x-; then
16352 + configure_input="$ac_file. $configure_input"
16353 + { echo "$as_me:$LINENO: creating $ac_file" >&5
16354 +echo "$as_me: creating $ac_file" >&6;}
16355 + fi
16356 +
16357 + case $ac_tag in
16358 + *:-:* | *:-) cat >"$tmp/stdin";;
16359 + esac
16360 + ;;
16361 esac
16362
16363 - # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
16364 - ac_dir=`(dirname "$ac_file") 2>/dev/null ||
16365 + ac_dir=`$as_dirname -- "$ac_file" ||
16366 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16367 X"$ac_file" : 'X\(//\)[^/]' \| \
16368 X"$ac_file" : 'X\(//\)$' \| \
16369 - X"$ac_file" : 'X\(/\)' \| \
16370 - . : '\(.\)' 2>/dev/null ||
16371 + X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16372 echo X"$ac_file" |
16373 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
16374 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
16375 - /^X\(\/\/\)$/{ s//\1/; q; }
16376 - /^X\(\/\).*/{ s//\1/; q; }
16377 - s/.*/./; q'`
16378 - { if $as_mkdir_p; then
16379 - mkdir -p "$ac_dir"
16380 - else
16381 - as_dir="$ac_dir"
16382 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16383 + s//\1/
16384 + q
16385 + }
16386 + /^X\(\/\/\)[^/].*/{
16387 + s//\1/
16388 + q
16389 + }
16390 + /^X\(\/\/\)$/{
16391 + s//\1/
16392 + q
16393 + }
16394 + /^X\(\/\).*/{
16395 + s//\1/
16396 + q
16397 + }
16398 + s/.*/./; q'`
16399 + { as_dir="$ac_dir"
16400 + case $as_dir in #(
16401 + -*) as_dir=./$as_dir;;
16402 + esac
16403 + test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
16404 as_dirs=
16405 - while test ! -d "$as_dir"; do
16406 - as_dirs="$as_dir $as_dirs"
16407 - as_dir=`(dirname "$as_dir") 2>/dev/null ||
16408 + while :; do
16409 + case $as_dir in #(
16410 + *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
16411 + *) as_qdir=$as_dir;;
16412 + esac
16413 + as_dirs="'$as_qdir' $as_dirs"
16414 + as_dir=`$as_dirname -- "$as_dir" ||
16415 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16416 X"$as_dir" : 'X\(//\)[^/]' \| \
16417 X"$as_dir" : 'X\(//\)$' \| \
16418 - X"$as_dir" : 'X\(/\)' \| \
16419 - . : '\(.\)' 2>/dev/null ||
16420 + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16421 echo X"$as_dir" |
16422 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
16423 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
16424 - /^X\(\/\/\)$/{ s//\1/; q; }
16425 - /^X\(\/\).*/{ s//\1/; q; }
16426 - s/.*/./; q'`
16427 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16428 + s//\1/
16429 + q
16430 + }
16431 + /^X\(\/\/\)[^/].*/{
16432 + s//\1/
16433 + q
16434 + }
16435 + /^X\(\/\/\)$/{
16436 + s//\1/
16437 + q
16438 + }
16439 + /^X\(\/\).*/{
16440 + s//\1/
16441 + q
16442 + }
16443 + s/.*/./; q'`
16444 + test -d "$as_dir" && break
16445 done
16446 - test ! -n "$as_dirs" || mkdir $as_dirs
16447 - fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
16448 -echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
16449 + test -z "$as_dirs" || eval "mkdir $as_dirs"
16450 + } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
16451 +echo "$as_me: error: cannot create directory $as_dir" >&2;}
16452 { (exit 1); exit 1; }; }; }
16453 -
16454 ac_builddir=.
16455
16456 -if test "$ac_dir" != .; then
16457 +case "$ac_dir" in
16458 +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16459 +*)
16460 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
16461 - # A "../" for each directory in $ac_dir_suffix.
16462 - ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
16463 -else
16464 - ac_dir_suffix= ac_top_builddir=
16465 -fi
16466 + # A ".." for each directory in $ac_dir_suffix.
16467 + ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
16468 + case $ac_top_builddir_sub in
16469 + "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
16470 + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
16471 + esac ;;
16472 +esac
16473 +ac_abs_top_builddir=$ac_pwd
16474 +ac_abs_builddir=$ac_pwd$ac_dir_suffix
16475 +# for backward compatibility:
16476 +ac_top_builddir=$ac_top_build_prefix
16477
16478 case $srcdir in
16479 - .) # No --srcdir option. We are building in place.
16480 + .) # We are building in place.
16481 ac_srcdir=.
16482 - if test -z "$ac_top_builddir"; then
16483 - ac_top_srcdir=.
16484 - else
16485 - ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
16486 - fi ;;
16487 - [\\/]* | ?:[\\/]* ) # Absolute path.
16488 + ac_top_srcdir=$ac_top_builddir_sub
16489 + ac_abs_top_srcdir=$ac_pwd ;;
16490 + [\\/]* | ?:[\\/]* ) # Absolute name.
16491 ac_srcdir=$srcdir$ac_dir_suffix;
16492 - ac_top_srcdir=$srcdir ;;
16493 - *) # Relative path.
16494 - ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
16495 - ac_top_srcdir=$ac_top_builddir$srcdir ;;
16496 -esac
16497 + ac_top_srcdir=$srcdir
16498 + ac_abs_top_srcdir=$srcdir ;;
16499 + *) # Relative name.
16500 + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16501 + ac_top_srcdir=$ac_top_build_prefix$srcdir
16502 + ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16503 +esac
16504 +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16505
16506 -# Do not use `cd foo && pwd` to compute absolute paths, because
16507 -# the directories may not exist.
16508 -case `pwd` in
16509 -.) ac_abs_builddir="$ac_dir";;
16510 -*)
16511 - case "$ac_dir" in
16512 - .) ac_abs_builddir=`pwd`;;
16513 - [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
16514 - *) ac_abs_builddir=`pwd`/"$ac_dir";;
16515 - esac;;
16516 -esac
16517 -case $ac_abs_builddir in
16518 -.) ac_abs_top_builddir=${ac_top_builddir}.;;
16519 -*)
16520 - case ${ac_top_builddir}. in
16521 - .) ac_abs_top_builddir=$ac_abs_builddir;;
16522 - [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
16523 - *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
16524 - esac;;
16525 -esac
16526 -case $ac_abs_builddir in
16527 -.) ac_abs_srcdir=$ac_srcdir;;
16528 -*)
16529 - case $ac_srcdir in
16530 - .) ac_abs_srcdir=$ac_abs_builddir;;
16531 - [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
16532 - *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
16533 - esac;;
16534 -esac
16535 -case $ac_abs_builddir in
16536 -.) ac_abs_top_srcdir=$ac_top_srcdir;;
16537 -*)
16538 - case $ac_top_srcdir in
16539 - .) ac_abs_top_srcdir=$ac_abs_builddir;;
16540 - [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
16541 - *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
16542 - esac;;
16543 -esac
16544
16545 + case $ac_mode in
16546 + :F)
16547 + #
16548 + # CONFIG_FILE
16549 + #
16550
16551 case $INSTALL in
16552 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
16553 - *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
16554 + *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
16555 esac
16556 +_ACEOF
16557
16558 - if test x"$ac_file" != x-; then
16559 - { echo "$as_me:$LINENO: creating $ac_file" >&5
16560 -echo "$as_me: creating $ac_file" >&6;}
16561 - rm -f "$ac_file"
16562 - fi
16563 - # Let's still pretend it is `configure' which instantiates (i.e., don't
16564 - # use $as_me), people would be surprised to read:
16565 - # /* config.h. Generated by config.status. */
16566 - if test x"$ac_file" = x-; then
16567 - configure_input=
16568 - else
16569 - configure_input="$ac_file. "
16570 - fi
16571 - configure_input=$configure_input"Generated from `echo $ac_file_in |
16572 - sed 's,.*/,,'` by configure."
16573 -
16574 - # First look for the input files in the build tree, otherwise in the
16575 - # src tree.
16576 - ac_file_inputs=`IFS=:
16577 - for f in $ac_file_in; do
16578 - case $f in
16579 - -) echo $tmp/stdin ;;
16580 - [\\/$]*)
16581 - # Absolute (can't be DOS-style, as IFS=:)
16582 - test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
16583 -echo "$as_me: error: cannot find input file: $f" >&2;}
16584 - { (exit 1); exit 1; }; }
16585 - echo "$f";;
16586 - *) # Relative
16587 - if test -f "$f"; then
16588 - # Build tree
16589 - echo "$f"
16590 - elif test -f "$srcdir/$f"; then
16591 - # Source tree
16592 - echo "$srcdir/$f"
16593 - else
16594 - # /dev/null tree
16595 - { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
16596 -echo "$as_me: error: cannot find input file: $f" >&2;}
16597 - { (exit 1); exit 1; }; }
16598 - fi;;
16599 - esac
16600 - done` || { (exit 1); exit 1; }
16601 +cat >>$CONFIG_STATUS <<\_ACEOF
16602 +# If the template does not know about datarootdir, expand it.
16603 +# FIXME: This hack should be removed a few years after 2.60.
16604 +ac_datarootdir_hack=; ac_datarootdir_seen=
16605 +
16606 +case `sed -n '/datarootdir/ {
16607 + p
16608 + q
16609 +}
16610 +/@datadir@/p
16611 +/@docdir@/p
16612 +/@infodir@/p
16613 +/@localedir@/p
16614 +/@mandir@/p
16615 +' $ac_file_inputs` in
16616 +*datarootdir*) ac_datarootdir_seen=yes;;
16617 +*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
16618 + { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16619 +echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16620 +_ACEOF
16621 +cat >>$CONFIG_STATUS <<_ACEOF
16622 + ac_datarootdir_hack='
16623 + s&@datadir@&$datadir&g
16624 + s&@docdir@&$docdir&g
16625 + s&@infodir@&$infodir&g
16626 + s&@localedir@&$localedir&g
16627 + s&@mandir@&$mandir&g
16628 + s&\\\${datarootdir}&$datarootdir&g' ;;
16629 +esac
16630 _ACEOF
16631 +
16632 +# Neutralize VPATH when `$srcdir' = `.'.
16633 +# Shell code in configure.ac might set extrasub.
16634 +# FIXME: do we really want to maintain this feature?
16635 cat >>$CONFIG_STATUS <<_ACEOF
16636 sed "$ac_vpsub
16637 $extrasub
16638 @@ -15521,248 +15939,130 @@
16639 cat >>$CONFIG_STATUS <<\_ACEOF
16640 :t
16641 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
16642 -s,@configure_input@,$configure_input,;t t
16643 -s,@srcdir@,$ac_srcdir,;t t
16644 -s,@abs_srcdir@,$ac_abs_srcdir,;t t
16645 -s,@top_srcdir@,$ac_top_srcdir,;t t
16646 -s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
16647 -s,@builddir@,$ac_builddir,;t t
16648 -s,@abs_builddir@,$ac_abs_builddir,;t t
16649 -s,@top_builddir@,$ac_top_builddir,;t t
16650 -s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
16651 -s,@INSTALL@,$ac_INSTALL,;t t
16652 -" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
16653 - rm -f $tmp/stdin
16654 - if test x"$ac_file" != x-; then
16655 - mv $tmp/out $ac_file
16656 - else
16657 - cat $tmp/out
16658 - rm -f $tmp/out
16659 - fi
16660 -
16661 -done
16662 -_ACEOF
16663 -cat >>$CONFIG_STATUS <<\_ACEOF
16664 -
16665 -#
16666 -# CONFIG_HEADER section.
16667 -#
16668 -
16669 -# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
16670 -# NAME is the cpp macro being defined and VALUE is the value it is being given.
16671 -#
16672 -# ac_d sets the value in "#define NAME VALUE" lines.
16673 -ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
16674 -ac_dB='[ ].*$,\1#\2'
16675 -ac_dC=' '
16676 -ac_dD=',;t'
16677 -# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
16678 -ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
16679 -ac_uB='$,\1#\2define\3'
16680 -ac_uC=' '
16681 -ac_uD=',;t'
16682 +s&@configure_input@&$configure_input&;t t
16683 +s&@top_builddir@&$ac_top_builddir_sub&;t t
16684 +s&@srcdir@&$ac_srcdir&;t t
16685 +s&@abs_srcdir@&$ac_abs_srcdir&;t t
16686 +s&@top_srcdir@&$ac_top_srcdir&;t t
16687 +s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
16688 +s&@builddir@&$ac_builddir&;t t
16689 +s&@abs_builddir@&$ac_abs_builddir&;t t
16690 +s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
16691 +s&@INSTALL@&$ac_INSTALL&;t t
16692 +$ac_datarootdir_hack
16693 +" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
16694 +
16695 +test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16696 + { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
16697 + { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
16698 + { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16699 +which seems to be undefined. Please make sure it is defined." >&5
16700 +echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16701 +which seems to be undefined. Please make sure it is defined." >&2;}
16702
16703 -for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
16704 - # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
16705 + rm -f "$tmp/stdin"
16706 case $ac_file in
16707 - - | *:- | *:-:* ) # input from stdin
16708 - cat >$tmp/stdin
16709 - ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
16710 - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
16711 - *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
16712 - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
16713 - * ) ac_file_in=$ac_file.in ;;
16714 + -) cat "$tmp/out"; rm -f "$tmp/out";;
16715 + *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
16716 esac
16717 + ;;
16718 + :H)
16719 + #
16720 + # CONFIG_HEADER
16721 + #
16722 +_ACEOF
16723 +
16724 +# Transform confdefs.h into a sed script `conftest.defines', that
16725 +# substitutes the proper values into config.h.in to produce config.h.
16726 +rm -f conftest.defines conftest.tail
16727 +# First, append a space to every undef/define line, to ease matching.
16728 +echo 's/$/ /' >conftest.defines
16729 +# Then, protect against being on the right side of a sed subst, or in
16730 +# an unquoted here document, in config.status. If some macros were
16731 +# called several times there might be several #defines for the same
16732 +# symbol, which is useless. But do not sort them, since the last
16733 +# AC_DEFINE must be honored.
16734 +ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16735 +# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
16736 +# NAME is the cpp macro being defined, VALUE is the value it is being given.
16737 +# PARAMS is the parameter list in the macro definition--in most cases, it's
16738 +# just an empty string.
16739 +ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
16740 +ac_dB='\\)[ (].*,\\1define\\2'
16741 +ac_dC=' '
16742 +ac_dD=' ,'
16743
16744 - test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
16745 -echo "$as_me: creating $ac_file" >&6;}
16746 -
16747 - # First look for the input files in the build tree, otherwise in the
16748 - # src tree.
16749 - ac_file_inputs=`IFS=:
16750 - for f in $ac_file_in; do
16751 - case $f in
16752 - -) echo $tmp/stdin ;;
16753 - [\\/$]*)
16754 - # Absolute (can't be DOS-style, as IFS=:)
16755 - test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
16756 -echo "$as_me: error: cannot find input file: $f" >&2;}
16757 - { (exit 1); exit 1; }; }
16758 - # Do quote $f, to prevent DOS paths from being IFS'd.
16759 - echo "$f";;
16760 - *) # Relative
16761 - if test -f "$f"; then
16762 - # Build tree
16763 - echo "$f"
16764 - elif test -f "$srcdir/$f"; then
16765 - # Source tree
16766 - echo "$srcdir/$f"
16767 - else
16768 - # /dev/null tree
16769 - { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
16770 -echo "$as_me: error: cannot find input file: $f" >&2;}
16771 - { (exit 1); exit 1; }; }
16772 - fi;;
16773 - esac
16774 - done` || { (exit 1); exit 1; }
16775 - # Remove the trailing spaces.
16776 - sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
16777 -
16778 -_ACEOF
16779 -
16780 -# Transform confdefs.h into two sed scripts, `conftest.defines' and
16781 -# `conftest.undefs', that substitutes the proper values into
16782 -# config.h.in to produce config.h. The first handles `#define'
16783 -# templates, and the second `#undef' templates.
16784 -# And first: Protect against being on the right side of a sed subst in
16785 -# config.status. Protect against being in an unquoted here document
16786 -# in config.status.
16787 -rm -f conftest.defines conftest.undefs
16788 -# Using a here document instead of a string reduces the quoting nightmare.
16789 -# Putting comments in sed scripts is not portable.
16790 -#
16791 -# `end' is used to avoid that the second main sed command (meant for
16792 -# 0-ary CPP macros) applies to n-ary macro definitions.
16793 -# See the Autoconf documentation for `clear'.
16794 -cat >confdef2sed.sed <<\_ACEOF
16795 -s/[\\&,]/\\&/g
16796 -s,[\\$`],\\&,g
16797 -t clear
16798 -: clear
16799 -s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
16800 -t end
16801 -s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
16802 -: end
16803 -_ACEOF
16804 -# If some macros were called several times there might be several times
16805 -# the same #defines, which is useless. Nevertheless, we may not want to
16806 -# sort them, since we want the *last* AC-DEFINE to be honored.
16807 -uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
16808 -sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
16809 -rm -f confdef2sed.sed
16810 +uniq confdefs.h |
16811 + sed -n '
16812 + t rset
16813 + :rset
16814 + s/^[ ]*#[ ]*define[ ][ ]*//
16815 + t ok
16816 + d
16817 + :ok
16818 + s/[\\&,]/\\&/g
16819 + s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
16820 + s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
16821 + ' >>conftest.defines
16822
16823 -# This sed command replaces #undef with comments. This is necessary, for
16824 +# Remove the space that was appended to ease matching.
16825 +# Then replace #undef with comments. This is necessary, for
16826 # example, in the case of _POSIX_SOURCE, which is predefined and required
16827 # on some systems where configure will not decide to define it.
16828 -cat >>conftest.undefs <<\_ACEOF
16829 -s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
16830 +# (The regexp can be short, since the line contains either #define or #undef.)
16831 +echo 's/ $//
16832 +s,^[ #]*u.*,/* & */,' >>conftest.defines
16833 +
16834 +# Break up conftest.defines:
16835 +ac_max_sed_lines=50
16836 +
16837 +# First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
16838 +# Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
16839 +# Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
16840 +# et cetera.
16841 +ac_in='$ac_file_inputs'
16842 +ac_out='"$tmp/out1"'
16843 +ac_nxt='"$tmp/out2"'
16844 +
16845 +while :
16846 +do
16847 + # Write a here document:
16848 + cat >>$CONFIG_STATUS <<_ACEOF
16849 + # First, check the format of the line:
16850 + cat >"\$tmp/defines.sed" <<\\CEOF
16851 +/^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
16852 +/^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
16853 +b
16854 +:def
16855 _ACEOF
16856 -
16857 -# Break up conftest.defines because some shells have a limit on the size
16858 -# of here documents, and old seds have small limits too (100 cmds).
16859 -echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
16860 -echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
16861 -echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
16862 -echo ' :' >>$CONFIG_STATUS
16863 -rm -f conftest.tail
16864 -while grep . conftest.defines >/dev/null
16865 -do
16866 - # Write a limited-size here document to $tmp/defines.sed.
16867 - echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
16868 - # Speed up: don't consider the non `#define' lines.
16869 - echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
16870 - # Work around the forget-to-reset-the-flag bug.
16871 - echo 't clr' >>$CONFIG_STATUS
16872 - echo ': clr' >>$CONFIG_STATUS
16873 - sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
16874 + sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
16875 echo 'CEOF
16876 - sed -f $tmp/defines.sed $tmp/in >$tmp/out
16877 - rm -f $tmp/in
16878 - mv $tmp/out $tmp/in
16879 -' >>$CONFIG_STATUS
16880 - sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
16881 + sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
16882 + ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
16883 + sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
16884 + grep . conftest.tail >/dev/null || break
16885 rm -f conftest.defines
16886 mv conftest.tail conftest.defines
16887 done
16888 -rm -f conftest.defines
16889 -echo ' fi # grep' >>$CONFIG_STATUS
16890 -echo >>$CONFIG_STATUS
16891 -
16892 -# Break up conftest.undefs because some shells have a limit on the size
16893 -# of here documents, and old seds have small limits too (100 cmds).
16894 -echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
16895 -rm -f conftest.tail
16896 -while grep . conftest.undefs >/dev/null
16897 -do
16898 - # Write a limited-size here document to $tmp/undefs.sed.
16899 - echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
16900 - # Speed up: don't consider the non `#undef'
16901 - echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
16902 - # Work around the forget-to-reset-the-flag bug.
16903 - echo 't clr' >>$CONFIG_STATUS
16904 - echo ': clr' >>$CONFIG_STATUS
16905 - sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
16906 - echo 'CEOF
16907 - sed -f $tmp/undefs.sed $tmp/in >$tmp/out
16908 - rm -f $tmp/in
16909 - mv $tmp/out $tmp/in
16910 -' >>$CONFIG_STATUS
16911 - sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
16912 - rm -f conftest.undefs
16913 - mv conftest.tail conftest.undefs
16914 -done
16915 -rm -f conftest.undefs
16916 +rm -f conftest.defines conftest.tail
16917
16918 +echo "ac_result=$ac_in" >>$CONFIG_STATUS
16919 cat >>$CONFIG_STATUS <<\_ACEOF
16920 - # Let's still pretend it is `configure' which instantiates (i.e., don't
16921 - # use $as_me), people would be surprised to read:
16922 - # /* config.h. Generated by config.status. */
16923 - if test x"$ac_file" = x-; then
16924 - echo "/* Generated by configure. */" >$tmp/config.h
16925 - else
16926 - echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
16927 - fi
16928 - cat $tmp/in >>$tmp/config.h
16929 - rm -f $tmp/in
16930 if test x"$ac_file" != x-; then
16931 - if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
16932 + echo "/* $configure_input */" >"$tmp/config.h"
16933 + cat "$ac_result" >>"$tmp/config.h"
16934 + if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
16935 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
16936 echo "$as_me: $ac_file is unchanged" >&6;}
16937 else
16938 - ac_dir=`(dirname "$ac_file") 2>/dev/null ||
16939 -$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16940 - X"$ac_file" : 'X\(//\)[^/]' \| \
16941 - X"$ac_file" : 'X\(//\)$' \| \
16942 - X"$ac_file" : 'X\(/\)' \| \
16943 - . : '\(.\)' 2>/dev/null ||
16944 -echo X"$ac_file" |
16945 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
16946 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
16947 - /^X\(\/\/\)$/{ s//\1/; q; }
16948 - /^X\(\/\).*/{ s//\1/; q; }
16949 - s/.*/./; q'`
16950 - { if $as_mkdir_p; then
16951 - mkdir -p "$ac_dir"
16952 - else
16953 - as_dir="$ac_dir"
16954 - as_dirs=
16955 - while test ! -d "$as_dir"; do
16956 - as_dirs="$as_dir $as_dirs"
16957 - as_dir=`(dirname "$as_dir") 2>/dev/null ||
16958 -$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16959 - X"$as_dir" : 'X\(//\)[^/]' \| \
16960 - X"$as_dir" : 'X\(//\)$' \| \
16961 - X"$as_dir" : 'X\(/\)' \| \
16962 - . : '\(.\)' 2>/dev/null ||
16963 -echo X"$as_dir" |
16964 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
16965 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
16966 - /^X\(\/\/\)$/{ s//\1/; q; }
16967 - /^X\(\/\).*/{ s//\1/; q; }
16968 - s/.*/./; q'`
16969 - done
16970 - test ! -n "$as_dirs" || mkdir $as_dirs
16971 - fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
16972 -echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
16973 - { (exit 1); exit 1; }; }; }
16974 -
16975 rm -f $ac_file
16976 - mv $tmp/config.h $ac_file
16977 + mv "$tmp/config.h" $ac_file
16978 fi
16979 else
16980 - cat $tmp/config.h
16981 - rm -f $tmp/config.h
16982 + echo "/* $configure_input */"
16983 + cat "$ac_result"
16984 fi
16985 + rm -f "$tmp/out12"
16986 # Compute $ac_file's index in $config_headers.
16987 _am_stamp_count=1
16988 for _am_header in $config_headers :; do
16989 @@ -15773,135 +16073,39 @@
16990 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
16991 esac
16992 done
16993 -echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
16994 +echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
16995 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16996 X$ac_file : 'X\(//\)[^/]' \| \
16997 X$ac_file : 'X\(//\)$' \| \
16998 - X$ac_file : 'X\(/\)' \| \
16999 - . : '\(.\)' 2>/dev/null ||
17000 + X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
17001 echo X$ac_file |
17002 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
17003 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
17004 - /^X\(\/\/\)$/{ s//\1/; q; }
17005 - /^X\(\/\).*/{ s//\1/; q; }
17006 - s/.*/./; q'`/stamp-h$_am_stamp_count
17007 -done
17008 -_ACEOF
17009 -cat >>$CONFIG_STATUS <<\_ACEOF
17010 -
17011 -#
17012 -# CONFIG_COMMANDS section.
17013 -#
17014 -for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
17015 - ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
17016 - ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
17017 - ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
17018 -$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17019 - X"$ac_dest" : 'X\(//\)[^/]' \| \
17020 - X"$ac_dest" : 'X\(//\)$' \| \
17021 - X"$ac_dest" : 'X\(/\)' \| \
17022 - . : '\(.\)' 2>/dev/null ||
17023 -echo X"$ac_dest" |
17024 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
17025 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
17026 - /^X\(\/\/\)$/{ s//\1/; q; }
17027 - /^X\(\/\).*/{ s//\1/; q; }
17028 - s/.*/./; q'`
17029 - { if $as_mkdir_p; then
17030 - mkdir -p "$ac_dir"
17031 - else
17032 - as_dir="$ac_dir"
17033 - as_dirs=
17034 - while test ! -d "$as_dir"; do
17035 - as_dirs="$as_dir $as_dirs"
17036 - as_dir=`(dirname "$as_dir") 2>/dev/null ||
17037 -$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17038 - X"$as_dir" : 'X\(//\)[^/]' \| \
17039 - X"$as_dir" : 'X\(//\)$' \| \
17040 - X"$as_dir" : 'X\(/\)' \| \
17041 - . : '\(.\)' 2>/dev/null ||
17042 -echo X"$as_dir" |
17043 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
17044 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
17045 - /^X\(\/\/\)$/{ s//\1/; q; }
17046 - /^X\(\/\).*/{ s//\1/; q; }
17047 - s/.*/./; q'`
17048 - done
17049 - test ! -n "$as_dirs" || mkdir $as_dirs
17050 - fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
17051 -echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
17052 - { (exit 1); exit 1; }; }; }
17053 -
17054 - ac_builddir=.
17055 -
17056 -if test "$ac_dir" != .; then
17057 - ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
17058 - # A "../" for each directory in $ac_dir_suffix.
17059 - ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
17060 -else
17061 - ac_dir_suffix= ac_top_builddir=
17062 -fi
17063 -
17064 -case $srcdir in
17065 - .) # No --srcdir option. We are building in place.
17066 - ac_srcdir=.
17067 - if test -z "$ac_top_builddir"; then
17068 - ac_top_srcdir=.
17069 - else
17070 - ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
17071 - fi ;;
17072 - [\\/]* | ?:[\\/]* ) # Absolute path.
17073 - ac_srcdir=$srcdir$ac_dir_suffix;
17074 - ac_top_srcdir=$srcdir ;;
17075 - *) # Relative path.
17076 - ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
17077 - ac_top_srcdir=$ac_top_builddir$srcdir ;;
17078 -esac
17079 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17080 + s//\1/
17081 + q
17082 + }
17083 + /^X\(\/\/\)[^/].*/{
17084 + s//\1/
17085 + q
17086 + }
17087 + /^X\(\/\/\)$/{
17088 + s//\1/
17089 + q
17090 + }
17091 + /^X\(\/\).*/{
17092 + s//\1/
17093 + q
17094 + }
17095 + s/.*/./; q'`/stamp-h$_am_stamp_count
17096 + ;;
17097
17098 -# Do not use `cd foo && pwd` to compute absolute paths, because
17099 -# the directories may not exist.
17100 -case `pwd` in
17101 -.) ac_abs_builddir="$ac_dir";;
17102 -*)
17103 - case "$ac_dir" in
17104 - .) ac_abs_builddir=`pwd`;;
17105 - [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
17106 - *) ac_abs_builddir=`pwd`/"$ac_dir";;
17107 - esac;;
17108 -esac
17109 -case $ac_abs_builddir in
17110 -.) ac_abs_top_builddir=${ac_top_builddir}.;;
17111 -*)
17112 - case ${ac_top_builddir}. in
17113 - .) ac_abs_top_builddir=$ac_abs_builddir;;
17114 - [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
17115 - *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
17116 - esac;;
17117 -esac
17118 -case $ac_abs_builddir in
17119 -.) ac_abs_srcdir=$ac_srcdir;;
17120 -*)
17121 - case $ac_srcdir in
17122 - .) ac_abs_srcdir=$ac_abs_builddir;;
17123 - [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
17124 - *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
17125 - esac;;
17126 -esac
17127 -case $ac_abs_builddir in
17128 -.) ac_abs_top_srcdir=$ac_top_srcdir;;
17129 -*)
17130 - case $ac_top_srcdir in
17131 - .) ac_abs_top_srcdir=$ac_abs_builddir;;
17132 - [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
17133 - *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
17134 - esac;;
17135 -esac
17136 + :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
17137 +echo "$as_me: executing $ac_file commands" >&6;}
17138 + ;;
17139 + esac
17140
17141
17142 - { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
17143 -echo "$as_me: executing $ac_dest commands" >&6;}
17144 - case $ac_dest in
17145 - depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
17146 + case $ac_file$ac_mode in
17147 + "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
17148 # Strip MF so we end up with the name of the file.
17149 mf=`echo "$mf" | sed -e 's/:.*$//'`
17150 # Check whether this is an Automake generated Makefile or not.
17151 @@ -15911,18 +16115,29 @@
17152 # each Makefile.in and add a new line on top of each file to say so.
17153 # So let's grep whole file.
17154 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
17155 - dirpart=`(dirname "$mf") 2>/dev/null ||
17156 + dirpart=`$as_dirname -- "$mf" ||
17157 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17158 X"$mf" : 'X\(//\)[^/]' \| \
17159 X"$mf" : 'X\(//\)$' \| \
17160 - X"$mf" : 'X\(/\)' \| \
17161 - . : '\(.\)' 2>/dev/null ||
17162 + X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
17163 echo X"$mf" |
17164 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
17165 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
17166 - /^X\(\/\/\)$/{ s//\1/; q; }
17167 - /^X\(\/\).*/{ s//\1/; q; }
17168 - s/.*/./; q'`
17169 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17170 + s//\1/
17171 + q
17172 + }
17173 + /^X\(\/\/\)[^/].*/{
17174 + s//\1/
17175 + q
17176 + }
17177 + /^X\(\/\/\)$/{
17178 + s//\1/
17179 + q
17180 + }
17181 + /^X\(\/\).*/{
17182 + s//\1/
17183 + q
17184 + }
17185 + s/.*/./; q'`
17186 else
17187 continue
17188 fi
17189 @@ -15944,54 +16159,80 @@
17190 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
17191 # Make sure the directory exists.
17192 test -f "$dirpart/$file" && continue
17193 - fdir=`(dirname "$file") 2>/dev/null ||
17194 + fdir=`$as_dirname -- "$file" ||
17195 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17196 X"$file" : 'X\(//\)[^/]' \| \
17197 X"$file" : 'X\(//\)$' \| \
17198 - X"$file" : 'X\(/\)' \| \
17199 - . : '\(.\)' 2>/dev/null ||
17200 + X"$file" : 'X\(/\)' \| . 2>/dev/null ||
17201 echo X"$file" |
17202 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
17203 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
17204 - /^X\(\/\/\)$/{ s//\1/; q; }
17205 - /^X\(\/\).*/{ s//\1/; q; }
17206 - s/.*/./; q'`
17207 - { if $as_mkdir_p; then
17208 - mkdir -p $dirpart/$fdir
17209 - else
17210 - as_dir=$dirpart/$fdir
17211 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17212 + s//\1/
17213 + q
17214 + }
17215 + /^X\(\/\/\)[^/].*/{
17216 + s//\1/
17217 + q
17218 + }
17219 + /^X\(\/\/\)$/{
17220 + s//\1/
17221 + q
17222 + }
17223 + /^X\(\/\).*/{
17224 + s//\1/
17225 + q
17226 + }
17227 + s/.*/./; q'`
17228 + { as_dir=$dirpart/$fdir
17229 + case $as_dir in #(
17230 + -*) as_dir=./$as_dir;;
17231 + esac
17232 + test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
17233 as_dirs=
17234 - while test ! -d "$as_dir"; do
17235 - as_dirs="$as_dir $as_dirs"
17236 - as_dir=`(dirname "$as_dir") 2>/dev/null ||
17237 + while :; do
17238 + case $as_dir in #(
17239 + *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
17240 + *) as_qdir=$as_dir;;
17241 + esac
17242 + as_dirs="'$as_qdir' $as_dirs"
17243 + as_dir=`$as_dirname -- "$as_dir" ||
17244 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17245 X"$as_dir" : 'X\(//\)[^/]' \| \
17246 X"$as_dir" : 'X\(//\)$' \| \
17247 - X"$as_dir" : 'X\(/\)' \| \
17248 - . : '\(.\)' 2>/dev/null ||
17249 + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
17250 echo X"$as_dir" |
17251 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
17252 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
17253 - /^X\(\/\/\)$/{ s//\1/; q; }
17254 - /^X\(\/\).*/{ s//\1/; q; }
17255 - s/.*/./; q'`
17256 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17257 + s//\1/
17258 + q
17259 + }
17260 + /^X\(\/\/\)[^/].*/{
17261 + s//\1/
17262 + q
17263 + }
17264 + /^X\(\/\/\)$/{
17265 + s//\1/
17266 + q
17267 + }
17268 + /^X\(\/\).*/{
17269 + s//\1/
17270 + q
17271 + }
17272 + s/.*/./; q'`
17273 + test -d "$as_dir" && break
17274 done
17275 - test ! -n "$as_dirs" || mkdir $as_dirs
17276 - fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
17277 -echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
17278 + test -z "$as_dirs" || eval "mkdir $as_dirs"
17279 + } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
17280 +echo "$as_me: error: cannot create directory $as_dir" >&2;}
17281 { (exit 1); exit 1; }; }; }
17282 -
17283 # echo "creating $dirpart/$file"
17284 echo '# dummy' > "$dirpart/$file"
17285 done
17286 done
17287 ;;
17288 - default ) sed -e '/SRC-POTFILES =/r po/SRC-POTFILES' -e '/BLD-POTFILES =/r po/BLD-POTFILES' po/Makefile.in > po/Makefile ;;
17289 + "default":C) sed -e '/SRC-POTFILES =/r po/SRC-POTFILES' -e '/BLD-POTFILES =/r po/BLD-POTFILES' po/Makefile.in > po/Makefile ;;
17290 +
17291 esac
17292 -done
17293 -_ACEOF
17294 +done # for ac_tag
17295
17296 -cat >>$CONFIG_STATUS <<\_ACEOF
17297
17298 { (exit 0); exit 0; }
17299 _ACEOF
17300 Index: binutils-2.17/bfd/configure.in
17301 ===================================================================
17302 --- binutils-2.17.orig/bfd/configure.in 2007-06-28 09:19:34.170041816 +0200
17303 +++ binutils-2.17/bfd/configure.in 2007-06-28 09:19:36.576675952 +0200
17304 @@ -8,7 +8,7 @@
17305 AC_CANONICAL_TARGET
17306 AC_ISC_POSIX
17307
17308 -AM_INIT_AUTOMAKE(bfd, 2.17)
17309 +AM_INIT_AUTOMAKE(bfd, 2.17.atmel.0.0.99)
17310
17311 dnl These must be called before AM_PROG_LIBTOOL, because it may want
17312 dnl to call AC_CHECK_PROG.
17313 @@ -583,6 +583,7 @@
17314 bfd_efi_app_ia64_vec) tb="$tb efi-app-ia64.lo pepigen.lo cofflink.lo"; target_size=64 ;;
17315 bfd_elf32_am33lin_vec) tb="$tb elf32-am33lin.lo elf32.lo $elf" ;;
17316 bfd_elf32_avr_vec) tb="$tb elf32-avr.lo elf32.lo $elf" ;;
17317 + bfd_elf32_avr32_vec) tb="$tb elf32-avr32.lo elf32.lo $elf" ;;
17318 bfd_elf32_bfin_vec) tb="$tb elf32-bfin.lo elf32.lo $elf" ;;
17319 bfd_elf32_bfinfdpic_vec) tb="$tb elf32-bfin.lo elf32.lo $elf" ;;
17320 bfd_elf32_big_generic_vec) tb="$tb elf32-gen.lo elf32.lo $elf" ;;
17321 Index: binutils-2.17/bfd/cpu-avr32.c
17322 ===================================================================
17323 --- /dev/null 1970-01-01 00:00:00.000000000 +0000
17324 +++ binutils-2.17/bfd/cpu-avr32.c 2007-06-28 09:19:36.576675952 +0200
17325 @@ -0,0 +1,49 @@
17326 +/* BFD library support routines for AVR32.
17327 + Copyright 2003-2006 Atmel Corporation.
17328 +
17329 + Written by Haavard Skinnemoen, Atmel Norway, <hskinnemoen@atmel.com>
17330 +
17331 + This is part of BFD, the Binary File Descriptor library.
17332 +
17333 + This program is free software; you can redistribute it and/or modify
17334 + it under the terms of the GNU General Public License as published by
17335 + the Free Software Foundation; either version 2 of the License, or
17336 + (at your option) any later version.
17337 +
17338 + This program is distributed in the hope that it will be useful,
17339 + but WITHOUT ANY WARRANTY; without even the implied warranty of
17340 + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17341 + GNU General Public License for more details.
17342 +
17343 + You should have received a copy of the GNU General Public License
17344 + along with this program; if not, write to the Free Software
17345 + Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
17346 +
17347 +#include "bfd.h"
17348 +#include "sysdep.h"
17349 +#include "libbfd.h"
17350 +
17351 +#define N(machine, print, default, next) \
17352 + { \
17353 + 32, /* 32 bits in a word */ \
17354 + 32, /* 32 bits in an address */ \
17355 + 8, /* 8 bits in a byte */ \
17356 + bfd_arch_avr32, /* architecture */ \
17357 + machine, /* machine */ \
17358 + "avr32", /* arch name */ \
17359 + print, /* printable name */ \
17360 + 1, /* section align power */ \
17361 + default, /* the default machine? */ \
17362 + bfd_default_compatible, \
17363 + bfd_default_scan, \
17364 + next, \
17365 + }
17366 +
17367 +static const bfd_arch_info_type cpu_info[] =
17368 +{
17369 + N(bfd_mach_avr32_ap, "avr32:ap", FALSE, &cpu_info[1]),
17370 + N(bfd_mach_avr32_uc, "avr32:uc", FALSE, NULL),
17371 +};
17372 +
17373 +const bfd_arch_info_type bfd_avr32_arch =
17374 + N(bfd_mach_avr32_ap, "avr32:ap", TRUE, &cpu_info[0]);
17375 Index: binutils-2.17/bfd/doc/Makefile.in
17376 ===================================================================
17377 --- binutils-2.17.orig/bfd/doc/Makefile.in 2007-06-28 09:19:34.180040296 +0200
17378 +++ binutils-2.17/bfd/doc/Makefile.in 2007-06-28 09:19:36.577675800 +0200
17379 @@ -1,4 +1,4 @@
17380 -# Makefile.in generated by automake 1.9.5 from Makefile.am.
17381 +# Makefile.in generated by automake 1.9.6 from Makefile.am.
17382 # @configure_input@
17383
17384 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
17385 @@ -105,6 +105,7 @@
17386 EXEEXT_FOR_BUILD = @EXEEXT_FOR_BUILD@
17387 GMOFILES = @GMOFILES@
17388 GMSGFMT = @GMSGFMT@
17389 +GREP = @GREP@
17390 GT_NO = @GT_NO@
17391 GT_YES = @GT_YES@
17392 HDEFINES = @HDEFINES@
17393 @@ -154,10 +155,7 @@
17394 WIN32LDFLAGS = @WIN32LDFLAGS@
17395 WIN32LIBADD = @WIN32LIBADD@
17396 XGETTEXT = @XGETTEXT@
17397 -ac_ct_AR = @ac_ct_AR@
17398 ac_ct_CC = @ac_ct_CC@
17399 -ac_ct_RANLIB = @ac_ct_RANLIB@
17400 -ac_ct_STRIP = @ac_ct_STRIP@
17401 all_backends = @all_backends@
17402 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
17403 am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
17404 @@ -183,6 +181,7 @@
17405 datadir = @datadir@
17406 datarootdir = @datarootdir@
17407 docdir = @docdir@
17408 +dvidir = @dvidir@
17409 exec_prefix = @exec_prefix@
17410 host = @host@
17411 host_alias = @host_alias@
17412 @@ -197,12 +196,15 @@
17413 l = @l@
17414 libdir = @libdir@
17415 libexecdir = @libexecdir@
17416 +localedir = @localedir@
17417 localstatedir = @localstatedir@
17418 mandir = @mandir@
17419 mkdir_p = @mkdir_p@
17420 oldincludedir = @oldincludedir@
17421 +pdfdir = @pdfdir@
17422 prefix = @prefix@
17423 program_transform_name = @program_transform_name@
17424 +psdir = @psdir@
17425 sbindir = @sbindir@
17426 sharedstatedir = @sharedstatedir@
17427 sysconfdir = @sysconfdir@
17428 @@ -364,9 +366,11 @@
17429 restore=: && backupdir="$(am__leading_dot)am$$$$" && \
17430 am__cwd=`pwd` && cd $(srcdir) && \
17431 rm -rf $$backupdir && mkdir $$backupdir && \
17432 - for f in $@ $@-[0-9] $@-[0-9][0-9] $(@:.info=).i[0-9] $(@:.info=).i[0-9][0-9]; do \
17433 - if test -f $$f; then mv $$f $$backupdir; restore=mv; else :; fi; \
17434 - done; \
17435 + if ($(MAKEINFO) --version) >/dev/null 2>&1; then \
17436 + for f in $@ $@-[0-9] $@-[0-9][0-9] $(@:.info=).i[0-9] $(@:.info=).i[0-9][0-9]; do \
17437 + if test -f $$f; then mv $$f $$backupdir; restore=mv; else :; fi; \
17438 + done; \
17439 + else :; fi && \
17440 cd "$$am__cwd"; \
17441 if $(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I $(srcdir) \
17442 -o $@ $<; \
17443 @@ -408,6 +412,7 @@
17444 bfd.pdf: bfd.texinfo
17445 bfd.html: bfd.texinfo
17446 .dvi.ps:
17447 + TEXINPUTS="$(am__TEXINFO_TEX_DIR)$(PATH_SEPARATOR)$$TEXINPUTS" \
17448 $(DVIPS) -o $@ $<
17449
17450 uninstall-info-am:
17451 @@ -440,10 +445,13 @@
17452 $(srcdir)/*) base=`echo "$$base" | sed "s|^$$srcdirstrip/||"`;; \
17453 esac; \
17454 if test -f $$base; then d=.; else d=$(srcdir); fi; \
17455 - for file in $$d/$$base*; do \
17456 - relfile=`expr "$$file" : "$$d/\(.*\)"`; \
17457 - test -f $(distdir)/$$relfile || \
17458 - cp -p $$file $(distdir)/$$relfile; \
17459 + base_i=`echo "$$base" | sed 's|\.info$$||;s|$$|.i|'`; \
17460 + 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 \
17461 + if test -f $$file; then \
17462 + relfile=`expr "$$file" : "$$d/\(.*\)"`; \
17463 + test -f $(distdir)/$$relfile || \
17464 + cp -p $$file $(distdir)/$$relfile; \
17465 + else :; fi; \
17466 done; \
17467 done
17468
17469 Index: binutils-2.17/bfd/elf32-avr32.c
17470 ===================================================================
17471 --- /dev/null 1970-01-01 00:00:00.000000000 +0000
17472 +++ binutils-2.17/bfd/elf32-avr32.c 2007-06-28 09:19:36.580675344 +0200
17473 @@ -0,0 +1,3847 @@
17474 +/* AVR32-specific support for 32-bit ELF.
17475 + Copyright 2003-2006 Atmel Corporation.
17476 +
17477 + Written by Haavard Skinnemoen, Atmel Norway, <hskinnemoen@atmel.com>
17478 +
17479 + This file is part of BFD, the Binary File Descriptor library.
17480 +
17481 + This program is free software; you can redistribute it and/or modify
17482 + it under the terms of the GNU General Public License as published by
17483 + the Free Software Foundation; either version 2 of the License, or
17484 + (at your option) any later version.
17485 +
17486 + This program is distributed in the hope that it will be useful,
17487 + but WITHOUT ANY WARRANTY; without even the implied warranty of
17488 + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17489 + GNU General Public License for more details.
17490 +
17491 + You should have received a copy of the GNU General Public License
17492 + along with this program; if not, write to the Free Software
17493 + Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
17494 +
17495 +#include "bfd.h"
17496 +#include "sysdep.h"
17497 +#include "bfdlink.h"
17498 +#include "libbfd.h"
17499 +#include "elf-bfd.h"
17500 +#include "elf/avr32.h"
17501 +
17502 +#define xDEBUG
17503 +#define xRELAX_DEBUG
17504 +
17505 +#ifdef DEBUG
17506 +# define pr_debug(fmt, args...) fprintf(stderr, fmt, ##args)
17507 +#else
17508 +# define pr_debug(fmt, args...) do { } while (0)
17509 +#endif
17510 +
17511 +#ifdef RELAX_DEBUG
17512 +# define RDBG(fmt, args...) fprintf(stderr, fmt, ##args)
17513 +#else
17514 +# define RDBG(fmt, args...) do { } while (0)
17515 +#endif
17516 +
17517 +/* When things go wrong, we want it to blow up, damnit! */
17518 +#undef BFD_ASSERT
17519 +#undef abort
17520 +#define BFD_ASSERT(expr) \
17521 + do \
17522 + { \
17523 + if (!(expr)) \
17524 + { \
17525 + bfd_assert(__FILE__, __LINE__); \
17526 + abort(); \
17527 + } \
17528 + } \
17529 + while (0)
17530 +
17531 +/* The name of the dynamic interpreter. This is put in the .interp section. */
17532 +#define ELF_DYNAMIC_INTERPRETER "/lib/ld.so.1"
17533 +
17534 +#define AVR32_GOT_HEADER_SIZE 8
17535 +#define AVR32_FUNCTION_STUB_SIZE 8
17536 +
17537 +#define ELF_R_INFO(x, y) ELF32_R_INFO(x, y)
17538 +#define ELF_R_TYPE(x) ELF32_R_TYPE(x)
17539 +#define ELF_R_SYM(x) ELF32_R_SYM(x)
17540 +
17541 +#define NOP_OPCODE 0xd703
17542 +
17543 +\f
17544 +/* Mapping between BFD relocations and ELF relocations */
17545 +
17546 +static reloc_howto_type *
17547 +bfd_elf32_bfd_reloc_type_lookup(bfd *abfd, bfd_reloc_code_real_type code);
17548 +static void
17549 +avr32_info_to_howto (bfd *abfd, arelent *cache_ptr, Elf_Internal_Rela *dst);
17550 +
17551 +/* Generic HOWTO */
17552 +#define GENH(name, align, size, bitsize, pcrel, bitpos, complain, mask) \
17553 + HOWTO(name, align, size, bitsize, pcrel, bitpos, \
17554 + complain_overflow_##complain, bfd_elf_generic_reloc, #name, \
17555 + FALSE, 0, mask, pcrel)
17556 +
17557 +static reloc_howto_type elf_avr32_howto_table[] = {
17558 + /* NAME ALN SZ BSZ PCREL BP COMPLAIN MASK */
17559 + GENH(R_AVR32_NONE, 0, 0, 0, FALSE, 0, dont, 0x00000000),
17560 +
17561 + GENH(R_AVR32_32, 0, 2, 32, FALSE, 0, dont, 0xffffffff),
17562 + GENH(R_AVR32_16, 0, 1, 16, FALSE, 0, bitfield, 0x0000ffff),
17563 + GENH(R_AVR32_8, 0, 0, 8, FALSE, 0, bitfield, 0x000000ff),
17564 + GENH(R_AVR32_32_PCREL, 0, 2, 32, TRUE, 0, signed, 0xffffffff),
17565 + GENH(R_AVR32_16_PCREL, 0, 1, 16, TRUE, 0, signed, 0x0000ffff),
17566 + GENH(R_AVR32_8_PCREL, 0, 0, 8, TRUE, 0, signed, 0x000000ff),
17567 +
17568 + /* Difference between two symbol (sym2 - sym1). The reloc encodes
17569 + the value of sym1. The field contains the difference before any
17570 + relaxing is done. */
17571 + GENH(R_AVR32_DIFF32, 0, 2, 32, FALSE, 0, dont, 0xffffffff),
17572 + GENH(R_AVR32_DIFF16, 0, 1, 16, FALSE, 0, signed, 0x0000ffff),
17573 + GENH(R_AVR32_DIFF8, 0, 0, 8, FALSE, 0, signed, 0x000000ff),
17574 +
17575 + GENH(R_AVR32_GOT32, 0, 2, 32, FALSE, 0, signed, 0xffffffff),
17576 + GENH(R_AVR32_GOT16, 0, 1, 16, FALSE, 0, signed, 0x0000ffff),
17577 + GENH(R_AVR32_GOT8, 0, 0, 8, FALSE, 0, signed, 0x000000ff),
17578 +
17579 + GENH(R_AVR32_21S, 0, 2, 21, FALSE, 0, signed, 0x1e10ffff),
17580 + GENH(R_AVR32_16U, 0, 2, 16, FALSE, 0, unsigned, 0x0000ffff),
17581 + GENH(R_AVR32_16S, 0, 2, 16, FALSE, 0, signed, 0x0000ffff),
17582 + GENH(R_AVR32_8S, 0, 1, 8, FALSE, 4, signed, 0x00000ff0),
17583 + GENH(R_AVR32_8S_EXT, 0, 2, 8, FALSE, 0, signed, 0x000000ff),
17584 +
17585 + GENH(R_AVR32_22H_PCREL, 1, 2, 21, TRUE, 0, signed, 0x1e10ffff),
17586 + GENH(R_AVR32_18W_PCREL, 2, 2, 16, TRUE, 0, signed, 0x0000ffff),
17587 + GENH(R_AVR32_16B_PCREL, 0, 2, 16, TRUE, 0, signed, 0x0000ffff),
17588 + GENH(R_AVR32_16N_PCREL, 0, 2, 16, TRUE, 0, signed, 0x0000ffff),
17589 + GENH(R_AVR32_14UW_PCREL, 2, 2, 12, TRUE, 0, unsigned, 0x0000f0ff),
17590 + GENH(R_AVR32_11H_PCREL, 1, 1, 10, TRUE, 4, signed, 0x00000ff3),
17591 + GENH(R_AVR32_10UW_PCREL, 2, 2, 8, TRUE, 0, unsigned, 0x000000ff),
17592 + GENH(R_AVR32_9H_PCREL, 1, 1, 8, TRUE, 4, signed, 0x00000ff0),
17593 + GENH(R_AVR32_9UW_PCREL, 2, 1, 7, TRUE, 4, unsigned, 0x000007f0),
17594 +
17595 + GENH(R_AVR32_HI16, 16, 2, 16, FALSE, 0, dont, 0x0000ffff),
17596 + GENH(R_AVR32_LO16, 0, 2, 16, FALSE, 0, dont, 0x0000ffff),
17597 +
17598 + GENH(R_AVR32_GOTPC, 0, 2, 32, FALSE, 0, dont, 0xffffffff),
17599 + GENH(R_AVR32_GOTCALL, 2, 2, 21, FALSE, 0, signed, 0x1e10ffff),
17600 + GENH(R_AVR32_LDA_GOT, 2, 2, 21, FALSE, 0, signed, 0x1e10ffff),
17601 + GENH(R_AVR32_GOT21S, 0, 2, 21, FALSE, 0, signed, 0x1e10ffff),
17602 + GENH(R_AVR32_GOT18SW, 2, 2, 16, FALSE, 0, signed, 0x0000ffff),
17603 + GENH(R_AVR32_GOT16S, 0, 2, 16, FALSE, 0, signed, 0x0000ffff),
17604 + GENH(R_AVR32_GOT7UW, 2, 1, 5, FALSE, 4, unsigned, 0x000001f0),
17605 +
17606 + GENH(R_AVR32_32_CPENT, 0, 2, 32, FALSE, 0, dont, 0xffffffff),
17607 + GENH(R_AVR32_CPCALL, 2, 2, 16, TRUE, 0, signed, 0x0000ffff),
17608 + GENH(R_AVR32_16_CP, 0, 2, 16, TRUE, 0, signed, 0x0000ffff),
17609 + GENH(R_AVR32_9W_CP, 2, 1, 7, TRUE, 4, unsigned, 0x000007f0),
17610 +
17611 + GENH(R_AVR32_RELATIVE, 0, 2, 32, FALSE, 0, signed, 0xffffffff),
17612 + GENH(R_AVR32_GLOB_DAT, 0, 2, 32, FALSE, 0, dont, 0xffffffff),
17613 + GENH(R_AVR32_JMP_SLOT, 0, 2, 32, FALSE, 0, dont, 0xffffffff),
17614 +
17615 + GENH(R_AVR32_ALIGN, 0, 1, 0, FALSE, 0, unsigned, 0x00000000),
17616 +};
17617 +
17618 +struct elf_reloc_map
17619 +{
17620 + bfd_reloc_code_real_type bfd_reloc_val;
17621 + unsigned char elf_reloc_val;
17622 +};
17623 +
17624 +static const struct elf_reloc_map avr32_reloc_map[] =
17625 +{
17626 + { BFD_RELOC_NONE, R_AVR32_NONE },
17627 +
17628 + { BFD_RELOC_32, R_AVR32_32 },
17629 + { BFD_RELOC_16, R_AVR32_16 },
17630 + { BFD_RELOC_8, R_AVR32_8 },
17631 + { BFD_RELOC_32_PCREL, R_AVR32_32_PCREL },
17632 + { BFD_RELOC_16_PCREL, R_AVR32_16_PCREL },
17633 + { BFD_RELOC_8_PCREL, R_AVR32_8_PCREL },
17634 + { BFD_RELOC_AVR32_DIFF32, R_AVR32_DIFF32 },
17635 + { BFD_RELOC_AVR32_DIFF16, R_AVR32_DIFF16 },
17636 + { BFD_RELOC_AVR32_DIFF8, R_AVR32_DIFF8 },
17637 + { BFD_RELOC_AVR32_GOT32, R_AVR32_GOT32 },
17638 + { BFD_RELOC_AVR32_GOT16, R_AVR32_GOT16 },
17639 + { BFD_RELOC_AVR32_GOT8, R_AVR32_GOT8 },
17640 +
17641 + { BFD_RELOC_AVR32_21S, R_AVR32_21S },
17642 + { BFD_RELOC_AVR32_16U, R_AVR32_16U },
17643 + { BFD_RELOC_AVR32_16S, R_AVR32_16S },
17644 + { BFD_RELOC_AVR32_SUB5, R_AVR32_16S },
17645 + { BFD_RELOC_AVR32_8S_EXT, R_AVR32_8S_EXT },
17646 + { BFD_RELOC_AVR32_8S, R_AVR32_8S },
17647 +
17648 + { BFD_RELOC_AVR32_22H_PCREL, R_AVR32_22H_PCREL },
17649 + { BFD_RELOC_AVR32_18W_PCREL, R_AVR32_18W_PCREL },
17650 + { BFD_RELOC_AVR32_16B_PCREL, R_AVR32_16B_PCREL },
17651 + { BFD_RELOC_AVR32_16N_PCREL, R_AVR32_16N_PCREL },
17652 + { BFD_RELOC_AVR32_11H_PCREL, R_AVR32_11H_PCREL },
17653 + { BFD_RELOC_AVR32_10UW_PCREL, R_AVR32_10UW_PCREL },
17654 + { BFD_RELOC_AVR32_9H_PCREL, R_AVR32_9H_PCREL },
17655 + { BFD_RELOC_AVR32_9UW_PCREL, R_AVR32_9UW_PCREL },
17656 +
17657 + { BFD_RELOC_HI16, R_AVR32_HI16 },
17658 + { BFD_RELOC_LO16, R_AVR32_LO16 },
17659 +
17660 + { BFD_RELOC_AVR32_GOTPC, R_AVR32_GOTPC },
17661 + { BFD_RELOC_AVR32_GOTCALL, R_AVR32_GOTCALL },
17662 + { BFD_RELOC_AVR32_LDA_GOT, R_AVR32_LDA_GOT },
17663 + { BFD_RELOC_AVR32_GOT21S, R_AVR32_GOT21S },
17664 + { BFD_RELOC_AVR32_GOT18SW, R_AVR32_GOT18SW },
17665 + { BFD_RELOC_AVR32_GOT16S, R_AVR32_GOT16S },
17666 + /* GOT7UW should never be generated by the assembler */
17667 +
17668 + { BFD_RELOC_AVR32_32_CPENT, R_AVR32_32_CPENT },
17669 + { BFD_RELOC_AVR32_CPCALL, R_AVR32_CPCALL },
17670 + { BFD_RELOC_AVR32_16_CP, R_AVR32_16_CP },
17671 + { BFD_RELOC_AVR32_9W_CP, R_AVR32_9W_CP },
17672 +
17673 + { BFD_RELOC_AVR32_ALIGN, R_AVR32_ALIGN },
17674 +};
17675 +
17676 +static reloc_howto_type *
17677 +bfd_elf32_bfd_reloc_type_lookup (bfd *abfd ATTRIBUTE_UNUSED,
17678 + bfd_reloc_code_real_type code)
17679 +{
17680 + unsigned int i;
17681 +
17682 + for (i = 0; i < sizeof(avr32_reloc_map) / sizeof(struct elf_reloc_map); i++)
17683 + {
17684 + if (avr32_reloc_map[i].bfd_reloc_val == code)
17685 + return &elf_avr32_howto_table[avr32_reloc_map[i].elf_reloc_val];
17686 + }
17687 +
17688 + return NULL;
17689 +}
17690 +
17691 +static void
17692 +avr32_info_to_howto (bfd *abfd ATTRIBUTE_UNUSED,
17693 + arelent *cache_ptr,
17694 + Elf_Internal_Rela *dst)
17695 +{
17696 + unsigned int r_type;
17697 +
17698 + r_type = ELF32_R_TYPE (dst->r_info);
17699 + BFD_ASSERT (r_type < (unsigned int) R_AVR32_max);
17700 + cache_ptr->howto = &elf_avr32_howto_table[r_type];
17701 +}
17702 +
17703 +\f
17704 +/* AVR32 ELF linker hash table and associated hash entries. */
17705 +
17706 +static struct bfd_hash_entry *
17707 +avr32_elf_link_hash_newfunc(struct bfd_hash_entry *entry,
17708 + struct bfd_hash_table *table,
17709 + const char *string);
17710 +static void
17711 +avr32_elf_copy_indirect_symbol(struct bfd_link_info *info,
17712 + struct elf_link_hash_entry *dir,
17713 + struct elf_link_hash_entry *ind);
17714 +static struct bfd_link_hash_table *
17715 +avr32_elf_link_hash_table_create(bfd *abfd);
17716 +
17717 +/*
17718 + Try to limit memory usage to something reasonable when sorting the
17719 + GOT. If we ever get more than this many references to the same
17720 + symbol, we may need to do something special.
17721 +*/
17722 +#define MAX_NR_GOT_HOLES 8192
17723 +
17724 +/*
17725 + AVR32 GOT entry. We need to keep track of refcounts and offsets
17726 + simultaneously, since we need the offsets during relaxation, and we
17727 + also want to be able to drop GOT entries during relaxation. In
17728 + addition to this, we want to keep the list of GOT entries sorted so
17729 + that we can keep the most-used entries at the lowest offsets.
17730 +*/
17731 +struct got_entry
17732 +{
17733 + struct got_entry *next;
17734 + struct got_entry **pprev;
17735 + int refcount;
17736 + bfd_signed_vma offset;
17737 +};
17738 +
17739 +struct elf_avr32_link_hash_entry
17740 +{
17741 + struct elf_link_hash_entry root;
17742 +
17743 + /* Number of runtime relocations against this symbol. */
17744 + unsigned int possibly_dynamic_relocs;
17745 +
17746 + /* If there are anything but R_AVR32_GOT18 relocations against this
17747 + symbol, it means that someone may be taking the address of the
17748 + function, and we should therefore not create a stub. */
17749 + bfd_boolean no_fn_stub;
17750 +
17751 + /* If there is a R_AVR32_32 relocation in a read-only section
17752 + against this symbol, we could be in trouble. If we're linking a
17753 + shared library or this symbol is defined in one, it means we must
17754 + emit a run-time reloc for it and that's not allowed in read-only
17755 + sections. */
17756 + asection *readonly_reloc_sec;
17757 + bfd_vma readonly_reloc_offset;
17758 +
17759 + /* Record which frag (if any) contains the symbol. This is used
17760 + during relaxation in order to avoid having to update all symbols
17761 + whenever we move something. For local symbols, this information
17762 + is in the local_sym_frag member of struct elf_obj_tdata. */
17763 + struct fragment *sym_frag;
17764 +};
17765 +#define avr32_elf_hash_entry(ent) ((struct elf_avr32_link_hash_entry *)(ent))
17766 +
17767 +struct elf_avr32_link_hash_table
17768 +{
17769 + struct elf_link_hash_table root;
17770 +
17771 + /* Shortcuts to get to dynamic linker sections. */
17772 + asection *sgot;
17773 + asection *srelgot;
17774 + asection *sreldyn;
17775 + asection *sstub;
17776 +
17777 + /* We use a variation of Pigeonhole Sort to sort the GOT. After the
17778 + initial refcounts have been determined, we initialize
17779 + nr_got_holes to the highest refcount ever seen and allocate an
17780 + array of nr_got_holes entries for got_hole. Each GOT entry is
17781 + then stored in this array at the index given by its refcount.
17782 +
17783 + When a GOT entry has its refcount decremented during relaxation,
17784 + it is moved to a lower index in the got_hole array.
17785 + */
17786 + struct got_entry **got_hole;
17787 + int nr_got_holes;
17788 +
17789 + /* Dynamic relocations to local symbols. Only used when linking a
17790 + shared library and -Bsymbolic is not given. */
17791 + unsigned int local_dynamic_relocs;
17792 +
17793 + bfd_boolean relocations_analyzed;
17794 + bfd_boolean symbols_adjusted;
17795 + bfd_boolean repeat_pass;
17796 + unsigned int relax_iteration;
17797 + unsigned int relax_pass;
17798 +};
17799 +#define avr32_elf_hash_table(p) \
17800 + ((struct elf_avr32_link_hash_table *)((p)->hash))
17801 +
17802 +static struct bfd_hash_entry *
17803 +avr32_elf_link_hash_newfunc(struct bfd_hash_entry *entry,
17804 + struct bfd_hash_table *table,
17805 + const char *string)
17806 +{
17807 + struct elf_avr32_link_hash_entry *ret = avr32_elf_hash_entry(entry);
17808 +
17809 + /* Allocate the structure if it hasn't already been allocated by a
17810 + subclass */
17811 + if (ret == NULL)
17812 + ret = (struct elf_avr32_link_hash_entry *)
17813 + bfd_hash_allocate(table, sizeof(struct elf_avr32_link_hash_entry));
17814 +
17815 + if (ret == NULL)
17816 + return NULL;
17817 +
17818 + memset(ret, 0, sizeof(struct elf_avr32_link_hash_entry));
17819 +
17820 + /* Give the superclass a chance */
17821 + ret = (struct elf_avr32_link_hash_entry *)
17822 + _bfd_elf_link_hash_newfunc((struct bfd_hash_entry *)ret, table, string);
17823 +
17824 + return (struct bfd_hash_entry *)ret;
17825 +}
17826 +
17827 +/* Copy data from an indirect symbol to its direct symbol, hiding the
17828 + old indirect symbol. Process additional relocation information.
17829 + Also called for weakdefs, in which case we just let
17830 + _bfd_elf_link_hash_copy_indirect copy the flags for us. */
17831 +
17832 +static void
17833 +avr32_elf_copy_indirect_symbol(struct bfd_link_info *info,
17834 + struct elf_link_hash_entry *dir,
17835 + struct elf_link_hash_entry *ind)
17836 +{
17837 + struct elf_avr32_link_hash_entry *edir, *eind;
17838 +
17839 + _bfd_elf_link_hash_copy_indirect (info, dir, ind);
17840 +
17841 + if (ind->root.type != bfd_link_hash_indirect)
17842 + return;
17843 +
17844 + edir = (struct elf_avr32_link_hash_entry *)dir;
17845 + eind = (struct elf_avr32_link_hash_entry *)ind;
17846 +
17847 + edir->possibly_dynamic_relocs += eind->possibly_dynamic_relocs;
17848 + edir->no_fn_stub = edir->no_fn_stub || eind->no_fn_stub;
17849 +}
17850 +
17851 +static struct bfd_link_hash_table *
17852 +avr32_elf_link_hash_table_create(bfd *abfd)
17853 +{
17854 + struct elf_avr32_link_hash_table *ret;
17855 +
17856 + ret = bfd_zmalloc(sizeof(*ret));
17857 + if (ret == NULL)
17858 + return NULL;
17859 +
17860 + if (! _bfd_elf_link_hash_table_init(&ret->root, abfd,
17861 + avr32_elf_link_hash_newfunc,
17862 + sizeof (struct elf_avr32_link_hash_entry)))
17863 + {
17864 + free(ret);
17865 + return NULL;
17866 + }
17867 +
17868 + /* Prevent the BFD core from creating bogus got_entry pointers */
17869 + ret->root.init_got_refcount.glist = NULL;
17870 + ret->root.init_plt_refcount.glist = NULL;
17871 +
17872 + return &ret->root.root;
17873 +}
17874 +
17875 +\f
17876 +/* Initial analysis and creation of dynamic sections and symbols */
17877 +
17878 +static asection *
17879 +create_dynamic_section(bfd *dynobj, const char *name, flagword flags,
17880 + unsigned int align_power);
17881 +static struct elf_link_hash_entry *
17882 +create_dynamic_symbol(bfd *dynobj, struct bfd_link_info *info,
17883 + const char *name, asection *sec,
17884 + bfd_vma offset);
17885 +static bfd_boolean
17886 +avr32_elf_create_got_section (bfd *dynobj, struct bfd_link_info *info);
17887 +static bfd_boolean
17888 +avr32_elf_create_dynamic_sections (bfd *dynobj, struct bfd_link_info *info);
17889 +static bfd_boolean
17890 +avr32_check_relocs (bfd *abfd, struct bfd_link_info *info, asection *sec,
17891 + const Elf_Internal_Rela *relocs);
17892 +static bfd_boolean
17893 +avr32_elf_adjust_dynamic_symbol(struct bfd_link_info *info,
17894 + struct elf_link_hash_entry *h);
17895 +
17896 +static asection *
17897 +create_dynamic_section(bfd *dynobj, const char *name, flagword flags,
17898 + unsigned int align_power)
17899 +{
17900 + asection *sec;
17901 +
17902 + sec = bfd_make_section(dynobj, name);
17903 + if (!sec
17904 + || !bfd_set_section_flags(dynobj, sec, flags)
17905 + || !bfd_set_section_alignment(dynobj, sec, align_power))
17906 + return NULL;
17907 +
17908 + return sec;
17909 +}
17910 +
17911 +static struct elf_link_hash_entry *
17912 +create_dynamic_symbol(bfd *dynobj, struct bfd_link_info *info,
17913 + const char *name, asection *sec,
17914 + bfd_vma offset)
17915 +{
17916 + struct bfd_link_hash_entry *bh = NULL;
17917 + struct elf_link_hash_entry *h;
17918 + const struct elf_backend_data *bed = get_elf_backend_data (dynobj);
17919 +
17920 + if (!(_bfd_generic_link_add_one_symbol
17921 + (info, dynobj, name, BSF_GLOBAL, sec, offset, NULL, FALSE,
17922 + bed->collect, &bh)))
17923 + return NULL;
17924 +
17925 + h = (struct elf_link_hash_entry *)bh;
17926 + h->def_regular = 1;
17927 + h->type = STT_OBJECT;
17928 + h->other = STV_HIDDEN;
17929 +
17930 + return h;
17931 +}
17932 +
17933 +static bfd_boolean
17934 +avr32_elf_create_got_section (bfd *dynobj, struct bfd_link_info *info)
17935 +{
17936 + struct elf_avr32_link_hash_table *htab;
17937 + flagword flags;
17938 + const struct elf_backend_data *bed = get_elf_backend_data (dynobj);
17939 +
17940 + htab = avr32_elf_hash_table(info);
17941 + flags = bed->dynamic_sec_flags;
17942 +
17943 + if (htab->sgot)
17944 + return TRUE;
17945 +
17946 + htab->sgot = create_dynamic_section(dynobj, ".got", flags, 2);
17947 + htab->srelgot = create_dynamic_section(dynobj, ".rela.got",
17948 + flags | SEC_READONLY, 2);
17949 +
17950 + if (!htab->sgot || !htab->srelgot)
17951 + return FALSE;
17952 +
17953 + htab->root.hgot = create_dynamic_symbol(dynobj, info, "_GLOBAL_OFFSET_TABLE_",
17954 + htab->sgot, 0);
17955 + if (!htab->root.hgot)
17956 + return FALSE;
17957 +
17958 + /* Make room for the GOT header */
17959 + htab->sgot->size += bed->got_header_size;
17960 +
17961 + return TRUE;
17962 +}
17963 +
17964 +/* (1) Create all dynamic (i.e. linker generated) sections that we may
17965 + need during the link */
17966 +
17967 +static bfd_boolean
17968 +avr32_elf_create_dynamic_sections (bfd *dynobj, struct bfd_link_info *info)
17969 +{
17970 + struct elf_avr32_link_hash_table *htab;
17971 + flagword flags;
17972 + const struct elf_backend_data *bed = get_elf_backend_data (dynobj);
17973 +
17974 + pr_debug("(1) create dynamic sections\n");
17975 +
17976 + htab = avr32_elf_hash_table(info);
17977 + flags = bed->dynamic_sec_flags;
17978 +
17979 + if (!avr32_elf_create_got_section (dynobj, info))
17980 + return FALSE;
17981 +
17982 + if (!htab->sreldyn)
17983 + htab->sreldyn = create_dynamic_section(dynobj, ".rela.dyn",
17984 + flags | SEC_READONLY, 2);
17985 + if (!htab->sstub)
17986 + htab->sstub = create_dynamic_section(dynobj, ".stub",
17987 + flags | SEC_READONLY | SEC_CODE, 2);
17988 +
17989 + if (!htab->sreldyn || !htab->sstub)
17990 + return FALSE;
17991 +
17992 + return TRUE;
17993 +}
17994 +
17995 +/* (2) Go through all the relocs and count any potential GOT- or
17996 + PLT-references to each symbol */
17997 +
17998 +static bfd_boolean
17999 +avr32_check_relocs (bfd *abfd, struct bfd_link_info *info, asection *sec,
18000 + const Elf_Internal_Rela *relocs)
18001 +{
18002 + Elf_Internal_Shdr *symtab_hdr;
18003 + struct elf_avr32_link_hash_table *htab;
18004 + struct elf_link_hash_entry **sym_hashes;
18005 + const Elf_Internal_Rela *rel, *rel_end;
18006 + struct got_entry **local_got_ents;
18007 + struct got_entry *got;
18008 + const struct elf_backend_data *bed = get_elf_backend_data (abfd);
18009 + asection *sgot;
18010 + bfd *dynobj;
18011 +
18012 + pr_debug("(2) check relocs for %s:<%s> (size 0x%lx)\n",
18013 + abfd->filename, sec->name, sec->size);
18014 +
18015 + if (info->relocatable)
18016 + return TRUE;
18017 +
18018 + dynobj = elf_hash_table(info)->dynobj;
18019 + symtab_hdr = &elf_tdata(abfd)->symtab_hdr;
18020 + sym_hashes = elf_sym_hashes(abfd);
18021 + htab = avr32_elf_hash_table(info);
18022 + local_got_ents = elf_local_got_ents(abfd);
18023 + sgot = htab->sgot;
18024 +
18025 + rel_end = relocs + sec->reloc_count;
18026 + for (rel = relocs; rel < rel_end; rel++)
18027 + {
18028 + unsigned long r_symndx, r_type;
18029 + struct elf_avr32_link_hash_entry *h;
18030 +
18031 + r_symndx = ELF32_R_SYM(rel->r_info);
18032 + r_type = ELF32_R_TYPE(rel->r_info);
18033 +
18034 + /* Local symbols use local_got_ents, while others store the same
18035 + information in the hash entry */
18036 + if (r_symndx < symtab_hdr->sh_info)
18037 + {
18038 + pr_debug(" (2a) processing local symbol %lu\n", r_symndx);
18039 + h = NULL;
18040 + }
18041 + else
18042 + {
18043 + h = (struct elf_avr32_link_hash_entry *)
18044 + sym_hashes[r_symndx - symtab_hdr->sh_info];
18045 + while (h->root.type == bfd_link_hash_indirect
18046 + || h->root.type == bfd_link_hash_warning)
18047 + h = (struct elf_avr32_link_hash_entry *)h->root.root.u.i.link;
18048 + pr_debug(" (2a) processing symbol %s\n", h->root.root.root.string);
18049 + }
18050 +
18051 + /* Some relocs require special sections to be created. */
18052 + switch (r_type)
18053 + {
18054 + case R_AVR32_GOT32:
18055 + case R_AVR32_GOT16:
18056 + case R_AVR32_GOT8:
18057 + case R_AVR32_GOT21S:
18058 + case R_AVR32_GOT18SW:
18059 + case R_AVR32_GOT16S:
18060 + case R_AVR32_GOT7UW:
18061 + case R_AVR32_LDA_GOT:
18062 + case R_AVR32_GOTCALL:
18063 + if (rel->r_addend)
18064 + {
18065 + if (info->callbacks->reloc_dangerous
18066 + (info, _("Non-zero addend on GOT-relative relocation"),
18067 + abfd, sec, rel->r_offset) == FALSE)
18068 + return FALSE;
18069 + }
18070 + /* fall through */
18071 + case R_AVR32_GOTPC:
18072 + if (dynobj == NULL)
18073 + elf_hash_table(info)->dynobj = dynobj = abfd;
18074 + if (sgot == NULL && !avr32_elf_create_got_section(dynobj, info))
18075 + return FALSE;
18076 + break;
18077 + case R_AVR32_32:
18078 + /* We may need to create .rela.dyn later on. */
18079 + if (dynobj == NULL
18080 + && (info->shared || h != NULL)
18081 + && (sec->flags & SEC_ALLOC))
18082 + elf_hash_table(info)->dynobj = dynobj = abfd;
18083 + break;
18084 + }
18085 +
18086 + if (h != NULL && r_type != R_AVR32_GOT18SW)
18087 + h->no_fn_stub = TRUE;
18088 +
18089 + switch (r_type)
18090 + {
18091 + case R_AVR32_GOT32:
18092 + case R_AVR32_GOT16:
18093 + case R_AVR32_GOT8:
18094 + case R_AVR32_GOT21S:
18095 + case R_AVR32_GOT18SW:
18096 + case R_AVR32_GOT16S:
18097 + case R_AVR32_GOT7UW:
18098 + case R_AVR32_LDA_GOT:
18099 + case R_AVR32_GOTCALL:
18100 + if (h != NULL)
18101 + {
18102 + got = h->root.got.glist;
18103 + if (!got)
18104 + {
18105 + got = bfd_zalloc(abfd, sizeof(struct got_entry));
18106 + if (!got)
18107 + return FALSE;
18108 + h->root.got.glist = got;
18109 + }
18110 + }
18111 + else
18112 + {
18113 + if (!local_got_ents)
18114 + {
18115 + bfd_size_type size;
18116 + bfd_size_type i;
18117 + struct got_entry *tmp_entry;
18118 +
18119 + size = symtab_hdr->sh_info;
18120 + size *= sizeof(struct got_entry *) + sizeof(struct got_entry);
18121 + local_got_ents = bfd_zalloc(abfd, size);
18122 + if (!local_got_ents)
18123 + return FALSE;
18124 +
18125 + elf_local_got_ents(abfd) = local_got_ents;
18126 +
18127 + tmp_entry = (struct got_entry *)(local_got_ents
18128 + + symtab_hdr->sh_info);
18129 + for (i = 0; i < symtab_hdr->sh_info; i++)
18130 + local_got_ents[i] = &tmp_entry[i];
18131 + }
18132 +
18133 + got = local_got_ents[r_symndx];
18134 + }
18135 +
18136 + got->refcount++;
18137 + if (got->refcount > htab->nr_got_holes)
18138 + htab->nr_got_holes = got->refcount;
18139 + break;
18140 +
18141 + case R_AVR32_32:
18142 + if ((info->shared || h != NULL)
18143 + && (sec->flags & SEC_ALLOC))
18144 + {
18145 + if (htab->sreldyn == NULL)
18146 + {
18147 + htab->sreldyn = create_dynamic_section(dynobj, ".rela.dyn",
18148 + bed->dynamic_sec_flags
18149 + | SEC_READONLY, 2);
18150 + if (htab->sreldyn == NULL)
18151 + return FALSE;
18152 + }
18153 +
18154 + if (sec->flags & SEC_READONLY
18155 + && !h->readonly_reloc_sec)
18156 + {
18157 + h->readonly_reloc_sec = sec;
18158 + h->readonly_reloc_offset = rel->r_offset;
18159 + }
18160 +
18161 + if (h != NULL)
18162 + {
18163 + pr_debug("Non-GOT reference to symbol %s\n",
18164 + h->root.root.root.string);
18165 + h->possibly_dynamic_relocs++;
18166 + }
18167 + else
18168 + {
18169 + pr_debug("Non-GOT reference to local symbol %lu\n",
18170 + r_symndx);
18171 + htab->local_dynamic_relocs++;
18172 + }
18173 + }
18174 +
18175 + break;
18176 +
18177 + /* TODO: GNU_VTINHERIT and GNU_VTENTRY */
18178 + }
18179 + }
18180 +
18181 + return TRUE;
18182 +}
18183 +
18184 +/* (3) Adjust a symbol defined by a dynamic object and referenced by a
18185 + regular object. The current definition is in some section of the
18186 + dynamic object, but we're not including those sections. We have to
18187 + change the definition to something the rest of the link can
18188 + understand. */
18189 +
18190 +static bfd_boolean
18191 +avr32_elf_adjust_dynamic_symbol(struct bfd_link_info *info,
18192 + struct elf_link_hash_entry *h)
18193 +{
18194 + struct elf_avr32_link_hash_table *htab;
18195 + struct elf_avr32_link_hash_entry *havr;
18196 + bfd *dynobj;
18197 +
18198 + pr_debug("(3) adjust dynamic symbol %s\n", h->root.root.string);
18199 +
18200 + htab = avr32_elf_hash_table(info);
18201 + havr = (struct elf_avr32_link_hash_entry *)h;
18202 + dynobj = elf_hash_table(info)->dynobj;
18203 +
18204 + /* Make sure we know what is going on here. */
18205 + BFD_ASSERT (dynobj != NULL
18206 + && (h->u.weakdef != NULL
18207 + || (h->def_dynamic
18208 + && h->ref_regular
18209 + && !h->def_regular)));
18210 +
18211 + /* We don't want dynamic relocations in read-only sections. */
18212 + if (havr->readonly_reloc_sec)
18213 + {
18214 + if (info->callbacks->reloc_dangerous
18215 + (info, _("dynamic relocation in read-only section"),
18216 + havr->readonly_reloc_sec->owner, havr->readonly_reloc_sec,
18217 + havr->readonly_reloc_offset) == FALSE)
18218 + return FALSE;
18219 + }
18220 +
18221 + /* If this is a function, create a stub if possible and set the
18222 + symbol to the stub location. */
18223 + if (0 && !havr->no_fn_stub)
18224 + {
18225 + if (!h->def_regular)
18226 + {
18227 + asection *s = htab->sstub;
18228 +
18229 + BFD_ASSERT(s != NULL);
18230 +
18231 + h->root.u.def.section = s;
18232 + h->root.u.def.value = s->size;
18233 + h->plt.offset = s->size;
18234 + s->size += AVR32_FUNCTION_STUB_SIZE;
18235 +
18236 + return TRUE;
18237 + }
18238 + }
18239 + else if (h->type == STT_FUNC)
18240 + {
18241 + /* This will set the entry for this symbol in the GOT to 0, and
18242 + the dynamic linker will take care of this. */
18243 + h->root.u.def.value = 0;
18244 + return TRUE;
18245 + }
18246 +
18247 + /* If this is a weak symbol, and there is a real definition, the
18248 + processor independent code will have arranged for us to see the
18249 + real definition first, and we can just use the same value. */
18250 + if (h->u.weakdef != NULL)
18251 + {
18252 + BFD_ASSERT(h->u.weakdef->root.type == bfd_link_hash_defined
18253 + || h->u.weakdef->root.type == bfd_link_hash_defweak);
18254 + h->root.u.def.section = h->u.weakdef->root.u.def.section;
18255 + h->root.u.def.value = h->u.weakdef->root.u.def.value;
18256 + return TRUE;
18257 + }
18258 +
18259 + /* This is a reference to a symbol defined by a dynamic object which
18260 + is not a function. */
18261 +
18262 + return TRUE;
18263 +}
18264 +
18265 +\f
18266 +/* Garbage-collection of unused sections */
18267 +
18268 +static asection *
18269 +avr32_elf_gc_mark_hook(asection *sec,
18270 + struct bfd_link_info *info ATTRIBUTE_UNUSED,
18271 + Elf_Internal_Rela *rel,
18272 + struct elf_link_hash_entry *h,
18273 + Elf_Internal_Sym *sym)
18274 +{
18275 + if (h)
18276 + {
18277 + switch (ELF32_R_TYPE(rel->r_info))
18278 + {
18279 + /* TODO: VTINHERIT/VTENTRY */
18280 + default:
18281 + switch (h->root.type)
18282 + {
18283 + case bfd_link_hash_defined:
18284 + case bfd_link_hash_defweak:
18285 + return h->root.u.def.section;
18286 +
18287 + case bfd_link_hash_common:
18288 + return h->root.u.c.p->section;
18289 +
18290 + default:
18291 + break;
18292 + }
18293 + }
18294 + }
18295 + else
18296 + return bfd_section_from_elf_index(sec->owner, sym->st_shndx);
18297 +
18298 + return NULL;
18299 +}
18300 +
18301 +/* Update the GOT entry reference counts for the section being removed. */
18302 +static bfd_boolean
18303 +avr32_elf_gc_sweep_hook(bfd *abfd,
18304 + struct bfd_link_info *info ATTRIBUTE_UNUSED,
18305 + asection *sec,
18306 + const Elf_Internal_Rela *relocs)
18307 +{
18308 + Elf_Internal_Shdr *symtab_hdr;
18309 + struct elf_avr32_link_hash_entry **sym_hashes;
18310 + struct got_entry **local_got_ents;
18311 + const Elf_Internal_Rela *rel, *relend;
18312 +
18313 + if (!(sec->flags & SEC_ALLOC))
18314 + return TRUE;
18315 +
18316 + symtab_hdr = &elf_tdata(abfd)->symtab_hdr;
18317 + sym_hashes = (struct elf_avr32_link_hash_entry **)elf_sym_hashes(abfd);
18318 + local_got_ents = elf_local_got_ents(abfd);
18319 +
18320 + relend = relocs + sec->reloc_count;
18321 + for (rel = relocs; rel < relend; rel++)
18322 + {
18323 + unsigned long r_symndx;
18324 + unsigned int r_type;
18325 + struct elf_avr32_link_hash_entry *h = NULL;
18326 +
18327 + r_symndx = ELF32_R_SYM(rel->r_info);
18328 + if (r_symndx >= symtab_hdr->sh_info)
18329 + {
18330 + h = sym_hashes[r_symndx - symtab_hdr->sh_info];
18331 + while (h->root.root.type == bfd_link_hash_indirect
18332 + || h->root.root.type == bfd_link_hash_warning)
18333 + h = (struct elf_avr32_link_hash_entry *)h->root.root.u.i.link;
18334 + }
18335 +
18336 + r_type = ELF32_R_TYPE(rel->r_info);
18337 +
18338 + switch (r_type)
18339 + {
18340 + case R_AVR32_GOT32:
18341 + case R_AVR32_GOT16:
18342 + case R_AVR32_GOT8:
18343 + case R_AVR32_GOT21S:
18344 + case R_AVR32_GOT18SW:
18345 + case R_AVR32_GOT16S:
18346 + case R_AVR32_GOT7UW:
18347 + case R_AVR32_LDA_GOT:
18348 + case R_AVR32_GOTCALL:
18349 + if (h)
18350 + h->root.got.glist->refcount--;
18351 + else
18352 + local_got_ents[r_symndx]->refcount--;
18353 + break;
18354 +
18355 + case R_AVR32_32:
18356 + if (info->shared || h)
18357 + {
18358 + if (h)
18359 + h->possibly_dynamic_relocs--;
18360 + else
18361 + avr32_elf_hash_table(info)->local_dynamic_relocs--;
18362 + }
18363 +
18364 + default:
18365 + break;
18366 + }
18367 + }
18368 +
18369 + return TRUE;
18370 +}
18371 +\f
18372 +/* Sizing and refcounting of dynamic sections */
18373 +
18374 +static void
18375 +insert_got_entry(struct elf_avr32_link_hash_table *htab, struct got_entry *got);
18376 +static void
18377 +unref_got_entry(struct elf_avr32_link_hash_table *htab, struct got_entry *got);
18378 +static void
18379 +ref_got_entry(struct elf_avr32_link_hash_table *htab, struct got_entry *got);
18380 +static bfd_boolean
18381 +assign_got_offsets(struct elf_avr32_link_hash_table *htab);
18382 +static bfd_boolean
18383 +allocate_dynrelocs(struct elf_link_hash_entry *h, void *_info);
18384 +static bfd_boolean
18385 +avr32_elf_size_dynamic_sections (bfd *output_bfd,
18386 + struct bfd_link_info *info);
18387 +
18388 +static void
18389 +insert_got_entry(struct elf_avr32_link_hash_table *htab, struct got_entry *got)
18390 +{
18391 + /* TODO: Support got_refcount > htab->nr_got_holes by using a
18392 + different sort algorithm for those. */
18393 + BFD_ASSERT(got->refcount <= htab->nr_got_holes);
18394 +
18395 + got->pprev = &htab->got_hole[got->refcount];
18396 + got->next = htab->got_hole[got->refcount];
18397 + if (got->next)
18398 + got->next->pprev = &got->next;
18399 +
18400 + htab->got_hole[got->refcount] = got;
18401 +}
18402 +
18403 +/* Decrement the refcount of a GOT entry and update its position in
18404 + the pigeonhole array. */
18405 +static void
18406 +unref_got_entry(struct elf_avr32_link_hash_table *htab, struct got_entry *got)
18407 +{
18408 + BFD_ASSERT(got->refcount <= htab->nr_got_holes);
18409 + BFD_ASSERT(got->refcount > 0);
18410 +
18411 + if (got->next)
18412 + got->next->pprev = got->pprev;
18413 +
18414 + *(got->pprev) = got->next;
18415 + got->refcount--;
18416 + insert_got_entry(htab, got);
18417 +}
18418 +
18419 +static void
18420 +ref_got_entry(struct elf_avr32_link_hash_table *htab, struct got_entry *got)
18421 +{
18422 + if (got->next)
18423 + got->next->pprev = got->pprev;
18424 +
18425 + *(got->pprev) = got->next;
18426 + got->refcount++;
18427 + insert_got_entry(htab, got);
18428 +
18429 + BFD_ASSERT(got->refcount > 0);
18430 + BFD_ASSERT(got->refcount <= htab->nr_got_holes);
18431 +}
18432 +
18433 +/* Assign offsets to all GOT entries we intend to keep. The entries
18434 + that are referenced most often are placed at low offsets so that we
18435 + can use compact instructions as much as possible.
18436 +
18437 + Returns TRUE if any offsets or the total size of the GOT changed. */
18438 +
18439 +static bfd_boolean
18440 +assign_got_offsets(struct elf_avr32_link_hash_table *htab)
18441 +{
18442 + struct got_entry *got;
18443 + bfd_size_type got_size = 0;
18444 + bfd_boolean changed = FALSE;
18445 + bfd_signed_vma offset;
18446 + int i;
18447 +
18448 + /* The GOT header provides the address of the DYNAMIC segment, so
18449 + we need that even if the GOT is otherwise empty. */
18450 + if (htab->root.dynamic_sections_created)
18451 + got_size = AVR32_GOT_HEADER_SIZE;
18452 +
18453 + for (i = htab->nr_got_holes; i > 0; i--)
18454 + {
18455 + got = htab->got_hole[i];
18456 + while (got)
18457 + {
18458 + if (got->refcount > 0)
18459 + {
18460 + offset = got_size;
18461 + if (got->offset != offset)
18462 + {
18463 + RDBG("GOT offset changed: %ld -> %ld\n",
18464 + got->offset, offset);
18465 + changed = TRUE;
18466 + }
18467 + got->offset = offset;
18468 + got_size += 4;
18469 + }
18470 + got = got->next;
18471 + }
18472 + }
18473 +
18474 + if (htab->sgot->size != got_size)
18475 + {
18476 + RDBG("GOT size changed: %lu -> %lu\n", htab->sgot->size,
18477 + got_size);
18478 + changed = TRUE;
18479 + }
18480 + htab->sgot->size = got_size;
18481 +
18482 + RDBG("assign_got_offsets: total size %lu (%s)\n",
18483 + got_size, changed ? "changed" : "no change");
18484 +
18485 + return changed;
18486 +}
18487 +
18488 +static bfd_boolean
18489 +allocate_dynrelocs(struct elf_link_hash_entry *h, void *_info)
18490 +{
18491 + struct bfd_link_info *info = _info;
18492 + struct elf_avr32_link_hash_table *htab;
18493 + struct elf_avr32_link_hash_entry *havr;
18494 + struct got_entry *got;
18495 +
18496 + pr_debug(" (4b) allocate_dynrelocs: %s\n", h->root.root.string);
18497 +
18498 + if (h->root.type == bfd_link_hash_indirect)
18499 + return TRUE;
18500 +
18501 + if (h->root.type == bfd_link_hash_warning)
18502 + /* When warning symbols are created, they **replace** the "real"
18503 + entry in the hash table, thus we never get to see the real
18504 + symbol in a hash traversal. So look at it now. */
18505 + h = (struct elf_link_hash_entry *) h->root.u.i.link;
18506 +
18507 + htab = avr32_elf_hash_table(info);
18508 + havr = (struct elf_avr32_link_hash_entry *)h;
18509 +
18510 + got = h->got.glist;
18511 +
18512 + /* If got is NULL, the symbol is never referenced through the GOT */
18513 + if (got && got->refcount > 0)
18514 + {
18515 + insert_got_entry(htab, got);
18516 +
18517 + /* Shared libraries need relocs for all GOT entries unless the
18518 + symbol is forced local or -Bsymbolic is used. Others need
18519 + relocs for everything that is not guaranteed to be defined in
18520 + a regular object. */
18521 + if ((info->shared
18522 + && !info->symbolic
18523 + && h->dynindx != -1)
18524 + || (htab->root.dynamic_sections_created
18525 + && h->def_dynamic
18526 + && !h->def_regular))
18527 + htab->srelgot->size += sizeof(Elf32_External_Rela);
18528 + }
18529 +
18530 + if (havr->possibly_dynamic_relocs
18531 + && (info->shared
18532 + || (elf_hash_table(info)->dynamic_sections_created
18533 + && h->def_dynamic
18534 + && !h->def_regular)))
18535 + {
18536 + pr_debug("Allocating %d dynamic reloc against symbol %s...\n",
18537 + havr->possibly_dynamic_relocs, h->root.root.string);
18538 + htab->sreldyn->size += (havr->possibly_dynamic_relocs
18539 + * sizeof(Elf32_External_Rela));
18540 + }
18541 +
18542 + return TRUE;
18543 +}
18544 +
18545 +/* (4) Calculate the sizes of the linker-generated sections and
18546 + allocate memory for them. */
18547 +
18548 +static bfd_boolean
18549 +avr32_elf_size_dynamic_sections (bfd *output_bfd,
18550 + struct bfd_link_info *info)
18551 +{
18552 + struct elf_avr32_link_hash_table *htab;
18553 + bfd *dynobj;
18554 + asection *s;
18555 + bfd *ibfd;
18556 + bfd_boolean relocs;
18557 +
18558 + pr_debug("(4) size dynamic sections\n");
18559 +
18560 + htab = avr32_elf_hash_table(info);
18561 + dynobj = htab->root.dynobj;
18562 + BFD_ASSERT(dynobj != NULL);
18563 +
18564 + if (htab->root.dynamic_sections_created)
18565 + {
18566 + /* Initialize the contents of the .interp section to the name of
18567 + the dynamic loader */
18568 + if (info->executable)
18569 + {
18570 + s = bfd_get_section_by_name(dynobj, ".interp");
18571 + BFD_ASSERT(s != NULL);
18572 + s->size = sizeof(ELF_DYNAMIC_INTERPRETER);
18573 + s->contents = (unsigned char *)ELF_DYNAMIC_INTERPRETER;
18574 + }
18575 + }
18576 +
18577 + if (htab->nr_got_holes > 0)
18578 + {
18579 + /* Allocate holes for the pigeonhole sort algorithm */
18580 + pr_debug("Highest GOT refcount: %d\n", htab->nr_got_holes);
18581 + if (htab->nr_got_holes >= MAX_NR_GOT_HOLES)
18582 + {
18583 + /* TODO: Do something clever (different sorting algorithm) */
18584 + _bfd_error_handler(_("Highest refcount %d too high (max %d)\n"),
18585 + htab->nr_got_holes, MAX_NR_GOT_HOLES);
18586 + bfd_set_error(bfd_error_no_memory);
18587 + return FALSE;
18588 + }
18589 + htab->got_hole = bfd_zalloc(output_bfd,
18590 + sizeof(struct got_entry *)
18591 + * (htab->nr_got_holes + 1));
18592 + if (!htab->got_hole)
18593 + return FALSE;
18594 +
18595 + /* Set up .got offsets for local syms. */
18596 + for (ibfd = info->input_bfds; ibfd != NULL; ibfd = ibfd->link_next)
18597 + {
18598 + struct got_entry **local_got;
18599 + struct got_entry **end_local_got;
18600 + Elf_Internal_Shdr *symtab_hdr;
18601 + bfd_size_type locsymcount;
18602 +
18603 + pr_debug(" (4a) processing file %s...\n", ibfd->filename);
18604 +
18605 + BFD_ASSERT(bfd_get_flavour(ibfd) == bfd_target_elf_flavour);
18606 +
18607 + local_got = elf_local_got_ents(ibfd);
18608 + if (!local_got)
18609 + continue;
18610 +
18611 + symtab_hdr = &elf_tdata(ibfd)->symtab_hdr;
18612 + locsymcount = symtab_hdr->sh_info;
18613 + end_local_got = local_got + locsymcount;
18614 +
18615 + for (; local_got < end_local_got; ++local_got)
18616 + insert_got_entry(htab, *local_got);
18617 + }
18618 + }
18619 +
18620 + /* Allocate global sym .got entries and space for global sym
18621 + dynamic relocs */
18622 + elf_link_hash_traverse(&htab->root, allocate_dynrelocs, info);
18623 +
18624 + /* Now that we have sorted the GOT entries, we are ready to
18625 + assign offsets and determine the initial size of the GOT. */
18626 + if (htab->sgot)
18627 + assign_got_offsets(htab);
18628 +
18629 + /* Allocate space for local sym dynamic relocs */
18630 + BFD_ASSERT(htab->local_dynamic_relocs == 0 || info->shared);
18631 + if (htab->local_dynamic_relocs)
18632 + htab->sreldyn->size += (htab->local_dynamic_relocs
18633 + * sizeof(Elf32_External_Rela));
18634 +
18635 + /* We now have determined the sizes of the various dynamic
18636 + sections. Allocate memory for them. */
18637 + relocs = FALSE;
18638 + for (s = dynobj->sections; s; s = s->next)
18639 + {
18640 + if ((s->flags & SEC_LINKER_CREATED) == 0)
18641 + continue;
18642 +
18643 + if (s == htab->sgot
18644 + || s == htab->sstub)
18645 + {
18646 + /* Strip this section if we don't need it */
18647 + }
18648 + else if (strncmp (bfd_get_section_name(dynobj, s), ".rela", 5) == 0)
18649 + {
18650 + if (s->size != 0)
18651 + relocs = TRUE;
18652 +
18653 + s->reloc_count = 0;
18654 + }
18655 + else
18656 + {
18657 + /* It's not one of our sections */
18658 + continue;
18659 + }
18660 +
18661 + if (s->size == 0)
18662 + {
18663 + /* Strip unneeded sections */
18664 + pr_debug("Stripping section %s from output...\n", s->name);
18665 + /* deleted function in 2.17
18666 + _bfd_strip_section_from_output(info, s);
18667 + */
18668 + continue;
18669 + }
18670 +
18671 + s->contents = bfd_zalloc(dynobj, s->size);
18672 + if (s->contents == NULL)
18673 + return FALSE;
18674 + }
18675 +
18676 + if (htab->root.dynamic_sections_created)
18677 + {
18678 + /* Add some entries to the .dynamic section. We fill in the
18679 + values later, in sh_elf_finish_dynamic_sections, but we
18680 + must add the entries now so that we get the correct size for
18681 + the .dynamic section. The DT_DEBUG entry is filled in by the
18682 + dynamic linker and used by the debugger. */
18683 +#define add_dynamic_entry(TAG, VAL) _bfd_elf_add_dynamic_entry(info, TAG, VAL)
18684 +
18685 + if (!add_dynamic_entry(DT_PLTGOT, 0))
18686 + return FALSE;
18687 + if (!add_dynamic_entry(DT_AVR32_GOTSZ, 0))
18688 + return FALSE;
18689 +
18690 + if (info->executable)
18691 + {
18692 + if (!add_dynamic_entry(DT_DEBUG, 0))
18693 + return FALSE;
18694 + }
18695 + if (relocs)
18696 + {
18697 + if (!add_dynamic_entry(DT_RELA, 0)
18698 + || !add_dynamic_entry(DT_RELASZ, 0)
18699 + || !add_dynamic_entry(DT_RELAENT,
18700 + sizeof(Elf32_External_Rela)))
18701 + return FALSE;
18702 + }
18703 + }
18704 +#undef add_dynamic_entry
18705 +
18706 + return TRUE;
18707 +}
18708 +
18709 +\f
18710 +/* Access to internal relocations, section contents and symbols.
18711 + (stolen from the xtensa port) */
18712 +
18713 +static Elf_Internal_Rela *
18714 +retrieve_internal_relocs (bfd *abfd, asection *sec, bfd_boolean keep_memory);
18715 +static void
18716 +pin_internal_relocs (asection *sec, Elf_Internal_Rela *internal_relocs);
18717 +static void
18718 +release_internal_relocs (asection *sec, Elf_Internal_Rela *internal_relocs);
18719 +static bfd_byte *
18720 +retrieve_contents (bfd *abfd, asection *sec, bfd_boolean keep_memory);
18721 +/*
18722 +static void
18723 +pin_contents (asection *sec, bfd_byte *contents);
18724 +*/
18725 +static void
18726 +release_contents (asection *sec, bfd_byte *contents);
18727 +static Elf_Internal_Sym *
18728 +retrieve_local_syms (bfd *input_bfd, bfd_boolean keep_memory);
18729 +/*
18730 +static void
18731 +pin_local_syms (bfd *input_bfd, Elf_Internal_Sym *isymbuf);
18732 +*/
18733 +static void
18734 +release_local_syms (bfd *input_bfd, Elf_Internal_Sym *isymbuf);
18735 +
18736 +/* During relaxation, we need to modify relocations, section contents,
18737 + and symbol definitions, and we need to keep the original values from
18738 + being reloaded from the input files, i.e., we need to "pin" the
18739 + modified values in memory. We also want to continue to observe the
18740 + setting of the "keep-memory" flag. The following functions wrap the
18741 + standard BFD functions to take care of this for us. */
18742 +
18743 +static Elf_Internal_Rela *
18744 +retrieve_internal_relocs (bfd *abfd, asection *sec, bfd_boolean keep_memory)
18745 +{
18746 + /* _bfd_elf_link_read_relocs knows about caching, so no need for us
18747 + to be clever here. */
18748 + return _bfd_elf_link_read_relocs(abfd, sec, NULL, NULL, keep_memory);
18749 +}
18750 +
18751 +static void
18752 +pin_internal_relocs (asection *sec, Elf_Internal_Rela *internal_relocs)
18753 +{
18754 + elf_section_data (sec)->relocs = internal_relocs;
18755 +}
18756 +
18757 +static void
18758 +release_internal_relocs (asection *sec, Elf_Internal_Rela *internal_relocs)
18759 +{
18760 + if (internal_relocs
18761 + && elf_section_data (sec)->relocs != internal_relocs)
18762 + free (internal_relocs);
18763 +}
18764 +
18765 +static bfd_byte *
18766 +retrieve_contents (bfd *abfd, asection *sec, bfd_boolean keep_memory)
18767 +{
18768 + bfd_byte *contents;
18769 + bfd_size_type sec_size;
18770 +
18771 + sec_size = bfd_get_section_limit (abfd, sec);
18772 + contents = elf_section_data (sec)->this_hdr.contents;
18773 +
18774 + if (contents == NULL && sec_size != 0)
18775 + {
18776 + if (!bfd_malloc_and_get_section (abfd, sec, &contents))
18777 + {
18778 + if (contents)
18779 + free (contents);
18780 + return NULL;
18781 + }
18782 + if (keep_memory)
18783 + elf_section_data (sec)->this_hdr.contents = contents;
18784 + }
18785 + return contents;
18786 +}
18787 +
18788 +/*
18789 +static void
18790 +pin_contents (asection *sec, bfd_byte *contents)
18791 +{
18792 + elf_section_data (sec)->this_hdr.contents = contents;
18793 +}
18794 +*/
18795 +static void
18796 +release_contents (asection *sec, bfd_byte *contents)
18797 +{
18798 + if (contents && elf_section_data (sec)->this_hdr.contents != contents)
18799 + free (contents);
18800 +}
18801 +
18802 +static Elf_Internal_Sym *
18803 +retrieve_local_syms (bfd *input_bfd, bfd_boolean keep_memory)
18804 +{
18805 + Elf_Internal_Shdr *symtab_hdr;
18806 + Elf_Internal_Sym *isymbuf;
18807 + size_t locsymcount;
18808 +
18809 + symtab_hdr = &elf_tdata (input_bfd)->symtab_hdr;
18810 + locsymcount = symtab_hdr->sh_info;
18811 +
18812 + isymbuf = (Elf_Internal_Sym *) symtab_hdr->contents;
18813 + if (isymbuf == NULL && locsymcount != 0)
18814 + {
18815 + isymbuf = bfd_elf_get_elf_syms (input_bfd, symtab_hdr, locsymcount, 0,
18816 + NULL, NULL, NULL);
18817 + if (isymbuf && keep_memory)
18818 + symtab_hdr->contents = (unsigned char *) isymbuf;
18819 + }
18820 +
18821 + return isymbuf;
18822 +}
18823 +
18824 +/*
18825 +static void
18826 +pin_local_syms (bfd *input_bfd, Elf_Internal_Sym *isymbuf)
18827 +{
18828 + elf_tdata (input_bfd)->symtab_hdr.contents = (unsigned char *)isymbuf;
18829 +}
18830 +
18831 +*/
18832 +static void
18833 +release_local_syms (bfd *input_bfd, Elf_Internal_Sym *isymbuf)
18834 +{
18835 + if (isymbuf && (elf_tdata (input_bfd)->symtab_hdr.contents
18836 + != (unsigned char *)isymbuf))
18837 + free (isymbuf);
18838 +}
18839 +
18840 +\f/* Data structures used during relaxation. */
18841 +
18842 +enum relax_state_id {
18843 + RS_ERROR = -1,
18844 + RS_NONE = 0,
18845 + RS_ALIGN,
18846 + RS_CPENT,
18847 + RS_PIC_CALL,
18848 + RS_PIC_MCALL,
18849 + RS_PIC_RCALL2,
18850 + RS_PIC_RCALL1,
18851 + RS_PIC_LDA,
18852 + RS_PIC_LDW4,
18853 + RS_PIC_LDW3,
18854 + RS_PIC_SUB5,
18855 + RS_NOPIC_MCALL,
18856 + RS_NOPIC_RCALL2,
18857 + RS_NOPIC_RCALL1,
18858 + RS_NOPIC_LDW4,
18859 + RS_NOPIC_LDDPC,
18860 + RS_NOPIC_SUB5,
18861 + RS_RCALL2,
18862 + RS_RCALL1,
18863 + RS_BRC2,
18864 + RS_BRC1,
18865 + RS_BRAL,
18866 + RS_RJMP,
18867 + RS_MAX,
18868 +};
18869 +
18870 +enum reference_type {
18871 + REF_ABSOLUTE,
18872 + REF_PCREL,
18873 + REF_CPOOL,
18874 + REF_GOT,
18875 +};
18876 +
18877 +struct relax_state
18878 +{
18879 + const char *name;
18880 + enum relax_state_id id;
18881 + enum relax_state_id direct;
18882 + enum relax_state_id next;
18883 + enum relax_state_id prev;
18884 +
18885 + enum reference_type reftype;
18886 +
18887 + unsigned int r_type;
18888 +
18889 + bfd_vma opcode;
18890 + bfd_vma opcode_mask;
18891 +
18892 + bfd_signed_vma range_min;
18893 + bfd_signed_vma range_max;
18894 +
18895 + bfd_size_type size;
18896 +};
18897 +
18898 +/*
18899 + * This is for relocs that
18900 + * a) has an addend or is of type R_AVR32_DIFF32, and
18901 + * b) references a different section than it's in, and
18902 + * c) references a section that is relaxable
18903 + *
18904 + * as well as relocs that references the constant pool, in which case
18905 + * the add_frag member points to the frag containing the constant pool
18906 + * entry.
18907 + *
18908 + * Such relocs must be fixed up whenever we delete any code. Sections
18909 + * that don't have any relocs with all of the above properties don't
18910 + * have any additional reloc data, but sections that do will have
18911 + * additional data for all its relocs.
18912 + */
18913 +struct avr32_reloc_data
18914 +{
18915 + struct fragment *add_frag;
18916 + struct fragment *sub_frag;
18917 +};
18918 +
18919 +/*
18920 + * A 'fragment' is a relaxable entity, that is, code may be added or
18921 + * deleted at the end of a fragment. When this happens, all subsequent
18922 + * fragments in the list will have their offsets updated.
18923 + */
18924 +struct fragment
18925 +{
18926 + enum relax_state_id state;
18927 + enum relax_state_id initial_state;
18928 +
18929 + Elf_Internal_Rela *rela;
18930 + bfd_size_type size;
18931 + bfd_vma offset;
18932 + int size_adjust;
18933 + int offset_adjust;
18934 + bfd_boolean has_grown;
18935 +
18936 + /* Only used by constant pool entries. When this drops to zero, the
18937 + frag is discarded (i.e. size_adjust is set to -4.) */
18938 + int refcount;
18939 +};
18940 +
18941 +struct avr32_relax_data
18942 +{
18943 + unsigned int frag_count;
18944 + struct fragment *frag;
18945 + struct avr32_reloc_data *reloc_data;
18946 +
18947 + /* TRUE if this section has one or more relaxable relocations */
18948 + bfd_boolean is_relaxable;
18949 + unsigned int iteration;
18950 +};
18951 +
18952 +struct avr32_section_data
18953 +{
18954 + struct bfd_elf_section_data elf;
18955 + struct avr32_relax_data relax_data;
18956 +};
18957 +
18958 +\f/* Relax state definitions */
18959 +
18960 +#define PIC_MOV2_OPCODE 0xe0600000
18961 +#define PIC_MOV2_MASK 0xe1e00000
18962 +#define PIC_MOV2_RANGE_MIN (-1048576 * 4)
18963 +#define PIC_MOV2_RANGE_MAX (1048575 * 4)
18964 +#define PIC_MCALL_OPCODE 0xf0160000
18965 +#define PIC_MCALL_MASK 0xffff0000
18966 +#define PIC_MCALL_RANGE_MIN (-131072)
18967 +#define PIC_MCALL_RANGE_MAX (131068)
18968 +#define RCALL2_OPCODE 0xe0a00000
18969 +#define RCALL2_MASK 0xe1ef0000
18970 +#define RCALL2_RANGE_MIN (-2097152)
18971 +#define RCALL2_RANGE_MAX (2097150)
18972 +#define RCALL1_OPCODE 0xc00c0000
18973 +#define RCALL1_MASK 0xf00c0000
18974 +#define RCALL1_RANGE_MIN (-1024)
18975 +#define RCALL1_RANGE_MAX (1022)
18976 +#define PIC_LDW4_OPCODE 0xecf00000
18977 +#define PIC_LDW4_MASK 0xfff00000
18978 +#define PIC_LDW4_RANGE_MIN (-32768)
18979 +#define PIC_LDW4_RANGE_MAX (32767)
18980 +#define PIC_LDW3_OPCODE 0x6c000000
18981 +#define PIC_LDW3_MASK 0xfe000000
18982 +#define PIC_LDW3_RANGE_MIN (0)
18983 +#define PIC_LDW3_RANGE_MAX (124)
18984 +#define SUB5_PC_OPCODE 0xfec00000
18985 +#define SUB5_PC_MASK 0xfff00000
18986 +#define SUB5_PC_RANGE_MIN (-32768)
18987 +#define SUB5_PC_RANGE_MAX (32767)
18988 +#define NOPIC_MCALL_OPCODE 0xf01f0000
18989 +#define NOPIC_MCALL_MASK 0xffff0000
18990 +#define NOPIC_MCALL_RANGE_MIN PIC_MCALL_RANGE_MIN
18991 +#define NOPIC_MCALL_RANGE_MAX PIC_MCALL_RANGE_MAX
18992 +#define NOPIC_LDW4_OPCODE 0xfef00000
18993 +#define NOPIC_LDW4_MASK 0xfff00000
18994 +#define NOPIC_LDW4_RANGE_MIN PIC_LDW4_RANGE_MIN
18995 +#define NOPIC_LDW4_RANGE_MAX PIC_LDW4_RANGE_MAX
18996 +#define LDDPC_OPCODE 0x48000000
18997 +#define LDDPC_MASK 0xf8000000
18998 +#define LDDPC_RANGE_MIN 0
18999 +#define LDDPC_RANGE_MAX 508
19000 +
19001 +/* Only brc2 variants with cond[3] == 0 is considered, since the
19002 + others are not relaxable. bral is a special case and is handled
19003 + separately. */
19004 +#define BRC2_OPCODE 0xe0800000
19005 +#define BRC2_MASK 0xe1e80000
19006 +#define BRC2_RANGE_MIN (-2097152)
19007 +#define BRC2_RANGE_MAX (2097150)
19008 +#define BRC1_OPCODE 0xc0000000
19009 +#define BRC1_MASK 0xf0080000
19010 +#define BRC1_RANGE_MIN (-256)
19011 +#define BRC1_RANGE_MAX (254)
19012 +#define BRAL_OPCODE 0xe08f0000
19013 +#define BRAL_MASK 0xe1ef0000
19014 +#define BRAL_RANGE_MIN BRC2_RANGE_MIN
19015 +#define BRAL_RANGE_MAX BRC2_RANGE_MAX
19016 +#define RJMP_OPCODE 0xc0080000
19017 +#define RJMP_MASK 0xf00c0000
19018 +#define RJMP_RANGE_MIN (-1024)
19019 +#define RJMP_RANGE_MAX (1022)
19020 +
19021 +/* Define a relax state using the GOT */
19022 +#define RG(id, dir, next, prev, r_type, opc, size) \
19023 + { "RS_"#id, RS_##id, RS_##dir, RS_##next, RS_##prev, REF_GOT, \
19024 + R_AVR32_##r_type, opc##_OPCODE, opc##_MASK, \
19025 + opc##_RANGE_MIN, opc##_RANGE_MAX, size }
19026 +/* Define a relax state using the Constant Pool */
19027 +#define RC(id, dir, next, prev, r_type, opc, size) \
19028 + { "RS_"#id, RS_##id, RS_##dir, RS_##next, RS_##prev, REF_CPOOL, \
19029 + R_AVR32_##r_type, opc##_OPCODE, opc##_MASK, \
19030 + opc##_RANGE_MIN, opc##_RANGE_MAX, size }
19031 +
19032 +/* Define a relax state using pc-relative direct reference */
19033 +#define RP(id, dir, next, prev, r_type, opc, size) \
19034 + { "RS_"#id, RS_##id, RS_##dir, RS_##next, RS_##prev, REF_PCREL, \
19035 + R_AVR32_##r_type, opc##_OPCODE, opc##_MASK, \
19036 + opc##_RANGE_MIN, opc##_RANGE_MAX, size }
19037 +
19038 +/* Define a relax state that will be handled specially */
19039 +#define RS(id, r_type, size) \
19040 + { "RS_"#id, RS_##id, RS_NONE, RS_NONE, RS_NONE, REF_ABSOLUTE, \
19041 + R_AVR32_##r_type, 0, 0, 0, 0, size }
19042 +
19043 +const struct relax_state relax_state[RS_MAX] = {
19044 + RS(NONE, NONE, 0),
19045 + RS(ALIGN, ALIGN, 0),
19046 + RS(CPENT, 32_CPENT, 4),
19047 +
19048 + RG(PIC_CALL, PIC_RCALL1, PIC_MCALL, NONE, GOTCALL, PIC_MOV2, 10),
19049 + RG(PIC_MCALL, PIC_RCALL1, NONE, PIC_CALL, GOT18SW, PIC_MCALL, 4),
19050 + RP(PIC_RCALL2, NONE, PIC_RCALL1, PIC_MCALL, 22H_PCREL, RCALL2, 4),
19051 + RP(PIC_RCALL1, NONE, NONE, PIC_RCALL2, 11H_PCREL, RCALL1, 2),
19052 +
19053 + RG(PIC_LDA, PIC_SUB5, PIC_LDW4, NONE, LDA_GOT, PIC_MOV2, 8),
19054 + RG(PIC_LDW4, PIC_SUB5, PIC_LDW3, PIC_LDA, GOT16S, PIC_LDW4, 4),
19055 + RG(PIC_LDW3, PIC_SUB5, NONE, PIC_LDW4, GOT7UW, PIC_LDW3, 2),
19056 + RP(PIC_SUB5, NONE, NONE, PIC_LDW3, 16N_PCREL, SUB5_PC, 4),
19057 +
19058 + RC(NOPIC_MCALL, NOPIC_RCALL1, NONE, NONE, CPCALL, NOPIC_MCALL, 4),
19059 + RP(NOPIC_RCALL2, NONE, NOPIC_RCALL1, NOPIC_MCALL, 22H_PCREL, RCALL2, 4),
19060 + RP(NOPIC_RCALL1, NONE, NONE, NOPIC_RCALL2, 11H_PCREL, RCALL1, 2),
19061 +
19062 + RC(NOPIC_LDW4, NOPIC_SUB5, NOPIC_LDDPC, NONE, 16_CP, NOPIC_LDW4, 4),
19063 + RC(NOPIC_LDDPC, NOPIC_SUB5, NONE, NOPIC_LDW4, 9W_CP, LDDPC, 2),
19064 + RP(NOPIC_SUB5, NONE, NONE, NOPIC_LDDPC, 16N_PCREL, SUB5_PC, 4),
19065 +
19066 + RP(RCALL2, NONE, RCALL1, NONE, 22H_PCREL, RCALL2, 4),
19067 + RP(RCALL1, NONE, NONE, RCALL2, 11H_PCREL, RCALL1, 2),
19068 + RP(BRC2, NONE, BRC1, NONE, 22H_PCREL, BRC2, 4),
19069 + RP(BRC1, NONE, NONE, BRC2, 9H_PCREL, BRC1, 2),
19070 + RP(BRAL, NONE, RJMP, NONE, 22H_PCREL, BRAL, 4),
19071 + RP(RJMP, NONE, NONE, BRAL, 11H_PCREL, RJMP, 2),
19072 +};
19073 +
19074 +static bfd_boolean
19075 +avr32_elf_new_section_hook(bfd *abfd, asection *sec)
19076 +{
19077 + struct avr32_section_data *sdata;
19078 +
19079 + sdata = bfd_zalloc(abfd, sizeof(struct avr32_section_data));
19080 + if (!sdata)
19081 + return FALSE;
19082 +
19083 + sec->used_by_bfd = sdata;
19084 + return _bfd_elf_new_section_hook(abfd, sec);
19085 +}
19086 +
19087 +static struct avr32_relax_data *
19088 +avr32_relax_data(asection *sec)
19089 +{
19090 + struct avr32_section_data *sdata;
19091 +
19092 + BFD_ASSERT(sec->used_by_bfd);
19093 +
19094 + sdata = (struct avr32_section_data *)elf_section_data(sec);
19095 + return &sdata->relax_data;
19096 +}
19097 +
19098 +\f/* Link-time relaxation */
19099 +
19100 +static bfd_boolean
19101 +avr32_elf_relax_section(bfd *abfd, asection *sec,
19102 + struct bfd_link_info *info, bfd_boolean *again);
19103 +
19104 +enum relax_pass_id {
19105 + RELAX_PASS_SIZE_FRAGS,
19106 + RELAX_PASS_MOVE_DATA,
19107 +};
19108 +
19109 +/* Stolen from the xtensa port */
19110 +static int
19111 +internal_reloc_compare (const void *ap, const void *bp)
19112 +{
19113 + const Elf_Internal_Rela *a = (const Elf_Internal_Rela *) ap;
19114 + const Elf_Internal_Rela *b = (const Elf_Internal_Rela *) bp;
19115 +
19116 + if (a->r_offset != b->r_offset)
19117 + return (a->r_offset - b->r_offset);
19118 +
19119 + /* We don't need to sort on these criteria for correctness,
19120 + but enforcing a more strict ordering prevents unstable qsort
19121 + from behaving differently with different implementations.
19122 + Without the code below we get correct but different results
19123 + on Solaris 2.7 and 2.8. We would like to always produce the
19124 + same results no matter the host. */
19125 +
19126 + if (a->r_info != b->r_info)
19127 + return (a->r_info - b->r_info);
19128 +
19129 + return (a->r_addend - b->r_addend);
19130 +}
19131 +
19132 +static enum relax_state_id
19133 +get_pcrel22_relax_state(bfd *abfd, asection *sec, struct bfd_link_info *info,
19134 + const Elf_Internal_Rela *rela)
19135 +{
19136 + bfd_byte *contents;
19137 + bfd_vma insn;
19138 + enum relax_state_id rs = RS_NONE;
19139 +
19140 + contents = retrieve_contents(abfd, sec, info->keep_memory);
19141 + if (!contents)
19142 + return RS_ERROR;
19143 +
19144 + insn = bfd_get_32(abfd, contents + rela->r_offset);
19145 + if ((insn & RCALL2_MASK) == RCALL2_OPCODE)
19146 + rs = RS_RCALL2;
19147 + else if ((insn & BRAL_MASK) == BRAL_OPCODE)
19148 + /* Optimizing bral -> rjmp gets us into all kinds of
19149 + trouble with jump tables. Better not do it. */
19150 + rs = RS_NONE;
19151 + else if ((insn & BRC2_MASK) == BRC2_OPCODE)
19152 + rs = RS_BRC2;
19153 +
19154 + release_contents(sec, contents);
19155 +
19156 + return rs;
19157 +}
19158 +
19159 +static enum relax_state_id
19160 +get_initial_relax_state(bfd *abfd, asection *sec, struct bfd_link_info *info,
19161 + const Elf_Internal_Rela *rela)
19162 +{
19163 + switch (ELF_R_TYPE(rela->r_info))
19164 + {
19165 + case R_AVR32_GOTCALL:
19166 + return RS_PIC_CALL;
19167 + case R_AVR32_GOT18SW:
19168 + return RS_PIC_MCALL;
19169 + case R_AVR32_LDA_GOT:
19170 + return RS_PIC_LDA;
19171 + case R_AVR32_GOT16S:
19172 + return RS_PIC_LDW4;
19173 + case R_AVR32_CPCALL:
19174 + return RS_NOPIC_MCALL;
19175 + case R_AVR32_16_CP:
19176 + return RS_NOPIC_LDW4;
19177 + case R_AVR32_9W_CP:
19178 + return RS_NOPIC_LDDPC;
19179 + case R_AVR32_ALIGN:
19180 + return RS_ALIGN;
19181 + case R_AVR32_32_CPENT:
19182 + return RS_CPENT;
19183 + case R_AVR32_22H_PCREL:
19184 + return get_pcrel22_relax_state(abfd, sec, info, rela);
19185 + case R_AVR32_9H_PCREL:
19186 + return RS_BRC1;
19187 + default:
19188 + return RS_NONE;
19189 + }
19190 +}
19191 +
19192 +static bfd_boolean
19193 +reloc_is_cpool_ref(const Elf_Internal_Rela *rela)
19194 +{
19195 + switch (ELF_R_TYPE(rela->r_info))
19196 + {
19197 + case R_AVR32_CPCALL:
19198 + case R_AVR32_16_CP:
19199 + case R_AVR32_9W_CP:
19200 + return TRUE;
19201 + default:
19202 + return FALSE;
19203 + }
19204 +}
19205 +
19206 +static struct fragment *
19207 +new_frag(bfd *abfd ATTRIBUTE_UNUSED, asection *sec,
19208 + struct avr32_relax_data *rd, enum relax_state_id state,
19209 + Elf_Internal_Rela *rela)
19210 +{
19211 + struct fragment *frag;
19212 + bfd_size_type r_size;
19213 + bfd_vma r_offset;
19214 + unsigned int i = rd->frag_count;
19215 +
19216 + BFD_ASSERT(state >= RS_NONE && state < RS_MAX);
19217 +
19218 + rd->frag_count++;
19219 + frag = bfd_realloc(rd->frag, sizeof(struct fragment) * rd->frag_count);
19220 + if (!frag)
19221 + return NULL;
19222 + rd->frag = frag;
19223 +
19224 + frag += i;
19225 + memset(frag, 0, sizeof(struct fragment));
19226 +
19227 + if (state == RS_ALIGN)
19228 + r_size = (((rela->r_offset + (1 << rela->r_addend) - 1)
19229 + & ~((1 << rela->r_addend) - 1)) - rela->r_offset);
19230 + else
19231 + r_size = relax_state[state].size;
19232 +
19233 + if (rela)
19234 + r_offset = rela->r_offset;
19235 + else
19236 + r_offset = sec->size;
19237 +
19238 + if (i == 0)
19239 + {
19240 + frag->offset = 0;
19241 + frag->size = r_offset + r_size;
19242 + }
19243 + else
19244 + {
19245 + frag->offset = rd->frag[i - 1].offset + rd->frag[i - 1].size;
19246 + frag->size = r_offset + r_size - frag->offset;
19247 + }
19248 +
19249 + if (state != RS_CPENT)
19250 + /* Make sure we don't discard this frag */
19251 + frag->refcount = 1;
19252 +
19253 + frag->initial_state = frag->state = state;
19254 + frag->rela = rela;
19255 +
19256 + return frag;
19257 +}
19258 +
19259 +static struct fragment *
19260 +find_frag(asection *sec, bfd_vma offset)
19261 +{
19262 + struct fragment *first, *last;
19263 + struct avr32_relax_data *rd = avr32_relax_data(sec);
19264 +
19265 + if (rd->frag_count == 0)
19266 + return NULL;
19267 +
19268 + first = &rd->frag[0];
19269 + last = &rd->frag[rd->frag_count - 1];
19270 +
19271 + /* This may be a reloc referencing the end of a section. The last
19272 + frag will never have a reloc associated with it, so its size will
19273 + never change, thus the offset adjustment of the last frag will
19274 + always be the same as the offset adjustment of the end of the
19275 + section. */
19276 + if (offset == sec->size)
19277 + {
19278 + BFD_ASSERT(last->offset + last->size == sec->size);
19279 + BFD_ASSERT(!last->rela);
19280 + return last;
19281 + }
19282 +
19283 + while (first <= last)
19284 + {
19285 + struct fragment *mid;
19286 +
19287 + mid = (last - first) / 2 + first;
19288 + if ((mid->offset + mid->size) <= offset)
19289 + first = mid + 1;
19290 + else if (mid->offset > offset)
19291 + last = mid - 1;
19292 + else
19293 + return mid;
19294 + }
19295 +
19296 + return NULL;
19297 +}
19298 +
19299 +/* Look through all relocs in a section and determine if any relocs
19300 + may be affected by relaxation in other sections. If so, allocate
19301 + an array of additional relocation data which links the affected
19302 + relocations to the frag(s) where the relaxation may occur.
19303 +
19304 + This function also links cpool references to cpool entries and
19305 + increments the refcount of the latter when this happens. */
19306 +
19307 +static bfd_boolean
19308 +allocate_reloc_data(bfd *abfd, asection *sec, Elf_Internal_Rela *relocs,
19309 + struct bfd_link_info *info)
19310 +{
19311 + Elf_Internal_Shdr *symtab_hdr;
19312 + Elf_Internal_Sym *isymbuf = NULL;
19313 + struct avr32_relax_data *rd;
19314 + unsigned int i;
19315 + bfd_boolean ret = FALSE;
19316 +
19317 + symtab_hdr = &elf_tdata(abfd)->symtab_hdr;
19318 + rd = avr32_relax_data(sec);
19319 +
19320 + RDBG("%s<%s>: allocate_reloc_data\n", abfd->filename, sec->name);
19321 +
19322 + for (i = 0; i < sec->reloc_count; i++)
19323 + {
19324 + Elf_Internal_Rela *rel = &relocs[i];
19325 + asection *sym_sec;
19326 + unsigned long r_symndx;
19327 + bfd_vma sym_value;
19328 +
19329 + if (!rel->r_addend && ELF_R_TYPE(rel->r_info) != R_AVR32_DIFF32
19330 + && !reloc_is_cpool_ref(rel))
19331 + continue;
19332 +
19333 + r_symndx = ELF_R_SYM(rel->r_info);
19334 +
19335 + if (r_symndx < symtab_hdr->sh_info)
19336 + {
19337 + Elf_Internal_Sym *isym;
19338 +
19339 + if (!isymbuf)
19340 + isymbuf = retrieve_local_syms(abfd, info->keep_memory);
19341 + if (!isymbuf)
19342 + return FALSE;
19343 +
19344 + isym = &isymbuf[r_symndx];
19345 + sym_sec = bfd_section_from_elf_index(abfd, isym->st_shndx);
19346 + sym_value = isym->st_value;
19347 + }
19348 + else
19349 + {
19350 + struct elf_link_hash_entry *h;
19351 +
19352 + h = elf_sym_hashes(abfd)[r_symndx - symtab_hdr->sh_info];
19353 +
19354 + while (h->root.type == bfd_link_hash_indirect
19355 + || h->root.type == bfd_link_hash_warning)
19356 + h = (struct elf_link_hash_entry *)h->root.u.i.link;
19357 +
19358 + if (h->root.type != bfd_link_hash_defined
19359 + && h->root.type != bfd_link_hash_defweak)
19360 + continue;
19361 +
19362 + sym_sec = h->root.u.def.section;
19363 + sym_value = h->root.u.def.value;
19364 + }
19365 +
19366 + if (sym_sec && avr32_relax_data(sym_sec)->is_relaxable)
19367 + {
19368 + bfd_size_type size;
19369 + struct fragment *frag;
19370 +
19371 + if (!rd->reloc_data)
19372 + {
19373 + size = sizeof(struct avr32_reloc_data) * sec->reloc_count;
19374 + rd->reloc_data = bfd_zalloc(abfd, size);
19375 + if (!rd->reloc_data)
19376 + goto out;
19377 + }
19378 +
19379 + RDBG("[%3d] 0x%04lx: target: 0x%lx + 0x%lx",
19380 + i, rel->r_offset, sym_value, rel->r_addend);
19381 +
19382 + frag = find_frag(sym_sec, sym_value + rel->r_addend);
19383 + BFD_ASSERT(frag);
19384 + rd->reloc_data[i].add_frag = frag;
19385 +
19386 + RDBG(" -> %s<%s>:%04lx\n", sym_sec->owner->filename, sym_sec->name,
19387 + frag->rela ? frag->rela->r_offset : sym_sec->size);
19388 +
19389 + if (reloc_is_cpool_ref(rel))
19390 + {
19391 + BFD_ASSERT(ELF_R_TYPE(frag->rela->r_info) == R_AVR32_32_CPENT);
19392 + frag->refcount++;
19393 + }
19394 +
19395 + if (ELF_R_TYPE(rel->r_info) == R_AVR32_DIFF32)
19396 + {
19397 + bfd_byte *contents;
19398 + bfd_signed_vma diff;
19399 +
19400 + contents = retrieve_contents(abfd, sec, info->keep_memory);
19401 + if (!contents)
19402 + goto out;
19403 +
19404 + diff = bfd_get_signed_32(abfd, contents + rel->r_offset);
19405 + frag = find_frag(sym_sec, sym_value + rel->r_addend + diff);
19406 + BFD_ASSERT(frag);
19407 + rd->reloc_data[i].sub_frag = frag;
19408 +
19409 + release_contents(sec, contents);
19410 + }
19411 + }
19412 + }
19413 +
19414 + ret = TRUE;
19415 +
19416 + out:
19417 + release_local_syms(abfd, isymbuf);
19418 + return ret;
19419 +}
19420 +
19421 +static bfd_boolean
19422 +global_sym_set_frag(struct elf_avr32_link_hash_entry *havr,
19423 + struct bfd_link_info *info ATTRIBUTE_UNUSED)
19424 +{
19425 + struct fragment *frag;
19426 + asection *sec;
19427 +
19428 + if (havr->root.root.type != bfd_link_hash_defined
19429 + && havr->root.root.type != bfd_link_hash_defweak)
19430 + return TRUE;
19431 +
19432 + sec = havr->root.root.u.def.section;
19433 + if (bfd_is_const_section(sec)
19434 + || !avr32_relax_data(sec)->is_relaxable)
19435 + return TRUE;
19436 +
19437 + frag = find_frag(sec, havr->root.root.u.def.value);
19438 + if (!frag)
19439 + {
19440 + unsigned int i;
19441 + struct avr32_relax_data *rd = avr32_relax_data(sec);
19442 +
19443 + RDBG("In %s: No frag for %s <%s+%lu> (limit %lu)\n",
19444 + sec->owner->filename, havr->root.root.root.string,
19445 + sec->name, havr->root.root.u.def.value, sec->size);
19446 + for (i = 0; i < rd->frag_count; i++)
19447 + RDBG(" %8lu - %8lu\n", rd->frag[i].offset,
19448 + rd->frag[i].offset + rd->frag[i].size);
19449 + }
19450 + BFD_ASSERT(frag);
19451 +
19452 + havr->sym_frag = frag;
19453 + return TRUE;
19454 +}
19455 +
19456 +static bfd_boolean
19457 +analyze_relocations(struct bfd_link_info *info)
19458 +{
19459 + bfd *abfd;
19460 + asection *sec;
19461 +
19462 + /* Divide all relaxable sections into fragments */
19463 + for (abfd = info->input_bfds; abfd; abfd = abfd->link_next)
19464 + {
19465 + if (!(elf_elfheader(abfd)->e_flags & EF_AVR32_LINKRELAX))
19466 + {
19467 + if (!(*info->callbacks->warning)
19468 + (info, _("input is not relaxable"), NULL, abfd, NULL, 0))
19469 + return FALSE;
19470 + continue;
19471 + }
19472 +
19473 + for (sec = abfd->sections; sec; sec = sec->next)
19474 + {
19475 + struct avr32_relax_data *rd;
19476 + struct fragment *frag;
19477 + Elf_Internal_Rela *relocs;
19478 + unsigned int i;
19479 + bfd_boolean ret = TRUE;
19480 +
19481 + if (!(sec->flags & SEC_RELOC) || sec->reloc_count == 0)
19482 + continue;
19483 +
19484 + rd = avr32_relax_data(sec);
19485 +
19486 + relocs = retrieve_internal_relocs(abfd, sec, info->keep_memory);
19487 + if (!relocs)
19488 + return FALSE;
19489 +
19490 + qsort(relocs, sec->reloc_count, sizeof(Elf_Internal_Rela),
19491 + internal_reloc_compare);
19492 +
19493 + for (i = 0; i < sec->reloc_count; i++)
19494 + {
19495 + enum relax_state_id state;
19496 +
19497 + ret = FALSE;
19498 + state = get_initial_relax_state(abfd, sec, info, &relocs[i]);
19499 + if (state == RS_ERROR)
19500 + break;
19501 +
19502 + if (state)
19503 + {
19504 + frag = new_frag(abfd, sec, rd, state, &relocs[i]);
19505 + if (!frag)
19506 + break;
19507 +
19508 + pin_internal_relocs(sec, relocs);
19509 + rd->is_relaxable = TRUE;
19510 + }
19511 +
19512 + ret = TRUE;
19513 + }
19514 +
19515 + release_internal_relocs(sec, relocs);
19516 + if (!ret)
19517 + return ret;
19518 +
19519 + if (rd->is_relaxable)
19520 + {
19521 + frag = new_frag(abfd, sec, rd, RS_NONE, NULL);
19522 + if (!frag)
19523 + return FALSE;
19524 + }
19525 + }
19526 + }
19527 +
19528 + /* Link each global symbol to the fragment where it's defined. */
19529 + elf_link_hash_traverse(elf_hash_table(info), global_sym_set_frag, info);
19530 +
19531 + /* Do the same for local symbols. */
19532 + for (abfd = info->input_bfds; abfd; abfd = abfd->link_next)
19533 + {
19534 + Elf_Internal_Sym *isymbuf, *isym;
19535 + struct fragment **local_sym_frag;
19536 + unsigned int i, sym_count;
19537 +
19538 + sym_count = elf_tdata(abfd)->symtab_hdr.sh_info;
19539 + if (sym_count == 0)
19540 + continue;
19541 +
19542 + local_sym_frag = bfd_zalloc(abfd, sym_count * sizeof(struct fragment *));
19543 + if (!local_sym_frag)
19544 + return FALSE;
19545 + elf_tdata(abfd)->local_sym_frag = local_sym_frag;
19546 +
19547 + isymbuf = retrieve_local_syms(abfd, info->keep_memory);
19548 + if (!isymbuf)
19549 + return FALSE;
19550 +
19551 + for (i = 0; i < sym_count; i++)
19552 + {
19553 + struct avr32_relax_data *rd;
19554 + struct fragment *frag;
19555 + asection *sec;
19556 +
19557 + isym = &isymbuf[i];
19558 +
19559 + sec = bfd_section_from_elf_index(abfd, isym->st_shndx);
19560 + if (!sec)
19561 + continue;
19562 +
19563 + rd = avr32_relax_data(sec);
19564 + if (!rd->is_relaxable)
19565 + continue;
19566 +
19567 + frag = find_frag(sec, isym->st_value);
19568 + BFD_ASSERT(frag);
19569 +
19570 + local_sym_frag[i] = frag;
19571 + }
19572 +
19573 + release_local_syms(abfd, isymbuf);
19574 + }
19575 +
19576 + /* And again for relocs with addends and constant pool references */
19577 + for (abfd = info->input_bfds; abfd; abfd = abfd->link_next)
19578 + for (sec = abfd->sections; sec; sec = sec->next)
19579 + {
19580 + Elf_Internal_Rela *relocs;
19581 + bfd_boolean ret;
19582 +
19583 + if (!(sec->flags & SEC_RELOC) || sec->reloc_count == 0)
19584 + continue;
19585 +
19586 + relocs = retrieve_internal_relocs(abfd, sec, info->keep_memory);
19587 + if (!relocs)
19588 + return FALSE;
19589 +
19590 + ret = allocate_reloc_data(abfd, sec, relocs, info);
19591 +
19592 + release_internal_relocs(sec, relocs);
19593 + if (ret == FALSE)
19594 + return ret;
19595 + }
19596 +
19597 + return TRUE;
19598 +}
19599 +
19600 +static bfd_boolean
19601 +rs_is_good_enough(const struct relax_state *rs, struct fragment *frag,
19602 + bfd_vma symval, bfd_vma addr, struct got_entry *got,
19603 + struct avr32_reloc_data *ind_data,
19604 + bfd_signed_vma offset_adjust)
19605 +{
19606 + bfd_signed_vma target = 0;
19607 +
19608 + switch (rs->reftype)
19609 + {
19610 + case REF_ABSOLUTE:
19611 + target = symval;
19612 + break;
19613 + case REF_PCREL:
19614 + target = symval - addr;
19615 + break;
19616 + case REF_CPOOL:
19617 + /* cpool frags are always in the same section and always after
19618 + all frags referring to it. So it's always correct to add in
19619 + offset_adjust here. */
19620 + target = (ind_data->add_frag->offset + ind_data->add_frag->offset_adjust
19621 + + offset_adjust - frag->offset - frag->offset_adjust);
19622 + break;
19623 + case REF_GOT:
19624 + target = got->offset;
19625 + break;
19626 + default:
19627 + abort();
19628 + }
19629 +
19630 + if (target >= rs->range_min && target <= rs->range_max)
19631 + return TRUE;
19632 + else
19633 + return FALSE;
19634 +}
19635 +
19636 +static bfd_boolean
19637 +avr32_size_frags(bfd *abfd, asection *sec, struct bfd_link_info *info)
19638 +{
19639 + struct elf_avr32_link_hash_table *htab;
19640 + struct avr32_relax_data *rd;
19641 + Elf_Internal_Shdr *symtab_hdr;
19642 + Elf_Internal_Rela *relocs = NULL;
19643 + Elf_Internal_Sym *isymbuf = NULL;
19644 + struct got_entry **local_got_ents;
19645 + struct fragment **local_sym_frag;
19646 + bfd_boolean ret = FALSE;
19647 + bfd_signed_vma delta = 0;
19648 + unsigned int i;
19649 +
19650 + htab = avr32_elf_hash_table(info);
19651 + rd = avr32_relax_data(sec);
19652 +
19653 + if (sec == htab->sgot)
19654 + {
19655 + RDBG("Relaxing GOT section (vma: 0x%lx)\n",
19656 + sec->output_section->vma + sec->output_offset);
19657 + if (assign_got_offsets(htab))
19658 + htab->repeat_pass = TRUE;
19659 + return TRUE;
19660 + }
19661 +
19662 + if (!rd->is_relaxable)
19663 + return TRUE;
19664 +
19665 + if (!sec->rawsize)
19666 + sec->rawsize = sec->size;
19667 +
19668 + symtab_hdr = &elf_tdata(abfd)->symtab_hdr;
19669 + relocs = retrieve_internal_relocs(abfd, sec, info->keep_memory);
19670 + if (!relocs)
19671 + goto out;
19672 +
19673 + isymbuf = retrieve_local_syms(abfd, info->keep_memory);
19674 + if (!isymbuf)
19675 + goto out;
19676 +
19677 + local_got_ents = elf_local_got_ents(abfd);
19678 + local_sym_frag = elf_tdata(abfd)->local_sym_frag;
19679 +
19680 + RDBG("size_frags: %s<%s>\n vma: 0x%08lx, size: 0x%08lx\n",
19681 + abfd->filename, sec->name,
19682 + sec->output_section->vma + sec->output_offset, sec->size);
19683 +
19684 + for (i = 0; i < rd->frag_count; i++)
19685 + {
19686 + struct fragment *frag = &rd->frag[i];
19687 + struct avr32_reloc_data *r_data = NULL, *ind_data = NULL;
19688 + const struct relax_state *state, *next_state;
19689 + struct fragment *target_frag = NULL;
19690 + asection *sym_sec = NULL;
19691 + Elf_Internal_Rela *rela;
19692 + struct got_entry *got;
19693 + bfd_vma symval, r_offset, addend, addr;
19694 + bfd_signed_vma size_adjust = 0, distance;
19695 + unsigned long r_symndx;
19696 + bfd_boolean defined = TRUE, dynamic = FALSE;
19697 + unsigned char sym_type;
19698 +
19699 + frag->offset_adjust += delta;
19700 + state = next_state = &relax_state[frag->state];
19701 + rela = frag->rela;
19702 +
19703 + BFD_ASSERT(state->id == frag->state);
19704 +
19705 + RDBG(" 0x%04lx%c%d: %s [size %ld]", rela ? rela->r_offset : sec->rawsize,
19706 + (frag->offset_adjust < 0)?'-':'+',
19707 + abs(frag->offset_adjust), state->name, state->size);
19708 +
19709 + if (!rela)
19710 + {
19711 + RDBG(": no reloc, ignoring\n");
19712 + continue;
19713 + }
19714 +
19715 + BFD_ASSERT((unsigned int)(rela - relocs) < sec->reloc_count);
19716 + BFD_ASSERT(state != RS_NONE);
19717 +
19718 + r_offset = rela->r_offset + frag->offset_adjust;
19719 + addr = sec->output_section->vma + sec->output_offset + r_offset;
19720 +
19721 + switch (frag->state)
19722 + {
19723 + case RS_ALIGN:
19724 + size_adjust = ((addr + (1 << rela->r_addend) - 1)
19725 + & ~((1 << rela->r_addend) - 1));
19726 + size_adjust -= (sec->output_section->vma + sec->output_offset
19727 + + frag->offset + frag->offset_adjust
19728 + + frag->size + frag->size_adjust);
19729 +
19730 + RDBG(": adjusting size %lu -> %lu\n", frag->size + frag->size_adjust,
19731 + frag->size + frag->size_adjust + size_adjust);
19732 + break;
19733 +
19734 + case RS_CPENT:
19735 + if (frag->refcount == 0 && frag->size_adjust == 0)
19736 + {
19737 + RDBG(": discarding frag\n");
19738 + size_adjust = -4;
19739 + }
19740 + else if (frag->refcount > 0 && frag->size_adjust < 0)
19741 + {
19742 + RDBG(": un-discarding frag\n");
19743 + size_adjust = 4;
19744 + }
19745 + break;
19746 +
19747 + default:
19748 + if (rd->reloc_data)
19749 + r_data = &rd->reloc_data[frag->rela - relocs];
19750 +
19751 + /* If this is a cpool reference, we want the symbol that the
19752 + cpool entry refers to, not the symbol for the cpool entry
19753 + itself, as we already know what frag it's in. */
19754 + if (relax_state[frag->initial_state].reftype == REF_CPOOL)
19755 + {
19756 + Elf_Internal_Rela *irela = r_data->add_frag->rela;
19757 +
19758 + r_symndx = ELF_R_SYM(irela->r_info);
19759 + addend = irela->r_addend;
19760 +
19761 + /* The constant pool must be in the same section as the
19762 + reloc referring to it. */
19763 + BFD_ASSERT((unsigned long)(irela - relocs) < sec->reloc_count);
19764 +
19765 + ind_data = r_data;
19766 + r_data = &rd->reloc_data[irela - relocs];
19767 + }
19768 + else
19769 + {
19770 + r_symndx = ELF_R_SYM(rela->r_info);
19771 + addend = rela->r_addend;
19772 + }
19773 +
19774 + /* Get the value of the symbol referred to by the reloc. */
19775 + if (r_symndx < symtab_hdr->sh_info)
19776 + {
19777 + Elf_Internal_Sym *isym;
19778 +
19779 + isym = isymbuf + r_symndx;
19780 + symval = 0;
19781 +
19782 + RDBG(" local sym %lu: ", r_symndx);
19783 +
19784 + if (isym->st_shndx == SHN_UNDEF)
19785 + defined = FALSE;
19786 + else if (isym->st_shndx == SHN_ABS)
19787 + sym_sec = bfd_abs_section_ptr;
19788 + else if (isym->st_shndx == SHN_COMMON)
19789 + sym_sec = bfd_com_section_ptr;
19790 + else
19791 + sym_sec = bfd_section_from_elf_index(abfd, isym->st_shndx);
19792 +
19793 + symval = isym->st_value;
19794 + sym_type = ELF_ST_TYPE(isym->st_info);
19795 + target_frag = local_sym_frag[r_symndx];
19796 +
19797 + if (local_got_ents)
19798 + got = local_got_ents[r_symndx];
19799 + else
19800 + got = NULL;
19801 + }
19802 + else
19803 + {
19804 + /* Global symbol */
19805 + unsigned long index;
19806 + struct elf_link_hash_entry *h;
19807 + struct elf_avr32_link_hash_entry *havr;
19808 +
19809 + index = r_symndx - symtab_hdr->sh_info;
19810 + h = elf_sym_hashes(abfd)[index];
19811 + BFD_ASSERT(h != NULL);
19812 +
19813 + while (h->root.type == bfd_link_hash_indirect
19814 + || h->root.type == bfd_link_hash_warning)
19815 + h = (struct elf_link_hash_entry *)h->root.u.i.link;
19816 +
19817 + havr = (struct elf_avr32_link_hash_entry *)h;
19818 + got = h->got.glist;
19819 +
19820 + symval = 0;
19821 +
19822 + RDBG(" %s: ", h->root.root.string);
19823 +
19824 + if (h->root.type != bfd_link_hash_defined
19825 + && h->root.type != bfd_link_hash_defweak)
19826 + {
19827 + RDBG("(undef)");
19828 + defined = FALSE;
19829 + }
19830 + else if ((info->shared && !info->symbolic && h->dynindx != -1)
19831 + || (htab->root.dynamic_sections_created
19832 + && h->def_dynamic && !h->def_regular))
19833 + {
19834 + RDBG("(dynamic)");
19835 + dynamic = TRUE;
19836 + sym_sec = h->root.u.def.section;
19837 + }
19838 + else
19839 + {
19840 + sym_sec = h->root.u.def.section;
19841 + symval = h->root.u.def.value;
19842 + target_frag = havr->sym_frag;
19843 + }
19844 +
19845 + sym_type = h->type;
19846 + }
19847 +
19848 + /* Thanks to elf32-ppc for this one. */
19849 + if (sym_sec && sym_sec->sec_info_type == ELF_INFO_TYPE_MERGE)
19850 + {
19851 + /* At this stage in linking, no SEC_MERGE symbol has been
19852 + adjusted, so all references to such symbols need to be
19853 + passed through _bfd_merged_section_offset. (Later, in
19854 + relocate_section, all SEC_MERGE symbols *except* for
19855 + section symbols have been adjusted.)
19856 +
19857 + SEC_MERGE sections are not relaxed by us, as they
19858 + shouldn't contain any code. */
19859 +
19860 + BFD_ASSERT(!target_frag && !(r_data && r_data->add_frag));
19861 +
19862 + /* gas may reduce relocations against symbols in SEC_MERGE
19863 + sections to a relocation against the section symbol when
19864 + the original addend was zero. When the reloc is against
19865 + a section symbol we should include the addend in the
19866 + offset passed to _bfd_merged_section_offset, since the
19867 + location of interest is the original symbol. On the
19868 + other hand, an access to "sym+addend" where "sym" is not
19869 + a section symbol should not include the addend; Such an
19870 + access is presumed to be an offset from "sym"; The
19871 + location of interest is just "sym". */
19872 + RDBG("\n MERGE: %s: 0x%lx+0x%lx+0x%lx -> ",
19873 + (sym_type == STT_SECTION)?"section":"not section",
19874 + sym_sec->output_section->vma + sym_sec->output_offset,
19875 + symval, addend);
19876 +
19877 + if (sym_type == STT_SECTION)
19878 + symval += addend;
19879 +
19880 + symval = (_bfd_merged_section_offset
19881 + (abfd, &sym_sec,
19882 + elf_section_data(sym_sec)->sec_info, symval));
19883 +
19884 + if (sym_type != STT_SECTION)
19885 + symval += addend;
19886 + }
19887 + else
19888 + symval += addend;
19889 +
19890 + if (defined && !dynamic)
19891 + {
19892 + RDBG("0x%lx+0x%lx",
19893 + sym_sec->output_section->vma + sym_sec->output_offset,
19894 + symval);
19895 + symval += sym_sec->output_section->vma + sym_sec->output_offset;
19896 + }
19897 +
19898 + if (r_data && r_data->add_frag)
19899 + /* If the add_frag pointer is set, it means that this reloc
19900 + has an addend that may be affected by relaxation. */
19901 + target_frag = r_data->add_frag;
19902 +
19903 + if (target_frag)
19904 + {
19905 + symval += target_frag->offset_adjust;
19906 +
19907 + /* If target_frag comes after this frag in the same
19908 + section, we should assume that it will be moved by
19909 + the same amount we are. */
19910 + if ((target_frag - rd->frag) < (int)rd->frag_count
19911 + && target_frag > frag)
19912 + symval += delta;
19913 + }
19914 +
19915 + distance = symval - addr;
19916 +
19917 + /* First, try to make a direct reference. If the symbol is
19918 + dynamic or undefined, we must take care not to change its
19919 + reference type, that is, we can't make it direct.
19920 +
19921 + Also, it seems like some sections may actually be resized
19922 + after the relaxation code is done, so we can't really
19923 + trust that our "distance" is correct. There's really no
19924 + easy solution to this problem, so we'll just disallow
19925 + direct references to SEC_DATA sections. */
19926 + if (!dynamic && defined
19927 + && !(sym_sec->flags & SEC_DATA)
19928 + && next_state->direct)
19929 + {
19930 + next_state = &relax_state[next_state->direct];
19931 + RDBG(" D-> %s", next_state->name);
19932 + }
19933 +
19934 + /* Iterate backwards until we find a state that fits. */
19935 + while (next_state->prev
19936 + && !rs_is_good_enough(next_state, frag, symval, addr,
19937 + got, ind_data, delta))
19938 + {
19939 + next_state = &relax_state[next_state->prev];
19940 + RDBG(" P-> %s", next_state->name);
19941 + }
19942 +
19943 + /* Then try to find the best possible state. */
19944 + while (next_state->next)
19945 + {
19946 + const struct relax_state *candidate;
19947 +
19948 + candidate = &relax_state[next_state->next];
19949 + if (!rs_is_good_enough(candidate, frag, symval, addr, got,
19950 + ind_data, delta))
19951 + break;
19952 +
19953 + next_state = candidate;
19954 + RDBG(" N-> %s", next_state->name);
19955 + }
19956 +
19957 + RDBG(" [size %ld]\n", next_state->size);
19958 +
19959 + BFD_ASSERT(next_state->id);
19960 + BFD_ASSERT(!dynamic || next_state->reftype == REF_GOT);
19961 +
19962 + size_adjust = next_state->size - state->size;
19963 +
19964 + /* There's a theoretical possibility that shrinking one frag
19965 + may cause another to grow, which may cause the first one to
19966 + grow as well, and we're back where we started. Avoid this
19967 + scenario by disallowing a frag that has grown to ever
19968 + shrink again. */
19969 + if (state->reftype == REF_GOT && next_state->reftype != REF_GOT)
19970 + {
19971 + if (frag->has_grown)
19972 + next_state = state;
19973 + else
19974 + unref_got_entry(htab, got);
19975 + }
19976 + else if (state->reftype != REF_GOT && next_state->reftype == REF_GOT)
19977 + {
19978 + ref_got_entry(htab, got);
19979 + frag->has_grown = TRUE;
19980 + }
19981 + else if (state->reftype == REF_CPOOL
19982 + && next_state->reftype != REF_CPOOL)
19983 + {
19984 + if (frag->has_grown)
19985 + next_state = state;
19986 + else
19987 + ind_data->add_frag->refcount--;
19988 + }
19989 + else if (state->reftype != REF_CPOOL
19990 + && next_state->reftype == REF_CPOOL)
19991 + {
19992 + ind_data->add_frag->refcount++;
19993 + frag->has_grown = TRUE;
19994 + }
19995 + else
19996 + {
19997 + if (frag->has_grown && size_adjust < 0)
19998 + next_state = state;
19999 + else if (size_adjust > 0)
20000 + frag->has_grown = TRUE;
20001 + }
20002 +
20003 + size_adjust = next_state->size - state->size;
20004 + frag->state = next_state->id;
20005 +
20006 + break;
20007 + }
20008 +
20009 + if (size_adjust)
20010 + htab->repeat_pass = TRUE;
20011 +
20012 + frag->size_adjust += size_adjust;
20013 + sec->size += size_adjust;
20014 + delta += size_adjust;
20015 +
20016 + BFD_ASSERT((frag->offset + frag->offset_adjust
20017 + + frag->size + frag->size_adjust)
20018 + == (frag[1].offset + frag[1].offset_adjust + delta));
20019 + }
20020 +
20021 + ret = TRUE;
20022 +
20023 + out:
20024 + release_local_syms(abfd, isymbuf);
20025 + release_internal_relocs(sec, relocs);
20026 + return ret;
20027 +}
20028 +
20029 +static bfd_boolean
20030 +adjust_global_symbol(struct elf_avr32_link_hash_entry *havr,
20031 + struct bfd_link_info *info ATTRIBUTE_UNUSED)
20032 +{
20033 + struct elf_link_hash_entry *h = &havr->root;
20034 +
20035 + if (havr->sym_frag && (h->root.type == bfd_link_hash_defined
20036 + || h->root.type == bfd_link_hash_defweak))
20037 + {
20038 + RDBG("adjust_global_symbol: %s 0x%08lx -> 0x%08lx\n",
20039 + h->root.root.string, h->root.u.def.value,
20040 + h->root.u.def.value + havr->sym_frag->offset_adjust);
20041 + h->root.u.def.value += havr->sym_frag->offset_adjust;
20042 + }
20043 + return TRUE;
20044 +}
20045 +
20046 +static bfd_boolean
20047 +adjust_syms(struct bfd_link_info *info)
20048 +{
20049 + struct elf_avr32_link_hash_table *htab;
20050 + bfd *abfd;
20051 +
20052 + htab = avr32_elf_hash_table(info);
20053 + elf_link_hash_traverse(&htab->root, adjust_global_symbol, info);
20054 +
20055 + for (abfd = info->input_bfds; abfd; abfd = abfd->link_next)
20056 + {
20057 + Elf_Internal_Sym *isymbuf;
20058 + struct fragment **local_sym_frag, *frag;
20059 + unsigned int i, sym_count;
20060 +
20061 + sym_count = elf_tdata(abfd)->symtab_hdr.sh_info;
20062 + if (sym_count == 0)
20063 + continue;
20064 +
20065 + isymbuf = retrieve_local_syms(abfd, info->keep_memory);
20066 + if (!isymbuf)
20067 + return FALSE;
20068 +
20069 + local_sym_frag = elf_tdata(abfd)->local_sym_frag;
20070 +
20071 + for (i = 0; i < sym_count; i++)
20072 + {
20073 + frag = local_sym_frag[i];
20074 + if (frag)
20075 + {
20076 + RDBG("adjust_local_symbol: %s[%u] 0x%08lx -> 0x%08lx\n",
20077 + abfd->filename, i, isymbuf[i].st_value,
20078 + isymbuf[i].st_value + frag->offset_adjust);
20079 + isymbuf[i].st_value += frag->offset_adjust;
20080 + }
20081 + }
20082 +
20083 + release_local_syms(abfd, isymbuf);
20084 + }
20085 +
20086 + htab->symbols_adjusted = TRUE;
20087 + return TRUE;
20088 +}
20089 +
20090 +static bfd_boolean
20091 +adjust_relocs(bfd *abfd, asection *sec, struct bfd_link_info *info)
20092 +{
20093 + struct avr32_relax_data *rd;
20094 + Elf_Internal_Rela *relocs;
20095 + Elf_Internal_Shdr *symtab_hdr;
20096 + unsigned int i;
20097 + bfd_boolean ret = FALSE;
20098 +
20099 + rd = avr32_relax_data(sec);
20100 + if (!rd->reloc_data)
20101 + return TRUE;
20102 +
20103 + RDBG("adjust_relocs: %s<%s> (count: %u)\n", abfd->filename, sec->name,
20104 + sec->reloc_count);
20105 +
20106 + relocs = retrieve_internal_relocs(abfd, sec, info->keep_memory);
20107 + if (!relocs)
20108 + return FALSE;
20109 +
20110 + symtab_hdr = &elf_tdata(abfd)->symtab_hdr;
20111 +
20112 + for (i = 0; i < sec->reloc_count; i++)
20113 + {
20114 + Elf_Internal_Rela *rela = &relocs[i];
20115 + struct avr32_reloc_data *r_data = &rd->reloc_data[i];
20116 + struct fragment *sym_frag;
20117 + unsigned long r_symndx;
20118 +
20119 + if (r_data->add_frag)
20120 + {
20121 + r_symndx = ELF_R_SYM(rela->r_info);
20122 +
20123 + if (r_symndx < symtab_hdr->sh_info)
20124 + sym_frag = elf_tdata(abfd)->local_sym_frag[r_symndx];
20125 + else
20126 + {
20127 + struct elf_link_hash_entry *h;
20128 +
20129 + h = elf_sym_hashes(abfd)[r_symndx - symtab_hdr->sh_info];
20130 +
20131 + while (h->root.type == bfd_link_hash_indirect
20132 + || h->root.type == bfd_link_hash_warning)
20133 + h = (struct elf_link_hash_entry *)h->root.u.i.link;
20134 +
20135 + BFD_ASSERT(h->root.type == bfd_link_hash_defined
20136 + || h->root.type == bfd_link_hash_defweak);
20137 +
20138 + sym_frag = ((struct elf_avr32_link_hash_entry *)h)->sym_frag;
20139 + }
20140 +
20141 + RDBG(" addend: 0x%08lx -> 0x%08lx\n",
20142 + rela->r_addend,
20143 + rela->r_addend + r_data->add_frag->offset_adjust
20144 + - (sym_frag ? sym_frag->offset_adjust : 0));
20145 +
20146 + /* If this is against a section symbol, we won't find any
20147 + sym_frag, so we'll just adjust the addend. */
20148 + rela->r_addend += r_data->add_frag->offset_adjust;
20149 + if (sym_frag)
20150 + rela->r_addend -= sym_frag->offset_adjust;
20151 +
20152 + if (r_data->sub_frag)
20153 + {
20154 + bfd_byte *contents;
20155 + bfd_signed_vma diff;
20156 +
20157 + contents = retrieve_contents(abfd, sec, info->keep_memory);
20158 + if (!contents)
20159 + goto out;
20160 +
20161 + /* I realize now that sub_frag is misnamed. It's
20162 + actually add_frag which is subtracted in this
20163 + case... */
20164 + diff = bfd_get_signed_32(abfd, contents + rela->r_offset);
20165 + diff += (r_data->sub_frag->offset_adjust
20166 + - r_data->add_frag->offset_adjust);
20167 + bfd_put_32(abfd, diff, contents + rela->r_offset);
20168 +
20169 + RDBG(" 0x%lx: DIFF32 updated: 0x%lx\n", rela->r_offset, diff);
20170 +
20171 + release_contents(sec, contents);
20172 + }
20173 + }
20174 + else
20175 + BFD_ASSERT(!r_data->sub_frag);
20176 + }
20177 +
20178 + ret = TRUE;
20179 +
20180 + out:
20181 + release_internal_relocs(sec, relocs);
20182 + return ret;
20183 +}
20184 +
20185 +static bfd_boolean
20186 +avr32_move_data(bfd *abfd, asection *sec, struct bfd_link_info *info)
20187 +{
20188 + struct elf_avr32_link_hash_table *htab;
20189 + struct avr32_relax_data *rd;
20190 + struct fragment *frag, *fragend;
20191 + Elf_Internal_Rela *relocs = NULL;
20192 + bfd_byte *contents = NULL;
20193 + unsigned int i;
20194 + bfd_boolean ret = FALSE;
20195 +
20196 + htab = avr32_elf_hash_table(info);
20197 + rd = avr32_relax_data(sec);
20198 +
20199 + if (!htab->symbols_adjusted)
20200 + if (!adjust_syms(info))
20201 + return FALSE;
20202 +
20203 + if (rd->is_relaxable)
20204 + {
20205 + /* Resize the section first, so that we can be sure that enough
20206 + memory is allocated in case the section has grown. */
20207 + if (sec->size > sec->rawsize
20208 + && elf_section_data(sec)->this_hdr.contents)
20209 + {
20210 + /* We must not use cached data if the section has grown. */
20211 + free(elf_section_data(sec)->this_hdr.contents);
20212 + elf_section_data(sec)->this_hdr.contents = NULL;
20213 + }
20214 +
20215 + relocs = retrieve_internal_relocs(abfd, sec, info->keep_memory);
20216 + if (!relocs)
20217 + goto out;
20218 + contents = retrieve_contents(abfd, sec, info->keep_memory);
20219 + if (!contents)
20220 + goto out;
20221 +
20222 + fragend = rd->frag + rd->frag_count;
20223 +
20224 + RDBG("move_data: %s<%s>: relocs=%p, contents=%p\n",
20225 + abfd->filename, sec->name, relocs, contents);
20226 +
20227 + /* First, move the data into place. We must take care to move
20228 + frags in the right order so that we don't accidentally
20229 + overwrite parts of the next frag. */
20230 + for (frag = rd->frag; frag < fragend; frag++)
20231 + {
20232 + RDBG(" 0x%08lx%c0x%x: size 0x%lx%c0x%x\n",
20233 + frag->offset, frag->offset_adjust >= 0 ? '+' : '-',
20234 + abs(frag->offset_adjust),
20235 + frag->size, frag->size_adjust >= 0 ? '+' : '-',
20236 + abs(frag->size_adjust));
20237 + if (frag->offset_adjust > 0)
20238 + {
20239 + struct fragment *prev = frag - 1;
20240 + struct fragment *last;
20241 +
20242 + for (last = frag; last < fragend && last->offset_adjust > 0;
20243 + last++) ;
20244 +
20245 + if (last == fragend)
20246 + last--;
20247 +
20248 + for (frag = last; frag != prev; frag--)
20249 + {
20250 + if (frag->offset_adjust
20251 + && frag->size + frag->size_adjust > 0)
20252 + {
20253 + RDBG("memmove 0x%lx -> 0x%lx (size %lu)\n",
20254 + frag->offset, frag->offset + frag->offset_adjust,
20255 + frag->size + frag->size_adjust);
20256 + memmove(contents + frag->offset + frag->offset_adjust,
20257 + contents + frag->offset,
20258 + frag->size + frag->size_adjust);
20259 + }
20260 + }
20261 + frag = last;
20262 + }
20263 + else if (frag->offset_adjust && frag->size + frag->size_adjust > 0)
20264 + {
20265 + RDBG("memmove 0x%lx -> 0x%lx (size %lu)\n",
20266 + frag->offset, frag->offset + frag->offset_adjust,
20267 + frag->size + frag->size_adjust);
20268 + memmove(contents + frag->offset + frag->offset_adjust,
20269 + contents + frag->offset,
20270 + frag->size + frag->size_adjust);
20271 + }
20272 + }
20273 +
20274 + i = 0;
20275 +
20276 + for (frag = rd->frag; frag < fragend; frag++)
20277 + {
20278 + const struct relax_state *state, *istate;
20279 + struct avr32_reloc_data *r_data = NULL;
20280 +
20281 + istate = &relax_state[frag->initial_state];
20282 + state = &relax_state[frag->state];
20283 +
20284 + if (rd->reloc_data)
20285 + r_data = &rd->reloc_data[frag->rela - relocs];
20286 +
20287 + BFD_ASSERT((long)(frag->size + frag->size_adjust) >= 0);
20288 + BFD_ASSERT(state->reftype != REF_CPOOL
20289 + || r_data->add_frag->refcount > 0);
20290 +
20291 + if (istate->reftype == REF_CPOOL && state->reftype != REF_CPOOL)
20292 + {
20293 + struct fragment *ifrag;
20294 +
20295 + /* An indirect reference through the cpool has been
20296 + converted to a direct reference. We must update the
20297 + reloc to point to the symbol itself instead of the
20298 + constant pool entry. The reloc type will be updated
20299 + later. */
20300 + ifrag = r_data->add_frag;
20301 + frag->rela->r_info = ifrag->rela->r_info;
20302 + frag->rela->r_addend = ifrag->rela->r_addend;
20303 +
20304 + /* Copy the reloc data so the addend will be adjusted
20305 + correctly later. */
20306 + *r_data = rd->reloc_data[ifrag->rela - relocs];
20307 + }
20308 +
20309 + /* Move all relocs covered by this frag. */
20310 + if (frag->rela)
20311 + BFD_ASSERT(&relocs[i] <= frag->rela);
20312 + else
20313 + BFD_ASSERT((frag + 1) == fragend && frag->state == RS_NONE);
20314 +
20315 + if (frag == rd->frag)
20316 + BFD_ASSERT(i == 0);
20317 + else
20318 + BFD_ASSERT(&relocs[i] > frag[-1].rela);
20319 +
20320 + /* If non-null, frag->rela is the last relocation in the
20321 + fragment. frag->rela can only be null in the last
20322 + fragment, so in that case, we'll just do the rest. */
20323 + for (; (i < sec->reloc_count
20324 + && (!frag->rela || &relocs[i] <= frag->rela)); i++)
20325 + {
20326 + RDBG("[%4u] r_offset 0x%08lx -> 0x%08lx\n", i, relocs[i].r_offset,
20327 + relocs[i].r_offset + frag->offset_adjust);
20328 + relocs[i].r_offset += frag->offset_adjust;
20329 + }
20330 +
20331 + if (frag->refcount == 0)
20332 + {
20333 + /* If this frag is to be discarded, make sure we won't
20334 + relocate it later on. */
20335 + BFD_ASSERT(frag->state == RS_CPENT);
20336 + frag->rela->r_info = ELF_R_INFO(ELF_R_SYM(frag->rela->r_info),
20337 + R_AVR32_NONE);
20338 + }
20339 + else if (frag->state == RS_ALIGN)
20340 + {
20341 + bfd_vma addr, addr_end;
20342 +
20343 + addr = frag->rela->r_offset;
20344 + addr_end = (frag->offset + frag->offset_adjust
20345 + + frag->size + frag->size_adjust);
20346 +
20347 + /* If the section is executable, insert NOPs.
20348 + Otherwise, insert zeroes. */
20349 + if (sec->flags & SEC_CODE)
20350 + {
20351 + if (addr & 1)
20352 + {
20353 + bfd_put_8(abfd, 0, contents + addr);
20354 + addr++;
20355 + }
20356 +
20357 + BFD_ASSERT(!((addr_end - addr) & 1));
20358 +
20359 + while (addr < addr_end)
20360 + {
20361 + bfd_put_16(abfd, NOP_OPCODE, contents + addr);
20362 + addr += 2;
20363 + }
20364 + }
20365 + else
20366 + memset(contents + addr, 0, addr_end - addr);
20367 + }
20368 + else if (state->opcode_mask)
20369 + {
20370 + bfd_vma insn;
20371 +
20372 + /* Update the opcode and the relocation type unless it's a
20373 + "special" relax state (i.e. RS_NONE, RS_ALIGN or
20374 + RS_CPENT.), in which case the opcode mask is zero. */
20375 + insn = bfd_get_32(abfd, contents + frag->rela->r_offset);
20376 + insn &= ~state->opcode_mask;
20377 + insn |= state->opcode;
20378 + RDBG(" 0x%lx: inserting insn %08lx\n",
20379 + frag->rela->r_offset, insn);
20380 + bfd_put_32(abfd, insn, contents + frag->rela->r_offset);
20381 +
20382 + frag->rela->r_info = ELF_R_INFO(ELF_R_SYM(frag->rela->r_info),
20383 + state->r_type);
20384 + }
20385 +
20386 + if ((frag + 1) == fragend)
20387 + BFD_ASSERT((frag->offset + frag->size + frag->offset_adjust
20388 + + frag->size_adjust) == sec->size);
20389 + else
20390 + BFD_ASSERT((frag->offset + frag->size + frag->offset_adjust
20391 + + frag->size_adjust)
20392 + == (frag[1].offset + frag[1].offset_adjust));
20393 + }
20394 + }
20395 +
20396 + /* Adjust reloc addends and DIFF32 differences */
20397 + if (!adjust_relocs(abfd, sec, info))
20398 + return FALSE;
20399 +
20400 + ret = TRUE;
20401 +
20402 + out:
20403 + release_contents(sec, contents);
20404 + release_internal_relocs(sec, relocs);
20405 + return ret;
20406 +}
20407 +
20408 +static bfd_boolean
20409 +avr32_elf_relax_section(bfd *abfd, asection *sec,
20410 + struct bfd_link_info *info, bfd_boolean *again)
20411 +{
20412 + struct elf_avr32_link_hash_table *htab;
20413 + struct avr32_relax_data *rd;
20414 +
20415 + *again = FALSE;
20416 + if (info->relocatable)
20417 + return TRUE;
20418 +
20419 + htab = avr32_elf_hash_table(info);
20420 + if ((!(sec->flags & SEC_RELOC) || sec->reloc_count == 0)
20421 + && sec != htab->sgot)
20422 + return TRUE;
20423 +
20424 + if (!htab->relocations_analyzed)
20425 + {
20426 + if (!analyze_relocations(info))
20427 + return FALSE;
20428 + htab->relocations_analyzed = TRUE;
20429 + }
20430 +
20431 + rd = avr32_relax_data(sec);
20432 +
20433 + if (rd->iteration != htab->relax_iteration)
20434 + {
20435 + if (!htab->repeat_pass)
20436 + htab->relax_pass++;
20437 + htab->relax_iteration++;
20438 + htab->repeat_pass = FALSE;
20439 + }
20440 +
20441 + rd->iteration++;
20442 +
20443 + switch (htab->relax_pass)
20444 + {
20445 + case RELAX_PASS_SIZE_FRAGS:
20446 + if (!avr32_size_frags(abfd, sec, info))
20447 + return FALSE;
20448 + *again = TRUE;
20449 + break;
20450 + case RELAX_PASS_MOVE_DATA:
20451 + if (!avr32_move_data(abfd, sec, info))
20452 + return FALSE;
20453 + break;
20454 + }
20455 +
20456 + return TRUE;
20457 +}
20458 +
20459 +\f
20460 +/* Relocation */
20461 +
20462 +static bfd_reloc_status_type
20463 +avr32_check_reloc_value(asection *sec, Elf_Internal_Rela *rela,
20464 + bfd_signed_vma relocation, reloc_howto_type *howto);
20465 +static bfd_reloc_status_type
20466 +avr32_final_link_relocate(reloc_howto_type *howto, bfd *input_bfd,
20467 + asection *input_section, bfd_byte *contents,
20468 + Elf_Internal_Rela *rel, bfd_vma value);
20469 +static bfd_boolean
20470 +avr32_elf_relocate_section(bfd *output_bfd, struct bfd_link_info *info,
20471 + bfd *input_bfd, asection *input_section,
20472 + bfd_byte *contents, Elf_Internal_Rela *relocs,
20473 + Elf_Internal_Sym *local_syms,
20474 + asection **local_sections);
20475 +
20476 +
20477 +#define symbol_address(symbol) \
20478 + symbol->value + symbol->section->output_section->vma \
20479 + + symbol->section->output_offset
20480 +
20481 +#define avr32_elf_insert_field(size, field, abfd, reloc_entry, data) \
20482 + do \
20483 + { \
20484 + unsigned long x; \
20485 + x = bfd_get_##size (abfd, data + reloc_entry->address); \
20486 + x &= ~reloc_entry->howto->dst_mask; \
20487 + x |= field & reloc_entry->howto->dst_mask; \
20488 + bfd_put_##size (abfd, (bfd_vma) x, data + reloc_entry->address); \
20489 + } \
20490 + while(0)
20491 +
20492 +static bfd_reloc_status_type
20493 +avr32_check_reloc_value(asection *sec ATTRIBUTE_UNUSED,
20494 + Elf_Internal_Rela *rela ATTRIBUTE_UNUSED,
20495 + bfd_signed_vma relocation,
20496 + reloc_howto_type *howto)
20497 +{
20498 + bfd_vma reloc_u;
20499 +
20500 + /* We take "complain_overflow_dont" to mean "don't complain on
20501 + alignment either". This way, we don't have to special-case
20502 + R_AVR32_HI16 */
20503 + if (howto->complain_on_overflow == complain_overflow_dont)
20504 + return bfd_reloc_ok;
20505 +
20506 + /* Check if the value is correctly aligned */
20507 + if (relocation & ((1 << howto->rightshift) - 1))
20508 + {
20509 + RDBG("misaligned: %s<%s+%lx>: %s: 0x%lx (align %u)\n",
20510 + sec->owner->filename, sec->name, rela->r_offset,
20511 + howto->name, relocation, howto->rightshift);
20512 + return bfd_reloc_overflow;
20513 + }
20514 +
20515 + /* Now, get rid of the unnecessary bits */
20516 + relocation >>= howto->rightshift;
20517 + reloc_u = (bfd_vma)relocation;
20518 +
20519 + switch (howto->complain_on_overflow)
20520 + {
20521 + case complain_overflow_unsigned:
20522 + case complain_overflow_bitfield:
20523 + if (reloc_u > (unsigned long)((1 << howto->bitsize) - 1))
20524 + {
20525 + RDBG("unsigned overflow: %s<%s+%lx>: %s: 0x%lx (size %u)\n",
20526 + sec->owner->filename, sec->name, rela->r_offset,
20527 + howto->name, reloc_u, howto->bitsize);
20528 + RDBG("reloc vma: 0x%lx\n",
20529 + sec->output_section->vma + sec->output_offset + rela->r_offset);
20530 +
20531 + return bfd_reloc_overflow;
20532 + }
20533 + break;
20534 + case complain_overflow_signed:
20535 + if (relocation > (1 << (howto->bitsize - 1)) - 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, reloc_u, 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 + if (relocation < -(1 << (howto->bitsize - 1)))
20546 + {
20547 + RDBG("signed overflow: %s<%s+%lx>: %s: -0x%lx (size %u)\n",
20548 + sec->owner->filename, sec->name, rela->r_offset,
20549 + howto->name, -relocation, howto->bitsize);
20550 + RDBG("reloc vma: 0x%lx\n",
20551 + sec->output_section->vma + sec->output_offset + rela->r_offset);
20552 +
20553 + return bfd_reloc_overflow;
20554 + }
20555 + break;
20556 + default:
20557 + abort();
20558 + }
20559 +
20560 + return bfd_reloc_ok;
20561 +}
20562 +
20563 +
20564 +static bfd_reloc_status_type
20565 +avr32_final_link_relocate(reloc_howto_type *howto,
20566 + bfd *input_bfd,
20567 + asection *input_section,
20568 + bfd_byte *contents,
20569 + Elf_Internal_Rela *rel,
20570 + bfd_vma value)
20571 +{
20572 + bfd_vma field;
20573 + bfd_vma relocation;
20574 + bfd_reloc_status_type status;
20575 + bfd_byte *p = contents + rel->r_offset;
20576 + unsigned long x;
20577 +
20578 + pr_debug(" (6b) final link relocate\n");
20579 +
20580 + /* Sanity check the address */
20581 + if (rel->r_offset > input_section->size)
20582 + {
20583 + (*_bfd_error_handler)
20584 + ("%B: %A+0x%lx: offset out of range (section size: 0x%lx)",
20585 + input_bfd, input_section, rel->r_offset, input_section->size);
20586 + return bfd_reloc_outofrange;
20587 + }
20588 +
20589 + relocation = value + rel->r_addend;
20590 +
20591 + if (howto->pc_relative)
20592 + {
20593 + bfd_vma addr;
20594 +
20595 + addr = input_section->output_section->vma
20596 + + input_section->output_offset + rel->r_offset;
20597 + addr &= ~0UL << howto->rightshift;
20598 + relocation -= addr;
20599 + }
20600 +
20601 + switch (ELF32_R_TYPE(rel->r_info))
20602 + {
20603 + case R_AVR32_16N_PCREL:
20604 + /* sub reg, pc, . - (sym + addend) */
20605 + relocation = -relocation;
20606 + break;
20607 + }
20608 +
20609 + status = avr32_check_reloc_value(input_section, rel, relocation, howto);
20610 +
20611 + relocation >>= howto->rightshift;
20612 + if (howto->bitsize == 21)
20613 + field = (relocation & 0xffff)
20614 + | ((relocation & 0x10000) << 4)
20615 + | ((relocation & 0x1e0000) << 8);
20616 + else if (howto->bitsize == 12)
20617 + field = (relocation & 0xff) | ((relocation & 0xf00) << 4);
20618 + else if (howto->bitsize == 10)
20619 + field = ((relocation & 0xff) << 4)
20620 + | ((relocation & 0x300) >> 8);
20621 + else
20622 + field = relocation << howto->bitpos;
20623 +
20624 + switch (howto->size)
20625 + {
20626 + case 0:
20627 + x = bfd_get_8 (input_bfd, p);
20628 + x &= ~howto->dst_mask;
20629 + x |= field & howto->dst_mask;
20630 + bfd_put_8 (input_bfd, (bfd_vma) x, p);
20631 + break;
20632 + case 1:
20633 + x = bfd_get_16 (input_bfd, p);
20634 + x &= ~howto->dst_mask;
20635 + x |= field & howto->dst_mask;
20636 + bfd_put_16 (input_bfd, (bfd_vma) x, p);
20637 + break;
20638 + case 2:
20639 + x = bfd_get_32 (input_bfd, p);
20640 + x &= ~howto->dst_mask;
20641 + x |= field & howto->dst_mask;
20642 + bfd_put_32 (input_bfd, (bfd_vma) x, p);
20643 + break;
20644 + default:
20645 + abort();
20646 + }
20647 +
20648 + return status;
20649 +}
20650 +
20651 +/* (6) Apply relocations to the normal (non-dynamic) sections */
20652 +
20653 +static bfd_boolean
20654 +avr32_elf_relocate_section(bfd *output_bfd, struct bfd_link_info *info,
20655 + bfd *input_bfd, asection *input_section,
20656 + bfd_byte *contents, Elf_Internal_Rela *relocs,
20657 + Elf_Internal_Sym *local_syms,
20658 + asection **local_sections)
20659 +{
20660 + struct elf_avr32_link_hash_table *htab;
20661 + Elf_Internal_Shdr *symtab_hdr;
20662 + Elf_Internal_Rela *rel, *relend;
20663 + struct elf_link_hash_entry **sym_hashes;
20664 + struct got_entry **local_got_ents;
20665 + asection *sgot;
20666 + asection *srelgot;
20667 + asection *sreldyn;
20668 +
20669 + pr_debug("(6) relocate section %s:<%s> (size 0x%lx)\n",
20670 + input_bfd->filename, input_section->name, input_section->size);
20671 +
20672 + /* If we're doing a partial link, we don't have to do anything since
20673 + we're using RELA relocations */
20674 + if (info->relocatable)
20675 + return TRUE;
20676 +
20677 + htab = avr32_elf_hash_table(info);
20678 + symtab_hdr = &elf_tdata(input_bfd)->symtab_hdr;
20679 + sym_hashes = elf_sym_hashes(input_bfd);
20680 + local_got_ents = elf_local_got_ents(input_bfd);
20681 + sgot = htab->sgot;
20682 + srelgot = htab->srelgot;
20683 + sreldyn = htab->sreldyn;
20684 +
20685 + relend = relocs + input_section->reloc_count;
20686 + for (rel = relocs; rel < relend; rel++)
20687 + {
20688 + unsigned long r_type, r_symndx;
20689 + reloc_howto_type *howto;
20690 + Elf_Internal_Sym *sym = NULL;
20691 + struct elf_link_hash_entry *h = NULL;
20692 + asection *sec = NULL;
20693 + bfd_vma value;
20694 + bfd_vma offset;
20695 + bfd_reloc_status_type status;
20696 +
20697 + r_type = ELF32_R_TYPE(rel->r_info);
20698 + r_symndx = ELF32_R_SYM(rel->r_info);
20699 +
20700 + if (r_type == R_AVR32_NONE
20701 + || r_type == R_AVR32_ALIGN
20702 + || r_type == R_AVR32_DIFF32
20703 + || r_type == R_AVR32_DIFF16
20704 + || r_type == R_AVR32_DIFF8)
20705 + continue;
20706 +
20707 + /* Sanity check */
20708 + if (r_type > R_AVR32_max)
20709 + {
20710 + bfd_set_error(bfd_error_bad_value);
20711 + return FALSE;
20712 + }
20713 +
20714 + howto = &elf_avr32_howto_table[r_type];
20715 +
20716 + if (r_symndx < symtab_hdr->sh_info)
20717 + {
20718 + sym = local_syms + r_symndx;
20719 + sec = local_sections[r_symndx];
20720 +
20721 + pr_debug(" (6a) processing %s against local symbol %lu\n",
20722 + howto->name, r_symndx);
20723 +
20724 + /* The following function changes rel->r_addend behind our back. */
20725 + value = _bfd_elf_rela_local_sym(output_bfd, sym, &sec, rel);
20726 + pr_debug(" => value: %lx, addend: %lx\n", value, rel->r_addend);
20727 + }
20728 + else
20729 + {
20730 + if (sym_hashes == NULL)
20731 + return FALSE;
20732 +
20733 + h = sym_hashes[r_symndx - symtab_hdr->sh_info];
20734 + while (h->root.type == bfd_link_hash_indirect
20735 + || h->root.type == bfd_link_hash_warning)
20736 + h = (struct elf_link_hash_entry *)h->root.u.i.link;
20737 +
20738 + pr_debug(" (6a) processing %s against symbol %s\n",
20739 + howto->name, h->root.root.string);
20740 +
20741 + if (h->root.type == bfd_link_hash_defined
20742 + || h->root.type == bfd_link_hash_defweak)
20743 + {
20744 + bfd_boolean dyn;
20745 +
20746 + dyn = htab->root.dynamic_sections_created;
20747 + sec = h->root.u.def.section;
20748 +
20749 + if (sec->output_section)
20750 + value = (h->root.u.def.value
20751 + + sec->output_section->vma
20752 + + sec->output_offset);
20753 + else
20754 + value = h->root.u.def.value;
20755 + }
20756 + else if (h->root.type == bfd_link_hash_undefweak)
20757 + value = 0;
20758 + else if (info->unresolved_syms_in_objects == RM_IGNORE
20759 + && ELF_ST_VISIBILITY(h->other) == STV_DEFAULT)
20760 + value = 0;
20761 + else
20762 + {
20763 + bfd_boolean err;
20764 + err = (info->unresolved_syms_in_objects == RM_GENERATE_ERROR
20765 + || ELF_ST_VISIBILITY(h->other) != STV_DEFAULT);
20766 + if (!info->callbacks->undefined_symbol
20767 + (info, h->root.root.string, input_bfd,
20768 + input_section, rel->r_offset, err))
20769 + return FALSE;
20770 + value = 0;
20771 + }
20772 +
20773 + pr_debug(" => value: %lx, addend: %lx\n", value, rel->r_addend);
20774 + }
20775 +
20776 + switch (r_type)
20777 + {
20778 + case R_AVR32_GOT32:
20779 + case R_AVR32_GOT16:
20780 + case R_AVR32_GOT8:
20781 + case R_AVR32_GOT21S:
20782 + case R_AVR32_GOT18SW:
20783 + case R_AVR32_GOT16S:
20784 + case R_AVR32_GOT7UW:
20785 + case R_AVR32_LDA_GOT:
20786 + case R_AVR32_GOTCALL:
20787 + BFD_ASSERT(sgot != NULL);
20788 +
20789 + if (h != NULL)
20790 + {
20791 + BFD_ASSERT(h->got.glist->refcount > 0);
20792 + offset = h->got.glist->offset;
20793 +
20794 + BFD_ASSERT(offset < sgot->size);
20795 + if (!elf_hash_table(info)->dynamic_sections_created
20796 + || (h->def_regular
20797 + && (!info->shared
20798 + || info->symbolic
20799 + || h->dynindx == -1)))
20800 + {
20801 + /* This is actually a static link, or it is a
20802 + -Bsymbolic link and the symbol is defined
20803 + locally, or the symbol was forced to be local. */
20804 + bfd_put_32(output_bfd, value, sgot->contents + offset);
20805 + }
20806 + }
20807 + else
20808 + {
20809 + BFD_ASSERT(local_got_ents &&
20810 + local_got_ents[r_symndx]->refcount > 0);
20811 + offset = local_got_ents[r_symndx]->offset;
20812 +
20813 + /* Local GOT entries don't have relocs. If this is a
20814 + shared library, the dynamic linker will add the load
20815 + address to the initial value at startup. */
20816 + BFD_ASSERT(offset < sgot->size);
20817 + pr_debug("Initializing GOT entry at offset %lu: 0x%lx\n",
20818 + offset, value);
20819 + bfd_put_32 (output_bfd, value, sgot->contents + offset);
20820 + }
20821 +
20822 + value = sgot->output_offset + offset;
20823 + pr_debug("GOT reference: New value %lx\n", value);
20824 + break;
20825 +
20826 + case R_AVR32_GOTPC:
20827 + /* This relocation type is for constant pool entries used in
20828 + the calculation "Rd = PC - (PC - GOT)", where the
20829 + constant pool supplies the constant (PC - GOT)
20830 + offset. The symbol value + addend indicates where the
20831 + value of PC is taken. */
20832 + value -= sgot->output_section->vma;
20833 + break;
20834 +
20835 + case R_AVR32_32_PCREL:
20836 + /* We must adjust r_offset to account for discarded data in
20837 + the .eh_frame section. This is probably not the right
20838 + way to do this, since AFAICS all other architectures do
20839 + it some other way. I just can't figure out how... */
20840 + {
20841 + bfd_vma r_offset;
20842 +
20843 + r_offset = _bfd_elf_section_offset(output_bfd, info,
20844 + input_section,
20845 + rel->r_offset);
20846 + if (r_offset == (bfd_vma)-1
20847 + || r_offset == (bfd_vma)-2)
20848 + continue;
20849 + rel->r_offset = r_offset;
20850 + }
20851 + break;
20852 +
20853 + case R_AVR32_32:
20854 + /* We need to emit a run-time relocation in the following cases:
20855 + - we're creating a shared library
20856 + - the symbol is not defined in any regular objects
20857 +
20858 + Of course, sections that aren't going to be part of the
20859 + run-time image will not get any relocs, and undefined
20860 + symbols won't have any either (only weak undefined
20861 + symbols should get this far). */
20862 + if ((info->shared
20863 + || (elf_hash_table(info)->dynamic_sections_created
20864 + && h != NULL
20865 + && h->def_dynamic
20866 + && !h->def_regular))
20867 + && r_symndx != 0
20868 + && (input_section->flags & SEC_ALLOC))
20869 + {
20870 + Elf_Internal_Rela outrel;
20871 + bfd_byte *loc;
20872 + bfd_boolean skip, relocate;
20873 + struct elf_avr32_link_hash_entry *avrh;
20874 +
20875 + pr_debug("Going to generate dynamic reloc...\n");
20876 +
20877 + skip = FALSE;
20878 + relocate = FALSE;
20879 +
20880 + outrel.r_offset = _bfd_elf_section_offset(output_bfd, info,
20881 + input_section,
20882 + rel->r_offset);
20883 + if (outrel.r_offset == (bfd_vma)-1)
20884 + skip = TRUE;
20885 + else if (outrel.r_offset == (bfd_vma)-2)
20886 + skip = TRUE, relocate = TRUE;
20887 +
20888 + outrel.r_offset += (input_section->output_section->vma
20889 + + input_section->output_offset);
20890 +
20891 + pr_debug(" ... offset %lx, dynindx %ld\n",
20892 + outrel.r_offset, h ? h->dynindx : -1);
20893 +
20894 + if (skip)
20895 + memset(&outrel, 0, sizeof(outrel));
20896 + else
20897 + {
20898 + avrh = (struct elf_avr32_link_hash_entry *)h;
20899 + /* h->dynindx may be -1 if this symbol was marked to
20900 + become local. */
20901 + if (h == NULL
20902 + || ((info->symbolic || h->dynindx == -1)
20903 + && h->def_regular))
20904 + {
20905 + relocate = TRUE;
20906 + outrel.r_info = ELF32_R_INFO(0, R_AVR32_RELATIVE);
20907 + outrel.r_addend = value + rel->r_addend;
20908 + pr_debug(" ... R_AVR32_RELATIVE\n");
20909 + }
20910 + else
20911 + {
20912 + BFD_ASSERT(h->dynindx != -1);
20913 + relocate = TRUE;
20914 + outrel.r_info = ELF32_R_INFO(h->dynindx, R_AVR32_GLOB_DAT);
20915 + outrel.r_addend = rel->r_addend;
20916 + pr_debug(" ... R_AVR32_GLOB_DAT\n");
20917 + }
20918 + }
20919 +
20920 + pr_debug("sreldyn reloc_count: %d, size %lu\n",
20921 + sreldyn->reloc_count, sreldyn->size);
20922 +
20923 + loc = sreldyn->contents;
20924 + loc += sreldyn->reloc_count++ * sizeof(Elf32_External_Rela);
20925 + bfd_elf32_swap_reloca_out(output_bfd, &outrel, loc);
20926 +
20927 + BFD_ASSERT(sreldyn->reloc_count * sizeof(Elf32_External_Rela)
20928 + <= sreldyn->size);
20929 +
20930 + if (!relocate)
20931 + continue;
20932 + }
20933 + break;
20934 + }
20935 +
20936 + status = avr32_final_link_relocate(howto, input_bfd, input_section,
20937 + contents, rel, value);
20938 +
20939 + switch (status)
20940 + {
20941 + case bfd_reloc_ok:
20942 + break;
20943 +
20944 + case bfd_reloc_overflow:
20945 + {
20946 + const char *name;
20947 +
20948 + if (h != NULL)
20949 + name = h->root.root.string;
20950 + else
20951 + {
20952 + name = bfd_elf_string_from_elf_section(input_bfd,
20953 + symtab_hdr->sh_link,
20954 + sym->st_name);
20955 + if (name == NULL)
20956 + return FALSE;
20957 + if (*name == '\0')
20958 + name = bfd_section_name(input_bfd, sec);
20959 + }
20960 + if (!((*info->callbacks->reloc_overflow)
20961 + (info, (h ? &h->root : NULL), name, howto->name,
20962 + rel->r_addend, input_bfd, input_section, rel->r_offset)))
20963 + return FALSE;
20964 + }
20965 + break;
20966 +
20967 + case bfd_reloc_outofrange:
20968 + default:
20969 + abort();
20970 + }
20971 + }
20972 +
20973 + return TRUE;
20974 +}
20975 +
20976 +\f
20977 +/* Additional processing of dynamic sections after relocation */
20978 +
20979 +static bfd_boolean
20980 +avr32_elf_finish_dynamic_symbol(bfd *output_bfd, struct bfd_link_info *info,
20981 + struct elf_link_hash_entry *h,
20982 + Elf_Internal_Sym *sym);
20983 +static bfd_boolean
20984 +avr32_elf_finish_dynamic_sections(bfd *output_bfd, struct bfd_link_info *info);
20985 +
20986 +
20987 +/* (7) Initialize the contents of a dynamic symbol and/or emit
20988 + relocations for it */
20989 +
20990 +static bfd_boolean
20991 +avr32_elf_finish_dynamic_symbol(bfd *output_bfd, struct bfd_link_info *info,
20992 + struct elf_link_hash_entry *h,
20993 + Elf_Internal_Sym *sym)
20994 +{
20995 + struct elf_avr32_link_hash_table *htab;
20996 + struct got_entry *got;
20997 +
20998 + pr_debug("(7) finish dynamic symbol: %s\n", h->root.root.string);
20999 +
21000 + htab = avr32_elf_hash_table(info);
21001 + got = h->got.glist;
21002 +
21003 + if (got && got->refcount > 0)
21004 + {
21005 + asection *sgot;
21006 + asection *srelgot;
21007 + Elf_Internal_Rela rel;
21008 + bfd_byte *loc;
21009 +
21010 + /* This symbol has an entry in the GOT. Set it up. */
21011 + sgot = htab->sgot;
21012 + srelgot = htab->srelgot;
21013 + BFD_ASSERT(sgot && srelgot);
21014 +
21015 + rel.r_offset = (sgot->output_section->vma
21016 + + sgot->output_offset
21017 + + got->offset);
21018 +
21019 + /* If this is a static link, or it is a -Bsymbolic link and the
21020 + symbol is defined locally or was forced to be local because
21021 + of a version file, we just want to emit a RELATIVE reloc. The
21022 + entry in the global offset table will already have been
21023 + initialized in the relocate_section function. */
21024 + if ((info->shared
21025 + && !info->symbolic
21026 + && h->dynindx != -1)
21027 + || (htab->root.dynamic_sections_created
21028 + && h->def_dynamic
21029 + && !h->def_regular))
21030 + {
21031 + bfd_put_32(output_bfd, 0, sgot->contents + got->offset);
21032 + rel.r_info = ELF32_R_INFO(h->dynindx, R_AVR32_GLOB_DAT);
21033 + rel.r_addend = 0;
21034 +
21035 + pr_debug("GOT reloc R_AVR32_GLOB_DAT, dynindx: %ld\n", h->dynindx);
21036 + pr_debug(" srelgot reloc_count: %d, size: %lu\n",
21037 + srelgot->reloc_count, srelgot->size);
21038 +
21039 + loc = (srelgot->contents
21040 + + srelgot->reloc_count++ * sizeof(Elf32_External_Rela));
21041 + bfd_elf32_swap_reloca_out(output_bfd, &rel, loc);
21042 +
21043 + BFD_ASSERT(srelgot->reloc_count * sizeof(Elf32_External_Rela)
21044 + <= srelgot->size);
21045 + }
21046 + }
21047 +
21048 + /* Mark _DYNAMIC and _GLOBAL_OFFSET_TABLE_ as absolute */
21049 + if (strcmp(h->root.root.string, "_DYNAMIC") == 0
21050 + || strcmp(h->root.root.string, "_GLOBAL_OFFSET_TABLE_") == 0)
21051 + sym->st_shndx = SHN_ABS;
21052 +
21053 + return TRUE;
21054 +}
21055 +
21056 +/* (8) Do any remaining initialization of the dynamic sections */
21057 +
21058 +static bfd_boolean
21059 +avr32_elf_finish_dynamic_sections(bfd *output_bfd, struct bfd_link_info *info)
21060 +{
21061 + struct elf_avr32_link_hash_table *htab;
21062 + asection *sgot, *sdyn;
21063 +
21064 + pr_debug("(8) finish dynamic sections\n");
21065 +
21066 + htab = avr32_elf_hash_table(info);
21067 + sgot = htab->sgot;
21068 + sdyn = bfd_get_section_by_name(htab->root.dynobj, ".dynamic");
21069 +
21070 + if (htab->root.dynamic_sections_created)
21071 + {
21072 + Elf32_External_Dyn *dyncon, *dynconend;
21073 +
21074 + BFD_ASSERT(sdyn && sgot && sgot->size >= AVR32_GOT_HEADER_SIZE);
21075 +
21076 + dyncon = (Elf32_External_Dyn *)sdyn->contents;
21077 + dynconend = (Elf32_External_Dyn *)(sdyn->contents + sdyn->size);
21078 + for (; dyncon < dynconend; dyncon++)
21079 + {
21080 + Elf_Internal_Dyn dyn;
21081 + asection *s;
21082 +
21083 + bfd_elf32_swap_dyn_in(htab->root.dynobj, dyncon, &dyn);
21084 +
21085 + switch (dyn.d_tag)
21086 + {
21087 + default:
21088 + break;
21089 +
21090 + case DT_PLTGOT:
21091 + s = sgot->output_section;
21092 + BFD_ASSERT(s != NULL);
21093 + dyn.d_un.d_ptr = s->vma;
21094 + bfd_elf32_swap_dyn_out(output_bfd, &dyn, dyncon);
21095 + break;
21096 +
21097 + case DT_AVR32_GOTSZ:
21098 + s = sgot->output_section;
21099 + BFD_ASSERT(s != NULL);
21100 + dyn.d_un.d_val = s->size;
21101 + bfd_elf32_swap_dyn_out(output_bfd, &dyn, dyncon);
21102 + break;
21103 + }
21104 + }
21105 +
21106 + /* Fill in the first two entries in the global offset table */
21107 + bfd_put_32(output_bfd,
21108 + sdyn->output_section->vma + sdyn->output_offset,
21109 + sgot->contents);
21110 +
21111 + /* The runtime linker will fill this one in with the address of
21112 + the run-time link map */
21113 + bfd_put_32(output_bfd, 0, sgot->contents + 4);
21114 + }
21115 +
21116 + if (sgot)
21117 + elf_section_data(sgot->output_section)->this_hdr.sh_entsize = 4;
21118 +
21119 + return TRUE;
21120 +}
21121 +
21122 +\f
21123 +/* AVR32-specific private ELF data */
21124 +
21125 +static bfd_boolean
21126 +avr32_elf_set_private_flags(bfd *abfd, flagword flags);
21127 +static bfd_boolean
21128 +avr32_elf_copy_private_bfd_data(bfd *ibfd, bfd *obfd);
21129 +static bfd_boolean
21130 +avr32_elf_merge_private_bfd_data(bfd *ibfd, bfd *obfd);
21131 +static bfd_boolean
21132 +avr32_elf_print_private_bfd_data(bfd *abfd, void *ptr);
21133 +
21134 +static bfd_boolean
21135 +avr32_elf_set_private_flags(bfd *abfd, flagword flags)
21136 +{
21137 + elf_elfheader(abfd)->e_flags = flags;
21138 + elf_flags_init(abfd) = TRUE;
21139 +
21140 + return TRUE;
21141 +}
21142 +
21143 +/* Copy backend specific data from one object module to another. */
21144 +
21145 +static bfd_boolean
21146 +avr32_elf_copy_private_bfd_data(bfd *ibfd, bfd *obfd)
21147 +{
21148 + elf_elfheader(obfd)->e_flags = elf_elfheader(ibfd)->e_flags;
21149 + return TRUE;
21150 +}
21151 +
21152 +/* Merge backend specific data from an object file to the output
21153 + object file when linking. */
21154 +
21155 +static bfd_boolean
21156 +avr32_elf_merge_private_bfd_data(bfd *ibfd, bfd *obfd)
21157 +{
21158 + flagword out_flags, in_flags;
21159 +
21160 + pr_debug("(0) merge_private_bfd_data: %s -> %s\n",
21161 + ibfd->filename, obfd->filename);
21162 +
21163 + in_flags = elf_elfheader(ibfd)->e_flags;
21164 + out_flags = elf_elfheader(obfd)->e_flags;
21165 +
21166 + if (elf_flags_init(obfd))
21167 + {
21168 + /* If one of the inputs are non-PIC, the output must be
21169 + considered non-PIC. The same applies to linkrelax. */
21170 + if (!(in_flags & EF_AVR32_PIC))
21171 + out_flags &= ~EF_AVR32_PIC;
21172 + if (!(in_flags & EF_AVR32_LINKRELAX))
21173 + out_flags &= ~EF_AVR32_LINKRELAX;
21174 + }
21175 + else
21176 + {
21177 + elf_flags_init(obfd) = TRUE;
21178 + out_flags = in_flags;
21179 + }
21180 +
21181 + elf_elfheader(obfd)->e_flags = out_flags;
21182 +
21183 + return TRUE;
21184 +}
21185 +
21186 +static bfd_boolean
21187 +avr32_elf_print_private_bfd_data(bfd *abfd, void *ptr)
21188 +{
21189 + FILE *file = (FILE *)ptr;
21190 + unsigned long flags;
21191 +
21192 + BFD_ASSERT(abfd != NULL && ptr != NULL);
21193 +
21194 + _bfd_elf_print_private_bfd_data(abfd, ptr);
21195 +
21196 + flags = elf_elfheader(abfd)->e_flags;
21197 +
21198 + fprintf(file, _("private flags = %lx:"), elf_elfheader(abfd)->e_flags);
21199 +
21200 + if (flags & EF_AVR32_PIC)
21201 + fprintf(file, " [PIC]");
21202 + if (flags & EF_AVR32_LINKRELAX)
21203 + fprintf(file, " [linker relaxable]");
21204 +
21205 + flags &= ~(EF_AVR32_PIC | EF_AVR32_LINKRELAX);
21206 +
21207 + if (flags)
21208 + fprintf(file, _("<Unrecognized flag bits set>"));
21209 +
21210 + fputc('\n', file);
21211 +
21212 + return TRUE;
21213 +}
21214 +
21215 +\f
21216 +/* Understanding core dumps */
21217 +
21218 +static bfd_boolean
21219 +avr32_elf_grok_prstatus(bfd *abfd, Elf_Internal_Note *note);
21220 +static bfd_boolean
21221 +avr32_elf_grok_psinfo(bfd *abfd, Elf_Internal_Note *note);
21222 +
21223 +static bfd_boolean
21224 +avr32_elf_grok_prstatus(bfd *abfd, Elf_Internal_Note *note)
21225 +{
21226 + /* Linux/AVR32B elf_prstatus */
21227 + if (note->descsz != 148)
21228 + return FALSE;
21229 +
21230 + /* pr_cursig */
21231 + elf_tdata(abfd)->core_signal = bfd_get_16(abfd, note->descdata + 12);
21232 +
21233 + /* pr_pid */
21234 + elf_tdata(abfd)->core_pid = bfd_get_32(abfd, note->descdata + 24);
21235 +
21236 + /* Make a ".reg/999" section for pr_reg. The size is for 16
21237 + general-purpose registers, SR and r12_orig (18 * 4 = 72). */
21238 + return _bfd_elfcore_make_pseudosection(abfd, ".reg", 72,
21239 + note->descpos + 72);
21240 +}
21241 +
21242 +static bfd_boolean
21243 +avr32_elf_grok_psinfo(bfd *abfd, Elf_Internal_Note *note)
21244 +{
21245 + /* Linux/AVR32B elf_prpsinfo */
21246 + if (note->descsz != 128)
21247 + return FALSE;
21248 +
21249 + elf_tdata(abfd)->core_program
21250 + = _bfd_elfcore_strndup(abfd, note->descdata + 32, 16);
21251 + elf_tdata(abfd)->core_command
21252 + = _bfd_elfcore_strndup(abfd, note->descdata + 48, 80);
21253 +
21254 + /* Note that for some reason, a spurious space is tacked
21255 + onto the end of the args in some (at least one anyway)
21256 + implementations, so strip it off if it exists. */
21257 +
21258 + {
21259 + char *command = elf_tdata (abfd)->core_command;
21260 + int n = strlen (command);
21261 +
21262 + if (0 < n && command[n - 1] == ' ')
21263 + command[n - 1] = '\0';
21264 + }
21265 +
21266 + return TRUE;
21267 +}
21268 +
21269 +\f
21270 +#define ELF_ARCH bfd_arch_avr32
21271 +#define ELF_MACHINE_CODE EM_AVR32
21272 +#define ELF_MAXPAGESIZE 0x1000
21273 +
21274 +#define TARGET_BIG_SYM bfd_elf32_avr32_vec
21275 +#define TARGET_BIG_NAME "elf32-avr32"
21276 +
21277 +#define elf_backend_grok_prstatus avr32_elf_grok_prstatus
21278 +#define elf_backend_grok_psinfo avr32_elf_grok_psinfo
21279 +
21280 +/* Only RELA relocations are used */
21281 +#define elf_backend_may_use_rel_p 0
21282 +#define elf_backend_may_use_rela_p 1
21283 +#define elf_backend_default_use_rela_p 1
21284 +#define elf_backend_rela_normal 1
21285 +#define elf_info_to_howto_rel NULL
21286 +#define elf_info_to_howto avr32_info_to_howto
21287 +
21288 +#define bfd_elf32_bfd_copy_private_bfd_data avr32_elf_copy_private_bfd_data
21289 +#define bfd_elf32_bfd_merge_private_bfd_data avr32_elf_merge_private_bfd_data
21290 +#define bfd_elf32_bfd_set_private_flags avr32_elf_set_private_flags
21291 +#define bfd_elf32_bfd_print_private_bfd_data avr32_elf_print_private_bfd_data
21292 +#define bfd_elf32_new_section_hook avr32_elf_new_section_hook
21293 +
21294 +#define elf_backend_gc_mark_hook avr32_elf_gc_mark_hook
21295 +#define elf_backend_gc_sweep_hook avr32_elf_gc_sweep_hook
21296 +#define elf_backend_relocate_section avr32_elf_relocate_section
21297 +#define elf_backend_copy_indirect_symbol avr32_elf_copy_indirect_symbol
21298 +#define elf_backend_create_dynamic_sections avr32_elf_create_dynamic_sections
21299 +#define bfd_elf32_bfd_link_hash_table_create avr32_elf_link_hash_table_create
21300 +#define elf_backend_adjust_dynamic_symbol avr32_elf_adjust_dynamic_symbol
21301 +#define elf_backend_size_dynamic_sections avr32_elf_size_dynamic_sections
21302 +#define elf_backend_finish_dynamic_symbol avr32_elf_finish_dynamic_symbol
21303 +#define elf_backend_finish_dynamic_sections avr32_elf_finish_dynamic_sections
21304 +
21305 +#define bfd_elf32_bfd_relax_section avr32_elf_relax_section
21306 +
21307 +/* Find out which symbols need an entry in .got. */
21308 +#define elf_backend_check_relocs avr32_check_relocs
21309 +#define elf_backend_can_refcount 1
21310 +#define elf_backend_can_gc_sections 1
21311 +#define elf_backend_plt_readonly 1
21312 +#define elf_backend_plt_not_loaded 1
21313 +#define elf_backend_want_plt_sym 0
21314 +#define elf_backend_plt_alignment 2
21315 +#define elf_backend_want_dynbss 0
21316 +#define elf_backend_want_got_plt 0
21317 +#define elf_backend_want_got_sym 1
21318 +#define elf_backend_got_header_size AVR32_GOT_HEADER_SIZE
21319 +
21320 +#include "elf32-target.h"
21321 Index: binutils-2.17/bfd/elf-bfd.h
21322 ===================================================================
21323 --- binutils-2.17.orig/bfd/elf-bfd.h 2007-06-28 09:19:34.190038776 +0200
21324 +++ binutils-2.17/bfd/elf-bfd.h 2007-06-28 09:19:36.581675192 +0200
21325 @@ -1307,6 +1307,10 @@
21326 find_nearest_line. */
21327 struct mips_elf_find_line *find_line_info;
21328
21329 + /* Used by AVR32 ELF relaxation code. Contains an array of pointers
21330 + for each local symbol to the fragment where it is defined. */
21331 + struct fragment **local_sym_frag;
21332 +
21333 /* A place to stash dwarf1 info for this bfd. */
21334 struct dwarf1_debug *dwarf1_find_line_info;
21335
21336 Index: binutils-2.17/bfd/libbfd.h
21337 ===================================================================
21338 --- binutils-2.17.orig/bfd/libbfd.h 2007-06-28 09:19:34.195038016 +0200
21339 +++ binutils-2.17/bfd/libbfd.h 2007-06-28 09:19:36.582675040 +0200
21340 @@ -1518,6 +1518,47 @@
21341 "BFD_RELOC_AVR_LDI",
21342 "BFD_RELOC_AVR_6",
21343 "BFD_RELOC_AVR_6_ADIW",
21344 + "BFD_RELOC_AVR32_DIFF32",
21345 + "BFD_RELOC_AVR32_DIFF16",
21346 + "BFD_RELOC_AVR32_DIFF8",
21347 + "BFD_RELOC_AVR32_GOT32",
21348 + "BFD_RELOC_AVR32_GOT16",
21349 + "BFD_RELOC_AVR32_GOT8",
21350 + "BFD_RELOC_AVR32_21S",
21351 + "BFD_RELOC_AVR32_16U",
21352 + "BFD_RELOC_AVR32_16S",
21353 + "BFD_RELOC_AVR32_SUB5",
21354 + "BFD_RELOC_AVR32_8S_EXT",
21355 + "BFD_RELOC_AVR32_8S",
21356 + "BFD_RELOC_AVR32_22H_PCREL",
21357 + "BFD_RELOC_AVR32_18W_PCREL",
21358 + "BFD_RELOC_AVR32_16B_PCREL",
21359 + "BFD_RELOC_AVR32_16N_PCREL",
21360 + "BFD_RELOC_AVR32_14UW_PCREL",
21361 + "BFD_RELOC_AVR32_11H_PCREL",
21362 + "BFD_RELOC_AVR32_10UW_PCREL",
21363 + "BFD_RELOC_AVR32_9H_PCREL",
21364 + "BFD_RELOC_AVR32_9UW_PCREL",
21365 + "BFD_RELOC_AVR32_GOTPC",
21366 + "BFD_RELOC_AVR32_GOTCALL",
21367 + "BFD_RELOC_AVR32_LDA_GOT",
21368 + "BFD_RELOC_AVR32_GOT21S",
21369 + "BFD_RELOC_AVR32_GOT18SW",
21370 + "BFD_RELOC_AVR32_GOT16S",
21371 + "BFD_RELOC_AVR32_32_CPENT",
21372 + "BFD_RELOC_AVR32_CPCALL",
21373 + "BFD_RELOC_AVR32_16_CP",
21374 + "BFD_RELOC_AVR32_9W_CP",
21375 + "BFD_RELOC_AVR32_ALIGN",
21376 + "BFD_RELOC_AVR32_14UW",
21377 + "BFD_RELOC_AVR32_10UW",
21378 + "BFD_RELOC_AVR32_10SW",
21379 + "BFD_RELOC_AVR32_STHH_W",
21380 + "BFD_RELOC_AVR32_7UW",
21381 + "BFD_RELOC_AVR32_6S",
21382 + "BFD_RELOC_AVR32_6UW",
21383 + "BFD_RELOC_AVR32_4UH",
21384 + "BFD_RELOC_AVR32_3U",
21385 "BFD_RELOC_390_12",
21386 "BFD_RELOC_390_GOT12",
21387 "BFD_RELOC_390_PLT32",
21388 Index: binutils-2.17/bfd/Makefile.am
21389 ===================================================================
21390 --- binutils-2.17.orig/bfd/Makefile.am 2007-06-28 09:19:34.201037104 +0200
21391 +++ binutils-2.17/bfd/Makefile.am 2007-06-28 09:19:36.583674888 +0200
21392 @@ -3,7 +3,7 @@
21393 AUTOMAKE_OPTIONS = 1.9 cygnus
21394
21395 # Uncomment the following line when doing a release.
21396 -RELEASE=y
21397 +# RELEASE=y
21398
21399 INCDIR = $(srcdir)/../include
21400 CSEARCH = -I. -I$(srcdir) -I$(INCDIR)
21401 @@ -62,6 +62,7 @@
21402 cpu-arc.lo \
21403 cpu-arm.lo \
21404 cpu-avr.lo \
21405 + cpu-avr32.lo \
21406 cpu-bfin.lo \
21407 cpu-cr16c.lo \
21408 cpu-cris.lo \
21409 @@ -234,6 +235,7 @@
21410 elf32-arc.lo \
21411 elf32-arm.lo \
21412 elf32-avr.lo \
21413 + elf32-avr32.lo \
21414 elf32-bfin.lo \
21415 elf32-cr16c.lo \
21416 elf32-cris.lo \
21417 @@ -1265,6 +1267,10 @@
21418 elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
21419 $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h $(INCDIR)/elf/bfin.h \
21420 $(INCDIR)/elf/reloc-macros.h elf32-target.h
21421 +elf32-avr32.lo: elf32-avr32.c $(INCDIR)/filenames.h elf-bfd.h \
21422 + $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
21423 + $(INCDIR)/bfdlink.h $(INCDIR)/elf/avr32.h $(INCDIR)/elf/reloc-macros.h \
21424 + elf32-target.h
21425 elf32-cr16c.lo: elf32-cr16c.c $(INCDIR)/filenames.h \
21426 $(INCDIR)/hashtab.h $(INCDIR)/bfdlink.h $(INCDIR)/elf/cr16c.h \
21427 $(INCDIR)/elf/reloc-macros.h elf-bfd.h $(INCDIR)/elf/common.h \
21428 Index: binutils-2.17/bfd/Makefile.in
21429 ===================================================================
21430 --- binutils-2.17.orig/bfd/Makefile.in 2007-06-28 09:19:34.206036344 +0200
21431 +++ binutils-2.17/bfd/Makefile.in 2007-06-28 09:19:36.584674736 +0200
21432 @@ -1,4 +1,4 @@
21433 -# Makefile.in generated by automake 1.9.5 from Makefile.am.
21434 +# Makefile.in generated by automake 1.9.6 from Makefile.am.
21435 # @configure_input@
21436
21437 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
21438 @@ -15,8 +15,6 @@
21439 @SET_MAKE@
21440
21441
21442 -SOURCES = $(libbfd_a_SOURCES) $(libbfd_la_SOURCES)
21443 -
21444 srcdir = @srcdir@
21445 top_srcdir = @top_srcdir@
21446 VPATH = @srcdir@
21447 @@ -141,6 +139,7 @@
21448 EXEEXT_FOR_BUILD = @EXEEXT_FOR_BUILD@
21449 GMOFILES = @GMOFILES@
21450 GMSGFMT = @GMSGFMT@
21451 +GREP = @GREP@
21452 GT_NO = @GT_NO@
21453 GT_YES = @GT_YES@
21454 HDEFINES = @HDEFINES@
21455 @@ -190,10 +189,7 @@
21456 WIN32LDFLAGS = @WIN32LDFLAGS@
21457 WIN32LIBADD = @WIN32LIBADD@
21458 XGETTEXT = @XGETTEXT@
21459 -ac_ct_AR = @ac_ct_AR@
21460 ac_ct_CC = @ac_ct_CC@
21461 -ac_ct_RANLIB = @ac_ct_RANLIB@
21462 -ac_ct_STRIP = @ac_ct_STRIP@
21463 all_backends = @all_backends@
21464 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
21465 am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
21466 @@ -219,6 +215,7 @@
21467 datadir = @datadir@
21468 datarootdir = @datarootdir@
21469 docdir = @docdir@
21470 +dvidir = @dvidir@
21471 exec_prefix = @exec_prefix@
21472 host = @host@
21473 host_alias = @host_alias@
21474 @@ -233,12 +230,15 @@
21475 l = @l@
21476 libdir = @libdir@
21477 libexecdir = @libexecdir@
21478 +localedir = @localedir@
21479 localstatedir = @localstatedir@
21480 mandir = @mandir@
21481 mkdir_p = @mkdir_p@
21482 oldincludedir = @oldincludedir@
21483 +pdfdir = @pdfdir@
21484 prefix = @prefix@
21485 program_transform_name = @program_transform_name@
21486 +psdir = @psdir@
21487 sbindir = @sbindir@
21488 sharedstatedir = @sharedstatedir@
21489 sysconfdir = @sysconfdir@
21490 @@ -253,7 +253,7 @@
21491 AUTOMAKE_OPTIONS = 1.9 cygnus
21492
21493 # Uncomment the following line when doing a release.
21494 -RELEASE=y
21495 +# RELEASE=y
21496 INCDIR = $(srcdir)/../include
21497 CSEARCH = -I. -I$(srcdir) -I$(INCDIR)
21498 MKDEP = gcc -MM
21499 @@ -298,6 +298,7 @@
21500 cpu-arc.lo \
21501 cpu-arm.lo \
21502 cpu-avr.lo \
21503 + cpu-avr32.lo \
21504 cpu-bfin.lo \
21505 cpu-cr16c.lo \
21506 cpu-cris.lo \
21507 @@ -471,6 +472,7 @@
21508 elf32-arc.lo \
21509 elf32-arm.lo \
21510 elf32-avr.lo \
21511 + elf32-avr32.lo \
21512 elf32-bfin.lo \
21513 elf32-cr16c.lo \
21514 elf32-cris.lo \
21515 @@ -1831,6 +1833,10 @@
21516 elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
21517 $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h $(INCDIR)/elf/bfin.h \
21518 $(INCDIR)/elf/reloc-macros.h elf32-target.h
21519 +elf32-avr32.lo: elf32-avr32.c $(INCDIR)/filenames.h elf-bfd.h \
21520 + $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
21521 + $(INCDIR)/bfdlink.h $(INCDIR)/elf/avr32.h $(INCDIR)/elf/reloc-macros.h \
21522 + elf32-target.h
21523 elf32-cr16c.lo: elf32-cr16c.c $(INCDIR)/filenames.h \
21524 $(INCDIR)/hashtab.h $(INCDIR)/bfdlink.h $(INCDIR)/elf/cr16c.h \
21525 $(INCDIR)/elf/reloc-macros.h elf-bfd.h $(INCDIR)/elf/common.h \
21526 Index: binutils-2.17/bfd/reloc.c
21527 ===================================================================
21528 --- binutils-2.17.orig/bfd/reloc.c 2007-06-28 09:19:34.211035584 +0200
21529 +++ binutils-2.17/bfd/reloc.c 2007-06-28 09:19:36.585674584 +0200
21530 @@ -3714,6 +3714,129 @@
21531 instructions
21532
21533 ENUM
21534 + BFD_RELOC_AVR32_DIFF32
21535 +ENUMX
21536 + BFD_RELOC_AVR32_DIFF16
21537 +ENUMX
21538 + BFD_RELOC_AVR32_DIFF8
21539 +ENUMDOC
21540 + Difference between two labels: L2 - L1. The value of L1 is encoded
21541 + as sym + addend, while the initial difference after assembly is
21542 + inserted into the object file by the assembler.
21543 +ENUM
21544 + BFD_RELOC_AVR32_GOT32
21545 +ENUMX
21546 + BFD_RELOC_AVR32_GOT16
21547 +ENUMX
21548 + BFD_RELOC_AVR32_GOT8
21549 +ENUMDOC
21550 + Reference to a symbol through the Global Offset Table. The linker
21551 + will allocate an entry for symbol in the GOT and insert the offset
21552 + of this entry as the relocation value.
21553 +ENUM
21554 + BFD_RELOC_AVR32_21S
21555 +ENUMX
21556 + BFD_RELOC_AVR32_16U
21557 +ENUMX
21558 + BFD_RELOC_AVR32_16S
21559 +ENUMX
21560 + BFD_RELOC_AVR32_SUB5
21561 +ENUMX
21562 + BFD_RELOC_AVR32_8S_EXT
21563 +ENUMX
21564 + BFD_RELOC_AVR32_8S
21565 +ENUMDOC
21566 + Normal (non-pc-relative) code relocations. Alignment and signedness
21567 + is indicated by the suffixes. S means signed, U means unsigned. W
21568 + means word-aligned, H means halfword-aligned, neither means
21569 + byte-aligned (no alignment.) SUB5 is the same relocation as 16S.
21570 +ENUM
21571 + BFD_RELOC_AVR32_22H_PCREL
21572 +ENUMX
21573 + BFD_RELOC_AVR32_18W_PCREL
21574 +ENUMX
21575 + BFD_RELOC_AVR32_16B_PCREL
21576 +ENUMX
21577 + BFD_RELOC_AVR32_16N_PCREL
21578 +ENUMX
21579 + BFD_RELOC_AVR32_14UW_PCREL
21580 +ENUMX
21581 + BFD_RELOC_AVR32_11H_PCREL
21582 +ENUMX
21583 + BFD_RELOC_AVR32_10UW_PCREL
21584 +ENUMX
21585 + BFD_RELOC_AVR32_9H_PCREL
21586 +ENUMX
21587 + BFD_RELOC_AVR32_9UW_PCREL
21588 +ENUMDOC
21589 + PC-relative relocations are signed if neither 'U' nor 'S' is
21590 + specified. However, we explicitly tack on a 'B' to indicate no
21591 + alignment, to avoid confusion with data relocs. All of these resolve
21592 + to sym + addend - offset, except the one with 'N' (negated) suffix.
21593 + This particular one resolves to offset - sym - addend.
21594 +ENUM
21595 + BFD_RELOC_AVR32_GOTPC
21596 +ENUMDOC
21597 + Subtract the link-time address of the GOT from (symbol + addend)
21598 + and insert the result.
21599 +ENUM
21600 + BFD_RELOC_AVR32_GOTCALL
21601 +ENUMX
21602 + BFD_RELOC_AVR32_LDA_GOT
21603 +ENUMX
21604 + BFD_RELOC_AVR32_GOT21S
21605 +ENUMX
21606 + BFD_RELOC_AVR32_GOT18SW
21607 +ENUMX
21608 + BFD_RELOC_AVR32_GOT16S
21609 +ENUMDOC
21610 + Reference to a symbol through the GOT. The linker will allocate an
21611 + entry for symbol in the GOT and insert the offset of this entry as
21612 + the relocation value. addend must be zero. As usual, 'S' means
21613 + signed, 'W' means word-aligned, etc.
21614 +ENUM
21615 + BFD_RELOC_AVR32_32_CPENT
21616 +ENUMDOC
21617 + 32-bit constant pool entry. I don't think 8- and 16-bit entries make
21618 + a whole lot of sense.
21619 +ENUM
21620 + BFD_RELOC_AVR32_CPCALL
21621 +ENUMX
21622 + BFD_RELOC_AVR32_16_CP
21623 +ENUMX
21624 + BFD_RELOC_AVR32_9W_CP
21625 +ENUMDOC
21626 + Constant pool references. Some of these relocations are signed,
21627 + others are unsigned. It doesn't really matter, since the constant
21628 + pool always comes after the code that references it.
21629 +ENUM
21630 + BFD_RELOC_AVR32_ALIGN
21631 +ENUMDOC
21632 + sym must be the absolute symbol. The addend specifies the alignment
21633 + order, e.g. if addend is 2, the linker must add padding so that the
21634 + next address is aligned to a 4-byte boundary.
21635 +ENUM
21636 + BFD_RELOC_AVR32_14UW
21637 +ENUMX
21638 + BFD_RELOC_AVR32_10UW
21639 +ENUMX
21640 + BFD_RELOC_AVR32_10SW
21641 +ENUMX
21642 + BFD_RELOC_AVR32_STHH_W
21643 +ENUMX
21644 + BFD_RELOC_AVR32_7UW
21645 +ENUMX
21646 + BFD_RELOC_AVR32_6S
21647 +ENUMX
21648 + BFD_RELOC_AVR32_6UW
21649 +ENUMX
21650 + BFD_RELOC_AVR32_4UH
21651 +ENUMX
21652 + BFD_RELOC_AVR32_3U
21653 +ENUMDOC
21654 + Code relocations that will never make it to the output file.
21655 +
21656 +ENUM
21657 BFD_RELOC_390_12
21658 ENUMDOC
21659 Direct 12 bit.
21660 Index: binutils-2.17/bfd/targets.c
21661 ===================================================================
21662 --- binutils-2.17.orig/bfd/targets.c 2007-06-28 09:19:34.218034520 +0200
21663 +++ binutils-2.17/bfd/targets.c 2007-06-28 09:19:36.586674432 +0200
21664 @@ -553,6 +553,7 @@
21665 extern const bfd_target bfd_efi_app_ia32_vec;
21666 extern const bfd_target bfd_efi_app_ia64_vec;
21667 extern const bfd_target bfd_elf32_avr_vec;
21668 +extern const bfd_target bfd_elf32_avr32_vec;
21669 extern const bfd_target bfd_elf32_bfin_vec;
21670 extern const bfd_target bfd_elf32_bfinfdpic_vec;
21671 extern const bfd_target bfd_elf32_big_generic_vec;
21672 @@ -855,6 +856,7 @@
21673 &bfd_efi_app_ia64_vec,
21674 #endif
21675 &bfd_elf32_avr_vec,
21676 + &bfd_elf32_avr32_vec,
21677 &bfd_elf32_bfin_vec,
21678 &bfd_elf32_bfinfdpic_vec,
21679
21680 Index: binutils-2.17/binutils/config.in
21681 ===================================================================
21682 --- binutils-2.17.orig/binutils/config.in 2007-06-28 09:19:34.223033760 +0200
21683 +++ binutils-2.17/binutils/config.in 2007-06-28 09:19:36.587674280 +0200
21684 @@ -218,7 +218,7 @@
21685
21686 /* If using the C implementation of alloca, define if you know the
21687 direction of stack growth for your system; otherwise it will be
21688 - automatically deduced at run-time.
21689 + automatically deduced at runtime.
21690 STACK_DIRECTION > 0 => grows toward higher addresses
21691 STACK_DIRECTION < 0 => grows toward lower addresses
21692 STACK_DIRECTION = 0 => direction of growth unknown */
21693 @@ -260,8 +260,8 @@
21694 #undef inline
21695 #endif
21696
21697 -/* Define to `long' if <sys/types.h> does not define. */
21698 +/* Define to `long int' if <sys/types.h> does not define. */
21699 #undef off_t
21700
21701 -/* Define to `unsigned' if <sys/types.h> does not define. */
21702 +/* Define to `unsigned int' if <sys/types.h> does not define. */
21703 #undef size_t
21704 Index: binutils-2.17/binutils/configure
21705 ===================================================================
21706 --- binutils-2.17.orig/binutils/configure 2007-06-28 09:19:35.028911248 +0200
21707 +++ binutils-2.17/binutils/configure 2007-06-28 09:19:36.601672152 +0200
21708 @@ -1,25 +1,54 @@
21709 #! /bin/sh
21710 # Guess values for system-dependent variables and create Makefiles.
21711 -# Generated by GNU Autoconf 2.59.
21712 +# Generated by GNU Autoconf 2.61.
21713 #
21714 -# Copyright (C) 2003 Free Software Foundation, Inc.
21715 +# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
21716 +# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
21717 # This configure script is free software; the Free Software Foundation
21718 # gives unlimited permission to copy, distribute and modify it.
21719 ## --------------------- ##
21720 ## M4sh Initialization. ##
21721 ## --------------------- ##
21722
21723 -# Be Bourne compatible
21724 +# Be more Bourne compatible
21725 +DUALCASE=1; export DUALCASE # for MKS sh
21726 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
21727 emulate sh
21728 NULLCMD=:
21729 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21730 # is contrary to our usage. Disable this feature.
21731 alias -g '${1+"$@"}'='"$@"'
21732 -elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
21733 - set -o posix
21734 + setopt NO_GLOB_SUBST
21735 +else
21736 + case `(set -o) 2>/dev/null` in
21737 + *posix*) set -o posix ;;
21738 +esac
21739 +
21740 +fi
21741 +
21742 +
21743 +
21744 +
21745 +# PATH needs CR
21746 +# Avoid depending upon Character Ranges.
21747 +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21748 +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21749 +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
21750 +as_cr_digits='0123456789'
21751 +as_cr_alnum=$as_cr_Letters$as_cr_digits
21752 +
21753 +# The user is always right.
21754 +if test "${PATH_SEPARATOR+set}" != set; then
21755 + echo "#! /bin/sh" >conf$$.sh
21756 + echo "exit 0" >>conf$$.sh
21757 + chmod +x conf$$.sh
21758 + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
21759 + PATH_SEPARATOR=';'
21760 + else
21761 + PATH_SEPARATOR=:
21762 + fi
21763 + rm -f conf$$.sh
21764 fi
21765 -DUALCASE=1; export DUALCASE # for MKS sh
21766
21767 # Support unset when possible.
21768 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
21769 @@ -29,8 +58,43 @@
21770 fi
21771
21772
21773 +# IFS
21774 +# We need space, tab and new line, in precisely that order. Quoting is
21775 +# there to prevent editors from complaining about space-tab.
21776 +# (If _AS_PATH_WALK were called with IFS unset, it would disable word
21777 +# splitting by setting IFS to empty value.)
21778 +as_nl='
21779 +'
21780 +IFS=" "" $as_nl"
21781 +
21782 +# Find who we are. Look in the path if we contain no directory separator.
21783 +case $0 in
21784 + *[\\/]* ) as_myself=$0 ;;
21785 + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21786 +for as_dir in $PATH
21787 +do
21788 + IFS=$as_save_IFS
21789 + test -z "$as_dir" && as_dir=.
21790 + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21791 +done
21792 +IFS=$as_save_IFS
21793 +
21794 + ;;
21795 +esac
21796 +# We did not find ourselves, most probably we were run as `sh COMMAND'
21797 +# in which case we are not to be found in the path.
21798 +if test "x$as_myself" = x; then
21799 + as_myself=$0
21800 +fi
21801 +if test ! -f "$as_myself"; then
21802 + echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21803 + { (exit 1); exit 1; }
21804 +fi
21805 +
21806 # Work around bugs in pre-3.0 UWIN ksh.
21807 -$as_unset ENV MAIL MAILPATH
21808 +for as_var in ENV MAIL MAILPATH
21809 +do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
21810 +done
21811 PS1='$ '
21812 PS2='> '
21813 PS4='+ '
21814 @@ -44,18 +108,19 @@
21815 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
21816 eval $as_var=C; export $as_var
21817 else
21818 - $as_unset $as_var
21819 + ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
21820 fi
21821 done
21822
21823 # Required to use basename.
21824 -if expr a : '\(a\)' >/dev/null 2>&1; then
21825 +if expr a : '\(a\)' >/dev/null 2>&1 &&
21826 + test "X`expr 00001 : '.*\(...\)'`" = X001; then
21827 as_expr=expr
21828 else
21829 as_expr=false
21830 fi
21831
21832 -if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
21833 +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21834 as_basename=basename
21835 else
21836 as_basename=false
21837 @@ -63,157 +128,388 @@
21838
21839
21840 # Name of the executable.
21841 -as_me=`$as_basename "$0" ||
21842 +as_me=`$as_basename -- "$0" ||
21843 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21844 X"$0" : 'X\(//\)$' \| \
21845 - X"$0" : 'X\(/\)$' \| \
21846 - . : '\(.\)' 2>/dev/null ||
21847 + X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21848 echo X/"$0" |
21849 - sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
21850 - /^X\/\(\/\/\)$/{ s//\1/; q; }
21851 - /^X\/\(\/\).*/{ s//\1/; q; }
21852 - s/.*/./; q'`
21853 + sed '/^.*\/\([^/][^/]*\)\/*$/{
21854 + s//\1/
21855 + q
21856 + }
21857 + /^X\/\(\/\/\)$/{
21858 + s//\1/
21859 + q
21860 + }
21861 + /^X\/\(\/\).*/{
21862 + s//\1/
21863 + q
21864 + }
21865 + s/.*/./; q'`
21866
21867 +# CDPATH.
21868 +$as_unset CDPATH
21869
21870 -# PATH needs CR, and LINENO needs CR and PATH.
21871 -# Avoid depending upon Character Ranges.
21872 -as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21873 -as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21874 -as_cr_Letters=$as_cr_letters$as_cr_LETTERS
21875 -as_cr_digits='0123456789'
21876 -as_cr_alnum=$as_cr_Letters$as_cr_digits
21877
21878 -# The user is always right.
21879 -if test "${PATH_SEPARATOR+set}" != set; then
21880 - echo "#! /bin/sh" >conf$$.sh
21881 - echo "exit 0" >>conf$$.sh
21882 - chmod +x conf$$.sh
21883 - if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
21884 - PATH_SEPARATOR=';'
21885 - else
21886 - PATH_SEPARATOR=:
21887 - fi
21888 - rm -f conf$$.sh
21889 +if test "x$CONFIG_SHELL" = x; then
21890 + if (eval ":") 2>/dev/null; then
21891 + as_have_required=yes
21892 +else
21893 + as_have_required=no
21894 +fi
21895 +
21896 + if test $as_have_required = yes && (eval ":
21897 +(as_func_return () {
21898 + (exit \$1)
21899 +}
21900 +as_func_success () {
21901 + as_func_return 0
21902 +}
21903 +as_func_failure () {
21904 + as_func_return 1
21905 +}
21906 +as_func_ret_success () {
21907 + return 0
21908 +}
21909 +as_func_ret_failure () {
21910 + return 1
21911 +}
21912 +
21913 +exitcode=0
21914 +if as_func_success; then
21915 + :
21916 +else
21917 + exitcode=1
21918 + echo as_func_success failed.
21919 fi
21920
21921 +if as_func_failure; then
21922 + exitcode=1
21923 + echo as_func_failure succeeded.
21924 +fi
21925
21926 - as_lineno_1=$LINENO
21927 - as_lineno_2=$LINENO
21928 - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
21929 - test "x$as_lineno_1" != "x$as_lineno_2" &&
21930 - test "x$as_lineno_3" = "x$as_lineno_2" || {
21931 - # Find who we are. Look in the path if we contain no path at all
21932 - # relative or not.
21933 - case $0 in
21934 - *[\\/]* ) as_myself=$0 ;;
21935 - *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21936 -for as_dir in $PATH
21937 -do
21938 - IFS=$as_save_IFS
21939 - test -z "$as_dir" && as_dir=.
21940 - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21941 -done
21942 +if as_func_ret_success; then
21943 + :
21944 +else
21945 + exitcode=1
21946 + echo as_func_ret_success failed.
21947 +fi
21948
21949 - ;;
21950 - esac
21951 - # We did not find ourselves, most probably we were run as `sh COMMAND'
21952 - # in which case we are not to be found in the path.
21953 - if test "x$as_myself" = x; then
21954 - as_myself=$0
21955 - fi
21956 - if test ! -f "$as_myself"; then
21957 - { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
21958 - { (exit 1); exit 1; }; }
21959 - fi
21960 - case $CONFIG_SHELL in
21961 - '')
21962 +if as_func_ret_failure; then
21963 + exitcode=1
21964 + echo as_func_ret_failure succeeded.
21965 +fi
21966 +
21967 +if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
21968 + :
21969 +else
21970 + exitcode=1
21971 + echo positional parameters were not saved.
21972 +fi
21973 +
21974 +test \$exitcode = 0) || { (exit 1); exit 1; }
21975 +
21976 +(
21977 + as_lineno_1=\$LINENO
21978 + as_lineno_2=\$LINENO
21979 + test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
21980 + test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
21981 +") 2> /dev/null; then
21982 + :
21983 +else
21984 + as_candidate_shells=
21985 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21986 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
21987 do
21988 IFS=$as_save_IFS
21989 test -z "$as_dir" && as_dir=.
21990 - for as_base in sh bash ksh sh5; do
21991 - case $as_dir in
21992 + case $as_dir in
21993 /*)
21994 - if ("$as_dir/$as_base" -c '
21995 + for as_base in sh bash ksh sh5; do
21996 + as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
21997 + done;;
21998 + esac
21999 +done
22000 +IFS=$as_save_IFS
22001 +
22002 +
22003 + for as_shell in $as_candidate_shells $SHELL; do
22004 + # Try only shells that exist, to save several forks.
22005 + if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
22006 + { ("$as_shell") 2> /dev/null <<\_ASEOF
22007 +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
22008 + emulate sh
22009 + NULLCMD=:
22010 + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22011 + # is contrary to our usage. Disable this feature.
22012 + alias -g '${1+"$@"}'='"$@"'
22013 + setopt NO_GLOB_SUBST
22014 +else
22015 + case `(set -o) 2>/dev/null` in
22016 + *posix*) set -o posix ;;
22017 +esac
22018 +
22019 +fi
22020 +
22021 +
22022 +:
22023 +_ASEOF
22024 +}; then
22025 + CONFIG_SHELL=$as_shell
22026 + as_have_required=yes
22027 + if { "$as_shell" 2> /dev/null <<\_ASEOF
22028 +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
22029 + emulate sh
22030 + NULLCMD=:
22031 + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22032 + # is contrary to our usage. Disable this feature.
22033 + alias -g '${1+"$@"}'='"$@"'
22034 + setopt NO_GLOB_SUBST
22035 +else
22036 + case `(set -o) 2>/dev/null` in
22037 + *posix*) set -o posix ;;
22038 +esac
22039 +
22040 +fi
22041 +
22042 +
22043 +:
22044 +(as_func_return () {
22045 + (exit $1)
22046 +}
22047 +as_func_success () {
22048 + as_func_return 0
22049 +}
22050 +as_func_failure () {
22051 + as_func_return 1
22052 +}
22053 +as_func_ret_success () {
22054 + return 0
22055 +}
22056 +as_func_ret_failure () {
22057 + return 1
22058 +}
22059 +
22060 +exitcode=0
22061 +if as_func_success; then
22062 + :
22063 +else
22064 + exitcode=1
22065 + echo as_func_success failed.
22066 +fi
22067 +
22068 +if as_func_failure; then
22069 + exitcode=1
22070 + echo as_func_failure succeeded.
22071 +fi
22072 +
22073 +if as_func_ret_success; then
22074 + :
22075 +else
22076 + exitcode=1
22077 + echo as_func_ret_success failed.
22078 +fi
22079 +
22080 +if as_func_ret_failure; then
22081 + exitcode=1
22082 + echo as_func_ret_failure succeeded.
22083 +fi
22084 +
22085 +if ( set x; as_func_ret_success y && test x = "$1" ); then
22086 + :
22087 +else
22088 + exitcode=1
22089 + echo positional parameters were not saved.
22090 +fi
22091 +
22092 +test $exitcode = 0) || { (exit 1); exit 1; }
22093 +
22094 +(
22095 as_lineno_1=$LINENO
22096 as_lineno_2=$LINENO
22097 - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
22098 test "x$as_lineno_1" != "x$as_lineno_2" &&
22099 - test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
22100 - $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
22101 - $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
22102 - CONFIG_SHELL=$as_dir/$as_base
22103 - export CONFIG_SHELL
22104 - exec "$CONFIG_SHELL" "$0" ${1+"$@"}
22105 - fi;;
22106 - esac
22107 - done
22108 -done
22109 -;;
22110 - esac
22111 + test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
22112 +
22113 +_ASEOF
22114 +}; then
22115 + break
22116 +fi
22117 +
22118 +fi
22119 +
22120 + done
22121 +
22122 + if test "x$CONFIG_SHELL" != x; then
22123 + for as_var in BASH_ENV ENV
22124 + do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
22125 + done
22126 + export CONFIG_SHELL
22127 + exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
22128 +fi
22129 +
22130 +
22131 + if test $as_have_required = no; then
22132 + echo This script requires a shell more modern than all the
22133 + echo shells that I found on your system. Please install a
22134 + echo modern shell, or manually run the script under such a
22135 + echo shell if you do have one.
22136 + { (exit 1); exit 1; }
22137 +fi
22138 +
22139 +
22140 +fi
22141 +
22142 +fi
22143 +
22144 +
22145 +
22146 +(eval "as_func_return () {
22147 + (exit \$1)
22148 +}
22149 +as_func_success () {
22150 + as_func_return 0
22151 +}
22152 +as_func_failure () {
22153 + as_func_return 1
22154 +}
22155 +as_func_ret_success () {
22156 + return 0
22157 +}
22158 +as_func_ret_failure () {
22159 + return 1
22160 +}
22161 +
22162 +exitcode=0
22163 +if as_func_success; then
22164 + :
22165 +else
22166 + exitcode=1
22167 + echo as_func_success failed.
22168 +fi
22169 +
22170 +if as_func_failure; then
22171 + exitcode=1
22172 + echo as_func_failure succeeded.
22173 +fi
22174 +
22175 +if as_func_ret_success; then
22176 + :
22177 +else
22178 + exitcode=1
22179 + echo as_func_ret_success failed.
22180 +fi
22181 +
22182 +if as_func_ret_failure; then
22183 + exitcode=1
22184 + echo as_func_ret_failure succeeded.
22185 +fi
22186 +
22187 +if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
22188 + :
22189 +else
22190 + exitcode=1
22191 + echo positional parameters were not saved.
22192 +fi
22193 +
22194 +test \$exitcode = 0") || {
22195 + echo No shell found that supports shell functions.
22196 + echo Please tell autoconf@gnu.org about your system,
22197 + echo including any error possibly output before this
22198 + echo message
22199 +}
22200 +
22201 +
22202 +
22203 + as_lineno_1=$LINENO
22204 + as_lineno_2=$LINENO
22205 + test "x$as_lineno_1" != "x$as_lineno_2" &&
22206 + test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
22207
22208 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
22209 # uniformly replaced by the line number. The first 'sed' inserts a
22210 - # line-number line before each line; the second 'sed' does the real
22211 - # work. The second script uses 'N' to pair each line-number line
22212 - # with the numbered line, and appends trailing '-' during
22213 - # substitution so that $LINENO is not a special case at line end.
22214 + # line-number line after each line using $LINENO; the second 'sed'
22215 + # does the real work. The second script uses 'N' to pair each
22216 + # line-number line with the line containing $LINENO, and appends
22217 + # trailing '-' during substitution so that $LINENO is not a special
22218 + # case at line end.
22219 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
22220 - # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
22221 - sed '=' <$as_myself |
22222 + # scripts with optimization help from Paolo Bonzini. Blame Lee
22223 + # E. McMahon (1931-1989) for sed's syntax. :-)
22224 + sed -n '
22225 + p
22226 + /[$]LINENO/=
22227 + ' <$as_myself |
22228 sed '
22229 + s/[$]LINENO.*/&-/
22230 + t lineno
22231 + b
22232 + :lineno
22233 N
22234 - s,$,-,
22235 - : loop
22236 - s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
22237 + :loop
22238 + s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
22239 t loop
22240 - s,-$,,
22241 - s,^['$as_cr_digits']*\n,,
22242 + s/-\n.*//
22243 ' >$as_me.lineno &&
22244 - chmod +x $as_me.lineno ||
22245 + chmod +x "$as_me.lineno" ||
22246 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
22247 { (exit 1); exit 1; }; }
22248
22249 # Don't try to exec as it changes $[0], causing all sort of problems
22250 # (the dirname of $[0] is not the place where we might find the
22251 - # original and so on. Autoconf is especially sensible to this).
22252 - . ./$as_me.lineno
22253 + # original and so on. Autoconf is especially sensitive to this).
22254 + . "./$as_me.lineno"
22255 # Exit status is that of the last command.
22256 exit
22257 }
22258
22259
22260 -case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
22261 - *c*,-n*) ECHO_N= ECHO_C='
22262 -' ECHO_T=' ' ;;
22263 - *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
22264 - *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
22265 +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
22266 + as_dirname=dirname
22267 +else
22268 + as_dirname=false
22269 +fi
22270 +
22271 +ECHO_C= ECHO_N= ECHO_T=
22272 +case `echo -n x` in
22273 +-n*)
22274 + case `echo 'x\c'` in
22275 + *c*) ECHO_T=' ';; # ECHO_T is single tab character.
22276 + *) ECHO_C='\c';;
22277 + esac;;
22278 +*)
22279 + ECHO_N='-n';;
22280 esac
22281
22282 -if expr a : '\(a\)' >/dev/null 2>&1; then
22283 +if expr a : '\(a\)' >/dev/null 2>&1 &&
22284 + test "X`expr 00001 : '.*\(...\)'`" = X001; then
22285 as_expr=expr
22286 else
22287 as_expr=false
22288 fi
22289
22290 rm -f conf$$ conf$$.exe conf$$.file
22291 +if test -d conf$$.dir; then
22292 + rm -f conf$$.dir/conf$$.file
22293 +else
22294 + rm -f conf$$.dir
22295 + mkdir conf$$.dir
22296 +fi
22297 echo >conf$$.file
22298 if ln -s conf$$.file conf$$ 2>/dev/null; then
22299 - # We could just check for DJGPP; but this test a) works b) is more generic
22300 - # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
22301 - if test -f conf$$.exe; then
22302 - # Don't use ln at all; we don't have any links
22303 + as_ln_s='ln -s'
22304 + # ... but there are two gotchas:
22305 + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22306 + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22307 + # In both cases, we have to default to `cp -p'.
22308 + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
22309 as_ln_s='cp -p'
22310 - else
22311 - as_ln_s='ln -s'
22312 - fi
22313 elif ln conf$$.file conf$$ 2>/dev/null; then
22314 as_ln_s=ln
22315 else
22316 as_ln_s='cp -p'
22317 fi
22318 -rm -f conf$$ conf$$.exe conf$$.file
22319 +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
22320 +rmdir conf$$.dir 2>/dev/null
22321
22322 if mkdir -p . 2>/dev/null; then
22323 as_mkdir_p=:
22324 @@ -222,7 +518,28 @@
22325 as_mkdir_p=false
22326 fi
22327
22328 -as_executable_p="test -f"
22329 +if test -x / >/dev/null 2>&1; then
22330 + as_test_x='test -x'
22331 +else
22332 + if ls -dL / >/dev/null 2>&1; then
22333 + as_ls_L_option=L
22334 + else
22335 + as_ls_L_option=
22336 + fi
22337 + as_test_x='
22338 + eval sh -c '\''
22339 + if test -d "$1"; then
22340 + test -d "$1/.";
22341 + else
22342 + case $1 in
22343 + -*)set "./$1";;
22344 + esac;
22345 + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
22346 + ???[sx]*):;;*)false;;esac;fi
22347 + '\'' sh
22348 + '
22349 +fi
22350 +as_executable_p=$as_test_x
22351
22352 # Sed expression to map a string onto a valid CPP name.
22353 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22354 @@ -231,39 +548,27 @@
22355 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22356
22357
22358 -# IFS
22359 -# We need space, tab and new line, in precisely that order.
22360 -as_nl='
22361 -'
22362 -IFS=" $as_nl"
22363 -
22364 -# CDPATH.
22365 -$as_unset CDPATH
22366
22367 +exec 7<&0 </dev/null 6>&1
22368
22369 # Name of the host.
22370 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
22371 # so uname gets run too.
22372 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
22373
22374 -exec 6>&1
22375 -
22376 #
22377 # Initializations.
22378 #
22379 ac_default_prefix=/usr/local
22380 +ac_clean_files=
22381 ac_config_libobj_dir=.
22382 +LIBOBJS=
22383 cross_compiling=no
22384 subdirs=
22385 MFLAGS=
22386 MAKEFLAGS=
22387 SHELL=${CONFIG_SHELL-/bin/sh}
22388
22389 -# Maximum number of lines to put in a shell here document.
22390 -# This variable seems obsolete. It should probably be removed, and
22391 -# only ac_max_sed_lines should be used.
22392 -: ${ac_max_here_lines=38}
22393 -
22394 # Identity of this package.
22395 PACKAGE_NAME=
22396 PACKAGE_TARNAME=
22397 @@ -275,42 +580,193 @@
22398 # Factoring default headers for most tests.
22399 ac_includes_default="\
22400 #include <stdio.h>
22401 -#if HAVE_SYS_TYPES_H
22402 +#ifdef HAVE_SYS_TYPES_H
22403 # include <sys/types.h>
22404 #endif
22405 -#if HAVE_SYS_STAT_H
22406 +#ifdef HAVE_SYS_STAT_H
22407 # include <sys/stat.h>
22408 #endif
22409 -#if STDC_HEADERS
22410 +#ifdef STDC_HEADERS
22411 # include <stdlib.h>
22412 # include <stddef.h>
22413 #else
22414 -# if HAVE_STDLIB_H
22415 +# ifdef HAVE_STDLIB_H
22416 # include <stdlib.h>
22417 # endif
22418 #endif
22419 -#if HAVE_STRING_H
22420 -# if !STDC_HEADERS && HAVE_MEMORY_H
22421 +#ifdef HAVE_STRING_H
22422 +# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
22423 # include <memory.h>
22424 # endif
22425 # include <string.h>
22426 #endif
22427 -#if HAVE_STRINGS_H
22428 +#ifdef HAVE_STRINGS_H
22429 # include <strings.h>
22430 #endif
22431 -#if HAVE_INTTYPES_H
22432 +#ifdef HAVE_INTTYPES_H
22433 # include <inttypes.h>
22434 -#else
22435 -# if HAVE_STDINT_H
22436 -# include <stdint.h>
22437 -# endif
22438 #endif
22439 -#if HAVE_UNISTD_H
22440 +#ifdef HAVE_STDINT_H
22441 +# include <stdint.h>
22442 +#endif
22443 +#ifdef HAVE_UNISTD_H
22444 # include <unistd.h>
22445 #endif"
22446
22447 -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'
22448 +ac_subst_vars='SHELL
22449 +PATH_SEPARATOR
22450 +PACKAGE_NAME
22451 +PACKAGE_TARNAME
22452 +PACKAGE_VERSION
22453 +PACKAGE_STRING
22454 +PACKAGE_BUGREPORT
22455 +exec_prefix
22456 +prefix
22457 +program_transform_name
22458 +bindir
22459 +sbindir
22460 +libexecdir
22461 +datarootdir
22462 +datadir
22463 +sysconfdir
22464 +sharedstatedir
22465 +localstatedir
22466 +includedir
22467 +oldincludedir
22468 +docdir
22469 +infodir
22470 +htmldir
22471 +dvidir
22472 +pdfdir
22473 +psdir
22474 +libdir
22475 +localedir
22476 +mandir
22477 +DEFS
22478 +ECHO_C
22479 +ECHO_N
22480 +ECHO_T
22481 +LIBS
22482 +build_alias
22483 +host_alias
22484 +target_alias
22485 +build
22486 +build_cpu
22487 +build_vendor
22488 +build_os
22489 +host
22490 +host_cpu
22491 +host_vendor
22492 +host_os
22493 +target
22494 +target_cpu
22495 +target_vendor
22496 +target_os
22497 +CC
22498 +CFLAGS
22499 +LDFLAGS
22500 +CPPFLAGS
22501 +ac_ct_CC
22502 +EXEEXT
22503 +OBJEXT
22504 +INSTALL_PROGRAM
22505 +INSTALL_SCRIPT
22506 +INSTALL_DATA
22507 +CYGPATH_W
22508 +PACKAGE
22509 +VERSION
22510 +ACLOCAL
22511 +AUTOCONF
22512 +AUTOMAKE
22513 +AUTOHEADER
22514 +MAKEINFO
22515 +install_sh
22516 +STRIP
22517 +INSTALL_STRIP_PROGRAM
22518 +mkdir_p
22519 +AWK
22520 +SET_MAKE
22521 +am__leading_dot
22522 +AMTAR
22523 +am__tar
22524 +am__untar
22525 +DEPDIR
22526 +am__include
22527 +am__quote
22528 +AMDEP_TRUE
22529 +AMDEP_FALSE
22530 +AMDEPBACKSLASH
22531 +CCDEPMODE
22532 +am__fastdepCC_TRUE
22533 +am__fastdepCC_FALSE
22534 +LN_S
22535 +RANLIB
22536 +LIBTOOL
22537 +WARN_CFLAGS
22538 +NO_WERROR
22539 +YACC
22540 +YFLAGS
22541 +LEX
22542 +LEX_OUTPUT_ROOT
22543 +LEXLIB
22544 +CPP
22545 +GREP
22546 +EGREP
22547 +ALLOCA
22548 +USE_NLS
22549 +MSGFMT
22550 +GMSGFMT
22551 +XGETTEXT
22552 +USE_INCLUDED_LIBINTL
22553 +CATALOGS
22554 +CATOBJEXT
22555 +DATADIRNAME
22556 +GMOFILES
22557 +INSTOBJEXT
22558 +INTLDEPS
22559 +INTLLIBS
22560 +INTLOBJS
22561 +POFILES
22562 +POSUB
22563 +INCLUDE_LOCALE_H
22564 +GT_NO
22565 +GT_YES
22566 +MKINSTALLDIRS
22567 +l
22568 +MAINTAINER_MODE_TRUE
22569 +MAINTAINER_MODE_FALSE
22570 +MAINT
22571 +HDEFINES
22572 +AR
22573 +CC_FOR_BUILD
22574 +EXEEXT_FOR_BUILD
22575 +DEMANGLER_NAME
22576 +NLMCONV_DEFS
22577 +BUILD_NLMCONV
22578 +BUILD_SRCONV
22579 +BUILD_DLLTOOL
22580 +DLLTOOL_DEFS
22581 +BUILD_WINDRES
22582 +BUILD_DLLWRAP
22583 +BUILD_MISC
22584 +OBJDUMP_DEFS
22585 +EMULATION
22586 +EMULATION_VECTOR
22587 +LIBOBJS
22588 +LTLIBOBJS'
22589 ac_subst_files=''
22590 + ac_precious_vars='build_alias
22591 +host_alias
22592 +target_alias
22593 +CC
22594 +CFLAGS
22595 +LDFLAGS
22596 +LIBS
22597 +CPPFLAGS
22598 +YACC
22599 +YFLAGS
22600 +CPP'
22601 +
22602
22603 # Initialize some variables set by options.
22604 ac_init_help=
22605 @@ -337,34 +793,48 @@
22606 # and all the variables that are supposed to be based on exec_prefix
22607 # by default will actually change.
22608 # Use braces instead of parens because sh, perl, etc. also accept them.
22609 +# (The list follows the same order as the GNU Coding Standards.)
22610 bindir='${exec_prefix}/bin'
22611 sbindir='${exec_prefix}/sbin'
22612 libexecdir='${exec_prefix}/libexec'
22613 -datadir='${prefix}/share'
22614 +datarootdir='${prefix}/share'
22615 +datadir='${datarootdir}'
22616 sysconfdir='${prefix}/etc'
22617 sharedstatedir='${prefix}/com'
22618 localstatedir='${prefix}/var'
22619 -libdir='${exec_prefix}/lib'
22620 includedir='${prefix}/include'
22621 oldincludedir='/usr/include'
22622 -infodir='${prefix}/info'
22623 -mandir='${prefix}/man'
22624 +docdir='${datarootdir}/doc/${PACKAGE}'
22625 +infodir='${datarootdir}/info'
22626 +htmldir='${docdir}'
22627 +dvidir='${docdir}'
22628 +pdfdir='${docdir}'
22629 +psdir='${docdir}'
22630 +libdir='${exec_prefix}/lib'
22631 +localedir='${datarootdir}/locale'
22632 +mandir='${datarootdir}/man'
22633
22634 ac_prev=
22635 +ac_dashdash=
22636 for ac_option
22637 do
22638 # If the previous option needs an argument, assign it.
22639 if test -n "$ac_prev"; then
22640 - eval "$ac_prev=\$ac_option"
22641 + eval $ac_prev=\$ac_option
22642 ac_prev=
22643 continue
22644 fi
22645
22646 - ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
22647 + case $ac_option in
22648 + *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
22649 + *) ac_optarg=yes ;;
22650 + esac
22651
22652 # Accept the important Cygnus configure options, so we can diagnose typos.
22653
22654 - case $ac_option in
22655 + case $ac_dashdash$ac_option in
22656 + --)
22657 + ac_dashdash=yes ;;
22658
22659 -bindir | --bindir | --bindi | --bind | --bin | --bi)
22660 ac_prev=bindir ;;
22661 @@ -386,33 +856,45 @@
22662 --config-cache | -C)
22663 cache_file=config.cache ;;
22664
22665 - -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
22666 + -datadir | --datadir | --datadi | --datad)
22667 ac_prev=datadir ;;
22668 - -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
22669 - | --da=*)
22670 + -datadir=* | --datadir=* | --datadi=* | --datad=*)
22671 datadir=$ac_optarg ;;
22672
22673 + -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
22674 + | --dataroo | --dataro | --datar)
22675 + ac_prev=datarootdir ;;
22676 + -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
22677 + | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
22678 + datarootdir=$ac_optarg ;;
22679 +
22680 -disable-* | --disable-*)
22681 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
22682 # Reject names that are not valid shell variable names.
22683 - expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
22684 + expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
22685 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
22686 { (exit 1); exit 1; }; }
22687 - ac_feature=`echo $ac_feature | sed 's/-/_/g'`
22688 - eval "enable_$ac_feature=no" ;;
22689 + ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
22690 + eval enable_$ac_feature=no ;;
22691 +
22692 + -docdir | --docdir | --docdi | --doc | --do)
22693 + ac_prev=docdir ;;
22694 + -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
22695 + docdir=$ac_optarg ;;
22696 +
22697 + -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
22698 + ac_prev=dvidir ;;
22699 + -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
22700 + dvidir=$ac_optarg ;;
22701
22702 -enable-* | --enable-*)
22703 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
22704 # Reject names that are not valid shell variable names.
22705 - expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
22706 + expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
22707 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
22708 { (exit 1); exit 1; }; }
22709 - ac_feature=`echo $ac_feature | sed 's/-/_/g'`
22710 - case $ac_option in
22711 - *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
22712 - *) ac_optarg=yes ;;
22713 - esac
22714 - eval "enable_$ac_feature='$ac_optarg'" ;;
22715 + ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
22716 + eval enable_$ac_feature=\$ac_optarg ;;
22717
22718 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
22719 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
22720 @@ -439,6 +921,12 @@
22721 -host=* | --host=* | --hos=* | --ho=*)
22722 host_alias=$ac_optarg ;;
22723
22724 + -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
22725 + ac_prev=htmldir ;;
22726 + -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
22727 + | --ht=*)
22728 + htmldir=$ac_optarg ;;
22729 +
22730 -includedir | --includedir | --includedi | --included | --include \
22731 | --includ | --inclu | --incl | --inc)
22732 ac_prev=includedir ;;
22733 @@ -463,13 +951,16 @@
22734 | --libexe=* | --libex=* | --libe=*)
22735 libexecdir=$ac_optarg ;;
22736
22737 + -localedir | --localedir | --localedi | --localed | --locale)
22738 + ac_prev=localedir ;;
22739 + -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
22740 + localedir=$ac_optarg ;;
22741 +
22742 -localstatedir | --localstatedir | --localstatedi | --localstated \
22743 - | --localstate | --localstat | --localsta | --localst \
22744 - | --locals | --local | --loca | --loc | --lo)
22745 + | --localstate | --localstat | --localsta | --localst | --locals)
22746 ac_prev=localstatedir ;;
22747 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
22748 - | --localstate=* | --localstat=* | --localsta=* | --localst=* \
22749 - | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
22750 + | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
22751 localstatedir=$ac_optarg ;;
22752
22753 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
22754 @@ -534,6 +1025,16 @@
22755 | --progr-tra=* | --program-tr=* | --program-t=*)
22756 program_transform_name=$ac_optarg ;;
22757
22758 + -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
22759 + ac_prev=pdfdir ;;
22760 + -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
22761 + pdfdir=$ac_optarg ;;
22762 +
22763 + -psdir | --psdir | --psdi | --psd | --ps)
22764 + ac_prev=psdir ;;
22765 + -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
22766 + psdir=$ac_optarg ;;
22767 +
22768 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
22769 | -silent | --silent | --silen | --sile | --sil)
22770 silent=yes ;;
22771 @@ -586,24 +1087,20 @@
22772 -with-* | --with-*)
22773 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
22774 # Reject names that are not valid shell variable names.
22775 - expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
22776 + expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
22777 { echo "$as_me: error: invalid package name: $ac_package" >&2
22778 { (exit 1); exit 1; }; }
22779 - ac_package=`echo $ac_package| sed 's/-/_/g'`
22780 - case $ac_option in
22781 - *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
22782 - *) ac_optarg=yes ;;
22783 - esac
22784 - eval "with_$ac_package='$ac_optarg'" ;;
22785 + ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
22786 + eval with_$ac_package=\$ac_optarg ;;
22787
22788 -without-* | --without-*)
22789 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
22790 # Reject names that are not valid shell variable names.
22791 - expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
22792 + expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
22793 { echo "$as_me: error: invalid package name: $ac_package" >&2
22794 { (exit 1); exit 1; }; }
22795 - ac_package=`echo $ac_package | sed 's/-/_/g'`
22796 - eval "with_$ac_package=no" ;;
22797 + ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
22798 + eval with_$ac_package=no ;;
22799
22800 --x)
22801 # Obsolete; use --with-x.
22802 @@ -634,8 +1131,7 @@
22803 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
22804 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
22805 { (exit 1); exit 1; }; }
22806 - ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
22807 - eval "$ac_envvar='$ac_optarg'"
22808 + eval $ac_envvar=\$ac_optarg
22809 export $ac_envvar ;;
22810
22811 *)
22812 @@ -655,27 +1151,19 @@
22813 { (exit 1); exit 1; }; }
22814 fi
22815
22816 -# Be sure to have absolute paths.
22817 -for ac_var in exec_prefix prefix
22818 -do
22819 - eval ac_val=$`echo $ac_var`
22820 - case $ac_val in
22821 - [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
22822 - *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
22823 - { (exit 1); exit 1; }; };;
22824 - esac
22825 -done
22826 -
22827 -# Be sure to have absolute paths.
22828 -for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
22829 - localstatedir libdir includedir oldincludedir infodir mandir
22830 +# Be sure to have absolute directory names.
22831 +for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
22832 + datadir sysconfdir sharedstatedir localstatedir includedir \
22833 + oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
22834 + libdir localedir mandir
22835 do
22836 - eval ac_val=$`echo $ac_var`
22837 + eval ac_val=\$$ac_var
22838 case $ac_val in
22839 - [\\/$]* | ?:[\\/]* ) ;;
22840 - *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
22841 - { (exit 1); exit 1; }; };;
22842 + [\\/$]* | ?:[\\/]* ) continue;;
22843 + NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
22844 esac
22845 + { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
22846 + { (exit 1); exit 1; }; }
22847 done
22848
22849 # There might be people who depend on the old broken behavior: `$host'
22850 @@ -702,74 +1190,76 @@
22851 test "$silent" = yes && exec 6>/dev/null
22852
22853
22854 +ac_pwd=`pwd` && test -n "$ac_pwd" &&
22855 +ac_ls_di=`ls -di .` &&
22856 +ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
22857 + { echo "$as_me: error: Working directory cannot be determined" >&2
22858 + { (exit 1); exit 1; }; }
22859 +test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
22860 + { echo "$as_me: error: pwd does not report name of working directory" >&2
22861 + { (exit 1); exit 1; }; }
22862 +
22863 +
22864 # Find the source files, if location was not specified.
22865 if test -z "$srcdir"; then
22866 ac_srcdir_defaulted=yes
22867 - # Try the directory containing this script, then its parent.
22868 - ac_confdir=`(dirname "$0") 2>/dev/null ||
22869 + # Try the directory containing this script, then the parent directory.
22870 + ac_confdir=`$as_dirname -- "$0" ||
22871 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22872 X"$0" : 'X\(//\)[^/]' \| \
22873 X"$0" : 'X\(//\)$' \| \
22874 - X"$0" : 'X\(/\)' \| \
22875 - . : '\(.\)' 2>/dev/null ||
22876 + X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22877 echo X"$0" |
22878 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22879 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22880 - /^X\(\/\/\)$/{ s//\1/; q; }
22881 - /^X\(\/\).*/{ s//\1/; q; }
22882 - s/.*/./; q'`
22883 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22884 + s//\1/
22885 + q
22886 + }
22887 + /^X\(\/\/\)[^/].*/{
22888 + s//\1/
22889 + q
22890 + }
22891 + /^X\(\/\/\)$/{
22892 + s//\1/
22893 + q
22894 + }
22895 + /^X\(\/\).*/{
22896 + s//\1/
22897 + q
22898 + }
22899 + s/.*/./; q'`
22900 srcdir=$ac_confdir
22901 - if test ! -r $srcdir/$ac_unique_file; then
22902 + if test ! -r "$srcdir/$ac_unique_file"; then
22903 srcdir=..
22904 fi
22905 else
22906 ac_srcdir_defaulted=no
22907 fi
22908 -if test ! -r $srcdir/$ac_unique_file; then
22909 - if test "$ac_srcdir_defaulted" = yes; then
22910 - { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
22911 - { (exit 1); exit 1; }; }
22912 - else
22913 - { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
22914 - { (exit 1); exit 1; }; }
22915 - fi
22916 -fi
22917 -(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
22918 - { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
22919 - { (exit 1); exit 1; }; }
22920 -srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
22921 -ac_env_build_alias_set=${build_alias+set}
22922 -ac_env_build_alias_value=$build_alias
22923 -ac_cv_env_build_alias_set=${build_alias+set}
22924 -ac_cv_env_build_alias_value=$build_alias
22925 -ac_env_host_alias_set=${host_alias+set}
22926 -ac_env_host_alias_value=$host_alias
22927 -ac_cv_env_host_alias_set=${host_alias+set}
22928 -ac_cv_env_host_alias_value=$host_alias
22929 -ac_env_target_alias_set=${target_alias+set}
22930 -ac_env_target_alias_value=$target_alias
22931 -ac_cv_env_target_alias_set=${target_alias+set}
22932 -ac_cv_env_target_alias_value=$target_alias
22933 -ac_env_CC_set=${CC+set}
22934 -ac_env_CC_value=$CC
22935 -ac_cv_env_CC_set=${CC+set}
22936 -ac_cv_env_CC_value=$CC
22937 -ac_env_CFLAGS_set=${CFLAGS+set}
22938 -ac_env_CFLAGS_value=$CFLAGS
22939 -ac_cv_env_CFLAGS_set=${CFLAGS+set}
22940 -ac_cv_env_CFLAGS_value=$CFLAGS
22941 -ac_env_LDFLAGS_set=${LDFLAGS+set}
22942 -ac_env_LDFLAGS_value=$LDFLAGS
22943 -ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
22944 -ac_cv_env_LDFLAGS_value=$LDFLAGS
22945 -ac_env_CPPFLAGS_set=${CPPFLAGS+set}
22946 -ac_env_CPPFLAGS_value=$CPPFLAGS
22947 -ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
22948 -ac_cv_env_CPPFLAGS_value=$CPPFLAGS
22949 -ac_env_CPP_set=${CPP+set}
22950 -ac_env_CPP_value=$CPP
22951 -ac_cv_env_CPP_set=${CPP+set}
22952 -ac_cv_env_CPP_value=$CPP
22953 +if test ! -r "$srcdir/$ac_unique_file"; then
22954 + test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
22955 + { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
22956 + { (exit 1); exit 1; }; }
22957 +fi
22958 +ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
22959 +ac_abs_confdir=`(
22960 + cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
22961 + { (exit 1); exit 1; }; }
22962 + pwd)`
22963 +# When building in place, set srcdir=.
22964 +if test "$ac_abs_confdir" = "$ac_pwd"; then
22965 + srcdir=.
22966 +fi
22967 +# Remove unnecessary trailing slashes from srcdir.
22968 +# Double slashes in file names in object file debugging info
22969 +# mess up M-x gdb in Emacs.
22970 +case $srcdir in
22971 +*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
22972 +esac
22973 +for ac_var in $ac_precious_vars; do
22974 + eval ac_env_${ac_var}_set=\${${ac_var}+set}
22975 + eval ac_env_${ac_var}_value=\$${ac_var}
22976 + eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
22977 + eval ac_cv_env_${ac_var}_value=\$${ac_var}
22978 +done
22979
22980 #
22981 # Report the --help message.
22982 @@ -798,9 +1288,6 @@
22983 -n, --no-create do not create output files
22984 --srcdir=DIR find the sources in DIR [configure dir or \`..']
22985
22986 -_ACEOF
22987 -
22988 - cat <<_ACEOF
22989 Installation directories:
22990 --prefix=PREFIX install architecture-independent files in PREFIX
22991 [$ac_default_prefix]
22992 @@ -818,15 +1305,22 @@
22993 --bindir=DIR user executables [EPREFIX/bin]
22994 --sbindir=DIR system admin executables [EPREFIX/sbin]
22995 --libexecdir=DIR program executables [EPREFIX/libexec]
22996 - --datadir=DIR read-only architecture-independent data [PREFIX/share]
22997 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
22998 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
22999 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
23000 --libdir=DIR object code libraries [EPREFIX/lib]
23001 --includedir=DIR C header files [PREFIX/include]
23002 --oldincludedir=DIR C header files for non-gcc [/usr/include]
23003 - --infodir=DIR info documentation [PREFIX/info]
23004 - --mandir=DIR man documentation [PREFIX/man]
23005 + --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
23006 + --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
23007 + --infodir=DIR info documentation [DATAROOTDIR/info]
23008 + --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
23009 + --mandir=DIR man documentation [DATAROOTDIR/man]
23010 + --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
23011 + --htmldir=DIR html documentation [DOCDIR]
23012 + --dvidir=DIR dvi documentation [DOCDIR]
23013 + --pdfdir=DIR pdf documentation [DOCDIR]
23014 + --psdir=DIR ps documentation [DOCDIR]
23015 _ACEOF
23016
23017 cat <<\_ACEOF
23018 @@ -876,126 +1370,100 @@
23019 CFLAGS C compiler flags
23020 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
23021 nonstandard directory <lib dir>
23022 - CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
23023 - headers in a nonstandard directory <include dir>
23024 + LIBS libraries to pass to the linker, e.g. -l<library>
23025 + CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
23026 + you have headers in a nonstandard directory <include dir>
23027 + YACC The `Yet Another C Compiler' implementation to use. Defaults to
23028 + the first program found out of: `bison -y', `byacc', `yacc'.
23029 + YFLAGS The list of arguments that will be passed by default to $YACC.
23030 + This script will default YFLAGS to the empty string to avoid a
23031 + default value of `-d' given by some make applications.
23032 CPP C preprocessor
23033
23034 Use these variables to override the choices made by `configure' or to help
23035 it to find libraries and programs with nonstandard names/locations.
23036
23037 _ACEOF
23038 +ac_status=$?
23039 fi
23040
23041 if test "$ac_init_help" = "recursive"; then
23042 # If there are subdirs, report their specific --help.
23043 - ac_popdir=`pwd`
23044 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
23045 - test -d $ac_dir || continue
23046 + test -d "$ac_dir" || continue
23047 ac_builddir=.
23048
23049 -if test "$ac_dir" != .; then
23050 +case "$ac_dir" in
23051 +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
23052 +*)
23053 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
23054 - # A "../" for each directory in $ac_dir_suffix.
23055 - ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
23056 -else
23057 - ac_dir_suffix= ac_top_builddir=
23058 -fi
23059 + # A ".." for each directory in $ac_dir_suffix.
23060 + ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
23061 + case $ac_top_builddir_sub in
23062 + "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
23063 + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
23064 + esac ;;
23065 +esac
23066 +ac_abs_top_builddir=$ac_pwd
23067 +ac_abs_builddir=$ac_pwd$ac_dir_suffix
23068 +# for backward compatibility:
23069 +ac_top_builddir=$ac_top_build_prefix
23070
23071 case $srcdir in
23072 - .) # No --srcdir option. We are building in place.
23073 + .) # We are building in place.
23074 ac_srcdir=.
23075 - if test -z "$ac_top_builddir"; then
23076 - ac_top_srcdir=.
23077 - else
23078 - ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
23079 - fi ;;
23080 - [\\/]* | ?:[\\/]* ) # Absolute path.
23081 + ac_top_srcdir=$ac_top_builddir_sub
23082 + ac_abs_top_srcdir=$ac_pwd ;;
23083 + [\\/]* | ?:[\\/]* ) # Absolute name.
23084 ac_srcdir=$srcdir$ac_dir_suffix;
23085 - ac_top_srcdir=$srcdir ;;
23086 - *) # Relative path.
23087 - ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
23088 - ac_top_srcdir=$ac_top_builddir$srcdir ;;
23089 -esac
23090 -
23091 -# Do not use `cd foo && pwd` to compute absolute paths, because
23092 -# the directories may not exist.
23093 -case `pwd` in
23094 -.) ac_abs_builddir="$ac_dir";;
23095 -*)
23096 - case "$ac_dir" in
23097 - .) ac_abs_builddir=`pwd`;;
23098 - [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
23099 - *) ac_abs_builddir=`pwd`/"$ac_dir";;
23100 - esac;;
23101 -esac
23102 -case $ac_abs_builddir in
23103 -.) ac_abs_top_builddir=${ac_top_builddir}.;;
23104 -*)
23105 - case ${ac_top_builddir}. in
23106 - .) ac_abs_top_builddir=$ac_abs_builddir;;
23107 - [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
23108 - *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
23109 - esac;;
23110 -esac
23111 -case $ac_abs_builddir in
23112 -.) ac_abs_srcdir=$ac_srcdir;;
23113 -*)
23114 - case $ac_srcdir in
23115 - .) ac_abs_srcdir=$ac_abs_builddir;;
23116 - [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
23117 - *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
23118 - esac;;
23119 -esac
23120 -case $ac_abs_builddir in
23121 -.) ac_abs_top_srcdir=$ac_top_srcdir;;
23122 -*)
23123 - case $ac_top_srcdir in
23124 - .) ac_abs_top_srcdir=$ac_abs_builddir;;
23125 - [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
23126 - *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
23127 - esac;;
23128 -esac
23129 -
23130 - cd $ac_dir
23131 - # Check for guested configure; otherwise get Cygnus style configure.
23132 - if test -f $ac_srcdir/configure.gnu; then
23133 - echo
23134 - $SHELL $ac_srcdir/configure.gnu --help=recursive
23135 - elif test -f $ac_srcdir/configure; then
23136 - echo
23137 - $SHELL $ac_srcdir/configure --help=recursive
23138 - elif test -f $ac_srcdir/configure.ac ||
23139 - test -f $ac_srcdir/configure.in; then
23140 - echo
23141 - $ac_configure --help
23142 + ac_top_srcdir=$srcdir
23143 + ac_abs_top_srcdir=$srcdir ;;
23144 + *) # Relative name.
23145 + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
23146 + ac_top_srcdir=$ac_top_build_prefix$srcdir
23147 + ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
23148 +esac
23149 +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
23150 +
23151 + cd "$ac_dir" || { ac_status=$?; continue; }
23152 + # Check for guested configure.
23153 + if test -f "$ac_srcdir/configure.gnu"; then
23154 + echo &&
23155 + $SHELL "$ac_srcdir/configure.gnu" --help=recursive
23156 + elif test -f "$ac_srcdir/configure"; then
23157 + echo &&
23158 + $SHELL "$ac_srcdir/configure" --help=recursive
23159 else
23160 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
23161 - fi
23162 - cd $ac_popdir
23163 + fi || ac_status=$?
23164 + cd "$ac_pwd" || { ac_status=$?; break; }
23165 done
23166 fi
23167
23168 -test -n "$ac_init_help" && exit 0
23169 +test -n "$ac_init_help" && exit $ac_status
23170 if $ac_init_version; then
23171 cat <<\_ACEOF
23172 +configure
23173 +generated by GNU Autoconf 2.61
23174
23175 -Copyright (C) 2003 Free Software Foundation, Inc.
23176 +Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
23177 +2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
23178 This configure script is free software; the Free Software Foundation
23179 gives unlimited permission to copy, distribute and modify it.
23180 _ACEOF
23181 - exit 0
23182 + exit
23183 fi
23184 -exec 5>config.log
23185 -cat >&5 <<_ACEOF
23186 +cat >config.log <<_ACEOF
23187 This file contains any messages produced by compilers while
23188 running configure, to aid debugging if configure makes a mistake.
23189
23190 It was created by $as_me, which was
23191 -generated by GNU Autoconf 2.59. Invocation command line was
23192 +generated by GNU Autoconf 2.61. Invocation command line was
23193
23194 $ $0 $@
23195
23196 _ACEOF
23197 +exec 5>>config.log
23198 {
23199 cat <<_ASUNAME
23200 ## --------- ##
23201 @@ -1014,7 +1482,7 @@
23202 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
23203 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
23204 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
23205 -hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
23206 +/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
23207 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
23208 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
23209 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
23210 @@ -1028,6 +1496,7 @@
23211 test -z "$as_dir" && as_dir=.
23212 echo "PATH: $as_dir"
23213 done
23214 +IFS=$as_save_IFS
23215
23216 } >&5
23217
23218 @@ -1049,7 +1518,6 @@
23219 ac_configure_args=
23220 ac_configure_args0=
23221 ac_configure_args1=
23222 -ac_sep=
23223 ac_must_keep_next=false
23224 for ac_pass in 1 2
23225 do
23226 @@ -1060,7 +1528,7 @@
23227 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
23228 | -silent | --silent | --silen | --sile | --sil)
23229 continue ;;
23230 - *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
23231 + *\'*)
23232 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
23233 esac
23234 case $ac_pass in
23235 @@ -1082,9 +1550,7 @@
23236 -* ) ac_must_keep_next=true ;;
23237 esac
23238 fi
23239 - ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
23240 - # Get rid of the leading space.
23241 - ac_sep=" "
23242 + ac_configure_args="$ac_configure_args '$ac_arg'"
23243 ;;
23244 esac
23245 done
23246 @@ -1095,8 +1561,8 @@
23247 # When interrupted or exit'd, cleanup temporary files, and complete
23248 # config.log. We remove comments because anyway the quotes in there
23249 # would cause problems or look ugly.
23250 -# WARNING: Be sure not to use single quotes in there, as some shells,
23251 -# such as our DU 5.0 friend, will then `close' the trap.
23252 +# WARNING: Use '\'' to represent an apostrophe within the trap.
23253 +# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
23254 trap 'exit_status=$?
23255 # Save into config.log some information that might help in debugging.
23256 {
23257 @@ -1109,20 +1575,34 @@
23258 _ASBOX
23259 echo
23260 # The following way of writing the cache mishandles newlines in values,
23261 -{
23262 +(
23263 + for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
23264 + eval ac_val=\$$ac_var
23265 + case $ac_val in #(
23266 + *${as_nl}*)
23267 + case $ac_var in #(
23268 + *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
23269 +echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
23270 + esac
23271 + case $ac_var in #(
23272 + _ | IFS | as_nl) ;; #(
23273 + *) $as_unset $ac_var ;;
23274 + esac ;;
23275 + esac
23276 + done
23277 (set) 2>&1 |
23278 - case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
23279 - *ac_space=\ *)
23280 + case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
23281 + *${as_nl}ac_space=\ *)
23282 sed -n \
23283 - "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
23284 - s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
23285 - ;;
23286 + "s/'\''/'\''\\\\'\'''\''/g;
23287 + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
23288 + ;; #(
23289 *)
23290 - sed -n \
23291 - "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
23292 + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
23293 ;;
23294 - esac;
23295 -}
23296 + esac |
23297 + sort
23298 +)
23299 echo
23300
23301 cat <<\_ASBOX
23302 @@ -1133,22 +1613,28 @@
23303 echo
23304 for ac_var in $ac_subst_vars
23305 do
23306 - eval ac_val=$`echo $ac_var`
23307 - echo "$ac_var='"'"'$ac_val'"'"'"
23308 + eval ac_val=\$$ac_var
23309 + case $ac_val in
23310 + *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
23311 + esac
23312 + echo "$ac_var='\''$ac_val'\''"
23313 done | sort
23314 echo
23315
23316 if test -n "$ac_subst_files"; then
23317 cat <<\_ASBOX
23318 -## ------------- ##
23319 -## Output files. ##
23320 -## ------------- ##
23321 +## ------------------- ##
23322 +## File substitutions. ##
23323 +## ------------------- ##
23324 _ASBOX
23325 echo
23326 for ac_var in $ac_subst_files
23327 do
23328 - eval ac_val=$`echo $ac_var`
23329 - echo "$ac_var='"'"'$ac_val'"'"'"
23330 + eval ac_val=\$$ac_var
23331 + case $ac_val in
23332 + *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
23333 + esac
23334 + echo "$ac_var='\''$ac_val'\''"
23335 done | sort
23336 echo
23337 fi
23338 @@ -1160,26 +1646,24 @@
23339 ## ----------- ##
23340 _ASBOX
23341 echo
23342 - sed "/^$/d" confdefs.h | sort
23343 + cat confdefs.h
23344 echo
23345 fi
23346 test "$ac_signal" != 0 &&
23347 echo "$as_me: caught signal $ac_signal"
23348 echo "$as_me: exit $exit_status"
23349 } >&5
23350 - rm -f core *.core &&
23351 - rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
23352 + rm -f core *.core core.conftest.* &&
23353 + rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
23354 exit $exit_status
23355 - ' 0
23356 +' 0
23357 for ac_signal in 1 2 13 15; do
23358 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
23359 done
23360 ac_signal=0
23361
23362 # confdefs.h avoids OS command line length limits that DEFS can exceed.
23363 -rm -rf conftest* confdefs.h
23364 -# AIX cpp loses on an empty file, so make sure it contains at least a newline.
23365 -echo >confdefs.h
23366 +rm -f -r conftest* confdefs.h
23367
23368 # Predefined preprocessor variables.
23369
23370 @@ -1210,14 +1694,17 @@
23371
23372 # Let the site file select an alternate cache file if it wants to.
23373 # Prefer explicitly selected file to automatically selected ones.
23374 -if test -z "$CONFIG_SITE"; then
23375 - if test "x$prefix" != xNONE; then
23376 - CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
23377 - else
23378 - CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
23379 - fi
23380 +if test -n "$CONFIG_SITE"; then
23381 + set x "$CONFIG_SITE"
23382 +elif test "x$prefix" != xNONE; then
23383 + set x "$prefix/share/config.site" "$prefix/etc/config.site"
23384 +else
23385 + set x "$ac_default_prefix/share/config.site" \
23386 + "$ac_default_prefix/etc/config.site"
23387 fi
23388 -for ac_site_file in $CONFIG_SITE; do
23389 +shift
23390 +for ac_site_file
23391 +do
23392 if test -r "$ac_site_file"; then
23393 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
23394 echo "$as_me: loading site script $ac_site_file" >&6;}
23395 @@ -1233,8 +1720,8 @@
23396 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
23397 echo "$as_me: loading cache $cache_file" >&6;}
23398 case $cache_file in
23399 - [\\/]* | ?:[\\/]* ) . $cache_file;;
23400 - *) . ./$cache_file;;
23401 + [\\/]* | ?:[\\/]* ) . "$cache_file";;
23402 + *) . "./$cache_file";;
23403 esac
23404 fi
23405 else
23406 @@ -1246,12 +1733,11 @@
23407 # Check that the precious variables saved in the cache have kept the same
23408 # value.
23409 ac_cache_corrupted=false
23410 -for ac_var in `(set) 2>&1 |
23411 - sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
23412 +for ac_var in $ac_precious_vars; do
23413 eval ac_old_set=\$ac_cv_env_${ac_var}_set
23414 eval ac_new_set=\$ac_env_${ac_var}_set
23415 - eval ac_old_val="\$ac_cv_env_${ac_var}_value"
23416 - eval ac_new_val="\$ac_env_${ac_var}_value"
23417 + eval ac_old_val=\$ac_cv_env_${ac_var}_value
23418 + eval ac_new_val=\$ac_env_${ac_var}_value
23419 case $ac_old_set,$ac_new_set in
23420 set,)
23421 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
23422 @@ -1276,8 +1762,7 @@
23423 # Pass precious variables to config.status.
23424 if test "$ac_new_set" = set; then
23425 case $ac_new_val in
23426 - *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
23427 - ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
23428 + *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
23429 *) ac_arg=$ac_var=$ac_new_val ;;
23430 esac
23431 case " $ac_configure_args " in
23432 @@ -1294,12 +1779,6 @@
23433 { (exit 1); exit 1; }; }
23434 fi
23435
23436 -ac_ext=c
23437 -ac_cpp='$CPP $CPPFLAGS'
23438 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23439 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23440 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
23441 -
23442
23443
23444
23445 @@ -1316,108 +1795,163 @@
23446
23447
23448
23449 +ac_ext=c
23450 +ac_cpp='$CPP $CPPFLAGS'
23451 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23452 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23453 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
23454
23455
23456
23457 ac_aux_dir=
23458 -for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
23459 - if test -f $ac_dir/install-sh; then
23460 +for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
23461 + if test -f "$ac_dir/install-sh"; then
23462 ac_aux_dir=$ac_dir
23463 ac_install_sh="$ac_aux_dir/install-sh -c"
23464 break
23465 - elif test -f $ac_dir/install.sh; then
23466 + elif test -f "$ac_dir/install.sh"; then
23467 ac_aux_dir=$ac_dir
23468 ac_install_sh="$ac_aux_dir/install.sh -c"
23469 break
23470 - elif test -f $ac_dir/shtool; then
23471 + elif test -f "$ac_dir/shtool"; then
23472 ac_aux_dir=$ac_dir
23473 ac_install_sh="$ac_aux_dir/shtool install -c"
23474 break
23475 fi
23476 done
23477 if test -z "$ac_aux_dir"; then
23478 - { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
23479 -echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
23480 + { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
23481 +echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
23482 { (exit 1); exit 1; }; }
23483 fi
23484 -ac_config_guess="$SHELL $ac_aux_dir/config.guess"
23485 -ac_config_sub="$SHELL $ac_aux_dir/config.sub"
23486 -ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
23487 +
23488 +# These three variables are undocumented and unsupported,
23489 +# and are intended to be withdrawn in a future Autoconf release.
23490 +# They can cause serious problems if a builder's source tree is in a directory
23491 +# whose full name contains unusual characters.
23492 +ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
23493 +ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
23494 +ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
23495 +
23496
23497 # Make sure we can run config.sub.
23498 -$ac_config_sub sun4 >/dev/null 2>&1 ||
23499 - { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
23500 -echo "$as_me: error: cannot run $ac_config_sub" >&2;}
23501 +$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
23502 + { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
23503 +echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
23504 { (exit 1); exit 1; }; }
23505
23506 -echo "$as_me:$LINENO: checking build system type" >&5
23507 -echo $ECHO_N "checking build system type... $ECHO_C" >&6
23508 +{ echo "$as_me:$LINENO: checking build system type" >&5
23509 +echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
23510 if test "${ac_cv_build+set}" = set; then
23511 echo $ECHO_N "(cached) $ECHO_C" >&6
23512 else
23513 - ac_cv_build_alias=$build_alias
23514 -test -z "$ac_cv_build_alias" &&
23515 - ac_cv_build_alias=`$ac_config_guess`
23516 -test -z "$ac_cv_build_alias" &&
23517 + ac_build_alias=$build_alias
23518 +test "x$ac_build_alias" = x &&
23519 + ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
23520 +test "x$ac_build_alias" = x &&
23521 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
23522 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
23523 { (exit 1); exit 1; }; }
23524 -ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
23525 - { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
23526 -echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
23527 +ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
23528 + { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
23529 +echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
23530 { (exit 1); exit 1; }; }
23531
23532 fi
23533 -echo "$as_me:$LINENO: result: $ac_cv_build" >&5
23534 -echo "${ECHO_T}$ac_cv_build" >&6
23535 +{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
23536 +echo "${ECHO_T}$ac_cv_build" >&6; }
23537 +case $ac_cv_build in
23538 +*-*-*) ;;
23539 +*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
23540 +echo "$as_me: error: invalid value of canonical build" >&2;}
23541 + { (exit 1); exit 1; }; };;
23542 +esac
23543 build=$ac_cv_build
23544 -build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
23545 -build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
23546 -build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
23547 +ac_save_IFS=$IFS; IFS='-'
23548 +set x $ac_cv_build
23549 +shift
23550 +build_cpu=$1
23551 +build_vendor=$2
23552 +shift; shift
23553 +# Remember, the first character of IFS is used to create $*,
23554 +# except with old shells:
23555 +build_os=$*
23556 +IFS=$ac_save_IFS
23557 +case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
23558
23559
23560 -echo "$as_me:$LINENO: checking host system type" >&5
23561 -echo $ECHO_N "checking host system type... $ECHO_C" >&6
23562 +{ echo "$as_me:$LINENO: checking host system type" >&5
23563 +echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
23564 if test "${ac_cv_host+set}" = set; then
23565 echo $ECHO_N "(cached) $ECHO_C" >&6
23566 else
23567 - ac_cv_host_alias=$host_alias
23568 -test -z "$ac_cv_host_alias" &&
23569 - ac_cv_host_alias=$ac_cv_build_alias
23570 -ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
23571 - { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
23572 -echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
23573 + if test "x$host_alias" = x; then
23574 + ac_cv_host=$ac_cv_build
23575 +else
23576 + ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
23577 + { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
23578 +echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
23579 { (exit 1); exit 1; }; }
23580 +fi
23581
23582 fi
23583 -echo "$as_me:$LINENO: result: $ac_cv_host" >&5
23584 -echo "${ECHO_T}$ac_cv_host" >&6
23585 +{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
23586 +echo "${ECHO_T}$ac_cv_host" >&6; }
23587 +case $ac_cv_host in
23588 +*-*-*) ;;
23589 +*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
23590 +echo "$as_me: error: invalid value of canonical host" >&2;}
23591 + { (exit 1); exit 1; }; };;
23592 +esac
23593 host=$ac_cv_host
23594 -host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
23595 -host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
23596 -host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
23597 +ac_save_IFS=$IFS; IFS='-'
23598 +set x $ac_cv_host
23599 +shift
23600 +host_cpu=$1
23601 +host_vendor=$2
23602 +shift; shift
23603 +# Remember, the first character of IFS is used to create $*,
23604 +# except with old shells:
23605 +host_os=$*
23606 +IFS=$ac_save_IFS
23607 +case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
23608
23609
23610 -echo "$as_me:$LINENO: checking target system type" >&5
23611 -echo $ECHO_N "checking target system type... $ECHO_C" >&6
23612 +{ echo "$as_me:$LINENO: checking target system type" >&5
23613 +echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
23614 if test "${ac_cv_target+set}" = set; then
23615 echo $ECHO_N "(cached) $ECHO_C" >&6
23616 else
23617 - ac_cv_target_alias=$target_alias
23618 -test "x$ac_cv_target_alias" = "x" &&
23619 - ac_cv_target_alias=$ac_cv_host_alias
23620 -ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
23621 - { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
23622 -echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
23623 + if test "x$target_alias" = x; then
23624 + ac_cv_target=$ac_cv_host
23625 +else
23626 + ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
23627 + { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
23628 +echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
23629 { (exit 1); exit 1; }; }
23630 +fi
23631
23632 fi
23633 -echo "$as_me:$LINENO: result: $ac_cv_target" >&5
23634 -echo "${ECHO_T}$ac_cv_target" >&6
23635 +{ echo "$as_me:$LINENO: result: $ac_cv_target" >&5
23636 +echo "${ECHO_T}$ac_cv_target" >&6; }
23637 +case $ac_cv_target in
23638 +*-*-*) ;;
23639 +*) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
23640 +echo "$as_me: error: invalid value of canonical target" >&2;}
23641 + { (exit 1); exit 1; }; };;
23642 +esac
23643 target=$ac_cv_target
23644 -target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
23645 -target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
23646 -target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
23647 +ac_save_IFS=$IFS; IFS='-'
23648 +set x $ac_cv_target
23649 +shift
23650 +target_cpu=$1
23651 +target_vendor=$2
23652 +shift; shift
23653 +# Remember, the first character of IFS is used to create $*,
23654 +# except with old shells:
23655 +target_os=$*
23656 +IFS=$ac_save_IFS
23657 +case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
23658
23659
23660 # The aliases save the names the user supplied, while $host etc.
23661 @@ -1434,8 +1968,8 @@
23662 if test -n "$ac_tool_prefix"; then
23663 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
23664 set dummy ${ac_tool_prefix}gcc; ac_word=$2
23665 -echo "$as_me:$LINENO: checking for $ac_word" >&5
23666 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23667 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
23668 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
23669 if test "${ac_cv_prog_CC+set}" = set; then
23670 echo $ECHO_N "(cached) $ECHO_C" >&6
23671 else
23672 @@ -1448,32 +1982,34 @@
23673 IFS=$as_save_IFS
23674 test -z "$as_dir" && as_dir=.
23675 for ac_exec_ext in '' $ac_executable_extensions; do
23676 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23677 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23678 ac_cv_prog_CC="${ac_tool_prefix}gcc"
23679 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23680 break 2
23681 fi
23682 done
23683 done
23684 +IFS=$as_save_IFS
23685
23686 fi
23687 fi
23688 CC=$ac_cv_prog_CC
23689 if test -n "$CC"; then
23690 - echo "$as_me:$LINENO: result: $CC" >&5
23691 -echo "${ECHO_T}$CC" >&6
23692 + { echo "$as_me:$LINENO: result: $CC" >&5
23693 +echo "${ECHO_T}$CC" >&6; }
23694 else
23695 - echo "$as_me:$LINENO: result: no" >&5
23696 -echo "${ECHO_T}no" >&6
23697 + { echo "$as_me:$LINENO: result: no" >&5
23698 +echo "${ECHO_T}no" >&6; }
23699 fi
23700
23701 +
23702 fi
23703 if test -z "$ac_cv_prog_CC"; then
23704 ac_ct_CC=$CC
23705 # Extract the first word of "gcc", so it can be a program name with args.
23706 set dummy gcc; ac_word=$2
23707 -echo "$as_me:$LINENO: checking for $ac_word" >&5
23708 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23709 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
23710 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
23711 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
23712 echo $ECHO_N "(cached) $ECHO_C" >&6
23713 else
23714 @@ -1486,36 +2022,51 @@
23715 IFS=$as_save_IFS
23716 test -z "$as_dir" && as_dir=.
23717 for ac_exec_ext in '' $ac_executable_extensions; do
23718 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23719 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23720 ac_cv_prog_ac_ct_CC="gcc"
23721 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23722 break 2
23723 fi
23724 done
23725 done
23726 +IFS=$as_save_IFS
23727
23728 fi
23729 fi
23730 ac_ct_CC=$ac_cv_prog_ac_ct_CC
23731 if test -n "$ac_ct_CC"; then
23732 - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
23733 -echo "${ECHO_T}$ac_ct_CC" >&6
23734 + { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
23735 +echo "${ECHO_T}$ac_ct_CC" >&6; }
23736 else
23737 - echo "$as_me:$LINENO: result: no" >&5
23738 -echo "${ECHO_T}no" >&6
23739 + { echo "$as_me:$LINENO: result: no" >&5
23740 +echo "${ECHO_T}no" >&6; }
23741 fi
23742
23743 - CC=$ac_ct_CC
23744 + if test "x$ac_ct_CC" = x; then
23745 + CC=""
23746 + else
23747 + case $cross_compiling:$ac_tool_warned in
23748 +yes:)
23749 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
23750 +whose name does not start with the host triplet. If you think this
23751 +configuration is useful to you, please write to autoconf@gnu.org." >&5
23752 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
23753 +whose name does not start with the host triplet. If you think this
23754 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
23755 +ac_tool_warned=yes ;;
23756 +esac
23757 + CC=$ac_ct_CC
23758 + fi
23759 else
23760 CC="$ac_cv_prog_CC"
23761 fi
23762
23763 if test -z "$CC"; then
23764 - if test -n "$ac_tool_prefix"; then
23765 - # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
23766 + if test -n "$ac_tool_prefix"; then
23767 + # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
23768 set dummy ${ac_tool_prefix}cc; ac_word=$2
23769 -echo "$as_me:$LINENO: checking for $ac_word" >&5
23770 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23771 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
23772 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
23773 if test "${ac_cv_prog_CC+set}" = set; then
23774 echo $ECHO_N "(cached) $ECHO_C" >&6
23775 else
23776 @@ -1528,74 +2079,34 @@
23777 IFS=$as_save_IFS
23778 test -z "$as_dir" && as_dir=.
23779 for ac_exec_ext in '' $ac_executable_extensions; do
23780 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23781 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23782 ac_cv_prog_CC="${ac_tool_prefix}cc"
23783 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23784 break 2
23785 fi
23786 done
23787 done
23788 +IFS=$as_save_IFS
23789
23790 fi
23791 fi
23792 CC=$ac_cv_prog_CC
23793 if test -n "$CC"; then
23794 - echo "$as_me:$LINENO: result: $CC" >&5
23795 -echo "${ECHO_T}$CC" >&6
23796 -else
23797 - echo "$as_me:$LINENO: result: no" >&5
23798 -echo "${ECHO_T}no" >&6
23799 -fi
23800 -
23801 -fi
23802 -if test -z "$ac_cv_prog_CC"; then
23803 - ac_ct_CC=$CC
23804 - # Extract the first word of "cc", so it can be a program name with args.
23805 -set dummy cc; ac_word=$2
23806 -echo "$as_me:$LINENO: checking for $ac_word" >&5
23807 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23808 -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
23809 - echo $ECHO_N "(cached) $ECHO_C" >&6
23810 -else
23811 - if test -n "$ac_ct_CC"; then
23812 - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
23813 -else
23814 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23815 -for as_dir in $PATH
23816 -do
23817 - IFS=$as_save_IFS
23818 - test -z "$as_dir" && as_dir=.
23819 - for ac_exec_ext in '' $ac_executable_extensions; do
23820 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23821 - ac_cv_prog_ac_ct_CC="cc"
23822 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23823 - break 2
23824 - fi
23825 -done
23826 -done
23827 -
23828 -fi
23829 -fi
23830 -ac_ct_CC=$ac_cv_prog_ac_ct_CC
23831 -if test -n "$ac_ct_CC"; then
23832 - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
23833 -echo "${ECHO_T}$ac_ct_CC" >&6
23834 + { echo "$as_me:$LINENO: result: $CC" >&5
23835 +echo "${ECHO_T}$CC" >&6; }
23836 else
23837 - echo "$as_me:$LINENO: result: no" >&5
23838 -echo "${ECHO_T}no" >&6
23839 + { echo "$as_me:$LINENO: result: no" >&5
23840 +echo "${ECHO_T}no" >&6; }
23841 fi
23842
23843 - CC=$ac_ct_CC
23844 -else
23845 - CC="$ac_cv_prog_CC"
23846 -fi
23847
23848 + fi
23849 fi
23850 if test -z "$CC"; then
23851 # Extract the first word of "cc", so it can be a program name with args.
23852 set dummy cc; ac_word=$2
23853 -echo "$as_me:$LINENO: checking for $ac_word" >&5
23854 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23855 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
23856 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
23857 if test "${ac_cv_prog_CC+set}" = set; then
23858 echo $ECHO_N "(cached) $ECHO_C" >&6
23859 else
23860 @@ -1609,7 +2120,7 @@
23861 IFS=$as_save_IFS
23862 test -z "$as_dir" && as_dir=.
23863 for ac_exec_ext in '' $ac_executable_extensions; do
23864 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23865 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23866 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
23867 ac_prog_rejected=yes
23868 continue
23869 @@ -1620,6 +2131,7 @@
23870 fi
23871 done
23872 done
23873 +IFS=$as_save_IFS
23874
23875 if test $ac_prog_rejected = yes; then
23876 # We found a bogon in the path, so make sure we never use it.
23877 @@ -1637,22 +2149,23 @@
23878 fi
23879 CC=$ac_cv_prog_CC
23880 if test -n "$CC"; then
23881 - echo "$as_me:$LINENO: result: $CC" >&5
23882 -echo "${ECHO_T}$CC" >&6
23883 + { echo "$as_me:$LINENO: result: $CC" >&5
23884 +echo "${ECHO_T}$CC" >&6; }
23885 else
23886 - echo "$as_me:$LINENO: result: no" >&5
23887 -echo "${ECHO_T}no" >&6
23888 + { echo "$as_me:$LINENO: result: no" >&5
23889 +echo "${ECHO_T}no" >&6; }
23890 fi
23891
23892 +
23893 fi
23894 if test -z "$CC"; then
23895 if test -n "$ac_tool_prefix"; then
23896 - for ac_prog in cl
23897 + for ac_prog in cl.exe
23898 do
23899 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
23900 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
23901 -echo "$as_me:$LINENO: checking for $ac_word" >&5
23902 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23903 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
23904 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
23905 if test "${ac_cv_prog_CC+set}" = set; then
23906 echo $ECHO_N "(cached) $ECHO_C" >&6
23907 else
23908 @@ -1665,36 +2178,38 @@
23909 IFS=$as_save_IFS
23910 test -z "$as_dir" && as_dir=.
23911 for ac_exec_ext in '' $ac_executable_extensions; do
23912 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23913 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23914 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
23915 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23916 break 2
23917 fi
23918 done
23919 done
23920 +IFS=$as_save_IFS
23921
23922 fi
23923 fi
23924 CC=$ac_cv_prog_CC
23925 if test -n "$CC"; then
23926 - echo "$as_me:$LINENO: result: $CC" >&5
23927 -echo "${ECHO_T}$CC" >&6
23928 + { echo "$as_me:$LINENO: result: $CC" >&5
23929 +echo "${ECHO_T}$CC" >&6; }
23930 else
23931 - echo "$as_me:$LINENO: result: no" >&5
23932 -echo "${ECHO_T}no" >&6
23933 + { echo "$as_me:$LINENO: result: no" >&5
23934 +echo "${ECHO_T}no" >&6; }
23935 fi
23936
23937 +
23938 test -n "$CC" && break
23939 done
23940 fi
23941 if test -z "$CC"; then
23942 ac_ct_CC=$CC
23943 - for ac_prog in cl
23944 + for ac_prog in cl.exe
23945 do
23946 # Extract the first word of "$ac_prog", so it can be a program name with args.
23947 set dummy $ac_prog; ac_word=$2
23948 -echo "$as_me:$LINENO: checking for $ac_word" >&5
23949 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23950 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
23951 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
23952 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
23953 echo $ECHO_N "(cached) $ECHO_C" >&6
23954 else
23955 @@ -1707,29 +2222,45 @@
23956 IFS=$as_save_IFS
23957 test -z "$as_dir" && as_dir=.
23958 for ac_exec_ext in '' $ac_executable_extensions; do
23959 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23960 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23961 ac_cv_prog_ac_ct_CC="$ac_prog"
23962 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23963 break 2
23964 fi
23965 done
23966 done
23967 +IFS=$as_save_IFS
23968
23969 fi
23970 fi
23971 ac_ct_CC=$ac_cv_prog_ac_ct_CC
23972 if test -n "$ac_ct_CC"; then
23973 - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
23974 -echo "${ECHO_T}$ac_ct_CC" >&6
23975 + { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
23976 +echo "${ECHO_T}$ac_ct_CC" >&6; }
23977 else
23978 - echo "$as_me:$LINENO: result: no" >&5
23979 -echo "${ECHO_T}no" >&6
23980 + { echo "$as_me:$LINENO: result: no" >&5
23981 +echo "${ECHO_T}no" >&6; }
23982 fi
23983
23984 +
23985 test -n "$ac_ct_CC" && break
23986 done
23987
23988 - CC=$ac_ct_CC
23989 + if test "x$ac_ct_CC" = x; then
23990 + CC=""
23991 + else
23992 + case $cross_compiling:$ac_tool_warned in
23993 +yes:)
23994 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
23995 +whose name does not start with the host triplet. If you think this
23996 +configuration is useful to you, please write to autoconf@gnu.org." >&5
23997 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
23998 +whose name does not start with the host triplet. If you think this
23999 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
24000 +ac_tool_warned=yes ;;
24001 +esac
24002 + CC=$ac_ct_CC
24003 + fi
24004 fi
24005
24006 fi
24007 @@ -1742,21 +2273,35 @@
24008 { (exit 1); exit 1; }; }
24009
24010 # Provide some information about the compiler.
24011 -echo "$as_me:$LINENO:" \
24012 - "checking for C compiler version" >&5
24013 +echo "$as_me:$LINENO: checking for C compiler version" >&5
24014 ac_compiler=`set X $ac_compile; echo $2`
24015 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
24016 - (eval $ac_compiler --version </dev/null >&5) 2>&5
24017 +{ (ac_try="$ac_compiler --version >&5"
24018 +case "(($ac_try" in
24019 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24020 + *) ac_try_echo=$ac_try;;
24021 +esac
24022 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24023 + (eval "$ac_compiler --version >&5") 2>&5
24024 ac_status=$?
24025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24026 (exit $ac_status); }
24027 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
24028 - (eval $ac_compiler -v </dev/null >&5) 2>&5
24029 +{ (ac_try="$ac_compiler -v >&5"
24030 +case "(($ac_try" in
24031 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24032 + *) ac_try_echo=$ac_try;;
24033 +esac
24034 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24035 + (eval "$ac_compiler -v >&5") 2>&5
24036 ac_status=$?
24037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24038 (exit $ac_status); }
24039 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
24040 - (eval $ac_compiler -V </dev/null >&5) 2>&5
24041 +{ (ac_try="$ac_compiler -V >&5"
24042 +case "(($ac_try" in
24043 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24044 + *) ac_try_echo=$ac_try;;
24045 +esac
24046 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24047 + (eval "$ac_compiler -V >&5") 2>&5
24048 ac_status=$?
24049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24050 (exit $ac_status); }
24051 @@ -1781,47 +2326,77 @@
24052 # Try to create an executable without -o first, disregard a.out.
24053 # It will help us diagnose broken compilers, and finding out an intuition
24054 # of exeext.
24055 -echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
24056 -echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
24057 +{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
24058 +echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
24059 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
24060 -if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
24061 - (eval $ac_link_default) 2>&5
24062 +#
24063 +# List of possible output files, starting from the most likely.
24064 +# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
24065 +# only as a last resort. b.out is created by i960 compilers.
24066 +ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
24067 +#
24068 +# The IRIX 6 linker writes into existing files which may not be
24069 +# executable, retaining their permissions. Remove them first so a
24070 +# subsequent execution test works.
24071 +ac_rmfiles=
24072 +for ac_file in $ac_files
24073 +do
24074 + case $ac_file in
24075 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
24076 + * ) ac_rmfiles="$ac_rmfiles $ac_file";;
24077 + esac
24078 +done
24079 +rm -f $ac_rmfiles
24080 +
24081 +if { (ac_try="$ac_link_default"
24082 +case "(($ac_try" in
24083 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24084 + *) ac_try_echo=$ac_try;;
24085 +esac
24086 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24087 + (eval "$ac_link_default") 2>&5
24088 ac_status=$?
24089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24090 (exit $ac_status); }; then
24091 - # Find the output, starting from the most likely. This scheme is
24092 -# not robust to junk in `.', hence go to wildcards (a.*) only as a last
24093 -# resort.
24094 -
24095 -# Be careful to initialize this variable, since it used to be cached.
24096 -# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
24097 -ac_cv_exeext=
24098 -# b.out is created by i960 compilers.
24099 -for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
24100 + # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
24101 +# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
24102 +# in a Makefile. We should not override ac_cv_exeext if it was cached,
24103 +# so that the user can short-circuit this test for compilers unknown to
24104 +# Autoconf.
24105 +for ac_file in $ac_files ''
24106 do
24107 test -f "$ac_file" || continue
24108 case $ac_file in
24109 - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
24110 - ;;
24111 - conftest.$ac_ext )
24112 - # This is the source file.
24113 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
24114 ;;
24115 [ab].out )
24116 # We found the default executable, but exeext='' is most
24117 # certainly right.
24118 break;;
24119 *.* )
24120 - ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
24121 - # FIXME: I believe we export ac_cv_exeext for Libtool,
24122 - # but it would be cool to find out if it's true. Does anybody
24123 - # maintain Libtool? --akim.
24124 - export ac_cv_exeext
24125 + if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
24126 + then :; else
24127 + ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
24128 + fi
24129 + # We set ac_cv_exeext here because the later test for it is not
24130 + # safe: cross compilers may not add the suffix if given an `-o'
24131 + # argument, so we may need to know it at that point already.
24132 + # Even if this section looks crufty: it has the advantage of
24133 + # actually working.
24134 break;;
24135 * )
24136 break;;
24137 esac
24138 done
24139 +test "$ac_cv_exeext" = no && ac_cv_exeext=
24140 +
24141 else
24142 + ac_file=''
24143 +fi
24144 +
24145 +{ echo "$as_me:$LINENO: result: $ac_file" >&5
24146 +echo "${ECHO_T}$ac_file" >&6; }
24147 +if test -z "$ac_file"; then
24148 echo "$as_me: failed program was:" >&5
24149 sed 's/^/| /' conftest.$ac_ext >&5
24150
24151 @@ -1833,19 +2408,21 @@
24152 fi
24153
24154 ac_exeext=$ac_cv_exeext
24155 -echo "$as_me:$LINENO: result: $ac_file" >&5
24156 -echo "${ECHO_T}$ac_file" >&6
24157
24158 -# Check the compiler produces executables we can run. If not, either
24159 +# Check that the compiler produces executables we can run. If not, either
24160 # the compiler is broken, or we cross compile.
24161 -echo "$as_me:$LINENO: checking whether the C compiler works" >&5
24162 -echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
24163 +{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
24164 +echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
24165 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
24166 # If not cross compiling, check that we can run a simple program.
24167 if test "$cross_compiling" != yes; then
24168 if { ac_try='./$ac_file'
24169 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24170 - (eval $ac_try) 2>&5
24171 + { (case "(($ac_try" in
24172 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24173 + *) ac_try_echo=$ac_try;;
24174 +esac
24175 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24176 + (eval "$ac_try") 2>&5
24177 ac_status=$?
24178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24179 (exit $ac_status); }; }; then
24180 @@ -1864,22 +2441,27 @@
24181 fi
24182 fi
24183 fi
24184 -echo "$as_me:$LINENO: result: yes" >&5
24185 -echo "${ECHO_T}yes" >&6
24186 +{ echo "$as_me:$LINENO: result: yes" >&5
24187 +echo "${ECHO_T}yes" >&6; }
24188
24189 rm -f a.out a.exe conftest$ac_cv_exeext b.out
24190 ac_clean_files=$ac_clean_files_save
24191 -# Check the compiler produces executables we can run. If not, either
24192 +# Check that the compiler produces executables we can run. If not, either
24193 # the compiler is broken, or we cross compile.
24194 -echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
24195 -echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
24196 -echo "$as_me:$LINENO: result: $cross_compiling" >&5
24197 -echo "${ECHO_T}$cross_compiling" >&6
24198 -
24199 -echo "$as_me:$LINENO: checking for suffix of executables" >&5
24200 -echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
24201 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24202 - (eval $ac_link) 2>&5
24203 +{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
24204 +echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
24205 +{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
24206 +echo "${ECHO_T}$cross_compiling" >&6; }
24207 +
24208 +{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
24209 +echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
24210 +if { (ac_try="$ac_link"
24211 +case "(($ac_try" in
24212 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24213 + *) ac_try_echo=$ac_try;;
24214 +esac
24215 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24216 + (eval "$ac_link") 2>&5
24217 ac_status=$?
24218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24219 (exit $ac_status); }; then
24220 @@ -1890,9 +2472,8 @@
24221 for ac_file in conftest.exe conftest conftest.*; do
24222 test -f "$ac_file" || continue
24223 case $ac_file in
24224 - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
24225 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
24226 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
24227 - export ac_cv_exeext
24228 break;;
24229 * ) break;;
24230 esac
24231 @@ -1906,14 +2487,14 @@
24232 fi
24233
24234 rm -f conftest$ac_cv_exeext
24235 -echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
24236 -echo "${ECHO_T}$ac_cv_exeext" >&6
24237 +{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
24238 +echo "${ECHO_T}$ac_cv_exeext" >&6; }
24239
24240 rm -f conftest.$ac_ext
24241 EXEEXT=$ac_cv_exeext
24242 ac_exeext=$EXEEXT
24243 -echo "$as_me:$LINENO: checking for suffix of object files" >&5
24244 -echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
24245 +{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
24246 +echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
24247 if test "${ac_cv_objext+set}" = set; then
24248 echo $ECHO_N "(cached) $ECHO_C" >&6
24249 else
24250 @@ -1933,14 +2514,20 @@
24251 }
24252 _ACEOF
24253 rm -f conftest.o conftest.obj
24254 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24255 - (eval $ac_compile) 2>&5
24256 +if { (ac_try="$ac_compile"
24257 +case "(($ac_try" in
24258 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24259 + *) ac_try_echo=$ac_try;;
24260 +esac
24261 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24262 + (eval "$ac_compile") 2>&5
24263 ac_status=$?
24264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24265 (exit $ac_status); }; then
24266 - for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
24267 + for ac_file in conftest.o conftest.obj conftest.*; do
24268 + test -f "$ac_file" || continue;
24269 case $ac_file in
24270 - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
24271 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
24272 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
24273 break;;
24274 esac
24275 @@ -1958,12 +2545,12 @@
24276
24277 rm -f conftest.$ac_cv_objext conftest.$ac_ext
24278 fi
24279 -echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
24280 -echo "${ECHO_T}$ac_cv_objext" >&6
24281 +{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
24282 +echo "${ECHO_T}$ac_cv_objext" >&6; }
24283 OBJEXT=$ac_cv_objext
24284 ac_objext=$OBJEXT
24285 -echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
24286 -echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
24287 +{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
24288 +echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
24289 if test "${ac_cv_c_compiler_gnu+set}" = set; then
24290 echo $ECHO_N "(cached) $ECHO_C" >&6
24291 else
24292 @@ -1986,50 +2573,49 @@
24293 }
24294 _ACEOF
24295 rm -f conftest.$ac_objext
24296 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24297 - (eval $ac_compile) 2>conftest.er1
24298 +if { (ac_try="$ac_compile"
24299 +case "(($ac_try" in
24300 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24301 + *) ac_try_echo=$ac_try;;
24302 +esac
24303 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24304 + (eval "$ac_compile") 2>conftest.er1
24305 ac_status=$?
24306 grep -v '^ *+' conftest.er1 >conftest.err
24307 rm -f conftest.er1
24308 cat conftest.err >&5
24309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24310 - (exit $ac_status); } &&
24311 - { ac_try='test -z "$ac_c_werror_flag"
24312 - || test ! -s conftest.err'
24313 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24314 - (eval $ac_try) 2>&5
24315 - ac_status=$?
24316 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
24317 - (exit $ac_status); }; } &&
24318 - { ac_try='test -s conftest.$ac_objext'
24319 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24320 - (eval $ac_try) 2>&5
24321 - ac_status=$?
24322 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
24323 - (exit $ac_status); }; }; then
24324 + (exit $ac_status); } && {
24325 + test -z "$ac_c_werror_flag" ||
24326 + test ! -s conftest.err
24327 + } && test -s conftest.$ac_objext; then
24328 ac_compiler_gnu=yes
24329 else
24330 echo "$as_me: failed program was:" >&5
24331 sed 's/^/| /' conftest.$ac_ext >&5
24332
24333 -ac_compiler_gnu=no
24334 + ac_compiler_gnu=no
24335 fi
24336 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24337 +
24338 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24339 ac_cv_c_compiler_gnu=$ac_compiler_gnu
24340
24341 fi
24342 -echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
24343 -echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
24344 +{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
24345 +echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
24346 GCC=`test $ac_compiler_gnu = yes && echo yes`
24347 ac_test_CFLAGS=${CFLAGS+set}
24348 ac_save_CFLAGS=$CFLAGS
24349 -CFLAGS="-g"
24350 -echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
24351 -echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
24352 +{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
24353 +echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
24354 if test "${ac_cv_prog_cc_g+set}" = set; then
24355 echo $ECHO_N "(cached) $ECHO_C" >&6
24356 else
24357 - cat >conftest.$ac_ext <<_ACEOF
24358 + ac_save_c_werror_flag=$ac_c_werror_flag
24359 + ac_c_werror_flag=yes
24360 + ac_cv_prog_cc_g=no
24361 + CFLAGS="-g"
24362 + cat >conftest.$ac_ext <<_ACEOF
24363 /* confdefs.h. */
24364 _ACEOF
24365 cat confdefs.h >>conftest.$ac_ext
24366 @@ -2045,38 +2631,118 @@
24367 }
24368 _ACEOF
24369 rm -f conftest.$ac_objext
24370 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24371 - (eval $ac_compile) 2>conftest.er1
24372 +if { (ac_try="$ac_compile"
24373 +case "(($ac_try" in
24374 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24375 + *) ac_try_echo=$ac_try;;
24376 +esac
24377 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24378 + (eval "$ac_compile") 2>conftest.er1
24379 ac_status=$?
24380 grep -v '^ *+' conftest.er1 >conftest.err
24381 rm -f conftest.er1
24382 cat conftest.err >&5
24383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24384 - (exit $ac_status); } &&
24385 - { ac_try='test -z "$ac_c_werror_flag"
24386 - || test ! -s conftest.err'
24387 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24388 - (eval $ac_try) 2>&5
24389 + (exit $ac_status); } && {
24390 + test -z "$ac_c_werror_flag" ||
24391 + test ! -s conftest.err
24392 + } && test -s conftest.$ac_objext; then
24393 + ac_cv_prog_cc_g=yes
24394 +else
24395 + echo "$as_me: failed program was:" >&5
24396 +sed 's/^/| /' conftest.$ac_ext >&5
24397 +
24398 + CFLAGS=""
24399 + cat >conftest.$ac_ext <<_ACEOF
24400 +/* confdefs.h. */
24401 +_ACEOF
24402 +cat confdefs.h >>conftest.$ac_ext
24403 +cat >>conftest.$ac_ext <<_ACEOF
24404 +/* end confdefs.h. */
24405 +
24406 +int
24407 +main ()
24408 +{
24409 +
24410 + ;
24411 + return 0;
24412 +}
24413 +_ACEOF
24414 +rm -f conftest.$ac_objext
24415 +if { (ac_try="$ac_compile"
24416 +case "(($ac_try" in
24417 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24418 + *) ac_try_echo=$ac_try;;
24419 +esac
24420 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24421 + (eval "$ac_compile") 2>conftest.er1
24422 ac_status=$?
24423 + grep -v '^ *+' conftest.er1 >conftest.err
24424 + rm -f conftest.er1
24425 + cat conftest.err >&5
24426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24427 - (exit $ac_status); }; } &&
24428 - { ac_try='test -s conftest.$ac_objext'
24429 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24430 - (eval $ac_try) 2>&5
24431 + (exit $ac_status); } && {
24432 + test -z "$ac_c_werror_flag" ||
24433 + test ! -s conftest.err
24434 + } && test -s conftest.$ac_objext; then
24435 + :
24436 +else
24437 + echo "$as_me: failed program was:" >&5
24438 +sed 's/^/| /' conftest.$ac_ext >&5
24439 +
24440 + ac_c_werror_flag=$ac_save_c_werror_flag
24441 + CFLAGS="-g"
24442 + cat >conftest.$ac_ext <<_ACEOF
24443 +/* confdefs.h. */
24444 +_ACEOF
24445 +cat confdefs.h >>conftest.$ac_ext
24446 +cat >>conftest.$ac_ext <<_ACEOF
24447 +/* end confdefs.h. */
24448 +
24449 +int
24450 +main ()
24451 +{
24452 +
24453 + ;
24454 + return 0;
24455 +}
24456 +_ACEOF
24457 +rm -f conftest.$ac_objext
24458 +if { (ac_try="$ac_compile"
24459 +case "(($ac_try" in
24460 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24461 + *) ac_try_echo=$ac_try;;
24462 +esac
24463 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24464 + (eval "$ac_compile") 2>conftest.er1
24465 ac_status=$?
24466 + grep -v '^ *+' conftest.er1 >conftest.err
24467 + rm -f conftest.er1
24468 + cat conftest.err >&5
24469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24470 - (exit $ac_status); }; }; then
24471 + (exit $ac_status); } && {
24472 + test -z "$ac_c_werror_flag" ||
24473 + test ! -s conftest.err
24474 + } && test -s conftest.$ac_objext; then
24475 ac_cv_prog_cc_g=yes
24476 else
24477 echo "$as_me: failed program was:" >&5
24478 sed 's/^/| /' conftest.$ac_ext >&5
24479
24480 -ac_cv_prog_cc_g=no
24481 +
24482 +fi
24483 +
24484 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24485 +fi
24486 +
24487 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24488 fi
24489 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24490 +
24491 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24492 + ac_c_werror_flag=$ac_save_c_werror_flag
24493 fi
24494 -echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
24495 -echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
24496 +{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
24497 +echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
24498 if test "$ac_test_CFLAGS" = set; then
24499 CFLAGS=$ac_save_CFLAGS
24500 elif test $ac_cv_prog_cc_g = yes; then
24501 @@ -2092,12 +2758,12 @@
24502 CFLAGS=
24503 fi
24504 fi
24505 -echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
24506 -echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
24507 -if test "${ac_cv_prog_cc_stdc+set}" = set; then
24508 +{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
24509 +echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
24510 +if test "${ac_cv_prog_cc_c89+set}" = set; then
24511 echo $ECHO_N "(cached) $ECHO_C" >&6
24512 else
24513 - ac_cv_prog_cc_stdc=no
24514 + ac_cv_prog_cc_c89=no
24515 ac_save_CC=$CC
24516 cat >conftest.$ac_ext <<_ACEOF
24517 /* confdefs.h. */
24518 @@ -2131,12 +2797,17 @@
24519 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
24520 function prototypes and stuff, but not '\xHH' hex character constants.
24521 These don't provoke an error unfortunately, instead are silently treated
24522 - as 'x'. The following induces an error, until -std1 is added to get
24523 + as 'x'. The following induces an error, until -std is added to get
24524 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
24525 array size at least. It's necessary to write '\x00'==0 to get something
24526 - that's true only with -std1. */
24527 + that's true only with -std. */
24528 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
24529
24530 +/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
24531 + inside strings and character constants. */
24532 +#define FOO(x) 'x'
24533 +int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
24534 +
24535 int test (int i, double x);
24536 struct s1 {int (*f) (int a);};
24537 struct s2 {int (*f) (double a);};
24538 @@ -2151,335 +2822,144 @@
24539 return 0;
24540 }
24541 _ACEOF
24542 -# Don't try gcc -ansi; that turns off useful extensions and
24543 -# breaks some systems' header files.
24544 -# AIX -qlanglvl=ansi
24545 -# Ultrix and OSF/1 -std1
24546 -# HP-UX 10.20 and later -Ae
24547 -# HP-UX older versions -Aa -D_HPUX_SOURCE
24548 -# SVR4 -Xc -D__EXTENSIONS__
24549 -for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
24550 +for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
24551 + -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
24552 do
24553 CC="$ac_save_CC $ac_arg"
24554 rm -f conftest.$ac_objext
24555 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24556 - (eval $ac_compile) 2>conftest.er1
24557 +if { (ac_try="$ac_compile"
24558 +case "(($ac_try" in
24559 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24560 + *) ac_try_echo=$ac_try;;
24561 +esac
24562 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24563 + (eval "$ac_compile") 2>conftest.er1
24564 ac_status=$?
24565 grep -v '^ *+' conftest.er1 >conftest.err
24566 rm -f conftest.er1
24567 cat conftest.err >&5
24568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24569 - (exit $ac_status); } &&
24570 - { ac_try='test -z "$ac_c_werror_flag"
24571 - || test ! -s conftest.err'
24572 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24573 - (eval $ac_try) 2>&5
24574 - ac_status=$?
24575 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
24576 - (exit $ac_status); }; } &&
24577 - { ac_try='test -s conftest.$ac_objext'
24578 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24579 - (eval $ac_try) 2>&5
24580 - ac_status=$?
24581 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
24582 - (exit $ac_status); }; }; then
24583 - ac_cv_prog_cc_stdc=$ac_arg
24584 -break
24585 + (exit $ac_status); } && {
24586 + test -z "$ac_c_werror_flag" ||
24587 + test ! -s conftest.err
24588 + } && test -s conftest.$ac_objext; then
24589 + ac_cv_prog_cc_c89=$ac_arg
24590 else
24591 echo "$as_me: failed program was:" >&5
24592 sed 's/^/| /' conftest.$ac_ext >&5
24593
24594 +
24595 fi
24596 -rm -f conftest.err conftest.$ac_objext
24597 +
24598 +rm -f core conftest.err conftest.$ac_objext
24599 + test "x$ac_cv_prog_cc_c89" != "xno" && break
24600 done
24601 -rm -f conftest.$ac_ext conftest.$ac_objext
24602 +rm -f conftest.$ac_ext
24603 CC=$ac_save_CC
24604
24605 fi
24606 -
24607 -case "x$ac_cv_prog_cc_stdc" in
24608 - x|xno)
24609 - echo "$as_me:$LINENO: result: none needed" >&5
24610 -echo "${ECHO_T}none needed" >&6 ;;
24611 +# AC_CACHE_VAL
24612 +case "x$ac_cv_prog_cc_c89" in
24613 + x)
24614 + { echo "$as_me:$LINENO: result: none needed" >&5
24615 +echo "${ECHO_T}none needed" >&6; } ;;
24616 + xno)
24617 + { echo "$as_me:$LINENO: result: unsupported" >&5
24618 +echo "${ECHO_T}unsupported" >&6; } ;;
24619 *)
24620 - echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
24621 -echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
24622 - CC="$CC $ac_cv_prog_cc_stdc" ;;
24623 + CC="$CC $ac_cv_prog_cc_c89"
24624 + { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
24625 +echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
24626 esac
24627
24628 -# Some people use a C++ compiler to compile C. Since we use `exit',
24629 -# in C++ we need to declare it. In case someone uses the same compiler
24630 -# for both compiling C and C++ we need to have the C++ compiler decide
24631 -# the declaration of exit, since it's the most demanding environment.
24632 +
24633 +ac_ext=c
24634 +ac_cpp='$CPP $CPPFLAGS'
24635 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24636 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24637 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
24638 +
24639 +
24640 +{ echo "$as_me:$LINENO: checking for library containing strerror" >&5
24641 +echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6; }
24642 +if test "${ac_cv_search_strerror+set}" = set; then
24643 + echo $ECHO_N "(cached) $ECHO_C" >&6
24644 +else
24645 + ac_func_search_save_LIBS=$LIBS
24646 cat >conftest.$ac_ext <<_ACEOF
24647 -#ifndef __cplusplus
24648 - choke me
24649 -#endif
24650 -_ACEOF
24651 -rm -f conftest.$ac_objext
24652 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24653 - (eval $ac_compile) 2>conftest.er1
24654 - ac_status=$?
24655 - grep -v '^ *+' conftest.er1 >conftest.err
24656 - rm -f conftest.er1
24657 - cat conftest.err >&5
24658 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
24659 - (exit $ac_status); } &&
24660 - { ac_try='test -z "$ac_c_werror_flag"
24661 - || test ! -s conftest.err'
24662 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24663 - (eval $ac_try) 2>&5
24664 - ac_status=$?
24665 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
24666 - (exit $ac_status); }; } &&
24667 - { ac_try='test -s conftest.$ac_objext'
24668 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24669 - (eval $ac_try) 2>&5
24670 - ac_status=$?
24671 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
24672 - (exit $ac_status); }; }; then
24673 - for ac_declaration in \
24674 - '' \
24675 - 'extern "C" void std::exit (int) throw (); using std::exit;' \
24676 - 'extern "C" void std::exit (int); using std::exit;' \
24677 - 'extern "C" void exit (int) throw ();' \
24678 - 'extern "C" void exit (int);' \
24679 - 'void exit (int);'
24680 -do
24681 - cat >conftest.$ac_ext <<_ACEOF
24682 /* confdefs.h. */
24683 _ACEOF
24684 cat confdefs.h >>conftest.$ac_ext
24685 cat >>conftest.$ac_ext <<_ACEOF
24686 /* end confdefs.h. */
24687 -$ac_declaration
24688 -#include <stdlib.h>
24689 +
24690 +/* Override any GCC internal prototype to avoid an error.
24691 + Use char because int might match the return type of a GCC
24692 + builtin and then its argument prototype would still apply. */
24693 +#ifdef __cplusplus
24694 +extern "C"
24695 +#endif
24696 +char strerror ();
24697 int
24698 main ()
24699 {
24700 -exit (42);
24701 +return strerror ();
24702 ;
24703 return 0;
24704 }
24705 _ACEOF
24706 -rm -f conftest.$ac_objext
24707 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24708 - (eval $ac_compile) 2>conftest.er1
24709 +for ac_lib in '' cposix; do
24710 + if test -z "$ac_lib"; then
24711 + ac_res="none required"
24712 + else
24713 + ac_res=-l$ac_lib
24714 + LIBS="-l$ac_lib $ac_func_search_save_LIBS"
24715 + fi
24716 + rm -f conftest.$ac_objext conftest$ac_exeext
24717 +if { (ac_try="$ac_link"
24718 +case "(($ac_try" in
24719 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24720 + *) ac_try_echo=$ac_try;;
24721 +esac
24722 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24723 + (eval "$ac_link") 2>conftest.er1
24724 ac_status=$?
24725 grep -v '^ *+' conftest.er1 >conftest.err
24726 rm -f conftest.er1
24727 cat conftest.err >&5
24728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24729 - (exit $ac_status); } &&
24730 - { ac_try='test -z "$ac_c_werror_flag"
24731 - || test ! -s conftest.err'
24732 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24733 - (eval $ac_try) 2>&5
24734 - ac_status=$?
24735 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
24736 - (exit $ac_status); }; } &&
24737 - { ac_try='test -s conftest.$ac_objext'
24738 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24739 - (eval $ac_try) 2>&5
24740 - ac_status=$?
24741 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
24742 - (exit $ac_status); }; }; then
24743 - :
24744 + (exit $ac_status); } && {
24745 + test -z "$ac_c_werror_flag" ||
24746 + test ! -s conftest.err
24747 + } && test -s conftest$ac_exeext &&
24748 + $as_test_x conftest$ac_exeext; then
24749 + ac_cv_search_strerror=$ac_res
24750 else
24751 echo "$as_me: failed program was:" >&5
24752 sed 's/^/| /' conftest.$ac_ext >&5
24753
24754 -continue
24755 -fi
24756 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24757 - cat >conftest.$ac_ext <<_ACEOF
24758 -/* confdefs.h. */
24759 -_ACEOF
24760 -cat confdefs.h >>conftest.$ac_ext
24761 -cat >>conftest.$ac_ext <<_ACEOF
24762 -/* end confdefs.h. */
24763 -$ac_declaration
24764 -int
24765 -main ()
24766 -{
24767 -exit (42);
24768 - ;
24769 - return 0;
24770 -}
24771 -_ACEOF
24772 -rm -f conftest.$ac_objext
24773 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24774 - (eval $ac_compile) 2>conftest.er1
24775 - ac_status=$?
24776 - grep -v '^ *+' conftest.er1 >conftest.err
24777 - rm -f conftest.er1
24778 - cat conftest.err >&5
24779 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
24780 - (exit $ac_status); } &&
24781 - { ac_try='test -z "$ac_c_werror_flag"
24782 - || test ! -s conftest.err'
24783 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24784 - (eval $ac_try) 2>&5
24785 - ac_status=$?
24786 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
24787 - (exit $ac_status); }; } &&
24788 - { ac_try='test -s conftest.$ac_objext'
24789 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24790 - (eval $ac_try) 2>&5
24791 - ac_status=$?
24792 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
24793 - (exit $ac_status); }; }; then
24794 - break
24795 -else
24796 - echo "$as_me: failed program was:" >&5
24797 -sed 's/^/| /' conftest.$ac_ext >&5
24798
24799 fi
24800 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24801 -done
24802 -rm -f conftest*
24803 -if test -n "$ac_declaration"; then
24804 - echo '#ifdef __cplusplus' >>confdefs.h
24805 - echo $ac_declaration >>confdefs.h
24806 - echo '#endif' >>confdefs.h
24807 -fi
24808 -
24809 -else
24810 - echo "$as_me: failed program was:" >&5
24811 -sed 's/^/| /' conftest.$ac_ext >&5
24812
24813 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24814 + conftest$ac_exeext
24815 + if test "${ac_cv_search_strerror+set}" = set; then
24816 + break
24817 fi
24818 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24819 -ac_ext=c
24820 -ac_cpp='$CPP $CPPFLAGS'
24821 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24822 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24823 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
24824 -
24825 -
24826 -echo "$as_me:$LINENO: checking for library containing strerror" >&5
24827 -echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6
24828 +done
24829 if test "${ac_cv_search_strerror+set}" = set; then
24830 - echo $ECHO_N "(cached) $ECHO_C" >&6
24831 -else
24832 - ac_func_search_save_LIBS=$LIBS
24833 -ac_cv_search_strerror=no
24834 -cat >conftest.$ac_ext <<_ACEOF
24835 -/* confdefs.h. */
24836 -_ACEOF
24837 -cat confdefs.h >>conftest.$ac_ext
24838 -cat >>conftest.$ac_ext <<_ACEOF
24839 -/* end confdefs.h. */
24840 -
24841 -/* Override any gcc2 internal prototype to avoid an error. */
24842 -#ifdef __cplusplus
24843 -extern "C"
24844 -#endif
24845 -/* We use char because int might match the return type of a gcc2
24846 - builtin and then its argument prototype would still apply. */
24847 -char strerror ();
24848 -int
24849 -main ()
24850 -{
24851 -strerror ();
24852 - ;
24853 - return 0;
24854 -}
24855 -_ACEOF
24856 -rm -f conftest.$ac_objext conftest$ac_exeext
24857 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24858 - (eval $ac_link) 2>conftest.er1
24859 - ac_status=$?
24860 - grep -v '^ *+' conftest.er1 >conftest.err
24861 - rm -f conftest.er1
24862 - cat conftest.err >&5
24863 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
24864 - (exit $ac_status); } &&
24865 - { ac_try='test -z "$ac_c_werror_flag"
24866 - || test ! -s conftest.err'
24867 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24868 - (eval $ac_try) 2>&5
24869 - ac_status=$?
24870 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
24871 - (exit $ac_status); }; } &&
24872 - { ac_try='test -s conftest$ac_exeext'
24873 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24874 - (eval $ac_try) 2>&5
24875 - ac_status=$?
24876 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
24877 - (exit $ac_status); }; }; then
24878 - ac_cv_search_strerror="none required"
24879 -else
24880 - echo "$as_me: failed program was:" >&5
24881 -sed 's/^/| /' conftest.$ac_ext >&5
24882 -
24883 -fi
24884 -rm -f conftest.err conftest.$ac_objext \
24885 - conftest$ac_exeext conftest.$ac_ext
24886 -if test "$ac_cv_search_strerror" = no; then
24887 - for ac_lib in cposix; do
24888 - LIBS="-l$ac_lib $ac_func_search_save_LIBS"
24889 - cat >conftest.$ac_ext <<_ACEOF
24890 -/* confdefs.h. */
24891 -_ACEOF
24892 -cat confdefs.h >>conftest.$ac_ext
24893 -cat >>conftest.$ac_ext <<_ACEOF
24894 -/* end confdefs.h. */
24895 -
24896 -/* Override any gcc2 internal prototype to avoid an error. */
24897 -#ifdef __cplusplus
24898 -extern "C"
24899 -#endif
24900 -/* We use char because int might match the return type of a gcc2
24901 - builtin and then its argument prototype would still apply. */
24902 -char strerror ();
24903 -int
24904 -main ()
24905 -{
24906 -strerror ();
24907 - ;
24908 - return 0;
24909 -}
24910 -_ACEOF
24911 -rm -f conftest.$ac_objext conftest$ac_exeext
24912 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24913 - (eval $ac_link) 2>conftest.er1
24914 - ac_status=$?
24915 - grep -v '^ *+' conftest.er1 >conftest.err
24916 - rm -f conftest.er1
24917 - cat conftest.err >&5
24918 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
24919 - (exit $ac_status); } &&
24920 - { ac_try='test -z "$ac_c_werror_flag"
24921 - || test ! -s conftest.err'
24922 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24923 - (eval $ac_try) 2>&5
24924 - ac_status=$?
24925 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
24926 - (exit $ac_status); }; } &&
24927 - { ac_try='test -s conftest$ac_exeext'
24928 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24929 - (eval $ac_try) 2>&5
24930 - ac_status=$?
24931 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
24932 - (exit $ac_status); }; }; then
24933 - ac_cv_search_strerror="-l$ac_lib"
24934 -break
24935 + :
24936 else
24937 - echo "$as_me: failed program was:" >&5
24938 -sed 's/^/| /' conftest.$ac_ext >&5
24939 -
24940 -fi
24941 -rm -f conftest.err conftest.$ac_objext \
24942 - conftest$ac_exeext conftest.$ac_ext
24943 - done
24944 + ac_cv_search_strerror=no
24945 fi
24946 +rm conftest.$ac_ext
24947 LIBS=$ac_func_search_save_LIBS
24948 fi
24949 -echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
24950 -echo "${ECHO_T}$ac_cv_search_strerror" >&6
24951 -if test "$ac_cv_search_strerror" != no; then
24952 - test "$ac_cv_search_strerror" = "none required" || LIBS="$ac_cv_search_strerror $LIBS"
24953 +{ echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
24954 +echo "${ECHO_T}$ac_cv_search_strerror" >&6; }
24955 +ac_res=$ac_cv_search_strerror
24956 +if test "$ac_res" != no; then
24957 + test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
24958
24959 fi
24960
24961 @@ -2499,8 +2979,8 @@
24962 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
24963 # OS/2's system install, which has a completely different semantic
24964 # ./install, which can be erroneously created by make from ./install.sh.
24965 -echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
24966 -echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
24967 +{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
24968 +echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
24969 if test -z "$INSTALL"; then
24970 if test "${ac_cv_path_install+set}" = set; then
24971 echo $ECHO_N "(cached) $ECHO_C" >&6
24972 @@ -2522,7 +3002,7 @@
24973 # by default.
24974 for ac_prog in ginstall scoinst install; do
24975 for ac_exec_ext in '' $ac_executable_extensions; do
24976 - if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
24977 + if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
24978 if test $ac_prog = install &&
24979 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
24980 # AIX install. It has an incompatible calling convention.
24981 @@ -2541,21 +3021,22 @@
24982 ;;
24983 esac
24984 done
24985 +IFS=$as_save_IFS
24986
24987
24988 fi
24989 if test "${ac_cv_path_install+set}" = set; then
24990 INSTALL=$ac_cv_path_install
24991 else
24992 - # As a last resort, use the slow shell script. We don't cache a
24993 - # path for INSTALL within a source directory, because that will
24994 + # As a last resort, use the slow shell script. Don't cache a
24995 + # value for INSTALL within a source directory, because that will
24996 # break other packages using the cache if that directory is
24997 - # removed, or if the path is relative.
24998 + # removed, or if the value is a relative name.
24999 INSTALL=$ac_install_sh
25000 fi
25001 fi
25002 -echo "$as_me:$LINENO: result: $INSTALL" >&5
25003 -echo "${ECHO_T}$INSTALL" >&6
25004 +{ echo "$as_me:$LINENO: result: $INSTALL" >&5
25005 +echo "${ECHO_T}$INSTALL" >&6; }
25006
25007 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
25008 # It thinks the first close brace ends the variable substitution.
25009 @@ -2565,8 +3046,8 @@
25010
25011 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
25012
25013 -echo "$as_me:$LINENO: checking whether build environment is sane" >&5
25014 -echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
25015 +{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
25016 +echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
25017 # Just in case
25018 sleep 1
25019 echo timestamp > conftest.file
25020 @@ -2608,20 +3089,20 @@
25021 Check your system clock" >&2;}
25022 { (exit 1); exit 1; }; }
25023 fi
25024 -echo "$as_me:$LINENO: result: yes" >&5
25025 -echo "${ECHO_T}yes" >&6
25026 +{ echo "$as_me:$LINENO: result: yes" >&5
25027 +echo "${ECHO_T}yes" >&6; }
25028 test "$program_prefix" != NONE &&
25029 - program_transform_name="s,^,$program_prefix,;$program_transform_name"
25030 + program_transform_name="s&^&$program_prefix&;$program_transform_name"
25031 # Use a double $ so make ignores it.
25032 test "$program_suffix" != NONE &&
25033 - program_transform_name="s,\$,$program_suffix,;$program_transform_name"
25034 + program_transform_name="s&\$&$program_suffix&;$program_transform_name"
25035 # Double any \ or $. echo might interpret backslashes.
25036 # By default was `s,x,x', remove it if useless.
25037 cat <<\_ACEOF >conftest.sed
25038 s/[\\$]/&&/g;s/;s,x,x,$//
25039 _ACEOF
25040 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
25041 -rm conftest.sed
25042 +rm -f conftest.sed
25043
25044 # expand $ac_aux_dir to an absolute path
25045 am_aux_dir=`cd $ac_aux_dir && pwd`
25046 @@ -2673,8 +3154,8 @@
25047 do
25048 # Extract the first word of "$ac_prog", so it can be a program name with args.
25049 set dummy $ac_prog; ac_word=$2
25050 -echo "$as_me:$LINENO: checking for $ac_word" >&5
25051 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25052 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
25053 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
25054 if test "${ac_cv_prog_AWK+set}" = set; then
25055 echo $ECHO_N "(cached) $ECHO_C" >&6
25056 else
25057 @@ -2687,54 +3168,57 @@
25058 IFS=$as_save_IFS
25059 test -z "$as_dir" && as_dir=.
25060 for ac_exec_ext in '' $ac_executable_extensions; do
25061 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25062 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
25063 ac_cv_prog_AWK="$ac_prog"
25064 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25065 break 2
25066 fi
25067 done
25068 done
25069 +IFS=$as_save_IFS
25070
25071 fi
25072 fi
25073 AWK=$ac_cv_prog_AWK
25074 if test -n "$AWK"; then
25075 - echo "$as_me:$LINENO: result: $AWK" >&5
25076 -echo "${ECHO_T}$AWK" >&6
25077 + { echo "$as_me:$LINENO: result: $AWK" >&5
25078 +echo "${ECHO_T}$AWK" >&6; }
25079 else
25080 - echo "$as_me:$LINENO: result: no" >&5
25081 -echo "${ECHO_T}no" >&6
25082 + { echo "$as_me:$LINENO: result: no" >&5
25083 +echo "${ECHO_T}no" >&6; }
25084 fi
25085
25086 +
25087 test -n "$AWK" && break
25088 done
25089
25090 -echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
25091 -echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
25092 -set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
25093 -if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
25094 +{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
25095 +echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
25096 +set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
25097 +if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
25098 echo $ECHO_N "(cached) $ECHO_C" >&6
25099 else
25100 cat >conftest.make <<\_ACEOF
25101 +SHELL = /bin/sh
25102 all:
25103 - @echo 'ac_maketemp="$(MAKE)"'
25104 + @echo '@@@%%%=$(MAKE)=@@@%%%'
25105 _ACEOF
25106 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
25107 -eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
25108 -if test -n "$ac_maketemp"; then
25109 - eval ac_cv_prog_make_${ac_make}_set=yes
25110 -else
25111 - eval ac_cv_prog_make_${ac_make}_set=no
25112 -fi
25113 +case `${MAKE-make} -f conftest.make 2>/dev/null` in
25114 + *@@@%%%=?*=@@@%%%*)
25115 + eval ac_cv_prog_make_${ac_make}_set=yes;;
25116 + *)
25117 + eval ac_cv_prog_make_${ac_make}_set=no;;
25118 +esac
25119 rm -f conftest.make
25120 fi
25121 -if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
25122 - echo "$as_me:$LINENO: result: yes" >&5
25123 -echo "${ECHO_T}yes" >&6
25124 +if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
25125 + { echo "$as_me:$LINENO: result: yes" >&5
25126 +echo "${ECHO_T}yes" >&6; }
25127 SET_MAKE=
25128 else
25129 - echo "$as_me:$LINENO: result: no" >&5
25130 -echo "${ECHO_T}no" >&6
25131 + { echo "$as_me:$LINENO: result: no" >&5
25132 +echo "${ECHO_T}no" >&6; }
25133 SET_MAKE="MAKE=${MAKE-make}"
25134 fi
25135
25136 @@ -2749,7 +3233,7 @@
25137
25138 DEPDIR="${am__leading_dot}deps"
25139
25140 - ac_config_commands="$ac_config_commands depfiles"
25141 +ac_config_commands="$ac_config_commands depfiles"
25142
25143
25144 am_make=${MAKE-make}
25145 @@ -2759,8 +3243,8 @@
25146 .PHONY: am__doit
25147 END
25148 # If we don't find an include directive, just comment out the code.
25149 -echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
25150 -echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
25151 +{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
25152 +echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
25153 am__include="#"
25154 am__quote=
25155 _am_result=none
25156 @@ -2787,15 +3271,15 @@
25157 fi
25158
25159
25160 -echo "$as_me:$LINENO: result: $_am_result" >&5
25161 -echo "${ECHO_T}$_am_result" >&6
25162 +{ echo "$as_me:$LINENO: result: $_am_result" >&5
25163 +echo "${ECHO_T}$_am_result" >&6; }
25164 rm -f confinc confmf
25165
25166 -# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
25167 +# Check whether --enable-dependency-tracking was given.
25168 if test "${enable_dependency_tracking+set}" = set; then
25169 - enableval="$enable_dependency_tracking"
25170 + enableval=$enable_dependency_tracking;
25171 +fi
25172
25173 -fi;
25174 if test "x$enable_dependency_tracking" != xno; then
25175 am_depcomp="$ac_aux_dir/depcomp"
25176 AMDEPBACKSLASH='\'
25177 @@ -2870,8 +3354,8 @@
25178 if test -n "$ac_tool_prefix"; then
25179 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
25180 set dummy ${ac_tool_prefix}strip; ac_word=$2
25181 -echo "$as_me:$LINENO: checking for $ac_word" >&5
25182 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25183 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
25184 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
25185 if test "${ac_cv_prog_STRIP+set}" = set; then
25186 echo $ECHO_N "(cached) $ECHO_C" >&6
25187 else
25188 @@ -2884,32 +3368,34 @@
25189 IFS=$as_save_IFS
25190 test -z "$as_dir" && as_dir=.
25191 for ac_exec_ext in '' $ac_executable_extensions; do
25192 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25193 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
25194 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
25195 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25196 break 2
25197 fi
25198 done
25199 done
25200 +IFS=$as_save_IFS
25201
25202 fi
25203 fi
25204 STRIP=$ac_cv_prog_STRIP
25205 if test -n "$STRIP"; then
25206 - echo "$as_me:$LINENO: result: $STRIP" >&5
25207 -echo "${ECHO_T}$STRIP" >&6
25208 + { echo "$as_me:$LINENO: result: $STRIP" >&5
25209 +echo "${ECHO_T}$STRIP" >&6; }
25210 else
25211 - echo "$as_me:$LINENO: result: no" >&5
25212 -echo "${ECHO_T}no" >&6
25213 + { echo "$as_me:$LINENO: result: no" >&5
25214 +echo "${ECHO_T}no" >&6; }
25215 fi
25216
25217 +
25218 fi
25219 if test -z "$ac_cv_prog_STRIP"; then
25220 ac_ct_STRIP=$STRIP
25221 # Extract the first word of "strip", so it can be a program name with args.
25222 set dummy strip; ac_word=$2
25223 -echo "$as_me:$LINENO: checking for $ac_word" >&5
25224 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25225 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
25226 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
25227 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
25228 echo $ECHO_N "(cached) $ECHO_C" >&6
25229 else
25230 @@ -2922,27 +3408,41 @@
25231 IFS=$as_save_IFS
25232 test -z "$as_dir" && as_dir=.
25233 for ac_exec_ext in '' $ac_executable_extensions; do
25234 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25235 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
25236 ac_cv_prog_ac_ct_STRIP="strip"
25237 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25238 break 2
25239 fi
25240 done
25241 done
25242 +IFS=$as_save_IFS
25243
25244 - test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
25245 fi
25246 fi
25247 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
25248 if test -n "$ac_ct_STRIP"; then
25249 - echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
25250 -echo "${ECHO_T}$ac_ct_STRIP" >&6
25251 + { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
25252 +echo "${ECHO_T}$ac_ct_STRIP" >&6; }
25253 else
25254 - echo "$as_me:$LINENO: result: no" >&5
25255 -echo "${ECHO_T}no" >&6
25256 + { echo "$as_me:$LINENO: result: no" >&5
25257 +echo "${ECHO_T}no" >&6; }
25258 fi
25259
25260 - STRIP=$ac_ct_STRIP
25261 + if test "x$ac_ct_STRIP" = x; then
25262 + STRIP=":"
25263 + else
25264 + case $cross_compiling:$ac_tool_warned in
25265 +yes:)
25266 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
25267 +whose name does not start with the host triplet. If you think this
25268 +configuration is useful to you, please write to autoconf@gnu.org." >&5
25269 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
25270 +whose name does not start with the host triplet. If you think this
25271 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
25272 +ac_tool_warned=yes ;;
25273 +esac
25274 + STRIP=$ac_ct_STRIP
25275 + fi
25276 else
25277 STRIP="$ac_cv_prog_STRIP"
25278 fi
25279 @@ -2963,8 +3463,8 @@
25280
25281 depcc="$CC" am_compiler_list=
25282
25283 -echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
25284 -echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
25285 +{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
25286 +echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
25287 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
25288 echo $ECHO_N "(cached) $ECHO_C" >&6
25289 else
25290 @@ -3053,8 +3553,8 @@
25291 fi
25292
25293 fi
25294 -echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
25295 -echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
25296 +{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
25297 +echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
25298 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
25299
25300
25301 @@ -3072,10 +3572,9 @@
25302
25303
25304
25305 -# Check whether --enable-shared or --disable-shared was given.
25306 +# Check whether --enable-shared was given.
25307 if test "${enable_shared+set}" = set; then
25308 - enableval="$enable_shared"
25309 - p=${PACKAGE-default}
25310 + enableval=$enable_shared; p=${PACKAGE-default}
25311 case $enableval in
25312 yes) enable_shared=yes ;;
25313 no) enable_shared=no ;;
25314 @@ -3093,11 +3592,11 @@
25315 esac
25316 else
25317 enable_shared=yes
25318 -fi;
25319 -# Check whether --enable-static or --disable-static was given.
25320 +fi
25321 +
25322 +# Check whether --enable-static was given.
25323 if test "${enable_static+set}" = set; then
25324 - enableval="$enable_static"
25325 - p=${PACKAGE-default}
25326 + enableval=$enable_static; p=${PACKAGE-default}
25327 case $enableval in
25328 yes) enable_static=yes ;;
25329 no) enable_static=no ;;
25330 @@ -3115,11 +3614,11 @@
25331 esac
25332 else
25333 enable_static=yes
25334 -fi;
25335 -# Check whether --enable-fast-install or --disable-fast-install was given.
25336 +fi
25337 +
25338 +# Check whether --enable-fast-install was given.
25339 if test "${enable_fast_install+set}" = set; then
25340 - enableval="$enable_fast_install"
25341 - p=${PACKAGE-default}
25342 + enableval=$enable_fast_install; p=${PACKAGE-default}
25343 case $enableval in
25344 yes) enable_fast_install=yes ;;
25345 no) enable_fast_install=no ;;
25346 @@ -3137,20 +3636,21 @@
25347 esac
25348 else
25349 enable_fast_install=yes
25350 -fi;
25351 +fi
25352 +
25353
25354 -# Check whether --with-gnu-ld or --without-gnu-ld was given.
25355 +# Check whether --with-gnu-ld was given.
25356 if test "${with_gnu_ld+set}" = set; then
25357 - withval="$with_gnu_ld"
25358 - test "$withval" = no || with_gnu_ld=yes
25359 + withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
25360 else
25361 with_gnu_ld=no
25362 -fi;
25363 +fi
25364 +
25365 ac_prog=ld
25366 if test "$GCC" = yes; then
25367 # Check if gcc -print-prog-name=ld gives a path.
25368 - echo "$as_me:$LINENO: checking for ld used by GCC" >&5
25369 -echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
25370 + { echo "$as_me:$LINENO: checking for ld used by GCC" >&5
25371 +echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6; }
25372 case $host in
25373 *-*-mingw*)
25374 # gcc leaves a trailing carriage return which upsets mingw
25375 @@ -3179,11 +3679,11 @@
25376 ;;
25377 esac
25378 elif test "$with_gnu_ld" = yes; then
25379 - echo "$as_me:$LINENO: checking for GNU ld" >&5
25380 -echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
25381 + { echo "$as_me:$LINENO: checking for GNU ld" >&5
25382 +echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
25383 else
25384 - echo "$as_me:$LINENO: checking for non-GNU ld" >&5
25385 -echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
25386 + { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
25387 +echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
25388 fi
25389 if test "${lt_cv_path_LD+set}" = set; then
25390 echo $ECHO_N "(cached) $ECHO_C" >&6
25391 @@ -3212,17 +3712,17 @@
25392
25393 LD="$lt_cv_path_LD"
25394 if test -n "$LD"; then
25395 - echo "$as_me:$LINENO: result: $LD" >&5
25396 -echo "${ECHO_T}$LD" >&6
25397 + { echo "$as_me:$LINENO: result: $LD" >&5
25398 +echo "${ECHO_T}$LD" >&6; }
25399 else
25400 - echo "$as_me:$LINENO: result: no" >&5
25401 -echo "${ECHO_T}no" >&6
25402 + { echo "$as_me:$LINENO: result: no" >&5
25403 +echo "${ECHO_T}no" >&6; }
25404 fi
25405 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
25406 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
25407 { (exit 1); exit 1; }; }
25408 -echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
25409 -echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
25410 +{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
25411 +echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
25412 if test "${lt_cv_prog_gnu_ld+set}" = set; then
25413 echo $ECHO_N "(cached) $ECHO_C" >&6
25414 else
25415 @@ -3233,25 +3733,25 @@
25416 lt_cv_prog_gnu_ld=no
25417 fi
25418 fi
25419 -echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
25420 -echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
25421 +{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
25422 +echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
25423 with_gnu_ld=$lt_cv_prog_gnu_ld
25424
25425
25426 -echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
25427 -echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
25428 +{ echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
25429 +echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
25430 if test "${lt_cv_ld_reload_flag+set}" = set; then
25431 echo $ECHO_N "(cached) $ECHO_C" >&6
25432 else
25433 lt_cv_ld_reload_flag='-r'
25434 fi
25435 -echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
25436 -echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
25437 +{ echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
25438 +echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
25439 reload_flag=$lt_cv_ld_reload_flag
25440 test -n "$reload_flag" && reload_flag=" $reload_flag"
25441
25442 -echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
25443 -echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
25444 +{ echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
25445 +echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
25446 if test "${lt_cv_path_NM+set}" = set; then
25447 echo $ECHO_N "(cached) $ECHO_C" >&6
25448 else
25449 @@ -3286,22 +3786,22 @@
25450 fi
25451
25452 NM="$lt_cv_path_NM"
25453 -echo "$as_me:$LINENO: result: $NM" >&5
25454 -echo "${ECHO_T}$NM" >&6
25455 +{ echo "$as_me:$LINENO: result: $NM" >&5
25456 +echo "${ECHO_T}$NM" >&6; }
25457
25458 -echo "$as_me:$LINENO: checking whether ln -s works" >&5
25459 -echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
25460 +{ echo "$as_me:$LINENO: checking whether ln -s works" >&5
25461 +echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
25462 LN_S=$as_ln_s
25463 if test "$LN_S" = "ln -s"; then
25464 - echo "$as_me:$LINENO: result: yes" >&5
25465 -echo "${ECHO_T}yes" >&6
25466 + { echo "$as_me:$LINENO: result: yes" >&5
25467 +echo "${ECHO_T}yes" >&6; }
25468 else
25469 - echo "$as_me:$LINENO: result: no, using $LN_S" >&5
25470 -echo "${ECHO_T}no, using $LN_S" >&6
25471 + { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
25472 +echo "${ECHO_T}no, using $LN_S" >&6; }
25473 fi
25474
25475 -echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
25476 -echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
25477 +{ echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
25478 +echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6; }
25479 if test "${lt_cv_deplibs_check_method+set}" = set; then
25480 echo $ECHO_N "(cached) $ECHO_C" >&6
25481 else
25482 @@ -3463,8 +3963,8 @@
25483 esac
25484
25485 fi
25486 -echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
25487 -echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
25488 +{ echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
25489 +echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
25490 file_magic_cmd=$lt_cv_file_magic_cmd
25491 deplibs_check_method=$lt_cv_deplibs_check_method
25492
25493 @@ -3474,8 +3974,8 @@
25494 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
25495
25496 # find the maximum length of command line arguments
25497 -echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
25498 -echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
25499 +{ echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
25500 +echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
25501 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
25502 echo $ECHO_N "(cached) $ECHO_C" >&6
25503 else
25504 @@ -3526,11 +4026,11 @@
25505 fi
25506
25507 if test -n "$lt_cv_sys_max_cmd_len" ; then
25508 - echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
25509 -echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
25510 + { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
25511 +echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
25512 else
25513 - echo "$as_me:$LINENO: result: none" >&5
25514 -echo "${ECHO_T}none" >&6
25515 + { echo "$as_me:$LINENO: result: none" >&5
25516 +echo "${ECHO_T}none" >&6; }
25517 fi
25518
25519
25520 @@ -3538,8 +4038,8 @@
25521 case $deplibs_check_method in
25522 file_magic*)
25523 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
25524 - echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
25525 -echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
25526 + { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
25527 +echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
25528 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
25529 echo $ECHO_N "(cached) $ECHO_C" >&6
25530 else
25531 @@ -3593,17 +4093,17 @@
25532
25533 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
25534 if test -n "$MAGIC_CMD"; then
25535 - echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
25536 -echo "${ECHO_T}$MAGIC_CMD" >&6
25537 + { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
25538 +echo "${ECHO_T}$MAGIC_CMD" >&6; }
25539 else
25540 - echo "$as_me:$LINENO: result: no" >&5
25541 -echo "${ECHO_T}no" >&6
25542 + { echo "$as_me:$LINENO: result: no" >&5
25543 +echo "${ECHO_T}no" >&6; }
25544 fi
25545
25546 if test -z "$lt_cv_path_MAGIC_CMD"; then
25547 if test -n "$ac_tool_prefix"; then
25548 - echo "$as_me:$LINENO: checking for file" >&5
25549 -echo $ECHO_N "checking for file... $ECHO_C" >&6
25550 + { echo "$as_me:$LINENO: checking for file" >&5
25551 +echo $ECHO_N "checking for file... $ECHO_C" >&6; }
25552 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
25553 echo $ECHO_N "(cached) $ECHO_C" >&6
25554 else
25555 @@ -3657,11 +4157,11 @@
25556
25557 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
25558 if test -n "$MAGIC_CMD"; then
25559 - echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
25560 -echo "${ECHO_T}$MAGIC_CMD" >&6
25561 + { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
25562 +echo "${ECHO_T}$MAGIC_CMD" >&6; }
25563 else
25564 - echo "$as_me:$LINENO: result: no" >&5
25565 -echo "${ECHO_T}no" >&6
25566 + { echo "$as_me:$LINENO: result: no" >&5
25567 +echo "${ECHO_T}no" >&6; }
25568 fi
25569
25570 else
25571 @@ -3676,8 +4176,8 @@
25572 if test -n "$ac_tool_prefix"; then
25573 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
25574 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
25575 -echo "$as_me:$LINENO: checking for $ac_word" >&5
25576 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25577 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
25578 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
25579 if test "${ac_cv_prog_RANLIB+set}" = set; then
25580 echo $ECHO_N "(cached) $ECHO_C" >&6
25581 else
25582 @@ -3690,32 +4190,34 @@
25583 IFS=$as_save_IFS
25584 test -z "$as_dir" && as_dir=.
25585 for ac_exec_ext in '' $ac_executable_extensions; do
25586 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25587 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
25588 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
25589 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25590 break 2
25591 fi
25592 done
25593 done
25594 +IFS=$as_save_IFS
25595
25596 fi
25597 fi
25598 RANLIB=$ac_cv_prog_RANLIB
25599 if test -n "$RANLIB"; then
25600 - echo "$as_me:$LINENO: result: $RANLIB" >&5
25601 -echo "${ECHO_T}$RANLIB" >&6
25602 + { echo "$as_me:$LINENO: result: $RANLIB" >&5
25603 +echo "${ECHO_T}$RANLIB" >&6; }
25604 else
25605 - echo "$as_me:$LINENO: result: no" >&5
25606 -echo "${ECHO_T}no" >&6
25607 + { echo "$as_me:$LINENO: result: no" >&5
25608 +echo "${ECHO_T}no" >&6; }
25609 fi
25610
25611 +
25612 fi
25613 if test -z "$ac_cv_prog_RANLIB"; then
25614 ac_ct_RANLIB=$RANLIB
25615 # Extract the first word of "ranlib", so it can be a program name with args.
25616 set dummy ranlib; ac_word=$2
25617 -echo "$as_me:$LINENO: checking for $ac_word" >&5
25618 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25619 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
25620 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
25621 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
25622 echo $ECHO_N "(cached) $ECHO_C" >&6
25623 else
25624 @@ -3728,27 +4230,41 @@
25625 IFS=$as_save_IFS
25626 test -z "$as_dir" && as_dir=.
25627 for ac_exec_ext in '' $ac_executable_extensions; do
25628 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25629 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
25630 ac_cv_prog_ac_ct_RANLIB="ranlib"
25631 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25632 break 2
25633 fi
25634 done
25635 done
25636 +IFS=$as_save_IFS
25637
25638 - test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
25639 fi
25640 fi
25641 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
25642 if test -n "$ac_ct_RANLIB"; then
25643 - echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
25644 -echo "${ECHO_T}$ac_ct_RANLIB" >&6
25645 + { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
25646 +echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
25647 else
25648 - echo "$as_me:$LINENO: result: no" >&5
25649 -echo "${ECHO_T}no" >&6
25650 + { echo "$as_me:$LINENO: result: no" >&5
25651 +echo "${ECHO_T}no" >&6; }
25652 fi
25653
25654 - RANLIB=$ac_ct_RANLIB
25655 + if test "x$ac_ct_RANLIB" = x; then
25656 + RANLIB=":"
25657 + else
25658 + case $cross_compiling:$ac_tool_warned in
25659 +yes:)
25660 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
25661 +whose name does not start with the host triplet. If you think this
25662 +configuration is useful to you, please write to autoconf@gnu.org." >&5
25663 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
25664 +whose name does not start with the host triplet. If you think this
25665 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
25666 +ac_tool_warned=yes ;;
25667 +esac
25668 + RANLIB=$ac_ct_RANLIB
25669 + fi
25670 else
25671 RANLIB="$ac_cv_prog_RANLIB"
25672 fi
25673 @@ -3756,8 +4272,8 @@
25674 if test -n "$ac_tool_prefix"; then
25675 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
25676 set dummy ${ac_tool_prefix}strip; ac_word=$2
25677 -echo "$as_me:$LINENO: checking for $ac_word" >&5
25678 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25679 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
25680 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
25681 if test "${ac_cv_prog_STRIP+set}" = set; then
25682 echo $ECHO_N "(cached) $ECHO_C" >&6
25683 else
25684 @@ -3770,32 +4286,34 @@
25685 IFS=$as_save_IFS
25686 test -z "$as_dir" && as_dir=.
25687 for ac_exec_ext in '' $ac_executable_extensions; do
25688 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25689 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
25690 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
25691 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25692 break 2
25693 fi
25694 done
25695 done
25696 +IFS=$as_save_IFS
25697
25698 fi
25699 fi
25700 STRIP=$ac_cv_prog_STRIP
25701 if test -n "$STRIP"; then
25702 - echo "$as_me:$LINENO: result: $STRIP" >&5
25703 -echo "${ECHO_T}$STRIP" >&6
25704 + { echo "$as_me:$LINENO: result: $STRIP" >&5
25705 +echo "${ECHO_T}$STRIP" >&6; }
25706 else
25707 - echo "$as_me:$LINENO: result: no" >&5
25708 -echo "${ECHO_T}no" >&6
25709 + { echo "$as_me:$LINENO: result: no" >&5
25710 +echo "${ECHO_T}no" >&6; }
25711 fi
25712
25713 +
25714 fi
25715 if test -z "$ac_cv_prog_STRIP"; then
25716 ac_ct_STRIP=$STRIP
25717 # Extract the first word of "strip", so it can be a program name with args.
25718 set dummy strip; ac_word=$2
25719 -echo "$as_me:$LINENO: checking for $ac_word" >&5
25720 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25721 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
25722 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
25723 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
25724 echo $ECHO_N "(cached) $ECHO_C" >&6
25725 else
25726 @@ -3808,27 +4326,41 @@
25727 IFS=$as_save_IFS
25728 test -z "$as_dir" && as_dir=.
25729 for ac_exec_ext in '' $ac_executable_extensions; do
25730 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25731 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
25732 ac_cv_prog_ac_ct_STRIP="strip"
25733 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25734 break 2
25735 fi
25736 done
25737 done
25738 +IFS=$as_save_IFS
25739
25740 - test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
25741 fi
25742 fi
25743 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
25744 if test -n "$ac_ct_STRIP"; then
25745 - echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
25746 -echo "${ECHO_T}$ac_ct_STRIP" >&6
25747 + { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
25748 +echo "${ECHO_T}$ac_ct_STRIP" >&6; }
25749 else
25750 - echo "$as_me:$LINENO: result: no" >&5
25751 -echo "${ECHO_T}no" >&6
25752 + { echo "$as_me:$LINENO: result: no" >&5
25753 +echo "${ECHO_T}no" >&6; }
25754 fi
25755
25756 - STRIP=$ac_ct_STRIP
25757 + if test "x$ac_ct_STRIP" = x; then
25758 + STRIP=":"
25759 + else
25760 + case $cross_compiling:$ac_tool_warned in
25761 +yes:)
25762 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
25763 +whose name does not start with the host triplet. If you think this
25764 +configuration is useful to you, please write to autoconf@gnu.org." >&5
25765 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
25766 +whose name does not start with the host triplet. If you think this
25767 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
25768 +ac_tool_warned=yes ;;
25769 +esac
25770 + STRIP=$ac_ct_STRIP
25771 + fi
25772 else
25773 STRIP="$ac_cv_prog_STRIP"
25774 fi
25775 @@ -3843,22 +4375,22 @@
25776 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
25777
25778
25779 -# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
25780 +# Check whether --enable-libtool-lock was given.
25781 if test "${enable_libtool_lock+set}" = set; then
25782 - enableval="$enable_libtool_lock"
25783 + enableval=$enable_libtool_lock;
25784 +fi
25785
25786 -fi;
25787 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
25788 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
25789
25790
25791 -# Check whether --with-pic or --without-pic was given.
25792 +# Check whether --with-pic was given.
25793 if test "${with_pic+set}" = set; then
25794 - withval="$with_pic"
25795 - pic_mode="$withval"
25796 + withval=$with_pic; pic_mode="$withval"
25797 else
25798 pic_mode=default
25799 -fi;
25800 +fi
25801 +
25802 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
25803 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
25804
25805 @@ -3867,7 +4399,7 @@
25806 case $host in
25807 *-*-irix6*)
25808 # Find out which ABI we are using.
25809 - echo '#line 3870 "configure"' > conftest.$ac_ext
25810 + echo '#line 4402 "configure"' > conftest.$ac_ext
25811 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25812 (eval $ac_compile) 2>&5
25813 ac_status=$?
25814 @@ -3972,13 +4504,12 @@
25815 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
25816 SAVE_CFLAGS="$CFLAGS"
25817 CFLAGS="$CFLAGS -belf"
25818 - echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
25819 -echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
25820 + { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
25821 +echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
25822 if test "${lt_cv_cc_needs_belf+set}" = set; then
25823 echo $ECHO_N "(cached) $ECHO_C" >&6
25824 else
25825
25826 -
25827 ac_ext=c
25828 ac_cpp='$CPP $CPPFLAGS'
25829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25830 @@ -4001,35 +4532,32 @@
25831 }
25832 _ACEOF
25833 rm -f conftest.$ac_objext conftest$ac_exeext
25834 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25835 - (eval $ac_link) 2>conftest.er1
25836 +if { (ac_try="$ac_link"
25837 +case "(($ac_try" in
25838 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25839 + *) ac_try_echo=$ac_try;;
25840 +esac
25841 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25842 + (eval "$ac_link") 2>conftest.er1
25843 ac_status=$?
25844 grep -v '^ *+' conftest.er1 >conftest.err
25845 rm -f conftest.er1
25846 cat conftest.err >&5
25847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25848 - (exit $ac_status); } &&
25849 - { ac_try='test -z "$ac_c_werror_flag"
25850 - || test ! -s conftest.err'
25851 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25852 - (eval $ac_try) 2>&5
25853 - ac_status=$?
25854 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
25855 - (exit $ac_status); }; } &&
25856 - { ac_try='test -s conftest$ac_exeext'
25857 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25858 - (eval $ac_try) 2>&5
25859 - ac_status=$?
25860 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
25861 - (exit $ac_status); }; }; then
25862 + (exit $ac_status); } && {
25863 + test -z "$ac_c_werror_flag" ||
25864 + test ! -s conftest.err
25865 + } && test -s conftest$ac_exeext &&
25866 + $as_test_x conftest$ac_exeext; then
25867 lt_cv_cc_needs_belf=yes
25868 else
25869 echo "$as_me: failed program was:" >&5
25870 sed 's/^/| /' conftest.$ac_ext >&5
25871
25872 -lt_cv_cc_needs_belf=no
25873 + lt_cv_cc_needs_belf=no
25874 fi
25875 -rm -f conftest.err conftest.$ac_objext \
25876 +
25877 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25878 conftest$ac_exeext conftest.$ac_ext
25879 ac_ext=c
25880 ac_cpp='$CPP $CPPFLAGS'
25881 @@ -4038,8 +4566,8 @@
25882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25883
25884 fi
25885 -echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
25886 -echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
25887 +{ echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
25888 +echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
25889 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
25890 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
25891 CFLAGS="$SAVE_CFLAGS"
25892 @@ -4069,39 +4597,58 @@
25893
25894 # The following way of writing the cache mishandles newlines in values,
25895 # but we know of no workaround that is simple, portable, and efficient.
25896 -# So, don't put newlines in cache variables' values.
25897 +# So, we kill variables containing newlines.
25898 # Ultrix sh set writes to stderr and can't be redirected directly,
25899 # and sets the high bit in the cache file unless we assign to the vars.
25900 -{
25901 +(
25902 + for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
25903 + eval ac_val=\$$ac_var
25904 + case $ac_val in #(
25905 + *${as_nl}*)
25906 + case $ac_var in #(
25907 + *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
25908 +echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
25909 + esac
25910 + case $ac_var in #(
25911 + _ | IFS | as_nl) ;; #(
25912 + *) $as_unset $ac_var ;;
25913 + esac ;;
25914 + esac
25915 + done
25916 +
25917 (set) 2>&1 |
25918 - case `(ac_space=' '; set | grep ac_space) 2>&1` in
25919 - *ac_space=\ *)
25920 + case $as_nl`(ac_space=' '; set) 2>&1` in #(
25921 + *${as_nl}ac_space=\ *)
25922 # `set' does not quote correctly, so add quotes (double-quote
25923 # substitution turns \\\\ into \\, and sed turns \\ into \).
25924 sed -n \
25925 "s/'/'\\\\''/g;
25926 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
25927 - ;;
25928 + ;; #(
25929 *)
25930 # `set' quotes correctly as required by POSIX, so do not add quotes.
25931 - sed -n \
25932 - "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
25933 + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
25934 ;;
25935 - esac;
25936 -} |
25937 + esac |
25938 + sort
25939 +) |
25940 sed '
25941 + /^ac_cv_env_/b end
25942 t clear
25943 - : clear
25944 + :clear
25945 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
25946 t end
25947 - /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
25948 - : end' >>confcache
25949 -if diff $cache_file confcache >/dev/null 2>&1; then :; else
25950 - if test -w $cache_file; then
25951 - test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
25952 + s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
25953 + :end' >>confcache
25954 +if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
25955 + if test -w "$cache_file"; then
25956 + test "x$cache_file" != "x/dev/null" &&
25957 + { echo "$as_me:$LINENO: updating cache $cache_file" >&5
25958 +echo "$as_me: updating cache $cache_file" >&6;}
25959 cat confcache >$cache_file
25960 else
25961 - echo "not updating unwritable cache $cache_file"
25962 + { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
25963 +echo "$as_me: not updating unwritable cache $cache_file" >&6;}
25964 fi
25965 fi
25966 rm -f confcache
25967 @@ -4127,8 +4674,8 @@
25968 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
25969 echo "$as_me: loading cache $cache_file" >&6;}
25970 case $cache_file in
25971 - [\\/]* | ?:[\\/]* ) . $cache_file;;
25972 - *) . ./$cache_file;;
25973 + [\\/]* | ?:[\\/]* ) . "$cache_file";;
25974 + *) . "./$cache_file";;
25975 esac
25976 fi
25977 else
25978 @@ -4154,10 +4701,9 @@
25979
25980
25981
25982 -# Check whether --enable-targets or --disable-targets was given.
25983 +# Check whether --enable-targets was given.
25984 if test "${enable_targets+set}" = set; then
25985 - enableval="$enable_targets"
25986 - case "${enableval}" in
25987 + enableval=$enable_targets; case "${enableval}" in
25988 yes | "") { { echo "$as_me:$LINENO: error: enable-targets option must specify target names or 'all'" >&5
25989 echo "$as_me: error: enable-targets option must specify target names or 'all'" >&2;}
25990 { (exit 1); exit 1; }; }
25991 @@ -4165,31 +4711,32 @@
25992 no) enable_targets= ;;
25993 *) enable_targets=$enableval ;;
25994 esac
25995 -fi; # Check whether --enable-commonbfdlib or --disable-commonbfdlib was given.
25996 +fi
25997 +# Check whether --enable-commonbfdlib was given.
25998 if test "${enable_commonbfdlib+set}" = set; then
25999 - enableval="$enable_commonbfdlib"
26000 - case "${enableval}" in
26001 + enableval=$enable_commonbfdlib; case "${enableval}" in
26002 yes) commonbfdlib=true ;;
26003 no) commonbfdlib=false ;;
26004 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for BFD commonbfdlib option" >&5
26005 echo "$as_me: error: bad value ${enableval} for BFD commonbfdlib option" >&2;}
26006 { (exit 1); exit 1; }; } ;;
26007 esac
26008 -fi;
26009 +fi
26010 +
26011
26012 GCC_WARN_CFLAGS="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
26013
26014 -# Check whether --enable-werror or --disable-werror was given.
26015 +# Check whether --enable-werror was given.
26016 if test "${enable_werror+set}" = set; then
26017 - enableval="$enable_werror"
26018 - case "${enableval}" in
26019 + enableval=$enable_werror; case "${enableval}" in
26020 yes | y) ERROR_ON_WARNING="yes" ;;
26021 no | n) ERROR_ON_WARNING="no" ;;
26022 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-werror" >&5
26023 echo "$as_me: error: bad value ${enableval} for --enable-werror" >&2;}
26024 { (exit 1); exit 1; }; } ;;
26025 esac
26026 -fi;
26027 +fi
26028 +
26029
26030 # Enable -Werror by default when using gcc
26031 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
26032 @@ -4206,10 +4753,9 @@
26033 WARN_CFLAGS="${GCC_WARN_CFLAGS}"
26034 fi
26035
26036 -# Check whether --enable-build-warnings or --disable-build-warnings was given.
26037 +# Check whether --enable-build-warnings was given.
26038 if test "${enable_build_warnings+set}" = set; then
26039 - enableval="$enable_build_warnings"
26040 - case "${enableval}" in
26041 + enableval=$enable_build_warnings; case "${enableval}" in
26042 yes) WARN_CFLAGS="${GCC_WARN_CFLAGS}";;
26043 no) if test "${GCC}" = yes ; then
26044 WARN_CFLAGS="-w"
26045 @@ -4220,7 +4766,8 @@
26046 WARN_CFLAGS="${t} ${GCC_WARN_CFLAGS}";;
26047 *) WARN_CFLAGS=`echo "${enableval}" | sed -e "s/,/ /g"`;;
26048 esac
26049 -fi;
26050 +fi
26051 +
26052
26053 if test x"$silent" != x"yes" && test x"$WARN_CFLAGS" != x""; then
26054 echo "Setting warning flags = $WARN_CFLAGS" 6>&1
26055 @@ -4230,7 +4777,7 @@
26056
26057
26058
26059 - ac_config_headers="$ac_config_headers config.h:config.in"
26060 +ac_config_headers="$ac_config_headers config.h:config.in"
26061
26062
26063 if test -z "$target" ; then
26064 @@ -4252,8 +4799,8 @@
26065 if test -n "$ac_tool_prefix"; then
26066 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
26067 set dummy ${ac_tool_prefix}gcc; ac_word=$2
26068 -echo "$as_me:$LINENO: checking for $ac_word" >&5
26069 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
26070 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
26071 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
26072 if test "${ac_cv_prog_CC+set}" = set; then
26073 echo $ECHO_N "(cached) $ECHO_C" >&6
26074 else
26075 @@ -4266,32 +4813,34 @@
26076 IFS=$as_save_IFS
26077 test -z "$as_dir" && as_dir=.
26078 for ac_exec_ext in '' $ac_executable_extensions; do
26079 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26080 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
26081 ac_cv_prog_CC="${ac_tool_prefix}gcc"
26082 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26083 break 2
26084 fi
26085 done
26086 done
26087 +IFS=$as_save_IFS
26088
26089 fi
26090 fi
26091 CC=$ac_cv_prog_CC
26092 if test -n "$CC"; then
26093 - echo "$as_me:$LINENO: result: $CC" >&5
26094 -echo "${ECHO_T}$CC" >&6
26095 + { echo "$as_me:$LINENO: result: $CC" >&5
26096 +echo "${ECHO_T}$CC" >&6; }
26097 else
26098 - echo "$as_me:$LINENO: result: no" >&5
26099 -echo "${ECHO_T}no" >&6
26100 + { echo "$as_me:$LINENO: result: no" >&5
26101 +echo "${ECHO_T}no" >&6; }
26102 fi
26103
26104 +
26105 fi
26106 if test -z "$ac_cv_prog_CC"; then
26107 ac_ct_CC=$CC
26108 # Extract the first word of "gcc", so it can be a program name with args.
26109 set dummy gcc; ac_word=$2
26110 -echo "$as_me:$LINENO: checking for $ac_word" >&5
26111 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
26112 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
26113 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
26114 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
26115 echo $ECHO_N "(cached) $ECHO_C" >&6
26116 else
26117 @@ -4304,36 +4853,51 @@
26118 IFS=$as_save_IFS
26119 test -z "$as_dir" && as_dir=.
26120 for ac_exec_ext in '' $ac_executable_extensions; do
26121 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26122 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
26123 ac_cv_prog_ac_ct_CC="gcc"
26124 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26125 break 2
26126 fi
26127 done
26128 done
26129 +IFS=$as_save_IFS
26130
26131 fi
26132 fi
26133 ac_ct_CC=$ac_cv_prog_ac_ct_CC
26134 if test -n "$ac_ct_CC"; then
26135 - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
26136 -echo "${ECHO_T}$ac_ct_CC" >&6
26137 + { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
26138 +echo "${ECHO_T}$ac_ct_CC" >&6; }
26139 else
26140 - echo "$as_me:$LINENO: result: no" >&5
26141 -echo "${ECHO_T}no" >&6
26142 + { echo "$as_me:$LINENO: result: no" >&5
26143 +echo "${ECHO_T}no" >&6; }
26144 fi
26145
26146 - CC=$ac_ct_CC
26147 + if test "x$ac_ct_CC" = x; then
26148 + CC=""
26149 + else
26150 + case $cross_compiling:$ac_tool_warned in
26151 +yes:)
26152 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
26153 +whose name does not start with the host triplet. If you think this
26154 +configuration is useful to you, please write to autoconf@gnu.org." >&5
26155 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
26156 +whose name does not start with the host triplet. If you think this
26157 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
26158 +ac_tool_warned=yes ;;
26159 +esac
26160 + CC=$ac_ct_CC
26161 + fi
26162 else
26163 CC="$ac_cv_prog_CC"
26164 fi
26165
26166 if test -z "$CC"; then
26167 - if test -n "$ac_tool_prefix"; then
26168 - # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
26169 + if test -n "$ac_tool_prefix"; then
26170 + # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
26171 set dummy ${ac_tool_prefix}cc; ac_word=$2
26172 -echo "$as_me:$LINENO: checking for $ac_word" >&5
26173 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
26174 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
26175 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
26176 if test "${ac_cv_prog_CC+set}" = set; then
26177 echo $ECHO_N "(cached) $ECHO_C" >&6
26178 else
26179 @@ -4346,74 +4910,34 @@
26180 IFS=$as_save_IFS
26181 test -z "$as_dir" && as_dir=.
26182 for ac_exec_ext in '' $ac_executable_extensions; do
26183 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26184 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
26185 ac_cv_prog_CC="${ac_tool_prefix}cc"
26186 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26187 break 2
26188 fi
26189 done
26190 done
26191 +IFS=$as_save_IFS
26192
26193 fi
26194 fi
26195 CC=$ac_cv_prog_CC
26196 if test -n "$CC"; then
26197 - echo "$as_me:$LINENO: result: $CC" >&5
26198 -echo "${ECHO_T}$CC" >&6
26199 -else
26200 - echo "$as_me:$LINENO: result: no" >&5
26201 -echo "${ECHO_T}no" >&6
26202 -fi
26203 -
26204 -fi
26205 -if test -z "$ac_cv_prog_CC"; then
26206 - ac_ct_CC=$CC
26207 - # Extract the first word of "cc", so it can be a program name with args.
26208 -set dummy cc; ac_word=$2
26209 -echo "$as_me:$LINENO: checking for $ac_word" >&5
26210 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
26211 -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
26212 - echo $ECHO_N "(cached) $ECHO_C" >&6
26213 -else
26214 - if test -n "$ac_ct_CC"; then
26215 - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
26216 -else
26217 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26218 -for as_dir in $PATH
26219 -do
26220 - IFS=$as_save_IFS
26221 - test -z "$as_dir" && as_dir=.
26222 - for ac_exec_ext in '' $ac_executable_extensions; do
26223 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26224 - ac_cv_prog_ac_ct_CC="cc"
26225 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26226 - break 2
26227 - fi
26228 -done
26229 -done
26230 -
26231 -fi
26232 -fi
26233 -ac_ct_CC=$ac_cv_prog_ac_ct_CC
26234 -if test -n "$ac_ct_CC"; then
26235 - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
26236 -echo "${ECHO_T}$ac_ct_CC" >&6
26237 + { echo "$as_me:$LINENO: result: $CC" >&5
26238 +echo "${ECHO_T}$CC" >&6; }
26239 else
26240 - echo "$as_me:$LINENO: result: no" >&5
26241 -echo "${ECHO_T}no" >&6
26242 + { echo "$as_me:$LINENO: result: no" >&5
26243 +echo "${ECHO_T}no" >&6; }
26244 fi
26245
26246 - CC=$ac_ct_CC
26247 -else
26248 - CC="$ac_cv_prog_CC"
26249 -fi
26250
26251 + fi
26252 fi
26253 if test -z "$CC"; then
26254 # Extract the first word of "cc", so it can be a program name with args.
26255 set dummy cc; ac_word=$2
26256 -echo "$as_me:$LINENO: checking for $ac_word" >&5
26257 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
26258 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
26259 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
26260 if test "${ac_cv_prog_CC+set}" = set; then
26261 echo $ECHO_N "(cached) $ECHO_C" >&6
26262 else
26263 @@ -4427,7 +4951,7 @@
26264 IFS=$as_save_IFS
26265 test -z "$as_dir" && as_dir=.
26266 for ac_exec_ext in '' $ac_executable_extensions; do
26267 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26268 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
26269 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
26270 ac_prog_rejected=yes
26271 continue
26272 @@ -4438,6 +4962,7 @@
26273 fi
26274 done
26275 done
26276 +IFS=$as_save_IFS
26277
26278 if test $ac_prog_rejected = yes; then
26279 # We found a bogon in the path, so make sure we never use it.
26280 @@ -4455,22 +4980,23 @@
26281 fi
26282 CC=$ac_cv_prog_CC
26283 if test -n "$CC"; then
26284 - echo "$as_me:$LINENO: result: $CC" >&5
26285 -echo "${ECHO_T}$CC" >&6
26286 + { echo "$as_me:$LINENO: result: $CC" >&5
26287 +echo "${ECHO_T}$CC" >&6; }
26288 else
26289 - echo "$as_me:$LINENO: result: no" >&5
26290 -echo "${ECHO_T}no" >&6
26291 + { echo "$as_me:$LINENO: result: no" >&5
26292 +echo "${ECHO_T}no" >&6; }
26293 fi
26294
26295 +
26296 fi
26297 if test -z "$CC"; then
26298 if test -n "$ac_tool_prefix"; then
26299 - for ac_prog in cl
26300 + for ac_prog in cl.exe
26301 do
26302 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
26303 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
26304 -echo "$as_me:$LINENO: checking for $ac_word" >&5
26305 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
26306 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
26307 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
26308 if test "${ac_cv_prog_CC+set}" = set; then
26309 echo $ECHO_N "(cached) $ECHO_C" >&6
26310 else
26311 @@ -4483,36 +5009,38 @@
26312 IFS=$as_save_IFS
26313 test -z "$as_dir" && as_dir=.
26314 for ac_exec_ext in '' $ac_executable_extensions; do
26315 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26316 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
26317 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
26318 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26319 break 2
26320 fi
26321 done
26322 done
26323 +IFS=$as_save_IFS
26324
26325 fi
26326 fi
26327 CC=$ac_cv_prog_CC
26328 if test -n "$CC"; then
26329 - echo "$as_me:$LINENO: result: $CC" >&5
26330 -echo "${ECHO_T}$CC" >&6
26331 + { echo "$as_me:$LINENO: result: $CC" >&5
26332 +echo "${ECHO_T}$CC" >&6; }
26333 else
26334 - echo "$as_me:$LINENO: result: no" >&5
26335 -echo "${ECHO_T}no" >&6
26336 + { echo "$as_me:$LINENO: result: no" >&5
26337 +echo "${ECHO_T}no" >&6; }
26338 fi
26339
26340 +
26341 test -n "$CC" && break
26342 done
26343 fi
26344 if test -z "$CC"; then
26345 ac_ct_CC=$CC
26346 - for ac_prog in cl
26347 + for ac_prog in cl.exe
26348 do
26349 # Extract the first word of "$ac_prog", so it can be a program name with args.
26350 set dummy $ac_prog; ac_word=$2
26351 -echo "$as_me:$LINENO: checking for $ac_word" >&5
26352 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
26353 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
26354 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
26355 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
26356 echo $ECHO_N "(cached) $ECHO_C" >&6
26357 else
26358 @@ -4525,29 +5053,45 @@
26359 IFS=$as_save_IFS
26360 test -z "$as_dir" && as_dir=.
26361 for ac_exec_ext in '' $ac_executable_extensions; do
26362 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26363 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
26364 ac_cv_prog_ac_ct_CC="$ac_prog"
26365 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26366 break 2
26367 fi
26368 done
26369 done
26370 +IFS=$as_save_IFS
26371
26372 fi
26373 fi
26374 ac_ct_CC=$ac_cv_prog_ac_ct_CC
26375 if test -n "$ac_ct_CC"; then
26376 - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
26377 -echo "${ECHO_T}$ac_ct_CC" >&6
26378 + { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
26379 +echo "${ECHO_T}$ac_ct_CC" >&6; }
26380 else
26381 - echo "$as_me:$LINENO: result: no" >&5
26382 -echo "${ECHO_T}no" >&6
26383 + { echo "$as_me:$LINENO: result: no" >&5
26384 +echo "${ECHO_T}no" >&6; }
26385 fi
26386
26387 +
26388 test -n "$ac_ct_CC" && break
26389 done
26390
26391 - CC=$ac_ct_CC
26392 + if test "x$ac_ct_CC" = x; then
26393 + CC=""
26394 + else
26395 + case $cross_compiling:$ac_tool_warned in
26396 +yes:)
26397 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
26398 +whose name does not start with the host triplet. If you think this
26399 +configuration is useful to you, please write to autoconf@gnu.org." >&5
26400 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
26401 +whose name does not start with the host triplet. If you think this
26402 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
26403 +ac_tool_warned=yes ;;
26404 +esac
26405 + CC=$ac_ct_CC
26406 + fi
26407 fi
26408
26409 fi
26410 @@ -4560,27 +5104,41 @@
26411 { (exit 1); exit 1; }; }
26412
26413 # Provide some information about the compiler.
26414 -echo "$as_me:$LINENO:" \
26415 - "checking for C compiler version" >&5
26416 +echo "$as_me:$LINENO: checking for C compiler version" >&5
26417 ac_compiler=`set X $ac_compile; echo $2`
26418 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
26419 - (eval $ac_compiler --version </dev/null >&5) 2>&5
26420 +{ (ac_try="$ac_compiler --version >&5"
26421 +case "(($ac_try" in
26422 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26423 + *) ac_try_echo=$ac_try;;
26424 +esac
26425 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26426 + (eval "$ac_compiler --version >&5") 2>&5
26427 ac_status=$?
26428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26429 (exit $ac_status); }
26430 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
26431 - (eval $ac_compiler -v </dev/null >&5) 2>&5
26432 +{ (ac_try="$ac_compiler -v >&5"
26433 +case "(($ac_try" in
26434 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26435 + *) ac_try_echo=$ac_try;;
26436 +esac
26437 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26438 + (eval "$ac_compiler -v >&5") 2>&5
26439 ac_status=$?
26440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26441 (exit $ac_status); }
26442 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
26443 - (eval $ac_compiler -V </dev/null >&5) 2>&5
26444 +{ (ac_try="$ac_compiler -V >&5"
26445 +case "(($ac_try" in
26446 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26447 + *) ac_try_echo=$ac_try;;
26448 +esac
26449 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26450 + (eval "$ac_compiler -V >&5") 2>&5
26451 ac_status=$?
26452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26453 (exit $ac_status); }
26454
26455 -echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
26456 -echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
26457 +{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
26458 +echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
26459 if test "${ac_cv_c_compiler_gnu+set}" = set; then
26460 echo $ECHO_N "(cached) $ECHO_C" >&6
26461 else
26462 @@ -4603,50 +5161,49 @@
26463 }
26464 _ACEOF
26465 rm -f conftest.$ac_objext
26466 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26467 - (eval $ac_compile) 2>conftest.er1
26468 +if { (ac_try="$ac_compile"
26469 +case "(($ac_try" in
26470 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26471 + *) ac_try_echo=$ac_try;;
26472 +esac
26473 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26474 + (eval "$ac_compile") 2>conftest.er1
26475 ac_status=$?
26476 grep -v '^ *+' conftest.er1 >conftest.err
26477 rm -f conftest.er1
26478 cat conftest.err >&5
26479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26480 - (exit $ac_status); } &&
26481 - { ac_try='test -z "$ac_c_werror_flag"
26482 - || test ! -s conftest.err'
26483 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26484 - (eval $ac_try) 2>&5
26485 - ac_status=$?
26486 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
26487 - (exit $ac_status); }; } &&
26488 - { ac_try='test -s conftest.$ac_objext'
26489 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26490 - (eval $ac_try) 2>&5
26491 - ac_status=$?
26492 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
26493 - (exit $ac_status); }; }; then
26494 + (exit $ac_status); } && {
26495 + test -z "$ac_c_werror_flag" ||
26496 + test ! -s conftest.err
26497 + } && test -s conftest.$ac_objext; then
26498 ac_compiler_gnu=yes
26499 else
26500 echo "$as_me: failed program was:" >&5
26501 sed 's/^/| /' conftest.$ac_ext >&5
26502
26503 -ac_compiler_gnu=no
26504 + ac_compiler_gnu=no
26505 fi
26506 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26507 +
26508 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26509 ac_cv_c_compiler_gnu=$ac_compiler_gnu
26510
26511 fi
26512 -echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
26513 -echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
26514 +{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
26515 +echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
26516 GCC=`test $ac_compiler_gnu = yes && echo yes`
26517 ac_test_CFLAGS=${CFLAGS+set}
26518 ac_save_CFLAGS=$CFLAGS
26519 -CFLAGS="-g"
26520 -echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
26521 -echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
26522 +{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
26523 +echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
26524 if test "${ac_cv_prog_cc_g+set}" = set; then
26525 echo $ECHO_N "(cached) $ECHO_C" >&6
26526 else
26527 - cat >conftest.$ac_ext <<_ACEOF
26528 + ac_save_c_werror_flag=$ac_c_werror_flag
26529 + ac_c_werror_flag=yes
26530 + ac_cv_prog_cc_g=no
26531 + CFLAGS="-g"
26532 + cat >conftest.$ac_ext <<_ACEOF
26533 /* confdefs.h. */
26534 _ACEOF
26535 cat confdefs.h >>conftest.$ac_ext
26536 @@ -4662,311 +5219,248 @@
26537 }
26538 _ACEOF
26539 rm -f conftest.$ac_objext
26540 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26541 - (eval $ac_compile) 2>conftest.er1
26542 +if { (ac_try="$ac_compile"
26543 +case "(($ac_try" in
26544 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26545 + *) ac_try_echo=$ac_try;;
26546 +esac
26547 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26548 + (eval "$ac_compile") 2>conftest.er1
26549 ac_status=$?
26550 grep -v '^ *+' conftest.er1 >conftest.err
26551 rm -f conftest.er1
26552 cat conftest.err >&5
26553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26554 - (exit $ac_status); } &&
26555 - { ac_try='test -z "$ac_c_werror_flag"
26556 - || test ! -s conftest.err'
26557 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26558 - (eval $ac_try) 2>&5
26559 - ac_status=$?
26560 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
26561 - (exit $ac_status); }; } &&
26562 - { ac_try='test -s conftest.$ac_objext'
26563 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26564 - (eval $ac_try) 2>&5
26565 - ac_status=$?
26566 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
26567 - (exit $ac_status); }; }; then
26568 + (exit $ac_status); } && {
26569 + test -z "$ac_c_werror_flag" ||
26570 + test ! -s conftest.err
26571 + } && test -s conftest.$ac_objext; then
26572 ac_cv_prog_cc_g=yes
26573 else
26574 echo "$as_me: failed program was:" >&5
26575 sed 's/^/| /' conftest.$ac_ext >&5
26576
26577 -ac_cv_prog_cc_g=no
26578 -fi
26579 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26580 -fi
26581 -echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
26582 -echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
26583 -if test "$ac_test_CFLAGS" = set; then
26584 - CFLAGS=$ac_save_CFLAGS
26585 -elif test $ac_cv_prog_cc_g = yes; then
26586 - if test "$GCC" = yes; then
26587 - CFLAGS="-g -O2"
26588 - else
26589 - CFLAGS="-g"
26590 - fi
26591 -else
26592 - if test "$GCC" = yes; then
26593 - CFLAGS="-O2"
26594 - else
26595 - CFLAGS=
26596 - fi
26597 -fi
26598 -echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
26599 -echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
26600 -if test "${ac_cv_prog_cc_stdc+set}" = set; then
26601 - echo $ECHO_N "(cached) $ECHO_C" >&6
26602 -else
26603 - ac_cv_prog_cc_stdc=no
26604 -ac_save_CC=$CC
26605 -cat >conftest.$ac_ext <<_ACEOF
26606 + CFLAGS=""
26607 + cat >conftest.$ac_ext <<_ACEOF
26608 /* confdefs.h. */
26609 _ACEOF
26610 cat confdefs.h >>conftest.$ac_ext
26611 cat >>conftest.$ac_ext <<_ACEOF
26612 /* end confdefs.h. */
26613 -#include <stdarg.h>
26614 -#include <stdio.h>
26615 -#include <sys/types.h>
26616 -#include <sys/stat.h>
26617 -/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
26618 -struct buf { int x; };
26619 -FILE * (*rcsopen) (struct buf *, struct stat *, int);
26620 -static char *e (p, i)
26621 - char **p;
26622 - int i;
26623 -{
26624 - return p[i];
26625 -}
26626 -static char *f (char * (*g) (char **, int), char **p, ...)
26627 -{
26628 - char *s;
26629 - va_list v;
26630 - va_start (v,p);
26631 - s = g (p, va_arg (v,int));
26632 - va_end (v);
26633 - return s;
26634 -}
26635
26636 -/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
26637 - function prototypes and stuff, but not '\xHH' hex character constants.
26638 - These don't provoke an error unfortunately, instead are silently treated
26639 - as 'x'. The following induces an error, until -std1 is added to get
26640 - proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
26641 - array size at least. It's necessary to write '\x00'==0 to get something
26642 - that's true only with -std1. */
26643 -int osf4_cc_array ['\x00' == 0 ? 1 : -1];
26644 -
26645 -int test (int i, double x);
26646 -struct s1 {int (*f) (int a);};
26647 -struct s2 {int (*f) (double a);};
26648 -int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
26649 -int argc;
26650 -char **argv;
26651 int
26652 main ()
26653 {
26654 -return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
26655 +
26656 ;
26657 return 0;
26658 }
26659 _ACEOF
26660 -# Don't try gcc -ansi; that turns off useful extensions and
26661 -# breaks some systems' header files.
26662 -# AIX -qlanglvl=ansi
26663 -# Ultrix and OSF/1 -std1
26664 -# HP-UX 10.20 and later -Ae
26665 -# HP-UX older versions -Aa -D_HPUX_SOURCE
26666 -# SVR4 -Xc -D__EXTENSIONS__
26667 -for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
26668 -do
26669 - CC="$ac_save_CC $ac_arg"
26670 - rm -f conftest.$ac_objext
26671 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26672 - (eval $ac_compile) 2>conftest.er1
26673 +rm -f conftest.$ac_objext
26674 +if { (ac_try="$ac_compile"
26675 +case "(($ac_try" in
26676 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26677 + *) ac_try_echo=$ac_try;;
26678 +esac
26679 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26680 + (eval "$ac_compile") 2>conftest.er1
26681 ac_status=$?
26682 grep -v '^ *+' conftest.er1 >conftest.err
26683 rm -f conftest.er1
26684 cat conftest.err >&5
26685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26686 - (exit $ac_status); } &&
26687 - { ac_try='test -z "$ac_c_werror_flag"
26688 - || test ! -s conftest.err'
26689 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26690 - (eval $ac_try) 2>&5
26691 - ac_status=$?
26692 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
26693 - (exit $ac_status); }; } &&
26694 - { ac_try='test -s conftest.$ac_objext'
26695 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26696 - (eval $ac_try) 2>&5
26697 - ac_status=$?
26698 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
26699 - (exit $ac_status); }; }; then
26700 - ac_cv_prog_cc_stdc=$ac_arg
26701 -break
26702 + (exit $ac_status); } && {
26703 + test -z "$ac_c_werror_flag" ||
26704 + test ! -s conftest.err
26705 + } && test -s conftest.$ac_objext; then
26706 + :
26707 else
26708 echo "$as_me: failed program was:" >&5
26709 sed 's/^/| /' conftest.$ac_ext >&5
26710
26711 -fi
26712 -rm -f conftest.err conftest.$ac_objext
26713 -done
26714 -rm -f conftest.$ac_ext conftest.$ac_objext
26715 -CC=$ac_save_CC
26716 -
26717 -fi
26718 -
26719 -case "x$ac_cv_prog_cc_stdc" in
26720 - x|xno)
26721 - echo "$as_me:$LINENO: result: none needed" >&5
26722 -echo "${ECHO_T}none needed" >&6 ;;
26723 - *)
26724 - echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
26725 -echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
26726 - CC="$CC $ac_cv_prog_cc_stdc" ;;
26727 -esac
26728 -
26729 -# Some people use a C++ compiler to compile C. Since we use `exit',
26730 -# in C++ we need to declare it. In case someone uses the same compiler
26731 -# for both compiling C and C++ we need to have the C++ compiler decide
26732 -# the declaration of exit, since it's the most demanding environment.
26733 -cat >conftest.$ac_ext <<_ACEOF
26734 -#ifndef __cplusplus
26735 - choke me
26736 -#endif
26737 -_ACEOF
26738 -rm -f conftest.$ac_objext
26739 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26740 - (eval $ac_compile) 2>conftest.er1
26741 - ac_status=$?
26742 - grep -v '^ *+' conftest.er1 >conftest.err
26743 - rm -f conftest.er1
26744 - cat conftest.err >&5
26745 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
26746 - (exit $ac_status); } &&
26747 - { ac_try='test -z "$ac_c_werror_flag"
26748 - || test ! -s conftest.err'
26749 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26750 - (eval $ac_try) 2>&5
26751 - ac_status=$?
26752 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
26753 - (exit $ac_status); }; } &&
26754 - { ac_try='test -s conftest.$ac_objext'
26755 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26756 - (eval $ac_try) 2>&5
26757 - ac_status=$?
26758 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
26759 - (exit $ac_status); }; }; then
26760 - for ac_declaration in \
26761 - '' \
26762 - 'extern "C" void std::exit (int) throw (); using std::exit;' \
26763 - 'extern "C" void std::exit (int); using std::exit;' \
26764 - 'extern "C" void exit (int) throw ();' \
26765 - 'extern "C" void exit (int);' \
26766 - 'void exit (int);'
26767 -do
26768 - cat >conftest.$ac_ext <<_ACEOF
26769 + ac_c_werror_flag=$ac_save_c_werror_flag
26770 + CFLAGS="-g"
26771 + cat >conftest.$ac_ext <<_ACEOF
26772 /* confdefs.h. */
26773 _ACEOF
26774 cat confdefs.h >>conftest.$ac_ext
26775 cat >>conftest.$ac_ext <<_ACEOF
26776 /* end confdefs.h. */
26777 -$ac_declaration
26778 -#include <stdlib.h>
26779 +
26780 int
26781 main ()
26782 {
26783 -exit (42);
26784 +
26785 ;
26786 return 0;
26787 }
26788 _ACEOF
26789 rm -f conftest.$ac_objext
26790 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26791 - (eval $ac_compile) 2>conftest.er1
26792 +if { (ac_try="$ac_compile"
26793 +case "(($ac_try" in
26794 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26795 + *) ac_try_echo=$ac_try;;
26796 +esac
26797 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26798 + (eval "$ac_compile") 2>conftest.er1
26799 ac_status=$?
26800 grep -v '^ *+' conftest.er1 >conftest.err
26801 rm -f conftest.er1
26802 cat conftest.err >&5
26803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26804 - (exit $ac_status); } &&
26805 - { ac_try='test -z "$ac_c_werror_flag"
26806 - || test ! -s conftest.err'
26807 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26808 - (eval $ac_try) 2>&5
26809 - ac_status=$?
26810 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
26811 - (exit $ac_status); }; } &&
26812 - { ac_try='test -s conftest.$ac_objext'
26813 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26814 - (eval $ac_try) 2>&5
26815 - ac_status=$?
26816 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
26817 - (exit $ac_status); }; }; then
26818 - :
26819 + (exit $ac_status); } && {
26820 + test -z "$ac_c_werror_flag" ||
26821 + test ! -s conftest.err
26822 + } && test -s conftest.$ac_objext; then
26823 + ac_cv_prog_cc_g=yes
26824 else
26825 echo "$as_me: failed program was:" >&5
26826 sed 's/^/| /' conftest.$ac_ext >&5
26827
26828 -continue
26829 +
26830 fi
26831 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26832 - cat >conftest.$ac_ext <<_ACEOF
26833 +
26834 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26835 +fi
26836 +
26837 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26838 +fi
26839 +
26840 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26841 + ac_c_werror_flag=$ac_save_c_werror_flag
26842 +fi
26843 +{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
26844 +echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
26845 +if test "$ac_test_CFLAGS" = set; then
26846 + CFLAGS=$ac_save_CFLAGS
26847 +elif test $ac_cv_prog_cc_g = yes; then
26848 + if test "$GCC" = yes; then
26849 + CFLAGS="-g -O2"
26850 + else
26851 + CFLAGS="-g"
26852 + fi
26853 +else
26854 + if test "$GCC" = yes; then
26855 + CFLAGS="-O2"
26856 + else
26857 + CFLAGS=
26858 + fi
26859 +fi
26860 +{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
26861 +echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
26862 +if test "${ac_cv_prog_cc_c89+set}" = set; then
26863 + echo $ECHO_N "(cached) $ECHO_C" >&6
26864 +else
26865 + ac_cv_prog_cc_c89=no
26866 +ac_save_CC=$CC
26867 +cat >conftest.$ac_ext <<_ACEOF
26868 /* confdefs.h. */
26869 _ACEOF
26870 cat confdefs.h >>conftest.$ac_ext
26871 cat >>conftest.$ac_ext <<_ACEOF
26872 /* end confdefs.h. */
26873 -$ac_declaration
26874 +#include <stdarg.h>
26875 +#include <stdio.h>
26876 +#include <sys/types.h>
26877 +#include <sys/stat.h>
26878 +/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
26879 +struct buf { int x; };
26880 +FILE * (*rcsopen) (struct buf *, struct stat *, int);
26881 +static char *e (p, i)
26882 + char **p;
26883 + int i;
26884 +{
26885 + return p[i];
26886 +}
26887 +static char *f (char * (*g) (char **, int), char **p, ...)
26888 +{
26889 + char *s;
26890 + va_list v;
26891 + va_start (v,p);
26892 + s = g (p, va_arg (v,int));
26893 + va_end (v);
26894 + return s;
26895 +}
26896 +
26897 +/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
26898 + function prototypes and stuff, but not '\xHH' hex character constants.
26899 + These don't provoke an error unfortunately, instead are silently treated
26900 + as 'x'. The following induces an error, until -std is added to get
26901 + proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
26902 + array size at least. It's necessary to write '\x00'==0 to get something
26903 + that's true only with -std. */
26904 +int osf4_cc_array ['\x00' == 0 ? 1 : -1];
26905 +
26906 +/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
26907 + inside strings and character constants. */
26908 +#define FOO(x) 'x'
26909 +int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
26910 +
26911 +int test (int i, double x);
26912 +struct s1 {int (*f) (int a);};
26913 +struct s2 {int (*f) (double a);};
26914 +int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
26915 +int argc;
26916 +char **argv;
26917 int
26918 main ()
26919 {
26920 -exit (42);
26921 +return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
26922 ;
26923 return 0;
26924 }
26925 _ACEOF
26926 -rm -f conftest.$ac_objext
26927 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26928 - (eval $ac_compile) 2>conftest.er1
26929 +for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
26930 + -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
26931 +do
26932 + CC="$ac_save_CC $ac_arg"
26933 + rm -f conftest.$ac_objext
26934 +if { (ac_try="$ac_compile"
26935 +case "(($ac_try" in
26936 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26937 + *) ac_try_echo=$ac_try;;
26938 +esac
26939 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26940 + (eval "$ac_compile") 2>conftest.er1
26941 ac_status=$?
26942 grep -v '^ *+' conftest.er1 >conftest.err
26943 rm -f conftest.er1
26944 cat conftest.err >&5
26945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26946 - (exit $ac_status); } &&
26947 - { ac_try='test -z "$ac_c_werror_flag"
26948 - || test ! -s conftest.err'
26949 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26950 - (eval $ac_try) 2>&5
26951 - ac_status=$?
26952 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
26953 - (exit $ac_status); }; } &&
26954 - { ac_try='test -s conftest.$ac_objext'
26955 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26956 - (eval $ac_try) 2>&5
26957 - ac_status=$?
26958 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
26959 - (exit $ac_status); }; }; then
26960 - break
26961 + (exit $ac_status); } && {
26962 + test -z "$ac_c_werror_flag" ||
26963 + test ! -s conftest.err
26964 + } && test -s conftest.$ac_objext; then
26965 + ac_cv_prog_cc_c89=$ac_arg
26966 else
26967 echo "$as_me: failed program was:" >&5
26968 sed 's/^/| /' conftest.$ac_ext >&5
26969
26970 +
26971 fi
26972 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26973 +
26974 +rm -f core conftest.err conftest.$ac_objext
26975 + test "x$ac_cv_prog_cc_c89" != "xno" && break
26976 done
26977 -rm -f conftest*
26978 -if test -n "$ac_declaration"; then
26979 - echo '#ifdef __cplusplus' >>confdefs.h
26980 - echo $ac_declaration >>confdefs.h
26981 - echo '#endif' >>confdefs.h
26982 +rm -f conftest.$ac_ext
26983 +CC=$ac_save_CC
26984 +
26985 fi
26986 +# AC_CACHE_VAL
26987 +case "x$ac_cv_prog_cc_c89" in
26988 + x)
26989 + { echo "$as_me:$LINENO: result: none needed" >&5
26990 +echo "${ECHO_T}none needed" >&6; } ;;
26991 + xno)
26992 + { echo "$as_me:$LINENO: result: unsupported" >&5
26993 +echo "${ECHO_T}unsupported" >&6; } ;;
26994 + *)
26995 + CC="$CC $ac_cv_prog_cc_c89"
26996 + { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
26997 +echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
26998 +esac
26999
27000 -else
27001 - echo "$as_me: failed program was:" >&5
27002 -sed 's/^/| /' conftest.$ac_ext >&5
27003
27004 -fi
27005 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27006 ac_ext=c
27007 ac_cpp='$CPP $CPPFLAGS'
27008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27009 @@ -4984,8 +5478,8 @@
27010 do
27011 # Extract the first word of "$ac_prog", so it can be a program name with args.
27012 set dummy $ac_prog; ac_word=$2
27013 -echo "$as_me:$LINENO: checking for $ac_word" >&5
27014 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27015 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
27016 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
27017 if test "${ac_cv_prog_YACC+set}" = set; then
27018 echo $ECHO_N "(cached) $ECHO_C" >&6
27019 else
27020 @@ -4998,25 +5492,27 @@
27021 IFS=$as_save_IFS
27022 test -z "$as_dir" && as_dir=.
27023 for ac_exec_ext in '' $ac_executable_extensions; do
27024 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27025 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27026 ac_cv_prog_YACC="$ac_prog"
27027 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27028 break 2
27029 fi
27030 done
27031 done
27032 +IFS=$as_save_IFS
27033
27034 fi
27035 fi
27036 YACC=$ac_cv_prog_YACC
27037 if test -n "$YACC"; then
27038 - echo "$as_me:$LINENO: result: $YACC" >&5
27039 -echo "${ECHO_T}$YACC" >&6
27040 + { echo "$as_me:$LINENO: result: $YACC" >&5
27041 +echo "${ECHO_T}$YACC" >&6; }
27042 else
27043 - echo "$as_me:$LINENO: result: no" >&5
27044 -echo "${ECHO_T}no" >&6
27045 + { echo "$as_me:$LINENO: result: no" >&5
27046 +echo "${ECHO_T}no" >&6; }
27047 fi
27048
27049 +
27050 test -n "$YACC" && break
27051 done
27052 test -n "$YACC" || YACC="yacc"
27053 @@ -5025,8 +5521,8 @@
27054 do
27055 # Extract the first word of "$ac_prog", so it can be a program name with args.
27056 set dummy $ac_prog; ac_word=$2
27057 -echo "$as_me:$LINENO: checking for $ac_word" >&5
27058 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27059 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
27060 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
27061 if test "${ac_cv_prog_LEX+set}" = set; then
27062 echo $ECHO_N "(cached) $ECHO_C" >&6
27063 else
27064 @@ -5039,253 +5535,182 @@
27065 IFS=$as_save_IFS
27066 test -z "$as_dir" && as_dir=.
27067 for ac_exec_ext in '' $ac_executable_extensions; do
27068 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27069 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27070 ac_cv_prog_LEX="$ac_prog"
27071 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27072 break 2
27073 fi
27074 done
27075 done
27076 +IFS=$as_save_IFS
27077
27078 fi
27079 fi
27080 LEX=$ac_cv_prog_LEX
27081 if test -n "$LEX"; then
27082 - echo "$as_me:$LINENO: result: $LEX" >&5
27083 -echo "${ECHO_T}$LEX" >&6
27084 + { echo "$as_me:$LINENO: result: $LEX" >&5
27085 +echo "${ECHO_T}$LEX" >&6; }
27086 else
27087 - echo "$as_me:$LINENO: result: no" >&5
27088 -echo "${ECHO_T}no" >&6
27089 + { echo "$as_me:$LINENO: result: no" >&5
27090 +echo "${ECHO_T}no" >&6; }
27091 fi
27092
27093 +
27094 test -n "$LEX" && break
27095 done
27096 test -n "$LEX" || LEX=":"
27097
27098 -if test -z "$LEXLIB"
27099 -then
27100 - echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
27101 -echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
27102 -if test "${ac_cv_lib_fl_yywrap+set}" = set; then
27103 - echo $ECHO_N "(cached) $ECHO_C" >&6
27104 -else
27105 - ac_check_lib_save_LIBS=$LIBS
27106 -LIBS="-lfl $LIBS"
27107 -cat >conftest.$ac_ext <<_ACEOF
27108 -/* confdefs.h. */
27109 -_ACEOF
27110 -cat confdefs.h >>conftest.$ac_ext
27111 -cat >>conftest.$ac_ext <<_ACEOF
27112 -/* end confdefs.h. */
27113 -
27114 -/* Override any gcc2 internal prototype to avoid an error. */
27115 -#ifdef __cplusplus
27116 -extern "C"
27117 +if test "x$LEX" != "x:"; then
27118 + cat >conftest.l <<_ACEOF
27119 +%%
27120 +a { ECHO; }
27121 +b { REJECT; }
27122 +c { yymore (); }
27123 +d { yyless (1); }
27124 +e { yyless (input () != 0); }
27125 +f { unput (yytext[0]); }
27126 +. { BEGIN INITIAL; }
27127 +%%
27128 +#ifdef YYTEXT_POINTER
27129 +extern char *yytext;
27130 #endif
27131 -/* We use char because int might match the return type of a gcc2
27132 - builtin and then its argument prototype would still apply. */
27133 -char yywrap ();
27134 int
27135 -main ()
27136 +main (void)
27137 {
27138 -yywrap ();
27139 - ;
27140 - return 0;
27141 + return ! yylex () + ! yywrap ();
27142 }
27143 _ACEOF
27144 -rm -f conftest.$ac_objext conftest$ac_exeext
27145 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27146 - (eval $ac_link) 2>conftest.er1
27147 - ac_status=$?
27148 - grep -v '^ *+' conftest.er1 >conftest.err
27149 - rm -f conftest.er1
27150 - cat conftest.err >&5
27151 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
27152 - (exit $ac_status); } &&
27153 - { ac_try='test -z "$ac_c_werror_flag"
27154 - || test ! -s conftest.err'
27155 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27156 - (eval $ac_try) 2>&5
27157 - ac_status=$?
27158 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
27159 - (exit $ac_status); }; } &&
27160 - { ac_try='test -s conftest$ac_exeext'
27161 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27162 - (eval $ac_try) 2>&5
27163 +{ (ac_try="$LEX conftest.l"
27164 +case "(($ac_try" in
27165 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27166 + *) ac_try_echo=$ac_try;;
27167 +esac
27168 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27169 + (eval "$LEX conftest.l") 2>&5
27170 ac_status=$?
27171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27172 - (exit $ac_status); }; }; then
27173 - ac_cv_lib_fl_yywrap=yes
27174 + (exit $ac_status); }
27175 +{ echo "$as_me:$LINENO: checking lex output file root" >&5
27176 +echo $ECHO_N "checking lex output file root... $ECHO_C" >&6; }
27177 +if test "${ac_cv_prog_lex_root+set}" = set; then
27178 + echo $ECHO_N "(cached) $ECHO_C" >&6
27179 else
27180 - echo "$as_me: failed program was:" >&5
27181 -sed 's/^/| /' conftest.$ac_ext >&5
27182
27183 -ac_cv_lib_fl_yywrap=no
27184 +if test -f lex.yy.c; then
27185 + ac_cv_prog_lex_root=lex.yy
27186 +elif test -f lexyy.c; then
27187 + ac_cv_prog_lex_root=lexyy
27188 +else
27189 + { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
27190 +echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
27191 + { (exit 1); exit 1; }; }
27192 fi
27193 -rm -f conftest.err conftest.$ac_objext \
27194 - conftest$ac_exeext conftest.$ac_ext
27195 -LIBS=$ac_check_lib_save_LIBS
27196 fi
27197 -echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
27198 -echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
27199 -if test $ac_cv_lib_fl_yywrap = yes; then
27200 - LEXLIB="-lfl"
27201 -else
27202 - echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
27203 -echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
27204 -if test "${ac_cv_lib_l_yywrap+set}" = set; then
27205 +{ echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
27206 +echo "${ECHO_T}$ac_cv_prog_lex_root" >&6; }
27207 +LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
27208 +
27209 +if test -z "${LEXLIB+set}"; then
27210 + { echo "$as_me:$LINENO: checking lex library" >&5
27211 +echo $ECHO_N "checking lex library... $ECHO_C" >&6; }
27212 +if test "${ac_cv_lib_lex+set}" = set; then
27213 echo $ECHO_N "(cached) $ECHO_C" >&6
27214 else
27215 - ac_check_lib_save_LIBS=$LIBS
27216 -LIBS="-ll $LIBS"
27217 -cat >conftest.$ac_ext <<_ACEOF
27218 -/* confdefs.h. */
27219 -_ACEOF
27220 -cat confdefs.h >>conftest.$ac_ext
27221 -cat >>conftest.$ac_ext <<_ACEOF
27222 -/* end confdefs.h. */
27223
27224 -/* Override any gcc2 internal prototype to avoid an error. */
27225 -#ifdef __cplusplus
27226 -extern "C"
27227 -#endif
27228 -/* We use char because int might match the return type of a gcc2
27229 - builtin and then its argument prototype would still apply. */
27230 -char yywrap ();
27231 -int
27232 -main ()
27233 -{
27234 -yywrap ();
27235 - ;
27236 - return 0;
27237 -}
27238 + ac_save_LIBS=$LIBS
27239 + ac_cv_lib_lex='none needed'
27240 + for ac_lib in '' -lfl -ll; do
27241 + LIBS="$ac_lib $ac_save_LIBS"
27242 + cat >conftest.$ac_ext <<_ACEOF
27243 +`cat $LEX_OUTPUT_ROOT.c`
27244 _ACEOF
27245 rm -f conftest.$ac_objext conftest$ac_exeext
27246 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27247 - (eval $ac_link) 2>conftest.er1
27248 +if { (ac_try="$ac_link"
27249 +case "(($ac_try" in
27250 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27251 + *) ac_try_echo=$ac_try;;
27252 +esac
27253 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27254 + (eval "$ac_link") 2>conftest.er1
27255 ac_status=$?
27256 grep -v '^ *+' conftest.er1 >conftest.err
27257 rm -f conftest.er1
27258 cat conftest.err >&5
27259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27260 - (exit $ac_status); } &&
27261 - { ac_try='test -z "$ac_c_werror_flag"
27262 - || test ! -s conftest.err'
27263 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27264 - (eval $ac_try) 2>&5
27265 - ac_status=$?
27266 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
27267 - (exit $ac_status); }; } &&
27268 - { ac_try='test -s conftest$ac_exeext'
27269 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27270 - (eval $ac_try) 2>&5
27271 - ac_status=$?
27272 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
27273 - (exit $ac_status); }; }; then
27274 - ac_cv_lib_l_yywrap=yes
27275 + (exit $ac_status); } && {
27276 + test -z "$ac_c_werror_flag" ||
27277 + test ! -s conftest.err
27278 + } && test -s conftest$ac_exeext &&
27279 + $as_test_x conftest$ac_exeext; then
27280 + ac_cv_lib_lex=$ac_lib
27281 else
27282 echo "$as_me: failed program was:" >&5
27283 sed 's/^/| /' conftest.$ac_ext >&5
27284
27285 -ac_cv_lib_l_yywrap=no
27286 -fi
27287 -rm -f conftest.err conftest.$ac_objext \
27288 - conftest$ac_exeext conftest.$ac_ext
27289 -LIBS=$ac_check_lib_save_LIBS
27290 -fi
27291 -echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
27292 -echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
27293 -if test $ac_cv_lib_l_yywrap = yes; then
27294 - LEXLIB="-ll"
27295 -fi
27296 -
27297 -fi
27298 -
27299 -fi
27300
27301 -if test "x$LEX" != "x:"; then
27302 - echo "$as_me:$LINENO: checking lex output file root" >&5
27303 -echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
27304 -if test "${ac_cv_prog_lex_root+set}" = set; then
27305 - echo $ECHO_N "(cached) $ECHO_C" >&6
27306 -else
27307 - # The minimal lex program is just a single line: %%. But some broken lexes
27308 -# (Solaris, I think it was) want two %% lines, so accommodate them.
27309 -cat >conftest.l <<_ACEOF
27310 -%%
27311 -%%
27312 -_ACEOF
27313 -{ (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
27314 - (eval $LEX conftest.l) 2>&5
27315 - ac_status=$?
27316 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
27317 - (exit $ac_status); }
27318 -if test -f lex.yy.c; then
27319 - ac_cv_prog_lex_root=lex.yy
27320 -elif test -f lexyy.c; then
27321 - ac_cv_prog_lex_root=lexyy
27322 -else
27323 - { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
27324 -echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
27325 - { (exit 1); exit 1; }; }
27326 fi
27327 +
27328 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27329 + conftest$ac_exeext conftest.$ac_ext
27330 + test "$ac_cv_lib_lex" != 'none needed' && break
27331 + done
27332 + LIBS=$ac_save_LIBS
27333 +
27334 +fi
27335 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_lex" >&5
27336 +echo "${ECHO_T}$ac_cv_lib_lex" >&6; }
27337 + test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex
27338 fi
27339 -echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
27340 -echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
27341 -rm -f conftest.l
27342 -LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
27343
27344 -echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
27345 -echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
27346 +
27347 +{ echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
27348 +echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6; }
27349 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
27350 echo $ECHO_N "(cached) $ECHO_C" >&6
27351 else
27352 # POSIX says lex can declare yytext either as a pointer or an array; the
27353 -# default is implementation-dependent. Figure out which it is, since
27354 +# default is implementation-dependent. Figure out which it is, since
27355 # not all implementations provide the %pointer and %array declarations.
27356 ac_cv_prog_lex_yytext_pointer=no
27357 -echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
27358 ac_save_LIBS=$LIBS
27359 -LIBS="$LIBS $LEXLIB"
27360 +LIBS="$LEXLIB $ac_save_LIBS"
27361 cat >conftest.$ac_ext <<_ACEOF
27362 +#define YYTEXT_POINTER 1
27363 `cat $LEX_OUTPUT_ROOT.c`
27364 _ACEOF
27365 rm -f conftest.$ac_objext conftest$ac_exeext
27366 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27367 - (eval $ac_link) 2>conftest.er1
27368 +if { (ac_try="$ac_link"
27369 +case "(($ac_try" in
27370 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27371 + *) ac_try_echo=$ac_try;;
27372 +esac
27373 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27374 + (eval "$ac_link") 2>conftest.er1
27375 ac_status=$?
27376 grep -v '^ *+' conftest.er1 >conftest.err
27377 rm -f conftest.er1
27378 cat conftest.err >&5
27379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27380 - (exit $ac_status); } &&
27381 - { ac_try='test -z "$ac_c_werror_flag"
27382 - || test ! -s conftest.err'
27383 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27384 - (eval $ac_try) 2>&5
27385 - ac_status=$?
27386 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
27387 - (exit $ac_status); }; } &&
27388 - { ac_try='test -s conftest$ac_exeext'
27389 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27390 - (eval $ac_try) 2>&5
27391 - ac_status=$?
27392 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
27393 - (exit $ac_status); }; }; then
27394 + (exit $ac_status); } && {
27395 + test -z "$ac_c_werror_flag" ||
27396 + test ! -s conftest.err
27397 + } && test -s conftest$ac_exeext &&
27398 + $as_test_x conftest$ac_exeext; then
27399 ac_cv_prog_lex_yytext_pointer=yes
27400 else
27401 echo "$as_me: failed program was:" >&5
27402 sed 's/^/| /' conftest.$ac_ext >&5
27403
27404 +
27405 fi
27406 -rm -f conftest.err conftest.$ac_objext \
27407 +
27408 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27409 conftest$ac_exeext conftest.$ac_ext
27410 LIBS=$ac_save_LIBS
27411 -rm -f "${LEX_OUTPUT_ROOT}.c"
27412
27413 fi
27414 -echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
27415 -echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
27416 +{ echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
27417 +echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6; }
27418 if test $ac_cv_prog_lex_yytext_pointer = yes; then
27419
27420 cat >>confdefs.h <<\_ACEOF
27421 @@ -5293,6 +5718,7 @@
27422 _ACEOF
27423
27424 fi
27425 +rm -f conftest.l $LEX_OUTPUT_ROOT.c
27426
27427 fi
27428 if test "$LEX" = :; then
27429 @@ -5303,8 +5729,8 @@
27430 if test -n "$ac_tool_prefix"; then
27431 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
27432 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
27433 -echo "$as_me:$LINENO: checking for $ac_word" >&5
27434 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27435 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
27436 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
27437 if test "${ac_cv_prog_RANLIB+set}" = set; then
27438 echo $ECHO_N "(cached) $ECHO_C" >&6
27439 else
27440 @@ -5317,32 +5743,34 @@
27441 IFS=$as_save_IFS
27442 test -z "$as_dir" && as_dir=.
27443 for ac_exec_ext in '' $ac_executable_extensions; do
27444 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27445 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27446 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
27447 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27448 break 2
27449 fi
27450 done
27451 done
27452 +IFS=$as_save_IFS
27453
27454 fi
27455 fi
27456 RANLIB=$ac_cv_prog_RANLIB
27457 if test -n "$RANLIB"; then
27458 - echo "$as_me:$LINENO: result: $RANLIB" >&5
27459 -echo "${ECHO_T}$RANLIB" >&6
27460 + { echo "$as_me:$LINENO: result: $RANLIB" >&5
27461 +echo "${ECHO_T}$RANLIB" >&6; }
27462 else
27463 - echo "$as_me:$LINENO: result: no" >&5
27464 -echo "${ECHO_T}no" >&6
27465 + { echo "$as_me:$LINENO: result: no" >&5
27466 +echo "${ECHO_T}no" >&6; }
27467 fi
27468
27469 +
27470 fi
27471 if test -z "$ac_cv_prog_RANLIB"; then
27472 ac_ct_RANLIB=$RANLIB
27473 # Extract the first word of "ranlib", so it can be a program name with args.
27474 set dummy ranlib; ac_word=$2
27475 -echo "$as_me:$LINENO: checking for $ac_word" >&5
27476 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27477 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
27478 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
27479 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
27480 echo $ECHO_N "(cached) $ECHO_C" >&6
27481 else
27482 @@ -5355,27 +5783,41 @@
27483 IFS=$as_save_IFS
27484 test -z "$as_dir" && as_dir=.
27485 for ac_exec_ext in '' $ac_executable_extensions; do
27486 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27487 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27488 ac_cv_prog_ac_ct_RANLIB="ranlib"
27489 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27490 break 2
27491 fi
27492 done
27493 done
27494 +IFS=$as_save_IFS
27495
27496 - test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
27497 fi
27498 fi
27499 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
27500 if test -n "$ac_ct_RANLIB"; then
27501 - echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
27502 -echo "${ECHO_T}$ac_ct_RANLIB" >&6
27503 + { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
27504 +echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
27505 else
27506 - echo "$as_me:$LINENO: result: no" >&5
27507 -echo "${ECHO_T}no" >&6
27508 + { echo "$as_me:$LINENO: result: no" >&5
27509 +echo "${ECHO_T}no" >&6; }
27510 fi
27511
27512 - RANLIB=$ac_ct_RANLIB
27513 + if test "x$ac_ct_RANLIB" = x; then
27514 + RANLIB=":"
27515 + else
27516 + case $cross_compiling:$ac_tool_warned in
27517 +yes:)
27518 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
27519 +whose name does not start with the host triplet. If you think this
27520 +configuration is useful to you, please write to autoconf@gnu.org." >&5
27521 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
27522 +whose name does not start with the host triplet. If you think this
27523 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
27524 +ac_tool_warned=yes ;;
27525 +esac
27526 + RANLIB=$ac_ct_RANLIB
27527 + fi
27528 else
27529 RANLIB="$ac_cv_prog_RANLIB"
27530 fi
27531 @@ -5385,8 +5827,8 @@
27532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27535 -echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
27536 -echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
27537 +{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
27538 +echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
27539 # On Suns, sometimes $CPP names a directory.
27540 if test -n "$CPP" && test -d "$CPP"; then
27541 CPP=
27542 @@ -5420,24 +5862,22 @@
27543 #endif
27544 Syntax error
27545 _ACEOF
27546 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27547 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27548 +if { (ac_try="$ac_cpp conftest.$ac_ext"
27549 +case "(($ac_try" in
27550 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27551 + *) ac_try_echo=$ac_try;;
27552 +esac
27553 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27554 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
27555 ac_status=$?
27556 grep -v '^ *+' conftest.er1 >conftest.err
27557 rm -f conftest.er1
27558 cat conftest.err >&5
27559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27560 - (exit $ac_status); } >/dev/null; then
27561 - if test -s conftest.err; then
27562 - ac_cpp_err=$ac_c_preproc_warn_flag
27563 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
27564 - else
27565 - ac_cpp_err=
27566 - fi
27567 -else
27568 - ac_cpp_err=yes
27569 -fi
27570 -if test -z "$ac_cpp_err"; then
27571 + (exit $ac_status); } >/dev/null && {
27572 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
27573 + test ! -s conftest.err
27574 + }; then
27575 :
27576 else
27577 echo "$as_me: failed program was:" >&5
27578 @@ -5446,9 +5886,10 @@
27579 # Broken: fails on valid input.
27580 continue
27581 fi
27582 +
27583 rm -f conftest.err conftest.$ac_ext
27584
27585 - # OK, works on sane cases. Now check whether non-existent headers
27586 + # OK, works on sane cases. Now check whether nonexistent headers
27587 # can be detected and how.
27588 cat >conftest.$ac_ext <<_ACEOF
27589 /* confdefs.h. */
27590 @@ -5458,24 +5899,22 @@
27591 /* end confdefs.h. */
27592 #include <ac_nonexistent.h>
27593 _ACEOF
27594 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27595 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27596 +if { (ac_try="$ac_cpp conftest.$ac_ext"
27597 +case "(($ac_try" in
27598 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27599 + *) ac_try_echo=$ac_try;;
27600 +esac
27601 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27602 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
27603 ac_status=$?
27604 grep -v '^ *+' conftest.er1 >conftest.err
27605 rm -f conftest.er1
27606 cat conftest.err >&5
27607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27608 - (exit $ac_status); } >/dev/null; then
27609 - if test -s conftest.err; then
27610 - ac_cpp_err=$ac_c_preproc_warn_flag
27611 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
27612 - else
27613 - ac_cpp_err=
27614 - fi
27615 -else
27616 - ac_cpp_err=yes
27617 -fi
27618 -if test -z "$ac_cpp_err"; then
27619 + (exit $ac_status); } >/dev/null && {
27620 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
27621 + test ! -s conftest.err
27622 + }; then
27623 # Broken: success on invalid input.
27624 continue
27625 else
27626 @@ -5486,6 +5925,7 @@
27627 ac_preproc_ok=:
27628 break
27629 fi
27630 +
27631 rm -f conftest.err conftest.$ac_ext
27632
27633 done
27634 @@ -5503,8 +5943,8 @@
27635 else
27636 ac_cv_prog_CPP=$CPP
27637 fi
27638 -echo "$as_me:$LINENO: result: $CPP" >&5
27639 -echo "${ECHO_T}$CPP" >&6
27640 +{ echo "$as_me:$LINENO: result: $CPP" >&5
27641 +echo "${ECHO_T}$CPP" >&6; }
27642 ac_preproc_ok=false
27643 for ac_c_preproc_warn_flag in '' yes
27644 do
27645 @@ -5527,24 +5967,22 @@
27646 #endif
27647 Syntax error
27648 _ACEOF
27649 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27650 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27651 +if { (ac_try="$ac_cpp conftest.$ac_ext"
27652 +case "(($ac_try" in
27653 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27654 + *) ac_try_echo=$ac_try;;
27655 +esac
27656 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27657 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
27658 ac_status=$?
27659 grep -v '^ *+' conftest.er1 >conftest.err
27660 rm -f conftest.er1
27661 cat conftest.err >&5
27662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27663 - (exit $ac_status); } >/dev/null; then
27664 - if test -s conftest.err; then
27665 - ac_cpp_err=$ac_c_preproc_warn_flag
27666 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
27667 - else
27668 - ac_cpp_err=
27669 - fi
27670 -else
27671 - ac_cpp_err=yes
27672 -fi
27673 -if test -z "$ac_cpp_err"; then
27674 + (exit $ac_status); } >/dev/null && {
27675 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
27676 + test ! -s conftest.err
27677 + }; then
27678 :
27679 else
27680 echo "$as_me: failed program was:" >&5
27681 @@ -5553,9 +5991,10 @@
27682 # Broken: fails on valid input.
27683 continue
27684 fi
27685 +
27686 rm -f conftest.err conftest.$ac_ext
27687
27688 - # OK, works on sane cases. Now check whether non-existent headers
27689 + # OK, works on sane cases. Now check whether nonexistent headers
27690 # can be detected and how.
27691 cat >conftest.$ac_ext <<_ACEOF
27692 /* confdefs.h. */
27693 @@ -5565,24 +6004,22 @@
27694 /* end confdefs.h. */
27695 #include <ac_nonexistent.h>
27696 _ACEOF
27697 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27698 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27699 +if { (ac_try="$ac_cpp conftest.$ac_ext"
27700 +case "(($ac_try" in
27701 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27702 + *) ac_try_echo=$ac_try;;
27703 +esac
27704 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27705 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
27706 ac_status=$?
27707 grep -v '^ *+' conftest.er1 >conftest.err
27708 rm -f conftest.er1
27709 cat conftest.err >&5
27710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27711 - (exit $ac_status); } >/dev/null; then
27712 - if test -s conftest.err; then
27713 - ac_cpp_err=$ac_c_preproc_warn_flag
27714 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
27715 - else
27716 - ac_cpp_err=
27717 - fi
27718 -else
27719 - ac_cpp_err=yes
27720 -fi
27721 -if test -z "$ac_cpp_err"; then
27722 + (exit $ac_status); } >/dev/null && {
27723 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
27724 + test ! -s conftest.err
27725 + }; then
27726 # Broken: success on invalid input.
27727 continue
27728 else
27729 @@ -5593,6 +6030,7 @@
27730 ac_preproc_ok=:
27731 break
27732 fi
27733 +
27734 rm -f conftest.err conftest.$ac_ext
27735
27736 done
27737 @@ -5615,23 +6053,170 @@
27738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27739
27740
27741 -echo "$as_me:$LINENO: checking for egrep" >&5
27742 -echo $ECHO_N "checking for egrep... $ECHO_C" >&6
27743 -if test "${ac_cv_prog_egrep+set}" = set; then
27744 +{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
27745 +echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
27746 +if test "${ac_cv_path_GREP+set}" = set; then
27747 + echo $ECHO_N "(cached) $ECHO_C" >&6
27748 +else
27749 + # Extract the first word of "grep ggrep" to use in msg output
27750 +if test -z "$GREP"; then
27751 +set dummy grep ggrep; ac_prog_name=$2
27752 +if test "${ac_cv_path_GREP+set}" = set; then
27753 + echo $ECHO_N "(cached) $ECHO_C" >&6
27754 +else
27755 + ac_path_GREP_found=false
27756 +# Loop through the user's path and test for each of PROGNAME-LIST
27757 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27758 +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
27759 +do
27760 + IFS=$as_save_IFS
27761 + test -z "$as_dir" && as_dir=.
27762 + for ac_prog in grep ggrep; do
27763 + for ac_exec_ext in '' $ac_executable_extensions; do
27764 + ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
27765 + { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
27766 + # Check for GNU ac_path_GREP and select it if it is found.
27767 + # Check for GNU $ac_path_GREP
27768 +case `"$ac_path_GREP" --version 2>&1` in
27769 +*GNU*)
27770 + ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
27771 +*)
27772 + ac_count=0
27773 + echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
27774 + while :
27775 + do
27776 + cat "conftest.in" "conftest.in" >"conftest.tmp"
27777 + mv "conftest.tmp" "conftest.in"
27778 + cp "conftest.in" "conftest.nl"
27779 + echo 'GREP' >> "conftest.nl"
27780 + "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
27781 + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
27782 + ac_count=`expr $ac_count + 1`
27783 + if test $ac_count -gt ${ac_path_GREP_max-0}; then
27784 + # Best one so far, save it but keep looking for a better one
27785 + ac_cv_path_GREP="$ac_path_GREP"
27786 + ac_path_GREP_max=$ac_count
27787 + fi
27788 + # 10*(2^10) chars as input seems more than enough
27789 + test $ac_count -gt 10 && break
27790 + done
27791 + rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
27792 +esac
27793 +
27794 +
27795 + $ac_path_GREP_found && break 3
27796 + done
27797 +done
27798 +
27799 +done
27800 +IFS=$as_save_IFS
27801 +
27802 +
27803 +fi
27804 +
27805 +GREP="$ac_cv_path_GREP"
27806 +if test -z "$GREP"; then
27807 + { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
27808 +echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
27809 + { (exit 1); exit 1; }; }
27810 +fi
27811 +
27812 +else
27813 + ac_cv_path_GREP=$GREP
27814 +fi
27815 +
27816 +
27817 +fi
27818 +{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
27819 +echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
27820 + GREP="$ac_cv_path_GREP"
27821 +
27822 +
27823 +{ echo "$as_me:$LINENO: checking for egrep" >&5
27824 +echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
27825 +if test "${ac_cv_path_EGREP+set}" = set; then
27826 + echo $ECHO_N "(cached) $ECHO_C" >&6
27827 +else
27828 + if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
27829 + then ac_cv_path_EGREP="$GREP -E"
27830 + else
27831 + # Extract the first word of "egrep" to use in msg output
27832 +if test -z "$EGREP"; then
27833 +set dummy egrep; ac_prog_name=$2
27834 +if test "${ac_cv_path_EGREP+set}" = set; then
27835 echo $ECHO_N "(cached) $ECHO_C" >&6
27836 else
27837 - if echo a | (grep -E '(a|b)') >/dev/null 2>&1
27838 - then ac_cv_prog_egrep='grep -E'
27839 - else ac_cv_prog_egrep='egrep'
27840 + ac_path_EGREP_found=false
27841 +# Loop through the user's path and test for each of PROGNAME-LIST
27842 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27843 +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
27844 +do
27845 + IFS=$as_save_IFS
27846 + test -z "$as_dir" && as_dir=.
27847 + for ac_prog in egrep; do
27848 + for ac_exec_ext in '' $ac_executable_extensions; do
27849 + ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
27850 + { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
27851 + # Check for GNU ac_path_EGREP and select it if it is found.
27852 + # Check for GNU $ac_path_EGREP
27853 +case `"$ac_path_EGREP" --version 2>&1` in
27854 +*GNU*)
27855 + ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
27856 +*)
27857 + ac_count=0
27858 + echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
27859 + while :
27860 + do
27861 + cat "conftest.in" "conftest.in" >"conftest.tmp"
27862 + mv "conftest.tmp" "conftest.in"
27863 + cp "conftest.in" "conftest.nl"
27864 + echo 'EGREP' >> "conftest.nl"
27865 + "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
27866 + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
27867 + ac_count=`expr $ac_count + 1`
27868 + if test $ac_count -gt ${ac_path_EGREP_max-0}; then
27869 + # Best one so far, save it but keep looking for a better one
27870 + ac_cv_path_EGREP="$ac_path_EGREP"
27871 + ac_path_EGREP_max=$ac_count
27872 fi
27873 + # 10*(2^10) chars as input seems more than enough
27874 + test $ac_count -gt 10 && break
27875 + done
27876 + rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
27877 +esac
27878 +
27879 +
27880 + $ac_path_EGREP_found && break 3
27881 + done
27882 +done
27883 +
27884 +done
27885 +IFS=$as_save_IFS
27886 +
27887 +
27888 +fi
27889 +
27890 +EGREP="$ac_cv_path_EGREP"
27891 +if test -z "$EGREP"; then
27892 + { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
27893 +echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
27894 + { (exit 1); exit 1; }; }
27895 +fi
27896 +
27897 +else
27898 + ac_cv_path_EGREP=$EGREP
27899 +fi
27900 +
27901 +
27902 + fi
27903 fi
27904 -echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
27905 -echo "${ECHO_T}$ac_cv_prog_egrep" >&6
27906 - EGREP=$ac_cv_prog_egrep
27907 +{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
27908 +echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
27909 + EGREP="$ac_cv_path_EGREP"
27910
27911
27912 -echo "$as_me:$LINENO: checking for ANSI C header files" >&5
27913 -echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
27914 +{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
27915 +echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
27916 if test "${ac_cv_header_stdc+set}" = set; then
27917 echo $ECHO_N "(cached) $ECHO_C" >&6
27918 else
27919 @@ -5655,35 +6240,31 @@
27920 }
27921 _ACEOF
27922 rm -f conftest.$ac_objext
27923 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27924 - (eval $ac_compile) 2>conftest.er1
27925 +if { (ac_try="$ac_compile"
27926 +case "(($ac_try" in
27927 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27928 + *) ac_try_echo=$ac_try;;
27929 +esac
27930 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27931 + (eval "$ac_compile") 2>conftest.er1
27932 ac_status=$?
27933 grep -v '^ *+' conftest.er1 >conftest.err
27934 rm -f conftest.er1
27935 cat conftest.err >&5
27936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27937 - (exit $ac_status); } &&
27938 - { ac_try='test -z "$ac_c_werror_flag"
27939 - || test ! -s conftest.err'
27940 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27941 - (eval $ac_try) 2>&5
27942 - ac_status=$?
27943 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
27944 - (exit $ac_status); }; } &&
27945 - { ac_try='test -s conftest.$ac_objext'
27946 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27947 - (eval $ac_try) 2>&5
27948 - ac_status=$?
27949 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
27950 - (exit $ac_status); }; }; then
27951 + (exit $ac_status); } && {
27952 + test -z "$ac_c_werror_flag" ||
27953 + test ! -s conftest.err
27954 + } && test -s conftest.$ac_objext; then
27955 ac_cv_header_stdc=yes
27956 else
27957 echo "$as_me: failed program was:" >&5
27958 sed 's/^/| /' conftest.$ac_ext >&5
27959
27960 -ac_cv_header_stdc=no
27961 + ac_cv_header_stdc=no
27962 fi
27963 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27964 +
27965 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27966
27967 if test $ac_cv_header_stdc = yes; then
27968 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
27969 @@ -5739,6 +6320,7 @@
27970 cat >>conftest.$ac_ext <<_ACEOF
27971 /* end confdefs.h. */
27972 #include <ctype.h>
27973 +#include <stdlib.h>
27974 #if ((' ' & 0x0FF) == 0x020)
27975 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
27976 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
27977 @@ -5758,18 +6340,27 @@
27978 for (i = 0; i < 256; i++)
27979 if (XOR (islower (i), ISLOWER (i))
27980 || toupper (i) != TOUPPER (i))
27981 - exit(2);
27982 - exit (0);
27983 + return 2;
27984 + return 0;
27985 }
27986 _ACEOF
27987 rm -f conftest$ac_exeext
27988 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27989 - (eval $ac_link) 2>&5
27990 +if { (ac_try="$ac_link"
27991 +case "(($ac_try" in
27992 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27993 + *) ac_try_echo=$ac_try;;
27994 +esac
27995 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27996 + (eval "$ac_link") 2>&5
27997 ac_status=$?
27998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27999 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28000 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28001 - (eval $ac_try) 2>&5
28002 + { (case "(($ac_try" in
28003 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28004 + *) ac_try_echo=$ac_try;;
28005 +esac
28006 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28007 + (eval "$ac_try") 2>&5
28008 ac_status=$?
28009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28010 (exit $ac_status); }; }; then
28011 @@ -5782,12 +6373,14 @@
28012 ( exit $ac_status )
28013 ac_cv_header_stdc=no
28014 fi
28015 -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28016 +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28017 fi
28018 +
28019 +
28020 fi
28021 fi
28022 -echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
28023 -echo "${ECHO_T}$ac_cv_header_stdc" >&6
28024 +{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
28025 +echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
28026 if test $ac_cv_header_stdc = yes; then
28027
28028 cat >>confdefs.h <<\_ACEOF
28029 @@ -5796,8 +6389,8 @@
28030
28031 fi
28032
28033 -echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
28034 -echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
28035 +{ echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
28036 +echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
28037 if test "${ac_cv_c_const+set}" = set; then
28038 echo $ECHO_N "(cached) $ECHO_C" >&6
28039 else
28040 @@ -5815,10 +6408,10 @@
28041 #ifndef __cplusplus
28042 /* Ultrix mips cc rejects this. */
28043 typedef int charset[2];
28044 - const charset x;
28045 + const charset cs;
28046 /* SunOS 4.1.1 cc rejects this. */
28047 - char const *const *ccp;
28048 - char **p;
28049 + char const *const *pcpcc;
28050 + char **ppc;
28051 /* NEC SVR4.0.2 mips cc rejects this. */
28052 struct point {int x, y;};
28053 static struct point const zero = {0,0};
28054 @@ -5827,16 +6420,17 @@
28055 an arm of an if-expression whose if-part is not a constant
28056 expression */
28057 const char *g = "string";
28058 - ccp = &g + (g ? g-g : 0);
28059 + pcpcc = &g + (g ? g-g : 0);
28060 /* HPUX 7.0 cc rejects these. */
28061 - ++ccp;
28062 - p = (char**) ccp;
28063 - ccp = (char const *const *) p;
28064 + ++pcpcc;
28065 + ppc = (char**) pcpcc;
28066 + pcpcc = (char const *const *) ppc;
28067 { /* SCO 3.2v4 cc rejects this. */
28068 char *t;
28069 char const *s = 0 ? (char *) 0 : (char const *) 0;
28070
28071 *t++ = 0;
28072 + if (s) return 0;
28073 }
28074 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
28075 int x[] = {25, 17};
28076 @@ -5855,7 +6449,9 @@
28077 }
28078 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
28079 const int foo = 10;
28080 + if (!foo) return 0;
28081 }
28082 + return !cs[0] && !zero.x;
28083 #endif
28084
28085 ;
28086 @@ -5863,38 +6459,34 @@
28087 }
28088 _ACEOF
28089 rm -f conftest.$ac_objext
28090 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28091 - (eval $ac_compile) 2>conftest.er1
28092 +if { (ac_try="$ac_compile"
28093 +case "(($ac_try" in
28094 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28095 + *) ac_try_echo=$ac_try;;
28096 +esac
28097 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28098 + (eval "$ac_compile") 2>conftest.er1
28099 ac_status=$?
28100 grep -v '^ *+' conftest.er1 >conftest.err
28101 rm -f conftest.er1
28102 cat conftest.err >&5
28103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28104 - (exit $ac_status); } &&
28105 - { ac_try='test -z "$ac_c_werror_flag"
28106 - || test ! -s conftest.err'
28107 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28108 - (eval $ac_try) 2>&5
28109 - ac_status=$?
28110 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28111 - (exit $ac_status); }; } &&
28112 - { ac_try='test -s conftest.$ac_objext'
28113 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28114 - (eval $ac_try) 2>&5
28115 - ac_status=$?
28116 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28117 - (exit $ac_status); }; }; then
28118 + (exit $ac_status); } && {
28119 + test -z "$ac_c_werror_flag" ||
28120 + test ! -s conftest.err
28121 + } && test -s conftest.$ac_objext; then
28122 ac_cv_c_const=yes
28123 else
28124 echo "$as_me: failed program was:" >&5
28125 sed 's/^/| /' conftest.$ac_ext >&5
28126
28127 -ac_cv_c_const=no
28128 + ac_cv_c_const=no
28129 fi
28130 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28131 +
28132 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28133 fi
28134 -echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
28135 -echo "${ECHO_T}$ac_cv_c_const" >&6
28136 +{ echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
28137 +echo "${ECHO_T}$ac_cv_c_const" >&6; }
28138 if test $ac_cv_c_const = no; then
28139
28140 cat >>confdefs.h <<\_ACEOF
28141 @@ -5903,8 +6495,8 @@
28142
28143 fi
28144
28145 -echo "$as_me:$LINENO: checking for inline" >&5
28146 -echo $ECHO_N "checking for inline... $ECHO_C" >&6
28147 +{ echo "$as_me:$LINENO: checking for inline" >&5
28148 +echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
28149 if test "${ac_cv_c_inline+set}" = set; then
28150 echo $ECHO_N "(cached) $ECHO_C" >&6
28151 else
28152 @@ -5924,39 +6516,37 @@
28153
28154 _ACEOF
28155 rm -f conftest.$ac_objext
28156 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28157 - (eval $ac_compile) 2>conftest.er1
28158 +if { (ac_try="$ac_compile"
28159 +case "(($ac_try" in
28160 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28161 + *) ac_try_echo=$ac_try;;
28162 +esac
28163 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28164 + (eval "$ac_compile") 2>conftest.er1
28165 ac_status=$?
28166 grep -v '^ *+' conftest.er1 >conftest.err
28167 rm -f conftest.er1
28168 cat conftest.err >&5
28169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28170 - (exit $ac_status); } &&
28171 - { ac_try='test -z "$ac_c_werror_flag"
28172 - || test ! -s conftest.err'
28173 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28174 - (eval $ac_try) 2>&5
28175 - ac_status=$?
28176 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28177 - (exit $ac_status); }; } &&
28178 - { ac_try='test -s conftest.$ac_objext'
28179 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28180 - (eval $ac_try) 2>&5
28181 - ac_status=$?
28182 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28183 - (exit $ac_status); }; }; then
28184 - ac_cv_c_inline=$ac_kw; break
28185 + (exit $ac_status); } && {
28186 + test -z "$ac_c_werror_flag" ||
28187 + test ! -s conftest.err
28188 + } && test -s conftest.$ac_objext; then
28189 + ac_cv_c_inline=$ac_kw
28190 else
28191 echo "$as_me: failed program was:" >&5
28192 sed 's/^/| /' conftest.$ac_ext >&5
28193
28194 +
28195 fi
28196 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28197 +
28198 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28199 + test "$ac_cv_c_inline" != no && break
28200 done
28201
28202 fi
28203 -echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
28204 -echo "${ECHO_T}$ac_cv_c_inline" >&6
28205 +{ echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
28206 +echo "${ECHO_T}$ac_cv_c_inline" >&6; }
28207
28208
28209 case $ac_cv_c_inline in
28210 @@ -5988,9 +6578,9 @@
28211 inttypes.h stdint.h unistd.h
28212 do
28213 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28214 -echo "$as_me:$LINENO: checking for $ac_header" >&5
28215 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28216 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
28217 +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
28218 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
28219 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28220 echo $ECHO_N "(cached) $ECHO_C" >&6
28221 else
28222 cat >conftest.$ac_ext <<_ACEOF
28223 @@ -6004,38 +6594,35 @@
28224 #include <$ac_header>
28225 _ACEOF
28226 rm -f conftest.$ac_objext
28227 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28228 - (eval $ac_compile) 2>conftest.er1
28229 +if { (ac_try="$ac_compile"
28230 +case "(($ac_try" in
28231 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28232 + *) ac_try_echo=$ac_try;;
28233 +esac
28234 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28235 + (eval "$ac_compile") 2>conftest.er1
28236 ac_status=$?
28237 grep -v '^ *+' conftest.er1 >conftest.err
28238 rm -f conftest.er1
28239 cat conftest.err >&5
28240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28241 - (exit $ac_status); } &&
28242 - { ac_try='test -z "$ac_c_werror_flag"
28243 - || test ! -s conftest.err'
28244 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28245 - (eval $ac_try) 2>&5
28246 - ac_status=$?
28247 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28248 - (exit $ac_status); }; } &&
28249 - { ac_try='test -s conftest.$ac_objext'
28250 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28251 - (eval $ac_try) 2>&5
28252 - ac_status=$?
28253 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28254 - (exit $ac_status); }; }; then
28255 + (exit $ac_status); } && {
28256 + test -z "$ac_c_werror_flag" ||
28257 + test ! -s conftest.err
28258 + } && test -s conftest.$ac_objext; then
28259 eval "$as_ac_Header=yes"
28260 else
28261 echo "$as_me: failed program was:" >&5
28262 sed 's/^/| /' conftest.$ac_ext >&5
28263
28264 -eval "$as_ac_Header=no"
28265 + eval "$as_ac_Header=no"
28266 fi
28267 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28268 +
28269 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28270 fi
28271 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28272 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28273 +ac_res=`eval echo '${'$as_ac_Header'}'`
28274 + { echo "$as_me:$LINENO: result: $ac_res" >&5
28275 +echo "${ECHO_T}$ac_res" >&6; }
28276 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28277 cat >>confdefs.h <<_ACEOF
28278 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
28279 @@ -6046,8 +6633,8 @@
28280 done
28281
28282
28283 -echo "$as_me:$LINENO: checking for off_t" >&5
28284 -echo $ECHO_N "checking for off_t... $ECHO_C" >&6
28285 +{ echo "$as_me:$LINENO: checking for off_t" >&5
28286 +echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
28287 if test "${ac_cv_type_off_t+set}" = set; then
28288 echo $ECHO_N "(cached) $ECHO_C" >&6
28289 else
28290 @@ -6058,62 +6645,59 @@
28291 cat >>conftest.$ac_ext <<_ACEOF
28292 /* end confdefs.h. */
28293 $ac_includes_default
28294 +typedef off_t ac__type_new_;
28295 int
28296 main ()
28297 {
28298 -if ((off_t *) 0)
28299 +if ((ac__type_new_ *) 0)
28300 return 0;
28301 -if (sizeof (off_t))
28302 +if (sizeof (ac__type_new_))
28303 return 0;
28304 ;
28305 return 0;
28306 }
28307 _ACEOF
28308 rm -f conftest.$ac_objext
28309 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28310 - (eval $ac_compile) 2>conftest.er1
28311 +if { (ac_try="$ac_compile"
28312 +case "(($ac_try" in
28313 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28314 + *) ac_try_echo=$ac_try;;
28315 +esac
28316 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28317 + (eval "$ac_compile") 2>conftest.er1
28318 ac_status=$?
28319 grep -v '^ *+' conftest.er1 >conftest.err
28320 rm -f conftest.er1
28321 cat conftest.err >&5
28322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28323 - (exit $ac_status); } &&
28324 - { ac_try='test -z "$ac_c_werror_flag"
28325 - || test ! -s conftest.err'
28326 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28327 - (eval $ac_try) 2>&5
28328 - ac_status=$?
28329 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28330 - (exit $ac_status); }; } &&
28331 - { ac_try='test -s conftest.$ac_objext'
28332 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28333 - (eval $ac_try) 2>&5
28334 - ac_status=$?
28335 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28336 - (exit $ac_status); }; }; then
28337 + (exit $ac_status); } && {
28338 + test -z "$ac_c_werror_flag" ||
28339 + test ! -s conftest.err
28340 + } && test -s conftest.$ac_objext; then
28341 ac_cv_type_off_t=yes
28342 else
28343 echo "$as_me: failed program was:" >&5
28344 sed 's/^/| /' conftest.$ac_ext >&5
28345
28346 -ac_cv_type_off_t=no
28347 + ac_cv_type_off_t=no
28348 fi
28349 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28350 +
28351 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28352 fi
28353 -echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
28354 -echo "${ECHO_T}$ac_cv_type_off_t" >&6
28355 +{ echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
28356 +echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
28357 if test $ac_cv_type_off_t = yes; then
28358 :
28359 else
28360
28361 cat >>confdefs.h <<_ACEOF
28362 -#define off_t long
28363 +#define off_t long int
28364 _ACEOF
28365
28366 fi
28367
28368 -echo "$as_me:$LINENO: checking for size_t" >&5
28369 -echo $ECHO_N "checking for size_t... $ECHO_C" >&6
28370 +{ echo "$as_me:$LINENO: checking for size_t" >&5
28371 +echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
28372 if test "${ac_cv_type_size_t+set}" = set; then
28373 echo $ECHO_N "(cached) $ECHO_C" >&6
28374 else
28375 @@ -6124,64 +6708,61 @@
28376 cat >>conftest.$ac_ext <<_ACEOF
28377 /* end confdefs.h. */
28378 $ac_includes_default
28379 +typedef size_t ac__type_new_;
28380 int
28381 main ()
28382 {
28383 -if ((size_t *) 0)
28384 +if ((ac__type_new_ *) 0)
28385 return 0;
28386 -if (sizeof (size_t))
28387 +if (sizeof (ac__type_new_))
28388 return 0;
28389 ;
28390 return 0;
28391 }
28392 _ACEOF
28393 rm -f conftest.$ac_objext
28394 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28395 - (eval $ac_compile) 2>conftest.er1
28396 +if { (ac_try="$ac_compile"
28397 +case "(($ac_try" in
28398 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28399 + *) ac_try_echo=$ac_try;;
28400 +esac
28401 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28402 + (eval "$ac_compile") 2>conftest.er1
28403 ac_status=$?
28404 grep -v '^ *+' conftest.er1 >conftest.err
28405 rm -f conftest.er1
28406 cat conftest.err >&5
28407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28408 - (exit $ac_status); } &&
28409 - { ac_try='test -z "$ac_c_werror_flag"
28410 - || test ! -s conftest.err'
28411 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28412 - (eval $ac_try) 2>&5
28413 - ac_status=$?
28414 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28415 - (exit $ac_status); }; } &&
28416 - { ac_try='test -s conftest.$ac_objext'
28417 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28418 - (eval $ac_try) 2>&5
28419 - ac_status=$?
28420 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28421 - (exit $ac_status); }; }; then
28422 + (exit $ac_status); } && {
28423 + test -z "$ac_c_werror_flag" ||
28424 + test ! -s conftest.err
28425 + } && test -s conftest.$ac_objext; then
28426 ac_cv_type_size_t=yes
28427 else
28428 echo "$as_me: failed program was:" >&5
28429 sed 's/^/| /' conftest.$ac_ext >&5
28430
28431 -ac_cv_type_size_t=no
28432 + ac_cv_type_size_t=no
28433 fi
28434 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28435 +
28436 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28437 fi
28438 -echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
28439 -echo "${ECHO_T}$ac_cv_type_size_t" >&6
28440 +{ echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
28441 +echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
28442 if test $ac_cv_type_size_t = yes; then
28443 :
28444 else
28445
28446 cat >>confdefs.h <<_ACEOF
28447 -#define size_t unsigned
28448 +#define size_t unsigned int
28449 _ACEOF
28450
28451 fi
28452
28453 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
28454 # for constant arguments. Useless!
28455 -echo "$as_me:$LINENO: checking for working alloca.h" >&5
28456 -echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
28457 +{ echo "$as_me:$LINENO: checking for working alloca.h" >&5
28458 +echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6; }
28459 if test "${ac_cv_working_alloca_h+set}" = set; then
28460 echo $ECHO_N "(cached) $ECHO_C" >&6
28461 else
28462 @@ -6196,44 +6777,42 @@
28463 main ()
28464 {
28465 char *p = (char *) alloca (2 * sizeof (int));
28466 + if (p) return 0;
28467 ;
28468 return 0;
28469 }
28470 _ACEOF
28471 rm -f conftest.$ac_objext conftest$ac_exeext
28472 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28473 - (eval $ac_link) 2>conftest.er1
28474 +if { (ac_try="$ac_link"
28475 +case "(($ac_try" in
28476 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28477 + *) ac_try_echo=$ac_try;;
28478 +esac
28479 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28480 + (eval "$ac_link") 2>conftest.er1
28481 ac_status=$?
28482 grep -v '^ *+' conftest.er1 >conftest.err
28483 rm -f conftest.er1
28484 cat conftest.err >&5
28485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28486 - (exit $ac_status); } &&
28487 - { ac_try='test -z "$ac_c_werror_flag"
28488 - || test ! -s conftest.err'
28489 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28490 - (eval $ac_try) 2>&5
28491 - ac_status=$?
28492 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28493 - (exit $ac_status); }; } &&
28494 - { ac_try='test -s conftest$ac_exeext'
28495 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28496 - (eval $ac_try) 2>&5
28497 - ac_status=$?
28498 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28499 - (exit $ac_status); }; }; then
28500 + (exit $ac_status); } && {
28501 + test -z "$ac_c_werror_flag" ||
28502 + test ! -s conftest.err
28503 + } && test -s conftest$ac_exeext &&
28504 + $as_test_x conftest$ac_exeext; then
28505 ac_cv_working_alloca_h=yes
28506 else
28507 echo "$as_me: failed program was:" >&5
28508 sed 's/^/| /' conftest.$ac_ext >&5
28509
28510 -ac_cv_working_alloca_h=no
28511 + ac_cv_working_alloca_h=no
28512 fi
28513 -rm -f conftest.err conftest.$ac_objext \
28514 +
28515 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28516 conftest$ac_exeext conftest.$ac_ext
28517 fi
28518 -echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
28519 -echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
28520 +{ echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
28521 +echo "${ECHO_T}$ac_cv_working_alloca_h" >&6; }
28522 if test $ac_cv_working_alloca_h = yes; then
28523
28524 cat >>confdefs.h <<\_ACEOF
28525 @@ -6242,8 +6821,8 @@
28526
28527 fi
28528
28529 -echo "$as_me:$LINENO: checking for alloca" >&5
28530 -echo $ECHO_N "checking for alloca... $ECHO_C" >&6
28531 +{ echo "$as_me:$LINENO: checking for alloca" >&5
28532 +echo $ECHO_N "checking for alloca... $ECHO_C" >&6; }
28533 if test "${ac_cv_func_alloca_works+set}" = set; then
28534 echo $ECHO_N "(cached) $ECHO_C" >&6
28535 else
28536 @@ -6260,7 +6839,7 @@
28537 # include <malloc.h>
28538 # define alloca _alloca
28539 # else
28540 -# if HAVE_ALLOCA_H
28541 +# ifdef HAVE_ALLOCA_H
28542 # include <alloca.h>
28543 # else
28544 # ifdef _AIX
28545 @@ -6278,44 +6857,42 @@
28546 main ()
28547 {
28548 char *p = (char *) alloca (1);
28549 + if (p) return 0;
28550 ;
28551 return 0;
28552 }
28553 _ACEOF
28554 rm -f conftest.$ac_objext conftest$ac_exeext
28555 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28556 - (eval $ac_link) 2>conftest.er1
28557 +if { (ac_try="$ac_link"
28558 +case "(($ac_try" in
28559 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28560 + *) ac_try_echo=$ac_try;;
28561 +esac
28562 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28563 + (eval "$ac_link") 2>conftest.er1
28564 ac_status=$?
28565 grep -v '^ *+' conftest.er1 >conftest.err
28566 rm -f conftest.er1
28567 cat conftest.err >&5
28568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28569 - (exit $ac_status); } &&
28570 - { ac_try='test -z "$ac_c_werror_flag"
28571 - || test ! -s conftest.err'
28572 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28573 - (eval $ac_try) 2>&5
28574 - ac_status=$?
28575 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28576 - (exit $ac_status); }; } &&
28577 - { ac_try='test -s conftest$ac_exeext'
28578 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28579 - (eval $ac_try) 2>&5
28580 - ac_status=$?
28581 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28582 - (exit $ac_status); }; }; then
28583 + (exit $ac_status); } && {
28584 + test -z "$ac_c_werror_flag" ||
28585 + test ! -s conftest.err
28586 + } && test -s conftest$ac_exeext &&
28587 + $as_test_x conftest$ac_exeext; then
28588 ac_cv_func_alloca_works=yes
28589 else
28590 echo "$as_me: failed program was:" >&5
28591 sed 's/^/| /' conftest.$ac_ext >&5
28592
28593 -ac_cv_func_alloca_works=no
28594 + ac_cv_func_alloca_works=no
28595 fi
28596 -rm -f conftest.err conftest.$ac_objext \
28597 +
28598 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28599 conftest$ac_exeext conftest.$ac_ext
28600 fi
28601 -echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
28602 -echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
28603 +{ echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
28604 +echo "${ECHO_T}$ac_cv_func_alloca_works" >&6; }
28605
28606 if test $ac_cv_func_alloca_works = yes; then
28607
28608 @@ -6329,15 +6906,15 @@
28609 # contain a buggy version. If you still want to use their alloca,
28610 # use ar to extract alloca.o from them instead of compiling alloca.c.
28611
28612 -ALLOCA=alloca.$ac_objext
28613 +ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
28614
28615 cat >>confdefs.h <<\_ACEOF
28616 #define C_ALLOCA 1
28617 _ACEOF
28618
28619
28620 -echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
28621 -echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
28622 +{ echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
28623 +echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6; }
28624 if test "${ac_cv_os_cray+set}" = set; then
28625 echo $ECHO_N "(cached) $ECHO_C" >&6
28626 else
28627 @@ -6347,7 +6924,7 @@
28628 cat confdefs.h >>conftest.$ac_ext
28629 cat >>conftest.$ac_ext <<_ACEOF
28630 /* end confdefs.h. */
28631 -#if defined(CRAY) && ! defined(CRAY2)
28632 +#if defined CRAY && ! defined CRAY2
28633 webecray
28634 #else
28635 wenotbecray
28636 @@ -6363,14 +6940,14 @@
28637 rm -f conftest*
28638
28639 fi
28640 -echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
28641 -echo "${ECHO_T}$ac_cv_os_cray" >&6
28642 +{ echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
28643 +echo "${ECHO_T}$ac_cv_os_cray" >&6; }
28644 if test $ac_cv_os_cray = yes; then
28645 for ac_func in _getb67 GETB67 getb67; do
28646 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28647 -echo "$as_me:$LINENO: checking for $ac_func" >&5
28648 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28649 -if eval "test \"\${$as_ac_var+set}\" = set"; then
28650 +{ echo "$as_me:$LINENO: checking for $ac_func" >&5
28651 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28652 +if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28653 echo $ECHO_N "(cached) $ECHO_C" >&6
28654 else
28655 cat >conftest.$ac_ext <<_ACEOF
28656 @@ -6396,68 +6973,60 @@
28657
28658 #undef $ac_func
28659
28660 -/* Override any gcc2 internal prototype to avoid an error. */
28661 +/* Override any GCC internal prototype to avoid an error.
28662 + Use char because int might match the return type of a GCC
28663 + builtin and then its argument prototype would still apply. */
28664 #ifdef __cplusplus
28665 extern "C"
28666 -{
28667 #endif
28668 -/* We use char because int might match the return type of a gcc2
28669 - builtin and then its argument prototype would still apply. */
28670 char $ac_func ();
28671 /* The GNU C library defines this for functions which it implements
28672 to always fail with ENOSYS. Some functions are actually named
28673 something starting with __ and the normal name is an alias. */
28674 -#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28675 +#if defined __stub_$ac_func || defined __stub___$ac_func
28676 choke me
28677 -#else
28678 -char (*f) () = $ac_func;
28679 -#endif
28680 -#ifdef __cplusplus
28681 -}
28682 #endif
28683
28684 int
28685 main ()
28686 {
28687 -return f != $ac_func;
28688 +return $ac_func ();
28689 ;
28690 return 0;
28691 }
28692 _ACEOF
28693 rm -f conftest.$ac_objext conftest$ac_exeext
28694 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28695 - (eval $ac_link) 2>conftest.er1
28696 +if { (ac_try="$ac_link"
28697 +case "(($ac_try" in
28698 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28699 + *) ac_try_echo=$ac_try;;
28700 +esac
28701 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28702 + (eval "$ac_link") 2>conftest.er1
28703 ac_status=$?
28704 grep -v '^ *+' conftest.er1 >conftest.err
28705 rm -f conftest.er1
28706 cat conftest.err >&5
28707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28708 - (exit $ac_status); } &&
28709 - { ac_try='test -z "$ac_c_werror_flag"
28710 - || test ! -s conftest.err'
28711 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28712 - (eval $ac_try) 2>&5
28713 - ac_status=$?
28714 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28715 - (exit $ac_status); }; } &&
28716 - { ac_try='test -s conftest$ac_exeext'
28717 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28718 - (eval $ac_try) 2>&5
28719 - ac_status=$?
28720 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28721 - (exit $ac_status); }; }; then
28722 + (exit $ac_status); } && {
28723 + test -z "$ac_c_werror_flag" ||
28724 + test ! -s conftest.err
28725 + } && test -s conftest$ac_exeext &&
28726 + $as_test_x conftest$ac_exeext; then
28727 eval "$as_ac_var=yes"
28728 else
28729 echo "$as_me: failed program was:" >&5
28730 sed 's/^/| /' conftest.$ac_ext >&5
28731
28732 -eval "$as_ac_var=no"
28733 + eval "$as_ac_var=no"
28734 fi
28735 -rm -f conftest.err conftest.$ac_objext \
28736 +
28737 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28738 conftest$ac_exeext conftest.$ac_ext
28739 fi
28740 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28741 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28742 +ac_res=`eval echo '${'$as_ac_var'}'`
28743 + { echo "$as_me:$LINENO: result: $ac_res" >&5
28744 +echo "${ECHO_T}$ac_res" >&6; }
28745 if test `eval echo '${'$as_ac_var'}'` = yes; then
28746
28747 cat >>confdefs.h <<_ACEOF
28748 @@ -6470,8 +7039,8 @@
28749 done
28750 fi
28751
28752 -echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
28753 -echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
28754 +{ echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
28755 +echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6; }
28756 if test "${ac_cv_c_stack_direction+set}" = set; then
28757 echo $ECHO_N "(cached) $ECHO_C" >&6
28758 else
28759 @@ -6484,6 +7053,7 @@
28760 cat confdefs.h >>conftest.$ac_ext
28761 cat >>conftest.$ac_ext <<_ACEOF
28762 /* end confdefs.h. */
28763 +$ac_includes_default
28764 int
28765 find_stack_direction ()
28766 {
28767 @@ -6501,17 +7071,26 @@
28768 int
28769 main ()
28770 {
28771 - exit (find_stack_direction () < 0);
28772 + return find_stack_direction () < 0;
28773 }
28774 _ACEOF
28775 rm -f conftest$ac_exeext
28776 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28777 - (eval $ac_link) 2>&5
28778 +if { (ac_try="$ac_link"
28779 +case "(($ac_try" in
28780 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28781 + *) ac_try_echo=$ac_try;;
28782 +esac
28783 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28784 + (eval "$ac_link") 2>&5
28785 ac_status=$?
28786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28787 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28788 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28789 - (eval $ac_try) 2>&5
28790 + { (case "(($ac_try" in
28791 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28792 + *) ac_try_echo=$ac_try;;
28793 +esac
28794 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28795 + (eval "$ac_try") 2>&5
28796 ac_status=$?
28797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28798 (exit $ac_status); }; }; then
28799 @@ -6524,11 +7103,13 @@
28800 ( exit $ac_status )
28801 ac_cv_c_stack_direction=-1
28802 fi
28803 -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28804 +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28805 fi
28806 +
28807 +
28808 fi
28809 -echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
28810 -echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
28811 +{ echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
28812 +echo "${ECHO_T}$ac_cv_c_stack_direction" >&6; }
28813
28814 cat >>confdefs.h <<_ACEOF
28815 #define STACK_DIRECTION $ac_cv_c_stack_direction
28816 @@ -6542,18 +7123,19 @@
28817 for ac_header in stdlib.h unistd.h
28818 do
28819 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28820 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
28821 - echo "$as_me:$LINENO: checking for $ac_header" >&5
28822 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28823 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
28824 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28825 + { echo "$as_me:$LINENO: checking for $ac_header" >&5
28826 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
28827 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28828 echo $ECHO_N "(cached) $ECHO_C" >&6
28829 fi
28830 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28831 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28832 +ac_res=`eval echo '${'$as_ac_Header'}'`
28833 + { echo "$as_me:$LINENO: result: $ac_res" >&5
28834 +echo "${ECHO_T}$ac_res" >&6; }
28835 else
28836 # Is the header compilable?
28837 -echo "$as_me:$LINENO: checking $ac_header usability" >&5
28838 -echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
28839 +{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
28840 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
28841 cat >conftest.$ac_ext <<_ACEOF
28842 /* confdefs.h. */
28843 _ACEOF
28844 @@ -6564,41 +7146,37 @@
28845 #include <$ac_header>
28846 _ACEOF
28847 rm -f conftest.$ac_objext
28848 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28849 - (eval $ac_compile) 2>conftest.er1
28850 +if { (ac_try="$ac_compile"
28851 +case "(($ac_try" in
28852 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28853 + *) ac_try_echo=$ac_try;;
28854 +esac
28855 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28856 + (eval "$ac_compile") 2>conftest.er1
28857 ac_status=$?
28858 grep -v '^ *+' conftest.er1 >conftest.err
28859 rm -f conftest.er1
28860 cat conftest.err >&5
28861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28862 - (exit $ac_status); } &&
28863 - { ac_try='test -z "$ac_c_werror_flag"
28864 - || test ! -s conftest.err'
28865 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28866 - (eval $ac_try) 2>&5
28867 - ac_status=$?
28868 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28869 - (exit $ac_status); }; } &&
28870 - { ac_try='test -s conftest.$ac_objext'
28871 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28872 - (eval $ac_try) 2>&5
28873 - ac_status=$?
28874 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28875 - (exit $ac_status); }; }; then
28876 + (exit $ac_status); } && {
28877 + test -z "$ac_c_werror_flag" ||
28878 + test ! -s conftest.err
28879 + } && test -s conftest.$ac_objext; then
28880 ac_header_compiler=yes
28881 else
28882 echo "$as_me: failed program was:" >&5
28883 sed 's/^/| /' conftest.$ac_ext >&5
28884
28885 -ac_header_compiler=no
28886 + ac_header_compiler=no
28887 fi
28888 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28889 -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28890 -echo "${ECHO_T}$ac_header_compiler" >&6
28891 +
28892 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28893 +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28894 +echo "${ECHO_T}$ac_header_compiler" >&6; }
28895
28896 # Is the header present?
28897 -echo "$as_me:$LINENO: checking $ac_header presence" >&5
28898 -echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
28899 +{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
28900 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
28901 cat >conftest.$ac_ext <<_ACEOF
28902 /* confdefs.h. */
28903 _ACEOF
28904 @@ -6607,24 +7185,22 @@
28905 /* end confdefs.h. */
28906 #include <$ac_header>
28907 _ACEOF
28908 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28909 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28910 +if { (ac_try="$ac_cpp conftest.$ac_ext"
28911 +case "(($ac_try" in
28912 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28913 + *) ac_try_echo=$ac_try;;
28914 +esac
28915 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28916 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
28917 ac_status=$?
28918 grep -v '^ *+' conftest.er1 >conftest.err
28919 rm -f conftest.er1
28920 cat conftest.err >&5
28921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28922 - (exit $ac_status); } >/dev/null; then
28923 - if test -s conftest.err; then
28924 - ac_cpp_err=$ac_c_preproc_warn_flag
28925 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
28926 - else
28927 - ac_cpp_err=
28928 - fi
28929 -else
28930 - ac_cpp_err=yes
28931 -fi
28932 -if test -z "$ac_cpp_err"; then
28933 + (exit $ac_status); } >/dev/null && {
28934 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
28935 + test ! -s conftest.err
28936 + }; then
28937 ac_header_preproc=yes
28938 else
28939 echo "$as_me: failed program was:" >&5
28940 @@ -6632,9 +7208,10 @@
28941
28942 ac_header_preproc=no
28943 fi
28944 +
28945 rm -f conftest.err conftest.$ac_ext
28946 -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28947 -echo "${ECHO_T}$ac_header_preproc" >&6
28948 +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28949 +echo "${ECHO_T}$ac_header_preproc" >&6; }
28950
28951 # So? What about this header?
28952 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28953 @@ -6658,25 +7235,19 @@
28954 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
28955 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
28956 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
28957 - (
28958 - cat <<\_ASBOX
28959 -## ------------------------------------------ ##
28960 -## Report this to the AC_PACKAGE_NAME lists. ##
28961 -## ------------------------------------------ ##
28962 -_ASBOX
28963 - ) |
28964 - sed "s/^/$as_me: WARNING: /" >&2
28965 +
28966 ;;
28967 esac
28968 -echo "$as_me:$LINENO: checking for $ac_header" >&5
28969 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28970 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
28971 +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
28972 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
28973 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28974 echo $ECHO_N "(cached) $ECHO_C" >&6
28975 else
28976 eval "$as_ac_Header=\$ac_header_preproc"
28977 fi
28978 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28979 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28980 +ac_res=`eval echo '${'$as_ac_Header'}'`
28981 + { echo "$as_me:$LINENO: result: $ac_res" >&5
28982 +echo "${ECHO_T}$ac_res" >&6; }
28983
28984 fi
28985 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28986 @@ -6692,9 +7263,9 @@
28987 for ac_func in getpagesize
28988 do
28989 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28990 -echo "$as_me:$LINENO: checking for $ac_func" >&5
28991 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28992 -if eval "test \"\${$as_ac_var+set}\" = set"; then
28993 +{ echo "$as_me:$LINENO: checking for $ac_func" >&5
28994 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28995 +if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28996 echo $ECHO_N "(cached) $ECHO_C" >&6
28997 else
28998 cat >conftest.$ac_ext <<_ACEOF
28999 @@ -6720,68 +7291,60 @@
29000
29001 #undef $ac_func
29002
29003 -/* Override any gcc2 internal prototype to avoid an error. */
29004 +/* Override any GCC internal prototype to avoid an error.
29005 + Use char because int might match the return type of a GCC
29006 + builtin and then its argument prototype would still apply. */
29007 #ifdef __cplusplus
29008 extern "C"
29009 -{
29010 #endif
29011 -/* We use char because int might match the return type of a gcc2
29012 - builtin and then its argument prototype would still apply. */
29013 char $ac_func ();
29014 /* The GNU C library defines this for functions which it implements
29015 to always fail with ENOSYS. Some functions are actually named
29016 something starting with __ and the normal name is an alias. */
29017 -#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29018 +#if defined __stub_$ac_func || defined __stub___$ac_func
29019 choke me
29020 -#else
29021 -char (*f) () = $ac_func;
29022 -#endif
29023 -#ifdef __cplusplus
29024 -}
29025 #endif
29026
29027 int
29028 main ()
29029 {
29030 -return f != $ac_func;
29031 +return $ac_func ();
29032 ;
29033 return 0;
29034 }
29035 _ACEOF
29036 rm -f conftest.$ac_objext conftest$ac_exeext
29037 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29038 - (eval $ac_link) 2>conftest.er1
29039 +if { (ac_try="$ac_link"
29040 +case "(($ac_try" in
29041 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29042 + *) ac_try_echo=$ac_try;;
29043 +esac
29044 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29045 + (eval "$ac_link") 2>conftest.er1
29046 ac_status=$?
29047 grep -v '^ *+' conftest.er1 >conftest.err
29048 rm -f conftest.er1
29049 cat conftest.err >&5
29050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29051 - (exit $ac_status); } &&
29052 - { ac_try='test -z "$ac_c_werror_flag"
29053 - || test ! -s conftest.err'
29054 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29055 - (eval $ac_try) 2>&5
29056 - ac_status=$?
29057 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
29058 - (exit $ac_status); }; } &&
29059 - { ac_try='test -s conftest$ac_exeext'
29060 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29061 - (eval $ac_try) 2>&5
29062 - ac_status=$?
29063 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
29064 - (exit $ac_status); }; }; then
29065 + (exit $ac_status); } && {
29066 + test -z "$ac_c_werror_flag" ||
29067 + test ! -s conftest.err
29068 + } && test -s conftest$ac_exeext &&
29069 + $as_test_x conftest$ac_exeext; then
29070 eval "$as_ac_var=yes"
29071 else
29072 echo "$as_me: failed program was:" >&5
29073 sed 's/^/| /' conftest.$ac_ext >&5
29074
29075 -eval "$as_ac_var=no"
29076 + eval "$as_ac_var=no"
29077 fi
29078 -rm -f conftest.err conftest.$ac_objext \
29079 +
29080 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29081 conftest$ac_exeext conftest.$ac_ext
29082 fi
29083 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29084 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29085 +ac_res=`eval echo '${'$as_ac_var'}'`
29086 + { echo "$as_me:$LINENO: result: $ac_res" >&5
29087 +echo "${ECHO_T}$ac_res" >&6; }
29088 if test `eval echo '${'$as_ac_var'}'` = yes; then
29089 cat >>confdefs.h <<_ACEOF
29090 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29091 @@ -6790,8 +7353,8 @@
29092 fi
29093 done
29094
29095 -echo "$as_me:$LINENO: checking for working mmap" >&5
29096 -echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
29097 +{ echo "$as_me:$LINENO: checking for working mmap" >&5
29098 +echo $ECHO_N "checking for working mmap... $ECHO_C" >&6; }
29099 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
29100 echo $ECHO_N "(cached) $ECHO_C" >&6
29101 else
29102 @@ -6833,21 +7396,21 @@
29103 #include <fcntl.h>
29104 #include <sys/mman.h>
29105
29106 -#if !STDC_HEADERS && !HAVE_STDLIB_H
29107 +#if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
29108 char *malloc ();
29109 #endif
29110
29111 /* This mess was copied from the GNU getpagesize.h. */
29112 -#if !HAVE_GETPAGESIZE
29113 +#ifndef HAVE_GETPAGESIZE
29114 /* Assume that all systems that can run configure have sys/param.h. */
29115 -# if !HAVE_SYS_PARAM_H
29116 +# ifndef HAVE_SYS_PARAM_H
29117 # define HAVE_SYS_PARAM_H 1
29118 # endif
29119
29120 # ifdef _SC_PAGESIZE
29121 # define getpagesize() sysconf(_SC_PAGESIZE)
29122 # else /* no _SC_PAGESIZE */
29123 -# if HAVE_SYS_PARAM_H
29124 +# ifdef HAVE_SYS_PARAM_H
29125 # include <sys/param.h>
29126 # ifdef EXEC_PAGESIZE
29127 # define getpagesize() EXEC_PAGESIZE
29128 @@ -6886,15 +7449,15 @@
29129 /* First, make a file with some known garbage in it. */
29130 data = (char *) malloc (pagesize);
29131 if (!data)
29132 - exit (1);
29133 + return 1;
29134 for (i = 0; i < pagesize; ++i)
29135 *(data + i) = rand ();
29136 umask (0);
29137 fd = creat ("conftest.mmap", 0600);
29138 if (fd < 0)
29139 - exit (1);
29140 + return 1;
29141 if (write (fd, data, pagesize) != pagesize)
29142 - exit (1);
29143 + return 1;
29144 close (fd);
29145
29146 /* Next, try to mmap the file at a fixed address which already has
29147 @@ -6902,17 +7465,17 @@
29148 we see the same garbage. */
29149 fd = open ("conftest.mmap", O_RDWR);
29150 if (fd < 0)
29151 - exit (1);
29152 + return 1;
29153 data2 = (char *) malloc (2 * pagesize);
29154 if (!data2)
29155 - exit (1);
29156 - data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
29157 + return 1;
29158 + data2 += (pagesize - ((long int) data2 & (pagesize - 1))) & (pagesize - 1);
29159 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
29160 MAP_PRIVATE | MAP_FIXED, fd, 0L))
29161 - exit (1);
29162 + return 1;
29163 for (i = 0; i < pagesize; ++i)
29164 if (*(data + i) != *(data2 + i))
29165 - exit (1);
29166 + return 1;
29167
29168 /* Finally, make sure that changes to the mapped area do not
29169 percolate back to the file as seen by read(). (This is a bug on
29170 @@ -6921,24 +7484,33 @@
29171 *(data2 + i) = *(data2 + i) + 1;
29172 data3 = (char *) malloc (pagesize);
29173 if (!data3)
29174 - exit (1);
29175 + return 1;
29176 if (read (fd, data3, pagesize) != pagesize)
29177 - exit (1);
29178 + return 1;
29179 for (i = 0; i < pagesize; ++i)
29180 if (*(data + i) != *(data3 + i))
29181 - exit (1);
29182 + return 1;
29183 close (fd);
29184 - exit (0);
29185 + return 0;
29186 }
29187 _ACEOF
29188 rm -f conftest$ac_exeext
29189 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29190 - (eval $ac_link) 2>&5
29191 +if { (ac_try="$ac_link"
29192 +case "(($ac_try" in
29193 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29194 + *) ac_try_echo=$ac_try;;
29195 +esac
29196 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29197 + (eval "$ac_link") 2>&5
29198 ac_status=$?
29199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29200 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29201 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29202 - (eval $ac_try) 2>&5
29203 + { (case "(($ac_try" in
29204 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29205 + *) ac_try_echo=$ac_try;;
29206 +esac
29207 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29208 + (eval "$ac_try") 2>&5
29209 ac_status=$?
29210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29211 (exit $ac_status); }; }; then
29212 @@ -6951,11 +7523,13 @@
29213 ( exit $ac_status )
29214 ac_cv_func_mmap_fixed_mapped=no
29215 fi
29216 -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29217 +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29218 fi
29219 +
29220 +
29221 fi
29222 -echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
29223 -echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
29224 +{ echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
29225 +echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6; }
29226 if test $ac_cv_func_mmap_fixed_mapped = yes; then
29227
29228 cat >>confdefs.h <<\_ACEOF
29229 @@ -6979,18 +7553,19 @@
29230 unistd.h values.h sys/param.h
29231 do
29232 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29233 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
29234 - echo "$as_me:$LINENO: checking for $ac_header" >&5
29235 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29236 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
29237 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29238 + { echo "$as_me:$LINENO: checking for $ac_header" >&5
29239 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
29240 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29241 echo $ECHO_N "(cached) $ECHO_C" >&6
29242 fi
29243 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29244 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29245 +ac_res=`eval echo '${'$as_ac_Header'}'`
29246 + { echo "$as_me:$LINENO: result: $ac_res" >&5
29247 +echo "${ECHO_T}$ac_res" >&6; }
29248 else
29249 # Is the header compilable?
29250 -echo "$as_me:$LINENO: checking $ac_header usability" >&5
29251 -echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
29252 +{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
29253 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
29254 cat >conftest.$ac_ext <<_ACEOF
29255 /* confdefs.h. */
29256 _ACEOF
29257 @@ -7001,41 +7576,37 @@
29258 #include <$ac_header>
29259 _ACEOF
29260 rm -f conftest.$ac_objext
29261 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29262 - (eval $ac_compile) 2>conftest.er1
29263 +if { (ac_try="$ac_compile"
29264 +case "(($ac_try" in
29265 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29266 + *) ac_try_echo=$ac_try;;
29267 +esac
29268 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29269 + (eval "$ac_compile") 2>conftest.er1
29270 ac_status=$?
29271 grep -v '^ *+' conftest.er1 >conftest.err
29272 rm -f conftest.er1
29273 cat conftest.err >&5
29274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29275 - (exit $ac_status); } &&
29276 - { ac_try='test -z "$ac_c_werror_flag"
29277 - || test ! -s conftest.err'
29278 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29279 - (eval $ac_try) 2>&5
29280 - ac_status=$?
29281 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
29282 - (exit $ac_status); }; } &&
29283 - { ac_try='test -s conftest.$ac_objext'
29284 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29285 - (eval $ac_try) 2>&5
29286 - ac_status=$?
29287 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
29288 - (exit $ac_status); }; }; then
29289 + (exit $ac_status); } && {
29290 + test -z "$ac_c_werror_flag" ||
29291 + test ! -s conftest.err
29292 + } && test -s conftest.$ac_objext; then
29293 ac_header_compiler=yes
29294 else
29295 echo "$as_me: failed program was:" >&5
29296 sed 's/^/| /' conftest.$ac_ext >&5
29297
29298 -ac_header_compiler=no
29299 + ac_header_compiler=no
29300 fi
29301 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29302 -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29303 -echo "${ECHO_T}$ac_header_compiler" >&6
29304 +
29305 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29306 +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29307 +echo "${ECHO_T}$ac_header_compiler" >&6; }
29308
29309 # Is the header present?
29310 -echo "$as_me:$LINENO: checking $ac_header presence" >&5
29311 -echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
29312 +{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
29313 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
29314 cat >conftest.$ac_ext <<_ACEOF
29315 /* confdefs.h. */
29316 _ACEOF
29317 @@ -7044,24 +7615,22 @@
29318 /* end confdefs.h. */
29319 #include <$ac_header>
29320 _ACEOF
29321 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29322 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29323 +if { (ac_try="$ac_cpp conftest.$ac_ext"
29324 +case "(($ac_try" in
29325 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29326 + *) ac_try_echo=$ac_try;;
29327 +esac
29328 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29329 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
29330 ac_status=$?
29331 grep -v '^ *+' conftest.er1 >conftest.err
29332 rm -f conftest.er1
29333 cat conftest.err >&5
29334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29335 - (exit $ac_status); } >/dev/null; then
29336 - if test -s conftest.err; then
29337 - ac_cpp_err=$ac_c_preproc_warn_flag
29338 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
29339 - else
29340 - ac_cpp_err=
29341 - fi
29342 -else
29343 - ac_cpp_err=yes
29344 -fi
29345 -if test -z "$ac_cpp_err"; then
29346 + (exit $ac_status); } >/dev/null && {
29347 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
29348 + test ! -s conftest.err
29349 + }; then
29350 ac_header_preproc=yes
29351 else
29352 echo "$as_me: failed program was:" >&5
29353 @@ -7069,9 +7638,10 @@
29354
29355 ac_header_preproc=no
29356 fi
29357 +
29358 rm -f conftest.err conftest.$ac_ext
29359 -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29360 -echo "${ECHO_T}$ac_header_preproc" >&6
29361 +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29362 +echo "${ECHO_T}$ac_header_preproc" >&6; }
29363
29364 # So? What about this header?
29365 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29366 @@ -7095,25 +7665,19 @@
29367 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29368 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
29369 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
29370 - (
29371 - cat <<\_ASBOX
29372 -## ------------------------------------------ ##
29373 -## Report this to the AC_PACKAGE_NAME lists. ##
29374 -## ------------------------------------------ ##
29375 -_ASBOX
29376 - ) |
29377 - sed "s/^/$as_me: WARNING: /" >&2
29378 +
29379 ;;
29380 esac
29381 -echo "$as_me:$LINENO: checking for $ac_header" >&5
29382 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29383 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
29384 +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
29385 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
29386 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29387 echo $ECHO_N "(cached) $ECHO_C" >&6
29388 else
29389 eval "$as_ac_Header=\$ac_header_preproc"
29390 fi
29391 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29392 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29393 +ac_res=`eval echo '${'$as_ac_Header'}'`
29394 + { echo "$as_me:$LINENO: result: $ac_res" >&5
29395 +echo "${ECHO_T}$ac_res" >&6; }
29396
29397 fi
29398 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29399 @@ -7139,9 +7703,9 @@
29400 __argz_count __argz_stringify __argz_next
29401 do
29402 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29403 -echo "$as_me:$LINENO: checking for $ac_func" >&5
29404 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29405 -if eval "test \"\${$as_ac_var+set}\" = set"; then
29406 +{ echo "$as_me:$LINENO: checking for $ac_func" >&5
29407 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
29408 +if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
29409 echo $ECHO_N "(cached) $ECHO_C" >&6
29410 else
29411 cat >conftest.$ac_ext <<_ACEOF
29412 @@ -7167,68 +7731,60 @@
29413
29414 #undef $ac_func
29415
29416 -/* Override any gcc2 internal prototype to avoid an error. */
29417 +/* Override any GCC internal prototype to avoid an error.
29418 + Use char because int might match the return type of a GCC
29419 + builtin and then its argument prototype would still apply. */
29420 #ifdef __cplusplus
29421 extern "C"
29422 -{
29423 #endif
29424 -/* We use char because int might match the return type of a gcc2
29425 - builtin and then its argument prototype would still apply. */
29426 char $ac_func ();
29427 /* The GNU C library defines this for functions which it implements
29428 to always fail with ENOSYS. Some functions are actually named
29429 something starting with __ and the normal name is an alias. */
29430 -#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29431 +#if defined __stub_$ac_func || defined __stub___$ac_func
29432 choke me
29433 -#else
29434 -char (*f) () = $ac_func;
29435 -#endif
29436 -#ifdef __cplusplus
29437 -}
29438 #endif
29439
29440 int
29441 main ()
29442 {
29443 -return f != $ac_func;
29444 +return $ac_func ();
29445 ;
29446 return 0;
29447 }
29448 _ACEOF
29449 rm -f conftest.$ac_objext conftest$ac_exeext
29450 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29451 - (eval $ac_link) 2>conftest.er1
29452 +if { (ac_try="$ac_link"
29453 +case "(($ac_try" in
29454 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29455 + *) ac_try_echo=$ac_try;;
29456 +esac
29457 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29458 + (eval "$ac_link") 2>conftest.er1
29459 ac_status=$?
29460 grep -v '^ *+' conftest.er1 >conftest.err
29461 rm -f conftest.er1
29462 cat conftest.err >&5
29463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29464 - (exit $ac_status); } &&
29465 - { ac_try='test -z "$ac_c_werror_flag"
29466 - || test ! -s conftest.err'
29467 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29468 - (eval $ac_try) 2>&5
29469 - ac_status=$?
29470 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
29471 - (exit $ac_status); }; } &&
29472 - { ac_try='test -s conftest$ac_exeext'
29473 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29474 - (eval $ac_try) 2>&5
29475 - ac_status=$?
29476 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
29477 - (exit $ac_status); }; }; then
29478 + (exit $ac_status); } && {
29479 + test -z "$ac_c_werror_flag" ||
29480 + test ! -s conftest.err
29481 + } && test -s conftest$ac_exeext &&
29482 + $as_test_x conftest$ac_exeext; then
29483 eval "$as_ac_var=yes"
29484 else
29485 echo "$as_me: failed program was:" >&5
29486 sed 's/^/| /' conftest.$ac_ext >&5
29487
29488 -eval "$as_ac_var=no"
29489 + eval "$as_ac_var=no"
29490 fi
29491 -rm -f conftest.err conftest.$ac_objext \
29492 +
29493 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29494 conftest$ac_exeext conftest.$ac_ext
29495 fi
29496 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29497 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29498 +ac_res=`eval echo '${'$as_ac_var'}'`
29499 + { echo "$as_me:$LINENO: result: $ac_res" >&5
29500 +echo "${ECHO_T}$ac_res" >&6; }
29501 if test `eval echo '${'$as_ac_var'}'` = yes; then
29502 cat >>confdefs.h <<_ACEOF
29503 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29504 @@ -7243,9 +7799,9 @@
29505 for ac_func in stpcpy
29506 do
29507 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29508 -echo "$as_me:$LINENO: checking for $ac_func" >&5
29509 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29510 -if eval "test \"\${$as_ac_var+set}\" = set"; then
29511 +{ echo "$as_me:$LINENO: checking for $ac_func" >&5
29512 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
29513 +if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
29514 echo $ECHO_N "(cached) $ECHO_C" >&6
29515 else
29516 cat >conftest.$ac_ext <<_ACEOF
29517 @@ -7271,68 +7827,60 @@
29518
29519 #undef $ac_func
29520
29521 -/* Override any gcc2 internal prototype to avoid an error. */
29522 +/* Override any GCC internal prototype to avoid an error.
29523 + Use char because int might match the return type of a GCC
29524 + builtin and then its argument prototype would still apply. */
29525 #ifdef __cplusplus
29526 extern "C"
29527 -{
29528 #endif
29529 -/* We use char because int might match the return type of a gcc2
29530 - builtin and then its argument prototype would still apply. */
29531 char $ac_func ();
29532 /* The GNU C library defines this for functions which it implements
29533 to always fail with ENOSYS. Some functions are actually named
29534 something starting with __ and the normal name is an alias. */
29535 -#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29536 +#if defined __stub_$ac_func || defined __stub___$ac_func
29537 choke me
29538 -#else
29539 -char (*f) () = $ac_func;
29540 -#endif
29541 -#ifdef __cplusplus
29542 -}
29543 #endif
29544
29545 int
29546 main ()
29547 {
29548 -return f != $ac_func;
29549 +return $ac_func ();
29550 ;
29551 return 0;
29552 }
29553 _ACEOF
29554 rm -f conftest.$ac_objext conftest$ac_exeext
29555 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29556 - (eval $ac_link) 2>conftest.er1
29557 +if { (ac_try="$ac_link"
29558 +case "(($ac_try" in
29559 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29560 + *) ac_try_echo=$ac_try;;
29561 +esac
29562 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29563 + (eval "$ac_link") 2>conftest.er1
29564 ac_status=$?
29565 grep -v '^ *+' conftest.er1 >conftest.err
29566 rm -f conftest.er1
29567 cat conftest.err >&5
29568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29569 - (exit $ac_status); } &&
29570 - { ac_try='test -z "$ac_c_werror_flag"
29571 - || test ! -s conftest.err'
29572 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29573 - (eval $ac_try) 2>&5
29574 - ac_status=$?
29575 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
29576 - (exit $ac_status); }; } &&
29577 - { ac_try='test -s conftest$ac_exeext'
29578 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29579 - (eval $ac_try) 2>&5
29580 - ac_status=$?
29581 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
29582 - (exit $ac_status); }; }; then
29583 + (exit $ac_status); } && {
29584 + test -z "$ac_c_werror_flag" ||
29585 + test ! -s conftest.err
29586 + } && test -s conftest$ac_exeext &&
29587 + $as_test_x conftest$ac_exeext; then
29588 eval "$as_ac_var=yes"
29589 else
29590 echo "$as_me: failed program was:" >&5
29591 sed 's/^/| /' conftest.$ac_ext >&5
29592
29593 -eval "$as_ac_var=no"
29594 + eval "$as_ac_var=no"
29595 fi
29596 -rm -f conftest.err conftest.$ac_objext \
29597 +
29598 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29599 conftest$ac_exeext conftest.$ac_ext
29600 fi
29601 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29602 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29603 +ac_res=`eval echo '${'$as_ac_var'}'`
29604 + { echo "$as_me:$LINENO: result: $ac_res" >&5
29605 +echo "${ECHO_T}$ac_res" >&6; }
29606 if test `eval echo '${'$as_ac_var'}'` = yes; then
29607 cat >>confdefs.h <<_ACEOF
29608 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29609 @@ -7351,8 +7899,8 @@
29610 fi
29611
29612 if test $ac_cv_header_locale_h = yes; then
29613 - echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
29614 -echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
29615 + { echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
29616 +echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6; }
29617 if test "${am_cv_val_LC_MESSAGES+set}" = set; then
29618 echo $ECHO_N "(cached) $ECHO_C" >&6
29619 else
29620 @@ -7372,39 +7920,36 @@
29621 }
29622 _ACEOF
29623 rm -f conftest.$ac_objext conftest$ac_exeext
29624 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29625 - (eval $ac_link) 2>conftest.er1
29626 +if { (ac_try="$ac_link"
29627 +case "(($ac_try" in
29628 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29629 + *) ac_try_echo=$ac_try;;
29630 +esac
29631 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29632 + (eval "$ac_link") 2>conftest.er1
29633 ac_status=$?
29634 grep -v '^ *+' conftest.er1 >conftest.err
29635 rm -f conftest.er1
29636 cat conftest.err >&5
29637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29638 - (exit $ac_status); } &&
29639 - { ac_try='test -z "$ac_c_werror_flag"
29640 - || test ! -s conftest.err'
29641 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29642 - (eval $ac_try) 2>&5
29643 - ac_status=$?
29644 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
29645 - (exit $ac_status); }; } &&
29646 - { ac_try='test -s conftest$ac_exeext'
29647 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29648 - (eval $ac_try) 2>&5
29649 - ac_status=$?
29650 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
29651 - (exit $ac_status); }; }; then
29652 + (exit $ac_status); } && {
29653 + test -z "$ac_c_werror_flag" ||
29654 + test ! -s conftest.err
29655 + } && test -s conftest$ac_exeext &&
29656 + $as_test_x conftest$ac_exeext; then
29657 am_cv_val_LC_MESSAGES=yes
29658 else
29659 echo "$as_me: failed program was:" >&5
29660 sed 's/^/| /' conftest.$ac_ext >&5
29661
29662 -am_cv_val_LC_MESSAGES=no
29663 + am_cv_val_LC_MESSAGES=no
29664 fi
29665 -rm -f conftest.err conftest.$ac_objext \
29666 +
29667 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29668 conftest$ac_exeext conftest.$ac_ext
29669 fi
29670 -echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
29671 -echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6
29672 +{ echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
29673 +echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6; }
29674 if test $am_cv_val_LC_MESSAGES = yes; then
29675
29676 cat >>confdefs.h <<\_ACEOF
29677 @@ -7413,34 +7958,34 @@
29678
29679 fi
29680 fi
29681 - echo "$as_me:$LINENO: checking whether NLS is requested" >&5
29682 -echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
29683 - # Check whether --enable-nls or --disable-nls was given.
29684 + { echo "$as_me:$LINENO: checking whether NLS is requested" >&5
29685 +echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6; }
29686 + # Check whether --enable-nls was given.
29687 if test "${enable_nls+set}" = set; then
29688 - enableval="$enable_nls"
29689 - USE_NLS=$enableval
29690 + enableval=$enable_nls; USE_NLS=$enableval
29691 else
29692 USE_NLS=yes
29693 -fi;
29694 - echo "$as_me:$LINENO: result: $USE_NLS" >&5
29695 -echo "${ECHO_T}$USE_NLS" >&6
29696 +fi
29697 +
29698 + { echo "$as_me:$LINENO: result: $USE_NLS" >&5
29699 +echo "${ECHO_T}$USE_NLS" >&6; }
29700
29701
29702 USE_INCLUDED_LIBINTL=no
29703
29704 if test "$USE_NLS" = "yes"; then
29705 - echo "$as_me:$LINENO: checking whether included gettext is requested" >&5
29706 -echo $ECHO_N "checking whether included gettext is requested... $ECHO_C" >&6
29707 + { echo "$as_me:$LINENO: checking whether included gettext is requested" >&5
29708 +echo $ECHO_N "checking whether included gettext is requested... $ECHO_C" >&6; }
29709
29710 -# Check whether --with-included-gettext or --without-included-gettext was given.
29711 +# Check whether --with-included-gettext was given.
29712 if test "${with_included_gettext+set}" = set; then
29713 - withval="$with_included_gettext"
29714 - nls_cv_force_use_gnu_gettext=$withval
29715 + withval=$with_included_gettext; nls_cv_force_use_gnu_gettext=$withval
29716 else
29717 nls_cv_force_use_gnu_gettext=no
29718 -fi;
29719 - echo "$as_me:$LINENO: result: $nls_cv_force_use_gnu_gettext" >&5
29720 -echo "${ECHO_T}$nls_cv_force_use_gnu_gettext" >&6
29721 +fi
29722 +
29723 + { echo "$as_me:$LINENO: result: $nls_cv_force_use_gnu_gettext" >&5
29724 +echo "${ECHO_T}$nls_cv_force_use_gnu_gettext" >&6; }
29725
29726 nls_cv_use_gnu_gettext="$nls_cv_force_use_gnu_gettext"
29727 if test "$nls_cv_force_use_gnu_gettext" != "yes"; then
29728 @@ -7449,17 +7994,17 @@
29729 CATOBJEXT=
29730
29731 if test "${ac_cv_header_libintl_h+set}" = set; then
29732 - echo "$as_me:$LINENO: checking for libintl.h" >&5
29733 -echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6
29734 + { echo "$as_me:$LINENO: checking for libintl.h" >&5
29735 +echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6; }
29736 if test "${ac_cv_header_libintl_h+set}" = set; then
29737 echo $ECHO_N "(cached) $ECHO_C" >&6
29738 fi
29739 -echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
29740 -echo "${ECHO_T}$ac_cv_header_libintl_h" >&6
29741 +{ echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
29742 +echo "${ECHO_T}$ac_cv_header_libintl_h" >&6; }
29743 else
29744 # Is the header compilable?
29745 -echo "$as_me:$LINENO: checking libintl.h usability" >&5
29746 -echo $ECHO_N "checking libintl.h usability... $ECHO_C" >&6
29747 +{ echo "$as_me:$LINENO: checking libintl.h usability" >&5
29748 +echo $ECHO_N "checking libintl.h usability... $ECHO_C" >&6; }
29749 cat >conftest.$ac_ext <<_ACEOF
29750 /* confdefs.h. */
29751 _ACEOF
29752 @@ -7470,41 +8015,37 @@
29753 #include <libintl.h>
29754 _ACEOF
29755 rm -f conftest.$ac_objext
29756 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29757 - (eval $ac_compile) 2>conftest.er1
29758 +if { (ac_try="$ac_compile"
29759 +case "(($ac_try" in
29760 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29761 + *) ac_try_echo=$ac_try;;
29762 +esac
29763 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29764 + (eval "$ac_compile") 2>conftest.er1
29765 ac_status=$?
29766 grep -v '^ *+' conftest.er1 >conftest.err
29767 rm -f conftest.er1
29768 cat conftest.err >&5
29769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29770 - (exit $ac_status); } &&
29771 - { ac_try='test -z "$ac_c_werror_flag"
29772 - || test ! -s conftest.err'
29773 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29774 - (eval $ac_try) 2>&5
29775 - ac_status=$?
29776 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
29777 - (exit $ac_status); }; } &&
29778 - { ac_try='test -s conftest.$ac_objext'
29779 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29780 - (eval $ac_try) 2>&5
29781 - ac_status=$?
29782 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
29783 - (exit $ac_status); }; }; then
29784 + (exit $ac_status); } && {
29785 + test -z "$ac_c_werror_flag" ||
29786 + test ! -s conftest.err
29787 + } && test -s conftest.$ac_objext; then
29788 ac_header_compiler=yes
29789 else
29790 echo "$as_me: failed program was:" >&5
29791 sed 's/^/| /' conftest.$ac_ext >&5
29792
29793 -ac_header_compiler=no
29794 + ac_header_compiler=no
29795 fi
29796 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29797 -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29798 -echo "${ECHO_T}$ac_header_compiler" >&6
29799 +
29800 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29801 +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29802 +echo "${ECHO_T}$ac_header_compiler" >&6; }
29803
29804 # Is the header present?
29805 -echo "$as_me:$LINENO: checking libintl.h presence" >&5
29806 -echo $ECHO_N "checking libintl.h presence... $ECHO_C" >&6
29807 +{ echo "$as_me:$LINENO: checking libintl.h presence" >&5
29808 +echo $ECHO_N "checking libintl.h presence... $ECHO_C" >&6; }
29809 cat >conftest.$ac_ext <<_ACEOF
29810 /* confdefs.h. */
29811 _ACEOF
29812 @@ -7513,24 +8054,22 @@
29813 /* end confdefs.h. */
29814 #include <libintl.h>
29815 _ACEOF
29816 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29817 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29818 +if { (ac_try="$ac_cpp conftest.$ac_ext"
29819 +case "(($ac_try" in
29820 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29821 + *) ac_try_echo=$ac_try;;
29822 +esac
29823 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29824 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
29825 ac_status=$?
29826 grep -v '^ *+' conftest.er1 >conftest.err
29827 rm -f conftest.er1
29828 cat conftest.err >&5
29829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29830 - (exit $ac_status); } >/dev/null; then
29831 - if test -s conftest.err; then
29832 - ac_cpp_err=$ac_c_preproc_warn_flag
29833 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
29834 - else
29835 - ac_cpp_err=
29836 - fi
29837 -else
29838 - ac_cpp_err=yes
29839 -fi
29840 -if test -z "$ac_cpp_err"; then
29841 + (exit $ac_status); } >/dev/null && {
29842 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
29843 + test ! -s conftest.err
29844 + }; then
29845 ac_header_preproc=yes
29846 else
29847 echo "$as_me: failed program was:" >&5
29848 @@ -7538,9 +8077,10 @@
29849
29850 ac_header_preproc=no
29851 fi
29852 +
29853 rm -f conftest.err conftest.$ac_ext
29854 -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29855 -echo "${ECHO_T}$ac_header_preproc" >&6
29856 +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29857 +echo "${ECHO_T}$ac_header_preproc" >&6; }
29858
29859 # So? What about this header?
29860 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29861 @@ -7564,30 +8104,23 @@
29862 echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;}
29863 { echo "$as_me:$LINENO: WARNING: libintl.h: in the future, the compiler will take precedence" >&5
29864 echo "$as_me: WARNING: libintl.h: in the future, the compiler will take precedence" >&2;}
29865 - (
29866 - cat <<\_ASBOX
29867 -## ------------------------------------------ ##
29868 -## Report this to the AC_PACKAGE_NAME lists. ##
29869 -## ------------------------------------------ ##
29870 -_ASBOX
29871 - ) |
29872 - sed "s/^/$as_me: WARNING: /" >&2
29873 +
29874 ;;
29875 esac
29876 -echo "$as_me:$LINENO: checking for libintl.h" >&5
29877 -echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6
29878 +{ echo "$as_me:$LINENO: checking for libintl.h" >&5
29879 +echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6; }
29880 if test "${ac_cv_header_libintl_h+set}" = set; then
29881 echo $ECHO_N "(cached) $ECHO_C" >&6
29882 else
29883 ac_cv_header_libintl_h=$ac_header_preproc
29884 fi
29885 -echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
29886 -echo "${ECHO_T}$ac_cv_header_libintl_h" >&6
29887 +{ echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
29888 +echo "${ECHO_T}$ac_cv_header_libintl_h" >&6; }
29889
29890 fi
29891 if test $ac_cv_header_libintl_h = yes; then
29892 - echo "$as_me:$LINENO: checking for gettext in libc" >&5
29893 -echo $ECHO_N "checking for gettext in libc... $ECHO_C" >&6
29894 + { echo "$as_me:$LINENO: checking for gettext in libc" >&5
29895 +echo $ECHO_N "checking for gettext in libc... $ECHO_C" >&6; }
29896 if test "${gt_cv_func_gettext_libc+set}" = set; then
29897 echo $ECHO_N "(cached) $ECHO_C" >&6
29898 else
29899 @@ -7607,43 +8140,40 @@
29900 }
29901 _ACEOF
29902 rm -f conftest.$ac_objext conftest$ac_exeext
29903 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29904 - (eval $ac_link) 2>conftest.er1
29905 +if { (ac_try="$ac_link"
29906 +case "(($ac_try" in
29907 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29908 + *) ac_try_echo=$ac_try;;
29909 +esac
29910 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29911 + (eval "$ac_link") 2>conftest.er1
29912 ac_status=$?
29913 grep -v '^ *+' conftest.er1 >conftest.err
29914 rm -f conftest.er1
29915 cat conftest.err >&5
29916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29917 - (exit $ac_status); } &&
29918 - { ac_try='test -z "$ac_c_werror_flag"
29919 - || test ! -s conftest.err'
29920 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29921 - (eval $ac_try) 2>&5
29922 - ac_status=$?
29923 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
29924 - (exit $ac_status); }; } &&
29925 - { ac_try='test -s conftest$ac_exeext'
29926 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29927 - (eval $ac_try) 2>&5
29928 - ac_status=$?
29929 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
29930 - (exit $ac_status); }; }; then
29931 + (exit $ac_status); } && {
29932 + test -z "$ac_c_werror_flag" ||
29933 + test ! -s conftest.err
29934 + } && test -s conftest$ac_exeext &&
29935 + $as_test_x conftest$ac_exeext; then
29936 gt_cv_func_gettext_libc=yes
29937 else
29938 echo "$as_me: failed program was:" >&5
29939 sed 's/^/| /' conftest.$ac_ext >&5
29940
29941 -gt_cv_func_gettext_libc=no
29942 + gt_cv_func_gettext_libc=no
29943 fi
29944 -rm -f conftest.err conftest.$ac_objext \
29945 +
29946 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29947 conftest$ac_exeext conftest.$ac_ext
29948 fi
29949 -echo "$as_me:$LINENO: result: $gt_cv_func_gettext_libc" >&5
29950 -echo "${ECHO_T}$gt_cv_func_gettext_libc" >&6
29951 +{ echo "$as_me:$LINENO: result: $gt_cv_func_gettext_libc" >&5
29952 +echo "${ECHO_T}$gt_cv_func_gettext_libc" >&6; }
29953
29954 if test "$gt_cv_func_gettext_libc" != "yes"; then
29955 - echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5
29956 -echo $ECHO_N "checking for bindtextdomain in -lintl... $ECHO_C" >&6
29957 + { echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5
29958 +echo $ECHO_N "checking for bindtextdomain in -lintl... $ECHO_C" >&6; }
29959 if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then
29960 echo $ECHO_N "(cached) $ECHO_C" >&6
29961 else
29962 @@ -7656,59 +8186,56 @@
29963 cat >>conftest.$ac_ext <<_ACEOF
29964 /* end confdefs.h. */
29965
29966 -/* Override any gcc2 internal prototype to avoid an error. */
29967 +/* Override any GCC internal prototype to avoid an error.
29968 + Use char because int might match the return type of a GCC
29969 + builtin and then its argument prototype would still apply. */
29970 #ifdef __cplusplus
29971 extern "C"
29972 #endif
29973 -/* We use char because int might match the return type of a gcc2
29974 - builtin and then its argument prototype would still apply. */
29975 char bindtextdomain ();
29976 int
29977 main ()
29978 {
29979 -bindtextdomain ();
29980 +return bindtextdomain ();
29981 ;
29982 return 0;
29983 }
29984 _ACEOF
29985 rm -f conftest.$ac_objext conftest$ac_exeext
29986 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29987 - (eval $ac_link) 2>conftest.er1
29988 +if { (ac_try="$ac_link"
29989 +case "(($ac_try" in
29990 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29991 + *) ac_try_echo=$ac_try;;
29992 +esac
29993 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29994 + (eval "$ac_link") 2>conftest.er1
29995 ac_status=$?
29996 grep -v '^ *+' conftest.er1 >conftest.err
29997 rm -f conftest.er1
29998 cat conftest.err >&5
29999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30000 - (exit $ac_status); } &&
30001 - { ac_try='test -z "$ac_c_werror_flag"
30002 - || test ! -s conftest.err'
30003 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30004 - (eval $ac_try) 2>&5
30005 - ac_status=$?
30006 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
30007 - (exit $ac_status); }; } &&
30008 - { ac_try='test -s conftest$ac_exeext'
30009 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30010 - (eval $ac_try) 2>&5
30011 - ac_status=$?
30012 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
30013 - (exit $ac_status); }; }; then
30014 + (exit $ac_status); } && {
30015 + test -z "$ac_c_werror_flag" ||
30016 + test ! -s conftest.err
30017 + } && test -s conftest$ac_exeext &&
30018 + $as_test_x conftest$ac_exeext; then
30019 ac_cv_lib_intl_bindtextdomain=yes
30020 else
30021 echo "$as_me: failed program was:" >&5
30022 sed 's/^/| /' conftest.$ac_ext >&5
30023
30024 -ac_cv_lib_intl_bindtextdomain=no
30025 + ac_cv_lib_intl_bindtextdomain=no
30026 fi
30027 -rm -f conftest.err conftest.$ac_objext \
30028 +
30029 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30030 conftest$ac_exeext conftest.$ac_ext
30031 LIBS=$ac_check_lib_save_LIBS
30032 fi
30033 -echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5
30034 -echo "${ECHO_T}$ac_cv_lib_intl_bindtextdomain" >&6
30035 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5
30036 +echo "${ECHO_T}$ac_cv_lib_intl_bindtextdomain" >&6; }
30037 if test $ac_cv_lib_intl_bindtextdomain = yes; then
30038 - echo "$as_me:$LINENO: checking for gettext in libintl" >&5
30039 -echo $ECHO_N "checking for gettext in libintl... $ECHO_C" >&6
30040 + { echo "$as_me:$LINENO: checking for gettext in libintl" >&5
30041 +echo $ECHO_N "checking for gettext in libintl... $ECHO_C" >&6; }
30042 if test "${gt_cv_func_gettext_libintl+set}" = set; then
30043 echo $ECHO_N "(cached) $ECHO_C" >&6
30044 else
30045 @@ -7728,39 +8255,36 @@
30046 }
30047 _ACEOF
30048 rm -f conftest.$ac_objext conftest$ac_exeext
30049 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30050 - (eval $ac_link) 2>conftest.er1
30051 +if { (ac_try="$ac_link"
30052 +case "(($ac_try" in
30053 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30054 + *) ac_try_echo=$ac_try;;
30055 +esac
30056 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30057 + (eval "$ac_link") 2>conftest.er1
30058 ac_status=$?
30059 grep -v '^ *+' conftest.er1 >conftest.err
30060 rm -f conftest.er1
30061 cat conftest.err >&5
30062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30063 - (exit $ac_status); } &&
30064 - { ac_try='test -z "$ac_c_werror_flag"
30065 - || test ! -s conftest.err'
30066 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30067 - (eval $ac_try) 2>&5
30068 - ac_status=$?
30069 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
30070 - (exit $ac_status); }; } &&
30071 - { ac_try='test -s conftest$ac_exeext'
30072 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30073 - (eval $ac_try) 2>&5
30074 - ac_status=$?
30075 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
30076 - (exit $ac_status); }; }; then
30077 + (exit $ac_status); } && {
30078 + test -z "$ac_c_werror_flag" ||
30079 + test ! -s conftest.err
30080 + } && test -s conftest$ac_exeext &&
30081 + $as_test_x conftest$ac_exeext; then
30082 gt_cv_func_gettext_libintl=yes
30083 else
30084 echo "$as_me: failed program was:" >&5
30085 sed 's/^/| /' conftest.$ac_ext >&5
30086
30087 -gt_cv_func_gettext_libintl=no
30088 + gt_cv_func_gettext_libintl=no
30089 fi
30090 -rm -f conftest.err conftest.$ac_objext \
30091 +
30092 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30093 conftest$ac_exeext conftest.$ac_ext
30094 fi
30095 -echo "$as_me:$LINENO: result: $gt_cv_func_gettext_libintl" >&5
30096 -echo "${ECHO_T}$gt_cv_func_gettext_libintl" >&6
30097 +{ echo "$as_me:$LINENO: result: $gt_cv_func_gettext_libintl" >&5
30098 +echo "${ECHO_T}$gt_cv_func_gettext_libintl" >&6; }
30099 fi
30100
30101 fi
30102 @@ -7774,8 +8298,8 @@
30103
30104 # Extract the first word of "msgfmt", so it can be a program name with args.
30105 set dummy msgfmt; ac_word=$2
30106 -echo "$as_me:$LINENO: checking for $ac_word" >&5
30107 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
30108 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
30109 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30110 if test "${ac_cv_path_MSGFMT+set}" = set; then
30111 echo $ECHO_N "(cached) $ECHO_C" >&6
30112 else
30113 @@ -7801,20 +8325,20 @@
30114 fi
30115 MSGFMT="$ac_cv_path_MSGFMT"
30116 if test -n "$MSGFMT"; then
30117 - echo "$as_me:$LINENO: result: $MSGFMT" >&5
30118 -echo "${ECHO_T}$MSGFMT" >&6
30119 + { echo "$as_me:$LINENO: result: $MSGFMT" >&5
30120 +echo "${ECHO_T}$MSGFMT" >&6; }
30121 else
30122 - echo "$as_me:$LINENO: result: no" >&5
30123 -echo "${ECHO_T}no" >&6
30124 + { echo "$as_me:$LINENO: result: no" >&5
30125 +echo "${ECHO_T}no" >&6; }
30126 fi
30127 if test "$MSGFMT" != "no"; then
30128
30129 for ac_func in dcgettext
30130 do
30131 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30132 -echo "$as_me:$LINENO: checking for $ac_func" >&5
30133 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30134 -if eval "test \"\${$as_ac_var+set}\" = set"; then
30135 +{ echo "$as_me:$LINENO: checking for $ac_func" >&5
30136 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
30137 +if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
30138 echo $ECHO_N "(cached) $ECHO_C" >&6
30139 else
30140 cat >conftest.$ac_ext <<_ACEOF
30141 @@ -7840,68 +8364,60 @@
30142
30143 #undef $ac_func
30144
30145 -/* Override any gcc2 internal prototype to avoid an error. */
30146 +/* Override any GCC internal prototype to avoid an error.
30147 + Use char because int might match the return type of a GCC
30148 + builtin and then its argument prototype would still apply. */
30149 #ifdef __cplusplus
30150 extern "C"
30151 -{
30152 #endif
30153 -/* We use char because int might match the return type of a gcc2
30154 - builtin and then its argument prototype would still apply. */
30155 char $ac_func ();
30156 /* The GNU C library defines this for functions which it implements
30157 to always fail with ENOSYS. Some functions are actually named
30158 something starting with __ and the normal name is an alias. */
30159 -#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30160 +#if defined __stub_$ac_func || defined __stub___$ac_func
30161 choke me
30162 -#else
30163 -char (*f) () = $ac_func;
30164 -#endif
30165 -#ifdef __cplusplus
30166 -}
30167 #endif
30168
30169 int
30170 main ()
30171 {
30172 -return f != $ac_func;
30173 +return $ac_func ();
30174 ;
30175 return 0;
30176 }
30177 _ACEOF
30178 rm -f conftest.$ac_objext conftest$ac_exeext
30179 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30180 - (eval $ac_link) 2>conftest.er1
30181 +if { (ac_try="$ac_link"
30182 +case "(($ac_try" in
30183 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30184 + *) ac_try_echo=$ac_try;;
30185 +esac
30186 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30187 + (eval "$ac_link") 2>conftest.er1
30188 ac_status=$?
30189 grep -v '^ *+' conftest.er1 >conftest.err
30190 rm -f conftest.er1
30191 cat conftest.err >&5
30192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30193 - (exit $ac_status); } &&
30194 - { ac_try='test -z "$ac_c_werror_flag"
30195 - || test ! -s conftest.err'
30196 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30197 - (eval $ac_try) 2>&5
30198 - ac_status=$?
30199 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
30200 - (exit $ac_status); }; } &&
30201 - { ac_try='test -s conftest$ac_exeext'
30202 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30203 - (eval $ac_try) 2>&5
30204 - ac_status=$?
30205 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
30206 - (exit $ac_status); }; }; then
30207 + (exit $ac_status); } && {
30208 + test -z "$ac_c_werror_flag" ||
30209 + test ! -s conftest.err
30210 + } && test -s conftest$ac_exeext &&
30211 + $as_test_x conftest$ac_exeext; then
30212 eval "$as_ac_var=yes"
30213 else
30214 echo "$as_me: failed program was:" >&5
30215 sed 's/^/| /' conftest.$ac_ext >&5
30216
30217 -eval "$as_ac_var=no"
30218 + eval "$as_ac_var=no"
30219 fi
30220 -rm -f conftest.err conftest.$ac_objext \
30221 +
30222 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30223 conftest$ac_exeext conftest.$ac_ext
30224 fi
30225 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30226 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30227 +ac_res=`eval echo '${'$as_ac_var'}'`
30228 + { echo "$as_me:$LINENO: result: $ac_res" >&5
30229 +echo "${ECHO_T}$ac_res" >&6; }
30230 if test `eval echo '${'$as_ac_var'}'` = yes; then
30231 cat >>confdefs.h <<_ACEOF
30232 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30233 @@ -7912,8 +8428,8 @@
30234
30235 # Extract the first word of "gmsgfmt", so it can be a program name with args.
30236 set dummy gmsgfmt; ac_word=$2
30237 -echo "$as_me:$LINENO: checking for $ac_word" >&5
30238 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
30239 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
30240 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30241 if test "${ac_cv_path_GMSGFMT+set}" = set; then
30242 echo $ECHO_N "(cached) $ECHO_C" >&6
30243 else
30244 @@ -7928,32 +8444,33 @@
30245 IFS=$as_save_IFS
30246 test -z "$as_dir" && as_dir=.
30247 for ac_exec_ext in '' $ac_executable_extensions; do
30248 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
30249 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30250 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
30251 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30252 break 2
30253 fi
30254 done
30255 done
30256 +IFS=$as_save_IFS
30257
30258 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
30259 ;;
30260 esac
30261 fi
30262 GMSGFMT=$ac_cv_path_GMSGFMT
30263 -
30264 if test -n "$GMSGFMT"; then
30265 - echo "$as_me:$LINENO: result: $GMSGFMT" >&5
30266 -echo "${ECHO_T}$GMSGFMT" >&6
30267 + { echo "$as_me:$LINENO: result: $GMSGFMT" >&5
30268 +echo "${ECHO_T}$GMSGFMT" >&6; }
30269 else
30270 - echo "$as_me:$LINENO: result: no" >&5
30271 -echo "${ECHO_T}no" >&6
30272 + { echo "$as_me:$LINENO: result: no" >&5
30273 +echo "${ECHO_T}no" >&6; }
30274 fi
30275
30276 +
30277 # Extract the first word of "xgettext", so it can be a program name with args.
30278 set dummy xgettext; ac_word=$2
30279 -echo "$as_me:$LINENO: checking for $ac_word" >&5
30280 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
30281 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
30282 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30283 if test "${ac_cv_path_XGETTEXT+set}" = set; then
30284 echo $ECHO_N "(cached) $ECHO_C" >&6
30285 else
30286 @@ -7979,11 +8496,11 @@
30287 fi
30288 XGETTEXT="$ac_cv_path_XGETTEXT"
30289 if test -n "$XGETTEXT"; then
30290 - echo "$as_me:$LINENO: result: $XGETTEXT" >&5
30291 -echo "${ECHO_T}$XGETTEXT" >&6
30292 + { echo "$as_me:$LINENO: result: $XGETTEXT" >&5
30293 +echo "${ECHO_T}$XGETTEXT" >&6; }
30294 else
30295 - echo "$as_me:$LINENO: result: no" >&5
30296 -echo "${ECHO_T}no" >&6
30297 + { echo "$as_me:$LINENO: result: no" >&5
30298 +echo "${ECHO_T}no" >&6; }
30299 fi
30300
30301 cat >conftest.$ac_ext <<_ACEOF
30302 @@ -8003,37 +8520,34 @@
30303 }
30304 _ACEOF
30305 rm -f conftest.$ac_objext conftest$ac_exeext
30306 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30307 - (eval $ac_link) 2>conftest.er1
30308 +if { (ac_try="$ac_link"
30309 +case "(($ac_try" in
30310 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30311 + *) ac_try_echo=$ac_try;;
30312 +esac
30313 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30314 + (eval "$ac_link") 2>conftest.er1
30315 ac_status=$?
30316 grep -v '^ *+' conftest.er1 >conftest.err
30317 rm -f conftest.er1
30318 cat conftest.err >&5
30319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30320 - (exit $ac_status); } &&
30321 - { ac_try='test -z "$ac_c_werror_flag"
30322 - || test ! -s conftest.err'
30323 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30324 - (eval $ac_try) 2>&5
30325 - ac_status=$?
30326 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
30327 - (exit $ac_status); }; } &&
30328 - { ac_try='test -s conftest$ac_exeext'
30329 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30330 - (eval $ac_try) 2>&5
30331 - ac_status=$?
30332 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
30333 - (exit $ac_status); }; }; then
30334 + (exit $ac_status); } && {
30335 + test -z "$ac_c_werror_flag" ||
30336 + test ! -s conftest.err
30337 + } && test -s conftest$ac_exeext &&
30338 + $as_test_x conftest$ac_exeext; then
30339 CATOBJEXT=.gmo
30340 DATADIRNAME=share
30341 else
30342 echo "$as_me: failed program was:" >&5
30343 sed 's/^/| /' conftest.$ac_ext >&5
30344
30345 -CATOBJEXT=.mo
30346 + CATOBJEXT=.mo
30347 DATADIRNAME=lib
30348 fi
30349 -rm -f conftest.err conftest.$ac_objext \
30350 +
30351 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30352 conftest$ac_exeext conftest.$ac_ext
30353 INSTOBJEXT=.mo
30354 fi
30355 @@ -8055,8 +8569,8 @@
30356 INTLOBJS="\$(GETTOBJS)"
30357 # Extract the first word of "msgfmt", so it can be a program name with args.
30358 set dummy msgfmt; ac_word=$2
30359 -echo "$as_me:$LINENO: checking for $ac_word" >&5
30360 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
30361 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
30362 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30363 if test "${ac_cv_path_MSGFMT+set}" = set; then
30364 echo $ECHO_N "(cached) $ECHO_C" >&6
30365 else
30366 @@ -8082,17 +8596,17 @@
30367 fi
30368 MSGFMT="$ac_cv_path_MSGFMT"
30369 if test -n "$MSGFMT"; then
30370 - echo "$as_me:$LINENO: result: $MSGFMT" >&5
30371 -echo "${ECHO_T}$MSGFMT" >&6
30372 + { echo "$as_me:$LINENO: result: $MSGFMT" >&5
30373 +echo "${ECHO_T}$MSGFMT" >&6; }
30374 else
30375 - echo "$as_me:$LINENO: result: no" >&5
30376 -echo "${ECHO_T}no" >&6
30377 + { echo "$as_me:$LINENO: result: no" >&5
30378 +echo "${ECHO_T}no" >&6; }
30379 fi
30380
30381 # Extract the first word of "gmsgfmt", so it can be a program name with args.
30382 set dummy gmsgfmt; ac_word=$2
30383 -echo "$as_me:$LINENO: checking for $ac_word" >&5
30384 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
30385 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
30386 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30387 if test "${ac_cv_path_GMSGFMT+set}" = set; then
30388 echo $ECHO_N "(cached) $ECHO_C" >&6
30389 else
30390 @@ -8107,32 +8621,33 @@
30391 IFS=$as_save_IFS
30392 test -z "$as_dir" && as_dir=.
30393 for ac_exec_ext in '' $ac_executable_extensions; do
30394 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
30395 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30396 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
30397 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30398 break 2
30399 fi
30400 done
30401 done
30402 +IFS=$as_save_IFS
30403
30404 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
30405 ;;
30406 esac
30407 fi
30408 GMSGFMT=$ac_cv_path_GMSGFMT
30409 -
30410 if test -n "$GMSGFMT"; then
30411 - echo "$as_me:$LINENO: result: $GMSGFMT" >&5
30412 -echo "${ECHO_T}$GMSGFMT" >&6
30413 + { echo "$as_me:$LINENO: result: $GMSGFMT" >&5
30414 +echo "${ECHO_T}$GMSGFMT" >&6; }
30415 else
30416 - echo "$as_me:$LINENO: result: no" >&5
30417 -echo "${ECHO_T}no" >&6
30418 + { echo "$as_me:$LINENO: result: no" >&5
30419 +echo "${ECHO_T}no" >&6; }
30420 fi
30421
30422 +
30423 # Extract the first word of "xgettext", so it can be a program name with args.
30424 set dummy xgettext; ac_word=$2
30425 -echo "$as_me:$LINENO: checking for $ac_word" >&5
30426 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
30427 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
30428 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30429 if test "${ac_cv_path_XGETTEXT+set}" = set; then
30430 echo $ECHO_N "(cached) $ECHO_C" >&6
30431 else
30432 @@ -8158,11 +8673,11 @@
30433 fi
30434 XGETTEXT="$ac_cv_path_XGETTEXT"
30435 if test -n "$XGETTEXT"; then
30436 - echo "$as_me:$LINENO: result: $XGETTEXT" >&5
30437 -echo "${ECHO_T}$XGETTEXT" >&6
30438 + { echo "$as_me:$LINENO: result: $XGETTEXT" >&5
30439 +echo "${ECHO_T}$XGETTEXT" >&6; }
30440 else
30441 - echo "$as_me:$LINENO: result: no" >&5
30442 -echo "${ECHO_T}no" >&6
30443 + { echo "$as_me:$LINENO: result: no" >&5
30444 +echo "${ECHO_T}no" >&6; }
30445 fi
30446
30447
30448 @@ -8181,8 +8696,8 @@
30449 if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
30450 : ;
30451 else
30452 - echo "$as_me:$LINENO: result: found xgettext programs is not GNU xgettext; ignore it" >&5
30453 -echo "${ECHO_T}found xgettext programs is not GNU xgettext; ignore it" >&6
30454 + { echo "$as_me:$LINENO: result: found xgettext programs is not GNU xgettext; ignore it" >&5
30455 +echo "${ECHO_T}found xgettext programs is not GNU xgettext; ignore it" >&6; }
30456 XGETTEXT=":"
30457 fi
30458 fi
30459 @@ -8231,8 +8746,8 @@
30460 if test "x$ALL_LINGUAS" = "x"; then
30461 LINGUAS=
30462 else
30463 - echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
30464 -echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6
30465 + { echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
30466 +echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6; }
30467 NEW_LINGUAS=
30468 for lang in ${LINGUAS=$ALL_LINGUAS}; do
30469 case "$ALL_LINGUAS" in
30470 @@ -8240,8 +8755,8 @@
30471 esac
30472 done
30473 LINGUAS=$NEW_LINGUAS
30474 - echo "$as_me:$LINENO: result: $LINGUAS" >&5
30475 -echo "${ECHO_T}$LINGUAS" >&6
30476 + { echo "$as_me:$LINENO: result: $LINGUAS" >&5
30477 +echo "${ECHO_T}$LINGUAS" >&6; }
30478 fi
30479
30480 if test -n "$LINGUAS"; then
30481 @@ -8260,17 +8775,17 @@
30482 if test -f $srcdir/po2tbl.sed.in; then
30483 if test "$CATOBJEXT" = ".cat"; then
30484 if test "${ac_cv_header_linux_version_h+set}" = set; then
30485 - echo "$as_me:$LINENO: checking for linux/version.h" >&5
30486 -echo $ECHO_N "checking for linux/version.h... $ECHO_C" >&6
30487 + { echo "$as_me:$LINENO: checking for linux/version.h" >&5
30488 +echo $ECHO_N "checking for linux/version.h... $ECHO_C" >&6; }
30489 if test "${ac_cv_header_linux_version_h+set}" = set; then
30490 echo $ECHO_N "(cached) $ECHO_C" >&6
30491 fi
30492 -echo "$as_me:$LINENO: result: $ac_cv_header_linux_version_h" >&5
30493 -echo "${ECHO_T}$ac_cv_header_linux_version_h" >&6
30494 +{ echo "$as_me:$LINENO: result: $ac_cv_header_linux_version_h" >&5
30495 +echo "${ECHO_T}$ac_cv_header_linux_version_h" >&6; }
30496 else
30497 # Is the header compilable?
30498 -echo "$as_me:$LINENO: checking linux/version.h usability" >&5
30499 -echo $ECHO_N "checking linux/version.h usability... $ECHO_C" >&6
30500 +{ echo "$as_me:$LINENO: checking linux/version.h usability" >&5
30501 +echo $ECHO_N "checking linux/version.h usability... $ECHO_C" >&6; }
30502 cat >conftest.$ac_ext <<_ACEOF
30503 /* confdefs.h. */
30504 _ACEOF
30505 @@ -8281,41 +8796,37 @@
30506 #include <linux/version.h>
30507 _ACEOF
30508 rm -f conftest.$ac_objext
30509 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30510 - (eval $ac_compile) 2>conftest.er1
30511 +if { (ac_try="$ac_compile"
30512 +case "(($ac_try" in
30513 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30514 + *) ac_try_echo=$ac_try;;
30515 +esac
30516 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30517 + (eval "$ac_compile") 2>conftest.er1
30518 ac_status=$?
30519 grep -v '^ *+' conftest.er1 >conftest.err
30520 rm -f conftest.er1
30521 cat conftest.err >&5
30522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30523 - (exit $ac_status); } &&
30524 - { ac_try='test -z "$ac_c_werror_flag"
30525 - || test ! -s conftest.err'
30526 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30527 - (eval $ac_try) 2>&5
30528 - ac_status=$?
30529 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
30530 - (exit $ac_status); }; } &&
30531 - { ac_try='test -s conftest.$ac_objext'
30532 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30533 - (eval $ac_try) 2>&5
30534 - ac_status=$?
30535 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
30536 - (exit $ac_status); }; }; then
30537 + (exit $ac_status); } && {
30538 + test -z "$ac_c_werror_flag" ||
30539 + test ! -s conftest.err
30540 + } && test -s conftest.$ac_objext; then
30541 ac_header_compiler=yes
30542 else
30543 echo "$as_me: failed program was:" >&5
30544 sed 's/^/| /' conftest.$ac_ext >&5
30545
30546 -ac_header_compiler=no
30547 + ac_header_compiler=no
30548 fi
30549 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30550 -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30551 -echo "${ECHO_T}$ac_header_compiler" >&6
30552 +
30553 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30554 +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30555 +echo "${ECHO_T}$ac_header_compiler" >&6; }
30556
30557 # Is the header present?
30558 -echo "$as_me:$LINENO: checking linux/version.h presence" >&5
30559 -echo $ECHO_N "checking linux/version.h presence... $ECHO_C" >&6
30560 +{ echo "$as_me:$LINENO: checking linux/version.h presence" >&5
30561 +echo $ECHO_N "checking linux/version.h presence... $ECHO_C" >&6; }
30562 cat >conftest.$ac_ext <<_ACEOF
30563 /* confdefs.h. */
30564 _ACEOF
30565 @@ -8324,24 +8835,22 @@
30566 /* end confdefs.h. */
30567 #include <linux/version.h>
30568 _ACEOF
30569 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
30570 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
30571 +if { (ac_try="$ac_cpp conftest.$ac_ext"
30572 +case "(($ac_try" in
30573 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30574 + *) ac_try_echo=$ac_try;;
30575 +esac
30576 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30577 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
30578 ac_status=$?
30579 grep -v '^ *+' conftest.er1 >conftest.err
30580 rm -f conftest.er1
30581 cat conftest.err >&5
30582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30583 - (exit $ac_status); } >/dev/null; then
30584 - if test -s conftest.err; then
30585 - ac_cpp_err=$ac_c_preproc_warn_flag
30586 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
30587 - else
30588 - ac_cpp_err=
30589 - fi
30590 -else
30591 - ac_cpp_err=yes
30592 -fi
30593 -if test -z "$ac_cpp_err"; then
30594 + (exit $ac_status); } >/dev/null && {
30595 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
30596 + test ! -s conftest.err
30597 + }; then
30598 ac_header_preproc=yes
30599 else
30600 echo "$as_me: failed program was:" >&5
30601 @@ -8349,9 +8858,10 @@
30602
30603 ac_header_preproc=no
30604 fi
30605 +
30606 rm -f conftest.err conftest.$ac_ext
30607 -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30608 -echo "${ECHO_T}$ac_header_preproc" >&6
30609 +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30610 +echo "${ECHO_T}$ac_header_preproc" >&6; }
30611
30612 # So? What about this header?
30613 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30614 @@ -8375,25 +8885,18 @@
30615 echo "$as_me: WARNING: linux/version.h: proceeding with the preprocessor's result" >&2;}
30616 { echo "$as_me:$LINENO: WARNING: linux/version.h: in the future, the compiler will take precedence" >&5
30617 echo "$as_me: WARNING: linux/version.h: in the future, the compiler will take precedence" >&2;}
30618 - (
30619 - cat <<\_ASBOX
30620 -## ------------------------------------------ ##
30621 -## Report this to the AC_PACKAGE_NAME lists. ##
30622 -## ------------------------------------------ ##
30623 -_ASBOX
30624 - ) |
30625 - sed "s/^/$as_me: WARNING: /" >&2
30626 +
30627 ;;
30628 esac
30629 -echo "$as_me:$LINENO: checking for linux/version.h" >&5
30630 -echo $ECHO_N "checking for linux/version.h... $ECHO_C" >&6
30631 +{ echo "$as_me:$LINENO: checking for linux/version.h" >&5
30632 +echo $ECHO_N "checking for linux/version.h... $ECHO_C" >&6; }
30633 if test "${ac_cv_header_linux_version_h+set}" = set; then
30634 echo $ECHO_N "(cached) $ECHO_C" >&6
30635 else
30636 ac_cv_header_linux_version_h=$ac_header_preproc
30637 fi
30638 -echo "$as_me:$LINENO: result: $ac_cv_header_linux_version_h" >&5
30639 -echo "${ECHO_T}$ac_cv_header_linux_version_h" >&6
30640 +{ echo "$as_me:$LINENO: result: $ac_cv_header_linux_version_h" >&5
30641 +echo "${ECHO_T}$ac_cv_header_linux_version_h" >&6; }
30642
30643 fi
30644 if test $ac_cv_header_linux_version_h = yes; then
30645 @@ -8443,17 +8946,17 @@
30646 fi
30647
30648
30649 -echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
30650 -echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
30651 - # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
30652 +{ echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
30653 +echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
30654 + # Check whether --enable-maintainer-mode was given.
30655 if test "${enable_maintainer_mode+set}" = set; then
30656 - enableval="$enable_maintainer_mode"
30657 - USE_MAINTAINER_MODE=$enableval
30658 + enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
30659 else
30660 USE_MAINTAINER_MODE=no
30661 -fi;
30662 - echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
30663 -echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
30664 +fi
30665 +
30666 + { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
30667 +echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
30668
30669
30670 if test $USE_MAINTAINER_MODE = yes; then
30671 @@ -8493,8 +8996,8 @@
30672 if test -n "$ac_tool_prefix"; then
30673 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
30674 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
30675 -echo "$as_me:$LINENO: checking for $ac_word" >&5
30676 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
30677 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
30678 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30679 if test "${ac_cv_prog_RANLIB+set}" = set; then
30680 echo $ECHO_N "(cached) $ECHO_C" >&6
30681 else
30682 @@ -8507,32 +9010,34 @@
30683 IFS=$as_save_IFS
30684 test -z "$as_dir" && as_dir=.
30685 for ac_exec_ext in '' $ac_executable_extensions; do
30686 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
30687 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30688 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
30689 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30690 break 2
30691 fi
30692 done
30693 done
30694 +IFS=$as_save_IFS
30695
30696 fi
30697 fi
30698 RANLIB=$ac_cv_prog_RANLIB
30699 if test -n "$RANLIB"; then
30700 - echo "$as_me:$LINENO: result: $RANLIB" >&5
30701 -echo "${ECHO_T}$RANLIB" >&6
30702 + { echo "$as_me:$LINENO: result: $RANLIB" >&5
30703 +echo "${ECHO_T}$RANLIB" >&6; }
30704 else
30705 - echo "$as_me:$LINENO: result: no" >&5
30706 -echo "${ECHO_T}no" >&6
30707 + { echo "$as_me:$LINENO: result: no" >&5
30708 +echo "${ECHO_T}no" >&6; }
30709 fi
30710
30711 +
30712 fi
30713 if test -z "$ac_cv_prog_RANLIB"; then
30714 ac_ct_RANLIB=$RANLIB
30715 # Extract the first word of "ranlib", so it can be a program name with args.
30716 set dummy ranlib; ac_word=$2
30717 -echo "$as_me:$LINENO: checking for $ac_word" >&5
30718 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
30719 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
30720 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30721 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
30722 echo $ECHO_N "(cached) $ECHO_C" >&6
30723 else
30724 @@ -8545,27 +9050,41 @@
30725 IFS=$as_save_IFS
30726 test -z "$as_dir" && as_dir=.
30727 for ac_exec_ext in '' $ac_executable_extensions; do
30728 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
30729 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30730 ac_cv_prog_ac_ct_RANLIB="ranlib"
30731 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30732 break 2
30733 fi
30734 done
30735 done
30736 +IFS=$as_save_IFS
30737
30738 - test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
30739 fi
30740 fi
30741 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
30742 if test -n "$ac_ct_RANLIB"; then
30743 - echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
30744 -echo "${ECHO_T}$ac_ct_RANLIB" >&6
30745 + { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
30746 +echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
30747 else
30748 - echo "$as_me:$LINENO: result: no" >&5
30749 -echo "${ECHO_T}no" >&6
30750 + { echo "$as_me:$LINENO: result: no" >&5
30751 +echo "${ECHO_T}no" >&6; }
30752 fi
30753
30754 - RANLIB=$ac_ct_RANLIB
30755 + if test "x$ac_ct_RANLIB" = x; then
30756 + RANLIB=":"
30757 + else
30758 + case $cross_compiling:$ac_tool_warned in
30759 +yes:)
30760 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
30761 +whose name does not start with the host triplet. If you think this
30762 +configuration is useful to you, please write to autoconf@gnu.org." >&5
30763 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
30764 +whose name does not start with the host triplet. If you think this
30765 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
30766 +ac_tool_warned=yes ;;
30767 +esac
30768 + RANLIB=$ac_ct_RANLIB
30769 + fi
30770 else
30771 RANLIB="$ac_cv_prog_RANLIB"
30772 fi
30773 @@ -8583,8 +9102,8 @@
30774 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
30775 # OS/2's system install, which has a completely different semantic
30776 # ./install, which can be erroneously created by make from ./install.sh.
30777 -echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
30778 -echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
30779 +{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
30780 +echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
30781 if test -z "$INSTALL"; then
30782 if test "${ac_cv_path_install+set}" = set; then
30783 echo $ECHO_N "(cached) $ECHO_C" >&6
30784 @@ -8606,7 +9125,7 @@
30785 # by default.
30786 for ac_prog in ginstall scoinst install; do
30787 for ac_exec_ext in '' $ac_executable_extensions; do
30788 - if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
30789 + if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
30790 if test $ac_prog = install &&
30791 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
30792 # AIX install. It has an incompatible calling convention.
30793 @@ -8625,21 +9144,22 @@
30794 ;;
30795 esac
30796 done
30797 +IFS=$as_save_IFS
30798
30799
30800 fi
30801 if test "${ac_cv_path_install+set}" = set; then
30802 INSTALL=$ac_cv_path_install
30803 else
30804 - # As a last resort, use the slow shell script. We don't cache a
30805 - # path for INSTALL within a source directory, because that will
30806 + # As a last resort, use the slow shell script. Don't cache a
30807 + # value for INSTALL within a source directory, because that will
30808 # break other packages using the cache if that directory is
30809 - # removed, or if the path is relative.
30810 + # removed, or if the value is a relative name.
30811 INSTALL=$ac_install_sh
30812 fi
30813 fi
30814 -echo "$as_me:$LINENO: result: $INSTALL" >&5
30815 -echo "${ECHO_T}$INSTALL" >&6
30816 +{ echo "$as_me:$LINENO: result: $INSTALL" >&5
30817 +echo "${ECHO_T}$INSTALL" >&6; }
30818
30819 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
30820 # It thinks the first close brace ends the variable substitution.
30821 @@ -8663,8 +9183,8 @@
30822 if test "x$cross_compiling" = "xno"; then
30823 EXEEXT_FOR_BUILD='$(EXEEXT)'
30824 else
30825 - echo "$as_me:$LINENO: checking for build system executable suffix" >&5
30826 -echo $ECHO_N "checking for build system executable suffix... $ECHO_C" >&6
30827 + { echo "$as_me:$LINENO: checking for build system executable suffix" >&5
30828 +echo $ECHO_N "checking for build system executable suffix... $ECHO_C" >&6; }
30829 if test "${bfd_cv_build_exeext+set}" = set; then
30830 echo $ECHO_N "(cached) $ECHO_C" >&6
30831 else
30832 @@ -8681,8 +9201,8 @@
30833 rm -f conftest*
30834 test x"${bfd_cv_build_exeext}" = x && bfd_cv_build_exeext=no
30835 fi
30836 -echo "$as_me:$LINENO: result: $bfd_cv_build_exeext" >&5
30837 -echo "${ECHO_T}$bfd_cv_build_exeext" >&6
30838 +{ echo "$as_me:$LINENO: result: $bfd_cv_build_exeext" >&5
30839 +echo "${ECHO_T}$bfd_cv_build_exeext" >&6; }
30840 EXEEXT_FOR_BUILD=""
30841 test x"${bfd_cv_build_exeext}" != xno && EXEEXT_FOR_BUILD=${bfd_cv_build_exeext}
30842 fi
30843 @@ -8704,18 +9224,19 @@
30844 for ac_header in string.h strings.h stdlib.h unistd.h fcntl.h sys/file.h
30845 do
30846 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30847 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
30848 - echo "$as_me:$LINENO: checking for $ac_header" >&5
30849 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30850 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
30851 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
30852 + { echo "$as_me:$LINENO: checking for $ac_header" >&5
30853 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
30854 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
30855 echo $ECHO_N "(cached) $ECHO_C" >&6
30856 fi
30857 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30858 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30859 +ac_res=`eval echo '${'$as_ac_Header'}'`
30860 + { echo "$as_me:$LINENO: result: $ac_res" >&5
30861 +echo "${ECHO_T}$ac_res" >&6; }
30862 else
30863 # Is the header compilable?
30864 -echo "$as_me:$LINENO: checking $ac_header usability" >&5
30865 -echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
30866 +{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
30867 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
30868 cat >conftest.$ac_ext <<_ACEOF
30869 /* confdefs.h. */
30870 _ACEOF
30871 @@ -8726,41 +9247,37 @@
30872 #include <$ac_header>
30873 _ACEOF
30874 rm -f conftest.$ac_objext
30875 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30876 - (eval $ac_compile) 2>conftest.er1
30877 +if { (ac_try="$ac_compile"
30878 +case "(($ac_try" in
30879 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30880 + *) ac_try_echo=$ac_try;;
30881 +esac
30882 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30883 + (eval "$ac_compile") 2>conftest.er1
30884 ac_status=$?
30885 grep -v '^ *+' conftest.er1 >conftest.err
30886 rm -f conftest.er1
30887 cat conftest.err >&5
30888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30889 - (exit $ac_status); } &&
30890 - { ac_try='test -z "$ac_c_werror_flag"
30891 - || test ! -s conftest.err'
30892 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30893 - (eval $ac_try) 2>&5
30894 - ac_status=$?
30895 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
30896 - (exit $ac_status); }; } &&
30897 - { ac_try='test -s conftest.$ac_objext'
30898 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30899 - (eval $ac_try) 2>&5
30900 - ac_status=$?
30901 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
30902 - (exit $ac_status); }; }; then
30903 + (exit $ac_status); } && {
30904 + test -z "$ac_c_werror_flag" ||
30905 + test ! -s conftest.err
30906 + } && test -s conftest.$ac_objext; then
30907 ac_header_compiler=yes
30908 else
30909 echo "$as_me: failed program was:" >&5
30910 sed 's/^/| /' conftest.$ac_ext >&5
30911
30912 -ac_header_compiler=no
30913 + ac_header_compiler=no
30914 fi
30915 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30916 -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30917 -echo "${ECHO_T}$ac_header_compiler" >&6
30918 +
30919 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30920 +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30921 +echo "${ECHO_T}$ac_header_compiler" >&6; }
30922
30923 # Is the header present?
30924 -echo "$as_me:$LINENO: checking $ac_header presence" >&5
30925 -echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
30926 +{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
30927 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
30928 cat >conftest.$ac_ext <<_ACEOF
30929 /* confdefs.h. */
30930 _ACEOF
30931 @@ -8769,24 +9286,22 @@
30932 /* end confdefs.h. */
30933 #include <$ac_header>
30934 _ACEOF
30935 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
30936 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
30937 +if { (ac_try="$ac_cpp conftest.$ac_ext"
30938 +case "(($ac_try" in
30939 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30940 + *) ac_try_echo=$ac_try;;
30941 +esac
30942 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30943 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
30944 ac_status=$?
30945 grep -v '^ *+' conftest.er1 >conftest.err
30946 rm -f conftest.er1
30947 cat conftest.err >&5
30948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30949 - (exit $ac_status); } >/dev/null; then
30950 - if test -s conftest.err; then
30951 - ac_cpp_err=$ac_c_preproc_warn_flag
30952 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
30953 - else
30954 - ac_cpp_err=
30955 - fi
30956 -else
30957 - ac_cpp_err=yes
30958 -fi
30959 -if test -z "$ac_cpp_err"; then
30960 + (exit $ac_status); } >/dev/null && {
30961 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
30962 + test ! -s conftest.err
30963 + }; then
30964 ac_header_preproc=yes
30965 else
30966 echo "$as_me: failed program was:" >&5
30967 @@ -8794,9 +9309,10 @@
30968
30969 ac_header_preproc=no
30970 fi
30971 +
30972 rm -f conftest.err conftest.$ac_ext
30973 -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30974 -echo "${ECHO_T}$ac_header_preproc" >&6
30975 +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30976 +echo "${ECHO_T}$ac_header_preproc" >&6; }
30977
30978 # So? What about this header?
30979 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30980 @@ -8820,25 +9336,19 @@
30981 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
30982 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
30983 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
30984 - (
30985 - cat <<\_ASBOX
30986 -## ------------------------------------------ ##
30987 -## Report this to the AC_PACKAGE_NAME lists. ##
30988 -## ------------------------------------------ ##
30989 -_ASBOX
30990 - ) |
30991 - sed "s/^/$as_me: WARNING: /" >&2
30992 +
30993 ;;
30994 esac
30995 -echo "$as_me:$LINENO: checking for $ac_header" >&5
30996 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30997 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
30998 +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
30999 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
31000 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
31001 echo $ECHO_N "(cached) $ECHO_C" >&6
31002 else
31003 eval "$as_ac_Header=\$ac_header_preproc"
31004 fi
31005 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31006 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31007 +ac_res=`eval echo '${'$as_ac_Header'}'`
31008 + { echo "$as_me:$LINENO: result: $ac_res" >&5
31009 +echo "${ECHO_T}$ac_res" >&6; }
31010
31011 fi
31012 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31013 @@ -8850,8 +9360,8 @@
31014
31015 done
31016
31017 -echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
31018 -echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6
31019 +{ echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
31020 +echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6; }
31021 if test "${ac_cv_header_sys_wait_h+set}" = set; then
31022 echo $ECHO_N "(cached) $ECHO_C" >&6
31023 else
31024 @@ -8864,7 +9374,7 @@
31025 #include <sys/types.h>
31026 #include <sys/wait.h>
31027 #ifndef WEXITSTATUS
31028 -# define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
31029 +# define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
31030 #endif
31031 #ifndef WIFEXITED
31032 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
31033 @@ -8881,38 +9391,34 @@
31034 }
31035 _ACEOF
31036 rm -f conftest.$ac_objext
31037 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31038 - (eval $ac_compile) 2>conftest.er1
31039 +if { (ac_try="$ac_compile"
31040 +case "(($ac_try" in
31041 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31042 + *) ac_try_echo=$ac_try;;
31043 +esac
31044 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31045 + (eval "$ac_compile") 2>conftest.er1
31046 ac_status=$?
31047 grep -v '^ *+' conftest.er1 >conftest.err
31048 rm -f conftest.er1
31049 cat conftest.err >&5
31050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31051 - (exit $ac_status); } &&
31052 - { ac_try='test -z "$ac_c_werror_flag"
31053 - || test ! -s conftest.err'
31054 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31055 - (eval $ac_try) 2>&5
31056 - ac_status=$?
31057 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
31058 - (exit $ac_status); }; } &&
31059 - { ac_try='test -s conftest.$ac_objext'
31060 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31061 - (eval $ac_try) 2>&5
31062 - ac_status=$?
31063 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
31064 - (exit $ac_status); }; }; then
31065 + (exit $ac_status); } && {
31066 + test -z "$ac_c_werror_flag" ||
31067 + test ! -s conftest.err
31068 + } && test -s conftest.$ac_objext; then
31069 ac_cv_header_sys_wait_h=yes
31070 else
31071 echo "$as_me: failed program was:" >&5
31072 sed 's/^/| /' conftest.$ac_ext >&5
31073
31074 -ac_cv_header_sys_wait_h=no
31075 + ac_cv_header_sys_wait_h=no
31076 fi
31077 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31078 +
31079 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31080 fi
31081 -echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
31082 -echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6
31083 +{ echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
31084 +echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6; }
31085 if test $ac_cv_header_sys_wait_h = yes; then
31086
31087 cat >>confdefs.h <<\_ACEOF
31088 @@ -8923,8 +9429,8 @@
31089
31090 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
31091 # for constant arguments. Useless!
31092 -echo "$as_me:$LINENO: checking for working alloca.h" >&5
31093 -echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
31094 +{ echo "$as_me:$LINENO: checking for working alloca.h" >&5
31095 +echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6; }
31096 if test "${ac_cv_working_alloca_h+set}" = set; then
31097 echo $ECHO_N "(cached) $ECHO_C" >&6
31098 else
31099 @@ -8939,44 +9445,42 @@
31100 main ()
31101 {
31102 char *p = (char *) alloca (2 * sizeof (int));
31103 + if (p) return 0;
31104 ;
31105 return 0;
31106 }
31107 _ACEOF
31108 rm -f conftest.$ac_objext conftest$ac_exeext
31109 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31110 - (eval $ac_link) 2>conftest.er1
31111 +if { (ac_try="$ac_link"
31112 +case "(($ac_try" in
31113 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31114 + *) ac_try_echo=$ac_try;;
31115 +esac
31116 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31117 + (eval "$ac_link") 2>conftest.er1
31118 ac_status=$?
31119 grep -v '^ *+' conftest.er1 >conftest.err
31120 rm -f conftest.er1
31121 cat conftest.err >&5
31122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31123 - (exit $ac_status); } &&
31124 - { ac_try='test -z "$ac_c_werror_flag"
31125 - || test ! -s conftest.err'
31126 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31127 - (eval $ac_try) 2>&5
31128 - ac_status=$?
31129 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
31130 - (exit $ac_status); }; } &&
31131 - { ac_try='test -s conftest$ac_exeext'
31132 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31133 - (eval $ac_try) 2>&5
31134 - ac_status=$?
31135 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
31136 - (exit $ac_status); }; }; then
31137 + (exit $ac_status); } && {
31138 + test -z "$ac_c_werror_flag" ||
31139 + test ! -s conftest.err
31140 + } && test -s conftest$ac_exeext &&
31141 + $as_test_x conftest$ac_exeext; then
31142 ac_cv_working_alloca_h=yes
31143 else
31144 echo "$as_me: failed program was:" >&5
31145 sed 's/^/| /' conftest.$ac_ext >&5
31146
31147 -ac_cv_working_alloca_h=no
31148 + ac_cv_working_alloca_h=no
31149 fi
31150 -rm -f conftest.err conftest.$ac_objext \
31151 +
31152 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31153 conftest$ac_exeext conftest.$ac_ext
31154 fi
31155 -echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
31156 -echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
31157 +{ echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
31158 +echo "${ECHO_T}$ac_cv_working_alloca_h" >&6; }
31159 if test $ac_cv_working_alloca_h = yes; then
31160
31161 cat >>confdefs.h <<\_ACEOF
31162 @@ -8985,8 +9489,8 @@
31163
31164 fi
31165
31166 -echo "$as_me:$LINENO: checking for alloca" >&5
31167 -echo $ECHO_N "checking for alloca... $ECHO_C" >&6
31168 +{ echo "$as_me:$LINENO: checking for alloca" >&5
31169 +echo $ECHO_N "checking for alloca... $ECHO_C" >&6; }
31170 if test "${ac_cv_func_alloca_works+set}" = set; then
31171 echo $ECHO_N "(cached) $ECHO_C" >&6
31172 else
31173 @@ -9003,7 +9507,7 @@
31174 # include <malloc.h>
31175 # define alloca _alloca
31176 # else
31177 -# if HAVE_ALLOCA_H
31178 +# ifdef HAVE_ALLOCA_H
31179 # include <alloca.h>
31180 # else
31181 # ifdef _AIX
31182 @@ -9021,44 +9525,42 @@
31183 main ()
31184 {
31185 char *p = (char *) alloca (1);
31186 + if (p) return 0;
31187 ;
31188 return 0;
31189 }
31190 _ACEOF
31191 rm -f conftest.$ac_objext conftest$ac_exeext
31192 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31193 - (eval $ac_link) 2>conftest.er1
31194 +if { (ac_try="$ac_link"
31195 +case "(($ac_try" in
31196 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31197 + *) ac_try_echo=$ac_try;;
31198 +esac
31199 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31200 + (eval "$ac_link") 2>conftest.er1
31201 ac_status=$?
31202 grep -v '^ *+' conftest.er1 >conftest.err
31203 rm -f conftest.er1
31204 cat conftest.err >&5
31205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31206 - (exit $ac_status); } &&
31207 - { ac_try='test -z "$ac_c_werror_flag"
31208 - || test ! -s conftest.err'
31209 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31210 - (eval $ac_try) 2>&5
31211 - ac_status=$?
31212 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
31213 - (exit $ac_status); }; } &&
31214 - { ac_try='test -s conftest$ac_exeext'
31215 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31216 - (eval $ac_try) 2>&5
31217 - ac_status=$?
31218 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
31219 - (exit $ac_status); }; }; then
31220 + (exit $ac_status); } && {
31221 + test -z "$ac_c_werror_flag" ||
31222 + test ! -s conftest.err
31223 + } && test -s conftest$ac_exeext &&
31224 + $as_test_x conftest$ac_exeext; then
31225 ac_cv_func_alloca_works=yes
31226 else
31227 echo "$as_me: failed program was:" >&5
31228 sed 's/^/| /' conftest.$ac_ext >&5
31229
31230 -ac_cv_func_alloca_works=no
31231 + ac_cv_func_alloca_works=no
31232 fi
31233 -rm -f conftest.err conftest.$ac_objext \
31234 +
31235 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31236 conftest$ac_exeext conftest.$ac_ext
31237 fi
31238 -echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
31239 -echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
31240 +{ echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
31241 +echo "${ECHO_T}$ac_cv_func_alloca_works" >&6; }
31242
31243 if test $ac_cv_func_alloca_works = yes; then
31244
31245 @@ -9072,15 +9574,15 @@
31246 # contain a buggy version. If you still want to use their alloca,
31247 # use ar to extract alloca.o from them instead of compiling alloca.c.
31248
31249 -ALLOCA=alloca.$ac_objext
31250 +ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
31251
31252 cat >>confdefs.h <<\_ACEOF
31253 #define C_ALLOCA 1
31254 _ACEOF
31255
31256
31257 -echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
31258 -echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
31259 +{ echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
31260 +echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6; }
31261 if test "${ac_cv_os_cray+set}" = set; then
31262 echo $ECHO_N "(cached) $ECHO_C" >&6
31263 else
31264 @@ -9090,7 +9592,7 @@
31265 cat confdefs.h >>conftest.$ac_ext
31266 cat >>conftest.$ac_ext <<_ACEOF
31267 /* end confdefs.h. */
31268 -#if defined(CRAY) && ! defined(CRAY2)
31269 +#if defined CRAY && ! defined CRAY2
31270 webecray
31271 #else
31272 wenotbecray
31273 @@ -9106,14 +9608,14 @@
31274 rm -f conftest*
31275
31276 fi
31277 -echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
31278 -echo "${ECHO_T}$ac_cv_os_cray" >&6
31279 +{ echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
31280 +echo "${ECHO_T}$ac_cv_os_cray" >&6; }
31281 if test $ac_cv_os_cray = yes; then
31282 for ac_func in _getb67 GETB67 getb67; do
31283 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31284 -echo "$as_me:$LINENO: checking for $ac_func" >&5
31285 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31286 -if eval "test \"\${$as_ac_var+set}\" = set"; then
31287 +{ echo "$as_me:$LINENO: checking for $ac_func" >&5
31288 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31289 +if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31290 echo $ECHO_N "(cached) $ECHO_C" >&6
31291 else
31292 cat >conftest.$ac_ext <<_ACEOF
31293 @@ -9139,68 +9641,60 @@
31294
31295 #undef $ac_func
31296
31297 -/* Override any gcc2 internal prototype to avoid an error. */
31298 +/* Override any GCC internal prototype to avoid an error.
31299 + Use char because int might match the return type of a GCC
31300 + builtin and then its argument prototype would still apply. */
31301 #ifdef __cplusplus
31302 extern "C"
31303 -{
31304 #endif
31305 -/* We use char because int might match the return type of a gcc2
31306 - builtin and then its argument prototype would still apply. */
31307 char $ac_func ();
31308 /* The GNU C library defines this for functions which it implements
31309 to always fail with ENOSYS. Some functions are actually named
31310 something starting with __ and the normal name is an alias. */
31311 -#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31312 +#if defined __stub_$ac_func || defined __stub___$ac_func
31313 choke me
31314 -#else
31315 -char (*f) () = $ac_func;
31316 -#endif
31317 -#ifdef __cplusplus
31318 -}
31319 #endif
31320
31321 int
31322 main ()
31323 {
31324 -return f != $ac_func;
31325 +return $ac_func ();
31326 ;
31327 return 0;
31328 }
31329 _ACEOF
31330 rm -f conftest.$ac_objext conftest$ac_exeext
31331 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31332 - (eval $ac_link) 2>conftest.er1
31333 +if { (ac_try="$ac_link"
31334 +case "(($ac_try" in
31335 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31336 + *) ac_try_echo=$ac_try;;
31337 +esac
31338 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31339 + (eval "$ac_link") 2>conftest.er1
31340 ac_status=$?
31341 grep -v '^ *+' conftest.er1 >conftest.err
31342 rm -f conftest.er1
31343 cat conftest.err >&5
31344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31345 - (exit $ac_status); } &&
31346 - { ac_try='test -z "$ac_c_werror_flag"
31347 - || test ! -s conftest.err'
31348 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31349 - (eval $ac_try) 2>&5
31350 - ac_status=$?
31351 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
31352 - (exit $ac_status); }; } &&
31353 - { ac_try='test -s conftest$ac_exeext'
31354 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31355 - (eval $ac_try) 2>&5
31356 - ac_status=$?
31357 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
31358 - (exit $ac_status); }; }; then
31359 + (exit $ac_status); } && {
31360 + test -z "$ac_c_werror_flag" ||
31361 + test ! -s conftest.err
31362 + } && test -s conftest$ac_exeext &&
31363 + $as_test_x conftest$ac_exeext; then
31364 eval "$as_ac_var=yes"
31365 else
31366 echo "$as_me: failed program was:" >&5
31367 sed 's/^/| /' conftest.$ac_ext >&5
31368
31369 -eval "$as_ac_var=no"
31370 + eval "$as_ac_var=no"
31371 fi
31372 -rm -f conftest.err conftest.$ac_objext \
31373 +
31374 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31375 conftest$ac_exeext conftest.$ac_ext
31376 fi
31377 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31378 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31379 +ac_res=`eval echo '${'$as_ac_var'}'`
31380 + { echo "$as_me:$LINENO: result: $ac_res" >&5
31381 +echo "${ECHO_T}$ac_res" >&6; }
31382 if test `eval echo '${'$as_ac_var'}'` = yes; then
31383
31384 cat >>confdefs.h <<_ACEOF
31385 @@ -9213,8 +9707,8 @@
31386 done
31387 fi
31388
31389 -echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
31390 -echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
31391 +{ echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
31392 +echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6; }
31393 if test "${ac_cv_c_stack_direction+set}" = set; then
31394 echo $ECHO_N "(cached) $ECHO_C" >&6
31395 else
31396 @@ -9227,6 +9721,7 @@
31397 cat confdefs.h >>conftest.$ac_ext
31398 cat >>conftest.$ac_ext <<_ACEOF
31399 /* end confdefs.h. */
31400 +$ac_includes_default
31401 int
31402 find_stack_direction ()
31403 {
31404 @@ -9244,17 +9739,26 @@
31405 int
31406 main ()
31407 {
31408 - exit (find_stack_direction () < 0);
31409 + return find_stack_direction () < 0;
31410 }
31411 _ACEOF
31412 rm -f conftest$ac_exeext
31413 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31414 - (eval $ac_link) 2>&5
31415 +if { (ac_try="$ac_link"
31416 +case "(($ac_try" in
31417 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31418 + *) ac_try_echo=$ac_try;;
31419 +esac
31420 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31421 + (eval "$ac_link") 2>&5
31422 ac_status=$?
31423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31424 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
31425 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31426 - (eval $ac_try) 2>&5
31427 + { (case "(($ac_try" in
31428 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31429 + *) ac_try_echo=$ac_try;;
31430 +esac
31431 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31432 + (eval "$ac_try") 2>&5
31433 ac_status=$?
31434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31435 (exit $ac_status); }; }; then
31436 @@ -9267,11 +9771,13 @@
31437 ( exit $ac_status )
31438 ac_cv_c_stack_direction=-1
31439 fi
31440 -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
31441 +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
31442 fi
31443 +
31444 +
31445 fi
31446 -echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
31447 -echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
31448 +{ echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
31449 +echo "${ECHO_T}$ac_cv_c_stack_direction" >&6; }
31450
31451 cat >>confdefs.h <<_ACEOF
31452 #define STACK_DIRECTION $ac_cv_c_stack_direction
31453 @@ -9288,9 +9794,9 @@
31454 for ac_func in sbrk utimes setmode getc_unlocked strcoll
31455 do
31456 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31457 -echo "$as_me:$LINENO: checking for $ac_func" >&5
31458 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31459 -if eval "test \"\${$as_ac_var+set}\" = set"; then
31460 +{ echo "$as_me:$LINENO: checking for $ac_func" >&5
31461 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31462 +if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31463 echo $ECHO_N "(cached) $ECHO_C" >&6
31464 else
31465 cat >conftest.$ac_ext <<_ACEOF
31466 @@ -9316,68 +9822,60 @@
31467
31468 #undef $ac_func
31469
31470 -/* Override any gcc2 internal prototype to avoid an error. */
31471 +/* Override any GCC internal prototype to avoid an error.
31472 + Use char because int might match the return type of a GCC
31473 + builtin and then its argument prototype would still apply. */
31474 #ifdef __cplusplus
31475 extern "C"
31476 -{
31477 #endif
31478 -/* We use char because int might match the return type of a gcc2
31479 - builtin and then its argument prototype would still apply. */
31480 char $ac_func ();
31481 /* The GNU C library defines this for functions which it implements
31482 to always fail with ENOSYS. Some functions are actually named
31483 something starting with __ and the normal name is an alias. */
31484 -#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31485 +#if defined __stub_$ac_func || defined __stub___$ac_func
31486 choke me
31487 -#else
31488 -char (*f) () = $ac_func;
31489 -#endif
31490 -#ifdef __cplusplus
31491 -}
31492 #endif
31493
31494 int
31495 main ()
31496 {
31497 -return f != $ac_func;
31498 +return $ac_func ();
31499 ;
31500 return 0;
31501 }
31502 _ACEOF
31503 rm -f conftest.$ac_objext conftest$ac_exeext
31504 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31505 - (eval $ac_link) 2>conftest.er1
31506 +if { (ac_try="$ac_link"
31507 +case "(($ac_try" in
31508 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31509 + *) ac_try_echo=$ac_try;;
31510 +esac
31511 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31512 + (eval "$ac_link") 2>conftest.er1
31513 ac_status=$?
31514 grep -v '^ *+' conftest.er1 >conftest.err
31515 rm -f conftest.er1
31516 cat conftest.err >&5
31517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31518 - (exit $ac_status); } &&
31519 - { ac_try='test -z "$ac_c_werror_flag"
31520 - || test ! -s conftest.err'
31521 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31522 - (eval $ac_try) 2>&5
31523 - ac_status=$?
31524 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
31525 - (exit $ac_status); }; } &&
31526 - { ac_try='test -s conftest$ac_exeext'
31527 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31528 - (eval $ac_try) 2>&5
31529 - ac_status=$?
31530 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
31531 - (exit $ac_status); }; }; then
31532 + (exit $ac_status); } && {
31533 + test -z "$ac_c_werror_flag" ||
31534 + test ! -s conftest.err
31535 + } && test -s conftest$ac_exeext &&
31536 + $as_test_x conftest$ac_exeext; then
31537 eval "$as_ac_var=yes"
31538 else
31539 echo "$as_me: failed program was:" >&5
31540 sed 's/^/| /' conftest.$ac_ext >&5
31541
31542 -eval "$as_ac_var=no"
31543 + eval "$as_ac_var=no"
31544 fi
31545 -rm -f conftest.err conftest.$ac_objext \
31546 +
31547 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31548 conftest$ac_exeext conftest.$ac_ext
31549 fi
31550 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31551 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31552 +ac_res=`eval echo '${'$as_ac_var'}'`
31553 + { echo "$as_me:$LINENO: result: $ac_res" >&5
31554 +echo "${ECHO_T}$ac_res" >&6; }
31555 if test `eval echo '${'$as_ac_var'}'` = yes; then
31556 cat >>confdefs.h <<_ACEOF
31557 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31558 @@ -9389,8 +9887,8 @@
31559
31560 # Check whether fopen64 is available and whether _LARGEFILE64_SOURCE
31561 # needs to be defined for it
31562 -echo "$as_me:$LINENO: checking for fopen64" >&5
31563 -echo $ECHO_N "checking for fopen64... $ECHO_C" >&6
31564 +{ echo "$as_me:$LINENO: checking for fopen64" >&5
31565 +echo $ECHO_N "checking for fopen64... $ECHO_C" >&6; }
31566 if test "${bu_cv_have_fopen64+set}" = set; then
31567 echo $ECHO_N "(cached) $ECHO_C" >&6
31568 else
31569 @@ -9410,33 +9908,29 @@
31570 }
31571 _ACEOF
31572 rm -f conftest.$ac_objext conftest$ac_exeext
31573 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31574 - (eval $ac_link) 2>conftest.er1
31575 +if { (ac_try="$ac_link"
31576 +case "(($ac_try" in
31577 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31578 + *) ac_try_echo=$ac_try;;
31579 +esac
31580 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31581 + (eval "$ac_link") 2>conftest.er1
31582 ac_status=$?
31583 grep -v '^ *+' conftest.er1 >conftest.err
31584 rm -f conftest.er1
31585 cat conftest.err >&5
31586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31587 - (exit $ac_status); } &&
31588 - { ac_try='test -z "$ac_c_werror_flag"
31589 - || test ! -s conftest.err'
31590 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31591 - (eval $ac_try) 2>&5
31592 - ac_status=$?
31593 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
31594 - (exit $ac_status); }; } &&
31595 - { ac_try='test -s conftest$ac_exeext'
31596 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31597 - (eval $ac_try) 2>&5
31598 - ac_status=$?
31599 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
31600 - (exit $ac_status); }; }; then
31601 + (exit $ac_status); } && {
31602 + test -z "$ac_c_werror_flag" ||
31603 + test ! -s conftest.err
31604 + } && test -s conftest$ac_exeext &&
31605 + $as_test_x conftest$ac_exeext; then
31606 bu_cv_have_fopen64=yes
31607 else
31608 echo "$as_me: failed program was:" >&5
31609 sed 's/^/| /' conftest.$ac_ext >&5
31610
31611 -saved_CPPFLAGS=$CPPFLAGS
31612 + saved_CPPFLAGS=$CPPFLAGS
31613 CPPFLAGS="$CPPFLAGS -D_LARGEFILE64_SOURCE"
31614 cat >conftest.$ac_ext <<_ACEOF
31615 /* confdefs.h. */
31616 @@ -9454,44 +9948,42 @@
31617 }
31618 _ACEOF
31619 rm -f conftest.$ac_objext conftest$ac_exeext
31620 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31621 - (eval $ac_link) 2>conftest.er1
31622 +if { (ac_try="$ac_link"
31623 +case "(($ac_try" in
31624 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31625 + *) ac_try_echo=$ac_try;;
31626 +esac
31627 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31628 + (eval "$ac_link") 2>conftest.er1
31629 ac_status=$?
31630 grep -v '^ *+' conftest.er1 >conftest.err
31631 rm -f conftest.er1
31632 cat conftest.err >&5
31633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31634 - (exit $ac_status); } &&
31635 - { ac_try='test -z "$ac_c_werror_flag"
31636 - || test ! -s conftest.err'
31637 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31638 - (eval $ac_try) 2>&5
31639 - ac_status=$?
31640 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
31641 - (exit $ac_status); }; } &&
31642 - { ac_try='test -s conftest$ac_exeext'
31643 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31644 - (eval $ac_try) 2>&5
31645 - ac_status=$?
31646 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
31647 - (exit $ac_status); }; }; then
31648 + (exit $ac_status); } && {
31649 + test -z "$ac_c_werror_flag" ||
31650 + test ! -s conftest.err
31651 + } && test -s conftest$ac_exeext &&
31652 + $as_test_x conftest$ac_exeext; then
31653 bu_cv_have_fopen64="need -D_LARGEFILE64_SOURCE"
31654 else
31655 echo "$as_me: failed program was:" >&5
31656 sed 's/^/| /' conftest.$ac_ext >&5
31657
31658 -bu_cv_have_fopen64=no
31659 + bu_cv_have_fopen64=no
31660 fi
31661 -rm -f conftest.err conftest.$ac_objext \
31662 +
31663 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31664 conftest$ac_exeext conftest.$ac_ext
31665 CPPFLAGS=$saved_CPPFLAGS
31666 fi
31667 -rm -f conftest.err conftest.$ac_objext \
31668 +
31669 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31670 conftest$ac_exeext conftest.$ac_ext
31671 fi
31672
31673 -echo "$as_me:$LINENO: result: $bu_cv_have_fopen64" >&5
31674 -echo "${ECHO_T}$bu_cv_have_fopen64" >&6
31675 +{ echo "$as_me:$LINENO: result: $bu_cv_have_fopen64" >&5
31676 +echo "${ECHO_T}$bu_cv_have_fopen64" >&6; }
31677 if test "$bu_cv_have_fopen64" != no; then
31678
31679 cat >>confdefs.h <<\_ACEOF
31680 @@ -9499,8 +9991,8 @@
31681 _ACEOF
31682
31683 fi
31684 -echo "$as_me:$LINENO: checking for stat64" >&5
31685 -echo $ECHO_N "checking for stat64... $ECHO_C" >&6
31686 +{ echo "$as_me:$LINENO: checking for stat64" >&5
31687 +echo $ECHO_N "checking for stat64... $ECHO_C" >&6; }
31688 if test "${bu_cv_have_stat64+set}" = set; then
31689 echo $ECHO_N "(cached) $ECHO_C" >&6
31690 else
31691 @@ -9520,33 +10012,29 @@
31692 }
31693 _ACEOF
31694 rm -f conftest.$ac_objext conftest$ac_exeext
31695 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31696 - (eval $ac_link) 2>conftest.er1
31697 +if { (ac_try="$ac_link"
31698 +case "(($ac_try" in
31699 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31700 + *) ac_try_echo=$ac_try;;
31701 +esac
31702 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31703 + (eval "$ac_link") 2>conftest.er1
31704 ac_status=$?
31705 grep -v '^ *+' conftest.er1 >conftest.err
31706 rm -f conftest.er1
31707 cat conftest.err >&5
31708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31709 - (exit $ac_status); } &&
31710 - { ac_try='test -z "$ac_c_werror_flag"
31711 - || test ! -s conftest.err'
31712 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31713 - (eval $ac_try) 2>&5
31714 - ac_status=$?
31715 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
31716 - (exit $ac_status); }; } &&
31717 - { ac_try='test -s conftest$ac_exeext'
31718 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31719 - (eval $ac_try) 2>&5
31720 - ac_status=$?
31721 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
31722 - (exit $ac_status); }; }; then
31723 + (exit $ac_status); } && {
31724 + test -z "$ac_c_werror_flag" ||
31725 + test ! -s conftest.err
31726 + } && test -s conftest$ac_exeext &&
31727 + $as_test_x conftest$ac_exeext; then
31728 bu_cv_have_stat64=yes
31729 else
31730 echo "$as_me: failed program was:" >&5
31731 sed 's/^/| /' conftest.$ac_ext >&5
31732
31733 -saved_CPPFLAGS=$CPPFLAGS
31734 + saved_CPPFLAGS=$CPPFLAGS
31735 CPPFLAGS="$CPPFLAGS -D_LARGEFILE64_SOURCE"
31736 cat >conftest.$ac_ext <<_ACEOF
31737 /* confdefs.h. */
31738 @@ -9564,191 +10052,146 @@
31739 }
31740 _ACEOF
31741 rm -f conftest.$ac_objext conftest$ac_exeext
31742 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31743 - (eval $ac_link) 2>conftest.er1
31744 +if { (ac_try="$ac_link"
31745 +case "(($ac_try" in
31746 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31747 + *) ac_try_echo=$ac_try;;
31748 +esac
31749 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31750 + (eval "$ac_link") 2>conftest.er1
31751 ac_status=$?
31752 grep -v '^ *+' conftest.er1 >conftest.err
31753 rm -f conftest.er1
31754 cat conftest.err >&5
31755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31756 - (exit $ac_status); } &&
31757 - { ac_try='test -z "$ac_c_werror_flag"
31758 - || test ! -s conftest.err'
31759 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31760 - (eval $ac_try) 2>&5
31761 - ac_status=$?
31762 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
31763 - (exit $ac_status); }; } &&
31764 - { ac_try='test -s conftest$ac_exeext'
31765 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31766 - (eval $ac_try) 2>&5
31767 - ac_status=$?
31768 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
31769 - (exit $ac_status); }; }; then
31770 + (exit $ac_status); } && {
31771 + test -z "$ac_c_werror_flag" ||
31772 + test ! -s conftest.err
31773 + } && test -s conftest$ac_exeext &&
31774 + $as_test_x conftest$ac_exeext; then
31775 bu_cv_have_stat64="need -D_LARGEFILE64_SOURCE"
31776 else
31777 echo "$as_me: failed program was:" >&5
31778 sed 's/^/| /' conftest.$ac_ext >&5
31779
31780 -bu_cv_have_stat64=no
31781 + bu_cv_have_stat64=no
31782 fi
31783 -rm -f conftest.err conftest.$ac_objext \
31784 +
31785 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31786 conftest$ac_exeext conftest.$ac_ext
31787 CPPFLAGS=$saved_CPPFLAGS
31788 fi
31789 -rm -f conftest.err conftest.$ac_objext \
31790 +
31791 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31792 conftest$ac_exeext conftest.$ac_ext
31793 fi
31794
31795 -echo "$as_me:$LINENO: result: $bu_cv_have_stat64" >&5
31796 -echo "${ECHO_T}$bu_cv_have_stat64" >&6
31797 +{ echo "$as_me:$LINENO: result: $bu_cv_have_stat64" >&5
31798 +echo "${ECHO_T}$bu_cv_have_stat64" >&6; }
31799 if test "$bu_cv_have_stat64" != no; then
31800
31801 cat >>confdefs.h <<\_ACEOF
31802 #define HAVE_STAT64 1
31803 _ACEOF
31804
31805 -fi
31806 -if test "$bu_cv_have_fopen64" = "need -D_LARGEFILE64_SOURCE" \
31807 - || test "$bu_cv_have_stat64" = "need -D_LARGEFILE64_SOURCE"; then
31808 -
31809 -cat >>confdefs.h <<\_ACEOF
31810 -#define _LARGEFILE64_SOURCE 1
31811 -_ACEOF
31812 -
31813 - CPPFLAGS="$CPPFLAGS -D_LARGEFILE64_SOURCE"
31814 -fi
31815 -
31816 -# Some systems have frexp only in -lm, not in -lc.
31817 -echo "$as_me:$LINENO: checking for library containing frexp" >&5
31818 -echo $ECHO_N "checking for library containing frexp... $ECHO_C" >&6
31819 -if test "${ac_cv_search_frexp+set}" = set; then
31820 - echo $ECHO_N "(cached) $ECHO_C" >&6
31821 -else
31822 - ac_func_search_save_LIBS=$LIBS
31823 -ac_cv_search_frexp=no
31824 -cat >conftest.$ac_ext <<_ACEOF
31825 -/* confdefs.h. */
31826 -_ACEOF
31827 -cat confdefs.h >>conftest.$ac_ext
31828 -cat >>conftest.$ac_ext <<_ACEOF
31829 -/* end confdefs.h. */
31830 -
31831 -/* Override any gcc2 internal prototype to avoid an error. */
31832 -#ifdef __cplusplus
31833 -extern "C"
31834 -#endif
31835 -/* We use char because int might match the return type of a gcc2
31836 - builtin and then its argument prototype would still apply. */
31837 -char frexp ();
31838 -int
31839 -main ()
31840 -{
31841 -frexp ();
31842 - ;
31843 - return 0;
31844 -}
31845 -_ACEOF
31846 -rm -f conftest.$ac_objext conftest$ac_exeext
31847 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31848 - (eval $ac_link) 2>conftest.er1
31849 - ac_status=$?
31850 - grep -v '^ *+' conftest.er1 >conftest.err
31851 - rm -f conftest.er1
31852 - cat conftest.err >&5
31853 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
31854 - (exit $ac_status); } &&
31855 - { ac_try='test -z "$ac_c_werror_flag"
31856 - || test ! -s conftest.err'
31857 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31858 - (eval $ac_try) 2>&5
31859 - ac_status=$?
31860 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
31861 - (exit $ac_status); }; } &&
31862 - { ac_try='test -s conftest$ac_exeext'
31863 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31864 - (eval $ac_try) 2>&5
31865 - ac_status=$?
31866 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
31867 - (exit $ac_status); }; }; then
31868 - ac_cv_search_frexp="none required"
31869 -else
31870 - echo "$as_me: failed program was:" >&5
31871 -sed 's/^/| /' conftest.$ac_ext >&5
31872 +fi
31873 +if test "$bu_cv_have_fopen64" = "need -D_LARGEFILE64_SOURCE" \
31874 + || test "$bu_cv_have_stat64" = "need -D_LARGEFILE64_SOURCE"; then
31875 +
31876 +cat >>confdefs.h <<\_ACEOF
31877 +#define _LARGEFILE64_SOURCE 1
31878 +_ACEOF
31879
31880 + CPPFLAGS="$CPPFLAGS -D_LARGEFILE64_SOURCE"
31881 fi
31882 -rm -f conftest.err conftest.$ac_objext \
31883 - conftest$ac_exeext conftest.$ac_ext
31884 -if test "$ac_cv_search_frexp" = no; then
31885 - for ac_lib in m; do
31886 - LIBS="-l$ac_lib $ac_func_search_save_LIBS"
31887 - cat >conftest.$ac_ext <<_ACEOF
31888 +
31889 +# Some systems have frexp only in -lm, not in -lc.
31890 +{ echo "$as_me:$LINENO: checking for library containing frexp" >&5
31891 +echo $ECHO_N "checking for library containing frexp... $ECHO_C" >&6; }
31892 +if test "${ac_cv_search_frexp+set}" = set; then
31893 + echo $ECHO_N "(cached) $ECHO_C" >&6
31894 +else
31895 + ac_func_search_save_LIBS=$LIBS
31896 +cat >conftest.$ac_ext <<_ACEOF
31897 /* confdefs.h. */
31898 _ACEOF
31899 cat confdefs.h >>conftest.$ac_ext
31900 cat >>conftest.$ac_ext <<_ACEOF
31901 /* end confdefs.h. */
31902
31903 -/* Override any gcc2 internal prototype to avoid an error. */
31904 +/* Override any GCC internal prototype to avoid an error.
31905 + Use char because int might match the return type of a GCC
31906 + builtin and then its argument prototype would still apply. */
31907 #ifdef __cplusplus
31908 extern "C"
31909 #endif
31910 -/* We use char because int might match the return type of a gcc2
31911 - builtin and then its argument prototype would still apply. */
31912 char frexp ();
31913 int
31914 main ()
31915 {
31916 -frexp ();
31917 +return frexp ();
31918 ;
31919 return 0;
31920 }
31921 _ACEOF
31922 -rm -f conftest.$ac_objext conftest$ac_exeext
31923 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31924 - (eval $ac_link) 2>conftest.er1
31925 +for ac_lib in '' m; do
31926 + if test -z "$ac_lib"; then
31927 + ac_res="none required"
31928 + else
31929 + ac_res=-l$ac_lib
31930 + LIBS="-l$ac_lib $ac_func_search_save_LIBS"
31931 + fi
31932 + rm -f conftest.$ac_objext conftest$ac_exeext
31933 +if { (ac_try="$ac_link"
31934 +case "(($ac_try" in
31935 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31936 + *) ac_try_echo=$ac_try;;
31937 +esac
31938 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31939 + (eval "$ac_link") 2>conftest.er1
31940 ac_status=$?
31941 grep -v '^ *+' conftest.er1 >conftest.err
31942 rm -f conftest.er1
31943 cat conftest.err >&5
31944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31945 - (exit $ac_status); } &&
31946 - { ac_try='test -z "$ac_c_werror_flag"
31947 - || test ! -s conftest.err'
31948 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31949 - (eval $ac_try) 2>&5
31950 - ac_status=$?
31951 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
31952 - (exit $ac_status); }; } &&
31953 - { ac_try='test -s conftest$ac_exeext'
31954 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31955 - (eval $ac_try) 2>&5
31956 - ac_status=$?
31957 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
31958 - (exit $ac_status); }; }; then
31959 - ac_cv_search_frexp="-l$ac_lib"
31960 -break
31961 + (exit $ac_status); } && {
31962 + test -z "$ac_c_werror_flag" ||
31963 + test ! -s conftest.err
31964 + } && test -s conftest$ac_exeext &&
31965 + $as_test_x conftest$ac_exeext; then
31966 + ac_cv_search_frexp=$ac_res
31967 else
31968 echo "$as_me: failed program was:" >&5
31969 sed 's/^/| /' conftest.$ac_ext >&5
31970
31971 +
31972 fi
31973 -rm -f conftest.err conftest.$ac_objext \
31974 - conftest$ac_exeext conftest.$ac_ext
31975 - done
31976 +
31977 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31978 + conftest$ac_exeext
31979 + if test "${ac_cv_search_frexp+set}" = set; then
31980 + break
31981 +fi
31982 +done
31983 +if test "${ac_cv_search_frexp+set}" = set; then
31984 + :
31985 +else
31986 + ac_cv_search_frexp=no
31987 fi
31988 +rm conftest.$ac_ext
31989 LIBS=$ac_func_search_save_LIBS
31990 fi
31991 -echo "$as_me:$LINENO: result: $ac_cv_search_frexp" >&5
31992 -echo "${ECHO_T}$ac_cv_search_frexp" >&6
31993 -if test "$ac_cv_search_frexp" != no; then
31994 - test "$ac_cv_search_frexp" = "none required" || LIBS="$ac_cv_search_frexp $LIBS"
31995 +{ echo "$as_me:$LINENO: result: $ac_cv_search_frexp" >&5
31996 +echo "${ECHO_T}$ac_cv_search_frexp" >&6; }
31997 +ac_res=$ac_cv_search_frexp
31998 +if test "$ac_res" != no; then
31999 + test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
32000
32001 fi
32002
32003
32004 -echo "$as_me:$LINENO: checking for time_t in time.h" >&5
32005 -echo $ECHO_N "checking for time_t in time.h... $ECHO_C" >&6
32006 +{ echo "$as_me:$LINENO: checking for time_t in time.h" >&5
32007 +echo $ECHO_N "checking for time_t in time.h... $ECHO_C" >&6; }
32008 if test "${bu_cv_decl_time_t_time_h+set}" = set; then
32009 echo $ECHO_N "(cached) $ECHO_C" >&6
32010 else
32011 @@ -9768,39 +10211,35 @@
32012 }
32013 _ACEOF
32014 rm -f conftest.$ac_objext
32015 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32016 - (eval $ac_compile) 2>conftest.er1
32017 +if { (ac_try="$ac_compile"
32018 +case "(($ac_try" in
32019 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32020 + *) ac_try_echo=$ac_try;;
32021 +esac
32022 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32023 + (eval "$ac_compile") 2>conftest.er1
32024 ac_status=$?
32025 grep -v '^ *+' conftest.er1 >conftest.err
32026 rm -f conftest.er1
32027 cat conftest.err >&5
32028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32029 - (exit $ac_status); } &&
32030 - { ac_try='test -z "$ac_c_werror_flag"
32031 - || test ! -s conftest.err'
32032 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32033 - (eval $ac_try) 2>&5
32034 - ac_status=$?
32035 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
32036 - (exit $ac_status); }; } &&
32037 - { ac_try='test -s conftest.$ac_objext'
32038 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32039 - (eval $ac_try) 2>&5
32040 - ac_status=$?
32041 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
32042 - (exit $ac_status); }; }; then
32043 + (exit $ac_status); } && {
32044 + test -z "$ac_c_werror_flag" ||
32045 + test ! -s conftest.err
32046 + } && test -s conftest.$ac_objext; then
32047 bu_cv_decl_time_t_time_h=yes
32048 else
32049 echo "$as_me: failed program was:" >&5
32050 sed 's/^/| /' conftest.$ac_ext >&5
32051
32052 -bu_cv_decl_time_t_time_h=no
32053 + bu_cv_decl_time_t_time_h=no
32054 fi
32055 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32056 +
32057 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32058 fi
32059
32060 -echo "$as_me:$LINENO: result: $bu_cv_decl_time_t_time_h" >&5
32061 -echo "${ECHO_T}$bu_cv_decl_time_t_time_h" >&6
32062 +{ echo "$as_me:$LINENO: result: $bu_cv_decl_time_t_time_h" >&5
32063 +echo "${ECHO_T}$bu_cv_decl_time_t_time_h" >&6; }
32064 if test $bu_cv_decl_time_t_time_h = yes; then
32065
32066 cat >>confdefs.h <<\_ACEOF
32067 @@ -9809,8 +10248,8 @@
32068
32069 fi
32070
32071 -echo "$as_me:$LINENO: checking for time_t in sys/types.h" >&5
32072 -echo $ECHO_N "checking for time_t in sys/types.h... $ECHO_C" >&6
32073 +{ echo "$as_me:$LINENO: checking for time_t in sys/types.h" >&5
32074 +echo $ECHO_N "checking for time_t in sys/types.h... $ECHO_C" >&6; }
32075 if test "${bu_cv_decl_time_t_types_h+set}" = set; then
32076 echo $ECHO_N "(cached) $ECHO_C" >&6
32077 else
32078 @@ -9830,39 +10269,35 @@
32079 }
32080 _ACEOF
32081 rm -f conftest.$ac_objext
32082 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32083 - (eval $ac_compile) 2>conftest.er1
32084 +if { (ac_try="$ac_compile"
32085 +case "(($ac_try" in
32086 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32087 + *) ac_try_echo=$ac_try;;
32088 +esac
32089 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32090 + (eval "$ac_compile") 2>conftest.er1
32091 ac_status=$?
32092 grep -v '^ *+' conftest.er1 >conftest.err
32093 rm -f conftest.er1
32094 cat conftest.err >&5
32095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32096 - (exit $ac_status); } &&
32097 - { ac_try='test -z "$ac_c_werror_flag"
32098 - || test ! -s conftest.err'
32099 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32100 - (eval $ac_try) 2>&5
32101 - ac_status=$?
32102 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
32103 - (exit $ac_status); }; } &&
32104 - { ac_try='test -s conftest.$ac_objext'
32105 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32106 - (eval $ac_try) 2>&5
32107 - ac_status=$?
32108 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
32109 - (exit $ac_status); }; }; then
32110 + (exit $ac_status); } && {
32111 + test -z "$ac_c_werror_flag" ||
32112 + test ! -s conftest.err
32113 + } && test -s conftest.$ac_objext; then
32114 bu_cv_decl_time_t_types_h=yes
32115 else
32116 echo "$as_me: failed program was:" >&5
32117 sed 's/^/| /' conftest.$ac_ext >&5
32118
32119 -bu_cv_decl_time_t_types_h=no
32120 + bu_cv_decl_time_t_types_h=no
32121 fi
32122 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32123 +
32124 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32125 fi
32126
32127 -echo "$as_me:$LINENO: result: $bu_cv_decl_time_t_types_h" >&5
32128 -echo "${ECHO_T}$bu_cv_decl_time_t_types_h" >&6
32129 +{ echo "$as_me:$LINENO: result: $bu_cv_decl_time_t_types_h" >&5
32130 +echo "${ECHO_T}$bu_cv_decl_time_t_types_h" >&6; }
32131 if test $bu_cv_decl_time_t_types_h = yes; then
32132
32133 cat >>confdefs.h <<\_ACEOF
32134 @@ -9871,8 +10306,8 @@
32135
32136 fi
32137
32138 -echo "$as_me:$LINENO: checking for a known getopt prototype in unistd.h" >&5
32139 -echo $ECHO_N "checking for a known getopt prototype in unistd.h... $ECHO_C" >&6
32140 +{ echo "$as_me:$LINENO: checking for a known getopt prototype in unistd.h" >&5
32141 +echo $ECHO_N "checking for a known getopt prototype in unistd.h... $ECHO_C" >&6; }
32142 if test "${bu_cv_decl_getopt_unistd_h+set}" = set; then
32143 echo $ECHO_N "(cached) $ECHO_C" >&6
32144 else
32145 @@ -9892,39 +10327,35 @@
32146 }
32147 _ACEOF
32148 rm -f conftest.$ac_objext
32149 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32150 - (eval $ac_compile) 2>conftest.er1
32151 +if { (ac_try="$ac_compile"
32152 +case "(($ac_try" in
32153 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32154 + *) ac_try_echo=$ac_try;;
32155 +esac
32156 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32157 + (eval "$ac_compile") 2>conftest.er1
32158 ac_status=$?
32159 grep -v '^ *+' conftest.er1 >conftest.err
32160 rm -f conftest.er1
32161 cat conftest.err >&5
32162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32163 - (exit $ac_status); } &&
32164 - { ac_try='test -z "$ac_c_werror_flag"
32165 - || test ! -s conftest.err'
32166 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32167 - (eval $ac_try) 2>&5
32168 - ac_status=$?
32169 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
32170 - (exit $ac_status); }; } &&
32171 - { ac_try='test -s conftest.$ac_objext'
32172 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32173 - (eval $ac_try) 2>&5
32174 - ac_status=$?
32175 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
32176 - (exit $ac_status); }; }; then
32177 + (exit $ac_status); } && {
32178 + test -z "$ac_c_werror_flag" ||
32179 + test ! -s conftest.err
32180 + } && test -s conftest.$ac_objext; then
32181 bu_cv_decl_getopt_unistd_h=yes
32182 else
32183 echo "$as_me: failed program was:" >&5
32184 sed 's/^/| /' conftest.$ac_ext >&5
32185
32186 -bu_cv_decl_getopt_unistd_h=no
32187 + bu_cv_decl_getopt_unistd_h=no
32188 fi
32189 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32190 +
32191 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32192 fi
32193
32194 -echo "$as_me:$LINENO: result: $bu_cv_decl_getopt_unistd_h" >&5
32195 -echo "${ECHO_T}$bu_cv_decl_getopt_unistd_h" >&6
32196 +{ echo "$as_me:$LINENO: result: $bu_cv_decl_getopt_unistd_h" >&5
32197 +echo "${ECHO_T}$bu_cv_decl_getopt_unistd_h" >&6; }
32198 if test $bu_cv_decl_getopt_unistd_h = yes; then
32199
32200 cat >>confdefs.h <<\_ACEOF
32201 @@ -9935,8 +10366,8 @@
32202
32203 # Under Next 3.2 <utime.h> apparently does not define struct utimbuf
32204 # by default.
32205 -echo "$as_me:$LINENO: checking for utime.h" >&5
32206 -echo $ECHO_N "checking for utime.h... $ECHO_C" >&6
32207 +{ echo "$as_me:$LINENO: checking for utime.h" >&5
32208 +echo $ECHO_N "checking for utime.h... $ECHO_C" >&6; }
32209 if test "${bu_cv_header_utime_h+set}" = set; then
32210 echo $ECHO_N "(cached) $ECHO_C" >&6
32211 else
32212 @@ -9960,39 +10391,35 @@
32213 }
32214 _ACEOF
32215 rm -f conftest.$ac_objext
32216 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32217 - (eval $ac_compile) 2>conftest.er1
32218 +if { (ac_try="$ac_compile"
32219 +case "(($ac_try" in
32220 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32221 + *) ac_try_echo=$ac_try;;
32222 +esac
32223 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32224 + (eval "$ac_compile") 2>conftest.er1
32225 ac_status=$?
32226 grep -v '^ *+' conftest.er1 >conftest.err
32227 rm -f conftest.er1
32228 cat conftest.err >&5
32229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32230 - (exit $ac_status); } &&
32231 - { ac_try='test -z "$ac_c_werror_flag"
32232 - || test ! -s conftest.err'
32233 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32234 - (eval $ac_try) 2>&5
32235 - ac_status=$?
32236 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
32237 - (exit $ac_status); }; } &&
32238 - { ac_try='test -s conftest.$ac_objext'
32239 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32240 - (eval $ac_try) 2>&5
32241 - ac_status=$?
32242 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
32243 - (exit $ac_status); }; }; then
32244 + (exit $ac_status); } && {
32245 + test -z "$ac_c_werror_flag" ||
32246 + test ! -s conftest.err
32247 + } && test -s conftest.$ac_objext; then
32248 bu_cv_header_utime_h=yes
32249 else
32250 echo "$as_me: failed program was:" >&5
32251 sed 's/^/| /' conftest.$ac_ext >&5
32252
32253 -bu_cv_header_utime_h=no
32254 + bu_cv_header_utime_h=no
32255 fi
32256 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32257 +
32258 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32259 fi
32260
32261 -echo "$as_me:$LINENO: result: $bu_cv_header_utime_h" >&5
32262 -echo "${ECHO_T}$bu_cv_header_utime_h" >&6
32263 +{ echo "$as_me:$LINENO: result: $bu_cv_header_utime_h" >&5
32264 +echo "${ECHO_T}$bu_cv_header_utime_h" >&6; }
32265 if test $bu_cv_header_utime_h = yes; then
32266
32267 cat >>confdefs.h <<\_ACEOF
32268 @@ -10001,8 +10428,8 @@
32269
32270 fi
32271
32272 -echo "$as_me:$LINENO: checking whether fprintf is declared" >&5
32273 -echo $ECHO_N "checking whether fprintf is declared... $ECHO_C" >&6
32274 +{ echo "$as_me:$LINENO: checking whether fprintf is declared" >&5
32275 +echo $ECHO_N "checking whether fprintf is declared... $ECHO_C" >&6; }
32276 if test "${ac_cv_have_decl_fprintf+set}" = set; then
32277 echo $ECHO_N "(cached) $ECHO_C" >&6
32278 else
32279 @@ -10017,7 +10444,7 @@
32280 main ()
32281 {
32282 #ifndef fprintf
32283 - char *p = (char *) fprintf;
32284 + (void) fprintf;
32285 #endif
32286
32287 ;
32288 @@ -10025,38 +10452,34 @@
32289 }
32290 _ACEOF
32291 rm -f conftest.$ac_objext
32292 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32293 - (eval $ac_compile) 2>conftest.er1
32294 +if { (ac_try="$ac_compile"
32295 +case "(($ac_try" in
32296 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32297 + *) ac_try_echo=$ac_try;;
32298 +esac
32299 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32300 + (eval "$ac_compile") 2>conftest.er1
32301 ac_status=$?
32302 grep -v '^ *+' conftest.er1 >conftest.err
32303 rm -f conftest.er1
32304 cat conftest.err >&5
32305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32306 - (exit $ac_status); } &&
32307 - { ac_try='test -z "$ac_c_werror_flag"
32308 - || test ! -s conftest.err'
32309 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32310 - (eval $ac_try) 2>&5
32311 - ac_status=$?
32312 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
32313 - (exit $ac_status); }; } &&
32314 - { ac_try='test -s conftest.$ac_objext'
32315 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32316 - (eval $ac_try) 2>&5
32317 - ac_status=$?
32318 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
32319 - (exit $ac_status); }; }; then
32320 + (exit $ac_status); } && {
32321 + test -z "$ac_c_werror_flag" ||
32322 + test ! -s conftest.err
32323 + } && test -s conftest.$ac_objext; then
32324 ac_cv_have_decl_fprintf=yes
32325 else
32326 echo "$as_me: failed program was:" >&5
32327 sed 's/^/| /' conftest.$ac_ext >&5
32328
32329 -ac_cv_have_decl_fprintf=no
32330 + ac_cv_have_decl_fprintf=no
32331 fi
32332 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32333 +
32334 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32335 fi
32336 -echo "$as_me:$LINENO: result: $ac_cv_have_decl_fprintf" >&5
32337 -echo "${ECHO_T}$ac_cv_have_decl_fprintf" >&6
32338 +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_fprintf" >&5
32339 +echo "${ECHO_T}$ac_cv_have_decl_fprintf" >&6; }
32340 if test $ac_cv_have_decl_fprintf = yes; then
32341
32342 cat >>confdefs.h <<_ACEOF
32343 @@ -10071,8 +10494,8 @@
32344
32345
32346 fi
32347 -echo "$as_me:$LINENO: checking whether stpcpy is declared" >&5
32348 -echo $ECHO_N "checking whether stpcpy is declared... $ECHO_C" >&6
32349 +{ echo "$as_me:$LINENO: checking whether stpcpy is declared" >&5
32350 +echo $ECHO_N "checking whether stpcpy is declared... $ECHO_C" >&6; }
32351 if test "${ac_cv_have_decl_stpcpy+set}" = set; then
32352 echo $ECHO_N "(cached) $ECHO_C" >&6
32353 else
32354 @@ -10087,7 +10510,7 @@
32355 main ()
32356 {
32357 #ifndef stpcpy
32358 - char *p = (char *) stpcpy;
32359 + (void) stpcpy;
32360 #endif
32361
32362 ;
32363 @@ -10095,38 +10518,34 @@
32364 }
32365 _ACEOF
32366 rm -f conftest.$ac_objext
32367 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32368 - (eval $ac_compile) 2>conftest.er1
32369 +if { (ac_try="$ac_compile"
32370 +case "(($ac_try" in
32371 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32372 + *) ac_try_echo=$ac_try;;
32373 +esac
32374 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32375 + (eval "$ac_compile") 2>conftest.er1
32376 ac_status=$?
32377 grep -v '^ *+' conftest.er1 >conftest.err
32378 rm -f conftest.er1
32379 cat conftest.err >&5
32380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32381 - (exit $ac_status); } &&
32382 - { ac_try='test -z "$ac_c_werror_flag"
32383 - || test ! -s conftest.err'
32384 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32385 - (eval $ac_try) 2>&5
32386 - ac_status=$?
32387 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
32388 - (exit $ac_status); }; } &&
32389 - { ac_try='test -s conftest.$ac_objext'
32390 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32391 - (eval $ac_try) 2>&5
32392 - ac_status=$?
32393 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
32394 - (exit $ac_status); }; }; then
32395 + (exit $ac_status); } && {
32396 + test -z "$ac_c_werror_flag" ||
32397 + test ! -s conftest.err
32398 + } && test -s conftest.$ac_objext; then
32399 ac_cv_have_decl_stpcpy=yes
32400 else
32401 echo "$as_me: failed program was:" >&5
32402 sed 's/^/| /' conftest.$ac_ext >&5
32403
32404 -ac_cv_have_decl_stpcpy=no
32405 + ac_cv_have_decl_stpcpy=no
32406 fi
32407 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32408 +
32409 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32410 fi
32411 -echo "$as_me:$LINENO: result: $ac_cv_have_decl_stpcpy" >&5
32412 -echo "${ECHO_T}$ac_cv_have_decl_stpcpy" >&6
32413 +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_stpcpy" >&5
32414 +echo "${ECHO_T}$ac_cv_have_decl_stpcpy" >&6; }
32415 if test $ac_cv_have_decl_stpcpy = yes; then
32416
32417 cat >>confdefs.h <<_ACEOF
32418 @@ -10141,8 +10560,8 @@
32419
32420
32421 fi
32422 -echo "$as_me:$LINENO: checking whether strstr is declared" >&5
32423 -echo $ECHO_N "checking whether strstr is declared... $ECHO_C" >&6
32424 +{ echo "$as_me:$LINENO: checking whether strstr is declared" >&5
32425 +echo $ECHO_N "checking whether strstr is declared... $ECHO_C" >&6; }
32426 if test "${ac_cv_have_decl_strstr+set}" = set; then
32427 echo $ECHO_N "(cached) $ECHO_C" >&6
32428 else
32429 @@ -10157,7 +10576,7 @@
32430 main ()
32431 {
32432 #ifndef strstr
32433 - char *p = (char *) strstr;
32434 + (void) strstr;
32435 #endif
32436
32437 ;
32438 @@ -10165,38 +10584,34 @@
32439 }
32440 _ACEOF
32441 rm -f conftest.$ac_objext
32442 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32443 - (eval $ac_compile) 2>conftest.er1
32444 +if { (ac_try="$ac_compile"
32445 +case "(($ac_try" in
32446 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32447 + *) ac_try_echo=$ac_try;;
32448 +esac
32449 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32450 + (eval "$ac_compile") 2>conftest.er1
32451 ac_status=$?
32452 grep -v '^ *+' conftest.er1 >conftest.err
32453 rm -f conftest.er1
32454 cat conftest.err >&5
32455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32456 - (exit $ac_status); } &&
32457 - { ac_try='test -z "$ac_c_werror_flag"
32458 - || test ! -s conftest.err'
32459 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32460 - (eval $ac_try) 2>&5
32461 - ac_status=$?
32462 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
32463 - (exit $ac_status); }; } &&
32464 - { ac_try='test -s conftest.$ac_objext'
32465 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32466 - (eval $ac_try) 2>&5
32467 - ac_status=$?
32468 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
32469 - (exit $ac_status); }; }; then
32470 + (exit $ac_status); } && {
32471 + test -z "$ac_c_werror_flag" ||
32472 + test ! -s conftest.err
32473 + } && test -s conftest.$ac_objext; then
32474 ac_cv_have_decl_strstr=yes
32475 else
32476 echo "$as_me: failed program was:" >&5
32477 sed 's/^/| /' conftest.$ac_ext >&5
32478
32479 -ac_cv_have_decl_strstr=no
32480 + ac_cv_have_decl_strstr=no
32481 fi
32482 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32483 +
32484 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32485 fi
32486 -echo "$as_me:$LINENO: result: $ac_cv_have_decl_strstr" >&5
32487 -echo "${ECHO_T}$ac_cv_have_decl_strstr" >&6
32488 +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_strstr" >&5
32489 +echo "${ECHO_T}$ac_cv_have_decl_strstr" >&6; }
32490 if test $ac_cv_have_decl_strstr = yes; then
32491
32492 cat >>confdefs.h <<_ACEOF
32493 @@ -10211,8 +10626,8 @@
32494
32495
32496 fi
32497 -echo "$as_me:$LINENO: checking whether sbrk is declared" >&5
32498 -echo $ECHO_N "checking whether sbrk is declared... $ECHO_C" >&6
32499 +{ echo "$as_me:$LINENO: checking whether sbrk is declared" >&5
32500 +echo $ECHO_N "checking whether sbrk is declared... $ECHO_C" >&6; }
32501 if test "${ac_cv_have_decl_sbrk+set}" = set; then
32502 echo $ECHO_N "(cached) $ECHO_C" >&6
32503 else
32504 @@ -10227,7 +10642,7 @@
32505 main ()
32506 {
32507 #ifndef sbrk
32508 - char *p = (char *) sbrk;
32509 + (void) sbrk;
32510 #endif
32511
32512 ;
32513 @@ -10235,38 +10650,34 @@
32514 }
32515 _ACEOF
32516 rm -f conftest.$ac_objext
32517 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32518 - (eval $ac_compile) 2>conftest.er1
32519 +if { (ac_try="$ac_compile"
32520 +case "(($ac_try" in
32521 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32522 + *) ac_try_echo=$ac_try;;
32523 +esac
32524 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32525 + (eval "$ac_compile") 2>conftest.er1
32526 ac_status=$?
32527 grep -v '^ *+' conftest.er1 >conftest.err
32528 rm -f conftest.er1
32529 cat conftest.err >&5
32530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32531 - (exit $ac_status); } &&
32532 - { ac_try='test -z "$ac_c_werror_flag"
32533 - || test ! -s conftest.err'
32534 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32535 - (eval $ac_try) 2>&5
32536 - ac_status=$?
32537 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
32538 - (exit $ac_status); }; } &&
32539 - { ac_try='test -s conftest.$ac_objext'
32540 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32541 - (eval $ac_try) 2>&5
32542 - ac_status=$?
32543 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
32544 - (exit $ac_status); }; }; then
32545 + (exit $ac_status); } && {
32546 + test -z "$ac_c_werror_flag" ||
32547 + test ! -s conftest.err
32548 + } && test -s conftest.$ac_objext; then
32549 ac_cv_have_decl_sbrk=yes
32550 else
32551 echo "$as_me: failed program was:" >&5
32552 sed 's/^/| /' conftest.$ac_ext >&5
32553
32554 -ac_cv_have_decl_sbrk=no
32555 + ac_cv_have_decl_sbrk=no
32556 fi
32557 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32558 +
32559 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32560 fi
32561 -echo "$as_me:$LINENO: result: $ac_cv_have_decl_sbrk" >&5
32562 -echo "${ECHO_T}$ac_cv_have_decl_sbrk" >&6
32563 +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_sbrk" >&5
32564 +echo "${ECHO_T}$ac_cv_have_decl_sbrk" >&6; }
32565 if test $ac_cv_have_decl_sbrk = yes; then
32566
32567 cat >>confdefs.h <<_ACEOF
32568 @@ -10281,8 +10692,8 @@
32569
32570
32571 fi
32572 -echo "$as_me:$LINENO: checking whether getenv is declared" >&5
32573 -echo $ECHO_N "checking whether getenv is declared... $ECHO_C" >&6
32574 +{ echo "$as_me:$LINENO: checking whether getenv is declared" >&5
32575 +echo $ECHO_N "checking whether getenv is declared... $ECHO_C" >&6; }
32576 if test "${ac_cv_have_decl_getenv+set}" = set; then
32577 echo $ECHO_N "(cached) $ECHO_C" >&6
32578 else
32579 @@ -10297,7 +10708,7 @@
32580 main ()
32581 {
32582 #ifndef getenv
32583 - char *p = (char *) getenv;
32584 + (void) getenv;
32585 #endif
32586
32587 ;
32588 @@ -10305,38 +10716,34 @@
32589 }
32590 _ACEOF
32591 rm -f conftest.$ac_objext
32592 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32593 - (eval $ac_compile) 2>conftest.er1
32594 +if { (ac_try="$ac_compile"
32595 +case "(($ac_try" in
32596 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32597 + *) ac_try_echo=$ac_try;;
32598 +esac
32599 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32600 + (eval "$ac_compile") 2>conftest.er1
32601 ac_status=$?
32602 grep -v '^ *+' conftest.er1 >conftest.err
32603 rm -f conftest.er1
32604 cat conftest.err >&5
32605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32606 - (exit $ac_status); } &&
32607 - { ac_try='test -z "$ac_c_werror_flag"
32608 - || test ! -s conftest.err'
32609 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32610 - (eval $ac_try) 2>&5
32611 - ac_status=$?
32612 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
32613 - (exit $ac_status); }; } &&
32614 - { ac_try='test -s conftest.$ac_objext'
32615 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32616 - (eval $ac_try) 2>&5
32617 - ac_status=$?
32618 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
32619 - (exit $ac_status); }; }; then
32620 + (exit $ac_status); } && {
32621 + test -z "$ac_c_werror_flag" ||
32622 + test ! -s conftest.err
32623 + } && test -s conftest.$ac_objext; then
32624 ac_cv_have_decl_getenv=yes
32625 else
32626 echo "$as_me: failed program was:" >&5
32627 sed 's/^/| /' conftest.$ac_ext >&5
32628
32629 -ac_cv_have_decl_getenv=no
32630 + ac_cv_have_decl_getenv=no
32631 fi
32632 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32633 +
32634 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32635 fi
32636 -echo "$as_me:$LINENO: result: $ac_cv_have_decl_getenv" >&5
32637 -echo "${ECHO_T}$ac_cv_have_decl_getenv" >&6
32638 +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_getenv" >&5
32639 +echo "${ECHO_T}$ac_cv_have_decl_getenv" >&6; }
32640 if test $ac_cv_have_decl_getenv = yes; then
32641
32642 cat >>confdefs.h <<_ACEOF
32643 @@ -10351,8 +10758,8 @@
32644
32645
32646 fi
32647 -echo "$as_me:$LINENO: checking whether environ is declared" >&5
32648 -echo $ECHO_N "checking whether environ is declared... $ECHO_C" >&6
32649 +{ echo "$as_me:$LINENO: checking whether environ is declared" >&5
32650 +echo $ECHO_N "checking whether environ is declared... $ECHO_C" >&6; }
32651 if test "${ac_cv_have_decl_environ+set}" = set; then
32652 echo $ECHO_N "(cached) $ECHO_C" >&6
32653 else
32654 @@ -10367,7 +10774,7 @@
32655 main ()
32656 {
32657 #ifndef environ
32658 - char *p = (char *) environ;
32659 + (void) environ;
32660 #endif
32661
32662 ;
32663 @@ -10375,38 +10782,34 @@
32664 }
32665 _ACEOF
32666 rm -f conftest.$ac_objext
32667 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32668 - (eval $ac_compile) 2>conftest.er1
32669 +if { (ac_try="$ac_compile"
32670 +case "(($ac_try" in
32671 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32672 + *) ac_try_echo=$ac_try;;
32673 +esac
32674 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32675 + (eval "$ac_compile") 2>conftest.er1
32676 ac_status=$?
32677 grep -v '^ *+' conftest.er1 >conftest.err
32678 rm -f conftest.er1
32679 cat conftest.err >&5
32680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32681 - (exit $ac_status); } &&
32682 - { ac_try='test -z "$ac_c_werror_flag"
32683 - || test ! -s conftest.err'
32684 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32685 - (eval $ac_try) 2>&5
32686 - ac_status=$?
32687 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
32688 - (exit $ac_status); }; } &&
32689 - { ac_try='test -s conftest.$ac_objext'
32690 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32691 - (eval $ac_try) 2>&5
32692 - ac_status=$?
32693 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
32694 - (exit $ac_status); }; }; then
32695 + (exit $ac_status); } && {
32696 + test -z "$ac_c_werror_flag" ||
32697 + test ! -s conftest.err
32698 + } && test -s conftest.$ac_objext; then
32699 ac_cv_have_decl_environ=yes
32700 else
32701 echo "$as_me: failed program was:" >&5
32702 sed 's/^/| /' conftest.$ac_ext >&5
32703
32704 -ac_cv_have_decl_environ=no
32705 + ac_cv_have_decl_environ=no
32706 fi
32707 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32708 +
32709 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32710 fi
32711 -echo "$as_me:$LINENO: result: $ac_cv_have_decl_environ" >&5
32712 -echo "${ECHO_T}$ac_cv_have_decl_environ" >&6
32713 +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_environ" >&5
32714 +echo "${ECHO_T}$ac_cv_have_decl_environ" >&6; }
32715 if test $ac_cv_have_decl_environ = yes; then
32716
32717 cat >>confdefs.h <<_ACEOF
32718 @@ -10421,8 +10824,8 @@
32719
32720
32721 fi
32722 -echo "$as_me:$LINENO: checking whether getc_unlocked is declared" >&5
32723 -echo $ECHO_N "checking whether getc_unlocked is declared... $ECHO_C" >&6
32724 +{ echo "$as_me:$LINENO: checking whether getc_unlocked is declared" >&5
32725 +echo $ECHO_N "checking whether getc_unlocked is declared... $ECHO_C" >&6; }
32726 if test "${ac_cv_have_decl_getc_unlocked+set}" = set; then
32727 echo $ECHO_N "(cached) $ECHO_C" >&6
32728 else
32729 @@ -10437,7 +10840,7 @@
32730 main ()
32731 {
32732 #ifndef getc_unlocked
32733 - char *p = (char *) getc_unlocked;
32734 + (void) getc_unlocked;
32735 #endif
32736
32737 ;
32738 @@ -10445,38 +10848,34 @@
32739 }
32740 _ACEOF
32741 rm -f conftest.$ac_objext
32742 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32743 - (eval $ac_compile) 2>conftest.er1
32744 +if { (ac_try="$ac_compile"
32745 +case "(($ac_try" in
32746 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32747 + *) ac_try_echo=$ac_try;;
32748 +esac
32749 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32750 + (eval "$ac_compile") 2>conftest.er1
32751 ac_status=$?
32752 grep -v '^ *+' conftest.er1 >conftest.err
32753 rm -f conftest.er1
32754 cat conftest.err >&5
32755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32756 - (exit $ac_status); } &&
32757 - { ac_try='test -z "$ac_c_werror_flag"
32758 - || test ! -s conftest.err'
32759 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32760 - (eval $ac_try) 2>&5
32761 - ac_status=$?
32762 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
32763 - (exit $ac_status); }; } &&
32764 - { ac_try='test -s conftest.$ac_objext'
32765 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32766 - (eval $ac_try) 2>&5
32767 - ac_status=$?
32768 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
32769 - (exit $ac_status); }; }; then
32770 + (exit $ac_status); } && {
32771 + test -z "$ac_c_werror_flag" ||
32772 + test ! -s conftest.err
32773 + } && test -s conftest.$ac_objext; then
32774 ac_cv_have_decl_getc_unlocked=yes
32775 else
32776 echo "$as_me: failed program was:" >&5
32777 sed 's/^/| /' conftest.$ac_ext >&5
32778
32779 -ac_cv_have_decl_getc_unlocked=no
32780 + ac_cv_have_decl_getc_unlocked=no
32781 fi
32782 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32783 +
32784 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32785 fi
32786 -echo "$as_me:$LINENO: result: $ac_cv_have_decl_getc_unlocked" >&5
32787 -echo "${ECHO_T}$ac_cv_have_decl_getc_unlocked" >&6
32788 +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_getc_unlocked" >&5
32789 +echo "${ECHO_T}$ac_cv_have_decl_getc_unlocked" >&6; }
32790 if test $ac_cv_have_decl_getc_unlocked = yes; then
32791
32792 cat >>confdefs.h <<_ACEOF
32793 @@ -10491,8 +10890,8 @@
32794
32795
32796 fi
32797 -echo "$as_me:$LINENO: checking whether snprintf is declared" >&5
32798 -echo $ECHO_N "checking whether snprintf is declared... $ECHO_C" >&6
32799 +{ echo "$as_me:$LINENO: checking whether snprintf is declared" >&5
32800 +echo $ECHO_N "checking whether snprintf is declared... $ECHO_C" >&6; }
32801 if test "${ac_cv_have_decl_snprintf+set}" = set; then
32802 echo $ECHO_N "(cached) $ECHO_C" >&6
32803 else
32804 @@ -10507,7 +10906,7 @@
32805 main ()
32806 {
32807 #ifndef snprintf
32808 - char *p = (char *) snprintf;
32809 + (void) snprintf;
32810 #endif
32811
32812 ;
32813 @@ -10515,38 +10914,34 @@
32814 }
32815 _ACEOF
32816 rm -f conftest.$ac_objext
32817 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32818 - (eval $ac_compile) 2>conftest.er1
32819 +if { (ac_try="$ac_compile"
32820 +case "(($ac_try" in
32821 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32822 + *) ac_try_echo=$ac_try;;
32823 +esac
32824 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32825 + (eval "$ac_compile") 2>conftest.er1
32826 ac_status=$?
32827 grep -v '^ *+' conftest.er1 >conftest.err
32828 rm -f conftest.er1
32829 cat conftest.err >&5
32830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32831 - (exit $ac_status); } &&
32832 - { ac_try='test -z "$ac_c_werror_flag"
32833 - || test ! -s conftest.err'
32834 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32835 - (eval $ac_try) 2>&5
32836 - ac_status=$?
32837 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
32838 - (exit $ac_status); }; } &&
32839 - { ac_try='test -s conftest.$ac_objext'
32840 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32841 - (eval $ac_try) 2>&5
32842 - ac_status=$?
32843 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
32844 - (exit $ac_status); }; }; then
32845 + (exit $ac_status); } && {
32846 + test -z "$ac_c_werror_flag" ||
32847 + test ! -s conftest.err
32848 + } && test -s conftest.$ac_objext; then
32849 ac_cv_have_decl_snprintf=yes
32850 else
32851 echo "$as_me: failed program was:" >&5
32852 sed 's/^/| /' conftest.$ac_ext >&5
32853
32854 -ac_cv_have_decl_snprintf=no
32855 + ac_cv_have_decl_snprintf=no
32856 fi
32857 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32858 +
32859 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32860 fi
32861 -echo "$as_me:$LINENO: result: $ac_cv_have_decl_snprintf" >&5
32862 -echo "${ECHO_T}$ac_cv_have_decl_snprintf" >&6
32863 +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_snprintf" >&5
32864 +echo "${ECHO_T}$ac_cv_have_decl_snprintf" >&6; }
32865 if test $ac_cv_have_decl_snprintf = yes; then
32866
32867 cat >>confdefs.h <<_ACEOF
32868 @@ -10561,8 +10956,8 @@
32869
32870
32871 fi
32872 -echo "$as_me:$LINENO: checking whether vsnprintf is declared" >&5
32873 -echo $ECHO_N "checking whether vsnprintf is declared... $ECHO_C" >&6
32874 +{ echo "$as_me:$LINENO: checking whether vsnprintf is declared" >&5
32875 +echo $ECHO_N "checking whether vsnprintf is declared... $ECHO_C" >&6; }
32876 if test "${ac_cv_have_decl_vsnprintf+set}" = set; then
32877 echo $ECHO_N "(cached) $ECHO_C" >&6
32878 else
32879 @@ -10577,7 +10972,7 @@
32880 main ()
32881 {
32882 #ifndef vsnprintf
32883 - char *p = (char *) vsnprintf;
32884 + (void) vsnprintf;
32885 #endif
32886
32887 ;
32888 @@ -10585,38 +10980,34 @@
32889 }
32890 _ACEOF
32891 rm -f conftest.$ac_objext
32892 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32893 - (eval $ac_compile) 2>conftest.er1
32894 +if { (ac_try="$ac_compile"
32895 +case "(($ac_try" in
32896 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32897 + *) ac_try_echo=$ac_try;;
32898 +esac
32899 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32900 + (eval "$ac_compile") 2>conftest.er1
32901 ac_status=$?
32902 grep -v '^ *+' conftest.er1 >conftest.err
32903 rm -f conftest.er1
32904 cat conftest.err >&5
32905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32906 - (exit $ac_status); } &&
32907 - { ac_try='test -z "$ac_c_werror_flag"
32908 - || test ! -s conftest.err'
32909 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32910 - (eval $ac_try) 2>&5
32911 - ac_status=$?
32912 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
32913 - (exit $ac_status); }; } &&
32914 - { ac_try='test -s conftest.$ac_objext'
32915 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32916 - (eval $ac_try) 2>&5
32917 - ac_status=$?
32918 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
32919 - (exit $ac_status); }; }; then
32920 + (exit $ac_status); } && {
32921 + test -z "$ac_c_werror_flag" ||
32922 + test ! -s conftest.err
32923 + } && test -s conftest.$ac_objext; then
32924 ac_cv_have_decl_vsnprintf=yes
32925 else
32926 echo "$as_me: failed program was:" >&5
32927 sed 's/^/| /' conftest.$ac_ext >&5
32928
32929 -ac_cv_have_decl_vsnprintf=no
32930 + ac_cv_have_decl_vsnprintf=no
32931 fi
32932 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32933 +
32934 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32935 fi
32936 -echo "$as_me:$LINENO: result: $ac_cv_have_decl_vsnprintf" >&5
32937 -echo "${ECHO_T}$ac_cv_have_decl_vsnprintf" >&6
32938 +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_vsnprintf" >&5
32939 +echo "${ECHO_T}$ac_cv_have_decl_vsnprintf" >&6; }
32940 if test $ac_cv_have_decl_vsnprintf = yes; then
32941
32942 cat >>confdefs.h <<_ACEOF
32943 @@ -10817,8 +11208,10 @@
32944
32945
32946
32947 - ac_config_files="$ac_config_files Makefile doc/Makefile po/Makefile.in:po/Make-in"
32948 - ac_config_commands="$ac_config_commands default"
32949 +ac_config_files="$ac_config_files Makefile doc/Makefile po/Makefile.in:po/Make-in"
32950 +
32951 +ac_config_commands="$ac_config_commands default"
32952 +
32953 cat >confcache <<\_ACEOF
32954 # This file is a shell script that caches the results of configure
32955 # tests run on this system so they can be shared between configure
32956 @@ -10837,39 +11230,58 @@
32957
32958 # The following way of writing the cache mishandles newlines in values,
32959 # but we know of no workaround that is simple, portable, and efficient.
32960 -# So, don't put newlines in cache variables' values.
32961 +# So, we kill variables containing newlines.
32962 # Ultrix sh set writes to stderr and can't be redirected directly,
32963 # and sets the high bit in the cache file unless we assign to the vars.
32964 -{
32965 +(
32966 + for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
32967 + eval ac_val=\$$ac_var
32968 + case $ac_val in #(
32969 + *${as_nl}*)
32970 + case $ac_var in #(
32971 + *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
32972 +echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
32973 + esac
32974 + case $ac_var in #(
32975 + _ | IFS | as_nl) ;; #(
32976 + *) $as_unset $ac_var ;;
32977 + esac ;;
32978 + esac
32979 + done
32980 +
32981 (set) 2>&1 |
32982 - case `(ac_space=' '; set | grep ac_space) 2>&1` in
32983 - *ac_space=\ *)
32984 + case $as_nl`(ac_space=' '; set) 2>&1` in #(
32985 + *${as_nl}ac_space=\ *)
32986 # `set' does not quote correctly, so add quotes (double-quote
32987 # substitution turns \\\\ into \\, and sed turns \\ into \).
32988 sed -n \
32989 "s/'/'\\\\''/g;
32990 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
32991 - ;;
32992 + ;; #(
32993 *)
32994 # `set' quotes correctly as required by POSIX, so do not add quotes.
32995 - sed -n \
32996 - "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
32997 + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
32998 ;;
32999 - esac;
33000 -} |
33001 + esac |
33002 + sort
33003 +) |
33004 sed '
33005 + /^ac_cv_env_/b end
33006 t clear
33007 - : clear
33008 + :clear
33009 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
33010 t end
33011 - /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
33012 - : end' >>confcache
33013 -if diff $cache_file confcache >/dev/null 2>&1; then :; else
33014 - if test -w $cache_file; then
33015 - test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
33016 + s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
33017 + :end' >>confcache
33018 +if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
33019 + if test -w "$cache_file"; then
33020 + test "x$cache_file" != "x/dev/null" &&
33021 + { echo "$as_me:$LINENO: updating cache $cache_file" >&5
33022 +echo "$as_me: updating cache $cache_file" >&6;}
33023 cat confcache >$cache_file
33024 else
33025 - echo "not updating unwritable cache $cache_file"
33026 + { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
33027 +echo "$as_me: not updating unwritable cache $cache_file" >&6;}
33028 fi
33029 fi
33030 rm -f confcache
33031 @@ -10878,32 +11290,18 @@
33032 # Let make expand exec_prefix.
33033 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
33034
33035 -# VPATH may cause trouble with some makes, so we remove $(srcdir),
33036 -# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
33037 -# trailing colons and then remove the whole line if VPATH becomes empty
33038 -# (actually we leave an empty line to preserve line numbers).
33039 -if test "x$srcdir" = x.; then
33040 - ac_vpsub='/^[ ]*VPATH[ ]*=/{
33041 -s/:*\$(srcdir):*/:/;
33042 -s/:*\${srcdir}:*/:/;
33043 -s/:*@srcdir@:*/:/;
33044 -s/^\([^=]*=[ ]*\):*/\1/;
33045 -s/:*$//;
33046 -s/^[^=]*=[ ]*$//;
33047 -}'
33048 -fi
33049 -
33050 DEFS=-DHAVE_CONFIG_H
33051
33052 ac_libobjs=
33053 ac_ltlibobjs=
33054 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
33055 # 1. Remove the extension, and $U if already installed.
33056 - ac_i=`echo "$ac_i" |
33057 - sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
33058 - # 2. Add them.
33059 - ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
33060 - ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
33061 + ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
33062 + ac_i=`echo "$ac_i" | sed "$ac_script"`
33063 + # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
33064 + # will be set to the directory where LIBOBJS objects are built.
33065 + ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
33066 + ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
33067 done
33068 LIBOBJS=$ac_libobjs
33069
33070 @@ -10955,17 +11353,45 @@
33071 ## M4sh Initialization. ##
33072 ## --------------------- ##
33073
33074 -# Be Bourne compatible
33075 +# Be more Bourne compatible
33076 +DUALCASE=1; export DUALCASE # for MKS sh
33077 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
33078 emulate sh
33079 NULLCMD=:
33080 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
33081 # is contrary to our usage. Disable this feature.
33082 alias -g '${1+"$@"}'='"$@"'
33083 -elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
33084 - set -o posix
33085 + setopt NO_GLOB_SUBST
33086 +else
33087 + case `(set -o) 2>/dev/null` in
33088 + *posix*) set -o posix ;;
33089 +esac
33090 +
33091 +fi
33092 +
33093 +
33094 +
33095 +
33096 +# PATH needs CR
33097 +# Avoid depending upon Character Ranges.
33098 +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
33099 +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
33100 +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
33101 +as_cr_digits='0123456789'
33102 +as_cr_alnum=$as_cr_Letters$as_cr_digits
33103 +
33104 +# The user is always right.
33105 +if test "${PATH_SEPARATOR+set}" != set; then
33106 + echo "#! /bin/sh" >conf$$.sh
33107 + echo "exit 0" >>conf$$.sh
33108 + chmod +x conf$$.sh
33109 + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
33110 + PATH_SEPARATOR=';'
33111 + else
33112 + PATH_SEPARATOR=:
33113 + fi
33114 + rm -f conf$$.sh
33115 fi
33116 -DUALCASE=1; export DUALCASE # for MKS sh
33117
33118 # Support unset when possible.
33119 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
33120 @@ -10975,8 +11401,43 @@
33121 fi
33122
33123
33124 +# IFS
33125 +# We need space, tab and new line, in precisely that order. Quoting is
33126 +# there to prevent editors from complaining about space-tab.
33127 +# (If _AS_PATH_WALK were called with IFS unset, it would disable word
33128 +# splitting by setting IFS to empty value.)
33129 +as_nl='
33130 +'
33131 +IFS=" "" $as_nl"
33132 +
33133 +# Find who we are. Look in the path if we contain no directory separator.
33134 +case $0 in
33135 + *[\\/]* ) as_myself=$0 ;;
33136 + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33137 +for as_dir in $PATH
33138 +do
33139 + IFS=$as_save_IFS
33140 + test -z "$as_dir" && as_dir=.
33141 + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
33142 +done
33143 +IFS=$as_save_IFS
33144 +
33145 + ;;
33146 +esac
33147 +# We did not find ourselves, most probably we were run as `sh COMMAND'
33148 +# in which case we are not to be found in the path.
33149 +if test "x$as_myself" = x; then
33150 + as_myself=$0
33151 +fi
33152 +if test ! -f "$as_myself"; then
33153 + echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
33154 + { (exit 1); exit 1; }
33155 +fi
33156 +
33157 # Work around bugs in pre-3.0 UWIN ksh.
33158 -$as_unset ENV MAIL MAILPATH
33159 +for as_var in ENV MAIL MAILPATH
33160 +do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
33161 +done
33162 PS1='$ '
33163 PS2='> '
33164 PS4='+ '
33165 @@ -10990,18 +11451,19 @@
33166 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
33167 eval $as_var=C; export $as_var
33168 else
33169 - $as_unset $as_var
33170 + ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
33171 fi
33172 done
33173
33174 # Required to use basename.
33175 -if expr a : '\(a\)' >/dev/null 2>&1; then
33176 +if expr a : '\(a\)' >/dev/null 2>&1 &&
33177 + test "X`expr 00001 : '.*\(...\)'`" = X001; then
33178 as_expr=expr
33179 else
33180 as_expr=false
33181 fi
33182
33183 -if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
33184 +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
33185 as_basename=basename
33186 else
33187 as_basename=false
33188 @@ -11009,159 +11471,120 @@
33189
33190
33191 # Name of the executable.
33192 -as_me=`$as_basename "$0" ||
33193 +as_me=`$as_basename -- "$0" ||
33194 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
33195 X"$0" : 'X\(//\)$' \| \
33196 - X"$0" : 'X\(/\)$' \| \
33197 - . : '\(.\)' 2>/dev/null ||
33198 + X"$0" : 'X\(/\)' \| . 2>/dev/null ||
33199 echo X/"$0" |
33200 - sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
33201 - /^X\/\(\/\/\)$/{ s//\1/; q; }
33202 - /^X\/\(\/\).*/{ s//\1/; q; }
33203 - s/.*/./; q'`
33204 + sed '/^.*\/\([^/][^/]*\)\/*$/{
33205 + s//\1/
33206 + q
33207 + }
33208 + /^X\/\(\/\/\)$/{
33209 + s//\1/
33210 + q
33211 + }
33212 + /^X\/\(\/\).*/{
33213 + s//\1/
33214 + q
33215 + }
33216 + s/.*/./; q'`
33217
33218 -
33219 -# PATH needs CR, and LINENO needs CR and PATH.
33220 -# Avoid depending upon Character Ranges.
33221 -as_cr_letters='abcdefghijklmnopqrstuvwxyz'
33222 -as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
33223 -as_cr_Letters=$as_cr_letters$as_cr_LETTERS
33224 -as_cr_digits='0123456789'
33225 -as_cr_alnum=$as_cr_Letters$as_cr_digits
33226 -
33227 -# The user is always right.
33228 -if test "${PATH_SEPARATOR+set}" != set; then
33229 - echo "#! /bin/sh" >conf$$.sh
33230 - echo "exit 0" >>conf$$.sh
33231 - chmod +x conf$$.sh
33232 - if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
33233 - PATH_SEPARATOR=';'
33234 - else
33235 - PATH_SEPARATOR=:
33236 - fi
33237 - rm -f conf$$.sh
33238 -fi
33239 +# CDPATH.
33240 +$as_unset CDPATH
33241
33242
33243 - as_lineno_1=$LINENO
33244 - as_lineno_2=$LINENO
33245 - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
33246 - test "x$as_lineno_1" != "x$as_lineno_2" &&
33247 - test "x$as_lineno_3" = "x$as_lineno_2" || {
33248 - # Find who we are. Look in the path if we contain no path at all
33249 - # relative or not.
33250 - case $0 in
33251 - *[\\/]* ) as_myself=$0 ;;
33252 - *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33253 -for as_dir in $PATH
33254 -do
33255 - IFS=$as_save_IFS
33256 - test -z "$as_dir" && as_dir=.
33257 - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
33258 -done
33259
33260 - ;;
33261 - esac
33262 - # We did not find ourselves, most probably we were run as `sh COMMAND'
33263 - # in which case we are not to be found in the path.
33264 - if test "x$as_myself" = x; then
33265 - as_myself=$0
33266 - fi
33267 - if test ! -f "$as_myself"; then
33268 - { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
33269 -echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
33270 - { (exit 1); exit 1; }; }
33271 - fi
33272 - case $CONFIG_SHELL in
33273 - '')
33274 - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33275 -for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
33276 -do
33277 - IFS=$as_save_IFS
33278 - test -z "$as_dir" && as_dir=.
33279 - for as_base in sh bash ksh sh5; do
33280 - case $as_dir in
33281 - /*)
33282 - if ("$as_dir/$as_base" -c '
33283 as_lineno_1=$LINENO
33284 as_lineno_2=$LINENO
33285 - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
33286 test "x$as_lineno_1" != "x$as_lineno_2" &&
33287 - test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
33288 - $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
33289 - $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
33290 - CONFIG_SHELL=$as_dir/$as_base
33291 - export CONFIG_SHELL
33292 - exec "$CONFIG_SHELL" "$0" ${1+"$@"}
33293 - fi;;
33294 - esac
33295 - done
33296 -done
33297 -;;
33298 - esac
33299 + test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
33300
33301 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
33302 # uniformly replaced by the line number. The first 'sed' inserts a
33303 - # line-number line before each line; the second 'sed' does the real
33304 - # work. The second script uses 'N' to pair each line-number line
33305 - # with the numbered line, and appends trailing '-' during
33306 - # substitution so that $LINENO is not a special case at line end.
33307 + # line-number line after each line using $LINENO; the second 'sed'
33308 + # does the real work. The second script uses 'N' to pair each
33309 + # line-number line with the line containing $LINENO, and appends
33310 + # trailing '-' during substitution so that $LINENO is not a special
33311 + # case at line end.
33312 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
33313 - # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
33314 - sed '=' <$as_myself |
33315 + # scripts with optimization help from Paolo Bonzini. Blame Lee
33316 + # E. McMahon (1931-1989) for sed's syntax. :-)
33317 + sed -n '
33318 + p
33319 + /[$]LINENO/=
33320 + ' <$as_myself |
33321 sed '
33322 + s/[$]LINENO.*/&-/
33323 + t lineno
33324 + b
33325 + :lineno
33326 N
33327 - s,$,-,
33328 - : loop
33329 - s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
33330 + :loop
33331 + s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
33332 t loop
33333 - s,-$,,
33334 - s,^['$as_cr_digits']*\n,,
33335 + s/-\n.*//
33336 ' >$as_me.lineno &&
33337 - chmod +x $as_me.lineno ||
33338 - { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
33339 -echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
33340 + chmod +x "$as_me.lineno" ||
33341 + { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
33342 { (exit 1); exit 1; }; }
33343
33344 # Don't try to exec as it changes $[0], causing all sort of problems
33345 # (the dirname of $[0] is not the place where we might find the
33346 - # original and so on. Autoconf is especially sensible to this).
33347 - . ./$as_me.lineno
33348 + # original and so on. Autoconf is especially sensitive to this).
33349 + . "./$as_me.lineno"
33350 # Exit status is that of the last command.
33351 exit
33352 }
33353
33354
33355 -case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
33356 - *c*,-n*) ECHO_N= ECHO_C='
33357 -' ECHO_T=' ' ;;
33358 - *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
33359 - *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
33360 +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
33361 + as_dirname=dirname
33362 +else
33363 + as_dirname=false
33364 +fi
33365 +
33366 +ECHO_C= ECHO_N= ECHO_T=
33367 +case `echo -n x` in
33368 +-n*)
33369 + case `echo 'x\c'` in
33370 + *c*) ECHO_T=' ';; # ECHO_T is single tab character.
33371 + *) ECHO_C='\c';;
33372 + esac;;
33373 +*)
33374 + ECHO_N='-n';;
33375 esac
33376
33377 -if expr a : '\(a\)' >/dev/null 2>&1; then
33378 +if expr a : '\(a\)' >/dev/null 2>&1 &&
33379 + test "X`expr 00001 : '.*\(...\)'`" = X001; then
33380 as_expr=expr
33381 else
33382 as_expr=false
33383 fi
33384
33385 rm -f conf$$ conf$$.exe conf$$.file
33386 +if test -d conf$$.dir; then
33387 + rm -f conf$$.dir/conf$$.file
33388 +else
33389 + rm -f conf$$.dir
33390 + mkdir conf$$.dir
33391 +fi
33392 echo >conf$$.file
33393 if ln -s conf$$.file conf$$ 2>/dev/null; then
33394 - # We could just check for DJGPP; but this test a) works b) is more generic
33395 - # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
33396 - if test -f conf$$.exe; then
33397 - # Don't use ln at all; we don't have any links
33398 + as_ln_s='ln -s'
33399 + # ... but there are two gotchas:
33400 + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
33401 + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
33402 + # In both cases, we have to default to `cp -p'.
33403 + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
33404 as_ln_s='cp -p'
33405 - else
33406 - as_ln_s='ln -s'
33407 - fi
33408 elif ln conf$$.file conf$$ 2>/dev/null; then
33409 as_ln_s=ln
33410 else
33411 as_ln_s='cp -p'
33412 fi
33413 -rm -f conf$$ conf$$.exe conf$$.file
33414 +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
33415 +rmdir conf$$.dir 2>/dev/null
33416
33417 if mkdir -p . 2>/dev/null; then
33418 as_mkdir_p=:
33419 @@ -11170,7 +11593,28 @@
33420 as_mkdir_p=false
33421 fi
33422
33423 -as_executable_p="test -f"
33424 +if test -x / >/dev/null 2>&1; then
33425 + as_test_x='test -x'
33426 +else
33427 + if ls -dL / >/dev/null 2>&1; then
33428 + as_ls_L_option=L
33429 + else
33430 + as_ls_L_option=
33431 + fi
33432 + as_test_x='
33433 + eval sh -c '\''
33434 + if test -d "$1"; then
33435 + test -d "$1/.";
33436 + else
33437 + case $1 in
33438 + -*)set "./$1";;
33439 + esac;
33440 + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
33441 + ???[sx]*):;;*)false;;esac;fi
33442 + '\'' sh
33443 + '
33444 +fi
33445 +as_executable_p=$as_test_x
33446
33447 # Sed expression to map a string onto a valid CPP name.
33448 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
33449 @@ -11179,31 +11623,14 @@
33450 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
33451
33452
33453 -# IFS
33454 -# We need space, tab and new line, in precisely that order.
33455 -as_nl='
33456 -'
33457 -IFS=" $as_nl"
33458 -
33459 -# CDPATH.
33460 -$as_unset CDPATH
33461 -
33462 exec 6>&1
33463
33464 -# Open the log real soon, to keep \$[0] and so on meaningful, and to
33465 +# Save the log message, to keep $[0] and so on meaningful, and to
33466 # report actual input values of CONFIG_FILES etc. instead of their
33467 -# values after options handling. Logging --version etc. is OK.
33468 -exec 5>>config.log
33469 -{
33470 - echo
33471 - sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
33472 -## Running $as_me. ##
33473 -_ASBOX
33474 -} >&5
33475 -cat >&5 <<_CSEOF
33476 -
33477 +# values after options handling.
33478 +ac_log="
33479 This file was extended by $as_me, which was
33480 -generated by GNU Autoconf 2.59. Invocation command line was
33481 +generated by GNU Autoconf 2.61. Invocation command line was
33482
33483 CONFIG_FILES = $CONFIG_FILES
33484 CONFIG_HEADERS = $CONFIG_HEADERS
33485 @@ -11211,30 +11638,20 @@
33486 CONFIG_COMMANDS = $CONFIG_COMMANDS
33487 $ $0 $@
33488
33489 -_CSEOF
33490 -echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
33491 -echo >&5
33492 +on `(hostname || uname -n) 2>/dev/null | sed 1q`
33493 +"
33494 +
33495 _ACEOF
33496
33497 +cat >>$CONFIG_STATUS <<_ACEOF
33498 # Files that config.status was made for.
33499 -if test -n "$ac_config_files"; then
33500 - echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
33501 -fi
33502 -
33503 -if test -n "$ac_config_headers"; then
33504 - echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
33505 -fi
33506 -
33507 -if test -n "$ac_config_links"; then
33508 - echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
33509 -fi
33510 +config_files="$ac_config_files"
33511 +config_headers="$ac_config_headers"
33512 +config_commands="$ac_config_commands"
33513
33514 -if test -n "$ac_config_commands"; then
33515 - echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
33516 -fi
33517 +_ACEOF
33518
33519 cat >>$CONFIG_STATUS <<\_ACEOF
33520 -
33521 ac_cs_usage="\
33522 \`$as_me' instantiates files from templates according to the
33523 current configuration.
33524 @@ -11242,7 +11659,7 @@
33525 Usage: $0 [OPTIONS] [FILE]...
33526
33527 -h, --help print this help, then exit
33528 - -V, --version print version number, then exit
33529 + -V, --version print version number and configuration settings, then exit
33530 -q, --quiet do not print progress messages
33531 -d, --debug don't remove temporary files
33532 --recheck update $as_me by reconfiguring in the same conditions
33533 @@ -11261,19 +11678,21 @@
33534 $config_commands
33535
33536 Report bugs to <bug-autoconf@gnu.org>."
33537 -_ACEOF
33538
33539 +_ACEOF
33540 cat >>$CONFIG_STATUS <<_ACEOF
33541 ac_cs_version="\\
33542 config.status
33543 -configured by $0, generated by GNU Autoconf 2.59,
33544 - with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
33545 +configured by $0, generated by GNU Autoconf 2.61,
33546 + with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
33547
33548 -Copyright (C) 2003 Free Software Foundation, Inc.
33549 +Copyright (C) 2006 Free Software Foundation, Inc.
33550 This config.status script is free software; the Free Software Foundation
33551 gives unlimited permission to copy, distribute and modify it."
33552 -srcdir=$srcdir
33553 -INSTALL="$INSTALL"
33554 +
33555 +ac_pwd='$ac_pwd'
33556 +srcdir='$srcdir'
33557 +INSTALL='$INSTALL'
33558 _ACEOF
33559
33560 cat >>$CONFIG_STATUS <<\_ACEOF
33561 @@ -11284,39 +11703,24 @@
33562 do
33563 case $1 in
33564 --*=*)
33565 - ac_option=`expr "x$1" : 'x\([^=]*\)='`
33566 - ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
33567 + ac_option=`expr "X$1" : 'X\([^=]*\)='`
33568 + ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
33569 ac_shift=:
33570 ;;
33571 - -*)
33572 + *)
33573 ac_option=$1
33574 ac_optarg=$2
33575 ac_shift=shift
33576 ;;
33577 - *) # This is not an option, so the user has probably given explicit
33578 - # arguments.
33579 - ac_option=$1
33580 - ac_need_defaults=false;;
33581 esac
33582
33583 case $ac_option in
33584 # Handling of the options.
33585 -_ACEOF
33586 -cat >>$CONFIG_STATUS <<\_ACEOF
33587 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
33588 ac_cs_recheck=: ;;
33589 - --version | --vers* | -V )
33590 - echo "$ac_cs_version"; exit 0 ;;
33591 - --he | --h)
33592 - # Conflict between --help and --header
33593 - { { echo "$as_me:$LINENO: error: ambiguous option: $1
33594 -Try \`$0 --help' for more information." >&5
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 0 ;;
33600 - --debug | --d* | -d )
33601 + --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
33602 + echo "$ac_cs_version"; exit ;;
33603 + --debug | --debu | --deb | --de | --d | -d )
33604 debug=: ;;
33605 --file | --fil | --fi | --f )
33606 $ac_shift
33607 @@ -11326,18 +11730,24 @@
33608 $ac_shift
33609 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
33610 ac_need_defaults=false;;
33611 + --he | --h)
33612 + # Conflict between --help and --header
33613 + { echo "$as_me: error: ambiguous option: $1
33614 +Try \`$0 --help' for more information." >&2
33615 + { (exit 1); exit 1; }; };;
33616 + --help | --hel | -h )
33617 + echo "$ac_cs_usage"; exit ;;
33618 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
33619 | -silent | --silent | --silen | --sile | --sil | --si | --s)
33620 ac_cs_silent=: ;;
33621
33622 # This is an error.
33623 - -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
33624 -Try \`$0 --help' for more information." >&5
33625 -echo "$as_me: error: unrecognized option: $1
33626 -Try \`$0 --help' for more information." >&2;}
33627 + -*) { echo "$as_me: error: unrecognized option: $1
33628 +Try \`$0 --help' for more information." >&2
33629 { (exit 1); exit 1; }; } ;;
33630
33631 - *) ac_config_targets="$ac_config_targets $1" ;;
33632 + *) ac_config_targets="$ac_config_targets $1"
33633 + ac_need_defaults=false ;;
33634
33635 esac
33636 shift
33637 @@ -11353,40 +11763,52 @@
33638 _ACEOF
33639 cat >>$CONFIG_STATUS <<_ACEOF
33640 if \$ac_cs_recheck; then
33641 - echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
33642 - exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
33643 + echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
33644 + CONFIG_SHELL=$SHELL
33645 + export CONFIG_SHELL
33646 + exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
33647 fi
33648
33649 _ACEOF
33650 +cat >>$CONFIG_STATUS <<\_ACEOF
33651 +exec 5>>config.log
33652 +{
33653 + echo
33654 + sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
33655 +## Running $as_me. ##
33656 +_ASBOX
33657 + echo "$ac_log"
33658 +} >&5
33659
33660 +_ACEOF
33661 cat >>$CONFIG_STATUS <<_ACEOF
33662 #
33663 -# INIT-COMMANDS section.
33664 +# INIT-COMMANDS
33665 #
33666 -
33667 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
33668
33669 _ACEOF
33670
33671 -
33672 -
33673 cat >>$CONFIG_STATUS <<\_ACEOF
33674 +
33675 +# Handling of arguments.
33676 for ac_config_target in $ac_config_targets
33677 do
33678 - case "$ac_config_target" in
33679 - # Handling of arguments.
33680 - "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
33681 - "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
33682 - "po/Makefile.in" ) CONFIG_FILES="$CONFIG_FILES po/Makefile.in:po/Make-in" ;;
33683 - "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
33684 - "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
33685 - "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.in" ;;
33686 + case $ac_config_target in
33687 + "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
33688 + "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.in" ;;
33689 + "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
33690 + "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
33691 + "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in:po/Make-in" ;;
33692 + "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
33693 +
33694 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
33695 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
33696 { (exit 1); exit 1; }; };;
33697 esac
33698 done
33699
33700 +
33701 # If the user did not use the arguments to specify the items to instantiate,
33702 # then the envvar interface is used. Set only those that are not.
33703 # We use the long form for the default assignment because of an extremely
33704 @@ -11398,391 +11820,496 @@
33705 fi
33706
33707 # Have a temporary directory for convenience. Make it in the build tree
33708 -# simply because there is no reason to put it here, and in addition,
33709 +# simply because there is no reason against having it here, and in addition,
33710 # creating and moving files from /tmp can sometimes cause problems.
33711 -# Create a temporary directory, and hook for its removal unless debugging.
33712 +# Hook for its removal unless debugging.
33713 +# Note that there is a small window in which the directory will not be cleaned:
33714 +# after its creation but before its name has been assigned to `$tmp'.
33715 $debug ||
33716 {
33717 - trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
33718 + tmp=
33719 + trap 'exit_status=$?
33720 + { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
33721 +' 0
33722 trap '{ (exit 1); exit 1; }' 1 2 13 15
33723 }
33724 -
33725 # Create a (secure) tmp directory for tmp files.
33726
33727 {
33728 - tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
33729 + tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
33730 test -n "$tmp" && test -d "$tmp"
33731 } ||
33732 {
33733 - tmp=./confstat$$-$RANDOM
33734 - (umask 077 && mkdir $tmp)
33735 + tmp=./conf$$-$RANDOM
33736 + (umask 077 && mkdir "$tmp")
33737 } ||
33738 {
33739 echo "$me: cannot create a temporary directory in ." >&2
33740 { (exit 1); exit 1; }
33741 }
33742
33743 -_ACEOF
33744 -
33745 -cat >>$CONFIG_STATUS <<_ACEOF
33746 -
33747 #
33748 -# CONFIG_FILES section.
33749 +# Set up the sed scripts for CONFIG_FILES section.
33750 #
33751
33752 # No need to generate the scripts if there are no CONFIG_FILES.
33753 # This happens for instance when ./config.status config.h
33754 -if test -n "\$CONFIG_FILES"; then
33755 - # Protect against being on the right side of a sed subst in config.status.
33756 - sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
33757 - s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
33758 -s,@SHELL@,$SHELL,;t t
33759 -s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
33760 -s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
33761 -s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
33762 -s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
33763 -s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
33764 -s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
33765 -s,@exec_prefix@,$exec_prefix,;t t
33766 -s,@prefix@,$prefix,;t t
33767 -s,@program_transform_name@,$program_transform_name,;t t
33768 -s,@bindir@,$bindir,;t t
33769 -s,@sbindir@,$sbindir,;t t
33770 -s,@libexecdir@,$libexecdir,;t t
33771 -s,@datadir@,$datadir,;t t
33772 -s,@sysconfdir@,$sysconfdir,;t t
33773 -s,@sharedstatedir@,$sharedstatedir,;t t
33774 -s,@localstatedir@,$localstatedir,;t t
33775 -s,@libdir@,$libdir,;t t
33776 -s,@includedir@,$includedir,;t t
33777 -s,@oldincludedir@,$oldincludedir,;t t
33778 -s,@infodir@,$infodir,;t t
33779 -s,@mandir@,$mandir,;t t
33780 -s,@build_alias@,$build_alias,;t t
33781 -s,@host_alias@,$host_alias,;t t
33782 -s,@target_alias@,$target_alias,;t t
33783 -s,@DEFS@,$DEFS,;t t
33784 -s,@ECHO_C@,$ECHO_C,;t t
33785 -s,@ECHO_N@,$ECHO_N,;t t
33786 -s,@ECHO_T@,$ECHO_T,;t t
33787 -s,@LIBS@,$LIBS,;t t
33788 -s,@build@,$build,;t t
33789 -s,@build_cpu@,$build_cpu,;t t
33790 -s,@build_vendor@,$build_vendor,;t t
33791 -s,@build_os@,$build_os,;t t
33792 -s,@host@,$host,;t t
33793 -s,@host_cpu@,$host_cpu,;t t
33794 -s,@host_vendor@,$host_vendor,;t t
33795 -s,@host_os@,$host_os,;t t
33796 -s,@target@,$target,;t t
33797 -s,@target_cpu@,$target_cpu,;t t
33798 -s,@target_vendor@,$target_vendor,;t t
33799 -s,@target_os@,$target_os,;t t
33800 -s,@CC@,$CC,;t t
33801 -s,@CFLAGS@,$CFLAGS,;t t
33802 -s,@LDFLAGS@,$LDFLAGS,;t t
33803 -s,@CPPFLAGS@,$CPPFLAGS,;t t
33804 -s,@ac_ct_CC@,$ac_ct_CC,;t t
33805 -s,@EXEEXT@,$EXEEXT,;t t
33806 -s,@OBJEXT@,$OBJEXT,;t t
33807 -s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
33808 -s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
33809 -s,@INSTALL_DATA@,$INSTALL_DATA,;t t
33810 -s,@CYGPATH_W@,$CYGPATH_W,;t t
33811 -s,@PACKAGE@,$PACKAGE,;t t
33812 -s,@VERSION@,$VERSION,;t t
33813 -s,@ACLOCAL@,$ACLOCAL,;t t
33814 -s,@AUTOCONF@,$AUTOCONF,;t t
33815 -s,@AUTOMAKE@,$AUTOMAKE,;t t
33816 -s,@AUTOHEADER@,$AUTOHEADER,;t t
33817 -s,@MAKEINFO@,$MAKEINFO,;t t
33818 -s,@install_sh@,$install_sh,;t t
33819 -s,@STRIP@,$STRIP,;t t
33820 -s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
33821 -s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
33822 -s,@mkdir_p@,$mkdir_p,;t t
33823 -s,@AWK@,$AWK,;t t
33824 -s,@SET_MAKE@,$SET_MAKE,;t t
33825 -s,@am__leading_dot@,$am__leading_dot,;t t
33826 -s,@AMTAR@,$AMTAR,;t t
33827 -s,@am__tar@,$am__tar,;t t
33828 -s,@am__untar@,$am__untar,;t t
33829 -s,@DEPDIR@,$DEPDIR,;t t
33830 -s,@am__include@,$am__include,;t t
33831 -s,@am__quote@,$am__quote,;t t
33832 -s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
33833 -s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
33834 -s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
33835 -s,@CCDEPMODE@,$CCDEPMODE,;t t
33836 -s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
33837 -s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
33838 -s,@LN_S@,$LN_S,;t t
33839 -s,@RANLIB@,$RANLIB,;t t
33840 -s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
33841 -s,@LIBTOOL@,$LIBTOOL,;t t
33842 -s,@WARN_CFLAGS@,$WARN_CFLAGS,;t t
33843 -s,@NO_WERROR@,$NO_WERROR,;t t
33844 -s,@YACC@,$YACC,;t t
33845 -s,@LEX@,$LEX,;t t
33846 -s,@LEXLIB@,$LEXLIB,;t t
33847 -s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
33848 -s,@CPP@,$CPP,;t t
33849 -s,@EGREP@,$EGREP,;t t
33850 -s,@ALLOCA@,$ALLOCA,;t t
33851 -s,@USE_NLS@,$USE_NLS,;t t
33852 -s,@MSGFMT@,$MSGFMT,;t t
33853 -s,@GMSGFMT@,$GMSGFMT,;t t
33854 -s,@XGETTEXT@,$XGETTEXT,;t t
33855 -s,@USE_INCLUDED_LIBINTL@,$USE_INCLUDED_LIBINTL,;t t
33856 -s,@CATALOGS@,$CATALOGS,;t t
33857 -s,@CATOBJEXT@,$CATOBJEXT,;t t
33858 -s,@DATADIRNAME@,$DATADIRNAME,;t t
33859 -s,@GMOFILES@,$GMOFILES,;t t
33860 -s,@INSTOBJEXT@,$INSTOBJEXT,;t t
33861 -s,@INTLDEPS@,$INTLDEPS,;t t
33862 -s,@INTLLIBS@,$INTLLIBS,;t t
33863 -s,@INTLOBJS@,$INTLOBJS,;t t
33864 -s,@POFILES@,$POFILES,;t t
33865 -s,@POSUB@,$POSUB,;t t
33866 -s,@INCLUDE_LOCALE_H@,$INCLUDE_LOCALE_H,;t t
33867 -s,@GT_NO@,$GT_NO,;t t
33868 -s,@GT_YES@,$GT_YES,;t t
33869 -s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
33870 -s,@l@,$l,;t t
33871 -s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
33872 -s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
33873 -s,@MAINT@,$MAINT,;t t
33874 -s,@HDEFINES@,$HDEFINES,;t t
33875 -s,@AR@,$AR,;t t
33876 -s,@CC_FOR_BUILD@,$CC_FOR_BUILD,;t t
33877 -s,@EXEEXT_FOR_BUILD@,$EXEEXT_FOR_BUILD,;t t
33878 -s,@DEMANGLER_NAME@,$DEMANGLER_NAME,;t t
33879 -s,@NLMCONV_DEFS@,$NLMCONV_DEFS,;t t
33880 -s,@BUILD_NLMCONV@,$BUILD_NLMCONV,;t t
33881 -s,@BUILD_SRCONV@,$BUILD_SRCONV,;t t
33882 -s,@BUILD_DLLTOOL@,$BUILD_DLLTOOL,;t t
33883 -s,@DLLTOOL_DEFS@,$DLLTOOL_DEFS,;t t
33884 -s,@BUILD_WINDRES@,$BUILD_WINDRES,;t t
33885 -s,@BUILD_DLLWRAP@,$BUILD_DLLWRAP,;t t
33886 -s,@BUILD_MISC@,$BUILD_MISC,;t t
33887 -s,@OBJDUMP_DEFS@,$OBJDUMP_DEFS,;t t
33888 -s,@EMULATION@,$EMULATION,;t t
33889 -s,@EMULATION_VECTOR@,$EMULATION_VECTOR,;t t
33890 -s,@datarootdir@,$datarootdir,;t t
33891 -s,@docdir@,$docdir,;t t
33892 -s,@htmldir@,$htmldir,;t t
33893 -s,@LIBOBJS@,$LIBOBJS,;t t
33894 -s,@LTLIBOBJS@,$LTLIBOBJS,;t t
33895 -CEOF
33896 -
33897 -_ACEOF
33898 -
33899 - cat >>$CONFIG_STATUS <<\_ACEOF
33900 - # Split the substitutions into bite-sized pieces for seds with
33901 - # small command number limits, like on Digital OSF/1 and HP-UX.
33902 - ac_max_sed_lines=48
33903 - ac_sed_frag=1 # Number of current file.
33904 - ac_beg=1 # First line for current file.
33905 - ac_end=$ac_max_sed_lines # Line after last line for current file.
33906 - ac_more_lines=:
33907 - ac_sed_cmds=
33908 - while $ac_more_lines; do
33909 - if test $ac_beg -gt 1; then
33910 - sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
33911 - else
33912 - sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
33913 - fi
33914 - if test ! -s $tmp/subs.frag; then
33915 - ac_more_lines=false
33916 - else
33917 - # The purpose of the label and of the branching condition is to
33918 - # speed up the sed processing (if there are no `@' at all, there
33919 - # is no need to browse any of the substitutions).
33920 - # These are the two extra sed commands mentioned above.
33921 - (echo ':t
33922 - /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
33923 - if test -z "$ac_sed_cmds"; then
33924 - ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
33925 - else
33926 - ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
33927 - fi
33928 - ac_sed_frag=`expr $ac_sed_frag + 1`
33929 - ac_beg=$ac_end
33930 - ac_end=`expr $ac_end + $ac_max_sed_lines`
33931 - fi
33932 - done
33933 - if test -z "$ac_sed_cmds"; then
33934 - ac_sed_cmds=cat
33935 +if test -n "$CONFIG_FILES"; then
33936 +
33937 +_ACEOF
33938 +
33939 +
33940 +
33941 +ac_delim='%!_!# '
33942 +for ac_last_try in false false false false false :; do
33943 + cat >conf$$subs.sed <<_ACEOF
33944 +SHELL!$SHELL$ac_delim
33945 +PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
33946 +PACKAGE_NAME!$PACKAGE_NAME$ac_delim
33947 +PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
33948 +PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
33949 +PACKAGE_STRING!$PACKAGE_STRING$ac_delim
33950 +PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
33951 +exec_prefix!$exec_prefix$ac_delim
33952 +prefix!$prefix$ac_delim
33953 +program_transform_name!$program_transform_name$ac_delim
33954 +bindir!$bindir$ac_delim
33955 +sbindir!$sbindir$ac_delim
33956 +libexecdir!$libexecdir$ac_delim
33957 +datarootdir!$datarootdir$ac_delim
33958 +datadir!$datadir$ac_delim
33959 +sysconfdir!$sysconfdir$ac_delim
33960 +sharedstatedir!$sharedstatedir$ac_delim
33961 +localstatedir!$localstatedir$ac_delim
33962 +includedir!$includedir$ac_delim
33963 +oldincludedir!$oldincludedir$ac_delim
33964 +docdir!$docdir$ac_delim
33965 +infodir!$infodir$ac_delim
33966 +htmldir!$htmldir$ac_delim
33967 +dvidir!$dvidir$ac_delim
33968 +pdfdir!$pdfdir$ac_delim
33969 +psdir!$psdir$ac_delim
33970 +libdir!$libdir$ac_delim
33971 +localedir!$localedir$ac_delim
33972 +mandir!$mandir$ac_delim
33973 +DEFS!$DEFS$ac_delim
33974 +ECHO_C!$ECHO_C$ac_delim
33975 +ECHO_N!$ECHO_N$ac_delim
33976 +ECHO_T!$ECHO_T$ac_delim
33977 +LIBS!$LIBS$ac_delim
33978 +build_alias!$build_alias$ac_delim
33979 +host_alias!$host_alias$ac_delim
33980 +target_alias!$target_alias$ac_delim
33981 +build!$build$ac_delim
33982 +build_cpu!$build_cpu$ac_delim
33983 +build_vendor!$build_vendor$ac_delim
33984 +build_os!$build_os$ac_delim
33985 +host!$host$ac_delim
33986 +host_cpu!$host_cpu$ac_delim
33987 +host_vendor!$host_vendor$ac_delim
33988 +host_os!$host_os$ac_delim
33989 +target!$target$ac_delim
33990 +target_cpu!$target_cpu$ac_delim
33991 +target_vendor!$target_vendor$ac_delim
33992 +target_os!$target_os$ac_delim
33993 +CC!$CC$ac_delim
33994 +CFLAGS!$CFLAGS$ac_delim
33995 +LDFLAGS!$LDFLAGS$ac_delim
33996 +CPPFLAGS!$CPPFLAGS$ac_delim
33997 +ac_ct_CC!$ac_ct_CC$ac_delim
33998 +EXEEXT!$EXEEXT$ac_delim
33999 +OBJEXT!$OBJEXT$ac_delim
34000 +INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
34001 +INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
34002 +INSTALL_DATA!$INSTALL_DATA$ac_delim
34003 +CYGPATH_W!$CYGPATH_W$ac_delim
34004 +PACKAGE!$PACKAGE$ac_delim
34005 +VERSION!$VERSION$ac_delim
34006 +ACLOCAL!$ACLOCAL$ac_delim
34007 +AUTOCONF!$AUTOCONF$ac_delim
34008 +AUTOMAKE!$AUTOMAKE$ac_delim
34009 +AUTOHEADER!$AUTOHEADER$ac_delim
34010 +MAKEINFO!$MAKEINFO$ac_delim
34011 +install_sh!$install_sh$ac_delim
34012 +STRIP!$STRIP$ac_delim
34013 +INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
34014 +mkdir_p!$mkdir_p$ac_delim
34015 +AWK!$AWK$ac_delim
34016 +SET_MAKE!$SET_MAKE$ac_delim
34017 +am__leading_dot!$am__leading_dot$ac_delim
34018 +AMTAR!$AMTAR$ac_delim
34019 +am__tar!$am__tar$ac_delim
34020 +am__untar!$am__untar$ac_delim
34021 +DEPDIR!$DEPDIR$ac_delim
34022 +am__include!$am__include$ac_delim
34023 +am__quote!$am__quote$ac_delim
34024 +AMDEP_TRUE!$AMDEP_TRUE$ac_delim
34025 +AMDEP_FALSE!$AMDEP_FALSE$ac_delim
34026 +AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
34027 +CCDEPMODE!$CCDEPMODE$ac_delim
34028 +am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
34029 +am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
34030 +LN_S!$LN_S$ac_delim
34031 +RANLIB!$RANLIB$ac_delim
34032 +LIBTOOL!$LIBTOOL$ac_delim
34033 +WARN_CFLAGS!$WARN_CFLAGS$ac_delim
34034 +NO_WERROR!$NO_WERROR$ac_delim
34035 +YACC!$YACC$ac_delim
34036 +YFLAGS!$YFLAGS$ac_delim
34037 +LEX!$LEX$ac_delim
34038 +LEX_OUTPUT_ROOT!$LEX_OUTPUT_ROOT$ac_delim
34039 +LEXLIB!$LEXLIB$ac_delim
34040 +CPP!$CPP$ac_delim
34041 +_ACEOF
34042 +
34043 + if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
34044 + break
34045 + elif $ac_last_try; then
34046 + { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
34047 +echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
34048 + { (exit 1); exit 1; }; }
34049 + else
34050 + ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
34051 fi
34052 -fi # test -n "$CONFIG_FILES"
34053 +done
34054 +
34055 +ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
34056 +if test -n "$ac_eof"; then
34057 + ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
34058 + ac_eof=`expr $ac_eof + 1`
34059 +fi
34060 +
34061 +cat >>$CONFIG_STATUS <<_ACEOF
34062 +cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
34063 +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
34064 +_ACEOF
34065 +sed '
34066 +s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
34067 +s/^/s,@/; s/!/@,|#_!!_#|/
34068 +:n
34069 +t n
34070 +s/'"$ac_delim"'$/,g/; t
34071 +s/$/\\/; p
34072 +N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
34073 +' >>$CONFIG_STATUS <conf$$subs.sed
34074 +rm -f conf$$subs.sed
34075 +cat >>$CONFIG_STATUS <<_ACEOF
34076 +CEOF$ac_eof
34077 +_ACEOF
34078 +
34079 +
34080 +ac_delim='%!_!# '
34081 +for ac_last_try in false false false false false :; do
34082 + cat >conf$$subs.sed <<_ACEOF
34083 +GREP!$GREP$ac_delim
34084 +EGREP!$EGREP$ac_delim
34085 +ALLOCA!$ALLOCA$ac_delim
34086 +USE_NLS!$USE_NLS$ac_delim
34087 +MSGFMT!$MSGFMT$ac_delim
34088 +GMSGFMT!$GMSGFMT$ac_delim
34089 +XGETTEXT!$XGETTEXT$ac_delim
34090 +USE_INCLUDED_LIBINTL!$USE_INCLUDED_LIBINTL$ac_delim
34091 +CATALOGS!$CATALOGS$ac_delim
34092 +CATOBJEXT!$CATOBJEXT$ac_delim
34093 +DATADIRNAME!$DATADIRNAME$ac_delim
34094 +GMOFILES!$GMOFILES$ac_delim
34095 +INSTOBJEXT!$INSTOBJEXT$ac_delim
34096 +INTLDEPS!$INTLDEPS$ac_delim
34097 +INTLLIBS!$INTLLIBS$ac_delim
34098 +INTLOBJS!$INTLOBJS$ac_delim
34099 +POFILES!$POFILES$ac_delim
34100 +POSUB!$POSUB$ac_delim
34101 +INCLUDE_LOCALE_H!$INCLUDE_LOCALE_H$ac_delim
34102 +GT_NO!$GT_NO$ac_delim
34103 +GT_YES!$GT_YES$ac_delim
34104 +MKINSTALLDIRS!$MKINSTALLDIRS$ac_delim
34105 +l!$l$ac_delim
34106 +MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
34107 +MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
34108 +MAINT!$MAINT$ac_delim
34109 +HDEFINES!$HDEFINES$ac_delim
34110 +AR!$AR$ac_delim
34111 +CC_FOR_BUILD!$CC_FOR_BUILD$ac_delim
34112 +EXEEXT_FOR_BUILD!$EXEEXT_FOR_BUILD$ac_delim
34113 +DEMANGLER_NAME!$DEMANGLER_NAME$ac_delim
34114 +NLMCONV_DEFS!$NLMCONV_DEFS$ac_delim
34115 +BUILD_NLMCONV!$BUILD_NLMCONV$ac_delim
34116 +BUILD_SRCONV!$BUILD_SRCONV$ac_delim
34117 +BUILD_DLLTOOL!$BUILD_DLLTOOL$ac_delim
34118 +DLLTOOL_DEFS!$DLLTOOL_DEFS$ac_delim
34119 +BUILD_WINDRES!$BUILD_WINDRES$ac_delim
34120 +BUILD_DLLWRAP!$BUILD_DLLWRAP$ac_delim
34121 +BUILD_MISC!$BUILD_MISC$ac_delim
34122 +OBJDUMP_DEFS!$OBJDUMP_DEFS$ac_delim
34123 +EMULATION!$EMULATION$ac_delim
34124 +EMULATION_VECTOR!$EMULATION_VECTOR$ac_delim
34125 +LIBOBJS!$LIBOBJS$ac_delim
34126 +LTLIBOBJS!$LTLIBOBJS$ac_delim
34127 +_ACEOF
34128 +
34129 + if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 44; then
34130 + break
34131 + elif $ac_last_try; then
34132 + { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
34133 +echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
34134 + { (exit 1); exit 1; }; }
34135 + else
34136 + ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
34137 + fi
34138 +done
34139
34140 +ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
34141 +if test -n "$ac_eof"; then
34142 + ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
34143 + ac_eof=`expr $ac_eof + 1`
34144 +fi
34145 +
34146 +cat >>$CONFIG_STATUS <<_ACEOF
34147 +cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
34148 +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
34149 +_ACEOF
34150 +sed '
34151 +s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
34152 +s/^/s,@/; s/!/@,|#_!!_#|/
34153 +:n
34154 +t n
34155 +s/'"$ac_delim"'$/,g/; t
34156 +s/$/\\/; p
34157 +N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
34158 +' >>$CONFIG_STATUS <conf$$subs.sed
34159 +rm -f conf$$subs.sed
34160 +cat >>$CONFIG_STATUS <<_ACEOF
34161 +:end
34162 +s/|#_!!_#|//g
34163 +CEOF$ac_eof
34164 _ACEOF
34165 +
34166 +
34167 +# VPATH may cause trouble with some makes, so we remove $(srcdir),
34168 +# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
34169 +# trailing colons and then remove the whole line if VPATH becomes empty
34170 +# (actually we leave an empty line to preserve line numbers).
34171 +if test "x$srcdir" = x.; then
34172 + ac_vpsub='/^[ ]*VPATH[ ]*=/{
34173 +s/:*\$(srcdir):*/:/
34174 +s/:*\${srcdir}:*/:/
34175 +s/:*@srcdir@:*/:/
34176 +s/^\([^=]*=[ ]*\):*/\1/
34177 +s/:*$//
34178 +s/^[^=]*=[ ]*$//
34179 +}'
34180 +fi
34181 +
34182 cat >>$CONFIG_STATUS <<\_ACEOF
34183 -for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
34184 - # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
34185 - case $ac_file in
34186 - - | *:- | *:-:* ) # input from stdin
34187 - cat >$tmp/stdin
34188 - ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
34189 - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
34190 - *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
34191 - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
34192 - * ) ac_file_in=$ac_file.in ;;
34193 +fi # test -n "$CONFIG_FILES"
34194 +
34195 +
34196 +for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
34197 +do
34198 + case $ac_tag in
34199 + :[FHLC]) ac_mode=$ac_tag; continue;;
34200 + esac
34201 + case $ac_mode$ac_tag in
34202 + :[FHL]*:*);;
34203 + :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
34204 +echo "$as_me: error: Invalid tag $ac_tag." >&2;}
34205 + { (exit 1); exit 1; }; };;
34206 + :[FH]-) ac_tag=-:-;;
34207 + :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
34208 + esac
34209 + ac_save_IFS=$IFS
34210 + IFS=:
34211 + set x $ac_tag
34212 + IFS=$ac_save_IFS
34213 + shift
34214 + ac_file=$1
34215 + shift
34216 +
34217 + case $ac_mode in
34218 + :L) ac_source=$1;;
34219 + :[FH])
34220 + ac_file_inputs=
34221 + for ac_f
34222 + do
34223 + case $ac_f in
34224 + -) ac_f="$tmp/stdin";;
34225 + *) # Look for the file first in the build tree, then in the source tree
34226 + # (if the path is not absolute). The absolute path cannot be DOS-style,
34227 + # because $ac_f cannot contain `:'.
34228 + test -f "$ac_f" ||
34229 + case $ac_f in
34230 + [\\/$]*) false;;
34231 + *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
34232 + esac ||
34233 + { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
34234 +echo "$as_me: error: cannot find input file: $ac_f" >&2;}
34235 + { (exit 1); exit 1; }; };;
34236 + esac
34237 + ac_file_inputs="$ac_file_inputs $ac_f"
34238 + done
34239 +
34240 + # Let's still pretend it is `configure' which instantiates (i.e., don't
34241 + # use $as_me), people would be surprised to read:
34242 + # /* config.h. Generated by config.status. */
34243 + configure_input="Generated from "`IFS=:
34244 + echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
34245 + if test x"$ac_file" != x-; then
34246 + configure_input="$ac_file. $configure_input"
34247 + { echo "$as_me:$LINENO: creating $ac_file" >&5
34248 +echo "$as_me: creating $ac_file" >&6;}
34249 + fi
34250 +
34251 + case $ac_tag in
34252 + *:-:* | *:-) cat >"$tmp/stdin";;
34253 + esac
34254 + ;;
34255 esac
34256
34257 - # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
34258 - ac_dir=`(dirname "$ac_file") 2>/dev/null ||
34259 + ac_dir=`$as_dirname -- "$ac_file" ||
34260 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34261 X"$ac_file" : 'X\(//\)[^/]' \| \
34262 X"$ac_file" : 'X\(//\)$' \| \
34263 - X"$ac_file" : 'X\(/\)' \| \
34264 - . : '\(.\)' 2>/dev/null ||
34265 + X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
34266 echo X"$ac_file" |
34267 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
34268 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
34269 - /^X\(\/\/\)$/{ s//\1/; q; }
34270 - /^X\(\/\).*/{ s//\1/; q; }
34271 - s/.*/./; q'`
34272 - { if $as_mkdir_p; then
34273 - mkdir -p "$ac_dir"
34274 - else
34275 - as_dir="$ac_dir"
34276 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
34277 + s//\1/
34278 + q
34279 + }
34280 + /^X\(\/\/\)[^/].*/{
34281 + s//\1/
34282 + q
34283 + }
34284 + /^X\(\/\/\)$/{
34285 + s//\1/
34286 + q
34287 + }
34288 + /^X\(\/\).*/{
34289 + s//\1/
34290 + q
34291 + }
34292 + s/.*/./; q'`
34293 + { as_dir="$ac_dir"
34294 + case $as_dir in #(
34295 + -*) as_dir=./$as_dir;;
34296 + esac
34297 + test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
34298 as_dirs=
34299 - while test ! -d "$as_dir"; do
34300 - as_dirs="$as_dir $as_dirs"
34301 - as_dir=`(dirname "$as_dir") 2>/dev/null ||
34302 + while :; do
34303 + case $as_dir in #(
34304 + *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
34305 + *) as_qdir=$as_dir;;
34306 + esac
34307 + as_dirs="'$as_qdir' $as_dirs"
34308 + as_dir=`$as_dirname -- "$as_dir" ||
34309 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34310 X"$as_dir" : 'X\(//\)[^/]' \| \
34311 X"$as_dir" : 'X\(//\)$' \| \
34312 - X"$as_dir" : 'X\(/\)' \| \
34313 - . : '\(.\)' 2>/dev/null ||
34314 + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
34315 echo X"$as_dir" |
34316 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
34317 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
34318 - /^X\(\/\/\)$/{ s//\1/; q; }
34319 - /^X\(\/\).*/{ s//\1/; q; }
34320 - s/.*/./; q'`
34321 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
34322 + s//\1/
34323 + q
34324 + }
34325 + /^X\(\/\/\)[^/].*/{
34326 + s//\1/
34327 + q
34328 + }
34329 + /^X\(\/\/\)$/{
34330 + s//\1/
34331 + q
34332 + }
34333 + /^X\(\/\).*/{
34334 + s//\1/
34335 + q
34336 + }
34337 + s/.*/./; q'`
34338 + test -d "$as_dir" && break
34339 done
34340 - test ! -n "$as_dirs" || mkdir $as_dirs
34341 - fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
34342 -echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
34343 + test -z "$as_dirs" || eval "mkdir $as_dirs"
34344 + } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
34345 +echo "$as_me: error: cannot create directory $as_dir" >&2;}
34346 { (exit 1); exit 1; }; }; }
34347 -
34348 ac_builddir=.
34349
34350 -if test "$ac_dir" != .; then
34351 +case "$ac_dir" in
34352 +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
34353 +*)
34354 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
34355 - # A "../" for each directory in $ac_dir_suffix.
34356 - ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
34357 -else
34358 - ac_dir_suffix= ac_top_builddir=
34359 -fi
34360 + # A ".." for each directory in $ac_dir_suffix.
34361 + ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
34362 + case $ac_top_builddir_sub in
34363 + "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
34364 + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
34365 + esac ;;
34366 +esac
34367 +ac_abs_top_builddir=$ac_pwd
34368 +ac_abs_builddir=$ac_pwd$ac_dir_suffix
34369 +# for backward compatibility:
34370 +ac_top_builddir=$ac_top_build_prefix
34371
34372 case $srcdir in
34373 - .) # No --srcdir option. We are building in place.
34374 + .) # We are building in place.
34375 ac_srcdir=.
34376 - if test -z "$ac_top_builddir"; then
34377 - ac_top_srcdir=.
34378 - else
34379 - ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
34380 - fi ;;
34381 - [\\/]* | ?:[\\/]* ) # Absolute path.
34382 + ac_top_srcdir=$ac_top_builddir_sub
34383 + ac_abs_top_srcdir=$ac_pwd ;;
34384 + [\\/]* | ?:[\\/]* ) # Absolute name.
34385 ac_srcdir=$srcdir$ac_dir_suffix;
34386 - ac_top_srcdir=$srcdir ;;
34387 - *) # Relative path.
34388 - ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
34389 - ac_top_srcdir=$ac_top_builddir$srcdir ;;
34390 -esac
34391 + ac_top_srcdir=$srcdir
34392 + ac_abs_top_srcdir=$srcdir ;;
34393 + *) # Relative name.
34394 + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
34395 + ac_top_srcdir=$ac_top_build_prefix$srcdir
34396 + ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
34397 +esac
34398 +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
34399
34400 -# Do not use `cd foo && pwd` to compute absolute paths, because
34401 -# the directories may not exist.
34402 -case `pwd` in
34403 -.) ac_abs_builddir="$ac_dir";;
34404 -*)
34405 - case "$ac_dir" in
34406 - .) ac_abs_builddir=`pwd`;;
34407 - [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
34408 - *) ac_abs_builddir=`pwd`/"$ac_dir";;
34409 - esac;;
34410 -esac
34411 -case $ac_abs_builddir in
34412 -.) ac_abs_top_builddir=${ac_top_builddir}.;;
34413 -*)
34414 - case ${ac_top_builddir}. in
34415 - .) ac_abs_top_builddir=$ac_abs_builddir;;
34416 - [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
34417 - *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
34418 - esac;;
34419 -esac
34420 -case $ac_abs_builddir in
34421 -.) ac_abs_srcdir=$ac_srcdir;;
34422 -*)
34423 - case $ac_srcdir in
34424 - .) ac_abs_srcdir=$ac_abs_builddir;;
34425 - [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
34426 - *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
34427 - esac;;
34428 -esac
34429 -case $ac_abs_builddir in
34430 -.) ac_abs_top_srcdir=$ac_top_srcdir;;
34431 -*)
34432 - case $ac_top_srcdir in
34433 - .) ac_abs_top_srcdir=$ac_abs_builddir;;
34434 - [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
34435 - *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
34436 - esac;;
34437 -esac
34438
34439 + case $ac_mode in
34440 + :F)
34441 + #
34442 + # CONFIG_FILE
34443 + #
34444
34445 case $INSTALL in
34446 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
34447 - *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
34448 + *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
34449 esac
34450 +_ACEOF
34451
34452 - if test x"$ac_file" != x-; then
34453 - { echo "$as_me:$LINENO: creating $ac_file" >&5
34454 -echo "$as_me: creating $ac_file" >&6;}
34455 - rm -f "$ac_file"
34456 - fi
34457 - # Let's still pretend it is `configure' which instantiates (i.e., don't
34458 - # use $as_me), people would be surprised to read:
34459 - # /* config.h. Generated by config.status. */
34460 - if test x"$ac_file" = x-; then
34461 - configure_input=
34462 - else
34463 - configure_input="$ac_file. "
34464 - fi
34465 - configure_input=$configure_input"Generated from `echo $ac_file_in |
34466 - sed 's,.*/,,'` by configure."
34467 -
34468 - # First look for the input files in the build tree, otherwise in the
34469 - # src tree.
34470 - ac_file_inputs=`IFS=:
34471 - for f in $ac_file_in; do
34472 - case $f in
34473 - -) echo $tmp/stdin ;;
34474 - [\\/$]*)
34475 - # Absolute (can't be DOS-style, as IFS=:)
34476 - test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
34477 -echo "$as_me: error: cannot find input file: $f" >&2;}
34478 - { (exit 1); exit 1; }; }
34479 - echo "$f";;
34480 - *) # Relative
34481 - if test -f "$f"; then
34482 - # Build tree
34483 - echo "$f"
34484 - elif test -f "$srcdir/$f"; then
34485 - # Source tree
34486 - echo "$srcdir/$f"
34487 - else
34488 - # /dev/null tree
34489 - { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
34490 -echo "$as_me: error: cannot find input file: $f" >&2;}
34491 - { (exit 1); exit 1; }; }
34492 - fi;;
34493 - esac
34494 - done` || { (exit 1); exit 1; }
34495 +cat >>$CONFIG_STATUS <<\_ACEOF
34496 +# If the template does not know about datarootdir, expand it.
34497 +# FIXME: This hack should be removed a few years after 2.60.
34498 +ac_datarootdir_hack=; ac_datarootdir_seen=
34499 +
34500 +case `sed -n '/datarootdir/ {
34501 + p
34502 + q
34503 +}
34504 +/@datadir@/p
34505 +/@docdir@/p
34506 +/@infodir@/p
34507 +/@localedir@/p
34508 +/@mandir@/p
34509 +' $ac_file_inputs` in
34510 +*datarootdir*) ac_datarootdir_seen=yes;;
34511 +*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
34512 + { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
34513 +echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
34514 +_ACEOF
34515 +cat >>$CONFIG_STATUS <<_ACEOF
34516 + ac_datarootdir_hack='
34517 + s&@datadir@&$datadir&g
34518 + s&@docdir@&$docdir&g
34519 + s&@infodir@&$infodir&g
34520 + s&@localedir@&$localedir&g
34521 + s&@mandir@&$mandir&g
34522 + s&\\\${datarootdir}&$datarootdir&g' ;;
34523 +esac
34524 _ACEOF
34525 +
34526 +# Neutralize VPATH when `$srcdir' = `.'.
34527 +# Shell code in configure.ac might set extrasub.
34528 +# FIXME: do we really want to maintain this feature?
34529 cat >>$CONFIG_STATUS <<_ACEOF
34530 sed "$ac_vpsub
34531 $extrasub
34532 @@ -11790,248 +12317,130 @@
34533 cat >>$CONFIG_STATUS <<\_ACEOF
34534 :t
34535 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
34536 -s,@configure_input@,$configure_input,;t t
34537 -s,@srcdir@,$ac_srcdir,;t t
34538 -s,@abs_srcdir@,$ac_abs_srcdir,;t t
34539 -s,@top_srcdir@,$ac_top_srcdir,;t t
34540 -s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
34541 -s,@builddir@,$ac_builddir,;t t
34542 -s,@abs_builddir@,$ac_abs_builddir,;t t
34543 -s,@top_builddir@,$ac_top_builddir,;t t
34544 -s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
34545 -s,@INSTALL@,$ac_INSTALL,;t t
34546 -" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
34547 - rm -f $tmp/stdin
34548 - if test x"$ac_file" != x-; then
34549 - mv $tmp/out $ac_file
34550 - else
34551 - cat $tmp/out
34552 - rm -f $tmp/out
34553 - fi
34554 -
34555 -done
34556 -_ACEOF
34557 -cat >>$CONFIG_STATUS <<\_ACEOF
34558 -
34559 -#
34560 -# CONFIG_HEADER section.
34561 -#
34562 -
34563 -# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
34564 -# NAME is the cpp macro being defined and VALUE is the value it is being given.
34565 -#
34566 -# ac_d sets the value in "#define NAME VALUE" lines.
34567 -ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
34568 -ac_dB='[ ].*$,\1#\2'
34569 -ac_dC=' '
34570 -ac_dD=',;t'
34571 -# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
34572 -ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
34573 -ac_uB='$,\1#\2define\3'
34574 -ac_uC=' '
34575 -ac_uD=',;t'
34576 +s&@configure_input@&$configure_input&;t t
34577 +s&@top_builddir@&$ac_top_builddir_sub&;t t
34578 +s&@srcdir@&$ac_srcdir&;t t
34579 +s&@abs_srcdir@&$ac_abs_srcdir&;t t
34580 +s&@top_srcdir@&$ac_top_srcdir&;t t
34581 +s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
34582 +s&@builddir@&$ac_builddir&;t t
34583 +s&@abs_builddir@&$ac_abs_builddir&;t t
34584 +s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
34585 +s&@INSTALL@&$ac_INSTALL&;t t
34586 +$ac_datarootdir_hack
34587 +" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
34588 +
34589 +test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
34590 + { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
34591 + { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
34592 + { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
34593 +which seems to be undefined. Please make sure it is defined." >&5
34594 +echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
34595 +which seems to be undefined. Please make sure it is defined." >&2;}
34596
34597 -for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
34598 - # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
34599 + rm -f "$tmp/stdin"
34600 case $ac_file in
34601 - - | *:- | *:-:* ) # input from stdin
34602 - cat >$tmp/stdin
34603 - ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
34604 - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
34605 - *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
34606 - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
34607 - * ) ac_file_in=$ac_file.in ;;
34608 + -) cat "$tmp/out"; rm -f "$tmp/out";;
34609 + *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
34610 esac
34611 + ;;
34612 + :H)
34613 + #
34614 + # CONFIG_HEADER
34615 + #
34616 +_ACEOF
34617 +
34618 +# Transform confdefs.h into a sed script `conftest.defines', that
34619 +# substitutes the proper values into config.h.in to produce config.h.
34620 +rm -f conftest.defines conftest.tail
34621 +# First, append a space to every undef/define line, to ease matching.
34622 +echo 's/$/ /' >conftest.defines
34623 +# Then, protect against being on the right side of a sed subst, or in
34624 +# an unquoted here document, in config.status. If some macros were
34625 +# called several times there might be several #defines for the same
34626 +# symbol, which is useless. But do not sort them, since the last
34627 +# AC_DEFINE must be honored.
34628 +ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
34629 +# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
34630 +# NAME is the cpp macro being defined, VALUE is the value it is being given.
34631 +# PARAMS is the parameter list in the macro definition--in most cases, it's
34632 +# just an empty string.
34633 +ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
34634 +ac_dB='\\)[ (].*,\\1define\\2'
34635 +ac_dC=' '
34636 +ac_dD=' ,'
34637
34638 - test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
34639 -echo "$as_me: creating $ac_file" >&6;}
34640 -
34641 - # First look for the input files in the build tree, otherwise in the
34642 - # src tree.
34643 - ac_file_inputs=`IFS=:
34644 - for f in $ac_file_in; do
34645 - case $f in
34646 - -) echo $tmp/stdin ;;
34647 - [\\/$]*)
34648 - # Absolute (can't be DOS-style, as IFS=:)
34649 - test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
34650 -echo "$as_me: error: cannot find input file: $f" >&2;}
34651 - { (exit 1); exit 1; }; }
34652 - # Do quote $f, to prevent DOS paths from being IFS'd.
34653 - echo "$f";;
34654 - *) # Relative
34655 - if test -f "$f"; then
34656 - # Build tree
34657 - echo "$f"
34658 - elif test -f "$srcdir/$f"; then
34659 - # Source tree
34660 - echo "$srcdir/$f"
34661 - else
34662 - # /dev/null tree
34663 - { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
34664 -echo "$as_me: error: cannot find input file: $f" >&2;}
34665 - { (exit 1); exit 1; }; }
34666 - fi;;
34667 - esac
34668 - done` || { (exit 1); exit 1; }
34669 - # Remove the trailing spaces.
34670 - sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
34671 -
34672 -_ACEOF
34673 -
34674 -# Transform confdefs.h into two sed scripts, `conftest.defines' and
34675 -# `conftest.undefs', that substitutes the proper values into
34676 -# config.h.in to produce config.h. The first handles `#define'
34677 -# templates, and the second `#undef' templates.
34678 -# And first: Protect against being on the right side of a sed subst in
34679 -# config.status. Protect against being in an unquoted here document
34680 -# in config.status.
34681 -rm -f conftest.defines conftest.undefs
34682 -# Using a here document instead of a string reduces the quoting nightmare.
34683 -# Putting comments in sed scripts is not portable.
34684 -#
34685 -# `end' is used to avoid that the second main sed command (meant for
34686 -# 0-ary CPP macros) applies to n-ary macro definitions.
34687 -# See the Autoconf documentation for `clear'.
34688 -cat >confdef2sed.sed <<\_ACEOF
34689 -s/[\\&,]/\\&/g
34690 -s,[\\$`],\\&,g
34691 -t clear
34692 -: clear
34693 -s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
34694 -t end
34695 -s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
34696 -: end
34697 -_ACEOF
34698 -# If some macros were called several times there might be several times
34699 -# the same #defines, which is useless. Nevertheless, we may not want to
34700 -# sort them, since we want the *last* AC-DEFINE to be honored.
34701 -uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
34702 -sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
34703 -rm -f confdef2sed.sed
34704 +uniq confdefs.h |
34705 + sed -n '
34706 + t rset
34707 + :rset
34708 + s/^[ ]*#[ ]*define[ ][ ]*//
34709 + t ok
34710 + d
34711 + :ok
34712 + s/[\\&,]/\\&/g
34713 + s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
34714 + s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
34715 + ' >>conftest.defines
34716
34717 -# This sed command replaces #undef with comments. This is necessary, for
34718 +# Remove the space that was appended to ease matching.
34719 +# Then replace #undef with comments. This is necessary, for
34720 # example, in the case of _POSIX_SOURCE, which is predefined and required
34721 # on some systems where configure will not decide to define it.
34722 -cat >>conftest.undefs <<\_ACEOF
34723 -s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
34724 +# (The regexp can be short, since the line contains either #define or #undef.)
34725 +echo 's/ $//
34726 +s,^[ #]*u.*,/* & */,' >>conftest.defines
34727 +
34728 +# Break up conftest.defines:
34729 +ac_max_sed_lines=50
34730 +
34731 +# First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
34732 +# Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
34733 +# Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
34734 +# et cetera.
34735 +ac_in='$ac_file_inputs'
34736 +ac_out='"$tmp/out1"'
34737 +ac_nxt='"$tmp/out2"'
34738 +
34739 +while :
34740 +do
34741 + # Write a here document:
34742 + cat >>$CONFIG_STATUS <<_ACEOF
34743 + # First, check the format of the line:
34744 + cat >"\$tmp/defines.sed" <<\\CEOF
34745 +/^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
34746 +/^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
34747 +b
34748 +:def
34749 _ACEOF
34750 -
34751 -# Break up conftest.defines because some shells have a limit on the size
34752 -# of here documents, and old seds have small limits too (100 cmds).
34753 -echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
34754 -echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
34755 -echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
34756 -echo ' :' >>$CONFIG_STATUS
34757 -rm -f conftest.tail
34758 -while grep . conftest.defines >/dev/null
34759 -do
34760 - # Write a limited-size here document to $tmp/defines.sed.
34761 - echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
34762 - # Speed up: don't consider the non `#define' lines.
34763 - echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
34764 - # Work around the forget-to-reset-the-flag bug.
34765 - echo 't clr' >>$CONFIG_STATUS
34766 - echo ': clr' >>$CONFIG_STATUS
34767 - sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
34768 + sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
34769 echo 'CEOF
34770 - sed -f $tmp/defines.sed $tmp/in >$tmp/out
34771 - rm -f $tmp/in
34772 - mv $tmp/out $tmp/in
34773 -' >>$CONFIG_STATUS
34774 - sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
34775 + sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
34776 + ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
34777 + sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
34778 + grep . conftest.tail >/dev/null || break
34779 rm -f conftest.defines
34780 mv conftest.tail conftest.defines
34781 done
34782 -rm -f conftest.defines
34783 -echo ' fi # grep' >>$CONFIG_STATUS
34784 -echo >>$CONFIG_STATUS
34785 -
34786 -# Break up conftest.undefs because some shells have a limit on the size
34787 -# of here documents, and old seds have small limits too (100 cmds).
34788 -echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
34789 -rm -f conftest.tail
34790 -while grep . conftest.undefs >/dev/null
34791 -do
34792 - # Write a limited-size here document to $tmp/undefs.sed.
34793 - echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
34794 - # Speed up: don't consider the non `#undef'
34795 - echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
34796 - # Work around the forget-to-reset-the-flag bug.
34797 - echo 't clr' >>$CONFIG_STATUS
34798 - echo ': clr' >>$CONFIG_STATUS
34799 - sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
34800 - echo 'CEOF
34801 - sed -f $tmp/undefs.sed $tmp/in >$tmp/out
34802 - rm -f $tmp/in
34803 - mv $tmp/out $tmp/in
34804 -' >>$CONFIG_STATUS
34805 - sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
34806 - rm -f conftest.undefs
34807 - mv conftest.tail conftest.undefs
34808 -done
34809 -rm -f conftest.undefs
34810 +rm -f conftest.defines conftest.tail
34811
34812 +echo "ac_result=$ac_in" >>$CONFIG_STATUS
34813 cat >>$CONFIG_STATUS <<\_ACEOF
34814 - # Let's still pretend it is `configure' which instantiates (i.e., don't
34815 - # use $as_me), people would be surprised to read:
34816 - # /* config.h. Generated by config.status. */
34817 - if test x"$ac_file" = x-; then
34818 - echo "/* Generated by configure. */" >$tmp/config.h
34819 - else
34820 - echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
34821 - fi
34822 - cat $tmp/in >>$tmp/config.h
34823 - rm -f $tmp/in
34824 if test x"$ac_file" != x-; then
34825 - if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
34826 + echo "/* $configure_input */" >"$tmp/config.h"
34827 + cat "$ac_result" >>"$tmp/config.h"
34828 + if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
34829 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
34830 echo "$as_me: $ac_file is unchanged" >&6;}
34831 else
34832 - ac_dir=`(dirname "$ac_file") 2>/dev/null ||
34833 -$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34834 - X"$ac_file" : 'X\(//\)[^/]' \| \
34835 - X"$ac_file" : 'X\(//\)$' \| \
34836 - X"$ac_file" : 'X\(/\)' \| \
34837 - . : '\(.\)' 2>/dev/null ||
34838 -echo X"$ac_file" |
34839 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
34840 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
34841 - /^X\(\/\/\)$/{ s//\1/; q; }
34842 - /^X\(\/\).*/{ s//\1/; q; }
34843 - s/.*/./; q'`
34844 - { if $as_mkdir_p; then
34845 - mkdir -p "$ac_dir"
34846 - else
34847 - as_dir="$ac_dir"
34848 - as_dirs=
34849 - while test ! -d "$as_dir"; do
34850 - as_dirs="$as_dir $as_dirs"
34851 - as_dir=`(dirname "$as_dir") 2>/dev/null ||
34852 -$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34853 - X"$as_dir" : 'X\(//\)[^/]' \| \
34854 - X"$as_dir" : 'X\(//\)$' \| \
34855 - X"$as_dir" : 'X\(/\)' \| \
34856 - . : '\(.\)' 2>/dev/null ||
34857 -echo X"$as_dir" |
34858 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
34859 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
34860 - /^X\(\/\/\)$/{ s//\1/; q; }
34861 - /^X\(\/\).*/{ s//\1/; q; }
34862 - s/.*/./; q'`
34863 - done
34864 - test ! -n "$as_dirs" || mkdir $as_dirs
34865 - fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
34866 -echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
34867 - { (exit 1); exit 1; }; }; }
34868 -
34869 rm -f $ac_file
34870 - mv $tmp/config.h $ac_file
34871 + mv "$tmp/config.h" $ac_file
34872 fi
34873 else
34874 - cat $tmp/config.h
34875 - rm -f $tmp/config.h
34876 + echo "/* $configure_input */"
34877 + cat "$ac_result"
34878 fi
34879 + rm -f "$tmp/out12"
34880 # Compute $ac_file's index in $config_headers.
34881 _am_stamp_count=1
34882 for _am_header in $config_headers :; do
34883 @@ -12042,135 +12451,39 @@
34884 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
34885 esac
34886 done
34887 -echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
34888 +echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
34889 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34890 X$ac_file : 'X\(//\)[^/]' \| \
34891 X$ac_file : 'X\(//\)$' \| \
34892 - X$ac_file : 'X\(/\)' \| \
34893 - . : '\(.\)' 2>/dev/null ||
34894 + X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
34895 echo X$ac_file |
34896 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
34897 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
34898 - /^X\(\/\/\)$/{ s//\1/; q; }
34899 - /^X\(\/\).*/{ s//\1/; q; }
34900 - s/.*/./; q'`/stamp-h$_am_stamp_count
34901 -done
34902 -_ACEOF
34903 -cat >>$CONFIG_STATUS <<\_ACEOF
34904 -
34905 -#
34906 -# CONFIG_COMMANDS section.
34907 -#
34908 -for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
34909 - ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
34910 - ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
34911 - ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
34912 -$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34913 - X"$ac_dest" : 'X\(//\)[^/]' \| \
34914 - X"$ac_dest" : 'X\(//\)$' \| \
34915 - X"$ac_dest" : 'X\(/\)' \| \
34916 - . : '\(.\)' 2>/dev/null ||
34917 -echo X"$ac_dest" |
34918 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
34919 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
34920 - /^X\(\/\/\)$/{ s//\1/; q; }
34921 - /^X\(\/\).*/{ s//\1/; q; }
34922 - s/.*/./; q'`
34923 - { if $as_mkdir_p; then
34924 - mkdir -p "$ac_dir"
34925 - else
34926 - as_dir="$ac_dir"
34927 - as_dirs=
34928 - while test ! -d "$as_dir"; do
34929 - as_dirs="$as_dir $as_dirs"
34930 - as_dir=`(dirname "$as_dir") 2>/dev/null ||
34931 -$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34932 - X"$as_dir" : 'X\(//\)[^/]' \| \
34933 - X"$as_dir" : 'X\(//\)$' \| \
34934 - X"$as_dir" : 'X\(/\)' \| \
34935 - . : '\(.\)' 2>/dev/null ||
34936 -echo X"$as_dir" |
34937 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
34938 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
34939 - /^X\(\/\/\)$/{ s//\1/; q; }
34940 - /^X\(\/\).*/{ s//\1/; q; }
34941 - s/.*/./; q'`
34942 - done
34943 - test ! -n "$as_dirs" || mkdir $as_dirs
34944 - fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
34945 -echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
34946 - { (exit 1); exit 1; }; }; }
34947 -
34948 - ac_builddir=.
34949 -
34950 -if test "$ac_dir" != .; then
34951 - ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
34952 - # A "../" for each directory in $ac_dir_suffix.
34953 - ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
34954 -else
34955 - ac_dir_suffix= ac_top_builddir=
34956 -fi
34957 -
34958 -case $srcdir in
34959 - .) # No --srcdir option. We are building in place.
34960 - ac_srcdir=.
34961 - if test -z "$ac_top_builddir"; then
34962 - ac_top_srcdir=.
34963 - else
34964 - ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
34965 - fi ;;
34966 - [\\/]* | ?:[\\/]* ) # Absolute path.
34967 - ac_srcdir=$srcdir$ac_dir_suffix;
34968 - ac_top_srcdir=$srcdir ;;
34969 - *) # Relative path.
34970 - ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
34971 - ac_top_srcdir=$ac_top_builddir$srcdir ;;
34972 -esac
34973 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
34974 + s//\1/
34975 + q
34976 + }
34977 + /^X\(\/\/\)[^/].*/{
34978 + s//\1/
34979 + q
34980 + }
34981 + /^X\(\/\/\)$/{
34982 + s//\1/
34983 + q
34984 + }
34985 + /^X\(\/\).*/{
34986 + s//\1/
34987 + q
34988 + }
34989 + s/.*/./; q'`/stamp-h$_am_stamp_count
34990 + ;;
34991
34992 -# Do not use `cd foo && pwd` to compute absolute paths, because
34993 -# the directories may not exist.
34994 -case `pwd` in
34995 -.) ac_abs_builddir="$ac_dir";;
34996 -*)
34997 - case "$ac_dir" in
34998 - .) ac_abs_builddir=`pwd`;;
34999 - [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
35000 - *) ac_abs_builddir=`pwd`/"$ac_dir";;
35001 - esac;;
35002 -esac
35003 -case $ac_abs_builddir in
35004 -.) ac_abs_top_builddir=${ac_top_builddir}.;;
35005 -*)
35006 - case ${ac_top_builddir}. in
35007 - .) ac_abs_top_builddir=$ac_abs_builddir;;
35008 - [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
35009 - *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
35010 - esac;;
35011 -esac
35012 -case $ac_abs_builddir in
35013 -.) ac_abs_srcdir=$ac_srcdir;;
35014 -*)
35015 - case $ac_srcdir in
35016 - .) ac_abs_srcdir=$ac_abs_builddir;;
35017 - [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
35018 - *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
35019 - esac;;
35020 -esac
35021 -case $ac_abs_builddir in
35022 -.) ac_abs_top_srcdir=$ac_top_srcdir;;
35023 -*)
35024 - case $ac_top_srcdir in
35025 - .) ac_abs_top_srcdir=$ac_abs_builddir;;
35026 - [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
35027 - *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
35028 - esac;;
35029 -esac
35030 + :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
35031 +echo "$as_me: executing $ac_file commands" >&6;}
35032 + ;;
35033 + esac
35034
35035
35036 - { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
35037 -echo "$as_me: executing $ac_dest commands" >&6;}
35038 - case $ac_dest in
35039 - depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
35040 + case $ac_file$ac_mode in
35041 + "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
35042 # Strip MF so we end up with the name of the file.
35043 mf=`echo "$mf" | sed -e 's/:.*$//'`
35044 # Check whether this is an Automake generated Makefile or not.
35045 @@ -12180,18 +12493,29 @@
35046 # each Makefile.in and add a new line on top of each file to say so.
35047 # So let's grep whole file.
35048 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
35049 - dirpart=`(dirname "$mf") 2>/dev/null ||
35050 + dirpart=`$as_dirname -- "$mf" ||
35051 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35052 X"$mf" : 'X\(//\)[^/]' \| \
35053 X"$mf" : 'X\(//\)$' \| \
35054 - X"$mf" : 'X\(/\)' \| \
35055 - . : '\(.\)' 2>/dev/null ||
35056 + X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
35057 echo X"$mf" |
35058 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
35059 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
35060 - /^X\(\/\/\)$/{ s//\1/; q; }
35061 - /^X\(\/\).*/{ s//\1/; q; }
35062 - s/.*/./; q'`
35063 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
35064 + s//\1/
35065 + q
35066 + }
35067 + /^X\(\/\/\)[^/].*/{
35068 + s//\1/
35069 + q
35070 + }
35071 + /^X\(\/\/\)$/{
35072 + s//\1/
35073 + q
35074 + }
35075 + /^X\(\/\).*/{
35076 + s//\1/
35077 + q
35078 + }
35079 + s/.*/./; q'`
35080 else
35081 continue
35082 fi
35083 @@ -12213,58 +12537,84 @@
35084 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
35085 # Make sure the directory exists.
35086 test -f "$dirpart/$file" && continue
35087 - fdir=`(dirname "$file") 2>/dev/null ||
35088 + fdir=`$as_dirname -- "$file" ||
35089 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35090 X"$file" : 'X\(//\)[^/]' \| \
35091 X"$file" : 'X\(//\)$' \| \
35092 - X"$file" : 'X\(/\)' \| \
35093 - . : '\(.\)' 2>/dev/null ||
35094 + X"$file" : 'X\(/\)' \| . 2>/dev/null ||
35095 echo X"$file" |
35096 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
35097 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
35098 - /^X\(\/\/\)$/{ s//\1/; q; }
35099 - /^X\(\/\).*/{ s//\1/; q; }
35100 - s/.*/./; q'`
35101 - { if $as_mkdir_p; then
35102 - mkdir -p $dirpart/$fdir
35103 - else
35104 - as_dir=$dirpart/$fdir
35105 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
35106 + s//\1/
35107 + q
35108 + }
35109 + /^X\(\/\/\)[^/].*/{
35110 + s//\1/
35111 + q
35112 + }
35113 + /^X\(\/\/\)$/{
35114 + s//\1/
35115 + q
35116 + }
35117 + /^X\(\/\).*/{
35118 + s//\1/
35119 + q
35120 + }
35121 + s/.*/./; q'`
35122 + { as_dir=$dirpart/$fdir
35123 + case $as_dir in #(
35124 + -*) as_dir=./$as_dir;;
35125 + esac
35126 + test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
35127 as_dirs=
35128 - while test ! -d "$as_dir"; do
35129 - as_dirs="$as_dir $as_dirs"
35130 - as_dir=`(dirname "$as_dir") 2>/dev/null ||
35131 + while :; do
35132 + case $as_dir in #(
35133 + *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
35134 + *) as_qdir=$as_dir;;
35135 + esac
35136 + as_dirs="'$as_qdir' $as_dirs"
35137 + as_dir=`$as_dirname -- "$as_dir" ||
35138 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35139 X"$as_dir" : 'X\(//\)[^/]' \| \
35140 X"$as_dir" : 'X\(//\)$' \| \
35141 - X"$as_dir" : 'X\(/\)' \| \
35142 - . : '\(.\)' 2>/dev/null ||
35143 + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
35144 echo X"$as_dir" |
35145 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
35146 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
35147 - /^X\(\/\/\)$/{ s//\1/; q; }
35148 - /^X\(\/\).*/{ s//\1/; q; }
35149 - s/.*/./; q'`
35150 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
35151 + s//\1/
35152 + q
35153 + }
35154 + /^X\(\/\/\)[^/].*/{
35155 + s//\1/
35156 + q
35157 + }
35158 + /^X\(\/\/\)$/{
35159 + s//\1/
35160 + q
35161 + }
35162 + /^X\(\/\).*/{
35163 + s//\1/
35164 + q
35165 + }
35166 + s/.*/./; q'`
35167 + test -d "$as_dir" && break
35168 done
35169 - test ! -n "$as_dirs" || mkdir $as_dirs
35170 - fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
35171 -echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
35172 + test -z "$as_dirs" || eval "mkdir $as_dirs"
35173 + } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
35174 +echo "$as_me: error: cannot create directory $as_dir" >&2;}
35175 { (exit 1); exit 1; }; }; }
35176 -
35177 # echo "creating $dirpart/$file"
35178 echo '# dummy' > "$dirpart/$file"
35179 done
35180 done
35181 ;;
35182 - default )
35183 + "default":C)
35184 case "x$CONFIG_FILES" in
35185 *) sed -e '/POTFILES =/r po/POTFILES' po/Makefile.in > po/Makefile ;;
35186 esac
35187 ;;
35188 +
35189 esac
35190 -done
35191 -_ACEOF
35192 +done # for ac_tag
35193
35194 -cat >>$CONFIG_STATUS <<\_ACEOF
35195
35196 { (exit 0); exit 0; }
35197 _ACEOF
35198 Index: binutils-2.17/binutils/doc/Makefile.in
35199 ===================================================================
35200 --- binutils-2.17.orig/binutils/doc/Makefile.in 2007-06-28 09:19:34.235031936 +0200
35201 +++ binutils-2.17/binutils/doc/Makefile.in 2007-06-28 09:19:36.602672000 +0200
35202 @@ -109,6 +109,7 @@
35203 EXEEXT_FOR_BUILD = @EXEEXT_FOR_BUILD@
35204 GMOFILES = @GMOFILES@
35205 GMSGFMT = @GMSGFMT@
35206 +GREP = @GREP@
35207 GT_NO = @GT_NO@
35208 GT_YES = @GT_YES@
35209 HDEFINES = @HDEFINES@
35210 @@ -159,9 +160,8 @@
35211 WARN_CFLAGS = @WARN_CFLAGS@
35212 XGETTEXT = @XGETTEXT@
35213 YACC = @YACC@
35214 +YFLAGS = @YFLAGS@
35215 ac_ct_CC = @ac_ct_CC@
35216 -ac_ct_RANLIB = @ac_ct_RANLIB@
35217 -ac_ct_STRIP = @ac_ct_STRIP@
35218 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
35219 am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
35220 am__include = @am__include@
35221 @@ -178,6 +178,7 @@
35222 datadir = @datadir@
35223 datarootdir = @datarootdir@
35224 docdir = @docdir@
35225 +dvidir = @dvidir@
35226 exec_prefix = @exec_prefix@
35227 host = @host@
35228 host_alias = @host_alias@
35229 @@ -191,12 +192,15 @@
35230 l = @l@
35231 libdir = @libdir@
35232 libexecdir = @libexecdir@
35233 +localedir = @localedir@
35234 localstatedir = @localstatedir@
35235 mandir = @mandir@
35236 mkdir_p = @mkdir_p@
35237 oldincludedir = @oldincludedir@
35238 +pdfdir = @pdfdir@
35239 prefix = @prefix@
35240 program_transform_name = @program_transform_name@
35241 +psdir = @psdir@
35242 sbindir = @sbindir@
35243 sharedstatedir = @sharedstatedir@
35244 sysconfdir = @sysconfdir@
35245 @@ -368,10 +372,13 @@
35246 $(srcdir)/*) base=`echo "$$base" | sed "s|^$$srcdirstrip/||"`;; \
35247 esac; \
35248 if test -f $$base; then d=.; else d=$(srcdir); fi; \
35249 - for file in $$d/$$base*; do \
35250 - relfile=`expr "$$file" : "$$d/\(.*\)"`; \
35251 - test -f $(distdir)/$$relfile || \
35252 - cp -p $$file $(distdir)/$$relfile; \
35253 + base_i=`echo "$$base" | sed 's|\.info$$||;s|$$|.i|'`; \
35254 + 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 \
35255 + if test -f $$file; then \
35256 + relfile=`expr "$$file" : "$$d/\(.*\)"`; \
35257 + test -f $(distdir)/$$relfile || \
35258 + cp -p $$file $(distdir)/$$relfile; \
35259 + else :; fi; \
35260 done; \
35261 done
35262
35263 Index: binutils-2.17/binutils/Makefile.am
35264 ===================================================================
35265 --- binutils-2.17.orig/binutils/Makefile.am 2007-06-28 09:19:34.240031176 +0200
35266 +++ binutils-2.17/binutils/Makefile.am 2007-06-28 09:19:36.602672000 +0200
35267 @@ -511,7 +511,7 @@
35268 $(INCDIR)/symcat.h $(INCDIR)/elf/dwarf2.h $(INCDIR)/elf/common.h \
35269 $(INCDIR)/elf/external.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/alpha.h \
35270 $(INCDIR)/elf/reloc-macros.h $(INCDIR)/elf/arc.h $(INCDIR)/elf/arm.h \
35271 - $(INCDIR)/elf/avr.h $(INCDIR)/elf/bfin.h $(INCDIR)/elf/cris.h \
35272 + $(INCDIR)/elf/avr.h $(INCDIR)/elf/avr32.h $(INCDIR)/elf/bfin.h $(INCDIR)/elf/cris.h \
35273 $(INCDIR)/elf/d10v.h $(INCDIR)/elf/d30v.h $(INCDIR)/elf/dlx.h \
35274 $(INCDIR)/elf/fr30.h $(INCDIR)/elf/frv.h $(INCDIR)/elf/h8.h \
35275 $(INCDIR)/elf/hppa.h $(INCDIR)/elf/i386.h $(INCDIR)/elf/i370.h \
35276 Index: binutils-2.17/binutils/Makefile.in
35277 ===================================================================
35278 --- binutils-2.17.orig/binutils/Makefile.in 2007-06-28 09:19:34.248029960 +0200
35279 +++ binutils-2.17/binutils/Makefile.in 2007-06-28 09:19:36.603671848 +0200
35280 @@ -266,6 +266,7 @@
35281 EXEEXT_FOR_BUILD = @EXEEXT_FOR_BUILD@
35282 GMOFILES = @GMOFILES@
35283 GMSGFMT = @GMSGFMT@
35284 +GREP = @GREP@
35285 GT_NO = @GT_NO@
35286 GT_YES = @GT_YES@
35287 HDEFINES = @HDEFINES@
35288 @@ -316,9 +317,8 @@
35289 WARN_CFLAGS = @WARN_CFLAGS@
35290 XGETTEXT = @XGETTEXT@
35291 YACC = `if [ -f ../bison/bison ]; then echo ../bison/bison -y -L$(srcdir)/../bison/; else echo @YACC@; fi`
35292 +YFLAGS = -d
35293 ac_ct_CC = @ac_ct_CC@
35294 -ac_ct_RANLIB = @ac_ct_RANLIB@
35295 -ac_ct_STRIP = @ac_ct_STRIP@
35296 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
35297 am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
35298 am__include = @am__include@
35299 @@ -335,6 +335,7 @@
35300 datadir = @datadir@
35301 datarootdir = @datarootdir@
35302 docdir = @docdir@
35303 +dvidir = @dvidir@
35304 exec_prefix = @exec_prefix@
35305 host = @host@
35306 host_alias = @host_alias@
35307 @@ -348,12 +349,15 @@
35308 l = @l@
35309 libdir = @libdir@
35310 libexecdir = @libexecdir@
35311 +localedir = @localedir@
35312 localstatedir = @localstatedir@
35313 mandir = @mandir@
35314 mkdir_p = @mkdir_p@
35315 oldincludedir = @oldincludedir@
35316 +pdfdir = @pdfdir@
35317 prefix = @prefix@
35318 program_transform_name = @program_transform_name@
35319 +psdir = @psdir@
35320 sbindir = @sbindir@
35321 sharedstatedir = @sharedstatedir@
35322 sysconfdir = @sysconfdir@
35323 @@ -365,7 +369,6 @@
35324 AUTOMAKE_OPTIONS = cygnus dejagnu
35325 SUBDIRS = doc po
35326 tooldir = $(exec_prefix)/$(target_alias)
35327 -YFLAGS = -d
35328 AM_CFLAGS = $(WARN_CFLAGS)
35329
35330 # these two are almost the same program
35331 @@ -1264,7 +1267,7 @@
35332 $(INCDIR)/symcat.h $(INCDIR)/elf/dwarf2.h $(INCDIR)/elf/common.h \
35333 $(INCDIR)/elf/external.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/alpha.h \
35334 $(INCDIR)/elf/reloc-macros.h $(INCDIR)/elf/arc.h $(INCDIR)/elf/arm.h \
35335 - $(INCDIR)/elf/avr.h $(INCDIR)/elf/bfin.h $(INCDIR)/elf/cris.h \
35336 + $(INCDIR)/elf/avr.h $(INCDIR)/elf/avr32.h $(INCDIR)/elf/bfin.h $(INCDIR)/elf/cris.h \
35337 $(INCDIR)/elf/d10v.h $(INCDIR)/elf/d30v.h $(INCDIR)/elf/dlx.h \
35338 $(INCDIR)/elf/fr30.h $(INCDIR)/elf/frv.h $(INCDIR)/elf/h8.h \
35339 $(INCDIR)/elf/hppa.h $(INCDIR)/elf/i386.h $(INCDIR)/elf/i370.h \
35340 Index: binutils-2.17/binutils/readelf.c
35341 ===================================================================
35342 --- binutils-2.17.orig/binutils/readelf.c 2007-06-28 09:19:34.254029048 +0200
35343 +++ binutils-2.17/binutils/readelf.c 2007-06-28 09:19:36.606671392 +0200
35344 @@ -71,6 +71,7 @@
35345 #include "elf/arc.h"
35346 #include "elf/arm.h"
35347 #include "elf/avr.h"
35348 +#include "elf/avr32.h"
35349 #include "elf/bfin.h"
35350 #include "elf/cris.h"
35351 #include "elf/d10v.h"
35352 @@ -590,6 +591,7 @@
35353 case EM_MCORE:
35354 case EM_IA_64:
35355 case EM_AVR:
35356 + case EM_AVR32:
35357 case EM_AVR_OLD:
35358 case EM_CRIS:
35359 case EM_860:
35360 @@ -959,6 +961,10 @@
35361 rtype = elf_avr_reloc_type (type);
35362 break;
35363
35364 + case EM_AVR32:
35365 + rtype = elf_avr32_reloc_type (type);
35366 + break;
35367 +
35368 case EM_OLD_SPARCV9:
35369 case EM_SPARC32PLUS:
35370 case EM_SPARCV9:
35371 @@ -1670,6 +1676,7 @@
35372 case EM_VAX: return "Digital VAX";
35373 case EM_AVR_OLD:
35374 case EM_AVR: return "Atmel AVR 8-bit microcontroller";
35375 + case EM_AVR32: return "Atmel AVR32";
35376 case EM_CRIS: return "Axis Communications 32-bit embedded processor";
35377 case EM_JAVELIN: return "Infineon Technologies 32-bit embedded cpu";
35378 case EM_FIREPATH: return "Element 14 64-bit DSP processor";
35379 Index: binutils-2.17/configure
35380 ===================================================================
35381 --- binutils-2.17.orig/configure 2007-06-28 09:19:35.592825520 +0200
35382 +++ binutils-2.17/configure 2007-06-28 09:19:36.610670784 +0200
35383 @@ -899,7 +899,7 @@
35384 # know that we are building the simulator.
35385 # binutils, gas and ld appear in that order because it makes sense to run
35386 # "make check" in that particular order.
35387 -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"
35388 +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"
35389
35390 # libgcj represents the runtime libraries only used by gcj.
35391 libgcj="target-libffi \
35392 @@ -1064,6 +1064,9 @@
35393 # exist yet.
35394
35395 case "${host}" in
35396 + avr32*-*-*)
35397 + noconfigdirs="$noconfigdirs readline gdb"
35398 + ;;
35399 hppa*64*-*-*)
35400 noconfigdirs="$noconfigdirs byacc"
35401 ;;
35402 @@ -1863,7 +1866,7 @@
35403 # Extract the first word of "gcc", so it can be a program name with args.
35404 set dummy gcc; ac_word=$2
35405 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
35406 -echo "configure:1867: checking for $ac_word" >&5
35407 +echo "configure:1870: checking for $ac_word" >&5
35408 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
35409 echo $ac_n "(cached) $ac_c" 1>&6
35410 else
35411 @@ -1893,7 +1896,7 @@
35412 # Extract the first word of "cc", so it can be a program name with args.
35413 set dummy cc; ac_word=$2
35414 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
35415 -echo "configure:1897: checking for $ac_word" >&5
35416 +echo "configure:1900: checking for $ac_word" >&5
35417 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
35418 echo $ac_n "(cached) $ac_c" 1>&6
35419 else
35420 @@ -1944,7 +1947,7 @@
35421 # Extract the first word of "cl", so it can be a program name with args.
35422 set dummy cl; ac_word=$2
35423 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
35424 -echo "configure:1948: checking for $ac_word" >&5
35425 +echo "configure:1951: checking for $ac_word" >&5
35426 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
35427 echo $ac_n "(cached) $ac_c" 1>&6
35428 else
35429 @@ -1976,7 +1979,7 @@
35430 fi
35431
35432 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
35433 -echo "configure:1980: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
35434 +echo "configure:1983: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
35435
35436 ac_ext=c
35437 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
35438 @@ -1987,12 +1990,12 @@
35439
35440 cat > conftest.$ac_ext << EOF
35441
35442 -#line 1991 "configure"
35443 +#line 1994 "configure"
35444 #include "confdefs.h"
35445
35446 main(){return(0);}
35447 EOF
35448 -if { (eval echo configure:1996: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
35449 +if { (eval echo configure:1999: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
35450 ac_cv_prog_cc_works=yes
35451 # If we can't run a trivial program, we are probably using a cross compiler.
35452 if (./conftest; exit) 2>/dev/null; then
35453 @@ -2018,12 +2021,12 @@
35454 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
35455 fi
35456 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
35457 -echo "configure:2022: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
35458 +echo "configure:2025: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
35459 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
35460 cross_compiling=$ac_cv_prog_cc_cross
35461
35462 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
35463 -echo "configure:2027: checking whether we are using GNU C" >&5
35464 +echo "configure:2030: checking whether we are using GNU C" >&5
35465 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
35466 echo $ac_n "(cached) $ac_c" 1>&6
35467 else
35468 @@ -2032,7 +2035,7 @@
35469 yes;
35470 #endif
35471 EOF
35472 -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
35473 +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
35474 ac_cv_prog_gcc=yes
35475 else
35476 ac_cv_prog_gcc=no
35477 @@ -2051,7 +2054,7 @@
35478 ac_save_CFLAGS="$CFLAGS"
35479 CFLAGS=
35480 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
35481 -echo "configure:2055: checking whether ${CC-cc} accepts -g" >&5
35482 +echo "configure:2058: checking whether ${CC-cc} accepts -g" >&5
35483 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
35484 echo $ac_n "(cached) $ac_c" 1>&6
35485 else
35486 @@ -2118,7 +2121,7 @@
35487 # Extract the first word of "${ac_tool_prefix}gnatbind", so it can be a program name with args.
35488 set dummy ${ac_tool_prefix}gnatbind; ac_word=$2
35489 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
35490 -echo "configure:2122: checking for $ac_word" >&5
35491 +echo "configure:2125: checking for $ac_word" >&5
35492 if eval "test \"`echo '$''{'ac_cv_prog_GNATBIND'+set}'`\" = set"; then
35493 echo $ac_n "(cached) $ac_c" 1>&6
35494 else
35495 @@ -2150,7 +2153,7 @@
35496 # Extract the first word of "gnatbind", so it can be a program name with args.
35497 set dummy gnatbind; ac_word=$2
35498 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
35499 -echo "configure:2154: checking for $ac_word" >&5
35500 +echo "configure:2157: checking for $ac_word" >&5
35501 if eval "test \"`echo '$''{'ac_cv_prog_GNATBIND'+set}'`\" = set"; then
35502 echo $ac_n "(cached) $ac_c" 1>&6
35503 else
35504 @@ -2183,7 +2186,7 @@
35505 fi
35506
35507 echo $ac_n "checking whether compiler driver understands Ada""... $ac_c" 1>&6
35508 -echo "configure:2187: checking whether compiler driver understands Ada" >&5
35509 +echo "configure:2190: checking whether compiler driver understands Ada" >&5
35510 if eval "test \"`echo '$''{'acx_cv_cc_gcc_supports_ada'+set}'`\" = set"; then
35511 echo $ac_n "(cached) $ac_c" 1>&6
35512 else
35513 @@ -2215,7 +2218,7 @@
35514 fi
35515
35516 echo $ac_n "checking how to compare bootstrapped objects""... $ac_c" 1>&6
35517 -echo "configure:2219: checking how to compare bootstrapped objects" >&5
35518 +echo "configure:2222: checking how to compare bootstrapped objects" >&5
35519 if eval "test \"`echo '$''{'gcc_cv_prog_cmp_skip'+set}'`\" = set"; then
35520 echo $ac_n "(cached) $ac_c" 1>&6
35521 else
35522 @@ -2313,9 +2316,9 @@
35523 CFLAGS="$CFLAGS $gmpinc"
35524 # Check GMP actually works
35525 echo $ac_n "checking for correct version of gmp.h""... $ac_c" 1>&6
35526 -echo "configure:2317: checking for correct version of gmp.h" >&5
35527 +echo "configure:2320: checking for correct version of gmp.h" >&5
35528 cat > conftest.$ac_ext <<EOF
35529 -#line 2319 "configure"
35530 +#line 2322 "configure"
35531 #include "confdefs.h"
35532 #include "gmp.h"
35533 int main() {
35534 @@ -2326,7 +2329,7 @@
35535
35536 ; return 0; }
35537 EOF
35538 -if { (eval echo configure:2330: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
35539 +if { (eval echo configure:2333: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
35540 rm -rf conftest*
35541 echo "$ac_t""yes" 1>&6
35542 else
35543 @@ -2339,12 +2342,12 @@
35544
35545 if test x"$have_gmp" = xyes; then
35546 echo $ac_n "checking for MPFR""... $ac_c" 1>&6
35547 -echo "configure:2343: checking for MPFR" >&5
35548 +echo "configure:2346: checking for MPFR" >&5
35549
35550 saved_LIBS="$LIBS"
35551 LIBS="$LIBS $gmplibs"
35552 cat > conftest.$ac_ext <<EOF
35553 -#line 2348 "configure"
35554 +#line 2351 "configure"
35555 #include "confdefs.h"
35556 #include <gmp.h>
35557 #include <mpfr.h>
35558 @@ -2352,7 +2355,7 @@
35559 mpfr_t n; mpfr_init(n);
35560 ; return 0; }
35561 EOF
35562 -if { (eval echo configure:2356: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
35563 +if { (eval echo configure:2359: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
35564 rm -rf conftest*
35565 echo "$ac_t""yes" 1>&6
35566 else
35567 @@ -3403,7 +3406,7 @@
35568 # Extract the first word of "$ac_prog", so it can be a program name with args.
35569 set dummy $ac_prog; ac_word=$2
35570 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
35571 -echo "configure:3407: checking for $ac_word" >&5
35572 +echo "configure:3410: checking for $ac_word" >&5
35573 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
35574 echo $ac_n "(cached) $ac_c" 1>&6
35575 else
35576 @@ -3443,7 +3446,7 @@
35577 # Extract the first word of "$ac_prog", so it can be a program name with args.
35578 set dummy $ac_prog; ac_word=$2
35579 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
35580 -echo "configure:3447: checking for $ac_word" >&5
35581 +echo "configure:3450: checking for $ac_word" >&5
35582 if eval "test \"`echo '$''{'ac_cv_prog_BISON'+set}'`\" = set"; then
35583 echo $ac_n "(cached) $ac_c" 1>&6
35584 else
35585 @@ -3482,7 +3485,7 @@
35586 # Extract the first word of "$ac_prog", so it can be a program name with args.
35587 set dummy $ac_prog; ac_word=$2
35588 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
35589 -echo "configure:3486: checking for $ac_word" >&5
35590 +echo "configure:3489: checking for $ac_word" >&5
35591 if eval "test \"`echo '$''{'ac_cv_prog_M4'+set}'`\" = set"; then
35592 echo $ac_n "(cached) $ac_c" 1>&6
35593 else
35594 @@ -3521,7 +3524,7 @@
35595 # Extract the first word of "$ac_prog", so it can be a program name with args.
35596 set dummy $ac_prog; ac_word=$2
35597 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
35598 -echo "configure:3525: checking for $ac_word" >&5
35599 +echo "configure:3528: checking for $ac_word" >&5
35600 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
35601 echo $ac_n "(cached) $ac_c" 1>&6
35602 else
35603 @@ -3561,7 +3564,7 @@
35604 # Extract the first word of "$ac_prog", so it can be a program name with args.
35605 set dummy $ac_prog; ac_word=$2
35606 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
35607 -echo "configure:3565: checking for $ac_word" >&5
35608 +echo "configure:3568: checking for $ac_word" >&5
35609 if eval "test \"`echo '$''{'ac_cv_prog_FLEX'+set}'`\" = set"; then
35610 echo $ac_n "(cached) $ac_c" 1>&6
35611 else
35612 @@ -3600,7 +3603,7 @@
35613 # Extract the first word of "$ac_prog", so it can be a program name with args.
35614 set dummy $ac_prog; ac_word=$2
35615 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
35616 -echo "configure:3604: checking for $ac_word" >&5
35617 +echo "configure:3607: checking for $ac_word" >&5
35618 if eval "test \"`echo '$''{'ac_cv_prog_MAKEINFO'+set}'`\" = set"; then
35619 echo $ac_n "(cached) $ac_c" 1>&6
35620 else
35621 @@ -3653,7 +3656,7 @@
35622 # Extract the first word of "$ac_prog", so it can be a program name with args.
35623 set dummy $ac_prog; ac_word=$2
35624 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
35625 -echo "configure:3657: checking for $ac_word" >&5
35626 +echo "configure:3660: checking for $ac_word" >&5
35627 if eval "test \"`echo '$''{'ac_cv_prog_EXPECT'+set}'`\" = set"; then
35628 echo $ac_n "(cached) $ac_c" 1>&6
35629 else
35630 @@ -3694,7 +3697,7 @@
35631 # Extract the first word of "$ac_prog", so it can be a program name with args.
35632 set dummy $ac_prog; ac_word=$2
35633 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
35634 -echo "configure:3698: checking for $ac_word" >&5
35635 +echo "configure:3701: checking for $ac_word" >&5
35636 if eval "test \"`echo '$''{'ac_cv_prog_RUNTEST'+set}'`\" = set"; then
35637 echo $ac_n "(cached) $ac_c" 1>&6
35638 else
35639 @@ -3742,7 +3745,7 @@
35640 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
35641 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
35642 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
35643 -echo "configure:3746: checking for $ac_word" >&5
35644 +echo "configure:3749: checking for $ac_word" >&5
35645 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
35646 echo $ac_n "(cached) $ac_c" 1>&6
35647 else
35648 @@ -3773,7 +3776,7 @@
35649 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
35650 set dummy ${ncn_progname}; ac_word=$2
35651 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
35652 -echo "configure:3777: checking for $ac_word" >&5
35653 +echo "configure:3780: checking for $ac_word" >&5
35654 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
35655 echo $ac_n "(cached) $ac_c" 1>&6
35656 else
35657 @@ -3817,7 +3820,7 @@
35658 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
35659 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
35660 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
35661 -echo "configure:3821: checking for $ac_word" >&5
35662 +echo "configure:3824: checking for $ac_word" >&5
35663 if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then
35664 echo $ac_n "(cached) $ac_c" 1>&6
35665 else
35666 @@ -3848,7 +3851,7 @@
35667 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
35668 set dummy ${ncn_progname}; ac_word=$2
35669 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
35670 -echo "configure:3852: checking for $ac_word" >&5
35671 +echo "configure:3855: checking for $ac_word" >&5
35672 if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then
35673 echo $ac_n "(cached) $ac_c" 1>&6
35674 else
35675 @@ -3892,7 +3895,7 @@
35676 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
35677 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
35678 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
35679 -echo "configure:3896: checking for $ac_word" >&5
35680 +echo "configure:3899: checking for $ac_word" >&5
35681 if eval "test \"`echo '$''{'ac_cv_prog_DLLTOOL'+set}'`\" = set"; then
35682 echo $ac_n "(cached) $ac_c" 1>&6
35683 else
35684 @@ -3923,7 +3926,7 @@
35685 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
35686 set dummy ${ncn_progname}; ac_word=$2
35687 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
35688 -echo "configure:3927: checking for $ac_word" >&5
35689 +echo "configure:3930: checking for $ac_word" >&5
35690 if eval "test \"`echo '$''{'ac_cv_prog_DLLTOOL'+set}'`\" = set"; then
35691 echo $ac_n "(cached) $ac_c" 1>&6
35692 else
35693 @@ -3967,7 +3970,7 @@
35694 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
35695 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
35696 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
35697 -echo "configure:3971: checking for $ac_word" >&5
35698 +echo "configure:3974: checking for $ac_word" >&5
35699 if eval "test \"`echo '$''{'ac_cv_prog_LD'+set}'`\" = set"; then
35700 echo $ac_n "(cached) $ac_c" 1>&6
35701 else
35702 @@ -3998,7 +4001,7 @@
35703 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
35704 set dummy ${ncn_progname}; ac_word=$2
35705 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
35706 -echo "configure:4002: checking for $ac_word" >&5
35707 +echo "configure:4005: checking for $ac_word" >&5
35708 if eval "test \"`echo '$''{'ac_cv_prog_LD'+set}'`\" = set"; then
35709 echo $ac_n "(cached) $ac_c" 1>&6
35710 else
35711 @@ -4042,7 +4045,7 @@
35712 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
35713 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
35714 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
35715 -echo "configure:4046: checking for $ac_word" >&5
35716 +echo "configure:4049: checking for $ac_word" >&5
35717 if eval "test \"`echo '$''{'ac_cv_prog_LIPO'+set}'`\" = set"; then
35718 echo $ac_n "(cached) $ac_c" 1>&6
35719 else
35720 @@ -4073,7 +4076,7 @@
35721 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
35722 set dummy ${ncn_progname}; ac_word=$2
35723 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
35724 -echo "configure:4077: checking for $ac_word" >&5
35725 +echo "configure:4080: checking for $ac_word" >&5
35726 if eval "test \"`echo '$''{'ac_cv_prog_LIPO'+set}'`\" = set"; then
35727 echo $ac_n "(cached) $ac_c" 1>&6
35728 else
35729 @@ -4117,7 +4120,7 @@
35730 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
35731 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
35732 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
35733 -echo "configure:4121: checking for $ac_word" >&5
35734 +echo "configure:4124: checking for $ac_word" >&5
35735 if eval "test \"`echo '$''{'ac_cv_prog_NM'+set}'`\" = set"; then
35736 echo $ac_n "(cached) $ac_c" 1>&6
35737 else
35738 @@ -4148,7 +4151,7 @@
35739 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
35740 set dummy ${ncn_progname}; ac_word=$2
35741 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
35742 -echo "configure:4152: checking for $ac_word" >&5
35743 +echo "configure:4155: checking for $ac_word" >&5
35744 if eval "test \"`echo '$''{'ac_cv_prog_NM'+set}'`\" = set"; then
35745 echo $ac_n "(cached) $ac_c" 1>&6
35746 else
35747 @@ -4192,7 +4195,7 @@
35748 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
35749 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
35750 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
35751 -echo "configure:4196: checking for $ac_word" >&5
35752 +echo "configure:4199: checking for $ac_word" >&5
35753 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
35754 echo $ac_n "(cached) $ac_c" 1>&6
35755 else
35756 @@ -4223,7 +4226,7 @@
35757 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
35758 set dummy ${ncn_progname}; ac_word=$2
35759 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
35760 -echo "configure:4227: checking for $ac_word" >&5
35761 +echo "configure:4230: checking for $ac_word" >&5
35762 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
35763 echo $ac_n "(cached) $ac_c" 1>&6
35764 else
35765 @@ -4262,7 +4265,7 @@
35766 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
35767 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
35768 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
35769 -echo "configure:4266: checking for $ac_word" >&5
35770 +echo "configure:4269: checking for $ac_word" >&5
35771 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
35772 echo $ac_n "(cached) $ac_c" 1>&6
35773 else
35774 @@ -4293,7 +4296,7 @@
35775 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
35776 set dummy ${ncn_progname}; ac_word=$2
35777 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
35778 -echo "configure:4297: checking for $ac_word" >&5
35779 +echo "configure:4300: checking for $ac_word" >&5
35780 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
35781 echo $ac_n "(cached) $ac_c" 1>&6
35782 else
35783 @@ -4332,7 +4335,7 @@
35784 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
35785 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
35786 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
35787 -echo "configure:4336: checking for $ac_word" >&5
35788 +echo "configure:4339: checking for $ac_word" >&5
35789 if eval "test \"`echo '$''{'ac_cv_prog_WINDRES'+set}'`\" = set"; then
35790 echo $ac_n "(cached) $ac_c" 1>&6
35791 else
35792 @@ -4363,7 +4366,7 @@
35793 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
35794 set dummy ${ncn_progname}; ac_word=$2
35795 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
35796 -echo "configure:4367: checking for $ac_word" >&5
35797 +echo "configure:4370: checking for $ac_word" >&5
35798 if eval "test \"`echo '$''{'ac_cv_prog_WINDRES'+set}'`\" = set"; then
35799 echo $ac_n "(cached) $ac_c" 1>&6
35800 else
35801 @@ -4407,7 +4410,7 @@
35802 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
35803 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
35804 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
35805 -echo "configure:4411: checking for $ac_word" >&5
35806 +echo "configure:4414: checking for $ac_word" >&5
35807 if eval "test \"`echo '$''{'ac_cv_prog_OBJCOPY'+set}'`\" = set"; then
35808 echo $ac_n "(cached) $ac_c" 1>&6
35809 else
35810 @@ -4438,7 +4441,7 @@
35811 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
35812 set dummy ${ncn_progname}; ac_word=$2
35813 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
35814 -echo "configure:4442: checking for $ac_word" >&5
35815 +echo "configure:4445: checking for $ac_word" >&5
35816 if eval "test \"`echo '$''{'ac_cv_prog_OBJCOPY'+set}'`\" = set"; then
35817 echo $ac_n "(cached) $ac_c" 1>&6
35818 else
35819 @@ -4482,7 +4485,7 @@
35820 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
35821 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
35822 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
35823 -echo "configure:4486: checking for $ac_word" >&5
35824 +echo "configure:4489: checking for $ac_word" >&5
35825 if eval "test \"`echo '$''{'ac_cv_prog_OBJDUMP'+set}'`\" = set"; then
35826 echo $ac_n "(cached) $ac_c" 1>&6
35827 else
35828 @@ -4513,7 +4516,7 @@
35829 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
35830 set dummy ${ncn_progname}; ac_word=$2
35831 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
35832 -echo "configure:4517: checking for $ac_word" >&5
35833 +echo "configure:4520: checking for $ac_word" >&5
35834 if eval "test \"`echo '$''{'ac_cv_prog_OBJDUMP'+set}'`\" = set"; then
35835 echo $ac_n "(cached) $ac_c" 1>&6
35836 else
35837 @@ -4577,7 +4580,7 @@
35838 if test -n "$with_build_time_tools"; then
35839 for ncn_progname in cc gcc; do
35840 echo $ac_n "checking for ${ncn_progname} in $with_build_time_tools""... $ac_c" 1>&6
35841 -echo "configure:4581: checking for ${ncn_progname} in $with_build_time_tools" >&5
35842 +echo "configure:4584: checking for ${ncn_progname} in $with_build_time_tools" >&5
35843 if test -x $with_build_time_tools/${ncn_progname}; then
35844 ac_cv_prog_CC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
35845 echo "$ac_t""yes" 1>&6
35846 @@ -4594,7 +4597,7 @@
35847 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
35848 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
35849 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
35850 -echo "configure:4598: checking for $ac_word" >&5
35851 +echo "configure:4601: checking for $ac_word" >&5
35852 if eval "test \"`echo '$''{'ac_cv_prog_CC_FOR_TARGET'+set}'`\" = set"; then
35853 echo $ac_n "(cached) $ac_c" 1>&6
35854 else
35855 @@ -4625,7 +4628,7 @@
35856 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
35857 set dummy ${ncn_progname}; ac_word=$2
35858 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
35859 -echo "configure:4629: checking for $ac_word" >&5
35860 +echo "configure:4632: checking for $ac_word" >&5
35861 if eval "test \"`echo '$''{'ac_cv_prog_CC_FOR_TARGET'+set}'`\" = set"; then
35862 echo $ac_n "(cached) $ac_c" 1>&6
35863 else
35864 @@ -4668,7 +4671,7 @@
35865 if test -n "$with_build_time_tools"; then
35866 for ncn_progname in c++ g++ cxx gxx; do
35867 echo $ac_n "checking for ${ncn_progname} in $with_build_time_tools""... $ac_c" 1>&6
35868 -echo "configure:4672: checking for ${ncn_progname} in $with_build_time_tools" >&5
35869 +echo "configure:4675: checking for ${ncn_progname} in $with_build_time_tools" >&5
35870 if test -x $with_build_time_tools/${ncn_progname}; then
35871 ac_cv_prog_CXX_FOR_TARGET=$with_build_time_tools/${ncn_progname}
35872 echo "$ac_t""yes" 1>&6
35873 @@ -4685,7 +4688,7 @@
35874 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
35875 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
35876 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
35877 -echo "configure:4689: checking for $ac_word" >&5
35878 +echo "configure:4692: checking for $ac_word" >&5
35879 if eval "test \"`echo '$''{'ac_cv_prog_CXX_FOR_TARGET'+set}'`\" = set"; then
35880 echo $ac_n "(cached) $ac_c" 1>&6
35881 else
35882 @@ -4716,7 +4719,7 @@
35883 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
35884 set dummy ${ncn_progname}; ac_word=$2
35885 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
35886 -echo "configure:4720: checking for $ac_word" >&5
35887 +echo "configure:4723: checking for $ac_word" >&5
35888 if eval "test \"`echo '$''{'ac_cv_prog_CXX_FOR_TARGET'+set}'`\" = set"; then
35889 echo $ac_n "(cached) $ac_c" 1>&6
35890 else
35891 @@ -4759,7 +4762,7 @@
35892 if test -n "$with_build_time_tools"; then
35893 for ncn_progname in gcc; do
35894 echo $ac_n "checking for ${ncn_progname} in $with_build_time_tools""... $ac_c" 1>&6
35895 -echo "configure:4763: checking for ${ncn_progname} in $with_build_time_tools" >&5
35896 +echo "configure:4766: checking for ${ncn_progname} in $with_build_time_tools" >&5
35897 if test -x $with_build_time_tools/${ncn_progname}; then
35898 ac_cv_prog_GCC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
35899 echo "$ac_t""yes" 1>&6
35900 @@ -4776,7 +4779,7 @@
35901 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
35902 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
35903 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
35904 -echo "configure:4780: checking for $ac_word" >&5
35905 +echo "configure:4783: checking for $ac_word" >&5
35906 if eval "test \"`echo '$''{'ac_cv_prog_GCC_FOR_TARGET'+set}'`\" = set"; then
35907 echo $ac_n "(cached) $ac_c" 1>&6
35908 else
35909 @@ -4807,7 +4810,7 @@
35910 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
35911 set dummy ${ncn_progname}; ac_word=$2
35912 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
35913 -echo "configure:4811: checking for $ac_word" >&5
35914 +echo "configure:4814: checking for $ac_word" >&5
35915 if eval "test \"`echo '$''{'ac_cv_prog_GCC_FOR_TARGET'+set}'`\" = set"; then
35916 echo $ac_n "(cached) $ac_c" 1>&6
35917 else
35918 @@ -4845,7 +4848,7 @@
35919 if test -n "$with_build_time_tools"; then
35920 for ncn_progname in gcj; do
35921 echo $ac_n "checking for ${ncn_progname} in $with_build_time_tools""... $ac_c" 1>&6
35922 -echo "configure:4849: checking for ${ncn_progname} in $with_build_time_tools" >&5
35923 +echo "configure:4852: checking for ${ncn_progname} in $with_build_time_tools" >&5
35924 if test -x $with_build_time_tools/${ncn_progname}; then
35925 ac_cv_prog_GCJ_FOR_TARGET=$with_build_time_tools/${ncn_progname}
35926 echo "$ac_t""yes" 1>&6
35927 @@ -4862,7 +4865,7 @@
35928 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
35929 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
35930 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
35931 -echo "configure:4866: checking for $ac_word" >&5
35932 +echo "configure:4869: checking for $ac_word" >&5
35933 if eval "test \"`echo '$''{'ac_cv_prog_GCJ_FOR_TARGET'+set}'`\" = set"; then
35934 echo $ac_n "(cached) $ac_c" 1>&6
35935 else
35936 @@ -4893,7 +4896,7 @@
35937 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
35938 set dummy ${ncn_progname}; ac_word=$2
35939 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
35940 -echo "configure:4897: checking for $ac_word" >&5
35941 +echo "configure:4900: checking for $ac_word" >&5
35942 if eval "test \"`echo '$''{'ac_cv_prog_GCJ_FOR_TARGET'+set}'`\" = set"; then
35943 echo $ac_n "(cached) $ac_c" 1>&6
35944 else
35945 @@ -4936,7 +4939,7 @@
35946 if test -n "$with_build_time_tools"; then
35947 for ncn_progname in gfortran; do
35948 echo $ac_n "checking for ${ncn_progname} in $with_build_time_tools""... $ac_c" 1>&6
35949 -echo "configure:4940: checking for ${ncn_progname} in $with_build_time_tools" >&5
35950 +echo "configure:4943: checking for ${ncn_progname} in $with_build_time_tools" >&5
35951 if test -x $with_build_time_tools/${ncn_progname}; then
35952 ac_cv_prog_GFORTRAN_FOR_TARGET=$with_build_time_tools/${ncn_progname}
35953 echo "$ac_t""yes" 1>&6
35954 @@ -4953,7 +4956,7 @@
35955 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
35956 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
35957 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
35958 -echo "configure:4957: checking for $ac_word" >&5
35959 +echo "configure:4960: checking for $ac_word" >&5
35960 if eval "test \"`echo '$''{'ac_cv_prog_GFORTRAN_FOR_TARGET'+set}'`\" = set"; then
35961 echo $ac_n "(cached) $ac_c" 1>&6
35962 else
35963 @@ -4984,7 +4987,7 @@
35964 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
35965 set dummy ${ncn_progname}; ac_word=$2
35966 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
35967 -echo "configure:4988: checking for $ac_word" >&5
35968 +echo "configure:4991: checking for $ac_word" >&5
35969 if eval "test \"`echo '$''{'ac_cv_prog_GFORTRAN_FOR_TARGET'+set}'`\" = set"; then
35970 echo $ac_n "(cached) $ac_c" 1>&6
35971 else
35972 @@ -5091,7 +5094,7 @@
35973 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
35974 if test -n "$with_build_time_tools"; then
35975 echo $ac_n "checking for ar in $with_build_time_tools""... $ac_c" 1>&6
35976 -echo "configure:5095: checking for ar in $with_build_time_tools" >&5
35977 +echo "configure:5098: checking for ar in $with_build_time_tools" >&5
35978 if test -x $with_build_time_tools/ar; then
35979 AR_FOR_TARGET=`cd $with_build_time_tools && pwd`/ar
35980 ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
35981 @@ -5109,7 +5112,7 @@
35982 # Extract the first word of "ar", so it can be a program name with args.
35983 set dummy ar; ac_word=$2
35984 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
35985 -echo "configure:5113: checking for $ac_word" >&5
35986 +echo "configure:5116: checking for $ac_word" >&5
35987 if eval "test \"`echo '$''{'ac_cv_path_AR_FOR_TARGET'+set}'`\" = set"; then
35988 echo $ac_n "(cached) $ac_c" 1>&6
35989 else
35990 @@ -5146,7 +5149,7 @@
35991 if test -n "$with_build_time_tools"; then
35992 for ncn_progname in ar; do
35993 echo $ac_n "checking for ${ncn_progname} in $with_build_time_tools""... $ac_c" 1>&6
35994 -echo "configure:5150: checking for ${ncn_progname} in $with_build_time_tools" >&5
35995 +echo "configure:5153: checking for ${ncn_progname} in $with_build_time_tools" >&5
35996 if test -x $with_build_time_tools/${ncn_progname}; then
35997 ac_cv_prog_AR_FOR_TARGET=$with_build_time_tools/${ncn_progname}
35998 echo "$ac_t""yes" 1>&6
35999 @@ -5163,7 +5166,7 @@
36000 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
36001 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
36002 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
36003 -echo "configure:5167: checking for $ac_word" >&5
36004 +echo "configure:5170: checking for $ac_word" >&5
36005 if eval "test \"`echo '$''{'ac_cv_prog_AR_FOR_TARGET'+set}'`\" = set"; then
36006 echo $ac_n "(cached) $ac_c" 1>&6
36007 else
36008 @@ -5194,7 +5197,7 @@
36009 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
36010 set dummy ${ncn_progname}; ac_word=$2
36011 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
36012 -echo "configure:5198: checking for $ac_word" >&5
36013 +echo "configure:5201: checking for $ac_word" >&5
36014 if eval "test \"`echo '$''{'ac_cv_prog_AR_FOR_TARGET'+set}'`\" = set"; then
36015 echo $ac_n "(cached) $ac_c" 1>&6
36016 else
36017 @@ -5244,7 +5247,7 @@
36018 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
36019 if test -n "$with_build_time_tools"; then
36020 echo $ac_n "checking for as in $with_build_time_tools""... $ac_c" 1>&6
36021 -echo "configure:5248: checking for as in $with_build_time_tools" >&5
36022 +echo "configure:5251: checking for as in $with_build_time_tools" >&5
36023 if test -x $with_build_time_tools/as; then
36024 AS_FOR_TARGET=`cd $with_build_time_tools && pwd`/as
36025 ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
36026 @@ -5262,7 +5265,7 @@
36027 # Extract the first word of "as", so it can be a program name with args.
36028 set dummy as; ac_word=$2
36029 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
36030 -echo "configure:5266: checking for $ac_word" >&5
36031 +echo "configure:5269: checking for $ac_word" >&5
36032 if eval "test \"`echo '$''{'ac_cv_path_AS_FOR_TARGET'+set}'`\" = set"; then
36033 echo $ac_n "(cached) $ac_c" 1>&6
36034 else
36035 @@ -5299,7 +5302,7 @@
36036 if test -n "$with_build_time_tools"; then
36037 for ncn_progname in as; do
36038 echo $ac_n "checking for ${ncn_progname} in $with_build_time_tools""... $ac_c" 1>&6
36039 -echo "configure:5303: checking for ${ncn_progname} in $with_build_time_tools" >&5
36040 +echo "configure:5306: checking for ${ncn_progname} in $with_build_time_tools" >&5
36041 if test -x $with_build_time_tools/${ncn_progname}; then
36042 ac_cv_prog_AS_FOR_TARGET=$with_build_time_tools/${ncn_progname}
36043 echo "$ac_t""yes" 1>&6
36044 @@ -5316,7 +5319,7 @@
36045 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
36046 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
36047 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
36048 -echo "configure:5320: checking for $ac_word" >&5
36049 +echo "configure:5323: checking for $ac_word" >&5
36050 if eval "test \"`echo '$''{'ac_cv_prog_AS_FOR_TARGET'+set}'`\" = set"; then
36051 echo $ac_n "(cached) $ac_c" 1>&6
36052 else
36053 @@ -5347,7 +5350,7 @@
36054 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
36055 set dummy ${ncn_progname}; ac_word=$2
36056 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
36057 -echo "configure:5351: checking for $ac_word" >&5
36058 +echo "configure:5354: checking for $ac_word" >&5
36059 if eval "test \"`echo '$''{'ac_cv_prog_AS_FOR_TARGET'+set}'`\" = set"; then
36060 echo $ac_n "(cached) $ac_c" 1>&6
36061 else
36062 @@ -5397,7 +5400,7 @@
36063 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
36064 if test -n "$with_build_time_tools"; then
36065 echo $ac_n "checking for dlltool in $with_build_time_tools""... $ac_c" 1>&6
36066 -echo "configure:5401: checking for dlltool in $with_build_time_tools" >&5
36067 +echo "configure:5404: checking for dlltool in $with_build_time_tools" >&5
36068 if test -x $with_build_time_tools/dlltool; then
36069 DLLTOOL_FOR_TARGET=`cd $with_build_time_tools && pwd`/dlltool
36070 ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
36071 @@ -5415,7 +5418,7 @@
36072 # Extract the first word of "dlltool", so it can be a program name with args.
36073 set dummy dlltool; ac_word=$2
36074 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
36075 -echo "configure:5419: checking for $ac_word" >&5
36076 +echo "configure:5422: checking for $ac_word" >&5
36077 if eval "test \"`echo '$''{'ac_cv_path_DLLTOOL_FOR_TARGET'+set}'`\" = set"; then
36078 echo $ac_n "(cached) $ac_c" 1>&6
36079 else
36080 @@ -5452,7 +5455,7 @@
36081 if test -n "$with_build_time_tools"; then
36082 for ncn_progname in dlltool; do
36083 echo $ac_n "checking for ${ncn_progname} in $with_build_time_tools""... $ac_c" 1>&6
36084 -echo "configure:5456: checking for ${ncn_progname} in $with_build_time_tools" >&5
36085 +echo "configure:5459: checking for ${ncn_progname} in $with_build_time_tools" >&5
36086 if test -x $with_build_time_tools/${ncn_progname}; then
36087 ac_cv_prog_DLLTOOL_FOR_TARGET=$with_build_time_tools/${ncn_progname}
36088 echo "$ac_t""yes" 1>&6
36089 @@ -5469,7 +5472,7 @@
36090 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
36091 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
36092 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
36093 -echo "configure:5473: checking for $ac_word" >&5
36094 +echo "configure:5476: checking for $ac_word" >&5
36095 if eval "test \"`echo '$''{'ac_cv_prog_DLLTOOL_FOR_TARGET'+set}'`\" = set"; then
36096 echo $ac_n "(cached) $ac_c" 1>&6
36097 else
36098 @@ -5500,7 +5503,7 @@
36099 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
36100 set dummy ${ncn_progname}; ac_word=$2
36101 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
36102 -echo "configure:5504: checking for $ac_word" >&5
36103 +echo "configure:5507: checking for $ac_word" >&5
36104 if eval "test \"`echo '$''{'ac_cv_prog_DLLTOOL_FOR_TARGET'+set}'`\" = set"; then
36105 echo $ac_n "(cached) $ac_c" 1>&6
36106 else
36107 @@ -5550,7 +5553,7 @@
36108 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
36109 if test -n "$with_build_time_tools"; then
36110 echo $ac_n "checking for ld in $with_build_time_tools""... $ac_c" 1>&6
36111 -echo "configure:5554: checking for ld in $with_build_time_tools" >&5
36112 +echo "configure:5557: checking for ld in $with_build_time_tools" >&5
36113 if test -x $with_build_time_tools/ld; then
36114 LD_FOR_TARGET=`cd $with_build_time_tools && pwd`/ld
36115 ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
36116 @@ -5568,7 +5571,7 @@
36117 # Extract the first word of "ld", so it can be a program name with args.
36118 set dummy ld; ac_word=$2
36119 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
36120 -echo "configure:5572: checking for $ac_word" >&5
36121 +echo "configure:5575: checking for $ac_word" >&5
36122 if eval "test \"`echo '$''{'ac_cv_path_LD_FOR_TARGET'+set}'`\" = set"; then
36123 echo $ac_n "(cached) $ac_c" 1>&6
36124 else
36125 @@ -5605,7 +5608,7 @@
36126 if test -n "$with_build_time_tools"; then
36127 for ncn_progname in ld; do
36128 echo $ac_n "checking for ${ncn_progname} in $with_build_time_tools""... $ac_c" 1>&6
36129 -echo "configure:5609: checking for ${ncn_progname} in $with_build_time_tools" >&5
36130 +echo "configure:5612: checking for ${ncn_progname} in $with_build_time_tools" >&5
36131 if test -x $with_build_time_tools/${ncn_progname}; then
36132 ac_cv_prog_LD_FOR_TARGET=$with_build_time_tools/${ncn_progname}
36133 echo "$ac_t""yes" 1>&6
36134 @@ -5622,7 +5625,7 @@
36135 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
36136 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
36137 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
36138 -echo "configure:5626: checking for $ac_word" >&5
36139 +echo "configure:5629: checking for $ac_word" >&5
36140 if eval "test \"`echo '$''{'ac_cv_prog_LD_FOR_TARGET'+set}'`\" = set"; then
36141 echo $ac_n "(cached) $ac_c" 1>&6
36142 else
36143 @@ -5653,7 +5656,7 @@
36144 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
36145 set dummy ${ncn_progname}; ac_word=$2
36146 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
36147 -echo "configure:5657: checking for $ac_word" >&5
36148 +echo "configure:5660: checking for $ac_word" >&5
36149 if eval "test \"`echo '$''{'ac_cv_prog_LD_FOR_TARGET'+set}'`\" = set"; then
36150 echo $ac_n "(cached) $ac_c" 1>&6
36151 else
36152 @@ -5703,7 +5706,7 @@
36153 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
36154 if test -n "$with_build_time_tools"; then
36155 echo $ac_n "checking for lipo in $with_build_time_tools""... $ac_c" 1>&6
36156 -echo "configure:5707: checking for lipo in $with_build_time_tools" >&5
36157 +echo "configure:5710: checking for lipo in $with_build_time_tools" >&5
36158 if test -x $with_build_time_tools/lipo; then
36159 LIPO_FOR_TARGET=`cd $with_build_time_tools && pwd`/lipo
36160 ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
36161 @@ -5721,7 +5724,7 @@
36162 # Extract the first word of "lipo", so it can be a program name with args.
36163 set dummy lipo; ac_word=$2
36164 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
36165 -echo "configure:5725: checking for $ac_word" >&5
36166 +echo "configure:5728: checking for $ac_word" >&5
36167 if eval "test \"`echo '$''{'ac_cv_path_LIPO_FOR_TARGET'+set}'`\" = set"; then
36168 echo $ac_n "(cached) $ac_c" 1>&6
36169 else
36170 @@ -5758,7 +5761,7 @@
36171 if test -n "$with_build_time_tools"; then
36172 for ncn_progname in lipo; do
36173 echo $ac_n "checking for ${ncn_progname} in $with_build_time_tools""... $ac_c" 1>&6
36174 -echo "configure:5762: checking for ${ncn_progname} in $with_build_time_tools" >&5
36175 +echo "configure:5765: checking for ${ncn_progname} in $with_build_time_tools" >&5
36176 if test -x $with_build_time_tools/${ncn_progname}; then
36177 ac_cv_prog_LIPO_FOR_TARGET=$with_build_time_tools/${ncn_progname}
36178 echo "$ac_t""yes" 1>&6
36179 @@ -5775,7 +5778,7 @@
36180 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
36181 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
36182 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
36183 -echo "configure:5779: checking for $ac_word" >&5
36184 +echo "configure:5782: checking for $ac_word" >&5
36185 if eval "test \"`echo '$''{'ac_cv_prog_LIPO_FOR_TARGET'+set}'`\" = set"; then
36186 echo $ac_n "(cached) $ac_c" 1>&6
36187 else
36188 @@ -5806,7 +5809,7 @@
36189 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
36190 set dummy ${ncn_progname}; ac_word=$2
36191 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
36192 -echo "configure:5810: checking for $ac_word" >&5
36193 +echo "configure:5813: checking for $ac_word" >&5
36194 if eval "test \"`echo '$''{'ac_cv_prog_LIPO_FOR_TARGET'+set}'`\" = set"; then
36195 echo $ac_n "(cached) $ac_c" 1>&6
36196 else
36197 @@ -5856,7 +5859,7 @@
36198 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
36199 if test -n "$with_build_time_tools"; then
36200 echo $ac_n "checking for nm in $with_build_time_tools""... $ac_c" 1>&6
36201 -echo "configure:5860: checking for nm in $with_build_time_tools" >&5
36202 +echo "configure:5863: checking for nm in $with_build_time_tools" >&5
36203 if test -x $with_build_time_tools/nm; then
36204 NM_FOR_TARGET=`cd $with_build_time_tools && pwd`/nm
36205 ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
36206 @@ -5874,7 +5877,7 @@
36207 # Extract the first word of "nm", so it can be a program name with args.
36208 set dummy nm; ac_word=$2
36209 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
36210 -echo "configure:5878: checking for $ac_word" >&5
36211 +echo "configure:5881: checking for $ac_word" >&5
36212 if eval "test \"`echo '$''{'ac_cv_path_NM_FOR_TARGET'+set}'`\" = set"; then
36213 echo $ac_n "(cached) $ac_c" 1>&6
36214 else
36215 @@ -5911,7 +5914,7 @@
36216 if test -n "$with_build_time_tools"; then
36217 for ncn_progname in nm; do
36218 echo $ac_n "checking for ${ncn_progname} in $with_build_time_tools""... $ac_c" 1>&6
36219 -echo "configure:5915: checking for ${ncn_progname} in $with_build_time_tools" >&5
36220 +echo "configure:5918: checking for ${ncn_progname} in $with_build_time_tools" >&5
36221 if test -x $with_build_time_tools/${ncn_progname}; then
36222 ac_cv_prog_NM_FOR_TARGET=$with_build_time_tools/${ncn_progname}
36223 echo "$ac_t""yes" 1>&6
36224 @@ -5928,7 +5931,7 @@
36225 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
36226 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
36227 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
36228 -echo "configure:5932: checking for $ac_word" >&5
36229 +echo "configure:5935: checking for $ac_word" >&5
36230 if eval "test \"`echo '$''{'ac_cv_prog_NM_FOR_TARGET'+set}'`\" = set"; then
36231 echo $ac_n "(cached) $ac_c" 1>&6
36232 else
36233 @@ -5959,7 +5962,7 @@
36234 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
36235 set dummy ${ncn_progname}; ac_word=$2
36236 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
36237 -echo "configure:5963: checking for $ac_word" >&5
36238 +echo "configure:5966: checking for $ac_word" >&5
36239 if eval "test \"`echo '$''{'ac_cv_prog_NM_FOR_TARGET'+set}'`\" = set"; then
36240 echo $ac_n "(cached) $ac_c" 1>&6
36241 else
36242 @@ -6009,7 +6012,7 @@
36243 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
36244 if test -n "$with_build_time_tools"; then
36245 echo $ac_n "checking for objdump in $with_build_time_tools""... $ac_c" 1>&6
36246 -echo "configure:6013: checking for objdump in $with_build_time_tools" >&5
36247 +echo "configure:6016: checking for objdump in $with_build_time_tools" >&5
36248 if test -x $with_build_time_tools/objdump; then
36249 OBJDUMP_FOR_TARGET=`cd $with_build_time_tools && pwd`/objdump
36250 ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
36251 @@ -6027,7 +6030,7 @@
36252 # Extract the first word of "objdump", so it can be a program name with args.
36253 set dummy objdump; ac_word=$2
36254 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
36255 -echo "configure:6031: checking for $ac_word" >&5
36256 +echo "configure:6034: checking for $ac_word" >&5
36257 if eval "test \"`echo '$''{'ac_cv_path_OBJDUMP_FOR_TARGET'+set}'`\" = set"; then
36258 echo $ac_n "(cached) $ac_c" 1>&6
36259 else
36260 @@ -6064,7 +6067,7 @@
36261 if test -n "$with_build_time_tools"; then
36262 for ncn_progname in objdump; do
36263 echo $ac_n "checking for ${ncn_progname} in $with_build_time_tools""... $ac_c" 1>&6
36264 -echo "configure:6068: checking for ${ncn_progname} in $with_build_time_tools" >&5
36265 +echo "configure:6071: checking for ${ncn_progname} in $with_build_time_tools" >&5
36266 if test -x $with_build_time_tools/${ncn_progname}; then
36267 ac_cv_prog_OBJDUMP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
36268 echo "$ac_t""yes" 1>&6
36269 @@ -6081,7 +6084,7 @@
36270 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
36271 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
36272 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
36273 -echo "configure:6085: checking for $ac_word" >&5
36274 +echo "configure:6088: checking for $ac_word" >&5
36275 if eval "test \"`echo '$''{'ac_cv_prog_OBJDUMP_FOR_TARGET'+set}'`\" = set"; then
36276 echo $ac_n "(cached) $ac_c" 1>&6
36277 else
36278 @@ -6112,7 +6115,7 @@
36279 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
36280 set dummy ${ncn_progname}; ac_word=$2
36281 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
36282 -echo "configure:6116: checking for $ac_word" >&5
36283 +echo "configure:6119: checking for $ac_word" >&5
36284 if eval "test \"`echo '$''{'ac_cv_prog_OBJDUMP_FOR_TARGET'+set}'`\" = set"; then
36285 echo $ac_n "(cached) $ac_c" 1>&6
36286 else
36287 @@ -6162,7 +6165,7 @@
36288 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
36289 if test -n "$with_build_time_tools"; then
36290 echo $ac_n "checking for ranlib in $with_build_time_tools""... $ac_c" 1>&6
36291 -echo "configure:6166: checking for ranlib in $with_build_time_tools" >&5
36292 +echo "configure:6169: checking for ranlib in $with_build_time_tools" >&5
36293 if test -x $with_build_time_tools/ranlib; then
36294 RANLIB_FOR_TARGET=`cd $with_build_time_tools && pwd`/ranlib
36295 ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
36296 @@ -6180,7 +6183,7 @@
36297 # Extract the first word of "ranlib", so it can be a program name with args.
36298 set dummy ranlib; ac_word=$2
36299 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
36300 -echo "configure:6184: checking for $ac_word" >&5
36301 +echo "configure:6187: checking for $ac_word" >&5
36302 if eval "test \"`echo '$''{'ac_cv_path_RANLIB_FOR_TARGET'+set}'`\" = set"; then
36303 echo $ac_n "(cached) $ac_c" 1>&6
36304 else
36305 @@ -6217,7 +6220,7 @@
36306 if test -n "$with_build_time_tools"; then
36307 for ncn_progname in ranlib; do
36308 echo $ac_n "checking for ${ncn_progname} in $with_build_time_tools""... $ac_c" 1>&6
36309 -echo "configure:6221: checking for ${ncn_progname} in $with_build_time_tools" >&5
36310 +echo "configure:6224: checking for ${ncn_progname} in $with_build_time_tools" >&5
36311 if test -x $with_build_time_tools/${ncn_progname}; then
36312 ac_cv_prog_RANLIB_FOR_TARGET=$with_build_time_tools/${ncn_progname}
36313 echo "$ac_t""yes" 1>&6
36314 @@ -6234,7 +6237,7 @@
36315 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
36316 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
36317 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
36318 -echo "configure:6238: checking for $ac_word" >&5
36319 +echo "configure:6241: checking for $ac_word" >&5
36320 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB_FOR_TARGET'+set}'`\" = set"; then
36321 echo $ac_n "(cached) $ac_c" 1>&6
36322 else
36323 @@ -6265,7 +6268,7 @@
36324 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
36325 set dummy ${ncn_progname}; ac_word=$2
36326 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
36327 -echo "configure:6269: checking for $ac_word" >&5
36328 +echo "configure:6272: checking for $ac_word" >&5
36329 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB_FOR_TARGET'+set}'`\" = set"; then
36330 echo $ac_n "(cached) $ac_c" 1>&6
36331 else
36332 @@ -6315,7 +6318,7 @@
36333 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
36334 if test -n "$with_build_time_tools"; then
36335 echo $ac_n "checking for strip in $with_build_time_tools""... $ac_c" 1>&6
36336 -echo "configure:6319: checking for strip in $with_build_time_tools" >&5
36337 +echo "configure:6322: checking for strip in $with_build_time_tools" >&5
36338 if test -x $with_build_time_tools/strip; then
36339 STRIP_FOR_TARGET=`cd $with_build_time_tools && pwd`/strip
36340 ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
36341 @@ -6333,7 +6336,7 @@
36342 # Extract the first word of "strip", so it can be a program name with args.
36343 set dummy strip; ac_word=$2
36344 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
36345 -echo "configure:6337: checking for $ac_word" >&5
36346 +echo "configure:6340: checking for $ac_word" >&5
36347 if eval "test \"`echo '$''{'ac_cv_path_STRIP_FOR_TARGET'+set}'`\" = set"; then
36348 echo $ac_n "(cached) $ac_c" 1>&6
36349 else
36350 @@ -6370,7 +6373,7 @@
36351 if test -n "$with_build_time_tools"; then
36352 for ncn_progname in strip; do
36353 echo $ac_n "checking for ${ncn_progname} in $with_build_time_tools""... $ac_c" 1>&6
36354 -echo "configure:6374: checking for ${ncn_progname} in $with_build_time_tools" >&5
36355 +echo "configure:6377: checking for ${ncn_progname} in $with_build_time_tools" >&5
36356 if test -x $with_build_time_tools/${ncn_progname}; then
36357 ac_cv_prog_STRIP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
36358 echo "$ac_t""yes" 1>&6
36359 @@ -6387,7 +6390,7 @@
36360 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
36361 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
36362 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
36363 -echo "configure:6391: checking for $ac_word" >&5
36364 +echo "configure:6394: checking for $ac_word" >&5
36365 if eval "test \"`echo '$''{'ac_cv_prog_STRIP_FOR_TARGET'+set}'`\" = set"; then
36366 echo $ac_n "(cached) $ac_c" 1>&6
36367 else
36368 @@ -6418,7 +6421,7 @@
36369 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
36370 set dummy ${ncn_progname}; ac_word=$2
36371 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
36372 -echo "configure:6422: checking for $ac_word" >&5
36373 +echo "configure:6425: checking for $ac_word" >&5
36374 if eval "test \"`echo '$''{'ac_cv_prog_STRIP_FOR_TARGET'+set}'`\" = set"; then
36375 echo $ac_n "(cached) $ac_c" 1>&6
36376 else
36377 @@ -6468,7 +6471,7 @@
36378 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
36379 if test -n "$with_build_time_tools"; then
36380 echo $ac_n "checking for windres in $with_build_time_tools""... $ac_c" 1>&6
36381 -echo "configure:6472: checking for windres in $with_build_time_tools" >&5
36382 +echo "configure:6475: checking for windres in $with_build_time_tools" >&5
36383 if test -x $with_build_time_tools/windres; then
36384 WINDRES_FOR_TARGET=`cd $with_build_time_tools && pwd`/windres
36385 ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
36386 @@ -6486,7 +6489,7 @@
36387 # Extract the first word of "windres", so it can be a program name with args.
36388 set dummy windres; ac_word=$2
36389 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
36390 -echo "configure:6490: checking for $ac_word" >&5
36391 +echo "configure:6493: checking for $ac_word" >&5
36392 if eval "test \"`echo '$''{'ac_cv_path_WINDRES_FOR_TARGET'+set}'`\" = set"; then
36393 echo $ac_n "(cached) $ac_c" 1>&6
36394 else
36395 @@ -6523,7 +6526,7 @@
36396 if test -n "$with_build_time_tools"; then
36397 for ncn_progname in windres; do
36398 echo $ac_n "checking for ${ncn_progname} in $with_build_time_tools""... $ac_c" 1>&6
36399 -echo "configure:6527: checking for ${ncn_progname} in $with_build_time_tools" >&5
36400 +echo "configure:6530: checking for ${ncn_progname} in $with_build_time_tools" >&5
36401 if test -x $with_build_time_tools/${ncn_progname}; then
36402 ac_cv_prog_WINDRES_FOR_TARGET=$with_build_time_tools/${ncn_progname}
36403 echo "$ac_t""yes" 1>&6
36404 @@ -6540,7 +6543,7 @@
36405 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
36406 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
36407 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
36408 -echo "configure:6544: checking for $ac_word" >&5
36409 +echo "configure:6547: checking for $ac_word" >&5
36410 if eval "test \"`echo '$''{'ac_cv_prog_WINDRES_FOR_TARGET'+set}'`\" = set"; then
36411 echo $ac_n "(cached) $ac_c" 1>&6
36412 else
36413 @@ -6571,7 +6574,7 @@
36414 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
36415 set dummy ${ncn_progname}; ac_word=$2
36416 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
36417 -echo "configure:6575: checking for $ac_word" >&5
36418 +echo "configure:6578: checking for $ac_word" >&5
36419 if eval "test \"`echo '$''{'ac_cv_prog_WINDRES_FOR_TARGET'+set}'`\" = set"; then
36420 echo $ac_n "(cached) $ac_c" 1>&6
36421 else
36422 @@ -6619,7 +6622,7 @@
36423 RAW_CXX_FOR_TARGET="$CXX_FOR_TARGET"
36424
36425 echo $ac_n "checking where to find the target ar""... $ac_c" 1>&6
36426 -echo "configure:6623: checking where to find the target ar" >&5
36427 +echo "configure:6626: checking where to find the target ar" >&5
36428 if test "x${build}" != "x${host}" ; then
36429 if expr "x$AR_FOR_TARGET" : "x/" > /dev/null; then
36430 # We already found the complete path
36431 @@ -6652,7 +6655,7 @@
36432 fi
36433 fi
36434 echo $ac_n "checking where to find the target as""... $ac_c" 1>&6
36435 -echo "configure:6656: checking where to find the target as" >&5
36436 +echo "configure:6659: checking where to find the target as" >&5
36437 if test "x${build}" != "x${host}" ; then
36438 if expr "x$AS_FOR_TARGET" : "x/" > /dev/null; then
36439 # We already found the complete path
36440 @@ -6685,7 +6688,7 @@
36441 fi
36442 fi
36443 echo $ac_n "checking where to find the target cc""... $ac_c" 1>&6
36444 -echo "configure:6689: checking where to find the target cc" >&5
36445 +echo "configure:6692: checking where to find the target cc" >&5
36446 if test "x${build}" != "x${host}" ; then
36447 if expr "x$CC_FOR_TARGET" : "x/" > /dev/null; then
36448 # We already found the complete path
36449 @@ -6718,7 +6721,7 @@
36450 fi
36451 fi
36452 echo $ac_n "checking where to find the target c++""... $ac_c" 1>&6
36453 -echo "configure:6722: checking where to find the target c++" >&5
36454 +echo "configure:6725: checking where to find the target c++" >&5
36455 if test "x${build}" != "x${host}" ; then
36456 if expr "x$CXX_FOR_TARGET" : "x/" > /dev/null; then
36457 # We already found the complete path
36458 @@ -6754,7 +6757,7 @@
36459 fi
36460 fi
36461 echo $ac_n "checking where to find the target c++ for libstdc++""... $ac_c" 1>&6
36462 -echo "configure:6758: checking where to find the target c++ for libstdc++" >&5
36463 +echo "configure:6761: checking where to find the target c++ for libstdc++" >&5
36464 if test "x${build}" != "x${host}" ; then
36465 if expr "x$RAW_CXX_FOR_TARGET" : "x/" > /dev/null; then
36466 # We already found the complete path
36467 @@ -6790,7 +6793,7 @@
36468 fi
36469 fi
36470 echo $ac_n "checking where to find the target dlltool""... $ac_c" 1>&6
36471 -echo "configure:6794: checking where to find the target dlltool" >&5
36472 +echo "configure:6797: checking where to find the target dlltool" >&5
36473 if test "x${build}" != "x${host}" ; then
36474 if expr "x$DLLTOOL_FOR_TARGET" : "x/" > /dev/null; then
36475 # We already found the complete path
36476 @@ -6823,7 +6826,7 @@
36477 fi
36478 fi
36479 echo $ac_n "checking where to find the target gcc""... $ac_c" 1>&6
36480 -echo "configure:6827: checking where to find the target gcc" >&5
36481 +echo "configure:6830: checking where to find the target gcc" >&5
36482 if test "x${build}" != "x${host}" ; then
36483 if expr "x$GCC_FOR_TARGET" : "x/" > /dev/null; then
36484 # We already found the complete path
36485 @@ -6856,7 +6859,7 @@
36486 fi
36487 fi
36488 echo $ac_n "checking where to find the target gcj""... $ac_c" 1>&6
36489 -echo "configure:6860: checking where to find the target gcj" >&5
36490 +echo "configure:6863: checking where to find the target gcj" >&5
36491 if test "x${build}" != "x${host}" ; then
36492 if expr "x$GCJ_FOR_TARGET" : "x/" > /dev/null; then
36493 # We already found the complete path
36494 @@ -6892,7 +6895,7 @@
36495 fi
36496 fi
36497 echo $ac_n "checking where to find the target gfortran""... $ac_c" 1>&6
36498 -echo "configure:6896: checking where to find the target gfortran" >&5
36499 +echo "configure:6899: checking where to find the target gfortran" >&5
36500 if test "x${build}" != "x${host}" ; then
36501 if expr "x$GFORTRAN_FOR_TARGET" : "x/" > /dev/null; then
36502 # We already found the complete path
36503 @@ -6928,7 +6931,7 @@
36504 fi
36505 fi
36506 echo $ac_n "checking where to find the target ld""... $ac_c" 1>&6
36507 -echo "configure:6932: checking where to find the target ld" >&5
36508 +echo "configure:6935: checking where to find the target ld" >&5
36509 if test "x${build}" != "x${host}" ; then
36510 if expr "x$LD_FOR_TARGET" : "x/" > /dev/null; then
36511 # We already found the complete path
36512 @@ -6961,7 +6964,7 @@
36513 fi
36514 fi
36515 echo $ac_n "checking where to find the target lipo""... $ac_c" 1>&6
36516 -echo "configure:6965: checking where to find the target lipo" >&5
36517 +echo "configure:6968: checking where to find the target lipo" >&5
36518 if test "x${build}" != "x${host}" ; then
36519 if expr "x$LIPO_FOR_TARGET" : "x/" > /dev/null; then
36520 # We already found the complete path
36521 @@ -6984,7 +6987,7 @@
36522 fi
36523 fi
36524 echo $ac_n "checking where to find the target nm""... $ac_c" 1>&6
36525 -echo "configure:6988: checking where to find the target nm" >&5
36526 +echo "configure:6991: checking where to find the target nm" >&5
36527 if test "x${build}" != "x${host}" ; then
36528 if expr "x$NM_FOR_TARGET" : "x/" > /dev/null; then
36529 # We already found the complete path
36530 @@ -7017,7 +7020,7 @@
36531 fi
36532 fi
36533 echo $ac_n "checking where to find the target objdump""... $ac_c" 1>&6
36534 -echo "configure:7021: checking where to find the target objdump" >&5
36535 +echo "configure:7024: checking where to find the target objdump" >&5
36536 if test "x${build}" != "x${host}" ; then
36537 if expr "x$OBJDUMP_FOR_TARGET" : "x/" > /dev/null; then
36538 # We already found the complete path
36539 @@ -7050,7 +7053,7 @@
36540 fi
36541 fi
36542 echo $ac_n "checking where to find the target ranlib""... $ac_c" 1>&6
36543 -echo "configure:7054: checking where to find the target ranlib" >&5
36544 +echo "configure:7057: checking where to find the target ranlib" >&5
36545 if test "x${build}" != "x${host}" ; then
36546 if expr "x$RANLIB_FOR_TARGET" : "x/" > /dev/null; then
36547 # We already found the complete path
36548 @@ -7083,7 +7086,7 @@
36549 fi
36550 fi
36551 echo $ac_n "checking where to find the target strip""... $ac_c" 1>&6
36552 -echo "configure:7087: checking where to find the target strip" >&5
36553 +echo "configure:7090: checking where to find the target strip" >&5
36554 if test "x${build}" != "x${host}" ; then
36555 if expr "x$STRIP_FOR_TARGET" : "x/" > /dev/null; then
36556 # We already found the complete path
36557 @@ -7116,7 +7119,7 @@
36558 fi
36559 fi
36560 echo $ac_n "checking where to find the target windres""... $ac_c" 1>&6
36561 -echo "configure:7120: checking where to find the target windres" >&5
36562 +echo "configure:7123: checking where to find the target windres" >&5
36563 if test "x${build}" != "x${host}" ; then
36564 if expr "x$WINDRES_FOR_TARGET" : "x/" > /dev/null; then
36565 # We already found the complete path
36566 @@ -7177,7 +7180,7 @@
36567
36568
36569 echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6
36570 -echo "configure:7181: checking whether to enable maintainer-specific portions of Makefiles" >&5
36571 +echo "configure:7184: checking whether to enable maintainer-specific portions of Makefiles" >&5
36572 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
36573 if test "${enable_maintainer_mode+set}" = set; then
36574 enableval="$enable_maintainer_mode"
36575 @@ -7334,34 +7337,15 @@
36576 # Transform confdefs.h into DEFS.
36577 # Protect against shell expansion while executing Makefile rules.
36578 # Protect against Makefile macro expansion.
36579 -#
36580 -# If the first sed substitution is executed (which looks for macros that
36581 -# take arguments), then we branch to the quote section. Otherwise,
36582 -# look for a macro that doesn't take arguments.
36583 -cat >confdef2opt.sed <<\_ACEOF
36584 -t clear
36585 -: clear
36586 -s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
36587 -t quote
36588 -s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
36589 -t quote
36590 -d
36591 -: quote
36592 -s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
36593 -s,\[,\\&,g
36594 -s,\],\\&,g
36595 -s,\$,$$,g
36596 -p
36597 -_ACEOF
36598 -# We use echo to avoid assuming a particular line-breaking character.
36599 -# The extra dot is to prevent the shell from consuming trailing
36600 -# line-breaks from the sub-command output. A line-break within
36601 -# single-quotes doesn't work because, if this script is created in a
36602 -# platform that uses two characters for line-breaks (e.g., DOS), tr
36603 -# would break.
36604 -ac_LF_and_DOT=`echo; echo .`
36605 -DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
36606 -rm -f confdef2opt.sed
36607 +cat > conftest.defs <<\EOF
36608 +s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%-D\1=\2%g
36609 +s%[ `~#$^&*(){}\\|;'"<>?]%\\&%g
36610 +s%\[%\\&%g
36611 +s%\]%\\&%g
36612 +s%\$%$$%g
36613 +EOF
36614 +DEFS=`sed -f conftest.defs confdefs.h | tr '\012' ' '`
36615 +rm -f conftest.defs
36616
36617
36618 # Without the "./", some shells look in PATH for config.status.
36619 Index: binutils-2.17/configure.in
36620 ===================================================================
36621 --- binutils-2.17.orig/configure.in 2007-06-28 09:19:35.593825368 +0200
36622 +++ binutils-2.17/configure.in 2007-06-28 09:19:36.611670632 +0200
36623 @@ -269,6 +269,9 @@
36624 # exist yet.
36625
36626 case "${host}" in
36627 + avr32*-*-*)
36628 + noconfigdirs="$noconfigdirs readline gdb"
36629 + ;;
36630 hppa*64*-*-*)
36631 noconfigdirs="$noconfigdirs byacc"
36632 ;;
36633 Index: binutils-2.17/gas/as.c
36634 ===================================================================
36635 --- binutils-2.17.orig/gas/as.c 2007-06-28 09:19:34.271026464 +0200
36636 +++ binutils-2.17/gas/as.c 2007-06-28 09:19:36.612670480 +0200
36637 @@ -439,10 +439,10 @@
36638 the end of the preceeding line so that it is simpler to
36639 selectively add and remove lines from this list. */
36640 {"alternate", no_argument, NULL, OPTION_ALTERNATE}
36641 - /* The entry for "a" is here to prevent getopt_long_only() from
36642 - considering that -a is an abbreviation for --alternate. This is
36643 - necessary because -a=<FILE> is a valid switch but getopt would
36644 - normally reject it since --alternate does not take an argument. */
36645 + /* The next two entries are here to prevent getopt_long_only() from
36646 + considering that -a or -al is an abbreviation for --alternate.
36647 + This is necessary because -a=<FILE> is a valid switch but getopt
36648 + would normally reject it since --alternate does not take an argument. */
36649 ,{"a", optional_argument, NULL, 'a'}
36650 /* Handle -al=<FILE>. */
36651 ,{"al", optional_argument, NULL, OPTION_AL}
36652 @@ -795,8 +795,15 @@
36653 case 'a':
36654 if (optarg)
36655 {
36656 - if (optarg != old_argv[optind] && optarg[-1] == '=')
36657 - --optarg;
36658 + /* If optarg is part of the -a switch and not a separate argument
36659 + in its own right, then scan backwards to the just after the -a.
36660 + This means skipping over both '=' and 'l' which might have been
36661 + taken to be part of the -a switch itself. */
36662 + if (optarg != old_argv[optind])
36663 + {
36664 + while (optarg[-1] == '=' || optarg[-1] == 'l')
36665 + --optarg;
36666 + }
36667
36668 if (md_parse_option (optc, optarg) != 0)
36669 break;
36670 @@ -1189,7 +1196,7 @@
36671 keep_it = 0;
36672
36673 if (!keep_it)
36674 - unlink_if_ordinary (out_file_name);
36675 + unlink (out_file_name);
36676
36677 input_scrub_end ();
36678
36679 Index: binutils-2.17/gas/config/bfin-aux.h
36680 ===================================================================
36681 --- binutils-2.17.orig/gas/config/bfin-aux.h 2007-06-28 09:19:34.276025704 +0200
36682 +++ binutils-2.17/gas/config/bfin-aux.h 2007-06-28 09:19:36.612670480 +0200
36683 @@ -1,151 +1,151 @@
36684 -/* bfin-aux.h ADI Blackfin Header file for gas
36685 - Copyright 2005
36686 - Free Software Foundation, Inc.
36687 -
36688 - This file is part of GAS, the GNU Assembler.
36689 -
36690 - GAS is free software; you can redistribute it and/or modify
36691 - it under the terms of the GNU General Public License as published by
36692 - the Free Software Foundation; either version 2, or (at your option)
36693 - any later version.
36694 -
36695 - GAS is distributed in the hope that it will be useful,
36696 - but WITHOUT ANY WARRANTY; without even the implied warranty of
36697 - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
36698 - GNU General Public License for more details.
36699 -
36700 - You should have received a copy of the GNU General Public License
36701 - along with GAS; see the file COPYING. If not, write to the Free
36702 - Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA
36703 - 02110-1301, USA. */
36704 -
36705 -#include "bfin-defs.h"
36706 -
36707 -#define REG_T Register *
36708 -
36709 -INSTR_T
36710 -bfin_gen_dsp32mac (int op1, int mm, int mmod, int w1, int p,
36711 - int h01, int h11, int h00, int h10,
36712 - int op0, REG_T dst, REG_T src0, REG_T src1, int w0);
36713 -
36714 -INSTR_T
36715 -bfin_gen_dsp32mult (int op1, int mm, int mmod, int w1, int p,
36716 - int h01, int h11, int h00, int h10,
36717 - int op0, REG_T dst, REG_T src0, REG_T src1, int w0);
36718 -
36719 -INSTR_T
36720 -bfin_gen_dsp32alu (int HL, int aopcde, int aop, int s, int x,
36721 - REG_T dst0, REG_T dst1, REG_T src0, REG_T src1);
36722 -
36723 -INSTR_T
36724 -bfin_gen_dsp32shift (int sopcde, REG_T dst0, REG_T src0, REG_T src1,
36725 - int sop, int hls);
36726 -
36727 -INSTR_T
36728 -bfin_gen_dsp32shiftimm (int sopcde, REG_T dst0, int immag, REG_T src1,
36729 - int sop, int hls);
36730 -
36731 -INSTR_T
36732 -bfin_gen_ldimmhalf (REG_T reg, int h, int s, int z, Expr_Node *hword,
36733 - int reloc);
36734 -
36735 -INSTR_T
36736 -bfin_gen_ldstidxi (REG_T ptr, REG_T reg, int w, int sz, int z,
36737 - Expr_Node *offset);
36738 -
36739 -INSTR_T
36740 -bfin_gen_ldst (REG_T ptr, REG_T reg, int aop, int sz, int z, int w);
36741 -
36742 -INSTR_T
36743 -bfin_gen_ldstii (REG_T ptr, REG_T reg, Expr_Node *offset, int w, int op);
36744 -
36745 -INSTR_T
36746 -bfin_gen_ldstiifp (REG_T reg, Expr_Node *offset, int w);
36747 -
36748 -INSTR_T
36749 -bfin_gen_ldstpmod (REG_T ptr, REG_T reg, int aop, int w, REG_T idx);
36750 -
36751 -INSTR_T
36752 -bfin_gen_dspldst (REG_T i, REG_T reg, int aop, int w, int m);
36753 -
36754 -INSTR_T
36755 -bfin_gen_alu2op (REG_T dst, REG_T src, int opc);
36756 -
36757 -INSTR_T
36758 -bfin_gen_compi2opd (REG_T dst, int src, int op);
36759 -
36760 -INSTR_T
36761 -bfin_gen_compi2opp (REG_T dst, int src, int op);
36762 -
36763 -INSTR_T
36764 -bfin_gen_dagmodik (REG_T i, int op);
36765 -
36766 -INSTR_T
36767 -bfin_gen_dagmodim (REG_T i, REG_T m, int op, int br);
36768 -
36769 -INSTR_T
36770 -bfin_gen_ptr2op (REG_T dst, REG_T src, int opc);
36771 -
36772 -INSTR_T
36773 -bfin_gen_logi2op (int dst, int src, int opc);
36774 -
36775 -INSTR_T
36776 -bfin_gen_comp3op (REG_T src0, REG_T src1, REG_T dst, int opc);
36777 -
36778 -INSTR_T
36779 -bfin_gen_ccmv (REG_T src, REG_T dst, int t);
36780 -
36781 -INSTR_T
36782 -bfin_gen_ccflag (REG_T x, int y, int opc, int i, int g);
36783 -
36784 -INSTR_T
36785 -bfin_gen_cc2stat (int cbit, int op, int d);
36786 -
36787 -INSTR_T
36788 -bfin_gen_regmv (REG_T src, REG_T dst);
36789 -
36790 -INSTR_T
36791 -bfin_gen_cc2dreg (int op, REG_T reg);
36792 -
36793 -INSTR_T
36794 -bfin_gen_brcc (int t, int b, Expr_Node *offset);
36795 -
36796 -INSTR_T
36797 -bfin_gen_ujump (Expr_Node *offset);
36798 -
36799 -INSTR_T
36800 -bfin_gen_cactrl (REG_T reg, int a, int op);
36801 -
36802 -INSTR_T
36803 -bfin_gen_progctrl (int prgfunc, int poprnd);
36804 -
36805 -INSTR_T
36806 -bfin_gen_loopsetup (Expr_Node *soffset, REG_T c, int rop,
36807 - Expr_Node *eoffset, REG_T reg);
36808 -
36809 -INSTR_T
36810 -bfin_gen_loop (Expr_Node *expr, REG_T reg, int rop, REG_T preg);
36811 -
36812 -INSTR_T
36813 -bfin_gen_pushpopmultiple (int dr, int pr, int d, int p, int w);
36814 -
36815 -INSTR_T
36816 -bfin_gen_pushpopreg (REG_T reg, int w);
36817 -
36818 -INSTR_T
36819 -bfin_gen_calla (Expr_Node *addr, int s);
36820 -
36821 -INSTR_T
36822 -bfin_gen_linkage (int r, int framesize);
36823 -
36824 -INSTR_T
36825 -bfin_gen_pseudodbg (int fn, int reg, int grp);
36826 -
36827 -INSTR_T
36828 -bfin_gen_pseudodbg_assert (int dbgop, REG_T regtest, int expected);
36829 -
36830 -bfd_boolean
36831 -bfin_resource_conflict (INSTR_T dsp32, INSTR_T dsp16_grp1, INSTR_T dsp16_grp2);
36832 -
36833 -INSTR_T
36834 -bfin_gen_multi_instr (INSTR_T dsp32, INSTR_T dsp16_grp1, INSTR_T dsp16_grp2);
36835 +/* bfin-aux.h ADI Blackfin Header file for gas
36836 + Copyright 2005
36837 + Free Software Foundation, Inc.
36838 +
36839 + This file is part of GAS, the GNU Assembler.
36840 +
36841 + GAS is free software; you can redistribute it and/or modify
36842 + it under the terms of the GNU General Public License as published by
36843 + the Free Software Foundation; either version 2, or (at your option)
36844 + any later version.
36845 +
36846 + GAS is distributed in the hope that it will be useful,
36847 + but WITHOUT ANY WARRANTY; without even the implied warranty of
36848 + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
36849 + GNU General Public License for more details.
36850 +
36851 + You should have received a copy of the GNU General Public License
36852 + along with GAS; see the file COPYING. If not, write to the Free
36853 + Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA
36854 + 02110-1301, USA. */
36855 +
36856 +#include "bfin-defs.h"
36857 +
36858 +#define REG_T Register *
36859 +
36860 +INSTR_T
36861 +bfin_gen_dsp32mac (int op1, int mm, int mmod, int w1, int p,
36862 + int h01, int h11, int h00, int h10,
36863 + int op0, REG_T dst, REG_T src0, REG_T src1, int w0);
36864 +
36865 +INSTR_T
36866 +bfin_gen_dsp32mult (int op1, int mm, int mmod, int w1, int p,
36867 + int h01, int h11, int h00, int h10,
36868 + int op0, REG_T dst, REG_T src0, REG_T src1, int w0);
36869 +
36870 +INSTR_T
36871 +bfin_gen_dsp32alu (int HL, int aopcde, int aop, int s, int x,
36872 + REG_T dst0, REG_T dst1, REG_T src0, REG_T src1);
36873 +
36874 +INSTR_T
36875 +bfin_gen_dsp32shift (int sopcde, REG_T dst0, REG_T src0, REG_T src1,
36876 + int sop, int hls);
36877 +
36878 +INSTR_T
36879 +bfin_gen_dsp32shiftimm (int sopcde, REG_T dst0, int immag, REG_T src1,
36880 + int sop, int hls);
36881 +
36882 +INSTR_T
36883 +bfin_gen_ldimmhalf (REG_T reg, int h, int s, int z, Expr_Node *hword,
36884 + int reloc);
36885 +
36886 +INSTR_T
36887 +bfin_gen_ldstidxi (REG_T ptr, REG_T reg, int w, int sz, int z,
36888 + Expr_Node *offset);
36889 +
36890 +INSTR_T
36891 +bfin_gen_ldst (REG_T ptr, REG_T reg, int aop, int sz, int z, int w);
36892 +
36893 +INSTR_T
36894 +bfin_gen_ldstii (REG_T ptr, REG_T reg, Expr_Node *offset, int w, int op);
36895 +
36896 +INSTR_T
36897 +bfin_gen_ldstiifp (REG_T reg, Expr_Node *offset, int w);
36898 +
36899 +INSTR_T
36900 +bfin_gen_ldstpmod (REG_T ptr, REG_T reg, int aop, int w, REG_T idx);
36901 +
36902 +INSTR_T
36903 +bfin_gen_dspldst (REG_T i, REG_T reg, int aop, int w, int m);
36904 +
36905 +INSTR_T
36906 +bfin_gen_alu2op (REG_T dst, REG_T src, int opc);
36907 +
36908 +INSTR_T
36909 +bfin_gen_compi2opd (REG_T dst, int src, int op);
36910 +
36911 +INSTR_T
36912 +bfin_gen_compi2opp (REG_T dst, int src, int op);
36913 +
36914 +INSTR_T
36915 +bfin_gen_dagmodik (REG_T i, int op);
36916 +
36917 +INSTR_T
36918 +bfin_gen_dagmodim (REG_T i, REG_T m, int op, int br);
36919 +
36920 +INSTR_T
36921 +bfin_gen_ptr2op (REG_T dst, REG_T src, int opc);
36922 +
36923 +INSTR_T
36924 +bfin_gen_logi2op (int dst, int src, int opc);
36925 +
36926 +INSTR_T
36927 +bfin_gen_comp3op (REG_T src0, REG_T src1, REG_T dst, int opc);
36928 +
36929 +INSTR_T
36930 +bfin_gen_ccmv (REG_T src, REG_T dst, int t);
36931 +
36932 +INSTR_T
36933 +bfin_gen_ccflag (REG_T x, int y, int opc, int i, int g);
36934 +
36935 +INSTR_T
36936 +bfin_gen_cc2stat (int cbit, int op, int d);
36937 +
36938 +INSTR_T
36939 +bfin_gen_regmv (REG_T src, REG_T dst);
36940 +
36941 +INSTR_T
36942 +bfin_gen_cc2dreg (int op, REG_T reg);
36943 +
36944 +INSTR_T
36945 +bfin_gen_brcc (int t, int b, Expr_Node *offset);
36946 +
36947 +INSTR_T
36948 +bfin_gen_ujump (Expr_Node *offset);
36949 +
36950 +INSTR_T
36951 +bfin_gen_cactrl (REG_T reg, int a, int op);
36952 +
36953 +INSTR_T
36954 +bfin_gen_progctrl (int prgfunc, int poprnd);
36955 +
36956 +INSTR_T
36957 +bfin_gen_loopsetup (Expr_Node *soffset, REG_T c, int rop,
36958 + Expr_Node *eoffset, REG_T reg);
36959 +
36960 +INSTR_T
36961 +bfin_gen_loop (Expr_Node *expr, REG_T reg, int rop, REG_T preg);
36962 +
36963 +INSTR_T
36964 +bfin_gen_pushpopmultiple (int dr, int pr, int d, int p, int w);
36965 +
36966 +INSTR_T
36967 +bfin_gen_pushpopreg (REG_T reg, int w);
36968 +
36969 +INSTR_T
36970 +bfin_gen_calla (Expr_Node *addr, int s);
36971 +
36972 +INSTR_T
36973 +bfin_gen_linkage (int r, int framesize);
36974 +
36975 +INSTR_T
36976 +bfin_gen_pseudodbg (int fn, int reg, int grp);
36977 +
36978 +INSTR_T
36979 +bfin_gen_pseudodbg_assert (int dbgop, REG_T regtest, int expected);
36980 +
36981 +bfd_boolean
36982 +bfin_resource_conflict (INSTR_T dsp32, INSTR_T dsp16_grp1, INSTR_T dsp16_grp2);
36983 +
36984 +INSTR_T
36985 +bfin_gen_multi_instr (INSTR_T dsp32, INSTR_T dsp16_grp1, INSTR_T dsp16_grp2);
36986 Index: binutils-2.17/gas/config/tc-avr32.c
36987 ===================================================================
36988 --- /dev/null 1970-01-01 00:00:00.000000000 +0000
36989 +++ binutils-2.17/gas/config/tc-avr32.c 2007-06-28 09:19:36.616669872 +0200
36990 @@ -0,0 +1,4714 @@
36991 +/* Assembler implementation for AVR32.
36992 + Copyright 2003-2006 Atmel Corporation.
36993 +
36994 + Written by Haavard Skinnemoen, Atmel Norway, <hskinnemoen@atmel.com>
36995 +
36996 + This file is part of GAS, the GNU Assembler.
36997 +
36998 + GAS is free software; you can redistribute it and/or modify it
36999 + under the terms of the GNU General Public License as published by
37000 + the Free Software Foundation; either version 2, or (at your option)
37001 + any later version.
37002 +
37003 + GAS is distributed in the hope that it will be useful, but WITHOUT
37004 + ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
37005 + or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
37006 + License for more details.
37007 +
37008 + You should have received a copy of the GNU General Public License
37009 + along with GAS; see the file COPYING. If not, write to the Free
37010 + Software Foundation, 59 Temple Place - Suite 330, Boston, MA
37011 + 02111-1307, USA. */
37012 +
37013 +#include <stdio.h>
37014 +#include "as.h"
37015 +#include "safe-ctype.h"
37016 +#include "subsegs.h"
37017 +#include "symcat.h"
37018 +#include "opcodes/avr32-opc.h"
37019 +#include "opcodes/avr32-asm.h"
37020 +#include "elf/avr32.h"
37021 +#include "dwarf2dbg.h"
37022 +
37023 +#define xDEBUG
37024 +#define xOPC_CONSISTENCY_CHECK
37025 +
37026 +#ifdef DEBUG
37027 +# define pr_debug(fmt, args...) fprintf(stderr, fmt, ##args)
37028 +#else
37029 +# define pr_debug(fmt, args...)
37030 +#endif
37031 +
37032 +/* 3 MSB of instruction word indicate group. Group 7 -> extended */
37033 +#define AVR32_COMPACT_P(opcode) ((opcode[0] & 0xe0) != 0xe0)
37034 +
37035 +#define streq(a, b) (strcmp(a, b) == 0)
37036 +#define skip_whitespace(str) do { while(*(str) == ' ') ++(str); } while(0)
37037 +
37038 +/* Flags given on the command line */
37039 +static int avr32_pic = FALSE;
37040 +int linkrelax = FALSE;
37041 +int avr32_iarcompat = FALSE;
37042 +
37043 +/* This array holds the chars that always start a comment. */
37044 +const char comment_chars[] = "#";
37045 +
37046 +/* This array holds the chars that only start a comment at the
37047 + beginning of a line. We must include '#' here because the compiler
37048 + may produce #APP and #NO_APP in its output. */
37049 +const char line_comment_chars[] = "#";
37050 +
37051 +/* These may be used instead of newline (same as ';' in C). */
37052 +const char line_separator_chars[] = ";";
37053 +
37054 +/* Chars that can be used to separate mantissa from exponent in
37055 + floating point numbers. */
37056 +const char EXP_CHARS[] = "eE";
37057 +
37058 +/* Chars that mean this number is a floating point constant. */
37059 +const char FLT_CHARS[] = "dD";
37060 +
37061 +/* Pre-defined "_GLOBAL_OFFSET_TABLE_" */
37062 +symbolS *GOT_symbol;
37063 +
37064 +static struct hash_control *avr32_mnemonic_htab;
37065 +
37066 +struct avr32_ifield_data
37067 +{
37068 + bfd_vma value;
37069 + /* FIXME: Get rid of align_order and complain. complain is never
37070 + used, align_order is used in one place. Try to use the relax
37071 + table instead. */
37072 + unsigned int align_order;
37073 +};
37074 +
37075 +struct avr32_insn
37076 +{
37077 + const struct avr32_syntax *syntax;
37078 + expressionS immediate;
37079 + int pcrel;
37080 + int force_extended;
37081 + unsigned int next_slot;
37082 + bfd_reloc_code_real_type r_type;
37083 + struct avr32_ifield_data field_value[AVR32_MAX_FIELDS];
37084 +};
37085 +
37086 +static struct avr32_insn current_insn;
37087 +
37088 +/* The target specific pseudo-ops we support. */
37089 +static void s_rseg (int);
37090 +static void s_cpool(int);
37091 +
37092 +const pseudo_typeS md_pseudo_table[] =
37093 +{
37094 + /* Make sure that .word is 32 bits */
37095 + { "word", cons, 4 },
37096 + { "file", (void (*) PARAMS ((int))) dwarf2_directive_file, 0 },
37097 + { "loc", dwarf2_directive_loc, 0 },
37098 +
37099 + /* .lcomm requires an explicit alignment parameter */
37100 + { "lcomm", s_lcomm, 1 },
37101 +
37102 + /* AVR32-specific pseudo-ops */
37103 + { "cpool", s_cpool, 0},
37104 +
37105 + /* IAR compatible pseudo-ops */
37106 + { "program", s_ignore, 0 },
37107 + { "public", s_globl, 0 },
37108 + { "extern", s_ignore, 0 },
37109 + { "module", s_ignore, 0 },
37110 + { "rseg", s_rseg, 0 },
37111 + { "dc8", cons, 1 },
37112 + { "dc16", cons, 2 },
37113 + { "dc32", cons, 4 },
37114 +
37115 + { NULL, NULL, 0 }
37116 +};
37117 +
37118 +/* Questionable stuff starts here */
37119 +
37120 +enum avr32_opinfo {
37121 + AVR32_OPINFO_NONE = BFD_RELOC_NONE,
37122 + AVR32_OPINFO_GOT,
37123 + AVR32_OPINFO_TLSGD,
37124 + AVR32_OPINFO_HI,
37125 + AVR32_OPINFO_LO,
37126 +};
37127 +
37128 +enum avr32_arch {
37129 + ARCH_TYPE_AP,
37130 + ARCH_TYPE_UC
37131 +};
37132 +
37133 +struct arch_type_s
37134 +{
37135 + /* Architecture name */
37136 + char *name;
37137 + /* Instruction Set Architecture Flags */
37138 + unsigned long isa_flags;
37139 +};
37140 +
37141 +struct part_type_s
37142 +{
37143 + /* Part name */
37144 + char *name;
37145 + /* Architecture type */
37146 + unsigned int arch;
37147 +};
37148 +
37149 +static struct arch_type_s arch_types[] =
37150 +{
37151 + {"ap", AVR32_V1 | AVR32_SIMD | AVR32_DSP | AVR32_PICO},
37152 + {"uc", AVR32_V1 | AVR32_DSP | AVR32_RMW},
37153 + {"all-insn", AVR32_V1 | AVR32_SIMD | AVR32_DSP | AVR32_RMW | AVR32_FP | AVR32_PICO},
37154 + {NULL, 0}
37155 +};
37156 +
37157 +static struct part_type_s part_types[] = {
37158 + {"ap7000", ARCH_TYPE_AP},
37159 + {"ap7010", ARCH_TYPE_AP},
37160 + {"ap7020", ARCH_TYPE_AP},
37161 + {"uc3a0256", ARCH_TYPE_UC},
37162 + {"uc3a0512", ARCH_TYPE_UC},
37163 + {"uc3a1128", ARCH_TYPE_UC},
37164 + {"uc3a1256", ARCH_TYPE_UC},
37165 + {"uc3a1512", ARCH_TYPE_UC},
37166 + {NULL, 0}
37167 +};
37168 +
37169 +/* Current architecture type. */
37170 +static struct arch_type_s default_arch = {"all-insn", AVR32_V1 | AVR32_SIMD | AVR32_DSP | AVR32_RMW | AVR32_FP | AVR32_PICO };
37171 +static struct arch_type_s *avr32_arch = &default_arch;
37172 +
37173 +/* Display nicely formatted list of known part- and architecture names. */
37174 +
37175 +static void
37176 +show_arch_list (FILE *stream)
37177 +{
37178 + int i, x;
37179 +
37180 + fprintf (stream, _("Known architecture names:"));
37181 + x = 1000;
37182 +
37183 + for (i = 0; arch_types[i].name; i++)
37184 + {
37185 + int len = strlen (arch_types[i].name);
37186 +
37187 + x += len + 1;
37188 +
37189 + if (x < 75)
37190 + fprintf (stream, " %s", arch_types[i].name);
37191 + else
37192 + {
37193 + fprintf (stream, "\n %s", arch_types[i].name);
37194 + x = len + 2;
37195 + }
37196 + }
37197 +
37198 + fprintf (stream, "\n");
37199 +}
37200 +
37201 +static void
37202 +show_part_list (FILE *stream)
37203 +{
37204 + int i, x;
37205 +
37206 + fprintf (stream, _("Known part names:"));
37207 + x = 1000;
37208 +
37209 + for (i = 0; part_types[i].name; i++)
37210 + {
37211 + int len = strlen(part_types[i].name);
37212 +
37213 + x += len + 1;
37214 +
37215 + if (x < 75)
37216 + fprintf (stream, " %s", part_types[i].name);
37217 + else
37218 + {
37219 + fprintf(stream, "\n %s", part_types[i].name);
37220 + x = len + 2;
37221 + }
37222 + }
37223 +
37224 + fprintf (stream, "\n");
37225 +}
37226 +
37227 +const char *md_shortopts = "";
37228 +struct option md_longopts[] =
37229 +{
37230 +#define OPTION_ARCH (OPTION_MD_BASE)
37231 +#define OPTION_PART (OPTION_ARCH + 1)
37232 +#define OPTION_IAR (OPTION_PART + 1)
37233 +#define OPTION_PIC (OPTION_IAR + 1)
37234 +#define OPTION_NOPIC (OPTION_PIC + 1)
37235 +#define OPTION_LINKRELAX (OPTION_NOPIC + 1)
37236 +#define OPTION_NOLINKRELAX (OPTION_LINKRELAX + 1)
37237 + {"march", required_argument, NULL, OPTION_ARCH},
37238 + {"mpart", required_argument, NULL, OPTION_PART},
37239 + {"iar", no_argument, NULL, OPTION_IAR},
37240 + {"pic", no_argument, NULL, OPTION_PIC},
37241 + {"no-pic", no_argument, NULL, OPTION_NOPIC},
37242 + {"linkrelax", no_argument, NULL, OPTION_LINKRELAX},
37243 + {"no-linkrelax", no_argument, NULL, OPTION_NOLINKRELAX},
37244 + /* deprecated alias for -mpart=xxx */
37245 + {"mcpu", required_argument, NULL, OPTION_PART},
37246 + {NULL, no_argument, NULL, 0}
37247 +};
37248 +
37249 +size_t md_longopts_size = sizeof (md_longopts);
37250 +
37251 +void
37252 +md_show_usage (FILE *stream)
37253 +{
37254 + fprintf (stream,
37255 + _(
37256 +"AVR32 options:\n"
37257 +"-march=[arch-name] Select cpu architecture. [Default `all-insn']\n"
37258 +"-mpart=[part-name] Select specific part. [Default `none']\n"
37259 +"--pic Produce Position-Independent Code\n"
37260 +"--no-pic Don't produce Position-Independent Code\n"
37261 +"--linkrelax Produce output suitable for linker relaxing\n"
37262 +"--no-linkrelax Don't produce output suitable for linker relaxing\n"));
37263 + show_arch_list(stream);
37264 +}
37265 +
37266 +int
37267 +md_parse_option (int c, char *arg ATTRIBUTE_UNUSED)
37268 +{
37269 + switch (c)
37270 + {
37271 + case OPTION_ARCH:
37272 + {
37273 + int i;
37274 + char *s = alloca (strlen (arg) + 1);
37275 +
37276 + {
37277 + char *t = s;
37278 + char *arg1 = arg;
37279 +
37280 + do
37281 + *t = TOLOWER (*arg1++);
37282 + while (*t++);
37283 + }
37284 +
37285 + for (i = 0; arch_types[i].name; ++i)
37286 + if (strcmp (arch_types[i].name, s) == 0)
37287 + break;
37288 +
37289 + if (!arch_types[i].name)
37290 + {
37291 + show_arch_list (stderr);
37292 + as_fatal (_("unknown architecture: %s\n"), arg);
37293 + }
37294 +
37295 + avr32_arch = &arch_types[i];
37296 + break;
37297 + }
37298 + case OPTION_PART:
37299 + {
37300 + int i;
37301 + char *s = alloca (strlen (arg) + 1);
37302 + char *t = s;
37303 + char *p = arg;
37304 +
37305 + /* If arch type has already been set, don't bother.
37306 + -march= always overrides -mpart= */
37307 + if (avr32_arch != &default_arch)
37308 + break;
37309 +
37310 + do
37311 + *t = TOLOWER (*p++);
37312 + while (*t++);
37313 +
37314 + for (i = 0; part_types[i].name; ++i)
37315 + if (strcmp (part_types[i].name, s) == 0)
37316 + break;
37317 +
37318 + if (!part_types[i].name)
37319 + {
37320 + show_part_list (stderr);
37321 + as_fatal (_("unknown part: %s\n"), arg);
37322 + }
37323 +
37324 + avr32_arch = &arch_types[part_types[i].arch];
37325 + break;
37326 + }
37327 + case OPTION_IAR:
37328 + avr32_iarcompat = 1;
37329 + break;
37330 + case OPTION_PIC:
37331 + avr32_pic = 1;
37332 + break;
37333 + case OPTION_NOPIC:
37334 + avr32_pic = 0;
37335 + break;
37336 + case OPTION_LINKRELAX:
37337 + linkrelax = 1;
37338 + break;
37339 + case OPTION_NOLINKRELAX:
37340 + linkrelax = 0;
37341 + break;
37342 + default:
37343 + return 0;
37344 + }
37345 + return 1;
37346 +}
37347 +
37348 +/* Can't use symbol_new here, so have to create a symbol and then at
37349 + a later date assign it a value. Thats what these functions do.
37350 +
37351 + Shamelessly stolen from ARM. */
37352 +
37353 +static void
37354 +symbol_locate (symbolS * symbolP,
37355 + const char * name, /* It is copied, the caller can modify. */
37356 + segT segment, /* Segment identifier (SEG_<something>). */
37357 + valueT valu, /* Symbol value. */
37358 + fragS * frag) /* Associated fragment. */
37359 +{
37360 + unsigned int name_length;
37361 + char * preserved_copy_of_name;
37362 +
37363 + name_length = strlen (name) + 1; /* +1 for \0. */
37364 + obstack_grow (&notes, name, name_length);
37365 + preserved_copy_of_name = obstack_finish (&notes);
37366 +#ifdef STRIP_UNDERSCORE
37367 + if (preserved_copy_of_name[0] == '_')
37368 + preserved_copy_of_name++;
37369 +#endif
37370 +
37371 +#ifdef tc_canonicalize_symbol_name
37372 + preserved_copy_of_name =
37373 + tc_canonicalize_symbol_name (preserved_copy_of_name);
37374 +#endif
37375 +
37376 + S_SET_NAME (symbolP, preserved_copy_of_name);
37377 +
37378 + S_SET_SEGMENT (symbolP, segment);
37379 + S_SET_VALUE (symbolP, valu);
37380 + symbol_clear_list_pointers (symbolP);
37381 +
37382 + symbol_set_frag (symbolP, frag);
37383 +
37384 + /* Link to end of symbol chain. */
37385 + {
37386 + extern int symbol_table_frozen;
37387 +
37388 + if (symbol_table_frozen)
37389 + abort ();
37390 + }
37391 +
37392 + symbol_append (symbolP, symbol_lastP, & symbol_rootP, & symbol_lastP);
37393 +
37394 + obj_symbol_new_hook (symbolP);
37395 +
37396 +#ifdef tc_symbol_new_hook
37397 + tc_symbol_new_hook (symbolP);
37398 +#endif
37399 +
37400 +#ifdef DEBUG_SYMS
37401 + verify_symbol_chain (symbol_rootP, symbol_lastP);
37402 +#endif /* DEBUG_SYMS */
37403 +}
37404 +
37405 +struct cpool_entry
37406 +{
37407 + int refcount;
37408 + offsetT offset;
37409 + expressionS exp;
37410 +};
37411 +
37412 +struct cpool
37413 +{
37414 + struct cpool *next;
37415 + int used;
37416 + struct cpool_entry *literals;
37417 + unsigned int padding;
37418 + unsigned int next_free_entry;
37419 + unsigned int id;
37420 + symbolS *symbol;
37421 + segT section;
37422 + subsegT sub_section;
37423 +};
37424 +
37425 +struct cpool *cpool_list = NULL;
37426 +
37427 +static struct cpool *
37428 +find_cpool(segT section, subsegT sub_section)
37429 +{
37430 + struct cpool *pool;
37431 +
37432 + for (pool = cpool_list; pool != NULL; pool = pool->next)
37433 + {
37434 + if (!pool->used
37435 + && pool->section == section
37436 + && pool->sub_section == sub_section)
37437 + break;
37438 + }
37439 +
37440 + return pool;
37441 +}
37442 +
37443 +static struct cpool *
37444 +find_or_make_cpool(segT section, subsegT sub_section)
37445 +{
37446 + static unsigned int next_cpool_id = 0;
37447 + struct cpool *pool;
37448 +
37449 + pool = find_cpool(section, sub_section);
37450 +
37451 + if (!pool)
37452 + {
37453 + pool = xmalloc(sizeof(*pool));
37454 + if (!pool)
37455 + return NULL;
37456 +
37457 + pool->used = 0;
37458 + pool->literals = NULL;
37459 + pool->padding = 0;
37460 + pool->next_free_entry = 0;
37461 + pool->section = section;
37462 + pool->sub_section = sub_section;
37463 + pool->next = cpool_list;
37464 + pool->symbol = NULL;
37465 +
37466 + cpool_list = pool;
37467 + }
37468 +
37469 + /* NULL symbol means that the pool is new or has just been emptied. */
37470 + if (!pool->symbol)
37471 + {
37472 + pool->symbol = symbol_create(FAKE_LABEL_NAME, undefined_section,
37473 + 0, &zero_address_frag);
37474 + pool->id = next_cpool_id++;
37475 + }
37476 +
37477 + return pool;
37478 +}
37479 +
37480 +static struct cpool *
37481 +add_to_cpool(expressionS *exp, unsigned int *index, int ref)
37482 +{
37483 + struct cpool *pool;
37484 + unsigned int entry;
37485 +
37486 + pool = find_or_make_cpool(now_seg, now_subseg);
37487 +
37488 + /* Check if this constant is already in the pool. */
37489 + for (entry = 0; entry < pool->next_free_entry; entry++)
37490 + {
37491 + if ((pool->literals[entry].exp.X_op == exp->X_op)
37492 + && (exp->X_op == O_constant)
37493 + && (pool->literals[entry].exp.X_add_number
37494 + == exp->X_add_number)
37495 + && (pool->literals[entry].exp.X_unsigned
37496 + == exp->X_unsigned))
37497 + break;
37498 +
37499 + if ((pool->literals[entry].exp.X_op == exp->X_op)
37500 + && (exp->X_op == O_symbol)
37501 + && (pool->literals[entry].exp.X_add_number
37502 + == exp->X_add_number)
37503 + && (pool->literals[entry].exp.X_add_symbol
37504 + == exp->X_add_symbol)
37505 + && (pool->literals[entry].exp.X_op_symbol
37506 + == exp->X_op_symbol))
37507 + break;
37508 + }
37509 +
37510 + /* Create an entry if we didn't find a match */
37511 + if (entry == pool->next_free_entry)
37512 + {
37513 + pool->literals = xrealloc(pool->literals,
37514 + sizeof(struct cpool_entry) * (entry + 1));
37515 + pool->literals[entry].exp = *exp;
37516 + pool->literals[entry].refcount = 0;
37517 + pool->next_free_entry++;
37518 + }
37519 +
37520 + if (index)
37521 + *index = entry;
37522 + if (ref)
37523 + pool->literals[entry].refcount++;
37524 +
37525 + return pool;
37526 +}
37527 +
37528 +struct avr32_operand
37529 +{
37530 + int id;
37531 + int is_signed;
37532 + int is_pcrel;
37533 + int align_order;
37534 + int (*match)(char *str);
37535 + void (*parse)(const struct avr32_operand *op, char *str, int opindex);
37536 +};
37537 +
37538 +static int
37539 +match_anything(char *str ATTRIBUTE_UNUSED)
37540 +{
37541 + return 1;
37542 +}
37543 +
37544 +static int
37545 +match_intreg(char *str)
37546 +{
37547 + int regid, ret = 1;
37548 +
37549 + regid = avr32_parse_intreg(str);
37550 + if (regid < 0)
37551 + ret = 0;
37552 +
37553 + pr_debug("match_intreg: `%s': %d\n", str, ret);
37554 +
37555 + return ret;
37556 +}
37557 +
37558 +static int
37559 +match_intreg_predec(char *str)
37560 +{
37561 + int regid;
37562 +
37563 + if (str[0] != '-' || str[1] != '-')
37564 + return 0;
37565 +
37566 + regid = avr32_parse_intreg(str + 2);
37567 + if (regid < 0)
37568 + return 0;
37569 +
37570 + return 1;
37571 +}
37572 +
37573 +static int
37574 +match_intreg_postinc(char *str)
37575 +{
37576 + int regid, ret = 1;
37577 + char *p, c;
37578 +
37579 + for (p = str; *p; p++)
37580 + if (*p == '+')
37581 + break;
37582 +
37583 + if (p[0] != '+' || p[1] != '+')
37584 + return 0;
37585 +
37586 + c = *p, *p = 0;
37587 + regid = avr32_parse_intreg(str);
37588 + if (regid < 0)
37589 + ret = 0;
37590 +
37591 + *p = c;
37592 + return ret;
37593 +}
37594 +
37595 +static int
37596 +match_intreg_lsl(char *str)
37597 +{
37598 + int regid, ret = 1;
37599 + char *p, c;
37600 +
37601 + for (p = str; *p; p++)
37602 + if (*p == '<')
37603 + break;
37604 +
37605 + if (p[0] && p[1] != '<')
37606 + return 0;
37607 +
37608 + c = *p, *p = 0;
37609 + regid = avr32_parse_intreg(str);
37610 + if (regid < 0)
37611 + ret = 0;
37612 +
37613 + *p = c;
37614 + return ret;
37615 +}
37616 +
37617 +static int
37618 +match_intreg_lsr(char *str)
37619 +{
37620 + int regid, ret = 1;
37621 + char *p, c;
37622 +
37623 + for (p = str; *p; p++)
37624 + if (*p == '>')
37625 + break;
37626 +
37627 + if (p[0] && p[1] != '>')
37628 + return 0;
37629 +
37630 + c = *p, *p = 0;
37631 +
37632 + regid = avr32_parse_intreg(str);
37633 + if (regid < 0)
37634 + ret = 0;
37635 +
37636 + *p = c;
37637 + return ret;
37638 +}
37639 +
37640 +static int
37641 +match_intreg_part(char *str)
37642 +{
37643 + int regid, ret = 1;
37644 + char *p, c;
37645 +
37646 + for (p = str; *p; p++)
37647 + if (*p == ':')
37648 + break;
37649 +
37650 + if (p[0] != ':' || !ISPRINT(p[1]) || p[2] != '\0')
37651 + return 0;
37652 +
37653 + c = *p, *p = 0;
37654 + regid = avr32_parse_intreg(str);
37655 + if (regid < 0)
37656 + ret = 0;
37657 +
37658 + *p = c;
37659 +
37660 + return ret;
37661 +}
37662 +
37663 +#define match_intreg_disp match_anything
37664 +
37665 +static int
37666 +match_intreg_index(char *str)
37667 +{
37668 + int regid, ret = 1;
37669 + char *p, *end, c;
37670 +
37671 + for (p = str; *p; p++)
37672 + if (*p == '[')
37673 + break;
37674 +
37675 + /* don't allow empty displacement here (it makes no sense) */
37676 + if (p[0] != '[')
37677 + return 0;
37678 +
37679 + for (end = p + 1; *end; end++) ;
37680 + if (*(--end) != ']')
37681 + return 0;
37682 +
37683 + c = *end, *end = 0;
37684 + if (!match_intreg_lsl(p + 1))
37685 + ret = 0;
37686 + *end = c;
37687 +
37688 + if (ret)
37689 + {
37690 + c = *p, *p = 0;
37691 + regid = avr32_parse_intreg(str);
37692 + if (regid < 0)
37693 + ret = 0;
37694 + *p = c;
37695 + }
37696 +
37697 + return ret;
37698 +}
37699 +
37700 +static int
37701 +match_intreg_xindex(char *str)
37702 +{
37703 + int regid, ret = 1;
37704 + char *p, *end, c;
37705 +
37706 + for (p = str; *p; p++)
37707 + if (*p == '[')
37708 + break;
37709 +
37710 + /* empty displacement makes no sense here either */
37711 + if (p[0] != '[')
37712 + return 0;
37713 +
37714 + for (end = p + 1; *end; end++)
37715 + if (*end == '<')
37716 + break;
37717 +
37718 + if (!streq(end, "<<2]"))
37719 + return 0;
37720 +
37721 + c = *end, *end = 0;
37722 + if (!match_intreg_part(p + 1))
37723 + ret = 0;
37724 + *end = c;
37725 +
37726 + if (ret)
37727 + {
37728 + c = *p, *p = 0;
37729 + regid = avr32_parse_intreg(str);
37730 + if (regid < 0)
37731 + ret = 0;
37732 + *p = c;
37733 + }
37734 +
37735 + return ret;
37736 +}
37737 +
37738 +/* The PC_UDISP_W operator may show up as a label or as a pc[disp]
37739 + expression. So there's no point in attempting to match this... */
37740 +#define match_pc_disp match_anything
37741 +
37742 +static int
37743 +match_sp(char *str)
37744 +{
37745 + /* SP in any form will do */
37746 + return avr32_parse_intreg(str) == AVR32_REG_SP;
37747 +}
37748 +
37749 +static int
37750 +match_sp_disp(char *str)
37751 +{
37752 + int regid, ret = 1;
37753 + char *p, c;
37754 +
37755 + for (p = str; *p; p++)
37756 + if (*p == '[')
37757 + break;
37758 +
37759 + /* allow empty displacement, meaning zero */
37760 + if (p[0] == '[')
37761 + {
37762 + char *end;
37763 + for (end = p + 1; *end; end++) ;
37764 + if (end[-1] != ']')
37765 + return 0;
37766 + }
37767 +
37768 + c = *p, *p = 0;
37769 + regid = avr32_parse_intreg(str);
37770 + if (regid != AVR32_REG_SP)
37771 + ret = 0;
37772 +
37773 + *p = c;
37774 + return ret;
37775 +}
37776 +
37777 +static int
37778 +match_cpno(char *str)
37779 +{
37780 + if (strncasecmp(str, "cp", 2) != 0)
37781 + return 0;
37782 + return 1;
37783 +}
37784 +
37785 +static int
37786 +match_cpreg(char *str)
37787 +{
37788 + if (strncasecmp(str, "cr", 2) != 0)
37789 + return 0;
37790 + return 1;
37791 +}
37792 +
37793 +/* We allow complex expressions, and register names may show up as
37794 + symbols. Just make sure immediate expressions are always matched
37795 + last. */
37796 +#define match_const match_anything
37797 +#define match_jmplabel match_anything
37798 +#define match_number match_anything
37799 +
37800 +/* Mnemonics that take reglists never accept anything else */
37801 +#define match_reglist8 match_anything
37802 +#define match_reglist9 match_anything
37803 +#define match_reglist16 match_anything
37804 +#define match_reglist_ldm match_anything
37805 +#define match_reglist_cp8 match_anything
37806 +#define match_reglist_cpd8 match_anything
37807 +
37808 +/* Ditto for retval, jospinc and mcall */
37809 +#define match_retval match_anything
37810 +#define match_jospinc match_anything
37811 +#define match_mcall match_anything
37812 +
37813 +/* COH is used to select between two different syntaxes */
37814 +static int
37815 +match_coh(char *str)
37816 +{
37817 + return strcasecmp(str, "coh") == 0;
37818 +}
37819 +
37820 +static int
37821 +match_fpreg(char *str)
37822 +{
37823 + unsigned long regid;
37824 + char *endptr;
37825 +
37826 + if ((str[0] != 'f' && str[0] != 'F')
37827 + || (str[1] != 'r' && str[1] != 'R'))
37828 + return 0;
37829 +
37830 + str += 2;
37831 + regid = strtoul(str, &endptr, 10);
37832 + if (!*str || *endptr)
37833 + return 0;
37834 +
37835 + return 1;
37836 +}
37837 +
37838 +static int
37839 +match_picoreg(char *str)
37840 +{
37841 + int regid;
37842 +
37843 + regid = avr32_parse_picoreg(str);
37844 + if (regid < 0)
37845 + return 0;
37846 + return 1;
37847 +}
37848 +
37849 +#define match_pico_reglist_w match_anything
37850 +#define match_pico_reglist_d match_anything
37851 +
37852 +static int
37853 +match_pico_in(char *str)
37854 +{
37855 + unsigned long regid;
37856 + char *end;
37857 +
37858 + if (strncasecmp(str, "in", 2) != 0)
37859 + return 0;
37860 +
37861 + str += 2;
37862 + regid = strtoul(str, &end, 10);
37863 + if (!*str || *end)
37864 + return 0;
37865 +
37866 + return 1;
37867 +}
37868 +
37869 +static int
37870 +match_pico_out0(char *str)
37871 +{
37872 + if (strcasecmp(str, "out0") != 0)
37873 + return 0;
37874 + return 1;
37875 +}
37876 +
37877 +static int
37878 +match_pico_out1(char *str)
37879 +{
37880 + if (strcasecmp(str, "out1") != 0)
37881 + return 0;
37882 + return 1;
37883 +}
37884 +
37885 +static int
37886 +match_pico_out2(char *str)
37887 +{
37888 + if (strcasecmp(str, "out2") != 0)
37889 + return 0;
37890 + return 1;
37891 +}
37892 +
37893 +static int
37894 +match_pico_out3(char *str)
37895 +{
37896 + if (strcasecmp(str, "out3") != 0)
37897 + return 0;
37898 + return 1;
37899 +}
37900 +
37901 +static void parse_nothing(const struct avr32_operand *op ATTRIBUTE_UNUSED,
37902 + char *str ATTRIBUTE_UNUSED,
37903 + int opindex ATTRIBUTE_UNUSED)
37904 +{
37905 + /* Do nothing (this is used for "match-only" operands like COH) */
37906 +}
37907 +
37908 +static void
37909 +parse_const(const struct avr32_operand *op, char *str,
37910 + int opindex ATTRIBUTE_UNUSED)
37911 +{
37912 + expressionS *exp = &current_insn.immediate;
37913 + expressionS *sym_exp;
37914 + int slot;
37915 + char *save;
37916 +
37917 + pr_debug("parse_const: `%s' (signed: %d, pcrel: %d, align: %d)\n",
37918 + str, op->is_signed, op->is_pcrel, op->align_order);
37919 +
37920 + save = input_line_pointer;
37921 + input_line_pointer = str;
37922 +
37923 + expression(exp);
37924 +
37925 + slot = current_insn.next_slot++;
37926 + current_insn.field_value[slot].align_order = op->align_order;
37927 + current_insn.pcrel = op->is_pcrel;
37928 +
37929 + switch (exp->X_op)
37930 + {
37931 + case O_illegal:
37932 + as_bad(_("illegal operand"));
37933 + break;
37934 + case O_absent:
37935 + as_bad(_("missing operand"));
37936 + break;
37937 + case O_constant:
37938 + pr_debug(" -> constant: %ld\n", (long)exp->X_add_number);
37939 + current_insn.field_value[slot].value = exp->X_add_number;
37940 + break;
37941 + case O_uminus:
37942 + pr_debug(" -> uminus\n");
37943 + sym_exp = symbol_get_value_expression(exp->X_add_symbol);
37944 + switch (sym_exp->X_op) {
37945 + case O_subtract:
37946 + pr_debug(" -> subtract: switching operands\n");
37947 + exp->X_op_symbol = sym_exp->X_add_symbol;
37948 + exp->X_add_symbol = sym_exp->X_op_symbol;
37949 + exp->X_op = O_subtract;
37950 + /* TODO: Remove the old X_add_symbol */
37951 + break;
37952 + default:
37953 + as_bad(_("Expression too complex\n"));
37954 + break;
37955 + }
37956 + break;
37957 +#if 0
37958 + case O_subtract:
37959 + /* Any expression subtracting a symbol from the current section
37960 + can be made PC-relative by adding the right offset. */
37961 + if (S_GET_SEGMENT(exp->X_op_symbol) == now_seg)
37962 + current_insn.pcrel = TRUE;
37963 + pr_debug(" -> subtract: pcrel? %s\n",
37964 + current_insn.pcrel ? "yes" : "no");
37965 + /* fall through */
37966 +#endif
37967 + default:
37968 + pr_debug(" -> (%p <%d> %p + %d)\n",
37969 + exp->X_add_symbol, exp->X_op, exp->X_op_symbol,
37970 + exp->X_add_number);
37971 + current_insn.field_value[slot].value = 0;
37972 + break;
37973 + }
37974 +
37975 + input_line_pointer = save;
37976 +}
37977 +
37978 +static void
37979 +parse_jmplabel(const struct avr32_operand *op, char *str,
37980 + int opindex ATTRIBUTE_UNUSED)
37981 +{
37982 + expressionS *exp = &current_insn.immediate;
37983 + int slot;
37984 + char *save;
37985 +
37986 + pr_debug("parse_jmplabel: `%s' (signed: %d, pcrel: %d, align: %d)\n",
37987 + str, op->is_signed, op->is_pcrel, op->align_order);
37988 +
37989 + save = input_line_pointer;
37990 + input_line_pointer = str;
37991 +
37992 + expression(exp);
37993 +
37994 + slot = current_insn.next_slot++;
37995 + current_insn.field_value[slot].align_order = op->align_order;
37996 + current_insn.pcrel = TRUE;
37997 +
37998 + switch (exp->X_op)
37999 + {
38000 + case O_illegal:
38001 + as_bad(_("illegal operand"));
38002 + break;
38003 + case O_absent:
38004 + as_bad(_("missing operand"));
38005 + break;
38006 + case O_constant:
38007 + pr_debug(" -> constant: %ld\n", (long)exp->X_add_number);
38008 + current_insn.field_value[slot].value = exp->X_add_number;
38009 + current_insn.pcrel = 0;
38010 + break;
38011 + default:
38012 + pr_debug(" -> (%p <%d> %p + %d)\n",
38013 + exp->X_add_symbol, exp->X_op, exp->X_op_symbol,
38014 + exp->X_add_number);
38015 + current_insn.field_value[slot].value = 0;
38016 + break;
38017 + }
38018 +
38019 + input_line_pointer = save;
38020 +}
38021 +
38022 +static void
38023 +parse_intreg(const struct avr32_operand *op ATTRIBUTE_UNUSED,
38024 + char *str, int opindex ATTRIBUTE_UNUSED)
38025 +{
38026 + int regid, slot;
38027 +
38028 + pr_debug("parse_intreg: `%s'\n", str);
38029 +
38030 + regid = avr32_parse_intreg(str);
38031 + assert(regid >= 0);
38032 +
38033 + slot = current_insn.next_slot++;
38034 + current_insn.field_value[slot].value = regid;
38035 + current_insn.field_value[slot].align_order = op->align_order;
38036 +}
38037 +
38038 +static void
38039 +parse_intreg_predec(const struct avr32_operand *op, char *str, int opindex)
38040 +{
38041 + parse_intreg(op, str + 2, opindex);
38042 +}
38043 +
38044 +static void
38045 +parse_intreg_postinc(const struct avr32_operand *op, char *str, int opindex)
38046 +{
38047 + char *p, c;
38048 +
38049 + pr_debug("parse_intreg_postinc: `%s'\n", str);
38050 +
38051 + for (p = str; *p != '+'; p++) ;
38052 +
38053 + c = *p, *p = 0;
38054 + parse_intreg(op, str, opindex);
38055 + *p = c;
38056 +}
38057 +
38058 +static void
38059 +parse_intreg_shift(const struct avr32_operand *op ATTRIBUTE_UNUSED,
38060 + char *str, int opindex ATTRIBUTE_UNUSED)
38061 +{
38062 + int regid, slot, shift = 0;
38063 + char *p, c;
38064 + char shiftop;
38065 +
38066 + pr_debug("parse Ry<<sa: `%s'\n", str);
38067 +
38068 + for (p = str; *p; p++)
38069 + if (*p == '<' || *p == '>')
38070 + break;
38071 +
38072 + shiftop = *p;
38073 +
38074 + c = *p, *p = 0;
38075 + regid = avr32_parse_intreg(str);
38076 + assert(regid >= 0);
38077 + *p = c;
38078 +
38079 + if (c)
38080 + {
38081 + if (p[0] != shiftop || p[1] != shiftop)
38082 + as_bad(_("expected shift operator in `%s'"), p);
38083 + else
38084 + {
38085 + expressionS exp;
38086 + char *saved;
38087 +
38088 + saved = input_line_pointer;
38089 + input_line_pointer = p + 2;
38090 + expression(&exp);
38091 + input_line_pointer = saved;
38092 +
38093 + if (exp.X_op != O_constant)
38094 + as_bad(_("shift amount must be a numeric constant"));
38095 + else
38096 + shift = exp.X_add_number;
38097 + }
38098 + }
38099 +
38100 + slot = current_insn.next_slot++;
38101 + current_insn.field_value[slot].value = regid;
38102 + slot = current_insn.next_slot++;
38103 + current_insn.field_value[slot].value = shift;
38104 +}
38105 +
38106 +/* The match() function selected the right opcode, so it doesn't
38107 + matter which way we shift any more. */
38108 +#define parse_intreg_lsl parse_intreg_shift
38109 +#define parse_intreg_lsr parse_intreg_shift
38110 +
38111 +static void
38112 +parse_intreg_part(const struct avr32_operand *op, char *str,
38113 + int opindex ATTRIBUTE_UNUSED)
38114 +{
38115 + static const char bparts[] = { 'b', 'l', 'u', 't' };
38116 + static const char hparts[] = { 'b', 't' };
38117 + unsigned int slot, sel;
38118 + int regid;
38119 + char *p, c;
38120 +
38121 + pr_debug("parse reg:part `%s'\n", str);
38122 +
38123 + for (p = str; *p; p++)
38124 + if (*p == ':')
38125 + break;
38126 +
38127 + c = *p, *p = 0;
38128 + regid = avr32_parse_intreg(str);
38129 + assert(regid >= 0);
38130 + *p = c;
38131 +
38132 + assert(c == ':');
38133 +
38134 + if (op->align_order)
38135 + {
38136 + for (sel = 0; sel < sizeof(hparts); sel++)
38137 + if (TOLOWER(p[1]) == hparts[sel])
38138 + break;
38139 +
38140 + if (sel >= sizeof(hparts))
38141 + {
38142 + as_bad(_("invalid halfword selector `%c' (must be either b or t)"),
38143 + p[1]);
38144 + sel = 0;
38145 + }
38146 + }
38147 + else
38148 + {
38149 + for (sel = 0; sel < sizeof(bparts); sel++)
38150 + if (TOLOWER(p[1]) == bparts[sel])
38151 + break;
38152 +
38153 + if (sel >= sizeof(bparts))
38154 + {
38155 + as_bad(_("invalid byte selector `%c' (must be one of b,l,u,t)"),
38156 + p[1]);
38157 + sel = 0;
38158 + }
38159 + }
38160 +
38161 + slot = current_insn.next_slot++;
38162 + current_insn.field_value[slot].value = regid;
38163 + slot = current_insn.next_slot++;
38164 + current_insn.field_value[slot].value = sel;
38165 +}
38166 +
38167 +/* This is the parser for "Rp[displacement]" expressions. In addition
38168 + to the "official" syntax, we accept a label as a replacement for
38169 + the register expression. This syntax implies Rp=PC and the
38170 + displacement is the pc-relative distance to the label. */
38171 +static void
38172 +parse_intreg_disp(const struct avr32_operand *op, char *str, int opindex)
38173 +{
38174 + expressionS *exp = &current_insn.immediate;
38175 + int slot, regid;
38176 + char *save, *p, c;
38177 +
38178 + pr_debug("parse_intreg_disp: `%s' (signed: %d, pcrel: %d, align: %d)\n",
38179 + str, op->is_signed, op->is_pcrel, op->align_order);
38180 +
38181 + for (p = str; *p; p++)
38182 + if (*p == '[')
38183 + break;
38184 +
38185 + slot = current_insn.next_slot++;
38186 +
38187 + /* First, check if we have a valid register either before '[' or as
38188 + the sole expression. If so, we use the Rp[disp] syntax. */
38189 + c = *p, *p = 0;
38190 + regid = avr32_parse_intreg(str);
38191 + *p = c;
38192 +
38193 + if (regid >= 0)
38194 + {
38195 + current_insn.field_value[slot].value = regid;
38196 +
38197 + slot = current_insn.next_slot++;
38198 + current_insn.field_value[slot].align_order = op->align_order;
38199 +
38200 + if (c == '[')
38201 + {
38202 + save = input_line_pointer;
38203 + input_line_pointer = p + 1;
38204 +
38205 + expression(exp);
38206 +
38207 + if (*input_line_pointer != ']')
38208 + as_bad(_("junk after displacement expression"));
38209 +
38210 + input_line_pointer = save;
38211 +
38212 + switch (exp->X_op)
38213 + {
38214 + case O_illegal:
38215 + as_bad(_("illegal displacement expression"));
38216 + break;
38217 + case O_absent:
38218 + as_bad(_("missing displacement expression"));
38219 + break;
38220 + case O_constant:
38221 + pr_debug(" -> constant: %ld\n", exp->X_add_number);
38222 + current_insn.field_value[slot].value = exp->X_add_number;
38223 + break;
38224 +#if 0
38225 + case O_subtract:
38226 + if (S_GET_SEGMENT(exp->X_op_symbol) == now_seg)
38227 + current_insn.pcrel = TRUE;
38228 + pr_debug(" -> subtract: pcrel? %s\n",
38229 + current_insn.pcrel ? "yes" : "no");
38230 + /* fall through */
38231 +#endif
38232 + default:
38233 + pr_debug(" -> (%p <%d> %p + %d)\n",
38234 + exp->X_add_symbol, exp->X_op, exp->X_op_symbol,
38235 + exp->X_add_number);
38236 + current_insn.field_value[slot].value = 0;
38237 + }
38238 + }
38239 + else
38240 + {
38241 + exp->X_op = O_constant;
38242 + exp->X_add_number = 0;
38243 + current_insn.field_value[slot].value = 0;
38244 + }
38245 + }
38246 + else
38247 + {
38248 + /* Didn't find a valid register. Try parsing it as a label. */
38249 + current_insn.field_value[slot].value = AVR32_REG_PC;
38250 + parse_jmplabel(op, str, opindex);
38251 + }
38252 +}
38253 +
38254 +static void
38255 +parse_intreg_index(const struct avr32_operand *op ATTRIBUTE_UNUSED,
38256 + char *str, int opindex ATTRIBUTE_UNUSED)
38257 +{
38258 + int slot, regid;
38259 + char *p, *end, c;
38260 +
38261 + for (p = str; *p; p++)
38262 + if (*p == '[')
38263 + break;
38264 +
38265 + assert(*p);
38266 +
38267 + c = *p, *p = 0;
38268 + regid = avr32_parse_intreg(str);
38269 + assert(regid >= 0);
38270 + *p = c;
38271 +
38272 + slot = current_insn.next_slot++;
38273 + current_insn.field_value[slot].value = regid;
38274 +
38275 + p++;
38276 + for (end = p; *end; end++)
38277 + if (*end == ']' || *end == '<')
38278 + break;
38279 +
38280 + assert(*end);
38281 +
38282 + c = *end, *end = 0;
38283 + regid = avr32_parse_intreg(p);
38284 + assert(regid >= 0);
38285 + *end = c;
38286 +
38287 + slot = current_insn.next_slot++;
38288 + current_insn.field_value[slot].value = regid;
38289 +
38290 + slot = current_insn.next_slot++;
38291 + current_insn.field_value[slot].value = 0;
38292 +
38293 + if (*end == '<')
38294 + {
38295 + expressionS exp;
38296 + char *save;
38297 +
38298 + p = end + 2;
38299 + for (end = p; *end; end++)
38300 + if (*end == ']')
38301 + break;
38302 +
38303 + assert(*end == ']');
38304 +
38305 + c = *end, *end = 0;
38306 + save = input_line_pointer;
38307 + input_line_pointer = p;
38308 + expression(&exp);
38309 +
38310 + if (*input_line_pointer)
38311 + as_bad(_("junk after shift expression"));
38312 +
38313 + *end = c;
38314 + input_line_pointer = save;
38315 +
38316 + if (exp.X_op == O_constant)
38317 + current_insn.field_value[slot].value = exp.X_add_number;
38318 + else
38319 + as_bad(_("shift expression too complex"));
38320 + }
38321 +}
38322 +
38323 +static void
38324 +parse_intreg_xindex(const struct avr32_operand *op, char *str, int opindex)
38325 +{
38326 + int slot, regid;
38327 + char *p, *end, c;
38328 +
38329 + for (p = str; *p; p++)
38330 + if (*p == '[')
38331 + break;
38332 +
38333 + assert(*p);
38334 +
38335 + c = *p, *p = 0;
38336 + regid = avr32_parse_intreg(str);
38337 + assert(regid >= 0);
38338 + *p = c;
38339 +
38340 + slot = current_insn.next_slot++;
38341 + current_insn.field_value[slot].value = regid;
38342 +
38343 + p++;
38344 + for (end = p; *end; end++)
38345 + if (*end == '<')
38346 + break;
38347 +
38348 + assert(*end);
38349 +
38350 + c = *end, *end = 0;
38351 + parse_intreg_part(op, p, opindex);
38352 + *end = c;
38353 +}
38354 +
38355 +static void
38356 +parse_pc_disp(const struct avr32_operand *op, char *str, int opindex)
38357 +{
38358 + char *p, c;
38359 +
38360 + for (p = str; *p; p++)
38361 + if (*p == '[')
38362 + break;
38363 +
38364 + /* The lddpc instruction comes in two different syntax variants:
38365 + lddpc reg, expression
38366 + lddpc reg, pc[disp]
38367 + If the operand contains a '[', we use the second form. */
38368 + if (*p)
38369 + {
38370 + int regid;
38371 +
38372 + c = *p, *p = 0;
38373 + regid = avr32_parse_intreg(str);
38374 + *p = c;
38375 + if (regid == AVR32_REG_PC)
38376 + {
38377 + char *end;
38378 +
38379 + for (end = ++p; *end; end++) ;
38380 + if (*(--end) != ']')
38381 + as_bad(_("unrecognized form of instruction: `%s'"), str);
38382 + else
38383 + {
38384 + c = *end, *end = 0;
38385 + parse_const(op, p, opindex);
38386 + *end = c;
38387 + current_insn.pcrel = 0;
38388 + }
38389 + }
38390 + else
38391 + as_bad(_("unrecognized form of instruction: `%s'"), str);
38392 + }
38393 + else
38394 + {
38395 + parse_jmplabel(op, str, opindex);
38396 + }
38397 +}
38398 +
38399 +static void parse_sp(const struct avr32_operand *op ATTRIBUTE_UNUSED,
38400 + char *str ATTRIBUTE_UNUSED,
38401 + int opindex ATTRIBUTE_UNUSED)
38402 +{
38403 + int slot;
38404 +
38405 + slot = current_insn.next_slot++;
38406 + current_insn.field_value[slot].value = AVR32_REG_SP;
38407 +}
38408 +
38409 +static void
38410 +parse_sp_disp(const struct avr32_operand *op, char *str, int opindex)
38411 +{
38412 + char *p, c;
38413 +
38414 + for (; *str; str++)
38415 + if (*str == '[')
38416 + break;
38417 +
38418 + assert(*str);
38419 +
38420 + for (p = ++str; *p; p++)
38421 + if (*p == ']')
38422 + break;
38423 +
38424 + c = *p, *p = 0;
38425 + parse_const(op, str, opindex);
38426 + *p = c;
38427 +}
38428 +
38429 +static void
38430 +parse_cpno(const struct avr32_operand *op ATTRIBUTE_UNUSED, char *str,
38431 + int opindex ATTRIBUTE_UNUSED)
38432 +{
38433 + int slot;
38434 +
38435 + str += 2;
38436 + if (*str == '#')
38437 + str++;
38438 + if (*str < '0' || *str > '7' || str[1])
38439 + as_bad(_("invalid coprocessor `%s'"), str);
38440 +
38441 + slot = current_insn.next_slot++;
38442 + current_insn.field_value[slot].value = *str - '0';
38443 +}
38444 +
38445 +static void
38446 +parse_cpreg(const struct avr32_operand *op, char *str,
38447 + int opindex ATTRIBUTE_UNUSED)
38448 +{
38449 + unsigned int crid;
38450 + int slot;
38451 + char *endptr;
38452 +
38453 + str += 2;
38454 + crid = strtoul(str, &endptr, 10);
38455 + if (*endptr || crid > 15 || crid & ((1 << op->align_order) - 1))
38456 + as_bad(_("invalid coprocessor register `%s'"), str);
38457 +
38458 + crid >>= op->align_order;
38459 +
38460 + slot = current_insn.next_slot++;
38461 + current_insn.field_value[slot].value = crid;
38462 +}
38463 +
38464 +static void
38465 +parse_number(const struct avr32_operand *op, char *str,
38466 + int opindex ATTRIBUTE_UNUSED)
38467 +{
38468 + expressionS exp;
38469 + int slot;
38470 + char *save;
38471 +
38472 + save = input_line_pointer;
38473 + input_line_pointer = str;
38474 + expression(&exp);
38475 + input_line_pointer = save;
38476 +
38477 + slot = current_insn.next_slot++;
38478 + current_insn.field_value[slot].align_order = op->align_order;
38479 +
38480 + if (exp.X_op == O_constant)
38481 + current_insn.field_value[slot].value = exp.X_add_number;
38482 + else
38483 + as_bad(_("invalid numeric expression `%s'"), str);
38484 +}
38485 +
38486 +static void
38487 +parse_reglist8(const struct avr32_operand *op ATTRIBUTE_UNUSED,
38488 + char *str, int opindex ATTRIBUTE_UNUSED)
38489 +{
38490 + unsigned long regmask;
38491 + unsigned long value = 0;
38492 + int slot;
38493 + char *tail;
38494 +
38495 + regmask = avr32_parse_reglist(str, &tail);
38496 + if (*tail)
38497 + as_bad(_("invalid register list `%s'"), str);
38498 + else
38499 + {
38500 + if (avr32_make_regmask8(regmask, &value))
38501 + as_bad(_("register list `%s' doesn't fit"), str);
38502 + }
38503 +
38504 + slot = current_insn.next_slot++;
38505 + current_insn.field_value[slot].value = value;
38506 +}
38507 +
38508 +static int
38509 +parse_reglist_tail(char *str, unsigned long regmask)
38510 +{
38511 + expressionS exp;
38512 + char *save, *p, c;
38513 + int regid;
38514 +
38515 + for (p = str + 1; *p; p++)
38516 + if (*p == '=')
38517 + break;
38518 +
38519 + if (!*p)
38520 + {
38521 + as_bad(_("invalid register list `%s'"), str);
38522 + return -2;
38523 + }
38524 +
38525 + c = *p, *p = 0;
38526 + regid = avr32_parse_intreg(str);
38527 + *p = c;
38528 +
38529 + if (regid != 12)
38530 + {
38531 + as_bad(_("invalid register list `%s'"), str);
38532 + return -2;
38533 + }
38534 +
38535 + /* If we have an assignment, we must pop PC and we must _not_
38536 + pop LR or R12 */
38537 + if (!(regmask & (1 << AVR32_REG_PC)))
38538 + {
38539 + as_bad(_("return value specified for non-return instruction"));
38540 + return -2;
38541 + }
38542 + else if (regmask & ((1 << AVR32_REG_R12) | (1 << AVR32_REG_LR)))
38543 + {
38544 + as_bad(_("can't pop LR or R12 when specifying return value"));
38545 + return -2;
38546 + }
38547 +
38548 + save = input_line_pointer;
38549 + input_line_pointer = p + 1;
38550 + expression(&exp);
38551 + input_line_pointer = save;
38552 +
38553 + if (exp.X_op != O_constant
38554 + || exp.X_add_number < -1
38555 + || exp.X_add_number > 1)
38556 + {
38557 + as_bad(_("invalid return value `%s'"), str);
38558 + return -2;
38559 + }
38560 +
38561 + return exp.X_add_number;
38562 +}
38563 +
38564 +static void
38565 +parse_reglist9(const struct avr32_operand *op ATTRIBUTE_UNUSED,
38566 + char *str, int opindex ATTRIBUTE_UNUSED)
38567 +{
38568 + unsigned long regmask;
38569 + unsigned long value = 0, kbit = 0;
38570 + int slot;
38571 + char *tail;
38572 +
38573 + regmask = avr32_parse_reglist(str, &tail);
38574 + /* printf("parsed reglist16: %04lx, tail: `%s'\n", regmask, tail); */
38575 + if (*tail)
38576 + {
38577 + int retval;
38578 +
38579 + retval = parse_reglist_tail(tail, regmask);
38580 +
38581 + switch (retval)
38582 + {
38583 + case -1:
38584 + regmask |= 1 << AVR32_REG_LR;
38585 + break;
38586 + case 0:
38587 + break;
38588 + case 1:
38589 + regmask |= 1 << AVR32_REG_R12;
38590 + break;
38591 + default:
38592 + break;
38593 + }
38594 +
38595 + kbit = 1;
38596 + }
38597 +
38598 + if (avr32_make_regmask8(regmask, &value))
38599 + as_bad(_("register list `%s' doesn't fit"), str);
38600 +
38601 +
38602 + slot = current_insn.next_slot++;
38603 + current_insn.field_value[slot].value = (value << 1) | kbit;
38604 +}
38605 +
38606 +static void
38607 +parse_reglist16(const struct avr32_operand *op ATTRIBUTE_UNUSED,
38608 + char *str, int opindex ATTRIBUTE_UNUSED)
38609 +{
38610 + unsigned long regmask;
38611 + int slot;
38612 + char *tail;
38613 +
38614 + regmask = avr32_parse_reglist(str, &tail);
38615 + if (*tail)
38616 + as_bad(_("invalid register list `%s'"), str);
38617 +
38618 + slot = current_insn.next_slot++;
38619 + current_insn.field_value[slot].value = regmask;
38620 +}
38621 +
38622 +static void
38623 +parse_reglist_ldm(const struct avr32_operand *op ATTRIBUTE_UNUSED,
38624 + char *str, int opindex ATTRIBUTE_UNUSED)
38625 +{
38626 + unsigned long regmask;
38627 + int slot, rp, w_bit = 0;
38628 + char *tail, *p, c;
38629 +
38630 + for (p = str; *p && *p != ','; p++)
38631 + if (*p == '+')
38632 + break;
38633 +
38634 + c = *p, *p = 0;
38635 + rp = avr32_parse_intreg(str);
38636 + *p = c;
38637 + if (rp < 0)
38638 + {
38639 + as_bad(_("invalid destination register in `%s'"), str);
38640 + return;
38641 + }
38642 +
38643 + if (p[0] == '+' && p[1] == '+')
38644 + {
38645 + w_bit = 1;
38646 + p += 2;
38647 + }
38648 +
38649 + if (*p != ',')
38650 + {
38651 + as_bad(_("expected `,' after destination register in `%s'"), str);
38652 + return;
38653 + }
38654 +
38655 + str = p + 1;
38656 + regmask = avr32_parse_reglist(str, &tail);
38657 + if (*tail)
38658 + {
38659 + int retval;
38660 +
38661 + if (rp != AVR32_REG_SP)
38662 + {
38663 + as_bad(_("junk at end of line: `%s'"), tail);
38664 + return;
38665 + }
38666 +
38667 + rp = AVR32_REG_PC;
38668 +
38669 + retval = parse_reglist_tail(tail, regmask);
38670 +
38671 + switch (retval)
38672 + {
38673 + case -1:
38674 + regmask |= 1 << AVR32_REG_LR;
38675 + break;
38676 + case 0:
38677 + break;
38678 + case 1:
38679 + regmask |= 1 << AVR32_REG_R12;
38680 + break;
38681 + default:
38682 + return;
38683 + }
38684 + }
38685 +
38686 + slot = current_insn.next_slot++;
38687 + current_insn.field_value[slot].value = rp;
38688 + slot = current_insn.next_slot++;
38689 + current_insn.field_value[slot].value = w_bit;
38690 + slot = current_insn.next_slot++;
38691 + current_insn.field_value[slot].value = regmask;
38692 +}
38693 +
38694 +static void
38695 +parse_reglist_cp8(const struct avr32_operand *op ATTRIBUTE_UNUSED,
38696 + char *str, int opindex ATTRIBUTE_UNUSED)
38697 +{
38698 + unsigned long regmask;
38699 + int slot, h_bit = 0;
38700 + char *tail;
38701 +
38702 + regmask = avr32_parse_cpreglist(str, &tail);
38703 + if (*tail)
38704 + as_bad(_("junk at end of line: `%s'"), tail);
38705 + else if (regmask & 0xffUL)
38706 + {
38707 + if (regmask & 0xff00UL)
38708 + as_bad(_("register list `%s' doesn't fit"), str);
38709 + regmask &= 0xff;
38710 + }
38711 + else if (regmask & 0xff00UL)
38712 + {
38713 + regmask >>= 8;
38714 + h_bit = 1;
38715 + }
38716 + else
38717 + as_warn(_("register list is empty"));
38718 +
38719 + slot = current_insn.next_slot++;
38720 + current_insn.field_value[slot].value = regmask;
38721 + slot = current_insn.next_slot++;
38722 + current_insn.field_value[slot].value = h_bit;
38723 +}
38724 +
38725 +static void
38726 +parse_reglist_cpd8(const struct avr32_operand *op ATTRIBUTE_UNUSED,
38727 + char *str, int opindex ATTRIBUTE_UNUSED)
38728 +{
38729 + unsigned long regmask, regmask_d = 0;
38730 + int slot, i;
38731 + char *tail;
38732 +
38733 + regmask = avr32_parse_cpreglist(str, &tail);
38734 + if (*tail)
38735 + as_bad(_("junk at end of line: `%s'"), tail);
38736 +
38737 + for (i = 0; i < 8; i++)
38738 + {
38739 + if (regmask & 1)
38740 + {
38741 + if (!(regmask & 2))
38742 + {
38743 + as_bad(_("register list `%s' doesn't fit"), str);
38744 + break;
38745 + }
38746 + regmask_d |= 1 << i;
38747 + }
38748 + else if (regmask & 2)
38749 + {
38750 + as_bad(_("register list `%s' doesn't fit"), str);
38751 + break;
38752 + }
38753 +
38754 + regmask >>= 2;
38755 + }
38756 +
38757 + slot = current_insn.next_slot++;
38758 + current_insn.field_value[slot].value = regmask_d;
38759 +}
38760 +
38761 +static void
38762 +parse_retval(const struct avr32_operand *op ATTRIBUTE_UNUSED,
38763 + char *str, int opindex ATTRIBUTE_UNUSED)
38764 +{
38765 + int regid, slot;
38766 +
38767 + regid = avr32_parse_intreg(str);
38768 + if (regid < 0)
38769 + {
38770 + expressionS exp;
38771 + char *save;
38772 +
38773 + regid = 0;
38774 +
38775 + save = input_line_pointer;
38776 + input_line_pointer = str;
38777 + expression(&exp);
38778 + input_line_pointer = save;
38779 +
38780 + if (exp.X_op != O_constant)
38781 + as_bad(_("invalid return value `%s'"), str);
38782 + else
38783 + switch (exp.X_add_number)
38784 + {
38785 + case -1:
38786 + regid = AVR32_REG_LR;
38787 + break;
38788 + case 0:
38789 + regid = AVR32_REG_SP;
38790 + break;
38791 + case 1:
38792 + regid = AVR32_REG_PC;
38793 + break;
38794 + default:
38795 + as_bad(_("invalid return value `%s'"), str);
38796 + break;
38797 + }
38798 + }
38799 +
38800 + slot = current_insn.next_slot++;
38801 + current_insn.field_value[slot].value = regid;
38802 +}
38803 +
38804 +#define parse_mcall parse_intreg_disp
38805 +
38806 +static void
38807 +parse_jospinc(const struct avr32_operand *op ATTRIBUTE_UNUSED,
38808 + char *str, int opindex ATTRIBUTE_UNUSED)
38809 +{
38810 + expressionS exp;
38811 + int slot;
38812 + char *save;
38813 +
38814 + save = input_line_pointer;
38815 + input_line_pointer = str;
38816 + expression(&exp);
38817 + input_line_pointer = save;
38818 +
38819 + slot = current_insn.next_slot++;
38820 +
38821 + if (exp.X_op == O_constant)
38822 + {
38823 + if (exp.X_add_number > 0)
38824 + exp.X_add_number--;
38825 + current_insn.field_value[slot].value = exp.X_add_number;
38826 + }
38827 + else
38828 + as_bad(_("invalid numeric expression `%s'"), str);
38829 +}
38830 +
38831 +#define parse_coh parse_nothing
38832 +
38833 +static void
38834 +parse_fpreg(const struct avr32_operand *op,
38835 + char *str, int opindex ATTRIBUTE_UNUSED)
38836 +{
38837 + unsigned long regid;
38838 + int slot;
38839 +
38840 + regid = strtoul(str + 2, NULL, 10);
38841 +
38842 + if ((regid >= 16) || (regid & ((1 << op->align_order) - 1)))
38843 + as_bad(_("invalid floating-point register `%s'"), str);
38844 +
38845 + slot = current_insn.next_slot++;
38846 + current_insn.field_value[slot].value = regid;
38847 + current_insn.field_value[slot].align_order = op->align_order;
38848 +}
38849 +
38850 +static void
38851 +parse_picoreg(const struct avr32_operand *op,
38852 + char *str, int opindex ATTRIBUTE_UNUSED)
38853 +{
38854 + unsigned long regid;
38855 + int slot;
38856 +
38857 + regid = avr32_parse_picoreg(str);
38858 + if (regid & ((1 << op->align_order) - 1))
38859 + as_bad(_("invalid double-word PiCo register `%s'"), str);
38860 +
38861 + slot = current_insn.next_slot++;
38862 + current_insn.field_value[slot].value = regid;
38863 + current_insn.field_value[slot].align_order = op->align_order;
38864 +}
38865 +
38866 +static void
38867 +parse_pico_reglist_w(const struct avr32_operand *op ATTRIBUTE_UNUSED,
38868 + char *str, int opindex ATTRIBUTE_UNUSED)
38869 +{
38870 + unsigned long regmask;
38871 + int slot, h_bit = 0;
38872 + char *tail;
38873 +
38874 + regmask = avr32_parse_pico_reglist(str, &tail);
38875 + if (*tail)
38876 + as_bad(_("junk at end of line: `%s'"), tail);
38877 +
38878 + if (regmask & 0x00ffUL)
38879 + {
38880 + if (regmask & 0xff00UL)
38881 + as_bad(_("register list `%s' doesn't fit"), str);
38882 + regmask &= 0x00ffUL;
38883 + }
38884 + else if (regmask & 0xff00UL)
38885 + {
38886 + regmask >>= 8;
38887 + h_bit = 1;
38888 + }
38889 + else
38890 + as_warn(_("register list is empty"));
38891 +
38892 + slot = current_insn.next_slot++;
38893 + current_insn.field_value[slot].value = regmask;
38894 + slot = current_insn.next_slot++;
38895 + current_insn.field_value[slot].value = h_bit;
38896 +}
38897 +
38898 +static void
38899 +parse_pico_reglist_d(const struct avr32_operand *op ATTRIBUTE_UNUSED,
38900 + char *str, int opindex ATTRIBUTE_UNUSED)
38901 +{
38902 + unsigned long regmask, regmask_d = 0;
38903 + int slot, i;
38904 + char *tail;
38905 +
38906 + regmask = avr32_parse_pico_reglist(str, &tail);
38907 + if (*tail)
38908 + as_bad(_("junk at end of line: `%s'"), tail);
38909 +
38910 + for (i = 0; i < 8; i++)
38911 + {
38912 + if (regmask & 1)
38913 + {
38914 + if (!(regmask & 2))
38915 + {
38916 + as_bad(_("register list `%s' doesn't fit"), str);
38917 + break;
38918 + }
38919 + regmask_d |= 1 << i;
38920 + }
38921 + else if (regmask & 2)
38922 + {
38923 + as_bad(_("register list `%s' doesn't fit"), str);
38924 + break;
38925 + }
38926 +
38927 + regmask >>= 2;
38928 + }
38929 +
38930 + slot = current_insn.next_slot++;
38931 + current_insn.field_value[slot].value = regmask_d;
38932 +}
38933 +
38934 +static void
38935 +parse_pico_in(const struct avr32_operand *op ATTRIBUTE_UNUSED,
38936 + char *str, int opindex ATTRIBUTE_UNUSED)
38937 +{
38938 + unsigned long regid;
38939 + int slot;
38940 +
38941 + regid = strtoul(str + 2, NULL, 10);
38942 +
38943 + if (regid >= 12)
38944 + as_bad(_("invalid PiCo IN register `%s'"), str);
38945 +
38946 + slot = current_insn.next_slot++;
38947 + current_insn.field_value[slot].value = regid;
38948 + current_insn.field_value[slot].align_order = 0;
38949 +}
38950 +
38951 +#define parse_pico_out0 parse_nothing
38952 +#define parse_pico_out1 parse_nothing
38953 +#define parse_pico_out2 parse_nothing
38954 +#define parse_pico_out3 parse_nothing
38955 +
38956 +#define OP(name, sgn, pcrel, align, func) \
38957 + { AVR32_OPERAND_##name, sgn, pcrel, align, match_##func, parse_##func }
38958 +
38959 +struct avr32_operand avr32_operand_table[] = {
38960 + OP(INTREG, 0, 0, 0, intreg),
38961 + OP(INTREG_PREDEC, 0, 0, 0, intreg_predec),
38962 + OP(INTREG_POSTINC, 0, 0, 0, intreg_postinc),
38963 + OP(INTREG_LSL, 0, 0, 0, intreg_lsl),
38964 + OP(INTREG_LSR, 0, 0, 0, intreg_lsr),
38965 + OP(INTREG_BSEL, 0, 0, 0, intreg_part),
38966 + OP(INTREG_HSEL, 0, 0, 1, intreg_part),
38967 + OP(INTREG_SDISP, 1, 0, 0, intreg_disp),
38968 + OP(INTREG_SDISP_H, 1, 0, 1, intreg_disp),
38969 + OP(INTREG_SDISP_W, 1, 0, 2, intreg_disp),
38970 + OP(INTREG_UDISP, 0, 0, 0, intreg_disp),
38971 + OP(INTREG_UDISP_H, 0, 0, 1, intreg_disp),
38972 + OP(INTREG_UDISP_W, 0, 0, 2, intreg_disp),
38973 + OP(INTREG_INDEX, 0, 0, 0, intreg_index),
38974 + OP(INTREG_XINDEX, 0, 0, 0, intreg_xindex),
38975 + OP(DWREG, 0, 0, 1, intreg),
38976 + OP(PC_UDISP_W, 0, 1, 2, pc_disp),
38977 + OP(SP, 0, 0, 0, sp),
38978 + OP(SP_UDISP_W, 0, 0, 2, sp_disp),
38979 + OP(CPNO, 0, 0, 0, cpno),
38980 + OP(CPREG, 0, 0, 0, cpreg),
38981 + OP(CPREG_D, 0, 0, 1, cpreg),
38982 + OP(UNSIGNED_CONST, 0, 0, 0, const),
38983 + OP(UNSIGNED_CONST_W, 0, 0, 2, const),
38984 + OP(SIGNED_CONST, 1, 0, 0, const),
38985 + OP(SIGNED_CONST_W, 1, 0, 2, const),
38986 + OP(JMPLABEL, 1, 1, 1, jmplabel),
38987 + OP(UNSIGNED_NUMBER, 0, 0, 0, number),
38988 + OP(UNSIGNED_NUMBER_W, 0, 0, 2, number),
38989 + OP(REGLIST8, 0, 0, 0, reglist8),
38990 + OP(REGLIST9, 0, 0, 0, reglist9),
38991 + OP(REGLIST16, 0, 0, 0, reglist16),
38992 + OP(REGLIST_LDM, 0, 0, 0, reglist_ldm),
38993 + OP(REGLIST_CP8, 0, 0, 0, reglist_cp8),
38994 + OP(REGLIST_CPD8, 0, 0, 0, reglist_cpd8),
38995 + OP(RETVAL, 0, 0, 0, retval),
38996 + OP(MCALL, 1, 0, 2, mcall),
38997 + OP(JOSPINC, 0, 0, 0, jospinc),
38998 + OP(COH, 0, 0, 0, coh),
38999 + OP(FPREG_S, 0, 0, 0, fpreg),
39000 + OP(FPREG_D, 0, 0, 1, fpreg),
39001 + OP(PICO_REG_W, 0, 0, 0, picoreg),
39002 + OP(PICO_REG_D, 0, 0, 1, picoreg),
39003 + OP(PICO_REGLIST_W, 0, 0, 0, pico_reglist_w),
39004 + OP(PICO_REGLIST_D, 0, 0, 0, pico_reglist_d),
39005 + OP(PICO_IN, 0, 0, 0, pico_in),
39006 + OP(PICO_OUT0, 0, 0, 0, pico_out0),
39007 + OP(PICO_OUT1, 0, 0, 0, pico_out1),
39008 + OP(PICO_OUT2, 0, 0, 0, pico_out2),
39009 + OP(PICO_OUT3, 0, 0, 0, pico_out3),
39010 +};
39011 +
39012 +symbolS *
39013 +md_undefined_symbol (char *name ATTRIBUTE_UNUSED)
39014 +{
39015 + pr_debug("md_undefined_symbol: %s\n", name);
39016 + return 0;
39017 +}
39018 +
39019 +struct avr32_relax_type
39020 +{
39021 + long lower_bound;
39022 + long upper_bound;
39023 + unsigned char align;
39024 + unsigned char length;
39025 + signed short next;
39026 +};
39027 +
39028 +#define EMPTY { 0, 0, 0, 0, -1 }
39029 +#define C(lower, upper, align, next) \
39030 + { (lower), (upper), (align), 2, AVR32_OPC_##next }
39031 +#define E(lower, upper, align) \
39032 + { (lower), (upper), (align), 4, -1 }
39033 +
39034 +static const struct avr32_relax_type avr32_relax_table[] =
39035 + {
39036 + /* 0 */
39037 + EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY,
39038 + EMPTY, EMPTY, EMPTY,
39039 + E(0, 65535, 0), E(0, 65535, 0), E(0, 65535, 0), E(0, 65535, 0),
39040 + EMPTY,
39041 + /* 16 */
39042 + EMPTY, EMPTY, EMPTY, EMPTY,
39043 +
39044 + C(-256, 254, 1, BREQ2), C(-256, 254, 1, BRNE2),
39045 + C(-256, 254, 1, BRCC2), C(-256, 254, 1, BRCS2),
39046 + C(-256, 254, 1, BRGE2), C(-256, 254, 1, BRLT2),
39047 + C(-256, 254, 1, BRMI2), C(-256, 254, 1, BRPL2),
39048 + E(-2097152, 2097150, 1), E(-2097152, 2097150, 1),
39049 + E(-2097152, 2097150, 1), E(-2097152, 2097150, 1),
39050 + /* 32 */
39051 + E(-2097152, 2097150, 1), E(-2097152, 2097150, 1),
39052 + E(-2097152, 2097150, 1), E(-2097152, 2097150, 1),
39053 + E(-2097152, 2097150, 1), E(-2097152, 2097150, 1),
39054 + E(-2097152, 2097150, 1), E(-2097152, 2097150, 1),
39055 + E(-2097152, 2097150, 1), E(-2097152, 2097150, 1),
39056 + E(-2097152, 2097150, 1), E(-2097152, 2097150, 1),
39057 +
39058 + EMPTY, EMPTY, EMPTY, EMPTY,
39059 + /* 48 */
39060 + EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY,
39061 + EMPTY, EMPTY, EMPTY,
39062 +
39063 + C(-32, 31, 0, CP_W3), E(-1048576, 1048575, 0),
39064 +
39065 + EMPTY, EMPTY, EMPTY,
39066 + /* 64: csrfcz */
39067 + EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY,
39068 + E(0, 65535, 0), E(0, 65535, 0),
39069 + EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY,
39070 + E(-32768, 32767, 0),
39071 + /* 80: LD_SB2 */
39072 + EMPTY, EMPTY, EMPTY, EMPTY, EMPTY,
39073 +
39074 + C(0, 7, 0, LD_UB4), E(-32768, 32767, 0),
39075 +
39076 + EMPTY,
39077 + EMPTY, EMPTY,
39078 +
39079 + C(0, 14, 1, LD_SH4), E(-32768, 32767, 0),
39080 +
39081 + EMPTY, EMPTY, EMPTY,
39082 +
39083 + C(0, 14, 1, LD_UH4), E(-32768, 32767, 0),
39084 +
39085 + EMPTY, EMPTY, EMPTY, EMPTY,
39086 +
39087 + C(0, 124, 2, LD_W4), E(-32768, 32767, 0),
39088 +
39089 + E(0, 1020, 2), /* LDC_D1 */
39090 + EMPTY, EMPTY,
39091 + E(0, 1020, 2), /* LDC_W1 */
39092 + EMPTY, EMPTY,
39093 + E(0, 16380, 2), /* LDC0_D */
39094 + E(0, 16380, 2), /* LDC0_W */
39095 + EMPTY, EMPTY, EMPTY, EMPTY,
39096 +
39097 + C(0, 508, 2, LDDPC_EXT), E(-32768, 32767, 0),
39098 +
39099 + EMPTY,
39100 + EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY,
39101 + EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY,
39102 + /* 128: MACHH_W */
39103 + EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY,
39104 + E(-131072, 131068, 2), /* MCALL */
39105 + E(0, 1020, 2), /* MFDR */
39106 + E(0, 1020, 2), /* MFSR */
39107 + EMPTY, EMPTY,
39108 +
39109 + C(-128, 127, 0, MOV2), E(-1048576, 1048575, 0),
39110 +
39111 + EMPTY, EMPTY, EMPTY,
39112 + EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY,
39113 + EMPTY, EMPTY, EMPTY, EMPTY, EMPTY,
39114 +
39115 + E(-128, 127, 0), /* MOVEQ2 */
39116 + E(-128, 127, 0), /* MOVNE2 */
39117 + E(-128, 127, 0), /* MOVCC2 */
39118 + E(-128, 127, 0), /* 160: MOVCS2 */
39119 + E(-128, 127, 0), /* MOVGE2 */
39120 + E(-128, 127, 0), /* MOVLT2 */
39121 + E(-128, 127, 0), /* MOVMI2 */
39122 + E(-128, 127, 0), /* MOVPL2 */
39123 + E(-128, 127, 0), /* MOVLS2 */
39124 + E(-128, 127, 0), /* MOVGT2 */
39125 + E(-128, 127, 0), /* MOVLE2 */
39126 + E(-128, 127, 0), /* MOVHI2 */
39127 + E(-128, 127, 0), /* MOVVS2 */
39128 + E(-128, 127, 0), /* MOVVC2 */
39129 + E(-128, 127, 0), /* MOVQS2 */
39130 + E(-128, 127, 0), /* MOVAL2 */
39131 +
39132 + E(0, 1020, 2), /* MTDR */
39133 + E(0, 1020, 2), /* MTSR */
39134 + EMPTY,
39135 + EMPTY,
39136 + E(-128, 127, 0), /* MUL3 */
39137 + EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY,
39138 + EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY,
39139 + /* 192: MVCR_W */
39140 + EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY,
39141 + E(0, 65535, 0), E(0, 65535, 0),
39142 + EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY,
39143 + EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY,
39144 + EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY,
39145 + /* 224: PASR_H */
39146 + EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY,
39147 + EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY,
39148 + EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY,
39149 + EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY,
39150 + /* 256: PUNPCKSB_H */
39151 + EMPTY, EMPTY, EMPTY, EMPTY, EMPTY,
39152 +
39153 + C(-1024, 1022, 1, RCALL2), E(-2097152, 2097150, 1),
39154 +
39155 + EMPTY,
39156 + EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY,
39157 + EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY,
39158 + EMPTY, EMPTY, EMPTY,
39159 +
39160 + C(-1024, 1022, 1, BRAL),
39161 +
39162 + EMPTY, EMPTY, EMPTY,
39163 + E(-128, 127, 0), /* RSUB2 */
39164 + /* 288: SATADD_H */
39165 + EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY,
39166 + EMPTY, EMPTY, EMPTY, EMPTY, EMPTY,
39167 + E(0, 255, 0), /* SLEEP */
39168 + EMPTY, EMPTY,
39169 + EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY,
39170 + EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY,
39171 + /* 320: ST_B2 */
39172 + EMPTY, EMPTY,
39173 + C(0, 7, 0, ST_B4), E(-32768, 32767, 0),
39174 + EMPTY, EMPTY, EMPTY, EMPTY,
39175 + E(-32768, 32767, 0),
39176 + EMPTY, EMPTY, EMPTY,
39177 + C(0, 14, 1, ST_H4), E(-32768, 32767, 0),
39178 + EMPTY, EMPTY,
39179 + EMPTY,
39180 + C(0, 60, 2, ST_W4), E(-32768, 32767, 0),
39181 + E(0, 1020, 2), /* STC_D1 */
39182 + EMPTY, EMPTY,
39183 + E(0, 1020, 2), /* STC_W1 */
39184 + EMPTY, EMPTY,
39185 + E(0, 16380, 2), /* STC0_D */
39186 + E(0, 16380, 2), /* STC0_W */
39187 +
39188 + EMPTY, EMPTY, EMPTY, EMPTY, EMPTY,
39189 + /* 352: STDSP */
39190 + EMPTY, EMPTY,
39191 + E(0, 1020, 2), /* STHH_W1 */
39192 + EMPTY, EMPTY, EMPTY, EMPTY, EMPTY,
39193 + EMPTY, EMPTY, EMPTY,
39194 + E(-32768, 32767, 0),
39195 + C(-512, 508, 2, SUB4),
39196 + C(-128, 127, 0, SUB4), E(-1048576, 1048576, 0),
39197 + /* SUB{cond} */
39198 + E(-128, 127, 0), E(-128, 127, 0), E(-128, 127, 0), E(-128, 127, 0),
39199 + E(-128, 127, 0), E(-128, 127, 0), E(-128, 127, 0), E(-128, 127, 0),
39200 + E(-128, 127, 0), E(-128, 127, 0), E(-128, 127, 0), E(-128, 127, 0),
39201 + E(-128, 127, 0), E(-128, 127, 0), E(-128, 127, 0), E(-128, 127, 0),
39202 + /* SUBF{cond} */
39203 + E(-128, 127, 0), E(-128, 127, 0), E(-128, 127, 0), E(-128, 127, 0),
39204 + E(-128, 127, 0), E(-128, 127, 0), E(-128, 127, 0), E(-128, 127, 0),
39205 + E(-128, 127, 0), E(-128, 127, 0), E(-128, 127, 0), E(-128, 127, 0),
39206 + E(-128, 127, 0), E(-128, 127, 0), E(-128, 127, 0), E(-128, 127, 0),
39207 + EMPTY,
39208 +
39209 + /* 400: SWAP_B */
39210 + EMPTY, EMPTY, EMPTY,
39211 + E(0, 255, 0), /* SYNC */
39212 + EMPTY, EMPTY, EMPTY, EMPTY,
39213 + /* 408: TST */
39214 + EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY,
39215 + /* 416: EXTRACT_B */
39216 + EMPTY, EMPTY, EMPTY, EMPTY,
39217 + };
39218 +
39219 +#undef E
39220 +#undef C
39221 +#undef EMPTY
39222 +
39223 +#define AVR32_RS_NONE (-1)
39224 +
39225 +#define avr32_rs_size(state) (avr32_relax_table[(state)].length)
39226 +#define avr32_rs_align(state) (avr32_relax_table[(state)].align)
39227 +#define relax_more(state) (avr32_relax_table[(state)].next)
39228 +
39229 +#define opc_initial_substate(opc) ((opc)->id)
39230 +
39231 +static int need_relax(int subtype, offsetT distance)
39232 +{
39233 + offsetT upper_bound, lower_bound;
39234 +
39235 + upper_bound = avr32_relax_table[subtype].upper_bound;
39236 + lower_bound = avr32_relax_table[subtype].lower_bound;
39237 +
39238 + if (distance & ((1 << avr32_rs_align(subtype)) - 1))
39239 + return 1;
39240 + if ((distance > upper_bound) || (distance < lower_bound))
39241 + return 1;
39242 +
39243 + return 0;
39244 +}
39245 +
39246 +enum {
39247 + LDA_SUBTYPE_MOV1,
39248 + LDA_SUBTYPE_MOV2,
39249 + LDA_SUBTYPE_SUB,
39250 + LDA_SUBTYPE_LDDPC,
39251 + LDA_SUBTYPE_LDW,
39252 + LDA_SUBTYPE_GOTLOAD,
39253 + LDA_SUBTYPE_GOTLOAD_LARGE,
39254 +};
39255 +
39256 +enum {
39257 + CALL_SUBTYPE_RCALL1,
39258 + CALL_SUBTYPE_RCALL2,
39259 + CALL_SUBTYPE_MCALL_CP,
39260 + CALL_SUBTYPE_MCALL_GOT,
39261 + CALL_SUBTYPE_MCALL_LARGE,
39262 +};
39263 +
39264 +#define LDA_INITIAL_SIZE (avr32_pic ? 4 : 2)
39265 +#define CALL_INITIAL_SIZE 2
39266 +
39267 +#define need_reloc(sym, seg, pcrel) \
39268 + (!(S_IS_DEFINED(sym) \
39269 + && ((pcrel && S_GET_SEGMENT(sym) == seg) \
39270 + || (!pcrel && S_GET_SEGMENT(sym) == absolute_section))) \
39271 + || S_FORCE_RELOC(sym, 1))
39272 +
39273 +/* Return an initial guess of the length by which a fragment must grow to
39274 + hold a branch to reach its destination.
39275 + Also updates fr_type/fr_subtype as necessary.
39276 +
39277 + Called just before doing relaxation.
39278 + Any symbol that is now undefined will not become defined.
39279 + The guess for fr_var is ACTUALLY the growth beyond fr_fix.
39280 + Whatever we do to grow fr_fix or fr_var contributes to our returned value.
39281 + Although it may not be explicit in the frag, pretend fr_var starts with a
39282 + 0 value. */
39283 +
39284 +static int
39285 +avr32_default_estimate_size_before_relax (fragS *fragP, segT segment)
39286 +{
39287 + int growth = 0;
39288 +
39289 + assert(fragP);
39290 + assert(fragP->fr_symbol);
39291 +
39292 + if (fragP->tc_frag_data.force_extended
39293 + || need_reloc(fragP->fr_symbol, segment, fragP->tc_frag_data.pcrel))
39294 + {
39295 + int largest_state = fragP->fr_subtype;
39296 + while (relax_more(largest_state) != AVR32_RS_NONE)
39297 + largest_state = relax_more(largest_state);
39298 + growth = avr32_rs_size(largest_state) - fragP->fr_var;
39299 + }
39300 + else
39301 + {
39302 + growth = avr32_rs_size(fragP->fr_subtype) - fragP->fr_var;
39303 + }
39304 +
39305 + pr_debug("%s:%d: md_estimate_size_before_relax: %d\n",
39306 + fragP->fr_file, fragP->fr_line, growth);
39307 +
39308 + return growth;
39309 +}
39310 +
39311 +static int
39312 +avr32_lda_estimate_size_before_relax(fragS *fragP, segT segment ATTRIBUTE_UNUSED)
39313 +{
39314 + return fragP->fr_var - LDA_INITIAL_SIZE;
39315 +}
39316 +
39317 +static int
39318 +avr32_call_estimate_size_before_relax(fragS *fragP, segT segment ATTRIBUTE_UNUSED)
39319 +{
39320 + return fragP->fr_var - CALL_INITIAL_SIZE;
39321 +}
39322 +
39323 +static int
39324 +avr32_cpool_estimate_size_before_relax(fragS *fragP,
39325 + segT segment ATTRIBUTE_UNUSED)
39326 +{
39327 + return fragP->fr_var;
39328 +}
39329 +
39330 +/* This macro may be defined to relax a frag. GAS will call this with the
39331 + * segment, the frag, and the change in size of all previous frags;
39332 + * md_relax_frag should return the change in size of the frag. */
39333 +static long
39334 +avr32_default_relax_frag (segT segment, fragS *fragP, long stretch)
39335 +{
39336 + int state, next_state;
39337 + symbolS *symbolP; /* The target symbol */
39338 + long growth = 0;
39339 +
39340 + state = next_state = fragP->fr_subtype;
39341 +
39342 + symbolP = fragP->fr_symbol;
39343 +
39344 + if (fragP->tc_frag_data.force_extended
39345 + || need_reloc(symbolP, segment, fragP->tc_frag_data.pcrel))
39346 + {
39347 + /* Symbol must be resolved by the linker. Emit the largest
39348 + possible opcode. */
39349 + while (relax_more(next_state) != AVR32_RS_NONE)
39350 + next_state = relax_more(next_state);
39351 + }
39352 + else
39353 + {
39354 + addressT address; /* The address of fragP */
39355 + addressT target; /* The address of the target symbol */
39356 + offsetT distance; /* The distance between the insn and the symbol */
39357 + fragS *sym_frag;
39358 +
39359 + address = fragP->fr_address;
39360 + target = fragP->fr_offset;
39361 + symbolP = fragP->fr_symbol;
39362 + sym_frag = symbol_get_frag(symbolP);
39363 +
39364 + address += fragP->fr_fix - fragP->fr_var;
39365 + target += S_GET_VALUE(symbolP);
39366 +
39367 + if (stretch != 0
39368 + && sym_frag->relax_marker != fragP->relax_marker
39369 + && S_GET_SEGMENT(symbolP) == segment)
39370 + /* if it was correctly aligned before, make sure it stays aligned */
39371 + target += stretch & (~0UL << avr32_rs_align(state));
39372 +
39373 + if (fragP->tc_frag_data.pcrel)
39374 + distance = target - (address & (~0UL << avr32_rs_align(state)));
39375 + else
39376 + distance = target;
39377 +
39378 + pr_debug("%s:%d: relax more? 0x%x - 0x%x = 0x%x (%d), align %d\n",
39379 + fragP->fr_file, fragP->fr_line, target, address,
39380 + distance, distance, avr32_rs_align(state));
39381 +
39382 + if (need_relax(state, distance))
39383 + {
39384 + if (relax_more(state) != AVR32_RS_NONE)
39385 + next_state = relax_more(state);
39386 + pr_debug("%s:%d: relax more %d -> %d (%d - %d, align %d)\n",
39387 + fragP->fr_file, fragP->fr_line, state, next_state,
39388 + target, address, avr32_rs_align(state));
39389 + }
39390 + }
39391 +
39392 + growth = avr32_rs_size(next_state) - avr32_rs_size(state);
39393 + fragP->fr_subtype = next_state;
39394 +
39395 + pr_debug("%s:%d: md_relax_frag: growth=%d, subtype=%d, opc=0x%08lx\n",
39396 + fragP->fr_file, fragP->fr_line, growth, fragP->fr_subtype,
39397 + avr32_opc_table[next_state].value);
39398 +
39399 + return growth;
39400 +}
39401 +
39402 +static long
39403 +avr32_lda_relax_frag(segT segment, fragS *fragP, long stretch)
39404 +{
39405 + struct cpool *pool= NULL;
39406 + unsigned int entry = 0;
39407 + addressT address, target;
39408 + offsetT distance;
39409 + symbolS *symbolP;
39410 + fragS *sym_frag;
39411 + long old_size, new_size;
39412 +
39413 + symbolP = fragP->fr_symbol;
39414 + old_size = fragP->fr_var;
39415 + if (!avr32_pic)
39416 + {
39417 + pool = fragP->tc_frag_data.pool;
39418 + entry = fragP->tc_frag_data.pool_entry;
39419 + }
39420 +
39421 + address = fragP->fr_address;
39422 + address += fragP->fr_fix - LDA_INITIAL_SIZE;
39423 +
39424 + if (!S_IS_DEFINED(symbolP) || S_FORCE_RELOC(symbolP, 1))
39425 + goto relax_max;
39426 +
39427 + target = fragP->fr_offset;
39428 + sym_frag = symbol_get_frag(symbolP);
39429 + target += S_GET_VALUE(symbolP);
39430 +
39431 + if (sym_frag->relax_marker != fragP->relax_marker
39432 + && S_GET_SEGMENT(symbolP) == segment)
39433 + target += stretch;
39434 +
39435 + distance = target - address;
39436 +
39437 + pr_debug("lda_relax_frag: target: %d, address: %d, var: %d\n",
39438 + target, address, fragP->fr_var);
39439 +
39440 + if (!avr32_pic && S_GET_SEGMENT(symbolP) == absolute_section
39441 + && target <= 127 && (offsetT)target >= -128)
39442 + {
39443 + if (fragP->fr_subtype == LDA_SUBTYPE_LDDPC
39444 + || fragP->fr_subtype == LDA_SUBTYPE_LDW)
39445 + pool->literals[entry].refcount--;
39446 + new_size = 2;
39447 + fragP->fr_subtype = LDA_SUBTYPE_MOV1;
39448 + }
39449 + else if (!avr32_pic && S_GET_SEGMENT(symbolP) == absolute_section
39450 + && target <= 1048575 && (offsetT)target >= -1048576)
39451 + {
39452 + if (fragP->fr_subtype == LDA_SUBTYPE_LDDPC
39453 + || fragP->fr_subtype == LDA_SUBTYPE_LDW)
39454 + pool->literals[entry].refcount--;
39455 + new_size = 4;
39456 + fragP->fr_subtype = LDA_SUBTYPE_MOV2;
39457 + }
39458 + else if (!linkrelax && S_GET_SEGMENT(symbolP) == segment
39459 + /* the field will be negated, so this is really -(-32768)
39460 + and -(32767) */
39461 + && distance <= 32768 && distance >= -32767)
39462 + {
39463 + if (!avr32_pic
39464 + && (fragP->fr_subtype == LDA_SUBTYPE_LDDPC
39465 + || fragP->fr_subtype == LDA_SUBTYPE_LDW))
39466 + pool->literals[entry].refcount--;
39467 + new_size = 4;
39468 + fragP->fr_subtype = LDA_SUBTYPE_SUB;
39469 + }
39470 + else
39471 + {
39472 + relax_max:
39473 + if (avr32_pic)
39474 + {
39475 + if (linkrelax)
39476 + {
39477 + new_size = 8;
39478 + fragP->fr_subtype = LDA_SUBTYPE_GOTLOAD_LARGE;
39479 + }
39480 + else
39481 + {
39482 + new_size = 4;
39483 + fragP->fr_subtype = LDA_SUBTYPE_GOTLOAD;
39484 + }
39485 + }
39486 + else
39487 + {
39488 + if (fragP->fr_subtype != LDA_SUBTYPE_LDDPC
39489 + && fragP->fr_subtype != LDA_SUBTYPE_LDW)
39490 + pool->literals[entry].refcount++;
39491 +
39492 + sym_frag = symbol_get_frag(pool->symbol);
39493 + target = (sym_frag->fr_address + sym_frag->fr_fix
39494 + + pool->padding + pool->literals[entry].offset);
39495 +
39496 + pr_debug("cpool sym address: 0x%lx\n",
39497 + sym_frag->fr_address + sym_frag->fr_fix);
39498 +
39499 + know(pool->section == segment);
39500 +
39501 + if (sym_frag->relax_marker != fragP->relax_marker)
39502 + target += stretch;
39503 +
39504 + distance = target - address;
39505 + if (distance <= 508 && distance >= 0)
39506 + {
39507 + new_size = 2;
39508 + fragP->fr_subtype = LDA_SUBTYPE_LDDPC;
39509 + }
39510 + else
39511 + {
39512 + new_size = 4;
39513 + fragP->fr_subtype = LDA_SUBTYPE_LDW;
39514 + }
39515 +
39516 + pr_debug("lda_relax_frag (cpool): target=0x%lx, address=0x%lx, refcount=%d\n",
39517 + target, address, pool->literals[entry].refcount);
39518 + }
39519 + }
39520 +
39521 + fragP->fr_var = new_size;
39522 +
39523 + pr_debug("%s:%d: lda: relax pass done. subtype: %d, growth: %ld\n",
39524 + fragP->fr_file, fragP->fr_line,
39525 + fragP->fr_subtype, new_size - old_size);
39526 +
39527 + return new_size - old_size;
39528 +}
39529 +
39530 +static long
39531 +avr32_call_relax_frag(segT segment, fragS *fragP, long stretch)
39532 +{
39533 + struct cpool *pool = NULL;
39534 + unsigned int entry = 0;
39535 + addressT address, target;
39536 + offsetT distance;
39537 + symbolS *symbolP;
39538 + fragS *sym_frag;
39539 + long old_size, new_size;
39540 +
39541 + symbolP = fragP->fr_symbol;
39542 + old_size = fragP->fr_var;
39543 + if (!avr32_pic)
39544 + {
39545 + pool = fragP->tc_frag_data.pool;
39546 + entry = fragP->tc_frag_data.pool_entry;
39547 + }
39548 +
39549 + address = fragP->fr_address;
39550 + address += fragP->fr_fix - CALL_INITIAL_SIZE;
39551 +
39552 + if (need_reloc(symbolP, segment, 1))
39553 + {
39554 + pr_debug("call: must emit reloc\n");
39555 + goto relax_max;
39556 + }
39557 +
39558 + target = fragP->fr_offset;
39559 + sym_frag = symbol_get_frag(symbolP);
39560 + target += S_GET_VALUE(symbolP);
39561 +
39562 + if (sym_frag->relax_marker != fragP->relax_marker
39563 + && S_GET_SEGMENT(symbolP) == segment)
39564 + target += stretch;
39565 +
39566 + distance = target - address;
39567 +
39568 + if (distance <= 1022 && distance >= -1024)
39569 + {
39570 + pr_debug("call: distance is %d, emitting short rcall\n", distance);
39571 + if (!avr32_pic && fragP->fr_subtype == CALL_SUBTYPE_MCALL_CP)
39572 + pool->literals[entry].refcount--;
39573 + new_size = 2;
39574 + fragP->fr_subtype = CALL_SUBTYPE_RCALL1;
39575 + }
39576 + else if (distance <= 2097150 && distance >= -2097152)
39577 + {
39578 + pr_debug("call: distance is %d, emitting long rcall\n", distance);
39579 + if (!avr32_pic && fragP->fr_subtype == CALL_SUBTYPE_MCALL_CP)
39580 + pool->literals[entry].refcount--;
39581 + new_size = 4;
39582 + fragP->fr_subtype = CALL_SUBTYPE_RCALL2;
39583 + }
39584 + else
39585 + {
39586 + pr_debug("call: distance %d too far, emitting something big\n", distance);
39587 +
39588 + relax_max:
39589 + if (avr32_pic)
39590 + {
39591 + if (linkrelax)
39592 + {
39593 + new_size = 10;
39594 + fragP->fr_subtype = CALL_SUBTYPE_MCALL_LARGE;
39595 + }
39596 + else
39597 + {
39598 + new_size = 4;
39599 + fragP->fr_subtype = CALL_SUBTYPE_MCALL_GOT;
39600 + }
39601 + }
39602 + else
39603 + {
39604 + if (fragP->fr_subtype != CALL_SUBTYPE_MCALL_CP)
39605 + pool->literals[entry].refcount++;
39606 +
39607 + new_size = 4;
39608 + fragP->fr_subtype = CALL_SUBTYPE_MCALL_CP;
39609 + }
39610 + }
39611 +
39612 + fragP->fr_var = new_size;
39613 +
39614 + pr_debug("%s:%d: call: relax pass done, growth: %d, fr_var: %d\n",
39615 + fragP->fr_file, fragP->fr_line,
39616 + new_size - old_size, fragP->fr_var);
39617 +
39618 + return new_size - old_size;
39619 +}
39620 +
39621 +static long
39622 +avr32_cpool_relax_frag(segT segment ATTRIBUTE_UNUSED,
39623 + fragS *fragP,
39624 + long stretch ATTRIBUTE_UNUSED)
39625 +{
39626 + struct cpool *pool;
39627 + addressT address;
39628 + long old_size, new_size;
39629 + unsigned int entry;
39630 +
39631 + pool = fragP->tc_frag_data.pool;
39632 + address = fragP->fr_address + fragP->fr_fix;
39633 + old_size = fragP->fr_var;
39634 + new_size = 0;
39635 +
39636 + for (entry = 0; entry < pool->next_free_entry; entry++)
39637 + {
39638 + if (pool->literals[entry].refcount > 0)
39639 + {
39640 + pool->literals[entry].offset = new_size;
39641 + new_size += 4;
39642 + }
39643 + }
39644 +
39645 + fragP->fr_var = new_size;
39646 +
39647 + return new_size - old_size;
39648 +}
39649 +
39650 +/* *fragP has been relaxed to its final size, and now needs to have
39651 + the bytes inside it modified to conform to the new size.
39652 +
39653 + Called after relaxation is finished.
39654 + fragP->fr_type == rs_machine_dependent.
39655 + fragP->fr_subtype is the subtype of what the address relaxed to. */
39656 +
39657 +static void
39658 +avr32_default_convert_frag (bfd *abfd ATTRIBUTE_UNUSED,
39659 + segT segment ATTRIBUTE_UNUSED,
39660 + fragS *fragP)
39661 +{
39662 + const struct avr32_opcode *opc;
39663 + const struct avr32_ifield *ifield;
39664 + bfd_reloc_code_real_type r_type;
39665 + symbolS *symbolP;
39666 + fixS *fixP;
39667 + bfd_vma value;
39668 + int subtype;
39669 +
39670 + opc = &avr32_opc_table[fragP->fr_subtype];
39671 + ifield = opc->fields[opc->var_field];
39672 + symbolP = fragP->fr_symbol;
39673 + subtype = fragP->fr_subtype;
39674 + r_type = opc->reloc_type;
39675 +
39676 + /* Clear the opcode bits and the bits belonging to the relaxed
39677 + field. We assume all other fields stay the same. */
39678 + value = bfd_getb32(fragP->fr_opcode);
39679 + value &= ~(opc->mask | ifield->mask);
39680 +
39681 + /* Insert the new opcode */
39682 + value |= opc->value;
39683 + bfd_putb32(value, fragP->fr_opcode);
39684 +
39685 + fragP->fr_fix += opc->size - fragP->fr_var;
39686 +
39687 + if (fragP->tc_frag_data.reloc_info != AVR32_OPINFO_NONE)
39688 + {
39689 + switch (fragP->tc_frag_data.reloc_info)
39690 + {
39691 + case AVR32_OPINFO_HI:
39692 + r_type = BFD_RELOC_HI16;
39693 + break;
39694 + case AVR32_OPINFO_LO:
39695 + r_type = BFD_RELOC_LO16;
39696 + break;
39697 + case AVR32_OPINFO_GOT:
39698 + switch (r_type)
39699 + {
39700 + case BFD_RELOC_AVR32_18W_PCREL:
39701 + r_type = BFD_RELOC_AVR32_GOT18SW;
39702 + break;
39703 + case BFD_RELOC_AVR32_16S:
39704 + r_type = BFD_RELOC_AVR32_GOT16S;
39705 + break;
39706 + default:
39707 + BAD_CASE(r_type);
39708 + break;
39709 + }
39710 + break;
39711 + default:
39712 + BAD_CASE(fragP->tc_frag_data.reloc_info);
39713 + break;
39714 + }
39715 + }
39716 +
39717 + pr_debug("%s:%d: convert_frag: new %s fixup\n",
39718 + fragP->fr_file, fragP->fr_line,
39719 + bfd_get_reloc_code_name(r_type));
39720 +
39721 +#if 1
39722 + fixP = fix_new_exp(fragP, fragP->fr_fix - opc->size, opc->size,
39723 + &fragP->tc_frag_data.exp,
39724 + fragP->tc_frag_data.pcrel, r_type);
39725 +#else
39726 + fixP = fix_new(fragP, fragP->fr_fix - opc->size, opc->size, symbolP,
39727 + fragP->fr_offset, fragP->tc_frag_data.pcrel, r_type);
39728 +#endif
39729 +
39730 + /* Revert fix_new brain damage. "dot_value" is the value of PC at
39731 + the point of the fixup, relative to the frag address. fix_new()
39732 + and friends think they are only being called during the assembly
39733 + pass, not during relaxation or similar, so fx_dot_value, fx_file
39734 + and fx_line are all initialized to the wrong value. But we don't
39735 + know the size of the fixup until now, so we really can't live up
39736 + to the assumptions these functions make about the target. What
39737 + do these functions think the "where" and "frag" argument mean
39738 + anyway? */
39739 + fixP->fx_dot_value = fragP->fr_fix - opc->size;
39740 + fixP->fx_file = fragP->fr_file;
39741 + fixP->fx_line = fragP->fr_line;
39742 +
39743 + fixP->tc_fix_data.ifield = ifield;
39744 + fixP->tc_fix_data.align = avr32_rs_align(subtype);
39745 + fixP->tc_fix_data.min = avr32_relax_table[subtype].lower_bound;
39746 + fixP->tc_fix_data.max = avr32_relax_table[subtype].upper_bound;
39747 +}
39748 +
39749 +static void
39750 +avr32_lda_convert_frag(bfd *abfd ATTRIBUTE_UNUSED,
39751 + segT segment ATTRIBUTE_UNUSED,
39752 + fragS *fragP)
39753 +{
39754 + const struct avr32_opcode *opc;
39755 + const struct avr32_ifield *ifield;
39756 + bfd_reloc_code_real_type r_type;
39757 + expressionS exp;
39758 + struct cpool *pool;
39759 + fixS *fixP;
39760 + bfd_vma value;
39761 + int regid, pcrel = 0, align = 0;
39762 + char *p;
39763 +
39764 + r_type = BFD_RELOC_NONE;
39765 + regid = fragP->tc_frag_data.reloc_info;
39766 + p = fragP->fr_opcode;
39767 + exp.X_add_symbol = fragP->fr_symbol;
39768 + exp.X_add_number = fragP->fr_offset;
39769 + exp.X_op = O_symbol;
39770 +
39771 + pr_debug("%s:%d: lda_convert_frag, subtype: %d, fix: %d, var: %d, regid: %d\n",
39772 + fragP->fr_file, fragP->fr_line,
39773 + fragP->fr_subtype, fragP->fr_fix, fragP->fr_var, regid);
39774 +
39775 + switch (fragP->fr_subtype)
39776 + {
39777 + case LDA_SUBTYPE_MOV1:
39778 + opc = &avr32_opc_table[AVR32_OPC_MOV1];
39779 + opc->fields[0]->insert(opc->fields[0], p, regid);
39780 + ifield = opc->fields[1];
39781 + r_type = opc->reloc_type;
39782 + break;
39783 + case LDA_SUBTYPE_MOV2:
39784 + opc = &avr32_opc_table[AVR32_OPC_MOV2];
39785 + opc->fields[0]->insert(opc->fields[0], p, regid);
39786 + ifield = opc->fields[1];
39787 + r_type = opc->reloc_type;
39788 + break;
39789 + case LDA_SUBTYPE_SUB:
39790 + opc = &avr32_opc_table[AVR32_OPC_SUB5];
39791 + opc->fields[0]->insert(opc->fields[0], p, regid);
39792 + opc->fields[1]->insert(opc->fields[1], p, AVR32_REG_PC);
39793 + ifield = opc->fields[2];
39794 + r_type = BFD_RELOC_AVR32_16N_PCREL;
39795 +
39796 + /* Pretend that SUB5 isn't a "negated" pcrel expression for now.
39797 + We'll have to fix it up later when we know whether to
39798 + generate a reloc for it (in which case the linker will negate
39799 + it, so we shouldn't). */
39800 + pcrel = 1;
39801 + break;
39802 + case LDA_SUBTYPE_LDDPC:
39803 + opc = &avr32_opc_table[AVR32_OPC_LDDPC];
39804 + align = 2;
39805 + r_type = BFD_RELOC_AVR32_9W_CP;
39806 + goto cpool_common;
39807 + case LDA_SUBTYPE_LDW:
39808 + opc = &avr32_opc_table[AVR32_OPC_LDDPC_EXT];
39809 + r_type = BFD_RELOC_AVR32_16_CP;
39810 + cpool_common:
39811 + opc->fields[0]->insert(opc->fields[0], p, regid);
39812 + ifield = opc->fields[1];
39813 + pool = fragP->tc_frag_data.pool;
39814 + exp.X_add_symbol = pool->symbol;
39815 + exp.X_add_number = pool->literals[fragP->tc_frag_data.pool_entry].offset;
39816 + pcrel = 1;
39817 + break;
39818 + case LDA_SUBTYPE_GOTLOAD_LARGE:
39819 + /* ld.w Rd, r6[Rd << 2] (last) */
39820 + opc = &avr32_opc_table[AVR32_OPC_LD_W5];
39821 + bfd_putb32(opc->value, p + 4);
39822 + opc->fields[0]->insert(opc->fields[0], p + 4, regid);
39823 + opc->fields[1]->insert(opc->fields[1], p + 4, 6);
39824 + opc->fields[2]->insert(opc->fields[2], p + 4, regid);
39825 + opc->fields[3]->insert(opc->fields[3], p + 4, 2);
39826 +
39827 + /* mov Rd, (got_offset / 4) */
39828 + opc = &avr32_opc_table[AVR32_OPC_MOV2];
39829 + opc->fields[0]->insert(opc->fields[0], p, regid);
39830 + ifield = opc->fields[1];
39831 + r_type = BFD_RELOC_AVR32_LDA_GOT;
39832 + break;
39833 + case LDA_SUBTYPE_GOTLOAD:
39834 + opc = &avr32_opc_table[AVR32_OPC_LD_W4];
39835 + opc->fields[0]->insert(opc->fields[0], p, regid);
39836 + opc->fields[1]->insert(opc->fields[1], p, 6);
39837 + ifield = opc->fields[2];
39838 + if (r_type == BFD_RELOC_NONE)
39839 + r_type = BFD_RELOC_AVR32_GOT16S;
39840 + break;
39841 + default:
39842 + BAD_CASE(fragP->fr_subtype);
39843 + }
39844 +
39845 + value = bfd_getb32(p);
39846 + value &= ~(opc->mask | ifield->mask);
39847 + value |= opc->value;
39848 + bfd_putb32(value, p);
39849 +
39850 + fragP->fr_fix += fragP->fr_var - LDA_INITIAL_SIZE;
39851 +
39852 + if (fragP->fr_next
39853 + && ((offsetT)(fragP->fr_next->fr_address - fragP->fr_address)
39854 + != fragP->fr_fix))
39855 + {
39856 + fprintf(stderr, "LDA frag: fr_fix is wrong! fragP->fr_var = %ld, r_type = %s\n",
39857 + fragP->fr_var, bfd_get_reloc_code_name(r_type));
39858 + abort();
39859 + }
39860 +
39861 + fixP = fix_new_exp(fragP, fragP->fr_fix - fragP->fr_var, fragP->fr_var,
39862 + &exp, pcrel, r_type);
39863 +
39864 + /* Revert fix_new brain damage. "dot_value" is the value of PC at
39865 + the point of the fixup, relative to the frag address. fix_new()
39866 + and friends think they are only being called during the assembly
39867 + pass, not during relaxation or similar, so fx_dot_value, fx_file
39868 + and fx_line are all initialized to the wrong value. But we don't
39869 + know the size of the fixup until now, so we really can't live up
39870 + to the assumptions these functions make about the target. What
39871 + do these functions think the "where" and "frag" argument mean
39872 + anyway? */
39873 + fixP->fx_dot_value = fragP->fr_fix - opc->size;
39874 + fixP->fx_file = fragP->fr_file;
39875 + fixP->fx_line = fragP->fr_line;
39876 +
39877 + fixP->tc_fix_data.ifield = ifield;
39878 + fixP->tc_fix_data.align = align;
39879 + /* these are only used if the fixup can actually be resolved */
39880 + fixP->tc_fix_data.min = -32768;
39881 + fixP->tc_fix_data.max = 32767;
39882 +}
39883 +
39884 +static void
39885 +avr32_call_convert_frag(bfd *abfd ATTRIBUTE_UNUSED,
39886 + segT segment ATTRIBUTE_UNUSED,
39887 + fragS *fragP)
39888 +{
39889 + const struct avr32_opcode *opc = NULL;
39890 + const struct avr32_ifield *ifield;
39891 + bfd_reloc_code_real_type r_type;
39892 + symbolS *symbol;
39893 + offsetT offset;
39894 + fixS *fixP;
39895 + bfd_vma value;
39896 + int pcrel = 0, align = 0;
39897 + char *p;
39898 +
39899 + symbol = fragP->fr_symbol;
39900 + offset = fragP->fr_offset;
39901 + r_type = BFD_RELOC_NONE;
39902 + p = fragP->fr_opcode;
39903 +
39904 + pr_debug("%s:%d: call_convert_frag, subtype: %d, fix: %d, var: %d\n",
39905 + fragP->fr_file, fragP->fr_line,
39906 + fragP->fr_subtype, fragP->fr_fix, fragP->fr_var);
39907 +
39908 + switch (fragP->fr_subtype)
39909 + {
39910 + case CALL_SUBTYPE_RCALL1:
39911 + opc = &avr32_opc_table[AVR32_OPC_RCALL1];
39912 + /* fall through */
39913 + case CALL_SUBTYPE_RCALL2:
39914 + if (!opc)
39915 + opc = &avr32_opc_table[AVR32_OPC_RCALL2];
39916 + ifield = opc->fields[0];
39917 + r_type = opc->reloc_type;
39918 + pcrel = 1;
39919 + align = 1;
39920 + break;
39921 + case CALL_SUBTYPE_MCALL_CP:
39922 + opc = &avr32_opc_table[AVR32_OPC_MCALL];
39923 + opc->fields[0]->insert(opc->fields[0], p, AVR32_REG_PC);
39924 + ifield = opc->fields[1];
39925 + r_type = BFD_RELOC_AVR32_CPCALL;
39926 + symbol = fragP->tc_frag_data.pool->symbol;
39927 + offset = fragP->tc_frag_data.pool->literals[fragP->tc_frag_data.pool_entry].offset;
39928 + assert(fragP->tc_frag_data.pool->literals[fragP->tc_frag_data.pool_entry].refcount > 0);
39929 + pcrel = 1;
39930 + align = 2;
39931 + break;
39932 + case CALL_SUBTYPE_MCALL_GOT:
39933 + opc = &avr32_opc_table[AVR32_OPC_MCALL];
39934 + opc->fields[0]->insert(opc->fields[0], p, 6);
39935 + ifield = opc->fields[1];
39936 + r_type = BFD_RELOC_AVR32_GOT18SW;
39937 + break;
39938 + case CALL_SUBTYPE_MCALL_LARGE:
39939 + assert(fragP->fr_var == 10);
39940 + /* ld.w lr, r6[lr << 2] */
39941 + opc = &avr32_opc_table[AVR32_OPC_LD_W5];
39942 + bfd_putb32(opc->value, p + 4);
39943 + opc->fields[0]->insert(opc->fields[0], p + 4, AVR32_REG_LR);
39944 + opc->fields[1]->insert(opc->fields[1], p + 4, 6);
39945 + opc->fields[2]->insert(opc->fields[2], p + 4, AVR32_REG_LR);
39946 + opc->fields[3]->insert(opc->fields[3], p + 4, 2);
39947 +
39948 + /* icall lr */
39949 + opc = &avr32_opc_table[AVR32_OPC_ICALL];
39950 + bfd_putb16(opc->value >> 16, p + 8);
39951 + opc->fields[0]->insert(opc->fields[0], p + 8, AVR32_REG_LR);
39952 +
39953 + /* mov lr, (got_offset / 4) */
39954 + opc = &avr32_opc_table[AVR32_OPC_MOV2];
39955 + opc->fields[0]->insert(opc->fields[0], p, AVR32_REG_LR);
39956 + ifield = opc->fields[1];
39957 + r_type = BFD_RELOC_AVR32_GOTCALL;
39958 + break;
39959 + default:
39960 + BAD_CASE(fragP->fr_subtype);
39961 + }
39962 +
39963 + /* Insert the opcode and clear the variable ifield */
39964 + value = bfd_getb32(p);
39965 + value &= ~(opc->mask | ifield->mask);
39966 + value |= opc->value;
39967 + bfd_putb32(value, p);
39968 +
39969 + fragP->fr_fix += fragP->fr_var - CALL_INITIAL_SIZE;
39970 +
39971 + if (fragP->fr_next
39972 + && ((offsetT)(fragP->fr_next->fr_address - fragP->fr_address)
39973 + != fragP->fr_fix))
39974 + {
39975 + fprintf(stderr, "%s:%d: fr_fix %lu is wrong! fr_var=%lu, r_type=%s\n",
39976 + fragP->fr_file, fragP->fr_line,
39977 + fragP->fr_fix, fragP->fr_var, bfd_get_reloc_code_name(r_type));
39978 + fprintf(stderr, "fr_fix should be %ld. next frag is %s:%d\n",
39979 + (offsetT)(fragP->fr_next->fr_address - fragP->fr_address),
39980 + fragP->fr_next->fr_file, fragP->fr_next->fr_line);
39981 + }
39982 +
39983 + fixP = fix_new(fragP, fragP->fr_fix - fragP->fr_var, fragP->fr_var,
39984 + symbol, offset, pcrel, r_type);
39985 +
39986 + /* Revert fix_new brain damage. "dot_value" is the value of PC at
39987 + the point of the fixup, relative to the frag address. fix_new()
39988 + and friends think they are only being called during the assembly
39989 + pass, not during relaxation or similar, so fx_dot_value, fx_file
39990 + and fx_line are all initialized to the wrong value. But we don't
39991 + know the size of the fixup until now, so we really can't live up
39992 + to the assumptions these functions make about the target. What
39993 + do these functions think the "where" and "frag" argument mean
39994 + anyway? */
39995 + fixP->fx_dot_value = fragP->fr_fix - opc->size;
39996 + fixP->fx_file = fragP->fr_file;
39997 + fixP->fx_line = fragP->fr_line;
39998 +
39999 + fixP->tc_fix_data.ifield = ifield;
40000 + fixP->tc_fix_data.align = align;
40001 + /* these are only used if the fixup can actually be resolved */
40002 + fixP->tc_fix_data.min = -2097152;
40003 + fixP->tc_fix_data.max = 2097150;
40004 +}
40005 +
40006 +static void
40007 +avr32_cpool_convert_frag(bfd *abfd ATTRIBUTE_UNUSED,
40008 + segT segment ATTRIBUTE_UNUSED,
40009 + fragS *fragP)
40010 +{
40011 + struct cpool *pool;
40012 + addressT address;
40013 + unsigned int entry;
40014 + char *p;
40015 + char sym_name[20];
40016 +
40017 + /* Did we get rid of the frag altogether? */
40018 + if (!fragP->fr_var)
40019 + return;
40020 +
40021 + pool = fragP->tc_frag_data.pool;
40022 + address = fragP->fr_address + fragP->fr_fix;
40023 + p = fragP->fr_literal + fragP->fr_fix;
40024 +
40025 + sprintf(sym_name, "$$cp_\002%x", pool->id);
40026 + symbol_locate(pool->symbol, sym_name, pool->section, fragP->fr_fix, fragP);
40027 + symbol_table_insert(pool->symbol);
40028 +
40029 + for (entry = 0; entry < pool->next_free_entry; entry++)
40030 + {
40031 + if (pool->literals[entry].refcount > 0)
40032 + {
40033 + fix_new_exp(fragP, fragP->fr_fix, 4, &pool->literals[entry].exp,
40034 + FALSE, BFD_RELOC_AVR32_32_CPENT);
40035 + fragP->fr_fix += 4;
40036 + }
40037 + }
40038 +}
40039 +
40040 +static struct avr32_relaxer avr32_default_relaxer = {
40041 + .estimate_size = avr32_default_estimate_size_before_relax,
40042 + .relax_frag = avr32_default_relax_frag,
40043 + .convert_frag = avr32_default_convert_frag,
40044 +};
40045 +static struct avr32_relaxer avr32_lda_relaxer = {
40046 + .estimate_size = avr32_lda_estimate_size_before_relax,
40047 + .relax_frag = avr32_lda_relax_frag,
40048 + .convert_frag = avr32_lda_convert_frag,
40049 +};
40050 +static struct avr32_relaxer avr32_call_relaxer = {
40051 + .estimate_size = avr32_call_estimate_size_before_relax,
40052 + .relax_frag = avr32_call_relax_frag,
40053 + .convert_frag = avr32_call_convert_frag,
40054 +};
40055 +static struct avr32_relaxer avr32_cpool_relaxer = {
40056 + .estimate_size = avr32_cpool_estimate_size_before_relax,
40057 + .relax_frag = avr32_cpool_relax_frag,
40058 + .convert_frag = avr32_cpool_convert_frag,
40059 +};
40060 +
40061 +static void s_cpool(int arg ATTRIBUTE_UNUSED)
40062 +{
40063 + struct cpool *pool;
40064 + unsigned int max_size;
40065 + char *buf;
40066 +
40067 + pool = find_cpool(now_seg, now_subseg);
40068 + if (!pool || !pool->symbol || pool->next_free_entry == 0)
40069 + return;
40070 +
40071 + /* Make sure the constant pool is properly aligned */
40072 + frag_align_code(2, 0);
40073 +
40074 + /* Assume none of the entries are discarded, and that we need the
40075 + maximum amount of alignment. But we're not going to allocate
40076 + anything up front. */
40077 + max_size = pool->next_free_entry * 4 + 2;
40078 + frag_grow(max_size);
40079 + buf = frag_more(0);
40080 +
40081 + frag_now->tc_frag_data.relaxer = &avr32_cpool_relaxer;
40082 + frag_now->tc_frag_data.pool = pool;
40083 +
40084 + symbol_set_frag(pool->symbol, frag_now);
40085 +
40086 + /* Assume zero initial size, allowing other relaxers to be
40087 + optimistic about things. */
40088 + frag_var(rs_machine_dependent, max_size, 0,
40089 + 0, pool->symbol, 0, NULL);
40090 +
40091 + /* Mark the pool as empty. */
40092 + pool->used = 1;
40093 +}
40094 +
40095 +/* The location from which a PC relative jump should be calculated,
40096 + given a PC relative reloc. */
40097 +
40098 +long
40099 +md_pcrel_from_section (fixS *fixP, segT sec)
40100 +{
40101 + pr_debug("pcrel_from_section, fx_offset = %d\n", fixP->fx_offset);
40102 +
40103 + if (fixP->fx_addsy != NULL
40104 + && (! S_IS_DEFINED (fixP->fx_addsy)
40105 + || S_GET_SEGMENT (fixP->fx_addsy) != sec
40106 + || S_FORCE_RELOC(fixP->fx_addsy, 1)))
40107 + {
40108 + pr_debug("Unknown pcrel symbol: %s\n", S_GET_NAME(fixP->fx_addsy));
40109 +
40110 + /* The symbol is undefined (or is defined but not in this section).
40111 + Let the linker figure it out. */
40112 + return 0;
40113 + }
40114 +
40115 + pr_debug("pcrel from %x + %x, symbol: %s (%x)\n",
40116 + fixP->fx_frag->fr_address, fixP->fx_where,
40117 + fixP->fx_addsy?S_GET_NAME(fixP->fx_addsy):"(null)",
40118 + fixP->fx_addsy?S_GET_VALUE(fixP->fx_addsy):0);
40119 +
40120 + return ((fixP->fx_frag->fr_address + fixP->fx_where)
40121 + & (~0UL << fixP->tc_fix_data.align));
40122 +}
40123 +
40124 +valueT
40125 +md_section_align (segT segment, valueT size)
40126 +{
40127 + int align = bfd_get_section_alignment (stdoutput, segment);
40128 + return ((size + (1 << align) - 1) & (-1 << align));
40129 +}
40130 +
40131 +static int syntax_matches(const struct avr32_syntax *syntax,
40132 + char *str)
40133 +{
40134 + int i;
40135 +
40136 + pr_debug("syntax %d matches `%s'?\n", syntax->id, str);
40137 +
40138 + if (syntax->nr_operands < 0)
40139 + {
40140 + struct avr32_operand *op;
40141 + int optype;
40142 +
40143 + for (i = 0; i < (-syntax->nr_operands - 1); i++)
40144 + {
40145 + char *p;
40146 + char c;
40147 +
40148 + optype = syntax->operand[i];
40149 + assert(optype < AVR32_NR_OPERANDS);
40150 + op = &avr32_operand_table[optype];
40151 +
40152 + for (p = str; *p; p++)
40153 + if (*p == ',')
40154 + break;
40155 +
40156 + if (p == str)
40157 + return 0;
40158 +
40159 + c = *p;
40160 + *p = 0;
40161 +
40162 + if (!op->match(str))
40163 + {
40164 + *p = c;
40165 + return 0;
40166 + }
40167 +
40168 + str = p;
40169 + *p = c;
40170 + if (c)
40171 + str++;
40172 + }
40173 +
40174 + optype = syntax->operand[i];
40175 + assert(optype < AVR32_NR_OPERANDS);
40176 + op = &avr32_operand_table[optype];
40177 +
40178 + if (!op->match(str))
40179 + return 0;
40180 + return 1;
40181 + }
40182 +
40183 + for (i = 0; i < syntax->nr_operands; i++)
40184 + {
40185 + struct avr32_operand *op;
40186 + int optype = syntax->operand[i];
40187 + char *p;
40188 + char c;
40189 +
40190 + assert(optype < AVR32_NR_OPERANDS);
40191 + op = &avr32_operand_table[optype];
40192 +
40193 + for (p = str; *p; p++)
40194 + if (*p == ',')
40195 + break;
40196 +
40197 + if (p == str)
40198 + return 0;
40199 +
40200 + c = *p;
40201 + *p = 0;
40202 +
40203 + if (!op->match(str))
40204 + {
40205 + *p = c;
40206 + return 0;
40207 + }
40208 +
40209 + str = p;
40210 + *p = c;
40211 + if (c)
40212 + str++;
40213 + }
40214 +
40215 + if (*str == '\0')
40216 + return 1;
40217 +
40218 + if ((*str == 'e' || *str == 'E') && !str[1])
40219 + return 1;
40220 +
40221 + return 0;
40222 +}
40223 +
40224 +static int parse_operands(char *str)
40225 +{
40226 + int i;
40227 +
40228 + if (current_insn.syntax->nr_operands < 0)
40229 + {
40230 + int optype;
40231 + struct avr32_operand *op;
40232 +
40233 + for (i = 0; i < (-current_insn.syntax->nr_operands - 1); i++)
40234 + {
40235 + char *p;
40236 + char c;
40237 +
40238 + optype = current_insn.syntax->operand[i];
40239 + op = &avr32_operand_table[optype];
40240 +
40241 + for (p = str; *p; p++)
40242 + if (*p == ',')
40243 + break;
40244 +
40245 + assert(p != str);
40246 +
40247 + c = *p, *p = 0;
40248 + op->parse(op, str, i);
40249 + *p = c;
40250 +
40251 + str = p;
40252 + if (c) str++;
40253 + }
40254 +
40255 + /* give the rest of the line to the last operand */
40256 + optype = current_insn.syntax->operand[i];
40257 + op = &avr32_operand_table[optype];
40258 + op->parse(op, str, i);
40259 + }
40260 + else
40261 + {
40262 + for (i = 0; i < current_insn.syntax->nr_operands; i++)
40263 + {
40264 + int optype = current_insn.syntax->operand[i];
40265 + struct avr32_operand *op = &avr32_operand_table[optype];
40266 + char *p;
40267 + char c;
40268 +
40269 + skip_whitespace(str);
40270 +
40271 + for (p = str; *p; p++)
40272 + if (*p == ',')
40273 + break;
40274 +
40275 + assert(p != str);
40276 +
40277 + c = *p, *p = 0;
40278 + op->parse(op, str, i);
40279 + *p = c;
40280 +
40281 + str = p;
40282 + if (c) str++;
40283 + }
40284 +
40285 + if (*str == 'E' || *str == 'e')
40286 + current_insn.force_extended = 1;
40287 + }
40288 +
40289 + return 0;
40290 +}
40291 +
40292 +static const char *
40293 +finish_insn(const struct avr32_opcode *opc)
40294 +{
40295 + expressionS *exp = &current_insn.immediate;
40296 + unsigned int i;
40297 + int will_relax = 0;
40298 + char *buf;
40299 +
40300 + assert(current_insn.next_slot == opc->nr_fields);
40301 +
40302 + pr_debug("%s:%d: finish_insn: trying opcode %d\n",
40303 + frag_now->fr_file, frag_now->fr_line, opc->id);
40304 +
40305 + /* Go through the relaxation stage for all instructions that can
40306 + possibly take a symbolic immediate. The relax code will take
40307 + care of range checking and alignment. */
40308 + if (opc->var_field != -1)
40309 + {
40310 + int substate, largest_substate;
40311 + symbolS *sym;
40312 + offsetT off;
40313 +
40314 + will_relax = 1;
40315 + substate = largest_substate = opc_initial_substate(opc);
40316 +
40317 + while (relax_more(largest_substate) != AVR32_RS_NONE)
40318 + largest_substate = relax_more(largest_substate);
40319 +
40320 + pr_debug("will relax. initial substate: %d (size %d), largest substate: %d (size %d)\n",
40321 + substate, avr32_rs_size(substate),
40322 + largest_substate, avr32_rs_size(largest_substate));
40323 +
40324 + /* make sure we have enough room for the largest possible opcode */
40325 + frag_grow(avr32_rs_size(largest_substate));
40326 + buf = frag_more(opc->size);
40327 +
40328 + dwarf2_emit_insn(opc->size);
40329 +
40330 + frag_now->tc_frag_data.reloc_info = AVR32_OPINFO_NONE;
40331 + frag_now->tc_frag_data.pcrel = current_insn.pcrel;
40332 + frag_now->tc_frag_data.force_extended = current_insn.force_extended;
40333 + frag_now->tc_frag_data.relaxer = &avr32_default_relaxer;
40334 +
40335 + if (exp->X_op == O_hi)
40336 + {
40337 + frag_now->tc_frag_data.reloc_info = AVR32_OPINFO_HI;
40338 + exp->X_op = exp->X_md;
40339 + }
40340 + else if (exp->X_op == O_lo)
40341 + {
40342 + frag_now->tc_frag_data.reloc_info = AVR32_OPINFO_LO;
40343 + exp->X_op = exp->X_md;
40344 + }
40345 + else if (exp->X_op == O_got)
40346 + {
40347 + frag_now->tc_frag_data.reloc_info = AVR32_OPINFO_GOT;
40348 + exp->X_op = O_symbol;
40349 + }
40350 +
40351 +#if 0
40352 + if ((opc->reloc_type == BFD_RELOC_AVR32_SUB5)
40353 + && exp->X_op == O_subtract)
40354 + {
40355 + symbolS *tmp;
40356 + tmp = exp->X_add_symbol;
40357 + exp->X_add_symbol = exp->X_op_symbol;
40358 + exp->X_op_symbol = tmp;
40359 + }
40360 +#endif
40361 +
40362 + frag_now->tc_frag_data.exp = current_insn.immediate;
40363 +
40364 + sym = exp->X_add_symbol;
40365 + off = exp->X_add_number;
40366 + if (exp->X_op != O_symbol)
40367 + {
40368 + sym = make_expr_symbol(exp);
40369 + off = 0;
40370 + }
40371 +
40372 + frag_var(rs_machine_dependent,
40373 + avr32_rs_size(largest_substate) - opc->size,
40374 + opc->size,
40375 + substate, sym, off, buf);
40376 + }
40377 + else
40378 + {
40379 + assert(avr32_rs_size(opc_initial_substate(opc)) == 0);
40380 +
40381 + /* Make sure we always have room for another whole word, as the ifield
40382 + inserters can only write words. */
40383 + frag_grow(4);
40384 + buf = frag_more(opc->size);
40385 + dwarf2_emit_insn(opc->size);
40386 + }
40387 +
40388 + assert(!(opc->value & ~opc->mask));
40389 +
40390 + pr_debug("inserting opcode: 0x%lx\n", opc->value);
40391 + bfd_putb32(opc->value, buf);
40392 +
40393 + for (i = 0; i < opc->nr_fields; i++)
40394 + {
40395 + const struct avr32_ifield *f = opc->fields[i];
40396 + const struct avr32_ifield_data *fd = &current_insn.field_value[i];
40397 +
40398 + pr_debug("inserting field: 0x%lx & 0x%lx\n",
40399 + fd->value >> fd->align_order, f->mask);
40400 +
40401 + f->insert(f, buf, fd->value >> fd->align_order);
40402 + }
40403 +
40404 + assert(will_relax || !current_insn.immediate.X_add_symbol);
40405 + return NULL;
40406 +}
40407 +
40408 +static const char *
40409 +finish_alias(const struct avr32_alias *alias)
40410 +{
40411 + const struct avr32_opcode *opc;
40412 + struct {
40413 + unsigned long value;
40414 + unsigned long align;
40415 + } mapped_operand[AVR32_MAX_OPERANDS];
40416 + unsigned int i;
40417 +
40418 + opc = alias->opc;
40419 +
40420 + /* Remap the operands from the alias to the real opcode */
40421 + for (i = 0; i < opc->nr_fields; i++)
40422 + {
40423 + if (alias->operand_map[i].is_opindex)
40424 + {
40425 + struct avr32_ifield_data *fd;
40426 + fd = &current_insn.field_value[alias->operand_map[i].value];
40427 + mapped_operand[i].value = fd->value;
40428 + mapped_operand[i].align = fd->align_order;
40429 + }
40430 + else
40431 + {
40432 + mapped_operand[i].value = alias->operand_map[i].value;
40433 + mapped_operand[i].align = 0;
40434 + }
40435 + }
40436 +
40437 + for (i = 0; i < opc->nr_fields; i++)
40438 + {
40439 + current_insn.field_value[i].value = mapped_operand[i].value;
40440 + if (opc->id == AVR32_OPC_COP)
40441 + current_insn.field_value[i].align_order = 0;
40442 + else
40443 + current_insn.field_value[i].align_order
40444 + = mapped_operand[i].align;
40445 + }
40446 +
40447 + current_insn.next_slot = opc->nr_fields;
40448 +
40449 + return finish_insn(opc);
40450 +}
40451 +
40452 +static const char *
40453 +finish_lda(const struct avr32_syntax *syntax ATTRIBUTE_UNUSED)
40454 +{
40455 + expressionS *exp = &current_insn.immediate;
40456 + relax_substateT initial_subtype;
40457 + symbolS *sym;
40458 + offsetT off;
40459 + int initial_size, max_size;
40460 + char *buf;
40461 +
40462 + initial_size = LDA_INITIAL_SIZE;
40463 +
40464 + if (avr32_pic)
40465 + {
40466 + initial_subtype = LDA_SUBTYPE_SUB;
40467 + if (linkrelax)
40468 + max_size = 8;
40469 + else
40470 + max_size = 4;
40471 + }
40472 + else
40473 + {
40474 + initial_subtype = LDA_SUBTYPE_MOV1;
40475 + max_size = 4;
40476 + }
40477 +
40478 + frag_grow(max_size);
40479 + buf = frag_more(initial_size);
40480 + dwarf2_emit_insn(initial_size);
40481 +
40482 + if (exp->X_op == O_symbol)
40483 + {
40484 + sym = exp->X_add_symbol;
40485 + off = exp->X_add_number;
40486 + }
40487 + else
40488 + {
40489 + sym = make_expr_symbol(exp);
40490 + off = 0;
40491 + }
40492 +
40493 + frag_now->tc_frag_data.reloc_info = current_insn.field_value[0].value;
40494 + frag_now->tc_frag_data.relaxer = &avr32_lda_relaxer;
40495 +
40496 + if (!avr32_pic)
40497 + {
40498 + /* The relaxer will bump the refcount if necessary */
40499 + frag_now->tc_frag_data.pool
40500 + = add_to_cpool(exp, &frag_now->tc_frag_data.pool_entry, 0);
40501 + }
40502 +
40503 + frag_var(rs_machine_dependent, max_size - initial_size,
40504 + initial_size, initial_subtype, sym, off, buf);
40505 +
40506 + return NULL;
40507 +}
40508 +
40509 +static const char *
40510 +finish_call(const struct avr32_syntax *syntax ATTRIBUTE_UNUSED)
40511 +{
40512 + expressionS *exp = &current_insn.immediate;
40513 + symbolS *sym;
40514 + offsetT off;
40515 + int initial_size, max_size;
40516 + char *buf;
40517 +
40518 + initial_size = CALL_INITIAL_SIZE;
40519 +
40520 + if (avr32_pic)
40521 + {
40522 + if (linkrelax)
40523 + max_size = 10;
40524 + else
40525 + max_size = 4;
40526 + }
40527 + else
40528 + max_size = 4;
40529 +
40530 + frag_grow(max_size);
40531 + buf = frag_more(initial_size);
40532 + dwarf2_emit_insn(initial_size);
40533 +
40534 + frag_now->tc_frag_data.relaxer = &avr32_call_relaxer;
40535 +
40536 + if (exp->X_op == O_symbol)
40537 + {
40538 + sym = exp->X_add_symbol;
40539 + off = exp->X_add_number;
40540 + }
40541 + else
40542 + {
40543 + sym = make_expr_symbol(exp);
40544 + off = 0;
40545 + }
40546 +
40547 + if (!avr32_pic)
40548 + {
40549 + /* The relaxer will bump the refcount if necessary */
40550 + frag_now->tc_frag_data.pool
40551 + = add_to_cpool(exp, &frag_now->tc_frag_data.pool_entry, 0);
40552 + }
40553 +
40554 + frag_var(rs_machine_dependent, max_size - initial_size,
40555 + initial_size, CALL_SUBTYPE_RCALL1, sym, off, buf);
40556 +
40557 + return NULL;
40558 +}
40559 +
40560 +void
40561 +md_begin (void)
40562 +{
40563 + unsigned long flags = 0;
40564 + int i;
40565 +
40566 + avr32_mnemonic_htab = hash_new();
40567 +
40568 + if (!avr32_mnemonic_htab)
40569 + as_fatal(_("virtual memory exhausted"));
40570 +
40571 + for (i = 0; i < AVR32_NR_MNEMONICS; i++)
40572 + {
40573 + hash_insert(avr32_mnemonic_htab, avr32_mnemonic_table[i].name,
40574 + (void *)&avr32_mnemonic_table[i]);
40575 + }
40576 +
40577 + if (linkrelax)
40578 + flags |= EF_AVR32_LINKRELAX;
40579 + if (avr32_pic)
40580 + flags |= EF_AVR32_PIC;
40581 +
40582 + bfd_set_private_flags(stdoutput, flags);
40583 +
40584 +#ifdef OPC_CONSISTENCY_CHECK
40585 + if (sizeof(avr32_operand_table)/sizeof(avr32_operand_table[0])
40586 + < AVR32_NR_OPERANDS)
40587 + as_fatal(_("operand table is incomplete"));
40588 +
40589 + for (i = 0; i < AVR32_NR_OPERANDS; i++)
40590 + if (avr32_operand_table[i].id != i)
40591 + as_fatal(_("operand table inconsistency found at index %d\n"), i);
40592 + pr_debug("%d operands verified\n", AVR32_NR_OPERANDS);
40593 +
40594 + for (i = 0; i < AVR32_NR_IFIELDS; i++)
40595 + if (avr32_ifield_table[i].id != i)
40596 + as_fatal(_("ifield table inconsistency found at index %d\n"), i);
40597 + pr_debug("%d instruction fields verified\n", AVR32_NR_IFIELDS);
40598 +
40599 + for (i = 0; i < AVR32_NR_OPCODES; i++)
40600 + {
40601 + if (avr32_opc_table[i].id != i)
40602 + as_fatal(_("opcode table inconsistency found at index %d\n"), i);
40603 + if ((avr32_opc_table[i].var_field == -1
40604 + && avr32_relax_table[i].length != 0)
40605 + || (avr32_opc_table[i].var_field != -1
40606 + && avr32_relax_table[i].length == 0))
40607 + as_fatal(_("relax table inconsistency found at index %d\n"), i);
40608 + }
40609 + pr_debug("%d opcodes verified\n", AVR32_NR_OPCODES);
40610 +
40611 + for (i = 0; i < AVR32_NR_SYNTAX; i++)
40612 + if (avr32_syntax_table[i].id != i)
40613 + as_fatal(_("syntax table inconsistency found at index %d\n"), i);
40614 + pr_debug("%d syntax variants verified\n", AVR32_NR_SYNTAX);
40615 +
40616 + for (i = 0; i < AVR32_NR_ALIAS; i++)
40617 + if (avr32_alias_table[i].id != i)
40618 + as_fatal(_("alias table inconsistency found at index %d\n"), i);
40619 + pr_debug("%d aliases verified\n", AVR32_NR_ALIAS);
40620 +
40621 + for (i = 0; i < AVR32_NR_MNEMONICS; i++)
40622 + if (avr32_mnemonic_table[i].id != i)
40623 + as_fatal(_("mnemonic table inconsistency found at index %d\n"), i);
40624 + pr_debug("%d mnemonics verified\n", AVR32_NR_MNEMONICS);
40625 +#endif
40626 +}
40627 +
40628 +void
40629 +md_assemble (char *str)
40630 +{
40631 + struct avr32_mnemonic *mnemonic;
40632 + char *p, c;
40633 +
40634 + memset(&current_insn, 0, sizeof(current_insn));
40635 + current_insn.immediate.X_op = O_constant;
40636 +
40637 + skip_whitespace(str);
40638 + for (p = str; *p; p++)
40639 + if (*p == ' ')
40640 + break;
40641 + c = *p;
40642 + *p = 0;
40643 +
40644 + mnemonic = hash_find(avr32_mnemonic_htab, str);
40645 + *p = c;
40646 + if (c) p++;
40647 +
40648 + if (mnemonic)
40649 + {
40650 + const struct avr32_syntax *syntax;
40651 +
40652 + for (syntax = mnemonic->syntax; syntax; syntax = syntax->next)
40653 + {
40654 + const char *errmsg = NULL;
40655 +
40656 + if (syntax_matches(syntax, p))
40657 + {
40658 + if (!(syntax->isa_flags & avr32_arch->isa_flags))
40659 + {
40660 + as_bad(_("Selected architecture `%s' does not support `%s'"),
40661 + avr32_arch->name, str);
40662 + return;
40663 + }
40664 +
40665 + current_insn.syntax = syntax;
40666 + parse_operands(p);
40667 +
40668 + switch (syntax->type)
40669 + {
40670 + case AVR32_PARSER_NORMAL:
40671 + errmsg = finish_insn(syntax->u.opc);
40672 + break;
40673 + case AVR32_PARSER_ALIAS:
40674 + errmsg = finish_alias(syntax->u.alias);
40675 + break;
40676 + case AVR32_PARSER_LDA:
40677 + errmsg = finish_lda(syntax);
40678 + break;
40679 + case AVR32_PARSER_CALL:
40680 + errmsg = finish_call(syntax);
40681 + break;
40682 + default:
40683 + BAD_CASE(syntax->type);
40684 + break;
40685 + }
40686 +
40687 + if (errmsg)
40688 + as_bad("%s in `%s'", errmsg, str);
40689 +
40690 + return;
40691 + }
40692 + }
40693 +
40694 + as_bad(_("unrecognized form of instruction: `%s'"), str);
40695 + }
40696 + else
40697 + as_bad(_("unrecognized instruction `%s'"), str);
40698 +}
40699 +
40700 +void avr32_cleanup(void)
40701 +{
40702 + struct cpool *pool;
40703 +
40704 + /* Emit any constant pools that haven't been explicitly flushed with
40705 + a .cpool directive. */
40706 + for (pool = cpool_list; pool; pool = pool->next)
40707 + {
40708 + subseg_set(pool->section, pool->sub_section);
40709 + s_cpool(0);
40710 + }
40711 +}
40712 +
40713 +/* Handle any PIC-related operands in data allocation pseudo-ops */
40714 +void
40715 +avr32_cons_fix_new (fragS *frag, int off, int size, expressionS *exp)
40716 +{
40717 + bfd_reloc_code_real_type r_type = BFD_RELOC_UNUSED;
40718 + int pcrel = 0;
40719 +
40720 + pr_debug("%s:%u: cons_fix_new, add_sym: %s, op_sym: %s, op: %d, add_num: %d\n",
40721 + frag->fr_file, frag->fr_line,
40722 + exp->X_add_symbol?S_GET_NAME(exp->X_add_symbol):"(none)",
40723 + exp->X_op_symbol?S_GET_NAME(exp->X_op_symbol):"(none)",
40724 + exp->X_op, exp->X_add_number);
40725 +
40726 + if (exp->X_op == O_subtract && exp->X_op_symbol)
40727 + {
40728 + if (exp->X_op_symbol == GOT_symbol)
40729 + {
40730 + if (size != 4)
40731 + goto bad_size;
40732 + r_type = BFD_RELOC_AVR32_GOTPC;
40733 + exp->X_op = O_symbol;
40734 + exp->X_op_symbol = NULL;
40735 + }
40736 + }
40737 + else if (exp->X_op == O_got)
40738 + {
40739 + switch (size)
40740 + {
40741 + case 1:
40742 + r_type = BFD_RELOC_AVR32_GOT8;
40743 + break;
40744 + case 2:
40745 + r_type = BFD_RELOC_AVR32_GOT16;
40746 + break;
40747 + case 4:
40748 + r_type = BFD_RELOC_AVR32_GOT32;
40749 + break;
40750 + default:
40751 + goto bad_size;
40752 + }
40753 +
40754 + exp->X_op = O_symbol;
40755 + }
40756 +
40757 + if (r_type == BFD_RELOC_UNUSED)
40758 + switch (size)
40759 + {
40760 + case 1:
40761 + r_type = BFD_RELOC_8;
40762 + break;
40763 + case 2:
40764 + r_type = BFD_RELOC_16;
40765 + break;
40766 + case 4:
40767 + r_type = BFD_RELOC_32;
40768 + break;
40769 + default:
40770 + goto bad_size;
40771 + }
40772 + else if (size != 4)
40773 + {
40774 + bad_size:
40775 + as_bad(_("unsupported BFD relocation size %u"), size);
40776 + r_type = BFD_RELOC_UNUSED;
40777 + }
40778 +
40779 + fix_new_exp (frag, off, size, exp, pcrel, r_type);
40780 +}
40781 +
40782 +static void
40783 +avr32_frob_section(bfd *abfd ATTRIBUTE_UNUSED, segT sec,
40784 + void *ignore ATTRIBUTE_UNUSED)
40785 +{
40786 + segment_info_type *seginfo;
40787 + fixS *fix;
40788 +
40789 + seginfo = seg_info(sec);
40790 + if (!seginfo)
40791 + return;
40792 +
40793 + for (fix = seginfo->fix_root; fix; fix = fix->fx_next)
40794 + {
40795 + if (fix->fx_done)
40796 + continue;
40797 +
40798 + if (fix->fx_r_type == BFD_RELOC_AVR32_SUB5
40799 + && fix->fx_addsy && fix->fx_subsy)
40800 + {
40801 + if (S_GET_SEGMENT(fix->fx_addsy) != S_GET_SEGMENT(fix->fx_subsy)
40802 + || linkrelax)
40803 + {
40804 + symbolS *tmp;
40805 +#ifdef DEBUG
40806 + fprintf(stderr, "Swapping symbols in fixup:\n");
40807 + print_fixup(fix);
40808 +#endif
40809 + tmp = fix->fx_addsy;
40810 + fix->fx_addsy = fix->fx_subsy;
40811 + fix->fx_subsy = tmp;
40812 + fix->fx_offset = -fix->fx_offset;
40813 + }
40814 + }
40815 + }
40816 +}
40817 +
40818 +/* We need to look for SUB5 instructions with expressions that will be
40819 + made PC-relative and switch fx_addsy with fx_subsy. This has to be
40820 + done before adjustment or the wrong symbol might be adjusted.
40821 +
40822 + This applies to fixups that are a result of expressions like -(sym
40823 + - .) and that will make it all the way to md_apply_fix3(). LDA
40824 + does the right thing in convert_frag, so we must not convert
40825 + those. */
40826 +void
40827 +avr32_frob_file(void)
40828 +{
40829 + /* if (1 || !linkrelax)
40830 + return; */
40831 +
40832 + bfd_map_over_sections(stdoutput, avr32_frob_section, NULL);
40833 +}
40834 +
40835 +static bfd_boolean
40836 +convert_to_diff_reloc(fixS *fixP)
40837 +{
40838 + switch (fixP->fx_r_type)
40839 + {
40840 + case BFD_RELOC_32:
40841 + fixP->fx_r_type = BFD_RELOC_AVR32_DIFF32;
40842 + break;
40843 + case BFD_RELOC_16:
40844 + fixP->fx_r_type = BFD_RELOC_AVR32_DIFF16;
40845 + break;
40846 + case BFD_RELOC_8:
40847 + fixP->fx_r_type = BFD_RELOC_AVR32_DIFF8;
40848 + break;
40849 + default:
40850 + return FALSE;
40851 + }
40852 +
40853 + return TRUE;
40854 +}
40855 +
40856 +/* Simplify a fixup. If possible, the fixup is reduced to a single
40857 + constant which is written to the output file. Otherwise, a
40858 + relocation is generated so that the linker can take care of the
40859 + rest.
40860 +
40861 + ELF relocations have certain constraints: They can only take a
40862 + single symbol and a single addend. This means that for difference
40863 + expressions, we _must_ get rid of the fx_subsy symbol somehow.
40864 +
40865 + The difference between two labels in the same section can be
40866 + calculated directly unless 'linkrelax' is set, or a relocation is
40867 + forced. If so, we must emit a R_AVR32_DIFFxx relocation. If there
40868 + are addends involved at this point, we must be especially careful
40869 + as the relocation must point exactly to the symbol being
40870 + subtracted.
40871 +
40872 + When subtracting a symbol defined in the same section as the fixup,
40873 + we might be able to convert it to a PC-relative expression, unless
40874 + linkrelax is set. If this is the case, there's no way we can make
40875 + sure that the difference between the fixup and fx_subsy stays
40876 + constant. So for now, we're just going to disallow that.
40877 + */
40878 +void
40879 +avr32_process_fixup(fixS *fixP, segT this_segment)
40880 +{
40881 + segT add_symbol_segment = absolute_section;
40882 + segT sub_symbol_segment = absolute_section;
40883 + symbolS *fx_addsy, *fx_subsy;
40884 + offsetT value = 0, fx_offset;
40885 + bfd_boolean apply = FALSE;
40886 +
40887 + assert(this_segment != absolute_section);
40888 +
40889 + if (fixP->fx_r_type >= BFD_RELOC_UNUSED)
40890 + {
40891 + as_bad_where(fixP->fx_file, fixP->fx_line,
40892 + _("Bad relocation type %d\n"), fixP->fx_r_type);
40893 + return;
40894 + }
40895 +
40896 + /* BFD_RELOC_AVR32_SUB5 fixups have been swapped by avr32_frob_section() */
40897 + fx_addsy = fixP->fx_addsy;
40898 + fx_subsy = fixP->fx_subsy;
40899 + fx_offset = fixP->fx_offset;
40900 +
40901 + if (fx_addsy)
40902 + add_symbol_segment = S_GET_SEGMENT(fx_addsy);
40903 +
40904 + if (fx_subsy)
40905 + {
40906 + resolve_symbol_value(fx_subsy);
40907 + sub_symbol_segment = S_GET_SEGMENT(fx_subsy);
40908 +
40909 + if (sub_symbol_segment == this_segment
40910 + && (!linkrelax
40911 + || S_GET_VALUE(fx_subsy) == (fixP->fx_frag->fr_address
40912 + + fixP->fx_where)))
40913 + {
40914 + fixP->fx_pcrel = TRUE;
40915 + fx_offset += (fixP->fx_frag->fr_address + fixP->fx_where
40916 + - S_GET_VALUE(fx_subsy));
40917 + fx_subsy = NULL;
40918 + }
40919 + else if (sub_symbol_segment == absolute_section)
40920 + {
40921 + /* The symbol is really a constant. */
40922 + fx_offset -= S_GET_VALUE(fx_subsy);
40923 + fx_subsy = NULL;
40924 + }
40925 + else if (SEG_NORMAL(add_symbol_segment)
40926 + && sub_symbol_segment == add_symbol_segment
40927 + && (!linkrelax || convert_to_diff_reloc(fixP)))
40928 + {
40929 + /* Difference between two labels in the same section. */
40930 + if (linkrelax)
40931 + {
40932 + /* convert_to_diff() has ensured that the reloc type is
40933 + either DIFF32, DIFF16 or DIFF8. */
40934 + value = (S_GET_VALUE(fx_addsy) + fixP->fx_offset
40935 + - S_GET_VALUE(fx_subsy));
40936 +
40937 + /* Try to convert it to a section symbol if possible */
40938 + if (!S_FORCE_RELOC(fx_addsy, 1)
40939 + && !(sub_symbol_segment->flags & SEC_THREAD_LOCAL))
40940 + {
40941 + fx_offset = S_GET_VALUE(fx_subsy);
40942 + fx_addsy = section_symbol(sub_symbol_segment);
40943 + }
40944 + else
40945 + {
40946 + fx_addsy = fx_subsy;
40947 + fx_offset = 0;
40948 + }
40949 +
40950 + fx_subsy = NULL;
40951 + apply = TRUE;
40952 + }
40953 + else
40954 + {
40955 + fx_offset += S_GET_VALUE(fx_addsy);
40956 + fx_offset -= S_GET_VALUE(fx_subsy);
40957 + fx_addsy = NULL;
40958 + fx_subsy = NULL;
40959 + }
40960 + }
40961 + else
40962 + {
40963 + as_bad_where(fixP->fx_file, fixP->fx_line,
40964 + _("can't resolve `%s' {%s section} - `%s' {%s section}"),
40965 + fx_addsy ? S_GET_NAME (fx_addsy) : "0",
40966 + segment_name (add_symbol_segment),
40967 + S_GET_NAME (fx_subsy),
40968 + segment_name (sub_symbol_segment));
40969 + return;
40970 + }
40971 + }
40972 +
40973 + if (fx_addsy && !TC_FORCE_RELOCATION(fixP))
40974 + {
40975 + if (add_symbol_segment == this_segment
40976 + && fixP->fx_pcrel)
40977 + {
40978 + value += S_GET_VALUE(fx_addsy);
40979 + value -= md_pcrel_from_section(fixP, this_segment);
40980 + fx_addsy = NULL;
40981 + fixP->fx_pcrel = FALSE;
40982 + }
40983 + else if (add_symbol_segment == absolute_section)
40984 + {
40985 + fx_offset += S_GET_VALUE(fixP->fx_addsy);
40986 + fx_addsy = NULL;
40987 + }
40988 + }
40989 +
40990 + if (!fx_addsy)
40991 + fixP->fx_done = TRUE;
40992 +
40993 + if (fixP->fx_pcrel)
40994 + {
40995 + if (fx_addsy != NULL
40996 + && S_IS_DEFINED(fx_addsy)
40997 + && S_GET_SEGMENT(fx_addsy) != this_segment)
40998 + value += md_pcrel_from_section(fixP, this_segment);
40999 +
41000 + switch (fixP->fx_r_type)
41001 + {
41002 + case BFD_RELOC_32:
41003 + fixP->fx_r_type = BFD_RELOC_32_PCREL;
41004 + break;
41005 + case BFD_RELOC_16:
41006 + fixP->fx_r_type = BFD_RELOC_16_PCREL;
41007 + break;
41008 + case BFD_RELOC_8:
41009 + fixP->fx_r_type = BFD_RELOC_8_PCREL;
41010 + break;
41011 + case BFD_RELOC_AVR32_SUB5:
41012 + fixP->fx_r_type = BFD_RELOC_AVR32_16N_PCREL;
41013 + break;
41014 + case BFD_RELOC_AVR32_16S:
41015 + fixP->fx_r_type = BFD_RELOC_AVR32_16B_PCREL;
41016 + break;
41017 + case BFD_RELOC_AVR32_14UW:
41018 + fixP->fx_r_type = BFD_RELOC_AVR32_14UW_PCREL;
41019 + break;
41020 + case BFD_RELOC_AVR32_10UW:
41021 + fixP->fx_r_type = BFD_RELOC_AVR32_10UW_PCREL;
41022 + break;
41023 + default:
41024 + /* Should have been taken care of already */
41025 + break;
41026 + }
41027 + }
41028 +
41029 + if (fixP->fx_done || apply)
41030 + {
41031 + const struct avr32_ifield *ifield;
41032 + char *buf = fixP->fx_where + fixP->fx_frag->fr_literal;
41033 +
41034 + if (fixP->fx_done)
41035 + value += fx_offset;
41036 +
41037 + switch (fixP->fx_r_type)
41038 + {
41039 + case BFD_RELOC_32:
41040 + case BFD_RELOC_16:
41041 + case BFD_RELOC_8:
41042 + case BFD_RELOC_AVR32_DIFF32:
41043 + case BFD_RELOC_AVR32_DIFF16:
41044 + case BFD_RELOC_AVR32_DIFF8:
41045 + md_number_to_chars(buf, value, fixP->fx_size);
41046 + break;
41047 + case BFD_RELOC_HI16:
41048 + value >>= 16;
41049 + case BFD_RELOC_LO16:
41050 + value &= 0xffff;
41051 + md_number_to_chars(buf + 2, value, 2);
41052 + break;
41053 + case BFD_RELOC_AVR32_16N_PCREL:
41054 + value = -value;
41055 + /* fall through */
41056 + case BFD_RELOC_AVR32_22H_PCREL:
41057 + case BFD_RELOC_AVR32_18W_PCREL:
41058 + case BFD_RELOC_AVR32_16B_PCREL:
41059 + case BFD_RELOC_AVR32_11H_PCREL:
41060 + case BFD_RELOC_AVR32_9H_PCREL:
41061 + case BFD_RELOC_AVR32_9UW_PCREL:
41062 + case BFD_RELOC_AVR32_3U:
41063 + case BFD_RELOC_AVR32_4UH:
41064 + case BFD_RELOC_AVR32_6UW:
41065 + case BFD_RELOC_AVR32_6S:
41066 + case BFD_RELOC_AVR32_7UW:
41067 + case BFD_RELOC_AVR32_8S_EXT:
41068 + case BFD_RELOC_AVR32_8S:
41069 + case BFD_RELOC_AVR32_10UW:
41070 + case BFD_RELOC_AVR32_10SW:
41071 + case BFD_RELOC_AVR32_STHH_W:
41072 + case BFD_RELOC_AVR32_14UW:
41073 + case BFD_RELOC_AVR32_16S:
41074 + case BFD_RELOC_AVR32_16U:
41075 + case BFD_RELOC_AVR32_21S:
41076 + case BFD_RELOC_AVR32_SUB5:
41077 + case BFD_RELOC_AVR32_CPCALL:
41078 + case BFD_RELOC_AVR32_16_CP:
41079 + case BFD_RELOC_AVR32_9W_CP:
41080 + ifield = fixP->tc_fix_data.ifield;
41081 + pr_debug("insert field: %ld <= %ld <= %ld (align %u)\n",
41082 + fixP->tc_fix_data.min, value, fixP->tc_fix_data.max,
41083 + fixP->tc_fix_data.align);
41084 + if (value < fixP->tc_fix_data.min || value > fixP->tc_fix_data.max)
41085 + as_bad_where(fixP->fx_file, fixP->fx_line,
41086 + _("operand out of range (%ld not between %ld and %ld)"),
41087 + value, fixP->tc_fix_data.min, fixP->tc_fix_data.max);
41088 + if (value & ((1 << fixP->tc_fix_data.align) - 1))
41089 + as_bad_where(fixP->fx_file, fixP->fx_line,
41090 + _("misaligned operand (required alignment: %d)"),
41091 + 1 << fixP->tc_fix_data.align);
41092 + ifield->insert(ifield, buf, value >> fixP->tc_fix_data.align);
41093 + break;
41094 + case BFD_RELOC_AVR32_ALIGN:
41095 + /* Nothing to do */
41096 + fixP->fx_done = FALSE;
41097 + break;
41098 + default:
41099 + as_fatal("reloc type %s not handled\n",
41100 + bfd_get_reloc_code_name(fixP->fx_r_type));
41101 + }
41102 + }
41103 +
41104 + fixP->fx_addsy = fx_addsy;
41105 + fixP->fx_subsy = fx_subsy;
41106 + fixP->fx_offset = fx_offset;
41107 +
41108 + if (!fixP->fx_done)
41109 + {
41110 + if (!fixP->fx_addsy)
41111 + fixP->fx_addsy = abs_section_sym;
41112 +
41113 + symbol_mark_used_in_reloc(fixP->fx_addsy);
41114 + if (fixP->fx_subsy)
41115 + abort();
41116 + }
41117 +}
41118 +
41119 +#if 0
41120 +void
41121 +md_apply_fix3 (fixS *fixP, valueT *valP, segT seg)
41122 +{
41123 + const struct avr32_ifield *ifield;
41124 + offsetT value = *valP;
41125 + char *buf = fixP->fx_where + fixP->fx_frag->fr_literal;
41126 + bfd_boolean apply;
41127 +
41128 + pr_debug("%s:%u: apply_fix3: r_type=%d value=%lx offset=%lx\n",
41129 + fixP->fx_file, fixP->fx_line, fixP->fx_r_type, *valP,
41130 + fixP->fx_offset);
41131 +
41132 + if (fixP->fx_r_type >= BFD_RELOC_UNUSED)
41133 + {
41134 + as_bad_where(fixP->fx_file, fixP->fx_line,
41135 + _("Bad relocation type %d\n"), fixP->fx_r_type);
41136 + return;
41137 + }
41138 +
41139 + if (!fixP->fx_addsy && !fixP->fx_subsy)
41140 + fixP->fx_done = 1;
41141 +
41142 + if (fixP->fx_pcrel)
41143 + {
41144 + if (fixP->fx_addsy != NULL
41145 + && S_IS_DEFINED(fixP->fx_addsy)
41146 + && S_GET_SEGMENT(fixP->fx_addsy) != seg)
41147 + value += md_pcrel_from_section(fixP, seg);
41148 +
41149 + switch (fixP->fx_r_type)
41150 + {
41151 + case BFD_RELOC_32:
41152 + fixP->fx_r_type = BFD_RELOC_32_PCREL;
41153 + break;
41154 + case BFD_RELOC_16:
41155 + case BFD_RELOC_8:
41156 + as_bad_where (fixP->fx_file, fixP->fx_line,
41157 + _("8- and 16-bit PC-relative relocations not supported"));
41158 + break;
41159 + case BFD_RELOC_AVR32_SUB5:
41160 + fixP->fx_r_type = BFD_RELOC_AVR32_PCREL_SUB5;
41161 + break;
41162 + case BFD_RELOC_AVR32_16S:
41163 + fixP->fx_r_type = BFD_RELOC_AVR32_16_PCREL;
41164 + break;
41165 + default:
41166 + /* Should have been taken care of already */
41167 + break;
41168 + }
41169 + }
41170 +
41171 + if (fixP->fx_r_type == BFD_RELOC_32
41172 + && fixP->fx_subsy)
41173 + {
41174 + fixP->fx_r_type = BFD_RELOC_AVR32_DIFF32;
41175 +
41176 + /* Offsets are only allowed if it's a result of adjusting a
41177 + local symbol into a section-relative offset.
41178 + tc_fix_adjustable() should prevent any adjustment if there
41179 + was an offset involved before. */
41180 + if (fixP->fx_offset && !symbol_section_p(fixP->fx_addsy))
41181 + as_bad_where(fixP->fx_file, fixP->fx_line,
41182 + _("cannot represent symbol difference with an offset"));
41183 +
41184 + value = (S_GET_VALUE(fixP->fx_addsy) + fixP->fx_offset
41185 + - S_GET_VALUE(fixP->fx_subsy));
41186 +
41187 + /* The difference before any relaxing takes place is written
41188 + out, and the DIFF32 reloc identifies the address of the first
41189 + symbol (i.e. the on that's subtracted.) */
41190 + *valP = value;
41191 + fixP->fx_offset -= value;
41192 + fixP->fx_subsy = NULL;
41193 +
41194 + md_number_to_chars(buf, value, fixP->fx_size);
41195 + }
41196 +
41197 + if (fixP->fx_done)
41198 + {
41199 + switch (fixP->fx_r_type)
41200 + {
41201 + case BFD_RELOC_8:
41202 + case BFD_RELOC_16:
41203 + case BFD_RELOC_32:
41204 + md_number_to_chars(buf, value, fixP->fx_size);
41205 + break;
41206 + case BFD_RELOC_HI16:
41207 + value >>= 16;
41208 + case BFD_RELOC_LO16:
41209 + value &= 0xffff;
41210 + *valP = value;
41211 + md_number_to_chars(buf + 2, value, 2);
41212 + break;
41213 + case BFD_RELOC_AVR32_PCREL_SUB5:
41214 + value = -value;
41215 + /* fall through */
41216 + case BFD_RELOC_AVR32_9_PCREL:
41217 + case BFD_RELOC_AVR32_11_PCREL:
41218 + case BFD_RELOC_AVR32_16_PCREL:
41219 + case BFD_RELOC_AVR32_18_PCREL:
41220 + case BFD_RELOC_AVR32_22_PCREL:
41221 + case BFD_RELOC_AVR32_3U:
41222 + case BFD_RELOC_AVR32_4UH:
41223 + case BFD_RELOC_AVR32_6UW:
41224 + case BFD_RELOC_AVR32_6S:
41225 + case BFD_RELOC_AVR32_7UW:
41226 + case BFD_RELOC_AVR32_8S:
41227 + case BFD_RELOC_AVR32_10UW:
41228 + case BFD_RELOC_AVR32_10SW:
41229 + case BFD_RELOC_AVR32_14UW:
41230 + case BFD_RELOC_AVR32_16S:
41231 + case BFD_RELOC_AVR32_16U:
41232 + case BFD_RELOC_AVR32_21S:
41233 + case BFD_RELOC_AVR32_BRC1:
41234 + case BFD_RELOC_AVR32_SUB5:
41235 + case BFD_RELOC_AVR32_CPCALL:
41236 + case BFD_RELOC_AVR32_16_CP:
41237 + case BFD_RELOC_AVR32_9_CP:
41238 + ifield = fixP->tc_fix_data.ifield;
41239 + pr_debug("insert field: %ld <= %ld <= %ld (align %u)\n",
41240 + fixP->tc_fix_data.min, value, fixP->tc_fix_data.max,
41241 + fixP->tc_fix_data.align);
41242 + if (value < fixP->tc_fix_data.min || value > fixP->tc_fix_data.max)
41243 + as_bad_where(fixP->fx_file, fixP->fx_line,
41244 + _("operand out of range (%ld not between %ld and %ld)"),
41245 + value, fixP->tc_fix_data.min, fixP->tc_fix_data.max);
41246 + if (value & ((1 << fixP->tc_fix_data.align) - 1))
41247 + as_bad_where(fixP->fx_file, fixP->fx_line,
41248 + _("misaligned operand (required alignment: %d)"),
41249 + 1 << fixP->tc_fix_data.align);
41250 + ifield->insert(ifield, buf, value >> fixP->tc_fix_data.align);
41251 + break;
41252 + case BFD_RELOC_AVR32_ALIGN:
41253 + /* Nothing to do */
41254 + fixP->fx_done = FALSE;
41255 + break;
41256 + default:
41257 + as_fatal("reloc type %s not handled\n",
41258 + bfd_get_reloc_code_name(fixP->fx_r_type));
41259 + }
41260 + }
41261 +}
41262 +#endif
41263 +
41264 +arelent *
41265 +tc_gen_reloc (asection *section ATTRIBUTE_UNUSED,
41266 + fixS *fixp)
41267 +{
41268 + arelent *reloc;
41269 + bfd_reloc_code_real_type code;
41270 +
41271 + reloc = xmalloc (sizeof (arelent));
41272 +
41273 + reloc->sym_ptr_ptr = xmalloc (sizeof (asymbol *));
41274 + *reloc->sym_ptr_ptr = symbol_get_bfdsym (fixp->fx_addsy);
41275 + reloc->address = fixp->fx_frag->fr_address + fixp->fx_where;
41276 + reloc->addend = fixp->fx_offset;
41277 + code = fixp->fx_r_type;
41278 +
41279 + reloc->howto = bfd_reloc_type_lookup (stdoutput, code);
41280 +
41281 + if (reloc->howto == NULL)
41282 + {
41283 + as_bad_where (fixp->fx_file, fixp->fx_line,
41284 + _("cannot represent relocation %s in this object file format"),
41285 + bfd_get_reloc_code_name (code));
41286 + return NULL;
41287 + }
41288 +
41289 + return reloc;
41290 +}
41291 +
41292 +bfd_boolean
41293 +avr32_force_reloc(fixS *fixP)
41294 +{
41295 + if (linkrelax && fixP->fx_addsy
41296 + && !(S_GET_SEGMENT(fixP->fx_addsy)->flags & SEC_DEBUGGING)
41297 + && S_GET_SEGMENT(fixP->fx_addsy) != absolute_section)
41298 + {
41299 + pr_debug(stderr, "force reloc: addsy=%p, r_type=%d, sec=%s\n",
41300 + fixP->fx_addsy, fixP->fx_r_type, S_GET_SEGMENT(fixP->fx_addsy)->name);
41301 + return 1;
41302 + }
41303 +
41304 + return generic_force_reloc(fixP);
41305 +}
41306 +
41307 +bfd_boolean
41308 +avr32_fix_adjustable(fixS *fixP)
41309 +{
41310 + switch (fixP->fx_r_type)
41311 + {
41312 + /* GOT relocations can't have addends since BFD treats all
41313 + references to a given symbol the same. This means that we
41314 + must avoid section-relative references to local symbols when
41315 + dealing with these kinds of relocs */
41316 + case BFD_RELOC_AVR32_GOT32:
41317 + case BFD_RELOC_AVR32_GOT16:
41318 + case BFD_RELOC_AVR32_GOT8:
41319 + case BFD_RELOC_AVR32_GOT21S:
41320 + case BFD_RELOC_AVR32_GOT18SW:
41321 + case BFD_RELOC_AVR32_GOT16S:
41322 + case BFD_RELOC_AVR32_LDA_GOT:
41323 + case BFD_RELOC_AVR32_GOTCALL:
41324 + pr_debug("fix not adjustable\n");
41325 + return 0;
41326 +
41327 + default:
41328 + break;
41329 + }
41330 +
41331 + return 1;
41332 +}
41333 +
41334 +/* When we want the linker to be able to relax the code, we need to
41335 + output a reloc for every .align directive requesting an alignment
41336 + to a four byte boundary or larger. If we don't do this, the linker
41337 + can't guarantee that the alignment is actually maintained in the
41338 + linker output.
41339 +
41340 + TODO: Might as well insert proper NOPs while we're at it... */
41341 +void
41342 +avr32_handle_align(fragS *frag)
41343 +{
41344 + if (linkrelax
41345 + && frag->fr_type == rs_align_code
41346 + && frag->fr_address + frag->fr_fix > 0
41347 + && frag->fr_offset > 0)
41348 + {
41349 + /* The alignment order (fr_offset) is stored in the addend. */
41350 + fix_new(frag, frag->fr_fix, 2, &abs_symbol, frag->fr_offset,
41351 + FALSE, BFD_RELOC_AVR32_ALIGN);
41352 + }
41353 +}
41354 +
41355 +/* Relax_align. Advance location counter to next address that has 'alignment'
41356 + lowest order bits all 0s, return size of adjustment made. */
41357 +relax_addressT
41358 +avr32_relax_align(segT segment ATTRIBUTE_UNUSED,
41359 + fragS *fragP,
41360 + relax_addressT address)
41361 +{
41362 + relax_addressT mask;
41363 + relax_addressT new_address;
41364 + int alignment;
41365 +
41366 + alignment = fragP->fr_offset;
41367 + mask = ~((~0) << alignment);
41368 + new_address = (address + mask) & (~mask);
41369 +
41370 + return new_address - address;
41371 +}
41372 +
41373 +/* Turn a string in input_line_pointer into a floating point constant
41374 + of type type, and store the appropriate bytes in *litP. The number
41375 + of LITTLENUMS emitted is stored in *sizeP . An error message is
41376 + returned, or NULL on OK. */
41377 +
41378 +/* Equal to MAX_PRECISION in atof-ieee.c */
41379 +#define MAX_LITTLENUMS 6
41380 +
41381 +char *
41382 +md_atof (type, litP, sizeP)
41383 +char type;
41384 +char * litP;
41385 +int * sizeP;
41386 +{
41387 + int i;
41388 + int prec;
41389 + LITTLENUM_TYPE words [MAX_LITTLENUMS];
41390 + char * t;
41391 +
41392 + switch (type)
41393 + {
41394 + case 'f':
41395 + case 'F':
41396 + case 's':
41397 + case 'S':
41398 + prec = 2;
41399 + break;
41400 +
41401 + case 'd':
41402 + case 'D':
41403 + case 'r':
41404 + case 'R':
41405 + prec = 4;
41406 + break;
41407 +
41408 + /* FIXME: Some targets allow other format chars for bigger sizes here. */
41409 +
41410 + default:
41411 + * sizeP = 0;
41412 + return _("Bad call to md_atof()");
41413 + }
41414 +
41415 + t = atof_ieee (input_line_pointer, type, words);
41416 + if (t)
41417 + input_line_pointer = t;
41418 + * sizeP = prec * sizeof (LITTLENUM_TYPE);
41419 +
41420 + for (i = 0; i < prec; i++)
41421 + {
41422 + md_number_to_chars (litP, (valueT) words[i],
41423 + sizeof (LITTLENUM_TYPE));
41424 + litP += sizeof (LITTLENUM_TYPE);
41425 + }
41426 +
41427 + return 0;
41428 +}
41429 +
41430 +static char *avr32_end_of_match(char *cont, char *what)
41431 +{
41432 + int len = strlen (what);
41433 +
41434 + if (! is_part_of_name (cont[len])
41435 + && strncasecmp (cont, what, len) == 0)
41436 + return cont + len;
41437 +
41438 + return NULL;
41439 +}
41440 +
41441 +int
41442 +avr32_parse_name (char const *name, expressionS *exp, char *nextchar)
41443 +{
41444 + char *next = input_line_pointer;
41445 + char *next_end;
41446 +
41447 + pr_debug("parse_name: %s, nextchar=%c (%02x)\n", name, *nextchar, *nextchar);
41448 +
41449 + if (*nextchar == '(')
41450 + {
41451 + if (strcasecmp(name, "hi") == 0)
41452 + {
41453 + *next = *nextchar;
41454 +
41455 + expression(exp);
41456 +
41457 + if (exp->X_op == O_constant)
41458 + {
41459 + pr_debug(" -> constant hi(0x%08lx) -> 0x%04lx\n",
41460 + exp->X_add_number, exp->X_add_number >> 16);
41461 + exp->X_add_number = (exp->X_add_number >> 16) & 0xffff;
41462 + }
41463 + else
41464 + {
41465 + exp->X_md = exp->X_op;
41466 + exp->X_op = O_hi;
41467 + }
41468 +
41469 + return 1;
41470 + }
41471 + else if (strcasecmp(name, "lo") == 0)
41472 + {
41473 + *next = *nextchar;
41474 +
41475 + expression(exp);
41476 +
41477 + if (exp->X_op == O_constant)
41478 + exp->X_add_number &= 0xffff;
41479 + else
41480 + {
41481 + exp->X_md = exp->X_op;
41482 + exp->X_op = O_lo;
41483 + }
41484 +
41485 + return 1;
41486 + }
41487 + }
41488 + else if (*nextchar == '@')
41489 + {
41490 + exp->X_md = exp->X_op;
41491 +
41492 + if ((next_end = avr32_end_of_match (next + 1, "got")))
41493 + exp->X_op = O_got;
41494 + else if ((next_end = avr32_end_of_match (next + 1, "tlsgd")))
41495 + exp->X_op = O_tlsgd;
41496 + /* Add more as needed */
41497 + else
41498 + {
41499 + char c;
41500 + input_line_pointer++;
41501 + c = get_symbol_end();
41502 + as_bad (_("unknown relocation override `%s'"), next + 1);
41503 + *input_line_pointer = c;
41504 + input_line_pointer = next;
41505 + return 0;
41506 + }
41507 +
41508 + exp->X_op_symbol = NULL;
41509 + exp->X_add_symbol = symbol_find_or_make (name);
41510 + exp->X_add_number = 0;
41511 +
41512 + *input_line_pointer = *nextchar;
41513 + input_line_pointer = next_end;
41514 + *nextchar = *input_line_pointer;
41515 + *input_line_pointer = '\0';
41516 + return 1;
41517 + }
41518 + else if (strcmp (name, "_GLOBAL_OFFSET_TABLE_") == 0)
41519 + {
41520 + if (!GOT_symbol)
41521 + GOT_symbol = symbol_find_or_make(name);
41522 +
41523 + exp->X_add_symbol = GOT_symbol;
41524 + exp->X_op = O_symbol;
41525 + exp->X_add_number = 0;
41526 + return 1;
41527 + }
41528 +
41529 + return 0;
41530 +}
41531 +
41532 +static void
41533 +s_rseg (int value ATTRIBUTE_UNUSED)
41534 +{
41535 + /* Syntax: RSEG segment_name [:type] [NOROOT|ROOT] [(align)]
41536 + * Defaults:
41537 + * - type: undocumented ("typically CODE or DATA")
41538 + * - ROOT
41539 + * - align: 1 for code, 0 for others
41540 + *
41541 + * TODO: NOROOT is ignored. If gas supports discardable segments, it should
41542 + * be implemented.
41543 + */
41544 + char *name, *end;
41545 + int length, type, attr;
41546 + int align = 0;
41547 +
41548 + SKIP_WHITESPACE();
41549 +
41550 + end = input_line_pointer;
41551 + while (0 == strchr ("\n\t;:( ", *end))
41552 + end++;
41553 + if (end == input_line_pointer)
41554 + {
41555 + as_warn (_("missing name"));
41556 + ignore_rest_of_line();
41557 + return;
41558 + }
41559 +
41560 + name = xmalloc (end - input_line_pointer + 1);
41561 + memcpy (name, input_line_pointer, end - input_line_pointer);
41562 + name[end - input_line_pointer] = '\0';
41563 + input_line_pointer = end;
41564 +
41565 + SKIP_WHITESPACE();
41566 +
41567 + type = SHT_NULL;
41568 + attr = 0;
41569 +
41570 + if (*input_line_pointer == ':')
41571 + {
41572 + /* Skip the colon */
41573 + ++input_line_pointer;
41574 + SKIP_WHITESPACE();
41575 +
41576 + /* Possible options at this point:
41577 + * - flag (ROOT or NOROOT)
41578 + * - a segment type
41579 + */
41580 + end = input_line_pointer;
41581 + while (0 == strchr ("\n\t;:( ", *end))
41582 + end++;
41583 + length = end - input_line_pointer;
41584 + if (((length == 4) && (0 == strncasecmp( input_line_pointer, "ROOT", 4))) ||
41585 + ((length == 6) && (0 == strncasecmp( input_line_pointer, "NOROOT", 6))))
41586 + {
41587 + /* Ignore ROOT/NOROOT */
41588 + input_line_pointer = end;
41589 + }
41590 + else
41591 + {
41592 + /* Must be a segment type */
41593 + switch (*input_line_pointer)
41594 + {
41595 + case 'C':
41596 + case 'c':
41597 + if ((length == 4) &&
41598 + (0 == strncasecmp (input_line_pointer, "CODE", 4)))
41599 + {
41600 + attr |= SHF_ALLOC | SHF_EXECINSTR;
41601 + type = SHT_PROGBITS;
41602 + align = 1;
41603 + break;
41604 + }
41605 + if ((length == 5) &&
41606 + (0 == strncasecmp (input_line_pointer, "CONST", 5)))
41607 + {
41608 + attr |= SHF_ALLOC;
41609 + type = SHT_PROGBITS;
41610 + break;
41611 + }
41612 + goto de_fault;
41613 +
41614 + case 'D':
41615 + case 'd':
41616 + if ((length == 4) &&
41617 + (0 == strncasecmp (input_line_pointer, "DATA", 4)))
41618 + {
41619 + attr |= SHF_ALLOC | SHF_WRITE;
41620 + type = SHT_PROGBITS;
41621 + break;
41622 + }
41623 + goto de_fault;
41624 +
41625 + /* TODO: Add FAR*, HUGE*, IDATA and NEAR* if necessary */
41626 +
41627 + case 'U':
41628 + case 'u':
41629 + if ((length == 7) &&
41630 + (0 == strncasecmp (input_line_pointer, "UNTYPED", 7)))
41631 + break;
41632 + goto de_fault;
41633 +
41634 + /* TODO: Add XDATA and ZPAGE if necessary */
41635 +
41636 + de_fault:
41637 + default:
41638 + as_warn (_("unrecognized segment type"));
41639 + }
41640 +
41641 + input_line_pointer = end;
41642 + SKIP_WHITESPACE();
41643 +
41644 + if (*input_line_pointer == ':')
41645 + {
41646 + /* ROOT/NOROOT */
41647 + ++input_line_pointer;
41648 + SKIP_WHITESPACE();
41649 +
41650 + end = input_line_pointer;
41651 + while (0 == strchr ("\n\t;:( ", *end))
41652 + end++;
41653 + length = end - input_line_pointer;
41654 + if (! ((length == 4) &&
41655 + (0 == strncasecmp( input_line_pointer, "ROOT", 4))) &&
41656 + ! ((length == 6) &&
41657 + (0 == strncasecmp( input_line_pointer, "NOROOT", 6))))
41658 + {
41659 + as_warn (_("unrecognized segment flag"));
41660 + }
41661 +
41662 + input_line_pointer = end;
41663 + SKIP_WHITESPACE();
41664 + }
41665 + }
41666 + }
41667 +
41668 + if (*input_line_pointer == '(')
41669 + {
41670 + align = get_absolute_expression ();
41671 + }
41672 +
41673 + demand_empty_rest_of_line();
41674 +
41675 + obj_elf_change_section (name, type, attr, 0, NULL, 0, 0);
41676 +#ifdef AVR32_DEBUG
41677 + fprintf( stderr, "RSEG: Changed section to %s, type: 0x%x, attr: 0x%x\n",
41678 + name, type, attr );
41679 + fprintf( stderr, "RSEG: Aligning to 2**%d\n", align );
41680 +#endif
41681 +
41682 + if (align > 15)
41683 + {
41684 + align = 15;
41685 + as_warn (_("alignment too large: %u assumed"), align);
41686 + }
41687 +
41688 + /* Hope not, that is */
41689 + assert (now_seg != absolute_section);
41690 +
41691 + /* Only make a frag if we HAVE to... */
41692 + if (align != 0 && !need_pass_2)
41693 + {
41694 + if (subseg_text_p (now_seg))
41695 + frag_align_code (align, 0);
41696 + else
41697 + frag_align (align, 0, 0);
41698 + }
41699 +
41700 + record_alignment (now_seg, align - OCTETS_PER_BYTE_POWER);
41701 +}
41702 +
41703 +/* vim: syntax=c sw=2
41704 + */
41705 Index: binutils-2.17/gas/config/tc-avr32.h
41706 ===================================================================
41707 --- /dev/null 1970-01-01 00:00:00.000000000 +0000
41708 +++ binutils-2.17/gas/config/tc-avr32.h 2007-06-28 09:19:36.617669720 +0200
41709 @@ -0,0 +1,313 @@
41710 +/* Assembler definitions for AVR32.
41711 + Copyright 2003-2006 Atmel Corporation.
41712 +
41713 + Written by Haavard Skinnemoen, Atmel Norway, <hskinnemoen@atmel.com>
41714 +
41715 + This file is part of GAS, the GNU Assembler.
41716 +
41717 + GAS is free software; you can redistribute it and/or modify it
41718 + under the terms of the GNU General Public License as published by
41719 + the Free Software Foundation; either version 2, or (at your option)
41720 + any later version.
41721 +
41722 + GAS is distributed in the hope that it will be useful, but WITHOUT
41723 + ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
41724 + or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
41725 + License for more details.
41726 +
41727 + You should have received a copy of the GNU General Public License
41728 + along with GAS; see the file COPYING. If not, write to the Free
41729 + Software Foundation, 59 Temple Place - Suite 330, Boston, MA
41730 + 02111-1307, USA. */
41731 +
41732 +#if 0
41733 +#define DEBUG
41734 +#define DEBUG1
41735 +#define DEBUG2
41736 +#define DEBUG3
41737 +#define DEBUG4
41738 +#define DEBUG5
41739 +#endif
41740 +
41741 +/* Are we trying to be compatible with the IAR assembler? (--iar) */
41742 +extern int avr32_iarcompat;
41743 +
41744 +/* By convention, you should define this macro in the `.h' file. For
41745 + example, `tc-m68k.h' defines `TC_M68K'. You might have to use this
41746 + if it is necessary to add CPU specific code to the object format
41747 + file. */
41748 +#define TC_AVR32
41749 +
41750 +/* This macro is the BFD target name to use when creating the output
41751 + file. This will normally depend upon the `OBJ_FMT' macro. */
41752 +#define TARGET_FORMAT "elf32-avr32"
41753 +
41754 +/* This macro is the BFD architecture to pass to `bfd_set_arch_mach'. */
41755 +#define TARGET_ARCH bfd_arch_avr32
41756 +
41757 +/* This macro is the BFD machine number to pass to
41758 + `bfd_set_arch_mach'. If it is not defined, GAS will use 0. */
41759 +#define TARGET_MACH 0
41760 +
41761 +/* UNDOCUMENTED: Allow //-style comments */
41762 +#define DOUBLESLASH_LINE_COMMENTS
41763 +
41764 +/* You should define this macro to be non-zero if the target is big
41765 + endian, and zero if the target is little endian. */
41766 +#define TARGET_BYTES_BIG_ENDIAN 1
41767 +
41768 +/* FIXME: It seems that GAS only expects a one-byte opcode...
41769 + #define NOP_OPCODE 0xd703 */
41770 +
41771 +/* If you define this macro, GAS will warn about the use of
41772 + nonstandard escape sequences in a string. */
41773 +#undef ONLY_STANDARD_ESCAPES
41774 +
41775 +#define DWARF2_FORMAT() dwarf2_format_32bit
41776 +
41777 +/* Instructions are either 2 or 4 bytes long */
41778 +/* #define DWARF2_LINE_MIN_INSN_LENGTH 2 */
41779 +
41780 +/* GAS will call this function for any expression that can not be
41781 + recognized. When the function is called, `input_line_pointer'
41782 + will point to the start of the expression. */
41783 +#define md_operand(x)
41784 +
41785 +#define md_parse_name(name, expr, mode, c) avr32_parse_name(name, expr, c)
41786 +extern int avr32_parse_name(const char *, struct expressionS *, char *);
41787 +
41788 +/* You may define this macro to generate a fixup for a data
41789 + allocation pseudo-op. */
41790 +#define TC_CONS_FIX_NEW(FRAG, OFF, LEN, EXP) \
41791 + avr32_cons_fix_new(FRAG, OFF, LEN, EXP)
41792 +void avr32_cons_fix_new (fragS *, int, int, expressionS *);
41793 +
41794 +/* `extsym - .' expressions can be emitted using PC-relative relocs */
41795 +#define DIFF_EXPR_OK
41796 +
41797 +/* This is used to construct expressions out of @gotoff, etc. The
41798 + relocation type is stored in X_md */
41799 +#define O_got O_md1
41800 +#define O_hi O_md2
41801 +#define O_lo O_md3
41802 +#define O_tlsgd O_md4
41803 +
41804 +/* You may define this macro to parse an expression used in a data
41805 + allocation pseudo-op such as `.word'. You can use this to
41806 + recognize relocation directives that may appear in such directives. */
41807 +/* #define TC_PARSE_CONS_EXPRESSION(EXPR,N) avr_parse_cons_expression (EXPR,N)
41808 + void avr_parse_cons_expression (expressionS *exp, int nbytes); */
41809 +
41810 +/* This should just call either `number_to_chars_bigendian' or
41811 + `number_to_chars_littleendian', whichever is appropriate. On
41812 + targets like the MIPS which support options to change the
41813 + endianness, which function to call is a runtime decision. On
41814 + other targets, `md_number_to_chars' can be a simple macro. */
41815 +#define md_number_to_chars number_to_chars_bigendian
41816 +
41817 +/* `md_short_jump_size'
41818 + `md_long_jump_size'
41819 + `md_create_short_jump'
41820 + `md_create_long_jump'
41821 + If `WORKING_DOT_WORD' is defined, GAS will not do broken word
41822 + processing (*note Broken words::.). Otherwise, you should set
41823 + `md_short_jump_size' to the size of a short jump (a jump that is
41824 + just long enough to jump around a long jmp) and
41825 + `md_long_jump_size' to the size of a long jump (a jump that can go
41826 + anywhere in the function), You should define
41827 + `md_create_short_jump' to create a short jump around a long jump,
41828 + and define `md_create_long_jump' to create a long jump. */
41829 +#define WORKING_DOT_WORD
41830 +
41831 +/* If you define this macro, it means that `tc_gen_reloc' may return
41832 + multiple relocation entries for a single fixup. In this case, the
41833 + return value of `tc_gen_reloc' is a pointer to a null terminated
41834 + array. */
41835 +#undef RELOC_EXPANSION_POSSIBLE
41836 +
41837 +/* If you define this macro, GAS will not require pseudo-ops to start with a .
41838 + character. */
41839 +#define NO_PSEUDO_DOT (avr32_iarcompat)
41840 +
41841 +/* The IAR assembler uses $ as the location counter. Unfortunately, we
41842 + can't make this dependent on avr32_iarcompat... */
41843 +#define DOLLAR_DOT
41844 +
41845 +/* Values passed to md_apply_fix3 don't include the symbol value. */
41846 +#define MD_APPLY_SYM_VALUE(FIX) 0
41847 +
41848 +/* The number of bytes to put into a word in a listing. This affects
41849 + the way the bytes are clumped together in the listing. For
41850 + example, a value of 2 might print `1234 5678' where a value of 1
41851 + would print `12 34 56 78'. The default value is 4. */
41852 +#define LISTING_WORD_SIZE 4
41853 +
41854 +/* extern const struct relax_type md_relax_table[];
41855 +#define TC_GENERIC_RELAX_TABLE md_relax_table */
41856 +
41857 +/*
41858 + An `.lcomm' directive with no explicit alignment parameter will use
41859 + this macro to set P2VAR to the alignment that a request for SIZE
41860 + bytes will have. The alignment is expressed as a power of two. If
41861 + no alignment should take place, the macro definition should do
41862 + nothing. Some targets define a `.bss' directive that is also
41863 + affected by this macro. The default definition will set P2VAR to
41864 + the truncated power of two of sizes up to eight bytes.
41865 +
41866 + We want doublewords to be word-aligned, so we're going to modify the
41867 + default definition a tiny bit.
41868 +*/
41869 +#define TC_IMPLICIT_LCOMM_ALIGNMENT(SIZE, P2VAR) \
41870 + do \
41871 + { \
41872 + if ((SIZE) >= 4) \
41873 + (P2VAR) = 2; \
41874 + else if ((SIZE) >= 2) \
41875 + (P2VAR) = 1; \
41876 + else \
41877 + (P2VAR) = 0; \
41878 + } \
41879 + while (0)
41880 +
41881 +/* When relaxing, we need to generate relocations for alignment
41882 + directives. */
41883 +#define HANDLE_ALIGN(frag) avr32_handle_align(frag)
41884 +extern void avr32_handle_align(fragS *);
41885 +
41886 +/* See internals doc for explanation. Oh wait...
41887 + Now, can you guess where "alignment" comes from? ;-) */
41888 +#define MAX_MEM_FOR_RS_ALIGN_CODE ((1 << alignment) - 1)
41889 +
41890 +/* We need to stop gas from reducing certain expressions (e.g. GOT
41891 + references) */
41892 +#define tc_fix_adjustable(fix) avr32_fix_adjustable(fix)
41893 +extern bfd_boolean avr32_fix_adjustable(struct fix *);
41894 +
41895 +/* The linker needs to be passed a little more information when relaxing. */
41896 +#define TC_FORCE_RELOCATION(fix) avr32_force_reloc(fix)
41897 +extern bfd_boolean avr32_force_reloc(struct fix *);
41898 +
41899 +/* I'm tired of working around all the madness in fixup_segment().
41900 + This hook will do basically the same things as the generic code,
41901 + and then it will "goto" right past it. */
41902 +#define TC_VALIDATE_FIX(FIX, SEG, SKIP) \
41903 + do \
41904 + { \
41905 + avr32_process_fixup(FIX, SEG); \
41906 + if (!(FIX)->fx_done) \
41907 + ++seg_reloc_count; \
41908 + goto SKIP; \
41909 + } \
41910 + while (0)
41911 +extern void avr32_process_fixup(struct fix *fixP, segT this_segment);
41912 +
41913 +/* We don't want the gas core to make any assumptions about our way of
41914 + doing linkrelaxing. */
41915 +#define TC_LINKRELAX_FIXUP(SEG) 0
41916 +
41917 +/* ... but we do want it to insert lots of padding. */
41918 +#define LINKER_RELAXING_SHRINKS_ONLY
41919 +
41920 +/* Better do it ourselves, really... */
41921 +#define TC_RELAX_ALIGN(SEG, FRAG, ADDR) avr32_relax_align(SEG, FRAG, ADDR)
41922 +extern relax_addressT
41923 +avr32_relax_align(segT segment, fragS *fragP, relax_addressT address);
41924 +
41925 +/* This is called by write_object_file() just before symbols are
41926 + attempted converted into section symbols. */
41927 +#define tc_frob_file_before_adjust() avr32_frob_file()
41928 +extern void avr32_frob_file(void);
41929 +
41930 +/* If you define this macro, GAS will call it at the end of each input
41931 + file. */
41932 +#define md_cleanup() avr32_cleanup()
41933 +extern void avr32_cleanup(void);
41934 +
41935 +/* There's an AVR32-specific hack in operand() which creates O_md
41936 + expressions when encountering HWRD or LWRD. We need to generate
41937 + proper relocs for them */
41938 +/* #define md_cgen_record_fixup_exp avr32_cgen_record_fixup_exp */
41939 +
41940 +/* I needed to add an extra hook in gas_cgen_finish_insn() for
41941 + conversion of O_md* operands because md_cgen_record_fixup_exp()
41942 + isn't called for relaxable insns */
41943 +/* #define md_cgen_convert_expr(exp, opinfo) avr32_cgen_convert_expr(exp, opinfo)
41944 + int avr32_cgen_convert_expr(expressionS *, int); */
41945 +
41946 +/* #define tc_gen_reloc gas_cgen_tc_gen_reloc */
41947 +
41948 +/* If you define this macro, it should return the position from which
41949 + the PC relative adjustment for a PC relative fixup should be
41950 + made. On many processors, the base of a PC relative instruction is
41951 + the next instruction, so this macro would return the length of an
41952 + instruction, plus the address of the PC relative fixup. The latter
41953 + can be calculated as fixp->fx_where + fixp->fx_frag->fr_address. */
41954 +extern long md_pcrel_from_section (struct fix *, segT);
41955 +#define MD_PCREL_FROM_SECTION(FIX, SEC) md_pcrel_from_section (FIX, SEC)
41956 +
41957 +#define LOCAL_LABEL(name) (name[0] == '.' && (name[1] == 'L'))
41958 +#define LOCAL_LABELS_FB 1
41959 +
41960 +struct avr32_relaxer
41961 +{
41962 + int (*estimate_size)(fragS *, segT);
41963 + long (*relax_frag)(segT, fragS *, long);
41964 + void (*convert_frag)(bfd *, segT, fragS *);
41965 +};
41966 +
41967 +/* AVR32 has quite complex instruction coding, which means we need
41968 + * lots of information in order to do the right thing during relaxing
41969 + * (basically, we need to be able to reconstruct a whole new opcode if
41970 + * necessary) */
41971 +#define TC_FRAG_TYPE struct avr32_frag_data
41972 +
41973 +struct cpool;
41974 +
41975 +struct avr32_frag_data
41976 +{
41977 + /* TODO: Maybe add an expression object here so that we can use
41978 + fix_new_exp() in md_convert_frag? We may have to decide
41979 + pcrel-ness in md_estimate_size_before_relax() as well...or we
41980 + might do it when parsing. Doing it while parsing may fail
41981 + because the sub_symbol is undefined then... */
41982 + int pcrel;
41983 + int force_extended;
41984 + int reloc_info;
41985 + struct avr32_relaxer *relaxer;
41986 + expressionS exp;
41987 +
41988 + /* Points to associated constant pool, for use by LDA and CALL in
41989 + non-pic mode, and when relaxing the .cpool directive */
41990 + struct cpool *pool;
41991 + unsigned int pool_entry;
41992 +};
41993 +
41994 +/* We will have to initialize the fields explicitly when needed */
41995 +#define TC_FRAG_INIT(fragP)
41996 +
41997 +#define md_estimate_size_before_relax(fragP, segT) \
41998 + ((fragP)->tc_frag_data.relaxer->estimate_size(fragP, segT))
41999 +#define md_relax_frag(segment, fragP, stretch) \
42000 + ((fragP)->tc_frag_data.relaxer->relax_frag(segment, fragP, stretch))
42001 +#define md_convert_frag(abfd, segment, fragP) \
42002 + ((fragP)->tc_frag_data.relaxer->convert_frag(abfd, segment, fragP))
42003 +
42004 +#define TC_FIX_TYPE struct avr32_fix_data
42005 +
42006 +struct avr32_fix_data
42007 +{
42008 + const struct avr32_ifield *ifield;
42009 + unsigned int align;
42010 + long min;
42011 + long max;
42012 +};
42013 +
42014 +#define TC_INIT_FIX_DATA(fixP) \
42015 + do \
42016 + { \
42017 + (fixP)->tc_fix_data.ifield = NULL; \
42018 + (fixP)->tc_fix_data.align = 0; \
42019 + (fixP)->tc_fix_data.min = 0; \
42020 + (fixP)->tc_fix_data.max = 0; \
42021 + } \
42022 + while (0)
42023 Index: binutils-2.17/gas/config.in
42024 ===================================================================
42025 --- binutils-2.17.orig/gas/config.in 2007-06-28 09:19:34.291023424 +0200
42026 +++ binutils-2.17/gas/config.in 2007-06-28 09:19:36.617669720 +0200
42027 @@ -246,7 +246,7 @@
42028
42029 /* If using the C implementation of alloca, define if you know the
42030 direction of stack growth for your system; otherwise it will be
42031 - automatically deduced at run-time.
42032 + automatically deduced at runtime.
42033 STACK_DIRECTION > 0 => grows toward higher addresses
42034 STACK_DIRECTION < 0 => grows toward lower addresses
42035 STACK_DIRECTION = 0 => direction of growth unknown */
42036 @@ -311,8 +311,8 @@
42037 #undef inline
42038 #endif
42039
42040 -/* Define to `long' if <sys/types.h> does not define. */
42041 +/* Define to `long int' if <sys/types.h> does not define. */
42042 #undef off_t
42043
42044 -/* Define to `unsigned' if <sys/types.h> does not define. */
42045 +/* Define to `unsigned int' if <sys/types.h> does not define. */
42046 #undef size_t
42047 Index: binutils-2.17/gas/configure
42048 ===================================================================
42049 --- binutils-2.17.orig/gas/configure 2007-06-28 09:19:35.035910184 +0200
42050 +++ binutils-2.17/gas/configure 2007-06-28 09:19:36.630667744 +0200
42051 @@ -1,25 +1,54 @@
42052 #! /bin/sh
42053 # Guess values for system-dependent variables and create Makefiles.
42054 -# Generated by GNU Autoconf 2.59.
42055 +# Generated by GNU Autoconf 2.61.
42056 #
42057 -# Copyright (C) 2003 Free Software Foundation, Inc.
42058 +# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
42059 +# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
42060 # This configure script is free software; the Free Software Foundation
42061 # gives unlimited permission to copy, distribute and modify it.
42062 ## --------------------- ##
42063 ## M4sh Initialization. ##
42064 ## --------------------- ##
42065
42066 -# Be Bourne compatible
42067 +# Be more Bourne compatible
42068 +DUALCASE=1; export DUALCASE # for MKS sh
42069 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
42070 emulate sh
42071 NULLCMD=:
42072 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
42073 # is contrary to our usage. Disable this feature.
42074 alias -g '${1+"$@"}'='"$@"'
42075 -elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
42076 - set -o posix
42077 + setopt NO_GLOB_SUBST
42078 +else
42079 + case `(set -o) 2>/dev/null` in
42080 + *posix*) set -o posix ;;
42081 +esac
42082 +
42083 +fi
42084 +
42085 +
42086 +
42087 +
42088 +# PATH needs CR
42089 +# Avoid depending upon Character Ranges.
42090 +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
42091 +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
42092 +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
42093 +as_cr_digits='0123456789'
42094 +as_cr_alnum=$as_cr_Letters$as_cr_digits
42095 +
42096 +# The user is always right.
42097 +if test "${PATH_SEPARATOR+set}" != set; then
42098 + echo "#! /bin/sh" >conf$$.sh
42099 + echo "exit 0" >>conf$$.sh
42100 + chmod +x conf$$.sh
42101 + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
42102 + PATH_SEPARATOR=';'
42103 + else
42104 + PATH_SEPARATOR=:
42105 + fi
42106 + rm -f conf$$.sh
42107 fi
42108 -DUALCASE=1; export DUALCASE # for MKS sh
42109
42110 # Support unset when possible.
42111 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
42112 @@ -29,8 +58,43 @@
42113 fi
42114
42115
42116 +# IFS
42117 +# We need space, tab and new line, in precisely that order. Quoting is
42118 +# there to prevent editors from complaining about space-tab.
42119 +# (If _AS_PATH_WALK were called with IFS unset, it would disable word
42120 +# splitting by setting IFS to empty value.)
42121 +as_nl='
42122 +'
42123 +IFS=" "" $as_nl"
42124 +
42125 +# Find who we are. Look in the path if we contain no directory separator.
42126 +case $0 in
42127 + *[\\/]* ) as_myself=$0 ;;
42128 + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42129 +for as_dir in $PATH
42130 +do
42131 + IFS=$as_save_IFS
42132 + test -z "$as_dir" && as_dir=.
42133 + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
42134 +done
42135 +IFS=$as_save_IFS
42136 +
42137 + ;;
42138 +esac
42139 +# We did not find ourselves, most probably we were run as `sh COMMAND'
42140 +# in which case we are not to be found in the path.
42141 +if test "x$as_myself" = x; then
42142 + as_myself=$0
42143 +fi
42144 +if test ! -f "$as_myself"; then
42145 + echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
42146 + { (exit 1); exit 1; }
42147 +fi
42148 +
42149 # Work around bugs in pre-3.0 UWIN ksh.
42150 -$as_unset ENV MAIL MAILPATH
42151 +for as_var in ENV MAIL MAILPATH
42152 +do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
42153 +done
42154 PS1='$ '
42155 PS2='> '
42156 PS4='+ '
42157 @@ -44,18 +108,19 @@
42158 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
42159 eval $as_var=C; export $as_var
42160 else
42161 - $as_unset $as_var
42162 + ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
42163 fi
42164 done
42165
42166 # Required to use basename.
42167 -if expr a : '\(a\)' >/dev/null 2>&1; then
42168 +if expr a : '\(a\)' >/dev/null 2>&1 &&
42169 + test "X`expr 00001 : '.*\(...\)'`" = X001; then
42170 as_expr=expr
42171 else
42172 as_expr=false
42173 fi
42174
42175 -if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
42176 +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
42177 as_basename=basename
42178 else
42179 as_basename=false
42180 @@ -63,157 +128,388 @@
42181
42182
42183 # Name of the executable.
42184 -as_me=`$as_basename "$0" ||
42185 +as_me=`$as_basename -- "$0" ||
42186 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
42187 X"$0" : 'X\(//\)$' \| \
42188 - X"$0" : 'X\(/\)$' \| \
42189 - . : '\(.\)' 2>/dev/null ||
42190 + X"$0" : 'X\(/\)' \| . 2>/dev/null ||
42191 echo X/"$0" |
42192 - sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
42193 - /^X\/\(\/\/\)$/{ s//\1/; q; }
42194 - /^X\/\(\/\).*/{ s//\1/; q; }
42195 - s/.*/./; q'`
42196 + sed '/^.*\/\([^/][^/]*\)\/*$/{
42197 + s//\1/
42198 + q
42199 + }
42200 + /^X\/\(\/\/\)$/{
42201 + s//\1/
42202 + q
42203 + }
42204 + /^X\/\(\/\).*/{
42205 + s//\1/
42206 + q
42207 + }
42208 + s/.*/./; q'`
42209
42210 +# CDPATH.
42211 +$as_unset CDPATH
42212
42213 -# PATH needs CR, and LINENO needs CR and PATH.
42214 -# Avoid depending upon Character Ranges.
42215 -as_cr_letters='abcdefghijklmnopqrstuvwxyz'
42216 -as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
42217 -as_cr_Letters=$as_cr_letters$as_cr_LETTERS
42218 -as_cr_digits='0123456789'
42219 -as_cr_alnum=$as_cr_Letters$as_cr_digits
42220
42221 -# The user is always right.
42222 -if test "${PATH_SEPARATOR+set}" != set; then
42223 - echo "#! /bin/sh" >conf$$.sh
42224 - echo "exit 0" >>conf$$.sh
42225 - chmod +x conf$$.sh
42226 - if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
42227 - PATH_SEPARATOR=';'
42228 - else
42229 - PATH_SEPARATOR=:
42230 - fi
42231 - rm -f conf$$.sh
42232 +if test "x$CONFIG_SHELL" = x; then
42233 + if (eval ":") 2>/dev/null; then
42234 + as_have_required=yes
42235 +else
42236 + as_have_required=no
42237 fi
42238
42239 + if test $as_have_required = yes && (eval ":
42240 +(as_func_return () {
42241 + (exit \$1)
42242 +}
42243 +as_func_success () {
42244 + as_func_return 0
42245 +}
42246 +as_func_failure () {
42247 + as_func_return 1
42248 +}
42249 +as_func_ret_success () {
42250 + return 0
42251 +}
42252 +as_func_ret_failure () {
42253 + return 1
42254 +}
42255
42256 - as_lineno_1=$LINENO
42257 - as_lineno_2=$LINENO
42258 - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
42259 - test "x$as_lineno_1" != "x$as_lineno_2" &&
42260 - test "x$as_lineno_3" = "x$as_lineno_2" || {
42261 - # Find who we are. Look in the path if we contain no path at all
42262 - # relative or not.
42263 - case $0 in
42264 - *[\\/]* ) as_myself=$0 ;;
42265 - *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42266 -for as_dir in $PATH
42267 -do
42268 - IFS=$as_save_IFS
42269 - test -z "$as_dir" && as_dir=.
42270 - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
42271 -done
42272 +exitcode=0
42273 +if as_func_success; then
42274 + :
42275 +else
42276 + exitcode=1
42277 + echo as_func_success failed.
42278 +fi
42279
42280 - ;;
42281 - esac
42282 - # We did not find ourselves, most probably we were run as `sh COMMAND'
42283 - # in which case we are not to be found in the path.
42284 - if test "x$as_myself" = x; then
42285 - as_myself=$0
42286 - fi
42287 - if test ! -f "$as_myself"; then
42288 - { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
42289 - { (exit 1); exit 1; }; }
42290 - fi
42291 - case $CONFIG_SHELL in
42292 - '')
42293 +if as_func_failure; then
42294 + exitcode=1
42295 + echo as_func_failure succeeded.
42296 +fi
42297 +
42298 +if as_func_ret_success; then
42299 + :
42300 +else
42301 + exitcode=1
42302 + echo as_func_ret_success failed.
42303 +fi
42304 +
42305 +if as_func_ret_failure; then
42306 + exitcode=1
42307 + echo as_func_ret_failure succeeded.
42308 +fi
42309 +
42310 +if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
42311 + :
42312 +else
42313 + exitcode=1
42314 + echo positional parameters were not saved.
42315 +fi
42316 +
42317 +test \$exitcode = 0) || { (exit 1); exit 1; }
42318 +
42319 +(
42320 + as_lineno_1=\$LINENO
42321 + as_lineno_2=\$LINENO
42322 + test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
42323 + test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
42324 +") 2> /dev/null; then
42325 + :
42326 +else
42327 + as_candidate_shells=
42328 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42329 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
42330 do
42331 IFS=$as_save_IFS
42332 test -z "$as_dir" && as_dir=.
42333 - for as_base in sh bash ksh sh5; do
42334 - case $as_dir in
42335 + case $as_dir in
42336 /*)
42337 - if ("$as_dir/$as_base" -c '
42338 + for as_base in sh bash ksh sh5; do
42339 + as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
42340 + done;;
42341 + esac
42342 +done
42343 +IFS=$as_save_IFS
42344 +
42345 +
42346 + for as_shell in $as_candidate_shells $SHELL; do
42347 + # Try only shells that exist, to save several forks.
42348 + if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
42349 + { ("$as_shell") 2> /dev/null <<\_ASEOF
42350 +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
42351 + emulate sh
42352 + NULLCMD=:
42353 + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
42354 + # is contrary to our usage. Disable this feature.
42355 + alias -g '${1+"$@"}'='"$@"'
42356 + setopt NO_GLOB_SUBST
42357 +else
42358 + case `(set -o) 2>/dev/null` in
42359 + *posix*) set -o posix ;;
42360 +esac
42361 +
42362 +fi
42363 +
42364 +
42365 +:
42366 +_ASEOF
42367 +}; then
42368 + CONFIG_SHELL=$as_shell
42369 + as_have_required=yes
42370 + if { "$as_shell" 2> /dev/null <<\_ASEOF
42371 +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
42372 + emulate sh
42373 + NULLCMD=:
42374 + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
42375 + # is contrary to our usage. Disable this feature.
42376 + alias -g '${1+"$@"}'='"$@"'
42377 + setopt NO_GLOB_SUBST
42378 +else
42379 + case `(set -o) 2>/dev/null` in
42380 + *posix*) set -o posix ;;
42381 +esac
42382 +
42383 +fi
42384 +
42385 +
42386 +:
42387 +(as_func_return () {
42388 + (exit $1)
42389 +}
42390 +as_func_success () {
42391 + as_func_return 0
42392 +}
42393 +as_func_failure () {
42394 + as_func_return 1
42395 +}
42396 +as_func_ret_success () {
42397 + return 0
42398 +}
42399 +as_func_ret_failure () {
42400 + return 1
42401 +}
42402 +
42403 +exitcode=0
42404 +if as_func_success; then
42405 + :
42406 +else
42407 + exitcode=1
42408 + echo as_func_success failed.
42409 +fi
42410 +
42411 +if as_func_failure; then
42412 + exitcode=1
42413 + echo as_func_failure succeeded.
42414 +fi
42415 +
42416 +if as_func_ret_success; then
42417 + :
42418 +else
42419 + exitcode=1
42420 + echo as_func_ret_success failed.
42421 +fi
42422 +
42423 +if as_func_ret_failure; then
42424 + exitcode=1
42425 + echo as_func_ret_failure succeeded.
42426 +fi
42427 +
42428 +if ( set x; as_func_ret_success y && test x = "$1" ); then
42429 + :
42430 +else
42431 + exitcode=1
42432 + echo positional parameters were not saved.
42433 +fi
42434 +
42435 +test $exitcode = 0) || { (exit 1); exit 1; }
42436 +
42437 +(
42438 as_lineno_1=$LINENO
42439 as_lineno_2=$LINENO
42440 - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
42441 test "x$as_lineno_1" != "x$as_lineno_2" &&
42442 - test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
42443 - $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
42444 - $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
42445 - CONFIG_SHELL=$as_dir/$as_base
42446 - export CONFIG_SHELL
42447 - exec "$CONFIG_SHELL" "$0" ${1+"$@"}
42448 - fi;;
42449 - esac
42450 - done
42451 -done
42452 -;;
42453 - esac
42454 + test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
42455 +
42456 +_ASEOF
42457 +}; then
42458 + break
42459 +fi
42460 +
42461 +fi
42462 +
42463 + done
42464 +
42465 + if test "x$CONFIG_SHELL" != x; then
42466 + for as_var in BASH_ENV ENV
42467 + do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
42468 + done
42469 + export CONFIG_SHELL
42470 + exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
42471 +fi
42472 +
42473 +
42474 + if test $as_have_required = no; then
42475 + echo This script requires a shell more modern than all the
42476 + echo shells that I found on your system. Please install a
42477 + echo modern shell, or manually run the script under such a
42478 + echo shell if you do have one.
42479 + { (exit 1); exit 1; }
42480 +fi
42481 +
42482 +
42483 +fi
42484 +
42485 +fi
42486 +
42487 +
42488 +
42489 +(eval "as_func_return () {
42490 + (exit \$1)
42491 +}
42492 +as_func_success () {
42493 + as_func_return 0
42494 +}
42495 +as_func_failure () {
42496 + as_func_return 1
42497 +}
42498 +as_func_ret_success () {
42499 + return 0
42500 +}
42501 +as_func_ret_failure () {
42502 + return 1
42503 +}
42504 +
42505 +exitcode=0
42506 +if as_func_success; then
42507 + :
42508 +else
42509 + exitcode=1
42510 + echo as_func_success failed.
42511 +fi
42512 +
42513 +if as_func_failure; then
42514 + exitcode=1
42515 + echo as_func_failure succeeded.
42516 +fi
42517 +
42518 +if as_func_ret_success; then
42519 + :
42520 +else
42521 + exitcode=1
42522 + echo as_func_ret_success failed.
42523 +fi
42524 +
42525 +if as_func_ret_failure; then
42526 + exitcode=1
42527 + echo as_func_ret_failure succeeded.
42528 +fi
42529 +
42530 +if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
42531 + :
42532 +else
42533 + exitcode=1
42534 + echo positional parameters were not saved.
42535 +fi
42536 +
42537 +test \$exitcode = 0") || {
42538 + echo No shell found that supports shell functions.
42539 + echo Please tell autoconf@gnu.org about your system,
42540 + echo including any error possibly output before this
42541 + echo message
42542 +}
42543 +
42544 +
42545 +
42546 + as_lineno_1=$LINENO
42547 + as_lineno_2=$LINENO
42548 + test "x$as_lineno_1" != "x$as_lineno_2" &&
42549 + test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
42550
42551 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
42552 # uniformly replaced by the line number. The first 'sed' inserts a
42553 - # line-number line before each line; the second 'sed' does the real
42554 - # work. The second script uses 'N' to pair each line-number line
42555 - # with the numbered line, and appends trailing '-' during
42556 - # substitution so that $LINENO is not a special case at line end.
42557 + # line-number line after each line using $LINENO; the second 'sed'
42558 + # does the real work. The second script uses 'N' to pair each
42559 + # line-number line with the line containing $LINENO, and appends
42560 + # trailing '-' during substitution so that $LINENO is not a special
42561 + # case at line end.
42562 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
42563 - # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
42564 - sed '=' <$as_myself |
42565 + # scripts with optimization help from Paolo Bonzini. Blame Lee
42566 + # E. McMahon (1931-1989) for sed's syntax. :-)
42567 + sed -n '
42568 + p
42569 + /[$]LINENO/=
42570 + ' <$as_myself |
42571 sed '
42572 + s/[$]LINENO.*/&-/
42573 + t lineno
42574 + b
42575 + :lineno
42576 N
42577 - s,$,-,
42578 - : loop
42579 - s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
42580 + :loop
42581 + s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
42582 t loop
42583 - s,-$,,
42584 - s,^['$as_cr_digits']*\n,,
42585 + s/-\n.*//
42586 ' >$as_me.lineno &&
42587 - chmod +x $as_me.lineno ||
42588 + chmod +x "$as_me.lineno" ||
42589 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
42590 { (exit 1); exit 1; }; }
42591
42592 # Don't try to exec as it changes $[0], causing all sort of problems
42593 # (the dirname of $[0] is not the place where we might find the
42594 - # original and so on. Autoconf is especially sensible to this).
42595 - . ./$as_me.lineno
42596 + # original and so on. Autoconf is especially sensitive to this).
42597 + . "./$as_me.lineno"
42598 # Exit status is that of the last command.
42599 exit
42600 }
42601
42602
42603 -case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
42604 - *c*,-n*) ECHO_N= ECHO_C='
42605 -' ECHO_T=' ' ;;
42606 - *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
42607 - *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
42608 +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
42609 + as_dirname=dirname
42610 +else
42611 + as_dirname=false
42612 +fi
42613 +
42614 +ECHO_C= ECHO_N= ECHO_T=
42615 +case `echo -n x` in
42616 +-n*)
42617 + case `echo 'x\c'` in
42618 + *c*) ECHO_T=' ';; # ECHO_T is single tab character.
42619 + *) ECHO_C='\c';;
42620 + esac;;
42621 +*)
42622 + ECHO_N='-n';;
42623 esac
42624
42625 -if expr a : '\(a\)' >/dev/null 2>&1; then
42626 +if expr a : '\(a\)' >/dev/null 2>&1 &&
42627 + test "X`expr 00001 : '.*\(...\)'`" = X001; then
42628 as_expr=expr
42629 else
42630 as_expr=false
42631 fi
42632
42633 rm -f conf$$ conf$$.exe conf$$.file
42634 +if test -d conf$$.dir; then
42635 + rm -f conf$$.dir/conf$$.file
42636 +else
42637 + rm -f conf$$.dir
42638 + mkdir conf$$.dir
42639 +fi
42640 echo >conf$$.file
42641 if ln -s conf$$.file conf$$ 2>/dev/null; then
42642 - # We could just check for DJGPP; but this test a) works b) is more generic
42643 - # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
42644 - if test -f conf$$.exe; then
42645 - # Don't use ln at all; we don't have any links
42646 + as_ln_s='ln -s'
42647 + # ... but there are two gotchas:
42648 + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
42649 + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
42650 + # In both cases, we have to default to `cp -p'.
42651 + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
42652 as_ln_s='cp -p'
42653 - else
42654 - as_ln_s='ln -s'
42655 - fi
42656 elif ln conf$$.file conf$$ 2>/dev/null; then
42657 as_ln_s=ln
42658 else
42659 as_ln_s='cp -p'
42660 fi
42661 -rm -f conf$$ conf$$.exe conf$$.file
42662 +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
42663 +rmdir conf$$.dir 2>/dev/null
42664
42665 if mkdir -p . 2>/dev/null; then
42666 as_mkdir_p=:
42667 @@ -222,7 +518,28 @@
42668 as_mkdir_p=false
42669 fi
42670
42671 -as_executable_p="test -f"
42672 +if test -x / >/dev/null 2>&1; then
42673 + as_test_x='test -x'
42674 +else
42675 + if ls -dL / >/dev/null 2>&1; then
42676 + as_ls_L_option=L
42677 + else
42678 + as_ls_L_option=
42679 + fi
42680 + as_test_x='
42681 + eval sh -c '\''
42682 + if test -d "$1"; then
42683 + test -d "$1/.";
42684 + else
42685 + case $1 in
42686 + -*)set "./$1";;
42687 + esac;
42688 + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
42689 + ???[sx]*):;;*)false;;esac;fi
42690 + '\'' sh
42691 + '
42692 +fi
42693 +as_executable_p=$as_test_x
42694
42695 # Sed expression to map a string onto a valid CPP name.
42696 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
42697 @@ -231,39 +548,27 @@
42698 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
42699
42700
42701 -# IFS
42702 -# We need space, tab and new line, in precisely that order.
42703 -as_nl='
42704 -'
42705 -IFS=" $as_nl"
42706 -
42707 -# CDPATH.
42708 -$as_unset CDPATH
42709
42710 +exec 7<&0 </dev/null 6>&1
42711
42712 # Name of the host.
42713 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
42714 # so uname gets run too.
42715 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
42716
42717 -exec 6>&1
42718 -
42719 #
42720 # Initializations.
42721 #
42722 ac_default_prefix=/usr/local
42723 +ac_clean_files=
42724 ac_config_libobj_dir=.
42725 +LIBOBJS=
42726 cross_compiling=no
42727 subdirs=
42728 MFLAGS=
42729 MAKEFLAGS=
42730 SHELL=${CONFIG_SHELL-/bin/sh}
42731
42732 -# Maximum number of lines to put in a shell here document.
42733 -# This variable seems obsolete. It should probably be removed, and
42734 -# only ac_max_sed_lines should be used.
42735 -: ${ac_max_here_lines=38}
42736 -
42737 # Identity of this package.
42738 PACKAGE_NAME=
42739 PACKAGE_TARNAME=
42740 @@ -275,42 +580,190 @@
42741 # Factoring default headers for most tests.
42742 ac_includes_default="\
42743 #include <stdio.h>
42744 -#if HAVE_SYS_TYPES_H
42745 +#ifdef HAVE_SYS_TYPES_H
42746 # include <sys/types.h>
42747 #endif
42748 -#if HAVE_SYS_STAT_H
42749 +#ifdef HAVE_SYS_STAT_H
42750 # include <sys/stat.h>
42751 #endif
42752 -#if STDC_HEADERS
42753 +#ifdef STDC_HEADERS
42754 # include <stdlib.h>
42755 # include <stddef.h>
42756 #else
42757 -# if HAVE_STDLIB_H
42758 +# ifdef HAVE_STDLIB_H
42759 # include <stdlib.h>
42760 # endif
42761 #endif
42762 -#if HAVE_STRING_H
42763 -# if !STDC_HEADERS && HAVE_MEMORY_H
42764 +#ifdef HAVE_STRING_H
42765 +# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
42766 # include <memory.h>
42767 # endif
42768 # include <string.h>
42769 #endif
42770 -#if HAVE_STRINGS_H
42771 +#ifdef HAVE_STRINGS_H
42772 # include <strings.h>
42773 #endif
42774 -#if HAVE_INTTYPES_H
42775 +#ifdef HAVE_INTTYPES_H
42776 # include <inttypes.h>
42777 -#else
42778 -# if HAVE_STDINT_H
42779 -# include <stdint.h>
42780 -# endif
42781 #endif
42782 -#if HAVE_UNISTD_H
42783 +#ifdef HAVE_STDINT_H
42784 +# include <stdint.h>
42785 +#endif
42786 +#ifdef HAVE_UNISTD_H
42787 # include <unistd.h>
42788 #endif"
42789
42790 -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'
42791 +ac_subst_vars='SHELL
42792 +PATH_SEPARATOR
42793 +PACKAGE_NAME
42794 +PACKAGE_TARNAME
42795 +PACKAGE_VERSION
42796 +PACKAGE_STRING
42797 +PACKAGE_BUGREPORT
42798 +exec_prefix
42799 +prefix
42800 +program_transform_name
42801 +bindir
42802 +sbindir
42803 +libexecdir
42804 +datarootdir
42805 +datadir
42806 +sysconfdir
42807 +sharedstatedir
42808 +localstatedir
42809 +includedir
42810 +oldincludedir
42811 +docdir
42812 +infodir
42813 +htmldir
42814 +dvidir
42815 +pdfdir
42816 +psdir
42817 +libdir
42818 +localedir
42819 +mandir
42820 +DEFS
42821 +ECHO_C
42822 +ECHO_N
42823 +ECHO_T
42824 +LIBS
42825 +build_alias
42826 +host_alias
42827 +target_alias
42828 +build
42829 +build_cpu
42830 +build_vendor
42831 +build_os
42832 +host
42833 +host_cpu
42834 +host_vendor
42835 +host_os
42836 +target
42837 +target_cpu
42838 +target_vendor
42839 +target_os
42840 +CC
42841 +CFLAGS
42842 +LDFLAGS
42843 +CPPFLAGS
42844 +ac_ct_CC
42845 +EXEEXT
42846 +OBJEXT
42847 +INSTALL_PROGRAM
42848 +INSTALL_SCRIPT
42849 +INSTALL_DATA
42850 +CYGPATH_W
42851 +PACKAGE
42852 +VERSION
42853 +ACLOCAL
42854 +AUTOCONF
42855 +AUTOMAKE
42856 +AUTOHEADER
42857 +MAKEINFO
42858 +install_sh
42859 +STRIP
42860 +INSTALL_STRIP_PROGRAM
42861 +mkdir_p
42862 +AWK
42863 +SET_MAKE
42864 +am__leading_dot
42865 +AMTAR
42866 +am__tar
42867 +am__untar
42868 +DEPDIR
42869 +am__include
42870 +am__quote
42871 +AMDEP_TRUE
42872 +AMDEP_FALSE
42873 +AMDEPBACKSLASH
42874 +CCDEPMODE
42875 +am__fastdepCC_TRUE
42876 +am__fastdepCC_FALSE
42877 +LN_S
42878 +RANLIB
42879 +LIBTOOL
42880 +WARN_CFLAGS
42881 +NO_WERROR
42882 +GDBINIT
42883 +CPP
42884 +GREP
42885 +EGREP
42886 +cgen_cpu_prefix
42887 +extra_objects
42888 +target_cpu_type
42889 +obj_format
42890 +te_file
42891 +install_tooldir
42892 +atof
42893 +BFDLIB
42894 +OPCODES_LIB
42895 +BFDVER_H
42896 +ALL_OBJ_DEPS
42897 +YACC
42898 +YFLAGS
42899 +LEX
42900 +LEX_OUTPUT_ROOT
42901 +LEXLIB
42902 +ALLOCA
42903 +USE_NLS
42904 +MSGFMT
42905 +GMSGFMT
42906 +XGETTEXT
42907 +USE_INCLUDED_LIBINTL
42908 +CATALOGS
42909 +CATOBJEXT
42910 +DATADIRNAME
42911 +GMOFILES
42912 +INSTOBJEXT
42913 +INTLDEPS
42914 +INTLLIBS
42915 +INTLOBJS
42916 +POFILES
42917 +POSUB
42918 +INCLUDE_LOCALE_H
42919 +GT_NO
42920 +GT_YES
42921 +MKINSTALLDIRS
42922 +l
42923 +MAINTAINER_MODE_TRUE
42924 +MAINTAINER_MODE_FALSE
42925 +MAINT
42926 +LIBM
42927 +LIBOBJS
42928 +LTLIBOBJS'
42929 ac_subst_files=''
42930 + ac_precious_vars='build_alias
42931 +host_alias
42932 +target_alias
42933 +CC
42934 +CFLAGS
42935 +LDFLAGS
42936 +LIBS
42937 +CPPFLAGS
42938 +CPP
42939 +YACC
42940 +YFLAGS'
42941 +
42942
42943 # Initialize some variables set by options.
42944 ac_init_help=
42945 @@ -337,34 +790,48 @@
42946 # and all the variables that are supposed to be based on exec_prefix
42947 # by default will actually change.
42948 # Use braces instead of parens because sh, perl, etc. also accept them.
42949 +# (The list follows the same order as the GNU Coding Standards.)
42950 bindir='${exec_prefix}/bin'
42951 sbindir='${exec_prefix}/sbin'
42952 libexecdir='${exec_prefix}/libexec'
42953 -datadir='${prefix}/share'
42954 +datarootdir='${prefix}/share'
42955 +datadir='${datarootdir}'
42956 sysconfdir='${prefix}/etc'
42957 sharedstatedir='${prefix}/com'
42958 localstatedir='${prefix}/var'
42959 -libdir='${exec_prefix}/lib'
42960 includedir='${prefix}/include'
42961 oldincludedir='/usr/include'
42962 -infodir='${prefix}/info'
42963 -mandir='${prefix}/man'
42964 +docdir='${datarootdir}/doc/${PACKAGE}'
42965 +infodir='${datarootdir}/info'
42966 +htmldir='${docdir}'
42967 +dvidir='${docdir}'
42968 +pdfdir='${docdir}'
42969 +psdir='${docdir}'
42970 +libdir='${exec_prefix}/lib'
42971 +localedir='${datarootdir}/locale'
42972 +mandir='${datarootdir}/man'
42973
42974 ac_prev=
42975 +ac_dashdash=
42976 for ac_option
42977 do
42978 # If the previous option needs an argument, assign it.
42979 if test -n "$ac_prev"; then
42980 - eval "$ac_prev=\$ac_option"
42981 + eval $ac_prev=\$ac_option
42982 ac_prev=
42983 continue
42984 fi
42985
42986 - ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
42987 + case $ac_option in
42988 + *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
42989 + *) ac_optarg=yes ;;
42990 + esac
42991
42992 # Accept the important Cygnus configure options, so we can diagnose typos.
42993
42994 - case $ac_option in
42995 + case $ac_dashdash$ac_option in
42996 + --)
42997 + ac_dashdash=yes ;;
42998
42999 -bindir | --bindir | --bindi | --bind | --bin | --bi)
43000 ac_prev=bindir ;;
43001 @@ -386,33 +853,45 @@
43002 --config-cache | -C)
43003 cache_file=config.cache ;;
43004
43005 - -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
43006 + -datadir | --datadir | --datadi | --datad)
43007 ac_prev=datadir ;;
43008 - -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
43009 - | --da=*)
43010 + -datadir=* | --datadir=* | --datadi=* | --datad=*)
43011 datadir=$ac_optarg ;;
43012
43013 + -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
43014 + | --dataroo | --dataro | --datar)
43015 + ac_prev=datarootdir ;;
43016 + -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
43017 + | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
43018 + datarootdir=$ac_optarg ;;
43019 +
43020 -disable-* | --disable-*)
43021 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
43022 # Reject names that are not valid shell variable names.
43023 - expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
43024 + expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
43025 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
43026 { (exit 1); exit 1; }; }
43027 - ac_feature=`echo $ac_feature | sed 's/-/_/g'`
43028 - eval "enable_$ac_feature=no" ;;
43029 + ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
43030 + eval enable_$ac_feature=no ;;
43031 +
43032 + -docdir | --docdir | --docdi | --doc | --do)
43033 + ac_prev=docdir ;;
43034 + -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
43035 + docdir=$ac_optarg ;;
43036 +
43037 + -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
43038 + ac_prev=dvidir ;;
43039 + -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
43040 + dvidir=$ac_optarg ;;
43041
43042 -enable-* | --enable-*)
43043 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
43044 # Reject names that are not valid shell variable names.
43045 - expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
43046 + expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
43047 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
43048 { (exit 1); exit 1; }; }
43049 - ac_feature=`echo $ac_feature | sed 's/-/_/g'`
43050 - case $ac_option in
43051 - *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
43052 - *) ac_optarg=yes ;;
43053 - esac
43054 - eval "enable_$ac_feature='$ac_optarg'" ;;
43055 + ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
43056 + eval enable_$ac_feature=\$ac_optarg ;;
43057
43058 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
43059 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
43060 @@ -439,6 +918,12 @@
43061 -host=* | --host=* | --hos=* | --ho=*)
43062 host_alias=$ac_optarg ;;
43063
43064 + -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
43065 + ac_prev=htmldir ;;
43066 + -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
43067 + | --ht=*)
43068 + htmldir=$ac_optarg ;;
43069 +
43070 -includedir | --includedir | --includedi | --included | --include \
43071 | --includ | --inclu | --incl | --inc)
43072 ac_prev=includedir ;;
43073 @@ -463,13 +948,16 @@
43074 | --libexe=* | --libex=* | --libe=*)
43075 libexecdir=$ac_optarg ;;
43076
43077 + -localedir | --localedir | --localedi | --localed | --locale)
43078 + ac_prev=localedir ;;
43079 + -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
43080 + localedir=$ac_optarg ;;
43081 +
43082 -localstatedir | --localstatedir | --localstatedi | --localstated \
43083 - | --localstate | --localstat | --localsta | --localst \
43084 - | --locals | --local | --loca | --loc | --lo)
43085 + | --localstate | --localstat | --localsta | --localst | --locals)
43086 ac_prev=localstatedir ;;
43087 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
43088 - | --localstate=* | --localstat=* | --localsta=* | --localst=* \
43089 - | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
43090 + | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
43091 localstatedir=$ac_optarg ;;
43092
43093 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
43094 @@ -534,6 +1022,16 @@
43095 | --progr-tra=* | --program-tr=* | --program-t=*)
43096 program_transform_name=$ac_optarg ;;
43097
43098 + -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
43099 + ac_prev=pdfdir ;;
43100 + -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
43101 + pdfdir=$ac_optarg ;;
43102 +
43103 + -psdir | --psdir | --psdi | --psd | --ps)
43104 + ac_prev=psdir ;;
43105 + -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
43106 + psdir=$ac_optarg ;;
43107 +
43108 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
43109 | -silent | --silent | --silen | --sile | --sil)
43110 silent=yes ;;
43111 @@ -586,24 +1084,20 @@
43112 -with-* | --with-*)
43113 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
43114 # Reject names that are not valid shell variable names.
43115 - expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
43116 + expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
43117 { echo "$as_me: error: invalid package name: $ac_package" >&2
43118 { (exit 1); exit 1; }; }
43119 - ac_package=`echo $ac_package| sed 's/-/_/g'`
43120 - case $ac_option in
43121 - *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
43122 - *) ac_optarg=yes ;;
43123 - esac
43124 - eval "with_$ac_package='$ac_optarg'" ;;
43125 + ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
43126 + eval with_$ac_package=\$ac_optarg ;;
43127
43128 -without-* | --without-*)
43129 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
43130 # Reject names that are not valid shell variable names.
43131 - expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
43132 + expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
43133 { echo "$as_me: error: invalid package name: $ac_package" >&2
43134 { (exit 1); exit 1; }; }
43135 - ac_package=`echo $ac_package | sed 's/-/_/g'`
43136 - eval "with_$ac_package=no" ;;
43137 + ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
43138 + eval with_$ac_package=no ;;
43139
43140 --x)
43141 # Obsolete; use --with-x.
43142 @@ -634,8 +1128,7 @@
43143 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
43144 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
43145 { (exit 1); exit 1; }; }
43146 - ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
43147 - eval "$ac_envvar='$ac_optarg'"
43148 + eval $ac_envvar=\$ac_optarg
43149 export $ac_envvar ;;
43150
43151 *)
43152 @@ -655,27 +1148,19 @@
43153 { (exit 1); exit 1; }; }
43154 fi
43155
43156 -# Be sure to have absolute paths.
43157 -for ac_var in exec_prefix prefix
43158 -do
43159 - eval ac_val=$`echo $ac_var`
43160 - case $ac_val in
43161 - [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
43162 - *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
43163 - { (exit 1); exit 1; }; };;
43164 - esac
43165 -done
43166 -
43167 -# Be sure to have absolute paths.
43168 -for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
43169 - localstatedir libdir includedir oldincludedir infodir mandir
43170 +# Be sure to have absolute directory names.
43171 +for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
43172 + datadir sysconfdir sharedstatedir localstatedir includedir \
43173 + oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
43174 + libdir localedir mandir
43175 do
43176 - eval ac_val=$`echo $ac_var`
43177 + eval ac_val=\$$ac_var
43178 case $ac_val in
43179 - [\\/$]* | ?:[\\/]* ) ;;
43180 - *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
43181 - { (exit 1); exit 1; }; };;
43182 + [\\/$]* | ?:[\\/]* ) continue;;
43183 + NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
43184 esac
43185 + { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
43186 + { (exit 1); exit 1; }; }
43187 done
43188
43189 # There might be people who depend on the old broken behavior: `$host'
43190 @@ -702,74 +1187,76 @@
43191 test "$silent" = yes && exec 6>/dev/null
43192
43193
43194 +ac_pwd=`pwd` && test -n "$ac_pwd" &&
43195 +ac_ls_di=`ls -di .` &&
43196 +ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
43197 + { echo "$as_me: error: Working directory cannot be determined" >&2
43198 + { (exit 1); exit 1; }; }
43199 +test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
43200 + { echo "$as_me: error: pwd does not report name of working directory" >&2
43201 + { (exit 1); exit 1; }; }
43202 +
43203 +
43204 # Find the source files, if location was not specified.
43205 if test -z "$srcdir"; then
43206 ac_srcdir_defaulted=yes
43207 - # Try the directory containing this script, then its parent.
43208 - ac_confdir=`(dirname "$0") 2>/dev/null ||
43209 + # Try the directory containing this script, then the parent directory.
43210 + ac_confdir=`$as_dirname -- "$0" ||
43211 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
43212 X"$0" : 'X\(//\)[^/]' \| \
43213 X"$0" : 'X\(//\)$' \| \
43214 - X"$0" : 'X\(/\)' \| \
43215 - . : '\(.\)' 2>/dev/null ||
43216 + X"$0" : 'X\(/\)' \| . 2>/dev/null ||
43217 echo X"$0" |
43218 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
43219 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
43220 - /^X\(\/\/\)$/{ s//\1/; q; }
43221 - /^X\(\/\).*/{ s//\1/; q; }
43222 - s/.*/./; q'`
43223 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
43224 + s//\1/
43225 + q
43226 + }
43227 + /^X\(\/\/\)[^/].*/{
43228 + s//\1/
43229 + q
43230 + }
43231 + /^X\(\/\/\)$/{
43232 + s//\1/
43233 + q
43234 + }
43235 + /^X\(\/\).*/{
43236 + s//\1/
43237 + q
43238 + }
43239 + s/.*/./; q'`
43240 srcdir=$ac_confdir
43241 - if test ! -r $srcdir/$ac_unique_file; then
43242 + if test ! -r "$srcdir/$ac_unique_file"; then
43243 srcdir=..
43244 fi
43245 else
43246 ac_srcdir_defaulted=no
43247 fi
43248 -if test ! -r $srcdir/$ac_unique_file; then
43249 - if test "$ac_srcdir_defaulted" = yes; then
43250 - { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
43251 - { (exit 1); exit 1; }; }
43252 - else
43253 - { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
43254 - { (exit 1); exit 1; }; }
43255 - fi
43256 -fi
43257 -(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
43258 - { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
43259 - { (exit 1); exit 1; }; }
43260 -srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
43261 -ac_env_build_alias_set=${build_alias+set}
43262 -ac_env_build_alias_value=$build_alias
43263 -ac_cv_env_build_alias_set=${build_alias+set}
43264 -ac_cv_env_build_alias_value=$build_alias
43265 -ac_env_host_alias_set=${host_alias+set}
43266 -ac_env_host_alias_value=$host_alias
43267 -ac_cv_env_host_alias_set=${host_alias+set}
43268 -ac_cv_env_host_alias_value=$host_alias
43269 -ac_env_target_alias_set=${target_alias+set}
43270 -ac_env_target_alias_value=$target_alias
43271 -ac_cv_env_target_alias_set=${target_alias+set}
43272 -ac_cv_env_target_alias_value=$target_alias
43273 -ac_env_CC_set=${CC+set}
43274 -ac_env_CC_value=$CC
43275 -ac_cv_env_CC_set=${CC+set}
43276 -ac_cv_env_CC_value=$CC
43277 -ac_env_CFLAGS_set=${CFLAGS+set}
43278 -ac_env_CFLAGS_value=$CFLAGS
43279 -ac_cv_env_CFLAGS_set=${CFLAGS+set}
43280 -ac_cv_env_CFLAGS_value=$CFLAGS
43281 -ac_env_LDFLAGS_set=${LDFLAGS+set}
43282 -ac_env_LDFLAGS_value=$LDFLAGS
43283 -ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
43284 -ac_cv_env_LDFLAGS_value=$LDFLAGS
43285 -ac_env_CPPFLAGS_set=${CPPFLAGS+set}
43286 -ac_env_CPPFLAGS_value=$CPPFLAGS
43287 -ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
43288 -ac_cv_env_CPPFLAGS_value=$CPPFLAGS
43289 -ac_env_CPP_set=${CPP+set}
43290 -ac_env_CPP_value=$CPP
43291 -ac_cv_env_CPP_set=${CPP+set}
43292 -ac_cv_env_CPP_value=$CPP
43293 +if test ! -r "$srcdir/$ac_unique_file"; then
43294 + test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
43295 + { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
43296 + { (exit 1); exit 1; }; }
43297 +fi
43298 +ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
43299 +ac_abs_confdir=`(
43300 + cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
43301 + { (exit 1); exit 1; }; }
43302 + pwd)`
43303 +# When building in place, set srcdir=.
43304 +if test "$ac_abs_confdir" = "$ac_pwd"; then
43305 + srcdir=.
43306 +fi
43307 +# Remove unnecessary trailing slashes from srcdir.
43308 +# Double slashes in file names in object file debugging info
43309 +# mess up M-x gdb in Emacs.
43310 +case $srcdir in
43311 +*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
43312 +esac
43313 +for ac_var in $ac_precious_vars; do
43314 + eval ac_env_${ac_var}_set=\${${ac_var}+set}
43315 + eval ac_env_${ac_var}_value=\$${ac_var}
43316 + eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
43317 + eval ac_cv_env_${ac_var}_value=\$${ac_var}
43318 +done
43319
43320 #
43321 # Report the --help message.
43322 @@ -798,9 +1285,6 @@
43323 -n, --no-create do not create output files
43324 --srcdir=DIR find the sources in DIR [configure dir or \`..']
43325
43326 -_ACEOF
43327 -
43328 - cat <<_ACEOF
43329 Installation directories:
43330 --prefix=PREFIX install architecture-independent files in PREFIX
43331 [$ac_default_prefix]
43332 @@ -818,15 +1302,22 @@
43333 --bindir=DIR user executables [EPREFIX/bin]
43334 --sbindir=DIR system admin executables [EPREFIX/sbin]
43335 --libexecdir=DIR program executables [EPREFIX/libexec]
43336 - --datadir=DIR read-only architecture-independent data [PREFIX/share]
43337 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
43338 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
43339 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
43340 --libdir=DIR object code libraries [EPREFIX/lib]
43341 --includedir=DIR C header files [PREFIX/include]
43342 --oldincludedir=DIR C header files for non-gcc [/usr/include]
43343 - --infodir=DIR info documentation [PREFIX/info]
43344 - --mandir=DIR man documentation [PREFIX/man]
43345 + --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
43346 + --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
43347 + --infodir=DIR info documentation [DATAROOTDIR/info]
43348 + --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
43349 + --mandir=DIR man documentation [DATAROOTDIR/man]
43350 + --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
43351 + --htmldir=DIR html documentation [DOCDIR]
43352 + --dvidir=DIR dvi documentation [DOCDIR]
43353 + --pdfdir=DIR pdf documentation [DOCDIR]
43354 + --psdir=DIR ps documentation [DOCDIR]
43355 _ACEOF
43356
43357 cat <<\_ACEOF
43358 @@ -876,126 +1367,100 @@
43359 CFLAGS C compiler flags
43360 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
43361 nonstandard directory <lib dir>
43362 - CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
43363 - headers in a nonstandard directory <include dir>
43364 + LIBS libraries to pass to the linker, e.g. -l<library>
43365 + CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
43366 + you have headers in a nonstandard directory <include dir>
43367 CPP C preprocessor
43368 + YACC The `Yet Another C Compiler' implementation to use. Defaults to
43369 + the first program found out of: `bison -y', `byacc', `yacc'.
43370 + YFLAGS The list of arguments that will be passed by default to $YACC.
43371 + This script will default YFLAGS to the empty string to avoid a
43372 + default value of `-d' given by some make applications.
43373
43374 Use these variables to override the choices made by `configure' or to help
43375 it to find libraries and programs with nonstandard names/locations.
43376
43377 _ACEOF
43378 +ac_status=$?
43379 fi
43380
43381 if test "$ac_init_help" = "recursive"; then
43382 # If there are subdirs, report their specific --help.
43383 - ac_popdir=`pwd`
43384 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
43385 - test -d $ac_dir || continue
43386 + test -d "$ac_dir" || continue
43387 ac_builddir=.
43388
43389 -if test "$ac_dir" != .; then
43390 +case "$ac_dir" in
43391 +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
43392 +*)
43393 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
43394 - # A "../" for each directory in $ac_dir_suffix.
43395 - ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
43396 -else
43397 - ac_dir_suffix= ac_top_builddir=
43398 -fi
43399 + # A ".." for each directory in $ac_dir_suffix.
43400 + ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
43401 + case $ac_top_builddir_sub in
43402 + "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
43403 + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
43404 + esac ;;
43405 +esac
43406 +ac_abs_top_builddir=$ac_pwd
43407 +ac_abs_builddir=$ac_pwd$ac_dir_suffix
43408 +# for backward compatibility:
43409 +ac_top_builddir=$ac_top_build_prefix
43410
43411 case $srcdir in
43412 - .) # No --srcdir option. We are building in place.
43413 + .) # We are building in place.
43414 ac_srcdir=.
43415 - if test -z "$ac_top_builddir"; then
43416 - ac_top_srcdir=.
43417 - else
43418 - ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
43419 - fi ;;
43420 - [\\/]* | ?:[\\/]* ) # Absolute path.
43421 + ac_top_srcdir=$ac_top_builddir_sub
43422 + ac_abs_top_srcdir=$ac_pwd ;;
43423 + [\\/]* | ?:[\\/]* ) # Absolute name.
43424 ac_srcdir=$srcdir$ac_dir_suffix;
43425 - ac_top_srcdir=$srcdir ;;
43426 - *) # Relative path.
43427 - ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
43428 - ac_top_srcdir=$ac_top_builddir$srcdir ;;
43429 -esac
43430 -
43431 -# Do not use `cd foo && pwd` to compute absolute paths, because
43432 -# the directories may not exist.
43433 -case `pwd` in
43434 -.) ac_abs_builddir="$ac_dir";;
43435 -*)
43436 - case "$ac_dir" in
43437 - .) ac_abs_builddir=`pwd`;;
43438 - [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
43439 - *) ac_abs_builddir=`pwd`/"$ac_dir";;
43440 - esac;;
43441 -esac
43442 -case $ac_abs_builddir in
43443 -.) ac_abs_top_builddir=${ac_top_builddir}.;;
43444 -*)
43445 - case ${ac_top_builddir}. in
43446 - .) ac_abs_top_builddir=$ac_abs_builddir;;
43447 - [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
43448 - *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
43449 - esac;;
43450 -esac
43451 -case $ac_abs_builddir in
43452 -.) ac_abs_srcdir=$ac_srcdir;;
43453 -*)
43454 - case $ac_srcdir in
43455 - .) ac_abs_srcdir=$ac_abs_builddir;;
43456 - [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
43457 - *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
43458 - esac;;
43459 -esac
43460 -case $ac_abs_builddir in
43461 -.) ac_abs_top_srcdir=$ac_top_srcdir;;
43462 -*)
43463 - case $ac_top_srcdir in
43464 - .) ac_abs_top_srcdir=$ac_abs_builddir;;
43465 - [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
43466 - *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
43467 - esac;;
43468 -esac
43469 -
43470 - cd $ac_dir
43471 - # Check for guested configure; otherwise get Cygnus style configure.
43472 - if test -f $ac_srcdir/configure.gnu; then
43473 - echo
43474 - $SHELL $ac_srcdir/configure.gnu --help=recursive
43475 - elif test -f $ac_srcdir/configure; then
43476 - echo
43477 - $SHELL $ac_srcdir/configure --help=recursive
43478 - elif test -f $ac_srcdir/configure.ac ||
43479 - test -f $ac_srcdir/configure.in; then
43480 - echo
43481 - $ac_configure --help
43482 + ac_top_srcdir=$srcdir
43483 + ac_abs_top_srcdir=$srcdir ;;
43484 + *) # Relative name.
43485 + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
43486 + ac_top_srcdir=$ac_top_build_prefix$srcdir
43487 + ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
43488 +esac
43489 +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
43490 +
43491 + cd "$ac_dir" || { ac_status=$?; continue; }
43492 + # Check for guested configure.
43493 + if test -f "$ac_srcdir/configure.gnu"; then
43494 + echo &&
43495 + $SHELL "$ac_srcdir/configure.gnu" --help=recursive
43496 + elif test -f "$ac_srcdir/configure"; then
43497 + echo &&
43498 + $SHELL "$ac_srcdir/configure" --help=recursive
43499 else
43500 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
43501 - fi
43502 - cd $ac_popdir
43503 + fi || ac_status=$?
43504 + cd "$ac_pwd" || { ac_status=$?; break; }
43505 done
43506 fi
43507
43508 -test -n "$ac_init_help" && exit 0
43509 +test -n "$ac_init_help" && exit $ac_status
43510 if $ac_init_version; then
43511 cat <<\_ACEOF
43512 +configure
43513 +generated by GNU Autoconf 2.61
43514
43515 -Copyright (C) 2003 Free Software Foundation, Inc.
43516 +Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
43517 +2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
43518 This configure script is free software; the Free Software Foundation
43519 gives unlimited permission to copy, distribute and modify it.
43520 _ACEOF
43521 - exit 0
43522 + exit
43523 fi
43524 -exec 5>config.log
43525 -cat >&5 <<_ACEOF
43526 +cat >config.log <<_ACEOF
43527 This file contains any messages produced by compilers while
43528 running configure, to aid debugging if configure makes a mistake.
43529
43530 It was created by $as_me, which was
43531 -generated by GNU Autoconf 2.59. Invocation command line was
43532 +generated by GNU Autoconf 2.61. Invocation command line was
43533
43534 $ $0 $@
43535
43536 _ACEOF
43537 +exec 5>>config.log
43538 {
43539 cat <<_ASUNAME
43540 ## --------- ##
43541 @@ -1014,7 +1479,7 @@
43542 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
43543 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
43544 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
43545 -hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
43546 +/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
43547 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
43548 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
43549 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
43550 @@ -1028,6 +1493,7 @@
43551 test -z "$as_dir" && as_dir=.
43552 echo "PATH: $as_dir"
43553 done
43554 +IFS=$as_save_IFS
43555
43556 } >&5
43557
43558 @@ -1049,7 +1515,6 @@
43559 ac_configure_args=
43560 ac_configure_args0=
43561 ac_configure_args1=
43562 -ac_sep=
43563 ac_must_keep_next=false
43564 for ac_pass in 1 2
43565 do
43566 @@ -1060,7 +1525,7 @@
43567 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
43568 | -silent | --silent | --silen | --sile | --sil)
43569 continue ;;
43570 - *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
43571 + *\'*)
43572 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
43573 esac
43574 case $ac_pass in
43575 @@ -1082,9 +1547,7 @@
43576 -* ) ac_must_keep_next=true ;;
43577 esac
43578 fi
43579 - ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
43580 - # Get rid of the leading space.
43581 - ac_sep=" "
43582 + ac_configure_args="$ac_configure_args '$ac_arg'"
43583 ;;
43584 esac
43585 done
43586 @@ -1095,8 +1558,8 @@
43587 # When interrupted or exit'd, cleanup temporary files, and complete
43588 # config.log. We remove comments because anyway the quotes in there
43589 # would cause problems or look ugly.
43590 -# WARNING: Be sure not to use single quotes in there, as some shells,
43591 -# such as our DU 5.0 friend, will then `close' the trap.
43592 +# WARNING: Use '\'' to represent an apostrophe within the trap.
43593 +# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
43594 trap 'exit_status=$?
43595 # Save into config.log some information that might help in debugging.
43596 {
43597 @@ -1109,20 +1572,34 @@
43598 _ASBOX
43599 echo
43600 # The following way of writing the cache mishandles newlines in values,
43601 -{
43602 +(
43603 + for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
43604 + eval ac_val=\$$ac_var
43605 + case $ac_val in #(
43606 + *${as_nl}*)
43607 + case $ac_var in #(
43608 + *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
43609 +echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
43610 + esac
43611 + case $ac_var in #(
43612 + _ | IFS | as_nl) ;; #(
43613 + *) $as_unset $ac_var ;;
43614 + esac ;;
43615 + esac
43616 + done
43617 (set) 2>&1 |
43618 - case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
43619 - *ac_space=\ *)
43620 + case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
43621 + *${as_nl}ac_space=\ *)
43622 sed -n \
43623 - "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
43624 - s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
43625 - ;;
43626 + "s/'\''/'\''\\\\'\'''\''/g;
43627 + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
43628 + ;; #(
43629 *)
43630 - sed -n \
43631 - "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
43632 + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
43633 ;;
43634 - esac;
43635 -}
43636 + esac |
43637 + sort
43638 +)
43639 echo
43640
43641 cat <<\_ASBOX
43642 @@ -1133,22 +1610,28 @@
43643 echo
43644 for ac_var in $ac_subst_vars
43645 do
43646 - eval ac_val=$`echo $ac_var`
43647 - echo "$ac_var='"'"'$ac_val'"'"'"
43648 + eval ac_val=\$$ac_var
43649 + case $ac_val in
43650 + *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
43651 + esac
43652 + echo "$ac_var='\''$ac_val'\''"
43653 done | sort
43654 echo
43655
43656 if test -n "$ac_subst_files"; then
43657 cat <<\_ASBOX
43658 -## ------------- ##
43659 -## Output files. ##
43660 -## ------------- ##
43661 +## ------------------- ##
43662 +## File substitutions. ##
43663 +## ------------------- ##
43664 _ASBOX
43665 echo
43666 for ac_var in $ac_subst_files
43667 do
43668 - eval ac_val=$`echo $ac_var`
43669 - echo "$ac_var='"'"'$ac_val'"'"'"
43670 + eval ac_val=\$$ac_var
43671 + case $ac_val in
43672 + *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
43673 + esac
43674 + echo "$ac_var='\''$ac_val'\''"
43675 done | sort
43676 echo
43677 fi
43678 @@ -1160,26 +1643,24 @@
43679 ## ----------- ##
43680 _ASBOX
43681 echo
43682 - sed "/^$/d" confdefs.h | sort
43683 + cat confdefs.h
43684 echo
43685 fi
43686 test "$ac_signal" != 0 &&
43687 echo "$as_me: caught signal $ac_signal"
43688 echo "$as_me: exit $exit_status"
43689 } >&5
43690 - rm -f core *.core &&
43691 - rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
43692 + rm -f core *.core core.conftest.* &&
43693 + rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
43694 exit $exit_status
43695 - ' 0
43696 +' 0
43697 for ac_signal in 1 2 13 15; do
43698 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
43699 done
43700 ac_signal=0
43701
43702 # confdefs.h avoids OS command line length limits that DEFS can exceed.
43703 -rm -rf conftest* confdefs.h
43704 -# AIX cpp loses on an empty file, so make sure it contains at least a newline.
43705 -echo >confdefs.h
43706 +rm -f -r conftest* confdefs.h
43707
43708 # Predefined preprocessor variables.
43709
43710 @@ -1210,14 +1691,17 @@
43711
43712 # Let the site file select an alternate cache file if it wants to.
43713 # Prefer explicitly selected file to automatically selected ones.
43714 -if test -z "$CONFIG_SITE"; then
43715 - if test "x$prefix" != xNONE; then
43716 - CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
43717 - else
43718 - CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
43719 - fi
43720 +if test -n "$CONFIG_SITE"; then
43721 + set x "$CONFIG_SITE"
43722 +elif test "x$prefix" != xNONE; then
43723 + set x "$prefix/share/config.site" "$prefix/etc/config.site"
43724 +else
43725 + set x "$ac_default_prefix/share/config.site" \
43726 + "$ac_default_prefix/etc/config.site"
43727 fi
43728 -for ac_site_file in $CONFIG_SITE; do
43729 +shift
43730 +for ac_site_file
43731 +do
43732 if test -r "$ac_site_file"; then
43733 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
43734 echo "$as_me: loading site script $ac_site_file" >&6;}
43735 @@ -1233,8 +1717,8 @@
43736 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
43737 echo "$as_me: loading cache $cache_file" >&6;}
43738 case $cache_file in
43739 - [\\/]* | ?:[\\/]* ) . $cache_file;;
43740 - *) . ./$cache_file;;
43741 + [\\/]* | ?:[\\/]* ) . "$cache_file";;
43742 + *) . "./$cache_file";;
43743 esac
43744 fi
43745 else
43746 @@ -1246,12 +1730,11 @@
43747 # Check that the precious variables saved in the cache have kept the same
43748 # value.
43749 ac_cache_corrupted=false
43750 -for ac_var in `(set) 2>&1 |
43751 - sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
43752 +for ac_var in $ac_precious_vars; do
43753 eval ac_old_set=\$ac_cv_env_${ac_var}_set
43754 eval ac_new_set=\$ac_env_${ac_var}_set
43755 - eval ac_old_val="\$ac_cv_env_${ac_var}_value"
43756 - eval ac_new_val="\$ac_env_${ac_var}_value"
43757 + eval ac_old_val=\$ac_cv_env_${ac_var}_value
43758 + eval ac_new_val=\$ac_env_${ac_var}_value
43759 case $ac_old_set,$ac_new_set in
43760 set,)
43761 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
43762 @@ -1276,8 +1759,7 @@
43763 # Pass precious variables to config.status.
43764 if test "$ac_new_set" = set; then
43765 case $ac_new_val in
43766 - *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
43767 - ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
43768 + *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
43769 *) ac_arg=$ac_var=$ac_new_val ;;
43770 esac
43771 case " $ac_configure_args " in
43772 @@ -1294,12 +1776,6 @@
43773 { (exit 1); exit 1; }; }
43774 fi
43775
43776 -ac_ext=c
43777 -ac_cpp='$CPP $CPPFLAGS'
43778 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43779 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43780 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
43781 -
43782
43783
43784
43785 @@ -1316,108 +1792,163 @@
43786
43787
43788
43789 +ac_ext=c
43790 +ac_cpp='$CPP $CPPFLAGS'
43791 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43792 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43793 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
43794
43795
43796
43797 ac_aux_dir=
43798 -for ac_dir in .. $srcdir/..; do
43799 - if test -f $ac_dir/install-sh; then
43800 +for ac_dir in .. "$srcdir"/..; do
43801 + if test -f "$ac_dir/install-sh"; then
43802 ac_aux_dir=$ac_dir
43803 ac_install_sh="$ac_aux_dir/install-sh -c"
43804 break
43805 - elif test -f $ac_dir/install.sh; then
43806 + elif test -f "$ac_dir/install.sh"; then
43807 ac_aux_dir=$ac_dir
43808 ac_install_sh="$ac_aux_dir/install.sh -c"
43809 break
43810 - elif test -f $ac_dir/shtool; then
43811 + elif test -f "$ac_dir/shtool"; then
43812 ac_aux_dir=$ac_dir
43813 ac_install_sh="$ac_aux_dir/shtool install -c"
43814 break
43815 fi
43816 done
43817 if test -z "$ac_aux_dir"; then
43818 - { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in .. $srcdir/.." >&5
43819 -echo "$as_me: error: cannot find install-sh or install.sh in .. $srcdir/.." >&2;}
43820 + { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in .. \"$srcdir\"/.." >&5
43821 +echo "$as_me: error: cannot find install-sh or install.sh in .. \"$srcdir\"/.." >&2;}
43822 { (exit 1); exit 1; }; }
43823 fi
43824 -ac_config_guess="$SHELL $ac_aux_dir/config.guess"
43825 -ac_config_sub="$SHELL $ac_aux_dir/config.sub"
43826 -ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
43827 +
43828 +# These three variables are undocumented and unsupported,
43829 +# and are intended to be withdrawn in a future Autoconf release.
43830 +# They can cause serious problems if a builder's source tree is in a directory
43831 +# whose full name contains unusual characters.
43832 +ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
43833 +ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
43834 +ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
43835 +
43836
43837 # Make sure we can run config.sub.
43838 -$ac_config_sub sun4 >/dev/null 2>&1 ||
43839 - { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
43840 -echo "$as_me: error: cannot run $ac_config_sub" >&2;}
43841 +$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
43842 + { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
43843 +echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
43844 { (exit 1); exit 1; }; }
43845
43846 -echo "$as_me:$LINENO: checking build system type" >&5
43847 -echo $ECHO_N "checking build system type... $ECHO_C" >&6
43848 +{ echo "$as_me:$LINENO: checking build system type" >&5
43849 +echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
43850 if test "${ac_cv_build+set}" = set; then
43851 echo $ECHO_N "(cached) $ECHO_C" >&6
43852 else
43853 - ac_cv_build_alias=$build_alias
43854 -test -z "$ac_cv_build_alias" &&
43855 - ac_cv_build_alias=`$ac_config_guess`
43856 -test -z "$ac_cv_build_alias" &&
43857 + ac_build_alias=$build_alias
43858 +test "x$ac_build_alias" = x &&
43859 + ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
43860 +test "x$ac_build_alias" = x &&
43861 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
43862 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
43863 { (exit 1); exit 1; }; }
43864 -ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
43865 - { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
43866 -echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
43867 +ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
43868 + { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
43869 +echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
43870 { (exit 1); exit 1; }; }
43871
43872 fi
43873 -echo "$as_me:$LINENO: result: $ac_cv_build" >&5
43874 -echo "${ECHO_T}$ac_cv_build" >&6
43875 +{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
43876 +echo "${ECHO_T}$ac_cv_build" >&6; }
43877 +case $ac_cv_build in
43878 +*-*-*) ;;
43879 +*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
43880 +echo "$as_me: error: invalid value of canonical build" >&2;}
43881 + { (exit 1); exit 1; }; };;
43882 +esac
43883 build=$ac_cv_build
43884 -build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
43885 -build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
43886 -build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
43887 +ac_save_IFS=$IFS; IFS='-'
43888 +set x $ac_cv_build
43889 +shift
43890 +build_cpu=$1
43891 +build_vendor=$2
43892 +shift; shift
43893 +# Remember, the first character of IFS is used to create $*,
43894 +# except with old shells:
43895 +build_os=$*
43896 +IFS=$ac_save_IFS
43897 +case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
43898
43899
43900 -echo "$as_me:$LINENO: checking host system type" >&5
43901 -echo $ECHO_N "checking host system type... $ECHO_C" >&6
43902 +{ echo "$as_me:$LINENO: checking host system type" >&5
43903 +echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
43904 if test "${ac_cv_host+set}" = set; then
43905 echo $ECHO_N "(cached) $ECHO_C" >&6
43906 else
43907 - ac_cv_host_alias=$host_alias
43908 -test -z "$ac_cv_host_alias" &&
43909 - ac_cv_host_alias=$ac_cv_build_alias
43910 -ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
43911 - { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
43912 -echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
43913 + if test "x$host_alias" = x; then
43914 + ac_cv_host=$ac_cv_build
43915 +else
43916 + ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
43917 + { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
43918 +echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
43919 { (exit 1); exit 1; }; }
43920 +fi
43921
43922 fi
43923 -echo "$as_me:$LINENO: result: $ac_cv_host" >&5
43924 -echo "${ECHO_T}$ac_cv_host" >&6
43925 +{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
43926 +echo "${ECHO_T}$ac_cv_host" >&6; }
43927 +case $ac_cv_host in
43928 +*-*-*) ;;
43929 +*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
43930 +echo "$as_me: error: invalid value of canonical host" >&2;}
43931 + { (exit 1); exit 1; }; };;
43932 +esac
43933 host=$ac_cv_host
43934 -host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
43935 -host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
43936 -host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
43937 +ac_save_IFS=$IFS; IFS='-'
43938 +set x $ac_cv_host
43939 +shift
43940 +host_cpu=$1
43941 +host_vendor=$2
43942 +shift; shift
43943 +# Remember, the first character of IFS is used to create $*,
43944 +# except with old shells:
43945 +host_os=$*
43946 +IFS=$ac_save_IFS
43947 +case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
43948
43949
43950 -echo "$as_me:$LINENO: checking target system type" >&5
43951 -echo $ECHO_N "checking target system type... $ECHO_C" >&6
43952 +{ echo "$as_me:$LINENO: checking target system type" >&5
43953 +echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
43954 if test "${ac_cv_target+set}" = set; then
43955 echo $ECHO_N "(cached) $ECHO_C" >&6
43956 else
43957 - ac_cv_target_alias=$target_alias
43958 -test "x$ac_cv_target_alias" = "x" &&
43959 - ac_cv_target_alias=$ac_cv_host_alias
43960 -ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
43961 - { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
43962 -echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
43963 + if test "x$target_alias" = x; then
43964 + ac_cv_target=$ac_cv_host
43965 +else
43966 + ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
43967 + { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
43968 +echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
43969 { (exit 1); exit 1; }; }
43970 +fi
43971
43972 fi
43973 -echo "$as_me:$LINENO: result: $ac_cv_target" >&5
43974 -echo "${ECHO_T}$ac_cv_target" >&6
43975 +{ echo "$as_me:$LINENO: result: $ac_cv_target" >&5
43976 +echo "${ECHO_T}$ac_cv_target" >&6; }
43977 +case $ac_cv_target in
43978 +*-*-*) ;;
43979 +*) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
43980 +echo "$as_me: error: invalid value of canonical target" >&2;}
43981 + { (exit 1); exit 1; }; };;
43982 +esac
43983 target=$ac_cv_target
43984 -target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
43985 -target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
43986 -target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
43987 +ac_save_IFS=$IFS; IFS='-'
43988 +set x $ac_cv_target
43989 +shift
43990 +target_cpu=$1
43991 +target_vendor=$2
43992 +shift; shift
43993 +# Remember, the first character of IFS is used to create $*,
43994 +# except with old shells:
43995 +target_os=$*
43996 +IFS=$ac_save_IFS
43997 +case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
43998
43999
44000 # The aliases save the names the user supplied, while $host etc.
44001 @@ -1434,8 +1965,8 @@
44002 if test -n "$ac_tool_prefix"; then
44003 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
44004 set dummy ${ac_tool_prefix}gcc; ac_word=$2
44005 -echo "$as_me:$LINENO: checking for $ac_word" >&5
44006 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
44007 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
44008 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44009 if test "${ac_cv_prog_CC+set}" = set; then
44010 echo $ECHO_N "(cached) $ECHO_C" >&6
44011 else
44012 @@ -1448,32 +1979,34 @@
44013 IFS=$as_save_IFS
44014 test -z "$as_dir" && as_dir=.
44015 for ac_exec_ext in '' $ac_executable_extensions; do
44016 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
44017 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44018 ac_cv_prog_CC="${ac_tool_prefix}gcc"
44019 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44020 break 2
44021 fi
44022 done
44023 done
44024 +IFS=$as_save_IFS
44025
44026 fi
44027 fi
44028 CC=$ac_cv_prog_CC
44029 if test -n "$CC"; then
44030 - echo "$as_me:$LINENO: result: $CC" >&5
44031 -echo "${ECHO_T}$CC" >&6
44032 + { echo "$as_me:$LINENO: result: $CC" >&5
44033 +echo "${ECHO_T}$CC" >&6; }
44034 else
44035 - echo "$as_me:$LINENO: result: no" >&5
44036 -echo "${ECHO_T}no" >&6
44037 + { echo "$as_me:$LINENO: result: no" >&5
44038 +echo "${ECHO_T}no" >&6; }
44039 fi
44040
44041 +
44042 fi
44043 if test -z "$ac_cv_prog_CC"; then
44044 ac_ct_CC=$CC
44045 # Extract the first word of "gcc", so it can be a program name with args.
44046 set dummy gcc; ac_word=$2
44047 -echo "$as_me:$LINENO: checking for $ac_word" >&5
44048 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
44049 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
44050 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44051 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
44052 echo $ECHO_N "(cached) $ECHO_C" >&6
44053 else
44054 @@ -1486,36 +2019,51 @@
44055 IFS=$as_save_IFS
44056 test -z "$as_dir" && as_dir=.
44057 for ac_exec_ext in '' $ac_executable_extensions; do
44058 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
44059 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44060 ac_cv_prog_ac_ct_CC="gcc"
44061 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44062 break 2
44063 fi
44064 done
44065 done
44066 +IFS=$as_save_IFS
44067
44068 fi
44069 fi
44070 ac_ct_CC=$ac_cv_prog_ac_ct_CC
44071 if test -n "$ac_ct_CC"; then
44072 - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
44073 -echo "${ECHO_T}$ac_ct_CC" >&6
44074 + { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
44075 +echo "${ECHO_T}$ac_ct_CC" >&6; }
44076 else
44077 - echo "$as_me:$LINENO: result: no" >&5
44078 -echo "${ECHO_T}no" >&6
44079 + { echo "$as_me:$LINENO: result: no" >&5
44080 +echo "${ECHO_T}no" >&6; }
44081 fi
44082
44083 - CC=$ac_ct_CC
44084 + if test "x$ac_ct_CC" = x; then
44085 + CC=""
44086 + else
44087 + case $cross_compiling:$ac_tool_warned in
44088 +yes:)
44089 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
44090 +whose name does not start with the host triplet. If you think this
44091 +configuration is useful to you, please write to autoconf@gnu.org." >&5
44092 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
44093 +whose name does not start with the host triplet. If you think this
44094 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
44095 +ac_tool_warned=yes ;;
44096 +esac
44097 + CC=$ac_ct_CC
44098 + fi
44099 else
44100 CC="$ac_cv_prog_CC"
44101 fi
44102
44103 if test -z "$CC"; then
44104 - if test -n "$ac_tool_prefix"; then
44105 - # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
44106 + if test -n "$ac_tool_prefix"; then
44107 + # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
44108 set dummy ${ac_tool_prefix}cc; ac_word=$2
44109 -echo "$as_me:$LINENO: checking for $ac_word" >&5
44110 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
44111 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
44112 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44113 if test "${ac_cv_prog_CC+set}" = set; then
44114 echo $ECHO_N "(cached) $ECHO_C" >&6
44115 else
44116 @@ -1528,74 +2076,34 @@
44117 IFS=$as_save_IFS
44118 test -z "$as_dir" && as_dir=.
44119 for ac_exec_ext in '' $ac_executable_extensions; do
44120 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
44121 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44122 ac_cv_prog_CC="${ac_tool_prefix}cc"
44123 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44124 break 2
44125 fi
44126 done
44127 done
44128 +IFS=$as_save_IFS
44129
44130 fi
44131 fi
44132 CC=$ac_cv_prog_CC
44133 if test -n "$CC"; then
44134 - echo "$as_me:$LINENO: result: $CC" >&5
44135 -echo "${ECHO_T}$CC" >&6
44136 -else
44137 - echo "$as_me:$LINENO: result: no" >&5
44138 -echo "${ECHO_T}no" >&6
44139 -fi
44140 -
44141 -fi
44142 -if test -z "$ac_cv_prog_CC"; then
44143 - ac_ct_CC=$CC
44144 - # Extract the first word of "cc", so it can be a program name with args.
44145 -set dummy cc; ac_word=$2
44146 -echo "$as_me:$LINENO: checking for $ac_word" >&5
44147 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
44148 -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
44149 - echo $ECHO_N "(cached) $ECHO_C" >&6
44150 -else
44151 - if test -n "$ac_ct_CC"; then
44152 - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
44153 -else
44154 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44155 -for as_dir in $PATH
44156 -do
44157 - IFS=$as_save_IFS
44158 - test -z "$as_dir" && as_dir=.
44159 - for ac_exec_ext in '' $ac_executable_extensions; do
44160 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
44161 - ac_cv_prog_ac_ct_CC="cc"
44162 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44163 - break 2
44164 - fi
44165 -done
44166 -done
44167 -
44168 -fi
44169 -fi
44170 -ac_ct_CC=$ac_cv_prog_ac_ct_CC
44171 -if test -n "$ac_ct_CC"; then
44172 - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
44173 -echo "${ECHO_T}$ac_ct_CC" >&6
44174 + { echo "$as_me:$LINENO: result: $CC" >&5
44175 +echo "${ECHO_T}$CC" >&6; }
44176 else
44177 - echo "$as_me:$LINENO: result: no" >&5
44178 -echo "${ECHO_T}no" >&6
44179 + { echo "$as_me:$LINENO: result: no" >&5
44180 +echo "${ECHO_T}no" >&6; }
44181 fi
44182
44183 - CC=$ac_ct_CC
44184 -else
44185 - CC="$ac_cv_prog_CC"
44186 -fi
44187
44188 + fi
44189 fi
44190 if test -z "$CC"; then
44191 # Extract the first word of "cc", so it can be a program name with args.
44192 set dummy cc; ac_word=$2
44193 -echo "$as_me:$LINENO: checking for $ac_word" >&5
44194 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
44195 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
44196 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44197 if test "${ac_cv_prog_CC+set}" = set; then
44198 echo $ECHO_N "(cached) $ECHO_C" >&6
44199 else
44200 @@ -1609,7 +2117,7 @@
44201 IFS=$as_save_IFS
44202 test -z "$as_dir" && as_dir=.
44203 for ac_exec_ext in '' $ac_executable_extensions; do
44204 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
44205 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44206 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
44207 ac_prog_rejected=yes
44208 continue
44209 @@ -1620,6 +2128,7 @@
44210 fi
44211 done
44212 done
44213 +IFS=$as_save_IFS
44214
44215 if test $ac_prog_rejected = yes; then
44216 # We found a bogon in the path, so make sure we never use it.
44217 @@ -1637,22 +2146,23 @@
44218 fi
44219 CC=$ac_cv_prog_CC
44220 if test -n "$CC"; then
44221 - echo "$as_me:$LINENO: result: $CC" >&5
44222 -echo "${ECHO_T}$CC" >&6
44223 + { echo "$as_me:$LINENO: result: $CC" >&5
44224 +echo "${ECHO_T}$CC" >&6; }
44225 else
44226 - echo "$as_me:$LINENO: result: no" >&5
44227 -echo "${ECHO_T}no" >&6
44228 + { echo "$as_me:$LINENO: result: no" >&5
44229 +echo "${ECHO_T}no" >&6; }
44230 fi
44231
44232 +
44233 fi
44234 if test -z "$CC"; then
44235 if test -n "$ac_tool_prefix"; then
44236 - for ac_prog in cl
44237 + for ac_prog in cl.exe
44238 do
44239 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
44240 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
44241 -echo "$as_me:$LINENO: checking for $ac_word" >&5
44242 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
44243 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
44244 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44245 if test "${ac_cv_prog_CC+set}" = set; then
44246 echo $ECHO_N "(cached) $ECHO_C" >&6
44247 else
44248 @@ -1665,36 +2175,38 @@
44249 IFS=$as_save_IFS
44250 test -z "$as_dir" && as_dir=.
44251 for ac_exec_ext in '' $ac_executable_extensions; do
44252 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
44253 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44254 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
44255 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44256 break 2
44257 fi
44258 done
44259 done
44260 +IFS=$as_save_IFS
44261
44262 fi
44263 fi
44264 CC=$ac_cv_prog_CC
44265 if test -n "$CC"; then
44266 - echo "$as_me:$LINENO: result: $CC" >&5
44267 -echo "${ECHO_T}$CC" >&6
44268 + { echo "$as_me:$LINENO: result: $CC" >&5
44269 +echo "${ECHO_T}$CC" >&6; }
44270 else
44271 - echo "$as_me:$LINENO: result: no" >&5
44272 -echo "${ECHO_T}no" >&6
44273 + { echo "$as_me:$LINENO: result: no" >&5
44274 +echo "${ECHO_T}no" >&6; }
44275 fi
44276
44277 +
44278 test -n "$CC" && break
44279 done
44280 fi
44281 if test -z "$CC"; then
44282 ac_ct_CC=$CC
44283 - for ac_prog in cl
44284 + for ac_prog in cl.exe
44285 do
44286 # Extract the first word of "$ac_prog", so it can be a program name with args.
44287 set dummy $ac_prog; ac_word=$2
44288 -echo "$as_me:$LINENO: checking for $ac_word" >&5
44289 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
44290 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
44291 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44292 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
44293 echo $ECHO_N "(cached) $ECHO_C" >&6
44294 else
44295 @@ -1707,29 +2219,45 @@
44296 IFS=$as_save_IFS
44297 test -z "$as_dir" && as_dir=.
44298 for ac_exec_ext in '' $ac_executable_extensions; do
44299 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
44300 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44301 ac_cv_prog_ac_ct_CC="$ac_prog"
44302 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44303 break 2
44304 fi
44305 done
44306 done
44307 +IFS=$as_save_IFS
44308
44309 fi
44310 fi
44311 ac_ct_CC=$ac_cv_prog_ac_ct_CC
44312 if test -n "$ac_ct_CC"; then
44313 - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
44314 -echo "${ECHO_T}$ac_ct_CC" >&6
44315 + { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
44316 +echo "${ECHO_T}$ac_ct_CC" >&6; }
44317 else
44318 - echo "$as_me:$LINENO: result: no" >&5
44319 -echo "${ECHO_T}no" >&6
44320 + { echo "$as_me:$LINENO: result: no" >&5
44321 +echo "${ECHO_T}no" >&6; }
44322 fi
44323
44324 +
44325 test -n "$ac_ct_CC" && break
44326 done
44327
44328 - CC=$ac_ct_CC
44329 + if test "x$ac_ct_CC" = x; then
44330 + CC=""
44331 + else
44332 + case $cross_compiling:$ac_tool_warned in
44333 +yes:)
44334 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
44335 +whose name does not start with the host triplet. If you think this
44336 +configuration is useful to you, please write to autoconf@gnu.org." >&5
44337 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
44338 +whose name does not start with the host triplet. If you think this
44339 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
44340 +ac_tool_warned=yes ;;
44341 +esac
44342 + CC=$ac_ct_CC
44343 + fi
44344 fi
44345
44346 fi
44347 @@ -1742,21 +2270,35 @@
44348 { (exit 1); exit 1; }; }
44349
44350 # Provide some information about the compiler.
44351 -echo "$as_me:$LINENO:" \
44352 - "checking for C compiler version" >&5
44353 +echo "$as_me:$LINENO: checking for C compiler version" >&5
44354 ac_compiler=`set X $ac_compile; echo $2`
44355 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
44356 - (eval $ac_compiler --version </dev/null >&5) 2>&5
44357 +{ (ac_try="$ac_compiler --version >&5"
44358 +case "(($ac_try" in
44359 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44360 + *) ac_try_echo=$ac_try;;
44361 +esac
44362 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44363 + (eval "$ac_compiler --version >&5") 2>&5
44364 ac_status=$?
44365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44366 (exit $ac_status); }
44367 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
44368 - (eval $ac_compiler -v </dev/null >&5) 2>&5
44369 +{ (ac_try="$ac_compiler -v >&5"
44370 +case "(($ac_try" in
44371 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44372 + *) ac_try_echo=$ac_try;;
44373 +esac
44374 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44375 + (eval "$ac_compiler -v >&5") 2>&5
44376 ac_status=$?
44377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44378 (exit $ac_status); }
44379 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
44380 - (eval $ac_compiler -V </dev/null >&5) 2>&5
44381 +{ (ac_try="$ac_compiler -V >&5"
44382 +case "(($ac_try" in
44383 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44384 + *) ac_try_echo=$ac_try;;
44385 +esac
44386 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44387 + (eval "$ac_compiler -V >&5") 2>&5
44388 ac_status=$?
44389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44390 (exit $ac_status); }
44391 @@ -1781,47 +2323,77 @@
44392 # Try to create an executable without -o first, disregard a.out.
44393 # It will help us diagnose broken compilers, and finding out an intuition
44394 # of exeext.
44395 -echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
44396 -echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
44397 +{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
44398 +echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
44399 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
44400 -if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
44401 - (eval $ac_link_default) 2>&5
44402 +#
44403 +# List of possible output files, starting from the most likely.
44404 +# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
44405 +# only as a last resort. b.out is created by i960 compilers.
44406 +ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
44407 +#
44408 +# The IRIX 6 linker writes into existing files which may not be
44409 +# executable, retaining their permissions. Remove them first so a
44410 +# subsequent execution test works.
44411 +ac_rmfiles=
44412 +for ac_file in $ac_files
44413 +do
44414 + case $ac_file in
44415 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
44416 + * ) ac_rmfiles="$ac_rmfiles $ac_file";;
44417 + esac
44418 +done
44419 +rm -f $ac_rmfiles
44420 +
44421 +if { (ac_try="$ac_link_default"
44422 +case "(($ac_try" in
44423 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44424 + *) ac_try_echo=$ac_try;;
44425 +esac
44426 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44427 + (eval "$ac_link_default") 2>&5
44428 ac_status=$?
44429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44430 (exit $ac_status); }; then
44431 - # Find the output, starting from the most likely. This scheme is
44432 -# not robust to junk in `.', hence go to wildcards (a.*) only as a last
44433 -# resort.
44434 -
44435 -# Be careful to initialize this variable, since it used to be cached.
44436 -# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
44437 -ac_cv_exeext=
44438 -# b.out is created by i960 compilers.
44439 -for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
44440 + # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
44441 +# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
44442 +# in a Makefile. We should not override ac_cv_exeext if it was cached,
44443 +# so that the user can short-circuit this test for compilers unknown to
44444 +# Autoconf.
44445 +for ac_file in $ac_files ''
44446 do
44447 test -f "$ac_file" || continue
44448 case $ac_file in
44449 - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
44450 - ;;
44451 - conftest.$ac_ext )
44452 - # This is the source file.
44453 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
44454 ;;
44455 [ab].out )
44456 # We found the default executable, but exeext='' is most
44457 # certainly right.
44458 break;;
44459 *.* )
44460 - ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
44461 - # FIXME: I believe we export ac_cv_exeext for Libtool,
44462 - # but it would be cool to find out if it's true. Does anybody
44463 - # maintain Libtool? --akim.
44464 - export ac_cv_exeext
44465 + if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
44466 + then :; else
44467 + ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
44468 + fi
44469 + # We set ac_cv_exeext here because the later test for it is not
44470 + # safe: cross compilers may not add the suffix if given an `-o'
44471 + # argument, so we may need to know it at that point already.
44472 + # Even if this section looks crufty: it has the advantage of
44473 + # actually working.
44474 break;;
44475 * )
44476 break;;
44477 esac
44478 done
44479 +test "$ac_cv_exeext" = no && ac_cv_exeext=
44480 +
44481 else
44482 + ac_file=''
44483 +fi
44484 +
44485 +{ echo "$as_me:$LINENO: result: $ac_file" >&5
44486 +echo "${ECHO_T}$ac_file" >&6; }
44487 +if test -z "$ac_file"; then
44488 echo "$as_me: failed program was:" >&5
44489 sed 's/^/| /' conftest.$ac_ext >&5
44490
44491 @@ -1833,19 +2405,21 @@
44492 fi
44493
44494 ac_exeext=$ac_cv_exeext
44495 -echo "$as_me:$LINENO: result: $ac_file" >&5
44496 -echo "${ECHO_T}$ac_file" >&6
44497
44498 -# Check the compiler produces executables we can run. If not, either
44499 +# Check that the compiler produces executables we can run. If not, either
44500 # the compiler is broken, or we cross compile.
44501 -echo "$as_me:$LINENO: checking whether the C compiler works" >&5
44502 -echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
44503 +{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
44504 +echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
44505 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
44506 # If not cross compiling, check that we can run a simple program.
44507 if test "$cross_compiling" != yes; then
44508 if { ac_try='./$ac_file'
44509 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44510 - (eval $ac_try) 2>&5
44511 + { (case "(($ac_try" in
44512 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44513 + *) ac_try_echo=$ac_try;;
44514 +esac
44515 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44516 + (eval "$ac_try") 2>&5
44517 ac_status=$?
44518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44519 (exit $ac_status); }; }; then
44520 @@ -1864,22 +2438,27 @@
44521 fi
44522 fi
44523 fi
44524 -echo "$as_me:$LINENO: result: yes" >&5
44525 -echo "${ECHO_T}yes" >&6
44526 +{ echo "$as_me:$LINENO: result: yes" >&5
44527 +echo "${ECHO_T}yes" >&6; }
44528
44529 rm -f a.out a.exe conftest$ac_cv_exeext b.out
44530 ac_clean_files=$ac_clean_files_save
44531 -# Check the compiler produces executables we can run. If not, either
44532 +# Check that the compiler produces executables we can run. If not, either
44533 # the compiler is broken, or we cross compile.
44534 -echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
44535 -echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
44536 -echo "$as_me:$LINENO: result: $cross_compiling" >&5
44537 -echo "${ECHO_T}$cross_compiling" >&6
44538 -
44539 -echo "$as_me:$LINENO: checking for suffix of executables" >&5
44540 -echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
44541 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44542 - (eval $ac_link) 2>&5
44543 +{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
44544 +echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
44545 +{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
44546 +echo "${ECHO_T}$cross_compiling" >&6; }
44547 +
44548 +{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
44549 +echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
44550 +if { (ac_try="$ac_link"
44551 +case "(($ac_try" in
44552 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44553 + *) ac_try_echo=$ac_try;;
44554 +esac
44555 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44556 + (eval "$ac_link") 2>&5
44557 ac_status=$?
44558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44559 (exit $ac_status); }; then
44560 @@ -1890,9 +2469,8 @@
44561 for ac_file in conftest.exe conftest conftest.*; do
44562 test -f "$ac_file" || continue
44563 case $ac_file in
44564 - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
44565 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
44566 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
44567 - export ac_cv_exeext
44568 break;;
44569 * ) break;;
44570 esac
44571 @@ -1906,14 +2484,14 @@
44572 fi
44573
44574 rm -f conftest$ac_cv_exeext
44575 -echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
44576 -echo "${ECHO_T}$ac_cv_exeext" >&6
44577 +{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
44578 +echo "${ECHO_T}$ac_cv_exeext" >&6; }
44579
44580 rm -f conftest.$ac_ext
44581 EXEEXT=$ac_cv_exeext
44582 ac_exeext=$EXEEXT
44583 -echo "$as_me:$LINENO: checking for suffix of object files" >&5
44584 -echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
44585 +{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
44586 +echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
44587 if test "${ac_cv_objext+set}" = set; then
44588 echo $ECHO_N "(cached) $ECHO_C" >&6
44589 else
44590 @@ -1933,14 +2511,20 @@
44591 }
44592 _ACEOF
44593 rm -f conftest.o conftest.obj
44594 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44595 - (eval $ac_compile) 2>&5
44596 +if { (ac_try="$ac_compile"
44597 +case "(($ac_try" in
44598 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44599 + *) ac_try_echo=$ac_try;;
44600 +esac
44601 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44602 + (eval "$ac_compile") 2>&5
44603 ac_status=$?
44604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44605 (exit $ac_status); }; then
44606 - for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
44607 + for ac_file in conftest.o conftest.obj conftest.*; do
44608 + test -f "$ac_file" || continue;
44609 case $ac_file in
44610 - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
44611 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
44612 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
44613 break;;
44614 esac
44615 @@ -1958,12 +2542,12 @@
44616
44617 rm -f conftest.$ac_cv_objext conftest.$ac_ext
44618 fi
44619 -echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
44620 -echo "${ECHO_T}$ac_cv_objext" >&6
44621 +{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
44622 +echo "${ECHO_T}$ac_cv_objext" >&6; }
44623 OBJEXT=$ac_cv_objext
44624 ac_objext=$OBJEXT
44625 -echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
44626 -echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
44627 +{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
44628 +echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
44629 if test "${ac_cv_c_compiler_gnu+set}" = set; then
44630 echo $ECHO_N "(cached) $ECHO_C" >&6
44631 else
44632 @@ -1986,50 +2570,49 @@
44633 }
44634 _ACEOF
44635 rm -f conftest.$ac_objext
44636 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44637 - (eval $ac_compile) 2>conftest.er1
44638 +if { (ac_try="$ac_compile"
44639 +case "(($ac_try" in
44640 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44641 + *) ac_try_echo=$ac_try;;
44642 +esac
44643 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44644 + (eval "$ac_compile") 2>conftest.er1
44645 ac_status=$?
44646 grep -v '^ *+' conftest.er1 >conftest.err
44647 rm -f conftest.er1
44648 cat conftest.err >&5
44649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44650 - (exit $ac_status); } &&
44651 - { ac_try='test -z "$ac_c_werror_flag"
44652 - || test ! -s conftest.err'
44653 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44654 - (eval $ac_try) 2>&5
44655 - ac_status=$?
44656 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
44657 - (exit $ac_status); }; } &&
44658 - { ac_try='test -s conftest.$ac_objext'
44659 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44660 - (eval $ac_try) 2>&5
44661 - ac_status=$?
44662 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
44663 - (exit $ac_status); }; }; then
44664 + (exit $ac_status); } && {
44665 + test -z "$ac_c_werror_flag" ||
44666 + test ! -s conftest.err
44667 + } && test -s conftest.$ac_objext; then
44668 ac_compiler_gnu=yes
44669 else
44670 echo "$as_me: failed program was:" >&5
44671 sed 's/^/| /' conftest.$ac_ext >&5
44672
44673 -ac_compiler_gnu=no
44674 + ac_compiler_gnu=no
44675 fi
44676 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44677 +
44678 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44679 ac_cv_c_compiler_gnu=$ac_compiler_gnu
44680
44681 fi
44682 -echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
44683 -echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
44684 +{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
44685 +echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
44686 GCC=`test $ac_compiler_gnu = yes && echo yes`
44687 ac_test_CFLAGS=${CFLAGS+set}
44688 ac_save_CFLAGS=$CFLAGS
44689 -CFLAGS="-g"
44690 -echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
44691 -echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
44692 +{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
44693 +echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
44694 if test "${ac_cv_prog_cc_g+set}" = set; then
44695 echo $ECHO_N "(cached) $ECHO_C" >&6
44696 else
44697 - cat >conftest.$ac_ext <<_ACEOF
44698 + ac_save_c_werror_flag=$ac_c_werror_flag
44699 + ac_c_werror_flag=yes
44700 + ac_cv_prog_cc_g=no
44701 + CFLAGS="-g"
44702 + cat >conftest.$ac_ext <<_ACEOF
44703 /* confdefs.h. */
44704 _ACEOF
44705 cat confdefs.h >>conftest.$ac_ext
44706 @@ -2045,38 +2628,118 @@
44707 }
44708 _ACEOF
44709 rm -f conftest.$ac_objext
44710 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44711 - (eval $ac_compile) 2>conftest.er1
44712 +if { (ac_try="$ac_compile"
44713 +case "(($ac_try" in
44714 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44715 + *) ac_try_echo=$ac_try;;
44716 +esac
44717 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44718 + (eval "$ac_compile") 2>conftest.er1
44719 ac_status=$?
44720 grep -v '^ *+' conftest.er1 >conftest.err
44721 rm -f conftest.er1
44722 cat conftest.err >&5
44723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44724 - (exit $ac_status); } &&
44725 - { ac_try='test -z "$ac_c_werror_flag"
44726 - || test ! -s conftest.err'
44727 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44728 - (eval $ac_try) 2>&5
44729 + (exit $ac_status); } && {
44730 + test -z "$ac_c_werror_flag" ||
44731 + test ! -s conftest.err
44732 + } && test -s conftest.$ac_objext; then
44733 + ac_cv_prog_cc_g=yes
44734 +else
44735 + echo "$as_me: failed program was:" >&5
44736 +sed 's/^/| /' conftest.$ac_ext >&5
44737 +
44738 + CFLAGS=""
44739 + cat >conftest.$ac_ext <<_ACEOF
44740 +/* confdefs.h. */
44741 +_ACEOF
44742 +cat confdefs.h >>conftest.$ac_ext
44743 +cat >>conftest.$ac_ext <<_ACEOF
44744 +/* end confdefs.h. */
44745 +
44746 +int
44747 +main ()
44748 +{
44749 +
44750 + ;
44751 + return 0;
44752 +}
44753 +_ACEOF
44754 +rm -f conftest.$ac_objext
44755 +if { (ac_try="$ac_compile"
44756 +case "(($ac_try" in
44757 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44758 + *) ac_try_echo=$ac_try;;
44759 +esac
44760 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44761 + (eval "$ac_compile") 2>conftest.er1
44762 ac_status=$?
44763 + grep -v '^ *+' conftest.er1 >conftest.err
44764 + rm -f conftest.er1
44765 + cat conftest.err >&5
44766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44767 - (exit $ac_status); }; } &&
44768 - { ac_try='test -s conftest.$ac_objext'
44769 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44770 - (eval $ac_try) 2>&5
44771 + (exit $ac_status); } && {
44772 + test -z "$ac_c_werror_flag" ||
44773 + test ! -s conftest.err
44774 + } && test -s conftest.$ac_objext; then
44775 + :
44776 +else
44777 + echo "$as_me: failed program was:" >&5
44778 +sed 's/^/| /' conftest.$ac_ext >&5
44779 +
44780 + ac_c_werror_flag=$ac_save_c_werror_flag
44781 + CFLAGS="-g"
44782 + cat >conftest.$ac_ext <<_ACEOF
44783 +/* confdefs.h. */
44784 +_ACEOF
44785 +cat confdefs.h >>conftest.$ac_ext
44786 +cat >>conftest.$ac_ext <<_ACEOF
44787 +/* end confdefs.h. */
44788 +
44789 +int
44790 +main ()
44791 +{
44792 +
44793 + ;
44794 + return 0;
44795 +}
44796 +_ACEOF
44797 +rm -f conftest.$ac_objext
44798 +if { (ac_try="$ac_compile"
44799 +case "(($ac_try" in
44800 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44801 + *) ac_try_echo=$ac_try;;
44802 +esac
44803 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44804 + (eval "$ac_compile") 2>conftest.er1
44805 ac_status=$?
44806 + grep -v '^ *+' conftest.er1 >conftest.err
44807 + rm -f conftest.er1
44808 + cat conftest.err >&5
44809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44810 - (exit $ac_status); }; }; then
44811 + (exit $ac_status); } && {
44812 + test -z "$ac_c_werror_flag" ||
44813 + test ! -s conftest.err
44814 + } && test -s conftest.$ac_objext; then
44815 ac_cv_prog_cc_g=yes
44816 else
44817 echo "$as_me: failed program was:" >&5
44818 sed 's/^/| /' conftest.$ac_ext >&5
44819
44820 -ac_cv_prog_cc_g=no
44821 +
44822 +fi
44823 +
44824 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44825 +fi
44826 +
44827 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44828 fi
44829 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44830 +
44831 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44832 + ac_c_werror_flag=$ac_save_c_werror_flag
44833 fi
44834 -echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
44835 -echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
44836 +{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
44837 +echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
44838 if test "$ac_test_CFLAGS" = set; then
44839 CFLAGS=$ac_save_CFLAGS
44840 elif test $ac_cv_prog_cc_g = yes; then
44841 @@ -2092,12 +2755,12 @@
44842 CFLAGS=
44843 fi
44844 fi
44845 -echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
44846 -echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
44847 -if test "${ac_cv_prog_cc_stdc+set}" = set; then
44848 +{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
44849 +echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
44850 +if test "${ac_cv_prog_cc_c89+set}" = set; then
44851 echo $ECHO_N "(cached) $ECHO_C" >&6
44852 else
44853 - ac_cv_prog_cc_stdc=no
44854 + ac_cv_prog_cc_c89=no
44855 ac_save_CC=$CC
44856 cat >conftest.$ac_ext <<_ACEOF
44857 /* confdefs.h. */
44858 @@ -2131,12 +2794,17 @@
44859 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
44860 function prototypes and stuff, but not '\xHH' hex character constants.
44861 These don't provoke an error unfortunately, instead are silently treated
44862 - as 'x'. The following induces an error, until -std1 is added to get
44863 + as 'x'. The following induces an error, until -std is added to get
44864 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
44865 array size at least. It's necessary to write '\x00'==0 to get something
44866 - that's true only with -std1. */
44867 + that's true only with -std. */
44868 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
44869
44870 +/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
44871 + inside strings and character constants. */
44872 +#define FOO(x) 'x'
44873 +int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
44874 +
44875 int test (int i, double x);
44876 struct s1 {int (*f) (int a);};
44877 struct s2 {int (*f) (double a);};
44878 @@ -2151,335 +2819,144 @@
44879 return 0;
44880 }
44881 _ACEOF
44882 -# Don't try gcc -ansi; that turns off useful extensions and
44883 -# breaks some systems' header files.
44884 -# AIX -qlanglvl=ansi
44885 -# Ultrix and OSF/1 -std1
44886 -# HP-UX 10.20 and later -Ae
44887 -# HP-UX older versions -Aa -D_HPUX_SOURCE
44888 -# SVR4 -Xc -D__EXTENSIONS__
44889 -for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
44890 +for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
44891 + -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
44892 do
44893 CC="$ac_save_CC $ac_arg"
44894 rm -f conftest.$ac_objext
44895 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44896 - (eval $ac_compile) 2>conftest.er1
44897 +if { (ac_try="$ac_compile"
44898 +case "(($ac_try" in
44899 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44900 + *) ac_try_echo=$ac_try;;
44901 +esac
44902 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44903 + (eval "$ac_compile") 2>conftest.er1
44904 ac_status=$?
44905 grep -v '^ *+' conftest.er1 >conftest.err
44906 rm -f conftest.er1
44907 cat conftest.err >&5
44908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44909 - (exit $ac_status); } &&
44910 - { ac_try='test -z "$ac_c_werror_flag"
44911 - || test ! -s conftest.err'
44912 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44913 - (eval $ac_try) 2>&5
44914 - ac_status=$?
44915 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
44916 - (exit $ac_status); }; } &&
44917 - { ac_try='test -s conftest.$ac_objext'
44918 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44919 - (eval $ac_try) 2>&5
44920 - ac_status=$?
44921 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
44922 - (exit $ac_status); }; }; then
44923 - ac_cv_prog_cc_stdc=$ac_arg
44924 -break
44925 + (exit $ac_status); } && {
44926 + test -z "$ac_c_werror_flag" ||
44927 + test ! -s conftest.err
44928 + } && test -s conftest.$ac_objext; then
44929 + ac_cv_prog_cc_c89=$ac_arg
44930 else
44931 echo "$as_me: failed program was:" >&5
44932 sed 's/^/| /' conftest.$ac_ext >&5
44933
44934 +
44935 fi
44936 -rm -f conftest.err conftest.$ac_objext
44937 +
44938 +rm -f core conftest.err conftest.$ac_objext
44939 + test "x$ac_cv_prog_cc_c89" != "xno" && break
44940 done
44941 -rm -f conftest.$ac_ext conftest.$ac_objext
44942 +rm -f conftest.$ac_ext
44943 CC=$ac_save_CC
44944
44945 fi
44946 -
44947 -case "x$ac_cv_prog_cc_stdc" in
44948 - x|xno)
44949 - echo "$as_me:$LINENO: result: none needed" >&5
44950 -echo "${ECHO_T}none needed" >&6 ;;
44951 +# AC_CACHE_VAL
44952 +case "x$ac_cv_prog_cc_c89" in
44953 + x)
44954 + { echo "$as_me:$LINENO: result: none needed" >&5
44955 +echo "${ECHO_T}none needed" >&6; } ;;
44956 + xno)
44957 + { echo "$as_me:$LINENO: result: unsupported" >&5
44958 +echo "${ECHO_T}unsupported" >&6; } ;;
44959 *)
44960 - echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
44961 -echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
44962 - CC="$CC $ac_cv_prog_cc_stdc" ;;
44963 + CC="$CC $ac_cv_prog_cc_c89"
44964 + { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
44965 +echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
44966 esac
44967
44968 -# Some people use a C++ compiler to compile C. Since we use `exit',
44969 -# in C++ we need to declare it. In case someone uses the same compiler
44970 -# for both compiling C and C++ we need to have the C++ compiler decide
44971 -# the declaration of exit, since it's the most demanding environment.
44972 +
44973 +ac_ext=c
44974 +ac_cpp='$CPP $CPPFLAGS'
44975 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44976 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44977 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
44978 +
44979 +
44980 +{ echo "$as_me:$LINENO: checking for library containing strerror" >&5
44981 +echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6; }
44982 +if test "${ac_cv_search_strerror+set}" = set; then
44983 + echo $ECHO_N "(cached) $ECHO_C" >&6
44984 +else
44985 + ac_func_search_save_LIBS=$LIBS
44986 cat >conftest.$ac_ext <<_ACEOF
44987 -#ifndef __cplusplus
44988 - choke me
44989 -#endif
44990 -_ACEOF
44991 -rm -f conftest.$ac_objext
44992 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44993 - (eval $ac_compile) 2>conftest.er1
44994 - ac_status=$?
44995 - grep -v '^ *+' conftest.er1 >conftest.err
44996 - rm -f conftest.er1
44997 - cat conftest.err >&5
44998 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
44999 - (exit $ac_status); } &&
45000 - { ac_try='test -z "$ac_c_werror_flag"
45001 - || test ! -s conftest.err'
45002 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45003 - (eval $ac_try) 2>&5
45004 - ac_status=$?
45005 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
45006 - (exit $ac_status); }; } &&
45007 - { ac_try='test -s conftest.$ac_objext'
45008 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45009 - (eval $ac_try) 2>&5
45010 - ac_status=$?
45011 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
45012 - (exit $ac_status); }; }; then
45013 - for ac_declaration in \
45014 - '' \
45015 - 'extern "C" void std::exit (int) throw (); using std::exit;' \
45016 - 'extern "C" void std::exit (int); using std::exit;' \
45017 - 'extern "C" void exit (int) throw ();' \
45018 - 'extern "C" void exit (int);' \
45019 - 'void exit (int);'
45020 -do
45021 - cat >conftest.$ac_ext <<_ACEOF
45022 /* confdefs.h. */
45023 _ACEOF
45024 cat confdefs.h >>conftest.$ac_ext
45025 cat >>conftest.$ac_ext <<_ACEOF
45026 /* end confdefs.h. */
45027 -$ac_declaration
45028 -#include <stdlib.h>
45029 +
45030 +/* Override any GCC internal prototype to avoid an error.
45031 + Use char because int might match the return type of a GCC
45032 + builtin and then its argument prototype would still apply. */
45033 +#ifdef __cplusplus
45034 +extern "C"
45035 +#endif
45036 +char strerror ();
45037 int
45038 main ()
45039 {
45040 -exit (42);
45041 +return strerror ();
45042 ;
45043 return 0;
45044 }
45045 _ACEOF
45046 -rm -f conftest.$ac_objext
45047 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45048 - (eval $ac_compile) 2>conftest.er1
45049 +for ac_lib in '' cposix; do
45050 + if test -z "$ac_lib"; then
45051 + ac_res="none required"
45052 + else
45053 + ac_res=-l$ac_lib
45054 + LIBS="-l$ac_lib $ac_func_search_save_LIBS"
45055 + fi
45056 + rm -f conftest.$ac_objext conftest$ac_exeext
45057 +if { (ac_try="$ac_link"
45058 +case "(($ac_try" in
45059 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45060 + *) ac_try_echo=$ac_try;;
45061 +esac
45062 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45063 + (eval "$ac_link") 2>conftest.er1
45064 ac_status=$?
45065 grep -v '^ *+' conftest.er1 >conftest.err
45066 rm -f conftest.er1
45067 cat conftest.err >&5
45068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45069 - (exit $ac_status); } &&
45070 - { ac_try='test -z "$ac_c_werror_flag"
45071 - || test ! -s conftest.err'
45072 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45073 - (eval $ac_try) 2>&5
45074 - ac_status=$?
45075 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
45076 - (exit $ac_status); }; } &&
45077 - { ac_try='test -s conftest.$ac_objext'
45078 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45079 - (eval $ac_try) 2>&5
45080 - ac_status=$?
45081 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
45082 - (exit $ac_status); }; }; then
45083 - :
45084 + (exit $ac_status); } && {
45085 + test -z "$ac_c_werror_flag" ||
45086 + test ! -s conftest.err
45087 + } && test -s conftest$ac_exeext &&
45088 + $as_test_x conftest$ac_exeext; then
45089 + ac_cv_search_strerror=$ac_res
45090 else
45091 echo "$as_me: failed program was:" >&5
45092 sed 's/^/| /' conftest.$ac_ext >&5
45093
45094 -continue
45095 -fi
45096 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45097 - cat >conftest.$ac_ext <<_ACEOF
45098 -/* confdefs.h. */
45099 -_ACEOF
45100 -cat confdefs.h >>conftest.$ac_ext
45101 -cat >>conftest.$ac_ext <<_ACEOF
45102 -/* end confdefs.h. */
45103 -$ac_declaration
45104 -int
45105 -main ()
45106 -{
45107 -exit (42);
45108 - ;
45109 - return 0;
45110 -}
45111 -_ACEOF
45112 -rm -f conftest.$ac_objext
45113 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45114 - (eval $ac_compile) 2>conftest.er1
45115 - ac_status=$?
45116 - grep -v '^ *+' conftest.er1 >conftest.err
45117 - rm -f conftest.er1
45118 - cat conftest.err >&5
45119 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
45120 - (exit $ac_status); } &&
45121 - { ac_try='test -z "$ac_c_werror_flag"
45122 - || test ! -s conftest.err'
45123 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45124 - (eval $ac_try) 2>&5
45125 - ac_status=$?
45126 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
45127 - (exit $ac_status); }; } &&
45128 - { ac_try='test -s conftest.$ac_objext'
45129 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45130 - (eval $ac_try) 2>&5
45131 - ac_status=$?
45132 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
45133 - (exit $ac_status); }; }; then
45134 - break
45135 -else
45136 - echo "$as_me: failed program was:" >&5
45137 -sed 's/^/| /' conftest.$ac_ext >&5
45138
45139 fi
45140 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45141 -done
45142 -rm -f conftest*
45143 -if test -n "$ac_declaration"; then
45144 - echo '#ifdef __cplusplus' >>confdefs.h
45145 - echo $ac_declaration >>confdefs.h
45146 - echo '#endif' >>confdefs.h
45147 -fi
45148 -
45149 -else
45150 - echo "$as_me: failed program was:" >&5
45151 -sed 's/^/| /' conftest.$ac_ext >&5
45152
45153 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45154 + conftest$ac_exeext
45155 + if test "${ac_cv_search_strerror+set}" = set; then
45156 + break
45157 fi
45158 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45159 -ac_ext=c
45160 -ac_cpp='$CPP $CPPFLAGS'
45161 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45162 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45163 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
45164 -
45165 -
45166 -echo "$as_me:$LINENO: checking for library containing strerror" >&5
45167 -echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6
45168 +done
45169 if test "${ac_cv_search_strerror+set}" = set; then
45170 - echo $ECHO_N "(cached) $ECHO_C" >&6
45171 -else
45172 - ac_func_search_save_LIBS=$LIBS
45173 -ac_cv_search_strerror=no
45174 -cat >conftest.$ac_ext <<_ACEOF
45175 -/* confdefs.h. */
45176 -_ACEOF
45177 -cat confdefs.h >>conftest.$ac_ext
45178 -cat >>conftest.$ac_ext <<_ACEOF
45179 -/* end confdefs.h. */
45180 -
45181 -/* Override any gcc2 internal prototype to avoid an error. */
45182 -#ifdef __cplusplus
45183 -extern "C"
45184 -#endif
45185 -/* We use char because int might match the return type of a gcc2
45186 - builtin and then its argument prototype would still apply. */
45187 -char strerror ();
45188 -int
45189 -main ()
45190 -{
45191 -strerror ();
45192 - ;
45193 - return 0;
45194 -}
45195 -_ACEOF
45196 -rm -f conftest.$ac_objext conftest$ac_exeext
45197 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45198 - (eval $ac_link) 2>conftest.er1
45199 - ac_status=$?
45200 - grep -v '^ *+' conftest.er1 >conftest.err
45201 - rm -f conftest.er1
45202 - cat conftest.err >&5
45203 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
45204 - (exit $ac_status); } &&
45205 - { ac_try='test -z "$ac_c_werror_flag"
45206 - || test ! -s conftest.err'
45207 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45208 - (eval $ac_try) 2>&5
45209 - ac_status=$?
45210 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
45211 - (exit $ac_status); }; } &&
45212 - { ac_try='test -s conftest$ac_exeext'
45213 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45214 - (eval $ac_try) 2>&5
45215 - ac_status=$?
45216 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
45217 - (exit $ac_status); }; }; then
45218 - ac_cv_search_strerror="none required"
45219 -else
45220 - echo "$as_me: failed program was:" >&5
45221 -sed 's/^/| /' conftest.$ac_ext >&5
45222 -
45223 -fi
45224 -rm -f conftest.err conftest.$ac_objext \
45225 - conftest$ac_exeext conftest.$ac_ext
45226 -if test "$ac_cv_search_strerror" = no; then
45227 - for ac_lib in cposix; do
45228 - LIBS="-l$ac_lib $ac_func_search_save_LIBS"
45229 - cat >conftest.$ac_ext <<_ACEOF
45230 -/* confdefs.h. */
45231 -_ACEOF
45232 -cat confdefs.h >>conftest.$ac_ext
45233 -cat >>conftest.$ac_ext <<_ACEOF
45234 -/* end confdefs.h. */
45235 -
45236 -/* Override any gcc2 internal prototype to avoid an error. */
45237 -#ifdef __cplusplus
45238 -extern "C"
45239 -#endif
45240 -/* We use char because int might match the return type of a gcc2
45241 - builtin and then its argument prototype would still apply. */
45242 -char strerror ();
45243 -int
45244 -main ()
45245 -{
45246 -strerror ();
45247 - ;
45248 - return 0;
45249 -}
45250 -_ACEOF
45251 -rm -f conftest.$ac_objext conftest$ac_exeext
45252 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45253 - (eval $ac_link) 2>conftest.er1
45254 - ac_status=$?
45255 - grep -v '^ *+' conftest.er1 >conftest.err
45256 - rm -f conftest.er1
45257 - cat conftest.err >&5
45258 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
45259 - (exit $ac_status); } &&
45260 - { ac_try='test -z "$ac_c_werror_flag"
45261 - || test ! -s conftest.err'
45262 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45263 - (eval $ac_try) 2>&5
45264 - ac_status=$?
45265 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
45266 - (exit $ac_status); }; } &&
45267 - { ac_try='test -s conftest$ac_exeext'
45268 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45269 - (eval $ac_try) 2>&5
45270 - ac_status=$?
45271 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
45272 - (exit $ac_status); }; }; then
45273 - ac_cv_search_strerror="-l$ac_lib"
45274 -break
45275 + :
45276 else
45277 - echo "$as_me: failed program was:" >&5
45278 -sed 's/^/| /' conftest.$ac_ext >&5
45279 -
45280 -fi
45281 -rm -f conftest.err conftest.$ac_objext \
45282 - conftest$ac_exeext conftest.$ac_ext
45283 - done
45284 + ac_cv_search_strerror=no
45285 fi
45286 +rm conftest.$ac_ext
45287 LIBS=$ac_func_search_save_LIBS
45288 fi
45289 -echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
45290 -echo "${ECHO_T}$ac_cv_search_strerror" >&6
45291 -if test "$ac_cv_search_strerror" != no; then
45292 - test "$ac_cv_search_strerror" = "none required" || LIBS="$ac_cv_search_strerror $LIBS"
45293 +{ echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
45294 +echo "${ECHO_T}$ac_cv_search_strerror" >&6; }
45295 +ac_res=$ac_cv_search_strerror
45296 +if test "$ac_res" != no; then
45297 + test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
45298
45299 fi
45300
45301 @@ -2499,8 +2976,8 @@
45302 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
45303 # OS/2's system install, which has a completely different semantic
45304 # ./install, which can be erroneously created by make from ./install.sh.
45305 -echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
45306 -echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
45307 +{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
45308 +echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
45309 if test -z "$INSTALL"; then
45310 if test "${ac_cv_path_install+set}" = set; then
45311 echo $ECHO_N "(cached) $ECHO_C" >&6
45312 @@ -2522,7 +2999,7 @@
45313 # by default.
45314 for ac_prog in ginstall scoinst install; do
45315 for ac_exec_ext in '' $ac_executable_extensions; do
45316 - if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
45317 + if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
45318 if test $ac_prog = install &&
45319 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
45320 # AIX install. It has an incompatible calling convention.
45321 @@ -2541,21 +3018,22 @@
45322 ;;
45323 esac
45324 done
45325 +IFS=$as_save_IFS
45326
45327
45328 fi
45329 if test "${ac_cv_path_install+set}" = set; then
45330 INSTALL=$ac_cv_path_install
45331 else
45332 - # As a last resort, use the slow shell script. We don't cache a
45333 - # path for INSTALL within a source directory, because that will
45334 + # As a last resort, use the slow shell script. Don't cache a
45335 + # value for INSTALL within a source directory, because that will
45336 # break other packages using the cache if that directory is
45337 - # removed, or if the path is relative.
45338 + # removed, or if the value is a relative name.
45339 INSTALL=$ac_install_sh
45340 fi
45341 fi
45342 -echo "$as_me:$LINENO: result: $INSTALL" >&5
45343 -echo "${ECHO_T}$INSTALL" >&6
45344 +{ echo "$as_me:$LINENO: result: $INSTALL" >&5
45345 +echo "${ECHO_T}$INSTALL" >&6; }
45346
45347 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
45348 # It thinks the first close brace ends the variable substitution.
45349 @@ -2565,8 +3043,8 @@
45350
45351 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
45352
45353 -echo "$as_me:$LINENO: checking whether build environment is sane" >&5
45354 -echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
45355 +{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
45356 +echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
45357 # Just in case
45358 sleep 1
45359 echo timestamp > conftest.file
45360 @@ -2608,20 +3086,20 @@
45361 Check your system clock" >&2;}
45362 { (exit 1); exit 1; }; }
45363 fi
45364 -echo "$as_me:$LINENO: result: yes" >&5
45365 -echo "${ECHO_T}yes" >&6
45366 +{ echo "$as_me:$LINENO: result: yes" >&5
45367 +echo "${ECHO_T}yes" >&6; }
45368 test "$program_prefix" != NONE &&
45369 - program_transform_name="s,^,$program_prefix,;$program_transform_name"
45370 + program_transform_name="s&^&$program_prefix&;$program_transform_name"
45371 # Use a double $ so make ignores it.
45372 test "$program_suffix" != NONE &&
45373 - program_transform_name="s,\$,$program_suffix,;$program_transform_name"
45374 + program_transform_name="s&\$&$program_suffix&;$program_transform_name"
45375 # Double any \ or $. echo might interpret backslashes.
45376 # By default was `s,x,x', remove it if useless.
45377 cat <<\_ACEOF >conftest.sed
45378 s/[\\$]/&&/g;s/;s,x,x,$//
45379 _ACEOF
45380 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
45381 -rm conftest.sed
45382 +rm -f conftest.sed
45383
45384 # expand $ac_aux_dir to an absolute path
45385 am_aux_dir=`cd $ac_aux_dir && pwd`
45386 @@ -2673,8 +3151,8 @@
45387 do
45388 # Extract the first word of "$ac_prog", so it can be a program name with args.
45389 set dummy $ac_prog; ac_word=$2
45390 -echo "$as_me:$LINENO: checking for $ac_word" >&5
45391 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45392 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
45393 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
45394 if test "${ac_cv_prog_AWK+set}" = set; then
45395 echo $ECHO_N "(cached) $ECHO_C" >&6
45396 else
45397 @@ -2687,54 +3165,57 @@
45398 IFS=$as_save_IFS
45399 test -z "$as_dir" && as_dir=.
45400 for ac_exec_ext in '' $ac_executable_extensions; do
45401 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45402 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
45403 ac_cv_prog_AWK="$ac_prog"
45404 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45405 break 2
45406 fi
45407 done
45408 done
45409 +IFS=$as_save_IFS
45410
45411 fi
45412 fi
45413 AWK=$ac_cv_prog_AWK
45414 if test -n "$AWK"; then
45415 - echo "$as_me:$LINENO: result: $AWK" >&5
45416 -echo "${ECHO_T}$AWK" >&6
45417 + { echo "$as_me:$LINENO: result: $AWK" >&5
45418 +echo "${ECHO_T}$AWK" >&6; }
45419 else
45420 - echo "$as_me:$LINENO: result: no" >&5
45421 -echo "${ECHO_T}no" >&6
45422 + { echo "$as_me:$LINENO: result: no" >&5
45423 +echo "${ECHO_T}no" >&6; }
45424 fi
45425
45426 +
45427 test -n "$AWK" && break
45428 done
45429
45430 -echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
45431 -echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
45432 -set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
45433 -if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
45434 +{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
45435 +echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
45436 +set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
45437 +if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
45438 echo $ECHO_N "(cached) $ECHO_C" >&6
45439 else
45440 cat >conftest.make <<\_ACEOF
45441 +SHELL = /bin/sh
45442 all:
45443 - @echo 'ac_maketemp="$(MAKE)"'
45444 + @echo '@@@%%%=$(MAKE)=@@@%%%'
45445 _ACEOF
45446 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
45447 -eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
45448 -if test -n "$ac_maketemp"; then
45449 - eval ac_cv_prog_make_${ac_make}_set=yes
45450 -else
45451 - eval ac_cv_prog_make_${ac_make}_set=no
45452 -fi
45453 +case `${MAKE-make} -f conftest.make 2>/dev/null` in
45454 + *@@@%%%=?*=@@@%%%*)
45455 + eval ac_cv_prog_make_${ac_make}_set=yes;;
45456 + *)
45457 + eval ac_cv_prog_make_${ac_make}_set=no;;
45458 +esac
45459 rm -f conftest.make
45460 fi
45461 -if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
45462 - echo "$as_me:$LINENO: result: yes" >&5
45463 -echo "${ECHO_T}yes" >&6
45464 +if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
45465 + { echo "$as_me:$LINENO: result: yes" >&5
45466 +echo "${ECHO_T}yes" >&6; }
45467 SET_MAKE=
45468 else
45469 - echo "$as_me:$LINENO: result: no" >&5
45470 -echo "${ECHO_T}no" >&6
45471 + { echo "$as_me:$LINENO: result: no" >&5
45472 +echo "${ECHO_T}no" >&6; }
45473 SET_MAKE="MAKE=${MAKE-make}"
45474 fi
45475
45476 @@ -2749,7 +3230,7 @@
45477
45478 DEPDIR="${am__leading_dot}deps"
45479
45480 - ac_config_commands="$ac_config_commands depfiles"
45481 +ac_config_commands="$ac_config_commands depfiles"
45482
45483
45484 am_make=${MAKE-make}
45485 @@ -2759,8 +3240,8 @@
45486 .PHONY: am__doit
45487 END
45488 # If we don't find an include directive, just comment out the code.
45489 -echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
45490 -echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
45491 +{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
45492 +echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
45493 am__include="#"
45494 am__quote=
45495 _am_result=none
45496 @@ -2787,15 +3268,15 @@
45497 fi
45498
45499
45500 -echo "$as_me:$LINENO: result: $_am_result" >&5
45501 -echo "${ECHO_T}$_am_result" >&6
45502 +{ echo "$as_me:$LINENO: result: $_am_result" >&5
45503 +echo "${ECHO_T}$_am_result" >&6; }
45504 rm -f confinc confmf
45505
45506 -# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
45507 +# Check whether --enable-dependency-tracking was given.
45508 if test "${enable_dependency_tracking+set}" = set; then
45509 - enableval="$enable_dependency_tracking"
45510 + enableval=$enable_dependency_tracking;
45511 +fi
45512
45513 -fi;
45514 if test "x$enable_dependency_tracking" != xno; then
45515 am_depcomp="$ac_aux_dir/depcomp"
45516 AMDEPBACKSLASH='\'
45517 @@ -2870,8 +3351,8 @@
45518 if test -n "$ac_tool_prefix"; then
45519 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
45520 set dummy ${ac_tool_prefix}strip; ac_word=$2
45521 -echo "$as_me:$LINENO: checking for $ac_word" >&5
45522 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45523 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
45524 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
45525 if test "${ac_cv_prog_STRIP+set}" = set; then
45526 echo $ECHO_N "(cached) $ECHO_C" >&6
45527 else
45528 @@ -2884,32 +3365,34 @@
45529 IFS=$as_save_IFS
45530 test -z "$as_dir" && as_dir=.
45531 for ac_exec_ext in '' $ac_executable_extensions; do
45532 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45533 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
45534 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
45535 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45536 break 2
45537 fi
45538 done
45539 done
45540 +IFS=$as_save_IFS
45541
45542 fi
45543 fi
45544 STRIP=$ac_cv_prog_STRIP
45545 if test -n "$STRIP"; then
45546 - echo "$as_me:$LINENO: result: $STRIP" >&5
45547 -echo "${ECHO_T}$STRIP" >&6
45548 + { echo "$as_me:$LINENO: result: $STRIP" >&5
45549 +echo "${ECHO_T}$STRIP" >&6; }
45550 else
45551 - echo "$as_me:$LINENO: result: no" >&5
45552 -echo "${ECHO_T}no" >&6
45553 + { echo "$as_me:$LINENO: result: no" >&5
45554 +echo "${ECHO_T}no" >&6; }
45555 fi
45556
45557 +
45558 fi
45559 if test -z "$ac_cv_prog_STRIP"; then
45560 ac_ct_STRIP=$STRIP
45561 # Extract the first word of "strip", so it can be a program name with args.
45562 set dummy strip; ac_word=$2
45563 -echo "$as_me:$LINENO: checking for $ac_word" >&5
45564 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45565 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
45566 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
45567 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
45568 echo $ECHO_N "(cached) $ECHO_C" >&6
45569 else
45570 @@ -2922,27 +3405,41 @@
45571 IFS=$as_save_IFS
45572 test -z "$as_dir" && as_dir=.
45573 for ac_exec_ext in '' $ac_executable_extensions; do
45574 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45575 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
45576 ac_cv_prog_ac_ct_STRIP="strip"
45577 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45578 break 2
45579 fi
45580 done
45581 done
45582 +IFS=$as_save_IFS
45583
45584 - test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
45585 fi
45586 fi
45587 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
45588 if test -n "$ac_ct_STRIP"; then
45589 - echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
45590 -echo "${ECHO_T}$ac_ct_STRIP" >&6
45591 + { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
45592 +echo "${ECHO_T}$ac_ct_STRIP" >&6; }
45593 else
45594 - echo "$as_me:$LINENO: result: no" >&5
45595 -echo "${ECHO_T}no" >&6
45596 + { echo "$as_me:$LINENO: result: no" >&5
45597 +echo "${ECHO_T}no" >&6; }
45598 fi
45599
45600 - STRIP=$ac_ct_STRIP
45601 + if test "x$ac_ct_STRIP" = x; then
45602 + STRIP=":"
45603 + else
45604 + case $cross_compiling:$ac_tool_warned in
45605 +yes:)
45606 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
45607 +whose name does not start with the host triplet. If you think this
45608 +configuration is useful to you, please write to autoconf@gnu.org." >&5
45609 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
45610 +whose name does not start with the host triplet. If you think this
45611 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
45612 +ac_tool_warned=yes ;;
45613 +esac
45614 + STRIP=$ac_ct_STRIP
45615 + fi
45616 else
45617 STRIP="$ac_cv_prog_STRIP"
45618 fi
45619 @@ -2963,8 +3460,8 @@
45620
45621 depcc="$CC" am_compiler_list=
45622
45623 -echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
45624 -echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
45625 +{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
45626 +echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
45627 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
45628 echo $ECHO_N "(cached) $ECHO_C" >&6
45629 else
45630 @@ -3053,8 +3550,8 @@
45631 fi
45632
45633 fi
45634 -echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
45635 -echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
45636 +{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
45637 +echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
45638 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
45639
45640
45641 @@ -3072,10 +3569,9 @@
45642
45643
45644
45645 -# Check whether --enable-shared or --disable-shared was given.
45646 +# Check whether --enable-shared was given.
45647 if test "${enable_shared+set}" = set; then
45648 - enableval="$enable_shared"
45649 - p=${PACKAGE-default}
45650 + enableval=$enable_shared; p=${PACKAGE-default}
45651 case $enableval in
45652 yes) enable_shared=yes ;;
45653 no) enable_shared=no ;;
45654 @@ -3093,11 +3589,11 @@
45655 esac
45656 else
45657 enable_shared=yes
45658 -fi;
45659 -# Check whether --enable-static or --disable-static was given.
45660 +fi
45661 +
45662 +# Check whether --enable-static was given.
45663 if test "${enable_static+set}" = set; then
45664 - enableval="$enable_static"
45665 - p=${PACKAGE-default}
45666 + enableval=$enable_static; p=${PACKAGE-default}
45667 case $enableval in
45668 yes) enable_static=yes ;;
45669 no) enable_static=no ;;
45670 @@ -3115,11 +3611,11 @@
45671 esac
45672 else
45673 enable_static=yes
45674 -fi;
45675 -# Check whether --enable-fast-install or --disable-fast-install was given.
45676 +fi
45677 +
45678 +# Check whether --enable-fast-install was given.
45679 if test "${enable_fast_install+set}" = set; then
45680 - enableval="$enable_fast_install"
45681 - p=${PACKAGE-default}
45682 + enableval=$enable_fast_install; p=${PACKAGE-default}
45683 case $enableval in
45684 yes) enable_fast_install=yes ;;
45685 no) enable_fast_install=no ;;
45686 @@ -3137,20 +3633,21 @@
45687 esac
45688 else
45689 enable_fast_install=yes
45690 -fi;
45691 +fi
45692 +
45693
45694 -# Check whether --with-gnu-ld or --without-gnu-ld was given.
45695 +# Check whether --with-gnu-ld was given.
45696 if test "${with_gnu_ld+set}" = set; then
45697 - withval="$with_gnu_ld"
45698 - test "$withval" = no || with_gnu_ld=yes
45699 + withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
45700 else
45701 with_gnu_ld=no
45702 -fi;
45703 +fi
45704 +
45705 ac_prog=ld
45706 if test "$GCC" = yes; then
45707 # Check if gcc -print-prog-name=ld gives a path.
45708 - echo "$as_me:$LINENO: checking for ld used by GCC" >&5
45709 -echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
45710 + { echo "$as_me:$LINENO: checking for ld used by GCC" >&5
45711 +echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6; }
45712 case $host in
45713 *-*-mingw*)
45714 # gcc leaves a trailing carriage return which upsets mingw
45715 @@ -3179,11 +3676,11 @@
45716 ;;
45717 esac
45718 elif test "$with_gnu_ld" = yes; then
45719 - echo "$as_me:$LINENO: checking for GNU ld" >&5
45720 -echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
45721 + { echo "$as_me:$LINENO: checking for GNU ld" >&5
45722 +echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
45723 else
45724 - echo "$as_me:$LINENO: checking for non-GNU ld" >&5
45725 -echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
45726 + { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
45727 +echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
45728 fi
45729 if test "${lt_cv_path_LD+set}" = set; then
45730 echo $ECHO_N "(cached) $ECHO_C" >&6
45731 @@ -3212,17 +3709,17 @@
45732
45733 LD="$lt_cv_path_LD"
45734 if test -n "$LD"; then
45735 - echo "$as_me:$LINENO: result: $LD" >&5
45736 -echo "${ECHO_T}$LD" >&6
45737 + { echo "$as_me:$LINENO: result: $LD" >&5
45738 +echo "${ECHO_T}$LD" >&6; }
45739 else
45740 - echo "$as_me:$LINENO: result: no" >&5
45741 -echo "${ECHO_T}no" >&6
45742 + { echo "$as_me:$LINENO: result: no" >&5
45743 +echo "${ECHO_T}no" >&6; }
45744 fi
45745 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
45746 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
45747 { (exit 1); exit 1; }; }
45748 -echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
45749 -echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
45750 +{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
45751 +echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
45752 if test "${lt_cv_prog_gnu_ld+set}" = set; then
45753 echo $ECHO_N "(cached) $ECHO_C" >&6
45754 else
45755 @@ -3233,25 +3730,25 @@
45756 lt_cv_prog_gnu_ld=no
45757 fi
45758 fi
45759 -echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
45760 -echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
45761 +{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
45762 +echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
45763 with_gnu_ld=$lt_cv_prog_gnu_ld
45764
45765
45766 -echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
45767 -echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
45768 +{ echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
45769 +echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
45770 if test "${lt_cv_ld_reload_flag+set}" = set; then
45771 echo $ECHO_N "(cached) $ECHO_C" >&6
45772 else
45773 lt_cv_ld_reload_flag='-r'
45774 fi
45775 -echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
45776 -echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
45777 +{ echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
45778 +echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
45779 reload_flag=$lt_cv_ld_reload_flag
45780 test -n "$reload_flag" && reload_flag=" $reload_flag"
45781
45782 -echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
45783 -echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
45784 +{ echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
45785 +echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
45786 if test "${lt_cv_path_NM+set}" = set; then
45787 echo $ECHO_N "(cached) $ECHO_C" >&6
45788 else
45789 @@ -3286,22 +3783,22 @@
45790 fi
45791
45792 NM="$lt_cv_path_NM"
45793 -echo "$as_me:$LINENO: result: $NM" >&5
45794 -echo "${ECHO_T}$NM" >&6
45795 +{ echo "$as_me:$LINENO: result: $NM" >&5
45796 +echo "${ECHO_T}$NM" >&6; }
45797
45798 -echo "$as_me:$LINENO: checking whether ln -s works" >&5
45799 -echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
45800 +{ echo "$as_me:$LINENO: checking whether ln -s works" >&5
45801 +echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
45802 LN_S=$as_ln_s
45803 if test "$LN_S" = "ln -s"; then
45804 - echo "$as_me:$LINENO: result: yes" >&5
45805 -echo "${ECHO_T}yes" >&6
45806 + { echo "$as_me:$LINENO: result: yes" >&5
45807 +echo "${ECHO_T}yes" >&6; }
45808 else
45809 - echo "$as_me:$LINENO: result: no, using $LN_S" >&5
45810 -echo "${ECHO_T}no, using $LN_S" >&6
45811 + { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
45812 +echo "${ECHO_T}no, using $LN_S" >&6; }
45813 fi
45814
45815 -echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
45816 -echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
45817 +{ echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
45818 +echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6; }
45819 if test "${lt_cv_deplibs_check_method+set}" = set; then
45820 echo $ECHO_N "(cached) $ECHO_C" >&6
45821 else
45822 @@ -3463,8 +3960,8 @@
45823 esac
45824
45825 fi
45826 -echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
45827 -echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
45828 +{ echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
45829 +echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
45830 file_magic_cmd=$lt_cv_file_magic_cmd
45831 deplibs_check_method=$lt_cv_deplibs_check_method
45832
45833 @@ -3474,8 +3971,8 @@
45834 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
45835
45836 # find the maximum length of command line arguments
45837 -echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
45838 -echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
45839 +{ echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
45840 +echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
45841 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
45842 echo $ECHO_N "(cached) $ECHO_C" >&6
45843 else
45844 @@ -3526,11 +4023,11 @@
45845 fi
45846
45847 if test -n "$lt_cv_sys_max_cmd_len" ; then
45848 - echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
45849 -echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
45850 + { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
45851 +echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
45852 else
45853 - echo "$as_me:$LINENO: result: none" >&5
45854 -echo "${ECHO_T}none" >&6
45855 + { echo "$as_me:$LINENO: result: none" >&5
45856 +echo "${ECHO_T}none" >&6; }
45857 fi
45858
45859
45860 @@ -3538,8 +4035,8 @@
45861 case $deplibs_check_method in
45862 file_magic*)
45863 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
45864 - echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
45865 -echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
45866 + { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
45867 +echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
45868 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
45869 echo $ECHO_N "(cached) $ECHO_C" >&6
45870 else
45871 @@ -3593,17 +4090,17 @@
45872
45873 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
45874 if test -n "$MAGIC_CMD"; then
45875 - echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
45876 -echo "${ECHO_T}$MAGIC_CMD" >&6
45877 + { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
45878 +echo "${ECHO_T}$MAGIC_CMD" >&6; }
45879 else
45880 - echo "$as_me:$LINENO: result: no" >&5
45881 -echo "${ECHO_T}no" >&6
45882 + { echo "$as_me:$LINENO: result: no" >&5
45883 +echo "${ECHO_T}no" >&6; }
45884 fi
45885
45886 if test -z "$lt_cv_path_MAGIC_CMD"; then
45887 if test -n "$ac_tool_prefix"; then
45888 - echo "$as_me:$LINENO: checking for file" >&5
45889 -echo $ECHO_N "checking for file... $ECHO_C" >&6
45890 + { echo "$as_me:$LINENO: checking for file" >&5
45891 +echo $ECHO_N "checking for file... $ECHO_C" >&6; }
45892 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
45893 echo $ECHO_N "(cached) $ECHO_C" >&6
45894 else
45895 @@ -3657,11 +4154,11 @@
45896
45897 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
45898 if test -n "$MAGIC_CMD"; then
45899 - echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
45900 -echo "${ECHO_T}$MAGIC_CMD" >&6
45901 + { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
45902 +echo "${ECHO_T}$MAGIC_CMD" >&6; }
45903 else
45904 - echo "$as_me:$LINENO: result: no" >&5
45905 -echo "${ECHO_T}no" >&6
45906 + { echo "$as_me:$LINENO: result: no" >&5
45907 +echo "${ECHO_T}no" >&6; }
45908 fi
45909
45910 else
45911 @@ -3676,8 +4173,8 @@
45912 if test -n "$ac_tool_prefix"; then
45913 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
45914 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
45915 -echo "$as_me:$LINENO: checking for $ac_word" >&5
45916 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45917 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
45918 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
45919 if test "${ac_cv_prog_RANLIB+set}" = set; then
45920 echo $ECHO_N "(cached) $ECHO_C" >&6
45921 else
45922 @@ -3690,32 +4187,34 @@
45923 IFS=$as_save_IFS
45924 test -z "$as_dir" && as_dir=.
45925 for ac_exec_ext in '' $ac_executable_extensions; do
45926 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45927 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
45928 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
45929 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45930 break 2
45931 fi
45932 done
45933 done
45934 +IFS=$as_save_IFS
45935
45936 fi
45937 fi
45938 RANLIB=$ac_cv_prog_RANLIB
45939 if test -n "$RANLIB"; then
45940 - echo "$as_me:$LINENO: result: $RANLIB" >&5
45941 -echo "${ECHO_T}$RANLIB" >&6
45942 + { echo "$as_me:$LINENO: result: $RANLIB" >&5
45943 +echo "${ECHO_T}$RANLIB" >&6; }
45944 else
45945 - echo "$as_me:$LINENO: result: no" >&5
45946 -echo "${ECHO_T}no" >&6
45947 + { echo "$as_me:$LINENO: result: no" >&5
45948 +echo "${ECHO_T}no" >&6; }
45949 fi
45950
45951 +
45952 fi
45953 if test -z "$ac_cv_prog_RANLIB"; then
45954 ac_ct_RANLIB=$RANLIB
45955 # Extract the first word of "ranlib", so it can be a program name with args.
45956 set dummy ranlib; ac_word=$2
45957 -echo "$as_me:$LINENO: checking for $ac_word" >&5
45958 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45959 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
45960 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
45961 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
45962 echo $ECHO_N "(cached) $ECHO_C" >&6
45963 else
45964 @@ -3728,27 +4227,41 @@
45965 IFS=$as_save_IFS
45966 test -z "$as_dir" && as_dir=.
45967 for ac_exec_ext in '' $ac_executable_extensions; do
45968 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45969 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
45970 ac_cv_prog_ac_ct_RANLIB="ranlib"
45971 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45972 break 2
45973 fi
45974 done
45975 done
45976 +IFS=$as_save_IFS
45977
45978 - test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
45979 fi
45980 fi
45981 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
45982 if test -n "$ac_ct_RANLIB"; then
45983 - echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
45984 -echo "${ECHO_T}$ac_ct_RANLIB" >&6
45985 + { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
45986 +echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
45987 else
45988 - echo "$as_me:$LINENO: result: no" >&5
45989 -echo "${ECHO_T}no" >&6
45990 + { echo "$as_me:$LINENO: result: no" >&5
45991 +echo "${ECHO_T}no" >&6; }
45992 fi
45993
45994 - RANLIB=$ac_ct_RANLIB
45995 + if test "x$ac_ct_RANLIB" = x; then
45996 + RANLIB=":"
45997 + else
45998 + case $cross_compiling:$ac_tool_warned in
45999 +yes:)
46000 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
46001 +whose name does not start with the host triplet. If you think this
46002 +configuration is useful to you, please write to autoconf@gnu.org." >&5
46003 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
46004 +whose name does not start with the host triplet. If you think this
46005 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
46006 +ac_tool_warned=yes ;;
46007 +esac
46008 + RANLIB=$ac_ct_RANLIB
46009 + fi
46010 else
46011 RANLIB="$ac_cv_prog_RANLIB"
46012 fi
46013 @@ -3756,8 +4269,8 @@
46014 if test -n "$ac_tool_prefix"; then
46015 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
46016 set dummy ${ac_tool_prefix}strip; ac_word=$2
46017 -echo "$as_me:$LINENO: checking for $ac_word" >&5
46018 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46019 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
46020 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46021 if test "${ac_cv_prog_STRIP+set}" = set; then
46022 echo $ECHO_N "(cached) $ECHO_C" >&6
46023 else
46024 @@ -3770,32 +4283,34 @@
46025 IFS=$as_save_IFS
46026 test -z "$as_dir" && as_dir=.
46027 for ac_exec_ext in '' $ac_executable_extensions; do
46028 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46029 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46030 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
46031 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46032 break 2
46033 fi
46034 done
46035 done
46036 +IFS=$as_save_IFS
46037
46038 fi
46039 fi
46040 STRIP=$ac_cv_prog_STRIP
46041 if test -n "$STRIP"; then
46042 - echo "$as_me:$LINENO: result: $STRIP" >&5
46043 -echo "${ECHO_T}$STRIP" >&6
46044 + { echo "$as_me:$LINENO: result: $STRIP" >&5
46045 +echo "${ECHO_T}$STRIP" >&6; }
46046 else
46047 - echo "$as_me:$LINENO: result: no" >&5
46048 -echo "${ECHO_T}no" >&6
46049 + { echo "$as_me:$LINENO: result: no" >&5
46050 +echo "${ECHO_T}no" >&6; }
46051 fi
46052
46053 +
46054 fi
46055 if test -z "$ac_cv_prog_STRIP"; then
46056 ac_ct_STRIP=$STRIP
46057 # Extract the first word of "strip", so it can be a program name with args.
46058 set dummy strip; ac_word=$2
46059 -echo "$as_me:$LINENO: checking for $ac_word" >&5
46060 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46061 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
46062 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46063 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
46064 echo $ECHO_N "(cached) $ECHO_C" >&6
46065 else
46066 @@ -3808,27 +4323,41 @@
46067 IFS=$as_save_IFS
46068 test -z "$as_dir" && as_dir=.
46069 for ac_exec_ext in '' $ac_executable_extensions; do
46070 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46071 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46072 ac_cv_prog_ac_ct_STRIP="strip"
46073 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46074 break 2
46075 fi
46076 done
46077 done
46078 +IFS=$as_save_IFS
46079
46080 - test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
46081 fi
46082 fi
46083 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
46084 if test -n "$ac_ct_STRIP"; then
46085 - echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
46086 -echo "${ECHO_T}$ac_ct_STRIP" >&6
46087 + { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
46088 +echo "${ECHO_T}$ac_ct_STRIP" >&6; }
46089 else
46090 - echo "$as_me:$LINENO: result: no" >&5
46091 -echo "${ECHO_T}no" >&6
46092 + { echo "$as_me:$LINENO: result: no" >&5
46093 +echo "${ECHO_T}no" >&6; }
46094 fi
46095
46096 - STRIP=$ac_ct_STRIP
46097 + if test "x$ac_ct_STRIP" = x; then
46098 + STRIP=":"
46099 + else
46100 + case $cross_compiling:$ac_tool_warned in
46101 +yes:)
46102 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
46103 +whose name does not start with the host triplet. If you think this
46104 +configuration is useful to you, please write to autoconf@gnu.org." >&5
46105 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
46106 +whose name does not start with the host triplet. If you think this
46107 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
46108 +ac_tool_warned=yes ;;
46109 +esac
46110 + STRIP=$ac_ct_STRIP
46111 + fi
46112 else
46113 STRIP="$ac_cv_prog_STRIP"
46114 fi
46115 @@ -3843,22 +4372,22 @@
46116 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
46117
46118
46119 -# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
46120 +# Check whether --enable-libtool-lock was given.
46121 if test "${enable_libtool_lock+set}" = set; then
46122 - enableval="$enable_libtool_lock"
46123 + enableval=$enable_libtool_lock;
46124 +fi
46125
46126 -fi;
46127 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
46128 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
46129
46130
46131 -# Check whether --with-pic or --without-pic was given.
46132 +# Check whether --with-pic was given.
46133 if test "${with_pic+set}" = set; then
46134 - withval="$with_pic"
46135 - pic_mode="$withval"
46136 + withval=$with_pic; pic_mode="$withval"
46137 else
46138 pic_mode=default
46139 -fi;
46140 +fi
46141 +
46142 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
46143 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
46144
46145 @@ -3867,7 +4396,7 @@
46146 case $host in
46147 *-*-irix6*)
46148 # Find out which ABI we are using.
46149 - echo '#line 3870 "configure"' > conftest.$ac_ext
46150 + echo '#line 4399 "configure"' > conftest.$ac_ext
46151 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46152 (eval $ac_compile) 2>&5
46153 ac_status=$?
46154 @@ -3972,13 +4501,12 @@
46155 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
46156 SAVE_CFLAGS="$CFLAGS"
46157 CFLAGS="$CFLAGS -belf"
46158 - echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
46159 -echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
46160 + { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
46161 +echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
46162 if test "${lt_cv_cc_needs_belf+set}" = set; then
46163 echo $ECHO_N "(cached) $ECHO_C" >&6
46164 else
46165
46166 -
46167 ac_ext=c
46168 ac_cpp='$CPP $CPPFLAGS'
46169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46170 @@ -4001,35 +4529,32 @@
46171 }
46172 _ACEOF
46173 rm -f conftest.$ac_objext conftest$ac_exeext
46174 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46175 - (eval $ac_link) 2>conftest.er1
46176 +if { (ac_try="$ac_link"
46177 +case "(($ac_try" in
46178 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46179 + *) ac_try_echo=$ac_try;;
46180 +esac
46181 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46182 + (eval "$ac_link") 2>conftest.er1
46183 ac_status=$?
46184 grep -v '^ *+' conftest.er1 >conftest.err
46185 rm -f conftest.er1
46186 cat conftest.err >&5
46187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46188 - (exit $ac_status); } &&
46189 - { ac_try='test -z "$ac_c_werror_flag"
46190 - || test ! -s conftest.err'
46191 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46192 - (eval $ac_try) 2>&5
46193 - ac_status=$?
46194 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
46195 - (exit $ac_status); }; } &&
46196 - { ac_try='test -s conftest$ac_exeext'
46197 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46198 - (eval $ac_try) 2>&5
46199 - ac_status=$?
46200 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
46201 - (exit $ac_status); }; }; then
46202 + (exit $ac_status); } && {
46203 + test -z "$ac_c_werror_flag" ||
46204 + test ! -s conftest.err
46205 + } && test -s conftest$ac_exeext &&
46206 + $as_test_x conftest$ac_exeext; then
46207 lt_cv_cc_needs_belf=yes
46208 else
46209 echo "$as_me: failed program was:" >&5
46210 sed 's/^/| /' conftest.$ac_ext >&5
46211
46212 -lt_cv_cc_needs_belf=no
46213 + lt_cv_cc_needs_belf=no
46214 fi
46215 -rm -f conftest.err conftest.$ac_objext \
46216 +
46217 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46218 conftest$ac_exeext conftest.$ac_ext
46219 ac_ext=c
46220 ac_cpp='$CPP $CPPFLAGS'
46221 @@ -4038,8 +4563,8 @@
46222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46223
46224 fi
46225 -echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
46226 -echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
46227 +{ echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
46228 +echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
46229 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
46230 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
46231 CFLAGS="$SAVE_CFLAGS"
46232 @@ -4069,39 +4594,58 @@
46233
46234 # The following way of writing the cache mishandles newlines in values,
46235 # but we know of no workaround that is simple, portable, and efficient.
46236 -# So, don't put newlines in cache variables' values.
46237 +# So, we kill variables containing newlines.
46238 # Ultrix sh set writes to stderr and can't be redirected directly,
46239 # and sets the high bit in the cache file unless we assign to the vars.
46240 -{
46241 +(
46242 + for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
46243 + eval ac_val=\$$ac_var
46244 + case $ac_val in #(
46245 + *${as_nl}*)
46246 + case $ac_var in #(
46247 + *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
46248 +echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
46249 + esac
46250 + case $ac_var in #(
46251 + _ | IFS | as_nl) ;; #(
46252 + *) $as_unset $ac_var ;;
46253 + esac ;;
46254 + esac
46255 + done
46256 +
46257 (set) 2>&1 |
46258 - case `(ac_space=' '; set | grep ac_space) 2>&1` in
46259 - *ac_space=\ *)
46260 + case $as_nl`(ac_space=' '; set) 2>&1` in #(
46261 + *${as_nl}ac_space=\ *)
46262 # `set' does not quote correctly, so add quotes (double-quote
46263 # substitution turns \\\\ into \\, and sed turns \\ into \).
46264 sed -n \
46265 "s/'/'\\\\''/g;
46266 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
46267 - ;;
46268 + ;; #(
46269 *)
46270 # `set' quotes correctly as required by POSIX, so do not add quotes.
46271 - sed -n \
46272 - "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
46273 + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
46274 ;;
46275 - esac;
46276 -} |
46277 + esac |
46278 + sort
46279 +) |
46280 sed '
46281 + /^ac_cv_env_/b end
46282 t clear
46283 - : clear
46284 + :clear
46285 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
46286 t end
46287 - /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
46288 - : end' >>confcache
46289 -if diff $cache_file confcache >/dev/null 2>&1; then :; else
46290 - if test -w $cache_file; then
46291 - test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
46292 + s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
46293 + :end' >>confcache
46294 +if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
46295 + if test -w "$cache_file"; then
46296 + test "x$cache_file" != "x/dev/null" &&
46297 + { echo "$as_me:$LINENO: updating cache $cache_file" >&5
46298 +echo "$as_me: updating cache $cache_file" >&6;}
46299 cat confcache >$cache_file
46300 else
46301 - echo "not updating unwritable cache $cache_file"
46302 + { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
46303 +echo "$as_me: not updating unwritable cache $cache_file" >&6;}
46304 fi
46305 fi
46306 rm -f confcache
46307 @@ -4127,8 +4671,8 @@
46308 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
46309 echo "$as_me: loading cache $cache_file" >&6;}
46310 case $cache_file in
46311 - [\\/]* | ?:[\\/]* ) . $cache_file;;
46312 - *) . ./$cache_file;;
46313 + [\\/]* | ?:[\\/]* ) . "$cache_file";;
46314 + *) . "./$cache_file";;
46315 esac
46316 fi
46317 else
46318 @@ -4154,10 +4698,9 @@
46319
46320
46321
46322 -# Check whether --enable-targets or --disable-targets was given.
46323 +# Check whether --enable-targets was given.
46324 if test "${enable_targets+set}" = set; then
46325 - enableval="$enable_targets"
46326 - case "${enableval}" in
46327 + enableval=$enable_targets; case "${enableval}" in
46328 yes | "") { { echo "$as_me:$LINENO: error: enable-targets option must specify target names or 'all'" >&5
46329 echo "$as_me: error: enable-targets option must specify target names or 'all'" >&2;}
46330 { (exit 1); exit 1; }; }
46331 @@ -4165,33 +4708,34 @@
46332 no) enable_targets= ;;
46333 *) enable_targets=$enableval ;;
46334 esac
46335 -fi; # Check whether --enable-commonbfdlib or --disable-commonbfdlib was given.
46336 +fi
46337 +# Check whether --enable-commonbfdlib was given.
46338 if test "${enable_commonbfdlib+set}" = set; then
46339 - enableval="$enable_commonbfdlib"
46340 - case "${enableval}" in
46341 + enableval=$enable_commonbfdlib; case "${enableval}" in
46342 yes) commonbfdlib=true ;;
46343 no) commonbfdlib=false ;;
46344 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for BFD commonbfdlib option" >&5
46345 echo "$as_me: error: bad value ${enableval} for BFD commonbfdlib option" >&2;}
46346 { (exit 1); exit 1; }; } ;;
46347 esac
46348 -fi;
46349 +fi
46350 +
46351 using_cgen=no
46352
46353
46354 GCC_WARN_CFLAGS="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
46355
46356 -# Check whether --enable-werror or --disable-werror was given.
46357 +# Check whether --enable-werror was given.
46358 if test "${enable_werror+set}" = set; then
46359 - enableval="$enable_werror"
46360 - case "${enableval}" in
46361 + enableval=$enable_werror; case "${enableval}" in
46362 yes | y) ERROR_ON_WARNING="yes" ;;
46363 no | n) ERROR_ON_WARNING="no" ;;
46364 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-werror" >&5
46365 echo "$as_me: error: bad value ${enableval} for --enable-werror" >&2;}
46366 { (exit 1); exit 1; }; } ;;
46367 esac
46368 -fi;
46369 +fi
46370 +
46371
46372 # Enable -Werror by default when using gcc
46373 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
46374 @@ -4208,10 +4752,9 @@
46375 WARN_CFLAGS="${GCC_WARN_CFLAGS}"
46376 fi
46377
46378 -# Check whether --enable-build-warnings or --disable-build-warnings was given.
46379 +# Check whether --enable-build-warnings was given.
46380 if test "${enable_build_warnings+set}" = set; then
46381 - enableval="$enable_build_warnings"
46382 - case "${enableval}" in
46383 + enableval=$enable_build_warnings; case "${enableval}" in
46384 yes) WARN_CFLAGS="${GCC_WARN_CFLAGS}";;
46385 no) if test "${GCC}" = yes ; then
46386 WARN_CFLAGS="-w"
46387 @@ -4222,7 +4765,8 @@
46388 WARN_CFLAGS="${t} ${GCC_WARN_CFLAGS}";;
46389 *) WARN_CFLAGS=`echo "${enableval}" | sed -e "s/,/ /g"`;;
46390 esac
46391 -fi;
46392 +fi
46393 +
46394
46395 if test x"$silent" != x"yes" && test x"$WARN_CFLAGS" != x""; then
46396 echo "Setting warning flags = $WARN_CFLAGS" 6>&1
46397 @@ -4233,7 +4777,7 @@
46398
46399
46400 # Generate a header file
46401 - ac_config_headers="$ac_config_headers config.h:config.in"
46402 +ac_config_headers="$ac_config_headers config.h:config.in"
46403
46404
46405 # If we are on a DOS filesystem, we must use gdb.ini rather than
46406 @@ -4241,789 +4785,913 @@
46407 case "${host}" in
46408 *-*-msdos* | *-*-go32* | *-*-mingw32* | *-*-windows*)
46409 GDBINIT="gdb.ini"
46410 - ac_config_files="$ac_config_files gdb.ini:gdbinit.in"
46411 + ac_config_files="$ac_config_files gdb.ini:gdbinit.in"
46412
46413 ;;
46414 *)
46415 GDBINIT=".gdbinit"
46416 - ac_config_files="$ac_config_files .gdbinit:gdbinit.in"
46417 + ac_config_files="$ac_config_files .gdbinit:gdbinit.in"
46418
46419 ;;
46420 esac
46421
46422
46423 #We need this for the host. BOUT header is in host order.
46424 -echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
46425 -echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
46426 -if test "${ac_cv_c_bigendian+set}" = set; then
46427 +ac_ext=c
46428 +ac_cpp='$CPP $CPPFLAGS'
46429 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46430 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46431 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
46432 +{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
46433 +echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
46434 +# On Suns, sometimes $CPP names a directory.
46435 +if test -n "$CPP" && test -d "$CPP"; then
46436 + CPP=
46437 +fi
46438 +if test -z "$CPP"; then
46439 + if test "${ac_cv_prog_CPP+set}" = set; then
46440 echo $ECHO_N "(cached) $ECHO_C" >&6
46441 else
46442 - # See if sys/param.h defines the BYTE_ORDER macro.
46443 -cat >conftest.$ac_ext <<_ACEOF
46444 + # Double quotes because CPP needs to be expanded
46445 + for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
46446 + do
46447 + ac_preproc_ok=false
46448 +for ac_c_preproc_warn_flag in '' yes
46449 +do
46450 + # Use a header file that comes with gcc, so configuring glibc
46451 + # with a fresh cross-compiler works.
46452 + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46453 + # <limits.h> exists even on freestanding compilers.
46454 + # On the NeXT, cc -E runs the code through the compiler's parser,
46455 + # not just through cpp. "Syntax error" is here to catch this case.
46456 + cat >conftest.$ac_ext <<_ACEOF
46457 /* confdefs.h. */
46458 _ACEOF
46459 cat confdefs.h >>conftest.$ac_ext
46460 cat >>conftest.$ac_ext <<_ACEOF
46461 /* end confdefs.h. */
46462 -#include <sys/types.h>
46463 -#include <sys/param.h>
46464 -
46465 -int
46466 -main ()
46467 -{
46468 -#if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
46469 - bogus endian macros
46470 +#ifdef __STDC__
46471 +# include <limits.h>
46472 +#else
46473 +# include <assert.h>
46474 #endif
46475 -
46476 - ;
46477 - return 0;
46478 -}
46479 + Syntax error
46480 _ACEOF
46481 -rm -f conftest.$ac_objext
46482 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46483 - (eval $ac_compile) 2>conftest.er1
46484 +if { (ac_try="$ac_cpp conftest.$ac_ext"
46485 +case "(($ac_try" in
46486 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46487 + *) ac_try_echo=$ac_try;;
46488 +esac
46489 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46490 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
46491 ac_status=$?
46492 grep -v '^ *+' conftest.er1 >conftest.err
46493 rm -f conftest.er1
46494 cat conftest.err >&5
46495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46496 - (exit $ac_status); } &&
46497 - { ac_try='test -z "$ac_c_werror_flag"
46498 - || test ! -s conftest.err'
46499 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46500 - (eval $ac_try) 2>&5
46501 - ac_status=$?
46502 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
46503 - (exit $ac_status); }; } &&
46504 - { ac_try='test -s conftest.$ac_objext'
46505 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46506 - (eval $ac_try) 2>&5
46507 - ac_status=$?
46508 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
46509 - (exit $ac_status); }; }; then
46510 - # It does; now see whether it defined to BIG_ENDIAN or not.
46511 -cat >conftest.$ac_ext <<_ACEOF
46512 + (exit $ac_status); } >/dev/null && {
46513 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
46514 + test ! -s conftest.err
46515 + }; then
46516 + :
46517 +else
46518 + echo "$as_me: failed program was:" >&5
46519 +sed 's/^/| /' conftest.$ac_ext >&5
46520 +
46521 + # Broken: fails on valid input.
46522 +continue
46523 +fi
46524 +
46525 +rm -f conftest.err conftest.$ac_ext
46526 +
46527 + # OK, works on sane cases. Now check whether nonexistent headers
46528 + # can be detected and how.
46529 + cat >conftest.$ac_ext <<_ACEOF
46530 /* confdefs.h. */
46531 _ACEOF
46532 cat confdefs.h >>conftest.$ac_ext
46533 cat >>conftest.$ac_ext <<_ACEOF
46534 /* end confdefs.h. */
46535 -#include <sys/types.h>
46536 -#include <sys/param.h>
46537 -
46538 -int
46539 -main ()
46540 -{
46541 -#if BYTE_ORDER != BIG_ENDIAN
46542 - not big endian
46543 -#endif
46544 -
46545 - ;
46546 - return 0;
46547 -}
46548 +#include <ac_nonexistent.h>
46549 _ACEOF
46550 -rm -f conftest.$ac_objext
46551 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46552 - (eval $ac_compile) 2>conftest.er1
46553 +if { (ac_try="$ac_cpp conftest.$ac_ext"
46554 +case "(($ac_try" in
46555 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46556 + *) ac_try_echo=$ac_try;;
46557 +esac
46558 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46559 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
46560 ac_status=$?
46561 grep -v '^ *+' conftest.er1 >conftest.err
46562 rm -f conftest.er1
46563 cat conftest.err >&5
46564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46565 - (exit $ac_status); } &&
46566 - { ac_try='test -z "$ac_c_werror_flag"
46567 - || test ! -s conftest.err'
46568 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46569 - (eval $ac_try) 2>&5
46570 - ac_status=$?
46571 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
46572 - (exit $ac_status); }; } &&
46573 - { ac_try='test -s conftest.$ac_objext'
46574 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46575 - (eval $ac_try) 2>&5
46576 - ac_status=$?
46577 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
46578 - (exit $ac_status); }; }; then
46579 - ac_cv_c_bigendian=yes
46580 + (exit $ac_status); } >/dev/null && {
46581 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
46582 + test ! -s conftest.err
46583 + }; then
46584 + # Broken: success on invalid input.
46585 +continue
46586 else
46587 echo "$as_me: failed program was:" >&5
46588 sed 's/^/| /' conftest.$ac_ext >&5
46589
46590 -ac_cv_c_bigendian=no
46591 + # Passes both tests.
46592 +ac_preproc_ok=:
46593 +break
46594 fi
46595 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46596 -else
46597 - echo "$as_me: failed program was:" >&5
46598 -sed 's/^/| /' conftest.$ac_ext >&5
46599
46600 -# It does not; compile a test program.
46601 -if test "$cross_compiling" = yes; then
46602 - # try to guess the endianness by grepping values into an object file
46603 - ac_cv_c_bigendian=unknown
46604 +rm -f conftest.err conftest.$ac_ext
46605 +
46606 +done
46607 +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
46608 +rm -f conftest.err conftest.$ac_ext
46609 +if $ac_preproc_ok; then
46610 + break
46611 +fi
46612 +
46613 + done
46614 + ac_cv_prog_CPP=$CPP
46615 +
46616 +fi
46617 + CPP=$ac_cv_prog_CPP
46618 +else
46619 + ac_cv_prog_CPP=$CPP
46620 +fi
46621 +{ echo "$as_me:$LINENO: result: $CPP" >&5
46622 +echo "${ECHO_T}$CPP" >&6; }
46623 +ac_preproc_ok=false
46624 +for ac_c_preproc_warn_flag in '' yes
46625 +do
46626 + # Use a header file that comes with gcc, so configuring glibc
46627 + # with a fresh cross-compiler works.
46628 + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46629 + # <limits.h> exists even on freestanding compilers.
46630 + # On the NeXT, cc -E runs the code through the compiler's parser,
46631 + # not just through cpp. "Syntax error" is here to catch this case.
46632 cat >conftest.$ac_ext <<_ACEOF
46633 /* confdefs.h. */
46634 _ACEOF
46635 cat confdefs.h >>conftest.$ac_ext
46636 cat >>conftest.$ac_ext <<_ACEOF
46637 /* end confdefs.h. */
46638 -short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
46639 -short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
46640 -void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
46641 -short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
46642 -short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
46643 -void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
46644 -int
46645 -main ()
46646 -{
46647 - _ascii (); _ebcdic ();
46648 - ;
46649 - return 0;
46650 -}
46651 +#ifdef __STDC__
46652 +# include <limits.h>
46653 +#else
46654 +# include <assert.h>
46655 +#endif
46656 + Syntax error
46657 _ACEOF
46658 -rm -f conftest.$ac_objext
46659 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46660 - (eval $ac_compile) 2>conftest.er1
46661 +if { (ac_try="$ac_cpp conftest.$ac_ext"
46662 +case "(($ac_try" in
46663 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46664 + *) ac_try_echo=$ac_try;;
46665 +esac
46666 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46667 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
46668 ac_status=$?
46669 grep -v '^ *+' conftest.er1 >conftest.err
46670 rm -f conftest.er1
46671 cat conftest.err >&5
46672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46673 - (exit $ac_status); } &&
46674 - { ac_try='test -z "$ac_c_werror_flag"
46675 - || test ! -s conftest.err'
46676 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46677 - (eval $ac_try) 2>&5
46678 - ac_status=$?
46679 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
46680 - (exit $ac_status); }; } &&
46681 - { ac_try='test -s conftest.$ac_objext'
46682 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46683 - (eval $ac_try) 2>&5
46684 - ac_status=$?
46685 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
46686 - (exit $ac_status); }; }; then
46687 - if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
46688 - ac_cv_c_bigendian=yes
46689 -fi
46690 -if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
46691 - if test "$ac_cv_c_bigendian" = unknown; then
46692 - ac_cv_c_bigendian=no
46693 - else
46694 - # finding both strings is unlikely to happen, but who knows?
46695 - ac_cv_c_bigendian=unknown
46696 - fi
46697 -fi
46698 + (exit $ac_status); } >/dev/null && {
46699 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
46700 + test ! -s conftest.err
46701 + }; then
46702 + :
46703 else
46704 echo "$as_me: failed program was:" >&5
46705 sed 's/^/| /' conftest.$ac_ext >&5
46706
46707 + # Broken: fails on valid input.
46708 +continue
46709 fi
46710 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46711 -else
46712 +
46713 +rm -f conftest.err conftest.$ac_ext
46714 +
46715 + # OK, works on sane cases. Now check whether nonexistent headers
46716 + # can be detected and how.
46717 cat >conftest.$ac_ext <<_ACEOF
46718 /* confdefs.h. */
46719 _ACEOF
46720 cat confdefs.h >>conftest.$ac_ext
46721 cat >>conftest.$ac_ext <<_ACEOF
46722 /* end confdefs.h. */
46723 -int
46724 -main ()
46725 -{
46726 - /* Are we little or big endian? From Harbison&Steele. */
46727 - union
46728 - {
46729 - long l;
46730 - char c[sizeof (long)];
46731 - } u;
46732 - u.l = 1;
46733 - exit (u.c[sizeof (long) - 1] == 1);
46734 -}
46735 +#include <ac_nonexistent.h>
46736 _ACEOF
46737 -rm -f conftest$ac_exeext
46738 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46739 - (eval $ac_link) 2>&5
46740 - ac_status=$?
46741 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
46742 - (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
46743 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46744 - (eval $ac_try) 2>&5
46745 +if { (ac_try="$ac_cpp conftest.$ac_ext"
46746 +case "(($ac_try" in
46747 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46748 + *) ac_try_echo=$ac_try;;
46749 +esac
46750 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46751 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
46752 ac_status=$?
46753 + grep -v '^ *+' conftest.er1 >conftest.err
46754 + rm -f conftest.er1
46755 + cat conftest.err >&5
46756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46757 - (exit $ac_status); }; }; then
46758 - ac_cv_c_bigendian=no
46759 + (exit $ac_status); } >/dev/null && {
46760 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
46761 + test ! -s conftest.err
46762 + }; then
46763 + # Broken: success on invalid input.
46764 +continue
46765 else
46766 - echo "$as_me: program exited with status $ac_status" >&5
46767 -echo "$as_me: failed program was:" >&5
46768 + echo "$as_me: failed program was:" >&5
46769 sed 's/^/| /' conftest.$ac_ext >&5
46770
46771 -( exit $ac_status )
46772 -ac_cv_c_bigendian=yes
46773 -fi
46774 -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
46775 -fi
46776 -fi
46777 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46778 + # Passes both tests.
46779 +ac_preproc_ok=:
46780 +break
46781 fi
46782 -echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
46783 -echo "${ECHO_T}$ac_cv_c_bigendian" >&6
46784 -case $ac_cv_c_bigendian in
46785 - yes)
46786
46787 -cat >>confdefs.h <<\_ACEOF
46788 -#define WORDS_BIGENDIAN 1
46789 -_ACEOF
46790 - ;;
46791 - no)
46792 - ;;
46793 - *)
46794 - { { echo "$as_me:$LINENO: error: unknown endianness
46795 -presetting ac_cv_c_bigendian=no (or yes) will help" >&5
46796 -echo "$as_me: error: unknown endianness
46797 -presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
46798 - { (exit 1); exit 1; }; } ;;
46799 -esac
46800 +rm -f conftest.err conftest.$ac_ext
46801
46802 +done
46803 +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
46804 +rm -f conftest.err conftest.$ac_ext
46805 +if $ac_preproc_ok; then
46806 + :
46807 +else
46808 + { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
46809 +See \`config.log' for more details." >&5
46810 +echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
46811 +See \`config.log' for more details." >&2;}
46812 + { (exit 1); exit 1; }; }
46813 +fi
46814
46815 -te_file=generic
46816 +ac_ext=c
46817 +ac_cpp='$CPP $CPPFLAGS'
46818 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46819 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46820 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
46821
46822 -# Makefile target for installing gas in $(tooldir)/bin.
46823 -install_tooldir=install-exec-tooldir
46824
46825 -canon_targets=""
46826 -all_targets=no
46827 -if test -n "$enable_targets" ; then
46828 - for t in `echo $enable_targets | sed 's/,/ /g'`; do
46829 - if test $t = "all"; then
46830 - all_targets=yes
46831 - continue
46832 - fi
46833 - result=`$ac_config_sub $t 2>/dev/null`
46834 - if test -n "$result" ; then
46835 - canon_targets="$canon_targets $result"
46836 -# else
46837 -# # Permit "all", etc. We don't support it yet though.
46838 -# canon_targets="$canon_targets $t"
46839 +{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
46840 +echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
46841 +if test "${ac_cv_path_GREP+set}" = set; then
46842 + echo $ECHO_N "(cached) $ECHO_C" >&6
46843 +else
46844 + # Extract the first word of "grep ggrep" to use in msg output
46845 +if test -z "$GREP"; then
46846 +set dummy grep ggrep; ac_prog_name=$2
46847 +if test "${ac_cv_path_GREP+set}" = set; then
46848 + echo $ECHO_N "(cached) $ECHO_C" >&6
46849 +else
46850 + ac_path_GREP_found=false
46851 +# Loop through the user's path and test for each of PROGNAME-LIST
46852 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46853 +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
46854 +do
46855 + IFS=$as_save_IFS
46856 + test -z "$as_dir" && as_dir=.
46857 + for ac_prog in grep ggrep; do
46858 + for ac_exec_ext in '' $ac_executable_extensions; do
46859 + ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
46860 + { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
46861 + # Check for GNU ac_path_GREP and select it if it is found.
46862 + # Check for GNU $ac_path_GREP
46863 +case `"$ac_path_GREP" --version 2>&1` in
46864 +*GNU*)
46865 + ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
46866 +*)
46867 + ac_count=0
46868 + echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
46869 + while :
46870 + do
46871 + cat "conftest.in" "conftest.in" >"conftest.tmp"
46872 + mv "conftest.tmp" "conftest.in"
46873 + cp "conftest.in" "conftest.nl"
46874 + echo 'GREP' >> "conftest.nl"
46875 + "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
46876 + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
46877 + ac_count=`expr $ac_count + 1`
46878 + if test $ac_count -gt ${ac_path_GREP_max-0}; then
46879 + # Best one so far, save it but keep looking for a better one
46880 + ac_cv_path_GREP="$ac_path_GREP"
46881 + ac_path_GREP_max=$ac_count
46882 fi
46883 + # 10*(2^10) chars as input seems more than enough
46884 + test $ac_count -gt 10 && break
46885 + done
46886 + rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
46887 +esac
46888 +
46889 +
46890 + $ac_path_GREP_found && break 3
46891 done
46892 - _gas_uniq_list="$canon_targets"
46893 -_gas_uniq_newlist=""
46894 -for _gas_uniq_i in _gas_uniq_dummy $_gas_uniq_list ; do
46895 - case $_gas_uniq_i in
46896 - _gas_uniq_dummy) ;;
46897 - *) case " $_gas_uniq_newlist " in
46898 - *" $_gas_uniq_i "*) ;;
46899 - *) _gas_uniq_newlist="$_gas_uniq_newlist $_gas_uniq_i" ;;
46900 - esac ;;
46901 - esac
46902 done
46903 -canon_targets=$_gas_uniq_newlist
46904
46905 -fi
46906 +done
46907 +IFS=$as_save_IFS
46908
46909 -emulations=""
46910
46911 -for this_target in $target $canon_targets ; do
46912 +fi
46913
46914 - targ=${this_target}
46915 - . ${srcdir}/configure.tgt
46916 +GREP="$ac_cv_path_GREP"
46917 +if test -z "$GREP"; then
46918 + { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
46919 +echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
46920 + { (exit 1); exit 1; }; }
46921 +fi
46922
46923 - case ${target_cpu} in
46924 - crisv32)
46925 +else
46926 + ac_cv_path_GREP=$GREP
46927 +fi
46928
46929 -cat >>confdefs.h <<_ACEOF
46930 -#define DEFAULT_CRIS_ARCH $arch
46931 -_ACEOF
46932
46933 - ;;
46934 - esac
46935 +fi
46936 +{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
46937 +echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
46938 + GREP="$ac_cv_path_GREP"
46939
46940 - if test ${this_target} = $target ; then
46941 - target_cpu_type=${cpu_type}
46942 - elif test ${target_cpu_type} != ${cpu_type} ; then
46943 - continue
46944 +
46945 +{ echo "$as_me:$LINENO: checking for egrep" >&5
46946 +echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
46947 +if test "${ac_cv_path_EGREP+set}" = set; then
46948 + echo $ECHO_N "(cached) $ECHO_C" >&6
46949 +else
46950 + if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
46951 + then ac_cv_path_EGREP="$GREP -E"
46952 + else
46953 + # Extract the first word of "egrep" to use in msg output
46954 +if test -z "$EGREP"; then
46955 +set dummy egrep; ac_prog_name=$2
46956 +if test "${ac_cv_path_EGREP+set}" = set; then
46957 + echo $ECHO_N "(cached) $ECHO_C" >&6
46958 +else
46959 + ac_path_EGREP_found=false
46960 +# Loop through the user's path and test for each of PROGNAME-LIST
46961 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46962 +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
46963 +do
46964 + IFS=$as_save_IFS
46965 + test -z "$as_dir" && as_dir=.
46966 + for ac_prog in egrep; do
46967 + for ac_exec_ext in '' $ac_executable_extensions; do
46968 + ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
46969 + { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
46970 + # Check for GNU ac_path_EGREP and select it if it is found.
46971 + # Check for GNU $ac_path_EGREP
46972 +case `"$ac_path_EGREP" --version 2>&1` in
46973 +*GNU*)
46974 + ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
46975 +*)
46976 + ac_count=0
46977 + echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
46978 + while :
46979 + do
46980 + cat "conftest.in" "conftest.in" >"conftest.tmp"
46981 + mv "conftest.tmp" "conftest.in"
46982 + cp "conftest.in" "conftest.nl"
46983 + echo 'EGREP' >> "conftest.nl"
46984 + "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
46985 + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
46986 + ac_count=`expr $ac_count + 1`
46987 + if test $ac_count -gt ${ac_path_EGREP_max-0}; then
46988 + # Best one so far, save it but keep looking for a better one
46989 + ac_cv_path_EGREP="$ac_path_EGREP"
46990 + ac_path_EGREP_max=$ac_count
46991 fi
46992 + # 10*(2^10) chars as input seems more than enough
46993 + test $ac_count -gt 10 && break
46994 + done
46995 + rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
46996 +esac
46997
46998 - generic_target=${cpu_type}-${target_vendor}-${target_os}
46999 - case ${generic_target} in
47000 - i386-*-sco3.2v5*)
47001 - if test ${this_target} = $target; then
47002
47003 -cat >>confdefs.h <<\_ACEOF
47004 -#define SCO_ELF 1
47005 -_ACEOF
47006 + $ac_path_EGREP_found && break 3
47007 + done
47008 +done
47009
47010 - fi
47011 - ;;
47012 +done
47013 +IFS=$as_save_IFS
47014
47015 - i386-*-msdosdjgpp* \
47016 - | i386-*-go32* \
47017 - | i386-go32-rtems*)
47018
47019 -cat >>confdefs.h <<\_ACEOF
47020 -#define STRICTCOFF 1
47021 -_ACEOF
47022 +fi
47023
47024 - ;;
47025 +EGREP="$ac_cv_path_EGREP"
47026 +if test -z "$EGREP"; then
47027 + { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
47028 +echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
47029 + { (exit 1); exit 1; }; }
47030 +fi
47031
47032 - i860-*-*)
47033 - { echo "$as_me:$LINENO: WARNING: GAS support for ${generic_target} is preliminary and a work in progress" >&5
47034 -echo "$as_me: WARNING: GAS support for ${generic_target} is preliminary and a work in progress" >&2;}
47035 - ;;
47036 +else
47037 + ac_cv_path_EGREP=$EGREP
47038 +fi
47039
47040 - mips-sony-bsd*)
47041 - ;;
47042 - mips-*-bsd*)
47043 - { { echo "$as_me:$LINENO: error: Unknown vendor for mips-bsd configuration." >&5
47044 -echo "$as_me: error: Unknown vendor for mips-bsd configuration." >&2;}
47045 - { (exit 1); exit 1; }; }
47046 - ;;
47047
47048 - ppc-*-aix5.*)
47049 + fi
47050 +fi
47051 +{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
47052 +echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
47053 + EGREP="$ac_cv_path_EGREP"
47054
47055 -cat >>confdefs.h <<\_ACEOF
47056 -#define AIX_WEAK_SUPPORT 1
47057 +
47058 +{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
47059 +echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
47060 +if test "${ac_cv_header_stdc+set}" = set; then
47061 + echo $ECHO_N "(cached) $ECHO_C" >&6
47062 +else
47063 + cat >conftest.$ac_ext <<_ACEOF
47064 +/* confdefs.h. */
47065 _ACEOF
47066 +cat confdefs.h >>conftest.$ac_ext
47067 +cat >>conftest.$ac_ext <<_ACEOF
47068 +/* end confdefs.h. */
47069 +#include <stdlib.h>
47070 +#include <stdarg.h>
47071 +#include <string.h>
47072 +#include <float.h>
47073
47074 - ;;
47075 - ppc-*-linux-*)
47076 - case "$endian" in
47077 - big) ;;
47078 - *) { { echo "$as_me:$LINENO: error: GNU/Linux must be configured big endian" >&5
47079 -echo "$as_me: error: GNU/Linux must be configured big endian" >&2;}
47080 - { (exit 1); exit 1; }; } ;;
47081 - esac
47082 - ;;
47083 - ppc-*-solaris*)
47084 - if test ${this_target} = $target; then
47085 +int
47086 +main ()
47087 +{
47088
47089 -cat >>confdefs.h <<\_ACEOF
47090 -#define TARGET_SOLARIS_COMMENT 1
47091 + ;
47092 + return 0;
47093 +}
47094 _ACEOF
47095 +rm -f conftest.$ac_objext
47096 +if { (ac_try="$ac_compile"
47097 +case "(($ac_try" in
47098 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47099 + *) ac_try_echo=$ac_try;;
47100 +esac
47101 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47102 + (eval "$ac_compile") 2>conftest.er1
47103 + ac_status=$?
47104 + grep -v '^ *+' conftest.er1 >conftest.err
47105 + rm -f conftest.er1
47106 + cat conftest.err >&5
47107 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
47108 + (exit $ac_status); } && {
47109 + test -z "$ac_c_werror_flag" ||
47110 + test ! -s conftest.err
47111 + } && test -s conftest.$ac_objext; then
47112 + ac_cv_header_stdc=yes
47113 +else
47114 + echo "$as_me: failed program was:" >&5
47115 +sed 's/^/| /' conftest.$ac_ext >&5
47116
47117 - fi
47118 - if test x${endian} = xbig; then
47119 - { { echo "$as_me:$LINENO: error: Solaris must be configured little endian" >&5
47120 -echo "$as_me: error: Solaris must be configured little endian" >&2;}
47121 - { (exit 1); exit 1; }; }
47122 - fi
47123 - ;;
47124 + ac_cv_header_stdc=no
47125 +fi
47126
47127 - sh*-*-symbianelf*)
47128 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47129
47130 -cat >>confdefs.h <<\_ACEOF
47131 -#define TARGET_SYMBIAN 1
47132 +if test $ac_cv_header_stdc = yes; then
47133 + # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
47134 + cat >conftest.$ac_ext <<_ACEOF
47135 +/* confdefs.h. */
47136 _ACEOF
47137 +cat confdefs.h >>conftest.$ac_ext
47138 +cat >>conftest.$ac_ext <<_ACEOF
47139 +/* end confdefs.h. */
47140 +#include <string.h>
47141
47142 - ;;
47143 - esac
47144 +_ACEOF
47145 +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
47146 + $EGREP "memchr" >/dev/null 2>&1; then
47147 + :
47148 +else
47149 + ac_cv_header_stdc=no
47150 +fi
47151 +rm -f conftest*
47152
47153 - if test ${this_target} = $target ; then
47154 - endian_def=
47155 - if test x${endian} = xbig; then
47156 - endian_def=1
47157 - elif test x${endian} = xlittle; then
47158 - endian_def=0
47159 - fi
47160 - if test x${endian_def} != x; then
47161 +fi
47162
47163 -cat >>confdefs.h <<_ACEOF
47164 -#define TARGET_BYTES_BIG_ENDIAN $endian_def
47165 +if test $ac_cv_header_stdc = yes; then
47166 + # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
47167 + cat >conftest.$ac_ext <<_ACEOF
47168 +/* confdefs.h. */
47169 _ACEOF
47170 +cat confdefs.h >>conftest.$ac_ext
47171 +cat >>conftest.$ac_ext <<_ACEOF
47172 +/* end confdefs.h. */
47173 +#include <stdlib.h>
47174
47175 - fi
47176 - fi
47177 +_ACEOF
47178 +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
47179 + $EGREP "free" >/dev/null 2>&1; then
47180 + :
47181 +else
47182 + ac_cv_header_stdc=no
47183 +fi
47184 +rm -f conftest*
47185
47186 -# Other random stuff.
47187 +fi
47188
47189 - case ${cpu_type} in
47190 - mips)
47191 - # Set mips_cpu to the name of the default CPU.
47192 - case ${target_cpu} in
47193 - mips | mipsbe | mipseb | mipsle | mipsel | mips64 | mips64el)
47194 - mips_cpu=from-abi
47195 - ;;
47196 - mipsisa32 | mipsisa32el)
47197 - mips_cpu=mips32
47198 - ;;
47199 - mipsisa32r2 | mipsisa32r2el)
47200 - mips_cpu=mips32r2
47201 - ;;
47202 - mipsisa64 | mipsisa64el)
47203 - mips_cpu=mips64
47204 - ;;
47205 - mipsisa64r2 | mipsisa64r2el)
47206 - mips_cpu=mips64r2
47207 - ;;
47208 - mipstx39 | mipstx39el)
47209 - mips_cpu=r3900
47210 - ;;
47211 - mips64vr | mips64vrel)
47212 - mips_cpu=vr4100
47213 - ;;
47214 - mipsisa32r2* | mipsisa64r2*)
47215 - mips_cpu=`echo $target_cpu | sed -e 's/[a-z]*..r2//' -e 's/el$//'`
47216 - ;;
47217 - mips64* | mipsisa64* | mipsisa32*)
47218 - mips_cpu=`echo $target_cpu | sed -e 's/[a-z]*..//' -e 's/el$//'`
47219 - ;;
47220 - *)
47221 - { { echo "$as_me:$LINENO: error: $target_cpu isn't a supported MIPS CPU name" >&5
47222 -echo "$as_me: error: $target_cpu isn't a supported MIPS CPU name" >&2;}
47223 - { (exit 1); exit 1; }; }
47224 - ;;
47225 - esac
47226 - # See whether it's appropriate to set E_MIPS_ABI_O32 for o32
47227 - # binaries. It's a GNU extension that some OSes don't understand.
47228 - # The value only matters on ELF targets.
47229 - case ${target} in
47230 - *-*-irix*)
47231 - use_e_mips_abi_o32=0
47232 - ;;
47233 - *)
47234 - use_e_mips_abi_o32=1
47235 - ;;
47236 - esac
47237 - # Decide whether to generate 32-bit or 64-bit code by default.
47238 - # Used to resolve -march=from-abi when an embedded ABI is selected.
47239 - case ${target} in
47240 - mips64*-*-* | mipsisa64*-*-*)
47241 - mips_default_64bit=1
47242 - ;;
47243 - *)
47244 - mips_default_64bit=0
47245 - ;;
47246 - esac
47247 - # Decide which ABI to target by default.
47248 - case ${target} in
47249 - mips64*-linux* | mips-sgi-irix6*)
47250 - mips_default_abi=N32_ABI
47251 - ;;
47252 - mips*-linux*)
47253 - mips_default_abi=O32_ABI
47254 - ;;
47255 - mips64*-openbsd*)
47256 - mips_default_abi=N64_ABI
47257 - ;;
47258 - *)
47259 - mips_default_abi=NO_ABI
47260 - ;;
47261 - esac
47262 +if test $ac_cv_header_stdc = yes; then
47263 + # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
47264 + if test "$cross_compiling" = yes; then
47265 + :
47266 +else
47267 + cat >conftest.$ac_ext <<_ACEOF
47268 +/* confdefs.h. */
47269 +_ACEOF
47270 +cat confdefs.h >>conftest.$ac_ext
47271 +cat >>conftest.$ac_ext <<_ACEOF
47272 +/* end confdefs.h. */
47273 +#include <ctype.h>
47274 +#include <stdlib.h>
47275 +#if ((' ' & 0x0FF) == 0x020)
47276 +# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
47277 +# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
47278 +#else
47279 +# define ISLOWER(c) \
47280 + (('a' <= (c) && (c) <= 'i') \
47281 + || ('j' <= (c) && (c) <= 'r') \
47282 + || ('s' <= (c) && (c) <= 'z'))
47283 +# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
47284 +#endif
47285
47286 -cat >>confdefs.h <<_ACEOF
47287 -#define MIPS_CPU_STRING_DEFAULT "$mips_cpu"
47288 +#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
47289 +int
47290 +main ()
47291 +{
47292 + int i;
47293 + for (i = 0; i < 256; i++)
47294 + if (XOR (islower (i), ISLOWER (i))
47295 + || toupper (i) != TOUPPER (i))
47296 + return 2;
47297 + return 0;
47298 +}
47299 _ACEOF
47300 +rm -f conftest$ac_exeext
47301 +if { (ac_try="$ac_link"
47302 +case "(($ac_try" in
47303 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47304 + *) ac_try_echo=$ac_try;;
47305 +esac
47306 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47307 + (eval "$ac_link") 2>&5
47308 + ac_status=$?
47309 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
47310 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
47311 + { (case "(($ac_try" in
47312 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47313 + *) ac_try_echo=$ac_try;;
47314 +esac
47315 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47316 + (eval "$ac_try") 2>&5
47317 + ac_status=$?
47318 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
47319 + (exit $ac_status); }; }; then
47320 + :
47321 +else
47322 + echo "$as_me: program exited with status $ac_status" >&5
47323 +echo "$as_me: failed program was:" >&5
47324 +sed 's/^/| /' conftest.$ac_ext >&5
47325
47326 +( exit $ac_status )
47327 +ac_cv_header_stdc=no
47328 +fi
47329 +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
47330 +fi
47331
47332 -cat >>confdefs.h <<_ACEOF
47333 -#define USE_E_MIPS_ABI_O32 $use_e_mips_abi_o32
47334 -_ACEOF
47335
47336 +fi
47337 +fi
47338 +{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
47339 +echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
47340 +if test $ac_cv_header_stdc = yes; then
47341
47342 -cat >>confdefs.h <<_ACEOF
47343 -#define MIPS_DEFAULT_64BIT $mips_default_64bit
47344 +cat >>confdefs.h <<\_ACEOF
47345 +#define STDC_HEADERS 1
47346 _ACEOF
47347
47348 +fi
47349
47350 -cat >>confdefs.h <<_ACEOF
47351 -#define MIPS_DEFAULT_ABI $mips_default_abi
47352 -_ACEOF
47353 +# On IRIX 5.3, sys/types and inttypes.h are conflicting.
47354
47355 - ;;
47356 - esac
47357
47358 - # Do we need the opcodes library?
47359 - case ${cpu_type} in
47360 - vax | i386 | tic30)
47361 - ;;
47362
47363 - *)
47364 - need_opcodes=yes
47365
47366 - case "${enable_shared}" in
47367 - yes) shared_opcodes=true ;;
47368 - *opcodes*) shared_opcodes=true ;;
47369 - *) shared_opcodes=false ;;
47370 - esac
47371 - ;;
47372 - esac
47373
47374 - # Any other special object files needed ?
47375 - case ${cpu_type} in
47376
47377 - bfin)
47378 - echo ${extra_objects} | grep -s "bfin-parse.o"
47379 - if test $? -ne 0 ; then
47380 - extra_objects="$extra_objects bfin-parse.o"
47381 - fi
47382
47383 - echo ${extra_objects} | grep -s "bfin-lex.o"
47384 - if test $? -ne 0 ; then
47385 - extra_objects="$extra_objects bfin-lex.o"
47386 - fi
47387 - ;;
47388
47389 - fr30 | ip2k | iq2000 | m32r | openrisc)
47390 - using_cgen=yes
47391 - ;;
47392
47393 - m32c)
47394 - using_cgen=yes
47395 - ;;
47396 - frv)
47397 - using_cgen=yes
47398 - ;;
47399 - m68k)
47400 - case ${extra_objects} in
47401 - *m68k-parse.o*) ;;
47402 - *) extra_objects="$extra_objects m68k-parse.o" ;;
47403 - esac
47404 - ;;
47405 +for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
47406 + inttypes.h stdint.h unistd.h
47407 +do
47408 +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
47409 +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
47410 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
47411 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
47412 + echo $ECHO_N "(cached) $ECHO_C" >&6
47413 +else
47414 + cat >conftest.$ac_ext <<_ACEOF
47415 +/* confdefs.h. */
47416 +_ACEOF
47417 +cat confdefs.h >>conftest.$ac_ext
47418 +cat >>conftest.$ac_ext <<_ACEOF
47419 +/* end confdefs.h. */
47420 +$ac_includes_default
47421
47422 - mips)
47423 - echo ${extra_objects} | grep -s "itbl-parse.o"
47424 - if test $? -ne 0 ; then
47425 - extra_objects="$extra_objects itbl-parse.o"
47426 - fi
47427 +#include <$ac_header>
47428 +_ACEOF
47429 +rm -f conftest.$ac_objext
47430 +if { (ac_try="$ac_compile"
47431 +case "(($ac_try" in
47432 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47433 + *) ac_try_echo=$ac_try;;
47434 +esac
47435 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47436 + (eval "$ac_compile") 2>conftest.er1
47437 + ac_status=$?
47438 + grep -v '^ *+' conftest.er1 >conftest.err
47439 + rm -f conftest.er1
47440 + cat conftest.err >&5
47441 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
47442 + (exit $ac_status); } && {
47443 + test -z "$ac_c_werror_flag" ||
47444 + test ! -s conftest.err
47445 + } && test -s conftest.$ac_objext; then
47446 + eval "$as_ac_Header=yes"
47447 +else
47448 + echo "$as_me: failed program was:" >&5
47449 +sed 's/^/| /' conftest.$ac_ext >&5
47450
47451 - echo ${extra_objects} | grep -s "itbl-lex.o"
47452 - if test $? -ne 0 ; then
47453 - extra_objects="$extra_objects itbl-lex.o"
47454 - fi
47455 + eval "$as_ac_Header=no"
47456 +fi
47457
47458 - echo ${extra_objects} | grep -s "itbl-ops.o"
47459 - if test $? -ne 0 ; then
47460 - extra_objects="$extra_objects itbl-ops.o"
47461 - fi
47462 - ;;
47463 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47464 +fi
47465 +ac_res=`eval echo '${'$as_ac_Header'}'`
47466 + { echo "$as_me:$LINENO: result: $ac_res" >&5
47467 +echo "${ECHO_T}$ac_res" >&6; }
47468 +if test `eval echo '${'$as_ac_Header'}'` = yes; then
47469 + cat >>confdefs.h <<_ACEOF
47470 +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
47471 +_ACEOF
47472
47473 - mt)
47474 - using_cgen=yes
47475 - ;;
47476 +fi
47477
47478 - i386 | s390 | sparc)
47479 - if test $this_target = $target ; then
47480 +done
47481
47482 -cat >>confdefs.h <<_ACEOF
47483 -#define DEFAULT_ARCH "${arch}"
47484 +
47485 +{ echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
47486 +echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
47487 +if test "${ac_cv_c_bigendian+set}" = set; then
47488 + echo $ECHO_N "(cached) $ECHO_C" >&6
47489 +else
47490 + # See if sys/param.h defines the BYTE_ORDER macro.
47491 +cat >conftest.$ac_ext <<_ACEOF
47492 +/* confdefs.h. */
47493 _ACEOF
47494 +cat confdefs.h >>conftest.$ac_ext
47495 +cat >>conftest.$ac_ext <<_ACEOF
47496 +/* end confdefs.h. */
47497 +#include <sys/types.h>
47498 +#include <sys/param.h>
47499
47500 - fi
47501 - ;;
47502 +int
47503 +main ()
47504 +{
47505 +#if ! (defined BYTE_ORDER && defined BIG_ENDIAN && defined LITTLE_ENDIAN \
47506 + && BYTE_ORDER && BIG_ENDIAN && LITTLE_ENDIAN)
47507 + bogus endian macros
47508 +#endif
47509
47510 - xstormy16)
47511 - using_cgen=yes
47512 - ;;
47513 + ;
47514 + return 0;
47515 +}
47516 +_ACEOF
47517 +rm -f conftest.$ac_objext
47518 +if { (ac_try="$ac_compile"
47519 +case "(($ac_try" in
47520 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47521 + *) ac_try_echo=$ac_try;;
47522 +esac
47523 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47524 + (eval "$ac_compile") 2>conftest.er1
47525 + ac_status=$?
47526 + grep -v '^ *+' conftest.er1 >conftest.err
47527 + rm -f conftest.er1
47528 + cat conftest.err >&5
47529 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
47530 + (exit $ac_status); } && {
47531 + test -z "$ac_c_werror_flag" ||
47532 + test ! -s conftest.err
47533 + } && test -s conftest.$ac_objext; then
47534 + # It does; now see whether it defined to BIG_ENDIAN or not.
47535 +cat >conftest.$ac_ext <<_ACEOF
47536 +/* confdefs.h. */
47537 +_ACEOF
47538 +cat confdefs.h >>conftest.$ac_ext
47539 +cat >>conftest.$ac_ext <<_ACEOF
47540 +/* end confdefs.h. */
47541 +#include <sys/types.h>
47542 +#include <sys/param.h>
47543
47544 - xc16x)
47545 - using_cgen=yes
47546 - ;;
47547 +int
47548 +main ()
47549 +{
47550 +#if BYTE_ORDER != BIG_ENDIAN
47551 + not big endian
47552 +#endif
47553
47554 - xtensa)
47555 - echo ${extra_objects} | grep -s "xtensa-relax.o"
47556 - if test $? -ne 0 ; then
47557 - extra_objects="$extra_objects xtensa-relax.o"
47558 - fi
47559 - ;;
47560 + ;
47561 + return 0;
47562 +}
47563 +_ACEOF
47564 +rm -f conftest.$ac_objext
47565 +if { (ac_try="$ac_compile"
47566 +case "(($ac_try" in
47567 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47568 + *) ac_try_echo=$ac_try;;
47569 +esac
47570 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47571 + (eval "$ac_compile") 2>conftest.er1
47572 + ac_status=$?
47573 + grep -v '^ *+' conftest.er1 >conftest.err
47574 + rm -f conftest.er1
47575 + cat conftest.err >&5
47576 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
47577 + (exit $ac_status); } && {
47578 + test -z "$ac_c_werror_flag" ||
47579 + test ! -s conftest.err
47580 + } && test -s conftest.$ac_objext; then
47581 + ac_cv_c_bigendian=yes
47582 +else
47583 + echo "$as_me: failed program was:" >&5
47584 +sed 's/^/| /' conftest.$ac_ext >&5
47585
47586 - *)
47587 - ;;
47588 - esac
47589 + ac_cv_c_bigendian=no
47590 +fi
47591
47592 - if test $using_cgen = yes ; then
47593 - case "x${extra_objects}" in
47594 - *cgen.o*) ;;
47595 - *) extra_objects="$extra_objects cgen.o" ;;
47596 - esac
47597 - fi
47598 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47599 +else
47600 + echo "$as_me: failed program was:" >&5
47601 +sed 's/^/| /' conftest.$ac_ext >&5
47602
47603 -# See if we really can support this configuration with the emulation code.
47604 + # It does not; compile a test program.
47605 +if test "$cross_compiling" = yes; then
47606 + # try to guess the endianness by grepping values into an object file
47607 + ac_cv_c_bigendian=unknown
47608 + cat >conftest.$ac_ext <<_ACEOF
47609 +/* confdefs.h. */
47610 +_ACEOF
47611 +cat confdefs.h >>conftest.$ac_ext
47612 +cat >>conftest.$ac_ext <<_ACEOF
47613 +/* end confdefs.h. */
47614 +short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
47615 +short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
47616 +void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
47617 +short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
47618 +short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
47619 +void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
47620 +int
47621 +main ()
47622 +{
47623 + _ascii (); _ebcdic ();
47624 + ;
47625 + return 0;
47626 +}
47627 +_ACEOF
47628 +rm -f conftest.$ac_objext
47629 +if { (ac_try="$ac_compile"
47630 +case "(($ac_try" in
47631 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47632 + *) ac_try_echo=$ac_try;;
47633 +esac
47634 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47635 + (eval "$ac_compile") 2>conftest.er1
47636 + ac_status=$?
47637 + grep -v '^ *+' conftest.er1 >conftest.err
47638 + rm -f conftest.er1
47639 + cat conftest.err >&5
47640 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
47641 + (exit $ac_status); } && {
47642 + test -z "$ac_c_werror_flag" ||
47643 + test ! -s conftest.err
47644 + } && test -s conftest.$ac_objext; then
47645 + if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
47646 + ac_cv_c_bigendian=yes
47647 +fi
47648 +if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
47649 + if test "$ac_cv_c_bigendian" = unknown; then
47650 + ac_cv_c_bigendian=no
47651 + else
47652 + # finding both strings is unlikely to happen, but who knows?
47653 + ac_cv_c_bigendian=unknown
47654 + fi
47655 +fi
47656 +else
47657 + echo "$as_me: failed program was:" >&5
47658 +sed 's/^/| /' conftest.$ac_ext >&5
47659
47660 - if test $this_target = $target ; then
47661 - obj_format=$fmt
47662 - te_file=$em
47663 - fi
47664
47665 -# From target name and format, produce a list of supported emulations.
47666 +fi
47667
47668 - case ${generic_target}-${fmt} in
47669 - mips-*-irix5*-*) emulation="mipsbelf mipslelf mipself mipsbecoff mipslecoff mipsecoff" ;;
47670 - mips*-*-linux*-*) case "$endian" in
47671 - big) emulation="mipsbelf mipslelf mipself" ;;
47672 - *) emulation="mipslelf mipsbelf mipself" ;;
47673 - esac ;;
47674 - mips-*-lnews*-ecoff) ;;
47675 - mips-*-*-ecoff) case "$endian" in
47676 - big) emulation="mipsbecoff mipslecoff mipsecoff" ;;
47677 - *) emulation="mipslecoff mipsbecoff mipsecoff" ;;
47678 - esac ;;
47679 - mips-*-*-elf) case "$endian" in
47680 - big) emulation="mipsbelf mipslelf mipself" ;;
47681 - *) emulation="mipslelf mipsbelf mipself" ;;
47682 - esac ;;
47683 - mips-*-sysv4*MP*-*) emulation="mipsbelf mipslelf mipself mipsbecoff mipslecoff mipsecoff" ;;
47684 - # i386-pc-pe-coff != i386-pc-coff.
47685 - i386-*-pe-coff) ;;
47686 - # Uncommenting the next line will turn on support for i386 AOUT
47687 - # for the default linux configuration
47688 - # i386-*-linux*-elf) emulation="i386elf i386aout" ;;
47689 - #
47690 - i386-*-aout) emulation="i386aout" ;;
47691 - i386-*-coff) emulation="i386coff" ;;
47692 - i386-*-elf) emulation="i386elf" ;;
47693 -
47694 - # Always all formats. The first stated emulation becomes the default.
47695 - cris-*-*aout*) emulation="crisaout criself" ;;
47696 - cris-*-*) emulation="criself crisaout" ;;
47697 - esac
47698 -
47699 - emulations="$emulations $emulation"
47700 -
47701 -done
47702 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47703 +else
47704 + cat >conftest.$ac_ext <<_ACEOF
47705 +/* confdefs.h. */
47706 +_ACEOF
47707 +cat confdefs.h >>conftest.$ac_ext
47708 +cat >>conftest.$ac_ext <<_ACEOF
47709 +/* end confdefs.h. */
47710 +$ac_includes_default
47711 +int
47712 +main ()
47713 +{
47714
47715 -# Turn on all targets if possible
47716 -if test ${all_targets} = "yes"; then
47717 - case ${target_cpu_type} in
47718 - i386)
47719 - case ${obj_format} in
47720 - aout)
47721 - emulations="$emulations i386coff i386elf"
47722 - ;;
47723 - coff)
47724 - emulations="$emulations i386aout i386elf"
47725 - ;;
47726 - elf)
47727 - emulations="$emulations i386aout i386coff"
47728 - ;;
47729 - esac
47730 - ;;
47731 - esac
47732 -fi
47733 + /* Are we little or big endian? From Harbison&Steele. */
47734 + union
47735 + {
47736 + long int l;
47737 + char c[sizeof (long int)];
47738 + } u;
47739 + u.l = 1;
47740 + return u.c[sizeof (long int) - 1] == 1;
47741
47742 -# Assign floating point type. Most processors with FP support
47743 -# IEEE FP. On those that don't support FP at all, usually IEEE
47744 -# is emulated.
47745 -case ${target_cpu} in
47746 - vax | tahoe ) atof=${target_cpu} ;;
47747 - pdp11) atof=vax ;;
47748 - *) atof=ieee ;;
47749 + ;
47750 + return 0;
47751 +}
47752 +_ACEOF
47753 +rm -f conftest$ac_exeext
47754 +if { (ac_try="$ac_link"
47755 +case "(($ac_try" in
47756 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47757 + *) ac_try_echo=$ac_try;;
47758 esac
47759 -
47760 -case "${obj_format}" in
47761 - "") { { echo "$as_me:$LINENO: error: GAS does not know what format to use for target ${target}" >&5
47762 -echo "$as_me: error: GAS does not know what format to use for target ${target}" >&2;}
47763 - { (exit 1); exit 1; }; } ;;
47764 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47765 + (eval "$ac_link") 2>&5
47766 + ac_status=$?
47767 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
47768 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
47769 + { (case "(($ac_try" in
47770 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47771 + *) ac_try_echo=$ac_try;;
47772 esac
47773 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47774 + (eval "$ac_try") 2>&5
47775 + ac_status=$?
47776 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
47777 + (exit $ac_status); }; }; then
47778 + ac_cv_c_bigendian=no
47779 +else
47780 + echo "$as_me: program exited with status $ac_status" >&5
47781 +echo "$as_me: failed program was:" >&5
47782 +sed 's/^/| /' conftest.$ac_ext >&5
47783
47784 -# Unfortunately the cpu in cpu-opc.h file isn't always $(TARGET_CPU).
47785 -cgen_cpu_prefix=""
47786 -if test $using_cgen = yes ; then
47787 - case ${target_cpu} in
47788 - *) cgen_cpu_prefix=${target_cpu} ;;
47789 - esac
47790 -
47791 -
47792 -cat >>confdefs.h <<\_ACEOF
47793 -#define USING_CGEN 1
47794 -_ACEOF
47795 -
47796 +( exit $ac_status )
47797 +ac_cv_c_bigendian=yes
47798 +fi
47799 +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
47800 fi
47801
47802
47803 -if test ! -r ${srcdir}/config/tc-${target_cpu_type}.c; then
47804 - { { echo "$as_me:$LINENO: error: GAS does not support target CPU ${target_cpu_type}" >&5
47805 -echo "$as_me: error: GAS does not support target CPU ${target_cpu_type}" >&2;}
47806 - { (exit 1); exit 1; }; }
47807 fi
47808
47809 -if test ! -r ${srcdir}/config/obj-${obj_format}.c; then
47810 - { { echo "$as_me:$LINENO: error: GAS does not have support for object file format ${obj_format}" >&5
47811 -echo "$as_me: error: GAS does not have support for object file format ${obj_format}" >&2;}
47812 - { (exit 1); exit 1; }; }
47813 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47814 fi
47815 +{ echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
47816 +echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
47817 +case $ac_cv_c_bigendian in
47818 + yes)
47819
47820 -# Some COFF configurations want these random other flags set.
47821 -case ${obj_format} in
47822 - coff)
47823 - case ${target_cpu_type} in
47824 - i386)
47825 -cat >>confdefs.h <<\_ACEOF
47826 -#define I386COFF 1
47827 -_ACEOF
47828 - ;;
47829 - m68k)
47830 -cat >>confdefs.h <<\_ACEOF
47831 -#define M68KCOFF 1
47832 -_ACEOF
47833 - ;;
47834 - m88k)
47835 cat >>confdefs.h <<\_ACEOF
47836 -#define M88KCOFF 1
47837 +#define WORDS_BIGENDIAN 1
47838 _ACEOF
47839 ;;
47840 - esac
47841 - ;;
47842 + no)
47843 + ;;
47844 + *)
47845 + { { echo "$as_me:$LINENO: error: unknown endianness
47846 +presetting ac_cv_c_bigendian=no (or yes) will help" >&5
47847 +echo "$as_me: error: unknown endianness
47848 +presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
47849 + { (exit 1); exit 1; }; } ;;
47850 esac
47851
47852 -# Getting this done right is going to be a bitch. Each configuration specified
47853 -# with --enable-targets=... should be checked for environment, format, cpu
47854 -# setting.
47855 -#
47856 -# For each configuration, the necessary object file support code must be linked
47857 -# in. This might be only one, it might be up to four. The necessary emulation
47858 -# code needs to be provided, too.
47859 -#
47860 -# And then there's "--enable-targets=all"....
47861 -#
47862 -# For now, just always do it for MIPS ELF or ECOFF configurations. Sigh.
47863
47864 -formats="${obj_format}"
47865 -emfiles=""
47866 -EMULATIONS=""
47867 -_gas_uniq_list="$emulations"
47868 -_gas_uniq_newlist=""
47869 -for _gas_uniq_i in _gas_uniq_dummy $_gas_uniq_list ; do
47870 - case $_gas_uniq_i in
47871 - _gas_uniq_dummy) ;;
47872 - *) case " $_gas_uniq_newlist " in
47873 - *" $_gas_uniq_i "*) ;;
47874 - *) _gas_uniq_newlist="$_gas_uniq_newlist $_gas_uniq_i" ;;
47875 - esac ;;
47876 - esac
47877 -done
47878 -emulations=$_gas_uniq_newlist
47879 +te_file=generic
47880
47881 -for em in . $emulations ; do
47882 - case $em in
47883 - .) continue ;;
47884 - mipsbelf | mipslelf | mipself)
47885 - fmt=elf file=mipself ;;
47886 - mipsbecoff | mipslecoff | mipsecoff)
47887 - fmt=ecoff file=mipsecoff ;;
47888 - *coff)
47889 - fmt=coff file=$em ;;
47890 - *aout)
47891 - fmt=aout file=$em ;;
47892 - *elf)
47893 - fmt=elf file=$em ;;
47894 - esac
47895 - formats="$formats $fmt"
47896 - emfiles="$emfiles e-$file.o"
47897 - EMULATIONS="$EMULATIONS &$em,"
47898 -done
47899 -_gas_uniq_list="$formats"
47900 -_gas_uniq_newlist=""
47901 -for _gas_uniq_i in _gas_uniq_dummy $_gas_uniq_list ; do
47902 - case $_gas_uniq_i in
47903 - _gas_uniq_dummy) ;;
47904 - *) case " $_gas_uniq_newlist " in
47905 - *" $_gas_uniq_i "*) ;;
47906 - *) _gas_uniq_newlist="$_gas_uniq_newlist $_gas_uniq_i" ;;
47907 - esac ;;
47908 - esac
47909 -done
47910 -formats=$_gas_uniq_newlist
47911 +# Makefile target for installing gas in $(tooldir)/bin.
47912 +install_tooldir=install-exec-tooldir
47913
47914 -_gas_uniq_list="$emfiles"
47915 +canon_targets=""
47916 +all_targets=no
47917 +if test -n "$enable_targets" ; then
47918 + for t in `echo $enable_targets | sed 's/,/ /g'`; do
47919 + if test $t = "all"; then
47920 + all_targets=yes
47921 + continue
47922 + fi
47923 + result=`$ac_config_sub $t 2>/dev/null`
47924 + if test -n "$result" ; then
47925 + canon_targets="$canon_targets $result"
47926 +# else
47927 +# # Permit "all", etc. We don't support it yet though.
47928 +# canon_targets="$canon_targets $t"
47929 + fi
47930 + done
47931 + _gas_uniq_list="$canon_targets"
47932 _gas_uniq_newlist=""
47933 for _gas_uniq_i in _gas_uniq_dummy $_gas_uniq_list ; do
47934 case $_gas_uniq_i in
47935 @@ -5034,883 +5702,871 @@
47936 esac ;;
47937 esac
47938 done
47939 -emfiles=$_gas_uniq_newlist
47940 +canon_targets=$_gas_uniq_newlist
47941
47942 -if test `set . $formats ; shift ; echo $#` -gt 1 ; then
47943 - for fmt in $formats ; do
47944 - case $fmt in
47945 - aout)
47946 -cat >>confdefs.h <<\_ACEOF
47947 -#define OBJ_MAYBE_AOUT 1
47948 +fi
47949 +
47950 +emulations=""
47951 +
47952 +for this_target in $target $canon_targets ; do
47953 +
47954 + targ=${this_target}
47955 + . ${srcdir}/configure.tgt
47956 +
47957 + case ${target_cpu} in
47958 + crisv32)
47959 +
47960 +cat >>confdefs.h <<_ACEOF
47961 +#define DEFAULT_CRIS_ARCH $arch
47962 _ACEOF
47963 - ;;
47964 - bout)
47965 +
47966 + ;;
47967 + esac
47968 +
47969 + if test ${this_target} = $target ; then
47970 + target_cpu_type=${cpu_type}
47971 + elif test ${target_cpu_type} != ${cpu_type} ; then
47972 + continue
47973 + fi
47974 +
47975 + generic_target=${cpu_type}-${target_vendor}-${target_os}
47976 + case ${generic_target} in
47977 + i386-*-sco3.2v5*)
47978 + if test ${this_target} = $target; then
47979 +
47980 cat >>confdefs.h <<\_ACEOF
47981 -#define OBJ_MAYBE_BOUT 1
47982 +#define SCO_ELF 1
47983 _ACEOF
47984 - ;;
47985 - coff)
47986 +
47987 + fi
47988 + ;;
47989 +
47990 + i386-*-msdosdjgpp* \
47991 + | i386-*-go32* \
47992 + | i386-go32-rtems*)
47993 +
47994 cat >>confdefs.h <<\_ACEOF
47995 -#define OBJ_MAYBE_COFF 1
47996 +#define STRICTCOFF 1
47997 _ACEOF
47998 - ;;
47999 - ecoff)
48000 -cat >>confdefs.h <<\_ACEOF
48001 -#define OBJ_MAYBE_ECOFF 1
48002 -_ACEOF
48003 - ;;
48004 - elf)
48005 -cat >>confdefs.h <<\_ACEOF
48006 -#define OBJ_MAYBE_ELF 1
48007 -_ACEOF
48008 - ;;
48009 - generic)
48010 -cat >>confdefs.h <<\_ACEOF
48011 -#define OBJ_MAYBE_GENERIC 1
48012 -_ACEOF
48013 - ;;
48014 - ieee)
48015 -cat >>confdefs.h <<\_ACEOF
48016 -#define OBJ_MAYBE_IEEE 1
48017 -_ACEOF
48018 - ;;
48019 - som)
48020 -cat >>confdefs.h <<\_ACEOF
48021 -#define OBJ_MAYBE_SOM 1
48022 -_ACEOF
48023 - ;;
48024 - esac
48025 - extra_objects="$extra_objects obj-$fmt.o"
48026 - done
48027 - obj_format=multi
48028 -fi
48029 -if test `set . $emfiles ; shift ; echo $#` -gt 0 ; then
48030 - DEFAULT_EMULATION=`set . $emulations ; echo $2`
48031 - # e-mips* has more than one emulation per file, e-i386* has just one at the
48032 - # moment. If only one emulation is specified, then don't define
48033 - # USE_EMULATIONS or include any of the e-files as they will only be bloat.
48034 - case "${obj_format}${emfiles}" in
48035 - multi* | *mips*)
48036 - extra_objects="$extra_objects $emfiles"
48037
48038 -cat >>confdefs.h <<\_ACEOF
48039 -#define USE_EMULATIONS 1
48040 -_ACEOF
48041 - ;;
48042 - esac
48043 -fi
48044 + ;;
48045
48046 + i860-*-*)
48047 + { echo "$as_me:$LINENO: WARNING: GAS support for ${generic_target} is preliminary and a work in progress" >&5
48048 +echo "$as_me: WARNING: GAS support for ${generic_target} is preliminary and a work in progress" >&2;}
48049 + ;;
48050
48051 -cat >>confdefs.h <<_ACEOF
48052 -#define EMULATIONS $EMULATIONS
48053 -_ACEOF
48054 + mips-sony-bsd*)
48055 + ;;
48056 + mips-*-bsd*)
48057 + { { echo "$as_me:$LINENO: error: Unknown vendor for mips-bsd configuration." >&5
48058 +echo "$as_me: error: Unknown vendor for mips-bsd configuration." >&2;}
48059 + { (exit 1); exit 1; }; }
48060 + ;;
48061
48062 + ppc-*-aix5.*)
48063
48064 -cat >>confdefs.h <<_ACEOF
48065 -#define DEFAULT_EMULATION "$DEFAULT_EMULATION"
48066 +cat >>confdefs.h <<\_ACEOF
48067 +#define AIX_WEAK_SUPPORT 1
48068 _ACEOF
48069
48070 + ;;
48071 + ppc-*-linux-*)
48072 + case "$endian" in
48073 + big) ;;
48074 + *) { { echo "$as_me:$LINENO: error: GNU/Linux must be configured big endian" >&5
48075 +echo "$as_me: error: GNU/Linux must be configured big endian" >&2;}
48076 + { (exit 1); exit 1; }; } ;;
48077 + esac
48078 + ;;
48079 + ppc-*-solaris*)
48080 + if test ${this_target} = $target; then
48081
48082 -reject_dev_configs=yes
48083 +cat >>confdefs.h <<\_ACEOF
48084 +#define TARGET_SOLARIS_COMMENT 1
48085 +_ACEOF
48086
48087 -case ${reject_dev_configs}-${dev} in
48088 - yes-yes) # Oops.
48089 - { { echo "$as_me:$LINENO: error: GAS does not support the ${generic_target} configuration." >&5
48090 -echo "$as_me: error: GAS does not support the ${generic_target} configuration." >&2;}
48091 + fi
48092 + if test x${endian} = xbig; then
48093 + { { echo "$as_me:$LINENO: error: Solaris must be configured little endian" >&5
48094 +echo "$as_me: error: Solaris must be configured little endian" >&2;}
48095 { (exit 1); exit 1; }; }
48096 - ;;
48097 -esac
48098 -
48099 -
48100 -
48101 -
48102 -
48103 -
48104 -
48105 -# do we need the opcodes library?
48106 -case "${need_opcodes}" in
48107 -yes)
48108 - OPCODES_LIB=../opcodes/libopcodes.la
48109 - ;;
48110 -esac
48111 + fi
48112 + ;;
48113
48114 -BFDLIB=../bfd/libbfd.la
48115 -BFDVER_H=../bfd/bfdver.h
48116 -ALL_OBJ_DEPS="$ALL_OBJ_DEPS"' ../bfd/bfd.h $(INCDIR)/symcat.h'
48117 + sh*-*-symbianelf*)
48118
48119 +cat >>confdefs.h <<\_ACEOF
48120 +#define TARGET_SYMBIAN 1
48121 +_ACEOF
48122
48123 + ;;
48124 + esac
48125
48126 + if test ${this_target} = $target ; then
48127 + endian_def=
48128 + if test x${endian} = xbig; then
48129 + endian_def=1
48130 + elif test x${endian} = xlittle; then
48131 + endian_def=0
48132 + fi
48133 + if test x${endian_def} != x; then
48134
48135 +cat >>confdefs.h <<_ACEOF
48136 +#define TARGET_BYTES_BIG_ENDIAN $endian_def
48137 +_ACEOF
48138
48139 + fi
48140 + fi
48141
48142 +# Other random stuff.
48143
48144 + case ${cpu_type} in
48145 + mips)
48146 + # Set mips_cpu to the name of the default CPU.
48147 + case ${target_cpu} in
48148 + mips | mipsbe | mipseb | mipsle | mipsel | mips64 | mips64el)
48149 + mips_cpu=from-abi
48150 + ;;
48151 + mipsisa32 | mipsisa32el)
48152 + mips_cpu=mips32
48153 + ;;
48154 + mipsisa32r2 | mipsisa32r2el)
48155 + mips_cpu=mips32r2
48156 + ;;
48157 + mipsisa64 | mipsisa64el)
48158 + mips_cpu=mips64
48159 + ;;
48160 + mipsisa64r2 | mipsisa64r2el)
48161 + mips_cpu=mips64r2
48162 + ;;
48163 + mipstx39 | mipstx39el)
48164 + mips_cpu=r3900
48165 + ;;
48166 + mips64vr | mips64vrel)
48167 + mips_cpu=vr4100
48168 + ;;
48169 + mipsisa32r2* | mipsisa64r2*)
48170 + mips_cpu=`echo $target_cpu | sed -e 's/[a-z]*..r2//' -e 's/el$//'`
48171 + ;;
48172 + mips64* | mipsisa64* | mipsisa32*)
48173 + mips_cpu=`echo $target_cpu | sed -e 's/[a-z]*..//' -e 's/el$//'`
48174 + ;;
48175 + *)
48176 + { { echo "$as_me:$LINENO: error: $target_cpu isn't a supported MIPS CPU name" >&5
48177 +echo "$as_me: error: $target_cpu isn't a supported MIPS CPU name" >&2;}
48178 + { (exit 1); exit 1; }; }
48179 + ;;
48180 + esac
48181 + # See whether it's appropriate to set E_MIPS_ABI_O32 for o32
48182 + # binaries. It's a GNU extension that some OSes don't understand.
48183 + # The value only matters on ELF targets.
48184 + case ${target} in
48185 + *-*-irix*)
48186 + use_e_mips_abi_o32=0
48187 + ;;
48188 + *)
48189 + use_e_mips_abi_o32=1
48190 + ;;
48191 + esac
48192 + # Decide whether to generate 32-bit or 64-bit code by default.
48193 + # Used to resolve -march=from-abi when an embedded ABI is selected.
48194 + case ${target} in
48195 + mips64*-*-* | mipsisa64*-*-*)
48196 + mips_default_64bit=1
48197 + ;;
48198 + *)
48199 + mips_default_64bit=0
48200 + ;;
48201 + esac
48202 + # Decide which ABI to target by default.
48203 + case ${target} in
48204 + mips64*-linux* | mips-sgi-irix6*)
48205 + mips_default_abi=N32_ABI
48206 + ;;
48207 + mips*-linux*)
48208 + mips_default_abi=O32_ABI
48209 + ;;
48210 + mips64*-openbsd*)
48211 + mips_default_abi=N64_ABI
48212 + ;;
48213 + *)
48214 + mips_default_abi=NO_ABI
48215 + ;;
48216 + esac
48217
48218 cat >>confdefs.h <<_ACEOF
48219 -#define TARGET_ALIAS "${target_alias}"
48220 +#define MIPS_CPU_STRING_DEFAULT "$mips_cpu"
48221 _ACEOF
48222
48223
48224 cat >>confdefs.h <<_ACEOF
48225 -#define TARGET_CANONICAL "${target}"
48226 +#define USE_E_MIPS_ABI_O32 $use_e_mips_abi_o32
48227 _ACEOF
48228
48229
48230 cat >>confdefs.h <<_ACEOF
48231 -#define TARGET_CPU "${target_cpu}"
48232 +#define MIPS_DEFAULT_64BIT $mips_default_64bit
48233 _ACEOF
48234
48235
48236 cat >>confdefs.h <<_ACEOF
48237 -#define TARGET_VENDOR "${target_vendor}"
48238 +#define MIPS_DEFAULT_ABI $mips_default_abi
48239 _ACEOF
48240
48241 + ;;
48242 + esac
48243
48244 -cat >>confdefs.h <<_ACEOF
48245 -#define TARGET_OS "${target_os}"
48246 -_ACEOF
48247 + # Do we need the opcodes library?
48248 + case ${cpu_type} in
48249 + vax | i386 | tic30)
48250 + ;;
48251
48252 + *)
48253 + need_opcodes=yes
48254
48255 -ac_ext=c
48256 -ac_cpp='$CPP $CPPFLAGS'
48257 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48258 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48259 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
48260 -if test -n "$ac_tool_prefix"; then
48261 - # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
48262 -set dummy ${ac_tool_prefix}gcc; ac_word=$2
48263 -echo "$as_me:$LINENO: checking for $ac_word" >&5
48264 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48265 -if test "${ac_cv_prog_CC+set}" = set; then
48266 - echo $ECHO_N "(cached) $ECHO_C" >&6
48267 -else
48268 - if test -n "$CC"; then
48269 - ac_cv_prog_CC="$CC" # Let the user override the test.
48270 -else
48271 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48272 -for as_dir in $PATH
48273 -do
48274 - IFS=$as_save_IFS
48275 - test -z "$as_dir" && as_dir=.
48276 - for ac_exec_ext in '' $ac_executable_extensions; do
48277 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48278 - ac_cv_prog_CC="${ac_tool_prefix}gcc"
48279 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48280 - break 2
48281 - fi
48282 -done
48283 -done
48284 + case "${enable_shared}" in
48285 + yes) shared_opcodes=true ;;
48286 + *opcodes*) shared_opcodes=true ;;
48287 + *) shared_opcodes=false ;;
48288 + esac
48289 + ;;
48290 + esac
48291
48292 -fi
48293 -fi
48294 -CC=$ac_cv_prog_CC
48295 -if test -n "$CC"; then
48296 - echo "$as_me:$LINENO: result: $CC" >&5
48297 -echo "${ECHO_T}$CC" >&6
48298 -else
48299 - echo "$as_me:$LINENO: result: no" >&5
48300 -echo "${ECHO_T}no" >&6
48301 -fi
48302 + # Any other special object files needed ?
48303 + case ${cpu_type} in
48304
48305 -fi
48306 -if test -z "$ac_cv_prog_CC"; then
48307 - ac_ct_CC=$CC
48308 - # Extract the first word of "gcc", so it can be a program name with args.
48309 -set dummy gcc; ac_word=$2
48310 -echo "$as_me:$LINENO: checking for $ac_word" >&5
48311 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48312 -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
48313 - echo $ECHO_N "(cached) $ECHO_C" >&6
48314 -else
48315 - if test -n "$ac_ct_CC"; then
48316 - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
48317 -else
48318 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48319 -for as_dir in $PATH
48320 -do
48321 - IFS=$as_save_IFS
48322 - test -z "$as_dir" && as_dir=.
48323 - for ac_exec_ext in '' $ac_executable_extensions; do
48324 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48325 - ac_cv_prog_ac_ct_CC="gcc"
48326 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48327 - break 2
48328 - fi
48329 -done
48330 -done
48331 + bfin)
48332 + echo ${extra_objects} | grep -s "bfin-parse.o"
48333 + if test $? -ne 0 ; then
48334 + extra_objects="$extra_objects bfin-parse.o"
48335 + fi
48336
48337 -fi
48338 -fi
48339 -ac_ct_CC=$ac_cv_prog_ac_ct_CC
48340 -if test -n "$ac_ct_CC"; then
48341 - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
48342 -echo "${ECHO_T}$ac_ct_CC" >&6
48343 -else
48344 - echo "$as_me:$LINENO: result: no" >&5
48345 -echo "${ECHO_T}no" >&6
48346 -fi
48347 + echo ${extra_objects} | grep -s "bfin-lex.o"
48348 + if test $? -ne 0 ; then
48349 + extra_objects="$extra_objects bfin-lex.o"
48350 + fi
48351 + ;;
48352
48353 - CC=$ac_ct_CC
48354 -else
48355 - CC="$ac_cv_prog_CC"
48356 -fi
48357 + fr30 | ip2k | iq2000 | m32r | openrisc)
48358 + using_cgen=yes
48359 + ;;
48360
48361 -if test -z "$CC"; then
48362 - if test -n "$ac_tool_prefix"; then
48363 - # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
48364 -set dummy ${ac_tool_prefix}cc; ac_word=$2
48365 -echo "$as_me:$LINENO: checking for $ac_word" >&5
48366 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48367 -if test "${ac_cv_prog_CC+set}" = set; then
48368 - echo $ECHO_N "(cached) $ECHO_C" >&6
48369 -else
48370 - if test -n "$CC"; then
48371 - ac_cv_prog_CC="$CC" # Let the user override the test.
48372 -else
48373 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48374 -for as_dir in $PATH
48375 -do
48376 - IFS=$as_save_IFS
48377 - test -z "$as_dir" && as_dir=.
48378 - for ac_exec_ext in '' $ac_executable_extensions; do
48379 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48380 - ac_cv_prog_CC="${ac_tool_prefix}cc"
48381 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48382 - break 2
48383 - fi
48384 -done
48385 -done
48386 + m32c)
48387 + using_cgen=yes
48388 + ;;
48389 + frv)
48390 + using_cgen=yes
48391 + ;;
48392 + m68k)
48393 + case ${extra_objects} in
48394 + *m68k-parse.o*) ;;
48395 + *) extra_objects="$extra_objects m68k-parse.o" ;;
48396 + esac
48397 + ;;
48398
48399 -fi
48400 -fi
48401 -CC=$ac_cv_prog_CC
48402 -if test -n "$CC"; then
48403 - echo "$as_me:$LINENO: result: $CC" >&5
48404 -echo "${ECHO_T}$CC" >&6
48405 -else
48406 - echo "$as_me:$LINENO: result: no" >&5
48407 -echo "${ECHO_T}no" >&6
48408 -fi
48409 + mips)
48410 + echo ${extra_objects} | grep -s "itbl-parse.o"
48411 + if test $? -ne 0 ; then
48412 + extra_objects="$extra_objects itbl-parse.o"
48413 + fi
48414
48415 -fi
48416 -if test -z "$ac_cv_prog_CC"; then
48417 - ac_ct_CC=$CC
48418 - # Extract the first word of "cc", so it can be a program name with args.
48419 -set dummy cc; ac_word=$2
48420 -echo "$as_me:$LINENO: checking for $ac_word" >&5
48421 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48422 -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
48423 - echo $ECHO_N "(cached) $ECHO_C" >&6
48424 -else
48425 - if test -n "$ac_ct_CC"; then
48426 - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
48427 -else
48428 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48429 -for as_dir in $PATH
48430 -do
48431 - IFS=$as_save_IFS
48432 - test -z "$as_dir" && as_dir=.
48433 - for ac_exec_ext in '' $ac_executable_extensions; do
48434 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48435 - ac_cv_prog_ac_ct_CC="cc"
48436 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48437 - break 2
48438 - fi
48439 -done
48440 -done
48441 + echo ${extra_objects} | grep -s "itbl-lex.o"
48442 + if test $? -ne 0 ; then
48443 + extra_objects="$extra_objects itbl-lex.o"
48444 + fi
48445
48446 -fi
48447 -fi
48448 -ac_ct_CC=$ac_cv_prog_ac_ct_CC
48449 -if test -n "$ac_ct_CC"; then
48450 - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
48451 -echo "${ECHO_T}$ac_ct_CC" >&6
48452 -else
48453 - echo "$as_me:$LINENO: result: no" >&5
48454 -echo "${ECHO_T}no" >&6
48455 -fi
48456 + echo ${extra_objects} | grep -s "itbl-ops.o"
48457 + if test $? -ne 0 ; then
48458 + extra_objects="$extra_objects itbl-ops.o"
48459 + fi
48460 + ;;
48461
48462 - CC=$ac_ct_CC
48463 -else
48464 - CC="$ac_cv_prog_CC"
48465 -fi
48466 + mt)
48467 + using_cgen=yes
48468 + ;;
48469 +
48470 + i386 | s390 | sparc)
48471 + if test $this_target = $target ; then
48472 +
48473 +cat >>confdefs.h <<_ACEOF
48474 +#define DEFAULT_ARCH "${arch}"
48475 +_ACEOF
48476 +
48477 + fi
48478 + ;;
48479 +
48480 + xstormy16)
48481 + using_cgen=yes
48482 + ;;
48483 +
48484 + xc16x)
48485 + using_cgen=yes
48486 + ;;
48487 +
48488 + xtensa)
48489 + echo ${extra_objects} | grep -s "xtensa-relax.o"
48490 + if test $? -ne 0 ; then
48491 + extra_objects="$extra_objects xtensa-relax.o"
48492 + fi
48493 + ;;
48494 +
48495 + *)
48496 + ;;
48497 + esac
48498 +
48499 + if test $using_cgen = yes ; then
48500 + case "x${extra_objects}" in
48501 + *cgen.o*) ;;
48502 + *) extra_objects="$extra_objects cgen.o" ;;
48503 + esac
48504 + fi
48505 +
48506 +# See if we really can support this configuration with the emulation code.
48507 +
48508 + if test $this_target = $target ; then
48509 + obj_format=$fmt
48510 + te_file=$em
48511 + fi
48512 +
48513 +# From target name and format, produce a list of supported emulations.
48514 +
48515 + case ${generic_target}-${fmt} in
48516 + mips-*-irix5*-*) emulation="mipsbelf mipslelf mipself mipsbecoff mipslecoff mipsecoff" ;;
48517 + mips*-*-linux*-*) case "$endian" in
48518 + big) emulation="mipsbelf mipslelf mipself" ;;
48519 + *) emulation="mipslelf mipsbelf mipself" ;;
48520 + esac ;;
48521 + mips-*-lnews*-ecoff) ;;
48522 + mips-*-*-ecoff) case "$endian" in
48523 + big) emulation="mipsbecoff mipslecoff mipsecoff" ;;
48524 + *) emulation="mipslecoff mipsbecoff mipsecoff" ;;
48525 + esac ;;
48526 + mips-*-*-elf) case "$endian" in
48527 + big) emulation="mipsbelf mipslelf mipself" ;;
48528 + *) emulation="mipslelf mipsbelf mipself" ;;
48529 + esac ;;
48530 + mips-*-sysv4*MP*-*) emulation="mipsbelf mipslelf mipself mipsbecoff mipslecoff mipsecoff" ;;
48531 + # i386-pc-pe-coff != i386-pc-coff.
48532 + i386-*-pe-coff) ;;
48533 + # Uncommenting the next line will turn on support for i386 AOUT
48534 + # for the default linux configuration
48535 + # i386-*-linux*-elf) emulation="i386elf i386aout" ;;
48536 + #
48537 + i386-*-aout) emulation="i386aout" ;;
48538 + i386-*-coff) emulation="i386coff" ;;
48539 + i386-*-elf) emulation="i386elf" ;;
48540 +
48541 + # Always all formats. The first stated emulation becomes the default.
48542 + cris-*-*aout*) emulation="crisaout criself" ;;
48543 + cris-*-*) emulation="criself crisaout" ;;
48544 + esac
48545 +
48546 + emulations="$emulations $emulation"
48547
48548 -fi
48549 -if test -z "$CC"; then
48550 - # Extract the first word of "cc", so it can be a program name with args.
48551 -set dummy cc; ac_word=$2
48552 -echo "$as_me:$LINENO: checking for $ac_word" >&5
48553 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48554 -if test "${ac_cv_prog_CC+set}" = set; then
48555 - echo $ECHO_N "(cached) $ECHO_C" >&6
48556 -else
48557 - if test -n "$CC"; then
48558 - ac_cv_prog_CC="$CC" # Let the user override the test.
48559 -else
48560 - ac_prog_rejected=no
48561 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48562 -for as_dir in $PATH
48563 -do
48564 - IFS=$as_save_IFS
48565 - test -z "$as_dir" && as_dir=.
48566 - for ac_exec_ext in '' $ac_executable_extensions; do
48567 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48568 - if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
48569 - ac_prog_rejected=yes
48570 - continue
48571 - fi
48572 - ac_cv_prog_CC="cc"
48573 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48574 - break 2
48575 - fi
48576 -done
48577 done
48578
48579 -if test $ac_prog_rejected = yes; then
48580 - # We found a bogon in the path, so make sure we never use it.
48581 - set dummy $ac_cv_prog_CC
48582 - shift
48583 - if test $# != 0; then
48584 - # We chose a different compiler from the bogus one.
48585 - # However, it has the same basename, so the bogon will be chosen
48586 - # first if we set CC to just the basename; use the full file name.
48587 - shift
48588 - ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
48589 - fi
48590 -fi
48591 +# Turn on all targets if possible
48592 +if test ${all_targets} = "yes"; then
48593 + case ${target_cpu_type} in
48594 + i386)
48595 + case ${obj_format} in
48596 + aout)
48597 + emulations="$emulations i386coff i386elf"
48598 + ;;
48599 + coff)
48600 + emulations="$emulations i386aout i386elf"
48601 + ;;
48602 + elf)
48603 + emulations="$emulations i386aout i386coff"
48604 + ;;
48605 + esac
48606 + ;;
48607 + esac
48608 fi
48609 +
48610 +# Assign floating point type. Most processors with FP support
48611 +# IEEE FP. On those that don't support FP at all, usually IEEE
48612 +# is emulated.
48613 +case ${target_cpu} in
48614 + vax | tahoe ) atof=${target_cpu} ;;
48615 + pdp11) atof=vax ;;
48616 + *) atof=ieee ;;
48617 +esac
48618 +
48619 +case "${obj_format}" in
48620 + "") { { echo "$as_me:$LINENO: error: GAS does not know what format to use for target ${target}" >&5
48621 +echo "$as_me: error: GAS does not know what format to use for target ${target}" >&2;}
48622 + { (exit 1); exit 1; }; } ;;
48623 +esac
48624 +
48625 +# Unfortunately the cpu in cpu-opc.h file isn't always $(TARGET_CPU).
48626 +cgen_cpu_prefix=""
48627 +if test $using_cgen = yes ; then
48628 + case ${target_cpu} in
48629 + *) cgen_cpu_prefix=${target_cpu} ;;
48630 + esac
48631 +
48632 +
48633 +cat >>confdefs.h <<\_ACEOF
48634 +#define USING_CGEN 1
48635 +_ACEOF
48636 +
48637 fi
48638 -CC=$ac_cv_prog_CC
48639 -if test -n "$CC"; then
48640 - echo "$as_me:$LINENO: result: $CC" >&5
48641 -echo "${ECHO_T}$CC" >&6
48642 -else
48643 - echo "$as_me:$LINENO: result: no" >&5
48644 -echo "${ECHO_T}no" >&6
48645 +
48646 +
48647 +if test ! -r ${srcdir}/config/tc-${target_cpu_type}.c; then
48648 + { { echo "$as_me:$LINENO: error: GAS does not support target CPU ${target_cpu_type}" >&5
48649 +echo "$as_me: error: GAS does not support target CPU ${target_cpu_type}" >&2;}
48650 + { (exit 1); exit 1; }; }
48651 fi
48652
48653 +if test ! -r ${srcdir}/config/obj-${obj_format}.c; then
48654 + { { echo "$as_me:$LINENO: error: GAS does not have support for object file format ${obj_format}" >&5
48655 +echo "$as_me: error: GAS does not have support for object file format ${obj_format}" >&2;}
48656 + { (exit 1); exit 1; }; }
48657 fi
48658 -if test -z "$CC"; then
48659 - if test -n "$ac_tool_prefix"; then
48660 - for ac_prog in cl
48661 - do
48662 - # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
48663 -set dummy $ac_tool_prefix$ac_prog; ac_word=$2
48664 -echo "$as_me:$LINENO: checking for $ac_word" >&5
48665 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48666 -if test "${ac_cv_prog_CC+set}" = set; then
48667 - echo $ECHO_N "(cached) $ECHO_C" >&6
48668 -else
48669 - if test -n "$CC"; then
48670 - ac_cv_prog_CC="$CC" # Let the user override the test.
48671 -else
48672 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48673 -for as_dir in $PATH
48674 -do
48675 - IFS=$as_save_IFS
48676 - test -z "$as_dir" && as_dir=.
48677 - for ac_exec_ext in '' $ac_executable_extensions; do
48678 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48679 - ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
48680 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48681 - break 2
48682 - fi
48683 +
48684 +# Some COFF configurations want these random other flags set.
48685 +case ${obj_format} in
48686 + coff)
48687 + case ${target_cpu_type} in
48688 + i386)
48689 +cat >>confdefs.h <<\_ACEOF
48690 +#define I386COFF 1
48691 +_ACEOF
48692 + ;;
48693 + m68k)
48694 +cat >>confdefs.h <<\_ACEOF
48695 +#define M68KCOFF 1
48696 +_ACEOF
48697 + ;;
48698 + m88k)
48699 +cat >>confdefs.h <<\_ACEOF
48700 +#define M88KCOFF 1
48701 +_ACEOF
48702 + ;;
48703 + esac
48704 + ;;
48705 +esac
48706 +
48707 +# Getting this done right is going to be a bitch. Each configuration specified
48708 +# with --enable-targets=... should be checked for environment, format, cpu
48709 +# setting.
48710 +#
48711 +# For each configuration, the necessary object file support code must be linked
48712 +# in. This might be only one, it might be up to four. The necessary emulation
48713 +# code needs to be provided, too.
48714 +#
48715 +# And then there's "--enable-targets=all"....
48716 +#
48717 +# For now, just always do it for MIPS ELF or ECOFF configurations. Sigh.
48718 +
48719 +formats="${obj_format}"
48720 +emfiles=""
48721 +EMULATIONS=""
48722 +_gas_uniq_list="$emulations"
48723 +_gas_uniq_newlist=""
48724 +for _gas_uniq_i in _gas_uniq_dummy $_gas_uniq_list ; do
48725 + case $_gas_uniq_i in
48726 + _gas_uniq_dummy) ;;
48727 + *) case " $_gas_uniq_newlist " in
48728 + *" $_gas_uniq_i "*) ;;
48729 + *) _gas_uniq_newlist="$_gas_uniq_newlist $_gas_uniq_i" ;;
48730 + esac ;;
48731 + esac
48732 done
48733 +emulations=$_gas_uniq_newlist
48734 +
48735 +for em in . $emulations ; do
48736 + case $em in
48737 + .) continue ;;
48738 + mipsbelf | mipslelf | mipself)
48739 + fmt=elf file=mipself ;;
48740 + mipsbecoff | mipslecoff | mipsecoff)
48741 + fmt=ecoff file=mipsecoff ;;
48742 + *coff)
48743 + fmt=coff file=$em ;;
48744 + *aout)
48745 + fmt=aout file=$em ;;
48746 + *elf)
48747 + fmt=elf file=$em ;;
48748 + esac
48749 + formats="$formats $fmt"
48750 + emfiles="$emfiles e-$file.o"
48751 + EMULATIONS="$EMULATIONS &$em,"
48752 done
48753 +_gas_uniq_list="$formats"
48754 +_gas_uniq_newlist=""
48755 +for _gas_uniq_i in _gas_uniq_dummy $_gas_uniq_list ; do
48756 + case $_gas_uniq_i in
48757 + _gas_uniq_dummy) ;;
48758 + *) case " $_gas_uniq_newlist " in
48759 + *" $_gas_uniq_i "*) ;;
48760 + *) _gas_uniq_newlist="$_gas_uniq_newlist $_gas_uniq_i" ;;
48761 + esac ;;
48762 + esac
48763 +done
48764 +formats=$_gas_uniq_newlist
48765
48766 +_gas_uniq_list="$emfiles"
48767 +_gas_uniq_newlist=""
48768 +for _gas_uniq_i in _gas_uniq_dummy $_gas_uniq_list ; do
48769 + case $_gas_uniq_i in
48770 + _gas_uniq_dummy) ;;
48771 + *) case " $_gas_uniq_newlist " in
48772 + *" $_gas_uniq_i "*) ;;
48773 + *) _gas_uniq_newlist="$_gas_uniq_newlist $_gas_uniq_i" ;;
48774 + esac ;;
48775 + esac
48776 +done
48777 +emfiles=$_gas_uniq_newlist
48778 +
48779 +if test `set . $formats ; shift ; echo $#` -gt 1 ; then
48780 + for fmt in $formats ; do
48781 + case $fmt in
48782 + aout)
48783 +cat >>confdefs.h <<\_ACEOF
48784 +#define OBJ_MAYBE_AOUT 1
48785 +_ACEOF
48786 + ;;
48787 + bout)
48788 +cat >>confdefs.h <<\_ACEOF
48789 +#define OBJ_MAYBE_BOUT 1
48790 +_ACEOF
48791 + ;;
48792 + coff)
48793 +cat >>confdefs.h <<\_ACEOF
48794 +#define OBJ_MAYBE_COFF 1
48795 +_ACEOF
48796 + ;;
48797 + ecoff)
48798 +cat >>confdefs.h <<\_ACEOF
48799 +#define OBJ_MAYBE_ECOFF 1
48800 +_ACEOF
48801 + ;;
48802 + elf)
48803 +cat >>confdefs.h <<\_ACEOF
48804 +#define OBJ_MAYBE_ELF 1
48805 +_ACEOF
48806 + ;;
48807 + generic)
48808 +cat >>confdefs.h <<\_ACEOF
48809 +#define OBJ_MAYBE_GENERIC 1
48810 +_ACEOF
48811 + ;;
48812 + ieee)
48813 +cat >>confdefs.h <<\_ACEOF
48814 +#define OBJ_MAYBE_IEEE 1
48815 +_ACEOF
48816 + ;;
48817 + som)
48818 +cat >>confdefs.h <<\_ACEOF
48819 +#define OBJ_MAYBE_SOM 1
48820 +_ACEOF
48821 + ;;
48822 + esac
48823 + extra_objects="$extra_objects obj-$fmt.o"
48824 + done
48825 + obj_format=multi
48826 fi
48827 -fi
48828 -CC=$ac_cv_prog_CC
48829 -if test -n "$CC"; then
48830 - echo "$as_me:$LINENO: result: $CC" >&5
48831 -echo "${ECHO_T}$CC" >&6
48832 -else
48833 - echo "$as_me:$LINENO: result: no" >&5
48834 -echo "${ECHO_T}no" >&6
48835 +if test `set . $emfiles ; shift ; echo $#` -gt 0 ; then
48836 + DEFAULT_EMULATION=`set . $emulations ; echo $2`
48837 + # e-mips* has more than one emulation per file, e-i386* has just one at the
48838 + # moment. If only one emulation is specified, then don't define
48839 + # USE_EMULATIONS or include any of the e-files as they will only be bloat.
48840 + case "${obj_format}${emfiles}" in
48841 + multi* | *mips*)
48842 + extra_objects="$extra_objects $emfiles"
48843 +
48844 +cat >>confdefs.h <<\_ACEOF
48845 +#define USE_EMULATIONS 1
48846 +_ACEOF
48847 + ;;
48848 + esac
48849 fi
48850
48851 - test -n "$CC" && break
48852 - done
48853 -fi
48854 -if test -z "$CC"; then
48855 - ac_ct_CC=$CC
48856 - for ac_prog in cl
48857 -do
48858 - # Extract the first word of "$ac_prog", so it can be a program name with args.
48859 -set dummy $ac_prog; ac_word=$2
48860 -echo "$as_me:$LINENO: checking for $ac_word" >&5
48861 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48862 -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
48863 - echo $ECHO_N "(cached) $ECHO_C" >&6
48864 -else
48865 - if test -n "$ac_ct_CC"; then
48866 - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
48867 -else
48868 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48869 -for as_dir in $PATH
48870 -do
48871 - IFS=$as_save_IFS
48872 - test -z "$as_dir" && as_dir=.
48873 - for ac_exec_ext in '' $ac_executable_extensions; do
48874 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48875 - ac_cv_prog_ac_ct_CC="$ac_prog"
48876 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48877 - break 2
48878 - fi
48879 -done
48880 -done
48881
48882 -fi
48883 -fi
48884 -ac_ct_CC=$ac_cv_prog_ac_ct_CC
48885 -if test -n "$ac_ct_CC"; then
48886 - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
48887 -echo "${ECHO_T}$ac_ct_CC" >&6
48888 -else
48889 - echo "$as_me:$LINENO: result: no" >&5
48890 -echo "${ECHO_T}no" >&6
48891 -fi
48892 +cat >>confdefs.h <<_ACEOF
48893 +#define EMULATIONS $EMULATIONS
48894 +_ACEOF
48895
48896 - test -n "$ac_ct_CC" && break
48897 -done
48898
48899 - CC=$ac_ct_CC
48900 -fi
48901 +cat >>confdefs.h <<_ACEOF
48902 +#define DEFAULT_EMULATION "$DEFAULT_EMULATION"
48903 +_ACEOF
48904
48905 -fi
48906
48907 +reject_dev_configs=yes
48908
48909 -test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
48910 -See \`config.log' for more details." >&5
48911 -echo "$as_me: error: no acceptable C compiler found in \$PATH
48912 -See \`config.log' for more details." >&2;}
48913 +case ${reject_dev_configs}-${dev} in
48914 + yes-yes) # Oops.
48915 + { { echo "$as_me:$LINENO: error: GAS does not support the ${generic_target} configuration." >&5
48916 +echo "$as_me: error: GAS does not support the ${generic_target} configuration." >&2;}
48917 { (exit 1); exit 1; }; }
48918 + ;;
48919 +esac
48920
48921 -# Provide some information about the compiler.
48922 -echo "$as_me:$LINENO:" \
48923 - "checking for C compiler version" >&5
48924 -ac_compiler=`set X $ac_compile; echo $2`
48925 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
48926 - (eval $ac_compiler --version </dev/null >&5) 2>&5
48927 - ac_status=$?
48928 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
48929 - (exit $ac_status); }
48930 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
48931 - (eval $ac_compiler -v </dev/null >&5) 2>&5
48932 - ac_status=$?
48933 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
48934 - (exit $ac_status); }
48935 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
48936 - (eval $ac_compiler -V </dev/null >&5) 2>&5
48937 - ac_status=$?
48938 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
48939 - (exit $ac_status); }
48940
48941 -echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
48942 -echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
48943 -if test "${ac_cv_c_compiler_gnu+set}" = set; then
48944 - echo $ECHO_N "(cached) $ECHO_C" >&6
48945 -else
48946 - cat >conftest.$ac_ext <<_ACEOF
48947 -/* confdefs.h. */
48948 -_ACEOF
48949 -cat confdefs.h >>conftest.$ac_ext
48950 -cat >>conftest.$ac_ext <<_ACEOF
48951 -/* end confdefs.h. */
48952
48953 -int
48954 -main ()
48955 -{
48956 -#ifndef __GNUC__
48957 - choke me
48958 -#endif
48959
48960 - ;
48961 - return 0;
48962 -}
48963 +
48964 +
48965 +
48966 +# do we need the opcodes library?
48967 +case "${need_opcodes}" in
48968 +yes)
48969 + OPCODES_LIB=../opcodes/libopcodes.la
48970 + ;;
48971 +esac
48972 +
48973 +BFDLIB=../bfd/libbfd.la
48974 +BFDVER_H=../bfd/bfdver.h
48975 +ALL_OBJ_DEPS="$ALL_OBJ_DEPS"' ../bfd/bfd.h $(INCDIR)/symcat.h'
48976 +
48977 +
48978 +
48979 +
48980 +
48981 +
48982 +
48983 +
48984 +cat >>confdefs.h <<_ACEOF
48985 +#define TARGET_ALIAS "${target_alias}"
48986 _ACEOF
48987 -rm -f conftest.$ac_objext
48988 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48989 - (eval $ac_compile) 2>conftest.er1
48990 - ac_status=$?
48991 - grep -v '^ *+' conftest.er1 >conftest.err
48992 - rm -f conftest.er1
48993 - cat conftest.err >&5
48994 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
48995 - (exit $ac_status); } &&
48996 - { ac_try='test -z "$ac_c_werror_flag"
48997 - || test ! -s conftest.err'
48998 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48999 - (eval $ac_try) 2>&5
49000 - ac_status=$?
49001 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
49002 - (exit $ac_status); }; } &&
49003 - { ac_try='test -s conftest.$ac_objext'
49004 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49005 - (eval $ac_try) 2>&5
49006 - ac_status=$?
49007 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
49008 - (exit $ac_status); }; }; then
49009 - ac_compiler_gnu=yes
49010 -else
49011 - echo "$as_me: failed program was:" >&5
49012 -sed 's/^/| /' conftest.$ac_ext >&5
49013
49014 -ac_compiler_gnu=no
49015 -fi
49016 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49017 -ac_cv_c_compiler_gnu=$ac_compiler_gnu
49018
49019 -fi
49020 -echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
49021 -echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
49022 -GCC=`test $ac_compiler_gnu = yes && echo yes`
49023 -ac_test_CFLAGS=${CFLAGS+set}
49024 -ac_save_CFLAGS=$CFLAGS
49025 -CFLAGS="-g"
49026 -echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
49027 -echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
49028 -if test "${ac_cv_prog_cc_g+set}" = set; then
49029 - echo $ECHO_N "(cached) $ECHO_C" >&6
49030 -else
49031 - cat >conftest.$ac_ext <<_ACEOF
49032 -/* confdefs.h. */
49033 +cat >>confdefs.h <<_ACEOF
49034 +#define TARGET_CANONICAL "${target}"
49035 _ACEOF
49036 -cat confdefs.h >>conftest.$ac_ext
49037 -cat >>conftest.$ac_ext <<_ACEOF
49038 -/* end confdefs.h. */
49039
49040 -int
49041 -main ()
49042 -{
49043
49044 - ;
49045 - return 0;
49046 -}
49047 +cat >>confdefs.h <<_ACEOF
49048 +#define TARGET_CPU "${target_cpu}"
49049 _ACEOF
49050 -rm -f conftest.$ac_objext
49051 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49052 - (eval $ac_compile) 2>conftest.er1
49053 - ac_status=$?
49054 - grep -v '^ *+' conftest.er1 >conftest.err
49055 - rm -f conftest.er1
49056 - cat conftest.err >&5
49057 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
49058 - (exit $ac_status); } &&
49059 - { ac_try='test -z "$ac_c_werror_flag"
49060 - || test ! -s conftest.err'
49061 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49062 - (eval $ac_try) 2>&5
49063 - ac_status=$?
49064 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
49065 - (exit $ac_status); }; } &&
49066 - { ac_try='test -s conftest.$ac_objext'
49067 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49068 - (eval $ac_try) 2>&5
49069 - ac_status=$?
49070 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
49071 - (exit $ac_status); }; }; then
49072 - ac_cv_prog_cc_g=yes
49073 -else
49074 - echo "$as_me: failed program was:" >&5
49075 -sed 's/^/| /' conftest.$ac_ext >&5
49076
49077 -ac_cv_prog_cc_g=no
49078 -fi
49079 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49080 -fi
49081 -echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
49082 -echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
49083 -if test "$ac_test_CFLAGS" = set; then
49084 - CFLAGS=$ac_save_CFLAGS
49085 -elif test $ac_cv_prog_cc_g = yes; then
49086 - if test "$GCC" = yes; then
49087 - CFLAGS="-g -O2"
49088 - else
49089 - CFLAGS="-g"
49090 - fi
49091 -else
49092 - if test "$GCC" = yes; then
49093 - CFLAGS="-O2"
49094 - else
49095 - CFLAGS=
49096 - fi
49097 -fi
49098 -echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
49099 -echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
49100 -if test "${ac_cv_prog_cc_stdc+set}" = set; then
49101 - echo $ECHO_N "(cached) $ECHO_C" >&6
49102 -else
49103 - ac_cv_prog_cc_stdc=no
49104 -ac_save_CC=$CC
49105 -cat >conftest.$ac_ext <<_ACEOF
49106 -/* confdefs.h. */
49107 +
49108 +cat >>confdefs.h <<_ACEOF
49109 +#define TARGET_VENDOR "${target_vendor}"
49110 _ACEOF
49111 -cat confdefs.h >>conftest.$ac_ext
49112 -cat >>conftest.$ac_ext <<_ACEOF
49113 -/* end confdefs.h. */
49114 -#include <stdarg.h>
49115 -#include <stdio.h>
49116 -#include <sys/types.h>
49117 -#include <sys/stat.h>
49118 -/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
49119 -struct buf { int x; };
49120 -FILE * (*rcsopen) (struct buf *, struct stat *, int);
49121 -static char *e (p, i)
49122 - char **p;
49123 - int i;
49124 -{
49125 - return p[i];
49126 -}
49127 -static char *f (char * (*g) (char **, int), char **p, ...)
49128 -{
49129 - char *s;
49130 - va_list v;
49131 - va_start (v,p);
49132 - s = g (p, va_arg (v,int));
49133 - va_end (v);
49134 - return s;
49135 -}
49136
49137 -/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
49138 - function prototypes and stuff, but not '\xHH' hex character constants.
49139 - These don't provoke an error unfortunately, instead are silently treated
49140 - as 'x'. The following induces an error, until -std1 is added to get
49141 - proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
49142 - array size at least. It's necessary to write '\x00'==0 to get something
49143 - that's true only with -std1. */
49144 -int osf4_cc_array ['\x00' == 0 ? 1 : -1];
49145
49146 -int test (int i, double x);
49147 -struct s1 {int (*f) (int a);};
49148 -struct s2 {int (*f) (double a);};
49149 -int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
49150 -int argc;
49151 -char **argv;
49152 -int
49153 -main ()
49154 -{
49155 -return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
49156 - ;
49157 - return 0;
49158 -}
49159 +cat >>confdefs.h <<_ACEOF
49160 +#define TARGET_OS "${target_os}"
49161 _ACEOF
49162 -# Don't try gcc -ansi; that turns off useful extensions and
49163 -# breaks some systems' header files.
49164 -# AIX -qlanglvl=ansi
49165 -# Ultrix and OSF/1 -std1
49166 -# HP-UX 10.20 and later -Ae
49167 -# HP-UX older versions -Aa -D_HPUX_SOURCE
49168 -# SVR4 -Xc -D__EXTENSIONS__
49169 -for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
49170 -do
49171 - CC="$ac_save_CC $ac_arg"
49172 - rm -f conftest.$ac_objext
49173 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49174 - (eval $ac_compile) 2>conftest.er1
49175 - ac_status=$?
49176 - grep -v '^ *+' conftest.er1 >conftest.err
49177 - rm -f conftest.er1
49178 - cat conftest.err >&5
49179 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
49180 - (exit $ac_status); } &&
49181 - { ac_try='test -z "$ac_c_werror_flag"
49182 - || test ! -s conftest.err'
49183 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49184 - (eval $ac_try) 2>&5
49185 - ac_status=$?
49186 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
49187 - (exit $ac_status); }; } &&
49188 - { ac_try='test -s conftest.$ac_objext'
49189 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49190 - (eval $ac_try) 2>&5
49191 - ac_status=$?
49192 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
49193 - (exit $ac_status); }; }; then
49194 - ac_cv_prog_cc_stdc=$ac_arg
49195 -break
49196 +
49197 +
49198 +ac_ext=c
49199 +ac_cpp='$CPP $CPPFLAGS'
49200 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49201 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49202 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
49203 +if test -n "$ac_tool_prefix"; then
49204 + # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
49205 +set dummy ${ac_tool_prefix}gcc; ac_word=$2
49206 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
49207 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49208 +if test "${ac_cv_prog_CC+set}" = set; then
49209 + echo $ECHO_N "(cached) $ECHO_C" >&6
49210 else
49211 - echo "$as_me: failed program was:" >&5
49212 -sed 's/^/| /' conftest.$ac_ext >&5
49213 + if test -n "$CC"; then
49214 + ac_cv_prog_CC="$CC" # Let the user override the test.
49215 +else
49216 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49217 +for as_dir in $PATH
49218 +do
49219 + IFS=$as_save_IFS
49220 + test -z "$as_dir" && as_dir=.
49221 + for ac_exec_ext in '' $ac_executable_extensions; do
49222 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49223 + ac_cv_prog_CC="${ac_tool_prefix}gcc"
49224 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49225 + break 2
49226 + fi
49227 +done
49228 +done
49229 +IFS=$as_save_IFS
49230 +
49231 +fi
49232 +fi
49233 +CC=$ac_cv_prog_CC
49234 +if test -n "$CC"; then
49235 + { echo "$as_me:$LINENO: result: $CC" >&5
49236 +echo "${ECHO_T}$CC" >&6; }
49237 +else
49238 + { echo "$as_me:$LINENO: result: no" >&5
49239 +echo "${ECHO_T}no" >&6; }
49240 +fi
49241 +
49242
49243 fi
49244 -rm -f conftest.err conftest.$ac_objext
49245 +if test -z "$ac_cv_prog_CC"; then
49246 + ac_ct_CC=$CC
49247 + # Extract the first word of "gcc", so it can be a program name with args.
49248 +set dummy gcc; ac_word=$2
49249 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
49250 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49251 +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
49252 + echo $ECHO_N "(cached) $ECHO_C" >&6
49253 +else
49254 + if test -n "$ac_ct_CC"; then
49255 + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
49256 +else
49257 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49258 +for as_dir in $PATH
49259 +do
49260 + IFS=$as_save_IFS
49261 + test -z "$as_dir" && as_dir=.
49262 + for ac_exec_ext in '' $ac_executable_extensions; do
49263 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49264 + ac_cv_prog_ac_ct_CC="gcc"
49265 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49266 + break 2
49267 + fi
49268 done
49269 -rm -f conftest.$ac_ext conftest.$ac_objext
49270 -CC=$ac_save_CC
49271 +done
49272 +IFS=$as_save_IFS
49273
49274 fi
49275 +fi
49276 +ac_ct_CC=$ac_cv_prog_ac_ct_CC
49277 +if test -n "$ac_ct_CC"; then
49278 + { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
49279 +echo "${ECHO_T}$ac_ct_CC" >&6; }
49280 +else
49281 + { echo "$as_me:$LINENO: result: no" >&5
49282 +echo "${ECHO_T}no" >&6; }
49283 +fi
49284
49285 -case "x$ac_cv_prog_cc_stdc" in
49286 - x|xno)
49287 - echo "$as_me:$LINENO: result: none needed" >&5
49288 -echo "${ECHO_T}none needed" >&6 ;;
49289 - *)
49290 - echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
49291 -echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
49292 - CC="$CC $ac_cv_prog_cc_stdc" ;;
49293 + if test "x$ac_ct_CC" = x; then
49294 + CC=""
49295 + else
49296 + case $cross_compiling:$ac_tool_warned in
49297 +yes:)
49298 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49299 +whose name does not start with the host triplet. If you think this
49300 +configuration is useful to you, please write to autoconf@gnu.org." >&5
49301 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49302 +whose name does not start with the host triplet. If you think this
49303 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49304 +ac_tool_warned=yes ;;
49305 esac
49306 + CC=$ac_ct_CC
49307 + fi
49308 +else
49309 + CC="$ac_cv_prog_CC"
49310 +fi
49311
49312 -# Some people use a C++ compiler to compile C. Since we use `exit',
49313 -# in C++ we need to declare it. In case someone uses the same compiler
49314 -# for both compiling C and C++ we need to have the C++ compiler decide
49315 -# the declaration of exit, since it's the most demanding environment.
49316 -cat >conftest.$ac_ext <<_ACEOF
49317 -#ifndef __cplusplus
49318 - choke me
49319 -#endif
49320 -_ACEOF
49321 -rm -f conftest.$ac_objext
49322 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49323 - (eval $ac_compile) 2>conftest.er1
49324 - ac_status=$?
49325 - grep -v '^ *+' conftest.er1 >conftest.err
49326 - rm -f conftest.er1
49327 - cat conftest.err >&5
49328 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
49329 - (exit $ac_status); } &&
49330 - { ac_try='test -z "$ac_c_werror_flag"
49331 - || test ! -s conftest.err'
49332 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49333 - (eval $ac_try) 2>&5
49334 - ac_status=$?
49335 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
49336 - (exit $ac_status); }; } &&
49337 - { ac_try='test -s conftest.$ac_objext'
49338 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49339 - (eval $ac_try) 2>&5
49340 - ac_status=$?
49341 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
49342 - (exit $ac_status); }; }; then
49343 - for ac_declaration in \
49344 - '' \
49345 - 'extern "C" void std::exit (int) throw (); using std::exit;' \
49346 - 'extern "C" void std::exit (int); using std::exit;' \
49347 - 'extern "C" void exit (int) throw ();' \
49348 - 'extern "C" void exit (int);' \
49349 - 'void exit (int);'
49350 -do
49351 - cat >conftest.$ac_ext <<_ACEOF
49352 -/* confdefs.h. */
49353 -_ACEOF
49354 -cat confdefs.h >>conftest.$ac_ext
49355 -cat >>conftest.$ac_ext <<_ACEOF
49356 -/* end confdefs.h. */
49357 -$ac_declaration
49358 -#include <stdlib.h>
49359 -int
49360 -main ()
49361 -{
49362 -exit (42);
49363 - ;
49364 - return 0;
49365 -}
49366 -_ACEOF
49367 -rm -f conftest.$ac_objext
49368 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49369 - (eval $ac_compile) 2>conftest.er1
49370 - ac_status=$?
49371 - grep -v '^ *+' conftest.er1 >conftest.err
49372 - rm -f conftest.er1
49373 - cat conftest.err >&5
49374 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
49375 - (exit $ac_status); } &&
49376 - { ac_try='test -z "$ac_c_werror_flag"
49377 - || test ! -s conftest.err'
49378 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49379 - (eval $ac_try) 2>&5
49380 - ac_status=$?
49381 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
49382 - (exit $ac_status); }; } &&
49383 - { ac_try='test -s conftest.$ac_objext'
49384 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49385 - (eval $ac_try) 2>&5
49386 - ac_status=$?
49387 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
49388 - (exit $ac_status); }; }; then
49389 - :
49390 +if test -z "$CC"; then
49391 + if test -n "$ac_tool_prefix"; then
49392 + # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
49393 +set dummy ${ac_tool_prefix}cc; ac_word=$2
49394 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
49395 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49396 +if test "${ac_cv_prog_CC+set}" = set; then
49397 + echo $ECHO_N "(cached) $ECHO_C" >&6
49398 else
49399 - echo "$as_me: failed program was:" >&5
49400 -sed 's/^/| /' conftest.$ac_ext >&5
49401 + if test -n "$CC"; then
49402 + ac_cv_prog_CC="$CC" # Let the user override the test.
49403 +else
49404 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49405 +for as_dir in $PATH
49406 +do
49407 + IFS=$as_save_IFS
49408 + test -z "$as_dir" && as_dir=.
49409 + for ac_exec_ext in '' $ac_executable_extensions; do
49410 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49411 + ac_cv_prog_CC="${ac_tool_prefix}cc"
49412 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49413 + break 2
49414 + fi
49415 +done
49416 +done
49417 +IFS=$as_save_IFS
49418
49419 -continue
49420 fi
49421 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49422 - cat >conftest.$ac_ext <<_ACEOF
49423 -/* confdefs.h. */
49424 -_ACEOF
49425 -cat confdefs.h >>conftest.$ac_ext
49426 -cat >>conftest.$ac_ext <<_ACEOF
49427 -/* end confdefs.h. */
49428 -$ac_declaration
49429 -int
49430 -main ()
49431 -{
49432 -exit (42);
49433 - ;
49434 - return 0;
49435 -}
49436 -_ACEOF
49437 -rm -f conftest.$ac_objext
49438 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49439 - (eval $ac_compile) 2>conftest.er1
49440 - ac_status=$?
49441 - grep -v '^ *+' conftest.er1 >conftest.err
49442 - rm -f conftest.er1
49443 - cat conftest.err >&5
49444 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
49445 - (exit $ac_status); } &&
49446 - { ac_try='test -z "$ac_c_werror_flag"
49447 - || test ! -s conftest.err'
49448 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49449 - (eval $ac_try) 2>&5
49450 - ac_status=$?
49451 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
49452 - (exit $ac_status); }; } &&
49453 - { ac_try='test -s conftest.$ac_objext'
49454 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49455 - (eval $ac_try) 2>&5
49456 - ac_status=$?
49457 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
49458 - (exit $ac_status); }; }; then
49459 - break
49460 +fi
49461 +CC=$ac_cv_prog_CC
49462 +if test -n "$CC"; then
49463 + { echo "$as_me:$LINENO: result: $CC" >&5
49464 +echo "${ECHO_T}$CC" >&6; }
49465 else
49466 - echo "$as_me: failed program was:" >&5
49467 -sed 's/^/| /' conftest.$ac_ext >&5
49468 + { echo "$as_me:$LINENO: result: no" >&5
49469 +echo "${ECHO_T}no" >&6; }
49470 +fi
49471
49472 +
49473 + fi
49474 fi
49475 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49476 +if test -z "$CC"; then
49477 + # Extract the first word of "cc", so it can be a program name with args.
49478 +set dummy cc; ac_word=$2
49479 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
49480 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49481 +if test "${ac_cv_prog_CC+set}" = set; then
49482 + echo $ECHO_N "(cached) $ECHO_C" >&6
49483 +else
49484 + if test -n "$CC"; then
49485 + ac_cv_prog_CC="$CC" # Let the user override the test.
49486 +else
49487 + ac_prog_rejected=no
49488 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49489 +for as_dir in $PATH
49490 +do
49491 + IFS=$as_save_IFS
49492 + test -z "$as_dir" && as_dir=.
49493 + for ac_exec_ext in '' $ac_executable_extensions; do
49494 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49495 + if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
49496 + ac_prog_rejected=yes
49497 + continue
49498 + fi
49499 + ac_cv_prog_CC="cc"
49500 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49501 + break 2
49502 + fi
49503 done
49504 -rm -f conftest*
49505 -if test -n "$ac_declaration"; then
49506 - echo '#ifdef __cplusplus' >>confdefs.h
49507 - echo $ac_declaration >>confdefs.h
49508 - echo '#endif' >>confdefs.h
49509 -fi
49510 +done
49511 +IFS=$as_save_IFS
49512
49513 +if test $ac_prog_rejected = yes; then
49514 + # We found a bogon in the path, so make sure we never use it.
49515 + set dummy $ac_cv_prog_CC
49516 + shift
49517 + if test $# != 0; then
49518 + # We chose a different compiler from the bogus one.
49519 + # However, it has the same basename, so the bogon will be chosen
49520 + # first if we set CC to just the basename; use the full file name.
49521 + shift
49522 + ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
49523 + fi
49524 +fi
49525 +fi
49526 +fi
49527 +CC=$ac_cv_prog_CC
49528 +if test -n "$CC"; then
49529 + { echo "$as_me:$LINENO: result: $CC" >&5
49530 +echo "${ECHO_T}$CC" >&6; }
49531 else
49532 - echo "$as_me: failed program was:" >&5
49533 -sed 's/^/| /' conftest.$ac_ext >&5
49534 -
49535 + { echo "$as_me:$LINENO: result: no" >&5
49536 +echo "${ECHO_T}no" >&6; }
49537 fi
49538 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49539 -ac_ext=c
49540 -ac_cpp='$CPP $CPPFLAGS'
49541 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49542 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49543 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
49544
49545
49546 -for ac_prog in 'bison -y' byacc
49547 -do
49548 - # Extract the first word of "$ac_prog", so it can be a program name with args.
49549 -set dummy $ac_prog; ac_word=$2
49550 -echo "$as_me:$LINENO: checking for $ac_word" >&5
49551 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
49552 -if test "${ac_cv_prog_YACC+set}" = set; then
49553 +fi
49554 +if test -z "$CC"; then
49555 + if test -n "$ac_tool_prefix"; then
49556 + for ac_prog in cl.exe
49557 + do
49558 + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
49559 +set dummy $ac_tool_prefix$ac_prog; ac_word=$2
49560 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
49561 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49562 +if test "${ac_cv_prog_CC+set}" = set; then
49563 echo $ECHO_N "(cached) $ECHO_C" >&6
49564 else
49565 - if test -n "$YACC"; then
49566 - ac_cv_prog_YACC="$YACC" # Let the user override the test.
49567 + if test -n "$CC"; then
49568 + ac_cv_prog_CC="$CC" # Let the user override the test.
49569 else
49570 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49571 for as_dir in $PATH
49572 @@ -5918,40 +6574,43 @@
49573 IFS=$as_save_IFS
49574 test -z "$as_dir" && as_dir=.
49575 for ac_exec_ext in '' $ac_executable_extensions; do
49576 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
49577 - ac_cv_prog_YACC="$ac_prog"
49578 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49579 + ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
49580 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49581 break 2
49582 fi
49583 done
49584 done
49585 +IFS=$as_save_IFS
49586
49587 fi
49588 fi
49589 -YACC=$ac_cv_prog_YACC
49590 -if test -n "$YACC"; then
49591 - echo "$as_me:$LINENO: result: $YACC" >&5
49592 -echo "${ECHO_T}$YACC" >&6
49593 +CC=$ac_cv_prog_CC
49594 +if test -n "$CC"; then
49595 + { echo "$as_me:$LINENO: result: $CC" >&5
49596 +echo "${ECHO_T}$CC" >&6; }
49597 else
49598 - echo "$as_me:$LINENO: result: no" >&5
49599 -echo "${ECHO_T}no" >&6
49600 + { echo "$as_me:$LINENO: result: no" >&5
49601 +echo "${ECHO_T}no" >&6; }
49602 fi
49603
49604 - test -n "$YACC" && break
49605 -done
49606 -test -n "$YACC" || YACC="yacc"
49607
49608 -for ac_prog in flex lex
49609 + test -n "$CC" && break
49610 + done
49611 +fi
49612 +if test -z "$CC"; then
49613 + ac_ct_CC=$CC
49614 + for ac_prog in cl.exe
49615 do
49616 # Extract the first word of "$ac_prog", so it can be a program name with args.
49617 set dummy $ac_prog; ac_word=$2
49618 -echo "$as_me:$LINENO: checking for $ac_word" >&5
49619 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
49620 -if test "${ac_cv_prog_LEX+set}" = set; then
49621 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
49622 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49623 +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
49624 echo $ECHO_N "(cached) $ECHO_C" >&6
49625 else
49626 - if test -n "$LEX"; then
49627 - ac_cv_prog_LEX="$LEX" # Let the user override the test.
49628 + if test -n "$ac_ct_CC"; then
49629 + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
49630 else
49631 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49632 for as_dir in $PATH
49633 @@ -5959,277 +6618,432 @@
49634 IFS=$as_save_IFS
49635 test -z "$as_dir" && as_dir=.
49636 for ac_exec_ext in '' $ac_executable_extensions; do
49637 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
49638 - ac_cv_prog_LEX="$ac_prog"
49639 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49640 + ac_cv_prog_ac_ct_CC="$ac_prog"
49641 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49642 break 2
49643 fi
49644 done
49645 done
49646 +IFS=$as_save_IFS
49647
49648 fi
49649 fi
49650 -LEX=$ac_cv_prog_LEX
49651 -if test -n "$LEX"; then
49652 - echo "$as_me:$LINENO: result: $LEX" >&5
49653 -echo "${ECHO_T}$LEX" >&6
49654 -else
49655 - echo "$as_me:$LINENO: result: no" >&5
49656 -echo "${ECHO_T}no" >&6
49657 +ac_ct_CC=$ac_cv_prog_ac_ct_CC
49658 +if test -n "$ac_ct_CC"; then
49659 + { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
49660 +echo "${ECHO_T}$ac_ct_CC" >&6; }
49661 +else
49662 + { echo "$as_me:$LINENO: result: no" >&5
49663 +echo "${ECHO_T}no" >&6; }
49664 +fi
49665 +
49666 +
49667 + test -n "$ac_ct_CC" && break
49668 +done
49669 +
49670 + if test "x$ac_ct_CC" = x; then
49671 + CC=""
49672 + else
49673 + case $cross_compiling:$ac_tool_warned in
49674 +yes:)
49675 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49676 +whose name does not start with the host triplet. If you think this
49677 +configuration is useful to you, please write to autoconf@gnu.org." >&5
49678 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49679 +whose name does not start with the host triplet. If you think this
49680 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49681 +ac_tool_warned=yes ;;
49682 +esac
49683 + CC=$ac_ct_CC
49684 + fi
49685 +fi
49686 +
49687 fi
49688
49689 - test -n "$LEX" && break
49690 -done
49691 -test -n "$LEX" || LEX=":"
49692
49693 -if test -z "$LEXLIB"
49694 -then
49695 - echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
49696 -echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
49697 -if test "${ac_cv_lib_fl_yywrap+set}" = set; then
49698 +test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
49699 +See \`config.log' for more details." >&5
49700 +echo "$as_me: error: no acceptable C compiler found in \$PATH
49701 +See \`config.log' for more details." >&2;}
49702 + { (exit 1); exit 1; }; }
49703 +
49704 +# Provide some information about the compiler.
49705 +echo "$as_me:$LINENO: checking for C compiler version" >&5
49706 +ac_compiler=`set X $ac_compile; echo $2`
49707 +{ (ac_try="$ac_compiler --version >&5"
49708 +case "(($ac_try" in
49709 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49710 + *) ac_try_echo=$ac_try;;
49711 +esac
49712 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49713 + (eval "$ac_compiler --version >&5") 2>&5
49714 + ac_status=$?
49715 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
49716 + (exit $ac_status); }
49717 +{ (ac_try="$ac_compiler -v >&5"
49718 +case "(($ac_try" in
49719 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49720 + *) ac_try_echo=$ac_try;;
49721 +esac
49722 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49723 + (eval "$ac_compiler -v >&5") 2>&5
49724 + ac_status=$?
49725 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
49726 + (exit $ac_status); }
49727 +{ (ac_try="$ac_compiler -V >&5"
49728 +case "(($ac_try" in
49729 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49730 + *) ac_try_echo=$ac_try;;
49731 +esac
49732 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49733 + (eval "$ac_compiler -V >&5") 2>&5
49734 + ac_status=$?
49735 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
49736 + (exit $ac_status); }
49737 +
49738 +{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
49739 +echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
49740 +if test "${ac_cv_c_compiler_gnu+set}" = set; then
49741 echo $ECHO_N "(cached) $ECHO_C" >&6
49742 else
49743 - ac_check_lib_save_LIBS=$LIBS
49744 -LIBS="-lfl $LIBS"
49745 -cat >conftest.$ac_ext <<_ACEOF
49746 + cat >conftest.$ac_ext <<_ACEOF
49747 /* confdefs.h. */
49748 _ACEOF
49749 cat confdefs.h >>conftest.$ac_ext
49750 cat >>conftest.$ac_ext <<_ACEOF
49751 /* end confdefs.h. */
49752
49753 -/* Override any gcc2 internal prototype to avoid an error. */
49754 -#ifdef __cplusplus
49755 -extern "C"
49756 -#endif
49757 -/* We use char because int might match the return type of a gcc2
49758 - builtin and then its argument prototype would still apply. */
49759 -char yywrap ();
49760 int
49761 main ()
49762 {
49763 -yywrap ();
49764 +#ifndef __GNUC__
49765 + choke me
49766 +#endif
49767 +
49768 ;
49769 return 0;
49770 }
49771 _ACEOF
49772 -rm -f conftest.$ac_objext conftest$ac_exeext
49773 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49774 - (eval $ac_link) 2>conftest.er1
49775 +rm -f conftest.$ac_objext
49776 +if { (ac_try="$ac_compile"
49777 +case "(($ac_try" in
49778 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49779 + *) ac_try_echo=$ac_try;;
49780 +esac
49781 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49782 + (eval "$ac_compile") 2>conftest.er1
49783 ac_status=$?
49784 grep -v '^ *+' conftest.er1 >conftest.err
49785 rm -f conftest.er1
49786 cat conftest.err >&5
49787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49788 - (exit $ac_status); } &&
49789 - { ac_try='test -z "$ac_c_werror_flag"
49790 - || test ! -s conftest.err'
49791 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49792 - (eval $ac_try) 2>&5
49793 - ac_status=$?
49794 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
49795 - (exit $ac_status); }; } &&
49796 - { ac_try='test -s conftest$ac_exeext'
49797 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49798 - (eval $ac_try) 2>&5
49799 - ac_status=$?
49800 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
49801 - (exit $ac_status); }; }; then
49802 - ac_cv_lib_fl_yywrap=yes
49803 + (exit $ac_status); } && {
49804 + test -z "$ac_c_werror_flag" ||
49805 + test ! -s conftest.err
49806 + } && test -s conftest.$ac_objext; then
49807 + ac_compiler_gnu=yes
49808 else
49809 echo "$as_me: failed program was:" >&5
49810 sed 's/^/| /' conftest.$ac_ext >&5
49811
49812 -ac_cv_lib_fl_yywrap=no
49813 + ac_compiler_gnu=no
49814 fi
49815 -rm -f conftest.err conftest.$ac_objext \
49816 - conftest$ac_exeext conftest.$ac_ext
49817 -LIBS=$ac_check_lib_save_LIBS
49818 +
49819 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49820 +ac_cv_c_compiler_gnu=$ac_compiler_gnu
49821 +
49822 fi
49823 -echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
49824 -echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
49825 -if test $ac_cv_lib_fl_yywrap = yes; then
49826 - LEXLIB="-lfl"
49827 -else
49828 - echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
49829 -echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
49830 -if test "${ac_cv_lib_l_yywrap+set}" = set; then
49831 +{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
49832 +echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
49833 +GCC=`test $ac_compiler_gnu = yes && echo yes`
49834 +ac_test_CFLAGS=${CFLAGS+set}
49835 +ac_save_CFLAGS=$CFLAGS
49836 +{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
49837 +echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
49838 +if test "${ac_cv_prog_cc_g+set}" = set; then
49839 echo $ECHO_N "(cached) $ECHO_C" >&6
49840 else
49841 - ac_check_lib_save_LIBS=$LIBS
49842 -LIBS="-ll $LIBS"
49843 -cat >conftest.$ac_ext <<_ACEOF
49844 + ac_save_c_werror_flag=$ac_c_werror_flag
49845 + ac_c_werror_flag=yes
49846 + ac_cv_prog_cc_g=no
49847 + CFLAGS="-g"
49848 + cat >conftest.$ac_ext <<_ACEOF
49849 /* confdefs.h. */
49850 _ACEOF
49851 cat confdefs.h >>conftest.$ac_ext
49852 cat >>conftest.$ac_ext <<_ACEOF
49853 /* end confdefs.h. */
49854
49855 -/* Override any gcc2 internal prototype to avoid an error. */
49856 -#ifdef __cplusplus
49857 -extern "C"
49858 -#endif
49859 -/* We use char because int might match the return type of a gcc2
49860 - builtin and then its argument prototype would still apply. */
49861 -char yywrap ();
49862 int
49863 main ()
49864 {
49865 -yywrap ();
49866 +
49867 ;
49868 return 0;
49869 }
49870 _ACEOF
49871 -rm -f conftest.$ac_objext conftest$ac_exeext
49872 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49873 - (eval $ac_link) 2>conftest.er1
49874 +rm -f conftest.$ac_objext
49875 +if { (ac_try="$ac_compile"
49876 +case "(($ac_try" in
49877 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49878 + *) ac_try_echo=$ac_try;;
49879 +esac
49880 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49881 + (eval "$ac_compile") 2>conftest.er1
49882 ac_status=$?
49883 grep -v '^ *+' conftest.er1 >conftest.err
49884 rm -f conftest.er1
49885 cat conftest.err >&5
49886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49887 - (exit $ac_status); } &&
49888 - { ac_try='test -z "$ac_c_werror_flag"
49889 - || test ! -s conftest.err'
49890 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49891 - (eval $ac_try) 2>&5
49892 + (exit $ac_status); } && {
49893 + test -z "$ac_c_werror_flag" ||
49894 + test ! -s conftest.err
49895 + } && test -s conftest.$ac_objext; then
49896 + ac_cv_prog_cc_g=yes
49897 +else
49898 + echo "$as_me: failed program was:" >&5
49899 +sed 's/^/| /' conftest.$ac_ext >&5
49900 +
49901 + CFLAGS=""
49902 + cat >conftest.$ac_ext <<_ACEOF
49903 +/* confdefs.h. */
49904 +_ACEOF
49905 +cat confdefs.h >>conftest.$ac_ext
49906 +cat >>conftest.$ac_ext <<_ACEOF
49907 +/* end confdefs.h. */
49908 +
49909 +int
49910 +main ()
49911 +{
49912 +
49913 + ;
49914 + return 0;
49915 +}
49916 +_ACEOF
49917 +rm -f conftest.$ac_objext
49918 +if { (ac_try="$ac_compile"
49919 +case "(($ac_try" in
49920 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49921 + *) ac_try_echo=$ac_try;;
49922 +esac
49923 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49924 + (eval "$ac_compile") 2>conftest.er1
49925 ac_status=$?
49926 + grep -v '^ *+' conftest.er1 >conftest.err
49927 + rm -f conftest.er1
49928 + cat conftest.err >&5
49929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49930 - (exit $ac_status); }; } &&
49931 - { ac_try='test -s conftest$ac_exeext'
49932 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49933 - (eval $ac_try) 2>&5
49934 + (exit $ac_status); } && {
49935 + test -z "$ac_c_werror_flag" ||
49936 + test ! -s conftest.err
49937 + } && test -s conftest.$ac_objext; then
49938 + :
49939 +else
49940 + echo "$as_me: failed program was:" >&5
49941 +sed 's/^/| /' conftest.$ac_ext >&5
49942 +
49943 + ac_c_werror_flag=$ac_save_c_werror_flag
49944 + CFLAGS="-g"
49945 + cat >conftest.$ac_ext <<_ACEOF
49946 +/* confdefs.h. */
49947 +_ACEOF
49948 +cat confdefs.h >>conftest.$ac_ext
49949 +cat >>conftest.$ac_ext <<_ACEOF
49950 +/* end confdefs.h. */
49951 +
49952 +int
49953 +main ()
49954 +{
49955 +
49956 + ;
49957 + return 0;
49958 +}
49959 +_ACEOF
49960 +rm -f conftest.$ac_objext
49961 +if { (ac_try="$ac_compile"
49962 +case "(($ac_try" in
49963 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49964 + *) ac_try_echo=$ac_try;;
49965 +esac
49966 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49967 + (eval "$ac_compile") 2>conftest.er1
49968 ac_status=$?
49969 + grep -v '^ *+' conftest.er1 >conftest.err
49970 + rm -f conftest.er1
49971 + cat conftest.err >&5
49972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49973 - (exit $ac_status); }; }; then
49974 - ac_cv_lib_l_yywrap=yes
49975 + (exit $ac_status); } && {
49976 + test -z "$ac_c_werror_flag" ||
49977 + test ! -s conftest.err
49978 + } && test -s conftest.$ac_objext; then
49979 + ac_cv_prog_cc_g=yes
49980 else
49981 echo "$as_me: failed program was:" >&5
49982 sed 's/^/| /' conftest.$ac_ext >&5
49983
49984 -ac_cv_lib_l_yywrap=no
49985 -fi
49986 -rm -f conftest.err conftest.$ac_objext \
49987 - conftest$ac_exeext conftest.$ac_ext
49988 -LIBS=$ac_check_lib_save_LIBS
49989 -fi
49990 -echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
49991 -echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
49992 -if test $ac_cv_lib_l_yywrap = yes; then
49993 - LEXLIB="-ll"
49994 +
49995 fi
49996
49997 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49998 fi
49999
50000 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50001 fi
50002
50003 -if test "x$LEX" != "x:"; then
50004 - echo "$as_me:$LINENO: checking lex output file root" >&5
50005 -echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
50006 -if test "${ac_cv_prog_lex_root+set}" = set; then
50007 - echo $ECHO_N "(cached) $ECHO_C" >&6
50008 -else
50009 - # The minimal lex program is just a single line: %%. But some broken lexes
50010 -# (Solaris, I think it was) want two %% lines, so accommodate them.
50011 -cat >conftest.l <<_ACEOF
50012 -%%
50013 -%%
50014 -_ACEOF
50015 -{ (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
50016 - (eval $LEX conftest.l) 2>&5
50017 - ac_status=$?
50018 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
50019 - (exit $ac_status); }
50020 -if test -f lex.yy.c; then
50021 - ac_cv_prog_lex_root=lex.yy
50022 -elif test -f lexyy.c; then
50023 - ac_cv_prog_lex_root=lexyy
50024 -else
50025 - { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
50026 -echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
50027 - { (exit 1); exit 1; }; }
50028 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50029 + ac_c_werror_flag=$ac_save_c_werror_flag
50030 fi
50031 +{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
50032 +echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
50033 +if test "$ac_test_CFLAGS" = set; then
50034 + CFLAGS=$ac_save_CFLAGS
50035 +elif test $ac_cv_prog_cc_g = yes; then
50036 + if test "$GCC" = yes; then
50037 + CFLAGS="-g -O2"
50038 + else
50039 + CFLAGS="-g"
50040 + fi
50041 +else
50042 + if test "$GCC" = yes; then
50043 + CFLAGS="-O2"
50044 + else
50045 + CFLAGS=
50046 + fi
50047 fi
50048 -echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
50049 -echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
50050 -rm -f conftest.l
50051 -LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
50052 -
50053 -echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
50054 -echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
50055 -if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
50056 +{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
50057 +echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
50058 +if test "${ac_cv_prog_cc_c89+set}" = set; then
50059 echo $ECHO_N "(cached) $ECHO_C" >&6
50060 else
50061 - # POSIX says lex can declare yytext either as a pointer or an array; the
50062 -# default is implementation-dependent. Figure out which it is, since
50063 -# not all implementations provide the %pointer and %array declarations.
50064 -ac_cv_prog_lex_yytext_pointer=no
50065 -echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
50066 -ac_save_LIBS=$LIBS
50067 -LIBS="$LIBS $LEXLIB"
50068 + ac_cv_prog_cc_c89=no
50069 +ac_save_CC=$CC
50070 cat >conftest.$ac_ext <<_ACEOF
50071 -`cat $LEX_OUTPUT_ROOT.c`
50072 +/* confdefs.h. */
50073 _ACEOF
50074 -rm -f conftest.$ac_objext conftest$ac_exeext
50075 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50076 - (eval $ac_link) 2>conftest.er1
50077 +cat confdefs.h >>conftest.$ac_ext
50078 +cat >>conftest.$ac_ext <<_ACEOF
50079 +/* end confdefs.h. */
50080 +#include <stdarg.h>
50081 +#include <stdio.h>
50082 +#include <sys/types.h>
50083 +#include <sys/stat.h>
50084 +/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
50085 +struct buf { int x; };
50086 +FILE * (*rcsopen) (struct buf *, struct stat *, int);
50087 +static char *e (p, i)
50088 + char **p;
50089 + int i;
50090 +{
50091 + return p[i];
50092 +}
50093 +static char *f (char * (*g) (char **, int), char **p, ...)
50094 +{
50095 + char *s;
50096 + va_list v;
50097 + va_start (v,p);
50098 + s = g (p, va_arg (v,int));
50099 + va_end (v);
50100 + return s;
50101 +}
50102 +
50103 +/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
50104 + function prototypes and stuff, but not '\xHH' hex character constants.
50105 + These don't provoke an error unfortunately, instead are silently treated
50106 + as 'x'. The following induces an error, until -std is added to get
50107 + proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
50108 + array size at least. It's necessary to write '\x00'==0 to get something
50109 + that's true only with -std. */
50110 +int osf4_cc_array ['\x00' == 0 ? 1 : -1];
50111 +
50112 +/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
50113 + inside strings and character constants. */
50114 +#define FOO(x) 'x'
50115 +int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
50116 +
50117 +int test (int i, double x);
50118 +struct s1 {int (*f) (int a);};
50119 +struct s2 {int (*f) (double a);};
50120 +int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
50121 +int argc;
50122 +char **argv;
50123 +int
50124 +main ()
50125 +{
50126 +return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
50127 + ;
50128 + return 0;
50129 +}
50130 +_ACEOF
50131 +for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
50132 + -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
50133 +do
50134 + CC="$ac_save_CC $ac_arg"
50135 + rm -f conftest.$ac_objext
50136 +if { (ac_try="$ac_compile"
50137 +case "(($ac_try" in
50138 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
50139 + *) ac_try_echo=$ac_try;;
50140 +esac
50141 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50142 + (eval "$ac_compile") 2>conftest.er1
50143 ac_status=$?
50144 grep -v '^ *+' conftest.er1 >conftest.err
50145 rm -f conftest.er1
50146 cat conftest.err >&5
50147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50148 - (exit $ac_status); } &&
50149 - { ac_try='test -z "$ac_c_werror_flag"
50150 - || test ! -s conftest.err'
50151 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50152 - (eval $ac_try) 2>&5
50153 - ac_status=$?
50154 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
50155 - (exit $ac_status); }; } &&
50156 - { ac_try='test -s conftest$ac_exeext'
50157 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50158 - (eval $ac_try) 2>&5
50159 - ac_status=$?
50160 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
50161 - (exit $ac_status); }; }; then
50162 - ac_cv_prog_lex_yytext_pointer=yes
50163 + (exit $ac_status); } && {
50164 + test -z "$ac_c_werror_flag" ||
50165 + test ! -s conftest.err
50166 + } && test -s conftest.$ac_objext; then
50167 + ac_cv_prog_cc_c89=$ac_arg
50168 else
50169 echo "$as_me: failed program was:" >&5
50170 sed 's/^/| /' conftest.$ac_ext >&5
50171
50172 -fi
50173 -rm -f conftest.err conftest.$ac_objext \
50174 - conftest$ac_exeext conftest.$ac_ext
50175 -LIBS=$ac_save_LIBS
50176 -rm -f "${LEX_OUTPUT_ROOT}.c"
50177
50178 fi
50179 -echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
50180 -echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
50181 -if test $ac_cv_prog_lex_yytext_pointer = yes; then
50182
50183 -cat >>confdefs.h <<\_ACEOF
50184 -#define YYTEXT_POINTER 1
50185 -_ACEOF
50186 +rm -f core conftest.err conftest.$ac_objext
50187 + test "x$ac_cv_prog_cc_c89" != "xno" && break
50188 +done
50189 +rm -f conftest.$ac_ext
50190 +CC=$ac_save_CC
50191
50192 fi
50193 +# AC_CACHE_VAL
50194 +case "x$ac_cv_prog_cc_c89" in
50195 + x)
50196 + { echo "$as_me:$LINENO: result: none needed" >&5
50197 +echo "${ECHO_T}none needed" >&6; } ;;
50198 + xno)
50199 + { echo "$as_me:$LINENO: result: unsupported" >&5
50200 +echo "${ECHO_T}unsupported" >&6; } ;;
50201 + *)
50202 + CC="$CC $ac_cv_prog_cc_c89"
50203 + { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
50204 +echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
50205 +esac
50206
50207 -fi
50208 -if test "$LEX" = :; then
50209 - LEX=${am_missing_run}flex
50210 -fi
50211
50212 -ALL_LINGUAS="fr tr es rw"
50213 -if test -n "$ac_tool_prefix"; then
50214 - # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
50215 -set dummy ${ac_tool_prefix}ranlib; ac_word=$2
50216 -echo "$as_me:$LINENO: checking for $ac_word" >&5
50217 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
50218 -if test "${ac_cv_prog_RANLIB+set}" = set; then
50219 +ac_ext=c
50220 +ac_cpp='$CPP $CPPFLAGS'
50221 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50222 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50223 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
50224 +
50225 +
50226 +for ac_prog in 'bison -y' byacc
50227 +do
50228 + # Extract the first word of "$ac_prog", so it can be a program name with args.
50229 +set dummy $ac_prog; ac_word=$2
50230 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
50231 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50232 +if test "${ac_cv_prog_YACC+set}" = set; then
50233 echo $ECHO_N "(cached) $ECHO_C" >&6
50234 else
50235 - if test -n "$RANLIB"; then
50236 - ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
50237 + if test -n "$YACC"; then
50238 + ac_cv_prog_YACC="$YACC" # Let the user override the test.
50239 else
50240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50241 for as_dir in $PATH
50242 @@ -6237,37 +7051,42 @@
50243 IFS=$as_save_IFS
50244 test -z "$as_dir" && as_dir=.
50245 for ac_exec_ext in '' $ac_executable_extensions; do
50246 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
50247 - ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
50248 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50249 + ac_cv_prog_YACC="$ac_prog"
50250 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50251 break 2
50252 fi
50253 done
50254 done
50255 +IFS=$as_save_IFS
50256
50257 fi
50258 fi
50259 -RANLIB=$ac_cv_prog_RANLIB
50260 -if test -n "$RANLIB"; then
50261 - echo "$as_me:$LINENO: result: $RANLIB" >&5
50262 -echo "${ECHO_T}$RANLIB" >&6
50263 +YACC=$ac_cv_prog_YACC
50264 +if test -n "$YACC"; then
50265 + { echo "$as_me:$LINENO: result: $YACC" >&5
50266 +echo "${ECHO_T}$YACC" >&6; }
50267 else
50268 - echo "$as_me:$LINENO: result: no" >&5
50269 -echo "${ECHO_T}no" >&6
50270 + { echo "$as_me:$LINENO: result: no" >&5
50271 +echo "${ECHO_T}no" >&6; }
50272 fi
50273
50274 -fi
50275 -if test -z "$ac_cv_prog_RANLIB"; then
50276 - ac_ct_RANLIB=$RANLIB
50277 - # Extract the first word of "ranlib", so it can be a program name with args.
50278 -set dummy ranlib; ac_word=$2
50279 -echo "$as_me:$LINENO: checking for $ac_word" >&5
50280 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
50281 -if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
50282 +
50283 + test -n "$YACC" && break
50284 +done
50285 +test -n "$YACC" || YACC="yacc"
50286 +
50287 +for ac_prog in flex lex
50288 +do
50289 + # Extract the first word of "$ac_prog", so it can be a program name with args.
50290 +set dummy $ac_prog; ac_word=$2
50291 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
50292 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50293 +if test "${ac_cv_prog_LEX+set}" = set; then
50294 echo $ECHO_N "(cached) $ECHO_C" >&6
50295 else
50296 - if test -n "$ac_ct_RANLIB"; then
50297 - ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
50298 + if test -n "$LEX"; then
50299 + ac_cv_prog_LEX="$LEX" # Let the user override the test.
50300 else
50301 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50302 for as_dir in $PATH
50303 @@ -6275,449 +7094,295 @@
50304 IFS=$as_save_IFS
50305 test -z "$as_dir" && as_dir=.
50306 for ac_exec_ext in '' $ac_executable_extensions; do
50307 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
50308 - ac_cv_prog_ac_ct_RANLIB="ranlib"
50309 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50310 + ac_cv_prog_LEX="$ac_prog"
50311 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50312 break 2
50313 fi
50314 done
50315 done
50316 +IFS=$as_save_IFS
50317
50318 - test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
50319 fi
50320 fi
50321 -ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
50322 -if test -n "$ac_ct_RANLIB"; then
50323 - echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
50324 -echo "${ECHO_T}$ac_ct_RANLIB" >&6
50325 +LEX=$ac_cv_prog_LEX
50326 +if test -n "$LEX"; then
50327 + { echo "$as_me:$LINENO: result: $LEX" >&5
50328 +echo "${ECHO_T}$LEX" >&6; }
50329 else
50330 - echo "$as_me:$LINENO: result: no" >&5
50331 -echo "${ECHO_T}no" >&6
50332 + { echo "$as_me:$LINENO: result: no" >&5
50333 +echo "${ECHO_T}no" >&6; }
50334 fi
50335
50336 - RANLIB=$ac_ct_RANLIB
50337 -else
50338 - RANLIB="$ac_cv_prog_RANLIB"
50339 -fi
50340
50341 -ac_ext=c
50342 -ac_cpp='$CPP $CPPFLAGS'
50343 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50344 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50345 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
50346 -echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
50347 -echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
50348 -# On Suns, sometimes $CPP names a directory.
50349 -if test -n "$CPP" && test -d "$CPP"; then
50350 - CPP=
50351 -fi
50352 -if test -z "$CPP"; then
50353 - if test "${ac_cv_prog_CPP+set}" = set; then
50354 - echo $ECHO_N "(cached) $ECHO_C" >&6
50355 -else
50356 - # Double quotes because CPP needs to be expanded
50357 - for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
50358 - do
50359 - ac_preproc_ok=false
50360 -for ac_c_preproc_warn_flag in '' yes
50361 -do
50362 - # Use a header file that comes with gcc, so configuring glibc
50363 - # with a fresh cross-compiler works.
50364 - # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50365 - # <limits.h> exists even on freestanding compilers.
50366 - # On the NeXT, cc -E runs the code through the compiler's parser,
50367 - # not just through cpp. "Syntax error" is here to catch this case.
50368 - cat >conftest.$ac_ext <<_ACEOF
50369 -/* confdefs.h. */
50370 -_ACEOF
50371 -cat confdefs.h >>conftest.$ac_ext
50372 -cat >>conftest.$ac_ext <<_ACEOF
50373 -/* end confdefs.h. */
50374 -#ifdef __STDC__
50375 -# include <limits.h>
50376 -#else
50377 -# include <assert.h>
50378 + test -n "$LEX" && break
50379 +done
50380 +test -n "$LEX" || LEX=":"
50381 +
50382 +if test "x$LEX" != "x:"; then
50383 + cat >conftest.l <<_ACEOF
50384 +%%
50385 +a { ECHO; }
50386 +b { REJECT; }
50387 +c { yymore (); }
50388 +d { yyless (1); }
50389 +e { yyless (input () != 0); }
50390 +f { unput (yytext[0]); }
50391 +. { BEGIN INITIAL; }
50392 +%%
50393 +#ifdef YYTEXT_POINTER
50394 +extern char *yytext;
50395 #endif
50396 - Syntax error
50397 +int
50398 +main (void)
50399 +{
50400 + return ! yylex () + ! yywrap ();
50401 +}
50402 _ACEOF
50403 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
50404 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
50405 +{ (ac_try="$LEX conftest.l"
50406 +case "(($ac_try" in
50407 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
50408 + *) ac_try_echo=$ac_try;;
50409 +esac
50410 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50411 + (eval "$LEX conftest.l") 2>&5
50412 ac_status=$?
50413 - grep -v '^ *+' conftest.er1 >conftest.err
50414 - rm -f conftest.er1
50415 - cat conftest.err >&5
50416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50417 - (exit $ac_status); } >/dev/null; then
50418 - if test -s conftest.err; then
50419 - ac_cpp_err=$ac_c_preproc_warn_flag
50420 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
50421 - else
50422 - ac_cpp_err=
50423 - fi
50424 -else
50425 - ac_cpp_err=yes
50426 -fi
50427 -if test -z "$ac_cpp_err"; then
50428 - :
50429 + (exit $ac_status); }
50430 +{ echo "$as_me:$LINENO: checking lex output file root" >&5
50431 +echo $ECHO_N "checking lex output file root... $ECHO_C" >&6; }
50432 +if test "${ac_cv_prog_lex_root+set}" = set; then
50433 + echo $ECHO_N "(cached) $ECHO_C" >&6
50434 else
50435 - echo "$as_me: failed program was:" >&5
50436 -sed 's/^/| /' conftest.$ac_ext >&5
50437 -
50438 - # Broken: fails on valid input.
50439 -continue
50440 -fi
50441 -rm -f conftest.err conftest.$ac_ext
50442
50443 - # OK, works on sane cases. Now check whether non-existent headers
50444 - # can be detected and how.
50445 - cat >conftest.$ac_ext <<_ACEOF
50446 -/* confdefs.h. */
50447 -_ACEOF
50448 -cat confdefs.h >>conftest.$ac_ext
50449 -cat >>conftest.$ac_ext <<_ACEOF
50450 -/* end confdefs.h. */
50451 -#include <ac_nonexistent.h>
50452 -_ACEOF
50453 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
50454 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
50455 - ac_status=$?
50456 - grep -v '^ *+' conftest.er1 >conftest.err
50457 - rm -f conftest.er1
50458 - cat conftest.err >&5
50459 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
50460 - (exit $ac_status); } >/dev/null; then
50461 - if test -s conftest.err; then
50462 - ac_cpp_err=$ac_c_preproc_warn_flag
50463 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
50464 - else
50465 - ac_cpp_err=
50466 - fi
50467 -else
50468 - ac_cpp_err=yes
50469 -fi
50470 -if test -z "$ac_cpp_err"; then
50471 - # Broken: success on invalid input.
50472 -continue
50473 +if test -f lex.yy.c; then
50474 + ac_cv_prog_lex_root=lex.yy
50475 +elif test -f lexyy.c; then
50476 + ac_cv_prog_lex_root=lexyy
50477 else
50478 - echo "$as_me: failed program was:" >&5
50479 -sed 's/^/| /' conftest.$ac_ext >&5
50480 -
50481 - # Passes both tests.
50482 -ac_preproc_ok=:
50483 -break
50484 + { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
50485 +echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
50486 + { (exit 1); exit 1; }; }
50487 fi
50488 -rm -f conftest.err conftest.$ac_ext
50489 -
50490 -done
50491 -# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
50492 -rm -f conftest.err conftest.$ac_ext
50493 -if $ac_preproc_ok; then
50494 - break
50495 fi
50496 +{ echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
50497 +echo "${ECHO_T}$ac_cv_prog_lex_root" >&6; }
50498 +LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
50499
50500 - done
50501 - ac_cv_prog_CPP=$CPP
50502 -
50503 -fi
50504 - CPP=$ac_cv_prog_CPP
50505 -else
50506 - ac_cv_prog_CPP=$CPP
50507 -fi
50508 -echo "$as_me:$LINENO: result: $CPP" >&5
50509 -echo "${ECHO_T}$CPP" >&6
50510 -ac_preproc_ok=false
50511 -for ac_c_preproc_warn_flag in '' yes
50512 -do
50513 - # Use a header file that comes with gcc, so configuring glibc
50514 - # with a fresh cross-compiler works.
50515 - # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50516 - # <limits.h> exists even on freestanding compilers.
50517 - # On the NeXT, cc -E runs the code through the compiler's parser,
50518 - # not just through cpp. "Syntax error" is here to catch this case.
50519 - cat >conftest.$ac_ext <<_ACEOF
50520 -/* confdefs.h. */
50521 -_ACEOF
50522 -cat confdefs.h >>conftest.$ac_ext
50523 -cat >>conftest.$ac_ext <<_ACEOF
50524 -/* end confdefs.h. */
50525 -#ifdef __STDC__
50526 -# include <limits.h>
50527 -#else
50528 -# include <assert.h>
50529 -#endif
50530 - Syntax error
50531 -_ACEOF
50532 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
50533 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
50534 - ac_status=$?
50535 - grep -v '^ *+' conftest.er1 >conftest.err
50536 - rm -f conftest.er1
50537 - cat conftest.err >&5
50538 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
50539 - (exit $ac_status); } >/dev/null; then
50540 - if test -s conftest.err; then
50541 - ac_cpp_err=$ac_c_preproc_warn_flag
50542 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
50543 - else
50544 - ac_cpp_err=
50545 - fi
50546 -else
50547 - ac_cpp_err=yes
50548 -fi
50549 -if test -z "$ac_cpp_err"; then
50550 - :
50551 +if test -z "${LEXLIB+set}"; then
50552 + { echo "$as_me:$LINENO: checking lex library" >&5
50553 +echo $ECHO_N "checking lex library... $ECHO_C" >&6; }
50554 +if test "${ac_cv_lib_lex+set}" = set; then
50555 + echo $ECHO_N "(cached) $ECHO_C" >&6
50556 else
50557 - echo "$as_me: failed program was:" >&5
50558 -sed 's/^/| /' conftest.$ac_ext >&5
50559 -
50560 - # Broken: fails on valid input.
50561 -continue
50562 -fi
50563 -rm -f conftest.err conftest.$ac_ext
50564
50565 - # OK, works on sane cases. Now check whether non-existent headers
50566 - # can be detected and how.
50567 - cat >conftest.$ac_ext <<_ACEOF
50568 -/* confdefs.h. */
50569 -_ACEOF
50570 -cat confdefs.h >>conftest.$ac_ext
50571 -cat >>conftest.$ac_ext <<_ACEOF
50572 -/* end confdefs.h. */
50573 -#include <ac_nonexistent.h>
50574 + ac_save_LIBS=$LIBS
50575 + ac_cv_lib_lex='none needed'
50576 + for ac_lib in '' -lfl -ll; do
50577 + LIBS="$ac_lib $ac_save_LIBS"
50578 + cat >conftest.$ac_ext <<_ACEOF
50579 +`cat $LEX_OUTPUT_ROOT.c`
50580 _ACEOF
50581 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
50582 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
50583 +rm -f conftest.$ac_objext conftest$ac_exeext
50584 +if { (ac_try="$ac_link"
50585 +case "(($ac_try" in
50586 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
50587 + *) ac_try_echo=$ac_try;;
50588 +esac
50589 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50590 + (eval "$ac_link") 2>conftest.er1
50591 ac_status=$?
50592 grep -v '^ *+' conftest.er1 >conftest.err
50593 rm -f conftest.er1
50594 cat conftest.err >&5
50595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50596 - (exit $ac_status); } >/dev/null; then
50597 - if test -s conftest.err; then
50598 - ac_cpp_err=$ac_c_preproc_warn_flag
50599 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
50600 - else
50601 - ac_cpp_err=
50602 - fi
50603 -else
50604 - ac_cpp_err=yes
50605 -fi
50606 -if test -z "$ac_cpp_err"; then
50607 - # Broken: success on invalid input.
50608 -continue
50609 + (exit $ac_status); } && {
50610 + test -z "$ac_c_werror_flag" ||
50611 + test ! -s conftest.err
50612 + } && test -s conftest$ac_exeext &&
50613 + $as_test_x conftest$ac_exeext; then
50614 + ac_cv_lib_lex=$ac_lib
50615 else
50616 echo "$as_me: failed program was:" >&5
50617 sed 's/^/| /' conftest.$ac_ext >&5
50618
50619 - # Passes both tests.
50620 -ac_preproc_ok=:
50621 -break
50622 -fi
50623 -rm -f conftest.err conftest.$ac_ext
50624
50625 -done
50626 -# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
50627 -rm -f conftest.err conftest.$ac_ext
50628 -if $ac_preproc_ok; then
50629 - :
50630 -else
50631 - { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
50632 -See \`config.log' for more details." >&5
50633 -echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
50634 -See \`config.log' for more details." >&2;}
50635 - { (exit 1); exit 1; }; }
50636 fi
50637
50638 -ac_ext=c
50639 -ac_cpp='$CPP $CPPFLAGS'
50640 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50641 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50642 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
50643 -
50644 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
50645 + conftest$ac_exeext conftest.$ac_ext
50646 + test "$ac_cv_lib_lex" != 'none needed' && break
50647 + done
50648 + LIBS=$ac_save_LIBS
50649
50650 -echo "$as_me:$LINENO: checking for egrep" >&5
50651 -echo $ECHO_N "checking for egrep... $ECHO_C" >&6
50652 -if test "${ac_cv_prog_egrep+set}" = set; then
50653 - echo $ECHO_N "(cached) $ECHO_C" >&6
50654 -else
50655 - if echo a | (grep -E '(a|b)') >/dev/null 2>&1
50656 - then ac_cv_prog_egrep='grep -E'
50657 - else ac_cv_prog_egrep='egrep'
50658 - fi
50659 fi
50660 -echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
50661 -echo "${ECHO_T}$ac_cv_prog_egrep" >&6
50662 - EGREP=$ac_cv_prog_egrep
50663 -
50664 -
50665 -echo "$as_me:$LINENO: checking for ANSI C header files" >&5
50666 -echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
50667 -if test "${ac_cv_header_stdc+set}" = set; then
50668 - echo $ECHO_N "(cached) $ECHO_C" >&6
50669 -else
50670 - cat >conftest.$ac_ext <<_ACEOF
50671 -/* confdefs.h. */
50672 -_ACEOF
50673 -cat confdefs.h >>conftest.$ac_ext
50674 -cat >>conftest.$ac_ext <<_ACEOF
50675 -/* end confdefs.h. */
50676 -#include <stdlib.h>
50677 -#include <stdarg.h>
50678 -#include <string.h>
50679 -#include <float.h>
50680 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_lex" >&5
50681 +echo "${ECHO_T}$ac_cv_lib_lex" >&6; }
50682 + test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex
50683 +fi
50684
50685 -int
50686 -main ()
50687 -{
50688
50689 - ;
50690 - return 0;
50691 -}
50692 +{ echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
50693 +echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6; }
50694 +if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
50695 + echo $ECHO_N "(cached) $ECHO_C" >&6
50696 +else
50697 + # POSIX says lex can declare yytext either as a pointer or an array; the
50698 +# default is implementation-dependent. Figure out which it is, since
50699 +# not all implementations provide the %pointer and %array declarations.
50700 +ac_cv_prog_lex_yytext_pointer=no
50701 +ac_save_LIBS=$LIBS
50702 +LIBS="$LEXLIB $ac_save_LIBS"
50703 +cat >conftest.$ac_ext <<_ACEOF
50704 +#define YYTEXT_POINTER 1
50705 +`cat $LEX_OUTPUT_ROOT.c`
50706 _ACEOF
50707 -rm -f conftest.$ac_objext
50708 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50709 - (eval $ac_compile) 2>conftest.er1
50710 +rm -f conftest.$ac_objext conftest$ac_exeext
50711 +if { (ac_try="$ac_link"
50712 +case "(($ac_try" in
50713 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
50714 + *) ac_try_echo=$ac_try;;
50715 +esac
50716 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50717 + (eval "$ac_link") 2>conftest.er1
50718 ac_status=$?
50719 grep -v '^ *+' conftest.er1 >conftest.err
50720 rm -f conftest.er1
50721 cat conftest.err >&5
50722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50723 - (exit $ac_status); } &&
50724 - { ac_try='test -z "$ac_c_werror_flag"
50725 - || test ! -s conftest.err'
50726 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50727 - (eval $ac_try) 2>&5
50728 - ac_status=$?
50729 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
50730 - (exit $ac_status); }; } &&
50731 - { ac_try='test -s conftest.$ac_objext'
50732 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50733 - (eval $ac_try) 2>&5
50734 - ac_status=$?
50735 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
50736 - (exit $ac_status); }; }; then
50737 - ac_cv_header_stdc=yes
50738 + (exit $ac_status); } && {
50739 + test -z "$ac_c_werror_flag" ||
50740 + test ! -s conftest.err
50741 + } && test -s conftest$ac_exeext &&
50742 + $as_test_x conftest$ac_exeext; then
50743 + ac_cv_prog_lex_yytext_pointer=yes
50744 else
50745 echo "$as_me: failed program was:" >&5
50746 sed 's/^/| /' conftest.$ac_ext >&5
50747
50748 -ac_cv_header_stdc=no
50749 -fi
50750 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50751 -
50752 -if test $ac_cv_header_stdc = yes; then
50753 - # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
50754 - cat >conftest.$ac_ext <<_ACEOF
50755 -/* confdefs.h. */
50756 -_ACEOF
50757 -cat confdefs.h >>conftest.$ac_ext
50758 -cat >>conftest.$ac_ext <<_ACEOF
50759 -/* end confdefs.h. */
50760 -#include <string.h>
50761
50762 -_ACEOF
50763 -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
50764 - $EGREP "memchr" >/dev/null 2>&1; then
50765 - :
50766 -else
50767 - ac_cv_header_stdc=no
50768 fi
50769 -rm -f conftest*
50770 +
50771 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
50772 + conftest$ac_exeext conftest.$ac_ext
50773 +LIBS=$ac_save_LIBS
50774
50775 fi
50776 +{ echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
50777 +echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6; }
50778 +if test $ac_cv_prog_lex_yytext_pointer = yes; then
50779
50780 -if test $ac_cv_header_stdc = yes; then
50781 - # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
50782 - cat >conftest.$ac_ext <<_ACEOF
50783 -/* confdefs.h. */
50784 +cat >>confdefs.h <<\_ACEOF
50785 +#define YYTEXT_POINTER 1
50786 _ACEOF
50787 -cat confdefs.h >>conftest.$ac_ext
50788 -cat >>conftest.$ac_ext <<_ACEOF
50789 -/* end confdefs.h. */
50790 -#include <stdlib.h>
50791
50792 -_ACEOF
50793 -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
50794 - $EGREP "free" >/dev/null 2>&1; then
50795 - :
50796 -else
50797 - ac_cv_header_stdc=no
50798 fi
50799 -rm -f conftest*
50800 +rm -f conftest.l $LEX_OUTPUT_ROOT.c
50801
50802 fi
50803 +if test "$LEX" = :; then
50804 + LEX=${am_missing_run}flex
50805 +fi
50806
50807 -if test $ac_cv_header_stdc = yes; then
50808 - # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
50809 - if test "$cross_compiling" = yes; then
50810 - :
50811 +ALL_LINGUAS="fr tr es rw"
50812 +if test -n "$ac_tool_prefix"; then
50813 + # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
50814 +set dummy ${ac_tool_prefix}ranlib; ac_word=$2
50815 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
50816 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50817 +if test "${ac_cv_prog_RANLIB+set}" = set; then
50818 + echo $ECHO_N "(cached) $ECHO_C" >&6
50819 else
50820 - cat >conftest.$ac_ext <<_ACEOF
50821 -/* confdefs.h. */
50822 -_ACEOF
50823 -cat confdefs.h >>conftest.$ac_ext
50824 -cat >>conftest.$ac_ext <<_ACEOF
50825 -/* end confdefs.h. */
50826 -#include <ctype.h>
50827 -#if ((' ' & 0x0FF) == 0x020)
50828 -# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
50829 -# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
50830 -#else
50831 -# define ISLOWER(c) \
50832 - (('a' <= (c) && (c) <= 'i') \
50833 - || ('j' <= (c) && (c) <= 'r') \
50834 - || ('s' <= (c) && (c) <= 'z'))
50835 -# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
50836 -#endif
50837 -
50838 -#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
50839 -int
50840 -main ()
50841 -{
50842 - int i;
50843 - for (i = 0; i < 256; i++)
50844 - if (XOR (islower (i), ISLOWER (i))
50845 - || toupper (i) != TOUPPER (i))
50846 - exit(2);
50847 - exit (0);
50848 -}
50849 -_ACEOF
50850 -rm -f conftest$ac_exeext
50851 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50852 - (eval $ac_link) 2>&5
50853 - ac_status=$?
50854 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
50855 - (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
50856 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50857 - (eval $ac_try) 2>&5
50858 - ac_status=$?
50859 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
50860 - (exit $ac_status); }; }; then
50861 - :
50862 + if test -n "$RANLIB"; then
50863 + ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
50864 else
50865 - echo "$as_me: program exited with status $ac_status" >&5
50866 -echo "$as_me: failed program was:" >&5
50867 -sed 's/^/| /' conftest.$ac_ext >&5
50868 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50869 +for as_dir in $PATH
50870 +do
50871 + IFS=$as_save_IFS
50872 + test -z "$as_dir" && as_dir=.
50873 + for ac_exec_ext in '' $ac_executable_extensions; do
50874 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50875 + ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
50876 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50877 + break 2
50878 + fi
50879 +done
50880 +done
50881 +IFS=$as_save_IFS
50882
50883 -( exit $ac_status )
50884 -ac_cv_header_stdc=no
50885 fi
50886 -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
50887 fi
50888 +RANLIB=$ac_cv_prog_RANLIB
50889 +if test -n "$RANLIB"; then
50890 + { echo "$as_me:$LINENO: result: $RANLIB" >&5
50891 +echo "${ECHO_T}$RANLIB" >&6; }
50892 +else
50893 + { echo "$as_me:$LINENO: result: no" >&5
50894 +echo "${ECHO_T}no" >&6; }
50895 fi
50896 +
50897 +
50898 fi
50899 -echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
50900 -echo "${ECHO_T}$ac_cv_header_stdc" >&6
50901 -if test $ac_cv_header_stdc = yes; then
50902 +if test -z "$ac_cv_prog_RANLIB"; then
50903 + ac_ct_RANLIB=$RANLIB
50904 + # Extract the first word of "ranlib", so it can be a program name with args.
50905 +set dummy ranlib; ac_word=$2
50906 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
50907 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50908 +if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
50909 + echo $ECHO_N "(cached) $ECHO_C" >&6
50910 +else
50911 + if test -n "$ac_ct_RANLIB"; then
50912 + ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
50913 +else
50914 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50915 +for as_dir in $PATH
50916 +do
50917 + IFS=$as_save_IFS
50918 + test -z "$as_dir" && as_dir=.
50919 + for ac_exec_ext in '' $ac_executable_extensions; do
50920 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50921 + ac_cv_prog_ac_ct_RANLIB="ranlib"
50922 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50923 + break 2
50924 + fi
50925 +done
50926 +done
50927 +IFS=$as_save_IFS
50928
50929 -cat >>confdefs.h <<\_ACEOF
50930 -#define STDC_HEADERS 1
50931 -_ACEOF
50932 +fi
50933 +fi
50934 +ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
50935 +if test -n "$ac_ct_RANLIB"; then
50936 + { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
50937 +echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
50938 +else
50939 + { echo "$as_me:$LINENO: result: no" >&5
50940 +echo "${ECHO_T}no" >&6; }
50941 +fi
50942
50943 + if test "x$ac_ct_RANLIB" = x; then
50944 + RANLIB=":"
50945 + else
50946 + case $cross_compiling:$ac_tool_warned in
50947 +yes:)
50948 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
50949 +whose name does not start with the host triplet. If you think this
50950 +configuration is useful to you, please write to autoconf@gnu.org." >&5
50951 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
50952 +whose name does not start with the host triplet. If you think this
50953 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
50954 +ac_tool_warned=yes ;;
50955 +esac
50956 + RANLIB=$ac_ct_RANLIB
50957 + fi
50958 +else
50959 + RANLIB="$ac_cv_prog_RANLIB"
50960 fi
50961
50962 -echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
50963 -echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
50964 +{ echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
50965 +echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
50966 if test "${ac_cv_c_const+set}" = set; then
50967 echo $ECHO_N "(cached) $ECHO_C" >&6
50968 else
50969 @@ -6735,10 +7400,10 @@
50970 #ifndef __cplusplus
50971 /* Ultrix mips cc rejects this. */
50972 typedef int charset[2];
50973 - const charset x;
50974 + const charset cs;
50975 /* SunOS 4.1.1 cc rejects this. */
50976 - char const *const *ccp;
50977 - char **p;
50978 + char const *const *pcpcc;
50979 + char **ppc;
50980 /* NEC SVR4.0.2 mips cc rejects this. */
50981 struct point {int x, y;};
50982 static struct point const zero = {0,0};
50983 @@ -6747,16 +7412,17 @@
50984 an arm of an if-expression whose if-part is not a constant
50985 expression */
50986 const char *g = "string";
50987 - ccp = &g + (g ? g-g : 0);
50988 + pcpcc = &g + (g ? g-g : 0);
50989 /* HPUX 7.0 cc rejects these. */
50990 - ++ccp;
50991 - p = (char**) ccp;
50992 - ccp = (char const *const *) p;
50993 + ++pcpcc;
50994 + ppc = (char**) pcpcc;
50995 + pcpcc = (char const *const *) ppc;
50996 { /* SCO 3.2v4 cc rejects this. */
50997 char *t;
50998 char const *s = 0 ? (char *) 0 : (char const *) 0;
50999
51000 *t++ = 0;
51001 + if (s) return 0;
51002 }
51003 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
51004 int x[] = {25, 17};
51005 @@ -6775,7 +7441,9 @@
51006 }
51007 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
51008 const int foo = 10;
51009 + if (!foo) return 0;
51010 }
51011 + return !cs[0] && !zero.x;
51012 #endif
51013
51014 ;
51015 @@ -6783,38 +7451,34 @@
51016 }
51017 _ACEOF
51018 rm -f conftest.$ac_objext
51019 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51020 - (eval $ac_compile) 2>conftest.er1
51021 +if { (ac_try="$ac_compile"
51022 +case "(($ac_try" in
51023 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51024 + *) ac_try_echo=$ac_try;;
51025 +esac
51026 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51027 + (eval "$ac_compile") 2>conftest.er1
51028 ac_status=$?
51029 grep -v '^ *+' conftest.er1 >conftest.err
51030 rm -f conftest.er1
51031 cat conftest.err >&5
51032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51033 - (exit $ac_status); } &&
51034 - { ac_try='test -z "$ac_c_werror_flag"
51035 - || test ! -s conftest.err'
51036 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51037 - (eval $ac_try) 2>&5
51038 - ac_status=$?
51039 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
51040 - (exit $ac_status); }; } &&
51041 - { ac_try='test -s conftest.$ac_objext'
51042 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51043 - (eval $ac_try) 2>&5
51044 - ac_status=$?
51045 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
51046 - (exit $ac_status); }; }; then
51047 + (exit $ac_status); } && {
51048 + test -z "$ac_c_werror_flag" ||
51049 + test ! -s conftest.err
51050 + } && test -s conftest.$ac_objext; then
51051 ac_cv_c_const=yes
51052 else
51053 echo "$as_me: failed program was:" >&5
51054 sed 's/^/| /' conftest.$ac_ext >&5
51055
51056 -ac_cv_c_const=no
51057 + ac_cv_c_const=no
51058 fi
51059 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51060 +
51061 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51062 fi
51063 -echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
51064 -echo "${ECHO_T}$ac_cv_c_const" >&6
51065 +{ echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
51066 +echo "${ECHO_T}$ac_cv_c_const" >&6; }
51067 if test $ac_cv_c_const = no; then
51068
51069 cat >>confdefs.h <<\_ACEOF
51070 @@ -6823,8 +7487,8 @@
51071
51072 fi
51073
51074 -echo "$as_me:$LINENO: checking for inline" >&5
51075 -echo $ECHO_N "checking for inline... $ECHO_C" >&6
51076 +{ echo "$as_me:$LINENO: checking for inline" >&5
51077 +echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
51078 if test "${ac_cv_c_inline+set}" = set; then
51079 echo $ECHO_N "(cached) $ECHO_C" >&6
51080 else
51081 @@ -6844,39 +7508,37 @@
51082
51083 _ACEOF
51084 rm -f conftest.$ac_objext
51085 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51086 - (eval $ac_compile) 2>conftest.er1
51087 +if { (ac_try="$ac_compile"
51088 +case "(($ac_try" in
51089 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51090 + *) ac_try_echo=$ac_try;;
51091 +esac
51092 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51093 + (eval "$ac_compile") 2>conftest.er1
51094 ac_status=$?
51095 grep -v '^ *+' conftest.er1 >conftest.err
51096 rm -f conftest.er1
51097 cat conftest.err >&5
51098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51099 - (exit $ac_status); } &&
51100 - { ac_try='test -z "$ac_c_werror_flag"
51101 - || test ! -s conftest.err'
51102 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51103 - (eval $ac_try) 2>&5
51104 - ac_status=$?
51105 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
51106 - (exit $ac_status); }; } &&
51107 - { ac_try='test -s conftest.$ac_objext'
51108 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51109 - (eval $ac_try) 2>&5
51110 - ac_status=$?
51111 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
51112 - (exit $ac_status); }; }; then
51113 - ac_cv_c_inline=$ac_kw; break
51114 + (exit $ac_status); } && {
51115 + test -z "$ac_c_werror_flag" ||
51116 + test ! -s conftest.err
51117 + } && test -s conftest.$ac_objext; then
51118 + ac_cv_c_inline=$ac_kw
51119 else
51120 echo "$as_me: failed program was:" >&5
51121 sed 's/^/| /' conftest.$ac_ext >&5
51122
51123 +
51124 fi
51125 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51126 +
51127 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51128 + test "$ac_cv_c_inline" != no && break
51129 done
51130
51131 fi
51132 -echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
51133 -echo "${ECHO_T}$ac_cv_c_inline" >&6
51134 +{ echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
51135 +echo "${ECHO_T}$ac_cv_c_inline" >&6; }
51136
51137
51138 case $ac_cv_c_inline in
51139 @@ -6894,80 +7556,8 @@
51140 ;;
51141 esac
51142
51143 -# On IRIX 5.3, sys/types and inttypes.h are conflicting.
51144 -
51145 -
51146 -
51147 -
51148 -
51149 -
51150 -
51151 -
51152 -
51153 -for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
51154 - inttypes.h stdint.h unistd.h
51155 -do
51156 -as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
51157 -echo "$as_me:$LINENO: checking for $ac_header" >&5
51158 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
51159 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
51160 - echo $ECHO_N "(cached) $ECHO_C" >&6
51161 -else
51162 - cat >conftest.$ac_ext <<_ACEOF
51163 -/* confdefs.h. */
51164 -_ACEOF
51165 -cat confdefs.h >>conftest.$ac_ext
51166 -cat >>conftest.$ac_ext <<_ACEOF
51167 -/* end confdefs.h. */
51168 -$ac_includes_default
51169 -
51170 -#include <$ac_header>
51171 -_ACEOF
51172 -rm -f conftest.$ac_objext
51173 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51174 - (eval $ac_compile) 2>conftest.er1
51175 - ac_status=$?
51176 - grep -v '^ *+' conftest.er1 >conftest.err
51177 - rm -f conftest.er1
51178 - cat conftest.err >&5
51179 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
51180 - (exit $ac_status); } &&
51181 - { ac_try='test -z "$ac_c_werror_flag"
51182 - || test ! -s conftest.err'
51183 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51184 - (eval $ac_try) 2>&5
51185 - ac_status=$?
51186 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
51187 - (exit $ac_status); }; } &&
51188 - { ac_try='test -s conftest.$ac_objext'
51189 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51190 - (eval $ac_try) 2>&5
51191 - ac_status=$?
51192 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
51193 - (exit $ac_status); }; }; then
51194 - eval "$as_ac_Header=yes"
51195 -else
51196 - echo "$as_me: failed program was:" >&5
51197 -sed 's/^/| /' conftest.$ac_ext >&5
51198 -
51199 -eval "$as_ac_Header=no"
51200 -fi
51201 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51202 -fi
51203 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
51204 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
51205 -if test `eval echo '${'$as_ac_Header'}'` = yes; then
51206 - cat >>confdefs.h <<_ACEOF
51207 -#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
51208 -_ACEOF
51209 -
51210 -fi
51211 -
51212 -done
51213 -
51214 -
51215 -echo "$as_me:$LINENO: checking for off_t" >&5
51216 -echo $ECHO_N "checking for off_t... $ECHO_C" >&6
51217 +{ echo "$as_me:$LINENO: checking for off_t" >&5
51218 +echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
51219 if test "${ac_cv_type_off_t+set}" = set; then
51220 echo $ECHO_N "(cached) $ECHO_C" >&6
51221 else
51222 @@ -6978,62 +7568,59 @@
51223 cat >>conftest.$ac_ext <<_ACEOF
51224 /* end confdefs.h. */
51225 $ac_includes_default
51226 +typedef off_t ac__type_new_;
51227 int
51228 main ()
51229 {
51230 -if ((off_t *) 0)
51231 +if ((ac__type_new_ *) 0)
51232 return 0;
51233 -if (sizeof (off_t))
51234 +if (sizeof (ac__type_new_))
51235 return 0;
51236 ;
51237 return 0;
51238 }
51239 _ACEOF
51240 rm -f conftest.$ac_objext
51241 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51242 - (eval $ac_compile) 2>conftest.er1
51243 +if { (ac_try="$ac_compile"
51244 +case "(($ac_try" in
51245 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51246 + *) ac_try_echo=$ac_try;;
51247 +esac
51248 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51249 + (eval "$ac_compile") 2>conftest.er1
51250 ac_status=$?
51251 grep -v '^ *+' conftest.er1 >conftest.err
51252 rm -f conftest.er1
51253 cat conftest.err >&5
51254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51255 - (exit $ac_status); } &&
51256 - { ac_try='test -z "$ac_c_werror_flag"
51257 - || test ! -s conftest.err'
51258 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51259 - (eval $ac_try) 2>&5
51260 - ac_status=$?
51261 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
51262 - (exit $ac_status); }; } &&
51263 - { ac_try='test -s conftest.$ac_objext'
51264 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51265 - (eval $ac_try) 2>&5
51266 - ac_status=$?
51267 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
51268 - (exit $ac_status); }; }; then
51269 + (exit $ac_status); } && {
51270 + test -z "$ac_c_werror_flag" ||
51271 + test ! -s conftest.err
51272 + } && test -s conftest.$ac_objext; then
51273 ac_cv_type_off_t=yes
51274 else
51275 echo "$as_me: failed program was:" >&5
51276 sed 's/^/| /' conftest.$ac_ext >&5
51277
51278 -ac_cv_type_off_t=no
51279 + ac_cv_type_off_t=no
51280 fi
51281 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51282 +
51283 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51284 fi
51285 -echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
51286 -echo "${ECHO_T}$ac_cv_type_off_t" >&6
51287 +{ echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
51288 +echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
51289 if test $ac_cv_type_off_t = yes; then
51290 :
51291 else
51292
51293 cat >>confdefs.h <<_ACEOF
51294 -#define off_t long
51295 +#define off_t long int
51296 _ACEOF
51297
51298 fi
51299
51300 -echo "$as_me:$LINENO: checking for size_t" >&5
51301 -echo $ECHO_N "checking for size_t... $ECHO_C" >&6
51302 +{ echo "$as_me:$LINENO: checking for size_t" >&5
51303 +echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
51304 if test "${ac_cv_type_size_t+set}" = set; then
51305 echo $ECHO_N "(cached) $ECHO_C" >&6
51306 else
51307 @@ -7044,64 +7631,61 @@
51308 cat >>conftest.$ac_ext <<_ACEOF
51309 /* end confdefs.h. */
51310 $ac_includes_default
51311 +typedef size_t ac__type_new_;
51312 int
51313 main ()
51314 {
51315 -if ((size_t *) 0)
51316 +if ((ac__type_new_ *) 0)
51317 return 0;
51318 -if (sizeof (size_t))
51319 +if (sizeof (ac__type_new_))
51320 return 0;
51321 ;
51322 return 0;
51323 }
51324 _ACEOF
51325 rm -f conftest.$ac_objext
51326 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51327 - (eval $ac_compile) 2>conftest.er1
51328 +if { (ac_try="$ac_compile"
51329 +case "(($ac_try" in
51330 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51331 + *) ac_try_echo=$ac_try;;
51332 +esac
51333 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51334 + (eval "$ac_compile") 2>conftest.er1
51335 ac_status=$?
51336 grep -v '^ *+' conftest.er1 >conftest.err
51337 rm -f conftest.er1
51338 cat conftest.err >&5
51339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51340 - (exit $ac_status); } &&
51341 - { ac_try='test -z "$ac_c_werror_flag"
51342 - || test ! -s conftest.err'
51343 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51344 - (eval $ac_try) 2>&5
51345 - ac_status=$?
51346 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
51347 - (exit $ac_status); }; } &&
51348 - { ac_try='test -s conftest.$ac_objext'
51349 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51350 - (eval $ac_try) 2>&5
51351 - ac_status=$?
51352 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
51353 - (exit $ac_status); }; }; then
51354 + (exit $ac_status); } && {
51355 + test -z "$ac_c_werror_flag" ||
51356 + test ! -s conftest.err
51357 + } && test -s conftest.$ac_objext; then
51358 ac_cv_type_size_t=yes
51359 else
51360 echo "$as_me: failed program was:" >&5
51361 sed 's/^/| /' conftest.$ac_ext >&5
51362
51363 -ac_cv_type_size_t=no
51364 + ac_cv_type_size_t=no
51365 fi
51366 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51367 +
51368 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51369 fi
51370 -echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
51371 -echo "${ECHO_T}$ac_cv_type_size_t" >&6
51372 +{ echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
51373 +echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
51374 if test $ac_cv_type_size_t = yes; then
51375 :
51376 else
51377
51378 cat >>confdefs.h <<_ACEOF
51379 -#define size_t unsigned
51380 +#define size_t unsigned int
51381 _ACEOF
51382
51383 fi
51384
51385 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
51386 # for constant arguments. Useless!
51387 -echo "$as_me:$LINENO: checking for working alloca.h" >&5
51388 -echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
51389 +{ echo "$as_me:$LINENO: checking for working alloca.h" >&5
51390 +echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6; }
51391 if test "${ac_cv_working_alloca_h+set}" = set; then
51392 echo $ECHO_N "(cached) $ECHO_C" >&6
51393 else
51394 @@ -7116,44 +7700,42 @@
51395 main ()
51396 {
51397 char *p = (char *) alloca (2 * sizeof (int));
51398 + if (p) return 0;
51399 ;
51400 return 0;
51401 }
51402 _ACEOF
51403 rm -f conftest.$ac_objext conftest$ac_exeext
51404 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51405 - (eval $ac_link) 2>conftest.er1
51406 +if { (ac_try="$ac_link"
51407 +case "(($ac_try" in
51408 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51409 + *) ac_try_echo=$ac_try;;
51410 +esac
51411 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51412 + (eval "$ac_link") 2>conftest.er1
51413 ac_status=$?
51414 grep -v '^ *+' conftest.er1 >conftest.err
51415 rm -f conftest.er1
51416 cat conftest.err >&5
51417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51418 - (exit $ac_status); } &&
51419 - { ac_try='test -z "$ac_c_werror_flag"
51420 - || test ! -s conftest.err'
51421 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51422 - (eval $ac_try) 2>&5
51423 - ac_status=$?
51424 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
51425 - (exit $ac_status); }; } &&
51426 - { ac_try='test -s conftest$ac_exeext'
51427 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51428 - (eval $ac_try) 2>&5
51429 - ac_status=$?
51430 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
51431 - (exit $ac_status); }; }; then
51432 + (exit $ac_status); } && {
51433 + test -z "$ac_c_werror_flag" ||
51434 + test ! -s conftest.err
51435 + } && test -s conftest$ac_exeext &&
51436 + $as_test_x conftest$ac_exeext; then
51437 ac_cv_working_alloca_h=yes
51438 else
51439 echo "$as_me: failed program was:" >&5
51440 sed 's/^/| /' conftest.$ac_ext >&5
51441
51442 -ac_cv_working_alloca_h=no
51443 + ac_cv_working_alloca_h=no
51444 fi
51445 -rm -f conftest.err conftest.$ac_objext \
51446 +
51447 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
51448 conftest$ac_exeext conftest.$ac_ext
51449 fi
51450 -echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
51451 -echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
51452 +{ echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
51453 +echo "${ECHO_T}$ac_cv_working_alloca_h" >&6; }
51454 if test $ac_cv_working_alloca_h = yes; then
51455
51456 cat >>confdefs.h <<\_ACEOF
51457 @@ -7162,8 +7744,8 @@
51458
51459 fi
51460
51461 -echo "$as_me:$LINENO: checking for alloca" >&5
51462 -echo $ECHO_N "checking for alloca... $ECHO_C" >&6
51463 +{ echo "$as_me:$LINENO: checking for alloca" >&5
51464 +echo $ECHO_N "checking for alloca... $ECHO_C" >&6; }
51465 if test "${ac_cv_func_alloca_works+set}" = set; then
51466 echo $ECHO_N "(cached) $ECHO_C" >&6
51467 else
51468 @@ -7180,7 +7762,7 @@
51469 # include <malloc.h>
51470 # define alloca _alloca
51471 # else
51472 -# if HAVE_ALLOCA_H
51473 +# ifdef HAVE_ALLOCA_H
51474 # include <alloca.h>
51475 # else
51476 # ifdef _AIX
51477 @@ -7198,44 +7780,42 @@
51478 main ()
51479 {
51480 char *p = (char *) alloca (1);
51481 + if (p) return 0;
51482 ;
51483 return 0;
51484 }
51485 _ACEOF
51486 rm -f conftest.$ac_objext conftest$ac_exeext
51487 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51488 - (eval $ac_link) 2>conftest.er1
51489 +if { (ac_try="$ac_link"
51490 +case "(($ac_try" in
51491 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51492 + *) ac_try_echo=$ac_try;;
51493 +esac
51494 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51495 + (eval "$ac_link") 2>conftest.er1
51496 ac_status=$?
51497 grep -v '^ *+' conftest.er1 >conftest.err
51498 rm -f conftest.er1
51499 cat conftest.err >&5
51500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51501 - (exit $ac_status); } &&
51502 - { ac_try='test -z "$ac_c_werror_flag"
51503 - || test ! -s conftest.err'
51504 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51505 - (eval $ac_try) 2>&5
51506 - ac_status=$?
51507 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
51508 - (exit $ac_status); }; } &&
51509 - { ac_try='test -s conftest$ac_exeext'
51510 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51511 - (eval $ac_try) 2>&5
51512 - ac_status=$?
51513 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
51514 - (exit $ac_status); }; }; then
51515 + (exit $ac_status); } && {
51516 + test -z "$ac_c_werror_flag" ||
51517 + test ! -s conftest.err
51518 + } && test -s conftest$ac_exeext &&
51519 + $as_test_x conftest$ac_exeext; then
51520 ac_cv_func_alloca_works=yes
51521 else
51522 echo "$as_me: failed program was:" >&5
51523 sed 's/^/| /' conftest.$ac_ext >&5
51524
51525 -ac_cv_func_alloca_works=no
51526 + ac_cv_func_alloca_works=no
51527 fi
51528 -rm -f conftest.err conftest.$ac_objext \
51529 +
51530 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
51531 conftest$ac_exeext conftest.$ac_ext
51532 fi
51533 -echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
51534 -echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
51535 +{ echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
51536 +echo "${ECHO_T}$ac_cv_func_alloca_works" >&6; }
51537
51538 if test $ac_cv_func_alloca_works = yes; then
51539
51540 @@ -7249,15 +7829,15 @@
51541 # contain a buggy version. If you still want to use their alloca,
51542 # use ar to extract alloca.o from them instead of compiling alloca.c.
51543
51544 -ALLOCA=alloca.$ac_objext
51545 +ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
51546
51547 cat >>confdefs.h <<\_ACEOF
51548 #define C_ALLOCA 1
51549 _ACEOF
51550
51551
51552 -echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
51553 -echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
51554 +{ echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
51555 +echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6; }
51556 if test "${ac_cv_os_cray+set}" = set; then
51557 echo $ECHO_N "(cached) $ECHO_C" >&6
51558 else
51559 @@ -7267,7 +7847,7 @@
51560 cat confdefs.h >>conftest.$ac_ext
51561 cat >>conftest.$ac_ext <<_ACEOF
51562 /* end confdefs.h. */
51563 -#if defined(CRAY) && ! defined(CRAY2)
51564 +#if defined CRAY && ! defined CRAY2
51565 webecray
51566 #else
51567 wenotbecray
51568 @@ -7283,14 +7863,14 @@
51569 rm -f conftest*
51570
51571 fi
51572 -echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
51573 -echo "${ECHO_T}$ac_cv_os_cray" >&6
51574 +{ echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
51575 +echo "${ECHO_T}$ac_cv_os_cray" >&6; }
51576 if test $ac_cv_os_cray = yes; then
51577 for ac_func in _getb67 GETB67 getb67; do
51578 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51579 -echo "$as_me:$LINENO: checking for $ac_func" >&5
51580 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51581 -if eval "test \"\${$as_ac_var+set}\" = set"; then
51582 +{ echo "$as_me:$LINENO: checking for $ac_func" >&5
51583 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
51584 +if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
51585 echo $ECHO_N "(cached) $ECHO_C" >&6
51586 else
51587 cat >conftest.$ac_ext <<_ACEOF
51588 @@ -7316,68 +7896,60 @@
51589
51590 #undef $ac_func
51591
51592 -/* Override any gcc2 internal prototype to avoid an error. */
51593 +/* Override any GCC internal prototype to avoid an error.
51594 + Use char because int might match the return type of a GCC
51595 + builtin and then its argument prototype would still apply. */
51596 #ifdef __cplusplus
51597 extern "C"
51598 -{
51599 #endif
51600 -/* We use char because int might match the return type of a gcc2
51601 - builtin and then its argument prototype would still apply. */
51602 char $ac_func ();
51603 /* The GNU C library defines this for functions which it implements
51604 to always fail with ENOSYS. Some functions are actually named
51605 something starting with __ and the normal name is an alias. */
51606 -#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51607 +#if defined __stub_$ac_func || defined __stub___$ac_func
51608 choke me
51609 -#else
51610 -char (*f) () = $ac_func;
51611 -#endif
51612 -#ifdef __cplusplus
51613 -}
51614 #endif
51615
51616 int
51617 main ()
51618 {
51619 -return f != $ac_func;
51620 +return $ac_func ();
51621 ;
51622 return 0;
51623 }
51624 _ACEOF
51625 rm -f conftest.$ac_objext conftest$ac_exeext
51626 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51627 - (eval $ac_link) 2>conftest.er1
51628 +if { (ac_try="$ac_link"
51629 +case "(($ac_try" in
51630 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51631 + *) ac_try_echo=$ac_try;;
51632 +esac
51633 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51634 + (eval "$ac_link") 2>conftest.er1
51635 ac_status=$?
51636 grep -v '^ *+' conftest.er1 >conftest.err
51637 rm -f conftest.er1
51638 cat conftest.err >&5
51639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51640 - (exit $ac_status); } &&
51641 - { ac_try='test -z "$ac_c_werror_flag"
51642 - || test ! -s conftest.err'
51643 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51644 - (eval $ac_try) 2>&5
51645 - ac_status=$?
51646 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
51647 - (exit $ac_status); }; } &&
51648 - { ac_try='test -s conftest$ac_exeext'
51649 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51650 - (eval $ac_try) 2>&5
51651 - ac_status=$?
51652 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
51653 - (exit $ac_status); }; }; then
51654 + (exit $ac_status); } && {
51655 + test -z "$ac_c_werror_flag" ||
51656 + test ! -s conftest.err
51657 + } && test -s conftest$ac_exeext &&
51658 + $as_test_x conftest$ac_exeext; then
51659 eval "$as_ac_var=yes"
51660 else
51661 echo "$as_me: failed program was:" >&5
51662 sed 's/^/| /' conftest.$ac_ext >&5
51663
51664 -eval "$as_ac_var=no"
51665 + eval "$as_ac_var=no"
51666 fi
51667 -rm -f conftest.err conftest.$ac_objext \
51668 +
51669 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
51670 conftest$ac_exeext conftest.$ac_ext
51671 fi
51672 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51673 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51674 +ac_res=`eval echo '${'$as_ac_var'}'`
51675 + { echo "$as_me:$LINENO: result: $ac_res" >&5
51676 +echo "${ECHO_T}$ac_res" >&6; }
51677 if test `eval echo '${'$as_ac_var'}'` = yes; then
51678
51679 cat >>confdefs.h <<_ACEOF
51680 @@ -7390,8 +7962,8 @@
51681 done
51682 fi
51683
51684 -echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
51685 -echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
51686 +{ echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
51687 +echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6; }
51688 if test "${ac_cv_c_stack_direction+set}" = set; then
51689 echo $ECHO_N "(cached) $ECHO_C" >&6
51690 else
51691 @@ -7404,6 +7976,7 @@
51692 cat confdefs.h >>conftest.$ac_ext
51693 cat >>conftest.$ac_ext <<_ACEOF
51694 /* end confdefs.h. */
51695 +$ac_includes_default
51696 int
51697 find_stack_direction ()
51698 {
51699 @@ -7421,17 +7994,26 @@
51700 int
51701 main ()
51702 {
51703 - exit (find_stack_direction () < 0);
51704 + return find_stack_direction () < 0;
51705 }
51706 _ACEOF
51707 rm -f conftest$ac_exeext
51708 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51709 - (eval $ac_link) 2>&5
51710 +if { (ac_try="$ac_link"
51711 +case "(($ac_try" in
51712 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51713 + *) ac_try_echo=$ac_try;;
51714 +esac
51715 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51716 + (eval "$ac_link") 2>&5
51717 ac_status=$?
51718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51719 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
51720 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51721 - (eval $ac_try) 2>&5
51722 + { (case "(($ac_try" in
51723 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51724 + *) ac_try_echo=$ac_try;;
51725 +esac
51726 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51727 + (eval "$ac_try") 2>&5
51728 ac_status=$?
51729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51730 (exit $ac_status); }; }; then
51731 @@ -7444,11 +8026,13 @@
51732 ( exit $ac_status )
51733 ac_cv_c_stack_direction=-1
51734 fi
51735 -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
51736 +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
51737 fi
51738 +
51739 +
51740 fi
51741 -echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
51742 -echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
51743 +{ echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
51744 +echo "${ECHO_T}$ac_cv_c_stack_direction" >&6; }
51745
51746 cat >>confdefs.h <<_ACEOF
51747 #define STACK_DIRECTION $ac_cv_c_stack_direction
51748 @@ -7462,18 +8046,19 @@
51749 for ac_header in stdlib.h unistd.h
51750 do
51751 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
51752 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
51753 - echo "$as_me:$LINENO: checking for $ac_header" >&5
51754 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
51755 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
51756 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
51757 + { echo "$as_me:$LINENO: checking for $ac_header" >&5
51758 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
51759 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
51760 echo $ECHO_N "(cached) $ECHO_C" >&6
51761 fi
51762 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
51763 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
51764 +ac_res=`eval echo '${'$as_ac_Header'}'`
51765 + { echo "$as_me:$LINENO: result: $ac_res" >&5
51766 +echo "${ECHO_T}$ac_res" >&6; }
51767 else
51768 # Is the header compilable?
51769 -echo "$as_me:$LINENO: checking $ac_header usability" >&5
51770 -echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
51771 +{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
51772 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
51773 cat >conftest.$ac_ext <<_ACEOF
51774 /* confdefs.h. */
51775 _ACEOF
51776 @@ -7484,41 +8069,37 @@
51777 #include <$ac_header>
51778 _ACEOF
51779 rm -f conftest.$ac_objext
51780 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51781 - (eval $ac_compile) 2>conftest.er1
51782 +if { (ac_try="$ac_compile"
51783 +case "(($ac_try" in
51784 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51785 + *) ac_try_echo=$ac_try;;
51786 +esac
51787 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51788 + (eval "$ac_compile") 2>conftest.er1
51789 ac_status=$?
51790 grep -v '^ *+' conftest.er1 >conftest.err
51791 rm -f conftest.er1
51792 cat conftest.err >&5
51793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51794 - (exit $ac_status); } &&
51795 - { ac_try='test -z "$ac_c_werror_flag"
51796 - || test ! -s conftest.err'
51797 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51798 - (eval $ac_try) 2>&5
51799 - ac_status=$?
51800 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
51801 - (exit $ac_status); }; } &&
51802 - { ac_try='test -s conftest.$ac_objext'
51803 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51804 - (eval $ac_try) 2>&5
51805 - ac_status=$?
51806 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
51807 - (exit $ac_status); }; }; then
51808 + (exit $ac_status); } && {
51809 + test -z "$ac_c_werror_flag" ||
51810 + test ! -s conftest.err
51811 + } && test -s conftest.$ac_objext; then
51812 ac_header_compiler=yes
51813 else
51814 echo "$as_me: failed program was:" >&5
51815 sed 's/^/| /' conftest.$ac_ext >&5
51816
51817 -ac_header_compiler=no
51818 + ac_header_compiler=no
51819 fi
51820 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51821 -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
51822 -echo "${ECHO_T}$ac_header_compiler" >&6
51823 +
51824 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51825 +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
51826 +echo "${ECHO_T}$ac_header_compiler" >&6; }
51827
51828 # Is the header present?
51829 -echo "$as_me:$LINENO: checking $ac_header presence" >&5
51830 -echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
51831 +{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
51832 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
51833 cat >conftest.$ac_ext <<_ACEOF
51834 /* confdefs.h. */
51835 _ACEOF
51836 @@ -7527,24 +8108,22 @@
51837 /* end confdefs.h. */
51838 #include <$ac_header>
51839 _ACEOF
51840 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
51841 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
51842 +if { (ac_try="$ac_cpp conftest.$ac_ext"
51843 +case "(($ac_try" in
51844 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51845 + *) ac_try_echo=$ac_try;;
51846 +esac
51847 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51848 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
51849 ac_status=$?
51850 grep -v '^ *+' conftest.er1 >conftest.err
51851 rm -f conftest.er1
51852 cat conftest.err >&5
51853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51854 - (exit $ac_status); } >/dev/null; then
51855 - if test -s conftest.err; then
51856 - ac_cpp_err=$ac_c_preproc_warn_flag
51857 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
51858 - else
51859 - ac_cpp_err=
51860 - fi
51861 -else
51862 - ac_cpp_err=yes
51863 -fi
51864 -if test -z "$ac_cpp_err"; then
51865 + (exit $ac_status); } >/dev/null && {
51866 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
51867 + test ! -s conftest.err
51868 + }; then
51869 ac_header_preproc=yes
51870 else
51871 echo "$as_me: failed program was:" >&5
51872 @@ -7552,9 +8131,10 @@
51873
51874 ac_header_preproc=no
51875 fi
51876 +
51877 rm -f conftest.err conftest.$ac_ext
51878 -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
51879 -echo "${ECHO_T}$ac_header_preproc" >&6
51880 +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
51881 +echo "${ECHO_T}$ac_header_preproc" >&6; }
51882
51883 # So? What about this header?
51884 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
51885 @@ -7578,25 +8158,19 @@
51886 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
51887 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
51888 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
51889 - (
51890 - cat <<\_ASBOX
51891 -## ------------------------------------------ ##
51892 -## Report this to the AC_PACKAGE_NAME lists. ##
51893 -## ------------------------------------------ ##
51894 -_ASBOX
51895 - ) |
51896 - sed "s/^/$as_me: WARNING: /" >&2
51897 +
51898 ;;
51899 esac
51900 -echo "$as_me:$LINENO: checking for $ac_header" >&5
51901 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
51902 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
51903 +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
51904 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
51905 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
51906 echo $ECHO_N "(cached) $ECHO_C" >&6
51907 else
51908 eval "$as_ac_Header=\$ac_header_preproc"
51909 fi
51910 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
51911 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
51912 +ac_res=`eval echo '${'$as_ac_Header'}'`
51913 + { echo "$as_me:$LINENO: result: $ac_res" >&5
51914 +echo "${ECHO_T}$ac_res" >&6; }
51915
51916 fi
51917 if test `eval echo '${'$as_ac_Header'}'` = yes; then
51918 @@ -7612,9 +8186,9 @@
51919 for ac_func in getpagesize
51920 do
51921 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51922 -echo "$as_me:$LINENO: checking for $ac_func" >&5
51923 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51924 -if eval "test \"\${$as_ac_var+set}\" = set"; then
51925 +{ echo "$as_me:$LINENO: checking for $ac_func" >&5
51926 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
51927 +if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
51928 echo $ECHO_N "(cached) $ECHO_C" >&6
51929 else
51930 cat >conftest.$ac_ext <<_ACEOF
51931 @@ -7640,68 +8214,60 @@
51932
51933 #undef $ac_func
51934
51935 -/* Override any gcc2 internal prototype to avoid an error. */
51936 +/* Override any GCC internal prototype to avoid an error.
51937 + Use char because int might match the return type of a GCC
51938 + builtin and then its argument prototype would still apply. */
51939 #ifdef __cplusplus
51940 extern "C"
51941 -{
51942 #endif
51943 -/* We use char because int might match the return type of a gcc2
51944 - builtin and then its argument prototype would still apply. */
51945 char $ac_func ();
51946 /* The GNU C library defines this for functions which it implements
51947 to always fail with ENOSYS. Some functions are actually named
51948 something starting with __ and the normal name is an alias. */
51949 -#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51950 +#if defined __stub_$ac_func || defined __stub___$ac_func
51951 choke me
51952 -#else
51953 -char (*f) () = $ac_func;
51954 -#endif
51955 -#ifdef __cplusplus
51956 -}
51957 #endif
51958
51959 int
51960 main ()
51961 {
51962 -return f != $ac_func;
51963 +return $ac_func ();
51964 ;
51965 return 0;
51966 }
51967 _ACEOF
51968 rm -f conftest.$ac_objext conftest$ac_exeext
51969 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51970 - (eval $ac_link) 2>conftest.er1
51971 +if { (ac_try="$ac_link"
51972 +case "(($ac_try" in
51973 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51974 + *) ac_try_echo=$ac_try;;
51975 +esac
51976 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51977 + (eval "$ac_link") 2>conftest.er1
51978 ac_status=$?
51979 grep -v '^ *+' conftest.er1 >conftest.err
51980 rm -f conftest.er1
51981 cat conftest.err >&5
51982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51983 - (exit $ac_status); } &&
51984 - { ac_try='test -z "$ac_c_werror_flag"
51985 - || test ! -s conftest.err'
51986 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51987 - (eval $ac_try) 2>&5
51988 - ac_status=$?
51989 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
51990 - (exit $ac_status); }; } &&
51991 - { ac_try='test -s conftest$ac_exeext'
51992 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51993 - (eval $ac_try) 2>&5
51994 - ac_status=$?
51995 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
51996 - (exit $ac_status); }; }; then
51997 + (exit $ac_status); } && {
51998 + test -z "$ac_c_werror_flag" ||
51999 + test ! -s conftest.err
52000 + } && test -s conftest$ac_exeext &&
52001 + $as_test_x conftest$ac_exeext; then
52002 eval "$as_ac_var=yes"
52003 else
52004 echo "$as_me: failed program was:" >&5
52005 sed 's/^/| /' conftest.$ac_ext >&5
52006
52007 -eval "$as_ac_var=no"
52008 + eval "$as_ac_var=no"
52009 fi
52010 -rm -f conftest.err conftest.$ac_objext \
52011 +
52012 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
52013 conftest$ac_exeext conftest.$ac_ext
52014 fi
52015 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52016 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52017 +ac_res=`eval echo '${'$as_ac_var'}'`
52018 + { echo "$as_me:$LINENO: result: $ac_res" >&5
52019 +echo "${ECHO_T}$ac_res" >&6; }
52020 if test `eval echo '${'$as_ac_var'}'` = yes; then
52021 cat >>confdefs.h <<_ACEOF
52022 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52023 @@ -7710,8 +8276,8 @@
52024 fi
52025 done
52026
52027 -echo "$as_me:$LINENO: checking for working mmap" >&5
52028 -echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
52029 +{ echo "$as_me:$LINENO: checking for working mmap" >&5
52030 +echo $ECHO_N "checking for working mmap... $ECHO_C" >&6; }
52031 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
52032 echo $ECHO_N "(cached) $ECHO_C" >&6
52033 else
52034 @@ -7753,21 +8319,21 @@
52035 #include <fcntl.h>
52036 #include <sys/mman.h>
52037
52038 -#if !STDC_HEADERS && !HAVE_STDLIB_H
52039 +#if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
52040 char *malloc ();
52041 #endif
52042
52043 /* This mess was copied from the GNU getpagesize.h. */
52044 -#if !HAVE_GETPAGESIZE
52045 +#ifndef HAVE_GETPAGESIZE
52046 /* Assume that all systems that can run configure have sys/param.h. */
52047 -# if !HAVE_SYS_PARAM_H
52048 +# ifndef HAVE_SYS_PARAM_H
52049 # define HAVE_SYS_PARAM_H 1
52050 # endif
52051
52052 # ifdef _SC_PAGESIZE
52053 # define getpagesize() sysconf(_SC_PAGESIZE)
52054 # else /* no _SC_PAGESIZE */
52055 -# if HAVE_SYS_PARAM_H
52056 +# ifdef HAVE_SYS_PARAM_H
52057 # include <sys/param.h>
52058 # ifdef EXEC_PAGESIZE
52059 # define getpagesize() EXEC_PAGESIZE
52060 @@ -7806,15 +8372,15 @@
52061 /* First, make a file with some known garbage in it. */
52062 data = (char *) malloc (pagesize);
52063 if (!data)
52064 - exit (1);
52065 + return 1;
52066 for (i = 0; i < pagesize; ++i)
52067 *(data + i) = rand ();
52068 umask (0);
52069 fd = creat ("conftest.mmap", 0600);
52070 if (fd < 0)
52071 - exit (1);
52072 + return 1;
52073 if (write (fd, data, pagesize) != pagesize)
52074 - exit (1);
52075 + return 1;
52076 close (fd);
52077
52078 /* Next, try to mmap the file at a fixed address which already has
52079 @@ -7822,17 +8388,17 @@
52080 we see the same garbage. */
52081 fd = open ("conftest.mmap", O_RDWR);
52082 if (fd < 0)
52083 - exit (1);
52084 + return 1;
52085 data2 = (char *) malloc (2 * pagesize);
52086 if (!data2)
52087 - exit (1);
52088 - data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
52089 + return 1;
52090 + data2 += (pagesize - ((long int) data2 & (pagesize - 1))) & (pagesize - 1);
52091 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
52092 MAP_PRIVATE | MAP_FIXED, fd, 0L))
52093 - exit (1);
52094 + return 1;
52095 for (i = 0; i < pagesize; ++i)
52096 if (*(data + i) != *(data2 + i))
52097 - exit (1);
52098 + return 1;
52099
52100 /* Finally, make sure that changes to the mapped area do not
52101 percolate back to the file as seen by read(). (This is a bug on
52102 @@ -7841,24 +8407,33 @@
52103 *(data2 + i) = *(data2 + i) + 1;
52104 data3 = (char *) malloc (pagesize);
52105 if (!data3)
52106 - exit (1);
52107 + return 1;
52108 if (read (fd, data3, pagesize) != pagesize)
52109 - exit (1);
52110 + return 1;
52111 for (i = 0; i < pagesize; ++i)
52112 if (*(data + i) != *(data3 + i))
52113 - exit (1);
52114 + return 1;
52115 close (fd);
52116 - exit (0);
52117 + return 0;
52118 }
52119 _ACEOF
52120 rm -f conftest$ac_exeext
52121 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52122 - (eval $ac_link) 2>&5
52123 +if { (ac_try="$ac_link"
52124 +case "(($ac_try" in
52125 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
52126 + *) ac_try_echo=$ac_try;;
52127 +esac
52128 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
52129 + (eval "$ac_link") 2>&5
52130 ac_status=$?
52131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52132 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
52133 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52134 - (eval $ac_try) 2>&5
52135 + { (case "(($ac_try" in
52136 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
52137 + *) ac_try_echo=$ac_try;;
52138 +esac
52139 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
52140 + (eval "$ac_try") 2>&5
52141 ac_status=$?
52142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52143 (exit $ac_status); }; }; then
52144 @@ -7871,11 +8446,13 @@
52145 ( exit $ac_status )
52146 ac_cv_func_mmap_fixed_mapped=no
52147 fi
52148 -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
52149 +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
52150 fi
52151 +
52152 +
52153 fi
52154 -echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
52155 -echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
52156 +{ echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
52157 +echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6; }
52158 if test $ac_cv_func_mmap_fixed_mapped = yes; then
52159
52160 cat >>confdefs.h <<\_ACEOF
52161 @@ -7899,18 +8476,19 @@
52162 unistd.h values.h sys/param.h
52163 do
52164 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
52165 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
52166 - echo "$as_me:$LINENO: checking for $ac_header" >&5
52167 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
52168 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
52169 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
52170 + { echo "$as_me:$LINENO: checking for $ac_header" >&5
52171 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
52172 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
52173 echo $ECHO_N "(cached) $ECHO_C" >&6
52174 fi
52175 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
52176 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
52177 +ac_res=`eval echo '${'$as_ac_Header'}'`
52178 + { echo "$as_me:$LINENO: result: $ac_res" >&5
52179 +echo "${ECHO_T}$ac_res" >&6; }
52180 else
52181 # Is the header compilable?
52182 -echo "$as_me:$LINENO: checking $ac_header usability" >&5
52183 -echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
52184 +{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
52185 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
52186 cat >conftest.$ac_ext <<_ACEOF
52187 /* confdefs.h. */
52188 _ACEOF
52189 @@ -7921,41 +8499,37 @@
52190 #include <$ac_header>
52191 _ACEOF
52192 rm -f conftest.$ac_objext
52193 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52194 - (eval $ac_compile) 2>conftest.er1
52195 +if { (ac_try="$ac_compile"
52196 +case "(($ac_try" in
52197 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
52198 + *) ac_try_echo=$ac_try;;
52199 +esac
52200 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
52201 + (eval "$ac_compile") 2>conftest.er1
52202 ac_status=$?
52203 grep -v '^ *+' conftest.er1 >conftest.err
52204 rm -f conftest.er1
52205 cat conftest.err >&5
52206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52207 - (exit $ac_status); } &&
52208 - { ac_try='test -z "$ac_c_werror_flag"
52209 - || test ! -s conftest.err'
52210 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52211 - (eval $ac_try) 2>&5
52212 - ac_status=$?
52213 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
52214 - (exit $ac_status); }; } &&
52215 - { ac_try='test -s conftest.$ac_objext'
52216 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52217 - (eval $ac_try) 2>&5
52218 - ac_status=$?
52219 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
52220 - (exit $ac_status); }; }; then
52221 + (exit $ac_status); } && {
52222 + test -z "$ac_c_werror_flag" ||
52223 + test ! -s conftest.err
52224 + } && test -s conftest.$ac_objext; then
52225 ac_header_compiler=yes
52226 else
52227 echo "$as_me: failed program was:" >&5
52228 sed 's/^/| /' conftest.$ac_ext >&5
52229
52230 -ac_header_compiler=no
52231 + ac_header_compiler=no
52232 fi
52233 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52234 -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
52235 -echo "${ECHO_T}$ac_header_compiler" >&6
52236 +
52237 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52238 +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
52239 +echo "${ECHO_T}$ac_header_compiler" >&6; }
52240
52241 # Is the header present?
52242 -echo "$as_me:$LINENO: checking $ac_header presence" >&5
52243 -echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
52244 +{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
52245 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
52246 cat >conftest.$ac_ext <<_ACEOF
52247 /* confdefs.h. */
52248 _ACEOF
52249 @@ -7964,24 +8538,22 @@
52250 /* end confdefs.h. */
52251 #include <$ac_header>
52252 _ACEOF
52253 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
52254 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
52255 +if { (ac_try="$ac_cpp conftest.$ac_ext"
52256 +case "(($ac_try" in
52257 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
52258 + *) ac_try_echo=$ac_try;;
52259 +esac
52260 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
52261 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
52262 ac_status=$?
52263 grep -v '^ *+' conftest.er1 >conftest.err
52264 rm -f conftest.er1
52265 cat conftest.err >&5
52266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52267 - (exit $ac_status); } >/dev/null; then
52268 - if test -s conftest.err; then
52269 - ac_cpp_err=$ac_c_preproc_warn_flag
52270 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
52271 - else
52272 - ac_cpp_err=
52273 - fi
52274 -else
52275 - ac_cpp_err=yes
52276 -fi
52277 -if test -z "$ac_cpp_err"; then
52278 + (exit $ac_status); } >/dev/null && {
52279 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
52280 + test ! -s conftest.err
52281 + }; then
52282 ac_header_preproc=yes
52283 else
52284 echo "$as_me: failed program was:" >&5
52285 @@ -7989,9 +8561,10 @@
52286
52287 ac_header_preproc=no
52288 fi
52289 +
52290 rm -f conftest.err conftest.$ac_ext
52291 -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
52292 -echo "${ECHO_T}$ac_header_preproc" >&6
52293 +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
52294 +echo "${ECHO_T}$ac_header_preproc" >&6; }
52295
52296 # So? What about this header?
52297 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
52298 @@ -8015,25 +8588,19 @@
52299 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
52300 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
52301 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
52302 - (
52303 - cat <<\_ASBOX
52304 -## ------------------------------------------ ##
52305 -## Report this to the AC_PACKAGE_NAME lists. ##
52306 -## ------------------------------------------ ##
52307 -_ASBOX
52308 - ) |
52309 - sed "s/^/$as_me: WARNING: /" >&2
52310 +
52311 ;;
52312 esac
52313 -echo "$as_me:$LINENO: checking for $ac_header" >&5
52314 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
52315 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
52316 +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
52317 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
52318 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
52319 echo $ECHO_N "(cached) $ECHO_C" >&6
52320 else
52321 eval "$as_ac_Header=\$ac_header_preproc"
52322 fi
52323 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
52324 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
52325 +ac_res=`eval echo '${'$as_ac_Header'}'`
52326 + { echo "$as_me:$LINENO: result: $ac_res" >&5
52327 +echo "${ECHO_T}$ac_res" >&6; }
52328
52329 fi
52330 if test `eval echo '${'$as_ac_Header'}'` = yes; then
52331 @@ -8059,9 +8626,9 @@
52332 __argz_count __argz_stringify __argz_next
52333 do
52334 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52335 -echo "$as_me:$LINENO: checking for $ac_func" >&5
52336 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52337 -if eval "test \"\${$as_ac_var+set}\" = set"; then
52338 +{ echo "$as_me:$LINENO: checking for $ac_func" >&5
52339 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
52340 +if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
52341 echo $ECHO_N "(cached) $ECHO_C" >&6
52342 else
52343 cat >conftest.$ac_ext <<_ACEOF
52344 @@ -8087,68 +8654,60 @@
52345
52346 #undef $ac_func
52347
52348 -/* Override any gcc2 internal prototype to avoid an error. */
52349 +/* Override any GCC internal prototype to avoid an error.
52350 + Use char because int might match the return type of a GCC
52351 + builtin and then its argument prototype would still apply. */
52352 #ifdef __cplusplus
52353 extern "C"
52354 -{
52355 #endif
52356 -/* We use char because int might match the return type of a gcc2
52357 - builtin and then its argument prototype would still apply. */
52358 char $ac_func ();
52359 /* The GNU C library defines this for functions which it implements
52360 to always fail with ENOSYS. Some functions are actually named
52361 something starting with __ and the normal name is an alias. */
52362 -#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52363 +#if defined __stub_$ac_func || defined __stub___$ac_func
52364 choke me
52365 -#else
52366 -char (*f) () = $ac_func;
52367 -#endif
52368 -#ifdef __cplusplus
52369 -}
52370 #endif
52371
52372 int
52373 main ()
52374 {
52375 -return f != $ac_func;
52376 +return $ac_func ();
52377 ;
52378 return 0;
52379 }
52380 _ACEOF
52381 rm -f conftest.$ac_objext conftest$ac_exeext
52382 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52383 - (eval $ac_link) 2>conftest.er1
52384 +if { (ac_try="$ac_link"
52385 +case "(($ac_try" in
52386 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
52387 + *) ac_try_echo=$ac_try;;
52388 +esac
52389 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
52390 + (eval "$ac_link") 2>conftest.er1
52391 ac_status=$?
52392 grep -v '^ *+' conftest.er1 >conftest.err
52393 rm -f conftest.er1
52394 cat conftest.err >&5
52395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52396 - (exit $ac_status); } &&
52397 - { ac_try='test -z "$ac_c_werror_flag"
52398 - || test ! -s conftest.err'
52399 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52400 - (eval $ac_try) 2>&5
52401 - ac_status=$?
52402 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
52403 - (exit $ac_status); }; } &&
52404 - { ac_try='test -s conftest$ac_exeext'
52405 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52406 - (eval $ac_try) 2>&5
52407 - ac_status=$?
52408 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
52409 - (exit $ac_status); }; }; then
52410 + (exit $ac_status); } && {
52411 + test -z "$ac_c_werror_flag" ||
52412 + test ! -s conftest.err
52413 + } && test -s conftest$ac_exeext &&
52414 + $as_test_x conftest$ac_exeext; then
52415 eval "$as_ac_var=yes"
52416 else
52417 echo "$as_me: failed program was:" >&5
52418 sed 's/^/| /' conftest.$ac_ext >&5
52419
52420 -eval "$as_ac_var=no"
52421 + eval "$as_ac_var=no"
52422 fi
52423 -rm -f conftest.err conftest.$ac_objext \
52424 +
52425 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
52426 conftest$ac_exeext conftest.$ac_ext
52427 fi
52428 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52429 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52430 +ac_res=`eval echo '${'$as_ac_var'}'`
52431 + { echo "$as_me:$LINENO: result: $ac_res" >&5
52432 +echo "${ECHO_T}$ac_res" >&6; }
52433 if test `eval echo '${'$as_ac_var'}'` = yes; then
52434 cat >>confdefs.h <<_ACEOF
52435 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52436 @@ -8163,9 +8722,9 @@
52437 for ac_func in stpcpy
52438 do
52439 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52440 -echo "$as_me:$LINENO: checking for $ac_func" >&5
52441 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52442 -if eval "test \"\${$as_ac_var+set}\" = set"; then
52443 +{ echo "$as_me:$LINENO: checking for $ac_func" >&5
52444 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
52445 +if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
52446 echo $ECHO_N "(cached) $ECHO_C" >&6
52447 else
52448 cat >conftest.$ac_ext <<_ACEOF
52449 @@ -8191,68 +8750,60 @@
52450
52451 #undef $ac_func
52452
52453 -/* Override any gcc2 internal prototype to avoid an error. */
52454 +/* Override any GCC internal prototype to avoid an error.
52455 + Use char because int might match the return type of a GCC
52456 + builtin and then its argument prototype would still apply. */
52457 #ifdef __cplusplus
52458 extern "C"
52459 -{
52460 #endif
52461 -/* We use char because int might match the return type of a gcc2
52462 - builtin and then its argument prototype would still apply. */
52463 char $ac_func ();
52464 /* The GNU C library defines this for functions which it implements
52465 to always fail with ENOSYS. Some functions are actually named
52466 something starting with __ and the normal name is an alias. */
52467 -#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52468 +#if defined __stub_$ac_func || defined __stub___$ac_func
52469 choke me
52470 -#else
52471 -char (*f) () = $ac_func;
52472 -#endif
52473 -#ifdef __cplusplus
52474 -}
52475 #endif
52476
52477 int
52478 main ()
52479 {
52480 -return f != $ac_func;
52481 +return $ac_func ();
52482 ;
52483 return 0;
52484 }
52485 _ACEOF
52486 rm -f conftest.$ac_objext conftest$ac_exeext
52487 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52488 - (eval $ac_link) 2>conftest.er1
52489 +if { (ac_try="$ac_link"
52490 +case "(($ac_try" in
52491 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
52492 + *) ac_try_echo=$ac_try;;
52493 +esac
52494 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
52495 + (eval "$ac_link") 2>conftest.er1
52496 ac_status=$?
52497 grep -v '^ *+' conftest.er1 >conftest.err
52498 rm -f conftest.er1
52499 cat conftest.err >&5
52500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52501 - (exit $ac_status); } &&
52502 - { ac_try='test -z "$ac_c_werror_flag"
52503 - || test ! -s conftest.err'
52504 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52505 - (eval $ac_try) 2>&5
52506 - ac_status=$?
52507 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
52508 - (exit $ac_status); }; } &&
52509 - { ac_try='test -s conftest$ac_exeext'
52510 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52511 - (eval $ac_try) 2>&5
52512 - ac_status=$?
52513 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
52514 - (exit $ac_status); }; }; then
52515 + (exit $ac_status); } && {
52516 + test -z "$ac_c_werror_flag" ||
52517 + test ! -s conftest.err
52518 + } && test -s conftest$ac_exeext &&
52519 + $as_test_x conftest$ac_exeext; then
52520 eval "$as_ac_var=yes"
52521 else
52522 echo "$as_me: failed program was:" >&5
52523 sed 's/^/| /' conftest.$ac_ext >&5
52524
52525 -eval "$as_ac_var=no"
52526 + eval "$as_ac_var=no"
52527 fi
52528 -rm -f conftest.err conftest.$ac_objext \
52529 +
52530 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
52531 conftest$ac_exeext conftest.$ac_ext
52532 fi
52533 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52534 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52535 +ac_res=`eval echo '${'$as_ac_var'}'`
52536 + { echo "$as_me:$LINENO: result: $ac_res" >&5
52537 +echo "${ECHO_T}$ac_res" >&6; }
52538 if test `eval echo '${'$as_ac_var'}'` = yes; then
52539 cat >>confdefs.h <<_ACEOF
52540 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52541 @@ -8271,8 +8822,8 @@
52542 fi
52543
52544 if test $ac_cv_header_locale_h = yes; then
52545 - echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
52546 -echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
52547 + { echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
52548 +echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6; }
52549 if test "${am_cv_val_LC_MESSAGES+set}" = set; then
52550 echo $ECHO_N "(cached) $ECHO_C" >&6
52551 else
52552 @@ -8292,39 +8843,36 @@
52553 }
52554 _ACEOF
52555 rm -f conftest.$ac_objext conftest$ac_exeext
52556 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52557 - (eval $ac_link) 2>conftest.er1
52558 +if { (ac_try="$ac_link"
52559 +case "(($ac_try" in
52560 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
52561 + *) ac_try_echo=$ac_try;;
52562 +esac
52563 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
52564 + (eval "$ac_link") 2>conftest.er1
52565 ac_status=$?
52566 grep -v '^ *+' conftest.er1 >conftest.err
52567 rm -f conftest.er1
52568 cat conftest.err >&5
52569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52570 - (exit $ac_status); } &&
52571 - { ac_try='test -z "$ac_c_werror_flag"
52572 - || test ! -s conftest.err'
52573 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52574 - (eval $ac_try) 2>&5
52575 - ac_status=$?
52576 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
52577 - (exit $ac_status); }; } &&
52578 - { ac_try='test -s conftest$ac_exeext'
52579 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52580 - (eval $ac_try) 2>&5
52581 - ac_status=$?
52582 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
52583 - (exit $ac_status); }; }; then
52584 + (exit $ac_status); } && {
52585 + test -z "$ac_c_werror_flag" ||
52586 + test ! -s conftest.err
52587 + } && test -s conftest$ac_exeext &&
52588 + $as_test_x conftest$ac_exeext; then
52589 am_cv_val_LC_MESSAGES=yes
52590 else
52591 echo "$as_me: failed program was:" >&5
52592 sed 's/^/| /' conftest.$ac_ext >&5
52593
52594 -am_cv_val_LC_MESSAGES=no
52595 + am_cv_val_LC_MESSAGES=no
52596 fi
52597 -rm -f conftest.err conftest.$ac_objext \
52598 +
52599 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
52600 conftest$ac_exeext conftest.$ac_ext
52601 fi
52602 -echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
52603 -echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6
52604 +{ echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
52605 +echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6; }
52606 if test $am_cv_val_LC_MESSAGES = yes; then
52607
52608 cat >>confdefs.h <<\_ACEOF
52609 @@ -8333,34 +8881,34 @@
52610
52611 fi
52612 fi
52613 - echo "$as_me:$LINENO: checking whether NLS is requested" >&5
52614 -echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
52615 - # Check whether --enable-nls or --disable-nls was given.
52616 + { echo "$as_me:$LINENO: checking whether NLS is requested" >&5
52617 +echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6; }
52618 + # Check whether --enable-nls was given.
52619 if test "${enable_nls+set}" = set; then
52620 - enableval="$enable_nls"
52621 - USE_NLS=$enableval
52622 + enableval=$enable_nls; USE_NLS=$enableval
52623 else
52624 USE_NLS=yes
52625 -fi;
52626 - echo "$as_me:$LINENO: result: $USE_NLS" >&5
52627 -echo "${ECHO_T}$USE_NLS" >&6
52628 +fi
52629 +
52630 + { echo "$as_me:$LINENO: result: $USE_NLS" >&5
52631 +echo "${ECHO_T}$USE_NLS" >&6; }
52632
52633
52634 USE_INCLUDED_LIBINTL=no
52635
52636 if test "$USE_NLS" = "yes"; then
52637 - echo "$as_me:$LINENO: checking whether included gettext is requested" >&5
52638 -echo $ECHO_N "checking whether included gettext is requested... $ECHO_C" >&6
52639 + { echo "$as_me:$LINENO: checking whether included gettext is requested" >&5
52640 +echo $ECHO_N "checking whether included gettext is requested... $ECHO_C" >&6; }
52641
52642 -# Check whether --with-included-gettext or --without-included-gettext was given.
52643 +# Check whether --with-included-gettext was given.
52644 if test "${with_included_gettext+set}" = set; then
52645 - withval="$with_included_gettext"
52646 - nls_cv_force_use_gnu_gettext=$withval
52647 + withval=$with_included_gettext; nls_cv_force_use_gnu_gettext=$withval
52648 else
52649 nls_cv_force_use_gnu_gettext=no
52650 -fi;
52651 - echo "$as_me:$LINENO: result: $nls_cv_force_use_gnu_gettext" >&5
52652 -echo "${ECHO_T}$nls_cv_force_use_gnu_gettext" >&6
52653 +fi
52654 +
52655 + { echo "$as_me:$LINENO: result: $nls_cv_force_use_gnu_gettext" >&5
52656 +echo "${ECHO_T}$nls_cv_force_use_gnu_gettext" >&6; }
52657
52658 nls_cv_use_gnu_gettext="$nls_cv_force_use_gnu_gettext"
52659 if test "$nls_cv_force_use_gnu_gettext" != "yes"; then
52660 @@ -8369,17 +8917,17 @@
52661 CATOBJEXT=
52662
52663 if test "${ac_cv_header_libintl_h+set}" = set; then
52664 - echo "$as_me:$LINENO: checking for libintl.h" >&5
52665 -echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6
52666 + { echo "$as_me:$LINENO: checking for libintl.h" >&5
52667 +echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6; }
52668 if test "${ac_cv_header_libintl_h+set}" = set; then
52669 echo $ECHO_N "(cached) $ECHO_C" >&6
52670 fi
52671 -echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
52672 -echo "${ECHO_T}$ac_cv_header_libintl_h" >&6
52673 +{ echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
52674 +echo "${ECHO_T}$ac_cv_header_libintl_h" >&6; }
52675 else
52676 # Is the header compilable?
52677 -echo "$as_me:$LINENO: checking libintl.h usability" >&5
52678 -echo $ECHO_N "checking libintl.h usability... $ECHO_C" >&6
52679 +{ echo "$as_me:$LINENO: checking libintl.h usability" >&5
52680 +echo $ECHO_N "checking libintl.h usability... $ECHO_C" >&6; }
52681 cat >conftest.$ac_ext <<_ACEOF
52682 /* confdefs.h. */
52683 _ACEOF
52684 @@ -8390,41 +8938,37 @@
52685 #include <libintl.h>
52686 _ACEOF
52687 rm -f conftest.$ac_objext
52688 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52689 - (eval $ac_compile) 2>conftest.er1
52690 +if { (ac_try="$ac_compile"
52691 +case "(($ac_try" in
52692 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
52693 + *) ac_try_echo=$ac_try;;
52694 +esac
52695 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
52696 + (eval "$ac_compile") 2>conftest.er1
52697 ac_status=$?
52698 grep -v '^ *+' conftest.er1 >conftest.err
52699 rm -f conftest.er1
52700 cat conftest.err >&5
52701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52702 - (exit $ac_status); } &&
52703 - { ac_try='test -z "$ac_c_werror_flag"
52704 - || test ! -s conftest.err'
52705 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52706 - (eval $ac_try) 2>&5
52707 - ac_status=$?
52708 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
52709 - (exit $ac_status); }; } &&
52710 - { ac_try='test -s conftest.$ac_objext'
52711 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52712 - (eval $ac_try) 2>&5
52713 - ac_status=$?
52714 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
52715 - (exit $ac_status); }; }; then
52716 + (exit $ac_status); } && {
52717 + test -z "$ac_c_werror_flag" ||
52718 + test ! -s conftest.err
52719 + } && test -s conftest.$ac_objext; then
52720 ac_header_compiler=yes
52721 else
52722 echo "$as_me: failed program was:" >&5
52723 sed 's/^/| /' conftest.$ac_ext >&5
52724
52725 -ac_header_compiler=no
52726 + ac_header_compiler=no
52727 fi
52728 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52729 -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
52730 -echo "${ECHO_T}$ac_header_compiler" >&6
52731 +
52732 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52733 +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
52734 +echo "${ECHO_T}$ac_header_compiler" >&6; }
52735
52736 # Is the header present?
52737 -echo "$as_me:$LINENO: checking libintl.h presence" >&5
52738 -echo $ECHO_N "checking libintl.h presence... $ECHO_C" >&6
52739 +{ echo "$as_me:$LINENO: checking libintl.h presence" >&5
52740 +echo $ECHO_N "checking libintl.h presence... $ECHO_C" >&6; }
52741 cat >conftest.$ac_ext <<_ACEOF
52742 /* confdefs.h. */
52743 _ACEOF
52744 @@ -8433,24 +8977,22 @@
52745 /* end confdefs.h. */
52746 #include <libintl.h>
52747 _ACEOF
52748 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
52749 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
52750 +if { (ac_try="$ac_cpp conftest.$ac_ext"
52751 +case "(($ac_try" in
52752 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
52753 + *) ac_try_echo=$ac_try;;
52754 +esac
52755 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
52756 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
52757 ac_status=$?
52758 grep -v '^ *+' conftest.er1 >conftest.err
52759 rm -f conftest.er1
52760 cat conftest.err >&5
52761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52762 - (exit $ac_status); } >/dev/null; then
52763 - if test -s conftest.err; then
52764 - ac_cpp_err=$ac_c_preproc_warn_flag
52765 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
52766 - else
52767 - ac_cpp_err=
52768 - fi
52769 -else
52770 - ac_cpp_err=yes
52771 -fi
52772 -if test -z "$ac_cpp_err"; then
52773 + (exit $ac_status); } >/dev/null && {
52774 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
52775 + test ! -s conftest.err
52776 + }; then
52777 ac_header_preproc=yes
52778 else
52779 echo "$as_me: failed program was:" >&5
52780 @@ -8458,9 +9000,10 @@
52781
52782 ac_header_preproc=no
52783 fi
52784 +
52785 rm -f conftest.err conftest.$ac_ext
52786 -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
52787 -echo "${ECHO_T}$ac_header_preproc" >&6
52788 +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
52789 +echo "${ECHO_T}$ac_header_preproc" >&6; }
52790
52791 # So? What about this header?
52792 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
52793 @@ -8484,30 +9027,23 @@
52794 echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;}
52795 { echo "$as_me:$LINENO: WARNING: libintl.h: in the future, the compiler will take precedence" >&5
52796 echo "$as_me: WARNING: libintl.h: in the future, the compiler will take precedence" >&2;}
52797 - (
52798 - cat <<\_ASBOX
52799 -## ------------------------------------------ ##
52800 -## Report this to the AC_PACKAGE_NAME lists. ##
52801 -## ------------------------------------------ ##
52802 -_ASBOX
52803 - ) |
52804 - sed "s/^/$as_me: WARNING: /" >&2
52805 +
52806 ;;
52807 esac
52808 -echo "$as_me:$LINENO: checking for libintl.h" >&5
52809 -echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6
52810 +{ echo "$as_me:$LINENO: checking for libintl.h" >&5
52811 +echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6; }
52812 if test "${ac_cv_header_libintl_h+set}" = set; then
52813 echo $ECHO_N "(cached) $ECHO_C" >&6
52814 else
52815 ac_cv_header_libintl_h=$ac_header_preproc
52816 fi
52817 -echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
52818 -echo "${ECHO_T}$ac_cv_header_libintl_h" >&6
52819 +{ echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
52820 +echo "${ECHO_T}$ac_cv_header_libintl_h" >&6; }
52821
52822 fi
52823 if test $ac_cv_header_libintl_h = yes; then
52824 - echo "$as_me:$LINENO: checking for gettext in libc" >&5
52825 -echo $ECHO_N "checking for gettext in libc... $ECHO_C" >&6
52826 + { echo "$as_me:$LINENO: checking for gettext in libc" >&5
52827 +echo $ECHO_N "checking for gettext in libc... $ECHO_C" >&6; }
52828 if test "${gt_cv_func_gettext_libc+set}" = set; then
52829 echo $ECHO_N "(cached) $ECHO_C" >&6
52830 else
52831 @@ -8527,43 +9063,40 @@
52832 }
52833 _ACEOF
52834 rm -f conftest.$ac_objext conftest$ac_exeext
52835 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52836 - (eval $ac_link) 2>conftest.er1
52837 +if { (ac_try="$ac_link"
52838 +case "(($ac_try" in
52839 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
52840 + *) ac_try_echo=$ac_try;;
52841 +esac
52842 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
52843 + (eval "$ac_link") 2>conftest.er1
52844 ac_status=$?
52845 grep -v '^ *+' conftest.er1 >conftest.err
52846 rm -f conftest.er1
52847 cat conftest.err >&5
52848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52849 - (exit $ac_status); } &&
52850 - { ac_try='test -z "$ac_c_werror_flag"
52851 - || test ! -s conftest.err'
52852 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52853 - (eval $ac_try) 2>&5
52854 - ac_status=$?
52855 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
52856 - (exit $ac_status); }; } &&
52857 - { ac_try='test -s conftest$ac_exeext'
52858 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52859 - (eval $ac_try) 2>&5
52860 - ac_status=$?
52861 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
52862 - (exit $ac_status); }; }; then
52863 + (exit $ac_status); } && {
52864 + test -z "$ac_c_werror_flag" ||
52865 + test ! -s conftest.err
52866 + } && test -s conftest$ac_exeext &&
52867 + $as_test_x conftest$ac_exeext; then
52868 gt_cv_func_gettext_libc=yes
52869 else
52870 echo "$as_me: failed program was:" >&5
52871 sed 's/^/| /' conftest.$ac_ext >&5
52872
52873 -gt_cv_func_gettext_libc=no
52874 + gt_cv_func_gettext_libc=no
52875 fi
52876 -rm -f conftest.err conftest.$ac_objext \
52877 +
52878 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
52879 conftest$ac_exeext conftest.$ac_ext
52880 fi
52881 -echo "$as_me:$LINENO: result: $gt_cv_func_gettext_libc" >&5
52882 -echo "${ECHO_T}$gt_cv_func_gettext_libc" >&6
52883 +{ echo "$as_me:$LINENO: result: $gt_cv_func_gettext_libc" >&5
52884 +echo "${ECHO_T}$gt_cv_func_gettext_libc" >&6; }
52885
52886 if test "$gt_cv_func_gettext_libc" != "yes"; then
52887 - echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5
52888 -echo $ECHO_N "checking for bindtextdomain in -lintl... $ECHO_C" >&6
52889 + { echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5
52890 +echo $ECHO_N "checking for bindtextdomain in -lintl... $ECHO_C" >&6; }
52891 if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then
52892 echo $ECHO_N "(cached) $ECHO_C" >&6
52893 else
52894 @@ -8576,59 +9109,56 @@
52895 cat >>conftest.$ac_ext <<_ACEOF
52896 /* end confdefs.h. */
52897
52898 -/* Override any gcc2 internal prototype to avoid an error. */
52899 +/* Override any GCC internal prototype to avoid an error.
52900 + Use char because int might match the return type of a GCC
52901 + builtin and then its argument prototype would still apply. */
52902 #ifdef __cplusplus
52903 extern "C"
52904 #endif
52905 -/* We use char because int might match the return type of a gcc2
52906 - builtin and then its argument prototype would still apply. */
52907 char bindtextdomain ();
52908 int
52909 main ()
52910 {
52911 -bindtextdomain ();
52912 +return bindtextdomain ();
52913 ;
52914 return 0;
52915 }
52916 _ACEOF
52917 rm -f conftest.$ac_objext conftest$ac_exeext
52918 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52919 - (eval $ac_link) 2>conftest.er1
52920 +if { (ac_try="$ac_link"
52921 +case "(($ac_try" in
52922 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
52923 + *) ac_try_echo=$ac_try;;
52924 +esac
52925 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
52926 + (eval "$ac_link") 2>conftest.er1
52927 ac_status=$?
52928 grep -v '^ *+' conftest.er1 >conftest.err
52929 rm -f conftest.er1
52930 cat conftest.err >&5
52931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52932 - (exit $ac_status); } &&
52933 - { ac_try='test -z "$ac_c_werror_flag"
52934 - || test ! -s conftest.err'
52935 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52936 - (eval $ac_try) 2>&5
52937 - ac_status=$?
52938 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
52939 - (exit $ac_status); }; } &&
52940 - { ac_try='test -s conftest$ac_exeext'
52941 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52942 - (eval $ac_try) 2>&5
52943 - ac_status=$?
52944 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
52945 - (exit $ac_status); }; }; then
52946 + (exit $ac_status); } && {
52947 + test -z "$ac_c_werror_flag" ||
52948 + test ! -s conftest.err
52949 + } && test -s conftest$ac_exeext &&
52950 + $as_test_x conftest$ac_exeext; then
52951 ac_cv_lib_intl_bindtextdomain=yes
52952 else
52953 echo "$as_me: failed program was:" >&5
52954 sed 's/^/| /' conftest.$ac_ext >&5
52955
52956 -ac_cv_lib_intl_bindtextdomain=no
52957 + ac_cv_lib_intl_bindtextdomain=no
52958 fi
52959 -rm -f conftest.err conftest.$ac_objext \
52960 +
52961 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
52962 conftest$ac_exeext conftest.$ac_ext
52963 LIBS=$ac_check_lib_save_LIBS
52964 fi
52965 -echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5
52966 -echo "${ECHO_T}$ac_cv_lib_intl_bindtextdomain" >&6
52967 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5
52968 +echo "${ECHO_T}$ac_cv_lib_intl_bindtextdomain" >&6; }
52969 if test $ac_cv_lib_intl_bindtextdomain = yes; then
52970 - echo "$as_me:$LINENO: checking for gettext in libintl" >&5
52971 -echo $ECHO_N "checking for gettext in libintl... $ECHO_C" >&6
52972 + { echo "$as_me:$LINENO: checking for gettext in libintl" >&5
52973 +echo $ECHO_N "checking for gettext in libintl... $ECHO_C" >&6; }
52974 if test "${gt_cv_func_gettext_libintl+set}" = set; then
52975 echo $ECHO_N "(cached) $ECHO_C" >&6
52976 else
52977 @@ -8648,39 +9178,36 @@
52978 }
52979 _ACEOF
52980 rm -f conftest.$ac_objext conftest$ac_exeext
52981 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52982 - (eval $ac_link) 2>conftest.er1
52983 +if { (ac_try="$ac_link"
52984 +case "(($ac_try" in
52985 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
52986 + *) ac_try_echo=$ac_try;;
52987 +esac
52988 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
52989 + (eval "$ac_link") 2>conftest.er1
52990 ac_status=$?
52991 grep -v '^ *+' conftest.er1 >conftest.err
52992 rm -f conftest.er1
52993 cat conftest.err >&5
52994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52995 - (exit $ac_status); } &&
52996 - { ac_try='test -z "$ac_c_werror_flag"
52997 - || test ! -s conftest.err'
52998 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52999 - (eval $ac_try) 2>&5
53000 - ac_status=$?
53001 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
53002 - (exit $ac_status); }; } &&
53003 - { ac_try='test -s conftest$ac_exeext'
53004 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53005 - (eval $ac_try) 2>&5
53006 - ac_status=$?
53007 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
53008 - (exit $ac_status); }; }; then
53009 + (exit $ac_status); } && {
53010 + test -z "$ac_c_werror_flag" ||
53011 + test ! -s conftest.err
53012 + } && test -s conftest$ac_exeext &&
53013 + $as_test_x conftest$ac_exeext; then
53014 gt_cv_func_gettext_libintl=yes
53015 else
53016 echo "$as_me: failed program was:" >&5
53017 sed 's/^/| /' conftest.$ac_ext >&5
53018
53019 -gt_cv_func_gettext_libintl=no
53020 + gt_cv_func_gettext_libintl=no
53021 fi
53022 -rm -f conftest.err conftest.$ac_objext \
53023 +
53024 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
53025 conftest$ac_exeext conftest.$ac_ext
53026 fi
53027 -echo "$as_me:$LINENO: result: $gt_cv_func_gettext_libintl" >&5
53028 -echo "${ECHO_T}$gt_cv_func_gettext_libintl" >&6
53029 +{ echo "$as_me:$LINENO: result: $gt_cv_func_gettext_libintl" >&5
53030 +echo "${ECHO_T}$gt_cv_func_gettext_libintl" >&6; }
53031 fi
53032
53033 fi
53034 @@ -8694,8 +9221,8 @@
53035
53036 # Extract the first word of "msgfmt", so it can be a program name with args.
53037 set dummy msgfmt; ac_word=$2
53038 -echo "$as_me:$LINENO: checking for $ac_word" >&5
53039 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
53040 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
53041 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
53042 if test "${ac_cv_path_MSGFMT+set}" = set; then
53043 echo $ECHO_N "(cached) $ECHO_C" >&6
53044 else
53045 @@ -8721,20 +9248,20 @@
53046 fi
53047 MSGFMT="$ac_cv_path_MSGFMT"
53048 if test -n "$MSGFMT"; then
53049 - echo "$as_me:$LINENO: result: $MSGFMT" >&5
53050 -echo "${ECHO_T}$MSGFMT" >&6
53051 + { echo "$as_me:$LINENO: result: $MSGFMT" >&5
53052 +echo "${ECHO_T}$MSGFMT" >&6; }
53053 else
53054 - echo "$as_me:$LINENO: result: no" >&5
53055 -echo "${ECHO_T}no" >&6
53056 + { echo "$as_me:$LINENO: result: no" >&5
53057 +echo "${ECHO_T}no" >&6; }
53058 fi
53059 if test "$MSGFMT" != "no"; then
53060
53061 for ac_func in dcgettext
53062 do
53063 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53064 -echo "$as_me:$LINENO: checking for $ac_func" >&5
53065 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53066 -if eval "test \"\${$as_ac_var+set}\" = set"; then
53067 +{ echo "$as_me:$LINENO: checking for $ac_func" >&5
53068 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
53069 +if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
53070 echo $ECHO_N "(cached) $ECHO_C" >&6
53071 else
53072 cat >conftest.$ac_ext <<_ACEOF
53073 @@ -8760,68 +9287,60 @@
53074
53075 #undef $ac_func
53076
53077 -/* Override any gcc2 internal prototype to avoid an error. */
53078 +/* Override any GCC internal prototype to avoid an error.
53079 + Use char because int might match the return type of a GCC
53080 + builtin and then its argument prototype would still apply. */
53081 #ifdef __cplusplus
53082 extern "C"
53083 -{
53084 #endif
53085 -/* We use char because int might match the return type of a gcc2
53086 - builtin and then its argument prototype would still apply. */
53087 char $ac_func ();
53088 /* The GNU C library defines this for functions which it implements
53089 to always fail with ENOSYS. Some functions are actually named
53090 something starting with __ and the normal name is an alias. */
53091 -#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53092 +#if defined __stub_$ac_func || defined __stub___$ac_func
53093 choke me
53094 -#else
53095 -char (*f) () = $ac_func;
53096 -#endif
53097 -#ifdef __cplusplus
53098 -}
53099 #endif
53100
53101 int
53102 main ()
53103 {
53104 -return f != $ac_func;
53105 +return $ac_func ();
53106 ;
53107 return 0;
53108 }
53109 _ACEOF
53110 rm -f conftest.$ac_objext conftest$ac_exeext
53111 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53112 - (eval $ac_link) 2>conftest.er1
53113 +if { (ac_try="$ac_link"
53114 +case "(($ac_try" in
53115 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
53116 + *) ac_try_echo=$ac_try;;
53117 +esac
53118 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
53119 + (eval "$ac_link") 2>conftest.er1
53120 ac_status=$?
53121 grep -v '^ *+' conftest.er1 >conftest.err
53122 rm -f conftest.er1
53123 cat conftest.err >&5
53124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53125 - (exit $ac_status); } &&
53126 - { ac_try='test -z "$ac_c_werror_flag"
53127 - || test ! -s conftest.err'
53128 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53129 - (eval $ac_try) 2>&5
53130 - ac_status=$?
53131 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
53132 - (exit $ac_status); }; } &&
53133 - { ac_try='test -s conftest$ac_exeext'
53134 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53135 - (eval $ac_try) 2>&5
53136 - ac_status=$?
53137 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
53138 - (exit $ac_status); }; }; then
53139 + (exit $ac_status); } && {
53140 + test -z "$ac_c_werror_flag" ||
53141 + test ! -s conftest.err
53142 + } && test -s conftest$ac_exeext &&
53143 + $as_test_x conftest$ac_exeext; then
53144 eval "$as_ac_var=yes"
53145 else
53146 echo "$as_me: failed program was:" >&5
53147 sed 's/^/| /' conftest.$ac_ext >&5
53148
53149 -eval "$as_ac_var=no"
53150 + eval "$as_ac_var=no"
53151 fi
53152 -rm -f conftest.err conftest.$ac_objext \
53153 +
53154 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
53155 conftest$ac_exeext conftest.$ac_ext
53156 fi
53157 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53158 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53159 +ac_res=`eval echo '${'$as_ac_var'}'`
53160 + { echo "$as_me:$LINENO: result: $ac_res" >&5
53161 +echo "${ECHO_T}$ac_res" >&6; }
53162 if test `eval echo '${'$as_ac_var'}'` = yes; then
53163 cat >>confdefs.h <<_ACEOF
53164 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53165 @@ -8832,8 +9351,8 @@
53166
53167 # Extract the first word of "gmsgfmt", so it can be a program name with args.
53168 set dummy gmsgfmt; ac_word=$2
53169 -echo "$as_me:$LINENO: checking for $ac_word" >&5
53170 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
53171 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
53172 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
53173 if test "${ac_cv_path_GMSGFMT+set}" = set; then
53174 echo $ECHO_N "(cached) $ECHO_C" >&6
53175 else
53176 @@ -8848,32 +9367,33 @@
53177 IFS=$as_save_IFS
53178 test -z "$as_dir" && as_dir=.
53179 for ac_exec_ext in '' $ac_executable_extensions; do
53180 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
53181 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
53182 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
53183 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
53184 break 2
53185 fi
53186 done
53187 done
53188 +IFS=$as_save_IFS
53189
53190 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
53191 ;;
53192 esac
53193 fi
53194 GMSGFMT=$ac_cv_path_GMSGFMT
53195 -
53196 if test -n "$GMSGFMT"; then
53197 - echo "$as_me:$LINENO: result: $GMSGFMT" >&5
53198 -echo "${ECHO_T}$GMSGFMT" >&6
53199 + { echo "$as_me:$LINENO: result: $GMSGFMT" >&5
53200 +echo "${ECHO_T}$GMSGFMT" >&6; }
53201 else
53202 - echo "$as_me:$LINENO: result: no" >&5
53203 -echo "${ECHO_T}no" >&6
53204 + { echo "$as_me:$LINENO: result: no" >&5
53205 +echo "${ECHO_T}no" >&6; }
53206 fi
53207
53208 +
53209 # Extract the first word of "xgettext", so it can be a program name with args.
53210 set dummy xgettext; ac_word=$2
53211 -echo "$as_me:$LINENO: checking for $ac_word" >&5
53212 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
53213 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
53214 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
53215 if test "${ac_cv_path_XGETTEXT+set}" = set; then
53216 echo $ECHO_N "(cached) $ECHO_C" >&6
53217 else
53218 @@ -8899,11 +9419,11 @@
53219 fi
53220 XGETTEXT="$ac_cv_path_XGETTEXT"
53221 if test -n "$XGETTEXT"; then
53222 - echo "$as_me:$LINENO: result: $XGETTEXT" >&5
53223 -echo "${ECHO_T}$XGETTEXT" >&6
53224 + { echo "$as_me:$LINENO: result: $XGETTEXT" >&5
53225 +echo "${ECHO_T}$XGETTEXT" >&6; }
53226 else
53227 - echo "$as_me:$LINENO: result: no" >&5
53228 -echo "${ECHO_T}no" >&6
53229 + { echo "$as_me:$LINENO: result: no" >&5
53230 +echo "${ECHO_T}no" >&6; }
53231 fi
53232
53233 cat >conftest.$ac_ext <<_ACEOF
53234 @@ -8923,37 +9443,34 @@
53235 }
53236 _ACEOF
53237 rm -f conftest.$ac_objext conftest$ac_exeext
53238 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53239 - (eval $ac_link) 2>conftest.er1
53240 +if { (ac_try="$ac_link"
53241 +case "(($ac_try" in
53242 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
53243 + *) ac_try_echo=$ac_try;;
53244 +esac
53245 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
53246 + (eval "$ac_link") 2>conftest.er1
53247 ac_status=$?
53248 grep -v '^ *+' conftest.er1 >conftest.err
53249 rm -f conftest.er1
53250 cat conftest.err >&5
53251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53252 - (exit $ac_status); } &&
53253 - { ac_try='test -z "$ac_c_werror_flag"
53254 - || test ! -s conftest.err'
53255 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53256 - (eval $ac_try) 2>&5
53257 - ac_status=$?
53258 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
53259 - (exit $ac_status); }; } &&
53260 - { ac_try='test -s conftest$ac_exeext'
53261 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53262 - (eval $ac_try) 2>&5
53263 - ac_status=$?
53264 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
53265 - (exit $ac_status); }; }; then
53266 + (exit $ac_status); } && {
53267 + test -z "$ac_c_werror_flag" ||
53268 + test ! -s conftest.err
53269 + } && test -s conftest$ac_exeext &&
53270 + $as_test_x conftest$ac_exeext; then
53271 CATOBJEXT=.gmo
53272 DATADIRNAME=share
53273 else
53274 echo "$as_me: failed program was:" >&5
53275 sed 's/^/| /' conftest.$ac_ext >&5
53276
53277 -CATOBJEXT=.mo
53278 + CATOBJEXT=.mo
53279 DATADIRNAME=lib
53280 fi
53281 -rm -f conftest.err conftest.$ac_objext \
53282 +
53283 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
53284 conftest$ac_exeext conftest.$ac_ext
53285 INSTOBJEXT=.mo
53286 fi
53287 @@ -8975,8 +9492,8 @@
53288 INTLOBJS="\$(GETTOBJS)"
53289 # Extract the first word of "msgfmt", so it can be a program name with args.
53290 set dummy msgfmt; ac_word=$2
53291 -echo "$as_me:$LINENO: checking for $ac_word" >&5
53292 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
53293 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
53294 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
53295 if test "${ac_cv_path_MSGFMT+set}" = set; then
53296 echo $ECHO_N "(cached) $ECHO_C" >&6
53297 else
53298 @@ -9002,17 +9519,17 @@
53299 fi
53300 MSGFMT="$ac_cv_path_MSGFMT"
53301 if test -n "$MSGFMT"; then
53302 - echo "$as_me:$LINENO: result: $MSGFMT" >&5
53303 -echo "${ECHO_T}$MSGFMT" >&6
53304 + { echo "$as_me:$LINENO: result: $MSGFMT" >&5
53305 +echo "${ECHO_T}$MSGFMT" >&6; }
53306 else
53307 - echo "$as_me:$LINENO: result: no" >&5
53308 -echo "${ECHO_T}no" >&6
53309 + { echo "$as_me:$LINENO: result: no" >&5
53310 +echo "${ECHO_T}no" >&6; }
53311 fi
53312
53313 # Extract the first word of "gmsgfmt", so it can be a program name with args.
53314 set dummy gmsgfmt; ac_word=$2
53315 -echo "$as_me:$LINENO: checking for $ac_word" >&5
53316 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
53317 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
53318 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
53319 if test "${ac_cv_path_GMSGFMT+set}" = set; then
53320 echo $ECHO_N "(cached) $ECHO_C" >&6
53321 else
53322 @@ -9027,32 +9544,33 @@
53323 IFS=$as_save_IFS
53324 test -z "$as_dir" && as_dir=.
53325 for ac_exec_ext in '' $ac_executable_extensions; do
53326 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
53327 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
53328 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
53329 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
53330 break 2
53331 fi
53332 done
53333 done
53334 +IFS=$as_save_IFS
53335
53336 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
53337 ;;
53338 esac
53339 fi
53340 GMSGFMT=$ac_cv_path_GMSGFMT
53341 -
53342 if test -n "$GMSGFMT"; then
53343 - echo "$as_me:$LINENO: result: $GMSGFMT" >&5
53344 -echo "${ECHO_T}$GMSGFMT" >&6
53345 + { echo "$as_me:$LINENO: result: $GMSGFMT" >&5
53346 +echo "${ECHO_T}$GMSGFMT" >&6; }
53347 else
53348 - echo "$as_me:$LINENO: result: no" >&5
53349 -echo "${ECHO_T}no" >&6
53350 + { echo "$as_me:$LINENO: result: no" >&5
53351 +echo "${ECHO_T}no" >&6; }
53352 fi
53353
53354 +
53355 # Extract the first word of "xgettext", so it can be a program name with args.
53356 set dummy xgettext; ac_word=$2
53357 -echo "$as_me:$LINENO: checking for $ac_word" >&5
53358 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
53359 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
53360 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
53361 if test "${ac_cv_path_XGETTEXT+set}" = set; then
53362 echo $ECHO_N "(cached) $ECHO_C" >&6
53363 else
53364 @@ -9078,11 +9596,11 @@
53365 fi
53366 XGETTEXT="$ac_cv_path_XGETTEXT"
53367 if test -n "$XGETTEXT"; then
53368 - echo "$as_me:$LINENO: result: $XGETTEXT" >&5
53369 -echo "${ECHO_T}$XGETTEXT" >&6
53370 + { echo "$as_me:$LINENO: result: $XGETTEXT" >&5
53371 +echo "${ECHO_T}$XGETTEXT" >&6; }
53372 else
53373 - echo "$as_me:$LINENO: result: no" >&5
53374 -echo "${ECHO_T}no" >&6
53375 + { echo "$as_me:$LINENO: result: no" >&5
53376 +echo "${ECHO_T}no" >&6; }
53377 fi
53378
53379
53380 @@ -9101,8 +9619,8 @@
53381 if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
53382 : ;
53383 else
53384 - echo "$as_me:$LINENO: result: found xgettext programs is not GNU xgettext; ignore it" >&5
53385 -echo "${ECHO_T}found xgettext programs is not GNU xgettext; ignore it" >&6
53386 + { echo "$as_me:$LINENO: result: found xgettext programs is not GNU xgettext; ignore it" >&5
53387 +echo "${ECHO_T}found xgettext programs is not GNU xgettext; ignore it" >&6; }
53388 XGETTEXT=":"
53389 fi
53390 fi
53391 @@ -9151,8 +9669,8 @@
53392 if test "x$ALL_LINGUAS" = "x"; then
53393 LINGUAS=
53394 else
53395 - echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
53396 -echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6
53397 + { echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
53398 +echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6; }
53399 NEW_LINGUAS=
53400 for lang in ${LINGUAS=$ALL_LINGUAS}; do
53401 case "$ALL_LINGUAS" in
53402 @@ -9160,8 +9678,8 @@
53403 esac
53404 done
53405 LINGUAS=$NEW_LINGUAS
53406 - echo "$as_me:$LINENO: result: $LINGUAS" >&5
53407 -echo "${ECHO_T}$LINGUAS" >&6
53408 + { echo "$as_me:$LINENO: result: $LINGUAS" >&5
53409 +echo "${ECHO_T}$LINGUAS" >&6; }
53410 fi
53411
53412 if test -n "$LINGUAS"; then
53413 @@ -9180,17 +9698,17 @@
53414 if test -f $srcdir/po2tbl.sed.in; then
53415 if test "$CATOBJEXT" = ".cat"; then
53416 if test "${ac_cv_header_linux_version_h+set}" = set; then
53417 - echo "$as_me:$LINENO: checking for linux/version.h" >&5
53418 -echo $ECHO_N "checking for linux/version.h... $ECHO_C" >&6
53419 + { echo "$as_me:$LINENO: checking for linux/version.h" >&5
53420 +echo $ECHO_N "checking for linux/version.h... $ECHO_C" >&6; }
53421 if test "${ac_cv_header_linux_version_h+set}" = set; then
53422 echo $ECHO_N "(cached) $ECHO_C" >&6
53423 fi
53424 -echo "$as_me:$LINENO: result: $ac_cv_header_linux_version_h" >&5
53425 -echo "${ECHO_T}$ac_cv_header_linux_version_h" >&6
53426 +{ echo "$as_me:$LINENO: result: $ac_cv_header_linux_version_h" >&5
53427 +echo "${ECHO_T}$ac_cv_header_linux_version_h" >&6; }
53428 else
53429 # Is the header compilable?
53430 -echo "$as_me:$LINENO: checking linux/version.h usability" >&5
53431 -echo $ECHO_N "checking linux/version.h usability... $ECHO_C" >&6
53432 +{ echo "$as_me:$LINENO: checking linux/version.h usability" >&5
53433 +echo $ECHO_N "checking linux/version.h usability... $ECHO_C" >&6; }
53434 cat >conftest.$ac_ext <<_ACEOF
53435 /* confdefs.h. */
53436 _ACEOF
53437 @@ -9201,41 +9719,37 @@
53438 #include <linux/version.h>
53439 _ACEOF
53440 rm -f conftest.$ac_objext
53441 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53442 - (eval $ac_compile) 2>conftest.er1
53443 +if { (ac_try="$ac_compile"
53444 +case "(($ac_try" in
53445 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
53446 + *) ac_try_echo=$ac_try;;
53447 +esac
53448 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
53449 + (eval "$ac_compile") 2>conftest.er1
53450 ac_status=$?
53451 grep -v '^ *+' conftest.er1 >conftest.err
53452 rm -f conftest.er1
53453 cat conftest.err >&5
53454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53455 - (exit $ac_status); } &&
53456 - { ac_try='test -z "$ac_c_werror_flag"
53457 - || test ! -s conftest.err'
53458 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53459 - (eval $ac_try) 2>&5
53460 - ac_status=$?
53461 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
53462 - (exit $ac_status); }; } &&
53463 - { ac_try='test -s conftest.$ac_objext'
53464 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53465 - (eval $ac_try) 2>&5
53466 - ac_status=$?
53467 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
53468 - (exit $ac_status); }; }; then
53469 + (exit $ac_status); } && {
53470 + test -z "$ac_c_werror_flag" ||
53471 + test ! -s conftest.err
53472 + } && test -s conftest.$ac_objext; then
53473 ac_header_compiler=yes
53474 else
53475 echo "$as_me: failed program was:" >&5
53476 sed 's/^/| /' conftest.$ac_ext >&5
53477
53478 -ac_header_compiler=no
53479 + ac_header_compiler=no
53480 fi
53481 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53482 -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
53483 -echo "${ECHO_T}$ac_header_compiler" >&6
53484 +
53485 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53486 +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
53487 +echo "${ECHO_T}$ac_header_compiler" >&6; }
53488
53489 # Is the header present?
53490 -echo "$as_me:$LINENO: checking linux/version.h presence" >&5
53491 -echo $ECHO_N "checking linux/version.h presence... $ECHO_C" >&6
53492 +{ echo "$as_me:$LINENO: checking linux/version.h presence" >&5
53493 +echo $ECHO_N "checking linux/version.h presence... $ECHO_C" >&6; }
53494 cat >conftest.$ac_ext <<_ACEOF
53495 /* confdefs.h. */
53496 _ACEOF
53497 @@ -9244,24 +9758,22 @@
53498 /* end confdefs.h. */
53499 #include <linux/version.h>
53500 _ACEOF
53501 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
53502 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
53503 +if { (ac_try="$ac_cpp conftest.$ac_ext"
53504 +case "(($ac_try" in
53505 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
53506 + *) ac_try_echo=$ac_try;;
53507 +esac
53508 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
53509 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
53510 ac_status=$?
53511 grep -v '^ *+' conftest.er1 >conftest.err
53512 rm -f conftest.er1
53513 cat conftest.err >&5
53514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53515 - (exit $ac_status); } >/dev/null; then
53516 - if test -s conftest.err; then
53517 - ac_cpp_err=$ac_c_preproc_warn_flag
53518 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
53519 - else
53520 - ac_cpp_err=
53521 - fi
53522 -else
53523 - ac_cpp_err=yes
53524 -fi
53525 -if test -z "$ac_cpp_err"; then
53526 + (exit $ac_status); } >/dev/null && {
53527 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
53528 + test ! -s conftest.err
53529 + }; then
53530 ac_header_preproc=yes
53531 else
53532 echo "$as_me: failed program was:" >&5
53533 @@ -9269,9 +9781,10 @@
53534
53535 ac_header_preproc=no
53536 fi
53537 +
53538 rm -f conftest.err conftest.$ac_ext
53539 -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
53540 -echo "${ECHO_T}$ac_header_preproc" >&6
53541 +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
53542 +echo "${ECHO_T}$ac_header_preproc" >&6; }
53543
53544 # So? What about this header?
53545 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
53546 @@ -9295,25 +9808,18 @@
53547 echo "$as_me: WARNING: linux/version.h: proceeding with the preprocessor's result" >&2;}
53548 { echo "$as_me:$LINENO: WARNING: linux/version.h: in the future, the compiler will take precedence" >&5
53549 echo "$as_me: WARNING: linux/version.h: in the future, the compiler will take precedence" >&2;}
53550 - (
53551 - cat <<\_ASBOX
53552 -## ------------------------------------------ ##
53553 -## Report this to the AC_PACKAGE_NAME lists. ##
53554 -## ------------------------------------------ ##
53555 -_ASBOX
53556 - ) |
53557 - sed "s/^/$as_me: WARNING: /" >&2
53558 +
53559 ;;
53560 esac
53561 -echo "$as_me:$LINENO: checking for linux/version.h" >&5
53562 -echo $ECHO_N "checking for linux/version.h... $ECHO_C" >&6
53563 +{ echo "$as_me:$LINENO: checking for linux/version.h" >&5
53564 +echo $ECHO_N "checking for linux/version.h... $ECHO_C" >&6; }
53565 if test "${ac_cv_header_linux_version_h+set}" = set; then
53566 echo $ECHO_N "(cached) $ECHO_C" >&6
53567 else
53568 ac_cv_header_linux_version_h=$ac_header_preproc
53569 fi
53570 -echo "$as_me:$LINENO: result: $ac_cv_header_linux_version_h" >&5
53571 -echo "${ECHO_T}$ac_cv_header_linux_version_h" >&6
53572 +{ echo "$as_me:$LINENO: result: $ac_cv_header_linux_version_h" >&5
53573 +echo "${ECHO_T}$ac_cv_header_linux_version_h" >&6; }
53574
53575 fi
53576 if test $ac_cv_header_linux_version_h = yes; then
53577 @@ -9363,17 +9869,17 @@
53578 fi
53579
53580
53581 -echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
53582 -echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
53583 - # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
53584 +{ echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
53585 +echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
53586 + # Check whether --enable-maintainer-mode was given.
53587 if test "${enable_maintainer_mode+set}" = set; then
53588 - enableval="$enable_maintainer_mode"
53589 - USE_MAINTAINER_MODE=$enableval
53590 + enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
53591 else
53592 USE_MAINTAINER_MODE=no
53593 -fi;
53594 - echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
53595 -echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
53596 +fi
53597 +
53598 + { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
53599 +echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
53600
53601
53602 if test $USE_MAINTAINER_MODE = yes; then
53603 @@ -9401,18 +9907,19 @@
53604 for ac_header in string.h stdlib.h memory.h strings.h unistd.h stdarg.h varargs.h errno.h sys/types.h
53605 do
53606 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
53607 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
53608 - echo "$as_me:$LINENO: checking for $ac_header" >&5
53609 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
53610 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
53611 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
53612 + { echo "$as_me:$LINENO: checking for $ac_header" >&5
53613 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
53614 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
53615 echo $ECHO_N "(cached) $ECHO_C" >&6
53616 fi
53617 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
53618 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
53619 +ac_res=`eval echo '${'$as_ac_Header'}'`
53620 + { echo "$as_me:$LINENO: result: $ac_res" >&5
53621 +echo "${ECHO_T}$ac_res" >&6; }
53622 else
53623 # Is the header compilable?
53624 -echo "$as_me:$LINENO: checking $ac_header usability" >&5
53625 -echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
53626 +{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
53627 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
53628 cat >conftest.$ac_ext <<_ACEOF
53629 /* confdefs.h. */
53630 _ACEOF
53631 @@ -9423,41 +9930,37 @@
53632 #include <$ac_header>
53633 _ACEOF
53634 rm -f conftest.$ac_objext
53635 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53636 - (eval $ac_compile) 2>conftest.er1
53637 +if { (ac_try="$ac_compile"
53638 +case "(($ac_try" in
53639 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
53640 + *) ac_try_echo=$ac_try;;
53641 +esac
53642 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
53643 + (eval "$ac_compile") 2>conftest.er1
53644 ac_status=$?
53645 grep -v '^ *+' conftest.er1 >conftest.err
53646 rm -f conftest.er1
53647 cat conftest.err >&5
53648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53649 - (exit $ac_status); } &&
53650 - { ac_try='test -z "$ac_c_werror_flag"
53651 - || test ! -s conftest.err'
53652 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53653 - (eval $ac_try) 2>&5
53654 - ac_status=$?
53655 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
53656 - (exit $ac_status); }; } &&
53657 - { ac_try='test -s conftest.$ac_objext'
53658 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53659 - (eval $ac_try) 2>&5
53660 - ac_status=$?
53661 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
53662 - (exit $ac_status); }; }; then
53663 + (exit $ac_status); } && {
53664 + test -z "$ac_c_werror_flag" ||
53665 + test ! -s conftest.err
53666 + } && test -s conftest.$ac_objext; then
53667 ac_header_compiler=yes
53668 else
53669 echo "$as_me: failed program was:" >&5
53670 sed 's/^/| /' conftest.$ac_ext >&5
53671
53672 -ac_header_compiler=no
53673 + ac_header_compiler=no
53674 fi
53675 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53676 -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
53677 -echo "${ECHO_T}$ac_header_compiler" >&6
53678 +
53679 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53680 +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
53681 +echo "${ECHO_T}$ac_header_compiler" >&6; }
53682
53683 # Is the header present?
53684 -echo "$as_me:$LINENO: checking $ac_header presence" >&5
53685 -echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
53686 +{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
53687 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
53688 cat >conftest.$ac_ext <<_ACEOF
53689 /* confdefs.h. */
53690 _ACEOF
53691 @@ -9466,24 +9969,22 @@
53692 /* end confdefs.h. */
53693 #include <$ac_header>
53694 _ACEOF
53695 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
53696 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
53697 +if { (ac_try="$ac_cpp conftest.$ac_ext"
53698 +case "(($ac_try" in
53699 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
53700 + *) ac_try_echo=$ac_try;;
53701 +esac
53702 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
53703 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
53704 ac_status=$?
53705 grep -v '^ *+' conftest.er1 >conftest.err
53706 rm -f conftest.er1
53707 cat conftest.err >&5
53708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53709 - (exit $ac_status); } >/dev/null; then
53710 - if test -s conftest.err; then
53711 - ac_cpp_err=$ac_c_preproc_warn_flag
53712 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
53713 - else
53714 - ac_cpp_err=
53715 - fi
53716 -else
53717 - ac_cpp_err=yes
53718 -fi
53719 -if test -z "$ac_cpp_err"; then
53720 + (exit $ac_status); } >/dev/null && {
53721 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
53722 + test ! -s conftest.err
53723 + }; then
53724 ac_header_preproc=yes
53725 else
53726 echo "$as_me: failed program was:" >&5
53727 @@ -9491,9 +9992,10 @@
53728
53729 ac_header_preproc=no
53730 fi
53731 +
53732 rm -f conftest.err conftest.$ac_ext
53733 -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
53734 -echo "${ECHO_T}$ac_header_preproc" >&6
53735 +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
53736 +echo "${ECHO_T}$ac_header_preproc" >&6; }
53737
53738 # So? What about this header?
53739 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
53740 @@ -9517,25 +10019,19 @@
53741 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
53742 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
53743 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
53744 - (
53745 - cat <<\_ASBOX
53746 -## ------------------------------------------ ##
53747 -## Report this to the AC_PACKAGE_NAME lists. ##
53748 -## ------------------------------------------ ##
53749 -_ASBOX
53750 - ) |
53751 - sed "s/^/$as_me: WARNING: /" >&2
53752 +
53753 ;;
53754 esac
53755 -echo "$as_me:$LINENO: checking for $ac_header" >&5
53756 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
53757 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
53758 +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
53759 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
53760 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
53761 echo $ECHO_N "(cached) $ECHO_C" >&6
53762 else
53763 eval "$as_ac_Header=\$ac_header_preproc"
53764 fi
53765 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
53766 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
53767 +ac_res=`eval echo '${'$as_ac_Header'}'`
53768 + { echo "$as_me:$LINENO: result: $ac_res" >&5
53769 +echo "${ECHO_T}$ac_res" >&6; }
53770
53771 fi
53772 if test `eval echo '${'$as_ac_Header'}'` = yes; then
53773 @@ -9550,8 +10046,8 @@
53774
53775 # Put this here so that autoconf's "cross-compiling" message doesn't confuse
53776 # people who are not cross-compiling but are compiling cross-assemblers.
53777 -echo "$as_me:$LINENO: checking whether compiling a cross-assembler" >&5
53778 -echo $ECHO_N "checking whether compiling a cross-assembler... $ECHO_C" >&6
53779 +{ echo "$as_me:$LINENO: checking whether compiling a cross-assembler" >&5
53780 +echo $ECHO_N "checking whether compiling a cross-assembler... $ECHO_C" >&6; }
53781 if test "${host}" = "${target}"; then
53782 cross_gas=no
53783 else
53784 @@ -9562,13 +10058,13 @@
53785 _ACEOF
53786
53787 fi
53788 -echo "$as_me:$LINENO: result: $cross_gas" >&5
53789 -echo "${ECHO_T}$cross_gas" >&6
53790 +{ echo "$as_me:$LINENO: result: $cross_gas" >&5
53791 +echo "${ECHO_T}$cross_gas" >&6; }
53792
53793 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
53794 # for constant arguments. Useless!
53795 -echo "$as_me:$LINENO: checking for working alloca.h" >&5
53796 -echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
53797 +{ echo "$as_me:$LINENO: checking for working alloca.h" >&5
53798 +echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6; }
53799 if test "${ac_cv_working_alloca_h+set}" = set; then
53800 echo $ECHO_N "(cached) $ECHO_C" >&6
53801 else
53802 @@ -9583,44 +10079,42 @@
53803 main ()
53804 {
53805 char *p = (char *) alloca (2 * sizeof (int));
53806 + if (p) return 0;
53807 ;
53808 return 0;
53809 }
53810 _ACEOF
53811 rm -f conftest.$ac_objext conftest$ac_exeext
53812 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53813 - (eval $ac_link) 2>conftest.er1
53814 +if { (ac_try="$ac_link"
53815 +case "(($ac_try" in
53816 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
53817 + *) ac_try_echo=$ac_try;;
53818 +esac
53819 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
53820 + (eval "$ac_link") 2>conftest.er1
53821 ac_status=$?
53822 grep -v '^ *+' conftest.er1 >conftest.err
53823 rm -f conftest.er1
53824 cat conftest.err >&5
53825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53826 - (exit $ac_status); } &&
53827 - { ac_try='test -z "$ac_c_werror_flag"
53828 - || test ! -s conftest.err'
53829 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53830 - (eval $ac_try) 2>&5
53831 - ac_status=$?
53832 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
53833 - (exit $ac_status); }; } &&
53834 - { ac_try='test -s conftest$ac_exeext'
53835 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53836 - (eval $ac_try) 2>&5
53837 - ac_status=$?
53838 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
53839 - (exit $ac_status); }; }; then
53840 + (exit $ac_status); } && {
53841 + test -z "$ac_c_werror_flag" ||
53842 + test ! -s conftest.err
53843 + } && test -s conftest$ac_exeext &&
53844 + $as_test_x conftest$ac_exeext; then
53845 ac_cv_working_alloca_h=yes
53846 else
53847 echo "$as_me: failed program was:" >&5
53848 sed 's/^/| /' conftest.$ac_ext >&5
53849
53850 -ac_cv_working_alloca_h=no
53851 + ac_cv_working_alloca_h=no
53852 fi
53853 -rm -f conftest.err conftest.$ac_objext \
53854 +
53855 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
53856 conftest$ac_exeext conftest.$ac_ext
53857 fi
53858 -echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
53859 -echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
53860 +{ echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
53861 +echo "${ECHO_T}$ac_cv_working_alloca_h" >&6; }
53862 if test $ac_cv_working_alloca_h = yes; then
53863
53864 cat >>confdefs.h <<\_ACEOF
53865 @@ -9629,8 +10123,8 @@
53866
53867 fi
53868
53869 -echo "$as_me:$LINENO: checking for alloca" >&5
53870 -echo $ECHO_N "checking for alloca... $ECHO_C" >&6
53871 +{ echo "$as_me:$LINENO: checking for alloca" >&5
53872 +echo $ECHO_N "checking for alloca... $ECHO_C" >&6; }
53873 if test "${ac_cv_func_alloca_works+set}" = set; then
53874 echo $ECHO_N "(cached) $ECHO_C" >&6
53875 else
53876 @@ -9647,7 +10141,7 @@
53877 # include <malloc.h>
53878 # define alloca _alloca
53879 # else
53880 -# if HAVE_ALLOCA_H
53881 +# ifdef HAVE_ALLOCA_H
53882 # include <alloca.h>
53883 # else
53884 # ifdef _AIX
53885 @@ -9665,44 +10159,42 @@
53886 main ()
53887 {
53888 char *p = (char *) alloca (1);
53889 + if (p) return 0;
53890 ;
53891 return 0;
53892 }
53893 _ACEOF
53894 rm -f conftest.$ac_objext conftest$ac_exeext
53895 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53896 - (eval $ac_link) 2>conftest.er1
53897 +if { (ac_try="$ac_link"
53898 +case "(($ac_try" in
53899 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
53900 + *) ac_try_echo=$ac_try;;
53901 +esac
53902 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
53903 + (eval "$ac_link") 2>conftest.er1
53904 ac_status=$?
53905 grep -v '^ *+' conftest.er1 >conftest.err
53906 rm -f conftest.er1
53907 cat conftest.err >&5
53908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53909 - (exit $ac_status); } &&
53910 - { ac_try='test -z "$ac_c_werror_flag"
53911 - || test ! -s conftest.err'
53912 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53913 - (eval $ac_try) 2>&5
53914 - ac_status=$?
53915 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
53916 - (exit $ac_status); }; } &&
53917 - { ac_try='test -s conftest$ac_exeext'
53918 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53919 - (eval $ac_try) 2>&5
53920 - ac_status=$?
53921 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
53922 - (exit $ac_status); }; }; then
53923 + (exit $ac_status); } && {
53924 + test -z "$ac_c_werror_flag" ||
53925 + test ! -s conftest.err
53926 + } && test -s conftest$ac_exeext &&
53927 + $as_test_x conftest$ac_exeext; then
53928 ac_cv_func_alloca_works=yes
53929 else
53930 echo "$as_me: failed program was:" >&5
53931 sed 's/^/| /' conftest.$ac_ext >&5
53932
53933 -ac_cv_func_alloca_works=no
53934 + ac_cv_func_alloca_works=no
53935 fi
53936 -rm -f conftest.err conftest.$ac_objext \
53937 +
53938 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
53939 conftest$ac_exeext conftest.$ac_ext
53940 fi
53941 -echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
53942 -echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
53943 +{ echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
53944 +echo "${ECHO_T}$ac_cv_func_alloca_works" >&6; }
53945
53946 if test $ac_cv_func_alloca_works = yes; then
53947
53948 @@ -9716,15 +10208,15 @@
53949 # contain a buggy version. If you still want to use their alloca,
53950 # use ar to extract alloca.o from them instead of compiling alloca.c.
53951
53952 -ALLOCA=alloca.$ac_objext
53953 +ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
53954
53955 cat >>confdefs.h <<\_ACEOF
53956 #define C_ALLOCA 1
53957 _ACEOF
53958
53959
53960 -echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
53961 -echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
53962 +{ echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
53963 +echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6; }
53964 if test "${ac_cv_os_cray+set}" = set; then
53965 echo $ECHO_N "(cached) $ECHO_C" >&6
53966 else
53967 @@ -9734,7 +10226,7 @@
53968 cat confdefs.h >>conftest.$ac_ext
53969 cat >>conftest.$ac_ext <<_ACEOF
53970 /* end confdefs.h. */
53971 -#if defined(CRAY) && ! defined(CRAY2)
53972 +#if defined CRAY && ! defined CRAY2
53973 webecray
53974 #else
53975 wenotbecray
53976 @@ -9750,14 +10242,14 @@
53977 rm -f conftest*
53978
53979 fi
53980 -echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
53981 -echo "${ECHO_T}$ac_cv_os_cray" >&6
53982 +{ echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
53983 +echo "${ECHO_T}$ac_cv_os_cray" >&6; }
53984 if test $ac_cv_os_cray = yes; then
53985 for ac_func in _getb67 GETB67 getb67; do
53986 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53987 -echo "$as_me:$LINENO: checking for $ac_func" >&5
53988 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53989 -if eval "test \"\${$as_ac_var+set}\" = set"; then
53990 +{ echo "$as_me:$LINENO: checking for $ac_func" >&5
53991 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
53992 +if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
53993 echo $ECHO_N "(cached) $ECHO_C" >&6
53994 else
53995 cat >conftest.$ac_ext <<_ACEOF
53996 @@ -9783,68 +10275,60 @@
53997
53998 #undef $ac_func
53999
54000 -/* Override any gcc2 internal prototype to avoid an error. */
54001 +/* Override any GCC internal prototype to avoid an error.
54002 + Use char because int might match the return type of a GCC
54003 + builtin and then its argument prototype would still apply. */
54004 #ifdef __cplusplus
54005 extern "C"
54006 -{
54007 #endif
54008 -/* We use char because int might match the return type of a gcc2
54009 - builtin and then its argument prototype would still apply. */
54010 char $ac_func ();
54011 /* The GNU C library defines this for functions which it implements
54012 to always fail with ENOSYS. Some functions are actually named
54013 something starting with __ and the normal name is an alias. */
54014 -#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54015 +#if defined __stub_$ac_func || defined __stub___$ac_func
54016 choke me
54017 -#else
54018 -char (*f) () = $ac_func;
54019 -#endif
54020 -#ifdef __cplusplus
54021 -}
54022 #endif
54023
54024 int
54025 main ()
54026 {
54027 -return f != $ac_func;
54028 +return $ac_func ();
54029 ;
54030 return 0;
54031 }
54032 _ACEOF
54033 rm -f conftest.$ac_objext conftest$ac_exeext
54034 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54035 - (eval $ac_link) 2>conftest.er1
54036 +if { (ac_try="$ac_link"
54037 +case "(($ac_try" in
54038 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
54039 + *) ac_try_echo=$ac_try;;
54040 +esac
54041 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
54042 + (eval "$ac_link") 2>conftest.er1
54043 ac_status=$?
54044 grep -v '^ *+' conftest.er1 >conftest.err
54045 rm -f conftest.er1
54046 cat conftest.err >&5
54047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54048 - (exit $ac_status); } &&
54049 - { ac_try='test -z "$ac_c_werror_flag"
54050 - || test ! -s conftest.err'
54051 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54052 - (eval $ac_try) 2>&5
54053 - ac_status=$?
54054 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
54055 - (exit $ac_status); }; } &&
54056 - { ac_try='test -s conftest$ac_exeext'
54057 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54058 - (eval $ac_try) 2>&5
54059 - ac_status=$?
54060 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
54061 - (exit $ac_status); }; }; then
54062 + (exit $ac_status); } && {
54063 + test -z "$ac_c_werror_flag" ||
54064 + test ! -s conftest.err
54065 + } && test -s conftest$ac_exeext &&
54066 + $as_test_x conftest$ac_exeext; then
54067 eval "$as_ac_var=yes"
54068 else
54069 echo "$as_me: failed program was:" >&5
54070 sed 's/^/| /' conftest.$ac_ext >&5
54071
54072 -eval "$as_ac_var=no"
54073 + eval "$as_ac_var=no"
54074 fi
54075 -rm -f conftest.err conftest.$ac_objext \
54076 +
54077 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
54078 conftest$ac_exeext conftest.$ac_ext
54079 fi
54080 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54081 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54082 +ac_res=`eval echo '${'$as_ac_var'}'`
54083 + { echo "$as_me:$LINENO: result: $ac_res" >&5
54084 +echo "${ECHO_T}$ac_res" >&6; }
54085 if test `eval echo '${'$as_ac_var'}'` = yes; then
54086
54087 cat >>confdefs.h <<_ACEOF
54088 @@ -9857,8 +10341,8 @@
54089 done
54090 fi
54091
54092 -echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
54093 -echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
54094 +{ echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
54095 +echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6; }
54096 if test "${ac_cv_c_stack_direction+set}" = set; then
54097 echo $ECHO_N "(cached) $ECHO_C" >&6
54098 else
54099 @@ -9871,6 +10355,7 @@
54100 cat confdefs.h >>conftest.$ac_ext
54101 cat >>conftest.$ac_ext <<_ACEOF
54102 /* end confdefs.h. */
54103 +$ac_includes_default
54104 int
54105 find_stack_direction ()
54106 {
54107 @@ -9888,17 +10373,26 @@
54108 int
54109 main ()
54110 {
54111 - exit (find_stack_direction () < 0);
54112 + return find_stack_direction () < 0;
54113 }
54114 _ACEOF
54115 rm -f conftest$ac_exeext
54116 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54117 - (eval $ac_link) 2>&5
54118 +if { (ac_try="$ac_link"
54119 +case "(($ac_try" in
54120 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
54121 + *) ac_try_echo=$ac_try;;
54122 +esac
54123 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
54124 + (eval "$ac_link") 2>&5
54125 ac_status=$?
54126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54127 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
54128 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54129 - (eval $ac_try) 2>&5
54130 + { (case "(($ac_try" in
54131 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
54132 + *) ac_try_echo=$ac_try;;
54133 +esac
54134 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
54135 + (eval "$ac_try") 2>&5
54136 ac_status=$?
54137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54138 (exit $ac_status); }; }; then
54139 @@ -9911,11 +10405,13 @@
54140 ( exit $ac_status )
54141 ac_cv_c_stack_direction=-1
54142 fi
54143 -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
54144 +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
54145 fi
54146 +
54147 +
54148 fi
54149 -echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
54150 -echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
54151 +{ echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
54152 +echo "${ECHO_T}$ac_cv_c_stack_direction" >&6; }
54153
54154 cat >>confdefs.h <<_ACEOF
54155 #define STACK_DIRECTION $ac_cv_c_stack_direction
54156 @@ -9924,8 +10420,8 @@
54157
54158 fi
54159
54160 -echo "$as_me:$LINENO: checking for inline" >&5
54161 -echo $ECHO_N "checking for inline... $ECHO_C" >&6
54162 +{ echo "$as_me:$LINENO: checking for inline" >&5
54163 +echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
54164 if test "${ac_cv_c_inline+set}" = set; then
54165 echo $ECHO_N "(cached) $ECHO_C" >&6
54166 else
54167 @@ -9945,39 +10441,37 @@
54168
54169 _ACEOF
54170 rm -f conftest.$ac_objext
54171 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54172 - (eval $ac_compile) 2>conftest.er1
54173 +if { (ac_try="$ac_compile"
54174 +case "(($ac_try" in
54175 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
54176 + *) ac_try_echo=$ac_try;;
54177 +esac
54178 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
54179 + (eval "$ac_compile") 2>conftest.er1
54180 ac_status=$?
54181 grep -v '^ *+' conftest.er1 >conftest.err
54182 rm -f conftest.er1
54183 cat conftest.err >&5
54184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54185 - (exit $ac_status); } &&
54186 - { ac_try='test -z "$ac_c_werror_flag"
54187 - || test ! -s conftest.err'
54188 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54189 - (eval $ac_try) 2>&5
54190 - ac_status=$?
54191 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
54192 - (exit $ac_status); }; } &&
54193 - { ac_try='test -s conftest.$ac_objext'
54194 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54195 - (eval $ac_try) 2>&5
54196 - ac_status=$?
54197 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
54198 - (exit $ac_status); }; }; then
54199 - ac_cv_c_inline=$ac_kw; break
54200 + (exit $ac_status); } && {
54201 + test -z "$ac_c_werror_flag" ||
54202 + test ! -s conftest.err
54203 + } && test -s conftest.$ac_objext; then
54204 + ac_cv_c_inline=$ac_kw
54205 else
54206 echo "$as_me: failed program was:" >&5
54207 sed 's/^/| /' conftest.$ac_ext >&5
54208
54209 +
54210 fi
54211 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54212 +
54213 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54214 + test "$ac_cv_c_inline" != no && break
54215 done
54216
54217 fi
54218 -echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
54219 -echo "${ECHO_T}$ac_cv_c_inline" >&6
54220 +{ echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
54221 +echo "${ECHO_T}$ac_cv_c_inline" >&6; }
54222
54223
54224 case $ac_cv_c_inline in
54225 @@ -10002,9 +10496,9 @@
54226 for ac_func in unlink remove
54227 do
54228 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54229 -echo "$as_me:$LINENO: checking for $ac_func" >&5
54230 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54231 -if eval "test \"\${$as_ac_var+set}\" = set"; then
54232 +{ echo "$as_me:$LINENO: checking for $ac_func" >&5
54233 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
54234 +if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
54235 echo $ECHO_N "(cached) $ECHO_C" >&6
54236 else
54237 cat >conftest.$ac_ext <<_ACEOF
54238 @@ -10030,68 +10524,60 @@
54239
54240 #undef $ac_func
54241
54242 -/* Override any gcc2 internal prototype to avoid an error. */
54243 +/* Override any GCC internal prototype to avoid an error.
54244 + Use char because int might match the return type of a GCC
54245 + builtin and then its argument prototype would still apply. */
54246 #ifdef __cplusplus
54247 extern "C"
54248 -{
54249 #endif
54250 -/* We use char because int might match the return type of a gcc2
54251 - builtin and then its argument prototype would still apply. */
54252 char $ac_func ();
54253 /* The GNU C library defines this for functions which it implements
54254 to always fail with ENOSYS. Some functions are actually named
54255 something starting with __ and the normal name is an alias. */
54256 -#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54257 +#if defined __stub_$ac_func || defined __stub___$ac_func
54258 choke me
54259 -#else
54260 -char (*f) () = $ac_func;
54261 -#endif
54262 -#ifdef __cplusplus
54263 -}
54264 #endif
54265
54266 int
54267 main ()
54268 {
54269 -return f != $ac_func;
54270 +return $ac_func ();
54271 ;
54272 return 0;
54273 }
54274 _ACEOF
54275 rm -f conftest.$ac_objext conftest$ac_exeext
54276 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54277 - (eval $ac_link) 2>conftest.er1
54278 +if { (ac_try="$ac_link"
54279 +case "(($ac_try" in
54280 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
54281 + *) ac_try_echo=$ac_try;;
54282 +esac
54283 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
54284 + (eval "$ac_link") 2>conftest.er1
54285 ac_status=$?
54286 grep -v '^ *+' conftest.er1 >conftest.err
54287 rm -f conftest.er1
54288 cat conftest.err >&5
54289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54290 - (exit $ac_status); } &&
54291 - { ac_try='test -z "$ac_c_werror_flag"
54292 - || test ! -s conftest.err'
54293 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54294 - (eval $ac_try) 2>&5
54295 - ac_status=$?
54296 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
54297 - (exit $ac_status); }; } &&
54298 - { ac_try='test -s conftest$ac_exeext'
54299 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54300 - (eval $ac_try) 2>&5
54301 - ac_status=$?
54302 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
54303 - (exit $ac_status); }; }; then
54304 + (exit $ac_status); } && {
54305 + test -z "$ac_c_werror_flag" ||
54306 + test ! -s conftest.err
54307 + } && test -s conftest$ac_exeext &&
54308 + $as_test_x conftest$ac_exeext; then
54309 eval "$as_ac_var=yes"
54310 else
54311 echo "$as_me: failed program was:" >&5
54312 sed 's/^/| /' conftest.$ac_ext >&5
54313
54314 -eval "$as_ac_var=no"
54315 + eval "$as_ac_var=no"
54316 fi
54317 -rm -f conftest.err conftest.$ac_objext \
54318 +
54319 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
54320 conftest$ac_exeext conftest.$ac_ext
54321 fi
54322 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54323 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54324 +ac_res=`eval echo '${'$as_ac_var'}'`
54325 + { echo "$as_me:$LINENO: result: $ac_res" >&5
54326 +echo "${ECHO_T}$ac_res" >&6; }
54327 if test `eval echo '${'$as_ac_var'}'` = yes; then
54328 cat >>confdefs.h <<_ACEOF
54329 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54330 @@ -10106,9 +10592,9 @@
54331 for ac_func in sbrk
54332 do
54333 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54334 -echo "$as_me:$LINENO: checking for $ac_func" >&5
54335 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54336 -if eval "test \"\${$as_ac_var+set}\" = set"; then
54337 +{ echo "$as_me:$LINENO: checking for $ac_func" >&5
54338 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
54339 +if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
54340 echo $ECHO_N "(cached) $ECHO_C" >&6
54341 else
54342 cat >conftest.$ac_ext <<_ACEOF
54343 @@ -10134,68 +10620,60 @@
54344
54345 #undef $ac_func
54346
54347 -/* Override any gcc2 internal prototype to avoid an error. */
54348 +/* Override any GCC internal prototype to avoid an error.
54349 + Use char because int might match the return type of a GCC
54350 + builtin and then its argument prototype would still apply. */
54351 #ifdef __cplusplus
54352 extern "C"
54353 -{
54354 #endif
54355 -/* We use char because int might match the return type of a gcc2
54356 - builtin and then its argument prototype would still apply. */
54357 char $ac_func ();
54358 /* The GNU C library defines this for functions which it implements
54359 to always fail with ENOSYS. Some functions are actually named
54360 something starting with __ and the normal name is an alias. */
54361 -#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54362 +#if defined __stub_$ac_func || defined __stub___$ac_func
54363 choke me
54364 -#else
54365 -char (*f) () = $ac_func;
54366 -#endif
54367 -#ifdef __cplusplus
54368 -}
54369 #endif
54370
54371 int
54372 main ()
54373 {
54374 -return f != $ac_func;
54375 +return $ac_func ();
54376 ;
54377 return 0;
54378 }
54379 _ACEOF
54380 rm -f conftest.$ac_objext conftest$ac_exeext
54381 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54382 - (eval $ac_link) 2>conftest.er1
54383 +if { (ac_try="$ac_link"
54384 +case "(($ac_try" in
54385 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
54386 + *) ac_try_echo=$ac_try;;
54387 +esac
54388 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
54389 + (eval "$ac_link") 2>conftest.er1
54390 ac_status=$?
54391 grep -v '^ *+' conftest.er1 >conftest.err
54392 rm -f conftest.er1
54393 cat conftest.err >&5
54394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54395 - (exit $ac_status); } &&
54396 - { ac_try='test -z "$ac_c_werror_flag"
54397 - || test ! -s conftest.err'
54398 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54399 - (eval $ac_try) 2>&5
54400 - ac_status=$?
54401 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
54402 - (exit $ac_status); }; } &&
54403 - { ac_try='test -s conftest$ac_exeext'
54404 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54405 - (eval $ac_try) 2>&5
54406 - ac_status=$?
54407 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
54408 - (exit $ac_status); }; }; then
54409 + (exit $ac_status); } && {
54410 + test -z "$ac_c_werror_flag" ||
54411 + test ! -s conftest.err
54412 + } && test -s conftest$ac_exeext &&
54413 + $as_test_x conftest$ac_exeext; then
54414 eval "$as_ac_var=yes"
54415 else
54416 echo "$as_me: failed program was:" >&5
54417 sed 's/^/| /' conftest.$ac_ext >&5
54418
54419 -eval "$as_ac_var=no"
54420 + eval "$as_ac_var=no"
54421 fi
54422 -rm -f conftest.err conftest.$ac_objext \
54423 +
54424 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
54425 conftest$ac_exeext conftest.$ac_ext
54426 fi
54427 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54428 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54429 +ac_res=`eval echo '${'$as_ac_var'}'`
54430 + { echo "$as_me:$LINENO: result: $ac_res" >&5
54431 +echo "${ECHO_T}$ac_res" >&6; }
54432 if test `eval echo '${'$as_ac_var'}'` = yes; then
54433 cat >>confdefs.h <<_ACEOF
54434 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54435 @@ -10215,8 +10693,8 @@
54436 # on darwin the libm is a symbolic link to libSystem.dylib
54437 ;;
54438 *-ncr-sysv4.3*)
54439 - echo "$as_me:$LINENO: checking for _mwvalidcheckl in -lmw" >&5
54440 -echo $ECHO_N "checking for _mwvalidcheckl in -lmw... $ECHO_C" >&6
54441 + { echo "$as_me:$LINENO: checking for _mwvalidcheckl in -lmw" >&5
54442 +echo $ECHO_N "checking for _mwvalidcheckl in -lmw... $ECHO_C" >&6; }
54443 if test "${ac_cv_lib_mw__mwvalidcheckl+set}" = set; then
54444 echo $ECHO_N "(cached) $ECHO_C" >&6
54445 else
54446 @@ -10229,62 +10707,59 @@
54447 cat >>conftest.$ac_ext <<_ACEOF
54448 /* end confdefs.h. */
54449
54450 -/* Override any gcc2 internal prototype to avoid an error. */
54451 +/* Override any GCC internal prototype to avoid an error.
54452 + Use char because int might match the return type of a GCC
54453 + builtin and then its argument prototype would still apply. */
54454 #ifdef __cplusplus
54455 extern "C"
54456 #endif
54457 -/* We use char because int might match the return type of a gcc2
54458 - builtin and then its argument prototype would still apply. */
54459 char _mwvalidcheckl ();
54460 int
54461 main ()
54462 {
54463 -_mwvalidcheckl ();
54464 +return _mwvalidcheckl ();
54465 ;
54466 return 0;
54467 }
54468 _ACEOF
54469 rm -f conftest.$ac_objext conftest$ac_exeext
54470 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54471 - (eval $ac_link) 2>conftest.er1
54472 +if { (ac_try="$ac_link"
54473 +case "(($ac_try" in
54474 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
54475 + *) ac_try_echo=$ac_try;;
54476 +esac
54477 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
54478 + (eval "$ac_link") 2>conftest.er1
54479 ac_status=$?
54480 grep -v '^ *+' conftest.er1 >conftest.err
54481 rm -f conftest.er1
54482 cat conftest.err >&5
54483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54484 - (exit $ac_status); } &&
54485 - { ac_try='test -z "$ac_c_werror_flag"
54486 - || test ! -s conftest.err'
54487 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54488 - (eval $ac_try) 2>&5
54489 - ac_status=$?
54490 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
54491 - (exit $ac_status); }; } &&
54492 - { ac_try='test -s conftest$ac_exeext'
54493 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54494 - (eval $ac_try) 2>&5
54495 - ac_status=$?
54496 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
54497 - (exit $ac_status); }; }; then
54498 + (exit $ac_status); } && {
54499 + test -z "$ac_c_werror_flag" ||
54500 + test ! -s conftest.err
54501 + } && test -s conftest$ac_exeext &&
54502 + $as_test_x conftest$ac_exeext; then
54503 ac_cv_lib_mw__mwvalidcheckl=yes
54504 else
54505 echo "$as_me: failed program was:" >&5
54506 sed 's/^/| /' conftest.$ac_ext >&5
54507
54508 -ac_cv_lib_mw__mwvalidcheckl=no
54509 + ac_cv_lib_mw__mwvalidcheckl=no
54510 fi
54511 -rm -f conftest.err conftest.$ac_objext \
54512 +
54513 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
54514 conftest$ac_exeext conftest.$ac_ext
54515 LIBS=$ac_check_lib_save_LIBS
54516 fi
54517 -echo "$as_me:$LINENO: result: $ac_cv_lib_mw__mwvalidcheckl" >&5
54518 -echo "${ECHO_T}$ac_cv_lib_mw__mwvalidcheckl" >&6
54519 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_mw__mwvalidcheckl" >&5
54520 +echo "${ECHO_T}$ac_cv_lib_mw__mwvalidcheckl" >&6; }
54521 if test $ac_cv_lib_mw__mwvalidcheckl = yes; then
54522 LIBM="-lmw"
54523 fi
54524
54525 - echo "$as_me:$LINENO: checking for main in -lm" >&5
54526 -echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
54527 + { echo "$as_me:$LINENO: checking for main in -lm" >&5
54528 +echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6; }
54529 if test "${ac_cv_lib_m_main+set}" = set; then
54530 echo $ECHO_N "(cached) $ECHO_C" >&6
54531 else
54532 @@ -10301,54 +10776,51 @@
54533 int
54534 main ()
54535 {
54536 -main ();
54537 +return main ();
54538 ;
54539 return 0;
54540 }
54541 _ACEOF
54542 rm -f conftest.$ac_objext conftest$ac_exeext
54543 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54544 - (eval $ac_link) 2>conftest.er1
54545 +if { (ac_try="$ac_link"
54546 +case "(($ac_try" in
54547 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
54548 + *) ac_try_echo=$ac_try;;
54549 +esac
54550 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
54551 + (eval "$ac_link") 2>conftest.er1
54552 ac_status=$?
54553 grep -v '^ *+' conftest.er1 >conftest.err
54554 rm -f conftest.er1
54555 cat conftest.err >&5
54556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54557 - (exit $ac_status); } &&
54558 - { ac_try='test -z "$ac_c_werror_flag"
54559 - || test ! -s conftest.err'
54560 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54561 - (eval $ac_try) 2>&5
54562 - ac_status=$?
54563 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
54564 - (exit $ac_status); }; } &&
54565 - { ac_try='test -s conftest$ac_exeext'
54566 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54567 - (eval $ac_try) 2>&5
54568 - ac_status=$?
54569 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
54570 - (exit $ac_status); }; }; then
54571 + (exit $ac_status); } && {
54572 + test -z "$ac_c_werror_flag" ||
54573 + test ! -s conftest.err
54574 + } && test -s conftest$ac_exeext &&
54575 + $as_test_x conftest$ac_exeext; then
54576 ac_cv_lib_m_main=yes
54577 else
54578 echo "$as_me: failed program was:" >&5
54579 sed 's/^/| /' conftest.$ac_ext >&5
54580
54581 -ac_cv_lib_m_main=no
54582 + ac_cv_lib_m_main=no
54583 fi
54584 -rm -f conftest.err conftest.$ac_objext \
54585 +
54586 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
54587 conftest$ac_exeext conftest.$ac_ext
54588 LIBS=$ac_check_lib_save_LIBS
54589 fi
54590 -echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
54591 -echo "${ECHO_T}$ac_cv_lib_m_main" >&6
54592 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
54593 +echo "${ECHO_T}$ac_cv_lib_m_main" >&6; }
54594 if test $ac_cv_lib_m_main = yes; then
54595 LIBM="$LIBM -lm"
54596 fi
54597
54598 ;;
54599 *)
54600 - echo "$as_me:$LINENO: checking for main in -lm" >&5
54601 -echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
54602 + { echo "$as_me:$LINENO: checking for main in -lm" >&5
54603 +echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6; }
54604 if test "${ac_cv_lib_m_main+set}" = set; then
54605 echo $ECHO_N "(cached) $ECHO_C" >&6
54606 else
54607 @@ -10365,46 +10837,43 @@
54608 int
54609 main ()
54610 {
54611 -main ();
54612 +return main ();
54613 ;
54614 return 0;
54615 }
54616 _ACEOF
54617 rm -f conftest.$ac_objext conftest$ac_exeext
54618 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54619 - (eval $ac_link) 2>conftest.er1
54620 +if { (ac_try="$ac_link"
54621 +case "(($ac_try" in
54622 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
54623 + *) ac_try_echo=$ac_try;;
54624 +esac
54625 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
54626 + (eval "$ac_link") 2>conftest.er1
54627 ac_status=$?
54628 grep -v '^ *+' conftest.er1 >conftest.err
54629 rm -f conftest.er1
54630 cat conftest.err >&5
54631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54632 - (exit $ac_status); } &&
54633 - { ac_try='test -z "$ac_c_werror_flag"
54634 - || test ! -s conftest.err'
54635 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54636 - (eval $ac_try) 2>&5
54637 - ac_status=$?
54638 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
54639 - (exit $ac_status); }; } &&
54640 - { ac_try='test -s conftest$ac_exeext'
54641 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54642 - (eval $ac_try) 2>&5
54643 - ac_status=$?
54644 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
54645 - (exit $ac_status); }; }; then
54646 + (exit $ac_status); } && {
54647 + test -z "$ac_c_werror_flag" ||
54648 + test ! -s conftest.err
54649 + } && test -s conftest$ac_exeext &&
54650 + $as_test_x conftest$ac_exeext; then
54651 ac_cv_lib_m_main=yes
54652 else
54653 echo "$as_me: failed program was:" >&5
54654 sed 's/^/| /' conftest.$ac_ext >&5
54655
54656 -ac_cv_lib_m_main=no
54657 + ac_cv_lib_m_main=no
54658 fi
54659 -rm -f conftest.err conftest.$ac_objext \
54660 +
54661 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
54662 conftest$ac_exeext conftest.$ac_ext
54663 LIBS=$ac_check_lib_save_LIBS
54664 fi
54665 -echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
54666 -echo "${ECHO_T}$ac_cv_lib_m_main" >&6
54667 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
54668 +echo "${ECHO_T}$ac_cv_lib_m_main" >&6; }
54669 if test $ac_cv_lib_m_main = yes; then
54670 LIBM="-lm"
54671 fi
54672 @@ -10419,8 +10888,8 @@
54673 # Some non-ANSI preprocessors botch requoting inside strings. That's bad
54674 # enough, but on some of those systems, the assert macro relies on requoting
54675 # working properly!
54676 -echo "$as_me:$LINENO: checking for working assert macro" >&5
54677 -echo $ECHO_N "checking for working assert macro... $ECHO_C" >&6
54678 +{ echo "$as_me:$LINENO: checking for working assert macro" >&5
54679 +echo $ECHO_N "checking for working assert macro... $ECHO_C" >&6; }
54680 if test "${gas_cv_assert_ok+set}" = set; then
54681 echo $ECHO_N "(cached) $ECHO_C" >&6
54682 else
54683 @@ -10449,39 +10918,36 @@
54684 }
54685 _ACEOF
54686 rm -f conftest.$ac_objext conftest$ac_exeext
54687 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54688 - (eval $ac_link) 2>conftest.er1
54689 +if { (ac_try="$ac_link"
54690 +case "(($ac_try" in
54691 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
54692 + *) ac_try_echo=$ac_try;;
54693 +esac
54694 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
54695 + (eval "$ac_link") 2>conftest.er1
54696 ac_status=$?
54697 grep -v '^ *+' conftest.er1 >conftest.err
54698 rm -f conftest.er1
54699 cat conftest.err >&5
54700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54701 - (exit $ac_status); } &&
54702 - { ac_try='test -z "$ac_c_werror_flag"
54703 - || test ! -s conftest.err'
54704 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54705 - (eval $ac_try) 2>&5
54706 - ac_status=$?
54707 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
54708 - (exit $ac_status); }; } &&
54709 - { ac_try='test -s conftest$ac_exeext'
54710 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54711 - (eval $ac_try) 2>&5
54712 - ac_status=$?
54713 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
54714 - (exit $ac_status); }; }; then
54715 + (exit $ac_status); } && {
54716 + test -z "$ac_c_werror_flag" ||
54717 + test ! -s conftest.err
54718 + } && test -s conftest$ac_exeext &&
54719 + $as_test_x conftest$ac_exeext; then
54720 gas_cv_assert_ok=yes
54721 else
54722 echo "$as_me: failed program was:" >&5
54723 sed 's/^/| /' conftest.$ac_ext >&5
54724
54725 -gas_cv_assert_ok=no
54726 + gas_cv_assert_ok=no
54727 fi
54728 -rm -f conftest.err conftest.$ac_objext \
54729 +
54730 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
54731 conftest$ac_exeext conftest.$ac_ext
54732 fi
54733 -echo "$as_me:$LINENO: result: $gas_cv_assert_ok" >&5
54734 -echo "${ECHO_T}$gas_cv_assert_ok" >&6
54735 +{ echo "$as_me:$LINENO: result: $gas_cv_assert_ok" >&5
54736 +echo "${ECHO_T}$gas_cv_assert_ok" >&6; }
54737 test $gas_cv_assert_ok = yes ||
54738 cat >>confdefs.h <<\_ACEOF
54739 #define BROKEN_ASSERT 1
54740 @@ -10514,8 +10980,8 @@
54741 # Does errno.h declare errno, or do we have to add a separate declaration
54742 # for it?
54743
54744 -echo "$as_me:$LINENO: checking whether declaration is required for errno" >&5
54745 -echo $ECHO_N "checking whether declaration is required for errno... $ECHO_C" >&6
54746 +{ echo "$as_me:$LINENO: checking whether declaration is required for errno" >&5
54747 +echo $ECHO_N "checking whether declaration is required for errno... $ECHO_C" >&6; }
54748 if test "${gas_cv_decl_needed_errno+set}" = set; then
54749 echo $ECHO_N "(cached) $ECHO_C" >&6
54750 else
54751 @@ -10543,39 +11009,36 @@
54752 }
54753 _ACEOF
54754 rm -f conftest.$ac_objext conftest$ac_exeext
54755 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54756 - (eval $ac_link) 2>conftest.er1
54757 +if { (ac_try="$ac_link"
54758 +case "(($ac_try" in
54759 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
54760 + *) ac_try_echo=$ac_try;;
54761 +esac
54762 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
54763 + (eval "$ac_link") 2>conftest.er1
54764 ac_status=$?
54765 grep -v '^ *+' conftest.er1 >conftest.err
54766 rm -f conftest.er1
54767 cat conftest.err >&5
54768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54769 - (exit $ac_status); } &&
54770 - { ac_try='test -z "$ac_c_werror_flag"
54771 - || test ! -s conftest.err'
54772 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54773 - (eval $ac_try) 2>&5
54774 - ac_status=$?
54775 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
54776 - (exit $ac_status); }; } &&
54777 - { ac_try='test -s conftest$ac_exeext'
54778 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54779 - (eval $ac_try) 2>&5
54780 - ac_status=$?
54781 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
54782 - (exit $ac_status); }; }; then
54783 + (exit $ac_status); } && {
54784 + test -z "$ac_c_werror_flag" ||
54785 + test ! -s conftest.err
54786 + } && test -s conftest$ac_exeext &&
54787 + $as_test_x conftest$ac_exeext; then
54788 gas_cv_decl_needed_errno=no
54789 else
54790 echo "$as_me: failed program was:" >&5
54791 sed 's/^/| /' conftest.$ac_ext >&5
54792
54793 -gas_cv_decl_needed_errno=yes
54794 + gas_cv_decl_needed_errno=yes
54795 fi
54796 -rm -f conftest.err conftest.$ac_objext \
54797 +
54798 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
54799 conftest$ac_exeext conftest.$ac_ext
54800 fi
54801 -echo "$as_me:$LINENO: result: $gas_cv_decl_needed_errno" >&5
54802 -echo "${ECHO_T}$gas_cv_decl_needed_errno" >&6
54803 +{ echo "$as_me:$LINENO: result: $gas_cv_decl_needed_errno" >&5
54804 +echo "${ECHO_T}$gas_cv_decl_needed_errno" >&6; }
54805 if test $gas_cv_decl_needed_errno = yes; then
54806
54807 cat >>confdefs.h <<\_ACEOF
54808 @@ -10585,8 +11048,8 @@
54809 fi
54810
54811
54812 -echo "$as_me:$LINENO: checking for a known getopt prototype in unistd.h" >&5
54813 -echo $ECHO_N "checking for a known getopt prototype in unistd.h... $ECHO_C" >&6
54814 +{ echo "$as_me:$LINENO: checking for a known getopt prototype in unistd.h" >&5
54815 +echo $ECHO_N "checking for a known getopt prototype in unistd.h... $ECHO_C" >&6; }
54816 if test "${gas_cv_decl_getopt_unistd_h+set}" = set; then
54817 echo $ECHO_N "(cached) $ECHO_C" >&6
54818 else
54819 @@ -10606,39 +11069,35 @@
54820 }
54821 _ACEOF
54822 rm -f conftest.$ac_objext
54823 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54824 - (eval $ac_compile) 2>conftest.er1
54825 +if { (ac_try="$ac_compile"
54826 +case "(($ac_try" in
54827 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
54828 + *) ac_try_echo=$ac_try;;
54829 +esac
54830 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
54831 + (eval "$ac_compile") 2>conftest.er1
54832 ac_status=$?
54833 grep -v '^ *+' conftest.er1 >conftest.err
54834 rm -f conftest.er1
54835 cat conftest.err >&5
54836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54837 - (exit $ac_status); } &&
54838 - { ac_try='test -z "$ac_c_werror_flag"
54839 - || test ! -s conftest.err'
54840 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54841 - (eval $ac_try) 2>&5
54842 - ac_status=$?
54843 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
54844 - (exit $ac_status); }; } &&
54845 - { ac_try='test -s conftest.$ac_objext'
54846 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54847 - (eval $ac_try) 2>&5
54848 - ac_status=$?
54849 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
54850 - (exit $ac_status); }; }; then
54851 + (exit $ac_status); } && {
54852 + test -z "$ac_c_werror_flag" ||
54853 + test ! -s conftest.err
54854 + } && test -s conftest.$ac_objext; then
54855 gas_cv_decl_getopt_unistd_h=yes
54856 else
54857 echo "$as_me: failed program was:" >&5
54858 sed 's/^/| /' conftest.$ac_ext >&5
54859
54860 -gas_cv_decl_getopt_unistd_h=no
54861 + gas_cv_decl_getopt_unistd_h=no
54862 fi
54863 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54864 +
54865 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54866 fi
54867
54868 -echo "$as_me:$LINENO: result: $gas_cv_decl_getopt_unistd_h" >&5
54869 -echo "${ECHO_T}$gas_cv_decl_getopt_unistd_h" >&6
54870 +{ echo "$as_me:$LINENO: result: $gas_cv_decl_getopt_unistd_h" >&5
54871 +echo "${ECHO_T}$gas_cv_decl_getopt_unistd_h" >&6; }
54872 if test $gas_cv_decl_getopt_unistd_h = yes; then
54873
54874 cat >>confdefs.h <<\_ACEOF
54875 @@ -10648,8 +11107,8 @@
54876 fi
54877
54878
54879 -echo "$as_me:$LINENO: checking whether declaration is required for environ" >&5
54880 -echo $ECHO_N "checking whether declaration is required for environ... $ECHO_C" >&6
54881 +{ echo "$as_me:$LINENO: checking whether declaration is required for environ" >&5
54882 +echo $ECHO_N "checking whether declaration is required for environ... $ECHO_C" >&6; }
54883 if test "${gas_cv_decl_needed_environ+set}" = set; then
54884 echo $ECHO_N "(cached) $ECHO_C" >&6
54885 else
54886 @@ -10673,39 +11132,36 @@
54887 }
54888 _ACEOF
54889 rm -f conftest.$ac_objext conftest$ac_exeext
54890 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54891 - (eval $ac_link) 2>conftest.er1
54892 +if { (ac_try="$ac_link"
54893 +case "(($ac_try" in
54894 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
54895 + *) ac_try_echo=$ac_try;;
54896 +esac
54897 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
54898 + (eval "$ac_link") 2>conftest.er1
54899 ac_status=$?
54900 grep -v '^ *+' conftest.er1 >conftest.err
54901 rm -f conftest.er1
54902 cat conftest.err >&5
54903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54904 - (exit $ac_status); } &&
54905 - { ac_try='test -z "$ac_c_werror_flag"
54906 - || test ! -s conftest.err'
54907 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54908 - (eval $ac_try) 2>&5
54909 - ac_status=$?
54910 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
54911 - (exit $ac_status); }; } &&
54912 - { ac_try='test -s conftest$ac_exeext'
54913 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54914 - (eval $ac_try) 2>&5
54915 - ac_status=$?
54916 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
54917 - (exit $ac_status); }; }; then
54918 + (exit $ac_status); } && {
54919 + test -z "$ac_c_werror_flag" ||
54920 + test ! -s conftest.err
54921 + } && test -s conftest$ac_exeext &&
54922 + $as_test_x conftest$ac_exeext; then
54923 gas_cv_decl_needed_environ=no
54924 else
54925 echo "$as_me: failed program was:" >&5
54926 sed 's/^/| /' conftest.$ac_ext >&5
54927
54928 -gas_cv_decl_needed_environ=yes
54929 + gas_cv_decl_needed_environ=yes
54930 fi
54931 -rm -f conftest.err conftest.$ac_objext \
54932 +
54933 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
54934 conftest$ac_exeext conftest.$ac_ext
54935 fi
54936 -echo "$as_me:$LINENO: result: $gas_cv_decl_needed_environ" >&5
54937 -echo "${ECHO_T}$gas_cv_decl_needed_environ" >&6
54938 +{ echo "$as_me:$LINENO: result: $gas_cv_decl_needed_environ" >&5
54939 +echo "${ECHO_T}$gas_cv_decl_needed_environ" >&6; }
54940 if test $gas_cv_decl_needed_environ = yes; then
54941
54942 cat >>confdefs.h <<\_ACEOF
54943 @@ -10715,8 +11171,8 @@
54944 fi
54945
54946
54947 -echo "$as_me:$LINENO: checking whether declaration is required for ffs" >&5
54948 -echo $ECHO_N "checking whether declaration is required for ffs... $ECHO_C" >&6
54949 +{ echo "$as_me:$LINENO: checking whether declaration is required for ffs" >&5
54950 +echo $ECHO_N "checking whether declaration is required for ffs... $ECHO_C" >&6; }
54951 if test "${gas_cv_decl_needed_ffs+set}" = set; then
54952 echo $ECHO_N "(cached) $ECHO_C" >&6
54953 else
54954 @@ -10740,39 +11196,36 @@
54955 }
54956 _ACEOF
54957 rm -f conftest.$ac_objext conftest$ac_exeext
54958 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54959 - (eval $ac_link) 2>conftest.er1
54960 +if { (ac_try="$ac_link"
54961 +case "(($ac_try" in
54962 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
54963 + *) ac_try_echo=$ac_try;;
54964 +esac
54965 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
54966 + (eval "$ac_link") 2>conftest.er1
54967 ac_status=$?
54968 grep -v '^ *+' conftest.er1 >conftest.err
54969 rm -f conftest.er1
54970 cat conftest.err >&5
54971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54972 - (exit $ac_status); } &&
54973 - { ac_try='test -z "$ac_c_werror_flag"
54974 - || test ! -s conftest.err'
54975 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54976 - (eval $ac_try) 2>&5
54977 - ac_status=$?
54978 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
54979 - (exit $ac_status); }; } &&
54980 - { ac_try='test -s conftest$ac_exeext'
54981 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54982 - (eval $ac_try) 2>&5
54983 - ac_status=$?
54984 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
54985 - (exit $ac_status); }; }; then
54986 + (exit $ac_status); } && {
54987 + test -z "$ac_c_werror_flag" ||
54988 + test ! -s conftest.err
54989 + } && test -s conftest$ac_exeext &&
54990 + $as_test_x conftest$ac_exeext; then
54991 gas_cv_decl_needed_ffs=no
54992 else
54993 echo "$as_me: failed program was:" >&5
54994 sed 's/^/| /' conftest.$ac_ext >&5
54995
54996 -gas_cv_decl_needed_ffs=yes
54997 + gas_cv_decl_needed_ffs=yes
54998 fi
54999 -rm -f conftest.err conftest.$ac_objext \
55000 +
55001 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
55002 conftest$ac_exeext conftest.$ac_ext
55003 fi
55004 -echo "$as_me:$LINENO: result: $gas_cv_decl_needed_ffs" >&5
55005 -echo "${ECHO_T}$gas_cv_decl_needed_ffs" >&6
55006 +{ echo "$as_me:$LINENO: result: $gas_cv_decl_needed_ffs" >&5
55007 +echo "${ECHO_T}$gas_cv_decl_needed_ffs" >&6; }
55008 if test $gas_cv_decl_needed_ffs = yes; then
55009
55010 cat >>confdefs.h <<\_ACEOF
55011 @@ -10782,8 +11235,8 @@
55012 fi
55013
55014
55015 -echo "$as_me:$LINENO: checking whether declaration is required for free" >&5
55016 -echo $ECHO_N "checking whether declaration is required for free... $ECHO_C" >&6
55017 +{ echo "$as_me:$LINENO: checking whether declaration is required for free" >&5
55018 +echo $ECHO_N "checking whether declaration is required for free... $ECHO_C" >&6; }
55019 if test "${gas_cv_decl_needed_free+set}" = set; then
55020 echo $ECHO_N "(cached) $ECHO_C" >&6
55021 else
55022 @@ -10807,39 +11260,36 @@
55023 }
55024 _ACEOF
55025 rm -f conftest.$ac_objext conftest$ac_exeext
55026 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55027 - (eval $ac_link) 2>conftest.er1
55028 +if { (ac_try="$ac_link"
55029 +case "(($ac_try" in
55030 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
55031 + *) ac_try_echo=$ac_try;;
55032 +esac
55033 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
55034 + (eval "$ac_link") 2>conftest.er1
55035 ac_status=$?
55036 grep -v '^ *+' conftest.er1 >conftest.err
55037 rm -f conftest.er1
55038 cat conftest.err >&5
55039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55040 - (exit $ac_status); } &&
55041 - { ac_try='test -z "$ac_c_werror_flag"
55042 - || test ! -s conftest.err'
55043 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55044 - (eval $ac_try) 2>&5
55045 - ac_status=$?
55046 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
55047 - (exit $ac_status); }; } &&
55048 - { ac_try='test -s conftest$ac_exeext'
55049 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55050 - (eval $ac_try) 2>&5
55051 - ac_status=$?
55052 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
55053 - (exit $ac_status); }; }; then
55054 + (exit $ac_status); } && {
55055 + test -z "$ac_c_werror_flag" ||
55056 + test ! -s conftest.err
55057 + } && test -s conftest$ac_exeext &&
55058 + $as_test_x conftest$ac_exeext; then
55059 gas_cv_decl_needed_free=no
55060 else
55061 echo "$as_me: failed program was:" >&5
55062 sed 's/^/| /' conftest.$ac_ext >&5
55063
55064 -gas_cv_decl_needed_free=yes
55065 + gas_cv_decl_needed_free=yes
55066 fi
55067 -rm -f conftest.err conftest.$ac_objext \
55068 +
55069 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
55070 conftest$ac_exeext conftest.$ac_ext
55071 fi
55072 -echo "$as_me:$LINENO: result: $gas_cv_decl_needed_free" >&5
55073 -echo "${ECHO_T}$gas_cv_decl_needed_free" >&6
55074 +{ echo "$as_me:$LINENO: result: $gas_cv_decl_needed_free" >&5
55075 +echo "${ECHO_T}$gas_cv_decl_needed_free" >&6; }
55076 if test $gas_cv_decl_needed_free = yes; then
55077
55078 cat >>confdefs.h <<\_ACEOF
55079 @@ -10849,8 +11299,8 @@
55080 fi
55081
55082
55083 -echo "$as_me:$LINENO: checking whether declaration is required for malloc" >&5
55084 -echo $ECHO_N "checking whether declaration is required for malloc... $ECHO_C" >&6
55085 +{ echo "$as_me:$LINENO: checking whether declaration is required for malloc" >&5
55086 +echo $ECHO_N "checking whether declaration is required for malloc... $ECHO_C" >&6; }
55087 if test "${gas_cv_decl_needed_malloc+set}" = set; then
55088 echo $ECHO_N "(cached) $ECHO_C" >&6
55089 else
55090 @@ -10874,39 +11324,36 @@
55091 }
55092 _ACEOF
55093 rm -f conftest.$ac_objext conftest$ac_exeext
55094 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55095 - (eval $ac_link) 2>conftest.er1
55096 +if { (ac_try="$ac_link"
55097 +case "(($ac_try" in
55098 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
55099 + *) ac_try_echo=$ac_try;;
55100 +esac
55101 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
55102 + (eval "$ac_link") 2>conftest.er1
55103 ac_status=$?
55104 grep -v '^ *+' conftest.er1 >conftest.err
55105 rm -f conftest.er1
55106 cat conftest.err >&5
55107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55108 - (exit $ac_status); } &&
55109 - { ac_try='test -z "$ac_c_werror_flag"
55110 - || test ! -s conftest.err'
55111 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55112 - (eval $ac_try) 2>&5
55113 - ac_status=$?
55114 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
55115 - (exit $ac_status); }; } &&
55116 - { ac_try='test -s conftest$ac_exeext'
55117 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55118 - (eval $ac_try) 2>&5
55119 - ac_status=$?
55120 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
55121 - (exit $ac_status); }; }; then
55122 + (exit $ac_status); } && {
55123 + test -z "$ac_c_werror_flag" ||
55124 + test ! -s conftest.err
55125 + } && test -s conftest$ac_exeext &&
55126 + $as_test_x conftest$ac_exeext; then
55127 gas_cv_decl_needed_malloc=no
55128 else
55129 echo "$as_me: failed program was:" >&5
55130 sed 's/^/| /' conftest.$ac_ext >&5
55131
55132 -gas_cv_decl_needed_malloc=yes
55133 + gas_cv_decl_needed_malloc=yes
55134 fi
55135 -rm -f conftest.err conftest.$ac_objext \
55136 +
55137 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
55138 conftest$ac_exeext conftest.$ac_ext
55139 fi
55140 -echo "$as_me:$LINENO: result: $gas_cv_decl_needed_malloc" >&5
55141 -echo "${ECHO_T}$gas_cv_decl_needed_malloc" >&6
55142 +{ echo "$as_me:$LINENO: result: $gas_cv_decl_needed_malloc" >&5
55143 +echo "${ECHO_T}$gas_cv_decl_needed_malloc" >&6; }
55144 if test $gas_cv_decl_needed_malloc = yes; then
55145
55146 cat >>confdefs.h <<\_ACEOF
55147 @@ -10916,8 +11363,8 @@
55148 fi
55149
55150
55151 -echo "$as_me:$LINENO: checking whether declaration is required for sbrk" >&5
55152 -echo $ECHO_N "checking whether declaration is required for sbrk... $ECHO_C" >&6
55153 +{ echo "$as_me:$LINENO: checking whether declaration is required for sbrk" >&5
55154 +echo $ECHO_N "checking whether declaration is required for sbrk... $ECHO_C" >&6; }
55155 if test "${gas_cv_decl_needed_sbrk+set}" = set; then
55156 echo $ECHO_N "(cached) $ECHO_C" >&6
55157 else
55158 @@ -10941,39 +11388,36 @@
55159 }
55160 _ACEOF
55161 rm -f conftest.$ac_objext conftest$ac_exeext
55162 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55163 - (eval $ac_link) 2>conftest.er1
55164 +if { (ac_try="$ac_link"
55165 +case "(($ac_try" in
55166 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
55167 + *) ac_try_echo=$ac_try;;
55168 +esac
55169 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
55170 + (eval "$ac_link") 2>conftest.er1
55171 ac_status=$?
55172 grep -v '^ *+' conftest.er1 >conftest.err
55173 rm -f conftest.er1
55174 cat conftest.err >&5
55175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55176 - (exit $ac_status); } &&
55177 - { ac_try='test -z "$ac_c_werror_flag"
55178 - || test ! -s conftest.err'
55179 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55180 - (eval $ac_try) 2>&5
55181 - ac_status=$?
55182 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
55183 - (exit $ac_status); }; } &&
55184 - { ac_try='test -s conftest$ac_exeext'
55185 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55186 - (eval $ac_try) 2>&5
55187 - ac_status=$?
55188 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
55189 - (exit $ac_status); }; }; then
55190 + (exit $ac_status); } && {
55191 + test -z "$ac_c_werror_flag" ||
55192 + test ! -s conftest.err
55193 + } && test -s conftest$ac_exeext &&
55194 + $as_test_x conftest$ac_exeext; then
55195 gas_cv_decl_needed_sbrk=no
55196 else
55197 echo "$as_me: failed program was:" >&5
55198 sed 's/^/| /' conftest.$ac_ext >&5
55199
55200 -gas_cv_decl_needed_sbrk=yes
55201 + gas_cv_decl_needed_sbrk=yes
55202 fi
55203 -rm -f conftest.err conftest.$ac_objext \
55204 +
55205 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
55206 conftest$ac_exeext conftest.$ac_ext
55207 fi
55208 -echo "$as_me:$LINENO: result: $gas_cv_decl_needed_sbrk" >&5
55209 -echo "${ECHO_T}$gas_cv_decl_needed_sbrk" >&6
55210 +{ echo "$as_me:$LINENO: result: $gas_cv_decl_needed_sbrk" >&5
55211 +echo "${ECHO_T}$gas_cv_decl_needed_sbrk" >&6; }
55212 if test $gas_cv_decl_needed_sbrk = yes; then
55213
55214 cat >>confdefs.h <<\_ACEOF
55215 @@ -10983,8 +11427,8 @@
55216 fi
55217
55218
55219 -echo "$as_me:$LINENO: checking whether declaration is required for strstr" >&5
55220 -echo $ECHO_N "checking whether declaration is required for strstr... $ECHO_C" >&6
55221 +{ echo "$as_me:$LINENO: checking whether declaration is required for strstr" >&5
55222 +echo $ECHO_N "checking whether declaration is required for strstr... $ECHO_C" >&6; }
55223 if test "${gas_cv_decl_needed_strstr+set}" = set; then
55224 echo $ECHO_N "(cached) $ECHO_C" >&6
55225 else
55226 @@ -11008,39 +11452,36 @@
55227 }
55228 _ACEOF
55229 rm -f conftest.$ac_objext conftest$ac_exeext
55230 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55231 - (eval $ac_link) 2>conftest.er1
55232 +if { (ac_try="$ac_link"
55233 +case "(($ac_try" in
55234 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
55235 + *) ac_try_echo=$ac_try;;
55236 +esac
55237 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
55238 + (eval "$ac_link") 2>conftest.er1
55239 ac_status=$?
55240 grep -v '^ *+' conftest.er1 >conftest.err
55241 rm -f conftest.er1
55242 cat conftest.err >&5
55243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55244 - (exit $ac_status); } &&
55245 - { ac_try='test -z "$ac_c_werror_flag"
55246 - || test ! -s conftest.err'
55247 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55248 - (eval $ac_try) 2>&5
55249 - ac_status=$?
55250 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
55251 - (exit $ac_status); }; } &&
55252 - { ac_try='test -s conftest$ac_exeext'
55253 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55254 - (eval $ac_try) 2>&5
55255 - ac_status=$?
55256 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
55257 - (exit $ac_status); }; }; then
55258 + (exit $ac_status); } && {
55259 + test -z "$ac_c_werror_flag" ||
55260 + test ! -s conftest.err
55261 + } && test -s conftest$ac_exeext &&
55262 + $as_test_x conftest$ac_exeext; then
55263 gas_cv_decl_needed_strstr=no
55264 else
55265 echo "$as_me: failed program was:" >&5
55266 sed 's/^/| /' conftest.$ac_ext >&5
55267
55268 -gas_cv_decl_needed_strstr=yes
55269 + gas_cv_decl_needed_strstr=yes
55270 fi
55271 -rm -f conftest.err conftest.$ac_objext \
55272 +
55273 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
55274 conftest$ac_exeext conftest.$ac_ext
55275 fi
55276 -echo "$as_me:$LINENO: result: $gas_cv_decl_needed_strstr" >&5
55277 -echo "${ECHO_T}$gas_cv_decl_needed_strstr" >&6
55278 +{ echo "$as_me:$LINENO: result: $gas_cv_decl_needed_strstr" >&5
55279 +echo "${ECHO_T}$gas_cv_decl_needed_strstr" >&6; }
55280 if test $gas_cv_decl_needed_strstr = yes; then
55281
55282 cat >>confdefs.h <<\_ACEOF
55283 @@ -11050,8 +11491,8 @@
55284 fi
55285
55286
55287 -echo "$as_me:$LINENO: checking whether vsnprintf is declared" >&5
55288 -echo $ECHO_N "checking whether vsnprintf is declared... $ECHO_C" >&6
55289 +{ echo "$as_me:$LINENO: checking whether vsnprintf is declared" >&5
55290 +echo $ECHO_N "checking whether vsnprintf is declared... $ECHO_C" >&6; }
55291 if test "${ac_cv_have_decl_vsnprintf+set}" = set; then
55292 echo $ECHO_N "(cached) $ECHO_C" >&6
55293 else
55294 @@ -11066,7 +11507,7 @@
55295 main ()
55296 {
55297 #ifndef vsnprintf
55298 - char *p = (char *) vsnprintf;
55299 + (void) vsnprintf;
55300 #endif
55301
55302 ;
55303 @@ -11074,38 +11515,34 @@
55304 }
55305 _ACEOF
55306 rm -f conftest.$ac_objext
55307 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55308 - (eval $ac_compile) 2>conftest.er1
55309 +if { (ac_try="$ac_compile"
55310 +case "(($ac_try" in
55311 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
55312 + *) ac_try_echo=$ac_try;;
55313 +esac
55314 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
55315 + (eval "$ac_compile") 2>conftest.er1
55316 ac_status=$?
55317 grep -v '^ *+' conftest.er1 >conftest.err
55318 rm -f conftest.er1
55319 cat conftest.err >&5
55320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55321 - (exit $ac_status); } &&
55322 - { ac_try='test -z "$ac_c_werror_flag"
55323 - || test ! -s conftest.err'
55324 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55325 - (eval $ac_try) 2>&5
55326 - ac_status=$?
55327 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
55328 - (exit $ac_status); }; } &&
55329 - { ac_try='test -s conftest.$ac_objext'
55330 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55331 - (eval $ac_try) 2>&5
55332 - ac_status=$?
55333 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
55334 - (exit $ac_status); }; }; then
55335 + (exit $ac_status); } && {
55336 + test -z "$ac_c_werror_flag" ||
55337 + test ! -s conftest.err
55338 + } && test -s conftest.$ac_objext; then
55339 ac_cv_have_decl_vsnprintf=yes
55340 else
55341 echo "$as_me: failed program was:" >&5
55342 sed 's/^/| /' conftest.$ac_ext >&5
55343
55344 -ac_cv_have_decl_vsnprintf=no
55345 + ac_cv_have_decl_vsnprintf=no
55346 fi
55347 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55348 +
55349 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55350 fi
55351 -echo "$as_me:$LINENO: result: $ac_cv_have_decl_vsnprintf" >&5
55352 -echo "${ECHO_T}$ac_cv_have_decl_vsnprintf" >&6
55353 +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_vsnprintf" >&5
55354 +echo "${ECHO_T}$ac_cv_have_decl_vsnprintf" >&6; }
55355 if test $ac_cv_have_decl_vsnprintf = yes; then
55356
55357 cat >>confdefs.h <<_ACEOF
55358 @@ -11129,9 +11566,9 @@
55359
55360
55361
55362 - ac_config_files="$ac_config_files Makefile doc/Makefile po/Makefile.in:po/Make-in"
55363 +ac_config_files="$ac_config_files Makefile doc/Makefile po/Makefile.in:po/Make-in"
55364
55365 - ac_config_commands="$ac_config_commands default"
55366 +ac_config_commands="$ac_config_commands default"
55367
55368
55369 cat >confcache <<\_ACEOF
55370 @@ -11152,39 +11589,58 @@
55371
55372 # The following way of writing the cache mishandles newlines in values,
55373 # but we know of no workaround that is simple, portable, and efficient.
55374 -# So, don't put newlines in cache variables' values.
55375 +# So, we kill variables containing newlines.
55376 # Ultrix sh set writes to stderr and can't be redirected directly,
55377 # and sets the high bit in the cache file unless we assign to the vars.
55378 -{
55379 +(
55380 + for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
55381 + eval ac_val=\$$ac_var
55382 + case $ac_val in #(
55383 + *${as_nl}*)
55384 + case $ac_var in #(
55385 + *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
55386 +echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
55387 + esac
55388 + case $ac_var in #(
55389 + _ | IFS | as_nl) ;; #(
55390 + *) $as_unset $ac_var ;;
55391 + esac ;;
55392 + esac
55393 + done
55394 +
55395 (set) 2>&1 |
55396 - case `(ac_space=' '; set | grep ac_space) 2>&1` in
55397 - *ac_space=\ *)
55398 + case $as_nl`(ac_space=' '; set) 2>&1` in #(
55399 + *${as_nl}ac_space=\ *)
55400 # `set' does not quote correctly, so add quotes (double-quote
55401 # substitution turns \\\\ into \\, and sed turns \\ into \).
55402 sed -n \
55403 "s/'/'\\\\''/g;
55404 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
55405 - ;;
55406 + ;; #(
55407 *)
55408 # `set' quotes correctly as required by POSIX, so do not add quotes.
55409 - sed -n \
55410 - "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
55411 + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
55412 ;;
55413 - esac;
55414 -} |
55415 + esac |
55416 + sort
55417 +) |
55418 sed '
55419 + /^ac_cv_env_/b end
55420 t clear
55421 - : clear
55422 + :clear
55423 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
55424 t end
55425 - /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
55426 - : end' >>confcache
55427 -if diff $cache_file confcache >/dev/null 2>&1; then :; else
55428 - if test -w $cache_file; then
55429 - test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
55430 + s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
55431 + :end' >>confcache
55432 +if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
55433 + if test -w "$cache_file"; then
55434 + test "x$cache_file" != "x/dev/null" &&
55435 + { echo "$as_me:$LINENO: updating cache $cache_file" >&5
55436 +echo "$as_me: updating cache $cache_file" >&6;}
55437 cat confcache >$cache_file
55438 else
55439 - echo "not updating unwritable cache $cache_file"
55440 + { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
55441 +echo "$as_me: not updating unwritable cache $cache_file" >&6;}
55442 fi
55443 fi
55444 rm -f confcache
55445 @@ -11193,32 +11649,18 @@
55446 # Let make expand exec_prefix.
55447 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
55448
55449 -# VPATH may cause trouble with some makes, so we remove $(srcdir),
55450 -# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
55451 -# trailing colons and then remove the whole line if VPATH becomes empty
55452 -# (actually we leave an empty line to preserve line numbers).
55453 -if test "x$srcdir" = x.; then
55454 - ac_vpsub='/^[ ]*VPATH[ ]*=/{
55455 -s/:*\$(srcdir):*/:/;
55456 -s/:*\${srcdir}:*/:/;
55457 -s/:*@srcdir@:*/:/;
55458 -s/^\([^=]*=[ ]*\):*/\1/;
55459 -s/:*$//;
55460 -s/^[^=]*=[ ]*$//;
55461 -}'
55462 -fi
55463 -
55464 DEFS=-DHAVE_CONFIG_H
55465
55466 ac_libobjs=
55467 ac_ltlibobjs=
55468 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
55469 # 1. Remove the extension, and $U if already installed.
55470 - ac_i=`echo "$ac_i" |
55471 - sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
55472 - # 2. Add them.
55473 - ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
55474 - ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
55475 + ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
55476 + ac_i=`echo "$ac_i" | sed "$ac_script"`
55477 + # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
55478 + # will be set to the directory where LIBOBJS objects are built.
55479 + ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
55480 + ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
55481 done
55482 LIBOBJS=$ac_libobjs
55483
55484 @@ -11270,17 +11712,45 @@
55485 ## M4sh Initialization. ##
55486 ## --------------------- ##
55487
55488 -# Be Bourne compatible
55489 +# Be more Bourne compatible
55490 +DUALCASE=1; export DUALCASE # for MKS sh
55491 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
55492 emulate sh
55493 NULLCMD=:
55494 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
55495 # is contrary to our usage. Disable this feature.
55496 alias -g '${1+"$@"}'='"$@"'
55497 -elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
55498 - set -o posix
55499 + setopt NO_GLOB_SUBST
55500 +else
55501 + case `(set -o) 2>/dev/null` in
55502 + *posix*) set -o posix ;;
55503 +esac
55504 +
55505 +fi
55506 +
55507 +
55508 +
55509 +
55510 +# PATH needs CR
55511 +# Avoid depending upon Character Ranges.
55512 +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
55513 +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
55514 +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
55515 +as_cr_digits='0123456789'
55516 +as_cr_alnum=$as_cr_Letters$as_cr_digits
55517 +
55518 +# The user is always right.
55519 +if test "${PATH_SEPARATOR+set}" != set; then
55520 + echo "#! /bin/sh" >conf$$.sh
55521 + echo "exit 0" >>conf$$.sh
55522 + chmod +x conf$$.sh
55523 + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
55524 + PATH_SEPARATOR=';'
55525 + else
55526 + PATH_SEPARATOR=:
55527 + fi
55528 + rm -f conf$$.sh
55529 fi
55530 -DUALCASE=1; export DUALCASE # for MKS sh
55531
55532 # Support unset when possible.
55533 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
55534 @@ -11290,8 +11760,43 @@
55535 fi
55536
55537
55538 +# IFS
55539 +# We need space, tab and new line, in precisely that order. Quoting is
55540 +# there to prevent editors from complaining about space-tab.
55541 +# (If _AS_PATH_WALK were called with IFS unset, it would disable word
55542 +# splitting by setting IFS to empty value.)
55543 +as_nl='
55544 +'
55545 +IFS=" "" $as_nl"
55546 +
55547 +# Find who we are. Look in the path if we contain no directory separator.
55548 +case $0 in
55549 + *[\\/]* ) as_myself=$0 ;;
55550 + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
55551 +for as_dir in $PATH
55552 +do
55553 + IFS=$as_save_IFS
55554 + test -z "$as_dir" && as_dir=.
55555 + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
55556 +done
55557 +IFS=$as_save_IFS
55558 +
55559 + ;;
55560 +esac
55561 +# We did not find ourselves, most probably we were run as `sh COMMAND'
55562 +# in which case we are not to be found in the path.
55563 +if test "x$as_myself" = x; then
55564 + as_myself=$0
55565 +fi
55566 +if test ! -f "$as_myself"; then
55567 + echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
55568 + { (exit 1); exit 1; }
55569 +fi
55570 +
55571 # Work around bugs in pre-3.0 UWIN ksh.
55572 -$as_unset ENV MAIL MAILPATH
55573 +for as_var in ENV MAIL MAILPATH
55574 +do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
55575 +done
55576 PS1='$ '
55577 PS2='> '
55578 PS4='+ '
55579 @@ -11305,18 +11810,19 @@
55580 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
55581 eval $as_var=C; export $as_var
55582 else
55583 - $as_unset $as_var
55584 + ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
55585 fi
55586 done
55587
55588 # Required to use basename.
55589 -if expr a : '\(a\)' >/dev/null 2>&1; then
55590 +if expr a : '\(a\)' >/dev/null 2>&1 &&
55591 + test "X`expr 00001 : '.*\(...\)'`" = X001; then
55592 as_expr=expr
55593 else
55594 as_expr=false
55595 fi
55596
55597 -if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
55598 +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
55599 as_basename=basename
55600 else
55601 as_basename=false
55602 @@ -11324,159 +11830,120 @@
55603
55604
55605 # Name of the executable.
55606 -as_me=`$as_basename "$0" ||
55607 +as_me=`$as_basename -- "$0" ||
55608 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
55609 X"$0" : 'X\(//\)$' \| \
55610 - X"$0" : 'X\(/\)$' \| \
55611 - . : '\(.\)' 2>/dev/null ||
55612 + X"$0" : 'X\(/\)' \| . 2>/dev/null ||
55613 echo X/"$0" |
55614 - sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
55615 - /^X\/\(\/\/\)$/{ s//\1/; q; }
55616 - /^X\/\(\/\).*/{ s//\1/; q; }
55617 - s/.*/./; q'`
55618 -
55619 -
55620 -# PATH needs CR, and LINENO needs CR and PATH.
55621 -# Avoid depending upon Character Ranges.
55622 -as_cr_letters='abcdefghijklmnopqrstuvwxyz'
55623 -as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
55624 -as_cr_Letters=$as_cr_letters$as_cr_LETTERS
55625 -as_cr_digits='0123456789'
55626 -as_cr_alnum=$as_cr_Letters$as_cr_digits
55627 + sed '/^.*\/\([^/][^/]*\)\/*$/{
55628 + s//\1/
55629 + q
55630 + }
55631 + /^X\/\(\/\/\)$/{
55632 + s//\1/
55633 + q
55634 + }
55635 + /^X\/\(\/\).*/{
55636 + s//\1/
55637 + q
55638 + }
55639 + s/.*/./; q'`
55640
55641 -# The user is always right.
55642 -if test "${PATH_SEPARATOR+set}" != set; then
55643 - echo "#! /bin/sh" >conf$$.sh
55644 - echo "exit 0" >>conf$$.sh
55645 - chmod +x conf$$.sh
55646 - if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
55647 - PATH_SEPARATOR=';'
55648 - else
55649 - PATH_SEPARATOR=:
55650 - fi
55651 - rm -f conf$$.sh
55652 -fi
55653 +# CDPATH.
55654 +$as_unset CDPATH
55655
55656
55657 - as_lineno_1=$LINENO
55658 - as_lineno_2=$LINENO
55659 - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
55660 - test "x$as_lineno_1" != "x$as_lineno_2" &&
55661 - test "x$as_lineno_3" = "x$as_lineno_2" || {
55662 - # Find who we are. Look in the path if we contain no path at all
55663 - # relative or not.
55664 - case $0 in
55665 - *[\\/]* ) as_myself=$0 ;;
55666 - *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
55667 -for as_dir in $PATH
55668 -do
55669 - IFS=$as_save_IFS
55670 - test -z "$as_dir" && as_dir=.
55671 - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
55672 -done
55673
55674 - ;;
55675 - esac
55676 - # We did not find ourselves, most probably we were run as `sh COMMAND'
55677 - # in which case we are not to be found in the path.
55678 - if test "x$as_myself" = x; then
55679 - as_myself=$0
55680 - fi
55681 - if test ! -f "$as_myself"; then
55682 - { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
55683 -echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
55684 - { (exit 1); exit 1; }; }
55685 - fi
55686 - case $CONFIG_SHELL in
55687 - '')
55688 - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
55689 -for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
55690 -do
55691 - IFS=$as_save_IFS
55692 - test -z "$as_dir" && as_dir=.
55693 - for as_base in sh bash ksh sh5; do
55694 - case $as_dir in
55695 - /*)
55696 - if ("$as_dir/$as_base" -c '
55697 as_lineno_1=$LINENO
55698 as_lineno_2=$LINENO
55699 - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
55700 test "x$as_lineno_1" != "x$as_lineno_2" &&
55701 - test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
55702 - $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
55703 - $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
55704 - CONFIG_SHELL=$as_dir/$as_base
55705 - export CONFIG_SHELL
55706 - exec "$CONFIG_SHELL" "$0" ${1+"$@"}
55707 - fi;;
55708 - esac
55709 - done
55710 -done
55711 -;;
55712 - esac
55713 + test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
55714
55715 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
55716 # uniformly replaced by the line number. The first 'sed' inserts a
55717 - # line-number line before each line; the second 'sed' does the real
55718 - # work. The second script uses 'N' to pair each line-number line
55719 - # with the numbered line, and appends trailing '-' during
55720 - # substitution so that $LINENO is not a special case at line end.
55721 + # line-number line after each line using $LINENO; the second 'sed'
55722 + # does the real work. The second script uses 'N' to pair each
55723 + # line-number line with the line containing $LINENO, and appends
55724 + # trailing '-' during substitution so that $LINENO is not a special
55725 + # case at line end.
55726 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
55727 - # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
55728 - sed '=' <$as_myself |
55729 + # scripts with optimization help from Paolo Bonzini. Blame Lee
55730 + # E. McMahon (1931-1989) for sed's syntax. :-)
55731 + sed -n '
55732 + p
55733 + /[$]LINENO/=
55734 + ' <$as_myself |
55735 sed '
55736 + s/[$]LINENO.*/&-/
55737 + t lineno
55738 + b
55739 + :lineno
55740 N
55741 - s,$,-,
55742 - : loop
55743 - s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
55744 + :loop
55745 + s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
55746 t loop
55747 - s,-$,,
55748 - s,^['$as_cr_digits']*\n,,
55749 + s/-\n.*//
55750 ' >$as_me.lineno &&
55751 - chmod +x $as_me.lineno ||
55752 - { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
55753 -echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
55754 + chmod +x "$as_me.lineno" ||
55755 + { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
55756 { (exit 1); exit 1; }; }
55757
55758 # Don't try to exec as it changes $[0], causing all sort of problems
55759 # (the dirname of $[0] is not the place where we might find the
55760 - # original and so on. Autoconf is especially sensible to this).
55761 - . ./$as_me.lineno
55762 + # original and so on. Autoconf is especially sensitive to this).
55763 + . "./$as_me.lineno"
55764 # Exit status is that of the last command.
55765 exit
55766 }
55767
55768
55769 -case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
55770 - *c*,-n*) ECHO_N= ECHO_C='
55771 -' ECHO_T=' ' ;;
55772 - *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
55773 - *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
55774 +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
55775 + as_dirname=dirname
55776 +else
55777 + as_dirname=false
55778 +fi
55779 +
55780 +ECHO_C= ECHO_N= ECHO_T=
55781 +case `echo -n x` in
55782 +-n*)
55783 + case `echo 'x\c'` in
55784 + *c*) ECHO_T=' ';; # ECHO_T is single tab character.
55785 + *) ECHO_C='\c';;
55786 + esac;;
55787 +*)
55788 + ECHO_N='-n';;
55789 esac
55790
55791 -if expr a : '\(a\)' >/dev/null 2>&1; then
55792 +if expr a : '\(a\)' >/dev/null 2>&1 &&
55793 + test "X`expr 00001 : '.*\(...\)'`" = X001; then
55794 as_expr=expr
55795 else
55796 as_expr=false
55797 fi
55798
55799 rm -f conf$$ conf$$.exe conf$$.file
55800 +if test -d conf$$.dir; then
55801 + rm -f conf$$.dir/conf$$.file
55802 +else
55803 + rm -f conf$$.dir
55804 + mkdir conf$$.dir
55805 +fi
55806 echo >conf$$.file
55807 if ln -s conf$$.file conf$$ 2>/dev/null; then
55808 - # We could just check for DJGPP; but this test a) works b) is more generic
55809 - # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
55810 - if test -f conf$$.exe; then
55811 - # Don't use ln at all; we don't have any links
55812 + as_ln_s='ln -s'
55813 + # ... but there are two gotchas:
55814 + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
55815 + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
55816 + # In both cases, we have to default to `cp -p'.
55817 + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
55818 as_ln_s='cp -p'
55819 - else
55820 - as_ln_s='ln -s'
55821 - fi
55822 elif ln conf$$.file conf$$ 2>/dev/null; then
55823 as_ln_s=ln
55824 else
55825 as_ln_s='cp -p'
55826 fi
55827 -rm -f conf$$ conf$$.exe conf$$.file
55828 +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
55829 +rmdir conf$$.dir 2>/dev/null
55830
55831 if mkdir -p . 2>/dev/null; then
55832 as_mkdir_p=:
55833 @@ -11485,7 +11952,28 @@
55834 as_mkdir_p=false
55835 fi
55836
55837 -as_executable_p="test -f"
55838 +if test -x / >/dev/null 2>&1; then
55839 + as_test_x='test -x'
55840 +else
55841 + if ls -dL / >/dev/null 2>&1; then
55842 + as_ls_L_option=L
55843 + else
55844 + as_ls_L_option=
55845 + fi
55846 + as_test_x='
55847 + eval sh -c '\''
55848 + if test -d "$1"; then
55849 + test -d "$1/.";
55850 + else
55851 + case $1 in
55852 + -*)set "./$1";;
55853 + esac;
55854 + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
55855 + ???[sx]*):;;*)false;;esac;fi
55856 + '\'' sh
55857 + '
55858 +fi
55859 +as_executable_p=$as_test_x
55860
55861 # Sed expression to map a string onto a valid CPP name.
55862 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
55863 @@ -11493,32 +11981,15 @@
55864 # Sed expression to map a string onto a valid variable name.
55865 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
55866
55867 -
55868 -# IFS
55869 -# We need space, tab and new line, in precisely that order.
55870 -as_nl='
55871 -'
55872 -IFS=" $as_nl"
55873 -
55874 -# CDPATH.
55875 -$as_unset CDPATH
55876 -
55877 +
55878 exec 6>&1
55879
55880 -# Open the log real soon, to keep \$[0] and so on meaningful, and to
55881 +# Save the log message, to keep $[0] and so on meaningful, and to
55882 # report actual input values of CONFIG_FILES etc. instead of their
55883 -# values after options handling. Logging --version etc. is OK.
55884 -exec 5>>config.log
55885 -{
55886 - echo
55887 - sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
55888 -## Running $as_me. ##
55889 -_ASBOX
55890 -} >&5
55891 -cat >&5 <<_CSEOF
55892 -
55893 +# values after options handling.
55894 +ac_log="
55895 This file was extended by $as_me, which was
55896 -generated by GNU Autoconf 2.59. Invocation command line was
55897 +generated by GNU Autoconf 2.61. Invocation command line was
55898
55899 CONFIG_FILES = $CONFIG_FILES
55900 CONFIG_HEADERS = $CONFIG_HEADERS
55901 @@ -11526,30 +11997,20 @@
55902 CONFIG_COMMANDS = $CONFIG_COMMANDS
55903 $ $0 $@
55904
55905 -_CSEOF
55906 -echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
55907 -echo >&5
55908 +on `(hostname || uname -n) 2>/dev/null | sed 1q`
55909 +"
55910 +
55911 _ACEOF
55912
55913 +cat >>$CONFIG_STATUS <<_ACEOF
55914 # Files that config.status was made for.
55915 -if test -n "$ac_config_files"; then
55916 - echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
55917 -fi
55918 -
55919 -if test -n "$ac_config_headers"; then
55920 - echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
55921 -fi
55922 -
55923 -if test -n "$ac_config_links"; then
55924 - echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
55925 -fi
55926 +config_files="$ac_config_files"
55927 +config_headers="$ac_config_headers"
55928 +config_commands="$ac_config_commands"
55929
55930 -if test -n "$ac_config_commands"; then
55931 - echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
55932 -fi
55933 +_ACEOF
55934
55935 cat >>$CONFIG_STATUS <<\_ACEOF
55936 -
55937 ac_cs_usage="\
55938 \`$as_me' instantiates files from templates according to the
55939 current configuration.
55940 @@ -11557,7 +12018,7 @@
55941 Usage: $0 [OPTIONS] [FILE]...
55942
55943 -h, --help print this help, then exit
55944 - -V, --version print version number, then exit
55945 + -V, --version print version number and configuration settings, then exit
55946 -q, --quiet do not print progress messages
55947 -d, --debug don't remove temporary files
55948 --recheck update $as_me by reconfiguring in the same conditions
55949 @@ -11576,19 +12037,21 @@
55950 $config_commands
55951
55952 Report bugs to <bug-autoconf@gnu.org>."
55953 -_ACEOF
55954
55955 +_ACEOF
55956 cat >>$CONFIG_STATUS <<_ACEOF
55957 ac_cs_version="\\
55958 config.status
55959 -configured by $0, generated by GNU Autoconf 2.59,
55960 - with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
55961 +configured by $0, generated by GNU Autoconf 2.61,
55962 + with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
55963
55964 -Copyright (C) 2003 Free Software Foundation, Inc.
55965 +Copyright (C) 2006 Free Software Foundation, Inc.
55966 This config.status script is free software; the Free Software Foundation
55967 gives unlimited permission to copy, distribute and modify it."
55968 -srcdir=$srcdir
55969 -INSTALL="$INSTALL"
55970 +
55971 +ac_pwd='$ac_pwd'
55972 +srcdir='$srcdir'
55973 +INSTALL='$INSTALL'
55974 _ACEOF
55975
55976 cat >>$CONFIG_STATUS <<\_ACEOF
55977 @@ -11599,39 +12062,24 @@
55978 do
55979 case $1 in
55980 --*=*)
55981 - ac_option=`expr "x$1" : 'x\([^=]*\)='`
55982 - ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
55983 + ac_option=`expr "X$1" : 'X\([^=]*\)='`
55984 + ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
55985 ac_shift=:
55986 ;;
55987 - -*)
55988 + *)
55989 ac_option=$1
55990 ac_optarg=$2
55991 ac_shift=shift
55992 ;;
55993 - *) # This is not an option, so the user has probably given explicit
55994 - # arguments.
55995 - ac_option=$1
55996 - ac_need_defaults=false;;
55997 esac
55998
55999 case $ac_option in
56000 # Handling of the options.
56001 -_ACEOF
56002 -cat >>$CONFIG_STATUS <<\_ACEOF
56003 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
56004 ac_cs_recheck=: ;;
56005 - --version | --vers* | -V )
56006 - echo "$ac_cs_version"; exit 0 ;;
56007 - --he | --h)
56008 - # Conflict between --help and --header
56009 - { { echo "$as_me:$LINENO: error: ambiguous option: $1
56010 -Try \`$0 --help' for more information." >&5
56011 -echo "$as_me: error: ambiguous option: $1
56012 -Try \`$0 --help' for more information." >&2;}
56013 - { (exit 1); exit 1; }; };;
56014 - --help | --hel | -h )
56015 - echo "$ac_cs_usage"; exit 0 ;;
56016 - --debug | --d* | -d )
56017 + --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
56018 + echo "$ac_cs_version"; exit ;;
56019 + --debug | --debu | --deb | --de | --d | -d )
56020 debug=: ;;
56021 --file | --fil | --fi | --f )
56022 $ac_shift
56023 @@ -11641,18 +12089,24 @@
56024 $ac_shift
56025 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
56026 ac_need_defaults=false;;
56027 + --he | --h)
56028 + # Conflict between --help and --header
56029 + { echo "$as_me: error: ambiguous option: $1
56030 +Try \`$0 --help' for more information." >&2
56031 + { (exit 1); exit 1; }; };;
56032 + --help | --hel | -h )
56033 + echo "$ac_cs_usage"; exit ;;
56034 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
56035 | -silent | --silent | --silen | --sile | --sil | --si | --s)
56036 ac_cs_silent=: ;;
56037
56038 # This is an error.
56039 - -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
56040 -Try \`$0 --help' for more information." >&5
56041 -echo "$as_me: error: unrecognized option: $1
56042 -Try \`$0 --help' for more information." >&2;}
56043 + -*) { echo "$as_me: error: unrecognized option: $1
56044 +Try \`$0 --help' for more information." >&2
56045 { (exit 1); exit 1; }; } ;;
56046
56047 - *) ac_config_targets="$ac_config_targets $1" ;;
56048 + *) ac_config_targets="$ac_config_targets $1"
56049 + ac_need_defaults=false ;;
56050
56051 esac
56052 shift
56053 @@ -11668,17 +12122,28 @@
56054 _ACEOF
56055 cat >>$CONFIG_STATUS <<_ACEOF
56056 if \$ac_cs_recheck; then
56057 - echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
56058 - exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
56059 + echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
56060 + CONFIG_SHELL=$SHELL
56061 + export CONFIG_SHELL
56062 + exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
56063 fi
56064
56065 _ACEOF
56066 +cat >>$CONFIG_STATUS <<\_ACEOF
56067 +exec 5>>config.log
56068 +{
56069 + echo
56070 + sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
56071 +## Running $as_me. ##
56072 +_ASBOX
56073 + echo "$ac_log"
56074 +} >&5
56075
56076 +_ACEOF
56077 cat >>$CONFIG_STATUS <<_ACEOF
56078 #
56079 -# INIT-COMMANDS section.
56080 +# INIT-COMMANDS
56081 #
56082 -
56083 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
56084 target_cpu_type=${target_cpu_type}
56085 cgen_cpu_prefix=${cgen_cpu_prefix}
56086 @@ -11687,27 +12152,28 @@
56087
56088 _ACEOF
56089
56090 -
56091 -
56092 cat >>$CONFIG_STATUS <<\_ACEOF
56093 +
56094 +# Handling of arguments.
56095 for ac_config_target in $ac_config_targets
56096 do
56097 - case "$ac_config_target" in
56098 - # Handling of arguments.
56099 - "gdb.ini" ) CONFIG_FILES="$CONFIG_FILES gdb.ini:gdbinit.in" ;;
56100 - ".gdbinit" ) CONFIG_FILES="$CONFIG_FILES .gdbinit:gdbinit.in" ;;
56101 - "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
56102 - "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
56103 - "po/Makefile.in" ) CONFIG_FILES="$CONFIG_FILES po/Makefile.in:po/Make-in" ;;
56104 - "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
56105 - "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
56106 - "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.in" ;;
56107 + case $ac_config_target in
56108 + "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
56109 + "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.in" ;;
56110 + "gdb.ini") CONFIG_FILES="$CONFIG_FILES gdb.ini:gdbinit.in" ;;
56111 + ".gdbinit") CONFIG_FILES="$CONFIG_FILES .gdbinit:gdbinit.in" ;;
56112 + "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
56113 + "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
56114 + "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in:po/Make-in" ;;
56115 + "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
56116 +
56117 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
56118 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
56119 { (exit 1); exit 1; }; };;
56120 esac
56121 done
56122
56123 +
56124 # If the user did not use the arguments to specify the items to instantiate,
56125 # then the envvar interface is used. Set only those that are not.
56126 # We use the long form for the default assignment because of an extremely
56127 @@ -11719,388 +12185,493 @@
56128 fi
56129
56130 # Have a temporary directory for convenience. Make it in the build tree
56131 -# simply because there is no reason to put it here, and in addition,
56132 +# simply because there is no reason against having it here, and in addition,
56133 # creating and moving files from /tmp can sometimes cause problems.
56134 -# Create a temporary directory, and hook for its removal unless debugging.
56135 +# Hook for its removal unless debugging.
56136 +# Note that there is a small window in which the directory will not be cleaned:
56137 +# after its creation but before its name has been assigned to `$tmp'.
56138 $debug ||
56139 {
56140 - trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
56141 + tmp=
56142 + trap 'exit_status=$?
56143 + { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
56144 +' 0
56145 trap '{ (exit 1); exit 1; }' 1 2 13 15
56146 }
56147 -
56148 # Create a (secure) tmp directory for tmp files.
56149
56150 {
56151 - tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
56152 + tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
56153 test -n "$tmp" && test -d "$tmp"
56154 } ||
56155 {
56156 - tmp=./confstat$$-$RANDOM
56157 - (umask 077 && mkdir $tmp)
56158 + tmp=./conf$$-$RANDOM
56159 + (umask 077 && mkdir "$tmp")
56160 } ||
56161 {
56162 echo "$me: cannot create a temporary directory in ." >&2
56163 { (exit 1); exit 1; }
56164 }
56165
56166 -_ACEOF
56167 -
56168 -cat >>$CONFIG_STATUS <<_ACEOF
56169 -
56170 #
56171 -# CONFIG_FILES section.
56172 +# Set up the sed scripts for CONFIG_FILES section.
56173 #
56174
56175 # No need to generate the scripts if there are no CONFIG_FILES.
56176 # This happens for instance when ./config.status config.h
56177 -if test -n "\$CONFIG_FILES"; then
56178 - # Protect against being on the right side of a sed subst in config.status.
56179 - sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
56180 - s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
56181 -s,@SHELL@,$SHELL,;t t
56182 -s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
56183 -s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
56184 -s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
56185 -s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
56186 -s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
56187 -s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
56188 -s,@exec_prefix@,$exec_prefix,;t t
56189 -s,@prefix@,$prefix,;t t
56190 -s,@program_transform_name@,$program_transform_name,;t t
56191 -s,@bindir@,$bindir,;t t
56192 -s,@sbindir@,$sbindir,;t t
56193 -s,@libexecdir@,$libexecdir,;t t
56194 -s,@datadir@,$datadir,;t t
56195 -s,@sysconfdir@,$sysconfdir,;t t
56196 -s,@sharedstatedir@,$sharedstatedir,;t t
56197 -s,@localstatedir@,$localstatedir,;t t
56198 -s,@libdir@,$libdir,;t t
56199 -s,@includedir@,$includedir,;t t
56200 -s,@oldincludedir@,$oldincludedir,;t t
56201 -s,@infodir@,$infodir,;t t
56202 -s,@mandir@,$mandir,;t t
56203 -s,@build_alias@,$build_alias,;t t
56204 -s,@host_alias@,$host_alias,;t t
56205 -s,@target_alias@,$target_alias,;t t
56206 -s,@DEFS@,$DEFS,;t t
56207 -s,@ECHO_C@,$ECHO_C,;t t
56208 -s,@ECHO_N@,$ECHO_N,;t t
56209 -s,@ECHO_T@,$ECHO_T,;t t
56210 -s,@LIBS@,$LIBS,;t t
56211 -s,@build@,$build,;t t
56212 -s,@build_cpu@,$build_cpu,;t t
56213 -s,@build_vendor@,$build_vendor,;t t
56214 -s,@build_os@,$build_os,;t t
56215 -s,@host@,$host,;t t
56216 -s,@host_cpu@,$host_cpu,;t t
56217 -s,@host_vendor@,$host_vendor,;t t
56218 -s,@host_os@,$host_os,;t t
56219 -s,@target@,$target,;t t
56220 -s,@target_cpu@,$target_cpu,;t t
56221 -s,@target_vendor@,$target_vendor,;t t
56222 -s,@target_os@,$target_os,;t t
56223 -s,@CC@,$CC,;t t
56224 -s,@CFLAGS@,$CFLAGS,;t t
56225 -s,@LDFLAGS@,$LDFLAGS,;t t
56226 -s,@CPPFLAGS@,$CPPFLAGS,;t t
56227 -s,@ac_ct_CC@,$ac_ct_CC,;t t
56228 -s,@EXEEXT@,$EXEEXT,;t t
56229 -s,@OBJEXT@,$OBJEXT,;t t
56230 -s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
56231 -s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
56232 -s,@INSTALL_DATA@,$INSTALL_DATA,;t t
56233 -s,@CYGPATH_W@,$CYGPATH_W,;t t
56234 -s,@PACKAGE@,$PACKAGE,;t t
56235 -s,@VERSION@,$VERSION,;t t
56236 -s,@ACLOCAL@,$ACLOCAL,;t t
56237 -s,@AUTOCONF@,$AUTOCONF,;t t
56238 -s,@AUTOMAKE@,$AUTOMAKE,;t t
56239 -s,@AUTOHEADER@,$AUTOHEADER,;t t
56240 -s,@MAKEINFO@,$MAKEINFO,;t t
56241 -s,@install_sh@,$install_sh,;t t
56242 -s,@STRIP@,$STRIP,;t t
56243 -s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
56244 -s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
56245 -s,@mkdir_p@,$mkdir_p,;t t
56246 -s,@AWK@,$AWK,;t t
56247 -s,@SET_MAKE@,$SET_MAKE,;t t
56248 -s,@am__leading_dot@,$am__leading_dot,;t t
56249 -s,@AMTAR@,$AMTAR,;t t
56250 -s,@am__tar@,$am__tar,;t t
56251 -s,@am__untar@,$am__untar,;t t
56252 -s,@DEPDIR@,$DEPDIR,;t t
56253 -s,@am__include@,$am__include,;t t
56254 -s,@am__quote@,$am__quote,;t t
56255 -s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
56256 -s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
56257 -s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
56258 -s,@CCDEPMODE@,$CCDEPMODE,;t t
56259 -s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
56260 -s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
56261 -s,@LN_S@,$LN_S,;t t
56262 -s,@RANLIB@,$RANLIB,;t t
56263 -s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
56264 -s,@LIBTOOL@,$LIBTOOL,;t t
56265 -s,@WARN_CFLAGS@,$WARN_CFLAGS,;t t
56266 -s,@NO_WERROR@,$NO_WERROR,;t t
56267 -s,@GDBINIT@,$GDBINIT,;t t
56268 -s,@cgen_cpu_prefix@,$cgen_cpu_prefix,;t t
56269 -s,@extra_objects@,$extra_objects,;t t
56270 -s,@target_cpu_type@,$target_cpu_type,;t t
56271 -s,@obj_format@,$obj_format,;t t
56272 -s,@te_file@,$te_file,;t t
56273 -s,@install_tooldir@,$install_tooldir,;t t
56274 -s,@atof@,$atof,;t t
56275 -s,@BFDLIB@,$BFDLIB,;t t
56276 -s,@OPCODES_LIB@,$OPCODES_LIB,;t t
56277 -s,@BFDVER_H@,$BFDVER_H,;t t
56278 -s,@ALL_OBJ_DEPS@,$ALL_OBJ_DEPS,;t t
56279 -s,@YACC@,$YACC,;t t
56280 -s,@LEX@,$LEX,;t t
56281 -s,@LEXLIB@,$LEXLIB,;t t
56282 -s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
56283 -s,@CPP@,$CPP,;t t
56284 -s,@EGREP@,$EGREP,;t t
56285 -s,@ALLOCA@,$ALLOCA,;t t
56286 -s,@USE_NLS@,$USE_NLS,;t t
56287 -s,@MSGFMT@,$MSGFMT,;t t
56288 -s,@GMSGFMT@,$GMSGFMT,;t t
56289 -s,@XGETTEXT@,$XGETTEXT,;t t
56290 -s,@USE_INCLUDED_LIBINTL@,$USE_INCLUDED_LIBINTL,;t t
56291 -s,@CATALOGS@,$CATALOGS,;t t
56292 -s,@CATOBJEXT@,$CATOBJEXT,;t t
56293 -s,@DATADIRNAME@,$DATADIRNAME,;t t
56294 -s,@GMOFILES@,$GMOFILES,;t t
56295 -s,@INSTOBJEXT@,$INSTOBJEXT,;t t
56296 -s,@INTLDEPS@,$INTLDEPS,;t t
56297 -s,@INTLLIBS@,$INTLLIBS,;t t
56298 -s,@INTLOBJS@,$INTLOBJS,;t t
56299 -s,@POFILES@,$POFILES,;t t
56300 -s,@POSUB@,$POSUB,;t t
56301 -s,@INCLUDE_LOCALE_H@,$INCLUDE_LOCALE_H,;t t
56302 -s,@GT_NO@,$GT_NO,;t t
56303 -s,@GT_YES@,$GT_YES,;t t
56304 -s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
56305 -s,@l@,$l,;t t
56306 -s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
56307 -s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
56308 -s,@MAINT@,$MAINT,;t t
56309 -s,@LIBM@,$LIBM,;t t
56310 -s,@datarootdir@,$datarootdir,;t t
56311 -s,@docdir@,$docdir,;t t
56312 -s,@htmldir@,$htmldir,;t t
56313 -s,@LIBOBJS@,$LIBOBJS,;t t
56314 -s,@LTLIBOBJS@,$LTLIBOBJS,;t t
56315 -CEOF
56316 -
56317 -_ACEOF
56318 -
56319 - cat >>$CONFIG_STATUS <<\_ACEOF
56320 - # Split the substitutions into bite-sized pieces for seds with
56321 - # small command number limits, like on Digital OSF/1 and HP-UX.
56322 - ac_max_sed_lines=48
56323 - ac_sed_frag=1 # Number of current file.
56324 - ac_beg=1 # First line for current file.
56325 - ac_end=$ac_max_sed_lines # Line after last line for current file.
56326 - ac_more_lines=:
56327 - ac_sed_cmds=
56328 - while $ac_more_lines; do
56329 - if test $ac_beg -gt 1; then
56330 - sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
56331 - else
56332 - sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
56333 - fi
56334 - if test ! -s $tmp/subs.frag; then
56335 - ac_more_lines=false
56336 - else
56337 - # The purpose of the label and of the branching condition is to
56338 - # speed up the sed processing (if there are no `@' at all, there
56339 - # is no need to browse any of the substitutions).
56340 - # These are the two extra sed commands mentioned above.
56341 - (echo ':t
56342 - /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
56343 - if test -z "$ac_sed_cmds"; then
56344 - ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
56345 - else
56346 - ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
56347 - fi
56348 - ac_sed_frag=`expr $ac_sed_frag + 1`
56349 - ac_beg=$ac_end
56350 - ac_end=`expr $ac_end + $ac_max_sed_lines`
56351 - fi
56352 - done
56353 - if test -z "$ac_sed_cmds"; then
56354 - ac_sed_cmds=cat
56355 +if test -n "$CONFIG_FILES"; then
56356 +
56357 +_ACEOF
56358 +
56359 +
56360 +
56361 +ac_delim='%!_!# '
56362 +for ac_last_try in false false false false false :; do
56363 + cat >conf$$subs.sed <<_ACEOF
56364 +SHELL!$SHELL$ac_delim
56365 +PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
56366 +PACKAGE_NAME!$PACKAGE_NAME$ac_delim
56367 +PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
56368 +PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
56369 +PACKAGE_STRING!$PACKAGE_STRING$ac_delim
56370 +PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
56371 +exec_prefix!$exec_prefix$ac_delim
56372 +prefix!$prefix$ac_delim
56373 +program_transform_name!$program_transform_name$ac_delim
56374 +bindir!$bindir$ac_delim
56375 +sbindir!$sbindir$ac_delim
56376 +libexecdir!$libexecdir$ac_delim
56377 +datarootdir!$datarootdir$ac_delim
56378 +datadir!$datadir$ac_delim
56379 +sysconfdir!$sysconfdir$ac_delim
56380 +sharedstatedir!$sharedstatedir$ac_delim
56381 +localstatedir!$localstatedir$ac_delim
56382 +includedir!$includedir$ac_delim
56383 +oldincludedir!$oldincludedir$ac_delim
56384 +docdir!$docdir$ac_delim
56385 +infodir!$infodir$ac_delim
56386 +htmldir!$htmldir$ac_delim
56387 +dvidir!$dvidir$ac_delim
56388 +pdfdir!$pdfdir$ac_delim
56389 +psdir!$psdir$ac_delim
56390 +libdir!$libdir$ac_delim
56391 +localedir!$localedir$ac_delim
56392 +mandir!$mandir$ac_delim
56393 +DEFS!$DEFS$ac_delim
56394 +ECHO_C!$ECHO_C$ac_delim
56395 +ECHO_N!$ECHO_N$ac_delim
56396 +ECHO_T!$ECHO_T$ac_delim
56397 +LIBS!$LIBS$ac_delim
56398 +build_alias!$build_alias$ac_delim
56399 +host_alias!$host_alias$ac_delim
56400 +target_alias!$target_alias$ac_delim
56401 +build!$build$ac_delim
56402 +build_cpu!$build_cpu$ac_delim
56403 +build_vendor!$build_vendor$ac_delim
56404 +build_os!$build_os$ac_delim
56405 +host!$host$ac_delim
56406 +host_cpu!$host_cpu$ac_delim
56407 +host_vendor!$host_vendor$ac_delim
56408 +host_os!$host_os$ac_delim
56409 +target!$target$ac_delim
56410 +target_cpu!$target_cpu$ac_delim
56411 +target_vendor!$target_vendor$ac_delim
56412 +target_os!$target_os$ac_delim
56413 +CC!$CC$ac_delim
56414 +CFLAGS!$CFLAGS$ac_delim
56415 +LDFLAGS!$LDFLAGS$ac_delim
56416 +CPPFLAGS!$CPPFLAGS$ac_delim
56417 +ac_ct_CC!$ac_ct_CC$ac_delim
56418 +EXEEXT!$EXEEXT$ac_delim
56419 +OBJEXT!$OBJEXT$ac_delim
56420 +INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
56421 +INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
56422 +INSTALL_DATA!$INSTALL_DATA$ac_delim
56423 +CYGPATH_W!$CYGPATH_W$ac_delim
56424 +PACKAGE!$PACKAGE$ac_delim
56425 +VERSION!$VERSION$ac_delim
56426 +ACLOCAL!$ACLOCAL$ac_delim
56427 +AUTOCONF!$AUTOCONF$ac_delim
56428 +AUTOMAKE!$AUTOMAKE$ac_delim
56429 +AUTOHEADER!$AUTOHEADER$ac_delim
56430 +MAKEINFO!$MAKEINFO$ac_delim
56431 +install_sh!$install_sh$ac_delim
56432 +STRIP!$STRIP$ac_delim
56433 +INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
56434 +mkdir_p!$mkdir_p$ac_delim
56435 +AWK!$AWK$ac_delim
56436 +SET_MAKE!$SET_MAKE$ac_delim
56437 +am__leading_dot!$am__leading_dot$ac_delim
56438 +AMTAR!$AMTAR$ac_delim
56439 +am__tar!$am__tar$ac_delim
56440 +am__untar!$am__untar$ac_delim
56441 +DEPDIR!$DEPDIR$ac_delim
56442 +am__include!$am__include$ac_delim
56443 +am__quote!$am__quote$ac_delim
56444 +AMDEP_TRUE!$AMDEP_TRUE$ac_delim
56445 +AMDEP_FALSE!$AMDEP_FALSE$ac_delim
56446 +AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
56447 +CCDEPMODE!$CCDEPMODE$ac_delim
56448 +am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
56449 +am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
56450 +LN_S!$LN_S$ac_delim
56451 +RANLIB!$RANLIB$ac_delim
56452 +LIBTOOL!$LIBTOOL$ac_delim
56453 +WARN_CFLAGS!$WARN_CFLAGS$ac_delim
56454 +NO_WERROR!$NO_WERROR$ac_delim
56455 +GDBINIT!$GDBINIT$ac_delim
56456 +CPP!$CPP$ac_delim
56457 +GREP!$GREP$ac_delim
56458 +EGREP!$EGREP$ac_delim
56459 +cgen_cpu_prefix!$cgen_cpu_prefix$ac_delim
56460 +extra_objects!$extra_objects$ac_delim
56461 +_ACEOF
56462 +
56463 + if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
56464 + break
56465 + elif $ac_last_try; then
56466 + { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
56467 +echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
56468 + { (exit 1); exit 1; }; }
56469 + else
56470 + ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
56471 fi
56472 -fi # test -n "$CONFIG_FILES"
56473 +done
56474 +
56475 +ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
56476 +if test -n "$ac_eof"; then
56477 + ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
56478 + ac_eof=`expr $ac_eof + 1`
56479 +fi
56480 +
56481 +cat >>$CONFIG_STATUS <<_ACEOF
56482 +cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
56483 +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
56484 +_ACEOF
56485 +sed '
56486 +s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
56487 +s/^/s,@/; s/!/@,|#_!!_#|/
56488 +:n
56489 +t n
56490 +s/'"$ac_delim"'$/,g/; t
56491 +s/$/\\/; p
56492 +N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
56493 +' >>$CONFIG_STATUS <conf$$subs.sed
56494 +rm -f conf$$subs.sed
56495 +cat >>$CONFIG_STATUS <<_ACEOF
56496 +CEOF$ac_eof
56497 +_ACEOF
56498 +
56499 +
56500 +ac_delim='%!_!# '
56501 +for ac_last_try in false false false false false :; do
56502 + cat >conf$$subs.sed <<_ACEOF
56503 +target_cpu_type!$target_cpu_type$ac_delim
56504 +obj_format!$obj_format$ac_delim
56505 +te_file!$te_file$ac_delim
56506 +install_tooldir!$install_tooldir$ac_delim
56507 +atof!$atof$ac_delim
56508 +BFDLIB!$BFDLIB$ac_delim
56509 +OPCODES_LIB!$OPCODES_LIB$ac_delim
56510 +BFDVER_H!$BFDVER_H$ac_delim
56511 +ALL_OBJ_DEPS!$ALL_OBJ_DEPS$ac_delim
56512 +YACC!$YACC$ac_delim
56513 +YFLAGS!$YFLAGS$ac_delim
56514 +LEX!$LEX$ac_delim
56515 +LEX_OUTPUT_ROOT!$LEX_OUTPUT_ROOT$ac_delim
56516 +LEXLIB!$LEXLIB$ac_delim
56517 +ALLOCA!$ALLOCA$ac_delim
56518 +USE_NLS!$USE_NLS$ac_delim
56519 +MSGFMT!$MSGFMT$ac_delim
56520 +GMSGFMT!$GMSGFMT$ac_delim
56521 +XGETTEXT!$XGETTEXT$ac_delim
56522 +USE_INCLUDED_LIBINTL!$USE_INCLUDED_LIBINTL$ac_delim
56523 +CATALOGS!$CATALOGS$ac_delim
56524 +CATOBJEXT!$CATOBJEXT$ac_delim
56525 +DATADIRNAME!$DATADIRNAME$ac_delim
56526 +GMOFILES!$GMOFILES$ac_delim
56527 +INSTOBJEXT!$INSTOBJEXT$ac_delim
56528 +INTLDEPS!$INTLDEPS$ac_delim
56529 +INTLLIBS!$INTLLIBS$ac_delim
56530 +INTLOBJS!$INTLOBJS$ac_delim
56531 +POFILES!$POFILES$ac_delim
56532 +POSUB!$POSUB$ac_delim
56533 +INCLUDE_LOCALE_H!$INCLUDE_LOCALE_H$ac_delim
56534 +GT_NO!$GT_NO$ac_delim
56535 +GT_YES!$GT_YES$ac_delim
56536 +MKINSTALLDIRS!$MKINSTALLDIRS$ac_delim
56537 +l!$l$ac_delim
56538 +MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
56539 +MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
56540 +MAINT!$MAINT$ac_delim
56541 +LIBM!$LIBM$ac_delim
56542 +LIBOBJS!$LIBOBJS$ac_delim
56543 +LTLIBOBJS!$LTLIBOBJS$ac_delim
56544 +_ACEOF
56545 +
56546 + if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 41; then
56547 + break
56548 + elif $ac_last_try; then
56549 + { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
56550 +echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
56551 + { (exit 1); exit 1; }; }
56552 + else
56553 + ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
56554 + fi
56555 +done
56556
56557 +ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
56558 +if test -n "$ac_eof"; then
56559 + ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
56560 + ac_eof=`expr $ac_eof + 1`
56561 +fi
56562 +
56563 +cat >>$CONFIG_STATUS <<_ACEOF
56564 +cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
56565 +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
56566 +_ACEOF
56567 +sed '
56568 +s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
56569 +s/^/s,@/; s/!/@,|#_!!_#|/
56570 +:n
56571 +t n
56572 +s/'"$ac_delim"'$/,g/; t
56573 +s/$/\\/; p
56574 +N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
56575 +' >>$CONFIG_STATUS <conf$$subs.sed
56576 +rm -f conf$$subs.sed
56577 +cat >>$CONFIG_STATUS <<_ACEOF
56578 +:end
56579 +s/|#_!!_#|//g
56580 +CEOF$ac_eof
56581 _ACEOF
56582 +
56583 +
56584 +# VPATH may cause trouble with some makes, so we remove $(srcdir),
56585 +# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
56586 +# trailing colons and then remove the whole line if VPATH becomes empty
56587 +# (actually we leave an empty line to preserve line numbers).
56588 +if test "x$srcdir" = x.; then
56589 + ac_vpsub='/^[ ]*VPATH[ ]*=/{
56590 +s/:*\$(srcdir):*/:/
56591 +s/:*\${srcdir}:*/:/
56592 +s/:*@srcdir@:*/:/
56593 +s/^\([^=]*=[ ]*\):*/\1/
56594 +s/:*$//
56595 +s/^[^=]*=[ ]*$//
56596 +}'
56597 +fi
56598 +
56599 cat >>$CONFIG_STATUS <<\_ACEOF
56600 -for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
56601 - # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
56602 - case $ac_file in
56603 - - | *:- | *:-:* ) # input from stdin
56604 - cat >$tmp/stdin
56605 - ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
56606 - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
56607 - *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
56608 - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
56609 - * ) ac_file_in=$ac_file.in ;;
56610 +fi # test -n "$CONFIG_FILES"
56611 +
56612 +
56613 +for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
56614 +do
56615 + case $ac_tag in
56616 + :[FHLC]) ac_mode=$ac_tag; continue;;
56617 + esac
56618 + case $ac_mode$ac_tag in
56619 + :[FHL]*:*);;
56620 + :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
56621 +echo "$as_me: error: Invalid tag $ac_tag." >&2;}
56622 + { (exit 1); exit 1; }; };;
56623 + :[FH]-) ac_tag=-:-;;
56624 + :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
56625 + esac
56626 + ac_save_IFS=$IFS
56627 + IFS=:
56628 + set x $ac_tag
56629 + IFS=$ac_save_IFS
56630 + shift
56631 + ac_file=$1
56632 + shift
56633 +
56634 + case $ac_mode in
56635 + :L) ac_source=$1;;
56636 + :[FH])
56637 + ac_file_inputs=
56638 + for ac_f
56639 + do
56640 + case $ac_f in
56641 + -) ac_f="$tmp/stdin";;
56642 + *) # Look for the file first in the build tree, then in the source tree
56643 + # (if the path is not absolute). The absolute path cannot be DOS-style,
56644 + # because $ac_f cannot contain `:'.
56645 + test -f "$ac_f" ||
56646 + case $ac_f in
56647 + [\\/$]*) false;;
56648 + *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
56649 + esac ||
56650 + { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
56651 +echo "$as_me: error: cannot find input file: $ac_f" >&2;}
56652 + { (exit 1); exit 1; }; };;
56653 + esac
56654 + ac_file_inputs="$ac_file_inputs $ac_f"
56655 + done
56656 +
56657 + # Let's still pretend it is `configure' which instantiates (i.e., don't
56658 + # use $as_me), people would be surprised to read:
56659 + # /* config.h. Generated by config.status. */
56660 + configure_input="Generated from "`IFS=:
56661 + echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
56662 + if test x"$ac_file" != x-; then
56663 + configure_input="$ac_file. $configure_input"
56664 + { echo "$as_me:$LINENO: creating $ac_file" >&5
56665 +echo "$as_me: creating $ac_file" >&6;}
56666 + fi
56667 +
56668 + case $ac_tag in
56669 + *:-:* | *:-) cat >"$tmp/stdin";;
56670 + esac
56671 + ;;
56672 esac
56673
56674 - # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
56675 - ac_dir=`(dirname "$ac_file") 2>/dev/null ||
56676 + ac_dir=`$as_dirname -- "$ac_file" ||
56677 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
56678 X"$ac_file" : 'X\(//\)[^/]' \| \
56679 X"$ac_file" : 'X\(//\)$' \| \
56680 - X"$ac_file" : 'X\(/\)' \| \
56681 - . : '\(.\)' 2>/dev/null ||
56682 + X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
56683 echo X"$ac_file" |
56684 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
56685 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
56686 - /^X\(\/\/\)$/{ s//\1/; q; }
56687 - /^X\(\/\).*/{ s//\1/; q; }
56688 - s/.*/./; q'`
56689 - { if $as_mkdir_p; then
56690 - mkdir -p "$ac_dir"
56691 - else
56692 - as_dir="$ac_dir"
56693 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
56694 + s//\1/
56695 + q
56696 + }
56697 + /^X\(\/\/\)[^/].*/{
56698 + s//\1/
56699 + q
56700 + }
56701 + /^X\(\/\/\)$/{
56702 + s//\1/
56703 + q
56704 + }
56705 + /^X\(\/\).*/{
56706 + s//\1/
56707 + q
56708 + }
56709 + s/.*/./; q'`
56710 + { as_dir="$ac_dir"
56711 + case $as_dir in #(
56712 + -*) as_dir=./$as_dir;;
56713 + esac
56714 + test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
56715 as_dirs=
56716 - while test ! -d "$as_dir"; do
56717 - as_dirs="$as_dir $as_dirs"
56718 - as_dir=`(dirname "$as_dir") 2>/dev/null ||
56719 + while :; do
56720 + case $as_dir in #(
56721 + *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
56722 + *) as_qdir=$as_dir;;
56723 + esac
56724 + as_dirs="'$as_qdir' $as_dirs"
56725 + as_dir=`$as_dirname -- "$as_dir" ||
56726 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
56727 X"$as_dir" : 'X\(//\)[^/]' \| \
56728 X"$as_dir" : 'X\(//\)$' \| \
56729 - X"$as_dir" : 'X\(/\)' \| \
56730 - . : '\(.\)' 2>/dev/null ||
56731 + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
56732 echo X"$as_dir" |
56733 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
56734 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
56735 - /^X\(\/\/\)$/{ s//\1/; q; }
56736 - /^X\(\/\).*/{ s//\1/; q; }
56737 - s/.*/./; q'`
56738 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
56739 + s//\1/
56740 + q
56741 + }
56742 + /^X\(\/\/\)[^/].*/{
56743 + s//\1/
56744 + q
56745 + }
56746 + /^X\(\/\/\)$/{
56747 + s//\1/
56748 + q
56749 + }
56750 + /^X\(\/\).*/{
56751 + s//\1/
56752 + q
56753 + }
56754 + s/.*/./; q'`
56755 + test -d "$as_dir" && break
56756 done
56757 - test ! -n "$as_dirs" || mkdir $as_dirs
56758 - fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
56759 -echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
56760 + test -z "$as_dirs" || eval "mkdir $as_dirs"
56761 + } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
56762 +echo "$as_me: error: cannot create directory $as_dir" >&2;}
56763 { (exit 1); exit 1; }; }; }
56764 -
56765 ac_builddir=.
56766
56767 -if test "$ac_dir" != .; then
56768 +case "$ac_dir" in
56769 +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
56770 +*)
56771 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
56772 - # A "../" for each directory in $ac_dir_suffix.
56773 - ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
56774 -else
56775 - ac_dir_suffix= ac_top_builddir=
56776 -fi
56777 + # A ".." for each directory in $ac_dir_suffix.
56778 + ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
56779 + case $ac_top_builddir_sub in
56780 + "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
56781 + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
56782 + esac ;;
56783 +esac
56784 +ac_abs_top_builddir=$ac_pwd
56785 +ac_abs_builddir=$ac_pwd$ac_dir_suffix
56786 +# for backward compatibility:
56787 +ac_top_builddir=$ac_top_build_prefix
56788
56789 case $srcdir in
56790 - .) # No --srcdir option. We are building in place.
56791 + .) # We are building in place.
56792 ac_srcdir=.
56793 - if test -z "$ac_top_builddir"; then
56794 - ac_top_srcdir=.
56795 - else
56796 - ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
56797 - fi ;;
56798 - [\\/]* | ?:[\\/]* ) # Absolute path.
56799 + ac_top_srcdir=$ac_top_builddir_sub
56800 + ac_abs_top_srcdir=$ac_pwd ;;
56801 + [\\/]* | ?:[\\/]* ) # Absolute name.
56802 ac_srcdir=$srcdir$ac_dir_suffix;
56803 - ac_top_srcdir=$srcdir ;;
56804 - *) # Relative path.
56805 - ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
56806 - ac_top_srcdir=$ac_top_builddir$srcdir ;;
56807 -esac
56808 + ac_top_srcdir=$srcdir
56809 + ac_abs_top_srcdir=$srcdir ;;
56810 + *) # Relative name.
56811 + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
56812 + ac_top_srcdir=$ac_top_build_prefix$srcdir
56813 + ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
56814 +esac
56815 +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
56816
56817 -# Do not use `cd foo && pwd` to compute absolute paths, because
56818 -# the directories may not exist.
56819 -case `pwd` in
56820 -.) ac_abs_builddir="$ac_dir";;
56821 -*)
56822 - case "$ac_dir" in
56823 - .) ac_abs_builddir=`pwd`;;
56824 - [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
56825 - *) ac_abs_builddir=`pwd`/"$ac_dir";;
56826 - esac;;
56827 -esac
56828 -case $ac_abs_builddir in
56829 -.) ac_abs_top_builddir=${ac_top_builddir}.;;
56830 -*)
56831 - case ${ac_top_builddir}. in
56832 - .) ac_abs_top_builddir=$ac_abs_builddir;;
56833 - [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
56834 - *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
56835 - esac;;
56836 -esac
56837 -case $ac_abs_builddir in
56838 -.) ac_abs_srcdir=$ac_srcdir;;
56839 -*)
56840 - case $ac_srcdir in
56841 - .) ac_abs_srcdir=$ac_abs_builddir;;
56842 - [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
56843 - *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
56844 - esac;;
56845 -esac
56846 -case $ac_abs_builddir in
56847 -.) ac_abs_top_srcdir=$ac_top_srcdir;;
56848 -*)
56849 - case $ac_top_srcdir in
56850 - .) ac_abs_top_srcdir=$ac_abs_builddir;;
56851 - [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
56852 - *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
56853 - esac;;
56854 -esac
56855
56856 + case $ac_mode in
56857 + :F)
56858 + #
56859 + # CONFIG_FILE
56860 + #
56861
56862 case $INSTALL in
56863 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
56864 - *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
56865 + *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
56866 esac
56867 +_ACEOF
56868
56869 - if test x"$ac_file" != x-; then
56870 - { echo "$as_me:$LINENO: creating $ac_file" >&5
56871 -echo "$as_me: creating $ac_file" >&6;}
56872 - rm -f "$ac_file"
56873 - fi
56874 - # Let's still pretend it is `configure' which instantiates (i.e., don't
56875 - # use $as_me), people would be surprised to read:
56876 - # /* config.h. Generated by config.status. */
56877 - if test x"$ac_file" = x-; then
56878 - configure_input=
56879 - else
56880 - configure_input="$ac_file. "
56881 - fi
56882 - configure_input=$configure_input"Generated from `echo $ac_file_in |
56883 - sed 's,.*/,,'` by configure."
56884 -
56885 - # First look for the input files in the build tree, otherwise in the
56886 - # src tree.
56887 - ac_file_inputs=`IFS=:
56888 - for f in $ac_file_in; do
56889 - case $f in
56890 - -) echo $tmp/stdin ;;
56891 - [\\/$]*)
56892 - # Absolute (can't be DOS-style, as IFS=:)
56893 - test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
56894 -echo "$as_me: error: cannot find input file: $f" >&2;}
56895 - { (exit 1); exit 1; }; }
56896 - echo "$f";;
56897 - *) # Relative
56898 - if test -f "$f"; then
56899 - # Build tree
56900 - echo "$f"
56901 - elif test -f "$srcdir/$f"; then
56902 - # Source tree
56903 - echo "$srcdir/$f"
56904 - else
56905 - # /dev/null tree
56906 - { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
56907 -echo "$as_me: error: cannot find input file: $f" >&2;}
56908 - { (exit 1); exit 1; }; }
56909 - fi;;
56910 - esac
56911 - done` || { (exit 1); exit 1; }
56912 +cat >>$CONFIG_STATUS <<\_ACEOF
56913 +# If the template does not know about datarootdir, expand it.
56914 +# FIXME: This hack should be removed a few years after 2.60.
56915 +ac_datarootdir_hack=; ac_datarootdir_seen=
56916 +
56917 +case `sed -n '/datarootdir/ {
56918 + p
56919 + q
56920 +}
56921 +/@datadir@/p
56922 +/@docdir@/p
56923 +/@infodir@/p
56924 +/@localedir@/p
56925 +/@mandir@/p
56926 +' $ac_file_inputs` in
56927 +*datarootdir*) ac_datarootdir_seen=yes;;
56928 +*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
56929 + { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
56930 +echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
56931 +_ACEOF
56932 +cat >>$CONFIG_STATUS <<_ACEOF
56933 + ac_datarootdir_hack='
56934 + s&@datadir@&$datadir&g
56935 + s&@docdir@&$docdir&g
56936 + s&@infodir@&$infodir&g
56937 + s&@localedir@&$localedir&g
56938 + s&@mandir@&$mandir&g
56939 + s&\\\${datarootdir}&$datarootdir&g' ;;
56940 +esac
56941 _ACEOF
56942 +
56943 +# Neutralize VPATH when `$srcdir' = `.'.
56944 +# Shell code in configure.ac might set extrasub.
56945 +# FIXME: do we really want to maintain this feature?
56946 cat >>$CONFIG_STATUS <<_ACEOF
56947 sed "$ac_vpsub
56948 $extrasub
56949 @@ -12108,248 +12679,130 @@
56950 cat >>$CONFIG_STATUS <<\_ACEOF
56951 :t
56952 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
56953 -s,@configure_input@,$configure_input,;t t
56954 -s,@srcdir@,$ac_srcdir,;t t
56955 -s,@abs_srcdir@,$ac_abs_srcdir,;t t
56956 -s,@top_srcdir@,$ac_top_srcdir,;t t
56957 -s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
56958 -s,@builddir@,$ac_builddir,;t t
56959 -s,@abs_builddir@,$ac_abs_builddir,;t t
56960 -s,@top_builddir@,$ac_top_builddir,;t t
56961 -s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
56962 -s,@INSTALL@,$ac_INSTALL,;t t
56963 -" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
56964 - rm -f $tmp/stdin
56965 - if test x"$ac_file" != x-; then
56966 - mv $tmp/out $ac_file
56967 - else
56968 - cat $tmp/out
56969 - rm -f $tmp/out
56970 - fi
56971 -
56972 -done
56973 -_ACEOF
56974 -cat >>$CONFIG_STATUS <<\_ACEOF
56975 -
56976 -#
56977 -# CONFIG_HEADER section.
56978 -#
56979 -
56980 -# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
56981 -# NAME is the cpp macro being defined and VALUE is the value it is being given.
56982 -#
56983 -# ac_d sets the value in "#define NAME VALUE" lines.
56984 -ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
56985 -ac_dB='[ ].*$,\1#\2'
56986 -ac_dC=' '
56987 -ac_dD=',;t'
56988 -# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
56989 -ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
56990 -ac_uB='$,\1#\2define\3'
56991 -ac_uC=' '
56992 -ac_uD=',;t'
56993 +s&@configure_input@&$configure_input&;t t
56994 +s&@top_builddir@&$ac_top_builddir_sub&;t t
56995 +s&@srcdir@&$ac_srcdir&;t t
56996 +s&@abs_srcdir@&$ac_abs_srcdir&;t t
56997 +s&@top_srcdir@&$ac_top_srcdir&;t t
56998 +s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
56999 +s&@builddir@&$ac_builddir&;t t
57000 +s&@abs_builddir@&$ac_abs_builddir&;t t
57001 +s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
57002 +s&@INSTALL@&$ac_INSTALL&;t t
57003 +$ac_datarootdir_hack
57004 +" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
57005 +
57006 +test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
57007 + { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
57008 + { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
57009 + { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
57010 +which seems to be undefined. Please make sure it is defined." >&5
57011 +echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
57012 +which seems to be undefined. Please make sure it is defined." >&2;}
57013
57014 -for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
57015 - # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
57016 + rm -f "$tmp/stdin"
57017 case $ac_file in
57018 - - | *:- | *:-:* ) # input from stdin
57019 - cat >$tmp/stdin
57020 - ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
57021 - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
57022 - *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
57023 - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
57024 - * ) ac_file_in=$ac_file.in ;;
57025 + -) cat "$tmp/out"; rm -f "$tmp/out";;
57026 + *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
57027 esac
57028 + ;;
57029 + :H)
57030 + #
57031 + # CONFIG_HEADER
57032 + #
57033 +_ACEOF
57034 +
57035 +# Transform confdefs.h into a sed script `conftest.defines', that
57036 +# substitutes the proper values into config.h.in to produce config.h.
57037 +rm -f conftest.defines conftest.tail
57038 +# First, append a space to every undef/define line, to ease matching.
57039 +echo 's/$/ /' >conftest.defines
57040 +# Then, protect against being on the right side of a sed subst, or in
57041 +# an unquoted here document, in config.status. If some macros were
57042 +# called several times there might be several #defines for the same
57043 +# symbol, which is useless. But do not sort them, since the last
57044 +# AC_DEFINE must be honored.
57045 +ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
57046 +# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
57047 +# NAME is the cpp macro being defined, VALUE is the value it is being given.
57048 +# PARAMS is the parameter list in the macro definition--in most cases, it's
57049 +# just an empty string.
57050 +ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
57051 +ac_dB='\\)[ (].*,\\1define\\2'
57052 +ac_dC=' '
57053 +ac_dD=' ,'
57054
57055 - test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
57056 -echo "$as_me: creating $ac_file" >&6;}
57057 -
57058 - # First look for the input files in the build tree, otherwise in the
57059 - # src tree.
57060 - ac_file_inputs=`IFS=:
57061 - for f in $ac_file_in; do
57062 - case $f in
57063 - -) echo $tmp/stdin ;;
57064 - [\\/$]*)
57065 - # Absolute (can't be DOS-style, as IFS=:)
57066 - test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
57067 -echo "$as_me: error: cannot find input file: $f" >&2;}
57068 - { (exit 1); exit 1; }; }
57069 - # Do quote $f, to prevent DOS paths from being IFS'd.
57070 - echo "$f";;
57071 - *) # Relative
57072 - if test -f "$f"; then
57073 - # Build tree
57074 - echo "$f"
57075 - elif test -f "$srcdir/$f"; then
57076 - # Source tree
57077 - echo "$srcdir/$f"
57078 - else
57079 - # /dev/null tree
57080 - { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
57081 -echo "$as_me: error: cannot find input file: $f" >&2;}
57082 - { (exit 1); exit 1; }; }
57083 - fi;;
57084 - esac
57085 - done` || { (exit 1); exit 1; }
57086 - # Remove the trailing spaces.
57087 - sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
57088 -
57089 -_ACEOF
57090 -
57091 -# Transform confdefs.h into two sed scripts, `conftest.defines' and
57092 -# `conftest.undefs', that substitutes the proper values into
57093 -# config.h.in to produce config.h. The first handles `#define'
57094 -# templates, and the second `#undef' templates.
57095 -# And first: Protect against being on the right side of a sed subst in
57096 -# config.status. Protect against being in an unquoted here document
57097 -# in config.status.
57098 -rm -f conftest.defines conftest.undefs
57099 -# Using a here document instead of a string reduces the quoting nightmare.
57100 -# Putting comments in sed scripts is not portable.
57101 -#
57102 -# `end' is used to avoid that the second main sed command (meant for
57103 -# 0-ary CPP macros) applies to n-ary macro definitions.
57104 -# See the Autoconf documentation for `clear'.
57105 -cat >confdef2sed.sed <<\_ACEOF
57106 -s/[\\&,]/\\&/g
57107 -s,[\\$`],\\&,g
57108 -t clear
57109 -: clear
57110 -s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
57111 -t end
57112 -s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
57113 -: end
57114 -_ACEOF
57115 -# If some macros were called several times there might be several times
57116 -# the same #defines, which is useless. Nevertheless, we may not want to
57117 -# sort them, since we want the *last* AC-DEFINE to be honored.
57118 -uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
57119 -sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
57120 -rm -f confdef2sed.sed
57121 +uniq confdefs.h |
57122 + sed -n '
57123 + t rset
57124 + :rset
57125 + s/^[ ]*#[ ]*define[ ][ ]*//
57126 + t ok
57127 + d
57128 + :ok
57129 + s/[\\&,]/\\&/g
57130 + s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
57131 + s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
57132 + ' >>conftest.defines
57133
57134 -# This sed command replaces #undef with comments. This is necessary, for
57135 +# Remove the space that was appended to ease matching.
57136 +# Then replace #undef with comments. This is necessary, for
57137 # example, in the case of _POSIX_SOURCE, which is predefined and required
57138 # on some systems where configure will not decide to define it.
57139 -cat >>conftest.undefs <<\_ACEOF
57140 -s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
57141 +# (The regexp can be short, since the line contains either #define or #undef.)
57142 +echo 's/ $//
57143 +s,^[ #]*u.*,/* & */,' >>conftest.defines
57144 +
57145 +# Break up conftest.defines:
57146 +ac_max_sed_lines=50
57147 +
57148 +# First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
57149 +# Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
57150 +# Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
57151 +# et cetera.
57152 +ac_in='$ac_file_inputs'
57153 +ac_out='"$tmp/out1"'
57154 +ac_nxt='"$tmp/out2"'
57155 +
57156 +while :
57157 +do
57158 + # Write a here document:
57159 + cat >>$CONFIG_STATUS <<_ACEOF
57160 + # First, check the format of the line:
57161 + cat >"\$tmp/defines.sed" <<\\CEOF
57162 +/^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
57163 +/^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
57164 +b
57165 +:def
57166 _ACEOF
57167 -
57168 -# Break up conftest.defines because some shells have a limit on the size
57169 -# of here documents, and old seds have small limits too (100 cmds).
57170 -echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
57171 -echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
57172 -echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
57173 -echo ' :' >>$CONFIG_STATUS
57174 -rm -f conftest.tail
57175 -while grep . conftest.defines >/dev/null
57176 -do
57177 - # Write a limited-size here document to $tmp/defines.sed.
57178 - echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
57179 - # Speed up: don't consider the non `#define' lines.
57180 - echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
57181 - # Work around the forget-to-reset-the-flag bug.
57182 - echo 't clr' >>$CONFIG_STATUS
57183 - echo ': clr' >>$CONFIG_STATUS
57184 - sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
57185 + sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
57186 echo 'CEOF
57187 - sed -f $tmp/defines.sed $tmp/in >$tmp/out
57188 - rm -f $tmp/in
57189 - mv $tmp/out $tmp/in
57190 -' >>$CONFIG_STATUS
57191 - sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
57192 + sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
57193 + ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
57194 + sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
57195 + grep . conftest.tail >/dev/null || break
57196 rm -f conftest.defines
57197 mv conftest.tail conftest.defines
57198 done
57199 -rm -f conftest.defines
57200 -echo ' fi # grep' >>$CONFIG_STATUS
57201 -echo >>$CONFIG_STATUS
57202 -
57203 -# Break up conftest.undefs because some shells have a limit on the size
57204 -# of here documents, and old seds have small limits too (100 cmds).
57205 -echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
57206 -rm -f conftest.tail
57207 -while grep . conftest.undefs >/dev/null
57208 -do
57209 - # Write a limited-size here document to $tmp/undefs.sed.
57210 - echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
57211 - # Speed up: don't consider the non `#undef'
57212 - echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
57213 - # Work around the forget-to-reset-the-flag bug.
57214 - echo 't clr' >>$CONFIG_STATUS
57215 - echo ': clr' >>$CONFIG_STATUS
57216 - sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
57217 - echo 'CEOF
57218 - sed -f $tmp/undefs.sed $tmp/in >$tmp/out
57219 - rm -f $tmp/in
57220 - mv $tmp/out $tmp/in
57221 -' >>$CONFIG_STATUS
57222 - sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
57223 - rm -f conftest.undefs
57224 - mv conftest.tail conftest.undefs
57225 -done
57226 -rm -f conftest.undefs
57227 +rm -f conftest.defines conftest.tail
57228
57229 +echo "ac_result=$ac_in" >>$CONFIG_STATUS
57230 cat >>$CONFIG_STATUS <<\_ACEOF
57231 - # Let's still pretend it is `configure' which instantiates (i.e., don't
57232 - # use $as_me), people would be surprised to read:
57233 - # /* config.h. Generated by config.status. */
57234 - if test x"$ac_file" = x-; then
57235 - echo "/* Generated by configure. */" >$tmp/config.h
57236 - else
57237 - echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
57238 - fi
57239 - cat $tmp/in >>$tmp/config.h
57240 - rm -f $tmp/in
57241 if test x"$ac_file" != x-; then
57242 - if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
57243 + echo "/* $configure_input */" >"$tmp/config.h"
57244 + cat "$ac_result" >>"$tmp/config.h"
57245 + if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
57246 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
57247 echo "$as_me: $ac_file is unchanged" >&6;}
57248 else
57249 - ac_dir=`(dirname "$ac_file") 2>/dev/null ||
57250 -$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
57251 - X"$ac_file" : 'X\(//\)[^/]' \| \
57252 - X"$ac_file" : 'X\(//\)$' \| \
57253 - X"$ac_file" : 'X\(/\)' \| \
57254 - . : '\(.\)' 2>/dev/null ||
57255 -echo X"$ac_file" |
57256 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
57257 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
57258 - /^X\(\/\/\)$/{ s//\1/; q; }
57259 - /^X\(\/\).*/{ s//\1/; q; }
57260 - s/.*/./; q'`
57261 - { if $as_mkdir_p; then
57262 - mkdir -p "$ac_dir"
57263 - else
57264 - as_dir="$ac_dir"
57265 - as_dirs=
57266 - while test ! -d "$as_dir"; do
57267 - as_dirs="$as_dir $as_dirs"
57268 - as_dir=`(dirname "$as_dir") 2>/dev/null ||
57269 -$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
57270 - X"$as_dir" : 'X\(//\)[^/]' \| \
57271 - X"$as_dir" : 'X\(//\)$' \| \
57272 - X"$as_dir" : 'X\(/\)' \| \
57273 - . : '\(.\)' 2>/dev/null ||
57274 -echo X"$as_dir" |
57275 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
57276 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
57277 - /^X\(\/\/\)$/{ s//\1/; q; }
57278 - /^X\(\/\).*/{ s//\1/; q; }
57279 - s/.*/./; q'`
57280 - done
57281 - test ! -n "$as_dirs" || mkdir $as_dirs
57282 - fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
57283 -echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
57284 - { (exit 1); exit 1; }; }; }
57285 -
57286 rm -f $ac_file
57287 - mv $tmp/config.h $ac_file
57288 + mv "$tmp/config.h" $ac_file
57289 fi
57290 else
57291 - cat $tmp/config.h
57292 - rm -f $tmp/config.h
57293 + echo "/* $configure_input */"
57294 + cat "$ac_result"
57295 fi
57296 + rm -f "$tmp/out12"
57297 # Compute $ac_file's index in $config_headers.
57298 _am_stamp_count=1
57299 for _am_header in $config_headers :; do
57300 @@ -12360,135 +12813,39 @@
57301 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
57302 esac
57303 done
57304 -echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
57305 +echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
57306 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
57307 X$ac_file : 'X\(//\)[^/]' \| \
57308 X$ac_file : 'X\(//\)$' \| \
57309 - X$ac_file : 'X\(/\)' \| \
57310 - . : '\(.\)' 2>/dev/null ||
57311 + X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
57312 echo X$ac_file |
57313 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
57314 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
57315 - /^X\(\/\/\)$/{ s//\1/; q; }
57316 - /^X\(\/\).*/{ s//\1/; q; }
57317 - s/.*/./; q'`/stamp-h$_am_stamp_count
57318 -done
57319 -_ACEOF
57320 -cat >>$CONFIG_STATUS <<\_ACEOF
57321 -
57322 -#
57323 -# CONFIG_COMMANDS section.
57324 -#
57325 -for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
57326 - ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
57327 - ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
57328 - ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
57329 -$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
57330 - X"$ac_dest" : 'X\(//\)[^/]' \| \
57331 - X"$ac_dest" : 'X\(//\)$' \| \
57332 - X"$ac_dest" : 'X\(/\)' \| \
57333 - . : '\(.\)' 2>/dev/null ||
57334 -echo X"$ac_dest" |
57335 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
57336 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
57337 - /^X\(\/\/\)$/{ s//\1/; q; }
57338 - /^X\(\/\).*/{ s//\1/; q; }
57339 - s/.*/./; q'`
57340 - { if $as_mkdir_p; then
57341 - mkdir -p "$ac_dir"
57342 - else
57343 - as_dir="$ac_dir"
57344 - as_dirs=
57345 - while test ! -d "$as_dir"; do
57346 - as_dirs="$as_dir $as_dirs"
57347 - as_dir=`(dirname "$as_dir") 2>/dev/null ||
57348 -$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
57349 - X"$as_dir" : 'X\(//\)[^/]' \| \
57350 - X"$as_dir" : 'X\(//\)$' \| \
57351 - X"$as_dir" : 'X\(/\)' \| \
57352 - . : '\(.\)' 2>/dev/null ||
57353 -echo X"$as_dir" |
57354 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
57355 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
57356 - /^X\(\/\/\)$/{ s//\1/; q; }
57357 - /^X\(\/\).*/{ s//\1/; q; }
57358 - s/.*/./; q'`
57359 - done
57360 - test ! -n "$as_dirs" || mkdir $as_dirs
57361 - fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
57362 -echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
57363 - { (exit 1); exit 1; }; }; }
57364 -
57365 - ac_builddir=.
57366 -
57367 -if test "$ac_dir" != .; then
57368 - ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
57369 - # A "../" for each directory in $ac_dir_suffix.
57370 - ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
57371 -else
57372 - ac_dir_suffix= ac_top_builddir=
57373 -fi
57374 -
57375 -case $srcdir in
57376 - .) # No --srcdir option. We are building in place.
57377 - ac_srcdir=.
57378 - if test -z "$ac_top_builddir"; then
57379 - ac_top_srcdir=.
57380 - else
57381 - ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
57382 - fi ;;
57383 - [\\/]* | ?:[\\/]* ) # Absolute path.
57384 - ac_srcdir=$srcdir$ac_dir_suffix;
57385 - ac_top_srcdir=$srcdir ;;
57386 - *) # Relative path.
57387 - ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
57388 - ac_top_srcdir=$ac_top_builddir$srcdir ;;
57389 -esac
57390 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
57391 + s//\1/
57392 + q
57393 + }
57394 + /^X\(\/\/\)[^/].*/{
57395 + s//\1/
57396 + q
57397 + }
57398 + /^X\(\/\/\)$/{
57399 + s//\1/
57400 + q
57401 + }
57402 + /^X\(\/\).*/{
57403 + s//\1/
57404 + q
57405 + }
57406 + s/.*/./; q'`/stamp-h$_am_stamp_count
57407 + ;;
57408
57409 -# Do not use `cd foo && pwd` to compute absolute paths, because
57410 -# the directories may not exist.
57411 -case `pwd` in
57412 -.) ac_abs_builddir="$ac_dir";;
57413 -*)
57414 - case "$ac_dir" in
57415 - .) ac_abs_builddir=`pwd`;;
57416 - [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
57417 - *) ac_abs_builddir=`pwd`/"$ac_dir";;
57418 - esac;;
57419 -esac
57420 -case $ac_abs_builddir in
57421 -.) ac_abs_top_builddir=${ac_top_builddir}.;;
57422 -*)
57423 - case ${ac_top_builddir}. in
57424 - .) ac_abs_top_builddir=$ac_abs_builddir;;
57425 - [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
57426 - *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
57427 - esac;;
57428 -esac
57429 -case $ac_abs_builddir in
57430 -.) ac_abs_srcdir=$ac_srcdir;;
57431 -*)
57432 - case $ac_srcdir in
57433 - .) ac_abs_srcdir=$ac_abs_builddir;;
57434 - [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
57435 - *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
57436 - esac;;
57437 -esac
57438 -case $ac_abs_builddir in
57439 -.) ac_abs_top_srcdir=$ac_top_srcdir;;
57440 -*)
57441 - case $ac_top_srcdir in
57442 - .) ac_abs_top_srcdir=$ac_abs_builddir;;
57443 - [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
57444 - *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
57445 - esac;;
57446 -esac
57447 + :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
57448 +echo "$as_me: executing $ac_file commands" >&6;}
57449 + ;;
57450 + esac
57451
57452
57453 - { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
57454 -echo "$as_me: executing $ac_dest commands" >&6;}
57455 - case $ac_dest in
57456 - depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
57457 + case $ac_file$ac_mode in
57458 + "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
57459 # Strip MF so we end up with the name of the file.
57460 mf=`echo "$mf" | sed -e 's/:.*$//'`
57461 # Check whether this is an Automake generated Makefile or not.
57462 @@ -12498,18 +12855,29 @@
57463 # each Makefile.in and add a new line on top of each file to say so.
57464 # So let's grep whole file.
57465 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
57466 - dirpart=`(dirname "$mf") 2>/dev/null ||
57467 + dirpart=`$as_dirname -- "$mf" ||
57468 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
57469 X"$mf" : 'X\(//\)[^/]' \| \
57470 X"$mf" : 'X\(//\)$' \| \
57471 - X"$mf" : 'X\(/\)' \| \
57472 - . : '\(.\)' 2>/dev/null ||
57473 + X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
57474 echo X"$mf" |
57475 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
57476 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
57477 - /^X\(\/\/\)$/{ s//\1/; q; }
57478 - /^X\(\/\).*/{ s//\1/; q; }
57479 - s/.*/./; q'`
57480 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
57481 + s//\1/
57482 + q
57483 + }
57484 + /^X\(\/\/\)[^/].*/{
57485 + s//\1/
57486 + q
57487 + }
57488 + /^X\(\/\/\)$/{
57489 + s//\1/
57490 + q
57491 + }
57492 + /^X\(\/\).*/{
57493 + s//\1/
57494 + q
57495 + }
57496 + s/.*/./; q'`
57497 else
57498 continue
57499 fi
57500 @@ -12531,49 +12899,76 @@
57501 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
57502 # Make sure the directory exists.
57503 test -f "$dirpart/$file" && continue
57504 - fdir=`(dirname "$file") 2>/dev/null ||
57505 + fdir=`$as_dirname -- "$file" ||
57506 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
57507 X"$file" : 'X\(//\)[^/]' \| \
57508 X"$file" : 'X\(//\)$' \| \
57509 - X"$file" : 'X\(/\)' \| \
57510 - . : '\(.\)' 2>/dev/null ||
57511 + X"$file" : 'X\(/\)' \| . 2>/dev/null ||
57512 echo X"$file" |
57513 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
57514 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
57515 - /^X\(\/\/\)$/{ s//\1/; q; }
57516 - /^X\(\/\).*/{ s//\1/; q; }
57517 - s/.*/./; q'`
57518 - { if $as_mkdir_p; then
57519 - mkdir -p $dirpart/$fdir
57520 - else
57521 - as_dir=$dirpart/$fdir
57522 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
57523 + s//\1/
57524 + q
57525 + }
57526 + /^X\(\/\/\)[^/].*/{
57527 + s//\1/
57528 + q
57529 + }
57530 + /^X\(\/\/\)$/{
57531 + s//\1/
57532 + q
57533 + }
57534 + /^X\(\/\).*/{
57535 + s//\1/
57536 + q
57537 + }
57538 + s/.*/./; q'`
57539 + { as_dir=$dirpart/$fdir
57540 + case $as_dir in #(
57541 + -*) as_dir=./$as_dir;;
57542 + esac
57543 + test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
57544 as_dirs=
57545 - while test ! -d "$as_dir"; do
57546 - as_dirs="$as_dir $as_dirs"
57547 - as_dir=`(dirname "$as_dir") 2>/dev/null ||
57548 + while :; do
57549 + case $as_dir in #(
57550 + *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
57551 + *) as_qdir=$as_dir;;
57552 + esac
57553 + as_dirs="'$as_qdir' $as_dirs"
57554 + as_dir=`$as_dirname -- "$as_dir" ||
57555 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
57556 X"$as_dir" : 'X\(//\)[^/]' \| \
57557 X"$as_dir" : 'X\(//\)$' \| \
57558 - X"$as_dir" : 'X\(/\)' \| \
57559 - . : '\(.\)' 2>/dev/null ||
57560 + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
57561 echo X"$as_dir" |
57562 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
57563 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
57564 - /^X\(\/\/\)$/{ s//\1/; q; }
57565 - /^X\(\/\).*/{ s//\1/; q; }
57566 - s/.*/./; q'`
57567 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
57568 + s//\1/
57569 + q
57570 + }
57571 + /^X\(\/\/\)[^/].*/{
57572 + s//\1/
57573 + q
57574 + }
57575 + /^X\(\/\/\)$/{
57576 + s//\1/
57577 + q
57578 + }
57579 + /^X\(\/\).*/{
57580 + s//\1/
57581 + q
57582 + }
57583 + s/.*/./; q'`
57584 + test -d "$as_dir" && break
57585 done
57586 - test ! -n "$as_dirs" || mkdir $as_dirs
57587 - fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
57588 -echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
57589 + test -z "$as_dirs" || eval "mkdir $as_dirs"
57590 + } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
57591 +echo "$as_me: error: cannot create directory $as_dir" >&2;}
57592 { (exit 1); exit 1; }; }; }
57593 -
57594 # echo "creating $dirpart/$file"
57595 echo '# dummy' > "$dirpart/$file"
57596 done
57597 done
57598 ;;
57599 - default ) rm -f targ-cpu.c targ-cpu.h obj-format.h obj-format.c targ-env.h atof-targ.c itbl-cpu.h
57600 + "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
57601 echo '#include "tc-'"${target_cpu_type}"'.h"' > targ-cpu.h
57602 echo '#include "obj-'"${obj_format}"'.h"' > obj-format.h
57603 echo '#include "te-'"${te_file}"'.h"' > targ-env.h
57604 @@ -12583,11 +12978,10 @@
57605 fi
57606
57607 sed -e '/POTFILES =/r po/POTFILES' po/Makefile.in > po/Makefile ;;
57608 +
57609 esac
57610 -done
57611 -_ACEOF
57612 +done # for ac_tag
57613
57614 -cat >>$CONFIG_STATUS <<\_ACEOF
57615
57616 { (exit 0); exit 0; }
57617 _ACEOF
57618 Index: binutils-2.17/gas/configure.tgt
57619 ===================================================================
57620 --- binutils-2.17.orig/gas/configure.tgt 2007-06-28 09:19:34.396007464 +0200
57621 +++ binutils-2.17/gas/configure.tgt 2007-06-28 09:19:36.631667592 +0200
57622 @@ -33,6 +33,7 @@
57623 am33_2.0) cpu_type=mn10300 endian=little ;;
57624 arm*be|arm*b) cpu_type=arm endian=big ;;
57625 arm*) cpu_type=arm endian=little ;;
57626 + avr32*) cpu_type=avr32 endian=big ;;
57627 bfin*) cpu_type=bfin endian=little ;;
57628 c4x*) cpu_type=tic4x ;;
57629 crisv32) cpu_type=cris arch=crisv32 ;;
57630 @@ -122,6 +123,9 @@
57631 bfin-*-*) fmt=elf bfd_gas=yes ;;
57632 bfin-*elf) fmt=elf ;;
57633
57634 + avr32-*-linux*) fmt=elf em=linux bfd_gas=yes ;;
57635 + avr32*) fmt=elf bfd_gas=yes ;;
57636 +
57637 cris-*-linux-* | crisv32-*-linux-*)
57638 fmt=multi em=linux ;;
57639 cris-*-* | crisv32-*-*) fmt=multi ;;
57640 Index: binutils-2.17/gas/doc/all.texi
57641 ===================================================================
57642 --- binutils-2.17.orig/gas/doc/all.texi 2007-06-28 09:19:34.401006704 +0200
57643 +++ binutils-2.17/gas/doc/all.texi 2007-06-28 09:19:36.631667592 +0200
57644 @@ -29,6 +29,7 @@
57645 @set ALPHA
57646 @set ARC
57647 @set ARM
57648 +@set AVR32
57649 @set BFIN
57650 @set CRIS
57651 @set D10V
57652 Index: binutils-2.17/gas/doc/as.texinfo
57653 ===================================================================
57654 --- binutils-2.17.orig/gas/doc/as.texinfo 2007-06-28 09:19:34.407005792 +0200
57655 +++ binutils-2.17/gas/doc/as.texinfo 2007-06-28 09:19:36.634667136 +0200
57656 @@ -6182,6 +6182,9 @@
57657 @ifset ARM
57658 * ARM-Dependent:: ARM Dependent Features
57659 @end ifset
57660 +@ifset AVR32
57661 +* AVR32-Dependent:: AVR32 Dependent Features
57662 +@end ifset
57663 @ifset BFIN
57664 * BFIN-Dependent:: BFIN Dependent Features
57665 @end ifset
57666 @@ -6298,6 +6301,10 @@
57667 @include c-arm.texi
57668 @end ifset
57669
57670 +@ifset AVR32
57671 +@include c-avr32.texi
57672 +@end ifset
57673 +
57674 @ifset BFIN
57675 @include c-bfin.texi
57676 @end ifset
57677 Index: binutils-2.17/gas/doc/c-avr32.texi
57678 ===================================================================
57679 --- /dev/null 1970-01-01 00:00:00.000000000 +0000
57680 +++ binutils-2.17/gas/doc/c-avr32.texi 2007-06-28 09:19:36.634667136 +0200
57681 @@ -0,0 +1,247 @@
57682 +@c Copyright 2005, 2006
57683 +@c Atmel Corporation
57684 +@c This is part of the GAS manual.
57685 +@c For copying conditions, see the file as.texinfo.
57686 +
57687 +@ifset GENERIC
57688 +@page
57689 +@node AVR32-Dependent
57690 +@chapter AVR32 Dependent Features
57691 +@end ifset
57692 +
57693 +@ifclear GENERIC
57694 +@node Machine Dependencies
57695 +@chapter AVR32 Dependent Features
57696 +@end ifclear
57697 +
57698 +@cindex AVR32 support
57699 +@menu
57700 +* AVR32 Options:: Options
57701 +* AVR32 Syntax:: Syntax
57702 +* AVR32 Directives:: Directives
57703 +* AVR32 Opcodes:: Opcodes
57704 +@end menu
57705 +
57706 +@node AVR32 Options
57707 +@section Options
57708 +@cindex AVR32 options
57709 +@cindex options for AVR32
57710 +
57711 +There are currently no AVR32-specific options. However, the following
57712 +options are planned:
57713 +
57714 +@table @code
57715 +
57716 +@cindex @code{--pic} command line option, AVR32
57717 +@cindex PIC code generation for AVR32
57718 +@item --pic
57719 +This option specifies that the output of the assembler should be marked
57720 +as position-independent code (PIC). It will also ensure that
57721 +pseudo-instructions that deal with address calculation are output as
57722 +PIC, and that all absolute address references in the code are marked as
57723 +such.
57724 +
57725 +@cindex @code{--linkrelax} command line option, AVR32
57726 +@item --linkrelax
57727 +This option specifies that the output of the assembler should be marked
57728 +as linker-relaxable. It will also ensure that all PC-relative operands
57729 +that may change during linker relaxation get appropriate relocations.
57730 +
57731 +@end table
57732 +
57733 +
57734 +@node AVR32 Syntax
57735 +@section Syntax
57736 +@menu
57737 +* AVR32-Chars:: Special Characters
57738 +* AVR32-Symrefs:: Symbol references
57739 +@end menu
57740 +
57741 +@node AVR32-Chars
57742 +@subsection Special Characters
57743 +
57744 +@cindex line comment character, AVR32
57745 +@cindex AVR32 line comment character
57746 +The presence of a @samp{//} on a line indicates the start of a comment
57747 +that extends to the end of the current line. If a @samp{#} appears as
57748 +the first character of a line, the whole line is treated as a comment.
57749 +
57750 +@cindex line separator, AVR32
57751 +@cindex statement separator, AVR32
57752 +@cindex AVR32 line separator
57753 +The @samp{;} character can be used instead of a newline to separate
57754 +statements.
57755 +
57756 +@node AVR32-Symrefs
57757 +@subsection Symbol references
57758 +
57759 +The absolute value of a symbol can be obtained by simply naming the
57760 +symbol. However, as AVR32 symbols have 32-bit values, most symbols have
57761 +values that are outside the range of any instructions.
57762 +
57763 +Instructions that take a PC-relative offset, e.g. @code{lddpc} or
57764 +@code{rcall}, can also reference a symbol by simply naming the symbol
57765 +(no explicit calculations necessary). In this case, the assembler or
57766 +linker subtracts the address of the instruction from the symbol's value
57767 +and inserts the result into the instruction. Note that even though an
57768 +overflow is less likely to happen for a relative reference than for an
57769 +absolute reference, the assembler or linker will generate an error if
57770 +the referenced symbol is too far away from the current location.
57771 +
57772 +Relative references can be used for data as well. For example:
57773 +
57774 +@smallexample
57775 + lddpc r0, 2f
57776 +1: add r0, pc
57777 + ...
57778 + .align 2
57779 +2: .int @var{some_symbol} - 1b
57780 +@end smallexample
57781 +
57782 +Here, r0 will end up with the run-time address of @var{some_symbol} even
57783 +if the program was loaded at a different address than it was linked
57784 +(position-independent code).
57785 +
57786 +@subsubsection Symbol modifiers
57787 +
57788 +@table @code
57789 +
57790 +@item @code{hi(@var{symbol})}
57791 +Evaluates to the value of the symbol shifted right 16 bits. This will
57792 +work even if @var{symbol} is defined in a different module.
57793 +
57794 +@item @code{lo(@var{symbol})}
57795 +Evaluates to the low 16 bits of the symbol's value. This will work even
57796 +if @var{symbol} is defined in a different module.
57797 +
57798 +@item @code{@var{symbol}@@got}
57799 +Create a GOT entry for @var{symbol} and return the offset of that entry
57800 +relative to the GOT base.
57801 +
57802 +@end table
57803 +
57804 +
57805 +@node AVR32 Directives
57806 +@section Directives
57807 +@cindex machine directives, AVR32
57808 +@cindex AVR32 directives
57809 +
57810 +@table @code
57811 +
57812 +@cindex @code{.cpool} directive, AVR32
57813 +@item .cpool
57814 +This directive causes the current contents of the constant pool to be
57815 +dumped into the current section at the current location (aligned to a
57816 +word boundary). @code{GAS} maintains a separate constant pool for each
57817 +section and each sub-section. The @code{.cpool} directive will only
57818 +affect the constant pool of the current section and sub-section. At the
57819 +end of assembly, all remaining, non-empty constant pools will
57820 +automatically be dumped.
57821 +
57822 +@end table
57823 +
57824 +
57825 +@node AVR32 Opcodes
57826 +@section Opcodes
57827 +@cindex AVR32 opcodes
57828 +@cindex opcodes for AVR32
57829 +
57830 +@code{@value{AS}} implements all the standard AVR32 opcodes. It also
57831 +implements several pseudo-opcodes, which are recommended to use wherever
57832 +possible because they give the tool chain better freedom to generate
57833 +optimal code.
57834 +
57835 +@table @code
57836 +
57837 +@cindex @code{LDA.W reg, symbol} pseudo op, AVR32
57838 +@item LDA.W
57839 +@smallexample
57840 + lda.w @var{reg}, @var{symbol}
57841 +@end smallexample
57842 +
57843 +This instruction will load the address of @var{symbol} into
57844 +@var{reg}. The instruction will evaluate to one of the following,
57845 +depending on the relative distance to the symbol, the relative distance
57846 +to the constant pool and whether the @code{--pic} option has been
57847 +specified. If the @code{--pic} option has not been specified, the
57848 +alternatives are as follows:
57849 +@smallexample
57850 + /* @var{symbol} evaluates to a small enough value */
57851 + mov @var{reg}, @var{symbol}
57852 +
57853 + /* (. - @var{symbol}) evaluates to a small enough value */
57854 + sub @var{reg}, pc, . - @var{symbol}
57855 +
57856 + /* Constant pool is close enough */
57857 + lddpc @var{reg}, @var{cpent}
57858 + ...
57859 +@var{cpent}:
57860 + .long @var{symbol}
57861 +
57862 + /* Otherwise (not implemented yet, probably not necessary) */
57863 + mov @var{reg}, lo(@var{symbol})
57864 + orh @var{reg}, hi(@var{symbol})
57865 +@end smallexample
57866 +
57867 +If the @code{--pic} option has been specified, the alternatives are as
57868 +follows:
57869 +@smallexample
57870 + /* (. - @var{symbol}) evaluates to a small enough value */
57871 + sub @var{reg}, pc, . - @var{symbol}
57872 +
57873 + /* If @code{--linkrelax} not specified */
57874 + ld.w @var{reg}, r6[@var{symbol}@@got]
57875 +
57876 + /* Otherwise */
57877 + mov @var{reg}, @var{symbol}@@got / 4
57878 + ld.w @var{reg}, r6[@var{reg} << 2]
57879 +@end smallexample
57880 +
57881 +If @var{symbol} is not defined in the same file and section as the
57882 +@code{LDA.W} instruction, the most pessimistic alternative of the
57883 +above is selected. The linker may convert it back into the most
57884 +optimal alternative when the final value of all symbols is known.
57885 +
57886 +@cindex @code{CALL symbol} pseudo op, AVR32
57887 +@item CALL
57888 +@smallexample
57889 + call @var{symbol}
57890 +@end smallexample
57891 +
57892 +This instruction will insert code to call the subroutine identified by
57893 +@var{symbol}. It will evaluate to one of the following, depending on
57894 +the relative distance to the symbol as well as the @code{--linkrelax}
57895 +and @code{--pic} command-line options.
57896 +
57897 +If @var{symbol} is defined in the same section and input file, and the
57898 +distance is small enough, an @code{rcall} instruction is inserted:
57899 +@smallexample
57900 + rcall @var{symbol}
57901 +@end smallexample
57902 +
57903 +Otherwise, if the @code{--pic} option has not been specified:
57904 +@smallexample
57905 + mcall @var{cpent}
57906 + ...
57907 +@var{cpent}:
57908 + .long @var{symbol}
57909 +@end smallexample
57910 +
57911 +Finally, if nothing else fits and the @code{--pic} option has been
57912 +specified, the assembler will indirect the call through the Global
57913 +Offset Table:
57914 +@smallexample
57915 + /* If @code{--linkrelax} not specified */
57916 + mcall r6[@var{symbol}@@got]
57917 +
57918 + /* If @code{--linkrelax} specified */
57919 + mov lr, @var{symbol}@@got / 4
57920 + ld.w lr, r6[lr << 2]
57921 + icall lr
57922 +@end smallexample
57923 +
57924 +The linker, after determining the final value of @var{symbol}, may
57925 +convert any of these into more optimal alternatives. This includes
57926 +deleting any superfluous constant pool- and GOT-entries.
57927 +
57928 +@end table
57929 Index: binutils-2.17/gas/doc/Makefile.am
57930 ===================================================================
57931 --- binutils-2.17.orig/gas/doc/Makefile.am 2007-06-28 09:19:34.416004424 +0200
57932 +++ binutils-2.17/gas/doc/Makefile.am 2007-06-28 09:19:36.635666984 +0200
57933 @@ -29,6 +29,7 @@
57934 c-alpha.texi \
57935 c-arc.texi \
57936 c-arm.texi \
57937 + c-avr32.texi \
57938 c-bfin.texi \
57939 c-d10v.texi \
57940 c-cris.texi \
57941 Index: binutils-2.17/gas/doc/Makefile.in
57942 ===================================================================
57943 --- binutils-2.17.orig/gas/doc/Makefile.in 2007-06-28 09:19:34.422003512 +0200
57944 +++ binutils-2.17/gas/doc/Makefile.in 2007-06-28 09:19:36.635666984 +0200
57945 @@ -97,6 +97,7 @@
57946 GDBINIT = @GDBINIT@
57947 GMOFILES = @GMOFILES@
57948 GMSGFMT = @GMSGFMT@
57949 +GREP = @GREP@
57950 GT_NO = @GT_NO@
57951 GT_YES = @GT_YES@
57952 INCLUDE_LOCALE_H = @INCLUDE_LOCALE_H@
57953 @@ -146,9 +147,8 @@
57954 WARN_CFLAGS = @WARN_CFLAGS@
57955 XGETTEXT = @XGETTEXT@
57956 YACC = @YACC@
57957 +YFLAGS = @YFLAGS@
57958 ac_ct_CC = @ac_ct_CC@
57959 -ac_ct_RANLIB = @ac_ct_RANLIB@
57960 -ac_ct_STRIP = @ac_ct_STRIP@
57961 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
57962 am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
57963 am__include = @am__include@
57964 @@ -167,6 +167,7 @@
57965 datadir = @datadir@
57966 datarootdir = @datarootdir@
57967 docdir = @docdir@
57968 +dvidir = @dvidir@
57969 exec_prefix = @exec_prefix@
57970 extra_objects = @extra_objects@
57971 host = @host@
57972 @@ -182,13 +183,16 @@
57973 l = @l@
57974 libdir = @libdir@
57975 libexecdir = @libexecdir@
57976 +localedir = @localedir@
57977 localstatedir = @localstatedir@
57978 mandir = @mandir@
57979 mkdir_p = @mkdir_p@
57980 obj_format = @obj_format@
57981 oldincludedir = @oldincludedir@
57982 +pdfdir = @pdfdir@
57983 prefix = @prefix@
57984 program_transform_name = @program_transform_name@
57985 +psdir = @psdir@
57986 sbindir = @sbindir@
57987 sharedstatedir = @sharedstatedir@
57988 sysconfdir = @sysconfdir@
57989 @@ -218,6 +222,7 @@
57990 c-alpha.texi \
57991 c-arc.texi \
57992 c-arm.texi \
57993 + c-avr32.texi \
57994 c-bfin.texi \
57995 c-d10v.texi \
57996 c-cris.texi \
57997 @@ -384,10 +389,13 @@
57998 $(srcdir)/*) base=`echo "$$base" | sed "s|^$$srcdirstrip/||"`;; \
57999 esac; \
58000 if test -f $$base; then d=.; else d=$(srcdir); fi; \
58001 - for file in $$d/$$base*; do \
58002 - relfile=`expr "$$file" : "$$d/\(.*\)"`; \
58003 - test -f $(distdir)/$$relfile || \
58004 - cp -p $$file $(distdir)/$$relfile; \
58005 + base_i=`echo "$$base" | sed 's|\.info$$||;s|$$|.i|'`; \
58006 + 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 \
58007 + if test -f $$file; then \
58008 + relfile=`expr "$$file" : "$$d/\(.*\)"`; \
58009 + test -f $(distdir)/$$relfile || \
58010 + cp -p $$file $(distdir)/$$relfile; \
58011 + else :; fi; \
58012 done; \
58013 done
58014
58015 Index: binutils-2.17/gas/Makefile.am
58016 ===================================================================
58017 --- binutils-2.17.orig/gas/Makefile.am 2007-06-28 09:19:34.428002600 +0200
58018 +++ binutils-2.17/gas/Makefile.am 2007-06-28 09:19:36.636666832 +0200
58019 @@ -45,6 +45,7 @@
58020 arc \
58021 arm \
58022 avr \
58023 + avr32 \
58024 bfin \
58025 cris \
58026 crx \
58027 @@ -229,6 +230,7 @@
58028 config/tc-arc.c \
58029 config/tc-arm.c \
58030 config/tc-avr.c \
58031 + config/tc-avr32.c \
58032 config/tc-bfin.c \
58033 config/tc-cris.c \
58034 config/tc-crx.c \
58035 @@ -280,6 +282,7 @@
58036 config/tc-arc.h \
58037 config/tc-arm.h \
58038 config/tc-avr.h \
58039 + config/tc-avr32.h \
58040 config/tc-bfin.h \
58041 config/tc-cris.h \
58042 config/tc-crx.h \
58043 @@ -1046,6 +1049,11 @@
58044 $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h $(srcdir)/config/tc-avr.h \
58045 dwarf2dbg.h $(INCDIR)/safe-ctype.h subsegs.h $(INCDIR)/obstack.h \
58046 $(INCDIR)/opcode/avr.h
58047 +DEPTC_avr32_elf = $(INCDIR)/symcat.h $(srcdir)/config/obj-elf.h \
58048 + $(BFDDIR)/elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
58049 + $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h $(srcdir)/config/tc-avr32.h \
58050 + $(INCDIR)/safe-ctype.h subsegs.h $(INCDIR)/obstack.h \
58051 + $(srcdir)/../opcodes/avr32-opc.h $(srcdir)/../opcodes/avr32-asm.h
58052 DEPTC_bfin_coff = $(INCDIR)/symcat.h $(srcdir)/config/obj-coff.h \
58053 $(srcdir)/config/tc-bfin.h $(INCDIR)/coff/internal.h \
58054 $(BFDDIR)/libcoff.h $(INCDIR)/bfdlink.h struc-symbol.h \
58055 @@ -1628,6 +1636,11 @@
58056 $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h $(srcdir)/config/tc-bfin.h \
58057 dwarf2dbg.h $(INCDIR)/safe-ctype.h subsegs.h $(INCDIR)/obstack.h \
58058 struc-symbol.h $(INCDIR)/aout/aout64.h
58059 +DEPOBJ_avr32_elf = $(INCDIR)/symcat.h $(srcdir)/config/obj-elf.h \
58060 + $(BFDDIR)/elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
58061 + $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h $(srcdir)/config/tc-avr32.h \
58062 + $(INCDIR)/safe-ctype.h subsegs.h $(INCDIR)/obstack.h \
58063 + struc-symbol.h dwarf2dbg.h
58064 DEPOBJ_cris_aout = $(INCDIR)/symcat.h $(srcdir)/config/obj-aout.h \
58065 $(srcdir)/config/tc-cris.h $(BFDDIR)/libaout.h $(INCDIR)/bfdlink.h \
58066 $(INCDIR)/aout/aout64.h $(INCDIR)/obstack.h
58067 @@ -2095,6 +2108,9 @@
58068 $(BFDDIR)/elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
58069 $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h $(srcdir)/config/tc-bfin.h \
58070 dwarf2dbg.h
58071 +DEP_avr32_elf = $(srcdir)/config/obj-elf.h $(INCDIR)/symcat.h \
58072 + $(BFDDIR)/elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
58073 + $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h $(srcdir)/config/tc-avr32.h
58074 DEP_cris_aout = $(srcdir)/config/obj-aout.h $(srcdir)/config/tc-cris.h \
58075 $(BFDDIR)/libaout.h $(INCDIR)/bfdlink.h
58076 DEP_cris_elf = $(srcdir)/config/obj-elf.h $(INCDIR)/symcat.h \
58077 Index: binutils-2.17/gas/Makefile.in
58078 ===================================================================
58079 --- binutils-2.17.orig/gas/Makefile.in 2007-06-28 09:19:34.433001840 +0200
58080 +++ binutils-2.17/gas/Makefile.in 2007-06-28 09:19:36.638666528 +0200
58081 @@ -143,6 +143,7 @@
58082 GDBINIT = @GDBINIT@
58083 GMOFILES = @GMOFILES@
58084 GMSGFMT = @GMSGFMT@
58085 +GREP = @GREP@
58086 GT_NO = @GT_NO@
58087 GT_YES = @GT_YES@
58088 INCLUDE_LOCALE_H = @INCLUDE_LOCALE_H@
58089 @@ -192,9 +193,8 @@
58090 WARN_CFLAGS = @WARN_CFLAGS@
58091 XGETTEXT = @XGETTEXT@
58092 YACC = `if [ -f ../bison/bison ] ; then echo ../bison/bison -y -L../bison/bison ; else echo @YACC@ ; fi`
58093 +YFLAGS = @YFLAGS@
58094 ac_ct_CC = @ac_ct_CC@
58095 -ac_ct_RANLIB = @ac_ct_RANLIB@
58096 -ac_ct_STRIP = @ac_ct_STRIP@
58097 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
58098 am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
58099 am__include = @am__include@
58100 @@ -213,6 +213,7 @@
58101 datadir = @datadir@
58102 datarootdir = @datarootdir@
58103 docdir = @docdir@
58104 +dvidir = @dvidir@
58105 exec_prefix = @exec_prefix@
58106 extra_objects = @extra_objects@
58107 host = @host@
58108 @@ -228,13 +229,16 @@
58109 l = @l@
58110 libdir = @libdir@
58111 libexecdir = @libexecdir@
58112 +localedir = @localedir@
58113 localstatedir = @localstatedir@
58114 mandir = @mandir@
58115 mkdir_p = @mkdir_p@
58116 obj_format = @obj_format@
58117 oldincludedir = @oldincludedir@
58118 +pdfdir = @pdfdir@
58119 prefix = @prefix@
58120 program_transform_name = @program_transform_name@
58121 +psdir = @psdir@
58122 sbindir = @sbindir@
58123 sharedstatedir = @sharedstatedir@
58124 sysconfdir = @sysconfdir@
58125 @@ -276,6 +280,7 @@
58126 arc \
58127 arm \
58128 avr \
58129 + avr32 \
58130 bfin \
58131 cris \
58132 crx \
58133 @@ -458,6 +463,7 @@
58134 config/tc-arc.c \
58135 config/tc-arm.c \
58136 config/tc-avr.c \
58137 + config/tc-avr32.c \
58138 config/tc-bfin.c \
58139 config/tc-cris.c \
58140 config/tc-crx.c \
58141 @@ -509,6 +515,7 @@
58142 config/tc-arc.h \
58143 config/tc-arm.h \
58144 config/tc-avr.h \
58145 + config/tc-avr32.h \
58146 config/tc-bfin.h \
58147 config/tc-cris.h \
58148 config/tc-crx.h \
58149 @@ -798,6 +805,12 @@
58150 dwarf2dbg.h $(INCDIR)/safe-ctype.h subsegs.h $(INCDIR)/obstack.h \
58151 $(INCDIR)/opcode/avr.h
58152
58153 +DEPTC_avr32_elf = $(INCDIR)/symcat.h $(srcdir)/config/obj-elf.h \
58154 + $(BFDDIR)/elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
58155 + $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h $(srcdir)/config/tc-avr32.h \
58156 + $(INCDIR)/safe-ctype.h subsegs.h $(INCDIR)/obstack.h \
58157 + $(srcdir)/../opcodes/avr32-opc.h $(srcdir)/../opcodes/avr32-asm.h
58158 +
58159 DEPTC_bfin_coff = $(INCDIR)/symcat.h $(srcdir)/config/obj-coff.h \
58160 $(srcdir)/config/tc-bfin.h $(INCDIR)/coff/internal.h \
58161 $(BFDDIR)/libcoff.h $(INCDIR)/bfdlink.h struc-symbol.h \
58162 @@ -1491,6 +1504,12 @@
58163 dwarf2dbg.h $(INCDIR)/safe-ctype.h subsegs.h $(INCDIR)/obstack.h \
58164 struc-symbol.h $(INCDIR)/aout/aout64.h
58165
58166 +DEPOBJ_avr32_elf = $(INCDIR)/symcat.h $(srcdir)/config/obj-elf.h \
58167 + $(BFDDIR)/elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
58168 + $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h $(srcdir)/config/tc-avr32.h \
58169 + $(INCDIR)/safe-ctype.h subsegs.h $(INCDIR)/obstack.h \
58170 + struc-symbol.h dwarf2dbg.h
58171 +
58172 DEPOBJ_cris_aout = $(INCDIR)/symcat.h $(srcdir)/config/obj-aout.h \
58173 $(srcdir)/config/tc-cris.h $(BFDDIR)/libaout.h $(INCDIR)/bfdlink.h \
58174 $(INCDIR)/aout/aout64.h $(INCDIR)/obstack.h
58175 @@ -2066,6 +2085,10 @@
58176 $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h $(srcdir)/config/tc-bfin.h \
58177 dwarf2dbg.h
58178
58179 +DEP_avr32_elf = $(srcdir)/config/obj-elf.h $(INCDIR)/symcat.h \
58180 + $(BFDDIR)/elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
58181 + $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h $(srcdir)/config/tc-avr32.h
58182 +
58183 DEP_cris_aout = $(srcdir)/config/obj-aout.h $(srcdir)/config/tc-cris.h \
58184 $(BFDDIR)/libaout.h $(INCDIR)/bfdlink.h
58185
58186 Index: binutils-2.17/gas/testsuite/gas/avr32/aliases.d
58187 ===================================================================
58188 --- /dev/null 1970-01-01 00:00:00.000000000 +0000
58189 +++ binutils-2.17/gas/testsuite/gas/avr32/aliases.d 2007-06-28 09:19:36.638666528 +0200
58190 @@ -0,0 +1,19 @@
58191 +#as:
58192 +#objdump: -dr
58193 +#name: aliases
58194 +
58195 +.*: +file format .*
58196 +
58197 +Disassembly of section \.text:
58198 +
58199 +00000000 <ld_nodisp>:
58200 + 0: 19 80 [ \t]+ld\.ub r0,r12\[0x0\]
58201 + 2: f9 20 00 00[ \t]+ld\.sb r0,r12\[0\]
58202 + 6: 98 80 [ \t]+ld\.uh r0,r12\[0x0\]
58203 + 8: 98 00 [ \t]+ld\.sh r0,r12\[0x0\]
58204 + a: 78 00 [ \t]+ld\.w r0,r12\[0x0\]
58205 +
58206 +0000000c <st_nodisp>:
58207 + c: b8 80 [ \t]+st\.b r12\[0x0\],r0
58208 + e: b8 00 [ \t]+st\.h r12\[0x0\],r0
58209 + 10: 99 00 [ \t]+st\.w r12\[0x0\],r0
58210 Index: binutils-2.17/gas/testsuite/gas/avr32/aliases.s
58211 ===================================================================
58212 --- /dev/null 1970-01-01 00:00:00.000000000 +0000
58213 +++ binutils-2.17/gas/testsuite/gas/avr32/aliases.s 2007-06-28 09:19:36.639666376 +0200
58214 @@ -0,0 +1,14 @@
58215 + .text
58216 + .global ld_nodisp
58217 +ld_nodisp:
58218 + ld.ub r0, r12
58219 + ld.sb r0, r12
58220 + ld.uh r0, r12
58221 + ld.sh r0, r12
58222 + ld.w r0, r12
58223 +
58224 + .global st_nodisp
58225 +st_nodisp:
58226 + st.b r12, r0
58227 + st.h r12, r0
58228 + st.w r12, r0
58229 Index: binutils-2.17/gas/testsuite/gas/avr32/allinsn.d
58230 ===================================================================
58231 --- /dev/null 1970-01-01 00:00:00.000000000 +0000
58232 +++ binutils-2.17/gas/testsuite/gas/avr32/allinsn.d 2007-06-28 09:19:36.641666072 +0200
58233 @@ -0,0 +1,2900 @@
58234 +#as:
58235 +#objdump: -dr
58236 +#name: allinsn
58237 +
58238 +.*: +file format .*
58239 +
58240 +Disassembly of section \.text:
58241 +
58242 +[0-9a-f]* <ld_d5>:
58243 + *[0-9a-f]*: fe 0f 02 3e ld\.d lr,pc\[pc<<0x3\]
58244 + *[0-9a-f]*: e0 00 02 00 ld\.d r0,r0\[r0\]
58245 + *[0-9a-f]*: ea 05 02 26 ld\.d r6,r5\[r5<<0x2\]
58246 + *[0-9a-f]*: e8 04 02 14 ld\.d r4,r4\[r4<<0x1\]
58247 + *[0-9a-f]*: fc 0e 02 1e ld\.d lr,lr\[lr<<0x1\]
58248 + *[0-9a-f]*: e6 0d 02 2a ld\.d r10,r3\[sp<<0x2\]
58249 + *[0-9a-f]*: f4 06 02 28 ld\.d r8,r10\[r6<<0x2\]
58250 + *[0-9a-f]*: ee 09 02 02 ld\.d r2,r7\[r9\]
58251 +
58252 +[0-9a-f]* <ld_w5>:
58253 + *[0-9a-f]*: fe 0f 03 0f ld\.w pc,pc\[pc\]
58254 + *[0-9a-f]*: f8 0c 03 3c ld\.w r12,r12\[r12<<0x3\]
58255 + *[0-9a-f]*: ea 05 03 25 ld\.w r5,r5\[r5<<0x2\]
58256 + *[0-9a-f]*: e8 04 03 14 ld\.w r4,r4\[r4<<0x1\]
58257 + *[0-9a-f]*: fc 0e 03 1e ld\.w lr,lr\[lr<<0x1\]
58258 + *[0-9a-f]*: f2 09 03 02 ld\.w r2,r9\[r9\]
58259 + *[0-9a-f]*: e4 06 03 0b ld\.w r11,r2\[r6\]
58260 + *[0-9a-f]*: e4 0d 03 30 ld\.w r0,r2\[sp<<0x3\]
58261 +
58262 +[0-9a-f]* <ld_sh5>:
58263 + *[0-9a-f]*: fe 0f 04 0f ld\.sh pc,pc\[pc\]
58264 + *[0-9a-f]*: f8 0c 04 3c ld\.sh r12,r12\[r12<<0x3\]
58265 + *[0-9a-f]*: ea 05 04 25 ld\.sh r5,r5\[r5<<0x2\]
58266 + *[0-9a-f]*: e8 04 04 14 ld\.sh r4,r4\[r4<<0x1\]
58267 + *[0-9a-f]*: fc 0e 04 1e ld\.sh lr,lr\[lr<<0x1\]
58268 + *[0-9a-f]*: e0 0f 04 2b ld\.sh r11,r0\[pc<<0x2\]
58269 + *[0-9a-f]*: fa 06 04 2a ld\.sh r10,sp\[r6<<0x2\]
58270 + *[0-9a-f]*: e4 02 04 0c ld\.sh r12,r2\[r2\]
58271 +
58272 +[0-9a-f]* <ld_uh5>:
58273 + *[0-9a-f]*: fe 0f 05 0f ld\.uh pc,pc\[pc\]
58274 + *[0-9a-f]*: f8 0c 05 3c ld\.uh r12,r12\[r12<<0x3\]
58275 + *[0-9a-f]*: ea 05 05 25 ld\.uh r5,r5\[r5<<0x2\]
58276 + *[0-9a-f]*: e8 04 05 14 ld\.uh r4,r4\[r4<<0x1\]
58277 + *[0-9a-f]*: fc 0e 05 1e ld\.uh lr,lr\[lr<<0x1\]
58278 + *[0-9a-f]*: fe 0e 05 38 ld\.uh r8,pc\[lr<<0x3\]
58279 + *[0-9a-f]*: e2 0f 05 16 ld\.uh r6,r1\[pc<<0x1\]
58280 + *[0-9a-f]*: fc 0d 05 16 ld\.uh r6,lr\[sp<<0x1\]
58281 +
58282 +[0-9a-f]* <ld_sb2>:
58283 + *[0-9a-f]*: fe 0f 06 0f ld\.sb pc,pc\[pc\]
58284 + *[0-9a-f]*: f8 0c 06 3c ld\.sb r12,r12\[r12<<0x3\]
58285 + *[0-9a-f]*: ea 05 06 25 ld\.sb r5,r5\[r5<<0x2\]
58286 + *[0-9a-f]*: e8 04 06 14 ld\.sb r4,r4\[r4<<0x1\]
58287 + *[0-9a-f]*: fc 0e 06 1e ld\.sb lr,lr\[lr<<0x1\]
58288 + *[0-9a-f]*: e2 0f 06 39 ld\.sb r9,r1\[pc<<0x3\]
58289 + *[0-9a-f]*: e6 0b 06 10 ld\.sb r0,r3\[r11<<0x1\]
58290 + *[0-9a-f]*: ea 05 06 1a ld\.sb r10,r5\[r5<<0x1\]
58291 +
58292 +[0-9a-f]* <ld_ub5>:
58293 + *[0-9a-f]*: fe 0f 07 0f ld\.ub pc,pc\[pc\]
58294 + *[0-9a-f]*: f8 0c 07 3c ld\.ub r12,r12\[r12<<0x3\]
58295 + *[0-9a-f]*: ea 05 07 25 ld\.ub r5,r5\[r5<<0x2\]
58296 + *[0-9a-f]*: e8 04 07 14 ld\.ub r4,r4\[r4<<0x1\]
58297 + *[0-9a-f]*: fc 0e 07 1e ld\.ub lr,lr\[lr<<0x1\]
58298 + *[0-9a-f]*: f8 07 07 36 ld\.ub r6,r12\[r7<<0x3\]
58299 + *[0-9a-f]*: ec 0c 07 02 ld\.ub r2,r6\[r12\]
58300 + *[0-9a-f]*: ee 0b 07 10 ld\.ub r0,r7\[r11<<0x1\]
58301 +
58302 +[0-9a-f]* <st_d5>:
58303 + *[0-9a-f]*: fe 0f 08 0e st\.d pc\[pc\],lr
58304 + *[0-9a-f]*: f8 0c 08 3c st\.d r12\[r12<<0x3\],r12
58305 + *[0-9a-f]*: ea 05 08 26 st\.d r5\[r5<<0x2\],r6
58306 + *[0-9a-f]*: e8 04 08 14 st\.d r4\[r4<<0x1\],r4
58307 + *[0-9a-f]*: fc 0e 08 1e st\.d lr\[lr<<0x1\],lr
58308 + *[0-9a-f]*: e2 09 08 14 st\.d r1\[r9<<0x1\],r4
58309 + *[0-9a-f]*: f4 02 08 14 st\.d r10\[r2<<0x1\],r4
58310 + *[0-9a-f]*: f8 06 08 0e st\.d r12\[r6\],lr
58311 +
58312 +[0-9a-f]* <st_w5>:
58313 + *[0-9a-f]*: fe 0f 09 0f st\.w pc\[pc\],pc
58314 + *[0-9a-f]*: f8 0c 09 3c st\.w r12\[r12<<0x3\],r12
58315 + *[0-9a-f]*: ea 05 09 25 st\.w r5\[r5<<0x2\],r5
58316 + *[0-9a-f]*: e8 04 09 14 st\.w r4\[r4<<0x1\],r4
58317 + *[0-9a-f]*: fc 0e 09 1e st\.w lr\[lr<<0x1\],lr
58318 + *[0-9a-f]*: e2 0a 09 03 st\.w r1\[r10\],r3
58319 + *[0-9a-f]*: e0 0a 09 19 st\.w r0\[r10<<0x1\],r9
58320 + *[0-9a-f]*: e8 05 09 3f st\.w r4\[r5<<0x3\],pc
58321 +
58322 +[0-9a-f]* <st_h5>:
58323 + *[0-9a-f]*: fe 0f 0a 0f st\.h pc\[pc\],pc
58324 + *[0-9a-f]*: f8 0c 0a 3c st\.h r12\[r12<<0x3\],r12
58325 + *[0-9a-f]*: ea 05 0a 25 st\.h r5\[r5<<0x2\],r5
58326 + *[0-9a-f]*: e8 04 0a 14 st\.h r4\[r4<<0x1\],r4
58327 + *[0-9a-f]*: fc 0e 0a 1e st\.h lr\[lr<<0x1\],lr
58328 + *[0-9a-f]*: e4 09 0a 0b st\.h r2\[r9\],r11
58329 + *[0-9a-f]*: ea 01 0a 2c st\.h r5\[r1<<0x2\],r12
58330 + *[0-9a-f]*: fe 08 0a 23 st\.h pc\[r8<<0x2\],r3
58331 +
58332 +[0-9a-f]* <st_b5>:
58333 + *[0-9a-f]*: fe 0f 0b 0f st\.b pc\[pc\],pc
58334 + *[0-9a-f]*: f8 0c 0b 3c st\.b r12\[r12<<0x3\],r12
58335 + *[0-9a-f]*: ea 05 0b 25 st\.b r5\[r5<<0x2\],r5
58336 + *[0-9a-f]*: e8 04 0b 14 st\.b r4\[r4<<0x1\],r4
58337 + *[0-9a-f]*: fc 0e 0b 1e st\.b lr\[lr<<0x1\],lr
58338 + *[0-9a-f]*: e2 08 0b 16 st\.b r1\[r8<<0x1\],r6
58339 + *[0-9a-f]*: fc 0e 0b 31 st\.b lr\[lr<<0x3\],r1
58340 + *[0-9a-f]*: ea 00 0b 2f st\.b r5\[r0<<0x2\],pc
58341 +
58342 +[0-9a-f]* <divs>:
58343 + *[0-9a-f]*: fe 0f 0c 0f divs pc,pc,pc
58344 + *[0-9a-f]*: f8 0c 0c 0c divs r12,r12,r12
58345 + *[0-9a-f]*: ea 05 0c 05 divs r5,r5,r5
58346 + *[0-9a-f]*: e8 04 0c 04 divs r4,r4,r4
58347 + *[0-9a-f]*: fc 0e 0c 0e divs lr,lr,lr
58348 + *[0-9a-f]*: fe 0f 0c 03 divs r3,pc,pc
58349 + *[0-9a-f]*: f8 02 0c 09 divs r9,r12,r2
58350 + *[0-9a-f]*: e8 01 0c 07 divs r7,r4,r1
58351 +
58352 +[0-9a-f]* <add1>:
58353 + *[0-9a-f]*: 1e 0f add pc,pc
58354 + *[0-9a-f]*: 18 0c add r12,r12
58355 + *[0-9a-f]*: 0a 05 add r5,r5
58356 + *[0-9a-f]*: 08 04 add r4,r4
58357 + *[0-9a-f]*: 1c 0e add lr,lr
58358 + *[0-9a-f]*: 12 0c add r12,r9
58359 + *[0-9a-f]*: 06 06 add r6,r3
58360 + *[0-9a-f]*: 18 0a add r10,r12
58361 +
58362 +[0-9a-f]* <sub1>:
58363 + *[0-9a-f]*: 1e 1f sub pc,pc
58364 + *[0-9a-f]*: 18 1c sub r12,r12
58365 + *[0-9a-f]*: 0a 15 sub r5,r5
58366 + *[0-9a-f]*: 08 14 sub r4,r4
58367 + *[0-9a-f]*: 1c 1e sub lr,lr
58368 + *[0-9a-f]*: 0c 1e sub lr,r6
58369 + *[0-9a-f]*: 1a 10 sub r0,sp
58370 + *[0-9a-f]*: 18 16 sub r6,r12
58371 +
58372 +[0-9a-f]* <rsub1>:
58373 + *[0-9a-f]*: 1e 2f rsub pc,pc
58374 + *[0-9a-f]*: 18 2c rsub r12,r12
58375 + *[0-9a-f]*: 0a 25 rsub r5,r5
58376 + *[0-9a-f]*: 08 24 rsub r4,r4
58377 + *[0-9a-f]*: 1c 2e rsub lr,lr
58378 + *[0-9a-f]*: 1a 2b rsub r11,sp
58379 + *[0-9a-f]*: 08 27 rsub r7,r4
58380 + *[0-9a-f]*: 02 29 rsub r9,r1
58381 +
58382 +[0-9a-f]* <cp1>:
58383 + *[0-9a-f]*: 1e 3f cp\.w pc,pc
58384 + *[0-9a-f]*: 18 3c cp\.w r12,r12
58385 + *[0-9a-f]*: 0a 35 cp\.w r5,r5
58386 + *[0-9a-f]*: 08 34 cp\.w r4,r4
58387 + *[0-9a-f]*: 1c 3e cp\.w lr,lr
58388 + *[0-9a-f]*: 04 36 cp\.w r6,r2
58389 + *[0-9a-f]*: 12 30 cp\.w r0,r9
58390 + *[0-9a-f]*: 1a 33 cp\.w r3,sp
58391 +
58392 +[0-9a-f]* <or1>:
58393 + *[0-9a-f]*: 1e 4f or pc,pc
58394 + *[0-9a-f]*: 18 4c or r12,r12
58395 + *[0-9a-f]*: 0a 45 or r5,r5
58396 + *[0-9a-f]*: 08 44 or r4,r4
58397 + *[0-9a-f]*: 1c 4e or lr,lr
58398 + *[0-9a-f]*: 12 44 or r4,r9
58399 + *[0-9a-f]*: 08 4b or r11,r4
58400 + *[0-9a-f]*: 00 44 or r4,r0
58401 +
58402 +[0-9a-f]* <eor1>:
58403 + *[0-9a-f]*: 1e 5f eor pc,pc
58404 + *[0-9a-f]*: 18 5c eor r12,r12
58405 + *[0-9a-f]*: 0a 55 eor r5,r5
58406 + *[0-9a-f]*: 08 54 eor r4,r4
58407 + *[0-9a-f]*: 1c 5e eor lr,lr
58408 + *[0-9a-f]*: 16 5c eor r12,r11
58409 + *[0-9a-f]*: 02 50 eor r0,r1
58410 + *[0-9a-f]*: 1e 55 eor r5,pc
58411 +
58412 +[0-9a-f]* <and1>:
58413 + *[0-9a-f]*: 1e 6f and pc,pc
58414 + *[0-9a-f]*: 18 6c and r12,r12
58415 + *[0-9a-f]*: 0a 65 and r5,r5
58416 + *[0-9a-f]*: 08 64 and r4,r4
58417 + *[0-9a-f]*: 1c 6e and lr,lr
58418 + *[0-9a-f]*: 02 68 and r8,r1
58419 + *[0-9a-f]*: 1a 60 and r0,sp
58420 + *[0-9a-f]*: 0a 6a and r10,r5
58421 +
58422 +[0-9a-f]* <tst>:
58423 + *[0-9a-f]*: 1e 7f tst pc,pc
58424 + *[0-9a-f]*: 18 7c tst r12,r12
58425 + *[0-9a-f]*: 0a 75 tst r5,r5
58426 + *[0-9a-f]*: 08 74 tst r4,r4
58427 + *[0-9a-f]*: 1c 7e tst lr,lr
58428 + *[0-9a-f]*: 18 70 tst r0,r12
58429 + *[0-9a-f]*: 0c 7a tst r10,r6
58430 + *[0-9a-f]*: 08 7d tst sp,r4
58431 +
58432 +[0-9a-f]* <andn>:
58433 + *[0-9a-f]*: 1e 8f andn pc,pc
58434 + *[0-9a-f]*: 18 8c andn r12,r12
58435 + *[0-9a-f]*: 0a 85 andn r5,r5
58436 + *[0-9a-f]*: 08 84 andn r4,r4
58437 + *[0-9a-f]*: 1c 8e andn lr,lr
58438 + *[0-9a-f]*: 18 89 andn r9,r12
58439 + *[0-9a-f]*: 1a 8b andn r11,sp
58440 + *[0-9a-f]*: 0a 8c andn r12,r5
58441 +
58442 +[0-9a-f]* <mov3>:
58443 + *[0-9a-f]*: 1e 9f mov pc,pc
58444 + *[0-9a-f]*: 18 9c mov r12,r12
58445 + *[0-9a-f]*: 0a 95 mov r5,r5
58446 + *[0-9a-f]*: 08 94 mov r4,r4
58447 + *[0-9a-f]*: 1c 9e mov lr,lr
58448 + *[0-9a-f]*: 12 95 mov r5,r9
58449 + *[0-9a-f]*: 16 9b mov r11,r11
58450 + *[0-9a-f]*: 1c 92 mov r2,lr
58451 +
58452 +[0-9a-f]* <st_w1>:
58453 + *[0-9a-f]*: 1e af st\.w pc\+\+,pc
58454 + *[0-9a-f]*: 18 ac st\.w r12\+\+,r12
58455 + *[0-9a-f]*: 0a a5 st\.w r5\+\+,r5
58456 + *[0-9a-f]*: 08 a4 st\.w r4\+\+,r4
58457 + *[0-9a-f]*: 1c ae st\.w lr\+\+,lr
58458 + *[0-9a-f]*: 02 ab st\.w r1\+\+,r11
58459 + *[0-9a-f]*: 1a a0 st\.w sp\+\+,r0
58460 + *[0-9a-f]*: 1a a1 st\.w sp\+\+,r1
58461 +
58462 +[0-9a-f]* <st_h1>:
58463 + *[0-9a-f]*: 1e bf st\.h pc\+\+,pc
58464 + *[0-9a-f]*: 18 bc st\.h r12\+\+,r12
58465 + *[0-9a-f]*: 0a b5 st\.h r5\+\+,r5
58466 + *[0-9a-f]*: 08 b4 st\.h r4\+\+,r4
58467 + *[0-9a-f]*: 1c be st\.h lr\+\+,lr
58468 + *[0-9a-f]*: 18 bd st\.h r12\+\+,sp
58469 + *[0-9a-f]*: 0e be st\.h r7\+\+,lr
58470 + *[0-9a-f]*: 0e b4 st\.h r7\+\+,r4
58471 +
58472 +[0-9a-f]* <st_b1>:
58473 + *[0-9a-f]*: 1e cf st\.b pc\+\+,pc
58474 + *[0-9a-f]*: 18 cc st\.b r12\+\+,r12
58475 + *[0-9a-f]*: 0a c5 st\.b r5\+\+,r5
58476 + *[0-9a-f]*: 08 c4 st\.b r4\+\+,r4
58477 + *[0-9a-f]*: 1c ce st\.b lr\+\+,lr
58478 + *[0-9a-f]*: 12 cd st\.b r9\+\+,sp
58479 + *[0-9a-f]*: 02 cd st\.b r1\+\+,sp
58480 + *[0-9a-f]*: 00 c4 st\.b r0\+\+,r4
58481 +
58482 +[0-9a-f]* <st_w2>:
58483 + *[0-9a-f]*: 1e df st\.w --pc,pc
58484 + *[0-9a-f]*: 18 dc st\.w --r12,r12
58485 + *[0-9a-f]*: 0a d5 st\.w --r5,r5
58486 + *[0-9a-f]*: 08 d4 st\.w --r4,r4
58487 + *[0-9a-f]*: 1c de st\.w --lr,lr
58488 + *[0-9a-f]*: 02 d7 st\.w --r1,r7
58489 + *[0-9a-f]*: 06 d9 st\.w --r3,r9
58490 + *[0-9a-f]*: 0a d5 st\.w --r5,r5
58491 +
58492 +[0-9a-f]* <st_h2>:
58493 + *[0-9a-f]*: 1e ef st\.h --pc,pc
58494 + *[0-9a-f]*: 18 ec st\.h --r12,r12
58495 + *[0-9a-f]*: 0a e5 st\.h --r5,r5
58496 + *[0-9a-f]*: 08 e4 st\.h --r4,r4
58497 + *[0-9a-f]*: 1c ee st\.h --lr,lr
58498 + *[0-9a-f]*: 0a e7 st\.h --r5,r7
58499 + *[0-9a-f]*: 10 e8 st\.h --r8,r8
58500 + *[0-9a-f]*: 0e e2 st\.h --r7,r2
58501 +
58502 +[0-9a-f]* <st_b2>:
58503 + *[0-9a-f]*: 1e ff st\.b --pc,pc
58504 + *[0-9a-f]*: 18 fc st\.b --r12,r12
58505 + *[0-9a-f]*: 0a f5 st\.b --r5,r5
58506 + *[0-9a-f]*: 08 f4 st\.b --r4,r4
58507 + *[0-9a-f]*: 1c fe st\.b --lr,lr
58508 + *[0-9a-f]*: 1a fd st\.b --sp,sp
58509 + *[0-9a-f]*: 1a fb st\.b --sp,r11
58510 + *[0-9a-f]*: 08 f5 st\.b --r4,r5
58511 +
58512 +[0-9a-f]* <ld_w1>:
58513 + *[0-9a-f]*: 1f 0f ld\.w pc,pc\+\+
58514 + *[0-9a-f]*: 19 0c ld\.w r12,r12\+\+
58515 + *[0-9a-f]*: 0b 05 ld\.w r5,r5\+\+
58516 + *[0-9a-f]*: 09 04 ld\.w r4,r4\+\+
58517 + *[0-9a-f]*: 1d 0e ld\.w lr,lr\+\+
58518 + *[0-9a-f]*: 0f 03 ld\.w r3,r7\+\+
58519 + *[0-9a-f]*: 1d 03 ld\.w r3,lr\+\+
58520 + *[0-9a-f]*: 0b 0c ld\.w r12,r5\+\+
58521 +
58522 +[0-9a-f]* <ld_sh1>:
58523 + *[0-9a-f]*: 1f 1f ld\.sh pc,pc\+\+
58524 + *[0-9a-f]*: 19 1c ld\.sh r12,r12\+\+
58525 + *[0-9a-f]*: 0b 15 ld\.sh r5,r5\+\+
58526 + *[0-9a-f]*: 09 14 ld\.sh r4,r4\+\+
58527 + *[0-9a-f]*: 1d 1e ld\.sh lr,lr\+\+
58528 + *[0-9a-f]*: 05 1b ld\.sh r11,r2\+\+
58529 + *[0-9a-f]*: 11 12 ld\.sh r2,r8\+\+
58530 + *[0-9a-f]*: 0d 17 ld\.sh r7,r6\+\+
58531 +
58532 +[0-9a-f]* <ld_uh1>:
58533 + *[0-9a-f]*: 1f 2f ld\.uh pc,pc\+\+
58534 + *[0-9a-f]*: 19 2c ld\.uh r12,r12\+\+
58535 + *[0-9a-f]*: 0b 25 ld\.uh r5,r5\+\+
58536 + *[0-9a-f]*: 09 24 ld\.uh r4,r4\+\+
58537 + *[0-9a-f]*: 1d 2e ld\.uh lr,lr\+\+
58538 + *[0-9a-f]*: 0f 26 ld\.uh r6,r7\+\+
58539 + *[0-9a-f]*: 17 2a ld\.uh r10,r11\+\+
58540 + *[0-9a-f]*: 09 2e ld\.uh lr,r4\+\+
58541 +
58542 +[0-9a-f]* <ld_ub1>:
58543 + *[0-9a-f]*: 1f 3f ld\.ub pc,pc\+\+
58544 + *[0-9a-f]*: 19 3c ld\.ub r12,r12\+\+
58545 + *[0-9a-f]*: 0b 35 ld\.ub r5,r5\+\+
58546 + *[0-9a-f]*: 09 34 ld\.ub r4,r4\+\+
58547 + *[0-9a-f]*: 1d 3e ld\.ub lr,lr\+\+
58548 + *[0-9a-f]*: 1d 38 ld\.ub r8,lr\+\+
58549 + *[0-9a-f]*: 19 3c ld\.ub r12,r12\+\+
58550 + *[0-9a-f]*: 15 3b ld\.ub r11,r10\+\+
58551 +
58552 +[0-9a-f]* <ld_w2>:
58553 + *[0-9a-f]*: 1f 4f ld\.w pc,--pc
58554 + *[0-9a-f]*: 19 4c ld\.w r12,--r12
58555 + *[0-9a-f]*: 0b 45 ld\.w r5,--r5
58556 + *[0-9a-f]*: 09 44 ld\.w r4,--r4
58557 + *[0-9a-f]*: 1d 4e ld\.w lr,--lr
58558 + *[0-9a-f]*: 1d 4a ld\.w r10,--lr
58559 + *[0-9a-f]*: 13 4c ld\.w r12,--r9
58560 + *[0-9a-f]*: 0b 46 ld\.w r6,--r5
58561 +
58562 +[0-9a-f]* <ld_sh2>:
58563 + *[0-9a-f]*: 1f 5f ld\.sh pc,--pc
58564 + *[0-9a-f]*: 19 5c ld\.sh r12,--r12
58565 + *[0-9a-f]*: 0b 55 ld\.sh r5,--r5
58566 + *[0-9a-f]*: 09 54 ld\.sh r4,--r4
58567 + *[0-9a-f]*: 1d 5e ld\.sh lr,--lr
58568 + *[0-9a-f]*: 15 5f ld\.sh pc,--r10
58569 + *[0-9a-f]*: 07 56 ld\.sh r6,--r3
58570 + *[0-9a-f]*: 0d 54 ld\.sh r4,--r6
58571 +
58572 +[0-9a-f]* <ld_uh2>:
58573 + *[0-9a-f]*: 1f 6f ld\.uh pc,--pc
58574 + *[0-9a-f]*: 19 6c ld\.uh r12,--r12
58575 + *[0-9a-f]*: 0b 65 ld\.uh r5,--r5
58576 + *[0-9a-f]*: 09 64 ld\.uh r4,--r4
58577 + *[0-9a-f]*: 1d 6e ld\.uh lr,--lr
58578 + *[0-9a-f]*: 05 63 ld\.uh r3,--r2
58579 + *[0-9a-f]*: 01 61 ld\.uh r1,--r0
58580 + *[0-9a-f]*: 13 62 ld\.uh r2,--r9
58581 +
58582 +[0-9a-f]* <ld_ub2>:
58583 + *[0-9a-f]*: 1f 7f ld\.ub pc,--pc
58584 + *[0-9a-f]*: 19 7c ld\.ub r12,--r12
58585 + *[0-9a-f]*: 0b 75 ld\.ub r5,--r5
58586 + *[0-9a-f]*: 09 74 ld\.ub r4,--r4
58587 + *[0-9a-f]*: 1d 7e ld\.ub lr,--lr
58588 + *[0-9a-f]*: 03 71 ld\.ub r1,--r1
58589 + *[0-9a-f]*: 0d 70 ld\.ub r0,--r6
58590 + *[0-9a-f]*: 0f 72 ld\.ub r2,--r7
58591 +
58592 +[0-9a-f]* <ld_ub3>:
58593 + *[0-9a-f]*: 1f 8f ld\.ub pc,pc\[0x0\]
58594 + *[0-9a-f]*: 19 fc ld\.ub r12,r12\[0x7\]
58595 + *[0-9a-f]*: 0b c5 ld\.ub r5,r5\[0x4\]
58596 + *[0-9a-f]*: 09 b4 ld\.ub r4,r4\[0x3\]
58597 + *[0-9a-f]*: 1d 9e ld\.ub lr,lr\[0x1\]
58598 + *[0-9a-f]*: 13 e6 ld\.ub r6,r9\[0x6\]
58599 + *[0-9a-f]*: 1d c2 ld\.ub r2,lr\[0x4\]
58600 + *[0-9a-f]*: 11 81 ld\.ub r1,r8\[0x0\]
58601 +
58602 +[0-9a-f]* <sub3_sp>:
58603 + *[0-9a-f]*: 20 0d sub sp,0
58604 + *[0-9a-f]*: 2f fd sub sp,-4
58605 + *[0-9a-f]*: 28 0d sub sp,-512
58606 + *[0-9a-f]*: 27 fd sub sp,508
58607 + *[0-9a-f]*: 20 1d sub sp,4
58608 + *[0-9a-f]*: 20 bd sub sp,44
58609 + *[0-9a-f]*: 20 2d sub sp,8
58610 + *[0-9a-f]*: 25 7d sub sp,348
58611 +
58612 +[0-9a-f]* <sub3>:
58613 + *[0-9a-f]*: 20 0f sub pc,0
58614 + *[0-9a-f]*: 2f fc sub r12,-1
58615 + *[0-9a-f]*: 28 05 sub r5,-128
58616 + *[0-9a-f]*: 27 f4 sub r4,127
58617 + *[0-9a-f]*: 20 1e sub lr,1
58618 + *[0-9a-f]*: 2d 76 sub r6,-41
58619 + *[0-9a-f]*: 22 54 sub r4,37
58620 + *[0-9a-f]*: 23 8c sub r12,56
58621 +
58622 +[0-9a-f]* <mov1>:
58623 + *[0-9a-f]*: 30 0f mov pc,0
58624 + *[0-9a-f]*: 3f fc mov r12,-1
58625 + *[0-9a-f]*: 38 05 mov r5,-128
58626 + *[0-9a-f]*: 37 f4 mov r4,127
58627 + *[0-9a-f]*: 30 1e mov lr,1
58628 + *[0-9a-f]*: 30 ef mov pc,14
58629 + *[0-9a-f]*: 39 c6 mov r6,-100
58630 + *[0-9a-f]*: 38 6e mov lr,-122
58631 +
58632 +[0-9a-f]* <lddsp>:
58633 + *[0-9a-f]*: 40 0f lddsp pc,sp\[0x0\]
58634 + *[0-9a-f]*: 47 fc lddsp r12,sp\[0x1fc\]
58635 + *[0-9a-f]*: 44 05 lddsp r5,sp\[0x100\]
58636 + *[0-9a-f]*: 43 f4 lddsp r4,sp\[0xfc\]
58637 + *[0-9a-f]*: 40 1e lddsp lr,sp\[0x4\]
58638 + *[0-9a-f]*: 44 0e lddsp lr,sp\[0x100\]
58639 + *[0-9a-f]*: 40 5c lddsp r12,sp\[0x14\]
58640 + *[0-9a-f]*: 47 69 lddsp r9,sp\[0x1d8\]
58641 +
58642 +[0-9a-f]* <lddpc>:
58643 + *[0-9a-f]*: 48 0f lddpc pc,[0-9a-f]* <.*>
58644 + *[0-9a-f]*: 4f f0 lddpc r0,[0-9a-f]* <.*>
58645 + *[0-9a-f]*: 4c 08 lddpc r8,[0-9a-f]* <.*>
58646 + *[0-9a-f]*: 4b f7 lddpc r7,[0-9a-f]* <.*>
58647 + *[0-9a-f]*: 48 1e lddpc lr,[0-9a-f]* <.*>
58648 + *[0-9a-f]*: 4f 6d lddpc sp,[0-9a-f]* <.*>
58649 + *[0-9a-f]*: 49 e6 lddpc r6,[0-9a-f]* <.*>
58650 + *[0-9a-f]*: 48 7b lddpc r11,[0-9a-f]* <.*>
58651 +
58652 +[0-9a-f]* <stdsp>:
58653 + *[0-9a-f]*: 50 0f stdsp sp\[0x0\],pc
58654 + *[0-9a-f]*: 57 fc stdsp sp\[0x1fc\],r12
58655 + *[0-9a-f]*: 54 05 stdsp sp\[0x100\],r5
58656 + *[0-9a-f]*: 53 f4 stdsp sp\[0xfc\],r4
58657 + *[0-9a-f]*: 50 1e stdsp sp\[0x4\],lr
58658 + *[0-9a-f]*: 54 cf stdsp sp\[0x130\],pc
58659 + *[0-9a-f]*: 54 00 stdsp sp\[0x100\],r0
58660 + *[0-9a-f]*: 55 45 stdsp sp\[0x150\],r5
58661 +
58662 +[0-9a-f]* <cp2>:
58663 + *[0-9a-f]*: 58 0f cp.w pc,0
58664 + *[0-9a-f]*: 5b fc cp.w r12,-1
58665 + *[0-9a-f]*: 5a 05 cp.w r5,-32
58666 + *[0-9a-f]*: 59 f4 cp.w r4,31
58667 + *[0-9a-f]*: 58 1e cp.w lr,1
58668 + *[0-9a-f]*: 58 38 cp.w r8,3
58669 + *[0-9a-f]*: 59 0e cp.w lr,16
58670 + *[0-9a-f]*: 5a 67 cp.w r7,-26
58671 +
58672 +[0-9a-f]* <acr>:
58673 + *[0-9a-f]*: 5c 0f acr pc
58674 + *[0-9a-f]*: 5c 0c acr r12
58675 + *[0-9a-f]*: 5c 05 acr r5
58676 + *[0-9a-f]*: 5c 04 acr r4
58677 + *[0-9a-f]*: 5c 0e acr lr
58678 + *[0-9a-f]*: 5c 02 acr r2
58679 + *[0-9a-f]*: 5c 0c acr r12
58680 + *[0-9a-f]*: 5c 0f acr pc
58681 +
58682 +[0-9a-f]* <scr>:
58683 + *[0-9a-f]*: 5c 1f scr pc
58684 + *[0-9a-f]*: 5c 1c scr r12
58685 + *[0-9a-f]*: 5c 15 scr r5
58686 + *[0-9a-f]*: 5c 14 scr r4
58687 + *[0-9a-f]*: 5c 1e scr lr
58688 + *[0-9a-f]*: 5c 1f scr pc
58689 + *[0-9a-f]*: 5c 16 scr r6
58690 + *[0-9a-f]*: 5c 11 scr r1
58691 +
58692 +[0-9a-f]* <cpc0>:
58693 + *[0-9a-f]*: 5c 2f cpc pc
58694 + *[0-9a-f]*: 5c 2c cpc r12
58695 + *[0-9a-f]*: 5c 25 cpc r5
58696 + *[0-9a-f]*: 5c 24 cpc r4
58697 + *[0-9a-f]*: 5c 2e cpc lr
58698 + *[0-9a-f]*: 5c 2f cpc pc
58699 + *[0-9a-f]*: 5c 24 cpc r4
58700 + *[0-9a-f]*: 5c 29 cpc r9
58701 +
58702 +[0-9a-f]* <neg>:
58703 + *[0-9a-f]*: 5c 3f neg pc
58704 + *[0-9a-f]*: 5c 3c neg r12
58705 + *[0-9a-f]*: 5c 35 neg r5
58706 + *[0-9a-f]*: 5c 34 neg r4
58707 + *[0-9a-f]*: 5c 3e neg lr
58708 + *[0-9a-f]*: 5c 37 neg r7
58709 + *[0-9a-f]*: 5c 31 neg r1
58710 + *[0-9a-f]*: 5c 39 neg r9
58711 +
58712 +[0-9a-f]* <abs>:
58713 + *[0-9a-f]*: 5c 4f abs pc
58714 + *[0-9a-f]*: 5c 4c abs r12
58715 + *[0-9a-f]*: 5c 45 abs r5
58716 + *[0-9a-f]*: 5c 44 abs r4
58717 + *[0-9a-f]*: 5c 4e abs lr
58718 + *[0-9a-f]*: 5c 46 abs r6
58719 + *[0-9a-f]*: 5c 46 abs r6
58720 + *[0-9a-f]*: 5c 44 abs r4
58721 +
58722 +[0-9a-f]* <castu_b>:
58723 + *[0-9a-f]*: 5c 5f castu\.b pc
58724 + *[0-9a-f]*: 5c 5c castu\.b r12
58725 + *[0-9a-f]*: 5c 55 castu\.b r5
58726 + *[0-9a-f]*: 5c 54 castu\.b r4
58727 + *[0-9a-f]*: 5c 5e castu\.b lr
58728 + *[0-9a-f]*: 5c 57 castu\.b r7
58729 + *[0-9a-f]*: 5c 5d castu\.b sp
58730 + *[0-9a-f]*: 5c 59 castu\.b r9
58731 +
58732 +[0-9a-f]* <casts_b>:
58733 + *[0-9a-f]*: 5c 6f casts\.b pc
58734 + *[0-9a-f]*: 5c 6c casts\.b r12
58735 + *[0-9a-f]*: 5c 65 casts\.b r5
58736 + *[0-9a-f]*: 5c 64 casts\.b r4
58737 + *[0-9a-f]*: 5c 6e casts\.b lr
58738 + *[0-9a-f]*: 5c 6b casts\.b r11
58739 + *[0-9a-f]*: 5c 61 casts\.b r1
58740 + *[0-9a-f]*: 5c 6a casts\.b r10
58741 +
58742 +[0-9a-f]* <castu_h>:
58743 + *[0-9a-f]*: 5c 7f castu\.h pc
58744 + *[0-9a-f]*: 5c 7c castu\.h r12
58745 + *[0-9a-f]*: 5c 75 castu\.h r5
58746 + *[0-9a-f]*: 5c 74 castu\.h r4
58747 + *[0-9a-f]*: 5c 7e castu\.h lr
58748 + *[0-9a-f]*: 5c 7a castu\.h r10
58749 + *[0-9a-f]*: 5c 7b castu\.h r11
58750 + *[0-9a-f]*: 5c 71 castu\.h r1
58751 +
58752 +[0-9a-f]* <casts_h>:
58753 + *[0-9a-f]*: 5c 8f casts\.h pc
58754 + *[0-9a-f]*: 5c 8c casts\.h r12
58755 + *[0-9a-f]*: 5c 85 casts\.h r5
58756 + *[0-9a-f]*: 5c 84 casts\.h r4
58757 + *[0-9a-f]*: 5c 8e casts\.h lr
58758 + *[0-9a-f]*: 5c 80 casts\.h r0
58759 + *[0-9a-f]*: 5c 85 casts\.h r5
58760 + *[0-9a-f]*: 5c 89 casts\.h r9
58761 +
58762 +[0-9a-f]* <brev>:
58763 + *[0-9a-f]*: 5c 9f brev pc
58764 + *[0-9a-f]*: 5c 9c brev r12
58765 + *[0-9a-f]*: 5c 95 brev r5
58766 + *[0-9a-f]*: 5c 94 brev r4
58767 + *[0-9a-f]*: 5c 9e brev lr
58768 + *[0-9a-f]*: 5c 95 brev r5
58769 + *[0-9a-f]*: 5c 9a brev r10
58770 + *[0-9a-f]*: 5c 98 brev r8
58771 +
58772 +[0-9a-f]* <swap_h>:
58773 + *[0-9a-f]*: 5c af swap\.h pc
58774 + *[0-9a-f]*: 5c ac swap\.h r12
58775 + *[0-9a-f]*: 5c a5 swap\.h r5
58776 + *[0-9a-f]*: 5c a4 swap\.h r4
58777 + *[0-9a-f]*: 5c ae swap\.h lr
58778 + *[0-9a-f]*: 5c a7 swap\.h r7
58779 + *[0-9a-f]*: 5c a0 swap\.h r0
58780 + *[0-9a-f]*: 5c a8 swap\.h r8
58781 +
58782 +[0-9a-f]* <swap_b>:
58783 + *[0-9a-f]*: 5c bf swap\.b pc
58784 + *[0-9a-f]*: 5c bc swap\.b r12
58785 + *[0-9a-f]*: 5c b5 swap\.b r5
58786 + *[0-9a-f]*: 5c b4 swap\.b r4
58787 + *[0-9a-f]*: 5c be swap\.b lr
58788 + *[0-9a-f]*: 5c ba swap\.b r10
58789 + *[0-9a-f]*: 5c bc swap\.b r12
58790 + *[0-9a-f]*: 5c b1 swap\.b r1
58791 +
58792 +[0-9a-f]* <swap_bh>:
58793 + *[0-9a-f]*: 5c cf swap\.bh pc
58794 + *[0-9a-f]*: 5c cc swap\.bh r12
58795 + *[0-9a-f]*: 5c c5 swap\.bh r5
58796 + *[0-9a-f]*: 5c c4 swap\.bh r4
58797 + *[0-9a-f]*: 5c ce swap\.bh lr
58798 + *[0-9a-f]*: 5c c9 swap\.bh r9
58799 + *[0-9a-f]*: 5c c4 swap\.bh r4
58800 + *[0-9a-f]*: 5c c1 swap\.bh r1
58801 +
58802 +[0-9a-f]* <One_s_compliment>:
58803 + *[0-9a-f]*: 5c df com pc
58804 + *[0-9a-f]*: 5c dc com r12
58805 + *[0-9a-f]*: 5c d5 com r5
58806 + *[0-9a-f]*: 5c d4 com r4
58807 + *[0-9a-f]*: 5c de com lr
58808 + *[0-9a-f]*: 5c d2 com r2
58809 + *[0-9a-f]*: 5c d2 com r2
58810 + *[0-9a-f]*: 5c d7 com r7
58811 +
58812 +[0-9a-f]* <tnbz>:
58813 + *[0-9a-f]*: 5c ef tnbz pc
58814 + *[0-9a-f]*: 5c ec tnbz r12
58815 + *[0-9a-f]*: 5c e5 tnbz r5
58816 + *[0-9a-f]*: 5c e4 tnbz r4
58817 + *[0-9a-f]*: 5c ee tnbz lr
58818 + *[0-9a-f]*: 5c e8 tnbz r8
58819 + *[0-9a-f]*: 5c ec tnbz r12
58820 + *[0-9a-f]*: 5c ef tnbz pc
58821 +
58822 +[0-9a-f]* <rol>:
58823 + *[0-9a-f]*: 5c ff rol pc
58824 + *[0-9a-f]*: 5c fc rol r12
58825 + *[0-9a-f]*: 5c f5 rol r5
58826 + *[0-9a-f]*: 5c f4 rol r4
58827 + *[0-9a-f]*: 5c fe rol lr
58828 + *[0-9a-f]*: 5c fa rol r10
58829 + *[0-9a-f]*: 5c f9 rol r9
58830 + *[0-9a-f]*: 5c f5 rol r5
58831 +
58832 +[0-9a-f]* <ror>:
58833 + *[0-9a-f]*: 5d 0f ror pc
58834 + *[0-9a-f]*: 5d 0c ror r12
58835 + *[0-9a-f]*: 5d 05 ror r5
58836 + *[0-9a-f]*: 5d 04 ror r4
58837 + *[0-9a-f]*: 5d 0e ror lr
58838 + *[0-9a-f]*: 5d 08 ror r8
58839 + *[0-9a-f]*: 5d 04 ror r4
58840 + *[0-9a-f]*: 5d 07 ror r7
58841 +
58842 +[0-9a-f]* <icall>:
58843 + *[0-9a-f]*: 5d 1f icall pc
58844 + *[0-9a-f]*: 5d 1c icall r12
58845 + *[0-9a-f]*: 5d 15 icall r5
58846 + *[0-9a-f]*: 5d 14 icall r4
58847 + *[0-9a-f]*: 5d 1e icall lr
58848 + *[0-9a-f]*: 5d 13 icall r3
58849 + *[0-9a-f]*: 5d 11 icall r1
58850 + *[0-9a-f]*: 5d 13 icall r3
58851 +
58852 +[0-9a-f]* <mustr>:
58853 + *[0-9a-f]*: 5d 2f mustr pc
58854 + *[0-9a-f]*: 5d 2c mustr r12
58855 + *[0-9a-f]*: 5d 25 mustr r5
58856 + *[0-9a-f]*: 5d 24 mustr r4
58857 + *[0-9a-f]*: 5d 2e mustr lr
58858 + *[0-9a-f]*: 5d 21 mustr r1
58859 + *[0-9a-f]*: 5d 24 mustr r4
58860 + *[0-9a-f]*: 5d 2c mustr r12
58861 +
58862 +[0-9a-f]* <musfr>:
58863 + *[0-9a-f]*: 5d 3f musfr pc
58864 + *[0-9a-f]*: 5d 3c musfr r12
58865 + *[0-9a-f]*: 5d 35 musfr r5
58866 + *[0-9a-f]*: 5d 34 musfr r4
58867 + *[0-9a-f]*: 5d 3e musfr lr
58868 + *[0-9a-f]*: 5d 3b musfr r11
58869 + *[0-9a-f]*: 5d 3c musfr r12
58870 + *[0-9a-f]*: 5d 32 musfr r2
58871 +
58872 +[0-9a-f]* <ret_cond>:
58873 + *[0-9a-f]*: 5e 0f reteq 1
58874 + *[0-9a-f]*: 5e fc retal r12
58875 + *[0-9a-f]*: 5e 85 retls r5
58876 + *[0-9a-f]*: 5e 74 retpl r4
58877 + *[0-9a-f]*: 5e 1e retne -1
58878 + *[0-9a-f]*: 5e 90 retgt r0
58879 + *[0-9a-f]*: 5e 9c retgt r12
58880 + *[0-9a-f]*: 5e 4a retge r10
58881 +
58882 +[0-9a-f]* <sr_cond>:
58883 + *[0-9a-f]*: 5f 0f sreq pc
58884 + *[0-9a-f]*: 5f fc sral r12
58885 + *[0-9a-f]*: 5f 85 srls r5
58886 + *[0-9a-f]*: 5f 74 srpl r4
58887 + *[0-9a-f]*: 5f 1e srne lr
58888 + *[0-9a-f]*: 5f 50 srlt r0
58889 + *[0-9a-f]*: 5f fd sral sp
58890 + *[0-9a-f]*: 5f 49 srge r9
58891 +
58892 +[0-9a-f]* <ld_w3>:
58893 + *[0-9a-f]*: 7e 0f ld\.w pc,pc\[0x0\]
58894 + *[0-9a-f]*: 79 fc ld\.w r12,r12\[0x7c\]
58895 + *[0-9a-f]*: 6b 05 ld\.w r5,r5\[0x40\]
58896 + *[0-9a-f]*: 68 f4 ld\.w r4,r4\[0x3c\]
58897 + *[0-9a-f]*: 7c 1e ld\.w lr,lr\[0x4\]
58898 + *[0-9a-f]*: 64 dd ld\.w sp,r2\[0x34\]
58899 + *[0-9a-f]*: 62 29 ld\.w r9,r1\[0x8\]
58900 + *[0-9a-f]*: 7a f5 ld\.w r5,sp\[0x3c\]
58901 +
58902 +[0-9a-f]* <ld_sh3>:
58903 + *[0-9a-f]*: 9e 0f ld\.sh pc,pc\[0x0\]
58904 + *[0-9a-f]*: 98 7c ld\.sh r12,r12\[0xe\]
58905 + *[0-9a-f]*: 8a 45 ld\.sh r5,r5\[0x8\]
58906 + *[0-9a-f]*: 88 34 ld\.sh r4,r4\[0x6\]
58907 + *[0-9a-f]*: 9c 1e ld\.sh lr,lr\[0x2\]
58908 + *[0-9a-f]*: 84 44 ld\.sh r4,r2\[0x8\]
58909 + *[0-9a-f]*: 9c 5d ld\.sh sp,lr\[0xa\]
58910 + *[0-9a-f]*: 96 12 ld\.sh r2,r11\[0x2\]
58911 +
58912 +[0-9a-f]* <ld_uh3>:
58913 + *[0-9a-f]*: 9e 8f ld\.uh pc,pc\[0x0\]
58914 + *[0-9a-f]*: 98 fc ld\.uh r12,r12\[0xe\]
58915 + *[0-9a-f]*: 8a c5 ld\.uh r5,r5\[0x8\]
58916 + *[0-9a-f]*: 88 b4 ld\.uh r4,r4\[0x6\]
58917 + *[0-9a-f]*: 9c 9e ld\.uh lr,lr\[0x2\]
58918 + *[0-9a-f]*: 80 da ld\.uh r10,r0\[0xa\]
58919 + *[0-9a-f]*: 96 c8 ld\.uh r8,r11\[0x8\]
58920 + *[0-9a-f]*: 84 ea ld\.uh r10,r2\[0xc\]
58921 +
58922 +[0-9a-f]* <st_w3>:
58923 + *[0-9a-f]*: 9f 0f st\.w pc\[0x0\],pc
58924 + *[0-9a-f]*: 99 fc st\.w r12\[0x3c\],r12
58925 + *[0-9a-f]*: 8b 85 st\.w r5\[0x20\],r5
58926 + *[0-9a-f]*: 89 74 st\.w r4\[0x1c\],r4
58927 + *[0-9a-f]*: 9d 1e st\.w lr\[0x4\],lr
58928 + *[0-9a-f]*: 8f bb st\.w r7\[0x2c\],r11
58929 + *[0-9a-f]*: 85 66 st\.w r2\[0x18\],r6
58930 + *[0-9a-f]*: 89 39 st\.w r4\[0xc\],r9
58931 +
58932 +[0-9a-f]* <st_h3>:
58933 + *[0-9a-f]*: be 0f st\.h pc\[0x0\],pc
58934 + *[0-9a-f]*: b8 7c st\.h r12\[0xe\],r12
58935 + *[0-9a-f]*: aa 45 st\.h r5\[0x8\],r5
58936 + *[0-9a-f]*: a8 34 st\.h r4\[0x6\],r4
58937 + *[0-9a-f]*: bc 1e st\.h lr\[0x2\],lr
58938 + *[0-9a-f]*: bc 5c st\.h lr\[0xa\],r12
58939 + *[0-9a-f]*: ac 20 st\.h r6\[0x4\],r0
58940 + *[0-9a-f]*: aa 6d st\.h r5\[0xc\],sp
58941 +
58942 +[0-9a-f]* <st_b3>:
58943 + *[0-9a-f]*: be 8f st\.b pc\[0x0\],pc
58944 + *[0-9a-f]*: b8 fc st\.b r12\[0x7\],r12
58945 + *[0-9a-f]*: aa c5 st\.b r5\[0x4\],r5
58946 + *[0-9a-f]*: a8 b4 st\.b r4\[0x3\],r4
58947 + *[0-9a-f]*: bc 9e st\.b lr\[0x1\],lr
58948 + *[0-9a-f]*: b8 e9 st\.b r12\[0x6\],r9
58949 + *[0-9a-f]*: a4 be st\.b r2\[0x3\],lr
58950 + *[0-9a-f]*: a2 bb st\.b r1\[0x3\],r11
58951 +
58952 +[0-9a-f]* <ldd>:
58953 + *[0-9a-f]*: bf 00 ld\.d r0,pc
58954 + *[0-9a-f]*: b9 0e ld\.d lr,r12
58955 + *[0-9a-f]*: ab 08 ld\.d r8,r5
58956 + *[0-9a-f]*: a9 06 ld\.d r6,r4
58957 + *[0-9a-f]*: bd 02 ld\.d r2,lr
58958 + *[0-9a-f]*: af 0e ld\.d lr,r7
58959 + *[0-9a-f]*: a9 04 ld\.d r4,r4
58960 + *[0-9a-f]*: bf 0e ld\.d lr,pc
58961 +
58962 +[0-9a-f]* <ldd_postinc>:
58963 + *[0-9a-f]*: bf 01 ld\.d r0,pc\+\+
58964 + *[0-9a-f]*: b9 0f ld\.d lr,r12\+\+
58965 + *[0-9a-f]*: ab 09 ld\.d r8,r5\+\+
58966 + *[0-9a-f]*: a9 07 ld\.d r6,r4\+\+
58967 + *[0-9a-f]*: bd 03 ld\.d r2,lr\+\+
58968 + *[0-9a-f]*: ab 0f ld\.d lr,r5\+\+
58969 + *[0-9a-f]*: b7 0d ld\.d r12,r11\+\+
58970 + *[0-9a-f]*: b9 03 ld\.d r2,r12\+\+
58971 +
58972 +[0-9a-f]* <ldd_predec>:
58973 + *[0-9a-f]*: bf 10 ld\.d r0,--pc
58974 + *[0-9a-f]*: b9 1e ld\.d lr,--r12
58975 + *[0-9a-f]*: ab 18 ld\.d r8,--r5
58976 + *[0-9a-f]*: a9 16 ld\.d r6,--r4
58977 + *[0-9a-f]*: bd 12 ld\.d r2,--lr
58978 + *[0-9a-f]*: a1 18 ld\.d r8,--r0
58979 + *[0-9a-f]*: bf 1a ld\.d r10,--pc
58980 + *[0-9a-f]*: a9 12 ld\.d r2,--r4
58981 +
58982 +[0-9a-f]* <std>:
58983 + *[0-9a-f]*: bf 11 st\.d pc,r0
58984 + *[0-9a-f]*: b9 1f st\.d r12,lr
58985 + *[0-9a-f]*: ab 19 st\.d r5,r8
58986 + *[0-9a-f]*: a9 17 st\.d r4,r6
58987 + *[0-9a-f]*: bd 13 st\.d lr,r2
58988 + *[0-9a-f]*: a1 1d st\.d r0,r12
58989 + *[0-9a-f]*: bb 15 st\.d sp,r4
58990 + *[0-9a-f]*: b9 1d st\.d r12,r12
58991 +
58992 +[0-9a-f]* <std_postinc>:
58993 + *[0-9a-f]*: bf 20 st\.d pc\+\+,r0
58994 + *[0-9a-f]*: b9 2e st\.d r12\+\+,lr
58995 + *[0-9a-f]*: ab 28 st\.d r5\+\+,r8
58996 + *[0-9a-f]*: a9 26 st\.d r4\+\+,r6
58997 + *[0-9a-f]*: bd 22 st\.d lr\+\+,r2
58998 + *[0-9a-f]*: bb 26 st\.d sp\+\+,r6
58999 + *[0-9a-f]*: b5 26 st\.d r10\+\+,r6
59000 + *[0-9a-f]*: af 22 st\.d r7\+\+,r2
59001 +
59002 +[0-9a-f]* <std_predec>:
59003 + *[0-9a-f]*: bf 21 st\.d --pc,r0
59004 + *[0-9a-f]*: b9 2f st\.d --r12,lr
59005 + *[0-9a-f]*: ab 29 st\.d --r5,r8
59006 + *[0-9a-f]*: a9 27 st\.d --r4,r6
59007 + *[0-9a-f]*: bd 23 st\.d --lr,r2
59008 + *[0-9a-f]*: a7 27 st\.d --r3,r6
59009 + *[0-9a-f]*: bd 23 st\.d --lr,r2
59010 + *[0-9a-f]*: a1 25 st\.d --r0,r4
59011 +
59012 +[0-9a-f]* <mul>:
59013 + *[0-9a-f]*: bf 3f mul pc,pc
59014 + *[0-9a-f]*: b9 3c mul r12,r12
59015 + *[0-9a-f]*: ab 35 mul r5,r5
59016 + *[0-9a-f]*: a9 34 mul r4,r4
59017 + *[0-9a-f]*: bd 3e mul lr,lr
59018 + *[0-9a-f]*: bd 3a mul r10,lr
59019 + *[0-9a-f]*: b1 30 mul r0,r8
59020 + *[0-9a-f]*: ab 38 mul r8,r5
59021 +
59022 +[0-9a-f]* <asr_imm5>:
59023 + *[0-9a-f]*: a1 4f asr pc,0x0
59024 + *[0-9a-f]*: bf 5c asr r12,0x1f
59025 + *[0-9a-f]*: b1 45 asr r5,0x10
59026 + *[0-9a-f]*: af 54 asr r4,0xf
59027 + *[0-9a-f]*: a1 5e asr lr,0x1
59028 + *[0-9a-f]*: b7 56 asr r6,0x17
59029 + *[0-9a-f]*: b3 46 asr r6,0x12
59030 + *[0-9a-f]*: a9 45 asr r5,0x8
59031 +
59032 +[0-9a-f]* <lsl_imm5>:
59033 + *[0-9a-f]*: a1 6f lsl pc,0x0
59034 + *[0-9a-f]*: bf 7c lsl r12,0x1f
59035 + *[0-9a-f]*: b1 65 lsl r5,0x10
59036 + *[0-9a-f]*: af 74 lsl r4,0xf
59037 + *[0-9a-f]*: a1 7e lsl lr,0x1
59038 + *[0-9a-f]*: ad 7c lsl r12,0xd
59039 + *[0-9a-f]*: b1 66 lsl r6,0x10
59040 + *[0-9a-f]*: b9 71 lsl r1,0x19
59041 +
59042 +[0-9a-f]* <lsr_imm5>:
59043 + *[0-9a-f]*: a1 8f lsr pc,0x0
59044 + *[0-9a-f]*: bf 9c lsr r12,0x1f
59045 + *[0-9a-f]*: b1 85 lsr r5,0x10
59046 + *[0-9a-f]*: af 94 lsr r4,0xf
59047 + *[0-9a-f]*: a1 9e lsr lr,0x1
59048 + *[0-9a-f]*: a1 90 lsr r0,0x1
59049 + *[0-9a-f]*: ab 88 lsr r8,0xa
59050 + *[0-9a-f]*: bb 87 lsr r7,0x1a
59051 +
59052 +[0-9a-f]* <sbr>:
59053 + *[0-9a-f]*: a1 af sbr pc,0x0
59054 + *[0-9a-f]*: bf bc sbr r12,0x1f
59055 + *[0-9a-f]*: b1 a5 sbr r5,0x10
59056 + *[0-9a-f]*: af b4 sbr r4,0xf
59057 + *[0-9a-f]*: a1 be sbr lr,0x1
59058 + *[0-9a-f]*: bf b8 sbr r8,0x1f
59059 + *[0-9a-f]*: b7 a6 sbr r6,0x16
59060 + *[0-9a-f]*: b7 b1 sbr r1,0x17
59061 +
59062 +[0-9a-f]* <cbr>:
59063 + *[0-9a-f]*: a1 cf cbr pc,0x0
59064 + *[0-9a-f]*: bf dc cbr r12,0x1f
59065 + *[0-9a-f]*: b1 c5 cbr r5,0x10
59066 + *[0-9a-f]*: af d4 cbr r4,0xf
59067 + *[0-9a-f]*: a1 de cbr lr,0x1
59068 + *[0-9a-f]*: ab cc cbr r12,0xa
59069 + *[0-9a-f]*: b7 c7 cbr r7,0x16
59070 + *[0-9a-f]*: a9 d8 cbr r8,0x9
59071 +
59072 +[0-9a-f]* <brc1>:
59073 + *[0-9a-f]*: c0 00 breq [0-9a-f]* <.*>
59074 + *[0-9a-f]*: cf f7 brpl [0-9a-f]* <.*>
59075 + *[0-9a-f]*: c8 04 brge [0-9a-f]* <.*>
59076 + *[0-9a-f]*: c7 f3 brcs [0-9a-f]* <.*>
59077 + *[0-9a-f]*: c0 11 brne [0-9a-f]* <.*>
59078 + *[0-9a-f]*: c7 33 brcs [0-9a-f]* <.*>
59079 + *[0-9a-f]*: cf 70 breq [0-9a-f]* <.*>
59080 + *[0-9a-f]*: c0 60 breq [0-9a-f]* <.*>
59081 +
59082 +[0-9a-f]* <rjmp>:
59083 + *[0-9a-f]*: c0 08 rjmp [0-9a-f]* <.*>
59084 + *[0-9a-f]*: cf fb rjmp [0-9a-f]* <.*>
59085 + *[0-9a-f]*: c0 0a rjmp [0-9a-f]* <.*>
59086 + *[0-9a-f]*: cf f9 rjmp [0-9a-f]* <.*>
59087 + *[0-9a-f]*: c0 18 rjmp [0-9a-f]* <.*>
59088 + *[0-9a-f]*: c1 fa rjmp [0-9a-f]* <.*>
59089 + *[0-9a-f]*: c0 78 rjmp [0-9a-f]* <.*>
59090 + *[0-9a-f]*: cf ea rjmp [0-9a-f]* <.*>
59091 +
59092 +[0-9a-f]* <rcall1>:
59093 + *[0-9a-f]*: c0 0c rcall [0-9a-f]* <.*>
59094 + *[0-9a-f]*: cf ff rcall [0-9a-f]* <.*>
59095 + *[0-9a-f]*: c0 0e rcall [0-9a-f]* <.*>
59096 + *[0-9a-f]*: cf fd rcall [0-9a-f]* <.*>
59097 + *[0-9a-f]*: c0 1c rcall [0-9a-f]* <.*>
59098 + *[0-9a-f]*: c6 cc rcall [0-9a-f]* <.*>
59099 + *[0-9a-f]*: cf 7e rcall [0-9a-f]* <.*>
59100 + *[0-9a-f]*: c1 ae rcall [0-9a-f]* <.*>
59101 +
59102 +[0-9a-f]* <acall>:
59103 + *[0-9a-f]*: d0 00 acall 0x0
59104 + *[0-9a-f]*: df f0 acall 0x3fc
59105 + *[0-9a-f]*: d8 00 acall 0x200
59106 + *[0-9a-f]*: d7 f0 acall 0x1fc
59107 + *[0-9a-f]*: d0 10 acall 0x4
59108 + *[0-9a-f]*: d5 90 acall 0x164
59109 + *[0-9a-f]*: d4 c0 acall 0x130
59110 + *[0-9a-f]*: d2 b0 acall 0xac
59111 +
59112 +[0-9a-f]* <scall>:
59113 + *[0-9a-f]*: d7 33 scall
59114 + *[0-9a-f]*: d7 33 scall
59115 + *[0-9a-f]*: d7 33 scall
59116 + *[0-9a-f]*: d7 33 scall
59117 + *[0-9a-f]*: d7 33 scall
59118 + *[0-9a-f]*: d7 33 scall
59119 + *[0-9a-f]*: d7 33 scall
59120 + *[0-9a-f]*: d7 33 scall
59121 +
59122 +[0-9a-f]* <popm>:
59123 + *[0-9a-f]*: d8 02 popm pc
59124 + *[0-9a-f]*: dd fa popm r0-r11,pc,r12=-1
59125 + *[0-9a-f]*: d4 02 popm lr
59126 + *[0-9a-f]*: db fa popm r0-r11,pc,r12=1
59127 + *[0-9a-f]*: d0 12 popm r0-r3
59128 + *[0-9a-f]*: d8 e2 popm r4-r10,pc
59129 + *[0-9a-f]*: d9 1a popm r0-r3,r11,pc,r12=0
59130 + *[0-9a-f]*: d7 b2 popm r0-r7,r10-r12,lr
59131 +
59132 +[0-9a-f]* <pushm>:
59133 + *[0-9a-f]*: d8 01 pushm pc
59134 + *[0-9a-f]*: df f1 pushm r0-r12,lr-pc
59135 + *[0-9a-f]*: d8 01 pushm pc
59136 + *[0-9a-f]*: d7 f1 pushm r0-r12,lr
59137 + *[0-9a-f]*: d0 11 pushm r0-r3
59138 + *[0-9a-f]*: dc c1 pushm r8-r10,lr-pc
59139 + *[0-9a-f]*: d0 91 pushm r0-r3,r10
59140 + *[0-9a-f]*: d2 41 pushm r8-r9,r12
59141 +
59142 +[0-9a-f]* <popm_n>:
59143 +.*
59144 +.*
59145 +.*
59146 +.*
59147 +.*
59148 +.*
59149 +.*
59150 +.*
59151 +
59152 +[0-9a-f]* <pushm_n>:
59153 +.*
59154 +.*
59155 +.*
59156 +.*
59157 +.*
59158 +.*
59159 +.*
59160 +.*
59161 +
59162 +[0-9a-f]* <csrfcz>:
59163 + *[0-9a-f]*: d0 03 csrfcz 0x0
59164 + *[0-9a-f]*: d1 f3 csrfcz 0x1f
59165 + *[0-9a-f]*: d1 03 csrfcz 0x10
59166 + *[0-9a-f]*: d0 f3 csrfcz 0xf
59167 + *[0-9a-f]*: d0 13 csrfcz 0x1
59168 + *[0-9a-f]*: d0 53 csrfcz 0x5
59169 + *[0-9a-f]*: d0 d3 csrfcz 0xd
59170 + *[0-9a-f]*: d1 73 csrfcz 0x17
59171 +
59172 +[0-9a-f]* <ssrf>:
59173 + *[0-9a-f]*: d2 03 ssrf 0x0
59174 + *[0-9a-f]*: d3 f3 ssrf 0x1f
59175 + *[0-9a-f]*: d3 03 ssrf 0x10
59176 + *[0-9a-f]*: d2 f3 ssrf 0xf
59177 + *[0-9a-f]*: d2 13 ssrf 0x1
59178 + *[0-9a-f]*: d3 d3 ssrf 0x1d
59179 + *[0-9a-f]*: d2 d3 ssrf 0xd
59180 + *[0-9a-f]*: d2 d3 ssrf 0xd
59181 +
59182 +[0-9a-f]* <csrf>:
59183 + *[0-9a-f]*: d4 03 csrf 0x0
59184 + *[0-9a-f]*: d5 f3 csrf 0x1f
59185 + *[0-9a-f]*: d5 03 csrf 0x10
59186 + *[0-9a-f]*: d4 f3 csrf 0xf
59187 + *[0-9a-f]*: d4 13 csrf 0x1
59188 + *[0-9a-f]*: d4 a3 csrf 0xa
59189 + *[0-9a-f]*: d4 f3 csrf 0xf
59190 + *[0-9a-f]*: d4 b3 csrf 0xb
59191 +
59192 +[0-9a-f]* <rete>:
59193 + *[0-9a-f]*: d6 03 rete
59194 +
59195 +[0-9a-f]* <rets>:
59196 + *[0-9a-f]*: d6 13 rets
59197 +
59198 +[0-9a-f]* <retd>:
59199 + *[0-9a-f]*: d6 23 retd
59200 +
59201 +[0-9a-f]* <retj>:
59202 + *[0-9a-f]*: d6 33 retj
59203 +
59204 +[0-9a-f]* <tlbr>:
59205 + *[0-9a-f]*: d6 43 tlbr
59206 +
59207 +[0-9a-f]* <tlbs>:
59208 + *[0-9a-f]*: d6 53 tlbs
59209 +
59210 +[0-9a-f]* <tlbw>:
59211 + *[0-9a-f]*: d6 63 tlbw
59212 +
59213 +[0-9a-f]* <breakpoint>:
59214 + *[0-9a-f]*: d6 73 breakpoint
59215 +
59216 +[0-9a-f]* <incjosp>:
59217 + *[0-9a-f]*: d6 83 incjosp 1
59218 + *[0-9a-f]*: d6 93 incjosp 2
59219 + *[0-9a-f]*: d6 a3 incjosp 3
59220 + *[0-9a-f]*: d6 b3 incjosp 4
59221 + *[0-9a-f]*: d6 c3 incjosp -4
59222 + *[0-9a-f]*: d6 d3 incjosp -3
59223 + *[0-9a-f]*: d6 e3 incjosp -2
59224 + *[0-9a-f]*: d6 f3 incjosp -1
59225 +
59226 +[0-9a-f]* <nop>:
59227 + *[0-9a-f]*: d7 03 nop
59228 +
59229 +[0-9a-f]* <popjc>:
59230 + *[0-9a-f]*: d7 13 popjc
59231 +
59232 +[0-9a-f]* <pushjc>:
59233 + *[0-9a-f]*: d7 23 pushjc
59234 +
59235 +[0-9a-f]* <add2>:
59236 + *[0-9a-f]*: fe 0f 00 0f add pc,pc,pc
59237 + *[0-9a-f]*: f8 0c 00 3c add r12,r12,r12<<0x3
59238 + *[0-9a-f]*: ea 05 00 25 add r5,r5,r5<<0x2
59239 + *[0-9a-f]*: e8 04 00 14 add r4,r4,r4<<0x1
59240 + *[0-9a-f]*: fc 0e 00 1e add lr,lr,lr<<0x1
59241 + *[0-9a-f]*: f8 00 00 10 add r0,r12,r0<<0x1
59242 + *[0-9a-f]*: f8 04 00 09 add r9,r12,r4
59243 + *[0-9a-f]*: f8 07 00 2c add r12,r12,r7<<0x2
59244 +
59245 +[0-9a-f]* <sub2>:
59246 + *[0-9a-f]*: fe 0f 01 0f sub pc,pc,pc
59247 + *[0-9a-f]*: f8 0c 01 3c sub r12,r12,r12<<0x3
59248 + *[0-9a-f]*: ea 05 01 25 sub r5,r5,r5<<0x2
59249 + *[0-9a-f]*: e8 04 01 14 sub r4,r4,r4<<0x1
59250 + *[0-9a-f]*: fc 0e 01 1e sub lr,lr,lr<<0x1
59251 + *[0-9a-f]*: e6 04 01 0d sub sp,r3,r4
59252 + *[0-9a-f]*: ee 03 01 03 sub r3,r7,r3
59253 + *[0-9a-f]*: f4 0d 01 1d sub sp,r10,sp<<0x1
59254 +
59255 +[0-9a-f]* <divu>:
59256 + *[0-9a-f]*: fe 0f 0d 0f divu pc,pc,pc
59257 + *[0-9a-f]*: f8 0c 0d 0c divu r12,r12,r12
59258 + *[0-9a-f]*: ea 05 0d 05 divu r5,r5,r5
59259 + *[0-9a-f]*: e8 04 0d 04 divu r4,r4,r4
59260 + *[0-9a-f]*: fc 0e 0d 0e divu lr,lr,lr
59261 + *[0-9a-f]*: e8 0f 0d 0d divu sp,r4,pc
59262 + *[0-9a-f]*: ea 0d 0d 05 divu r5,r5,sp
59263 + *[0-9a-f]*: fa 00 0d 0a divu r10,sp,r0
59264 +
59265 +[0-9a-f]* <addhh_w>:
59266 + *[0-9a-f]*: fe 0f 0e 0f addhh\.w pc,pc:b,pc:b
59267 + *[0-9a-f]*: f8 0c 0e 3c addhh\.w r12,r12:t,r12:t
59268 + *[0-9a-f]*: ea 05 0e 35 addhh\.w r5,r5:t,r5:t
59269 + *[0-9a-f]*: e8 04 0e 04 addhh\.w r4,r4:b,r4:b
59270 + *[0-9a-f]*: fc 0e 0e 3e addhh\.w lr,lr:t,lr:t
59271 + *[0-9a-f]*: e0 03 0e 00 addhh\.w r0,r0:b,r3:b
59272 + *[0-9a-f]*: f8 07 0e 2e addhh\.w lr,r12:t,r7:b
59273 + *[0-9a-f]*: f4 02 0e 23 addhh\.w r3,r10:t,r2:b
59274 +
59275 +[0-9a-f]* <subhh_w>:
59276 + *[0-9a-f]*: fe 0f 0f 0f subhh\.w pc,pc:b,pc:b
59277 + *[0-9a-f]*: f8 0c 0f 3c subhh\.w r12,r12:t,r12:t
59278 + *[0-9a-f]*: ea 05 0f 35 subhh\.w r5,r5:t,r5:t
59279 + *[0-9a-f]*: e8 04 0f 04 subhh\.w r4,r4:b,r4:b
59280 + *[0-9a-f]*: fc 0e 0f 3e subhh\.w lr,lr:t,lr:t
59281 + *[0-9a-f]*: e2 07 0f 2a subhh\.w r10,r1:t,r7:b
59282 + *[0-9a-f]*: f4 0e 0f 3f subhh\.w pc,r10:t,lr:t
59283 + *[0-9a-f]*: e0 0c 0f 23 subhh\.w r3,r0:t,r12:b
59284 +
59285 +[0-9a-f]* <adc>:
59286 + *[0-9a-f]*: fe 0f 00 4f adc pc,pc,pc
59287 + *[0-9a-f]*: f8 0c 00 4c adc r12,r12,r12
59288 + *[0-9a-f]*: ea 05 00 45 adc r5,r5,r5
59289 + *[0-9a-f]*: e8 04 00 44 adc r4,r4,r4
59290 + *[0-9a-f]*: fc 0e 00 4e adc lr,lr,lr
59291 + *[0-9a-f]*: e0 07 00 44 adc r4,r0,r7
59292 + *[0-9a-f]*: e8 03 00 4d adc sp,r4,r3
59293 + *[0-9a-f]*: f8 00 00 42 adc r2,r12,r0
59294 +
59295 +[0-9a-f]* <sbc>:
59296 + *[0-9a-f]*: fe 0f 01 4f sbc pc,pc,pc
59297 + *[0-9a-f]*: f8 0c 01 4c sbc r12,r12,r12
59298 + *[0-9a-f]*: ea 05 01 45 sbc r5,r5,r5
59299 + *[0-9a-f]*: e8 04 01 44 sbc r4,r4,r4
59300 + *[0-9a-f]*: fc 0e 01 4e sbc lr,lr,lr
59301 + *[0-9a-f]*: ee 09 01 46 sbc r6,r7,r9
59302 + *[0-9a-f]*: f0 05 01 40 sbc r0,r8,r5
59303 + *[0-9a-f]*: e0 04 01 41 sbc r1,r0,r4
59304 +
59305 +[0-9a-f]* <mul_2>:
59306 + *[0-9a-f]*: fe 0f 02 4f mul pc,pc,pc
59307 + *[0-9a-f]*: f8 0c 02 4c mul r12,r12,r12
59308 + *[0-9a-f]*: ea 05 02 45 mul r5,r5,r5
59309 + *[0-9a-f]*: e8 04 02 44 mul r4,r4,r4
59310 + *[0-9a-f]*: fc 0e 02 4e mul lr,lr,lr
59311 + *[0-9a-f]*: e0 00 02 4f mul pc,r0,r0
59312 + *[0-9a-f]*: fe 0e 02 48 mul r8,pc,lr
59313 + *[0-9a-f]*: f8 0f 02 44 mul r4,r12,pc
59314 +
59315 +[0-9a-f]* <mac>:
59316 + *[0-9a-f]*: fe 0f 03 4f mac pc,pc,pc
59317 + *[0-9a-f]*: f8 0c 03 4c mac r12,r12,r12
59318 + *[0-9a-f]*: ea 05 03 45 mac r5,r5,r5
59319 + *[0-9a-f]*: e8 04 03 44 mac r4,r4,r4
59320 + *[0-9a-f]*: fc 0e 03 4e mac lr,lr,lr
59321 + *[0-9a-f]*: e8 00 03 4a mac r10,r4,r0
59322 + *[0-9a-f]*: fc 00 03 47 mac r7,lr,r0
59323 + *[0-9a-f]*: f2 0c 03 42 mac r2,r9,r12
59324 +
59325 +[0-9a-f]* <mulsd>:
59326 + *[0-9a-f]*: fe 0f 04 4f muls\.d pc,pc,pc
59327 + *[0-9a-f]*: f8 0c 04 4c muls\.d r12,r12,r12
59328 + *[0-9a-f]*: ea 05 04 45 muls\.d r5,r5,r5
59329 + *[0-9a-f]*: e8 04 04 44 muls\.d r4,r4,r4
59330 + *[0-9a-f]*: fc 0e 04 4e muls\.d lr,lr,lr
59331 + *[0-9a-f]*: f0 0e 04 42 muls\.d r2,r8,lr
59332 + *[0-9a-f]*: e0 0b 04 44 muls\.d r4,r0,r11
59333 + *[0-9a-f]*: fc 06 04 45 muls\.d r5,lr,r6
59334 +
59335 +[0-9a-f]* <macsd>:
59336 + *[0-9a-f]*: fe 0f 05 40 macs\.d r0,pc,pc
59337 + *[0-9a-f]*: f8 0c 05 4e macs\.d lr,r12,r12
59338 + *[0-9a-f]*: ea 05 05 48 macs\.d r8,r5,r5
59339 + *[0-9a-f]*: e8 04 05 46 macs\.d r6,r4,r4
59340 + *[0-9a-f]*: fc 0e 05 42 macs\.d r2,lr,lr
59341 + *[0-9a-f]*: e2 09 05 48 macs\.d r8,r1,r9
59342 + *[0-9a-f]*: f0 08 05 4e macs\.d lr,r8,r8
59343 + *[0-9a-f]*: e6 0c 05 44 macs\.d r4,r3,r12
59344 +
59345 +[0-9a-f]* <mulud>:
59346 + *[0-9a-f]*: fe 0f 06 40 mulu\.d r0,pc,pc
59347 + *[0-9a-f]*: f8 0c 06 4e mulu\.d lr,r12,r12
59348 + *[0-9a-f]*: ea 05 06 48 mulu\.d r8,r5,r5
59349 + *[0-9a-f]*: e8 04 06 46 mulu\.d r6,r4,r4
59350 + *[0-9a-f]*: fc 0e 06 42 mulu\.d r2,lr,lr
59351 + *[0-9a-f]*: ea 00 06 46 mulu\.d r6,r5,r0
59352 + *[0-9a-f]*: ec 01 06 44 mulu\.d r4,r6,r1
59353 + *[0-9a-f]*: f0 02 06 48 mulu\.d r8,r8,r2
59354 +
59355 +[0-9a-f]* <macud>:
59356 + *[0-9a-f]*: fe 0f 07 40 macu\.d r0,pc,pc
59357 + *[0-9a-f]*: f8 0c 07 4e macu\.d lr,r12,r12
59358 + *[0-9a-f]*: ea 05 07 48 macu\.d r8,r5,r5
59359 + *[0-9a-f]*: e8 04 07 46 macu\.d r6,r4,r4
59360 + *[0-9a-f]*: fc 0e 07 42 macu\.d r2,lr,lr
59361 + *[0-9a-f]*: fa 0b 07 46 macu\.d r6,sp,r11
59362 + *[0-9a-f]*: e8 08 07 42 macu\.d r2,r4,r8
59363 + *[0-9a-f]*: f4 09 07 46 macu\.d r6,r10,r9
59364 +
59365 +[0-9a-f]* <asr_1>:
59366 + *[0-9a-f]*: fe 0f 08 4f asr pc,pc,pc
59367 + *[0-9a-f]*: f8 0c 08 4c asr r12,r12,r12
59368 + *[0-9a-f]*: ea 05 08 45 asr r5,r5,r5
59369 + *[0-9a-f]*: e8 04 08 44 asr r4,r4,r4
59370 + *[0-9a-f]*: fc 0e 08 4e asr lr,lr,lr
59371 + *[0-9a-f]*: ec 0f 08 4f asr pc,r6,pc
59372 + *[0-9a-f]*: ec 0c 08 40 asr r0,r6,r12
59373 + *[0-9a-f]*: fa 00 08 44 asr r4,sp,r0
59374 +
59375 +[0-9a-f]* <lsl_1>:
59376 + *[0-9a-f]*: fe 0f 09 4f lsl pc,pc,pc
59377 + *[0-9a-f]*: f8 0c 09 4c lsl r12,r12,r12
59378 + *[0-9a-f]*: ea 05 09 45 lsl r5,r5,r5
59379 + *[0-9a-f]*: e8 04 09 44 lsl r4,r4,r4
59380 + *[0-9a-f]*: fc 0e 09 4e lsl lr,lr,lr
59381 + *[0-9a-f]*: ea 0e 09 4e lsl lr,r5,lr
59382 + *[0-9a-f]*: fe 03 09 45 lsl r5,pc,r3
59383 + *[0-9a-f]*: fe 09 09 41 lsl r1,pc,r9
59384 +
59385 +[0-9a-f]* <lsr_1>:
59386 + *[0-9a-f]*: fe 0f 0a 4f lsr pc,pc,pc
59387 + *[0-9a-f]*: f8 0c 0a 4c lsr r12,r12,r12
59388 + *[0-9a-f]*: ea 05 0a 45 lsr r5,r5,r5
59389 + *[0-9a-f]*: e8 04 0a 44 lsr r4,r4,r4
59390 + *[0-9a-f]*: fc 0e 0a 4e lsr lr,lr,lr
59391 + *[0-9a-f]*: e8 01 0a 42 lsr r2,r4,r1
59392 + *[0-9a-f]*: e2 06 0a 45 lsr r5,r1,r6
59393 + *[0-9a-f]*: ec 07 0a 4d lsr sp,r6,r7
59394 +
59395 +[0-9a-f]* <xchg>:
59396 + *[0-9a-f]*: fe 0f 0b 4f xchg pc,pc,pc
59397 + *[0-9a-f]*: f8 0c 0b 4c xchg r12,r12,r12
59398 + *[0-9a-f]*: ea 05 0b 45 xchg r5,r5,r5
59399 + *[0-9a-f]*: e8 04 0b 44 xchg r4,r4,r4
59400 + *[0-9a-f]*: fc 0e 0b 4e xchg lr,lr,lr
59401 + *[0-9a-f]*: e8 0d 0b 4e xchg lr,r4,sp
59402 + *[0-9a-f]*: ea 0c 0b 41 xchg r1,r5,r12
59403 + *[0-9a-f]*: f8 00 0b 4e xchg lr,r12,r0
59404 +
59405 +[0-9a-f]* <max>:
59406 + *[0-9a-f]*: fe 0f 0c 4f max pc,pc,pc
59407 + *[0-9a-f]*: f8 0c 0c 4c max r12,r12,r12
59408 + *[0-9a-f]*: ea 05 0c 45 max r5,r5,r5
59409 + *[0-9a-f]*: e8 04 0c 44 max r4,r4,r4
59410 + *[0-9a-f]*: fc 0e 0c 4e max lr,lr,lr
59411 + *[0-9a-f]*: e4 0d 0c 4e max lr,r2,sp
59412 + *[0-9a-f]*: f4 09 0c 44 max r4,r10,r9
59413 + *[0-9a-f]*: f2 0e 0c 4e max lr,r9,lr
59414 +
59415 +[0-9a-f]* <min>:
59416 + *[0-9a-f]*: fe 0f 0d 4f min pc,pc,pc
59417 + *[0-9a-f]*: f8 0c 0d 4c min r12,r12,r12
59418 + *[0-9a-f]*: ea 05 0d 45 min r5,r5,r5
59419 + *[0-9a-f]*: e8 04 0d 44 min r4,r4,r4
59420 + *[0-9a-f]*: fc 0e 0d 4e min lr,lr,lr
59421 + *[0-9a-f]*: ee 08 0d 49 min r9,r7,r8
59422 + *[0-9a-f]*: ea 05 0d 4d min sp,r5,r5
59423 + *[0-9a-f]*: e2 04 0d 44 min r4,r1,r4
59424 +
59425 +[0-9a-f]* <addabs>:
59426 + *[0-9a-f]*: fe 0f 0e 4f addabs pc,pc,pc
59427 + *[0-9a-f]*: f8 0c 0e 4c addabs r12,r12,r12
59428 + *[0-9a-f]*: ea 05 0e 45 addabs r5,r5,r5
59429 + *[0-9a-f]*: e8 04 0e 44 addabs r4,r4,r4
59430 + *[0-9a-f]*: fc 0e 0e 4e addabs lr,lr,lr
59431 + *[0-9a-f]*: f4 00 0e 47 addabs r7,r10,r0
59432 + *[0-9a-f]*: f2 07 0e 49 addabs r9,r9,r7
59433 + *[0-9a-f]*: f0 0c 0e 42 addabs r2,r8,r12
59434 +
59435 +[0-9a-f]* <mulnhh_w>:
59436 + *[0-9a-f]*: fe 0f 01 8f mulnhh\.w pc,pc:b,pc:b
59437 + *[0-9a-f]*: f8 0c 01 bc mulnhh\.w r12,r12:t,r12:t
59438 + *[0-9a-f]*: ea 05 01 b5 mulnhh\.w r5,r5:t,r5:t
59439 + *[0-9a-f]*: e8 04 01 84 mulnhh\.w r4,r4:b,r4:b
59440 + *[0-9a-f]*: fc 0e 01 be mulnhh\.w lr,lr:t,lr:t
59441 + *[0-9a-f]*: fa 09 01 ab mulnhh\.w r11,sp:t,r9:b
59442 + *[0-9a-f]*: e8 0e 01 9d mulnhh\.w sp,r4:b,lr:t
59443 + *[0-9a-f]*: e4 0b 01 ac mulnhh\.w r12,r2:t,r11:b
59444 +
59445 +[0-9a-f]* <mulnwh_d>:
59446 + *[0-9a-f]*: fe 0f 02 80 mulnwh\.d r0,pc,pc:b
59447 + *[0-9a-f]*: f8 0c 02 9e mulnwh\.d lr,r12,r12:t
59448 + *[0-9a-f]*: ea 05 02 98 mulnwh\.d r8,r5,r5:t
59449 + *[0-9a-f]*: e8 04 02 86 mulnwh\.d r6,r4,r4:b
59450 + *[0-9a-f]*: fc 0e 02 92 mulnwh\.d r2,lr,lr:t
59451 + *[0-9a-f]*: e6 02 02 9e mulnwh\.d lr,r3,r2:t
59452 + *[0-9a-f]*: ea 09 02 84 mulnwh\.d r4,r5,r9:b
59453 + *[0-9a-f]*: e8 04 02 9c mulnwh\.d r12,r4,r4:t
59454 +
59455 +[0-9a-f]* <machh_w>:
59456 + *[0-9a-f]*: fe 0f 04 8f machh\.w pc,pc:b,pc:b
59457 + *[0-9a-f]*: f8 0c 04 bc machh\.w r12,r12:t,r12:t
59458 + *[0-9a-f]*: ea 05 04 b5 machh\.w r5,r5:t,r5:t
59459 + *[0-9a-f]*: e8 04 04 84 machh\.w r4,r4:b,r4:b
59460 + *[0-9a-f]*: fc 0e 04 be machh\.w lr,lr:t,lr:t
59461 + *[0-9a-f]*: ea 01 04 9e machh\.w lr,r5:b,r1:t
59462 + *[0-9a-f]*: ec 07 04 89 machh\.w r9,r6:b,r7:b
59463 + *[0-9a-f]*: fc 0c 04 a5 machh\.w r5,lr:t,r12:b
59464 +
59465 +[0-9a-f]* <machh_d>:
59466 + *[0-9a-f]*: fe 0f 05 80 machh\.d r0,pc:b,pc:b
59467 + *[0-9a-f]*: f8 0c 05 be machh\.d lr,r12:t,r12:t
59468 + *[0-9a-f]*: ea 05 05 b8 machh\.d r8,r5:t,r5:t
59469 + *[0-9a-f]*: e8 04 05 86 machh\.d r6,r4:b,r4:b
59470 + *[0-9a-f]*: fc 0e 05 b2 machh\.d r2,lr:t,lr:t
59471 + *[0-9a-f]*: e0 08 05 8a machh\.d r10,r0:b,r8:b
59472 + *[0-9a-f]*: e8 05 05 9e machh\.d lr,r4:b,r5:t
59473 + *[0-9a-f]*: e0 04 05 98 machh\.d r8,r0:b,r4:t
59474 +
59475 +[0-9a-f]* <macsathh_w>:
59476 + *[0-9a-f]*: fe 0f 06 8f macsathh\.w pc,pc:b,pc:b
59477 + *[0-9a-f]*: f8 0c 06 bc macsathh\.w r12,r12:t,r12:t
59478 + *[0-9a-f]*: ea 05 06 b5 macsathh\.w r5,r5:t,r5:t
59479 + *[0-9a-f]*: e8 04 06 84 macsathh\.w r4,r4:b,r4:b
59480 + *[0-9a-f]*: fc 0e 06 be macsathh\.w lr,lr:t,lr:t
59481 + *[0-9a-f]*: ee 0f 06 b7 macsathh\.w r7,r7:t,pc:t
59482 + *[0-9a-f]*: e4 04 06 a4 macsathh\.w r4,r2:t,r4:b
59483 + *[0-9a-f]*: f0 03 06 b4 macsathh\.w r4,r8:t,r3:t
59484 +
59485 +[0-9a-f]* <mulhh_w>:
59486 + *[0-9a-f]*: fe 0f 07 8f mulhh\.w pc,pc:b,pc:b
59487 + *[0-9a-f]*: f8 0c 07 bc mulhh\.w r12,r12:t,r12:t
59488 + *[0-9a-f]*: ea 05 07 b5 mulhh\.w r5,r5:t,r5:t
59489 + *[0-9a-f]*: e8 04 07 84 mulhh\.w r4,r4:b,r4:b
59490 + *[0-9a-f]*: fc 0e 07 be mulhh\.w lr,lr:t,lr:t
59491 + *[0-9a-f]*: e8 09 07 a7 mulhh\.w r7,r4:t,r9:b
59492 + *[0-9a-f]*: e6 07 07 bf mulhh\.w pc,r3:t,r7:t
59493 + *[0-9a-f]*: e8 09 07 9f mulhh\.w pc,r4:b,r9:t
59494 +
59495 +[0-9a-f]* <mulsathh_h>:
59496 + *[0-9a-f]*: fe 0f 08 8f mulsathh\.h pc,pc:b,pc:b
59497 + *[0-9a-f]*: f8 0c 08 bc mulsathh\.h r12,r12:t,r12:t
59498 + *[0-9a-f]*: ea 05 08 b5 mulsathh\.h r5,r5:t,r5:t
59499 + *[0-9a-f]*: e8 04 08 84 mulsathh\.h r4,r4:b,r4:b
59500 + *[0-9a-f]*: fc 0e 08 be mulsathh\.h lr,lr:t,lr:t
59501 + *[0-9a-f]*: e2 0d 08 83 mulsathh\.h r3,r1:b,sp:b
59502 + *[0-9a-f]*: fc 0b 08 ab mulsathh\.h r11,lr:t,r11:b
59503 + *[0-9a-f]*: f0 0b 08 98 mulsathh\.h r8,r8:b,r11:t
59504 +
59505 +[0-9a-f]* <mulsathh_w>:
59506 + *[0-9a-f]*: fe 0f 09 8f mulsathh\.w pc,pc:b,pc:b
59507 + *[0-9a-f]*: f8 0c 09 bc mulsathh\.w r12,r12:t,r12:t
59508 + *[0-9a-f]*: ea 05 09 b5 mulsathh\.w r5,r5:t,r5:t
59509 + *[0-9a-f]*: e8 04 09 84 mulsathh\.w r4,r4:b,r4:b
59510 + *[0-9a-f]*: fc 0e 09 be mulsathh\.w lr,lr:t,lr:t
59511 + *[0-9a-f]*: f6 06 09 ae mulsathh\.w lr,r11:t,r6:b
59512 + *[0-9a-f]*: ec 07 09 96 mulsathh\.w r6,r6:b,r7:t
59513 + *[0-9a-f]*: e4 03 09 8a mulsathh\.w r10,r2:b,r3:b
59514 +
59515 +[0-9a-f]* <mulsatrndhh_h>:
59516 + *[0-9a-f]*: fe 0f 0a 8f mulsatrndhh\.h pc,pc:b,pc:b
59517 + *[0-9a-f]*: f8 0c 0a bc mulsatrndhh\.h r12,r12:t,r12:t
59518 + *[0-9a-f]*: ea 05 0a b5 mulsatrndhh\.h r5,r5:t,r5:t
59519 + *[0-9a-f]*: e8 04 0a 84 mulsatrndhh\.h r4,r4:b,r4:b
59520 + *[0-9a-f]*: fc 0e 0a be mulsatrndhh\.h lr,lr:t,lr:t
59521 + *[0-9a-f]*: ec 09 0a 8b mulsatrndhh\.h r11,r6:b,r9:b
59522 + *[0-9a-f]*: e6 08 0a 9b mulsatrndhh\.h r11,r3:b,r8:t
59523 + *[0-9a-f]*: fa 07 0a b5 mulsatrndhh\.h r5,sp:t,r7:t
59524 +
59525 +[0-9a-f]* <mulsatrndwh_w>:
59526 + *[0-9a-f]*: fe 0f 0b 8f mulsatrndwh\.w pc,pc,pc:b
59527 + *[0-9a-f]*: f8 0c 0b 9c mulsatrndwh\.w r12,r12,r12:t
59528 + *[0-9a-f]*: ea 05 0b 95 mulsatrndwh\.w r5,r5,r5:t
59529 + *[0-9a-f]*: e8 04 0b 84 mulsatrndwh\.w r4,r4,r4:b
59530 + *[0-9a-f]*: fc 0e 0b 9e mulsatrndwh\.w lr,lr,lr:t
59531 + *[0-9a-f]*: f8 00 0b 85 mulsatrndwh\.w r5,r12,r0:b
59532 + *[0-9a-f]*: f4 0f 0b 87 mulsatrndwh\.w r7,r10,pc:b
59533 + *[0-9a-f]*: f0 05 0b 9a mulsatrndwh\.w r10,r8,r5:t
59534 +
59535 +[0-9a-f]* <macwh_d>:
59536 + *[0-9a-f]*: fe 0f 0c 80 macwh\.d r0,pc,pc:b
59537 + *[0-9a-f]*: f8 0c 0c 9e macwh\.d lr,r12,r12:t
59538 + *[0-9a-f]*: ea 05 0c 98 macwh\.d r8,r5,r5:t
59539 + *[0-9a-f]*: e8 04 0c 86 macwh\.d r6,r4,r4:b
59540 + *[0-9a-f]*: fc 0e 0c 92 macwh\.d r2,lr,lr:t
59541 + *[0-9a-f]*: f4 0c 0c 94 macwh\.d r4,r10,r12:t
59542 + *[0-9a-f]*: ee 0d 0c 84 macwh\.d r4,r7,sp:b
59543 + *[0-9a-f]*: f2 0b 0c 8e macwh\.d lr,r9,r11:b
59544 +
59545 +[0-9a-f]* <mulwh_d>:
59546 + *[0-9a-f]*: fe 0f 0d 80 mulwh\.d r0,pc,pc:b
59547 + *[0-9a-f]*: f8 0c 0d 9e mulwh\.d lr,r12,r12:t
59548 + *[0-9a-f]*: ea 05 0d 98 mulwh\.d r8,r5,r5:t
59549 + *[0-9a-f]*: e8 04 0d 86 mulwh\.d r6,r4,r4:b
59550 + *[0-9a-f]*: fc 0e 0d 92 mulwh\.d r2,lr,lr:t
59551 + *[0-9a-f]*: ea 01 0d 8c mulwh\.d r12,r5,r1:b
59552 + *[0-9a-f]*: e2 03 0d 90 mulwh\.d r0,r1,r3:t
59553 + *[0-9a-f]*: f2 02 0d 80 mulwh\.d r0,r9,r2:b
59554 +
59555 +[0-9a-f]* <mulsatwh_w>:
59556 + *[0-9a-f]*: fe 0f 0e 8f mulsatwh\.w pc,pc,pc:b
59557 + *[0-9a-f]*: f8 0c 0e 9c mulsatwh\.w r12,r12,r12:t
59558 + *[0-9a-f]*: ea 05 0e 95 mulsatwh\.w r5,r5,r5:t
59559 + *[0-9a-f]*: e8 04 0e 84 mulsatwh\.w r4,r4,r4:b
59560 + *[0-9a-f]*: fc 0e 0e 9e mulsatwh\.w lr,lr,lr:t
59561 + *[0-9a-f]*: fe 0a 0e 9b mulsatwh\.w r11,pc,r10:t
59562 + *[0-9a-f]*: f8 09 0e 9d mulsatwh\.w sp,r12,r9:t
59563 + *[0-9a-f]*: e6 02 0e 90 mulsatwh\.w r0,r3,r2:t
59564 +
59565 +[0-9a-f]* <ldw7>:
59566 + *[0-9a-f]*: fe 0f 0f 8f ld\.w pc,pc\[pc:b<<2\]
59567 + *[0-9a-f]*: f8 0c 0f bc ld\.w r12,r12\[r12:t<<2\]
59568 + *[0-9a-f]*: ea 05 0f a5 ld\.w r5,r5\[r5:u<<2\]
59569 + *[0-9a-f]*: e8 04 0f 94 ld\.w r4,r4\[r4:l<<2\]
59570 + *[0-9a-f]*: fc 0e 0f 9e ld\.w lr,lr\[lr:l<<2\]
59571 + *[0-9a-f]*: f4 06 0f 99 ld\.w r9,r10\[r6:l<<2\]
59572 + *[0-9a-f]*: f4 0a 0f 82 ld\.w r2,r10\[r10:b<<2\]
59573 + *[0-9a-f]*: ea 0f 0f 8b ld\.w r11,r5\[pc:b<<2\]
59574 +
59575 +[0-9a-f]* <satadd_w>:
59576 + *[0-9a-f]*: fe 0f 00 cf satadd\.w pc,pc,pc
59577 + *[0-9a-f]*: f8 0c 00 cc satadd\.w r12,r12,r12
59578 + *[0-9a-f]*: ea 05 00 c5 satadd\.w r5,r5,r5
59579 + *[0-9a-f]*: e8 04 00 c4 satadd\.w r4,r4,r4
59580 + *[0-9a-f]*: fc 0e 00 ce satadd\.w lr,lr,lr
59581 + *[0-9a-f]*: f0 0b 00 c4 satadd\.w r4,r8,r11
59582 + *[0-9a-f]*: f8 06 00 c3 satadd\.w r3,r12,r6
59583 + *[0-9a-f]*: fc 09 00 c3 satadd\.w r3,lr,r9
59584 +
59585 +[0-9a-f]* <satsub_w1>:
59586 + *[0-9a-f]*: fe 0f 01 cf satsub\.w pc,pc,pc
59587 + *[0-9a-f]*: f8 0c 01 cc satsub\.w r12,r12,r12
59588 + *[0-9a-f]*: ea 05 01 c5 satsub\.w r5,r5,r5
59589 + *[0-9a-f]*: e8 04 01 c4 satsub\.w r4,r4,r4
59590 + *[0-9a-f]*: fc 0e 01 ce satsub\.w lr,lr,lr
59591 + *[0-9a-f]*: fa 00 01 c8 satsub\.w r8,sp,r0
59592 + *[0-9a-f]*: f0 04 01 c9 satsub\.w r9,r8,r4
59593 + *[0-9a-f]*: fc 02 01 cf satsub\.w pc,lr,r2
59594 +
59595 +[0-9a-f]* <satadd_h>:
59596 + *[0-9a-f]*: fe 0f 02 cf satadd\.h pc,pc,pc
59597 + *[0-9a-f]*: f8 0c 02 cc satadd\.h r12,r12,r12
59598 + *[0-9a-f]*: ea 05 02 c5 satadd\.h r5,r5,r5
59599 + *[0-9a-f]*: e8 04 02 c4 satadd\.h r4,r4,r4
59600 + *[0-9a-f]*: fc 0e 02 ce satadd\.h lr,lr,lr
59601 + *[0-9a-f]*: e6 09 02 c7 satadd\.h r7,r3,r9
59602 + *[0-9a-f]*: e0 02 02 c1 satadd\.h r1,r0,r2
59603 + *[0-9a-f]*: e8 0e 02 c1 satadd\.h r1,r4,lr
59604 +
59605 +[0-9a-f]* <satsub_h>:
59606 + *[0-9a-f]*: fe 0f 03 cf satsub\.h pc,pc,pc
59607 + *[0-9a-f]*: f8 0c 03 cc satsub\.h r12,r12,r12
59608 + *[0-9a-f]*: ea 05 03 c5 satsub\.h r5,r5,r5
59609 + *[0-9a-f]*: e8 04 03 c4 satsub\.h r4,r4,r4
59610 + *[0-9a-f]*: fc 0e 03 ce satsub\.h lr,lr,lr
59611 + *[0-9a-f]*: fc 03 03 ce satsub\.h lr,lr,r3
59612 + *[0-9a-f]*: ec 05 03 cb satsub\.h r11,r6,r5
59613 + *[0-9a-f]*: fa 00 03 c3 satsub\.h r3,sp,r0
59614 +
59615 +[0-9a-f]* <mul3>:
59616 + *[0-9a-f]*: fe 0f 10 00 mul pc,pc,0
59617 + *[0-9a-f]*: f8 0c 10 ff mul r12,r12,-1
59618 + *[0-9a-f]*: ea 05 10 80 mul r5,r5,-128
59619 + *[0-9a-f]*: e8 04 10 7f mul r4,r4,127
59620 + *[0-9a-f]*: fc 0e 10 01 mul lr,lr,1
59621 + *[0-9a-f]*: e4 0c 10 f9 mul r12,r2,-7
59622 + *[0-9a-f]*: fe 01 10 5f mul r1,pc,95
59623 + *[0-9a-f]*: ec 04 10 13 mul r4,r6,19
59624 +
59625 +[0-9a-f]* <rsub2>:
59626 + *[0-9a-f]*: fe 0f 11 00 rsub pc,pc,0
59627 + *[0-9a-f]*: f8 0c 11 ff rsub r12,r12,-1
59628 + *[0-9a-f]*: ea 05 11 80 rsub r5,r5,-128
59629 + *[0-9a-f]*: e8 04 11 7f rsub r4,r4,127
59630 + *[0-9a-f]*: fc 0e 11 01 rsub lr,lr,1
59631 + *[0-9a-f]*: fc 09 11 60 rsub r9,lr,96
59632 + *[0-9a-f]*: e2 0b 11 38 rsub r11,r1,56
59633 + *[0-9a-f]*: ee 00 11 a9 rsub r0,r7,-87
59634 +
59635 +[0-9a-f]* <clz>:
59636 + *[0-9a-f]*: fe 0f 12 00 clz pc,pc
59637 + *[0-9a-f]*: f8 0c 12 00 clz r12,r12
59638 + *[0-9a-f]*: ea 05 12 00 clz r5,r5
59639 + *[0-9a-f]*: e8 04 12 00 clz r4,r4
59640 + *[0-9a-f]*: fc 0e 12 00 clz lr,lr
59641 + *[0-9a-f]*: e6 02 12 00 clz r2,r3
59642 + *[0-9a-f]*: f6 05 12 00 clz r5,r11
59643 + *[0-9a-f]*: e6 0f 12 00 clz pc,r3
59644 +
59645 +[0-9a-f]* <cpc1>:
59646 + *[0-9a-f]*: fe 0f 13 00 cpc pc,pc
59647 + *[0-9a-f]*: f8 0c 13 00 cpc r12,r12
59648 + *[0-9a-f]*: ea 05 13 00 cpc r5,r5
59649 + *[0-9a-f]*: e8 04 13 00 cpc r4,r4
59650 + *[0-9a-f]*: fc 0e 13 00 cpc lr,lr
59651 + *[0-9a-f]*: e8 0f 13 00 cpc pc,r4
59652 + *[0-9a-f]*: f2 05 13 00 cpc r5,r9
59653 + *[0-9a-f]*: ee 06 13 00 cpc r6,r7
59654 +
59655 +[0-9a-f]* <asr3>:
59656 + *[0-9a-f]*: fe 0f 14 00 asr pc,pc,0x0
59657 + *[0-9a-f]*: f8 0c 14 1f asr r12,r12,0x1f
59658 + *[0-9a-f]*: ea 05 14 10 asr r5,r5,0x10
59659 + *[0-9a-f]*: e8 04 14 0f asr r4,r4,0xf
59660 + *[0-9a-f]*: fc 0e 14 01 asr lr,lr,0x1
59661 + *[0-9a-f]*: f6 04 14 13 asr r4,r11,0x13
59662 + *[0-9a-f]*: fe 0d 14 1a asr sp,pc,0x1a
59663 + *[0-9a-f]*: fa 0b 14 08 asr r11,sp,0x8
59664 +
59665 +[0-9a-f]* <lsl3>:
59666 + *[0-9a-f]*: fe 0f 15 00 lsl pc,pc,0x0
59667 + *[0-9a-f]*: f8 0c 15 1f lsl r12,r12,0x1f
59668 + *[0-9a-f]*: ea 05 15 10 lsl r5,r5,0x10
59669 + *[0-9a-f]*: e8 04 15 0f lsl r4,r4,0xf
59670 + *[0-9a-f]*: fc 0e 15 01 lsl lr,lr,0x1
59671 + *[0-9a-f]*: f4 08 15 11 lsl r8,r10,0x11
59672 + *[0-9a-f]*: fc 02 15 03 lsl r2,lr,0x3
59673 + *[0-9a-f]*: f6 0e 15 0e lsl lr,r11,0xe
59674 +
59675 +[0-9a-f]* <lsr3>:
59676 + *[0-9a-f]*: fe 0f 16 00 lsr pc,pc,0x0
59677 + *[0-9a-f]*: f8 0c 16 1f lsr r12,r12,0x1f
59678 + *[0-9a-f]*: ea 05 16 10 lsr r5,r5,0x10
59679 + *[0-9a-f]*: e8 04 16 0f lsr r4,r4,0xf
59680 + *[0-9a-f]*: fc 0e 16 01 lsr lr,lr,0x1
59681 + *[0-9a-f]*: e6 04 16 1f lsr r4,r3,0x1f
59682 + *[0-9a-f]*: f2 0f 16 0e lsr pc,r9,0xe
59683 + *[0-9a-f]*: e0 03 16 06 lsr r3,r0,0x6
59684 +
59685 +[0-9a-f]* <movc1>:
59686 + *[0-9a-f]*: fe 0f 17 00 moveq pc,pc
59687 + *[0-9a-f]*: f8 0c 17 f0 moval r12,r12
59688 + *[0-9a-f]*: ea 05 17 80 movls r5,r5
59689 + *[0-9a-f]*: e8 04 17 70 movpl r4,r4
59690 + *[0-9a-f]*: fc 0e 17 10 movne lr,lr
59691 + *[0-9a-f]*: f6 0f 17 10 movne pc,r11
59692 + *[0-9a-f]*: e4 0a 17 60 movmi r10,r2
59693 + *[0-9a-f]*: f8 08 17 80 movls r8,r12
59694 +
59695 +[0-9a-f]* <padd_h>:
59696 + *[0-9a-f]*: fe 0f 20 0f padd\.h pc,pc,pc
59697 + *[0-9a-f]*: f8 0c 20 0c padd\.h r12,r12,r12
59698 + *[0-9a-f]*: ea 05 20 05 padd\.h r5,r5,r5
59699 + *[0-9a-f]*: e8 04 20 04 padd\.h r4,r4,r4
59700 + *[0-9a-f]*: fc 0e 20 0e padd\.h lr,lr,lr
59701 + *[0-9a-f]*: e4 07 20 08 padd\.h r8,r2,r7
59702 + *[0-9a-f]*: e0 03 20 00 padd\.h r0,r0,r3
59703 + *[0-9a-f]*: f6 06 20 0d padd\.h sp,r11,r6
59704 +
59705 +[0-9a-f]* <psub_h>:
59706 + *[0-9a-f]*: fe 0f 20 1f psub\.h pc,pc,pc
59707 + *[0-9a-f]*: f8 0c 20 1c psub\.h r12,r12,r12
59708 + *[0-9a-f]*: ea 05 20 15 psub\.h r5,r5,r5
59709 + *[0-9a-f]*: e8 04 20 14 psub\.h r4,r4,r4
59710 + *[0-9a-f]*: fc 0e 20 1e psub\.h lr,lr,lr
59711 + *[0-9a-f]*: ec 08 20 1e psub\.h lr,r6,r8
59712 + *[0-9a-f]*: e2 0d 20 10 psub\.h r0,r1,sp
59713 + *[0-9a-f]*: fe 0d 20 1f psub\.h pc,pc,sp
59714 +
59715 +[0-9a-f]* <paddx_h>:
59716 + *[0-9a-f]*: fe 0f 20 2f paddx\.h pc,pc,pc
59717 + *[0-9a-f]*: f8 0c 20 2c paddx\.h r12,r12,r12
59718 + *[0-9a-f]*: ea 05 20 25 paddx\.h r5,r5,r5
59719 + *[0-9a-f]*: e8 04 20 24 paddx\.h r4,r4,r4
59720 + *[0-9a-f]*: fc 0e 20 2e paddx\.h lr,lr,lr
59721 + *[0-9a-f]*: fe 01 20 2f paddx\.h pc,pc,r1
59722 + *[0-9a-f]*: e8 05 20 2a paddx\.h r10,r4,r5
59723 + *[0-9a-f]*: fe 02 20 25 paddx\.h r5,pc,r2
59724 +
59725 +[0-9a-f]* <psubx_h>:
59726 + *[0-9a-f]*: fe 0f 20 3f psubx\.h pc,pc,pc
59727 + *[0-9a-f]*: f8 0c 20 3c psubx\.h r12,r12,r12
59728 + *[0-9a-f]*: ea 05 20 35 psubx\.h r5,r5,r5
59729 + *[0-9a-f]*: e8 04 20 34 psubx\.h r4,r4,r4
59730 + *[0-9a-f]*: fc 0e 20 3e psubx\.h lr,lr,lr
59731 + *[0-9a-f]*: f8 05 20 35 psubx\.h r5,r12,r5
59732 + *[0-9a-f]*: f0 03 20 33 psubx\.h r3,r8,r3
59733 + *[0-9a-f]*: e4 03 20 35 psubx\.h r5,r2,r3
59734 +
59735 +[0-9a-f]* <padds_sh>:
59736 + *[0-9a-f]*: fe 0f 20 4f padds\.sh pc,pc,pc
59737 + *[0-9a-f]*: f8 0c 20 4c padds\.sh r12,r12,r12
59738 + *[0-9a-f]*: ea 05 20 45 padds\.sh r5,r5,r5
59739 + *[0-9a-f]*: e8 04 20 44 padds\.sh r4,r4,r4
59740 + *[0-9a-f]*: fc 0e 20 4e padds\.sh lr,lr,lr
59741 + *[0-9a-f]*: fc 02 20 49 padds\.sh r9,lr,r2
59742 + *[0-9a-f]*: f0 01 20 46 padds\.sh r6,r8,r1
59743 + *[0-9a-f]*: e8 0a 20 46 padds\.sh r6,r4,r10
59744 +
59745 +[0-9a-f]* <psubs_sh>:
59746 + *[0-9a-f]*: fe 0f 20 5f psubs\.sh pc,pc,pc
59747 + *[0-9a-f]*: f8 0c 20 5c psubs\.sh r12,r12,r12
59748 + *[0-9a-f]*: ea 05 20 55 psubs\.sh r5,r5,r5
59749 + *[0-9a-f]*: e8 04 20 54 psubs\.sh r4,r4,r4
59750 + *[0-9a-f]*: fc 0e 20 5e psubs\.sh lr,lr,lr
59751 + *[0-9a-f]*: fc 0b 20 56 psubs\.sh r6,lr,r11
59752 + *[0-9a-f]*: f8 04 20 52 psubs\.sh r2,r12,r4
59753 + *[0-9a-f]*: f2 00 20 50 psubs\.sh r0,r9,r0
59754 +
59755 +[0-9a-f]* <paddxs_sh>:
59756 + *[0-9a-f]*: fe 0f 20 6f paddxs\.sh pc,pc,pc
59757 + *[0-9a-f]*: f8 0c 20 6c paddxs\.sh r12,r12,r12
59758 + *[0-9a-f]*: ea 05 20 65 paddxs\.sh r5,r5,r5
59759 + *[0-9a-f]*: e8 04 20 64 paddxs\.sh r4,r4,r4
59760 + *[0-9a-f]*: fc 0e 20 6e paddxs\.sh lr,lr,lr
59761 + *[0-9a-f]*: e6 09 20 60 paddxs\.sh r0,r3,r9
59762 + *[0-9a-f]*: f4 0b 20 6f paddxs\.sh pc,r10,r11
59763 + *[0-9a-f]*: f4 0f 20 6f paddxs\.sh pc,r10,pc
59764 +
59765 +[0-9a-f]* <psubxs_sh>:
59766 + *[0-9a-f]*: fe 0f 20 7f psubxs\.sh pc,pc,pc
59767 + *[0-9a-f]*: f8 0c 20 7c psubxs\.sh r12,r12,r12
59768 + *[0-9a-f]*: ea 05 20 75 psubxs\.sh r5,r5,r5
59769 + *[0-9a-f]*: e8 04 20 74 psubxs\.sh r4,r4,r4
59770 + *[0-9a-f]*: fc 0e 20 7e psubxs\.sh lr,lr,lr
59771 + *[0-9a-f]*: e8 04 20 77 psubxs\.sh r7,r4,r4
59772 + *[0-9a-f]*: f0 03 20 77 psubxs\.sh r7,r8,r3
59773 + *[0-9a-f]*: ec 05 20 7f psubxs\.sh pc,r6,r5
59774 +
59775 +[0-9a-f]* <padds_uh>:
59776 + *[0-9a-f]*: fe 0f 20 8f padds\.uh pc,pc,pc
59777 + *[0-9a-f]*: f8 0c 20 8c padds\.uh r12,r12,r12
59778 + *[0-9a-f]*: ea 05 20 85 padds\.uh r5,r5,r5
59779 + *[0-9a-f]*: e8 04 20 84 padds\.uh r4,r4,r4
59780 + *[0-9a-f]*: fc 0e 20 8e padds\.uh lr,lr,lr
59781 + *[0-9a-f]*: f6 07 20 8c padds\.uh r12,r11,r7
59782 + *[0-9a-f]*: f0 0e 20 87 padds\.uh r7,r8,lr
59783 + *[0-9a-f]*: f2 07 20 86 padds\.uh r6,r9,r7
59784 +
59785 +[0-9a-f]* <psubs_uh>:
59786 + *[0-9a-f]*: fe 0f 20 9f psubs\.uh pc,pc,pc
59787 + *[0-9a-f]*: f8 0c 20 9c psubs\.uh r12,r12,r12
59788 + *[0-9a-f]*: ea 05 20 95 psubs\.uh r5,r5,r5
59789 + *[0-9a-f]*: e8 04 20 94 psubs\.uh r4,r4,r4
59790 + *[0-9a-f]*: fc 0e 20 9e psubs\.uh lr,lr,lr
59791 + *[0-9a-f]*: f4 06 20 9e psubs\.uh lr,r10,r6
59792 + *[0-9a-f]*: e4 0f 20 9d psubs\.uh sp,r2,pc
59793 + *[0-9a-f]*: f2 02 20 92 psubs\.uh r2,r9,r2
59794 +
59795 +[0-9a-f]* <paddxs_uh>:
59796 + *[0-9a-f]*: fe 0f 20 af paddxs\.uh pc,pc,pc
59797 + *[0-9a-f]*: f8 0c 20 ac paddxs\.uh r12,r12,r12
59798 + *[0-9a-f]*: ea 05 20 a5 paddxs\.uh r5,r5,r5
59799 + *[0-9a-f]*: e8 04 20 a4 paddxs\.uh r4,r4,r4
59800 + *[0-9a-f]*: fc 0e 20 ae paddxs\.uh lr,lr,lr
59801 + *[0-9a-f]*: f2 05 20 a7 paddxs\.uh r7,r9,r5
59802 + *[0-9a-f]*: e2 04 20 a9 paddxs\.uh r9,r1,r4
59803 + *[0-9a-f]*: e4 03 20 a5 paddxs\.uh r5,r2,r3
59804 +
59805 +[0-9a-f]* <psubxs_uh>:
59806 + *[0-9a-f]*: fe 0f 20 bf psubxs\.uh pc,pc,pc
59807 + *[0-9a-f]*: f8 0c 20 bc psubxs\.uh r12,r12,r12
59808 + *[0-9a-f]*: ea 05 20 b5 psubxs\.uh r5,r5,r5
59809 + *[0-9a-f]*: e8 04 20 b4 psubxs\.uh r4,r4,r4
59810 + *[0-9a-f]*: fc 0e 20 be psubxs\.uh lr,lr,lr
59811 + *[0-9a-f]*: ea 0d 20 bd psubxs\.uh sp,r5,sp
59812 + *[0-9a-f]*: ec 06 20 bd psubxs\.uh sp,r6,r6
59813 + *[0-9a-f]*: f6 08 20 b3 psubxs\.uh r3,r11,r8
59814 +
59815 +[0-9a-f]* <paddh_sh>:
59816 + *[0-9a-f]*: fe 0f 20 cf paddh\.sh pc,pc,pc
59817 + *[0-9a-f]*: f8 0c 20 cc paddh\.sh r12,r12,r12
59818 + *[0-9a-f]*: ea 05 20 c5 paddh\.sh r5,r5,r5
59819 + *[0-9a-f]*: e8 04 20 c4 paddh\.sh r4,r4,r4
59820 + *[0-9a-f]*: fc 0e 20 ce paddh\.sh lr,lr,lr
59821 + *[0-9a-f]*: fa 03 20 cc paddh\.sh r12,sp,r3
59822 + *[0-9a-f]*: ea 03 20 cf paddh\.sh pc,r5,r3
59823 + *[0-9a-f]*: f0 0d 20 c8 paddh\.sh r8,r8,sp
59824 +
59825 +[0-9a-f]* <psubh_sh>:
59826 + *[0-9a-f]*: fe 0f 20 df psubh\.sh pc,pc,pc
59827 + *[0-9a-f]*: f8 0c 20 dc psubh\.sh r12,r12,r12
59828 + *[0-9a-f]*: ea 05 20 d5 psubh\.sh r5,r5,r5
59829 + *[0-9a-f]*: e8 04 20 d4 psubh\.sh r4,r4,r4
59830 + *[0-9a-f]*: fc 0e 20 de psubh\.sh lr,lr,lr
59831 + *[0-9a-f]*: ea 08 20 d1 psubh\.sh r1,r5,r8
59832 + *[0-9a-f]*: e6 06 20 d7 psubh\.sh r7,r3,r6
59833 + *[0-9a-f]*: e6 03 20 d4 psubh\.sh r4,r3,r3
59834 +
59835 +[0-9a-f]* <paddxh_sh>:
59836 + *[0-9a-f]*: fe 0f 20 ef paddxh\.sh pc,pc,pc
59837 + *[0-9a-f]*: f8 0c 20 ec paddxh\.sh r12,r12,r12
59838 + *[0-9a-f]*: ea 05 20 e5 paddxh\.sh r5,r5,r5
59839 + *[0-9a-f]*: e8 04 20 e4 paddxh\.sh r4,r4,r4
59840 + *[0-9a-f]*: fc 0e 20 ee paddxh\.sh lr,lr,lr
59841 + *[0-9a-f]*: e0 04 20 e6 paddxh\.sh r6,r0,r4
59842 + *[0-9a-f]*: f0 09 20 e9 paddxh\.sh r9,r8,r9
59843 + *[0-9a-f]*: e0 0d 20 e3 paddxh\.sh r3,r0,sp
59844 +
59845 +[0-9a-f]* <psubxh_sh>:
59846 + *[0-9a-f]*: fe 0f 20 ff psubxh\.sh pc,pc,pc
59847 + *[0-9a-f]*: f8 0c 20 fc psubxh\.sh r12,r12,r12
59848 + *[0-9a-f]*: ea 05 20 f5 psubxh\.sh r5,r5,r5
59849 + *[0-9a-f]*: e8 04 20 f4 psubxh\.sh r4,r4,r4
59850 + *[0-9a-f]*: fc 0e 20 fe psubxh\.sh lr,lr,lr
59851 + *[0-9a-f]*: fe 0c 20 f4 psubxh\.sh r4,pc,r12
59852 + *[0-9a-f]*: e8 06 20 f8 psubxh\.sh r8,r4,r6
59853 + *[0-9a-f]*: f2 04 20 fc psubxh\.sh r12,r9,r4
59854 +
59855 +[0-9a-f]* <paddsub_h>:
59856 + *[0-9a-f]*: fe 0f 21 0f paddsub\.h pc,pc:b,pc:b
59857 + *[0-9a-f]*: f8 0c 21 3c paddsub\.h r12,r12:t,r12:t
59858 + *[0-9a-f]*: ea 05 21 35 paddsub\.h r5,r5:t,r5:t
59859 + *[0-9a-f]*: e8 04 21 04 paddsub\.h r4,r4:b,r4:b
59860 + *[0-9a-f]*: fc 0e 21 3e paddsub\.h lr,lr:t,lr:t
59861 + *[0-9a-f]*: e4 0e 21 25 paddsub\.h r5,r2:t,lr:b
59862 + *[0-9a-f]*: e2 08 21 07 paddsub\.h r7,r1:b,r8:b
59863 + *[0-9a-f]*: f4 05 21 36 paddsub\.h r6,r10:t,r5:t
59864 +
59865 +[0-9a-f]* <psubadd_h>:
59866 + *[0-9a-f]*: fe 0f 21 4f psubadd\.h pc,pc:b,pc:b
59867 + *[0-9a-f]*: f8 0c 21 7c psubadd\.h r12,r12:t,r12:t
59868 + *[0-9a-f]*: ea 05 21 75 psubadd\.h r5,r5:t,r5:t
59869 + *[0-9a-f]*: e8 04 21 44 psubadd\.h r4,r4:b,r4:b
59870 + *[0-9a-f]*: fc 0e 21 7e psubadd\.h lr,lr:t,lr:t
59871 + *[0-9a-f]*: f6 08 21 79 psubadd\.h r9,r11:t,r8:t
59872 + *[0-9a-f]*: ee 0e 21 7a psubadd\.h r10,r7:t,lr:t
59873 + *[0-9a-f]*: fe 0f 21 66 psubadd\.h r6,pc:t,pc:b
59874 +
59875 +[0-9a-f]* <paddsubs_sh>:
59876 + *[0-9a-f]*: fe 0f 21 8f paddsubs\.sh pc,pc:b,pc:b
59877 + *[0-9a-f]*: f8 0c 21 bc paddsubs\.sh r12,r12:t,r12:t
59878 + *[0-9a-f]*: ea 05 21 b5 paddsubs\.sh r5,r5:t,r5:t
59879 + *[0-9a-f]*: e8 04 21 84 paddsubs\.sh r4,r4:b,r4:b
59880 + *[0-9a-f]*: fc 0e 21 be paddsubs\.sh lr,lr:t,lr:t
59881 + *[0-9a-f]*: fc 00 21 a0 paddsubs\.sh r0,lr:t,r0:b
59882 + *[0-9a-f]*: e4 04 21 b9 paddsubs\.sh r9,r2:t,r4:t
59883 + *[0-9a-f]*: f2 0d 21 bc paddsubs\.sh r12,r9:t,sp:t
59884 +
59885 +[0-9a-f]* <psubadds_sh>:
59886 + *[0-9a-f]*: fe 0f 21 cf psubadds\.sh pc,pc:b,pc:b
59887 + *[0-9a-f]*: f8 0c 21 fc psubadds\.sh r12,r12:t,r12:t
59888 + *[0-9a-f]*: ea 05 21 f5 psubadds\.sh r5,r5:t,r5:t
59889 + *[0-9a-f]*: e8 04 21 c4 psubadds\.sh r4,r4:b,r4:b
59890 + *[0-9a-f]*: fc 0e 21 fe psubadds\.sh lr,lr:t,lr:t
59891 + *[0-9a-f]*: fc 01 21 df psubadds\.sh pc,lr:b,r1:t
59892 + *[0-9a-f]*: e6 0c 21 cb psubadds\.sh r11,r3:b,r12:b
59893 + *[0-9a-f]*: e4 08 21 fa psubadds\.sh r10,r2:t,r8:t
59894 +
59895 +[0-9a-f]* <paddsubs_uh>:
59896 + *[0-9a-f]*: fe 0f 22 0f paddsubs\.uh pc,pc:b,pc:b
59897 + *[0-9a-f]*: f8 0c 22 3c paddsubs\.uh r12,r12:t,r12:t
59898 + *[0-9a-f]*: ea 05 22 35 paddsubs\.uh r5,r5:t,r5:t
59899 + *[0-9a-f]*: e8 04 22 04 paddsubs\.uh r4,r4:b,r4:b
59900 + *[0-9a-f]*: fc 0e 22 3e paddsubs\.uh lr,lr:t,lr:t
59901 + *[0-9a-f]*: e4 03 22 09 paddsubs\.uh r9,r2:b,r3:b
59902 + *[0-9a-f]*: fa 07 22 1d paddsubs\.uh sp,sp:b,r7:t
59903 + *[0-9a-f]*: e0 0a 22 1e paddsubs\.uh lr,r0:b,r10:t
59904 +
59905 +[0-9a-f]* <psubadds_uh>:
59906 + *[0-9a-f]*: fe 0f 22 4f psubadds\.uh pc,pc:b,pc:b
59907 + *[0-9a-f]*: f8 0c 22 7c psubadds\.uh r12,r12:t,r12:t
59908 + *[0-9a-f]*: ea 05 22 75 psubadds\.uh r5,r5:t,r5:t
59909 + *[0-9a-f]*: e8 04 22 44 psubadds\.uh r4,r4:b,r4:b
59910 + *[0-9a-f]*: fc 0e 22 7e psubadds\.uh lr,lr:t,lr:t
59911 + *[0-9a-f]*: f2 0f 22 7c psubadds\.uh r12,r9:t,pc:t
59912 + *[0-9a-f]*: ec 08 22 48 psubadds\.uh r8,r6:b,r8:b
59913 + *[0-9a-f]*: f0 04 22 48 psubadds\.uh r8,r8:b,r4:b
59914 +
59915 +[0-9a-f]* <paddsubh_sh>:
59916 + *[0-9a-f]*: fe 0f 22 8f paddsubh\.sh pc,pc:b,pc:b
59917 + *[0-9a-f]*: f8 0c 22 bc paddsubh\.sh r12,r12:t,r12:t
59918 + *[0-9a-f]*: ea 05 22 b5 paddsubh\.sh r5,r5:t,r5:t
59919 + *[0-9a-f]*: e8 04 22 84 paddsubh\.sh r4,r4:b,r4:b
59920 + *[0-9a-f]*: fc 0e 22 be paddsubh\.sh lr,lr:t,lr:t
59921 + *[0-9a-f]*: f2 09 22 a8 paddsubh\.sh r8,r9:t,r9:b
59922 + *[0-9a-f]*: fa 01 22 b0 paddsubh\.sh r0,sp:t,r1:t
59923 + *[0-9a-f]*: e2 00 22 93 paddsubh\.sh r3,r1:b,r0:t
59924 +
59925 +[0-9a-f]* <psubaddh_sh>:
59926 + *[0-9a-f]*: fe 0f 22 cf psubaddh\.sh pc,pc:b,pc:b
59927 + *[0-9a-f]*: f8 0c 22 fc psubaddh\.sh r12,r12:t,r12:t
59928 + *[0-9a-f]*: ea 05 22 f5 psubaddh\.sh r5,r5:t,r5:t
59929 + *[0-9a-f]*: e8 04 22 c4 psubaddh\.sh r4,r4:b,r4:b
59930 + *[0-9a-f]*: fc 0e 22 fe psubaddh\.sh lr,lr:t,lr:t
59931 + *[0-9a-f]*: e6 0a 22 e7 psubaddh\.sh r7,r3:t,r10:b
59932 + *[0-9a-f]*: e4 01 22 f7 psubaddh\.sh r7,r2:t,r1:t
59933 + *[0-9a-f]*: e6 06 22 cb psubaddh\.sh r11,r3:b,r6:b
59934 +
59935 +[0-9a-f]* <padd_b>:
59936 + *[0-9a-f]*: fe 0f 23 0f padd\.b pc,pc,pc
59937 + *[0-9a-f]*: f8 0c 23 0c padd\.b r12,r12,r12
59938 + *[0-9a-f]*: ea 05 23 05 padd\.b r5,r5,r5
59939 + *[0-9a-f]*: e8 04 23 04 padd\.b r4,r4,r4
59940 + *[0-9a-f]*: fc 0e 23 0e padd\.b lr,lr,lr
59941 + *[0-9a-f]*: ec 0f 23 02 padd\.b r2,r6,pc
59942 + *[0-9a-f]*: f2 0c 23 08 padd\.b r8,r9,r12
59943 + *[0-9a-f]*: f8 03 23 05 padd\.b r5,r12,r3
59944 +
59945 +[0-9a-f]* <psub_b>:
59946 + *[0-9a-f]*: fe 0f 23 1f psub\.b pc,pc,pc
59947 + *[0-9a-f]*: f8 0c 23 1c psub\.b r12,r12,r12
59948 + *[0-9a-f]*: ea 05 23 15 psub\.b r5,r5,r5
59949 + *[0-9a-f]*: e8 04 23 14 psub\.b r4,r4,r4
59950 + *[0-9a-f]*: fc 0e 23 1e psub\.b lr,lr,lr
59951 + *[0-9a-f]*: f8 0f 23 10 psub\.b r0,r12,pc
59952 + *[0-9a-f]*: fa 0a 23 17 psub\.b r7,sp,r10
59953 + *[0-9a-f]*: fa 0c 23 15 psub\.b r5,sp,r12
59954 +
59955 +[0-9a-f]* <padds_sb>:
59956 + *[0-9a-f]*: fe 0f 23 2f padds\.sb pc,pc,pc
59957 + *[0-9a-f]*: f8 0c 23 2c padds\.sb r12,r12,r12
59958 + *[0-9a-f]*: ea 05 23 25 padds\.sb r5,r5,r5
59959 + *[0-9a-f]*: e8 04 23 24 padds\.sb r4,r4,r4
59960 + *[0-9a-f]*: fc 0e 23 2e padds\.sb lr,lr,lr
59961 + *[0-9a-f]*: f6 04 23 2d padds\.sb sp,r11,r4
59962 + *[0-9a-f]*: f4 0b 23 2b padds\.sb r11,r10,r11
59963 + *[0-9a-f]*: f8 06 23 25 padds\.sb r5,r12,r6
59964 +
59965 +[0-9a-f]* <psubs_sb>:
59966 + *[0-9a-f]*: fe 0f 23 3f psubs\.sb pc,pc,pc
59967 + *[0-9a-f]*: f8 0c 23 3c psubs\.sb r12,r12,r12
59968 + *[0-9a-f]*: ea 05 23 35 psubs\.sb r5,r5,r5
59969 + *[0-9a-f]*: e8 04 23 34 psubs\.sb r4,r4,r4
59970 + *[0-9a-f]*: fc 0e 23 3e psubs\.sb lr,lr,lr
59971 + *[0-9a-f]*: ec 08 23 37 psubs\.sb r7,r6,r8
59972 + *[0-9a-f]*: f4 09 23 3c psubs\.sb r12,r10,r9
59973 + *[0-9a-f]*: f6 00 23 3f psubs\.sb pc,r11,r0
59974 +
59975 +[0-9a-f]* <padds_ub>:
59976 + *[0-9a-f]*: fe 0f 23 4f padds\.ub pc,pc,pc
59977 + *[0-9a-f]*: f8 0c 23 4c padds\.ub r12,r12,r12
59978 + *[0-9a-f]*: ea 05 23 45 padds\.ub r5,r5,r5
59979 + *[0-9a-f]*: e8 04 23 44 padds\.ub r4,r4,r4
59980 + *[0-9a-f]*: fc 0e 23 4e padds\.ub lr,lr,lr
59981 + *[0-9a-f]*: e4 0b 23 43 padds\.ub r3,r2,r11
59982 + *[0-9a-f]*: f0 01 23 4a padds\.ub r10,r8,r1
59983 + *[0-9a-f]*: f0 0a 23 4b padds\.ub r11,r8,r10
59984 +
59985 +[0-9a-f]* <psubs_ub>:
59986 + *[0-9a-f]*: fe 0f 23 5f psubs\.ub pc,pc,pc
59987 + *[0-9a-f]*: f8 0c 23 5c psubs\.ub r12,r12,r12
59988 + *[0-9a-f]*: ea 05 23 55 psubs\.ub r5,r5,r5
59989 + *[0-9a-f]*: e8 04 23 54 psubs\.ub r4,r4,r4
59990 + *[0-9a-f]*: fc 0e 23 5e psubs\.ub lr,lr,lr
59991 + *[0-9a-f]*: e4 07 23 50 psubs\.ub r0,r2,r7
59992 + *[0-9a-f]*: ea 03 23 5e psubs\.ub lr,r5,r3
59993 + *[0-9a-f]*: ee 09 23 56 psubs\.ub r6,r7,r9
59994 +
59995 +[0-9a-f]* <paddh_ub>:
59996 + *[0-9a-f]*: fe 0f 23 6f paddh\.ub pc,pc,pc
59997 + *[0-9a-f]*: f8 0c 23 6c paddh\.ub r12,r12,r12
59998 + *[0-9a-f]*: ea 05 23 65 paddh\.ub r5,r5,r5
59999 + *[0-9a-f]*: e8 04 23 64 paddh\.ub r4,r4,r4
60000 + *[0-9a-f]*: fc 0e 23 6e paddh\.ub lr,lr,lr
60001 + *[0-9a-f]*: e2 00 23 6e paddh\.ub lr,r1,r0
60002 + *[0-9a-f]*: ee 07 23 62 paddh\.ub r2,r7,r7
60003 + *[0-9a-f]*: e2 02 23 62 paddh\.ub r2,r1,r2
60004 +
60005 +[0-9a-f]* <psubh_ub>:
60006 + *[0-9a-f]*: fe 0f 23 7f psubh\.ub pc,pc,pc
60007 + *[0-9a-f]*: f8 0c 23 7c psubh\.ub r12,r12,r12
60008 + *[0-9a-f]*: ea 05 23 75 psubh\.ub r5,r5,r5
60009 + *[0-9a-f]*: e8 04 23 74 psubh\.ub r4,r4,r4
60010 + *[0-9a-f]*: fc 0e 23 7e psubh\.ub lr,lr,lr
60011 + *[0-9a-f]*: e2 06 23 70 psubh\.ub r0,r1,r6
60012 + *[0-9a-f]*: fc 0a 23 74 psubh\.ub r4,lr,r10
60013 + *[0-9a-f]*: f0 01 23 79 psubh\.ub r9,r8,r1
60014 +
60015 +[0-9a-f]* <pmax_ub>:
60016 + *[0-9a-f]*: fe 0f 23 8f pmax\.ub pc,pc,pc
60017 + *[0-9a-f]*: f8 0c 23 8c pmax\.ub r12,r12,r12
60018 + *[0-9a-f]*: ea 05 23 85 pmax\.ub r5,r5,r5
60019 + *[0-9a-f]*: e8 04 23 84 pmax\.ub r4,r4,r4
60020 + *[0-9a-f]*: fc 0e 23 8e pmax\.ub lr,lr,lr
60021 + *[0-9a-f]*: e4 0b 23 8f pmax\.ub pc,r2,r11
60022 + *[0-9a-f]*: e2 01 23 8c pmax\.ub r12,r1,r1
60023 + *[0-9a-f]*: e4 00 23 85 pmax\.ub r5,r2,r0
60024 +
60025 +[0-9a-f]* <pmax_sh>:
60026 + *[0-9a-f]*: fe 0f 23 9f pmax\.sh pc,pc,pc
60027 + *[0-9a-f]*: f8 0c 23 9c pmax\.sh r12,r12,r12
60028 + *[0-9a-f]*: ea 05 23 95 pmax\.sh r5,r5,r5
60029 + *[0-9a-f]*: e8 04 23 94 pmax\.sh r4,r4,r4
60030 + *[0-9a-f]*: fc 0e 23 9e pmax\.sh lr,lr,lr
60031 + *[0-9a-f]*: ec 0c 23 9e pmax\.sh lr,r6,r12
60032 + *[0-9a-f]*: fe 05 23 92 pmax\.sh r2,pc,r5
60033 + *[0-9a-f]*: e4 07 23 9f pmax\.sh pc,r2,r7
60034 +
60035 +[0-9a-f]* <pmin_ub>:
60036 + *[0-9a-f]*: fe 0f 23 af pmin\.ub pc,pc,pc
60037 + *[0-9a-f]*: f8 0c 23 ac pmin\.ub r12,r12,r12
60038 + *[0-9a-f]*: ea 05 23 a5 pmin\.ub r5,r5,r5
60039 + *[0-9a-f]*: e8 04 23 a4 pmin\.ub r4,r4,r4
60040 + *[0-9a-f]*: fc 0e 23 ae pmin\.ub lr,lr,lr
60041 + *[0-9a-f]*: e2 05 23 a8 pmin\.ub r8,r1,r5
60042 + *[0-9a-f]*: f0 03 23 a1 pmin\.ub r1,r8,r3
60043 + *[0-9a-f]*: e4 07 23 a0 pmin\.ub r0,r2,r7
60044 +
60045 +[0-9a-f]* <pmin_sh>:
60046 + *[0-9a-f]*: fe 0f 23 bf pmin\.sh pc,pc,pc
60047 + *[0-9a-f]*: f8 0c 23 bc pmin\.sh r12,r12,r12
60048 + *[0-9a-f]*: ea 05 23 b5 pmin\.sh r5,r5,r5
60049 + *[0-9a-f]*: e8 04 23 b4 pmin\.sh r4,r4,r4
60050 + *[0-9a-f]*: fc 0e 23 be pmin\.sh lr,lr,lr
60051 + *[0-9a-f]*: e8 0a 23 b8 pmin\.sh r8,r4,r10
60052 + *[0-9a-f]*: f4 0c 23 be pmin\.sh lr,r10,r12
60053 + *[0-9a-f]*: ec 02 23 b2 pmin\.sh r2,r6,r2
60054 +
60055 +[0-9a-f]* <pavg_ub>:
60056 + *[0-9a-f]*: fe 0f 23 cf pavg\.ub pc,pc,pc
60057 + *[0-9a-f]*: f8 0c 23 cc pavg\.ub r12,r12,r12
60058 + *[0-9a-f]*: ea 05 23 c5 pavg\.ub r5,r5,r5
60059 + *[0-9a-f]*: e8 04 23 c4 pavg\.ub r4,r4,r4
60060 + *[0-9a-f]*: fc 0e 23 ce pavg\.ub lr,lr,lr
60061 + *[0-9a-f]*: e2 06 23 c0 pavg\.ub r0,r1,r6
60062 + *[0-9a-f]*: e6 06 23 c8 pavg\.ub r8,r3,r6
60063 + *[0-9a-f]*: f8 0a 23 cf pavg\.ub pc,r12,r10
60064 +
60065 +[0-9a-f]* <pavg_sh>:
60066 + *[0-9a-f]*: fe 0f 23 df pavg\.sh pc,pc,pc
60067 + *[0-9a-f]*: f8 0c 23 dc pavg\.sh r12,r12,r12
60068 + *[0-9a-f]*: ea 05 23 d5 pavg\.sh r5,r5,r5
60069 + *[0-9a-f]*: e8 04 23 d4 pavg\.sh r4,r4,r4
60070 + *[0-9a-f]*: fc 0e 23 de pavg\.sh lr,lr,lr
60071 + *[0-9a-f]*: fe 0d 23 d9 pavg\.sh r9,pc,sp
60072 + *[0-9a-f]*: fa 03 23 df pavg\.sh pc,sp,r3
60073 + *[0-9a-f]*: e2 09 23 d6 pavg\.sh r6,r1,r9
60074 +
60075 +[0-9a-f]* <pabs_sb>:
60076 + *[0-9a-f]*: e0 0f 23 ef pabs\.sb pc,pc
60077 + *[0-9a-f]*: e0 0c 23 ec pabs\.sb r12,r12
60078 + *[0-9a-f]*: e0 05 23 e5 pabs\.sb r5,r5
60079 + *[0-9a-f]*: e0 04 23 e4 pabs\.sb r4,r4
60080 + *[0-9a-f]*: e0 0e 23 ee pabs\.sb lr,lr
60081 + *[0-9a-f]*: e0 06 23 eb pabs\.sb r11,r6
60082 + *[0-9a-f]*: e0 09 23 ee pabs\.sb lr,r9
60083 + *[0-9a-f]*: e0 07 23 ed pabs\.sb sp,r7
60084 +
60085 +[0-9a-f]* <pabs_sh>:
60086 + *[0-9a-f]*: e0 0f 23 ff pabs\.sh pc,pc
60087 + *[0-9a-f]*: e0 0c 23 fc pabs\.sh r12,r12
60088 + *[0-9a-f]*: e0 05 23 f5 pabs\.sh r5,r5
60089 + *[0-9a-f]*: e0 04 23 f4 pabs\.sh r4,r4
60090 + *[0-9a-f]*: e0 0e 23 fe pabs\.sh lr,lr
60091 + *[0-9a-f]*: e0 03 23 ff pabs\.sh pc,r3
60092 + *[0-9a-f]*: e0 07 23 f5 pabs\.sh r5,r7
60093 + *[0-9a-f]*: e0 00 23 f4 pabs\.sh r4,r0
60094 +
60095 +[0-9a-f]* <psad>:
60096 + *[0-9a-f]*: fe 0f 24 0f psad pc,pc,pc
60097 + *[0-9a-f]*: f8 0c 24 0c psad r12,r12,r12
60098 + *[0-9a-f]*: ea 05 24 05 psad r5,r5,r5
60099 + *[0-9a-f]*: e8 04 24 04 psad r4,r4,r4
60100 + *[0-9a-f]*: fc 0e 24 0e psad lr,lr,lr
60101 + *[0-9a-f]*: f6 0b 24 09 psad r9,r11,r11
60102 + *[0-9a-f]*: e8 0d 24 0e psad lr,r4,sp
60103 + *[0-9a-f]*: e8 05 24 0e psad lr,r4,r5
60104 +
60105 +[0-9a-f]* <pasr_b>:
60106 + *[0-9a-f]*: fe 00 24 1f pasr\.b pc,pc,0x0
60107 + *[0-9a-f]*: f8 07 24 1c pasr\.b r12,r12,0x7
60108 + *[0-9a-f]*: ea 04 24 15 pasr\.b r5,r5,0x4
60109 + *[0-9a-f]*: e8 03 24 14 pasr\.b r4,r4,0x3
60110 + *[0-9a-f]*: fc 01 24 1e pasr\.b lr,lr,0x1
60111 + *[0-9a-f]*: ee 01 24 1f pasr\.b pc,r7,0x1
60112 + *[0-9a-f]*: fc 06 24 1d pasr\.b sp,lr,0x6
60113 + *[0-9a-f]*: e6 02 24 1d pasr\.b sp,r3,0x2
60114 +
60115 +[0-9a-f]* <plsl_b>:
60116 + *[0-9a-f]*: fe 00 24 2f plsl\.b pc,pc,0x0
60117 + *[0-9a-f]*: f8 07 24 2c plsl\.b r12,r12,0x7
60118 + *[0-9a-f]*: ea 04 24 25 plsl\.b r5,r5,0x4
60119 + *[0-9a-f]*: e8 03 24 24 plsl\.b r4,r4,0x3
60120 + *[0-9a-f]*: fc 01 24 2e plsl\.b lr,lr,0x1
60121 + *[0-9a-f]*: f6 04 24 22 plsl\.b r2,r11,0x4
60122 + *[0-9a-f]*: ea 07 24 28 plsl\.b r8,r5,0x7
60123 + *[0-9a-f]*: e0 02 24 2f plsl\.b pc,r0,0x2
60124 +
60125 +[0-9a-f]* <plsr_b>:
60126 + *[0-9a-f]*: fe 00 24 3f plsr\.b pc,pc,0x0
60127 + *[0-9a-f]*: f8 07 24 3c plsr\.b r12,r12,0x7
60128 + *[0-9a-f]*: ea 04 24 35 plsr\.b r5,r5,0x4
60129 + *[0-9a-f]*: e8 03 24 34 plsr\.b r4,r4,0x3
60130 + *[0-9a-f]*: fc 01 24 3e plsr\.b lr,lr,0x1
60131 + *[0-9a-f]*: e2 02 24 3c plsr\.b r12,r1,0x2
60132 + *[0-9a-f]*: fe 07 24 36 plsr\.b r6,pc,0x7
60133 + *[0-9a-f]*: f6 02 24 3c plsr\.b r12,r11,0x2
60134 +
60135 +[0-9a-f]* <pasr_h>:
60136 + *[0-9a-f]*: fe 00 24 4f pasr\.h pc,pc,0x0
60137 + *[0-9a-f]*: f8 0f 24 4c pasr\.h r12,r12,0xf
60138 + *[0-9a-f]*: ea 08 24 45 pasr\.h r5,r5,0x8
60139 + *[0-9a-f]*: e8 07 24 44 pasr\.h r4,r4,0x7
60140 + *[0-9a-f]*: fc 01 24 4e pasr\.h lr,lr,0x1
60141 + *[0-9a-f]*: f6 0a 24 40 pasr\.h r0,r11,0xa
60142 + *[0-9a-f]*: ec 08 24 44 pasr\.h r4,r6,0x8
60143 + *[0-9a-f]*: e4 04 24 46 pasr\.h r6,r2,0x4
60144 +
60145 +[0-9a-f]* <plsl_h>:
60146 + *[0-9a-f]*: fe 00 24 5f plsl\.h pc,pc,0x0
60147 + *[0-9a-f]*: f8 0f 24 5c plsl\.h r12,r12,0xf
60148 + *[0-9a-f]*: ea 08 24 55 plsl\.h r5,r5,0x8
60149 + *[0-9a-f]*: e8 07 24 54 plsl\.h r4,r4,0x7
60150 + *[0-9a-f]*: fc 01 24 5e plsl\.h lr,lr,0x1
60151 + *[0-9a-f]*: f4 09 24 55 plsl\.h r5,r10,0x9
60152 + *[0-9a-f]*: fc 08 24 5d plsl\.h sp,lr,0x8
60153 + *[0-9a-f]*: fc 07 24 50 plsl\.h r0,lr,0x7
60154 +
60155 +[0-9a-f]* <plsr_h>:
60156 + *[0-9a-f]*: fe 00 24 6f plsr\.h pc,pc,0x0
60157 + *[0-9a-f]*: f8 0f 24 6c plsr\.h r12,r12,0xf
60158 + *[0-9a-f]*: ea 08 24 65 plsr\.h r5,r5,0x8
60159 + *[0-9a-f]*: e8 07 24 64 plsr\.h r4,r4,0x7
60160 + *[0-9a-f]*: fc 01 24 6e plsr\.h lr,lr,0x1
60161 + *[0-9a-f]*: e0 0f 24 6b plsr\.h r11,r0,0xf
60162 + *[0-9a-f]*: e6 03 24 6e plsr\.h lr,r3,0x3
60163 + *[0-9a-f]*: fc 0a 24 68 plsr\.h r8,lr,0xa
60164 +
60165 +[0-9a-f]* <packw_sh>:
60166 + *[0-9a-f]*: fe 0f 24 7f packw\.sh pc,pc,pc
60167 + *[0-9a-f]*: f8 0c 24 7c packw\.sh r12,r12,r12
60168 + *[0-9a-f]*: ea 05 24 75 packw\.sh r5,r5,r5
60169 + *[0-9a-f]*: e8 04 24 74 packw\.sh r4,r4,r4
60170 + *[0-9a-f]*: fc 0e 24 7e packw\.sh lr,lr,lr
60171 + *[0-9a-f]*: f6 0a 24 7d packw\.sh sp,r11,r10
60172 + *[0-9a-f]*: e4 0c 24 78 packw\.sh r8,r2,r12
60173 + *[0-9a-f]*: e2 05 24 78 packw\.sh r8,r1,r5
60174 +
60175 +[0-9a-f]* <punpckub_h>:
60176 + *[0-9a-f]*: fe 00 24 8f punpckub\.h pc,pc:b
60177 + *[0-9a-f]*: f8 00 24 9c punpckub\.h r12,r12:t
60178 + *[0-9a-f]*: ea 00 24 95 punpckub\.h r5,r5:t
60179 + *[0-9a-f]*: e8 00 24 84 punpckub\.h r4,r4:b
60180 + *[0-9a-f]*: fc 00 24 9e punpckub\.h lr,lr:t
60181 + *[0-9a-f]*: e2 00 24 96 punpckub\.h r6,r1:t
60182 + *[0-9a-f]*: ea 00 24 8e punpckub\.h lr,r5:b
60183 + *[0-9a-f]*: e4 00 24 9e punpckub\.h lr,r2:t
60184 +
60185 +[0-9a-f]* <punpcksb_h>:
60186 + *[0-9a-f]*: fe 00 24 af punpcksb\.h pc,pc:b
60187 + *[0-9a-f]*: f8 00 24 bc punpcksb\.h r12,r12:t
60188 + *[0-9a-f]*: ea 00 24 b5 punpcksb\.h r5,r5:t
60189 + *[0-9a-f]*: e8 00 24 a4 punpcksb\.h r4,r4:b
60190 + *[0-9a-f]*: fc 00 24 be punpcksb\.h lr,lr:t
60191 + *[0-9a-f]*: ee 00 24 b4 punpcksb\.h r4,r7:t
60192 + *[0-9a-f]*: fc 00 24 a6 punpcksb\.h r6,lr:b
60193 + *[0-9a-f]*: f8 00 24 bc punpcksb\.h r12,r12:t
60194 +
60195 +[0-9a-f]* <packsh_ub>:
60196 + *[0-9a-f]*: fe 0f 24 cf packsh\.ub pc,pc,pc
60197 + *[0-9a-f]*: f8 0c 24 cc packsh\.ub r12,r12,r12
60198 + *[0-9a-f]*: ea 05 24 c5 packsh\.ub r5,r5,r5
60199 + *[0-9a-f]*: e8 04 24 c4 packsh\.ub r4,r4,r4
60200 + *[0-9a-f]*: fc 0e 24 ce packsh\.ub lr,lr,lr
60201 + *[0-9a-f]*: ec 03 24 c3 packsh\.ub r3,r6,r3
60202 + *[0-9a-f]*: e0 03 24 c8 packsh\.ub r8,r0,r3
60203 + *[0-9a-f]*: e6 0e 24 c9 packsh\.ub r9,r3,lr
60204 +
60205 +[0-9a-f]* <packsh_sb>:
60206 + *[0-9a-f]*: fe 0f 24 df packsh\.sb pc,pc,pc
60207 + *[0-9a-f]*: f8 0c 24 dc packsh\.sb r12,r12,r12
60208 + *[0-9a-f]*: ea 05 24 d5 packsh\.sb r5,r5,r5
60209 + *[0-9a-f]*: e8 04 24 d4 packsh\.sb r4,r4,r4
60210 + *[0-9a-f]*: fc 0e 24 de packsh\.sb lr,lr,lr
60211 + *[0-9a-f]*: f0 01 24 d6 packsh\.sb r6,r8,r1
60212 + *[0-9a-f]*: f2 08 24 de packsh\.sb lr,r9,r8
60213 + *[0-9a-f]*: ec 06 24 dd packsh\.sb sp,r6,r6
60214 +
60215 +[0-9a-f]* <andl>:
60216 + *[0-9a-f]*: e0 1f 00 00 andl pc,0x0
60217 + *[0-9a-f]*: e0 1c ff ff andl r12,0xffff
60218 + *[0-9a-f]*: e0 15 80 00 andl r5,0x8000
60219 + *[0-9a-f]*: e0 14 7f ff andl r4,0x7fff
60220 + *[0-9a-f]*: e0 1e 00 01 andl lr,0x1
60221 + *[0-9a-f]*: e0 1f 5a 58 andl pc,0x5a58
60222 + *[0-9a-f]*: e0 18 b8 9e andl r8,0xb89e
60223 + *[0-9a-f]*: e0 17 35 97 andl r7,0x3597
60224 +
60225 +[0-9a-f]* <andl_coh>:
60226 + *[0-9a-f]*: e2 1f 00 00 andl pc,0x0,COH
60227 + *[0-9a-f]*: e2 1c ff ff andl r12,0xffff,COH
60228 + *[0-9a-f]*: e2 15 80 00 andl r5,0x8000,COH
60229 + *[0-9a-f]*: e2 14 7f ff andl r4,0x7fff,COH
60230 + *[0-9a-f]*: e2 1e 00 01 andl lr,0x1,COH
60231 + *[0-9a-f]*: e2 16 58 e1 andl r6,0x58e1,COH
60232 + *[0-9a-f]*: e2 10 9e cd andl r0,0x9ecd,COH
60233 + *[0-9a-f]*: e2 14 bd c4 andl r4,0xbdc4,COH
60234 +
60235 +[0-9a-f]* <andh>:
60236 + *[0-9a-f]*: e4 1f 00 00 andh pc,0x0
60237 + *[0-9a-f]*: e4 1c ff ff andh r12,0xffff
60238 + *[0-9a-f]*: e4 15 80 00 andh r5,0x8000
60239 + *[0-9a-f]*: e4 14 7f ff andh r4,0x7fff
60240 + *[0-9a-f]*: e4 1e 00 01 andh lr,0x1
60241 + *[0-9a-f]*: e4 1c cc 58 andh r12,0xcc58
60242 + *[0-9a-f]*: e4 13 21 e3 andh r3,0x21e3
60243 + *[0-9a-f]*: e4 12 a7 eb andh r2,0xa7eb
60244 +
60245 +[0-9a-f]* <andh_coh>:
60246 + *[0-9a-f]*: e6 1f 00 00 andh pc,0x0,COH
60247 + *[0-9a-f]*: e6 1c ff ff andh r12,0xffff,COH
60248 + *[0-9a-f]*: e6 15 80 00 andh r5,0x8000,COH
60249 + *[0-9a-f]*: e6 14 7f ff andh r4,0x7fff,COH
60250 + *[0-9a-f]*: e6 1e 00 01 andh lr,0x1,COH
60251 + *[0-9a-f]*: e6 1b 86 0d andh r11,0x860d,COH
60252 + *[0-9a-f]*: e6 18 ce f6 andh r8,0xcef6,COH
60253 + *[0-9a-f]*: e6 1a 5c 83 andh r10,0x5c83,COH
60254 +
60255 +[0-9a-f]* <orl>:
60256 + *[0-9a-f]*: e8 1f 00 00 orl pc,0x0
60257 + *[0-9a-f]*: e8 1c ff ff orl r12,0xffff
60258 + *[0-9a-f]*: e8 15 80 00 orl r5,0x8000
60259 + *[0-9a-f]*: e8 14 7f ff orl r4,0x7fff
60260 + *[0-9a-f]*: e8 1e 00 01 orl lr,0x1
60261 + *[0-9a-f]*: e8 1d 41 7e orl sp,0x417e
60262 + *[0-9a-f]*: e8 10 52 bd orl r0,0x52bd
60263 + *[0-9a-f]*: e8 1f ac 47 orl pc,0xac47
60264 +
60265 +[0-9a-f]* <orh>:
60266 + *[0-9a-f]*: ea 1f 00 00 orh pc,0x0
60267 + *[0-9a-f]*: ea 1c ff ff orh r12,0xffff
60268 + *[0-9a-f]*: ea 15 80 00 orh r5,0x8000
60269 + *[0-9a-f]*: ea 14 7f ff orh r4,0x7fff
60270 + *[0-9a-f]*: ea 1e 00 01 orh lr,0x1
60271 + *[0-9a-f]*: ea 18 6e 7d orh r8,0x6e7d
60272 + *[0-9a-f]*: ea 1c 77 1c orh r12,0x771c
60273 + *[0-9a-f]*: ea 11 ea 1a orh r1,0xea1a
60274 +
60275 +[0-9a-f]* <eorl>:
60276 + *[0-9a-f]*: ec 1f 00 00 eorl pc,0x0
60277 + *[0-9a-f]*: ec 1c ff ff eorl r12,0xffff
60278 + *[0-9a-f]*: ec 15 80 00 eorl r5,0x8000
60279 + *[0-9a-f]*: ec 14 7f ff eorl r4,0x7fff
60280 + *[0-9a-f]*: ec 1e 00 01 eorl lr,0x1
60281 + *[0-9a-f]*: ec 14 c7 b9 eorl r4,0xc7b9
60282 + *[0-9a-f]*: ec 16 fb dd eorl r6,0xfbdd
60283 + *[0-9a-f]*: ec 11 51 b1 eorl r1,0x51b1
60284 +
60285 +[0-9a-f]* <eorh>:
60286 + *[0-9a-f]*: ee 1f 00 00 eorh pc,0x0
60287 + *[0-9a-f]*: ee 1c ff ff eorh r12,0xffff
60288 + *[0-9a-f]*: ee 15 80 00 eorh r5,0x8000
60289 + *[0-9a-f]*: ee 14 7f ff eorh r4,0x7fff
60290 + *[0-9a-f]*: ee 1e 00 01 eorh lr,0x1
60291 + *[0-9a-f]*: ee 10 2d d4 eorh r0,0x2dd4
60292 + *[0-9a-f]*: ee 1a 94 b5 eorh r10,0x94b5
60293 + *[0-9a-f]*: ee 19 df 2a eorh r9,0xdf2a
60294 +
60295 +[0-9a-f]* <mcall>:
60296 + *[0-9a-f]*: f0 1f 00 00 mcall [0-9a-f]* <.*>
60297 + *[0-9a-f]*: f0 1c ff ff mcall r12\[-4\]
60298 + *[0-9a-f]*: f0 15 80 00 mcall r5\[-131072\]
60299 + *[0-9a-f]*: f0 14 7f ff mcall r4\[131068\]
60300 + *[0-9a-f]*: f0 1e 00 01 mcall lr\[4\]
60301 + *[0-9a-f]*: f0 1d 3b bf mcall sp\[61180\]
60302 + *[0-9a-f]*: f0 14 dd d2 mcall r4\[-35000\]
60303 + *[0-9a-f]*: f0 10 09 b1 mcall r0\[9924\]
60304 +
60305 +[0-9a-f]* <pref>:
60306 + *[0-9a-f]*: f2 1f 00 00 pref pc\[0\]
60307 + *[0-9a-f]*: f2 1c ff ff pref r12\[-1\]
60308 + *[0-9a-f]*: f2 15 80 00 pref r5\[-32768\]
60309 + *[0-9a-f]*: f2 14 7f ff pref r4\[32767\]
60310 + *[0-9a-f]*: f2 1e 00 01 pref lr\[1\]
60311 + *[0-9a-f]*: f2 17 1e 44 pref r7\[7748\]
60312 + *[0-9a-f]*: f2 17 e1 ed pref r7\[-7699\]
60313 + *[0-9a-f]*: f2 12 9a dc pref r2\[-25892\]
60314 +
60315 +[0-9a-f]* <cache>:
60316 + *[0-9a-f]*: f4 1f 00 00 cache pc\[0\],0x0
60317 + *[0-9a-f]*: f4 1c ff ff cache r12\[-1\],0x1f
60318 + *[0-9a-f]*: f4 15 84 00 cache r5\[-1024\],0x10
60319 + *[0-9a-f]*: f4 14 7b ff cache r4\[1023\],0xf
60320 + *[0-9a-f]*: f4 1e 08 01 cache lr\[1\],0x1
60321 + *[0-9a-f]*: f4 13 8c 3c cache r3\[-964\],0x11
60322 + *[0-9a-f]*: f4 14 b6 89 cache r4\[-375\],0x16
60323 + *[0-9a-f]*: f4 13 8c 88 cache r3\[-888\],0x11
60324 +
60325 +[0-9a-f]* <sub4>:
60326 + *[0-9a-f]*: 20 0f sub pc,0
60327 + *[0-9a-f]*: 2f fc sub r12,-1
60328 + *[0-9a-f]*: f0 25 00 00 sub r5,-1048576
60329 + *[0-9a-f]*: ee 34 ff ff sub r4,1048575
60330 + *[0-9a-f]*: 20 1e sub lr,1
60331 + *[0-9a-f]*: f6 22 8d 6c sub r2,-619156
60332 + *[0-9a-f]*: e6 3e 0a cd sub lr,461517
60333 + *[0-9a-f]*: fc 38 2d 25 sub r8,-185051
60334 +
60335 +[0-9a-f]* <cp3>:
60336 + *[0-9a-f]*: 58 0f cp.w pc,0
60337 + *[0-9a-f]*: 5b fc cp.w r12,-1
60338 + *[0-9a-f]*: f0 45 00 00 cp.w r5,-1048576
60339 + *[0-9a-f]*: ee 54 ff ff cp.w r4,1048575
60340 + *[0-9a-f]*: 58 1e cp.w lr,1
60341 + *[0-9a-f]*: e0 51 e4 ae cp.w r1,124078
60342 + *[0-9a-f]*: fa 40 37 e3 cp.w r0,-378909
60343 + *[0-9a-f]*: fc 44 4a 14 cp.w r4,-243180
60344 +
60345 +[0-9a-f]* <mov2>:
60346 + *[0-9a-f]*: 30 0f mov pc,0
60347 + *[0-9a-f]*: 3f fc mov r12,-1
60348 + *[0-9a-f]*: f0 65 00 00 mov r5,-1048576
60349 + *[0-9a-f]*: ee 74 ff ff mov r4,1048575
60350 + *[0-9a-f]*: 30 1e mov lr,1
60351 + *[0-9a-f]*: fa 75 29 a3 mov r5,-317021
60352 + *[0-9a-f]*: f4 6d 91 94 mov sp,-749164
60353 + *[0-9a-f]*: ee 65 58 93 mov r5,940179
60354 +
60355 +[0-9a-f]* <brc2>:
60356 + *[0-9a-f]*: c0 00 breq [0-9a-f]* <.*>
60357 + *[0-9a-f]*: fe 9f ff ff bral [0-9a-f]* <.*>
60358 + *[0-9a-f]*: f0 88 00 00 brls [0-9a-f]* <.*>
60359 + *[0-9a-f]*: ee 97 ff ff brpl [0-9a-f]* <.*>
60360 + *[0-9a-f]*: c0 11 brne [0-9a-f]* <.*>
60361 + *[0-9a-f]*: f2 8b 4a 4d brhi [0-9a-f]* <.*>
60362 + *[0-9a-f]*: ea 8e 14 cc brqs [0-9a-f]* <.*>
60363 + *[0-9a-f]*: fa 98 98 33 brls [0-9a-f]* <.*>
60364 +
60365 +[0-9a-f]* <rcall2>:
60366 + *[0-9a-f]*: c0 0c rcall [0-9a-f]* <.*>
60367 + *[0-9a-f]*: cf ff rcall [0-9a-f]* <.*>
60368 + *[0-9a-f]*: f0 a0 00 00 rcall [0-9a-f]* <.*>
60369 + *[0-9a-f]*: ee b0 ff ff rcall [0-9a-f]* <.*>
60370 + *[0-9a-f]*: c0 1c rcall [0-9a-f]* <.*>
60371 + *[0-9a-f]*: e2 b0 ca 5a rcall [0-9a-f]* <.*>
60372 + *[0-9a-f]*: e8 a0 47 52 rcall [0-9a-f]* <.*>
60373 + *[0-9a-f]*: fe b0 fd ef rcall [0-9a-f]* <.*>
60374 +
60375 +[0-9a-f]* <sub5>:
60376 + *[0-9a-f]*: fe cf 00 00 sub pc,pc,0
60377 + *[0-9a-f]*: f8 cc ff ff sub r12,r12,-1
60378 + *[0-9a-f]*: ea c5 80 00 sub r5,r5,-32768
60379 + *[0-9a-f]*: e8 c4 7f ff sub r4,r4,32767
60380 + *[0-9a-f]*: fc ce 00 01 sub lr,lr,1
60381 + *[0-9a-f]*: fe cf ce 38 sub pc,pc,-12744
60382 + *[0-9a-f]*: ee c7 95 1b sub r7,r7,-27365
60383 + *[0-9a-f]*: f2 c2 bc 32 sub r2,r9,-17358
60384 +
60385 +[0-9a-f]* <satsub_w2>:
60386 + *[0-9a-f]*: fe df 00 00 satsub\.w pc,pc,0
60387 + *[0-9a-f]*: f8 dc ff ff satsub\.w r12,r12,-1
60388 + *[0-9a-f]*: ea d5 80 00 satsub\.w r5,r5,-32768
60389 + *[0-9a-f]*: e8 d4 7f ff satsub\.w r4,r4,32767
60390 + *[0-9a-f]*: fc de 00 01 satsub\.w lr,lr,1
60391 + *[0-9a-f]*: fc d2 f8 29 satsub\.w r2,lr,-2007
60392 + *[0-9a-f]*: f8 d7 fc f0 satsub\.w r7,r12,-784
60393 + *[0-9a-f]*: ee d4 5a 8c satsub\.w r4,r7,23180
60394 +
60395 +[0-9a-f]* <ld_d4>:
60396 + *[0-9a-f]*: fe e0 00 00 ld\.d r0,pc\[0\]
60397 + *[0-9a-f]*: f8 ee ff ff ld\.d lr,r12\[-1\]
60398 + *[0-9a-f]*: ea e8 80 00 ld\.d r8,r5\[-32768\]
60399 + *[0-9a-f]*: e8 e6 7f ff ld\.d r6,r4\[32767\]
60400 + *[0-9a-f]*: fc e2 00 01 ld\.d r2,lr\[1\]
60401 + *[0-9a-f]*: f6 ee 39 c0 ld\.d lr,r11\[14784\]
60402 + *[0-9a-f]*: f2 e6 b6 27 ld\.d r6,r9\[-18905\]
60403 + *[0-9a-f]*: e6 e2 e7 2d ld\.d r2,r3\[-6355\]
60404 +
60405 +[0-9a-f]* <ld_w4>:
60406 + *[0-9a-f]*: 7e 0f ld\.w pc,pc\[0x0\]
60407 + *[0-9a-f]*: f8 fc ff ff ld\.w r12,r12\[-1\]
60408 + *[0-9a-f]*: ea f5 80 00 ld\.w r5,r5\[-32768\]
60409 + *[0-9a-f]*: e8 f4 7f ff ld\.w r4,r4\[32767\]
60410 + *[0-9a-f]*: fc fe 00 01 ld\.w lr,lr\[1\]
60411 + *[0-9a-f]*: f8 f0 a9 8b ld\.w r0,r12\[-22133\]
60412 + *[0-9a-f]*: fe fd af d7 ld\.w sp,pc\[-20521\]
60413 + *[0-9a-f]*: d7 03 nop
60414 +
60415 +[0-9a-f]* <ld_sh4>:
60416 + *[0-9a-f]*: 9e 0f ld\.sh pc,pc\[0x0\]
60417 + *[0-9a-f]*: f9 0c ff ff ld\.sh r12,r12\[-1\]
60418 + *[0-9a-f]*: eb 05 80 00 ld\.sh r5,r5\[-32768\]
60419 + *[0-9a-f]*: e9 04 7f ff ld\.sh r4,r4\[32767\]
60420 + *[0-9a-f]*: fd 0e 00 01 ld\.sh lr,lr\[1\]
60421 + *[0-9a-f]*: f5 06 78 d2 ld\.sh r6,r10\[30930\]
60422 + *[0-9a-f]*: f5 06 55 d5 ld\.sh r6,r10\[21973\]
60423 + *[0-9a-f]*: d7 03 nop
60424 +
60425 +[0-9a-f]* <ld_uh4>:
60426 + *[0-9a-f]*: 9e 8f ld\.uh pc,pc\[0x0\]
60427 + *[0-9a-f]*: f9 1c ff ff ld\.uh r12,r12\[-1\]
60428 + *[0-9a-f]*: eb 15 80 00 ld\.uh r5,r5\[-32768\]
60429 + *[0-9a-f]*: e9 14 7f ff ld\.uh r4,r4\[32767\]
60430 + *[0-9a-f]*: fd 1e 00 01 ld\.uh lr,lr\[1\]
60431 + *[0-9a-f]*: f3 11 cb d6 ld\.uh r1,r9\[-13354\]
60432 + *[0-9a-f]*: f7 1e 53 59 ld\.uh lr,r11\[21337\]
60433 + *[0-9a-f]*: d7 03 nop
60434 +
60435 +[0-9a-f]* <ld_sb1>:
60436 + *[0-9a-f]*: ff 2f 00 00 ld\.sb pc,pc\[0\]
60437 + *[0-9a-f]*: f9 2c ff ff ld\.sb r12,r12\[-1\]
60438 + *[0-9a-f]*: eb 25 80 00 ld\.sb r5,r5\[-32768\]
60439 + *[0-9a-f]*: e9 24 7f ff ld\.sb r4,r4\[32767\]
60440 + *[0-9a-f]*: fd 2e 00 01 ld\.sb lr,lr\[1\]
60441 + *[0-9a-f]*: fb 27 90 09 ld\.sb r7,sp\[-28663\]
60442 + *[0-9a-f]*: e3 22 e9 09 ld\.sb r2,r1\[-5879\]
60443 + *[0-9a-f]*: e7 2c 49 2e ld\.sb r12,r3\[18734\]
60444 +
60445 +[0-9a-f]* <ld_ub4>:
60446 + *[0-9a-f]*: 1f 8f ld\.ub pc,pc\[0x0\]
60447 + *[0-9a-f]*: f9 3c ff ff ld\.ub r12,r12\[-1\]
60448 + *[0-9a-f]*: eb 35 80 00 ld\.ub r5,r5\[-32768\]
60449 + *[0-9a-f]*: e9 34 7f ff ld\.ub r4,r4\[32767\]
60450 + *[0-9a-f]*: 1d 9e ld\.ub lr,lr\[0x1\]
60451 + *[0-9a-f]*: e9 3f 20 55 ld\.ub pc,r4\[8277\]
60452 + *[0-9a-f]*: f9 35 4a e4 ld\.ub r5,r12\[19172\]
60453 + *[0-9a-f]*: fd 3a 66 eb ld\.ub r10,lr\[26347\]
60454 +
60455 +[0-9a-f]* <st_d4>:
60456 + *[0-9a-f]*: fe e1 00 00 st\.d pc\[0\],r0
60457 + *[0-9a-f]*: f8 ef ff ff st\.d r12\[-1\],lr
60458 + *[0-9a-f]*: ea e9 80 00 st\.d r5\[-32768\],r8
60459 + *[0-9a-f]*: e8 e7 7f ff st\.d r4\[32767\],r6
60460 + *[0-9a-f]*: fc e3 00 01 st\.d lr\[1\],r2
60461 + *[0-9a-f]*: ea eb 33 90 st\.d r5\[13200\],r10
60462 + *[0-9a-f]*: ea eb 24 88 st\.d r5\[9352\],r10
60463 + *[0-9a-f]*: ea e5 7e 75 st\.d r5\[32373\],r4
60464 +
60465 +[0-9a-f]* <st_w4>:
60466 + *[0-9a-f]*: 9f 0f st\.w pc\[0x0\],pc
60467 + *[0-9a-f]*: f9 4c ff ff st\.w r12\[-1\],r12
60468 + *[0-9a-f]*: eb 45 80 00 st\.w r5\[-32768\],r5
60469 + *[0-9a-f]*: e9 44 7f ff st\.w r4\[32767\],r4
60470 + *[0-9a-f]*: fd 4e 00 01 st\.w lr\[1\],lr
60471 + *[0-9a-f]*: fb 47 17 f8 st\.w sp\[6136\],r7
60472 + *[0-9a-f]*: ed 4c 69 cf st\.w r6\[27087\],r12
60473 + *[0-9a-f]*: d7 03 nop
60474 +
60475 +[0-9a-f]* <st_h4>:
60476 + *[0-9a-f]*: be 0f st\.h pc\[0x0\],pc
60477 + *[0-9a-f]*: f9 5c ff ff st\.h r12\[-1\],r12
60478 + *[0-9a-f]*: eb 55 80 00 st\.h r5\[-32768\],r5
60479 + *[0-9a-f]*: e9 54 7f ff st\.h r4\[32767\],r4
60480 + *[0-9a-f]*: fd 5e 00 01 st\.h lr\[1\],lr
60481 + *[0-9a-f]*: e9 57 d9 16 st\.h r4\[-9962\],r7
60482 + *[0-9a-f]*: f3 53 c0 86 st\.h r9\[-16250\],r3
60483 + *[0-9a-f]*: d7 03 nop
60484 +
60485 +[0-9a-f]* <st_b4>:
60486 + *[0-9a-f]*: be 8f st\.b pc\[0x0\],pc
60487 + *[0-9a-f]*: f9 6c ff ff st\.b r12\[-1\],r12
60488 + *[0-9a-f]*: eb 65 80 00 st\.b r5\[-32768\],r5
60489 + *[0-9a-f]*: e9 64 7f ff st\.b r4\[32767\],r4
60490 + *[0-9a-f]*: bc 9e st\.b lr\[0x1\],lr
60491 + *[0-9a-f]*: f9 66 75 96 st\.b r12\[30102\],r6
60492 + *[0-9a-f]*: eb 61 71 31 st\.b r5\[28977\],r1
60493 + *[0-9a-f]*: e1 61 15 5e st\.b r0\[5470\],r1
60494 +
60495 +[0-9a-f]* <mfsr>:
60496 + *[0-9a-f]*: e1 bf 00 00 mfsr pc,0x0
60497 + *[0-9a-f]*: e1 bc 00 ff mfsr r12,0x3fc
60498 + *[0-9a-f]*: e1 b5 00 80 mfsr r5,0x200
60499 + *[0-9a-f]*: e1 b4 00 7f mfsr r4,0x1fc
60500 + *[0-9a-f]*: e1 be 00 01 mfsr lr,0x4
60501 + *[0-9a-f]*: e1 b2 00 ae mfsr r2,0x2b8
60502 + *[0-9a-f]*: e1 b4 00 41 mfsr r4,0x104
60503 + *[0-9a-f]*: e1 ba 00 fe mfsr r10,0x3f8
60504 +
60505 +[0-9a-f]* <mtsr>:
60506 + *[0-9a-f]*: e3 bf 00 00 mtsr 0x0,pc
60507 + *[0-9a-f]*: e3 bc 00 ff mtsr 0x3fc,r12
60508 + *[0-9a-f]*: e3 b5 00 80 mtsr 0x200,r5
60509 + *[0-9a-f]*: e3 b4 00 7f mtsr 0x1fc,r4
60510 + *[0-9a-f]*: e3 be 00 01 mtsr 0x4,lr
60511 + *[0-9a-f]*: e3 ba 00 38 mtsr 0xe0,r10
60512 + *[0-9a-f]*: e3 bc 00 d1 mtsr 0x344,r12
60513 + *[0-9a-f]*: e3 b9 00 4c mtsr 0x130,r9
60514 +
60515 +[0-9a-f]* <mfdr>:
60516 + *[0-9a-f]*: e5 bf 00 00 mfdr pc,0x0
60517 + *[0-9a-f]*: e5 bc 00 ff mfdr r12,0x3fc
60518 + *[0-9a-f]*: e5 b5 00 80 mfdr r5,0x200
60519 + *[0-9a-f]*: e5 b4 00 7f mfdr r4,0x1fc
60520 + *[0-9a-f]*: e5 be 00 01 mfdr lr,0x4
60521 + *[0-9a-f]*: e5 b6 00 e9 mfdr r6,0x3a4
60522 + *[0-9a-f]*: e5 b5 00 09 mfdr r5,0x24
60523 + *[0-9a-f]*: e5 b9 00 4b mfdr r9,0x12c
60524 +
60525 +[0-9a-f]* <mtdr>:
60526 + *[0-9a-f]*: e7 bf 00 00 mtdr 0x0,pc
60527 + *[0-9a-f]*: e7 bc 00 ff mtdr 0x3fc,r12
60528 + *[0-9a-f]*: e7 b5 00 80 mtdr 0x200,r5
60529 + *[0-9a-f]*: e7 b4 00 7f mtdr 0x1fc,r4
60530 + *[0-9a-f]*: e7 be 00 01 mtdr 0x4,lr
60531 + *[0-9a-f]*: e7 b8 00 2d mtdr 0xb4,r8
60532 + *[0-9a-f]*: e7 ba 00 b4 mtdr 0x2d0,r10
60533 + *[0-9a-f]*: e7 be 00 66 mtdr 0x198,lr
60534 +
60535 +[0-9a-f]* <sleep>:
60536 + *[0-9a-f]*: e9 b0 00 00 sleep 0x0
60537 + *[0-9a-f]*: e9 b0 00 ff sleep 0xff
60538 + *[0-9a-f]*: e9 b0 00 80 sleep 0x80
60539 + *[0-9a-f]*: e9 b0 00 7f sleep 0x7f
60540 + *[0-9a-f]*: e9 b0 00 01 sleep 0x1
60541 + *[0-9a-f]*: e9 b0 00 fe sleep 0xfe
60542 + *[0-9a-f]*: e9 b0 00 0f sleep 0xf
60543 + *[0-9a-f]*: e9 b0 00 2b sleep 0x2b
60544 +
60545 +[0-9a-f]* <sync>:
60546 + *[0-9a-f]*: eb b0 00 00 sync 0x0
60547 + *[0-9a-f]*: eb b0 00 ff sync 0xff
60548 + *[0-9a-f]*: eb b0 00 80 sync 0x80
60549 + *[0-9a-f]*: eb b0 00 7f sync 0x7f
60550 + *[0-9a-f]*: eb b0 00 01 sync 0x1
60551 + *[0-9a-f]*: eb b0 00 a6 sync 0xa6
60552 + *[0-9a-f]*: eb b0 00 e6 sync 0xe6
60553 + *[0-9a-f]*: eb b0 00 b4 sync 0xb4
60554 +
60555 +[0-9a-f]* <bld>:
60556 + *[0-9a-f]*: ed bf 00 00 bld pc,0x0
60557 + *[0-9a-f]*: ed bc 00 1f bld r12,0x1f
60558 + *[0-9a-f]*: ed b5 00 10 bld r5,0x10
60559 + *[0-9a-f]*: ed b4 00 0f bld r4,0xf
60560 + *[0-9a-f]*: ed be 00 01 bld lr,0x1
60561 + *[0-9a-f]*: ed b9 00 0f bld r9,0xf
60562 + *[0-9a-f]*: ed b0 00 04 bld r0,0x4
60563 + *[0-9a-f]*: ed be 00 1a bld lr,0x1a
60564 +
60565 +[0-9a-f]* <bst>:
60566 + *[0-9a-f]*: ef bf 00 00 bst pc,0x0
60567 + *[0-9a-f]*: ef bc 00 1f bst r12,0x1f
60568 + *[0-9a-f]*: ef b5 00 10 bst r5,0x10
60569 + *[0-9a-f]*: ef b4 00 0f bst r4,0xf
60570 + *[0-9a-f]*: ef be 00 01 bst lr,0x1
60571 + *[0-9a-f]*: ef ba 00 1c bst r10,0x1c
60572 + *[0-9a-f]*: ef b0 00 03 bst r0,0x3
60573 + *[0-9a-f]*: ef bd 00 02 bst sp,0x2
60574 +
60575 +[0-9a-f]* <sats>:
60576 + *[0-9a-f]*: f1 bf 00 00 sats pc,0x0
60577 + *[0-9a-f]*: f1 bc 03 ff sats r12>>0x1f,0x1f
60578 + *[0-9a-f]*: f1 b5 02 10 sats r5>>0x10,0x10
60579 + *[0-9a-f]*: f1 b4 01 ef sats r4>>0xf,0xf
60580 + *[0-9a-f]*: f1 be 00 21 sats lr>>0x1,0x1
60581 + *[0-9a-f]*: f1 ba 02 63 sats r10>>0x3,0x13
60582 + *[0-9a-f]*: f1 ba 03 42 sats r10>>0x2,0x1a
60583 + *[0-9a-f]*: f1 b1 00 34 sats r1>>0x14,0x1
60584 +
60585 +[0-9a-f]* <satu>:
60586 + *[0-9a-f]*: f1 bf 04 00 satu pc,0x0
60587 + *[0-9a-f]*: f1 bc 07 ff satu r12>>0x1f,0x1f
60588 + *[0-9a-f]*: f1 b5 06 10 satu r5>>0x10,0x10
60589 + *[0-9a-f]*: f1 b4 05 ef satu r4>>0xf,0xf
60590 + *[0-9a-f]*: f1 be 04 21 satu lr>>0x1,0x1
60591 + *[0-9a-f]*: f1 bf 04 e5 satu pc>>0x5,0x7
60592 + *[0-9a-f]*: f1 b7 04 a5 satu r7>>0x5,0x5
60593 + *[0-9a-f]*: f1 b2 06 7a satu r2>>0x1a,0x13
60594 +
60595 +[0-9a-f]* <satrnds>:
60596 + *[0-9a-f]*: f3 bf 00 00 satrnds pc,0x0
60597 + *[0-9a-f]*: f3 bc 03 ff satrnds r12>>0x1f,0x1f
60598 + *[0-9a-f]*: f3 b5 02 10 satrnds r5>>0x10,0x10
60599 + *[0-9a-f]*: f3 b4 01 ef satrnds r4>>0xf,0xf
60600 + *[0-9a-f]*: f3 be 00 21 satrnds lr>>0x1,0x1
60601 + *[0-9a-f]*: f3 b0 02 75 satrnds r0>>0x15,0x13
60602 + *[0-9a-f]*: f3 bd 00 40 satrnds sp,0x2
60603 + *[0-9a-f]*: f3 b7 03 a6 satrnds r7>>0x6,0x1d
60604 +
60605 +[0-9a-f]* <satrndu>:
60606 + *[0-9a-f]*: f3 bf 04 00 satrndu pc,0x0
60607 + *[0-9a-f]*: f3 bc 07 ff satrndu r12>>0x1f,0x1f
60608 + *[0-9a-f]*: f3 b5 06 10 satrndu r5>>0x10,0x10
60609 + *[0-9a-f]*: f3 b4 05 ef satrndu r4>>0xf,0xf
60610 + *[0-9a-f]*: f3 be 04 21 satrndu lr>>0x1,0x1
60611 + *[0-9a-f]*: f3 bc 07 40 satrndu r12,0x1a
60612 + *[0-9a-f]*: f3 b4 04 75 satrndu r4>>0x15,0x3
60613 + *[0-9a-f]*: f3 ba 06 03 satrndu r10>>0x3,0x10
60614 +
60615 +[0-9a-f]* <subfc>:
60616 + *[0-9a-f]*: f5 bf 00 00 subfeq pc,0
60617 + *[0-9a-f]*: f5 bc 0f ff subfal r12,-1
60618 + *[0-9a-f]*: f5 b5 08 80 subfls r5,-128
60619 + *[0-9a-f]*: f5 b4 07 7f subfpl r4,127
60620 + *[0-9a-f]*: f5 be 01 01 subfne lr,1
60621 + *[0-9a-f]*: f5 ba 08 08 subfls r10,8
60622 + *[0-9a-f]*: f5 bb 0d 63 subfvc r11,99
60623 + *[0-9a-f]*: f5 b2 0c 49 subfvs r2,73
60624 +
60625 +[0-9a-f]* <subc>:
60626 + *[0-9a-f]*: f7 bf 00 00 subeq pc,0
60627 + *[0-9a-f]*: f7 bc 0f ff subal r12,-1
60628 + *[0-9a-f]*: f7 b5 08 80 subls r5,-128
60629 + *[0-9a-f]*: f7 b4 07 7f subpl r4,127
60630 + *[0-9a-f]*: f7 be 01 01 subne lr,1
60631 + *[0-9a-f]*: f7 bc 08 76 subls r12,118
60632 + *[0-9a-f]*: f7 be 0d f4 subvc lr,-12
60633 + *[0-9a-f]*: f7 b4 06 f3 submi r4,-13
60634 +
60635 +[0-9a-f]* <movc2>:
60636 + *[0-9a-f]*: f9 bf 00 00 moveq pc,0
60637 + *[0-9a-f]*: f9 bc 0f ff moval r12,-1
60638 + *[0-9a-f]*: f9 b5 08 80 movls r5,-128
60639 + *[0-9a-f]*: f9 b4 07 7f movpl r4,127
60640 + *[0-9a-f]*: f9 be 01 01 movne lr,1
60641 + *[0-9a-f]*: f9 b3 05 86 movlt r3,-122
60642 + *[0-9a-f]*: f9 b8 0d 02 movvc r8,2
60643 + *[0-9a-f]*: f9 b7 01 91 movne r7,-111
60644 +
60645 +[0-9a-f]* <cp_b>:
60646 + *[0-9a-f]*: e0 0f 18 00 cp\.b pc,r0
60647 + *[0-9a-f]*: fe 00 18 00 cp\.b r0,pc
60648 + *[0-9a-f]*: f0 07 18 00 cp\.b r7,r8
60649 + *[0-9a-f]*: ee 08 18 00 cp\.b r8,r7
60650 +
60651 +[0-9a-f]* <cp_h>:
60652 + *[0-9a-f]*: e0 0f 19 00 cp\.h pc,r0
60653 + *[0-9a-f]*: fe 00 19 00 cp\.h r0,pc
60654 + *[0-9a-f]*: f0 07 19 00 cp\.h r7,r8
60655 + *[0-9a-f]*: ee 08 19 00 cp\.h r8,r7
60656 +
60657 +[0-9a-f]* <ldm>:
60658 + *[0-9a-f]*: e1 cf 00 7e ldm pc,r1-r6
60659 + *[0-9a-f]*: e1 cc ff ff ldm r12,r0-pc
60660 + *[0-9a-f]*: e1 c5 80 00 ldm r5,pc
60661 + *[0-9a-f]*: e1 c4 7f ff ldm r4,r0-lr
60662 + *[0-9a-f]*: e1 ce 00 01 ldm lr,r0
60663 + *[0-9a-f]*: e1 c9 40 22 ldm r9,r1,r5,lr
60664 + *[0-9a-f]*: e1 cb 81 ec ldm r11,r2-r3,r5-r8,pc
60665 + *[0-9a-f]*: e1 c6 a2 09 ldm r6,r0,r3,r9,sp,pc
60666 +
60667 +[0-9a-f]* <ldm_pu>:
60668 + *[0-9a-f]*: e3 cf 03 c0 ldm pc\+\+,r6-r9
60669 + *[0-9a-f]*: e3 cc ff ff ldm r12\+\+,r0-pc
60670 + *[0-9a-f]*: e3 c5 80 00 ldm r5\+\+,pc
60671 + *[0-9a-f]*: e3 c4 7f ff ldm r4\+\+,r0-lr
60672 + *[0-9a-f]*: e3 ce 00 01 ldm lr\+\+,r0
60673 + *[0-9a-f]*: e3 cc d5 38 ldm r12\+\+,r3-r5,r8,r10,r12,lr-pc
60674 + *[0-9a-f]*: e3 ca c0 74 ldm r10\+\+,r2,r4-r6,lr-pc
60675 + *[0-9a-f]*: e3 c6 7e 1a ldm r6\+\+,r1,r3-r4,r9-lr
60676 +
60677 +[0-9a-f]* <ldmts>:
60678 + *[0-9a-f]*: e5 cf 01 80 ldmts pc,r7-r8
60679 + *[0-9a-f]*: e5 cc ff ff ldmts r12,r0-pc
60680 + *[0-9a-f]*: e5 c5 80 00 ldmts r5,pc
60681 + *[0-9a-f]*: e5 c4 7f ff ldmts r4,r0-lr
60682 + *[0-9a-f]*: e5 ce 00 01 ldmts lr,r0
60683 + *[0-9a-f]*: e5 c0 18 06 ldmts r0,r1-r2,r11-r12
60684 + *[0-9a-f]*: e5 ce 61 97 ldmts lr,r0-r2,r4,r7-r8,sp-lr
60685 + *[0-9a-f]*: e5 cc c2 3b ldmts r12,r0-r1,r3-r5,r9,lr-pc
60686 +
60687 +[0-9a-f]* <ldmts_pu>:
60688 + *[0-9a-f]*: e7 cf 02 00 ldmts pc\+\+,r9
60689 + *[0-9a-f]*: e7 cc ff ff ldmts r12\+\+,r0-pc
60690 + *[0-9a-f]*: e7 c5 80 00 ldmts r5\+\+,pc
60691 + *[0-9a-f]*: e7 c4 7f ff ldmts r4\+\+,r0-lr
60692 + *[0-9a-f]*: e7 ce 00 01 ldmts lr\+\+,r0
60693 + *[0-9a-f]*: e7 cd 0a bd ldmts sp\+\+,r0,r2-r5,r7,r9,r11
60694 + *[0-9a-f]*: e7 c5 0c 8e ldmts r5\+\+,r1-r3,r7,r10-r11
60695 + *[0-9a-f]*: e7 c8 a1 9c ldmts r8\+\+,r2-r4,r7-r8,sp,pc
60696 +
60697 +[0-9a-f]* <stm>:
60698 + *[0-9a-f]*: e9 cf 00 80 stm pc,r7
60699 + *[0-9a-f]*: e9 cc ff ff stm r12,r0-pc
60700 + *[0-9a-f]*: e9 c5 80 00 stm r5,pc
60701 + *[0-9a-f]*: e9 c4 7f ff stm r4,r0-lr
60702 + *[0-9a-f]*: e9 ce 00 01 stm lr,r0
60703 + *[0-9a-f]*: e9 cd 49 2c stm sp,r2-r3,r5,r8,r11,lr
60704 + *[0-9a-f]*: e9 c4 4c 5f stm r4,r0-r4,r6,r10-r11,lr
60705 + *[0-9a-f]*: e9 c9 f2 22 stm r9,r1,r5,r9,r12-pc
60706 +
60707 +[0-9a-f]* <stm_pu>:
60708 + *[0-9a-f]*: eb cf 00 70 stm --pc,r4-r6
60709 + *[0-9a-f]*: eb cc ff ff stm --r12,r0-pc
60710 + *[0-9a-f]*: eb c5 80 00 stm --r5,pc
60711 + *[0-9a-f]*: eb c4 7f ff stm --r4,r0-lr
60712 + *[0-9a-f]*: eb ce 00 01 stm --lr,r0
60713 + *[0-9a-f]*: eb cb fb f1 stm --r11,r0,r4-r9,r11-pc
60714 + *[0-9a-f]*: eb cb 56 09 stm --r11,r0,r3,r9-r10,r12,lr
60715 + *[0-9a-f]*: eb c6 63 04 stm --r6,r2,r8-r9,sp-lr
60716 +
60717 +[0-9a-f]* <stmts>:
60718 + *[0-9a-f]*: ed cf 01 00 stmts pc,r8
60719 + *[0-9a-f]*: ed cc ff ff stmts r12,r0-pc
60720 + *[0-9a-f]*: ed c5 80 00 stmts r5,pc
60721 + *[0-9a-f]*: ed c4 7f ff stmts r4,r0-lr
60722 + *[0-9a-f]*: ed ce 00 01 stmts lr,r0
60723 + *[0-9a-f]*: ed c1 c6 5b stmts r1,r0-r1,r3-r4,r6,r9-r10,lr-pc
60724 + *[0-9a-f]*: ed c3 1d c1 stmts r3,r0,r6-r8,r10-r12
60725 + *[0-9a-f]*: ed cb d6 d1 stmts r11,r0,r4,r6-r7,r9-r10,r12,lr-pc
60726 +
60727 +[0-9a-f]* <stmts_pu>:
60728 + *[0-9a-f]*: ef cf 01 c0 stmts --pc,r6-r8
60729 + *[0-9a-f]*: ef cc ff ff stmts --r12,r0-pc
60730 + *[0-9a-f]*: ef c5 80 00 stmts --r5,pc
60731 + *[0-9a-f]*: ef c4 7f ff stmts --r4,r0-lr
60732 + *[0-9a-f]*: ef ce 00 01 stmts --lr,r0
60733 + *[0-9a-f]*: ef c2 36 19 stmts --r2,r0,r3-r4,r9-r10,r12-sp
60734 + *[0-9a-f]*: ef c3 c0 03 stmts --r3,r0-r1,lr-pc
60735 + *[0-9a-f]*: ef c0 44 7d stmts --r0,r0,r2-r6,r10,lr
60736 +
60737 +[0-9a-f]* <ldins_h>:
60738 + *[0-9a-f]*: ff df 00 00 ldins\.h pc:b,pc\[0\]
60739 + *[0-9a-f]*: f9 dc 1f ff ldins\.h r12:t,r12\[-2\]
60740 + *[0-9a-f]*: eb d5 18 00 ldins\.h r5:t,r5\[-4096\]
60741 + *[0-9a-f]*: e9 d4 07 ff ldins\.h r4:b,r4\[4094\]
60742 + *[0-9a-f]*: fd de 10 01 ldins\.h lr:t,lr\[2\]
60743 + *[0-9a-f]*: fd d0 13 c5 ldins\.h r0:t,lr\[1930\]
60744 + *[0-9a-f]*: ef d3 0e f5 ldins\.h r3:b,r7\[-534\]
60745 + *[0-9a-f]*: f9 d2 0b 9a ldins\.h r2:b,r12\[-2252\]
60746 +
60747 +[0-9a-f]* <ldins_b>:
60748 + *[0-9a-f]*: ff df 40 00 ldins\.b pc:b,pc\[0\]
60749 + *[0-9a-f]*: f9 dc 7f ff ldins\.b r12:t,r12\[-1\]
60750 + *[0-9a-f]*: eb d5 68 00 ldins\.b r5:u,r5\[-2048\]
60751 + *[0-9a-f]*: e9 d4 57 ff ldins\.b r4:l,r4\[2047\]
60752 + *[0-9a-f]*: fd de 50 01 ldins\.b lr:l,lr\[1\]
60753 + *[0-9a-f]*: e9 d6 7d 6a ldins\.b r6:t,r4\[-662\]
60754 + *[0-9a-f]*: e3 d5 4f 69 ldins\.b r5:b,r1\[-151\]
60755 + *[0-9a-f]*: f7 da 78 7d ldins\.b r10:t,r11\[-1923\]
60756 +
60757 +[0-9a-f]* <ldswp_sh>:
60758 + *[0-9a-f]*: ff df 20 00 ldswp\.sh pc,pc\[0\]
60759 + *[0-9a-f]*: f9 dc 2f ff ldswp\.sh r12,r12\[-2\]
60760 + *[0-9a-f]*: eb d5 28 00 ldswp\.sh r5,r5\[-4096\]
60761 + *[0-9a-f]*: e9 d4 27 ff ldswp\.sh r4,r4\[4094\]
60762 + *[0-9a-f]*: fd de 20 01 ldswp\.sh lr,lr\[2\]
60763 + *[0-9a-f]*: f5 d9 27 84 ldswp\.sh r9,r10\[3848\]
60764 + *[0-9a-f]*: f9 d4 2c 04 ldswp\.sh r4,r12\[-2040\]
60765 + *[0-9a-f]*: e5 da 26 08 ldswp\.sh r10,r2\[3088\]
60766 +
60767 +[0-9a-f]* <ldswp_uh>:
60768 + *[0-9a-f]*: ff df 30 00 ldswp\.uh pc,pc\[0\]
60769 + *[0-9a-f]*: f9 dc 3f ff ldswp\.uh r12,r12\[-2\]
60770 + *[0-9a-f]*: eb d5 38 00 ldswp\.uh r5,r5\[-4096\]
60771 + *[0-9a-f]*: e9 d4 37 ff ldswp\.uh r4,r4\[4094\]
60772 + *[0-9a-f]*: fd de 30 01 ldswp\.uh lr,lr\[2\]
60773 + *[0-9a-f]*: f3 d4 37 46 ldswp\.uh r4,r9\[3724\]
60774 + *[0-9a-f]*: fb de 3c bc ldswp\.uh lr,sp\[-1672\]
60775 + *[0-9a-f]*: f9 d8 38 7d ldswp\.uh r8,r12\[-3846\]
60776 +
60777 +[0-9a-f]* <ldswp_w>:
60778 + *[0-9a-f]*: ff df 80 00 ldswp\.w pc,pc\[0\]
60779 + *[0-9a-f]*: f9 dc 8f ff ldswp\.w r12,r12\[-4\]
60780 + *[0-9a-f]*: eb d5 88 00 ldswp\.w r5,r5\[-8192\]
60781 + *[0-9a-f]*: e9 d4 87 ff ldswp\.w r4,r4\[8188\]
60782 + *[0-9a-f]*: fd de 80 01 ldswp\.w lr,lr\[4\]
60783 + *[0-9a-f]*: ef dd 81 d1 ldswp\.w sp,r7\[1860\]
60784 + *[0-9a-f]*: eb df 8c c1 ldswp\.w pc,r5\[-3324\]
60785 + *[0-9a-f]*: f5 dc 8c c8 ldswp\.w r12,r10\[-3296\]
60786 +
60787 +[0-9a-f]* <stswp_h>:
60788 + *[0-9a-f]*: ff df 90 00 stswp\.h pc\[0\],pc
60789 + *[0-9a-f]*: f9 dc 9f ff stswp\.h r12\[-2\],r12
60790 + *[0-9a-f]*: eb d5 98 00 stswp\.h r5\[-4096\],r5
60791 + *[0-9a-f]*: e9 d4 97 ff stswp\.h r4\[4094\],r4
60792 + *[0-9a-f]*: fd de 90 01 stswp\.h lr\[2\],lr
60793 + *[0-9a-f]*: ef da 90 20 stswp\.h r7\[64\],r10
60794 + *[0-9a-f]*: f5 d2 95 e8 stswp\.h r10\[3024\],r2
60795 + *[0-9a-f]*: e1 da 9b 74 stswp\.h r0\[-2328\],r10
60796 +
60797 +[0-9a-f]* <stswp_w>:
60798 + *[0-9a-f]*: ff df a0 00 stswp\.w pc\[0\],pc
60799 + *[0-9a-f]*: f9 dc af ff stswp\.w r12\[-4\],r12
60800 + *[0-9a-f]*: eb d5 a8 00 stswp\.w r5\[-8192\],r5
60801 + *[0-9a-f]*: e9 d4 a7 ff stswp\.w r4\[8188\],r4
60802 + *[0-9a-f]*: fd de a0 01 stswp\.w lr\[4\],lr
60803 + *[0-9a-f]*: ff d8 a1 21 stswp\.w pc\[1156\],r8
60804 + *[0-9a-f]*: fb da a7 ce stswp\.w sp\[7992\],r10
60805 + *[0-9a-f]*: f1 d5 ae db stswp\.w r8\[-1172\],r5
60806 +
60807 +[0-9a-f]* <and2>:
60808 + *[0-9a-f]*: ff ef 00 0f and pc,pc,pc
60809 + *[0-9a-f]*: f9 ec 01 fc and r12,r12,r12<<0x1f
60810 + *[0-9a-f]*: eb e5 01 05 and r5,r5,r5<<0x10
60811 + *[0-9a-f]*: e9 e4 00 f4 and r4,r4,r4<<0xf
60812 + *[0-9a-f]*: fd ee 00 1e and lr,lr,lr<<0x1
60813 + *[0-9a-f]*: e5 e1 00 1a and r10,r2,r1<<0x1
60814 + *[0-9a-f]*: f1 eb 01 bc and r12,r8,r11<<0x1b
60815 + *[0-9a-f]*: ef e0 00 3a and r10,r7,r0<<0x3
60816 +
60817 +[0-9a-f]* <and3>:
60818 + *[0-9a-f]*: ff ef 02 0f and pc,pc,pc
60819 + *[0-9a-f]*: f9 ec 03 fc and r12,r12,r12>>0x1f
60820 + *[0-9a-f]*: eb e5 03 05 and r5,r5,r5>>0x10
60821 + *[0-9a-f]*: e9 e4 02 f4 and r4,r4,r4>>0xf
60822 + *[0-9a-f]*: fd ee 02 1e and lr,lr,lr>>0x1
60823 + *[0-9a-f]*: f1 e7 03 1c and r12,r8,r7>>0x11
60824 + *[0-9a-f]*: e9 e9 03 4f and pc,r4,r9>>0x14
60825 + *[0-9a-f]*: f3 ea 02 ca and r10,r9,r10>>0xc
60826 +
60827 +[0-9a-f]* <or2>:
60828 + *[0-9a-f]*: ff ef 10 0f or pc,pc,pc
60829 + *[0-9a-f]*: f9 ec 11 fc or r12,r12,r12<<0x1f
60830 + *[0-9a-f]*: eb e5 11 05 or r5,r5,r5<<0x10
60831 + *[0-9a-f]*: e9 e4 10 f4 or r4,r4,r4<<0xf
60832 + *[0-9a-f]*: fd ee 10 1e or lr,lr,lr<<0x1
60833 + *[0-9a-f]*: fb eb 11 d8 or r8,sp,r11<<0x1d
60834 + *[0-9a-f]*: f3 e2 11 cf or pc,r9,r2<<0x1c
60835 + *[0-9a-f]*: e3 e2 10 35 or r5,r1,r2<<0x3
60836 +
60837 +[0-9a-f]* <or3>:
60838 + *[0-9a-f]*: ff ef 12 0f or pc,pc,pc
60839 + *[0-9a-f]*: f9 ec 13 fc or r12,r12,r12>>0x1f
60840 + *[0-9a-f]*: eb e5 13 05 or r5,r5,r5>>0x10
60841 + *[0-9a-f]*: e9 e4 12 f4 or r4,r4,r4>>0xf
60842 + *[0-9a-f]*: fd ee 12 1e or lr,lr,lr>>0x1
60843 + *[0-9a-f]*: fb ed 12 21 or r1,sp,sp>>0x2
60844 + *[0-9a-f]*: e3 e1 13 d0 or r0,r1,r1>>0x1d
60845 + *[0-9a-f]*: f9 e8 12 84 or r4,r12,r8>>0x8
60846 +
60847 +[0-9a-f]* <eor2>:
60848 + *[0-9a-f]*: ff ef 20 0f eor pc,pc,pc
60849 + *[0-9a-f]*: f9 ec 21 fc eor r12,r12,r12<<0x1f
60850 + *[0-9a-f]*: eb e5 21 05 eor r5,r5,r5<<0x10
60851 + *[0-9a-f]*: e9 e4 20 f4 eor r4,r4,r4<<0xf
60852 + *[0-9a-f]*: fd ee 20 1e eor lr,lr,lr<<0x1
60853 + *[0-9a-f]*: f3 e4 20 ba eor r10,r9,r4<<0xb
60854 + *[0-9a-f]*: e1 e1 21 f4 eor r4,r0,r1<<0x1f
60855 + *[0-9a-f]*: e5 ec 20 d6 eor r6,r2,r12<<0xd
60856 +
60857 +[0-9a-f]* <eor3>:
60858 + *[0-9a-f]*: ff ef 22 0f eor pc,pc,pc
60859 + *[0-9a-f]*: f9 ec 23 fc eor r12,r12,r12>>0x1f
60860 + *[0-9a-f]*: eb e5 23 05 eor r5,r5,r5>>0x10
60861 + *[0-9a-f]*: e9 e4 22 f4 eor r4,r4,r4>>0xf
60862 + *[0-9a-f]*: fd ee 22 1e eor lr,lr,lr>>0x1
60863 + *[0-9a-f]*: eb e5 23 65 eor r5,r5,r5>>0x16
60864 + *[0-9a-f]*: e3 ee 22 3a eor r10,r1,lr>>0x3
60865 + *[0-9a-f]*: fd ed 23 a7 eor r7,lr,sp>>0x1a
60866 +
60867 +[0-9a-f]* <sthh_w2>:
60868 + *[0-9a-f]*: ff ef 8f 0f sthh\.w pc\[pc\],pc:b,pc:b
60869 + *[0-9a-f]*: f9 ec bc 3c sthh\.w r12\[r12<<0x3\],r12:t,r12:t
60870 + *[0-9a-f]*: eb e5 b5 25 sthh\.w r5\[r5<<0x2\],r5:t,r5:t
60871 + *[0-9a-f]*: e9 e4 84 14 sthh\.w r4\[r4<<0x1\],r4:b,r4:b
60872 + *[0-9a-f]*: fd ee be 1e sthh\.w lr\[lr<<0x1\],lr:t,lr:t
60873 + *[0-9a-f]*: e3 ec b6 3d sthh\.w sp\[r6<<0x3\],r1:t,r12:t
60874 + *[0-9a-f]*: f3 e9 b6 06 sthh\.w r6\[r6\],r9:t,r9:t
60875 + *[0-9a-f]*: e1 eb 93 0a sthh\.w r10\[r3\],r0:b,r11:t
60876 +
60877 +[0-9a-f]* <sthh_w1>:
60878 + *[0-9a-f]*: ff ef c0 0f sthh\.w pc\[0x0\],pc:b,pc:b
60879 + *[0-9a-f]*: f9 ec ff fc sthh\.w r12\[0x3fc\],r12:t,r12:t
60880 + *[0-9a-f]*: eb e5 f8 05 sthh\.w r5\[0x200\],r5:t,r5:t
60881 + *[0-9a-f]*: e9 e4 c7 f4 sthh\.w r4\[0x1fc\],r4:b,r4:b
60882 + *[0-9a-f]*: fd ee f0 1e sthh\.w lr\[0x4\],lr:t,lr:t
60883 + *[0-9a-f]*: f3 e0 e6 54 sthh\.w r4\[0x194\],r9:t,r0:b
60884 + *[0-9a-f]*: e5 ea e5 78 sthh\.w r8\[0x15c\],r2:t,r10:b
60885 + *[0-9a-f]*: f3 e2 c2 bd sthh\.w sp\[0xac\],r9:b,r2:b
60886 +
60887 +[0-9a-f]* <cop>:
60888 + *[0-9a-f]*: e1 a0 00 00 cop cp0,cr0,cr0,cr0,0x0
60889 + *[0-9a-f]*: e7 af ff ff cop cp7,cr15,cr15,cr15,0x7f
60890 + *[0-9a-f]*: e3 a8 75 55 cop cp3,cr5,cr5,cr5,0x31
60891 + *[0-9a-f]*: e3 a8 44 44 cop cp2,cr4,cr4,cr4,0x30
60892 + *[0-9a-f]*: e5 ad a8 37 cop cp5,cr8,cr3,cr7,0x5a
60893 +
60894 +[0-9a-f]* <ldc_w1>:
60895 + *[0-9a-f]*: e9 a0 00 00 ldc\.w cp0,cr0,r0\[0x0\]
60896 + *[0-9a-f]*: e9 af ef ff ldc\.w cp7,cr15,pc\[0x3fc\]
60897 + *[0-9a-f]*: e9 a5 65 80 ldc\.w cp3,cr5,r5\[0x200\]
60898 + *[0-9a-f]*: e9 a4 44 7f ldc\.w cp2,cr4,r4\[0x1fc\]
60899 + *[0-9a-f]*: e9 ad 89 24 ldc\.w cp4,cr9,sp\[0x90\]
60900 +
60901 +[0-9a-f]* <ldc_w2>:
60902 + *[0-9a-f]*: ef a0 00 40 ldc\.w cp0,cr0,--r0
60903 + *[0-9a-f]*: ef af ef 40 ldc\.w cp7,cr15,--pc
60904 + *[0-9a-f]*: ef a5 65 40 ldc\.w cp3,cr5,--r5
60905 + *[0-9a-f]*: ef a4 44 40 ldc\.w cp2,cr4,--r4
60906 + *[0-9a-f]*: ef ad 89 40 ldc\.w cp4,cr9,--sp
60907 +
60908 +[0-9a-f]* <ldc_w3>:
60909 + *[0-9a-f]*: ef a0 10 00 ldc\.w cp0,cr0,r0\[r0\]
60910 + *[0-9a-f]*: ef af ff 3f ldc\.w cp7,cr15,pc\[pc<<0x3\]
60911 + *[0-9a-f]*: ef a5 75 24 ldc\.w cp3,cr5,r5\[r4<<0x2\]
60912 + *[0-9a-f]*: ef a4 54 13 ldc\.w cp2,cr4,r4\[r3<<0x1\]
60913 + *[0-9a-f]*: ef ad 99 0c ldc\.w cp4,cr9,sp\[r12\]
60914 +
60915 +[0-9a-f]* <ldc_d1>:
60916 + *[0-9a-f]*: e9 a0 10 00 ldc\.d cp0,cr0,r0\[0x0\]
60917 + *[0-9a-f]*: e9 af fe ff ldc\.d cp7,cr14,pc\[0x3fc\]
60918 + *[0-9a-f]*: e9 a5 76 80 ldc\.d cp3,cr6,r5\[0x200\]
60919 + *[0-9a-f]*: e9 a4 54 7f ldc\.d cp2,cr4,r4\[0x1fc\]
60920 + *[0-9a-f]*: e9 ad 98 24 ldc\.d cp4,cr8,sp\[0x90\]
60921 +
60922 +[0-9a-f]* <ldc_d2>:
60923 + *[0-9a-f]*: ef a0 00 50 ldc\.d cp0,cr0,--r0
60924 + *[0-9a-f]*: ef af ee 50 ldc\.d cp7,cr14,--pc
60925 + *[0-9a-f]*: ef a5 66 50 ldc\.d cp3,cr6,--r5
60926 + *[0-9a-f]*: ef a4 44 50 ldc\.d cp2,cr4,--r4
60927 + *[0-9a-f]*: ef ad 88 50 ldc\.d cp4,cr8,--sp
60928 +
60929 +[0-9a-f]* <ldc_d3>:
60930 + *[0-9a-f]*: ef a0 10 40 ldc\.d cp0,cr0,r0\[r0\]
60931 + *[0-9a-f]*: ef af fe 7f ldc\.d cp7,cr14,pc\[pc<<0x3\]
60932 + *[0-9a-f]*: ef a5 76 64 ldc\.d cp3,cr6,r5\[r4<<0x2\]
60933 + *[0-9a-f]*: ef a4 54 53 ldc\.d cp2,cr4,r4\[r3<<0x1\]
60934 + *[0-9a-f]*: ef ad 98 4c ldc\.d cp4,cr8,sp\[r12\]
60935 +
60936 +[0-9a-f]* <stc_w1>:
60937 + *[0-9a-f]*: eb a0 00 00 stc\.w cp0,r0\[0x0\],cr0
60938 + *[0-9a-f]*: eb af ef ff stc\.w cp7,pc\[0x3fc\],cr15
60939 + *[0-9a-f]*: eb a5 65 80 stc\.w cp3,r5\[0x200\],cr5
60940 + *[0-9a-f]*: eb a4 44 7f stc\.w cp2,r4\[0x1fc\],cr4
60941 + *[0-9a-f]*: eb ad 89 24 stc\.w cp4,sp\[0x90\],cr9
60942 +
60943 +[0-9a-f]* <stc_w2>:
60944 + *[0-9a-f]*: ef a0 00 60 stc\.w cp0,r0\+\+,cr0
60945 + *[0-9a-f]*: ef af ef 60 stc\.w cp7,pc\+\+,cr15
60946 + *[0-9a-f]*: ef a5 65 60 stc\.w cp3,r5\+\+,cr5
60947 + *[0-9a-f]*: ef a4 44 60 stc\.w cp2,r4\+\+,cr4
60948 + *[0-9a-f]*: ef ad 89 60 stc\.w cp4,sp\+\+,cr9
60949 +
60950 +[0-9a-f]* <stc_w3>:
60951 + *[0-9a-f]*: ef a0 10 80 stc\.w cp0,r0\[r0\],cr0
60952 + *[0-9a-f]*: ef af ff bf stc\.w cp7,pc\[pc<<0x3\],cr15
60953 + *[0-9a-f]*: ef a5 75 a4 stc\.w cp3,r5\[r4<<0x2\],cr5
60954 + *[0-9a-f]*: ef a4 54 93 stc\.w cp2,r4\[r3<<0x1\],cr4
60955 + *[0-9a-f]*: ef ad 99 8c stc\.w cp4,sp\[r12\],cr9
60956 +
60957 +[0-9a-f]* <stc_d1>:
60958 + *[0-9a-f]*: eb a0 10 00 stc\.d cp0,r0\[0x0\],cr0
60959 + *[0-9a-f]*: eb af fe ff stc\.d cp7,pc\[0x3fc\],cr14
60960 + *[0-9a-f]*: eb a5 76 80 stc\.d cp3,r5\[0x200\],cr6
60961 + *[0-9a-f]*: eb a4 54 7f stc\.d cp2,r4\[0x1fc\],cr4
60962 + *[0-9a-f]*: eb ad 98 24 stc\.d cp4,sp\[0x90\],cr8
60963 +
60964 +[0-9a-f]* <stc_d2>:
60965 + *[0-9a-f]*: ef a0 00 70 stc\.d cp0,r0\+\+,cr0
60966 + *[0-9a-f]*: ef af ee 70 stc\.d cp7,pc\+\+,cr14
60967 + *[0-9a-f]*: ef a5 66 70 stc\.d cp3,r5\+\+,cr6
60968 + *[0-9a-f]*: ef a4 44 70 stc\.d cp2,r4\+\+,cr4
60969 + *[0-9a-f]*: ef ad 88 70 stc\.d cp4,sp\+\+,cr8
60970 +
60971 +[0-9a-f]* <stc_d3>:
60972 + *[0-9a-f]*: ef a0 10 c0 stc\.d cp0,r0\[r0\],cr0
60973 + *[0-9a-f]*: ef af fe ff stc\.d cp7,pc\[pc<<0x3\],cr14
60974 + *[0-9a-f]*: ef a5 76 e4 stc\.d cp3,r5\[r4<<0x2\],cr6
60975 + *[0-9a-f]*: ef a4 54 d3 stc\.d cp2,r4\[r3<<0x1\],cr4
60976 + *[0-9a-f]*: ef ad 98 cc stc\.d cp4,sp\[r12\],cr8
60977 +
60978 +[0-9a-f]* <ldc0_w>:
60979 + *[0-9a-f]*: f1 a0 00 00 ldc0\.w cr0,r0\[0x0\]
60980 + *[0-9a-f]*: f1 af ff ff ldc0\.w cr15,pc\[0x3ffc\]
60981 + *[0-9a-f]*: f1 a5 85 00 ldc0\.w cr5,r5\[0x2000\]
60982 + *[0-9a-f]*: f1 a4 74 ff ldc0\.w cr4,r4\[0x1ffc\]
60983 + *[0-9a-f]*: f1 ad 09 93 ldc0\.w cr9,sp\[0x24c\]
60984 +
60985 +[0-9a-f]* <ldc0_d>:
60986 + *[0-9a-f]*: f3 a0 00 00 ldc0\.d cr0,r0\[0x0\]
60987 + *[0-9a-f]*: f3 af fe ff ldc0\.d cr14,pc\[0x3ffc\]
60988 + *[0-9a-f]*: f3 a5 86 00 ldc0\.d cr6,r5\[0x2000\]
60989 + *[0-9a-f]*: f3 a4 74 ff ldc0\.d cr4,r4\[0x1ffc\]
60990 + *[0-9a-f]*: f3 ad 08 93 ldc0\.d cr8,sp\[0x24c\]
60991 +
60992 +[0-9a-f]* <stc0_w>:
60993 + *[0-9a-f]*: f5 a0 00 00 stc0\.w r0\[0x0\],cr0
60994 + *[0-9a-f]*: f5 af ff ff stc0\.w pc\[0x3ffc\],cr15
60995 + *[0-9a-f]*: f5 a5 85 00 stc0\.w r5\[0x2000\],cr5
60996 + *[0-9a-f]*: f5 a4 74 ff stc0\.w r4\[0x1ffc\],cr4
60997 + *[0-9a-f]*: f5 ad 09 93 stc0\.w sp\[0x24c\],cr9
60998 +
60999 +[0-9a-f]* <stc0_d>:
61000 + *[0-9a-f]*: f7 a0 00 00 stc0\.d r0\[0x0\],cr0
61001 + *[0-9a-f]*: f7 af fe ff stc0\.d pc\[0x3ffc\],cr14
61002 + *[0-9a-f]*: f7 a5 86 00 stc0\.d r5\[0x2000\],cr6
61003 + *[0-9a-f]*: f7 a4 74 ff stc0\.d r4\[0x1ffc\],cr4
61004 + *[0-9a-f]*: f7 ad 08 93 stc0\.d sp\[0x24c\],cr8
61005 +
61006 +[0-9a-f]* <memc>:
61007 + *[0-9a-f]*: f6 10 00 00 memc 0,0x0
61008 + *[0-9a-f]*: f6 1f ff ff memc -4,0x1f
61009 + *[0-9a-f]*: f6 18 40 00 memc -65536,0x10
61010 + *[0-9a-f]*: f6 17 bf ff memc 65532,0xf
61011 +
61012 +[0-9a-f]* <mems>:
61013 + *[0-9a-f]*: f8 10 00 00 mems 0,0x0
61014 + *[0-9a-f]*: f8 1f ff ff mems -4,0x1f
61015 + *[0-9a-f]*: f8 18 40 00 mems -65536,0x10
61016 + *[0-9a-f]*: f8 17 bf ff mems 65532,0xf
61017 +
61018 +[0-9a-f]* <memt>:
61019 + *[0-9a-f]*: fa 10 00 00 memt 0,0x0
61020 + *[0-9a-f]*: fa 1f ff ff memt -4,0x1f
61021 + *[0-9a-f]*: fa 18 40 00 memt -65536,0x10
61022 + *[0-9a-f]*: fa 17 bf ff memt 65532,0xf
61023 +
61024 +[0-9a-f]* <stcond>:
61025 + *[0-9a-f]*: e1 70 00 00 stcond r0\[0\],r0
61026 + *[0-9a-f]*: ff 7f ff ff stcond pc\[-1\],pc
61027 + *[0-9a-f]*: f1 77 80 00 stcond r8\[-32768\],r7
61028 + *[0-9a-f]*: ef 78 7f ff stcond r7\[32767\],r8
61029 + *[0-9a-f]*: eb 7a 12 34 stcond r5\[4660\],r10
61030 +
61031 +[0-9a-f]* <ldcm_w>:
61032 + *[0-9a-f]*: ed af 00 ff ldcm\.w cp0,pc,cr0-cr7
61033 + *[0-9a-f]*: ed a0 e0 01 ldcm\.w cp7,r0,cr0
61034 + *[0-9a-f]*: ed a4 90 7f ldcm\.w cp4,r4\+\+,cr0-cr6
61035 + *[0-9a-f]*: ed a7 60 80 ldcm\.w cp3,r7,cr7
61036 + *[0-9a-f]*: ed ac 30 72 ldcm\.w cp1,r12\+\+,cr1,cr4-cr6
61037 + *[0-9a-f]*: ed af 01 ff ldcm\.w cp0,pc,cr8-cr15
61038 + *[0-9a-f]*: ed a0 e1 01 ldcm\.w cp7,r0,cr8
61039 + *[0-9a-f]*: ed a4 91 7f ldcm\.w cp4,r4\+\+,cr8-cr14
61040 + *[0-9a-f]*: ed a7 61 80 ldcm\.w cp3,r7,cr15
61041 + *[0-9a-f]*: ed ac 31 72 ldcm\.w cp1,r12\+\+,cr9,cr12-cr14
61042 +
61043 +[0-9a-f]* <ldcm_d>:
61044 + *[0-9a-f]*: ed af 04 ff ldcm\.d cp0,pc,cr0-cr15
61045 + *[0-9a-f]*: ed a0 e4 01 ldcm\.d cp7,r0,cr0-cr1
61046 + *[0-9a-f]*: ed a4 94 7f ldcm\.d cp4,r4\+\+,cr0-cr13
61047 + *[0-9a-f]*: ed a7 64 80 ldcm\.d cp3,r7,cr14-cr15
61048 + *[0-9a-f]*: ed ac 54 93 ldcm\.d cp2,r12\+\+,cr0-cr3,cr8-cr9,cr14-cr15
61049 +
61050 +[0-9a-f]* <stcm_w>:
61051 + *[0-9a-f]*: ed af 02 ff stcm\.w cp0,pc,cr0-cr7
61052 + *[0-9a-f]*: ed a0 e2 01 stcm\.w cp7,r0,cr0
61053 + *[0-9a-f]*: ed a4 92 7f stcm\.w cp4,--r4,cr0-cr6
61054 + *[0-9a-f]*: ed a7 62 80 stcm\.w cp3,r7,cr7
61055 + *[0-9a-f]*: ed ac 32 72 stcm\.w cp1,--r12,cr1,cr4-cr6
61056 + *[0-9a-f]*: ed af 03 ff stcm\.w cp0,pc,cr8-cr15
61057 + *[0-9a-f]*: ed a0 e3 01 stcm\.w cp7,r0,cr8
61058 + *[0-9a-f]*: ed a4 93 7f stcm\.w cp4,--r4,cr8-cr14
61059 + *[0-9a-f]*: ed a7 63 80 stcm\.w cp3,r7,cr15
61060 + *[0-9a-f]*: ed ac 33 72 stcm\.w cp1,--r12,cr9,cr12-cr14
61061 +
61062 +[0-9a-f]* <stcm_d>:
61063 + *[0-9a-f]*: ed af 05 ff stcm\.d cp0,pc,cr0-cr15
61064 + *[0-9a-f]*: ed a0 e5 01 stcm\.d cp7,r0,cr0-cr1
61065 + *[0-9a-f]*: ed a4 95 7f stcm\.d cp4,--r4,cr0-cr13
61066 + *[0-9a-f]*: ed a7 65 80 stcm\.d cp3,r7,cr14-cr15
61067 + *[0-9a-f]*: ed ac 55 93 stcm\.d cp2,--r12,cr0-cr3,cr8-cr9,cr14-cr15
61068 +
61069 +[0-9a-f]* <mvcr_w>:
61070 + *[0-9a-f]*: ef af ef 00 mvcr\.w cp7,pc,cr15
61071 + *[0-9a-f]*: ef a0 00 00 mvcr\.w cp0,r0,cr0
61072 + *[0-9a-f]*: ef af 0f 00 mvcr\.w cp0,pc,cr15
61073 + *[0-9a-f]*: ef a0 ef 00 mvcr\.w cp7,r0,cr15
61074 + *[0-9a-f]*: ef af e0 00 mvcr\.w cp7,pc,cr0
61075 + *[0-9a-f]*: ef a7 88 00 mvcr\.w cp4,r7,cr8
61076 + *[0-9a-f]*: ef a8 67 00 mvcr\.w cp3,r8,cr7
61077 +
61078 +[0-9a-f]* <mvcr_d>:
61079 + *[0-9a-f]*: ef ae ee 10 mvcr\.d cp7,lr,cr14
61080 + *[0-9a-f]*: ef a0 00 10 mvcr\.d cp0,r0,cr0
61081 + *[0-9a-f]*: ef ae 0e 10 mvcr\.d cp0,lr,cr14
61082 + *[0-9a-f]*: ef a0 ee 10 mvcr\.d cp7,r0,cr14
61083 + *[0-9a-f]*: ef ae e0 10 mvcr\.d cp7,lr,cr0
61084 + *[0-9a-f]*: ef a6 88 10 mvcr\.d cp4,r6,cr8
61085 + *[0-9a-f]*: ef a8 66 10 mvcr\.d cp3,r8,cr6
61086 +
61087 +[0-9a-f]* <mvrc_w>:
61088 + *[0-9a-f]*: ef af ef 20 mvrc\.w cp7,cr15,pc
61089 + *[0-9a-f]*: ef a0 00 20 mvrc\.w cp0,cr0,r0
61090 + *[0-9a-f]*: ef af 0f 20 mvrc\.w cp0,cr15,pc
61091 + *[0-9a-f]*: ef a0 ef 20 mvrc\.w cp7,cr15,r0
61092 + *[0-9a-f]*: ef af e0 20 mvrc\.w cp7,cr0,pc
61093 + *[0-9a-f]*: ef a7 88 20 mvrc\.w cp4,cr8,r7
61094 + *[0-9a-f]*: ef a8 67 20 mvrc\.w cp3,cr7,r8
61095 +
61096 +[0-9a-f]* <mvrc_d>:
61097 + *[0-9a-f]*: ef ae ee 30 mvrc\.d cp7,cr14,lr
61098 + *[0-9a-f]*: ef a0 00 30 mvrc\.d cp0,cr0,r0
61099 + *[0-9a-f]*: ef ae 0e 30 mvrc\.d cp0,cr14,lr
61100 + *[0-9a-f]*: ef a0 ee 30 mvrc\.d cp7,cr14,r0
61101 + *[0-9a-f]*: ef ae e0 30 mvrc\.d cp7,cr0,lr
61102 + *[0-9a-f]*: ef a6 88 30 mvrc\.d cp4,cr8,r6
61103 + *[0-9a-f]*: ef a8 66 30 mvrc\.d cp3,cr6,r8
61104 +
61105 +[0-9a-f]* <bfexts>:
61106 + *[0-9a-f]*: ff df b3 ff bfexts pc,pc,0x1f,0x1f
61107 + *[0-9a-f]*: e1 d0 b0 00 bfexts r0,r0,0x0,0x0
61108 + *[0-9a-f]*: e1 df b3 ff bfexts r0,pc,0x1f,0x1f
61109 + *[0-9a-f]*: ff d0 b3 ff bfexts pc,r0,0x1f,0x1f
61110 + *[0-9a-f]*: ff df b0 1f bfexts pc,pc,0x0,0x1f
61111 + *[0-9a-f]*: ff df b3 e0 bfexts pc,pc,0x1f,0x0
61112 + *[0-9a-f]*: ef d8 b1 f0 bfexts r7,r8,0xf,0x10
61113 + *[0-9a-f]*: f1 d7 b2 0f bfexts r8,r7,0x10,0xf
61114 +
61115 +[0-9a-f]* <bfextu>:
61116 + *[0-9a-f]*: ff df c3 ff bfextu pc,pc,0x1f,0x1f
61117 + *[0-9a-f]*: e1 d0 c0 00 bfextu r0,r0,0x0,0x0
61118 + *[0-9a-f]*: e1 df c3 ff bfextu r0,pc,0x1f,0x1f
61119 + *[0-9a-f]*: ff d0 c3 ff bfextu pc,r0,0x1f,0x1f
61120 + *[0-9a-f]*: ff df c0 1f bfextu pc,pc,0x0,0x1f
61121 + *[0-9a-f]*: ff df c3 e0 bfextu pc,pc,0x1f,0x0
61122 + *[0-9a-f]*: ef d8 c1 f0 bfextu r7,r8,0xf,0x10
61123 + *[0-9a-f]*: f1 d7 c2 0f bfextu r8,r7,0x10,0xf
61124 +
61125 +[0-9a-f]* <bfins>:
61126 + *[0-9a-f]*: ff df d3 ff bfins pc,pc,0x1f,0x1f
61127 + *[0-9a-f]*: e1 d0 d0 00 bfins r0,r0,0x0,0x0
61128 + *[0-9a-f]*: e1 df d3 ff bfins r0,pc,0x1f,0x1f
61129 + *[0-9a-f]*: ff d0 d3 ff bfins pc,r0,0x1f,0x1f
61130 + *[0-9a-f]*: ff df d0 1f bfins pc,pc,0x0,0x1f
61131 + *[0-9a-f]*: ff df d3 e0 bfins pc,pc,0x1f,0x0
61132 + *[0-9a-f]*: ef d8 d1 f0 bfins r7,r8,0xf,0x10
61133 + *[0-9a-f]*: f1 d7 d2 0f bfins r8,r7,0x10,0xf
61134 Index: binutils-2.17/gas/testsuite/gas/avr32/allinsn.exp
61135 ===================================================================
61136 --- /dev/null 1970-01-01 00:00:00.000000000 +0000
61137 +++ binutils-2.17/gas/testsuite/gas/avr32/allinsn.exp 2007-06-28 09:19:36.642665920 +0200
61138 @@ -0,0 +1,5 @@
61139 +# AVR32 assembler testsuite. -*- Tcl -*-
61140 +
61141 +if [istarget avr32-*-*] {
61142 + run_dump_test "allinsn"
61143 +}
61144 Index: binutils-2.17/gas/testsuite/gas/avr32/allinsn.s
61145 ===================================================================
61146 --- /dev/null 1970-01-01 00:00:00.000000000 +0000
61147 +++ binutils-2.17/gas/testsuite/gas/avr32/allinsn.s 2007-06-28 09:19:36.643665768 +0200
61148 @@ -0,0 +1,3242 @@
61149 + .data
61150 +foodata: .word 42
61151 + .text
61152 +footext:
61153 + .text
61154 + .global ld_d5
61155 +ld_d5:
61156 + ld.d lr,pc[pc<<3]
61157 + ld.d r0,r0[r0<<0]
61158 + ld.d r6,r5[r5<<2]
61159 + ld.d r4,r4[r4<<1]
61160 + ld.d lr,lr[lr<<1]
61161 + ld.d r10,r3[sp<<2]
61162 + ld.d r8,r10[r6<<2]
61163 + ld.d r2,r7[r9<<0]
61164 + .text
61165 + .global ld_w5
61166 +ld_w5:
61167 + ld.w pc,pc[pc<<0]
61168 + ld.w r12,r12[r12<<3]
61169 + ld.w r5,r5[r5<<2]
61170 + ld.w r4,r4[r4<<1]
61171 + ld.w lr,lr[lr<<1]
61172 + ld.w r2,r9[r9<<0]
61173 + ld.w r11,r2[r6<<0]
61174 + ld.w r0,r2[sp<<3]
61175 + .text
61176 + .global ld_sh5
61177 +ld_sh5:
61178 + ld.sh pc,pc[pc<<0]
61179 + ld.sh r12,r12[r12<<3]
61180 + ld.sh r5,r5[r5<<2]
61181 + ld.sh r4,r4[r4<<1]
61182 + ld.sh lr,lr[lr<<1]
61183 + ld.sh r11,r0[pc<<2]
61184 + ld.sh r10,sp[r6<<2]
61185 + ld.sh r12,r2[r2<<0]
61186 + .text
61187 + .global ld_uh5
61188 +ld_uh5:
61189 + ld.uh pc,pc[pc<<0]
61190 + ld.uh r12,r12[r12<<3]
61191 + ld.uh r5,r5[r5<<2]
61192 + ld.uh r4,r4[r4<<1]
61193 + ld.uh lr,lr[lr<<1]
61194 + ld.uh r8,pc[lr<<3]
61195 + ld.uh r6,r1[pc<<1]
61196 + ld.uh r6,lr[sp<<1]
61197 + .text
61198 + .global ld_sb2
61199 +ld_sb2:
61200 + ld.sb pc,pc[pc<<0]
61201 + ld.sb r12,r12[r12<<3]
61202 + ld.sb r5,r5[r5<<2]
61203 + ld.sb r4,r4[r4<<1]
61204 + ld.sb lr,lr[lr<<1]
61205 + ld.sb r9,r1[pc<<3]
61206 + ld.sb r0,r3[r11<<1]
61207 + ld.sb r10,r5[r5<<1]
61208 + .text
61209 + .global ld_ub5
61210 +ld_ub5:
61211 + ld.ub pc,pc[pc<<0]
61212 + ld.ub r12,r12[r12<<3]
61213 + ld.ub r5,r5[r5<<2]
61214 + ld.ub r4,r4[r4<<1]
61215 + ld.ub lr,lr[lr<<1]
61216 + ld.ub r6,r12[r7<<3]
61217 + ld.ub r2,r6[r12<<0]
61218 + ld.ub r0,r7[r11<<1]
61219 + .text
61220 + .global st_d5
61221 +st_d5:
61222 + st.d pc[pc<<0],r14
61223 + st.d r12[r12<<3],r12
61224 + st.d r5[r5<<2],r6
61225 + st.d r4[r4<<1],r4
61226 + st.d lr[lr<<1],lr
61227 + st.d r1[r9<<1],r4
61228 + st.d r10[r2<<1],r4
61229 + st.d r12[r6<<0],lr
61230 + .text
61231 + .global st_w5
61232 +st_w5:
61233 + st.w pc[pc<<0],pc
61234 + st.w r12[r12<<3],r12
61235 + st.w r5[r5<<2],r5
61236 + st.w r4[r4<<1],r4
61237 + st.w lr[lr<<1],lr
61238 + st.w r1[r10<<0],r3
61239 + st.w r0[r10<<1],r9
61240 + st.w r4[r5<<3],pc
61241 + .text
61242 + .global st_h5
61243 +st_h5:
61244 + st.h pc[pc<<0],pc
61245 + st.h r12[r12<<3],r12
61246 + st.h r5[r5<<2],r5
61247 + st.h r4[r4<<1],r4
61248 + st.h lr[lr<<1],lr
61249 + st.h r2[r9<<0],r11
61250 + st.h r5[r1<<2],r12
61251 + st.h pc[r8<<2],r3
61252 + .text
61253 + .global st_b5
61254 +st_b5:
61255 + st.b pc[pc<<0],pc
61256 + st.b r12[r12<<3],r12
61257 + st.b r5[r5<<2],r5
61258 + st.b r4[r4<<1],r4
61259 + st.b lr[lr<<1],lr
61260 + st.b r1[r8<<1],r6
61261 + st.b lr[lr<<3],r1
61262 + st.b r5[r0<<2],pc
61263 + .text
61264 + .global divs
61265 +divs:
61266 + divs pc,pc,pc
61267 + divs r12,r12,r12
61268 + divs r5,r5,r5
61269 + divs r4,r4,r4
61270 + divs lr,lr,lr
61271 + divs r3,pc,pc
61272 + divs r9,r12,r2
61273 + divs r7,r4,r1
61274 + .text
61275 + .global add1
61276 +add1:
61277 + add pc,pc
61278 + add r12,r12
61279 + add r5,r5
61280 + add r4,r4
61281 + add lr,lr
61282 + add r12,r9
61283 + add r6,r3
61284 + add r10,r12
61285 + .text
61286 + .global sub1
61287 +sub1:
61288 + sub pc,pc
61289 + sub r12,r12
61290 + sub r5,r5
61291 + sub r4,r4
61292 + sub lr,lr
61293 + sub lr,r6
61294 + sub r0,sp
61295 + sub r6,r12
61296 + .text
61297 + .global rsub1
61298 +rsub1:
61299 + rsub pc,pc
61300 + rsub r12,r12
61301 + rsub r5,r5
61302 + rsub r4,r4
61303 + rsub lr,lr
61304 + rsub r11,sp
61305 + rsub r7,r4
61306 + rsub r9,r1
61307 + .text
61308 + .global cp1
61309 +cp1:
61310 + cp pc,pc
61311 + cp r12,r12
61312 + cp r5,r5
61313 + cp r4,r4
61314 + cp lr,lr
61315 + cp r6,r2
61316 + cp r0,r9
61317 + cp r3,sp
61318 + .text
61319 + .global or1
61320 +or1:
61321 + or pc,pc
61322 + or r12,r12
61323 + or r5,r5
61324 + or r4,r4
61325 + or lr,lr
61326 + or r4,r9
61327 + or r11,r4
61328 + or r4,r0
61329 + .text
61330 + .global eor1
61331 +eor1:
61332 + eor pc,pc
61333 + eor r12,r12
61334 + eor r5,r5
61335 + eor r4,r4
61336 + eor lr,lr
61337 + eor r12,r11
61338 + eor r0,r1
61339 + eor r5,pc
61340 + .text
61341 + .global and1
61342 +and1:
61343 + and pc,pc
61344 + and r12,r12
61345 + and r5,r5
61346 + and r4,r4
61347 + and lr,lr
61348 + and r8,r1
61349 + and r0,sp
61350 + and r10,r5
61351 + .text
61352 + .global tst
61353 +tst:
61354 + tst pc,pc
61355 + tst r12,r12
61356 + tst r5,r5
61357 + tst r4,r4
61358 + tst lr,lr
61359 + tst r0,r12
61360 + tst r10,r6
61361 + tst sp,r4
61362 + .text
61363 + .global andn
61364 +andn:
61365 + andn pc,pc
61366 + andn r12,r12
61367 + andn r5,r5
61368 + andn r4,r4
61369 + andn lr,lr
61370 + andn r9,r12
61371 + andn r11,sp
61372 + andn r12,r5
61373 + .text
61374 + .global mov3
61375 +mov3:
61376 + mov pc,pc
61377 + mov r12,r12
61378 + mov r5,r5
61379 + mov r4,r4
61380 + mov lr,lr
61381 + mov r5,r9
61382 + mov r11,r11
61383 + mov r2,lr
61384 + .text
61385 + .global st_w1
61386 +st_w1:
61387 + st.w pc++,pc
61388 + st.w r12++,r12
61389 + st.w r5++,r5
61390 + st.w r4++,r4
61391 + st.w lr++,lr
61392 + st.w r1++,r11
61393 + st.w sp++,r0
61394 + st.w sp++,r1
61395 + .text
61396 + .global st_h1
61397 +st_h1:
61398 + st.h pc++,pc
61399 + st.h r12++,r12
61400 + st.h r5++,r5
61401 + st.h r4++,r4
61402 + st.h lr++,lr
61403 + st.h r12++,sp
61404 + st.h r7++,lr
61405 + st.h r7++,r4
61406 + .text
61407 + .global st_b1
61408 +st_b1:
61409 + st.b pc++,pc
61410 + st.b r12++,r12
61411 + st.b r5++,r5
61412 + st.b r4++,r4
61413 + st.b lr++,lr
61414 + st.b r9++,sp
61415 + st.b r1++,sp
61416 + st.b r0++,r4
61417 + .text
61418 + .global st_w2
61419 +st_w2:
61420 + st.w --pc,pc
61421 + st.w --r12,r12
61422 + st.w --r5,r5
61423 + st.w --r4,r4
61424 + st.w --lr,lr
61425 + st.w --r1,r7
61426 + st.w --r3,r9
61427 + st.w --r5,r5
61428 + .text
61429 + .global st_h2
61430 +st_h2:
61431 + st.h --pc,pc
61432 + st.h --r12,r12
61433 + st.h --r5,r5
61434 + st.h --r4,r4
61435 + st.h --lr,lr
61436 + st.h --r5,r7
61437 + st.h --r8,r8
61438 + st.h --r7,r2
61439 + .text
61440 + .global st_b2
61441 +st_b2:
61442 + st.b --pc,pc
61443 + st.b --r12,r12
61444 + st.b --r5,r5
61445 + st.b --r4,r4
61446 + st.b --lr,lr
61447 + st.b --sp,sp
61448 + st.b --sp,r11
61449 + st.b --r4,r5
61450 + .text
61451 + .global ld_w1
61452 +ld_w1:
61453 + ld.w pc,pc++
61454 + ld.w r12,r12++
61455 + ld.w r5,r5++
61456 + ld.w r4,r4++
61457 + ld.w lr,lr++
61458 + ld.w r3,r7++
61459 + ld.w r3,lr++
61460 + ld.w r12,r5++
61461 + .text
61462 + .global ld_sh1
61463 +ld_sh1:
61464 + ld.sh pc,pc++
61465 + ld.sh r12,r12++
61466 + ld.sh r5,r5++
61467 + ld.sh r4,r4++
61468 + ld.sh lr,lr++
61469 + ld.sh r11,r2++
61470 + ld.sh r2,r8++
61471 + ld.sh r7,r6++
61472 + .text
61473 + .global ld_uh1
61474 +ld_uh1:
61475 + ld.uh pc,pc++
61476 + ld.uh r12,r12++
61477 + ld.uh r5,r5++
61478 + ld.uh r4,r4++
61479 + ld.uh lr,lr++
61480 + ld.uh r6,r7++
61481 + ld.uh r10,r11++
61482 + ld.uh lr,r4++
61483 + .text
61484 + .global ld_ub1
61485 +ld_ub1:
61486 + ld.ub pc,pc++
61487 + ld.ub r12,r12++
61488 + ld.ub r5,r5++
61489 + ld.ub r4,r4++
61490 + ld.ub lr,lr++
61491 + ld.ub r8,lr++
61492 + ld.ub r12,r12++
61493 + ld.ub r11,r10++
61494 + .text
61495 + .global ld_w2
61496 +ld_w2:
61497 + ld.w pc,--pc
61498 + ld.w r12,--r12
61499 + ld.w r5,--r5
61500 + ld.w r4,--r4
61501 + ld.w lr,--lr
61502 + ld.w r10,--lr
61503 + ld.w r12,--r9
61504 + ld.w r6,--r5
61505 + .text
61506 + .global ld_sh2
61507 +ld_sh2:
61508 + ld.sh pc,--pc
61509 + ld.sh r12,--r12
61510 + ld.sh r5,--r5
61511 + ld.sh r4,--r4
61512 + ld.sh lr,--lr
61513 + ld.sh pc,--r10
61514 + ld.sh r6,--r3
61515 + ld.sh r4,--r6
61516 + .text
61517 + .global ld_uh2
61518 +ld_uh2:
61519 + ld.uh pc,--pc
61520 + ld.uh r12,--r12
61521 + ld.uh r5,--r5
61522 + ld.uh r4,--r4
61523 + ld.uh lr,--lr
61524 + ld.uh r3,--r2
61525 + ld.uh r1,--r0
61526 + ld.uh r2,--r9
61527 + .text
61528 + .global ld_ub2
61529 +ld_ub2:
61530 + ld.ub pc,--pc
61531 + ld.ub r12,--r12
61532 + ld.ub r5,--r5
61533 + ld.ub r4,--r4
61534 + ld.ub lr,--lr
61535 + ld.ub r1,--r1
61536 + ld.ub r0,--r6
61537 + ld.ub r2,--r7
61538 + .text
61539 + .global ld_ub3
61540 +ld_ub3:
61541 + ld.ub pc,pc[0]
61542 + ld.ub r12,r12[7]
61543 + ld.ub r5,r5[4]
61544 + ld.ub r4,r4[3]
61545 + ld.ub lr,lr[1]
61546 + ld.ub r6,r9[6]
61547 + ld.ub r2,lr[4]
61548 + ld.ub r1,r8[0]
61549 + .text
61550 + .global sub3_sp
61551 +sub3_sp:
61552 + sub sp,0
61553 + sub sp,-4
61554 + sub sp,-512
61555 + sub sp,508
61556 + sub sp,4
61557 + sub sp,44
61558 + sub sp,8
61559 + sub sp,348
61560 + .text
61561 + .global sub3
61562 +sub3:
61563 + sub pc,0
61564 + sub r12,-1
61565 + sub r5,-128
61566 + sub r4,127
61567 + sub lr,1
61568 + sub r6,-41
61569 + sub r4,37
61570 + sub r12,56
61571 + .text
61572 + .global mov1
61573 +mov1:
61574 + mov pc,0
61575 + mov r12,-1
61576 + mov r5,-128
61577 + mov r4,127
61578 + mov lr,1
61579 + mov pc,14
61580 + mov r6,-100
61581 + mov lr,-122
61582 + .text
61583 + .global lddsp
61584 +lddsp:
61585 + lddsp pc,sp[0]
61586 + lddsp r12,sp[508]
61587 + lddsp r5,sp[256]
61588 + lddsp r4,sp[252]
61589 + lddsp lr,sp[4]
61590 + lddsp lr,sp[256]
61591 + lddsp r12,sp[20]
61592 + lddsp r9,sp[472]
61593 + .text
61594 + .global lddpc
61595 +lddpc:
61596 + lddpc pc,pc[0]
61597 + lddpc r0,pc[508]
61598 + lddpc r8,pc[256]
61599 + lddpc r7,pc[252]
61600 + lddpc lr,pc[4]
61601 + lddpc sp,pc[472]
61602 + lddpc r6,pc[120]
61603 + lddpc r11,pc[28]
61604 + .text
61605 + .global stdsp
61606 +stdsp:
61607 + stdsp sp[0],pc
61608 + stdsp sp[508],r12
61609 + stdsp sp[256],r5
61610 + stdsp sp[252],r4
61611 + stdsp sp[4],lr
61612 + stdsp sp[304],pc
61613 + stdsp sp[256],r0
61614 + stdsp sp[336],r5
61615 + .text
61616 + .global cp2
61617 +cp2:
61618 + cp pc,0
61619 + cp r12,-1
61620 + cp r5,-32
61621 + cp r4,31
61622 + cp lr,1
61623 + cp r8,3
61624 + cp lr,16
61625 + cp r7,-26
61626 + .text
61627 + .global acr
61628 +acr:
61629 + acr pc
61630 + acr r12
61631 + acr r5
61632 + acr r4
61633 + acr lr
61634 + acr r2
61635 + acr r12
61636 + acr pc
61637 + .text
61638 + .global scr
61639 +scr:
61640 + scr pc
61641 + scr r12
61642 + scr r5
61643 + scr r4
61644 + scr lr
61645 + scr pc
61646 + scr r6
61647 + scr r1
61648 + .text
61649 + .global cpc0
61650 +cpc0:
61651 + cpc pc
61652 + cpc r12
61653 + cpc r5
61654 + cpc r4
61655 + cpc lr
61656 + cpc pc
61657 + cpc r4
61658 + cpc r9
61659 + .text
61660 + .global neg
61661 +neg:
61662 + neg pc
61663 + neg r12
61664 + neg r5
61665 + neg r4
61666 + neg lr
61667 + neg r7
61668 + neg r1
61669 + neg r9
61670 + .text
61671 + .global abs
61672 +abs:
61673 + abs pc
61674 + abs r12
61675 + abs r5
61676 + abs r4
61677 + abs lr
61678 + abs r6
61679 + abs r6
61680 + abs r4
61681 + .text
61682 + .global castu_b
61683 +castu_b:
61684 + castu.b pc
61685 + castu.b r12
61686 + castu.b r5
61687 + castu.b r4
61688 + castu.b lr
61689 + castu.b r7
61690 + castu.b sp
61691 + castu.b r9
61692 + .text
61693 + .global casts_b
61694 +casts_b:
61695 + casts.b pc
61696 + casts.b r12
61697 + casts.b r5
61698 + casts.b r4
61699 + casts.b lr
61700 + casts.b r11
61701 + casts.b r1
61702 + casts.b r10
61703 + .text
61704 + .global castu_h
61705 +castu_h:
61706 + castu.h pc
61707 + castu.h r12
61708 + castu.h r5
61709 + castu.h r4
61710 + castu.h lr
61711 + castu.h r10
61712 + castu.h r11
61713 + castu.h r1
61714 + .text
61715 + .global casts_h
61716 +casts_h:
61717 + casts.h pc
61718 + casts.h r12
61719 + casts.h r5
61720 + casts.h r4
61721 + casts.h lr
61722 + casts.h r0
61723 + casts.h r5
61724 + casts.h r9
61725 + .text
61726 + .global brev
61727 +brev:
61728 + brev pc
61729 + brev r12
61730 + brev r5
61731 + brev r4
61732 + brev lr
61733 + brev r5
61734 + brev r10
61735 + brev r8
61736 + .text
61737 + .global swap_h
61738 +swap_h:
61739 + swap.h pc
61740 + swap.h r12
61741 + swap.h r5
61742 + swap.h r4
61743 + swap.h lr
61744 + swap.h r7
61745 + swap.h r0
61746 + swap.h r8
61747 + .text
61748 + .global swap_b
61749 +swap_b:
61750 + swap.b pc
61751 + swap.b r12
61752 + swap.b r5
61753 + swap.b r4
61754 + swap.b lr
61755 + swap.b r10
61756 + swap.b r12
61757 + swap.b r1
61758 + .text
61759 + .global swap_bh
61760 +swap_bh:
61761 + swap.bh pc
61762 + swap.bh r12
61763 + swap.bh r5
61764 + swap.bh r4
61765 + swap.bh lr
61766 + swap.bh r9
61767 + swap.bh r4
61768 + swap.bh r1
61769 + .text
61770 + .global One_s_compliment
61771 +One_s_compliment:
61772 + com pc
61773 + com r12
61774 + com r5
61775 + com r4
61776 + com lr
61777 + com r2
61778 + com r2
61779 + com r7
61780 + .text
61781 + .global tnbz
61782 +tnbz:
61783 + tnbz pc
61784 + tnbz r12
61785 + tnbz r5
61786 + tnbz r4
61787 + tnbz lr
61788 + tnbz r8
61789 + tnbz r12
61790 + tnbz pc
61791 + .text
61792 + .global rol
61793 +rol:
61794 + rol pc
61795 + rol r12
61796 + rol r5
61797 + rol r4
61798 + rol lr
61799 + rol r10
61800 + rol r9
61801 + rol r5
61802 + .text
61803 + .global ror
61804 +ror:
61805 + ror pc
61806 + ror r12
61807 + ror r5
61808 + ror r4
61809 + ror lr
61810 + ror r8
61811 + ror r4
61812 + ror r7
61813 + .text
61814 + .global icall
61815 +icall:
61816 + icall pc
61817 + icall r12
61818 + icall r5
61819 + icall r4
61820 + icall lr
61821 + icall r3
61822 + icall r1
61823 + icall r3
61824 + .text
61825 + .global mustr
61826 +mustr:
61827 + mustr pc
61828 + mustr r12
61829 + mustr r5
61830 + mustr r4
61831 + mustr lr
61832 + mustr r1
61833 + mustr r4
61834 + mustr r12
61835 + .text
61836 + .global musfr
61837 +musfr:
61838 + musfr pc
61839 + musfr r12
61840 + musfr r5
61841 + musfr r4
61842 + musfr lr
61843 + musfr r11
61844 + musfr r12
61845 + musfr r2
61846 + .text
61847 + .global ret_cond
61848 +ret_cond:
61849 + reteq pc
61850 + retal r12
61851 + retls r5
61852 + retpl r4
61853 + retne lr
61854 + retgt r0
61855 + retgt r12
61856 + retge r10
61857 + .text
61858 + .global sr_cond
61859 +sr_cond:
61860 + sreq pc
61861 + sral r12
61862 + srls r5
61863 + srpl r4
61864 + srne lr
61865 + srlt r0
61866 + sral sp
61867 + srge r9
61868 + .text
61869 + .global ld_w3
61870 +ld_w3:
61871 + ld.w pc,pc[0]
61872 + ld.w r12,r12[124]
61873 + ld.w r5,r5[64]
61874 + ld.w r4,r4[60]
61875 + ld.w lr,lr[4]
61876 + ld.w sp,r2[52]
61877 + ld.w r9,r1[8]
61878 + ld.w r5,sp[60]
61879 + .text
61880 + .global ld_sh3
61881 +ld_sh3:
61882 + ld.sh pc,pc[0]
61883 + ld.sh r12,r12[14]
61884 + ld.sh r5,r5[8]
61885 + ld.sh r4,r4[6]
61886 + ld.sh lr,lr[2]
61887 + ld.sh r4,r2[8]
61888 + ld.sh sp,lr[10]
61889 + ld.sh r2,r11[2]
61890 + .text
61891 + .global ld_uh3
61892 +ld_uh3:
61893 + ld.uh pc,pc[0]
61894 + ld.uh r12,r12[14]
61895 + ld.uh r5,r5[8]
61896 + ld.uh r4,r4[6]
61897 + ld.uh lr,lr[2]
61898 + ld.uh r10,r0[10]
61899 + ld.uh r8,r11[8]
61900 + ld.uh r10,r2[12]
61901 + .text
61902 + .global st_w3
61903 +st_w3:
61904 + st.w pc[0],pc
61905 + st.w r12[60],r12
61906 + st.w r5[32],r5
61907 + st.w r4[28],r4
61908 + st.w lr[4],lr
61909 + st.w r7[44],r11
61910 + st.w r2[24],r6
61911 + st.w r4[12],r9
61912 + .text
61913 + .global st_h3
61914 +st_h3:
61915 + st.h pc[0],pc
61916 + st.h r12[14],r12
61917 + st.h r5[8],r5
61918 + st.h r4[6],r4
61919 + st.h lr[2],lr
61920 + st.h lr[10],r12
61921 + st.h r6[4],r0
61922 + st.h r5[12],sp
61923 + .text
61924 + .global st_b3
61925 +st_b3:
61926 + st.b pc[0],pc
61927 + st.b r12[7],r12
61928 + st.b r5[4],r5
61929 + st.b r4[3],r4
61930 + st.b lr[1],lr
61931 + st.b r12[6],r9
61932 + st.b r2[3],lr
61933 + st.b r1[3],r11
61934 + .text
61935 + .global ldd
61936 +ldd:
61937 + ld.d r0,pc
61938 + ld.d r14,r12
61939 + ld.d r8,r5
61940 + ld.d r6,r4
61941 + ld.d r2,lr
61942 + ld.d r14,r7
61943 + ld.d r4,r4
61944 + ld.d r14,pc
61945 + .text
61946 + .global ldd_postinc
61947 +ldd_postinc:
61948 + ld.d r0,pc++
61949 + ld.d r14,r12++
61950 + ld.d r8,r5++
61951 + ld.d r6,r4++
61952 + ld.d r2,lr++
61953 + ld.d r14,r5++
61954 + ld.d r12,r11++
61955 + ld.d r2,r12++
61956 + .text
61957 + .global ldd_predec
61958 +ldd_predec:
61959 + ld.d r0,--pc
61960 + ld.d r14,--r12
61961 + ld.d r8,--r5
61962 + ld.d r6,--r4
61963 + ld.d r2,--lr
61964 + ld.d r8,--r0
61965 + ld.d r10,--pc
61966 + ld.d r2,--r4
61967 + .text
61968 + .global std
61969 +std:
61970 + st.d pc,r0
61971 + st.d r12,r14
61972 + st.d r5,r8
61973 + st.d r4,r6
61974 + st.d lr,r2
61975 + st.d r0,r12
61976 + st.d sp,r4
61977 + st.d r12,r12
61978 + .text
61979 + .global std_postinc
61980 +std_postinc:
61981 + st.d pc++,r0
61982 + st.d r12++,r14
61983 + st.d r5++,r8
61984 + st.d r4++,r6
61985 + st.d lr++,r2
61986 + st.d sp++,r6
61987 + st.d r10++,r6
61988 + st.d r7++,r2
61989 + .text
61990 + .global std_predec
61991 +std_predec:
61992 + st.d --pc,r0
61993 + st.d --r12,r14
61994 + st.d --r5,r8
61995 + st.d --r4,r6
61996 + st.d --lr,r2
61997 + st.d --r3,r6
61998 + st.d --lr,r2
61999 + st.d --r0,r4
62000 + .text
62001 + .global mul
62002 +mul:
62003 + mul pc,pc
62004 + mul r12,r12
62005 + mul r5,r5
62006 + mul r4,r4
62007 + mul lr,lr
62008 + mul r10,lr
62009 + mul r0,r8
62010 + mul r8,r5
62011 + .text
62012 + .global asr_imm5
62013 +asr_imm5:
62014 + asr pc,0
62015 + asr r12,31
62016 + asr r5,16
62017 + asr r4,15
62018 + asr lr,1
62019 + asr r6,23
62020 + asr r6,18
62021 + asr r5,8
62022 + .text
62023 + .global lsl_imm5
62024 +lsl_imm5:
62025 + lsl pc,0
62026 + lsl r12,31
62027 + lsl r5,16
62028 + lsl r4,15
62029 + lsl lr,1
62030 + lsl r12,13
62031 + lsl r6,16
62032 + lsl r1,25
62033 + .text
62034 + .global lsr_imm5
62035 +lsr_imm5:
62036 + lsr pc,0
62037 + lsr r12,31
62038 + lsr r5,16
62039 + lsr r4,15
62040 + lsr lr,1
62041 + lsr r0,1
62042 + lsr r8,10
62043 + lsr r7,26
62044 + .text
62045 + .global sbr
62046 +sbr:
62047 + sbr pc,0
62048 + sbr r12,31
62049 + sbr r5,16
62050 + sbr r4,15
62051 + sbr lr,1
62052 + sbr r8,31
62053 + sbr r6,22
62054 + sbr r1,23
62055 + .text
62056 + .global cbr
62057 +cbr:
62058 + cbr pc,0
62059 + cbr r12,31
62060 + cbr r5,16
62061 + cbr r4,15
62062 + cbr lr,1
62063 + cbr r12,10
62064 + cbr r7,22
62065 + cbr r8,9
62066 + .text
62067 + .global brc1
62068 +brc1:
62069 + breq 0
62070 + brpl -2
62071 + brge -256
62072 + brcs 254
62073 + brne 2
62074 + brcs 230
62075 + breq -18
62076 + breq 12
62077 + .text
62078 + .global rjmp
62079 +rjmp:
62080 + rjmp 0
62081 + rjmp -2
62082 + rjmp -1024
62083 + rjmp 1022
62084 + rjmp 2
62085 + rjmp -962
62086 + rjmp 14
62087 + rjmp -516
62088 + .text
62089 + .global rcall1
62090 +rcall1:
62091 + rcall 0
62092 + rcall -2
62093 + rcall -1024
62094 + rcall 1022
62095 + rcall 2
62096 + rcall 216
62097 + rcall -530
62098 + rcall -972
62099 + .text
62100 + .global acall
62101 +acall:
62102 + acall 0
62103 + acall 1020
62104 + acall 512
62105 + acall 508
62106 + acall 4
62107 + acall 356
62108 + acall 304
62109 + acall 172
62110 + .text
62111 + .global scall
62112 +scall:
62113 + scall
62114 + scall
62115 + scall
62116 + scall
62117 + scall
62118 + scall
62119 + scall
62120 + scall
62121 + .text
62122 + .global popm
62123 +popm:
62124 + /* popm with no argument fails currently */
62125 + popm pc
62126 + popm r0-r11,pc,r12=-1
62127 + popm lr
62128 + popm r0-r11,pc,r12=1
62129 + popm r0-r3
62130 + popm r4-r10,pc
62131 + popm r0-r3,r11,pc,r12=0
62132 + popm r0-r7,r10-r12,lr
62133 + .text
62134 + .global pushm
62135 +pushm:
62136 + pushm pc
62137 + pushm r0-r12,lr,pc
62138 + pushm pc
62139 + pushm r0-r12,lr
62140 + pushm r0-r3
62141 + pushm r8-r10,lr,pc
62142 + pushm r0-r3,r10
62143 + pushm r8-r9,r12
62144 + .text
62145 + .global popm_n
62146 +popm_n:
62147 + popm pc
62148 + popm r0-r11,pc,r12=-1
62149 + popm lr
62150 + popm r0-r11,pc,r12=1
62151 + popm r0-r3
62152 + popm r4-r10,pc
62153 + popm r0-r3,r11,pc,r12=0
62154 + popm r0-r7,r10-r12,lr
62155 + .text
62156 + .global pushm_n
62157 +pushm_n:
62158 + pushm pc
62159 + pushm r0-r12,lr,pc
62160 + pushm pc
62161 + pushm r0-r12,lr
62162 + pushm r0-r3
62163 + pushm r8-r10,lr,pc
62164 + pushm r0-r3,r10
62165 + pushm r8-r9,r12
62166 + .text
62167 + .global csrfcz
62168 +csrfcz:
62169 + csrfcz 0
62170 + csrfcz 31
62171 + csrfcz 16
62172 + csrfcz 15
62173 + csrfcz 1
62174 + csrfcz 5
62175 + csrfcz 13
62176 + csrfcz 23
62177 + .text
62178 + .global ssrf
62179 +ssrf:
62180 + ssrf 0
62181 + ssrf 31
62182 + ssrf 16
62183 + ssrf 15
62184 + ssrf 1
62185 + ssrf 29
62186 + ssrf 13
62187 + ssrf 13
62188 + .text
62189 + .global csrf
62190 +csrf:
62191 + csrf 0
62192 + csrf 31
62193 + csrf 16
62194 + csrf 15
62195 + csrf 1
62196 + csrf 10
62197 + csrf 15
62198 + csrf 11
62199 + .text
62200 + .global rete
62201 +rete:
62202 + rete
62203 + .text
62204 + .global rets
62205 +rets:
62206 + rets
62207 + .text
62208 + .global retd
62209 +retd:
62210 + retd
62211 + .text
62212 + .global retj
62213 +retj:
62214 + retj
62215 + .text
62216 + .global tlbr
62217 +tlbr:
62218 + tlbr
62219 + .text
62220 + .global tlbs
62221 +tlbs:
62222 + tlbs
62223 + .text
62224 + .global tlbw
62225 +tlbw:
62226 + tlbw
62227 + .text
62228 + .global breakpoint
62229 +breakpoint:
62230 + breakpoint
62231 + .text
62232 + .global incjosp
62233 +incjosp:
62234 + incjosp 1
62235 + incjosp 2
62236 + incjosp 3
62237 + incjosp 4
62238 + incjosp -4
62239 + incjosp -3
62240 + incjosp -2
62241 + incjosp -1
62242 + .text
62243 + .global nop
62244 +nop:
62245 + nop
62246 + .text
62247 + .global popjc
62248 +popjc:
62249 + popjc
62250 + .text
62251 + .global pushjc
62252 +pushjc:
62253 + pushjc
62254 + .text
62255 + .global add2
62256 +add2:
62257 + add pc,pc,pc<<0
62258 + add r12,r12,r12<<3
62259 + add r5,r5,r5<<2
62260 + add r4,r4,r4<<1
62261 + add lr,lr,lr<<1
62262 + add r0,r12,r0<<1
62263 + add r9,r12,r4<<0
62264 + add r12,r12,r7<<2
62265 + .text
62266 + .global sub2
62267 +sub2:
62268 + sub pc,pc,pc<<0
62269 + sub r12,r12,r12<<3
62270 + sub r5,r5,r5<<2
62271 + sub r4,r4,r4<<1
62272 + sub lr,lr,lr<<1
62273 + sub sp,r3,r4<<0
62274 + sub r3,r7,r3<<0
62275 + sub sp,r10,sp<<1
62276 + .text
62277 + .global divu
62278 +divu:
62279 + divu pc,pc,pc
62280 + divu r12,r12,r12
62281 + divu r5,r5,r5
62282 + divu r4,r4,r4
62283 + divu lr,lr,lr
62284 + divu sp,r4,pc
62285 + divu r5,r5,sp
62286 + divu r10,sp,r0
62287 + .text
62288 + .global addhh_w
62289 +addhh_w:
62290 + addhh.w pc,pc:b,pc:b
62291 + addhh.w r12,r12:t,r12:t
62292 + addhh.w r5,r5:t,r5:t
62293 + addhh.w r4,r4:b,r4:b
62294 + addhh.w lr,lr:t,lr:t
62295 + addhh.w r0,r0:b,r3:b
62296 + addhh.w lr,r12:t,r7:b
62297 + addhh.w r3,r10:t,r2:b
62298 + .text
62299 + .global subhh_w
62300 +subhh_w:
62301 + subhh.w pc,pc:b,pc:b
62302 + subhh.w r12,r12:t,r12:t
62303 + subhh.w r5,r5:t,r5:t
62304 + subhh.w r4,r4:b,r4:b
62305 + subhh.w lr,lr:t,lr:t
62306 + subhh.w r10,r1:t,r7:b
62307 + subhh.w pc,r10:t,lr:t
62308 + subhh.w r3,r0:t,r12:b
62309 + .text
62310 + .global adc
62311 +adc:
62312 + adc pc,pc,pc
62313 + adc r12,r12,r12
62314 + adc r5,r5,r5
62315 + adc r4,r4,r4
62316 + adc lr,lr,lr
62317 + adc r4,r0,r7
62318 + adc sp,r4,r3
62319 + adc r2,r12,r0
62320 + .text
62321 + .global sbc
62322 +sbc:
62323 + sbc pc,pc,pc
62324 + sbc r12,r12,r12
62325 + sbc r5,r5,r5
62326 + sbc r4,r4,r4
62327 + sbc lr,lr,lr
62328 + sbc r6,r7,r9
62329 + sbc r0,r8,r5
62330 + sbc r1,r0,r4
62331 + .text
62332 + .global mul_2
62333 +mul_2:
62334 + mul pc,pc,pc
62335 + mul r12,r12,r12
62336 + mul r5,r5,r5
62337 + mul r4,r4,r4
62338 + mul lr,lr,lr
62339 + mul pc,r0,r0
62340 + mul r8,pc,lr
62341 + mul r4,r12,pc
62342 + .text
62343 + .global mac
62344 +mac:
62345 + mac pc,pc,pc
62346 + mac r12,r12,r12
62347 + mac r5,r5,r5
62348 + mac r4,r4,r4
62349 + mac lr,lr,lr
62350 + mac r10,r4,r0
62351 + mac r7,lr,r0
62352 + mac r2,r9,r12
62353 + .text
62354 + .global mulsd
62355 +mulsd:
62356 + muls.d pc,pc,pc
62357 + muls.d r12,r12,r12
62358 + muls.d r5,r5,r5
62359 + muls.d r4,r4,r4
62360 + muls.d lr,lr,lr
62361 + muls.d r2,r8,lr
62362 + muls.d r4,r0,r11
62363 + muls.d r5,lr,r6
62364 + .text
62365 + .global macsd
62366 +macsd:
62367 + macs.d r0,pc,pc
62368 + macs.d r14,r12,r12
62369 + macs.d r8,r5,r5
62370 + macs.d r6,r4,r4
62371 + macs.d r2,lr,lr
62372 + macs.d r8,r1,r9
62373 + macs.d r14,r8,r8
62374 + macs.d r4,r3,r12
62375 + .text
62376 + .global mulud
62377 +mulud:
62378 + mulu.d r0,pc,pc
62379 + mulu.d r14,r12,r12
62380 + mulu.d r8,r5,r5
62381 + mulu.d r6,r4,r4
62382 + mulu.d r2,lr,lr
62383 + mulu.d r6,r5,r0
62384 + mulu.d r4,r6,r1
62385 + mulu.d r8,r8,r2
62386 + .text
62387 + .global macud
62388 +macud:
62389 + macu.d r0,pc,pc
62390 + macu.d r14,r12,r12
62391 + macu.d r8,r5,r5
62392 + macu.d r6,r4,r4
62393 + macu.d r2,lr,lr
62394 + macu.d r6,sp,r11
62395 + macu.d r2,r4,r8
62396 + macu.d r6,r10,r9
62397 + .text
62398 + .global asr_1
62399 +asr_1:
62400 + asr pc,pc,pc
62401 + asr r12,r12,r12
62402 + asr r5,r5,r5
62403 + asr r4,r4,r4
62404 + asr lr,lr,lr
62405 + asr pc,r6,pc
62406 + asr r0,r6,r12
62407 + asr r4,sp,r0
62408 + .text
62409 + .global lsl_1
62410 +lsl_1:
62411 + lsl pc,pc,pc
62412 + lsl r12,r12,r12
62413 + lsl r5,r5,r5
62414 + lsl r4,r4,r4
62415 + lsl lr,lr,lr
62416 + lsl lr,r5,lr
62417 + lsl r5,pc,r3
62418 + lsl r1,pc,r9
62419 + .text
62420 + .global lsr_1
62421 +lsr_1:
62422 + lsr pc,pc,pc
62423 + lsr r12,r12,r12
62424 + lsr r5,r5,r5
62425 + lsr r4,r4,r4
62426 + lsr lr,lr,lr
62427 + lsr r2,r4,r1
62428 + lsr r5,r1,r6
62429 + lsr sp,r6,r7
62430 + .text
62431 + .global xchg
62432 +xchg:
62433 + xchg pc,pc,pc
62434 + xchg r12,r12,r12
62435 + xchg r5,r5,r5
62436 + xchg r4,r4,r4
62437 + xchg lr,lr,lr
62438 + xchg lr,r4,sp
62439 + xchg r1,r5,r12
62440 + xchg lr,r12,r0
62441 + .text
62442 + .global max
62443 +max:
62444 + max pc,pc,pc
62445 + max r12,r12,r12
62446 + max r5,r5,r5
62447 + max r4,r4,r4
62448 + max lr,lr,lr
62449 + max lr,r2,sp
62450 + max r4,r10,r9
62451 + max lr,r9,lr
62452 + .text
62453 + .global min
62454 +min:
62455 + min pc,pc,pc
62456 + min r12,r12,r12
62457 + min r5,r5,r5
62458 + min r4,r4,r4
62459 + min lr,lr,lr
62460 + min r9,r7,r8
62461 + min sp,r5,r5
62462 + min r4,r1,r4
62463 + .text
62464 + .global addabs
62465 +addabs:
62466 + addabs pc,pc,pc
62467 + addabs r12,r12,r12
62468 + addabs r5,r5,r5
62469 + addabs r4,r4,r4
62470 + addabs lr,lr,lr
62471 + addabs r7,r10,r0
62472 + addabs r9,r9,r7
62473 + addabs r2,r8,r12
62474 + .text
62475 + .global mulnhh_w
62476 +mulnhh_w:
62477 + mulnhh.w pc,pc:b,pc:b
62478 + mulnhh.w r12,r12:t,r12:t
62479 + mulnhh.w r5,r5:t,r5:t
62480 + mulnhh.w r4,r4:b,r4:b
62481 + mulnhh.w lr,lr:t,lr:t
62482 + mulnhh.w r11,sp:t,r9:b
62483 + mulnhh.w sp,r4:b,lr:t
62484 + mulnhh.w r12,r2:t,r11:b
62485 + .text
62486 + .global mulnwh_d
62487 +mulnwh_d:
62488 + mulnwh.d r0,pc,pc:b
62489 + mulnwh.d r14,r12,r12:t
62490 + mulnwh.d r8,r5,r5:t
62491 + mulnwh.d r6,r4,r4:b
62492 + mulnwh.d r2,lr,lr:t
62493 + mulnwh.d r14,r3,r2:t
62494 + mulnwh.d r4,r5,r9:b
62495 + mulnwh.d r12,r4,r4:t
62496 + .text
62497 + .global machh_w
62498 +machh_w:
62499 + machh.w pc,pc:b,pc:b
62500 + machh.w r12,r12:t,r12:t
62501 + machh.w r5,r5:t,r5:t
62502 + machh.w r4,r4:b,r4:b
62503 + machh.w lr,lr:t,lr:t
62504 + machh.w lr,r5:b,r1:t
62505 + machh.w r9,r6:b,r7:b
62506 + machh.w r5,lr:t,r12:b
62507 + .text
62508 + .global machh_d
62509 +machh_d:
62510 + machh.d r0,pc:b,pc:b
62511 + machh.d r14,r12:t,r12:t
62512 + machh.d r8,r5:t,r5:t
62513 + machh.d r6,r4:b,r4:b
62514 + machh.d r2,lr:t,lr:t
62515 + machh.d r10,r0:b,r8:b
62516 + machh.d r14,r4:b,r5:t
62517 + machh.d r8,r0:b,r4:t
62518 + .text
62519 + .global macsathh_w
62520 +macsathh_w:
62521 + macsathh.w pc,pc:b,pc:b
62522 + macsathh.w r12,r12:t,r12:t
62523 + macsathh.w r5,r5:t,r5:t
62524 + macsathh.w r4,r4:b,r4:b
62525 + macsathh.w lr,lr:t,lr:t
62526 + macsathh.w r7,r7:t,pc:t
62527 + macsathh.w r4,r2:t,r4:b
62528 + macsathh.w r4,r8:t,r3:t
62529 + .text
62530 + .global mulhh_w
62531 +mulhh_w:
62532 + mulhh.w pc,pc:b,pc:b
62533 + mulhh.w r12,r12:t,r12:t
62534 + mulhh.w r5,r5:t,r5:t
62535 + mulhh.w r4,r4:b,r4:b
62536 + mulhh.w lr,lr:t,lr:t
62537 + mulhh.w r7,r4:t,r9:b
62538 + mulhh.w pc,r3:t,r7:t
62539 + mulhh.w pc,r4:b,r9:t
62540 + .text
62541 + .global mulsathh_h
62542 +mulsathh_h:
62543 + mulsathh.h pc,pc:b,pc:b
62544 + mulsathh.h r12,r12:t,r12:t
62545 + mulsathh.h r5,r5:t,r5:t
62546 + mulsathh.h r4,r4:b,r4:b
62547 + mulsathh.h lr,lr:t,lr:t
62548 + mulsathh.h r3,r1:b,sp:b
62549 + mulsathh.h r11,lr:t,r11:b
62550 + mulsathh.h r8,r8:b,r11:t
62551 + .text
62552 + .global mulsathh_w
62553 +mulsathh_w:
62554 + mulsathh.w pc,pc:b,pc:b
62555 + mulsathh.w r12,r12:t,r12:t
62556 + mulsathh.w r5,r5:t,r5:t
62557 + mulsathh.w r4,r4:b,r4:b
62558 + mulsathh.w lr,lr:t,lr:t
62559 + mulsathh.w lr,r11:t,r6:b
62560 + mulsathh.w r6,r6:b,r7:t
62561 + mulsathh.w r10,r2:b,r3:b
62562 + .text
62563 + .global mulsatrndhh_h
62564 +mulsatrndhh_h:
62565 + mulsatrndhh.h pc,pc:b,pc:b
62566 + mulsatrndhh.h r12,r12:t,r12:t
62567 + mulsatrndhh.h r5,r5:t,r5:t
62568 + mulsatrndhh.h r4,r4:b,r4:b
62569 + mulsatrndhh.h lr,lr:t,lr:t
62570 + mulsatrndhh.h r11,r6:b,r9:b
62571 + mulsatrndhh.h r11,r3:b,r8:t
62572 + mulsatrndhh.h r5,sp:t,r7:t
62573 + .text
62574 + .global mulsatrndwh_w
62575 +mulsatrndwh_w:
62576 + mulsatrndwh.w pc,pc,pc:b
62577 + mulsatrndwh.w r12,r12,r12:t
62578 + mulsatrndwh.w r5,r5,r5:t
62579 + mulsatrndwh.w r4,r4,r4:b
62580 + mulsatrndwh.w lr,lr,lr:t
62581 + mulsatrndwh.w r5,r12,r0:b
62582 + mulsatrndwh.w r7,r10,pc:b
62583 + mulsatrndwh.w r10,r8,r5:t
62584 + .text
62585 + .global macwh_d
62586 +macwh_d:
62587 + macwh.d r0,pc,pc:b
62588 + macwh.d r14,r12,r12:t
62589 + macwh.d r8,r5,r5:t
62590 + macwh.d r6,r4,r4:b
62591 + macwh.d r2,lr,lr:t
62592 + macwh.d r4,r10,r12:t
62593 + macwh.d r4,r7,sp:b
62594 + macwh.d r14,r9,r11:b
62595 + .text
62596 + .global mulwh_d
62597 +mulwh_d:
62598 + mulwh.d r0,pc,pc:b
62599 + mulwh.d r14,r12,r12:t
62600 + mulwh.d r8,r5,r5:t
62601 + mulwh.d r6,r4,r4:b
62602 + mulwh.d r2,lr,lr:t
62603 + mulwh.d r12,r5,r1:b
62604 + mulwh.d r0,r1,r3:t
62605 + mulwh.d r0,r9,r2:b
62606 + .text
62607 + .global mulsatwh_w
62608 +mulsatwh_w:
62609 + mulsatwh.w pc,pc,pc:b
62610 + mulsatwh.w r12,r12,r12:t
62611 + mulsatwh.w r5,r5,r5:t
62612 + mulsatwh.w r4,r4,r4:b
62613 + mulsatwh.w lr,lr,lr:t
62614 + mulsatwh.w r11,pc,r10:t
62615 + mulsatwh.w sp,r12,r9:t
62616 + mulsatwh.w r0,r3,r2:t
62617 + .text
62618 + .global ldw7
62619 +ldw7:
62620 + ld.w pc,pc[pc:b<<2]
62621 + ld.w r12,r12[r12:t<<2]
62622 + ld.w r5,r5[r5:u<<2]
62623 + ld.w r4,r4[r4:l<<2]
62624 + ld.w lr,lr[lr:l<<2]
62625 + ld.w r9,r10[r6:l<<2]
62626 + ld.w r2,r10[r10:b<<2]
62627 + ld.w r11,r5[pc:b<<2]
62628 + .text
62629 + .global satadd_w
62630 +satadd_w:
62631 + satadd.w pc,pc,pc
62632 + satadd.w r12,r12,r12
62633 + satadd.w r5,r5,r5
62634 + satadd.w r4,r4,r4
62635 + satadd.w lr,lr,lr
62636 + satadd.w r4,r8,r11
62637 + satadd.w r3,r12,r6
62638 + satadd.w r3,lr,r9
62639 + .text
62640 + .global satsub_w1
62641 +satsub_w1:
62642 + satsub.w pc,pc,pc
62643 + satsub.w r12,r12,r12
62644 + satsub.w r5,r5,r5
62645 + satsub.w r4,r4,r4
62646 + satsub.w lr,lr,lr
62647 + satsub.w r8,sp,r0
62648 + satsub.w r9,r8,r4
62649 + satsub.w pc,lr,r2
62650 + .text
62651 + .global satadd_h
62652 +satadd_h:
62653 + satadd.h pc,pc,pc
62654 + satadd.h r12,r12,r12
62655 + satadd.h r5,r5,r5
62656 + satadd.h r4,r4,r4
62657 + satadd.h lr,lr,lr
62658 + satadd.h r7,r3,r9
62659 + satadd.h r1,r0,r2
62660 + satadd.h r1,r4,lr
62661 + .text
62662 + .global satsub_h
62663 +satsub_h:
62664 + satsub.h pc,pc,pc
62665 + satsub.h r12,r12,r12
62666 + satsub.h r5,r5,r5
62667 + satsub.h r4,r4,r4
62668 + satsub.h lr,lr,lr
62669 + satsub.h lr,lr,r3
62670 + satsub.h r11,r6,r5
62671 + satsub.h r3,sp,r0
62672 + .text
62673 + .global mul3
62674 +mul3:
62675 + mul pc,pc,0
62676 + mul r12,r12,-1
62677 + mul r5,r5,-128
62678 + mul r4,r4,127
62679 + mul lr,lr,1
62680 + mul r12,r2,-7
62681 + mul r1,pc,95
62682 + mul r4,r6,19
62683 + .text
62684 + .global rsub2
62685 +rsub2:
62686 + rsub pc,pc,0
62687 + rsub r12,r12,-1
62688 + rsub r5,r5,-128
62689 + rsub r4,r4,127
62690 + rsub lr,lr,1
62691 + rsub r9,lr,96
62692 + rsub r11,r1,56
62693 + rsub r0,r7,-87
62694 + .text
62695 + .global clz
62696 +clz:
62697 + clz pc,pc
62698 + clz r12,r12
62699 + clz r5,r5
62700 + clz r4,r4
62701 + clz lr,lr
62702 + clz r2,r3
62703 + clz r5,r11
62704 + clz pc,r3
62705 + .text
62706 + .global cpc1
62707 +cpc1:
62708 + cpc pc,pc
62709 + cpc r12,r12
62710 + cpc r5,r5
62711 + cpc r4,r4
62712 + cpc lr,lr
62713 + cpc pc,r4
62714 + cpc r5,r9
62715 + cpc r6,r7
62716 + .text
62717 + .global asr3
62718 +asr3:
62719 + asr pc,pc,0
62720 + asr r12,r12,31
62721 + asr r5,r5,16
62722 + asr r4,r4,15
62723 + asr lr,lr,1
62724 + asr r4,r11,19
62725 + asr sp,pc,26
62726 + asr r11,sp,8
62727 + .text
62728 + .global lsl3
62729 +lsl3:
62730 + lsl pc,pc,0
62731 + lsl r12,r12,31
62732 + lsl r5,r5,16
62733 + lsl r4,r4,15
62734 + lsl lr,lr,1
62735 + lsl r8,r10,17
62736 + lsl r2,lr,3
62737 + lsl lr,r11,14
62738 + .text
62739 + .global lsr3
62740 +lsr3:
62741 + lsr pc,pc,0
62742 + lsr r12,r12,31
62743 + lsr r5,r5,16
62744 + lsr r4,r4,15
62745 + lsr lr,lr,1
62746 + lsr r4,r3,31
62747 + lsr pc,r9,14
62748 + lsr r3,r0,6
62749 +/* .text
62750 + .global extract_b
62751 +extract_b:
62752 + extract.b pc,pc:b
62753 + extract.b r12,r12:t
62754 + extract.b r5,r5:u
62755 + extract.b r4,r4:l
62756 + extract.b lr,lr:l
62757 + extract.b r2,r5:l
62758 + extract.b r12,r3:l
62759 + extract.b sp,r3:l
62760 + .text
62761 + .global insert_b
62762 +insert_b:
62763 + insert.b pc:b,pc
62764 + insert.b r12:t,r12
62765 + insert.b r5:u,r5
62766 + insert.b r4:l,r4
62767 + insert.b lr:l,lr
62768 + insert.b r12:u,r3
62769 + insert.b r10:l,lr
62770 + insert.b r11:l,r12
62771 + .text
62772 + .global extract_h
62773 +extract_h:
62774 + extract.h pc,pc:b
62775 + extract.h r12,r12:t
62776 + extract.h r5,r5:t
62777 + extract.h r4,r4:b
62778 + extract.h lr,lr:t
62779 + extract.h r11,lr:b
62780 + extract.h r10,r0:b
62781 + extract.h r11,r12:b
62782 + .text
62783 + .global insert_h
62784 +insert_h:
62785 + insert.h pc:b,pc
62786 + insert.h r12:t,r12
62787 + insert.h r5:t,r5
62788 + insert.h r4:b,r4
62789 + insert.h lr:t,lr
62790 + insert.h r12:t,r11
62791 + insert.h r7:b,r6
62792 + insert.h r1:t,r11 */
62793 + .text
62794 + .global movc1
62795 +movc1:
62796 + moveq pc,pc
62797 + moval r12,r12
62798 + movls r5,r5
62799 + movpl r4,r4
62800 + movne lr,lr
62801 + movne pc,r11
62802 + movmi r10,r2
62803 + movls r8,r12
62804 + .text
62805 + .global padd_h
62806 +padd_h:
62807 + padd.h pc,pc,pc
62808 + padd.h r12,r12,r12
62809 + padd.h r5,r5,r5
62810 + padd.h r4,r4,r4
62811 + padd.h lr,lr,lr
62812 + padd.h r8,r2,r7
62813 + padd.h r0,r0,r3
62814 + padd.h sp,r11,r6
62815 + .text
62816 + .global psub_h
62817 +psub_h:
62818 + psub.h pc,pc,pc
62819 + psub.h r12,r12,r12
62820 + psub.h r5,r5,r5
62821 + psub.h r4,r4,r4
62822 + psub.h lr,lr,lr
62823 + psub.h lr,r6,r8
62824 + psub.h r0,r1,sp
62825 + psub.h pc,pc,sp
62826 + .text
62827 + .global paddx_h
62828 +paddx_h:
62829 + paddx.h pc,pc,pc
62830 + paddx.h r12,r12,r12
62831 + paddx.h r5,r5,r5
62832 + paddx.h r4,r4,r4
62833 + paddx.h lr,lr,lr
62834 + paddx.h pc,pc,r1
62835 + paddx.h r10,r4,r5
62836 + paddx.h r5,pc,r2
62837 + .text
62838 + .global psubx_h
62839 +psubx_h:
62840 + psubx.h pc,pc,pc
62841 + psubx.h r12,r12,r12
62842 + psubx.h r5,r5,r5
62843 + psubx.h r4,r4,r4
62844 + psubx.h lr,lr,lr
62845 + psubx.h r5,r12,r5
62846 + psubx.h r3,r8,r3
62847 + psubx.h r5,r2,r3
62848 + .text
62849 + .global padds_sh
62850 +padds_sh:
62851 + padds.sh pc,pc,pc
62852 + padds.sh r12,r12,r12
62853 + padds.sh r5,r5,r5
62854 + padds.sh r4,r4,r4
62855 + padds.sh lr,lr,lr
62856 + padds.sh r9,lr,r2
62857 + padds.sh r6,r8,r1
62858 + padds.sh r6,r4,r10
62859 + .text
62860 + .global psubs_sh
62861 +psubs_sh:
62862 + psubs.sh pc,pc,pc
62863 + psubs.sh r12,r12,r12
62864 + psubs.sh r5,r5,r5
62865 + psubs.sh r4,r4,r4
62866 + psubs.sh lr,lr,lr
62867 + psubs.sh r6,lr,r11
62868 + psubs.sh r2,r12,r4
62869 + psubs.sh r0,r9,r0
62870 + .text
62871 + .global paddxs_sh
62872 +paddxs_sh:
62873 + paddxs.sh pc,pc,pc
62874 + paddxs.sh r12,r12,r12
62875 + paddxs.sh r5,r5,r5
62876 + paddxs.sh r4,r4,r4
62877 + paddxs.sh lr,lr,lr
62878 + paddxs.sh r0,r3,r9
62879 + paddxs.sh pc,r10,r11
62880 + paddxs.sh pc,r10,pc
62881 + .text
62882 + .global psubxs_sh
62883 +psubxs_sh:
62884 + psubxs.sh pc,pc,pc
62885 + psubxs.sh r12,r12,r12
62886 + psubxs.sh r5,r5,r5
62887 + psubxs.sh r4,r4,r4
62888 + psubxs.sh lr,lr,lr
62889 + psubxs.sh r7,r4,r4
62890 + psubxs.sh r7,r8,r3
62891 + psubxs.sh pc,r6,r5
62892 + .text
62893 + .global padds_uh
62894 +padds_uh:
62895 + padds.uh pc,pc,pc
62896 + padds.uh r12,r12,r12
62897 + padds.uh r5,r5,r5
62898 + padds.uh r4,r4,r4
62899 + padds.uh lr,lr,lr
62900 + padds.uh r12,r11,r7
62901 + padds.uh r7,r8,lr
62902 + padds.uh r6,r9,r7
62903 + .text
62904 + .global psubs_uh
62905 +psubs_uh:
62906 + psubs.uh pc,pc,pc
62907 + psubs.uh r12,r12,r12
62908 + psubs.uh r5,r5,r5
62909 + psubs.uh r4,r4,r4
62910 + psubs.uh lr,lr,lr
62911 + psubs.uh lr,r10,r6
62912 + psubs.uh sp,r2,pc
62913 + psubs.uh r2,r9,r2
62914 + .text
62915 + .global paddxs_uh
62916 +paddxs_uh:
62917 + paddxs.uh pc,pc,pc
62918 + paddxs.uh r12,r12,r12
62919 + paddxs.uh r5,r5,r5
62920 + paddxs.uh r4,r4,r4
62921 + paddxs.uh lr,lr,lr
62922 + paddxs.uh r7,r9,r5
62923 + paddxs.uh r9,r1,r4
62924 + paddxs.uh r5,r2,r3
62925 + .text
62926 + .global psubxs_uh
62927 +psubxs_uh:
62928 + psubxs.uh pc,pc,pc
62929 + psubxs.uh r12,r12,r12
62930 + psubxs.uh r5,r5,r5
62931 + psubxs.uh r4,r4,r4
62932 + psubxs.uh lr,lr,lr
62933 + psubxs.uh sp,r5,sp
62934 + psubxs.uh sp,r6,r6
62935 + psubxs.uh r3,r11,r8
62936 + .text
62937 + .global paddh_sh
62938 +paddh_sh:
62939 + paddh.sh pc,pc,pc
62940 + paddh.sh r12,r12,r12
62941 + paddh.sh r5,r5,r5
62942 + paddh.sh r4,r4,r4
62943 + paddh.sh lr,lr,lr
62944 + paddh.sh r12,sp,r3
62945 + paddh.sh pc,r5,r3
62946 + paddh.sh r8,r8,sp
62947 + .text
62948 + .global psubh_sh
62949 +psubh_sh:
62950 + psubh.sh pc,pc,pc
62951 + psubh.sh r12,r12,r12
62952 + psubh.sh r5,r5,r5
62953 + psubh.sh r4,r4,r4
62954 + psubh.sh lr,lr,lr
62955 + psubh.sh r1,r5,r8
62956 + psubh.sh r7,r3,r6
62957 + psubh.sh r4,r3,r3
62958 + .text
62959 + .global paddxh_sh
62960 +paddxh_sh:
62961 + paddxh.sh pc,pc,pc
62962 + paddxh.sh r12,r12,r12
62963 + paddxh.sh r5,r5,r5
62964 + paddxh.sh r4,r4,r4
62965 + paddxh.sh lr,lr,lr
62966 + paddxh.sh r6,r0,r4
62967 + paddxh.sh r9,r8,r9
62968 + paddxh.sh r3,r0,sp
62969 + .text
62970 + .global psubxh_sh
62971 +psubxh_sh:
62972 + psubxh.sh pc,pc,pc
62973 + psubxh.sh r12,r12,r12
62974 + psubxh.sh r5,r5,r5
62975 + psubxh.sh r4,r4,r4
62976 + psubxh.sh lr,lr,lr
62977 + psubxh.sh r4,pc,r12
62978 + psubxh.sh r8,r4,r6
62979 + psubxh.sh r12,r9,r4
62980 + .text
62981 + .global paddsub_h
62982 +paddsub_h:
62983 + paddsub.h pc,pc:b,pc:b
62984 + paddsub.h r12,r12:t,r12:t
62985 + paddsub.h r5,r5:t,r5:t
62986 + paddsub.h r4,r4:b,r4:b
62987 + paddsub.h lr,lr:t,lr:t
62988 + paddsub.h r5,r2:t,lr:b
62989 + paddsub.h r7,r1:b,r8:b
62990 + paddsub.h r6,r10:t,r5:t
62991 + .text
62992 + .global psubadd_h
62993 +psubadd_h:
62994 + psubadd.h pc,pc:b,pc:b
62995 + psubadd.h r12,r12:t,r12:t
62996 + psubadd.h r5,r5:t,r5:t
62997 + psubadd.h r4,r4:b,r4:b
62998 + psubadd.h lr,lr:t,lr:t
62999 + psubadd.h r9,r11:t,r8:t
63000 + psubadd.h r10,r7:t,lr:t
63001 + psubadd.h r6,pc:t,pc:b
63002 + .text
63003 + .global paddsubs_sh
63004 +paddsubs_sh:
63005 + paddsubs.sh pc,pc:b,pc:b
63006 + paddsubs.sh r12,r12:t,r12:t
63007 + paddsubs.sh r5,r5:t,r5:t
63008 + paddsubs.sh r4,r4:b,r4:b
63009 + paddsubs.sh lr,lr:t,lr:t
63010 + paddsubs.sh r0,lr:t,r0:b
63011 + paddsubs.sh r9,r2:t,r4:t
63012 + paddsubs.sh r12,r9:t,sp:t
63013 + .text
63014 + .global psubadds_sh
63015 +psubadds_sh:
63016 + psubadds.sh pc,pc:b,pc:b
63017 + psubadds.sh r12,r12:t,r12:t
63018 + psubadds.sh r5,r5:t,r5:t
63019 + psubadds.sh r4,r4:b,r4:b
63020 + psubadds.sh lr,lr:t,lr:t
63021 + psubadds.sh pc,lr:b,r1:t
63022 + psubadds.sh r11,r3:b,r12:b
63023 + psubadds.sh r10,r2:t,r8:t
63024 + .text
63025 + .global paddsubs_uh
63026 +paddsubs_uh:
63027 + paddsubs.uh pc,pc:b,pc:b
63028 + paddsubs.uh r12,r12:t,r12:t
63029 + paddsubs.uh r5,r5:t,r5:t
63030 + paddsubs.uh r4,r4:b,r4:b
63031 + paddsubs.uh lr,lr:t,lr:t
63032 + paddsubs.uh r9,r2:b,r3:b
63033 + paddsubs.uh sp,sp:b,r7:t
63034 + paddsubs.uh lr,r0:b,r10:t
63035 + .text
63036 + .global psubadds_uh
63037 +psubadds_uh:
63038 + psubadds.uh pc,pc:b,pc:b
63039 + psubadds.uh r12,r12:t,r12:t
63040 + psubadds.uh r5,r5:t,r5:t
63041 + psubadds.uh r4,r4:b,r4:b
63042 + psubadds.uh lr,lr:t,lr:t
63043 + psubadds.uh r12,r9:t,pc:t
63044 + psubadds.uh r8,r6:b,r8:b
63045 + psubadds.uh r8,r8:b,r4:b
63046 + .text
63047 + .global paddsubh_sh
63048 +paddsubh_sh:
63049 + paddsubh.sh pc,pc:b,pc:b
63050 + paddsubh.sh r12,r12:t,r12:t
63051 + paddsubh.sh r5,r5:t,r5:t
63052 + paddsubh.sh r4,r4:b,r4:b
63053 + paddsubh.sh lr,lr:t,lr:t
63054 + paddsubh.sh r8,r9:t,r9:b
63055 + paddsubh.sh r0,sp:t,r1:t
63056 + paddsubh.sh r3,r1:b,r0:t
63057 + .text
63058 + .global psubaddh_sh
63059 +psubaddh_sh:
63060 + psubaddh.sh pc,pc:b,pc:b
63061 + psubaddh.sh r12,r12:t,r12:t
63062 + psubaddh.sh r5,r5:t,r5:t
63063 + psubaddh.sh r4,r4:b,r4:b
63064 + psubaddh.sh lr,lr:t,lr:t
63065 + psubaddh.sh r7,r3:t,r10:b
63066 + psubaddh.sh r7,r2:t,r1:t
63067 + psubaddh.sh r11,r3:b,r6:b
63068 + .text
63069 + .global padd_b
63070 +padd_b:
63071 + padd.b pc,pc,pc
63072 + padd.b r12,r12,r12
63073 + padd.b r5,r5,r5
63074 + padd.b r4,r4,r4
63075 + padd.b lr,lr,lr
63076 + padd.b r2,r6,pc
63077 + padd.b r8,r9,r12
63078 + padd.b r5,r12,r3
63079 + .text
63080 + .global psub_b
63081 +psub_b:
63082 + psub.b pc,pc,pc
63083 + psub.b r12,r12,r12
63084 + psub.b r5,r5,r5
63085 + psub.b r4,r4,r4
63086 + psub.b lr,lr,lr
63087 + psub.b r0,r12,pc
63088 + psub.b r7,sp,r10
63089 + psub.b r5,sp,r12
63090 + .text
63091 + .global padds_sb
63092 +padds_sb:
63093 + padds.sb pc,pc,pc
63094 + padds.sb r12,r12,r12
63095 + padds.sb r5,r5,r5
63096 + padds.sb r4,r4,r4
63097 + padds.sb lr,lr,lr
63098 + padds.sb sp,r11,r4
63099 + padds.sb r11,r10,r11
63100 + padds.sb r5,r12,r6
63101 + .text
63102 + .global psubs_sb
63103 +psubs_sb:
63104 + psubs.sb pc,pc,pc
63105 + psubs.sb r12,r12,r12
63106 + psubs.sb r5,r5,r5
63107 + psubs.sb r4,r4,r4
63108 + psubs.sb lr,lr,lr
63109 + psubs.sb r7,r6,r8
63110 + psubs.sb r12,r10,r9
63111 + psubs.sb pc,r11,r0
63112 + .text
63113 + .global padds_ub
63114 +padds_ub:
63115 + padds.ub pc,pc,pc
63116 + padds.ub r12,r12,r12
63117 + padds.ub r5,r5,r5
63118 + padds.ub r4,r4,r4
63119 + padds.ub lr,lr,lr
63120 + padds.ub r3,r2,r11
63121 + padds.ub r10,r8,r1
63122 + padds.ub r11,r8,r10
63123 + .text
63124 + .global psubs_ub
63125 +psubs_ub:
63126 + psubs.ub pc,pc,pc
63127 + psubs.ub r12,r12,r12
63128 + psubs.ub r5,r5,r5
63129 + psubs.ub r4,r4,r4
63130 + psubs.ub lr,lr,lr
63131 + psubs.ub r0,r2,r7
63132 + psubs.ub lr,r5,r3
63133 + psubs.ub r6,r7,r9
63134 + .text
63135 + .global paddh_ub
63136 +paddh_ub:
63137 + paddh.ub pc,pc,pc
63138 + paddh.ub r12,r12,r12
63139 + paddh.ub r5,r5,r5
63140 + paddh.ub r4,r4,r4
63141 + paddh.ub lr,lr,lr
63142 + paddh.ub lr,r1,r0
63143 + paddh.ub r2,r7,r7
63144 + paddh.ub r2,r1,r2
63145 + .text
63146 + .global psubh_ub
63147 +psubh_ub:
63148 + psubh.ub pc,pc,pc
63149 + psubh.ub r12,r12,r12
63150 + psubh.ub r5,r5,r5
63151 + psubh.ub r4,r4,r4
63152 + psubh.ub lr,lr,lr
63153 + psubh.ub r0,r1,r6
63154 + psubh.ub r4,lr,r10
63155 + psubh.ub r9,r8,r1
63156 + .text
63157 + .global pmax_ub
63158 +pmax_ub:
63159 + pmax.ub pc,pc,pc
63160 + pmax.ub r12,r12,r12
63161 + pmax.ub r5,r5,r5
63162 + pmax.ub r4,r4,r4
63163 + pmax.ub lr,lr,lr
63164 + pmax.ub pc,r2,r11
63165 + pmax.ub r12,r1,r1
63166 + pmax.ub r5,r2,r0
63167 + .text
63168 + .global pmax_sh
63169 +pmax_sh:
63170 + pmax.sh pc,pc,pc
63171 + pmax.sh r12,r12,r12
63172 + pmax.sh r5,r5,r5
63173 + pmax.sh r4,r4,r4
63174 + pmax.sh lr,lr,lr
63175 + pmax.sh lr,r6,r12
63176 + pmax.sh r2,pc,r5
63177 + pmax.sh pc,r2,r7
63178 + .text
63179 + .global pmin_ub
63180 +pmin_ub:
63181 + pmin.ub pc,pc,pc
63182 + pmin.ub r12,r12,r12
63183 + pmin.ub r5,r5,r5
63184 + pmin.ub r4,r4,r4
63185 + pmin.ub lr,lr,lr
63186 + pmin.ub r8,r1,r5
63187 + pmin.ub r1,r8,r3
63188 + pmin.ub r0,r2,r7
63189 + .text
63190 + .global pmin_sh
63191 +pmin_sh:
63192 + pmin.sh pc,pc,pc
63193 + pmin.sh r12,r12,r12
63194 + pmin.sh r5,r5,r5
63195 + pmin.sh r4,r4,r4
63196 + pmin.sh lr,lr,lr
63197 + pmin.sh r8,r4,r10
63198 + pmin.sh lr,r10,r12
63199 + pmin.sh r2,r6,r2
63200 + .text
63201 + .global pavg_ub
63202 +pavg_ub:
63203 + pavg.ub pc,pc,pc
63204 + pavg.ub r12,r12,r12
63205 + pavg.ub r5,r5,r5
63206 + pavg.ub r4,r4,r4
63207 + pavg.ub lr,lr,lr
63208 + pavg.ub r0,r1,r6
63209 + pavg.ub r8,r3,r6
63210 + pavg.ub pc,r12,r10
63211 + .text
63212 + .global pavg_sh
63213 +pavg_sh:
63214 + pavg.sh pc,pc,pc
63215 + pavg.sh r12,r12,r12
63216 + pavg.sh r5,r5,r5
63217 + pavg.sh r4,r4,r4
63218 + pavg.sh lr,lr,lr
63219 + pavg.sh r9,pc,sp
63220 + pavg.sh pc,sp,r3
63221 + pavg.sh r6,r1,r9
63222 + .text
63223 + .global pabs_sb
63224 +pabs_sb:
63225 + pabs.sb pc,pc
63226 + pabs.sb r12,r12
63227 + pabs.sb r5,r5
63228 + pabs.sb r4,r4
63229 + pabs.sb lr,lr
63230 + pabs.sb r11,r6
63231 + pabs.sb lr,r9
63232 + pabs.sb sp,r7
63233 + .text
63234 + .global pabs_sh
63235 +pabs_sh:
63236 + pabs.sh pc,pc
63237 + pabs.sh r12,r12
63238 + pabs.sh r5,r5
63239 + pabs.sh r4,r4
63240 + pabs.sh lr,lr
63241 + pabs.sh pc,r3
63242 + pabs.sh r5,r7
63243 + pabs.sh r4,r0
63244 + .text
63245 + .global psad
63246 +psad:
63247 + psad pc,pc,pc
63248 + psad r12,r12,r12
63249 + psad r5,r5,r5
63250 + psad r4,r4,r4
63251 + psad lr,lr,lr
63252 + psad r9,r11,r11
63253 + psad lr,r4,sp
63254 + psad lr,r4,r5
63255 + .text
63256 + .global pasr_b
63257 +pasr_b:
63258 + pasr.b pc,pc,0
63259 + pasr.b r12,r12,7
63260 + pasr.b r5,r5,4
63261 + pasr.b r4,r4,3
63262 + pasr.b lr,lr,1
63263 + pasr.b pc,r7,1
63264 + pasr.b sp,lr,6
63265 + pasr.b sp,r3,2
63266 + .text
63267 + .global plsl_b
63268 +plsl_b:
63269 + plsl.b pc,pc,0
63270 + plsl.b r12,r12,7
63271 + plsl.b r5,r5,4
63272 + plsl.b r4,r4,3
63273 + plsl.b lr,lr,1
63274 + plsl.b r2,r11,4
63275 + plsl.b r8,r5,7
63276 + plsl.b pc,r0,2
63277 + .text
63278 + .global plsr_b
63279 +plsr_b:
63280 + plsr.b pc,pc,0
63281 + plsr.b r12,r12,7
63282 + plsr.b r5,r5,4
63283 + plsr.b r4,r4,3
63284 + plsr.b lr,lr,1
63285 + plsr.b r12,r1,2
63286 + plsr.b r6,pc,7
63287 + plsr.b r12,r11,2
63288 + .text
63289 + .global pasr_h
63290 +pasr_h:
63291 + pasr.h pc,pc,0
63292 + pasr.h r12,r12,15
63293 + pasr.h r5,r5,8
63294 + pasr.h r4,r4,7
63295 + pasr.h lr,lr,1
63296 + pasr.h r0,r11,10
63297 + pasr.h r4,r6,8
63298 + pasr.h r6,r2,4
63299 + .text
63300 + .global plsl_h
63301 +plsl_h:
63302 + plsl.h pc,pc,0
63303 + plsl.h r12,r12,15
63304 + plsl.h r5,r5,8
63305 + plsl.h r4,r4,7
63306 + plsl.h lr,lr,1
63307 + plsl.h r5,r10,9
63308 + plsl.h sp,lr,8
63309 + plsl.h r0,lr,7
63310 + .text
63311 + .global plsr_h
63312 +plsr_h:
63313 + plsr.h pc,pc,0
63314 + plsr.h r12,r12,15
63315 + plsr.h r5,r5,8
63316 + plsr.h r4,r4,7
63317 + plsr.h lr,lr,1
63318 + plsr.h r11,r0,15
63319 + plsr.h lr,r3,3
63320 + plsr.h r8,lr,10
63321 + .text
63322 + .global packw_sh
63323 +packw_sh:
63324 + packw.sh pc,pc,pc
63325 + packw.sh r12,r12,r12
63326 + packw.sh r5,r5,r5
63327 + packw.sh r4,r4,r4
63328 + packw.sh lr,lr,lr
63329 + packw.sh sp,r11,r10
63330 + packw.sh r8,r2,r12
63331 + packw.sh r8,r1,r5
63332 + .text
63333 + .global punpckub_h
63334 +punpckub_h:
63335 + punpckub.h pc,pc:b
63336 + punpckub.h r12,r12:t
63337 + punpckub.h r5,r5:t
63338 + punpckub.h r4,r4:b
63339 + punpckub.h lr,lr:t
63340 + punpckub.h r6,r1:t
63341 + punpckub.h lr,r5:b
63342 + punpckub.h lr,r2:t
63343 + .text
63344 + .global punpcksb_h
63345 +punpcksb_h:
63346 + punpcksb.h pc,pc:b
63347 + punpcksb.h r12,r12:t
63348 + punpcksb.h r5,r5:t
63349 + punpcksb.h r4,r4:b
63350 + punpcksb.h lr,lr:t
63351 + punpcksb.h r4,r7:t
63352 + punpcksb.h r6,lr:b
63353 + punpcksb.h r12,r12:t
63354 + .text
63355 + .global packsh_ub
63356 +packsh_ub:
63357 + packsh.ub pc,pc,pc
63358 + packsh.ub r12,r12,r12
63359 + packsh.ub r5,r5,r5
63360 + packsh.ub r4,r4,r4
63361 + packsh.ub lr,lr,lr
63362 + packsh.ub r3,r6,r3
63363 + packsh.ub r8,r0,r3
63364 + packsh.ub r9,r3,lr
63365 + .text
63366 + .global packsh_sb
63367 +packsh_sb:
63368 + packsh.sb pc,pc,pc
63369 + packsh.sb r12,r12,r12
63370 + packsh.sb r5,r5,r5
63371 + packsh.sb r4,r4,r4
63372 + packsh.sb lr,lr,lr
63373 + packsh.sb r6,r8,r1
63374 + packsh.sb lr,r9,r8
63375 + packsh.sb sp,r6,r6
63376 + .text
63377 + .global andl
63378 +andl:
63379 + andl pc,0
63380 + andl r12,65535
63381 + andl r5,32768
63382 + andl r4,32767
63383 + andl lr,1
63384 + andl pc,23128
63385 + andl r8,47262
63386 + andl r7,13719
63387 + .text
63388 + .global andl_coh
63389 +andl_coh:
63390 + andl pc,0,COH
63391 + andl r12,65535,COH
63392 + andl r5,32768,COH
63393 + andl r4,32767,COH
63394 + andl lr,1,COH
63395 + andl r6,22753,COH
63396 + andl r0,40653,COH
63397 + andl r4,48580,COH
63398 + .text
63399 + .global andh
63400 +andh:
63401 + andh pc,0
63402 + andh r12,65535
63403 + andh r5,32768
63404 + andh r4,32767
63405 + andh lr,1
63406 + andh r12,52312
63407 + andh r3,8675
63408 + andh r2,42987
63409 + .text
63410 + .global andh_coh
63411 +andh_coh:
63412 + andh pc,0,COH
63413 + andh r12,65535,COH
63414 + andh r5,32768,COH
63415 + andh r4,32767,COH
63416 + andh lr,1,COH
63417 + andh r11,34317,COH
63418 + andh r8,52982,COH
63419 + andh r10,23683,COH
63420 + .text
63421 + .global orl
63422 +orl:
63423 + orl pc,0
63424 + orl r12,65535
63425 + orl r5,32768
63426 + orl r4,32767
63427 + orl lr,1
63428 + orl sp,16766
63429 + orl r0,21181
63430 + orl pc,44103
63431 + .text
63432 + .global orh
63433 +orh:
63434 + orh pc,0
63435 + orh r12,65535
63436 + orh r5,32768
63437 + orh r4,32767
63438 + orh lr,1
63439 + orh r8,28285
63440 + orh r12,30492
63441 + orh r1,59930
63442 + .text
63443 + .global eorl
63444 +eorl:
63445 + eorl pc,0
63446 + eorl r12,65535
63447 + eorl r5,32768
63448 + eorl r4,32767
63449 + eorl lr,1
63450 + eorl r4,51129
63451 + eorl r6,64477
63452 + eorl r1,20913
63453 + .text
63454 + .global eorh
63455 +eorh:
63456 + eorh pc,0
63457 + eorh r12,65535
63458 + eorh r5,32768
63459 + eorh r4,32767
63460 + eorh lr,1
63461 + eorh r0,11732
63462 + eorh r10,38069
63463 + eorh r9,57130
63464 + .text
63465 + .global mcall
63466 +mcall:
63467 + mcall pc[0]
63468 + mcall r12[-4]
63469 + mcall r5[-131072]
63470 + mcall r4[131068]
63471 + mcall lr[4]
63472 + mcall sp[61180]
63473 + mcall r4[-35000]
63474 + mcall r0[9924]
63475 + .text
63476 + .global pref
63477 +pref:
63478 + pref pc[0]
63479 + pref r12[-1]
63480 + pref r5[-32768]
63481 + pref r4[32767]
63482 + pref lr[1]
63483 + pref r7[7748]
63484 + pref r7[-7699]
63485 + pref r2[-25892]
63486 + .text
63487 + .global cache
63488 +cache:
63489 + cache pc[0],0
63490 + cache r12[-1],31
63491 + cache r5[-1024],16
63492 + cache r4[1023],15
63493 + cache lr[1],1
63494 + cache r3[-964],17
63495 + cache r4[-375],22
63496 + cache r3[-888],17
63497 + .text
63498 + .global sub4
63499 +sub4:
63500 + sub pc,0
63501 + sub r12,-1
63502 + sub r5,-1048576
63503 + sub r4,1048575
63504 + sub lr,1
63505 + sub r2,-619156
63506 + sub lr,461517
63507 + sub r8,-185051
63508 + .text
63509 + .global cp3
63510 +cp3:
63511 + cp pc,0
63512 + cp r12,-1
63513 + cp r5,-1048576
63514 + cp r4,1048575
63515 + cp lr,1
63516 + cp r1,124078
63517 + cp r0,-378909
63518 + cp r4,-243180
63519 + .text
63520 + .global mov2
63521 +mov2:
63522 + mov pc,0
63523 + mov r12,-1
63524 + mov r5,-1048576
63525 + mov r4,1048575
63526 + mov lr,1
63527 + mov r5,-317021
63528 + mov sp,-749164
63529 + mov r5,940179
63530 + .text
63531 + .global brc2
63532 +brc2:
63533 + breq 0
63534 + bral -2
63535 + brls -2097152
63536 + brpl 2097150
63537 + brne 2
63538 + brhi -1796966
63539 + brqs 1321368
63540 + brls -577434
63541 + .text
63542 + .global rcall2
63543 +rcall2:
63544 + rcall 0
63545 + rcall -2
63546 + rcall -2097152
63547 + rcall 2097150
63548 + rcall 2
63549 + rcall 496820
63550 + rcall 1085092
63551 + rcall -1058
63552 + .text
63553 + .global sub5
63554 +sub5:
63555 + sub pc,pc,0
63556 + sub r12,r12,-1
63557 + sub r5,r5,-32768
63558 + sub r4,r4,32767
63559 + sub lr,lr,1
63560 + sub pc,pc,-12744
63561 + sub r7,r7,-27365
63562 + sub r2,r9,-17358
63563 + .text
63564 + .global satsub_w2
63565 +satsub_w2:
63566 + satsub.w pc,pc,0
63567 + satsub.w r12,r12,-1
63568 + satsub.w r5,r5,-32768
63569 + satsub.w r4,r4,32767
63570 + satsub.w lr,lr,1
63571 + satsub.w r2,lr,-2007
63572 + satsub.w r7,r12,-784
63573 + satsub.w r4,r7,23180
63574 + .text
63575 + .global ld_d4
63576 +ld_d4:
63577 + ld.d r0,pc[0]
63578 + ld.d r14,r12[-1]
63579 + ld.d r8,r5[-32768]
63580 + ld.d r6,r4[32767]
63581 + ld.d r2,lr[1]
63582 + ld.d r14,r11[14784]
63583 + ld.d r6,r9[-18905]
63584 + ld.d r2,r3[-6355]
63585 + .text
63586 + .global ld_w4
63587 +ld_w4:
63588 + ld.w pc,pc[0]
63589 + ld.w r12,r12[-1]
63590 + ld.w r5,r5[-32768]
63591 + ld.w r4,r4[32767]
63592 + ld.w lr,lr[1]
63593 + ld.w r0,r12[-22133]
63594 + ld.w sp,pc[-20521]
63595 + /* ld.w r3,r5[29035] */
63596 + nop
63597 + .text
63598 + .global ld_sh4
63599 +ld_sh4:
63600 + ld.sh pc,pc[0]
63601 + ld.sh r12,r12[-1]
63602 + ld.sh r5,r5[-32768]
63603 + ld.sh r4,r4[32767]
63604 + ld.sh lr,lr[1]
63605 + ld.sh r6,r10[30930]
63606 + ld.sh r6,r10[21973]
63607 + /* ld.sh r11,r10[-2058] */
63608 + nop
63609 + .text
63610 + .global ld_uh4
63611 +ld_uh4:
63612 + ld.uh pc,pc[0]
63613 + ld.uh r12,r12[-1]
63614 + ld.uh r5,r5[-32768]
63615 + ld.uh r4,r4[32767]
63616 + ld.uh lr,lr[1]
63617 + ld.uh r1,r9[-13354]
63618 + ld.uh lr,r11[21337]
63619 + /* ld.uh r2,lr[-25370] */
63620 + nop
63621 + .text
63622 + .global ld_sb1
63623 +ld_sb1:
63624 + ld.sb pc,pc[0]
63625 + ld.sb r12,r12[-1]
63626 + ld.sb r5,r5[-32768]
63627 + ld.sb r4,r4[32767]
63628 + ld.sb lr,lr[1]
63629 + ld.sb r7,sp[-28663]
63630 + ld.sb r2,r1[-5879]
63631 + ld.sb r12,r3[18734]
63632 + .text
63633 + .global ld_ub4
63634 +ld_ub4:
63635 + ld.ub pc,pc[0]
63636 + ld.ub r12,r12[-1]
63637 + ld.ub r5,r5[-32768]
63638 + ld.ub r4,r4[32767]
63639 + ld.ub lr,lr[1]
63640 + ld.ub pc,r4[8277]
63641 + ld.ub r5,r12[19172]
63642 + ld.ub r10,lr[26347]
63643 + .text
63644 + .global st_d4
63645 +st_d4:
63646 + st.d pc[0],r0
63647 + st.d r12[-1],r14
63648 + st.d r5[-32768],r8
63649 + st.d r4[32767],r6
63650 + st.d lr[1],r2
63651 + st.d r5[13200],r10
63652 + st.d r5[9352],r10
63653 + st.d r5[32373],r4
63654 + .text
63655 + .global st_w4
63656 +st_w4:
63657 + st.w pc[0],pc
63658 + st.w r12[-1],r12
63659 + st.w r5[-32768],r5
63660 + st.w r4[32767],r4
63661 + st.w lr[1],lr
63662 + st.w sp[6136],r7
63663 + st.w r6[27087],r12
63664 + /* st.w r3[20143],r7 */
63665 + nop
63666 + .text
63667 + .global st_h4
63668 +st_h4:
63669 + st.h pc[0],pc
63670 + st.h r12[-1],r12
63671 + st.h r5[-32768],r5
63672 + st.h r4[32767],r4
63673 + st.h lr[1],lr
63674 + st.h r4[-9962],r7
63675 + st.h r9[-16250],r3
63676 + /* st.h r8[-28810],r7 */
63677 + nop
63678 + .text
63679 + .global st_b4
63680 +st_b4:
63681 + st.b pc[0],pc
63682 + st.b r12[-1],r12
63683 + st.b r5[-32768],r5
63684 + st.b r4[32767],r4
63685 + st.b lr[1],lr
63686 + st.b r12[30102],r6
63687 + st.b r5[28977],r1
63688 + st.b r0[5470],r1
63689 + .text
63690 + .global mfsr
63691 +mfsr:
63692 + mfsr pc,0
63693 + mfsr r12,1020
63694 + mfsr r5,512
63695 + mfsr r4,508
63696 + mfsr lr,4
63697 + mfsr r2,696
63698 + mfsr r4,260
63699 + mfsr r10,1016
63700 + .text
63701 + .global mtsr
63702 +mtsr:
63703 + mtsr 0,pc
63704 + mtsr 1020,r12
63705 + mtsr 512,r5
63706 + mtsr 508,r4
63707 + mtsr 4,lr
63708 + mtsr 224,r10
63709 + mtsr 836,r12
63710 + mtsr 304,r9
63711 + .text
63712 + .global mfdr
63713 +mfdr:
63714 + mfdr pc,0
63715 + mfdr r12,1020
63716 + mfdr r5,512
63717 + mfdr r4,508
63718 + mfdr lr,4
63719 + mfdr r6,932
63720 + mfdr r5,36
63721 + mfdr r9,300
63722 + .text
63723 + .global mtdr
63724 +mtdr:
63725 + mtdr 0,pc
63726 + mtdr 1020,r12
63727 + mtdr 512,r5
63728 + mtdr 508,r4
63729 + mtdr 4,lr
63730 + mtdr 180,r8
63731 + mtdr 720,r10
63732 + mtdr 408,lr
63733 + .text
63734 + .global sleep
63735 +sleep:
63736 + sleep 0
63737 + sleep 255
63738 + sleep 128
63739 + sleep 127
63740 + sleep 1
63741 + sleep 254
63742 + sleep 15
63743 + sleep 43
63744 + .text
63745 + .global sync
63746 +sync:
63747 + sync 0
63748 + sync 255
63749 + sync 128
63750 + sync 127
63751 + sync 1
63752 + sync 166
63753 + sync 230
63754 + sync 180
63755 + .text
63756 + .global bld
63757 +bld:
63758 + bld pc,0
63759 + bld r12,31
63760 + bld r5,16
63761 + bld r4,15
63762 + bld lr,1
63763 + bld r9,15
63764 + bld r0,4
63765 + bld lr,26
63766 + .text
63767 + .global bst
63768 +bst:
63769 + bst pc,0
63770 + bst r12,31
63771 + bst r5,16
63772 + bst r4,15
63773 + bst lr,1
63774 + bst r10,28
63775 + bst r0,3
63776 + bst sp,2
63777 + .text
63778 + .global sats
63779 +sats:
63780 + sats pc>>0,0
63781 + sats r12>>31,31
63782 + sats r5>>16,16
63783 + sats r4>>15,15
63784 + sats lr>>1,1
63785 + sats r10>>3,19
63786 + sats r10>>2,26
63787 + sats r1>>20,1
63788 + .text
63789 + .global satu
63790 +satu:
63791 + satu pc>>0,0
63792 + satu r12>>31,31
63793 + satu r5>>16,16
63794 + satu r4>>15,15
63795 + satu lr>>1,1
63796 + satu pc>>5,7
63797 + satu r7>>5,5
63798 + satu r2>>26,19
63799 + .text
63800 + .global satrnds
63801 +satrnds:
63802 + satrnds pc>>0,0
63803 + satrnds r12>>31,31
63804 + satrnds r5>>16,16
63805 + satrnds r4>>15,15
63806 + satrnds lr>>1,1
63807 + satrnds r0>>21,19
63808 + satrnds sp>>0,2
63809 + satrnds r7>>6,29
63810 + .text
63811 + .global satrndu
63812 +satrndu:
63813 + satrndu pc>>0,0
63814 + satrndu r12>>31,31
63815 + satrndu r5>>16,16
63816 + satrndu r4>>15,15
63817 + satrndu lr>>1,1
63818 + satrndu r12>>0,26
63819 + satrndu r4>>21,3
63820 + satrndu r10>>3,16
63821 + .text
63822 + .global subfc
63823 +subfc:
63824 + subfeq pc,0
63825 + subfal r12,-1
63826 + subfls r5,-128
63827 + subfpl r4,127
63828 + subfne lr,1
63829 + subfls r10,8
63830 + subfvc r11,99
63831 + subfvs r2,73
63832 + .text
63833 + .global subc
63834 +subc:
63835 + subeq pc,0
63836 + subal r12,-1
63837 + subls r5,-128
63838 + subpl r4,127
63839 + subne lr,1
63840 + subls r12,118
63841 + subvc lr,-12
63842 + submi r4,-13
63843 + .text
63844 + .global movc2
63845 +movc2:
63846 + moveq pc,0
63847 + moval r12,-1
63848 + movls r5,-128
63849 + movpl r4,127
63850 + movne lr,1
63851 + movlt r3,-122
63852 + movvc r8,2
63853 + movne r7,-111
63854 + .text
63855 + .global cp_b
63856 +cp_b:
63857 + cp.b pc,r0
63858 + cp.b r0,pc
63859 + cp.b r7,r8
63860 + cp.b r8,r7
63861 + .text
63862 + .global cp_h
63863 +cp_h:
63864 + cp.h pc,r0
63865 + cp.h r0,pc
63866 + cp.h r7,r8
63867 + cp.h r8,r7
63868 + .text
63869 + .global ldm
63870 +ldm:
63871 + ldm pc,r1-r6
63872 + ldm r12,r0-r15
63873 + ldm r5,r15
63874 + ldm r4,r0-r14
63875 + ldm lr,r0
63876 + ldm r9,r1,r5,r14
63877 + ldm r11,r2-r3,r5-r8,r15
63878 + ldm r6,r0,r3,r9,r13,r15
63879 + .text
63880 + .global ldm_pu
63881 +ldm_pu:
63882 + ldm pc++,r6-r9
63883 + ldm r12++,r0-r15
63884 + ldm r5++,r15
63885 + ldm r4++,r0-r14
63886 + ldm lr++,r0
63887 + ldm r12++,r3-r5,r8,r10,r12,r14-r15
63888 + ldm r10++,r2,r4-r6,r14-r15
63889 + ldm r6++,r1,r3-r4,r9-r14
63890 + .text
63891 + .global ldmts
63892 +ldmts:
63893 + ldmts pc,r7-r8
63894 + ldmts r12,r0-r15
63895 + ldmts r5,r15
63896 + ldmts r4,r0-r14
63897 + ldmts lr,r0
63898 + ldmts r0,r1-r2,r11-r12
63899 + ldmts lr,r0-r2,r4,r7-r8,r13-r14
63900 + ldmts r12,r0-r1,r3-r5,r9,r14-r15
63901 + .text
63902 + .global ldmts_pu
63903 +ldmts_pu:
63904 + ldmts pc++,r9
63905 + ldmts r12++,r0-r15
63906 + ldmts r5++,r15
63907 + ldmts r4++,r0-r14
63908 + ldmts lr++,r0
63909 + ldmts sp++,r0,r2-r5,r7,r9,r11
63910 + ldmts r5++,r1-r3,r7,r10-r11
63911 + ldmts r8++,r2-r4,r7-r8,r13,r15
63912 + .text
63913 + .global stm
63914 +stm:
63915 + stm pc,r7
63916 + stm r12,r0-r15
63917 + stm r5,r15
63918 + stm r4,r0-r14
63919 + stm lr,r0
63920 + stm sp,r2-r3,r5,r8,r11,r14
63921 + stm r4,r0-r4,r6,r10-r11,r14
63922 + stm r9,r1,r5,r9,r12-r15
63923 + .text
63924 + .global stm_pu
63925 +stm_pu:
63926 + stm --pc,r4-r6
63927 + stm --r12,r0-r15
63928 + stm --r5,r15
63929 + stm --r4,r0-r14
63930 + stm --lr,r0
63931 + stm --r11,r0,r4-r9,r11-r15
63932 + stm --r11,r0,r3,r9-r10,r12,r14
63933 + stm --r6,r2,r8-r9,r13-r14
63934 + .text
63935 + .global stmts
63936 +stmts:
63937 + stmts pc,r8
63938 + stmts r12,r0-r15
63939 + stmts r5,r15
63940 + stmts r4,r0-r14
63941 + stmts lr,r0
63942 + stmts r1,r0-r1,r3-r4,r6,r9-r10,r14-r15
63943 + stmts r3,r0,r6-r8,r10-r12
63944 + stmts r11,r0,r4,r6-r7,r9-r10,r12,r14-r15
63945 + .text
63946 + .global stmts_pu
63947 +stmts_pu:
63948 + stmts --pc,r6-r8
63949 + stmts --r12,r0-r15
63950 + stmts --r5,r15
63951 + stmts --r4,r0-r14
63952 + stmts --lr,r0
63953 + stmts --r2,r0,r3-r4,r9-r10,r12-r13
63954 + stmts --r3,r0-r1,r14-r15
63955 + stmts --r0,r0,r2-r6,r10,r14
63956 + .text
63957 + .global ldins_h
63958 +ldins_h:
63959 + ldins.h pc:b,pc[0]
63960 + ldins.h r12:t,r12[-2]
63961 + ldins.h r5:t,r5[-4096]
63962 + ldins.h r4:b,r4[4094]
63963 + ldins.h lr:t,lr[2]
63964 + ldins.h r0:t,lr[1930]
63965 + ldins.h r3:b,r7[-534]
63966 + ldins.h r2:b,r12[-2252]
63967 + .text
63968 + .global ldins_b
63969 +ldins_b:
63970 + ldins.b pc:b,pc[0]
63971 + ldins.b r12:t,r12[-1]
63972 + ldins.b r5:u,r5[-2048]
63973 + ldins.b r4:l,r4[2047]
63974 + ldins.b lr:l,lr[1]
63975 + ldins.b r6:t,r4[-662]
63976 + ldins.b r5:b,r1[-151]
63977 + ldins.b r10:t,r11[-1923]
63978 + .text
63979 + .global ldswp_sh
63980 +ldswp_sh:
63981 + ldswp.sh pc,pc[0]
63982 + ldswp.sh r12,r12[-2]
63983 + ldswp.sh r5,r5[-4096]
63984 + ldswp.sh r4,r4[4094]
63985 + ldswp.sh lr,lr[2]
63986 + ldswp.sh r9,r10[3848]
63987 + ldswp.sh r4,r12[-2040]
63988 + ldswp.sh r10,r2[3088]
63989 + .text
63990 + .global ldswp_uh
63991 +ldswp_uh:
63992 + ldswp.uh pc,pc[0]
63993 + ldswp.uh r12,r12[-2]
63994 + ldswp.uh r5,r5[-4096]
63995 + ldswp.uh r4,r4[4094]
63996 + ldswp.uh lr,lr[2]
63997 + ldswp.uh r4,r9[3724]
63998 + ldswp.uh lr,sp[-1672]
63999 + ldswp.uh r8,r12[-3846]
64000 + .text
64001 + .global ldswp_w
64002 +ldswp_w:
64003 + ldswp.w pc,pc[0]
64004 + ldswp.w r12,r12[-4]
64005 + ldswp.w r5,r5[-8192]
64006 + ldswp.w r4,r4[8188]
64007 + ldswp.w lr,lr[4]
64008 + ldswp.w sp,r7[1860]
64009 + ldswp.w pc,r5[-3324]
64010 + ldswp.w r12,r10[-3296]
64011 + .text
64012 + .global stswp_h
64013 +stswp_h:
64014 + stswp.h pc[0],pc
64015 + stswp.h r12[-2],r12
64016 + stswp.h r5[-4096],r5
64017 + stswp.h r4[4094],r4
64018 + stswp.h lr[2],lr
64019 + stswp.h r7[64],r10
64020 + stswp.h r10[3024],r2
64021 + stswp.h r0[-2328],r10
64022 + .text
64023 + .global stswp_w
64024 +stswp_w:
64025 + stswp.w pc[0],pc
64026 + stswp.w r12[-4],r12
64027 + stswp.w r5[-8192],r5
64028 + stswp.w r4[8188],r4
64029 + stswp.w lr[4],lr
64030 + stswp.w pc[1156],r8
64031 + stswp.w sp[7992],r10
64032 + stswp.w r8[-1172],r5
64033 + .text
64034 + .global and2
64035 +and2:
64036 + and pc,pc,pc<<0
64037 + and r12,r12,r12<<31
64038 + and r5,r5,r5<<16
64039 + and r4,r4,r4<<15
64040 + and lr,lr,lr<<1
64041 + and r10,r2,r1<<1
64042 + and r12,r8,r11<<27
64043 + and r10,r7,r0<<3
64044 + .text
64045 + .global and3
64046 +and3:
64047 + and pc,pc,pc>>0
64048 + and r12,r12,r12>>31
64049 + and r5,r5,r5>>16
64050 + and r4,r4,r4>>15
64051 + and lr,lr,lr>>1
64052 + and r12,r8,r7>>17
64053 + and pc,r4,r9>>20
64054 + and r10,r9,r10>>12
64055 + .text
64056 + .global or2
64057 +or2:
64058 + or pc,pc,pc<<0
64059 + or r12,r12,r12<<31
64060 + or r5,r5,r5<<16
64061 + or r4,r4,r4<<15
64062 + or lr,lr,lr<<1
64063 + or r8,sp,r11<<29
64064 + or pc,r9,r2<<28
64065 + or r5,r1,r2<<3
64066 + .text
64067 + .global or3
64068 +or3:
64069 + or pc,pc,pc>>0
64070 + or r12,r12,r12>>31
64071 + or r5,r5,r5>>16
64072 + or r4,r4,r4>>15
64073 + or lr,lr,lr>>1
64074 + or r1,sp,sp>>2
64075 + or r0,r1,r1>>29
64076 + or r4,r12,r8>>8
64077 + .text
64078 + .global eor2
64079 +eor2:
64080 + eor pc,pc,pc<<0
64081 + eor r12,r12,r12<<31
64082 + eor r5,r5,r5<<16
64083 + eor r4,r4,r4<<15
64084 + eor lr,lr,lr<<1
64085 + eor r10,r9,r4<<11
64086 + eor r4,r0,r1<<31
64087 + eor r6,r2,r12<<13
64088 + .text
64089 + .global eor3
64090 +eor3:
64091 + eor pc,pc,pc>>0
64092 + eor r12,r12,r12>>31
64093 + eor r5,r5,r5>>16
64094 + eor r4,r4,r4>>15
64095 + eor lr,lr,lr>>1
64096 + eor r5,r5,r5>>22
64097 + eor r10,r1,lr>>3
64098 + eor r7,lr,sp>>26
64099 + .text
64100 + .global sthh_w2
64101 +sthh_w2:
64102 + sthh.w pc[pc<<0],pc:b,pc:b
64103 + sthh.w r12[r12<<3],r12:t,r12:t
64104 + sthh.w r5[r5<<2],r5:t,r5:t
64105 + sthh.w r4[r4<<1],r4:b,r4:b
64106 + sthh.w lr[lr<<1],lr:t,lr:t
64107 + sthh.w sp[r6<<3],r1:t,r12:t
64108 + sthh.w r6[r6<<0],r9:t,r9:t
64109 + sthh.w r10[r3<<0],r0:b,r11:t
64110 + .text
64111 + .global sthh_w1
64112 +sthh_w1:
64113 + sthh.w pc[0],pc:b,pc:b
64114 + sthh.w r12[1020],r12:t,r12:t
64115 + sthh.w r5[512],r5:t,r5:t
64116 + sthh.w r4[508],r4:b,r4:b
64117 + sthh.w lr[4],lr:t,lr:t
64118 + sthh.w r4[404],r9:t,r0:b
64119 + sthh.w r8[348],r2:t,r10:b
64120 + sthh.w sp[172],r9:b,r2:b
64121 + .text
64122 + .global cop
64123 +cop:
64124 + cop cp0,cr0,cr0,cr0,0
64125 + cop cp7,cr15,cr15,cr15,0x7f
64126 + cop cp3,cr5,cr5,cr5,0x31
64127 + cop cp2,cr4,cr4,cr4,0x30
64128 + cop cp5,cr8,cr3,cr7,0x5a
64129 + .text
64130 + .global ldc_w1
64131 +ldc_w1:
64132 + ldc.w cp0,cr0,r0[0]
64133 + ldc.w cp7,cr15,pc[255<<2]
64134 + ldc.w cp3,cr5,r5[128<<2]
64135 + ldc.w cp2,cr4,r4[127<<2]
64136 + ldc.w cp4,cr9,r13[36<<2]
64137 + .text
64138 + .global ldc_w2
64139 +ldc_w2:
64140 + ldc.w cp0,cr0,--r0
64141 + ldc.w cp7,cr15,--pc
64142 + ldc.w cp3,cr5,--r5
64143 + ldc.w cp2,cr4,--r4
64144 + ldc.w cp4,cr9,--r13
64145 + .text
64146 + .global ldc_w3
64147 +ldc_w3:
64148 + ldc.w cp0,cr0,r0[r0]
64149 + ldc.w cp7,cr15,pc[pc<<3]
64150 + ldc.w cp3,cr5,r5[r4<<2]
64151 + ldc.w cp2,cr4,r4[r3<<1]
64152 + ldc.w cp4,cr9,r13[r12<<0]
64153 + .text
64154 + .global ldc_d1
64155 +ldc_d1:
64156 + ldc.d cp0,cr0,r0[0]
64157 + ldc.d cp7,cr14,pc[255<<2]
64158 + ldc.d cp3,cr6,r5[128<<2]
64159 + ldc.d cp2,cr4,r4[127<<2]
64160 + ldc.d cp4,cr8,r13[36<<2]
64161 + .text
64162 + .global ldc_d2
64163 +ldc_d2:
64164 + ldc.d cp0,cr0,--r0
64165 + ldc.d cp7,cr14,--pc
64166 + ldc.d cp3,cr6,--r5
64167 + ldc.d cp2,cr4,--r4
64168 + ldc.d cp4,cr8,--r13
64169 + .text
64170 + .global ldc_d3
64171 +ldc_d3:
64172 + ldc.d cp0,cr0,r0[r0]
64173 + ldc.d cp7,cr14,pc[pc<<3]
64174 + ldc.d cp3,cr6,r5[r4<<2]
64175 + ldc.d cp2,cr4,r4[r3<<1]
64176 + ldc.d cp4,cr8,r13[r12<<0]
64177 + .text
64178 + .global stc_w1
64179 +stc_w1:
64180 + stc.w cp0,r0[0],cr0
64181 + stc.w cp7,pc[255<<2],cr15
64182 + stc.w cp3,r5[128<<2],cr5
64183 + stc.w cp2,r4[127<<2],cr4
64184 + stc.w cp4,r13[36<<2],cr9
64185 + .text
64186 + .global stc_w2
64187 +stc_w2:
64188 + stc.w cp0,r0++,cr0
64189 + stc.w cp7,pc++,cr15
64190 + stc.w cp3,r5++,cr5
64191 + stc.w cp2,r4++,cr4
64192 + stc.w cp4,r13++,cr9
64193 + .text
64194 + .global stc_w3
64195 +stc_w3:
64196 + stc.w cp0,r0[r0],cr0
64197 + stc.w cp7,pc[pc<<3],cr15
64198 + stc.w cp3,r5[r4<<2],cr5
64199 + stc.w cp2,r4[r3<<1],cr4
64200 + stc.w cp4,r13[r12<<0],cr9
64201 + .text
64202 + .global stc_d1
64203 +stc_d1:
64204 + stc.d cp0,r0[0],cr0
64205 + stc.d cp7,pc[255<<2],cr14
64206 + stc.d cp3,r5[128<<2],cr6
64207 + stc.d cp2,r4[127<<2],cr4
64208 + stc.d cp4,r13[36<<2],cr8
64209 + .text
64210 + .global stc_d2
64211 +stc_d2:
64212 + stc.d cp0,r0++,cr0
64213 + stc.d cp7,pc++,cr14
64214 + stc.d cp3,r5++,cr6
64215 + stc.d cp2,r4++,cr4
64216 + stc.d cp4,r13++,cr8
64217 + .text
64218 + .global stc_d3
64219 +stc_d3:
64220 + stc.d cp0,r0[r0],cr0
64221 + stc.d cp7,pc[pc<<3],cr14
64222 + stc.d cp3,r5[r4<<2],cr6
64223 + stc.d cp2,r4[r3<<1],cr4
64224 + stc.d cp4,r13[r12<<0],cr8
64225 + .text
64226 + .global ldc0_w
64227 +ldc0_w:
64228 + ldc0.w cr0,r0[0]
64229 + ldc0.w cr15,pc[4095<<2]
64230 + ldc0.w cr5,r5[2048<<2]
64231 + ldc0.w cr4,r4[2047<<2]
64232 + ldc0.w cr9,r13[147<<2]
64233 + .text
64234 + .global ldc0_d
64235 +ldc0_d:
64236 + ldc0.d cr0,r0[0]
64237 + ldc0.d cr14,pc[4095<<2]
64238 + ldc0.d cr6,r5[2048<<2]
64239 + ldc0.d cr4,r4[2047<<2]
64240 + ldc0.d cr8,r13[147<<2]
64241 + .text
64242 + .global stc0_w
64243 +stc0_w:
64244 + stc0.w r0[0],cr0
64245 + stc0.w pc[4095<<2],cr15
64246 + stc0.w r5[2048<<2],cr5
64247 + stc0.w r4[2047<<2],cr4
64248 + stc0.w r13[147<<2],cr9
64249 + .text
64250 + .global stc0_d
64251 +stc0_d:
64252 + stc0.d r0[0],cr0
64253 + stc0.d pc[4095<<2],cr14
64254 + stc0.d r5[2048<<2],cr6
64255 + stc0.d r4[2047<<2],cr4
64256 + stc0.d r13[147<<2],cr8
64257 + .text
64258 + .global memc
64259 +memc:
64260 + memc 0, 0
64261 + memc -4, 31
64262 + memc -65536, 16
64263 + memc 65532, 15
64264 + .text
64265 + .global mems
64266 +mems:
64267 + mems 0, 0
64268 + mems -4, 31
64269 + mems -65536, 16
64270 + mems 65532, 15
64271 + .text
64272 + .global memt
64273 +memt:
64274 + memt 0, 0
64275 + memt -4, 31
64276 + memt -65536, 16
64277 + memt 65532, 15
64278 +
64279 + .text
64280 + .global stcond
64281 +stcond:
64282 + stcond r0[0], r0
64283 + stcond pc[-1], pc
64284 + stcond r8[-32768], r7
64285 + stcond r7[32767], r8
64286 + stcond r5[0x1234], r10
64287 +
64288 +ldcm_w:
64289 + ldcm.w cp0,pc,cr0-cr7
64290 + ldcm.w cp7,r0,cr0
64291 + ldcm.w cp4,r4++,cr0-cr6
64292 + ldcm.w cp3,r7,cr7
64293 + ldcm.w cp1,r12++,cr1,cr4-cr6
64294 + ldcm.w cp0,pc,cr8-cr15
64295 + ldcm.w cp7,r0,cr8
64296 + ldcm.w cp4,r4++,cr8-cr14
64297 + ldcm.w cp3,r7,cr15
64298 + ldcm.w cp1,r12++,cr9,cr12-cr14
64299 +
64300 +ldcm_d:
64301 + ldcm.d cp0,pc,cr0-cr15
64302 + ldcm.d cp7,r0,cr0,cr1
64303 + ldcm.d cp4,r4++,cr0-cr13
64304 + ldcm.d cp3,r7,cr14-cr15
64305 + ldcm.d cp2,r12++,cr0-cr3,cr8-cr9,cr14-cr15
64306 +
64307 +stcm_w:
64308 + stcm.w cp0,pc,cr0-cr7
64309 + stcm.w cp7,r0,cr0
64310 + stcm.w cp4,--r4,cr0-cr6
64311 + stcm.w cp3,r7,cr7
64312 + stcm.w cp1,--r12,cr1,cr4-cr6
64313 + stcm.w cp0,pc,cr8-cr15
64314 + stcm.w cp7,r0,cr8
64315 + stcm.w cp4,--r4,cr8-cr14
64316 + stcm.w cp3,r7,cr15
64317 + stcm.w cp1,--r12,cr9,cr12-cr14
64318 +
64319 +stcm_d:
64320 + stcm.d cp0,pc,cr0-cr15
64321 + stcm.d cp7,r0,cr0,cr1
64322 + stcm.d cp4,--r4,cr0-cr13
64323 + stcm.d cp3,r7,cr14-cr15
64324 + stcm.d cp2,--r12,cr0-cr3,cr8-cr9,cr14-cr15
64325 +
64326 +mvcr_w:
64327 + mvcr.w cp7,pc,cr15
64328 + mvcr.w cp0,r0,cr0
64329 + mvcr.w cp0,pc,cr15
64330 + mvcr.w cp7,r0,cr15
64331 + mvcr.w cp7,pc,cr0
64332 + mvcr.w cp4,r7,cr8
64333 + mvcr.w cp3,r8,cr7
64334 +
64335 +mvcr_d:
64336 + mvcr.d cp7,lr,cr14
64337 + mvcr.d cp0,r0,cr0
64338 + mvcr.d cp0,lr,cr14
64339 + mvcr.d cp7,r0,cr14
64340 + mvcr.d cp7,lr,cr0
64341 + mvcr.d cp4,r6,cr8
64342 + mvcr.d cp3,r8,cr6
64343 +
64344 +mvrc_w:
64345 + mvrc.w cp7,cr15,pc
64346 + mvrc.w cp0,cr0,r0
64347 + mvrc.w cp0,cr15,pc
64348 + mvrc.w cp7,cr15,r0
64349 + mvrc.w cp7,cr0,pc
64350 + mvrc.w cp4,cr8,r7
64351 + mvrc.w cp3,cr7,r8
64352 +
64353 +mvrc_d:
64354 + mvrc.d cp7,cr14,lr
64355 + mvrc.d cp0,cr0,r0
64356 + mvrc.d cp0,cr14,lr
64357 + mvrc.d cp7,cr14,r0
64358 + mvrc.d cp7,cr0,lr
64359 + mvrc.d cp4,cr8,r6
64360 + mvrc.d cp3,cr6,r8
64361 +
64362 +bfexts:
64363 + bfexts pc,pc,31,31
64364 + bfexts r0,r0,0,0
64365 + bfexts r0,pc,31,31
64366 + bfexts pc,r0,31,31
64367 + bfexts pc,pc,0,31
64368 + bfexts pc,pc,31,0
64369 + bfexts r7,r8,15,16
64370 + bfexts r8,r7,16,15
64371 +
64372 +bfextu:
64373 + bfextu pc,pc,31,31
64374 + bfextu r0,r0,0,0
64375 + bfextu r0,pc,31,31
64376 + bfextu pc,r0,31,31
64377 + bfextu pc,pc,0,31
64378 + bfextu pc,pc,31,0
64379 + bfextu r7,r8,15,16
64380 + bfextu r8,r7,16,15
64381 +
64382 +bfins:
64383 + bfins pc,pc,31,31
64384 + bfins r0,r0,0,0
64385 + bfins r0,pc,31,31
64386 + bfins pc,r0,31,31
64387 + bfins pc,pc,0,31
64388 + bfins pc,pc,31,0
64389 + bfins r7,r8,15,16
64390 + bfins r8,r7,16,15
64391 Index: binutils-2.17/gas/testsuite/gas/avr32/avr32.exp
64392 ===================================================================
64393 --- /dev/null 1970-01-01 00:00:00.000000000 +0000
64394 +++ binutils-2.17/gas/testsuite/gas/avr32/avr32.exp 2007-06-28 09:19:36.643665768 +0200
64395 @@ -0,0 +1,23 @@
64396 +# AVR32 assembler testsuite. -*- Tcl -*-
64397 +
64398 +if [istarget avr32-*-*] {
64399 + run_dump_test "hwrd-lwrd"
64400 + run_dump_test "pcrel"
64401 + run_dump_test "aliases"
64402 + run_dump_test "dwarf2"
64403 + run_dump_test "pic_reloc"
64404 + run_dump_test "fpinsn"
64405 + run_dump_test "pico"
64406 + run_dump_test "lda_pic"
64407 + run_dump_test "lda_pic_linkrelax"
64408 + run_dump_test "lda_nopic"
64409 + run_dump_test "lda_nopic_linkrelax"
64410 + run_dump_test "call_pic"
64411 + run_dump_test "call_pic_linkrelax"
64412 + run_dump_test "call_nopic"
64413 + run_dump_test "call_nopic_linkrelax"
64414 + run_dump_test "jmptable"
64415 + run_dump_test "jmptable_linkrelax"
64416 + run_dump_test "symdiff"
64417 + run_dump_test "symdiff_linkrelax"
64418 +}
64419 Index: binutils-2.17/gas/testsuite/gas/avr32/call_nopic.d
64420 ===================================================================
64421 --- /dev/null 1970-01-01 00:00:00.000000000 +0000
64422 +++ binutils-2.17/gas/testsuite/gas/avr32/call_nopic.d 2007-06-28 09:19:36.644665616 +0200
64423 @@ -0,0 +1,36 @@
64424 +#source: call.s
64425 +#as:
64426 +#objdump: -dr
64427 +#name: call_nopic
64428 +
64429 +.*: +file format .*
64430 +
64431 +Disassembly of section \.text:
64432 +
64433 +00000000 <call_test>:
64434 + 0: d7 03 nop
64435 +
64436 +00000002 <toofar_negative>:
64437 + \.\.\.
64438 + 1ffffe: 00 00 add r0,r0
64439 + 200000: f0 a0 00 00 rcall 0 <call_test>
64440 + 200004: f0 1f 00 0c mcall 200034 <toofar_negative\+0x200032>
64441 + 200008: f0 1f 00 0c mcall 200038 <toofar_negative\+0x200036>
64442 + 20000c: f0 1f 00 0c mcall 20003c <toofar_negative\+0x20003a>
64443 + 200010: f0 1f 00 0c mcall 200040 <toofar_negative\+0x20003e>
64444 + \.\.\.
64445 + 200030: ee b0 ff ff rcall 40002e <far_positive>
64446 + \.\.\.
64447 + 200034: R_AVR32_32_CPENT \.text\+0x2
64448 + 200038: R_AVR32_32_CPENT \.text\.init
64449 + 20003c: R_AVR32_32_CPENT undefined
64450 + 200040: R_AVR32_32_CPENT \.text\+0x40002c
64451 +
64452 +0040002c <toofar_positive>:
64453 + 40002c: d7 03 nop
64454 +0040002e <far_positive>:
64455 + 40002e: d7 03 nop
64456 +Disassembly of section \.text\.init:
64457 +
64458 +00000000 <different_section>:
64459 + 0: e2 c0 00 00 sub r0,r1,0
64460 Index: binutils-2.17/gas/testsuite/gas/avr32/call_nopic_linkrelax.d
64461 ===================================================================
64462 --- /dev/null 1970-01-01 00:00:00.000000000 +0000
64463 +++ binutils-2.17/gas/testsuite/gas/avr32/call_nopic_linkrelax.d 2007-06-28 09:19:36.644665616 +0200
64464 @@ -0,0 +1,43 @@
64465 +#source: call.s
64466 +#as: --linkrelax
64467 +#objdump: -dr
64468 +#name: call_nopic_linkrelax
64469 +
64470 +.*: +file format .*
64471 +
64472 +Disassembly of section \.text:
64473 +
64474 +00000000 <call_test>:
64475 + 0: d7 03 nop
64476 +
64477 +00000002 <toofar_negative>:
64478 + \.\.\.
64479 + 1ffffe: 00 00 add r0,r0
64480 + 200000: e0 a0 00 00 rcall 200000 <toofar_negative\+0x1ffffe>
64481 + 200000: R_AVR32_22H_PCREL \.text
64482 + 200004: f0 1f 00 00 mcall 200004 <toofar_negative\+0x200002>
64483 + 200004: R_AVR32_CPCALL \.text\+0x200034
64484 + 200008: f0 1f 00 00 mcall 200008 <toofar_negative\+0x200006>
64485 + 200008: R_AVR32_CPCALL \.text\+0x200038
64486 + 20000c: f0 1f 00 00 mcall 20000c <toofar_negative\+0x20000a>
64487 + 20000c: R_AVR32_CPCALL \.text\+0x20003c
64488 + 200010: f0 1f 00 00 mcall 200010 <toofar_negative\+0x20000e>
64489 + 200010: R_AVR32_CPCALL \.text\+0x200040
64490 + \.\.\.
64491 + 200030: e0 a0 00 00 rcall 200030 <toofar_negative\+0x20002e>
64492 + 200030: R_AVR32_22H_PCREL \.text\+0x40002e
64493 + \.\.\.
64494 + 200034: R_AVR32_ALIGN \*ABS\*\+0x2
64495 + 200034: R_AVR32_32_CPENT \.text\+0x2
64496 + 200038: R_AVR32_32_CPENT \.text\.init
64497 + 20003c: R_AVR32_32_CPENT undefined
64498 + 200040: R_AVR32_32_CPENT \.text\+0x40002c
64499 +
64500 +0040002c <toofar_positive>:
64501 + 40002c: d7 03 nop
64502 +0040002e <far_positive>:
64503 + 40002e: d7 03 nop
64504 +Disassembly of section \.text\.init:
64505 +
64506 +00000000 <different_section>:
64507 + 0: e2 c0 00 00 sub r0,r1,0
64508 Index: binutils-2.17/gas/testsuite/gas/avr32/call_pic.d
64509 ===================================================================
64510 --- /dev/null 1970-01-01 00:00:00.000000000 +0000
64511 +++ binutils-2.17/gas/testsuite/gas/avr32/call_pic.d 2007-06-28 09:19:36.644665616 +0200
64512 @@ -0,0 +1,36 @@
64513 +#source: call.s
64514 +#as: --pic
64515 +#objdump: -dr
64516 +#name: call_pic
64517 +
64518 +.*: +file format .*
64519 +
64520 +Disassembly of section \.text:
64521 +
64522 +00000000 <call_test>:
64523 + 0: d7 03 nop
64524 +
64525 +00000002 <toofar_negative>:
64526 + \.\.\.
64527 + 1ffffe: 00 00 add r0,r0
64528 + 200000: f0 a0 00 00 rcall 0 <call_test>
64529 + 200004: f0 16 00 00 mcall r6\[0\]
64530 + 200004: R_AVR32_GOT18SW toofar_negative
64531 + 200008: f0 16 00 00 mcall r6\[0\]
64532 + 200008: R_AVR32_GOT18SW different_section
64533 + 20000c: f0 16 00 00 mcall r6\[0\]
64534 + 20000c: R_AVR32_GOT18SW undefined
64535 + 200010: f0 16 00 00 mcall r6\[0\]
64536 + 200010: R_AVR32_GOT18SW toofar_positive
64537 + \.\.\.
64538 + 200030: ee b0 ff ff rcall 40002e <far_positive>
64539 + \.\.\.
64540 +
64541 +0040002c <toofar_positive>:
64542 + 40002c: d7 03 nop
64543 +0040002e <far_positive>:
64544 + 40002e: d7 03 nop
64545 +Disassembly of section \.text\.init:
64546 +
64547 +00000000 <different_section>:
64548 + 0: e2 c0 00 00 sub r0,r1,0
64549 Index: binutils-2.17/gas/testsuite/gas/avr32/call_pic_linkrelax.d
64550 ===================================================================
64551 --- /dev/null 1970-01-01 00:00:00.000000000 +0000
64552 +++ binutils-2.17/gas/testsuite/gas/avr32/call_pic_linkrelax.d 2007-06-28 09:19:36.644665616 +0200
64553 @@ -0,0 +1,47 @@
64554 +#source: call.s
64555 +#as: --pic --linkrelax
64556 +#objdump: -dr
64557 +#name: call_pic_linkrelax
64558 +
64559 +.*: +file format .*
64560 +
64561 +Disassembly of section \.text:
64562 +
64563 +00000000 <call_test>:
64564 + 0: d7 03 nop
64565 +
64566 +00000002 <toofar_negative>:
64567 + \.\.\.
64568 + 1ffffe: 00 00 add r0,r0
64569 + 200000: e0 a0 00 00 rcall 200000 <toofar_negative\+0x1ffffe>
64570 + 200000: R_AVR32_22H_PCREL \.text
64571 + 200004: e0 6e 00 00 mov lr,0
64572 + 200004: R_AVR32_GOTCALL toofar_negative
64573 + 200008: ec 0e 03 2e ld\.w lr,r6\[lr<<0x2\]
64574 + 20000c: 5d 1e icall lr
64575 + 20000e: e0 6e 00 00 mov lr,0
64576 + 20000e: R_AVR32_GOTCALL different_section
64577 + 200012: ec 0e 03 2e ld\.w lr,r6\[lr<<0x2\]
64578 + 200016: 5d 1e icall lr
64579 + 200018: e0 6e 00 00 mov lr,0
64580 + 200018: R_AVR32_GOTCALL undefined
64581 + 20001c: ec 0e 03 2e ld\.w lr,r6\[lr<<0x2\]
64582 + 200020: 5d 1e icall lr
64583 + 200022: e0 6e 00 00 mov lr,0
64584 + 200022: R_AVR32_GOTCALL toofar_positive
64585 + 200026: ec 0e 03 2e ld\.w lr,r6\[lr<<0x2\]
64586 + 20002a: 5d 1e icall lr
64587 + 20002c: 00 00 add r0,r0
64588 + 20002e: 00 00 add r0,r0
64589 + 200030: e0 a0 00 00 rcall 200030 <toofar_negative\+0x20002e>
64590 + 200030: R_AVR32_22H_PCREL \.text\+0x40002e
64591 + \.\.\.
64592 +
64593 +0040002c <toofar_positive>:
64594 + 40002c: d7 03 nop
64595 +0040002e <far_positive>:
64596 + 40002e: d7 03 nop
64597 +Disassembly of section \.text\.init:
64598 +
64599 +00000000 <different_section>:
64600 + 0: e2 c0 00 00 sub r0,r1,0
64601 Index: binutils-2.17/gas/testsuite/gas/avr32/call.s
64602 ===================================================================
64603 --- /dev/null 1970-01-01 00:00:00.000000000 +0000
64604 +++ binutils-2.17/gas/testsuite/gas/avr32/call.s 2007-06-28 09:19:36.645665464 +0200
64605 @@ -0,0 +1,30 @@
64606 +
64607 + .text
64608 + .global call_test
64609 +call_test:
64610 +far_negative:
64611 + nop
64612 +toofar_negative:
64613 +
64614 + .org 0x200000
64615 +
64616 + call far_negative
64617 + call toofar_negative
64618 + call different_section
64619 + call undefined
64620 + call toofar_positive
64621 + .org 0x200030
64622 + call far_positive
64623 +
64624 + .cpool
64625 +
64626 + .org 0x40002c
64627 +
64628 +toofar_positive:
64629 + nop
64630 +far_positive:
64631 + nop
64632 +
64633 + .section .text.init,"ax",@progbits
64634 +different_section:
64635 + sub r0, r1, 0
64636 Index: binutils-2.17/gas/testsuite/gas/avr32/dwarf2.d
64637 ===================================================================
64638 --- /dev/null 1970-01-01 00:00:00.000000000 +0000
64639 +++ binutils-2.17/gas/testsuite/gas/avr32/dwarf2.d 2007-06-28 09:19:36.645665464 +0200
64640 @@ -0,0 +1,42 @@
64641 +#readelf: -wl
64642 +#name: dwarf2
64643 +#source: dwarf2.s
64644 +
64645 +Dump of debug contents of section \.debug_line:
64646 +
64647 + Length: 53
64648 + DWARF Version: 2
64649 + Prologue Length: 26
64650 + Minimum Instruction Length: 1
64651 + Initial value of 'is_stmt': 1
64652 + Line Base: -5
64653 + Line Range: 14
64654 + Opcode Base: 10
64655 + \(Pointer size: 4\)
64656 +
64657 + Opcodes:
64658 + Opcode 1 has 0 args
64659 + Opcode 2 has 1 args
64660 + Opcode 3 has 1 args
64661 + Opcode 4 has 1 args
64662 + Opcode 5 has 1 args
64663 + Opcode 6 has 0 args
64664 + Opcode 7 has 0 args
64665 + Opcode 8 has 0 args
64666 + Opcode 9 has 1 args
64667 +
64668 + The Directory Table is empty\.
64669 +
64670 + The File Name Table:
64671 + Entry Dir Time Size Name
64672 + 1 0 0 0 main\.c
64673 +
64674 + Line Number Statements:
64675 + Extended opcode 2: set Address to 0x0
64676 + Advance Line by 87 to 88
64677 + Copy
64678 + Advance Line by 23 to 111
64679 + Special opcode .*: advance Address by 4 to 0x4 and Line by 0 to 111
64680 + Special opcode .*: advance Address by 10 to 0xe and Line by 1 to 112
64681 + Advance PC by 530 to 220
64682 + Extended opcode 1: End of Sequence
64683 Index: binutils-2.17/gas/testsuite/gas/avr32/dwarf2.s
64684 ===================================================================
64685 --- /dev/null 1970-01-01 00:00:00.000000000 +0000
64686 +++ binutils-2.17/gas/testsuite/gas/avr32/dwarf2.s 2007-06-28 09:19:36.645665464 +0200
64687 @@ -0,0 +1,67 @@
64688 +# Source file used to test DWARF2 information for AVR32.
64689 +
64690 + .file "main.c"
64691 +
64692 + .section .debug_abbrev,"",@progbits
64693 +.Ldebug_abbrev0:
64694 + .section .debug_info,"",@progbits
64695 +.Ldebug_info0:
64696 + .section .debug_line,"",@progbits
64697 +.Ldebug_line0:
64698 +
64699 + .text
64700 + .align 1
64701 + .globl main
64702 + .type main, @function
64703 +.Ltext0:
64704 +main:
64705 + .file 1 "main.c"
64706 + .loc 1 88 0
64707 + pushm r0-r7,lr
64708 + sub sp, 4
64709 + .loc 1 111 0
64710 + lddpc r12, .LC1
64711 + lddpc r7, .LC1
64712 + icall r7
64713 + .loc 1 112 0
64714 + lddpc r6, .LC4
64715 +
64716 + .align 2
64717 +.LC4: .int 0
64718 +
64719 + .fill 256, 2, 0
64720 +
64721 + .align 2
64722 +.LC1:
64723 + .int 0
64724 +.LC2:
64725 + .int 0
64726 +.LC3:
64727 + .int 0
64728 + .size main, . - main
64729 +
64730 +.Letext0:
64731 +
64732 + .section .debug_info
64733 + .int .Ledebug_info0 - .Ldebug_info0 // size
64734 + .short 2 // version
64735 + .int .Ldebug_abbrev0 // abbrev offset
64736 + .byte 4 // bytes per addr
64737 +
64738 + .uleb128 1 // abbrev 1
64739 + .int .Ldebug_line0 // DW_AT_stmt_list
64740 + .int .Letext0 // DW_AT_high_pc
64741 + .int .Ltext0 // DW_AT_low_pc
64742 +
64743 +.Ledebug_info0:
64744 +
64745 + .section .debug_abbrev
64746 + .uleb128 0x01
64747 + .uleb128 0x11 // DW_TAG_compile_unit
64748 + .byte 0 // DW_CHILDREN_no
64749 + .uleb128 0x10, 0x6 // DW_AT_stmt_list
64750 + .uleb128 0x12, 0x1 // DW_AT_high_pc
64751 + .uleb128 0x11, 0x1 // DW_AT_low_pc
64752 + .uleb128 0, 0
64753 +
64754 + .byte 0
64755 Index: binutils-2.17/gas/testsuite/gas/avr32/fpinsn.d
64756 ===================================================================
64757 --- /dev/null 1970-01-01 00:00:00.000000000 +0000
64758 +++ binutils-2.17/gas/testsuite/gas/avr32/fpinsn.d 2007-06-28 09:19:36.645665464 +0200
64759 @@ -0,0 +1,271 @@
64760 +#as:
64761 +#objdump: -dr
64762 +#name: fpinsn
64763 +
64764 +.*: +file format .*
64765 +
64766 +Disassembly of section \.text:
64767 +
64768 +[0-9a-f]* <fadd_s>:
64769 + *[0-9a-f]*: e1 a2 0f ff cop cp0,cr15,cr15,cr15,0x4
64770 + *[0-9a-f]*: e1 a2 00 00 cop cp0,cr0,cr0,cr0,0x4
64771 + *[0-9a-f]*: e1 a2 00 ff cop cp0,cr0,cr15,cr15,0x4
64772 + *[0-9a-f]*: e1 a2 0f 0f cop cp0,cr15,cr0,cr15,0x4
64773 + *[0-9a-f]*: e1 a2 0f f0 cop cp0,cr15,cr15,cr0,0x4
64774 + *[0-9a-f]*: e1 a2 07 88 cop cp0,cr7,cr8,cr8,0x4
64775 + *[0-9a-f]*: e1 a2 08 78 cop cp0,cr8,cr7,cr8,0x4
64776 + *[0-9a-f]*: e1 a2 08 87 cop cp0,cr8,cr8,cr7,0x4
64777 +
64778 +[0-9a-f]* <fsub_s>:
64779 + *[0-9a-f]*: e1 a2 1f ff cop cp0,cr15,cr15,cr15,0x5
64780 + *[0-9a-f]*: e1 a2 10 00 cop cp0,cr0,cr0,cr0,0x5
64781 + *[0-9a-f]*: e1 a2 10 ff cop cp0,cr0,cr15,cr15,0x5
64782 + *[0-9a-f]*: e1 a2 1f 0f cop cp0,cr15,cr0,cr15,0x5
64783 + *[0-9a-f]*: e1 a2 1f f0 cop cp0,cr15,cr15,cr0,0x5
64784 + *[0-9a-f]*: e1 a2 17 88 cop cp0,cr7,cr8,cr8,0x5
64785 + *[0-9a-f]*: e1 a2 18 78 cop cp0,cr8,cr7,cr8,0x5
64786 + *[0-9a-f]*: e1 a2 18 87 cop cp0,cr8,cr8,cr7,0x5
64787 +
64788 +[0-9a-f]* <fmac_s>:
64789 + *[0-9a-f]*: e1 a0 0f ff cop cp0,cr15,cr15,cr15,0x0
64790 + *[0-9a-f]*: e1 a0 00 00 cop cp0,cr0,cr0,cr0,0x0
64791 + *[0-9a-f]*: e1 a0 00 ff cop cp0,cr0,cr15,cr15,0x0
64792 + *[0-9a-f]*: e1 a0 0f 0f cop cp0,cr15,cr0,cr15,0x0
64793 + *[0-9a-f]*: e1 a0 0f f0 cop cp0,cr15,cr15,cr0,0x0
64794 + *[0-9a-f]*: e1 a0 07 88 cop cp0,cr7,cr8,cr8,0x0
64795 + *[0-9a-f]*: e1 a0 08 78 cop cp0,cr8,cr7,cr8,0x0
64796 + *[0-9a-f]*: e1 a0 08 87 cop cp0,cr8,cr8,cr7,0x0
64797 +
64798 +[0-9a-f]* <fnmac_s>:
64799 + *[0-9a-f]*: e1 a0 1f ff cop cp0,cr15,cr15,cr15,0x1
64800 + *[0-9a-f]*: e1 a0 10 00 cop cp0,cr0,cr0,cr0,0x1
64801 + *[0-9a-f]*: e1 a0 10 ff cop cp0,cr0,cr15,cr15,0x1
64802 + *[0-9a-f]*: e1 a0 1f 0f cop cp0,cr15,cr0,cr15,0x1
64803 + *[0-9a-f]*: e1 a0 1f f0 cop cp0,cr15,cr15,cr0,0x1
64804 + *[0-9a-f]*: e1 a0 17 88 cop cp0,cr7,cr8,cr8,0x1
64805 + *[0-9a-f]*: e1 a0 18 78 cop cp0,cr8,cr7,cr8,0x1
64806 + *[0-9a-f]*: e1 a0 18 87 cop cp0,cr8,cr8,cr7,0x1
64807 +
64808 +[0-9a-f]* <fmsc_s>:
64809 + *[0-9a-f]*: e1 a1 0f ff cop cp0,cr15,cr15,cr15,0x2
64810 + *[0-9a-f]*: e1 a1 00 00 cop cp0,cr0,cr0,cr0,0x2
64811 + *[0-9a-f]*: e1 a1 00 ff cop cp0,cr0,cr15,cr15,0x2
64812 + *[0-9a-f]*: e1 a1 0f 0f cop cp0,cr15,cr0,cr15,0x2
64813 + *[0-9a-f]*: e1 a1 0f f0 cop cp0,cr15,cr15,cr0,0x2
64814 + *[0-9a-f]*: e1 a1 07 88 cop cp0,cr7,cr8,cr8,0x2
64815 + *[0-9a-f]*: e1 a1 08 78 cop cp0,cr8,cr7,cr8,0x2
64816 + *[0-9a-f]*: e1 a1 08 87 cop cp0,cr8,cr8,cr7,0x2
64817 +
64818 +[0-9a-f]* <fnmsc_s>:
64819 + *[0-9a-f]*: e1 a1 1f ff cop cp0,cr15,cr15,cr15,0x3
64820 + *[0-9a-f]*: e1 a1 10 00 cop cp0,cr0,cr0,cr0,0x3
64821 + *[0-9a-f]*: e1 a1 10 ff cop cp0,cr0,cr15,cr15,0x3
64822 + *[0-9a-f]*: e1 a1 1f 0f cop cp0,cr15,cr0,cr15,0x3
64823 + *[0-9a-f]*: e1 a1 1f f0 cop cp0,cr15,cr15,cr0,0x3
64824 + *[0-9a-f]*: e1 a1 17 88 cop cp0,cr7,cr8,cr8,0x3
64825 + *[0-9a-f]*: e1 a1 18 78 cop cp0,cr8,cr7,cr8,0x3
64826 + *[0-9a-f]*: e1 a1 18 87 cop cp0,cr8,cr8,cr7,0x3
64827 +
64828 +[0-9a-f]* <fmul_s>:
64829 + *[0-9a-f]*: e1 a3 0f ff cop cp0,cr15,cr15,cr15,0x6
64830 + *[0-9a-f]*: e1 a3 00 00 cop cp0,cr0,cr0,cr0,0x6
64831 + *[0-9a-f]*: e1 a3 00 ff cop cp0,cr0,cr15,cr15,0x6
64832 + *[0-9a-f]*: e1 a3 0f 0f cop cp0,cr15,cr0,cr15,0x6
64833 + *[0-9a-f]*: e1 a3 0f f0 cop cp0,cr15,cr15,cr0,0x6
64834 + *[0-9a-f]*: e1 a3 07 88 cop cp0,cr7,cr8,cr8,0x6
64835 + *[0-9a-f]*: e1 a3 08 78 cop cp0,cr8,cr7,cr8,0x6
64836 + *[0-9a-f]*: e1 a3 08 87 cop cp0,cr8,cr8,cr7,0x6
64837 +
64838 +[0-9a-f]* <fnmul_s>:
64839 + *[0-9a-f]*: e1 a3 1f ff cop cp0,cr15,cr15,cr15,0x7
64840 + *[0-9a-f]*: e1 a3 10 00 cop cp0,cr0,cr0,cr0,0x7
64841 + *[0-9a-f]*: e1 a3 10 ff cop cp0,cr0,cr15,cr15,0x7
64842 + *[0-9a-f]*: e1 a3 1f 0f cop cp0,cr15,cr0,cr15,0x7
64843 + *[0-9a-f]*: e1 a3 1f f0 cop cp0,cr15,cr15,cr0,0x7
64844 + *[0-9a-f]*: e1 a3 17 88 cop cp0,cr7,cr8,cr8,0x7
64845 + *[0-9a-f]*: e1 a3 18 78 cop cp0,cr8,cr7,cr8,0x7
64846 + *[0-9a-f]*: e1 a3 18 87 cop cp0,cr8,cr8,cr7,0x7
64847 +
64848 +[0-9a-f]* <fneg_s>:
64849 + *[0-9a-f]*: e1 a4 0f f0 cop cp0,cr15,cr15,cr0,0x8
64850 + *[0-9a-f]*: e1 a4 00 00 cop cp0,cr0,cr0,cr0,0x8
64851 + *[0-9a-f]*: e1 a4 00 f0 cop cp0,cr0,cr15,cr0,0x8
64852 + *[0-9a-f]*: e1 a4 0f 00 cop cp0,cr15,cr0,cr0,0x8
64853 + *[0-9a-f]*: e1 a4 07 80 cop cp0,cr7,cr8,cr0,0x8
64854 + *[0-9a-f]*: e1 a4 08 70 cop cp0,cr8,cr7,cr0,0x8
64855 +
64856 +[0-9a-f]* <fabs_s>:
64857 + *[0-9a-f]*: e1 a4 1f f0 cop cp0,cr15,cr15,cr0,0x9
64858 + *[0-9a-f]*: e1 a4 10 00 cop cp0,cr0,cr0,cr0,0x9
64859 + *[0-9a-f]*: e1 a4 10 f0 cop cp0,cr0,cr15,cr0,0x9
64860 + *[0-9a-f]*: e1 a4 1f 00 cop cp0,cr15,cr0,cr0,0x9
64861 + *[0-9a-f]*: e1 a4 17 80 cop cp0,cr7,cr8,cr0,0x9
64862 + *[0-9a-f]*: e1 a4 18 70 cop cp0,cr8,cr7,cr0,0x9
64863 +
64864 +[0-9a-f]* <fcmp_s>:
64865 + *[0-9a-f]*: e1 a6 10 ff cop cp0,cr0,cr15,cr15,0xd
64866 + *[0-9a-f]*: e1 a6 10 00 cop cp0,cr0,cr0,cr0,0xd
64867 + *[0-9a-f]*: e1 a6 10 0f cop cp0,cr0,cr0,cr15,0xd
64868 + *[0-9a-f]*: e1 a6 10 f0 cop cp0,cr0,cr15,cr0,0xd
64869 + *[0-9a-f]*: e1 a6 10 78 cop cp0,cr0,cr7,cr8,0xd
64870 + *[0-9a-f]*: e1 a6 10 87 cop cp0,cr0,cr8,cr7,0xd
64871 +
64872 +[0-9a-f]* <fadd_d>:
64873 + *[0-9a-f]*: e5 a2 0e ee cop cp0,cr14,cr14,cr14,0x44
64874 + *[0-9a-f]*: e5 a2 00 00 cop cp0,cr0,cr0,cr0,0x44
64875 + *[0-9a-f]*: e5 a2 00 ee cop cp0,cr0,cr14,cr14,0x44
64876 + *[0-9a-f]*: e5 a2 0e 0e cop cp0,cr14,cr0,cr14,0x44
64877 + *[0-9a-f]*: e5 a2 0e e0 cop cp0,cr14,cr14,cr0,0x44
64878 + *[0-9a-f]*: e5 a2 06 88 cop cp0,cr6,cr8,cr8,0x44
64879 + *[0-9a-f]*: e5 a2 08 68 cop cp0,cr8,cr6,cr8,0x44
64880 + *[0-9a-f]*: e5 a2 08 86 cop cp0,cr8,cr8,cr6,0x44
64881 +
64882 +[0-9a-f]* <fsub_d>:
64883 + *[0-9a-f]*: e5 a2 1e ee cop cp0,cr14,cr14,cr14,0x45
64884 + *[0-9a-f]*: e5 a2 10 00 cop cp0,cr0,cr0,cr0,0x45
64885 + *[0-9a-f]*: e5 a2 10 ee cop cp0,cr0,cr14,cr14,0x45
64886 + *[0-9a-f]*: e5 a2 1e 0e cop cp0,cr14,cr0,cr14,0x45
64887 + *[0-9a-f]*: e5 a2 1e e0 cop cp0,cr14,cr14,cr0,0x45
64888 + *[0-9a-f]*: e5 a2 16 88 cop cp0,cr6,cr8,cr8,0x45
64889 + *[0-9a-f]*: e5 a2 18 68 cop cp0,cr8,cr6,cr8,0x45
64890 + *[0-9a-f]*: e5 a2 18 86 cop cp0,cr8,cr8,cr6,0x45
64891 +
64892 +[0-9a-f]* <fmac_d>:
64893 + *[0-9a-f]*: e5 a0 0e ee cop cp0,cr14,cr14,cr14,0x40
64894 + *[0-9a-f]*: e5 a0 00 00 cop cp0,cr0,cr0,cr0,0x40
64895 + *[0-9a-f]*: e5 a0 00 ee cop cp0,cr0,cr14,cr14,0x40
64896 + *[0-9a-f]*: e5 a0 0e 0e cop cp0,cr14,cr0,cr14,0x40
64897 + *[0-9a-f]*: e5 a0 0e e0 cop cp0,cr14,cr14,cr0,0x40
64898 + *[0-9a-f]*: e5 a0 06 88 cop cp0,cr6,cr8,cr8,0x40
64899 + *[0-9a-f]*: e5 a0 08 68 cop cp0,cr8,cr6,cr8,0x40
64900 + *[0-9a-f]*: e5 a0 08 86 cop cp0,cr8,cr8,cr6,0x40
64901 +
64902 +[0-9a-f]* <fnmac_d>:
64903 + *[0-9a-f]*: e5 a0 1e ee cop cp0,cr14,cr14,cr14,0x41
64904 + *[0-9a-f]*: e5 a0 10 00 cop cp0,cr0,cr0,cr0,0x41
64905 + *[0-9a-f]*: e5 a0 10 ee cop cp0,cr0,cr14,cr14,0x41
64906 + *[0-9a-f]*: e5 a0 1e 0e cop cp0,cr14,cr0,cr14,0x41
64907 + *[0-9a-f]*: e5 a0 1e e0 cop cp0,cr14,cr14,cr0,0x41
64908 + *[0-9a-f]*: e5 a0 16 88 cop cp0,cr6,cr8,cr8,0x41
64909 + *[0-9a-f]*: e5 a0 18 68 cop cp0,cr8,cr6,cr8,0x41
64910 + *[0-9a-f]*: e5 a0 18 86 cop cp0,cr8,cr8,cr6,0x41
64911 +
64912 +[0-9a-f]* <fmsc_d>:
64913 + *[0-9a-f]*: e5 a1 0e ee cop cp0,cr14,cr14,cr14,0x42
64914 + *[0-9a-f]*: e5 a1 00 00 cop cp0,cr0,cr0,cr0,0x42
64915 + *[0-9a-f]*: e5 a1 00 ee cop cp0,cr0,cr14,cr14,0x42
64916 + *[0-9a-f]*: e5 a1 0e 0e cop cp0,cr14,cr0,cr14,0x42
64917 + *[0-9a-f]*: e5 a1 0e e0 cop cp0,cr14,cr14,cr0,0x42
64918 + *[0-9a-f]*: e5 a1 06 88 cop cp0,cr6,cr8,cr8,0x42
64919 + *[0-9a-f]*: e5 a1 08 68 cop cp0,cr8,cr6,cr8,0x42
64920 + *[0-9a-f]*: e5 a1 08 86 cop cp0,cr8,cr8,cr6,0x42
64921 +
64922 +[0-9a-f]* <fnmsc_d>:
64923 + *[0-9a-f]*: e5 a1 1e ee cop cp0,cr14,cr14,cr14,0x43
64924 + *[0-9a-f]*: e5 a1 10 00 cop cp0,cr0,cr0,cr0,0x43
64925 + *[0-9a-f]*: e5 a1 10 ee cop cp0,cr0,cr14,cr14,0x43
64926 + *[0-9a-f]*: e5 a1 1e 0e cop cp0,cr14,cr0,cr14,0x43
64927 + *[0-9a-f]*: e5 a1 1e e0 cop cp0,cr14,cr14,cr0,0x43
64928 + *[0-9a-f]*: e5 a1 16 88 cop cp0,cr6,cr8,cr8,0x43
64929 + *[0-9a-f]*: e5 a1 18 68 cop cp0,cr8,cr6,cr8,0x43
64930 + *[0-9a-f]*: e5 a1 18 86 cop cp0,cr8,cr8,cr6,0x43
64931 +
64932 +[0-9a-f]* <fmul_d>:
64933 + *[0-9a-f]*: e5 a3 0e ee cop cp0,cr14,cr14,cr14,0x46
64934 + *[0-9a-f]*: e5 a3 00 00 cop cp0,cr0,cr0,cr0,0x46
64935 + *[0-9a-f]*: e5 a3 00 ee cop cp0,cr0,cr14,cr14,0x46
64936 + *[0-9a-f]*: e5 a3 0e 0e cop cp0,cr14,cr0,cr14,0x46
64937 + *[0-9a-f]*: e5 a3 0e e0 cop cp0,cr14,cr14,cr0,0x46
64938 + *[0-9a-f]*: e5 a3 06 88 cop cp0,cr6,cr8,cr8,0x46
64939 + *[0-9a-f]*: e5 a3 08 68 cop cp0,cr8,cr6,cr8,0x46
64940 + *[0-9a-f]*: e5 a3 08 86 cop cp0,cr8,cr8,cr6,0x46
64941 +
64942 +[0-9a-f]* <fnmul_d>:
64943 + *[0-9a-f]*: e5 a3 1e ee cop cp0,cr14,cr14,cr14,0x47
64944 + *[0-9a-f]*: e5 a3 10 00 cop cp0,cr0,cr0,cr0,0x47
64945 + *[0-9a-f]*: e5 a3 10 ee cop cp0,cr0,cr14,cr14,0x47
64946 + *[0-9a-f]*: e5 a3 1e 0e cop cp0,cr14,cr0,cr14,0x47
64947 + *[0-9a-f]*: e5 a3 1e e0 cop cp0,cr14,cr14,cr0,0x47
64948 + *[0-9a-f]*: e5 a3 16 88 cop cp0,cr6,cr8,cr8,0x47
64949 + *[0-9a-f]*: e5 a3 18 68 cop cp0,cr8,cr6,cr8,0x47
64950 + *[0-9a-f]*: e5 a3 18 86 cop cp0,cr8,cr8,cr6,0x47
64951 +
64952 +[0-9a-f]* <fneg_d>:
64953 + *[0-9a-f]*: e5 a4 0e e0 cop cp0,cr14,cr14,cr0,0x48
64954 + *[0-9a-f]*: e5 a4 00 00 cop cp0,cr0,cr0,cr0,0x48
64955 + *[0-9a-f]*: e5 a4 00 e0 cop cp0,cr0,cr14,cr0,0x48
64956 + *[0-9a-f]*: e5 a4 0e 00 cop cp0,cr14,cr0,cr0,0x48
64957 + *[0-9a-f]*: e5 a4 06 80 cop cp0,cr6,cr8,cr0,0x48
64958 + *[0-9a-f]*: e5 a4 08 60 cop cp0,cr8,cr6,cr0,0x48
64959 +
64960 +[0-9a-f]* <fabs_d>:
64961 + *[0-9a-f]*: e5 a4 1e e0 cop cp0,cr14,cr14,cr0,0x49
64962 + *[0-9a-f]*: e5 a4 10 00 cop cp0,cr0,cr0,cr0,0x49
64963 + *[0-9a-f]*: e5 a4 10 e0 cop cp0,cr0,cr14,cr0,0x49
64964 + *[0-9a-f]*: e5 a4 1e 00 cop cp0,cr14,cr0,cr0,0x49
64965 + *[0-9a-f]*: e5 a4 16 80 cop cp0,cr6,cr8,cr0,0x49
64966 + *[0-9a-f]*: e5 a4 18 60 cop cp0,cr8,cr6,cr0,0x49
64967 +
64968 +[0-9a-f]* <fcmp_d>:
64969 + *[0-9a-f]*: e5 a6 10 ee cop cp0,cr0,cr14,cr14,0x4d
64970 + *[0-9a-f]*: e5 a6 10 00 cop cp0,cr0,cr0,cr0,0x4d
64971 + *[0-9a-f]*: e5 a6 10 0e cop cp0,cr0,cr0,cr14,0x4d
64972 + *[0-9a-f]*: e5 a6 10 e0 cop cp0,cr0,cr14,cr0,0x4d
64973 + *[0-9a-f]*: e5 a6 10 68 cop cp0,cr0,cr6,cr8,0x4d
64974 + *[0-9a-f]*: e5 a6 10 86 cop cp0,cr0,cr8,cr6,0x4d
64975 +
64976 +[0-9a-f]* <fmov_s>:
64977 + *[0-9a-f]*: e1 a5 0f f0 cop cp0,cr15,cr15,cr0,0xa
64978 + *[0-9a-f]*: e1 a5 00 00 cop cp0,cr0,cr0,cr0,0xa
64979 + *[0-9a-f]*: e1 a5 0f 00 cop cp0,cr15,cr0,cr0,0xa
64980 + *[0-9a-f]*: e1 a5 00 f0 cop cp0,cr0,cr15,cr0,0xa
64981 + *[0-9a-f]*: e1 a5 08 70 cop cp0,cr8,cr7,cr0,0xa
64982 + *[0-9a-f]*: e1 a5 07 80 cop cp0,cr7,cr8,cr0,0xa
64983 + *[0-9a-f]*: ef af 0f 00 mvcr.w cp0,pc,cr15
64984 + *[0-9a-f]*: ef a0 00 00 mvcr.w cp0,r0,cr0
64985 + *[0-9a-f]*: ef af 00 00 mvcr.w cp0,pc,cr0
64986 + *[0-9a-f]*: ef a0 0f 00 mvcr.w cp0,r0,cr15
64987 + *[0-9a-f]*: ef a8 07 00 mvcr.w cp0,r8,cr7
64988 + *[0-9a-f]*: ef a7 08 00 mvcr.w cp0,r7,cr8
64989 + *[0-9a-f]*: ef af 0f 20 mvrc.w cp0,cr15,pc
64990 + *[0-9a-f]*: ef a0 00 20 mvrc.w cp0,cr0,r0
64991 + *[0-9a-f]*: ef a0 0f 20 mvrc.w cp0,cr15,r0
64992 + *[0-9a-f]*: ef af 00 20 mvrc.w cp0,cr0,pc
64993 + *[0-9a-f]*: ef a7 08 20 mvrc.w cp0,cr8,r7
64994 + *[0-9a-f]*: ef a8 07 20 mvrc.w cp0,cr7,r8
64995 +
64996 +[0-9a-f]* <fmov_d>:
64997 + *[0-9a-f]*: e5 a5 0e e0 cop cp0,cr14,cr14,cr0,0x4a
64998 + *[0-9a-f]*: e5 a5 00 00 cop cp0,cr0,cr0,cr0,0x4a
64999 + *[0-9a-f]*: e5 a5 0e 00 cop cp0,cr14,cr0,cr0,0x4a
65000 + *[0-9a-f]*: e5 a5 00 e0 cop cp0,cr0,cr14,cr0,0x4a
65001 + *[0-9a-f]*: e5 a5 08 60 cop cp0,cr8,cr6,cr0,0x4a
65002 + *[0-9a-f]*: e5 a5 06 80 cop cp0,cr6,cr8,cr0,0x4a
65003 + *[0-9a-f]*: ef ae 0e 10 mvcr.d cp0,lr,cr14
65004 + *[0-9a-f]*: ef a0 00 10 mvcr.d cp0,r0,cr0
65005 + *[0-9a-f]*: ef ae 00 10 mvcr.d cp0,lr,cr0
65006 + *[0-9a-f]*: ef a0 0e 10 mvcr.d cp0,r0,cr14
65007 + *[0-9a-f]*: ef a8 06 10 mvcr.d cp0,r8,cr6
65008 + *[0-9a-f]*: ef a6 08 10 mvcr.d cp0,r6,cr8
65009 + *[0-9a-f]*: ef ae 0e 30 mvrc.d cp0,cr14,lr
65010 + *[0-9a-f]*: ef a0 00 30 mvrc.d cp0,cr0,r0
65011 + *[0-9a-f]*: ef a0 0e 30 mvrc.d cp0,cr14,r0
65012 + *[0-9a-f]*: ef ae 00 30 mvrc.d cp0,cr0,lr
65013 + *[0-9a-f]*: ef a6 08 30 mvrc.d cp0,cr8,r6
65014 + *[0-9a-f]*: ef a8 06 30 mvrc.d cp0,cr6,r8
65015 +
65016 +[0-9a-f]* <fcasts_d>:
65017 + *[0-9a-f]*: e1 a7 1f e0 cop cp0,cr15,cr14,cr0,0xf
65018 + *[0-9a-f]*: e1 a7 10 00 cop cp0,cr0,cr0,cr0,0xf
65019 + *[0-9a-f]*: e1 a7 1f 00 cop cp0,cr15,cr0,cr0,0xf
65020 + *[0-9a-f]*: e1 a7 10 e0 cop cp0,cr0,cr14,cr0,0xf
65021 + *[0-9a-f]*: e1 a7 18 60 cop cp0,cr8,cr6,cr0,0xf
65022 + *[0-9a-f]*: e1 a7 17 80 cop cp0,cr7,cr8,cr0,0xf
65023 +
65024 +[0-9a-f]* <fcastd_s>:
65025 + *[0-9a-f]*: e1 a8 0e f0 cop cp0,cr14,cr15,cr0,0x10
65026 + *[0-9a-f]*: e1 a8 00 00 cop cp0,cr0,cr0,cr0,0x10
65027 + *[0-9a-f]*: e1 a8 0e 00 cop cp0,cr14,cr0,cr0,0x10
65028 + *[0-9a-f]*: e1 a8 00 f0 cop cp0,cr0,cr15,cr0,0x10
65029 + *[0-9a-f]*: e1 a8 08 70 cop cp0,cr8,cr7,cr0,0x10
65030 + *[0-9a-f]*: e1 a8 06 80 cop cp0,cr6,cr8,cr0,0x10
65031 Index: binutils-2.17/gas/testsuite/gas/avr32/fpinsn.s
65032 ===================================================================
65033 --- /dev/null 1970-01-01 00:00:00.000000000 +0000
65034 +++ binutils-2.17/gas/testsuite/gas/avr32/fpinsn.s 2007-06-28 09:19:36.646665312 +0200
65035 @@ -0,0 +1,266 @@
65036 +
65037 + .text
65038 + .global fadd_s
65039 +fadd_s:
65040 + fadd.s fr15, fr15, fr15
65041 + fadd.s fr0, fr0, fr0
65042 + fadd.s fr0, fr15, fr15
65043 + fadd.s fr15, fr0, fr15
65044 + fadd.s fr15, fr15, fr0
65045 + fadd.s fr7, fr8, fr8
65046 + fadd.s fr8, fr7, fr8
65047 + fadd.s fr8, fr8, fr7
65048 + .global fsub_s
65049 +fsub_s:
65050 + fsub.s fr15, fr15, fr15
65051 + fsub.s fr0, fr0, fr0
65052 + fsub.s fr0, fr15, fr15
65053 + fsub.s fr15, fr0, fr15
65054 + fsub.s fr15, fr15, fr0
65055 + fsub.s fr7, fr8, fr8
65056 + fsub.s fr8, fr7, fr8
65057 + fsub.s fr8, fr8, fr7
65058 + .global fmac_s
65059 +fmac_s:
65060 + fmac.s fr15, fr15, fr15
65061 + fmac.s fr0, fr0, fr0
65062 + fmac.s fr0, fr15, fr15
65063 + fmac.s fr15, fr0, fr15
65064 + fmac.s fr15, fr15, fr0
65065 + fmac.s fr7, fr8, fr8
65066 + fmac.s fr8, fr7, fr8
65067 + fmac.s fr8, fr8, fr7
65068 + .global fnmac_s
65069 +fnmac_s:
65070 + fnmac.s fr15, fr15, fr15
65071 + fnmac.s fr0, fr0, fr0
65072 + fnmac.s fr0, fr15, fr15
65073 + fnmac.s fr15, fr0, fr15
65074 + fnmac.s fr15, fr15, fr0
65075 + fnmac.s fr7, fr8, fr8
65076 + fnmac.s fr8, fr7, fr8
65077 + fnmac.s fr8, fr8, fr7
65078 + .global fmsc_s
65079 +fmsc_s:
65080 + fmsc.s fr15, fr15, fr15
65081 + fmsc.s fr0, fr0, fr0
65082 + fmsc.s fr0, fr15, fr15
65083 + fmsc.s fr15, fr0, fr15
65084 + fmsc.s fr15, fr15, fr0
65085 + fmsc.s fr7, fr8, fr8
65086 + fmsc.s fr8, fr7, fr8
65087 + fmsc.s fr8, fr8, fr7
65088 + .global fnmsc_s
65089 +fnmsc_s:
65090 + fnmsc.s fr15, fr15, fr15
65091 + fnmsc.s fr0, fr0, fr0
65092 + fnmsc.s fr0, fr15, fr15
65093 + fnmsc.s fr15, fr0, fr15
65094 + fnmsc.s fr15, fr15, fr0
65095 + fnmsc.s fr7, fr8, fr8
65096 + fnmsc.s fr8, fr7, fr8
65097 + fnmsc.s fr8, fr8, fr7
65098 + .global fmul_s
65099 +fmul_s:
65100 + fmul.s fr15, fr15, fr15
65101 + fmul.s fr0, fr0, fr0
65102 + fmul.s fr0, fr15, fr15
65103 + fmul.s fr15, fr0, fr15
65104 + fmul.s fr15, fr15, fr0
65105 + fmul.s fr7, fr8, fr8
65106 + fmul.s fr8, fr7, fr8
65107 + fmul.s fr8, fr8, fr7
65108 + .global fnmul_s
65109 +fnmul_s:
65110 + fnmul.s fr15, fr15, fr15
65111 + fnmul.s fr0, fr0, fr0
65112 + fnmul.s fr0, fr15, fr15
65113 + fnmul.s fr15, fr0, fr15
65114 + fnmul.s fr15, fr15, fr0
65115 + fnmul.s fr7, fr8, fr8
65116 + fnmul.s fr8, fr7, fr8
65117 + fnmul.s fr8, fr8, fr7
65118 + .global fneg_s
65119 +fneg_s:
65120 + fneg.s fr15, fr15
65121 + fneg.s fr0, fr0
65122 + fneg.s fr0, fr15
65123 + fneg.s fr15, fr0
65124 + fneg.s fr7, fr8
65125 + fneg.s fr8, fr7
65126 + .global fabs_s
65127 +fabs_s:
65128 + fabs.s fr15, fr15
65129 + fabs.s fr0, fr0
65130 + fabs.s fr0, fr15
65131 + fabs.s fr15, fr0
65132 + fabs.s fr7, fr8
65133 + fabs.s fr8, fr7
65134 + .global fcmp_s
65135 +fcmp_s:
65136 + fcmp.s fr15, fr15
65137 + fcmp.s fr0, fr0
65138 + fcmp.s fr0, fr15
65139 + fcmp.s fr15, fr0
65140 + fcmp.s fr7, fr8
65141 + fcmp.s fr8, fr7
65142 + .global fadd_d
65143 +fadd_d:
65144 + fadd.d fr14, fr14, fr14
65145 + fadd.d fr0, fr0, fr0
65146 + fadd.d fr0, fr14, fr14
65147 + fadd.d fr14, fr0, fr14
65148 + fadd.d fr14, fr14, fr0
65149 + fadd.d fr6, fr8, fr8
65150 + fadd.d fr8, fr6, fr8
65151 + fadd.d fr8, fr8, fr6
65152 + .global fsub_d
65153 +fsub_d:
65154 + fsub.d fr14, fr14, fr14
65155 + fsub.d fr0, fr0, fr0
65156 + fsub.d fr0, fr14, fr14
65157 + fsub.d fr14, fr0, fr14
65158 + fsub.d fr14, fr14, fr0
65159 + fsub.d fr6, fr8, fr8
65160 + fsub.d fr8, fr6, fr8
65161 + fsub.d fr8, fr8, fr6
65162 + .global fmac_d
65163 +fmac_d:
65164 + fmac.d fr14, fr14, fr14
65165 + fmac.d fr0, fr0, fr0
65166 + fmac.d fr0, fr14, fr14
65167 + fmac.d fr14, fr0, fr14
65168 + fmac.d fr14, fr14, fr0
65169 + fmac.d fr6, fr8, fr8
65170 + fmac.d fr8, fr6, fr8
65171 + fmac.d fr8, fr8, fr6
65172 + .global fnmac_d
65173 +fnmac_d:
65174 + fnmac.d fr14, fr14, fr14
65175 + fnmac.d fr0, fr0, fr0
65176 + fnmac.d fr0, fr14, fr14
65177 + fnmac.d fr14, fr0, fr14
65178 + fnmac.d fr14, fr14, fr0
65179 + fnmac.d fr6, fr8, fr8
65180 + fnmac.d fr8, fr6, fr8
65181 + fnmac.d fr8, fr8, fr6
65182 + .global fmsc_d
65183 +fmsc_d:
65184 + fmsc.d fr14, fr14, fr14
65185 + fmsc.d fr0, fr0, fr0
65186 + fmsc.d fr0, fr14, fr14
65187 + fmsc.d fr14, fr0, fr14
65188 + fmsc.d fr14, fr14, fr0
65189 + fmsc.d fr6, fr8, fr8
65190 + fmsc.d fr8, fr6, fr8
65191 + fmsc.d fr8, fr8, fr6
65192 + .global fnmsc_d
65193 +fnmsc_d:
65194 + fnmsc.d fr14, fr14, fr14
65195 + fnmsc.d fr0, fr0, fr0
65196 + fnmsc.d fr0, fr14, fr14
65197 + fnmsc.d fr14, fr0, fr14
65198 + fnmsc.d fr14, fr14, fr0
65199 + fnmsc.d fr6, fr8, fr8
65200 + fnmsc.d fr8, fr6, fr8
65201 + fnmsc.d fr8, fr8, fr6
65202 + .global fmul_d
65203 +fmul_d:
65204 + fmul.d fr14, fr14, fr14
65205 + fmul.d fr0, fr0, fr0
65206 + fmul.d fr0, fr14, fr14
65207 + fmul.d fr14, fr0, fr14
65208 + fmul.d fr14, fr14, fr0
65209 + fmul.d fr6, fr8, fr8
65210 + fmul.d fr8, fr6, fr8
65211 + fmul.d fr8, fr8, fr6
65212 + .global fnmul_d
65213 +fnmul_d:
65214 + fnmul.d fr14, fr14, fr14
65215 + fnmul.d fr0, fr0, fr0
65216 + fnmul.d fr0, fr14, fr14
65217 + fnmul.d fr14, fr0, fr14
65218 + fnmul.d fr14, fr14, fr0
65219 + fnmul.d fr6, fr8, fr8
65220 + fnmul.d fr8, fr6, fr8
65221 + fnmul.d fr8, fr8, fr6
65222 + .global fneg_d
65223 +fneg_d:
65224 + fneg.d fr14, fr14
65225 + fneg.d fr0, fr0
65226 + fneg.d fr0, fr14
65227 + fneg.d fr14, fr0
65228 + fneg.d fr6, fr8
65229 + fneg.d fr8, fr6
65230 + .global fabs_d
65231 +fabs_d:
65232 + fabs.d fr14, fr14
65233 + fabs.d fr0, fr0
65234 + fabs.d fr0, fr14
65235 + fabs.d fr14, fr0
65236 + fabs.d fr6, fr8
65237 + fabs.d fr8, fr6
65238 + .global fcmp_d
65239 +fcmp_d:
65240 + fcmp.d fr14, fr14
65241 + fcmp.d fr0, fr0
65242 + fcmp.d fr0, fr14
65243 + fcmp.d fr14, fr0
65244 + fcmp.d fr6, fr8
65245 + fcmp.d fr8, fr6
65246 + .global fmov_s
65247 +fmov_s:
65248 + fmov.s fr15, fr15
65249 + fmov.s fr0, fr0
65250 + fmov.s fr15, fr0
65251 + fmov.s fr0, fr15
65252 + fmov.s fr8, fr7
65253 + fmov.s fr7, fr8
65254 + fmov.s pc, fr15
65255 + fmov.s r0, fr0
65256 + fmov.s pc, fr0
65257 + fmov.s r0, fr15
65258 + fmov.s r8, fr7
65259 + fmov.s r7, fr8
65260 + fmov.s fr15, pc
65261 + fmov.s fr0, r0
65262 + fmov.s fr15, r0
65263 + fmov.s fr0, pc
65264 + fmov.s fr8, r7
65265 + fmov.s fr7, r8
65266 + .global fmov_d
65267 +fmov_d:
65268 + fmov.d fr14, fr14
65269 + fmov.d fr0, fr0
65270 + fmov.d fr14, fr0
65271 + fmov.d fr0, fr14
65272 + fmov.d fr8, fr6
65273 + fmov.d fr6, fr8
65274 + fmov.d lr, fr14
65275 + fmov.d r0, fr0
65276 + fmov.d lr, fr0
65277 + fmov.d r0, fr14
65278 + fmov.d r8, fr6
65279 + fmov.d r6, fr8
65280 + fmov.d fr14, lr
65281 + fmov.d fr0, r0
65282 + fmov.d fr14, r0
65283 + fmov.d fr0, lr
65284 + fmov.d fr8, r6
65285 + fmov.d fr6, r8
65286 + .global fcasts_d
65287 +fcasts_d:
65288 + fcasts.d fr15, fr14
65289 + fcasts.d fr0, fr0
65290 + fcasts.d fr15, fr0
65291 + fcasts.d fr0, fr14
65292 + fcasts.d fr8, fr6
65293 + fcasts.d fr7, fr8
65294 + .global fcastd_s
65295 +fcastd_s:
65296 + fcastd.s fr14, fr15
65297 + fcastd.s fr0, fr0
65298 + fcastd.s fr14, fr0
65299 + fcastd.s fr0, fr15
65300 + fcastd.s fr8, fr7
65301 + fcastd.s fr6, fr8
65302 Index: binutils-2.17/gas/testsuite/gas/avr32/hwrd-lwrd.d
65303 ===================================================================
65304 --- /dev/null 1970-01-01 00:00:00.000000000 +0000
65305 +++ binutils-2.17/gas/testsuite/gas/avr32/hwrd-lwrd.d 2007-06-28 09:19:36.646665312 +0200
65306 @@ -0,0 +1,47 @@
65307 +#as:
65308 +#objdump: -dr
65309 +#name: hwrd-lwrd
65310 +
65311 +.*: +file format .*
65312 +
65313 +Disassembly of section \.text:
65314 +
65315 +00000000 <test_hwrd>:
65316 + 0: e0 60 87 65 mov r0,34661
65317 + 4: e0 60 12 34 mov r0,4660
65318 + 8: e0 60 00 00 mov r0,0
65319 + 8: R_AVR32_HI16 \.text\+0x60
65320 + c: e0 60 00 00 mov r0,0
65321 + c: R_AVR32_HI16 extsym1
65322 + 10: ea 10 87 65 orh r0,0x8765
65323 + 14: ea 10 12 34 orh r0,0x1234
65324 + 18: ea 10 00 00 orh r0,0x0
65325 + 18: R_AVR32_HI16 \.text\+0x60
65326 + 1c: ea 10 00 00 orh r0,0x0
65327 + 1c: R_AVR32_HI16 extsym1
65328 + 20: e4 10 87 65 andh r0,0x8765
65329 + 24: e4 10 12 34 andh r0,0x1234
65330 + 28: e4 10 00 00 andh r0,0x0
65331 + 28: R_AVR32_HI16 \.text\+0x60
65332 + 2c: e4 10 00 00 andh r0,0x0
65333 + 2c: R_AVR32_HI16 extsym1
65334 +
65335 +00000030 <test_lwrd>:
65336 + 30: e0 60 43 21 mov r0,17185
65337 + 34: e0 60 56 78 mov r0,22136
65338 + 38: e0 60 00 00 mov r0,0
65339 + 38: R_AVR32_LO16 \.text\+0x60
65340 + 3c: e0 60 00 00 mov r0,0
65341 + 3c: R_AVR32_LO16 extsym1
65342 + 40: e8 10 43 21 orl r0,0x4321
65343 + 44: e8 10 56 78 orl r0,0x5678
65344 + 48: e8 10 00 00 orl r0,0x0
65345 + 48: R_AVR32_LO16 \.text\+0x60
65346 + 4c: e8 10 00 00 orl r0,0x0
65347 + 4c: R_AVR32_LO16 extsym1
65348 + 50: e0 10 43 21 andl r0,0x4321
65349 + 54: e0 10 56 78 andl r0,0x5678
65350 + 58: e0 10 00 00 andl r0,0x0
65351 + 58: R_AVR32_LO16 \.text\+0x60
65352 + 5c: e0 10 00 00 andl r0,0x0
65353 + 5c: R_AVR32_LO16 extsym1
65354 Index: binutils-2.17/gas/testsuite/gas/avr32/hwrd-lwrd.s
65355 ===================================================================
65356 --- /dev/null 1970-01-01 00:00:00.000000000 +0000
65357 +++ binutils-2.17/gas/testsuite/gas/avr32/hwrd-lwrd.s 2007-06-28 09:19:36.646665312 +0200
65358 @@ -0,0 +1,39 @@
65359 +
65360 + .equ sym1, 0x12345678
65361 +
65362 + .text
65363 + .global test_hwrd
65364 +test_hwrd:
65365 + mov r0, hi(0x87654321)
65366 + mov r0, hi(sym1)
65367 + mov r0, hi(sym2)
65368 + mov r0, hi(extsym1)
65369 +
65370 + orh r0, hi(0x87654321)
65371 + orh r0, hi(sym1)
65372 + orh r0, hi(sym2)
65373 + orh r0, hi(extsym1)
65374 +
65375 + andh r0, hi(0x87654321)
65376 + andh r0, hi(sym1)
65377 + andh r0, hi(sym2)
65378 + andh r0, hi(extsym1)
65379 +
65380 + .global test_lwrd
65381 +test_lwrd:
65382 + mov r0, lo(0x87654321)
65383 + mov r0, lo(sym1)
65384 + mov r0, lo(sym2)
65385 + mov r0, lo(extsym1)
65386 +
65387 + orl r0, lo(0x87654321)
65388 + orl r0, lo(sym1)
65389 + orl r0, lo(sym2)
65390 + orl r0, lo(extsym1)
65391 +
65392 + andl r0, lo(0x87654321)
65393 + andl r0, lo(sym1)
65394 + andl r0, lo(sym2)
65395 + andl r0, lo(extsym1)
65396 +
65397 +sym2:
65398 Index: binutils-2.17/gas/testsuite/gas/avr32/jmptable.d
65399 ===================================================================
65400 --- /dev/null 1970-01-01 00:00:00.000000000 +0000
65401 +++ binutils-2.17/gas/testsuite/gas/avr32/jmptable.d 2007-06-28 09:19:36.646665312 +0200
65402 @@ -0,0 +1,20 @@
65403 +#source: jmptable.s
65404 +#as:
65405 +#objdump: -dr
65406 +#name: jmptable
65407 +
65408 +.*: +file format .*
65409 +
65410 +Disassembly of section \.text:
65411 +
65412 +00000000 <jmptable_test>:
65413 + 0: fe c8 ff f4 sub r8,pc,-12
65414 + 4: f0 00 00 2f add pc,r8,r0<<0x2
65415 + 8: d7 03 nop
65416 + a: 00 00 add r0,r0
65417 + c: c0 38 rjmp 12 <jmptable_test\+0x12>
65418 + e: c0 38 rjmp 14 <jmptable_test\+0x14>
65419 + 10: c0 38 rjmp 16 <jmptable_test\+0x16>
65420 + 12: d7 03 nop
65421 + 14: d7 03 nop
65422 + 16: d7 03 nop
65423 Index: binutils-2.17/gas/testsuite/gas/avr32/jmptable_linkrelax.d
65424 ===================================================================
65425 --- /dev/null 1970-01-01 00:00:00.000000000 +0000
65426 +++ binutils-2.17/gas/testsuite/gas/avr32/jmptable_linkrelax.d 2007-06-28 09:19:36.646665312 +0200
65427 @@ -0,0 +1,25 @@
65428 +#source: jmptable.s
65429 +#as: --linkrelax
65430 +#objdump: -dr
65431 +#name: jmptable_linkrelax
65432 +
65433 +.*: +file format .*
65434 +
65435 +Disassembly of section \.text:
65436 +
65437 +00000000 <jmptable_test>:
65438 + 0: fe c8 00 00 sub r8,pc,0
65439 + 0: R_AVR32_16N_PCREL \.text\+0xc
65440 + 4: f0 00 00 2f add pc,r8,r0<<0x2
65441 + 8: d7 03 nop
65442 + a: 00 00 add r0,r0
65443 + a: R_AVR32_ALIGN \*ABS\*\+0x2
65444 + c: c0 08 rjmp c <jmptable_test\+0xc>
65445 + c: R_AVR32_11H_PCREL \.text\+0x12
65446 + e: c0 08 rjmp e <jmptable_test\+0xe>
65447 + e: R_AVR32_11H_PCREL \.text\+0x14
65448 + 10: c0 08 rjmp 10 <jmptable_test\+0x10>
65449 + 10: R_AVR32_11H_PCREL \.text\+0x16
65450 + 12: d7 03 nop
65451 + 14: d7 03 nop
65452 + 16: d7 03 nop
65453 Index: binutils-2.17/gas/testsuite/gas/avr32/jmptable.s
65454 ===================================================================
65455 --- /dev/null 1970-01-01 00:00:00.000000000 +0000
65456 +++ binutils-2.17/gas/testsuite/gas/avr32/jmptable.s 2007-06-28 09:19:36.647665160 +0200
65457 @@ -0,0 +1,14 @@
65458 +
65459 + .text
65460 + .global jmptable_test
65461 +jmptable_test:
65462 + sub r8, pc, -(.L1 - .)
65463 + add pc, r8, r0 << 2
65464 + nop
65465 + .align 2
65466 +.L1: rjmp 1f
65467 + rjmp 2f
65468 + rjmp 3f
65469 +1: nop
65470 +2: nop
65471 +3: nop
65472 Index: binutils-2.17/gas/testsuite/gas/avr32/lda_nopic.d
65473 ===================================================================
65474 --- /dev/null 1970-01-01 00:00:00.000000000 +0000
65475 +++ binutils-2.17/gas/testsuite/gas/avr32/lda_nopic.d 2007-06-28 09:19:36.647665160 +0200
65476 @@ -0,0 +1,32 @@
65477 +#source: lda.s
65478 +#as:
65479 +#objdump: -dr
65480 +#name: lda_nopic
65481 +
65482 +.*: +file format .*
65483 +
65484 +Disassembly of section \.text:
65485 +
65486 +00000000 <lda_test>:
65487 + 0: f2 c8 00 00 sub r8,r9,0
65488 +
65489 +00000004 <far_negative>:
65490 + 4: f6 ca 00 00 sub r10,r11,0
65491 + ...
65492 + 8000: fe c0 7f fc sub r0,pc,32764
65493 + 8004: 48 31 lddpc r1,8010 <far_negative\+0x800c>
65494 + 8006: 48 42 lddpc r2,8014 <far_negative\+0x8010>
65495 + 8008: 48 43 lddpc r3,8018 <far_negative\+0x8014>
65496 + 800a: 48 54 lddpc r4,801c <far_negative\+0x8018>
65497 + 800c: fe c5 80 04 sub r5,pc,-32764
65498 + ...
65499 + 8010: R_AVR32_32_CPENT \.text
65500 + 8014: R_AVR32_32_CPENT \.data
65501 + 8018: R_AVR32_32_CPENT undefined
65502 + 801c: R_AVR32_32_CPENT \.text\+0x1001c
65503 +
65504 +00010008 <far_positive>:
65505 + 10008: fa cc 00 00 sub r12,sp,0
65506 + ...
65507 +0001001c <toofar_positive>:
65508 + 1001c: fe ce 00 00 sub lr,pc,0
65509 Index: binutils-2.17/gas/testsuite/gas/avr32/lda_nopic_linkrelax.d
65510 ===================================================================
65511 --- /dev/null 1970-01-01 00:00:00.000000000 +0000
65512 +++ binutils-2.17/gas/testsuite/gas/avr32/lda_nopic_linkrelax.d 2007-06-28 09:19:36.647665160 +0200
65513 @@ -0,0 +1,41 @@
65514 +#source: lda.s
65515 +#as: --linkrelax
65516 +#objdump: -dr
65517 +#name: lda_nopic_linkrelax
65518 +
65519 +.*: +file format .*
65520 +
65521 +Disassembly of section \.text:
65522 +
65523 +00000000 <lda_test>:
65524 + 0: f2 c8 00 00 sub r8,r9,0
65525 +
65526 +00000004 <far_negative>:
65527 + 4: f6 ca 00 00 sub r10,r11,0
65528 + \.\.\.
65529 + 8000: 48 00 lddpc r0,8000 <far_negative\+0x7ffc>
65530 + 8000: R_AVR32_9W_CP \.text\+0x800c
65531 + 8002: 48 01 lddpc r1,8000 <far_negative\+0x7ffc>
65532 + 8002: R_AVR32_9W_CP \.text\+0x8010
65533 + 8004: 48 02 lddpc r2,8004 <far_negative\+0x8000>
65534 + 8004: R_AVR32_9W_CP \.text\+0x8014
65535 + 8006: 48 03 lddpc r3,8004 <far_negative\+0x8000>
65536 + 8006: R_AVR32_9W_CP \.text\+0x8018
65537 + 8008: 48 04 lddpc r4,8008 <far_negative\+0x8004>
65538 + 8008: R_AVR32_9W_CP \.text\+0x801c
65539 + 800a: 48 05 lddpc r5,8008 <far_negative\+0x8004>
65540 + 800a: R_AVR32_9W_CP \.text\+0x8020
65541 + \.\.\.
65542 + 800c: R_AVR32_ALIGN \*ABS\*\+0x2
65543 + 800c: R_AVR32_32_CPENT \.text\+0x4
65544 + 8010: R_AVR32_32_CPENT \.text
65545 + 8014: R_AVR32_32_CPENT \.data
65546 + 8018: R_AVR32_32_CPENT undefined
65547 + 801c: R_AVR32_32_CPENT \.text\+0x10020
65548 + 8020: R_AVR32_32_CPENT \.text\+0x1000c
65549 +
65550 +0001000c <far_positive>:
65551 + 1000c: fa cc 00 00 sub r12,sp,0
65552 + \.\.\.
65553 +00010020 <toofar_positive>:
65554 + 10020: fe ce 00 00 sub lr,pc,0
65555 Index: binutils-2.17/gas/testsuite/gas/avr32/lda_pic.d
65556 ===================================================================
65557 --- /dev/null 1970-01-01 00:00:00.000000000 +0000
65558 +++ binutils-2.17/gas/testsuite/gas/avr32/lda_pic.d 2007-06-28 09:19:36.648665008 +0200
65559 @@ -0,0 +1,32 @@
65560 +#source: lda.s
65561 +#as: --pic
65562 +#objdump: -dr
65563 +#name: lda_pic
65564 +
65565 +.*: +file format .*
65566 +
65567 +Disassembly of section \.text:
65568 +
65569 +00000000 <lda_test>:
65570 + 0: f2 c8 00 00 sub r8,r9,0
65571 +
65572 +00000004 <far_negative>:
65573 + 4: f6 ca 00 00 sub r10,r11,0
65574 + ...
65575 + 8000: fe c0 7f fc sub r0,pc,32764
65576 + 8004: ec f1 00 00 ld.w r1,r6\[0\]
65577 + 8004: R_AVR32_GOT16S toofar_negative
65578 + 8008: ec f2 00 00 ld.w r2,r6\[0\]
65579 + 8008: R_AVR32_GOT16S different_section
65580 + 800c: ec f3 00 00 ld.w r3,r6\[0\]
65581 + 800c: R_AVR32_GOT16S undefined
65582 + 8010: ec f4 00 00 ld.w r4,r6\[0\]
65583 + 8010: R_AVR32_GOT16S toofar_positive
65584 + 8014: fe c5 80 14 sub r5,pc,-32748
65585 + ...
65586 +
65587 +00010000 <far_positive>:
65588 + 10000: fa cc 00 00 sub r12,sp,0
65589 + ...
65590 +00010014 <toofar_positive>:
65591 + 10014: fe ce 00 00 sub lr,pc,0
65592 Index: binutils-2.17/gas/testsuite/gas/avr32/lda_pic_linkrelax.d
65593 ===================================================================
65594 --- /dev/null 1970-01-01 00:00:00.000000000 +0000
65595 +++ binutils-2.17/gas/testsuite/gas/avr32/lda_pic_linkrelax.d 2007-06-28 09:19:36.648665008 +0200
65596 @@ -0,0 +1,40 @@
65597 +#source: lda.s
65598 +#as: --pic --linkrelax
65599 +#objdump: -dr
65600 +#name: lda_pic_linkrelax
65601 +
65602 +.*: +file format .*
65603 +
65604 +Disassembly of section \.text:
65605 +
65606 +00000000 <lda_test>:
65607 + 0: f2 c8 00 00 sub r8,r9,0
65608 +
65609 +00000004 <far_negative>:
65610 + 4: f6 ca 00 00 sub r10,r11,0
65611 + ...
65612 + 8000: e0 60 00 00 mov r0,0
65613 + 8000: R_AVR32_LDA_GOT far_negative
65614 + 8004: ec 00 03 20 ld\.w r0,r6\[r0<<0x2\]
65615 + 8008: e0 61 00 00 mov r1,0
65616 + 8008: R_AVR32_LDA_GOT toofar_negative
65617 + 800c: ec 01 03 21 ld\.w r1,r6\[r1<<0x2\]
65618 + 8010: e0 62 00 00 mov r2,0
65619 + 8010: R_AVR32_LDA_GOT different_section
65620 + 8014: ec 02 03 22 ld\.w r2,r6\[r2<<0x2\]
65621 + 8018: e0 63 00 00 mov r3,0
65622 + 8018: R_AVR32_LDA_GOT undefined
65623 + 801c: ec 03 03 23 ld\.w r3,r6\[r3<<0x2\]
65624 + 8020: e0 64 00 00 mov r4,0
65625 + 8020: R_AVR32_LDA_GOT toofar_positive
65626 + 8024: ec 04 03 24 ld\.w r4,r6\[r4<<0x2\]
65627 + 8028: e0 65 00 00 mov r5,0
65628 + 8028: R_AVR32_LDA_GOT far_positive
65629 + 802c: ec 05 03 25 ld\.w r5,r6\[r5<<0x2\]
65630 + ...
65631 +
65632 +00010018 <far_positive>:
65633 + 10018: fa cc 00 00 sub r12,sp,0
65634 + ...
65635 +0001002c <toofar_positive>:
65636 + 1002c: fe ce 00 00 sub lr,pc,0
65637 Index: binutils-2.17/gas/testsuite/gas/avr32/lda.s
65638 ===================================================================
65639 --- /dev/null 1970-01-01 00:00:00.000000000 +0000
65640 +++ binutils-2.17/gas/testsuite/gas/avr32/lda.s 2007-06-28 09:19:36.648665008 +0200
65641 @@ -0,0 +1,30 @@
65642 +
65643 + .text
65644 + .global lda_test
65645 +lda_test:
65646 +toofar_negative:
65647 + sub r8, r9, 0
65648 +far_negative:
65649 + sub r10, r11, 0
65650 +
65651 + .fill 32760, 1, 0x00
65652 +
65653 + lda.w r0, far_negative
65654 + lda.w r1, toofar_negative
65655 + lda.w r2, different_section
65656 + lda.w r3, undefined
65657 + lda.w r4, toofar_positive
65658 + lda.w r5, far_positive
65659 +
65660 + .cpool
65661 +
65662 + .fill 32744, 1, 0x00
65663 +far_positive:
65664 + sub r12, sp, 0
65665 + .fill 16, 1, 0x00
65666 +toofar_positive:
65667 + sub lr, pc, 0
65668 +
65669 + .data
65670 +different_section:
65671 + .long 0x12345678
65672 Index: binutils-2.17/gas/testsuite/gas/avr32/pcrel.d
65673 ===================================================================
65674 --- /dev/null 1970-01-01 00:00:00.000000000 +0000
65675 +++ binutils-2.17/gas/testsuite/gas/avr32/pcrel.d 2007-06-28 09:19:36.648665008 +0200
65676 @@ -0,0 +1,64 @@
65677 +#as:
65678 +#objdump: -dr
65679 +#name: pcrel
65680 +
65681 +.*: +file format .*
65682 +
65683 +Disassembly of section \.text:
65684 +
65685 +00000000 <test_rjmp>:
65686 + 0: d7 03 nop
65687 + 2: c0 28 rjmp 6 <test_rjmp\+0x6>
65688 + 4: d7 03 nop
65689 + 6: e0 8f 00 00 bral 6 <test_rjmp\+0x6>
65690 + 6: R_AVR32_22H_PCREL extsym10
65691 +
65692 +0000000a <test_rcall>:
65693 + a: d7 03 nop
65694 +0000000c <test_rcall2>:
65695 + c: c0 2c rcall 10 <test_rcall2\+0x4>
65696 + e: d7 03 nop
65697 + 10: e0 a0 00 00 rcall 10 <test_rcall2\+0x4>
65698 + 10: R_AVR32_22H_PCREL extsym21
65699 +
65700 +00000014 <test_branch>:
65701 + 14: c0 31 brne 1a <test_branch\+0x6>
65702 + 16: e0 8f 00 00 bral 16 <test_branch\+0x2>
65703 + 16: R_AVR32_22H_PCREL test_branch
65704 + 1a: e0 80 00 00 breq 1a <test_branch\+0x6>
65705 + 1a: R_AVR32_22H_PCREL extsym21
65706 +
65707 +0000001e <test_lddpc>:
65708 + 1e: 48 30 lddpc r0,28 <sym1>
65709 + 20: 48 20 lddpc r0,28 <sym1>
65710 + 22: fe f0 00 00 ld.w r0,pc\[0\]
65711 + 22: R_AVR32_16B_PCREL extsym16
65712 + \.\.\.
65713 +
65714 +00000028 <sym1>:
65715 + 28: d7 03 nop
65716 + 2a: d7 03 nop
65717 +
65718 +0000002c <test_local>:
65719 + 2c: 48 20 lddpc r0,34 <test_local\+0x8>
65720 + 2e: 48 30 lddpc r0,38 <test_local\+0xc>
65721 + 30: 48 20 lddpc r0,38 <test_local\+0xc>
65722 + 32: 00 00 add r0,r0
65723 + 34: d7 03 nop
65724 + 36: d7 03 nop
65725 + 38: d7 03 nop
65726 + 3a: d7 03 nop
65727 +
65728 +Disassembly of section \.text\.init:
65729 +
65730 +00000000 <test_inter_section>:
65731 + 0: e0 a0 .. .. rcall [0-9a-f]+ <.*>
65732 + 0: R_AVR32_22H_PCREL test_rcall
65733 + 4: d7 03 nop
65734 + 6: e0 a0 .. .. rcall [0-9a-f]+ <.*>
65735 + 6: R_AVR32_22H_PCREL test_rcall
65736 + a: e0 a0 .. .. rcall [0-9a-z]+ <.*>
65737 + a: R_AVR32_22H_PCREL \.text\+0xc
65738 + e: d7 03 nop
65739 + 10: e0 a0 .. .. rcall [0-9a-f]+ <.*>
65740 + 10: R_AVR32_22H_PCREL \.text\+0xc
65741 Index: binutils-2.17/gas/testsuite/gas/avr32/pcrel.s
65742 ===================================================================
65743 --- /dev/null 1970-01-01 00:00:00.000000000 +0000
65744 +++ binutils-2.17/gas/testsuite/gas/avr32/pcrel.s 2007-06-28 09:19:36.649664856 +0200
65745 @@ -0,0 +1,57 @@
65746 +
65747 + .text
65748 + .global test_rjmp
65749 +test_rjmp:
65750 + nop
65751 + rjmp 0f
65752 + nop
65753 +0: rjmp extsym10
65754 +
65755 + .global test_rcall
65756 +test_rcall:
65757 + nop
65758 +test_rcall2:
65759 + rcall 0f
65760 + nop
65761 +0: rcall extsym21
65762 +
65763 + .global test_branch
65764 +test_branch:
65765 + brne 0f
65766 + /* This will generate a reloc since test_branch is global */
65767 + bral test_branch
65768 +0: breq extsym21
65769 +
65770 + .global test_lddpc
65771 +test_lddpc:
65772 + lddpc r0,sym1
65773 + lddpc r0,sym1
65774 + lddpc r0,extsym16
65775 +
65776 + .align 2
65777 +sym1: nop
65778 + nop
65779 +
65780 + .global test_local
65781 +test_local:
65782 + lddpc r0, .LC1
65783 + lddpc r0, .LC2
65784 + lddpc r0, .LC1 + 0x4
65785 +
65786 + .align 2
65787 +.LC1:
65788 + nop
65789 + nop
65790 +.LC2:
65791 + nop
65792 + nop
65793 +
65794 + .section .text.init,"ax"
65795 + .global test_inter_section
65796 +test_inter_section:
65797 + rcall test_rcall
65798 + nop
65799 + rcall test_rcall
65800 + rcall test_rcall2
65801 + nop
65802 + rcall test_rcall2
65803 Index: binutils-2.17/gas/testsuite/gas/avr32/pico.d
65804 ===================================================================
65805 --- /dev/null 1970-01-01 00:00:00.000000000 +0000
65806 +++ binutils-2.17/gas/testsuite/gas/avr32/pico.d 2007-06-28 09:19:36.649664856 +0200
65807 @@ -0,0 +1,149 @@
65808 +#as:
65809 +#objdump: -dr
65810 +#name: pico
65811 +
65812 +.*: +file format .*
65813 +
65814 +Disassembly of section \.text:
65815 +
65816 +[0-9a-f]* <picosvmac>:
65817 + *[0-9a-f]*: e1 a6 20 00 cop cp1,cr0,cr0,cr0,0xc
65818 + *[0-9a-f]*: e1 a7 2b bb cop cp1,cr11,cr11,cr11,0xe
65819 + *[0-9a-f]*: e1 a6 3a 05 cop cp1,cr10,cr0,cr5,0xd
65820 + *[0-9a-f]*: e1 a7 36 90 cop cp1,cr6,cr9,cr0,0xf
65821 +
65822 +[0-9a-f]* <picosvmul>:
65823 + *[0-9a-f]*: e1 a4 20 00 cop cp1,cr0,cr0,cr0,0x8
65824 + *[0-9a-f]*: e1 a5 2b bb cop cp1,cr11,cr11,cr11,0xa
65825 + *[0-9a-f]*: e1 a4 3a 05 cop cp1,cr10,cr0,cr5,0x9
65826 + *[0-9a-f]*: e1 a5 36 90 cop cp1,cr6,cr9,cr0,0xb
65827 +
65828 +[0-9a-f]* <picovmac>:
65829 + *[0-9a-f]*: e1 a2 20 00 cop cp1,cr0,cr0,cr0,0x4
65830 + *[0-9a-f]*: e1 a3 2b bb cop cp1,cr11,cr11,cr11,0x6
65831 + *[0-9a-f]*: e1 a2 3a 05 cop cp1,cr10,cr0,cr5,0x5
65832 + *[0-9a-f]*: e1 a3 36 90 cop cp1,cr6,cr9,cr0,0x7
65833 +
65834 +[0-9a-f]* <picovmul>:
65835 + *[0-9a-f]*: e1 a0 20 00 cop cp1,cr0,cr0,cr0,0x0
65836 + *[0-9a-f]*: e1 a1 2b bb cop cp1,cr11,cr11,cr11,0x2
65837 + *[0-9a-f]*: e1 a0 3a 05 cop cp1,cr10,cr0,cr5,0x1
65838 + *[0-9a-f]*: e1 a1 36 90 cop cp1,cr6,cr9,cr0,0x3
65839 +
65840 +[0-9a-f]* <picold_d>:
65841 + *[0-9a-f]*: e9 af 3e ff ldc\.d cp1,cr14,pc\[0x3fc\]
65842 + *[0-9a-f]*: e9 a0 30 ff ldc\.d cp1,cr0,r0\[0x3fc\]
65843 + *[0-9a-f]*: e9 a0 30 00 ldc\.d cp1,cr0,r0\[0x0\]
65844 + *[0-9a-f]*: ef a8 26 50 ldc\.d cp1,cr6,--r8
65845 + *[0-9a-f]*: ef a7 28 50 ldc\.d cp1,cr8,--r7
65846 + *[0-9a-f]*: ef aa 32 65 ldc\.d cp1,cr2,r10\[r5<<0x2\]
65847 + *[0-9a-f]*: ef a3 3c 46 ldc\.d cp1,cr12,r3\[r6\]
65848 +
65849 +[0-9a-f]* <picold_w>:
65850 + *[0-9a-f]*: e9 af 2f ff ldc\.w cp1,cr15,pc\[0x3fc\]
65851 + *[0-9a-f]*: e9 a0 20 ff ldc\.w cp1,cr0,r0\[0x3fc\]
65852 + *[0-9a-f]*: e9 a0 20 00 ldc\.w cp1,cr0,r0\[0x0\]
65853 + *[0-9a-f]*: ef a8 27 40 ldc\.w cp1,cr7,--r8
65854 + *[0-9a-f]*: ef a7 28 40 ldc\.w cp1,cr8,--r7
65855 + *[0-9a-f]*: ef aa 31 25 ldc\.w cp1,cr1,r10\[r5<<0x2\]
65856 + *[0-9a-f]*: ef a3 3d 06 ldc\.w cp1,cr13,r3\[r6\]
65857 +
65858 +[0-9a-f]* <picoldm_d>:
65859 + *[0-9a-f]*: ed af 24 ff ldcm\.d cp1,pc,cr0-cr15
65860 + *[0-9a-f]*: ed a0 24 01 ldcm\.d cp1,r0,cr0-cr1
65861 + *[0-9a-f]*: ed a7 24 80 ldcm\.d cp1,r7,cr14-cr15
65862 + *[0-9a-f]*: ed a8 24 7f ldcm\.d cp1,r8,cr0-cr13
65863 +
65864 +[0-9a-f]* <picoldm_d_pu>:
65865 + *[0-9a-f]*: ed af 34 ff ldcm\.d cp1,pc\+\+,cr0-cr15
65866 + *[0-9a-f]*: ed a0 34 01 ldcm\.d cp1,r0\+\+,cr0-cr1
65867 + *[0-9a-f]*: ed a7 34 80 ldcm\.d cp1,r7\+\+,cr14-cr15
65868 + *[0-9a-f]*: ed a8 34 7f ldcm\.d cp1,r8\+\+,cr0-cr13
65869 +
65870 +[0-9a-f]* <picoldm_w>:
65871 + *[0-9a-f]*: ed af 20 ff ldcm\.w cp1,pc,cr0-cr7
65872 + *[0-9a-f]*: ed a0 20 01 ldcm\.w cp1,r0,cr0
65873 + *[0-9a-f]*: ed a7 20 80 ldcm\.w cp1,r7,cr7
65874 + *[0-9a-f]*: ed a8 20 7f ldcm\.w cp1,r8,cr0-cr6
65875 + *[0-9a-f]*: ed af 21 ff ldcm\.w cp1,pc,cr8-cr15
65876 + *[0-9a-f]*: ed a0 21 01 ldcm\.w cp1,r0,cr8
65877 + *[0-9a-f]*: ed a7 21 80 ldcm\.w cp1,r7,cr15
65878 + *[0-9a-f]*: ed a8 21 7f ldcm\.w cp1,r8,cr8-cr14
65879 +
65880 +[0-9a-f]* <picoldm_w_pu>:
65881 + *[0-9a-f]*: ed af 30 ff ldcm\.w cp1,pc\+\+,cr0-cr7
65882 + *[0-9a-f]*: ed a0 30 01 ldcm\.w cp1,r0\+\+,cr0
65883 + *[0-9a-f]*: ed a7 30 80 ldcm\.w cp1,r7\+\+,cr7
65884 + *[0-9a-f]*: ed a8 30 7f ldcm\.w cp1,r8\+\+,cr0-cr6
65885 + *[0-9a-f]*: ed af 31 ff ldcm\.w cp1,pc\+\+,cr8-cr15
65886 + *[0-9a-f]*: ed a0 31 01 ldcm\.w cp1,r0\+\+,cr8
65887 + *[0-9a-f]*: ed a7 31 80 ldcm\.w cp1,r7\+\+,cr15
65888 + *[0-9a-f]*: ed a8 31 7f ldcm\.w cp1,r8\+\+,cr8-cr14
65889 +
65890 +[0-9a-f]* <picomv_d>:
65891 + *[0-9a-f]*: ef ae 2e 30 mvrc\.d cp1,cr14,lr
65892 + *[0-9a-f]*: ef a0 20 30 mvrc\.d cp1,cr0,r0
65893 + *[0-9a-f]*: ef a8 26 30 mvrc\.d cp1,cr6,r8
65894 + *[0-9a-f]*: ef a6 28 30 mvrc\.d cp1,cr8,r6
65895 + *[0-9a-f]*: ef ae 2e 10 mvcr\.d cp1,lr,cr14
65896 + *[0-9a-f]*: ef a0 20 10 mvcr\.d cp1,r0,cr0
65897 + *[0-9a-f]*: ef a8 26 10 mvcr\.d cp1,r8,cr6
65898 + *[0-9a-f]*: ef a6 28 10 mvcr\.d cp1,r6,cr8
65899 +
65900 +[0-9a-f]* <picomv_w>:
65901 + *[0-9a-f]*: ef af 2f 20 mvrc\.w cp1,cr15,pc
65902 + *[0-9a-f]*: ef a0 20 20 mvrc\.w cp1,cr0,r0
65903 + *[0-9a-f]*: ef a8 27 20 mvrc\.w cp1,cr7,r8
65904 + *[0-9a-f]*: ef a7 28 20 mvrc\.w cp1,cr8,r7
65905 + *[0-9a-f]*: ef af 2f 00 mvcr\.w cp1,pc,cr15
65906 + *[0-9a-f]*: ef a0 20 00 mvcr\.w cp1,r0,cr0
65907 + *[0-9a-f]*: ef a8 27 00 mvcr\.w cp1,r8,cr7
65908 + *[0-9a-f]*: ef a7 28 00 mvcr\.w cp1,r7,cr8
65909 +
65910 +[0-9a-f]* <picost_d>:
65911 + *[0-9a-f]*: eb af 3e ff stc\.d cp1,pc\[0x3fc\],cr14
65912 + *[0-9a-f]*: eb a0 30 00 stc\.d cp1,r0\[0x0\],cr0
65913 + *[0-9a-f]*: ef a8 26 70 stc\.d cp1,r8\+\+,cr6
65914 + *[0-9a-f]*: ef a7 28 70 stc\.d cp1,r7\+\+,cr8
65915 + *[0-9a-f]*: ef aa 32 e5 stc\.d cp1,r10\[r5<<0x2\],cr2
65916 + *[0-9a-f]*: ef a3 3c c6 stc\.d cp1,r3\[r6\],cr12
65917 +
65918 +[0-9a-f]* <picost_w>:
65919 + *[0-9a-f]*: eb af 2f ff stc\.w cp1,pc\[0x3fc\],cr15
65920 + *[0-9a-f]*: eb a0 20 00 stc\.w cp1,r0\[0x0\],cr0
65921 + *[0-9a-f]*: ef a8 27 60 stc\.w cp1,r8\+\+,cr7
65922 + *[0-9a-f]*: ef a7 28 60 stc\.w cp1,r7\+\+,cr8
65923 + *[0-9a-f]*: ef aa 31 a5 stc\.w cp1,r10\[r5<<0x2\],cr1
65924 + *[0-9a-f]*: ef a3 3d 86 stc\.w cp1,r3\[r6\],cr13
65925 +
65926 +[0-9a-f]* <picostm_d>:
65927 + *[0-9a-f]*: ed af 25 ff stcm\.d cp1,pc,cr0-cr15
65928 + *[0-9a-f]*: ed a0 25 01 stcm\.d cp1,r0,cr0-cr1
65929 + *[0-9a-f]*: ed a7 25 80 stcm\.d cp1,r7,cr14-cr15
65930 + *[0-9a-f]*: ed a8 25 7f stcm\.d cp1,r8,cr0-cr13
65931 +
65932 +[0-9a-f]* <picostm_d_pu>:
65933 + *[0-9a-f]*: ed af 35 ff stcm\.d cp1,--pc,cr0-cr15
65934 + *[0-9a-f]*: ed a0 35 01 stcm\.d cp1,--r0,cr0-cr1
65935 + *[0-9a-f]*: ed a7 35 80 stcm\.d cp1,--r7,cr14-cr15
65936 + *[0-9a-f]*: ed a8 35 7f stcm\.d cp1,--r8,cr0-cr13
65937 +
65938 +[0-9a-f]* <picostm_w>:
65939 + *[0-9a-f]*: ed af 22 ff stcm\.w cp1,pc,cr0-cr7
65940 + *[0-9a-f]*: ed a0 22 01 stcm\.w cp1,r0,cr0
65941 + *[0-9a-f]*: ed a7 22 80 stcm\.w cp1,r7,cr7
65942 + *[0-9a-f]*: ed a8 22 7f stcm\.w cp1,r8,cr0-cr6
65943 + *[0-9a-f]*: ed af 23 ff stcm\.w cp1,pc,cr8-cr15
65944 + *[0-9a-f]*: ed a0 23 01 stcm\.w cp1,r0,cr8
65945 + *[0-9a-f]*: ed a7 23 80 stcm\.w cp1,r7,cr15
65946 + *[0-9a-f]*: ed a8 23 7f stcm\.w cp1,r8,cr8-cr14
65947 +
65948 +[0-9a-f]* <picostm_w_pu>:
65949 + *[0-9a-f]*: ed af 32 ff stcm\.w cp1,--pc,cr0-cr7
65950 + *[0-9a-f]*: ed a0 32 01 stcm\.w cp1,--r0,cr0
65951 + *[0-9a-f]*: ed a7 32 80 stcm\.w cp1,--r7,cr7
65952 + *[0-9a-f]*: ed a8 32 7f stcm\.w cp1,--r8,cr0-cr6
65953 + *[0-9a-f]*: ed af 33 ff stcm\.w cp1,--pc,cr8-cr15
65954 + *[0-9a-f]*: ed a0 33 01 stcm\.w cp1,--r0,cr8
65955 + *[0-9a-f]*: ed a7 33 80 stcm\.w cp1,--r7,cr15
65956 + *[0-9a-f]*: ed a8 33 7f stcm\.w cp1,--r8,cr8-cr14
65957 Index: binutils-2.17/gas/testsuite/gas/avr32/pico.s
65958 ===================================================================
65959 --- /dev/null 1970-01-01 00:00:00.000000000 +0000
65960 +++ binutils-2.17/gas/testsuite/gas/avr32/pico.s 2007-06-28 09:19:36.649664856 +0200
65961 @@ -0,0 +1,144 @@
65962 +
65963 + .text
65964 + .global picosvmac
65965 +picosvmac:
65966 + picosvmac out0, in0, in0, in0
65967 + picosvmac out2, in11, in11, in11
65968 + picosvmac out1, in10, in0, in5
65969 + picosvmac out3, in6, in9, in0
65970 + .global picosvmul
65971 +picosvmul:
65972 + picosvmul out0, in0, in0, in0
65973 + picosvmul out2, in11, in11, in11
65974 + picosvmul out1, in10, in0, in5
65975 + picosvmul out3, in6, in9, in0
65976 + .global picovmac
65977 +picovmac:
65978 + picovmac out0, in0, in0, in0
65979 + picovmac out2, in11, in11, in11
65980 + picovmac out1, in10, in0, in5
65981 + picovmac out3, in6, in9, in0
65982 + .global picovmul
65983 +picovmul:
65984 + picovmul out0, in0, in0, in0
65985 + picovmul out2, in11, in11, in11
65986 + picovmul out1, in10, in0, in5
65987 + picovmul out3, in6, in9, in0
65988 + .global picold_d
65989 +picold_d:
65990 + picold.d vmu2_out, pc[1020]
65991 + picold.d inpix2, r0[1020]
65992 + picold.d inpix2, r0[0]
65993 + picold.d coeff0_a, --r8
65994 + picold.d coeff1_a, --r7
65995 + picold.d inpix0, r10[r5 << 2]
65996 + picold.d vmu0_out, r3[r6 << 0]
65997 + .global picold_w
65998 +picold_w:
65999 + picold.w config, pc[1020]
66000 + picold.w inpix2, r0[1020]
66001 + picold.w inpix2, r0[0]
66002 + picold.w coeff0_b, --r8
66003 + picold.w coeff1_a, --r7
66004 + picold.w inpix1, r10[r5 << 2]
66005 + picold.w vmu1_out, r3[r6 << 0]
66006 + .global picoldm_d
66007 +picoldm_d:
66008 + picoldm.d pc, inpix2-config
66009 + picoldm.d r0, inpix2, inpix1
66010 + picoldm.d r7, vmu2_out, config
66011 + picoldm.d r8, inpix2-vmu1_out
66012 + .global picoldm_d_pu
66013 +picoldm_d_pu:
66014 + 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
66015 + picoldm.d r0++, inpix2, inpix1
66016 + picoldm.d r7++, vmu2_out, config
66017 + 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
66018 + .global picoldm_w
66019 +picoldm_w:
66020 + picoldm.w pc, inpix2-coeff0_b
66021 + picoldm.w r0, inpix2
66022 + picoldm.w r7, coeff0_b
66023 + picoldm.w r8, inpix2-coeff0_a
66024 + picoldm.w pc, coeff1_a-config
66025 + picoldm.w r0, coeff1_a
66026 + picoldm.w r7, config
66027 + picoldm.w r8, coeff1_a-vmu2_out
66028 + .global picoldm_w_pu
66029 +picoldm_w_pu:
66030 + picoldm.w pc++, inpix2-coeff0_b
66031 + picoldm.w r0++, inpix2
66032 + picoldm.w r7++, coeff0_b
66033 + picoldm.w r8++, inpix2-coeff0_a
66034 + picoldm.w pc++, coeff1_a-config
66035 + picoldm.w r0++, coeff1_a
66036 + picoldm.w r7++, config
66037 + picoldm.w r8++, coeff1_a-vmu2_out
66038 + .global picomv_d
66039 +picomv_d:
66040 + picomv.d vmu2_out, lr
66041 + picomv.d inpix2, r0
66042 + picomv.d coeff0_a, r8
66043 + picomv.d coeff1_a, r6
66044 + picomv.d pc, vmu2_out
66045 + picomv.d r0, inpix2
66046 + picomv.d r8, coeff0_a
66047 + picomv.d r6, coeff1_a
66048 + .global picomv_w
66049 +picomv_w:
66050 + picomv.w config, pc
66051 + picomv.w inpix2, r0
66052 + picomv.w coeff0_b, r8
66053 + picomv.w coeff1_a, r7
66054 + picomv.w pc, config
66055 + picomv.w r0, inpix2
66056 + picomv.w r8, coeff0_b
66057 + picomv.w r7, coeff1_a
66058 + .global picost_d
66059 +picost_d:
66060 + picost.d pc[1020], vmu2_out
66061 + picost.d r0[0], inpix2
66062 + picost.d r8++, coeff0_a
66063 + picost.d r7++, coeff1_a
66064 + picost.d r10[r5 << 2], inpix0
66065 + picost.d r3[r6 << 0], vmu0_out
66066 + .global picost_w
66067 +picost_w:
66068 + picost.w pc[1020], config
66069 + picost.w r0[0], inpix2
66070 + picost.w r8++, coeff0_b
66071 + picost.w r7++, coeff1_a
66072 + picost.w r10[r5 << 2], inpix1
66073 + picost.w r3[r6 << 0], vmu1_out
66074 + .global picostm_d
66075 +picostm_d:
66076 + picostm.d pc, inpix2-config
66077 + picostm.d r0, inpix2, inpix1
66078 + picostm.d r7, vmu2_out, config
66079 + picostm.d r8, inpix2-vmu1_out
66080 + .global picostm_d_pu
66081 +picostm_d_pu:
66082 + 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
66083 + picostm.d --r0, inpix2, inpix1
66084 + picostm.d --r7, vmu2_out, config
66085 + 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
66086 + .global picostm_w
66087 +picostm_w:
66088 + picostm.w pc, inpix2-coeff0_b
66089 + picostm.w r0, inpix2
66090 + picostm.w r7, coeff0_b
66091 + picostm.w r8, inpix2-coeff0_a
66092 + picostm.w pc, coeff1_a-config
66093 + picostm.w r0, coeff1_a
66094 + picostm.w r7, config
66095 + picostm.w r8, coeff1_a-vmu2_out
66096 + .global picostm_w_pu
66097 +picostm_w_pu:
66098 + picostm.w --pc, inpix2-coeff0_b
66099 + picostm.w --r0, inpix2
66100 + picostm.w --r7, coeff0_b
66101 + picostm.w --r8, inpix2-coeff0_a
66102 + picostm.w --pc, coeff1_a-config
66103 + picostm.w --r0, coeff1_a
66104 + picostm.w --r7, config
66105 + picostm.w --r8, coeff1_a-vmu2_out
66106 Index: binutils-2.17/gas/testsuite/gas/avr32/pic_reloc.d
66107 ===================================================================
66108 --- /dev/null 1970-01-01 00:00:00.000000000 +0000
66109 +++ binutils-2.17/gas/testsuite/gas/avr32/pic_reloc.d 2007-06-28 09:19:36.649664856 +0200
66110 @@ -0,0 +1,27 @@
66111 +#as:
66112 +#objdump: -dr
66113 +#name: pic_reloc
66114 +
66115 +.*: +file format .*
66116 +
66117 +Disassembly of section \.text:
66118 +
66119 +00000000 <mcall_got>:
66120 + 0: f0 16 00 00 mcall r6\[0\]
66121 + 0: R_AVR32_GOT18SW extfunc
66122 + 4: f0 16 00 00 mcall r6\[0\]
66123 + 4: R_AVR32_GOT18SW \.L1
66124 + 8: f0 16 00 00 mcall r6\[0\]
66125 + 8: R_AVR32_GOT18SW \.L2
66126 + c: f0 16 00 00 mcall r6\[0\]
66127 + c: R_AVR32_GOT18SW mcall_got
66128 +
66129 +00000010 <ldw_got>:
66130 + 10: ec f0 00 00 ld.w r0,r6\[0\]
66131 + 10: R_AVR32_GOT16S extvar
66132 + 14: ec f0 00 00 ld.w r0,r6\[0\]
66133 + 14: R_AVR32_GOT16S \.L3
66134 + 18: ec f0 00 00 ld.w r0,r6\[0\]
66135 + 18: R_AVR32_GOT16S \.L4
66136 + 1c: ec f0 00 00 ld.w r0,r6\[0\]
66137 + 1c: R_AVR32_GOT16S ldw_got
66138 Index: binutils-2.17/gas/testsuite/gas/avr32/pic_reloc.s
66139 ===================================================================
66140 --- /dev/null 1970-01-01 00:00:00.000000000 +0000
66141 +++ binutils-2.17/gas/testsuite/gas/avr32/pic_reloc.s 2007-06-28 09:19:36.649664856 +0200
66142 @@ -0,0 +1,18 @@
66143 +
66144 + .text
66145 + .global mcall_got
66146 +mcall_got:
66147 +.L1:
66148 + mcall r6[extfunc@got]
66149 + mcall r6[.L1@got]
66150 + mcall r6[.L2@got]
66151 + mcall r6[mcall_got@got]
66152 +.L2:
66153 +
66154 + .global ldw_got
66155 +ldw_got:
66156 +.L3: ld.w r0,r6[extvar@got]
66157 + ld.w r0,r6[.L3@got]
66158 + ld.w r0,r6[.L4@got]
66159 + ld.w r0,r6[ldw_got@got]
66160 +.L4:
66161 Index: binutils-2.17/gas/testsuite/gas/avr32/symdiff.d
66162 ===================================================================
66163 --- /dev/null 1970-01-01 00:00:00.000000000 +0000
66164 +++ binutils-2.17/gas/testsuite/gas/avr32/symdiff.d 2007-06-28 09:19:36.650664704 +0200
66165 @@ -0,0 +1,24 @@
66166 +#source: symdiff.s
66167 +#as:
66168 +#objdump: -dr
66169 +#name: symdiff
66170 +
66171 +.*: +file format .*
66172 +
66173 +Disassembly of section \.text:
66174 +
66175 +00000000 <diff32>:
66176 + 0: 00 00 add r0,r0
66177 + 2: 00 04 add r4,r0
66178 +
66179 +00000004 <diff16>:
66180 + 4: 00 04 add r4,r0
66181 +
66182 +00000006 <diff8>:
66183 + 6: 04 00 add r0,r2
66184 +
66185 +00000008 <symdiff_test>:
66186 + 8: d7 03 nop
66187 + a: d7 03 nop
66188 + c: d7 03 nop
66189 + e: d7 03 nop
66190 Index: binutils-2.17/gas/testsuite/gas/avr32/symdiff_linkrelax.d
66191 ===================================================================
66192 --- /dev/null 1970-01-01 00:00:00.000000000 +0000
66193 +++ binutils-2.17/gas/testsuite/gas/avr32/symdiff_linkrelax.d 2007-06-28 09:19:36.650664704 +0200
66194 @@ -0,0 +1,28 @@
66195 +#source: symdiff.s
66196 +#as: --linkrelax
66197 +#objdump: -dr
66198 +#name: symdiff_linkrelax
66199 +
66200 +.*: +file format .*
66201 +
66202 +Disassembly of section \.text:
66203 +
66204 +00000000 <diff32>:
66205 + 0: 00 00 add r0,r0
66206 + 0: R_AVR32_DIFF32 \.text\+0xa
66207 + 2: 00 04 add r4,r0
66208 +
66209 +00000004 <diff16>:
66210 + 4: 00 04 add r4,r0
66211 + 4: R_AVR32_DIFF16 \.text\+0xa
66212 +
66213 +00000006 <diff8>:
66214 + 6: 04 00 add r0,r2
66215 + 6: R_AVR32_DIFF8 \.text\+0xa
66216 + 7: R_AVR32_ALIGN \*ABS\*\+0x1
66217 +
66218 +00000008 <symdiff_test>:
66219 + 8: d7 03 nop
66220 + a: d7 03 nop
66221 + c: d7 03 nop
66222 + e: d7 03 nop
66223 Index: binutils-2.17/gas/testsuite/gas/avr32/symdiff.s
66224 ===================================================================
66225 --- /dev/null 1970-01-01 00:00:00.000000000 +0000
66226 +++ binutils-2.17/gas/testsuite/gas/avr32/symdiff.s 2007-06-28 09:19:36.650664704 +0200
66227 @@ -0,0 +1,19 @@
66228 +
66229 + .text
66230 + .global diff32
66231 +diff32:
66232 + .long .L2 - .L1
66233 + .global diff16
66234 +diff16:
66235 + .short .L2 - .L1
66236 + .global diff8
66237 +diff8:
66238 + .byte .L2 - .L1
66239 +
66240 + .global symdiff_test
66241 + .align 1
66242 +symdiff_test:
66243 + nop
66244 +.L1: nop
66245 + nop
66246 +.L2: nop
66247 Index: binutils-2.17/gas/write.c
66248 ===================================================================
66249 --- binutils-2.17.orig/gas/write.c 2007-06-28 09:19:34.590977824 +0200
66250 +++ binutils-2.17/gas/write.c 2007-06-28 09:19:36.651664552 +0200
66251 @@ -126,7 +126,9 @@
66252 offsetT offset, int pcrel,
66253 RELOC_ENUM r_type);
66254 static long fixup_segment (fixS *, segT);
66255 +#if !defined (TC_RELAX_ALIGN)
66256 static relax_addressT relax_align (relax_addressT addr, int align);
66257 +#endif
66258 static fragS *chain_frchains_together_1 (segT, struct frchain *);
66259 static void chain_frchains_together (bfd *, segT, PTR);
66260 static void cvt_frag_to_fill (segT, fragS *);
66261 @@ -1684,6 +1686,10 @@
66262
66263 #endif /* defined (TC_GENERIC_RELAX_TABLE) */
66264
66265 +#ifdef TC_RELAX_ALIGN
66266 +#define RELAX_ALIGN(SEG, FRAG, ADDR) TC_RELAX_ALIGN(SEG, FRAG, ADDR)
66267 +#else
66268 +#define RELAX_ALIGN(SEG, FRAG, ADDR) relax_align(ADDR, (FRAG)->fr_offset)
66269 /* Relax_align. Advance location counter to next address that has 'alignment'
66270 lowest order bits all 0s, return size of adjustment made. */
66271 static relax_addressT
66272 @@ -1703,6 +1709,7 @@
66273 #endif
66274 return (new_address - address);
66275 }
66276 +#endif
66277
66278 /* Now we have a segment, not a crowd of sub-segments, we can make
66279 fr_address values.
66280 @@ -1746,7 +1753,7 @@
66281 case rs_align_code:
66282 case rs_align_test:
66283 {
66284 - addressT offset = relax_align (address, (int) fragP->fr_offset);
66285 + addressT offset = RELAX_ALIGN(segment, fragP, address);
66286
66287 if (fragP->fr_subtype != 0 && offset > fragP->fr_subtype)
66288 offset = 0;
66289 @@ -1922,10 +1929,10 @@
66290 {
66291 addressT oldoff, newoff;
66292
66293 - oldoff = relax_align (was_address + fragP->fr_fix,
66294 - (int) offset);
66295 - newoff = relax_align (address + fragP->fr_fix,
66296 - (int) offset);
66297 + oldoff = RELAX_ALIGN (segment, fragP,
66298 + was_address + fragP->fr_fix);
66299 + newoff = RELAX_ALIGN (segment, fragP,
66300 + address + fragP->fr_fix);
66301
66302 if (fragP->fr_subtype != 0)
66303 {
66304 Index: binutils-2.17/include/dis-asm.h
66305 ===================================================================
66306 --- binutils-2.17.orig/include/dis-asm.h 2007-06-28 09:19:34.596976912 +0200
66307 +++ binutils-2.17/include/dis-asm.h 2007-06-28 09:19:36.651664552 +0200
66308 @@ -223,6 +223,7 @@
66309 extern int print_insn_little_arm (bfd_vma, disassemble_info *);
66310 extern int print_insn_sparc (bfd_vma, disassemble_info *);
66311 extern int print_insn_avr (bfd_vma, disassemble_info *);
66312 +extern int print_insn_avr32 (bfd_vma, disassemble_info *);
66313 extern int print_insn_bfin (bfd_vma, disassemble_info *);
66314 extern int print_insn_d10v (bfd_vma, disassemble_info *);
66315 extern int print_insn_d30v (bfd_vma, disassemble_info *);
66316 @@ -276,7 +277,9 @@
66317 extern void print_mips_disassembler_options (FILE *);
66318 extern void print_ppc_disassembler_options (FILE *);
66319 extern void print_arm_disassembler_options (FILE *);
66320 +extern void print_avr32_disassembler_options (FILE *);
66321 extern void parse_arm_disassembler_option (char *);
66322 +extern void parse_avr32_disassembler_option (char *);
66323 extern int get_arm_regname_num_options (void);
66324 extern int set_arm_regname_option (int);
66325 extern int get_arm_regnames (int, const char **, const char **, const char *const **);
66326 Index: binutils-2.17/include/elf/avr32.h
66327 ===================================================================
66328 --- /dev/null 1970-01-01 00:00:00.000000000 +0000
66329 +++ binutils-2.17/include/elf/avr32.h 2007-06-28 09:19:36.652664400 +0200
66330 @@ -0,0 +1,95 @@
66331 +/* AVR32 ELF support for BFD.
66332 + Copyright 2003-2006 Atmel Corporation.
66333 +
66334 + Written by Haavard Skinnemoen, Atmel Norway, <hskinnemoen@atmel.com>
66335 +
66336 + This file is part of BFD, the Binary File Descriptor library.
66337 +
66338 + This program is free software; you can redistribute it and/or
66339 + modify it under the terms of the GNU General Public License as
66340 + published by the Free Software Foundation; either version 2 of the
66341 + License, or (at your option) any later version.
66342 +
66343 + This program is distributed in the hope that it will be useful, but
66344 + WITHOUT ANY WARRANTY; without even the implied warranty of
66345 + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
66346 + General Public License for more details.
66347 +
66348 + You should have received a copy of the GNU General Public License
66349 + along with this program; if not, write to the Free Software
66350 + Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
66351 + 02111-1307, USA. */
66352 +
66353 +#include "elf/reloc-macros.h"
66354 +
66355 +/* CPU-specific flags for the ELF header e_flags field */
66356 +#define EF_AVR32_LINKRELAX 0x01
66357 +#define EF_AVR32_PIC 0x02
66358 +
66359 +START_RELOC_NUMBERS (elf_avr32_reloc_type)
66360 + RELOC_NUMBER (R_AVR32_NONE, 0)
66361 +
66362 + /* Data Relocations */
66363 + RELOC_NUMBER (R_AVR32_32, 1)
66364 + RELOC_NUMBER (R_AVR32_16, 2)
66365 + RELOC_NUMBER (R_AVR32_8, 3)
66366 + RELOC_NUMBER (R_AVR32_32_PCREL, 4)
66367 + RELOC_NUMBER (R_AVR32_16_PCREL, 5)
66368 + RELOC_NUMBER (R_AVR32_8_PCREL, 6)
66369 + RELOC_NUMBER (R_AVR32_DIFF32, 7)
66370 + RELOC_NUMBER (R_AVR32_DIFF16, 8)
66371 + RELOC_NUMBER (R_AVR32_DIFF8, 9)
66372 + RELOC_NUMBER (R_AVR32_GOT32, 10)
66373 + RELOC_NUMBER (R_AVR32_GOT16, 11)
66374 + RELOC_NUMBER (R_AVR32_GOT8, 12)
66375 +
66376 + /* Normal Code Relocations */
66377 + RELOC_NUMBER (R_AVR32_21S, 13)
66378 + RELOC_NUMBER (R_AVR32_16U, 14)
66379 + RELOC_NUMBER (R_AVR32_16S, 15)
66380 + RELOC_NUMBER (R_AVR32_8S, 16)
66381 + RELOC_NUMBER (R_AVR32_8S_EXT, 17)
66382 +
66383 + /* PC-Relative Code Relocations */
66384 + RELOC_NUMBER (R_AVR32_22H_PCREL, 18)
66385 + RELOC_NUMBER (R_AVR32_18W_PCREL, 19)
66386 + RELOC_NUMBER (R_AVR32_16B_PCREL, 20)
66387 + RELOC_NUMBER (R_AVR32_16N_PCREL, 21)
66388 + RELOC_NUMBER (R_AVR32_14UW_PCREL, 22)
66389 + RELOC_NUMBER (R_AVR32_11H_PCREL, 23)
66390 + RELOC_NUMBER (R_AVR32_10UW_PCREL, 24)
66391 + RELOC_NUMBER (R_AVR32_9H_PCREL, 25)
66392 + RELOC_NUMBER (R_AVR32_9UW_PCREL, 26)
66393 +
66394 + /* Special Code Relocations */
66395 + RELOC_NUMBER (R_AVR32_HI16, 27)
66396 + RELOC_NUMBER (R_AVR32_LO16, 28)
66397 +
66398 + /* PIC Relocations */
66399 + RELOC_NUMBER (R_AVR32_GOTPC, 29)
66400 + RELOC_NUMBER (R_AVR32_GOTCALL, 30)
66401 + RELOC_NUMBER (R_AVR32_LDA_GOT, 31)
66402 + RELOC_NUMBER (R_AVR32_GOT21S, 32)
66403 + RELOC_NUMBER (R_AVR32_GOT18SW, 33)
66404 + RELOC_NUMBER (R_AVR32_GOT16S, 34)
66405 + RELOC_NUMBER (R_AVR32_GOT7UW, 35)
66406 +
66407 + /* Constant Pool Relocations */
66408 + RELOC_NUMBER (R_AVR32_32_CPENT, 36)
66409 + RELOC_NUMBER (R_AVR32_CPCALL, 37)
66410 + RELOC_NUMBER (R_AVR32_16_CP, 38)
66411 + RELOC_NUMBER (R_AVR32_9W_CP, 39)
66412 +
66413 + /* Dynamic Relocations */
66414 + RELOC_NUMBER (R_AVR32_RELATIVE, 40)
66415 + RELOC_NUMBER (R_AVR32_GLOB_DAT, 41)
66416 + RELOC_NUMBER (R_AVR32_JMP_SLOT, 42)
66417 +
66418 + /* Linkrelax Information */
66419 + RELOC_NUMBER (R_AVR32_ALIGN, 43)
66420 +END_RELOC_NUMBERS (R_AVR32_max)
66421 +
66422 +/* Processor specific dynamic array tags. */
66423 +
66424 +/* The total size in bytes of the Global Offset Table */
66425 +#define DT_AVR32_GOTSZ 0x70000001
66426 Index: binutils-2.17/include/elf/common.h
66427 ===================================================================
66428 --- binutils-2.17.orig/include/elf/common.h 2007-06-28 09:19:34.607975240 +0200
66429 +++ binutils-2.17/include/elf/common.h 2007-06-28 09:19:36.652664400 +0200
66430 @@ -256,6 +256,9 @@
66431 /* V850 backend magic number. Written in the absense of an ABI. */
66432 #define EM_CYGNUS_V850 0x9080
66433
66434 +/* AVR32 magic number, picked by IAR Systems. */
66435 +#define EM_AVR32 0x18ad
66436 +
66437 /* old S/390 backend magic number. Written in the absence of an ABI. */
66438 #define EM_S390_OLD 0xa390
66439
66440 Index: binutils-2.17/ld/config.in
66441 ===================================================================
66442 --- binutils-2.17.orig/ld/config.in 2007-06-28 09:19:34.612974480 +0200
66443 +++ binutils-2.17/ld/config.in 2007-06-28 09:19:36.653664248 +0200
66444 @@ -187,7 +187,7 @@
66445
66446 /* If using the C implementation of alloca, define if you know the
66447 direction of stack growth for your system; otherwise it will be
66448 - automatically deduced at run-time.
66449 + automatically deduced at runtime.
66450 STACK_DIRECTION > 0 => grows toward higher addresses
66451 STACK_DIRECTION < 0 => grows toward lower addresses
66452 STACK_DIRECTION = 0 => direction of growth unknown */
66453 @@ -215,8 +215,8 @@
66454 #undef inline
66455 #endif
66456
66457 -/* Define to `long' if <sys/types.h> does not define. */
66458 +/* Define to `long int' if <sys/types.h> does not define. */
66459 #undef off_t
66460
66461 -/* Define to `unsigned' if <sys/types.h> does not define. */
66462 +/* Define to `unsigned int' if <sys/types.h> does not define. */
66463 #undef size_t
66464 Index: binutils-2.17/ld/configure
66465 ===================================================================
66466 --- binutils-2.17.orig/ld/configure 2007-06-28 09:19:35.046908512 +0200
66467 +++ binutils-2.17/ld/configure 2007-06-28 09:19:36.664662576 +0200
66468 @@ -1,25 +1,54 @@
66469 #! /bin/sh
66470 # Guess values for system-dependent variables and create Makefiles.
66471 -# Generated by GNU Autoconf 2.59.
66472 +# Generated by GNU Autoconf 2.61.
66473 #
66474 -# Copyright (C) 2003 Free Software Foundation, Inc.
66475 +# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
66476 +# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
66477 # This configure script is free software; the Free Software Foundation
66478 # gives unlimited permission to copy, distribute and modify it.
66479 ## --------------------- ##
66480 ## M4sh Initialization. ##
66481 ## --------------------- ##
66482
66483 -# Be Bourne compatible
66484 +# Be more Bourne compatible
66485 +DUALCASE=1; export DUALCASE # for MKS sh
66486 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
66487 emulate sh
66488 NULLCMD=:
66489 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
66490 # is contrary to our usage. Disable this feature.
66491 alias -g '${1+"$@"}'='"$@"'
66492 -elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
66493 - set -o posix
66494 + setopt NO_GLOB_SUBST
66495 +else
66496 + case `(set -o) 2>/dev/null` in
66497 + *posix*) set -o posix ;;
66498 +esac
66499 +
66500 +fi
66501 +
66502 +
66503 +
66504 +
66505 +# PATH needs CR
66506 +# Avoid depending upon Character Ranges.
66507 +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
66508 +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
66509 +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
66510 +as_cr_digits='0123456789'
66511 +as_cr_alnum=$as_cr_Letters$as_cr_digits
66512 +
66513 +# The user is always right.
66514 +if test "${PATH_SEPARATOR+set}" != set; then
66515 + echo "#! /bin/sh" >conf$$.sh
66516 + echo "exit 0" >>conf$$.sh
66517 + chmod +x conf$$.sh
66518 + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
66519 + PATH_SEPARATOR=';'
66520 + else
66521 + PATH_SEPARATOR=:
66522 + fi
66523 + rm -f conf$$.sh
66524 fi
66525 -DUALCASE=1; export DUALCASE # for MKS sh
66526
66527 # Support unset when possible.
66528 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
66529 @@ -29,8 +58,43 @@
66530 fi
66531
66532
66533 +# IFS
66534 +# We need space, tab and new line, in precisely that order. Quoting is
66535 +# there to prevent editors from complaining about space-tab.
66536 +# (If _AS_PATH_WALK were called with IFS unset, it would disable word
66537 +# splitting by setting IFS to empty value.)
66538 +as_nl='
66539 +'
66540 +IFS=" "" $as_nl"
66541 +
66542 +# Find who we are. Look in the path if we contain no directory separator.
66543 +case $0 in
66544 + *[\\/]* ) as_myself=$0 ;;
66545 + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
66546 +for as_dir in $PATH
66547 +do
66548 + IFS=$as_save_IFS
66549 + test -z "$as_dir" && as_dir=.
66550 + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
66551 +done
66552 +IFS=$as_save_IFS
66553 +
66554 + ;;
66555 +esac
66556 +# We did not find ourselves, most probably we were run as `sh COMMAND'
66557 +# in which case we are not to be found in the path.
66558 +if test "x$as_myself" = x; then
66559 + as_myself=$0
66560 +fi
66561 +if test ! -f "$as_myself"; then
66562 + echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
66563 + { (exit 1); exit 1; }
66564 +fi
66565 +
66566 # Work around bugs in pre-3.0 UWIN ksh.
66567 -$as_unset ENV MAIL MAILPATH
66568 +for as_var in ENV MAIL MAILPATH
66569 +do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
66570 +done
66571 PS1='$ '
66572 PS2='> '
66573 PS4='+ '
66574 @@ -44,18 +108,19 @@
66575 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
66576 eval $as_var=C; export $as_var
66577 else
66578 - $as_unset $as_var
66579 + ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
66580 fi
66581 done
66582
66583 # Required to use basename.
66584 -if expr a : '\(a\)' >/dev/null 2>&1; then
66585 +if expr a : '\(a\)' >/dev/null 2>&1 &&
66586 + test "X`expr 00001 : '.*\(...\)'`" = X001; then
66587 as_expr=expr
66588 else
66589 as_expr=false
66590 fi
66591
66592 -if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
66593 +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
66594 as_basename=basename
66595 else
66596 as_basename=false
66597 @@ -63,157 +128,388 @@
66598
66599
66600 # Name of the executable.
66601 -as_me=`$as_basename "$0" ||
66602 +as_me=`$as_basename -- "$0" ||
66603 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
66604 X"$0" : 'X\(//\)$' \| \
66605 - X"$0" : 'X\(/\)$' \| \
66606 - . : '\(.\)' 2>/dev/null ||
66607 + X"$0" : 'X\(/\)' \| . 2>/dev/null ||
66608 echo X/"$0" |
66609 - sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
66610 - /^X\/\(\/\/\)$/{ s//\1/; q; }
66611 - /^X\/\(\/\).*/{ s//\1/; q; }
66612 - s/.*/./; q'`
66613 + sed '/^.*\/\([^/][^/]*\)\/*$/{
66614 + s//\1/
66615 + q
66616 + }
66617 + /^X\/\(\/\/\)$/{
66618 + s//\1/
66619 + q
66620 + }
66621 + /^X\/\(\/\).*/{
66622 + s//\1/
66623 + q
66624 + }
66625 + s/.*/./; q'`
66626
66627 +# CDPATH.
66628 +$as_unset CDPATH
66629
66630 -# PATH needs CR, and LINENO needs CR and PATH.
66631 -# Avoid depending upon Character Ranges.
66632 -as_cr_letters='abcdefghijklmnopqrstuvwxyz'
66633 -as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
66634 -as_cr_Letters=$as_cr_letters$as_cr_LETTERS
66635 -as_cr_digits='0123456789'
66636 -as_cr_alnum=$as_cr_Letters$as_cr_digits
66637
66638 -# The user is always right.
66639 -if test "${PATH_SEPARATOR+set}" != set; then
66640 - echo "#! /bin/sh" >conf$$.sh
66641 - echo "exit 0" >>conf$$.sh
66642 - chmod +x conf$$.sh
66643 - if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
66644 - PATH_SEPARATOR=';'
66645 - else
66646 - PATH_SEPARATOR=:
66647 - fi
66648 - rm -f conf$$.sh
66649 +if test "x$CONFIG_SHELL" = x; then
66650 + if (eval ":") 2>/dev/null; then
66651 + as_have_required=yes
66652 +else
66653 + as_have_required=no
66654 +fi
66655 +
66656 + if test $as_have_required = yes && (eval ":
66657 +(as_func_return () {
66658 + (exit \$1)
66659 +}
66660 +as_func_success () {
66661 + as_func_return 0
66662 +}
66663 +as_func_failure () {
66664 + as_func_return 1
66665 +}
66666 +as_func_ret_success () {
66667 + return 0
66668 +}
66669 +as_func_ret_failure () {
66670 + return 1
66671 +}
66672 +
66673 +exitcode=0
66674 +if as_func_success; then
66675 + :
66676 +else
66677 + exitcode=1
66678 + echo as_func_success failed.
66679 fi
66680
66681 +if as_func_failure; then
66682 + exitcode=1
66683 + echo as_func_failure succeeded.
66684 +fi
66685
66686 - as_lineno_1=$LINENO
66687 - as_lineno_2=$LINENO
66688 - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
66689 - test "x$as_lineno_1" != "x$as_lineno_2" &&
66690 - test "x$as_lineno_3" = "x$as_lineno_2" || {
66691 - # Find who we are. Look in the path if we contain no path at all
66692 - # relative or not.
66693 - case $0 in
66694 - *[\\/]* ) as_myself=$0 ;;
66695 - *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
66696 -for as_dir in $PATH
66697 -do
66698 - IFS=$as_save_IFS
66699 - test -z "$as_dir" && as_dir=.
66700 - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
66701 -done
66702 +if as_func_ret_success; then
66703 + :
66704 +else
66705 + exitcode=1
66706 + echo as_func_ret_success failed.
66707 +fi
66708
66709 - ;;
66710 - esac
66711 - # We did not find ourselves, most probably we were run as `sh COMMAND'
66712 - # in which case we are not to be found in the path.
66713 - if test "x$as_myself" = x; then
66714 - as_myself=$0
66715 - fi
66716 - if test ! -f "$as_myself"; then
66717 - { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
66718 - { (exit 1); exit 1; }; }
66719 - fi
66720 - case $CONFIG_SHELL in
66721 - '')
66722 +if as_func_ret_failure; then
66723 + exitcode=1
66724 + echo as_func_ret_failure succeeded.
66725 +fi
66726 +
66727 +if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
66728 + :
66729 +else
66730 + exitcode=1
66731 + echo positional parameters were not saved.
66732 +fi
66733 +
66734 +test \$exitcode = 0) || { (exit 1); exit 1; }
66735 +
66736 +(
66737 + as_lineno_1=\$LINENO
66738 + as_lineno_2=\$LINENO
66739 + test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
66740 + test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
66741 +") 2> /dev/null; then
66742 + :
66743 +else
66744 + as_candidate_shells=
66745 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
66746 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
66747 do
66748 IFS=$as_save_IFS
66749 test -z "$as_dir" && as_dir=.
66750 - for as_base in sh bash ksh sh5; do
66751 - case $as_dir in
66752 + case $as_dir in
66753 /*)
66754 - if ("$as_dir/$as_base" -c '
66755 + for as_base in sh bash ksh sh5; do
66756 + as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
66757 + done;;
66758 + esac
66759 +done
66760 +IFS=$as_save_IFS
66761 +
66762 +
66763 + for as_shell in $as_candidate_shells $SHELL; do
66764 + # Try only shells that exist, to save several forks.
66765 + if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
66766 + { ("$as_shell") 2> /dev/null <<\_ASEOF
66767 +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
66768 + emulate sh
66769 + NULLCMD=:
66770 + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
66771 + # is contrary to our usage. Disable this feature.
66772 + alias -g '${1+"$@"}'='"$@"'
66773 + setopt NO_GLOB_SUBST
66774 +else
66775 + case `(set -o) 2>/dev/null` in
66776 + *posix*) set -o posix ;;
66777 +esac
66778 +
66779 +fi
66780 +
66781 +
66782 +:
66783 +_ASEOF
66784 +}; then
66785 + CONFIG_SHELL=$as_shell
66786 + as_have_required=yes
66787 + if { "$as_shell" 2> /dev/null <<\_ASEOF
66788 +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
66789 + emulate sh
66790 + NULLCMD=:
66791 + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
66792 + # is contrary to our usage. Disable this feature.
66793 + alias -g '${1+"$@"}'='"$@"'
66794 + setopt NO_GLOB_SUBST
66795 +else
66796 + case `(set -o) 2>/dev/null` in
66797 + *posix*) set -o posix ;;
66798 +esac
66799 +
66800 +fi
66801 +
66802 +
66803 +:
66804 +(as_func_return () {
66805 + (exit $1)
66806 +}
66807 +as_func_success () {
66808 + as_func_return 0
66809 +}
66810 +as_func_failure () {
66811 + as_func_return 1
66812 +}
66813 +as_func_ret_success () {
66814 + return 0
66815 +}
66816 +as_func_ret_failure () {
66817 + return 1
66818 +}
66819 +
66820 +exitcode=0
66821 +if as_func_success; then
66822 + :
66823 +else
66824 + exitcode=1
66825 + echo as_func_success failed.
66826 +fi
66827 +
66828 +if as_func_failure; then
66829 + exitcode=1
66830 + echo as_func_failure succeeded.
66831 +fi
66832 +
66833 +if as_func_ret_success; then
66834 + :
66835 +else
66836 + exitcode=1
66837 + echo as_func_ret_success failed.
66838 +fi
66839 +
66840 +if as_func_ret_failure; then
66841 + exitcode=1
66842 + echo as_func_ret_failure succeeded.
66843 +fi
66844 +
66845 +if ( set x; as_func_ret_success y && test x = "$1" ); then
66846 + :
66847 +else
66848 + exitcode=1
66849 + echo positional parameters were not saved.
66850 +fi
66851 +
66852 +test $exitcode = 0) || { (exit 1); exit 1; }
66853 +
66854 +(
66855 as_lineno_1=$LINENO
66856 as_lineno_2=$LINENO
66857 - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
66858 test "x$as_lineno_1" != "x$as_lineno_2" &&
66859 - test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
66860 - $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
66861 - $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
66862 - CONFIG_SHELL=$as_dir/$as_base
66863 - export CONFIG_SHELL
66864 - exec "$CONFIG_SHELL" "$0" ${1+"$@"}
66865 - fi;;
66866 - esac
66867 - done
66868 -done
66869 -;;
66870 - esac
66871 + test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
66872 +
66873 +_ASEOF
66874 +}; then
66875 + break
66876 +fi
66877 +
66878 +fi
66879 +
66880 + done
66881 +
66882 + if test "x$CONFIG_SHELL" != x; then
66883 + for as_var in BASH_ENV ENV
66884 + do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
66885 + done
66886 + export CONFIG_SHELL
66887 + exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
66888 +fi
66889 +
66890 +
66891 + if test $as_have_required = no; then
66892 + echo This script requires a shell more modern than all the
66893 + echo shells that I found on your system. Please install a
66894 + echo modern shell, or manually run the script under such a
66895 + echo shell if you do have one.
66896 + { (exit 1); exit 1; }
66897 +fi
66898 +
66899 +
66900 +fi
66901 +
66902 +fi
66903 +
66904 +
66905 +
66906 +(eval "as_func_return () {
66907 + (exit \$1)
66908 +}
66909 +as_func_success () {
66910 + as_func_return 0
66911 +}
66912 +as_func_failure () {
66913 + as_func_return 1
66914 +}
66915 +as_func_ret_success () {
66916 + return 0
66917 +}
66918 +as_func_ret_failure () {
66919 + return 1
66920 +}
66921 +
66922 +exitcode=0
66923 +if as_func_success; then
66924 + :
66925 +else
66926 + exitcode=1
66927 + echo as_func_success failed.
66928 +fi
66929 +
66930 +if as_func_failure; then
66931 + exitcode=1
66932 + echo as_func_failure succeeded.
66933 +fi
66934 +
66935 +if as_func_ret_success; then
66936 + :
66937 +else
66938 + exitcode=1
66939 + echo as_func_ret_success failed.
66940 +fi
66941 +
66942 +if as_func_ret_failure; then
66943 + exitcode=1
66944 + echo as_func_ret_failure succeeded.
66945 +fi
66946 +
66947 +if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
66948 + :
66949 +else
66950 + exitcode=1
66951 + echo positional parameters were not saved.
66952 +fi
66953 +
66954 +test \$exitcode = 0") || {
66955 + echo No shell found that supports shell functions.
66956 + echo Please tell autoconf@gnu.org about your system,
66957 + echo including any error possibly output before this
66958 + echo message
66959 +}
66960 +
66961 +
66962 +
66963 + as_lineno_1=$LINENO
66964 + as_lineno_2=$LINENO
66965 + test "x$as_lineno_1" != "x$as_lineno_2" &&
66966 + test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
66967
66968 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
66969 # uniformly replaced by the line number. The first 'sed' inserts a
66970 - # line-number line before each line; the second 'sed' does the real
66971 - # work. The second script uses 'N' to pair each line-number line
66972 - # with the numbered line, and appends trailing '-' during
66973 - # substitution so that $LINENO is not a special case at line end.
66974 + # line-number line after each line using $LINENO; the second 'sed'
66975 + # does the real work. The second script uses 'N' to pair each
66976 + # line-number line with the line containing $LINENO, and appends
66977 + # trailing '-' during substitution so that $LINENO is not a special
66978 + # case at line end.
66979 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
66980 - # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
66981 - sed '=' <$as_myself |
66982 + # scripts with optimization help from Paolo Bonzini. Blame Lee
66983 + # E. McMahon (1931-1989) for sed's syntax. :-)
66984 + sed -n '
66985 + p
66986 + /[$]LINENO/=
66987 + ' <$as_myself |
66988 sed '
66989 + s/[$]LINENO.*/&-/
66990 + t lineno
66991 + b
66992 + :lineno
66993 N
66994 - s,$,-,
66995 - : loop
66996 - s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
66997 + :loop
66998 + s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
66999 t loop
67000 - s,-$,,
67001 - s,^['$as_cr_digits']*\n,,
67002 + s/-\n.*//
67003 ' >$as_me.lineno &&
67004 - chmod +x $as_me.lineno ||
67005 + chmod +x "$as_me.lineno" ||
67006 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
67007 { (exit 1); exit 1; }; }
67008
67009 # Don't try to exec as it changes $[0], causing all sort of problems
67010 # (the dirname of $[0] is not the place where we might find the
67011 - # original and so on. Autoconf is especially sensible to this).
67012 - . ./$as_me.lineno
67013 + # original and so on. Autoconf is especially sensitive to this).
67014 + . "./$as_me.lineno"
67015 # Exit status is that of the last command.
67016 exit
67017 }
67018
67019
67020 -case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
67021 - *c*,-n*) ECHO_N= ECHO_C='
67022 -' ECHO_T=' ' ;;
67023 - *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
67024 - *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
67025 +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
67026 + as_dirname=dirname
67027 +else
67028 + as_dirname=false
67029 +fi
67030 +
67031 +ECHO_C= ECHO_N= ECHO_T=
67032 +case `echo -n x` in
67033 +-n*)
67034 + case `echo 'x\c'` in
67035 + *c*) ECHO_T=' ';; # ECHO_T is single tab character.
67036 + *) ECHO_C='\c';;
67037 + esac;;
67038 +*)
67039 + ECHO_N='-n';;
67040 esac
67041
67042 -if expr a : '\(a\)' >/dev/null 2>&1; then
67043 +if expr a : '\(a\)' >/dev/null 2>&1 &&
67044 + test "X`expr 00001 : '.*\(...\)'`" = X001; then
67045 as_expr=expr
67046 else
67047 as_expr=false
67048 fi
67049
67050 rm -f conf$$ conf$$.exe conf$$.file
67051 +if test -d conf$$.dir; then
67052 + rm -f conf$$.dir/conf$$.file
67053 +else
67054 + rm -f conf$$.dir
67055 + mkdir conf$$.dir
67056 +fi
67057 echo >conf$$.file
67058 if ln -s conf$$.file conf$$ 2>/dev/null; then
67059 - # We could just check for DJGPP; but this test a) works b) is more generic
67060 - # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
67061 - if test -f conf$$.exe; then
67062 - # Don't use ln at all; we don't have any links
67063 + as_ln_s='ln -s'
67064 + # ... but there are two gotchas:
67065 + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
67066 + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
67067 + # In both cases, we have to default to `cp -p'.
67068 + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
67069 as_ln_s='cp -p'
67070 - else
67071 - as_ln_s='ln -s'
67072 - fi
67073 elif ln conf$$.file conf$$ 2>/dev/null; then
67074 as_ln_s=ln
67075 else
67076 as_ln_s='cp -p'
67077 fi
67078 -rm -f conf$$ conf$$.exe conf$$.file
67079 +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
67080 +rmdir conf$$.dir 2>/dev/null
67081
67082 if mkdir -p . 2>/dev/null; then
67083 as_mkdir_p=:
67084 @@ -222,7 +518,28 @@
67085 as_mkdir_p=false
67086 fi
67087
67088 -as_executable_p="test -f"
67089 +if test -x / >/dev/null 2>&1; then
67090 + as_test_x='test -x'
67091 +else
67092 + if ls -dL / >/dev/null 2>&1; then
67093 + as_ls_L_option=L
67094 + else
67095 + as_ls_L_option=
67096 + fi
67097 + as_test_x='
67098 + eval sh -c '\''
67099 + if test -d "$1"; then
67100 + test -d "$1/.";
67101 + else
67102 + case $1 in
67103 + -*)set "./$1";;
67104 + esac;
67105 + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
67106 + ???[sx]*):;;*)false;;esac;fi
67107 + '\'' sh
67108 + '
67109 +fi
67110 +as_executable_p=$as_test_x
67111
67112 # Sed expression to map a string onto a valid CPP name.
67113 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
67114 @@ -231,39 +548,27 @@
67115 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
67116
67117
67118 -# IFS
67119 -# We need space, tab and new line, in precisely that order.
67120 -as_nl='
67121 -'
67122 -IFS=" $as_nl"
67123 -
67124 -# CDPATH.
67125 -$as_unset CDPATH
67126
67127 +exec 7<&0 </dev/null 6>&1
67128
67129 # Name of the host.
67130 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
67131 # so uname gets run too.
67132 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
67133
67134 -exec 6>&1
67135 -
67136 #
67137 # Initializations.
67138 #
67139 ac_default_prefix=/usr/local
67140 +ac_clean_files=
67141 ac_config_libobj_dir=.
67142 +LIBOBJS=
67143 cross_compiling=no
67144 subdirs=
67145 MFLAGS=
67146 MAKEFLAGS=
67147 SHELL=${CONFIG_SHELL-/bin/sh}
67148
67149 -# Maximum number of lines to put in a shell here document.
67150 -# This variable seems obsolete. It should probably be removed, and
67151 -# only ac_max_sed_lines should be used.
67152 -: ${ac_max_here_lines=38}
67153 -
67154 # Identity of this package.
67155 PACKAGE_NAME=
67156 PACKAGE_TARNAME=
67157 @@ -275,42 +580,191 @@
67158 # Factoring default headers for most tests.
67159 ac_includes_default="\
67160 #include <stdio.h>
67161 -#if HAVE_SYS_TYPES_H
67162 +#ifdef HAVE_SYS_TYPES_H
67163 # include <sys/types.h>
67164 #endif
67165 -#if HAVE_SYS_STAT_H
67166 +#ifdef HAVE_SYS_STAT_H
67167 # include <sys/stat.h>
67168 #endif
67169 -#if STDC_HEADERS
67170 +#ifdef STDC_HEADERS
67171 # include <stdlib.h>
67172 # include <stddef.h>
67173 #else
67174 -# if HAVE_STDLIB_H
67175 +# ifdef HAVE_STDLIB_H
67176 # include <stdlib.h>
67177 # endif
67178 #endif
67179 -#if HAVE_STRING_H
67180 -# if !STDC_HEADERS && HAVE_MEMORY_H
67181 +#ifdef HAVE_STRING_H
67182 +# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
67183 # include <memory.h>
67184 # endif
67185 # include <string.h>
67186 #endif
67187 -#if HAVE_STRINGS_H
67188 +#ifdef HAVE_STRINGS_H
67189 # include <strings.h>
67190 #endif
67191 -#if HAVE_INTTYPES_H
67192 +#ifdef HAVE_INTTYPES_H
67193 # include <inttypes.h>
67194 -#else
67195 -# if HAVE_STDINT_H
67196 -# include <stdint.h>
67197 -# endif
67198 #endif
67199 -#if HAVE_UNISTD_H
67200 +#ifdef HAVE_STDINT_H
67201 +# include <stdint.h>
67202 +#endif
67203 +#ifdef HAVE_UNISTD_H
67204 # include <unistd.h>
67205 #endif"
67206
67207 -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'
67208 +ac_subst_vars='SHELL
67209 +PATH_SEPARATOR
67210 +PACKAGE_NAME
67211 +PACKAGE_TARNAME
67212 +PACKAGE_VERSION
67213 +PACKAGE_STRING
67214 +PACKAGE_BUGREPORT
67215 +exec_prefix
67216 +prefix
67217 +program_transform_name
67218 +bindir
67219 +sbindir
67220 +libexecdir
67221 +datarootdir
67222 +datadir
67223 +sysconfdir
67224 +sharedstatedir
67225 +localstatedir
67226 +includedir
67227 +oldincludedir
67228 +docdir
67229 +infodir
67230 +htmldir
67231 +dvidir
67232 +pdfdir
67233 +psdir
67234 +libdir
67235 +localedir
67236 +mandir
67237 +DEFS
67238 +ECHO_C
67239 +ECHO_N
67240 +ECHO_T
67241 +LIBS
67242 +build_alias
67243 +host_alias
67244 +target_alias
67245 +build
67246 +build_cpu
67247 +build_vendor
67248 +build_os
67249 +host
67250 +host_cpu
67251 +host_vendor
67252 +host_os
67253 +target
67254 +target_cpu
67255 +target_vendor
67256 +target_os
67257 +CC
67258 +CFLAGS
67259 +LDFLAGS
67260 +CPPFLAGS
67261 +ac_ct_CC
67262 +EXEEXT
67263 +OBJEXT
67264 +INSTALL_PROGRAM
67265 +INSTALL_SCRIPT
67266 +INSTALL_DATA
67267 +CYGPATH_W
67268 +PACKAGE
67269 +VERSION
67270 +ACLOCAL
67271 +AUTOCONF
67272 +AUTOMAKE
67273 +AUTOHEADER
67274 +MAKEINFO
67275 +install_sh
67276 +STRIP
67277 +INSTALL_STRIP_PROGRAM
67278 +mkdir_p
67279 +AWK
67280 +SET_MAKE
67281 +am__leading_dot
67282 +AMTAR
67283 +am__tar
67284 +am__untar
67285 +DEPDIR
67286 +am__include
67287 +am__quote
67288 +AMDEP_TRUE
67289 +AMDEP_FALSE
67290 +AMDEPBACKSLASH
67291 +CCDEPMODE
67292 +am__fastdepCC_TRUE
67293 +am__fastdepCC_FALSE
67294 +LN_S
67295 +RANLIB
67296 +LIBTOOL
67297 +use_sysroot
67298 +TARGET_SYSTEM_ROOT
67299 +TARGET_SYSTEM_ROOT_DEFINE
67300 +WARN_CFLAGS
67301 +NO_WERROR
67302 +CPP
67303 +GREP
67304 +EGREP
67305 +ALLOCA
67306 +USE_NLS
67307 +MSGFMT
67308 +GMSGFMT
67309 +XGETTEXT
67310 +USE_INCLUDED_LIBINTL
67311 +CATALOGS
67312 +CATOBJEXT
67313 +DATADIRNAME
67314 +GMOFILES
67315 +INSTOBJEXT
67316 +INTLDEPS
67317 +INTLLIBS
67318 +INTLOBJS
67319 +POFILES
67320 +POSUB
67321 +INCLUDE_LOCALE_H
67322 +GT_NO
67323 +GT_YES
67324 +MKINSTALLDIRS
67325 +l
67326 +YACC
67327 +YFLAGS
67328 +LEX
67329 +LEX_OUTPUT_ROOT
67330 +LEXLIB
67331 +MAINTAINER_MODE_TRUE
67332 +MAINTAINER_MODE_FALSE
67333 +MAINT
67334 +HDEFINES
67335 +HOSTING_CRT0
67336 +HOSTING_LIBS
67337 +NATIVE_LIB_DIRS
67338 +STRINGIFY
67339 +EMUL
67340 +EMULATION_OFILES
67341 +EMUL_EXTRA_OFILES
67342 +LIB_PATH
67343 +EMULATION_LIBPATH
67344 +TESTBFDLIB
67345 +LIBOBJS
67346 +LTLIBOBJS'
67347 ac_subst_files='TDIRS'
67348 + ac_precious_vars='build_alias
67349 +host_alias
67350 +target_alias
67351 +CC
67352 +CFLAGS
67353 +LDFLAGS
67354 +LIBS
67355 +CPPFLAGS
67356 +CPP
67357 +YACC
67358 +YFLAGS'
67359 +
67360
67361 # Initialize some variables set by options.
67362 ac_init_help=
67363 @@ -337,34 +791,48 @@
67364 # and all the variables that are supposed to be based on exec_prefix
67365 # by default will actually change.
67366 # Use braces instead of parens because sh, perl, etc. also accept them.
67367 +# (The list follows the same order as the GNU Coding Standards.)
67368 bindir='${exec_prefix}/bin'
67369 sbindir='${exec_prefix}/sbin'
67370 libexecdir='${exec_prefix}/libexec'
67371 -datadir='${prefix}/share'
67372 +datarootdir='${prefix}/share'
67373 +datadir='${datarootdir}'
67374 sysconfdir='${prefix}/etc'
67375 sharedstatedir='${prefix}/com'
67376 localstatedir='${prefix}/var'
67377 -libdir='${exec_prefix}/lib'
67378 includedir='${prefix}/include'
67379 oldincludedir='/usr/include'
67380 -infodir='${prefix}/info'
67381 -mandir='${prefix}/man'
67382 +docdir='${datarootdir}/doc/${PACKAGE}'
67383 +infodir='${datarootdir}/info'
67384 +htmldir='${docdir}'
67385 +dvidir='${docdir}'
67386 +pdfdir='${docdir}'
67387 +psdir='${docdir}'
67388 +libdir='${exec_prefix}/lib'
67389 +localedir='${datarootdir}/locale'
67390 +mandir='${datarootdir}/man'
67391
67392 ac_prev=
67393 +ac_dashdash=
67394 for ac_option
67395 do
67396 # If the previous option needs an argument, assign it.
67397 if test -n "$ac_prev"; then
67398 - eval "$ac_prev=\$ac_option"
67399 + eval $ac_prev=\$ac_option
67400 ac_prev=
67401 continue
67402 fi
67403
67404 - ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
67405 + case $ac_option in
67406 + *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
67407 + *) ac_optarg=yes ;;
67408 + esac
67409
67410 # Accept the important Cygnus configure options, so we can diagnose typos.
67411
67412 - case $ac_option in
67413 + case $ac_dashdash$ac_option in
67414 + --)
67415 + ac_dashdash=yes ;;
67416
67417 -bindir | --bindir | --bindi | --bind | --bin | --bi)
67418 ac_prev=bindir ;;
67419 @@ -386,33 +854,45 @@
67420 --config-cache | -C)
67421 cache_file=config.cache ;;
67422
67423 - -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
67424 + -datadir | --datadir | --datadi | --datad)
67425 ac_prev=datadir ;;
67426 - -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
67427 - | --da=*)
67428 + -datadir=* | --datadir=* | --datadi=* | --datad=*)
67429 datadir=$ac_optarg ;;
67430
67431 + -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
67432 + | --dataroo | --dataro | --datar)
67433 + ac_prev=datarootdir ;;
67434 + -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
67435 + | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
67436 + datarootdir=$ac_optarg ;;
67437 +
67438 -disable-* | --disable-*)
67439 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
67440 # Reject names that are not valid shell variable names.
67441 - expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
67442 + expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
67443 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
67444 { (exit 1); exit 1; }; }
67445 - ac_feature=`echo $ac_feature | sed 's/-/_/g'`
67446 - eval "enable_$ac_feature=no" ;;
67447 + ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
67448 + eval enable_$ac_feature=no ;;
67449 +
67450 + -docdir | --docdir | --docdi | --doc | --do)
67451 + ac_prev=docdir ;;
67452 + -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
67453 + docdir=$ac_optarg ;;
67454 +
67455 + -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
67456 + ac_prev=dvidir ;;
67457 + -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
67458 + dvidir=$ac_optarg ;;
67459
67460 -enable-* | --enable-*)
67461 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
67462 # Reject names that are not valid shell variable names.
67463 - expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
67464 + expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
67465 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
67466 { (exit 1); exit 1; }; }
67467 - ac_feature=`echo $ac_feature | sed 's/-/_/g'`
67468 - case $ac_option in
67469 - *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
67470 - *) ac_optarg=yes ;;
67471 - esac
67472 - eval "enable_$ac_feature='$ac_optarg'" ;;
67473 + ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
67474 + eval enable_$ac_feature=\$ac_optarg ;;
67475
67476 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
67477 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
67478 @@ -439,6 +919,12 @@
67479 -host=* | --host=* | --hos=* | --ho=*)
67480 host_alias=$ac_optarg ;;
67481
67482 + -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
67483 + ac_prev=htmldir ;;
67484 + -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
67485 + | --ht=*)
67486 + htmldir=$ac_optarg ;;
67487 +
67488 -includedir | --includedir | --includedi | --included | --include \
67489 | --includ | --inclu | --incl | --inc)
67490 ac_prev=includedir ;;
67491 @@ -463,13 +949,16 @@
67492 | --libexe=* | --libex=* | --libe=*)
67493 libexecdir=$ac_optarg ;;
67494
67495 + -localedir | --localedir | --localedi | --localed | --locale)
67496 + ac_prev=localedir ;;
67497 + -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
67498 + localedir=$ac_optarg ;;
67499 +
67500 -localstatedir | --localstatedir | --localstatedi | --localstated \
67501 - | --localstate | --localstat | --localsta | --localst \
67502 - | --locals | --local | --loca | --loc | --lo)
67503 + | --localstate | --localstat | --localsta | --localst | --locals)
67504 ac_prev=localstatedir ;;
67505 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
67506 - | --localstate=* | --localstat=* | --localsta=* | --localst=* \
67507 - | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
67508 + | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
67509 localstatedir=$ac_optarg ;;
67510
67511 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
67512 @@ -534,6 +1023,16 @@
67513 | --progr-tra=* | --program-tr=* | --program-t=*)
67514 program_transform_name=$ac_optarg ;;
67515
67516 + -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
67517 + ac_prev=pdfdir ;;
67518 + -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
67519 + pdfdir=$ac_optarg ;;
67520 +
67521 + -psdir | --psdir | --psdi | --psd | --ps)
67522 + ac_prev=psdir ;;
67523 + -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
67524 + psdir=$ac_optarg ;;
67525 +
67526 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
67527 | -silent | --silent | --silen | --sile | --sil)
67528 silent=yes ;;
67529 @@ -586,24 +1085,20 @@
67530 -with-* | --with-*)
67531 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
67532 # Reject names that are not valid shell variable names.
67533 - expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
67534 + expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
67535 { echo "$as_me: error: invalid package name: $ac_package" >&2
67536 { (exit 1); exit 1; }; }
67537 - ac_package=`echo $ac_package| sed 's/-/_/g'`
67538 - case $ac_option in
67539 - *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
67540 - *) ac_optarg=yes ;;
67541 - esac
67542 - eval "with_$ac_package='$ac_optarg'" ;;
67543 + ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
67544 + eval with_$ac_package=\$ac_optarg ;;
67545
67546 -without-* | --without-*)
67547 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
67548 # Reject names that are not valid shell variable names.
67549 - expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
67550 + expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
67551 { echo "$as_me: error: invalid package name: $ac_package" >&2
67552 { (exit 1); exit 1; }; }
67553 - ac_package=`echo $ac_package | sed 's/-/_/g'`
67554 - eval "with_$ac_package=no" ;;
67555 + ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
67556 + eval with_$ac_package=no ;;
67557
67558 --x)
67559 # Obsolete; use --with-x.
67560 @@ -634,8 +1129,7 @@
67561 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
67562 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
67563 { (exit 1); exit 1; }; }
67564 - ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
67565 - eval "$ac_envvar='$ac_optarg'"
67566 + eval $ac_envvar=\$ac_optarg
67567 export $ac_envvar ;;
67568
67569 *)
67570 @@ -655,27 +1149,19 @@
67571 { (exit 1); exit 1; }; }
67572 fi
67573
67574 -# Be sure to have absolute paths.
67575 -for ac_var in exec_prefix prefix
67576 +# Be sure to have absolute directory names.
67577 +for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
67578 + datadir sysconfdir sharedstatedir localstatedir includedir \
67579 + oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
67580 + libdir localedir mandir
67581 do
67582 - eval ac_val=$`echo $ac_var`
67583 + eval ac_val=\$$ac_var
67584 case $ac_val in
67585 - [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
67586 - *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
67587 - { (exit 1); exit 1; }; };;
67588 - esac
67589 -done
67590 -
67591 -# Be sure to have absolute paths.
67592 -for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
67593 - localstatedir libdir includedir oldincludedir infodir mandir
67594 -do
67595 - eval ac_val=$`echo $ac_var`
67596 - case $ac_val in
67597 - [\\/$]* | ?:[\\/]* ) ;;
67598 - *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
67599 - { (exit 1); exit 1; }; };;
67600 + [\\/$]* | ?:[\\/]* ) continue;;
67601 + NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
67602 esac
67603 + { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
67604 + { (exit 1); exit 1; }; }
67605 done
67606
67607 # There might be people who depend on the old broken behavior: `$host'
67608 @@ -702,74 +1188,76 @@
67609 test "$silent" = yes && exec 6>/dev/null
67610
67611
67612 +ac_pwd=`pwd` && test -n "$ac_pwd" &&
67613 +ac_ls_di=`ls -di .` &&
67614 +ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
67615 + { echo "$as_me: error: Working directory cannot be determined" >&2
67616 + { (exit 1); exit 1; }; }
67617 +test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
67618 + { echo "$as_me: error: pwd does not report name of working directory" >&2
67619 + { (exit 1); exit 1; }; }
67620 +
67621 +
67622 # Find the source files, if location was not specified.
67623 if test -z "$srcdir"; then
67624 ac_srcdir_defaulted=yes
67625 - # Try the directory containing this script, then its parent.
67626 - ac_confdir=`(dirname "$0") 2>/dev/null ||
67627 + # Try the directory containing this script, then the parent directory.
67628 + ac_confdir=`$as_dirname -- "$0" ||
67629 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
67630 X"$0" : 'X\(//\)[^/]' \| \
67631 X"$0" : 'X\(//\)$' \| \
67632 - X"$0" : 'X\(/\)' \| \
67633 - . : '\(.\)' 2>/dev/null ||
67634 + X"$0" : 'X\(/\)' \| . 2>/dev/null ||
67635 echo X"$0" |
67636 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
67637 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
67638 - /^X\(\/\/\)$/{ s//\1/; q; }
67639 - /^X\(\/\).*/{ s//\1/; q; }
67640 - s/.*/./; q'`
67641 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
67642 + s//\1/
67643 + q
67644 + }
67645 + /^X\(\/\/\)[^/].*/{
67646 + s//\1/
67647 + q
67648 + }
67649 + /^X\(\/\/\)$/{
67650 + s//\1/
67651 + q
67652 + }
67653 + /^X\(\/\).*/{
67654 + s//\1/
67655 + q
67656 + }
67657 + s/.*/./; q'`
67658 srcdir=$ac_confdir
67659 - if test ! -r $srcdir/$ac_unique_file; then
67660 + if test ! -r "$srcdir/$ac_unique_file"; then
67661 srcdir=..
67662 fi
67663 else
67664 ac_srcdir_defaulted=no
67665 fi
67666 -if test ! -r $srcdir/$ac_unique_file; then
67667 - if test "$ac_srcdir_defaulted" = yes; then
67668 - { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
67669 - { (exit 1); exit 1; }; }
67670 - else
67671 - { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
67672 - { (exit 1); exit 1; }; }
67673 - fi
67674 -fi
67675 -(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
67676 - { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
67677 - { (exit 1); exit 1; }; }
67678 -srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
67679 -ac_env_build_alias_set=${build_alias+set}
67680 -ac_env_build_alias_value=$build_alias
67681 -ac_cv_env_build_alias_set=${build_alias+set}
67682 -ac_cv_env_build_alias_value=$build_alias
67683 -ac_env_host_alias_set=${host_alias+set}
67684 -ac_env_host_alias_value=$host_alias
67685 -ac_cv_env_host_alias_set=${host_alias+set}
67686 -ac_cv_env_host_alias_value=$host_alias
67687 -ac_env_target_alias_set=${target_alias+set}
67688 -ac_env_target_alias_value=$target_alias
67689 -ac_cv_env_target_alias_set=${target_alias+set}
67690 -ac_cv_env_target_alias_value=$target_alias
67691 -ac_env_CC_set=${CC+set}
67692 -ac_env_CC_value=$CC
67693 -ac_cv_env_CC_set=${CC+set}
67694 -ac_cv_env_CC_value=$CC
67695 -ac_env_CFLAGS_set=${CFLAGS+set}
67696 -ac_env_CFLAGS_value=$CFLAGS
67697 -ac_cv_env_CFLAGS_set=${CFLAGS+set}
67698 -ac_cv_env_CFLAGS_value=$CFLAGS
67699 -ac_env_LDFLAGS_set=${LDFLAGS+set}
67700 -ac_env_LDFLAGS_value=$LDFLAGS
67701 -ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
67702 -ac_cv_env_LDFLAGS_value=$LDFLAGS
67703 -ac_env_CPPFLAGS_set=${CPPFLAGS+set}
67704 -ac_env_CPPFLAGS_value=$CPPFLAGS
67705 -ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
67706 -ac_cv_env_CPPFLAGS_value=$CPPFLAGS
67707 -ac_env_CPP_set=${CPP+set}
67708 -ac_env_CPP_value=$CPP
67709 -ac_cv_env_CPP_set=${CPP+set}
67710 -ac_cv_env_CPP_value=$CPP
67711 +if test ! -r "$srcdir/$ac_unique_file"; then
67712 + test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
67713 + { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
67714 + { (exit 1); exit 1; }; }
67715 +fi
67716 +ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
67717 +ac_abs_confdir=`(
67718 + cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
67719 + { (exit 1); exit 1; }; }
67720 + pwd)`
67721 +# When building in place, set srcdir=.
67722 +if test "$ac_abs_confdir" = "$ac_pwd"; then
67723 + srcdir=.
67724 +fi
67725 +# Remove unnecessary trailing slashes from srcdir.
67726 +# Double slashes in file names in object file debugging info
67727 +# mess up M-x gdb in Emacs.
67728 +case $srcdir in
67729 +*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
67730 +esac
67731 +for ac_var in $ac_precious_vars; do
67732 + eval ac_env_${ac_var}_set=\${${ac_var}+set}
67733 + eval ac_env_${ac_var}_value=\$${ac_var}
67734 + eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
67735 + eval ac_cv_env_${ac_var}_value=\$${ac_var}
67736 +done
67737
67738 #
67739 # Report the --help message.
67740 @@ -798,9 +1286,6 @@
67741 -n, --no-create do not create output files
67742 --srcdir=DIR find the sources in DIR [configure dir or \`..']
67743
67744 -_ACEOF
67745 -
67746 - cat <<_ACEOF
67747 Installation directories:
67748 --prefix=PREFIX install architecture-independent files in PREFIX
67749 [$ac_default_prefix]
67750 @@ -818,15 +1303,22 @@
67751 --bindir=DIR user executables [EPREFIX/bin]
67752 --sbindir=DIR system admin executables [EPREFIX/sbin]
67753 --libexecdir=DIR program executables [EPREFIX/libexec]
67754 - --datadir=DIR read-only architecture-independent data [PREFIX/share]
67755 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
67756 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
67757 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
67758 --libdir=DIR object code libraries [EPREFIX/lib]
67759 --includedir=DIR C header files [PREFIX/include]
67760 --oldincludedir=DIR C header files for non-gcc [/usr/include]
67761 - --infodir=DIR info documentation [PREFIX/info]
67762 - --mandir=DIR man documentation [PREFIX/man]
67763 + --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
67764 + --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
67765 + --infodir=DIR info documentation [DATAROOTDIR/info]
67766 + --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
67767 + --mandir=DIR man documentation [DATAROOTDIR/man]
67768 + --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
67769 + --htmldir=DIR html documentation [DOCDIR]
67770 + --dvidir=DIR dvi documentation [DOCDIR]
67771 + --pdfdir=DIR pdf documentation [DOCDIR]
67772 + --psdir=DIR ps documentation [DOCDIR]
67773 _ACEOF
67774
67775 cat <<\_ACEOF
67776 @@ -878,126 +1370,100 @@
67777 CFLAGS C compiler flags
67778 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
67779 nonstandard directory <lib dir>
67780 - CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
67781 - headers in a nonstandard directory <include dir>
67782 + LIBS libraries to pass to the linker, e.g. -l<library>
67783 + CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
67784 + you have headers in a nonstandard directory <include dir>
67785 CPP C preprocessor
67786 + YACC The `Yet Another C Compiler' implementation to use. Defaults to
67787 + the first program found out of: `bison -y', `byacc', `yacc'.
67788 + YFLAGS The list of arguments that will be passed by default to $YACC.
67789 + This script will default YFLAGS to the empty string to avoid a
67790 + default value of `-d' given by some make applications.
67791
67792 Use these variables to override the choices made by `configure' or to help
67793 it to find libraries and programs with nonstandard names/locations.
67794
67795 _ACEOF
67796 +ac_status=$?
67797 fi
67798
67799 if test "$ac_init_help" = "recursive"; then
67800 # If there are subdirs, report their specific --help.
67801 - ac_popdir=`pwd`
67802 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
67803 - test -d $ac_dir || continue
67804 + test -d "$ac_dir" || continue
67805 ac_builddir=.
67806
67807 -if test "$ac_dir" != .; then
67808 +case "$ac_dir" in
67809 +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
67810 +*)
67811 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
67812 - # A "../" for each directory in $ac_dir_suffix.
67813 - ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
67814 -else
67815 - ac_dir_suffix= ac_top_builddir=
67816 -fi
67817 + # A ".." for each directory in $ac_dir_suffix.
67818 + ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
67819 + case $ac_top_builddir_sub in
67820 + "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
67821 + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
67822 + esac ;;
67823 +esac
67824 +ac_abs_top_builddir=$ac_pwd
67825 +ac_abs_builddir=$ac_pwd$ac_dir_suffix
67826 +# for backward compatibility:
67827 +ac_top_builddir=$ac_top_build_prefix
67828
67829 case $srcdir in
67830 - .) # No --srcdir option. We are building in place.
67831 + .) # We are building in place.
67832 ac_srcdir=.
67833 - if test -z "$ac_top_builddir"; then
67834 - ac_top_srcdir=.
67835 - else
67836 - ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
67837 - fi ;;
67838 - [\\/]* | ?:[\\/]* ) # Absolute path.
67839 + ac_top_srcdir=$ac_top_builddir_sub
67840 + ac_abs_top_srcdir=$ac_pwd ;;
67841 + [\\/]* | ?:[\\/]* ) # Absolute name.
67842 ac_srcdir=$srcdir$ac_dir_suffix;
67843 - ac_top_srcdir=$srcdir ;;
67844 - *) # Relative path.
67845 - ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
67846 - ac_top_srcdir=$ac_top_builddir$srcdir ;;
67847 -esac
67848 -
67849 -# Do not use `cd foo && pwd` to compute absolute paths, because
67850 -# the directories may not exist.
67851 -case `pwd` in
67852 -.) ac_abs_builddir="$ac_dir";;
67853 -*)
67854 - case "$ac_dir" in
67855 - .) ac_abs_builddir=`pwd`;;
67856 - [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
67857 - *) ac_abs_builddir=`pwd`/"$ac_dir";;
67858 - esac;;
67859 -esac
67860 -case $ac_abs_builddir in
67861 -.) ac_abs_top_builddir=${ac_top_builddir}.;;
67862 -*)
67863 - case ${ac_top_builddir}. in
67864 - .) ac_abs_top_builddir=$ac_abs_builddir;;
67865 - [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
67866 - *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
67867 - esac;;
67868 -esac
67869 -case $ac_abs_builddir in
67870 -.) ac_abs_srcdir=$ac_srcdir;;
67871 -*)
67872 - case $ac_srcdir in
67873 - .) ac_abs_srcdir=$ac_abs_builddir;;
67874 - [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
67875 - *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
67876 - esac;;
67877 -esac
67878 -case $ac_abs_builddir in
67879 -.) ac_abs_top_srcdir=$ac_top_srcdir;;
67880 -*)
67881 - case $ac_top_srcdir in
67882 - .) ac_abs_top_srcdir=$ac_abs_builddir;;
67883 - [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
67884 - *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
67885 - esac;;
67886 -esac
67887 -
67888 - cd $ac_dir
67889 - # Check for guested configure; otherwise get Cygnus style configure.
67890 - if test -f $ac_srcdir/configure.gnu; then
67891 - echo
67892 - $SHELL $ac_srcdir/configure.gnu --help=recursive
67893 - elif test -f $ac_srcdir/configure; then
67894 - echo
67895 - $SHELL $ac_srcdir/configure --help=recursive
67896 - elif test -f $ac_srcdir/configure.ac ||
67897 - test -f $ac_srcdir/configure.in; then
67898 - echo
67899 - $ac_configure --help
67900 + ac_top_srcdir=$srcdir
67901 + ac_abs_top_srcdir=$srcdir ;;
67902 + *) # Relative name.
67903 + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
67904 + ac_top_srcdir=$ac_top_build_prefix$srcdir
67905 + ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
67906 +esac
67907 +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
67908 +
67909 + cd "$ac_dir" || { ac_status=$?; continue; }
67910 + # Check for guested configure.
67911 + if test -f "$ac_srcdir/configure.gnu"; then
67912 + echo &&
67913 + $SHELL "$ac_srcdir/configure.gnu" --help=recursive
67914 + elif test -f "$ac_srcdir/configure"; then
67915 + echo &&
67916 + $SHELL "$ac_srcdir/configure" --help=recursive
67917 else
67918 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
67919 - fi
67920 - cd $ac_popdir
67921 + fi || ac_status=$?
67922 + cd "$ac_pwd" || { ac_status=$?; break; }
67923 done
67924 fi
67925
67926 -test -n "$ac_init_help" && exit 0
67927 +test -n "$ac_init_help" && exit $ac_status
67928 if $ac_init_version; then
67929 cat <<\_ACEOF
67930 +configure
67931 +generated by GNU Autoconf 2.61
67932
67933 -Copyright (C) 2003 Free Software Foundation, Inc.
67934 +Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
67935 +2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
67936 This configure script is free software; the Free Software Foundation
67937 gives unlimited permission to copy, distribute and modify it.
67938 _ACEOF
67939 - exit 0
67940 + exit
67941 fi
67942 -exec 5>config.log
67943 -cat >&5 <<_ACEOF
67944 +cat >config.log <<_ACEOF
67945 This file contains any messages produced by compilers while
67946 running configure, to aid debugging if configure makes a mistake.
67947
67948 It was created by $as_me, which was
67949 -generated by GNU Autoconf 2.59. Invocation command line was
67950 +generated by GNU Autoconf 2.61. Invocation command line was
67951
67952 $ $0 $@
67953
67954 _ACEOF
67955 +exec 5>>config.log
67956 {
67957 cat <<_ASUNAME
67958 ## --------- ##
67959 @@ -1016,7 +1482,7 @@
67960 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
67961 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
67962 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
67963 -hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
67964 +/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
67965 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
67966 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
67967 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
67968 @@ -1030,6 +1496,7 @@
67969 test -z "$as_dir" && as_dir=.
67970 echo "PATH: $as_dir"
67971 done
67972 +IFS=$as_save_IFS
67973
67974 } >&5
67975
67976 @@ -1051,7 +1518,6 @@
67977 ac_configure_args=
67978 ac_configure_args0=
67979 ac_configure_args1=
67980 -ac_sep=
67981 ac_must_keep_next=false
67982 for ac_pass in 1 2
67983 do
67984 @@ -1062,7 +1528,7 @@
67985 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
67986 | -silent | --silent | --silen | --sile | --sil)
67987 continue ;;
67988 - *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
67989 + *\'*)
67990 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
67991 esac
67992 case $ac_pass in
67993 @@ -1084,9 +1550,7 @@
67994 -* ) ac_must_keep_next=true ;;
67995 esac
67996 fi
67997 - ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
67998 - # Get rid of the leading space.
67999 - ac_sep=" "
68000 + ac_configure_args="$ac_configure_args '$ac_arg'"
68001 ;;
68002 esac
68003 done
68004 @@ -1097,8 +1561,8 @@
68005 # When interrupted or exit'd, cleanup temporary files, and complete
68006 # config.log. We remove comments because anyway the quotes in there
68007 # would cause problems or look ugly.
68008 -# WARNING: Be sure not to use single quotes in there, as some shells,
68009 -# such as our DU 5.0 friend, will then `close' the trap.
68010 +# WARNING: Use '\'' to represent an apostrophe within the trap.
68011 +# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
68012 trap 'exit_status=$?
68013 # Save into config.log some information that might help in debugging.
68014 {
68015 @@ -1111,20 +1575,34 @@
68016 _ASBOX
68017 echo
68018 # The following way of writing the cache mishandles newlines in values,
68019 -{
68020 +(
68021 + for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
68022 + eval ac_val=\$$ac_var
68023 + case $ac_val in #(
68024 + *${as_nl}*)
68025 + case $ac_var in #(
68026 + *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
68027 +echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
68028 + esac
68029 + case $ac_var in #(
68030 + _ | IFS | as_nl) ;; #(
68031 + *) $as_unset $ac_var ;;
68032 + esac ;;
68033 + esac
68034 + done
68035 (set) 2>&1 |
68036 - case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
68037 - *ac_space=\ *)
68038 + case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
68039 + *${as_nl}ac_space=\ *)
68040 sed -n \
68041 - "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
68042 - s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
68043 - ;;
68044 + "s/'\''/'\''\\\\'\'''\''/g;
68045 + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
68046 + ;; #(
68047 *)
68048 - sed -n \
68049 - "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
68050 + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
68051 ;;
68052 - esac;
68053 -}
68054 + esac |
68055 + sort
68056 +)
68057 echo
68058
68059 cat <<\_ASBOX
68060 @@ -1135,22 +1613,28 @@
68061 echo
68062 for ac_var in $ac_subst_vars
68063 do
68064 - eval ac_val=$`echo $ac_var`
68065 - echo "$ac_var='"'"'$ac_val'"'"'"
68066 + eval ac_val=\$$ac_var
68067 + case $ac_val in
68068 + *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
68069 + esac
68070 + echo "$ac_var='\''$ac_val'\''"
68071 done | sort
68072 echo
68073
68074 if test -n "$ac_subst_files"; then
68075 cat <<\_ASBOX
68076 -## ------------- ##
68077 -## Output files. ##
68078 -## ------------- ##
68079 +## ------------------- ##
68080 +## File substitutions. ##
68081 +## ------------------- ##
68082 _ASBOX
68083 echo
68084 for ac_var in $ac_subst_files
68085 do
68086 - eval ac_val=$`echo $ac_var`
68087 - echo "$ac_var='"'"'$ac_val'"'"'"
68088 + eval ac_val=\$$ac_var
68089 + case $ac_val in
68090 + *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
68091 + esac
68092 + echo "$ac_var='\''$ac_val'\''"
68093 done | sort
68094 echo
68095 fi
68096 @@ -1162,26 +1646,24 @@
68097 ## ----------- ##
68098 _ASBOX
68099 echo
68100 - sed "/^$/d" confdefs.h | sort
68101 + cat confdefs.h
68102 echo
68103 fi
68104 test "$ac_signal" != 0 &&
68105 echo "$as_me: caught signal $ac_signal"
68106 echo "$as_me: exit $exit_status"
68107 } >&5
68108 - rm -f core *.core &&
68109 - rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
68110 + rm -f core *.core core.conftest.* &&
68111 + rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
68112 exit $exit_status
68113 - ' 0
68114 +' 0
68115 for ac_signal in 1 2 13 15; do
68116 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
68117 done
68118 ac_signal=0
68119
68120 # confdefs.h avoids OS command line length limits that DEFS can exceed.
68121 -rm -rf conftest* confdefs.h
68122 -# AIX cpp loses on an empty file, so make sure it contains at least a newline.
68123 -echo >confdefs.h
68124 +rm -f -r conftest* confdefs.h
68125
68126 # Predefined preprocessor variables.
68127
68128 @@ -1212,14 +1694,17 @@
68129
68130 # Let the site file select an alternate cache file if it wants to.
68131 # Prefer explicitly selected file to automatically selected ones.
68132 -if test -z "$CONFIG_SITE"; then
68133 - if test "x$prefix" != xNONE; then
68134 - CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
68135 - else
68136 - CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
68137 - fi
68138 +if test -n "$CONFIG_SITE"; then
68139 + set x "$CONFIG_SITE"
68140 +elif test "x$prefix" != xNONE; then
68141 + set x "$prefix/share/config.site" "$prefix/etc/config.site"
68142 +else
68143 + set x "$ac_default_prefix/share/config.site" \
68144 + "$ac_default_prefix/etc/config.site"
68145 fi
68146 -for ac_site_file in $CONFIG_SITE; do
68147 +shift
68148 +for ac_site_file
68149 +do
68150 if test -r "$ac_site_file"; then
68151 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
68152 echo "$as_me: loading site script $ac_site_file" >&6;}
68153 @@ -1235,8 +1720,8 @@
68154 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
68155 echo "$as_me: loading cache $cache_file" >&6;}
68156 case $cache_file in
68157 - [\\/]* | ?:[\\/]* ) . $cache_file;;
68158 - *) . ./$cache_file;;
68159 + [\\/]* | ?:[\\/]* ) . "$cache_file";;
68160 + *) . "./$cache_file";;
68161 esac
68162 fi
68163 else
68164 @@ -1248,12 +1733,11 @@
68165 # Check that the precious variables saved in the cache have kept the same
68166 # value.
68167 ac_cache_corrupted=false
68168 -for ac_var in `(set) 2>&1 |
68169 - sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
68170 +for ac_var in $ac_precious_vars; do
68171 eval ac_old_set=\$ac_cv_env_${ac_var}_set
68172 eval ac_new_set=\$ac_env_${ac_var}_set
68173 - eval ac_old_val="\$ac_cv_env_${ac_var}_value"
68174 - eval ac_new_val="\$ac_env_${ac_var}_value"
68175 + eval ac_old_val=\$ac_cv_env_${ac_var}_value
68176 + eval ac_new_val=\$ac_env_${ac_var}_value
68177 case $ac_old_set,$ac_new_set in
68178 set,)
68179 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
68180 @@ -1278,8 +1762,7 @@
68181 # Pass precious variables to config.status.
68182 if test "$ac_new_set" = set; then
68183 case $ac_new_val in
68184 - *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
68185 - ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
68186 + *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
68187 *) ac_arg=$ac_var=$ac_new_val ;;
68188 esac
68189 case " $ac_configure_args " in
68190 @@ -1296,12 +1779,6 @@
68191 { (exit 1); exit 1; }; }
68192 fi
68193
68194 -ac_ext=c
68195 -ac_cpp='$CPP $CPPFLAGS'
68196 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68197 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68198 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
68199 -
68200
68201
68202
68203 @@ -1318,108 +1795,163 @@
68204
68205
68206
68207 +ac_ext=c
68208 +ac_cpp='$CPP $CPPFLAGS'
68209 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68210 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68211 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
68212
68213
68214
68215 ac_aux_dir=
68216 -for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
68217 - if test -f $ac_dir/install-sh; then
68218 +for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
68219 + if test -f "$ac_dir/install-sh"; then
68220 ac_aux_dir=$ac_dir
68221 ac_install_sh="$ac_aux_dir/install-sh -c"
68222 break
68223 - elif test -f $ac_dir/install.sh; then
68224 + elif test -f "$ac_dir/install.sh"; then
68225 ac_aux_dir=$ac_dir
68226 ac_install_sh="$ac_aux_dir/install.sh -c"
68227 break
68228 - elif test -f $ac_dir/shtool; then
68229 + elif test -f "$ac_dir/shtool"; then
68230 ac_aux_dir=$ac_dir
68231 ac_install_sh="$ac_aux_dir/shtool install -c"
68232 break
68233 fi
68234 done
68235 if test -z "$ac_aux_dir"; then
68236 - { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
68237 -echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
68238 + { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
68239 +echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
68240 { (exit 1); exit 1; }; }
68241 fi
68242 -ac_config_guess="$SHELL $ac_aux_dir/config.guess"
68243 -ac_config_sub="$SHELL $ac_aux_dir/config.sub"
68244 -ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
68245 +
68246 +# These three variables are undocumented and unsupported,
68247 +# and are intended to be withdrawn in a future Autoconf release.
68248 +# They can cause serious problems if a builder's source tree is in a directory
68249 +# whose full name contains unusual characters.
68250 +ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
68251 +ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
68252 +ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
68253 +
68254
68255 # Make sure we can run config.sub.
68256 -$ac_config_sub sun4 >/dev/null 2>&1 ||
68257 - { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
68258 -echo "$as_me: error: cannot run $ac_config_sub" >&2;}
68259 +$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
68260 + { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
68261 +echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
68262 { (exit 1); exit 1; }; }
68263
68264 -echo "$as_me:$LINENO: checking build system type" >&5
68265 -echo $ECHO_N "checking build system type... $ECHO_C" >&6
68266 +{ echo "$as_me:$LINENO: checking build system type" >&5
68267 +echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
68268 if test "${ac_cv_build+set}" = set; then
68269 echo $ECHO_N "(cached) $ECHO_C" >&6
68270 else
68271 - ac_cv_build_alias=$build_alias
68272 -test -z "$ac_cv_build_alias" &&
68273 - ac_cv_build_alias=`$ac_config_guess`
68274 -test -z "$ac_cv_build_alias" &&
68275 + ac_build_alias=$build_alias
68276 +test "x$ac_build_alias" = x &&
68277 + ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
68278 +test "x$ac_build_alias" = x &&
68279 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
68280 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
68281 { (exit 1); exit 1; }; }
68282 -ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
68283 - { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
68284 -echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
68285 +ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
68286 + { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
68287 +echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
68288 { (exit 1); exit 1; }; }
68289
68290 fi
68291 -echo "$as_me:$LINENO: result: $ac_cv_build" >&5
68292 -echo "${ECHO_T}$ac_cv_build" >&6
68293 +{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
68294 +echo "${ECHO_T}$ac_cv_build" >&6; }
68295 +case $ac_cv_build in
68296 +*-*-*) ;;
68297 +*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
68298 +echo "$as_me: error: invalid value of canonical build" >&2;}
68299 + { (exit 1); exit 1; }; };;
68300 +esac
68301 build=$ac_cv_build
68302 -build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
68303 -build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
68304 -build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
68305 +ac_save_IFS=$IFS; IFS='-'
68306 +set x $ac_cv_build
68307 +shift
68308 +build_cpu=$1
68309 +build_vendor=$2
68310 +shift; shift
68311 +# Remember, the first character of IFS is used to create $*,
68312 +# except with old shells:
68313 +build_os=$*
68314 +IFS=$ac_save_IFS
68315 +case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
68316
68317
68318 -echo "$as_me:$LINENO: checking host system type" >&5
68319 -echo $ECHO_N "checking host system type... $ECHO_C" >&6
68320 +{ echo "$as_me:$LINENO: checking host system type" >&5
68321 +echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
68322 if test "${ac_cv_host+set}" = set; then
68323 echo $ECHO_N "(cached) $ECHO_C" >&6
68324 else
68325 - ac_cv_host_alias=$host_alias
68326 -test -z "$ac_cv_host_alias" &&
68327 - ac_cv_host_alias=$ac_cv_build_alias
68328 -ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
68329 - { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
68330 -echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
68331 + if test "x$host_alias" = x; then
68332 + ac_cv_host=$ac_cv_build
68333 +else
68334 + ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
68335 + { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
68336 +echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
68337 { (exit 1); exit 1; }; }
68338 +fi
68339
68340 fi
68341 -echo "$as_me:$LINENO: result: $ac_cv_host" >&5
68342 -echo "${ECHO_T}$ac_cv_host" >&6
68343 +{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
68344 +echo "${ECHO_T}$ac_cv_host" >&6; }
68345 +case $ac_cv_host in
68346 +*-*-*) ;;
68347 +*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
68348 +echo "$as_me: error: invalid value of canonical host" >&2;}
68349 + { (exit 1); exit 1; }; };;
68350 +esac
68351 host=$ac_cv_host
68352 -host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
68353 -host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
68354 -host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
68355 +ac_save_IFS=$IFS; IFS='-'
68356 +set x $ac_cv_host
68357 +shift
68358 +host_cpu=$1
68359 +host_vendor=$2
68360 +shift; shift
68361 +# Remember, the first character of IFS is used to create $*,
68362 +# except with old shells:
68363 +host_os=$*
68364 +IFS=$ac_save_IFS
68365 +case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
68366
68367
68368 -echo "$as_me:$LINENO: checking target system type" >&5
68369 -echo $ECHO_N "checking target system type... $ECHO_C" >&6
68370 +{ echo "$as_me:$LINENO: checking target system type" >&5
68371 +echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
68372 if test "${ac_cv_target+set}" = set; then
68373 echo $ECHO_N "(cached) $ECHO_C" >&6
68374 else
68375 - ac_cv_target_alias=$target_alias
68376 -test "x$ac_cv_target_alias" = "x" &&
68377 - ac_cv_target_alias=$ac_cv_host_alias
68378 -ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
68379 - { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
68380 -echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
68381 + if test "x$target_alias" = x; then
68382 + ac_cv_target=$ac_cv_host
68383 +else
68384 + ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
68385 + { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
68386 +echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
68387 { (exit 1); exit 1; }; }
68388 +fi
68389
68390 fi
68391 -echo "$as_me:$LINENO: result: $ac_cv_target" >&5
68392 -echo "${ECHO_T}$ac_cv_target" >&6
68393 +{ echo "$as_me:$LINENO: result: $ac_cv_target" >&5
68394 +echo "${ECHO_T}$ac_cv_target" >&6; }
68395 +case $ac_cv_target in
68396 +*-*-*) ;;
68397 +*) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
68398 +echo "$as_me: error: invalid value of canonical target" >&2;}
68399 + { (exit 1); exit 1; }; };;
68400 +esac
68401 target=$ac_cv_target
68402 -target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
68403 -target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
68404 -target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
68405 +ac_save_IFS=$IFS; IFS='-'
68406 +set x $ac_cv_target
68407 +shift
68408 +target_cpu=$1
68409 +target_vendor=$2
68410 +shift; shift
68411 +# Remember, the first character of IFS is used to create $*,
68412 +# except with old shells:
68413 +target_os=$*
68414 +IFS=$ac_save_IFS
68415 +case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
68416
68417
68418 # The aliases save the names the user supplied, while $host etc.
68419 @@ -1436,8 +1968,8 @@
68420 if test -n "$ac_tool_prefix"; then
68421 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
68422 set dummy ${ac_tool_prefix}gcc; ac_word=$2
68423 -echo "$as_me:$LINENO: checking for $ac_word" >&5
68424 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
68425 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
68426 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
68427 if test "${ac_cv_prog_CC+set}" = set; then
68428 echo $ECHO_N "(cached) $ECHO_C" >&6
68429 else
68430 @@ -1450,32 +1982,34 @@
68431 IFS=$as_save_IFS
68432 test -z "$as_dir" && as_dir=.
68433 for ac_exec_ext in '' $ac_executable_extensions; do
68434 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
68435 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
68436 ac_cv_prog_CC="${ac_tool_prefix}gcc"
68437 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
68438 break 2
68439 fi
68440 done
68441 done
68442 +IFS=$as_save_IFS
68443
68444 fi
68445 fi
68446 CC=$ac_cv_prog_CC
68447 if test -n "$CC"; then
68448 - echo "$as_me:$LINENO: result: $CC" >&5
68449 -echo "${ECHO_T}$CC" >&6
68450 + { echo "$as_me:$LINENO: result: $CC" >&5
68451 +echo "${ECHO_T}$CC" >&6; }
68452 else
68453 - echo "$as_me:$LINENO: result: no" >&5
68454 -echo "${ECHO_T}no" >&6
68455 + { echo "$as_me:$LINENO: result: no" >&5
68456 +echo "${ECHO_T}no" >&6; }
68457 fi
68458
68459 +
68460 fi
68461 if test -z "$ac_cv_prog_CC"; then
68462 ac_ct_CC=$CC
68463 # Extract the first word of "gcc", so it can be a program name with args.
68464 set dummy gcc; ac_word=$2
68465 -echo "$as_me:$LINENO: checking for $ac_word" >&5
68466 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
68467 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
68468 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
68469 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
68470 echo $ECHO_N "(cached) $ECHO_C" >&6
68471 else
68472 @@ -1488,36 +2022,51 @@
68473 IFS=$as_save_IFS
68474 test -z "$as_dir" && as_dir=.
68475 for ac_exec_ext in '' $ac_executable_extensions; do
68476 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
68477 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
68478 ac_cv_prog_ac_ct_CC="gcc"
68479 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
68480 break 2
68481 fi
68482 done
68483 done
68484 +IFS=$as_save_IFS
68485
68486 fi
68487 fi
68488 ac_ct_CC=$ac_cv_prog_ac_ct_CC
68489 if test -n "$ac_ct_CC"; then
68490 - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
68491 -echo "${ECHO_T}$ac_ct_CC" >&6
68492 + { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
68493 +echo "${ECHO_T}$ac_ct_CC" >&6; }
68494 else
68495 - echo "$as_me:$LINENO: result: no" >&5
68496 -echo "${ECHO_T}no" >&6
68497 + { echo "$as_me:$LINENO: result: no" >&5
68498 +echo "${ECHO_T}no" >&6; }
68499 fi
68500
68501 - CC=$ac_ct_CC
68502 + if test "x$ac_ct_CC" = x; then
68503 + CC=""
68504 + else
68505 + case $cross_compiling:$ac_tool_warned in
68506 +yes:)
68507 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
68508 +whose name does not start with the host triplet. If you think this
68509 +configuration is useful to you, please write to autoconf@gnu.org." >&5
68510 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
68511 +whose name does not start with the host triplet. If you think this
68512 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
68513 +ac_tool_warned=yes ;;
68514 +esac
68515 + CC=$ac_ct_CC
68516 + fi
68517 else
68518 CC="$ac_cv_prog_CC"
68519 fi
68520
68521 if test -z "$CC"; then
68522 - if test -n "$ac_tool_prefix"; then
68523 - # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
68524 + if test -n "$ac_tool_prefix"; then
68525 + # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
68526 set dummy ${ac_tool_prefix}cc; ac_word=$2
68527 -echo "$as_me:$LINENO: checking for $ac_word" >&5
68528 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
68529 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
68530 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
68531 if test "${ac_cv_prog_CC+set}" = set; then
68532 echo $ECHO_N "(cached) $ECHO_C" >&6
68533 else
68534 @@ -1530,74 +2079,34 @@
68535 IFS=$as_save_IFS
68536 test -z "$as_dir" && as_dir=.
68537 for ac_exec_ext in '' $ac_executable_extensions; do
68538 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
68539 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
68540 ac_cv_prog_CC="${ac_tool_prefix}cc"
68541 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
68542 break 2
68543 fi
68544 done
68545 done
68546 +IFS=$as_save_IFS
68547
68548 fi
68549 fi
68550 CC=$ac_cv_prog_CC
68551 if test -n "$CC"; then
68552 - echo "$as_me:$LINENO: result: $CC" >&5
68553 -echo "${ECHO_T}$CC" >&6
68554 -else
68555 - echo "$as_me:$LINENO: result: no" >&5
68556 -echo "${ECHO_T}no" >&6
68557 -fi
68558 -
68559 -fi
68560 -if test -z "$ac_cv_prog_CC"; then
68561 - ac_ct_CC=$CC
68562 - # Extract the first word of "cc", so it can be a program name with args.
68563 -set dummy cc; ac_word=$2
68564 -echo "$as_me:$LINENO: checking for $ac_word" >&5
68565 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
68566 -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
68567 - echo $ECHO_N "(cached) $ECHO_C" >&6
68568 -else
68569 - if test -n "$ac_ct_CC"; then
68570 - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
68571 -else
68572 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
68573 -for as_dir in $PATH
68574 -do
68575 - IFS=$as_save_IFS
68576 - test -z "$as_dir" && as_dir=.
68577 - for ac_exec_ext in '' $ac_executable_extensions; do
68578 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
68579 - ac_cv_prog_ac_ct_CC="cc"
68580 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
68581 - break 2
68582 - fi
68583 -done
68584 -done
68585 -
68586 -fi
68587 -fi
68588 -ac_ct_CC=$ac_cv_prog_ac_ct_CC
68589 -if test -n "$ac_ct_CC"; then
68590 - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
68591 -echo "${ECHO_T}$ac_ct_CC" >&6
68592 + { echo "$as_me:$LINENO: result: $CC" >&5
68593 +echo "${ECHO_T}$CC" >&6; }
68594 else
68595 - echo "$as_me:$LINENO: result: no" >&5
68596 -echo "${ECHO_T}no" >&6
68597 + { echo "$as_me:$LINENO: result: no" >&5
68598 +echo "${ECHO_T}no" >&6; }
68599 fi
68600
68601 - CC=$ac_ct_CC
68602 -else
68603 - CC="$ac_cv_prog_CC"
68604 -fi
68605
68606 + fi
68607 fi
68608 if test -z "$CC"; then
68609 # Extract the first word of "cc", so it can be a program name with args.
68610 set dummy cc; ac_word=$2
68611 -echo "$as_me:$LINENO: checking for $ac_word" >&5
68612 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
68613 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
68614 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
68615 if test "${ac_cv_prog_CC+set}" = set; then
68616 echo $ECHO_N "(cached) $ECHO_C" >&6
68617 else
68618 @@ -1611,7 +2120,7 @@
68619 IFS=$as_save_IFS
68620 test -z "$as_dir" && as_dir=.
68621 for ac_exec_ext in '' $ac_executable_extensions; do
68622 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
68623 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
68624 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
68625 ac_prog_rejected=yes
68626 continue
68627 @@ -1622,6 +2131,7 @@
68628 fi
68629 done
68630 done
68631 +IFS=$as_save_IFS
68632
68633 if test $ac_prog_rejected = yes; then
68634 # We found a bogon in the path, so make sure we never use it.
68635 @@ -1639,22 +2149,23 @@
68636 fi
68637 CC=$ac_cv_prog_CC
68638 if test -n "$CC"; then
68639 - echo "$as_me:$LINENO: result: $CC" >&5
68640 -echo "${ECHO_T}$CC" >&6
68641 + { echo "$as_me:$LINENO: result: $CC" >&5
68642 +echo "${ECHO_T}$CC" >&6; }
68643 else
68644 - echo "$as_me:$LINENO: result: no" >&5
68645 -echo "${ECHO_T}no" >&6
68646 + { echo "$as_me:$LINENO: result: no" >&5
68647 +echo "${ECHO_T}no" >&6; }
68648 fi
68649
68650 +
68651 fi
68652 if test -z "$CC"; then
68653 if test -n "$ac_tool_prefix"; then
68654 - for ac_prog in cl
68655 + for ac_prog in cl.exe
68656 do
68657 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
68658 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
68659 -echo "$as_me:$LINENO: checking for $ac_word" >&5
68660 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
68661 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
68662 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
68663 if test "${ac_cv_prog_CC+set}" = set; then
68664 echo $ECHO_N "(cached) $ECHO_C" >&6
68665 else
68666 @@ -1667,36 +2178,38 @@
68667 IFS=$as_save_IFS
68668 test -z "$as_dir" && as_dir=.
68669 for ac_exec_ext in '' $ac_executable_extensions; do
68670 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
68671 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
68672 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
68673 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
68674 break 2
68675 fi
68676 done
68677 done
68678 +IFS=$as_save_IFS
68679
68680 fi
68681 fi
68682 CC=$ac_cv_prog_CC
68683 if test -n "$CC"; then
68684 - echo "$as_me:$LINENO: result: $CC" >&5
68685 -echo "${ECHO_T}$CC" >&6
68686 + { echo "$as_me:$LINENO: result: $CC" >&5
68687 +echo "${ECHO_T}$CC" >&6; }
68688 else
68689 - echo "$as_me:$LINENO: result: no" >&5
68690 -echo "${ECHO_T}no" >&6
68691 + { echo "$as_me:$LINENO: result: no" >&5
68692 +echo "${ECHO_T}no" >&6; }
68693 fi
68694
68695 +
68696 test -n "$CC" && break
68697 done
68698 fi
68699 if test -z "$CC"; then
68700 ac_ct_CC=$CC
68701 - for ac_prog in cl
68702 + for ac_prog in cl.exe
68703 do
68704 # Extract the first word of "$ac_prog", so it can be a program name with args.
68705 set dummy $ac_prog; ac_word=$2
68706 -echo "$as_me:$LINENO: checking for $ac_word" >&5
68707 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
68708 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
68709 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
68710 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
68711 echo $ECHO_N "(cached) $ECHO_C" >&6
68712 else
68713 @@ -1709,29 +2222,45 @@
68714 IFS=$as_save_IFS
68715 test -z "$as_dir" && as_dir=.
68716 for ac_exec_ext in '' $ac_executable_extensions; do
68717 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
68718 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
68719 ac_cv_prog_ac_ct_CC="$ac_prog"
68720 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
68721 break 2
68722 fi
68723 done
68724 done
68725 +IFS=$as_save_IFS
68726
68727 fi
68728 fi
68729 ac_ct_CC=$ac_cv_prog_ac_ct_CC
68730 if test -n "$ac_ct_CC"; then
68731 - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
68732 -echo "${ECHO_T}$ac_ct_CC" >&6
68733 + { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
68734 +echo "${ECHO_T}$ac_ct_CC" >&6; }
68735 else
68736 - echo "$as_me:$LINENO: result: no" >&5
68737 -echo "${ECHO_T}no" >&6
68738 + { echo "$as_me:$LINENO: result: no" >&5
68739 +echo "${ECHO_T}no" >&6; }
68740 fi
68741
68742 +
68743 test -n "$ac_ct_CC" && break
68744 done
68745
68746 - CC=$ac_ct_CC
68747 + if test "x$ac_ct_CC" = x; then
68748 + CC=""
68749 + else
68750 + case $cross_compiling:$ac_tool_warned in
68751 +yes:)
68752 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
68753 +whose name does not start with the host triplet. If you think this
68754 +configuration is useful to you, please write to autoconf@gnu.org." >&5
68755 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
68756 +whose name does not start with the host triplet. If you think this
68757 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
68758 +ac_tool_warned=yes ;;
68759 +esac
68760 + CC=$ac_ct_CC
68761 + fi
68762 fi
68763
68764 fi
68765 @@ -1744,21 +2273,35 @@
68766 { (exit 1); exit 1; }; }
68767
68768 # Provide some information about the compiler.
68769 -echo "$as_me:$LINENO:" \
68770 - "checking for C compiler version" >&5
68771 +echo "$as_me:$LINENO: checking for C compiler version" >&5
68772 ac_compiler=`set X $ac_compile; echo $2`
68773 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
68774 - (eval $ac_compiler --version </dev/null >&5) 2>&5
68775 +{ (ac_try="$ac_compiler --version >&5"
68776 +case "(($ac_try" in
68777 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
68778 + *) ac_try_echo=$ac_try;;
68779 +esac
68780 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
68781 + (eval "$ac_compiler --version >&5") 2>&5
68782 ac_status=$?
68783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68784 (exit $ac_status); }
68785 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
68786 - (eval $ac_compiler -v </dev/null >&5) 2>&5
68787 +{ (ac_try="$ac_compiler -v >&5"
68788 +case "(($ac_try" in
68789 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
68790 + *) ac_try_echo=$ac_try;;
68791 +esac
68792 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
68793 + (eval "$ac_compiler -v >&5") 2>&5
68794 ac_status=$?
68795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68796 (exit $ac_status); }
68797 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
68798 - (eval $ac_compiler -V </dev/null >&5) 2>&5
68799 +{ (ac_try="$ac_compiler -V >&5"
68800 +case "(($ac_try" in
68801 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
68802 + *) ac_try_echo=$ac_try;;
68803 +esac
68804 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
68805 + (eval "$ac_compiler -V >&5") 2>&5
68806 ac_status=$?
68807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68808 (exit $ac_status); }
68809 @@ -1783,47 +2326,77 @@
68810 # Try to create an executable without -o first, disregard a.out.
68811 # It will help us diagnose broken compilers, and finding out an intuition
68812 # of exeext.
68813 -echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
68814 -echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
68815 +{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
68816 +echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
68817 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
68818 -if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
68819 - (eval $ac_link_default) 2>&5
68820 +#
68821 +# List of possible output files, starting from the most likely.
68822 +# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
68823 +# only as a last resort. b.out is created by i960 compilers.
68824 +ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
68825 +#
68826 +# The IRIX 6 linker writes into existing files which may not be
68827 +# executable, retaining their permissions. Remove them first so a
68828 +# subsequent execution test works.
68829 +ac_rmfiles=
68830 +for ac_file in $ac_files
68831 +do
68832 + case $ac_file in
68833 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
68834 + * ) ac_rmfiles="$ac_rmfiles $ac_file";;
68835 + esac
68836 +done
68837 +rm -f $ac_rmfiles
68838 +
68839 +if { (ac_try="$ac_link_default"
68840 +case "(($ac_try" in
68841 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
68842 + *) ac_try_echo=$ac_try;;
68843 +esac
68844 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
68845 + (eval "$ac_link_default") 2>&5
68846 ac_status=$?
68847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68848 (exit $ac_status); }; then
68849 - # Find the output, starting from the most likely. This scheme is
68850 -# not robust to junk in `.', hence go to wildcards (a.*) only as a last
68851 -# resort.
68852 -
68853 -# Be careful to initialize this variable, since it used to be cached.
68854 -# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
68855 -ac_cv_exeext=
68856 -# b.out is created by i960 compilers.
68857 -for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
68858 + # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
68859 +# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
68860 +# in a Makefile. We should not override ac_cv_exeext if it was cached,
68861 +# so that the user can short-circuit this test for compilers unknown to
68862 +# Autoconf.
68863 +for ac_file in $ac_files ''
68864 do
68865 test -f "$ac_file" || continue
68866 case $ac_file in
68867 - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
68868 - ;;
68869 - conftest.$ac_ext )
68870 - # This is the source file.
68871 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
68872 ;;
68873 [ab].out )
68874 # We found the default executable, but exeext='' is most
68875 # certainly right.
68876 break;;
68877 *.* )
68878 - ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
68879 - # FIXME: I believe we export ac_cv_exeext for Libtool,
68880 - # but it would be cool to find out if it's true. Does anybody
68881 - # maintain Libtool? --akim.
68882 - export ac_cv_exeext
68883 + if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
68884 + then :; else
68885 + ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
68886 + fi
68887 + # We set ac_cv_exeext here because the later test for it is not
68888 + # safe: cross compilers may not add the suffix if given an `-o'
68889 + # argument, so we may need to know it at that point already.
68890 + # Even if this section looks crufty: it has the advantage of
68891 + # actually working.
68892 break;;
68893 * )
68894 break;;
68895 esac
68896 done
68897 +test "$ac_cv_exeext" = no && ac_cv_exeext=
68898 +
68899 else
68900 + ac_file=''
68901 +fi
68902 +
68903 +{ echo "$as_me:$LINENO: result: $ac_file" >&5
68904 +echo "${ECHO_T}$ac_file" >&6; }
68905 +if test -z "$ac_file"; then
68906 echo "$as_me: failed program was:" >&5
68907 sed 's/^/| /' conftest.$ac_ext >&5
68908
68909 @@ -1835,19 +2408,21 @@
68910 fi
68911
68912 ac_exeext=$ac_cv_exeext
68913 -echo "$as_me:$LINENO: result: $ac_file" >&5
68914 -echo "${ECHO_T}$ac_file" >&6
68915
68916 -# Check the compiler produces executables we can run. If not, either
68917 +# Check that the compiler produces executables we can run. If not, either
68918 # the compiler is broken, or we cross compile.
68919 -echo "$as_me:$LINENO: checking whether the C compiler works" >&5
68920 -echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
68921 +{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
68922 +echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
68923 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
68924 # If not cross compiling, check that we can run a simple program.
68925 if test "$cross_compiling" != yes; then
68926 if { ac_try='./$ac_file'
68927 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68928 - (eval $ac_try) 2>&5
68929 + { (case "(($ac_try" in
68930 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
68931 + *) ac_try_echo=$ac_try;;
68932 +esac
68933 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
68934 + (eval "$ac_try") 2>&5
68935 ac_status=$?
68936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68937 (exit $ac_status); }; }; then
68938 @@ -1866,22 +2441,27 @@
68939 fi
68940 fi
68941 fi
68942 -echo "$as_me:$LINENO: result: yes" >&5
68943 -echo "${ECHO_T}yes" >&6
68944 +{ echo "$as_me:$LINENO: result: yes" >&5
68945 +echo "${ECHO_T}yes" >&6; }
68946
68947 rm -f a.out a.exe conftest$ac_cv_exeext b.out
68948 ac_clean_files=$ac_clean_files_save
68949 -# Check the compiler produces executables we can run. If not, either
68950 +# Check that the compiler produces executables we can run. If not, either
68951 # the compiler is broken, or we cross compile.
68952 -echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
68953 -echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
68954 -echo "$as_me:$LINENO: result: $cross_compiling" >&5
68955 -echo "${ECHO_T}$cross_compiling" >&6
68956 -
68957 -echo "$as_me:$LINENO: checking for suffix of executables" >&5
68958 -echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
68959 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68960 - (eval $ac_link) 2>&5
68961 +{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
68962 +echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
68963 +{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
68964 +echo "${ECHO_T}$cross_compiling" >&6; }
68965 +
68966 +{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
68967 +echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
68968 +if { (ac_try="$ac_link"
68969 +case "(($ac_try" in
68970 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
68971 + *) ac_try_echo=$ac_try;;
68972 +esac
68973 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
68974 + (eval "$ac_link") 2>&5
68975 ac_status=$?
68976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68977 (exit $ac_status); }; then
68978 @@ -1892,9 +2472,8 @@
68979 for ac_file in conftest.exe conftest conftest.*; do
68980 test -f "$ac_file" || continue
68981 case $ac_file in
68982 - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
68983 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
68984 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
68985 - export ac_cv_exeext
68986 break;;
68987 * ) break;;
68988 esac
68989 @@ -1908,14 +2487,14 @@
68990 fi
68991
68992 rm -f conftest$ac_cv_exeext
68993 -echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
68994 -echo "${ECHO_T}$ac_cv_exeext" >&6
68995 +{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
68996 +echo "${ECHO_T}$ac_cv_exeext" >&6; }
68997
68998 rm -f conftest.$ac_ext
68999 EXEEXT=$ac_cv_exeext
69000 ac_exeext=$EXEEXT
69001 -echo "$as_me:$LINENO: checking for suffix of object files" >&5
69002 -echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
69003 +{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
69004 +echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
69005 if test "${ac_cv_objext+set}" = set; then
69006 echo $ECHO_N "(cached) $ECHO_C" >&6
69007 else
69008 @@ -1935,14 +2514,20 @@
69009 }
69010 _ACEOF
69011 rm -f conftest.o conftest.obj
69012 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69013 - (eval $ac_compile) 2>&5
69014 +if { (ac_try="$ac_compile"
69015 +case "(($ac_try" in
69016 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
69017 + *) ac_try_echo=$ac_try;;
69018 +esac
69019 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
69020 + (eval "$ac_compile") 2>&5
69021 ac_status=$?
69022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69023 (exit $ac_status); }; then
69024 - for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
69025 + for ac_file in conftest.o conftest.obj conftest.*; do
69026 + test -f "$ac_file" || continue;
69027 case $ac_file in
69028 - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
69029 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
69030 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
69031 break;;
69032 esac
69033 @@ -1960,12 +2545,12 @@
69034
69035 rm -f conftest.$ac_cv_objext conftest.$ac_ext
69036 fi
69037 -echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
69038 -echo "${ECHO_T}$ac_cv_objext" >&6
69039 +{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
69040 +echo "${ECHO_T}$ac_cv_objext" >&6; }
69041 OBJEXT=$ac_cv_objext
69042 ac_objext=$OBJEXT
69043 -echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
69044 -echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
69045 +{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
69046 +echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
69047 if test "${ac_cv_c_compiler_gnu+set}" = set; then
69048 echo $ECHO_N "(cached) $ECHO_C" >&6
69049 else
69050 @@ -1988,50 +2573,49 @@
69051 }
69052 _ACEOF
69053 rm -f conftest.$ac_objext
69054 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69055 - (eval $ac_compile) 2>conftest.er1
69056 +if { (ac_try="$ac_compile"
69057 +case "(($ac_try" in
69058 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
69059 + *) ac_try_echo=$ac_try;;
69060 +esac
69061 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
69062 + (eval "$ac_compile") 2>conftest.er1
69063 ac_status=$?
69064 grep -v '^ *+' conftest.er1 >conftest.err
69065 rm -f conftest.er1
69066 cat conftest.err >&5
69067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69068 - (exit $ac_status); } &&
69069 - { ac_try='test -z "$ac_c_werror_flag"
69070 - || test ! -s conftest.err'
69071 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69072 - (eval $ac_try) 2>&5
69073 - ac_status=$?
69074 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
69075 - (exit $ac_status); }; } &&
69076 - { ac_try='test -s conftest.$ac_objext'
69077 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69078 - (eval $ac_try) 2>&5
69079 - ac_status=$?
69080 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
69081 - (exit $ac_status); }; }; then
69082 + (exit $ac_status); } && {
69083 + test -z "$ac_c_werror_flag" ||
69084 + test ! -s conftest.err
69085 + } && test -s conftest.$ac_objext; then
69086 ac_compiler_gnu=yes
69087 else
69088 echo "$as_me: failed program was:" >&5
69089 sed 's/^/| /' conftest.$ac_ext >&5
69090
69091 -ac_compiler_gnu=no
69092 + ac_compiler_gnu=no
69093 fi
69094 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69095 +
69096 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69097 ac_cv_c_compiler_gnu=$ac_compiler_gnu
69098
69099 fi
69100 -echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
69101 -echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
69102 +{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
69103 +echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
69104 GCC=`test $ac_compiler_gnu = yes && echo yes`
69105 ac_test_CFLAGS=${CFLAGS+set}
69106 ac_save_CFLAGS=$CFLAGS
69107 -CFLAGS="-g"
69108 -echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
69109 -echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
69110 +{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
69111 +echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
69112 if test "${ac_cv_prog_cc_g+set}" = set; then
69113 echo $ECHO_N "(cached) $ECHO_C" >&6
69114 else
69115 - cat >conftest.$ac_ext <<_ACEOF
69116 + ac_save_c_werror_flag=$ac_c_werror_flag
69117 + ac_c_werror_flag=yes
69118 + ac_cv_prog_cc_g=no
69119 + CFLAGS="-g"
69120 + cat >conftest.$ac_ext <<_ACEOF
69121 /* confdefs.h. */
69122 _ACEOF
69123 cat confdefs.h >>conftest.$ac_ext
69124 @@ -2047,38 +2631,118 @@
69125 }
69126 _ACEOF
69127 rm -f conftest.$ac_objext
69128 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69129 - (eval $ac_compile) 2>conftest.er1
69130 +if { (ac_try="$ac_compile"
69131 +case "(($ac_try" in
69132 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
69133 + *) ac_try_echo=$ac_try;;
69134 +esac
69135 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
69136 + (eval "$ac_compile") 2>conftest.er1
69137 ac_status=$?
69138 grep -v '^ *+' conftest.er1 >conftest.err
69139 rm -f conftest.er1
69140 cat conftest.err >&5
69141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69142 - (exit $ac_status); } &&
69143 - { ac_try='test -z "$ac_c_werror_flag"
69144 - || test ! -s conftest.err'
69145 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69146 - (eval $ac_try) 2>&5
69147 + (exit $ac_status); } && {
69148 + test -z "$ac_c_werror_flag" ||
69149 + test ! -s conftest.err
69150 + } && test -s conftest.$ac_objext; then
69151 + ac_cv_prog_cc_g=yes
69152 +else
69153 + echo "$as_me: failed program was:" >&5
69154 +sed 's/^/| /' conftest.$ac_ext >&5
69155 +
69156 + CFLAGS=""
69157 + cat >conftest.$ac_ext <<_ACEOF
69158 +/* confdefs.h. */
69159 +_ACEOF
69160 +cat confdefs.h >>conftest.$ac_ext
69161 +cat >>conftest.$ac_ext <<_ACEOF
69162 +/* end confdefs.h. */
69163 +
69164 +int
69165 +main ()
69166 +{
69167 +
69168 + ;
69169 + return 0;
69170 +}
69171 +_ACEOF
69172 +rm -f conftest.$ac_objext
69173 +if { (ac_try="$ac_compile"
69174 +case "(($ac_try" in
69175 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
69176 + *) ac_try_echo=$ac_try;;
69177 +esac
69178 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
69179 + (eval "$ac_compile") 2>conftest.er1
69180 ac_status=$?
69181 + grep -v '^ *+' conftest.er1 >conftest.err
69182 + rm -f conftest.er1
69183 + cat conftest.err >&5
69184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69185 - (exit $ac_status); }; } &&
69186 - { ac_try='test -s conftest.$ac_objext'
69187 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69188 - (eval $ac_try) 2>&5
69189 + (exit $ac_status); } && {
69190 + test -z "$ac_c_werror_flag" ||
69191 + test ! -s conftest.err
69192 + } && test -s conftest.$ac_objext; then
69193 + :
69194 +else
69195 + echo "$as_me: failed program was:" >&5
69196 +sed 's/^/| /' conftest.$ac_ext >&5
69197 +
69198 + ac_c_werror_flag=$ac_save_c_werror_flag
69199 + CFLAGS="-g"
69200 + cat >conftest.$ac_ext <<_ACEOF
69201 +/* confdefs.h. */
69202 +_ACEOF
69203 +cat confdefs.h >>conftest.$ac_ext
69204 +cat >>conftest.$ac_ext <<_ACEOF
69205 +/* end confdefs.h. */
69206 +
69207 +int
69208 +main ()
69209 +{
69210 +
69211 + ;
69212 + return 0;
69213 +}
69214 +_ACEOF
69215 +rm -f conftest.$ac_objext
69216 +if { (ac_try="$ac_compile"
69217 +case "(($ac_try" in
69218 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
69219 + *) ac_try_echo=$ac_try;;
69220 +esac
69221 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
69222 + (eval "$ac_compile") 2>conftest.er1
69223 ac_status=$?
69224 + grep -v '^ *+' conftest.er1 >conftest.err
69225 + rm -f conftest.er1
69226 + cat conftest.err >&5
69227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69228 - (exit $ac_status); }; }; then
69229 + (exit $ac_status); } && {
69230 + test -z "$ac_c_werror_flag" ||
69231 + test ! -s conftest.err
69232 + } && test -s conftest.$ac_objext; then
69233 ac_cv_prog_cc_g=yes
69234 else
69235 echo "$as_me: failed program was:" >&5
69236 sed 's/^/| /' conftest.$ac_ext >&5
69237
69238 -ac_cv_prog_cc_g=no
69239 +
69240 +fi
69241 +
69242 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69243 +fi
69244 +
69245 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69246 fi
69247 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69248 +
69249 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69250 + ac_c_werror_flag=$ac_save_c_werror_flag
69251 fi
69252 -echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
69253 -echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
69254 +{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
69255 +echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
69256 if test "$ac_test_CFLAGS" = set; then
69257 CFLAGS=$ac_save_CFLAGS
69258 elif test $ac_cv_prog_cc_g = yes; then
69259 @@ -2094,12 +2758,12 @@
69260 CFLAGS=
69261 fi
69262 fi
69263 -echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
69264 -echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
69265 -if test "${ac_cv_prog_cc_stdc+set}" = set; then
69266 +{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
69267 +echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
69268 +if test "${ac_cv_prog_cc_c89+set}" = set; then
69269 echo $ECHO_N "(cached) $ECHO_C" >&6
69270 else
69271 - ac_cv_prog_cc_stdc=no
69272 + ac_cv_prog_cc_c89=no
69273 ac_save_CC=$CC
69274 cat >conftest.$ac_ext <<_ACEOF
69275 /* confdefs.h. */
69276 @@ -2133,12 +2797,17 @@
69277 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
69278 function prototypes and stuff, but not '\xHH' hex character constants.
69279 These don't provoke an error unfortunately, instead are silently treated
69280 - as 'x'. The following induces an error, until -std1 is added to get
69281 + as 'x'. The following induces an error, until -std is added to get
69282 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
69283 array size at least. It's necessary to write '\x00'==0 to get something
69284 - that's true only with -std1. */
69285 + that's true only with -std. */
69286 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
69287
69288 +/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
69289 + inside strings and character constants. */
69290 +#define FOO(x) 'x'
69291 +int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
69292 +
69293 int test (int i, double x);
69294 struct s1 {int (*f) (int a);};
69295 struct s2 {int (*f) (double a);};
69296 @@ -2153,335 +2822,144 @@
69297 return 0;
69298 }
69299 _ACEOF
69300 -# Don't try gcc -ansi; that turns off useful extensions and
69301 -# breaks some systems' header files.
69302 -# AIX -qlanglvl=ansi
69303 -# Ultrix and OSF/1 -std1
69304 -# HP-UX 10.20 and later -Ae
69305 -# HP-UX older versions -Aa -D_HPUX_SOURCE
69306 -# SVR4 -Xc -D__EXTENSIONS__
69307 -for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
69308 +for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
69309 + -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
69310 do
69311 CC="$ac_save_CC $ac_arg"
69312 rm -f conftest.$ac_objext
69313 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69314 - (eval $ac_compile) 2>conftest.er1
69315 +if { (ac_try="$ac_compile"
69316 +case "(($ac_try" in
69317 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
69318 + *) ac_try_echo=$ac_try;;
69319 +esac
69320 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
69321 + (eval "$ac_compile") 2>conftest.er1
69322 ac_status=$?
69323 grep -v '^ *+' conftest.er1 >conftest.err
69324 rm -f conftest.er1
69325 cat conftest.err >&5
69326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69327 - (exit $ac_status); } &&
69328 - { ac_try='test -z "$ac_c_werror_flag"
69329 - || test ! -s conftest.err'
69330 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69331 - (eval $ac_try) 2>&5
69332 - ac_status=$?
69333 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
69334 - (exit $ac_status); }; } &&
69335 - { ac_try='test -s conftest.$ac_objext'
69336 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69337 - (eval $ac_try) 2>&5
69338 - ac_status=$?
69339 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
69340 - (exit $ac_status); }; }; then
69341 - ac_cv_prog_cc_stdc=$ac_arg
69342 -break
69343 + (exit $ac_status); } && {
69344 + test -z "$ac_c_werror_flag" ||
69345 + test ! -s conftest.err
69346 + } && test -s conftest.$ac_objext; then
69347 + ac_cv_prog_cc_c89=$ac_arg
69348 else
69349 echo "$as_me: failed program was:" >&5
69350 sed 's/^/| /' conftest.$ac_ext >&5
69351
69352 +
69353 fi
69354 -rm -f conftest.err conftest.$ac_objext
69355 +
69356 +rm -f core conftest.err conftest.$ac_objext
69357 + test "x$ac_cv_prog_cc_c89" != "xno" && break
69358 done
69359 -rm -f conftest.$ac_ext conftest.$ac_objext
69360 +rm -f conftest.$ac_ext
69361 CC=$ac_save_CC
69362
69363 fi
69364 -
69365 -case "x$ac_cv_prog_cc_stdc" in
69366 - x|xno)
69367 - echo "$as_me:$LINENO: result: none needed" >&5
69368 -echo "${ECHO_T}none needed" >&6 ;;
69369 +# AC_CACHE_VAL
69370 +case "x$ac_cv_prog_cc_c89" in
69371 + x)
69372 + { echo "$as_me:$LINENO: result: none needed" >&5
69373 +echo "${ECHO_T}none needed" >&6; } ;;
69374 + xno)
69375 + { echo "$as_me:$LINENO: result: unsupported" >&5
69376 +echo "${ECHO_T}unsupported" >&6; } ;;
69377 *)
69378 - echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
69379 -echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
69380 - CC="$CC $ac_cv_prog_cc_stdc" ;;
69381 + CC="$CC $ac_cv_prog_cc_c89"
69382 + { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
69383 +echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
69384 esac
69385
69386 -# Some people use a C++ compiler to compile C. Since we use `exit',
69387 -# in C++ we need to declare it. In case someone uses the same compiler
69388 -# for both compiling C and C++ we need to have the C++ compiler decide
69389 -# the declaration of exit, since it's the most demanding environment.
69390 +
69391 +ac_ext=c
69392 +ac_cpp='$CPP $CPPFLAGS'
69393 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69394 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69395 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
69396 +
69397 +
69398 +{ echo "$as_me:$LINENO: checking for library containing strerror" >&5
69399 +echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6; }
69400 +if test "${ac_cv_search_strerror+set}" = set; then
69401 + echo $ECHO_N "(cached) $ECHO_C" >&6
69402 +else
69403 + ac_func_search_save_LIBS=$LIBS
69404 cat >conftest.$ac_ext <<_ACEOF
69405 -#ifndef __cplusplus
69406 - choke me
69407 -#endif
69408 -_ACEOF
69409 -rm -f conftest.$ac_objext
69410 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69411 - (eval $ac_compile) 2>conftest.er1
69412 - ac_status=$?
69413 - grep -v '^ *+' conftest.er1 >conftest.err
69414 - rm -f conftest.er1
69415 - cat conftest.err >&5
69416 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
69417 - (exit $ac_status); } &&
69418 - { ac_try='test -z "$ac_c_werror_flag"
69419 - || test ! -s conftest.err'
69420 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69421 - (eval $ac_try) 2>&5
69422 - ac_status=$?
69423 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
69424 - (exit $ac_status); }; } &&
69425 - { ac_try='test -s conftest.$ac_objext'
69426 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69427 - (eval $ac_try) 2>&5
69428 - ac_status=$?
69429 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
69430 - (exit $ac_status); }; }; then
69431 - for ac_declaration in \
69432 - '' \
69433 - 'extern "C" void std::exit (int) throw (); using std::exit;' \
69434 - 'extern "C" void std::exit (int); using std::exit;' \
69435 - 'extern "C" void exit (int) throw ();' \
69436 - 'extern "C" void exit (int);' \
69437 - 'void exit (int);'
69438 -do
69439 - cat >conftest.$ac_ext <<_ACEOF
69440 /* confdefs.h. */
69441 _ACEOF
69442 cat confdefs.h >>conftest.$ac_ext
69443 cat >>conftest.$ac_ext <<_ACEOF
69444 /* end confdefs.h. */
69445 -$ac_declaration
69446 -#include <stdlib.h>
69447 +
69448 +/* Override any GCC internal prototype to avoid an error.
69449 + Use char because int might match the return type of a GCC
69450 + builtin and then its argument prototype would still apply. */
69451 +#ifdef __cplusplus
69452 +extern "C"
69453 +#endif
69454 +char strerror ();
69455 int
69456 main ()
69457 {
69458 -exit (42);
69459 +return strerror ();
69460 ;
69461 return 0;
69462 }
69463 _ACEOF
69464 -rm -f conftest.$ac_objext
69465 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69466 - (eval $ac_compile) 2>conftest.er1
69467 +for ac_lib in '' cposix; do
69468 + if test -z "$ac_lib"; then
69469 + ac_res="none required"
69470 + else
69471 + ac_res=-l$ac_lib
69472 + LIBS="-l$ac_lib $ac_func_search_save_LIBS"
69473 + fi
69474 + rm -f conftest.$ac_objext conftest$ac_exeext
69475 +if { (ac_try="$ac_link"
69476 +case "(($ac_try" in
69477 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
69478 + *) ac_try_echo=$ac_try;;
69479 +esac
69480 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
69481 + (eval "$ac_link") 2>conftest.er1
69482 ac_status=$?
69483 grep -v '^ *+' conftest.er1 >conftest.err
69484 rm -f conftest.er1
69485 cat conftest.err >&5
69486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69487 - (exit $ac_status); } &&
69488 - { ac_try='test -z "$ac_c_werror_flag"
69489 - || test ! -s conftest.err'
69490 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69491 - (eval $ac_try) 2>&5
69492 - ac_status=$?
69493 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
69494 - (exit $ac_status); }; } &&
69495 - { ac_try='test -s conftest.$ac_objext'
69496 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69497 - (eval $ac_try) 2>&5
69498 - ac_status=$?
69499 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
69500 - (exit $ac_status); }; }; then
69501 - :
69502 + (exit $ac_status); } && {
69503 + test -z "$ac_c_werror_flag" ||
69504 + test ! -s conftest.err
69505 + } && test -s conftest$ac_exeext &&
69506 + $as_test_x conftest$ac_exeext; then
69507 + ac_cv_search_strerror=$ac_res
69508 else
69509 echo "$as_me: failed program was:" >&5
69510 sed 's/^/| /' conftest.$ac_ext >&5
69511
69512 -continue
69513 -fi
69514 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69515 - cat >conftest.$ac_ext <<_ACEOF
69516 -/* confdefs.h. */
69517 -_ACEOF
69518 -cat confdefs.h >>conftest.$ac_ext
69519 -cat >>conftest.$ac_ext <<_ACEOF
69520 -/* end confdefs.h. */
69521 -$ac_declaration
69522 -int
69523 -main ()
69524 -{
69525 -exit (42);
69526 - ;
69527 - return 0;
69528 -}
69529 -_ACEOF
69530 -rm -f conftest.$ac_objext
69531 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69532 - (eval $ac_compile) 2>conftest.er1
69533 - ac_status=$?
69534 - grep -v '^ *+' conftest.er1 >conftest.err
69535 - rm -f conftest.er1
69536 - cat conftest.err >&5
69537 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
69538 - (exit $ac_status); } &&
69539 - { ac_try='test -z "$ac_c_werror_flag"
69540 - || test ! -s conftest.err'
69541 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69542 - (eval $ac_try) 2>&5
69543 - ac_status=$?
69544 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
69545 - (exit $ac_status); }; } &&
69546 - { ac_try='test -s conftest.$ac_objext'
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); }; }; then
69552 - break
69553 -else
69554 - echo "$as_me: failed program was:" >&5
69555 -sed 's/^/| /' conftest.$ac_ext >&5
69556
69557 fi
69558 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69559 -done
69560 -rm -f conftest*
69561 -if test -n "$ac_declaration"; then
69562 - echo '#ifdef __cplusplus' >>confdefs.h
69563 - echo $ac_declaration >>confdefs.h
69564 - echo '#endif' >>confdefs.h
69565 -fi
69566 -
69567 -else
69568 - echo "$as_me: failed program was:" >&5
69569 -sed 's/^/| /' conftest.$ac_ext >&5
69570
69571 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
69572 + conftest$ac_exeext
69573 + if test "${ac_cv_search_strerror+set}" = set; then
69574 + break
69575 fi
69576 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69577 -ac_ext=c
69578 -ac_cpp='$CPP $CPPFLAGS'
69579 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69580 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69581 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
69582 -
69583 -
69584 -echo "$as_me:$LINENO: checking for library containing strerror" >&5
69585 -echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6
69586 +done
69587 if test "${ac_cv_search_strerror+set}" = set; then
69588 - echo $ECHO_N "(cached) $ECHO_C" >&6
69589 -else
69590 - ac_func_search_save_LIBS=$LIBS
69591 -ac_cv_search_strerror=no
69592 -cat >conftest.$ac_ext <<_ACEOF
69593 -/* confdefs.h. */
69594 -_ACEOF
69595 -cat confdefs.h >>conftest.$ac_ext
69596 -cat >>conftest.$ac_ext <<_ACEOF
69597 -/* end confdefs.h. */
69598 -
69599 -/* Override any gcc2 internal prototype to avoid an error. */
69600 -#ifdef __cplusplus
69601 -extern "C"
69602 -#endif
69603 -/* We use char because int might match the return type of a gcc2
69604 - builtin and then its argument prototype would still apply. */
69605 -char strerror ();
69606 -int
69607 -main ()
69608 -{
69609 -strerror ();
69610 - ;
69611 - return 0;
69612 -}
69613 -_ACEOF
69614 -rm -f conftest.$ac_objext conftest$ac_exeext
69615 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69616 - (eval $ac_link) 2>conftest.er1
69617 - ac_status=$?
69618 - grep -v '^ *+' conftest.er1 >conftest.err
69619 - rm -f conftest.er1
69620 - cat conftest.err >&5
69621 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
69622 - (exit $ac_status); } &&
69623 - { ac_try='test -z "$ac_c_werror_flag"
69624 - || test ! -s conftest.err'
69625 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69626 - (eval $ac_try) 2>&5
69627 - ac_status=$?
69628 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
69629 - (exit $ac_status); }; } &&
69630 - { ac_try='test -s conftest$ac_exeext'
69631 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69632 - (eval $ac_try) 2>&5
69633 - ac_status=$?
69634 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
69635 - (exit $ac_status); }; }; then
69636 - ac_cv_search_strerror="none required"
69637 -else
69638 - echo "$as_me: failed program was:" >&5
69639 -sed 's/^/| /' conftest.$ac_ext >&5
69640 -
69641 -fi
69642 -rm -f conftest.err conftest.$ac_objext \
69643 - conftest$ac_exeext conftest.$ac_ext
69644 -if test "$ac_cv_search_strerror" = no; then
69645 - for ac_lib in cposix; do
69646 - LIBS="-l$ac_lib $ac_func_search_save_LIBS"
69647 - cat >conftest.$ac_ext <<_ACEOF
69648 -/* confdefs.h. */
69649 -_ACEOF
69650 -cat confdefs.h >>conftest.$ac_ext
69651 -cat >>conftest.$ac_ext <<_ACEOF
69652 -/* end confdefs.h. */
69653 -
69654 -/* Override any gcc2 internal prototype to avoid an error. */
69655 -#ifdef __cplusplus
69656 -extern "C"
69657 -#endif
69658 -/* We use char because int might match the return type of a gcc2
69659 - builtin and then its argument prototype would still apply. */
69660 -char strerror ();
69661 -int
69662 -main ()
69663 -{
69664 -strerror ();
69665 - ;
69666 - return 0;
69667 -}
69668 -_ACEOF
69669 -rm -f conftest.$ac_objext conftest$ac_exeext
69670 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69671 - (eval $ac_link) 2>conftest.er1
69672 - ac_status=$?
69673 - grep -v '^ *+' conftest.er1 >conftest.err
69674 - rm -f conftest.er1
69675 - cat conftest.err >&5
69676 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
69677 - (exit $ac_status); } &&
69678 - { ac_try='test -z "$ac_c_werror_flag"
69679 - || test ! -s conftest.err'
69680 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69681 - (eval $ac_try) 2>&5
69682 - ac_status=$?
69683 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
69684 - (exit $ac_status); }; } &&
69685 - { ac_try='test -s conftest$ac_exeext'
69686 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69687 - (eval $ac_try) 2>&5
69688 - ac_status=$?
69689 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
69690 - (exit $ac_status); }; }; then
69691 - ac_cv_search_strerror="-l$ac_lib"
69692 -break
69693 + :
69694 else
69695 - echo "$as_me: failed program was:" >&5
69696 -sed 's/^/| /' conftest.$ac_ext >&5
69697 -
69698 -fi
69699 -rm -f conftest.err conftest.$ac_objext \
69700 - conftest$ac_exeext conftest.$ac_ext
69701 - done
69702 + ac_cv_search_strerror=no
69703 fi
69704 +rm conftest.$ac_ext
69705 LIBS=$ac_func_search_save_LIBS
69706 fi
69707 -echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
69708 -echo "${ECHO_T}$ac_cv_search_strerror" >&6
69709 -if test "$ac_cv_search_strerror" != no; then
69710 - test "$ac_cv_search_strerror" = "none required" || LIBS="$ac_cv_search_strerror $LIBS"
69711 +{ echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
69712 +echo "${ECHO_T}$ac_cv_search_strerror" >&6; }
69713 +ac_res=$ac_cv_search_strerror
69714 +if test "$ac_res" != no; then
69715 + test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
69716
69717 fi
69718
69719 @@ -2501,8 +2979,8 @@
69720 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
69721 # OS/2's system install, which has a completely different semantic
69722 # ./install, which can be erroneously created by make from ./install.sh.
69723 -echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
69724 -echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
69725 +{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
69726 +echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
69727 if test -z "$INSTALL"; then
69728 if test "${ac_cv_path_install+set}" = set; then
69729 echo $ECHO_N "(cached) $ECHO_C" >&6
69730 @@ -2524,7 +3002,7 @@
69731 # by default.
69732 for ac_prog in ginstall scoinst install; do
69733 for ac_exec_ext in '' $ac_executable_extensions; do
69734 - if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
69735 + if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
69736 if test $ac_prog = install &&
69737 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
69738 # AIX install. It has an incompatible calling convention.
69739 @@ -2543,21 +3021,22 @@
69740 ;;
69741 esac
69742 done
69743 +IFS=$as_save_IFS
69744
69745
69746 fi
69747 if test "${ac_cv_path_install+set}" = set; then
69748 INSTALL=$ac_cv_path_install
69749 else
69750 - # As a last resort, use the slow shell script. We don't cache a
69751 - # path for INSTALL within a source directory, because that will
69752 + # As a last resort, use the slow shell script. Don't cache a
69753 + # value for INSTALL within a source directory, because that will
69754 # break other packages using the cache if that directory is
69755 - # removed, or if the path is relative.
69756 + # removed, or if the value is a relative name.
69757 INSTALL=$ac_install_sh
69758 fi
69759 fi
69760 -echo "$as_me:$LINENO: result: $INSTALL" >&5
69761 -echo "${ECHO_T}$INSTALL" >&6
69762 +{ echo "$as_me:$LINENO: result: $INSTALL" >&5
69763 +echo "${ECHO_T}$INSTALL" >&6; }
69764
69765 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
69766 # It thinks the first close brace ends the variable substitution.
69767 @@ -2567,8 +3046,8 @@
69768
69769 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
69770
69771 -echo "$as_me:$LINENO: checking whether build environment is sane" >&5
69772 -echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
69773 +{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
69774 +echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
69775 # Just in case
69776 sleep 1
69777 echo timestamp > conftest.file
69778 @@ -2610,20 +3089,20 @@
69779 Check your system clock" >&2;}
69780 { (exit 1); exit 1; }; }
69781 fi
69782 -echo "$as_me:$LINENO: result: yes" >&5
69783 -echo "${ECHO_T}yes" >&6
69784 +{ echo "$as_me:$LINENO: result: yes" >&5
69785 +echo "${ECHO_T}yes" >&6; }
69786 test "$program_prefix" != NONE &&
69787 - program_transform_name="s,^,$program_prefix,;$program_transform_name"
69788 + program_transform_name="s&^&$program_prefix&;$program_transform_name"
69789 # Use a double $ so make ignores it.
69790 test "$program_suffix" != NONE &&
69791 - program_transform_name="s,\$,$program_suffix,;$program_transform_name"
69792 + program_transform_name="s&\$&$program_suffix&;$program_transform_name"
69793 # Double any \ or $. echo might interpret backslashes.
69794 # By default was `s,x,x', remove it if useless.
69795 cat <<\_ACEOF >conftest.sed
69796 s/[\\$]/&&/g;s/;s,x,x,$//
69797 _ACEOF
69798 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
69799 -rm conftest.sed
69800 +rm -f conftest.sed
69801
69802 # expand $ac_aux_dir to an absolute path
69803 am_aux_dir=`cd $ac_aux_dir && pwd`
69804 @@ -2675,8 +3154,8 @@
69805 do
69806 # Extract the first word of "$ac_prog", so it can be a program name with args.
69807 set dummy $ac_prog; ac_word=$2
69808 -echo "$as_me:$LINENO: checking for $ac_word" >&5
69809 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
69810 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
69811 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
69812 if test "${ac_cv_prog_AWK+set}" = set; then
69813 echo $ECHO_N "(cached) $ECHO_C" >&6
69814 else
69815 @@ -2689,54 +3168,57 @@
69816 IFS=$as_save_IFS
69817 test -z "$as_dir" && as_dir=.
69818 for ac_exec_ext in '' $ac_executable_extensions; do
69819 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
69820 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
69821 ac_cv_prog_AWK="$ac_prog"
69822 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
69823 break 2
69824 fi
69825 done
69826 done
69827 +IFS=$as_save_IFS
69828
69829 fi
69830 fi
69831 AWK=$ac_cv_prog_AWK
69832 if test -n "$AWK"; then
69833 - echo "$as_me:$LINENO: result: $AWK" >&5
69834 -echo "${ECHO_T}$AWK" >&6
69835 + { echo "$as_me:$LINENO: result: $AWK" >&5
69836 +echo "${ECHO_T}$AWK" >&6; }
69837 else
69838 - echo "$as_me:$LINENO: result: no" >&5
69839 -echo "${ECHO_T}no" >&6
69840 + { echo "$as_me:$LINENO: result: no" >&5
69841 +echo "${ECHO_T}no" >&6; }
69842 fi
69843
69844 +
69845 test -n "$AWK" && break
69846 done
69847
69848 -echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
69849 -echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
69850 -set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
69851 -if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
69852 +{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
69853 +echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
69854 +set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
69855 +if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
69856 echo $ECHO_N "(cached) $ECHO_C" >&6
69857 else
69858 cat >conftest.make <<\_ACEOF
69859 +SHELL = /bin/sh
69860 all:
69861 - @echo 'ac_maketemp="$(MAKE)"'
69862 + @echo '@@@%%%=$(MAKE)=@@@%%%'
69863 _ACEOF
69864 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
69865 -eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
69866 -if test -n "$ac_maketemp"; then
69867 - eval ac_cv_prog_make_${ac_make}_set=yes
69868 -else
69869 - eval ac_cv_prog_make_${ac_make}_set=no
69870 -fi
69871 +case `${MAKE-make} -f conftest.make 2>/dev/null` in
69872 + *@@@%%%=?*=@@@%%%*)
69873 + eval ac_cv_prog_make_${ac_make}_set=yes;;
69874 + *)
69875 + eval ac_cv_prog_make_${ac_make}_set=no;;
69876 +esac
69877 rm -f conftest.make
69878 fi
69879 -if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
69880 - echo "$as_me:$LINENO: result: yes" >&5
69881 -echo "${ECHO_T}yes" >&6
69882 +if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
69883 + { echo "$as_me:$LINENO: result: yes" >&5
69884 +echo "${ECHO_T}yes" >&6; }
69885 SET_MAKE=
69886 else
69887 - echo "$as_me:$LINENO: result: no" >&5
69888 -echo "${ECHO_T}no" >&6
69889 + { echo "$as_me:$LINENO: result: no" >&5
69890 +echo "${ECHO_T}no" >&6; }
69891 SET_MAKE="MAKE=${MAKE-make}"
69892 fi
69893
69894 @@ -2751,7 +3233,7 @@
69895
69896 DEPDIR="${am__leading_dot}deps"
69897
69898 - ac_config_commands="$ac_config_commands depfiles"
69899 +ac_config_commands="$ac_config_commands depfiles"
69900
69901
69902 am_make=${MAKE-make}
69903 @@ -2761,8 +3243,8 @@
69904 .PHONY: am__doit
69905 END
69906 # If we don't find an include directive, just comment out the code.
69907 -echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
69908 -echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
69909 +{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
69910 +echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
69911 am__include="#"
69912 am__quote=
69913 _am_result=none
69914 @@ -2789,15 +3271,15 @@
69915 fi
69916
69917
69918 -echo "$as_me:$LINENO: result: $_am_result" >&5
69919 -echo "${ECHO_T}$_am_result" >&6
69920 +{ echo "$as_me:$LINENO: result: $_am_result" >&5
69921 +echo "${ECHO_T}$_am_result" >&6; }
69922 rm -f confinc confmf
69923
69924 -# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
69925 +# Check whether --enable-dependency-tracking was given.
69926 if test "${enable_dependency_tracking+set}" = set; then
69927 - enableval="$enable_dependency_tracking"
69928 + enableval=$enable_dependency_tracking;
69929 +fi
69930
69931 -fi;
69932 if test "x$enable_dependency_tracking" != xno; then
69933 am_depcomp="$ac_aux_dir/depcomp"
69934 AMDEPBACKSLASH='\'
69935 @@ -2872,8 +3354,8 @@
69936 if test -n "$ac_tool_prefix"; then
69937 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
69938 set dummy ${ac_tool_prefix}strip; ac_word=$2
69939 -echo "$as_me:$LINENO: checking for $ac_word" >&5
69940 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
69941 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
69942 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
69943 if test "${ac_cv_prog_STRIP+set}" = set; then
69944 echo $ECHO_N "(cached) $ECHO_C" >&6
69945 else
69946 @@ -2886,32 +3368,34 @@
69947 IFS=$as_save_IFS
69948 test -z "$as_dir" && as_dir=.
69949 for ac_exec_ext in '' $ac_executable_extensions; do
69950 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
69951 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
69952 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
69953 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
69954 break 2
69955 fi
69956 done
69957 done
69958 +IFS=$as_save_IFS
69959
69960 fi
69961 fi
69962 STRIP=$ac_cv_prog_STRIP
69963 if test -n "$STRIP"; then
69964 - echo "$as_me:$LINENO: result: $STRIP" >&5
69965 -echo "${ECHO_T}$STRIP" >&6
69966 + { echo "$as_me:$LINENO: result: $STRIP" >&5
69967 +echo "${ECHO_T}$STRIP" >&6; }
69968 else
69969 - echo "$as_me:$LINENO: result: no" >&5
69970 -echo "${ECHO_T}no" >&6
69971 + { echo "$as_me:$LINENO: result: no" >&5
69972 +echo "${ECHO_T}no" >&6; }
69973 fi
69974
69975 +
69976 fi
69977 if test -z "$ac_cv_prog_STRIP"; then
69978 ac_ct_STRIP=$STRIP
69979 # Extract the first word of "strip", so it can be a program name with args.
69980 set dummy strip; ac_word=$2
69981 -echo "$as_me:$LINENO: checking for $ac_word" >&5
69982 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
69983 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
69984 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
69985 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
69986 echo $ECHO_N "(cached) $ECHO_C" >&6
69987 else
69988 @@ -2924,27 +3408,41 @@
69989 IFS=$as_save_IFS
69990 test -z "$as_dir" && as_dir=.
69991 for ac_exec_ext in '' $ac_executable_extensions; do
69992 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
69993 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
69994 ac_cv_prog_ac_ct_STRIP="strip"
69995 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
69996 break 2
69997 fi
69998 done
69999 done
70000 +IFS=$as_save_IFS
70001
70002 - test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
70003 fi
70004 fi
70005 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
70006 if test -n "$ac_ct_STRIP"; then
70007 - echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
70008 -echo "${ECHO_T}$ac_ct_STRIP" >&6
70009 + { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
70010 +echo "${ECHO_T}$ac_ct_STRIP" >&6; }
70011 else
70012 - echo "$as_me:$LINENO: result: no" >&5
70013 -echo "${ECHO_T}no" >&6
70014 + { echo "$as_me:$LINENO: result: no" >&5
70015 +echo "${ECHO_T}no" >&6; }
70016 fi
70017
70018 - STRIP=$ac_ct_STRIP
70019 + if test "x$ac_ct_STRIP" = x; then
70020 + STRIP=":"
70021 + else
70022 + case $cross_compiling:$ac_tool_warned in
70023 +yes:)
70024 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
70025 +whose name does not start with the host triplet. If you think this
70026 +configuration is useful to you, please write to autoconf@gnu.org." >&5
70027 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
70028 +whose name does not start with the host triplet. If you think this
70029 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
70030 +ac_tool_warned=yes ;;
70031 +esac
70032 + STRIP=$ac_ct_STRIP
70033 + fi
70034 else
70035 STRIP="$ac_cv_prog_STRIP"
70036 fi
70037 @@ -2965,8 +3463,8 @@
70038
70039 depcc="$CC" am_compiler_list=
70040
70041 -echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
70042 -echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
70043 +{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
70044 +echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
70045 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
70046 echo $ECHO_N "(cached) $ECHO_C" >&6
70047 else
70048 @@ -3055,8 +3553,8 @@
70049 fi
70050
70051 fi
70052 -echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
70053 -echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
70054 +{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
70055 +echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
70056 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
70057
70058
70059 @@ -3074,10 +3572,9 @@
70060
70061
70062
70063 -# Check whether --enable-shared or --disable-shared was given.
70064 +# Check whether --enable-shared was given.
70065 if test "${enable_shared+set}" = set; then
70066 - enableval="$enable_shared"
70067 - p=${PACKAGE-default}
70068 + enableval=$enable_shared; p=${PACKAGE-default}
70069 case $enableval in
70070 yes) enable_shared=yes ;;
70071 no) enable_shared=no ;;
70072 @@ -3095,11 +3592,11 @@
70073 esac
70074 else
70075 enable_shared=yes
70076 -fi;
70077 -# Check whether --enable-static or --disable-static was given.
70078 +fi
70079 +
70080 +# Check whether --enable-static was given.
70081 if test "${enable_static+set}" = set; then
70082 - enableval="$enable_static"
70083 - p=${PACKAGE-default}
70084 + enableval=$enable_static; p=${PACKAGE-default}
70085 case $enableval in
70086 yes) enable_static=yes ;;
70087 no) enable_static=no ;;
70088 @@ -3117,11 +3614,11 @@
70089 esac
70090 else
70091 enable_static=yes
70092 -fi;
70093 -# Check whether --enable-fast-install or --disable-fast-install was given.
70094 +fi
70095 +
70096 +# Check whether --enable-fast-install was given.
70097 if test "${enable_fast_install+set}" = set; then
70098 - enableval="$enable_fast_install"
70099 - p=${PACKAGE-default}
70100 + enableval=$enable_fast_install; p=${PACKAGE-default}
70101 case $enableval in
70102 yes) enable_fast_install=yes ;;
70103 no) enable_fast_install=no ;;
70104 @@ -3139,20 +3636,21 @@
70105 esac
70106 else
70107 enable_fast_install=yes
70108 -fi;
70109 +fi
70110 +
70111
70112 -# Check whether --with-gnu-ld or --without-gnu-ld was given.
70113 +# Check whether --with-gnu-ld was given.
70114 if test "${with_gnu_ld+set}" = set; then
70115 - withval="$with_gnu_ld"
70116 - test "$withval" = no || with_gnu_ld=yes
70117 + withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
70118 else
70119 with_gnu_ld=no
70120 -fi;
70121 +fi
70122 +
70123 ac_prog=ld
70124 if test "$GCC" = yes; then
70125 # Check if gcc -print-prog-name=ld gives a path.
70126 - echo "$as_me:$LINENO: checking for ld used by GCC" >&5
70127 -echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
70128 + { echo "$as_me:$LINENO: checking for ld used by GCC" >&5
70129 +echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6; }
70130 case $host in
70131 *-*-mingw*)
70132 # gcc leaves a trailing carriage return which upsets mingw
70133 @@ -3181,11 +3679,11 @@
70134 ;;
70135 esac
70136 elif test "$with_gnu_ld" = yes; then
70137 - echo "$as_me:$LINENO: checking for GNU ld" >&5
70138 -echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
70139 + { echo "$as_me:$LINENO: checking for GNU ld" >&5
70140 +echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
70141 else
70142 - echo "$as_me:$LINENO: checking for non-GNU ld" >&5
70143 -echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
70144 + { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
70145 +echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
70146 fi
70147 if test "${lt_cv_path_LD+set}" = set; then
70148 echo $ECHO_N "(cached) $ECHO_C" >&6
70149 @@ -3214,17 +3712,17 @@
70150
70151 LD="$lt_cv_path_LD"
70152 if test -n "$LD"; then
70153 - echo "$as_me:$LINENO: result: $LD" >&5
70154 -echo "${ECHO_T}$LD" >&6
70155 + { echo "$as_me:$LINENO: result: $LD" >&5
70156 +echo "${ECHO_T}$LD" >&6; }
70157 else
70158 - echo "$as_me:$LINENO: result: no" >&5
70159 -echo "${ECHO_T}no" >&6
70160 + { echo "$as_me:$LINENO: result: no" >&5
70161 +echo "${ECHO_T}no" >&6; }
70162 fi
70163 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
70164 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
70165 { (exit 1); exit 1; }; }
70166 -echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
70167 -echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
70168 +{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
70169 +echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
70170 if test "${lt_cv_prog_gnu_ld+set}" = set; then
70171 echo $ECHO_N "(cached) $ECHO_C" >&6
70172 else
70173 @@ -3235,25 +3733,25 @@
70174 lt_cv_prog_gnu_ld=no
70175 fi
70176 fi
70177 -echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
70178 -echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
70179 +{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
70180 +echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
70181 with_gnu_ld=$lt_cv_prog_gnu_ld
70182
70183
70184 -echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
70185 -echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
70186 +{ echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
70187 +echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
70188 if test "${lt_cv_ld_reload_flag+set}" = set; then
70189 echo $ECHO_N "(cached) $ECHO_C" >&6
70190 else
70191 lt_cv_ld_reload_flag='-r'
70192 fi
70193 -echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
70194 -echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
70195 +{ echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
70196 +echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
70197 reload_flag=$lt_cv_ld_reload_flag
70198 test -n "$reload_flag" && reload_flag=" $reload_flag"
70199
70200 -echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
70201 -echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
70202 +{ echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
70203 +echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
70204 if test "${lt_cv_path_NM+set}" = set; then
70205 echo $ECHO_N "(cached) $ECHO_C" >&6
70206 else
70207 @@ -3288,22 +3786,22 @@
70208 fi
70209
70210 NM="$lt_cv_path_NM"
70211 -echo "$as_me:$LINENO: result: $NM" >&5
70212 -echo "${ECHO_T}$NM" >&6
70213 +{ echo "$as_me:$LINENO: result: $NM" >&5
70214 +echo "${ECHO_T}$NM" >&6; }
70215
70216 -echo "$as_me:$LINENO: checking whether ln -s works" >&5
70217 -echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
70218 +{ echo "$as_me:$LINENO: checking whether ln -s works" >&5
70219 +echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
70220 LN_S=$as_ln_s
70221 if test "$LN_S" = "ln -s"; then
70222 - echo "$as_me:$LINENO: result: yes" >&5
70223 -echo "${ECHO_T}yes" >&6
70224 + { echo "$as_me:$LINENO: result: yes" >&5
70225 +echo "${ECHO_T}yes" >&6; }
70226 else
70227 - echo "$as_me:$LINENO: result: no, using $LN_S" >&5
70228 -echo "${ECHO_T}no, using $LN_S" >&6
70229 + { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
70230 +echo "${ECHO_T}no, using $LN_S" >&6; }
70231 fi
70232
70233 -echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
70234 -echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
70235 +{ echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
70236 +echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6; }
70237 if test "${lt_cv_deplibs_check_method+set}" = set; then
70238 echo $ECHO_N "(cached) $ECHO_C" >&6
70239 else
70240 @@ -3465,8 +3963,8 @@
70241 esac
70242
70243 fi
70244 -echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
70245 -echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
70246 +{ echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
70247 +echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
70248 file_magic_cmd=$lt_cv_file_magic_cmd
70249 deplibs_check_method=$lt_cv_deplibs_check_method
70250
70251 @@ -3476,8 +3974,8 @@
70252 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
70253
70254 # find the maximum length of command line arguments
70255 -echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
70256 -echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
70257 +{ echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
70258 +echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
70259 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
70260 echo $ECHO_N "(cached) $ECHO_C" >&6
70261 else
70262 @@ -3528,11 +4026,11 @@
70263 fi
70264
70265 if test -n "$lt_cv_sys_max_cmd_len" ; then
70266 - echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
70267 -echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
70268 + { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
70269 +echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
70270 else
70271 - echo "$as_me:$LINENO: result: none" >&5
70272 -echo "${ECHO_T}none" >&6
70273 + { echo "$as_me:$LINENO: result: none" >&5
70274 +echo "${ECHO_T}none" >&6; }
70275 fi
70276
70277
70278 @@ -3540,8 +4038,8 @@
70279 case $deplibs_check_method in
70280 file_magic*)
70281 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
70282 - echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
70283 -echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
70284 + { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
70285 +echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
70286 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
70287 echo $ECHO_N "(cached) $ECHO_C" >&6
70288 else
70289 @@ -3595,17 +4093,17 @@
70290
70291 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
70292 if test -n "$MAGIC_CMD"; then
70293 - echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
70294 -echo "${ECHO_T}$MAGIC_CMD" >&6
70295 + { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
70296 +echo "${ECHO_T}$MAGIC_CMD" >&6; }
70297 else
70298 - echo "$as_me:$LINENO: result: no" >&5
70299 -echo "${ECHO_T}no" >&6
70300 + { echo "$as_me:$LINENO: result: no" >&5
70301 +echo "${ECHO_T}no" >&6; }
70302 fi
70303
70304 if test -z "$lt_cv_path_MAGIC_CMD"; then
70305 if test -n "$ac_tool_prefix"; then
70306 - echo "$as_me:$LINENO: checking for file" >&5
70307 -echo $ECHO_N "checking for file... $ECHO_C" >&6
70308 + { echo "$as_me:$LINENO: checking for file" >&5
70309 +echo $ECHO_N "checking for file... $ECHO_C" >&6; }
70310 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
70311 echo $ECHO_N "(cached) $ECHO_C" >&6
70312 else
70313 @@ -3659,11 +4157,11 @@
70314
70315 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
70316 if test -n "$MAGIC_CMD"; then
70317 - echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
70318 -echo "${ECHO_T}$MAGIC_CMD" >&6
70319 + { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
70320 +echo "${ECHO_T}$MAGIC_CMD" >&6; }
70321 else
70322 - echo "$as_me:$LINENO: result: no" >&5
70323 -echo "${ECHO_T}no" >&6
70324 + { echo "$as_me:$LINENO: result: no" >&5
70325 +echo "${ECHO_T}no" >&6; }
70326 fi
70327
70328 else
70329 @@ -3678,8 +4176,8 @@
70330 if test -n "$ac_tool_prefix"; then
70331 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
70332 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
70333 -echo "$as_me:$LINENO: checking for $ac_word" >&5
70334 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
70335 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
70336 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
70337 if test "${ac_cv_prog_RANLIB+set}" = set; then
70338 echo $ECHO_N "(cached) $ECHO_C" >&6
70339 else
70340 @@ -3692,32 +4190,34 @@
70341 IFS=$as_save_IFS
70342 test -z "$as_dir" && as_dir=.
70343 for ac_exec_ext in '' $ac_executable_extensions; do
70344 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
70345 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
70346 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
70347 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
70348 break 2
70349 fi
70350 done
70351 done
70352 +IFS=$as_save_IFS
70353
70354 fi
70355 fi
70356 RANLIB=$ac_cv_prog_RANLIB
70357 if test -n "$RANLIB"; then
70358 - echo "$as_me:$LINENO: result: $RANLIB" >&5
70359 -echo "${ECHO_T}$RANLIB" >&6
70360 + { echo "$as_me:$LINENO: result: $RANLIB" >&5
70361 +echo "${ECHO_T}$RANLIB" >&6; }
70362 else
70363 - echo "$as_me:$LINENO: result: no" >&5
70364 -echo "${ECHO_T}no" >&6
70365 + { echo "$as_me:$LINENO: result: no" >&5
70366 +echo "${ECHO_T}no" >&6; }
70367 fi
70368
70369 +
70370 fi
70371 if test -z "$ac_cv_prog_RANLIB"; then
70372 ac_ct_RANLIB=$RANLIB
70373 # Extract the first word of "ranlib", so it can be a program name with args.
70374 set dummy ranlib; ac_word=$2
70375 -echo "$as_me:$LINENO: checking for $ac_word" >&5
70376 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
70377 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
70378 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
70379 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
70380 echo $ECHO_N "(cached) $ECHO_C" >&6
70381 else
70382 @@ -3730,27 +4230,41 @@
70383 IFS=$as_save_IFS
70384 test -z "$as_dir" && as_dir=.
70385 for ac_exec_ext in '' $ac_executable_extensions; do
70386 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
70387 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
70388 ac_cv_prog_ac_ct_RANLIB="ranlib"
70389 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
70390 break 2
70391 fi
70392 done
70393 done
70394 +IFS=$as_save_IFS
70395
70396 - test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
70397 fi
70398 fi
70399 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
70400 if test -n "$ac_ct_RANLIB"; then
70401 - echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
70402 -echo "${ECHO_T}$ac_ct_RANLIB" >&6
70403 + { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
70404 +echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
70405 else
70406 - echo "$as_me:$LINENO: result: no" >&5
70407 -echo "${ECHO_T}no" >&6
70408 + { echo "$as_me:$LINENO: result: no" >&5
70409 +echo "${ECHO_T}no" >&6; }
70410 fi
70411
70412 - RANLIB=$ac_ct_RANLIB
70413 + if test "x$ac_ct_RANLIB" = x; then
70414 + RANLIB=":"
70415 + else
70416 + case $cross_compiling:$ac_tool_warned in
70417 +yes:)
70418 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
70419 +whose name does not start with the host triplet. If you think this
70420 +configuration is useful to you, please write to autoconf@gnu.org." >&5
70421 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
70422 +whose name does not start with the host triplet. If you think this
70423 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
70424 +ac_tool_warned=yes ;;
70425 +esac
70426 + RANLIB=$ac_ct_RANLIB
70427 + fi
70428 else
70429 RANLIB="$ac_cv_prog_RANLIB"
70430 fi
70431 @@ -3758,8 +4272,8 @@
70432 if test -n "$ac_tool_prefix"; then
70433 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
70434 set dummy ${ac_tool_prefix}strip; ac_word=$2
70435 -echo "$as_me:$LINENO: checking for $ac_word" >&5
70436 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
70437 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
70438 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
70439 if test "${ac_cv_prog_STRIP+set}" = set; then
70440 echo $ECHO_N "(cached) $ECHO_C" >&6
70441 else
70442 @@ -3772,32 +4286,34 @@
70443 IFS=$as_save_IFS
70444 test -z "$as_dir" && as_dir=.
70445 for ac_exec_ext in '' $ac_executable_extensions; do
70446 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
70447 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
70448 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
70449 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
70450 break 2
70451 fi
70452 done
70453 done
70454 +IFS=$as_save_IFS
70455
70456 fi
70457 fi
70458 STRIP=$ac_cv_prog_STRIP
70459 if test -n "$STRIP"; then
70460 - echo "$as_me:$LINENO: result: $STRIP" >&5
70461 -echo "${ECHO_T}$STRIP" >&6
70462 + { echo "$as_me:$LINENO: result: $STRIP" >&5
70463 +echo "${ECHO_T}$STRIP" >&6; }
70464 else
70465 - echo "$as_me:$LINENO: result: no" >&5
70466 -echo "${ECHO_T}no" >&6
70467 + { echo "$as_me:$LINENO: result: no" >&5
70468 +echo "${ECHO_T}no" >&6; }
70469 fi
70470
70471 +
70472 fi
70473 if test -z "$ac_cv_prog_STRIP"; then
70474 ac_ct_STRIP=$STRIP
70475 # Extract the first word of "strip", so it can be a program name with args.
70476 set dummy strip; ac_word=$2
70477 -echo "$as_me:$LINENO: checking for $ac_word" >&5
70478 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
70479 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
70480 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
70481 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
70482 echo $ECHO_N "(cached) $ECHO_C" >&6
70483 else
70484 @@ -3810,27 +4326,41 @@
70485 IFS=$as_save_IFS
70486 test -z "$as_dir" && as_dir=.
70487 for ac_exec_ext in '' $ac_executable_extensions; do
70488 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
70489 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
70490 ac_cv_prog_ac_ct_STRIP="strip"
70491 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
70492 break 2
70493 fi
70494 done
70495 done
70496 +IFS=$as_save_IFS
70497
70498 - test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
70499 fi
70500 fi
70501 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
70502 if test -n "$ac_ct_STRIP"; then
70503 - echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
70504 -echo "${ECHO_T}$ac_ct_STRIP" >&6
70505 + { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
70506 +echo "${ECHO_T}$ac_ct_STRIP" >&6; }
70507 else
70508 - echo "$as_me:$LINENO: result: no" >&5
70509 -echo "${ECHO_T}no" >&6
70510 + { echo "$as_me:$LINENO: result: no" >&5
70511 +echo "${ECHO_T}no" >&6; }
70512 fi
70513
70514 - STRIP=$ac_ct_STRIP
70515 + if test "x$ac_ct_STRIP" = x; then
70516 + STRIP=":"
70517 + else
70518 + case $cross_compiling:$ac_tool_warned in
70519 +yes:)
70520 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
70521 +whose name does not start with the host triplet. If you think this
70522 +configuration is useful to you, please write to autoconf@gnu.org." >&5
70523 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
70524 +whose name does not start with the host triplet. If you think this
70525 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
70526 +ac_tool_warned=yes ;;
70527 +esac
70528 + STRIP=$ac_ct_STRIP
70529 + fi
70530 else
70531 STRIP="$ac_cv_prog_STRIP"
70532 fi
70533 @@ -3845,22 +4375,22 @@
70534 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
70535
70536
70537 -# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
70538 +# Check whether --enable-libtool-lock was given.
70539 if test "${enable_libtool_lock+set}" = set; then
70540 - enableval="$enable_libtool_lock"
70541 + enableval=$enable_libtool_lock;
70542 +fi
70543
70544 -fi;
70545 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
70546 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
70547
70548
70549 -# Check whether --with-pic or --without-pic was given.
70550 +# Check whether --with-pic was given.
70551 if test "${with_pic+set}" = set; then
70552 - withval="$with_pic"
70553 - pic_mode="$withval"
70554 + withval=$with_pic; pic_mode="$withval"
70555 else
70556 pic_mode=default
70557 -fi;
70558 +fi
70559 +
70560 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
70561 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
70562
70563 @@ -3869,7 +4399,7 @@
70564 case $host in
70565 *-*-irix6*)
70566 # Find out which ABI we are using.
70567 - echo '#line 3872 "configure"' > conftest.$ac_ext
70568 + echo '#line 4402 "configure"' > conftest.$ac_ext
70569 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70570 (eval $ac_compile) 2>&5
70571 ac_status=$?
70572 @@ -3974,13 +4504,12 @@
70573 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
70574 SAVE_CFLAGS="$CFLAGS"
70575 CFLAGS="$CFLAGS -belf"
70576 - echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
70577 -echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
70578 + { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
70579 +echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
70580 if test "${lt_cv_cc_needs_belf+set}" = set; then
70581 echo $ECHO_N "(cached) $ECHO_C" >&6
70582 else
70583
70584 -
70585 ac_ext=c
70586 ac_cpp='$CPP $CPPFLAGS'
70587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70588 @@ -4003,35 +4532,32 @@
70589 }
70590 _ACEOF
70591 rm -f conftest.$ac_objext conftest$ac_exeext
70592 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70593 - (eval $ac_link) 2>conftest.er1
70594 +if { (ac_try="$ac_link"
70595 +case "(($ac_try" in
70596 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
70597 + *) ac_try_echo=$ac_try;;
70598 +esac
70599 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
70600 + (eval "$ac_link") 2>conftest.er1
70601 ac_status=$?
70602 grep -v '^ *+' conftest.er1 >conftest.err
70603 rm -f conftest.er1
70604 cat conftest.err >&5
70605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70606 - (exit $ac_status); } &&
70607 - { ac_try='test -z "$ac_c_werror_flag"
70608 - || test ! -s conftest.err'
70609 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70610 - (eval $ac_try) 2>&5
70611 - ac_status=$?
70612 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
70613 - (exit $ac_status); }; } &&
70614 - { ac_try='test -s conftest$ac_exeext'
70615 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70616 - (eval $ac_try) 2>&5
70617 - ac_status=$?
70618 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
70619 - (exit $ac_status); }; }; then
70620 + (exit $ac_status); } && {
70621 + test -z "$ac_c_werror_flag" ||
70622 + test ! -s conftest.err
70623 + } && test -s conftest$ac_exeext &&
70624 + $as_test_x conftest$ac_exeext; then
70625 lt_cv_cc_needs_belf=yes
70626 else
70627 echo "$as_me: failed program was:" >&5
70628 sed 's/^/| /' conftest.$ac_ext >&5
70629
70630 -lt_cv_cc_needs_belf=no
70631 + lt_cv_cc_needs_belf=no
70632 fi
70633 -rm -f conftest.err conftest.$ac_objext \
70634 +
70635 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
70636 conftest$ac_exeext conftest.$ac_ext
70637 ac_ext=c
70638 ac_cpp='$CPP $CPPFLAGS'
70639 @@ -4040,8 +4566,8 @@
70640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70641
70642 fi
70643 -echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
70644 -echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
70645 +{ echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
70646 +echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
70647 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
70648 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
70649 CFLAGS="$SAVE_CFLAGS"
70650 @@ -4071,39 +4597,58 @@
70651
70652 # The following way of writing the cache mishandles newlines in values,
70653 # but we know of no workaround that is simple, portable, and efficient.
70654 -# So, don't put newlines in cache variables' values.
70655 +# So, we kill variables containing newlines.
70656 # Ultrix sh set writes to stderr and can't be redirected directly,
70657 # and sets the high bit in the cache file unless we assign to the vars.
70658 -{
70659 +(
70660 + for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
70661 + eval ac_val=\$$ac_var
70662 + case $ac_val in #(
70663 + *${as_nl}*)
70664 + case $ac_var in #(
70665 + *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
70666 +echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
70667 + esac
70668 + case $ac_var in #(
70669 + _ | IFS | as_nl) ;; #(
70670 + *) $as_unset $ac_var ;;
70671 + esac ;;
70672 + esac
70673 + done
70674 +
70675 (set) 2>&1 |
70676 - case `(ac_space=' '; set | grep ac_space) 2>&1` in
70677 - *ac_space=\ *)
70678 + case $as_nl`(ac_space=' '; set) 2>&1` in #(
70679 + *${as_nl}ac_space=\ *)
70680 # `set' does not quote correctly, so add quotes (double-quote
70681 # substitution turns \\\\ into \\, and sed turns \\ into \).
70682 sed -n \
70683 "s/'/'\\\\''/g;
70684 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
70685 - ;;
70686 + ;; #(
70687 *)
70688 # `set' quotes correctly as required by POSIX, so do not add quotes.
70689 - sed -n \
70690 - "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
70691 + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
70692 ;;
70693 - esac;
70694 -} |
70695 + esac |
70696 + sort
70697 +) |
70698 sed '
70699 + /^ac_cv_env_/b end
70700 t clear
70701 - : clear
70702 + :clear
70703 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
70704 t end
70705 - /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
70706 - : end' >>confcache
70707 -if diff $cache_file confcache >/dev/null 2>&1; then :; else
70708 - if test -w $cache_file; then
70709 - test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
70710 + s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
70711 + :end' >>confcache
70712 +if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
70713 + if test -w "$cache_file"; then
70714 + test "x$cache_file" != "x/dev/null" &&
70715 + { echo "$as_me:$LINENO: updating cache $cache_file" >&5
70716 +echo "$as_me: updating cache $cache_file" >&6;}
70717 cat confcache >$cache_file
70718 else
70719 - echo "not updating unwritable cache $cache_file"
70720 + { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
70721 +echo "$as_me: not updating unwritable cache $cache_file" >&6;}
70722 fi
70723 fi
70724 rm -f confcache
70725 @@ -4129,8 +4674,8 @@
70726 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
70727 echo "$as_me: loading cache $cache_file" >&6;}
70728 case $cache_file in
70729 - [\\/]* | ?:[\\/]* ) . $cache_file;;
70730 - *) . ./$cache_file;;
70731 + [\\/]* | ?:[\\/]* ) . "$cache_file";;
70732 + *) . "./$cache_file";;
70733 esac
70734 fi
70735 else
70736 @@ -4157,15 +4702,14 @@
70737
70738
70739
70740 -# Check whether --with-lib-path or --without-lib-path was given.
70741 +# Check whether --with-lib-path was given.
70742 if test "${with_lib_path+set}" = set; then
70743 - withval="$with_lib_path"
70744 - LIB_PATH=$withval
70745 -fi;
70746 -# Check whether --enable-targets or --disable-targets was given.
70747 + withval=$with_lib_path; LIB_PATH=$withval
70748 +fi
70749 +
70750 +# Check whether --enable-targets was given.
70751 if test "${enable_targets+set}" = set; then
70752 - enableval="$enable_targets"
70753 - case "${enableval}" in
70754 + enableval=$enable_targets; case "${enableval}" in
70755 yes | "") { { echo "$as_me:$LINENO: error: enable-targets option must specify target names or 'all'" >&5
70756 echo "$as_me: error: enable-targets option must specify target names or 'all'" >&2;}
70757 { (exit 1); exit 1; }; }
70758 @@ -4173,10 +4717,10 @@
70759 no) enable_targets= ;;
70760 *) enable_targets=$enableval ;;
70761 esac
70762 -fi; # Check whether --enable-64-bit-bfd or --disable-64-bit-bfd was given.
70763 +fi
70764 +# Check whether --enable-64-bit-bfd was given.
70765 if test "${enable_64_bit_bfd+set}" = set; then
70766 - enableval="$enable_64_bit_bfd"
70767 - case "${enableval}" in
70768 + enableval=$enable_64_bit_bfd; case "${enableval}" in
70769 yes) want64=true ;;
70770 no) want64=false ;;
70771 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for 64-bit-bfd option" >&5
70772 @@ -4185,12 +4729,12 @@
70773 esac
70774 else
70775 want64=false
70776 -fi;
70777 +fi
70778
70779 -# Check whether --with-sysroot or --without-sysroot was given.
70780 -if test "${with_sysroot+set}" = set; then
70781 - withval="$with_sysroot"
70782
70783 +# Check whether --with-sysroot was given.
70784 +if test "${with_sysroot+set}" = set; then
70785 + withval=$with_sysroot;
70786 case ${with_sysroot} in
70787 yes) TARGET_SYSTEM_ROOT='${exec_prefix}/${target_alias}/sys-root' ;;
70788 *) TARGET_SYSTEM_ROOT=$with_sysroot ;;
70789 @@ -4222,7 +4766,8 @@
70790 TARGET_SYSTEM_ROOT=
70791 TARGET_SYSTEM_ROOT_DEFINE='-DTARGET_SYSTEM_ROOT=\"\"'
70792
70793 -fi;
70794 +fi
70795 +
70796
70797
70798
70799 @@ -4230,17 +4775,17 @@
70800
70801 GCC_WARN_CFLAGS="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
70802
70803 -# Check whether --enable-werror or --disable-werror was given.
70804 +# Check whether --enable-werror was given.
70805 if test "${enable_werror+set}" = set; then
70806 - enableval="$enable_werror"
70807 - case "${enableval}" in
70808 + enableval=$enable_werror; case "${enableval}" in
70809 yes | y) ERROR_ON_WARNING="yes" ;;
70810 no | n) ERROR_ON_WARNING="no" ;;
70811 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-werror" >&5
70812 echo "$as_me: error: bad value ${enableval} for --enable-werror" >&2;}
70813 { (exit 1); exit 1; }; } ;;
70814 esac
70815 -fi;
70816 +fi
70817 +
70818
70819 # Enable -Werror by default when using gcc
70820 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
70821 @@ -4257,10 +4802,9 @@
70822 WARN_CFLAGS="${GCC_WARN_CFLAGS}"
70823 fi
70824
70825 -# Check whether --enable-build-warnings or --disable-build-warnings was given.
70826 +# Check whether --enable-build-warnings was given.
70827 if test "${enable_build_warnings+set}" = set; then
70828 - enableval="$enable_build_warnings"
70829 - case "${enableval}" in
70830 + enableval=$enable_build_warnings; case "${enableval}" in
70831 yes) WARN_CFLAGS="${GCC_WARN_CFLAGS}";;
70832 no) if test "${GCC}" = yes ; then
70833 WARN_CFLAGS="-w"
70834 @@ -4271,7 +4815,8 @@
70835 WARN_CFLAGS="${t} ${GCC_WARN_CFLAGS}";;
70836 *) WARN_CFLAGS=`echo "${enableval}" | sed -e "s/,/ /g"`;;
70837 esac
70838 -fi;
70839 +fi
70840 +
70841
70842 if test x"$silent" != x"yes" && test x"$WARN_CFLAGS" != x""; then
70843 echo "Setting warning flags = $WARN_CFLAGS" 6>&1
70844 @@ -4281,7 +4826,7 @@
70845
70846
70847
70848 - ac_config_headers="$ac_config_headers config.h:config.in"
70849 +ac_config_headers="$ac_config_headers config.h:config.in"
70850
70851
70852 if test -z "$target" ; then
70853 @@ -4305,8 +4850,8 @@
70854 if test -n "$ac_tool_prefix"; then
70855 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
70856 set dummy ${ac_tool_prefix}gcc; ac_word=$2
70857 -echo "$as_me:$LINENO: checking for $ac_word" >&5
70858 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
70859 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
70860 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
70861 if test "${ac_cv_prog_CC+set}" = set; then
70862 echo $ECHO_N "(cached) $ECHO_C" >&6
70863 else
70864 @@ -4319,32 +4864,34 @@
70865 IFS=$as_save_IFS
70866 test -z "$as_dir" && as_dir=.
70867 for ac_exec_ext in '' $ac_executable_extensions; do
70868 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
70869 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
70870 ac_cv_prog_CC="${ac_tool_prefix}gcc"
70871 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
70872 break 2
70873 fi
70874 done
70875 done
70876 +IFS=$as_save_IFS
70877
70878 fi
70879 fi
70880 CC=$ac_cv_prog_CC
70881 if test -n "$CC"; then
70882 - echo "$as_me:$LINENO: result: $CC" >&5
70883 -echo "${ECHO_T}$CC" >&6
70884 + { echo "$as_me:$LINENO: result: $CC" >&5
70885 +echo "${ECHO_T}$CC" >&6; }
70886 else
70887 - echo "$as_me:$LINENO: result: no" >&5
70888 -echo "${ECHO_T}no" >&6
70889 + { echo "$as_me:$LINENO: result: no" >&5
70890 +echo "${ECHO_T}no" >&6; }
70891 fi
70892
70893 +
70894 fi
70895 if test -z "$ac_cv_prog_CC"; then
70896 ac_ct_CC=$CC
70897 # Extract the first word of "gcc", so it can be a program name with args.
70898 set dummy gcc; ac_word=$2
70899 -echo "$as_me:$LINENO: checking for $ac_word" >&5
70900 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
70901 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
70902 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
70903 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
70904 echo $ECHO_N "(cached) $ECHO_C" >&6
70905 else
70906 @@ -4357,36 +4904,51 @@
70907 IFS=$as_save_IFS
70908 test -z "$as_dir" && as_dir=.
70909 for ac_exec_ext in '' $ac_executable_extensions; do
70910 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
70911 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
70912 ac_cv_prog_ac_ct_CC="gcc"
70913 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
70914 break 2
70915 fi
70916 done
70917 done
70918 +IFS=$as_save_IFS
70919
70920 fi
70921 fi
70922 ac_ct_CC=$ac_cv_prog_ac_ct_CC
70923 if test -n "$ac_ct_CC"; then
70924 - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
70925 -echo "${ECHO_T}$ac_ct_CC" >&6
70926 + { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
70927 +echo "${ECHO_T}$ac_ct_CC" >&6; }
70928 else
70929 - echo "$as_me:$LINENO: result: no" >&5
70930 -echo "${ECHO_T}no" >&6
70931 + { echo "$as_me:$LINENO: result: no" >&5
70932 +echo "${ECHO_T}no" >&6; }
70933 fi
70934
70935 - CC=$ac_ct_CC
70936 + if test "x$ac_ct_CC" = x; then
70937 + CC=""
70938 + else
70939 + case $cross_compiling:$ac_tool_warned in
70940 +yes:)
70941 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
70942 +whose name does not start with the host triplet. If you think this
70943 +configuration is useful to you, please write to autoconf@gnu.org." >&5
70944 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
70945 +whose name does not start with the host triplet. If you think this
70946 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
70947 +ac_tool_warned=yes ;;
70948 +esac
70949 + CC=$ac_ct_CC
70950 + fi
70951 else
70952 CC="$ac_cv_prog_CC"
70953 fi
70954
70955 if test -z "$CC"; then
70956 - if test -n "$ac_tool_prefix"; then
70957 - # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
70958 + if test -n "$ac_tool_prefix"; then
70959 + # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
70960 set dummy ${ac_tool_prefix}cc; ac_word=$2
70961 -echo "$as_me:$LINENO: checking for $ac_word" >&5
70962 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
70963 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
70964 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
70965 if test "${ac_cv_prog_CC+set}" = set; then
70966 echo $ECHO_N "(cached) $ECHO_C" >&6
70967 else
70968 @@ -4399,74 +4961,34 @@
70969 IFS=$as_save_IFS
70970 test -z "$as_dir" && as_dir=.
70971 for ac_exec_ext in '' $ac_executable_extensions; do
70972 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
70973 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
70974 ac_cv_prog_CC="${ac_tool_prefix}cc"
70975 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
70976 break 2
70977 fi
70978 done
70979 done
70980 +IFS=$as_save_IFS
70981
70982 fi
70983 fi
70984 CC=$ac_cv_prog_CC
70985 if test -n "$CC"; then
70986 - echo "$as_me:$LINENO: result: $CC" >&5
70987 -echo "${ECHO_T}$CC" >&6
70988 -else
70989 - echo "$as_me:$LINENO: result: no" >&5
70990 -echo "${ECHO_T}no" >&6
70991 -fi
70992 -
70993 -fi
70994 -if test -z "$ac_cv_prog_CC"; then
70995 - ac_ct_CC=$CC
70996 - # Extract the first word of "cc", so it can be a program name with args.
70997 -set dummy cc; ac_word=$2
70998 -echo "$as_me:$LINENO: checking for $ac_word" >&5
70999 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
71000 -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
71001 - echo $ECHO_N "(cached) $ECHO_C" >&6
71002 -else
71003 - if test -n "$ac_ct_CC"; then
71004 - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
71005 -else
71006 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
71007 -for as_dir in $PATH
71008 -do
71009 - IFS=$as_save_IFS
71010 - test -z "$as_dir" && as_dir=.
71011 - for ac_exec_ext in '' $ac_executable_extensions; do
71012 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
71013 - ac_cv_prog_ac_ct_CC="cc"
71014 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
71015 - break 2
71016 - fi
71017 -done
71018 -done
71019 -
71020 -fi
71021 -fi
71022 -ac_ct_CC=$ac_cv_prog_ac_ct_CC
71023 -if test -n "$ac_ct_CC"; then
71024 - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
71025 -echo "${ECHO_T}$ac_ct_CC" >&6
71026 + { echo "$as_me:$LINENO: result: $CC" >&5
71027 +echo "${ECHO_T}$CC" >&6; }
71028 else
71029 - echo "$as_me:$LINENO: result: no" >&5
71030 -echo "${ECHO_T}no" >&6
71031 + { echo "$as_me:$LINENO: result: no" >&5
71032 +echo "${ECHO_T}no" >&6; }
71033 fi
71034
71035 - CC=$ac_ct_CC
71036 -else
71037 - CC="$ac_cv_prog_CC"
71038 -fi
71039
71040 + fi
71041 fi
71042 if test -z "$CC"; then
71043 # Extract the first word of "cc", so it can be a program name with args.
71044 set dummy cc; ac_word=$2
71045 -echo "$as_me:$LINENO: checking for $ac_word" >&5
71046 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
71047 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
71048 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
71049 if test "${ac_cv_prog_CC+set}" = set; then
71050 echo $ECHO_N "(cached) $ECHO_C" >&6
71051 else
71052 @@ -4480,7 +5002,7 @@
71053 IFS=$as_save_IFS
71054 test -z "$as_dir" && as_dir=.
71055 for ac_exec_ext in '' $ac_executable_extensions; do
71056 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
71057 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
71058 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
71059 ac_prog_rejected=yes
71060 continue
71061 @@ -4491,6 +5013,7 @@
71062 fi
71063 done
71064 done
71065 +IFS=$as_save_IFS
71066
71067 if test $ac_prog_rejected = yes; then
71068 # We found a bogon in the path, so make sure we never use it.
71069 @@ -4508,22 +5031,23 @@
71070 fi
71071 CC=$ac_cv_prog_CC
71072 if test -n "$CC"; then
71073 - echo "$as_me:$LINENO: result: $CC" >&5
71074 -echo "${ECHO_T}$CC" >&6
71075 + { echo "$as_me:$LINENO: result: $CC" >&5
71076 +echo "${ECHO_T}$CC" >&6; }
71077 else
71078 - echo "$as_me:$LINENO: result: no" >&5
71079 -echo "${ECHO_T}no" >&6
71080 + { echo "$as_me:$LINENO: result: no" >&5
71081 +echo "${ECHO_T}no" >&6; }
71082 fi
71083
71084 +
71085 fi
71086 if test -z "$CC"; then
71087 if test -n "$ac_tool_prefix"; then
71088 - for ac_prog in cl
71089 + for ac_prog in cl.exe
71090 do
71091 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
71092 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
71093 -echo "$as_me:$LINENO: checking for $ac_word" >&5
71094 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
71095 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
71096 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
71097 if test "${ac_cv_prog_CC+set}" = set; then
71098 echo $ECHO_N "(cached) $ECHO_C" >&6
71099 else
71100 @@ -4536,36 +5060,38 @@
71101 IFS=$as_save_IFS
71102 test -z "$as_dir" && as_dir=.
71103 for ac_exec_ext in '' $ac_executable_extensions; do
71104 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
71105 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
71106 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
71107 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
71108 break 2
71109 fi
71110 done
71111 done
71112 +IFS=$as_save_IFS
71113
71114 fi
71115 fi
71116 CC=$ac_cv_prog_CC
71117 if test -n "$CC"; then
71118 - echo "$as_me:$LINENO: result: $CC" >&5
71119 -echo "${ECHO_T}$CC" >&6
71120 + { echo "$as_me:$LINENO: result: $CC" >&5
71121 +echo "${ECHO_T}$CC" >&6; }
71122 else
71123 - echo "$as_me:$LINENO: result: no" >&5
71124 -echo "${ECHO_T}no" >&6
71125 + { echo "$as_me:$LINENO: result: no" >&5
71126 +echo "${ECHO_T}no" >&6; }
71127 fi
71128
71129 +
71130 test -n "$CC" && break
71131 done
71132 fi
71133 if test -z "$CC"; then
71134 ac_ct_CC=$CC
71135 - for ac_prog in cl
71136 + for ac_prog in cl.exe
71137 do
71138 # Extract the first word of "$ac_prog", so it can be a program name with args.
71139 set dummy $ac_prog; ac_word=$2
71140 -echo "$as_me:$LINENO: checking for $ac_word" >&5
71141 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
71142 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
71143 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
71144 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
71145 echo $ECHO_N "(cached) $ECHO_C" >&6
71146 else
71147 @@ -4578,29 +5104,45 @@
71148 IFS=$as_save_IFS
71149 test -z "$as_dir" && as_dir=.
71150 for ac_exec_ext in '' $ac_executable_extensions; do
71151 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
71152 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
71153 ac_cv_prog_ac_ct_CC="$ac_prog"
71154 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
71155 break 2
71156 fi
71157 done
71158 done
71159 +IFS=$as_save_IFS
71160
71161 fi
71162 fi
71163 ac_ct_CC=$ac_cv_prog_ac_ct_CC
71164 if test -n "$ac_ct_CC"; then
71165 - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
71166 -echo "${ECHO_T}$ac_ct_CC" >&6
71167 + { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
71168 +echo "${ECHO_T}$ac_ct_CC" >&6; }
71169 else
71170 - echo "$as_me:$LINENO: result: no" >&5
71171 -echo "${ECHO_T}no" >&6
71172 + { echo "$as_me:$LINENO: result: no" >&5
71173 +echo "${ECHO_T}no" >&6; }
71174 fi
71175
71176 +
71177 test -n "$ac_ct_CC" && break
71178 done
71179
71180 - CC=$ac_ct_CC
71181 + if test "x$ac_ct_CC" = x; then
71182 + CC=""
71183 + else
71184 + case $cross_compiling:$ac_tool_warned in
71185 +yes:)
71186 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
71187 +whose name does not start with the host triplet. If you think this
71188 +configuration is useful to you, please write to autoconf@gnu.org." >&5
71189 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
71190 +whose name does not start with the host triplet. If you think this
71191 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
71192 +ac_tool_warned=yes ;;
71193 +esac
71194 + CC=$ac_ct_CC
71195 + fi
71196 fi
71197
71198 fi
71199 @@ -4613,27 +5155,41 @@
71200 { (exit 1); exit 1; }; }
71201
71202 # Provide some information about the compiler.
71203 -echo "$as_me:$LINENO:" \
71204 - "checking for C compiler version" >&5
71205 +echo "$as_me:$LINENO: checking for C compiler version" >&5
71206 ac_compiler=`set X $ac_compile; echo $2`
71207 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
71208 - (eval $ac_compiler --version </dev/null >&5) 2>&5
71209 +{ (ac_try="$ac_compiler --version >&5"
71210 +case "(($ac_try" in
71211 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
71212 + *) ac_try_echo=$ac_try;;
71213 +esac
71214 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
71215 + (eval "$ac_compiler --version >&5") 2>&5
71216 ac_status=$?
71217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71218 (exit $ac_status); }
71219 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
71220 - (eval $ac_compiler -v </dev/null >&5) 2>&5
71221 +{ (ac_try="$ac_compiler -v >&5"
71222 +case "(($ac_try" in
71223 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
71224 + *) ac_try_echo=$ac_try;;
71225 +esac
71226 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
71227 + (eval "$ac_compiler -v >&5") 2>&5
71228 ac_status=$?
71229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71230 (exit $ac_status); }
71231 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
71232 - (eval $ac_compiler -V </dev/null >&5) 2>&5
71233 +{ (ac_try="$ac_compiler -V >&5"
71234 +case "(($ac_try" in
71235 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
71236 + *) ac_try_echo=$ac_try;;
71237 +esac
71238 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
71239 + (eval "$ac_compiler -V >&5") 2>&5
71240 ac_status=$?
71241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71242 (exit $ac_status); }
71243
71244 -echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
71245 -echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
71246 +{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
71247 +echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
71248 if test "${ac_cv_c_compiler_gnu+set}" = set; then
71249 echo $ECHO_N "(cached) $ECHO_C" >&6
71250 else
71251 @@ -4656,50 +5212,49 @@
71252 }
71253 _ACEOF
71254 rm -f conftest.$ac_objext
71255 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71256 - (eval $ac_compile) 2>conftest.er1
71257 +if { (ac_try="$ac_compile"
71258 +case "(($ac_try" in
71259 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
71260 + *) ac_try_echo=$ac_try;;
71261 +esac
71262 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
71263 + (eval "$ac_compile") 2>conftest.er1
71264 ac_status=$?
71265 grep -v '^ *+' conftest.er1 >conftest.err
71266 rm -f conftest.er1
71267 cat conftest.err >&5
71268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71269 - (exit $ac_status); } &&
71270 - { ac_try='test -z "$ac_c_werror_flag"
71271 - || test ! -s conftest.err'
71272 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71273 - (eval $ac_try) 2>&5
71274 - ac_status=$?
71275 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
71276 - (exit $ac_status); }; } &&
71277 - { ac_try='test -s conftest.$ac_objext'
71278 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71279 - (eval $ac_try) 2>&5
71280 - ac_status=$?
71281 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
71282 - (exit $ac_status); }; }; then
71283 + (exit $ac_status); } && {
71284 + test -z "$ac_c_werror_flag" ||
71285 + test ! -s conftest.err
71286 + } && test -s conftest.$ac_objext; then
71287 ac_compiler_gnu=yes
71288 else
71289 echo "$as_me: failed program was:" >&5
71290 sed 's/^/| /' conftest.$ac_ext >&5
71291
71292 -ac_compiler_gnu=no
71293 + ac_compiler_gnu=no
71294 fi
71295 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71296 +
71297 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71298 ac_cv_c_compiler_gnu=$ac_compiler_gnu
71299
71300 fi
71301 -echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
71302 -echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
71303 +{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
71304 +echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
71305 GCC=`test $ac_compiler_gnu = yes && echo yes`
71306 ac_test_CFLAGS=${CFLAGS+set}
71307 ac_save_CFLAGS=$CFLAGS
71308 -CFLAGS="-g"
71309 -echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
71310 -echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
71311 +{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
71312 +echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
71313 if test "${ac_cv_prog_cc_g+set}" = set; then
71314 echo $ECHO_N "(cached) $ECHO_C" >&6
71315 else
71316 - cat >conftest.$ac_ext <<_ACEOF
71317 + ac_save_c_werror_flag=$ac_c_werror_flag
71318 + ac_c_werror_flag=yes
71319 + ac_cv_prog_cc_g=no
71320 + CFLAGS="-g"
71321 + cat >conftest.$ac_ext <<_ACEOF
71322 /* confdefs.h. */
71323 _ACEOF
71324 cat confdefs.h >>conftest.$ac_ext
71325 @@ -4715,59 +5270,139 @@
71326 }
71327 _ACEOF
71328 rm -f conftest.$ac_objext
71329 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71330 - (eval $ac_compile) 2>conftest.er1
71331 +if { (ac_try="$ac_compile"
71332 +case "(($ac_try" in
71333 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
71334 + *) ac_try_echo=$ac_try;;
71335 +esac
71336 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
71337 + (eval "$ac_compile") 2>conftest.er1
71338 ac_status=$?
71339 grep -v '^ *+' conftest.er1 >conftest.err
71340 rm -f conftest.er1
71341 cat conftest.err >&5
71342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71343 - (exit $ac_status); } &&
71344 - { ac_try='test -z "$ac_c_werror_flag"
71345 - || test ! -s conftest.err'
71346 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71347 - (eval $ac_try) 2>&5
71348 - ac_status=$?
71349 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
71350 - (exit $ac_status); }; } &&
71351 - { ac_try='test -s conftest.$ac_objext'
71352 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71353 - (eval $ac_try) 2>&5
71354 - ac_status=$?
71355 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
71356 - (exit $ac_status); }; }; then
71357 + (exit $ac_status); } && {
71358 + test -z "$ac_c_werror_flag" ||
71359 + test ! -s conftest.err
71360 + } && test -s conftest.$ac_objext; then
71361 ac_cv_prog_cc_g=yes
71362 else
71363 echo "$as_me: failed program was:" >&5
71364 sed 's/^/| /' conftest.$ac_ext >&5
71365
71366 -ac_cv_prog_cc_g=no
71367 -fi
71368 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71369 -fi
71370 -echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
71371 -echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
71372 -if test "$ac_test_CFLAGS" = set; then
71373 - CFLAGS=$ac_save_CFLAGS
71374 -elif test $ac_cv_prog_cc_g = yes; then
71375 - if test "$GCC" = yes; then
71376 - CFLAGS="-g -O2"
71377 - else
71378 - CFLAGS="-g"
71379 - fi
71380 -else
71381 - if test "$GCC" = yes; then
71382 - CFLAGS="-O2"
71383 - else
71384 - CFLAGS=
71385 - fi
71386 -fi
71387 -echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
71388 -echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
71389 -if test "${ac_cv_prog_cc_stdc+set}" = set; then
71390 - echo $ECHO_N "(cached) $ECHO_C" >&6
71391 -else
71392 - ac_cv_prog_cc_stdc=no
71393 + CFLAGS=""
71394 + cat >conftest.$ac_ext <<_ACEOF
71395 +/* confdefs.h. */
71396 +_ACEOF
71397 +cat confdefs.h >>conftest.$ac_ext
71398 +cat >>conftest.$ac_ext <<_ACEOF
71399 +/* end confdefs.h. */
71400 +
71401 +int
71402 +main ()
71403 +{
71404 +
71405 + ;
71406 + return 0;
71407 +}
71408 +_ACEOF
71409 +rm -f conftest.$ac_objext
71410 +if { (ac_try="$ac_compile"
71411 +case "(($ac_try" in
71412 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
71413 + *) ac_try_echo=$ac_try;;
71414 +esac
71415 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
71416 + (eval "$ac_compile") 2>conftest.er1
71417 + ac_status=$?
71418 + grep -v '^ *+' conftest.er1 >conftest.err
71419 + rm -f conftest.er1
71420 + cat conftest.err >&5
71421 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
71422 + (exit $ac_status); } && {
71423 + test -z "$ac_c_werror_flag" ||
71424 + test ! -s conftest.err
71425 + } && test -s conftest.$ac_objext; then
71426 + :
71427 +else
71428 + echo "$as_me: failed program was:" >&5
71429 +sed 's/^/| /' conftest.$ac_ext >&5
71430 +
71431 + ac_c_werror_flag=$ac_save_c_werror_flag
71432 + CFLAGS="-g"
71433 + cat >conftest.$ac_ext <<_ACEOF
71434 +/* confdefs.h. */
71435 +_ACEOF
71436 +cat confdefs.h >>conftest.$ac_ext
71437 +cat >>conftest.$ac_ext <<_ACEOF
71438 +/* end confdefs.h. */
71439 +
71440 +int
71441 +main ()
71442 +{
71443 +
71444 + ;
71445 + return 0;
71446 +}
71447 +_ACEOF
71448 +rm -f conftest.$ac_objext
71449 +if { (ac_try="$ac_compile"
71450 +case "(($ac_try" in
71451 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
71452 + *) ac_try_echo=$ac_try;;
71453 +esac
71454 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
71455 + (eval "$ac_compile") 2>conftest.er1
71456 + ac_status=$?
71457 + grep -v '^ *+' conftest.er1 >conftest.err
71458 + rm -f conftest.er1
71459 + cat conftest.err >&5
71460 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
71461 + (exit $ac_status); } && {
71462 + test -z "$ac_c_werror_flag" ||
71463 + test ! -s conftest.err
71464 + } && test -s conftest.$ac_objext; then
71465 + ac_cv_prog_cc_g=yes
71466 +else
71467 + echo "$as_me: failed program was:" >&5
71468 +sed 's/^/| /' conftest.$ac_ext >&5
71469 +
71470 +
71471 +fi
71472 +
71473 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71474 +fi
71475 +
71476 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71477 +fi
71478 +
71479 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71480 + ac_c_werror_flag=$ac_save_c_werror_flag
71481 +fi
71482 +{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
71483 +echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
71484 +if test "$ac_test_CFLAGS" = set; then
71485 + CFLAGS=$ac_save_CFLAGS
71486 +elif test $ac_cv_prog_cc_g = yes; then
71487 + if test "$GCC" = yes; then
71488 + CFLAGS="-g -O2"
71489 + else
71490 + CFLAGS="-g"
71491 + fi
71492 +else
71493 + if test "$GCC" = yes; then
71494 + CFLAGS="-O2"
71495 + else
71496 + CFLAGS=
71497 + fi
71498 +fi
71499 +{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
71500 +echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
71501 +if test "${ac_cv_prog_cc_c89+set}" = set; then
71502 + echo $ECHO_N "(cached) $ECHO_C" >&6
71503 +else
71504 + ac_cv_prog_cc_c89=no
71505 ac_save_CC=$CC
71506 cat >conftest.$ac_ext <<_ACEOF
71507 /* confdefs.h. */
71508 @@ -4801,12 +5436,17 @@
71509 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
71510 function prototypes and stuff, but not '\xHH' hex character constants.
71511 These don't provoke an error unfortunately, instead are silently treated
71512 - as 'x'. The following induces an error, until -std1 is added to get
71513 + as 'x'. The following induces an error, until -std is added to get
71514 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
71515 array size at least. It's necessary to write '\x00'==0 to get something
71516 - that's true only with -std1. */
71517 + that's true only with -std. */
71518 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
71519
71520 +/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
71521 + inside strings and character constants. */
71522 +#define FOO(x) 'x'
71523 +int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
71524 +
71525 int test (int i, double x);
71526 struct s1 {int (*f) (int a);};
71527 struct s2 {int (*f) (double a);};
71528 @@ -4821,205 +5461,57 @@
71529 return 0;
71530 }
71531 _ACEOF
71532 -# Don't try gcc -ansi; that turns off useful extensions and
71533 -# breaks some systems' header files.
71534 -# AIX -qlanglvl=ansi
71535 -# Ultrix and OSF/1 -std1
71536 -# HP-UX 10.20 and later -Ae
71537 -# HP-UX older versions -Aa -D_HPUX_SOURCE
71538 -# SVR4 -Xc -D__EXTENSIONS__
71539 -for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
71540 +for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
71541 + -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
71542 do
71543 CC="$ac_save_CC $ac_arg"
71544 rm -f conftest.$ac_objext
71545 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71546 - (eval $ac_compile) 2>conftest.er1
71547 +if { (ac_try="$ac_compile"
71548 +case "(($ac_try" in
71549 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
71550 + *) ac_try_echo=$ac_try;;
71551 +esac
71552 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
71553 + (eval "$ac_compile") 2>conftest.er1
71554 ac_status=$?
71555 grep -v '^ *+' conftest.er1 >conftest.err
71556 rm -f conftest.er1
71557 cat conftest.err >&5
71558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71559 - (exit $ac_status); } &&
71560 - { ac_try='test -z "$ac_c_werror_flag"
71561 - || test ! -s conftest.err'
71562 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71563 - (eval $ac_try) 2>&5
71564 - ac_status=$?
71565 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
71566 - (exit $ac_status); }; } &&
71567 - { ac_try='test -s conftest.$ac_objext'
71568 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71569 - (eval $ac_try) 2>&5
71570 - ac_status=$?
71571 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
71572 - (exit $ac_status); }; }; then
71573 - ac_cv_prog_cc_stdc=$ac_arg
71574 -break
71575 + (exit $ac_status); } && {
71576 + test -z "$ac_c_werror_flag" ||
71577 + test ! -s conftest.err
71578 + } && test -s conftest.$ac_objext; then
71579 + ac_cv_prog_cc_c89=$ac_arg
71580 else
71581 echo "$as_me: failed program was:" >&5
71582 sed 's/^/| /' conftest.$ac_ext >&5
71583
71584 +
71585 fi
71586 -rm -f conftest.err conftest.$ac_objext
71587 +
71588 +rm -f core conftest.err conftest.$ac_objext
71589 + test "x$ac_cv_prog_cc_c89" != "xno" && break
71590 done
71591 -rm -f conftest.$ac_ext conftest.$ac_objext
71592 +rm -f conftest.$ac_ext
71593 CC=$ac_save_CC
71594
71595 fi
71596 -
71597 -case "x$ac_cv_prog_cc_stdc" in
71598 - x|xno)
71599 - echo "$as_me:$LINENO: result: none needed" >&5
71600 -echo "${ECHO_T}none needed" >&6 ;;
71601 +# AC_CACHE_VAL
71602 +case "x$ac_cv_prog_cc_c89" in
71603 + x)
71604 + { echo "$as_me:$LINENO: result: none needed" >&5
71605 +echo "${ECHO_T}none needed" >&6; } ;;
71606 + xno)
71607 + { echo "$as_me:$LINENO: result: unsupported" >&5
71608 +echo "${ECHO_T}unsupported" >&6; } ;;
71609 *)
71610 - echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
71611 -echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
71612 - CC="$CC $ac_cv_prog_cc_stdc" ;;
71613 + CC="$CC $ac_cv_prog_cc_c89"
71614 + { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
71615 +echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
71616 esac
71617
71618 -# Some people use a C++ compiler to compile C. Since we use `exit',
71619 -# in C++ we need to declare it. In case someone uses the same compiler
71620 -# for both compiling C and C++ we need to have the C++ compiler decide
71621 -# the declaration of exit, since it's the most demanding environment.
71622 -cat >conftest.$ac_ext <<_ACEOF
71623 -#ifndef __cplusplus
71624 - choke me
71625 -#endif
71626 -_ACEOF
71627 -rm -f conftest.$ac_objext
71628 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71629 - (eval $ac_compile) 2>conftest.er1
71630 - ac_status=$?
71631 - grep -v '^ *+' conftest.er1 >conftest.err
71632 - rm -f conftest.er1
71633 - cat conftest.err >&5
71634 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
71635 - (exit $ac_status); } &&
71636 - { ac_try='test -z "$ac_c_werror_flag"
71637 - || test ! -s conftest.err'
71638 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71639 - (eval $ac_try) 2>&5
71640 - ac_status=$?
71641 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
71642 - (exit $ac_status); }; } &&
71643 - { ac_try='test -s conftest.$ac_objext'
71644 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71645 - (eval $ac_try) 2>&5
71646 - ac_status=$?
71647 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
71648 - (exit $ac_status); }; }; then
71649 - for ac_declaration in \
71650 - '' \
71651 - 'extern "C" void std::exit (int) throw (); using std::exit;' \
71652 - 'extern "C" void std::exit (int); using std::exit;' \
71653 - 'extern "C" void exit (int) throw ();' \
71654 - 'extern "C" void exit (int);' \
71655 - 'void exit (int);'
71656 -do
71657 - cat >conftest.$ac_ext <<_ACEOF
71658 -/* confdefs.h. */
71659 -_ACEOF
71660 -cat confdefs.h >>conftest.$ac_ext
71661 -cat >>conftest.$ac_ext <<_ACEOF
71662 -/* end confdefs.h. */
71663 -$ac_declaration
71664 -#include <stdlib.h>
71665 -int
71666 -main ()
71667 -{
71668 -exit (42);
71669 - ;
71670 - return 0;
71671 -}
71672 -_ACEOF
71673 -rm -f conftest.$ac_objext
71674 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71675 - (eval $ac_compile) 2>conftest.er1
71676 - ac_status=$?
71677 - grep -v '^ *+' conftest.er1 >conftest.err
71678 - rm -f conftest.er1
71679 - cat conftest.err >&5
71680 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
71681 - (exit $ac_status); } &&
71682 - { ac_try='test -z "$ac_c_werror_flag"
71683 - || test ! -s conftest.err'
71684 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71685 - (eval $ac_try) 2>&5
71686 - ac_status=$?
71687 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
71688 - (exit $ac_status); }; } &&
71689 - { ac_try='test -s conftest.$ac_objext'
71690 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71691 - (eval $ac_try) 2>&5
71692 - ac_status=$?
71693 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
71694 - (exit $ac_status); }; }; then
71695 - :
71696 -else
71697 - echo "$as_me: failed program was:" >&5
71698 -sed 's/^/| /' conftest.$ac_ext >&5
71699 -
71700 -continue
71701 -fi
71702 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71703 - cat >conftest.$ac_ext <<_ACEOF
71704 -/* confdefs.h. */
71705 -_ACEOF
71706 -cat confdefs.h >>conftest.$ac_ext
71707 -cat >>conftest.$ac_ext <<_ACEOF
71708 -/* end confdefs.h. */
71709 -$ac_declaration
71710 -int
71711 -main ()
71712 -{
71713 -exit (42);
71714 - ;
71715 - return 0;
71716 -}
71717 -_ACEOF
71718 -rm -f conftest.$ac_objext
71719 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71720 - (eval $ac_compile) 2>conftest.er1
71721 - ac_status=$?
71722 - grep -v '^ *+' conftest.er1 >conftest.err
71723 - rm -f conftest.er1
71724 - cat conftest.err >&5
71725 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
71726 - (exit $ac_status); } &&
71727 - { ac_try='test -z "$ac_c_werror_flag"
71728 - || test ! -s conftest.err'
71729 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71730 - (eval $ac_try) 2>&5
71731 - ac_status=$?
71732 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
71733 - (exit $ac_status); }; } &&
71734 - { ac_try='test -s conftest.$ac_objext'
71735 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71736 - (eval $ac_try) 2>&5
71737 - ac_status=$?
71738 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
71739 - (exit $ac_status); }; }; then
71740 - break
71741 -else
71742 - echo "$as_me: failed program was:" >&5
71743 -sed 's/^/| /' conftest.$ac_ext >&5
71744 -
71745 -fi
71746 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71747 -done
71748 -rm -f conftest*
71749 -if test -n "$ac_declaration"; then
71750 - echo '#ifdef __cplusplus' >>confdefs.h
71751 - echo $ac_declaration >>confdefs.h
71752 - echo '#endif' >>confdefs.h
71753 -fi
71754 -
71755 -else
71756 - echo "$as_me: failed program was:" >&5
71757 -sed 's/^/| /' conftest.$ac_ext >&5
71758
71759 -fi
71760 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71761 ac_ext=c
71762 ac_cpp='$CPP $CPPFLAGS'
71763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71764 @@ -5039,8 +5531,8 @@
71765 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
71766 # OS/2's system install, which has a completely different semantic
71767 # ./install, which can be erroneously created by make from ./install.sh.
71768 -echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
71769 -echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
71770 +{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
71771 +echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
71772 if test -z "$INSTALL"; then
71773 if test "${ac_cv_path_install+set}" = set; then
71774 echo $ECHO_N "(cached) $ECHO_C" >&6
71775 @@ -5062,7 +5554,7 @@
71776 # by default.
71777 for ac_prog in ginstall scoinst install; do
71778 for ac_exec_ext in '' $ac_executable_extensions; do
71779 - if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
71780 + if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
71781 if test $ac_prog = install &&
71782 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
71783 # AIX install. It has an incompatible calling convention.
71784 @@ -5081,21 +5573,22 @@
71785 ;;
71786 esac
71787 done
71788 +IFS=$as_save_IFS
71789
71790
71791 fi
71792 if test "${ac_cv_path_install+set}" = set; then
71793 INSTALL=$ac_cv_path_install
71794 else
71795 - # As a last resort, use the slow shell script. We don't cache a
71796 - # path for INSTALL within a source directory, because that will
71797 + # As a last resort, use the slow shell script. Don't cache a
71798 + # value for INSTALL within a source directory, because that will
71799 # break other packages using the cache if that directory is
71800 - # removed, or if the path is relative.
71801 + # removed, or if the value is a relative name.
71802 INSTALL=$ac_install_sh
71803 fi
71804 fi
71805 -echo "$as_me:$LINENO: result: $INSTALL" >&5
71806 -echo "${ECHO_T}$INSTALL" >&6
71807 +{ echo "$as_me:$LINENO: result: $INSTALL" >&5
71808 +echo "${ECHO_T}$INSTALL" >&6; }
71809
71810 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
71811 # It thinks the first close brace ends the variable substitution.
71812 @@ -5110,8 +5603,8 @@
71813 if test -n "$ac_tool_prefix"; then
71814 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
71815 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
71816 -echo "$as_me:$LINENO: checking for $ac_word" >&5
71817 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
71818 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
71819 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
71820 if test "${ac_cv_prog_RANLIB+set}" = set; then
71821 echo $ECHO_N "(cached) $ECHO_C" >&6
71822 else
71823 @@ -5124,32 +5617,34 @@
71824 IFS=$as_save_IFS
71825 test -z "$as_dir" && as_dir=.
71826 for ac_exec_ext in '' $ac_executable_extensions; do
71827 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
71828 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
71829 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
71830 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
71831 break 2
71832 fi
71833 done
71834 done
71835 +IFS=$as_save_IFS
71836
71837 fi
71838 fi
71839 RANLIB=$ac_cv_prog_RANLIB
71840 if test -n "$RANLIB"; then
71841 - echo "$as_me:$LINENO: result: $RANLIB" >&5
71842 -echo "${ECHO_T}$RANLIB" >&6
71843 + { echo "$as_me:$LINENO: result: $RANLIB" >&5
71844 +echo "${ECHO_T}$RANLIB" >&6; }
71845 else
71846 - echo "$as_me:$LINENO: result: no" >&5
71847 -echo "${ECHO_T}no" >&6
71848 + { echo "$as_me:$LINENO: result: no" >&5
71849 +echo "${ECHO_T}no" >&6; }
71850 fi
71851
71852 +
71853 fi
71854 if test -z "$ac_cv_prog_RANLIB"; then
71855 ac_ct_RANLIB=$RANLIB
71856 # Extract the first word of "ranlib", so it can be a program name with args.
71857 set dummy ranlib; ac_word=$2
71858 -echo "$as_me:$LINENO: checking for $ac_word" >&5
71859 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
71860 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
71861 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
71862 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
71863 echo $ECHO_N "(cached) $ECHO_C" >&6
71864 else
71865 @@ -5162,27 +5657,41 @@
71866 IFS=$as_save_IFS
71867 test -z "$as_dir" && as_dir=.
71868 for ac_exec_ext in '' $ac_executable_extensions; do
71869 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
71870 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
71871 ac_cv_prog_ac_ct_RANLIB="ranlib"
71872 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
71873 break 2
71874 fi
71875 done
71876 done
71877 +IFS=$as_save_IFS
71878
71879 - test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
71880 fi
71881 fi
71882 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
71883 if test -n "$ac_ct_RANLIB"; then
71884 - echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
71885 -echo "${ECHO_T}$ac_ct_RANLIB" >&6
71886 + { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
71887 +echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
71888 else
71889 - echo "$as_me:$LINENO: result: no" >&5
71890 -echo "${ECHO_T}no" >&6
71891 + { echo "$as_me:$LINENO: result: no" >&5
71892 +echo "${ECHO_T}no" >&6; }
71893 fi
71894
71895 - RANLIB=$ac_ct_RANLIB
71896 + if test "x$ac_ct_RANLIB" = x; then
71897 + RANLIB=":"
71898 + else
71899 + case $cross_compiling:$ac_tool_warned in
71900 +yes:)
71901 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
71902 +whose name does not start with the host triplet. If you think this
71903 +configuration is useful to you, please write to autoconf@gnu.org." >&5
71904 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
71905 +whose name does not start with the host triplet. If you think this
71906 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
71907 +ac_tool_warned=yes ;;
71908 +esac
71909 + RANLIB=$ac_ct_RANLIB
71910 + fi
71911 else
71912 RANLIB="$ac_cv_prog_RANLIB"
71913 fi
71914 @@ -5192,8 +5701,8 @@
71915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71918 -echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
71919 -echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
71920 +{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
71921 +echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
71922 # On Suns, sometimes $CPP names a directory.
71923 if test -n "$CPP" && test -d "$CPP"; then
71924 CPP=
71925 @@ -5227,24 +5736,22 @@
71926 #endif
71927 Syntax error
71928 _ACEOF
71929 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
71930 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
71931 +if { (ac_try="$ac_cpp conftest.$ac_ext"
71932 +case "(($ac_try" in
71933 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
71934 + *) ac_try_echo=$ac_try;;
71935 +esac
71936 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
71937 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
71938 ac_status=$?
71939 grep -v '^ *+' conftest.er1 >conftest.err
71940 rm -f conftest.er1
71941 cat conftest.err >&5
71942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71943 - (exit $ac_status); } >/dev/null; then
71944 - if test -s conftest.err; then
71945 - ac_cpp_err=$ac_c_preproc_warn_flag
71946 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
71947 - else
71948 - ac_cpp_err=
71949 - fi
71950 -else
71951 - ac_cpp_err=yes
71952 -fi
71953 -if test -z "$ac_cpp_err"; then
71954 + (exit $ac_status); } >/dev/null && {
71955 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
71956 + test ! -s conftest.err
71957 + }; then
71958 :
71959 else
71960 echo "$as_me: failed program was:" >&5
71961 @@ -5253,9 +5760,10 @@
71962 # Broken: fails on valid input.
71963 continue
71964 fi
71965 +
71966 rm -f conftest.err conftest.$ac_ext
71967
71968 - # OK, works on sane cases. Now check whether non-existent headers
71969 + # OK, works on sane cases. Now check whether nonexistent headers
71970 # can be detected and how.
71971 cat >conftest.$ac_ext <<_ACEOF
71972 /* confdefs.h. */
71973 @@ -5265,24 +5773,22 @@
71974 /* end confdefs.h. */
71975 #include <ac_nonexistent.h>
71976 _ACEOF
71977 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
71978 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
71979 +if { (ac_try="$ac_cpp conftest.$ac_ext"
71980 +case "(($ac_try" in
71981 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
71982 + *) ac_try_echo=$ac_try;;
71983 +esac
71984 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
71985 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
71986 ac_status=$?
71987 grep -v '^ *+' conftest.er1 >conftest.err
71988 rm -f conftest.er1
71989 cat conftest.err >&5
71990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71991 - (exit $ac_status); } >/dev/null; then
71992 - if test -s conftest.err; then
71993 - ac_cpp_err=$ac_c_preproc_warn_flag
71994 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
71995 - else
71996 - ac_cpp_err=
71997 - fi
71998 -else
71999 - ac_cpp_err=yes
72000 -fi
72001 -if test -z "$ac_cpp_err"; then
72002 + (exit $ac_status); } >/dev/null && {
72003 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
72004 + test ! -s conftest.err
72005 + }; then
72006 # Broken: success on invalid input.
72007 continue
72008 else
72009 @@ -5293,6 +5799,7 @@
72010 ac_preproc_ok=:
72011 break
72012 fi
72013 +
72014 rm -f conftest.err conftest.$ac_ext
72015
72016 done
72017 @@ -5310,8 +5817,8 @@
72018 else
72019 ac_cv_prog_CPP=$CPP
72020 fi
72021 -echo "$as_me:$LINENO: result: $CPP" >&5
72022 -echo "${ECHO_T}$CPP" >&6
72023 +{ echo "$as_me:$LINENO: result: $CPP" >&5
72024 +echo "${ECHO_T}$CPP" >&6; }
72025 ac_preproc_ok=false
72026 for ac_c_preproc_warn_flag in '' yes
72027 do
72028 @@ -5334,24 +5841,22 @@
72029 #endif
72030 Syntax error
72031 _ACEOF
72032 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
72033 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
72034 +if { (ac_try="$ac_cpp conftest.$ac_ext"
72035 +case "(($ac_try" in
72036 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
72037 + *) ac_try_echo=$ac_try;;
72038 +esac
72039 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
72040 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
72041 ac_status=$?
72042 grep -v '^ *+' conftest.er1 >conftest.err
72043 rm -f conftest.er1
72044 cat conftest.err >&5
72045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72046 - (exit $ac_status); } >/dev/null; then
72047 - if test -s conftest.err; then
72048 - ac_cpp_err=$ac_c_preproc_warn_flag
72049 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
72050 - else
72051 - ac_cpp_err=
72052 - fi
72053 -else
72054 - ac_cpp_err=yes
72055 -fi
72056 -if test -z "$ac_cpp_err"; then
72057 + (exit $ac_status); } >/dev/null && {
72058 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
72059 + test ! -s conftest.err
72060 + }; then
72061 :
72062 else
72063 echo "$as_me: failed program was:" >&5
72064 @@ -5360,9 +5865,10 @@
72065 # Broken: fails on valid input.
72066 continue
72067 fi
72068 +
72069 rm -f conftest.err conftest.$ac_ext
72070
72071 - # OK, works on sane cases. Now check whether non-existent headers
72072 + # OK, works on sane cases. Now check whether nonexistent headers
72073 # can be detected and how.
72074 cat >conftest.$ac_ext <<_ACEOF
72075 /* confdefs.h. */
72076 @@ -5372,24 +5878,22 @@
72077 /* end confdefs.h. */
72078 #include <ac_nonexistent.h>
72079 _ACEOF
72080 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
72081 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
72082 +if { (ac_try="$ac_cpp conftest.$ac_ext"
72083 +case "(($ac_try" in
72084 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
72085 + *) ac_try_echo=$ac_try;;
72086 +esac
72087 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
72088 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
72089 ac_status=$?
72090 grep -v '^ *+' conftest.er1 >conftest.err
72091 rm -f conftest.er1
72092 cat conftest.err >&5
72093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72094 - (exit $ac_status); } >/dev/null; then
72095 - if test -s conftest.err; then
72096 - ac_cpp_err=$ac_c_preproc_warn_flag
72097 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
72098 - else
72099 - ac_cpp_err=
72100 - fi
72101 -else
72102 - ac_cpp_err=yes
72103 -fi
72104 -if test -z "$ac_cpp_err"; then
72105 + (exit $ac_status); } >/dev/null && {
72106 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
72107 + test ! -s conftest.err
72108 + }; then
72109 # Broken: success on invalid input.
72110 continue
72111 else
72112 @@ -5400,6 +5904,7 @@
72113 ac_preproc_ok=:
72114 break
72115 fi
72116 +
72117 rm -f conftest.err conftest.$ac_ext
72118
72119 done
72120 @@ -5422,79 +5927,222 @@
72121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72122
72123
72124 -echo "$as_me:$LINENO: checking for egrep" >&5
72125 -echo $ECHO_N "checking for egrep... $ECHO_C" >&6
72126 -if test "${ac_cv_prog_egrep+set}" = set; then
72127 +{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
72128 +echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
72129 +if test "${ac_cv_path_GREP+set}" = set; then
72130 + echo $ECHO_N "(cached) $ECHO_C" >&6
72131 +else
72132 + # Extract the first word of "grep ggrep" to use in msg output
72133 +if test -z "$GREP"; then
72134 +set dummy grep ggrep; ac_prog_name=$2
72135 +if test "${ac_cv_path_GREP+set}" = set; then
72136 echo $ECHO_N "(cached) $ECHO_C" >&6
72137 else
72138 - if echo a | (grep -E '(a|b)') >/dev/null 2>&1
72139 - then ac_cv_prog_egrep='grep -E'
72140 - else ac_cv_prog_egrep='egrep'
72141 + ac_path_GREP_found=false
72142 +# Loop through the user's path and test for each of PROGNAME-LIST
72143 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
72144 +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
72145 +do
72146 + IFS=$as_save_IFS
72147 + test -z "$as_dir" && as_dir=.
72148 + for ac_prog in grep ggrep; do
72149 + for ac_exec_ext in '' $ac_executable_extensions; do
72150 + ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
72151 + { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
72152 + # Check for GNU ac_path_GREP and select it if it is found.
72153 + # Check for GNU $ac_path_GREP
72154 +case `"$ac_path_GREP" --version 2>&1` in
72155 +*GNU*)
72156 + ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
72157 +*)
72158 + ac_count=0
72159 + echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
72160 + while :
72161 + do
72162 + cat "conftest.in" "conftest.in" >"conftest.tmp"
72163 + mv "conftest.tmp" "conftest.in"
72164 + cp "conftest.in" "conftest.nl"
72165 + echo 'GREP' >> "conftest.nl"
72166 + "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
72167 + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
72168 + ac_count=`expr $ac_count + 1`
72169 + if test $ac_count -gt ${ac_path_GREP_max-0}; then
72170 + # Best one so far, save it but keep looking for a better one
72171 + ac_cv_path_GREP="$ac_path_GREP"
72172 + ac_path_GREP_max=$ac_count
72173 fi
72174 -fi
72175 -echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
72176 -echo "${ECHO_T}$ac_cv_prog_egrep" >&6
72177 - EGREP=$ac_cv_prog_egrep
72178 + # 10*(2^10) chars as input seems more than enough
72179 + test $ac_count -gt 10 && break
72180 + done
72181 + rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
72182 +esac
72183
72184
72185 -echo "$as_me:$LINENO: checking for ANSI C header files" >&5
72186 -echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
72187 -if test "${ac_cv_header_stdc+set}" = set; then
72188 - echo $ECHO_N "(cached) $ECHO_C" >&6
72189 -else
72190 - cat >conftest.$ac_ext <<_ACEOF
72191 -/* confdefs.h. */
72192 -_ACEOF
72193 -cat confdefs.h >>conftest.$ac_ext
72194 -cat >>conftest.$ac_ext <<_ACEOF
72195 -/* end confdefs.h. */
72196 -#include <stdlib.h>
72197 -#include <stdarg.h>
72198 -#include <string.h>
72199 -#include <float.h>
72200 + $ac_path_GREP_found && break 3
72201 + done
72202 +done
72203
72204 -int
72205 -main ()
72206 -{
72207 +done
72208 +IFS=$as_save_IFS
72209
72210 - ;
72211 - return 0;
72212 -}
72213 -_ACEOF
72214 -rm -f conftest.$ac_objext
72215 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72216 - (eval $ac_compile) 2>conftest.er1
72217 - ac_status=$?
72218 - grep -v '^ *+' conftest.er1 >conftest.err
72219 - rm -f conftest.er1
72220 - cat conftest.err >&5
72221 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
72222 - (exit $ac_status); } &&
72223 - { ac_try='test -z "$ac_c_werror_flag"
72224 - || test ! -s conftest.err'
72225 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72226 - (eval $ac_try) 2>&5
72227 - ac_status=$?
72228 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
72229 - (exit $ac_status); }; } &&
72230 - { ac_try='test -s conftest.$ac_objext'
72231 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72232 - (eval $ac_try) 2>&5
72233 - ac_status=$?
72234 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
72235 - (exit $ac_status); }; }; then
72236 - ac_cv_header_stdc=yes
72237 -else
72238 - echo "$as_me: failed program was:" >&5
72239 -sed 's/^/| /' conftest.$ac_ext >&5
72240
72241 -ac_cv_header_stdc=no
72242 fi
72243 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72244
72245 -if test $ac_cv_header_stdc = yes; then
72246 - # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
72247 - cat >conftest.$ac_ext <<_ACEOF
72248 +GREP="$ac_cv_path_GREP"
72249 +if test -z "$GREP"; then
72250 + { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
72251 +echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
72252 + { (exit 1); exit 1; }; }
72253 +fi
72254 +
72255 +else
72256 + ac_cv_path_GREP=$GREP
72257 +fi
72258 +
72259 +
72260 +fi
72261 +{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
72262 +echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
72263 + GREP="$ac_cv_path_GREP"
72264 +
72265 +
72266 +{ echo "$as_me:$LINENO: checking for egrep" >&5
72267 +echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
72268 +if test "${ac_cv_path_EGREP+set}" = set; then
72269 + echo $ECHO_N "(cached) $ECHO_C" >&6
72270 +else
72271 + if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
72272 + then ac_cv_path_EGREP="$GREP -E"
72273 + else
72274 + # Extract the first word of "egrep" to use in msg output
72275 +if test -z "$EGREP"; then
72276 +set dummy egrep; ac_prog_name=$2
72277 +if test "${ac_cv_path_EGREP+set}" = set; then
72278 + echo $ECHO_N "(cached) $ECHO_C" >&6
72279 +else
72280 + ac_path_EGREP_found=false
72281 +# Loop through the user's path and test for each of PROGNAME-LIST
72282 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
72283 +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
72284 +do
72285 + IFS=$as_save_IFS
72286 + test -z "$as_dir" && as_dir=.
72287 + for ac_prog in egrep; do
72288 + for ac_exec_ext in '' $ac_executable_extensions; do
72289 + ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
72290 + { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
72291 + # Check for GNU ac_path_EGREP and select it if it is found.
72292 + # Check for GNU $ac_path_EGREP
72293 +case `"$ac_path_EGREP" --version 2>&1` in
72294 +*GNU*)
72295 + ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
72296 +*)
72297 + ac_count=0
72298 + echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
72299 + while :
72300 + do
72301 + cat "conftest.in" "conftest.in" >"conftest.tmp"
72302 + mv "conftest.tmp" "conftest.in"
72303 + cp "conftest.in" "conftest.nl"
72304 + echo 'EGREP' >> "conftest.nl"
72305 + "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
72306 + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
72307 + ac_count=`expr $ac_count + 1`
72308 + if test $ac_count -gt ${ac_path_EGREP_max-0}; then
72309 + # Best one so far, save it but keep looking for a better one
72310 + ac_cv_path_EGREP="$ac_path_EGREP"
72311 + ac_path_EGREP_max=$ac_count
72312 + fi
72313 + # 10*(2^10) chars as input seems more than enough
72314 + test $ac_count -gt 10 && break
72315 + done
72316 + rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
72317 +esac
72318 +
72319 +
72320 + $ac_path_EGREP_found && break 3
72321 + done
72322 +done
72323 +
72324 +done
72325 +IFS=$as_save_IFS
72326 +
72327 +
72328 +fi
72329 +
72330 +EGREP="$ac_cv_path_EGREP"
72331 +if test -z "$EGREP"; then
72332 + { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
72333 +echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
72334 + { (exit 1); exit 1; }; }
72335 +fi
72336 +
72337 +else
72338 + ac_cv_path_EGREP=$EGREP
72339 +fi
72340 +
72341 +
72342 + fi
72343 +fi
72344 +{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
72345 +echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
72346 + EGREP="$ac_cv_path_EGREP"
72347 +
72348 +
72349 +{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
72350 +echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
72351 +if test "${ac_cv_header_stdc+set}" = set; then
72352 + echo $ECHO_N "(cached) $ECHO_C" >&6
72353 +else
72354 + cat >conftest.$ac_ext <<_ACEOF
72355 +/* confdefs.h. */
72356 +_ACEOF
72357 +cat confdefs.h >>conftest.$ac_ext
72358 +cat >>conftest.$ac_ext <<_ACEOF
72359 +/* end confdefs.h. */
72360 +#include <stdlib.h>
72361 +#include <stdarg.h>
72362 +#include <string.h>
72363 +#include <float.h>
72364 +
72365 +int
72366 +main ()
72367 +{
72368 +
72369 + ;
72370 + return 0;
72371 +}
72372 +_ACEOF
72373 +rm -f conftest.$ac_objext
72374 +if { (ac_try="$ac_compile"
72375 +case "(($ac_try" in
72376 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
72377 + *) ac_try_echo=$ac_try;;
72378 +esac
72379 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
72380 + (eval "$ac_compile") 2>conftest.er1
72381 + ac_status=$?
72382 + grep -v '^ *+' conftest.er1 >conftest.err
72383 + rm -f conftest.er1
72384 + cat conftest.err >&5
72385 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
72386 + (exit $ac_status); } && {
72387 + test -z "$ac_c_werror_flag" ||
72388 + test ! -s conftest.err
72389 + } && test -s conftest.$ac_objext; then
72390 + ac_cv_header_stdc=yes
72391 +else
72392 + echo "$as_me: failed program was:" >&5
72393 +sed 's/^/| /' conftest.$ac_ext >&5
72394 +
72395 + ac_cv_header_stdc=no
72396 +fi
72397 +
72398 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72399 +
72400 +if test $ac_cv_header_stdc = yes; then
72401 + # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
72402 + cat >conftest.$ac_ext <<_ACEOF
72403 /* confdefs.h. */
72404 _ACEOF
72405 cat confdefs.h >>conftest.$ac_ext
72406 @@ -5546,6 +6194,7 @@
72407 cat >>conftest.$ac_ext <<_ACEOF
72408 /* end confdefs.h. */
72409 #include <ctype.h>
72410 +#include <stdlib.h>
72411 #if ((' ' & 0x0FF) == 0x020)
72412 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
72413 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
72414 @@ -5565,18 +6214,27 @@
72415 for (i = 0; i < 256; i++)
72416 if (XOR (islower (i), ISLOWER (i))
72417 || toupper (i) != TOUPPER (i))
72418 - exit(2);
72419 - exit (0);
72420 + return 2;
72421 + return 0;
72422 }
72423 _ACEOF
72424 rm -f conftest$ac_exeext
72425 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72426 - (eval $ac_link) 2>&5
72427 +if { (ac_try="$ac_link"
72428 +case "(($ac_try" in
72429 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
72430 + *) ac_try_echo=$ac_try;;
72431 +esac
72432 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
72433 + (eval "$ac_link") 2>&5
72434 ac_status=$?
72435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72436 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
72437 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72438 - (eval $ac_try) 2>&5
72439 + { (case "(($ac_try" in
72440 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
72441 + *) ac_try_echo=$ac_try;;
72442 +esac
72443 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
72444 + (eval "$ac_try") 2>&5
72445 ac_status=$?
72446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72447 (exit $ac_status); }; }; then
72448 @@ -5589,12 +6247,14 @@
72449 ( exit $ac_status )
72450 ac_cv_header_stdc=no
72451 fi
72452 -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
72453 +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
72454 fi
72455 +
72456 +
72457 fi
72458 fi
72459 -echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
72460 -echo "${ECHO_T}$ac_cv_header_stdc" >&6
72461 +{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
72462 +echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
72463 if test $ac_cv_header_stdc = yes; then
72464
72465 cat >>confdefs.h <<\_ACEOF
72466 @@ -5603,8 +6263,8 @@
72467
72468 fi
72469
72470 -echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
72471 -echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
72472 +{ echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
72473 +echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
72474 if test "${ac_cv_c_const+set}" = set; then
72475 echo $ECHO_N "(cached) $ECHO_C" >&6
72476 else
72477 @@ -5622,10 +6282,10 @@
72478 #ifndef __cplusplus
72479 /* Ultrix mips cc rejects this. */
72480 typedef int charset[2];
72481 - const charset x;
72482 + const charset cs;
72483 /* SunOS 4.1.1 cc rejects this. */
72484 - char const *const *ccp;
72485 - char **p;
72486 + char const *const *pcpcc;
72487 + char **ppc;
72488 /* NEC SVR4.0.2 mips cc rejects this. */
72489 struct point {int x, y;};
72490 static struct point const zero = {0,0};
72491 @@ -5634,16 +6294,17 @@
72492 an arm of an if-expression whose if-part is not a constant
72493 expression */
72494 const char *g = "string";
72495 - ccp = &g + (g ? g-g : 0);
72496 + pcpcc = &g + (g ? g-g : 0);
72497 /* HPUX 7.0 cc rejects these. */
72498 - ++ccp;
72499 - p = (char**) ccp;
72500 - ccp = (char const *const *) p;
72501 + ++pcpcc;
72502 + ppc = (char**) pcpcc;
72503 + pcpcc = (char const *const *) ppc;
72504 { /* SCO 3.2v4 cc rejects this. */
72505 char *t;
72506 char const *s = 0 ? (char *) 0 : (char const *) 0;
72507
72508 *t++ = 0;
72509 + if (s) return 0;
72510 }
72511 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
72512 int x[] = {25, 17};
72513 @@ -5662,7 +6323,9 @@
72514 }
72515 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
72516 const int foo = 10;
72517 + if (!foo) return 0;
72518 }
72519 + return !cs[0] && !zero.x;
72520 #endif
72521
72522 ;
72523 @@ -5670,38 +6333,34 @@
72524 }
72525 _ACEOF
72526 rm -f conftest.$ac_objext
72527 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72528 - (eval $ac_compile) 2>conftest.er1
72529 +if { (ac_try="$ac_compile"
72530 +case "(($ac_try" in
72531 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
72532 + *) ac_try_echo=$ac_try;;
72533 +esac
72534 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
72535 + (eval "$ac_compile") 2>conftest.er1
72536 ac_status=$?
72537 grep -v '^ *+' conftest.er1 >conftest.err
72538 rm -f conftest.er1
72539 cat conftest.err >&5
72540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72541 - (exit $ac_status); } &&
72542 - { ac_try='test -z "$ac_c_werror_flag"
72543 - || test ! -s conftest.err'
72544 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72545 - (eval $ac_try) 2>&5
72546 - ac_status=$?
72547 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
72548 - (exit $ac_status); }; } &&
72549 - { ac_try='test -s conftest.$ac_objext'
72550 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72551 - (eval $ac_try) 2>&5
72552 - ac_status=$?
72553 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
72554 - (exit $ac_status); }; }; then
72555 + (exit $ac_status); } && {
72556 + test -z "$ac_c_werror_flag" ||
72557 + test ! -s conftest.err
72558 + } && test -s conftest.$ac_objext; then
72559 ac_cv_c_const=yes
72560 else
72561 echo "$as_me: failed program was:" >&5
72562 sed 's/^/| /' conftest.$ac_ext >&5
72563
72564 -ac_cv_c_const=no
72565 + ac_cv_c_const=no
72566 fi
72567 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72568 +
72569 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72570 fi
72571 -echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
72572 -echo "${ECHO_T}$ac_cv_c_const" >&6
72573 +{ echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
72574 +echo "${ECHO_T}$ac_cv_c_const" >&6; }
72575 if test $ac_cv_c_const = no; then
72576
72577 cat >>confdefs.h <<\_ACEOF
72578 @@ -5710,8 +6369,8 @@
72579
72580 fi
72581
72582 -echo "$as_me:$LINENO: checking for inline" >&5
72583 -echo $ECHO_N "checking for inline... $ECHO_C" >&6
72584 +{ echo "$as_me:$LINENO: checking for inline" >&5
72585 +echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
72586 if test "${ac_cv_c_inline+set}" = set; then
72587 echo $ECHO_N "(cached) $ECHO_C" >&6
72588 else
72589 @@ -5731,39 +6390,37 @@
72590
72591 _ACEOF
72592 rm -f conftest.$ac_objext
72593 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72594 - (eval $ac_compile) 2>conftest.er1
72595 +if { (ac_try="$ac_compile"
72596 +case "(($ac_try" in
72597 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
72598 + *) ac_try_echo=$ac_try;;
72599 +esac
72600 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
72601 + (eval "$ac_compile") 2>conftest.er1
72602 ac_status=$?
72603 grep -v '^ *+' conftest.er1 >conftest.err
72604 rm -f conftest.er1
72605 cat conftest.err >&5
72606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72607 - (exit $ac_status); } &&
72608 - { ac_try='test -z "$ac_c_werror_flag"
72609 - || test ! -s conftest.err'
72610 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72611 - (eval $ac_try) 2>&5
72612 - ac_status=$?
72613 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
72614 - (exit $ac_status); }; } &&
72615 - { ac_try='test -s conftest.$ac_objext'
72616 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72617 - (eval $ac_try) 2>&5
72618 - ac_status=$?
72619 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
72620 - (exit $ac_status); }; }; then
72621 - ac_cv_c_inline=$ac_kw; break
72622 + (exit $ac_status); } && {
72623 + test -z "$ac_c_werror_flag" ||
72624 + test ! -s conftest.err
72625 + } && test -s conftest.$ac_objext; then
72626 + ac_cv_c_inline=$ac_kw
72627 else
72628 echo "$as_me: failed program was:" >&5
72629 sed 's/^/| /' conftest.$ac_ext >&5
72630
72631 +
72632 fi
72633 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72634 +
72635 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72636 + test "$ac_cv_c_inline" != no && break
72637 done
72638
72639 fi
72640 -echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
72641 -echo "${ECHO_T}$ac_cv_c_inline" >&6
72642 +{ echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
72643 +echo "${ECHO_T}$ac_cv_c_inline" >&6; }
72644
72645
72646 case $ac_cv_c_inline in
72647 @@ -5795,9 +6452,9 @@
72648 inttypes.h stdint.h unistd.h
72649 do
72650 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
72651 -echo "$as_me:$LINENO: checking for $ac_header" >&5
72652 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
72653 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
72654 +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
72655 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
72656 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
72657 echo $ECHO_N "(cached) $ECHO_C" >&6
72658 else
72659 cat >conftest.$ac_ext <<_ACEOF
72660 @@ -5811,38 +6468,35 @@
72661 #include <$ac_header>
72662 _ACEOF
72663 rm -f conftest.$ac_objext
72664 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72665 - (eval $ac_compile) 2>conftest.er1
72666 +if { (ac_try="$ac_compile"
72667 +case "(($ac_try" in
72668 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
72669 + *) ac_try_echo=$ac_try;;
72670 +esac
72671 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
72672 + (eval "$ac_compile") 2>conftest.er1
72673 ac_status=$?
72674 grep -v '^ *+' conftest.er1 >conftest.err
72675 rm -f conftest.er1
72676 cat conftest.err >&5
72677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72678 - (exit $ac_status); } &&
72679 - { ac_try='test -z "$ac_c_werror_flag"
72680 - || test ! -s conftest.err'
72681 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72682 - (eval $ac_try) 2>&5
72683 - ac_status=$?
72684 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
72685 - (exit $ac_status); }; } &&
72686 - { ac_try='test -s conftest.$ac_objext'
72687 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72688 - (eval $ac_try) 2>&5
72689 - ac_status=$?
72690 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
72691 - (exit $ac_status); }; }; then
72692 + (exit $ac_status); } && {
72693 + test -z "$ac_c_werror_flag" ||
72694 + test ! -s conftest.err
72695 + } && test -s conftest.$ac_objext; then
72696 eval "$as_ac_Header=yes"
72697 else
72698 echo "$as_me: failed program was:" >&5
72699 sed 's/^/| /' conftest.$ac_ext >&5
72700
72701 -eval "$as_ac_Header=no"
72702 + eval "$as_ac_Header=no"
72703 fi
72704 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72705 +
72706 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72707 fi
72708 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
72709 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
72710 +ac_res=`eval echo '${'$as_ac_Header'}'`
72711 + { echo "$as_me:$LINENO: result: $ac_res" >&5
72712 +echo "${ECHO_T}$ac_res" >&6; }
72713 if test `eval echo '${'$as_ac_Header'}'` = yes; then
72714 cat >>confdefs.h <<_ACEOF
72715 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
72716 @@ -5853,8 +6507,8 @@
72717 done
72718
72719
72720 -echo "$as_me:$LINENO: checking for off_t" >&5
72721 -echo $ECHO_N "checking for off_t... $ECHO_C" >&6
72722 +{ echo "$as_me:$LINENO: checking for off_t" >&5
72723 +echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
72724 if test "${ac_cv_type_off_t+set}" = set; then
72725 echo $ECHO_N "(cached) $ECHO_C" >&6
72726 else
72727 @@ -5865,62 +6519,59 @@
72728 cat >>conftest.$ac_ext <<_ACEOF
72729 /* end confdefs.h. */
72730 $ac_includes_default
72731 +typedef off_t ac__type_new_;
72732 int
72733 main ()
72734 {
72735 -if ((off_t *) 0)
72736 +if ((ac__type_new_ *) 0)
72737 return 0;
72738 -if (sizeof (off_t))
72739 +if (sizeof (ac__type_new_))
72740 return 0;
72741 ;
72742 return 0;
72743 }
72744 _ACEOF
72745 rm -f conftest.$ac_objext
72746 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72747 - (eval $ac_compile) 2>conftest.er1
72748 +if { (ac_try="$ac_compile"
72749 +case "(($ac_try" in
72750 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
72751 + *) ac_try_echo=$ac_try;;
72752 +esac
72753 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
72754 + (eval "$ac_compile") 2>conftest.er1
72755 ac_status=$?
72756 grep -v '^ *+' conftest.er1 >conftest.err
72757 rm -f conftest.er1
72758 cat conftest.err >&5
72759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72760 - (exit $ac_status); } &&
72761 - { ac_try='test -z "$ac_c_werror_flag"
72762 - || test ! -s conftest.err'
72763 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72764 - (eval $ac_try) 2>&5
72765 - ac_status=$?
72766 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
72767 - (exit $ac_status); }; } &&
72768 - { ac_try='test -s conftest.$ac_objext'
72769 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72770 - (eval $ac_try) 2>&5
72771 - ac_status=$?
72772 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
72773 - (exit $ac_status); }; }; then
72774 + (exit $ac_status); } && {
72775 + test -z "$ac_c_werror_flag" ||
72776 + test ! -s conftest.err
72777 + } && test -s conftest.$ac_objext; then
72778 ac_cv_type_off_t=yes
72779 else
72780 echo "$as_me: failed program was:" >&5
72781 sed 's/^/| /' conftest.$ac_ext >&5
72782
72783 -ac_cv_type_off_t=no
72784 + ac_cv_type_off_t=no
72785 fi
72786 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72787 +
72788 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72789 fi
72790 -echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
72791 -echo "${ECHO_T}$ac_cv_type_off_t" >&6
72792 +{ echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
72793 +echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
72794 if test $ac_cv_type_off_t = yes; then
72795 :
72796 else
72797
72798 cat >>confdefs.h <<_ACEOF
72799 -#define off_t long
72800 +#define off_t long int
72801 _ACEOF
72802
72803 fi
72804
72805 -echo "$as_me:$LINENO: checking for size_t" >&5
72806 -echo $ECHO_N "checking for size_t... $ECHO_C" >&6
72807 +{ echo "$as_me:$LINENO: checking for size_t" >&5
72808 +echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
72809 if test "${ac_cv_type_size_t+set}" = set; then
72810 echo $ECHO_N "(cached) $ECHO_C" >&6
72811 else
72812 @@ -5931,64 +6582,61 @@
72813 cat >>conftest.$ac_ext <<_ACEOF
72814 /* end confdefs.h. */
72815 $ac_includes_default
72816 +typedef size_t ac__type_new_;
72817 int
72818 main ()
72819 {
72820 -if ((size_t *) 0)
72821 +if ((ac__type_new_ *) 0)
72822 return 0;
72823 -if (sizeof (size_t))
72824 +if (sizeof (ac__type_new_))
72825 return 0;
72826 ;
72827 return 0;
72828 }
72829 _ACEOF
72830 rm -f conftest.$ac_objext
72831 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72832 - (eval $ac_compile) 2>conftest.er1
72833 +if { (ac_try="$ac_compile"
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_compile") 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_objext'
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_objext; then
72863 ac_cv_type_size_t=yes
72864 else
72865 echo "$as_me: failed program was:" >&5
72866 sed 's/^/| /' conftest.$ac_ext >&5
72867
72868 -ac_cv_type_size_t=no
72869 + ac_cv_type_size_t=no
72870 fi
72871 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72872 +
72873 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72874 fi
72875 -echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
72876 -echo "${ECHO_T}$ac_cv_type_size_t" >&6
72877 +{ echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
72878 +echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
72879 if test $ac_cv_type_size_t = yes; then
72880 :
72881 else
72882
72883 cat >>confdefs.h <<_ACEOF
72884 -#define size_t unsigned
72885 +#define size_t unsigned int
72886 _ACEOF
72887
72888 fi
72889
72890 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
72891 # for constant arguments. Useless!
72892 -echo "$as_me:$LINENO: checking for working alloca.h" >&5
72893 -echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
72894 +{ echo "$as_me:$LINENO: checking for working alloca.h" >&5
72895 +echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6; }
72896 if test "${ac_cv_working_alloca_h+set}" = set; then
72897 echo $ECHO_N "(cached) $ECHO_C" >&6
72898 else
72899 @@ -6003,44 +6651,42 @@
72900 main ()
72901 {
72902 char *p = (char *) alloca (2 * sizeof (int));
72903 + if (p) return 0;
72904 ;
72905 return 0;
72906 }
72907 _ACEOF
72908 rm -f conftest.$ac_objext conftest$ac_exeext
72909 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72910 - (eval $ac_link) 2>conftest.er1
72911 +if { (ac_try="$ac_link"
72912 +case "(($ac_try" in
72913 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
72914 + *) ac_try_echo=$ac_try;;
72915 +esac
72916 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
72917 + (eval "$ac_link") 2>conftest.er1
72918 ac_status=$?
72919 grep -v '^ *+' conftest.er1 >conftest.err
72920 rm -f conftest.er1
72921 cat conftest.err >&5
72922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72923 - (exit $ac_status); } &&
72924 - { ac_try='test -z "$ac_c_werror_flag"
72925 - || test ! -s conftest.err'
72926 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72927 - (eval $ac_try) 2>&5
72928 - ac_status=$?
72929 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
72930 - (exit $ac_status); }; } &&
72931 - { ac_try='test -s conftest$ac_exeext'
72932 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72933 - (eval $ac_try) 2>&5
72934 - ac_status=$?
72935 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
72936 - (exit $ac_status); }; }; then
72937 + (exit $ac_status); } && {
72938 + test -z "$ac_c_werror_flag" ||
72939 + test ! -s conftest.err
72940 + } && test -s conftest$ac_exeext &&
72941 + $as_test_x conftest$ac_exeext; then
72942 ac_cv_working_alloca_h=yes
72943 else
72944 echo "$as_me: failed program was:" >&5
72945 sed 's/^/| /' conftest.$ac_ext >&5
72946
72947 -ac_cv_working_alloca_h=no
72948 + ac_cv_working_alloca_h=no
72949 fi
72950 -rm -f conftest.err conftest.$ac_objext \
72951 +
72952 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
72953 conftest$ac_exeext conftest.$ac_ext
72954 fi
72955 -echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
72956 -echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
72957 +{ echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
72958 +echo "${ECHO_T}$ac_cv_working_alloca_h" >&6; }
72959 if test $ac_cv_working_alloca_h = yes; then
72960
72961 cat >>confdefs.h <<\_ACEOF
72962 @@ -6049,8 +6695,8 @@
72963
72964 fi
72965
72966 -echo "$as_me:$LINENO: checking for alloca" >&5
72967 -echo $ECHO_N "checking for alloca... $ECHO_C" >&6
72968 +{ echo "$as_me:$LINENO: checking for alloca" >&5
72969 +echo $ECHO_N "checking for alloca... $ECHO_C" >&6; }
72970 if test "${ac_cv_func_alloca_works+set}" = set; then
72971 echo $ECHO_N "(cached) $ECHO_C" >&6
72972 else
72973 @@ -6067,7 +6713,7 @@
72974 # include <malloc.h>
72975 # define alloca _alloca
72976 # else
72977 -# if HAVE_ALLOCA_H
72978 +# ifdef HAVE_ALLOCA_H
72979 # include <alloca.h>
72980 # else
72981 # ifdef _AIX
72982 @@ -6085,44 +6731,42 @@
72983 main ()
72984 {
72985 char *p = (char *) alloca (1);
72986 + if (p) return 0;
72987 ;
72988 return 0;
72989 }
72990 _ACEOF
72991 rm -f conftest.$ac_objext conftest$ac_exeext
72992 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72993 - (eval $ac_link) 2>conftest.er1
72994 +if { (ac_try="$ac_link"
72995 +case "(($ac_try" in
72996 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
72997 + *) ac_try_echo=$ac_try;;
72998 +esac
72999 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
73000 + (eval "$ac_link") 2>conftest.er1
73001 ac_status=$?
73002 grep -v '^ *+' conftest.er1 >conftest.err
73003 rm -f conftest.er1
73004 cat conftest.err >&5
73005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73006 - (exit $ac_status); } &&
73007 - { ac_try='test -z "$ac_c_werror_flag"
73008 - || test ! -s conftest.err'
73009 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73010 - (eval $ac_try) 2>&5
73011 - ac_status=$?
73012 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
73013 - (exit $ac_status); }; } &&
73014 - { ac_try='test -s conftest$ac_exeext'
73015 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73016 - (eval $ac_try) 2>&5
73017 - ac_status=$?
73018 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
73019 - (exit $ac_status); }; }; then
73020 + (exit $ac_status); } && {
73021 + test -z "$ac_c_werror_flag" ||
73022 + test ! -s conftest.err
73023 + } && test -s conftest$ac_exeext &&
73024 + $as_test_x conftest$ac_exeext; then
73025 ac_cv_func_alloca_works=yes
73026 else
73027 echo "$as_me: failed program was:" >&5
73028 sed 's/^/| /' conftest.$ac_ext >&5
73029
73030 -ac_cv_func_alloca_works=no
73031 + ac_cv_func_alloca_works=no
73032 fi
73033 -rm -f conftest.err conftest.$ac_objext \
73034 +
73035 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
73036 conftest$ac_exeext conftest.$ac_ext
73037 fi
73038 -echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
73039 -echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
73040 +{ echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
73041 +echo "${ECHO_T}$ac_cv_func_alloca_works" >&6; }
73042
73043 if test $ac_cv_func_alloca_works = yes; then
73044
73045 @@ -6136,15 +6780,15 @@
73046 # contain a buggy version. If you still want to use their alloca,
73047 # use ar to extract alloca.o from them instead of compiling alloca.c.
73048
73049 -ALLOCA=alloca.$ac_objext
73050 +ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
73051
73052 cat >>confdefs.h <<\_ACEOF
73053 #define C_ALLOCA 1
73054 _ACEOF
73055
73056
73057 -echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
73058 -echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
73059 +{ echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
73060 +echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6; }
73061 if test "${ac_cv_os_cray+set}" = set; then
73062 echo $ECHO_N "(cached) $ECHO_C" >&6
73063 else
73064 @@ -6154,7 +6798,7 @@
73065 cat confdefs.h >>conftest.$ac_ext
73066 cat >>conftest.$ac_ext <<_ACEOF
73067 /* end confdefs.h. */
73068 -#if defined(CRAY) && ! defined(CRAY2)
73069 +#if defined CRAY && ! defined CRAY2
73070 webecray
73071 #else
73072 wenotbecray
73073 @@ -6170,14 +6814,14 @@
73074 rm -f conftest*
73075
73076 fi
73077 -echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
73078 -echo "${ECHO_T}$ac_cv_os_cray" >&6
73079 +{ echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
73080 +echo "${ECHO_T}$ac_cv_os_cray" >&6; }
73081 if test $ac_cv_os_cray = yes; then
73082 for ac_func in _getb67 GETB67 getb67; do
73083 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73084 -echo "$as_me:$LINENO: checking for $ac_func" >&5
73085 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73086 -if eval "test \"\${$as_ac_var+set}\" = set"; then
73087 +{ echo "$as_me:$LINENO: checking for $ac_func" >&5
73088 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
73089 +if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
73090 echo $ECHO_N "(cached) $ECHO_C" >&6
73091 else
73092 cat >conftest.$ac_ext <<_ACEOF
73093 @@ -6203,68 +6847,60 @@
73094
73095 #undef $ac_func
73096
73097 -/* Override any gcc2 internal prototype to avoid an error. */
73098 +/* Override any GCC internal prototype to avoid an error.
73099 + Use char because int might match the return type of a GCC
73100 + builtin and then its argument prototype would still apply. */
73101 #ifdef __cplusplus
73102 extern "C"
73103 -{
73104 #endif
73105 -/* We use char because int might match the return type of a gcc2
73106 - builtin and then its argument prototype would still apply. */
73107 char $ac_func ();
73108 /* The GNU C library defines this for functions which it implements
73109 to always fail with ENOSYS. Some functions are actually named
73110 something starting with __ and the normal name is an alias. */
73111 -#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73112 +#if defined __stub_$ac_func || defined __stub___$ac_func
73113 choke me
73114 -#else
73115 -char (*f) () = $ac_func;
73116 -#endif
73117 -#ifdef __cplusplus
73118 -}
73119 #endif
73120
73121 int
73122 main ()
73123 {
73124 -return f != $ac_func;
73125 +return $ac_func ();
73126 ;
73127 return 0;
73128 }
73129 _ACEOF
73130 rm -f conftest.$ac_objext conftest$ac_exeext
73131 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73132 - (eval $ac_link) 2>conftest.er1
73133 +if { (ac_try="$ac_link"
73134 +case "(($ac_try" in
73135 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
73136 + *) ac_try_echo=$ac_try;;
73137 +esac
73138 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
73139 + (eval "$ac_link") 2>conftest.er1
73140 ac_status=$?
73141 grep -v '^ *+' conftest.er1 >conftest.err
73142 rm -f conftest.er1
73143 cat conftest.err >&5
73144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73145 - (exit $ac_status); } &&
73146 - { ac_try='test -z "$ac_c_werror_flag"
73147 - || test ! -s conftest.err'
73148 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73149 - (eval $ac_try) 2>&5
73150 - ac_status=$?
73151 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
73152 - (exit $ac_status); }; } &&
73153 - { ac_try='test -s conftest$ac_exeext'
73154 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73155 - (eval $ac_try) 2>&5
73156 - ac_status=$?
73157 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
73158 - (exit $ac_status); }; }; then
73159 + (exit $ac_status); } && {
73160 + test -z "$ac_c_werror_flag" ||
73161 + test ! -s conftest.err
73162 + } && test -s conftest$ac_exeext &&
73163 + $as_test_x conftest$ac_exeext; then
73164 eval "$as_ac_var=yes"
73165 else
73166 echo "$as_me: failed program was:" >&5
73167 sed 's/^/| /' conftest.$ac_ext >&5
73168
73169 -eval "$as_ac_var=no"
73170 + eval "$as_ac_var=no"
73171 fi
73172 -rm -f conftest.err conftest.$ac_objext \
73173 +
73174 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
73175 conftest$ac_exeext conftest.$ac_ext
73176 fi
73177 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73178 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73179 +ac_res=`eval echo '${'$as_ac_var'}'`
73180 + { echo "$as_me:$LINENO: result: $ac_res" >&5
73181 +echo "${ECHO_T}$ac_res" >&6; }
73182 if test `eval echo '${'$as_ac_var'}'` = yes; then
73183
73184 cat >>confdefs.h <<_ACEOF
73185 @@ -6277,8 +6913,8 @@
73186 done
73187 fi
73188
73189 -echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
73190 -echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
73191 +{ echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
73192 +echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6; }
73193 if test "${ac_cv_c_stack_direction+set}" = set; then
73194 echo $ECHO_N "(cached) $ECHO_C" >&6
73195 else
73196 @@ -6291,6 +6927,7 @@
73197 cat confdefs.h >>conftest.$ac_ext
73198 cat >>conftest.$ac_ext <<_ACEOF
73199 /* end confdefs.h. */
73200 +$ac_includes_default
73201 int
73202 find_stack_direction ()
73203 {
73204 @@ -6308,17 +6945,26 @@
73205 int
73206 main ()
73207 {
73208 - exit (find_stack_direction () < 0);
73209 + return find_stack_direction () < 0;
73210 }
73211 _ACEOF
73212 rm -f conftest$ac_exeext
73213 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73214 - (eval $ac_link) 2>&5
73215 +if { (ac_try="$ac_link"
73216 +case "(($ac_try" in
73217 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
73218 + *) ac_try_echo=$ac_try;;
73219 +esac
73220 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
73221 + (eval "$ac_link") 2>&5
73222 ac_status=$?
73223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73224 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
73225 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73226 - (eval $ac_try) 2>&5
73227 + { (case "(($ac_try" in
73228 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
73229 + *) ac_try_echo=$ac_try;;
73230 +esac
73231 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
73232 + (eval "$ac_try") 2>&5
73233 ac_status=$?
73234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73235 (exit $ac_status); }; }; then
73236 @@ -6331,11 +6977,13 @@
73237 ( exit $ac_status )
73238 ac_cv_c_stack_direction=-1
73239 fi
73240 -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
73241 +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
73242 fi
73243 +
73244 +
73245 fi
73246 -echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
73247 -echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
73248 +{ echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
73249 +echo "${ECHO_T}$ac_cv_c_stack_direction" >&6; }
73250
73251 cat >>confdefs.h <<_ACEOF
73252 #define STACK_DIRECTION $ac_cv_c_stack_direction
73253 @@ -6349,18 +6997,19 @@
73254 for ac_header in stdlib.h unistd.h
73255 do
73256 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
73257 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
73258 - echo "$as_me:$LINENO: checking for $ac_header" >&5
73259 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
73260 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
73261 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
73262 + { echo "$as_me:$LINENO: checking for $ac_header" >&5
73263 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
73264 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
73265 echo $ECHO_N "(cached) $ECHO_C" >&6
73266 fi
73267 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
73268 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
73269 +ac_res=`eval echo '${'$as_ac_Header'}'`
73270 + { echo "$as_me:$LINENO: result: $ac_res" >&5
73271 +echo "${ECHO_T}$ac_res" >&6; }
73272 else
73273 # Is the header compilable?
73274 -echo "$as_me:$LINENO: checking $ac_header usability" >&5
73275 -echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
73276 +{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
73277 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
73278 cat >conftest.$ac_ext <<_ACEOF
73279 /* confdefs.h. */
73280 _ACEOF
73281 @@ -6371,41 +7020,37 @@
73282 #include <$ac_header>
73283 _ACEOF
73284 rm -f conftest.$ac_objext
73285 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73286 - (eval $ac_compile) 2>conftest.er1
73287 +if { (ac_try="$ac_compile"
73288 +case "(($ac_try" in
73289 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
73290 + *) ac_try_echo=$ac_try;;
73291 +esac
73292 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
73293 + (eval "$ac_compile") 2>conftest.er1
73294 ac_status=$?
73295 grep -v '^ *+' conftest.er1 >conftest.err
73296 rm -f conftest.er1
73297 cat conftest.err >&5
73298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73299 - (exit $ac_status); } &&
73300 - { ac_try='test -z "$ac_c_werror_flag"
73301 - || test ! -s conftest.err'
73302 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73303 - (eval $ac_try) 2>&5
73304 - ac_status=$?
73305 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
73306 - (exit $ac_status); }; } &&
73307 - { ac_try='test -s conftest.$ac_objext'
73308 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73309 - (eval $ac_try) 2>&5
73310 - ac_status=$?
73311 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
73312 - (exit $ac_status); }; }; then
73313 + (exit $ac_status); } && {
73314 + test -z "$ac_c_werror_flag" ||
73315 + test ! -s conftest.err
73316 + } && test -s conftest.$ac_objext; then
73317 ac_header_compiler=yes
73318 else
73319 echo "$as_me: failed program was:" >&5
73320 sed 's/^/| /' conftest.$ac_ext >&5
73321
73322 -ac_header_compiler=no
73323 + ac_header_compiler=no
73324 fi
73325 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73326 -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
73327 -echo "${ECHO_T}$ac_header_compiler" >&6
73328 +
73329 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73330 +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
73331 +echo "${ECHO_T}$ac_header_compiler" >&6; }
73332
73333 # Is the header present?
73334 -echo "$as_me:$LINENO: checking $ac_header presence" >&5
73335 -echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
73336 +{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
73337 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
73338 cat >conftest.$ac_ext <<_ACEOF
73339 /* confdefs.h. */
73340 _ACEOF
73341 @@ -6414,24 +7059,22 @@
73342 /* end confdefs.h. */
73343 #include <$ac_header>
73344 _ACEOF
73345 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
73346 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
73347 +if { (ac_try="$ac_cpp conftest.$ac_ext"
73348 +case "(($ac_try" in
73349 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
73350 + *) ac_try_echo=$ac_try;;
73351 +esac
73352 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
73353 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
73354 ac_status=$?
73355 grep -v '^ *+' conftest.er1 >conftest.err
73356 rm -f conftest.er1
73357 cat conftest.err >&5
73358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73359 - (exit $ac_status); } >/dev/null; then
73360 - if test -s conftest.err; then
73361 - ac_cpp_err=$ac_c_preproc_warn_flag
73362 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
73363 - else
73364 - ac_cpp_err=
73365 - fi
73366 -else
73367 - ac_cpp_err=yes
73368 -fi
73369 -if test -z "$ac_cpp_err"; then
73370 + (exit $ac_status); } >/dev/null && {
73371 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
73372 + test ! -s conftest.err
73373 + }; then
73374 ac_header_preproc=yes
73375 else
73376 echo "$as_me: failed program was:" >&5
73377 @@ -6439,9 +7082,10 @@
73378
73379 ac_header_preproc=no
73380 fi
73381 +
73382 rm -f conftest.err conftest.$ac_ext
73383 -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
73384 -echo "${ECHO_T}$ac_header_preproc" >&6
73385 +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
73386 +echo "${ECHO_T}$ac_header_preproc" >&6; }
73387
73388 # So? What about this header?
73389 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
73390 @@ -6465,25 +7109,19 @@
73391 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
73392 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
73393 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
73394 - (
73395 - cat <<\_ASBOX
73396 -## ------------------------------------------ ##
73397 -## Report this to the AC_PACKAGE_NAME lists. ##
73398 -## ------------------------------------------ ##
73399 -_ASBOX
73400 - ) |
73401 - sed "s/^/$as_me: WARNING: /" >&2
73402 +
73403 ;;
73404 esac
73405 -echo "$as_me:$LINENO: checking for $ac_header" >&5
73406 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
73407 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
73408 +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
73409 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
73410 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
73411 echo $ECHO_N "(cached) $ECHO_C" >&6
73412 else
73413 eval "$as_ac_Header=\$ac_header_preproc"
73414 fi
73415 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
73416 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
73417 +ac_res=`eval echo '${'$as_ac_Header'}'`
73418 + { echo "$as_me:$LINENO: result: $ac_res" >&5
73419 +echo "${ECHO_T}$ac_res" >&6; }
73420
73421 fi
73422 if test `eval echo '${'$as_ac_Header'}'` = yes; then
73423 @@ -6499,9 +7137,9 @@
73424 for ac_func in getpagesize
73425 do
73426 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73427 -echo "$as_me:$LINENO: checking for $ac_func" >&5
73428 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73429 -if eval "test \"\${$as_ac_var+set}\" = set"; then
73430 +{ echo "$as_me:$LINENO: checking for $ac_func" >&5
73431 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
73432 +if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
73433 echo $ECHO_N "(cached) $ECHO_C" >&6
73434 else
73435 cat >conftest.$ac_ext <<_ACEOF
73436 @@ -6527,68 +7165,60 @@
73437
73438 #undef $ac_func
73439
73440 -/* Override any gcc2 internal prototype to avoid an error. */
73441 +/* Override any GCC internal prototype to avoid an error.
73442 + Use char because int might match the return type of a GCC
73443 + builtin and then its argument prototype would still apply. */
73444 #ifdef __cplusplus
73445 extern "C"
73446 -{
73447 #endif
73448 -/* We use char because int might match the return type of a gcc2
73449 - builtin and then its argument prototype would still apply. */
73450 char $ac_func ();
73451 /* The GNU C library defines this for functions which it implements
73452 to always fail with ENOSYS. Some functions are actually named
73453 something starting with __ and the normal name is an alias. */
73454 -#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73455 +#if defined __stub_$ac_func || defined __stub___$ac_func
73456 choke me
73457 -#else
73458 -char (*f) () = $ac_func;
73459 -#endif
73460 -#ifdef __cplusplus
73461 -}
73462 #endif
73463
73464 int
73465 main ()
73466 {
73467 -return f != $ac_func;
73468 +return $ac_func ();
73469 ;
73470 return 0;
73471 }
73472 _ACEOF
73473 rm -f conftest.$ac_objext conftest$ac_exeext
73474 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73475 - (eval $ac_link) 2>conftest.er1
73476 +if { (ac_try="$ac_link"
73477 +case "(($ac_try" in
73478 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
73479 + *) ac_try_echo=$ac_try;;
73480 +esac
73481 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
73482 + (eval "$ac_link") 2>conftest.er1
73483 ac_status=$?
73484 grep -v '^ *+' conftest.er1 >conftest.err
73485 rm -f conftest.er1
73486 cat conftest.err >&5
73487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73488 - (exit $ac_status); } &&
73489 - { ac_try='test -z "$ac_c_werror_flag"
73490 - || test ! -s conftest.err'
73491 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73492 - (eval $ac_try) 2>&5
73493 - ac_status=$?
73494 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
73495 - (exit $ac_status); }; } &&
73496 - { ac_try='test -s conftest$ac_exeext'
73497 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73498 - (eval $ac_try) 2>&5
73499 - ac_status=$?
73500 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
73501 - (exit $ac_status); }; }; then
73502 + (exit $ac_status); } && {
73503 + test -z "$ac_c_werror_flag" ||
73504 + test ! -s conftest.err
73505 + } && test -s conftest$ac_exeext &&
73506 + $as_test_x conftest$ac_exeext; then
73507 eval "$as_ac_var=yes"
73508 else
73509 echo "$as_me: failed program was:" >&5
73510 sed 's/^/| /' conftest.$ac_ext >&5
73511
73512 -eval "$as_ac_var=no"
73513 + eval "$as_ac_var=no"
73514 fi
73515 -rm -f conftest.err conftest.$ac_objext \
73516 +
73517 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
73518 conftest$ac_exeext conftest.$ac_ext
73519 fi
73520 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73521 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73522 +ac_res=`eval echo '${'$as_ac_var'}'`
73523 + { echo "$as_me:$LINENO: result: $ac_res" >&5
73524 +echo "${ECHO_T}$ac_res" >&6; }
73525 if test `eval echo '${'$as_ac_var'}'` = yes; then
73526 cat >>confdefs.h <<_ACEOF
73527 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73528 @@ -6597,8 +7227,8 @@
73529 fi
73530 done
73531
73532 -echo "$as_me:$LINENO: checking for working mmap" >&5
73533 -echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
73534 +{ echo "$as_me:$LINENO: checking for working mmap" >&5
73535 +echo $ECHO_N "checking for working mmap... $ECHO_C" >&6; }
73536 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
73537 echo $ECHO_N "(cached) $ECHO_C" >&6
73538 else
73539 @@ -6640,21 +7270,21 @@
73540 #include <fcntl.h>
73541 #include <sys/mman.h>
73542
73543 -#if !STDC_HEADERS && !HAVE_STDLIB_H
73544 +#if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
73545 char *malloc ();
73546 #endif
73547
73548 /* This mess was copied from the GNU getpagesize.h. */
73549 -#if !HAVE_GETPAGESIZE
73550 +#ifndef HAVE_GETPAGESIZE
73551 /* Assume that all systems that can run configure have sys/param.h. */
73552 -# if !HAVE_SYS_PARAM_H
73553 +# ifndef HAVE_SYS_PARAM_H
73554 # define HAVE_SYS_PARAM_H 1
73555 # endif
73556
73557 # ifdef _SC_PAGESIZE
73558 # define getpagesize() sysconf(_SC_PAGESIZE)
73559 # else /* no _SC_PAGESIZE */
73560 -# if HAVE_SYS_PARAM_H
73561 +# ifdef HAVE_SYS_PARAM_H
73562 # include <sys/param.h>
73563 # ifdef EXEC_PAGESIZE
73564 # define getpagesize() EXEC_PAGESIZE
73565 @@ -6693,15 +7323,15 @@
73566 /* First, make a file with some known garbage in it. */
73567 data = (char *) malloc (pagesize);
73568 if (!data)
73569 - exit (1);
73570 + return 1;
73571 for (i = 0; i < pagesize; ++i)
73572 *(data + i) = rand ();
73573 umask (0);
73574 fd = creat ("conftest.mmap", 0600);
73575 if (fd < 0)
73576 - exit (1);
73577 + return 1;
73578 if (write (fd, data, pagesize) != pagesize)
73579 - exit (1);
73580 + return 1;
73581 close (fd);
73582
73583 /* Next, try to mmap the file at a fixed address which already has
73584 @@ -6709,17 +7339,17 @@
73585 we see the same garbage. */
73586 fd = open ("conftest.mmap", O_RDWR);
73587 if (fd < 0)
73588 - exit (1);
73589 + return 1;
73590 data2 = (char *) malloc (2 * pagesize);
73591 if (!data2)
73592 - exit (1);
73593 - data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
73594 + return 1;
73595 + data2 += (pagesize - ((long int) data2 & (pagesize - 1))) & (pagesize - 1);
73596 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
73597 MAP_PRIVATE | MAP_FIXED, fd, 0L))
73598 - exit (1);
73599 + return 1;
73600 for (i = 0; i < pagesize; ++i)
73601 if (*(data + i) != *(data2 + i))
73602 - exit (1);
73603 + return 1;
73604
73605 /* Finally, make sure that changes to the mapped area do not
73606 percolate back to the file as seen by read(). (This is a bug on
73607 @@ -6728,24 +7358,33 @@
73608 *(data2 + i) = *(data2 + i) + 1;
73609 data3 = (char *) malloc (pagesize);
73610 if (!data3)
73611 - exit (1);
73612 + return 1;
73613 if (read (fd, data3, pagesize) != pagesize)
73614 - exit (1);
73615 + return 1;
73616 for (i = 0; i < pagesize; ++i)
73617 if (*(data + i) != *(data3 + i))
73618 - exit (1);
73619 + return 1;
73620 close (fd);
73621 - exit (0);
73622 + return 0;
73623 }
73624 _ACEOF
73625 rm -f conftest$ac_exeext
73626 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73627 - (eval $ac_link) 2>&5
73628 +if { (ac_try="$ac_link"
73629 +case "(($ac_try" in
73630 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
73631 + *) ac_try_echo=$ac_try;;
73632 +esac
73633 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
73634 + (eval "$ac_link") 2>&5
73635 ac_status=$?
73636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73637 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
73638 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73639 - (eval $ac_try) 2>&5
73640 + { (case "(($ac_try" in
73641 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
73642 + *) ac_try_echo=$ac_try;;
73643 +esac
73644 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
73645 + (eval "$ac_try") 2>&5
73646 ac_status=$?
73647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73648 (exit $ac_status); }; }; then
73649 @@ -6758,11 +7397,13 @@
73650 ( exit $ac_status )
73651 ac_cv_func_mmap_fixed_mapped=no
73652 fi
73653 -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
73654 +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
73655 fi
73656 +
73657 +
73658 fi
73659 -echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
73660 -echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
73661 +{ echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
73662 +echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6; }
73663 if test $ac_cv_func_mmap_fixed_mapped = yes; then
73664
73665 cat >>confdefs.h <<\_ACEOF
73666 @@ -6786,18 +7427,19 @@
73667 unistd.h values.h sys/param.h
73668 do
73669 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
73670 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
73671 - echo "$as_me:$LINENO: checking for $ac_header" >&5
73672 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
73673 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
73674 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
73675 + { echo "$as_me:$LINENO: checking for $ac_header" >&5
73676 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
73677 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
73678 echo $ECHO_N "(cached) $ECHO_C" >&6
73679 fi
73680 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
73681 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
73682 +ac_res=`eval echo '${'$as_ac_Header'}'`
73683 + { echo "$as_me:$LINENO: result: $ac_res" >&5
73684 +echo "${ECHO_T}$ac_res" >&6; }
73685 else
73686 # Is the header compilable?
73687 -echo "$as_me:$LINENO: checking $ac_header usability" >&5
73688 -echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
73689 +{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
73690 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
73691 cat >conftest.$ac_ext <<_ACEOF
73692 /* confdefs.h. */
73693 _ACEOF
73694 @@ -6808,41 +7450,37 @@
73695 #include <$ac_header>
73696 _ACEOF
73697 rm -f conftest.$ac_objext
73698 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73699 - (eval $ac_compile) 2>conftest.er1
73700 +if { (ac_try="$ac_compile"
73701 +case "(($ac_try" in
73702 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
73703 + *) ac_try_echo=$ac_try;;
73704 +esac
73705 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
73706 + (eval "$ac_compile") 2>conftest.er1
73707 ac_status=$?
73708 grep -v '^ *+' conftest.er1 >conftest.err
73709 rm -f conftest.er1
73710 cat conftest.err >&5
73711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73712 - (exit $ac_status); } &&
73713 - { ac_try='test -z "$ac_c_werror_flag"
73714 - || test ! -s conftest.err'
73715 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73716 - (eval $ac_try) 2>&5
73717 - ac_status=$?
73718 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
73719 - (exit $ac_status); }; } &&
73720 - { ac_try='test -s conftest.$ac_objext'
73721 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73722 - (eval $ac_try) 2>&5
73723 - ac_status=$?
73724 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
73725 - (exit $ac_status); }; }; then
73726 + (exit $ac_status); } && {
73727 + test -z "$ac_c_werror_flag" ||
73728 + test ! -s conftest.err
73729 + } && test -s conftest.$ac_objext; then
73730 ac_header_compiler=yes
73731 else
73732 echo "$as_me: failed program was:" >&5
73733 sed 's/^/| /' conftest.$ac_ext >&5
73734
73735 -ac_header_compiler=no
73736 + ac_header_compiler=no
73737 fi
73738 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73739 -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
73740 -echo "${ECHO_T}$ac_header_compiler" >&6
73741 +
73742 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73743 +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
73744 +echo "${ECHO_T}$ac_header_compiler" >&6; }
73745
73746 # Is the header present?
73747 -echo "$as_me:$LINENO: checking $ac_header presence" >&5
73748 -echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
73749 +{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
73750 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
73751 cat >conftest.$ac_ext <<_ACEOF
73752 /* confdefs.h. */
73753 _ACEOF
73754 @@ -6851,24 +7489,22 @@
73755 /* end confdefs.h. */
73756 #include <$ac_header>
73757 _ACEOF
73758 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
73759 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
73760 +if { (ac_try="$ac_cpp conftest.$ac_ext"
73761 +case "(($ac_try" in
73762 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
73763 + *) ac_try_echo=$ac_try;;
73764 +esac
73765 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
73766 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
73767 ac_status=$?
73768 grep -v '^ *+' conftest.er1 >conftest.err
73769 rm -f conftest.er1
73770 cat conftest.err >&5
73771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73772 - (exit $ac_status); } >/dev/null; then
73773 - if test -s conftest.err; then
73774 - ac_cpp_err=$ac_c_preproc_warn_flag
73775 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
73776 - else
73777 - ac_cpp_err=
73778 - fi
73779 -else
73780 - ac_cpp_err=yes
73781 -fi
73782 -if test -z "$ac_cpp_err"; then
73783 + (exit $ac_status); } >/dev/null && {
73784 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
73785 + test ! -s conftest.err
73786 + }; then
73787 ac_header_preproc=yes
73788 else
73789 echo "$as_me: failed program was:" >&5
73790 @@ -6876,9 +7512,10 @@
73791
73792 ac_header_preproc=no
73793 fi
73794 +
73795 rm -f conftest.err conftest.$ac_ext
73796 -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
73797 -echo "${ECHO_T}$ac_header_preproc" >&6
73798 +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
73799 +echo "${ECHO_T}$ac_header_preproc" >&6; }
73800
73801 # So? What about this header?
73802 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
73803 @@ -6902,25 +7539,19 @@
73804 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
73805 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
73806 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
73807 - (
73808 - cat <<\_ASBOX
73809 -## ------------------------------------------ ##
73810 -## Report this to the AC_PACKAGE_NAME lists. ##
73811 -## ------------------------------------------ ##
73812 -_ASBOX
73813 - ) |
73814 - sed "s/^/$as_me: WARNING: /" >&2
73815 +
73816 ;;
73817 esac
73818 -echo "$as_me:$LINENO: checking for $ac_header" >&5
73819 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
73820 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
73821 +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
73822 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
73823 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
73824 echo $ECHO_N "(cached) $ECHO_C" >&6
73825 else
73826 eval "$as_ac_Header=\$ac_header_preproc"
73827 fi
73828 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
73829 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
73830 +ac_res=`eval echo '${'$as_ac_Header'}'`
73831 + { echo "$as_me:$LINENO: result: $ac_res" >&5
73832 +echo "${ECHO_T}$ac_res" >&6; }
73833
73834 fi
73835 if test `eval echo '${'$as_ac_Header'}'` = yes; then
73836 @@ -6946,9 +7577,9 @@
73837 __argz_count __argz_stringify __argz_next
73838 do
73839 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73840 -echo "$as_me:$LINENO: checking for $ac_func" >&5
73841 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73842 -if eval "test \"\${$as_ac_var+set}\" = set"; then
73843 +{ echo "$as_me:$LINENO: checking for $ac_func" >&5
73844 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
73845 +if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
73846 echo $ECHO_N "(cached) $ECHO_C" >&6
73847 else
73848 cat >conftest.$ac_ext <<_ACEOF
73849 @@ -6974,68 +7605,60 @@
73850
73851 #undef $ac_func
73852
73853 -/* Override any gcc2 internal prototype to avoid an error. */
73854 +/* Override any GCC internal prototype to avoid an error.
73855 + Use char because int might match the return type of a GCC
73856 + builtin and then its argument prototype would still apply. */
73857 #ifdef __cplusplus
73858 extern "C"
73859 -{
73860 #endif
73861 -/* We use char because int might match the return type of a gcc2
73862 - builtin and then its argument prototype would still apply. */
73863 char $ac_func ();
73864 /* The GNU C library defines this for functions which it implements
73865 to always fail with ENOSYS. Some functions are actually named
73866 something starting with __ and the normal name is an alias. */
73867 -#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73868 +#if defined __stub_$ac_func || defined __stub___$ac_func
73869 choke me
73870 -#else
73871 -char (*f) () = $ac_func;
73872 -#endif
73873 -#ifdef __cplusplus
73874 -}
73875 #endif
73876
73877 int
73878 main ()
73879 {
73880 -return f != $ac_func;
73881 +return $ac_func ();
73882 ;
73883 return 0;
73884 }
73885 _ACEOF
73886 rm -f conftest.$ac_objext conftest$ac_exeext
73887 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73888 - (eval $ac_link) 2>conftest.er1
73889 +if { (ac_try="$ac_link"
73890 +case "(($ac_try" in
73891 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
73892 + *) ac_try_echo=$ac_try;;
73893 +esac
73894 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
73895 + (eval "$ac_link") 2>conftest.er1
73896 ac_status=$?
73897 grep -v '^ *+' conftest.er1 >conftest.err
73898 rm -f conftest.er1
73899 cat conftest.err >&5
73900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73901 - (exit $ac_status); } &&
73902 - { ac_try='test -z "$ac_c_werror_flag"
73903 - || test ! -s conftest.err'
73904 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73905 - (eval $ac_try) 2>&5
73906 - ac_status=$?
73907 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
73908 - (exit $ac_status); }; } &&
73909 - { ac_try='test -s conftest$ac_exeext'
73910 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73911 - (eval $ac_try) 2>&5
73912 - ac_status=$?
73913 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
73914 - (exit $ac_status); }; }; then
73915 + (exit $ac_status); } && {
73916 + test -z "$ac_c_werror_flag" ||
73917 + test ! -s conftest.err
73918 + } && test -s conftest$ac_exeext &&
73919 + $as_test_x conftest$ac_exeext; then
73920 eval "$as_ac_var=yes"
73921 else
73922 echo "$as_me: failed program was:" >&5
73923 sed 's/^/| /' conftest.$ac_ext >&5
73924
73925 -eval "$as_ac_var=no"
73926 + eval "$as_ac_var=no"
73927 fi
73928 -rm -f conftest.err conftest.$ac_objext \
73929 +
73930 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
73931 conftest$ac_exeext conftest.$ac_ext
73932 fi
73933 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73934 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73935 +ac_res=`eval echo '${'$as_ac_var'}'`
73936 + { echo "$as_me:$LINENO: result: $ac_res" >&5
73937 +echo "${ECHO_T}$ac_res" >&6; }
73938 if test `eval echo '${'$as_ac_var'}'` = yes; then
73939 cat >>confdefs.h <<_ACEOF
73940 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73941 @@ -7050,9 +7673,9 @@
73942 for ac_func in stpcpy
73943 do
73944 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73945 -echo "$as_me:$LINENO: checking for $ac_func" >&5
73946 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73947 -if eval "test \"\${$as_ac_var+set}\" = set"; then
73948 +{ echo "$as_me:$LINENO: checking for $ac_func" >&5
73949 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
73950 +if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
73951 echo $ECHO_N "(cached) $ECHO_C" >&6
73952 else
73953 cat >conftest.$ac_ext <<_ACEOF
73954 @@ -7078,68 +7701,60 @@
73955
73956 #undef $ac_func
73957
73958 -/* Override any gcc2 internal prototype to avoid an error. */
73959 +/* Override any GCC internal prototype to avoid an error.
73960 + Use char because int might match the return type of a GCC
73961 + builtin and then its argument prototype would still apply. */
73962 #ifdef __cplusplus
73963 extern "C"
73964 -{
73965 #endif
73966 -/* We use char because int might match the return type of a gcc2
73967 - builtin and then its argument prototype would still apply. */
73968 char $ac_func ();
73969 /* The GNU C library defines this for functions which it implements
73970 to always fail with ENOSYS. Some functions are actually named
73971 something starting with __ and the normal name is an alias. */
73972 -#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73973 +#if defined __stub_$ac_func || defined __stub___$ac_func
73974 choke me
73975 -#else
73976 -char (*f) () = $ac_func;
73977 -#endif
73978 -#ifdef __cplusplus
73979 -}
73980 #endif
73981
73982 int
73983 main ()
73984 {
73985 -return f != $ac_func;
73986 +return $ac_func ();
73987 ;
73988 return 0;
73989 }
73990 _ACEOF
73991 rm -f conftest.$ac_objext conftest$ac_exeext
73992 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73993 - (eval $ac_link) 2>conftest.er1
73994 +if { (ac_try="$ac_link"
73995 +case "(($ac_try" in
73996 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
73997 + *) ac_try_echo=$ac_try;;
73998 +esac
73999 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
74000 + (eval "$ac_link") 2>conftest.er1
74001 ac_status=$?
74002 grep -v '^ *+' conftest.er1 >conftest.err
74003 rm -f conftest.er1
74004 cat conftest.err >&5
74005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74006 - (exit $ac_status); } &&
74007 - { ac_try='test -z "$ac_c_werror_flag"
74008 - || test ! -s conftest.err'
74009 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74010 - (eval $ac_try) 2>&5
74011 - ac_status=$?
74012 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
74013 - (exit $ac_status); }; } &&
74014 - { ac_try='test -s conftest$ac_exeext'
74015 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74016 - (eval $ac_try) 2>&5
74017 - ac_status=$?
74018 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
74019 - (exit $ac_status); }; }; then
74020 + (exit $ac_status); } && {
74021 + test -z "$ac_c_werror_flag" ||
74022 + test ! -s conftest.err
74023 + } && test -s conftest$ac_exeext &&
74024 + $as_test_x conftest$ac_exeext; then
74025 eval "$as_ac_var=yes"
74026 else
74027 echo "$as_me: failed program was:" >&5
74028 sed 's/^/| /' conftest.$ac_ext >&5
74029
74030 -eval "$as_ac_var=no"
74031 + eval "$as_ac_var=no"
74032 fi
74033 -rm -f conftest.err conftest.$ac_objext \
74034 +
74035 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
74036 conftest$ac_exeext conftest.$ac_ext
74037 fi
74038 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74039 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74040 +ac_res=`eval echo '${'$as_ac_var'}'`
74041 + { echo "$as_me:$LINENO: result: $ac_res" >&5
74042 +echo "${ECHO_T}$ac_res" >&6; }
74043 if test `eval echo '${'$as_ac_var'}'` = yes; then
74044 cat >>confdefs.h <<_ACEOF
74045 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74046 @@ -7158,8 +7773,8 @@
74047 fi
74048
74049 if test $ac_cv_header_locale_h = yes; then
74050 - echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
74051 -echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
74052 + { echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
74053 +echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6; }
74054 if test "${am_cv_val_LC_MESSAGES+set}" = set; then
74055 echo $ECHO_N "(cached) $ECHO_C" >&6
74056 else
74057 @@ -7179,39 +7794,36 @@
74058 }
74059 _ACEOF
74060 rm -f conftest.$ac_objext conftest$ac_exeext
74061 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74062 - (eval $ac_link) 2>conftest.er1
74063 +if { (ac_try="$ac_link"
74064 +case "(($ac_try" in
74065 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
74066 + *) ac_try_echo=$ac_try;;
74067 +esac
74068 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
74069 + (eval "$ac_link") 2>conftest.er1
74070 ac_status=$?
74071 grep -v '^ *+' conftest.er1 >conftest.err
74072 rm -f conftest.er1
74073 cat conftest.err >&5
74074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74075 - (exit $ac_status); } &&
74076 - { ac_try='test -z "$ac_c_werror_flag"
74077 - || test ! -s conftest.err'
74078 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74079 - (eval $ac_try) 2>&5
74080 - ac_status=$?
74081 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
74082 - (exit $ac_status); }; } &&
74083 - { ac_try='test -s conftest$ac_exeext'
74084 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74085 - (eval $ac_try) 2>&5
74086 - ac_status=$?
74087 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
74088 - (exit $ac_status); }; }; then
74089 + (exit $ac_status); } && {
74090 + test -z "$ac_c_werror_flag" ||
74091 + test ! -s conftest.err
74092 + } && test -s conftest$ac_exeext &&
74093 + $as_test_x conftest$ac_exeext; then
74094 am_cv_val_LC_MESSAGES=yes
74095 else
74096 echo "$as_me: failed program was:" >&5
74097 sed 's/^/| /' conftest.$ac_ext >&5
74098
74099 -am_cv_val_LC_MESSAGES=no
74100 + am_cv_val_LC_MESSAGES=no
74101 fi
74102 -rm -f conftest.err conftest.$ac_objext \
74103 +
74104 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
74105 conftest$ac_exeext conftest.$ac_ext
74106 fi
74107 -echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
74108 -echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6
74109 +{ echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
74110 +echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6; }
74111 if test $am_cv_val_LC_MESSAGES = yes; then
74112
74113 cat >>confdefs.h <<\_ACEOF
74114 @@ -7220,34 +7832,34 @@
74115
74116 fi
74117 fi
74118 - echo "$as_me:$LINENO: checking whether NLS is requested" >&5
74119 -echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
74120 - # Check whether --enable-nls or --disable-nls was given.
74121 + { echo "$as_me:$LINENO: checking whether NLS is requested" >&5
74122 +echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6; }
74123 + # Check whether --enable-nls was given.
74124 if test "${enable_nls+set}" = set; then
74125 - enableval="$enable_nls"
74126 - USE_NLS=$enableval
74127 + enableval=$enable_nls; USE_NLS=$enableval
74128 else
74129 USE_NLS=yes
74130 -fi;
74131 - echo "$as_me:$LINENO: result: $USE_NLS" >&5
74132 -echo "${ECHO_T}$USE_NLS" >&6
74133 +fi
74134 +
74135 + { echo "$as_me:$LINENO: result: $USE_NLS" >&5
74136 +echo "${ECHO_T}$USE_NLS" >&6; }
74137
74138
74139 USE_INCLUDED_LIBINTL=no
74140
74141 if test "$USE_NLS" = "yes"; then
74142 - echo "$as_me:$LINENO: checking whether included gettext is requested" >&5
74143 -echo $ECHO_N "checking whether included gettext is requested... $ECHO_C" >&6
74144 + { echo "$as_me:$LINENO: checking whether included gettext is requested" >&5
74145 +echo $ECHO_N "checking whether included gettext is requested... $ECHO_C" >&6; }
74146
74147 -# Check whether --with-included-gettext or --without-included-gettext was given.
74148 +# Check whether --with-included-gettext was given.
74149 if test "${with_included_gettext+set}" = set; then
74150 - withval="$with_included_gettext"
74151 - nls_cv_force_use_gnu_gettext=$withval
74152 + withval=$with_included_gettext; nls_cv_force_use_gnu_gettext=$withval
74153 else
74154 nls_cv_force_use_gnu_gettext=no
74155 -fi;
74156 - echo "$as_me:$LINENO: result: $nls_cv_force_use_gnu_gettext" >&5
74157 -echo "${ECHO_T}$nls_cv_force_use_gnu_gettext" >&6
74158 +fi
74159 +
74160 + { echo "$as_me:$LINENO: result: $nls_cv_force_use_gnu_gettext" >&5
74161 +echo "${ECHO_T}$nls_cv_force_use_gnu_gettext" >&6; }
74162
74163 nls_cv_use_gnu_gettext="$nls_cv_force_use_gnu_gettext"
74164 if test "$nls_cv_force_use_gnu_gettext" != "yes"; then
74165 @@ -7256,17 +7868,17 @@
74166 CATOBJEXT=
74167
74168 if test "${ac_cv_header_libintl_h+set}" = set; then
74169 - echo "$as_me:$LINENO: checking for libintl.h" >&5
74170 -echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6
74171 + { echo "$as_me:$LINENO: checking for libintl.h" >&5
74172 +echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6; }
74173 if test "${ac_cv_header_libintl_h+set}" = set; then
74174 echo $ECHO_N "(cached) $ECHO_C" >&6
74175 fi
74176 -echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
74177 -echo "${ECHO_T}$ac_cv_header_libintl_h" >&6
74178 +{ echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
74179 +echo "${ECHO_T}$ac_cv_header_libintl_h" >&6; }
74180 else
74181 # Is the header compilable?
74182 -echo "$as_me:$LINENO: checking libintl.h usability" >&5
74183 -echo $ECHO_N "checking libintl.h usability... $ECHO_C" >&6
74184 +{ echo "$as_me:$LINENO: checking libintl.h usability" >&5
74185 +echo $ECHO_N "checking libintl.h usability... $ECHO_C" >&6; }
74186 cat >conftest.$ac_ext <<_ACEOF
74187 /* confdefs.h. */
74188 _ACEOF
74189 @@ -7277,41 +7889,37 @@
74190 #include <libintl.h>
74191 _ACEOF
74192 rm -f conftest.$ac_objext
74193 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74194 - (eval $ac_compile) 2>conftest.er1
74195 +if { (ac_try="$ac_compile"
74196 +case "(($ac_try" in
74197 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
74198 + *) ac_try_echo=$ac_try;;
74199 +esac
74200 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
74201 + (eval "$ac_compile") 2>conftest.er1
74202 ac_status=$?
74203 grep -v '^ *+' conftest.er1 >conftest.err
74204 rm -f conftest.er1
74205 cat conftest.err >&5
74206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74207 - (exit $ac_status); } &&
74208 - { ac_try='test -z "$ac_c_werror_flag"
74209 - || test ! -s conftest.err'
74210 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74211 - (eval $ac_try) 2>&5
74212 - ac_status=$?
74213 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
74214 - (exit $ac_status); }; } &&
74215 - { ac_try='test -s conftest.$ac_objext'
74216 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74217 - (eval $ac_try) 2>&5
74218 - ac_status=$?
74219 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
74220 - (exit $ac_status); }; }; then
74221 + (exit $ac_status); } && {
74222 + test -z "$ac_c_werror_flag" ||
74223 + test ! -s conftest.err
74224 + } && test -s conftest.$ac_objext; then
74225 ac_header_compiler=yes
74226 else
74227 echo "$as_me: failed program was:" >&5
74228 sed 's/^/| /' conftest.$ac_ext >&5
74229
74230 -ac_header_compiler=no
74231 + ac_header_compiler=no
74232 fi
74233 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74234 -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
74235 -echo "${ECHO_T}$ac_header_compiler" >&6
74236 +
74237 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74238 +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
74239 +echo "${ECHO_T}$ac_header_compiler" >&6; }
74240
74241 # Is the header present?
74242 -echo "$as_me:$LINENO: checking libintl.h presence" >&5
74243 -echo $ECHO_N "checking libintl.h presence... $ECHO_C" >&6
74244 +{ echo "$as_me:$LINENO: checking libintl.h presence" >&5
74245 +echo $ECHO_N "checking libintl.h presence... $ECHO_C" >&6; }
74246 cat >conftest.$ac_ext <<_ACEOF
74247 /* confdefs.h. */
74248 _ACEOF
74249 @@ -7320,24 +7928,22 @@
74250 /* end confdefs.h. */
74251 #include <libintl.h>
74252 _ACEOF
74253 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
74254 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
74255 +if { (ac_try="$ac_cpp conftest.$ac_ext"
74256 +case "(($ac_try" in
74257 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
74258 + *) ac_try_echo=$ac_try;;
74259 +esac
74260 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
74261 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
74262 ac_status=$?
74263 grep -v '^ *+' conftest.er1 >conftest.err
74264 rm -f conftest.er1
74265 cat conftest.err >&5
74266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74267 - (exit $ac_status); } >/dev/null; then
74268 - if test -s conftest.err; then
74269 - ac_cpp_err=$ac_c_preproc_warn_flag
74270 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
74271 - else
74272 - ac_cpp_err=
74273 - fi
74274 -else
74275 - ac_cpp_err=yes
74276 -fi
74277 -if test -z "$ac_cpp_err"; then
74278 + (exit $ac_status); } >/dev/null && {
74279 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
74280 + test ! -s conftest.err
74281 + }; then
74282 ac_header_preproc=yes
74283 else
74284 echo "$as_me: failed program was:" >&5
74285 @@ -7345,9 +7951,10 @@
74286
74287 ac_header_preproc=no
74288 fi
74289 +
74290 rm -f conftest.err conftest.$ac_ext
74291 -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
74292 -echo "${ECHO_T}$ac_header_preproc" >&6
74293 +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
74294 +echo "${ECHO_T}$ac_header_preproc" >&6; }
74295
74296 # So? What about this header?
74297 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
74298 @@ -7371,30 +7978,23 @@
74299 echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;}
74300 { echo "$as_me:$LINENO: WARNING: libintl.h: in the future, the compiler will take precedence" >&5
74301 echo "$as_me: WARNING: libintl.h: in the future, the compiler will take precedence" >&2;}
74302 - (
74303 - cat <<\_ASBOX
74304 -## ------------------------------------------ ##
74305 -## Report this to the AC_PACKAGE_NAME lists. ##
74306 -## ------------------------------------------ ##
74307 -_ASBOX
74308 - ) |
74309 - sed "s/^/$as_me: WARNING: /" >&2
74310 +
74311 ;;
74312 esac
74313 -echo "$as_me:$LINENO: checking for libintl.h" >&5
74314 -echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6
74315 +{ echo "$as_me:$LINENO: checking for libintl.h" >&5
74316 +echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6; }
74317 if test "${ac_cv_header_libintl_h+set}" = set; then
74318 echo $ECHO_N "(cached) $ECHO_C" >&6
74319 else
74320 ac_cv_header_libintl_h=$ac_header_preproc
74321 fi
74322 -echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
74323 -echo "${ECHO_T}$ac_cv_header_libintl_h" >&6
74324 +{ echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
74325 +echo "${ECHO_T}$ac_cv_header_libintl_h" >&6; }
74326
74327 fi
74328 if test $ac_cv_header_libintl_h = yes; then
74329 - echo "$as_me:$LINENO: checking for gettext in libc" >&5
74330 -echo $ECHO_N "checking for gettext in libc... $ECHO_C" >&6
74331 + { echo "$as_me:$LINENO: checking for gettext in libc" >&5
74332 +echo $ECHO_N "checking for gettext in libc... $ECHO_C" >&6; }
74333 if test "${gt_cv_func_gettext_libc+set}" = set; then
74334 echo $ECHO_N "(cached) $ECHO_C" >&6
74335 else
74336 @@ -7414,43 +8014,40 @@
74337 }
74338 _ACEOF
74339 rm -f conftest.$ac_objext conftest$ac_exeext
74340 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74341 - (eval $ac_link) 2>conftest.er1
74342 +if { (ac_try="$ac_link"
74343 +case "(($ac_try" in
74344 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
74345 + *) ac_try_echo=$ac_try;;
74346 +esac
74347 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
74348 + (eval "$ac_link") 2>conftest.er1
74349 ac_status=$?
74350 grep -v '^ *+' conftest.er1 >conftest.err
74351 rm -f conftest.er1
74352 cat conftest.err >&5
74353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74354 - (exit $ac_status); } &&
74355 - { ac_try='test -z "$ac_c_werror_flag"
74356 - || test ! -s conftest.err'
74357 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74358 - (eval $ac_try) 2>&5
74359 - ac_status=$?
74360 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
74361 - (exit $ac_status); }; } &&
74362 - { ac_try='test -s conftest$ac_exeext'
74363 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74364 - (eval $ac_try) 2>&5
74365 - ac_status=$?
74366 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
74367 - (exit $ac_status); }; }; then
74368 + (exit $ac_status); } && {
74369 + test -z "$ac_c_werror_flag" ||
74370 + test ! -s conftest.err
74371 + } && test -s conftest$ac_exeext &&
74372 + $as_test_x conftest$ac_exeext; then
74373 gt_cv_func_gettext_libc=yes
74374 else
74375 echo "$as_me: failed program was:" >&5
74376 sed 's/^/| /' conftest.$ac_ext >&5
74377
74378 -gt_cv_func_gettext_libc=no
74379 + gt_cv_func_gettext_libc=no
74380 fi
74381 -rm -f conftest.err conftest.$ac_objext \
74382 +
74383 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
74384 conftest$ac_exeext conftest.$ac_ext
74385 fi
74386 -echo "$as_me:$LINENO: result: $gt_cv_func_gettext_libc" >&5
74387 -echo "${ECHO_T}$gt_cv_func_gettext_libc" >&6
74388 +{ echo "$as_me:$LINENO: result: $gt_cv_func_gettext_libc" >&5
74389 +echo "${ECHO_T}$gt_cv_func_gettext_libc" >&6; }
74390
74391 if test "$gt_cv_func_gettext_libc" != "yes"; then
74392 - echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5
74393 -echo $ECHO_N "checking for bindtextdomain in -lintl... $ECHO_C" >&6
74394 + { echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5
74395 +echo $ECHO_N "checking for bindtextdomain in -lintl... $ECHO_C" >&6; }
74396 if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then
74397 echo $ECHO_N "(cached) $ECHO_C" >&6
74398 else
74399 @@ -7463,59 +8060,56 @@
74400 cat >>conftest.$ac_ext <<_ACEOF
74401 /* end confdefs.h. */
74402
74403 -/* Override any gcc2 internal prototype to avoid an error. */
74404 +/* Override any GCC internal prototype to avoid an error.
74405 + Use char because int might match the return type of a GCC
74406 + builtin and then its argument prototype would still apply. */
74407 #ifdef __cplusplus
74408 extern "C"
74409 #endif
74410 -/* We use char because int might match the return type of a gcc2
74411 - builtin and then its argument prototype would still apply. */
74412 char bindtextdomain ();
74413 int
74414 main ()
74415 {
74416 -bindtextdomain ();
74417 +return bindtextdomain ();
74418 ;
74419 return 0;
74420 }
74421 _ACEOF
74422 rm -f conftest.$ac_objext conftest$ac_exeext
74423 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74424 - (eval $ac_link) 2>conftest.er1
74425 +if { (ac_try="$ac_link"
74426 +case "(($ac_try" in
74427 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
74428 + *) ac_try_echo=$ac_try;;
74429 +esac
74430 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
74431 + (eval "$ac_link") 2>conftest.er1
74432 ac_status=$?
74433 grep -v '^ *+' conftest.er1 >conftest.err
74434 rm -f conftest.er1
74435 cat conftest.err >&5
74436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74437 - (exit $ac_status); } &&
74438 - { ac_try='test -z "$ac_c_werror_flag"
74439 - || test ! -s conftest.err'
74440 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74441 - (eval $ac_try) 2>&5
74442 - ac_status=$?
74443 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
74444 - (exit $ac_status); }; } &&
74445 - { ac_try='test -s conftest$ac_exeext'
74446 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74447 - (eval $ac_try) 2>&5
74448 - ac_status=$?
74449 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
74450 - (exit $ac_status); }; }; then
74451 + (exit $ac_status); } && {
74452 + test -z "$ac_c_werror_flag" ||
74453 + test ! -s conftest.err
74454 + } && test -s conftest$ac_exeext &&
74455 + $as_test_x conftest$ac_exeext; then
74456 ac_cv_lib_intl_bindtextdomain=yes
74457 else
74458 echo "$as_me: failed program was:" >&5
74459 sed 's/^/| /' conftest.$ac_ext >&5
74460
74461 -ac_cv_lib_intl_bindtextdomain=no
74462 + ac_cv_lib_intl_bindtextdomain=no
74463 fi
74464 -rm -f conftest.err conftest.$ac_objext \
74465 +
74466 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
74467 conftest$ac_exeext conftest.$ac_ext
74468 LIBS=$ac_check_lib_save_LIBS
74469 fi
74470 -echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5
74471 -echo "${ECHO_T}$ac_cv_lib_intl_bindtextdomain" >&6
74472 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5
74473 +echo "${ECHO_T}$ac_cv_lib_intl_bindtextdomain" >&6; }
74474 if test $ac_cv_lib_intl_bindtextdomain = yes; then
74475 - echo "$as_me:$LINENO: checking for gettext in libintl" >&5
74476 -echo $ECHO_N "checking for gettext in libintl... $ECHO_C" >&6
74477 + { echo "$as_me:$LINENO: checking for gettext in libintl" >&5
74478 +echo $ECHO_N "checking for gettext in libintl... $ECHO_C" >&6; }
74479 if test "${gt_cv_func_gettext_libintl+set}" = set; then
74480 echo $ECHO_N "(cached) $ECHO_C" >&6
74481 else
74482 @@ -7535,39 +8129,36 @@
74483 }
74484 _ACEOF
74485 rm -f conftest.$ac_objext conftest$ac_exeext
74486 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74487 - (eval $ac_link) 2>conftest.er1
74488 +if { (ac_try="$ac_link"
74489 +case "(($ac_try" in
74490 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
74491 + *) ac_try_echo=$ac_try;;
74492 +esac
74493 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
74494 + (eval "$ac_link") 2>conftest.er1
74495 ac_status=$?
74496 grep -v '^ *+' conftest.er1 >conftest.err
74497 rm -f conftest.er1
74498 cat conftest.err >&5
74499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74500 - (exit $ac_status); } &&
74501 - { ac_try='test -z "$ac_c_werror_flag"
74502 - || test ! -s conftest.err'
74503 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74504 - (eval $ac_try) 2>&5
74505 - ac_status=$?
74506 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
74507 - (exit $ac_status); }; } &&
74508 - { ac_try='test -s conftest$ac_exeext'
74509 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74510 - (eval $ac_try) 2>&5
74511 - ac_status=$?
74512 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
74513 - (exit $ac_status); }; }; then
74514 + (exit $ac_status); } && {
74515 + test -z "$ac_c_werror_flag" ||
74516 + test ! -s conftest.err
74517 + } && test -s conftest$ac_exeext &&
74518 + $as_test_x conftest$ac_exeext; then
74519 gt_cv_func_gettext_libintl=yes
74520 else
74521 echo "$as_me: failed program was:" >&5
74522 sed 's/^/| /' conftest.$ac_ext >&5
74523
74524 -gt_cv_func_gettext_libintl=no
74525 + gt_cv_func_gettext_libintl=no
74526 fi
74527 -rm -f conftest.err conftest.$ac_objext \
74528 +
74529 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
74530 conftest$ac_exeext conftest.$ac_ext
74531 fi
74532 -echo "$as_me:$LINENO: result: $gt_cv_func_gettext_libintl" >&5
74533 -echo "${ECHO_T}$gt_cv_func_gettext_libintl" >&6
74534 +{ echo "$as_me:$LINENO: result: $gt_cv_func_gettext_libintl" >&5
74535 +echo "${ECHO_T}$gt_cv_func_gettext_libintl" >&6; }
74536 fi
74537
74538 fi
74539 @@ -7581,8 +8172,8 @@
74540
74541 # Extract the first word of "msgfmt", so it can be a program name with args.
74542 set dummy msgfmt; ac_word=$2
74543 -echo "$as_me:$LINENO: checking for $ac_word" >&5
74544 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
74545 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
74546 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
74547 if test "${ac_cv_path_MSGFMT+set}" = set; then
74548 echo $ECHO_N "(cached) $ECHO_C" >&6
74549 else
74550 @@ -7608,20 +8199,20 @@
74551 fi
74552 MSGFMT="$ac_cv_path_MSGFMT"
74553 if test -n "$MSGFMT"; then
74554 - echo "$as_me:$LINENO: result: $MSGFMT" >&5
74555 -echo "${ECHO_T}$MSGFMT" >&6
74556 + { echo "$as_me:$LINENO: result: $MSGFMT" >&5
74557 +echo "${ECHO_T}$MSGFMT" >&6; }
74558 else
74559 - echo "$as_me:$LINENO: result: no" >&5
74560 -echo "${ECHO_T}no" >&6
74561 + { echo "$as_me:$LINENO: result: no" >&5
74562 +echo "${ECHO_T}no" >&6; }
74563 fi
74564 if test "$MSGFMT" != "no"; then
74565
74566 for ac_func in dcgettext
74567 do
74568 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74569 -echo "$as_me:$LINENO: checking for $ac_func" >&5
74570 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74571 -if eval "test \"\${$as_ac_var+set}\" = set"; then
74572 +{ echo "$as_me:$LINENO: checking for $ac_func" >&5
74573 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
74574 +if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
74575 echo $ECHO_N "(cached) $ECHO_C" >&6
74576 else
74577 cat >conftest.$ac_ext <<_ACEOF
74578 @@ -7647,68 +8238,60 @@
74579
74580 #undef $ac_func
74581
74582 -/* Override any gcc2 internal prototype to avoid an error. */
74583 +/* Override any GCC internal prototype to avoid an error.
74584 + Use char because int might match the return type of a GCC
74585 + builtin and then its argument prototype would still apply. */
74586 #ifdef __cplusplus
74587 extern "C"
74588 -{
74589 #endif
74590 -/* We use char because int might match the return type of a gcc2
74591 - builtin and then its argument prototype would still apply. */
74592 char $ac_func ();
74593 /* The GNU C library defines this for functions which it implements
74594 to always fail with ENOSYS. Some functions are actually named
74595 something starting with __ and the normal name is an alias. */
74596 -#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74597 +#if defined __stub_$ac_func || defined __stub___$ac_func
74598 choke me
74599 -#else
74600 -char (*f) () = $ac_func;
74601 -#endif
74602 -#ifdef __cplusplus
74603 -}
74604 #endif
74605
74606 int
74607 main ()
74608 {
74609 -return f != $ac_func;
74610 +return $ac_func ();
74611 ;
74612 return 0;
74613 }
74614 _ACEOF
74615 rm -f conftest.$ac_objext conftest$ac_exeext
74616 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74617 - (eval $ac_link) 2>conftest.er1
74618 +if { (ac_try="$ac_link"
74619 +case "(($ac_try" in
74620 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
74621 + *) ac_try_echo=$ac_try;;
74622 +esac
74623 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
74624 + (eval "$ac_link") 2>conftest.er1
74625 ac_status=$?
74626 grep -v '^ *+' conftest.er1 >conftest.err
74627 rm -f conftest.er1
74628 cat conftest.err >&5
74629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74630 - (exit $ac_status); } &&
74631 - { ac_try='test -z "$ac_c_werror_flag"
74632 - || test ! -s conftest.err'
74633 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74634 - (eval $ac_try) 2>&5
74635 - ac_status=$?
74636 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
74637 - (exit $ac_status); }; } &&
74638 - { ac_try='test -s conftest$ac_exeext'
74639 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74640 - (eval $ac_try) 2>&5
74641 - ac_status=$?
74642 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
74643 - (exit $ac_status); }; }; then
74644 + (exit $ac_status); } && {
74645 + test -z "$ac_c_werror_flag" ||
74646 + test ! -s conftest.err
74647 + } && test -s conftest$ac_exeext &&
74648 + $as_test_x conftest$ac_exeext; then
74649 eval "$as_ac_var=yes"
74650 else
74651 echo "$as_me: failed program was:" >&5
74652 sed 's/^/| /' conftest.$ac_ext >&5
74653
74654 -eval "$as_ac_var=no"
74655 + eval "$as_ac_var=no"
74656 fi
74657 -rm -f conftest.err conftest.$ac_objext \
74658 +
74659 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
74660 conftest$ac_exeext conftest.$ac_ext
74661 fi
74662 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74663 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74664 +ac_res=`eval echo '${'$as_ac_var'}'`
74665 + { echo "$as_me:$LINENO: result: $ac_res" >&5
74666 +echo "${ECHO_T}$ac_res" >&6; }
74667 if test `eval echo '${'$as_ac_var'}'` = yes; then
74668 cat >>confdefs.h <<_ACEOF
74669 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74670 @@ -7719,8 +8302,8 @@
74671
74672 # Extract the first word of "gmsgfmt", so it can be a program name with args.
74673 set dummy gmsgfmt; ac_word=$2
74674 -echo "$as_me:$LINENO: checking for $ac_word" >&5
74675 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
74676 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
74677 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
74678 if test "${ac_cv_path_GMSGFMT+set}" = set; then
74679 echo $ECHO_N "(cached) $ECHO_C" >&6
74680 else
74681 @@ -7735,32 +8318,33 @@
74682 IFS=$as_save_IFS
74683 test -z "$as_dir" && as_dir=.
74684 for ac_exec_ext in '' $ac_executable_extensions; do
74685 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
74686 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
74687 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
74688 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
74689 break 2
74690 fi
74691 done
74692 done
74693 +IFS=$as_save_IFS
74694
74695 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
74696 ;;
74697 esac
74698 fi
74699 GMSGFMT=$ac_cv_path_GMSGFMT
74700 -
74701 if test -n "$GMSGFMT"; then
74702 - echo "$as_me:$LINENO: result: $GMSGFMT" >&5
74703 -echo "${ECHO_T}$GMSGFMT" >&6
74704 + { echo "$as_me:$LINENO: result: $GMSGFMT" >&5
74705 +echo "${ECHO_T}$GMSGFMT" >&6; }
74706 else
74707 - echo "$as_me:$LINENO: result: no" >&5
74708 -echo "${ECHO_T}no" >&6
74709 + { echo "$as_me:$LINENO: result: no" >&5
74710 +echo "${ECHO_T}no" >&6; }
74711 fi
74712
74713 +
74714 # Extract the first word of "xgettext", so it can be a program name with args.
74715 set dummy xgettext; ac_word=$2
74716 -echo "$as_me:$LINENO: checking for $ac_word" >&5
74717 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
74718 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
74719 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
74720 if test "${ac_cv_path_XGETTEXT+set}" = set; then
74721 echo $ECHO_N "(cached) $ECHO_C" >&6
74722 else
74723 @@ -7786,11 +8370,11 @@
74724 fi
74725 XGETTEXT="$ac_cv_path_XGETTEXT"
74726 if test -n "$XGETTEXT"; then
74727 - echo "$as_me:$LINENO: result: $XGETTEXT" >&5
74728 -echo "${ECHO_T}$XGETTEXT" >&6
74729 + { echo "$as_me:$LINENO: result: $XGETTEXT" >&5
74730 +echo "${ECHO_T}$XGETTEXT" >&6; }
74731 else
74732 - echo "$as_me:$LINENO: result: no" >&5
74733 -echo "${ECHO_T}no" >&6
74734 + { echo "$as_me:$LINENO: result: no" >&5
74735 +echo "${ECHO_T}no" >&6; }
74736 fi
74737
74738 cat >conftest.$ac_ext <<_ACEOF
74739 @@ -7810,37 +8394,34 @@
74740 }
74741 _ACEOF
74742 rm -f conftest.$ac_objext conftest$ac_exeext
74743 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74744 - (eval $ac_link) 2>conftest.er1
74745 +if { (ac_try="$ac_link"
74746 +case "(($ac_try" in
74747 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
74748 + *) ac_try_echo=$ac_try;;
74749 +esac
74750 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
74751 + (eval "$ac_link") 2>conftest.er1
74752 ac_status=$?
74753 grep -v '^ *+' conftest.er1 >conftest.err
74754 rm -f conftest.er1
74755 cat conftest.err >&5
74756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74757 - (exit $ac_status); } &&
74758 - { ac_try='test -z "$ac_c_werror_flag"
74759 - || test ! -s conftest.err'
74760 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74761 - (eval $ac_try) 2>&5
74762 - ac_status=$?
74763 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
74764 - (exit $ac_status); }; } &&
74765 - { ac_try='test -s conftest$ac_exeext'
74766 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74767 - (eval $ac_try) 2>&5
74768 - ac_status=$?
74769 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
74770 - (exit $ac_status); }; }; then
74771 + (exit $ac_status); } && {
74772 + test -z "$ac_c_werror_flag" ||
74773 + test ! -s conftest.err
74774 + } && test -s conftest$ac_exeext &&
74775 + $as_test_x conftest$ac_exeext; then
74776 CATOBJEXT=.gmo
74777 DATADIRNAME=share
74778 else
74779 echo "$as_me: failed program was:" >&5
74780 sed 's/^/| /' conftest.$ac_ext >&5
74781
74782 -CATOBJEXT=.mo
74783 + CATOBJEXT=.mo
74784 DATADIRNAME=lib
74785 fi
74786 -rm -f conftest.err conftest.$ac_objext \
74787 +
74788 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
74789 conftest$ac_exeext conftest.$ac_ext
74790 INSTOBJEXT=.mo
74791 fi
74792 @@ -7862,8 +8443,8 @@
74793 INTLOBJS="\$(GETTOBJS)"
74794 # Extract the first word of "msgfmt", so it can be a program name with args.
74795 set dummy msgfmt; ac_word=$2
74796 -echo "$as_me:$LINENO: checking for $ac_word" >&5
74797 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
74798 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
74799 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
74800 if test "${ac_cv_path_MSGFMT+set}" = set; then
74801 echo $ECHO_N "(cached) $ECHO_C" >&6
74802 else
74803 @@ -7889,17 +8470,17 @@
74804 fi
74805 MSGFMT="$ac_cv_path_MSGFMT"
74806 if test -n "$MSGFMT"; then
74807 - echo "$as_me:$LINENO: result: $MSGFMT" >&5
74808 -echo "${ECHO_T}$MSGFMT" >&6
74809 + { echo "$as_me:$LINENO: result: $MSGFMT" >&5
74810 +echo "${ECHO_T}$MSGFMT" >&6; }
74811 else
74812 - echo "$as_me:$LINENO: result: no" >&5
74813 -echo "${ECHO_T}no" >&6
74814 + { echo "$as_me:$LINENO: result: no" >&5
74815 +echo "${ECHO_T}no" >&6; }
74816 fi
74817
74818 # Extract the first word of "gmsgfmt", so it can be a program name with args.
74819 set dummy gmsgfmt; ac_word=$2
74820 -echo "$as_me:$LINENO: checking for $ac_word" >&5
74821 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
74822 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
74823 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
74824 if test "${ac_cv_path_GMSGFMT+set}" = set; then
74825 echo $ECHO_N "(cached) $ECHO_C" >&6
74826 else
74827 @@ -7914,32 +8495,33 @@
74828 IFS=$as_save_IFS
74829 test -z "$as_dir" && as_dir=.
74830 for ac_exec_ext in '' $ac_executable_extensions; do
74831 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
74832 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
74833 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
74834 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
74835 break 2
74836 fi
74837 done
74838 done
74839 +IFS=$as_save_IFS
74840
74841 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
74842 ;;
74843 esac
74844 fi
74845 GMSGFMT=$ac_cv_path_GMSGFMT
74846 -
74847 if test -n "$GMSGFMT"; then
74848 - echo "$as_me:$LINENO: result: $GMSGFMT" >&5
74849 -echo "${ECHO_T}$GMSGFMT" >&6
74850 + { echo "$as_me:$LINENO: result: $GMSGFMT" >&5
74851 +echo "${ECHO_T}$GMSGFMT" >&6; }
74852 else
74853 - echo "$as_me:$LINENO: result: no" >&5
74854 -echo "${ECHO_T}no" >&6
74855 + { echo "$as_me:$LINENO: result: no" >&5
74856 +echo "${ECHO_T}no" >&6; }
74857 fi
74858
74859 +
74860 # Extract the first word of "xgettext", so it can be a program name with args.
74861 set dummy xgettext; ac_word=$2
74862 -echo "$as_me:$LINENO: checking for $ac_word" >&5
74863 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
74864 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
74865 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
74866 if test "${ac_cv_path_XGETTEXT+set}" = set; then
74867 echo $ECHO_N "(cached) $ECHO_C" >&6
74868 else
74869 @@ -7965,11 +8547,11 @@
74870 fi
74871 XGETTEXT="$ac_cv_path_XGETTEXT"
74872 if test -n "$XGETTEXT"; then
74873 - echo "$as_me:$LINENO: result: $XGETTEXT" >&5
74874 -echo "${ECHO_T}$XGETTEXT" >&6
74875 + { echo "$as_me:$LINENO: result: $XGETTEXT" >&5
74876 +echo "${ECHO_T}$XGETTEXT" >&6; }
74877 else
74878 - echo "$as_me:$LINENO: result: no" >&5
74879 -echo "${ECHO_T}no" >&6
74880 + { echo "$as_me:$LINENO: result: no" >&5
74881 +echo "${ECHO_T}no" >&6; }
74882 fi
74883
74884
74885 @@ -7988,8 +8570,8 @@
74886 if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
74887 : ;
74888 else
74889 - echo "$as_me:$LINENO: result: found xgettext programs is not GNU xgettext; ignore it" >&5
74890 -echo "${ECHO_T}found xgettext programs is not GNU xgettext; ignore it" >&6
74891 + { echo "$as_me:$LINENO: result: found xgettext programs is not GNU xgettext; ignore it" >&5
74892 +echo "${ECHO_T}found xgettext programs is not GNU xgettext; ignore it" >&6; }
74893 XGETTEXT=":"
74894 fi
74895 fi
74896 @@ -8038,8 +8620,8 @@
74897 if test "x$ALL_LINGUAS" = "x"; then
74898 LINGUAS=
74899 else
74900 - echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
74901 -echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6
74902 + { echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
74903 +echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6; }
74904 NEW_LINGUAS=
74905 for lang in ${LINGUAS=$ALL_LINGUAS}; do
74906 case "$ALL_LINGUAS" in
74907 @@ -8047,8 +8629,8 @@
74908 esac
74909 done
74910 LINGUAS=$NEW_LINGUAS
74911 - echo "$as_me:$LINENO: result: $LINGUAS" >&5
74912 -echo "${ECHO_T}$LINGUAS" >&6
74913 + { echo "$as_me:$LINENO: result: $LINGUAS" >&5
74914 +echo "${ECHO_T}$LINGUAS" >&6; }
74915 fi
74916
74917 if test -n "$LINGUAS"; then
74918 @@ -8067,17 +8649,17 @@
74919 if test -f $srcdir/po2tbl.sed.in; then
74920 if test "$CATOBJEXT" = ".cat"; then
74921 if test "${ac_cv_header_linux_version_h+set}" = set; then
74922 - echo "$as_me:$LINENO: checking for linux/version.h" >&5
74923 -echo $ECHO_N "checking for linux/version.h... $ECHO_C" >&6
74924 + { echo "$as_me:$LINENO: checking for linux/version.h" >&5
74925 +echo $ECHO_N "checking for linux/version.h... $ECHO_C" >&6; }
74926 if test "${ac_cv_header_linux_version_h+set}" = set; then
74927 echo $ECHO_N "(cached) $ECHO_C" >&6
74928 fi
74929 -echo "$as_me:$LINENO: result: $ac_cv_header_linux_version_h" >&5
74930 -echo "${ECHO_T}$ac_cv_header_linux_version_h" >&6
74931 +{ echo "$as_me:$LINENO: result: $ac_cv_header_linux_version_h" >&5
74932 +echo "${ECHO_T}$ac_cv_header_linux_version_h" >&6; }
74933 else
74934 # Is the header compilable?
74935 -echo "$as_me:$LINENO: checking linux/version.h usability" >&5
74936 -echo $ECHO_N "checking linux/version.h usability... $ECHO_C" >&6
74937 +{ echo "$as_me:$LINENO: checking linux/version.h usability" >&5
74938 +echo $ECHO_N "checking linux/version.h usability... $ECHO_C" >&6; }
74939 cat >conftest.$ac_ext <<_ACEOF
74940 /* confdefs.h. */
74941 _ACEOF
74942 @@ -8088,41 +8670,37 @@
74943 #include <linux/version.h>
74944 _ACEOF
74945 rm -f conftest.$ac_objext
74946 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74947 - (eval $ac_compile) 2>conftest.er1
74948 +if { (ac_try="$ac_compile"
74949 +case "(($ac_try" in
74950 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
74951 + *) ac_try_echo=$ac_try;;
74952 +esac
74953 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
74954 + (eval "$ac_compile") 2>conftest.er1
74955 ac_status=$?
74956 grep -v '^ *+' conftest.er1 >conftest.err
74957 rm -f conftest.er1
74958 cat conftest.err >&5
74959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74960 - (exit $ac_status); } &&
74961 - { ac_try='test -z "$ac_c_werror_flag"
74962 - || test ! -s conftest.err'
74963 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74964 - (eval $ac_try) 2>&5
74965 - ac_status=$?
74966 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
74967 - (exit $ac_status); }; } &&
74968 - { ac_try='test -s conftest.$ac_objext'
74969 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74970 - (eval $ac_try) 2>&5
74971 - ac_status=$?
74972 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
74973 - (exit $ac_status); }; }; then
74974 + (exit $ac_status); } && {
74975 + test -z "$ac_c_werror_flag" ||
74976 + test ! -s conftest.err
74977 + } && test -s conftest.$ac_objext; then
74978 ac_header_compiler=yes
74979 else
74980 echo "$as_me: failed program was:" >&5
74981 sed 's/^/| /' conftest.$ac_ext >&5
74982
74983 -ac_header_compiler=no
74984 + ac_header_compiler=no
74985 fi
74986 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74987 -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
74988 -echo "${ECHO_T}$ac_header_compiler" >&6
74989 +
74990 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74991 +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
74992 +echo "${ECHO_T}$ac_header_compiler" >&6; }
74993
74994 # Is the header present?
74995 -echo "$as_me:$LINENO: checking linux/version.h presence" >&5
74996 -echo $ECHO_N "checking linux/version.h presence... $ECHO_C" >&6
74997 +{ echo "$as_me:$LINENO: checking linux/version.h presence" >&5
74998 +echo $ECHO_N "checking linux/version.h presence... $ECHO_C" >&6; }
74999 cat >conftest.$ac_ext <<_ACEOF
75000 /* confdefs.h. */
75001 _ACEOF
75002 @@ -8131,24 +8709,22 @@
75003 /* end confdefs.h. */
75004 #include <linux/version.h>
75005 _ACEOF
75006 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
75007 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
75008 +if { (ac_try="$ac_cpp conftest.$ac_ext"
75009 +case "(($ac_try" in
75010 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
75011 + *) ac_try_echo=$ac_try;;
75012 +esac
75013 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
75014 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
75015 ac_status=$?
75016 grep -v '^ *+' conftest.er1 >conftest.err
75017 rm -f conftest.er1
75018 cat conftest.err >&5
75019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75020 - (exit $ac_status); } >/dev/null; then
75021 - if test -s conftest.err; then
75022 - ac_cpp_err=$ac_c_preproc_warn_flag
75023 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
75024 - else
75025 - ac_cpp_err=
75026 - fi
75027 -else
75028 - ac_cpp_err=yes
75029 -fi
75030 -if test -z "$ac_cpp_err"; then
75031 + (exit $ac_status); } >/dev/null && {
75032 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
75033 + test ! -s conftest.err
75034 + }; then
75035 ac_header_preproc=yes
75036 else
75037 echo "$as_me: failed program was:" >&5
75038 @@ -8156,9 +8732,10 @@
75039
75040 ac_header_preproc=no
75041 fi
75042 +
75043 rm -f conftest.err conftest.$ac_ext
75044 -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
75045 -echo "${ECHO_T}$ac_header_preproc" >&6
75046 +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
75047 +echo "${ECHO_T}$ac_header_preproc" >&6; }
75048
75049 # So? What about this header?
75050 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
75051 @@ -8182,25 +8759,18 @@
75052 echo "$as_me: WARNING: linux/version.h: proceeding with the preprocessor's result" >&2;}
75053 { echo "$as_me:$LINENO: WARNING: linux/version.h: in the future, the compiler will take precedence" >&5
75054 echo "$as_me: WARNING: linux/version.h: in the future, the compiler will take precedence" >&2;}
75055 - (
75056 - cat <<\_ASBOX
75057 -## ------------------------------------------ ##
75058 -## Report this to the AC_PACKAGE_NAME lists. ##
75059 -## ------------------------------------------ ##
75060 -_ASBOX
75061 - ) |
75062 - sed "s/^/$as_me: WARNING: /" >&2
75063 +
75064 ;;
75065 esac
75066 -echo "$as_me:$LINENO: checking for linux/version.h" >&5
75067 -echo $ECHO_N "checking for linux/version.h... $ECHO_C" >&6
75068 +{ echo "$as_me:$LINENO: checking for linux/version.h" >&5
75069 +echo $ECHO_N "checking for linux/version.h... $ECHO_C" >&6; }
75070 if test "${ac_cv_header_linux_version_h+set}" = set; then
75071 echo $ECHO_N "(cached) $ECHO_C" >&6
75072 else
75073 ac_cv_header_linux_version_h=$ac_header_preproc
75074 fi
75075 -echo "$as_me:$LINENO: result: $ac_cv_header_linux_version_h" >&5
75076 -echo "${ECHO_T}$ac_cv_header_linux_version_h" >&6
75077 +{ echo "$as_me:$LINENO: result: $ac_cv_header_linux_version_h" >&5
75078 +echo "${ECHO_T}$ac_cv_header_linux_version_h" >&6; }
75079
75080 fi
75081 if test $ac_cv_header_linux_version_h = yes; then
75082 @@ -8256,8 +8826,8 @@
75083 do
75084 # Extract the first word of "$ac_prog", so it can be a program name with args.
75085 set dummy $ac_prog; ac_word=$2
75086 -echo "$as_me:$LINENO: checking for $ac_word" >&5
75087 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
75088 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
75089 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
75090 if test "${ac_cv_prog_YACC+set}" = set; then
75091 echo $ECHO_N "(cached) $ECHO_C" >&6
75092 else
75093 @@ -8270,25 +8840,27 @@
75094 IFS=$as_save_IFS
75095 test -z "$as_dir" && as_dir=.
75096 for ac_exec_ext in '' $ac_executable_extensions; do
75097 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
75098 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
75099 ac_cv_prog_YACC="$ac_prog"
75100 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
75101 break 2
75102 fi
75103 done
75104 done
75105 +IFS=$as_save_IFS
75106
75107 fi
75108 fi
75109 YACC=$ac_cv_prog_YACC
75110 if test -n "$YACC"; then
75111 - echo "$as_me:$LINENO: result: $YACC" >&5
75112 -echo "${ECHO_T}$YACC" >&6
75113 + { echo "$as_me:$LINENO: result: $YACC" >&5
75114 +echo "${ECHO_T}$YACC" >&6; }
75115 else
75116 - echo "$as_me:$LINENO: result: no" >&5
75117 -echo "${ECHO_T}no" >&6
75118 + { echo "$as_me:$LINENO: result: no" >&5
75119 +echo "${ECHO_T}no" >&6; }
75120 fi
75121
75122 +
75123 test -n "$YACC" && break
75124 done
75125 test -n "$YACC" || YACC="yacc"
75126 @@ -8297,8 +8869,8 @@
75127 do
75128 # Extract the first word of "$ac_prog", so it can be a program name with args.
75129 set dummy $ac_prog; ac_word=$2
75130 -echo "$as_me:$LINENO: checking for $ac_word" >&5
75131 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
75132 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
75133 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
75134 if test "${ac_cv_prog_LEX+set}" = set; then
75135 echo $ECHO_N "(cached) $ECHO_C" >&6
75136 else
75137 @@ -8311,253 +8883,182 @@
75138 IFS=$as_save_IFS
75139 test -z "$as_dir" && as_dir=.
75140 for ac_exec_ext in '' $ac_executable_extensions; do
75141 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
75142 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
75143 ac_cv_prog_LEX="$ac_prog"
75144 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
75145 break 2
75146 fi
75147 done
75148 done
75149 +IFS=$as_save_IFS
75150
75151 fi
75152 fi
75153 LEX=$ac_cv_prog_LEX
75154 if test -n "$LEX"; then
75155 - echo "$as_me:$LINENO: result: $LEX" >&5
75156 -echo "${ECHO_T}$LEX" >&6
75157 + { echo "$as_me:$LINENO: result: $LEX" >&5
75158 +echo "${ECHO_T}$LEX" >&6; }
75159 else
75160 - echo "$as_me:$LINENO: result: no" >&5
75161 -echo "${ECHO_T}no" >&6
75162 + { echo "$as_me:$LINENO: result: no" >&5
75163 +echo "${ECHO_T}no" >&6; }
75164 fi
75165
75166 +
75167 test -n "$LEX" && break
75168 done
75169 test -n "$LEX" || LEX=":"
75170
75171 -if test -z "$LEXLIB"
75172 -then
75173 - echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
75174 -echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
75175 -if test "${ac_cv_lib_fl_yywrap+set}" = set; then
75176 - echo $ECHO_N "(cached) $ECHO_C" >&6
75177 -else
75178 - ac_check_lib_save_LIBS=$LIBS
75179 -LIBS="-lfl $LIBS"
75180 -cat >conftest.$ac_ext <<_ACEOF
75181 -/* confdefs.h. */
75182 -_ACEOF
75183 -cat confdefs.h >>conftest.$ac_ext
75184 -cat >>conftest.$ac_ext <<_ACEOF
75185 -/* end confdefs.h. */
75186 -
75187 -/* Override any gcc2 internal prototype to avoid an error. */
75188 -#ifdef __cplusplus
75189 -extern "C"
75190 +if test "x$LEX" != "x:"; then
75191 + cat >conftest.l <<_ACEOF
75192 +%%
75193 +a { ECHO; }
75194 +b { REJECT; }
75195 +c { yymore (); }
75196 +d { yyless (1); }
75197 +e { yyless (input () != 0); }
75198 +f { unput (yytext[0]); }
75199 +. { BEGIN INITIAL; }
75200 +%%
75201 +#ifdef YYTEXT_POINTER
75202 +extern char *yytext;
75203 #endif
75204 -/* We use char because int might match the return type of a gcc2
75205 - builtin and then its argument prototype would still apply. */
75206 -char yywrap ();
75207 int
75208 -main ()
75209 +main (void)
75210 {
75211 -yywrap ();
75212 - ;
75213 - return 0;
75214 + return ! yylex () + ! yywrap ();
75215 }
75216 _ACEOF
75217 -rm -f conftest.$ac_objext conftest$ac_exeext
75218 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75219 - (eval $ac_link) 2>conftest.er1
75220 - ac_status=$?
75221 - grep -v '^ *+' conftest.er1 >conftest.err
75222 - rm -f conftest.er1
75223 - cat conftest.err >&5
75224 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
75225 - (exit $ac_status); } &&
75226 - { ac_try='test -z "$ac_c_werror_flag"
75227 - || test ! -s conftest.err'
75228 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75229 - (eval $ac_try) 2>&5
75230 - ac_status=$?
75231 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
75232 - (exit $ac_status); }; } &&
75233 - { ac_try='test -s conftest$ac_exeext'
75234 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75235 - (eval $ac_try) 2>&5
75236 +{ (ac_try="$LEX conftest.l"
75237 +case "(($ac_try" in
75238 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
75239 + *) ac_try_echo=$ac_try;;
75240 +esac
75241 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
75242 + (eval "$LEX conftest.l") 2>&5
75243 ac_status=$?
75244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75245 - (exit $ac_status); }; }; then
75246 - ac_cv_lib_fl_yywrap=yes
75247 + (exit $ac_status); }
75248 +{ echo "$as_me:$LINENO: checking lex output file root" >&5
75249 +echo $ECHO_N "checking lex output file root... $ECHO_C" >&6; }
75250 +if test "${ac_cv_prog_lex_root+set}" = set; then
75251 + echo $ECHO_N "(cached) $ECHO_C" >&6
75252 else
75253 - echo "$as_me: failed program was:" >&5
75254 -sed 's/^/| /' conftest.$ac_ext >&5
75255
75256 -ac_cv_lib_fl_yywrap=no
75257 +if test -f lex.yy.c; then
75258 + ac_cv_prog_lex_root=lex.yy
75259 +elif test -f lexyy.c; then
75260 + ac_cv_prog_lex_root=lexyy
75261 +else
75262 + { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
75263 +echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
75264 + { (exit 1); exit 1; }; }
75265 fi
75266 -rm -f conftest.err conftest.$ac_objext \
75267 - conftest$ac_exeext conftest.$ac_ext
75268 -LIBS=$ac_check_lib_save_LIBS
75269 fi
75270 -echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
75271 -echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
75272 -if test $ac_cv_lib_fl_yywrap = yes; then
75273 - LEXLIB="-lfl"
75274 -else
75275 - echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
75276 -echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
75277 -if test "${ac_cv_lib_l_yywrap+set}" = set; then
75278 +{ echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
75279 +echo "${ECHO_T}$ac_cv_prog_lex_root" >&6; }
75280 +LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
75281 +
75282 +if test -z "${LEXLIB+set}"; then
75283 + { echo "$as_me:$LINENO: checking lex library" >&5
75284 +echo $ECHO_N "checking lex library... $ECHO_C" >&6; }
75285 +if test "${ac_cv_lib_lex+set}" = set; then
75286 echo $ECHO_N "(cached) $ECHO_C" >&6
75287 else
75288 - ac_check_lib_save_LIBS=$LIBS
75289 -LIBS="-ll $LIBS"
75290 -cat >conftest.$ac_ext <<_ACEOF
75291 -/* confdefs.h. */
75292 -_ACEOF
75293 -cat confdefs.h >>conftest.$ac_ext
75294 -cat >>conftest.$ac_ext <<_ACEOF
75295 -/* end confdefs.h. */
75296
75297 -/* Override any gcc2 internal prototype to avoid an error. */
75298 -#ifdef __cplusplus
75299 -extern "C"
75300 -#endif
75301 -/* We use char because int might match the return type of a gcc2
75302 - builtin and then its argument prototype would still apply. */
75303 -char yywrap ();
75304 -int
75305 -main ()
75306 -{
75307 -yywrap ();
75308 - ;
75309 - return 0;
75310 -}
75311 + ac_save_LIBS=$LIBS
75312 + ac_cv_lib_lex='none needed'
75313 + for ac_lib in '' -lfl -ll; do
75314 + LIBS="$ac_lib $ac_save_LIBS"
75315 + cat >conftest.$ac_ext <<_ACEOF
75316 +`cat $LEX_OUTPUT_ROOT.c`
75317 _ACEOF
75318 rm -f conftest.$ac_objext conftest$ac_exeext
75319 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75320 - (eval $ac_link) 2>conftest.er1
75321 +if { (ac_try="$ac_link"
75322 +case "(($ac_try" in
75323 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
75324 + *) ac_try_echo=$ac_try;;
75325 +esac
75326 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
75327 + (eval "$ac_link") 2>conftest.er1
75328 ac_status=$?
75329 grep -v '^ *+' conftest.er1 >conftest.err
75330 rm -f conftest.er1
75331 cat conftest.err >&5
75332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75333 - (exit $ac_status); } &&
75334 - { ac_try='test -z "$ac_c_werror_flag"
75335 - || test ! -s conftest.err'
75336 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75337 - (eval $ac_try) 2>&5
75338 - ac_status=$?
75339 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
75340 - (exit $ac_status); }; } &&
75341 - { ac_try='test -s conftest$ac_exeext'
75342 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75343 - (eval $ac_try) 2>&5
75344 - ac_status=$?
75345 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
75346 - (exit $ac_status); }; }; then
75347 - ac_cv_lib_l_yywrap=yes
75348 + (exit $ac_status); } && {
75349 + test -z "$ac_c_werror_flag" ||
75350 + test ! -s conftest.err
75351 + } && test -s conftest$ac_exeext &&
75352 + $as_test_x conftest$ac_exeext; then
75353 + ac_cv_lib_lex=$ac_lib
75354 else
75355 echo "$as_me: failed program was:" >&5
75356 sed 's/^/| /' conftest.$ac_ext >&5
75357
75358 -ac_cv_lib_l_yywrap=no
75359 -fi
75360 -rm -f conftest.err conftest.$ac_objext \
75361 - conftest$ac_exeext conftest.$ac_ext
75362 -LIBS=$ac_check_lib_save_LIBS
75363 -fi
75364 -echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
75365 -echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
75366 -if test $ac_cv_lib_l_yywrap = yes; then
75367 - LEXLIB="-ll"
75368 -fi
75369
75370 fi
75371
75372 -fi
75373 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
75374 + conftest$ac_exeext conftest.$ac_ext
75375 + test "$ac_cv_lib_lex" != 'none needed' && break
75376 + done
75377 + LIBS=$ac_save_LIBS
75378
75379 -if test "x$LEX" != "x:"; then
75380 - echo "$as_me:$LINENO: checking lex output file root" >&5
75381 -echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
75382 -if test "${ac_cv_prog_lex_root+set}" = set; then
75383 - echo $ECHO_N "(cached) $ECHO_C" >&6
75384 -else
75385 - # The minimal lex program is just a single line: %%. But some broken lexes
75386 -# (Solaris, I think it was) want two %% lines, so accommodate them.
75387 -cat >conftest.l <<_ACEOF
75388 -%%
75389 -%%
75390 -_ACEOF
75391 -{ (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
75392 - (eval $LEX conftest.l) 2>&5
75393 - ac_status=$?
75394 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
75395 - (exit $ac_status); }
75396 -if test -f lex.yy.c; then
75397 - ac_cv_prog_lex_root=lex.yy
75398 -elif test -f lexyy.c; then
75399 - ac_cv_prog_lex_root=lexyy
75400 -else
75401 - { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
75402 -echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
75403 - { (exit 1); exit 1; }; }
75404 fi
75405 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_lex" >&5
75406 +echo "${ECHO_T}$ac_cv_lib_lex" >&6; }
75407 + test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex
75408 fi
75409 -echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
75410 -echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
75411 -rm -f conftest.l
75412 -LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
75413
75414 -echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
75415 -echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
75416 +
75417 +{ echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
75418 +echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6; }
75419 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
75420 echo $ECHO_N "(cached) $ECHO_C" >&6
75421 else
75422 # POSIX says lex can declare yytext either as a pointer or an array; the
75423 -# default is implementation-dependent. Figure out which it is, since
75424 +# default is implementation-dependent. Figure out which it is, since
75425 # not all implementations provide the %pointer and %array declarations.
75426 ac_cv_prog_lex_yytext_pointer=no
75427 -echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
75428 ac_save_LIBS=$LIBS
75429 -LIBS="$LIBS $LEXLIB"
75430 +LIBS="$LEXLIB $ac_save_LIBS"
75431 cat >conftest.$ac_ext <<_ACEOF
75432 +#define YYTEXT_POINTER 1
75433 `cat $LEX_OUTPUT_ROOT.c`
75434 _ACEOF
75435 rm -f conftest.$ac_objext conftest$ac_exeext
75436 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75437 - (eval $ac_link) 2>conftest.er1
75438 +if { (ac_try="$ac_link"
75439 +case "(($ac_try" in
75440 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
75441 + *) ac_try_echo=$ac_try;;
75442 +esac
75443 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
75444 + (eval "$ac_link") 2>conftest.er1
75445 ac_status=$?
75446 grep -v '^ *+' conftest.er1 >conftest.err
75447 rm -f conftest.er1
75448 cat conftest.err >&5
75449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75450 - (exit $ac_status); } &&
75451 - { ac_try='test -z "$ac_c_werror_flag"
75452 - || test ! -s conftest.err'
75453 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75454 - (eval $ac_try) 2>&5
75455 - ac_status=$?
75456 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
75457 - (exit $ac_status); }; } &&
75458 - { ac_try='test -s conftest$ac_exeext'
75459 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75460 - (eval $ac_try) 2>&5
75461 - ac_status=$?
75462 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
75463 - (exit $ac_status); }; }; then
75464 + (exit $ac_status); } && {
75465 + test -z "$ac_c_werror_flag" ||
75466 + test ! -s conftest.err
75467 + } && test -s conftest$ac_exeext &&
75468 + $as_test_x conftest$ac_exeext; then
75469 ac_cv_prog_lex_yytext_pointer=yes
75470 else
75471 echo "$as_me: failed program was:" >&5
75472 sed 's/^/| /' conftest.$ac_ext >&5
75473
75474 +
75475 fi
75476 -rm -f conftest.err conftest.$ac_objext \
75477 +
75478 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
75479 conftest$ac_exeext conftest.$ac_ext
75480 LIBS=$ac_save_LIBS
75481 -rm -f "${LEX_OUTPUT_ROOT}.c"
75482
75483 fi
75484 -echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
75485 -echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
75486 +{ echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
75487 +echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6; }
75488 if test $ac_cv_prog_lex_yytext_pointer = yes; then
75489
75490 cat >>confdefs.h <<\_ACEOF
75491 @@ -8565,23 +9066,24 @@
75492 _ACEOF
75493
75494 fi
75495 +rm -f conftest.l $LEX_OUTPUT_ROOT.c
75496
75497 fi
75498 if test "$LEX" = :; then
75499 LEX=${am_missing_run}flex
75500 fi
75501
75502 -echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
75503 -echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
75504 - # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
75505 +{ echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
75506 +echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
75507 + # Check whether --enable-maintainer-mode was given.
75508 if test "${enable_maintainer_mode+set}" = set; then
75509 - enableval="$enable_maintainer_mode"
75510 - USE_MAINTAINER_MODE=$enableval
75511 + enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
75512 else
75513 USE_MAINTAINER_MODE=no
75514 -fi;
75515 - echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
75516 -echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
75517 +fi
75518 +
75519 + { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
75520 +echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
75521
75522
75523 if test $USE_MAINTAINER_MODE = yes; then
75524 @@ -8611,18 +9113,19 @@
75525 for ac_header in string.h strings.h stdlib.h unistd.h elf-hints.h
75526 do
75527 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
75528 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
75529 - echo "$as_me:$LINENO: checking for $ac_header" >&5
75530 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
75531 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
75532 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
75533 + { echo "$as_me:$LINENO: checking for $ac_header" >&5
75534 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
75535 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
75536 echo $ECHO_N "(cached) $ECHO_C" >&6
75537 fi
75538 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
75539 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
75540 +ac_res=`eval echo '${'$as_ac_Header'}'`
75541 + { echo "$as_me:$LINENO: result: $ac_res" >&5
75542 +echo "${ECHO_T}$ac_res" >&6; }
75543 else
75544 # Is the header compilable?
75545 -echo "$as_me:$LINENO: checking $ac_header usability" >&5
75546 -echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
75547 +{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
75548 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
75549 cat >conftest.$ac_ext <<_ACEOF
75550 /* confdefs.h. */
75551 _ACEOF
75552 @@ -8633,41 +9136,37 @@
75553 #include <$ac_header>
75554 _ACEOF
75555 rm -f conftest.$ac_objext
75556 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75557 - (eval $ac_compile) 2>conftest.er1
75558 +if { (ac_try="$ac_compile"
75559 +case "(($ac_try" in
75560 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
75561 + *) ac_try_echo=$ac_try;;
75562 +esac
75563 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
75564 + (eval "$ac_compile") 2>conftest.er1
75565 ac_status=$?
75566 grep -v '^ *+' conftest.er1 >conftest.err
75567 rm -f conftest.er1
75568 cat conftest.err >&5
75569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75570 - (exit $ac_status); } &&
75571 - { ac_try='test -z "$ac_c_werror_flag"
75572 - || test ! -s conftest.err'
75573 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75574 - (eval $ac_try) 2>&5
75575 - ac_status=$?
75576 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
75577 - (exit $ac_status); }; } &&
75578 - { ac_try='test -s conftest.$ac_objext'
75579 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75580 - (eval $ac_try) 2>&5
75581 - ac_status=$?
75582 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
75583 - (exit $ac_status); }; }; then
75584 + (exit $ac_status); } && {
75585 + test -z "$ac_c_werror_flag" ||
75586 + test ! -s conftest.err
75587 + } && test -s conftest.$ac_objext; then
75588 ac_header_compiler=yes
75589 else
75590 echo "$as_me: failed program was:" >&5
75591 sed 's/^/| /' conftest.$ac_ext >&5
75592
75593 -ac_header_compiler=no
75594 + ac_header_compiler=no
75595 fi
75596 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75597 -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
75598 -echo "${ECHO_T}$ac_header_compiler" >&6
75599 +
75600 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75601 +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
75602 +echo "${ECHO_T}$ac_header_compiler" >&6; }
75603
75604 # Is the header present?
75605 -echo "$as_me:$LINENO: checking $ac_header presence" >&5
75606 -echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
75607 +{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
75608 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
75609 cat >conftest.$ac_ext <<_ACEOF
75610 /* confdefs.h. */
75611 _ACEOF
75612 @@ -8676,24 +9175,22 @@
75613 /* end confdefs.h. */
75614 #include <$ac_header>
75615 _ACEOF
75616 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
75617 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
75618 +if { (ac_try="$ac_cpp conftest.$ac_ext"
75619 +case "(($ac_try" in
75620 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
75621 + *) ac_try_echo=$ac_try;;
75622 +esac
75623 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
75624 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
75625 ac_status=$?
75626 grep -v '^ *+' conftest.er1 >conftest.err
75627 rm -f conftest.er1
75628 cat conftest.err >&5
75629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75630 - (exit $ac_status); } >/dev/null; then
75631 - if test -s conftest.err; then
75632 - ac_cpp_err=$ac_c_preproc_warn_flag
75633 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
75634 - else
75635 - ac_cpp_err=
75636 - fi
75637 -else
75638 - ac_cpp_err=yes
75639 -fi
75640 -if test -z "$ac_cpp_err"; then
75641 + (exit $ac_status); } >/dev/null && {
75642 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
75643 + test ! -s conftest.err
75644 + }; then
75645 ac_header_preproc=yes
75646 else
75647 echo "$as_me: failed program was:" >&5
75648 @@ -8701,9 +9198,10 @@
75649
75650 ac_header_preproc=no
75651 fi
75652 +
75653 rm -f conftest.err conftest.$ac_ext
75654 -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
75655 -echo "${ECHO_T}$ac_header_preproc" >&6
75656 +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
75657 +echo "${ECHO_T}$ac_header_preproc" >&6; }
75658
75659 # So? What about this header?
75660 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
75661 @@ -8727,25 +9225,19 @@
75662 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
75663 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
75664 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
75665 - (
75666 - cat <<\_ASBOX
75667 -## ------------------------------------------ ##
75668 -## Report this to the AC_PACKAGE_NAME lists. ##
75669 -## ------------------------------------------ ##
75670 -_ASBOX
75671 - ) |
75672 - sed "s/^/$as_me: WARNING: /" >&2
75673 +
75674 ;;
75675 esac
75676 -echo "$as_me:$LINENO: checking for $ac_header" >&5
75677 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
75678 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
75679 +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
75680 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
75681 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
75682 echo $ECHO_N "(cached) $ECHO_C" >&6
75683 else
75684 eval "$as_ac_Header=\$ac_header_preproc"
75685 fi
75686 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
75687 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
75688 +ac_res=`eval echo '${'$as_ac_Header'}'`
75689 + { echo "$as_me:$LINENO: result: $ac_res" >&5
75690 +echo "${ECHO_T}$ac_res" >&6; }
75691
75692 fi
75693 if test `eval echo '${'$as_ac_Header'}'` = yes; then
75694 @@ -8763,9 +9255,9 @@
75695 for ac_func in sbrk realpath glob
75696 do
75697 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75698 -echo "$as_me:$LINENO: checking for $ac_func" >&5
75699 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75700 -if eval "test \"\${$as_ac_var+set}\" = set"; then
75701 +{ echo "$as_me:$LINENO: checking for $ac_func" >&5
75702 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
75703 +if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
75704 echo $ECHO_N "(cached) $ECHO_C" >&6
75705 else
75706 cat >conftest.$ac_ext <<_ACEOF
75707 @@ -8791,68 +9283,60 @@
75708
75709 #undef $ac_func
75710
75711 -/* Override any gcc2 internal prototype to avoid an error. */
75712 +/* Override any GCC internal prototype to avoid an error.
75713 + Use char because int might match the return type of a GCC
75714 + builtin and then its argument prototype would still apply. */
75715 #ifdef __cplusplus
75716 extern "C"
75717 -{
75718 #endif
75719 -/* We use char because int might match the return type of a gcc2
75720 - builtin and then its argument prototype would still apply. */
75721 char $ac_func ();
75722 /* The GNU C library defines this for functions which it implements
75723 to always fail with ENOSYS. Some functions are actually named
75724 something starting with __ and the normal name is an alias. */
75725 -#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75726 +#if defined __stub_$ac_func || defined __stub___$ac_func
75727 choke me
75728 -#else
75729 -char (*f) () = $ac_func;
75730 -#endif
75731 -#ifdef __cplusplus
75732 -}
75733 #endif
75734
75735 int
75736 main ()
75737 {
75738 -return f != $ac_func;
75739 +return $ac_func ();
75740 ;
75741 return 0;
75742 }
75743 _ACEOF
75744 rm -f conftest.$ac_objext conftest$ac_exeext
75745 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75746 - (eval $ac_link) 2>conftest.er1
75747 +if { (ac_try="$ac_link"
75748 +case "(($ac_try" in
75749 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
75750 + *) ac_try_echo=$ac_try;;
75751 +esac
75752 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
75753 + (eval "$ac_link") 2>conftest.er1
75754 ac_status=$?
75755 grep -v '^ *+' conftest.er1 >conftest.err
75756 rm -f conftest.er1
75757 cat conftest.err >&5
75758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75759 - (exit $ac_status); } &&
75760 - { ac_try='test -z "$ac_c_werror_flag"
75761 - || test ! -s conftest.err'
75762 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75763 - (eval $ac_try) 2>&5
75764 - ac_status=$?
75765 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
75766 - (exit $ac_status); }; } &&
75767 - { ac_try='test -s conftest$ac_exeext'
75768 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75769 - (eval $ac_try) 2>&5
75770 - ac_status=$?
75771 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
75772 - (exit $ac_status); }; }; then
75773 + (exit $ac_status); } && {
75774 + test -z "$ac_c_werror_flag" ||
75775 + test ! -s conftest.err
75776 + } && test -s conftest$ac_exeext &&
75777 + $as_test_x conftest$ac_exeext; then
75778 eval "$as_ac_var=yes"
75779 else
75780 echo "$as_me: failed program was:" >&5
75781 sed 's/^/| /' conftest.$ac_ext >&5
75782
75783 -eval "$as_ac_var=no"
75784 + eval "$as_ac_var=no"
75785 fi
75786 -rm -f conftest.err conftest.$ac_objext \
75787 +
75788 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
75789 conftest$ac_exeext conftest.$ac_ext
75790 fi
75791 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75792 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75793 +ac_res=`eval echo '${'$as_ac_var'}'`
75794 + { echo "$as_me:$LINENO: result: $ac_res" >&5
75795 +echo "${ECHO_T}$ac_res" >&6; }
75796 if test `eval echo '${'$as_ac_var'}'` = yes; then
75797 cat >>confdefs.h <<_ACEOF
75798 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75799 @@ -8869,9 +9353,9 @@
75800 ac_header_dirent=no
75801 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
75802 as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
75803 -echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
75804 -echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
75805 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
75806 +{ echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
75807 +echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6; }
75808 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
75809 echo $ECHO_N "(cached) $ECHO_C" >&6
75810 else
75811 cat >conftest.$ac_ext <<_ACEOF
75812 @@ -8893,38 +9377,35 @@
75813 }
75814 _ACEOF
75815 rm -f conftest.$ac_objext
75816 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75817 - (eval $ac_compile) 2>conftest.er1
75818 +if { (ac_try="$ac_compile"
75819 +case "(($ac_try" in
75820 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
75821 + *) ac_try_echo=$ac_try;;
75822 +esac
75823 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
75824 + (eval "$ac_compile") 2>conftest.er1
75825 ac_status=$?
75826 grep -v '^ *+' conftest.er1 >conftest.err
75827 rm -f conftest.er1
75828 cat conftest.err >&5
75829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75830 - (exit $ac_status); } &&
75831 - { ac_try='test -z "$ac_c_werror_flag"
75832 - || test ! -s conftest.err'
75833 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75834 - (eval $ac_try) 2>&5
75835 - ac_status=$?
75836 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
75837 - (exit $ac_status); }; } &&
75838 - { ac_try='test -s conftest.$ac_objext'
75839 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75840 - (eval $ac_try) 2>&5
75841 - ac_status=$?
75842 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
75843 - (exit $ac_status); }; }; then
75844 + (exit $ac_status); } && {
75845 + test -z "$ac_c_werror_flag" ||
75846 + test ! -s conftest.err
75847 + } && test -s conftest.$ac_objext; then
75848 eval "$as_ac_Header=yes"
75849 else
75850 echo "$as_me: failed program was:" >&5
75851 sed 's/^/| /' conftest.$ac_ext >&5
75852
75853 -eval "$as_ac_Header=no"
75854 + eval "$as_ac_Header=no"
75855 fi
75856 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75857 +
75858 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75859 fi
75860 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
75861 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
75862 +ac_res=`eval echo '${'$as_ac_Header'}'`
75863 + { echo "$as_me:$LINENO: result: $ac_res" >&5
75864 +echo "${ECHO_T}$ac_res" >&6; }
75865 if test `eval echo '${'$as_ac_Header'}'` = yes; then
75866 cat >>confdefs.h <<_ACEOF
75867 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
75868 @@ -8936,13 +9417,12 @@
75869 done
75870 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
75871 if test $ac_header_dirent = dirent.h; then
75872 - echo "$as_me:$LINENO: checking for library containing opendir" >&5
75873 -echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
75874 + { echo "$as_me:$LINENO: checking for library containing opendir" >&5
75875 +echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
75876 if test "${ac_cv_search_opendir+set}" = set; then
75877 echo $ECHO_N "(cached) $ECHO_C" >&6
75878 else
75879 ac_func_search_save_LIBS=$LIBS
75880 -ac_cv_search_opendir=no
75881 cat >conftest.$ac_ext <<_ACEOF
75882 /* confdefs.h. */
75883 _ACEOF
75884 @@ -8950,126 +9430,83 @@
75885 cat >>conftest.$ac_ext <<_ACEOF
75886 /* end confdefs.h. */
75887
75888 -/* Override any gcc2 internal prototype to avoid an error. */
75889 +/* Override any GCC internal prototype to avoid an error.
75890 + Use char because int might match the return type of a GCC
75891 + builtin and then its argument prototype would still apply. */
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 +return opendir ();
75903 ;
75904 return 0;
75905 }
75906 _ACEOF
75907 -rm -f conftest.$ac_objext conftest$ac_exeext
75908 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75909 - (eval $ac_link) 2>conftest.er1
75910 +for ac_lib in '' dir; do
75911 + if test -z "$ac_lib"; then
75912 + ac_res="none required"
75913 + else
75914 + ac_res=-l$ac_lib
75915 + LIBS="-l$ac_lib $ac_func_search_save_LIBS"
75916 + fi
75917 + rm -f conftest.$ac_objext conftest$ac_exeext
75918 +if { (ac_try="$ac_link"
75919 +case "(($ac_try" in
75920 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
75921 + *) ac_try_echo=$ac_try;;
75922 +esac
75923 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
75924 + (eval "$ac_link") 2>conftest.er1
75925 ac_status=$?
75926 grep -v '^ *+' conftest.er1 >conftest.err
75927 rm -f conftest.er1
75928 cat conftest.err >&5
75929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75930 - (exit $ac_status); } &&
75931 - { ac_try='test -z "$ac_c_werror_flag"
75932 - || test ! -s conftest.err'
75933 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75934 - (eval $ac_try) 2>&5
75935 - ac_status=$?
75936 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
75937 - (exit $ac_status); }; } &&
75938 - { ac_try='test -s conftest$ac_exeext'
75939 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75940 - (eval $ac_try) 2>&5
75941 - ac_status=$?
75942 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
75943 - (exit $ac_status); }; }; then
75944 - ac_cv_search_opendir="none required"
75945 + (exit $ac_status); } && {
75946 + test -z "$ac_c_werror_flag" ||
75947 + test ! -s conftest.err
75948 + } && test -s conftest$ac_exeext &&
75949 + $as_test_x conftest$ac_exeext; then
75950 + ac_cv_search_opendir=$ac_res
75951 else
75952 echo "$as_me: failed program was:" >&5
75953 sed 's/^/| /' conftest.$ac_ext >&5
75954
75955 +
75956 fi
75957 -rm -f conftest.err conftest.$ac_objext \
75958 - conftest$ac_exeext conftest.$ac_ext
75959 -if test "$ac_cv_search_opendir" = no; then
75960 - for ac_lib in dir; do
75961 - LIBS="-l$ac_lib $ac_func_search_save_LIBS"
75962 - cat >conftest.$ac_ext <<_ACEOF
75963 -/* confdefs.h. */
75964 -_ACEOF
75965 -cat confdefs.h >>conftest.$ac_ext
75966 -cat >>conftest.$ac_ext <<_ACEOF
75967 -/* end confdefs.h. */
75968 -
75969 -/* Override any gcc2 internal prototype to avoid an error. */
75970 -#ifdef __cplusplus
75971 -extern "C"
75972 -#endif
75973 -/* We use char because int might match the return type of a gcc2
75974 - builtin and then its argument prototype would still apply. */
75975 -char opendir ();
75976 -int
75977 -main ()
75978 -{
75979 -opendir ();
75980 - ;
75981 - return 0;
75982 -}
75983 -_ACEOF
75984 -rm -f conftest.$ac_objext conftest$ac_exeext
75985 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75986 - (eval $ac_link) 2>conftest.er1
75987 - ac_status=$?
75988 - grep -v '^ *+' conftest.er1 >conftest.err
75989 - rm -f conftest.er1
75990 - cat conftest.err >&5
75991 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
75992 - (exit $ac_status); } &&
75993 - { ac_try='test -z "$ac_c_werror_flag"
75994 - || test ! -s conftest.err'
75995 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75996 - (eval $ac_try) 2>&5
75997 - ac_status=$?
75998 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
75999 - (exit $ac_status); }; } &&
76000 - { ac_try='test -s conftest$ac_exeext'
76001 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76002 - (eval $ac_try) 2>&5
76003 - ac_status=$?
76004 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
76005 - (exit $ac_status); }; }; then
76006 - ac_cv_search_opendir="-l$ac_lib"
76007 -break
76008 -else
76009 - echo "$as_me: failed program was:" >&5
76010 -sed 's/^/| /' conftest.$ac_ext >&5
76011
76012 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
76013 + conftest$ac_exeext
76014 + if test "${ac_cv_search_opendir+set}" = set; then
76015 + break
76016 fi
76017 -rm -f conftest.err conftest.$ac_objext \
76018 - conftest$ac_exeext conftest.$ac_ext
76019 - done
76020 +done
76021 +if test "${ac_cv_search_opendir+set}" = set; then
76022 + :
76023 +else
76024 + ac_cv_search_opendir=no
76025 fi
76026 +rm conftest.$ac_ext
76027 LIBS=$ac_func_search_save_LIBS
76028 fi
76029 -echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
76030 -echo "${ECHO_T}$ac_cv_search_opendir" >&6
76031 -if test "$ac_cv_search_opendir" != no; then
76032 - test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
76033 +{ echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
76034 +echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
76035 +ac_res=$ac_cv_search_opendir
76036 +if test "$ac_res" != no; then
76037 + test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
76038
76039 fi
76040
76041 else
76042 - echo "$as_me:$LINENO: checking for library containing opendir" >&5
76043 -echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
76044 + { echo "$as_me:$LINENO: checking for library containing opendir" >&5
76045 +echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
76046 if test "${ac_cv_search_opendir+set}" = set; then
76047 echo $ECHO_N "(cached) $ECHO_C" >&6
76048 else
76049 ac_func_search_save_LIBS=$LIBS
76050 -ac_cv_search_opendir=no
76051 cat >conftest.$ac_ext <<_ACEOF
76052 /* confdefs.h. */
76053 _ACEOF
76054 @@ -9077,123 +9514,81 @@
76055 cat >>conftest.$ac_ext <<_ACEOF
76056 /* end confdefs.h. */
76057
76058 -/* Override any gcc2 internal prototype to avoid an error. */
76059 +/* Override any GCC internal prototype to avoid an error.
76060 + Use char because int might match the return type of a GCC
76061 + builtin and then its argument prototype would still apply. */
76062 #ifdef __cplusplus
76063 extern "C"
76064 #endif
76065 -/* We use char because int might match the return type of a gcc2
76066 - builtin and then its argument prototype would still apply. */
76067 char opendir ();
76068 int
76069 main ()
76070 {
76071 -opendir ();
76072 +return opendir ();
76073 ;
76074 return 0;
76075 }
76076 _ACEOF
76077 -rm -f conftest.$ac_objext conftest$ac_exeext
76078 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76079 - (eval $ac_link) 2>conftest.er1
76080 +for ac_lib in '' x; do
76081 + if test -z "$ac_lib"; then
76082 + ac_res="none required"
76083 + else
76084 + ac_res=-l$ac_lib
76085 + LIBS="-l$ac_lib $ac_func_search_save_LIBS"
76086 + fi
76087 + rm -f conftest.$ac_objext conftest$ac_exeext
76088 +if { (ac_try="$ac_link"
76089 +case "(($ac_try" in
76090 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
76091 + *) ac_try_echo=$ac_try;;
76092 +esac
76093 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
76094 + (eval "$ac_link") 2>conftest.er1
76095 ac_status=$?
76096 grep -v '^ *+' conftest.er1 >conftest.err
76097 rm -f conftest.er1
76098 cat conftest.err >&5
76099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76100 - (exit $ac_status); } &&
76101 - { ac_try='test -z "$ac_c_werror_flag"
76102 - || test ! -s conftest.err'
76103 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76104 - (eval $ac_try) 2>&5
76105 - ac_status=$?
76106 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
76107 - (exit $ac_status); }; } &&
76108 - { ac_try='test -s conftest$ac_exeext'
76109 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76110 - (eval $ac_try) 2>&5
76111 - ac_status=$?
76112 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
76113 - (exit $ac_status); }; }; then
76114 - ac_cv_search_opendir="none required"
76115 + (exit $ac_status); } && {
76116 + test -z "$ac_c_werror_flag" ||
76117 + test ! -s conftest.err
76118 + } && test -s conftest$ac_exeext &&
76119 + $as_test_x conftest$ac_exeext; then
76120 + ac_cv_search_opendir=$ac_res
76121 else
76122 echo "$as_me: failed program was:" >&5
76123 sed 's/^/| /' conftest.$ac_ext >&5
76124
76125 -fi
76126 -rm -f conftest.err conftest.$ac_objext \
76127 - conftest$ac_exeext conftest.$ac_ext
76128 -if test "$ac_cv_search_opendir" = no; then
76129 - for ac_lib in x; do
76130 - LIBS="-l$ac_lib $ac_func_search_save_LIBS"
76131 - cat >conftest.$ac_ext <<_ACEOF
76132 -/* confdefs.h. */
76133 -_ACEOF
76134 -cat confdefs.h >>conftest.$ac_ext
76135 -cat >>conftest.$ac_ext <<_ACEOF
76136 -/* end confdefs.h. */
76137
76138 -/* Override any gcc2 internal prototype to avoid an error. */
76139 -#ifdef __cplusplus
76140 -extern "C"
76141 -#endif
76142 -/* We use char because int might match the return type of a gcc2
76143 - builtin and then its argument prototype would still apply. */
76144 -char opendir ();
76145 -int
76146 -main ()
76147 -{
76148 -opendir ();
76149 - ;
76150 - return 0;
76151 -}
76152 -_ACEOF
76153 -rm -f conftest.$ac_objext conftest$ac_exeext
76154 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76155 - (eval $ac_link) 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_exeext'
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 - ac_cv_search_opendir="-l$ac_lib"
76176 -break
76177 -else
76178 - echo "$as_me: failed program was:" >&5
76179 -sed 's/^/| /' conftest.$ac_ext >&5
76180 +fi
76181
76182 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
76183 + conftest$ac_exeext
76184 + if test "${ac_cv_search_opendir+set}" = set; then
76185 + break
76186 fi
76187 -rm -f conftest.err conftest.$ac_objext \
76188 - conftest$ac_exeext conftest.$ac_ext
76189 - done
76190 +done
76191 +if test "${ac_cv_search_opendir+set}" = set; then
76192 + :
76193 +else
76194 + ac_cv_search_opendir=no
76195 fi
76196 +rm conftest.$ac_ext
76197 LIBS=$ac_func_search_save_LIBS
76198 fi
76199 -echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
76200 -echo "${ECHO_T}$ac_cv_search_opendir" >&6
76201 -if test "$ac_cv_search_opendir" != no; then
76202 - test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
76203 +{ echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
76204 +echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
76205 +ac_res=$ac_cv_search_opendir
76206 +if test "$ac_res" != no; then
76207 + test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
76208
76209 fi
76210
76211 fi
76212
76213
76214 -echo "$as_me:$LINENO: checking for a known getopt prototype in unistd.h" >&5
76215 -echo $ECHO_N "checking for a known getopt prototype in unistd.h... $ECHO_C" >&6
76216 +{ echo "$as_me:$LINENO: checking for a known getopt prototype in unistd.h" >&5
76217 +echo $ECHO_N "checking for a known getopt prototype in unistd.h... $ECHO_C" >&6; }
76218 if test "${ld_cv_decl_getopt_unistd_h+set}" = set; then
76219 echo $ECHO_N "(cached) $ECHO_C" >&6
76220 else
76221 @@ -9213,39 +9608,35 @@
76222 }
76223 _ACEOF
76224 rm -f conftest.$ac_objext
76225 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76226 - (eval $ac_compile) 2>conftest.er1
76227 +if { (ac_try="$ac_compile"
76228 +case "(($ac_try" in
76229 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
76230 + *) ac_try_echo=$ac_try;;
76231 +esac
76232 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
76233 + (eval "$ac_compile") 2>conftest.er1
76234 ac_status=$?
76235 grep -v '^ *+' conftest.er1 >conftest.err
76236 rm -f conftest.er1
76237 cat conftest.err >&5
76238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76239 - (exit $ac_status); } &&
76240 - { ac_try='test -z "$ac_c_werror_flag"
76241 - || test ! -s conftest.err'
76242 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76243 - (eval $ac_try) 2>&5
76244 - ac_status=$?
76245 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
76246 - (exit $ac_status); }; } &&
76247 - { ac_try='test -s conftest.$ac_objext'
76248 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76249 - (eval $ac_try) 2>&5
76250 - ac_status=$?
76251 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
76252 - (exit $ac_status); }; }; then
76253 + (exit $ac_status); } && {
76254 + test -z "$ac_c_werror_flag" ||
76255 + test ! -s conftest.err
76256 + } && test -s conftest.$ac_objext; then
76257 ld_cv_decl_getopt_unistd_h=yes
76258 else
76259 echo "$as_me: failed program was:" >&5
76260 sed 's/^/| /' conftest.$ac_ext >&5
76261
76262 -ld_cv_decl_getopt_unistd_h=no
76263 + ld_cv_decl_getopt_unistd_h=no
76264 fi
76265 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76266 +
76267 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76268 fi
76269
76270 -echo "$as_me:$LINENO: result: $ld_cv_decl_getopt_unistd_h" >&5
76271 -echo "${ECHO_T}$ld_cv_decl_getopt_unistd_h" >&6
76272 +{ echo "$as_me:$LINENO: result: $ld_cv_decl_getopt_unistd_h" >&5
76273 +echo "${ECHO_T}$ld_cv_decl_getopt_unistd_h" >&6; }
76274 if test $ld_cv_decl_getopt_unistd_h = yes; then
76275
76276 cat >>confdefs.h <<\_ACEOF
76277 @@ -9264,8 +9655,8 @@
76278 ;;
76279 esac
76280
76281 -echo "$as_me:$LINENO: checking whether strstr is declared" >&5
76282 -echo $ECHO_N "checking whether strstr is declared... $ECHO_C" >&6
76283 +{ echo "$as_me:$LINENO: checking whether strstr is declared" >&5
76284 +echo $ECHO_N "checking whether strstr is declared... $ECHO_C" >&6; }
76285 if test "${ac_cv_have_decl_strstr+set}" = set; then
76286 echo $ECHO_N "(cached) $ECHO_C" >&6
76287 else
76288 @@ -9280,7 +9671,7 @@
76289 main ()
76290 {
76291 #ifndef strstr
76292 - char *p = (char *) strstr;
76293 + (void) strstr;
76294 #endif
76295
76296 ;
76297 @@ -9288,38 +9679,34 @@
76298 }
76299 _ACEOF
76300 rm -f conftest.$ac_objext
76301 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76302 - (eval $ac_compile) 2>conftest.er1
76303 +if { (ac_try="$ac_compile"
76304 +case "(($ac_try" in
76305 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
76306 + *) ac_try_echo=$ac_try;;
76307 +esac
76308 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
76309 + (eval "$ac_compile") 2>conftest.er1
76310 ac_status=$?
76311 grep -v '^ *+' conftest.er1 >conftest.err
76312 rm -f conftest.er1
76313 cat conftest.err >&5
76314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76315 - (exit $ac_status); } &&
76316 - { ac_try='test -z "$ac_c_werror_flag"
76317 - || test ! -s conftest.err'
76318 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76319 - (eval $ac_try) 2>&5
76320 - ac_status=$?
76321 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
76322 - (exit $ac_status); }; } &&
76323 - { ac_try='test -s conftest.$ac_objext'
76324 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76325 - (eval $ac_try) 2>&5
76326 - ac_status=$?
76327 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
76328 - (exit $ac_status); }; }; then
76329 + (exit $ac_status); } && {
76330 + test -z "$ac_c_werror_flag" ||
76331 + test ! -s conftest.err
76332 + } && test -s conftest.$ac_objext; then
76333 ac_cv_have_decl_strstr=yes
76334 else
76335 echo "$as_me: failed program was:" >&5
76336 sed 's/^/| /' conftest.$ac_ext >&5
76337
76338 -ac_cv_have_decl_strstr=no
76339 + ac_cv_have_decl_strstr=no
76340 fi
76341 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76342 +
76343 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76344 fi
76345 -echo "$as_me:$LINENO: result: $ac_cv_have_decl_strstr" >&5
76346 -echo "${ECHO_T}$ac_cv_have_decl_strstr" >&6
76347 +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_strstr" >&5
76348 +echo "${ECHO_T}$ac_cv_have_decl_strstr" >&6; }
76349 if test $ac_cv_have_decl_strstr = yes; then
76350
76351 cat >>confdefs.h <<_ACEOF
76352 @@ -9334,8 +9721,8 @@
76353
76354
76355 fi
76356 -echo "$as_me:$LINENO: checking whether free is declared" >&5
76357 -echo $ECHO_N "checking whether free is declared... $ECHO_C" >&6
76358 +{ echo "$as_me:$LINENO: checking whether free is declared" >&5
76359 +echo $ECHO_N "checking whether free is declared... $ECHO_C" >&6; }
76360 if test "${ac_cv_have_decl_free+set}" = set; then
76361 echo $ECHO_N "(cached) $ECHO_C" >&6
76362 else
76363 @@ -9350,7 +9737,7 @@
76364 main ()
76365 {
76366 #ifndef free
76367 - char *p = (char *) free;
76368 + (void) free;
76369 #endif
76370
76371 ;
76372 @@ -9358,38 +9745,34 @@
76373 }
76374 _ACEOF
76375 rm -f conftest.$ac_objext
76376 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76377 - (eval $ac_compile) 2>conftest.er1
76378 +if { (ac_try="$ac_compile"
76379 +case "(($ac_try" in
76380 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
76381 + *) ac_try_echo=$ac_try;;
76382 +esac
76383 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
76384 + (eval "$ac_compile") 2>conftest.er1
76385 ac_status=$?
76386 grep -v '^ *+' conftest.er1 >conftest.err
76387 rm -f conftest.er1
76388 cat conftest.err >&5
76389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76390 - (exit $ac_status); } &&
76391 - { ac_try='test -z "$ac_c_werror_flag"
76392 - || test ! -s conftest.err'
76393 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76394 - (eval $ac_try) 2>&5
76395 - ac_status=$?
76396 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
76397 - (exit $ac_status); }; } &&
76398 - { ac_try='test -s conftest.$ac_objext'
76399 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76400 - (eval $ac_try) 2>&5
76401 - ac_status=$?
76402 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
76403 - (exit $ac_status); }; }; then
76404 + (exit $ac_status); } && {
76405 + test -z "$ac_c_werror_flag" ||
76406 + test ! -s conftest.err
76407 + } && test -s conftest.$ac_objext; then
76408 ac_cv_have_decl_free=yes
76409 else
76410 echo "$as_me: failed program was:" >&5
76411 sed 's/^/| /' conftest.$ac_ext >&5
76412
76413 -ac_cv_have_decl_free=no
76414 + ac_cv_have_decl_free=no
76415 fi
76416 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76417 +
76418 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76419 fi
76420 -echo "$as_me:$LINENO: result: $ac_cv_have_decl_free" >&5
76421 -echo "${ECHO_T}$ac_cv_have_decl_free" >&6
76422 +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_free" >&5
76423 +echo "${ECHO_T}$ac_cv_have_decl_free" >&6; }
76424 if test $ac_cv_have_decl_free = yes; then
76425
76426 cat >>confdefs.h <<_ACEOF
76427 @@ -9404,8 +9787,8 @@
76428
76429
76430 fi
76431 -echo "$as_me:$LINENO: checking whether sbrk is declared" >&5
76432 -echo $ECHO_N "checking whether sbrk is declared... $ECHO_C" >&6
76433 +{ echo "$as_me:$LINENO: checking whether sbrk is declared" >&5
76434 +echo $ECHO_N "checking whether sbrk is declared... $ECHO_C" >&6; }
76435 if test "${ac_cv_have_decl_sbrk+set}" = set; then
76436 echo $ECHO_N "(cached) $ECHO_C" >&6
76437 else
76438 @@ -9420,7 +9803,7 @@
76439 main ()
76440 {
76441 #ifndef sbrk
76442 - char *p = (char *) sbrk;
76443 + (void) sbrk;
76444 #endif
76445
76446 ;
76447 @@ -9428,38 +9811,34 @@
76448 }
76449 _ACEOF
76450 rm -f conftest.$ac_objext
76451 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76452 - (eval $ac_compile) 2>conftest.er1
76453 +if { (ac_try="$ac_compile"
76454 +case "(($ac_try" in
76455 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
76456 + *) ac_try_echo=$ac_try;;
76457 +esac
76458 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
76459 + (eval "$ac_compile") 2>conftest.er1
76460 ac_status=$?
76461 grep -v '^ *+' conftest.er1 >conftest.err
76462 rm -f conftest.er1
76463 cat conftest.err >&5
76464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76465 - (exit $ac_status); } &&
76466 - { ac_try='test -z "$ac_c_werror_flag"
76467 - || test ! -s conftest.err'
76468 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76469 - (eval $ac_try) 2>&5
76470 - ac_status=$?
76471 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
76472 - (exit $ac_status); }; } &&
76473 - { ac_try='test -s conftest.$ac_objext'
76474 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76475 - (eval $ac_try) 2>&5
76476 - ac_status=$?
76477 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
76478 - (exit $ac_status); }; }; then
76479 + (exit $ac_status); } && {
76480 + test -z "$ac_c_werror_flag" ||
76481 + test ! -s conftest.err
76482 + } && test -s conftest.$ac_objext; then
76483 ac_cv_have_decl_sbrk=yes
76484 else
76485 echo "$as_me: failed program was:" >&5
76486 sed 's/^/| /' conftest.$ac_ext >&5
76487
76488 -ac_cv_have_decl_sbrk=no
76489 + ac_cv_have_decl_sbrk=no
76490 fi
76491 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76492 +
76493 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76494 fi
76495 -echo "$as_me:$LINENO: result: $ac_cv_have_decl_sbrk" >&5
76496 -echo "${ECHO_T}$ac_cv_have_decl_sbrk" >&6
76497 +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_sbrk" >&5
76498 +echo "${ECHO_T}$ac_cv_have_decl_sbrk" >&6; }
76499 if test $ac_cv_have_decl_sbrk = yes; then
76500
76501 cat >>confdefs.h <<_ACEOF
76502 @@ -9474,8 +9853,8 @@
76503
76504
76505 fi
76506 -echo "$as_me:$LINENO: checking whether getenv is declared" >&5
76507 -echo $ECHO_N "checking whether getenv is declared... $ECHO_C" >&6
76508 +{ echo "$as_me:$LINENO: checking whether getenv is declared" >&5
76509 +echo $ECHO_N "checking whether getenv is declared... $ECHO_C" >&6; }
76510 if test "${ac_cv_have_decl_getenv+set}" = set; then
76511 echo $ECHO_N "(cached) $ECHO_C" >&6
76512 else
76513 @@ -9490,7 +9869,7 @@
76514 main ()
76515 {
76516 #ifndef getenv
76517 - char *p = (char *) getenv;
76518 + (void) getenv;
76519 #endif
76520
76521 ;
76522 @@ -9498,38 +9877,34 @@
76523 }
76524 _ACEOF
76525 rm -f conftest.$ac_objext
76526 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76527 - (eval $ac_compile) 2>conftest.er1
76528 +if { (ac_try="$ac_compile"
76529 +case "(($ac_try" in
76530 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
76531 + *) ac_try_echo=$ac_try;;
76532 +esac
76533 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
76534 + (eval "$ac_compile") 2>conftest.er1
76535 ac_status=$?
76536 grep -v '^ *+' conftest.er1 >conftest.err
76537 rm -f conftest.er1
76538 cat conftest.err >&5
76539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76540 - (exit $ac_status); } &&
76541 - { ac_try='test -z "$ac_c_werror_flag"
76542 - || test ! -s conftest.err'
76543 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76544 - (eval $ac_try) 2>&5
76545 - ac_status=$?
76546 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
76547 - (exit $ac_status); }; } &&
76548 - { ac_try='test -s conftest.$ac_objext'
76549 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76550 - (eval $ac_try) 2>&5
76551 - ac_status=$?
76552 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
76553 - (exit $ac_status); }; }; then
76554 + (exit $ac_status); } && {
76555 + test -z "$ac_c_werror_flag" ||
76556 + test ! -s conftest.err
76557 + } && test -s conftest.$ac_objext; then
76558 ac_cv_have_decl_getenv=yes
76559 else
76560 echo "$as_me: failed program was:" >&5
76561 sed 's/^/| /' conftest.$ac_ext >&5
76562
76563 -ac_cv_have_decl_getenv=no
76564 + ac_cv_have_decl_getenv=no
76565 fi
76566 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76567 +
76568 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76569 fi
76570 -echo "$as_me:$LINENO: result: $ac_cv_have_decl_getenv" >&5
76571 -echo "${ECHO_T}$ac_cv_have_decl_getenv" >&6
76572 +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_getenv" >&5
76573 +echo "${ECHO_T}$ac_cv_have_decl_getenv" >&6; }
76574 if test $ac_cv_have_decl_getenv = yes; then
76575
76576 cat >>confdefs.h <<_ACEOF
76577 @@ -9544,8 +9919,8 @@
76578
76579
76580 fi
76581 -echo "$as_me:$LINENO: checking whether environ is declared" >&5
76582 -echo $ECHO_N "checking whether environ is declared... $ECHO_C" >&6
76583 +{ echo "$as_me:$LINENO: checking whether environ is declared" >&5
76584 +echo $ECHO_N "checking whether environ is declared... $ECHO_C" >&6; }
76585 if test "${ac_cv_have_decl_environ+set}" = set; then
76586 echo $ECHO_N "(cached) $ECHO_C" >&6
76587 else
76588 @@ -9560,7 +9935,7 @@
76589 main ()
76590 {
76591 #ifndef environ
76592 - char *p = (char *) environ;
76593 + (void) environ;
76594 #endif
76595
76596 ;
76597 @@ -9568,38 +9943,34 @@
76598 }
76599 _ACEOF
76600 rm -f conftest.$ac_objext
76601 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76602 - (eval $ac_compile) 2>conftest.er1
76603 +if { (ac_try="$ac_compile"
76604 +case "(($ac_try" in
76605 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
76606 + *) ac_try_echo=$ac_try;;
76607 +esac
76608 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
76609 + (eval "$ac_compile") 2>conftest.er1
76610 ac_status=$?
76611 grep -v '^ *+' conftest.er1 >conftest.err
76612 rm -f conftest.er1
76613 cat conftest.err >&5
76614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76615 - (exit $ac_status); } &&
76616 - { ac_try='test -z "$ac_c_werror_flag"
76617 - || test ! -s conftest.err'
76618 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76619 - (eval $ac_try) 2>&5
76620 - ac_status=$?
76621 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
76622 - (exit $ac_status); }; } &&
76623 - { ac_try='test -s conftest.$ac_objext'
76624 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76625 - (eval $ac_try) 2>&5
76626 - ac_status=$?
76627 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
76628 - (exit $ac_status); }; }; then
76629 + (exit $ac_status); } && {
76630 + test -z "$ac_c_werror_flag" ||
76631 + test ! -s conftest.err
76632 + } && test -s conftest.$ac_objext; then
76633 ac_cv_have_decl_environ=yes
76634 else
76635 echo "$as_me: failed program was:" >&5
76636 sed 's/^/| /' conftest.$ac_ext >&5
76637
76638 -ac_cv_have_decl_environ=no
76639 + ac_cv_have_decl_environ=no
76640 fi
76641 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76642 +
76643 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76644 fi
76645 -echo "$as_me:$LINENO: result: $ac_cv_have_decl_environ" >&5
76646 -echo "${ECHO_T}$ac_cv_have_decl_environ" >&6
76647 +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_environ" >&5
76648 +echo "${ECHO_T}$ac_cv_have_decl_environ" >&6; }
76649 if test $ac_cv_have_decl_environ = yes; then
76650
76651 cat >>confdefs.h <<_ACEOF
76652 @@ -9623,8 +9994,8 @@
76653 # broken Microsoft MSVC compiler, which limits the length of string
76654 # constants, while still supporting pre-ANSI compilers which do not
76655 # support string concatenation.
76656 -echo "$as_me:$LINENO: checking whether ANSI C string concatenation works" >&5
76657 -echo $ECHO_N "checking whether ANSI C string concatenation works... $ECHO_C" >&6
76658 +{ echo "$as_me:$LINENO: checking whether ANSI C string concatenation works" >&5
76659 +echo $ECHO_N "checking whether ANSI C string concatenation works... $ECHO_C" >&6; }
76660 if test "${ld_cv_string_concatenation+set}" = set; then
76661 echo $ECHO_N "(cached) $ECHO_C" >&6
76662 else
76663 @@ -9644,39 +10015,35 @@
76664 }
76665 _ACEOF
76666 rm -f conftest.$ac_objext
76667 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76668 - (eval $ac_compile) 2>conftest.er1
76669 +if { (ac_try="$ac_compile"
76670 +case "(($ac_try" in
76671 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
76672 + *) ac_try_echo=$ac_try;;
76673 +esac
76674 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
76675 + (eval "$ac_compile") 2>conftest.er1
76676 ac_status=$?
76677 grep -v '^ *+' conftest.er1 >conftest.err
76678 rm -f conftest.er1
76679 cat conftest.err >&5
76680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76681 - (exit $ac_status); } &&
76682 - { ac_try='test -z "$ac_c_werror_flag"
76683 - || test ! -s conftest.err'
76684 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76685 - (eval $ac_try) 2>&5
76686 - ac_status=$?
76687 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
76688 - (exit $ac_status); }; } &&
76689 - { ac_try='test -s conftest.$ac_objext'
76690 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76691 - (eval $ac_try) 2>&5
76692 - ac_status=$?
76693 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
76694 - (exit $ac_status); }; }; then
76695 + (exit $ac_status); } && {
76696 + test -z "$ac_c_werror_flag" ||
76697 + test ! -s conftest.err
76698 + } && test -s conftest.$ac_objext; then
76699 ld_cv_string_concatenation=yes
76700 else
76701 echo "$as_me: failed program was:" >&5
76702 sed 's/^/| /' conftest.$ac_ext >&5
76703
76704 -ld_cv_string_concatenation=no
76705 + ld_cv_string_concatenation=no
76706 fi
76707 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76708 +
76709 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76710 fi
76711
76712 -echo "$as_me:$LINENO: result: $ld_cv_string_concatenation" >&5
76713 -echo "${ECHO_T}$ld_cv_string_concatenation" >&6
76714 +{ echo "$as_me:$LINENO: result: $ld_cv_string_concatenation" >&5
76715 +echo "${ECHO_T}$ld_cv_string_concatenation" >&6; }
76716 if test "$ld_cv_string_concatenation" = "yes"; then
76717 STRINGIFY=astring.sed
76718 else
76719 @@ -9801,8 +10168,10 @@
76720
76721
76722
76723 - ac_config_files="$ac_config_files Makefile po/Makefile.in:po/Make-in"
76724 - ac_config_commands="$ac_config_commands default"
76725 +ac_config_files="$ac_config_files Makefile po/Makefile.in:po/Make-in"
76726 +
76727 +ac_config_commands="$ac_config_commands default"
76728 +
76729 cat >confcache <<\_ACEOF
76730 # This file is a shell script that caches the results of configure
76731 # tests run on this system so they can be shared between configure
76732 @@ -9821,39 +10190,58 @@
76733
76734 # The following way of writing the cache mishandles newlines in values,
76735 # but we know of no workaround that is simple, portable, and efficient.
76736 -# So, don't put newlines in cache variables' values.
76737 +# So, we kill variables containing newlines.
76738 # Ultrix sh set writes to stderr and can't be redirected directly,
76739 # and sets the high bit in the cache file unless we assign to the vars.
76740 -{
76741 +(
76742 + for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
76743 + eval ac_val=\$$ac_var
76744 + case $ac_val in #(
76745 + *${as_nl}*)
76746 + case $ac_var in #(
76747 + *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
76748 +echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
76749 + esac
76750 + case $ac_var in #(
76751 + _ | IFS | as_nl) ;; #(
76752 + *) $as_unset $ac_var ;;
76753 + esac ;;
76754 + esac
76755 + done
76756 +
76757 (set) 2>&1 |
76758 - case `(ac_space=' '; set | grep ac_space) 2>&1` in
76759 - *ac_space=\ *)
76760 + case $as_nl`(ac_space=' '; set) 2>&1` in #(
76761 + *${as_nl}ac_space=\ *)
76762 # `set' does not quote correctly, so add quotes (double-quote
76763 # substitution turns \\\\ into \\, and sed turns \\ into \).
76764 sed -n \
76765 "s/'/'\\\\''/g;
76766 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
76767 - ;;
76768 + ;; #(
76769 *)
76770 # `set' quotes correctly as required by POSIX, so do not add quotes.
76771 - sed -n \
76772 - "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
76773 + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
76774 ;;
76775 - esac;
76776 -} |
76777 + esac |
76778 + sort
76779 +) |
76780 sed '
76781 + /^ac_cv_env_/b end
76782 t clear
76783 - : clear
76784 + :clear
76785 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
76786 t end
76787 - /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
76788 - : end' >>confcache
76789 -if diff $cache_file confcache >/dev/null 2>&1; then :; else
76790 - if test -w $cache_file; then
76791 - test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
76792 + s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
76793 + :end' >>confcache
76794 +if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
76795 + if test -w "$cache_file"; then
76796 + test "x$cache_file" != "x/dev/null" &&
76797 + { echo "$as_me:$LINENO: updating cache $cache_file" >&5
76798 +echo "$as_me: updating cache $cache_file" >&6;}
76799 cat confcache >$cache_file
76800 else
76801 - echo "not updating unwritable cache $cache_file"
76802 + { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
76803 +echo "$as_me: not updating unwritable cache $cache_file" >&6;}
76804 fi
76805 fi
76806 rm -f confcache
76807 @@ -9862,32 +10250,18 @@
76808 # Let make expand exec_prefix.
76809 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
76810
76811 -# VPATH may cause trouble with some makes, so we remove $(srcdir),
76812 -# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
76813 -# trailing colons and then remove the whole line if VPATH becomes empty
76814 -# (actually we leave an empty line to preserve line numbers).
76815 -if test "x$srcdir" = x.; then
76816 - ac_vpsub='/^[ ]*VPATH[ ]*=/{
76817 -s/:*\$(srcdir):*/:/;
76818 -s/:*\${srcdir}:*/:/;
76819 -s/:*@srcdir@:*/:/;
76820 -s/^\([^=]*=[ ]*\):*/\1/;
76821 -s/:*$//;
76822 -s/^[^=]*=[ ]*$//;
76823 -}'
76824 -fi
76825 -
76826 DEFS=-DHAVE_CONFIG_H
76827
76828 ac_libobjs=
76829 ac_ltlibobjs=
76830 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
76831 # 1. Remove the extension, and $U if already installed.
76832 - ac_i=`echo "$ac_i" |
76833 - sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
76834 - # 2. Add them.
76835 - ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
76836 - ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
76837 + ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
76838 + ac_i=`echo "$ac_i" | sed "$ac_script"`
76839 + # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
76840 + # will be set to the directory where LIBOBJS objects are built.
76841 + ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
76842 + ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
76843 done
76844 LIBOBJS=$ac_libobjs
76845
76846 @@ -9939,17 +10313,45 @@
76847 ## M4sh Initialization. ##
76848 ## --------------------- ##
76849
76850 -# Be Bourne compatible
76851 +# Be more Bourne compatible
76852 +DUALCASE=1; export DUALCASE # for MKS sh
76853 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
76854 emulate sh
76855 NULLCMD=:
76856 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
76857 # is contrary to our usage. Disable this feature.
76858 alias -g '${1+"$@"}'='"$@"'
76859 -elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
76860 - set -o posix
76861 + setopt NO_GLOB_SUBST
76862 +else
76863 + case `(set -o) 2>/dev/null` in
76864 + *posix*) set -o posix ;;
76865 +esac
76866 +
76867 +fi
76868 +
76869 +
76870 +
76871 +
76872 +# PATH needs CR
76873 +# Avoid depending upon Character Ranges.
76874 +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
76875 +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
76876 +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
76877 +as_cr_digits='0123456789'
76878 +as_cr_alnum=$as_cr_Letters$as_cr_digits
76879 +
76880 +# The user is always right.
76881 +if test "${PATH_SEPARATOR+set}" != set; then
76882 + echo "#! /bin/sh" >conf$$.sh
76883 + echo "exit 0" >>conf$$.sh
76884 + chmod +x conf$$.sh
76885 + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
76886 + PATH_SEPARATOR=';'
76887 + else
76888 + PATH_SEPARATOR=:
76889 + fi
76890 + rm -f conf$$.sh
76891 fi
76892 -DUALCASE=1; export DUALCASE # for MKS sh
76893
76894 # Support unset when possible.
76895 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
76896 @@ -9959,8 +10361,43 @@
76897 fi
76898
76899
76900 +# IFS
76901 +# We need space, tab and new line, in precisely that order. Quoting is
76902 +# there to prevent editors from complaining about space-tab.
76903 +# (If _AS_PATH_WALK were called with IFS unset, it would disable word
76904 +# splitting by setting IFS to empty value.)
76905 +as_nl='
76906 +'
76907 +IFS=" "" $as_nl"
76908 +
76909 +# Find who we are. Look in the path if we contain no directory separator.
76910 +case $0 in
76911 + *[\\/]* ) as_myself=$0 ;;
76912 + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
76913 +for as_dir in $PATH
76914 +do
76915 + IFS=$as_save_IFS
76916 + test -z "$as_dir" && as_dir=.
76917 + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
76918 +done
76919 +IFS=$as_save_IFS
76920 +
76921 + ;;
76922 +esac
76923 +# We did not find ourselves, most probably we were run as `sh COMMAND'
76924 +# in which case we are not to be found in the path.
76925 +if test "x$as_myself" = x; then
76926 + as_myself=$0
76927 +fi
76928 +if test ! -f "$as_myself"; then
76929 + echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
76930 + { (exit 1); exit 1; }
76931 +fi
76932 +
76933 # Work around bugs in pre-3.0 UWIN ksh.
76934 -$as_unset ENV MAIL MAILPATH
76935 +for as_var in ENV MAIL MAILPATH
76936 +do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
76937 +done
76938 PS1='$ '
76939 PS2='> '
76940 PS4='+ '
76941 @@ -9974,18 +10411,19 @@
76942 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
76943 eval $as_var=C; export $as_var
76944 else
76945 - $as_unset $as_var
76946 + ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
76947 fi
76948 done
76949
76950 # Required to use basename.
76951 -if expr a : '\(a\)' >/dev/null 2>&1; then
76952 +if expr a : '\(a\)' >/dev/null 2>&1 &&
76953 + test "X`expr 00001 : '.*\(...\)'`" = X001; then
76954 as_expr=expr
76955 else
76956 as_expr=false
76957 fi
76958
76959 -if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
76960 +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
76961 as_basename=basename
76962 else
76963 as_basename=false
76964 @@ -9993,159 +10431,120 @@
76965
76966
76967 # Name of the executable.
76968 -as_me=`$as_basename "$0" ||
76969 +as_me=`$as_basename -- "$0" ||
76970 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
76971 X"$0" : 'X\(//\)$' \| \
76972 - X"$0" : 'X\(/\)$' \| \
76973 - . : '\(.\)' 2>/dev/null ||
76974 + X"$0" : 'X\(/\)' \| . 2>/dev/null ||
76975 echo X/"$0" |
76976 - sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
76977 - /^X\/\(\/\/\)$/{ s//\1/; q; }
76978 - /^X\/\(\/\).*/{ s//\1/; q; }
76979 - s/.*/./; q'`
76980 -
76981 -
76982 -# PATH needs CR, and LINENO needs CR and PATH.
76983 -# Avoid depending upon Character Ranges.
76984 -as_cr_letters='abcdefghijklmnopqrstuvwxyz'
76985 -as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
76986 -as_cr_Letters=$as_cr_letters$as_cr_LETTERS
76987 -as_cr_digits='0123456789'
76988 -as_cr_alnum=$as_cr_Letters$as_cr_digits
76989 + sed '/^.*\/\([^/][^/]*\)\/*$/{
76990 + s//\1/
76991 + q
76992 + }
76993 + /^X\/\(\/\/\)$/{
76994 + s//\1/
76995 + q
76996 + }
76997 + /^X\/\(\/\).*/{
76998 + s//\1/
76999 + q
77000 + }
77001 + s/.*/./; q'`
77002
77003 -# The user is always right.
77004 -if test "${PATH_SEPARATOR+set}" != set; then
77005 - echo "#! /bin/sh" >conf$$.sh
77006 - echo "exit 0" >>conf$$.sh
77007 - chmod +x conf$$.sh
77008 - if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
77009 - PATH_SEPARATOR=';'
77010 - else
77011 - PATH_SEPARATOR=:
77012 - fi
77013 - rm -f conf$$.sh
77014 -fi
77015 +# CDPATH.
77016 +$as_unset CDPATH
77017
77018
77019 - as_lineno_1=$LINENO
77020 - as_lineno_2=$LINENO
77021 - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
77022 - test "x$as_lineno_1" != "x$as_lineno_2" &&
77023 - test "x$as_lineno_3" = "x$as_lineno_2" || {
77024 - # Find who we are. Look in the path if we contain no path at all
77025 - # relative or not.
77026 - case $0 in
77027 - *[\\/]* ) as_myself=$0 ;;
77028 - *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77029 -for as_dir in $PATH
77030 -do
77031 - IFS=$as_save_IFS
77032 - test -z "$as_dir" && as_dir=.
77033 - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
77034 -done
77035
77036 - ;;
77037 - esac
77038 - # We did not find ourselves, most probably we were run as `sh COMMAND'
77039 - # in which case we are not to be found in the path.
77040 - if test "x$as_myself" = x; then
77041 - as_myself=$0
77042 - fi
77043 - if test ! -f "$as_myself"; then
77044 - { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
77045 -echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
77046 - { (exit 1); exit 1; }; }
77047 - fi
77048 - case $CONFIG_SHELL in
77049 - '')
77050 - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77051 -for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
77052 -do
77053 - IFS=$as_save_IFS
77054 - test -z "$as_dir" && as_dir=.
77055 - for as_base in sh bash ksh sh5; do
77056 - case $as_dir in
77057 - /*)
77058 - if ("$as_dir/$as_base" -c '
77059 as_lineno_1=$LINENO
77060 as_lineno_2=$LINENO
77061 - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
77062 test "x$as_lineno_1" != "x$as_lineno_2" &&
77063 - test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
77064 - $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
77065 - $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
77066 - CONFIG_SHELL=$as_dir/$as_base
77067 - export CONFIG_SHELL
77068 - exec "$CONFIG_SHELL" "$0" ${1+"$@"}
77069 - fi;;
77070 - esac
77071 - done
77072 -done
77073 -;;
77074 - esac
77075 + test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
77076
77077 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
77078 # uniformly replaced by the line number. The first 'sed' inserts a
77079 - # line-number line before each line; the second 'sed' does the real
77080 - # work. The second script uses 'N' to pair each line-number line
77081 - # with the numbered line, and appends trailing '-' during
77082 - # substitution so that $LINENO is not a special case at line end.
77083 + # line-number line after each line using $LINENO; the second 'sed'
77084 + # does the real work. The second script uses 'N' to pair each
77085 + # line-number line with the line containing $LINENO, and appends
77086 + # trailing '-' during substitution so that $LINENO is not a special
77087 + # case at line end.
77088 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
77089 - # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
77090 - sed '=' <$as_myself |
77091 + # scripts with optimization help from Paolo Bonzini. Blame Lee
77092 + # E. McMahon (1931-1989) for sed's syntax. :-)
77093 + sed -n '
77094 + p
77095 + /[$]LINENO/=
77096 + ' <$as_myself |
77097 sed '
77098 + s/[$]LINENO.*/&-/
77099 + t lineno
77100 + b
77101 + :lineno
77102 N
77103 - s,$,-,
77104 - : loop
77105 - s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
77106 + :loop
77107 + s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
77108 t loop
77109 - s,-$,,
77110 - s,^['$as_cr_digits']*\n,,
77111 + s/-\n.*//
77112 ' >$as_me.lineno &&
77113 - chmod +x $as_me.lineno ||
77114 - { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
77115 -echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
77116 + chmod +x "$as_me.lineno" ||
77117 + { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
77118 { (exit 1); exit 1; }; }
77119
77120 # Don't try to exec as it changes $[0], causing all sort of problems
77121 # (the dirname of $[0] is not the place where we might find the
77122 - # original and so on. Autoconf is especially sensible to this).
77123 - . ./$as_me.lineno
77124 + # original and so on. Autoconf is especially sensitive to this).
77125 + . "./$as_me.lineno"
77126 # Exit status is that of the last command.
77127 exit
77128 }
77129
77130
77131 -case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
77132 - *c*,-n*) ECHO_N= ECHO_C='
77133 -' ECHO_T=' ' ;;
77134 - *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
77135 - *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
77136 +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
77137 + as_dirname=dirname
77138 +else
77139 + as_dirname=false
77140 +fi
77141 +
77142 +ECHO_C= ECHO_N= ECHO_T=
77143 +case `echo -n x` in
77144 +-n*)
77145 + case `echo 'x\c'` in
77146 + *c*) ECHO_T=' ';; # ECHO_T is single tab character.
77147 + *) ECHO_C='\c';;
77148 + esac;;
77149 +*)
77150 + ECHO_N='-n';;
77151 esac
77152
77153 -if expr a : '\(a\)' >/dev/null 2>&1; then
77154 +if expr a : '\(a\)' >/dev/null 2>&1 &&
77155 + test "X`expr 00001 : '.*\(...\)'`" = X001; then
77156 as_expr=expr
77157 else
77158 as_expr=false
77159 fi
77160
77161 rm -f conf$$ conf$$.exe conf$$.file
77162 +if test -d conf$$.dir; then
77163 + rm -f conf$$.dir/conf$$.file
77164 +else
77165 + rm -f conf$$.dir
77166 + mkdir conf$$.dir
77167 +fi
77168 echo >conf$$.file
77169 if ln -s conf$$.file conf$$ 2>/dev/null; then
77170 - # We could just check for DJGPP; but this test a) works b) is more generic
77171 - # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
77172 - if test -f conf$$.exe; then
77173 - # Don't use ln at all; we don't have any links
77174 + as_ln_s='ln -s'
77175 + # ... but there are two gotchas:
77176 + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
77177 + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
77178 + # In both cases, we have to default to `cp -p'.
77179 + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
77180 as_ln_s='cp -p'
77181 - else
77182 - as_ln_s='ln -s'
77183 - fi
77184 elif ln conf$$.file conf$$ 2>/dev/null; then
77185 as_ln_s=ln
77186 else
77187 as_ln_s='cp -p'
77188 fi
77189 -rm -f conf$$ conf$$.exe conf$$.file
77190 +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
77191 +rmdir conf$$.dir 2>/dev/null
77192
77193 if mkdir -p . 2>/dev/null; then
77194 as_mkdir_p=:
77195 @@ -10154,7 +10553,28 @@
77196 as_mkdir_p=false
77197 fi
77198
77199 -as_executable_p="test -f"
77200 +if test -x / >/dev/null 2>&1; then
77201 + as_test_x='test -x'
77202 +else
77203 + if ls -dL / >/dev/null 2>&1; then
77204 + as_ls_L_option=L
77205 + else
77206 + as_ls_L_option=
77207 + fi
77208 + as_test_x='
77209 + eval sh -c '\''
77210 + if test -d "$1"; then
77211 + test -d "$1/.";
77212 + else
77213 + case $1 in
77214 + -*)set "./$1";;
77215 + esac;
77216 + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
77217 + ???[sx]*):;;*)false;;esac;fi
77218 + '\'' sh
77219 + '
77220 +fi
77221 +as_executable_p=$as_test_x
77222
77223 # Sed expression to map a string onto a valid CPP name.
77224 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
77225 @@ -10163,31 +10583,14 @@
77226 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
77227
77228
77229 -# IFS
77230 -# We need space, tab and new line, in precisely that order.
77231 -as_nl='
77232 -'
77233 -IFS=" $as_nl"
77234 -
77235 -# CDPATH.
77236 -$as_unset CDPATH
77237 -
77238 exec 6>&1
77239
77240 -# Open the log real soon, to keep \$[0] and so on meaningful, and to
77241 +# Save the log message, to keep $[0] and so on meaningful, and to
77242 # report actual input values of CONFIG_FILES etc. instead of their
77243 -# values after options handling. Logging --version etc. is OK.
77244 -exec 5>>config.log
77245 -{
77246 - echo
77247 - sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
77248 -## Running $as_me. ##
77249 -_ASBOX
77250 -} >&5
77251 -cat >&5 <<_CSEOF
77252 -
77253 +# values after options handling.
77254 +ac_log="
77255 This file was extended by $as_me, which was
77256 -generated by GNU Autoconf 2.59. Invocation command line was
77257 +generated by GNU Autoconf 2.61. Invocation command line was
77258
77259 CONFIG_FILES = $CONFIG_FILES
77260 CONFIG_HEADERS = $CONFIG_HEADERS
77261 @@ -10195,30 +10598,20 @@
77262 CONFIG_COMMANDS = $CONFIG_COMMANDS
77263 $ $0 $@
77264
77265 -_CSEOF
77266 -echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
77267 -echo >&5
77268 +on `(hostname || uname -n) 2>/dev/null | sed 1q`
77269 +"
77270 +
77271 _ACEOF
77272
77273 +cat >>$CONFIG_STATUS <<_ACEOF
77274 # Files that config.status was made for.
77275 -if test -n "$ac_config_files"; then
77276 - echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
77277 -fi
77278 -
77279 -if test -n "$ac_config_headers"; then
77280 - echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
77281 -fi
77282 -
77283 -if test -n "$ac_config_links"; then
77284 - echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
77285 -fi
77286 +config_files="$ac_config_files"
77287 +config_headers="$ac_config_headers"
77288 +config_commands="$ac_config_commands"
77289
77290 -if test -n "$ac_config_commands"; then
77291 - echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
77292 -fi
77293 +_ACEOF
77294
77295 cat >>$CONFIG_STATUS <<\_ACEOF
77296 -
77297 ac_cs_usage="\
77298 \`$as_me' instantiates files from templates according to the
77299 current configuration.
77300 @@ -10226,7 +10619,7 @@
77301 Usage: $0 [OPTIONS] [FILE]...
77302
77303 -h, --help print this help, then exit
77304 - -V, --version print version number, then exit
77305 + -V, --version print version number and configuration settings, then exit
77306 -q, --quiet do not print progress messages
77307 -d, --debug don't remove temporary files
77308 --recheck update $as_me by reconfiguring in the same conditions
77309 @@ -10245,19 +10638,21 @@
77310 $config_commands
77311
77312 Report bugs to <bug-autoconf@gnu.org>."
77313 -_ACEOF
77314
77315 +_ACEOF
77316 cat >>$CONFIG_STATUS <<_ACEOF
77317 ac_cs_version="\\
77318 config.status
77319 -configured by $0, generated by GNU Autoconf 2.59,
77320 - with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
77321 +configured by $0, generated by GNU Autoconf 2.61,
77322 + with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
77323
77324 -Copyright (C) 2003 Free Software Foundation, Inc.
77325 +Copyright (C) 2006 Free Software Foundation, Inc.
77326 This config.status script is free software; the Free Software Foundation
77327 gives unlimited permission to copy, distribute and modify it."
77328 -srcdir=$srcdir
77329 -INSTALL="$INSTALL"
77330 +
77331 +ac_pwd='$ac_pwd'
77332 +srcdir='$srcdir'
77333 +INSTALL='$INSTALL'
77334 _ACEOF
77335
77336 cat >>$CONFIG_STATUS <<\_ACEOF
77337 @@ -10268,39 +10663,24 @@
77338 do
77339 case $1 in
77340 --*=*)
77341 - ac_option=`expr "x$1" : 'x\([^=]*\)='`
77342 - ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
77343 + ac_option=`expr "X$1" : 'X\([^=]*\)='`
77344 + ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
77345 ac_shift=:
77346 ;;
77347 - -*)
77348 + *)
77349 ac_option=$1
77350 ac_optarg=$2
77351 ac_shift=shift
77352 ;;
77353 - *) # This is not an option, so the user has probably given explicit
77354 - # arguments.
77355 - ac_option=$1
77356 - ac_need_defaults=false;;
77357 esac
77358
77359 case $ac_option in
77360 # Handling of the options.
77361 -_ACEOF
77362 -cat >>$CONFIG_STATUS <<\_ACEOF
77363 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
77364 ac_cs_recheck=: ;;
77365 - --version | --vers* | -V )
77366 - echo "$ac_cs_version"; exit 0 ;;
77367 - --he | --h)
77368 - # Conflict between --help and --header
77369 - { { echo "$as_me:$LINENO: error: ambiguous option: $1
77370 -Try \`$0 --help' for more information." >&5
77371 -echo "$as_me: error: ambiguous option: $1
77372 -Try \`$0 --help' for more information." >&2;}
77373 - { (exit 1); exit 1; }; };;
77374 - --help | --hel | -h )
77375 - echo "$ac_cs_usage"; exit 0 ;;
77376 - --debug | --d* | -d )
77377 + --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
77378 + echo "$ac_cs_version"; exit ;;
77379 + --debug | --debu | --deb | --de | --d | -d )
77380 debug=: ;;
77381 --file | --fil | --fi | --f )
77382 $ac_shift
77383 @@ -10310,18 +10690,24 @@
77384 $ac_shift
77385 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
77386 ac_need_defaults=false;;
77387 + --he | --h)
77388 + # Conflict between --help and --header
77389 + { echo "$as_me: error: ambiguous option: $1
77390 +Try \`$0 --help' for more information." >&2
77391 + { (exit 1); exit 1; }; };;
77392 + --help | --hel | -h )
77393 + echo "$ac_cs_usage"; exit ;;
77394 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
77395 | -silent | --silent | --silen | --sile | --sil | --si | --s)
77396 ac_cs_silent=: ;;
77397
77398 # This is an error.
77399 - -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
77400 -Try \`$0 --help' for more information." >&5
77401 -echo "$as_me: error: unrecognized option: $1
77402 -Try \`$0 --help' for more information." >&2;}
77403 + -*) { echo "$as_me: error: unrecognized option: $1
77404 +Try \`$0 --help' for more information." >&2
77405 { (exit 1); exit 1; }; } ;;
77406
77407 - *) ac_config_targets="$ac_config_targets $1" ;;
77408 + *) ac_config_targets="$ac_config_targets $1"
77409 + ac_need_defaults=false ;;
77410
77411 esac
77412 shift
77413 @@ -10337,39 +10723,51 @@
77414 _ACEOF
77415 cat >>$CONFIG_STATUS <<_ACEOF
77416 if \$ac_cs_recheck; then
77417 - echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
77418 - exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
77419 + echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
77420 + CONFIG_SHELL=$SHELL
77421 + export CONFIG_SHELL
77422 + exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
77423 fi
77424
77425 _ACEOF
77426 +cat >>$CONFIG_STATUS <<\_ACEOF
77427 +exec 5>>config.log
77428 +{
77429 + echo
77430 + sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
77431 +## Running $as_me. ##
77432 +_ASBOX
77433 + echo "$ac_log"
77434 +} >&5
77435
77436 +_ACEOF
77437 cat >>$CONFIG_STATUS <<_ACEOF
77438 #
77439 -# INIT-COMMANDS section.
77440 +# INIT-COMMANDS
77441 #
77442 -
77443 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
77444
77445 _ACEOF
77446
77447 -
77448 -
77449 cat >>$CONFIG_STATUS <<\_ACEOF
77450 +
77451 +# Handling of arguments.
77452 for ac_config_target in $ac_config_targets
77453 do
77454 - case "$ac_config_target" in
77455 - # Handling of arguments.
77456 - "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
77457 - "po/Makefile.in" ) CONFIG_FILES="$CONFIG_FILES po/Makefile.in:po/Make-in" ;;
77458 - "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
77459 - "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
77460 - "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.in" ;;
77461 + case $ac_config_target in
77462 + "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
77463 + "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.in" ;;
77464 + "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
77465 + "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in:po/Make-in" ;;
77466 + "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
77467 +
77468 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
77469 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
77470 { (exit 1); exit 1; }; };;
77471 esac
77472 done
77473
77474 +
77475 # If the user did not use the arguments to specify the items to instantiate,
77476 # then the envvar interface is used. Set only those that are not.
77477 # We use the long form for the default assignment because of an extremely
77478 @@ -10381,640 +10779,634 @@
77479 fi
77480
77481 # Have a temporary directory for convenience. Make it in the build tree
77482 -# simply because there is no reason to put it here, and in addition,
77483 +# simply because there is no reason against having it here, and in addition,
77484 # creating and moving files from /tmp can sometimes cause problems.
77485 -# Create a temporary directory, and hook for its removal unless debugging.
77486 +# Hook for its removal unless debugging.
77487 +# Note that there is a small window in which the directory will not be cleaned:
77488 +# after its creation but before its name has been assigned to `$tmp'.
77489 $debug ||
77490 {
77491 - trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
77492 + tmp=
77493 + trap 'exit_status=$?
77494 + { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
77495 +' 0
77496 trap '{ (exit 1); exit 1; }' 1 2 13 15
77497 }
77498 -
77499 # Create a (secure) tmp directory for tmp files.
77500
77501 {
77502 - tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
77503 + tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
77504 test -n "$tmp" && test -d "$tmp"
77505 } ||
77506 {
77507 - tmp=./confstat$$-$RANDOM
77508 - (umask 077 && mkdir $tmp)
77509 + tmp=./conf$$-$RANDOM
77510 + (umask 077 && mkdir "$tmp")
77511 } ||
77512 {
77513 echo "$me: cannot create a temporary directory in ." >&2
77514 { (exit 1); exit 1; }
77515 }
77516
77517 -_ACEOF
77518 -
77519 -cat >>$CONFIG_STATUS <<_ACEOF
77520 -
77521 #
77522 -# CONFIG_FILES section.
77523 +# Set up the sed scripts for CONFIG_FILES section.
77524 #
77525
77526 # No need to generate the scripts if there are no CONFIG_FILES.
77527 # This happens for instance when ./config.status config.h
77528 -if test -n "\$CONFIG_FILES"; then
77529 - # Protect against being on the right side of a sed subst in config.status.
77530 - sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
77531 - s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
77532 -s,@SHELL@,$SHELL,;t t
77533 -s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
77534 -s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
77535 -s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
77536 -s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
77537 -s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
77538 -s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
77539 -s,@exec_prefix@,$exec_prefix,;t t
77540 -s,@prefix@,$prefix,;t t
77541 -s,@program_transform_name@,$program_transform_name,;t t
77542 -s,@bindir@,$bindir,;t t
77543 -s,@sbindir@,$sbindir,;t t
77544 -s,@libexecdir@,$libexecdir,;t t
77545 -s,@datadir@,$datadir,;t t
77546 -s,@sysconfdir@,$sysconfdir,;t t
77547 -s,@sharedstatedir@,$sharedstatedir,;t t
77548 -s,@localstatedir@,$localstatedir,;t t
77549 -s,@libdir@,$libdir,;t t
77550 -s,@includedir@,$includedir,;t t
77551 -s,@oldincludedir@,$oldincludedir,;t t
77552 -s,@infodir@,$infodir,;t t
77553 -s,@mandir@,$mandir,;t t
77554 -s,@build_alias@,$build_alias,;t t
77555 -s,@host_alias@,$host_alias,;t t
77556 -s,@target_alias@,$target_alias,;t t
77557 -s,@DEFS@,$DEFS,;t t
77558 -s,@ECHO_C@,$ECHO_C,;t t
77559 -s,@ECHO_N@,$ECHO_N,;t t
77560 -s,@ECHO_T@,$ECHO_T,;t t
77561 -s,@LIBS@,$LIBS,;t t
77562 -s,@build@,$build,;t t
77563 -s,@build_cpu@,$build_cpu,;t t
77564 -s,@build_vendor@,$build_vendor,;t t
77565 -s,@build_os@,$build_os,;t t
77566 -s,@host@,$host,;t t
77567 -s,@host_cpu@,$host_cpu,;t t
77568 -s,@host_vendor@,$host_vendor,;t t
77569 -s,@host_os@,$host_os,;t t
77570 -s,@target@,$target,;t t
77571 -s,@target_cpu@,$target_cpu,;t t
77572 -s,@target_vendor@,$target_vendor,;t t
77573 -s,@target_os@,$target_os,;t t
77574 -s,@CC@,$CC,;t t
77575 -s,@CFLAGS@,$CFLAGS,;t t
77576 -s,@LDFLAGS@,$LDFLAGS,;t t
77577 -s,@CPPFLAGS@,$CPPFLAGS,;t t
77578 -s,@ac_ct_CC@,$ac_ct_CC,;t t
77579 -s,@EXEEXT@,$EXEEXT,;t t
77580 -s,@OBJEXT@,$OBJEXT,;t t
77581 -s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
77582 -s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
77583 -s,@INSTALL_DATA@,$INSTALL_DATA,;t t
77584 -s,@CYGPATH_W@,$CYGPATH_W,;t t
77585 -s,@PACKAGE@,$PACKAGE,;t t
77586 -s,@VERSION@,$VERSION,;t t
77587 -s,@ACLOCAL@,$ACLOCAL,;t t
77588 -s,@AUTOCONF@,$AUTOCONF,;t t
77589 -s,@AUTOMAKE@,$AUTOMAKE,;t t
77590 -s,@AUTOHEADER@,$AUTOHEADER,;t t
77591 -s,@MAKEINFO@,$MAKEINFO,;t t
77592 -s,@install_sh@,$install_sh,;t t
77593 -s,@STRIP@,$STRIP,;t t
77594 -s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
77595 -s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
77596 -s,@mkdir_p@,$mkdir_p,;t t
77597 -s,@AWK@,$AWK,;t t
77598 -s,@SET_MAKE@,$SET_MAKE,;t t
77599 -s,@am__leading_dot@,$am__leading_dot,;t t
77600 -s,@AMTAR@,$AMTAR,;t t
77601 -s,@am__tar@,$am__tar,;t t
77602 -s,@am__untar@,$am__untar,;t t
77603 -s,@DEPDIR@,$DEPDIR,;t t
77604 -s,@am__include@,$am__include,;t t
77605 -s,@am__quote@,$am__quote,;t t
77606 -s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
77607 -s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
77608 -s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
77609 -s,@CCDEPMODE@,$CCDEPMODE,;t t
77610 -s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
77611 -s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
77612 -s,@LN_S@,$LN_S,;t t
77613 -s,@RANLIB@,$RANLIB,;t t
77614 -s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
77615 -s,@LIBTOOL@,$LIBTOOL,;t t
77616 -s,@use_sysroot@,$use_sysroot,;t t
77617 -s,@TARGET_SYSTEM_ROOT@,$TARGET_SYSTEM_ROOT,;t t
77618 -s,@TARGET_SYSTEM_ROOT_DEFINE@,$TARGET_SYSTEM_ROOT_DEFINE,;t t
77619 -s,@WARN_CFLAGS@,$WARN_CFLAGS,;t t
77620 -s,@NO_WERROR@,$NO_WERROR,;t t
77621 -s,@CPP@,$CPP,;t t
77622 -s,@EGREP@,$EGREP,;t t
77623 -s,@ALLOCA@,$ALLOCA,;t t
77624 -s,@USE_NLS@,$USE_NLS,;t t
77625 -s,@MSGFMT@,$MSGFMT,;t t
77626 -s,@GMSGFMT@,$GMSGFMT,;t t
77627 -s,@XGETTEXT@,$XGETTEXT,;t t
77628 -s,@USE_INCLUDED_LIBINTL@,$USE_INCLUDED_LIBINTL,;t t
77629 -s,@CATALOGS@,$CATALOGS,;t t
77630 -s,@CATOBJEXT@,$CATOBJEXT,;t t
77631 -s,@DATADIRNAME@,$DATADIRNAME,;t t
77632 -s,@GMOFILES@,$GMOFILES,;t t
77633 -s,@INSTOBJEXT@,$INSTOBJEXT,;t t
77634 -s,@INTLDEPS@,$INTLDEPS,;t t
77635 -s,@INTLLIBS@,$INTLLIBS,;t t
77636 -s,@INTLOBJS@,$INTLOBJS,;t t
77637 -s,@POFILES@,$POFILES,;t t
77638 -s,@POSUB@,$POSUB,;t t
77639 -s,@INCLUDE_LOCALE_H@,$INCLUDE_LOCALE_H,;t t
77640 -s,@GT_NO@,$GT_NO,;t t
77641 -s,@GT_YES@,$GT_YES,;t t
77642 -s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
77643 -s,@l@,$l,;t t
77644 -s,@YACC@,$YACC,;t t
77645 -s,@LEX@,$LEX,;t t
77646 -s,@LEXLIB@,$LEXLIB,;t t
77647 -s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
77648 -s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
77649 -s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
77650 -s,@MAINT@,$MAINT,;t t
77651 -s,@HDEFINES@,$HDEFINES,;t t
77652 -s,@HOSTING_CRT0@,$HOSTING_CRT0,;t t
77653 -s,@HOSTING_LIBS@,$HOSTING_LIBS,;t t
77654 -s,@NATIVE_LIB_DIRS@,$NATIVE_LIB_DIRS,;t t
77655 -s,@STRINGIFY@,$STRINGIFY,;t t
77656 -s,@EMUL@,$EMUL,;t t
77657 -s,@EMULATION_OFILES@,$EMULATION_OFILES,;t t
77658 -s,@EMUL_EXTRA_OFILES@,$EMUL_EXTRA_OFILES,;t t
77659 -s,@LIB_PATH@,$LIB_PATH,;t t
77660 -s,@EMULATION_LIBPATH@,$EMULATION_LIBPATH,;t t
77661 -s,@TESTBFDLIB@,$TESTBFDLIB,;t t
77662 -s,@datarootdir@,$datarootdir,;t t
77663 -s,@docdir@,$docdir,;t t
77664 -s,@htmldir@,$htmldir,;t t
77665 -s,@LIBOBJS@,$LIBOBJS,;t t
77666 -s,@LTLIBOBJS@,$LTLIBOBJS,;t t
77667 -/@TDIRS@/r $TDIRS
77668 -s,@TDIRS@,,;t t
77669 -CEOF
77670 -
77671 -_ACEOF
77672 -
77673 - cat >>$CONFIG_STATUS <<\_ACEOF
77674 - # Split the substitutions into bite-sized pieces for seds with
77675 - # small command number limits, like on Digital OSF/1 and HP-UX.
77676 - ac_max_sed_lines=48
77677 - ac_sed_frag=1 # Number of current file.
77678 - ac_beg=1 # First line for current file.
77679 - ac_end=$ac_max_sed_lines # Line after last line for current file.
77680 - ac_more_lines=:
77681 - ac_sed_cmds=
77682 - while $ac_more_lines; do
77683 - if test $ac_beg -gt 1; then
77684 - sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
77685 - else
77686 - sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
77687 - fi
77688 - if test ! -s $tmp/subs.frag; then
77689 - ac_more_lines=false
77690 - else
77691 - # The purpose of the label and of the branching condition is to
77692 - # speed up the sed processing (if there are no `@' at all, there
77693 - # is no need to browse any of the substitutions).
77694 - # These are the two extra sed commands mentioned above.
77695 - (echo ':t
77696 - /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
77697 - if test -z "$ac_sed_cmds"; then
77698 - ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
77699 - else
77700 - ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
77701 - fi
77702 - ac_sed_frag=`expr $ac_sed_frag + 1`
77703 - ac_beg=$ac_end
77704 - ac_end=`expr $ac_end + $ac_max_sed_lines`
77705 - fi
77706 - done
77707 - if test -z "$ac_sed_cmds"; then
77708 - ac_sed_cmds=cat
77709 +if test -n "$CONFIG_FILES"; then
77710 +
77711 +_ACEOF
77712 +
77713 +# Create sed commands to just substitute file output variables.
77714 +
77715 +# Remaining file output variables are in a fragment that also has non-file
77716 +# output varibles.
77717 +
77718 +
77719 +
77720 +ac_delim='%!_!# '
77721 +for ac_last_try in false false false false false :; do
77722 + cat >conf$$subs.sed <<_ACEOF
77723 +SHELL!$SHELL$ac_delim
77724 +PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
77725 +PACKAGE_NAME!$PACKAGE_NAME$ac_delim
77726 +PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
77727 +PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
77728 +PACKAGE_STRING!$PACKAGE_STRING$ac_delim
77729 +PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
77730 +exec_prefix!$exec_prefix$ac_delim
77731 +prefix!$prefix$ac_delim
77732 +program_transform_name!$program_transform_name$ac_delim
77733 +bindir!$bindir$ac_delim
77734 +sbindir!$sbindir$ac_delim
77735 +libexecdir!$libexecdir$ac_delim
77736 +datarootdir!$datarootdir$ac_delim
77737 +datadir!$datadir$ac_delim
77738 +sysconfdir!$sysconfdir$ac_delim
77739 +sharedstatedir!$sharedstatedir$ac_delim
77740 +localstatedir!$localstatedir$ac_delim
77741 +includedir!$includedir$ac_delim
77742 +oldincludedir!$oldincludedir$ac_delim
77743 +docdir!$docdir$ac_delim
77744 +infodir!$infodir$ac_delim
77745 +htmldir!$htmldir$ac_delim
77746 +dvidir!$dvidir$ac_delim
77747 +pdfdir!$pdfdir$ac_delim
77748 +psdir!$psdir$ac_delim
77749 +libdir!$libdir$ac_delim
77750 +localedir!$localedir$ac_delim
77751 +mandir!$mandir$ac_delim
77752 +DEFS!$DEFS$ac_delim
77753 +ECHO_C!$ECHO_C$ac_delim
77754 +ECHO_N!$ECHO_N$ac_delim
77755 +ECHO_T!$ECHO_T$ac_delim
77756 +LIBS!$LIBS$ac_delim
77757 +build_alias!$build_alias$ac_delim
77758 +host_alias!$host_alias$ac_delim
77759 +target_alias!$target_alias$ac_delim
77760 +build!$build$ac_delim
77761 +build_cpu!$build_cpu$ac_delim
77762 +build_vendor!$build_vendor$ac_delim
77763 +build_os!$build_os$ac_delim
77764 +host!$host$ac_delim
77765 +host_cpu!$host_cpu$ac_delim
77766 +host_vendor!$host_vendor$ac_delim
77767 +host_os!$host_os$ac_delim
77768 +target!$target$ac_delim
77769 +target_cpu!$target_cpu$ac_delim
77770 +target_vendor!$target_vendor$ac_delim
77771 +target_os!$target_os$ac_delim
77772 +CC!$CC$ac_delim
77773 +CFLAGS!$CFLAGS$ac_delim
77774 +LDFLAGS!$LDFLAGS$ac_delim
77775 +CPPFLAGS!$CPPFLAGS$ac_delim
77776 +ac_ct_CC!$ac_ct_CC$ac_delim
77777 +EXEEXT!$EXEEXT$ac_delim
77778 +OBJEXT!$OBJEXT$ac_delim
77779 +INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
77780 +INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
77781 +INSTALL_DATA!$INSTALL_DATA$ac_delim
77782 +CYGPATH_W!$CYGPATH_W$ac_delim
77783 +PACKAGE!$PACKAGE$ac_delim
77784 +VERSION!$VERSION$ac_delim
77785 +ACLOCAL!$ACLOCAL$ac_delim
77786 +AUTOCONF!$AUTOCONF$ac_delim
77787 +AUTOMAKE!$AUTOMAKE$ac_delim
77788 +AUTOHEADER!$AUTOHEADER$ac_delim
77789 +MAKEINFO!$MAKEINFO$ac_delim
77790 +install_sh!$install_sh$ac_delim
77791 +STRIP!$STRIP$ac_delim
77792 +INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
77793 +mkdir_p!$mkdir_p$ac_delim
77794 +AWK!$AWK$ac_delim
77795 +SET_MAKE!$SET_MAKE$ac_delim
77796 +am__leading_dot!$am__leading_dot$ac_delim
77797 +AMTAR!$AMTAR$ac_delim
77798 +am__tar!$am__tar$ac_delim
77799 +am__untar!$am__untar$ac_delim
77800 +DEPDIR!$DEPDIR$ac_delim
77801 +am__include!$am__include$ac_delim
77802 +am__quote!$am__quote$ac_delim
77803 +AMDEP_TRUE!$AMDEP_TRUE$ac_delim
77804 +AMDEP_FALSE!$AMDEP_FALSE$ac_delim
77805 +AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
77806 +CCDEPMODE!$CCDEPMODE$ac_delim
77807 +am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
77808 +am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
77809 +LN_S!$LN_S$ac_delim
77810 +RANLIB!$RANLIB$ac_delim
77811 +LIBTOOL!$LIBTOOL$ac_delim
77812 +use_sysroot!$use_sysroot$ac_delim
77813 +TARGET_SYSTEM_ROOT!$TARGET_SYSTEM_ROOT$ac_delim
77814 +TARGET_SYSTEM_ROOT_DEFINE!$TARGET_SYSTEM_ROOT_DEFINE$ac_delim
77815 +WARN_CFLAGS!$WARN_CFLAGS$ac_delim
77816 +NO_WERROR!$NO_WERROR$ac_delim
77817 +_ACEOF
77818 +
77819 + if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 94; then
77820 + break
77821 + elif $ac_last_try; then
77822 + { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
77823 +echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
77824 + { (exit 1); exit 1; }; }
77825 + else
77826 + ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
77827 fi
77828 -fi # test -n "$CONFIG_FILES"
77829 +done
77830 +
77831 +ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
77832 +if test -n "$ac_eof"; then
77833 + ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
77834 + ac_eof=`expr $ac_eof + 1`
77835 +fi
77836 +
77837 +cat >>$CONFIG_STATUS <<_ACEOF
77838 +cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
77839 +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
77840 +/^[ ]*@TDIRS@[ ]*$/{
77841 +r $TDIRS
77842 +d
77843 +}
77844 +_ACEOF
77845 +sed '
77846 +s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
77847 +s/^/s,@/; s/!/@,|#_!!_#|/
77848 +:n
77849 +t n
77850 +s/'"$ac_delim"'$/,g/; t
77851 +s/$/\\/; p
77852 +N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
77853 +' >>$CONFIG_STATUS <conf$$subs.sed
77854 +rm -f conf$$subs.sed
77855 +cat >>$CONFIG_STATUS <<_ACEOF
77856 +CEOF$ac_eof
77857 +_ACEOF
77858 +
77859 +
77860 +ac_delim='%!_!# '
77861 +for ac_last_try in false false false false false :; do
77862 + cat >conf$$subs.sed <<_ACEOF
77863 +CPP!$CPP$ac_delim
77864 +GREP!$GREP$ac_delim
77865 +EGREP!$EGREP$ac_delim
77866 +ALLOCA!$ALLOCA$ac_delim
77867 +USE_NLS!$USE_NLS$ac_delim
77868 +MSGFMT!$MSGFMT$ac_delim
77869 +GMSGFMT!$GMSGFMT$ac_delim
77870 +XGETTEXT!$XGETTEXT$ac_delim
77871 +USE_INCLUDED_LIBINTL!$USE_INCLUDED_LIBINTL$ac_delim
77872 +CATALOGS!$CATALOGS$ac_delim
77873 +CATOBJEXT!$CATOBJEXT$ac_delim
77874 +DATADIRNAME!$DATADIRNAME$ac_delim
77875 +GMOFILES!$GMOFILES$ac_delim
77876 +INSTOBJEXT!$INSTOBJEXT$ac_delim
77877 +INTLDEPS!$INTLDEPS$ac_delim
77878 +INTLLIBS!$INTLLIBS$ac_delim
77879 +INTLOBJS!$INTLOBJS$ac_delim
77880 +POFILES!$POFILES$ac_delim
77881 +POSUB!$POSUB$ac_delim
77882 +INCLUDE_LOCALE_H!$INCLUDE_LOCALE_H$ac_delim
77883 +GT_NO!$GT_NO$ac_delim
77884 +GT_YES!$GT_YES$ac_delim
77885 +MKINSTALLDIRS!$MKINSTALLDIRS$ac_delim
77886 +l!$l$ac_delim
77887 +YACC!$YACC$ac_delim
77888 +YFLAGS!$YFLAGS$ac_delim
77889 +LEX!$LEX$ac_delim
77890 +LEX_OUTPUT_ROOT!$LEX_OUTPUT_ROOT$ac_delim
77891 +LEXLIB!$LEXLIB$ac_delim
77892 +MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
77893 +MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
77894 +MAINT!$MAINT$ac_delim
77895 +HDEFINES!$HDEFINES$ac_delim
77896 +HOSTING_CRT0!$HOSTING_CRT0$ac_delim
77897 +HOSTING_LIBS!$HOSTING_LIBS$ac_delim
77898 +NATIVE_LIB_DIRS!$NATIVE_LIB_DIRS$ac_delim
77899 +STRINGIFY!$STRINGIFY$ac_delim
77900 +EMUL!$EMUL$ac_delim
77901 +EMULATION_OFILES!$EMULATION_OFILES$ac_delim
77902 +EMUL_EXTRA_OFILES!$EMUL_EXTRA_OFILES$ac_delim
77903 +LIB_PATH!$LIB_PATH$ac_delim
77904 +EMULATION_LIBPATH!$EMULATION_LIBPATH$ac_delim
77905 +TESTBFDLIB!$TESTBFDLIB$ac_delim
77906 +LIBOBJS!$LIBOBJS$ac_delim
77907 +LTLIBOBJS!$LTLIBOBJS$ac_delim
77908 +_ACEOF
77909 +
77910 + if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 45; then
77911 + break
77912 + elif $ac_last_try; then
77913 + { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
77914 +echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
77915 + { (exit 1); exit 1; }; }
77916 + else
77917 + ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
77918 + fi
77919 +done
77920 +
77921 +ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
77922 +if test -n "$ac_eof"; then
77923 + ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
77924 + ac_eof=`expr $ac_eof + 1`
77925 +fi
77926
77927 +cat >>$CONFIG_STATUS <<_ACEOF
77928 +cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
77929 +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
77930 +_ACEOF
77931 +sed '
77932 +s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
77933 +s/^/s,@/; s/!/@,|#_!!_#|/
77934 +:n
77935 +t n
77936 +s/'"$ac_delim"'$/,g/; t
77937 +s/$/\\/; p
77938 +N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
77939 +' >>$CONFIG_STATUS <conf$$subs.sed
77940 +rm -f conf$$subs.sed
77941 +cat >>$CONFIG_STATUS <<_ACEOF
77942 +:end
77943 +s/|#_!!_#|//g
77944 +CEOF$ac_eof
77945 _ACEOF
77946 +
77947 +
77948 +# VPATH may cause trouble with some makes, so we remove $(srcdir),
77949 +# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
77950 +# trailing colons and then remove the whole line if VPATH becomes empty
77951 +# (actually we leave an empty line to preserve line numbers).
77952 +if test "x$srcdir" = x.; then
77953 + ac_vpsub='/^[ ]*VPATH[ ]*=/{
77954 +s/:*\$(srcdir):*/:/
77955 +s/:*\${srcdir}:*/:/
77956 +s/:*@srcdir@:*/:/
77957 +s/^\([^=]*=[ ]*\):*/\1/
77958 +s/:*$//
77959 +s/^[^=]*=[ ]*$//
77960 +}'
77961 +fi
77962 +
77963 cat >>$CONFIG_STATUS <<\_ACEOF
77964 -for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
77965 - # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
77966 - case $ac_file in
77967 - - | *:- | *:-:* ) # input from stdin
77968 - cat >$tmp/stdin
77969 - ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
77970 - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
77971 - *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
77972 - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
77973 - * ) ac_file_in=$ac_file.in ;;
77974 +fi # test -n "$CONFIG_FILES"
77975 +
77976 +
77977 +for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
77978 +do
77979 + case $ac_tag in
77980 + :[FHLC]) ac_mode=$ac_tag; continue;;
77981 + esac
77982 + case $ac_mode$ac_tag in
77983 + :[FHL]*:*);;
77984 + :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
77985 +echo "$as_me: error: Invalid tag $ac_tag." >&2;}
77986 + { (exit 1); exit 1; }; };;
77987 + :[FH]-) ac_tag=-:-;;
77988 + :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
77989 + esac
77990 + ac_save_IFS=$IFS
77991 + IFS=:
77992 + set x $ac_tag
77993 + IFS=$ac_save_IFS
77994 + shift
77995 + ac_file=$1
77996 + shift
77997 +
77998 + case $ac_mode in
77999 + :L) ac_source=$1;;
78000 + :[FH])
78001 + ac_file_inputs=
78002 + for ac_f
78003 + do
78004 + case $ac_f in
78005 + -) ac_f="$tmp/stdin";;
78006 + *) # Look for the file first in the build tree, then in the source tree
78007 + # (if the path is not absolute). The absolute path cannot be DOS-style,
78008 + # because $ac_f cannot contain `:'.
78009 + test -f "$ac_f" ||
78010 + case $ac_f in
78011 + [\\/$]*) false;;
78012 + *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
78013 + esac ||
78014 + { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
78015 +echo "$as_me: error: cannot find input file: $ac_f" >&2;}
78016 + { (exit 1); exit 1; }; };;
78017 + esac
78018 + ac_file_inputs="$ac_file_inputs $ac_f"
78019 + done
78020 +
78021 + # Let's still pretend it is `configure' which instantiates (i.e., don't
78022 + # use $as_me), people would be surprised to read:
78023 + # /* config.h. Generated by config.status. */
78024 + configure_input="Generated from "`IFS=:
78025 + echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
78026 + if test x"$ac_file" != x-; then
78027 + configure_input="$ac_file. $configure_input"
78028 + { echo "$as_me:$LINENO: creating $ac_file" >&5
78029 +echo "$as_me: creating $ac_file" >&6;}
78030 + fi
78031 +
78032 + case $ac_tag in
78033 + *:-:* | *:-) cat >"$tmp/stdin";;
78034 + esac
78035 + ;;
78036 esac
78037
78038 - # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
78039 - ac_dir=`(dirname "$ac_file") 2>/dev/null ||
78040 + ac_dir=`$as_dirname -- "$ac_file" ||
78041 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
78042 X"$ac_file" : 'X\(//\)[^/]' \| \
78043 X"$ac_file" : 'X\(//\)$' \| \
78044 - X"$ac_file" : 'X\(/\)' \| \
78045 - . : '\(.\)' 2>/dev/null ||
78046 + X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
78047 echo X"$ac_file" |
78048 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
78049 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
78050 - /^X\(\/\/\)$/{ s//\1/; q; }
78051 - /^X\(\/\).*/{ s//\1/; q; }
78052 - s/.*/./; q'`
78053 - { if $as_mkdir_p; then
78054 - mkdir -p "$ac_dir"
78055 - else
78056 - as_dir="$ac_dir"
78057 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
78058 + s//\1/
78059 + q
78060 + }
78061 + /^X\(\/\/\)[^/].*/{
78062 + s//\1/
78063 + q
78064 + }
78065 + /^X\(\/\/\)$/{
78066 + s//\1/
78067 + q
78068 + }
78069 + /^X\(\/\).*/{
78070 + s//\1/
78071 + q
78072 + }
78073 + s/.*/./; q'`
78074 + { as_dir="$ac_dir"
78075 + case $as_dir in #(
78076 + -*) as_dir=./$as_dir;;
78077 + esac
78078 + test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
78079 as_dirs=
78080 - while test ! -d "$as_dir"; do
78081 - as_dirs="$as_dir $as_dirs"
78082 - as_dir=`(dirname "$as_dir") 2>/dev/null ||
78083 + while :; do
78084 + case $as_dir in #(
78085 + *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
78086 + *) as_qdir=$as_dir;;
78087 + esac
78088 + as_dirs="'$as_qdir' $as_dirs"
78089 + as_dir=`$as_dirname -- "$as_dir" ||
78090 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
78091 X"$as_dir" : 'X\(//\)[^/]' \| \
78092 X"$as_dir" : 'X\(//\)$' \| \
78093 - X"$as_dir" : 'X\(/\)' \| \
78094 - . : '\(.\)' 2>/dev/null ||
78095 + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
78096 echo X"$as_dir" |
78097 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
78098 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
78099 - /^X\(\/\/\)$/{ s//\1/; q; }
78100 - /^X\(\/\).*/{ s//\1/; q; }
78101 - s/.*/./; q'`
78102 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
78103 + s//\1/
78104 + q
78105 + }
78106 + /^X\(\/\/\)[^/].*/{
78107 + s//\1/
78108 + q
78109 + }
78110 + /^X\(\/\/\)$/{
78111 + s//\1/
78112 + q
78113 + }
78114 + /^X\(\/\).*/{
78115 + s//\1/
78116 + q
78117 + }
78118 + s/.*/./; q'`
78119 + test -d "$as_dir" && break
78120 done
78121 - test ! -n "$as_dirs" || mkdir $as_dirs
78122 - fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
78123 -echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
78124 + test -z "$as_dirs" || eval "mkdir $as_dirs"
78125 + } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
78126 +echo "$as_me: error: cannot create directory $as_dir" >&2;}
78127 { (exit 1); exit 1; }; }; }
78128 -
78129 ac_builddir=.
78130
78131 -if test "$ac_dir" != .; then
78132 +case "$ac_dir" in
78133 +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
78134 +*)
78135 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
78136 - # A "../" for each directory in $ac_dir_suffix.
78137 - ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
78138 -else
78139 - ac_dir_suffix= ac_top_builddir=
78140 -fi
78141 + # A ".." for each directory in $ac_dir_suffix.
78142 + ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
78143 + case $ac_top_builddir_sub in
78144 + "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
78145 + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
78146 + esac ;;
78147 +esac
78148 +ac_abs_top_builddir=$ac_pwd
78149 +ac_abs_builddir=$ac_pwd$ac_dir_suffix
78150 +# for backward compatibility:
78151 +ac_top_builddir=$ac_top_build_prefix
78152
78153 case $srcdir in
78154 - .) # No --srcdir option. We are building in place.
78155 + .) # We are building in place.
78156 ac_srcdir=.
78157 - if test -z "$ac_top_builddir"; then
78158 - ac_top_srcdir=.
78159 - else
78160 - ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
78161 - fi ;;
78162 - [\\/]* | ?:[\\/]* ) # Absolute path.
78163 + ac_top_srcdir=$ac_top_builddir_sub
78164 + ac_abs_top_srcdir=$ac_pwd ;;
78165 + [\\/]* | ?:[\\/]* ) # Absolute name.
78166 ac_srcdir=$srcdir$ac_dir_suffix;
78167 - ac_top_srcdir=$srcdir ;;
78168 - *) # Relative path.
78169 - ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
78170 - ac_top_srcdir=$ac_top_builddir$srcdir ;;
78171 -esac
78172 + ac_top_srcdir=$srcdir
78173 + ac_abs_top_srcdir=$srcdir ;;
78174 + *) # Relative name.
78175 + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
78176 + ac_top_srcdir=$ac_top_build_prefix$srcdir
78177 + ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
78178 +esac
78179 +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
78180
78181 -# Do not use `cd foo && pwd` to compute absolute paths, because
78182 -# the directories may not exist.
78183 -case `pwd` in
78184 -.) ac_abs_builddir="$ac_dir";;
78185 -*)
78186 - case "$ac_dir" in
78187 - .) ac_abs_builddir=`pwd`;;
78188 - [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
78189 - *) ac_abs_builddir=`pwd`/"$ac_dir";;
78190 - esac;;
78191 -esac
78192 -case $ac_abs_builddir in
78193 -.) ac_abs_top_builddir=${ac_top_builddir}.;;
78194 -*)
78195 - case ${ac_top_builddir}. in
78196 - .) ac_abs_top_builddir=$ac_abs_builddir;;
78197 - [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
78198 - *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
78199 - esac;;
78200 -esac
78201 -case $ac_abs_builddir in
78202 -.) ac_abs_srcdir=$ac_srcdir;;
78203 -*)
78204 - case $ac_srcdir in
78205 - .) ac_abs_srcdir=$ac_abs_builddir;;
78206 - [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
78207 - *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
78208 - esac;;
78209 -esac
78210 -case $ac_abs_builddir in
78211 -.) ac_abs_top_srcdir=$ac_top_srcdir;;
78212 -*)
78213 - case $ac_top_srcdir in
78214 - .) ac_abs_top_srcdir=$ac_abs_builddir;;
78215 - [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
78216 - *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
78217 - esac;;
78218 -esac
78219
78220 + case $ac_mode in
78221 + :F)
78222 + #
78223 + # CONFIG_FILE
78224 + #
78225
78226 case $INSTALL in
78227 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
78228 - *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
78229 + *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
78230 esac
78231 +_ACEOF
78232
78233 - if test x"$ac_file" != x-; then
78234 - { echo "$as_me:$LINENO: creating $ac_file" >&5
78235 -echo "$as_me: creating $ac_file" >&6;}
78236 - rm -f "$ac_file"
78237 - fi
78238 - # Let's still pretend it is `configure' which instantiates (i.e., don't
78239 - # use $as_me), people would be surprised to read:
78240 - # /* config.h. Generated by config.status. */
78241 - if test x"$ac_file" = x-; then
78242 - configure_input=
78243 - else
78244 - configure_input="$ac_file. "
78245 - fi
78246 - configure_input=$configure_input"Generated from `echo $ac_file_in |
78247 - sed 's,.*/,,'` by configure."
78248 -
78249 - # First look for the input files in the build tree, otherwise in the
78250 - # src tree.
78251 - ac_file_inputs=`IFS=:
78252 - for f in $ac_file_in; do
78253 - case $f in
78254 - -) echo $tmp/stdin ;;
78255 - [\\/$]*)
78256 - # Absolute (can't be DOS-style, as IFS=:)
78257 - test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
78258 -echo "$as_me: error: cannot find input file: $f" >&2;}
78259 - { (exit 1); exit 1; }; }
78260 - echo "$f";;
78261 - *) # Relative
78262 - if test -f "$f"; then
78263 - # Build tree
78264 - echo "$f"
78265 - elif test -f "$srcdir/$f"; then
78266 - # Source tree
78267 - echo "$srcdir/$f"
78268 - else
78269 - # /dev/null tree
78270 - { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
78271 -echo "$as_me: error: cannot find input file: $f" >&2;}
78272 - { (exit 1); exit 1; }; }
78273 - fi;;
78274 - esac
78275 - done` || { (exit 1); exit 1; }
78276 +cat >>$CONFIG_STATUS <<\_ACEOF
78277 +# If the template does not know about datarootdir, expand it.
78278 +# FIXME: This hack should be removed a few years after 2.60.
78279 +ac_datarootdir_hack=; ac_datarootdir_seen=
78280 +
78281 +case `sed -n '/datarootdir/ {
78282 + p
78283 + q
78284 +}
78285 +/@datadir@/p
78286 +/@docdir@/p
78287 +/@infodir@/p
78288 +/@localedir@/p
78289 +/@mandir@/p
78290 +' $ac_file_inputs` in
78291 +*datarootdir*) ac_datarootdir_seen=yes;;
78292 +*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
78293 + { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
78294 +echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
78295 _ACEOF
78296 cat >>$CONFIG_STATUS <<_ACEOF
78297 + ac_datarootdir_hack='
78298 + s&@datadir@&$datadir&g
78299 + s&@docdir@&$docdir&g
78300 + s&@infodir@&$infodir&g
78301 + s&@localedir@&$localedir&g
78302 + s&@mandir@&$mandir&g
78303 + s&\\\${datarootdir}&$datarootdir&g' ;;
78304 +esac
78305 +_ACEOF
78306 +
78307 +# Neutralize VPATH when `$srcdir' = `.'.
78308 +# Shell code in configure.ac might set extrasub.
78309 +# FIXME: do we really want to maintain this feature?
78310 +cat >>$CONFIG_STATUS <<_ACEOF
78311 sed "$ac_vpsub
78312 $extrasub
78313 _ACEOF
78314 cat >>$CONFIG_STATUS <<\_ACEOF
78315 :t
78316 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
78317 -s,@configure_input@,$configure_input,;t t
78318 -s,@srcdir@,$ac_srcdir,;t t
78319 -s,@abs_srcdir@,$ac_abs_srcdir,;t t
78320 -s,@top_srcdir@,$ac_top_srcdir,;t t
78321 -s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
78322 -s,@builddir@,$ac_builddir,;t t
78323 -s,@abs_builddir@,$ac_abs_builddir,;t t
78324 -s,@top_builddir@,$ac_top_builddir,;t t
78325 -s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
78326 -s,@INSTALL@,$ac_INSTALL,;t t
78327 -" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
78328 - rm -f $tmp/stdin
78329 - if test x"$ac_file" != x-; then
78330 - mv $tmp/out $ac_file
78331 - else
78332 - cat $tmp/out
78333 - rm -f $tmp/out
78334 - fi
78335 -
78336 -done
78337 -_ACEOF
78338 -cat >>$CONFIG_STATUS <<\_ACEOF
78339 -
78340 -#
78341 -# CONFIG_HEADER section.
78342 -#
78343 -
78344 -# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
78345 -# NAME is the cpp macro being defined and VALUE is the value it is being given.
78346 -#
78347 -# ac_d sets the value in "#define NAME VALUE" lines.
78348 -ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
78349 -ac_dB='[ ].*$,\1#\2'
78350 -ac_dC=' '
78351 -ac_dD=',;t'
78352 -# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
78353 -ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
78354 -ac_uB='$,\1#\2define\3'
78355 -ac_uC=' '
78356 -ac_uD=',;t'
78357 +s&@configure_input@&$configure_input&;t t
78358 +s&@top_builddir@&$ac_top_builddir_sub&;t t
78359 +s&@srcdir@&$ac_srcdir&;t t
78360 +s&@abs_srcdir@&$ac_abs_srcdir&;t t
78361 +s&@top_srcdir@&$ac_top_srcdir&;t t
78362 +s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
78363 +s&@builddir@&$ac_builddir&;t t
78364 +s&@abs_builddir@&$ac_abs_builddir&;t t
78365 +s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
78366 +s&@INSTALL@&$ac_INSTALL&;t t
78367 +$ac_datarootdir_hack
78368 +" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
78369 +
78370 +test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
78371 + { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
78372 + { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
78373 + { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
78374 +which seems to be undefined. Please make sure it is defined." >&5
78375 +echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
78376 +which seems to be undefined. Please make sure it is defined." >&2;}
78377
78378 -for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
78379 - # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
78380 + rm -f "$tmp/stdin"
78381 case $ac_file in
78382 - - | *:- | *:-:* ) # input from stdin
78383 - cat >$tmp/stdin
78384 - ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
78385 - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
78386 - *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
78387 - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
78388 - * ) ac_file_in=$ac_file.in ;;
78389 + -) cat "$tmp/out"; rm -f "$tmp/out";;
78390 + *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
78391 esac
78392 + ;;
78393 + :H)
78394 + #
78395 + # CONFIG_HEADER
78396 + #
78397 +_ACEOF
78398 +
78399 +# Transform confdefs.h into a sed script `conftest.defines', that
78400 +# substitutes the proper values into config.h.in to produce config.h.
78401 +rm -f conftest.defines conftest.tail
78402 +# First, append a space to every undef/define line, to ease matching.
78403 +echo 's/$/ /' >conftest.defines
78404 +# Then, protect against being on the right side of a sed subst, or in
78405 +# an unquoted here document, in config.status. If some macros were
78406 +# called several times there might be several #defines for the same
78407 +# symbol, which is useless. But do not sort them, since the last
78408 +# AC_DEFINE must be honored.
78409 +ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
78410 +# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
78411 +# NAME is the cpp macro being defined, VALUE is the value it is being given.
78412 +# PARAMS is the parameter list in the macro definition--in most cases, it's
78413 +# just an empty string.
78414 +ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
78415 +ac_dB='\\)[ (].*,\\1define\\2'
78416 +ac_dC=' '
78417 +ac_dD=' ,'
78418
78419 - test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
78420 -echo "$as_me: creating $ac_file" >&6;}
78421 -
78422 - # First look for the input files in the build tree, otherwise in the
78423 - # src tree.
78424 - ac_file_inputs=`IFS=:
78425 - for f in $ac_file_in; do
78426 - case $f in
78427 - -) echo $tmp/stdin ;;
78428 - [\\/$]*)
78429 - # Absolute (can't be DOS-style, as IFS=:)
78430 - test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
78431 -echo "$as_me: error: cannot find input file: $f" >&2;}
78432 - { (exit 1); exit 1; }; }
78433 - # Do quote $f, to prevent DOS paths from being IFS'd.
78434 - echo "$f";;
78435 - *) # Relative
78436 - if test -f "$f"; then
78437 - # Build tree
78438 - echo "$f"
78439 - elif test -f "$srcdir/$f"; then
78440 - # Source tree
78441 - echo "$srcdir/$f"
78442 - else
78443 - # /dev/null tree
78444 - { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
78445 -echo "$as_me: error: cannot find input file: $f" >&2;}
78446 - { (exit 1); exit 1; }; }
78447 - fi;;
78448 - esac
78449 - done` || { (exit 1); exit 1; }
78450 - # Remove the trailing spaces.
78451 - sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
78452 -
78453 -_ACEOF
78454 -
78455 -# Transform confdefs.h into two sed scripts, `conftest.defines' and
78456 -# `conftest.undefs', that substitutes the proper values into
78457 -# config.h.in to produce config.h. The first handles `#define'
78458 -# templates, and the second `#undef' templates.
78459 -# And first: Protect against being on the right side of a sed subst in
78460 -# config.status. Protect against being in an unquoted here document
78461 -# in config.status.
78462 -rm -f conftest.defines conftest.undefs
78463 -# Using a here document instead of a string reduces the quoting nightmare.
78464 -# Putting comments in sed scripts is not portable.
78465 -#
78466 -# `end' is used to avoid that the second main sed command (meant for
78467 -# 0-ary CPP macros) applies to n-ary macro definitions.
78468 -# See the Autoconf documentation for `clear'.
78469 -cat >confdef2sed.sed <<\_ACEOF
78470 -s/[\\&,]/\\&/g
78471 -s,[\\$`],\\&,g
78472 -t clear
78473 -: clear
78474 -s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
78475 -t end
78476 -s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
78477 -: end
78478 -_ACEOF
78479 -# If some macros were called several times there might be several times
78480 -# the same #defines, which is useless. Nevertheless, we may not want to
78481 -# sort them, since we want the *last* AC-DEFINE to be honored.
78482 -uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
78483 -sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
78484 -rm -f confdef2sed.sed
78485 +uniq confdefs.h |
78486 + sed -n '
78487 + t rset
78488 + :rset
78489 + s/^[ ]*#[ ]*define[ ][ ]*//
78490 + t ok
78491 + d
78492 + :ok
78493 + s/[\\&,]/\\&/g
78494 + s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
78495 + s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
78496 + ' >>conftest.defines
78497
78498 -# This sed command replaces #undef with comments. This is necessary, for
78499 +# Remove the space that was appended to ease matching.
78500 +# Then replace #undef with comments. This is necessary, for
78501 # example, in the case of _POSIX_SOURCE, which is predefined and required
78502 # on some systems where configure will not decide to define it.
78503 -cat >>conftest.undefs <<\_ACEOF
78504 -s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
78505 +# (The regexp can be short, since the line contains either #define or #undef.)
78506 +echo 's/ $//
78507 +s,^[ #]*u.*,/* & */,' >>conftest.defines
78508 +
78509 +# Break up conftest.defines:
78510 +ac_max_sed_lines=50
78511 +
78512 +# First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
78513 +# Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
78514 +# Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
78515 +# et cetera.
78516 +ac_in='$ac_file_inputs'
78517 +ac_out='"$tmp/out1"'
78518 +ac_nxt='"$tmp/out2"'
78519 +
78520 +while :
78521 +do
78522 + # Write a here document:
78523 + cat >>$CONFIG_STATUS <<_ACEOF
78524 + # First, check the format of the line:
78525 + cat >"\$tmp/defines.sed" <<\\CEOF
78526 +/^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
78527 +/^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
78528 +b
78529 +:def
78530 _ACEOF
78531 -
78532 -# Break up conftest.defines because some shells have a limit on the size
78533 -# of here documents, and old seds have small limits too (100 cmds).
78534 -echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
78535 -echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
78536 -echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
78537 -echo ' :' >>$CONFIG_STATUS
78538 -rm -f conftest.tail
78539 -while grep . conftest.defines >/dev/null
78540 -do
78541 - # Write a limited-size here document to $tmp/defines.sed.
78542 - echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
78543 - # Speed up: don't consider the non `#define' lines.
78544 - echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
78545 - # Work around the forget-to-reset-the-flag bug.
78546 - echo 't clr' >>$CONFIG_STATUS
78547 - echo ': clr' >>$CONFIG_STATUS
78548 - sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
78549 + sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
78550 echo 'CEOF
78551 - sed -f $tmp/defines.sed $tmp/in >$tmp/out
78552 - rm -f $tmp/in
78553 - mv $tmp/out $tmp/in
78554 -' >>$CONFIG_STATUS
78555 - sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
78556 + sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
78557 + ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
78558 + sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
78559 + grep . conftest.tail >/dev/null || break
78560 rm -f conftest.defines
78561 mv conftest.tail conftest.defines
78562 done
78563 -rm -f conftest.defines
78564 -echo ' fi # grep' >>$CONFIG_STATUS
78565 -echo >>$CONFIG_STATUS
78566 -
78567 -# Break up conftest.undefs because some shells have a limit on the size
78568 -# of here documents, and old seds have small limits too (100 cmds).
78569 -echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
78570 -rm -f conftest.tail
78571 -while grep . conftest.undefs >/dev/null
78572 -do
78573 - # Write a limited-size here document to $tmp/undefs.sed.
78574 - echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
78575 - # Speed up: don't consider the non `#undef'
78576 - echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
78577 - # Work around the forget-to-reset-the-flag bug.
78578 - echo 't clr' >>$CONFIG_STATUS
78579 - echo ': clr' >>$CONFIG_STATUS
78580 - sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
78581 - echo 'CEOF
78582 - sed -f $tmp/undefs.sed $tmp/in >$tmp/out
78583 - rm -f $tmp/in
78584 - mv $tmp/out $tmp/in
78585 -' >>$CONFIG_STATUS
78586 - sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
78587 - rm -f conftest.undefs
78588 - mv conftest.tail conftest.undefs
78589 -done
78590 -rm -f conftest.undefs
78591 +rm -f conftest.defines conftest.tail
78592
78593 +echo "ac_result=$ac_in" >>$CONFIG_STATUS
78594 cat >>$CONFIG_STATUS <<\_ACEOF
78595 - # Let's still pretend it is `configure' which instantiates (i.e., don't
78596 - # use $as_me), people would be surprised to read:
78597 - # /* config.h. Generated by config.status. */
78598 - if test x"$ac_file" = x-; then
78599 - echo "/* Generated by configure. */" >$tmp/config.h
78600 - else
78601 - echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
78602 - fi
78603 - cat $tmp/in >>$tmp/config.h
78604 - rm -f $tmp/in
78605 if test x"$ac_file" != x-; then
78606 - if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
78607 + echo "/* $configure_input */" >"$tmp/config.h"
78608 + cat "$ac_result" >>"$tmp/config.h"
78609 + if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
78610 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
78611 echo "$as_me: $ac_file is unchanged" >&6;}
78612 else
78613 - ac_dir=`(dirname "$ac_file") 2>/dev/null ||
78614 -$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
78615 - X"$ac_file" : 'X\(//\)[^/]' \| \
78616 - X"$ac_file" : 'X\(//\)$' \| \
78617 - X"$ac_file" : 'X\(/\)' \| \
78618 - . : '\(.\)' 2>/dev/null ||
78619 -echo X"$ac_file" |
78620 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
78621 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
78622 - /^X\(\/\/\)$/{ s//\1/; q; }
78623 - /^X\(\/\).*/{ s//\1/; q; }
78624 - s/.*/./; q'`
78625 - { if $as_mkdir_p; then
78626 - mkdir -p "$ac_dir"
78627 - else
78628 - as_dir="$ac_dir"
78629 - as_dirs=
78630 - while test ! -d "$as_dir"; do
78631 - as_dirs="$as_dir $as_dirs"
78632 - as_dir=`(dirname "$as_dir") 2>/dev/null ||
78633 -$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
78634 - X"$as_dir" : 'X\(//\)[^/]' \| \
78635 - X"$as_dir" : 'X\(//\)$' \| \
78636 - X"$as_dir" : 'X\(/\)' \| \
78637 - . : '\(.\)' 2>/dev/null ||
78638 -echo X"$as_dir" |
78639 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
78640 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
78641 - /^X\(\/\/\)$/{ s//\1/; q; }
78642 - /^X\(\/\).*/{ s//\1/; q; }
78643 - s/.*/./; q'`
78644 - done
78645 - test ! -n "$as_dirs" || mkdir $as_dirs
78646 - fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
78647 -echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
78648 - { (exit 1); exit 1; }; }; }
78649 -
78650 rm -f $ac_file
78651 - mv $tmp/config.h $ac_file
78652 + mv "$tmp/config.h" $ac_file
78653 fi
78654 else
78655 - cat $tmp/config.h
78656 - rm -f $tmp/config.h
78657 + echo "/* $configure_input */"
78658 + cat "$ac_result"
78659 fi
78660 + rm -f "$tmp/out12"
78661 # Compute $ac_file's index in $config_headers.
78662 _am_stamp_count=1
78663 for _am_header in $config_headers :; do
78664 @@ -11025,135 +11417,39 @@
78665 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
78666 esac
78667 done
78668 -echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
78669 +echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
78670 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
78671 X$ac_file : 'X\(//\)[^/]' \| \
78672 X$ac_file : 'X\(//\)$' \| \
78673 - X$ac_file : 'X\(/\)' \| \
78674 - . : '\(.\)' 2>/dev/null ||
78675 + X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
78676 echo X$ac_file |
78677 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
78678 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
78679 - /^X\(\/\/\)$/{ s//\1/; q; }
78680 - /^X\(\/\).*/{ s//\1/; q; }
78681 - s/.*/./; q'`/stamp-h$_am_stamp_count
78682 -done
78683 -_ACEOF
78684 -cat >>$CONFIG_STATUS <<\_ACEOF
78685 -
78686 -#
78687 -# CONFIG_COMMANDS section.
78688 -#
78689 -for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
78690 - ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
78691 - ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
78692 - ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
78693 -$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
78694 - X"$ac_dest" : 'X\(//\)[^/]' \| \
78695 - X"$ac_dest" : 'X\(//\)$' \| \
78696 - X"$ac_dest" : 'X\(/\)' \| \
78697 - . : '\(.\)' 2>/dev/null ||
78698 -echo X"$ac_dest" |
78699 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
78700 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
78701 - /^X\(\/\/\)$/{ s//\1/; q; }
78702 - /^X\(\/\).*/{ s//\1/; q; }
78703 - s/.*/./; q'`
78704 - { if $as_mkdir_p; then
78705 - mkdir -p "$ac_dir"
78706 - else
78707 - as_dir="$ac_dir"
78708 - as_dirs=
78709 - while test ! -d "$as_dir"; do
78710 - as_dirs="$as_dir $as_dirs"
78711 - as_dir=`(dirname "$as_dir") 2>/dev/null ||
78712 -$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
78713 - X"$as_dir" : 'X\(//\)[^/]' \| \
78714 - X"$as_dir" : 'X\(//\)$' \| \
78715 - X"$as_dir" : 'X\(/\)' \| \
78716 - . : '\(.\)' 2>/dev/null ||
78717 -echo X"$as_dir" |
78718 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
78719 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
78720 - /^X\(\/\/\)$/{ s//\1/; q; }
78721 - /^X\(\/\).*/{ s//\1/; q; }
78722 - s/.*/./; q'`
78723 - done
78724 - test ! -n "$as_dirs" || mkdir $as_dirs
78725 - fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
78726 -echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
78727 - { (exit 1); exit 1; }; }; }
78728 -
78729 - ac_builddir=.
78730 -
78731 -if test "$ac_dir" != .; then
78732 - ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
78733 - # A "../" for each directory in $ac_dir_suffix.
78734 - ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
78735 -else
78736 - ac_dir_suffix= ac_top_builddir=
78737 -fi
78738 -
78739 -case $srcdir in
78740 - .) # No --srcdir option. We are building in place.
78741 - ac_srcdir=.
78742 - if test -z "$ac_top_builddir"; then
78743 - ac_top_srcdir=.
78744 - else
78745 - ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
78746 - fi ;;
78747 - [\\/]* | ?:[\\/]* ) # Absolute path.
78748 - ac_srcdir=$srcdir$ac_dir_suffix;
78749 - ac_top_srcdir=$srcdir ;;
78750 - *) # Relative path.
78751 - ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
78752 - ac_top_srcdir=$ac_top_builddir$srcdir ;;
78753 -esac
78754 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
78755 + s//\1/
78756 + q
78757 + }
78758 + /^X\(\/\/\)[^/].*/{
78759 + s//\1/
78760 + q
78761 + }
78762 + /^X\(\/\/\)$/{
78763 + s//\1/
78764 + q
78765 + }
78766 + /^X\(\/\).*/{
78767 + s//\1/
78768 + q
78769 + }
78770 + s/.*/./; q'`/stamp-h$_am_stamp_count
78771 + ;;
78772
78773 -# Do not use `cd foo && pwd` to compute absolute paths, because
78774 -# the directories may not exist.
78775 -case `pwd` in
78776 -.) ac_abs_builddir="$ac_dir";;
78777 -*)
78778 - case "$ac_dir" in
78779 - .) ac_abs_builddir=`pwd`;;
78780 - [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
78781 - *) ac_abs_builddir=`pwd`/"$ac_dir";;
78782 - esac;;
78783 -esac
78784 -case $ac_abs_builddir in
78785 -.) ac_abs_top_builddir=${ac_top_builddir}.;;
78786 -*)
78787 - case ${ac_top_builddir}. in
78788 - .) ac_abs_top_builddir=$ac_abs_builddir;;
78789 - [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
78790 - *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
78791 - esac;;
78792 -esac
78793 -case $ac_abs_builddir in
78794 -.) ac_abs_srcdir=$ac_srcdir;;
78795 -*)
78796 - case $ac_srcdir in
78797 - .) ac_abs_srcdir=$ac_abs_builddir;;
78798 - [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
78799 - *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
78800 - esac;;
78801 -esac
78802 -case $ac_abs_builddir in
78803 -.) ac_abs_top_srcdir=$ac_top_srcdir;;
78804 -*)
78805 - case $ac_top_srcdir in
78806 - .) ac_abs_top_srcdir=$ac_abs_builddir;;
78807 - [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
78808 - *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
78809 - esac;;
78810 -esac
78811 + :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
78812 +echo "$as_me: executing $ac_file commands" >&6;}
78813 + ;;
78814 + esac
78815
78816
78817 - { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
78818 -echo "$as_me: executing $ac_dest commands" >&6;}
78819 - case $ac_dest in
78820 - depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
78821 + case $ac_file$ac_mode in
78822 + "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
78823 # Strip MF so we end up with the name of the file.
78824 mf=`echo "$mf" | sed -e 's/:.*$//'`
78825 # Check whether this is an Automake generated Makefile or not.
78826 @@ -11163,18 +11459,29 @@
78827 # each Makefile.in and add a new line on top of each file to say so.
78828 # So let's grep whole file.
78829 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
78830 - dirpart=`(dirname "$mf") 2>/dev/null ||
78831 + dirpart=`$as_dirname -- "$mf" ||
78832 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
78833 X"$mf" : 'X\(//\)[^/]' \| \
78834 X"$mf" : 'X\(//\)$' \| \
78835 - X"$mf" : 'X\(/\)' \| \
78836 - . : '\(.\)' 2>/dev/null ||
78837 + X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
78838 echo X"$mf" |
78839 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
78840 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
78841 - /^X\(\/\/\)$/{ s//\1/; q; }
78842 - /^X\(\/\).*/{ s//\1/; q; }
78843 - s/.*/./; q'`
78844 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
78845 + s//\1/
78846 + q
78847 + }
78848 + /^X\(\/\/\)[^/].*/{
78849 + s//\1/
78850 + q
78851 + }
78852 + /^X\(\/\/\)$/{
78853 + s//\1/
78854 + q
78855 + }
78856 + /^X\(\/\).*/{
78857 + s//\1/
78858 + q
78859 + }
78860 + s/.*/./; q'`
78861 else
78862 continue
78863 fi
78864 @@ -11196,54 +11503,80 @@
78865 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
78866 # Make sure the directory exists.
78867 test -f "$dirpart/$file" && continue
78868 - fdir=`(dirname "$file") 2>/dev/null ||
78869 + fdir=`$as_dirname -- "$file" ||
78870 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
78871 X"$file" : 'X\(//\)[^/]' \| \
78872 X"$file" : 'X\(//\)$' \| \
78873 - X"$file" : 'X\(/\)' \| \
78874 - . : '\(.\)' 2>/dev/null ||
78875 + X"$file" : 'X\(/\)' \| . 2>/dev/null ||
78876 echo X"$file" |
78877 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
78878 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
78879 - /^X\(\/\/\)$/{ s//\1/; q; }
78880 - /^X\(\/\).*/{ s//\1/; q; }
78881 - s/.*/./; q'`
78882 - { if $as_mkdir_p; then
78883 - mkdir -p $dirpart/$fdir
78884 - else
78885 - as_dir=$dirpart/$fdir
78886 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
78887 + s//\1/
78888 + q
78889 + }
78890 + /^X\(\/\/\)[^/].*/{
78891 + s//\1/
78892 + q
78893 + }
78894 + /^X\(\/\/\)$/{
78895 + s//\1/
78896 + q
78897 + }
78898 + /^X\(\/\).*/{
78899 + s//\1/
78900 + q
78901 + }
78902 + s/.*/./; q'`
78903 + { as_dir=$dirpart/$fdir
78904 + case $as_dir in #(
78905 + -*) as_dir=./$as_dir;;
78906 + esac
78907 + test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
78908 as_dirs=
78909 - while test ! -d "$as_dir"; do
78910 - as_dirs="$as_dir $as_dirs"
78911 - as_dir=`(dirname "$as_dir") 2>/dev/null ||
78912 + while :; do
78913 + case $as_dir in #(
78914 + *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
78915 + *) as_qdir=$as_dir;;
78916 + esac
78917 + as_dirs="'$as_qdir' $as_dirs"
78918 + as_dir=`$as_dirname -- "$as_dir" ||
78919 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
78920 X"$as_dir" : 'X\(//\)[^/]' \| \
78921 X"$as_dir" : 'X\(//\)$' \| \
78922 - X"$as_dir" : 'X\(/\)' \| \
78923 - . : '\(.\)' 2>/dev/null ||
78924 + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
78925 echo X"$as_dir" |
78926 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
78927 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
78928 - /^X\(\/\/\)$/{ s//\1/; q; }
78929 - /^X\(\/\).*/{ s//\1/; q; }
78930 - s/.*/./; q'`
78931 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
78932 + s//\1/
78933 + q
78934 + }
78935 + /^X\(\/\/\)[^/].*/{
78936 + s//\1/
78937 + q
78938 + }
78939 + /^X\(\/\/\)$/{
78940 + s//\1/
78941 + q
78942 + }
78943 + /^X\(\/\).*/{
78944 + s//\1/
78945 + q
78946 + }
78947 + s/.*/./; q'`
78948 + test -d "$as_dir" && break
78949 done
78950 - test ! -n "$as_dirs" || mkdir $as_dirs
78951 - fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
78952 -echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
78953 + test -z "$as_dirs" || eval "mkdir $as_dirs"
78954 + } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
78955 +echo "$as_me: error: cannot create directory $as_dir" >&2;}
78956 { (exit 1); exit 1; }; }; }
78957 -
78958 # echo "creating $dirpart/$file"
78959 echo '# dummy' > "$dirpart/$file"
78960 done
78961 done
78962 ;;
78963 - default ) sed -e '/POTFILES =/r po/POTFILES' po/Makefile.in > po/Makefile ;;
78964 + "default":C) sed -e '/POTFILES =/r po/POTFILES' po/Makefile.in > po/Makefile ;;
78965 +
78966 esac
78967 -done
78968 -_ACEOF
78969 +done # for ac_tag
78970
78971 -cat >>$CONFIG_STATUS <<\_ACEOF
78972
78973 { (exit 0); exit 0; }
78974 _ACEOF
78975 Index: binutils-2.17/ld/configure.tgt
78976 ===================================================================
78977 --- binutils-2.17.orig/ld/configure.tgt 2007-06-28 09:19:34.623972808 +0200
78978 +++ binutils-2.17/ld/configure.tgt 2007-06-28 09:19:36.665662424 +0200
78979 @@ -81,8 +81,10 @@
78980 xscale-*-elf) targ_emul=armelf
78981 ;;
78982 avr-*-*) targ_emul=avr2
78983 - targ_extra_emuls="avr1 avr3 avr4 avr5"
78984 - ;;
78985 + targ_extra_emuls="avr1 avr3 avr4 avr5" ;;
78986 +avr32-*-none) targ_emul=avr32elf_ap7000
78987 + targ_extra_emuls="avr32elf_uc3a0512" ;;
78988 +avr32-*-linux*) targ_emul=avr32linux ;;
78989 bfin-*-elf) targ_emul=elf32bfin; targ_extra_emuls="elf32bfinfd" ;;
78990 bfin-*-uclinux*) targ_emul=elf32bfin; targ_extra_emuls="elf32bfinfd" ;;
78991 cr16c-*-elf*) targ_emul=elf32cr16c
78992 Index: binutils-2.17/ld/emulparams/avr32elf_ap7000.sh
78993 ===================================================================
78994 --- /dev/null 1970-01-01 00:00:00.000000000 +0000
78995 +++ binutils-2.17/ld/emulparams/avr32elf_ap7000.sh 2007-06-28 09:19:36.665662424 +0200
78996 @@ -0,0 +1,34 @@
78997 +MACHINE=ap
78998 +SCRIPT_NAME=elf_xip
78999 +TEMPLATE_NAME=elf32
79000 +OUTPUT_FORMAT="elf32-avr32"
79001 +ARCH=avr32
79002 +MAXPAGESIZE=4096
79003 +ENTRY=_start
79004 +EMBEDDED=yes
79005 +NO_SMALL_DATA=yes
79006 +NOP=0xd703d703
79007 +
79008 +TEXT_START_ADDR=0xa0000000
79009 +DATA_SEGMENT_ALIGN=8
79010 +BSS_ALIGNMENT=8
79011 +
79012 +INITIAL_READONLY_SECTIONS=".reset : { *(.reset) } >FLASH AT>FLASH
79013 + . = . & 0x1fffffff;"
79014 +
79015 +MEMORY="MEMORY
79016 + {
79017 + FLASH (rxai) : ORIGIN = 0x00000000, LENGTH = 0x4000000
79018 + SRAM (rwxa) : ORIGIN = 0x24000000, LENGTH = 0x8000
79019 + }"
79020 +RO_LMA_REGION="FLASH"
79021 +RO_VMA_REGION="FLASH"
79022 +RW_LMA_REGION="FLASH"
79023 +RW_VMA_REGION="SRAM"
79024 +
79025 +STACK_SIZE=0x1000
79026 +STACK_ADDR="ORIGIN(SRAM) + LENGTH(SRAM) - ${STACK_SIZE}"
79027 +
79028 +DATA_SEGMENT_END="__heap_start__ = ALIGN(8);
79029 + . = ${STACK_ADDR};
79030 + __heap_end__ = .;"
79031 Index: binutils-2.17/ld/emulparams/avr32elf.sh
79032 ===================================================================
79033 --- /dev/null 1970-01-01 00:00:00.000000000 +0000
79034 +++ binutils-2.17/ld/emulparams/avr32elf.sh 2007-06-28 09:19:36.665662424 +0200
79035 @@ -0,0 +1,24 @@
79036 +MACHINE=
79037 +SCRIPT_NAME=elf
79038 +TEMPLATE_NAME=elf32
79039 +OUTPUT_FORMAT="elf32-avr32"
79040 +TEXT_START_ADDR=0xa0000000
79041 +ARCH=avr32
79042 +MAXPAGESIZE=0x4
79043 +ENTRY=_start
79044 +EMBEDDED=yes
79045 +NOP=0xd703d703
79046 +INITIAL_READONLY_SECTIONS=".reset : AT(0x0) { *(.reset) }
79047 + . = . & 0x1fffffff;"
79048 +DATA_START_SYMBOLS="__data_init_start__ = .;
79049 + __data_init_end__ = .;
79050 + __data_start__ = .;"
79051 +
79052 +OTHER_BSS_SYMBOLS='__bss_start__ = .;'
79053 +OTHER_BSS_END_SYMBOLS="_bss_end__ = . ; __bss_end__ = . ; __end__ = . ;
79054 + . = ALIGN(16);
79055 + __heap_start__ = .;
79056 + __heap_end__ = 0x82000000;"
79057 +
79058 +STACK_ADDR=0x82000000
79059 +
79060 Index: binutils-2.17/ld/emulparams/avr32elf_uc3a0512.sh
79061 ===================================================================
79062 --- /dev/null 1970-01-01 00:00:00.000000000 +0000
79063 +++ binutils-2.17/ld/emulparams/avr32elf_uc3a0512.sh 2007-06-28 09:19:36.666662272 +0200
79064 @@ -0,0 +1,34 @@
79065 +MACHINE=uc
79066 +SCRIPT_NAME=elf_xip
79067 +TEMPLATE_NAME=elf32
79068 +OUTPUT_FORMAT="elf32-avr32"
79069 +ARCH=avr32
79070 +MAXPAGESIZE=4096
79071 +ENTRY=_start
79072 +EMBEDDED=yes
79073 +NO_SMALL_DATA=yes
79074 +NOP=0xd703d703
79075 +
79076 +TEXT_START_ADDR=0x80000000
79077 +DATA_SEGMENT_ALIGN=8
79078 +BSS_ALIGNMENT=8
79079 +
79080 +INITIAL_READONLY_SECTIONS=".reset : { *(.reset) } >FLASH AT>FLASH
79081 + . = . & 0x1fffffff;"
79082 +
79083 +MEMORY="MEMORY
79084 + {
79085 + FLASH (rxai) : ORIGIN = 0x80000000, LENGTH = 0x80000
79086 + INTRAM (rwxa) : ORIGIN = 0x00000000, LENGTH = 0x10000
79087 + }"
79088 +RO_LMA_REGION="FLASH"
79089 +RO_VMA_REGION="FLASH"
79090 +RW_LMA_REGION="FLASH"
79091 +RW_VMA_REGION="INTRAM"
79092 +
79093 +STACK_SIZE=0x1000
79094 +STACK_ADDR="ORIGIN(INTRAM) + LENGTH(INTRAM) - ${STACK_SIZE}"
79095 +
79096 +DATA_SEGMENT_END="__heap_start__ = ALIGN(8);
79097 + . = ${STACK_ADDR};
79098 + __heap_end__ = .;"
79099 Index: binutils-2.17/ld/emulparams/avr32linux.sh
79100 ===================================================================
79101 --- /dev/null 1970-01-01 00:00:00.000000000 +0000
79102 +++ binutils-2.17/ld/emulparams/avr32linux.sh 2007-06-28 09:19:36.666662272 +0200
79103 @@ -0,0 +1,13 @@
79104 +ARCH=avr32
79105 +SCRIPT_NAME=elf
79106 +TEMPLATE_NAME=elf32
79107 +OUTPUT_FORMAT="elf32-avr32"
79108 +GENERATE_SHLIB_SCRIPT=yes
79109 +MAXPAGESIZE=0x1000
79110 +TEXT_START_ADDR=0x00001000
79111 +NOP=0xd703d703
79112 +
79113 +# This appears to place the GOT before the data section, which is
79114 +# essential for uClinux. We don't use those .s* sections on AVR32
79115 +# anyway, so it shouldn't hurt for regular Linux either...
79116 +NO_SMALL_DATA=yes
79117 Index: binutils-2.17/ld/Makefile.am
79118 ===================================================================
79119 --- binutils-2.17.orig/ld/Makefile.am 2007-06-28 09:19:35.795794664 +0200
79120 +++ binutils-2.17/ld/Makefile.am 2007-06-28 09:19:36.667662120 +0200
79121 @@ -133,6 +133,9 @@
79122 eavr3.o \
79123 eavr4.o \
79124 eavr5.o \
79125 + eavr32elf_ap7000.o \
79126 + eavr32elf_uc3a0512.o \
79127 + eavr32linux.o \
79128 ecoff_i860.o \
79129 ecoff_sparc.o \
79130 ecrisaout.o \
79131 @@ -595,6 +598,15 @@
79132 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/avr.sc \
79133 ${GEN_DEPENDS}
79134 ${GENSCRIPTS} avr5 "$(tdir_avr2)"
79135 +eavr32elf_ap7000.c: $(srcdir)/emulparams/avr32elf_ap7000.sh \
79136 + $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf_xip.sc ${GEN_DEPENDS}
79137 + ${GENSCRIPTS} avr32elf_ap7000 "$(tdir_avr32)"
79138 +eavr32elf_uc3a0512.c: $(srcdir)/emulparams/avr32elf_uc3a0512.sh \
79139 + $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf_xip.sc ${GEN_DEPENDS}
79140 + ${GENSCRIPTS} avr32elf_uc3a0512 "$(tdir_avr32)"
79141 +eavr32linux.c: $(srcdir)/emulparams/avr32linux.sh \
79142 + $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
79143 + ${GENSCRIPTS} avr32linux "$(tdir_avr32)"
79144 ecoff_i860.c: $(srcdir)/emulparams/coff_i860.sh \
79145 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/i860coff.sc ${GEN_DEPENDS}
79146 ${GENSCRIPTS} coff_i860 "$(tdir_coff_i860)"
79147 @@ -1800,7 +1812,9 @@
79148 || $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) ld-new$(EXEEXT) $(DESTDIR)$(tooldir)/bin/ld$(EXEEXT); \
79149 fi
79150
79151 -install-data-local:
79152 +# We want install to imply install-info as per GNU standards, despite the
79153 +# cygnus option.
79154 +install-data-local: install-info
79155 $(mkinstalldirs) $(DESTDIR)$(scriptdir)/ldscripts
79156 for f in ldscripts/*; do \
79157 $(INSTALL_DATA) $$f $(DESTDIR)$(scriptdir)/$$f ; \
79158 Index: binutils-2.17/ld/Makefile.in
79159 ===================================================================
79160 --- binutils-2.17.orig/ld/Makefile.in 2007-06-28 09:19:35.796794512 +0200
79161 +++ binutils-2.17/ld/Makefile.in 2007-06-28 09:19:36.668661968 +0200
79162 @@ -145,6 +145,7 @@
79163 EXEEXT = @EXEEXT@
79164 GMOFILES = @GMOFILES@
79165 GMSGFMT = @GMSGFMT@
79166 +GREP = @GREP@
79167 GT_NO = @GT_NO@
79168 GT_YES = @GT_YES@
79169 HDEFINES = @HDEFINES@
79170 @@ -213,9 +214,8 @@
79171 WARN_CFLAGS = @WARN_CFLAGS@
79172 XGETTEXT = @XGETTEXT@
79173 YACC = `if [ -f ../bison/bison ]; then echo ../bison/bison -y -L$(srcdir)/../bison/; else echo @YACC@; fi`
79174 +YFLAGS = -d
79175 ac_ct_CC = @ac_ct_CC@
79176 -ac_ct_RANLIB = @ac_ct_RANLIB@
79177 -ac_ct_STRIP = @ac_ct_STRIP@
79178 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
79179 am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
79180 am__include = @am__include@
79181 @@ -232,6 +232,7 @@
79182 datadir = @datadir@
79183 datarootdir = @datarootdir@
79184 docdir = @docdir@
79185 +dvidir = @dvidir@
79186 exec_prefix = @exec_prefix@
79187 host = @host@
79188 host_alias = @host_alias@
79189 @@ -245,12 +246,15 @@
79190 l = @l@
79191 libdir = @libdir@
79192 libexecdir = @libexecdir@
79193 +localedir = @localedir@
79194 localstatedir = @localstatedir@
79195 mandir = @mandir@
79196 mkdir_p = @mkdir_p@
79197 oldincludedir = @oldincludedir@
79198 +pdfdir = @pdfdir@
79199 prefix = @prefix@
79200 program_transform_name = @program_transform_name@
79201 +psdir = @psdir@
79202 sbindir = @sbindir@
79203 sharedstatedir = @sharedstatedir@
79204 sysconfdir = @sysconfdir@
79205 @@ -263,7 +267,6 @@
79206 AUTOMAKE_OPTIONS = cygnus dejagnu
79207 SUBDIRS = po
79208 tooldir = $(exec_prefix)/$(target_alias)
79209 -YFLAGS = -d
79210 AM_CFLAGS = $(WARN_CFLAGS)
79211
79212 # We put the scripts in the directory $(scriptdir)/ldscripts.
79213 @@ -357,6 +360,9 @@
79214 eavr3.o \
79215 eavr4.o \
79216 eavr5.o \
79217 + eavr32elf_ap7000.o \
79218 + eavr32elf_uc3a0512.o \
79219 + eavr32linux.o \
79220 ecoff_i860.o \
79221 ecoff_sparc.o \
79222 ecrisaout.o \
79223 @@ -878,10 +884,13 @@
79224 $(srcdir)/*) base=`echo "$$base" | sed "s|^$$srcdirstrip/||"`;; \
79225 esac; \
79226 if test -f $$base; then d=.; else d=$(srcdir); fi; \
79227 - for file in $$d/$$base*; do \
79228 - relfile=`expr "$$file" : "$$d/\(.*\)"`; \
79229 - test -f $(distdir)/$$relfile || \
79230 - cp -p $$file $(distdir)/$$relfile; \
79231 + base_i=`echo "$$base" | sed 's|\.info$$||;s|$$|.i|'`; \
79232 + 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 \
79233 + if test -f $$file; then \
79234 + relfile=`expr "$$file" : "$$d/\(.*\)"`; \
79235 + test -f $(distdir)/$$relfile || \
79236 + cp -p $$file $(distdir)/$$relfile; \
79237 + else :; fi; \
79238 done; \
79239 done
79240
79241 @@ -1406,6 +1415,15 @@
79242 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/avr.sc \
79243 ${GEN_DEPENDS}
79244 ${GENSCRIPTS} avr5 "$(tdir_avr2)"
79245 +eavr32elf_ap7000.c: $(srcdir)/emulparams/avr32elf_ap7000.sh \
79246 + $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf_xip.sc ${GEN_DEPENDS}
79247 + ${GENSCRIPTS} avr32elf_ap7000 "$(tdir_avr32)"
79248 +eavr32elf_uc3a0512.c: $(srcdir)/emulparams/avr32elf_uc3a0512.sh \
79249 + $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf_xip.sc ${GEN_DEPENDS}
79250 + ${GENSCRIPTS} avr32elf_uc3a0512 "$(tdir_avr32)"
79251 +eavr32linux.c: $(srcdir)/emulparams/avr32linux.sh \
79252 + $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
79253 + ${GENSCRIPTS} avr32linux "$(tdir_avr32)"
79254 ecoff_i860.c: $(srcdir)/emulparams/coff_i860.sh \
79255 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/i860coff.sc ${GEN_DEPENDS}
79256 ${GENSCRIPTS} coff_i860 "$(tdir_coff_i860)"
79257 @@ -2587,7 +2605,9 @@
79258 || $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) ld-new$(EXEEXT) $(DESTDIR)$(tooldir)/bin/ld$(EXEEXT); \
79259 fi
79260
79261 -install-data-local:
79262 +# We want install to imply install-info as per GNU standards, despite the
79263 +# cygnus option.
79264 +install-data-local: install-info
79265 $(mkinstalldirs) $(DESTDIR)$(scriptdir)/ldscripts
79266 for f in ldscripts/*; do \
79267 $(INSTALL_DATA) $$f $(DESTDIR)$(scriptdir)/$$f ; \
79268 Index: binutils-2.17/ld/scripttempl/elf_xip.sc
79269 ===================================================================
79270 --- /dev/null 1970-01-01 00:00:00.000000000 +0000
79271 +++ binutils-2.17/ld/scripttempl/elf_xip.sc 2007-06-28 09:19:36.669661816 +0200
79272 @@ -0,0 +1,456 @@
79273 +#
79274 +# Unusual variables checked by this code:
79275 +# NOP - four byte opcode for no-op (defaults to 0)
79276 +# NO_SMALL_DATA - no .sbss/.sbss2/.sdata/.sdata2 sections if not
79277 +# empty.
79278 +# SMALL_DATA_CTOR - .ctors contains small data.
79279 +# SMALL_DATA_DTOR - .dtors contains small data.
79280 +# DATA_ADDR - if end-of-text-plus-one-page isn't right for data start
79281 +# INITIAL_READONLY_SECTIONS - at start of text segment
79282 +# OTHER_READONLY_SECTIONS - other than .text .init .rodata ...
79283 +# (e.g., .PARISC.milli)
79284 +# OTHER_TEXT_SECTIONS - these get put in .text when relocating
79285 +# OTHER_READWRITE_SECTIONS - other than .data .bss .ctors .sdata ...
79286 +# (e.g., .PARISC.global)
79287 +# OTHER_RELRO_SECTIONS - other than .data.rel.ro ...
79288 +# (e.g. PPC32 .fixup, .got[12])
79289 +# OTHER_BSS_SECTIONS - other than .bss .sbss ...
79290 +# OTHER_SECTIONS - at the end
79291 +# EXECUTABLE_SYMBOLS - symbols that must be defined for an
79292 +# executable (e.g., _DYNAMIC_LINK)
79293 +# TEXT_START_ADDR - the first byte of the text segment, after any
79294 +# headers.
79295 +# TEXT_BASE_ADDRESS - the first byte of the text segment.
79296 +# TEXT_START_SYMBOLS - symbols that appear at the start of the
79297 +# .text section.
79298 +# DATA_START_SYMBOLS - symbols that appear at the start of the
79299 +# .data section.
79300 +# OTHER_GOT_SYMBOLS - symbols defined just before .got.
79301 +# OTHER_GOT_SECTIONS - sections just after .got.
79302 +# OTHER_SDATA_SECTIONS - sections just after .sdata.
79303 +# OTHER_BSS_SYMBOLS - symbols that appear at the start of the
79304 +# .bss section besides __bss_start.
79305 +# DATA_PLT - .plt should be in data segment, not text segment.
79306 +# PLT_BEFORE_GOT - .plt just before .got when .plt is in data segement.
79307 +# BSS_PLT - .plt should be in bss segment
79308 +# TEXT_DYNAMIC - .dynamic in text segment, not data segment.
79309 +# EMBEDDED - whether this is for an embedded system.
79310 +# SHLIB_TEXT_START_ADDR - if set, add to SIZEOF_HEADERS to set
79311 +# start address of shared library.
79312 +# INPUT_FILES - INPUT command of files to always include
79313 +# WRITABLE_RODATA - if set, the .rodata section should be writable
79314 +# INIT_START, INIT_END - statements just before and just after
79315 +# combination of .init sections.
79316 +# FINI_START, FINI_END - statements just before and just after
79317 +# combination of .fini sections.
79318 +# STACK_ADDR - start of a .stack section.
79319 +# OTHER_END_SYMBOLS - symbols to place right at the end of the script.
79320 +# SEPARATE_GOTPLT - if set, .got.plt should be separate output section,
79321 +# so that .got can be in the RELRO area. It should be set to
79322 +# the number of bytes in the beginning of .got.plt which can be
79323 +# in the RELRO area as well.
79324 +#
79325 +# When adding sections, do note that the names of some sections are used
79326 +# when specifying the start address of the next.
79327 +#
79328 +
79329 +# Many sections come in three flavours. There is the 'real' section,
79330 +# like ".data". Then there are the per-procedure or per-variable
79331 +# sections, generated by -ffunction-sections and -fdata-sections in GCC,
79332 +# and useful for --gc-sections, which for a variable "foo" might be
79333 +# ".data.foo". Then there are the linkonce sections, for which the linker
79334 +# eliminates duplicates, which are named like ".gnu.linkonce.d.foo".
79335 +# The exact correspondences are:
79336 +#
79337 +# Section Linkonce section
79338 +# .text .gnu.linkonce.t.foo
79339 +# .rodata .gnu.linkonce.r.foo
79340 +# .data .gnu.linkonce.d.foo
79341 +# .bss .gnu.linkonce.b.foo
79342 +# .sdata .gnu.linkonce.s.foo
79343 +# .sbss .gnu.linkonce.sb.foo
79344 +# .sdata2 .gnu.linkonce.s2.foo
79345 +# .sbss2 .gnu.linkonce.sb2.foo
79346 +# .debug_info .gnu.linkonce.wi.foo
79347 +# .tdata .gnu.linkonce.td.foo
79348 +# .tbss .gnu.linkonce.tb.foo
79349 +#
79350 +# Each of these can also have corresponding .rel.* and .rela.* sections.
79351 +
79352 +test -z "$ENTRY" && ENTRY=_start
79353 +test -z "${BIG_OUTPUT_FORMAT}" && BIG_OUTPUT_FORMAT=${OUTPUT_FORMAT}
79354 +test -z "${LITTLE_OUTPUT_FORMAT}" && LITTLE_OUTPUT_FORMAT=${OUTPUT_FORMAT}
79355 +if [ -z "$MACHINE" ]; then OUTPUT_ARCH=${ARCH}; else OUTPUT_ARCH=${ARCH}:${MACHINE}; fi
79356 +test -z "${ELFSIZE}" && ELFSIZE=32
79357 +test -z "${ALIGNMENT}" && ALIGNMENT="${ELFSIZE} / 8"
79358 +test "$LD_FLAG" = "N" && DATA_ADDR=.
79359 +test -n "$CREATE_SHLIB$CREATE_PIE" && test -n "$SHLIB_DATA_ADDR" && COMMONPAGESIZE=""
79360 +test -z "$CREATE_SHLIB$CREATE_PIE" && test -n "$DATA_ADDR" && COMMONPAGESIZE=""
79361 +test -n "$RELRO_NOW" && unset SEPARATE_GOTPLT
79362 +if test -n "$RELOCATING"; then
79363 + RO_REGION="${RO_VMA_REGION+ >}${RO_VMA_REGION}${RO_LMA_REGION+ AT>}${RO_LMA_REGION}"
79364 + RW_REGION="${RW_VMA_REGION+ >}${RW_VMA_REGION}${RW_LMA_REGION+ AT>}${RW_LMA_REGION}"
79365 +else
79366 + RO_REGION=""
79367 + RW_REGION=""
79368 +fi
79369 +INTERP=".interp ${RELOCATING-0} : { *(.interp) }${RO_REGION}"
79370 +PLT=".plt ${RELOCATING-0} : { *(.plt) }"
79371 +if test -z "$GOT"; then
79372 + if test -z "$SEPARATE_GOTPLT"; then
79373 + GOT=".got ${RELOCATING-0} : { *(.got.plt) *(.got) }"
79374 + else
79375 + GOT=".got ${RELOCATING-0} : { *(.got) }"
79376 + GOTPLT="${RELOCATING+${DATA_SEGMENT_RELRO_GOTPLT_END}}
79377 + .got.plt ${RELOCATING-0} : { *(.got.plt) }"
79378 + fi
79379 +fi
79380 +DALIGN=".dalign : { . = ALIGN(${DATA_SEGMENT_ALIGN}); PROVIDE(_data_lma = .); }${RO_REGION}"
79381 +BALIGN=".balign : { . = ALIGN(${BSS_ALIGNMENT}); _edata = .; }${RW_REGION}"
79382 +DYNAMIC=".dynamic ${RELOCATING-0} : { *(.dynamic) }"
79383 +RODATA=".rodata ${RELOCATING-0} : { *(.rodata${RELOCATING+ .rodata.* .gnu.linkonce.r.*}) }"
79384 +DATARELRO=".data.rel.ro : { *(.data.rel.ro.local) *(.data.rel.ro*) }${RW_REGION}"
79385 +STACKNOTE="/DISCARD/ : { *(.note.GNU-stack) }"
79386 +if test -z "${NO_SMALL_DATA}"; then
79387 + SBSS=".sbss ${RELOCATING-0} :
79388 + {
79389 + ${RELOCATING+PROVIDE (__sbss_start = .);}
79390 + ${RELOCATING+PROVIDE (___sbss_start = .);}
79391 + ${CREATE_SHLIB+*(.sbss2 .sbss2.* .gnu.linkonce.sb2.*)}
79392 + *(.dynsbss)
79393 + *(.sbss${RELOCATING+ .sbss.* .gnu.linkonce.sb.*})
79394 + *(.scommon)
79395 + ${RELOCATING+PROVIDE (__sbss_end = .);}
79396 + ${RELOCATING+PROVIDE (___sbss_end = .);}
79397 + }${RW_REGION}"
79398 + SBSS2=".sbss2 ${RELOCATING-0} : { *(.sbss2${RELOCATING+ .sbss2.* .gnu.linkonce.sb2.*}) }${RW_REGION}"
79399 + SDATA="/* We want the small data sections together, so single-instruction offsets
79400 + can access them all, and initialized data all before uninitialized, so
79401 + we can shorten the on-disk segment size. */
79402 + .sdata ${RELOCATING-0} :
79403 + {
79404 + ${RELOCATING+${SDATA_START_SYMBOLS}}
79405 + ${CREATE_SHLIB+*(.sdata2 .sdata2.* .gnu.linkonce.s2.*)}
79406 + *(.sdata${RELOCATING+ .sdata.* .gnu.linkonce.s.*})
79407 + }${RW_REGION}"
79408 + SDATA2=".sdata2 ${RELOCATING-0} : { *(.sdata2${RELOCATING+ .sdata2.* .gnu.linkonce.s2.*}) }${RW_REGION}"
79409 + REL_SDATA=".rel.sdata ${RELOCATING-0} : { *(.rel.sdata${RELOCATING+ .rel.sdata.* .rel.gnu.linkonce.s.*}) }${RO_REGION}
79410 + .rela.sdata ${RELOCATING-0} : { *(.rela.sdata${RELOCATING+ .rela.sdata.* .rela.gnu.linkonce.s.*}) }"
79411 + REL_SBSS=".rel.sbss ${RELOCATING-0} : { *(.rel.sbss${RELOCATING+ .rel.sbss.* .rel.gnu.linkonce.sb.*}) }${RO_REGION}
79412 + .rela.sbss ${RELOCATING-0} : { *(.rela.sbss${RELOCATING+ .rela.sbss.* .rela.gnu.linkonce.sb.*}) }${RO_REGION}"
79413 + REL_SDATA2=".rel.sdata2 ${RELOCATING-0} : { *(.rel.sdata2${RELOCATING+ .rel.sdata2.* .rel.gnu.linkonce.s2.*}) }${RO_REGION}
79414 + .rela.sdata2 ${RELOCATING-0} : { *(.rela.sdata2${RELOCATING+ .rela.sdata2.* .rela.gnu.linkonce.s2.*}) }${RO_REGION}"
79415 + REL_SBSS2=".rel.sbss2 ${RELOCATING-0} : { *(.rel.sbss2${RELOCATING+ .rel.sbss2.* .rel.gnu.linkonce.sb2.*}) }${RO_REGION}
79416 + .rela.sbss2 ${RELOCATING-0} : { *(.rela.sbss2${RELOCATING+ .rela.sbss2.* .rela.gnu.linkonce.sb2.*}) }${RO_REGION}"
79417 +else
79418 + NO_SMALL_DATA=" "
79419 +fi
79420 +test -n "$SEPARATE_GOTPLT" && SEPARATE_GOTPLT=" "
79421 +CTOR=".ctors ${CONSTRUCTING-0} :
79422 + {
79423 + ${CONSTRUCTING+${CTOR_START}}
79424 + /* gcc uses crtbegin.o to find the start of
79425 + the constructors, so we make sure it is
79426 + first. Because this is a wildcard, it
79427 + doesn't matter if the user does not
79428 + actually link against crtbegin.o; the
79429 + linker won't look for a file to match a
79430 + wildcard. The wildcard also means that it
79431 + doesn't matter which directory crtbegin.o
79432 + is in. */
79433 +
79434 + KEEP (*crtbegin*.o(.ctors))
79435 +
79436 + /* We don't want to include the .ctor section from
79437 + from the crtend.o file until after the sorted ctors.
79438 + The .ctor section from the crtend file contains the
79439 + end of ctors marker and it must be last */
79440 +
79441 + KEEP (*(EXCLUDE_FILE (*crtend*.o $OTHER_EXCLUDE_FILES) .ctors))
79442 + KEEP (*(SORT(.ctors.*)))
79443 + KEEP (*(.ctors))
79444 + ${CONSTRUCTING+${CTOR_END}}
79445 + }"
79446 +DTOR=".dtors ${CONSTRUCTING-0} :
79447 + {
79448 + ${CONSTRUCTING+${DTOR_START}}
79449 + KEEP (*crtbegin*.o(.dtors))
79450 + KEEP (*(EXCLUDE_FILE (*crtend*.o $OTHER_EXCLUDE_FILES) .dtors))
79451 + KEEP (*(SORT(.dtors.*)))
79452 + KEEP (*(.dtors))
79453 + ${CONSTRUCTING+${DTOR_END}}
79454 + }"
79455 +STACK=".stack ${RELOCATING-0}${RELOCATING+${STACK_ADDR}} :
79456 + {
79457 + ${RELOCATING+_stack = .;}
79458 + *(.stack)
79459 + ${RELOCATING+${STACK_SIZE+. = ${STACK_SIZE};}}
79460 + ${RELOCATING+_estack = .;}
79461 + }${RW_REGION}"
79462 +
79463 +# if this is for an embedded system, don't add SIZEOF_HEADERS.
79464 +if [ -z "$EMBEDDED" ]; then
79465 + test -z "${TEXT_BASE_ADDRESS}" && TEXT_BASE_ADDRESS="${TEXT_START_ADDR} + SIZEOF_HEADERS"
79466 +else
79467 + test -z "${TEXT_BASE_ADDRESS}" && TEXT_BASE_ADDRESS="${TEXT_START_ADDR}"
79468 +fi
79469 +
79470 +cat <<EOF
79471 +OUTPUT_FORMAT("${OUTPUT_FORMAT}", "${BIG_OUTPUT_FORMAT}",
79472 + "${LITTLE_OUTPUT_FORMAT}")
79473 +OUTPUT_ARCH(${OUTPUT_ARCH})
79474 +ENTRY(${ENTRY})
79475 +
79476 +${RELOCATING+${LIB_SEARCH_DIRS}}
79477 +${RELOCATING+/* Do we need any of these for elf?
79478 + __DYNAMIC = 0; ${STACKZERO+${STACKZERO}} ${SHLIB_PATH+${SHLIB_PATH}} */}
79479 +${RELOCATING+${EXECUTABLE_SYMBOLS}}
79480 +${RELOCATING+${INPUT_FILES}}
79481 +${RELOCATING- /* For some reason, the Solaris linker makes bad executables
79482 + if gld -r is used and the intermediate file has sections starting
79483 + at non-zero addresses. Could be a Solaris ld bug, could be a GNU ld
79484 + bug. But for now assigning the zero vmas works. */}
79485 +
79486 +${RELOCATING+${MEMORY}}
79487 +
79488 +SECTIONS
79489 +{
79490 + /* Read-only sections, merged into text segment: */
79491 + ${CREATE_SHLIB-${CREATE_PIE-${RELOCATING+PROVIDE (__executable_start = ${TEXT_START_ADDR}); . = ${TEXT_BASE_ADDRESS};}}}
79492 + ${CREATE_SHLIB+${RELOCATING+. = ${SHLIB_TEXT_START_ADDR:-0} + SIZEOF_HEADERS;}}
79493 + ${CREATE_PIE+${RELOCATING+. = ${SHLIB_TEXT_START_ADDR:-0} + SIZEOF_HEADERS;}}
79494 + ${CREATE_SHLIB-${INTERP}}
79495 + ${INITIAL_READONLY_SECTIONS}
79496 + ${TEXT_DYNAMIC+${DYNAMIC}${RO_REGION}}
79497 + .hash ${RELOCATING-0} : { *(.hash) }${RO_REGION}
79498 + .dynsym ${RELOCATING-0} : { *(.dynsym) }${RO_REGION}
79499 + .dynstr ${RELOCATING-0} : { *(.dynstr) }${RO_REGION}
79500 + .gnu.version ${RELOCATING-0} : { *(.gnu.version) }${RO_REGION}
79501 + .gnu.version_d ${RELOCATING-0}: { *(.gnu.version_d) }${RO_REGION}
79502 + .gnu.version_r ${RELOCATING-0}: { *(.gnu.version_r) }${RO_REGION}
79503 +
79504 +EOF
79505 +if [ "x$COMBRELOC" = x ]; then
79506 + COMBRELOCCAT=cat
79507 +else
79508 + COMBRELOCCAT="cat > $COMBRELOC"
79509 +fi
79510 +eval $COMBRELOCCAT <<EOF
79511 + .rel.init ${RELOCATING-0} : { *(.rel.init) }${RO_REGION}
79512 + .rela.init ${RELOCATING-0} : { *(.rela.init) }${RO_REGION}
79513 + .rel.text ${RELOCATING-0} : { *(.rel.text${RELOCATING+ .rel.text.* .rel.gnu.linkonce.t.*}) }${RO_REGION}
79514 + .rela.text ${RELOCATING-0} : { *(.rela.text${RELOCATING+ .rela.text.* .rela.gnu.linkonce.t.*}) }${RO_REGION}
79515 + .rel.fini ${RELOCATING-0} : { *(.rel.fini) }${RO_REGION}
79516 + .rela.fini ${RELOCATING-0} : { *(.rela.fini) }${RO_REGION}
79517 + .rel.rodata ${RELOCATING-0} : { *(.rel.rodata${RELOCATING+ .rel.rodata.* .rel.gnu.linkonce.r.*}) }${RO_REGION}
79518 + .rela.rodata ${RELOCATING-0} : { *(.rela.rodata${RELOCATING+ .rela.rodata.* .rela.gnu.linkonce.r.*}) }${RO_REGION}
79519 + ${OTHER_READONLY_RELOC_SECTIONS}
79520 + .rel.data.rel.ro ${RELOCATING-0} : { *(.rel.data.rel.ro${RELOCATING+*}) }${RO_REGION}
79521 + .rela.data.rel.ro ${RELOCATING-0} : { *(.rel.data.rel.ro${RELOCATING+*}) }${RO_REGION}
79522 + .rel.data ${RELOCATING-0} : { *(.rel.data${RELOCATING+ .rel.data.* .rel.gnu.linkonce.d.*}) }${RO_REGION}
79523 + .rela.data ${RELOCATING-0} : { *(.rela.data${RELOCATING+ .rela.data.* .rela.gnu.linkonce.d.*}) }${RO_REGION}
79524 + .rel.tdata ${RELOCATING-0} : { *(.rel.tdata${RELOCATING+ .rel.tdata.* .rel.gnu.linkonce.td.*}) }${RO_REGION}
79525 + .rela.tdata ${RELOCATING-0} : { *(.rela.tdata${RELOCATING+ .rela.tdata.* .rela.gnu.linkonce.td.*}) }${RO_REGION}
79526 + .rel.tbss ${RELOCATING-0} : { *(.rel.tbss${RELOCATING+ .rel.tbss.* .rel.gnu.linkonce.tb.*}) }${RO_REGION}
79527 + .rela.tbss ${RELOCATING-0} : { *(.rela.tbss${RELOCATING+ .rela.tbss.* .rela.gnu.linkonce.tb.*}) }${RO_REGION}
79528 + .rel.ctors ${RELOCATING-0} : { *(.rel.ctors) }${RO_REGION}
79529 + .rela.ctors ${RELOCATING-0} : { *(.rela.ctors) }${RO_REGION}
79530 + .rel.dtors ${RELOCATING-0} : { *(.rel.dtors) }${RO_REGION}
79531 + .rela.dtors ${RELOCATING-0} : { *(.rela.dtors) }${RO_REGION}
79532 + .rel.got ${RELOCATING-0} : { *(.rel.got) }${RO_REGION}
79533 + .rela.got ${RELOCATING-0} : { *(.rela.got) }${RO_REGION}
79534 + ${OTHER_GOT_RELOC_SECTIONS}
79535 + ${REL_SDATA}
79536 + ${REL_SBSS}
79537 + ${REL_SDATA2}
79538 + ${REL_SBSS2}
79539 + .rel.bss ${RELOCATING-0} : { *(.rel.bss${RELOCATING+ .rel.bss.* .rel.gnu.linkonce.b.*}) }${RO_REGION}
79540 + .rela.bss ${RELOCATING-0} : { *(.rela.bss${RELOCATING+ .rela.bss.* .rela.gnu.linkonce.b.*}) }${RO_REGION}
79541 +EOF
79542 +if [ -n "$COMBRELOC" ]; then
79543 +cat <<EOF
79544 + .rel.dyn ${RELOCATING-0} :
79545 + {
79546 +EOF
79547 +sed -e '/^[ ]*[{}][ ]*$/d;/:[ ]*$/d;/\.rela\./d;s/^.*: { *\(.*\)}$/ \1/' $COMBRELOC
79548 +cat <<EOF
79549 + }${RO_REGION}
79550 + .rela.dyn ${RELOCATING-0} :
79551 + {
79552 +EOF
79553 +sed -e '/^[ ]*[{}][ ]*$/d;/:[ ]*$/d;/\.rel\./d;s/^.*: { *\(.*\)}/ \1/' $COMBRELOC
79554 +cat <<EOF
79555 + }${RO_REGION}
79556 +EOF
79557 +fi
79558 +cat <<EOF
79559 + .rel.plt ${RELOCATING-0} : { *(.rel.plt) }${RO_REGION}
79560 + .rela.plt ${RELOCATING-0} : { *(.rela.plt) }${RO_REGION}
79561 + ${OTHER_PLT_RELOC_SECTIONS}
79562 +
79563 + .init ${RELOCATING-0} :
79564 + {
79565 + ${RELOCATING+${INIT_START}}
79566 + KEEP (*(.init))
79567 + ${RELOCATING+${INIT_END}}
79568 + }${RO_REGION} =${NOP-0}
79569 +
79570 + ${DATA_PLT-${BSS_PLT-${PLT}${RO_REGION}}}
79571 + .text ${RELOCATING-0} :
79572 + {
79573 + ${RELOCATING+${TEXT_START_SYMBOLS}}
79574 + *(.text .stub${RELOCATING+ .text.* .gnu.linkonce.t.*})
79575 + KEEP (*(.text.*personality*))
79576 + /* .gnu.warning sections are handled specially by elf32.em. */
79577 + *(.gnu.warning)
79578 + ${RELOCATING+${OTHER_TEXT_SECTIONS}}
79579 + }${RO_REGION} =${NOP-0}
79580 + .fini ${RELOCATING-0} :
79581 + {
79582 + ${RELOCATING+${FINI_START}}
79583 + KEEP (*(.fini))
79584 + ${RELOCATING+${FINI_END}}
79585 + }${RO_REGION} =${NOP-0}
79586 + ${RELOCATING+PROVIDE (__etext = .);}
79587 + ${RELOCATING+PROVIDE (_etext = .);}
79588 + ${RELOCATING+PROVIDE (etext = .);}
79589 + ${WRITABLE_RODATA-${RODATA}${RO_REGION}}
79590 + .rodata1 ${RELOCATING-0} : { *(.rodata1) }${RO_REGION}
79591 + ${CREATE_SHLIB-${SDATA2}}
79592 + ${CREATE_SHLIB-${SBSS2}}
79593 + ${OTHER_READONLY_SECTIONS}
79594 + .eh_frame_hdr : { *(.eh_frame_hdr) }${RO_REGION}
79595 + .eh_frame ${RELOCATING-0} : ONLY_IF_RO { KEEP (*(.eh_frame)) }${RO_REGION}
79596 + .gcc_except_table ${RELOCATING-0} : ONLY_IF_RO { KEEP (*(.gcc_except_table)) *(.gcc_except_table.*) }${RO_REGION}
79597 +
79598 + ${RELOCATING+${DALIGN}}
79599 + ${RELOCATING+PROVIDE (_data = ORIGIN(${RW_VMA_REGION}));}
79600 + . = ORIGIN(${RW_VMA_REGION});
79601 + /* Exception handling */
79602 + .eh_frame ${RELOCATING-0} : ONLY_IF_RW { KEEP (*(.eh_frame)) }${RW_REGION}
79603 + .gcc_except_table ${RELOCATING-0} : ONLY_IF_RW { KEEP (*(.gcc_except_table)) *(.gcc_except_table.*) }${RW_REGION}
79604 +
79605 + /* Thread Local Storage sections */
79606 + .tdata ${RELOCATING-0} : { *(.tdata${RELOCATING+ .tdata.* .gnu.linkonce.td.*}) }${RW_REGION}
79607 + .tbss ${RELOCATING-0} : { *(.tbss${RELOCATING+ .tbss.* .gnu.linkonce.tb.*})${RELOCATING+ *(.tcommon)} }${RW_REGION}
79608 +
79609 + /* Ensure the __preinit_array_start label is properly aligned. We
79610 + could instead move the label definition inside the section, but
79611 + the linker would then create the section even if it turns out to
79612 + be empty, which isn't pretty. */
79613 + ${RELOCATING+${CREATE_SHLIB-PROVIDE (__preinit_array_start = ALIGN(${ALIGNMENT}));}}
79614 + .preinit_array ${RELOCATING-0} : { KEEP (*(.preinit_array)) }${RW_REGION}
79615 + ${RELOCATING+${CREATE_SHLIB-PROVIDE (__preinit_array_end = .);}}
79616 +
79617 + ${RELOCATING+${CREATE_SHLIB-PROVIDE (__init_array_start = .);}}
79618 + .init_array ${RELOCATING-0} : { KEEP (*(.init_array)) }${RW_REGION}
79619 + ${RELOCATING+${CREATE_SHLIB-PROVIDE (__init_array_end = .);}}
79620 +
79621 + ${RELOCATING+${CREATE_SHLIB-PROVIDE (__fini_array_start = .);}}
79622 + .fini_array ${RELOCATING-0} : { KEEP (*(.fini_array)) }${RW_REGION}
79623 + ${RELOCATING+${CREATE_SHLIB-PROVIDE (__fini_array_end = .);}}
79624 +
79625 + ${SMALL_DATA_CTOR-${RELOCATING+${CTOR}${RW_REGION}}}
79626 + ${SMALL_DATA_DTOR-${RELOCATING+${DTOR}${RW_REGION}}}
79627 + .jcr ${RELOCATING-0} : { KEEP (*(.jcr)) }${RW_REGION}
79628 +
79629 + ${RELOCATING+${DATARELRO}}
79630 + ${OTHER_RELRO_SECTIONS}
79631 + ${TEXT_DYNAMIC-${DYNAMIC}${RW_REGION}}
79632 + ${NO_SMALL_DATA+${RELRO_NOW+${GOT}${RW_REGION}}}
79633 + ${NO_SMALL_DATA+${RELRO_NOW-${SEPARATE_GOTPLT+${GOT}${RW_REGION}}}}
79634 + ${NO_SMALL_DATA+${RELRO_NOW-${SEPARATE_GOTPLT+${GOTPLT}${RW_REGION}}}}
79635 + ${RELOCATING+${DATA_SEGMENT_RELRO_END}}
79636 + ${NO_SMALL_DATA+${RELRO_NOW-${SEPARATE_GOTPLT-${GOT}${RW_REGION}}}}
79637 +
79638 + ${DATA_PLT+${PLT_BEFORE_GOT-${PLT}${RW_REGION}}}
79639 +
79640 + .data ${RELOCATING-0} :
79641 + {
79642 + ${RELOCATING+${DATA_START_SYMBOLS}}
79643 + *(.data${RELOCATING+ .data.* .gnu.linkonce.d.*})
79644 + KEEP (*(.gnu.linkonce.d.*personality*))
79645 + ${CONSTRUCTING+SORT(CONSTRUCTORS)}
79646 + }${RW_REGION}
79647 + .data1 ${RELOCATING-0} : { *(.data1) }${RW_REGION}
79648 + ${WRITABLE_RODATA+${RODATA}${RW_REGION}}
79649 + ${OTHER_READWRITE_SECTIONS}
79650 + ${SMALL_DATA_CTOR+${RELOCATING+${CTOR}${RW_REGION}}}
79651 + ${SMALL_DATA_DTOR+${RELOCATING+${DTOR}${RW_REGION}}}
79652 + ${DATA_PLT+${PLT_BEFORE_GOT+${PLT}${RW_REGION}}}
79653 + ${RELOCATING+${OTHER_GOT_SYMBOLS}}
79654 + ${NO_SMALL_DATA-${GOT}${RW_REGION}}
79655 + ${OTHER_GOT_SECTIONS}
79656 + ${SDATA}
79657 + ${OTHER_SDATA_SECTIONS}
79658 + ${RELOCATING+${BALIGN}}
79659 + ${RELOCATING+_edata = .;}
79660 + ${RELOCATING+PROVIDE (edata = .);}
79661 + ${RELOCATING+__bss_start = .;}
79662 + ${RELOCATING+${OTHER_BSS_SYMBOLS}}
79663 + ${SBSS}
79664 + ${BSS_PLT+${PLT}${RW_REGION}}
79665 + .bss ${RELOCATING-0} :
79666 + {
79667 + *(.dynbss)
79668 + *(.bss${RELOCATING+ .bss.* .gnu.linkonce.b.*})
79669 + *(COMMON)
79670 + /* Align here to ensure that the .bss section occupies space up to
79671 + _end. Align after .bss to ensure correct alignment even if the
79672 + .bss section disappears because there are no input sections. */
79673 + ${RELOCATING+. = ALIGN(${BSS_ALIGNMENT});}
79674 + }${RW_REGION}
79675 + ${OTHER_BSS_SECTIONS}
79676 + ${RELOCATING+. = ALIGN(${BSS_ALIGNMENT});}
79677 + ${RELOCATING+_end = .;}
79678 + ${RELOCATING+${OTHER_BSS_END_SYMBOLS}}
79679 + ${RELOCATING+PROVIDE (end = .);}
79680 + ${RELOCATING+${DATA_SEGMENT_END}}
79681 +
79682 + /* Stabs debugging sections. */
79683 + .stab 0 : { *(.stab) }
79684 + .stabstr 0 : { *(.stabstr) }
79685 + .stab.excl 0 : { *(.stab.excl) }
79686 + .stab.exclstr 0 : { *(.stab.exclstr) }
79687 + .stab.index 0 : { *(.stab.index) }
79688 + .stab.indexstr 0 : { *(.stab.indexstr) }
79689 +
79690 + .comment 0 : { *(.comment) }
79691 +
79692 + /* DWARF debug sections.
79693 + Symbols in the DWARF debugging sections are relative to the beginning
79694 + of the section so we begin them at 0. */
79695 +
79696 + /* DWARF 1 */
79697 + .debug 0 : { *(.debug) }
79698 + .line 0 : { *(.line) }
79699 +
79700 + /* GNU DWARF 1 extensions */
79701 + .debug_srcinfo 0 : { *(.debug_srcinfo) }
79702 + .debug_sfnames 0 : { *(.debug_sfnames) }
79703 +
79704 + /* DWARF 1.1 and DWARF 2 */
79705 + .debug_aranges 0 : { *(.debug_aranges) }
79706 + .debug_pubnames 0 : { *(.debug_pubnames) }
79707 +
79708 + /* DWARF 2 */
79709 + .debug_info 0 : { *(.debug_info .gnu.linkonce.wi.*) }
79710 + .debug_abbrev 0 : { *(.debug_abbrev) }
79711 + .debug_line 0 : { *(.debug_line) }
79712 + .debug_frame 0 : { *(.debug_frame) }
79713 + .debug_str 0 : { *(.debug_str) }
79714 + .debug_loc 0 : { *(.debug_loc) }
79715 + .debug_macinfo 0 : { *(.debug_macinfo) }
79716 +
79717 + /* SGI/MIPS DWARF 2 extensions */
79718 + .debug_weaknames 0 : { *(.debug_weaknames) }
79719 + .debug_funcnames 0 : { *(.debug_funcnames) }
79720 + .debug_typenames 0 : { *(.debug_typenames) }
79721 + .debug_varnames 0 : { *(.debug_varnames) }
79722 +
79723 + ${STACK_ADDR+${STACK}}
79724 + ${OTHER_SECTIONS}
79725 + ${RELOCATING+${OTHER_END_SYMBOLS}}
79726 + ${RELOCATING+${STACKNOTE}}
79727 +}
79728 +EOF
79729 Index: binutils-2.17/ld/testsuite/ld-auto-import/client.c
79730 ===================================================================
79731 --- binutils-2.17.orig/ld/testsuite/ld-auto-import/client.c 2007-06-28 09:19:34.662966880 +0200
79732 +++ binutils-2.17/ld/testsuite/ld-auto-import/client.c 2007-06-28 09:19:36.669661816 +0200
79733 @@ -1,55 +1,55 @@
79734 -#include <stdio.h>
79735 -
79736 -extern int var;
79737 -extern void (*func_ptr)(void);
79738 -extern void print_var (void);
79739 -extern void print_foo (void);
79740 -extern int foo;
79741 -extern int var2[2];
79742 -
79743 -typedef struct
79744 -{
79745 - int * var;
79746 - void (* func_ptr)(void);
79747 -}
79748 -TEST;
79749 -
79750 -TEST xyz = { &var, print_var };
79751 -
79752 -int
79753 -main (void)
79754 -{
79755 - print_var ();
79756 -
79757 - printf ("We see var = %d\n", var);
79758 - printf ("Setting var = 456\n");
79759 -
79760 - var = 456;
79761 -
79762 - print_var ();
79763 - printf ("We see var = %d\n\n", var);
79764 -
79765 - var = 90;
79766 - print_var ();
79767 - printf ("We see var = %d\n\n", var);
79768 -
79769 - print_foo ();
79770 - printf ("We see foo = %d\n", foo);
79771 - printf ("Setting foo = 19\n");
79772 - foo = 19;
79773 - print_foo ();
79774 - printf ("We see foo = %d\n\n", foo);
79775 - fflush (stdout);
79776 -
79777 - printf ("Calling dllimported function pointer\n");
79778 - func_ptr ();
79779 -
79780 - printf ("Calling functions using global structure\n");
79781 - xyz.func_ptr ();
79782 - * xyz.var = 40;
79783 - xyz.func_ptr ();
79784 -
79785 - printf ("We see var2[0] = %d\n\n", var2[0]);
79786 -
79787 - return 0;
79788 -}
79789 +#include <stdio.h>
79790 +
79791 +extern int var;
79792 +extern void (*func_ptr)(void);
79793 +extern void print_var (void);
79794 +extern void print_foo (void);
79795 +extern int foo;
79796 +extern int var2[2];
79797 +
79798 +typedef struct
79799 +{
79800 + int * var;
79801 + void (* func_ptr)(void);
79802 +}
79803 +TEST;
79804 +
79805 +TEST xyz = { &var, print_var };
79806 +
79807 +int
79808 +main (void)
79809 +{
79810 + print_var ();
79811 +
79812 + printf ("We see var = %d\n", var);
79813 + printf ("Setting var = 456\n");
79814 +
79815 + var = 456;
79816 +
79817 + print_var ();
79818 + printf ("We see var = %d\n\n", var);
79819 +
79820 + var = 90;
79821 + print_var ();
79822 + printf ("We see var = %d\n\n", var);
79823 +
79824 + print_foo ();
79825 + printf ("We see foo = %d\n", foo);
79826 + printf ("Setting foo = 19\n");
79827 + foo = 19;
79828 + print_foo ();
79829 + printf ("We see foo = %d\n\n", foo);
79830 + fflush (stdout);
79831 +
79832 + printf ("Calling dllimported function pointer\n");
79833 + func_ptr ();
79834 +
79835 + printf ("Calling functions using global structure\n");
79836 + xyz.func_ptr ();
79837 + * xyz.var = 40;
79838 + xyz.func_ptr ();
79839 +
79840 + printf ("We see var2[0] = %d\n\n", var2[0]);
79841 +
79842 + return 0;
79843 +}
79844 Index: binutils-2.17/ld/testsuite/ld-auto-import/dll.c
79845 ===================================================================
79846 --- binutils-2.17.orig/ld/testsuite/ld-auto-import/dll.c 2007-06-28 09:19:34.669965816 +0200
79847 +++ binutils-2.17/ld/testsuite/ld-auto-import/dll.c 2007-06-28 09:19:36.670661664 +0200
79848 @@ -1,20 +1,20 @@
79849 -int var = 123;
79850 -int foo = 121;
79851 -
79852 -int var2[2]= { 123, 456 };
79853 -
79854 -#include <stdio.h>
79855 -
79856 -void
79857 -print_var (void)
79858 -{
79859 - printf ("DLL sees var = %d\n", var);
79860 -}
79861 -
79862 -void
79863 -print_foo (void)
79864 -{
79865 - printf ("DLL sees foo = %d\n", foo);
79866 -}
79867 -
79868 -void (* func_ptr)(void) = print_foo;
79869 +int var = 123;
79870 +int foo = 121;
79871 +
79872 +int var2[2]= { 123, 456 };
79873 +
79874 +#include <stdio.h>
79875 +
79876 +void
79877 +print_var (void)
79878 +{
79879 + printf ("DLL sees var = %d\n", var);
79880 +}
79881 +
79882 +void
79883 +print_foo (void)
79884 +{
79885 + printf ("DLL sees foo = %d\n", foo);
79886 +}
79887 +
79888 +void (* func_ptr)(void) = print_foo;
79889 Index: binutils-2.17/ld/testsuite/ld-avr32/avr32.exp
79890 ===================================================================
79891 --- /dev/null 1970-01-01 00:00:00.000000000 +0000
79892 +++ binutils-2.17/ld/testsuite/ld-avr32/avr32.exp 2007-06-28 09:19:36.670661664 +0200
79893 @@ -0,0 +1,25 @@
79894 +# Expect script for AVR32 ELF linker tests.
79895 +# Copyright 2004-2006 Atmel Corporation.
79896 +#
79897 +# This file is free software; you can redistribute it and/or modify
79898 +# it under the terms of the GNU General Public License as published by
79899 +# the Free Software Foundation; either version 2 of the License, or
79900 +# (at your option) any later version.
79901 +#
79902 +# This program is distributed in the hope that it will be useful,
79903 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
79904 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
79905 +# GNU General Public License for more details.
79906 +#
79907 +# You should have received a copy of the GNU General Public License
79908 +# along with this program; if not, write to the Free Software
79909 +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
79910 +#
79911 +# Written by Haavard Skinnemoen (hskinnemoen@atmel.com)
79912 +#
79913 +
79914 +if ![istarget avr32-*-*] {
79915 + return
79916 +}
79917 +
79918 +run_dump_test "pcrel"
79919 Index: binutils-2.17/ld/testsuite/ld-avr32/pcrel.d
79920 ===================================================================
79921 --- /dev/null 1970-01-01 00:00:00.000000000 +0000
79922 +++ binutils-2.17/ld/testsuite/ld-avr32/pcrel.d 2007-06-28 09:19:36.670661664 +0200
79923 @@ -0,0 +1,74 @@
79924 +#name: AVR32 ELF PC-relative external relocs
79925 +#source: symbols.s
79926 +#source: ../../../gas/testsuite/gas/avr32/pcrel.s
79927 +#ld: -T $srcdir/$subdir/pcrel.ld
79928 +#objdump: -d
79929 +
79930 +.*: file format elf.*avr32.*
79931 +
79932 +Disassembly of section .text:
79933 +
79934 +a0000000 <_start>:
79935 +a0000000: d7 03 nop
79936 +a0000002: d7 03 nop
79937 +
79938 +a0000004 <test_rjmp>:
79939 +a0000004: d7 03 nop
79940 +a0000006: c0 28 rjmp a000000a <test_rjmp\+0x6>
79941 +a0000008: d7 03 nop
79942 +a000000a: e0 8f 01 fb bral a0000400 <extsym10>
79943 +
79944 +a000000e <test_rcall>:
79945 +a000000e: d7 03 nop
79946 +a0000010 <test_rcall2>:
79947 +a0000010: c0 2c rcall a0000014 <test_rcall2\+0x4>
79948 +a0000012: d7 03 nop
79949 +a0000014: ee b0 ff f6 rcall a0200000 <extsym21>
79950 +
79951 +a0000018 <test_branch>:
79952 +a0000018: c0 31 brne a000001e <test_branch\+0x6>
79953 +a000001a: fe 9f ff ff bral a0000018 <test_branch>
79954 +a000001e: ee 90 ff f1 breq a0200000 <extsym21>
79955 +
79956 +a0000022 <test_lddpc>:
79957 +a0000022: 48 30 lddpc r0,a000002c <sym1>
79958 +a0000024: 48 20 lddpc r0,a000002c <sym1>
79959 +a0000026: fe f0 7f da ld.w r0,pc\[32730\]
79960 + ...
79961 +
79962 +a000002c <sym1>:
79963 +a000002c: d7 03 nop
79964 +a000002e: d7 03 nop
79965 +
79966 +a0000030 <test_local>:
79967 +a0000030: 48 20 lddpc r0,a0000038 <test_local\+0x8>
79968 +a0000032: 48 30 lddpc r0,a000003c <test_local\+0xc>
79969 +a0000034: 48 20 lddpc r0,a000003c <test_local\+0xc>
79970 +a0000036: 00 00 add r0,r0
79971 +a0000038: d7 03 nop
79972 +a000003a: d7 03 nop
79973 +a000003c: d7 03 nop
79974 +a000003e: d7 03 nop
79975 +
79976 +Disassembly of section \.text\.init:
79977 +a0000040 <test_inter_section>:
79978 +a0000040: fe b0 ff e7 rcall a000000e <test_rcall>
79979 +a0000044: d7 03 nop
79980 +a0000046: fe b0 ff e4 rcall a000000e <test_rcall>
79981 +a000004a: fe b0 ff e3 rcall a0000010 <test_rcall2>
79982 +a000004e: d7 03 nop
79983 +a0000050: fe b0 ff e0 rcall a0000010 <test_rcall2>
79984 +
79985 +Disassembly of section \.text\.pcrel10:
79986 +
79987 +a0000400 <extsym10>:
79988 +a0000400: d7 03 nop
79989 +
79990 +Disassembly of section \.text\.pcrel16:
79991 +
79992 +a0008000 <extsym16>:
79993 +a0008000: d7 03 nop
79994 +
79995 +Disassembly of section \.text\.pcrel21:
79996 +a0200000 <extsym21>:
79997 +a0200000: d7 03 nop
79998 Index: binutils-2.17/ld/testsuite/ld-avr32/pcrel.ld
79999 ===================================================================
80000 --- /dev/null 1970-01-01 00:00:00.000000000 +0000
80001 +++ binutils-2.17/ld/testsuite/ld-avr32/pcrel.ld 2007-06-28 09:19:36.670661664 +0200
80002 @@ -0,0 +1,23 @@
80003 +ENTRY(_start)
80004 +SECTIONS
80005 +{
80006 + .text 0xa0000000:
80007 + {
80008 + *(.text)
80009 + }
80010 +
80011 + .text.pcrel10 0xa0000400:
80012 + {
80013 + *(.text.pcrel10)
80014 + }
80015 +
80016 + .text.pcrel16 0xa0008000:
80017 + {
80018 + *(.text.pcrel16)
80019 + }
80020 +
80021 + .text.pcrel21 0xa0200000:
80022 + {
80023 + *(.text.pcrel21)
80024 + }
80025 +}
80026 Index: binutils-2.17/ld/testsuite/ld-avr32/symbols.s
80027 ===================================================================
80028 --- /dev/null 1970-01-01 00:00:00.000000000 +0000
80029 +++ binutils-2.17/ld/testsuite/ld-avr32/symbols.s 2007-06-28 09:19:36.670661664 +0200
80030 @@ -0,0 +1,20 @@
80031 + .text
80032 + .global _start
80033 +_start:
80034 + nop
80035 + nop
80036 +
80037 + .section .text.pcrel10,"ax"
80038 + .global extsym10
80039 +extsym10:
80040 + nop
80041 +
80042 + .section .text.pcrel16,"ax"
80043 + .global extsym16
80044 +extsym16:
80045 + nop
80046 +
80047 + .section .text.pcrel21,"ax"
80048 + .global extsym21
80049 +extsym21:
80050 + nop
80051 Index: binutils-2.17/opcodes/aclocal.m4
80052 ===================================================================
80053 --- binutils-2.17.orig/opcodes/aclocal.m4 2007-06-28 09:19:34.693962168 +0200
80054 +++ binutils-2.17/opcodes/aclocal.m4 2007-06-28 09:19:36.671661512 +0200
80055 @@ -1,4 +1,4 @@
80056 -# generated automatically by aclocal 1.9.5 -*- Autoconf -*-
80057 +# generated automatically by aclocal 1.9.6 -*- Autoconf -*-
80058
80059 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
80060 # 2005 Free Software Foundation, Inc.
80061 @@ -28,7 +28,7 @@
80062 # Call AM_AUTOMAKE_VERSION so it can be traced.
80063 # This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
80064 AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
80065 - [AM_AUTOMAKE_VERSION([1.9.5])])
80066 + [AM_AUTOMAKE_VERSION([1.9.6])])
80067
80068 # AM_AUX_DIR_EXPAND -*- Autoconf -*-
80069
80070 Index: binutils-2.17/opcodes/avr32-asm.c
80071 ===================================================================
80072 --- /dev/null 1970-01-01 00:00:00.000000000 +0000
80073 +++ binutils-2.17/opcodes/avr32-asm.c 2007-06-28 09:19:36.671661512 +0200
80074 @@ -0,0 +1,264 @@
80075 +/* Assembler interface for AVR32.
80076 + Copyright 2005, 2006 Atmel Corporation.
80077 +
80078 + Written by Haavard Skinnemoen, Atmel Norway, <hskinnemoen@atmel.com>
80079 +
80080 + This file is part of libopcodes.
80081 +
80082 + This program is free software; you can redistribute it and/or
80083 + modify it under the terms of the GNU General Public License as
80084 + published by the Free Software Foundation; either version 2 of the
80085 + License, or (at your option) any later version.
80086 +
80087 + This program is distributed in the hope that it will be useful, but
80088 + WITHOUT ANY WARRANTY; without even the implied warranty of
80089 + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
80090 + General Public License for more details.
80091 +
80092 + You should have received a copy of the GNU General Public License
80093 + along with this program; if not, write to the Free Software
80094 + Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
80095 + 02111-1307, USA. */
80096 +
80097 +#include <string.h>
80098 +
80099 +#include "avr32-opc.h"
80100 +#include "avr32-asm.h"
80101 +
80102 +/* Structure for a register hash table entry. */
80103 +struct reg_entry
80104 +{
80105 + const char *name;
80106 + int number;
80107 +};
80108 +
80109 +/* Integer Registers. */
80110 +static const struct reg_entry reg_table[] =
80111 + {
80112 + /* Primary names (used by the disassembler) */
80113 + { "r0", 0 }, { "r1", 1 }, { "r2", 2 }, { "r3", 3 },
80114 + { "r4", 4 }, { "r5", 5 }, { "r6", 6 }, { "r7", 7 },
80115 + { "r8", 8 }, { "r9", 9 }, { "r10", 10 }, { "r11", 11 },
80116 + { "r12", 12 }, { "sp", 13 }, { "lr", 14 }, { "pc", 15 },
80117 + /* Alternatives to sp, lr and pc. */
80118 + { "r13", 13 }, { "r14", 14 }, { "r15", 15 },
80119 + };
80120 +#define AVR32_NR_INTREGS (sizeof(reg_table)/sizeof(reg_table[0]))
80121 +
80122 +/* Coprocessor Registers. */
80123 +static const struct reg_entry cr_table[] =
80124 + {
80125 + { "cr0", 0 }, { "cr1", 1 }, { "cr2", 2 }, { "cr3", 3 },
80126 + { "cr4", 4 }, { "cr5", 5 }, { "cr6", 6 }, { "cr7", 7 },
80127 + { "cr8", 8 }, { "cr9", 9 }, { "cr10", 10 }, { "cr11", 11 },
80128 + { "cr12", 12 }, { "cr13", 13 }, { "cr14", 14 }, { "cr15", 15 },
80129 + };
80130 +#define AVR32_NR_CPREGS (sizeof(cr_table)/sizeof(cr_table[0]))
80131 +
80132 +/* Floating-point Registers. */
80133 +static const struct reg_entry fr_table[] =
80134 + {
80135 + { "fr0", 0 }, { "fr1", 1 }, { "fr2", 2 }, { "fr3", 3 },
80136 + { "fr4", 4 }, { "fr5", 5 }, { "fr6", 6 }, { "fr7", 7 },
80137 + { "fr8", 8 }, { "fr9", 9 }, { "fr10", 10 }, { "fr11", 11 },
80138 + { "fr12", 12 }, { "fr13", 13 }, { "fr14", 14 }, { "fr15", 15 },
80139 + };
80140 +#define AVR32_NR_FPREGS (sizeof(fr_table)/sizeof(fr_table[0]))
80141 +
80142 +/* PiCo Registers. */
80143 +static const struct reg_entry pico_table[] =
80144 + {
80145 + { "inpix2", 0 }, { "inpix1", 1 }, { "inpix0", 2 },
80146 + { "outpix2", 3 }, { "outpix1", 4 }, { "outpix0", 5 },
80147 + { "coeff0_a", 6 }, { "coeff0_b", 7 }, { "coeff1_a", 8 },
80148 + { "coeff1_b", 9 }, { "coeff2_a", 10 }, { "coeff2_b", 11 },
80149 + { "vmu0_out", 12 }, { "vmu1_out", 13 }, { "vmu2_out", 14 },
80150 + { "config", 15 },
80151 + };
80152 +#define AVR32_NR_PICOREGS (sizeof(pico_table)/sizeof(pico_table[0]))
80153 +
80154 +int
80155 +avr32_parse_intreg(const char *str)
80156 +{
80157 + unsigned int i;
80158 +
80159 + for (i = 0; i < AVR32_NR_INTREGS; i++)
80160 + {
80161 + if (strcasecmp(reg_table[i].name, str) == 0)
80162 + return reg_table[i].number;
80163 + }
80164 +
80165 + return -1;
80166 +}
80167 +
80168 +int
80169 +avr32_parse_cpreg(const char *str)
80170 +{
80171 + unsigned int i;
80172 +
80173 + for (i = 0; i < AVR32_NR_CPREGS; i++)
80174 + {
80175 + if (strcasecmp(cr_table[i].name, str) == 0)
80176 + return cr_table[i].number;
80177 + }
80178 +
80179 + return -1;
80180 +}
80181 +
80182 +int avr32_parse_fpreg(const char *str)
80183 +{
80184 + unsigned int i;
80185 +
80186 + for (i = 0; i < AVR32_NR_FPREGS; i++)
80187 + {
80188 + if (strcasecmp(fr_table[i].name, str) == 0)
80189 + return fr_table[i].number;
80190 + }
80191 +
80192 + return -1;
80193 +}
80194 +
80195 +int avr32_parse_picoreg(const char *str)
80196 +{
80197 + unsigned int i;
80198 +
80199 + for (i = 0; i < AVR32_NR_PICOREGS; i++)
80200 + {
80201 + if (strcasecmp(pico_table[i].name, str) == 0)
80202 + return pico_table[i].number;
80203 + }
80204 +
80205 + return -1;
80206 +}
80207 +
80208 +static unsigned long
80209 +parse_reglist(char *str, char **endptr, int (*parse_reg)(const char *))
80210 +{
80211 + int reg_from, reg_to;
80212 + unsigned long result = 0;
80213 + char *p1, *p2, c;
80214 +
80215 + while (*str)
80216 + {
80217 + for (p1 = str; *p1; p1++)
80218 + if (*p1 == ',' || *p1 == '-')
80219 + break;
80220 +
80221 + c = *p1, *p1 = 0;
80222 + reg_from = parse_reg(str);
80223 + *p1 = c;
80224 +
80225 + if (reg_from < 0)
80226 + break;
80227 +
80228 + if (*p1 == '-')
80229 + {
80230 + for (p2 = ++p1; *p2; p2++)
80231 + if (*p2 == ',')
80232 + break;
80233 +
80234 + c = *p2, *p2 = 0;
80235 + /* printf("going to parse reg_to from `%s'\n", p1); */
80236 + reg_to = parse_reg(p1);
80237 + *p2 = c;
80238 +
80239 + if (reg_to < 0)
80240 + break;
80241 +
80242 + while (reg_from <= reg_to)
80243 + result |= (1 << reg_from++);
80244 + p1 = p2;
80245 + }
80246 + else
80247 + result |= (1 << reg_from);
80248 +
80249 + str = p1;
80250 + if (*str) ++str;
80251 + }
80252 +
80253 + if (endptr)
80254 + *endptr = str;
80255 +
80256 + return result;
80257 +}
80258 +
80259 +unsigned long
80260 +avr32_parse_reglist(char *str, char **endptr)
80261 +{
80262 + return parse_reglist(str, endptr, avr32_parse_intreg);
80263 +}
80264 +
80265 +unsigned long
80266 +avr32_parse_cpreglist(char *str, char **endptr)
80267 +{
80268 + return parse_reglist(str, endptr, avr32_parse_cpreg);
80269 +}
80270 +
80271 +unsigned long
80272 +avr32_parse_pico_reglist(char *str, char **endptr)
80273 +{
80274 + return parse_reglist(str, endptr, avr32_parse_picoreg);
80275 +}
80276 +
80277 +int
80278 +avr32_make_regmask8(unsigned long regmask16, unsigned long *regmask8)
80279 +{
80280 + unsigned long result = 0;
80281 +
80282 + /* printf("convert regmask16 0x%04lx\n", regmask16); */
80283 +
80284 + if (regmask16 & 0xf)
80285 + {
80286 + if ((regmask16 & 0xf) == 0xf)
80287 + result |= 1 << 0;
80288 + else
80289 + return -1;
80290 + }
80291 + if (regmask16 & 0xf0)
80292 + {
80293 + if ((regmask16 & 0xf0) == 0xf0)
80294 + result |= 1 << 1;
80295 + else
80296 + return -1;
80297 + }
80298 + if (regmask16 & 0x300)
80299 + {
80300 + if ((regmask16 & 0x300) == 0x300)
80301 + result |= 1 << 2;
80302 + else
80303 + return -1;
80304 + }
80305 + if (regmask16 & (1 << 13))
80306 + return -1;
80307 +
80308 + if (regmask16 & (1 << 10))
80309 + result |= 1 << 3;
80310 + if (regmask16 & (1 << 11))
80311 + result |= 1 << 4;
80312 + if (regmask16 & (1 << 12))
80313 + result |= 1 << 5;
80314 + if (regmask16 & (1 << 14))
80315 + result |= 1 << 6;
80316 + if (regmask16 & (1 << 15))
80317 + result |= 1 << 7;
80318 +
80319 + *regmask8 = result;
80320 +
80321 + return 0;
80322 +}
80323 +
80324 +#if 0
80325 +struct reg_map
80326 +{
80327 + const struct reg_entry *names;
80328 + int nr_regs;
80329 + struct hash_control *htab;
80330 + const char *errmsg;
80331 +};
80332 +
80333 +struct reg_map all_reg_maps[] =
80334 + {
80335 + { reg_table, AVR32_NR_INTREGS, NULL, N_("integral register expected") },
80336 + { cr_table, AVR32_NR_CPREGS, NULL, N_("coprocessor register expected") },
80337 + };
80338 +#endif
80339 Index: binutils-2.17/opcodes/avr32-asm.h
80340 ===================================================================
80341 --- /dev/null 1970-01-01 00:00:00.000000000 +0000
80342 +++ binutils-2.17/opcodes/avr32-asm.h 2007-06-28 09:19:36.672661360 +0200
80343 @@ -0,0 +1,42 @@
80344 +/* Assembler interface for AVR32.
80345 + Copyright 2005, 2006 Atmel Corporation.
80346 +
80347 + Written by Haavard Skinnemoen, Atmel Norway, <hskinnemoen@atmel.com>
80348 +
80349 + This file is part of libopcodes.
80350 +
80351 + This program is free software; you can redistribute it and/or
80352 + modify it under the terms of the GNU General Public License as
80353 + published by the Free Software Foundation; either version 2 of the
80354 + License, or (at your option) any later version.
80355 +
80356 + This program is distributed in the hope that it will be useful, but
80357 + WITHOUT ANY WARRANTY; without even the implied warranty of
80358 + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
80359 + General Public License for more details.
80360 +
80361 + You should have received a copy of the GNU General Public License
80362 + along with this program; if not, write to the Free Software
80363 + Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
80364 + 02111-1307, USA. */
80365 +#ifndef __OPCODES_AVR32_ASM_H
80366 +#define __OPCODES_AVR32_ASM_H
80367 +
80368 +extern int
80369 +avr32_parse_intreg(const char *str);
80370 +extern int
80371 +avr32_parse_cpreg(const char *str);
80372 +extern int
80373 +avr32_parse_fpreg(const char *str);
80374 +extern int
80375 +avr32_parse_picoreg(const char *str);
80376 +extern unsigned long
80377 +avr32_parse_reglist(char *str, char **endptr);
80378 +extern unsigned long
80379 +avr32_parse_cpreglist(char *str, char **endptr);
80380 +extern unsigned long
80381 +avr32_parse_pico_reglist(char *str, char **endptr);
80382 +extern int
80383 +avr32_make_regmask8(unsigned long regmask16, unsigned long *regmask8);
80384 +
80385 +#endif /* __OPCODES_AVR32_ASM_H */
80386 Index: binutils-2.17/opcodes/avr32-dis.c
80387 ===================================================================
80388 --- /dev/null 1970-01-01 00:00:00.000000000 +0000
80389 +++ binutils-2.17/opcodes/avr32-dis.c 2007-06-28 09:19:36.672661360 +0200
80390 @@ -0,0 +1,891 @@
80391 +/* Print AVR32 instructions for GDB and objdump.
80392 + Copyright 2005, 2006 Atmel Corporation.
80393 +
80394 + Written by Haavard Skinnemoen, Atmel Norway, <hskinnemoen@atmel.com>
80395 +
80396 + This file is part of libopcodes.
80397 +
80398 + This program is free software; you can redistribute it and/or
80399 + modify it under the terms of the GNU General Public License as
80400 + published by the Free Software Foundation; either version 2 of the
80401 + License, or (at your option) any later version.
80402 +
80403 + This program is distributed in the hope that it will be useful, but
80404 + WITHOUT ANY WARRANTY; without even the implied warranty of
80405 + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
80406 + General Public License for more details.
80407 +
80408 + You should have received a copy of the GNU General Public License
80409 + along with this program; if not, write to the Free Software
80410 + Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
80411 + 02111-1307, USA. */
80412 +
80413 +#include "sysdep.h"
80414 +#include "dis-asm.h"
80415 +#include "avr32-opc.h"
80416 +#include "opintl.h"
80417 +#include "safe-ctype.h"
80418 +
80419 +/* TODO: Share this with -asm */
80420 +
80421 +/* Structure for a register hash table entry. */
80422 +struct reg_entry
80423 +{
80424 + const char *name;
80425 + int number;
80426 +};
80427 +
80428 +#ifndef strneq
80429 +#define strneq(a,b,n) (strncmp ((a), (b), (n)) == 0)
80430 +#endif
80431 +
80432 +
80433 +static const struct reg_entry reg_table[] =
80434 + {
80435 + /* Primary names (used by the disassembler) */
80436 + { "r0", 0 }, { "r1", 1 }, { "r2", 2 }, { "r3", 3 },
80437 + { "r4", 4 }, { "r5", 5 }, { "r6", 6 }, { "r7", 7 },
80438 + { "r8", 8 }, { "r9", 9 }, { "r10", 10 }, { "r11", 11 },
80439 + { "r12", 12 }, { "sp", 13 }, { "lr", 14 }, { "pc", 15 },
80440 + /* Alternatives to sp, lr and pc. */
80441 + { "r13", 13 }, { "r14", 14 }, { "r15", 15 },
80442 + };
80443 +#define AVR32_NR_INTREGS (sizeof(reg_table)/sizeof(reg_table[0]))
80444 +
80445 +/* Coprocessor Registers. */
80446 +static const struct reg_entry cr_table[] =
80447 + {
80448 + { "cr0", 0 }, { "cr1", 1 }, { "cr2", 2 }, { "cr3", 3 },
80449 + { "cr4", 4 }, { "cr5", 5 }, { "cr6", 6 }, { "cr7", 7 },
80450 + { "cr8", 8 }, { "cr9", 9 }, { "cr10", 10 }, { "cr11", 11 },
80451 + { "cr12", 12 }, { "cr13", 13 }, { "cr14", 14 }, { "cr15", 15 },
80452 + };
80453 +#define AVR32_NR_CPREGS (sizeof(cr_table)/sizeof(cr_table[0]))
80454 +
80455 +static const char bparts[4] = { 'b', 'l', 'u', 't' };
80456 +static bfd_vma current_pc;
80457 +
80458 +struct avr32_field_value
80459 +{
80460 + const struct avr32_ifield *ifield;
80461 + unsigned long value;
80462 +};
80463 +
80464 +struct avr32_operand
80465 +{
80466 + int id;
80467 + int is_pcrel;
80468 + int align_order;
80469 + int (*print)(struct avr32_operand *op, struct disassemble_info *info,
80470 + struct avr32_field_value *ifields);
80471 +};
80472 +
80473 +static signed long
80474 +get_signed_value(const struct avr32_field_value *fv)
80475 +{
80476 + signed long value = fv->value;
80477 +
80478 + if (fv->value & (1 << (fv->ifield->bitsize - 1)))
80479 + value |= (~0UL << fv->ifield->bitsize);
80480 +
80481 + return value;
80482 +}
80483 +
80484 +static void
80485 +print_reglist_range(unsigned int first, unsigned int last,
80486 + const struct reg_entry *reg_names,
80487 + int need_comma,
80488 + struct disassemble_info *info)
80489 +{
80490 + if (need_comma)
80491 + info->fprintf_func(info->stream, ",");
80492 +
80493 + if (first == last)
80494 + info->fprintf_func(info->stream, "%s",
80495 + reg_names[first].name);
80496 + else
80497 + info->fprintf_func(info->stream, "%s-%s",
80498 + reg_names[first].name, reg_names[last].name);
80499 +}
80500 +
80501 +static int
80502 +print_intreg(struct avr32_operand *op,
80503 + struct disassemble_info *info,
80504 + struct avr32_field_value *ifields)
80505 +{
80506 + unsigned long regid = ifields[0].value << op->align_order;
80507 +
80508 + info->fprintf_func(info->stream, "%s",
80509 + reg_table[regid].name);
80510 + return 1;
80511 +}
80512 +
80513 +static int
80514 +print_intreg_predec(struct avr32_operand *op ATTRIBUTE_UNUSED,
80515 + struct disassemble_info *info,
80516 + struct avr32_field_value *ifields)
80517 +{
80518 + info->fprintf_func(info->stream, "--%s",
80519 + reg_table[ifields[0].value].name);
80520 + return 1;
80521 +}
80522 +
80523 +static int
80524 +print_intreg_postinc(struct avr32_operand *op ATTRIBUTE_UNUSED,
80525 + struct disassemble_info *info,
80526 + struct avr32_field_value *ifields)
80527 +{
80528 + info->fprintf_func(info->stream, "%s++",
80529 + reg_table[ifields[0].value].name);
80530 + return 1;
80531 +}
80532 +
80533 +static int
80534 +print_intreg_lsl(struct avr32_operand *op ATTRIBUTE_UNUSED,
80535 + struct disassemble_info *info,
80536 + struct avr32_field_value *ifields)
80537 +{
80538 + const char *rp = reg_table[ifields[0].value].name;
80539 + unsigned long sa = ifields[1].value;
80540 +
80541 + if (sa)
80542 + info->fprintf_func(info->stream, "%s<<0x%lx", rp, sa);
80543 + else
80544 + info->fprintf_func(info->stream, "%s", rp);
80545 +
80546 + return 2;
80547 +}
80548 +
80549 +static int
80550 +print_intreg_lsr(struct avr32_operand *op ATTRIBUTE_UNUSED,
80551 + struct disassemble_info *info,
80552 + struct avr32_field_value *ifields)
80553 +{
80554 + const char *rp = reg_table[ifields[0].value].name;
80555 + unsigned long sa = ifields[1].value;
80556 +
80557 + if (sa)
80558 + info->fprintf_func(info->stream, "%s>>0x%lx", rp, sa);
80559 + else
80560 + info->fprintf_func(info->stream, "%s", rp);
80561 +
80562 + return 2;
80563 +}
80564 +
80565 +static int
80566 +print_intreg_bpart(struct avr32_operand *op ATTRIBUTE_UNUSED,
80567 + struct disassemble_info *info,
80568 + struct avr32_field_value *ifields)
80569 +{
80570 + info->fprintf_func(info->stream, "%s:%c",
80571 + reg_table[ifields[0].value].name,
80572 + bparts[ifields[1].value]);
80573 + return 2;
80574 +}
80575 +
80576 +static int
80577 +print_intreg_hpart(struct avr32_operand *op ATTRIBUTE_UNUSED,
80578 + struct disassemble_info *info,
80579 + struct avr32_field_value *ifields)
80580 +{
80581 + info->fprintf_func(info->stream, "%s:%c",
80582 + reg_table[ifields[0].value].name,
80583 + ifields[1].value ? 't' : 'b');
80584 + return 2;
80585 +}
80586 +
80587 +static int
80588 +print_intreg_sdisp(struct avr32_operand *op,
80589 + struct disassemble_info *info,
80590 + struct avr32_field_value *ifields)
80591 +{
80592 + signed long disp;
80593 +
80594 + disp = get_signed_value(&ifields[1]) << op->align_order;
80595 +
80596 + info->fprintf_func(info->stream, "%s[%ld]",
80597 + reg_table[ifields[0].value].name, disp);
80598 + return 2;
80599 +}
80600 +
80601 +static int
80602 +print_intreg_udisp(struct avr32_operand *op,
80603 + struct disassemble_info *info,
80604 + struct avr32_field_value *ifields)
80605 +{
80606 + info->fprintf_func(info->stream, "%s[0x%lx]",
80607 + reg_table[ifields[0].value].name,
80608 + ifields[1].value << op->align_order);
80609 + return 2;
80610 +}
80611 +
80612 +static int
80613 +print_intreg_index(struct avr32_operand *op ATTRIBUTE_UNUSED,
80614 + struct disassemble_info *info,
80615 + struct avr32_field_value *ifields)
80616 +{
80617 + const char *rb, *ri;
80618 + unsigned long sa = ifields[2].value;
80619 +
80620 + rb = reg_table[ifields[0].value].name;
80621 + ri = reg_table[ifields[1].value].name;
80622 +
80623 + if (sa)
80624 + info->fprintf_func(info->stream, "%s[%s<<0x%lx]", rb, ri, sa);
80625 + else
80626 + info->fprintf_func(info->stream, "%s[%s]", rb, ri);
80627 +
80628 + return 3;
80629 +}
80630 +
80631 +static int
80632 +print_intreg_xindex(struct avr32_operand *op ATTRIBUTE_UNUSED,
80633 + struct disassemble_info *info,
80634 + struct avr32_field_value *ifields)
80635 +{
80636 + info->fprintf_func(info->stream, "%s[%s:%c<<2]",
80637 + reg_table[ifields[0].value].name,
80638 + reg_table[ifields[1].value].name,
80639 + bparts[ifields[2].value]);
80640 + return 3;
80641 +}
80642 +
80643 +static int
80644 +print_jmplabel(struct avr32_operand *op,
80645 + struct disassemble_info *info,
80646 + struct avr32_field_value *ifields)
80647 +{
80648 + bfd_vma address, offset;
80649 +
80650 + offset = get_signed_value(ifields) << op->align_order;
80651 + address = (current_pc & (~0UL << op->align_order)) + offset;
80652 +
80653 + info->print_address_func(address, info);
80654 +
80655 + return 1;
80656 +}
80657 +
80658 +static int
80659 +print_pc_disp(struct avr32_operand *op,
80660 + struct disassemble_info *info,
80661 + struct avr32_field_value *ifields)
80662 +{
80663 + bfd_vma address, offset;
80664 +
80665 + offset = ifields[0].value << op->align_order;
80666 + address = (current_pc & (~0UL << op->align_order)) + offset;
80667 +
80668 + info->print_address_func(address, info);
80669 +
80670 + return 1;
80671 +}
80672 +
80673 +static int
80674 +print_sp(struct avr32_operand *op ATTRIBUTE_UNUSED,
80675 + struct disassemble_info *info,
80676 + struct avr32_field_value *ifields ATTRIBUTE_UNUSED)
80677 +{
80678 + info->fprintf_func(info->stream, "sp");
80679 + return 1;
80680 +}
80681 +
80682 +static int
80683 +print_sp_disp(struct avr32_operand *op,
80684 + struct disassemble_info *info,
80685 + struct avr32_field_value *ifields)
80686 +{
80687 + info->fprintf_func(info->stream, "sp[0x%lx]",
80688 + ifields[0].value << op->align_order);
80689 + return 1;
80690 +}
80691 +
80692 +static int
80693 +print_cpno(struct avr32_operand *op ATTRIBUTE_UNUSED,
80694 + struct disassemble_info *info,
80695 + struct avr32_field_value *ifields)
80696 +{
80697 + info->fprintf_func(info->stream, "cp%lu", ifields[0].value);
80698 + return 1;
80699 +}
80700 +
80701 +static int
80702 +print_cpreg(struct avr32_operand *op,
80703 + struct disassemble_info *info,
80704 + struct avr32_field_value *ifields)
80705 +{
80706 + info->fprintf_func(info->stream, "cr%lu",
80707 + ifields[0].value << op->align_order);
80708 + return 1;
80709 +}
80710 +
80711 +static int
80712 +print_uconst(struct avr32_operand *op,
80713 + struct disassemble_info *info,
80714 + struct avr32_field_value *ifields)
80715 +{
80716 + info->fprintf_func(info->stream, "0x%lx",
80717 + ifields[0].value << op->align_order);
80718 + return 1;
80719 +}
80720 +
80721 +static int
80722 +print_sconst(struct avr32_operand *op,
80723 + struct disassemble_info *info,
80724 + struct avr32_field_value *ifields)
80725 +{
80726 + info->fprintf_func(info->stream, "%ld",
80727 + get_signed_value(ifields) << op->align_order);
80728 + return 1;
80729 +}
80730 +
80731 +static int
80732 +print_reglist8_head(unsigned long regmask, int *commap,
80733 + struct disassemble_info *info)
80734 +{
80735 + int first = -1, last, i = 0;
80736 + int need_comma = 0;
80737 +
80738 + while (i < 12)
80739 + {
80740 + if (first == -1 && (regmask & 1))
80741 + {
80742 + first = i;
80743 + }
80744 + else if (first != -1 && !(regmask & 1))
80745 + {
80746 + last = i - 1;
80747 +
80748 + print_reglist_range(first, last, reg_table, need_comma, info);
80749 + need_comma = 1;
80750 + first = -1;
80751 + }
80752 +
80753 + if (i < 8)
80754 + i += 4;
80755 + else if (i < 10)
80756 + i += 2;
80757 + else
80758 + i++;
80759 + regmask >>= 1;
80760 + }
80761 +
80762 + *commap = need_comma;
80763 + return first;
80764 +}
80765 +
80766 +static void
80767 +print_reglist8_tail(unsigned long regmask, int first, int need_comma,
80768 + struct disassemble_info *info)
80769 +{
80770 + int last = 11;
80771 +
80772 + if (regmask & 0x20)
80773 + {
80774 + if (first == -1)
80775 + first = 12;
80776 + last = 12;
80777 + }
80778 +
80779 + if (first != -1)
80780 + {
80781 + print_reglist_range(first, last, reg_table, need_comma, info);
80782 + need_comma = 1;
80783 + first = -1;
80784 + }
80785 +
80786 + if (regmask & 0x40)
80787 + {
80788 + if (first == -1)
80789 + first = 14;
80790 + last = 14;
80791 + }
80792 +
80793 + if (regmask & 0x80)
80794 + {
80795 + if (first == -1)
80796 + first = 15;
80797 + last = 15;
80798 + }
80799 +
80800 + if (first != -1)
80801 + print_reglist_range(first, last, reg_table, need_comma, info);
80802 +}
80803 +
80804 +static int
80805 +print_reglist8(struct avr32_operand *op ATTRIBUTE_UNUSED,
80806 + struct disassemble_info *info,
80807 + struct avr32_field_value *ifields)
80808 +{
80809 + unsigned long regmask = ifields[0].value;
80810 + int first, need_comma;
80811 +
80812 + first = print_reglist8_head(regmask, &need_comma, info);
80813 + print_reglist8_tail(regmask, first, need_comma, info);
80814 +
80815 + return 1;
80816 +}
80817 +
80818 +static int
80819 +print_reglist9(struct avr32_operand *op ATTRIBUTE_UNUSED,
80820 + struct disassemble_info *info,
80821 + struct avr32_field_value *ifields)
80822 +{
80823 + unsigned long regmask = ifields[0].value >> 1;
80824 + int first, last, need_comma;
80825 +
80826 + first = print_reglist8_head(regmask, &need_comma, info);
80827 +
80828 + if ((ifields[0].value & 0x101) == 0x101)
80829 + {
80830 + if (first != -1)
80831 + {
80832 + last = 11;
80833 +
80834 + print_reglist_range(first, last, reg_table, need_comma, info);
80835 + need_comma = 1;
80836 + first = -1;
80837 + }
80838 +
80839 + print_reglist_range(15, 15, reg_table, need_comma, info);
80840 +
80841 + regmask >>= 5;
80842 +
80843 + if ((regmask & 3) == 0)
80844 + info->fprintf_func(info->stream, ",r12=0");
80845 + else if ((regmask & 3) == 1)
80846 + info->fprintf_func(info->stream, ",r12=1");
80847 + else
80848 + info->fprintf_func(info->stream, ",r12=-1");
80849 + }
80850 + else
80851 + print_reglist8_tail(regmask, first, need_comma, info);
80852 +
80853 + return 1;
80854 +}
80855 +
80856 +static int
80857 +print_reglist16(struct avr32_operand *op ATTRIBUTE_UNUSED,
80858 + struct disassemble_info *info,
80859 + struct avr32_field_value *ifields)
80860 +{
80861 + unsigned long regmask = ifields[0].value;
80862 + unsigned int i = 0, first, last;
80863 + int need_comma = 0;
80864 +
80865 + while (i < 16)
80866 + {
80867 + if (regmask & 1)
80868 + {
80869 + first = i;
80870 + while (i < 16)
80871 + {
80872 + i++;
80873 + regmask >>= 1;
80874 + if (!(regmask & 1))
80875 + break;
80876 + }
80877 + last = i - 1;
80878 + print_reglist_range(first, last, reg_table, need_comma, info);
80879 + need_comma = 1;
80880 + }
80881 + else
80882 + {
80883 + i++;
80884 + regmask >>= 1;
80885 + }
80886 + }
80887 +
80888 + return 1;
80889 +}
80890 +
80891 +static int
80892 +print_reglist_ldm(struct avr32_operand *op,
80893 + struct disassemble_info *info,
80894 + struct avr32_field_value *ifields)
80895 +{
80896 + int rp, w_bit;
80897 + int i, first, last;
80898 + unsigned long regmask;
80899 +
80900 + rp = ifields[0].value;
80901 + w_bit = ifields[1].value;
80902 + regmask = ifields[2].value;
80903 +
80904 + if (regmask & (1 << AVR32_REG_PC) && rp == AVR32_REG_PC)
80905 + {
80906 + if (w_bit)
80907 + info->fprintf_func(info->stream, "sp++");
80908 + else
80909 + info->fprintf_func(info->stream, "sp");
80910 +
80911 + for (i = 0; i < 12; )
80912 + {
80913 + if (regmask & (1 << i))
80914 + {
80915 + first = i;
80916 + while (i < 12)
80917 + {
80918 + i++;
80919 + if (!(regmask & (1 << i)))
80920 + break;
80921 + }
80922 + last = i - 1;
80923 + print_reglist_range(first, last, reg_table, 1, info);
80924 + }
80925 + else
80926 + i++;
80927 + }
80928 +
80929 + info->fprintf_func(info->stream, ",pc");
80930 + if (regmask & (1 << AVR32_REG_LR))
80931 + info->fprintf_func(info->stream, ",r12=-1");
80932 + else if (regmask & (1 << AVR32_REG_R12))
80933 + info->fprintf_func(info->stream, ",r12=1");
80934 + else
80935 + info->fprintf_func(info->stream, ",r12=0");
80936 + }
80937 + else
80938 + {
80939 + if (w_bit)
80940 + info->fprintf_func(info->stream, "%s++,", reg_table[rp].name);
80941 + else
80942 + info->fprintf_func(info->stream, "%s,", reg_table[rp].name);
80943 +
80944 + print_reglist16(op, info, ifields + 2);
80945 + }
80946 +
80947 + return 3;
80948 +}
80949 +
80950 +static int
80951 +print_reglist_cp8(struct avr32_operand *op ATTRIBUTE_UNUSED,
80952 + struct disassemble_info *info,
80953 + struct avr32_field_value *ifields)
80954 +{
80955 + unsigned long regmask = ifields[0].value;
80956 + unsigned int i = 0, first, last, offset = 0;
80957 + int need_comma = 0;
80958 +
80959 + if (ifields[1].value)
80960 + offset = 8;
80961 +
80962 + while (i < 8)
80963 + {
80964 + if (regmask & 1)
80965 + {
80966 + first = i;
80967 + while (i < 8)
80968 + {
80969 + i++;
80970 + regmask >>= 1;
80971 + if (!(regmask & 1))
80972 + break;
80973 + }
80974 + last = i - 1;
80975 + print_reglist_range(offset + first, offset + last,
80976 + cr_table, need_comma, info);
80977 + need_comma = 1;
80978 + }
80979 + else
80980 + {
80981 + i++;
80982 + regmask >>= 1;
80983 + }
80984 + }
80985 +
80986 + return 2;
80987 +}
80988 +
80989 +static int
80990 +print_reglist_cpd8(struct avr32_operand *op ATTRIBUTE_UNUSED,
80991 + struct disassemble_info *info,
80992 + struct avr32_field_value *ifields)
80993 +{
80994 + unsigned long regmask = ifields[0].value;
80995 + unsigned int i = 0, first, last;
80996 + int need_comma = 0;
80997 +
80998 + while (i < 8)
80999 + {
81000 + if (regmask & 1)
81001 + {
81002 + first = 2 * i;
81003 + while (i < 8)
81004 + {
81005 + i++;
81006 + regmask >>= 1;
81007 + if (!(regmask & 1))
81008 + break;
81009 + }
81010 + last = 2 * (i - 1) + 1;
81011 + print_reglist_range(first, last, cr_table, need_comma, info);
81012 + need_comma = 1;
81013 + }
81014 + else
81015 + {
81016 + i++;
81017 + regmask >>= 1;
81018 + }
81019 + }
81020 +
81021 + return 1;
81022 +}
81023 +
81024 +static int
81025 +print_retval(struct avr32_operand *op ATTRIBUTE_UNUSED,
81026 + struct disassemble_info *info,
81027 + struct avr32_field_value *ifields)
81028 +{
81029 + unsigned long regid = ifields[0].value;
81030 + const char *retval;
81031 +
81032 + if (regid < AVR32_REG_SP)
81033 + retval = reg_table[regid].name;
81034 + else if (regid == AVR32_REG_SP)
81035 + retval = "0";
81036 + else if (regid == AVR32_REG_LR)
81037 + retval = "-1";
81038 + else
81039 + retval = "1";
81040 +
81041 + info->fprintf_func(info->stream, "%s", retval);
81042 +
81043 + return 1;
81044 +}
81045 +
81046 +static int
81047 +print_mcall(struct avr32_operand *op,
81048 + struct disassemble_info *info,
81049 + struct avr32_field_value *ifields)
81050 +{
81051 + unsigned long regid = ifields[0].value;
81052 +
81053 + if (regid == AVR32_REG_PC)
81054 + print_jmplabel(op, info, ifields + 1);
81055 + else
81056 + print_intreg_sdisp(op, info, ifields);
81057 +
81058 + return 2;
81059 +}
81060 +
81061 +static int
81062 +print_jospinc(struct avr32_operand *op ATTRIBUTE_UNUSED,
81063 + struct disassemble_info *info,
81064 + struct avr32_field_value *ifields)
81065 +{
81066 + signed long value = ifields[0].value;
81067 +
81068 + if (value >= 4)
81069 + value -= 8;
81070 + else
81071 + value += 1;
81072 +
81073 + info->fprintf_func(info->stream, "%ld", value);
81074 +
81075 + return 1;
81076 +}
81077 +
81078 +static int
81079 +print_coh(struct avr32_operand *op ATTRIBUTE_UNUSED,
81080 + struct disassemble_info *info,
81081 + struct avr32_field_value *ifields ATTRIBUTE_UNUSED)
81082 +{
81083 + info->fprintf_func(info->stream, "COH");
81084 + return 0;
81085 +}
81086 +
81087 +#define OP(name, sgn, pcrel, align, func) \
81088 + { AVR32_OPERAND_##name, pcrel, align, print_##func }
81089 +
81090 +struct avr32_operand operand[AVR32_NR_OPERANDS] =
81091 + {
81092 + OP(INTREG, 0, 0, 0, intreg),
81093 + OP(INTREG_PREDEC, 0, 0, 0, intreg_predec),
81094 + OP(INTREG_POSTINC, 0, 0, 0, intreg_postinc),
81095 + OP(INTREG_LSL, 0, 0, 0, intreg_lsl),
81096 + OP(INTREG_LSR, 0, 0, 0, intreg_lsr),
81097 + OP(INTREG_BSEL, 0, 0, 0, intreg_bpart),
81098 + OP(INTREG_HSEL, 0, 0, 1, intreg_hpart),
81099 + OP(INTREG_SDISP, 1, 0, 0, intreg_sdisp),
81100 + OP(INTREG_SDISP_H, 1, 0, 1, intreg_sdisp),
81101 + OP(INTREG_SDISP_W, 1, 0, 2, intreg_sdisp),
81102 + OP(INTREG_UDISP, 0, 0, 0, intreg_udisp),
81103 + OP(INTREG_UDISP_H, 0, 0, 1, intreg_udisp),
81104 + OP(INTREG_UDISP_W, 0, 0, 2, intreg_udisp),
81105 + OP(INTREG_INDEX, 0, 0, 0, intreg_index),
81106 + OP(INTREG_XINDEX, 0, 0, 0, intreg_xindex),
81107 + OP(DWREG, 0, 0, 1, intreg),
81108 + OP(PC_UDISP_W, 0, 1, 2, pc_disp),
81109 + OP(SP, 0, 0, 0, sp),
81110 + OP(SP_UDISP_W, 0, 0, 2, sp_disp),
81111 + OP(CPNO, 0, 0, 0, cpno),
81112 + OP(CPREG, 0, 0, 0, cpreg),
81113 + OP(CPREG_D, 0, 0, 1, cpreg),
81114 + OP(UNSIGNED_CONST, 0, 0, 0, uconst),
81115 + OP(UNSIGNED_CONST_W, 0, 0, 2, uconst),
81116 + OP(SIGNED_CONST, 1, 0, 0, sconst),
81117 + OP(SIGNED_CONST_W, 1, 0, 2, sconst),
81118 + OP(JMPLABEL, 1, 1, 1, jmplabel),
81119 + OP(UNSIGNED_NUMBER, 0, 0, 0, uconst),
81120 + OP(UNSIGNED_NUMBER_W, 0, 0, 2, uconst),
81121 + OP(REGLIST8, 0, 0, 0, reglist8),
81122 + OP(REGLIST9, 0, 0, 0, reglist9),
81123 + OP(REGLIST16, 0, 0, 0, reglist16),
81124 + OP(REGLIST_LDM, 0, 0, 0, reglist_ldm),
81125 + OP(REGLIST_CP8, 0, 0, 0, reglist_cp8),
81126 + OP(REGLIST_CPD8, 0, 0, 0, reglist_cpd8),
81127 + OP(RETVAL, 0, 0, 0, retval),
81128 + OP(MCALL, 1, 0, 2, mcall),
81129 + OP(JOSPINC, 0, 0, 0, jospinc),
81130 + OP(COH, 0, 0, 0, coh),
81131 + };
81132 +
81133 +static void
81134 +print_opcode(bfd_vma insn_word, const struct avr32_opcode *opc,
81135 + bfd_vma pc, struct disassemble_info *info)
81136 +{
81137 + const struct avr32_syntax *syntax = opc->syntax;
81138 + struct avr32_field_value fields[AVR32_MAX_FIELDS];
81139 + unsigned int i, next_field = 0, nr_operands;
81140 +
81141 + for (i = 0; i < opc->nr_fields; i++)
81142 + {
81143 + opc->fields[i]->extract(opc->fields[i], &insn_word, &fields[i].value);
81144 + fields[i].ifield = opc->fields[i];
81145 + }
81146 +
81147 + current_pc = pc;
81148 + info->fprintf_func(info->stream, "%s", syntax->mnemonic->name);
81149 +
81150 + if (syntax->nr_operands < 0)
81151 + nr_operands = (unsigned int) -syntax->nr_operands;
81152 + else
81153 + nr_operands = (unsigned int) syntax->nr_operands;
81154 +
81155 + for (i = 0; i < nr_operands; i++)
81156 + {
81157 + struct avr32_operand *op = &operand[syntax->operand[i]];
81158 +
81159 + if (i)
81160 + info->fprintf_func(info->stream, ",");
81161 + else
81162 + info->fprintf_func(info->stream, " ");
81163 + next_field += op->print(op, info, &fields[next_field]);
81164 + }
81165 +}
81166 +
81167 +static const struct avr32_opcode *
81168 +find_opcode(bfd_vma insn_word)
81169 +{
81170 + int i;
81171 +
81172 + for (i = 0; i < AVR32_NR_OPCODES; i++)
81173 + {
81174 + const struct avr32_opcode *opc = &avr32_opc_table[i];
81175 +
81176 + if ((insn_word & opc->mask) == opc->value)
81177 + return opc;
81178 + }
81179 +
81180 + return NULL;
81181 +}
81182 +
81183 +static int
81184 +read_insn_word(bfd_vma pc, bfd_vma *valuep,
81185 + struct disassemble_info *info)
81186 +{
81187 + bfd_byte b[4];
81188 + int status;
81189 +
81190 + status = info->read_memory_func(pc, b, 4, info);
81191 + if (status)
81192 + {
81193 + status = info->read_memory_func(pc, b, 2, info);
81194 + if (status)
81195 + {
81196 + info->memory_error_func(status, pc, info);
81197 + return -1;
81198 + }
81199 + b[3] = b[2] = 0;
81200 + }
81201 +
81202 + *valuep = (b[0] << 24) | (b[1] << 16) | (b[2] << 8) | b[3];
81203 + return 0;
81204 +}
81205 +
81206 +/* Parse an individual disassembler option. */
81207 +
81208 +void
81209 +parse_avr32_disassembler_option (option)
81210 + char * option;
81211 +{
81212 + if (option == NULL)
81213 + return;
81214 +
81215 + /* XXX - should break 'option' at following delimiter. */
81216 + fprintf (stderr, _("Unrecognised disassembler option: %s\n"), option);
81217 +
81218 + return;
81219 +}
81220 +
81221 +/* Parse the string of disassembler options, spliting it at whitespaces
81222 + or commas. (Whitespace separators supported for backwards compatibility). */
81223 +
81224 +static void
81225 +parse_disassembler_options (char *options)
81226 +{
81227 + if (options == NULL)
81228 + return;
81229 +
81230 + while (*options)
81231 + {
81232 + parse_avr32_disassembler_option (options);
81233 +
81234 + /* Skip forward to next seperator. */
81235 + while ((*options) && (! ISSPACE (*options)) && (*options != ','))
81236 + ++ options;
81237 + /* Skip forward past seperators. */
81238 + while (ISSPACE (*options) || (*options == ','))
81239 + ++ options;
81240 + }
81241 +}
81242 +
81243 +int
81244 +print_insn_avr32(bfd_vma pc, struct disassemble_info *info)
81245 +{
81246 + bfd_vma insn_word;
81247 + const struct avr32_opcode *opc;
81248 +
81249 + if (info->disassembler_options)
81250 + {
81251 + parse_disassembler_options (info->disassembler_options);
81252 +
81253 + /* To avoid repeated parsing of these options, we remove them here. */
81254 + info->disassembler_options = NULL;
81255 + }
81256 +
81257 + info->bytes_per_chunk = 1;
81258 + info->display_endian = BFD_ENDIAN_BIG;
81259 +
81260 + if (read_insn_word(pc, &insn_word, info))
81261 + return -1;
81262 +
81263 + opc = find_opcode(insn_word);
81264 + if (opc)
81265 + {
81266 + print_opcode(insn_word, opc, pc, info);
81267 + return opc->size;
81268 + }
81269 + else
81270 + {
81271 + info->fprintf_func(info->stream, _("*unknown*"));
81272 + return 2;
81273 + }
81274 +
81275 +}
81276 +
81277 +void
81278 +print_avr32_disassembler_options (FILE *stream ATTRIBUTE_UNUSED)
81279 +{
81280 +
81281 +}
81282 Index: binutils-2.17/opcodes/avr32-opc.c
81283 ===================================================================
81284 --- /dev/null 1970-01-01 00:00:00.000000000 +0000
81285 +++ binutils-2.17/opcodes/avr32-opc.c 2007-06-28 09:19:36.677660600 +0200
81286 @@ -0,0 +1,6140 @@
81287 +/* Opcode tables for AVR32.
81288 + Copyright 2005, 2006 Atmel Corporation.
81289 +
81290 + Written by Haavard Skinnemoen, Atmel Norway, <hskinnemoen@atmel.com>
81291 +
81292 + This file is part of libopcodes.
81293 +
81294 + This program is free software; you can redistribute it and/or
81295 + modify it under the terms of the GNU General Public License as
81296 + published by the Free Software Foundation; either version 2 of the
81297 + License, or (at your option) any later version.
81298 +
81299 + This program is distributed in the hope that it will be useful, but
81300 + WITHOUT ANY WARRANTY; without even the implied warranty of
81301 + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
81302 + General Public License for more details.
81303 +
81304 + You should have received a copy of the GNU General Public License
81305 + along with this program; if not, write to the Free Software
81306 + Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
81307 + 02111-1307, USA. */
81308 +
81309 +#include <stdlib.h>
81310 +#include <assert.h>
81311 +
81312 +#include "avr32-opc.h"
81313 +
81314 +#define PICO_CPNO 1
81315 +
81316 +void
81317 +avr32_insert_simple(const struct avr32_ifield *field,
81318 + void *buf, unsigned long value)
81319 +{
81320 + bfd_vma word;
81321 +
81322 + word = bfd_getb32(buf);
81323 + word &= ~field->mask;
81324 + word |= (value << field->shift) & field->mask;
81325 + bfd_putb32(word, buf);
81326 +}
81327 +
81328 +void
81329 +avr32_insert_bit5c(const struct avr32_ifield *field ATTRIBUTE_UNUSED,
81330 + void *buf, unsigned long value)
81331 +{
81332 + char *opcode = buf;
81333 +
81334 + opcode[0] = (opcode[0] & 0xe1) | (value & 0x1e);
81335 + opcode[1] = (opcode[1] & 0xef) | ((value & 1) << 4);
81336 +}
81337 +
81338 +void
81339 +avr32_insert_k10(const struct avr32_ifield *field ATTRIBUTE_UNUSED,
81340 + void *buf, unsigned long value)
81341 +{
81342 + char *opcode = buf;
81343 +
81344 + opcode[0] = (opcode[0] & 0xf0) | ((value & 0xf0) >> 4);
81345 + opcode[1] = ((opcode[1] & 0x0c) | ((value & 0x0f) << 4)
81346 + | ((value & 0x300) >> 8));
81347 +}
81348 +
81349 +void
81350 +avr32_insert_k21(const struct avr32_ifield *field,
81351 + void *buf, unsigned long value)
81352 +{
81353 + bfd_vma word;
81354 + bfd_vma k21;
81355 +
81356 + word = bfd_getb32(buf);
81357 + word &= ~field->mask;
81358 + k21 = ((value & 0xffff) | ((value & 0x10000) << 4)
81359 + | ((value & 0x1e0000) << 8));
81360 + assert(!(k21 & ~field->mask));
81361 + word |= k21;
81362 + bfd_putb32(word, buf);
81363 +}
81364 +
81365 +void
81366 +avr32_insert_cpop(const struct avr32_ifield *field,
81367 + void *buf, unsigned long value)
81368 +{
81369 + bfd_vma word;
81370 +
81371 + word = bfd_getb32(buf);
81372 + word &= ~field->mask;
81373 + word |= (((value & 0x1e) << 15) | ((value & 0x60) << 20)
81374 + | ((value & 0x01) << 12));
81375 + bfd_putb32(word, buf);
81376 +}
81377 +
81378 +void
81379 +avr32_insert_k12cp(const struct avr32_ifield *field,
81380 + void *buf, unsigned long value)
81381 +{
81382 + bfd_vma word;
81383 +
81384 + word = bfd_getb32(buf);
81385 + word &= ~field->mask;
81386 + word |= ((value & 0xf00) << 4) | (value & 0xff);
81387 + bfd_putb32(word, buf);
81388 +}
81389 +
81390 +void avr32_extract_simple(const struct avr32_ifield *field,
81391 + void *buf, unsigned long *value)
81392 +{
81393 + /* XXX: The disassembler has done any necessary byteswapping already */
81394 + bfd_vma word = *(bfd_vma *)buf;
81395 +
81396 + *value = (word & field->mask) >> field->shift;
81397 +}
81398 +
81399 +void avr32_extract_bit5c(const struct avr32_ifield *field ATTRIBUTE_UNUSED,
81400 + void *buf, unsigned long *value)
81401 +{
81402 + bfd_vma word = *(bfd_vma *)buf;
81403 +
81404 + *value = ((word >> 20) & 1) | ((word >> 24) & 0x1e);
81405 +}
81406 +
81407 +void avr32_extract_k10(const struct avr32_ifield *field ATTRIBUTE_UNUSED,
81408 + void *buf, unsigned long *value)
81409 +{
81410 + bfd_vma word = *(bfd_vma *)buf;
81411 +
81412 + *value = ((word >> 8) & 0x300) | ((word >> 20) & 0xff);
81413 +}
81414 +
81415 +void avr32_extract_k21(const struct avr32_ifield *field ATTRIBUTE_UNUSED,
81416 + void *buf, unsigned long *value)
81417 +{
81418 + bfd_vma word = *(bfd_vma *)buf;
81419 +
81420 + *value = ((word & 0xffff) | ((word >> 4) & 0x10000)
81421 + | ((word >> 8) & 0x1e0000));
81422 +}
81423 +
81424 +void avr32_extract_cpop(const struct avr32_ifield *field ATTRIBUTE_UNUSED,
81425 + void *buf, unsigned long *value)
81426 +{
81427 + bfd_vma word = *(bfd_vma *)buf;
81428 +
81429 + *value = (((word >> 12) & 1) | ((word >> 15) & 0x1e)
81430 + | ((word >> 20) & 0x60));
81431 +}
81432 +
81433 +void avr32_extract_k12cp(const struct avr32_ifield *field ATTRIBUTE_UNUSED,
81434 + void *buf, unsigned long *value)
81435 +{
81436 + bfd_vma word = *(bfd_vma *)buf;
81437 +
81438 + *value = ((word >> 4) & 0xf00) | (word & 0xff);
81439 +}
81440 +
81441 +#define IFLD(id, bitsz, shift, mask, func) \
81442 + { AVR32_IFIELD_##id, bitsz, shift, mask, \
81443 + avr32_insert_##func, avr32_extract_##func }
81444 +
81445 +const struct avr32_ifield avr32_ifield_table[] =
81446 + {
81447 + IFLD(RX, 4, 25, 0x1e000000, simple),
81448 + IFLD(RY, 4, 16, 0x000f0000, simple),
81449 + IFLD(COND4C, 4, 20, 0x00f00000, simple),
81450 + IFLD(K8C, 8, 20, 0x0ff00000, simple),
81451 + IFLD(K7C, 7, 20, 0x07f00000, simple),
81452 + IFLD(K5C, 5, 20, 0x01f00000, simple),
81453 + IFLD(K3, 3, 20, 0x00700000, simple),
81454 + IFLD(RY_DW, 3, 17, 0x000e0000, simple),
81455 + IFLD(COND4E, 4, 8, 0x00000f00, simple),
81456 + IFLD(K8E, 8, 0, 0x000000ff, simple),
81457 + IFLD(BIT5C, 5, 20, 0x1e100000, bit5c),
81458 + IFLD(COND3, 3, 16, 0x00070000, simple),
81459 + IFLD(K10, 10, 16, 0x0ff30000, k10),
81460 + IFLD(POPM, 9, 19, 0x0ff80000, simple),
81461 + IFLD(K2, 2, 4, 0x00000030, simple),
81462 + IFLD(RD_E, 4, 0, 0x0000000f, simple),
81463 + IFLD(RD_DW, 3, 1, 0x0000000e, simple),
81464 + IFLD(X, 1, 5, 0x00000020, simple),
81465 + IFLD(Y, 1, 4, 0x00000010, simple),
81466 + IFLD(X2, 1, 13, 0x00002000, simple),
81467 + IFLD(Y2, 1, 12, 0x00001000, simple),
81468 + IFLD(K5E, 5, 0, 0x0000001f, simple),
81469 + IFLD(PART2, 2, 0, 0x00000003, simple),
81470 + IFLD(PART1, 1, 0, 0x00000001, simple),
81471 + IFLD(K16, 16, 0, 0x0000ffff, simple),
81472 + IFLD(CACHEOP, 5, 11, 0x0000f800, simple),
81473 + IFLD(K11, 11, 0, 0x000007ff, simple),
81474 + IFLD(K21, 21, 0, 0x1e10ffff, k21),
81475 + IFLD(CPOP, 7, 12, 0x060f1000, cpop),
81476 + IFLD(CPNO, 3, 13, 0x0000e000, simple),
81477 + IFLD(CRD_RI, 4, 8, 0x00000f00, simple),
81478 + IFLD(CRX, 4, 4, 0x000000f0, simple),
81479 + IFLD(CRY, 4, 0, 0x0000000f, simple),
81480 + IFLD(K7E, 7, 0, 0x0000007f, simple),
81481 + IFLD(CRD_DW, 3, 9, 0x00000e00, simple),
81482 + IFLD(PART1_K12, 1, 12, 0x00001000, simple),
81483 + IFLD(PART2_K12, 2, 12, 0x00003000, simple),
81484 + IFLD(K12, 12, 0, 0x00000fff, simple),
81485 + IFLD(S5, 5, 5, 0x000003e0, simple),
81486 + IFLD(K5E2, 5, 4, 0x000001f0, simple),
81487 + IFLD(K4, 4, 20, 0x00f00000, simple),
81488 + IFLD(COND4E2, 4, 4, 0x000000f0, simple),
81489 + IFLD(K8E2, 8, 4, 0x00000ff0, simple),
81490 + IFLD(K6, 6, 20, 0x03f00000, simple),
81491 + IFLD(MEM15, 15, 0, 0x00007fff, simple),
81492 + IFLD(MEMB5, 5, 15, 0x000f8000, simple),
81493 + IFLD(W, 1, 25, 0x02000000, simple),
81494 + /* Coprocessor Multiple High/Low */
81495 + IFLD(CM_HL, 1, 8, 0x00000100, simple),
81496 + IFLD(K12CP, 12 ,0, 0x0000f0ff, k12cp),
81497 + };
81498 +#undef IFLD
81499 +
81500 +
81501 +struct avr32_opcode avr32_opc_table[] =
81502 + {
81503 + {
81504 + AVR32_OPC_ABS, 2, 0x5c400000, 0xfff00000,
81505 + &avr32_syntax_table[AVR32_SYNTAX_ABS],
81506 + BFD_RELOC_UNUSED, 1, -1,
81507 + {
81508 + &avr32_ifield_table[AVR32_IFIELD_RY],
81509 + }
81510 + },
81511 + {
81512 + AVR32_OPC_ACALL, 2, 0xd0000000, 0xf00f0000,
81513 + &avr32_syntax_table[AVR32_SYNTAX_ACALL],
81514 + BFD_RELOC_UNUSED, 1, -1,
81515 + {
81516 + &avr32_ifield_table[AVR32_IFIELD_K8C],
81517 + },
81518 + },
81519 + {
81520 + AVR32_OPC_ACR, 2, 0x5c000000, 0xfff00000,
81521 + &avr32_syntax_table[AVR32_SYNTAX_ACR],
81522 + BFD_RELOC_UNUSED, 1, -1,
81523 + {
81524 + &avr32_ifield_table[AVR32_IFIELD_RY],
81525 + },
81526 + },
81527 + {
81528 + AVR32_OPC_ADC, 4, 0xe0000040, 0xe1f0fff0,
81529 + &avr32_syntax_table[AVR32_SYNTAX_ADC],
81530 + BFD_RELOC_UNUSED, 3, -1,
81531 + {
81532 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
81533 + &avr32_ifield_table[AVR32_IFIELD_RX],
81534 + &avr32_ifield_table[AVR32_IFIELD_RY],
81535 + },
81536 + },
81537 + {
81538 + AVR32_OPC_ADD1, 2, 0x00000000, 0xe1f00000,
81539 + &avr32_syntax_table[AVR32_SYNTAX_ADD1],
81540 + BFD_RELOC_UNUSED, 2, -1,
81541 + {
81542 + &avr32_ifield_table[AVR32_IFIELD_RY],
81543 + &avr32_ifield_table[AVR32_IFIELD_RX],
81544 + },
81545 + },
81546 + {
81547 + AVR32_OPC_ADD2, 4, 0xe0000000, 0xe1f0ffc0,
81548 + &avr32_syntax_table[AVR32_SYNTAX_ADD2],
81549 + BFD_RELOC_UNUSED, 4, -1,
81550 + {
81551 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
81552 + &avr32_ifield_table[AVR32_IFIELD_RX],
81553 + &avr32_ifield_table[AVR32_IFIELD_RY],
81554 + &avr32_ifield_table[AVR32_IFIELD_K2],
81555 + },
81556 + },
81557 + {
81558 + AVR32_OPC_ADDABS, 4, 0xe0000e40, 0xe1f0fff0,
81559 + &avr32_syntax_table[AVR32_SYNTAX_ADDABS],
81560 + BFD_RELOC_UNUSED, 3, -1,
81561 + {
81562 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
81563 + &avr32_ifield_table[AVR32_IFIELD_RX],
81564 + &avr32_ifield_table[AVR32_IFIELD_RY],
81565 + },
81566 + },
81567 + {
81568 + AVR32_OPC_ADDHH_W, 4, 0xe0000e00, 0xe1f0ffc0,
81569 + &avr32_syntax_table[AVR32_SYNTAX_ADDHH_W],
81570 + BFD_RELOC_UNUSED, 5, -1,
81571 + {
81572 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
81573 + &avr32_ifield_table[AVR32_IFIELD_RX],
81574 + &avr32_ifield_table[AVR32_IFIELD_X],
81575 + &avr32_ifield_table[AVR32_IFIELD_RY],
81576 + &avr32_ifield_table[AVR32_IFIELD_Y],
81577 + },
81578 + },
81579 + {
81580 + AVR32_OPC_AND1, 2, 0x00600000, 0xe1f00000,
81581 + &avr32_syntax_table[AVR32_SYNTAX_AND1],
81582 + BFD_RELOC_UNUSED, 2, -1,
81583 + {
81584 + &avr32_ifield_table[AVR32_IFIELD_RY],
81585 + &avr32_ifield_table[AVR32_IFIELD_RX],
81586 + },
81587 + },
81588 + {
81589 + AVR32_OPC_AND2, 4, 0xe1e00000, 0xe1f0fe00,
81590 + &avr32_syntax_table[AVR32_SYNTAX_AND2],
81591 + BFD_RELOC_UNUSED, 4, -1,
81592 + {
81593 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
81594 + &avr32_ifield_table[AVR32_IFIELD_RX],
81595 + &avr32_ifield_table[AVR32_IFIELD_RY],
81596 + &avr32_ifield_table[AVR32_IFIELD_K5E2],
81597 + },
81598 + },
81599 + {
81600 + AVR32_OPC_AND3, 4, 0xe1e00200, 0xe1f0fe00,
81601 + &avr32_syntax_table[AVR32_SYNTAX_AND3],
81602 + BFD_RELOC_UNUSED, 4, -1,
81603 + {
81604 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
81605 + &avr32_ifield_table[AVR32_IFIELD_RX],
81606 + &avr32_ifield_table[AVR32_IFIELD_RY],
81607 + &avr32_ifield_table[AVR32_IFIELD_K5E2],
81608 + },
81609 + },
81610 + {
81611 + AVR32_OPC_ANDH, 4, 0xe4100000, 0xfff00000,
81612 + &avr32_syntax_table[AVR32_SYNTAX_ANDH],
81613 + BFD_RELOC_AVR32_16U, 2, 1,
81614 + {
81615 + &avr32_ifield_table[AVR32_IFIELD_RY],
81616 + &avr32_ifield_table[AVR32_IFIELD_K16],
81617 + },
81618 + },
81619 + {
81620 + AVR32_OPC_ANDH_COH, 4, 0xe6100000, 0xfff00000,
81621 + &avr32_syntax_table[AVR32_SYNTAX_ANDH_COH],
81622 + BFD_RELOC_AVR32_16U, 2, 1,
81623 + {
81624 + &avr32_ifield_table[AVR32_IFIELD_RY],
81625 + &avr32_ifield_table[AVR32_IFIELD_K16],
81626 + },
81627 + },
81628 + {
81629 + AVR32_OPC_ANDL, 4, 0xe0100000, 0xfff00000,
81630 + &avr32_syntax_table[AVR32_SYNTAX_ANDL],
81631 + BFD_RELOC_AVR32_16U, 2, 1,
81632 + {
81633 + &avr32_ifield_table[AVR32_IFIELD_RY],
81634 + &avr32_ifield_table[AVR32_IFIELD_K16],
81635 + },
81636 + },
81637 + {
81638 + AVR32_OPC_ANDL_COH, 4, 0xe2100000, 0xfff00000,
81639 + &avr32_syntax_table[AVR32_SYNTAX_ANDL_COH],
81640 + BFD_RELOC_AVR32_16U, 2, 1,
81641 + {
81642 + &avr32_ifield_table[AVR32_IFIELD_RY],
81643 + &avr32_ifield_table[AVR32_IFIELD_K16],
81644 + },
81645 + },
81646 + {
81647 + AVR32_OPC_ANDN, 2, 0x00800000, 0xe1f00000,
81648 + &avr32_syntax_table[AVR32_SYNTAX_ANDN],
81649 + BFD_RELOC_UNUSED, 2, -1,
81650 + {
81651 + &avr32_ifield_table[AVR32_IFIELD_RY],
81652 + &avr32_ifield_table[AVR32_IFIELD_RX],
81653 + },
81654 + },
81655 + {
81656 + AVR32_OPC_ASR1, 4, 0xe0000840, 0xe1f0fff0,
81657 + &avr32_syntax_table[AVR32_SYNTAX_ASR1],
81658 + BFD_RELOC_UNUSED, 3, -1,
81659 + {
81660 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
81661 + &avr32_ifield_table[AVR32_IFIELD_RX],
81662 + &avr32_ifield_table[AVR32_IFIELD_RY],
81663 + },
81664 + },
81665 + {
81666 + AVR32_OPC_ASR3, 4, 0xe0001400, 0xe1f0ffe0,
81667 + &avr32_syntax_table[AVR32_SYNTAX_ASR3],
81668 + BFD_RELOC_UNUSED, 3, -1,
81669 + {
81670 + &avr32_ifield_table[AVR32_IFIELD_RY],
81671 + &avr32_ifield_table[AVR32_IFIELD_RX],
81672 + &avr32_ifield_table[AVR32_IFIELD_K5E],
81673 + },
81674 + },
81675 + {
81676 + AVR32_OPC_ASR2, 2, 0xa1400000, 0xe1e00000,
81677 + &avr32_syntax_table[AVR32_SYNTAX_ASR2],
81678 + BFD_RELOC_UNUSED, 2, -1,
81679 + {
81680 + &avr32_ifield_table[AVR32_IFIELD_RY],
81681 + &avr32_ifield_table[AVR32_IFIELD_BIT5C],
81682 + },
81683 + },
81684 + {
81685 + AVR32_OPC_BLD, 4, 0xedb00000, 0xfff0ffe0,
81686 + &avr32_syntax_table[AVR32_SYNTAX_BLD],
81687 + BFD_RELOC_UNUSED, 2, -1,
81688 + {
81689 + &avr32_ifield_table[AVR32_IFIELD_RY],
81690 + &avr32_ifield_table[AVR32_IFIELD_K5E],
81691 + },
81692 + },
81693 + {
81694 + AVR32_OPC_BREQ1, 2, 0xc0000000, 0xf00f0000,
81695 + &avr32_syntax_table[AVR32_SYNTAX_BREQ1],
81696 + BFD_RELOC_AVR32_9H_PCREL, 1, 0,
81697 + {
81698 + &avr32_ifield_table[AVR32_IFIELD_K8C],
81699 + },
81700 + },
81701 + {
81702 + AVR32_OPC_BRNE1, 2, 0xc0010000, 0xf00f0000,
81703 + &avr32_syntax_table[AVR32_SYNTAX_BRNE1],
81704 + BFD_RELOC_AVR32_9H_PCREL, 1, 0,
81705 + {
81706 + &avr32_ifield_table[AVR32_IFIELD_K8C],
81707 + },
81708 + },
81709 + {
81710 + AVR32_OPC_BRCC1, 2, 0xc0020000, 0xf00f0000,
81711 + &avr32_syntax_table[AVR32_SYNTAX_BRCC1],
81712 + BFD_RELOC_AVR32_9H_PCREL, 1, 0,
81713 + {
81714 + &avr32_ifield_table[AVR32_IFIELD_K8C],
81715 + },
81716 + },
81717 + {
81718 + AVR32_OPC_BRCS1, 2, 0xc0030000, 0xf00f0000,
81719 + &avr32_syntax_table[AVR32_SYNTAX_BRCS1],
81720 + BFD_RELOC_AVR32_9H_PCREL, 1, 0,
81721 + {
81722 + &avr32_ifield_table[AVR32_IFIELD_K8C],
81723 + },
81724 + },
81725 + {
81726 + AVR32_OPC_BRGE1, 2, 0xc0040000, 0xf00f0000,
81727 + &avr32_syntax_table[AVR32_SYNTAX_BRGE1],
81728 + BFD_RELOC_AVR32_9H_PCREL, 1, 0,
81729 + {
81730 + &avr32_ifield_table[AVR32_IFIELD_K8C],
81731 + },
81732 + },
81733 + {
81734 + AVR32_OPC_BRLT1, 2, 0xc0050000, 0xf00f0000,
81735 + &avr32_syntax_table[AVR32_SYNTAX_BRLT1],
81736 + BFD_RELOC_AVR32_9H_PCREL, 1, 0,
81737 + {
81738 + &avr32_ifield_table[AVR32_IFIELD_K8C],
81739 + },
81740 + },
81741 + {
81742 + AVR32_OPC_BRMI1, 2, 0xc0060000, 0xf00f0000,
81743 + &avr32_syntax_table[AVR32_SYNTAX_BRMI1],
81744 + BFD_RELOC_AVR32_9H_PCREL, 1, 0,
81745 + {
81746 + &avr32_ifield_table[AVR32_IFIELD_K8C],
81747 + },
81748 + },
81749 + {
81750 + AVR32_OPC_BRPL1, 2, 0xc0070000, 0xf00f0000,
81751 + &avr32_syntax_table[AVR32_SYNTAX_BRPL1],
81752 + BFD_RELOC_AVR32_9H_PCREL, 1, 0,
81753 + {
81754 + &avr32_ifield_table[AVR32_IFIELD_K8C],
81755 + },
81756 + },
81757 + {
81758 + AVR32_OPC_BREQ2, 4, 0xe0800000, 0xe1ef0000,
81759 + &avr32_syntax_table[AVR32_SYNTAX_BREQ2],
81760 + BFD_RELOC_AVR32_22H_PCREL, 1, 0,
81761 + {
81762 + &avr32_ifield_table[AVR32_IFIELD_K21],
81763 + },
81764 + },
81765 + {
81766 + AVR32_OPC_BRNE2, 4, 0xe0810000, 0xe1ef0000,
81767 + &avr32_syntax_table[AVR32_SYNTAX_BRNE2],
81768 + BFD_RELOC_AVR32_22H_PCREL, 1, 0,
81769 + {
81770 + &avr32_ifield_table[AVR32_IFIELD_K21],
81771 + },
81772 + },
81773 + {
81774 + AVR32_OPC_BRCC2, 4, 0xe0820000, 0xe1ef0000,
81775 + &avr32_syntax_table[AVR32_SYNTAX_BRHS2],
81776 + BFD_RELOC_AVR32_22H_PCREL, 1, 0,
81777 + {
81778 + &avr32_ifield_table[AVR32_IFIELD_K21],
81779 + },
81780 + },
81781 + {
81782 + AVR32_OPC_BRCS2, 4, 0xe0830000, 0xe1ef0000,
81783 + &avr32_syntax_table[AVR32_SYNTAX_BRLO2],
81784 + BFD_RELOC_AVR32_22H_PCREL, 1, 0,
81785 + {
81786 + &avr32_ifield_table[AVR32_IFIELD_K21],
81787 + },
81788 + },
81789 + {
81790 + AVR32_OPC_BRGE2, 4, 0xe0840000, 0xe1ef0000,
81791 + &avr32_syntax_table[AVR32_SYNTAX_BRGE2],
81792 + BFD_RELOC_AVR32_22H_PCREL, 1, 0,
81793 + {
81794 + &avr32_ifield_table[AVR32_IFIELD_K21],
81795 + },
81796 + },
81797 + {
81798 + AVR32_OPC_BRLT2, 4, 0xe0850000, 0xe1ef0000,
81799 + &avr32_syntax_table[AVR32_SYNTAX_BRLT2],
81800 + BFD_RELOC_AVR32_22H_PCREL, 1, 0,
81801 + {
81802 + &avr32_ifield_table[AVR32_IFIELD_K21],
81803 + },
81804 + },
81805 + {
81806 + AVR32_OPC_BRMI2, 4, 0xe0860000, 0xe1ef0000,
81807 + &avr32_syntax_table[AVR32_SYNTAX_BRMI2],
81808 + BFD_RELOC_AVR32_22H_PCREL, 1, 0,
81809 + {
81810 + &avr32_ifield_table[AVR32_IFIELD_K21],
81811 + },
81812 + },
81813 + {
81814 + AVR32_OPC_BRPL2, 4, 0xe0870000, 0xe1ef0000,
81815 + &avr32_syntax_table[AVR32_SYNTAX_BRPL2],
81816 + BFD_RELOC_AVR32_22H_PCREL, 1, 0,
81817 + {
81818 + &avr32_ifield_table[AVR32_IFIELD_K21],
81819 + },
81820 + },
81821 + {
81822 + AVR32_OPC_BRLS, 4, 0xe0880000, 0xe1ef0000,
81823 + &avr32_syntax_table[AVR32_SYNTAX_BRLS],
81824 + BFD_RELOC_AVR32_22H_PCREL, 1, 0,
81825 + {
81826 + &avr32_ifield_table[AVR32_IFIELD_K21],
81827 + },
81828 + },
81829 + {
81830 + AVR32_OPC_BRGT, 4, 0xe0890000, 0xe1ef0000,
81831 + &avr32_syntax_table[AVR32_SYNTAX_BRGT],
81832 + BFD_RELOC_AVR32_22H_PCREL, 1, 0,
81833 + {
81834 + &avr32_ifield_table[AVR32_IFIELD_K21],
81835 + },
81836 + },
81837 + {
81838 + AVR32_OPC_BRLE, 4, 0xe08a0000, 0xe1ef0000,
81839 + &avr32_syntax_table[AVR32_SYNTAX_BRLE],
81840 + BFD_RELOC_AVR32_22H_PCREL, 1, 0,
81841 + {
81842 + &avr32_ifield_table[AVR32_IFIELD_K21],
81843 + },
81844 + },
81845 + {
81846 + AVR32_OPC_BRHI, 4, 0xe08b0000, 0xe1ef0000,
81847 + &avr32_syntax_table[AVR32_SYNTAX_BRHI],
81848 + BFD_RELOC_AVR32_22H_PCREL, 1, 0,
81849 + {
81850 + &avr32_ifield_table[AVR32_IFIELD_K21],
81851 + },
81852 + },
81853 + {
81854 + AVR32_OPC_BRVS, 4, 0xe08c0000, 0xe1ef0000,
81855 + &avr32_syntax_table[AVR32_SYNTAX_BRVS],
81856 + BFD_RELOC_AVR32_22H_PCREL, 1, 0,
81857 + {
81858 + &avr32_ifield_table[AVR32_IFIELD_K21],
81859 + },
81860 + },
81861 + {
81862 + AVR32_OPC_BRVC, 4, 0xe08d0000, 0xe1ef0000,
81863 + &avr32_syntax_table[AVR32_SYNTAX_BRVC],
81864 + BFD_RELOC_AVR32_22H_PCREL, 1, 0,
81865 + {
81866 + &avr32_ifield_table[AVR32_IFIELD_K21],
81867 + },
81868 + },
81869 + {
81870 + AVR32_OPC_BRQS, 4, 0xe08e0000, 0xe1ef0000,
81871 + &avr32_syntax_table[AVR32_SYNTAX_BRQS],
81872 + BFD_RELOC_AVR32_22H_PCREL, 1, 0,
81873 + {
81874 + &avr32_ifield_table[AVR32_IFIELD_K21],
81875 + },
81876 + },
81877 + {
81878 + AVR32_OPC_BRAL, 4, 0xe08f0000, 0xe1ef0000,
81879 + &avr32_syntax_table[AVR32_SYNTAX_BRAL],
81880 + BFD_RELOC_AVR32_22H_PCREL, 1, 0,
81881 + {
81882 + &avr32_ifield_table[AVR32_IFIELD_K21],
81883 + },
81884 + },
81885 + {
81886 + AVR32_OPC_BREAKPOINT, 2, 0xd6730000, 0xffff0000,
81887 + &avr32_syntax_table[AVR32_SYNTAX_BREAKPOINT],
81888 + BFD_RELOC_UNUSED, 0, -1, { NULL },
81889 + },
81890 + {
81891 + AVR32_OPC_BREV, 2, 0x5c900000, 0xfff00000,
81892 + &avr32_syntax_table[AVR32_SYNTAX_BREV],
81893 + BFD_RELOC_UNUSED, 1, -1,
81894 + {
81895 + &avr32_ifield_table[AVR32_IFIELD_RY],
81896 + },
81897 + },
81898 + {
81899 + AVR32_OPC_BST, 4, 0xefb00000, 0xfff0ffe0,
81900 + &avr32_syntax_table[AVR32_SYNTAX_BST],
81901 + BFD_RELOC_UNUSED, 2, -1,
81902 + {
81903 + &avr32_ifield_table[AVR32_IFIELD_RY],
81904 + &avr32_ifield_table[AVR32_IFIELD_K5E],
81905 + },
81906 + },
81907 + {
81908 + AVR32_OPC_CACHE, 4, 0xf4100000, 0xfff00000,
81909 + &avr32_syntax_table[AVR32_SYNTAX_CACHE],
81910 + BFD_RELOC_UNUSED, 3, -1,
81911 + {
81912 + &avr32_ifield_table[AVR32_IFIELD_RY],
81913 + &avr32_ifield_table[AVR32_IFIELD_K11],
81914 + &avr32_ifield_table[AVR32_IFIELD_CACHEOP],
81915 + },
81916 + },
81917 + {
81918 + AVR32_OPC_CASTS_B, 2, 0x5c600000, 0xfff00000,
81919 + &avr32_syntax_table[AVR32_SYNTAX_CASTS_B],
81920 + BFD_RELOC_UNUSED, 1, -1,
81921 + {
81922 + &avr32_ifield_table[AVR32_IFIELD_RY],
81923 + },
81924 + },
81925 + {
81926 + AVR32_OPC_CASTS_H, 2, 0x5c800000, 0xfff00000,
81927 + &avr32_syntax_table[AVR32_SYNTAX_CASTS_H],
81928 + BFD_RELOC_UNUSED, 1, -1,
81929 + {
81930 + &avr32_ifield_table[AVR32_IFIELD_RY],
81931 + },
81932 + },
81933 + {
81934 + AVR32_OPC_CASTU_B, 2, 0x5c500000, 0xfff00000,
81935 + &avr32_syntax_table[AVR32_SYNTAX_CASTU_B],
81936 + BFD_RELOC_UNUSED, 1, -1,
81937 + {
81938 + &avr32_ifield_table[AVR32_IFIELD_RY],
81939 + },
81940 + },
81941 + {
81942 + AVR32_OPC_CASTU_H, 2, 0x5c700000, 0xfff00000,
81943 + &avr32_syntax_table[AVR32_SYNTAX_CASTU_H],
81944 + BFD_RELOC_UNUSED, 1, -1,
81945 + {
81946 + &avr32_ifield_table[AVR32_IFIELD_RY],
81947 + },
81948 + },
81949 + {
81950 + AVR32_OPC_CBR, 2, 0xa1c00000, 0xe1e00000,
81951 + &avr32_syntax_table[AVR32_SYNTAX_CBR],
81952 + BFD_RELOC_UNUSED, 2, -1,
81953 + {
81954 + &avr32_ifield_table[AVR32_IFIELD_RY],
81955 + &avr32_ifield_table[AVR32_IFIELD_BIT5C],
81956 + },
81957 + },
81958 + {
81959 + AVR32_OPC_CLZ, 4, 0xe0001200, 0xe1f0ffff,
81960 + &avr32_syntax_table[AVR32_SYNTAX_CLZ],
81961 + BFD_RELOC_UNUSED, 2, -1,
81962 + {
81963 + &avr32_ifield_table[AVR32_IFIELD_RY],
81964 + &avr32_ifield_table[AVR32_IFIELD_RX],
81965 + },
81966 + },
81967 + {
81968 + AVR32_OPC_COM, 2, 0x5cd00000, 0xfff00000,
81969 + &avr32_syntax_table[AVR32_SYNTAX_COM],
81970 + BFD_RELOC_UNUSED, 1, -1,
81971 + {
81972 + &avr32_ifield_table[AVR32_IFIELD_RY],
81973 + },
81974 + },
81975 + {
81976 + AVR32_OPC_COP, 4, 0xe1a00000, 0xf9f00000,
81977 + &avr32_syntax_table[AVR32_SYNTAX_COP],
81978 + BFD_RELOC_UNUSED, 5, -1,
81979 + {
81980 + &avr32_ifield_table[AVR32_IFIELD_CPNO],
81981 + &avr32_ifield_table[AVR32_IFIELD_CRD_RI],
81982 + &avr32_ifield_table[AVR32_IFIELD_CRX],
81983 + &avr32_ifield_table[AVR32_IFIELD_CRY],
81984 + &avr32_ifield_table[AVR32_IFIELD_CPOP],
81985 + },
81986 + },
81987 + {
81988 + AVR32_OPC_CP_B, 4, 0xe0001800, 0xe1f0ffff,
81989 + &avr32_syntax_table[AVR32_SYNTAX_CP_B],
81990 + BFD_RELOC_UNUSED, 2, -1,
81991 + {
81992 + &avr32_ifield_table[AVR32_IFIELD_RY],
81993 + &avr32_ifield_table[AVR32_IFIELD_RX],
81994 + },
81995 + },
81996 + {
81997 + AVR32_OPC_CP_H, 4, 0xe0001900, 0xe1f0ffff,
81998 + &avr32_syntax_table[AVR32_SYNTAX_CP_H],
81999 + BFD_RELOC_UNUSED, 2, -1,
82000 + {
82001 + &avr32_ifield_table[AVR32_IFIELD_RY],
82002 + &avr32_ifield_table[AVR32_IFIELD_RX],
82003 + },
82004 + },
82005 + {
82006 + AVR32_OPC_CP_W1, 2, 0x00300000, 0xe1f00000,
82007 + &avr32_syntax_table[AVR32_SYNTAX_CP_W1],
82008 + BFD_RELOC_UNUSED, 2, -1,
82009 + {
82010 + &avr32_ifield_table[AVR32_IFIELD_RY],
82011 + &avr32_ifield_table[AVR32_IFIELD_RX],
82012 + },
82013 + },
82014 + {
82015 + AVR32_OPC_CP_W2, 2, 0x58000000, 0xfc000000,
82016 + &avr32_syntax_table[AVR32_SYNTAX_CP_W2],
82017 + BFD_RELOC_AVR32_6S, 2, 1,
82018 + {
82019 + &avr32_ifield_table[AVR32_IFIELD_RY],
82020 + &avr32_ifield_table[AVR32_IFIELD_K6],
82021 + },
82022 + },
82023 + {
82024 + AVR32_OPC_CP_W3, 4, 0xe0400000, 0xe1e00000,
82025 + &avr32_syntax_table[AVR32_SYNTAX_CP_W3],
82026 + BFD_RELOC_AVR32_21S, 2, 1,
82027 + {
82028 + &avr32_ifield_table[AVR32_IFIELD_RY],
82029 + &avr32_ifield_table[AVR32_IFIELD_K21],
82030 + },
82031 + },
82032 + {
82033 + AVR32_OPC_CPC1, 4, 0xe0001300, 0xe1f0ffff,
82034 + &avr32_syntax_table[AVR32_SYNTAX_CPC1],
82035 + BFD_RELOC_UNUSED, 2, -1,
82036 + {
82037 + &avr32_ifield_table[AVR32_IFIELD_RY],
82038 + &avr32_ifield_table[AVR32_IFIELD_RX],
82039 + },
82040 + },
82041 + {
82042 + AVR32_OPC_CPC2, 2, 0x5c200000, 0xfff00000,
82043 + &avr32_syntax_table[AVR32_SYNTAX_CPC2],
82044 + BFD_RELOC_UNUSED, 1, -1,
82045 + {
82046 + &avr32_ifield_table[AVR32_IFIELD_RY],
82047 + },
82048 + },
82049 + {
82050 + AVR32_OPC_CSRF, 2, 0xd4030000, 0xfe0f0000,
82051 + &avr32_syntax_table[AVR32_SYNTAX_CSRF],
82052 + BFD_RELOC_UNUSED, 1, -1,
82053 + {
82054 + &avr32_ifield_table[AVR32_IFIELD_K5C],
82055 + },
82056 + },
82057 + {
82058 + AVR32_OPC_CSRFCZ, 2, 0xd0030000, 0xfe0f0000,
82059 + &avr32_syntax_table[AVR32_SYNTAX_CSRFCZ],
82060 + BFD_RELOC_UNUSED, 1, -1,
82061 + {
82062 + &avr32_ifield_table[AVR32_IFIELD_K5C],
82063 + },
82064 + },
82065 + {
82066 + AVR32_OPC_DIVS, 4, 0xe0000c00, 0xe1f0ffc0,
82067 + &avr32_syntax_table[AVR32_SYNTAX_DIVS],
82068 + BFD_RELOC_UNUSED, 3, -1,
82069 + {
82070 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
82071 + &avr32_ifield_table[AVR32_IFIELD_RX],
82072 + &avr32_ifield_table[AVR32_IFIELD_RY],
82073 + },
82074 + },
82075 + {
82076 + AVR32_OPC_DIVU, 4, 0xe0000d00, 0xe1f0ffc0,
82077 + &avr32_syntax_table[AVR32_SYNTAX_DIVU],
82078 + BFD_RELOC_UNUSED, 3, -1,
82079 + {
82080 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
82081 + &avr32_ifield_table[AVR32_IFIELD_RX],
82082 + &avr32_ifield_table[AVR32_IFIELD_RY],
82083 + },
82084 + },
82085 + {
82086 + AVR32_OPC_EOR1, 2, 0x00500000, 0xe1f00000,
82087 + &avr32_syntax_table[AVR32_SYNTAX_EOR1],
82088 + BFD_RELOC_UNUSED, 2, -1,
82089 + {
82090 + &avr32_ifield_table[AVR32_IFIELD_RY],
82091 + &avr32_ifield_table[AVR32_IFIELD_RX],
82092 + },
82093 + },
82094 + {
82095 + AVR32_OPC_EOR2, 4, 0xe1e02000, 0xe1f0fe00,
82096 + &avr32_syntax_table[AVR32_SYNTAX_EOR2],
82097 + BFD_RELOC_UNUSED, 4, -1,
82098 + {
82099 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
82100 + &avr32_ifield_table[AVR32_IFIELD_RX],
82101 + &avr32_ifield_table[AVR32_IFIELD_RY],
82102 + &avr32_ifield_table[AVR32_IFIELD_K5E2],
82103 + }
82104 + },
82105 + {
82106 + AVR32_OPC_EOR3, 4, 0xe1e02200, 0xe1f0fe00,
82107 + &avr32_syntax_table[AVR32_SYNTAX_EOR3],
82108 + BFD_RELOC_UNUSED, 4, -1,
82109 + {
82110 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
82111 + &avr32_ifield_table[AVR32_IFIELD_RX],
82112 + &avr32_ifield_table[AVR32_IFIELD_RY],
82113 + &avr32_ifield_table[AVR32_IFIELD_K5E2],
82114 + }
82115 + },
82116 + {
82117 + AVR32_OPC_EORL, 4, 0xec100000, 0xfff00000,
82118 + &avr32_syntax_table[AVR32_SYNTAX_EORL],
82119 + BFD_RELOC_AVR32_16U, 2, 1,
82120 + {
82121 + &avr32_ifield_table[AVR32_IFIELD_RY],
82122 + &avr32_ifield_table[AVR32_IFIELD_K16],
82123 + },
82124 + },
82125 + {
82126 + AVR32_OPC_EORH, 4, 0xee100000, 0xfff00000,
82127 + &avr32_syntax_table[AVR32_SYNTAX_EORH],
82128 + BFD_RELOC_AVR32_16U, 2, 1,
82129 + {
82130 + &avr32_ifield_table[AVR32_IFIELD_RY],
82131 + &avr32_ifield_table[AVR32_IFIELD_K16],
82132 + },
82133 + },
82134 + {
82135 + AVR32_OPC_FRS, 2, 0xd7430000, 0xffff0000,
82136 + &avr32_syntax_table[AVR32_SYNTAX_FRS],
82137 + BFD_RELOC_UNUSED, 0, -1, { NULL },
82138 + },
82139 + {
82140 + AVR32_OPC_ICALL, 2, 0x5d100000, 0xfff00000,
82141 + &avr32_syntax_table[AVR32_SYNTAX_ICALL],
82142 + BFD_RELOC_UNUSED, 1, -1,
82143 + {
82144 + &avr32_ifield_table[AVR32_IFIELD_RY],
82145 + },
82146 + },
82147 + {
82148 + AVR32_OPC_INCJOSP, 2, 0xd6830000, 0xff8f0000,
82149 + &avr32_syntax_table[AVR32_SYNTAX_INCJOSP],
82150 + BFD_RELOC_UNUSED, 1, -1,
82151 + {
82152 + &avr32_ifield_table[AVR32_IFIELD_K3],
82153 + },
82154 + },
82155 + {
82156 + AVR32_OPC_LD_D1, 2, 0xa1010000, 0xe1f10000,
82157 + &avr32_syntax_table[AVR32_SYNTAX_LD_D1],
82158 + BFD_RELOC_UNUSED, 2, -1,
82159 + {
82160 + &avr32_ifield_table[AVR32_IFIELD_RY_DW],
82161 + &avr32_ifield_table[AVR32_IFIELD_RX],
82162 + },
82163 + },
82164 + {
82165 + AVR32_OPC_LD_D2, 2, 0xa1100000, 0xe1f10000,
82166 + &avr32_syntax_table[AVR32_SYNTAX_LD_D2],
82167 + BFD_RELOC_UNUSED, 2, -1,
82168 + {
82169 + &avr32_ifield_table[AVR32_IFIELD_RY_DW],
82170 + &avr32_ifield_table[AVR32_IFIELD_RX],
82171 + },
82172 + },
82173 + {
82174 + AVR32_OPC_LD_D3, 2, 0xa1000000, 0xe1f10000,
82175 + &avr32_syntax_table[AVR32_SYNTAX_LD_D3],
82176 + BFD_RELOC_UNUSED, 2, -1,
82177 + {
82178 + &avr32_ifield_table[AVR32_IFIELD_RY_DW],
82179 + &avr32_ifield_table[AVR32_IFIELD_RX],
82180 + },
82181 + },
82182 + {
82183 + AVR32_OPC_LD_D5, 4, 0xe0000200, 0xe1f0ffc1,
82184 + &avr32_syntax_table[AVR32_SYNTAX_LD_D5],
82185 + BFD_RELOC_UNUSED, 4, -1,
82186 + {
82187 + &avr32_ifield_table[AVR32_IFIELD_RD_DW],
82188 + &avr32_ifield_table[AVR32_IFIELD_RX],
82189 + &avr32_ifield_table[AVR32_IFIELD_RY],
82190 + &avr32_ifield_table[AVR32_IFIELD_K2],
82191 + },
82192 + },
82193 + {
82194 + AVR32_OPC_LD_D4, 4, 0xe0e00000, 0xe1f10000,
82195 + &avr32_syntax_table[AVR32_SYNTAX_LD_D4],
82196 + BFD_RELOC_AVR32_16S, 3, 2,
82197 + {
82198 + &avr32_ifield_table[AVR32_IFIELD_RY_DW],
82199 + &avr32_ifield_table[AVR32_IFIELD_RX],
82200 + &avr32_ifield_table[AVR32_IFIELD_K16],
82201 + },
82202 + },
82203 + {
82204 + AVR32_OPC_LD_SB2, 4, 0xe0000600, 0xe1f0ffc0,
82205 + &avr32_syntax_table[AVR32_SYNTAX_LD_SB2],
82206 + BFD_RELOC_UNUSED, 4, -1,
82207 + {
82208 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
82209 + &avr32_ifield_table[AVR32_IFIELD_RX],
82210 + &avr32_ifield_table[AVR32_IFIELD_RY],
82211 + &avr32_ifield_table[AVR32_IFIELD_K2],
82212 + },
82213 + },
82214 + {
82215 + AVR32_OPC_LD_SB1, 4, 0xe1200000, 0xe1f00000,
82216 + &avr32_syntax_table[AVR32_SYNTAX_LD_SB1],
82217 + BFD_RELOC_AVR32_16S, 3, -1,
82218 + {
82219 + &avr32_ifield_table[AVR32_IFIELD_RY],
82220 + &avr32_ifield_table[AVR32_IFIELD_RX],
82221 + &avr32_ifield_table[AVR32_IFIELD_K16],
82222 + },
82223 + },
82224 + {
82225 + AVR32_OPC_LD_UB1, 2, 0x01300000, 0xe1f00000,
82226 + &avr32_syntax_table[AVR32_SYNTAX_LD_UB1],
82227 + BFD_RELOC_UNUSED, 2, -1,
82228 + {
82229 + &avr32_ifield_table[AVR32_IFIELD_RY],
82230 + &avr32_ifield_table[AVR32_IFIELD_RX],
82231 + },
82232 + },
82233 + {
82234 + AVR32_OPC_LD_UB2, 2, 0x01700000, 0xe1f00000,
82235 + &avr32_syntax_table[AVR32_SYNTAX_LD_UB2],
82236 + BFD_RELOC_UNUSED, 2, -1,
82237 + {
82238 + &avr32_ifield_table[AVR32_IFIELD_RY],
82239 + &avr32_ifield_table[AVR32_IFIELD_RX],
82240 + },
82241 + },
82242 + {
82243 + AVR32_OPC_LD_UB5, 4, 0xe0000700, 0xe1f0ffc0,
82244 + &avr32_syntax_table[AVR32_SYNTAX_LD_UB5],
82245 + BFD_RELOC_UNUSED, 4, -1,
82246 + {
82247 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
82248 + &avr32_ifield_table[AVR32_IFIELD_RX],
82249 + &avr32_ifield_table[AVR32_IFIELD_RY],
82250 + &avr32_ifield_table[AVR32_IFIELD_K2],
82251 + },
82252 + },
82253 + {
82254 + AVR32_OPC_LD_UB3, 2, 0x01800000, 0xe1800000,
82255 + &avr32_syntax_table[AVR32_SYNTAX_LD_UB3],
82256 + BFD_RELOC_AVR32_3U, 3, 2,
82257 + {
82258 + &avr32_ifield_table[AVR32_IFIELD_RY],
82259 + &avr32_ifield_table[AVR32_IFIELD_RX],
82260 + &avr32_ifield_table[AVR32_IFIELD_K3],
82261 + },
82262 + },
82263 + {
82264 + AVR32_OPC_LD_UB4, 4, 0xe1300000, 0xe1f00000,
82265 + &avr32_syntax_table[AVR32_SYNTAX_LD_UB4],
82266 + BFD_RELOC_AVR32_16S, 3, 2,
82267 + {
82268 + &avr32_ifield_table[AVR32_IFIELD_RY],
82269 + &avr32_ifield_table[AVR32_IFIELD_RX],
82270 + &avr32_ifield_table[AVR32_IFIELD_K16],
82271 + },
82272 + },
82273 + {
82274 + AVR32_OPC_LD_SH1, 2, 0x01100000, 0xe1f00000,
82275 + &avr32_syntax_table[AVR32_SYNTAX_LD_SH1],
82276 + BFD_RELOC_UNUSED, 2, -1,
82277 + {
82278 + &avr32_ifield_table[AVR32_IFIELD_RY],
82279 + &avr32_ifield_table[AVR32_IFIELD_RX],
82280 + },
82281 + },
82282 + {
82283 + AVR32_OPC_LD_SH2, 2, 0x01500000, 0xe1f00000,
82284 + &avr32_syntax_table[AVR32_SYNTAX_LD_SH2],
82285 + BFD_RELOC_UNUSED, 2, -1,
82286 + {
82287 + &avr32_ifield_table[AVR32_IFIELD_RY],
82288 + &avr32_ifield_table[AVR32_IFIELD_RX],
82289 + },
82290 + },
82291 + {
82292 + AVR32_OPC_LD_SH5, 4, 0xe0000400, 0xe1f0ffc0,
82293 + &avr32_syntax_table[AVR32_SYNTAX_LD_SH5],
82294 + BFD_RELOC_UNUSED, 4, -1,
82295 + {
82296 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
82297 + &avr32_ifield_table[AVR32_IFIELD_RX],
82298 + &avr32_ifield_table[AVR32_IFIELD_RY],
82299 + &avr32_ifield_table[AVR32_IFIELD_K2],
82300 + },
82301 + },
82302 + {
82303 + AVR32_OPC_LD_SH3, 2, 0x80000000, 0xe1800000,
82304 + &avr32_syntax_table[AVR32_SYNTAX_LD_SH3],
82305 + BFD_RELOC_AVR32_4UH, 3, 2,
82306 + {
82307 + &avr32_ifield_table[AVR32_IFIELD_RY],
82308 + &avr32_ifield_table[AVR32_IFIELD_RX],
82309 + &avr32_ifield_table[AVR32_IFIELD_K3],
82310 + },
82311 + },
82312 + {
82313 + AVR32_OPC_LD_SH4, 4, 0xe1000000, 0xe1f00000,
82314 + &avr32_syntax_table[AVR32_SYNTAX_LD_SH4],
82315 + BFD_RELOC_AVR32_16S, 3, 2,
82316 + {
82317 + &avr32_ifield_table[AVR32_IFIELD_RY],
82318 + &avr32_ifield_table[AVR32_IFIELD_RX],
82319 + &avr32_ifield_table[AVR32_IFIELD_K16],
82320 + },
82321 + },
82322 + {
82323 + AVR32_OPC_LD_UH1, 2, 0x01200000, 0xe1f00000,
82324 + &avr32_syntax_table[AVR32_SYNTAX_LD_UH1],
82325 + BFD_RELOC_UNUSED, 2, -1,
82326 + {
82327 + &avr32_ifield_table[AVR32_IFIELD_RY],
82328 + &avr32_ifield_table[AVR32_IFIELD_RX],
82329 + },
82330 + },
82331 + {
82332 + AVR32_OPC_LD_UH2, 2, 0x01600000, 0xe1f00000,
82333 + &avr32_syntax_table[AVR32_SYNTAX_LD_UH2],
82334 + BFD_RELOC_UNUSED, 2, -1,
82335 + {
82336 + &avr32_ifield_table[AVR32_IFIELD_RY],
82337 + &avr32_ifield_table[AVR32_IFIELD_RX],
82338 + },
82339 + },
82340 + {
82341 + AVR32_OPC_LD_UH5, 4, 0xe0000500, 0xe1f0ffc0,
82342 + &avr32_syntax_table[AVR32_SYNTAX_LD_UH5],
82343 + BFD_RELOC_UNUSED, 4, -1,
82344 + {
82345 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
82346 + &avr32_ifield_table[AVR32_IFIELD_RX],
82347 + &avr32_ifield_table[AVR32_IFIELD_RY],
82348 + &avr32_ifield_table[AVR32_IFIELD_K2],
82349 + },
82350 + },
82351 + {
82352 + AVR32_OPC_LD_UH3, 2, 0x80800000, 0xe1800000,
82353 + &avr32_syntax_table[AVR32_SYNTAX_LD_UH3],
82354 + BFD_RELOC_AVR32_4UH, 3, 2,
82355 + {
82356 + &avr32_ifield_table[AVR32_IFIELD_RY],
82357 + &avr32_ifield_table[AVR32_IFIELD_RX],
82358 + &avr32_ifield_table[AVR32_IFIELD_K3],
82359 + },
82360 + },
82361 + {
82362 + AVR32_OPC_LD_UH4, 4, 0xe1100000, 0xe1f00000,
82363 + &avr32_syntax_table[AVR32_SYNTAX_LD_UH4],
82364 + BFD_RELOC_AVR32_16S, 3, 2,
82365 + {
82366 + &avr32_ifield_table[AVR32_IFIELD_RY],
82367 + &avr32_ifield_table[AVR32_IFIELD_RX],
82368 + &avr32_ifield_table[AVR32_IFIELD_K16],
82369 + },
82370 + },
82371 + {
82372 + AVR32_OPC_LD_W1, 2, 0x01000000, 0xe1f00000,
82373 + &avr32_syntax_table[AVR32_SYNTAX_LD_W1],
82374 + BFD_RELOC_UNUSED, 2, -1,
82375 + {
82376 + &avr32_ifield_table[AVR32_IFIELD_RY],
82377 + &avr32_ifield_table[AVR32_IFIELD_RX],
82378 + },
82379 + },
82380 + {
82381 + AVR32_OPC_LD_W2, 2, 0x01400000, 0xe1f00000,
82382 + &avr32_syntax_table[AVR32_SYNTAX_LD_W2],
82383 + BFD_RELOC_UNUSED, 2, -1,
82384 + {
82385 + &avr32_ifield_table[AVR32_IFIELD_RY],
82386 + &avr32_ifield_table[AVR32_IFIELD_RX],
82387 + },
82388 + },
82389 + {
82390 + AVR32_OPC_LD_W5, 4, 0xe0000300, 0xe1f0ffc0,
82391 + &avr32_syntax_table[AVR32_SYNTAX_LD_W5],
82392 + BFD_RELOC_UNUSED, 4, -1,
82393 + {
82394 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
82395 + &avr32_ifield_table[AVR32_IFIELD_RX],
82396 + &avr32_ifield_table[AVR32_IFIELD_RY],
82397 + &avr32_ifield_table[AVR32_IFIELD_K2],
82398 + },
82399 + },
82400 + {
82401 + AVR32_OPC_LD_W6, 4, 0xe0000f80, 0xe1f0ffc0,
82402 + &avr32_syntax_table[AVR32_SYNTAX_LD_W6],
82403 + BFD_RELOC_UNUSED, 4, -1,
82404 + {
82405 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
82406 + &avr32_ifield_table[AVR32_IFIELD_RX],
82407 + &avr32_ifield_table[AVR32_IFIELD_RY],
82408 + &avr32_ifield_table[AVR32_IFIELD_K2],
82409 + },
82410 + },
82411 + {
82412 + AVR32_OPC_LD_W3, 2, 0x60000000, 0xe0000000,
82413 + &avr32_syntax_table[AVR32_SYNTAX_LD_W3],
82414 + BFD_RELOC_AVR32_7UW, 3, 2,
82415 + {
82416 + &avr32_ifield_table[AVR32_IFIELD_RY],
82417 + &avr32_ifield_table[AVR32_IFIELD_RX],
82418 + &avr32_ifield_table[AVR32_IFIELD_K5C],
82419 + },
82420 + },
82421 + {
82422 + AVR32_OPC_LD_W4, 4, 0xe0f00000, 0xe1f00000,
82423 + &avr32_syntax_table[AVR32_SYNTAX_LD_W4],
82424 + BFD_RELOC_AVR32_16S, 3, 2,
82425 + {
82426 + &avr32_ifield_table[AVR32_IFIELD_RY],
82427 + &avr32_ifield_table[AVR32_IFIELD_RX],
82428 + &avr32_ifield_table[AVR32_IFIELD_K16],
82429 + },
82430 + },
82431 + {
82432 + AVR32_OPC_LDC_D1, 4, 0xe9a01000, 0xfff01100,
82433 + &avr32_syntax_table[AVR32_SYNTAX_LDC_D1],
82434 + BFD_RELOC_AVR32_10UW, 4, 3,
82435 + {
82436 + &avr32_ifield_table[AVR32_IFIELD_CPNO],
82437 + &avr32_ifield_table[AVR32_IFIELD_CRD_DW],
82438 + &avr32_ifield_table[AVR32_IFIELD_RY],
82439 + &avr32_ifield_table[AVR32_IFIELD_K8E],
82440 + },
82441 + },
82442 + {
82443 + AVR32_OPC_LDC_D2, 4, 0xefa00050, 0xfff011ff,
82444 + &avr32_syntax_table[AVR32_SYNTAX_LDC_D2],
82445 + BFD_RELOC_UNUSED, 3, -1,
82446 + {
82447 + &avr32_ifield_table[AVR32_IFIELD_CPNO],
82448 + &avr32_ifield_table[AVR32_IFIELD_CRD_DW],
82449 + &avr32_ifield_table[AVR32_IFIELD_RY],
82450 + },
82451 + },
82452 + {
82453 + AVR32_OPC_LDC_D3, 4, 0xefa01040, 0xfff011c0,
82454 + &avr32_syntax_table[AVR32_SYNTAX_LDC_D3],
82455 + BFD_RELOC_UNUSED, 5, -1,
82456 + {
82457 + &avr32_ifield_table[AVR32_IFIELD_CPNO],
82458 + &avr32_ifield_table[AVR32_IFIELD_CRD_DW],
82459 + &avr32_ifield_table[AVR32_IFIELD_RY],
82460 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
82461 + &avr32_ifield_table[AVR32_IFIELD_K2],
82462 + },
82463 + },
82464 + {
82465 + AVR32_OPC_LDC_W1, 4, 0xe9a00000, 0xfff01000,
82466 + &avr32_syntax_table[AVR32_SYNTAX_LDC_W1],
82467 + BFD_RELOC_AVR32_10UW, 4, 3,
82468 + {
82469 + &avr32_ifield_table[AVR32_IFIELD_CPNO],
82470 + &avr32_ifield_table[AVR32_IFIELD_CRD_RI],
82471 + &avr32_ifield_table[AVR32_IFIELD_RY],
82472 + &avr32_ifield_table[AVR32_IFIELD_K8E],
82473 + },
82474 + },
82475 + {
82476 + AVR32_OPC_LDC_W2, 4, 0xefa00040, 0xfff010ff,
82477 + &avr32_syntax_table[AVR32_SYNTAX_LDC_W2],
82478 + BFD_RELOC_UNUSED, 3, -1,
82479 + {
82480 + &avr32_ifield_table[AVR32_IFIELD_CPNO],
82481 + &avr32_ifield_table[AVR32_IFIELD_CRD_RI],
82482 + &avr32_ifield_table[AVR32_IFIELD_RY],
82483 + },
82484 + },
82485 + {
82486 + AVR32_OPC_LDC_W3, 4, 0xefa01000, 0xfff010c0,
82487 + &avr32_syntax_table[AVR32_SYNTAX_LDC_W3],
82488 + BFD_RELOC_UNUSED, 5, -1,
82489 + {
82490 + &avr32_ifield_table[AVR32_IFIELD_CPNO],
82491 + &avr32_ifield_table[AVR32_IFIELD_CRD_RI],
82492 + &avr32_ifield_table[AVR32_IFIELD_RY],
82493 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
82494 + &avr32_ifield_table[AVR32_IFIELD_K2],
82495 + },
82496 + },
82497 + {
82498 + AVR32_OPC_LDC0_D, 4, 0xf3a00000, 0xfff00100,
82499 + &avr32_syntax_table[AVR32_SYNTAX_LDC0_D],
82500 + BFD_RELOC_AVR32_14UW, 3, 2,
82501 + {
82502 + &avr32_ifield_table[AVR32_IFIELD_CRD_DW],
82503 + &avr32_ifield_table[AVR32_IFIELD_RY],
82504 + &avr32_ifield_table[AVR32_IFIELD_K12CP],
82505 + },
82506 + },
82507 + {
82508 + AVR32_OPC_LDC0_W, 4, 0xf1a00000, 0xfff00000,
82509 + &avr32_syntax_table[AVR32_SYNTAX_LDC0_W],
82510 + BFD_RELOC_AVR32_14UW, 3, 2,
82511 + {
82512 + &avr32_ifield_table[AVR32_IFIELD_CRD_RI],
82513 + &avr32_ifield_table[AVR32_IFIELD_RY],
82514 + &avr32_ifield_table[AVR32_IFIELD_K12CP],
82515 + },
82516 + },
82517 + {
82518 + AVR32_OPC_LDCM_D, 4, 0xeda00400, 0xfff01f00,
82519 + &avr32_syntax_table[AVR32_SYNTAX_LDCM_D],
82520 + BFD_RELOC_UNUSED, 3, -1,
82521 + {
82522 + &avr32_ifield_table[AVR32_IFIELD_CPNO],
82523 + &avr32_ifield_table[AVR32_IFIELD_RY],
82524 + &avr32_ifield_table[AVR32_IFIELD_K8E],
82525 + },
82526 + },
82527 + {
82528 + AVR32_OPC_LDCM_D_PU, 4, 0xeda01400, 0xfff01f00,
82529 + &avr32_syntax_table[AVR32_SYNTAX_LDCM_D_PU],
82530 + BFD_RELOC_UNUSED, 3, -1,
82531 + {
82532 + &avr32_ifield_table[AVR32_IFIELD_CPNO],
82533 + &avr32_ifield_table[AVR32_IFIELD_RY],
82534 + &avr32_ifield_table[AVR32_IFIELD_K8E],
82535 + },
82536 + },
82537 + {
82538 + AVR32_OPC_LDCM_W, 4, 0xeda00000, 0xfff01e00,
82539 + &avr32_syntax_table[AVR32_SYNTAX_LDCM_W],
82540 + BFD_RELOC_UNUSED, 4, -1,
82541 + {
82542 + &avr32_ifield_table[AVR32_IFIELD_CPNO],
82543 + &avr32_ifield_table[AVR32_IFIELD_RY],
82544 + &avr32_ifield_table[AVR32_IFIELD_K8E],
82545 + &avr32_ifield_table[AVR32_IFIELD_CM_HL],
82546 + },
82547 + },
82548 + {
82549 + AVR32_OPC_LDCM_W_PU, 4, 0xeda01000, 0xfff01e00,
82550 + &avr32_syntax_table[AVR32_SYNTAX_LDCM_W_PU],
82551 + BFD_RELOC_UNUSED, 4, -1,
82552 + {
82553 + &avr32_ifield_table[AVR32_IFIELD_CPNO],
82554 + &avr32_ifield_table[AVR32_IFIELD_RY],
82555 + &avr32_ifield_table[AVR32_IFIELD_K8E],
82556 + &avr32_ifield_table[AVR32_IFIELD_CM_HL],
82557 + },
82558 + },
82559 + {
82560 + AVR32_OPC_LDDPC, 2, 0x48000000, 0xf8000000,
82561 + &avr32_syntax_table[AVR32_SYNTAX_LDDPC],
82562 + BFD_RELOC_AVR32_9UW_PCREL, 2, 1,
82563 + {
82564 + &avr32_ifield_table[AVR32_IFIELD_RY],
82565 + &avr32_ifield_table[AVR32_IFIELD_K7C],
82566 + },
82567 + },
82568 + {
82569 + AVR32_OPC_LDDPC_EXT, 4, 0xfef00000, 0xfff00000,
82570 + &avr32_syntax_table[AVR32_SYNTAX_LDDPC_EXT],
82571 + BFD_RELOC_AVR32_16B_PCREL, 2, 1,
82572 + {
82573 + &avr32_ifield_table[AVR32_IFIELD_RY],
82574 + &avr32_ifield_table[AVR32_IFIELD_K16],
82575 + },
82576 + },
82577 + {
82578 + AVR32_OPC_LDDSP, 2, 0x40000000, 0xf8000000,
82579 + &avr32_syntax_table[AVR32_SYNTAX_LDDSP],
82580 + BFD_RELOC_UNUSED, 2, -1,
82581 + {
82582 + &avr32_ifield_table[AVR32_IFIELD_RY],
82583 + &avr32_ifield_table[AVR32_IFIELD_K7C],
82584 + },
82585 + },
82586 + {
82587 + AVR32_OPC_LDINS_B, 4, 0xe1d04000, 0xe1f0c000,
82588 + &avr32_syntax_table[AVR32_SYNTAX_LDINS_B],
82589 + BFD_RELOC_UNUSED, 4, -1,
82590 + {
82591 + &avr32_ifield_table[AVR32_IFIELD_RY],
82592 + &avr32_ifield_table[AVR32_IFIELD_PART2_K12],
82593 + &avr32_ifield_table[AVR32_IFIELD_RX],
82594 + &avr32_ifield_table[AVR32_IFIELD_K12],
82595 + },
82596 + },
82597 + {
82598 + AVR32_OPC_LDINS_H, 4, 0xe1d00000, 0xe1f0e000,
82599 + &avr32_syntax_table[AVR32_SYNTAX_LDINS_H],
82600 + BFD_RELOC_UNUSED, 4, -1,
82601 + {
82602 + &avr32_ifield_table[AVR32_IFIELD_RY],
82603 + &avr32_ifield_table[AVR32_IFIELD_PART1_K12],
82604 + &avr32_ifield_table[AVR32_IFIELD_RX],
82605 + &avr32_ifield_table[AVR32_IFIELD_K12],
82606 + },
82607 + },
82608 + {
82609 + AVR32_OPC_LDM, 4, 0xe1c00000, 0xfdf00000,
82610 + &avr32_syntax_table[AVR32_SYNTAX_LDM],
82611 + BFD_RELOC_UNUSED, 3, -1,
82612 + {
82613 + &avr32_ifield_table[AVR32_IFIELD_RY],
82614 + &avr32_ifield_table[AVR32_IFIELD_W],
82615 + &avr32_ifield_table[AVR32_IFIELD_K16],
82616 + },
82617 + },
82618 + {
82619 + AVR32_OPC_LDMTS, 4, 0xe5c00000, 0xfff00000,
82620 + &avr32_syntax_table[AVR32_SYNTAX_LDMTS],
82621 + BFD_RELOC_UNUSED, 2, -1,
82622 + {
82623 + &avr32_ifield_table[AVR32_IFIELD_RY],
82624 + &avr32_ifield_table[AVR32_IFIELD_K16],
82625 + },
82626 + },
82627 + {
82628 + AVR32_OPC_LDMTS_PU, 4, 0xe7c00000, 0xfff00000,
82629 + &avr32_syntax_table[AVR32_SYNTAX_LDMTS_PU],
82630 + BFD_RELOC_UNUSED, 2, -1,
82631 + {
82632 + &avr32_ifield_table[AVR32_IFIELD_RY],
82633 + &avr32_ifield_table[AVR32_IFIELD_K16],
82634 + },
82635 + },
82636 + {
82637 + AVR32_OPC_LDSWP_SH, 4, 0xe1d02000, 0xe1f0f000,
82638 + &avr32_syntax_table[AVR32_SYNTAX_LDSWP_SH],
82639 + BFD_RELOC_UNUSED, 3, -1,
82640 + {
82641 + &avr32_ifield_table[AVR32_IFIELD_RY],
82642 + &avr32_ifield_table[AVR32_IFIELD_RX],
82643 + &avr32_ifield_table[AVR32_IFIELD_K12],
82644 + },
82645 + },
82646 + {
82647 + AVR32_OPC_LDSWP_UH, 4, 0xe1d03000, 0xe1f0f000,
82648 + &avr32_syntax_table[AVR32_SYNTAX_LDSWP_UH],
82649 + BFD_RELOC_UNUSED, 3, -1,
82650 + {
82651 + &avr32_ifield_table[AVR32_IFIELD_RY],
82652 + &avr32_ifield_table[AVR32_IFIELD_RX],
82653 + &avr32_ifield_table[AVR32_IFIELD_K12],
82654 + },
82655 + },
82656 + {
82657 + AVR32_OPC_LDSWP_W, 4, 0xe1d08000, 0xe1f0f000,
82658 + &avr32_syntax_table[AVR32_SYNTAX_LDSWP_W],
82659 + BFD_RELOC_UNUSED, 3, -1,
82660 + {
82661 + &avr32_ifield_table[AVR32_IFIELD_RY],
82662 + &avr32_ifield_table[AVR32_IFIELD_RX],
82663 + &avr32_ifield_table[AVR32_IFIELD_K12],
82664 + },
82665 + },
82666 + {
82667 + AVR32_OPC_LSL1, 4, 0xe0000940, 0xe1f0fff0,
82668 + &avr32_syntax_table[AVR32_SYNTAX_LSL1],
82669 + BFD_RELOC_UNUSED, 3, -1,
82670 + {
82671 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
82672 + &avr32_ifield_table[AVR32_IFIELD_RX],
82673 + &avr32_ifield_table[AVR32_IFIELD_RY],
82674 + },
82675 + },
82676 + {
82677 + AVR32_OPC_LSL3, 4, 0xe0001500, 0xe1f0ffe0,
82678 + &avr32_syntax_table[AVR32_SYNTAX_LSL3],
82679 + BFD_RELOC_UNUSED, 3, -1,
82680 + {
82681 + &avr32_ifield_table[AVR32_IFIELD_RY],
82682 + &avr32_ifield_table[AVR32_IFIELD_RX],
82683 + &avr32_ifield_table[AVR32_IFIELD_K5E],
82684 + },
82685 + },
82686 + {
82687 + AVR32_OPC_LSL2, 2, 0xa1600000, 0xe1e00000,
82688 + &avr32_syntax_table[AVR32_SYNTAX_LSL2],
82689 + BFD_RELOC_UNUSED, 2, -1,
82690 + {
82691 + &avr32_ifield_table[AVR32_IFIELD_RY],
82692 + &avr32_ifield_table[AVR32_IFIELD_BIT5C],
82693 + },
82694 + },
82695 + {
82696 + AVR32_OPC_LSR1, 4, 0xe0000a40, 0xe1f0fff0,
82697 + &avr32_syntax_table[AVR32_SYNTAX_LSR1],
82698 + BFD_RELOC_UNUSED, 3, -1,
82699 + {
82700 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
82701 + &avr32_ifield_table[AVR32_IFIELD_RX],
82702 + &avr32_ifield_table[AVR32_IFIELD_RY],
82703 + },
82704 + },
82705 + {
82706 + AVR32_OPC_LSR3, 4, 0xe0001600, 0xe1f0ffe0,
82707 + &avr32_syntax_table[AVR32_SYNTAX_LSR3],
82708 + BFD_RELOC_UNUSED, 3, -1,
82709 + {
82710 + &avr32_ifield_table[AVR32_IFIELD_RY],
82711 + &avr32_ifield_table[AVR32_IFIELD_RX],
82712 + &avr32_ifield_table[AVR32_IFIELD_K5E],
82713 + },
82714 + },
82715 + {
82716 + AVR32_OPC_LSR2, 2, 0xa1800000, 0xe1e00000,
82717 + &avr32_syntax_table[AVR32_SYNTAX_LSR2],
82718 + BFD_RELOC_UNUSED, 2, -1,
82719 + {
82720 + &avr32_ifield_table[AVR32_IFIELD_RY],
82721 + &avr32_ifield_table[AVR32_IFIELD_BIT5C],
82722 + },
82723 + },
82724 + {
82725 + AVR32_OPC_MAC, 4, 0xe0000340, 0xe1f0fff0,
82726 + &avr32_syntax_table[AVR32_SYNTAX_MAC],
82727 + BFD_RELOC_UNUSED, 3, -1,
82728 + {
82729 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
82730 + &avr32_ifield_table[AVR32_IFIELD_RX],
82731 + &avr32_ifield_table[AVR32_IFIELD_RY],
82732 + },
82733 + },
82734 + {
82735 + AVR32_OPC_MACHH_D, 4, 0xe0000580, 0xe1f0ffc1,
82736 + &avr32_syntax_table[AVR32_SYNTAX_MACHH_D],
82737 + BFD_RELOC_UNUSED, 5, -1,
82738 + {
82739 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
82740 + &avr32_ifield_table[AVR32_IFIELD_RX],
82741 + &avr32_ifield_table[AVR32_IFIELD_X],
82742 + &avr32_ifield_table[AVR32_IFIELD_RY],
82743 + &avr32_ifield_table[AVR32_IFIELD_Y],
82744 + },
82745 + },
82746 + {
82747 + AVR32_OPC_MACHH_W, 4, 0xe0000480, 0xe1f0ffc0,
82748 + &avr32_syntax_table[AVR32_SYNTAX_MACHH_W],
82749 + BFD_RELOC_UNUSED, 5, -1,
82750 + {
82751 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
82752 + &avr32_ifield_table[AVR32_IFIELD_RX],
82753 + &avr32_ifield_table[AVR32_IFIELD_X],
82754 + &avr32_ifield_table[AVR32_IFIELD_RY],
82755 + &avr32_ifield_table[AVR32_IFIELD_Y],
82756 + },
82757 + },
82758 + {
82759 + AVR32_OPC_MACS_D, 4, 0xe0000540, 0xe1f0fff1,
82760 + &avr32_syntax_table[AVR32_SYNTAX_MACS_D],
82761 + BFD_RELOC_UNUSED, 3, -1,
82762 + {
82763 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
82764 + &avr32_ifield_table[AVR32_IFIELD_RX],
82765 + &avr32_ifield_table[AVR32_IFIELD_RY],
82766 + },
82767 + },
82768 + {
82769 + AVR32_OPC_MACSATHH_W, 4, 0xe0000680, 0xe1f0ffc0,
82770 + &avr32_syntax_table[AVR32_SYNTAX_MACSATHH_W],
82771 + BFD_RELOC_UNUSED, 5, -1,
82772 + {
82773 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
82774 + &avr32_ifield_table[AVR32_IFIELD_RX],
82775 + &avr32_ifield_table[AVR32_IFIELD_X],
82776 + &avr32_ifield_table[AVR32_IFIELD_RY],
82777 + &avr32_ifield_table[AVR32_IFIELD_Y],
82778 + },
82779 + },
82780 + {
82781 + AVR32_OPC_MACUD, 4, 0xe0000740, 0xe1f0fff1,
82782 + &avr32_syntax_table[AVR32_SYNTAX_MACUD],
82783 + BFD_RELOC_UNUSED, 3, -1,
82784 + {
82785 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
82786 + &avr32_ifield_table[AVR32_IFIELD_RX],
82787 + &avr32_ifield_table[AVR32_IFIELD_RY],
82788 + },
82789 + },
82790 + {
82791 + AVR32_OPC_MACWH_D, 4, 0xe0000c80, 0xe1f0ffe1,
82792 + &avr32_syntax_table[AVR32_SYNTAX_MACWH_D],
82793 + BFD_RELOC_UNUSED, 4, -1,
82794 + {
82795 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
82796 + &avr32_ifield_table[AVR32_IFIELD_RX],
82797 + &avr32_ifield_table[AVR32_IFIELD_RY],
82798 + &avr32_ifield_table[AVR32_IFIELD_Y],
82799 + },
82800 + },
82801 + {
82802 + AVR32_OPC_MAX, 4, 0xe0000c40, 0xe1f0fff0,
82803 + &avr32_syntax_table[AVR32_SYNTAX_MAX],
82804 + BFD_RELOC_UNUSED, 3, -1,
82805 + {
82806 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
82807 + &avr32_ifield_table[AVR32_IFIELD_RX],
82808 + &avr32_ifield_table[AVR32_IFIELD_RY],
82809 + },
82810 + },
82811 + {
82812 + AVR32_OPC_MCALL, 4, 0xf0100000, 0xfff00000,
82813 + &avr32_syntax_table[AVR32_SYNTAX_MCALL],
82814 + BFD_RELOC_AVR32_18W_PCREL, 2, 1,
82815 + {
82816 + &avr32_ifield_table[AVR32_IFIELD_RY],
82817 + &avr32_ifield_table[AVR32_IFIELD_K16],
82818 + },
82819 + },
82820 + {
82821 + AVR32_OPC_MFDR, 4, 0xe5b00000, 0xfff0ff00,
82822 + &avr32_syntax_table[AVR32_SYNTAX_MFDR],
82823 + BFD_RELOC_AVR32_8S_EXT, 2, 1,
82824 + {
82825 + &avr32_ifield_table[AVR32_IFIELD_RY],
82826 + &avr32_ifield_table[AVR32_IFIELD_K8E],
82827 + },
82828 + },
82829 + {
82830 + AVR32_OPC_MFSR, 4, 0xe1b00000, 0xfff0ff00,
82831 + &avr32_syntax_table[AVR32_SYNTAX_MFSR],
82832 + BFD_RELOC_AVR32_8S_EXT, 2, 1,
82833 + {
82834 + &avr32_ifield_table[AVR32_IFIELD_RY],
82835 + &avr32_ifield_table[AVR32_IFIELD_K8E],
82836 + },
82837 + },
82838 + {
82839 + AVR32_OPC_MIN, 4, 0xe0000d40, 0xe1f0fff0,
82840 + &avr32_syntax_table[AVR32_SYNTAX_MIN],
82841 + BFD_RELOC_UNUSED, 3, -1,
82842 + {
82843 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
82844 + &avr32_ifield_table[AVR32_IFIELD_RX],
82845 + &avr32_ifield_table[AVR32_IFIELD_RY],
82846 + },
82847 + },
82848 + {
82849 + AVR32_OPC_MOV3, 2, 0x00900000, 0xe1f00000,
82850 + &avr32_syntax_table[AVR32_SYNTAX_MOV3],
82851 + BFD_RELOC_NONE, 2, -1,
82852 + {
82853 + &avr32_ifield_table[AVR32_IFIELD_RY],
82854 + &avr32_ifield_table[AVR32_IFIELD_RX],
82855 + },
82856 + },
82857 + {
82858 + AVR32_OPC_MOV1, 2, 0x30000000, 0xf0000000,
82859 + &avr32_syntax_table[AVR32_SYNTAX_MOV1],
82860 + BFD_RELOC_AVR32_8S, 2, 1,
82861 + {
82862 + &avr32_ifield_table[AVR32_IFIELD_RY],
82863 + &avr32_ifield_table[AVR32_IFIELD_K8C],
82864 + },
82865 + },
82866 + {
82867 + AVR32_OPC_MOV2, 4, 0xe0600000, 0xe1e00000,
82868 + &avr32_syntax_table[AVR32_SYNTAX_MOV2],
82869 + BFD_RELOC_AVR32_21S, 2, 1,
82870 + {
82871 + &avr32_ifield_table[AVR32_IFIELD_RY],
82872 + &avr32_ifield_table[AVR32_IFIELD_K21],
82873 + },
82874 + },
82875 + {
82876 + AVR32_OPC_MOVEQ1, 4, 0xe0001700, 0xe1f0ffff,
82877 + &avr32_syntax_table[AVR32_SYNTAX_MOVEQ1],
82878 + BFD_RELOC_UNUSED, 2, -1,
82879 + {
82880 + &avr32_ifield_table[AVR32_IFIELD_RY],
82881 + &avr32_ifield_table[AVR32_IFIELD_RX],
82882 + },
82883 + },
82884 + {
82885 + AVR32_OPC_MOVNE1, 4, 0xe0001710, 0xe1f0ffff,
82886 + &avr32_syntax_table[AVR32_SYNTAX_MOVNE1],
82887 + BFD_RELOC_UNUSED, 2, -1,
82888 + {
82889 + &avr32_ifield_table[AVR32_IFIELD_RY],
82890 + &avr32_ifield_table[AVR32_IFIELD_RX],
82891 + },
82892 + },
82893 + {
82894 + AVR32_OPC_MOVCC1, 4, 0xe0001720, 0xe1f0ffff,
82895 + &avr32_syntax_table[AVR32_SYNTAX_MOVHS1],
82896 + BFD_RELOC_UNUSED, 2, -1,
82897 + {
82898 + &avr32_ifield_table[AVR32_IFIELD_RY],
82899 + &avr32_ifield_table[AVR32_IFIELD_RX],
82900 + },
82901 + },
82902 + {
82903 + AVR32_OPC_MOVCS1, 4, 0xe0001730, 0xe1f0ffff,
82904 + &avr32_syntax_table[AVR32_SYNTAX_MOVLO1],
82905 + BFD_RELOC_UNUSED, 2, -1,
82906 + {
82907 + &avr32_ifield_table[AVR32_IFIELD_RY],
82908 + &avr32_ifield_table[AVR32_IFIELD_RX],
82909 + },
82910 + },
82911 + {
82912 + AVR32_OPC_MOVGE1, 4, 0xe0001740, 0xe1f0ffff,
82913 + &avr32_syntax_table[AVR32_SYNTAX_MOVGE1],
82914 + BFD_RELOC_UNUSED, 2, -1,
82915 + {
82916 + &avr32_ifield_table[AVR32_IFIELD_RY],
82917 + &avr32_ifield_table[AVR32_IFIELD_RX],
82918 + },
82919 + },
82920 + {
82921 + AVR32_OPC_MOVLT1, 4, 0xe0001750, 0xe1f0ffff,
82922 + &avr32_syntax_table[AVR32_SYNTAX_MOVLT1],
82923 + BFD_RELOC_UNUSED, 2, -1,
82924 + {
82925 + &avr32_ifield_table[AVR32_IFIELD_RY],
82926 + &avr32_ifield_table[AVR32_IFIELD_RX],
82927 + },
82928 + },
82929 + {
82930 + AVR32_OPC_MOVMI1, 4, 0xe0001760, 0xe1f0ffff,
82931 + &avr32_syntax_table[AVR32_SYNTAX_MOVMI1],
82932 + BFD_RELOC_UNUSED, 2, -1,
82933 + {
82934 + &avr32_ifield_table[AVR32_IFIELD_RY],
82935 + &avr32_ifield_table[AVR32_IFIELD_RX],
82936 + },
82937 + },
82938 + {
82939 + AVR32_OPC_MOVPL1, 4, 0xe0001770, 0xe1f0ffff,
82940 + &avr32_syntax_table[AVR32_SYNTAX_MOVPL1],
82941 + BFD_RELOC_UNUSED, 2, -1,
82942 + {
82943 + &avr32_ifield_table[AVR32_IFIELD_RY],
82944 + &avr32_ifield_table[AVR32_IFIELD_RX],
82945 + },
82946 + },
82947 + {
82948 + AVR32_OPC_MOVLS1, 4, 0xe0001780, 0xe1f0ffff,
82949 + &avr32_syntax_table[AVR32_SYNTAX_MOVLS1],
82950 + BFD_RELOC_UNUSED, 2, -1,
82951 + {
82952 + &avr32_ifield_table[AVR32_IFIELD_RY],
82953 + &avr32_ifield_table[AVR32_IFIELD_RX],
82954 + },
82955 + },
82956 + {
82957 + AVR32_OPC_MOVGT1, 4, 0xe0001790, 0xe1f0ffff,
82958 + &avr32_syntax_table[AVR32_SYNTAX_MOVGT1],
82959 + BFD_RELOC_UNUSED, 2, -1,
82960 + {
82961 + &avr32_ifield_table[AVR32_IFIELD_RY],
82962 + &avr32_ifield_table[AVR32_IFIELD_RX],
82963 + },
82964 + },
82965 + {
82966 + AVR32_OPC_MOVLE1, 4, 0xe00017a0, 0xe1f0ffff,
82967 + &avr32_syntax_table[AVR32_SYNTAX_MOVLE1],
82968 + BFD_RELOC_UNUSED, 2, -1,
82969 + {
82970 + &avr32_ifield_table[AVR32_IFIELD_RY],
82971 + &avr32_ifield_table[AVR32_IFIELD_RX],
82972 + },
82973 + },
82974 + {
82975 + AVR32_OPC_MOVHI1, 4, 0xe00017b0, 0xe1f0ffff,
82976 + &avr32_syntax_table[AVR32_SYNTAX_MOVHI1],
82977 + BFD_RELOC_UNUSED, 2, -1,
82978 + {
82979 + &avr32_ifield_table[AVR32_IFIELD_RY],
82980 + &avr32_ifield_table[AVR32_IFIELD_RX],
82981 + },
82982 + },
82983 + {
82984 + AVR32_OPC_MOVVS1, 4, 0xe00017c0, 0xe1f0ffff,
82985 + &avr32_syntax_table[AVR32_SYNTAX_MOVVS1],
82986 + BFD_RELOC_UNUSED, 2, -1,
82987 + {
82988 + &avr32_ifield_table[AVR32_IFIELD_RY],
82989 + &avr32_ifield_table[AVR32_IFIELD_RX],
82990 + },
82991 + },
82992 + {
82993 + AVR32_OPC_MOVVC1, 4, 0xe00017d0, 0xe1f0ffff,
82994 + &avr32_syntax_table[AVR32_SYNTAX_MOVVC1],
82995 + BFD_RELOC_UNUSED, 2, -1,
82996 + {
82997 + &avr32_ifield_table[AVR32_IFIELD_RY],
82998 + &avr32_ifield_table[AVR32_IFIELD_RX],
82999 + },
83000 + },
83001 + {
83002 + AVR32_OPC_MOVQS1, 4, 0xe00017e0, 0xe1f0ffff,
83003 + &avr32_syntax_table[AVR32_SYNTAX_MOVQS1],
83004 + BFD_RELOC_UNUSED, 2, -1,
83005 + {
83006 + &avr32_ifield_table[AVR32_IFIELD_RY],
83007 + &avr32_ifield_table[AVR32_IFIELD_RX],
83008 + },
83009 + },
83010 + {
83011 + AVR32_OPC_MOVAL1, 4, 0xe00017f0, 0xe1f0ffff,
83012 + &avr32_syntax_table[AVR32_SYNTAX_MOVAL1],
83013 + BFD_RELOC_UNUSED, 2, -1,
83014 + {
83015 + &avr32_ifield_table[AVR32_IFIELD_RY],
83016 + &avr32_ifield_table[AVR32_IFIELD_RX],
83017 + },
83018 + },
83019 + {
83020 + AVR32_OPC_MOVEQ2, 4, 0xf9b00000, 0xfff0ff00,
83021 + &avr32_syntax_table[AVR32_SYNTAX_MOVEQ2],
83022 + BFD_RELOC_AVR32_8S_EXT, 2, 1,
83023 + {
83024 + &avr32_ifield_table[AVR32_IFIELD_RY],
83025 + &avr32_ifield_table[AVR32_IFIELD_K8E],
83026 + },
83027 + },
83028 + {
83029 + AVR32_OPC_MOVNE2, 4, 0xf9b00100, 0xfff0ff00,
83030 + &avr32_syntax_table[AVR32_SYNTAX_MOVNE2],
83031 + BFD_RELOC_AVR32_8S_EXT, 2, 1,
83032 + {
83033 + &avr32_ifield_table[AVR32_IFIELD_RY],
83034 + &avr32_ifield_table[AVR32_IFIELD_K8E],
83035 + },
83036 + },
83037 + {
83038 + AVR32_OPC_MOVCC2, 4, 0xf9b00200, 0xfff0ff00,
83039 + &avr32_syntax_table[AVR32_SYNTAX_MOVHS2],
83040 + BFD_RELOC_AVR32_8S_EXT, 2, 1,
83041 + {
83042 + &avr32_ifield_table[AVR32_IFIELD_RY],
83043 + &avr32_ifield_table[AVR32_IFIELD_K8E],
83044 + },
83045 + },
83046 + {
83047 + AVR32_OPC_MOVCS2, 4, 0xf9b00300, 0xfff0ff00,
83048 + &avr32_syntax_table[AVR32_SYNTAX_MOVLO2],
83049 + BFD_RELOC_AVR32_8S_EXT, 2, 1,
83050 + {
83051 + &avr32_ifield_table[AVR32_IFIELD_RY],
83052 + &avr32_ifield_table[AVR32_IFIELD_K8E],
83053 + },
83054 + },
83055 + {
83056 + AVR32_OPC_MOVGE2, 4, 0xf9b00400, 0xfff0ff00,
83057 + &avr32_syntax_table[AVR32_SYNTAX_MOVGE2],
83058 + BFD_RELOC_AVR32_8S_EXT, 2, 1,
83059 + {
83060 + &avr32_ifield_table[AVR32_IFIELD_RY],
83061 + &avr32_ifield_table[AVR32_IFIELD_K8E],
83062 + },
83063 + },
83064 + {
83065 + AVR32_OPC_MOVLT2, 4, 0xf9b00500, 0xfff0ff00,
83066 + &avr32_syntax_table[AVR32_SYNTAX_MOVLT2],
83067 + BFD_RELOC_AVR32_8S_EXT, 2, 1,
83068 + {
83069 + &avr32_ifield_table[AVR32_IFIELD_RY],
83070 + &avr32_ifield_table[AVR32_IFIELD_K8E],
83071 + },
83072 + },
83073 + {
83074 + AVR32_OPC_MOVMI2, 4, 0xf9b00600, 0xfff0ff00,
83075 + &avr32_syntax_table[AVR32_SYNTAX_MOVMI2],
83076 + BFD_RELOC_AVR32_8S_EXT, 2, 1,
83077 + {
83078 + &avr32_ifield_table[AVR32_IFIELD_RY],
83079 + &avr32_ifield_table[AVR32_IFIELD_K8E],
83080 + },
83081 + },
83082 + {
83083 + AVR32_OPC_MOVPL2, 4, 0xf9b00700, 0xfff0ff00,
83084 + &avr32_syntax_table[AVR32_SYNTAX_MOVPL2],
83085 + BFD_RELOC_AVR32_8S_EXT, 2, 1,
83086 + {
83087 + &avr32_ifield_table[AVR32_IFIELD_RY],
83088 + &avr32_ifield_table[AVR32_IFIELD_K8E],
83089 + },
83090 + },
83091 + {
83092 + AVR32_OPC_MOVLS2, 4, 0xf9b00800, 0xfff0ff00,
83093 + &avr32_syntax_table[AVR32_SYNTAX_MOVLS2],
83094 + BFD_RELOC_AVR32_8S_EXT, 2, 1,
83095 + {
83096 + &avr32_ifield_table[AVR32_IFIELD_RY],
83097 + &avr32_ifield_table[AVR32_IFIELD_K8E],
83098 + },
83099 + },
83100 + {
83101 + AVR32_OPC_MOVGT2, 4, 0xf9b00900, 0xfff0ff00,
83102 + &avr32_syntax_table[AVR32_SYNTAX_MOVGT2],
83103 + BFD_RELOC_AVR32_8S_EXT, 2, 1,
83104 + {
83105 + &avr32_ifield_table[AVR32_IFIELD_RY],
83106 + &avr32_ifield_table[AVR32_IFIELD_K8E],
83107 + },
83108 + },
83109 + {
83110 + AVR32_OPC_MOVLE2, 4, 0xf9b00a00, 0xfff0ff00,
83111 + &avr32_syntax_table[AVR32_SYNTAX_MOVLE2],
83112 + BFD_RELOC_AVR32_8S_EXT, 2, 1,
83113 + {
83114 + &avr32_ifield_table[AVR32_IFIELD_RY],
83115 + &avr32_ifield_table[AVR32_IFIELD_K8E],
83116 + },
83117 + },
83118 + {
83119 + AVR32_OPC_MOVHI2, 4, 0xf9b00b00, 0xfff0ff00,
83120 + &avr32_syntax_table[AVR32_SYNTAX_MOVHI2],
83121 + BFD_RELOC_AVR32_8S_EXT, 2, 1,
83122 + {
83123 + &avr32_ifield_table[AVR32_IFIELD_RY],
83124 + &avr32_ifield_table[AVR32_IFIELD_K8E],
83125 + },
83126 + },
83127 + {
83128 + AVR32_OPC_MOVVS2, 4, 0xf9b00c00, 0xfff0ff00,
83129 + &avr32_syntax_table[AVR32_SYNTAX_MOVVS2],
83130 + BFD_RELOC_AVR32_8S_EXT, 2, 1,
83131 + {
83132 + &avr32_ifield_table[AVR32_IFIELD_RY],
83133 + &avr32_ifield_table[AVR32_IFIELD_K8E],
83134 + },
83135 + },
83136 + {
83137 + AVR32_OPC_MOVVC2, 4, 0xf9b00d00, 0xfff0ff00,
83138 + &avr32_syntax_table[AVR32_SYNTAX_MOVVC2],
83139 + BFD_RELOC_AVR32_8S_EXT, 2, 1,
83140 + {
83141 + &avr32_ifield_table[AVR32_IFIELD_RY],
83142 + &avr32_ifield_table[AVR32_IFIELD_K8E],
83143 + },
83144 + },
83145 + {
83146 + AVR32_OPC_MOVQS2, 4, 0xf9b00e00, 0xfff0ff00,
83147 + &avr32_syntax_table[AVR32_SYNTAX_MOVQS2],
83148 + BFD_RELOC_AVR32_8S_EXT, 2, 1,
83149 + {
83150 + &avr32_ifield_table[AVR32_IFIELD_RY],
83151 + &avr32_ifield_table[AVR32_IFIELD_K8E],
83152 + },
83153 + },
83154 + {
83155 + AVR32_OPC_MOVAL2, 4, 0xf9b00f00, 0xfff0ff00,
83156 + &avr32_syntax_table[AVR32_SYNTAX_MOVAL2],
83157 + BFD_RELOC_AVR32_8S_EXT, 2, 1,
83158 + {
83159 + &avr32_ifield_table[AVR32_IFIELD_RY],
83160 + &avr32_ifield_table[AVR32_IFIELD_K8E],
83161 + },
83162 + },
83163 + {
83164 + AVR32_OPC_MTDR, 4, 0xe7b00000, 0xfff0ff00,
83165 + &avr32_syntax_table[AVR32_SYNTAX_MTDR],
83166 + BFD_RELOC_AVR32_8S_EXT, 2, 0,
83167 + {
83168 + &avr32_ifield_table[AVR32_IFIELD_K8E],
83169 + &avr32_ifield_table[AVR32_IFIELD_RY],
83170 + },
83171 + },
83172 + {
83173 + AVR32_OPC_MTSR, 4, 0xe3b00000, 0xfff0ff00,
83174 + &avr32_syntax_table[AVR32_SYNTAX_MTSR],
83175 + BFD_RELOC_AVR32_8S_EXT, 2, 0,
83176 + {
83177 + &avr32_ifield_table[AVR32_IFIELD_K8E],
83178 + &avr32_ifield_table[AVR32_IFIELD_RY],
83179 + },
83180 + },
83181 + {
83182 + AVR32_OPC_MUL1, 2, 0xa1300000, 0xe1f00000,
83183 + &avr32_syntax_table[AVR32_SYNTAX_MUL1],
83184 + BFD_RELOC_UNUSED, 2, -1,
83185 + {
83186 + &avr32_ifield_table[AVR32_IFIELD_RY],
83187 + &avr32_ifield_table[AVR32_IFIELD_RX],
83188 + },
83189 + },
83190 + {
83191 + AVR32_OPC_MUL2, 4, 0xe0000240, 0xe1f0fff0,
83192 + &avr32_syntax_table[AVR32_SYNTAX_MUL2],
83193 + BFD_RELOC_UNUSED, 3, -1,
83194 + {
83195 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
83196 + &avr32_ifield_table[AVR32_IFIELD_RX],
83197 + &avr32_ifield_table[AVR32_IFIELD_RY],
83198 + },
83199 + },
83200 + {
83201 + AVR32_OPC_MUL3, 4, 0xe0001000, 0xe1f0ff00,
83202 + &avr32_syntax_table[AVR32_SYNTAX_MUL3],
83203 + BFD_RELOC_AVR32_8S_EXT, 3, 2,
83204 + {
83205 + &avr32_ifield_table[AVR32_IFIELD_RY],
83206 + &avr32_ifield_table[AVR32_IFIELD_RX],
83207 + &avr32_ifield_table[AVR32_IFIELD_K8E],
83208 + },
83209 + },
83210 + {
83211 + AVR32_OPC_MULHH_W, 4, 0xe0000780, 0xe1f0ffc0,
83212 + &avr32_syntax_table[AVR32_SYNTAX_MULHH_W],
83213 + BFD_RELOC_UNUSED, 5, -1,
83214 + {
83215 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
83216 + &avr32_ifield_table[AVR32_IFIELD_RX],
83217 + &avr32_ifield_table[AVR32_IFIELD_X],
83218 + &avr32_ifield_table[AVR32_IFIELD_RY],
83219 + &avr32_ifield_table[AVR32_IFIELD_Y],
83220 + },
83221 + },
83222 + {
83223 + AVR32_OPC_MULNHH_W, 4, 0xe0000180, 0xe1f0ffc0,
83224 + &avr32_syntax_table[AVR32_SYNTAX_MULNHH_W],
83225 + BFD_RELOC_UNUSED, 5, -1,
83226 + {
83227 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
83228 + &avr32_ifield_table[AVR32_IFIELD_RX],
83229 + &avr32_ifield_table[AVR32_IFIELD_X],
83230 + &avr32_ifield_table[AVR32_IFIELD_RY],
83231 + &avr32_ifield_table[AVR32_IFIELD_Y],
83232 + },
83233 + },
83234 + {
83235 + AVR32_OPC_MULNWH_D, 4, 0xe0000280, 0xe1f0ffe1,
83236 + &avr32_syntax_table[AVR32_SYNTAX_MULNWH_D],
83237 + BFD_RELOC_UNUSED, 4, -1,
83238 + {
83239 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
83240 + &avr32_ifield_table[AVR32_IFIELD_RX],
83241 + &avr32_ifield_table[AVR32_IFIELD_RY],
83242 + &avr32_ifield_table[AVR32_IFIELD_Y],
83243 + },
83244 + },
83245 + {
83246 + AVR32_OPC_MULSD, 4, 0xe0000440, 0xe1f0fff0,
83247 + &avr32_syntax_table[AVR32_SYNTAX_MULSD],
83248 + BFD_RELOC_UNUSED, 3, -1,
83249 + {
83250 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
83251 + &avr32_ifield_table[AVR32_IFIELD_RX],
83252 + &avr32_ifield_table[AVR32_IFIELD_RY],
83253 + },
83254 + },
83255 + {
83256 + AVR32_OPC_MULSATHH_H, 4, 0xe0000880, 0xe1f0ffc0,
83257 + &avr32_syntax_table[AVR32_SYNTAX_MULSATHH_H],
83258 + BFD_RELOC_UNUSED, 5, -1,
83259 + {
83260 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
83261 + &avr32_ifield_table[AVR32_IFIELD_RX],
83262 + &avr32_ifield_table[AVR32_IFIELD_X],
83263 + &avr32_ifield_table[AVR32_IFIELD_RY],
83264 + &avr32_ifield_table[AVR32_IFIELD_Y],
83265 + },
83266 + },
83267 + {
83268 + AVR32_OPC_MULSATHH_W, 4, 0xe0000980, 0xe1f0ffc0,
83269 + &avr32_syntax_table[AVR32_SYNTAX_MULSATHH_W],
83270 + BFD_RELOC_UNUSED, 5, -1,
83271 + {
83272 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
83273 + &avr32_ifield_table[AVR32_IFIELD_RX],
83274 + &avr32_ifield_table[AVR32_IFIELD_X],
83275 + &avr32_ifield_table[AVR32_IFIELD_RY],
83276 + &avr32_ifield_table[AVR32_IFIELD_Y],
83277 + },
83278 + },
83279 + {
83280 + AVR32_OPC_MULSATRNDHH_H, 4, 0xe0000a80, 0xe1f0ffc0,
83281 + &avr32_syntax_table[AVR32_SYNTAX_MULSATRNDHH_H],
83282 + BFD_RELOC_UNUSED, 5, -1,
83283 + {
83284 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
83285 + &avr32_ifield_table[AVR32_IFIELD_RX],
83286 + &avr32_ifield_table[AVR32_IFIELD_X],
83287 + &avr32_ifield_table[AVR32_IFIELD_RY],
83288 + &avr32_ifield_table[AVR32_IFIELD_Y],
83289 + },
83290 + },
83291 + {
83292 + AVR32_OPC_MULSATRNDWH_W, 4, 0xe0000b80, 0xe1f0ffe0,
83293 + &avr32_syntax_table[AVR32_SYNTAX_MULSATRNDWH_W],
83294 + BFD_RELOC_UNUSED, 4, -1,
83295 + {
83296 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
83297 + &avr32_ifield_table[AVR32_IFIELD_RX],
83298 + &avr32_ifield_table[AVR32_IFIELD_RY],
83299 + &avr32_ifield_table[AVR32_IFIELD_Y],
83300 + },
83301 + },
83302 + {
83303 + AVR32_OPC_MULSATWH_W, 4, 0xe0000e80, 0xe1f0ffe0,
83304 + &avr32_syntax_table[AVR32_SYNTAX_MULSATWH_W],
83305 + BFD_RELOC_UNUSED, 4, -1,
83306 + {
83307 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
83308 + &avr32_ifield_table[AVR32_IFIELD_RX],
83309 + &avr32_ifield_table[AVR32_IFIELD_RY],
83310 + &avr32_ifield_table[AVR32_IFIELD_Y],
83311 + },
83312 + },
83313 + {
83314 + AVR32_OPC_MULU_D, 4, 0xe0000640, 0xe1f0fff1,
83315 + &avr32_syntax_table[AVR32_SYNTAX_MULU_D],
83316 + BFD_RELOC_UNUSED, 3, -1,
83317 + {
83318 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
83319 + &avr32_ifield_table[AVR32_IFIELD_RX],
83320 + &avr32_ifield_table[AVR32_IFIELD_RY],
83321 + },
83322 + },
83323 + {
83324 + AVR32_OPC_MULWH_D, 4, 0xe0000d80, 0xe1f0ffe1,
83325 + &avr32_syntax_table[AVR32_SYNTAX_MULWH_D],
83326 + BFD_RELOC_UNUSED, 4, -1,
83327 + {
83328 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
83329 + &avr32_ifield_table[AVR32_IFIELD_RX],
83330 + &avr32_ifield_table[AVR32_IFIELD_RY],
83331 + &avr32_ifield_table[AVR32_IFIELD_Y],
83332 + },
83333 + },
83334 + {
83335 + AVR32_OPC_MUSFR, 2, 0x5d300000, 0xfff00000,
83336 + &avr32_syntax_table[AVR32_SYNTAX_MUSFR],
83337 + BFD_RELOC_UNUSED, 1, -1,
83338 + {
83339 + &avr32_ifield_table[AVR32_IFIELD_RY],
83340 + }
83341 + },
83342 + {
83343 + AVR32_OPC_MUSTR, 2, 0x5d200000, 0xfff00000,
83344 + &avr32_syntax_table[AVR32_SYNTAX_MUSTR],
83345 + BFD_RELOC_UNUSED, 1, -1,
83346 + {
83347 + &avr32_ifield_table[AVR32_IFIELD_RY],
83348 + }
83349 + },
83350 + {
83351 + AVR32_OPC_MVCR_D, 4, 0xefa00010, 0xfff111ff,
83352 + &avr32_syntax_table[AVR32_SYNTAX_MVCR_D],
83353 + BFD_RELOC_UNUSED, 3, -1,
83354 + {
83355 + &avr32_ifield_table[AVR32_IFIELD_CPNO],
83356 + &avr32_ifield_table[AVR32_IFIELD_RY_DW],
83357 + &avr32_ifield_table[AVR32_IFIELD_CRD_DW],
83358 + },
83359 + },
83360 + {
83361 + AVR32_OPC_MVCR_W, 4, 0xefa00000, 0xfff010ff,
83362 + &avr32_syntax_table[AVR32_SYNTAX_MVCR_W],
83363 + BFD_RELOC_UNUSED, 3, -1,
83364 + {
83365 + &avr32_ifield_table[AVR32_IFIELD_CPNO],
83366 + &avr32_ifield_table[AVR32_IFIELD_RY],
83367 + &avr32_ifield_table[AVR32_IFIELD_CRD_RI],
83368 + },
83369 + },
83370 + {
83371 + AVR32_OPC_MVRC_D, 4, 0xefa00030, 0xfff111ff,
83372 + &avr32_syntax_table[AVR32_SYNTAX_MVRC_D],
83373 + BFD_RELOC_UNUSED, 3, -1,
83374 + {
83375 + &avr32_ifield_table[AVR32_IFIELD_CPNO],
83376 + &avr32_ifield_table[AVR32_IFIELD_CRD_DW],
83377 + &avr32_ifield_table[AVR32_IFIELD_RY_DW],
83378 + },
83379 + },
83380 + {
83381 + AVR32_OPC_MVRC_W, 4, 0xefa00020, 0xfff010ff,
83382 + &avr32_syntax_table[AVR32_SYNTAX_MVRC_W],
83383 + BFD_RELOC_UNUSED, 3, -1,
83384 + {
83385 + &avr32_ifield_table[AVR32_IFIELD_CPNO],
83386 + &avr32_ifield_table[AVR32_IFIELD_CRD_RI],
83387 + &avr32_ifield_table[AVR32_IFIELD_RY],
83388 + },
83389 + },
83390 + {
83391 + AVR32_OPC_NEG, 2, 0x5c300000, 0xfff00000,
83392 + &avr32_syntax_table[AVR32_SYNTAX_NEG],
83393 + BFD_RELOC_UNUSED, 1, -1,
83394 + {
83395 + &avr32_ifield_table[AVR32_IFIELD_RY],
83396 + }
83397 + },
83398 + {
83399 + AVR32_OPC_NOP, 2, 0xd7030000, 0xffff0000,
83400 + &avr32_syntax_table[AVR32_SYNTAX_NOP],
83401 + BFD_RELOC_UNUSED, 0, -1, { NULL },
83402 + },
83403 + {
83404 + AVR32_OPC_OR1, 2, 0x00400000, 0xe1f00000,
83405 + &avr32_syntax_table[AVR32_SYNTAX_OR1],
83406 + BFD_RELOC_UNUSED, 2, -1,
83407 + {
83408 + &avr32_ifield_table[AVR32_IFIELD_RY],
83409 + &avr32_ifield_table[AVR32_IFIELD_RX],
83410 + },
83411 + },
83412 + {
83413 + AVR32_OPC_OR2, 4, 0xe1e01000, 0xe1f0fe00,
83414 + &avr32_syntax_table[AVR32_SYNTAX_OR2],
83415 + BFD_RELOC_UNUSED, 4, -1,
83416 + {
83417 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
83418 + &avr32_ifield_table[AVR32_IFIELD_RX],
83419 + &avr32_ifield_table[AVR32_IFIELD_RY],
83420 + &avr32_ifield_table[AVR32_IFIELD_K5E2],
83421 + },
83422 + },
83423 + {
83424 + AVR32_OPC_OR3, 4, 0xe1e01200, 0xe1f0fe00,
83425 + &avr32_syntax_table[AVR32_SYNTAX_OR3],
83426 + BFD_RELOC_UNUSED, 4, -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 + &avr32_ifield_table[AVR32_IFIELD_K5E2],
83432 + },
83433 + },
83434 + {
83435 + AVR32_OPC_ORH, 4, 0xea100000, 0xfff00000,
83436 + &avr32_syntax_table[AVR32_SYNTAX_ORH],
83437 + BFD_RELOC_AVR32_16U, 2, 1,
83438 + {
83439 + &avr32_ifield_table[AVR32_IFIELD_RY],
83440 + &avr32_ifield_table[AVR32_IFIELD_K16],
83441 + },
83442 + },
83443 + {
83444 + AVR32_OPC_ORL, 4, 0xe8100000, 0xfff00000,
83445 + &avr32_syntax_table[AVR32_SYNTAX_ORL],
83446 + BFD_RELOC_AVR32_16U, 2, 1,
83447 + {
83448 + &avr32_ifield_table[AVR32_IFIELD_RY],
83449 + &avr32_ifield_table[AVR32_IFIELD_K16],
83450 + },
83451 + },
83452 + {
83453 + AVR32_OPC_PABS_SB, 4, 0xe00023e0, 0xfff0fff0,
83454 + &avr32_syntax_table[AVR32_SYNTAX_PABS_SB],
83455 + BFD_RELOC_UNUSED, 2, -1,
83456 + {
83457 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
83458 + &avr32_ifield_table[AVR32_IFIELD_RY],
83459 + },
83460 + },
83461 + {
83462 + AVR32_OPC_PABS_SH, 4, 0xe00023f0, 0xfff0fff0,
83463 + &avr32_syntax_table[AVR32_SYNTAX_PABS_SH],
83464 + BFD_RELOC_UNUSED, 2, -1,
83465 + {
83466 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
83467 + &avr32_ifield_table[AVR32_IFIELD_RY],
83468 + },
83469 + },
83470 + {
83471 + AVR32_OPC_PACKSH_SB, 4, 0xe00024d0, 0xe1f0fff0,
83472 + &avr32_syntax_table[AVR32_SYNTAX_PACKSH_SB],
83473 + BFD_RELOC_UNUSED, 3, -1,
83474 + {
83475 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
83476 + &avr32_ifield_table[AVR32_IFIELD_RX],
83477 + &avr32_ifield_table[AVR32_IFIELD_RY],
83478 + },
83479 + },
83480 + {
83481 + AVR32_OPC_PACKSH_UB, 4, 0xe00024c0, 0xe1f0fff0,
83482 + &avr32_syntax_table[AVR32_SYNTAX_PACKSH_UB],
83483 + BFD_RELOC_UNUSED, 3, -1,
83484 + {
83485 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
83486 + &avr32_ifield_table[AVR32_IFIELD_RX],
83487 + &avr32_ifield_table[AVR32_IFIELD_RY],
83488 + },
83489 + },
83490 + {
83491 + AVR32_OPC_PACKW_SH, 4, 0xe0002470, 0xe1f0fff0,
83492 + &avr32_syntax_table[AVR32_SYNTAX_PACKW_SH],
83493 + BFD_RELOC_UNUSED, 3, -1,
83494 + {
83495 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
83496 + &avr32_ifield_table[AVR32_IFIELD_RX],
83497 + &avr32_ifield_table[AVR32_IFIELD_RY],
83498 + },
83499 + },
83500 + {
83501 + AVR32_OPC_PADD_B, 4, 0xe0002300, 0xe1f0fff0,
83502 + &avr32_syntax_table[AVR32_SYNTAX_PADD_B],
83503 + BFD_RELOC_UNUSED, 3, -1,
83504 + {
83505 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
83506 + &avr32_ifield_table[AVR32_IFIELD_RX],
83507 + &avr32_ifield_table[AVR32_IFIELD_RY],
83508 + },
83509 + },
83510 + {
83511 + AVR32_OPC_PADD_H, 4, 0xe0002000, 0xe1f0fff0,
83512 + &avr32_syntax_table[AVR32_SYNTAX_PADD_H],
83513 + BFD_RELOC_UNUSED, 3, -1,
83514 + {
83515 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
83516 + &avr32_ifield_table[AVR32_IFIELD_RX],
83517 + &avr32_ifield_table[AVR32_IFIELD_RY],
83518 + },
83519 + },
83520 + {
83521 + AVR32_OPC_PADDH_SH, 4, 0xe00020c0, 0xe1f0fff0,
83522 + &avr32_syntax_table[AVR32_SYNTAX_PADDH_SH],
83523 + BFD_RELOC_UNUSED, 3, -1,
83524 + {
83525 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
83526 + &avr32_ifield_table[AVR32_IFIELD_RX],
83527 + &avr32_ifield_table[AVR32_IFIELD_RY],
83528 + },
83529 + },
83530 + {
83531 + AVR32_OPC_PADDH_UB, 4, 0xe0002360, 0xe1f0fff0,
83532 + &avr32_syntax_table[AVR32_SYNTAX_PADDH_UB],
83533 + BFD_RELOC_UNUSED, 3, -1,
83534 + {
83535 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
83536 + &avr32_ifield_table[AVR32_IFIELD_RX],
83537 + &avr32_ifield_table[AVR32_IFIELD_RY],
83538 + },
83539 + },
83540 + {
83541 + AVR32_OPC_PADDS_SB, 4, 0xe0002320, 0xe1f0fff0,
83542 + &avr32_syntax_table[AVR32_SYNTAX_PADDS_SB],
83543 + BFD_RELOC_UNUSED, 3, -1,
83544 + {
83545 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
83546 + &avr32_ifield_table[AVR32_IFIELD_RX],
83547 + &avr32_ifield_table[AVR32_IFIELD_RY],
83548 + },
83549 + },
83550 + {
83551 + AVR32_OPC_PADDS_SH, 4, 0xe0002040, 0xe1f0fff0,
83552 + &avr32_syntax_table[AVR32_SYNTAX_PADDS_SH],
83553 + BFD_RELOC_UNUSED, 3, -1,
83554 + {
83555 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
83556 + &avr32_ifield_table[AVR32_IFIELD_RX],
83557 + &avr32_ifield_table[AVR32_IFIELD_RY],
83558 + },
83559 + },
83560 + {
83561 + AVR32_OPC_PADDS_UB, 4, 0xe0002340, 0xe1f0fff0,
83562 + &avr32_syntax_table[AVR32_SYNTAX_PADDS_UB],
83563 + BFD_RELOC_UNUSED, 3, -1,
83564 + {
83565 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
83566 + &avr32_ifield_table[AVR32_IFIELD_RX],
83567 + &avr32_ifield_table[AVR32_IFIELD_RY],
83568 + },
83569 + },
83570 + {
83571 + AVR32_OPC_PADDS_UH, 4, 0xe0002080, 0xe1f0fff0,
83572 + &avr32_syntax_table[AVR32_SYNTAX_PADDS_UH],
83573 + BFD_RELOC_UNUSED, 3, -1,
83574 + {
83575 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
83576 + &avr32_ifield_table[AVR32_IFIELD_RX],
83577 + &avr32_ifield_table[AVR32_IFIELD_RY],
83578 + },
83579 + },
83580 + {
83581 + AVR32_OPC_PADDSUB_H, 4, 0xe0002100, 0xe1f0ffc0,
83582 + &avr32_syntax_table[AVR32_SYNTAX_PADDSUB_H],
83583 + BFD_RELOC_UNUSED, 5, -1,
83584 + {
83585 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
83586 + &avr32_ifield_table[AVR32_IFIELD_RX],
83587 + &avr32_ifield_table[AVR32_IFIELD_X],
83588 + &avr32_ifield_table[AVR32_IFIELD_RY],
83589 + &avr32_ifield_table[AVR32_IFIELD_Y],
83590 + },
83591 + },
83592 + {
83593 + AVR32_OPC_PADDSUBH_SH, 4, 0xe0002280, 0xe1f0ffc0,
83594 + &avr32_syntax_table[AVR32_SYNTAX_PADDSUBH_SH],
83595 + BFD_RELOC_UNUSED, 5, -1,
83596 + {
83597 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
83598 + &avr32_ifield_table[AVR32_IFIELD_RX],
83599 + &avr32_ifield_table[AVR32_IFIELD_X],
83600 + &avr32_ifield_table[AVR32_IFIELD_RY],
83601 + &avr32_ifield_table[AVR32_IFIELD_Y],
83602 + },
83603 + },
83604 + {
83605 + AVR32_OPC_PADDSUBS_SH, 4, 0xe0002180, 0xe1f0ffc0,
83606 + &avr32_syntax_table[AVR32_SYNTAX_PADDSUBS_SH],
83607 + BFD_RELOC_UNUSED, 5, -1,
83608 + {
83609 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
83610 + &avr32_ifield_table[AVR32_IFIELD_RX],
83611 + &avr32_ifield_table[AVR32_IFIELD_X],
83612 + &avr32_ifield_table[AVR32_IFIELD_RY],
83613 + &avr32_ifield_table[AVR32_IFIELD_Y],
83614 + },
83615 + },
83616 + {
83617 + AVR32_OPC_PADDSUBS_UH, 4, 0xe0002200, 0xe1f0ffc0,
83618 + &avr32_syntax_table[AVR32_SYNTAX_PADDSUBS_UH],
83619 + BFD_RELOC_UNUSED, 5, -1,
83620 + {
83621 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
83622 + &avr32_ifield_table[AVR32_IFIELD_RX],
83623 + &avr32_ifield_table[AVR32_IFIELD_X],
83624 + &avr32_ifield_table[AVR32_IFIELD_RY],
83625 + &avr32_ifield_table[AVR32_IFIELD_Y],
83626 + },
83627 + },
83628 + {
83629 + AVR32_OPC_PADDX_H, 4, 0xe0002020, 0xe1f0fff0,
83630 + &avr32_syntax_table[AVR32_SYNTAX_PADDX_H],
83631 + BFD_RELOC_UNUSED, 3, -1,
83632 + {
83633 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
83634 + &avr32_ifield_table[AVR32_IFIELD_RX],
83635 + &avr32_ifield_table[AVR32_IFIELD_RY],
83636 + },
83637 + },
83638 + {
83639 + AVR32_OPC_PADDXH_SH, 4, 0xe00020e0, 0xe1f0fff0,
83640 + &avr32_syntax_table[AVR32_SYNTAX_PADDXH_SH],
83641 + BFD_RELOC_UNUSED, 3, -1,
83642 + {
83643 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
83644 + &avr32_ifield_table[AVR32_IFIELD_RX],
83645 + &avr32_ifield_table[AVR32_IFIELD_RY],
83646 + },
83647 + },
83648 + {
83649 + AVR32_OPC_PADDXS_SH, 4, 0xe0002060, 0xe1f0fff0,
83650 + &avr32_syntax_table[AVR32_SYNTAX_PADDXS_SH],
83651 + BFD_RELOC_UNUSED, 3, -1,
83652 + {
83653 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
83654 + &avr32_ifield_table[AVR32_IFIELD_RX],
83655 + &avr32_ifield_table[AVR32_IFIELD_RY],
83656 + },
83657 + },
83658 + {
83659 + AVR32_OPC_PADDXS_UH, 4, 0xe00020a0, 0xe1f0fff0,
83660 + &avr32_syntax_table[AVR32_SYNTAX_PADDXS_UH],
83661 + BFD_RELOC_UNUSED, 3, -1,
83662 + {
83663 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
83664 + &avr32_ifield_table[AVR32_IFIELD_RX],
83665 + &avr32_ifield_table[AVR32_IFIELD_RY],
83666 + },
83667 + },
83668 + {
83669 + AVR32_OPC_PASR_B, 4, 0xe0002410, 0xe1f8fff0,
83670 + &avr32_syntax_table[AVR32_SYNTAX_PASR_B],
83671 + BFD_RELOC_UNUSED, 3, -1,
83672 + {
83673 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
83674 + &avr32_ifield_table[AVR32_IFIELD_RX],
83675 + &avr32_ifield_table[AVR32_IFIELD_COND3],
83676 + },
83677 + },
83678 + {
83679 + AVR32_OPC_PASR_H, 4, 0xe0002440, 0xe1f0fff0,
83680 + &avr32_syntax_table[AVR32_SYNTAX_PASR_H],
83681 + BFD_RELOC_UNUSED, 3, -1,
83682 + {
83683 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
83684 + &avr32_ifield_table[AVR32_IFIELD_RX],
83685 + &avr32_ifield_table[AVR32_IFIELD_RY],
83686 + },
83687 + },
83688 + {
83689 + AVR32_OPC_PAVG_SH, 4, 0xe00023d0, 0xe1f0fff0,
83690 + &avr32_syntax_table[AVR32_SYNTAX_PAVG_SH],
83691 + BFD_RELOC_UNUSED, 3, -1,
83692 + {
83693 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
83694 + &avr32_ifield_table[AVR32_IFIELD_RX],
83695 + &avr32_ifield_table[AVR32_IFIELD_RY],
83696 + },
83697 + },
83698 + {
83699 + AVR32_OPC_PAVG_UB, 4, 0xe00023c0, 0xe1f0fff0,
83700 + &avr32_syntax_table[AVR32_SYNTAX_PAVG_UB],
83701 + BFD_RELOC_UNUSED, 3, -1,
83702 + {
83703 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
83704 + &avr32_ifield_table[AVR32_IFIELD_RX],
83705 + &avr32_ifield_table[AVR32_IFIELD_RY],
83706 + },
83707 + },
83708 + {
83709 + AVR32_OPC_PLSL_B, 4, 0xe0002420, 0xe1f8fff0,
83710 + &avr32_syntax_table[AVR32_SYNTAX_PLSL_B],
83711 + BFD_RELOC_UNUSED, 3, -1,
83712 + {
83713 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
83714 + &avr32_ifield_table[AVR32_IFIELD_RX],
83715 + &avr32_ifield_table[AVR32_IFIELD_COND3],
83716 + },
83717 + },
83718 + {
83719 + AVR32_OPC_PLSL_H, 4, 0xe0002450, 0xe1f0fff0,
83720 + &avr32_syntax_table[AVR32_SYNTAX_PLSL_H],
83721 + BFD_RELOC_UNUSED, 3, -1,
83722 + {
83723 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
83724 + &avr32_ifield_table[AVR32_IFIELD_RX],
83725 + &avr32_ifield_table[AVR32_IFIELD_RY],
83726 + },
83727 + },
83728 + {
83729 + AVR32_OPC_PLSR_B, 4, 0xe0002430, 0xe1f8fff0,
83730 + &avr32_syntax_table[AVR32_SYNTAX_PLSR_B],
83731 + BFD_RELOC_UNUSED, 3, -1,
83732 + {
83733 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
83734 + &avr32_ifield_table[AVR32_IFIELD_RX],
83735 + &avr32_ifield_table[AVR32_IFIELD_COND3],
83736 + },
83737 + },
83738 + {
83739 + AVR32_OPC_PLSR_H, 4, 0xe0002460, 0xe1f0fff0,
83740 + &avr32_syntax_table[AVR32_SYNTAX_PLSR_H],
83741 + BFD_RELOC_UNUSED, 3, -1,
83742 + {
83743 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
83744 + &avr32_ifield_table[AVR32_IFIELD_RX],
83745 + &avr32_ifield_table[AVR32_IFIELD_RY],
83746 + },
83747 + },
83748 + {
83749 + AVR32_OPC_PMAX_SH, 4, 0xe0002390, 0xe1f0fff0,
83750 + &avr32_syntax_table[AVR32_SYNTAX_PMAX_SH],
83751 + BFD_RELOC_UNUSED, 3, -1,
83752 + {
83753 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
83754 + &avr32_ifield_table[AVR32_IFIELD_RX],
83755 + &avr32_ifield_table[AVR32_IFIELD_RY],
83756 + },
83757 + },
83758 + {
83759 + AVR32_OPC_PMAX_UB, 4, 0xe0002380, 0xe1f0fff0,
83760 + &avr32_syntax_table[AVR32_SYNTAX_PMAX_UB],
83761 + BFD_RELOC_UNUSED, 3, -1,
83762 + {
83763 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
83764 + &avr32_ifield_table[AVR32_IFIELD_RX],
83765 + &avr32_ifield_table[AVR32_IFIELD_RY],
83766 + },
83767 + },
83768 + {
83769 + AVR32_OPC_PMIN_SH, 4, 0xe00023b0, 0xe1f0fff0,
83770 + &avr32_syntax_table[AVR32_SYNTAX_PMIN_SH],
83771 + BFD_RELOC_UNUSED, 3, -1,
83772 + {
83773 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
83774 + &avr32_ifield_table[AVR32_IFIELD_RX],
83775 + &avr32_ifield_table[AVR32_IFIELD_RY],
83776 + },
83777 + },
83778 + {
83779 + AVR32_OPC_PMIN_UB, 4, 0xe00023a0, 0xe1f0fff0,
83780 + &avr32_syntax_table[AVR32_SYNTAX_PMIN_UB],
83781 + BFD_RELOC_UNUSED, 3, -1,
83782 + {
83783 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
83784 + &avr32_ifield_table[AVR32_IFIELD_RX],
83785 + &avr32_ifield_table[AVR32_IFIELD_RY],
83786 + },
83787 + },
83788 + {
83789 + AVR32_OPC_POPJC, 2, 0xd7130000, 0xffff0000,
83790 + &avr32_syntax_table[AVR32_SYNTAX_POPJC],
83791 + BFD_RELOC_UNUSED, 0, -1, { NULL },
83792 + },
83793 + {
83794 + AVR32_OPC_POPM, 2, 0xd0020000, 0xf0070000,
83795 + &avr32_syntax_table[AVR32_SYNTAX_POPM],
83796 + BFD_RELOC_UNUSED, 1, -1,
83797 + {
83798 + &avr32_ifield_table[AVR32_IFIELD_POPM],
83799 + },
83800 + },
83801 + {
83802 + AVR32_OPC_POPM_E, 4, 0xe3cd0000, 0xffff0000,
83803 + &avr32_syntax_table[AVR32_SYNTAX_POPM_E],
83804 + BFD_RELOC_UNUSED, 1, -1,
83805 + {
83806 + &avr32_ifield_table[AVR32_IFIELD_K16],
83807 + },
83808 + },
83809 + {
83810 + AVR32_OPC_PREF, 4, 0xf2100000, 0xfff00000,
83811 + &avr32_syntax_table[AVR32_SYNTAX_PREF],
83812 + BFD_RELOC_AVR32_16S, 2, -1,
83813 + {
83814 + &avr32_ifield_table[AVR32_IFIELD_RY],
83815 + &avr32_ifield_table[AVR32_IFIELD_K16],
83816 + },
83817 + },
83818 + {
83819 + AVR32_OPC_PSAD, 4, 0xe0002400, 0xe1f0fff0,
83820 + &avr32_syntax_table[AVR32_SYNTAX_PSAD],
83821 + BFD_RELOC_UNUSED, 3, -1,
83822 + {
83823 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
83824 + &avr32_ifield_table[AVR32_IFIELD_RX],
83825 + &avr32_ifield_table[AVR32_IFIELD_RY],
83826 + },
83827 + },
83828 + {
83829 + AVR32_OPC_PSUB_B, 4, 0xe0002310, 0xe1f0fff0,
83830 + &avr32_syntax_table[AVR32_SYNTAX_PSUB_B],
83831 + BFD_RELOC_UNUSED, 3, -1,
83832 + {
83833 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
83834 + &avr32_ifield_table[AVR32_IFIELD_RX],
83835 + &avr32_ifield_table[AVR32_IFIELD_RY],
83836 + },
83837 + },
83838 + {
83839 + AVR32_OPC_PSUB_H, 4, 0xe0002010, 0xe1f0fff0,
83840 + &avr32_syntax_table[AVR32_SYNTAX_PSUB_H],
83841 + BFD_RELOC_UNUSED, 3, -1,
83842 + {
83843 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
83844 + &avr32_ifield_table[AVR32_IFIELD_RX],
83845 + &avr32_ifield_table[AVR32_IFIELD_RY],
83846 + },
83847 + },
83848 + {
83849 + AVR32_OPC_PSUBADD_H, 4, 0xe0002140, 0xe1f0ffc0,
83850 + &avr32_syntax_table[AVR32_SYNTAX_PSUBADD_H],
83851 + BFD_RELOC_UNUSED, 5, -1,
83852 + {
83853 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
83854 + &avr32_ifield_table[AVR32_IFIELD_RX],
83855 + &avr32_ifield_table[AVR32_IFIELD_X],
83856 + &avr32_ifield_table[AVR32_IFIELD_RY],
83857 + &avr32_ifield_table[AVR32_IFIELD_Y],
83858 + },
83859 + },
83860 + {
83861 + AVR32_OPC_PSUBADDH_SH, 4, 0xe00022c0, 0xe1f0ffc0,
83862 + &avr32_syntax_table[AVR32_SYNTAX_PSUBADDH_SH],
83863 + BFD_RELOC_UNUSED, 5, -1,
83864 + {
83865 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
83866 + &avr32_ifield_table[AVR32_IFIELD_RX],
83867 + &avr32_ifield_table[AVR32_IFIELD_X],
83868 + &avr32_ifield_table[AVR32_IFIELD_RY],
83869 + &avr32_ifield_table[AVR32_IFIELD_Y],
83870 + },
83871 + },
83872 + {
83873 + AVR32_OPC_PSUBADDS_SH, 4, 0xe00021c0, 0xe1f0ffc0,
83874 + &avr32_syntax_table[AVR32_SYNTAX_PSUBADDS_SH],
83875 + BFD_RELOC_UNUSED, 5, -1,
83876 + {
83877 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
83878 + &avr32_ifield_table[AVR32_IFIELD_RX],
83879 + &avr32_ifield_table[AVR32_IFIELD_X],
83880 + &avr32_ifield_table[AVR32_IFIELD_RY],
83881 + &avr32_ifield_table[AVR32_IFIELD_Y],
83882 + },
83883 + },
83884 + {
83885 + AVR32_OPC_PSUBADDS_UH, 4, 0xe0002240, 0xe1f0ffc0,
83886 + &avr32_syntax_table[AVR32_SYNTAX_PSUBADDS_UH],
83887 + BFD_RELOC_UNUSED, 5, -1,
83888 + {
83889 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
83890 + &avr32_ifield_table[AVR32_IFIELD_RX],
83891 + &avr32_ifield_table[AVR32_IFIELD_X],
83892 + &avr32_ifield_table[AVR32_IFIELD_RY],
83893 + &avr32_ifield_table[AVR32_IFIELD_Y],
83894 + },
83895 + },
83896 + {
83897 + AVR32_OPC_PSUBH_SH, 4, 0xe00020d0, 0xe1f0fff0,
83898 + &avr32_syntax_table[AVR32_SYNTAX_PSUBH_SH],
83899 + BFD_RELOC_UNUSED, 3, -1,
83900 + {
83901 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
83902 + &avr32_ifield_table[AVR32_IFIELD_RX],
83903 + &avr32_ifield_table[AVR32_IFIELD_RY],
83904 + },
83905 + },
83906 + {
83907 + AVR32_OPC_PSUBH_UB, 4, 0xe0002370, 0xe1f0fff0,
83908 + &avr32_syntax_table[AVR32_SYNTAX_PSUBH_UB],
83909 + BFD_RELOC_UNUSED, 3, -1,
83910 + {
83911 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
83912 + &avr32_ifield_table[AVR32_IFIELD_RX],
83913 + &avr32_ifield_table[AVR32_IFIELD_RY],
83914 + },
83915 + },
83916 + {
83917 + AVR32_OPC_PSUBS_SB, 4, 0xe0002330, 0xe1f0fff0,
83918 + &avr32_syntax_table[AVR32_SYNTAX_PSUBS_SB],
83919 + BFD_RELOC_UNUSED, 3, -1,
83920 + {
83921 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
83922 + &avr32_ifield_table[AVR32_IFIELD_RX],
83923 + &avr32_ifield_table[AVR32_IFIELD_RY],
83924 + },
83925 + },
83926 + {
83927 + AVR32_OPC_PSUBS_SH, 4, 0xe0002050, 0xe1f0fff0,
83928 + &avr32_syntax_table[AVR32_SYNTAX_PSUBS_SH],
83929 + BFD_RELOC_UNUSED, 3, -1,
83930 + {
83931 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
83932 + &avr32_ifield_table[AVR32_IFIELD_RX],
83933 + &avr32_ifield_table[AVR32_IFIELD_RY],
83934 + },
83935 + },
83936 + {
83937 + AVR32_OPC_PSUBS_UB, 4, 0xe0002350, 0xe1f0fff0,
83938 + &avr32_syntax_table[AVR32_SYNTAX_PSUBS_UB],
83939 + BFD_RELOC_UNUSED, 3, -1,
83940 + {
83941 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
83942 + &avr32_ifield_table[AVR32_IFIELD_RX],
83943 + &avr32_ifield_table[AVR32_IFIELD_RY],
83944 + },
83945 + },
83946 + {
83947 + AVR32_OPC_PSUBS_UH, 4, 0xe0002090, 0xe1f0fff0,
83948 + &avr32_syntax_table[AVR32_SYNTAX_PSUBS_UH],
83949 + BFD_RELOC_UNUSED, 3, -1,
83950 + {
83951 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
83952 + &avr32_ifield_table[AVR32_IFIELD_RX],
83953 + &avr32_ifield_table[AVR32_IFIELD_RY],
83954 + },
83955 + },
83956 + {
83957 + AVR32_OPC_PSUBX_H, 4, 0xe0002030, 0xe1f0fff0,
83958 + &avr32_syntax_table[AVR32_SYNTAX_PSUBX_H],
83959 + BFD_RELOC_UNUSED, 3, -1,
83960 + {
83961 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
83962 + &avr32_ifield_table[AVR32_IFIELD_RX],
83963 + &avr32_ifield_table[AVR32_IFIELD_RY],
83964 + },
83965 + },
83966 + {
83967 + AVR32_OPC_PSUBXH_SH, 4, 0xe00020f0, 0xe1f0fff0,
83968 + &avr32_syntax_table[AVR32_SYNTAX_PSUBXH_SH],
83969 + BFD_RELOC_UNUSED, 3, -1,
83970 + {
83971 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
83972 + &avr32_ifield_table[AVR32_IFIELD_RX],
83973 + &avr32_ifield_table[AVR32_IFIELD_RY],
83974 + },
83975 + },
83976 + {
83977 + AVR32_OPC_PSUBXS_SH, 4, 0xe0002070, 0xe1f0fff0,
83978 + &avr32_syntax_table[AVR32_SYNTAX_PSUBXS_SH],
83979 + BFD_RELOC_UNUSED, 3, -1,
83980 + {
83981 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
83982 + &avr32_ifield_table[AVR32_IFIELD_RX],
83983 + &avr32_ifield_table[AVR32_IFIELD_RY],
83984 + },
83985 + },
83986 + {
83987 + AVR32_OPC_PSUBXS_UH, 4, 0xe00020b0, 0xe1f0fff0,
83988 + &avr32_syntax_table[AVR32_SYNTAX_PSUBXS_UH],
83989 + BFD_RELOC_UNUSED, 3, -1,
83990 + {
83991 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
83992 + &avr32_ifield_table[AVR32_IFIELD_RX],
83993 + &avr32_ifield_table[AVR32_IFIELD_RY],
83994 + },
83995 + },
83996 + {
83997 + AVR32_OPC_PUNPCKSB_H, 4, 0xe00024a0, 0xe1ffffe0,
83998 + &avr32_syntax_table[AVR32_SYNTAX_PUNPCKSB_H],
83999 + BFD_RELOC_UNUSED, 3, -1,
84000 + {
84001 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
84002 + &avr32_ifield_table[AVR32_IFIELD_RX],
84003 + &avr32_ifield_table[AVR32_IFIELD_Y],
84004 + },
84005 + },
84006 + {
84007 + AVR32_OPC_PUNPCKUB_H, 4, 0xe0002480, 0xe1ffffe0,
84008 + &avr32_syntax_table[AVR32_SYNTAX_PUNPCKUB_H],
84009 + BFD_RELOC_UNUSED, 3, -1,
84010 + {
84011 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
84012 + &avr32_ifield_table[AVR32_IFIELD_RX],
84013 + &avr32_ifield_table[AVR32_IFIELD_Y],
84014 + },
84015 + },
84016 + {
84017 + AVR32_OPC_PUSHJC, 2, 0xd7230000, 0xffff0000,
84018 + &avr32_syntax_table[AVR32_SYNTAX_PUSHJC],
84019 + BFD_RELOC_UNUSED, 0, -1, { NULL },
84020 + },
84021 + {
84022 + AVR32_OPC_PUSHM, 2, 0xd0010000, 0xf00f0000,
84023 + &avr32_syntax_table[AVR32_SYNTAX_PUSHM],
84024 + BFD_RELOC_UNUSED, 1, -1,
84025 + {
84026 + &avr32_ifield_table[AVR32_IFIELD_K8C],
84027 + },
84028 + },
84029 + {
84030 + AVR32_OPC_PUSHM_E, 4, 0xebcd0000, 0xffff0000,
84031 + &avr32_syntax_table[AVR32_SYNTAX_PUSHM_E],
84032 + BFD_RELOC_UNUSED, 1, -1,
84033 + {
84034 + &avr32_ifield_table[AVR32_IFIELD_K16],
84035 + },
84036 + },
84037 + {
84038 + AVR32_OPC_RCALL1, 2, 0xc00c0000, 0xf00c0000,
84039 + &avr32_syntax_table[AVR32_SYNTAX_RCALL1],
84040 + BFD_RELOC_AVR32_11H_PCREL, 1, 0,
84041 + {
84042 + &avr32_ifield_table[AVR32_IFIELD_K10],
84043 + },
84044 + },
84045 + {
84046 + AVR32_OPC_RCALL2, 4, 0xe0a00000, 0xe1ef0000,
84047 + &avr32_syntax_table[AVR32_SYNTAX_RCALL2],
84048 + BFD_RELOC_AVR32_22H_PCREL, 1, 0,
84049 + {
84050 + &avr32_ifield_table[AVR32_IFIELD_K21],
84051 + },
84052 + },
84053 + {
84054 + AVR32_OPC_RETEQ, 2, 0x5e000000, 0xfff00000,
84055 + &avr32_syntax_table[AVR32_SYNTAX_RETEQ],
84056 + BFD_RELOC_NONE, 1, -1,
84057 + {
84058 + &avr32_ifield_table[AVR32_IFIELD_RY],
84059 + },
84060 + },
84061 + {
84062 + AVR32_OPC_RETNE, 2, 0x5e100000, 0xfff00000,
84063 + &avr32_syntax_table[AVR32_SYNTAX_RETNE],
84064 + BFD_RELOC_NONE, 1, -1,
84065 + {
84066 + &avr32_ifield_table[AVR32_IFIELD_RY],
84067 + },
84068 + },
84069 + {
84070 + AVR32_OPC_RETCC, 2, 0x5e200000, 0xfff00000,
84071 + &avr32_syntax_table[AVR32_SYNTAX_RETHS],
84072 + BFD_RELOC_NONE, 1, -1,
84073 + {
84074 + &avr32_ifield_table[AVR32_IFIELD_RY],
84075 + },
84076 + },
84077 + {
84078 + AVR32_OPC_RETCS, 2, 0x5e300000, 0xfff00000,
84079 + &avr32_syntax_table[AVR32_SYNTAX_RETLO],
84080 + BFD_RELOC_NONE, 1, -1,
84081 + {
84082 + &avr32_ifield_table[AVR32_IFIELD_RY],
84083 + },
84084 + },
84085 + {
84086 + AVR32_OPC_RETGE, 2, 0x5e400000, 0xfff00000,
84087 + &avr32_syntax_table[AVR32_SYNTAX_RETGE],
84088 + BFD_RELOC_NONE, 1, -1,
84089 + {
84090 + &avr32_ifield_table[AVR32_IFIELD_RY],
84091 + },
84092 + },
84093 + {
84094 + AVR32_OPC_RETLT, 2, 0x5e500000, 0xfff00000,
84095 + &avr32_syntax_table[AVR32_SYNTAX_RETLT],
84096 + BFD_RELOC_NONE, 1, -1,
84097 + {
84098 + &avr32_ifield_table[AVR32_IFIELD_RY],
84099 + },
84100 + },
84101 + {
84102 + AVR32_OPC_RETMI, 2, 0x5e600000, 0xfff00000,
84103 + &avr32_syntax_table[AVR32_SYNTAX_RETMI],
84104 + BFD_RELOC_NONE, 1, -1,
84105 + {
84106 + &avr32_ifield_table[AVR32_IFIELD_RY],
84107 + },
84108 + },
84109 + {
84110 + AVR32_OPC_RETPL, 2, 0x5e700000, 0xfff00000,
84111 + &avr32_syntax_table[AVR32_SYNTAX_RETPL],
84112 + BFD_RELOC_NONE, 1, -1,
84113 + {
84114 + &avr32_ifield_table[AVR32_IFIELD_RY],
84115 + },
84116 + },
84117 + {
84118 + AVR32_OPC_RETLS, 2, 0x5e800000, 0xfff00000,
84119 + &avr32_syntax_table[AVR32_SYNTAX_RETLS],
84120 + BFD_RELOC_NONE, 1, -1,
84121 + {
84122 + &avr32_ifield_table[AVR32_IFIELD_RY],
84123 + },
84124 + },
84125 + {
84126 + AVR32_OPC_RETGT, 2, 0x5e900000, 0xfff00000,
84127 + &avr32_syntax_table[AVR32_SYNTAX_RETGT],
84128 + BFD_RELOC_NONE, 1, -1,
84129 + {
84130 + &avr32_ifield_table[AVR32_IFIELD_RY],
84131 + },
84132 + },
84133 + {
84134 + AVR32_OPC_RETLE, 2, 0x5ea00000, 0xfff00000,
84135 + &avr32_syntax_table[AVR32_SYNTAX_RETLE],
84136 + BFD_RELOC_NONE, 1, -1,
84137 + {
84138 + &avr32_ifield_table[AVR32_IFIELD_RY],
84139 + },
84140 + },
84141 + {
84142 + AVR32_OPC_RETHI, 2, 0x5eb00000, 0xfff00000,
84143 + &avr32_syntax_table[AVR32_SYNTAX_RETHI],
84144 + BFD_RELOC_NONE, 1, -1,
84145 + {
84146 + &avr32_ifield_table[AVR32_IFIELD_RY],
84147 + },
84148 + },
84149 + {
84150 + AVR32_OPC_RETVS, 2, 0x5ec00000, 0xfff00000,
84151 + &avr32_syntax_table[AVR32_SYNTAX_RETVS],
84152 + BFD_RELOC_NONE, 1, -1,
84153 + {
84154 + &avr32_ifield_table[AVR32_IFIELD_RY],
84155 + },
84156 + },
84157 + {
84158 + AVR32_OPC_RETVC, 2, 0x5ed00000, 0xfff00000,
84159 + &avr32_syntax_table[AVR32_SYNTAX_RETVC],
84160 + BFD_RELOC_NONE, 1, -1,
84161 + {
84162 + &avr32_ifield_table[AVR32_IFIELD_RY],
84163 + },
84164 + },
84165 + {
84166 + AVR32_OPC_RETQS, 2, 0x5ee00000, 0xfff00000,
84167 + &avr32_syntax_table[AVR32_SYNTAX_RETQS],
84168 + BFD_RELOC_NONE, 1, -1,
84169 + {
84170 + &avr32_ifield_table[AVR32_IFIELD_RY],
84171 + },
84172 + },
84173 + {
84174 + AVR32_OPC_RETAL, 2, 0x5ef00000, 0xfff00000,
84175 + &avr32_syntax_table[AVR32_SYNTAX_RETAL],
84176 + BFD_RELOC_NONE, 1, -1,
84177 + {
84178 + &avr32_ifield_table[AVR32_IFIELD_RY],
84179 + },
84180 + },
84181 + {
84182 + AVR32_OPC_RETD, 2, 0xd6230000, 0xffff0000,
84183 + &avr32_syntax_table[AVR32_SYNTAX_RETD],
84184 + BFD_RELOC_NONE, 0, -1, { NULL },
84185 + },
84186 + {
84187 + AVR32_OPC_RETE, 2, 0xd6030000, 0xffff0000,
84188 + &avr32_syntax_table[AVR32_SYNTAX_RETE],
84189 + BFD_RELOC_NONE, 0, -1, { NULL },
84190 + },
84191 + {
84192 + AVR32_OPC_RETJ, 2, 0xd6330000, 0xffff0000,
84193 + &avr32_syntax_table[AVR32_SYNTAX_RETJ],
84194 + BFD_RELOC_NONE, 0, -1, { NULL },
84195 + },
84196 + {
84197 + AVR32_OPC_RETS, 2, 0xd6130000, 0xffff0000,
84198 + &avr32_syntax_table[AVR32_SYNTAX_RETS],
84199 + BFD_RELOC_NONE, 0, -1, { NULL },
84200 + },
84201 + {
84202 + AVR32_OPC_RJMP, 2, 0xc0080000, 0xf00c0000,
84203 + &avr32_syntax_table[AVR32_SYNTAX_RJMP],
84204 + BFD_RELOC_AVR32_11H_PCREL, 1, 0,
84205 + {
84206 + &avr32_ifield_table[AVR32_IFIELD_K10],
84207 + },
84208 + },
84209 + {
84210 + AVR32_OPC_ROL, 2, 0x5cf00000, 0xfff00000,
84211 + &avr32_syntax_table[AVR32_SYNTAX_ROL],
84212 + BFD_RELOC_UNUSED, 1, -1,
84213 + {
84214 + &avr32_ifield_table[AVR32_IFIELD_RY],
84215 + }
84216 + },
84217 + {
84218 + AVR32_OPC_ROR, 2, 0x5d000000, 0xfff00000,
84219 + &avr32_syntax_table[AVR32_SYNTAX_ROR],
84220 + BFD_RELOC_UNUSED, 1, -1,
84221 + {
84222 + &avr32_ifield_table[AVR32_IFIELD_RY],
84223 + }
84224 + },
84225 + {
84226 + AVR32_OPC_RSUB1, 2, 0x00200000, 0xe1f00000,
84227 + &avr32_syntax_table[AVR32_SYNTAX_RSUB1],
84228 + BFD_RELOC_UNUSED, 2, -1,
84229 + {
84230 + &avr32_ifield_table[AVR32_IFIELD_RY],
84231 + &avr32_ifield_table[AVR32_IFIELD_RX],
84232 + },
84233 + },
84234 + {
84235 + AVR32_OPC_RSUB2, 4, 0xe0001100, 0xe1f0ff00,
84236 + &avr32_syntax_table[AVR32_SYNTAX_RSUB2],
84237 + BFD_RELOC_AVR32_8S_EXT, 3, 2,
84238 + {
84239 + &avr32_ifield_table[AVR32_IFIELD_RY],
84240 + &avr32_ifield_table[AVR32_IFIELD_RX],
84241 + &avr32_ifield_table[AVR32_IFIELD_K8E],
84242 + },
84243 + },
84244 + {
84245 + AVR32_OPC_SATADD_H, 4, 0xe00002c0, 0xe1f0fff0,
84246 + &avr32_syntax_table[AVR32_SYNTAX_SATADD_H],
84247 + BFD_RELOC_UNUSED, 3, -1,
84248 + {
84249 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
84250 + &avr32_ifield_table[AVR32_IFIELD_RX],
84251 + &avr32_ifield_table[AVR32_IFIELD_RY],
84252 + },
84253 + },
84254 + {
84255 + AVR32_OPC_SATADD_W, 4, 0xe00000c0, 0xe1f0fff0,
84256 + &avr32_syntax_table[AVR32_SYNTAX_SATADD_W],
84257 + BFD_RELOC_UNUSED, 3, -1,
84258 + {
84259 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
84260 + &avr32_ifield_table[AVR32_IFIELD_RX],
84261 + &avr32_ifield_table[AVR32_IFIELD_RY],
84262 + },
84263 + },
84264 + {
84265 + AVR32_OPC_SATRNDS, 4, 0xf3b00000, 0xfff0fc00,
84266 + &avr32_syntax_table[AVR32_SYNTAX_SATRNDS],
84267 + BFD_RELOC_UNUSED, 3, -1,
84268 + {
84269 + &avr32_ifield_table[AVR32_IFIELD_RY],
84270 + &avr32_ifield_table[AVR32_IFIELD_K5E],
84271 + &avr32_ifield_table[AVR32_IFIELD_S5],
84272 + },
84273 + },
84274 + {
84275 + AVR32_OPC_SATRNDU, 4, 0xf3b00400, 0xfff0fc00,
84276 + &avr32_syntax_table[AVR32_SYNTAX_SATRNDU],
84277 + BFD_RELOC_UNUSED, 3, -1,
84278 + {
84279 + &avr32_ifield_table[AVR32_IFIELD_RY],
84280 + &avr32_ifield_table[AVR32_IFIELD_K5E],
84281 + &avr32_ifield_table[AVR32_IFIELD_S5],
84282 + },
84283 + },
84284 + {
84285 + AVR32_OPC_SATS, 4, 0xf1b00000, 0xfff0fc00,
84286 + &avr32_syntax_table[AVR32_SYNTAX_SATS],
84287 + BFD_RELOC_UNUSED, 3, -1,
84288 + {
84289 + &avr32_ifield_table[AVR32_IFIELD_RY],
84290 + &avr32_ifield_table[AVR32_IFIELD_K5E],
84291 + &avr32_ifield_table[AVR32_IFIELD_S5],
84292 + },
84293 + },
84294 + {
84295 + AVR32_OPC_SATSUB_H, 4, 0xe00003c0, 0xe1f0fff0,
84296 + &avr32_syntax_table[AVR32_SYNTAX_SATSUB_H],
84297 + BFD_RELOC_UNUSED, 3, -1,
84298 + {
84299 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
84300 + &avr32_ifield_table[AVR32_IFIELD_RX],
84301 + &avr32_ifield_table[AVR32_IFIELD_RY],
84302 + },
84303 + },
84304 + {
84305 + AVR32_OPC_SATSUB_W1, 4, 0xe00001c0, 0xe1f0fff0,
84306 + &avr32_syntax_table[AVR32_SYNTAX_SATSUB_W1],
84307 + BFD_RELOC_UNUSED, 3, -1,
84308 + {
84309 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
84310 + &avr32_ifield_table[AVR32_IFIELD_RX],
84311 + &avr32_ifield_table[AVR32_IFIELD_RY],
84312 + },
84313 + },
84314 + {
84315 + AVR32_OPC_SATSUB_W2, 4, 0xe0d00000, 0xe1f00000,
84316 + &avr32_syntax_table[AVR32_SYNTAX_SATSUB_W2],
84317 + BFD_RELOC_UNUSED, 3, -1,
84318 + {
84319 + &avr32_ifield_table[AVR32_IFIELD_RY],
84320 + &avr32_ifield_table[AVR32_IFIELD_RX],
84321 + &avr32_ifield_table[AVR32_IFIELD_K16],
84322 + },
84323 + },
84324 + {
84325 + AVR32_OPC_SATU, 4, 0xf1b00400, 0xfff0fc00,
84326 + &avr32_syntax_table[AVR32_SYNTAX_SATU],
84327 + BFD_RELOC_UNUSED, 3, -1,
84328 + {
84329 + &avr32_ifield_table[AVR32_IFIELD_RY],
84330 + &avr32_ifield_table[AVR32_IFIELD_K5E],
84331 + &avr32_ifield_table[AVR32_IFIELD_S5],
84332 + },
84333 + },
84334 + {
84335 + AVR32_OPC_SBC, 4, 0xe0000140, 0xe1f0fff0,
84336 + &avr32_syntax_table[AVR32_SYNTAX_SBC],
84337 + BFD_RELOC_UNUSED, 3, -1,
84338 + {
84339 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
84340 + &avr32_ifield_table[AVR32_IFIELD_RX],
84341 + &avr32_ifield_table[AVR32_IFIELD_RY],
84342 + },
84343 + },
84344 + {
84345 + AVR32_OPC_SBR, 2, 0xa1a00000, 0xe1e00000,
84346 + &avr32_syntax_table[AVR32_SYNTAX_SBR],
84347 + BFD_RELOC_UNUSED, 2, -1,
84348 + {
84349 + &avr32_ifield_table[AVR32_IFIELD_RY],
84350 + &avr32_ifield_table[AVR32_IFIELD_BIT5C],
84351 + },
84352 + },
84353 + {
84354 + AVR32_OPC_SCALL, 2, 0xd7330000, 0xffff0000,
84355 + &avr32_syntax_table[AVR32_SYNTAX_SCALL],
84356 + BFD_RELOC_UNUSED, 0, -1, { NULL },
84357 + },
84358 + {
84359 + AVR32_OPC_SCR, 2, 0x5c100000, 0xfff00000,
84360 + &avr32_syntax_table[AVR32_SYNTAX_SCR],
84361 + BFD_RELOC_UNUSED, 1, -1,
84362 + {
84363 + &avr32_ifield_table[AVR32_IFIELD_RY],
84364 + },
84365 + },
84366 + {
84367 + AVR32_OPC_SLEEP, 4, 0xe9b00000, 0xffffff00,
84368 + &avr32_syntax_table[AVR32_SYNTAX_SLEEP],
84369 + BFD_RELOC_AVR32_8S_EXT, 1, 0,
84370 + {
84371 + &avr32_ifield_table[AVR32_IFIELD_K8E],
84372 + },
84373 + },
84374 + {
84375 + AVR32_OPC_SREQ, 2, 0x5f000000, 0xfff00000,
84376 + &avr32_syntax_table[AVR32_SYNTAX_SREQ],
84377 + BFD_RELOC_UNUSED, 1, -1,
84378 + {
84379 + &avr32_ifield_table[AVR32_IFIELD_RY],
84380 + },
84381 + },
84382 + {
84383 + AVR32_OPC_SRNE, 2, 0x5f100000, 0xfff00000,
84384 + &avr32_syntax_table[AVR32_SYNTAX_SRNE],
84385 + BFD_RELOC_UNUSED, 1, -1,
84386 + {
84387 + &avr32_ifield_table[AVR32_IFIELD_RY],
84388 + },
84389 + },
84390 + {
84391 + AVR32_OPC_SRCC, 2, 0x5f200000, 0xfff00000,
84392 + &avr32_syntax_table[AVR32_SYNTAX_SRHS],
84393 + BFD_RELOC_UNUSED, 1, -1,
84394 + {
84395 + &avr32_ifield_table[AVR32_IFIELD_RY],
84396 + },
84397 + },
84398 + {
84399 + AVR32_OPC_SRCS, 2, 0x5f300000, 0xfff00000,
84400 + &avr32_syntax_table[AVR32_SYNTAX_SRLO],
84401 + BFD_RELOC_UNUSED, 1, -1,
84402 + {
84403 + &avr32_ifield_table[AVR32_IFIELD_RY],
84404 + },
84405 + },
84406 + {
84407 + AVR32_OPC_SRGE, 2, 0x5f400000, 0xfff00000,
84408 + &avr32_syntax_table[AVR32_SYNTAX_SRGE],
84409 + BFD_RELOC_UNUSED, 1, -1,
84410 + {
84411 + &avr32_ifield_table[AVR32_IFIELD_RY],
84412 + },
84413 + },
84414 + {
84415 + AVR32_OPC_SRLT, 2, 0x5f500000, 0xfff00000,
84416 + &avr32_syntax_table[AVR32_SYNTAX_SRLT],
84417 + BFD_RELOC_UNUSED, 1, -1,
84418 + {
84419 + &avr32_ifield_table[AVR32_IFIELD_RY],
84420 + },
84421 + },
84422 + {
84423 + AVR32_OPC_SRMI, 2, 0x5f600000, 0xfff00000,
84424 + &avr32_syntax_table[AVR32_SYNTAX_SRMI],
84425 + BFD_RELOC_UNUSED, 1, -1,
84426 + {
84427 + &avr32_ifield_table[AVR32_IFIELD_RY],
84428 + },
84429 + },
84430 + {
84431 + AVR32_OPC_SRPL, 2, 0x5f700000, 0xfff00000,
84432 + &avr32_syntax_table[AVR32_SYNTAX_SRPL],
84433 + BFD_RELOC_UNUSED, 1, -1,
84434 + {
84435 + &avr32_ifield_table[AVR32_IFIELD_RY],
84436 + },
84437 + },
84438 + {
84439 + AVR32_OPC_SRLS, 2, 0x5f800000, 0xfff00000,
84440 + &avr32_syntax_table[AVR32_SYNTAX_SRLS],
84441 + BFD_RELOC_UNUSED, 1, -1,
84442 + {
84443 + &avr32_ifield_table[AVR32_IFIELD_RY],
84444 + },
84445 + },
84446 + {
84447 + AVR32_OPC_SRGT, 2, 0x5f900000, 0xfff00000,
84448 + &avr32_syntax_table[AVR32_SYNTAX_SRGT],
84449 + BFD_RELOC_UNUSED, 1, -1,
84450 + {
84451 + &avr32_ifield_table[AVR32_IFIELD_RY],
84452 + },
84453 + },
84454 + {
84455 + AVR32_OPC_SRLE, 2, 0x5fa00000, 0xfff00000,
84456 + &avr32_syntax_table[AVR32_SYNTAX_SRLE],
84457 + BFD_RELOC_UNUSED, 1, -1,
84458 + {
84459 + &avr32_ifield_table[AVR32_IFIELD_RY],
84460 + },
84461 + },
84462 + {
84463 + AVR32_OPC_SRHI, 2, 0x5fb00000, 0xfff00000,
84464 + &avr32_syntax_table[AVR32_SYNTAX_SRHI],
84465 + BFD_RELOC_UNUSED, 1, -1,
84466 + {
84467 + &avr32_ifield_table[AVR32_IFIELD_RY],
84468 + },
84469 + },
84470 + {
84471 + AVR32_OPC_SRVS, 2, 0x5fc00000, 0xfff00000,
84472 + &avr32_syntax_table[AVR32_SYNTAX_SRVS],
84473 + BFD_RELOC_UNUSED, 1, -1,
84474 + {
84475 + &avr32_ifield_table[AVR32_IFIELD_RY],
84476 + },
84477 + },
84478 + {
84479 + AVR32_OPC_SRVC, 2, 0x5fd00000, 0xfff00000,
84480 + &avr32_syntax_table[AVR32_SYNTAX_SRVC],
84481 + BFD_RELOC_UNUSED, 1, -1,
84482 + {
84483 + &avr32_ifield_table[AVR32_IFIELD_RY],
84484 + },
84485 + },
84486 + {
84487 + AVR32_OPC_SRQS, 2, 0x5fe00000, 0xfff00000,
84488 + &avr32_syntax_table[AVR32_SYNTAX_SRQS],
84489 + BFD_RELOC_UNUSED, 1, -1,
84490 + {
84491 + &avr32_ifield_table[AVR32_IFIELD_RY],
84492 + },
84493 + },
84494 + {
84495 + AVR32_OPC_SRAL, 2, 0x5ff00000, 0xfff00000,
84496 + &avr32_syntax_table[AVR32_SYNTAX_SRAL],
84497 + BFD_RELOC_UNUSED, 1, -1,
84498 + {
84499 + &avr32_ifield_table[AVR32_IFIELD_RY],
84500 + },
84501 + },
84502 + {
84503 + AVR32_OPC_SSRF, 2, 0xd2030000, 0xfe0f0000,
84504 + &avr32_syntax_table[AVR32_SYNTAX_SSRF],
84505 + BFD_RELOC_UNUSED, 1, -1,
84506 + {
84507 + &avr32_ifield_table[AVR32_IFIELD_K5C],
84508 + },
84509 + },
84510 + {
84511 + AVR32_OPC_ST_B1, 2, 0x00c00000, 0xe1f00000,
84512 + &avr32_syntax_table[AVR32_SYNTAX_ST_B1],
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_B2, 2, 0x00f00000, 0xe1f00000,
84521 + &avr32_syntax_table[AVR32_SYNTAX_ST_B2],
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_B5, 4, 0xe0000b00, 0xe1f0ffc0,
84530 + &avr32_syntax_table[AVR32_SYNTAX_ST_B5],
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_B3, 2, 0xa0800000, 0xe1800000,
84541 + &avr32_syntax_table[AVR32_SYNTAX_ST_B3],
84542 + BFD_RELOC_AVR32_3U, 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_B4, 4, 0xe1600000, 0xe1f00000,
84551 + &avr32_syntax_table[AVR32_SYNTAX_ST_B4],
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_D1, 2, 0xa1200000, 0xe1f10000,
84561 + &avr32_syntax_table[AVR32_SYNTAX_ST_D1],
84562 + BFD_RELOC_UNUSED, 2, -1,
84563 + {
84564 + &avr32_ifield_table[AVR32_IFIELD_RX],
84565 + &avr32_ifield_table[AVR32_IFIELD_RY_DW],
84566 + },
84567 + },
84568 + {
84569 + AVR32_OPC_ST_D2, 2, 0xa1210000, 0xe1f10000,
84570 + &avr32_syntax_table[AVR32_SYNTAX_ST_D2],
84571 + BFD_RELOC_UNUSED, 2, -1,
84572 + {
84573 + &avr32_ifield_table[AVR32_IFIELD_RX],
84574 + &avr32_ifield_table[AVR32_IFIELD_RY_DW],
84575 + },
84576 + },
84577 + {
84578 + AVR32_OPC_ST_D3, 2, 0xa1110000, 0xe1f10000,
84579 + &avr32_syntax_table[AVR32_SYNTAX_ST_D3],
84580 + BFD_RELOC_UNUSED, 2, -1,
84581 + {
84582 + &avr32_ifield_table[AVR32_IFIELD_RX],
84583 + &avr32_ifield_table[AVR32_IFIELD_RY_DW],
84584 + },
84585 + },
84586 + {
84587 + AVR32_OPC_ST_D5, 4, 0xe0000800, 0xe1f0ffc1,
84588 + &avr32_syntax_table[AVR32_SYNTAX_ST_D5],
84589 + BFD_RELOC_UNUSED, 4, -1,
84590 + {
84591 + &avr32_ifield_table[AVR32_IFIELD_RX],
84592 + &avr32_ifield_table[AVR32_IFIELD_RY],
84593 + &avr32_ifield_table[AVR32_IFIELD_K2],
84594 + &avr32_ifield_table[AVR32_IFIELD_RD_DW],
84595 + },
84596 + },
84597 + {
84598 + AVR32_OPC_ST_D4, 4, 0xe0e10000, 0xe1f10000,
84599 + &avr32_syntax_table[AVR32_SYNTAX_ST_D4],
84600 + BFD_RELOC_AVR32_16S, 3, 1,
84601 + {
84602 + &avr32_ifield_table[AVR32_IFIELD_RX],
84603 + &avr32_ifield_table[AVR32_IFIELD_K16],
84604 + &avr32_ifield_table[AVR32_IFIELD_RY_DW],
84605 + },
84606 + },
84607 + {
84608 + AVR32_OPC_ST_H1, 2, 0x00b00000, 0xe1f00000,
84609 + &avr32_syntax_table[AVR32_SYNTAX_ST_H1],
84610 + BFD_RELOC_UNUSED, 2, -1,
84611 + {
84612 + &avr32_ifield_table[AVR32_IFIELD_RX],
84613 + &avr32_ifield_table[AVR32_IFIELD_RY],
84614 + },
84615 + },
84616 + {
84617 + AVR32_OPC_ST_H2, 2, 0x00e00000, 0xe1f00000,
84618 + &avr32_syntax_table[AVR32_SYNTAX_ST_H2],
84619 + BFD_RELOC_UNUSED, 2, -1,
84620 + {
84621 + &avr32_ifield_table[AVR32_IFIELD_RX],
84622 + &avr32_ifield_table[AVR32_IFIELD_RY],
84623 + },
84624 + },
84625 + {
84626 + AVR32_OPC_ST_H5, 4, 0xe0000a00, 0xe1f0ffc0,
84627 + &avr32_syntax_table[AVR32_SYNTAX_ST_H5],
84628 + BFD_RELOC_UNUSED, 4, -1,
84629 + {
84630 + &avr32_ifield_table[AVR32_IFIELD_RX],
84631 + &avr32_ifield_table[AVR32_IFIELD_RY],
84632 + &avr32_ifield_table[AVR32_IFIELD_K2],
84633 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
84634 + },
84635 + },
84636 + {
84637 + AVR32_OPC_ST_H3, 2, 0xa0000000, 0xe1800000,
84638 + &avr32_syntax_table[AVR32_SYNTAX_ST_H3],
84639 + BFD_RELOC_AVR32_4UH, 3, 1,
84640 + {
84641 + &avr32_ifield_table[AVR32_IFIELD_RX],
84642 + &avr32_ifield_table[AVR32_IFIELD_K3],
84643 + &avr32_ifield_table[AVR32_IFIELD_RY],
84644 + },
84645 + },
84646 + {
84647 + AVR32_OPC_ST_H4, 4, 0xe1500000, 0xe1f00000,
84648 + &avr32_syntax_table[AVR32_SYNTAX_ST_H4],
84649 + BFD_RELOC_AVR32_16S, 3, 1,
84650 + {
84651 + &avr32_ifield_table[AVR32_IFIELD_RX],
84652 + &avr32_ifield_table[AVR32_IFIELD_K16],
84653 + &avr32_ifield_table[AVR32_IFIELD_RY],
84654 + },
84655 + },
84656 + {
84657 + AVR32_OPC_ST_W1, 2, 0x00a00000, 0xe1f00000,
84658 + &avr32_syntax_table[AVR32_SYNTAX_ST_W1],
84659 + BFD_RELOC_UNUSED, 2, -1,
84660 + {
84661 + &avr32_ifield_table[AVR32_IFIELD_RX],
84662 + &avr32_ifield_table[AVR32_IFIELD_RY],
84663 + },
84664 + },
84665 + {
84666 + AVR32_OPC_ST_W2, 2, 0x00d00000, 0xe1f00000,
84667 + &avr32_syntax_table[AVR32_SYNTAX_ST_W2],
84668 + BFD_RELOC_UNUSED, 2, -1,
84669 + {
84670 + &avr32_ifield_table[AVR32_IFIELD_RX],
84671 + &avr32_ifield_table[AVR32_IFIELD_RY],
84672 + },
84673 + },
84674 + {
84675 + AVR32_OPC_ST_W5, 4, 0xe0000900, 0xe1f0ffc0,
84676 + &avr32_syntax_table[AVR32_SYNTAX_ST_W5],
84677 + BFD_RELOC_UNUSED, 4, -1,
84678 + {
84679 + &avr32_ifield_table[AVR32_IFIELD_RX],
84680 + &avr32_ifield_table[AVR32_IFIELD_RY],
84681 + &avr32_ifield_table[AVR32_IFIELD_K2],
84682 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
84683 + },
84684 + },
84685 + {
84686 + AVR32_OPC_ST_W3, 2, 0x81000000, 0xe1000000,
84687 + &avr32_syntax_table[AVR32_SYNTAX_ST_W3],
84688 + BFD_RELOC_AVR32_6UW, 3, 1,
84689 + {
84690 + &avr32_ifield_table[AVR32_IFIELD_RX],
84691 + &avr32_ifield_table[AVR32_IFIELD_K4],
84692 + &avr32_ifield_table[AVR32_IFIELD_RY],
84693 + },
84694 + },
84695 + {
84696 + AVR32_OPC_ST_W4, 4, 0xe1400000, 0xe1f00000,
84697 + &avr32_syntax_table[AVR32_SYNTAX_ST_W4],
84698 + BFD_RELOC_AVR32_16S, 3, 1,
84699 + {
84700 + &avr32_ifield_table[AVR32_IFIELD_RX],
84701 + &avr32_ifield_table[AVR32_IFIELD_K16],
84702 + &avr32_ifield_table[AVR32_IFIELD_RY],
84703 + },
84704 + },
84705 + {
84706 + AVR32_OPC_STC_D1, 4, 0xeba01000, 0xfff01100,
84707 + &avr32_syntax_table[AVR32_SYNTAX_STC_D1],
84708 + BFD_RELOC_AVR32_10UW, 4, 2,
84709 + {
84710 + &avr32_ifield_table[AVR32_IFIELD_CPNO],
84711 + &avr32_ifield_table[AVR32_IFIELD_RY],
84712 + &avr32_ifield_table[AVR32_IFIELD_K8E],
84713 + &avr32_ifield_table[AVR32_IFIELD_CRD_DW],
84714 + },
84715 + },
84716 + {
84717 + AVR32_OPC_STC_D2, 4, 0xefa00070, 0xfff011f0,
84718 + &avr32_syntax_table[AVR32_SYNTAX_STC_D2],
84719 + BFD_RELOC_UNUSED, 3, -1,
84720 + {
84721 + &avr32_ifield_table[AVR32_IFIELD_CPNO],
84722 + &avr32_ifield_table[AVR32_IFIELD_RY],
84723 + &avr32_ifield_table[AVR32_IFIELD_CRD_DW],
84724 + },
84725 + },
84726 + {
84727 + AVR32_OPC_STC_D3, 4, 0xefa010c0, 0xfff011c0,
84728 + &avr32_syntax_table[AVR32_SYNTAX_STC_D3],
84729 + BFD_RELOC_UNUSED, 5, -1,
84730 + {
84731 + &avr32_ifield_table[AVR32_IFIELD_CPNO],
84732 + &avr32_ifield_table[AVR32_IFIELD_RY],
84733 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
84734 + &avr32_ifield_table[AVR32_IFIELD_K2],
84735 + &avr32_ifield_table[AVR32_IFIELD_CRD_DW],
84736 + },
84737 + },
84738 + {
84739 + AVR32_OPC_STC_W1, 4, 0xeba00000, 0xfff01000,
84740 + &avr32_syntax_table[AVR32_SYNTAX_STC_W1],
84741 + BFD_RELOC_AVR32_10UW, 4, 2,
84742 + {
84743 + &avr32_ifield_table[AVR32_IFIELD_CPNO],
84744 + &avr32_ifield_table[AVR32_IFIELD_RY],
84745 + &avr32_ifield_table[AVR32_IFIELD_K8E],
84746 + &avr32_ifield_table[AVR32_IFIELD_CRD_RI],
84747 + },
84748 + },
84749 + {
84750 + AVR32_OPC_STC_W2, 4, 0xefa00060, 0xfff010ff,
84751 + &avr32_syntax_table[AVR32_SYNTAX_STC_W2],
84752 + BFD_RELOC_UNUSED, 3, -1,
84753 + {
84754 + &avr32_ifield_table[AVR32_IFIELD_CPNO],
84755 + &avr32_ifield_table[AVR32_IFIELD_RY],
84756 + &avr32_ifield_table[AVR32_IFIELD_CRD_RI],
84757 + },
84758 + },
84759 + {
84760 + AVR32_OPC_STC_W3, 4, 0xefa01080, 0xfff010c0,
84761 + &avr32_syntax_table[AVR32_SYNTAX_STC_W3],
84762 + BFD_RELOC_UNUSED, 5, -1,
84763 + {
84764 + &avr32_ifield_table[AVR32_IFIELD_CPNO],
84765 + &avr32_ifield_table[AVR32_IFIELD_RY],
84766 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
84767 + &avr32_ifield_table[AVR32_IFIELD_K2],
84768 + &avr32_ifield_table[AVR32_IFIELD_CRD_RI],
84769 + },
84770 + },
84771 + {
84772 + AVR32_OPC_STC0_D, 4, 0xf7a00000, 0xfff00100,
84773 + &avr32_syntax_table[AVR32_SYNTAX_STC0_D],
84774 + BFD_RELOC_AVR32_14UW, 3, 1,
84775 + {
84776 + &avr32_ifield_table[AVR32_IFIELD_RY],
84777 + &avr32_ifield_table[AVR32_IFIELD_K12CP],
84778 + &avr32_ifield_table[AVR32_IFIELD_CRD_DW],
84779 + },
84780 + },
84781 + {
84782 + AVR32_OPC_STC0_W, 4, 0xf5a00000, 0xfff00000,
84783 + &avr32_syntax_table[AVR32_SYNTAX_STC0_W],
84784 + BFD_RELOC_AVR32_14UW, 3, 1,
84785 + {
84786 + &avr32_ifield_table[AVR32_IFIELD_RY],
84787 + &avr32_ifield_table[AVR32_IFIELD_K12CP],
84788 + &avr32_ifield_table[AVR32_IFIELD_CRD_RI],
84789 + },
84790 + },
84791 + {
84792 + AVR32_OPC_STCM_D, 4, 0xeda00500, 0xfff01f00,
84793 + &avr32_syntax_table[AVR32_SYNTAX_STCM_D],
84794 + BFD_RELOC_UNUSED, 3, -1,
84795 + {
84796 + &avr32_ifield_table[AVR32_IFIELD_CPNO],
84797 + &avr32_ifield_table[AVR32_IFIELD_RY],
84798 + &avr32_ifield_table[AVR32_IFIELD_K8E],
84799 + },
84800 + },
84801 + {
84802 + AVR32_OPC_STCM_D_PU, 4, 0xeda01500, 0xfff01f00,
84803 + &avr32_syntax_table[AVR32_SYNTAX_STCM_D_PU],
84804 + BFD_RELOC_UNUSED, 3, -1,
84805 + {
84806 + &avr32_ifield_table[AVR32_IFIELD_CPNO],
84807 + &avr32_ifield_table[AVR32_IFIELD_RY],
84808 + &avr32_ifield_table[AVR32_IFIELD_K8E],
84809 + },
84810 + },
84811 + {
84812 + AVR32_OPC_STCM_W, 4, 0xeda00200, 0xfff01e00,
84813 + &avr32_syntax_table[AVR32_SYNTAX_STCM_W],
84814 + BFD_RELOC_UNUSED, 4, -1,
84815 + {
84816 + &avr32_ifield_table[AVR32_IFIELD_CPNO],
84817 + &avr32_ifield_table[AVR32_IFIELD_RY],
84818 + &avr32_ifield_table[AVR32_IFIELD_K8E],
84819 + &avr32_ifield_table[AVR32_IFIELD_CM_HL],
84820 + },
84821 + },
84822 + {
84823 + AVR32_OPC_STCM_W_PU, 4, 0xeda01200, 0xfff01e00,
84824 + &avr32_syntax_table[AVR32_SYNTAX_STCM_W_PU],
84825 + BFD_RELOC_UNUSED, 4, -1,
84826 + {
84827 + &avr32_ifield_table[AVR32_IFIELD_CPNO],
84828 + &avr32_ifield_table[AVR32_IFIELD_RY],
84829 + &avr32_ifield_table[AVR32_IFIELD_K8E],
84830 + &avr32_ifield_table[AVR32_IFIELD_CM_HL],
84831 + },
84832 + },
84833 + {
84834 + AVR32_OPC_STCOND, 4, 0xe1700000, 0xe1f00000,
84835 + &avr32_syntax_table[AVR32_SYNTAX_STCOND],
84836 + BFD_RELOC_UNUSED, 3, -1,
84837 + {
84838 + &avr32_ifield_table[AVR32_IFIELD_RX],
84839 + &avr32_ifield_table[AVR32_IFIELD_K16],
84840 + &avr32_ifield_table[AVR32_IFIELD_RY],
84841 + },
84842 + },
84843 + {
84844 + AVR32_OPC_STDSP, 2, 0x50000000, 0xf8000000,
84845 + &avr32_syntax_table[AVR32_SYNTAX_STDSP],
84846 + BFD_RELOC_UNUSED, 2, -1,
84847 + {
84848 + &avr32_ifield_table[AVR32_IFIELD_K7C],
84849 + &avr32_ifield_table[AVR32_IFIELD_RY],
84850 + },
84851 + },
84852 + {
84853 + AVR32_OPC_STHH_W2, 4, 0xe1e08000, 0xe1f0c0c0,
84854 + &avr32_syntax_table[AVR32_SYNTAX_STHH_W2],
84855 + BFD_RELOC_UNUSED, 7, -1,
84856 + {
84857 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
84858 + &avr32_ifield_table[AVR32_IFIELD_CRD_RI],
84859 + &avr32_ifield_table[AVR32_IFIELD_K2],
84860 + &avr32_ifield_table[AVR32_IFIELD_RX],
84861 + &avr32_ifield_table[AVR32_IFIELD_X2],
84862 + &avr32_ifield_table[AVR32_IFIELD_RY],
84863 + &avr32_ifield_table[AVR32_IFIELD_Y2],
84864 + },
84865 + },
84866 + {
84867 + AVR32_OPC_STHH_W1, 4, 0xe1e0c000, 0xe1f0c000,
84868 + &avr32_syntax_table[AVR32_SYNTAX_STHH_W1],
84869 + BFD_RELOC_AVR32_STHH_W, 6, 1,
84870 + {
84871 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
84872 + &avr32_ifield_table[AVR32_IFIELD_K8E2],
84873 + &avr32_ifield_table[AVR32_IFIELD_RX],
84874 + &avr32_ifield_table[AVR32_IFIELD_X2],
84875 + &avr32_ifield_table[AVR32_IFIELD_RY],
84876 + &avr32_ifield_table[AVR32_IFIELD_Y2],
84877 + },
84878 + },
84879 + {
84880 + AVR32_OPC_STM, 4, 0xe9c00000, 0xfff00000,
84881 + &avr32_syntax_table[AVR32_SYNTAX_STM],
84882 + BFD_RELOC_UNUSED, 2, -1,
84883 + {
84884 + &avr32_ifield_table[AVR32_IFIELD_RY],
84885 + &avr32_ifield_table[AVR32_IFIELD_K16],
84886 + },
84887 + },
84888 + {
84889 + AVR32_OPC_STM_PU, 4, 0xebc00000, 0xfff00000,
84890 + &avr32_syntax_table[AVR32_SYNTAX_STM_PU],
84891 + BFD_RELOC_UNUSED, 2, -1,
84892 + {
84893 + &avr32_ifield_table[AVR32_IFIELD_RY],
84894 + &avr32_ifield_table[AVR32_IFIELD_K16],
84895 + },
84896 + },
84897 + {
84898 + AVR32_OPC_STMTS, 4, 0xedc00000, 0xfff00000,
84899 + &avr32_syntax_table[AVR32_SYNTAX_STMTS],
84900 + BFD_RELOC_UNUSED, 2, -1,
84901 + {
84902 + &avr32_ifield_table[AVR32_IFIELD_RY],
84903 + &avr32_ifield_table[AVR32_IFIELD_K16],
84904 + },
84905 + },
84906 + {
84907 + AVR32_OPC_STMTS_PU, 4, 0xefc00000, 0xfff00000,
84908 + &avr32_syntax_table[AVR32_SYNTAX_STMTS_PU],
84909 + BFD_RELOC_UNUSED, 2, -1,
84910 + {
84911 + &avr32_ifield_table[AVR32_IFIELD_RY],
84912 + &avr32_ifield_table[AVR32_IFIELD_K16],
84913 + },
84914 + },
84915 + {
84916 + AVR32_OPC_STSWP_H, 4, 0xe1d09000, 0xe1f0f000,
84917 + &avr32_syntax_table[AVR32_SYNTAX_STSWP_H],
84918 + BFD_RELOC_UNUSED, 3, -1,
84919 + {
84920 + &avr32_ifield_table[AVR32_IFIELD_RX],
84921 + &avr32_ifield_table[AVR32_IFIELD_K12],
84922 + &avr32_ifield_table[AVR32_IFIELD_RY],
84923 + },
84924 + },
84925 + {
84926 + AVR32_OPC_STSWP_W, 4, 0xe1d0a000, 0xe1f0f000,
84927 + &avr32_syntax_table[AVR32_SYNTAX_STSWP_W],
84928 + BFD_RELOC_UNUSED, 3, -1,
84929 + {
84930 + &avr32_ifield_table[AVR32_IFIELD_RX],
84931 + &avr32_ifield_table[AVR32_IFIELD_K12],
84932 + &avr32_ifield_table[AVR32_IFIELD_RY],
84933 + },
84934 + },
84935 + {
84936 + AVR32_OPC_SUB1, 2, 0x00100000, 0xe1f00000,
84937 + &avr32_syntax_table[AVR32_SYNTAX_SUB1],
84938 + BFD_RELOC_UNUSED, 2, -1,
84939 + {
84940 + &avr32_ifield_table[AVR32_IFIELD_RY],
84941 + &avr32_ifield_table[AVR32_IFIELD_RX],
84942 + },
84943 + },
84944 + {
84945 + AVR32_OPC_SUB2, 4, 0xe0000100, 0xe1f0ffc0,
84946 + &avr32_syntax_table[AVR32_SYNTAX_SUB2],
84947 + BFD_RELOC_UNUSED, 4, -1,
84948 + {
84949 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
84950 + &avr32_ifield_table[AVR32_IFIELD_RX],
84951 + &avr32_ifield_table[AVR32_IFIELD_RY],
84952 + &avr32_ifield_table[AVR32_IFIELD_K2],
84953 + },
84954 + },
84955 + {
84956 + AVR32_OPC_SUB5, 4, 0xe0c00000, 0xe1f00000,
84957 + &avr32_syntax_table[AVR32_SYNTAX_SUB5],
84958 + BFD_RELOC_AVR32_SUB5, 3, 2,
84959 + {
84960 + &avr32_ifield_table[AVR32_IFIELD_RY],
84961 + &avr32_ifield_table[AVR32_IFIELD_RX],
84962 + &avr32_ifield_table[AVR32_IFIELD_K16],
84963 + },
84964 + },
84965 + {
84966 + AVR32_OPC_SUB3_SP, 2, 0x200d0000, 0xf00f0000,
84967 + &avr32_syntax_table[AVR32_SYNTAX_SUB3_SP],
84968 + BFD_RELOC_AVR32_10SW, 2, 1,
84969 + {
84970 + &avr32_ifield_table[AVR32_IFIELD_RY],
84971 + &avr32_ifield_table[AVR32_IFIELD_K8C],
84972 + },
84973 + },
84974 + {
84975 + AVR32_OPC_SUB3, 2, 0x20000000, 0xf0000000,
84976 + &avr32_syntax_table[AVR32_SYNTAX_SUB3],
84977 + BFD_RELOC_AVR32_8S, 2, 1,
84978 + {
84979 + &avr32_ifield_table[AVR32_IFIELD_RY],
84980 + &avr32_ifield_table[AVR32_IFIELD_K8C],
84981 + },
84982 + },
84983 + {
84984 + AVR32_OPC_SUB4, 4, 0xe0200000, 0xe1e00000,
84985 + &avr32_syntax_table[AVR32_SYNTAX_SUB4],
84986 + BFD_RELOC_AVR32_21S, 2, 1,
84987 + {
84988 + &avr32_ifield_table[AVR32_IFIELD_RY],
84989 + &avr32_ifield_table[AVR32_IFIELD_K21],
84990 + },
84991 + },
84992 + {
84993 + AVR32_OPC_SUBEQ, 4, 0xf7b00000, 0xfff0ff00,
84994 + &avr32_syntax_table[AVR32_SYNTAX_SUBEQ],
84995 + BFD_RELOC_AVR32_8S_EXT, 2, 1,
84996 + {
84997 + &avr32_ifield_table[AVR32_IFIELD_RY],
84998 + &avr32_ifield_table[AVR32_IFIELD_K8E],
84999 + },
85000 + },
85001 + {
85002 + AVR32_OPC_SUBNE, 4, 0xf7b00100, 0xfff0ff00,
85003 + &avr32_syntax_table[AVR32_SYNTAX_SUBNE],
85004 + BFD_RELOC_AVR32_8S_EXT, 2, 1,
85005 + {
85006 + &avr32_ifield_table[AVR32_IFIELD_RY],
85007 + &avr32_ifield_table[AVR32_IFIELD_K8E],
85008 + },
85009 + },
85010 + {
85011 + AVR32_OPC_SUBCC, 4, 0xf7b00200, 0xfff0ff00,
85012 + &avr32_syntax_table[AVR32_SYNTAX_SUBHS],
85013 + BFD_RELOC_AVR32_8S_EXT, 2, 1,
85014 + {
85015 + &avr32_ifield_table[AVR32_IFIELD_RY],
85016 + &avr32_ifield_table[AVR32_IFIELD_K8E],
85017 + },
85018 + },
85019 + {
85020 + AVR32_OPC_SUBCS, 4, 0xf7b00300, 0xfff0ff00,
85021 + &avr32_syntax_table[AVR32_SYNTAX_SUBLO],
85022 + BFD_RELOC_AVR32_8S_EXT, 2, 1,
85023 + {
85024 + &avr32_ifield_table[AVR32_IFIELD_RY],
85025 + &avr32_ifield_table[AVR32_IFIELD_K8E],
85026 + },
85027 + },
85028 + {
85029 + AVR32_OPC_SUBGE, 4, 0xf7b00400, 0xfff0ff00,
85030 + &avr32_syntax_table[AVR32_SYNTAX_SUBGE],
85031 + BFD_RELOC_AVR32_8S_EXT, 2, 1,
85032 + {
85033 + &avr32_ifield_table[AVR32_IFIELD_RY],
85034 + &avr32_ifield_table[AVR32_IFIELD_K8E],
85035 + },
85036 + },
85037 + {
85038 + AVR32_OPC_SUBLT, 4, 0xf7b00500, 0xfff0ff00,
85039 + &avr32_syntax_table[AVR32_SYNTAX_SUBLT],
85040 + BFD_RELOC_AVR32_8S_EXT, 2, 1,
85041 + {
85042 + &avr32_ifield_table[AVR32_IFIELD_RY],
85043 + &avr32_ifield_table[AVR32_IFIELD_K8E],
85044 + },
85045 + },
85046 + {
85047 + AVR32_OPC_SUBMI, 4, 0xf7b00600, 0xfff0ff00,
85048 + &avr32_syntax_table[AVR32_SYNTAX_SUBMI],
85049 + BFD_RELOC_AVR32_8S_EXT, 2, 1,
85050 + {
85051 + &avr32_ifield_table[AVR32_IFIELD_RY],
85052 + &avr32_ifield_table[AVR32_IFIELD_K8E],
85053 + },
85054 + },
85055 + {
85056 + AVR32_OPC_SUBPL, 4, 0xf7b00700, 0xfff0ff00,
85057 + &avr32_syntax_table[AVR32_SYNTAX_SUBPL],
85058 + BFD_RELOC_AVR32_8S_EXT, 2, 1,
85059 + {
85060 + &avr32_ifield_table[AVR32_IFIELD_RY],
85061 + &avr32_ifield_table[AVR32_IFIELD_K8E],
85062 + },
85063 + },
85064 + {
85065 + AVR32_OPC_SUBLS, 4, 0xf7b00800, 0xfff0ff00,
85066 + &avr32_syntax_table[AVR32_SYNTAX_SUBLS],
85067 + BFD_RELOC_AVR32_8S_EXT, 2, 1,
85068 + {
85069 + &avr32_ifield_table[AVR32_IFIELD_RY],
85070 + &avr32_ifield_table[AVR32_IFIELD_K8E],
85071 + },
85072 + },
85073 + {
85074 + AVR32_OPC_SUBGT, 4, 0xf7b00900, 0xfff0ff00,
85075 + &avr32_syntax_table[AVR32_SYNTAX_SUBGT],
85076 + BFD_RELOC_AVR32_8S_EXT, 2, 1,
85077 + {
85078 + &avr32_ifield_table[AVR32_IFIELD_RY],
85079 + &avr32_ifield_table[AVR32_IFIELD_K8E],
85080 + },
85081 + },
85082 + {
85083 + AVR32_OPC_SUBLE, 4, 0xf7b00a00, 0xfff0ff00,
85084 + &avr32_syntax_table[AVR32_SYNTAX_SUBLE],
85085 + BFD_RELOC_AVR32_8S_EXT, 2, 1,
85086 + {
85087 + &avr32_ifield_table[AVR32_IFIELD_RY],
85088 + &avr32_ifield_table[AVR32_IFIELD_K8E],
85089 + },
85090 + },
85091 + {
85092 + AVR32_OPC_SUBHI, 4, 0xf7b00b00, 0xfff0ff00,
85093 + &avr32_syntax_table[AVR32_SYNTAX_SUBHI],
85094 + BFD_RELOC_AVR32_8S_EXT, 2, 1,
85095 + {
85096 + &avr32_ifield_table[AVR32_IFIELD_RY],
85097 + &avr32_ifield_table[AVR32_IFIELD_K8E],
85098 + },
85099 + },
85100 + {
85101 + AVR32_OPC_SUBVS, 4, 0xf7b00c00, 0xfff0ff00,
85102 + &avr32_syntax_table[AVR32_SYNTAX_SUBVS],
85103 + BFD_RELOC_AVR32_8S_EXT, 2, 1,
85104 + {
85105 + &avr32_ifield_table[AVR32_IFIELD_RY],
85106 + &avr32_ifield_table[AVR32_IFIELD_K8E],
85107 + },
85108 + },
85109 + {
85110 + AVR32_OPC_SUBVC, 4, 0xf7b00d00, 0xfff0ff00,
85111 + &avr32_syntax_table[AVR32_SYNTAX_SUBVC],
85112 + BFD_RELOC_AVR32_8S_EXT, 2, 1,
85113 + {
85114 + &avr32_ifield_table[AVR32_IFIELD_RY],
85115 + &avr32_ifield_table[AVR32_IFIELD_K8E],
85116 + },
85117 + },
85118 + {
85119 + AVR32_OPC_SUBQS, 4, 0xf7b00e00, 0xfff0ff00,
85120 + &avr32_syntax_table[AVR32_SYNTAX_SUBQS],
85121 + BFD_RELOC_AVR32_8S_EXT, 2, 1,
85122 + {
85123 + &avr32_ifield_table[AVR32_IFIELD_RY],
85124 + &avr32_ifield_table[AVR32_IFIELD_K8E],
85125 + },
85126 + },
85127 + {
85128 + AVR32_OPC_SUBAL, 4, 0xf7b00f00, 0xfff0ff00,
85129 + &avr32_syntax_table[AVR32_SYNTAX_SUBAL],
85130 + BFD_RELOC_AVR32_8S_EXT, 2, 1,
85131 + {
85132 + &avr32_ifield_table[AVR32_IFIELD_RY],
85133 + &avr32_ifield_table[AVR32_IFIELD_K8E],
85134 + },
85135 + },
85136 + {
85137 + AVR32_OPC_SUBFEQ, 4, 0xf5b00000, 0xfff0ff00,
85138 + &avr32_syntax_table[AVR32_SYNTAX_SUBFEQ],
85139 + BFD_RELOC_AVR32_8S_EXT, 2, 1,
85140 + {
85141 + &avr32_ifield_table[AVR32_IFIELD_RY],
85142 + &avr32_ifield_table[AVR32_IFIELD_K8E],
85143 + },
85144 + },
85145 + {
85146 + AVR32_OPC_SUBFNE, 4, 0xf5b00100, 0xfff0ff00,
85147 + &avr32_syntax_table[AVR32_SYNTAX_SUBFNE],
85148 + BFD_RELOC_AVR32_8S_EXT, 2, 1,
85149 + {
85150 + &avr32_ifield_table[AVR32_IFIELD_RY],
85151 + &avr32_ifield_table[AVR32_IFIELD_K8E],
85152 + },
85153 + },
85154 + {
85155 + AVR32_OPC_SUBFCC, 4, 0xf5b00200, 0xfff0ff00,
85156 + &avr32_syntax_table[AVR32_SYNTAX_SUBFHS],
85157 + BFD_RELOC_AVR32_8S_EXT, 2, 1,
85158 + {
85159 + &avr32_ifield_table[AVR32_IFIELD_RY],
85160 + &avr32_ifield_table[AVR32_IFIELD_K8E],
85161 + },
85162 + },
85163 + {
85164 + AVR32_OPC_SUBFCS, 4, 0xf5b00300, 0xfff0ff00,
85165 + &avr32_syntax_table[AVR32_SYNTAX_SUBFLO],
85166 + BFD_RELOC_AVR32_8S_EXT, 2, 1,
85167 + {
85168 + &avr32_ifield_table[AVR32_IFIELD_RY],
85169 + &avr32_ifield_table[AVR32_IFIELD_K8E],
85170 + },
85171 + },
85172 + {
85173 + AVR32_OPC_SUBFGE, 4, 0xf5b00400, 0xfff0ff00,
85174 + &avr32_syntax_table[AVR32_SYNTAX_SUBFGE],
85175 + BFD_RELOC_AVR32_8S_EXT, 2, 1,
85176 + {
85177 + &avr32_ifield_table[AVR32_IFIELD_RY],
85178 + &avr32_ifield_table[AVR32_IFIELD_K8E],
85179 + },
85180 + },
85181 + {
85182 + AVR32_OPC_SUBFLT, 4, 0xf5b00500, 0xfff0ff00,
85183 + &avr32_syntax_table[AVR32_SYNTAX_SUBFLT],
85184 + BFD_RELOC_AVR32_8S_EXT, 2, 1,
85185 + {
85186 + &avr32_ifield_table[AVR32_IFIELD_RY],
85187 + &avr32_ifield_table[AVR32_IFIELD_K8E],
85188 + },
85189 + },
85190 + {
85191 + AVR32_OPC_SUBFMI, 4, 0xf5b00600, 0xfff0ff00,
85192 + &avr32_syntax_table[AVR32_SYNTAX_SUBFMI],
85193 + BFD_RELOC_AVR32_8S_EXT, 2, 1,
85194 + {
85195 + &avr32_ifield_table[AVR32_IFIELD_RY],
85196 + &avr32_ifield_table[AVR32_IFIELD_K8E],
85197 + },
85198 + },
85199 + {
85200 + AVR32_OPC_SUBFPL, 4, 0xf5b00700, 0xfff0ff00,
85201 + &avr32_syntax_table[AVR32_SYNTAX_SUBFPL],
85202 + BFD_RELOC_AVR32_8S_EXT, 2, 1,
85203 + {
85204 + &avr32_ifield_table[AVR32_IFIELD_RY],
85205 + &avr32_ifield_table[AVR32_IFIELD_K8E],
85206 + },
85207 + },
85208 + {
85209 + AVR32_OPC_SUBFLS, 4, 0xf5b00800, 0xfff0ff00,
85210 + &avr32_syntax_table[AVR32_SYNTAX_SUBFLS],
85211 + BFD_RELOC_AVR32_8S_EXT, 2, 1,
85212 + {
85213 + &avr32_ifield_table[AVR32_IFIELD_RY],
85214 + &avr32_ifield_table[AVR32_IFIELD_K8E],
85215 + },
85216 + },
85217 + {
85218 + AVR32_OPC_SUBFGT, 4, 0xf5b00900, 0xfff0ff00,
85219 + &avr32_syntax_table[AVR32_SYNTAX_SUBFGT],
85220 + BFD_RELOC_AVR32_8S_EXT, 2, 1,
85221 + {
85222 + &avr32_ifield_table[AVR32_IFIELD_RY],
85223 + &avr32_ifield_table[AVR32_IFIELD_K8E],
85224 + },
85225 + },
85226 + {
85227 + AVR32_OPC_SUBFLE, 4, 0xf5b00a00, 0xfff0ff00,
85228 + &avr32_syntax_table[AVR32_SYNTAX_SUBFLE],
85229 + BFD_RELOC_AVR32_8S_EXT, 2, 1,
85230 + {
85231 + &avr32_ifield_table[AVR32_IFIELD_RY],
85232 + &avr32_ifield_table[AVR32_IFIELD_K8E],
85233 + },
85234 + },
85235 + {
85236 + AVR32_OPC_SUBFHI, 4, 0xf5b00b00, 0xfff0ff00,
85237 + &avr32_syntax_table[AVR32_SYNTAX_SUBFHI],
85238 + BFD_RELOC_AVR32_8S_EXT, 2, 1,
85239 + {
85240 + &avr32_ifield_table[AVR32_IFIELD_RY],
85241 + &avr32_ifield_table[AVR32_IFIELD_K8E],
85242 + },
85243 + },
85244 + {
85245 + AVR32_OPC_SUBFVS, 4, 0xf5b00c00, 0xfff0ff00,
85246 + &avr32_syntax_table[AVR32_SYNTAX_SUBFVS],
85247 + BFD_RELOC_AVR32_8S_EXT, 2, 1,
85248 + {
85249 + &avr32_ifield_table[AVR32_IFIELD_RY],
85250 + &avr32_ifield_table[AVR32_IFIELD_K8E],
85251 + },
85252 + },
85253 + {
85254 + AVR32_OPC_SUBFVC, 4, 0xf5b00d00, 0xfff0ff00,
85255 + &avr32_syntax_table[AVR32_SYNTAX_SUBFVC],
85256 + BFD_RELOC_AVR32_8S_EXT, 2, 1,
85257 + {
85258 + &avr32_ifield_table[AVR32_IFIELD_RY],
85259 + &avr32_ifield_table[AVR32_IFIELD_K8E],
85260 + },
85261 + },
85262 + {
85263 + AVR32_OPC_SUBFQS, 4, 0xf5b00e00, 0xfff0ff00,
85264 + &avr32_syntax_table[AVR32_SYNTAX_SUBFQS],
85265 + BFD_RELOC_AVR32_8S_EXT, 2, 1,
85266 + {
85267 + &avr32_ifield_table[AVR32_IFIELD_RY],
85268 + &avr32_ifield_table[AVR32_IFIELD_K8E],
85269 + },
85270 + },
85271 + {
85272 + AVR32_OPC_SUBFAL, 4, 0xf5b00f00, 0xfff0ff00,
85273 + &avr32_syntax_table[AVR32_SYNTAX_SUBFAL],
85274 + BFD_RELOC_AVR32_8S_EXT, 2, 1,
85275 + {
85276 + &avr32_ifield_table[AVR32_IFIELD_RY],
85277 + &avr32_ifield_table[AVR32_IFIELD_K8E],
85278 + },
85279 + },
85280 + {
85281 + AVR32_OPC_SUBHH_W, 4, 0xe0000f00, 0xe1f0ffc0,
85282 + &avr32_syntax_table[AVR32_SYNTAX_SUBHH_W],
85283 + BFD_RELOC_UNUSED, 5, -1,
85284 + {
85285 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
85286 + &avr32_ifield_table[AVR32_IFIELD_RX],
85287 + &avr32_ifield_table[AVR32_IFIELD_X],
85288 + &avr32_ifield_table[AVR32_IFIELD_RY],
85289 + &avr32_ifield_table[AVR32_IFIELD_Y],
85290 + },
85291 + },
85292 + {
85293 + AVR32_OPC_SWAP_B, 2, 0x5cb00000, 0xfff00000,
85294 + &avr32_syntax_table[AVR32_SYNTAX_SWAP_B],
85295 + BFD_RELOC_UNUSED, 1, -1,
85296 + {
85297 + &avr32_ifield_table[AVR32_IFIELD_RY],
85298 + }
85299 + },
85300 + {
85301 + AVR32_OPC_SWAP_BH, 2, 0x5cc00000, 0xfff00000,
85302 + &avr32_syntax_table[AVR32_SYNTAX_SWAP_BH],
85303 + BFD_RELOC_UNUSED, 1, -1,
85304 + {
85305 + &avr32_ifield_table[AVR32_IFIELD_RY],
85306 + }
85307 + },
85308 + {
85309 + AVR32_OPC_SWAP_H, 2, 0x5ca00000, 0xfff00000,
85310 + &avr32_syntax_table[AVR32_SYNTAX_SWAP_H],
85311 + BFD_RELOC_UNUSED, 1, -1,
85312 + {
85313 + &avr32_ifield_table[AVR32_IFIELD_RY],
85314 + }
85315 + },
85316 + {
85317 + AVR32_OPC_SYNC, 4, 0xebb00000, 0xffffff00,
85318 + &avr32_syntax_table[AVR32_SYNTAX_SYNC],
85319 + BFD_RELOC_AVR32_8S_EXT, 1, 0,
85320 + {
85321 + &avr32_ifield_table[AVR32_IFIELD_K8E],
85322 + }
85323 + },
85324 + {
85325 + AVR32_OPC_TLBR, 2, 0xd6430000, 0xffff0000,
85326 + &avr32_syntax_table[AVR32_SYNTAX_TLBR],
85327 + BFD_RELOC_UNUSED, 0, -1, { NULL },
85328 + },
85329 + {
85330 + AVR32_OPC_TLBS, 2, 0xd6530000, 0xffff0000,
85331 + &avr32_syntax_table[AVR32_SYNTAX_TLBS],
85332 + BFD_RELOC_UNUSED, 0, -1, { NULL },
85333 + },
85334 + {
85335 + AVR32_OPC_TLBW, 2, 0xd6630000, 0xffff0000,
85336 + &avr32_syntax_table[AVR32_SYNTAX_TLBW],
85337 + BFD_RELOC_UNUSED, 0, -1, { NULL },
85338 + },
85339 + {
85340 + AVR32_OPC_TNBZ, 2, 0x5ce00000, 0xfff00000,
85341 + &avr32_syntax_table[AVR32_SYNTAX_TNBZ],
85342 + BFD_RELOC_UNUSED, 1, -1,
85343 + {
85344 + &avr32_ifield_table[AVR32_IFIELD_RY],
85345 + }
85346 + },
85347 + {
85348 + AVR32_OPC_TST, 2, 0x00700000, 0xe1f00000,
85349 + &avr32_syntax_table[AVR32_SYNTAX_TST],
85350 + BFD_RELOC_UNUSED, 2, -1,
85351 + {
85352 + &avr32_ifield_table[AVR32_IFIELD_RY],
85353 + &avr32_ifield_table[AVR32_IFIELD_RX],
85354 + },
85355 + },
85356 + {
85357 + AVR32_OPC_XCHG, 4, 0xe0000b40, 0xe1f0fff0,
85358 + &avr32_syntax_table[AVR32_SYNTAX_XCHG],
85359 + BFD_RELOC_UNUSED, 3, -1,
85360 + {
85361 + &avr32_ifield_table[AVR32_IFIELD_RD_E],
85362 + &avr32_ifield_table[AVR32_IFIELD_RX],
85363 + &avr32_ifield_table[AVR32_IFIELD_RY],
85364 + },
85365 + },
85366 + {
85367 + AVR32_OPC_MEMC, 4, 0xf6100000, 0xfff00000,
85368 + &avr32_syntax_table[AVR32_SYNTAX_MEMC],
85369 + BFD_RELOC_UNUSED, 2, -1,
85370 + {
85371 + &avr32_ifield_table[AVR32_IFIELD_MEM15],
85372 + &avr32_ifield_table[AVR32_IFIELD_MEMB5],
85373 + },
85374 + },
85375 + {
85376 + AVR32_OPC_MEMS, 4, 0xf8100000, 0xfff00000,
85377 + &avr32_syntax_table[AVR32_SYNTAX_MEMS],
85378 + BFD_RELOC_UNUSED, 2, -1,
85379 + {
85380 + &avr32_ifield_table[AVR32_IFIELD_MEM15],
85381 + &avr32_ifield_table[AVR32_IFIELD_MEMB5],
85382 + },
85383 + },
85384 + {
85385 + AVR32_OPC_MEMT, 4, 0xfa100000, 0xfff00000,
85386 + &avr32_syntax_table[AVR32_SYNTAX_MEMT],
85387 + BFD_RELOC_UNUSED, 2, -1,
85388 + {
85389 + &avr32_ifield_table[AVR32_IFIELD_MEM15],
85390 + &avr32_ifield_table[AVR32_IFIELD_MEMB5],
85391 + },
85392 + },
85393 + {
85394 + AVR32_OPC_BFEXTS, 4, 0xe1d0b000, 0xe1f0fc00,
85395 + &avr32_syntax_table[AVR32_SYNTAX_BFEXTS],
85396 + BFD_RELOC_UNUSED, 4, -1,
85397 + {
85398 + &avr32_ifield_table[AVR32_IFIELD_RX],
85399 + &avr32_ifield_table[AVR32_IFIELD_RY],
85400 + &avr32_ifield_table[AVR32_IFIELD_S5],
85401 + &avr32_ifield_table[AVR32_IFIELD_K5E],
85402 + },
85403 + },
85404 + {
85405 + AVR32_OPC_BFEXTU, 4, 0xe1d0c000, 0xe1f0fc00,
85406 + &avr32_syntax_table[AVR32_SYNTAX_BFEXTU],
85407 + BFD_RELOC_UNUSED, 4, -1,
85408 + {
85409 + &avr32_ifield_table[AVR32_IFIELD_RX],
85410 + &avr32_ifield_table[AVR32_IFIELD_RY],
85411 + &avr32_ifield_table[AVR32_IFIELD_S5],
85412 + &avr32_ifield_table[AVR32_IFIELD_K5E],
85413 + },
85414 + },
85415 + {
85416 + AVR32_OPC_BFINS, 4, 0xe1d0d000, 0xe1f0fc00,
85417 + &avr32_syntax_table[AVR32_SYNTAX_BFINS],
85418 + BFD_RELOC_UNUSED, 4, -1,
85419 + {
85420 + &avr32_ifield_table[AVR32_IFIELD_RX],
85421 + &avr32_ifield_table[AVR32_IFIELD_RY],
85422 + &avr32_ifield_table[AVR32_IFIELD_S5],
85423 + &avr32_ifield_table[AVR32_IFIELD_K5E],
85424 + },
85425 + },
85426 + };
85427 +
85428 +#define FPALIAS_DXY(name, opcode) \
85429 + { \
85430 + AVR32_ALIAS_##name##_S, \
85431 + &avr32_opc_table[AVR32_OPC_COP], \
85432 + { \
85433 + { 0, 0 }, \
85434 + { 1, 0 }, { 1, 1 }, { 1, 2 }, \
85435 + { 0, opcode }, \
85436 + }, \
85437 + }, { \
85438 + AVR32_ALIAS_##name##_D, \
85439 + &avr32_opc_table[AVR32_OPC_COP], \
85440 + { \
85441 + { 0, 0 }, \
85442 + { 1, 0 }, { 1, 1 }, { 1, 2 }, \
85443 + { 0, (opcode) | 0x40 }, \
85444 + }, \
85445 + }
85446 +#define FPALIAS_DX(name, opcode) \
85447 + { \
85448 + AVR32_ALIAS_##name##_S, \
85449 + &avr32_opc_table[AVR32_OPC_COP], \
85450 + { \
85451 + { 0, 0 }, \
85452 + { 1, 0 }, { 1, 1 }, { 0, 0 }, \
85453 + { 0, opcode }, \
85454 + }, \
85455 + }, { \
85456 + AVR32_ALIAS_##name##_D, \
85457 + &avr32_opc_table[AVR32_OPC_COP], \
85458 + { \
85459 + { 0, 0 }, \
85460 + { 1, 0 }, { 1, 1 }, { 0, 0 }, \
85461 + { 0, (opcode) | 0x40 }, \
85462 + }, \
85463 + }
85464 +#define FPALIAS_XY(name, opcode) \
85465 + { \
85466 + AVR32_ALIAS_##name##_S, \
85467 + &avr32_opc_table[AVR32_OPC_COP], \
85468 + { \
85469 + { 0, 0 }, \
85470 + { 0, 0 }, { 1, 0 }, { 1, 1 }, \
85471 + { 0, opcode }, \
85472 + }, \
85473 + }, { \
85474 + AVR32_ALIAS_##name##_D, \
85475 + &avr32_opc_table[AVR32_OPC_COP], \
85476 + { \
85477 + { 0, 0 }, \
85478 + { 0, 0 }, { 1, 0 }, { 1, 1 }, \
85479 + { 0, (opcode) | 0x40 }, \
85480 + }, \
85481 + }
85482 +
85483 +const struct avr32_alias avr32_alias_table[] =
85484 + {
85485 + FPALIAS_DXY(FMAC, 0x00),
85486 + FPALIAS_DXY(FNMAC, 0x01),
85487 + FPALIAS_DXY(FMSC, 0x02),
85488 + FPALIAS_DXY(FNMSC, 0x03),
85489 + FPALIAS_DXY(FADD, 0x04),
85490 + FPALIAS_DXY(FSUB, 0x05),
85491 + FPALIAS_DXY(FMUL, 0x06),
85492 + FPALIAS_DXY(FNMUL, 0x07),
85493 + FPALIAS_DX(FNEG, 0x08),
85494 + FPALIAS_DX(FABS, 0x09),
85495 + FPALIAS_XY(FCMP, 0x0d),
85496 + FPALIAS_DX(FMOV1, 0x0a),
85497 + {
85498 + AVR32_ALIAS_FMOV2_S,
85499 + &avr32_opc_table[AVR32_OPC_MVCR_W],
85500 + { { 0, 0 }, { 1, 0 }, { 1, 1 }, },
85501 + },
85502 + {
85503 + AVR32_ALIAS_FMOV2_D,
85504 + &avr32_opc_table[AVR32_OPC_MVCR_D],
85505 + { { 0, 0 }, { 1, 0 }, { 1, 1 }, },
85506 + },
85507 + {
85508 + AVR32_ALIAS_FMOV3_S,
85509 + &avr32_opc_table[AVR32_OPC_MVRC_W],
85510 + { { 0, 0 }, { 1, 0 }, { 1, 1 }, },
85511 + },
85512 + {
85513 + AVR32_ALIAS_FMOV3_D,
85514 + &avr32_opc_table[AVR32_OPC_MVRC_D],
85515 + { { 0, 0 }, { 1, 0 }, { 1, 1 }, },
85516 + },
85517 + {
85518 + AVR32_ALIAS_FCASTS_D,
85519 + &avr32_opc_table[AVR32_OPC_COP],
85520 + {
85521 + { 0, 0 },
85522 + { 1, 0 }, { 1, 1 }, { 0, 0 },
85523 + { 0, 0x0f },
85524 + },
85525 + },
85526 + {
85527 + AVR32_ALIAS_FCASTD_S,
85528 + &avr32_opc_table[AVR32_OPC_COP],
85529 + {
85530 + { 0, 0 },
85531 + { 1, 0 }, { 1, 1 }, { 0, 0 },
85532 + { 0, 0x10 },
85533 + },
85534 + },
85535 + {
85536 + AVR32_ALIAS_PICOSVMAC0,
85537 + &avr32_opc_table[AVR32_OPC_COP],
85538 + {
85539 + { 0, PICO_CPNO },
85540 + { 1, 0 }, { 1, 1 }, { 1, 2 },
85541 + { 0, 0x0c },
85542 + },
85543 + },
85544 + {
85545 + AVR32_ALIAS_PICOSVMAC1,
85546 + &avr32_opc_table[AVR32_OPC_COP],
85547 + {
85548 + { 0, PICO_CPNO },
85549 + { 1, 0 }, { 1, 1 }, { 1, 2 },
85550 + { 0, 0x0d },
85551 + },
85552 + },
85553 + {
85554 + AVR32_ALIAS_PICOSVMAC2,
85555 + &avr32_opc_table[AVR32_OPC_COP],
85556 + {
85557 + { 0, PICO_CPNO },
85558 + { 1, 0 }, { 1, 1 }, { 1, 2 },
85559 + { 0, 0x0e },
85560 + },
85561 + },
85562 + {
85563 + AVR32_ALIAS_PICOSVMAC3,
85564 + &avr32_opc_table[AVR32_OPC_COP],
85565 + {
85566 + { 0, PICO_CPNO },
85567 + { 1, 0 }, { 1, 1 }, { 1, 2 },
85568 + { 0, 0x0f },
85569 + },
85570 + },
85571 + {
85572 + AVR32_ALIAS_PICOSVMUL0,
85573 + &avr32_opc_table[AVR32_OPC_COP],
85574 + {
85575 + { 0, PICO_CPNO },
85576 + { 1, 0 }, { 1, 1 }, { 1, 2 },
85577 + { 0, 0x08 },
85578 + },
85579 + },
85580 + {
85581 + AVR32_ALIAS_PICOSVMUL1,
85582 + &avr32_opc_table[AVR32_OPC_COP],
85583 + {
85584 + { 0, PICO_CPNO },
85585 + { 1, 0 }, { 1, 1 }, { 1, 2 },
85586 + { 0, 0x09 },
85587 + },
85588 + },
85589 + {
85590 + AVR32_ALIAS_PICOSVMUL2,
85591 + &avr32_opc_table[AVR32_OPC_COP],
85592 + {
85593 + { 0, PICO_CPNO },
85594 + { 1, 0 }, { 1, 1 }, { 1, 2 },
85595 + { 0, 0x0a },
85596 + },
85597 + },
85598 + {
85599 + AVR32_ALIAS_PICOSVMUL3,
85600 + &avr32_opc_table[AVR32_OPC_COP],
85601 + {
85602 + { 0, PICO_CPNO },
85603 + { 1, 0 }, { 1, 1 }, { 1, 2 },
85604 + { 0, 0x0b },
85605 + },
85606 + },
85607 + {
85608 + AVR32_ALIAS_PICOVMAC0,
85609 + &avr32_opc_table[AVR32_OPC_COP],
85610 + {
85611 + { 0, PICO_CPNO },
85612 + { 1, 0 }, { 1, 1 }, { 1, 2 },
85613 + { 0, 0x04 },
85614 + },
85615 + },
85616 + {
85617 + AVR32_ALIAS_PICOVMAC1,
85618 + &avr32_opc_table[AVR32_OPC_COP],
85619 + {
85620 + { 0, PICO_CPNO },
85621 + { 1, 0 }, { 1, 1 }, { 1, 2 },
85622 + { 0, 0x05 },
85623 + },
85624 + },
85625 + {
85626 + AVR32_ALIAS_PICOVMAC2,
85627 + &avr32_opc_table[AVR32_OPC_COP],
85628 + {
85629 + { 0, PICO_CPNO },
85630 + { 1, 0 }, { 1, 1 }, { 1, 2 },
85631 + { 0, 0x06 },
85632 + },
85633 + },
85634 + {
85635 + AVR32_ALIAS_PICOVMAC3,
85636 + &avr32_opc_table[AVR32_OPC_COP],
85637 + {
85638 + { 0, PICO_CPNO },
85639 + { 1, 0 }, { 1, 1 }, { 1, 2 },
85640 + { 0, 0x07 },
85641 + },
85642 + },
85643 + {
85644 + AVR32_ALIAS_PICOVMUL0,
85645 + &avr32_opc_table[AVR32_OPC_COP],
85646 + {
85647 + { 0, PICO_CPNO },
85648 + { 1, 0 }, { 1, 1 }, { 1, 2 },
85649 + { 0, 0x00 },
85650 + },
85651 + },
85652 + {
85653 + AVR32_ALIAS_PICOVMUL1,
85654 + &avr32_opc_table[AVR32_OPC_COP],
85655 + {
85656 + { 0, PICO_CPNO },
85657 + { 1, 0 }, { 1, 1 }, { 1, 2 },
85658 + { 0, 0x01 },
85659 + },
85660 + },
85661 + {
85662 + AVR32_ALIAS_PICOVMUL2,
85663 + &avr32_opc_table[AVR32_OPC_COP],
85664 + {
85665 + { 0, PICO_CPNO },
85666 + { 1, 0 }, { 1, 1 }, { 1, 2 },
85667 + { 0, 0x02 },
85668 + },
85669 + },
85670 + {
85671 + AVR32_ALIAS_PICOVMUL3,
85672 + &avr32_opc_table[AVR32_OPC_COP],
85673 + {
85674 + { 0, PICO_CPNO },
85675 + { 1, 0 }, { 1, 1 }, { 1, 2 },
85676 + { 0, 0x03 },
85677 + },
85678 + },
85679 + {
85680 + AVR32_ALIAS_PICOLD_D1,
85681 + &avr32_opc_table[AVR32_OPC_LDC_D1],
85682 + {
85683 + { 0, PICO_CPNO },
85684 + { 1, 0 }, { 1, 1 },
85685 + },
85686 + },
85687 + {
85688 + AVR32_ALIAS_PICOLD_D2,
85689 + &avr32_opc_table[AVR32_OPC_LDC_D2],
85690 + {
85691 + { 0, PICO_CPNO },
85692 + { 1, 0 }, { 1, 1 },
85693 + },
85694 + },
85695 + {
85696 + AVR32_ALIAS_PICOLD_D3,
85697 + &avr32_opc_table[AVR32_OPC_LDC_D3],
85698 + {
85699 + { 0, PICO_CPNO },
85700 + { 1, 0 }, { 1, 1 }, { 1, 2 }, { 1, 3 },
85701 + },
85702 + },
85703 + {
85704 + AVR32_ALIAS_PICOLD_W1,
85705 + &avr32_opc_table[AVR32_OPC_LDC_W1],
85706 + {
85707 + { 0, PICO_CPNO },
85708 + { 1, 0 }, { 1, 1 },
85709 + },
85710 + },
85711 + {
85712 + AVR32_ALIAS_PICOLD_W2,
85713 + &avr32_opc_table[AVR32_OPC_LDC_W2],
85714 + {
85715 + { 0, PICO_CPNO },
85716 + { 1, 0 }, { 1, 1 },
85717 + },
85718 + },
85719 + {
85720 + AVR32_ALIAS_PICOLD_W3,
85721 + &avr32_opc_table[AVR32_OPC_LDC_W3],
85722 + {
85723 + { 0, PICO_CPNO },
85724 + { 1, 0 }, { 1, 1 }, { 1, 2 }, { 1, 3 },
85725 + },
85726 + },
85727 + {
85728 + AVR32_ALIAS_PICOLDM_D,
85729 + &avr32_opc_table[AVR32_OPC_LDCM_D],
85730 + {
85731 + { 0, PICO_CPNO },
85732 + { 1, 0 }, { 1, 1 },
85733 + },
85734 + },
85735 + {
85736 + AVR32_ALIAS_PICOLDM_D_PU,
85737 + &avr32_opc_table[AVR32_OPC_LDCM_D_PU],
85738 + {
85739 + { 0, PICO_CPNO },
85740 + { 1, 0 }, { 1, 1 },
85741 + },
85742 + },
85743 + {
85744 + AVR32_ALIAS_PICOLDM_W,
85745 + &avr32_opc_table[AVR32_OPC_LDCM_W],
85746 + {
85747 + { 0, PICO_CPNO },
85748 + { 1, 0 }, { 1, 1 }, { 1, 2 },
85749 + },
85750 + },
85751 + {
85752 + AVR32_ALIAS_PICOLDM_W_PU,
85753 + &avr32_opc_table[AVR32_OPC_LDCM_W_PU],
85754 + {
85755 + { 0, PICO_CPNO },
85756 + { 1, 0 }, { 1, 1 }, { 1, 2 },
85757 + },
85758 + },
85759 + {
85760 + AVR32_ALIAS_PICOMV_D1,
85761 + &avr32_opc_table[AVR32_OPC_MVCR_D],
85762 + {
85763 + { 0, PICO_CPNO },
85764 + { 1, 0 }, { 1, 1 },
85765 + },
85766 + },
85767 + {
85768 + AVR32_ALIAS_PICOMV_D2,
85769 + &avr32_opc_table[AVR32_OPC_MVRC_D],
85770 + {
85771 + { 0, PICO_CPNO },
85772 + { 1, 0 }, { 1, 1 },
85773 + },
85774 + },
85775 + {
85776 + AVR32_ALIAS_PICOMV_W1,
85777 + &avr32_opc_table[AVR32_OPC_MVCR_W],
85778 + {
85779 + { 0, PICO_CPNO },
85780 + { 1, 0 }, { 1, 1 },
85781 + },
85782 + },
85783 + {
85784 + AVR32_ALIAS_PICOMV_W2,
85785 + &avr32_opc_table[AVR32_OPC_MVRC_W],
85786 + {
85787 + { 0, PICO_CPNO },
85788 + { 1, 0 }, { 1, 1 },
85789 + },
85790 + },
85791 + {
85792 + AVR32_ALIAS_PICOST_D1,
85793 + &avr32_opc_table[AVR32_OPC_STC_D1],
85794 + {
85795 + { 0, PICO_CPNO },
85796 + { 1, 0 }, { 1, 1 }, { 1, 2 },
85797 + },
85798 + },
85799 + {
85800 + AVR32_ALIAS_PICOST_D2,
85801 + &avr32_opc_table[AVR32_OPC_STC_D2],
85802 + {
85803 + { 0, PICO_CPNO },
85804 + { 1, 0 }, { 1, 1 },
85805 + },
85806 + },
85807 + {
85808 + AVR32_ALIAS_PICOST_D3,
85809 + &avr32_opc_table[AVR32_OPC_STC_D3],
85810 + {
85811 + { 0, PICO_CPNO },
85812 + { 1, 0 }, { 1, 1 }, { 1, 2 }, { 1, 3 },
85813 + },
85814 + },
85815 + {
85816 + AVR32_ALIAS_PICOST_W1,
85817 + &avr32_opc_table[AVR32_OPC_STC_W1],
85818 + {
85819 + { 0, PICO_CPNO },
85820 + { 1, 0 }, { 1, 1 }, { 1, 2 },
85821 + },
85822 + },
85823 + {
85824 + AVR32_ALIAS_PICOST_W2,
85825 + &avr32_opc_table[AVR32_OPC_STC_W2],
85826 + {
85827 + { 0, PICO_CPNO },
85828 + { 1, 0 }, { 1, 1 },
85829 + },
85830 + },
85831 + {
85832 + AVR32_ALIAS_PICOST_W3,
85833 + &avr32_opc_table[AVR32_OPC_STC_W3],
85834 + {
85835 + { 0, PICO_CPNO },
85836 + { 1, 0 }, { 1, 1 }, { 1, 2 }, { 1, 3 },
85837 + },
85838 + },
85839 + {
85840 + AVR32_ALIAS_PICOSTM_D,
85841 + &avr32_opc_table[AVR32_OPC_STCM_D],
85842 + {
85843 + { 0, PICO_CPNO },
85844 + { 1, 0 }, { 1, 1 },
85845 + },
85846 + },
85847 + {
85848 + AVR32_ALIAS_PICOSTM_D_PU,
85849 + &avr32_opc_table[AVR32_OPC_STCM_D_PU],
85850 + {
85851 + { 0, PICO_CPNO },
85852 + { 1, 0 }, { 1, 1 },
85853 + },
85854 + },
85855 + {
85856 + AVR32_ALIAS_PICOSTM_W,
85857 + &avr32_opc_table[AVR32_OPC_STCM_W],
85858 + {
85859 + { 0, PICO_CPNO },
85860 + { 1, 0 }, { 1, 1 }, { 1, 2 },
85861 + },
85862 + },
85863 + {
85864 + AVR32_ALIAS_PICOSTM_W_PU,
85865 + &avr32_opc_table[AVR32_OPC_STCM_W_PU],
85866 + {
85867 + { 0, PICO_CPNO },
85868 + { 1, 0 }, { 1, 1 }, { 1, 2 },
85869 + },
85870 + },
85871 + };
85872 +
85873 +
85874 +#define SYNTAX_NORMAL0(id, mne, opc, arch) \
85875 + { \
85876 + AVR32_SYNTAX_##id, arch, \
85877 + &avr32_mnemonic_table[AVR32_MNEMONIC_##mne], \
85878 + AVR32_PARSER_NORMAL, \
85879 + { &avr32_opc_table[AVR32_OPC_##opc], }, \
85880 + NULL, 0, { } \
85881 + }
85882 +#define SYNTAX_NORMAL1(id, mne, opc, op0, arch) \
85883 + { \
85884 + AVR32_SYNTAX_##id, arch, \
85885 + &avr32_mnemonic_table[AVR32_MNEMONIC_##mne], \
85886 + AVR32_PARSER_NORMAL, \
85887 + { &avr32_opc_table[AVR32_OPC_##opc], }, \
85888 + NULL, 1, \
85889 + { \
85890 + AVR32_OPERAND_##op0, \
85891 + } \
85892 + }
85893 +#define SYNTAX_NORMALM1(id, mne, opc, op0, arch) \
85894 + { \
85895 + AVR32_SYNTAX_##id, arch, \
85896 + &avr32_mnemonic_table[AVR32_MNEMONIC_##mne], \
85897 + AVR32_PARSER_NORMAL, \
85898 + { &avr32_opc_table[AVR32_OPC_##opc], }, \
85899 + NULL, -1, \
85900 + { \
85901 + AVR32_OPERAND_##op0, \
85902 + } \
85903 + }
85904 +#define SYNTAX_NORMAL2(id, mne, opc, op0, op1, arch) \
85905 + { \
85906 + AVR32_SYNTAX_##id, arch, \
85907 + &avr32_mnemonic_table[AVR32_MNEMONIC_##mne], \
85908 + AVR32_PARSER_NORMAL, \
85909 + { &avr32_opc_table[AVR32_OPC_##opc], }, \
85910 + NULL, 2, \
85911 + { \
85912 + AVR32_OPERAND_##op0, AVR32_OPERAND_##op1, \
85913 + } \
85914 + }
85915 +#define SYNTAX_NORMALM2(id, mne, opc, op0, op1, arch) \
85916 + { \
85917 + AVR32_SYNTAX_##id, arch, \
85918 + &avr32_mnemonic_table[AVR32_MNEMONIC_##mne], \
85919 + AVR32_PARSER_NORMAL, \
85920 + { &avr32_opc_table[AVR32_OPC_##opc], }, \
85921 + NULL, -2, \
85922 + { \
85923 + AVR32_OPERAND_##op0, AVR32_OPERAND_##op1, \
85924 + } \
85925 + }
85926 +#define SYNTAX_NORMAL3(id, mne, opc, op0, op1, op2, arch) \
85927 + { \
85928 + AVR32_SYNTAX_##id, arch, \
85929 + &avr32_mnemonic_table[AVR32_MNEMONIC_##mne], \
85930 + AVR32_PARSER_NORMAL, \
85931 + { &avr32_opc_table[AVR32_OPC_##opc], }, \
85932 + NULL, 3, \
85933 + { \
85934 + AVR32_OPERAND_##op0, AVR32_OPERAND_##op1, \
85935 + AVR32_OPERAND_##op2, \
85936 + } \
85937 + }
85938 +#define SYNTAX_NORMALM3(id, mne, opc, op0, op1, op2, arch) \
85939 + { \
85940 + AVR32_SYNTAX_##id, arch, \
85941 + &avr32_mnemonic_table[AVR32_MNEMONIC_##mne], \
85942 + AVR32_PARSER_NORMAL, \
85943 + { &avr32_opc_table[AVR32_OPC_##opc], }, \
85944 + NULL, -3, \
85945 + { \
85946 + AVR32_OPERAND_##op0, AVR32_OPERAND_##op1, \
85947 + AVR32_OPERAND_##op2, \
85948 + } \
85949 + }
85950 +#define SYNTAX_NORMAL4(id, mne, opc, op0, op1, op2, op3, arch)\
85951 + { \
85952 + AVR32_SYNTAX_##id, arch, \
85953 + &avr32_mnemonic_table[AVR32_MNEMONIC_##mne], \
85954 + AVR32_PARSER_NORMAL, \
85955 + { &avr32_opc_table[AVR32_OPC_##opc], }, \
85956 + NULL, 4, \
85957 + { \
85958 + AVR32_OPERAND_##op0, AVR32_OPERAND_##op1, \
85959 + AVR32_OPERAND_##op2, AVR32_OPERAND_##op3, \
85960 + } \
85961 + }
85962 +#define SYNTAX_NORMAL5(id, mne, opc, op0, op1, op2, op3, op4, arch) \
85963 + { \
85964 + AVR32_SYNTAX_##id, arch, \
85965 + &avr32_mnemonic_table[AVR32_MNEMONIC_##mne], \
85966 + AVR32_PARSER_NORMAL, \
85967 + { &avr32_opc_table[AVR32_OPC_##opc], }, \
85968 + NULL, 5, \
85969 + { \
85970 + AVR32_OPERAND_##op0, AVR32_OPERAND_##op1, \
85971 + AVR32_OPERAND_##op2, AVR32_OPERAND_##op3, \
85972 + AVR32_OPERAND_##op4, \
85973 + } \
85974 + }
85975 +
85976 +#define SYNTAX_NORMAL_C1(id, mne, opc, nxt, op0, arch) \
85977 + { \
85978 + AVR32_SYNTAX_##id, arch, \
85979 + &avr32_mnemonic_table[AVR32_MNEMONIC_##mne], \
85980 + AVR32_PARSER_NORMAL, \
85981 + { &avr32_opc_table[AVR32_OPC_##opc], }, \
85982 + &avr32_syntax_table[AVR32_SYNTAX_##nxt], 1, \
85983 + { \
85984 + AVR32_OPERAND_##op0, \
85985 + } \
85986 + }
85987 +#define SYNTAX_NORMAL_CM1(id, mne, opc, nxt, op0, arch) \
85988 + { \
85989 + AVR32_SYNTAX_##id, arch, \
85990 + &avr32_mnemonic_table[AVR32_MNEMONIC_##mne], \
85991 + AVR32_PARSER_NORMAL, \
85992 + { &avr32_opc_table[AVR32_OPC_##opc], }, \
85993 + &avr32_syntax_table[AVR32_SYNTAX_##nxt], -1, \
85994 + { \
85995 + AVR32_OPERAND_##op0, \
85996 + } \
85997 + }
85998 +#define SYNTAX_NORMAL_C2(id, mne, opc, nxt, op0, op1, arch) \
85999 + { \
86000 + AVR32_SYNTAX_##id, arch, \
86001 + &avr32_mnemonic_table[AVR32_MNEMONIC_##mne], \
86002 + AVR32_PARSER_NORMAL, \
86003 + { &avr32_opc_table[AVR32_OPC_##opc], }, \
86004 + &avr32_syntax_table[AVR32_SYNTAX_##nxt], 2, \
86005 + { \
86006 + AVR32_OPERAND_##op0, AVR32_OPERAND_##op1, \
86007 + } \
86008 + }
86009 +#define SYNTAX_NORMAL_CM2(id, mne, opc, nxt, op0, op1, arch) \
86010 + { \
86011 + AVR32_SYNTAX_##id, arch, \
86012 + &avr32_mnemonic_table[AVR32_MNEMONIC_##mne], \
86013 + AVR32_PARSER_NORMAL, \
86014 + { &avr32_opc_table[AVR32_OPC_##opc], }, \
86015 + &avr32_syntax_table[AVR32_SYNTAX_##nxt], -2, \
86016 + { \
86017 + AVR32_OPERAND_##op0, AVR32_OPERAND_##op1, \
86018 + } \
86019 + }
86020 +#define SYNTAX_NORMAL_C3(id, mne, opc, nxt, op0, op1, op2, arch) \
86021 + { \
86022 + AVR32_SYNTAX_##id, arch, \
86023 + &avr32_mnemonic_table[AVR32_MNEMONIC_##mne], \
86024 + AVR32_PARSER_NORMAL, \
86025 + { &avr32_opc_table[AVR32_OPC_##opc], }, \
86026 + &avr32_syntax_table[AVR32_SYNTAX_##nxt], 3, \
86027 + { \
86028 + AVR32_OPERAND_##op0, AVR32_OPERAND_##op1, \
86029 + AVR32_OPERAND_##op2, \
86030 + } \
86031 + }
86032 +#define SYNTAX_NORMAL_CM3(id, mne, opc, nxt, op0, op1, op2, arch) \
86033 + { \
86034 + AVR32_SYNTAX_##id, arch, \
86035 + &avr32_mnemonic_table[AVR32_MNEMONIC_##mne], \
86036 + AVR32_PARSER_NORMAL, \
86037 + { &avr32_opc_table[AVR32_OPC_##opc], }, \
86038 + &avr32_syntax_table[AVR32_SYNTAX_##nxt], -3, \
86039 + { \
86040 + AVR32_OPERAND_##op0, AVR32_OPERAND_##op1, \
86041 + AVR32_OPERAND_##op2, \
86042 + } \
86043 + }
86044 +
86045 +#define SYNTAX_FP(name, nr_ops) \
86046 + { \
86047 + AVR32_SYNTAX_##name##_S, \
86048 + AVR32_FP, NULL, AVR32_PARSER_ALIAS, \
86049 + { .alias = &avr32_alias_table[AVR32_ALIAS_##name##_S] }, \
86050 + NULL, nr_ops, \
86051 + { \
86052 + AVR32_OPERAND_FPREG_S, \
86053 + AVR32_OPERAND_FPREG_S, \
86054 + AVR32_OPERAND_FPREG_S, \
86055 + }, \
86056 + }, \
86057 + { \
86058 + AVR32_SYNTAX_##name##_D, \
86059 + AVR32_FP, NULL, AVR32_PARSER_ALIAS, \
86060 + { .alias = &avr32_alias_table[AVR32_ALIAS_##name##_D] }, \
86061 + NULL, nr_ops, \
86062 + { \
86063 + AVR32_OPERAND_FPREG_D, \
86064 + AVR32_OPERAND_FPREG_D, \
86065 + AVR32_OPERAND_FPREG_D, \
86066 + }, \
86067 + }
86068 +
86069 +const struct avr32_syntax avr32_syntax_table[] =
86070 + {
86071 + SYNTAX_NORMAL1(ABS, ABS, ABS, INTREG, AVR32_V1),
86072 + SYNTAX_NORMAL1(ACALL, ACALL, ACALL, UNSIGNED_CONST_W, AVR32_V1),
86073 + SYNTAX_NORMAL1(ACR, ACR, ACR, INTREG,AVR32_V1),
86074 + SYNTAX_NORMAL3(ADC, ADC, ADC, INTREG, INTREG, INTREG, AVR32_V1),
86075 + SYNTAX_NORMAL_C2(ADD1, ADD, ADD1, ADD2, INTREG, INTREG, AVR32_V1),
86076 + SYNTAX_NORMAL3(ADD2, ADD, ADD2, INTREG, INTREG, INTREG_LSL, AVR32_V1),
86077 + SYNTAX_NORMAL3(ADDABS, ADDABS, ADDABS, INTREG, INTREG, INTREG, AVR32_V1),
86078 + SYNTAX_NORMAL3(ADDHH_W, ADDHH_W, ADDHH_W, INTREG, INTREG_HSEL, INTREG_HSEL, AVR32_DSP),
86079 + SYNTAX_NORMAL_C2(AND1, AND, AND1, AND2, INTREG, INTREG, AVR32_V1),
86080 + SYNTAX_NORMAL_C3(AND2, AND, AND2, AND3, INTREG, INTREG, INTREG_LSL, AVR32_V1),
86081 + SYNTAX_NORMAL3(AND3, AND, AND3, INTREG, INTREG, INTREG_LSR, AVR32_V1),
86082 + SYNTAX_NORMAL_C2(ANDH, ANDH, ANDH, ANDH_COH, INTREG, UNSIGNED_CONST, AVR32_V1),
86083 + SYNTAX_NORMAL3(ANDH_COH, ANDH, ANDH_COH, INTREG, UNSIGNED_CONST, COH, AVR32_V1),
86084 + SYNTAX_NORMAL_C2(ANDL, ANDL, ANDL, ANDL_COH, INTREG, UNSIGNED_CONST, AVR32_V1),
86085 + SYNTAX_NORMAL3(ANDL_COH, ANDL, ANDL_COH, INTREG, UNSIGNED_CONST, COH, AVR32_V1),
86086 + SYNTAX_NORMAL2(ANDN, ANDN, ANDN, INTREG, INTREG, AVR32_V1),
86087 + SYNTAX_NORMAL_C3(ASR1, ASR, ASR1, ASR3, INTREG, INTREG, INTREG, AVR32_V1),
86088 + SYNTAX_NORMAL_C3(ASR3, ASR, ASR3, ASR2, INTREG, INTREG, UNSIGNED_NUMBER, AVR32_V1),
86089 + SYNTAX_NORMAL2(ASR2, ASR, ASR2, INTREG, UNSIGNED_NUMBER, AVR32_V1),
86090 + SYNTAX_NORMAL4(BFEXTS, BFEXTS, BFEXTS, INTREG, INTREG, UNSIGNED_NUMBER, UNSIGNED_NUMBER, AVR32_V1),
86091 + SYNTAX_NORMAL4(BFEXTU, BFEXTU, BFEXTU, INTREG, INTREG, UNSIGNED_NUMBER, UNSIGNED_NUMBER, AVR32_V1),
86092 + SYNTAX_NORMAL4(BFINS, BFINS, BFINS, INTREG, INTREG, UNSIGNED_NUMBER, UNSIGNED_NUMBER, AVR32_V1),
86093 + SYNTAX_NORMAL2(BLD, BLD, BLD, INTREG, UNSIGNED_NUMBER, AVR32_V1),
86094 + SYNTAX_NORMAL_C1(BREQ1, BREQ, BREQ1, BREQ2, JMPLABEL, AVR32_V1),
86095 + SYNTAX_NORMAL_C1(BRNE1, BRNE, BRNE1, BRNE2, JMPLABEL, AVR32_V1),
86096 + SYNTAX_NORMAL_C1(BRCC1, BRCC, BRCC1, BRCC2, JMPLABEL, AVR32_V1),
86097 + SYNTAX_NORMAL_C1(BRCS1, BRCS, BRCS1, BRCS2, JMPLABEL, AVR32_V1),
86098 + SYNTAX_NORMAL_C1(BRGE1, BRGE, BRGE1, BRGE2, JMPLABEL, AVR32_V1),
86099 + SYNTAX_NORMAL_C1(BRLT1, BRLT, BRLT1, BRLT2, JMPLABEL, AVR32_V1),
86100 + SYNTAX_NORMAL_C1(BRMI1, BRMI, BRMI1, BRMI2, JMPLABEL, AVR32_V1),
86101 + SYNTAX_NORMAL_C1(BRPL1, BRPL, BRPL1, BRPL2, JMPLABEL, AVR32_V1),
86102 + SYNTAX_NORMAL_C1(BRHS1, BRHS, BRCC1, BRHS2, JMPLABEL, AVR32_V1),
86103 + SYNTAX_NORMAL_C1(BRLO1, BRLO, BRCS1, BRLO2, JMPLABEL, AVR32_V1),
86104 + SYNTAX_NORMAL1(BREQ2, BREQ, BREQ2, JMPLABEL, AVR32_V1),
86105 + SYNTAX_NORMAL1(BRNE2, BRNE, BRNE2, JMPLABEL, AVR32_V1),
86106 + SYNTAX_NORMAL1(BRCC2, BRCC, BRCC2, JMPLABEL, AVR32_V1),
86107 + SYNTAX_NORMAL1(BRCS2, BRCS, BRCS2, JMPLABEL, AVR32_V1),
86108 + SYNTAX_NORMAL1(BRGE2, BRGE, BRGE2, JMPLABEL, AVR32_V1),
86109 + SYNTAX_NORMAL1(BRLT2, BRLT, BRLT2, JMPLABEL, AVR32_V1),
86110 + SYNTAX_NORMAL1(BRMI2, BRMI, BRMI2, JMPLABEL, AVR32_V1),
86111 + SYNTAX_NORMAL1(BRPL2, BRPL, BRPL2, JMPLABEL, AVR32_V1),
86112 + SYNTAX_NORMAL1(BRLS, BRLS, BRLS, JMPLABEL, AVR32_V1),
86113 + SYNTAX_NORMAL1(BRGT, BRGT, BRGT, JMPLABEL, AVR32_V1),
86114 + SYNTAX_NORMAL1(BRLE, BRLE, BRLE, JMPLABEL, AVR32_V1),
86115 + SYNTAX_NORMAL1(BRHI, BRHI, BRHI, JMPLABEL, AVR32_V1),
86116 + SYNTAX_NORMAL1(BRVS, BRVS, BRVS, JMPLABEL, AVR32_V1),
86117 + SYNTAX_NORMAL1(BRVC, BRVC, BRVC, JMPLABEL, AVR32_V1),
86118 + SYNTAX_NORMAL1(BRQS, BRQS, BRQS, JMPLABEL, AVR32_V1),
86119 + SYNTAX_NORMAL1(BRAL, BRAL, BRAL, JMPLABEL, AVR32_V1),
86120 + SYNTAX_NORMAL1(BRHS2, BRHS, BRCC2, JMPLABEL, AVR32_V1),
86121 + SYNTAX_NORMAL1(BRLO2, BRLO, BRCS2, JMPLABEL, AVR32_V1),
86122 + SYNTAX_NORMAL0(BREAKPOINT, BREAKPOINT, BREAKPOINT, AVR32_V1),
86123 + SYNTAX_NORMAL1(BREV, BREV, BREV, INTREG, AVR32_V1),
86124 + SYNTAX_NORMAL2(BST, BST, BST, INTREG, UNSIGNED_NUMBER, AVR32_V1),
86125 + SYNTAX_NORMAL2(CACHE, CACHE, CACHE, INTREG_SDISP, UNSIGNED_NUMBER, AVR32_V1),
86126 + SYNTAX_NORMAL1(CASTS_B, CASTS_B, CASTS_B, INTREG, AVR32_V1),
86127 + SYNTAX_NORMAL1(CASTS_H, CASTS_H, CASTS_H, INTREG, AVR32_V1),
86128 + SYNTAX_NORMAL1(CASTU_B, CASTU_B, CASTU_B, INTREG, AVR32_V1),
86129 + SYNTAX_NORMAL1(CASTU_H, CASTU_H, CASTU_H, INTREG, AVR32_V1),
86130 + SYNTAX_NORMAL2(CBR, CBR, CBR, INTREG, UNSIGNED_NUMBER, AVR32_V1),
86131 + SYNTAX_NORMAL2(CLZ, CLZ, CLZ, INTREG, INTREG, AVR32_V1),
86132 + SYNTAX_NORMAL1(COM, COM, COM, INTREG, AVR32_V1),
86133 + SYNTAX_NORMAL5(COP, COP, COP, CPNO, CPREG, CPREG, CPREG, UNSIGNED_NUMBER, AVR32_V1),
86134 + SYNTAX_NORMAL2(CP_B, CP_B, CP_B, INTREG, INTREG, AVR32_V1),
86135 + SYNTAX_NORMAL2(CP_H, CP_H, CP_H, INTREG, INTREG, AVR32_V1),
86136 + SYNTAX_NORMAL_C2(CP_W1, CP_W, CP_W1, CP_W2, INTREG, INTREG, AVR32_V1),
86137 + SYNTAX_NORMAL_C2(CP_W2, CP_W, CP_W2, CP_W3, INTREG, SIGNED_CONST, AVR32_V1),
86138 + SYNTAX_NORMAL2(CP_W3, CP_W, CP_W3, INTREG, SIGNED_CONST, AVR32_V1),
86139 + SYNTAX_NORMAL_C2(CPC1, CPC, CPC1, CPC2, INTREG, INTREG, AVR32_V1),
86140 + SYNTAX_NORMAL1(CPC2, CPC, CPC2, INTREG, AVR32_V1),
86141 + SYNTAX_NORMAL1(CSRF, CSRF, CSRF, UNSIGNED_NUMBER, AVR32_V1),
86142 + SYNTAX_NORMAL1(CSRFCZ, CSRFCZ, CSRFCZ, UNSIGNED_NUMBER, AVR32_V1),
86143 + SYNTAX_NORMAL3(DIVS, DIVS, DIVS, INTREG, INTREG, INTREG, AVR32_V1),
86144 + SYNTAX_NORMAL3(DIVU, DIVU, DIVU, INTREG, INTREG, INTREG, AVR32_V1),
86145 + SYNTAX_NORMAL_C2(EOR1, EOR, EOR1, EOR2, INTREG, INTREG, AVR32_V1),
86146 + SYNTAX_NORMAL_C3(EOR2, EOR, EOR2, EOR3, INTREG, INTREG, INTREG_LSL, AVR32_V1),
86147 + SYNTAX_NORMAL3(EOR3, EOR, EOR3, INTREG, INTREG, INTREG_LSR, AVR32_V1),
86148 + SYNTAX_NORMAL2(EORL, EORL, EORL, INTREG, UNSIGNED_CONST, AVR32_V1),
86149 + SYNTAX_NORMAL2(EORH, EORH, EORH, INTREG, UNSIGNED_CONST, AVR32_V1),
86150 + SYNTAX_NORMAL0(FRS, FRS, FRS, AVR32_V1),
86151 + SYNTAX_NORMAL1(ICALL, ICALL, ICALL, INTREG, AVR32_V1),
86152 + SYNTAX_NORMAL1(INCJOSP, INCJOSP, INCJOSP, JOSPINC, AVR32_V1),
86153 + SYNTAX_NORMAL_C2(LD_D1, LD_D, LD_D1, LD_D2, DWREG, INTREG_POSTINC, AVR32_V1),
86154 + SYNTAX_NORMAL_C2(LD_D2, LD_D, LD_D2, LD_D3, DWREG, INTREG_PREDEC, AVR32_V1),
86155 + SYNTAX_NORMAL_C2(LD_D3, LD_D, LD_D3, LD_D5, DWREG, INTREG, AVR32_V1),
86156 + SYNTAX_NORMAL_C2(LD_D5, LD_D, LD_D5, LD_D4, DWREG, INTREG_INDEX, AVR32_V1),
86157 + SYNTAX_NORMAL2(LD_D4, LD_D, LD_D4, DWREG, INTREG_SDISP, AVR32_V1),
86158 + SYNTAX_NORMAL_C2(LD_SB2, LD_SB, LD_SB2, LD_SB1, INTREG, INTREG_INDEX, AVR32_V1),
86159 + SYNTAX_NORMAL2(LD_SB1, LD_SB, LD_SB1, INTREG, INTREG_SDISP, AVR32_V1),
86160 + SYNTAX_NORMAL_C2(LD_UB1, LD_UB, LD_UB1, LD_UB2, INTREG, INTREG_POSTINC, AVR32_V1),
86161 + SYNTAX_NORMAL_C2(LD_UB2, LD_UB, LD_UB2, LD_UB5, INTREG, INTREG_PREDEC, AVR32_V1),
86162 + SYNTAX_NORMAL_C2(LD_UB5, LD_UB, LD_UB5, LD_UB3, INTREG, INTREG_INDEX, AVR32_V1),
86163 + SYNTAX_NORMAL_C2(LD_UB3, LD_UB, LD_UB3, LD_UB4, INTREG, INTREG_UDISP, AVR32_V1),
86164 + SYNTAX_NORMAL2(LD_UB4, LD_UB, LD_UB4, INTREG, INTREG_SDISP, AVR32_V1),
86165 + SYNTAX_NORMAL_C2(LD_SH1, LD_SH, LD_SH1, LD_SH2, INTREG, INTREG_POSTINC, AVR32_V1),
86166 + SYNTAX_NORMAL_C2(LD_SH2, LD_SH, LD_SH2, LD_SH5, INTREG, INTREG_PREDEC, AVR32_V1),
86167 + SYNTAX_NORMAL_C2(LD_SH5, LD_SH, LD_SH5, LD_SH3, INTREG, INTREG_INDEX, AVR32_V1),
86168 + SYNTAX_NORMAL_C2(LD_SH3, LD_SH, LD_SH3, LD_SH4, INTREG, INTREG_UDISP_H, AVR32_V1),
86169 + SYNTAX_NORMAL2(LD_SH4, LD_SH, LD_SH4, INTREG, INTREG_SDISP, AVR32_V1),
86170 + SYNTAX_NORMAL_C2(LD_UH1, LD_UH, LD_UH1, LD_UH2, INTREG, INTREG_POSTINC, AVR32_V1),
86171 + SYNTAX_NORMAL_C2(LD_UH2, LD_UH, LD_UH2, LD_UH5, INTREG, INTREG_PREDEC, AVR32_V1),
86172 + SYNTAX_NORMAL_C2(LD_UH5, LD_UH, LD_UH5, LD_UH3, INTREG, INTREG_INDEX, AVR32_V1),
86173 + SYNTAX_NORMAL_C2(LD_UH3, LD_UH, LD_UH3, LD_UH4, INTREG, INTREG_UDISP_H, AVR32_V1),
86174 + SYNTAX_NORMAL2(LD_UH4, LD_UH, LD_UH4, INTREG, INTREG_SDISP, AVR32_V1),
86175 + SYNTAX_NORMAL_C2(LD_W1, LD_W, LD_W1, LD_W2, INTREG, INTREG_POSTINC, AVR32_V1),
86176 + SYNTAX_NORMAL_C2(LD_W2, LD_W, LD_W2, LD_W5, INTREG, INTREG_PREDEC, AVR32_V1),
86177 + SYNTAX_NORMAL_C2(LD_W5, LD_W, LD_W5, LD_W6, INTREG, INTREG_INDEX, AVR32_V1),
86178 + SYNTAX_NORMAL_C2(LD_W6, LD_W, LD_W6, LD_W3, INTREG, INTREG_XINDEX, AVR32_V1),
86179 + SYNTAX_NORMAL_C2(LD_W3, LD_W, LD_W3, LD_W4, INTREG, INTREG_UDISP_W, AVR32_V1),
86180 + SYNTAX_NORMAL2(LD_W4, LD_W, LD_W4, INTREG, INTREG_SDISP, AVR32_V1),
86181 + SYNTAX_NORMAL3(LDC_D1, LDC_D, LDC_D1, CPNO, CPREG_D, INTREG_UDISP_W, AVR32_V1),
86182 + SYNTAX_NORMAL_C3(LDC_D2, LDC_D, LDC_D2, LDC_D1, CPNO, CPREG_D, INTREG_PREDEC, AVR32_V1),
86183 + SYNTAX_NORMAL_C3(LDC_D3, LDC_D, LDC_D3, LDC_D2, CPNO, CPREG_D, INTREG_INDEX, AVR32_V1),
86184 + SYNTAX_NORMAL3(LDC_W1, LDC_W, LDC_W1, CPNO, CPREG, INTREG_UDISP_W, AVR32_V1),
86185 + SYNTAX_NORMAL_C3(LDC_W2, LDC_W, LDC_W2, LDC_W1, CPNO, CPREG, INTREG_PREDEC, AVR32_V1),
86186 + SYNTAX_NORMAL_C3(LDC_W3, LDC_W, LDC_W3, LDC_W2, CPNO, CPREG, INTREG_INDEX, AVR32_V1),
86187 + SYNTAX_NORMAL2(LDC0_D, LDC0_D, LDC0_D, CPREG_D, INTREG_UDISP_W, AVR32_V1),
86188 + SYNTAX_NORMAL2(LDC0_W, LDC0_W, LDC0_W, CPREG, INTREG_UDISP_W, AVR32_V1),
86189 + SYNTAX_NORMAL_CM3(LDCM_D, LDCM_D, LDCM_D, LDCM_D_PU, CPNO, INTREG, REGLIST_CPD8, AVR32_V1),
86190 + SYNTAX_NORMALM3(LDCM_D_PU, LDCM_D, LDCM_D_PU, CPNO, INTREG_POSTINC, REGLIST_CPD8, AVR32_V1),
86191 + SYNTAX_NORMAL_CM3(LDCM_W, LDCM_W, LDCM_W, LDCM_W_PU, CPNO, INTREG, REGLIST_CP8, AVR32_V1),
86192 + SYNTAX_NORMALM3(LDCM_W_PU, LDCM_W, LDCM_W_PU, CPNO, INTREG_POSTINC, REGLIST_CP8, AVR32_V1),
86193 + SYNTAX_NORMAL2(LDDPC, LDDPC, LDDPC, INTREG, PC_UDISP_W, AVR32_V1),
86194 + SYNTAX_NORMAL2(LDDPC_EXT, LDDPC, LDDPC_EXT, INTREG, SIGNED_CONST, AVR32_V1),
86195 + SYNTAX_NORMAL2(LDDSP, LDDSP, LDDSP, INTREG, SP_UDISP_W, AVR32_V1),
86196 + SYNTAX_NORMAL2(LDINS_B, LDINS_B, LDINS_B, INTREG_BSEL, INTREG_SDISP, AVR32_V1),
86197 + SYNTAX_NORMAL2(LDINS_H, LDINS_H, LDINS_H, INTREG_HSEL, INTREG_SDISP_H, AVR32_V1),
86198 + SYNTAX_NORMALM1(LDM, LDM, LDM, REGLIST_LDM, AVR32_V1),
86199 + SYNTAX_NORMAL_CM2(LDMTS, LDMTS, LDMTS, LDMTS_PU, INTREG, REGLIST16, AVR32_V1),
86200 + SYNTAX_NORMALM2(LDMTS_PU, LDMTS, LDMTS_PU, INTREG_POSTINC, REGLIST16, AVR32_V1),
86201 + SYNTAX_NORMAL2(LDSWP_SH, LDSWP_SH, LDSWP_SH, INTREG, INTREG_SDISP_H, AVR32_V1),
86202 + SYNTAX_NORMAL2(LDSWP_UH, LDSWP_UH, LDSWP_UH, INTREG, INTREG_SDISP_H, AVR32_V1),
86203 + SYNTAX_NORMAL2(LDSWP_W, LDSWP_W, LDSWP_W, INTREG, INTREG_SDISP_W, AVR32_V1),
86204 + SYNTAX_NORMAL_C3(LSL1, LSL, LSL1, LSL3, INTREG, INTREG, INTREG, AVR32_V1),
86205 + SYNTAX_NORMAL_C3(LSL3, LSL, LSL3, LSL2, INTREG, INTREG, UNSIGNED_NUMBER, AVR32_V1),
86206 + SYNTAX_NORMAL2(LSL2, LSL, LSL2, INTREG, UNSIGNED_NUMBER, AVR32_V1),
86207 + SYNTAX_NORMAL_C3(LSR1, LSR, LSR1, LSR3, INTREG, INTREG, INTREG, AVR32_V1),
86208 + SYNTAX_NORMAL_C3(LSR3, LSR, LSR3, LSR2, INTREG, INTREG, UNSIGNED_NUMBER, AVR32_V1),
86209 + SYNTAX_NORMAL2(LSR2, LSR, LSR2, INTREG, UNSIGNED_NUMBER, AVR32_V1),
86210 + SYNTAX_NORMAL3(MAC, MAC, MAC, INTREG, INTREG, INTREG, AVR32_V1),
86211 + SYNTAX_NORMAL3(MACHH_D, MACHH_D, MACHH_D, INTREG, INTREG_HSEL, INTREG_HSEL, AVR32_DSP),
86212 + SYNTAX_NORMAL3(MACHH_W, MACHH_W, MACHH_W, INTREG, INTREG_HSEL, INTREG_HSEL, AVR32_DSP),
86213 + SYNTAX_NORMAL3(MACS_D, MACS_D, MACS_D, INTREG, INTREG, INTREG, AVR32_V1),
86214 + SYNTAX_NORMAL3(MACSATHH_W, MACSATHH_W, MACSATHH_W, INTREG, INTREG_HSEL, INTREG_HSEL, AVR32_DSP),
86215 + SYNTAX_NORMAL3(MACUD, MACU_D, MACUD, INTREG, INTREG, INTREG, AVR32_V1),
86216 + SYNTAX_NORMAL3(MACWH_D, MACWH_D, MACWH_D, INTREG, INTREG, INTREG_HSEL, AVR32_DSP),
86217 + SYNTAX_NORMAL3(MAX, MAX, MAX, INTREG, INTREG, INTREG, AVR32_V1),
86218 + SYNTAX_NORMAL1(MCALL, MCALL, MCALL, MCALL, AVR32_V1),
86219 + SYNTAX_NORMAL2(MFDR, MFDR, MFDR, INTREG, UNSIGNED_CONST_W, AVR32_V1),
86220 + SYNTAX_NORMAL2(MFSR, MFSR, MFSR, INTREG, UNSIGNED_CONST_W, AVR32_V1),
86221 + SYNTAX_NORMAL3(MIN, MIN, MIN, INTREG, INTREG, INTREG, AVR32_V1),
86222 + SYNTAX_NORMAL_C2(MOV3, MOV, MOV3, MOV1, INTREG, INTREG, AVR32_V1),
86223 + SYNTAX_NORMAL_C2(MOV1, MOV, MOV1, MOV2, INTREG, SIGNED_CONST, AVR32_V1),
86224 + SYNTAX_NORMAL2(MOV2, MOV, MOV2, INTREG, SIGNED_CONST, AVR32_V1),
86225 + SYNTAX_NORMAL_C2(MOVEQ1, MOVEQ, MOVEQ1, MOVEQ2, INTREG, INTREG, AVR32_V1),
86226 + SYNTAX_NORMAL_C2(MOVNE1, MOVNE, MOVNE1, MOVNE2, INTREG, INTREG, AVR32_V1),
86227 + SYNTAX_NORMAL_C2(MOVCC1, MOVCC, MOVCC1, MOVCC2, INTREG, INTREG, AVR32_V1),
86228 + SYNTAX_NORMAL_C2(MOVCS1, MOVCS, MOVCS1, MOVCS2, INTREG, INTREG, AVR32_V1),
86229 + SYNTAX_NORMAL_C2(MOVGE1, MOVGE, MOVGE1, MOVGE2, INTREG, INTREG, AVR32_V1),
86230 + SYNTAX_NORMAL_C2(MOVLT1, MOVLT, MOVLT1, MOVLT2, INTREG, INTREG, AVR32_V1),
86231 + SYNTAX_NORMAL_C2(MOVMI1, MOVMI, MOVMI1, MOVMI2, INTREG, INTREG, AVR32_V1),
86232 + SYNTAX_NORMAL_C2(MOVPL1, MOVPL, MOVPL1, MOVPL2, INTREG, INTREG, AVR32_V1),
86233 + SYNTAX_NORMAL_C2(MOVLS1, MOVLS, MOVLS1, MOVLS2, INTREG, INTREG, AVR32_V1),
86234 + SYNTAX_NORMAL_C2(MOVGT1, MOVGT, MOVGT1, MOVGT2, INTREG, INTREG, AVR32_V1),
86235 + SYNTAX_NORMAL_C2(MOVLE1, MOVLE, MOVLE1, MOVLE2, INTREG, INTREG, AVR32_V1),
86236 + SYNTAX_NORMAL_C2(MOVHI1, MOVHI, MOVHI1, MOVHI2, INTREG, INTREG, AVR32_V1),
86237 + SYNTAX_NORMAL_C2(MOVVS1, MOVVS, MOVVS1, MOVVS2, INTREG, INTREG, AVR32_V1),
86238 + SYNTAX_NORMAL_C2(MOVVC1, MOVVC, MOVVC1, MOVVC2, INTREG, INTREG, AVR32_V1),
86239 + SYNTAX_NORMAL_C2(MOVQS1, MOVQS, MOVQS1, MOVQS2, INTREG, INTREG, AVR32_V1),
86240 + SYNTAX_NORMAL_C2(MOVAL1, MOVAL, MOVAL1, MOVAL2, INTREG, INTREG, AVR32_V1),
86241 + SYNTAX_NORMAL_C2(MOVHS1, MOVHS, MOVCC1, MOVHS2, INTREG, INTREG, AVR32_V1),
86242 + SYNTAX_NORMAL_C2(MOVLO1, MOVLO, MOVCS1, MOVLO2, INTREG, INTREG, AVR32_V1),
86243 + SYNTAX_NORMAL2(MOVEQ2, MOVEQ, MOVEQ2, INTREG, SIGNED_CONST, AVR32_V1),
86244 + SYNTAX_NORMAL2(MOVNE2, MOVNE, MOVNE2, INTREG, SIGNED_CONST, AVR32_V1),
86245 + SYNTAX_NORMAL2(MOVCC2, MOVCC, MOVCC2, INTREG, SIGNED_CONST, AVR32_V1),
86246 + SYNTAX_NORMAL2(MOVCS2, MOVCS, MOVCS2, INTREG, SIGNED_CONST, AVR32_V1),
86247 + SYNTAX_NORMAL2(MOVGE2, MOVGE, MOVGE2, INTREG, SIGNED_CONST, AVR32_V1),
86248 + SYNTAX_NORMAL2(MOVLT2, MOVLT, MOVLT2, INTREG, SIGNED_CONST, AVR32_V1),
86249 + SYNTAX_NORMAL2(MOVMI2, MOVMI, MOVMI2, INTREG, SIGNED_CONST, AVR32_V1),
86250 + SYNTAX_NORMAL2(MOVPL2, MOVPL, MOVPL2, INTREG, SIGNED_CONST, AVR32_V1),
86251 + SYNTAX_NORMAL2(MOVLS2, MOVLS, MOVLS2, INTREG, SIGNED_CONST, AVR32_V1),
86252 + SYNTAX_NORMAL2(MOVGT2, MOVGT, MOVGT2, INTREG, SIGNED_CONST, AVR32_V1),
86253 + SYNTAX_NORMAL2(MOVLE2, MOVLE, MOVLE2, INTREG, SIGNED_CONST, AVR32_V1),
86254 + SYNTAX_NORMAL2(MOVHI2, MOVHI, MOVHI2, INTREG, SIGNED_CONST, AVR32_V1),
86255 + SYNTAX_NORMAL2(MOVVS2, MOVVS, MOVVS2, INTREG, SIGNED_CONST, AVR32_V1),
86256 + SYNTAX_NORMAL2(MOVVC2, MOVVC, MOVVC2, INTREG, SIGNED_CONST, AVR32_V1),
86257 + SYNTAX_NORMAL2(MOVQS2, MOVQS, MOVQS2, INTREG, SIGNED_CONST, AVR32_V1),
86258 + SYNTAX_NORMAL2(MOVAL2, MOVAL, MOVAL2, INTREG, SIGNED_CONST, AVR32_V1),
86259 + SYNTAX_NORMAL2(MOVHS2, MOVHS, MOVCC2, INTREG, SIGNED_CONST, AVR32_V1),
86260 + SYNTAX_NORMAL2(MOVLO2, MOVLO, MOVCS2, INTREG, SIGNED_CONST, AVR32_V1),
86261 + SYNTAX_NORMAL2(MTDR, MTDR, MTDR, UNSIGNED_CONST_W, INTREG, AVR32_V1),
86262 + SYNTAX_NORMAL2(MTSR, MTSR, MTSR, UNSIGNED_CONST_W, INTREG, AVR32_V1),
86263 + SYNTAX_NORMAL_C2(MUL1, MUL, MUL1, MUL2, INTREG, INTREG, AVR32_V1),
86264 + SYNTAX_NORMAL_C3(MUL2, MUL, MUL2, MUL3, INTREG, INTREG, INTREG, AVR32_V1),
86265 + SYNTAX_NORMAL3(MUL3, MUL, MUL3, INTREG, INTREG, SIGNED_CONST, AVR32_V1),
86266 + SYNTAX_NORMAL3(MULHH_W, MULHH_W, MULHH_W, INTREG, INTREG_HSEL, INTREG_HSEL, AVR32_DSP),
86267 + SYNTAX_NORMAL3(MULNHH_W, MULNHH_W, MULNHH_W, INTREG, INTREG_HSEL, INTREG_HSEL, AVR32_DSP),
86268 + SYNTAX_NORMAL3(MULNWH_D, MULNWH_D, MULNWH_D, INTREG, INTREG, INTREG_HSEL, AVR32_DSP),
86269 + SYNTAX_NORMAL3(MULSD, MULS_D, MULSD, INTREG, INTREG, INTREG, AVR32_V1),
86270 + SYNTAX_NORMAL3(MULSATHH_H, MULSATHH_H, MULSATHH_H, INTREG, INTREG_HSEL, INTREG_HSEL, AVR32_DSP),
86271 + SYNTAX_NORMAL3(MULSATHH_W, MULSATHH_W, MULSATHH_W, INTREG, INTREG_HSEL, INTREG_HSEL, AVR32_DSP),
86272 + SYNTAX_NORMAL3(MULSATRNDHH_H, MULSATRNDHH_H, MULSATRNDHH_H, INTREG, INTREG_HSEL, INTREG_HSEL, AVR32_DSP),
86273 + SYNTAX_NORMAL3(MULSATRNDWH_W, MULSATRNDWH_W, MULSATRNDWH_W, INTREG, INTREG, INTREG_HSEL, AVR32_DSP),
86274 + SYNTAX_NORMAL3(MULSATWH_W, MULSATWH_W, MULSATWH_W, INTREG, INTREG, INTREG_HSEL, AVR32_DSP),
86275 + SYNTAX_NORMAL3(MULU_D, MULU_D, MULU_D, INTREG, INTREG, INTREG, AVR32_V1),
86276 + SYNTAX_NORMAL3(MULWH_D, MULWH_D, MULWH_D, INTREG, INTREG, INTREG_HSEL, AVR32_DSP),
86277 + SYNTAX_NORMAL1(MUSFR, MUSFR, MUSFR, INTREG, AVR32_V1),
86278 + SYNTAX_NORMAL1(MUSTR, MUSTR, MUSTR, INTREG, AVR32_V1),
86279 + SYNTAX_NORMAL3(MVCR_D, MVCR_D, MVCR_D, CPNO, DWREG, CPREG_D, AVR32_V1),
86280 + SYNTAX_NORMAL3(MVCR_W, MVCR_W, MVCR_W, CPNO, INTREG, CPREG, AVR32_V1),
86281 + SYNTAX_NORMAL3(MVRC_D, MVRC_D, MVRC_D, CPNO, CPREG_D, DWREG, AVR32_V1),
86282 + SYNTAX_NORMAL3(MVRC_W, MVRC_W, MVRC_W, CPNO, CPREG, INTREG, AVR32_V1),
86283 + SYNTAX_NORMAL1(NEG, NEG, NEG, INTREG, AVR32_V1),
86284 + SYNTAX_NORMAL0(NOP, NOP, NOP, AVR32_V1),
86285 + SYNTAX_NORMAL_C2(OR1, OR, OR1, OR2, INTREG, INTREG, AVR32_V1),
86286 + SYNTAX_NORMAL_C3(OR2, OR, OR2, OR3, INTREG, INTREG, INTREG_LSL, AVR32_V1),
86287 + SYNTAX_NORMAL3(OR3, OR, OR3, INTREG, INTREG, INTREG_LSR, AVR32_V1),
86288 + SYNTAX_NORMAL2(ORH, ORH, ORH, INTREG, UNSIGNED_CONST, AVR32_V1),
86289 + SYNTAX_NORMAL2(ORL, ORL, ORL, INTREG, UNSIGNED_CONST, AVR32_V1),
86290 + SYNTAX_NORMAL2(PABS_SB, PABS_SB, PABS_SB, INTREG, INTREG, AVR32_SIMD),
86291 + SYNTAX_NORMAL2(PABS_SH, PABS_SH, PABS_SH, INTREG, INTREG, AVR32_SIMD),
86292 + SYNTAX_NORMAL3(PACKSH_SB, PACKSH_SB, PACKSH_SB, INTREG, INTREG, INTREG, AVR32_SIMD),
86293 + SYNTAX_NORMAL3(PACKSH_UB, PACKSH_UB, PACKSH_UB, INTREG, INTREG, INTREG, AVR32_SIMD),
86294 + SYNTAX_NORMAL3(PACKW_SH, PACKW_SH, PACKW_SH, INTREG, INTREG, INTREG, AVR32_SIMD),
86295 + SYNTAX_NORMAL3(PADD_B, PADD_B, PADD_B, INTREG, INTREG, INTREG, AVR32_SIMD),
86296 + SYNTAX_NORMAL3(PADD_H, PADD_H, PADD_H, INTREG, INTREG, INTREG, AVR32_SIMD),
86297 + SYNTAX_NORMAL3(PADDH_SH, PADDH_SH, PADDH_SH, INTREG, INTREG, INTREG, AVR32_SIMD),
86298 + SYNTAX_NORMAL3(PADDH_UB, PADDH_UB, PADDH_UB, INTREG, INTREG, INTREG, AVR32_SIMD),
86299 + SYNTAX_NORMAL3(PADDS_SB, PADDS_SB, PADDS_SB, INTREG, INTREG, INTREG, AVR32_SIMD),
86300 + SYNTAX_NORMAL3(PADDS_SH, PADDS_SH, PADDS_SH, INTREG, INTREG, INTREG, AVR32_SIMD),
86301 + SYNTAX_NORMAL3(PADDS_UB, PADDS_UB, PADDS_UB, INTREG, INTREG, INTREG, AVR32_SIMD),
86302 + SYNTAX_NORMAL3(PADDS_UH, PADDS_UH, PADDS_UH, INTREG, INTREG, INTREG, AVR32_SIMD),
86303 + SYNTAX_NORMAL3(PADDSUB_H, PADDSUB_H, PADDSUB_H, INTREG, INTREG_HSEL, INTREG_HSEL, AVR32_SIMD),
86304 + SYNTAX_NORMAL3(PADDSUBH_SH, PADDSUBH_SH, PADDSUBH_SH, INTREG, INTREG_HSEL, INTREG_HSEL, AVR32_SIMD),
86305 + SYNTAX_NORMAL3(PADDSUBS_SH, PADDSUBS_SH, PADDSUBS_SH, INTREG, INTREG_HSEL, INTREG_HSEL, AVR32_SIMD),
86306 + SYNTAX_NORMAL3(PADDSUBS_UH, PADDSUBS_UH, PADDSUBS_UH, INTREG, INTREG_HSEL, INTREG_HSEL, AVR32_SIMD),
86307 + SYNTAX_NORMAL3(PADDX_H, PADDX_H, PADDX_H, INTREG, INTREG, INTREG, AVR32_SIMD),
86308 + SYNTAX_NORMAL3(PADDXH_SH, PADDXH_SH, PADDXH_SH, INTREG, INTREG, INTREG, AVR32_SIMD),
86309 + SYNTAX_NORMAL3(PADDXS_SH, PADDXS_SH, PADDXS_SH, INTREG, INTREG, INTREG, AVR32_SIMD),
86310 + SYNTAX_NORMAL3(PADDXS_UH, PADDXS_UH, PADDXS_UH, INTREG, INTREG, INTREG, AVR32_SIMD),
86311 + SYNTAX_NORMAL3(PASR_B, PASR_B, PASR_B, INTREG, INTREG, UNSIGNED_NUMBER, AVR32_SIMD),
86312 + SYNTAX_NORMAL3(PASR_H, PASR_H, PASR_H, INTREG, INTREG, UNSIGNED_NUMBER, AVR32_SIMD),
86313 + SYNTAX_NORMAL3(PAVG_SH, PAVG_SH, PAVG_SH, INTREG, INTREG, INTREG, AVR32_SIMD),
86314 + SYNTAX_NORMAL3(PAVG_UB, PAVG_UB, PAVG_UB, INTREG, INTREG, INTREG, AVR32_SIMD),
86315 + SYNTAX_NORMAL3(PLSL_B, PLSL_B, PLSL_B, INTREG, INTREG, UNSIGNED_NUMBER, AVR32_SIMD),
86316 + SYNTAX_NORMAL3(PLSL_H, PLSL_H, PLSL_H, INTREG, INTREG, UNSIGNED_NUMBER, AVR32_SIMD),
86317 + SYNTAX_NORMAL3(PLSR_B, PLSR_B, PLSR_B, INTREG, INTREG, UNSIGNED_NUMBER, AVR32_SIMD),
86318 + SYNTAX_NORMAL3(PLSR_H, PLSR_H, PLSR_H, INTREG, INTREG, UNSIGNED_NUMBER, AVR32_SIMD),
86319 + SYNTAX_NORMAL3(PMAX_SH, PMAX_SH, PMAX_SH, INTREG, INTREG, INTREG, AVR32_SIMD),
86320 + SYNTAX_NORMAL3(PMAX_UB, PMAX_UB, PMAX_UB, INTREG, INTREG, INTREG, AVR32_SIMD),
86321 + SYNTAX_NORMAL3(PMIN_SH, PMIN_SH, PMIN_SH, INTREG, INTREG, INTREG, AVR32_SIMD),
86322 + SYNTAX_NORMAL3(PMIN_UB, PMIN_UB, PMIN_UB, INTREG, INTREG, INTREG, AVR32_SIMD),
86323 + SYNTAX_NORMAL0(POPJC, POPJC, POPJC, AVR32_V1),
86324 + SYNTAX_NORMAL_CM1(POPM, POPM, POPM, POPM_E, REGLIST9, AVR32_V1),
86325 + SYNTAX_NORMALM1(POPM_E, POPM, POPM_E, REGLIST16, AVR32_V1),
86326 + SYNTAX_NORMAL1(PREF, PREF, PREF, INTREG_SDISP, AVR32_V1),
86327 + SYNTAX_NORMAL3(PSAD, PSAD, PSAD, INTREG, INTREG, INTREG, AVR32_SIMD),
86328 + SYNTAX_NORMAL3(PSUB_B, PSUB_B, PSUB_B, INTREG, INTREG, INTREG, AVR32_SIMD),
86329 + SYNTAX_NORMAL3(PSUB_H, PSUB_H, PSUB_H, INTREG, INTREG, INTREG, AVR32_SIMD),
86330 + SYNTAX_NORMAL3(PSUBADD_H, PSUBADD_H, PSUBADD_H, INTREG, INTREG_HSEL, INTREG_HSEL, AVR32_SIMD),
86331 + SYNTAX_NORMAL3(PSUBADDH_SH, PSUBADDH_SH, PSUBADDH_SH, INTREG, INTREG_HSEL, INTREG_HSEL, AVR32_SIMD),
86332 + SYNTAX_NORMAL3(PSUBADDS_SH, PSUBADDS_SH, PSUBADDS_SH, INTREG, INTREG_HSEL, INTREG_HSEL, AVR32_SIMD),
86333 + SYNTAX_NORMAL3(PSUBADDS_UH, PSUBADDS_UH, PSUBADDS_UH, INTREG, INTREG_HSEL, INTREG_HSEL, AVR32_SIMD),
86334 + SYNTAX_NORMAL3(PSUBH_SH, PSUBH_SH, PSUBH_SH, INTREG, INTREG, INTREG, AVR32_SIMD),
86335 + SYNTAX_NORMAL3(PSUBH_UB, PSUBH_UB, PSUBH_UB, INTREG, INTREG, INTREG, AVR32_SIMD),
86336 + SYNTAX_NORMAL3(PSUBS_SB, PSUBS_SB, PSUBS_SB, INTREG, INTREG, INTREG, AVR32_SIMD),
86337 + SYNTAX_NORMAL3(PSUBS_SH, PSUBS_SH, PSUBS_SH, INTREG, INTREG, INTREG, AVR32_SIMD),
86338 + SYNTAX_NORMAL3(PSUBS_UB, PSUBS_UB, PSUBS_UB, INTREG, INTREG, INTREG, AVR32_SIMD),
86339 + SYNTAX_NORMAL3(PSUBS_UH, PSUBS_UH, PSUBS_UH, INTREG, INTREG, INTREG, AVR32_SIMD),
86340 + SYNTAX_NORMAL3(PSUBX_H, PSUBX_H, PSUBX_H, INTREG, INTREG, INTREG, AVR32_SIMD),
86341 + SYNTAX_NORMAL3(PSUBXH_SH, PSUBXH_SH, PSUBXH_SH, INTREG, INTREG, INTREG, AVR32_SIMD),
86342 + SYNTAX_NORMAL3(PSUBXS_SH, PSUBXS_SH, PSUBXS_SH, INTREG, INTREG, INTREG, AVR32_SIMD),
86343 + SYNTAX_NORMAL3(PSUBXS_UH, PSUBXS_UH, PSUBXS_UH, INTREG, INTREG, INTREG, AVR32_SIMD),
86344 + SYNTAX_NORMAL2(PUNPCKSB_H, PUNPCKSB_H, PUNPCKSB_H, INTREG, INTREG_HSEL, AVR32_SIMD),
86345 + SYNTAX_NORMAL2(PUNPCKUB_H, PUNPCKUB_H, PUNPCKUB_H, INTREG, INTREG_HSEL, AVR32_SIMD),
86346 + SYNTAX_NORMAL0(PUSHJC, PUSHJC, PUSHJC, AVR32_V1),
86347 + SYNTAX_NORMAL_CM1(PUSHM, PUSHM, PUSHM, PUSHM_E, REGLIST8, AVR32_V1),
86348 + SYNTAX_NORMALM1(PUSHM_E, PUSHM, PUSHM_E, REGLIST16, AVR32_V1),
86349 + SYNTAX_NORMAL_C1(RCALL1, RCALL, RCALL1, RCALL2, JMPLABEL, AVR32_V1),
86350 + SYNTAX_NORMAL1(RCALL2, RCALL, RCALL2, JMPLABEL, AVR32_V1),
86351 + SYNTAX_NORMAL1(RETEQ, RETEQ, RETEQ, RETVAL, AVR32_V1),
86352 + SYNTAX_NORMAL1(RETNE, RETNE, RETNE, RETVAL, AVR32_V1),
86353 + SYNTAX_NORMAL1(RETCC, RETCC, RETCC, RETVAL, AVR32_V1),
86354 + SYNTAX_NORMAL1(RETCS, RETCS, RETCS, RETVAL, AVR32_V1),
86355 + SYNTAX_NORMAL1(RETGE, RETGE, RETGE, RETVAL, AVR32_V1),
86356 + SYNTAX_NORMAL1(RETLT, RETLT, RETLT, RETVAL, AVR32_V1),
86357 + SYNTAX_NORMAL1(RETMI, RETMI, RETMI, RETVAL, AVR32_V1),
86358 + SYNTAX_NORMAL1(RETPL, RETPL, RETPL, RETVAL, AVR32_V1),
86359 + SYNTAX_NORMAL1(RETLS, RETLS, RETLS, RETVAL, AVR32_V1),
86360 + SYNTAX_NORMAL1(RETGT, RETGT, RETGT, RETVAL, AVR32_V1),
86361 + SYNTAX_NORMAL1(RETLE, RETLE, RETLE, RETVAL, AVR32_V1),
86362 + SYNTAX_NORMAL1(RETHI, RETHI, RETHI, RETVAL, AVR32_V1),
86363 + SYNTAX_NORMAL1(RETVS, RETVS, RETVS, RETVAL, AVR32_V1),
86364 + SYNTAX_NORMAL1(RETVC, RETVC, RETVC, RETVAL, AVR32_V1),
86365 + SYNTAX_NORMAL1(RETQS, RETQS, RETQS, RETVAL, AVR32_V1),
86366 + SYNTAX_NORMAL1(RETAL, RETAL, RETAL, RETVAL, AVR32_V1),
86367 + SYNTAX_NORMAL1(RETHS, RETHS, RETCC, RETVAL, AVR32_V1),
86368 + SYNTAX_NORMAL1(RETLO, RETLO, RETCS, RETVAL, AVR32_V1),
86369 + SYNTAX_NORMAL0(RETD, RETD, RETD, AVR32_V1),
86370 + SYNTAX_NORMAL0(RETE, RETE, RETE, AVR32_V1),
86371 + SYNTAX_NORMAL0(RETJ, RETJ, RETJ, AVR32_V1),
86372 + SYNTAX_NORMAL0(RETS, RETS, RETS, AVR32_V1),
86373 + SYNTAX_NORMAL1(RJMP, RJMP, RJMP, JMPLABEL, AVR32_V1),
86374 + SYNTAX_NORMAL1(ROL, ROL, ROL, INTREG, AVR32_V1),
86375 + SYNTAX_NORMAL1(ROR, ROR, ROR, INTREG, AVR32_V1),
86376 + SYNTAX_NORMAL_C2(RSUB1, RSUB, RSUB1, RSUB2, INTREG, INTREG, AVR32_V1),
86377 + SYNTAX_NORMAL3(RSUB2, RSUB, RSUB2, INTREG, INTREG, SIGNED_CONST, AVR32_V1),
86378 + SYNTAX_NORMAL3(SATADD_H, SATADD_H, SATADD_H, INTREG, INTREG, INTREG, AVR32_DSP),
86379 + SYNTAX_NORMAL3(SATADD_W, SATADD_W, SATADD_W, INTREG, INTREG, INTREG, AVR32_DSP),
86380 + SYNTAX_NORMAL2(SATRNDS, SATRNDS, SATRNDS, INTREG_LSR, UNSIGNED_NUMBER, AVR32_DSP),
86381 + SYNTAX_NORMAL2(SATRNDU, SATRNDU, SATRNDU, INTREG_LSR, UNSIGNED_NUMBER, AVR32_DSP),
86382 + SYNTAX_NORMAL2(SATS, SATS, SATS, INTREG_LSR, UNSIGNED_NUMBER, AVR32_DSP),
86383 + SYNTAX_NORMAL3(SATSUB_H, SATSUB_H, SATSUB_H, INTREG, INTREG, INTREG, AVR32_DSP),
86384 + SYNTAX_NORMAL_C3(SATSUB_W1, SATSUB_W, SATSUB_W1, SATSUB_W2, INTREG, INTREG, INTREG, AVR32_DSP),
86385 + SYNTAX_NORMAL3(SATSUB_W2, SATSUB_W, SATSUB_W2, INTREG, INTREG, SIGNED_CONST, AVR32_DSP),
86386 + SYNTAX_NORMAL2(SATU, SATU, SATU, INTREG_LSR, UNSIGNED_NUMBER, AVR32_V1),
86387 + SYNTAX_NORMAL3(SBC, SBC, SBC, INTREG, INTREG, INTREG, AVR32_V1),
86388 + SYNTAX_NORMAL2(SBR, SBR, SBR, INTREG, UNSIGNED_NUMBER, AVR32_V1),
86389 + SYNTAX_NORMAL0(SCALL, SCALL, SCALL, AVR32_V1),
86390 + SYNTAX_NORMAL1(SCR, SCR, SCR, INTREG, AVR32_V1),
86391 + SYNTAX_NORMAL1(SLEEP, SLEEP, SLEEP, UNSIGNED_CONST, AVR32_V1),
86392 + SYNTAX_NORMAL1(SREQ, SREQ, SREQ, INTREG, AVR32_V1),
86393 + SYNTAX_NORMAL1(SRNE, SRNE, SRNE, INTREG, AVR32_V1),
86394 + SYNTAX_NORMAL1(SRCC, SRCC, SRCC, INTREG, AVR32_V1),
86395 + SYNTAX_NORMAL1(SRCS, SRCS, SRCS, INTREG, AVR32_V1),
86396 + SYNTAX_NORMAL1(SRGE, SRGE, SRGE, INTREG, AVR32_V1),
86397 + SYNTAX_NORMAL1(SRLT, SRLT, SRLT, INTREG, AVR32_V1),
86398 + SYNTAX_NORMAL1(SRMI, SRMI, SRMI, INTREG, AVR32_V1),
86399 + SYNTAX_NORMAL1(SRPL, SRPL, SRPL, INTREG, AVR32_V1),
86400 + SYNTAX_NORMAL1(SRLS, SRLS, SRLS, INTREG, AVR32_V1),
86401 + SYNTAX_NORMAL1(SRGT, SRGT, SRGT, INTREG, AVR32_V1),
86402 + SYNTAX_NORMAL1(SRLE, SRLE, SRLE, INTREG, AVR32_V1),
86403 + SYNTAX_NORMAL1(SRHI, SRHI, SRHI, INTREG, AVR32_V1),
86404 + SYNTAX_NORMAL1(SRVS, SRVS, SRVS, INTREG, AVR32_V1),
86405 + SYNTAX_NORMAL1(SRVC, SRVC, SRVC, INTREG, AVR32_V1),
86406 + SYNTAX_NORMAL1(SRQS, SRQS, SRQS, INTREG, AVR32_V1),
86407 + SYNTAX_NORMAL1(SRAL, SRAL, SRAL, INTREG, AVR32_V1),
86408 + SYNTAX_NORMAL1(SRHS, SRHS, SRCC, INTREG, AVR32_V1),
86409 + SYNTAX_NORMAL1(SRLO, SRLO, SRCS, INTREG, AVR32_V1),
86410 + SYNTAX_NORMAL1(SSRF, SSRF, SSRF, UNSIGNED_NUMBER, AVR32_V1),
86411 + SYNTAX_NORMAL_C2(ST_B1, ST_B, ST_B1, ST_B2, INTREG_POSTINC, INTREG, AVR32_V1),
86412 + SYNTAX_NORMAL_C2(ST_B2, ST_B, ST_B2, ST_B5, INTREG_PREDEC, INTREG, AVR32_V1),
86413 + SYNTAX_NORMAL_C2(ST_B5, ST_B, ST_B5, ST_B3, INTREG_INDEX, INTREG, AVR32_V1),
86414 + SYNTAX_NORMAL_C2(ST_B3, ST_B, ST_B3, ST_B4, INTREG_UDISP, INTREG, AVR32_V1),
86415 + SYNTAX_NORMAL2(ST_B4, ST_B, ST_B4, INTREG_SDISP, INTREG, AVR32_V1),
86416 + SYNTAX_NORMAL_C2(ST_D1, ST_D, ST_D1, ST_D2, INTREG_POSTINC, DWREG, AVR32_V1),
86417 + SYNTAX_NORMAL_C2(ST_D2, ST_D, ST_D2, ST_D3, INTREG_PREDEC, DWREG, AVR32_V1),
86418 + SYNTAX_NORMAL_C2(ST_D3, ST_D, ST_D3, ST_D5, INTREG, DWREG, AVR32_V1),
86419 + SYNTAX_NORMAL_C2(ST_D5, ST_D, ST_D5, ST_D4, INTREG_INDEX, DWREG, AVR32_V1),
86420 + SYNTAX_NORMAL2(ST_D4, ST_D, ST_D4, INTREG_SDISP, DWREG, AVR32_V1),
86421 + SYNTAX_NORMAL_C2(ST_H1, ST_H, ST_H1, ST_H2, INTREG_POSTINC, INTREG, AVR32_V1),
86422 + SYNTAX_NORMAL_C2(ST_H2, ST_H, ST_H2, ST_H5, INTREG_PREDEC, INTREG, AVR32_V1),
86423 + SYNTAX_NORMAL_C2(ST_H5, ST_H, ST_H5, ST_H3, INTREG_INDEX, INTREG, AVR32_V1),
86424 + SYNTAX_NORMAL_C2(ST_H3, ST_H, ST_H3, ST_H4, INTREG_UDISP_H, INTREG, AVR32_V1),
86425 + SYNTAX_NORMAL2(ST_H4, ST_H, ST_H4, INTREG_SDISP, INTREG, AVR32_V1),
86426 + SYNTAX_NORMAL_C2(ST_W1, ST_W, ST_W1, ST_W2, INTREG_POSTINC, INTREG, AVR32_V1),
86427 + SYNTAX_NORMAL_C2(ST_W2, ST_W, ST_W2, ST_W5, INTREG_PREDEC, INTREG, AVR32_V1),
86428 + SYNTAX_NORMAL_C2(ST_W5, ST_W, ST_W5, ST_W3, INTREG_INDEX, INTREG, AVR32_V1),
86429 + SYNTAX_NORMAL_C2(ST_W3, ST_W, ST_W3, ST_W4, INTREG_UDISP_W, INTREG, AVR32_V1),
86430 + SYNTAX_NORMAL2(ST_W4, ST_W, ST_W4, INTREG_SDISP, INTREG, AVR32_V1),
86431 + SYNTAX_NORMAL3(STC_D1, STC_D, STC_D1, CPNO, INTREG_UDISP_W, CPREG_D, AVR32_V1),
86432 + SYNTAX_NORMAL_C3(STC_D2, STC_D, STC_D2, STC_D1, CPNO, INTREG_POSTINC, CPREG_D, AVR32_V1),
86433 + SYNTAX_NORMAL_C3(STC_D3, STC_D, STC_D3, STC_D2, CPNO, INTREG_INDEX, CPREG_D, AVR32_V1),
86434 + SYNTAX_NORMAL3(STC_W1, STC_W, STC_W1, CPNO, INTREG_UDISP_W, CPREG, AVR32_V1),
86435 + SYNTAX_NORMAL_C3(STC_W2, STC_W, STC_W2, STC_W1, CPNO, INTREG_POSTINC, CPREG, AVR32_V1),
86436 + SYNTAX_NORMAL_C3(STC_W3, STC_W, STC_W3, STC_W2, CPNO, INTREG_INDEX, CPREG, AVR32_V1),
86437 + SYNTAX_NORMAL2(STC0_D, STC0_D, STC0_D, INTREG_UDISP_W, CPREG_D, AVR32_V1),
86438 + SYNTAX_NORMAL2(STC0_W, STC0_W, STC0_W, INTREG_UDISP_W, CPREG, AVR32_V1),
86439 + SYNTAX_NORMAL_CM3(STCM_D, STCM_D, STCM_D, STCM_D_PU, CPNO, INTREG, REGLIST_CPD8, AVR32_V1),
86440 + SYNTAX_NORMALM3(STCM_D_PU, STCM_D, STCM_D_PU, CPNO, INTREG_PREDEC, REGLIST_CPD8, AVR32_V1),
86441 + SYNTAX_NORMAL_CM3(STCM_W, STCM_W, STCM_W, STCM_W_PU, CPNO, INTREG, REGLIST_CP8, AVR32_V1),
86442 + SYNTAX_NORMALM3(STCM_W_PU, STCM_W, STCM_W_PU, CPNO, INTREG_PREDEC, REGLIST_CP8, AVR32_V1),
86443 + SYNTAX_NORMAL2(STCOND, STCOND, STCOND, INTREG_SDISP, INTREG, AVR32_V1),
86444 + SYNTAX_NORMAL2(STDSP, STDSP, STDSP, SP_UDISP_W, INTREG, AVR32_V1),
86445 + SYNTAX_NORMAL_C3(STHH_W2, STHH_W, STHH_W2, STHH_W1, INTREG_INDEX, INTREG_HSEL, INTREG_HSEL, AVR32_V1),
86446 + SYNTAX_NORMAL3(STHH_W1, STHH_W, STHH_W1, INTREG_UDISP_W, INTREG_HSEL, INTREG_HSEL, AVR32_V1),
86447 + SYNTAX_NORMAL_CM2(STM, STM, STM, STM_PU, INTREG, REGLIST16, AVR32_V1),
86448 + SYNTAX_NORMALM2(STM_PU, STM, STM_PU, INTREG_PREDEC, REGLIST16, AVR32_V1),
86449 + SYNTAX_NORMAL_CM2(STMTS, STMTS, STMTS, STMTS_PU, INTREG, REGLIST16, AVR32_V1),
86450 + SYNTAX_NORMALM2(STMTS_PU, STMTS, STMTS_PU, INTREG_PREDEC, REGLIST16, AVR32_V1),
86451 + SYNTAX_NORMAL2(STSWP_H, STSWP_H, STSWP_H, INTREG_SDISP_H, INTREG, AVR32_V1),
86452 + SYNTAX_NORMAL2(STSWP_W, STSWP_W, STSWP_W, INTREG_SDISP_W, INTREG, AVR32_V1),
86453 + SYNTAX_NORMAL_C2(SUB1, SUB, SUB1, SUB2, INTREG, INTREG, AVR32_V1),
86454 + SYNTAX_NORMAL_C3(SUB2, SUB, SUB2, SUB5, INTREG, INTREG, INTREG_LSL, AVR32_V1),
86455 + SYNTAX_NORMAL_C3(SUB5, SUB, SUB5, SUB3_SP, INTREG, INTREG, SIGNED_CONST, AVR32_V1),
86456 + SYNTAX_NORMAL_C2(SUB3_SP, SUB, SUB3_SP, SUB3, SP, SIGNED_CONST_W, AVR32_V1),
86457 + SYNTAX_NORMAL_C2(SUB3, SUB, SUB3, SUB4, INTREG, SIGNED_CONST, AVR32_V1),
86458 + SYNTAX_NORMAL2(SUB4, SUB, SUB4, INTREG, SIGNED_CONST, AVR32_V1),
86459 + SYNTAX_NORMAL2(SUBEQ, SUBEQ, SUBEQ, INTREG, SIGNED_CONST, AVR32_V1),
86460 + SYNTAX_NORMAL2(SUBNE, SUBNE, SUBNE, INTREG, SIGNED_CONST, AVR32_V1),
86461 + SYNTAX_NORMAL2(SUBCC, SUBCC, SUBCC, INTREG, SIGNED_CONST, AVR32_V1),
86462 + SYNTAX_NORMAL2(SUBCS, SUBCS, SUBCS, INTREG, SIGNED_CONST, AVR32_V1),
86463 + SYNTAX_NORMAL2(SUBGE, SUBGE, SUBGE, INTREG, SIGNED_CONST, AVR32_V1),
86464 + SYNTAX_NORMAL2(SUBLT, SUBLT, SUBLT, INTREG, SIGNED_CONST, AVR32_V1),
86465 + SYNTAX_NORMAL2(SUBMI, SUBMI, SUBMI, INTREG, SIGNED_CONST, AVR32_V1),
86466 + SYNTAX_NORMAL2(SUBPL, SUBPL, SUBPL, INTREG, SIGNED_CONST, AVR32_V1),
86467 + SYNTAX_NORMAL2(SUBLS, SUBLS, SUBLS, INTREG, SIGNED_CONST, AVR32_V1),
86468 + SYNTAX_NORMAL2(SUBGT, SUBGT, SUBGT, INTREG, SIGNED_CONST, AVR32_V1),
86469 + SYNTAX_NORMAL2(SUBLE, SUBLE, SUBLE, INTREG, SIGNED_CONST, AVR32_V1),
86470 + SYNTAX_NORMAL2(SUBHI, SUBHI, SUBHI, INTREG, SIGNED_CONST, AVR32_V1),
86471 + SYNTAX_NORMAL2(SUBVS, SUBVS, SUBVS, INTREG, SIGNED_CONST, AVR32_V1),
86472 + SYNTAX_NORMAL2(SUBVC, SUBVC, SUBVC, INTREG, SIGNED_CONST, AVR32_V1),
86473 + SYNTAX_NORMAL2(SUBQS, SUBQS, SUBQS, INTREG, SIGNED_CONST, AVR32_V1),
86474 + SYNTAX_NORMAL2(SUBAL, SUBAL, SUBAL, INTREG, SIGNED_CONST, AVR32_V1),
86475 + SYNTAX_NORMAL2(SUBHS, SUBHS, SUBCC, INTREG, SIGNED_CONST, AVR32_V1),
86476 + SYNTAX_NORMAL2(SUBLO, SUBLO, SUBCS, INTREG, SIGNED_CONST, AVR32_V1),
86477 + SYNTAX_NORMAL2(SUBFEQ, SUBFEQ, SUBFEQ, INTREG, SIGNED_CONST, AVR32_V1),
86478 + SYNTAX_NORMAL2(SUBFNE, SUBFNE, SUBFNE, INTREG, SIGNED_CONST, AVR32_V1),
86479 + SYNTAX_NORMAL2(SUBFCC, SUBFCC, SUBFCC, INTREG, SIGNED_CONST, AVR32_V1),
86480 + SYNTAX_NORMAL2(SUBFCS, SUBFCS, SUBFCS, INTREG, SIGNED_CONST, AVR32_V1),
86481 + SYNTAX_NORMAL2(SUBFGE, SUBFGE, SUBFGE, INTREG, SIGNED_CONST, AVR32_V1),
86482 + SYNTAX_NORMAL2(SUBFLT, SUBFLT, SUBFLT, INTREG, SIGNED_CONST, AVR32_V1),
86483 + SYNTAX_NORMAL2(SUBFMI, SUBFMI, SUBFMI, INTREG, SIGNED_CONST, AVR32_V1),
86484 + SYNTAX_NORMAL2(SUBFPL, SUBFPL, SUBFPL, INTREG, SIGNED_CONST, AVR32_V1),
86485 + SYNTAX_NORMAL2(SUBFLS, SUBFLS, SUBFLS, INTREG, SIGNED_CONST, AVR32_V1),
86486 + SYNTAX_NORMAL2(SUBFGT, SUBFGT, SUBFGT, INTREG, SIGNED_CONST, AVR32_V1),
86487 + SYNTAX_NORMAL2(SUBFLE, SUBFLE, SUBFLE, INTREG, SIGNED_CONST, AVR32_V1),
86488 + SYNTAX_NORMAL2(SUBFHI, SUBFHI, SUBFHI, INTREG, SIGNED_CONST, AVR32_V1),
86489 + SYNTAX_NORMAL2(SUBFVS, SUBFVS, SUBFVS, INTREG, SIGNED_CONST, AVR32_V1),
86490 + SYNTAX_NORMAL2(SUBFVC, SUBFVC, SUBFVC, INTREG, SIGNED_CONST, AVR32_V1),
86491 + SYNTAX_NORMAL2(SUBFQS, SUBFQS, SUBFQS, INTREG, SIGNED_CONST, AVR32_V1),
86492 + SYNTAX_NORMAL2(SUBFAL, SUBFAL, SUBFAL, INTREG, SIGNED_CONST, AVR32_V1),
86493 + SYNTAX_NORMAL2(SUBFHS, SUBFHS, SUBFCC, INTREG, SIGNED_CONST, AVR32_V1),
86494 + SYNTAX_NORMAL2(SUBFLO, SUBFLO, SUBFCS, INTREG, SIGNED_CONST, AVR32_V1),
86495 + SYNTAX_NORMAL3(SUBHH_W, SUBHH_W, SUBHH_W, INTREG, INTREG_HSEL, INTREG_HSEL, AVR32_DSP),
86496 + SYNTAX_NORMAL1(SWAP_B, SWAP_B, SWAP_B, INTREG, AVR32_V1),
86497 + SYNTAX_NORMAL1(SWAP_BH, SWAP_BH, SWAP_BH, INTREG, AVR32_V1),
86498 + SYNTAX_NORMAL1(SWAP_H, SWAP_H, SWAP_H, INTREG, AVR32_V1),
86499 + SYNTAX_NORMAL1(SYNC, SYNC, SYNC, UNSIGNED_CONST, AVR32_V1),
86500 + SYNTAX_NORMAL0(TLBR, TLBR, TLBR, AVR32_V1),
86501 + SYNTAX_NORMAL0(TLBS, TLBS, TLBS, AVR32_V1),
86502 + SYNTAX_NORMAL0(TLBW, TLBW, TLBW, AVR32_V1),
86503 + SYNTAX_NORMAL1(TNBZ, TNBZ, TNBZ, INTREG, AVR32_V1),
86504 + SYNTAX_NORMAL2(TST, TST, TST, INTREG, INTREG, AVR32_V1),
86505 + SYNTAX_NORMAL3(XCHG, XCHG, XCHG, INTREG, INTREG, INTREG, AVR32_V1),
86506 + SYNTAX_NORMAL2(MEMC, MEMC, MEMC, SIGNED_CONST_W, UNSIGNED_NUMBER, AVR32_RMW),
86507 + SYNTAX_NORMAL2(MEMS, MEMS, MEMS, SIGNED_CONST_W, UNSIGNED_NUMBER, AVR32_RMW),
86508 + SYNTAX_NORMAL2(MEMT, MEMT, MEMT, SIGNED_CONST_W, UNSIGNED_NUMBER, AVR32_RMW),
86509 + SYNTAX_FP(FADD, 3),
86510 + SYNTAX_FP(FSUB, 3),
86511 + SYNTAX_FP(FMAC, 3),
86512 + SYNTAX_FP(FNMAC, 3),
86513 + SYNTAX_FP(FMSC, 3),
86514 + SYNTAX_FP(FNMSC, 3),
86515 + SYNTAX_FP(FMUL, 3),
86516 + SYNTAX_FP(FNMUL, 3),
86517 + SYNTAX_FP(FNEG, 2),
86518 + SYNTAX_FP(FABS, 2),
86519 + SYNTAX_FP(FCMP, 2),
86520 + {
86521 + AVR32_SYNTAX_FMOV1_S,
86522 + AVR32_FP, NULL, AVR32_PARSER_ALIAS,
86523 + { .alias = &avr32_alias_table[AVR32_ALIAS_FMOV1_S] },
86524 + &avr32_syntax_table[AVR32_SYNTAX_FMOV2_S],
86525 + 2,
86526 + {
86527 + AVR32_OPERAND_FPREG_S,
86528 + AVR32_OPERAND_FPREG_S,
86529 + },
86530 + },
86531 + {
86532 + AVR32_SYNTAX_FMOV1_D,
86533 + AVR32_FP, NULL, AVR32_PARSER_ALIAS,
86534 + { .alias = &avr32_alias_table[AVR32_ALIAS_FMOV1_D] },
86535 + &avr32_syntax_table[AVR32_SYNTAX_FMOV2_D],
86536 + 2,
86537 + {
86538 + AVR32_OPERAND_FPREG_D,
86539 + AVR32_OPERAND_FPREG_D,
86540 + },
86541 + },
86542 + {
86543 + AVR32_SYNTAX_FMOV2_S,
86544 + AVR32_FP, NULL, AVR32_PARSER_ALIAS,
86545 + { .alias = &avr32_alias_table[AVR32_ALIAS_FMOV2_S] },
86546 + &avr32_syntax_table[AVR32_SYNTAX_FMOV3_S],
86547 + 2,
86548 + {
86549 + AVR32_OPERAND_INTREG,
86550 + AVR32_OPERAND_FPREG_S,
86551 + },
86552 + },
86553 + {
86554 + AVR32_SYNTAX_FMOV2_D,
86555 + AVR32_FP, NULL, AVR32_PARSER_ALIAS,
86556 + { .alias = &avr32_alias_table[AVR32_ALIAS_FMOV2_D] },
86557 + &avr32_syntax_table[AVR32_SYNTAX_FMOV3_D],
86558 + 2,
86559 + {
86560 + AVR32_OPERAND_DWREG,
86561 + AVR32_OPERAND_FPREG_D,
86562 + },
86563 + },
86564 + {
86565 + AVR32_SYNTAX_FMOV3_S,
86566 + AVR32_FP, NULL, AVR32_PARSER_ALIAS,
86567 + { .alias = &avr32_alias_table[AVR32_ALIAS_FMOV3_S] }, NULL,
86568 + 2,
86569 + {
86570 + AVR32_OPERAND_FPREG_S,
86571 + AVR32_OPERAND_INTREG,
86572 + },
86573 + },
86574 + {
86575 + AVR32_SYNTAX_FMOV3_D,
86576 + AVR32_FP, NULL, AVR32_PARSER_ALIAS,
86577 + { .alias = &avr32_alias_table[AVR32_ALIAS_FMOV3_D] }, NULL,
86578 + 2,
86579 + {
86580 + AVR32_OPERAND_FPREG_D,
86581 + AVR32_OPERAND_DWREG,
86582 + },
86583 + },
86584 + {
86585 + AVR32_SYNTAX_FCASTS_D,
86586 + AVR32_FP, NULL, AVR32_PARSER_ALIAS,
86587 + { .alias = &avr32_alias_table[AVR32_ALIAS_FCASTS_D] }, NULL,
86588 + 2,
86589 + {
86590 + AVR32_OPERAND_FPREG_S,
86591 + AVR32_OPERAND_FPREG_D,
86592 + },
86593 + },
86594 + {
86595 + AVR32_SYNTAX_FCASTD_S,
86596 + AVR32_FP, NULL, AVR32_PARSER_ALIAS,
86597 + { .alias = &avr32_alias_table[AVR32_ALIAS_FCASTD_S] }, NULL,
86598 + 2,
86599 + {
86600 + AVR32_OPERAND_FPREG_D,
86601 + AVR32_OPERAND_FPREG_S,
86602 + },
86603 + },
86604 + {
86605 + AVR32_SYNTAX_LDA_W,
86606 + AVR32_V1, NULL, AVR32_PARSER_LDA,
86607 + { NULL }, NULL,
86608 + 2,
86609 + {
86610 + AVR32_OPERAND_INTREG,
86611 + AVR32_OPERAND_SIGNED_CONST,
86612 + },
86613 + },
86614 + {
86615 + AVR32_SYNTAX_CALL,
86616 + AVR32_V1, NULL, AVR32_PARSER_CALL,
86617 + { NULL }, NULL,
86618 + 1,
86619 + {
86620 + AVR32_OPERAND_JMPLABEL,
86621 + },
86622 + },
86623 + {
86624 + AVR32_SYNTAX_PICOSVMAC0,
86625 + AVR32_PICO, &avr32_mnemonic_table[AVR32_MNEMONIC_PICOSVMAC], AVR32_PARSER_ALIAS,
86626 + { .alias = &avr32_alias_table[AVR32_ALIAS_PICOSVMAC0] },
86627 + &avr32_syntax_table[AVR32_SYNTAX_PICOSVMAC1], 4,
86628 + {
86629 + AVR32_OPERAND_PICO_OUT0,
86630 + AVR32_OPERAND_PICO_IN,
86631 + AVR32_OPERAND_PICO_IN,
86632 + AVR32_OPERAND_PICO_IN,
86633 + },
86634 + },
86635 + {
86636 + AVR32_SYNTAX_PICOSVMAC1,
86637 + AVR32_PICO, &avr32_mnemonic_table[AVR32_MNEMONIC_PICOSVMAC], AVR32_PARSER_ALIAS,
86638 + { .alias = &avr32_alias_table[AVR32_ALIAS_PICOSVMAC1] },
86639 + &avr32_syntax_table[AVR32_SYNTAX_PICOSVMAC2], 4,
86640 + {
86641 + AVR32_OPERAND_PICO_OUT1,
86642 + AVR32_OPERAND_PICO_IN,
86643 + AVR32_OPERAND_PICO_IN,
86644 + AVR32_OPERAND_PICO_IN,
86645 + },
86646 + },
86647 + {
86648 + AVR32_SYNTAX_PICOSVMAC2,
86649 + AVR32_PICO, &avr32_mnemonic_table[AVR32_MNEMONIC_PICOSVMAC], AVR32_PARSER_ALIAS,
86650 + { .alias = &avr32_alias_table[AVR32_ALIAS_PICOSVMAC2] },
86651 + &avr32_syntax_table[AVR32_SYNTAX_PICOSVMAC3], 4,
86652 + {
86653 + AVR32_OPERAND_PICO_OUT2,
86654 + AVR32_OPERAND_PICO_IN,
86655 + AVR32_OPERAND_PICO_IN,
86656 + AVR32_OPERAND_PICO_IN,
86657 + },
86658 + },
86659 + {
86660 + AVR32_SYNTAX_PICOSVMAC3,
86661 + AVR32_PICO, &avr32_mnemonic_table[AVR32_MNEMONIC_PICOSVMAC], AVR32_PARSER_ALIAS,
86662 + { .alias = &avr32_alias_table[AVR32_ALIAS_PICOSVMAC3] },
86663 + NULL, 4,
86664 + {
86665 + AVR32_OPERAND_PICO_OUT3,
86666 + AVR32_OPERAND_PICO_IN,
86667 + AVR32_OPERAND_PICO_IN,
86668 + AVR32_OPERAND_PICO_IN,
86669 + },
86670 + },
86671 + {
86672 + AVR32_SYNTAX_PICOSVMUL0,
86673 + AVR32_PICO, &avr32_mnemonic_table[AVR32_MNEMONIC_PICOSVMUL], AVR32_PARSER_ALIAS,
86674 + { .alias = &avr32_alias_table[AVR32_ALIAS_PICOSVMUL0] },
86675 + &avr32_syntax_table[AVR32_SYNTAX_PICOSVMUL1], 4,
86676 + {
86677 + AVR32_OPERAND_PICO_OUT0,
86678 + AVR32_OPERAND_PICO_IN,
86679 + AVR32_OPERAND_PICO_IN,
86680 + AVR32_OPERAND_PICO_IN,
86681 + },
86682 + },
86683 + {
86684 + AVR32_SYNTAX_PICOSVMUL1,
86685 + AVR32_PICO, &avr32_mnemonic_table[AVR32_MNEMONIC_PICOSVMUL], AVR32_PARSER_ALIAS,
86686 + { .alias = &avr32_alias_table[AVR32_ALIAS_PICOSVMUL1] },
86687 + &avr32_syntax_table[AVR32_SYNTAX_PICOSVMUL2], 4,
86688 + {
86689 + AVR32_OPERAND_PICO_OUT1,
86690 + AVR32_OPERAND_PICO_IN,
86691 + AVR32_OPERAND_PICO_IN,
86692 + AVR32_OPERAND_PICO_IN,
86693 + },
86694 + },
86695 + {
86696 + AVR32_SYNTAX_PICOSVMUL2,
86697 + AVR32_PICO, &avr32_mnemonic_table[AVR32_MNEMONIC_PICOSVMUL], AVR32_PARSER_ALIAS,
86698 + { .alias = &avr32_alias_table[AVR32_ALIAS_PICOSVMUL2] },
86699 + &avr32_syntax_table[AVR32_SYNTAX_PICOSVMUL3], 4,
86700 + {
86701 + AVR32_OPERAND_PICO_OUT2,
86702 + AVR32_OPERAND_PICO_IN,
86703 + AVR32_OPERAND_PICO_IN,
86704 + AVR32_OPERAND_PICO_IN,
86705 + },
86706 + },
86707 + {
86708 + AVR32_SYNTAX_PICOSVMUL3,
86709 + AVR32_PICO, &avr32_mnemonic_table[AVR32_MNEMONIC_PICOSVMUL], AVR32_PARSER_ALIAS,
86710 + { .alias = &avr32_alias_table[AVR32_ALIAS_PICOSVMUL3] },
86711 + NULL, 4,
86712 + {
86713 + AVR32_OPERAND_PICO_OUT3,
86714 + AVR32_OPERAND_PICO_IN,
86715 + AVR32_OPERAND_PICO_IN,
86716 + AVR32_OPERAND_PICO_IN,
86717 + },
86718 + },
86719 + {
86720 + AVR32_SYNTAX_PICOVMAC0,
86721 + AVR32_PICO, &avr32_mnemonic_table[AVR32_MNEMONIC_PICOVMAC], AVR32_PARSER_ALIAS,
86722 + { .alias = &avr32_alias_table[AVR32_ALIAS_PICOVMAC0] },
86723 + &avr32_syntax_table[AVR32_SYNTAX_PICOVMAC1], 4,
86724 + {
86725 + AVR32_OPERAND_PICO_OUT0,
86726 + AVR32_OPERAND_PICO_IN,
86727 + AVR32_OPERAND_PICO_IN,
86728 + AVR32_OPERAND_PICO_IN,
86729 + },
86730 + },
86731 + {
86732 + AVR32_SYNTAX_PICOVMAC1,
86733 + AVR32_PICO, &avr32_mnemonic_table[AVR32_MNEMONIC_PICOVMAC], AVR32_PARSER_ALIAS,
86734 + { .alias = &avr32_alias_table[AVR32_ALIAS_PICOVMAC1] },
86735 + &avr32_syntax_table[AVR32_SYNTAX_PICOVMAC2], 4,
86736 + {
86737 + AVR32_OPERAND_PICO_OUT1,
86738 + AVR32_OPERAND_PICO_IN,
86739 + AVR32_OPERAND_PICO_IN,
86740 + AVR32_OPERAND_PICO_IN,
86741 + },
86742 + },
86743 + {
86744 + AVR32_SYNTAX_PICOVMAC2,
86745 + AVR32_PICO, &avr32_mnemonic_table[AVR32_MNEMONIC_PICOVMAC], AVR32_PARSER_ALIAS,
86746 + { .alias = &avr32_alias_table[AVR32_ALIAS_PICOVMAC2] },
86747 + &avr32_syntax_table[AVR32_SYNTAX_PICOVMAC3], 4,
86748 + {
86749 + AVR32_OPERAND_PICO_OUT2,
86750 + AVR32_OPERAND_PICO_IN,
86751 + AVR32_OPERAND_PICO_IN,
86752 + AVR32_OPERAND_PICO_IN,
86753 + },
86754 + },
86755 + {
86756 + AVR32_SYNTAX_PICOVMAC3,
86757 + AVR32_PICO, &avr32_mnemonic_table[AVR32_MNEMONIC_PICOVMAC], AVR32_PARSER_ALIAS,
86758 + { .alias = &avr32_alias_table[AVR32_ALIAS_PICOVMAC3] },
86759 + NULL, 4,
86760 + {
86761 + AVR32_OPERAND_PICO_OUT3,
86762 + AVR32_OPERAND_PICO_IN,
86763 + AVR32_OPERAND_PICO_IN,
86764 + AVR32_OPERAND_PICO_IN,
86765 + },
86766 + },
86767 + {
86768 + AVR32_SYNTAX_PICOVMUL0,
86769 + AVR32_PICO, &avr32_mnemonic_table[AVR32_MNEMONIC_PICOVMUL], AVR32_PARSER_ALIAS,
86770 + { .alias = &avr32_alias_table[AVR32_ALIAS_PICOVMUL0] },
86771 + &avr32_syntax_table[AVR32_SYNTAX_PICOVMUL1], 4,
86772 + {
86773 + AVR32_OPERAND_PICO_OUT0,
86774 + AVR32_OPERAND_PICO_IN,
86775 + AVR32_OPERAND_PICO_IN,
86776 + AVR32_OPERAND_PICO_IN,
86777 + },
86778 + },
86779 + {
86780 + AVR32_SYNTAX_PICOVMUL1,
86781 + AVR32_PICO, &avr32_mnemonic_table[AVR32_MNEMONIC_PICOVMUL], AVR32_PARSER_ALIAS,
86782 + { .alias = &avr32_alias_table[AVR32_ALIAS_PICOVMUL1] },
86783 + &avr32_syntax_table[AVR32_SYNTAX_PICOVMUL2], 4,
86784 + {
86785 + AVR32_OPERAND_PICO_OUT1,
86786 + AVR32_OPERAND_PICO_IN,
86787 + AVR32_OPERAND_PICO_IN,
86788 + AVR32_OPERAND_PICO_IN,
86789 + },
86790 + },
86791 + {
86792 + AVR32_SYNTAX_PICOVMUL2,
86793 + AVR32_PICO, &avr32_mnemonic_table[AVR32_MNEMONIC_PICOVMUL], AVR32_PARSER_ALIAS,
86794 + { .alias = &avr32_alias_table[AVR32_ALIAS_PICOVMUL2] },
86795 + &avr32_syntax_table[AVR32_SYNTAX_PICOVMUL3], 4,
86796 + {
86797 + AVR32_OPERAND_PICO_OUT2,
86798 + AVR32_OPERAND_PICO_IN,
86799 + AVR32_OPERAND_PICO_IN,
86800 + AVR32_OPERAND_PICO_IN,
86801 + },
86802 + },
86803 + {
86804 + AVR32_SYNTAX_PICOVMUL3,
86805 + AVR32_PICO, &avr32_mnemonic_table[AVR32_MNEMONIC_PICOVMUL], AVR32_PARSER_ALIAS,
86806 + { .alias = &avr32_alias_table[AVR32_ALIAS_PICOVMUL3] },
86807 + NULL, 4,
86808 + {
86809 + AVR32_OPERAND_PICO_OUT3,
86810 + AVR32_OPERAND_PICO_IN,
86811 + AVR32_OPERAND_PICO_IN,
86812 + AVR32_OPERAND_PICO_IN,
86813 + },
86814 + },
86815 + {
86816 + AVR32_SYNTAX_PICOLD_D2,
86817 + AVR32_PICO, &avr32_mnemonic_table[AVR32_MNEMONIC_PICOLD_D], AVR32_PARSER_ALIAS,
86818 + { .alias = &avr32_alias_table[AVR32_ALIAS_PICOLD_D2] },
86819 + &avr32_syntax_table[AVR32_SYNTAX_PICOLD_D3], 2,
86820 + {
86821 + AVR32_OPERAND_PICO_REG_D,
86822 + AVR32_OPERAND_INTREG_PREDEC,
86823 + },
86824 + },
86825 + {
86826 + AVR32_SYNTAX_PICOLD_D3,
86827 + AVR32_PICO, &avr32_mnemonic_table[AVR32_MNEMONIC_PICOLD_D], AVR32_PARSER_ALIAS,
86828 + { .alias = &avr32_alias_table[AVR32_ALIAS_PICOLD_D3] },
86829 + &avr32_syntax_table[AVR32_SYNTAX_PICOLD_D1], 2,
86830 + {
86831 + AVR32_OPERAND_PICO_REG_D,
86832 + AVR32_OPERAND_INTREG_INDEX,
86833 + },
86834 + },
86835 + {
86836 + AVR32_SYNTAX_PICOLD_D1,
86837 + AVR32_PICO, &avr32_mnemonic_table[AVR32_MNEMONIC_PICOLD_D], AVR32_PARSER_ALIAS,
86838 + { .alias = &avr32_alias_table[AVR32_ALIAS_PICOLD_D1] },
86839 + NULL, 2,
86840 + {
86841 + AVR32_OPERAND_PICO_REG_D,
86842 + AVR32_OPERAND_INTREG_UDISP_W,
86843 + },
86844 + },
86845 + {
86846 + AVR32_SYNTAX_PICOLD_W2,
86847 + AVR32_PICO, &avr32_mnemonic_table[AVR32_MNEMONIC_PICOLD_W], AVR32_PARSER_ALIAS,
86848 + { .alias = &avr32_alias_table[AVR32_ALIAS_PICOLD_W2] },
86849 + &avr32_syntax_table[AVR32_SYNTAX_PICOLD_W3], 2,
86850 + {
86851 + AVR32_OPERAND_PICO_REG_W,
86852 + AVR32_OPERAND_INTREG_PREDEC,
86853 + },
86854 + },
86855 + {
86856 + AVR32_SYNTAX_PICOLD_W3,
86857 + AVR32_PICO, &avr32_mnemonic_table[AVR32_MNEMONIC_PICOLD_W], AVR32_PARSER_ALIAS,
86858 + { .alias = &avr32_alias_table[AVR32_ALIAS_PICOLD_W3] },
86859 + &avr32_syntax_table[AVR32_SYNTAX_PICOLD_W1], 2,
86860 + {
86861 + AVR32_OPERAND_PICO_REG_W,
86862 + AVR32_OPERAND_INTREG_INDEX,
86863 + },
86864 + },
86865 + {
86866 + AVR32_SYNTAX_PICOLD_W1,
86867 + AVR32_PICO, &avr32_mnemonic_table[AVR32_MNEMONIC_PICOLD_W], AVR32_PARSER_ALIAS,
86868 + { .alias = &avr32_alias_table[AVR32_ALIAS_PICOLD_W1] },
86869 + NULL, 2,
86870 + {
86871 + AVR32_OPERAND_PICO_REG_W,
86872 + AVR32_OPERAND_INTREG_UDISP_W,
86873 + },
86874 + },
86875 + {
86876 + AVR32_SYNTAX_PICOLDM_D,
86877 + AVR32_PICO, &avr32_mnemonic_table[AVR32_MNEMONIC_PICOLDM_D], AVR32_PARSER_ALIAS,
86878 + { .alias = &avr32_alias_table[AVR32_ALIAS_PICOLDM_D] },
86879 + &avr32_syntax_table[AVR32_SYNTAX_PICOLDM_D_PU], -2,
86880 + {
86881 + AVR32_OPERAND_INTREG,
86882 + AVR32_OPERAND_PICO_REGLIST_D,
86883 + },
86884 + },
86885 + {
86886 + AVR32_SYNTAX_PICOLDM_D_PU,
86887 + AVR32_PICO, &avr32_mnemonic_table[AVR32_MNEMONIC_PICOLDM_D], AVR32_PARSER_ALIAS,
86888 + { .alias = &avr32_alias_table[AVR32_ALIAS_PICOLDM_D_PU] },
86889 + NULL, -2,
86890 + {
86891 + AVR32_OPERAND_INTREG_POSTINC,
86892 + AVR32_OPERAND_PICO_REGLIST_D,
86893 + },
86894 + },
86895 + {
86896 + AVR32_SYNTAX_PICOLDM_W,
86897 + AVR32_PICO, &avr32_mnemonic_table[AVR32_MNEMONIC_PICOLDM_W], AVR32_PARSER_ALIAS,
86898 + { .alias = &avr32_alias_table[AVR32_ALIAS_PICOLDM_W] },
86899 + &avr32_syntax_table[AVR32_SYNTAX_PICOLDM_W_PU], -2,
86900 + {
86901 + AVR32_OPERAND_INTREG,
86902 + AVR32_OPERAND_PICO_REGLIST_W,
86903 + },
86904 + },
86905 + {
86906 + AVR32_SYNTAX_PICOLDM_W_PU,
86907 + AVR32_PICO, &avr32_mnemonic_table[AVR32_MNEMONIC_PICOLDM_W], AVR32_PARSER_ALIAS,
86908 + { .alias = &avr32_alias_table[AVR32_ALIAS_PICOLDM_W_PU] },
86909 + NULL, -2,
86910 + {
86911 + AVR32_OPERAND_INTREG_POSTINC,
86912 + AVR32_OPERAND_PICO_REGLIST_W,
86913 + },
86914 + },
86915 + {
86916 + AVR32_SYNTAX_PICOMV_D1,
86917 + AVR32_PICO, &avr32_mnemonic_table[AVR32_MNEMONIC_PICOMV_D], AVR32_PARSER_ALIAS,
86918 + { .alias = &avr32_alias_table[AVR32_ALIAS_PICOMV_D1] },
86919 + &avr32_syntax_table[AVR32_SYNTAX_PICOMV_D2], 2,
86920 + {
86921 + AVR32_OPERAND_DWREG,
86922 + AVR32_OPERAND_PICO_REG_D,
86923 + },
86924 + },
86925 + {
86926 + AVR32_SYNTAX_PICOMV_D2,
86927 + AVR32_PICO, &avr32_mnemonic_table[AVR32_MNEMONIC_PICOMV_D], AVR32_PARSER_ALIAS,
86928 + { .alias = &avr32_alias_table[AVR32_ALIAS_PICOMV_D2] },
86929 + NULL, 2,
86930 + {
86931 + AVR32_OPERAND_PICO_REG_D,
86932 + AVR32_OPERAND_DWREG,
86933 + },
86934 + },
86935 + {
86936 + AVR32_SYNTAX_PICOMV_W1,
86937 + AVR32_PICO, &avr32_mnemonic_table[AVR32_MNEMONIC_PICOMV_W], AVR32_PARSER_ALIAS,
86938 + { .alias = &avr32_alias_table[AVR32_ALIAS_PICOMV_W1] },
86939 + &avr32_syntax_table[AVR32_SYNTAX_PICOMV_W2], 2,
86940 + {
86941 + AVR32_OPERAND_INTREG,
86942 + AVR32_OPERAND_PICO_REG_W,
86943 + },
86944 + },
86945 + {
86946 + AVR32_SYNTAX_PICOMV_W2,
86947 + AVR32_PICO, &avr32_mnemonic_table[AVR32_MNEMONIC_PICOMV_W], AVR32_PARSER_ALIAS,
86948 + { .alias = &avr32_alias_table[AVR32_ALIAS_PICOMV_W2] },
86949 + NULL, 2,
86950 + {
86951 + AVR32_OPERAND_PICO_REG_W,
86952 + AVR32_OPERAND_INTREG,
86953 + },
86954 + },
86955 + {
86956 + AVR32_SYNTAX_PICOST_D2,
86957 + AVR32_PICO, &avr32_mnemonic_table[AVR32_MNEMONIC_PICOST_D], AVR32_PARSER_ALIAS,
86958 + { .alias = &avr32_alias_table[AVR32_ALIAS_PICOST_D2] },
86959 + &avr32_syntax_table[AVR32_SYNTAX_PICOST_D3], 2,
86960 + {
86961 + AVR32_OPERAND_INTREG_POSTINC,
86962 + AVR32_OPERAND_PICO_REG_D,
86963 + },
86964 + },
86965 + {
86966 + AVR32_SYNTAX_PICOST_D3,
86967 + AVR32_PICO, &avr32_mnemonic_table[AVR32_MNEMONIC_PICOST_D], AVR32_PARSER_ALIAS,
86968 + { .alias = &avr32_alias_table[AVR32_ALIAS_PICOST_D3] },
86969 + &avr32_syntax_table[AVR32_SYNTAX_PICOST_D1], 2,
86970 + {
86971 + AVR32_OPERAND_INTREG_INDEX,
86972 + AVR32_OPERAND_PICO_REG_D,
86973 + },
86974 + },
86975 + {
86976 + AVR32_SYNTAX_PICOST_D1,
86977 + AVR32_PICO, &avr32_mnemonic_table[AVR32_MNEMONIC_PICOST_D], AVR32_PARSER_ALIAS,
86978 + { .alias = &avr32_alias_table[AVR32_ALIAS_PICOST_D1] },
86979 + NULL, 2,
86980 + {
86981 + AVR32_OPERAND_INTREG_UDISP_W,
86982 + AVR32_OPERAND_PICO_REG_D,
86983 + },
86984 + },
86985 + {
86986 + AVR32_SYNTAX_PICOST_W2,
86987 + AVR32_PICO, &avr32_mnemonic_table[AVR32_MNEMONIC_PICOST_W], AVR32_PARSER_ALIAS,
86988 + { .alias = &avr32_alias_table[AVR32_ALIAS_PICOST_W2] },
86989 + &avr32_syntax_table[AVR32_SYNTAX_PICOST_W3], 2,
86990 + {
86991 + AVR32_OPERAND_INTREG_POSTINC,
86992 + AVR32_OPERAND_PICO_REG_W,
86993 + },
86994 + },
86995 + {
86996 + AVR32_SYNTAX_PICOST_W3,
86997 + AVR32_PICO, &avr32_mnemonic_table[AVR32_MNEMONIC_PICOST_W], AVR32_PARSER_ALIAS,
86998 + { .alias = &avr32_alias_table[AVR32_ALIAS_PICOST_W3] },
86999 + &avr32_syntax_table[AVR32_SYNTAX_PICOST_W1], 2,
87000 + {
87001 + AVR32_OPERAND_INTREG_INDEX,
87002 + AVR32_OPERAND_PICO_REG_W,
87003 + },
87004 + },
87005 + {
87006 + AVR32_SYNTAX_PICOST_W1,
87007 + AVR32_PICO, &avr32_mnemonic_table[AVR32_MNEMONIC_PICOST_W], AVR32_PARSER_ALIAS,
87008 + { .alias = &avr32_alias_table[AVR32_ALIAS_PICOST_W1] },
87009 + NULL, 2,
87010 + {
87011 + AVR32_OPERAND_INTREG_UDISP_W,
87012 + AVR32_OPERAND_PICO_REG_W,
87013 + },
87014 + },
87015 + {
87016 + AVR32_SYNTAX_PICOSTM_D,
87017 + AVR32_PICO, &avr32_mnemonic_table[AVR32_MNEMONIC_PICOSTM_D], AVR32_PARSER_ALIAS,
87018 + { .alias = &avr32_alias_table[AVR32_ALIAS_PICOSTM_D] },
87019 + &avr32_syntax_table[AVR32_SYNTAX_PICOSTM_D_PU], -2,
87020 + {
87021 + AVR32_OPERAND_INTREG,
87022 + AVR32_OPERAND_PICO_REGLIST_D,
87023 + },
87024 + },
87025 + {
87026 + AVR32_SYNTAX_PICOSTM_D_PU,
87027 + AVR32_PICO, &avr32_mnemonic_table[AVR32_MNEMONIC_PICOSTM_D], AVR32_PARSER_ALIAS,
87028 + { .alias = &avr32_alias_table[AVR32_ALIAS_PICOSTM_D_PU] },
87029 + NULL, -2,
87030 + {
87031 + AVR32_OPERAND_INTREG_PREDEC,
87032 + AVR32_OPERAND_PICO_REGLIST_D,
87033 + },
87034 + },
87035 + {
87036 + AVR32_SYNTAX_PICOSTM_W,
87037 + AVR32_PICO, &avr32_mnemonic_table[AVR32_MNEMONIC_PICOSTM_W], AVR32_PARSER_ALIAS,
87038 + { .alias = &avr32_alias_table[AVR32_ALIAS_PICOSTM_W] },
87039 + &avr32_syntax_table[AVR32_SYNTAX_PICOSTM_W_PU], -2,
87040 + {
87041 + AVR32_OPERAND_INTREG,
87042 + AVR32_OPERAND_PICO_REGLIST_W,
87043 + },
87044 + },
87045 + {
87046 + AVR32_SYNTAX_PICOSTM_W_PU,
87047 + AVR32_PICO, &avr32_mnemonic_table[AVR32_MNEMONIC_PICOSTM_W], AVR32_PARSER_ALIAS,
87048 + { .alias = &avr32_alias_table[AVR32_ALIAS_PICOSTM_W_PU] },
87049 + NULL, -2,
87050 + {
87051 + AVR32_OPERAND_INTREG_PREDEC,
87052 + AVR32_OPERAND_PICO_REGLIST_W,
87053 + },
87054 + },
87055 + };
87056 +
87057 +#define NORMAL_MNEMONIC(name, syntax, str) \
87058 + { \
87059 + AVR32_MNEMONIC_##name, str, \
87060 + &avr32_syntax_table[AVR32_SYNTAX_##syntax], \
87061 + }
87062 +#define FP_MNEMONIC(name, syntax, str) \
87063 + NORMAL_MNEMONIC(name##_S, syntax##_S, str ".s"), \
87064 + NORMAL_MNEMONIC(name##_D, syntax##_D, str ".d")
87065 +
87066 +const struct avr32_mnemonic avr32_mnemonic_table[] =
87067 + {
87068 + NORMAL_MNEMONIC(ABS, ABS, "abs"),
87069 + NORMAL_MNEMONIC(ACALL, ACALL, "acall"),
87070 + NORMAL_MNEMONIC(ACR, ACR, "acr"),
87071 + NORMAL_MNEMONIC(ADC, ADC, "adc"),
87072 + NORMAL_MNEMONIC(ADD, ADD1, "add"),
87073 + NORMAL_MNEMONIC(ADDABS, ADDABS, "addabs"),
87074 + NORMAL_MNEMONIC(ADDHH_W, ADDHH_W, "addhh.w"),
87075 + NORMAL_MNEMONIC(AND, AND1, "and"),
87076 + NORMAL_MNEMONIC(ANDH, ANDH, "andh"),
87077 + NORMAL_MNEMONIC(ANDL, ANDL, "andl"),
87078 + NORMAL_MNEMONIC(ANDN, ANDN, "andn"),
87079 + NORMAL_MNEMONIC(ASR, ASR1, "asr"),
87080 + NORMAL_MNEMONIC(BFEXTS, BFEXTS, "bfexts"),
87081 + NORMAL_MNEMONIC(BFEXTU, BFEXTU, "bfextu"),
87082 + NORMAL_MNEMONIC(BFINS, BFINS, "bfins"),
87083 + NORMAL_MNEMONIC(BLD, BLD, "bld"),
87084 + NORMAL_MNEMONIC(BREQ, BREQ1, "breq"),
87085 + NORMAL_MNEMONIC(BRNE, BRNE1, "brne"),
87086 + NORMAL_MNEMONIC(BRCC, BRCC1, "brcc"),
87087 + NORMAL_MNEMONIC(BRCS, BRCS1, "brcs"),
87088 + NORMAL_MNEMONIC(BRGE, BRGE1, "brge"),
87089 + NORMAL_MNEMONIC(BRLT, BRLT1, "brlt"),
87090 + NORMAL_MNEMONIC(BRMI, BRMI1, "brmi"),
87091 + NORMAL_MNEMONIC(BRPL, BRPL1, "brpl"),
87092 + NORMAL_MNEMONIC(BRHS, BRHS1, "brhs"),
87093 + NORMAL_MNEMONIC(BRLO, BRLO1, "brlo"),
87094 + NORMAL_MNEMONIC(BRLS, BRLS, "brls"),
87095 + NORMAL_MNEMONIC(BRGT, BRGT, "brgt"),
87096 + NORMAL_MNEMONIC(BRLE, BRLE, "brle"),
87097 + NORMAL_MNEMONIC(BRHI, BRHI, "brhi"),
87098 + NORMAL_MNEMONIC(BRVS, BRVS, "brvs"),
87099 + NORMAL_MNEMONIC(BRVC, BRVC, "brvc"),
87100 + NORMAL_MNEMONIC(BRQS, BRQS, "brqs"),
87101 + NORMAL_MNEMONIC(BRAL, BRAL, "bral"),
87102 + NORMAL_MNEMONIC(BREAKPOINT, BREAKPOINT, "breakpoint"),
87103 + NORMAL_MNEMONIC(BREV, BREV, "brev"),
87104 + NORMAL_MNEMONIC(BST, BST, "bst"),
87105 + NORMAL_MNEMONIC(CACHE, CACHE, "cache"),
87106 + NORMAL_MNEMONIC(CASTS_B, CASTS_B, "casts.b"),
87107 + NORMAL_MNEMONIC(CASTS_H, CASTS_H, "casts.h"),
87108 + NORMAL_MNEMONIC(CASTU_B, CASTU_B, "castu.b"),
87109 + NORMAL_MNEMONIC(CASTU_H, CASTU_H, "castu.h"),
87110 + NORMAL_MNEMONIC(CBR, CBR, "cbr"),
87111 + NORMAL_MNEMONIC(CLZ, CLZ, "clz"),
87112 + NORMAL_MNEMONIC(COM, COM, "com"),
87113 + NORMAL_MNEMONIC(COP, COP, "cop"),
87114 + NORMAL_MNEMONIC(CP_B, CP_B, "cp.b"),
87115 + NORMAL_MNEMONIC(CP_H, CP_H, "cp.h"),
87116 + NORMAL_MNEMONIC(CP_W, CP_W1, "cp.w"),
87117 + NORMAL_MNEMONIC(CP, CP_W1, "cp"),
87118 + NORMAL_MNEMONIC(CPC, CPC1, "cpc"),
87119 + NORMAL_MNEMONIC(CSRF, CSRF, "csrf"),
87120 + NORMAL_MNEMONIC(CSRFCZ, CSRFCZ, "csrfcz"),
87121 + NORMAL_MNEMONIC(DIVS, DIVS, "divs"),
87122 + NORMAL_MNEMONIC(DIVU, DIVU, "divu"),
87123 + NORMAL_MNEMONIC(EOR, EOR1, "eor"),
87124 + NORMAL_MNEMONIC(EORL, EORL, "eorl"),
87125 + NORMAL_MNEMONIC(EORH, EORH, "eorh"),
87126 + NORMAL_MNEMONIC(FRS, FRS, "frs"),
87127 + NORMAL_MNEMONIC(ICALL, ICALL, "icall"),
87128 + NORMAL_MNEMONIC(INCJOSP, INCJOSP, "incjosp"),
87129 + NORMAL_MNEMONIC(LD_D, LD_D1, "ld.d"),
87130 + NORMAL_MNEMONIC(LD_SB, LD_SB2, "ld.sb"),
87131 + NORMAL_MNEMONIC(LD_UB, LD_UB1, "ld.ub"),
87132 + NORMAL_MNEMONIC(LD_SH, LD_SH1, "ld.sh"),
87133 + NORMAL_MNEMONIC(LD_UH, LD_UH1, "ld.uh"),
87134 + NORMAL_MNEMONIC(LD_W, LD_W1, "ld.w"),
87135 + NORMAL_MNEMONIC(LDC_D, LDC_D3, "ldc.d"),
87136 + NORMAL_MNEMONIC(LDC_W, LDC_W3, "ldc.w"),
87137 + NORMAL_MNEMONIC(LDC0_D, LDC0_D, "ldc0.d"),
87138 + NORMAL_MNEMONIC(LDC0_W, LDC0_W, "ldc0.w"),
87139 + NORMAL_MNEMONIC(LDCM_D, LDCM_D, "ldcm.d"),
87140 + NORMAL_MNEMONIC(LDCM_W, LDCM_W, "ldcm.w"),
87141 + NORMAL_MNEMONIC(LDDPC, LDDPC, "lddpc"),
87142 + NORMAL_MNEMONIC(LDDSP, LDDSP, "lddsp"),
87143 + NORMAL_MNEMONIC(LDINS_B, LDINS_B, "ldins.b"),
87144 + NORMAL_MNEMONIC(LDINS_H, LDINS_H, "ldins.h"),
87145 + NORMAL_MNEMONIC(LDM, LDM, "ldm"),
87146 + NORMAL_MNEMONIC(LDMTS, LDMTS, "ldmts"),
87147 + NORMAL_MNEMONIC(LDSWP_SH, LDSWP_SH, "ldswp.sh"),
87148 + NORMAL_MNEMONIC(LDSWP_UH, LDSWP_UH, "ldswp.uh"),
87149 + NORMAL_MNEMONIC(LDSWP_W, LDSWP_W, "ldswp.w"),
87150 + NORMAL_MNEMONIC(LSL, LSL1, "lsl"),
87151 + NORMAL_MNEMONIC(LSR, LSR1, "lsr"),
87152 + NORMAL_MNEMONIC(MAC, MAC, "mac"),
87153 + NORMAL_MNEMONIC(MACHH_D, MACHH_D, "machh.d"),
87154 + NORMAL_MNEMONIC(MACHH_W, MACHH_W, "machh.w"),
87155 + NORMAL_MNEMONIC(MACS_D, MACS_D, "macs.d"),
87156 + NORMAL_MNEMONIC(MACSATHH_W, MACSATHH_W, "macsathh.w"),
87157 + NORMAL_MNEMONIC(MACU_D, MACUD, "macu.d"),
87158 + NORMAL_MNEMONIC(MACWH_D, MACWH_D, "macwh.d"),
87159 + NORMAL_MNEMONIC(MAX, MAX, "max"),
87160 + NORMAL_MNEMONIC(MCALL, MCALL, "mcall"),
87161 + NORMAL_MNEMONIC(MFDR, MFDR, "mfdr"),
87162 + NORMAL_MNEMONIC(MFSR, MFSR, "mfsr"),
87163 + NORMAL_MNEMONIC(MIN, MIN, "min"),
87164 + NORMAL_MNEMONIC(MOV, MOV3, "mov"),
87165 + NORMAL_MNEMONIC(MOVEQ, MOVEQ1, "moveq"),
87166 + NORMAL_MNEMONIC(MOVNE, MOVNE1, "movne"),
87167 + NORMAL_MNEMONIC(MOVCC, MOVCC1, "movcc"),
87168 + NORMAL_MNEMONIC(MOVCS, MOVCS1, "movcs"),
87169 + NORMAL_MNEMONIC(MOVGE, MOVGE1, "movge"),
87170 + NORMAL_MNEMONIC(MOVLT, MOVLT1, "movlt"),
87171 + NORMAL_MNEMONIC(MOVMI, MOVMI1, "movmi"),
87172 + NORMAL_MNEMONIC(MOVPL, MOVPL1, "movpl"),
87173 + NORMAL_MNEMONIC(MOVLS, MOVLS1, "movls"),
87174 + NORMAL_MNEMONIC(MOVGT, MOVGT1, "movgt"),
87175 + NORMAL_MNEMONIC(MOVLE, MOVLE1, "movle"),
87176 + NORMAL_MNEMONIC(MOVHI, MOVHI1, "movhi"),
87177 + NORMAL_MNEMONIC(MOVVS, MOVVS1, "movvs"),
87178 + NORMAL_MNEMONIC(MOVVC, MOVVC1, "movvc"),
87179 + NORMAL_MNEMONIC(MOVQS, MOVQS1, "movqs"),
87180 + NORMAL_MNEMONIC(MOVAL, MOVAL1, "moval"),
87181 + NORMAL_MNEMONIC(MOVHS, MOVHS1, "movhs"),
87182 + NORMAL_MNEMONIC(MOVLO, MOVLO1, "movlo"),
87183 + NORMAL_MNEMONIC(MTDR, MTDR, "mtdr"),
87184 + NORMAL_MNEMONIC(MTSR, MTSR, "mtsr"),
87185 + NORMAL_MNEMONIC(MUL, MUL1, "mul"),
87186 + NORMAL_MNEMONIC(MULHH_W, MULHH_W, "mulhh.w"),
87187 + NORMAL_MNEMONIC(MULNHH_W, MULNHH_W, "mulnhh.w"),
87188 + NORMAL_MNEMONIC(MULNWH_D, MULNWH_D, "mulnwh.d"),
87189 + NORMAL_MNEMONIC(MULS_D, MULSD, "muls.d"),
87190 + NORMAL_MNEMONIC(MULSATHH_H, MULSATHH_H, "mulsathh.h"),
87191 + NORMAL_MNEMONIC(MULSATHH_W, MULSATHH_W, "mulsathh.w"),
87192 + NORMAL_MNEMONIC(MULSATRNDHH_H, MULSATRNDHH_H, "mulsatrndhh.h"),
87193 + NORMAL_MNEMONIC(MULSATRNDWH_W, MULSATRNDWH_W, "mulsatrndwh.w"),
87194 + NORMAL_MNEMONIC(MULSATWH_W, MULSATWH_W, "mulsatwh.w"),
87195 + NORMAL_MNEMONIC(MULU_D, MULU_D, "mulu.d"),
87196 + NORMAL_MNEMONIC(MULWH_D, MULWH_D, "mulwh.d"),
87197 + NORMAL_MNEMONIC(MUSFR, MUSFR, "musfr"),
87198 + NORMAL_MNEMONIC(MUSTR, MUSTR, "mustr"),
87199 + NORMAL_MNEMONIC(MVCR_D, MVCR_D, "mvcr.d"),
87200 + NORMAL_MNEMONIC(MVCR_W, MVCR_W, "mvcr.w"),
87201 + NORMAL_MNEMONIC(MVRC_D, MVRC_D, "mvrc.d"),
87202 + NORMAL_MNEMONIC(MVRC_W, MVRC_W, "mvrc.w"),
87203 + NORMAL_MNEMONIC(NEG, NEG, "neg"),
87204 + NORMAL_MNEMONIC(NOP, NOP, "nop"),
87205 + NORMAL_MNEMONIC(OR, OR1, "or"),
87206 + NORMAL_MNEMONIC(ORH, ORH, "orh"),
87207 + NORMAL_MNEMONIC(ORL, ORL, "orl"),
87208 + NORMAL_MNEMONIC(PABS_SB, PABS_SB, "pabs.sb"),
87209 + NORMAL_MNEMONIC(PABS_SH, PABS_SH, "pabs.sh"),
87210 + NORMAL_MNEMONIC(PACKSH_SB, PACKSH_SB, "packsh.sb"),
87211 + NORMAL_MNEMONIC(PACKSH_UB, PACKSH_UB, "packsh.ub"),
87212 + NORMAL_MNEMONIC(PACKW_SH, PACKW_SH, "packw.sh"),
87213 + NORMAL_MNEMONIC(PADD_B, PADD_B, "padd.b"),
87214 + NORMAL_MNEMONIC(PADD_H, PADD_H, "padd.h"),
87215 + NORMAL_MNEMONIC(PADDH_SH, PADDH_SH, "paddh.sh"),
87216 + NORMAL_MNEMONIC(PADDH_UB, PADDH_UB, "paddh.ub"),
87217 + NORMAL_MNEMONIC(PADDS_SB, PADDS_SB, "padds.sb"),
87218 + NORMAL_MNEMONIC(PADDS_SH, PADDS_SH, "padds.sh"),
87219 + NORMAL_MNEMONIC(PADDS_UB, PADDS_UB, "padds.ub"),
87220 + NORMAL_MNEMONIC(PADDS_UH, PADDS_UH, "padds.uh"),
87221 + NORMAL_MNEMONIC(PADDSUB_H, PADDSUB_H, "paddsub.h"),
87222 + NORMAL_MNEMONIC(PADDSUBH_SH, PADDSUBH_SH, "paddsubh.sh"),
87223 + NORMAL_MNEMONIC(PADDSUBS_SH, PADDSUBS_SH, "paddsubs.sh"),
87224 + NORMAL_MNEMONIC(PADDSUBS_UH, PADDSUBS_UH, "paddsubs.uh"),
87225 + NORMAL_MNEMONIC(PADDX_H, PADDX_H, "paddx.h"),
87226 + NORMAL_MNEMONIC(PADDXH_SH, PADDXH_SH, "paddxh.sh"),
87227 + NORMAL_MNEMONIC(PADDXS_SH, PADDXS_SH, "paddxs.sh"),
87228 + NORMAL_MNEMONIC(PADDXS_UH, PADDXS_UH, "paddxs.uh"),
87229 + NORMAL_MNEMONIC(PASR_B, PASR_B, "pasr.b"),
87230 + NORMAL_MNEMONIC(PASR_H, PASR_H, "pasr.h"),
87231 + NORMAL_MNEMONIC(PAVG_SH, PAVG_SH, "pavg.sh"),
87232 + NORMAL_MNEMONIC(PAVG_UB, PAVG_UB, "pavg.ub"),
87233 + NORMAL_MNEMONIC(PLSL_B, PLSL_B, "plsl.b"),
87234 + NORMAL_MNEMONIC(PLSL_H, PLSL_H, "plsl.h"),
87235 + NORMAL_MNEMONIC(PLSR_B, PLSR_B, "plsr.b"),
87236 + NORMAL_MNEMONIC(PLSR_H, PLSR_H, "plsr.h"),
87237 + NORMAL_MNEMONIC(PMAX_SH, PMAX_SH, "pmax.sh"),
87238 + NORMAL_MNEMONIC(PMAX_UB, PMAX_UB, "pmax.ub"),
87239 + NORMAL_MNEMONIC(PMIN_SH, PMIN_SH, "pmin.sh"),
87240 + NORMAL_MNEMONIC(PMIN_UB, PMIN_UB, "pmin.ub"),
87241 + NORMAL_MNEMONIC(POPJC, POPJC, "popjc"),
87242 + NORMAL_MNEMONIC(POPM, POPM, "popm"),
87243 + NORMAL_MNEMONIC(PREF, PREF, "pref"),
87244 + NORMAL_MNEMONIC(PSAD, PSAD, "psad"),
87245 + NORMAL_MNEMONIC(PSUB_B, PSUB_B, "psub.b"),
87246 + NORMAL_MNEMONIC(PSUB_H, PSUB_H, "psub.h"),
87247 + NORMAL_MNEMONIC(PSUBADD_H, PSUBADD_H, "psubadd.h"),
87248 + NORMAL_MNEMONIC(PSUBADDH_SH, PSUBADDH_SH, "psubaddh.sh"),
87249 + NORMAL_MNEMONIC(PSUBADDS_SH, PSUBADDS_SH, "psubadds.sh"),
87250 + NORMAL_MNEMONIC(PSUBADDS_UH, PSUBADDS_UH, "psubadds.uh"),
87251 + NORMAL_MNEMONIC(PSUBH_SH, PSUBH_SH, "psubh.sh"),
87252 + NORMAL_MNEMONIC(PSUBH_UB, PSUBH_UB, "psubh.ub"),
87253 + NORMAL_MNEMONIC(PSUBS_SB, PSUBS_SB, "psubs.sb"),
87254 + NORMAL_MNEMONIC(PSUBS_SH, PSUBS_SH, "psubs.sh"),
87255 + NORMAL_MNEMONIC(PSUBS_UB, PSUBS_UB, "psubs.ub"),
87256 + NORMAL_MNEMONIC(PSUBS_UH, PSUBS_UH, "psubs.uh"),
87257 + NORMAL_MNEMONIC(PSUBX_H, PSUBX_H, "psubx.h"),
87258 + NORMAL_MNEMONIC(PSUBXH_SH, PSUBXH_SH, "psubxh.sh"),
87259 + NORMAL_MNEMONIC(PSUBXS_SH, PSUBXS_SH, "psubxs.sh"),
87260 + NORMAL_MNEMONIC(PSUBXS_UH, PSUBXS_UH, "psubxs.uh"),
87261 + NORMAL_MNEMONIC(PUNPCKSB_H, PUNPCKSB_H, "punpcksb.h"),
87262 + NORMAL_MNEMONIC(PUNPCKUB_H, PUNPCKUB_H, "punpckub.h"),
87263 + NORMAL_MNEMONIC(PUSHJC, PUSHJC, "pushjc"),
87264 + NORMAL_MNEMONIC(PUSHM, PUSHM, "pushm"),
87265 + NORMAL_MNEMONIC(RCALL, RCALL1, "rcall"),
87266 + NORMAL_MNEMONIC(RETEQ, RETEQ, "reteq"),
87267 + NORMAL_MNEMONIC(RETNE, RETNE, "retne"),
87268 + NORMAL_MNEMONIC(RETCC, RETCC, "retcc"),
87269 + NORMAL_MNEMONIC(RETCS, RETCS, "retcs"),
87270 + NORMAL_MNEMONIC(RETGE, RETGE, "retge"),
87271 + NORMAL_MNEMONIC(RETLT, RETLT, "retlt"),
87272 + NORMAL_MNEMONIC(RETMI, RETMI, "retmi"),
87273 + NORMAL_MNEMONIC(RETPL, RETPL, "retpl"),
87274 + NORMAL_MNEMONIC(RETLS, RETLS, "retls"),
87275 + NORMAL_MNEMONIC(RETGT, RETGT, "retgt"),
87276 + NORMAL_MNEMONIC(RETLE, RETLE, "retle"),
87277 + NORMAL_MNEMONIC(RETHI, RETHI, "rethi"),
87278 + NORMAL_MNEMONIC(RETVS, RETVS, "retvs"),
87279 + NORMAL_MNEMONIC(RETVC, RETVC, "retvc"),
87280 + NORMAL_MNEMONIC(RETQS, RETQS, "retqs"),
87281 + NORMAL_MNEMONIC(RETAL, RETAL, "retal"),
87282 + NORMAL_MNEMONIC(RETHS, RETHS, "reths"),
87283 + NORMAL_MNEMONIC(RETLO, RETLO, "retlo"),
87284 + NORMAL_MNEMONIC(RET, RETAL, "ret"),
87285 + NORMAL_MNEMONIC(RETD, RETD, "retd"),
87286 + NORMAL_MNEMONIC(RETE, RETE, "rete"),
87287 + NORMAL_MNEMONIC(RETJ, RETJ, "retj"),
87288 + NORMAL_MNEMONIC(RETS, RETS, "rets"),
87289 + NORMAL_MNEMONIC(RJMP, RJMP, "rjmp"),
87290 + NORMAL_MNEMONIC(ROL, ROL, "rol"),
87291 + NORMAL_MNEMONIC(ROR, ROR, "ror"),
87292 + NORMAL_MNEMONIC(RSUB, RSUB1, "rsub"),
87293 + NORMAL_MNEMONIC(SATADD_H, SATADD_H, "satadd.h"),
87294 + NORMAL_MNEMONIC(SATADD_W, SATADD_W, "satadd.w"),
87295 + NORMAL_MNEMONIC(SATRNDS, SATRNDS, "satrnds"),
87296 + NORMAL_MNEMONIC(SATRNDU, SATRNDU, "satrndu"),
87297 + NORMAL_MNEMONIC(SATS, SATS, "sats"),
87298 + NORMAL_MNEMONIC(SATSUB_H, SATSUB_H, "satsub.h"),
87299 + NORMAL_MNEMONIC(SATSUB_W, SATSUB_W1, "satsub.w"),
87300 + NORMAL_MNEMONIC(SATU, SATU, "satu"),
87301 + NORMAL_MNEMONIC(SBC, SBC, "sbc"),
87302 + NORMAL_MNEMONIC(SBR, SBR, "sbr"),
87303 + NORMAL_MNEMONIC(SCALL, SCALL, "scall"),
87304 + NORMAL_MNEMONIC(SCR, SCR, "scr"),
87305 + NORMAL_MNEMONIC(SLEEP, SLEEP, "sleep"),
87306 + NORMAL_MNEMONIC(SREQ, SREQ, "sreq"),
87307 + NORMAL_MNEMONIC(SRNE, SRNE, "srne"),
87308 + NORMAL_MNEMONIC(SRCC, SRCC, "srcc"),
87309 + NORMAL_MNEMONIC(SRCS, SRCS, "srcs"),
87310 + NORMAL_MNEMONIC(SRGE, SRGE, "srge"),
87311 + NORMAL_MNEMONIC(SRLT, SRLT, "srlt"),
87312 + NORMAL_MNEMONIC(SRMI, SRMI, "srmi"),
87313 + NORMAL_MNEMONIC(SRPL, SRPL, "srpl"),
87314 + NORMAL_MNEMONIC(SRLS, SRLS, "srls"),
87315 + NORMAL_MNEMONIC(SRGT, SRGT, "srgt"),
87316 + NORMAL_MNEMONIC(SRLE, SRLE, "srle"),
87317 + NORMAL_MNEMONIC(SRHI, SRHI, "srhi"),
87318 + NORMAL_MNEMONIC(SRVS, SRVS, "srvs"),
87319 + NORMAL_MNEMONIC(SRVC, SRVC, "srvc"),
87320 + NORMAL_MNEMONIC(SRQS, SRQS, "srqs"),
87321 + NORMAL_MNEMONIC(SRAL, SRAL, "sral"),
87322 + NORMAL_MNEMONIC(SRHS, SRHS, "srhs"),
87323 + NORMAL_MNEMONIC(SRLO, SRLO, "srlo"),
87324 + NORMAL_MNEMONIC(SSRF, SSRF, "ssrf"),
87325 + NORMAL_MNEMONIC(ST_B, ST_B1, "st.b"),
87326 + NORMAL_MNEMONIC(ST_D, ST_D1, "st.d"),
87327 + NORMAL_MNEMONIC(ST_H, ST_H1, "st.h"),
87328 + NORMAL_MNEMONIC(ST_W, ST_W1, "st.w"),
87329 + NORMAL_MNEMONIC(STC_D, STC_D3, "stc.d"),
87330 + NORMAL_MNEMONIC(STC_W, STC_W3, "stc.w"),
87331 + NORMAL_MNEMONIC(STC0_D, STC0_D, "stc0.d"),
87332 + NORMAL_MNEMONIC(STC0_W, STC0_W, "stc0.w"),
87333 + NORMAL_MNEMONIC(STCM_D, STCM_D, "stcm.d"),
87334 + NORMAL_MNEMONIC(STCM_W, STCM_W, "stcm.w"),
87335 + NORMAL_MNEMONIC(STCOND, STCOND, "stcond"),
87336 + NORMAL_MNEMONIC(STDSP, STDSP, "stdsp"),
87337 + NORMAL_MNEMONIC(STHH_W, STHH_W2, "sthh.w"),
87338 + NORMAL_MNEMONIC(STM, STM, "stm"),
87339 + NORMAL_MNEMONIC(STMTS, STMTS, "stmts"),
87340 + NORMAL_MNEMONIC(STSWP_H, STSWP_H, "stswp.h"),
87341 + NORMAL_MNEMONIC(STSWP_W, STSWP_W, "stswp.w"),
87342 + NORMAL_MNEMONIC(SUB, SUB1, "sub"),
87343 + NORMAL_MNEMONIC(SUBEQ, SUBEQ, "subeq"),
87344 + NORMAL_MNEMONIC(SUBNE, SUBNE, "subne"),
87345 + NORMAL_MNEMONIC(SUBCC, SUBCC, "subcc"),
87346 + NORMAL_MNEMONIC(SUBCS, SUBCS, "subcs"),
87347 + NORMAL_MNEMONIC(SUBGE, SUBGE, "subge"),
87348 + NORMAL_MNEMONIC(SUBLT, SUBLT, "sublt"),
87349 + NORMAL_MNEMONIC(SUBMI, SUBMI, "submi"),
87350 + NORMAL_MNEMONIC(SUBPL, SUBPL, "subpl"),
87351 + NORMAL_MNEMONIC(SUBLS, SUBLS, "subls"),
87352 + NORMAL_MNEMONIC(SUBGT, SUBGT, "subgt"),
87353 + NORMAL_MNEMONIC(SUBLE, SUBLE, "suble"),
87354 + NORMAL_MNEMONIC(SUBHI, SUBHI, "subhi"),
87355 + NORMAL_MNEMONIC(SUBVS, SUBVS, "subvs"),
87356 + NORMAL_MNEMONIC(SUBVC, SUBVC, "subvc"),
87357 + NORMAL_MNEMONIC(SUBQS, SUBQS, "subqs"),
87358 + NORMAL_MNEMONIC(SUBAL, SUBAL, "subal"),
87359 + NORMAL_MNEMONIC(SUBHS, SUBHS, "subhs"),
87360 + NORMAL_MNEMONIC(SUBLO, SUBLO, "sublo"),
87361 + NORMAL_MNEMONIC(SUBFEQ, SUBFEQ, "subfeq"),
87362 + NORMAL_MNEMONIC(SUBFNE, SUBFNE, "subfne"),
87363 + NORMAL_MNEMONIC(SUBFCC, SUBFCC, "subfcc"),
87364 + NORMAL_MNEMONIC(SUBFCS, SUBFCS, "subfcs"),
87365 + NORMAL_MNEMONIC(SUBFGE, SUBFGE, "subfge"),
87366 + NORMAL_MNEMONIC(SUBFLT, SUBFLT, "subflt"),
87367 + NORMAL_MNEMONIC(SUBFMI, SUBFMI, "subfmi"),
87368 + NORMAL_MNEMONIC(SUBFPL, SUBFPL, "subfpl"),
87369 + NORMAL_MNEMONIC(SUBFLS, SUBFLS, "subfls"),
87370 + NORMAL_MNEMONIC(SUBFGT, SUBFGT, "subfgt"),
87371 + NORMAL_MNEMONIC(SUBFLE, SUBFLE, "subfle"),
87372 + NORMAL_MNEMONIC(SUBFHI, SUBFHI, "subfhi"),
87373 + NORMAL_MNEMONIC(SUBFVS, SUBFVS, "subfvs"),
87374 + NORMAL_MNEMONIC(SUBFVC, SUBFVC, "subfvc"),
87375 + NORMAL_MNEMONIC(SUBFQS, SUBFQS, "subfqs"),
87376 + NORMAL_MNEMONIC(SUBFAL, SUBFAL, "subfal"),
87377 + NORMAL_MNEMONIC(SUBFHS, SUBFHS, "subfhs"),
87378 + NORMAL_MNEMONIC(SUBFLO, SUBFLO, "subflo"),
87379 + NORMAL_MNEMONIC(SUBHH_W, SUBHH_W, "subhh.w"),
87380 + NORMAL_MNEMONIC(SWAP_B, SWAP_B, "swap.b"),
87381 + NORMAL_MNEMONIC(SWAP_BH, SWAP_BH, "swap.bh"),
87382 + NORMAL_MNEMONIC(SWAP_H, SWAP_H, "swap.h"),
87383 + NORMAL_MNEMONIC(SYNC, SYNC, "sync"),
87384 + NORMAL_MNEMONIC(TLBR, TLBR, "tlbr"),
87385 + NORMAL_MNEMONIC(TLBS, TLBS, "tlbs"),
87386 + NORMAL_MNEMONIC(TLBW, TLBW, "tlbw"),
87387 + NORMAL_MNEMONIC(TNBZ, TNBZ, "tnbz"),
87388 + NORMAL_MNEMONIC(TST, TST, "tst"),
87389 + NORMAL_MNEMONIC(XCHG, XCHG, "xchg"),
87390 + NORMAL_MNEMONIC(MEMC, MEMC, "memc"),
87391 + NORMAL_MNEMONIC(MEMS, MEMS, "mems"),
87392 + NORMAL_MNEMONIC(MEMT, MEMT, "memt"),
87393 + FP_MNEMONIC(FADD, FADD, "fadd"),
87394 + FP_MNEMONIC(FSUB, FSUB, "fsub"),
87395 + FP_MNEMONIC(FMAC, FMAC, "fmac"),
87396 + FP_MNEMONIC(FNMAC, FNMAC, "fnmac"),
87397 + FP_MNEMONIC(FMSC, FMSC, "fmsc"),
87398 + FP_MNEMONIC(FNMSC, FNMSC, "fnmsc"),
87399 + FP_MNEMONIC(FMUL, FMUL, "fmul"),
87400 + FP_MNEMONIC(FNMUL, FNMUL, "fnmul"),
87401 + FP_MNEMONIC(FNEG, FNEG, "fneg"),
87402 + FP_MNEMONIC(FABS, FABS, "fabs"),
87403 + FP_MNEMONIC(FCMP, FCMP, "fcmp"),
87404 + FP_MNEMONIC(FMOV, FMOV1, "fmov"),
87405 + NORMAL_MNEMONIC(FCASTS_D, FCASTS_D, "fcasts.d"),
87406 + NORMAL_MNEMONIC(FCASTD_S, FCASTD_S, "fcastd.s"),
87407 + NORMAL_MNEMONIC(LDA_W, LDA_W, "lda.w"),
87408 + NORMAL_MNEMONIC(CALL, CALL, "call"),
87409 + NORMAL_MNEMONIC(PICOSVMAC, PICOSVMAC0, "picosvmac"),
87410 + NORMAL_MNEMONIC(PICOSVMUL, PICOSVMUL0, "picosvmul"),
87411 + NORMAL_MNEMONIC(PICOVMAC, PICOVMAC0, "picovmac"),
87412 + NORMAL_MNEMONIC(PICOVMUL, PICOVMUL0, "picovmul"),
87413 + NORMAL_MNEMONIC(PICOLD_D, PICOLD_D2, "picold.d"),
87414 + NORMAL_MNEMONIC(PICOLD_W, PICOLD_W2, "picold.w"),
87415 + NORMAL_MNEMONIC(PICOLDM_D, PICOLDM_D, "picoldm.d"),
87416 + NORMAL_MNEMONIC(PICOLDM_W, PICOLDM_W, "picoldm.w"),
87417 + NORMAL_MNEMONIC(PICOMV_D, PICOMV_D1, "picomv.d"),
87418 + NORMAL_MNEMONIC(PICOMV_W, PICOMV_W1, "picomv.w"),
87419 + NORMAL_MNEMONIC(PICOST_D, PICOST_D2, "picost.d"),
87420 + NORMAL_MNEMONIC(PICOST_W, PICOST_W2, "picost.w"),
87421 + NORMAL_MNEMONIC(PICOSTM_D, PICOSTM_D, "picostm.d"),
87422 + NORMAL_MNEMONIC(PICOSTM_W, PICOSTM_W, "picostm.w"),
87423 + };
87424 +#undef NORMAL_MNEMONIC
87425 +#undef ALIAS_MNEMONIC
87426 +#undef FP_MNEMONIC
87427 Index: binutils-2.17/opcodes/avr32-opc.h
87428 ===================================================================
87429 --- /dev/null 1970-01-01 00:00:00.000000000 +0000
87430 +++ binutils-2.17/opcodes/avr32-opc.h 2007-06-28 09:19:36.679660296 +0200
87431 @@ -0,0 +1,1655 @@
87432 +/* Opcode tables for AVR32.
87433 + Copyright 2005, 2006 Atmel Corporation.
87434 +
87435 + Written by Haavard Skinnemoen, Atmel Norway, <hskinnemoen@atmel.com>
87436 +
87437 + This file is part of libopcodes.
87438 +
87439 + This program is free software; you can redistribute it and/or
87440 + modify it under the terms of the GNU General Public License as
87441 + published by the Free Software Foundation; either version 2 of the
87442 + License, or (at your option) any later version.
87443 +
87444 + This program is distributed in the hope that it will be useful, but
87445 + WITHOUT ANY WARRANTY; without even the implied warranty of
87446 + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
87447 + General Public License for more details.
87448 +
87449 + You should have received a copy of the GNU General Public License
87450 + along with this program; if not, write to the Free Software
87451 + Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
87452 + 02111-1307, USA. */
87453 +
87454 +#include "bfd.h"
87455 +
87456 +#define AVR32_MAX_OPERANDS 8
87457 +#define AVR32_MAX_FIELDS 8
87458 +
87459 +#define AVR32_V1 (1 << 1)
87460 +#define AVR32_SIMD (1 << 2)
87461 +#define AVR32_DSP (1 << 3)
87462 +#define AVR32_RMW (1 << 4)
87463 +#define AVR32_FP (1 << 16)
87464 +#define AVR32_PICO (1 << 17)
87465 +
87466 +/* Registers we commonly refer to */
87467 +#define AVR32_REG_R12 12
87468 +#define AVR32_REG_SP 13
87469 +#define AVR32_REG_LR 14
87470 +#define AVR32_REG_PC 15
87471 +
87472 +struct avr32_ifield
87473 +{
87474 + int id;
87475 + unsigned short bitsize;
87476 + unsigned short shift;
87477 + unsigned long mask;
87478 +
87479 + /* If the value doesn't fit, it will be truncated with no warning */
87480 + void (*insert)(const struct avr32_ifield *, void *, unsigned long);
87481 + void (*extract)(const struct avr32_ifield *, void *, unsigned long *);
87482 +};
87483 +
87484 +struct avr32_opcode
87485 +{
87486 + int id;
87487 + int size;
87488 + unsigned long value;
87489 + unsigned long mask;
87490 + const struct avr32_syntax *syntax;
87491 + bfd_reloc_code_real_type reloc_type;
87492 + unsigned int nr_fields;
87493 + /* if relaxable, which field is variable, otherwise -1 */
87494 + int var_field;
87495 + const struct avr32_ifield *fields[AVR32_MAX_FIELDS];
87496 +};
87497 +
87498 +struct avr32_alias
87499 +{
87500 + int id;
87501 + const struct avr32_opcode *opc;
87502 + struct {
87503 + int is_opindex;
87504 + unsigned long value;
87505 + } operand_map[AVR32_MAX_OPERANDS];
87506 +};
87507 +
87508 +struct avr32_syntax
87509 +{
87510 + int id;
87511 + unsigned long isa_flags;
87512 + const struct avr32_mnemonic *mnemonic;
87513 + int type;
87514 + union {
87515 + const struct avr32_opcode *opc;
87516 + const struct avr32_alias *alias;
87517 + } u;
87518 + const struct avr32_syntax *next;
87519 + /* negative means "vararg" */
87520 + int nr_operands;
87521 + int operand[AVR32_MAX_OPERANDS];
87522 +};
87523 +
87524 +#if 0
87525 +#define AVR32_ALIAS_MAKE_CONST(val) ((val) | 0x80000000UL)
87526 +#define AVR32_ALIAS_IS_CONST(mapval) (((mapval) & 0x80000000UL) != 0)
87527 +#define AVR32_ALIAS_GET_CONST(mapval) ((mapval) & ~0x80000000UL)
87528 +#endif
87529 +
87530 +struct avr32_mnemonic
87531 +{
87532 + int id;
87533 + const char *name;
87534 + const struct avr32_syntax *syntax;
87535 +};
87536 +
87537 +extern const struct avr32_ifield avr32_ifield_table[];
87538 +extern struct avr32_opcode avr32_opc_table[];
87539 +extern const struct avr32_syntax avr32_syntax_table[];
87540 +extern const struct avr32_alias avr32_alias_table[];
87541 +extern const struct avr32_mnemonic avr32_mnemonic_table[];
87542 +
87543 +extern void avr32_insert_simple(const struct avr32_ifield *field,
87544 + void *buf, unsigned long value);
87545 +extern void avr32_insert_bit5c(const struct avr32_ifield *field,
87546 + void *buf, unsigned long value);
87547 +extern void avr32_insert_k10(const struct avr32_ifield *field,
87548 + void *buf, unsigned long value);
87549 +extern void avr32_insert_k21(const struct avr32_ifield *field,
87550 + void *buf, unsigned long value);
87551 +extern void avr32_insert_cpop(const struct avr32_ifield *field,
87552 + void *buf, unsigned long value);
87553 +extern void avr32_insert_k12cp(const struct avr32_ifield *field,
87554 + void *buf, unsigned long value);
87555 +
87556 +extern void avr32_extract_simple(const struct avr32_ifield *field,
87557 + void *buf, unsigned long *value);
87558 +extern void avr32_extract_bit5c(const struct avr32_ifield *field,
87559 + void *buf, unsigned long *value);
87560 +extern void avr32_extract_k10(const struct avr32_ifield *field,
87561 + void *buf, unsigned long *value);
87562 +extern void avr32_extract_k21(const struct avr32_ifield *field,
87563 + void *buf, unsigned long *value);
87564 +extern void avr32_extract_cpop(const struct avr32_ifield *field,
87565 + void *buf, unsigned long *value);
87566 +extern void avr32_extract_k12cp(const struct avr32_ifield *field,
87567 + void *buf, unsigned long *value);
87568 +
87569 +enum avr32_operand_type
87570 +{
87571 + AVR32_OPERAND_INTREG, /* just a register */
87572 + AVR32_OPERAND_INTREG_PREDEC, /* register with pre-decrement */
87573 + AVR32_OPERAND_INTREG_POSTINC, /* register with post-increment */
87574 + AVR32_OPERAND_INTREG_LSL, /* register with left shift */
87575 + AVR32_OPERAND_INTREG_LSR, /* register with right shift */
87576 + AVR32_OPERAND_INTREG_BSEL, /* register with byte selector */
87577 + AVR32_OPERAND_INTREG_HSEL, /* register with halfword selector */
87578 + AVR32_OPERAND_INTREG_SDISP, /* Rp[signed disp] */
87579 + AVR32_OPERAND_INTREG_SDISP_H, /* Rp[signed hword-aligned disp] */
87580 + AVR32_OPERAND_INTREG_SDISP_W, /* Rp[signed word-aligned disp] */
87581 + AVR32_OPERAND_INTREG_UDISP, /* Rp[unsigned disp] */
87582 + AVR32_OPERAND_INTREG_UDISP_H, /* Rp[unsigned hword-aligned disp] */
87583 + AVR32_OPERAND_INTREG_UDISP_W, /* Rp[unsigned word-aligned disp] */
87584 + AVR32_OPERAND_INTREG_INDEX, /* Rp[Ri << sa] */
87585 + AVR32_OPERAND_INTREG_XINDEX, /* Rp[Ri:bytesel << 2] */
87586 + AVR32_OPERAND_DWREG, /* Even-numbered register */
87587 + AVR32_OPERAND_PC_UDISP_W, /* PC[unsigned word-aligned disp] or label */
87588 + AVR32_OPERAND_SP, /* Just SP */
87589 + AVR32_OPERAND_SP_UDISP_W, /* SP[unsigned word-aligned disp] */
87590 + AVR32_OPERAND_CPNO,
87591 + AVR32_OPERAND_CPREG,
87592 + AVR32_OPERAND_CPREG_D,
87593 + AVR32_OPERAND_UNSIGNED_CONST,
87594 + AVR32_OPERAND_UNSIGNED_CONST_W,
87595 + AVR32_OPERAND_SIGNED_CONST,
87596 + AVR32_OPERAND_SIGNED_CONST_W,
87597 + AVR32_OPERAND_JMPLABEL,
87598 + AVR32_OPERAND_UNSIGNED_NUMBER,
87599 + AVR32_OPERAND_UNSIGNED_NUMBER_W,
87600 + AVR32_OPERAND_REGLIST8,
87601 + AVR32_OPERAND_REGLIST9,
87602 + AVR32_OPERAND_REGLIST16,
87603 + AVR32_OPERAND_REGLIST_LDM,
87604 + AVR32_OPERAND_REGLIST_CP8,
87605 + AVR32_OPERAND_REGLIST_CPD8,
87606 + AVR32_OPERAND_RETVAL,
87607 + AVR32_OPERAND_MCALL,
87608 + AVR32_OPERAND_JOSPINC,
87609 + AVR32_OPERAND_COH,
87610 + AVR32_OPERAND_FPREG_S,
87611 + AVR32_OPERAND_FPREG_D,
87612 + AVR32_OPERAND_PICO_REG_W,
87613 + AVR32_OPERAND_PICO_REG_D,
87614 + AVR32_OPERAND_PICO_REGLIST_W,
87615 + AVR32_OPERAND_PICO_REGLIST_D,
87616 + AVR32_OPERAND_PICO_IN,
87617 + AVR32_OPERAND_PICO_OUT0,
87618 + AVR32_OPERAND_PICO_OUT1,
87619 + AVR32_OPERAND_PICO_OUT2,
87620 + AVR32_OPERAND_PICO_OUT3,
87621 + AVR32_OPERAND__END_
87622 +};
87623 +#define AVR32_OPERAND_UNKNOWN AVR32_OPERAND__END_
87624 +#define AVR32_NR_OPERANDS AVR32_OPERAND__END_
87625 +
87626 +enum avr32_ifield_type
87627 +{
87628 + AVR32_IFIELD_RX,
87629 + AVR32_IFIELD_RY,
87630 + AVR32_IFIELD_COND4C,
87631 + AVR32_IFIELD_K8C,
87632 + AVR32_IFIELD_K7C,
87633 + AVR32_IFIELD_K5C,
87634 + AVR32_IFIELD_K3,
87635 + AVR32_IFIELD_RY_DW,
87636 + AVR32_IFIELD_COND4E,
87637 + AVR32_IFIELD_K8E,
87638 + AVR32_IFIELD_BIT5C,
87639 + AVR32_IFIELD_COND3,
87640 + AVR32_IFIELD_K10,
87641 + AVR32_IFIELD_POPM,
87642 + AVR32_IFIELD_K2,
87643 + AVR32_IFIELD_RD_E,
87644 + AVR32_IFIELD_RD_DW,
87645 + AVR32_IFIELD_X,
87646 + AVR32_IFIELD_Y,
87647 + AVR32_IFIELD_X2,
87648 + AVR32_IFIELD_Y2,
87649 + AVR32_IFIELD_K5E,
87650 + AVR32_IFIELD_PART2,
87651 + AVR32_IFIELD_PART1,
87652 + AVR32_IFIELD_K16,
87653 + AVR32_IFIELD_CACHEOP,
87654 + AVR32_IFIELD_K11,
87655 + AVR32_IFIELD_K21,
87656 + AVR32_IFIELD_CPOP,
87657 + AVR32_IFIELD_CPNO,
87658 + AVR32_IFIELD_CRD_RI,
87659 + AVR32_IFIELD_CRX,
87660 + AVR32_IFIELD_CRY,
87661 + AVR32_IFIELD_K7E,
87662 + AVR32_IFIELD_CRD_DW,
87663 + AVR32_IFIELD_PART1_K12,
87664 + AVR32_IFIELD_PART2_K12,
87665 + AVR32_IFIELD_K12,
87666 + AVR32_IFIELD_S5,
87667 + AVR32_IFIELD_K5E2,
87668 + AVR32_IFIELD_K4,
87669 + AVR32_IFIELD_COND4E2,
87670 + AVR32_IFIELD_K8E2,
87671 + AVR32_IFIELD_K6,
87672 + AVR32_IFIELD_MEM15,
87673 + AVR32_IFIELD_MEMB5,
87674 + AVR32_IFIELD_W,
87675 + AVR32_IFIELD_CM_HL,
87676 + AVR32_IFIELD_K12CP,
87677 + AVR32_IFIELD__END_,
87678 +};
87679 +#define AVR32_NR_IFIELDS AVR32_IFIELD__END_
87680 +
87681 +enum avr32_opc_type
87682 +{
87683 + AVR32_OPC_ABS,
87684 + AVR32_OPC_ACALL,
87685 + AVR32_OPC_ACR,
87686 + AVR32_OPC_ADC,
87687 + AVR32_OPC_ADD1,
87688 + AVR32_OPC_ADD2,
87689 + AVR32_OPC_ADDABS,
87690 + AVR32_OPC_ADDHH_W,
87691 + AVR32_OPC_AND1,
87692 + AVR32_OPC_AND2,
87693 + AVR32_OPC_AND3,
87694 + AVR32_OPC_ANDH,
87695 + AVR32_OPC_ANDH_COH,
87696 + AVR32_OPC_ANDL,
87697 + AVR32_OPC_ANDL_COH,
87698 + AVR32_OPC_ANDN,
87699 + AVR32_OPC_ASR1,
87700 + AVR32_OPC_ASR3,
87701 + AVR32_OPC_ASR2,
87702 + AVR32_OPC_BLD,
87703 + AVR32_OPC_BREQ1,
87704 + AVR32_OPC_BRNE1,
87705 + AVR32_OPC_BRCC1,
87706 + AVR32_OPC_BRCS1,
87707 + AVR32_OPC_BRGE1,
87708 + AVR32_OPC_BRLT1,
87709 + AVR32_OPC_BRMI1,
87710 + AVR32_OPC_BRPL1,
87711 + AVR32_OPC_BREQ2,
87712 + AVR32_OPC_BRNE2,
87713 + AVR32_OPC_BRCC2,
87714 + AVR32_OPC_BRCS2,
87715 + AVR32_OPC_BRGE2,
87716 + AVR32_OPC_BRLT2,
87717 + AVR32_OPC_BRMI2,
87718 + AVR32_OPC_BRPL2,
87719 + AVR32_OPC_BRLS,
87720 + AVR32_OPC_BRGT,
87721 + AVR32_OPC_BRLE,
87722 + AVR32_OPC_BRHI,
87723 + AVR32_OPC_BRVS,
87724 + AVR32_OPC_BRVC,
87725 + AVR32_OPC_BRQS,
87726 + AVR32_OPC_BRAL,
87727 + AVR32_OPC_BREAKPOINT,
87728 + AVR32_OPC_BREV,
87729 + AVR32_OPC_BST,
87730 + AVR32_OPC_CACHE,
87731 + AVR32_OPC_CASTS_B,
87732 + AVR32_OPC_CASTS_H,
87733 + AVR32_OPC_CASTU_B,
87734 + AVR32_OPC_CASTU_H,
87735 + AVR32_OPC_CBR,
87736 + AVR32_OPC_CLZ,
87737 + AVR32_OPC_COM,
87738 + AVR32_OPC_COP,
87739 + AVR32_OPC_CP_B,
87740 + AVR32_OPC_CP_H,
87741 + AVR32_OPC_CP_W1,
87742 + AVR32_OPC_CP_W2,
87743 + AVR32_OPC_CP_W3,
87744 + AVR32_OPC_CPC1,
87745 + AVR32_OPC_CPC2,
87746 + AVR32_OPC_CSRF,
87747 + AVR32_OPC_CSRFCZ,
87748 + AVR32_OPC_DIVS,
87749 + AVR32_OPC_DIVU,
87750 + AVR32_OPC_EOR1,
87751 + AVR32_OPC_EOR2,
87752 + AVR32_OPC_EOR3,
87753 + AVR32_OPC_EORL,
87754 + AVR32_OPC_EORH,
87755 + AVR32_OPC_FRS,
87756 + AVR32_OPC_ICALL,
87757 + AVR32_OPC_INCJOSP,
87758 + AVR32_OPC_LD_D1,
87759 + AVR32_OPC_LD_D2,
87760 + AVR32_OPC_LD_D3,
87761 + AVR32_OPC_LD_D5,
87762 + AVR32_OPC_LD_D4,
87763 + AVR32_OPC_LD_SB2,
87764 + AVR32_OPC_LD_SB1,
87765 + AVR32_OPC_LD_UB1,
87766 + AVR32_OPC_LD_UB2,
87767 + AVR32_OPC_LD_UB5,
87768 + AVR32_OPC_LD_UB3,
87769 + AVR32_OPC_LD_UB4,
87770 + AVR32_OPC_LD_SH1,
87771 + AVR32_OPC_LD_SH2,
87772 + AVR32_OPC_LD_SH5,
87773 + AVR32_OPC_LD_SH3,
87774 + AVR32_OPC_LD_SH4,
87775 + AVR32_OPC_LD_UH1,
87776 + AVR32_OPC_LD_UH2,
87777 + AVR32_OPC_LD_UH5,
87778 + AVR32_OPC_LD_UH3,
87779 + AVR32_OPC_LD_UH4,
87780 + AVR32_OPC_LD_W1,
87781 + AVR32_OPC_LD_W2,
87782 + AVR32_OPC_LD_W5,
87783 + AVR32_OPC_LD_W6,
87784 + AVR32_OPC_LD_W3,
87785 + AVR32_OPC_LD_W4,
87786 + AVR32_OPC_LDC_D1,
87787 + AVR32_OPC_LDC_D2,
87788 + AVR32_OPC_LDC_D3,
87789 + AVR32_OPC_LDC_W1,
87790 + AVR32_OPC_LDC_W2,
87791 + AVR32_OPC_LDC_W3,
87792 + AVR32_OPC_LDC0_D,
87793 + AVR32_OPC_LDC0_W,
87794 + AVR32_OPC_LDCM_D,
87795 + AVR32_OPC_LDCM_D_PU,
87796 + AVR32_OPC_LDCM_W,
87797 + AVR32_OPC_LDCM_W_PU,
87798 + AVR32_OPC_LDDPC,
87799 + AVR32_OPC_LDDPC_EXT,
87800 + AVR32_OPC_LDDSP,
87801 + AVR32_OPC_LDINS_B,
87802 + AVR32_OPC_LDINS_H,
87803 + AVR32_OPC_LDM,
87804 + AVR32_OPC_LDMTS,
87805 + AVR32_OPC_LDMTS_PU,
87806 + AVR32_OPC_LDSWP_SH,
87807 + AVR32_OPC_LDSWP_UH,
87808 + AVR32_OPC_LDSWP_W,
87809 + AVR32_OPC_LSL1,
87810 + AVR32_OPC_LSL3,
87811 + AVR32_OPC_LSL2,
87812 + AVR32_OPC_LSR1,
87813 + AVR32_OPC_LSR3,
87814 + AVR32_OPC_LSR2,
87815 + AVR32_OPC_MAC,
87816 + AVR32_OPC_MACHH_D,
87817 + AVR32_OPC_MACHH_W,
87818 + AVR32_OPC_MACS_D,
87819 + AVR32_OPC_MACSATHH_W,
87820 + AVR32_OPC_MACUD,
87821 + AVR32_OPC_MACWH_D,
87822 + AVR32_OPC_MAX,
87823 + AVR32_OPC_MCALL,
87824 + AVR32_OPC_MFDR,
87825 + AVR32_OPC_MFSR,
87826 + AVR32_OPC_MIN,
87827 + AVR32_OPC_MOV3,
87828 + AVR32_OPC_MOV1,
87829 + AVR32_OPC_MOV2,
87830 + AVR32_OPC_MOVEQ1,
87831 + AVR32_OPC_MOVNE1,
87832 + AVR32_OPC_MOVCC1,
87833 + AVR32_OPC_MOVCS1,
87834 + AVR32_OPC_MOVGE1,
87835 + AVR32_OPC_MOVLT1,
87836 + AVR32_OPC_MOVMI1,
87837 + AVR32_OPC_MOVPL1,
87838 + AVR32_OPC_MOVLS1,
87839 + AVR32_OPC_MOVGT1,
87840 + AVR32_OPC_MOVLE1,
87841 + AVR32_OPC_MOVHI1,
87842 + AVR32_OPC_MOVVS1,
87843 + AVR32_OPC_MOVVC1,
87844 + AVR32_OPC_MOVQS1,
87845 + AVR32_OPC_MOVAL1,
87846 + AVR32_OPC_MOVEQ2,
87847 + AVR32_OPC_MOVNE2,
87848 + AVR32_OPC_MOVCC2,
87849 + AVR32_OPC_MOVCS2,
87850 + AVR32_OPC_MOVGE2,
87851 + AVR32_OPC_MOVLT2,
87852 + AVR32_OPC_MOVMI2,
87853 + AVR32_OPC_MOVPL2,
87854 + AVR32_OPC_MOVLS2,
87855 + AVR32_OPC_MOVGT2,
87856 + AVR32_OPC_MOVLE2,
87857 + AVR32_OPC_MOVHI2,
87858 + AVR32_OPC_MOVVS2,
87859 + AVR32_OPC_MOVVC2,
87860 + AVR32_OPC_MOVQS2,
87861 + AVR32_OPC_MOVAL2,
87862 + AVR32_OPC_MTDR,
87863 + AVR32_OPC_MTSR,
87864 + AVR32_OPC_MUL1,
87865 + AVR32_OPC_MUL2,
87866 + AVR32_OPC_MUL3,
87867 + AVR32_OPC_MULHH_W,
87868 + AVR32_OPC_MULNHH_W,
87869 + AVR32_OPC_MULNWH_D,
87870 + AVR32_OPC_MULSD,
87871 + AVR32_OPC_MULSATHH_H,
87872 + AVR32_OPC_MULSATHH_W,
87873 + AVR32_OPC_MULSATRNDHH_H,
87874 + AVR32_OPC_MULSATRNDWH_W,
87875 + AVR32_OPC_MULSATWH_W,
87876 + AVR32_OPC_MULU_D,
87877 + AVR32_OPC_MULWH_D,
87878 + AVR32_OPC_MUSFR,
87879 + AVR32_OPC_MUSTR,
87880 + AVR32_OPC_MVCR_D,
87881 + AVR32_OPC_MVCR_W,
87882 + AVR32_OPC_MVRC_D,
87883 + AVR32_OPC_MVRC_W,
87884 + AVR32_OPC_NEG,
87885 + AVR32_OPC_NOP,
87886 + AVR32_OPC_OR1,
87887 + AVR32_OPC_OR2,
87888 + AVR32_OPC_OR3,
87889 + AVR32_OPC_ORH,
87890 + AVR32_OPC_ORL,
87891 + AVR32_OPC_PABS_SB,
87892 + AVR32_OPC_PABS_SH,
87893 + AVR32_OPC_PACKSH_SB,
87894 + AVR32_OPC_PACKSH_UB,
87895 + AVR32_OPC_PACKW_SH,
87896 + AVR32_OPC_PADD_B,
87897 + AVR32_OPC_PADD_H,
87898 + AVR32_OPC_PADDH_SH,
87899 + AVR32_OPC_PADDH_UB,
87900 + AVR32_OPC_PADDS_SB,
87901 + AVR32_OPC_PADDS_SH,
87902 + AVR32_OPC_PADDS_UB,
87903 + AVR32_OPC_PADDS_UH,
87904 + AVR32_OPC_PADDSUB_H,
87905 + AVR32_OPC_PADDSUBH_SH,
87906 + AVR32_OPC_PADDSUBS_SH,
87907 + AVR32_OPC_PADDSUBS_UH,
87908 + AVR32_OPC_PADDX_H,
87909 + AVR32_OPC_PADDXH_SH,
87910 + AVR32_OPC_PADDXS_SH,
87911 + AVR32_OPC_PADDXS_UH,
87912 + AVR32_OPC_PASR_B,
87913 + AVR32_OPC_PASR_H,
87914 + AVR32_OPC_PAVG_SH,
87915 + AVR32_OPC_PAVG_UB,
87916 + AVR32_OPC_PLSL_B,
87917 + AVR32_OPC_PLSL_H,
87918 + AVR32_OPC_PLSR_B,
87919 + AVR32_OPC_PLSR_H,
87920 + AVR32_OPC_PMAX_SH,
87921 + AVR32_OPC_PMAX_UB,
87922 + AVR32_OPC_PMIN_SH,
87923 + AVR32_OPC_PMIN_UB,
87924 + AVR32_OPC_POPJC,
87925 + AVR32_OPC_POPM,
87926 + AVR32_OPC_POPM_E,
87927 + AVR32_OPC_PREF,
87928 + AVR32_OPC_PSAD,
87929 + AVR32_OPC_PSUB_B,
87930 + AVR32_OPC_PSUB_H,
87931 + AVR32_OPC_PSUBADD_H,
87932 + AVR32_OPC_PSUBADDH_SH,
87933 + AVR32_OPC_PSUBADDS_SH,
87934 + AVR32_OPC_PSUBADDS_UH,
87935 + AVR32_OPC_PSUBH_SH,
87936 + AVR32_OPC_PSUBH_UB,
87937 + AVR32_OPC_PSUBS_SB,
87938 + AVR32_OPC_PSUBS_SH,
87939 + AVR32_OPC_PSUBS_UB,
87940 + AVR32_OPC_PSUBS_UH,
87941 + AVR32_OPC_PSUBX_H,
87942 + AVR32_OPC_PSUBXH_SH,
87943 + AVR32_OPC_PSUBXS_SH,
87944 + AVR32_OPC_PSUBXS_UH,
87945 + AVR32_OPC_PUNPCKSB_H,
87946 + AVR32_OPC_PUNPCKUB_H,
87947 + AVR32_OPC_PUSHJC,
87948 + AVR32_OPC_PUSHM,
87949 + AVR32_OPC_PUSHM_E,
87950 + AVR32_OPC_RCALL1,
87951 + AVR32_OPC_RCALL2,
87952 + AVR32_OPC_RETEQ,
87953 + AVR32_OPC_RETNE,
87954 + AVR32_OPC_RETCC,
87955 + AVR32_OPC_RETCS,
87956 + AVR32_OPC_RETGE,
87957 + AVR32_OPC_RETLT,
87958 + AVR32_OPC_RETMI,
87959 + AVR32_OPC_RETPL,
87960 + AVR32_OPC_RETLS,
87961 + AVR32_OPC_RETGT,
87962 + AVR32_OPC_RETLE,
87963 + AVR32_OPC_RETHI,
87964 + AVR32_OPC_RETVS,
87965 + AVR32_OPC_RETVC,
87966 + AVR32_OPC_RETQS,
87967 + AVR32_OPC_RETAL,
87968 + AVR32_OPC_RETD,
87969 + AVR32_OPC_RETE,
87970 + AVR32_OPC_RETJ,
87971 + AVR32_OPC_RETS,
87972 + AVR32_OPC_RJMP,
87973 + AVR32_OPC_ROL,
87974 + AVR32_OPC_ROR,
87975 + AVR32_OPC_RSUB1,
87976 + AVR32_OPC_RSUB2,
87977 + AVR32_OPC_SATADD_H,
87978 + AVR32_OPC_SATADD_W,
87979 + AVR32_OPC_SATRNDS,
87980 + AVR32_OPC_SATRNDU,
87981 + AVR32_OPC_SATS,
87982 + AVR32_OPC_SATSUB_H,
87983 + AVR32_OPC_SATSUB_W1,
87984 + AVR32_OPC_SATSUB_W2,
87985 + AVR32_OPC_SATU,
87986 + AVR32_OPC_SBC,
87987 + AVR32_OPC_SBR,
87988 + AVR32_OPC_SCALL,
87989 + AVR32_OPC_SCR,
87990 + AVR32_OPC_SLEEP,
87991 + AVR32_OPC_SREQ,
87992 + AVR32_OPC_SRNE,
87993 + AVR32_OPC_SRCC,
87994 + AVR32_OPC_SRCS,
87995 + AVR32_OPC_SRGE,
87996 + AVR32_OPC_SRLT,
87997 + AVR32_OPC_SRMI,
87998 + AVR32_OPC_SRPL,
87999 + AVR32_OPC_SRLS,
88000 + AVR32_OPC_SRGT,
88001 + AVR32_OPC_SRLE,
88002 + AVR32_OPC_SRHI,
88003 + AVR32_OPC_SRVS,
88004 + AVR32_OPC_SRVC,
88005 + AVR32_OPC_SRQS,
88006 + AVR32_OPC_SRAL,
88007 + AVR32_OPC_SSRF,
88008 + AVR32_OPC_ST_B1,
88009 + AVR32_OPC_ST_B2,
88010 + AVR32_OPC_ST_B5,
88011 + AVR32_OPC_ST_B3,
88012 + AVR32_OPC_ST_B4,
88013 + AVR32_OPC_ST_D1,
88014 + AVR32_OPC_ST_D2,
88015 + AVR32_OPC_ST_D3,
88016 + AVR32_OPC_ST_D5,
88017 + AVR32_OPC_ST_D4,
88018 + AVR32_OPC_ST_H1,
88019 + AVR32_OPC_ST_H2,
88020 + AVR32_OPC_ST_H5,
88021 + AVR32_OPC_ST_H3,
88022 + AVR32_OPC_ST_H4,
88023 + AVR32_OPC_ST_W1,
88024 + AVR32_OPC_ST_W2,
88025 + AVR32_OPC_ST_W5,
88026 + AVR32_OPC_ST_W3,
88027 + AVR32_OPC_ST_W4,
88028 + AVR32_OPC_STC_D1,
88029 + AVR32_OPC_STC_D2,
88030 + AVR32_OPC_STC_D3,
88031 + AVR32_OPC_STC_W1,
88032 + AVR32_OPC_STC_W2,
88033 + AVR32_OPC_STC_W3,
88034 + AVR32_OPC_STC0_D,
88035 + AVR32_OPC_STC0_W,
88036 + AVR32_OPC_STCM_D,
88037 + AVR32_OPC_STCM_D_PU,
88038 + AVR32_OPC_STCM_W,
88039 + AVR32_OPC_STCM_W_PU,
88040 + AVR32_OPC_STCOND,
88041 + AVR32_OPC_STDSP,
88042 + AVR32_OPC_STHH_W2,
88043 + AVR32_OPC_STHH_W1,
88044 + AVR32_OPC_STM,
88045 + AVR32_OPC_STM_PU,
88046 + AVR32_OPC_STMTS,
88047 + AVR32_OPC_STMTS_PU,
88048 + AVR32_OPC_STSWP_H,
88049 + AVR32_OPC_STSWP_W,
88050 + AVR32_OPC_SUB1,
88051 + AVR32_OPC_SUB2,
88052 + AVR32_OPC_SUB5,
88053 + AVR32_OPC_SUB3_SP,
88054 + AVR32_OPC_SUB3,
88055 + AVR32_OPC_SUB4,
88056 + AVR32_OPC_SUBEQ,
88057 + AVR32_OPC_SUBNE,
88058 + AVR32_OPC_SUBCC,
88059 + AVR32_OPC_SUBCS,
88060 + AVR32_OPC_SUBGE,
88061 + AVR32_OPC_SUBLT,
88062 + AVR32_OPC_SUBMI,
88063 + AVR32_OPC_SUBPL,
88064 + AVR32_OPC_SUBLS,
88065 + AVR32_OPC_SUBGT,
88066 + AVR32_OPC_SUBLE,
88067 + AVR32_OPC_SUBHI,
88068 + AVR32_OPC_SUBVS,
88069 + AVR32_OPC_SUBVC,
88070 + AVR32_OPC_SUBQS,
88071 + AVR32_OPC_SUBAL,
88072 + AVR32_OPC_SUBFEQ,
88073 + AVR32_OPC_SUBFNE,
88074 + AVR32_OPC_SUBFCC,
88075 + AVR32_OPC_SUBFCS,
88076 + AVR32_OPC_SUBFGE,
88077 + AVR32_OPC_SUBFLT,
88078 + AVR32_OPC_SUBFMI,
88079 + AVR32_OPC_SUBFPL,
88080 + AVR32_OPC_SUBFLS,
88081 + AVR32_OPC_SUBFGT,
88082 + AVR32_OPC_SUBFLE,
88083 + AVR32_OPC_SUBFHI,
88084 + AVR32_OPC_SUBFVS,
88085 + AVR32_OPC_SUBFVC,
88086 + AVR32_OPC_SUBFQS,
88087 + AVR32_OPC_SUBFAL,
88088 + AVR32_OPC_SUBHH_W,
88089 + AVR32_OPC_SWAP_B,
88090 + AVR32_OPC_SWAP_BH,
88091 + AVR32_OPC_SWAP_H,
88092 + AVR32_OPC_SYNC,
88093 + AVR32_OPC_TLBR,
88094 + AVR32_OPC_TLBS,
88095 + AVR32_OPC_TLBW,
88096 + AVR32_OPC_TNBZ,
88097 + AVR32_OPC_TST,
88098 + AVR32_OPC_XCHG,
88099 + AVR32_OPC_MEMC,
88100 + AVR32_OPC_MEMS,
88101 + AVR32_OPC_MEMT,
88102 + AVR32_OPC_BFEXTS,
88103 + AVR32_OPC_BFEXTU,
88104 + AVR32_OPC_BFINS,
88105 + AVR32_OPC__END_
88106 +};
88107 +#define AVR32_NR_OPCODES AVR32_OPC__END_
88108 +
88109 +enum avr32_syntax_type
88110 +{
88111 + AVR32_SYNTAX_ABS,
88112 + AVR32_SYNTAX_ACALL,
88113 + AVR32_SYNTAX_ACR,
88114 + AVR32_SYNTAX_ADC,
88115 + AVR32_SYNTAX_ADD1,
88116 + AVR32_SYNTAX_ADD2,
88117 + AVR32_SYNTAX_ADDABS,
88118 + AVR32_SYNTAX_ADDHH_W,
88119 + AVR32_SYNTAX_AND1,
88120 + AVR32_SYNTAX_AND2,
88121 + AVR32_SYNTAX_AND3,
88122 + AVR32_SYNTAX_ANDH,
88123 + AVR32_SYNTAX_ANDH_COH,
88124 + AVR32_SYNTAX_ANDL,
88125 + AVR32_SYNTAX_ANDL_COH,
88126 + AVR32_SYNTAX_ANDN,
88127 + AVR32_SYNTAX_ASR1,
88128 + AVR32_SYNTAX_ASR3,
88129 + AVR32_SYNTAX_ASR2,
88130 + AVR32_SYNTAX_BFEXTS,
88131 + AVR32_SYNTAX_BFEXTU,
88132 + AVR32_SYNTAX_BFINS,
88133 + AVR32_SYNTAX_BLD,
88134 + AVR32_SYNTAX_BREQ1,
88135 + AVR32_SYNTAX_BRNE1,
88136 + AVR32_SYNTAX_BRCC1,
88137 + AVR32_SYNTAX_BRCS1,
88138 + AVR32_SYNTAX_BRGE1,
88139 + AVR32_SYNTAX_BRLT1,
88140 + AVR32_SYNTAX_BRMI1,
88141 + AVR32_SYNTAX_BRPL1,
88142 + AVR32_SYNTAX_BRHS1,
88143 + AVR32_SYNTAX_BRLO1,
88144 + AVR32_SYNTAX_BREQ2,
88145 + AVR32_SYNTAX_BRNE2,
88146 + AVR32_SYNTAX_BRCC2,
88147 + AVR32_SYNTAX_BRCS2,
88148 + AVR32_SYNTAX_BRGE2,
88149 + AVR32_SYNTAX_BRLT2,
88150 + AVR32_SYNTAX_BRMI2,
88151 + AVR32_SYNTAX_BRPL2,
88152 + AVR32_SYNTAX_BRLS,
88153 + AVR32_SYNTAX_BRGT,
88154 + AVR32_SYNTAX_BRLE,
88155 + AVR32_SYNTAX_BRHI,
88156 + AVR32_SYNTAX_BRVS,
88157 + AVR32_SYNTAX_BRVC,
88158 + AVR32_SYNTAX_BRQS,
88159 + AVR32_SYNTAX_BRAL,
88160 + AVR32_SYNTAX_BRHS2,
88161 + AVR32_SYNTAX_BRLO2,
88162 + AVR32_SYNTAX_BREAKPOINT,
88163 + AVR32_SYNTAX_BREV,
88164 + AVR32_SYNTAX_BST,
88165 + AVR32_SYNTAX_CACHE,
88166 + AVR32_SYNTAX_CASTS_B,
88167 + AVR32_SYNTAX_CASTS_H,
88168 + AVR32_SYNTAX_CASTU_B,
88169 + AVR32_SYNTAX_CASTU_H,
88170 + AVR32_SYNTAX_CBR,
88171 + AVR32_SYNTAX_CLZ,
88172 + AVR32_SYNTAX_COM,
88173 + AVR32_SYNTAX_COP,
88174 + AVR32_SYNTAX_CP_B,
88175 + AVR32_SYNTAX_CP_H,
88176 + AVR32_SYNTAX_CP_W1,
88177 + AVR32_SYNTAX_CP_W2,
88178 + AVR32_SYNTAX_CP_W3,
88179 + AVR32_SYNTAX_CPC1,
88180 + AVR32_SYNTAX_CPC2,
88181 + AVR32_SYNTAX_CSRF,
88182 + AVR32_SYNTAX_CSRFCZ,
88183 + AVR32_SYNTAX_DIVS,
88184 + AVR32_SYNTAX_DIVU,
88185 + AVR32_SYNTAX_EOR1,
88186 + AVR32_SYNTAX_EOR2,
88187 + AVR32_SYNTAX_EOR3,
88188 + AVR32_SYNTAX_EORL,
88189 + AVR32_SYNTAX_EORH,
88190 + AVR32_SYNTAX_FRS,
88191 + AVR32_SYNTAX_ICALL,
88192 + AVR32_SYNTAX_INCJOSP,
88193 + AVR32_SYNTAX_LD_D1,
88194 + AVR32_SYNTAX_LD_D2,
88195 + AVR32_SYNTAX_LD_D3,
88196 + AVR32_SYNTAX_LD_D5,
88197 + AVR32_SYNTAX_LD_D4,
88198 + AVR32_SYNTAX_LD_SB2,
88199 + AVR32_SYNTAX_LD_SB1,
88200 + AVR32_SYNTAX_LD_UB1,
88201 + AVR32_SYNTAX_LD_UB2,
88202 + AVR32_SYNTAX_LD_UB5,
88203 + AVR32_SYNTAX_LD_UB3,
88204 + AVR32_SYNTAX_LD_UB4,
88205 + AVR32_SYNTAX_LD_SH1,
88206 + AVR32_SYNTAX_LD_SH2,
88207 + AVR32_SYNTAX_LD_SH5,
88208 + AVR32_SYNTAX_LD_SH3,
88209 + AVR32_SYNTAX_LD_SH4,
88210 + AVR32_SYNTAX_LD_UH1,
88211 + AVR32_SYNTAX_LD_UH2,
88212 + AVR32_SYNTAX_LD_UH5,
88213 + AVR32_SYNTAX_LD_UH3,
88214 + AVR32_SYNTAX_LD_UH4,
88215 + AVR32_SYNTAX_LD_W1,
88216 + AVR32_SYNTAX_LD_W2,
88217 + AVR32_SYNTAX_LD_W5,
88218 + AVR32_SYNTAX_LD_W6,
88219 + AVR32_SYNTAX_LD_W3,
88220 + AVR32_SYNTAX_LD_W4,
88221 + AVR32_SYNTAX_LDC_D1,
88222 + AVR32_SYNTAX_LDC_D2,
88223 + AVR32_SYNTAX_LDC_D3,
88224 + AVR32_SYNTAX_LDC_W1,
88225 + AVR32_SYNTAX_LDC_W2,
88226 + AVR32_SYNTAX_LDC_W3,
88227 + AVR32_SYNTAX_LDC0_D,
88228 + AVR32_SYNTAX_LDC0_W,
88229 + AVR32_SYNTAX_LDCM_D,
88230 + AVR32_SYNTAX_LDCM_D_PU,
88231 + AVR32_SYNTAX_LDCM_W,
88232 + AVR32_SYNTAX_LDCM_W_PU,
88233 + AVR32_SYNTAX_LDDPC,
88234 + AVR32_SYNTAX_LDDPC_EXT,
88235 + AVR32_SYNTAX_LDDSP,
88236 + AVR32_SYNTAX_LDINS_B,
88237 + AVR32_SYNTAX_LDINS_H,
88238 + AVR32_SYNTAX_LDM,
88239 + AVR32_SYNTAX_LDMTS,
88240 + AVR32_SYNTAX_LDMTS_PU,
88241 + AVR32_SYNTAX_LDSWP_SH,
88242 + AVR32_SYNTAX_LDSWP_UH,
88243 + AVR32_SYNTAX_LDSWP_W,
88244 + AVR32_SYNTAX_LSL1,
88245 + AVR32_SYNTAX_LSL3,
88246 + AVR32_SYNTAX_LSL2,
88247 + AVR32_SYNTAX_LSR1,
88248 + AVR32_SYNTAX_LSR3,
88249 + AVR32_SYNTAX_LSR2,
88250 + AVR32_SYNTAX_MAC,
88251 + AVR32_SYNTAX_MACHH_D,
88252 + AVR32_SYNTAX_MACHH_W,
88253 + AVR32_SYNTAX_MACS_D,
88254 + AVR32_SYNTAX_MACSATHH_W,
88255 + AVR32_SYNTAX_MACUD,
88256 + AVR32_SYNTAX_MACWH_D,
88257 + AVR32_SYNTAX_MAX,
88258 + AVR32_SYNTAX_MCALL,
88259 + AVR32_SYNTAX_MFDR,
88260 + AVR32_SYNTAX_MFSR,
88261 + AVR32_SYNTAX_MIN,
88262 + AVR32_SYNTAX_MOV3,
88263 + AVR32_SYNTAX_MOV1,
88264 + AVR32_SYNTAX_MOV2,
88265 + AVR32_SYNTAX_MOVEQ1,
88266 + AVR32_SYNTAX_MOVNE1,
88267 + AVR32_SYNTAX_MOVCC1,
88268 + AVR32_SYNTAX_MOVCS1,
88269 + AVR32_SYNTAX_MOVGE1,
88270 + AVR32_SYNTAX_MOVLT1,
88271 + AVR32_SYNTAX_MOVMI1,
88272 + AVR32_SYNTAX_MOVPL1,
88273 + AVR32_SYNTAX_MOVLS1,
88274 + AVR32_SYNTAX_MOVGT1,
88275 + AVR32_SYNTAX_MOVLE1,
88276 + AVR32_SYNTAX_MOVHI1,
88277 + AVR32_SYNTAX_MOVVS1,
88278 + AVR32_SYNTAX_MOVVC1,
88279 + AVR32_SYNTAX_MOVQS1,
88280 + AVR32_SYNTAX_MOVAL1,
88281 + AVR32_SYNTAX_MOVHS1,
88282 + AVR32_SYNTAX_MOVLO1,
88283 + AVR32_SYNTAX_MOVEQ2,
88284 + AVR32_SYNTAX_MOVNE2,
88285 + AVR32_SYNTAX_MOVCC2,
88286 + AVR32_SYNTAX_MOVCS2,
88287 + AVR32_SYNTAX_MOVGE2,
88288 + AVR32_SYNTAX_MOVLT2,
88289 + AVR32_SYNTAX_MOVMI2,
88290 + AVR32_SYNTAX_MOVPL2,
88291 + AVR32_SYNTAX_MOVLS2,
88292 + AVR32_SYNTAX_MOVGT2,
88293 + AVR32_SYNTAX_MOVLE2,
88294 + AVR32_SYNTAX_MOVHI2,
88295 + AVR32_SYNTAX_MOVVS2,
88296 + AVR32_SYNTAX_MOVVC2,
88297 + AVR32_SYNTAX_MOVQS2,
88298 + AVR32_SYNTAX_MOVAL2,
88299 + AVR32_SYNTAX_MOVHS2,
88300 + AVR32_SYNTAX_MOVLO2,
88301 + AVR32_SYNTAX_MTDR,
88302 + AVR32_SYNTAX_MTSR,
88303 + AVR32_SYNTAX_MUL1,
88304 + AVR32_SYNTAX_MUL2,
88305 + AVR32_SYNTAX_MUL3,
88306 + AVR32_SYNTAX_MULHH_W,
88307 + AVR32_SYNTAX_MULNHH_W,
88308 + AVR32_SYNTAX_MULNWH_D,
88309 + AVR32_SYNTAX_MULSD,
88310 + AVR32_SYNTAX_MULSATHH_H,
88311 + AVR32_SYNTAX_MULSATHH_W,
88312 + AVR32_SYNTAX_MULSATRNDHH_H,
88313 + AVR32_SYNTAX_MULSATRNDWH_W,
88314 + AVR32_SYNTAX_MULSATWH_W,
88315 + AVR32_SYNTAX_MULU_D,
88316 + AVR32_SYNTAX_MULWH_D,
88317 + AVR32_SYNTAX_MUSFR,
88318 + AVR32_SYNTAX_MUSTR,
88319 + AVR32_SYNTAX_MVCR_D,
88320 + AVR32_SYNTAX_MVCR_W,
88321 + AVR32_SYNTAX_MVRC_D,
88322 + AVR32_SYNTAX_MVRC_W,
88323 + AVR32_SYNTAX_NEG,
88324 + AVR32_SYNTAX_NOP,
88325 + AVR32_SYNTAX_OR1,
88326 + AVR32_SYNTAX_OR2,
88327 + AVR32_SYNTAX_OR3,
88328 + AVR32_SYNTAX_ORH,
88329 + AVR32_SYNTAX_ORL,
88330 + AVR32_SYNTAX_PABS_SB,
88331 + AVR32_SYNTAX_PABS_SH,
88332 + AVR32_SYNTAX_PACKSH_SB,
88333 + AVR32_SYNTAX_PACKSH_UB,
88334 + AVR32_SYNTAX_PACKW_SH,
88335 + AVR32_SYNTAX_PADD_B,
88336 + AVR32_SYNTAX_PADD_H,
88337 + AVR32_SYNTAX_PADDH_SH,
88338 + AVR32_SYNTAX_PADDH_UB,
88339 + AVR32_SYNTAX_PADDS_SB,
88340 + AVR32_SYNTAX_PADDS_SH,
88341 + AVR32_SYNTAX_PADDS_UB,
88342 + AVR32_SYNTAX_PADDS_UH,
88343 + AVR32_SYNTAX_PADDSUB_H,
88344 + AVR32_SYNTAX_PADDSUBH_SH,
88345 + AVR32_SYNTAX_PADDSUBS_SH,
88346 + AVR32_SYNTAX_PADDSUBS_UH,
88347 + AVR32_SYNTAX_PADDX_H,
88348 + AVR32_SYNTAX_PADDXH_SH,
88349 + AVR32_SYNTAX_PADDXS_SH,
88350 + AVR32_SYNTAX_PADDXS_UH,
88351 + AVR32_SYNTAX_PASR_B,
88352 + AVR32_SYNTAX_PASR_H,
88353 + AVR32_SYNTAX_PAVG_SH,
88354 + AVR32_SYNTAX_PAVG_UB,
88355 + AVR32_SYNTAX_PLSL_B,
88356 + AVR32_SYNTAX_PLSL_H,
88357 + AVR32_SYNTAX_PLSR_B,
88358 + AVR32_SYNTAX_PLSR_H,
88359 + AVR32_SYNTAX_PMAX_SH,
88360 + AVR32_SYNTAX_PMAX_UB,
88361 + AVR32_SYNTAX_PMIN_SH,
88362 + AVR32_SYNTAX_PMIN_UB,
88363 + AVR32_SYNTAX_POPJC,
88364 + AVR32_SYNTAX_POPM,
88365 + AVR32_SYNTAX_POPM_E,
88366 + AVR32_SYNTAX_PREF,
88367 + AVR32_SYNTAX_PSAD,
88368 + AVR32_SYNTAX_PSUB_B,
88369 + AVR32_SYNTAX_PSUB_H,
88370 + AVR32_SYNTAX_PSUBADD_H,
88371 + AVR32_SYNTAX_PSUBADDH_SH,
88372 + AVR32_SYNTAX_PSUBADDS_SH,
88373 + AVR32_SYNTAX_PSUBADDS_UH,
88374 + AVR32_SYNTAX_PSUBH_SH,
88375 + AVR32_SYNTAX_PSUBH_UB,
88376 + AVR32_SYNTAX_PSUBS_SB,
88377 + AVR32_SYNTAX_PSUBS_SH,
88378 + AVR32_SYNTAX_PSUBS_UB,
88379 + AVR32_SYNTAX_PSUBS_UH,
88380 + AVR32_SYNTAX_PSUBX_H,
88381 + AVR32_SYNTAX_PSUBXH_SH,
88382 + AVR32_SYNTAX_PSUBXS_SH,
88383 + AVR32_SYNTAX_PSUBXS_UH,
88384 + AVR32_SYNTAX_PUNPCKSB_H,
88385 + AVR32_SYNTAX_PUNPCKUB_H,
88386 + AVR32_SYNTAX_PUSHJC,
88387 + AVR32_SYNTAX_PUSHM,
88388 + AVR32_SYNTAX_PUSHM_E,
88389 + AVR32_SYNTAX_RCALL1,
88390 + AVR32_SYNTAX_RCALL2,
88391 + AVR32_SYNTAX_RETEQ,
88392 + AVR32_SYNTAX_RETNE,
88393 + AVR32_SYNTAX_RETCC,
88394 + AVR32_SYNTAX_RETCS,
88395 + AVR32_SYNTAX_RETGE,
88396 + AVR32_SYNTAX_RETLT,
88397 + AVR32_SYNTAX_RETMI,
88398 + AVR32_SYNTAX_RETPL,
88399 + AVR32_SYNTAX_RETLS,
88400 + AVR32_SYNTAX_RETGT,
88401 + AVR32_SYNTAX_RETLE,
88402 + AVR32_SYNTAX_RETHI,
88403 + AVR32_SYNTAX_RETVS,
88404 + AVR32_SYNTAX_RETVC,
88405 + AVR32_SYNTAX_RETQS,
88406 + AVR32_SYNTAX_RETAL,
88407 + AVR32_SYNTAX_RETHS,
88408 + AVR32_SYNTAX_RETLO,
88409 + AVR32_SYNTAX_RETD,
88410 + AVR32_SYNTAX_RETE,
88411 + AVR32_SYNTAX_RETJ,
88412 + AVR32_SYNTAX_RETS,
88413 + AVR32_SYNTAX_RJMP,
88414 + AVR32_SYNTAX_ROL,
88415 + AVR32_SYNTAX_ROR,
88416 + AVR32_SYNTAX_RSUB1,
88417 + AVR32_SYNTAX_RSUB2,
88418 + AVR32_SYNTAX_SATADD_H,
88419 + AVR32_SYNTAX_SATADD_W,
88420 + AVR32_SYNTAX_SATRNDS,
88421 + AVR32_SYNTAX_SATRNDU,
88422 + AVR32_SYNTAX_SATS,
88423 + AVR32_SYNTAX_SATSUB_H,
88424 + AVR32_SYNTAX_SATSUB_W1,
88425 + AVR32_SYNTAX_SATSUB_W2,
88426 + AVR32_SYNTAX_SATU,
88427 + AVR32_SYNTAX_SBC,
88428 + AVR32_SYNTAX_SBR,
88429 + AVR32_SYNTAX_SCALL,
88430 + AVR32_SYNTAX_SCR,
88431 + AVR32_SYNTAX_SLEEP,
88432 + AVR32_SYNTAX_SREQ,
88433 + AVR32_SYNTAX_SRNE,
88434 + AVR32_SYNTAX_SRCC,
88435 + AVR32_SYNTAX_SRCS,
88436 + AVR32_SYNTAX_SRGE,
88437 + AVR32_SYNTAX_SRLT,
88438 + AVR32_SYNTAX_SRMI,
88439 + AVR32_SYNTAX_SRPL,
88440 + AVR32_SYNTAX_SRLS,
88441 + AVR32_SYNTAX_SRGT,
88442 + AVR32_SYNTAX_SRLE,
88443 + AVR32_SYNTAX_SRHI,
88444 + AVR32_SYNTAX_SRVS,
88445 + AVR32_SYNTAX_SRVC,
88446 + AVR32_SYNTAX_SRQS,
88447 + AVR32_SYNTAX_SRAL,
88448 + AVR32_SYNTAX_SRHS,
88449 + AVR32_SYNTAX_SRLO,
88450 + AVR32_SYNTAX_SSRF,
88451 + AVR32_SYNTAX_ST_B1,
88452 + AVR32_SYNTAX_ST_B2,
88453 + AVR32_SYNTAX_ST_B5,
88454 + AVR32_SYNTAX_ST_B3,
88455 + AVR32_SYNTAX_ST_B4,
88456 + AVR32_SYNTAX_ST_D1,
88457 + AVR32_SYNTAX_ST_D2,
88458 + AVR32_SYNTAX_ST_D3,
88459 + AVR32_SYNTAX_ST_D5,
88460 + AVR32_SYNTAX_ST_D4,
88461 + AVR32_SYNTAX_ST_H1,
88462 + AVR32_SYNTAX_ST_H2,
88463 + AVR32_SYNTAX_ST_H5,
88464 + AVR32_SYNTAX_ST_H3,
88465 + AVR32_SYNTAX_ST_H4,
88466 + AVR32_SYNTAX_ST_W1,
88467 + AVR32_SYNTAX_ST_W2,
88468 + AVR32_SYNTAX_ST_W5,
88469 + AVR32_SYNTAX_ST_W3,
88470 + AVR32_SYNTAX_ST_W4,
88471 + AVR32_SYNTAX_STC_D1,
88472 + AVR32_SYNTAX_STC_D2,
88473 + AVR32_SYNTAX_STC_D3,
88474 + AVR32_SYNTAX_STC_W1,
88475 + AVR32_SYNTAX_STC_W2,
88476 + AVR32_SYNTAX_STC_W3,
88477 + AVR32_SYNTAX_STC0_D,
88478 + AVR32_SYNTAX_STC0_W,
88479 + AVR32_SYNTAX_STCM_D,
88480 + AVR32_SYNTAX_STCM_D_PU,
88481 + AVR32_SYNTAX_STCM_W,
88482 + AVR32_SYNTAX_STCM_W_PU,
88483 + AVR32_SYNTAX_STCOND,
88484 + AVR32_SYNTAX_STDSP,
88485 + AVR32_SYNTAX_STHH_W2,
88486 + AVR32_SYNTAX_STHH_W1,
88487 + AVR32_SYNTAX_STM,
88488 + AVR32_SYNTAX_STM_PU,
88489 + AVR32_SYNTAX_STMTS,
88490 + AVR32_SYNTAX_STMTS_PU,
88491 + AVR32_SYNTAX_STSWP_H,
88492 + AVR32_SYNTAX_STSWP_W,
88493 + AVR32_SYNTAX_SUB1,
88494 + AVR32_SYNTAX_SUB2,
88495 + AVR32_SYNTAX_SUB5,
88496 + AVR32_SYNTAX_SUB3_SP,
88497 + AVR32_SYNTAX_SUB3,
88498 + AVR32_SYNTAX_SUB4,
88499 + AVR32_SYNTAX_SUBEQ,
88500 + AVR32_SYNTAX_SUBNE,
88501 + AVR32_SYNTAX_SUBCC,
88502 + AVR32_SYNTAX_SUBCS,
88503 + AVR32_SYNTAX_SUBGE,
88504 + AVR32_SYNTAX_SUBLT,
88505 + AVR32_SYNTAX_SUBMI,
88506 + AVR32_SYNTAX_SUBPL,
88507 + AVR32_SYNTAX_SUBLS,
88508 + AVR32_SYNTAX_SUBGT,
88509 + AVR32_SYNTAX_SUBLE,
88510 + AVR32_SYNTAX_SUBHI,
88511 + AVR32_SYNTAX_SUBVS,
88512 + AVR32_SYNTAX_SUBVC,
88513 + AVR32_SYNTAX_SUBQS,
88514 + AVR32_SYNTAX_SUBAL,
88515 + AVR32_SYNTAX_SUBHS,
88516 + AVR32_SYNTAX_SUBLO,
88517 + AVR32_SYNTAX_SUBFEQ,
88518 + AVR32_SYNTAX_SUBFNE,
88519 + AVR32_SYNTAX_SUBFCC,
88520 + AVR32_SYNTAX_SUBFCS,
88521 + AVR32_SYNTAX_SUBFGE,
88522 + AVR32_SYNTAX_SUBFLT,
88523 + AVR32_SYNTAX_SUBFMI,
88524 + AVR32_SYNTAX_SUBFPL,
88525 + AVR32_SYNTAX_SUBFLS,
88526 + AVR32_SYNTAX_SUBFGT,
88527 + AVR32_SYNTAX_SUBFLE,
88528 + AVR32_SYNTAX_SUBFHI,
88529 + AVR32_SYNTAX_SUBFVS,
88530 + AVR32_SYNTAX_SUBFVC,
88531 + AVR32_SYNTAX_SUBFQS,
88532 + AVR32_SYNTAX_SUBFAL,
88533 + AVR32_SYNTAX_SUBFHS,
88534 + AVR32_SYNTAX_SUBFLO,
88535 + AVR32_SYNTAX_SUBHH_W,
88536 + AVR32_SYNTAX_SWAP_B,
88537 + AVR32_SYNTAX_SWAP_BH,
88538 + AVR32_SYNTAX_SWAP_H,
88539 + AVR32_SYNTAX_SYNC,
88540 + AVR32_SYNTAX_TLBR,
88541 + AVR32_SYNTAX_TLBS,
88542 + AVR32_SYNTAX_TLBW,
88543 + AVR32_SYNTAX_TNBZ,
88544 + AVR32_SYNTAX_TST,
88545 + AVR32_SYNTAX_XCHG,
88546 + AVR32_SYNTAX_MEMC,
88547 + AVR32_SYNTAX_MEMS,
88548 + AVR32_SYNTAX_MEMT,
88549 + AVR32_SYNTAX_FADD_S,
88550 + AVR32_SYNTAX_FADD_D,
88551 + AVR32_SYNTAX_FSUB_S,
88552 + AVR32_SYNTAX_FSUB_D,
88553 + AVR32_SYNTAX_FMAC_S,
88554 + AVR32_SYNTAX_FMAC_D,
88555 + AVR32_SYNTAX_FNMAC_S,
88556 + AVR32_SYNTAX_FNMAC_D,
88557 + AVR32_SYNTAX_FMSC_S,
88558 + AVR32_SYNTAX_FMSC_D,
88559 + AVR32_SYNTAX_FNMSC_S,
88560 + AVR32_SYNTAX_FNMSC_D,
88561 + AVR32_SYNTAX_FMUL_S,
88562 + AVR32_SYNTAX_FMUL_D,
88563 + AVR32_SYNTAX_FNMUL_S,
88564 + AVR32_SYNTAX_FNMUL_D,
88565 + AVR32_SYNTAX_FNEG_S,
88566 + AVR32_SYNTAX_FNEG_D,
88567 + AVR32_SYNTAX_FABS_S,
88568 + AVR32_SYNTAX_FABS_D,
88569 + AVR32_SYNTAX_FCMP_S,
88570 + AVR32_SYNTAX_FCMP_D,
88571 + AVR32_SYNTAX_FMOV1_S,
88572 + AVR32_SYNTAX_FMOV1_D,
88573 + AVR32_SYNTAX_FMOV2_S,
88574 + AVR32_SYNTAX_FMOV2_D,
88575 + AVR32_SYNTAX_FMOV3_S,
88576 + AVR32_SYNTAX_FMOV3_D,
88577 + AVR32_SYNTAX_FCASTS_D,
88578 + AVR32_SYNTAX_FCASTD_S,
88579 + AVR32_SYNTAX_LDA_W,
88580 + AVR32_SYNTAX_CALL,
88581 + AVR32_SYNTAX_PICOSVMAC0,
88582 + AVR32_SYNTAX_PICOSVMAC1,
88583 + AVR32_SYNTAX_PICOSVMAC2,
88584 + AVR32_SYNTAX_PICOSVMAC3,
88585 + AVR32_SYNTAX_PICOSVMUL0,
88586 + AVR32_SYNTAX_PICOSVMUL1,
88587 + AVR32_SYNTAX_PICOSVMUL2,
88588 + AVR32_SYNTAX_PICOSVMUL3,
88589 + AVR32_SYNTAX_PICOVMAC0,
88590 + AVR32_SYNTAX_PICOVMAC1,
88591 + AVR32_SYNTAX_PICOVMAC2,
88592 + AVR32_SYNTAX_PICOVMAC3,
88593 + AVR32_SYNTAX_PICOVMUL0,
88594 + AVR32_SYNTAX_PICOVMUL1,
88595 + AVR32_SYNTAX_PICOVMUL2,
88596 + AVR32_SYNTAX_PICOVMUL3,
88597 + AVR32_SYNTAX_PICOLD_D2,
88598 + AVR32_SYNTAX_PICOLD_D3,
88599 + AVR32_SYNTAX_PICOLD_D1,
88600 + AVR32_SYNTAX_PICOLD_W2,
88601 + AVR32_SYNTAX_PICOLD_W3,
88602 + AVR32_SYNTAX_PICOLD_W1,
88603 + AVR32_SYNTAX_PICOLDM_D,
88604 + AVR32_SYNTAX_PICOLDM_D_PU,
88605 + AVR32_SYNTAX_PICOLDM_W,
88606 + AVR32_SYNTAX_PICOLDM_W_PU,
88607 + AVR32_SYNTAX_PICOMV_D1,
88608 + AVR32_SYNTAX_PICOMV_D2,
88609 + AVR32_SYNTAX_PICOMV_W1,
88610 + AVR32_SYNTAX_PICOMV_W2,
88611 + AVR32_SYNTAX_PICOST_D2,
88612 + AVR32_SYNTAX_PICOST_D3,
88613 + AVR32_SYNTAX_PICOST_D1,
88614 + AVR32_SYNTAX_PICOST_W2,
88615 + AVR32_SYNTAX_PICOST_W3,
88616 + AVR32_SYNTAX_PICOST_W1,
88617 + AVR32_SYNTAX_PICOSTM_D,
88618 + AVR32_SYNTAX_PICOSTM_D_PU,
88619 + AVR32_SYNTAX_PICOSTM_W,
88620 + AVR32_SYNTAX_PICOSTM_W_PU,
88621 + AVR32_SYNTAX__END_
88622 +};
88623 +#define AVR32_NR_SYNTAX AVR32_SYNTAX__END_
88624 +
88625 +enum avr32_alias_type
88626 + {
88627 + AVR32_ALIAS_FMAC_S,
88628 + AVR32_ALIAS_FMAC_D,
88629 + AVR32_ALIAS_FNMAC_S,
88630 + AVR32_ALIAS_FNMAC_D,
88631 + AVR32_ALIAS_FMSC_S,
88632 + AVR32_ALIAS_FMSC_D,
88633 + AVR32_ALIAS_FNMSC_S,
88634 + AVR32_ALIAS_FNMSC_D,
88635 + AVR32_ALIAS_FADD_S,
88636 + AVR32_ALIAS_FADD_D,
88637 + AVR32_ALIAS_FSUB_S,
88638 + AVR32_ALIAS_FSUB_D,
88639 + AVR32_ALIAS_FMUL_S,
88640 + AVR32_ALIAS_FMUL_D,
88641 + AVR32_ALIAS_FNMUL_S,
88642 + AVR32_ALIAS_FNMUL_D,
88643 + AVR32_ALIAS_FNEG_S,
88644 + AVR32_ALIAS_FNEG_D,
88645 + AVR32_ALIAS_FABS_S,
88646 + AVR32_ALIAS_FABS_D,
88647 + AVR32_ALIAS_FCMP_S,
88648 + AVR32_ALIAS_FCMP_D,
88649 + AVR32_ALIAS_FMOV1_S,
88650 + AVR32_ALIAS_FMOV1_D,
88651 + AVR32_ALIAS_FMOV2_S,
88652 + AVR32_ALIAS_FMOV2_D,
88653 + AVR32_ALIAS_FMOV3_S,
88654 + AVR32_ALIAS_FMOV3_D,
88655 + AVR32_ALIAS_FCASTS_D,
88656 + AVR32_ALIAS_FCASTD_S,
88657 + AVR32_ALIAS_PICOSVMAC0,
88658 + AVR32_ALIAS_PICOSVMAC1,
88659 + AVR32_ALIAS_PICOSVMAC2,
88660 + AVR32_ALIAS_PICOSVMAC3,
88661 + AVR32_ALIAS_PICOSVMUL0,
88662 + AVR32_ALIAS_PICOSVMUL1,
88663 + AVR32_ALIAS_PICOSVMUL2,
88664 + AVR32_ALIAS_PICOSVMUL3,
88665 + AVR32_ALIAS_PICOVMAC0,
88666 + AVR32_ALIAS_PICOVMAC1,
88667 + AVR32_ALIAS_PICOVMAC2,
88668 + AVR32_ALIAS_PICOVMAC3,
88669 + AVR32_ALIAS_PICOVMUL0,
88670 + AVR32_ALIAS_PICOVMUL1,
88671 + AVR32_ALIAS_PICOVMUL2,
88672 + AVR32_ALIAS_PICOVMUL3,
88673 + AVR32_ALIAS_PICOLD_D1,
88674 + AVR32_ALIAS_PICOLD_D2,
88675 + AVR32_ALIAS_PICOLD_D3,
88676 + AVR32_ALIAS_PICOLD_W1,
88677 + AVR32_ALIAS_PICOLD_W2,
88678 + AVR32_ALIAS_PICOLD_W3,
88679 + AVR32_ALIAS_PICOLDM_D,
88680 + AVR32_ALIAS_PICOLDM_D_PU,
88681 + AVR32_ALIAS_PICOLDM_W,
88682 + AVR32_ALIAS_PICOLDM_W_PU,
88683 + AVR32_ALIAS_PICOMV_D1,
88684 + AVR32_ALIAS_PICOMV_D2,
88685 + AVR32_ALIAS_PICOMV_W1,
88686 + AVR32_ALIAS_PICOMV_W2,
88687 + AVR32_ALIAS_PICOST_D1,
88688 + AVR32_ALIAS_PICOST_D2,
88689 + AVR32_ALIAS_PICOST_D3,
88690 + AVR32_ALIAS_PICOST_W1,
88691 + AVR32_ALIAS_PICOST_W2,
88692 + AVR32_ALIAS_PICOST_W3,
88693 + AVR32_ALIAS_PICOSTM_D,
88694 + AVR32_ALIAS_PICOSTM_D_PU,
88695 + AVR32_ALIAS_PICOSTM_W,
88696 + AVR32_ALIAS_PICOSTM_W_PU,
88697 + AVR32_ALIAS__END_
88698 + };
88699 +#define AVR32_NR_ALIAS AVR32_ALIAS__END_
88700 +
88701 +enum avr32_mnemonic_type
88702 +{
88703 + AVR32_MNEMONIC_ABS,
88704 + AVR32_MNEMONIC_ACALL,
88705 + AVR32_MNEMONIC_ACR,
88706 + AVR32_MNEMONIC_ADC,
88707 + AVR32_MNEMONIC_ADD,
88708 + AVR32_MNEMONIC_ADDABS,
88709 + AVR32_MNEMONIC_ADDHH_W,
88710 + AVR32_MNEMONIC_AND,
88711 + AVR32_MNEMONIC_ANDH,
88712 + AVR32_MNEMONIC_ANDL,
88713 + AVR32_MNEMONIC_ANDN,
88714 + AVR32_MNEMONIC_ASR,
88715 + AVR32_MNEMONIC_BFEXTS,
88716 + AVR32_MNEMONIC_BFEXTU,
88717 + AVR32_MNEMONIC_BFINS,
88718 + AVR32_MNEMONIC_BLD,
88719 + AVR32_MNEMONIC_BREQ,
88720 + AVR32_MNEMONIC_BRNE,
88721 + AVR32_MNEMONIC_BRCC,
88722 + AVR32_MNEMONIC_BRCS,
88723 + AVR32_MNEMONIC_BRGE,
88724 + AVR32_MNEMONIC_BRLT,
88725 + AVR32_MNEMONIC_BRMI,
88726 + AVR32_MNEMONIC_BRPL,
88727 + AVR32_MNEMONIC_BRHS,
88728 + AVR32_MNEMONIC_BRLO,
88729 + AVR32_MNEMONIC_BRLS,
88730 + AVR32_MNEMONIC_BRGT,
88731 + AVR32_MNEMONIC_BRLE,
88732 + AVR32_MNEMONIC_BRHI,
88733 + AVR32_MNEMONIC_BRVS,
88734 + AVR32_MNEMONIC_BRVC,
88735 + AVR32_MNEMONIC_BRQS,
88736 + AVR32_MNEMONIC_BRAL,
88737 + AVR32_MNEMONIC_BREAKPOINT,
88738 + AVR32_MNEMONIC_BREV,
88739 + AVR32_MNEMONIC_BST,
88740 + AVR32_MNEMONIC_CACHE,
88741 + AVR32_MNEMONIC_CASTS_B,
88742 + AVR32_MNEMONIC_CASTS_H,
88743 + AVR32_MNEMONIC_CASTU_B,
88744 + AVR32_MNEMONIC_CASTU_H,
88745 + AVR32_MNEMONIC_CBR,
88746 + AVR32_MNEMONIC_CLZ,
88747 + AVR32_MNEMONIC_COM,
88748 + AVR32_MNEMONIC_COP,
88749 + AVR32_MNEMONIC_CP_B,
88750 + AVR32_MNEMONIC_CP_H,
88751 + AVR32_MNEMONIC_CP_W,
88752 + AVR32_MNEMONIC_CP,
88753 + AVR32_MNEMONIC_CPC,
88754 + AVR32_MNEMONIC_CSRF,
88755 + AVR32_MNEMONIC_CSRFCZ,
88756 + AVR32_MNEMONIC_DIVS,
88757 + AVR32_MNEMONIC_DIVU,
88758 + AVR32_MNEMONIC_EOR,
88759 + AVR32_MNEMONIC_EORL,
88760 + AVR32_MNEMONIC_EORH,
88761 + AVR32_MNEMONIC_FRS,
88762 + AVR32_MNEMONIC_ICALL,
88763 + AVR32_MNEMONIC_INCJOSP,
88764 + AVR32_MNEMONIC_LD_D,
88765 + AVR32_MNEMONIC_LD_SB,
88766 + AVR32_MNEMONIC_LD_UB,
88767 + AVR32_MNEMONIC_LD_SH,
88768 + AVR32_MNEMONIC_LD_UH,
88769 + AVR32_MNEMONIC_LD_W,
88770 + AVR32_MNEMONIC_LDC_D,
88771 + AVR32_MNEMONIC_LDC_W,
88772 + AVR32_MNEMONIC_LDC0_D,
88773 + AVR32_MNEMONIC_LDC0_W,
88774 + AVR32_MNEMONIC_LDCM_D,
88775 + AVR32_MNEMONIC_LDCM_W,
88776 + AVR32_MNEMONIC_LDDPC,
88777 + AVR32_MNEMONIC_LDDSP,
88778 + AVR32_MNEMONIC_LDINS_B,
88779 + AVR32_MNEMONIC_LDINS_H,
88780 + AVR32_MNEMONIC_LDM,
88781 + AVR32_MNEMONIC_LDMTS,
88782 + AVR32_MNEMONIC_LDSWP_SH,
88783 + AVR32_MNEMONIC_LDSWP_UH,
88784 + AVR32_MNEMONIC_LDSWP_W,
88785 + AVR32_MNEMONIC_LSL,
88786 + AVR32_MNEMONIC_LSR,
88787 + AVR32_MNEMONIC_MAC,
88788 + AVR32_MNEMONIC_MACHH_D,
88789 + AVR32_MNEMONIC_MACHH_W,
88790 + AVR32_MNEMONIC_MACS_D,
88791 + AVR32_MNEMONIC_MACSATHH_W,
88792 + AVR32_MNEMONIC_MACU_D,
88793 + AVR32_MNEMONIC_MACWH_D,
88794 + AVR32_MNEMONIC_MAX,
88795 + AVR32_MNEMONIC_MCALL,
88796 + AVR32_MNEMONIC_MFDR,
88797 + AVR32_MNEMONIC_MFSR,
88798 + AVR32_MNEMONIC_MIN,
88799 + AVR32_MNEMONIC_MOV,
88800 + AVR32_MNEMONIC_MOVEQ,
88801 + AVR32_MNEMONIC_MOVNE,
88802 + AVR32_MNEMONIC_MOVCC,
88803 + AVR32_MNEMONIC_MOVCS,
88804 + AVR32_MNEMONIC_MOVGE,
88805 + AVR32_MNEMONIC_MOVLT,
88806 + AVR32_MNEMONIC_MOVMI,
88807 + AVR32_MNEMONIC_MOVPL,
88808 + AVR32_MNEMONIC_MOVLS,
88809 + AVR32_MNEMONIC_MOVGT,
88810 + AVR32_MNEMONIC_MOVLE,
88811 + AVR32_MNEMONIC_MOVHI,
88812 + AVR32_MNEMONIC_MOVVS,
88813 + AVR32_MNEMONIC_MOVVC,
88814 + AVR32_MNEMONIC_MOVQS,
88815 + AVR32_MNEMONIC_MOVAL,
88816 + AVR32_MNEMONIC_MOVHS,
88817 + AVR32_MNEMONIC_MOVLO,
88818 + AVR32_MNEMONIC_MTDR,
88819 + AVR32_MNEMONIC_MTSR,
88820 + AVR32_MNEMONIC_MUL,
88821 + AVR32_MNEMONIC_MULHH_W,
88822 + AVR32_MNEMONIC_MULNHH_W,
88823 + AVR32_MNEMONIC_MULNWH_D,
88824 + AVR32_MNEMONIC_MULS_D,
88825 + AVR32_MNEMONIC_MULSATHH_H,
88826 + AVR32_MNEMONIC_MULSATHH_W,
88827 + AVR32_MNEMONIC_MULSATRNDHH_H,
88828 + AVR32_MNEMONIC_MULSATRNDWH_W,
88829 + AVR32_MNEMONIC_MULSATWH_W,
88830 + AVR32_MNEMONIC_MULU_D,
88831 + AVR32_MNEMONIC_MULWH_D,
88832 + AVR32_MNEMONIC_MUSFR,
88833 + AVR32_MNEMONIC_MUSTR,
88834 + AVR32_MNEMONIC_MVCR_D,
88835 + AVR32_MNEMONIC_MVCR_W,
88836 + AVR32_MNEMONIC_MVRC_D,
88837 + AVR32_MNEMONIC_MVRC_W,
88838 + AVR32_MNEMONIC_NEG,
88839 + AVR32_MNEMONIC_NOP,
88840 + AVR32_MNEMONIC_OR,
88841 + AVR32_MNEMONIC_ORH,
88842 + AVR32_MNEMONIC_ORL,
88843 + AVR32_MNEMONIC_PABS_SB,
88844 + AVR32_MNEMONIC_PABS_SH,
88845 + AVR32_MNEMONIC_PACKSH_SB,
88846 + AVR32_MNEMONIC_PACKSH_UB,
88847 + AVR32_MNEMONIC_PACKW_SH,
88848 + AVR32_MNEMONIC_PADD_B,
88849 + AVR32_MNEMONIC_PADD_H,
88850 + AVR32_MNEMONIC_PADDH_SH,
88851 + AVR32_MNEMONIC_PADDH_UB,
88852 + AVR32_MNEMONIC_PADDS_SB,
88853 + AVR32_MNEMONIC_PADDS_SH,
88854 + AVR32_MNEMONIC_PADDS_UB,
88855 + AVR32_MNEMONIC_PADDS_UH,
88856 + AVR32_MNEMONIC_PADDSUB_H,
88857 + AVR32_MNEMONIC_PADDSUBH_SH,
88858 + AVR32_MNEMONIC_PADDSUBS_SH,
88859 + AVR32_MNEMONIC_PADDSUBS_UH,
88860 + AVR32_MNEMONIC_PADDX_H,
88861 + AVR32_MNEMONIC_PADDXH_SH,
88862 + AVR32_MNEMONIC_PADDXS_SH,
88863 + AVR32_MNEMONIC_PADDXS_UH,
88864 + AVR32_MNEMONIC_PASR_B,
88865 + AVR32_MNEMONIC_PASR_H,
88866 + AVR32_MNEMONIC_PAVG_SH,
88867 + AVR32_MNEMONIC_PAVG_UB,
88868 + AVR32_MNEMONIC_PLSL_B,
88869 + AVR32_MNEMONIC_PLSL_H,
88870 + AVR32_MNEMONIC_PLSR_B,
88871 + AVR32_MNEMONIC_PLSR_H,
88872 + AVR32_MNEMONIC_PMAX_SH,
88873 + AVR32_MNEMONIC_PMAX_UB,
88874 + AVR32_MNEMONIC_PMIN_SH,
88875 + AVR32_MNEMONIC_PMIN_UB,
88876 + AVR32_MNEMONIC_POPJC,
88877 + AVR32_MNEMONIC_POPM,
88878 + AVR32_MNEMONIC_PREF,
88879 + AVR32_MNEMONIC_PSAD,
88880 + AVR32_MNEMONIC_PSUB_B,
88881 + AVR32_MNEMONIC_PSUB_H,
88882 + AVR32_MNEMONIC_PSUBADD_H,
88883 + AVR32_MNEMONIC_PSUBADDH_SH,
88884 + AVR32_MNEMONIC_PSUBADDS_SH,
88885 + AVR32_MNEMONIC_PSUBADDS_UH,
88886 + AVR32_MNEMONIC_PSUBH_SH,
88887 + AVR32_MNEMONIC_PSUBH_UB,
88888 + AVR32_MNEMONIC_PSUBS_SB,
88889 + AVR32_MNEMONIC_PSUBS_SH,
88890 + AVR32_MNEMONIC_PSUBS_UB,
88891 + AVR32_MNEMONIC_PSUBS_UH,
88892 + AVR32_MNEMONIC_PSUBX_H,
88893 + AVR32_MNEMONIC_PSUBXH_SH,
88894 + AVR32_MNEMONIC_PSUBXS_SH,
88895 + AVR32_MNEMONIC_PSUBXS_UH,
88896 + AVR32_MNEMONIC_PUNPCKSB_H,
88897 + AVR32_MNEMONIC_PUNPCKUB_H,
88898 + AVR32_MNEMONIC_PUSHJC,
88899 + AVR32_MNEMONIC_PUSHM,
88900 + AVR32_MNEMONIC_RCALL,
88901 + AVR32_MNEMONIC_RETEQ,
88902 + AVR32_MNEMONIC_RETNE,
88903 + AVR32_MNEMONIC_RETCC,
88904 + AVR32_MNEMONIC_RETCS,
88905 + AVR32_MNEMONIC_RETGE,
88906 + AVR32_MNEMONIC_RETLT,
88907 + AVR32_MNEMONIC_RETMI,
88908 + AVR32_MNEMONIC_RETPL,
88909 + AVR32_MNEMONIC_RETLS,
88910 + AVR32_MNEMONIC_RETGT,
88911 + AVR32_MNEMONIC_RETLE,
88912 + AVR32_MNEMONIC_RETHI,
88913 + AVR32_MNEMONIC_RETVS,
88914 + AVR32_MNEMONIC_RETVC,
88915 + AVR32_MNEMONIC_RETQS,
88916 + AVR32_MNEMONIC_RETAL,
88917 + AVR32_MNEMONIC_RETHS,
88918 + AVR32_MNEMONIC_RETLO,
88919 + AVR32_MNEMONIC_RET,
88920 + AVR32_MNEMONIC_RETD,
88921 + AVR32_MNEMONIC_RETE,
88922 + AVR32_MNEMONIC_RETJ,
88923 + AVR32_MNEMONIC_RETS,
88924 + AVR32_MNEMONIC_RJMP,
88925 + AVR32_MNEMONIC_ROL,
88926 + AVR32_MNEMONIC_ROR,
88927 + AVR32_MNEMONIC_RSUB,
88928 + AVR32_MNEMONIC_SATADD_H,
88929 + AVR32_MNEMONIC_SATADD_W,
88930 + AVR32_MNEMONIC_SATRNDS,
88931 + AVR32_MNEMONIC_SATRNDU,
88932 + AVR32_MNEMONIC_SATS,
88933 + AVR32_MNEMONIC_SATSUB_H,
88934 + AVR32_MNEMONIC_SATSUB_W,
88935 + AVR32_MNEMONIC_SATU,
88936 + AVR32_MNEMONIC_SBC,
88937 + AVR32_MNEMONIC_SBR,
88938 + AVR32_MNEMONIC_SCALL,
88939 + AVR32_MNEMONIC_SCR,
88940 + AVR32_MNEMONIC_SLEEP,
88941 + AVR32_MNEMONIC_SREQ,
88942 + AVR32_MNEMONIC_SRNE,
88943 + AVR32_MNEMONIC_SRCC,
88944 + AVR32_MNEMONIC_SRCS,
88945 + AVR32_MNEMONIC_SRGE,
88946 + AVR32_MNEMONIC_SRLT,
88947 + AVR32_MNEMONIC_SRMI,
88948 + AVR32_MNEMONIC_SRPL,
88949 + AVR32_MNEMONIC_SRLS,
88950 + AVR32_MNEMONIC_SRGT,
88951 + AVR32_MNEMONIC_SRLE,
88952 + AVR32_MNEMONIC_SRHI,
88953 + AVR32_MNEMONIC_SRVS,
88954 + AVR32_MNEMONIC_SRVC,
88955 + AVR32_MNEMONIC_SRQS,
88956 + AVR32_MNEMONIC_SRAL,
88957 + AVR32_MNEMONIC_SRHS,
88958 + AVR32_MNEMONIC_SRLO,
88959 + AVR32_MNEMONIC_SSRF,
88960 + AVR32_MNEMONIC_ST_B,
88961 + AVR32_MNEMONIC_ST_D,
88962 + AVR32_MNEMONIC_ST_H,
88963 + AVR32_MNEMONIC_ST_W,
88964 + AVR32_MNEMONIC_STC_D,
88965 + AVR32_MNEMONIC_STC_W,
88966 + AVR32_MNEMONIC_STC0_D,
88967 + AVR32_MNEMONIC_STC0_W,
88968 + AVR32_MNEMONIC_STCM_D,
88969 + AVR32_MNEMONIC_STCM_W,
88970 + AVR32_MNEMONIC_STCOND,
88971 + AVR32_MNEMONIC_STDSP,
88972 + AVR32_MNEMONIC_STHH_W,
88973 + AVR32_MNEMONIC_STM,
88974 + AVR32_MNEMONIC_STMTS,
88975 + AVR32_MNEMONIC_STSWP_H,
88976 + AVR32_MNEMONIC_STSWP_W,
88977 + AVR32_MNEMONIC_SUB,
88978 + AVR32_MNEMONIC_SUBEQ,
88979 + AVR32_MNEMONIC_SUBNE,
88980 + AVR32_MNEMONIC_SUBCC,
88981 + AVR32_MNEMONIC_SUBCS,
88982 + AVR32_MNEMONIC_SUBGE,
88983 + AVR32_MNEMONIC_SUBLT,
88984 + AVR32_MNEMONIC_SUBMI,
88985 + AVR32_MNEMONIC_SUBPL,
88986 + AVR32_MNEMONIC_SUBLS,
88987 + AVR32_MNEMONIC_SUBGT,
88988 + AVR32_MNEMONIC_SUBLE,
88989 + AVR32_MNEMONIC_SUBHI,
88990 + AVR32_MNEMONIC_SUBVS,
88991 + AVR32_MNEMONIC_SUBVC,
88992 + AVR32_MNEMONIC_SUBQS,
88993 + AVR32_MNEMONIC_SUBAL,
88994 + AVR32_MNEMONIC_SUBHS,
88995 + AVR32_MNEMONIC_SUBLO,
88996 + AVR32_MNEMONIC_SUBFEQ,
88997 + AVR32_MNEMONIC_SUBFNE,
88998 + AVR32_MNEMONIC_SUBFCC,
88999 + AVR32_MNEMONIC_SUBFCS,
89000 + AVR32_MNEMONIC_SUBFGE,
89001 + AVR32_MNEMONIC_SUBFLT,
89002 + AVR32_MNEMONIC_SUBFMI,
89003 + AVR32_MNEMONIC_SUBFPL,
89004 + AVR32_MNEMONIC_SUBFLS,
89005 + AVR32_MNEMONIC_SUBFGT,
89006 + AVR32_MNEMONIC_SUBFLE,
89007 + AVR32_MNEMONIC_SUBFHI,
89008 + AVR32_MNEMONIC_SUBFVS,
89009 + AVR32_MNEMONIC_SUBFVC,
89010 + AVR32_MNEMONIC_SUBFQS,
89011 + AVR32_MNEMONIC_SUBFAL,
89012 + AVR32_MNEMONIC_SUBFHS,
89013 + AVR32_MNEMONIC_SUBFLO,
89014 + AVR32_MNEMONIC_SUBHH_W,
89015 + AVR32_MNEMONIC_SWAP_B,
89016 + AVR32_MNEMONIC_SWAP_BH,
89017 + AVR32_MNEMONIC_SWAP_H,
89018 + AVR32_MNEMONIC_SYNC,
89019 + AVR32_MNEMONIC_TLBR,
89020 + AVR32_MNEMONIC_TLBS,
89021 + AVR32_MNEMONIC_TLBW,
89022 + AVR32_MNEMONIC_TNBZ,
89023 + AVR32_MNEMONIC_TST,
89024 + AVR32_MNEMONIC_XCHG,
89025 + AVR32_MNEMONIC_MEMC,
89026 + AVR32_MNEMONIC_MEMS,
89027 + AVR32_MNEMONIC_MEMT,
89028 + AVR32_MNEMONIC_FADD_S,
89029 + AVR32_MNEMONIC_FADD_D,
89030 + AVR32_MNEMONIC_FSUB_S,
89031 + AVR32_MNEMONIC_FSUB_D,
89032 + AVR32_MNEMONIC_FMAC_S,
89033 + AVR32_MNEMONIC_FMAC_D,
89034 + AVR32_MNEMONIC_FNMAC_S,
89035 + AVR32_MNEMONIC_FNMAC_D,
89036 + AVR32_MNEMONIC_FMSC_S,
89037 + AVR32_MNEMONIC_FMSC_D,
89038 + AVR32_MNEMONIC_FNMSC_S,
89039 + AVR32_MNEMONIC_FNMSC_D,
89040 + AVR32_MNEMONIC_FMUL_S,
89041 + AVR32_MNEMONIC_FMUL_D,
89042 + AVR32_MNEMONIC_FNMUL_S,
89043 + AVR32_MNEMONIC_FNMUL_D,
89044 + AVR32_MNEMONIC_FNEG_S,
89045 + AVR32_MNEMONIC_FNEG_D,
89046 + AVR32_MNEMONIC_FABS_S,
89047 + AVR32_MNEMONIC_FABS_D,
89048 + AVR32_MNEMONIC_FCMP_S,
89049 + AVR32_MNEMONIC_FCMP_D,
89050 + AVR32_MNEMONIC_FMOV_S,
89051 + AVR32_MNEMONIC_FMOV_D,
89052 + AVR32_MNEMONIC_FCASTS_D,
89053 + AVR32_MNEMONIC_FCASTD_S,
89054 + /* AVR32_MNEMONIC_FLD_S,
89055 + AVR32_MNEMONIC_FLD_D,
89056 + AVR32_MNEMONIC_FST_S,
89057 + AVR32_MNEMONIC_FST_D, */
89058 + AVR32_MNEMONIC_LDA_W,
89059 + AVR32_MNEMONIC_CALL,
89060 + AVR32_MNEMONIC_PICOSVMAC,
89061 + AVR32_MNEMONIC_PICOSVMUL,
89062 + AVR32_MNEMONIC_PICOVMAC,
89063 + AVR32_MNEMONIC_PICOVMUL,
89064 + AVR32_MNEMONIC_PICOLD_D,
89065 + AVR32_MNEMONIC_PICOLD_W,
89066 + AVR32_MNEMONIC_PICOLDM_D,
89067 + AVR32_MNEMONIC_PICOLDM_W,
89068 + AVR32_MNEMONIC_PICOMV_D,
89069 + AVR32_MNEMONIC_PICOMV_W,
89070 + AVR32_MNEMONIC_PICOST_D,
89071 + AVR32_MNEMONIC_PICOST_W,
89072 + AVR32_MNEMONIC_PICOSTM_D,
89073 + AVR32_MNEMONIC_PICOSTM_W,
89074 + AVR32_MNEMONIC__END_
89075 +};
89076 +#define AVR32_NR_MNEMONICS AVR32_MNEMONIC__END_
89077 +
89078 +enum avr32_syntax_parser
89079 + {
89080 + AVR32_PARSER_NORMAL,
89081 + AVR32_PARSER_ALIAS,
89082 + AVR32_PARSER_LDA,
89083 + AVR32_PARSER_CALL,
89084 + AVR32_PARSER__END_
89085 + };
89086 +#define AVR32_NR_PARSERS AVR32_PARSER__END_
89087 Index: binutils-2.17/opcodes/config.in
89088 ===================================================================
89089 --- binutils-2.17.orig/opcodes/config.in 2007-06-28 09:19:34.719958216 +0200
89090 +++ binutils-2.17/opcodes/config.in 2007-06-28 09:19:36.679660296 +0200
89091 @@ -138,7 +138,7 @@
89092
89093 /* If using the C implementation of alloca, define if you know the
89094 direction of stack growth for your system; otherwise it will be
89095 - automatically deduced at run-time.
89096 + automatically deduced at runtime.
89097 STACK_DIRECTION > 0 => grows toward higher addresses
89098 STACK_DIRECTION < 0 => grows toward lower addresses
89099 STACK_DIRECTION = 0 => direction of growth unknown */
89100 @@ -159,8 +159,8 @@
89101 #undef inline
89102 #endif
89103
89104 -/* Define to `long' if <sys/types.h> does not define. */
89105 +/* Define to `long int' if <sys/types.h> does not define. */
89106 #undef off_t
89107
89108 -/* Define to `unsigned' if <sys/types.h> does not define. */
89109 +/* Define to `unsigned int' if <sys/types.h> does not define. */
89110 #undef size_t
89111 Index: binutils-2.17/opcodes/configure
89112 ===================================================================
89113 --- binutils-2.17.orig/opcodes/configure 2007-06-28 09:19:35.051907752 +0200
89114 +++ binutils-2.17/opcodes/configure 2007-06-28 09:19:36.690658624 +0200
89115 @@ -1,25 +1,54 @@
89116 #! /bin/sh
89117 # Guess values for system-dependent variables and create Makefiles.
89118 -# Generated by GNU Autoconf 2.59.
89119 +# Generated by GNU Autoconf 2.61.
89120 #
89121 -# Copyright (C) 2003 Free Software Foundation, Inc.
89122 +# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
89123 +# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
89124 # This configure script is free software; the Free Software Foundation
89125 # gives unlimited permission to copy, distribute and modify it.
89126 ## --------------------- ##
89127 ## M4sh Initialization. ##
89128 ## --------------------- ##
89129
89130 -# Be Bourne compatible
89131 +# Be more Bourne compatible
89132 +DUALCASE=1; export DUALCASE # for MKS sh
89133 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
89134 emulate sh
89135 NULLCMD=:
89136 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
89137 # is contrary to our usage. Disable this feature.
89138 alias -g '${1+"$@"}'='"$@"'
89139 -elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
89140 - set -o posix
89141 + setopt NO_GLOB_SUBST
89142 +else
89143 + case `(set -o) 2>/dev/null` in
89144 + *posix*) set -o posix ;;
89145 +esac
89146 +
89147 +fi
89148 +
89149 +
89150 +
89151 +
89152 +# PATH needs CR
89153 +# Avoid depending upon Character Ranges.
89154 +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
89155 +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
89156 +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
89157 +as_cr_digits='0123456789'
89158 +as_cr_alnum=$as_cr_Letters$as_cr_digits
89159 +
89160 +# The user is always right.
89161 +if test "${PATH_SEPARATOR+set}" != set; then
89162 + echo "#! /bin/sh" >conf$$.sh
89163 + echo "exit 0" >>conf$$.sh
89164 + chmod +x conf$$.sh
89165 + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
89166 + PATH_SEPARATOR=';'
89167 + else
89168 + PATH_SEPARATOR=:
89169 + fi
89170 + rm -f conf$$.sh
89171 fi
89172 -DUALCASE=1; export DUALCASE # for MKS sh
89173
89174 # Support unset when possible.
89175 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
89176 @@ -29,8 +58,43 @@
89177 fi
89178
89179
89180 +# IFS
89181 +# We need space, tab and new line, in precisely that order. Quoting is
89182 +# there to prevent editors from complaining about space-tab.
89183 +# (If _AS_PATH_WALK were called with IFS unset, it would disable word
89184 +# splitting by setting IFS to empty value.)
89185 +as_nl='
89186 +'
89187 +IFS=" "" $as_nl"
89188 +
89189 +# Find who we are. Look in the path if we contain no directory separator.
89190 +case $0 in
89191 + *[\\/]* ) as_myself=$0 ;;
89192 + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
89193 +for as_dir in $PATH
89194 +do
89195 + IFS=$as_save_IFS
89196 + test -z "$as_dir" && as_dir=.
89197 + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
89198 +done
89199 +IFS=$as_save_IFS
89200 +
89201 + ;;
89202 +esac
89203 +# We did not find ourselves, most probably we were run as `sh COMMAND'
89204 +# in which case we are not to be found in the path.
89205 +if test "x$as_myself" = x; then
89206 + as_myself=$0
89207 +fi
89208 +if test ! -f "$as_myself"; then
89209 + echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
89210 + { (exit 1); exit 1; }
89211 +fi
89212 +
89213 # Work around bugs in pre-3.0 UWIN ksh.
89214 -$as_unset ENV MAIL MAILPATH
89215 +for as_var in ENV MAIL MAILPATH
89216 +do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
89217 +done
89218 PS1='$ '
89219 PS2='> '
89220 PS4='+ '
89221 @@ -44,18 +108,19 @@
89222 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
89223 eval $as_var=C; export $as_var
89224 else
89225 - $as_unset $as_var
89226 + ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
89227 fi
89228 done
89229
89230 # Required to use basename.
89231 -if expr a : '\(a\)' >/dev/null 2>&1; then
89232 +if expr a : '\(a\)' >/dev/null 2>&1 &&
89233 + test "X`expr 00001 : '.*\(...\)'`" = X001; then
89234 as_expr=expr
89235 else
89236 as_expr=false
89237 fi
89238
89239 -if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
89240 +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
89241 as_basename=basename
89242 else
89243 as_basename=false
89244 @@ -63,157 +128,388 @@
89245
89246
89247 # Name of the executable.
89248 -as_me=`$as_basename "$0" ||
89249 +as_me=`$as_basename -- "$0" ||
89250 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
89251 X"$0" : 'X\(//\)$' \| \
89252 - X"$0" : 'X\(/\)$' \| \
89253 - . : '\(.\)' 2>/dev/null ||
89254 + X"$0" : 'X\(/\)' \| . 2>/dev/null ||
89255 echo X/"$0" |
89256 - sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
89257 - /^X\/\(\/\/\)$/{ s//\1/; q; }
89258 - /^X\/\(\/\).*/{ s//\1/; q; }
89259 - s/.*/./; q'`
89260 + sed '/^.*\/\([^/][^/]*\)\/*$/{
89261 + s//\1/
89262 + q
89263 + }
89264 + /^X\/\(\/\/\)$/{
89265 + s//\1/
89266 + q
89267 + }
89268 + /^X\/\(\/\).*/{
89269 + s//\1/
89270 + q
89271 + }
89272 + s/.*/./; q'`
89273
89274 +# CDPATH.
89275 +$as_unset CDPATH
89276
89277 -# PATH needs CR, and LINENO needs CR and PATH.
89278 -# Avoid depending upon Character Ranges.
89279 -as_cr_letters='abcdefghijklmnopqrstuvwxyz'
89280 -as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
89281 -as_cr_Letters=$as_cr_letters$as_cr_LETTERS
89282 -as_cr_digits='0123456789'
89283 -as_cr_alnum=$as_cr_Letters$as_cr_digits
89284
89285 -# The user is always right.
89286 -if test "${PATH_SEPARATOR+set}" != set; then
89287 - echo "#! /bin/sh" >conf$$.sh
89288 - echo "exit 0" >>conf$$.sh
89289 - chmod +x conf$$.sh
89290 - if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
89291 - PATH_SEPARATOR=';'
89292 - else
89293 - PATH_SEPARATOR=:
89294 - fi
89295 - rm -f conf$$.sh
89296 +if test "x$CONFIG_SHELL" = x; then
89297 + if (eval ":") 2>/dev/null; then
89298 + as_have_required=yes
89299 +else
89300 + as_have_required=no
89301 +fi
89302 +
89303 + if test $as_have_required = yes && (eval ":
89304 +(as_func_return () {
89305 + (exit \$1)
89306 +}
89307 +as_func_success () {
89308 + as_func_return 0
89309 +}
89310 +as_func_failure () {
89311 + as_func_return 1
89312 +}
89313 +as_func_ret_success () {
89314 + return 0
89315 +}
89316 +as_func_ret_failure () {
89317 + return 1
89318 +}
89319 +
89320 +exitcode=0
89321 +if as_func_success; then
89322 + :
89323 +else
89324 + exitcode=1
89325 + echo as_func_success failed.
89326 fi
89327
89328 +if as_func_failure; then
89329 + exitcode=1
89330 + echo as_func_failure succeeded.
89331 +fi
89332
89333 - as_lineno_1=$LINENO
89334 - as_lineno_2=$LINENO
89335 - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
89336 - test "x$as_lineno_1" != "x$as_lineno_2" &&
89337 - test "x$as_lineno_3" = "x$as_lineno_2" || {
89338 - # Find who we are. Look in the path if we contain no path at all
89339 - # relative or not.
89340 - case $0 in
89341 - *[\\/]* ) as_myself=$0 ;;
89342 - *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
89343 -for as_dir in $PATH
89344 -do
89345 - IFS=$as_save_IFS
89346 - test -z "$as_dir" && as_dir=.
89347 - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
89348 -done
89349 +if as_func_ret_success; then
89350 + :
89351 +else
89352 + exitcode=1
89353 + echo as_func_ret_success failed.
89354 +fi
89355
89356 - ;;
89357 - esac
89358 - # We did not find ourselves, most probably we were run as `sh COMMAND'
89359 - # in which case we are not to be found in the path.
89360 - if test "x$as_myself" = x; then
89361 - as_myself=$0
89362 - fi
89363 - if test ! -f "$as_myself"; then
89364 - { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
89365 - { (exit 1); exit 1; }; }
89366 - fi
89367 - case $CONFIG_SHELL in
89368 - '')
89369 +if as_func_ret_failure; then
89370 + exitcode=1
89371 + echo as_func_ret_failure succeeded.
89372 +fi
89373 +
89374 +if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
89375 + :
89376 +else
89377 + exitcode=1
89378 + echo positional parameters were not saved.
89379 +fi
89380 +
89381 +test \$exitcode = 0) || { (exit 1); exit 1; }
89382 +
89383 +(
89384 + as_lineno_1=\$LINENO
89385 + as_lineno_2=\$LINENO
89386 + test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
89387 + test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
89388 +") 2> /dev/null; then
89389 + :
89390 +else
89391 + as_candidate_shells=
89392 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
89393 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
89394 do
89395 IFS=$as_save_IFS
89396 test -z "$as_dir" && as_dir=.
89397 - for as_base in sh bash ksh sh5; do
89398 - case $as_dir in
89399 + case $as_dir in
89400 /*)
89401 - if ("$as_dir/$as_base" -c '
89402 + for as_base in sh bash ksh sh5; do
89403 + as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
89404 + done;;
89405 + esac
89406 +done
89407 +IFS=$as_save_IFS
89408 +
89409 +
89410 + for as_shell in $as_candidate_shells $SHELL; do
89411 + # Try only shells that exist, to save several forks.
89412 + if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
89413 + { ("$as_shell") 2> /dev/null <<\_ASEOF
89414 +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
89415 + emulate sh
89416 + NULLCMD=:
89417 + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
89418 + # is contrary to our usage. Disable this feature.
89419 + alias -g '${1+"$@"}'='"$@"'
89420 + setopt NO_GLOB_SUBST
89421 +else
89422 + case `(set -o) 2>/dev/null` in
89423 + *posix*) set -o posix ;;
89424 +esac
89425 +
89426 +fi
89427 +
89428 +
89429 +:
89430 +_ASEOF
89431 +}; then
89432 + CONFIG_SHELL=$as_shell
89433 + as_have_required=yes
89434 + if { "$as_shell" 2> /dev/null <<\_ASEOF
89435 +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
89436 + emulate sh
89437 + NULLCMD=:
89438 + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
89439 + # is contrary to our usage. Disable this feature.
89440 + alias -g '${1+"$@"}'='"$@"'
89441 + setopt NO_GLOB_SUBST
89442 +else
89443 + case `(set -o) 2>/dev/null` in
89444 + *posix*) set -o posix ;;
89445 +esac
89446 +
89447 +fi
89448 +
89449 +
89450 +:
89451 +(as_func_return () {
89452 + (exit $1)
89453 +}
89454 +as_func_success () {
89455 + as_func_return 0
89456 +}
89457 +as_func_failure () {
89458 + as_func_return 1
89459 +}
89460 +as_func_ret_success () {
89461 + return 0
89462 +}
89463 +as_func_ret_failure () {
89464 + return 1
89465 +}
89466 +
89467 +exitcode=0
89468 +if as_func_success; then
89469 + :
89470 +else
89471 + exitcode=1
89472 + echo as_func_success failed.
89473 +fi
89474 +
89475 +if as_func_failure; then
89476 + exitcode=1
89477 + echo as_func_failure succeeded.
89478 +fi
89479 +
89480 +if as_func_ret_success; then
89481 + :
89482 +else
89483 + exitcode=1
89484 + echo as_func_ret_success failed.
89485 +fi
89486 +
89487 +if as_func_ret_failure; then
89488 + exitcode=1
89489 + echo as_func_ret_failure succeeded.
89490 +fi
89491 +
89492 +if ( set x; as_func_ret_success y && test x = "$1" ); then
89493 + :
89494 +else
89495 + exitcode=1
89496 + echo positional parameters were not saved.
89497 +fi
89498 +
89499 +test $exitcode = 0) || { (exit 1); exit 1; }
89500 +
89501 +(
89502 as_lineno_1=$LINENO
89503 as_lineno_2=$LINENO
89504 - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
89505 test "x$as_lineno_1" != "x$as_lineno_2" &&
89506 - test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
89507 - $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
89508 - $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
89509 - CONFIG_SHELL=$as_dir/$as_base
89510 - export CONFIG_SHELL
89511 - exec "$CONFIG_SHELL" "$0" ${1+"$@"}
89512 - fi;;
89513 - esac
89514 - done
89515 -done
89516 -;;
89517 - esac
89518 + test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
89519 +
89520 +_ASEOF
89521 +}; then
89522 + break
89523 +fi
89524 +
89525 +fi
89526 +
89527 + done
89528 +
89529 + if test "x$CONFIG_SHELL" != x; then
89530 + for as_var in BASH_ENV ENV
89531 + do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
89532 + done
89533 + export CONFIG_SHELL
89534 + exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
89535 +fi
89536 +
89537 +
89538 + if test $as_have_required = no; then
89539 + echo This script requires a shell more modern than all the
89540 + echo shells that I found on your system. Please install a
89541 + echo modern shell, or manually run the script under such a
89542 + echo shell if you do have one.
89543 + { (exit 1); exit 1; }
89544 +fi
89545 +
89546 +
89547 +fi
89548 +
89549 +fi
89550 +
89551 +
89552 +
89553 +(eval "as_func_return () {
89554 + (exit \$1)
89555 +}
89556 +as_func_success () {
89557 + as_func_return 0
89558 +}
89559 +as_func_failure () {
89560 + as_func_return 1
89561 +}
89562 +as_func_ret_success () {
89563 + return 0
89564 +}
89565 +as_func_ret_failure () {
89566 + return 1
89567 +}
89568 +
89569 +exitcode=0
89570 +if as_func_success; then
89571 + :
89572 +else
89573 + exitcode=1
89574 + echo as_func_success failed.
89575 +fi
89576 +
89577 +if as_func_failure; then
89578 + exitcode=1
89579 + echo as_func_failure succeeded.
89580 +fi
89581 +
89582 +if as_func_ret_success; then
89583 + :
89584 +else
89585 + exitcode=1
89586 + echo as_func_ret_success failed.
89587 +fi
89588 +
89589 +if as_func_ret_failure; then
89590 + exitcode=1
89591 + echo as_func_ret_failure succeeded.
89592 +fi
89593 +
89594 +if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
89595 + :
89596 +else
89597 + exitcode=1
89598 + echo positional parameters were not saved.
89599 +fi
89600 +
89601 +test \$exitcode = 0") || {
89602 + echo No shell found that supports shell functions.
89603 + echo Please tell autoconf@gnu.org about your system,
89604 + echo including any error possibly output before this
89605 + echo message
89606 +}
89607 +
89608 +
89609 +
89610 + as_lineno_1=$LINENO
89611 + as_lineno_2=$LINENO
89612 + test "x$as_lineno_1" != "x$as_lineno_2" &&
89613 + test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
89614
89615 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
89616 # uniformly replaced by the line number. The first 'sed' inserts a
89617 - # line-number line before each line; the second 'sed' does the real
89618 - # work. The second script uses 'N' to pair each line-number line
89619 - # with the numbered line, and appends trailing '-' during
89620 - # substitution so that $LINENO is not a special case at line end.
89621 + # line-number line after each line using $LINENO; the second 'sed'
89622 + # does the real work. The second script uses 'N' to pair each
89623 + # line-number line with the line containing $LINENO, and appends
89624 + # trailing '-' during substitution so that $LINENO is not a special
89625 + # case at line end.
89626 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
89627 - # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
89628 - sed '=' <$as_myself |
89629 + # scripts with optimization help from Paolo Bonzini. Blame Lee
89630 + # E. McMahon (1931-1989) for sed's syntax. :-)
89631 + sed -n '
89632 + p
89633 + /[$]LINENO/=
89634 + ' <$as_myself |
89635 sed '
89636 + s/[$]LINENO.*/&-/
89637 + t lineno
89638 + b
89639 + :lineno
89640 N
89641 - s,$,-,
89642 - : loop
89643 - s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
89644 + :loop
89645 + s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
89646 t loop
89647 - s,-$,,
89648 - s,^['$as_cr_digits']*\n,,
89649 + s/-\n.*//
89650 ' >$as_me.lineno &&
89651 - chmod +x $as_me.lineno ||
89652 + chmod +x "$as_me.lineno" ||
89653 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
89654 { (exit 1); exit 1; }; }
89655
89656 # Don't try to exec as it changes $[0], causing all sort of problems
89657 # (the dirname of $[0] is not the place where we might find the
89658 - # original and so on. Autoconf is especially sensible to this).
89659 - . ./$as_me.lineno
89660 + # original and so on. Autoconf is especially sensitive to this).
89661 + . "./$as_me.lineno"
89662 # Exit status is that of the last command.
89663 exit
89664 }
89665
89666
89667 -case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
89668 - *c*,-n*) ECHO_N= ECHO_C='
89669 -' ECHO_T=' ' ;;
89670 - *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
89671 - *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
89672 +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
89673 + as_dirname=dirname
89674 +else
89675 + as_dirname=false
89676 +fi
89677 +
89678 +ECHO_C= ECHO_N= ECHO_T=
89679 +case `echo -n x` in
89680 +-n*)
89681 + case `echo 'x\c'` in
89682 + *c*) ECHO_T=' ';; # ECHO_T is single tab character.
89683 + *) ECHO_C='\c';;
89684 + esac;;
89685 +*)
89686 + ECHO_N='-n';;
89687 esac
89688
89689 -if expr a : '\(a\)' >/dev/null 2>&1; then
89690 +if expr a : '\(a\)' >/dev/null 2>&1 &&
89691 + test "X`expr 00001 : '.*\(...\)'`" = X001; then
89692 as_expr=expr
89693 else
89694 as_expr=false
89695 fi
89696
89697 rm -f conf$$ conf$$.exe conf$$.file
89698 +if test -d conf$$.dir; then
89699 + rm -f conf$$.dir/conf$$.file
89700 +else
89701 + rm -f conf$$.dir
89702 + mkdir conf$$.dir
89703 +fi
89704 echo >conf$$.file
89705 if ln -s conf$$.file conf$$ 2>/dev/null; then
89706 - # We could just check for DJGPP; but this test a) works b) is more generic
89707 - # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
89708 - if test -f conf$$.exe; then
89709 - # Don't use ln at all; we don't have any links
89710 + as_ln_s='ln -s'
89711 + # ... but there are two gotchas:
89712 + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
89713 + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
89714 + # In both cases, we have to default to `cp -p'.
89715 + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
89716 as_ln_s='cp -p'
89717 - else
89718 - as_ln_s='ln -s'
89719 - fi
89720 elif ln conf$$.file conf$$ 2>/dev/null; then
89721 as_ln_s=ln
89722 else
89723 as_ln_s='cp -p'
89724 fi
89725 -rm -f conf$$ conf$$.exe conf$$.file
89726 +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
89727 +rmdir conf$$.dir 2>/dev/null
89728
89729 if mkdir -p . 2>/dev/null; then
89730 as_mkdir_p=:
89731 @@ -222,7 +518,28 @@
89732 as_mkdir_p=false
89733 fi
89734
89735 -as_executable_p="test -f"
89736 +if test -x / >/dev/null 2>&1; then
89737 + as_test_x='test -x'
89738 +else
89739 + if ls -dL / >/dev/null 2>&1; then
89740 + as_ls_L_option=L
89741 + else
89742 + as_ls_L_option=
89743 + fi
89744 + as_test_x='
89745 + eval sh -c '\''
89746 + if test -d "$1"; then
89747 + test -d "$1/.";
89748 + else
89749 + case $1 in
89750 + -*)set "./$1";;
89751 + esac;
89752 + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
89753 + ???[sx]*):;;*)false;;esac;fi
89754 + '\'' sh
89755 + '
89756 +fi
89757 +as_executable_p=$as_test_x
89758
89759 # Sed expression to map a string onto a valid CPP name.
89760 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
89761 @@ -231,39 +548,27 @@
89762 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
89763
89764
89765 -# IFS
89766 -# We need space, tab and new line, in precisely that order.
89767 -as_nl='
89768 -'
89769 -IFS=" $as_nl"
89770 -
89771 -# CDPATH.
89772 -$as_unset CDPATH
89773
89774 +exec 7<&0 </dev/null 6>&1
89775
89776 # Name of the host.
89777 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
89778 # so uname gets run too.
89779 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
89780
89781 -exec 6>&1
89782 -
89783 #
89784 # Initializations.
89785 #
89786 ac_default_prefix=/usr/local
89787 +ac_clean_files=
89788 ac_config_libobj_dir=.
89789 +LIBOBJS=
89790 cross_compiling=no
89791 subdirs=
89792 MFLAGS=
89793 MAKEFLAGS=
89794 SHELL=${CONFIG_SHELL-/bin/sh}
89795
89796 -# Maximum number of lines to put in a shell here document.
89797 -# This variable seems obsolete. It should probably be removed, and
89798 -# only ac_max_sed_lines should be used.
89799 -: ${ac_max_here_lines=38}
89800 -
89801 # Identity of this package.
89802 PACKAGE_NAME=
89803 PACKAGE_TARNAME=
89804 @@ -275,42 +580,187 @@
89805 # Factoring default headers for most tests.
89806 ac_includes_default="\
89807 #include <stdio.h>
89808 -#if HAVE_SYS_TYPES_H
89809 +#ifdef HAVE_SYS_TYPES_H
89810 # include <sys/types.h>
89811 #endif
89812 -#if HAVE_SYS_STAT_H
89813 +#ifdef HAVE_SYS_STAT_H
89814 # include <sys/stat.h>
89815 #endif
89816 -#if STDC_HEADERS
89817 +#ifdef STDC_HEADERS
89818 # include <stdlib.h>
89819 # include <stddef.h>
89820 #else
89821 -# if HAVE_STDLIB_H
89822 +# ifdef HAVE_STDLIB_H
89823 # include <stdlib.h>
89824 # endif
89825 #endif
89826 -#if HAVE_STRING_H
89827 -# if !STDC_HEADERS && HAVE_MEMORY_H
89828 +#ifdef HAVE_STRING_H
89829 +# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
89830 # include <memory.h>
89831 # endif
89832 # include <string.h>
89833 #endif
89834 -#if HAVE_STRINGS_H
89835 +#ifdef HAVE_STRINGS_H
89836 # include <strings.h>
89837 #endif
89838 -#if HAVE_INTTYPES_H
89839 +#ifdef HAVE_INTTYPES_H
89840 # include <inttypes.h>
89841 -#else
89842 -# if HAVE_STDINT_H
89843 -# include <stdint.h>
89844 -# endif
89845 #endif
89846 -#if HAVE_UNISTD_H
89847 +#ifdef HAVE_STDINT_H
89848 +# include <stdint.h>
89849 +#endif
89850 +#ifdef HAVE_UNISTD_H
89851 # include <unistd.h>
89852 #endif"
89853
89854 -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'
89855 +ac_subst_vars='SHELL
89856 +PATH_SEPARATOR
89857 +PACKAGE_NAME
89858 +PACKAGE_TARNAME
89859 +PACKAGE_VERSION
89860 +PACKAGE_STRING
89861 +PACKAGE_BUGREPORT
89862 +exec_prefix
89863 +prefix
89864 +program_transform_name
89865 +bindir
89866 +sbindir
89867 +libexecdir
89868 +datarootdir
89869 +datadir
89870 +sysconfdir
89871 +sharedstatedir
89872 +localstatedir
89873 +includedir
89874 +oldincludedir
89875 +docdir
89876 +infodir
89877 +htmldir
89878 +dvidir
89879 +pdfdir
89880 +psdir
89881 +libdir
89882 +localedir
89883 +mandir
89884 +DEFS
89885 +ECHO_C
89886 +ECHO_N
89887 +ECHO_T
89888 +LIBS
89889 +build_alias
89890 +host_alias
89891 +target_alias
89892 +build
89893 +build_cpu
89894 +build_vendor
89895 +build_os
89896 +host
89897 +host_cpu
89898 +host_vendor
89899 +host_os
89900 +target
89901 +target_cpu
89902 +target_vendor
89903 +target_os
89904 +CC
89905 +CFLAGS
89906 +LDFLAGS
89907 +CPPFLAGS
89908 +ac_ct_CC
89909 +EXEEXT
89910 +OBJEXT
89911 +INSTALL_PROGRAM
89912 +INSTALL_SCRIPT
89913 +INSTALL_DATA
89914 +CYGPATH_W
89915 +PACKAGE
89916 +VERSION
89917 +ACLOCAL
89918 +AUTOCONF
89919 +AUTOMAKE
89920 +AUTOHEADER
89921 +MAKEINFO
89922 +install_sh
89923 +STRIP
89924 +INSTALL_STRIP_PROGRAM
89925 +mkdir_p
89926 +AWK
89927 +SET_MAKE
89928 +am__leading_dot
89929 +AMTAR
89930 +am__tar
89931 +am__untar
89932 +DEPDIR
89933 +am__include
89934 +am__quote
89935 +AMDEP_TRUE
89936 +AMDEP_FALSE
89937 +AMDEPBACKSLASH
89938 +CCDEPMODE
89939 +am__fastdepCC_TRUE
89940 +am__fastdepCC_FALSE
89941 +AR
89942 +RANLIB
89943 +LN_S
89944 +LIBTOOL
89945 +WARN_CFLAGS
89946 +NO_WERROR
89947 +MAINTAINER_MODE_TRUE
89948 +MAINTAINER_MODE_FALSE
89949 +MAINT
89950 +INSTALL_LIBBFD_TRUE
89951 +INSTALL_LIBBFD_FALSE
89952 +host_noncanonical
89953 +target_noncanonical
89954 +bfdlibdir
89955 +bfdincludedir
89956 +CPP
89957 +GREP
89958 +EGREP
89959 +ALLOCA
89960 +USE_NLS
89961 +MSGFMT
89962 +GMSGFMT
89963 +XGETTEXT
89964 +USE_INCLUDED_LIBINTL
89965 +CATALOGS
89966 +CATOBJEXT
89967 +DATADIRNAME
89968 +GMOFILES
89969 +INSTOBJEXT
89970 +INTLDEPS
89971 +INTLLIBS
89972 +INTLOBJS
89973 +POFILES
89974 +POSUB
89975 +INCLUDE_LOCALE_H
89976 +GT_NO
89977 +GT_YES
89978 +MKINSTALLDIRS
89979 +l
89980 +CC_FOR_BUILD
89981 +EXEEXT_FOR_BUILD
89982 +HDEFINES
89983 +CGEN_MAINT_TRUE
89984 +CGEN_MAINT_FALSE
89985 +cgendir
89986 +WIN32LDFLAGS
89987 +WIN32LIBADD
89988 +archdefs
89989 +BFD_MACHINES
89990 +LIBOBJS
89991 +LTLIBOBJS'
89992 ac_subst_files=''
89993 + ac_precious_vars='build_alias
89994 +host_alias
89995 +target_alias
89996 +CC
89997 +CFLAGS
89998 +LDFLAGS
89999 +LIBS
90000 +CPPFLAGS
90001 +CPP'
90002 +
90003
90004 # Initialize some variables set by options.
90005 ac_init_help=
90006 @@ -337,34 +787,48 @@
90007 # and all the variables that are supposed to be based on exec_prefix
90008 # by default will actually change.
90009 # Use braces instead of parens because sh, perl, etc. also accept them.
90010 +# (The list follows the same order as the GNU Coding Standards.)
90011 bindir='${exec_prefix}/bin'
90012 sbindir='${exec_prefix}/sbin'
90013 libexecdir='${exec_prefix}/libexec'
90014 -datadir='${prefix}/share'
90015 +datarootdir='${prefix}/share'
90016 +datadir='${datarootdir}'
90017 sysconfdir='${prefix}/etc'
90018 sharedstatedir='${prefix}/com'
90019 localstatedir='${prefix}/var'
90020 -libdir='${exec_prefix}/lib'
90021 includedir='${prefix}/include'
90022 oldincludedir='/usr/include'
90023 -infodir='${prefix}/info'
90024 -mandir='${prefix}/man'
90025 +docdir='${datarootdir}/doc/${PACKAGE}'
90026 +infodir='${datarootdir}/info'
90027 +htmldir='${docdir}'
90028 +dvidir='${docdir}'
90029 +pdfdir='${docdir}'
90030 +psdir='${docdir}'
90031 +libdir='${exec_prefix}/lib'
90032 +localedir='${datarootdir}/locale'
90033 +mandir='${datarootdir}/man'
90034
90035 ac_prev=
90036 +ac_dashdash=
90037 for ac_option
90038 do
90039 # If the previous option needs an argument, assign it.
90040 if test -n "$ac_prev"; then
90041 - eval "$ac_prev=\$ac_option"
90042 + eval $ac_prev=\$ac_option
90043 ac_prev=
90044 continue
90045 fi
90046
90047 - ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
90048 + case $ac_option in
90049 + *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
90050 + *) ac_optarg=yes ;;
90051 + esac
90052
90053 # Accept the important Cygnus configure options, so we can diagnose typos.
90054
90055 - case $ac_option in
90056 + case $ac_dashdash$ac_option in
90057 + --)
90058 + ac_dashdash=yes ;;
90059
90060 -bindir | --bindir | --bindi | --bind | --bin | --bi)
90061 ac_prev=bindir ;;
90062 @@ -386,33 +850,45 @@
90063 --config-cache | -C)
90064 cache_file=config.cache ;;
90065
90066 - -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
90067 + -datadir | --datadir | --datadi | --datad)
90068 ac_prev=datadir ;;
90069 - -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
90070 - | --da=*)
90071 + -datadir=* | --datadir=* | --datadi=* | --datad=*)
90072 datadir=$ac_optarg ;;
90073
90074 + -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
90075 + | --dataroo | --dataro | --datar)
90076 + ac_prev=datarootdir ;;
90077 + -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
90078 + | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
90079 + datarootdir=$ac_optarg ;;
90080 +
90081 -disable-* | --disable-*)
90082 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
90083 # Reject names that are not valid shell variable names.
90084 - expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
90085 + expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
90086 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
90087 { (exit 1); exit 1; }; }
90088 - ac_feature=`echo $ac_feature | sed 's/-/_/g'`
90089 - eval "enable_$ac_feature=no" ;;
90090 + ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
90091 + eval enable_$ac_feature=no ;;
90092 +
90093 + -docdir | --docdir | --docdi | --doc | --do)
90094 + ac_prev=docdir ;;
90095 + -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
90096 + docdir=$ac_optarg ;;
90097 +
90098 + -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
90099 + ac_prev=dvidir ;;
90100 + -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
90101 + dvidir=$ac_optarg ;;
90102
90103 -enable-* | --enable-*)
90104 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
90105 # Reject names that are not valid shell variable names.
90106 - expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
90107 + expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
90108 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
90109 { (exit 1); exit 1; }; }
90110 - ac_feature=`echo $ac_feature | sed 's/-/_/g'`
90111 - case $ac_option in
90112 - *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
90113 - *) ac_optarg=yes ;;
90114 - esac
90115 - eval "enable_$ac_feature='$ac_optarg'" ;;
90116 + ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
90117 + eval enable_$ac_feature=\$ac_optarg ;;
90118
90119 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
90120 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
90121 @@ -439,6 +915,12 @@
90122 -host=* | --host=* | --hos=* | --ho=*)
90123 host_alias=$ac_optarg ;;
90124
90125 + -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
90126 + ac_prev=htmldir ;;
90127 + -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
90128 + | --ht=*)
90129 + htmldir=$ac_optarg ;;
90130 +
90131 -includedir | --includedir | --includedi | --included | --include \
90132 | --includ | --inclu | --incl | --inc)
90133 ac_prev=includedir ;;
90134 @@ -463,13 +945,16 @@
90135 | --libexe=* | --libex=* | --libe=*)
90136 libexecdir=$ac_optarg ;;
90137
90138 + -localedir | --localedir | --localedi | --localed | --locale)
90139 + ac_prev=localedir ;;
90140 + -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
90141 + localedir=$ac_optarg ;;
90142 +
90143 -localstatedir | --localstatedir | --localstatedi | --localstated \
90144 - | --localstate | --localstat | --localsta | --localst \
90145 - | --locals | --local | --loca | --loc | --lo)
90146 + | --localstate | --localstat | --localsta | --localst | --locals)
90147 ac_prev=localstatedir ;;
90148 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
90149 - | --localstate=* | --localstat=* | --localsta=* | --localst=* \
90150 - | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
90151 + | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
90152 localstatedir=$ac_optarg ;;
90153
90154 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
90155 @@ -534,6 +1019,16 @@
90156 | --progr-tra=* | --program-tr=* | --program-t=*)
90157 program_transform_name=$ac_optarg ;;
90158
90159 + -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
90160 + ac_prev=pdfdir ;;
90161 + -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
90162 + pdfdir=$ac_optarg ;;
90163 +
90164 + -psdir | --psdir | --psdi | --psd | --ps)
90165 + ac_prev=psdir ;;
90166 + -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
90167 + psdir=$ac_optarg ;;
90168 +
90169 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
90170 | -silent | --silent | --silen | --sile | --sil)
90171 silent=yes ;;
90172 @@ -586,24 +1081,20 @@
90173 -with-* | --with-*)
90174 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
90175 # Reject names that are not valid shell variable names.
90176 - expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
90177 + expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
90178 { echo "$as_me: error: invalid package name: $ac_package" >&2
90179 { (exit 1); exit 1; }; }
90180 - ac_package=`echo $ac_package| sed 's/-/_/g'`
90181 - case $ac_option in
90182 - *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
90183 - *) ac_optarg=yes ;;
90184 - esac
90185 - eval "with_$ac_package='$ac_optarg'" ;;
90186 + ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
90187 + eval with_$ac_package=\$ac_optarg ;;
90188
90189 -without-* | --without-*)
90190 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
90191 # Reject names that are not valid shell variable names.
90192 - expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
90193 + expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
90194 { echo "$as_me: error: invalid package name: $ac_package" >&2
90195 { (exit 1); exit 1; }; }
90196 - ac_package=`echo $ac_package | sed 's/-/_/g'`
90197 - eval "with_$ac_package=no" ;;
90198 + ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
90199 + eval with_$ac_package=no ;;
90200
90201 --x)
90202 # Obsolete; use --with-x.
90203 @@ -634,8 +1125,7 @@
90204 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
90205 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
90206 { (exit 1); exit 1; }; }
90207 - ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
90208 - eval "$ac_envvar='$ac_optarg'"
90209 + eval $ac_envvar=\$ac_optarg
90210 export $ac_envvar ;;
90211
90212 *)
90213 @@ -655,27 +1145,19 @@
90214 { (exit 1); exit 1; }; }
90215 fi
90216
90217 -# Be sure to have absolute paths.
90218 -for ac_var in exec_prefix prefix
90219 -do
90220 - eval ac_val=$`echo $ac_var`
90221 - case $ac_val in
90222 - [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
90223 - *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
90224 - { (exit 1); exit 1; }; };;
90225 - esac
90226 -done
90227 -
90228 -# Be sure to have absolute paths.
90229 -for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
90230 - localstatedir libdir includedir oldincludedir infodir mandir
90231 +# Be sure to have absolute directory names.
90232 +for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
90233 + datadir sysconfdir sharedstatedir localstatedir includedir \
90234 + oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
90235 + libdir localedir mandir
90236 do
90237 - eval ac_val=$`echo $ac_var`
90238 + eval ac_val=\$$ac_var
90239 case $ac_val in
90240 - [\\/$]* | ?:[\\/]* ) ;;
90241 - *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
90242 - { (exit 1); exit 1; }; };;
90243 + [\\/$]* | ?:[\\/]* ) continue;;
90244 + NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
90245 esac
90246 + { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
90247 + { (exit 1); exit 1; }; }
90248 done
90249
90250 # There might be people who depend on the old broken behavior: `$host'
90251 @@ -702,74 +1184,76 @@
90252 test "$silent" = yes && exec 6>/dev/null
90253
90254
90255 +ac_pwd=`pwd` && test -n "$ac_pwd" &&
90256 +ac_ls_di=`ls -di .` &&
90257 +ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
90258 + { echo "$as_me: error: Working directory cannot be determined" >&2
90259 + { (exit 1); exit 1; }; }
90260 +test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
90261 + { echo "$as_me: error: pwd does not report name of working directory" >&2
90262 + { (exit 1); exit 1; }; }
90263 +
90264 +
90265 # Find the source files, if location was not specified.
90266 if test -z "$srcdir"; then
90267 ac_srcdir_defaulted=yes
90268 - # Try the directory containing this script, then its parent.
90269 - ac_confdir=`(dirname "$0") 2>/dev/null ||
90270 + # Try the directory containing this script, then the parent directory.
90271 + ac_confdir=`$as_dirname -- "$0" ||
90272 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
90273 X"$0" : 'X\(//\)[^/]' \| \
90274 X"$0" : 'X\(//\)$' \| \
90275 - X"$0" : 'X\(/\)' \| \
90276 - . : '\(.\)' 2>/dev/null ||
90277 + X"$0" : 'X\(/\)' \| . 2>/dev/null ||
90278 echo X"$0" |
90279 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
90280 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
90281 - /^X\(\/\/\)$/{ s//\1/; q; }
90282 - /^X\(\/\).*/{ s//\1/; q; }
90283 - s/.*/./; q'`
90284 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
90285 + s//\1/
90286 + q
90287 + }
90288 + /^X\(\/\/\)[^/].*/{
90289 + s//\1/
90290 + q
90291 + }
90292 + /^X\(\/\/\)$/{
90293 + s//\1/
90294 + q
90295 + }
90296 + /^X\(\/\).*/{
90297 + s//\1/
90298 + q
90299 + }
90300 + s/.*/./; q'`
90301 srcdir=$ac_confdir
90302 - if test ! -r $srcdir/$ac_unique_file; then
90303 + if test ! -r "$srcdir/$ac_unique_file"; then
90304 srcdir=..
90305 fi
90306 else
90307 ac_srcdir_defaulted=no
90308 fi
90309 -if test ! -r $srcdir/$ac_unique_file; then
90310 - if test "$ac_srcdir_defaulted" = yes; then
90311 - { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
90312 - { (exit 1); exit 1; }; }
90313 - else
90314 - { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
90315 - { (exit 1); exit 1; }; }
90316 - fi
90317 -fi
90318 -(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
90319 - { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
90320 - { (exit 1); exit 1; }; }
90321 -srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
90322 -ac_env_build_alias_set=${build_alias+set}
90323 -ac_env_build_alias_value=$build_alias
90324 -ac_cv_env_build_alias_set=${build_alias+set}
90325 -ac_cv_env_build_alias_value=$build_alias
90326 -ac_env_host_alias_set=${host_alias+set}
90327 -ac_env_host_alias_value=$host_alias
90328 -ac_cv_env_host_alias_set=${host_alias+set}
90329 -ac_cv_env_host_alias_value=$host_alias
90330 -ac_env_target_alias_set=${target_alias+set}
90331 -ac_env_target_alias_value=$target_alias
90332 -ac_cv_env_target_alias_set=${target_alias+set}
90333 -ac_cv_env_target_alias_value=$target_alias
90334 -ac_env_CC_set=${CC+set}
90335 -ac_env_CC_value=$CC
90336 -ac_cv_env_CC_set=${CC+set}
90337 -ac_cv_env_CC_value=$CC
90338 -ac_env_CFLAGS_set=${CFLAGS+set}
90339 -ac_env_CFLAGS_value=$CFLAGS
90340 -ac_cv_env_CFLAGS_set=${CFLAGS+set}
90341 -ac_cv_env_CFLAGS_value=$CFLAGS
90342 -ac_env_LDFLAGS_set=${LDFLAGS+set}
90343 -ac_env_LDFLAGS_value=$LDFLAGS
90344 -ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
90345 -ac_cv_env_LDFLAGS_value=$LDFLAGS
90346 -ac_env_CPPFLAGS_set=${CPPFLAGS+set}
90347 -ac_env_CPPFLAGS_value=$CPPFLAGS
90348 -ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
90349 -ac_cv_env_CPPFLAGS_value=$CPPFLAGS
90350 -ac_env_CPP_set=${CPP+set}
90351 -ac_env_CPP_value=$CPP
90352 -ac_cv_env_CPP_set=${CPP+set}
90353 -ac_cv_env_CPP_value=$CPP
90354 +if test ! -r "$srcdir/$ac_unique_file"; then
90355 + test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
90356 + { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
90357 + { (exit 1); exit 1; }; }
90358 +fi
90359 +ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
90360 +ac_abs_confdir=`(
90361 + cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
90362 + { (exit 1); exit 1; }; }
90363 + pwd)`
90364 +# When building in place, set srcdir=.
90365 +if test "$ac_abs_confdir" = "$ac_pwd"; then
90366 + srcdir=.
90367 +fi
90368 +# Remove unnecessary trailing slashes from srcdir.
90369 +# Double slashes in file names in object file debugging info
90370 +# mess up M-x gdb in Emacs.
90371 +case $srcdir in
90372 +*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
90373 +esac
90374 +for ac_var in $ac_precious_vars; do
90375 + eval ac_env_${ac_var}_set=\${${ac_var}+set}
90376 + eval ac_env_${ac_var}_value=\$${ac_var}
90377 + eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
90378 + eval ac_cv_env_${ac_var}_value=\$${ac_var}
90379 +done
90380
90381 #
90382 # Report the --help message.
90383 @@ -798,9 +1282,6 @@
90384 -n, --no-create do not create output files
90385 --srcdir=DIR find the sources in DIR [configure dir or \`..']
90386
90387 -_ACEOF
90388 -
90389 - cat <<_ACEOF
90390 Installation directories:
90391 --prefix=PREFIX install architecture-independent files in PREFIX
90392 [$ac_default_prefix]
90393 @@ -818,15 +1299,22 @@
90394 --bindir=DIR user executables [EPREFIX/bin]
90395 --sbindir=DIR system admin executables [EPREFIX/sbin]
90396 --libexecdir=DIR program executables [EPREFIX/libexec]
90397 - --datadir=DIR read-only architecture-independent data [PREFIX/share]
90398 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
90399 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
90400 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
90401 --libdir=DIR object code libraries [EPREFIX/lib]
90402 --includedir=DIR C header files [PREFIX/include]
90403 --oldincludedir=DIR C header files for non-gcc [/usr/include]
90404 - --infodir=DIR info documentation [PREFIX/info]
90405 - --mandir=DIR man documentation [PREFIX/man]
90406 + --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
90407 + --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
90408 + --infodir=DIR info documentation [DATAROOTDIR/info]
90409 + --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
90410 + --mandir=DIR man documentation [DATAROOTDIR/man]
90411 + --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
90412 + --htmldir=DIR html documentation [DOCDIR]
90413 + --dvidir=DIR dvi documentation [DOCDIR]
90414 + --pdfdir=DIR pdf documentation [DOCDIR]
90415 + --psdir=DIR ps documentation [DOCDIR]
90416 _ACEOF
90417
90418 cat <<\_ACEOF
90419 @@ -878,126 +1366,95 @@
90420 CFLAGS C compiler flags
90421 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
90422 nonstandard directory <lib dir>
90423 - CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
90424 - headers in a nonstandard directory <include dir>
90425 + LIBS libraries to pass to the linker, e.g. -l<library>
90426 + CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
90427 + you have headers in a nonstandard directory <include dir>
90428 CPP C preprocessor
90429
90430 Use these variables to override the choices made by `configure' or to help
90431 it to find libraries and programs with nonstandard names/locations.
90432
90433 _ACEOF
90434 +ac_status=$?
90435 fi
90436
90437 if test "$ac_init_help" = "recursive"; then
90438 # If there are subdirs, report their specific --help.
90439 - ac_popdir=`pwd`
90440 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
90441 - test -d $ac_dir || continue
90442 + test -d "$ac_dir" || continue
90443 ac_builddir=.
90444
90445 -if test "$ac_dir" != .; then
90446 +case "$ac_dir" in
90447 +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
90448 +*)
90449 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
90450 - # A "../" for each directory in $ac_dir_suffix.
90451 - ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
90452 -else
90453 - ac_dir_suffix= ac_top_builddir=
90454 -fi
90455 + # A ".." for each directory in $ac_dir_suffix.
90456 + ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
90457 + case $ac_top_builddir_sub in
90458 + "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
90459 + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
90460 + esac ;;
90461 +esac
90462 +ac_abs_top_builddir=$ac_pwd
90463 +ac_abs_builddir=$ac_pwd$ac_dir_suffix
90464 +# for backward compatibility:
90465 +ac_top_builddir=$ac_top_build_prefix
90466
90467 case $srcdir in
90468 - .) # No --srcdir option. We are building in place.
90469 + .) # We are building in place.
90470 ac_srcdir=.
90471 - if test -z "$ac_top_builddir"; then
90472 - ac_top_srcdir=.
90473 - else
90474 - ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
90475 - fi ;;
90476 - [\\/]* | ?:[\\/]* ) # Absolute path.
90477 + ac_top_srcdir=$ac_top_builddir_sub
90478 + ac_abs_top_srcdir=$ac_pwd ;;
90479 + [\\/]* | ?:[\\/]* ) # Absolute name.
90480 ac_srcdir=$srcdir$ac_dir_suffix;
90481 - ac_top_srcdir=$srcdir ;;
90482 - *) # Relative path.
90483 - ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
90484 - ac_top_srcdir=$ac_top_builddir$srcdir ;;
90485 -esac
90486 -
90487 -# Do not use `cd foo && pwd` to compute absolute paths, because
90488 -# the directories may not exist.
90489 -case `pwd` in
90490 -.) ac_abs_builddir="$ac_dir";;
90491 -*)
90492 - case "$ac_dir" in
90493 - .) ac_abs_builddir=`pwd`;;
90494 - [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
90495 - *) ac_abs_builddir=`pwd`/"$ac_dir";;
90496 - esac;;
90497 -esac
90498 -case $ac_abs_builddir in
90499 -.) ac_abs_top_builddir=${ac_top_builddir}.;;
90500 -*)
90501 - case ${ac_top_builddir}. in
90502 - .) ac_abs_top_builddir=$ac_abs_builddir;;
90503 - [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
90504 - *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
90505 - esac;;
90506 -esac
90507 -case $ac_abs_builddir in
90508 -.) ac_abs_srcdir=$ac_srcdir;;
90509 -*)
90510 - case $ac_srcdir in
90511 - .) ac_abs_srcdir=$ac_abs_builddir;;
90512 - [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
90513 - *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
90514 - esac;;
90515 -esac
90516 -case $ac_abs_builddir in
90517 -.) ac_abs_top_srcdir=$ac_top_srcdir;;
90518 -*)
90519 - case $ac_top_srcdir in
90520 - .) ac_abs_top_srcdir=$ac_abs_builddir;;
90521 - [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
90522 - *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
90523 - esac;;
90524 -esac
90525 -
90526 - cd $ac_dir
90527 - # Check for guested configure; otherwise get Cygnus style configure.
90528 - if test -f $ac_srcdir/configure.gnu; then
90529 - echo
90530 - $SHELL $ac_srcdir/configure.gnu --help=recursive
90531 - elif test -f $ac_srcdir/configure; then
90532 - echo
90533 - $SHELL $ac_srcdir/configure --help=recursive
90534 - elif test -f $ac_srcdir/configure.ac ||
90535 - test -f $ac_srcdir/configure.in; then
90536 - echo
90537 - $ac_configure --help
90538 + ac_top_srcdir=$srcdir
90539 + ac_abs_top_srcdir=$srcdir ;;
90540 + *) # Relative name.
90541 + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
90542 + ac_top_srcdir=$ac_top_build_prefix$srcdir
90543 + ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
90544 +esac
90545 +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
90546 +
90547 + cd "$ac_dir" || { ac_status=$?; continue; }
90548 + # Check for guested configure.
90549 + if test -f "$ac_srcdir/configure.gnu"; then
90550 + echo &&
90551 + $SHELL "$ac_srcdir/configure.gnu" --help=recursive
90552 + elif test -f "$ac_srcdir/configure"; then
90553 + echo &&
90554 + $SHELL "$ac_srcdir/configure" --help=recursive
90555 else
90556 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
90557 - fi
90558 - cd $ac_popdir
90559 + fi || ac_status=$?
90560 + cd "$ac_pwd" || { ac_status=$?; break; }
90561 done
90562 fi
90563
90564 -test -n "$ac_init_help" && exit 0
90565 +test -n "$ac_init_help" && exit $ac_status
90566 if $ac_init_version; then
90567 cat <<\_ACEOF
90568 +configure
90569 +generated by GNU Autoconf 2.61
90570
90571 -Copyright (C) 2003 Free Software Foundation, Inc.
90572 +Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
90573 +2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
90574 This configure script is free software; the Free Software Foundation
90575 gives unlimited permission to copy, distribute and modify it.
90576 _ACEOF
90577 - exit 0
90578 + exit
90579 fi
90580 -exec 5>config.log
90581 -cat >&5 <<_ACEOF
90582 +cat >config.log <<_ACEOF
90583 This file contains any messages produced by compilers while
90584 running configure, to aid debugging if configure makes a mistake.
90585
90586 It was created by $as_me, which was
90587 -generated by GNU Autoconf 2.59. Invocation command line was
90588 +generated by GNU Autoconf 2.61. Invocation command line was
90589
90590 $ $0 $@
90591
90592 _ACEOF
90593 +exec 5>>config.log
90594 {
90595 cat <<_ASUNAME
90596 ## --------- ##
90597 @@ -1016,7 +1473,7 @@
90598 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
90599 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
90600 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
90601 -hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
90602 +/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
90603 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
90604 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
90605 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
90606 @@ -1030,6 +1487,7 @@
90607 test -z "$as_dir" && as_dir=.
90608 echo "PATH: $as_dir"
90609 done
90610 +IFS=$as_save_IFS
90611
90612 } >&5
90613
90614 @@ -1051,7 +1509,6 @@
90615 ac_configure_args=
90616 ac_configure_args0=
90617 ac_configure_args1=
90618 -ac_sep=
90619 ac_must_keep_next=false
90620 for ac_pass in 1 2
90621 do
90622 @@ -1062,7 +1519,7 @@
90623 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
90624 | -silent | --silent | --silen | --sile | --sil)
90625 continue ;;
90626 - *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
90627 + *\'*)
90628 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
90629 esac
90630 case $ac_pass in
90631 @@ -1084,9 +1541,7 @@
90632 -* ) ac_must_keep_next=true ;;
90633 esac
90634 fi
90635 - ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
90636 - # Get rid of the leading space.
90637 - ac_sep=" "
90638 + ac_configure_args="$ac_configure_args '$ac_arg'"
90639 ;;
90640 esac
90641 done
90642 @@ -1097,8 +1552,8 @@
90643 # When interrupted or exit'd, cleanup temporary files, and complete
90644 # config.log. We remove comments because anyway the quotes in there
90645 # would cause problems or look ugly.
90646 -# WARNING: Be sure not to use single quotes in there, as some shells,
90647 -# such as our DU 5.0 friend, will then `close' the trap.
90648 +# WARNING: Use '\'' to represent an apostrophe within the trap.
90649 +# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
90650 trap 'exit_status=$?
90651 # Save into config.log some information that might help in debugging.
90652 {
90653 @@ -1111,20 +1566,34 @@
90654 _ASBOX
90655 echo
90656 # The following way of writing the cache mishandles newlines in values,
90657 -{
90658 +(
90659 + for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
90660 + eval ac_val=\$$ac_var
90661 + case $ac_val in #(
90662 + *${as_nl}*)
90663 + case $ac_var in #(
90664 + *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
90665 +echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
90666 + esac
90667 + case $ac_var in #(
90668 + _ | IFS | as_nl) ;; #(
90669 + *) $as_unset $ac_var ;;
90670 + esac ;;
90671 + esac
90672 + done
90673 (set) 2>&1 |
90674 - case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
90675 - *ac_space=\ *)
90676 + case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
90677 + *${as_nl}ac_space=\ *)
90678 sed -n \
90679 - "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
90680 - s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
90681 - ;;
90682 + "s/'\''/'\''\\\\'\'''\''/g;
90683 + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
90684 + ;; #(
90685 *)
90686 - sed -n \
90687 - "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
90688 + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
90689 ;;
90690 - esac;
90691 -}
90692 + esac |
90693 + sort
90694 +)
90695 echo
90696
90697 cat <<\_ASBOX
90698 @@ -1135,22 +1604,28 @@
90699 echo
90700 for ac_var in $ac_subst_vars
90701 do
90702 - eval ac_val=$`echo $ac_var`
90703 - echo "$ac_var='"'"'$ac_val'"'"'"
90704 + eval ac_val=\$$ac_var
90705 + case $ac_val in
90706 + *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
90707 + esac
90708 + echo "$ac_var='\''$ac_val'\''"
90709 done | sort
90710 echo
90711
90712 if test -n "$ac_subst_files"; then
90713 cat <<\_ASBOX
90714 -## ------------- ##
90715 -## Output files. ##
90716 -## ------------- ##
90717 +## ------------------- ##
90718 +## File substitutions. ##
90719 +## ------------------- ##
90720 _ASBOX
90721 echo
90722 for ac_var in $ac_subst_files
90723 do
90724 - eval ac_val=$`echo $ac_var`
90725 - echo "$ac_var='"'"'$ac_val'"'"'"
90726 + eval ac_val=\$$ac_var
90727 + case $ac_val in
90728 + *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
90729 + esac
90730 + echo "$ac_var='\''$ac_val'\''"
90731 done | sort
90732 echo
90733 fi
90734 @@ -1162,26 +1637,24 @@
90735 ## ----------- ##
90736 _ASBOX
90737 echo
90738 - sed "/^$/d" confdefs.h | sort
90739 + cat confdefs.h
90740 echo
90741 fi
90742 test "$ac_signal" != 0 &&
90743 echo "$as_me: caught signal $ac_signal"
90744 echo "$as_me: exit $exit_status"
90745 } >&5
90746 - rm -f core *.core &&
90747 - rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
90748 + rm -f core *.core core.conftest.* &&
90749 + rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
90750 exit $exit_status
90751 - ' 0
90752 +' 0
90753 for ac_signal in 1 2 13 15; do
90754 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
90755 done
90756 ac_signal=0
90757
90758 # confdefs.h avoids OS command line length limits that DEFS can exceed.
90759 -rm -rf conftest* confdefs.h
90760 -# AIX cpp loses on an empty file, so make sure it contains at least a newline.
90761 -echo >confdefs.h
90762 +rm -f -r conftest* confdefs.h
90763
90764 # Predefined preprocessor variables.
90765
90766 @@ -1212,14 +1685,17 @@
90767
90768 # Let the site file select an alternate cache file if it wants to.
90769 # Prefer explicitly selected file to automatically selected ones.
90770 -if test -z "$CONFIG_SITE"; then
90771 - if test "x$prefix" != xNONE; then
90772 - CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
90773 - else
90774 - CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
90775 - fi
90776 +if test -n "$CONFIG_SITE"; then
90777 + set x "$CONFIG_SITE"
90778 +elif test "x$prefix" != xNONE; then
90779 + set x "$prefix/share/config.site" "$prefix/etc/config.site"
90780 +else
90781 + set x "$ac_default_prefix/share/config.site" \
90782 + "$ac_default_prefix/etc/config.site"
90783 fi
90784 -for ac_site_file in $CONFIG_SITE; do
90785 +shift
90786 +for ac_site_file
90787 +do
90788 if test -r "$ac_site_file"; then
90789 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
90790 echo "$as_me: loading site script $ac_site_file" >&6;}
90791 @@ -1235,8 +1711,8 @@
90792 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
90793 echo "$as_me: loading cache $cache_file" >&6;}
90794 case $cache_file in
90795 - [\\/]* | ?:[\\/]* ) . $cache_file;;
90796 - *) . ./$cache_file;;
90797 + [\\/]* | ?:[\\/]* ) . "$cache_file";;
90798 + *) . "./$cache_file";;
90799 esac
90800 fi
90801 else
90802 @@ -1248,12 +1724,11 @@
90803 # Check that the precious variables saved in the cache have kept the same
90804 # value.
90805 ac_cache_corrupted=false
90806 -for ac_var in `(set) 2>&1 |
90807 - sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
90808 +for ac_var in $ac_precious_vars; do
90809 eval ac_old_set=\$ac_cv_env_${ac_var}_set
90810 eval ac_new_set=\$ac_env_${ac_var}_set
90811 - eval ac_old_val="\$ac_cv_env_${ac_var}_value"
90812 - eval ac_new_val="\$ac_env_${ac_var}_value"
90813 + eval ac_old_val=\$ac_cv_env_${ac_var}_value
90814 + eval ac_new_val=\$ac_env_${ac_var}_value
90815 case $ac_old_set,$ac_new_set in
90816 set,)
90817 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
90818 @@ -1278,8 +1753,7 @@
90819 # Pass precious variables to config.status.
90820 if test "$ac_new_set" = set; then
90821 case $ac_new_val in
90822 - *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
90823 - ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
90824 + *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
90825 *) ac_arg=$ac_var=$ac_new_val ;;
90826 esac
90827 case " $ac_configure_args " in
90828 @@ -1296,12 +1770,6 @@
90829 { (exit 1); exit 1; }; }
90830 fi
90831
90832 -ac_ext=c
90833 -ac_cpp='$CPP $CPPFLAGS'
90834 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90835 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90836 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
90837 -
90838
90839
90840
90841 @@ -1318,109 +1786,164 @@
90842
90843
90844
90845 +ac_ext=c
90846 +ac_cpp='$CPP $CPPFLAGS'
90847 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90848 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90849 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
90850
90851
90852
90853
90854 ac_aux_dir=
90855 -for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
90856 - if test -f $ac_dir/install-sh; then
90857 +for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
90858 + if test -f "$ac_dir/install-sh"; then
90859 ac_aux_dir=$ac_dir
90860 ac_install_sh="$ac_aux_dir/install-sh -c"
90861 break
90862 - elif test -f $ac_dir/install.sh; then
90863 + elif test -f "$ac_dir/install.sh"; then
90864 ac_aux_dir=$ac_dir
90865 ac_install_sh="$ac_aux_dir/install.sh -c"
90866 break
90867 - elif test -f $ac_dir/shtool; then
90868 + elif test -f "$ac_dir/shtool"; then
90869 ac_aux_dir=$ac_dir
90870 ac_install_sh="$ac_aux_dir/shtool install -c"
90871 break
90872 fi
90873 done
90874 if test -z "$ac_aux_dir"; then
90875 - { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
90876 -echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
90877 + { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
90878 +echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
90879 { (exit 1); exit 1; }; }
90880 fi
90881 -ac_config_guess="$SHELL $ac_aux_dir/config.guess"
90882 -ac_config_sub="$SHELL $ac_aux_dir/config.sub"
90883 -ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
90884 +
90885 +# These three variables are undocumented and unsupported,
90886 +# and are intended to be withdrawn in a future Autoconf release.
90887 +# They can cause serious problems if a builder's source tree is in a directory
90888 +# whose full name contains unusual characters.
90889 +ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
90890 +ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
90891 +ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
90892 +
90893
90894 # Make sure we can run config.sub.
90895 -$ac_config_sub sun4 >/dev/null 2>&1 ||
90896 - { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
90897 -echo "$as_me: error: cannot run $ac_config_sub" >&2;}
90898 +$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
90899 + { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
90900 +echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
90901 { (exit 1); exit 1; }; }
90902
90903 -echo "$as_me:$LINENO: checking build system type" >&5
90904 -echo $ECHO_N "checking build system type... $ECHO_C" >&6
90905 +{ echo "$as_me:$LINENO: checking build system type" >&5
90906 +echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
90907 if test "${ac_cv_build+set}" = set; then
90908 echo $ECHO_N "(cached) $ECHO_C" >&6
90909 else
90910 - ac_cv_build_alias=$build_alias
90911 -test -z "$ac_cv_build_alias" &&
90912 - ac_cv_build_alias=`$ac_config_guess`
90913 -test -z "$ac_cv_build_alias" &&
90914 + ac_build_alias=$build_alias
90915 +test "x$ac_build_alias" = x &&
90916 + ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
90917 +test "x$ac_build_alias" = x &&
90918 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
90919 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
90920 { (exit 1); exit 1; }; }
90921 -ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
90922 - { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
90923 -echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
90924 +ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
90925 + { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
90926 +echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
90927 { (exit 1); exit 1; }; }
90928
90929 fi
90930 -echo "$as_me:$LINENO: result: $ac_cv_build" >&5
90931 -echo "${ECHO_T}$ac_cv_build" >&6
90932 +{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
90933 +echo "${ECHO_T}$ac_cv_build" >&6; }
90934 +case $ac_cv_build in
90935 +*-*-*) ;;
90936 +*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
90937 +echo "$as_me: error: invalid value of canonical build" >&2;}
90938 + { (exit 1); exit 1; }; };;
90939 +esac
90940 build=$ac_cv_build
90941 -build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
90942 -build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
90943 -build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
90944 +ac_save_IFS=$IFS; IFS='-'
90945 +set x $ac_cv_build
90946 +shift
90947 +build_cpu=$1
90948 +build_vendor=$2
90949 +shift; shift
90950 +# Remember, the first character of IFS is used to create $*,
90951 +# except with old shells:
90952 +build_os=$*
90953 +IFS=$ac_save_IFS
90954 +case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
90955
90956
90957 -echo "$as_me:$LINENO: checking host system type" >&5
90958 -echo $ECHO_N "checking host system type... $ECHO_C" >&6
90959 +{ echo "$as_me:$LINENO: checking host system type" >&5
90960 +echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
90961 if test "${ac_cv_host+set}" = set; then
90962 echo $ECHO_N "(cached) $ECHO_C" >&6
90963 else
90964 - ac_cv_host_alias=$host_alias
90965 -test -z "$ac_cv_host_alias" &&
90966 - ac_cv_host_alias=$ac_cv_build_alias
90967 -ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
90968 - { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
90969 -echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
90970 + if test "x$host_alias" = x; then
90971 + ac_cv_host=$ac_cv_build
90972 +else
90973 + ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
90974 + { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
90975 +echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
90976 { (exit 1); exit 1; }; }
90977 +fi
90978
90979 fi
90980 -echo "$as_me:$LINENO: result: $ac_cv_host" >&5
90981 -echo "${ECHO_T}$ac_cv_host" >&6
90982 +{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
90983 +echo "${ECHO_T}$ac_cv_host" >&6; }
90984 +case $ac_cv_host in
90985 +*-*-*) ;;
90986 +*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
90987 +echo "$as_me: error: invalid value of canonical host" >&2;}
90988 + { (exit 1); exit 1; }; };;
90989 +esac
90990 host=$ac_cv_host
90991 -host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
90992 -host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
90993 -host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
90994 +ac_save_IFS=$IFS; IFS='-'
90995 +set x $ac_cv_host
90996 +shift
90997 +host_cpu=$1
90998 +host_vendor=$2
90999 +shift; shift
91000 +# Remember, the first character of IFS is used to create $*,
91001 +# except with old shells:
91002 +host_os=$*
91003 +IFS=$ac_save_IFS
91004 +case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
91005
91006
91007 -echo "$as_me:$LINENO: checking target system type" >&5
91008 -echo $ECHO_N "checking target system type... $ECHO_C" >&6
91009 +{ echo "$as_me:$LINENO: checking target system type" >&5
91010 +echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
91011 if test "${ac_cv_target+set}" = set; then
91012 echo $ECHO_N "(cached) $ECHO_C" >&6
91013 else
91014 - ac_cv_target_alias=$target_alias
91015 -test "x$ac_cv_target_alias" = "x" &&
91016 - ac_cv_target_alias=$ac_cv_host_alias
91017 -ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
91018 - { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
91019 -echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
91020 + if test "x$target_alias" = x; then
91021 + ac_cv_target=$ac_cv_host
91022 +else
91023 + ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
91024 + { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
91025 +echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
91026 { (exit 1); exit 1; }; }
91027 +fi
91028
91029 fi
91030 -echo "$as_me:$LINENO: result: $ac_cv_target" >&5
91031 -echo "${ECHO_T}$ac_cv_target" >&6
91032 +{ echo "$as_me:$LINENO: result: $ac_cv_target" >&5
91033 +echo "${ECHO_T}$ac_cv_target" >&6; }
91034 +case $ac_cv_target in
91035 +*-*-*) ;;
91036 +*) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
91037 +echo "$as_me: error: invalid value of canonical target" >&2;}
91038 + { (exit 1); exit 1; }; };;
91039 +esac
91040 target=$ac_cv_target
91041 -target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
91042 -target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
91043 -target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
91044 +ac_save_IFS=$IFS; IFS='-'
91045 +set x $ac_cv_target
91046 +shift
91047 +target_cpu=$1
91048 +target_vendor=$2
91049 +shift; shift
91050 +# Remember, the first character of IFS is used to create $*,
91051 +# except with old shells:
91052 +target_os=$*
91053 +IFS=$ac_save_IFS
91054 +case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
91055
91056
91057 # The aliases save the names the user supplied, while $host etc.
91058 @@ -1437,8 +1960,8 @@
91059 if test -n "$ac_tool_prefix"; then
91060 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
91061 set dummy ${ac_tool_prefix}gcc; ac_word=$2
91062 -echo "$as_me:$LINENO: checking for $ac_word" >&5
91063 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
91064 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
91065 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
91066 if test "${ac_cv_prog_CC+set}" = set; then
91067 echo $ECHO_N "(cached) $ECHO_C" >&6
91068 else
91069 @@ -1451,32 +1974,34 @@
91070 IFS=$as_save_IFS
91071 test -z "$as_dir" && as_dir=.
91072 for ac_exec_ext in '' $ac_executable_extensions; do
91073 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
91074 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
91075 ac_cv_prog_CC="${ac_tool_prefix}gcc"
91076 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
91077 break 2
91078 fi
91079 done
91080 done
91081 +IFS=$as_save_IFS
91082
91083 fi
91084 fi
91085 CC=$ac_cv_prog_CC
91086 if test -n "$CC"; then
91087 - echo "$as_me:$LINENO: result: $CC" >&5
91088 -echo "${ECHO_T}$CC" >&6
91089 + { echo "$as_me:$LINENO: result: $CC" >&5
91090 +echo "${ECHO_T}$CC" >&6; }
91091 else
91092 - echo "$as_me:$LINENO: result: no" >&5
91093 -echo "${ECHO_T}no" >&6
91094 + { echo "$as_me:$LINENO: result: no" >&5
91095 +echo "${ECHO_T}no" >&6; }
91096 fi
91097
91098 +
91099 fi
91100 if test -z "$ac_cv_prog_CC"; then
91101 ac_ct_CC=$CC
91102 # Extract the first word of "gcc", so it can be a program name with args.
91103 set dummy gcc; ac_word=$2
91104 -echo "$as_me:$LINENO: checking for $ac_word" >&5
91105 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
91106 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
91107 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
91108 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
91109 echo $ECHO_N "(cached) $ECHO_C" >&6
91110 else
91111 @@ -1489,36 +2014,51 @@
91112 IFS=$as_save_IFS
91113 test -z "$as_dir" && as_dir=.
91114 for ac_exec_ext in '' $ac_executable_extensions; do
91115 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
91116 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
91117 ac_cv_prog_ac_ct_CC="gcc"
91118 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
91119 break 2
91120 fi
91121 done
91122 done
91123 +IFS=$as_save_IFS
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: $ac_ct_CC" >&5
91132 +echo "${ECHO_T}$ac_ct_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 + if test "x$ac_ct_CC" = x; then
91142 + CC=""
91143 + else
91144 + case $cross_compiling:$ac_tool_warned in
91145 +yes:)
91146 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
91147 +whose name does not start with the host triplet. If you think this
91148 +configuration is useful to you, please write to autoconf@gnu.org." >&5
91149 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
91150 +whose name does not start with the host triplet. If you think this
91151 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
91152 +ac_tool_warned=yes ;;
91153 +esac
91154 + CC=$ac_ct_CC
91155 + fi
91156 else
91157 CC="$ac_cv_prog_CC"
91158 fi
91159
91160 if test -z "$CC"; then
91161 - if test -n "$ac_tool_prefix"; then
91162 - # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
91163 + if test -n "$ac_tool_prefix"; then
91164 + # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
91165 set dummy ${ac_tool_prefix}cc; ac_word=$2
91166 -echo "$as_me:$LINENO: checking for $ac_word" >&5
91167 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
91168 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
91169 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
91170 if test "${ac_cv_prog_CC+set}" = set; then
91171 echo $ECHO_N "(cached) $ECHO_C" >&6
91172 else
91173 @@ -1531,74 +2071,34 @@
91174 IFS=$as_save_IFS
91175 test -z "$as_dir" && as_dir=.
91176 for ac_exec_ext in '' $ac_executable_extensions; do
91177 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
91178 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
91179 ac_cv_prog_CC="${ac_tool_prefix}cc"
91180 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
91181 break 2
91182 fi
91183 done
91184 done
91185 +IFS=$as_save_IFS
91186
91187 fi
91188 fi
91189 CC=$ac_cv_prog_CC
91190 if test -n "$CC"; then
91191 - echo "$as_me:$LINENO: result: $CC" >&5
91192 -echo "${ECHO_T}$CC" >&6
91193 -else
91194 - echo "$as_me:$LINENO: result: no" >&5
91195 -echo "${ECHO_T}no" >&6
91196 -fi
91197 -
91198 -fi
91199 -if test -z "$ac_cv_prog_CC"; then
91200 - ac_ct_CC=$CC
91201 - # Extract the first word of "cc", so it can be a program name with args.
91202 -set dummy cc; ac_word=$2
91203 -echo "$as_me:$LINENO: checking for $ac_word" >&5
91204 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
91205 -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
91206 - echo $ECHO_N "(cached) $ECHO_C" >&6
91207 -else
91208 - if test -n "$ac_ct_CC"; then
91209 - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
91210 -else
91211 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
91212 -for as_dir in $PATH
91213 -do
91214 - IFS=$as_save_IFS
91215 - test -z "$as_dir" && as_dir=.
91216 - for ac_exec_ext in '' $ac_executable_extensions; do
91217 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
91218 - ac_cv_prog_ac_ct_CC="cc"
91219 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
91220 - break 2
91221 - fi
91222 -done
91223 -done
91224 -
91225 -fi
91226 -fi
91227 -ac_ct_CC=$ac_cv_prog_ac_ct_CC
91228 -if test -n "$ac_ct_CC"; then
91229 - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
91230 -echo "${ECHO_T}$ac_ct_CC" >&6
91231 + { echo "$as_me:$LINENO: result: $CC" >&5
91232 +echo "${ECHO_T}$CC" >&6; }
91233 else
91234 - echo "$as_me:$LINENO: result: no" >&5
91235 -echo "${ECHO_T}no" >&6
91236 + { echo "$as_me:$LINENO: result: no" >&5
91237 +echo "${ECHO_T}no" >&6; }
91238 fi
91239
91240 - CC=$ac_ct_CC
91241 -else
91242 - CC="$ac_cv_prog_CC"
91243 -fi
91244
91245 + fi
91246 fi
91247 if test -z "$CC"; then
91248 # Extract the first word of "cc", so it can be a program name with args.
91249 set dummy cc; ac_word=$2
91250 -echo "$as_me:$LINENO: checking for $ac_word" >&5
91251 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
91252 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
91253 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
91254 if test "${ac_cv_prog_CC+set}" = set; then
91255 echo $ECHO_N "(cached) $ECHO_C" >&6
91256 else
91257 @@ -1612,7 +2112,7 @@
91258 IFS=$as_save_IFS
91259 test -z "$as_dir" && as_dir=.
91260 for ac_exec_ext in '' $ac_executable_extensions; do
91261 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
91262 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
91263 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
91264 ac_prog_rejected=yes
91265 continue
91266 @@ -1623,6 +2123,7 @@
91267 fi
91268 done
91269 done
91270 +IFS=$as_save_IFS
91271
91272 if test $ac_prog_rejected = yes; then
91273 # We found a bogon in the path, so make sure we never use it.
91274 @@ -1640,22 +2141,23 @@
91275 fi
91276 CC=$ac_cv_prog_CC
91277 if test -n "$CC"; then
91278 - echo "$as_me:$LINENO: result: $CC" >&5
91279 -echo "${ECHO_T}$CC" >&6
91280 + { echo "$as_me:$LINENO: result: $CC" >&5
91281 +echo "${ECHO_T}$CC" >&6; }
91282 else
91283 - echo "$as_me:$LINENO: result: no" >&5
91284 -echo "${ECHO_T}no" >&6
91285 + { echo "$as_me:$LINENO: result: no" >&5
91286 +echo "${ECHO_T}no" >&6; }
91287 fi
91288
91289 +
91290 fi
91291 if test -z "$CC"; then
91292 if test -n "$ac_tool_prefix"; then
91293 - for ac_prog in cl
91294 + for ac_prog in cl.exe
91295 do
91296 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
91297 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
91298 -echo "$as_me:$LINENO: checking for $ac_word" >&5
91299 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
91300 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
91301 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
91302 if test "${ac_cv_prog_CC+set}" = set; then
91303 echo $ECHO_N "(cached) $ECHO_C" >&6
91304 else
91305 @@ -1668,36 +2170,38 @@
91306 IFS=$as_save_IFS
91307 test -z "$as_dir" && as_dir=.
91308 for ac_exec_ext in '' $ac_executable_extensions; do
91309 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
91310 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
91311 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
91312 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
91313 break 2
91314 fi
91315 done
91316 done
91317 +IFS=$as_save_IFS
91318
91319 fi
91320 fi
91321 CC=$ac_cv_prog_CC
91322 if test -n "$CC"; then
91323 - echo "$as_me:$LINENO: result: $CC" >&5
91324 -echo "${ECHO_T}$CC" >&6
91325 + { echo "$as_me:$LINENO: result: $CC" >&5
91326 +echo "${ECHO_T}$CC" >&6; }
91327 else
91328 - echo "$as_me:$LINENO: result: no" >&5
91329 -echo "${ECHO_T}no" >&6
91330 + { echo "$as_me:$LINENO: result: no" >&5
91331 +echo "${ECHO_T}no" >&6; }
91332 fi
91333
91334 +
91335 test -n "$CC" && break
91336 done
91337 fi
91338 if test -z "$CC"; then
91339 ac_ct_CC=$CC
91340 - for ac_prog in cl
91341 + for ac_prog in cl.exe
91342 do
91343 # Extract the first word of "$ac_prog", so it can be a program name with args.
91344 set dummy $ac_prog; ac_word=$2
91345 -echo "$as_me:$LINENO: checking for $ac_word" >&5
91346 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
91347 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
91348 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
91349 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
91350 echo $ECHO_N "(cached) $ECHO_C" >&6
91351 else
91352 @@ -1710,29 +2214,45 @@
91353 IFS=$as_save_IFS
91354 test -z "$as_dir" && as_dir=.
91355 for ac_exec_ext in '' $ac_executable_extensions; do
91356 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
91357 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
91358 ac_cv_prog_ac_ct_CC="$ac_prog"
91359 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
91360 break 2
91361 fi
91362 done
91363 done
91364 +IFS=$as_save_IFS
91365
91366 fi
91367 fi
91368 ac_ct_CC=$ac_cv_prog_ac_ct_CC
91369 if test -n "$ac_ct_CC"; then
91370 - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
91371 -echo "${ECHO_T}$ac_ct_CC" >&6
91372 + { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
91373 +echo "${ECHO_T}$ac_ct_CC" >&6; }
91374 else
91375 - echo "$as_me:$LINENO: result: no" >&5
91376 -echo "${ECHO_T}no" >&6
91377 + { echo "$as_me:$LINENO: result: no" >&5
91378 +echo "${ECHO_T}no" >&6; }
91379 fi
91380
91381 +
91382 test -n "$ac_ct_CC" && break
91383 done
91384
91385 - CC=$ac_ct_CC
91386 + if test "x$ac_ct_CC" = x; then
91387 + CC=""
91388 + else
91389 + case $cross_compiling:$ac_tool_warned in
91390 +yes:)
91391 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
91392 +whose name does not start with the host triplet. If you think this
91393 +configuration is useful to you, please write to autoconf@gnu.org." >&5
91394 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
91395 +whose name does not start with the host triplet. If you think this
91396 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
91397 +ac_tool_warned=yes ;;
91398 +esac
91399 + CC=$ac_ct_CC
91400 + fi
91401 fi
91402
91403 fi
91404 @@ -1745,21 +2265,35 @@
91405 { (exit 1); exit 1; }; }
91406
91407 # Provide some information about the compiler.
91408 -echo "$as_me:$LINENO:" \
91409 - "checking for C compiler version" >&5
91410 +echo "$as_me:$LINENO: checking for C compiler version" >&5
91411 ac_compiler=`set X $ac_compile; echo $2`
91412 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
91413 - (eval $ac_compiler --version </dev/null >&5) 2>&5
91414 +{ (ac_try="$ac_compiler --version >&5"
91415 +case "(($ac_try" in
91416 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
91417 + *) ac_try_echo=$ac_try;;
91418 +esac
91419 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
91420 + (eval "$ac_compiler --version >&5") 2>&5
91421 ac_status=$?
91422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91423 (exit $ac_status); }
91424 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
91425 - (eval $ac_compiler -v </dev/null >&5) 2>&5
91426 +{ (ac_try="$ac_compiler -v >&5"
91427 +case "(($ac_try" in
91428 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
91429 + *) ac_try_echo=$ac_try;;
91430 +esac
91431 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
91432 + (eval "$ac_compiler -v >&5") 2>&5
91433 ac_status=$?
91434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91435 (exit $ac_status); }
91436 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
91437 - (eval $ac_compiler -V </dev/null >&5) 2>&5
91438 +{ (ac_try="$ac_compiler -V >&5"
91439 +case "(($ac_try" in
91440 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
91441 + *) ac_try_echo=$ac_try;;
91442 +esac
91443 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
91444 + (eval "$ac_compiler -V >&5") 2>&5
91445 ac_status=$?
91446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91447 (exit $ac_status); }
91448 @@ -1784,47 +2318,77 @@
91449 # Try to create an executable without -o first, disregard a.out.
91450 # It will help us diagnose broken compilers, and finding out an intuition
91451 # of exeext.
91452 -echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
91453 -echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
91454 +{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
91455 +echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
91456 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
91457 -if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
91458 - (eval $ac_link_default) 2>&5
91459 +#
91460 +# List of possible output files, starting from the most likely.
91461 +# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
91462 +# only as a last resort. b.out is created by i960 compilers.
91463 +ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
91464 +#
91465 +# The IRIX 6 linker writes into existing files which may not be
91466 +# executable, retaining their permissions. Remove them first so a
91467 +# subsequent execution test works.
91468 +ac_rmfiles=
91469 +for ac_file in $ac_files
91470 +do
91471 + case $ac_file in
91472 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
91473 + * ) ac_rmfiles="$ac_rmfiles $ac_file";;
91474 + esac
91475 +done
91476 +rm -f $ac_rmfiles
91477 +
91478 +if { (ac_try="$ac_link_default"
91479 +case "(($ac_try" in
91480 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
91481 + *) ac_try_echo=$ac_try;;
91482 +esac
91483 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
91484 + (eval "$ac_link_default") 2>&5
91485 ac_status=$?
91486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91487 (exit $ac_status); }; then
91488 - # Find the output, starting from the most likely. This scheme is
91489 -# not robust to junk in `.', hence go to wildcards (a.*) only as a last
91490 -# resort.
91491 -
91492 -# Be careful to initialize this variable, since it used to be cached.
91493 -# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
91494 -ac_cv_exeext=
91495 -# b.out is created by i960 compilers.
91496 -for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
91497 + # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
91498 +# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
91499 +# in a Makefile. We should not override ac_cv_exeext if it was cached,
91500 +# so that the user can short-circuit this test for compilers unknown to
91501 +# Autoconf.
91502 +for ac_file in $ac_files ''
91503 do
91504 test -f "$ac_file" || continue
91505 case $ac_file in
91506 - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
91507 - ;;
91508 - conftest.$ac_ext )
91509 - # This is the source file.
91510 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
91511 ;;
91512 [ab].out )
91513 # We found the default executable, but exeext='' is most
91514 # certainly right.
91515 break;;
91516 *.* )
91517 - ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
91518 - # FIXME: I believe we export ac_cv_exeext for Libtool,
91519 - # but it would be cool to find out if it's true. Does anybody
91520 - # maintain Libtool? --akim.
91521 - export ac_cv_exeext
91522 + if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
91523 + then :; else
91524 + ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
91525 + fi
91526 + # We set ac_cv_exeext here because the later test for it is not
91527 + # safe: cross compilers may not add the suffix if given an `-o'
91528 + # argument, so we may need to know it at that point already.
91529 + # Even if this section looks crufty: it has the advantage of
91530 + # actually working.
91531 break;;
91532 * )
91533 break;;
91534 esac
91535 done
91536 +test "$ac_cv_exeext" = no && ac_cv_exeext=
91537 +
91538 else
91539 + ac_file=''
91540 +fi
91541 +
91542 +{ echo "$as_me:$LINENO: result: $ac_file" >&5
91543 +echo "${ECHO_T}$ac_file" >&6; }
91544 +if test -z "$ac_file"; then
91545 echo "$as_me: failed program was:" >&5
91546 sed 's/^/| /' conftest.$ac_ext >&5
91547
91548 @@ -1836,19 +2400,21 @@
91549 fi
91550
91551 ac_exeext=$ac_cv_exeext
91552 -echo "$as_me:$LINENO: result: $ac_file" >&5
91553 -echo "${ECHO_T}$ac_file" >&6
91554
91555 -# Check the compiler produces executables we can run. If not, either
91556 +# Check that the compiler produces executables we can run. If not, either
91557 # the compiler is broken, or we cross compile.
91558 -echo "$as_me:$LINENO: checking whether the C compiler works" >&5
91559 -echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
91560 +{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
91561 +echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
91562 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
91563 # If not cross compiling, check that we can run a simple program.
91564 if test "$cross_compiling" != yes; then
91565 if { ac_try='./$ac_file'
91566 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91567 - (eval $ac_try) 2>&5
91568 + { (case "(($ac_try" in
91569 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
91570 + *) ac_try_echo=$ac_try;;
91571 +esac
91572 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
91573 + (eval "$ac_try") 2>&5
91574 ac_status=$?
91575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91576 (exit $ac_status); }; }; then
91577 @@ -1867,22 +2433,27 @@
91578 fi
91579 fi
91580 fi
91581 -echo "$as_me:$LINENO: result: yes" >&5
91582 -echo "${ECHO_T}yes" >&6
91583 +{ echo "$as_me:$LINENO: result: yes" >&5
91584 +echo "${ECHO_T}yes" >&6; }
91585
91586 rm -f a.out a.exe conftest$ac_cv_exeext b.out
91587 ac_clean_files=$ac_clean_files_save
91588 -# Check the compiler produces executables we can run. If not, either
91589 +# Check that the compiler produces executables we can run. If not, either
91590 # the compiler is broken, or we cross compile.
91591 -echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
91592 -echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
91593 -echo "$as_me:$LINENO: result: $cross_compiling" >&5
91594 -echo "${ECHO_T}$cross_compiling" >&6
91595 -
91596 -echo "$as_me:$LINENO: checking for suffix of executables" >&5
91597 -echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
91598 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91599 - (eval $ac_link) 2>&5
91600 +{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
91601 +echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
91602 +{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
91603 +echo "${ECHO_T}$cross_compiling" >&6; }
91604 +
91605 +{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
91606 +echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
91607 +if { (ac_try="$ac_link"
91608 +case "(($ac_try" in
91609 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
91610 + *) ac_try_echo=$ac_try;;
91611 +esac
91612 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
91613 + (eval "$ac_link") 2>&5
91614 ac_status=$?
91615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91616 (exit $ac_status); }; then
91617 @@ -1893,9 +2464,8 @@
91618 for ac_file in conftest.exe conftest conftest.*; do
91619 test -f "$ac_file" || continue
91620 case $ac_file in
91621 - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
91622 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
91623 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
91624 - export ac_cv_exeext
91625 break;;
91626 * ) break;;
91627 esac
91628 @@ -1909,14 +2479,14 @@
91629 fi
91630
91631 rm -f conftest$ac_cv_exeext
91632 -echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
91633 -echo "${ECHO_T}$ac_cv_exeext" >&6
91634 +{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
91635 +echo "${ECHO_T}$ac_cv_exeext" >&6; }
91636
91637 rm -f conftest.$ac_ext
91638 EXEEXT=$ac_cv_exeext
91639 ac_exeext=$EXEEXT
91640 -echo "$as_me:$LINENO: checking for suffix of object files" >&5
91641 -echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
91642 +{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
91643 +echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
91644 if test "${ac_cv_objext+set}" = set; then
91645 echo $ECHO_N "(cached) $ECHO_C" >&6
91646 else
91647 @@ -1936,14 +2506,20 @@
91648 }
91649 _ACEOF
91650 rm -f conftest.o conftest.obj
91651 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91652 - (eval $ac_compile) 2>&5
91653 +if { (ac_try="$ac_compile"
91654 +case "(($ac_try" in
91655 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
91656 + *) ac_try_echo=$ac_try;;
91657 +esac
91658 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
91659 + (eval "$ac_compile") 2>&5
91660 ac_status=$?
91661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91662 (exit $ac_status); }; then
91663 - for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
91664 + for ac_file in conftest.o conftest.obj conftest.*; do
91665 + test -f "$ac_file" || continue;
91666 case $ac_file in
91667 - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
91668 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
91669 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
91670 break;;
91671 esac
91672 @@ -1961,12 +2537,12 @@
91673
91674 rm -f conftest.$ac_cv_objext conftest.$ac_ext
91675 fi
91676 -echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
91677 -echo "${ECHO_T}$ac_cv_objext" >&6
91678 +{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
91679 +echo "${ECHO_T}$ac_cv_objext" >&6; }
91680 OBJEXT=$ac_cv_objext
91681 ac_objext=$OBJEXT
91682 -echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
91683 -echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
91684 +{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
91685 +echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
91686 if test "${ac_cv_c_compiler_gnu+set}" = set; then
91687 echo $ECHO_N "(cached) $ECHO_C" >&6
91688 else
91689 @@ -1989,50 +2565,49 @@
91690 }
91691 _ACEOF
91692 rm -f conftest.$ac_objext
91693 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91694 - (eval $ac_compile) 2>conftest.er1
91695 +if { (ac_try="$ac_compile"
91696 +case "(($ac_try" in
91697 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
91698 + *) ac_try_echo=$ac_try;;
91699 +esac
91700 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
91701 + (eval "$ac_compile") 2>conftest.er1
91702 ac_status=$?
91703 grep -v '^ *+' conftest.er1 >conftest.err
91704 rm -f conftest.er1
91705 cat conftest.err >&5
91706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91707 - (exit $ac_status); } &&
91708 - { ac_try='test -z "$ac_c_werror_flag"
91709 - || test ! -s conftest.err'
91710 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91711 - (eval $ac_try) 2>&5
91712 - ac_status=$?
91713 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
91714 - (exit $ac_status); }; } &&
91715 - { ac_try='test -s conftest.$ac_objext'
91716 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91717 - (eval $ac_try) 2>&5
91718 - ac_status=$?
91719 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
91720 - (exit $ac_status); }; }; then
91721 + (exit $ac_status); } && {
91722 + test -z "$ac_c_werror_flag" ||
91723 + test ! -s conftest.err
91724 + } && test -s conftest.$ac_objext; then
91725 ac_compiler_gnu=yes
91726 else
91727 echo "$as_me: failed program was:" >&5
91728 sed 's/^/| /' conftest.$ac_ext >&5
91729
91730 -ac_compiler_gnu=no
91731 + ac_compiler_gnu=no
91732 fi
91733 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91734 +
91735 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
91736 ac_cv_c_compiler_gnu=$ac_compiler_gnu
91737
91738 fi
91739 -echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
91740 -echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
91741 +{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
91742 +echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
91743 GCC=`test $ac_compiler_gnu = yes && echo yes`
91744 ac_test_CFLAGS=${CFLAGS+set}
91745 ac_save_CFLAGS=$CFLAGS
91746 -CFLAGS="-g"
91747 -echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
91748 -echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
91749 +{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
91750 +echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
91751 if test "${ac_cv_prog_cc_g+set}" = set; then
91752 echo $ECHO_N "(cached) $ECHO_C" >&6
91753 else
91754 - cat >conftest.$ac_ext <<_ACEOF
91755 + ac_save_c_werror_flag=$ac_c_werror_flag
91756 + ac_c_werror_flag=yes
91757 + ac_cv_prog_cc_g=no
91758 + CFLAGS="-g"
91759 + cat >conftest.$ac_ext <<_ACEOF
91760 /* confdefs.h. */
91761 _ACEOF
91762 cat confdefs.h >>conftest.$ac_ext
91763 @@ -2048,38 +2623,118 @@
91764 }
91765 _ACEOF
91766 rm -f conftest.$ac_objext
91767 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91768 - (eval $ac_compile) 2>conftest.er1
91769 +if { (ac_try="$ac_compile"
91770 +case "(($ac_try" in
91771 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
91772 + *) ac_try_echo=$ac_try;;
91773 +esac
91774 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
91775 + (eval "$ac_compile") 2>conftest.er1
91776 ac_status=$?
91777 grep -v '^ *+' conftest.er1 >conftest.err
91778 rm -f conftest.er1
91779 cat conftest.err >&5
91780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91781 - (exit $ac_status); } &&
91782 - { ac_try='test -z "$ac_c_werror_flag"
91783 - || test ! -s conftest.err'
91784 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91785 - (eval $ac_try) 2>&5
91786 + (exit $ac_status); } && {
91787 + test -z "$ac_c_werror_flag" ||
91788 + test ! -s conftest.err
91789 + } && test -s conftest.$ac_objext; then
91790 + ac_cv_prog_cc_g=yes
91791 +else
91792 + echo "$as_me: failed program was:" >&5
91793 +sed 's/^/| /' conftest.$ac_ext >&5
91794 +
91795 + CFLAGS=""
91796 + cat >conftest.$ac_ext <<_ACEOF
91797 +/* confdefs.h. */
91798 +_ACEOF
91799 +cat confdefs.h >>conftest.$ac_ext
91800 +cat >>conftest.$ac_ext <<_ACEOF
91801 +/* end confdefs.h. */
91802 +
91803 +int
91804 +main ()
91805 +{
91806 +
91807 + ;
91808 + return 0;
91809 +}
91810 +_ACEOF
91811 +rm -f conftest.$ac_objext
91812 +if { (ac_try="$ac_compile"
91813 +case "(($ac_try" in
91814 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
91815 + *) ac_try_echo=$ac_try;;
91816 +esac
91817 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
91818 + (eval "$ac_compile") 2>conftest.er1
91819 ac_status=$?
91820 + grep -v '^ *+' conftest.er1 >conftest.err
91821 + rm -f conftest.er1
91822 + cat conftest.err >&5
91823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91824 - (exit $ac_status); }; } &&
91825 - { ac_try='test -s conftest.$ac_objext'
91826 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91827 - (eval $ac_try) 2>&5
91828 + (exit $ac_status); } && {
91829 + test -z "$ac_c_werror_flag" ||
91830 + test ! -s conftest.err
91831 + } && test -s conftest.$ac_objext; then
91832 + :
91833 +else
91834 + echo "$as_me: failed program was:" >&5
91835 +sed 's/^/| /' conftest.$ac_ext >&5
91836 +
91837 + ac_c_werror_flag=$ac_save_c_werror_flag
91838 + CFLAGS="-g"
91839 + cat >conftest.$ac_ext <<_ACEOF
91840 +/* confdefs.h. */
91841 +_ACEOF
91842 +cat confdefs.h >>conftest.$ac_ext
91843 +cat >>conftest.$ac_ext <<_ACEOF
91844 +/* end confdefs.h. */
91845 +
91846 +int
91847 +main ()
91848 +{
91849 +
91850 + ;
91851 + return 0;
91852 +}
91853 +_ACEOF
91854 +rm -f conftest.$ac_objext
91855 +if { (ac_try="$ac_compile"
91856 +case "(($ac_try" in
91857 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
91858 + *) ac_try_echo=$ac_try;;
91859 +esac
91860 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
91861 + (eval "$ac_compile") 2>conftest.er1
91862 ac_status=$?
91863 + grep -v '^ *+' conftest.er1 >conftest.err
91864 + rm -f conftest.er1
91865 + cat conftest.err >&5
91866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91867 - (exit $ac_status); }; }; then
91868 + (exit $ac_status); } && {
91869 + test -z "$ac_c_werror_flag" ||
91870 + test ! -s conftest.err
91871 + } && test -s conftest.$ac_objext; then
91872 ac_cv_prog_cc_g=yes
91873 else
91874 echo "$as_me: failed program was:" >&5
91875 sed 's/^/| /' conftest.$ac_ext >&5
91876
91877 -ac_cv_prog_cc_g=no
91878 +
91879 +fi
91880 +
91881 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
91882 +fi
91883 +
91884 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
91885 fi
91886 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91887 +
91888 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
91889 + ac_c_werror_flag=$ac_save_c_werror_flag
91890 fi
91891 -echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
91892 -echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
91893 +{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
91894 +echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
91895 if test "$ac_test_CFLAGS" = set; then
91896 CFLAGS=$ac_save_CFLAGS
91897 elif test $ac_cv_prog_cc_g = yes; then
91898 @@ -2095,12 +2750,12 @@
91899 CFLAGS=
91900 fi
91901 fi
91902 -echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
91903 -echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
91904 -if test "${ac_cv_prog_cc_stdc+set}" = set; then
91905 +{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
91906 +echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
91907 +if test "${ac_cv_prog_cc_c89+set}" = set; then
91908 echo $ECHO_N "(cached) $ECHO_C" >&6
91909 else
91910 - ac_cv_prog_cc_stdc=no
91911 + ac_cv_prog_cc_c89=no
91912 ac_save_CC=$CC
91913 cat >conftest.$ac_ext <<_ACEOF
91914 /* confdefs.h. */
91915 @@ -2134,12 +2789,17 @@
91916 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
91917 function prototypes and stuff, but not '\xHH' hex character constants.
91918 These don't provoke an error unfortunately, instead are silently treated
91919 - as 'x'. The following induces an error, until -std1 is added to get
91920 + as 'x'. The following induces an error, until -std is added to get
91921 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
91922 array size at least. It's necessary to write '\x00'==0 to get something
91923 - that's true only with -std1. */
91924 + that's true only with -std. */
91925 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
91926
91927 +/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
91928 + inside strings and character constants. */
91929 +#define FOO(x) 'x'
91930 +int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
91931 +
91932 int test (int i, double x);
91933 struct s1 {int (*f) (int a);};
91934 struct s2 {int (*f) (double a);};
91935 @@ -2154,335 +2814,144 @@
91936 return 0;
91937 }
91938 _ACEOF
91939 -# Don't try gcc -ansi; that turns off useful extensions and
91940 -# breaks some systems' header files.
91941 -# AIX -qlanglvl=ansi
91942 -# Ultrix and OSF/1 -std1
91943 -# HP-UX 10.20 and later -Ae
91944 -# HP-UX older versions -Aa -D_HPUX_SOURCE
91945 -# SVR4 -Xc -D__EXTENSIONS__
91946 -for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
91947 +for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
91948 + -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
91949 do
91950 CC="$ac_save_CC $ac_arg"
91951 rm -f conftest.$ac_objext
91952 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91953 - (eval $ac_compile) 2>conftest.er1
91954 +if { (ac_try="$ac_compile"
91955 +case "(($ac_try" in
91956 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
91957 + *) ac_try_echo=$ac_try;;
91958 +esac
91959 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
91960 + (eval "$ac_compile") 2>conftest.er1
91961 ac_status=$?
91962 grep -v '^ *+' conftest.er1 >conftest.err
91963 rm -f conftest.er1
91964 cat conftest.err >&5
91965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91966 - (exit $ac_status); } &&
91967 - { ac_try='test -z "$ac_c_werror_flag"
91968 - || test ! -s conftest.err'
91969 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91970 - (eval $ac_try) 2>&5
91971 - ac_status=$?
91972 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
91973 - (exit $ac_status); }; } &&
91974 - { ac_try='test -s conftest.$ac_objext'
91975 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91976 - (eval $ac_try) 2>&5
91977 - ac_status=$?
91978 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
91979 - (exit $ac_status); }; }; then
91980 - ac_cv_prog_cc_stdc=$ac_arg
91981 -break
91982 + (exit $ac_status); } && {
91983 + test -z "$ac_c_werror_flag" ||
91984 + test ! -s conftest.err
91985 + } && test -s conftest.$ac_objext; then
91986 + ac_cv_prog_cc_c89=$ac_arg
91987 else
91988 echo "$as_me: failed program was:" >&5
91989 sed 's/^/| /' conftest.$ac_ext >&5
91990
91991 +
91992 fi
91993 -rm -f conftest.err conftest.$ac_objext
91994 +
91995 +rm -f core conftest.err conftest.$ac_objext
91996 + test "x$ac_cv_prog_cc_c89" != "xno" && break
91997 done
91998 -rm -f conftest.$ac_ext conftest.$ac_objext
91999 +rm -f conftest.$ac_ext
92000 CC=$ac_save_CC
92001
92002 fi
92003 -
92004 -case "x$ac_cv_prog_cc_stdc" in
92005 - x|xno)
92006 - echo "$as_me:$LINENO: result: none needed" >&5
92007 -echo "${ECHO_T}none needed" >&6 ;;
92008 +# AC_CACHE_VAL
92009 +case "x$ac_cv_prog_cc_c89" in
92010 + x)
92011 + { echo "$as_me:$LINENO: result: none needed" >&5
92012 +echo "${ECHO_T}none needed" >&6; } ;;
92013 + xno)
92014 + { echo "$as_me:$LINENO: result: unsupported" >&5
92015 +echo "${ECHO_T}unsupported" >&6; } ;;
92016 *)
92017 - echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
92018 -echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
92019 - CC="$CC $ac_cv_prog_cc_stdc" ;;
92020 + CC="$CC $ac_cv_prog_cc_c89"
92021 + { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
92022 +echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
92023 esac
92024
92025 -# Some people use a C++ compiler to compile C. Since we use `exit',
92026 -# in C++ we need to declare it. In case someone uses the same compiler
92027 -# for both compiling C and C++ we need to have the C++ compiler decide
92028 -# the declaration of exit, since it's the most demanding environment.
92029 +
92030 +ac_ext=c
92031 +ac_cpp='$CPP $CPPFLAGS'
92032 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92033 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92034 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
92035 +
92036 +
92037 +{ echo "$as_me:$LINENO: checking for library containing strerror" >&5
92038 +echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6; }
92039 +if test "${ac_cv_search_strerror+set}" = set; then
92040 + echo $ECHO_N "(cached) $ECHO_C" >&6
92041 +else
92042 + ac_func_search_save_LIBS=$LIBS
92043 cat >conftest.$ac_ext <<_ACEOF
92044 -#ifndef __cplusplus
92045 - choke me
92046 -#endif
92047 -_ACEOF
92048 -rm -f conftest.$ac_objext
92049 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92050 - (eval $ac_compile) 2>conftest.er1
92051 - ac_status=$?
92052 - grep -v '^ *+' conftest.er1 >conftest.err
92053 - rm -f conftest.er1
92054 - cat conftest.err >&5
92055 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
92056 - (exit $ac_status); } &&
92057 - { ac_try='test -z "$ac_c_werror_flag"
92058 - || test ! -s conftest.err'
92059 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92060 - (eval $ac_try) 2>&5
92061 - ac_status=$?
92062 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
92063 - (exit $ac_status); }; } &&
92064 - { ac_try='test -s conftest.$ac_objext'
92065 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92066 - (eval $ac_try) 2>&5
92067 - ac_status=$?
92068 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
92069 - (exit $ac_status); }; }; then
92070 - for ac_declaration in \
92071 - '' \
92072 - 'extern "C" void std::exit (int) throw (); using std::exit;' \
92073 - 'extern "C" void std::exit (int); using std::exit;' \
92074 - 'extern "C" void exit (int) throw ();' \
92075 - 'extern "C" void exit (int);' \
92076 - 'void exit (int);'
92077 -do
92078 - cat >conftest.$ac_ext <<_ACEOF
92079 /* confdefs.h. */
92080 _ACEOF
92081 cat confdefs.h >>conftest.$ac_ext
92082 cat >>conftest.$ac_ext <<_ACEOF
92083 /* end confdefs.h. */
92084 -$ac_declaration
92085 -#include <stdlib.h>
92086 +
92087 +/* Override any GCC internal prototype to avoid an error.
92088 + Use char because int might match the return type of a GCC
92089 + builtin and then its argument prototype would still apply. */
92090 +#ifdef __cplusplus
92091 +extern "C"
92092 +#endif
92093 +char strerror ();
92094 int
92095 main ()
92096 {
92097 -exit (42);
92098 +return strerror ();
92099 ;
92100 return 0;
92101 }
92102 _ACEOF
92103 -rm -f conftest.$ac_objext
92104 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92105 - (eval $ac_compile) 2>conftest.er1
92106 +for ac_lib in '' cposix; do
92107 + if test -z "$ac_lib"; then
92108 + ac_res="none required"
92109 + else
92110 + ac_res=-l$ac_lib
92111 + LIBS="-l$ac_lib $ac_func_search_save_LIBS"
92112 + fi
92113 + rm -f conftest.$ac_objext conftest$ac_exeext
92114 +if { (ac_try="$ac_link"
92115 +case "(($ac_try" in
92116 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
92117 + *) ac_try_echo=$ac_try;;
92118 +esac
92119 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
92120 + (eval "$ac_link") 2>conftest.er1
92121 ac_status=$?
92122 grep -v '^ *+' conftest.er1 >conftest.err
92123 rm -f conftest.er1
92124 cat conftest.err >&5
92125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92126 - (exit $ac_status); } &&
92127 - { ac_try='test -z "$ac_c_werror_flag"
92128 - || test ! -s conftest.err'
92129 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92130 - (eval $ac_try) 2>&5
92131 - ac_status=$?
92132 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
92133 - (exit $ac_status); }; } &&
92134 - { ac_try='test -s conftest.$ac_objext'
92135 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92136 - (eval $ac_try) 2>&5
92137 - ac_status=$?
92138 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
92139 - (exit $ac_status); }; }; then
92140 - :
92141 + (exit $ac_status); } && {
92142 + test -z "$ac_c_werror_flag" ||
92143 + test ! -s conftest.err
92144 + } && test -s conftest$ac_exeext &&
92145 + $as_test_x conftest$ac_exeext; then
92146 + ac_cv_search_strerror=$ac_res
92147 else
92148 echo "$as_me: failed program was:" >&5
92149 sed 's/^/| /' conftest.$ac_ext >&5
92150
92151 -continue
92152 -fi
92153 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92154 - cat >conftest.$ac_ext <<_ACEOF
92155 -/* confdefs.h. */
92156 -_ACEOF
92157 -cat confdefs.h >>conftest.$ac_ext
92158 -cat >>conftest.$ac_ext <<_ACEOF
92159 -/* end confdefs.h. */
92160 -$ac_declaration
92161 -int
92162 -main ()
92163 -{
92164 -exit (42);
92165 - ;
92166 - return 0;
92167 -}
92168 -_ACEOF
92169 -rm -f conftest.$ac_objext
92170 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92171 - (eval $ac_compile) 2>conftest.er1
92172 - ac_status=$?
92173 - grep -v '^ *+' conftest.er1 >conftest.err
92174 - rm -f conftest.er1
92175 - cat conftest.err >&5
92176 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
92177 - (exit $ac_status); } &&
92178 - { ac_try='test -z "$ac_c_werror_flag"
92179 - || test ! -s conftest.err'
92180 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92181 - (eval $ac_try) 2>&5
92182 - ac_status=$?
92183 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
92184 - (exit $ac_status); }; } &&
92185 - { ac_try='test -s conftest.$ac_objext'
92186 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92187 - (eval $ac_try) 2>&5
92188 - ac_status=$?
92189 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
92190 - (exit $ac_status); }; }; then
92191 - break
92192 -else
92193 - echo "$as_me: failed program was:" >&5
92194 -sed 's/^/| /' conftest.$ac_ext >&5
92195
92196 fi
92197 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92198 -done
92199 -rm -f conftest*
92200 -if test -n "$ac_declaration"; then
92201 - echo '#ifdef __cplusplus' >>confdefs.h
92202 - echo $ac_declaration >>confdefs.h
92203 - echo '#endif' >>confdefs.h
92204 -fi
92205 -
92206 -else
92207 - echo "$as_me: failed program was:" >&5
92208 -sed 's/^/| /' conftest.$ac_ext >&5
92209
92210 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
92211 + conftest$ac_exeext
92212 + if test "${ac_cv_search_strerror+set}" = set; then
92213 + break
92214 fi
92215 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92216 -ac_ext=c
92217 -ac_cpp='$CPP $CPPFLAGS'
92218 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92219 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92220 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
92221 -
92222 -
92223 -echo "$as_me:$LINENO: checking for library containing strerror" >&5
92224 -echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6
92225 +done
92226 if test "${ac_cv_search_strerror+set}" = set; then
92227 - echo $ECHO_N "(cached) $ECHO_C" >&6
92228 -else
92229 - ac_func_search_save_LIBS=$LIBS
92230 -ac_cv_search_strerror=no
92231 -cat >conftest.$ac_ext <<_ACEOF
92232 -/* confdefs.h. */
92233 -_ACEOF
92234 -cat confdefs.h >>conftest.$ac_ext
92235 -cat >>conftest.$ac_ext <<_ACEOF
92236 -/* end confdefs.h. */
92237 -
92238 -/* Override any gcc2 internal prototype to avoid an error. */
92239 -#ifdef __cplusplus
92240 -extern "C"
92241 -#endif
92242 -/* We use char because int might match the return type of a gcc2
92243 - builtin and then its argument prototype would still apply. */
92244 -char strerror ();
92245 -int
92246 -main ()
92247 -{
92248 -strerror ();
92249 - ;
92250 - return 0;
92251 -}
92252 -_ACEOF
92253 -rm -f conftest.$ac_objext conftest$ac_exeext
92254 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92255 - (eval $ac_link) 2>conftest.er1
92256 - ac_status=$?
92257 - grep -v '^ *+' conftest.er1 >conftest.err
92258 - rm -f conftest.er1
92259 - cat conftest.err >&5
92260 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
92261 - (exit $ac_status); } &&
92262 - { ac_try='test -z "$ac_c_werror_flag"
92263 - || test ! -s conftest.err'
92264 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92265 - (eval $ac_try) 2>&5
92266 - ac_status=$?
92267 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
92268 - (exit $ac_status); }; } &&
92269 - { ac_try='test -s conftest$ac_exeext'
92270 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92271 - (eval $ac_try) 2>&5
92272 - ac_status=$?
92273 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
92274 - (exit $ac_status); }; }; then
92275 - ac_cv_search_strerror="none required"
92276 -else
92277 - echo "$as_me: failed program was:" >&5
92278 -sed 's/^/| /' conftest.$ac_ext >&5
92279 -
92280 -fi
92281 -rm -f conftest.err conftest.$ac_objext \
92282 - conftest$ac_exeext conftest.$ac_ext
92283 -if test "$ac_cv_search_strerror" = no; then
92284 - for ac_lib in cposix; do
92285 - LIBS="-l$ac_lib $ac_func_search_save_LIBS"
92286 - cat >conftest.$ac_ext <<_ACEOF
92287 -/* confdefs.h. */
92288 -_ACEOF
92289 -cat confdefs.h >>conftest.$ac_ext
92290 -cat >>conftest.$ac_ext <<_ACEOF
92291 -/* end confdefs.h. */
92292 -
92293 -/* Override any gcc2 internal prototype to avoid an error. */
92294 -#ifdef __cplusplus
92295 -extern "C"
92296 -#endif
92297 -/* We use char because int might match the return type of a gcc2
92298 - builtin and then its argument prototype would still apply. */
92299 -char strerror ();
92300 -int
92301 -main ()
92302 -{
92303 -strerror ();
92304 - ;
92305 - return 0;
92306 -}
92307 -_ACEOF
92308 -rm -f conftest.$ac_objext conftest$ac_exeext
92309 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92310 - (eval $ac_link) 2>conftest.er1
92311 - ac_status=$?
92312 - grep -v '^ *+' conftest.er1 >conftest.err
92313 - rm -f conftest.er1
92314 - cat conftest.err >&5
92315 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
92316 - (exit $ac_status); } &&
92317 - { ac_try='test -z "$ac_c_werror_flag"
92318 - || test ! -s conftest.err'
92319 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92320 - (eval $ac_try) 2>&5
92321 - ac_status=$?
92322 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
92323 - (exit $ac_status); }; } &&
92324 - { ac_try='test -s conftest$ac_exeext'
92325 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92326 - (eval $ac_try) 2>&5
92327 - ac_status=$?
92328 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
92329 - (exit $ac_status); }; }; then
92330 - ac_cv_search_strerror="-l$ac_lib"
92331 -break
92332 + :
92333 else
92334 - echo "$as_me: failed program was:" >&5
92335 -sed 's/^/| /' conftest.$ac_ext >&5
92336 -
92337 -fi
92338 -rm -f conftest.err conftest.$ac_objext \
92339 - conftest$ac_exeext conftest.$ac_ext
92340 - done
92341 + ac_cv_search_strerror=no
92342 fi
92343 +rm conftest.$ac_ext
92344 LIBS=$ac_func_search_save_LIBS
92345 fi
92346 -echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
92347 -echo "${ECHO_T}$ac_cv_search_strerror" >&6
92348 -if test "$ac_cv_search_strerror" != no; then
92349 - test "$ac_cv_search_strerror" = "none required" || LIBS="$ac_cv_search_strerror $LIBS"
92350 +{ echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
92351 +echo "${ECHO_T}$ac_cv_search_strerror" >&6; }
92352 +ac_res=$ac_cv_search_strerror
92353 +if test "$ac_res" != no; then
92354 + test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
92355
92356 fi
92357
92358 @@ -2506,8 +2975,8 @@
92359 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
92360 # OS/2's system install, which has a completely different semantic
92361 # ./install, which can be erroneously created by make from ./install.sh.
92362 -echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
92363 -echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
92364 +{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
92365 +echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
92366 if test -z "$INSTALL"; then
92367 if test "${ac_cv_path_install+set}" = set; then
92368 echo $ECHO_N "(cached) $ECHO_C" >&6
92369 @@ -2529,7 +2998,7 @@
92370 # by default.
92371 for ac_prog in ginstall scoinst install; do
92372 for ac_exec_ext in '' $ac_executable_extensions; do
92373 - if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
92374 + if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
92375 if test $ac_prog = install &&
92376 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
92377 # AIX install. It has an incompatible calling convention.
92378 @@ -2548,21 +3017,22 @@
92379 ;;
92380 esac
92381 done
92382 +IFS=$as_save_IFS
92383
92384
92385 fi
92386 if test "${ac_cv_path_install+set}" = set; then
92387 INSTALL=$ac_cv_path_install
92388 else
92389 - # As a last resort, use the slow shell script. We don't cache a
92390 - # path for INSTALL within a source directory, because that will
92391 + # As a last resort, use the slow shell script. Don't cache a
92392 + # value for INSTALL within a source directory, because that will
92393 # break other packages using the cache if that directory is
92394 - # removed, or if the path is relative.
92395 + # removed, or if the value is a relative name.
92396 INSTALL=$ac_install_sh
92397 fi
92398 fi
92399 -echo "$as_me:$LINENO: result: $INSTALL" >&5
92400 -echo "${ECHO_T}$INSTALL" >&6
92401 +{ echo "$as_me:$LINENO: result: $INSTALL" >&5
92402 +echo "${ECHO_T}$INSTALL" >&6; }
92403
92404 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
92405 # It thinks the first close brace ends the variable substitution.
92406 @@ -2572,8 +3042,8 @@
92407
92408 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
92409
92410 -echo "$as_me:$LINENO: checking whether build environment is sane" >&5
92411 -echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
92412 +{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
92413 +echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
92414 # Just in case
92415 sleep 1
92416 echo timestamp > conftest.file
92417 @@ -2615,20 +3085,20 @@
92418 Check your system clock" >&2;}
92419 { (exit 1); exit 1; }; }
92420 fi
92421 -echo "$as_me:$LINENO: result: yes" >&5
92422 -echo "${ECHO_T}yes" >&6
92423 +{ echo "$as_me:$LINENO: result: yes" >&5
92424 +echo "${ECHO_T}yes" >&6; }
92425 test "$program_prefix" != NONE &&
92426 - program_transform_name="s,^,$program_prefix,;$program_transform_name"
92427 + program_transform_name="s&^&$program_prefix&;$program_transform_name"
92428 # Use a double $ so make ignores it.
92429 test "$program_suffix" != NONE &&
92430 - program_transform_name="s,\$,$program_suffix,;$program_transform_name"
92431 + program_transform_name="s&\$&$program_suffix&;$program_transform_name"
92432 # Double any \ or $. echo might interpret backslashes.
92433 # By default was `s,x,x', remove it if useless.
92434 cat <<\_ACEOF >conftest.sed
92435 s/[\\$]/&&/g;s/;s,x,x,$//
92436 _ACEOF
92437 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
92438 -rm conftest.sed
92439 +rm -f conftest.sed
92440
92441 # expand $ac_aux_dir to an absolute path
92442 am_aux_dir=`cd $ac_aux_dir && pwd`
92443 @@ -2680,8 +3150,8 @@
92444 do
92445 # Extract the first word of "$ac_prog", so it can be a program name with args.
92446 set dummy $ac_prog; ac_word=$2
92447 -echo "$as_me:$LINENO: checking for $ac_word" >&5
92448 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
92449 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
92450 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
92451 if test "${ac_cv_prog_AWK+set}" = set; then
92452 echo $ECHO_N "(cached) $ECHO_C" >&6
92453 else
92454 @@ -2694,54 +3164,57 @@
92455 IFS=$as_save_IFS
92456 test -z "$as_dir" && as_dir=.
92457 for ac_exec_ext in '' $ac_executable_extensions; do
92458 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
92459 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
92460 ac_cv_prog_AWK="$ac_prog"
92461 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
92462 break 2
92463 fi
92464 done
92465 done
92466 +IFS=$as_save_IFS
92467
92468 fi
92469 fi
92470 AWK=$ac_cv_prog_AWK
92471 if test -n "$AWK"; then
92472 - echo "$as_me:$LINENO: result: $AWK" >&5
92473 -echo "${ECHO_T}$AWK" >&6
92474 + { echo "$as_me:$LINENO: result: $AWK" >&5
92475 +echo "${ECHO_T}$AWK" >&6; }
92476 else
92477 - echo "$as_me:$LINENO: result: no" >&5
92478 -echo "${ECHO_T}no" >&6
92479 + { echo "$as_me:$LINENO: result: no" >&5
92480 +echo "${ECHO_T}no" >&6; }
92481 fi
92482
92483 +
92484 test -n "$AWK" && break
92485 done
92486
92487 -echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
92488 -echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
92489 -set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
92490 -if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
92491 +{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
92492 +echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
92493 +set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
92494 +if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
92495 echo $ECHO_N "(cached) $ECHO_C" >&6
92496 else
92497 cat >conftest.make <<\_ACEOF
92498 +SHELL = /bin/sh
92499 all:
92500 - @echo 'ac_maketemp="$(MAKE)"'
92501 + @echo '@@@%%%=$(MAKE)=@@@%%%'
92502 _ACEOF
92503 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
92504 -eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
92505 -if test -n "$ac_maketemp"; then
92506 - eval ac_cv_prog_make_${ac_make}_set=yes
92507 -else
92508 - eval ac_cv_prog_make_${ac_make}_set=no
92509 -fi
92510 +case `${MAKE-make} -f conftest.make 2>/dev/null` in
92511 + *@@@%%%=?*=@@@%%%*)
92512 + eval ac_cv_prog_make_${ac_make}_set=yes;;
92513 + *)
92514 + eval ac_cv_prog_make_${ac_make}_set=no;;
92515 +esac
92516 rm -f conftest.make
92517 fi
92518 -if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
92519 - echo "$as_me:$LINENO: result: yes" >&5
92520 -echo "${ECHO_T}yes" >&6
92521 +if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
92522 + { echo "$as_me:$LINENO: result: yes" >&5
92523 +echo "${ECHO_T}yes" >&6; }
92524 SET_MAKE=
92525 else
92526 - echo "$as_me:$LINENO: result: no" >&5
92527 -echo "${ECHO_T}no" >&6
92528 + { echo "$as_me:$LINENO: result: no" >&5
92529 +echo "${ECHO_T}no" >&6; }
92530 SET_MAKE="MAKE=${MAKE-make}"
92531 fi
92532
92533 @@ -2756,7 +3229,7 @@
92534
92535 DEPDIR="${am__leading_dot}deps"
92536
92537 - ac_config_commands="$ac_config_commands depfiles"
92538 +ac_config_commands="$ac_config_commands depfiles"
92539
92540
92541 am_make=${MAKE-make}
92542 @@ -2766,8 +3239,8 @@
92543 .PHONY: am__doit
92544 END
92545 # If we don't find an include directive, just comment out the code.
92546 -echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
92547 -echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
92548 +{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
92549 +echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
92550 am__include="#"
92551 am__quote=
92552 _am_result=none
92553 @@ -2794,15 +3267,15 @@
92554 fi
92555
92556
92557 -echo "$as_me:$LINENO: result: $_am_result" >&5
92558 -echo "${ECHO_T}$_am_result" >&6
92559 +{ echo "$as_me:$LINENO: result: $_am_result" >&5
92560 +echo "${ECHO_T}$_am_result" >&6; }
92561 rm -f confinc confmf
92562
92563 -# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
92564 +# Check whether --enable-dependency-tracking was given.
92565 if test "${enable_dependency_tracking+set}" = set; then
92566 - enableval="$enable_dependency_tracking"
92567 + enableval=$enable_dependency_tracking;
92568 +fi
92569
92570 -fi;
92571 if test "x$enable_dependency_tracking" != xno; then
92572 am_depcomp="$ac_aux_dir/depcomp"
92573 AMDEPBACKSLASH='\'
92574 @@ -2877,8 +3350,8 @@
92575 if test -n "$ac_tool_prefix"; then
92576 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
92577 set dummy ${ac_tool_prefix}strip; ac_word=$2
92578 -echo "$as_me:$LINENO: checking for $ac_word" >&5
92579 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
92580 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
92581 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
92582 if test "${ac_cv_prog_STRIP+set}" = set; then
92583 echo $ECHO_N "(cached) $ECHO_C" >&6
92584 else
92585 @@ -2891,32 +3364,34 @@
92586 IFS=$as_save_IFS
92587 test -z "$as_dir" && as_dir=.
92588 for ac_exec_ext in '' $ac_executable_extensions; do
92589 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
92590 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
92591 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
92592 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
92593 break 2
92594 fi
92595 done
92596 done
92597 +IFS=$as_save_IFS
92598
92599 fi
92600 fi
92601 STRIP=$ac_cv_prog_STRIP
92602 if test -n "$STRIP"; then
92603 - echo "$as_me:$LINENO: result: $STRIP" >&5
92604 -echo "${ECHO_T}$STRIP" >&6
92605 + { echo "$as_me:$LINENO: result: $STRIP" >&5
92606 +echo "${ECHO_T}$STRIP" >&6; }
92607 else
92608 - echo "$as_me:$LINENO: result: no" >&5
92609 -echo "${ECHO_T}no" >&6
92610 + { echo "$as_me:$LINENO: result: no" >&5
92611 +echo "${ECHO_T}no" >&6; }
92612 fi
92613
92614 +
92615 fi
92616 if test -z "$ac_cv_prog_STRIP"; then
92617 ac_ct_STRIP=$STRIP
92618 # Extract the first word of "strip", so it can be a program name with args.
92619 set dummy strip; ac_word=$2
92620 -echo "$as_me:$LINENO: checking for $ac_word" >&5
92621 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
92622 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
92623 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
92624 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
92625 echo $ECHO_N "(cached) $ECHO_C" >&6
92626 else
92627 @@ -2929,27 +3404,41 @@
92628 IFS=$as_save_IFS
92629 test -z "$as_dir" && as_dir=.
92630 for ac_exec_ext in '' $ac_executable_extensions; do
92631 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
92632 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
92633 ac_cv_prog_ac_ct_STRIP="strip"
92634 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
92635 break 2
92636 fi
92637 done
92638 done
92639 +IFS=$as_save_IFS
92640
92641 - test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
92642 fi
92643 fi
92644 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
92645 if test -n "$ac_ct_STRIP"; then
92646 - echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
92647 -echo "${ECHO_T}$ac_ct_STRIP" >&6
92648 + { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
92649 +echo "${ECHO_T}$ac_ct_STRIP" >&6; }
92650 else
92651 - echo "$as_me:$LINENO: result: no" >&5
92652 -echo "${ECHO_T}no" >&6
92653 + { echo "$as_me:$LINENO: result: no" >&5
92654 +echo "${ECHO_T}no" >&6; }
92655 fi
92656
92657 - STRIP=$ac_ct_STRIP
92658 + if test "x$ac_ct_STRIP" = x; then
92659 + STRIP=":"
92660 + else
92661 + case $cross_compiling:$ac_tool_warned in
92662 +yes:)
92663 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
92664 +whose name does not start with the host triplet. If you think this
92665 +configuration is useful to you, please write to autoconf@gnu.org." >&5
92666 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
92667 +whose name does not start with the host triplet. If you think this
92668 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
92669 +ac_tool_warned=yes ;;
92670 +esac
92671 + STRIP=$ac_ct_STRIP
92672 + fi
92673 else
92674 STRIP="$ac_cv_prog_STRIP"
92675 fi
92676 @@ -2970,8 +3459,8 @@
92677
92678 depcc="$CC" am_compiler_list=
92679
92680 -echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
92681 -echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
92682 +{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
92683 +echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
92684 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
92685 echo $ECHO_N "(cached) $ECHO_C" >&6
92686 else
92687 @@ -3060,8 +3549,8 @@
92688 fi
92689
92690 fi
92691 -echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
92692 -echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
92693 +{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
92694 +echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
92695 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
92696
92697
92698 @@ -3082,8 +3571,8 @@
92699 if test -n "$ac_tool_prefix"; then
92700 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
92701 set dummy ${ac_tool_prefix}ar; ac_word=$2
92702 -echo "$as_me:$LINENO: checking for $ac_word" >&5
92703 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
92704 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
92705 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
92706 if test "${ac_cv_prog_AR+set}" = set; then
92707 echo $ECHO_N "(cached) $ECHO_C" >&6
92708 else
92709 @@ -3096,32 +3585,34 @@
92710 IFS=$as_save_IFS
92711 test -z "$as_dir" && as_dir=.
92712 for ac_exec_ext in '' $ac_executable_extensions; do
92713 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
92714 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
92715 ac_cv_prog_AR="${ac_tool_prefix}ar"
92716 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
92717 break 2
92718 fi
92719 done
92720 done
92721 +IFS=$as_save_IFS
92722
92723 fi
92724 fi
92725 AR=$ac_cv_prog_AR
92726 if test -n "$AR"; then
92727 - echo "$as_me:$LINENO: result: $AR" >&5
92728 -echo "${ECHO_T}$AR" >&6
92729 + { echo "$as_me:$LINENO: result: $AR" >&5
92730 +echo "${ECHO_T}$AR" >&6; }
92731 else
92732 - echo "$as_me:$LINENO: result: no" >&5
92733 -echo "${ECHO_T}no" >&6
92734 + { echo "$as_me:$LINENO: result: no" >&5
92735 +echo "${ECHO_T}no" >&6; }
92736 fi
92737
92738 +
92739 fi
92740 if test -z "$ac_cv_prog_AR"; then
92741 ac_ct_AR=$AR
92742 # Extract the first word of "ar", so it can be a program name with args.
92743 set dummy ar; ac_word=$2
92744 -echo "$as_me:$LINENO: checking for $ac_word" >&5
92745 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
92746 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
92747 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
92748 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
92749 echo $ECHO_N "(cached) $ECHO_C" >&6
92750 else
92751 @@ -3134,26 +3625,41 @@
92752 IFS=$as_save_IFS
92753 test -z "$as_dir" && as_dir=.
92754 for ac_exec_ext in '' $ac_executable_extensions; do
92755 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
92756 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
92757 ac_cv_prog_ac_ct_AR="ar"
92758 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
92759 break 2
92760 fi
92761 done
92762 done
92763 +IFS=$as_save_IFS
92764
92765 fi
92766 fi
92767 ac_ct_AR=$ac_cv_prog_ac_ct_AR
92768 if test -n "$ac_ct_AR"; then
92769 - echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
92770 -echo "${ECHO_T}$ac_ct_AR" >&6
92771 + { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
92772 +echo "${ECHO_T}$ac_ct_AR" >&6; }
92773 else
92774 - echo "$as_me:$LINENO: result: no" >&5
92775 -echo "${ECHO_T}no" >&6
92776 + { echo "$as_me:$LINENO: result: no" >&5
92777 +echo "${ECHO_T}no" >&6; }
92778 fi
92779
92780 - AR=$ac_ct_AR
92781 + if test "x$ac_ct_AR" = x; then
92782 + AR=""
92783 + else
92784 + case $cross_compiling:$ac_tool_warned in
92785 +yes:)
92786 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
92787 +whose name does not start with the host triplet. If you think this
92788 +configuration is useful to you, please write to autoconf@gnu.org." >&5
92789 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
92790 +whose name does not start with the host triplet. If you think this
92791 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
92792 +ac_tool_warned=yes ;;
92793 +esac
92794 + AR=$ac_ct_AR
92795 + fi
92796 else
92797 AR="$ac_cv_prog_AR"
92798 fi
92799 @@ -3161,8 +3667,8 @@
92800 if test -n "$ac_tool_prefix"; then
92801 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
92802 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
92803 -echo "$as_me:$LINENO: checking for $ac_word" >&5
92804 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
92805 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
92806 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
92807 if test "${ac_cv_prog_RANLIB+set}" = set; then
92808 echo $ECHO_N "(cached) $ECHO_C" >&6
92809 else
92810 @@ -3175,32 +3681,34 @@
92811 IFS=$as_save_IFS
92812 test -z "$as_dir" && as_dir=.
92813 for ac_exec_ext in '' $ac_executable_extensions; do
92814 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
92815 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
92816 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
92817 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
92818 break 2
92819 fi
92820 done
92821 done
92822 +IFS=$as_save_IFS
92823
92824 fi
92825 fi
92826 RANLIB=$ac_cv_prog_RANLIB
92827 if test -n "$RANLIB"; then
92828 - echo "$as_me:$LINENO: result: $RANLIB" >&5
92829 -echo "${ECHO_T}$RANLIB" >&6
92830 + { echo "$as_me:$LINENO: result: $RANLIB" >&5
92831 +echo "${ECHO_T}$RANLIB" >&6; }
92832 else
92833 - echo "$as_me:$LINENO: result: no" >&5
92834 -echo "${ECHO_T}no" >&6
92835 + { echo "$as_me:$LINENO: result: no" >&5
92836 +echo "${ECHO_T}no" >&6; }
92837 fi
92838
92839 +
92840 fi
92841 if test -z "$ac_cv_prog_RANLIB"; then
92842 ac_ct_RANLIB=$RANLIB
92843 # Extract the first word of "ranlib", so it can be a program name with args.
92844 set dummy ranlib; ac_word=$2
92845 -echo "$as_me:$LINENO: checking for $ac_word" >&5
92846 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
92847 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
92848 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
92849 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
92850 echo $ECHO_N "(cached) $ECHO_C" >&6
92851 else
92852 @@ -3213,36 +3721,49 @@
92853 IFS=$as_save_IFS
92854 test -z "$as_dir" && as_dir=.
92855 for ac_exec_ext in '' $ac_executable_extensions; do
92856 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
92857 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
92858 ac_cv_prog_ac_ct_RANLIB="ranlib"
92859 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
92860 break 2
92861 fi
92862 done
92863 done
92864 +IFS=$as_save_IFS
92865
92866 - test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
92867 fi
92868 fi
92869 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
92870 if test -n "$ac_ct_RANLIB"; then
92871 - echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
92872 -echo "${ECHO_T}$ac_ct_RANLIB" >&6
92873 + { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
92874 +echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
92875 else
92876 - echo "$as_me:$LINENO: result: no" >&5
92877 -echo "${ECHO_T}no" >&6
92878 + { echo "$as_me:$LINENO: result: no" >&5
92879 +echo "${ECHO_T}no" >&6; }
92880 fi
92881
92882 - RANLIB=$ac_ct_RANLIB
92883 + if test "x$ac_ct_RANLIB" = x; then
92884 + RANLIB=":"
92885 + else
92886 + case $cross_compiling:$ac_tool_warned in
92887 +yes:)
92888 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
92889 +whose name does not start with the host triplet. If you think this
92890 +configuration is useful to you, please write to autoconf@gnu.org." >&5
92891 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
92892 +whose name does not start with the host triplet. If you think this
92893 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
92894 +ac_tool_warned=yes ;;
92895 +esac
92896 + RANLIB=$ac_ct_RANLIB
92897 + fi
92898 else
92899 RANLIB="$ac_cv_prog_RANLIB"
92900 fi
92901
92902
92903 -# Check whether --enable-shared or --disable-shared was given.
92904 +# Check whether --enable-shared was given.
92905 if test "${enable_shared+set}" = set; then
92906 - enableval="$enable_shared"
92907 - p=${PACKAGE-default}
92908 + enableval=$enable_shared; p=${PACKAGE-default}
92909 case $enableval in
92910 yes) enable_shared=yes ;;
92911 no) enable_shared=no ;;
92912 @@ -3260,12 +3781,12 @@
92913 esac
92914 else
92915 enable_shared=no
92916 -fi;
92917 +fi
92918 +
92919
92920 -# Check whether --enable-static or --disable-static was given.
92921 +# Check whether --enable-static was given.
92922 if test "${enable_static+set}" = set; then
92923 - enableval="$enable_static"
92924 - p=${PACKAGE-default}
92925 + enableval=$enable_static; p=${PACKAGE-default}
92926 case $enableval in
92927 yes) enable_static=yes ;;
92928 no) enable_static=no ;;
92929 @@ -3283,11 +3804,11 @@
92930 esac
92931 else
92932 enable_static=yes
92933 -fi;
92934 -# Check whether --enable-fast-install or --disable-fast-install was given.
92935 +fi
92936 +
92937 +# Check whether --enable-fast-install was given.
92938 if test "${enable_fast_install+set}" = set; then
92939 - enableval="$enable_fast_install"
92940 - p=${PACKAGE-default}
92941 + enableval=$enable_fast_install; p=${PACKAGE-default}
92942 case $enableval in
92943 yes) enable_fast_install=yes ;;
92944 no) enable_fast_install=no ;;
92945 @@ -3305,20 +3826,21 @@
92946 esac
92947 else
92948 enable_fast_install=yes
92949 -fi;
92950 +fi
92951 +
92952
92953 -# Check whether --with-gnu-ld or --without-gnu-ld was given.
92954 +# Check whether --with-gnu-ld was given.
92955 if test "${with_gnu_ld+set}" = set; then
92956 - withval="$with_gnu_ld"
92957 - test "$withval" = no || with_gnu_ld=yes
92958 + withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
92959 else
92960 with_gnu_ld=no
92961 -fi;
92962 +fi
92963 +
92964 ac_prog=ld
92965 if test "$GCC" = yes; then
92966 # Check if gcc -print-prog-name=ld gives a path.
92967 - echo "$as_me:$LINENO: checking for ld used by GCC" >&5
92968 -echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
92969 + { echo "$as_me:$LINENO: checking for ld used by GCC" >&5
92970 +echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6; }
92971 case $host in
92972 *-*-mingw*)
92973 # gcc leaves a trailing carriage return which upsets mingw
92974 @@ -3347,11 +3869,11 @@
92975 ;;
92976 esac
92977 elif test "$with_gnu_ld" = yes; then
92978 - echo "$as_me:$LINENO: checking for GNU ld" >&5
92979 -echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
92980 + { echo "$as_me:$LINENO: checking for GNU ld" >&5
92981 +echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
92982 else
92983 - echo "$as_me:$LINENO: checking for non-GNU ld" >&5
92984 -echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
92985 + { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
92986 +echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
92987 fi
92988 if test "${lt_cv_path_LD+set}" = set; then
92989 echo $ECHO_N "(cached) $ECHO_C" >&6
92990 @@ -3380,17 +3902,17 @@
92991
92992 LD="$lt_cv_path_LD"
92993 if test -n "$LD"; then
92994 - echo "$as_me:$LINENO: result: $LD" >&5
92995 -echo "${ECHO_T}$LD" >&6
92996 + { echo "$as_me:$LINENO: result: $LD" >&5
92997 +echo "${ECHO_T}$LD" >&6; }
92998 else
92999 - echo "$as_me:$LINENO: result: no" >&5
93000 -echo "${ECHO_T}no" >&6
93001 + { echo "$as_me:$LINENO: result: no" >&5
93002 +echo "${ECHO_T}no" >&6; }
93003 fi
93004 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
93005 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
93006 { (exit 1); exit 1; }; }
93007 -echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
93008 -echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
93009 +{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
93010 +echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
93011 if test "${lt_cv_prog_gnu_ld+set}" = set; then
93012 echo $ECHO_N "(cached) $ECHO_C" >&6
93013 else
93014 @@ -3401,25 +3923,25 @@
93015 lt_cv_prog_gnu_ld=no
93016 fi
93017 fi
93018 -echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
93019 -echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
93020 +{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
93021 +echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
93022 with_gnu_ld=$lt_cv_prog_gnu_ld
93023
93024
93025 -echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
93026 -echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
93027 +{ echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
93028 +echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
93029 if test "${lt_cv_ld_reload_flag+set}" = set; then
93030 echo $ECHO_N "(cached) $ECHO_C" >&6
93031 else
93032 lt_cv_ld_reload_flag='-r'
93033 fi
93034 -echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
93035 -echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
93036 +{ echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
93037 +echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
93038 reload_flag=$lt_cv_ld_reload_flag
93039 test -n "$reload_flag" && reload_flag=" $reload_flag"
93040
93041 -echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
93042 -echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
93043 +{ echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
93044 +echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
93045 if test "${lt_cv_path_NM+set}" = set; then
93046 echo $ECHO_N "(cached) $ECHO_C" >&6
93047 else
93048 @@ -3454,22 +3976,22 @@
93049 fi
93050
93051 NM="$lt_cv_path_NM"
93052 -echo "$as_me:$LINENO: result: $NM" >&5
93053 -echo "${ECHO_T}$NM" >&6
93054 +{ echo "$as_me:$LINENO: result: $NM" >&5
93055 +echo "${ECHO_T}$NM" >&6; }
93056
93057 -echo "$as_me:$LINENO: checking whether ln -s works" >&5
93058 -echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
93059 +{ echo "$as_me:$LINENO: checking whether ln -s works" >&5
93060 +echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
93061 LN_S=$as_ln_s
93062 if test "$LN_S" = "ln -s"; then
93063 - echo "$as_me:$LINENO: result: yes" >&5
93064 -echo "${ECHO_T}yes" >&6
93065 + { echo "$as_me:$LINENO: result: yes" >&5
93066 +echo "${ECHO_T}yes" >&6; }
93067 else
93068 - echo "$as_me:$LINENO: result: no, using $LN_S" >&5
93069 -echo "${ECHO_T}no, using $LN_S" >&6
93070 + { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
93071 +echo "${ECHO_T}no, using $LN_S" >&6; }
93072 fi
93073
93074 -echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
93075 -echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
93076 +{ echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
93077 +echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6; }
93078 if test "${lt_cv_deplibs_check_method+set}" = set; then
93079 echo $ECHO_N "(cached) $ECHO_C" >&6
93080 else
93081 @@ -3631,8 +4153,8 @@
93082 esac
93083
93084 fi
93085 -echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
93086 -echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
93087 +{ echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
93088 +echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
93089 file_magic_cmd=$lt_cv_file_magic_cmd
93090 deplibs_check_method=$lt_cv_deplibs_check_method
93091
93092 @@ -3642,8 +4164,8 @@
93093 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
93094
93095 # find the maximum length of command line arguments
93096 -echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
93097 -echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
93098 +{ echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
93099 +echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
93100 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
93101 echo $ECHO_N "(cached) $ECHO_C" >&6
93102 else
93103 @@ -3694,11 +4216,11 @@
93104 fi
93105
93106 if test -n "$lt_cv_sys_max_cmd_len" ; then
93107 - echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
93108 -echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
93109 + { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
93110 +echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
93111 else
93112 - echo "$as_me:$LINENO: result: none" >&5
93113 -echo "${ECHO_T}none" >&6
93114 + { echo "$as_me:$LINENO: result: none" >&5
93115 +echo "${ECHO_T}none" >&6; }
93116 fi
93117
93118
93119 @@ -3706,8 +4228,8 @@
93120 case $deplibs_check_method in
93121 file_magic*)
93122 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
93123 - echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
93124 -echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
93125 + { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
93126 +echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
93127 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
93128 echo $ECHO_N "(cached) $ECHO_C" >&6
93129 else
93130 @@ -3761,17 +4283,17 @@
93131
93132 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
93133 if test -n "$MAGIC_CMD"; then
93134 - echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
93135 -echo "${ECHO_T}$MAGIC_CMD" >&6
93136 + { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
93137 +echo "${ECHO_T}$MAGIC_CMD" >&6; }
93138 else
93139 - echo "$as_me:$LINENO: result: no" >&5
93140 -echo "${ECHO_T}no" >&6
93141 + { echo "$as_me:$LINENO: result: no" >&5
93142 +echo "${ECHO_T}no" >&6; }
93143 fi
93144
93145 if test -z "$lt_cv_path_MAGIC_CMD"; then
93146 if test -n "$ac_tool_prefix"; then
93147 - echo "$as_me:$LINENO: checking for file" >&5
93148 -echo $ECHO_N "checking for file... $ECHO_C" >&6
93149 + { echo "$as_me:$LINENO: checking for file" >&5
93150 +echo $ECHO_N "checking for file... $ECHO_C" >&6; }
93151 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
93152 echo $ECHO_N "(cached) $ECHO_C" >&6
93153 else
93154 @@ -3825,11 +4347,11 @@
93155
93156 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
93157 if test -n "$MAGIC_CMD"; then
93158 - echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
93159 -echo "${ECHO_T}$MAGIC_CMD" >&6
93160 + { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
93161 +echo "${ECHO_T}$MAGIC_CMD" >&6; }
93162 else
93163 - echo "$as_me:$LINENO: result: no" >&5
93164 -echo "${ECHO_T}no" >&6
93165 + { echo "$as_me:$LINENO: result: no" >&5
93166 +echo "${ECHO_T}no" >&6; }
93167 fi
93168
93169 else
93170 @@ -3844,8 +4366,8 @@
93171 if test -n "$ac_tool_prefix"; then
93172 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
93173 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
93174 -echo "$as_me:$LINENO: checking for $ac_word" >&5
93175 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
93176 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
93177 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
93178 if test "${ac_cv_prog_RANLIB+set}" = set; then
93179 echo $ECHO_N "(cached) $ECHO_C" >&6
93180 else
93181 @@ -3858,32 +4380,34 @@
93182 IFS=$as_save_IFS
93183 test -z "$as_dir" && as_dir=.
93184 for ac_exec_ext in '' $ac_executable_extensions; do
93185 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
93186 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
93187 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
93188 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
93189 break 2
93190 fi
93191 done
93192 done
93193 +IFS=$as_save_IFS
93194
93195 fi
93196 fi
93197 RANLIB=$ac_cv_prog_RANLIB
93198 if test -n "$RANLIB"; then
93199 - echo "$as_me:$LINENO: result: $RANLIB" >&5
93200 -echo "${ECHO_T}$RANLIB" >&6
93201 + { echo "$as_me:$LINENO: result: $RANLIB" >&5
93202 +echo "${ECHO_T}$RANLIB" >&6; }
93203 else
93204 - echo "$as_me:$LINENO: result: no" >&5
93205 -echo "${ECHO_T}no" >&6
93206 + { echo "$as_me:$LINENO: result: no" >&5
93207 +echo "${ECHO_T}no" >&6; }
93208 fi
93209
93210 +
93211 fi
93212 if test -z "$ac_cv_prog_RANLIB"; then
93213 ac_ct_RANLIB=$RANLIB
93214 # Extract the first word of "ranlib", so it can be a program name with args.
93215 set dummy ranlib; ac_word=$2
93216 -echo "$as_me:$LINENO: checking for $ac_word" >&5
93217 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
93218 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
93219 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
93220 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
93221 echo $ECHO_N "(cached) $ECHO_C" >&6
93222 else
93223 @@ -3896,27 +4420,41 @@
93224 IFS=$as_save_IFS
93225 test -z "$as_dir" && as_dir=.
93226 for ac_exec_ext in '' $ac_executable_extensions; do
93227 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
93228 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
93229 ac_cv_prog_ac_ct_RANLIB="ranlib"
93230 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
93231 break 2
93232 fi
93233 done
93234 done
93235 +IFS=$as_save_IFS
93236
93237 - test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
93238 fi
93239 fi
93240 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
93241 if test -n "$ac_ct_RANLIB"; then
93242 - echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
93243 -echo "${ECHO_T}$ac_ct_RANLIB" >&6
93244 + { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
93245 +echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
93246 else
93247 - echo "$as_me:$LINENO: result: no" >&5
93248 -echo "${ECHO_T}no" >&6
93249 + { echo "$as_me:$LINENO: result: no" >&5
93250 +echo "${ECHO_T}no" >&6; }
93251 fi
93252
93253 - RANLIB=$ac_ct_RANLIB
93254 + if test "x$ac_ct_RANLIB" = x; then
93255 + RANLIB=":"
93256 + else
93257 + case $cross_compiling:$ac_tool_warned in
93258 +yes:)
93259 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
93260 +whose name does not start with the host triplet. If you think this
93261 +configuration is useful to you, please write to autoconf@gnu.org." >&5
93262 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
93263 +whose name does not start with the host triplet. If you think this
93264 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
93265 +ac_tool_warned=yes ;;
93266 +esac
93267 + RANLIB=$ac_ct_RANLIB
93268 + fi
93269 else
93270 RANLIB="$ac_cv_prog_RANLIB"
93271 fi
93272 @@ -3924,8 +4462,8 @@
93273 if test -n "$ac_tool_prefix"; then
93274 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
93275 set dummy ${ac_tool_prefix}strip; ac_word=$2
93276 -echo "$as_me:$LINENO: checking for $ac_word" >&5
93277 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
93278 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
93279 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
93280 if test "${ac_cv_prog_STRIP+set}" = set; then
93281 echo $ECHO_N "(cached) $ECHO_C" >&6
93282 else
93283 @@ -3938,32 +4476,34 @@
93284 IFS=$as_save_IFS
93285 test -z "$as_dir" && as_dir=.
93286 for ac_exec_ext in '' $ac_executable_extensions; do
93287 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
93288 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
93289 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
93290 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
93291 break 2
93292 fi
93293 done
93294 done
93295 +IFS=$as_save_IFS
93296
93297 fi
93298 fi
93299 STRIP=$ac_cv_prog_STRIP
93300 if test -n "$STRIP"; then
93301 - echo "$as_me:$LINENO: result: $STRIP" >&5
93302 -echo "${ECHO_T}$STRIP" >&6
93303 + { echo "$as_me:$LINENO: result: $STRIP" >&5
93304 +echo "${ECHO_T}$STRIP" >&6; }
93305 else
93306 - echo "$as_me:$LINENO: result: no" >&5
93307 -echo "${ECHO_T}no" >&6
93308 + { echo "$as_me:$LINENO: result: no" >&5
93309 +echo "${ECHO_T}no" >&6; }
93310 fi
93311
93312 +
93313 fi
93314 if test -z "$ac_cv_prog_STRIP"; then
93315 ac_ct_STRIP=$STRIP
93316 # Extract the first word of "strip", so it can be a program name with args.
93317 set dummy strip; ac_word=$2
93318 -echo "$as_me:$LINENO: checking for $ac_word" >&5
93319 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
93320 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
93321 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
93322 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
93323 echo $ECHO_N "(cached) $ECHO_C" >&6
93324 else
93325 @@ -3976,27 +4516,41 @@
93326 IFS=$as_save_IFS
93327 test -z "$as_dir" && as_dir=.
93328 for ac_exec_ext in '' $ac_executable_extensions; do
93329 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
93330 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
93331 ac_cv_prog_ac_ct_STRIP="strip"
93332 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
93333 break 2
93334 fi
93335 done
93336 done
93337 +IFS=$as_save_IFS
93338
93339 - test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
93340 fi
93341 fi
93342 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
93343 if test -n "$ac_ct_STRIP"; then
93344 - echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
93345 -echo "${ECHO_T}$ac_ct_STRIP" >&6
93346 + { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
93347 +echo "${ECHO_T}$ac_ct_STRIP" >&6; }
93348 else
93349 - echo "$as_me:$LINENO: result: no" >&5
93350 -echo "${ECHO_T}no" >&6
93351 + { echo "$as_me:$LINENO: result: no" >&5
93352 +echo "${ECHO_T}no" >&6; }
93353 fi
93354
93355 - STRIP=$ac_ct_STRIP
93356 + if test "x$ac_ct_STRIP" = x; then
93357 + STRIP=":"
93358 + else
93359 + case $cross_compiling:$ac_tool_warned in
93360 +yes:)
93361 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
93362 +whose name does not start with the host triplet. If you think this
93363 +configuration is useful to you, please write to autoconf@gnu.org." >&5
93364 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
93365 +whose name does not start with the host triplet. If you think this
93366 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
93367 +ac_tool_warned=yes ;;
93368 +esac
93369 + STRIP=$ac_ct_STRIP
93370 + fi
93371 else
93372 STRIP="$ac_cv_prog_STRIP"
93373 fi
93374 @@ -4011,22 +4565,22 @@
93375 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
93376
93377
93378 -# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
93379 +# Check whether --enable-libtool-lock was given.
93380 if test "${enable_libtool_lock+set}" = set; then
93381 - enableval="$enable_libtool_lock"
93382 + enableval=$enable_libtool_lock;
93383 +fi
93384
93385 -fi;
93386 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
93387 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
93388
93389
93390 -# Check whether --with-pic or --without-pic was given.
93391 +# Check whether --with-pic was given.
93392 if test "${with_pic+set}" = set; then
93393 - withval="$with_pic"
93394 - pic_mode="$withval"
93395 + withval=$with_pic; pic_mode="$withval"
93396 else
93397 pic_mode=default
93398 -fi;
93399 +fi
93400 +
93401 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
93402 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
93403
93404 @@ -4035,7 +4589,7 @@
93405 case $host in
93406 *-*-irix6*)
93407 # Find out which ABI we are using.
93408 - echo '#line 4038 "configure"' > conftest.$ac_ext
93409 + echo '#line 4592 "configure"' > conftest.$ac_ext
93410 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93411 (eval $ac_compile) 2>&5
93412 ac_status=$?
93413 @@ -4140,13 +4694,12 @@
93414 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
93415 SAVE_CFLAGS="$CFLAGS"
93416 CFLAGS="$CFLAGS -belf"
93417 - echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
93418 -echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
93419 + { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
93420 +echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
93421 if test "${lt_cv_cc_needs_belf+set}" = set; then
93422 echo $ECHO_N "(cached) $ECHO_C" >&6
93423 else
93424
93425 -
93426 ac_ext=c
93427 ac_cpp='$CPP $CPPFLAGS'
93428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93429 @@ -4169,35 +4722,32 @@
93430 }
93431 _ACEOF
93432 rm -f conftest.$ac_objext conftest$ac_exeext
93433 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93434 - (eval $ac_link) 2>conftest.er1
93435 +if { (ac_try="$ac_link"
93436 +case "(($ac_try" in
93437 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
93438 + *) ac_try_echo=$ac_try;;
93439 +esac
93440 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
93441 + (eval "$ac_link") 2>conftest.er1
93442 ac_status=$?
93443 grep -v '^ *+' conftest.er1 >conftest.err
93444 rm -f conftest.er1
93445 cat conftest.err >&5
93446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93447 - (exit $ac_status); } &&
93448 - { ac_try='test -z "$ac_c_werror_flag"
93449 - || test ! -s conftest.err'
93450 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93451 - (eval $ac_try) 2>&5
93452 - ac_status=$?
93453 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
93454 - (exit $ac_status); }; } &&
93455 - { ac_try='test -s conftest$ac_exeext'
93456 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93457 - (eval $ac_try) 2>&5
93458 - ac_status=$?
93459 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
93460 - (exit $ac_status); }; }; then
93461 + (exit $ac_status); } && {
93462 + test -z "$ac_c_werror_flag" ||
93463 + test ! -s conftest.err
93464 + } && test -s conftest$ac_exeext &&
93465 + $as_test_x conftest$ac_exeext; then
93466 lt_cv_cc_needs_belf=yes
93467 else
93468 echo "$as_me: failed program was:" >&5
93469 sed 's/^/| /' conftest.$ac_ext >&5
93470
93471 -lt_cv_cc_needs_belf=no
93472 + lt_cv_cc_needs_belf=no
93473 fi
93474 -rm -f conftest.err conftest.$ac_objext \
93475 +
93476 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
93477 conftest$ac_exeext conftest.$ac_ext
93478 ac_ext=c
93479 ac_cpp='$CPP $CPPFLAGS'
93480 @@ -4206,8 +4756,8 @@
93481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93482
93483 fi
93484 -echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
93485 -echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
93486 +{ echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
93487 +echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
93488 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
93489 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
93490 CFLAGS="$SAVE_CFLAGS"
93491 @@ -4237,39 +4787,58 @@
93492
93493 # The following way of writing the cache mishandles newlines in values,
93494 # but we know of no workaround that is simple, portable, and efficient.
93495 -# So, don't put newlines in cache variables' values.
93496 +# So, we kill variables containing newlines.
93497 # Ultrix sh set writes to stderr and can't be redirected directly,
93498 # and sets the high bit in the cache file unless we assign to the vars.
93499 -{
93500 +(
93501 + for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
93502 + eval ac_val=\$$ac_var
93503 + case $ac_val in #(
93504 + *${as_nl}*)
93505 + case $ac_var in #(
93506 + *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
93507 +echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
93508 + esac
93509 + case $ac_var in #(
93510 + _ | IFS | as_nl) ;; #(
93511 + *) $as_unset $ac_var ;;
93512 + esac ;;
93513 + esac
93514 + done
93515 +
93516 (set) 2>&1 |
93517 - case `(ac_space=' '; set | grep ac_space) 2>&1` in
93518 - *ac_space=\ *)
93519 + case $as_nl`(ac_space=' '; set) 2>&1` in #(
93520 + *${as_nl}ac_space=\ *)
93521 # `set' does not quote correctly, so add quotes (double-quote
93522 # substitution turns \\\\ into \\, and sed turns \\ into \).
93523 sed -n \
93524 "s/'/'\\\\''/g;
93525 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
93526 - ;;
93527 + ;; #(
93528 *)
93529 # `set' quotes correctly as required by POSIX, so do not add quotes.
93530 - sed -n \
93531 - "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
93532 + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
93533 ;;
93534 - esac;
93535 -} |
93536 + esac |
93537 + sort
93538 +) |
93539 sed '
93540 + /^ac_cv_env_/b end
93541 t clear
93542 - : clear
93543 + :clear
93544 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
93545 t end
93546 - /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
93547 - : end' >>confcache
93548 -if diff $cache_file confcache >/dev/null 2>&1; then :; else
93549 - if test -w $cache_file; then
93550 - test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
93551 + s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
93552 + :end' >>confcache
93553 +if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
93554 + if test -w "$cache_file"; then
93555 + test "x$cache_file" != "x/dev/null" &&
93556 + { echo "$as_me:$LINENO: updating cache $cache_file" >&5
93557 +echo "$as_me: updating cache $cache_file" >&6;}
93558 cat confcache >$cache_file
93559 else
93560 - echo "not updating unwritable cache $cache_file"
93561 + { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
93562 +echo "$as_me: not updating unwritable cache $cache_file" >&6;}
93563 fi
93564 fi
93565 rm -f confcache
93566 @@ -4295,8 +4864,8 @@
93567 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
93568 echo "$as_me: loading cache $cache_file" >&6;}
93569 case $cache_file in
93570 - [\\/]* | ?:[\\/]* ) . $cache_file;;
93571 - *) . ./$cache_file;;
93572 + [\\/]* | ?:[\\/]* ) . "$cache_file";;
93573 + *) . "./$cache_file";;
93574 esac
93575 fi
93576 else
93577 @@ -4322,10 +4891,9 @@
93578
93579
93580
93581 -# Check whether --enable-targets or --disable-targets was given.
93582 +# Check whether --enable-targets was given.
93583 if test "${enable_targets+set}" = set; then
93584 - enableval="$enable_targets"
93585 - case "${enableval}" in
93586 + enableval=$enable_targets; case "${enableval}" in
93587 yes | "") { { echo "$as_me:$LINENO: error: enable-targets option must specify target names or 'all'" >&5
93588 echo "$as_me: error: enable-targets option must specify target names or 'all'" >&2;}
93589 { (exit 1); exit 1; }; }
93590 @@ -4333,31 +4901,32 @@
93591 no) enable_targets= ;;
93592 *) enable_targets=$enableval ;;
93593 esac
93594 -fi; # Check whether --enable-commonbfdlib or --disable-commonbfdlib was given.
93595 +fi
93596 +# Check whether --enable-commonbfdlib was given.
93597 if test "${enable_commonbfdlib+set}" = set; then
93598 - enableval="$enable_commonbfdlib"
93599 - case "${enableval}" in
93600 + enableval=$enable_commonbfdlib; case "${enableval}" in
93601 yes) commonbfdlib=true ;;
93602 no) commonbfdlib=false ;;
93603 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for opcodes commonbfdlib option" >&5
93604 echo "$as_me: error: bad value ${enableval} for opcodes commonbfdlib option" >&2;}
93605 { (exit 1); exit 1; }; } ;;
93606 esac
93607 -fi;
93608 +fi
93609 +
93610
93611 GCC_WARN_CFLAGS="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
93612
93613 -# Check whether --enable-werror or --disable-werror was given.
93614 +# Check whether --enable-werror was given.
93615 if test "${enable_werror+set}" = set; then
93616 - enableval="$enable_werror"
93617 - case "${enableval}" in
93618 + enableval=$enable_werror; case "${enableval}" in
93619 yes | y) ERROR_ON_WARNING="yes" ;;
93620 no | n) ERROR_ON_WARNING="no" ;;
93621 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-werror" >&5
93622 echo "$as_me: error: bad value ${enableval} for --enable-werror" >&2;}
93623 { (exit 1); exit 1; }; } ;;
93624 esac
93625 -fi;
93626 +fi
93627 +
93628
93629 # Enable -Werror by default when using gcc
93630 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
93631 @@ -4374,10 +4943,9 @@
93632 WARN_CFLAGS="${GCC_WARN_CFLAGS}"
93633 fi
93634
93635 -# Check whether --enable-build-warnings or --disable-build-warnings was given.
93636 +# Check whether --enable-build-warnings was given.
93637 if test "${enable_build_warnings+set}" = set; then
93638 - enableval="$enable_build_warnings"
93639 - case "${enableval}" in
93640 + enableval=$enable_build_warnings; case "${enableval}" in
93641 yes) WARN_CFLAGS="${GCC_WARN_CFLAGS}";;
93642 no) if test "${GCC}" = yes ; then
93643 WARN_CFLAGS="-w"
93644 @@ -4388,7 +4956,8 @@
93645 WARN_CFLAGS="${t} ${GCC_WARN_CFLAGS}";;
93646 *) WARN_CFLAGS=`echo "${enableval}" | sed -e "s/,/ /g"`;;
93647 esac
93648 -fi;
93649 +fi
93650 +
93651
93652 if test x"$silent" != x"yes" && test x"$WARN_CFLAGS" != x""; then
93653 echo "Setting warning flags = $WARN_CFLAGS" 6>&1
93654 @@ -4398,7 +4967,7 @@
93655
93656
93657
93658 - ac_config_headers="$ac_config_headers config.h:config.in"
93659 +ac_config_headers="$ac_config_headers config.h:config.in"
93660
93661
93662 if test -z "$target" ; then
93663 @@ -4407,17 +4976,17 @@
93664 { (exit 1); exit 1; }; }
93665 fi
93666
93667 -echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
93668 -echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
93669 - # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
93670 +{ echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
93671 +echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
93672 + # Check whether --enable-maintainer-mode was given.
93673 if test "${enable_maintainer_mode+set}" = set; then
93674 - enableval="$enable_maintainer_mode"
93675 - USE_MAINTAINER_MODE=$enableval
93676 + enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
93677 else
93678 USE_MAINTAINER_MODE=no
93679 -fi;
93680 - echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
93681 -echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
93682 +fi
93683 +
93684 + { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
93685 +echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
93686
93687
93688 if test $USE_MAINTAINER_MODE = yes; then
93689 @@ -4446,21 +5015,21 @@
93690 *) target_noncanonical=${target_alias} ;;
93691 esac
93692
93693 -echo "$as_me:$LINENO: checking whether to install libbfd" >&5
93694 -echo $ECHO_N "checking whether to install libbfd... $ECHO_C" >&6
93695 - # Check whether --enable-install-libbfd or --disable-install-libbfd was given.
93696 +{ echo "$as_me:$LINENO: checking whether to install libbfd" >&5
93697 +echo $ECHO_N "checking whether to install libbfd... $ECHO_C" >&6; }
93698 + # Check whether --enable-install-libbfd was given.
93699 if test "${enable_install_libbfd+set}" = set; then
93700 - enableval="$enable_install_libbfd"
93701 - install_libbfd_p=$enableval
93702 + enableval=$enable_install_libbfd; install_libbfd_p=$enableval
93703 else
93704 if test "${host}" = "${target}" || test "$enable_shared" = "yes"; then
93705 install_libbfd_p=yes
93706 else
93707 install_libbfd_p=no
93708 fi
93709 -fi;
93710 - echo "$as_me:$LINENO: result: $install_libbfd_p" >&5
93711 -echo "${ECHO_T}$install_libbfd_p" >&6
93712 +fi
93713 +
93714 + { echo "$as_me:$LINENO: result: $install_libbfd_p" >&5
93715 +echo "${ECHO_T}$install_libbfd_p" >&6; }
93716
93717
93718 if test $install_libbfd_p = yes; then
93719 @@ -4499,8 +5068,8 @@
93720 if test -n "$ac_tool_prefix"; then
93721 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
93722 set dummy ${ac_tool_prefix}gcc; ac_word=$2
93723 -echo "$as_me:$LINENO: checking for $ac_word" >&5
93724 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
93725 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
93726 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
93727 if test "${ac_cv_prog_CC+set}" = set; then
93728 echo $ECHO_N "(cached) $ECHO_C" >&6
93729 else
93730 @@ -4513,32 +5082,34 @@
93731 IFS=$as_save_IFS
93732 test -z "$as_dir" && as_dir=.
93733 for ac_exec_ext in '' $ac_executable_extensions; do
93734 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
93735 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
93736 ac_cv_prog_CC="${ac_tool_prefix}gcc"
93737 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
93738 break 2
93739 fi
93740 done
93741 done
93742 +IFS=$as_save_IFS
93743
93744 fi
93745 fi
93746 CC=$ac_cv_prog_CC
93747 if test -n "$CC"; then
93748 - echo "$as_me:$LINENO: result: $CC" >&5
93749 -echo "${ECHO_T}$CC" >&6
93750 + { echo "$as_me:$LINENO: result: $CC" >&5
93751 +echo "${ECHO_T}$CC" >&6; }
93752 else
93753 - echo "$as_me:$LINENO: result: no" >&5
93754 -echo "${ECHO_T}no" >&6
93755 + { echo "$as_me:$LINENO: result: no" >&5
93756 +echo "${ECHO_T}no" >&6; }
93757 fi
93758
93759 +
93760 fi
93761 if test -z "$ac_cv_prog_CC"; then
93762 ac_ct_CC=$CC
93763 # Extract the first word of "gcc", so it can be a program name with args.
93764 set dummy gcc; ac_word=$2
93765 -echo "$as_me:$LINENO: checking for $ac_word" >&5
93766 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
93767 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
93768 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
93769 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
93770 echo $ECHO_N "(cached) $ECHO_C" >&6
93771 else
93772 @@ -4551,36 +5122,51 @@
93773 IFS=$as_save_IFS
93774 test -z "$as_dir" && as_dir=.
93775 for ac_exec_ext in '' $ac_executable_extensions; do
93776 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
93777 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
93778 ac_cv_prog_ac_ct_CC="gcc"
93779 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
93780 break 2
93781 fi
93782 done
93783 done
93784 +IFS=$as_save_IFS
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: $ac_ct_CC" >&5
93793 +echo "${ECHO_T}$ac_ct_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 + if test "x$ac_ct_CC" = x; then
93803 + CC=""
93804 + else
93805 + case $cross_compiling:$ac_tool_warned in
93806 +yes:)
93807 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
93808 +whose name does not start with the host triplet. If you think this
93809 +configuration is useful to you, please write to autoconf@gnu.org." >&5
93810 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
93811 +whose name does not start with the host triplet. If you think this
93812 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
93813 +ac_tool_warned=yes ;;
93814 +esac
93815 + CC=$ac_ct_CC
93816 + fi
93817 else
93818 CC="$ac_cv_prog_CC"
93819 fi
93820
93821 if test -z "$CC"; then
93822 - if test -n "$ac_tool_prefix"; then
93823 - # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
93824 + if test -n "$ac_tool_prefix"; then
93825 + # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
93826 set dummy ${ac_tool_prefix}cc; ac_word=$2
93827 -echo "$as_me:$LINENO: checking for $ac_word" >&5
93828 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
93829 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
93830 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
93831 if test "${ac_cv_prog_CC+set}" = set; then
93832 echo $ECHO_N "(cached) $ECHO_C" >&6
93833 else
93834 @@ -4593,74 +5179,34 @@
93835 IFS=$as_save_IFS
93836 test -z "$as_dir" && as_dir=.
93837 for ac_exec_ext in '' $ac_executable_extensions; do
93838 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
93839 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
93840 ac_cv_prog_CC="${ac_tool_prefix}cc"
93841 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
93842 break 2
93843 fi
93844 done
93845 done
93846 +IFS=$as_save_IFS
93847
93848 fi
93849 fi
93850 CC=$ac_cv_prog_CC
93851 if test -n "$CC"; then
93852 - echo "$as_me:$LINENO: result: $CC" >&5
93853 -echo "${ECHO_T}$CC" >&6
93854 -else
93855 - echo "$as_me:$LINENO: result: no" >&5
93856 -echo "${ECHO_T}no" >&6
93857 -fi
93858 -
93859 -fi
93860 -if test -z "$ac_cv_prog_CC"; then
93861 - ac_ct_CC=$CC
93862 - # Extract the first word of "cc", so it can be a program name with args.
93863 -set dummy cc; ac_word=$2
93864 -echo "$as_me:$LINENO: checking for $ac_word" >&5
93865 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
93866 -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
93867 - echo $ECHO_N "(cached) $ECHO_C" >&6
93868 -else
93869 - if test -n "$ac_ct_CC"; then
93870 - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
93871 -else
93872 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
93873 -for as_dir in $PATH
93874 -do
93875 - IFS=$as_save_IFS
93876 - test -z "$as_dir" && as_dir=.
93877 - for ac_exec_ext in '' $ac_executable_extensions; do
93878 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
93879 - ac_cv_prog_ac_ct_CC="cc"
93880 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
93881 - break 2
93882 - fi
93883 -done
93884 -done
93885 -
93886 -fi
93887 -fi
93888 -ac_ct_CC=$ac_cv_prog_ac_ct_CC
93889 -if test -n "$ac_ct_CC"; then
93890 - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
93891 -echo "${ECHO_T}$ac_ct_CC" >&6
93892 + { echo "$as_me:$LINENO: result: $CC" >&5
93893 +echo "${ECHO_T}$CC" >&6; }
93894 else
93895 - echo "$as_me:$LINENO: result: no" >&5
93896 -echo "${ECHO_T}no" >&6
93897 + { echo "$as_me:$LINENO: result: no" >&5
93898 +echo "${ECHO_T}no" >&6; }
93899 fi
93900
93901 - CC=$ac_ct_CC
93902 -else
93903 - CC="$ac_cv_prog_CC"
93904 -fi
93905
93906 + fi
93907 fi
93908 if test -z "$CC"; then
93909 # Extract the first word of "cc", so it can be a program name with args.
93910 set dummy cc; ac_word=$2
93911 -echo "$as_me:$LINENO: checking for $ac_word" >&5
93912 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
93913 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
93914 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
93915 if test "${ac_cv_prog_CC+set}" = set; then
93916 echo $ECHO_N "(cached) $ECHO_C" >&6
93917 else
93918 @@ -4674,7 +5220,7 @@
93919 IFS=$as_save_IFS
93920 test -z "$as_dir" && as_dir=.
93921 for ac_exec_ext in '' $ac_executable_extensions; do
93922 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
93923 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
93924 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
93925 ac_prog_rejected=yes
93926 continue
93927 @@ -4685,6 +5231,7 @@
93928 fi
93929 done
93930 done
93931 +IFS=$as_save_IFS
93932
93933 if test $ac_prog_rejected = yes; then
93934 # We found a bogon in the path, so make sure we never use it.
93935 @@ -4702,22 +5249,23 @@
93936 fi
93937 CC=$ac_cv_prog_CC
93938 if test -n "$CC"; then
93939 - echo "$as_me:$LINENO: result: $CC" >&5
93940 -echo "${ECHO_T}$CC" >&6
93941 + { echo "$as_me:$LINENO: result: $CC" >&5
93942 +echo "${ECHO_T}$CC" >&6; }
93943 else
93944 - echo "$as_me:$LINENO: result: no" >&5
93945 -echo "${ECHO_T}no" >&6
93946 + { echo "$as_me:$LINENO: result: no" >&5
93947 +echo "${ECHO_T}no" >&6; }
93948 fi
93949
93950 +
93951 fi
93952 if test -z "$CC"; then
93953 if test -n "$ac_tool_prefix"; then
93954 - for ac_prog in cl
93955 + for ac_prog in cl.exe
93956 do
93957 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
93958 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
93959 -echo "$as_me:$LINENO: checking for $ac_word" >&5
93960 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
93961 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
93962 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
93963 if test "${ac_cv_prog_CC+set}" = set; then
93964 echo $ECHO_N "(cached) $ECHO_C" >&6
93965 else
93966 @@ -4730,36 +5278,38 @@
93967 IFS=$as_save_IFS
93968 test -z "$as_dir" && as_dir=.
93969 for ac_exec_ext in '' $ac_executable_extensions; do
93970 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
93971 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
93972 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
93973 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
93974 break 2
93975 fi
93976 done
93977 done
93978 +IFS=$as_save_IFS
93979
93980 fi
93981 fi
93982 CC=$ac_cv_prog_CC
93983 if test -n "$CC"; then
93984 - echo "$as_me:$LINENO: result: $CC" >&5
93985 -echo "${ECHO_T}$CC" >&6
93986 + { echo "$as_me:$LINENO: result: $CC" >&5
93987 +echo "${ECHO_T}$CC" >&6; }
93988 else
93989 - echo "$as_me:$LINENO: result: no" >&5
93990 -echo "${ECHO_T}no" >&6
93991 + { echo "$as_me:$LINENO: result: no" >&5
93992 +echo "${ECHO_T}no" >&6; }
93993 fi
93994
93995 +
93996 test -n "$CC" && break
93997 done
93998 fi
93999 if test -z "$CC"; then
94000 ac_ct_CC=$CC
94001 - for ac_prog in cl
94002 + for ac_prog in cl.exe
94003 do
94004 # Extract the first word of "$ac_prog", so it can be a program name with args.
94005 set dummy $ac_prog; ac_word=$2
94006 -echo "$as_me:$LINENO: checking for $ac_word" >&5
94007 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
94008 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
94009 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
94010 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
94011 echo $ECHO_N "(cached) $ECHO_C" >&6
94012 else
94013 @@ -4772,29 +5322,45 @@
94014 IFS=$as_save_IFS
94015 test -z "$as_dir" && as_dir=.
94016 for ac_exec_ext in '' $ac_executable_extensions; do
94017 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
94018 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
94019 ac_cv_prog_ac_ct_CC="$ac_prog"
94020 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
94021 break 2
94022 fi
94023 done
94024 done
94025 +IFS=$as_save_IFS
94026
94027 fi
94028 fi
94029 ac_ct_CC=$ac_cv_prog_ac_ct_CC
94030 if test -n "$ac_ct_CC"; then
94031 - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
94032 -echo "${ECHO_T}$ac_ct_CC" >&6
94033 + { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
94034 +echo "${ECHO_T}$ac_ct_CC" >&6; }
94035 else
94036 - echo "$as_me:$LINENO: result: no" >&5
94037 -echo "${ECHO_T}no" >&6
94038 + { echo "$as_me:$LINENO: result: no" >&5
94039 +echo "${ECHO_T}no" >&6; }
94040 fi
94041
94042 +
94043 test -n "$ac_ct_CC" && break
94044 done
94045
94046 - CC=$ac_ct_CC
94047 + if test "x$ac_ct_CC" = x; then
94048 + CC=""
94049 + else
94050 + case $cross_compiling:$ac_tool_warned in
94051 +yes:)
94052 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
94053 +whose name does not start with the host triplet. If you think this
94054 +configuration is useful to you, please write to autoconf@gnu.org." >&5
94055 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
94056 +whose name does not start with the host triplet. If you think this
94057 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
94058 +ac_tool_warned=yes ;;
94059 +esac
94060 + CC=$ac_ct_CC
94061 + fi
94062 fi
94063
94064 fi
94065 @@ -4807,27 +5373,41 @@
94066 { (exit 1); exit 1; }; }
94067
94068 # Provide some information about the compiler.
94069 -echo "$as_me:$LINENO:" \
94070 - "checking for C compiler version" >&5
94071 +echo "$as_me:$LINENO: checking for C compiler version" >&5
94072 ac_compiler=`set X $ac_compile; echo $2`
94073 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
94074 - (eval $ac_compiler --version </dev/null >&5) 2>&5
94075 +{ (ac_try="$ac_compiler --version >&5"
94076 +case "(($ac_try" in
94077 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
94078 + *) ac_try_echo=$ac_try;;
94079 +esac
94080 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
94081 + (eval "$ac_compiler --version >&5") 2>&5
94082 ac_status=$?
94083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94084 (exit $ac_status); }
94085 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
94086 - (eval $ac_compiler -v </dev/null >&5) 2>&5
94087 +{ (ac_try="$ac_compiler -v >&5"
94088 +case "(($ac_try" in
94089 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
94090 + *) ac_try_echo=$ac_try;;
94091 +esac
94092 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
94093 + (eval "$ac_compiler -v >&5") 2>&5
94094 ac_status=$?
94095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94096 (exit $ac_status); }
94097 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
94098 - (eval $ac_compiler -V </dev/null >&5) 2>&5
94099 +{ (ac_try="$ac_compiler -V >&5"
94100 +case "(($ac_try" in
94101 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
94102 + *) ac_try_echo=$ac_try;;
94103 +esac
94104 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
94105 + (eval "$ac_compiler -V >&5") 2>&5
94106 ac_status=$?
94107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94108 (exit $ac_status); }
94109
94110 -echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
94111 -echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
94112 +{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
94113 +echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
94114 if test "${ac_cv_c_compiler_gnu+set}" = set; then
94115 echo $ECHO_N "(cached) $ECHO_C" >&6
94116 else
94117 @@ -4850,50 +5430,49 @@
94118 }
94119 _ACEOF
94120 rm -f conftest.$ac_objext
94121 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94122 - (eval $ac_compile) 2>conftest.er1
94123 +if { (ac_try="$ac_compile"
94124 +case "(($ac_try" in
94125 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
94126 + *) ac_try_echo=$ac_try;;
94127 +esac
94128 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
94129 + (eval "$ac_compile") 2>conftest.er1
94130 ac_status=$?
94131 grep -v '^ *+' conftest.er1 >conftest.err
94132 rm -f conftest.er1
94133 cat conftest.err >&5
94134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94135 - (exit $ac_status); } &&
94136 - { ac_try='test -z "$ac_c_werror_flag"
94137 - || test ! -s conftest.err'
94138 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94139 - (eval $ac_try) 2>&5
94140 - ac_status=$?
94141 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
94142 - (exit $ac_status); }; } &&
94143 - { ac_try='test -s conftest.$ac_objext'
94144 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94145 - (eval $ac_try) 2>&5
94146 - ac_status=$?
94147 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
94148 - (exit $ac_status); }; }; then
94149 + (exit $ac_status); } && {
94150 + test -z "$ac_c_werror_flag" ||
94151 + test ! -s conftest.err
94152 + } && test -s conftest.$ac_objext; then
94153 ac_compiler_gnu=yes
94154 else
94155 echo "$as_me: failed program was:" >&5
94156 sed 's/^/| /' conftest.$ac_ext >&5
94157
94158 -ac_compiler_gnu=no
94159 + ac_compiler_gnu=no
94160 fi
94161 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94162 +
94163 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
94164 ac_cv_c_compiler_gnu=$ac_compiler_gnu
94165
94166 fi
94167 -echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
94168 -echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
94169 +{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
94170 +echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
94171 GCC=`test $ac_compiler_gnu = yes && echo yes`
94172 ac_test_CFLAGS=${CFLAGS+set}
94173 ac_save_CFLAGS=$CFLAGS
94174 -CFLAGS="-g"
94175 -echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
94176 -echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
94177 +{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
94178 +echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
94179 if test "${ac_cv_prog_cc_g+set}" = set; then
94180 echo $ECHO_N "(cached) $ECHO_C" >&6
94181 else
94182 - cat >conftest.$ac_ext <<_ACEOF
94183 + ac_save_c_werror_flag=$ac_c_werror_flag
94184 + ac_c_werror_flag=yes
94185 + ac_cv_prog_cc_g=no
94186 + CFLAGS="-g"
94187 + cat >conftest.$ac_ext <<_ACEOF
94188 /* confdefs.h. */
94189 _ACEOF
94190 cat confdefs.h >>conftest.$ac_ext
94191 @@ -4909,59 +5488,139 @@
94192 }
94193 _ACEOF
94194 rm -f conftest.$ac_objext
94195 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94196 - (eval $ac_compile) 2>conftest.er1
94197 +if { (ac_try="$ac_compile"
94198 +case "(($ac_try" in
94199 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
94200 + *) ac_try_echo=$ac_try;;
94201 +esac
94202 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
94203 + (eval "$ac_compile") 2>conftest.er1
94204 ac_status=$?
94205 grep -v '^ *+' conftest.er1 >conftest.err
94206 rm -f conftest.er1
94207 cat conftest.err >&5
94208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94209 - (exit $ac_status); } &&
94210 - { ac_try='test -z "$ac_c_werror_flag"
94211 - || test ! -s conftest.err'
94212 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94213 - (eval $ac_try) 2>&5
94214 - ac_status=$?
94215 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
94216 - (exit $ac_status); }; } &&
94217 - { ac_try='test -s conftest.$ac_objext'
94218 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94219 - (eval $ac_try) 2>&5
94220 - ac_status=$?
94221 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
94222 - (exit $ac_status); }; }; then
94223 + (exit $ac_status); } && {
94224 + test -z "$ac_c_werror_flag" ||
94225 + test ! -s conftest.err
94226 + } && test -s conftest.$ac_objext; then
94227 ac_cv_prog_cc_g=yes
94228 else
94229 echo "$as_me: failed program was:" >&5
94230 sed 's/^/| /' conftest.$ac_ext >&5
94231
94232 -ac_cv_prog_cc_g=no
94233 -fi
94234 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94235 -fi
94236 -echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
94237 -echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
94238 -if test "$ac_test_CFLAGS" = set; then
94239 - CFLAGS=$ac_save_CFLAGS
94240 -elif test $ac_cv_prog_cc_g = yes; then
94241 - if test "$GCC" = yes; then
94242 - CFLAGS="-g -O2"
94243 - else
94244 - CFLAGS="-g"
94245 - fi
94246 -else
94247 - if test "$GCC" = yes; then
94248 + CFLAGS=""
94249 + cat >conftest.$ac_ext <<_ACEOF
94250 +/* confdefs.h. */
94251 +_ACEOF
94252 +cat confdefs.h >>conftest.$ac_ext
94253 +cat >>conftest.$ac_ext <<_ACEOF
94254 +/* end confdefs.h. */
94255 +
94256 +int
94257 +main ()
94258 +{
94259 +
94260 + ;
94261 + return 0;
94262 +}
94263 +_ACEOF
94264 +rm -f conftest.$ac_objext
94265 +if { (ac_try="$ac_compile"
94266 +case "(($ac_try" in
94267 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
94268 + *) ac_try_echo=$ac_try;;
94269 +esac
94270 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
94271 + (eval "$ac_compile") 2>conftest.er1
94272 + ac_status=$?
94273 + grep -v '^ *+' conftest.er1 >conftest.err
94274 + rm -f conftest.er1
94275 + cat conftest.err >&5
94276 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
94277 + (exit $ac_status); } && {
94278 + test -z "$ac_c_werror_flag" ||
94279 + test ! -s conftest.err
94280 + } && test -s conftest.$ac_objext; then
94281 + :
94282 +else
94283 + echo "$as_me: failed program was:" >&5
94284 +sed 's/^/| /' conftest.$ac_ext >&5
94285 +
94286 + ac_c_werror_flag=$ac_save_c_werror_flag
94287 + CFLAGS="-g"
94288 + cat >conftest.$ac_ext <<_ACEOF
94289 +/* confdefs.h. */
94290 +_ACEOF
94291 +cat confdefs.h >>conftest.$ac_ext
94292 +cat >>conftest.$ac_ext <<_ACEOF
94293 +/* end confdefs.h. */
94294 +
94295 +int
94296 +main ()
94297 +{
94298 +
94299 + ;
94300 + return 0;
94301 +}
94302 +_ACEOF
94303 +rm -f conftest.$ac_objext
94304 +if { (ac_try="$ac_compile"
94305 +case "(($ac_try" in
94306 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
94307 + *) ac_try_echo=$ac_try;;
94308 +esac
94309 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
94310 + (eval "$ac_compile") 2>conftest.er1
94311 + ac_status=$?
94312 + grep -v '^ *+' conftest.er1 >conftest.err
94313 + rm -f conftest.er1
94314 + cat conftest.err >&5
94315 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
94316 + (exit $ac_status); } && {
94317 + test -z "$ac_c_werror_flag" ||
94318 + test ! -s conftest.err
94319 + } && test -s conftest.$ac_objext; then
94320 + ac_cv_prog_cc_g=yes
94321 +else
94322 + echo "$as_me: failed program was:" >&5
94323 +sed 's/^/| /' conftest.$ac_ext >&5
94324 +
94325 +
94326 +fi
94327 +
94328 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
94329 +fi
94330 +
94331 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
94332 +fi
94333 +
94334 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
94335 + ac_c_werror_flag=$ac_save_c_werror_flag
94336 +fi
94337 +{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
94338 +echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
94339 +if test "$ac_test_CFLAGS" = set; then
94340 + CFLAGS=$ac_save_CFLAGS
94341 +elif test $ac_cv_prog_cc_g = yes; then
94342 + if test "$GCC" = yes; then
94343 + CFLAGS="-g -O2"
94344 + else
94345 + CFLAGS="-g"
94346 + fi
94347 +else
94348 + if test "$GCC" = yes; then
94349 CFLAGS="-O2"
94350 else
94351 CFLAGS=
94352 fi
94353 fi
94354 -echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
94355 -echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
94356 -if test "${ac_cv_prog_cc_stdc+set}" = set; then
94357 +{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
94358 +echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
94359 +if test "${ac_cv_prog_cc_c89+set}" = set; then
94360 echo $ECHO_N "(cached) $ECHO_C" >&6
94361 else
94362 - ac_cv_prog_cc_stdc=no
94363 + ac_cv_prog_cc_c89=no
94364 ac_save_CC=$CC
94365 cat >conftest.$ac_ext <<_ACEOF
94366 /* confdefs.h. */
94367 @@ -4995,12 +5654,17 @@
94368 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
94369 function prototypes and stuff, but not '\xHH' hex character constants.
94370 These don't provoke an error unfortunately, instead are silently treated
94371 - as 'x'. The following induces an error, until -std1 is added to get
94372 + as 'x'. The following induces an error, until -std is added to get
94373 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
94374 array size at least. It's necessary to write '\x00'==0 to get something
94375 - that's true only with -std1. */
94376 + that's true only with -std. */
94377 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
94378
94379 +/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
94380 + inside strings and character constants. */
94381 +#define FOO(x) 'x'
94382 +int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
94383 +
94384 int test (int i, double x);
94385 struct s1 {int (*f) (int a);};
94386 struct s2 {int (*f) (double a);};
94387 @@ -5015,205 +5679,57 @@
94388 return 0;
94389 }
94390 _ACEOF
94391 -# Don't try gcc -ansi; that turns off useful extensions and
94392 -# breaks some systems' header files.
94393 -# AIX -qlanglvl=ansi
94394 -# Ultrix and OSF/1 -std1
94395 -# HP-UX 10.20 and later -Ae
94396 -# HP-UX older versions -Aa -D_HPUX_SOURCE
94397 -# SVR4 -Xc -D__EXTENSIONS__
94398 -for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
94399 +for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
94400 + -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
94401 do
94402 CC="$ac_save_CC $ac_arg"
94403 rm -f conftest.$ac_objext
94404 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94405 - (eval $ac_compile) 2>conftest.er1
94406 +if { (ac_try="$ac_compile"
94407 +case "(($ac_try" in
94408 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
94409 + *) ac_try_echo=$ac_try;;
94410 +esac
94411 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
94412 + (eval "$ac_compile") 2>conftest.er1
94413 ac_status=$?
94414 grep -v '^ *+' conftest.er1 >conftest.err
94415 rm -f conftest.er1
94416 cat conftest.err >&5
94417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94418 - (exit $ac_status); } &&
94419 - { ac_try='test -z "$ac_c_werror_flag"
94420 - || test ! -s conftest.err'
94421 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94422 - (eval $ac_try) 2>&5
94423 - ac_status=$?
94424 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
94425 - (exit $ac_status); }; } &&
94426 - { ac_try='test -s conftest.$ac_objext'
94427 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94428 - (eval $ac_try) 2>&5
94429 - ac_status=$?
94430 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
94431 - (exit $ac_status); }; }; then
94432 - ac_cv_prog_cc_stdc=$ac_arg
94433 -break
94434 + (exit $ac_status); } && {
94435 + test -z "$ac_c_werror_flag" ||
94436 + test ! -s conftest.err
94437 + } && test -s conftest.$ac_objext; then
94438 + ac_cv_prog_cc_c89=$ac_arg
94439 else
94440 echo "$as_me: failed program was:" >&5
94441 sed 's/^/| /' conftest.$ac_ext >&5
94442
94443 +
94444 fi
94445 -rm -f conftest.err conftest.$ac_objext
94446 +
94447 +rm -f core conftest.err conftest.$ac_objext
94448 + test "x$ac_cv_prog_cc_c89" != "xno" && break
94449 done
94450 -rm -f conftest.$ac_ext conftest.$ac_objext
94451 +rm -f conftest.$ac_ext
94452 CC=$ac_save_CC
94453
94454 fi
94455 -
94456 -case "x$ac_cv_prog_cc_stdc" in
94457 - x|xno)
94458 - echo "$as_me:$LINENO: result: none needed" >&5
94459 -echo "${ECHO_T}none needed" >&6 ;;
94460 +# AC_CACHE_VAL
94461 +case "x$ac_cv_prog_cc_c89" in
94462 + x)
94463 + { echo "$as_me:$LINENO: result: none needed" >&5
94464 +echo "${ECHO_T}none needed" >&6; } ;;
94465 + xno)
94466 + { echo "$as_me:$LINENO: result: unsupported" >&5
94467 +echo "${ECHO_T}unsupported" >&6; } ;;
94468 *)
94469 - echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
94470 -echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
94471 - CC="$CC $ac_cv_prog_cc_stdc" ;;
94472 + CC="$CC $ac_cv_prog_cc_c89"
94473 + { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
94474 +echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
94475 esac
94476
94477 -# Some people use a C++ compiler to compile C. Since we use `exit',
94478 -# in C++ we need to declare it. In case someone uses the same compiler
94479 -# for both compiling C and C++ we need to have the C++ compiler decide
94480 -# the declaration of exit, since it's the most demanding environment.
94481 -cat >conftest.$ac_ext <<_ACEOF
94482 -#ifndef __cplusplus
94483 - choke me
94484 -#endif
94485 -_ACEOF
94486 -rm -f conftest.$ac_objext
94487 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94488 - (eval $ac_compile) 2>conftest.er1
94489 - ac_status=$?
94490 - grep -v '^ *+' conftest.er1 >conftest.err
94491 - rm -f conftest.er1
94492 - cat conftest.err >&5
94493 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
94494 - (exit $ac_status); } &&
94495 - { ac_try='test -z "$ac_c_werror_flag"
94496 - || test ! -s conftest.err'
94497 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94498 - (eval $ac_try) 2>&5
94499 - ac_status=$?
94500 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
94501 - (exit $ac_status); }; } &&
94502 - { ac_try='test -s conftest.$ac_objext'
94503 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94504 - (eval $ac_try) 2>&5
94505 - ac_status=$?
94506 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
94507 - (exit $ac_status); }; }; then
94508 - for ac_declaration in \
94509 - '' \
94510 - 'extern "C" void std::exit (int) throw (); using std::exit;' \
94511 - 'extern "C" void std::exit (int); using std::exit;' \
94512 - 'extern "C" void exit (int) throw ();' \
94513 - 'extern "C" void exit (int);' \
94514 - 'void exit (int);'
94515 -do
94516 - cat >conftest.$ac_ext <<_ACEOF
94517 -/* confdefs.h. */
94518 -_ACEOF
94519 -cat confdefs.h >>conftest.$ac_ext
94520 -cat >>conftest.$ac_ext <<_ACEOF
94521 -/* end confdefs.h. */
94522 -$ac_declaration
94523 -#include <stdlib.h>
94524 -int
94525 -main ()
94526 -{
94527 -exit (42);
94528 - ;
94529 - return 0;
94530 -}
94531 -_ACEOF
94532 -rm -f conftest.$ac_objext
94533 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94534 - (eval $ac_compile) 2>conftest.er1
94535 - ac_status=$?
94536 - grep -v '^ *+' conftest.er1 >conftest.err
94537 - rm -f conftest.er1
94538 - cat conftest.err >&5
94539 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
94540 - (exit $ac_status); } &&
94541 - { ac_try='test -z "$ac_c_werror_flag"
94542 - || test ! -s conftest.err'
94543 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94544 - (eval $ac_try) 2>&5
94545 - ac_status=$?
94546 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
94547 - (exit $ac_status); }; } &&
94548 - { ac_try='test -s conftest.$ac_objext'
94549 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94550 - (eval $ac_try) 2>&5
94551 - ac_status=$?
94552 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
94553 - (exit $ac_status); }; }; then
94554 - :
94555 -else
94556 - echo "$as_me: failed program was:" >&5
94557 -sed 's/^/| /' conftest.$ac_ext >&5
94558 -
94559 -continue
94560 -fi
94561 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94562 - cat >conftest.$ac_ext <<_ACEOF
94563 -/* confdefs.h. */
94564 -_ACEOF
94565 -cat confdefs.h >>conftest.$ac_ext
94566 -cat >>conftest.$ac_ext <<_ACEOF
94567 -/* end confdefs.h. */
94568 -$ac_declaration
94569 -int
94570 -main ()
94571 -{
94572 -exit (42);
94573 - ;
94574 - return 0;
94575 -}
94576 -_ACEOF
94577 -rm -f conftest.$ac_objext
94578 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94579 - (eval $ac_compile) 2>conftest.er1
94580 - ac_status=$?
94581 - grep -v '^ *+' conftest.er1 >conftest.err
94582 - rm -f conftest.er1
94583 - cat conftest.err >&5
94584 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
94585 - (exit $ac_status); } &&
94586 - { ac_try='test -z "$ac_c_werror_flag"
94587 - || test ! -s conftest.err'
94588 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94589 - (eval $ac_try) 2>&5
94590 - ac_status=$?
94591 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
94592 - (exit $ac_status); }; } &&
94593 - { ac_try='test -s conftest.$ac_objext'
94594 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94595 - (eval $ac_try) 2>&5
94596 - ac_status=$?
94597 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
94598 - (exit $ac_status); }; }; then
94599 - break
94600 -else
94601 - echo "$as_me: failed program was:" >&5
94602 -sed 's/^/| /' conftest.$ac_ext >&5
94603 -
94604 -fi
94605 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94606 -done
94607 -rm -f conftest*
94608 -if test -n "$ac_declaration"; then
94609 - echo '#ifdef __cplusplus' >>confdefs.h
94610 - echo $ac_declaration >>confdefs.h
94611 - echo '#endif' >>confdefs.h
94612 -fi
94613 -
94614 -else
94615 - echo "$as_me: failed program was:" >&5
94616 -sed 's/^/| /' conftest.$ac_ext >&5
94617
94618 -fi
94619 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94620 ac_ext=c
94621 ac_cpp='$CPP $CPPFLAGS'
94622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94623 @@ -5225,8 +5741,8 @@
94624 if test -n "$ac_tool_prefix"; then
94625 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
94626 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
94627 -echo "$as_me:$LINENO: checking for $ac_word" >&5
94628 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
94629 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
94630 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
94631 if test "${ac_cv_prog_RANLIB+set}" = set; then
94632 echo $ECHO_N "(cached) $ECHO_C" >&6
94633 else
94634 @@ -5239,32 +5755,34 @@
94635 IFS=$as_save_IFS
94636 test -z "$as_dir" && as_dir=.
94637 for ac_exec_ext in '' $ac_executable_extensions; do
94638 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
94639 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
94640 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
94641 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
94642 break 2
94643 fi
94644 done
94645 done
94646 +IFS=$as_save_IFS
94647
94648 fi
94649 fi
94650 RANLIB=$ac_cv_prog_RANLIB
94651 if test -n "$RANLIB"; then
94652 - echo "$as_me:$LINENO: result: $RANLIB" >&5
94653 -echo "${ECHO_T}$RANLIB" >&6
94654 + { echo "$as_me:$LINENO: result: $RANLIB" >&5
94655 +echo "${ECHO_T}$RANLIB" >&6; }
94656 else
94657 - echo "$as_me:$LINENO: result: no" >&5
94658 -echo "${ECHO_T}no" >&6
94659 + { echo "$as_me:$LINENO: result: no" >&5
94660 +echo "${ECHO_T}no" >&6; }
94661 fi
94662
94663 +
94664 fi
94665 if test -z "$ac_cv_prog_RANLIB"; then
94666 ac_ct_RANLIB=$RANLIB
94667 # Extract the first word of "ranlib", so it can be a program name with args.
94668 set dummy ranlib; ac_word=$2
94669 -echo "$as_me:$LINENO: checking for $ac_word" >&5
94670 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
94671 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
94672 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
94673 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
94674 echo $ECHO_N "(cached) $ECHO_C" >&6
94675 else
94676 @@ -5277,27 +5795,41 @@
94677 IFS=$as_save_IFS
94678 test -z "$as_dir" && as_dir=.
94679 for ac_exec_ext in '' $ac_executable_extensions; do
94680 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
94681 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
94682 ac_cv_prog_ac_ct_RANLIB="ranlib"
94683 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
94684 break 2
94685 fi
94686 done
94687 done
94688 +IFS=$as_save_IFS
94689
94690 - test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
94691 fi
94692 fi
94693 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
94694 if test -n "$ac_ct_RANLIB"; then
94695 - echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
94696 -echo "${ECHO_T}$ac_ct_RANLIB" >&6
94697 + { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
94698 +echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
94699 else
94700 - echo "$as_me:$LINENO: result: no" >&5
94701 -echo "${ECHO_T}no" >&6
94702 + { echo "$as_me:$LINENO: result: no" >&5
94703 +echo "${ECHO_T}no" >&6; }
94704 fi
94705
94706 - RANLIB=$ac_ct_RANLIB
94707 + if test "x$ac_ct_RANLIB" = x; then
94708 + RANLIB=":"
94709 + else
94710 + case $cross_compiling:$ac_tool_warned in
94711 +yes:)
94712 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
94713 +whose name does not start with the host triplet. If you think this
94714 +configuration is useful to you, please write to autoconf@gnu.org." >&5
94715 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
94716 +whose name does not start with the host triplet. If you think this
94717 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
94718 +ac_tool_warned=yes ;;
94719 +esac
94720 + RANLIB=$ac_ct_RANLIB
94721 + fi
94722 else
94723 RANLIB="$ac_cv_prog_RANLIB"
94724 fi
94725 @@ -5307,8 +5839,8 @@
94726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94729 -echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
94730 -echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
94731 +{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
94732 +echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
94733 # On Suns, sometimes $CPP names a directory.
94734 if test -n "$CPP" && test -d "$CPP"; then
94735 CPP=
94736 @@ -5342,24 +5874,22 @@
94737 #endif
94738 Syntax error
94739 _ACEOF
94740 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
94741 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
94742 +if { (ac_try="$ac_cpp conftest.$ac_ext"
94743 +case "(($ac_try" in
94744 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
94745 + *) ac_try_echo=$ac_try;;
94746 +esac
94747 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
94748 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
94749 ac_status=$?
94750 grep -v '^ *+' conftest.er1 >conftest.err
94751 rm -f conftest.er1
94752 cat conftest.err >&5
94753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94754 - (exit $ac_status); } >/dev/null; then
94755 - if test -s conftest.err; then
94756 - ac_cpp_err=$ac_c_preproc_warn_flag
94757 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
94758 - else
94759 - ac_cpp_err=
94760 - fi
94761 -else
94762 - ac_cpp_err=yes
94763 -fi
94764 -if test -z "$ac_cpp_err"; then
94765 + (exit $ac_status); } >/dev/null && {
94766 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
94767 + test ! -s conftest.err
94768 + }; then
94769 :
94770 else
94771 echo "$as_me: failed program was:" >&5
94772 @@ -5368,9 +5898,10 @@
94773 # Broken: fails on valid input.
94774 continue
94775 fi
94776 +
94777 rm -f conftest.err conftest.$ac_ext
94778
94779 - # OK, works on sane cases. Now check whether non-existent headers
94780 + # OK, works on sane cases. Now check whether nonexistent headers
94781 # can be detected and how.
94782 cat >conftest.$ac_ext <<_ACEOF
94783 /* confdefs.h. */
94784 @@ -5380,24 +5911,22 @@
94785 /* end confdefs.h. */
94786 #include <ac_nonexistent.h>
94787 _ACEOF
94788 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
94789 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
94790 +if { (ac_try="$ac_cpp conftest.$ac_ext"
94791 +case "(($ac_try" in
94792 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
94793 + *) ac_try_echo=$ac_try;;
94794 +esac
94795 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
94796 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
94797 ac_status=$?
94798 grep -v '^ *+' conftest.er1 >conftest.err
94799 rm -f conftest.er1
94800 cat conftest.err >&5
94801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94802 - (exit $ac_status); } >/dev/null; then
94803 - if test -s conftest.err; then
94804 - ac_cpp_err=$ac_c_preproc_warn_flag
94805 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
94806 - else
94807 - ac_cpp_err=
94808 - fi
94809 -else
94810 - ac_cpp_err=yes
94811 -fi
94812 -if test -z "$ac_cpp_err"; then
94813 + (exit $ac_status); } >/dev/null && {
94814 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
94815 + test ! -s conftest.err
94816 + }; then
94817 # Broken: success on invalid input.
94818 continue
94819 else
94820 @@ -5408,6 +5937,7 @@
94821 ac_preproc_ok=:
94822 break
94823 fi
94824 +
94825 rm -f conftest.err conftest.$ac_ext
94826
94827 done
94828 @@ -5425,8 +5955,8 @@
94829 else
94830 ac_cv_prog_CPP=$CPP
94831 fi
94832 -echo "$as_me:$LINENO: result: $CPP" >&5
94833 -echo "${ECHO_T}$CPP" >&6
94834 +{ echo "$as_me:$LINENO: result: $CPP" >&5
94835 +echo "${ECHO_T}$CPP" >&6; }
94836 ac_preproc_ok=false
94837 for ac_c_preproc_warn_flag in '' yes
94838 do
94839 @@ -5449,24 +5979,22 @@
94840 #endif
94841 Syntax error
94842 _ACEOF
94843 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
94844 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
94845 +if { (ac_try="$ac_cpp conftest.$ac_ext"
94846 +case "(($ac_try" in
94847 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
94848 + *) ac_try_echo=$ac_try;;
94849 +esac
94850 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
94851 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
94852 ac_status=$?
94853 grep -v '^ *+' conftest.er1 >conftest.err
94854 rm -f conftest.er1
94855 cat conftest.err >&5
94856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94857 - (exit $ac_status); } >/dev/null; then
94858 - if test -s conftest.err; then
94859 - ac_cpp_err=$ac_c_preproc_warn_flag
94860 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
94861 - else
94862 - ac_cpp_err=
94863 - fi
94864 -else
94865 - ac_cpp_err=yes
94866 -fi
94867 -if test -z "$ac_cpp_err"; then
94868 + (exit $ac_status); } >/dev/null && {
94869 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
94870 + test ! -s conftest.err
94871 + }; then
94872 :
94873 else
94874 echo "$as_me: failed program was:" >&5
94875 @@ -5475,9 +6003,10 @@
94876 # Broken: fails on valid input.
94877 continue
94878 fi
94879 +
94880 rm -f conftest.err conftest.$ac_ext
94881
94882 - # OK, works on sane cases. Now check whether non-existent headers
94883 + # OK, works on sane cases. Now check whether nonexistent headers
94884 # can be detected and how.
94885 cat >conftest.$ac_ext <<_ACEOF
94886 /* confdefs.h. */
94887 @@ -5487,24 +6016,22 @@
94888 /* end confdefs.h. */
94889 #include <ac_nonexistent.h>
94890 _ACEOF
94891 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
94892 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
94893 +if { (ac_try="$ac_cpp conftest.$ac_ext"
94894 +case "(($ac_try" in
94895 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
94896 + *) ac_try_echo=$ac_try;;
94897 +esac
94898 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
94899 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
94900 ac_status=$?
94901 grep -v '^ *+' conftest.er1 >conftest.err
94902 rm -f conftest.er1
94903 cat conftest.err >&5
94904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94905 - (exit $ac_status); } >/dev/null; then
94906 - if test -s conftest.err; then
94907 - ac_cpp_err=$ac_c_preproc_warn_flag
94908 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
94909 - else
94910 - ac_cpp_err=
94911 - fi
94912 -else
94913 - ac_cpp_err=yes
94914 -fi
94915 -if test -z "$ac_cpp_err"; then
94916 + (exit $ac_status); } >/dev/null && {
94917 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
94918 + test ! -s conftest.err
94919 + }; then
94920 # Broken: success on invalid input.
94921 continue
94922 else
94923 @@ -5515,6 +6042,7 @@
94924 ac_preproc_ok=:
94925 break
94926 fi
94927 +
94928 rm -f conftest.err conftest.$ac_ext
94929
94930 done
94931 @@ -5537,79 +6065,222 @@
94932 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94933
94934
94935 -echo "$as_me:$LINENO: checking for egrep" >&5
94936 -echo $ECHO_N "checking for egrep... $ECHO_C" >&6
94937 -if test "${ac_cv_prog_egrep+set}" = set; then
94938 +{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
94939 +echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
94940 +if test "${ac_cv_path_GREP+set}" = set; then
94941 + echo $ECHO_N "(cached) $ECHO_C" >&6
94942 +else
94943 + # Extract the first word of "grep ggrep" to use in msg output
94944 +if test -z "$GREP"; then
94945 +set dummy grep ggrep; ac_prog_name=$2
94946 +if test "${ac_cv_path_GREP+set}" = set; then
94947 echo $ECHO_N "(cached) $ECHO_C" >&6
94948 else
94949 - if echo a | (grep -E '(a|b)') >/dev/null 2>&1
94950 - then ac_cv_prog_egrep='grep -E'
94951 - else ac_cv_prog_egrep='egrep'
94952 + ac_path_GREP_found=false
94953 +# Loop through the user's path and test for each of PROGNAME-LIST
94954 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
94955 +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
94956 +do
94957 + IFS=$as_save_IFS
94958 + test -z "$as_dir" && as_dir=.
94959 + for ac_prog in grep ggrep; do
94960 + for ac_exec_ext in '' $ac_executable_extensions; do
94961 + ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
94962 + { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
94963 + # Check for GNU ac_path_GREP and select it if it is found.
94964 + # Check for GNU $ac_path_GREP
94965 +case `"$ac_path_GREP" --version 2>&1` in
94966 +*GNU*)
94967 + ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
94968 +*)
94969 + ac_count=0
94970 + echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
94971 + while :
94972 + do
94973 + cat "conftest.in" "conftest.in" >"conftest.tmp"
94974 + mv "conftest.tmp" "conftest.in"
94975 + cp "conftest.in" "conftest.nl"
94976 + echo 'GREP' >> "conftest.nl"
94977 + "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
94978 + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
94979 + ac_count=`expr $ac_count + 1`
94980 + if test $ac_count -gt ${ac_path_GREP_max-0}; then
94981 + # Best one so far, save it but keep looking for a better one
94982 + ac_cv_path_GREP="$ac_path_GREP"
94983 + ac_path_GREP_max=$ac_count
94984 fi
94985 -fi
94986 -echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
94987 -echo "${ECHO_T}$ac_cv_prog_egrep" >&6
94988 - EGREP=$ac_cv_prog_egrep
94989 + # 10*(2^10) chars as input seems more than enough
94990 + test $ac_count -gt 10 && break
94991 + done
94992 + rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
94993 +esac
94994
94995
94996 -echo "$as_me:$LINENO: checking for ANSI C header files" >&5
94997 -echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
94998 -if test "${ac_cv_header_stdc+set}" = set; then
94999 - echo $ECHO_N "(cached) $ECHO_C" >&6
95000 -else
95001 - cat >conftest.$ac_ext <<_ACEOF
95002 -/* confdefs.h. */
95003 -_ACEOF
95004 -cat confdefs.h >>conftest.$ac_ext
95005 -cat >>conftest.$ac_ext <<_ACEOF
95006 -/* end confdefs.h. */
95007 -#include <stdlib.h>
95008 -#include <stdarg.h>
95009 -#include <string.h>
95010 -#include <float.h>
95011 + $ac_path_GREP_found && break 3
95012 + done
95013 +done
95014
95015 -int
95016 -main ()
95017 -{
95018 +done
95019 +IFS=$as_save_IFS
95020 +
95021 +
95022 +fi
95023 +
95024 +GREP="$ac_cv_path_GREP"
95025 +if test -z "$GREP"; then
95026 + { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
95027 +echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
95028 + { (exit 1); exit 1; }; }
95029 +fi
95030
95031 - ;
95032 - return 0;
95033 -}
95034 -_ACEOF
95035 -rm -f conftest.$ac_objext
95036 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95037 - (eval $ac_compile) 2>conftest.er1
95038 - ac_status=$?
95039 - grep -v '^ *+' conftest.er1 >conftest.err
95040 - rm -f conftest.er1
95041 - cat conftest.err >&5
95042 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
95043 - (exit $ac_status); } &&
95044 - { ac_try='test -z "$ac_c_werror_flag"
95045 - || test ! -s conftest.err'
95046 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95047 - (eval $ac_try) 2>&5
95048 - ac_status=$?
95049 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
95050 - (exit $ac_status); }; } &&
95051 - { ac_try='test -s conftest.$ac_objext'
95052 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95053 - (eval $ac_try) 2>&5
95054 - ac_status=$?
95055 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
95056 - (exit $ac_status); }; }; then
95057 - ac_cv_header_stdc=yes
95058 else
95059 - echo "$as_me: failed program was:" >&5
95060 -sed 's/^/| /' conftest.$ac_ext >&5
95061 + ac_cv_path_GREP=$GREP
95062 +fi
95063 +
95064
95065 -ac_cv_header_stdc=no
95066 fi
95067 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95068 +{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
95069 +echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
95070 + GREP="$ac_cv_path_GREP"
95071
95072 -if test $ac_cv_header_stdc = yes; then
95073 - # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
95074 - cat >conftest.$ac_ext <<_ACEOF
95075 +
95076 +{ echo "$as_me:$LINENO: checking for egrep" >&5
95077 +echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
95078 +if test "${ac_cv_path_EGREP+set}" = set; then
95079 + echo $ECHO_N "(cached) $ECHO_C" >&6
95080 +else
95081 + if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
95082 + then ac_cv_path_EGREP="$GREP -E"
95083 + else
95084 + # Extract the first word of "egrep" to use in msg output
95085 +if test -z "$EGREP"; then
95086 +set dummy egrep; ac_prog_name=$2
95087 +if test "${ac_cv_path_EGREP+set}" = set; then
95088 + echo $ECHO_N "(cached) $ECHO_C" >&6
95089 +else
95090 + ac_path_EGREP_found=false
95091 +# Loop through the user's path and test for each of PROGNAME-LIST
95092 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
95093 +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
95094 +do
95095 + IFS=$as_save_IFS
95096 + test -z "$as_dir" && as_dir=.
95097 + for ac_prog in egrep; do
95098 + for ac_exec_ext in '' $ac_executable_extensions; do
95099 + ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
95100 + { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
95101 + # Check for GNU ac_path_EGREP and select it if it is found.
95102 + # Check for GNU $ac_path_EGREP
95103 +case `"$ac_path_EGREP" --version 2>&1` in
95104 +*GNU*)
95105 + ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
95106 +*)
95107 + ac_count=0
95108 + echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
95109 + while :
95110 + do
95111 + cat "conftest.in" "conftest.in" >"conftest.tmp"
95112 + mv "conftest.tmp" "conftest.in"
95113 + cp "conftest.in" "conftest.nl"
95114 + echo 'EGREP' >> "conftest.nl"
95115 + "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
95116 + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
95117 + ac_count=`expr $ac_count + 1`
95118 + if test $ac_count -gt ${ac_path_EGREP_max-0}; then
95119 + # Best one so far, save it but keep looking for a better one
95120 + ac_cv_path_EGREP="$ac_path_EGREP"
95121 + ac_path_EGREP_max=$ac_count
95122 + fi
95123 + # 10*(2^10) chars as input seems more than enough
95124 + test $ac_count -gt 10 && break
95125 + done
95126 + rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
95127 +esac
95128 +
95129 +
95130 + $ac_path_EGREP_found && break 3
95131 + done
95132 +done
95133 +
95134 +done
95135 +IFS=$as_save_IFS
95136 +
95137 +
95138 +fi
95139 +
95140 +EGREP="$ac_cv_path_EGREP"
95141 +if test -z "$EGREP"; then
95142 + { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
95143 +echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
95144 + { (exit 1); exit 1; }; }
95145 +fi
95146 +
95147 +else
95148 + ac_cv_path_EGREP=$EGREP
95149 +fi
95150 +
95151 +
95152 + fi
95153 +fi
95154 +{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
95155 +echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
95156 + EGREP="$ac_cv_path_EGREP"
95157 +
95158 +
95159 +{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
95160 +echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
95161 +if test "${ac_cv_header_stdc+set}" = set; then
95162 + echo $ECHO_N "(cached) $ECHO_C" >&6
95163 +else
95164 + cat >conftest.$ac_ext <<_ACEOF
95165 +/* confdefs.h. */
95166 +_ACEOF
95167 +cat confdefs.h >>conftest.$ac_ext
95168 +cat >>conftest.$ac_ext <<_ACEOF
95169 +/* end confdefs.h. */
95170 +#include <stdlib.h>
95171 +#include <stdarg.h>
95172 +#include <string.h>
95173 +#include <float.h>
95174 +
95175 +int
95176 +main ()
95177 +{
95178 +
95179 + ;
95180 + return 0;
95181 +}
95182 +_ACEOF
95183 +rm -f conftest.$ac_objext
95184 +if { (ac_try="$ac_compile"
95185 +case "(($ac_try" in
95186 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
95187 + *) ac_try_echo=$ac_try;;
95188 +esac
95189 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
95190 + (eval "$ac_compile") 2>conftest.er1
95191 + ac_status=$?
95192 + grep -v '^ *+' conftest.er1 >conftest.err
95193 + rm -f conftest.er1
95194 + cat conftest.err >&5
95195 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
95196 + (exit $ac_status); } && {
95197 + test -z "$ac_c_werror_flag" ||
95198 + test ! -s conftest.err
95199 + } && test -s conftest.$ac_objext; then
95200 + ac_cv_header_stdc=yes
95201 +else
95202 + echo "$as_me: failed program was:" >&5
95203 +sed 's/^/| /' conftest.$ac_ext >&5
95204 +
95205 + ac_cv_header_stdc=no
95206 +fi
95207 +
95208 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
95209 +
95210 +if test $ac_cv_header_stdc = yes; then
95211 + # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
95212 + cat >conftest.$ac_ext <<_ACEOF
95213 /* confdefs.h. */
95214 _ACEOF
95215 cat confdefs.h >>conftest.$ac_ext
95216 @@ -5661,6 +6332,7 @@
95217 cat >>conftest.$ac_ext <<_ACEOF
95218 /* end confdefs.h. */
95219 #include <ctype.h>
95220 +#include <stdlib.h>
95221 #if ((' ' & 0x0FF) == 0x020)
95222 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
95223 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
95224 @@ -5680,18 +6352,27 @@
95225 for (i = 0; i < 256; i++)
95226 if (XOR (islower (i), ISLOWER (i))
95227 || toupper (i) != TOUPPER (i))
95228 - exit(2);
95229 - exit (0);
95230 + return 2;
95231 + return 0;
95232 }
95233 _ACEOF
95234 rm -f conftest$ac_exeext
95235 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95236 - (eval $ac_link) 2>&5
95237 +if { (ac_try="$ac_link"
95238 +case "(($ac_try" in
95239 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
95240 + *) ac_try_echo=$ac_try;;
95241 +esac
95242 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
95243 + (eval "$ac_link") 2>&5
95244 ac_status=$?
95245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95246 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
95247 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95248 - (eval $ac_try) 2>&5
95249 + { (case "(($ac_try" in
95250 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
95251 + *) ac_try_echo=$ac_try;;
95252 +esac
95253 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
95254 + (eval "$ac_try") 2>&5
95255 ac_status=$?
95256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95257 (exit $ac_status); }; }; then
95258 @@ -5704,12 +6385,14 @@
95259 ( exit $ac_status )
95260 ac_cv_header_stdc=no
95261 fi
95262 -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
95263 +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
95264 fi
95265 +
95266 +
95267 fi
95268 fi
95269 -echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
95270 -echo "${ECHO_T}$ac_cv_header_stdc" >&6
95271 +{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
95272 +echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
95273 if test $ac_cv_header_stdc = yes; then
95274
95275 cat >>confdefs.h <<\_ACEOF
95276 @@ -5718,8 +6401,8 @@
95277
95278 fi
95279
95280 -echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
95281 -echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
95282 +{ echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
95283 +echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
95284 if test "${ac_cv_c_const+set}" = set; then
95285 echo $ECHO_N "(cached) $ECHO_C" >&6
95286 else
95287 @@ -5737,10 +6420,10 @@
95288 #ifndef __cplusplus
95289 /* Ultrix mips cc rejects this. */
95290 typedef int charset[2];
95291 - const charset x;
95292 + const charset cs;
95293 /* SunOS 4.1.1 cc rejects this. */
95294 - char const *const *ccp;
95295 - char **p;
95296 + char const *const *pcpcc;
95297 + char **ppc;
95298 /* NEC SVR4.0.2 mips cc rejects this. */
95299 struct point {int x, y;};
95300 static struct point const zero = {0,0};
95301 @@ -5749,16 +6432,17 @@
95302 an arm of an if-expression whose if-part is not a constant
95303 expression */
95304 const char *g = "string";
95305 - ccp = &g + (g ? g-g : 0);
95306 + pcpcc = &g + (g ? g-g : 0);
95307 /* HPUX 7.0 cc rejects these. */
95308 - ++ccp;
95309 - p = (char**) ccp;
95310 - ccp = (char const *const *) p;
95311 + ++pcpcc;
95312 + ppc = (char**) pcpcc;
95313 + pcpcc = (char const *const *) ppc;
95314 { /* SCO 3.2v4 cc rejects this. */
95315 char *t;
95316 char const *s = 0 ? (char *) 0 : (char const *) 0;
95317
95318 *t++ = 0;
95319 + if (s) return 0;
95320 }
95321 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
95322 int x[] = {25, 17};
95323 @@ -5777,7 +6461,9 @@
95324 }
95325 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
95326 const int foo = 10;
95327 + if (!foo) return 0;
95328 }
95329 + return !cs[0] && !zero.x;
95330 #endif
95331
95332 ;
95333 @@ -5785,38 +6471,34 @@
95334 }
95335 _ACEOF
95336 rm -f conftest.$ac_objext
95337 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95338 - (eval $ac_compile) 2>conftest.er1
95339 +if { (ac_try="$ac_compile"
95340 +case "(($ac_try" in
95341 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
95342 + *) ac_try_echo=$ac_try;;
95343 +esac
95344 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
95345 + (eval "$ac_compile") 2>conftest.er1
95346 ac_status=$?
95347 grep -v '^ *+' conftest.er1 >conftest.err
95348 rm -f conftest.er1
95349 cat conftest.err >&5
95350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95351 - (exit $ac_status); } &&
95352 - { ac_try='test -z "$ac_c_werror_flag"
95353 - || test ! -s conftest.err'
95354 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95355 - (eval $ac_try) 2>&5
95356 - ac_status=$?
95357 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
95358 - (exit $ac_status); }; } &&
95359 - { ac_try='test -s conftest.$ac_objext'
95360 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95361 - (eval $ac_try) 2>&5
95362 - ac_status=$?
95363 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
95364 - (exit $ac_status); }; }; then
95365 + (exit $ac_status); } && {
95366 + test -z "$ac_c_werror_flag" ||
95367 + test ! -s conftest.err
95368 + } && test -s conftest.$ac_objext; then
95369 ac_cv_c_const=yes
95370 else
95371 echo "$as_me: failed program was:" >&5
95372 sed 's/^/| /' conftest.$ac_ext >&5
95373
95374 -ac_cv_c_const=no
95375 + ac_cv_c_const=no
95376 fi
95377 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95378 +
95379 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
95380 fi
95381 -echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
95382 -echo "${ECHO_T}$ac_cv_c_const" >&6
95383 +{ echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
95384 +echo "${ECHO_T}$ac_cv_c_const" >&6; }
95385 if test $ac_cv_c_const = no; then
95386
95387 cat >>confdefs.h <<\_ACEOF
95388 @@ -5825,8 +6507,8 @@
95389
95390 fi
95391
95392 -echo "$as_me:$LINENO: checking for inline" >&5
95393 -echo $ECHO_N "checking for inline... $ECHO_C" >&6
95394 +{ echo "$as_me:$LINENO: checking for inline" >&5
95395 +echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
95396 if test "${ac_cv_c_inline+set}" = set; then
95397 echo $ECHO_N "(cached) $ECHO_C" >&6
95398 else
95399 @@ -5846,39 +6528,37 @@
95400
95401 _ACEOF
95402 rm -f conftest.$ac_objext
95403 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95404 - (eval $ac_compile) 2>conftest.er1
95405 +if { (ac_try="$ac_compile"
95406 +case "(($ac_try" in
95407 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
95408 + *) ac_try_echo=$ac_try;;
95409 +esac
95410 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
95411 + (eval "$ac_compile") 2>conftest.er1
95412 ac_status=$?
95413 grep -v '^ *+' conftest.er1 >conftest.err
95414 rm -f conftest.er1
95415 cat conftest.err >&5
95416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95417 - (exit $ac_status); } &&
95418 - { ac_try='test -z "$ac_c_werror_flag"
95419 - || test ! -s conftest.err'
95420 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95421 - (eval $ac_try) 2>&5
95422 - ac_status=$?
95423 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
95424 - (exit $ac_status); }; } &&
95425 - { ac_try='test -s conftest.$ac_objext'
95426 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95427 - (eval $ac_try) 2>&5
95428 - ac_status=$?
95429 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
95430 - (exit $ac_status); }; }; then
95431 - ac_cv_c_inline=$ac_kw; break
95432 + (exit $ac_status); } && {
95433 + test -z "$ac_c_werror_flag" ||
95434 + test ! -s conftest.err
95435 + } && test -s conftest.$ac_objext; then
95436 + ac_cv_c_inline=$ac_kw
95437 else
95438 echo "$as_me: failed program was:" >&5
95439 sed 's/^/| /' conftest.$ac_ext >&5
95440
95441 +
95442 fi
95443 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95444 +
95445 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
95446 + test "$ac_cv_c_inline" != no && break
95447 done
95448
95449 fi
95450 -echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
95451 -echo "${ECHO_T}$ac_cv_c_inline" >&6
95452 +{ echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
95453 +echo "${ECHO_T}$ac_cv_c_inline" >&6; }
95454
95455
95456 case $ac_cv_c_inline in
95457 @@ -5910,9 +6590,9 @@
95458 inttypes.h stdint.h unistd.h
95459 do
95460 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
95461 -echo "$as_me:$LINENO: checking for $ac_header" >&5
95462 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
95463 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
95464 +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
95465 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
95466 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
95467 echo $ECHO_N "(cached) $ECHO_C" >&6
95468 else
95469 cat >conftest.$ac_ext <<_ACEOF
95470 @@ -5926,38 +6606,35 @@
95471 #include <$ac_header>
95472 _ACEOF
95473 rm -f conftest.$ac_objext
95474 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95475 - (eval $ac_compile) 2>conftest.er1
95476 +if { (ac_try="$ac_compile"
95477 +case "(($ac_try" in
95478 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
95479 + *) ac_try_echo=$ac_try;;
95480 +esac
95481 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
95482 + (eval "$ac_compile") 2>conftest.er1
95483 ac_status=$?
95484 grep -v '^ *+' conftest.er1 >conftest.err
95485 rm -f conftest.er1
95486 cat conftest.err >&5
95487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95488 - (exit $ac_status); } &&
95489 - { ac_try='test -z "$ac_c_werror_flag"
95490 - || test ! -s conftest.err'
95491 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95492 - (eval $ac_try) 2>&5
95493 - ac_status=$?
95494 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
95495 - (exit $ac_status); }; } &&
95496 - { ac_try='test -s conftest.$ac_objext'
95497 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95498 - (eval $ac_try) 2>&5
95499 - ac_status=$?
95500 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
95501 - (exit $ac_status); }; }; then
95502 + (exit $ac_status); } && {
95503 + test -z "$ac_c_werror_flag" ||
95504 + test ! -s conftest.err
95505 + } && test -s conftest.$ac_objext; then
95506 eval "$as_ac_Header=yes"
95507 else
95508 echo "$as_me: failed program was:" >&5
95509 sed 's/^/| /' conftest.$ac_ext >&5
95510
95511 -eval "$as_ac_Header=no"
95512 + eval "$as_ac_Header=no"
95513 fi
95514 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95515 +
95516 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
95517 fi
95518 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
95519 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
95520 +ac_res=`eval echo '${'$as_ac_Header'}'`
95521 + { echo "$as_me:$LINENO: result: $ac_res" >&5
95522 +echo "${ECHO_T}$ac_res" >&6; }
95523 if test `eval echo '${'$as_ac_Header'}'` = yes; then
95524 cat >>confdefs.h <<_ACEOF
95525 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
95526 @@ -5968,8 +6645,8 @@
95527 done
95528
95529
95530 -echo "$as_me:$LINENO: checking for off_t" >&5
95531 -echo $ECHO_N "checking for off_t... $ECHO_C" >&6
95532 +{ echo "$as_me:$LINENO: checking for off_t" >&5
95533 +echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
95534 if test "${ac_cv_type_off_t+set}" = set; then
95535 echo $ECHO_N "(cached) $ECHO_C" >&6
95536 else
95537 @@ -5980,62 +6657,59 @@
95538 cat >>conftest.$ac_ext <<_ACEOF
95539 /* end confdefs.h. */
95540 $ac_includes_default
95541 +typedef off_t ac__type_new_;
95542 int
95543 main ()
95544 {
95545 -if ((off_t *) 0)
95546 +if ((ac__type_new_ *) 0)
95547 return 0;
95548 -if (sizeof (off_t))
95549 +if (sizeof (ac__type_new_))
95550 return 0;
95551 ;
95552 return 0;
95553 }
95554 _ACEOF
95555 rm -f conftest.$ac_objext
95556 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95557 - (eval $ac_compile) 2>conftest.er1
95558 +if { (ac_try="$ac_compile"
95559 +case "(($ac_try" in
95560 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
95561 + *) ac_try_echo=$ac_try;;
95562 +esac
95563 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
95564 + (eval "$ac_compile") 2>conftest.er1
95565 ac_status=$?
95566 grep -v '^ *+' conftest.er1 >conftest.err
95567 rm -f conftest.er1
95568 cat conftest.err >&5
95569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95570 - (exit $ac_status); } &&
95571 - { ac_try='test -z "$ac_c_werror_flag"
95572 - || test ! -s conftest.err'
95573 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95574 - (eval $ac_try) 2>&5
95575 - ac_status=$?
95576 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
95577 - (exit $ac_status); }; } &&
95578 - { ac_try='test -s conftest.$ac_objext'
95579 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95580 - (eval $ac_try) 2>&5
95581 - ac_status=$?
95582 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
95583 - (exit $ac_status); }; }; then
95584 + (exit $ac_status); } && {
95585 + test -z "$ac_c_werror_flag" ||
95586 + test ! -s conftest.err
95587 + } && test -s conftest.$ac_objext; then
95588 ac_cv_type_off_t=yes
95589 else
95590 echo "$as_me: failed program was:" >&5
95591 sed 's/^/| /' conftest.$ac_ext >&5
95592
95593 -ac_cv_type_off_t=no
95594 + ac_cv_type_off_t=no
95595 fi
95596 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95597 +
95598 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
95599 fi
95600 -echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
95601 -echo "${ECHO_T}$ac_cv_type_off_t" >&6
95602 +{ echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
95603 +echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
95604 if test $ac_cv_type_off_t = yes; then
95605 :
95606 else
95607
95608 cat >>confdefs.h <<_ACEOF
95609 -#define off_t long
95610 +#define off_t long int
95611 _ACEOF
95612
95613 fi
95614
95615 -echo "$as_me:$LINENO: checking for size_t" >&5
95616 -echo $ECHO_N "checking for size_t... $ECHO_C" >&6
95617 +{ echo "$as_me:$LINENO: checking for size_t" >&5
95618 +echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
95619 if test "${ac_cv_type_size_t+set}" = set; then
95620 echo $ECHO_N "(cached) $ECHO_C" >&6
95621 else
95622 @@ -6046,64 +6720,61 @@
95623 cat >>conftest.$ac_ext <<_ACEOF
95624 /* end confdefs.h. */
95625 $ac_includes_default
95626 +typedef size_t ac__type_new_;
95627 int
95628 main ()
95629 {
95630 -if ((size_t *) 0)
95631 +if ((ac__type_new_ *) 0)
95632 return 0;
95633 -if (sizeof (size_t))
95634 +if (sizeof (ac__type_new_))
95635 return 0;
95636 ;
95637 return 0;
95638 }
95639 _ACEOF
95640 rm -f conftest.$ac_objext
95641 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95642 - (eval $ac_compile) 2>conftest.er1
95643 +if { (ac_try="$ac_compile"
95644 +case "(($ac_try" in
95645 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
95646 + *) ac_try_echo=$ac_try;;
95647 +esac
95648 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
95649 + (eval "$ac_compile") 2>conftest.er1
95650 ac_status=$?
95651 grep -v '^ *+' conftest.er1 >conftest.err
95652 rm -f conftest.er1
95653 cat conftest.err >&5
95654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95655 - (exit $ac_status); } &&
95656 - { ac_try='test -z "$ac_c_werror_flag"
95657 - || test ! -s conftest.err'
95658 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95659 - (eval $ac_try) 2>&5
95660 - ac_status=$?
95661 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
95662 - (exit $ac_status); }; } &&
95663 - { ac_try='test -s conftest.$ac_objext'
95664 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95665 - (eval $ac_try) 2>&5
95666 - ac_status=$?
95667 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
95668 - (exit $ac_status); }; }; then
95669 + (exit $ac_status); } && {
95670 + test -z "$ac_c_werror_flag" ||
95671 + test ! -s conftest.err
95672 + } && test -s conftest.$ac_objext; then
95673 ac_cv_type_size_t=yes
95674 else
95675 echo "$as_me: failed program was:" >&5
95676 sed 's/^/| /' conftest.$ac_ext >&5
95677
95678 -ac_cv_type_size_t=no
95679 + ac_cv_type_size_t=no
95680 fi
95681 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95682 +
95683 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
95684 fi
95685 -echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
95686 -echo "${ECHO_T}$ac_cv_type_size_t" >&6
95687 +{ echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
95688 +echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
95689 if test $ac_cv_type_size_t = yes; then
95690 :
95691 else
95692
95693 cat >>confdefs.h <<_ACEOF
95694 -#define size_t unsigned
95695 +#define size_t unsigned int
95696 _ACEOF
95697
95698 fi
95699
95700 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
95701 # for constant arguments. Useless!
95702 -echo "$as_me:$LINENO: checking for working alloca.h" >&5
95703 -echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
95704 +{ echo "$as_me:$LINENO: checking for working alloca.h" >&5
95705 +echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6; }
95706 if test "${ac_cv_working_alloca_h+set}" = set; then
95707 echo $ECHO_N "(cached) $ECHO_C" >&6
95708 else
95709 @@ -6118,44 +6789,42 @@
95710 main ()
95711 {
95712 char *p = (char *) alloca (2 * sizeof (int));
95713 + if (p) return 0;
95714 ;
95715 return 0;
95716 }
95717 _ACEOF
95718 rm -f conftest.$ac_objext conftest$ac_exeext
95719 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95720 - (eval $ac_link) 2>conftest.er1
95721 +if { (ac_try="$ac_link"
95722 +case "(($ac_try" in
95723 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
95724 + *) ac_try_echo=$ac_try;;
95725 +esac
95726 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
95727 + (eval "$ac_link") 2>conftest.er1
95728 ac_status=$?
95729 grep -v '^ *+' conftest.er1 >conftest.err
95730 rm -f conftest.er1
95731 cat conftest.err >&5
95732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95733 - (exit $ac_status); } &&
95734 - { ac_try='test -z "$ac_c_werror_flag"
95735 - || test ! -s conftest.err'
95736 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95737 - (eval $ac_try) 2>&5
95738 - ac_status=$?
95739 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
95740 - (exit $ac_status); }; } &&
95741 - { ac_try='test -s conftest$ac_exeext'
95742 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95743 - (eval $ac_try) 2>&5
95744 - ac_status=$?
95745 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
95746 - (exit $ac_status); }; }; then
95747 + (exit $ac_status); } && {
95748 + test -z "$ac_c_werror_flag" ||
95749 + test ! -s conftest.err
95750 + } && test -s conftest$ac_exeext &&
95751 + $as_test_x conftest$ac_exeext; then
95752 ac_cv_working_alloca_h=yes
95753 else
95754 echo "$as_me: failed program was:" >&5
95755 sed 's/^/| /' conftest.$ac_ext >&5
95756
95757 -ac_cv_working_alloca_h=no
95758 + ac_cv_working_alloca_h=no
95759 fi
95760 -rm -f conftest.err conftest.$ac_objext \
95761 +
95762 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
95763 conftest$ac_exeext conftest.$ac_ext
95764 fi
95765 -echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
95766 -echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
95767 +{ echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
95768 +echo "${ECHO_T}$ac_cv_working_alloca_h" >&6; }
95769 if test $ac_cv_working_alloca_h = yes; then
95770
95771 cat >>confdefs.h <<\_ACEOF
95772 @@ -6164,8 +6833,8 @@
95773
95774 fi
95775
95776 -echo "$as_me:$LINENO: checking for alloca" >&5
95777 -echo $ECHO_N "checking for alloca... $ECHO_C" >&6
95778 +{ echo "$as_me:$LINENO: checking for alloca" >&5
95779 +echo $ECHO_N "checking for alloca... $ECHO_C" >&6; }
95780 if test "${ac_cv_func_alloca_works+set}" = set; then
95781 echo $ECHO_N "(cached) $ECHO_C" >&6
95782 else
95783 @@ -6182,7 +6851,7 @@
95784 # include <malloc.h>
95785 # define alloca _alloca
95786 # else
95787 -# if HAVE_ALLOCA_H
95788 +# ifdef HAVE_ALLOCA_H
95789 # include <alloca.h>
95790 # else
95791 # ifdef _AIX
95792 @@ -6200,44 +6869,42 @@
95793 main ()
95794 {
95795 char *p = (char *) alloca (1);
95796 + if (p) return 0;
95797 ;
95798 return 0;
95799 }
95800 _ACEOF
95801 rm -f conftest.$ac_objext conftest$ac_exeext
95802 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95803 - (eval $ac_link) 2>conftest.er1
95804 +if { (ac_try="$ac_link"
95805 +case "(($ac_try" in
95806 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
95807 + *) ac_try_echo=$ac_try;;
95808 +esac
95809 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
95810 + (eval "$ac_link") 2>conftest.er1
95811 ac_status=$?
95812 grep -v '^ *+' conftest.er1 >conftest.err
95813 rm -f conftest.er1
95814 cat conftest.err >&5
95815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95816 - (exit $ac_status); } &&
95817 - { ac_try='test -z "$ac_c_werror_flag"
95818 - || test ! -s conftest.err'
95819 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95820 - (eval $ac_try) 2>&5
95821 - ac_status=$?
95822 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
95823 - (exit $ac_status); }; } &&
95824 - { ac_try='test -s conftest$ac_exeext'
95825 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95826 - (eval $ac_try) 2>&5
95827 - ac_status=$?
95828 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
95829 - (exit $ac_status); }; }; then
95830 + (exit $ac_status); } && {
95831 + test -z "$ac_c_werror_flag" ||
95832 + test ! -s conftest.err
95833 + } && test -s conftest$ac_exeext &&
95834 + $as_test_x conftest$ac_exeext; then
95835 ac_cv_func_alloca_works=yes
95836 else
95837 echo "$as_me: failed program was:" >&5
95838 sed 's/^/| /' conftest.$ac_ext >&5
95839
95840 -ac_cv_func_alloca_works=no
95841 + ac_cv_func_alloca_works=no
95842 fi
95843 -rm -f conftest.err conftest.$ac_objext \
95844 +
95845 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
95846 conftest$ac_exeext conftest.$ac_ext
95847 fi
95848 -echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
95849 -echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
95850 +{ echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
95851 +echo "${ECHO_T}$ac_cv_func_alloca_works" >&6; }
95852
95853 if test $ac_cv_func_alloca_works = yes; then
95854
95855 @@ -6251,15 +6918,15 @@
95856 # contain a buggy version. If you still want to use their alloca,
95857 # use ar to extract alloca.o from them instead of compiling alloca.c.
95858
95859 -ALLOCA=alloca.$ac_objext
95860 +ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
95861
95862 cat >>confdefs.h <<\_ACEOF
95863 #define C_ALLOCA 1
95864 _ACEOF
95865
95866
95867 -echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
95868 -echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
95869 +{ echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
95870 +echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6; }
95871 if test "${ac_cv_os_cray+set}" = set; then
95872 echo $ECHO_N "(cached) $ECHO_C" >&6
95873 else
95874 @@ -6269,7 +6936,7 @@
95875 cat confdefs.h >>conftest.$ac_ext
95876 cat >>conftest.$ac_ext <<_ACEOF
95877 /* end confdefs.h. */
95878 -#if defined(CRAY) && ! defined(CRAY2)
95879 +#if defined CRAY && ! defined CRAY2
95880 webecray
95881 #else
95882 wenotbecray
95883 @@ -6285,14 +6952,14 @@
95884 rm -f conftest*
95885
95886 fi
95887 -echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
95888 -echo "${ECHO_T}$ac_cv_os_cray" >&6
95889 +{ echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
95890 +echo "${ECHO_T}$ac_cv_os_cray" >&6; }
95891 if test $ac_cv_os_cray = yes; then
95892 for ac_func in _getb67 GETB67 getb67; do
95893 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95894 -echo "$as_me:$LINENO: checking for $ac_func" >&5
95895 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95896 -if eval "test \"\${$as_ac_var+set}\" = set"; then
95897 +{ echo "$as_me:$LINENO: checking for $ac_func" >&5
95898 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
95899 +if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
95900 echo $ECHO_N "(cached) $ECHO_C" >&6
95901 else
95902 cat >conftest.$ac_ext <<_ACEOF
95903 @@ -6318,68 +6985,60 @@
95904
95905 #undef $ac_func
95906
95907 -/* Override any gcc2 internal prototype to avoid an error. */
95908 +/* Override any GCC internal prototype to avoid an error.
95909 + Use char because int might match the return type of a GCC
95910 + builtin and then its argument prototype would still apply. */
95911 #ifdef __cplusplus
95912 extern "C"
95913 -{
95914 #endif
95915 -/* We use char because int might match the return type of a gcc2
95916 - builtin and then its argument prototype would still apply. */
95917 char $ac_func ();
95918 /* The GNU C library defines this for functions which it implements
95919 to always fail with ENOSYS. Some functions are actually named
95920 something starting with __ and the normal name is an alias. */
95921 -#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95922 +#if defined __stub_$ac_func || defined __stub___$ac_func
95923 choke me
95924 -#else
95925 -char (*f) () = $ac_func;
95926 -#endif
95927 -#ifdef __cplusplus
95928 -}
95929 #endif
95930
95931 int
95932 main ()
95933 {
95934 -return f != $ac_func;
95935 +return $ac_func ();
95936 ;
95937 return 0;
95938 }
95939 _ACEOF
95940 rm -f conftest.$ac_objext conftest$ac_exeext
95941 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95942 - (eval $ac_link) 2>conftest.er1
95943 +if { (ac_try="$ac_link"
95944 +case "(($ac_try" in
95945 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
95946 + *) ac_try_echo=$ac_try;;
95947 +esac
95948 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
95949 + (eval "$ac_link") 2>conftest.er1
95950 ac_status=$?
95951 grep -v '^ *+' conftest.er1 >conftest.err
95952 rm -f conftest.er1
95953 cat conftest.err >&5
95954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95955 - (exit $ac_status); } &&
95956 - { ac_try='test -z "$ac_c_werror_flag"
95957 - || test ! -s conftest.err'
95958 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95959 - (eval $ac_try) 2>&5
95960 - ac_status=$?
95961 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
95962 - (exit $ac_status); }; } &&
95963 - { ac_try='test -s conftest$ac_exeext'
95964 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95965 - (eval $ac_try) 2>&5
95966 - ac_status=$?
95967 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
95968 - (exit $ac_status); }; }; then
95969 + (exit $ac_status); } && {
95970 + test -z "$ac_c_werror_flag" ||
95971 + test ! -s conftest.err
95972 + } && test -s conftest$ac_exeext &&
95973 + $as_test_x conftest$ac_exeext; then
95974 eval "$as_ac_var=yes"
95975 else
95976 echo "$as_me: failed program was:" >&5
95977 sed 's/^/| /' conftest.$ac_ext >&5
95978
95979 -eval "$as_ac_var=no"
95980 + eval "$as_ac_var=no"
95981 fi
95982 -rm -f conftest.err conftest.$ac_objext \
95983 +
95984 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
95985 conftest$ac_exeext conftest.$ac_ext
95986 fi
95987 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95988 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95989 +ac_res=`eval echo '${'$as_ac_var'}'`
95990 + { echo "$as_me:$LINENO: result: $ac_res" >&5
95991 +echo "${ECHO_T}$ac_res" >&6; }
95992 if test `eval echo '${'$as_ac_var'}'` = yes; then
95993
95994 cat >>confdefs.h <<_ACEOF
95995 @@ -6392,8 +7051,8 @@
95996 done
95997 fi
95998
95999 -echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
96000 -echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
96001 +{ echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
96002 +echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6; }
96003 if test "${ac_cv_c_stack_direction+set}" = set; then
96004 echo $ECHO_N "(cached) $ECHO_C" >&6
96005 else
96006 @@ -6406,6 +7065,7 @@
96007 cat confdefs.h >>conftest.$ac_ext
96008 cat >>conftest.$ac_ext <<_ACEOF
96009 /* end confdefs.h. */
96010 +$ac_includes_default
96011 int
96012 find_stack_direction ()
96013 {
96014 @@ -6423,17 +7083,26 @@
96015 int
96016 main ()
96017 {
96018 - exit (find_stack_direction () < 0);
96019 + return find_stack_direction () < 0;
96020 }
96021 _ACEOF
96022 rm -f conftest$ac_exeext
96023 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96024 - (eval $ac_link) 2>&5
96025 +if { (ac_try="$ac_link"
96026 +case "(($ac_try" in
96027 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
96028 + *) ac_try_echo=$ac_try;;
96029 +esac
96030 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
96031 + (eval "$ac_link") 2>&5
96032 ac_status=$?
96033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96034 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
96035 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96036 - (eval $ac_try) 2>&5
96037 + { (case "(($ac_try" in
96038 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
96039 + *) ac_try_echo=$ac_try;;
96040 +esac
96041 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
96042 + (eval "$ac_try") 2>&5
96043 ac_status=$?
96044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96045 (exit $ac_status); }; }; then
96046 @@ -6446,11 +7115,13 @@
96047 ( exit $ac_status )
96048 ac_cv_c_stack_direction=-1
96049 fi
96050 -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
96051 +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
96052 fi
96053 +
96054 +
96055 fi
96056 -echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
96057 -echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
96058 +{ echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
96059 +echo "${ECHO_T}$ac_cv_c_stack_direction" >&6; }
96060
96061 cat >>confdefs.h <<_ACEOF
96062 #define STACK_DIRECTION $ac_cv_c_stack_direction
96063 @@ -6464,18 +7135,19 @@
96064 for ac_header in stdlib.h unistd.h
96065 do
96066 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
96067 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
96068 - echo "$as_me:$LINENO: checking for $ac_header" >&5
96069 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
96070 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
96071 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
96072 + { echo "$as_me:$LINENO: checking for $ac_header" >&5
96073 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
96074 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
96075 echo $ECHO_N "(cached) $ECHO_C" >&6
96076 fi
96077 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
96078 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
96079 +ac_res=`eval echo '${'$as_ac_Header'}'`
96080 + { echo "$as_me:$LINENO: result: $ac_res" >&5
96081 +echo "${ECHO_T}$ac_res" >&6; }
96082 else
96083 # Is the header compilable?
96084 -echo "$as_me:$LINENO: checking $ac_header usability" >&5
96085 -echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
96086 +{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
96087 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
96088 cat >conftest.$ac_ext <<_ACEOF
96089 /* confdefs.h. */
96090 _ACEOF
96091 @@ -6486,41 +7158,37 @@
96092 #include <$ac_header>
96093 _ACEOF
96094 rm -f conftest.$ac_objext
96095 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96096 - (eval $ac_compile) 2>conftest.er1
96097 +if { (ac_try="$ac_compile"
96098 +case "(($ac_try" in
96099 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
96100 + *) ac_try_echo=$ac_try;;
96101 +esac
96102 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
96103 + (eval "$ac_compile") 2>conftest.er1
96104 ac_status=$?
96105 grep -v '^ *+' conftest.er1 >conftest.err
96106 rm -f conftest.er1
96107 cat conftest.err >&5
96108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96109 - (exit $ac_status); } &&
96110 - { ac_try='test -z "$ac_c_werror_flag"
96111 - || test ! -s conftest.err'
96112 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96113 - (eval $ac_try) 2>&5
96114 - ac_status=$?
96115 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
96116 - (exit $ac_status); }; } &&
96117 - { ac_try='test -s conftest.$ac_objext'
96118 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96119 - (eval $ac_try) 2>&5
96120 - ac_status=$?
96121 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
96122 - (exit $ac_status); }; }; then
96123 + (exit $ac_status); } && {
96124 + test -z "$ac_c_werror_flag" ||
96125 + test ! -s conftest.err
96126 + } && test -s conftest.$ac_objext; then
96127 ac_header_compiler=yes
96128 else
96129 echo "$as_me: failed program was:" >&5
96130 sed 's/^/| /' conftest.$ac_ext >&5
96131
96132 -ac_header_compiler=no
96133 + ac_header_compiler=no
96134 fi
96135 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96136 -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
96137 -echo "${ECHO_T}$ac_header_compiler" >&6
96138 +
96139 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
96140 +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
96141 +echo "${ECHO_T}$ac_header_compiler" >&6; }
96142
96143 # Is the header present?
96144 -echo "$as_me:$LINENO: checking $ac_header presence" >&5
96145 -echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
96146 +{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
96147 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
96148 cat >conftest.$ac_ext <<_ACEOF
96149 /* confdefs.h. */
96150 _ACEOF
96151 @@ -6529,24 +7197,22 @@
96152 /* end confdefs.h. */
96153 #include <$ac_header>
96154 _ACEOF
96155 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
96156 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
96157 +if { (ac_try="$ac_cpp conftest.$ac_ext"
96158 +case "(($ac_try" in
96159 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
96160 + *) ac_try_echo=$ac_try;;
96161 +esac
96162 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
96163 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
96164 ac_status=$?
96165 grep -v '^ *+' conftest.er1 >conftest.err
96166 rm -f conftest.er1
96167 cat conftest.err >&5
96168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96169 - (exit $ac_status); } >/dev/null; then
96170 - if test -s conftest.err; then
96171 - ac_cpp_err=$ac_c_preproc_warn_flag
96172 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
96173 - else
96174 - ac_cpp_err=
96175 - fi
96176 -else
96177 - ac_cpp_err=yes
96178 -fi
96179 -if test -z "$ac_cpp_err"; then
96180 + (exit $ac_status); } >/dev/null && {
96181 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
96182 + test ! -s conftest.err
96183 + }; then
96184 ac_header_preproc=yes
96185 else
96186 echo "$as_me: failed program was:" >&5
96187 @@ -6554,9 +7220,10 @@
96188
96189 ac_header_preproc=no
96190 fi
96191 +
96192 rm -f conftest.err conftest.$ac_ext
96193 -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
96194 -echo "${ECHO_T}$ac_header_preproc" >&6
96195 +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
96196 +echo "${ECHO_T}$ac_header_preproc" >&6; }
96197
96198 # So? What about this header?
96199 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
96200 @@ -6580,25 +7247,19 @@
96201 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
96202 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
96203 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
96204 - (
96205 - cat <<\_ASBOX
96206 -## ------------------------------------------ ##
96207 -## Report this to the AC_PACKAGE_NAME lists. ##
96208 -## ------------------------------------------ ##
96209 -_ASBOX
96210 - ) |
96211 - sed "s/^/$as_me: WARNING: /" >&2
96212 +
96213 ;;
96214 esac
96215 -echo "$as_me:$LINENO: checking for $ac_header" >&5
96216 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
96217 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
96218 +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
96219 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
96220 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
96221 echo $ECHO_N "(cached) $ECHO_C" >&6
96222 else
96223 eval "$as_ac_Header=\$ac_header_preproc"
96224 fi
96225 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
96226 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
96227 +ac_res=`eval echo '${'$as_ac_Header'}'`
96228 + { echo "$as_me:$LINENO: result: $ac_res" >&5
96229 +echo "${ECHO_T}$ac_res" >&6; }
96230
96231 fi
96232 if test `eval echo '${'$as_ac_Header'}'` = yes; then
96233 @@ -6614,9 +7275,9 @@
96234 for ac_func in getpagesize
96235 do
96236 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96237 -echo "$as_me:$LINENO: checking for $ac_func" >&5
96238 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96239 -if eval "test \"\${$as_ac_var+set}\" = set"; then
96240 +{ echo "$as_me:$LINENO: checking for $ac_func" >&5
96241 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
96242 +if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
96243 echo $ECHO_N "(cached) $ECHO_C" >&6
96244 else
96245 cat >conftest.$ac_ext <<_ACEOF
96246 @@ -6642,68 +7303,60 @@
96247
96248 #undef $ac_func
96249
96250 -/* Override any gcc2 internal prototype to avoid an error. */
96251 +/* Override any GCC internal prototype to avoid an error.
96252 + Use char because int might match the return type of a GCC
96253 + builtin and then its argument prototype would still apply. */
96254 #ifdef __cplusplus
96255 extern "C"
96256 -{
96257 #endif
96258 -/* We use char because int might match the return type of a gcc2
96259 - builtin and then its argument prototype would still apply. */
96260 char $ac_func ();
96261 /* The GNU C library defines this for functions which it implements
96262 to always fail with ENOSYS. Some functions are actually named
96263 something starting with __ and the normal name is an alias. */
96264 -#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96265 +#if defined __stub_$ac_func || defined __stub___$ac_func
96266 choke me
96267 -#else
96268 -char (*f) () = $ac_func;
96269 -#endif
96270 -#ifdef __cplusplus
96271 -}
96272 #endif
96273
96274 int
96275 main ()
96276 {
96277 -return f != $ac_func;
96278 +return $ac_func ();
96279 ;
96280 return 0;
96281 }
96282 _ACEOF
96283 rm -f conftest.$ac_objext conftest$ac_exeext
96284 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96285 - (eval $ac_link) 2>conftest.er1
96286 +if { (ac_try="$ac_link"
96287 +case "(($ac_try" in
96288 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
96289 + *) ac_try_echo=$ac_try;;
96290 +esac
96291 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
96292 + (eval "$ac_link") 2>conftest.er1
96293 ac_status=$?
96294 grep -v '^ *+' conftest.er1 >conftest.err
96295 rm -f conftest.er1
96296 cat conftest.err >&5
96297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96298 - (exit $ac_status); } &&
96299 - { ac_try='test -z "$ac_c_werror_flag"
96300 - || test ! -s conftest.err'
96301 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96302 - (eval $ac_try) 2>&5
96303 - ac_status=$?
96304 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
96305 - (exit $ac_status); }; } &&
96306 - { ac_try='test -s conftest$ac_exeext'
96307 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96308 - (eval $ac_try) 2>&5
96309 - ac_status=$?
96310 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
96311 - (exit $ac_status); }; }; then
96312 + (exit $ac_status); } && {
96313 + test -z "$ac_c_werror_flag" ||
96314 + test ! -s conftest.err
96315 + } && test -s conftest$ac_exeext &&
96316 + $as_test_x conftest$ac_exeext; then
96317 eval "$as_ac_var=yes"
96318 else
96319 echo "$as_me: failed program was:" >&5
96320 sed 's/^/| /' conftest.$ac_ext >&5
96321
96322 -eval "$as_ac_var=no"
96323 + eval "$as_ac_var=no"
96324 fi
96325 -rm -f conftest.err conftest.$ac_objext \
96326 +
96327 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
96328 conftest$ac_exeext conftest.$ac_ext
96329 fi
96330 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96331 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96332 +ac_res=`eval echo '${'$as_ac_var'}'`
96333 + { echo "$as_me:$LINENO: result: $ac_res" >&5
96334 +echo "${ECHO_T}$ac_res" >&6; }
96335 if test `eval echo '${'$as_ac_var'}'` = yes; then
96336 cat >>confdefs.h <<_ACEOF
96337 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96338 @@ -6712,8 +7365,8 @@
96339 fi
96340 done
96341
96342 -echo "$as_me:$LINENO: checking for working mmap" >&5
96343 -echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
96344 +{ echo "$as_me:$LINENO: checking for working mmap" >&5
96345 +echo $ECHO_N "checking for working mmap... $ECHO_C" >&6; }
96346 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
96347 echo $ECHO_N "(cached) $ECHO_C" >&6
96348 else
96349 @@ -6755,21 +7408,21 @@
96350 #include <fcntl.h>
96351 #include <sys/mman.h>
96352
96353 -#if !STDC_HEADERS && !HAVE_STDLIB_H
96354 +#if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
96355 char *malloc ();
96356 #endif
96357
96358 /* This mess was copied from the GNU getpagesize.h. */
96359 -#if !HAVE_GETPAGESIZE
96360 +#ifndef HAVE_GETPAGESIZE
96361 /* Assume that all systems that can run configure have sys/param.h. */
96362 -# if !HAVE_SYS_PARAM_H
96363 +# ifndef HAVE_SYS_PARAM_H
96364 # define HAVE_SYS_PARAM_H 1
96365 # endif
96366
96367 # ifdef _SC_PAGESIZE
96368 # define getpagesize() sysconf(_SC_PAGESIZE)
96369 # else /* no _SC_PAGESIZE */
96370 -# if HAVE_SYS_PARAM_H
96371 +# ifdef HAVE_SYS_PARAM_H
96372 # include <sys/param.h>
96373 # ifdef EXEC_PAGESIZE
96374 # define getpagesize() EXEC_PAGESIZE
96375 @@ -6808,15 +7461,15 @@
96376 /* First, make a file with some known garbage in it. */
96377 data = (char *) malloc (pagesize);
96378 if (!data)
96379 - exit (1);
96380 + return 1;
96381 for (i = 0; i < pagesize; ++i)
96382 *(data + i) = rand ();
96383 umask (0);
96384 fd = creat ("conftest.mmap", 0600);
96385 if (fd < 0)
96386 - exit (1);
96387 + return 1;
96388 if (write (fd, data, pagesize) != pagesize)
96389 - exit (1);
96390 + return 1;
96391 close (fd);
96392
96393 /* Next, try to mmap the file at a fixed address which already has
96394 @@ -6824,17 +7477,17 @@
96395 we see the same garbage. */
96396 fd = open ("conftest.mmap", O_RDWR);
96397 if (fd < 0)
96398 - exit (1);
96399 + return 1;
96400 data2 = (char *) malloc (2 * pagesize);
96401 if (!data2)
96402 - exit (1);
96403 - data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
96404 + return 1;
96405 + data2 += (pagesize - ((long int) data2 & (pagesize - 1))) & (pagesize - 1);
96406 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
96407 MAP_PRIVATE | MAP_FIXED, fd, 0L))
96408 - exit (1);
96409 + return 1;
96410 for (i = 0; i < pagesize; ++i)
96411 if (*(data + i) != *(data2 + i))
96412 - exit (1);
96413 + return 1;
96414
96415 /* Finally, make sure that changes to the mapped area do not
96416 percolate back to the file as seen by read(). (This is a bug on
96417 @@ -6843,24 +7496,33 @@
96418 *(data2 + i) = *(data2 + i) + 1;
96419 data3 = (char *) malloc (pagesize);
96420 if (!data3)
96421 - exit (1);
96422 + return 1;
96423 if (read (fd, data3, pagesize) != pagesize)
96424 - exit (1);
96425 + return 1;
96426 for (i = 0; i < pagesize; ++i)
96427 if (*(data + i) != *(data3 + i))
96428 - exit (1);
96429 + return 1;
96430 close (fd);
96431 - exit (0);
96432 + return 0;
96433 }
96434 _ACEOF
96435 rm -f conftest$ac_exeext
96436 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96437 - (eval $ac_link) 2>&5
96438 +if { (ac_try="$ac_link"
96439 +case "(($ac_try" in
96440 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
96441 + *) ac_try_echo=$ac_try;;
96442 +esac
96443 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
96444 + (eval "$ac_link") 2>&5
96445 ac_status=$?
96446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96447 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
96448 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96449 - (eval $ac_try) 2>&5
96450 + { (case "(($ac_try" in
96451 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
96452 + *) ac_try_echo=$ac_try;;
96453 +esac
96454 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
96455 + (eval "$ac_try") 2>&5
96456 ac_status=$?
96457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96458 (exit $ac_status); }; }; then
96459 @@ -6873,11 +7535,13 @@
96460 ( exit $ac_status )
96461 ac_cv_func_mmap_fixed_mapped=no
96462 fi
96463 -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
96464 +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
96465 fi
96466 +
96467 +
96468 fi
96469 -echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
96470 -echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
96471 +{ echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
96472 +echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6; }
96473 if test $ac_cv_func_mmap_fixed_mapped = yes; then
96474
96475 cat >>confdefs.h <<\_ACEOF
96476 @@ -6901,18 +7565,19 @@
96477 unistd.h values.h sys/param.h
96478 do
96479 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
96480 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
96481 - echo "$as_me:$LINENO: checking for $ac_header" >&5
96482 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
96483 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
96484 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
96485 + { echo "$as_me:$LINENO: checking for $ac_header" >&5
96486 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
96487 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
96488 echo $ECHO_N "(cached) $ECHO_C" >&6
96489 fi
96490 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
96491 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
96492 +ac_res=`eval echo '${'$as_ac_Header'}'`
96493 + { echo "$as_me:$LINENO: result: $ac_res" >&5
96494 +echo "${ECHO_T}$ac_res" >&6; }
96495 else
96496 # Is the header compilable?
96497 -echo "$as_me:$LINENO: checking $ac_header usability" >&5
96498 -echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
96499 +{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
96500 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
96501 cat >conftest.$ac_ext <<_ACEOF
96502 /* confdefs.h. */
96503 _ACEOF
96504 @@ -6923,41 +7588,37 @@
96505 #include <$ac_header>
96506 _ACEOF
96507 rm -f conftest.$ac_objext
96508 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96509 - (eval $ac_compile) 2>conftest.er1
96510 +if { (ac_try="$ac_compile"
96511 +case "(($ac_try" in
96512 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
96513 + *) ac_try_echo=$ac_try;;
96514 +esac
96515 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
96516 + (eval "$ac_compile") 2>conftest.er1
96517 ac_status=$?
96518 grep -v '^ *+' conftest.er1 >conftest.err
96519 rm -f conftest.er1
96520 cat conftest.err >&5
96521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96522 - (exit $ac_status); } &&
96523 - { ac_try='test -z "$ac_c_werror_flag"
96524 - || test ! -s conftest.err'
96525 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96526 - (eval $ac_try) 2>&5
96527 - ac_status=$?
96528 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
96529 - (exit $ac_status); }; } &&
96530 - { ac_try='test -s conftest.$ac_objext'
96531 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96532 - (eval $ac_try) 2>&5
96533 - ac_status=$?
96534 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
96535 - (exit $ac_status); }; }; then
96536 + (exit $ac_status); } && {
96537 + test -z "$ac_c_werror_flag" ||
96538 + test ! -s conftest.err
96539 + } && test -s conftest.$ac_objext; then
96540 ac_header_compiler=yes
96541 else
96542 echo "$as_me: failed program was:" >&5
96543 sed 's/^/| /' conftest.$ac_ext >&5
96544
96545 -ac_header_compiler=no
96546 + ac_header_compiler=no
96547 fi
96548 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96549 -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
96550 -echo "${ECHO_T}$ac_header_compiler" >&6
96551 +
96552 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
96553 +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
96554 +echo "${ECHO_T}$ac_header_compiler" >&6; }
96555
96556 # Is the header present?
96557 -echo "$as_me:$LINENO: checking $ac_header presence" >&5
96558 -echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
96559 +{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
96560 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
96561 cat >conftest.$ac_ext <<_ACEOF
96562 /* confdefs.h. */
96563 _ACEOF
96564 @@ -6966,24 +7627,22 @@
96565 /* end confdefs.h. */
96566 #include <$ac_header>
96567 _ACEOF
96568 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
96569 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
96570 +if { (ac_try="$ac_cpp conftest.$ac_ext"
96571 +case "(($ac_try" in
96572 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
96573 + *) ac_try_echo=$ac_try;;
96574 +esac
96575 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
96576 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
96577 ac_status=$?
96578 grep -v '^ *+' conftest.er1 >conftest.err
96579 rm -f conftest.er1
96580 cat conftest.err >&5
96581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96582 - (exit $ac_status); } >/dev/null; then
96583 - if test -s conftest.err; then
96584 - ac_cpp_err=$ac_c_preproc_warn_flag
96585 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
96586 - else
96587 - ac_cpp_err=
96588 - fi
96589 -else
96590 - ac_cpp_err=yes
96591 -fi
96592 -if test -z "$ac_cpp_err"; then
96593 + (exit $ac_status); } >/dev/null && {
96594 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
96595 + test ! -s conftest.err
96596 + }; then
96597 ac_header_preproc=yes
96598 else
96599 echo "$as_me: failed program was:" >&5
96600 @@ -6991,9 +7650,10 @@
96601
96602 ac_header_preproc=no
96603 fi
96604 +
96605 rm -f conftest.err conftest.$ac_ext
96606 -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
96607 -echo "${ECHO_T}$ac_header_preproc" >&6
96608 +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
96609 +echo "${ECHO_T}$ac_header_preproc" >&6; }
96610
96611 # So? What about this header?
96612 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
96613 @@ -7017,25 +7677,19 @@
96614 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
96615 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
96616 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
96617 - (
96618 - cat <<\_ASBOX
96619 -## ------------------------------------------ ##
96620 -## Report this to the AC_PACKAGE_NAME lists. ##
96621 -## ------------------------------------------ ##
96622 -_ASBOX
96623 - ) |
96624 - sed "s/^/$as_me: WARNING: /" >&2
96625 +
96626 ;;
96627 esac
96628 -echo "$as_me:$LINENO: checking for $ac_header" >&5
96629 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
96630 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
96631 +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
96632 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
96633 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
96634 echo $ECHO_N "(cached) $ECHO_C" >&6
96635 else
96636 eval "$as_ac_Header=\$ac_header_preproc"
96637 fi
96638 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
96639 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
96640 +ac_res=`eval echo '${'$as_ac_Header'}'`
96641 + { echo "$as_me:$LINENO: result: $ac_res" >&5
96642 +echo "${ECHO_T}$ac_res" >&6; }
96643
96644 fi
96645 if test `eval echo '${'$as_ac_Header'}'` = yes; then
96646 @@ -7061,9 +7715,9 @@
96647 __argz_count __argz_stringify __argz_next
96648 do
96649 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96650 -echo "$as_me:$LINENO: checking for $ac_func" >&5
96651 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96652 -if eval "test \"\${$as_ac_var+set}\" = set"; then
96653 +{ echo "$as_me:$LINENO: checking for $ac_func" >&5
96654 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
96655 +if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
96656 echo $ECHO_N "(cached) $ECHO_C" >&6
96657 else
96658 cat >conftest.$ac_ext <<_ACEOF
96659 @@ -7089,68 +7743,60 @@
96660
96661 #undef $ac_func
96662
96663 -/* Override any gcc2 internal prototype to avoid an error. */
96664 +/* Override any GCC internal prototype to avoid an error.
96665 + Use char because int might match the return type of a GCC
96666 + builtin and then its argument prototype would still apply. */
96667 #ifdef __cplusplus
96668 extern "C"
96669 -{
96670 #endif
96671 -/* We use char because int might match the return type of a gcc2
96672 - builtin and then its argument prototype would still apply. */
96673 char $ac_func ();
96674 /* The GNU C library defines this for functions which it implements
96675 to always fail with ENOSYS. Some functions are actually named
96676 something starting with __ and the normal name is an alias. */
96677 -#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96678 +#if defined __stub_$ac_func || defined __stub___$ac_func
96679 choke me
96680 -#else
96681 -char (*f) () = $ac_func;
96682 -#endif
96683 -#ifdef __cplusplus
96684 -}
96685 #endif
96686
96687 int
96688 main ()
96689 {
96690 -return f != $ac_func;
96691 +return $ac_func ();
96692 ;
96693 return 0;
96694 }
96695 _ACEOF
96696 rm -f conftest.$ac_objext conftest$ac_exeext
96697 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96698 - (eval $ac_link) 2>conftest.er1
96699 +if { (ac_try="$ac_link"
96700 +case "(($ac_try" in
96701 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
96702 + *) ac_try_echo=$ac_try;;
96703 +esac
96704 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
96705 + (eval "$ac_link") 2>conftest.er1
96706 ac_status=$?
96707 grep -v '^ *+' conftest.er1 >conftest.err
96708 rm -f conftest.er1
96709 cat conftest.err >&5
96710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96711 - (exit $ac_status); } &&
96712 - { ac_try='test -z "$ac_c_werror_flag"
96713 - || test ! -s conftest.err'
96714 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96715 - (eval $ac_try) 2>&5
96716 - ac_status=$?
96717 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
96718 - (exit $ac_status); }; } &&
96719 - { ac_try='test -s conftest$ac_exeext'
96720 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96721 - (eval $ac_try) 2>&5
96722 - ac_status=$?
96723 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
96724 - (exit $ac_status); }; }; then
96725 + (exit $ac_status); } && {
96726 + test -z "$ac_c_werror_flag" ||
96727 + test ! -s conftest.err
96728 + } && test -s conftest$ac_exeext &&
96729 + $as_test_x conftest$ac_exeext; then
96730 eval "$as_ac_var=yes"
96731 else
96732 echo "$as_me: failed program was:" >&5
96733 sed 's/^/| /' conftest.$ac_ext >&5
96734
96735 -eval "$as_ac_var=no"
96736 + eval "$as_ac_var=no"
96737 fi
96738 -rm -f conftest.err conftest.$ac_objext \
96739 +
96740 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
96741 conftest$ac_exeext conftest.$ac_ext
96742 fi
96743 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96744 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96745 +ac_res=`eval echo '${'$as_ac_var'}'`
96746 + { echo "$as_me:$LINENO: result: $ac_res" >&5
96747 +echo "${ECHO_T}$ac_res" >&6; }
96748 if test `eval echo '${'$as_ac_var'}'` = yes; then
96749 cat >>confdefs.h <<_ACEOF
96750 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96751 @@ -7165,9 +7811,9 @@
96752 for ac_func in stpcpy
96753 do
96754 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96755 -echo "$as_me:$LINENO: checking for $ac_func" >&5
96756 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96757 -if eval "test \"\${$as_ac_var+set}\" = set"; then
96758 +{ echo "$as_me:$LINENO: checking for $ac_func" >&5
96759 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
96760 +if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
96761 echo $ECHO_N "(cached) $ECHO_C" >&6
96762 else
96763 cat >conftest.$ac_ext <<_ACEOF
96764 @@ -7193,68 +7839,60 @@
96765
96766 #undef $ac_func
96767
96768 -/* Override any gcc2 internal prototype to avoid an error. */
96769 +/* Override any GCC internal prototype to avoid an error.
96770 + Use char because int might match the return type of a GCC
96771 + builtin and then its argument prototype would still apply. */
96772 #ifdef __cplusplus
96773 extern "C"
96774 -{
96775 #endif
96776 -/* We use char because int might match the return type of a gcc2
96777 - builtin and then its argument prototype would still apply. */
96778 char $ac_func ();
96779 /* The GNU C library defines this for functions which it implements
96780 to always fail with ENOSYS. Some functions are actually named
96781 something starting with __ and the normal name is an alias. */
96782 -#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96783 +#if defined __stub_$ac_func || defined __stub___$ac_func
96784 choke me
96785 -#else
96786 -char (*f) () = $ac_func;
96787 -#endif
96788 -#ifdef __cplusplus
96789 -}
96790 #endif
96791
96792 int
96793 main ()
96794 {
96795 -return f != $ac_func;
96796 +return $ac_func ();
96797 ;
96798 return 0;
96799 }
96800 _ACEOF
96801 rm -f conftest.$ac_objext conftest$ac_exeext
96802 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96803 - (eval $ac_link) 2>conftest.er1
96804 +if { (ac_try="$ac_link"
96805 +case "(($ac_try" in
96806 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
96807 + *) ac_try_echo=$ac_try;;
96808 +esac
96809 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
96810 + (eval "$ac_link") 2>conftest.er1
96811 ac_status=$?
96812 grep -v '^ *+' conftest.er1 >conftest.err
96813 rm -f conftest.er1
96814 cat conftest.err >&5
96815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96816 - (exit $ac_status); } &&
96817 - { ac_try='test -z "$ac_c_werror_flag"
96818 - || test ! -s conftest.err'
96819 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96820 - (eval $ac_try) 2>&5
96821 - ac_status=$?
96822 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
96823 - (exit $ac_status); }; } &&
96824 - { ac_try='test -s conftest$ac_exeext'
96825 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96826 - (eval $ac_try) 2>&5
96827 - ac_status=$?
96828 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
96829 - (exit $ac_status); }; }; then
96830 + (exit $ac_status); } && {
96831 + test -z "$ac_c_werror_flag" ||
96832 + test ! -s conftest.err
96833 + } && test -s conftest$ac_exeext &&
96834 + $as_test_x conftest$ac_exeext; then
96835 eval "$as_ac_var=yes"
96836 else
96837 echo "$as_me: failed program was:" >&5
96838 sed 's/^/| /' conftest.$ac_ext >&5
96839
96840 -eval "$as_ac_var=no"
96841 + eval "$as_ac_var=no"
96842 fi
96843 -rm -f conftest.err conftest.$ac_objext \
96844 +
96845 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
96846 conftest$ac_exeext conftest.$ac_ext
96847 fi
96848 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96849 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96850 +ac_res=`eval echo '${'$as_ac_var'}'`
96851 + { echo "$as_me:$LINENO: result: $ac_res" >&5
96852 +echo "${ECHO_T}$ac_res" >&6; }
96853 if test `eval echo '${'$as_ac_var'}'` = yes; then
96854 cat >>confdefs.h <<_ACEOF
96855 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96856 @@ -7273,8 +7911,8 @@
96857 fi
96858
96859 if test $ac_cv_header_locale_h = yes; then
96860 - echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
96861 -echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
96862 + { echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
96863 +echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6; }
96864 if test "${am_cv_val_LC_MESSAGES+set}" = set; then
96865 echo $ECHO_N "(cached) $ECHO_C" >&6
96866 else
96867 @@ -7294,39 +7932,36 @@
96868 }
96869 _ACEOF
96870 rm -f conftest.$ac_objext conftest$ac_exeext
96871 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96872 - (eval $ac_link) 2>conftest.er1
96873 +if { (ac_try="$ac_link"
96874 +case "(($ac_try" in
96875 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
96876 + *) ac_try_echo=$ac_try;;
96877 +esac
96878 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
96879 + (eval "$ac_link") 2>conftest.er1
96880 ac_status=$?
96881 grep -v '^ *+' conftest.er1 >conftest.err
96882 rm -f conftest.er1
96883 cat conftest.err >&5
96884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96885 - (exit $ac_status); } &&
96886 - { ac_try='test -z "$ac_c_werror_flag"
96887 - || test ! -s conftest.err'
96888 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96889 - (eval $ac_try) 2>&5
96890 - ac_status=$?
96891 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
96892 - (exit $ac_status); }; } &&
96893 - { ac_try='test -s conftest$ac_exeext'
96894 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96895 - (eval $ac_try) 2>&5
96896 - ac_status=$?
96897 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
96898 - (exit $ac_status); }; }; then
96899 + (exit $ac_status); } && {
96900 + test -z "$ac_c_werror_flag" ||
96901 + test ! -s conftest.err
96902 + } && test -s conftest$ac_exeext &&
96903 + $as_test_x conftest$ac_exeext; then
96904 am_cv_val_LC_MESSAGES=yes
96905 else
96906 echo "$as_me: failed program was:" >&5
96907 sed 's/^/| /' conftest.$ac_ext >&5
96908
96909 -am_cv_val_LC_MESSAGES=no
96910 + am_cv_val_LC_MESSAGES=no
96911 fi
96912 -rm -f conftest.err conftest.$ac_objext \
96913 +
96914 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
96915 conftest$ac_exeext conftest.$ac_ext
96916 fi
96917 -echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
96918 -echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6
96919 +{ echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
96920 +echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6; }
96921 if test $am_cv_val_LC_MESSAGES = yes; then
96922
96923 cat >>confdefs.h <<\_ACEOF
96924 @@ -7335,34 +7970,34 @@
96925
96926 fi
96927 fi
96928 - echo "$as_me:$LINENO: checking whether NLS is requested" >&5
96929 -echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
96930 - # Check whether --enable-nls or --disable-nls was given.
96931 + { echo "$as_me:$LINENO: checking whether NLS is requested" >&5
96932 +echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6; }
96933 + # Check whether --enable-nls was given.
96934 if test "${enable_nls+set}" = set; then
96935 - enableval="$enable_nls"
96936 - USE_NLS=$enableval
96937 + enableval=$enable_nls; USE_NLS=$enableval
96938 else
96939 USE_NLS=yes
96940 -fi;
96941 - echo "$as_me:$LINENO: result: $USE_NLS" >&5
96942 -echo "${ECHO_T}$USE_NLS" >&6
96943 +fi
96944 +
96945 + { echo "$as_me:$LINENO: result: $USE_NLS" >&5
96946 +echo "${ECHO_T}$USE_NLS" >&6; }
96947
96948
96949 USE_INCLUDED_LIBINTL=no
96950
96951 if test "$USE_NLS" = "yes"; then
96952 - echo "$as_me:$LINENO: checking whether included gettext is requested" >&5
96953 -echo $ECHO_N "checking whether included gettext is requested... $ECHO_C" >&6
96954 + { echo "$as_me:$LINENO: checking whether included gettext is requested" >&5
96955 +echo $ECHO_N "checking whether included gettext is requested... $ECHO_C" >&6; }
96956
96957 -# Check whether --with-included-gettext or --without-included-gettext was given.
96958 +# Check whether --with-included-gettext was given.
96959 if test "${with_included_gettext+set}" = set; then
96960 - withval="$with_included_gettext"
96961 - nls_cv_force_use_gnu_gettext=$withval
96962 + withval=$with_included_gettext; nls_cv_force_use_gnu_gettext=$withval
96963 else
96964 nls_cv_force_use_gnu_gettext=no
96965 -fi;
96966 - echo "$as_me:$LINENO: result: $nls_cv_force_use_gnu_gettext" >&5
96967 -echo "${ECHO_T}$nls_cv_force_use_gnu_gettext" >&6
96968 +fi
96969 +
96970 + { echo "$as_me:$LINENO: result: $nls_cv_force_use_gnu_gettext" >&5
96971 +echo "${ECHO_T}$nls_cv_force_use_gnu_gettext" >&6; }
96972
96973 nls_cv_use_gnu_gettext="$nls_cv_force_use_gnu_gettext"
96974 if test "$nls_cv_force_use_gnu_gettext" != "yes"; then
96975 @@ -7371,17 +8006,17 @@
96976 CATOBJEXT=
96977
96978 if test "${ac_cv_header_libintl_h+set}" = set; then
96979 - echo "$as_me:$LINENO: checking for libintl.h" >&5
96980 -echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6
96981 + { echo "$as_me:$LINENO: checking for libintl.h" >&5
96982 +echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6; }
96983 if test "${ac_cv_header_libintl_h+set}" = set; then
96984 echo $ECHO_N "(cached) $ECHO_C" >&6
96985 fi
96986 -echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
96987 -echo "${ECHO_T}$ac_cv_header_libintl_h" >&6
96988 +{ echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
96989 +echo "${ECHO_T}$ac_cv_header_libintl_h" >&6; }
96990 else
96991 # Is the header compilable?
96992 -echo "$as_me:$LINENO: checking libintl.h usability" >&5
96993 -echo $ECHO_N "checking libintl.h usability... $ECHO_C" >&6
96994 +{ echo "$as_me:$LINENO: checking libintl.h usability" >&5
96995 +echo $ECHO_N "checking libintl.h usability... $ECHO_C" >&6; }
96996 cat >conftest.$ac_ext <<_ACEOF
96997 /* confdefs.h. */
96998 _ACEOF
96999 @@ -7392,41 +8027,37 @@
97000 #include <libintl.h>
97001 _ACEOF
97002 rm -f conftest.$ac_objext
97003 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97004 - (eval $ac_compile) 2>conftest.er1
97005 +if { (ac_try="$ac_compile"
97006 +case "(($ac_try" in
97007 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
97008 + *) ac_try_echo=$ac_try;;
97009 +esac
97010 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
97011 + (eval "$ac_compile") 2>conftest.er1
97012 ac_status=$?
97013 grep -v '^ *+' conftest.er1 >conftest.err
97014 rm -f conftest.er1
97015 cat conftest.err >&5
97016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97017 - (exit $ac_status); } &&
97018 - { ac_try='test -z "$ac_c_werror_flag"
97019 - || test ! -s conftest.err'
97020 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97021 - (eval $ac_try) 2>&5
97022 - ac_status=$?
97023 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
97024 - (exit $ac_status); }; } &&
97025 - { ac_try='test -s conftest.$ac_objext'
97026 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97027 - (eval $ac_try) 2>&5
97028 - ac_status=$?
97029 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
97030 - (exit $ac_status); }; }; then
97031 + (exit $ac_status); } && {
97032 + test -z "$ac_c_werror_flag" ||
97033 + test ! -s conftest.err
97034 + } && test -s conftest.$ac_objext; then
97035 ac_header_compiler=yes
97036 else
97037 echo "$as_me: failed program was:" >&5
97038 sed 's/^/| /' conftest.$ac_ext >&5
97039
97040 -ac_header_compiler=no
97041 + ac_header_compiler=no
97042 fi
97043 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97044 -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
97045 -echo "${ECHO_T}$ac_header_compiler" >&6
97046 +
97047 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
97048 +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
97049 +echo "${ECHO_T}$ac_header_compiler" >&6; }
97050
97051 # Is the header present?
97052 -echo "$as_me:$LINENO: checking libintl.h presence" >&5
97053 -echo $ECHO_N "checking libintl.h presence... $ECHO_C" >&6
97054 +{ echo "$as_me:$LINENO: checking libintl.h presence" >&5
97055 +echo $ECHO_N "checking libintl.h presence... $ECHO_C" >&6; }
97056 cat >conftest.$ac_ext <<_ACEOF
97057 /* confdefs.h. */
97058 _ACEOF
97059 @@ -7435,24 +8066,22 @@
97060 /* end confdefs.h. */
97061 #include <libintl.h>
97062 _ACEOF
97063 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
97064 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
97065 +if { (ac_try="$ac_cpp conftest.$ac_ext"
97066 +case "(($ac_try" in
97067 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
97068 + *) ac_try_echo=$ac_try;;
97069 +esac
97070 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
97071 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
97072 ac_status=$?
97073 grep -v '^ *+' conftest.er1 >conftest.err
97074 rm -f conftest.er1
97075 cat conftest.err >&5
97076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97077 - (exit $ac_status); } >/dev/null; then
97078 - if test -s conftest.err; then
97079 - ac_cpp_err=$ac_c_preproc_warn_flag
97080 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
97081 - else
97082 - ac_cpp_err=
97083 - fi
97084 -else
97085 - ac_cpp_err=yes
97086 -fi
97087 -if test -z "$ac_cpp_err"; then
97088 + (exit $ac_status); } >/dev/null && {
97089 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
97090 + test ! -s conftest.err
97091 + }; then
97092 ac_header_preproc=yes
97093 else
97094 echo "$as_me: failed program was:" >&5
97095 @@ -7460,9 +8089,10 @@
97096
97097 ac_header_preproc=no
97098 fi
97099 +
97100 rm -f conftest.err conftest.$ac_ext
97101 -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
97102 -echo "${ECHO_T}$ac_header_preproc" >&6
97103 +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
97104 +echo "${ECHO_T}$ac_header_preproc" >&6; }
97105
97106 # So? What about this header?
97107 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
97108 @@ -7486,30 +8116,23 @@
97109 echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;}
97110 { echo "$as_me:$LINENO: WARNING: libintl.h: in the future, the compiler will take precedence" >&5
97111 echo "$as_me: WARNING: libintl.h: in the future, the compiler will take precedence" >&2;}
97112 - (
97113 - cat <<\_ASBOX
97114 -## ------------------------------------------ ##
97115 -## Report this to the AC_PACKAGE_NAME lists. ##
97116 -## ------------------------------------------ ##
97117 -_ASBOX
97118 - ) |
97119 - sed "s/^/$as_me: WARNING: /" >&2
97120 +
97121 ;;
97122 esac
97123 -echo "$as_me:$LINENO: checking for libintl.h" >&5
97124 -echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6
97125 +{ echo "$as_me:$LINENO: checking for libintl.h" >&5
97126 +echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6; }
97127 if test "${ac_cv_header_libintl_h+set}" = set; then
97128 echo $ECHO_N "(cached) $ECHO_C" >&6
97129 else
97130 ac_cv_header_libintl_h=$ac_header_preproc
97131 fi
97132 -echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
97133 -echo "${ECHO_T}$ac_cv_header_libintl_h" >&6
97134 +{ echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
97135 +echo "${ECHO_T}$ac_cv_header_libintl_h" >&6; }
97136
97137 fi
97138 if test $ac_cv_header_libintl_h = yes; then
97139 - echo "$as_me:$LINENO: checking for gettext in libc" >&5
97140 -echo $ECHO_N "checking for gettext in libc... $ECHO_C" >&6
97141 + { echo "$as_me:$LINENO: checking for gettext in libc" >&5
97142 +echo $ECHO_N "checking for gettext in libc... $ECHO_C" >&6; }
97143 if test "${gt_cv_func_gettext_libc+set}" = set; then
97144 echo $ECHO_N "(cached) $ECHO_C" >&6
97145 else
97146 @@ -7529,43 +8152,40 @@
97147 }
97148 _ACEOF
97149 rm -f conftest.$ac_objext conftest$ac_exeext
97150 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97151 - (eval $ac_link) 2>conftest.er1
97152 +if { (ac_try="$ac_link"
97153 +case "(($ac_try" in
97154 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
97155 + *) ac_try_echo=$ac_try;;
97156 +esac
97157 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
97158 + (eval "$ac_link") 2>conftest.er1
97159 ac_status=$?
97160 grep -v '^ *+' conftest.er1 >conftest.err
97161 rm -f conftest.er1
97162 cat conftest.err >&5
97163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97164 - (exit $ac_status); } &&
97165 - { ac_try='test -z "$ac_c_werror_flag"
97166 - || test ! -s conftest.err'
97167 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97168 - (eval $ac_try) 2>&5
97169 - ac_status=$?
97170 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
97171 - (exit $ac_status); }; } &&
97172 - { ac_try='test -s conftest$ac_exeext'
97173 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97174 - (eval $ac_try) 2>&5
97175 - ac_status=$?
97176 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
97177 - (exit $ac_status); }; }; then
97178 + (exit $ac_status); } && {
97179 + test -z "$ac_c_werror_flag" ||
97180 + test ! -s conftest.err
97181 + } && test -s conftest$ac_exeext &&
97182 + $as_test_x conftest$ac_exeext; then
97183 gt_cv_func_gettext_libc=yes
97184 else
97185 echo "$as_me: failed program was:" >&5
97186 sed 's/^/| /' conftest.$ac_ext >&5
97187
97188 -gt_cv_func_gettext_libc=no
97189 + gt_cv_func_gettext_libc=no
97190 fi
97191 -rm -f conftest.err conftest.$ac_objext \
97192 +
97193 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
97194 conftest$ac_exeext conftest.$ac_ext
97195 fi
97196 -echo "$as_me:$LINENO: result: $gt_cv_func_gettext_libc" >&5
97197 -echo "${ECHO_T}$gt_cv_func_gettext_libc" >&6
97198 +{ echo "$as_me:$LINENO: result: $gt_cv_func_gettext_libc" >&5
97199 +echo "${ECHO_T}$gt_cv_func_gettext_libc" >&6; }
97200
97201 if test "$gt_cv_func_gettext_libc" != "yes"; then
97202 - echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5
97203 -echo $ECHO_N "checking for bindtextdomain in -lintl... $ECHO_C" >&6
97204 + { echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5
97205 +echo $ECHO_N "checking for bindtextdomain in -lintl... $ECHO_C" >&6; }
97206 if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then
97207 echo $ECHO_N "(cached) $ECHO_C" >&6
97208 else
97209 @@ -7578,59 +8198,56 @@
97210 cat >>conftest.$ac_ext <<_ACEOF
97211 /* end confdefs.h. */
97212
97213 -/* Override any gcc2 internal prototype to avoid an error. */
97214 +/* Override any GCC internal prototype to avoid an error.
97215 + Use char because int might match the return type of a GCC
97216 + builtin and then its argument prototype would still apply. */
97217 #ifdef __cplusplus
97218 extern "C"
97219 #endif
97220 -/* We use char because int might match the return type of a gcc2
97221 - builtin and then its argument prototype would still apply. */
97222 char bindtextdomain ();
97223 int
97224 main ()
97225 {
97226 -bindtextdomain ();
97227 +return bindtextdomain ();
97228 ;
97229 return 0;
97230 }
97231 _ACEOF
97232 rm -f conftest.$ac_objext conftest$ac_exeext
97233 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97234 - (eval $ac_link) 2>conftest.er1
97235 +if { (ac_try="$ac_link"
97236 +case "(($ac_try" in
97237 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
97238 + *) ac_try_echo=$ac_try;;
97239 +esac
97240 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
97241 + (eval "$ac_link") 2>conftest.er1
97242 ac_status=$?
97243 grep -v '^ *+' conftest.er1 >conftest.err
97244 rm -f conftest.er1
97245 cat conftest.err >&5
97246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97247 - (exit $ac_status); } &&
97248 - { ac_try='test -z "$ac_c_werror_flag"
97249 - || test ! -s conftest.err'
97250 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97251 - (eval $ac_try) 2>&5
97252 - ac_status=$?
97253 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
97254 - (exit $ac_status); }; } &&
97255 - { ac_try='test -s conftest$ac_exeext'
97256 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97257 - (eval $ac_try) 2>&5
97258 - ac_status=$?
97259 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
97260 - (exit $ac_status); }; }; then
97261 + (exit $ac_status); } && {
97262 + test -z "$ac_c_werror_flag" ||
97263 + test ! -s conftest.err
97264 + } && test -s conftest$ac_exeext &&
97265 + $as_test_x conftest$ac_exeext; then
97266 ac_cv_lib_intl_bindtextdomain=yes
97267 else
97268 echo "$as_me: failed program was:" >&5
97269 sed 's/^/| /' conftest.$ac_ext >&5
97270
97271 -ac_cv_lib_intl_bindtextdomain=no
97272 + ac_cv_lib_intl_bindtextdomain=no
97273 fi
97274 -rm -f conftest.err conftest.$ac_objext \
97275 +
97276 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
97277 conftest$ac_exeext conftest.$ac_ext
97278 LIBS=$ac_check_lib_save_LIBS
97279 fi
97280 -echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5
97281 -echo "${ECHO_T}$ac_cv_lib_intl_bindtextdomain" >&6
97282 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5
97283 +echo "${ECHO_T}$ac_cv_lib_intl_bindtextdomain" >&6; }
97284 if test $ac_cv_lib_intl_bindtextdomain = yes; then
97285 - echo "$as_me:$LINENO: checking for gettext in libintl" >&5
97286 -echo $ECHO_N "checking for gettext in libintl... $ECHO_C" >&6
97287 + { echo "$as_me:$LINENO: checking for gettext in libintl" >&5
97288 +echo $ECHO_N "checking for gettext in libintl... $ECHO_C" >&6; }
97289 if test "${gt_cv_func_gettext_libintl+set}" = set; then
97290 echo $ECHO_N "(cached) $ECHO_C" >&6
97291 else
97292 @@ -7650,39 +8267,36 @@
97293 }
97294 _ACEOF
97295 rm -f conftest.$ac_objext conftest$ac_exeext
97296 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97297 - (eval $ac_link) 2>conftest.er1
97298 +if { (ac_try="$ac_link"
97299 +case "(($ac_try" in
97300 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
97301 + *) ac_try_echo=$ac_try;;
97302 +esac
97303 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
97304 + (eval "$ac_link") 2>conftest.er1
97305 ac_status=$?
97306 grep -v '^ *+' conftest.er1 >conftest.err
97307 rm -f conftest.er1
97308 cat conftest.err >&5
97309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97310 - (exit $ac_status); } &&
97311 - { ac_try='test -z "$ac_c_werror_flag"
97312 - || test ! -s conftest.err'
97313 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97314 - (eval $ac_try) 2>&5
97315 - ac_status=$?
97316 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
97317 - (exit $ac_status); }; } &&
97318 - { ac_try='test -s conftest$ac_exeext'
97319 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97320 - (eval $ac_try) 2>&5
97321 - ac_status=$?
97322 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
97323 - (exit $ac_status); }; }; then
97324 + (exit $ac_status); } && {
97325 + test -z "$ac_c_werror_flag" ||
97326 + test ! -s conftest.err
97327 + } && test -s conftest$ac_exeext &&
97328 + $as_test_x conftest$ac_exeext; then
97329 gt_cv_func_gettext_libintl=yes
97330 else
97331 echo "$as_me: failed program was:" >&5
97332 sed 's/^/| /' conftest.$ac_ext >&5
97333
97334 -gt_cv_func_gettext_libintl=no
97335 + gt_cv_func_gettext_libintl=no
97336 fi
97337 -rm -f conftest.err conftest.$ac_objext \
97338 +
97339 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
97340 conftest$ac_exeext conftest.$ac_ext
97341 fi
97342 -echo "$as_me:$LINENO: result: $gt_cv_func_gettext_libintl" >&5
97343 -echo "${ECHO_T}$gt_cv_func_gettext_libintl" >&6
97344 +{ echo "$as_me:$LINENO: result: $gt_cv_func_gettext_libintl" >&5
97345 +echo "${ECHO_T}$gt_cv_func_gettext_libintl" >&6; }
97346 fi
97347
97348 fi
97349 @@ -7696,8 +8310,8 @@
97350
97351 # Extract the first word of "msgfmt", so it can be a program name with args.
97352 set dummy msgfmt; ac_word=$2
97353 -echo "$as_me:$LINENO: checking for $ac_word" >&5
97354 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
97355 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
97356 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
97357 if test "${ac_cv_path_MSGFMT+set}" = set; then
97358 echo $ECHO_N "(cached) $ECHO_C" >&6
97359 else
97360 @@ -7723,20 +8337,20 @@
97361 fi
97362 MSGFMT="$ac_cv_path_MSGFMT"
97363 if test -n "$MSGFMT"; then
97364 - echo "$as_me:$LINENO: result: $MSGFMT" >&5
97365 -echo "${ECHO_T}$MSGFMT" >&6
97366 + { echo "$as_me:$LINENO: result: $MSGFMT" >&5
97367 +echo "${ECHO_T}$MSGFMT" >&6; }
97368 else
97369 - echo "$as_me:$LINENO: result: no" >&5
97370 -echo "${ECHO_T}no" >&6
97371 + { echo "$as_me:$LINENO: result: no" >&5
97372 +echo "${ECHO_T}no" >&6; }
97373 fi
97374 if test "$MSGFMT" != "no"; then
97375
97376 for ac_func in dcgettext
97377 do
97378 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97379 -echo "$as_me:$LINENO: checking for $ac_func" >&5
97380 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
97381 -if eval "test \"\${$as_ac_var+set}\" = set"; then
97382 +{ echo "$as_me:$LINENO: checking for $ac_func" >&5
97383 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
97384 +if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
97385 echo $ECHO_N "(cached) $ECHO_C" >&6
97386 else
97387 cat >conftest.$ac_ext <<_ACEOF
97388 @@ -7762,68 +8376,60 @@
97389
97390 #undef $ac_func
97391
97392 -/* Override any gcc2 internal prototype to avoid an error. */
97393 +/* Override any GCC internal prototype to avoid an error.
97394 + Use char because int might match the return type of a GCC
97395 + builtin and then its argument prototype would still apply. */
97396 #ifdef __cplusplus
97397 extern "C"
97398 -{
97399 #endif
97400 -/* We use char because int might match the return type of a gcc2
97401 - builtin and then its argument prototype would still apply. */
97402 char $ac_func ();
97403 /* The GNU C library defines this for functions which it implements
97404 to always fail with ENOSYS. Some functions are actually named
97405 something starting with __ and the normal name is an alias. */
97406 -#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
97407 +#if defined __stub_$ac_func || defined __stub___$ac_func
97408 choke me
97409 -#else
97410 -char (*f) () = $ac_func;
97411 -#endif
97412 -#ifdef __cplusplus
97413 -}
97414 #endif
97415
97416 int
97417 main ()
97418 {
97419 -return f != $ac_func;
97420 +return $ac_func ();
97421 ;
97422 return 0;
97423 }
97424 _ACEOF
97425 rm -f conftest.$ac_objext conftest$ac_exeext
97426 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97427 - (eval $ac_link) 2>conftest.er1
97428 +if { (ac_try="$ac_link"
97429 +case "(($ac_try" in
97430 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
97431 + *) ac_try_echo=$ac_try;;
97432 +esac
97433 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
97434 + (eval "$ac_link") 2>conftest.er1
97435 ac_status=$?
97436 grep -v '^ *+' conftest.er1 >conftest.err
97437 rm -f conftest.er1
97438 cat conftest.err >&5
97439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97440 - (exit $ac_status); } &&
97441 - { ac_try='test -z "$ac_c_werror_flag"
97442 - || test ! -s conftest.err'
97443 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97444 - (eval $ac_try) 2>&5
97445 - ac_status=$?
97446 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
97447 - (exit $ac_status); }; } &&
97448 - { ac_try='test -s conftest$ac_exeext'
97449 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97450 - (eval $ac_try) 2>&5
97451 - ac_status=$?
97452 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
97453 - (exit $ac_status); }; }; then
97454 + (exit $ac_status); } && {
97455 + test -z "$ac_c_werror_flag" ||
97456 + test ! -s conftest.err
97457 + } && test -s conftest$ac_exeext &&
97458 + $as_test_x conftest$ac_exeext; then
97459 eval "$as_ac_var=yes"
97460 else
97461 echo "$as_me: failed program was:" >&5
97462 sed 's/^/| /' conftest.$ac_ext >&5
97463
97464 -eval "$as_ac_var=no"
97465 + eval "$as_ac_var=no"
97466 fi
97467 -rm -f conftest.err conftest.$ac_objext \
97468 +
97469 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
97470 conftest$ac_exeext conftest.$ac_ext
97471 fi
97472 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
97473 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
97474 +ac_res=`eval echo '${'$as_ac_var'}'`
97475 + { echo "$as_me:$LINENO: result: $ac_res" >&5
97476 +echo "${ECHO_T}$ac_res" >&6; }
97477 if test `eval echo '${'$as_ac_var'}'` = yes; then
97478 cat >>confdefs.h <<_ACEOF
97479 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97480 @@ -7834,8 +8440,8 @@
97481
97482 # Extract the first word of "gmsgfmt", so it can be a program name with args.
97483 set dummy gmsgfmt; ac_word=$2
97484 -echo "$as_me:$LINENO: checking for $ac_word" >&5
97485 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
97486 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
97487 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
97488 if test "${ac_cv_path_GMSGFMT+set}" = set; then
97489 echo $ECHO_N "(cached) $ECHO_C" >&6
97490 else
97491 @@ -7850,32 +8456,33 @@
97492 IFS=$as_save_IFS
97493 test -z "$as_dir" && as_dir=.
97494 for ac_exec_ext in '' $ac_executable_extensions; do
97495 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
97496 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
97497 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
97498 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
97499 break 2
97500 fi
97501 done
97502 done
97503 +IFS=$as_save_IFS
97504
97505 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
97506 ;;
97507 esac
97508 fi
97509 GMSGFMT=$ac_cv_path_GMSGFMT
97510 -
97511 if test -n "$GMSGFMT"; then
97512 - echo "$as_me:$LINENO: result: $GMSGFMT" >&5
97513 -echo "${ECHO_T}$GMSGFMT" >&6
97514 + { echo "$as_me:$LINENO: result: $GMSGFMT" >&5
97515 +echo "${ECHO_T}$GMSGFMT" >&6; }
97516 else
97517 - echo "$as_me:$LINENO: result: no" >&5
97518 -echo "${ECHO_T}no" >&6
97519 + { echo "$as_me:$LINENO: result: no" >&5
97520 +echo "${ECHO_T}no" >&6; }
97521 fi
97522
97523 +
97524 # Extract the first word of "xgettext", so it can be a program name with args.
97525 set dummy xgettext; ac_word=$2
97526 -echo "$as_me:$LINENO: checking for $ac_word" >&5
97527 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
97528 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
97529 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
97530 if test "${ac_cv_path_XGETTEXT+set}" = set; then
97531 echo $ECHO_N "(cached) $ECHO_C" >&6
97532 else
97533 @@ -7901,11 +8508,11 @@
97534 fi
97535 XGETTEXT="$ac_cv_path_XGETTEXT"
97536 if test -n "$XGETTEXT"; then
97537 - echo "$as_me:$LINENO: result: $XGETTEXT" >&5
97538 -echo "${ECHO_T}$XGETTEXT" >&6
97539 + { echo "$as_me:$LINENO: result: $XGETTEXT" >&5
97540 +echo "${ECHO_T}$XGETTEXT" >&6; }
97541 else
97542 - echo "$as_me:$LINENO: result: no" >&5
97543 -echo "${ECHO_T}no" >&6
97544 + { echo "$as_me:$LINENO: result: no" >&5
97545 +echo "${ECHO_T}no" >&6; }
97546 fi
97547
97548 cat >conftest.$ac_ext <<_ACEOF
97549 @@ -7925,37 +8532,34 @@
97550 }
97551 _ACEOF
97552 rm -f conftest.$ac_objext conftest$ac_exeext
97553 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97554 - (eval $ac_link) 2>conftest.er1
97555 +if { (ac_try="$ac_link"
97556 +case "(($ac_try" in
97557 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
97558 + *) ac_try_echo=$ac_try;;
97559 +esac
97560 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
97561 + (eval "$ac_link") 2>conftest.er1
97562 ac_status=$?
97563 grep -v '^ *+' conftest.er1 >conftest.err
97564 rm -f conftest.er1
97565 cat conftest.err >&5
97566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97567 - (exit $ac_status); } &&
97568 - { ac_try='test -z "$ac_c_werror_flag"
97569 - || test ! -s conftest.err'
97570 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97571 - (eval $ac_try) 2>&5
97572 - ac_status=$?
97573 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
97574 - (exit $ac_status); }; } &&
97575 - { ac_try='test -s conftest$ac_exeext'
97576 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97577 - (eval $ac_try) 2>&5
97578 - ac_status=$?
97579 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
97580 - (exit $ac_status); }; }; then
97581 + (exit $ac_status); } && {
97582 + test -z "$ac_c_werror_flag" ||
97583 + test ! -s conftest.err
97584 + } && test -s conftest$ac_exeext &&
97585 + $as_test_x conftest$ac_exeext; then
97586 CATOBJEXT=.gmo
97587 DATADIRNAME=share
97588 else
97589 echo "$as_me: failed program was:" >&5
97590 sed 's/^/| /' conftest.$ac_ext >&5
97591
97592 -CATOBJEXT=.mo
97593 + CATOBJEXT=.mo
97594 DATADIRNAME=lib
97595 fi
97596 -rm -f conftest.err conftest.$ac_objext \
97597 +
97598 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
97599 conftest$ac_exeext conftest.$ac_ext
97600 INSTOBJEXT=.mo
97601 fi
97602 @@ -7977,8 +8581,8 @@
97603 INTLOBJS="\$(GETTOBJS)"
97604 # Extract the first word of "msgfmt", so it can be a program name with args.
97605 set dummy msgfmt; ac_word=$2
97606 -echo "$as_me:$LINENO: checking for $ac_word" >&5
97607 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
97608 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
97609 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
97610 if test "${ac_cv_path_MSGFMT+set}" = set; then
97611 echo $ECHO_N "(cached) $ECHO_C" >&6
97612 else
97613 @@ -8004,17 +8608,17 @@
97614 fi
97615 MSGFMT="$ac_cv_path_MSGFMT"
97616 if test -n "$MSGFMT"; then
97617 - echo "$as_me:$LINENO: result: $MSGFMT" >&5
97618 -echo "${ECHO_T}$MSGFMT" >&6
97619 + { echo "$as_me:$LINENO: result: $MSGFMT" >&5
97620 +echo "${ECHO_T}$MSGFMT" >&6; }
97621 else
97622 - echo "$as_me:$LINENO: result: no" >&5
97623 -echo "${ECHO_T}no" >&6
97624 + { echo "$as_me:$LINENO: result: no" >&5
97625 +echo "${ECHO_T}no" >&6; }
97626 fi
97627
97628 # Extract the first word of "gmsgfmt", so it can be a program name with args.
97629 set dummy gmsgfmt; ac_word=$2
97630 -echo "$as_me:$LINENO: checking for $ac_word" >&5
97631 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
97632 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
97633 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
97634 if test "${ac_cv_path_GMSGFMT+set}" = set; then
97635 echo $ECHO_N "(cached) $ECHO_C" >&6
97636 else
97637 @@ -8029,32 +8633,33 @@
97638 IFS=$as_save_IFS
97639 test -z "$as_dir" && as_dir=.
97640 for ac_exec_ext in '' $ac_executable_extensions; do
97641 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
97642 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
97643 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
97644 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
97645 break 2
97646 fi
97647 done
97648 done
97649 +IFS=$as_save_IFS
97650
97651 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
97652 ;;
97653 esac
97654 fi
97655 GMSGFMT=$ac_cv_path_GMSGFMT
97656 -
97657 if test -n "$GMSGFMT"; then
97658 - echo "$as_me:$LINENO: result: $GMSGFMT" >&5
97659 -echo "${ECHO_T}$GMSGFMT" >&6
97660 + { echo "$as_me:$LINENO: result: $GMSGFMT" >&5
97661 +echo "${ECHO_T}$GMSGFMT" >&6; }
97662 else
97663 - echo "$as_me:$LINENO: result: no" >&5
97664 -echo "${ECHO_T}no" >&6
97665 + { echo "$as_me:$LINENO: result: no" >&5
97666 +echo "${ECHO_T}no" >&6; }
97667 fi
97668
97669 +
97670 # Extract the first word of "xgettext", so it can be a program name with args.
97671 set dummy xgettext; ac_word=$2
97672 -echo "$as_me:$LINENO: checking for $ac_word" >&5
97673 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
97674 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
97675 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
97676 if test "${ac_cv_path_XGETTEXT+set}" = set; then
97677 echo $ECHO_N "(cached) $ECHO_C" >&6
97678 else
97679 @@ -8080,11 +8685,11 @@
97680 fi
97681 XGETTEXT="$ac_cv_path_XGETTEXT"
97682 if test -n "$XGETTEXT"; then
97683 - echo "$as_me:$LINENO: result: $XGETTEXT" >&5
97684 -echo "${ECHO_T}$XGETTEXT" >&6
97685 + { echo "$as_me:$LINENO: result: $XGETTEXT" >&5
97686 +echo "${ECHO_T}$XGETTEXT" >&6; }
97687 else
97688 - echo "$as_me:$LINENO: result: no" >&5
97689 -echo "${ECHO_T}no" >&6
97690 + { echo "$as_me:$LINENO: result: no" >&5
97691 +echo "${ECHO_T}no" >&6; }
97692 fi
97693
97694
97695 @@ -8103,8 +8708,8 @@
97696 if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
97697 : ;
97698 else
97699 - echo "$as_me:$LINENO: result: found xgettext programs is not GNU xgettext; ignore it" >&5
97700 -echo "${ECHO_T}found xgettext programs is not GNU xgettext; ignore it" >&6
97701 + { echo "$as_me:$LINENO: result: found xgettext programs is not GNU xgettext; ignore it" >&5
97702 +echo "${ECHO_T}found xgettext programs is not GNU xgettext; ignore it" >&6; }
97703 XGETTEXT=":"
97704 fi
97705 fi
97706 @@ -8153,8 +8758,8 @@
97707 if test "x$ALL_LINGUAS" = "x"; then
97708 LINGUAS=
97709 else
97710 - echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
97711 -echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6
97712 + { echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
97713 +echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6; }
97714 NEW_LINGUAS=
97715 for lang in ${LINGUAS=$ALL_LINGUAS}; do
97716 case "$ALL_LINGUAS" in
97717 @@ -8162,8 +8767,8 @@
97718 esac
97719 done
97720 LINGUAS=$NEW_LINGUAS
97721 - echo "$as_me:$LINENO: result: $LINGUAS" >&5
97722 -echo "${ECHO_T}$LINGUAS" >&6
97723 + { echo "$as_me:$LINENO: result: $LINGUAS" >&5
97724 +echo "${ECHO_T}$LINGUAS" >&6; }
97725 fi
97726
97727 if test -n "$LINGUAS"; then
97728 @@ -8182,17 +8787,17 @@
97729 if test -f $srcdir/po2tbl.sed.in; then
97730 if test "$CATOBJEXT" = ".cat"; then
97731 if test "${ac_cv_header_linux_version_h+set}" = set; then
97732 - echo "$as_me:$LINENO: checking for linux/version.h" >&5
97733 -echo $ECHO_N "checking for linux/version.h... $ECHO_C" >&6
97734 + { echo "$as_me:$LINENO: checking for linux/version.h" >&5
97735 +echo $ECHO_N "checking for linux/version.h... $ECHO_C" >&6; }
97736 if test "${ac_cv_header_linux_version_h+set}" = set; then
97737 echo $ECHO_N "(cached) $ECHO_C" >&6
97738 fi
97739 -echo "$as_me:$LINENO: result: $ac_cv_header_linux_version_h" >&5
97740 -echo "${ECHO_T}$ac_cv_header_linux_version_h" >&6
97741 +{ echo "$as_me:$LINENO: result: $ac_cv_header_linux_version_h" >&5
97742 +echo "${ECHO_T}$ac_cv_header_linux_version_h" >&6; }
97743 else
97744 # Is the header compilable?
97745 -echo "$as_me:$LINENO: checking linux/version.h usability" >&5
97746 -echo $ECHO_N "checking linux/version.h usability... $ECHO_C" >&6
97747 +{ echo "$as_me:$LINENO: checking linux/version.h usability" >&5
97748 +echo $ECHO_N "checking linux/version.h usability... $ECHO_C" >&6; }
97749 cat >conftest.$ac_ext <<_ACEOF
97750 /* confdefs.h. */
97751 _ACEOF
97752 @@ -8203,41 +8808,37 @@
97753 #include <linux/version.h>
97754 _ACEOF
97755 rm -f conftest.$ac_objext
97756 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97757 - (eval $ac_compile) 2>conftest.er1
97758 +if { (ac_try="$ac_compile"
97759 +case "(($ac_try" in
97760 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
97761 + *) ac_try_echo=$ac_try;;
97762 +esac
97763 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
97764 + (eval "$ac_compile") 2>conftest.er1
97765 ac_status=$?
97766 grep -v '^ *+' conftest.er1 >conftest.err
97767 rm -f conftest.er1
97768 cat conftest.err >&5
97769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97770 - (exit $ac_status); } &&
97771 - { ac_try='test -z "$ac_c_werror_flag"
97772 - || test ! -s conftest.err'
97773 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97774 - (eval $ac_try) 2>&5
97775 - ac_status=$?
97776 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
97777 - (exit $ac_status); }; } &&
97778 - { ac_try='test -s conftest.$ac_objext'
97779 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97780 - (eval $ac_try) 2>&5
97781 - ac_status=$?
97782 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
97783 - (exit $ac_status); }; }; then
97784 + (exit $ac_status); } && {
97785 + test -z "$ac_c_werror_flag" ||
97786 + test ! -s conftest.err
97787 + } && test -s conftest.$ac_objext; then
97788 ac_header_compiler=yes
97789 else
97790 echo "$as_me: failed program was:" >&5
97791 sed 's/^/| /' conftest.$ac_ext >&5
97792
97793 -ac_header_compiler=no
97794 + ac_header_compiler=no
97795 fi
97796 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97797 -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
97798 -echo "${ECHO_T}$ac_header_compiler" >&6
97799 +
97800 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
97801 +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
97802 +echo "${ECHO_T}$ac_header_compiler" >&6; }
97803
97804 # Is the header present?
97805 -echo "$as_me:$LINENO: checking linux/version.h presence" >&5
97806 -echo $ECHO_N "checking linux/version.h presence... $ECHO_C" >&6
97807 +{ echo "$as_me:$LINENO: checking linux/version.h presence" >&5
97808 +echo $ECHO_N "checking linux/version.h presence... $ECHO_C" >&6; }
97809 cat >conftest.$ac_ext <<_ACEOF
97810 /* confdefs.h. */
97811 _ACEOF
97812 @@ -8246,24 +8847,22 @@
97813 /* end confdefs.h. */
97814 #include <linux/version.h>
97815 _ACEOF
97816 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
97817 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
97818 +if { (ac_try="$ac_cpp conftest.$ac_ext"
97819 +case "(($ac_try" in
97820 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
97821 + *) ac_try_echo=$ac_try;;
97822 +esac
97823 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
97824 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
97825 ac_status=$?
97826 grep -v '^ *+' conftest.er1 >conftest.err
97827 rm -f conftest.er1
97828 cat conftest.err >&5
97829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97830 - (exit $ac_status); } >/dev/null; then
97831 - if test -s conftest.err; then
97832 - ac_cpp_err=$ac_c_preproc_warn_flag
97833 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
97834 - else
97835 - ac_cpp_err=
97836 - fi
97837 -else
97838 - ac_cpp_err=yes
97839 -fi
97840 -if test -z "$ac_cpp_err"; then
97841 + (exit $ac_status); } >/dev/null && {
97842 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
97843 + test ! -s conftest.err
97844 + }; then
97845 ac_header_preproc=yes
97846 else
97847 echo "$as_me: failed program was:" >&5
97848 @@ -8271,9 +8870,10 @@
97849
97850 ac_header_preproc=no
97851 fi
97852 +
97853 rm -f conftest.err conftest.$ac_ext
97854 -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
97855 -echo "${ECHO_T}$ac_header_preproc" >&6
97856 +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
97857 +echo "${ECHO_T}$ac_header_preproc" >&6; }
97858
97859 # So? What about this header?
97860 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
97861 @@ -8297,25 +8897,18 @@
97862 echo "$as_me: WARNING: linux/version.h: proceeding with the preprocessor's result" >&2;}
97863 { echo "$as_me:$LINENO: WARNING: linux/version.h: in the future, the compiler will take precedence" >&5
97864 echo "$as_me: WARNING: linux/version.h: in the future, the compiler will take precedence" >&2;}
97865 - (
97866 - cat <<\_ASBOX
97867 -## ------------------------------------------ ##
97868 -## Report this to the AC_PACKAGE_NAME lists. ##
97869 -## ------------------------------------------ ##
97870 -_ASBOX
97871 - ) |
97872 - sed "s/^/$as_me: WARNING: /" >&2
97873 +
97874 ;;
97875 esac
97876 -echo "$as_me:$LINENO: checking for linux/version.h" >&5
97877 -echo $ECHO_N "checking for linux/version.h... $ECHO_C" >&6
97878 +{ echo "$as_me:$LINENO: checking for linux/version.h" >&5
97879 +echo $ECHO_N "checking for linux/version.h... $ECHO_C" >&6; }
97880 if test "${ac_cv_header_linux_version_h+set}" = set; then
97881 echo $ECHO_N "(cached) $ECHO_C" >&6
97882 else
97883 ac_cv_header_linux_version_h=$ac_header_preproc
97884 fi
97885 -echo "$as_me:$LINENO: result: $ac_cv_header_linux_version_h" >&5
97886 -echo "${ECHO_T}$ac_cv_header_linux_version_h" >&6
97887 +{ echo "$as_me:$LINENO: result: $ac_cv_header_linux_version_h" >&5
97888 +echo "${ECHO_T}$ac_cv_header_linux_version_h" >&6; }
97889
97890 fi
97891 if test $ac_cv_header_linux_version_h = yes; then
97892 @@ -8380,8 +8973,8 @@
97893 if test "x$cross_compiling" = "xno"; then
97894 EXEEXT_FOR_BUILD='$(EXEEXT)'
97895 else
97896 - echo "$as_me:$LINENO: checking for build system executable suffix" >&5
97897 -echo $ECHO_N "checking for build system executable suffix... $ECHO_C" >&6
97898 + { echo "$as_me:$LINENO: checking for build system executable suffix" >&5
97899 +echo $ECHO_N "checking for build system executable suffix... $ECHO_C" >&6; }
97900 if test "${bfd_cv_build_exeext+set}" = set; then
97901 echo $ECHO_N "(cached) $ECHO_C" >&6
97902 else
97903 @@ -8398,8 +8991,8 @@
97904 rm -f conftest*
97905 test x"${bfd_cv_build_exeext}" = x && bfd_cv_build_exeext=no
97906 fi
97907 -echo "$as_me:$LINENO: result: $bfd_cv_build_exeext" >&5
97908 -echo "${ECHO_T}$bfd_cv_build_exeext" >&6
97909 +{ echo "$as_me:$LINENO: result: $bfd_cv_build_exeext" >&5
97910 +echo "${ECHO_T}$bfd_cv_build_exeext" >&6; }
97911 EXEEXT_FOR_BUILD=""
97912 test x"${bfd_cv_build_exeext}" != xno && EXEEXT_FOR_BUILD=${bfd_cv_build_exeext}
97913 fi
97914 @@ -8419,8 +9012,8 @@
97915 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
97916 # OS/2's system install, which has a completely different semantic
97917 # ./install, which can be erroneously created by make from ./install.sh.
97918 -echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
97919 -echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
97920 +{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
97921 +echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
97922 if test -z "$INSTALL"; then
97923 if test "${ac_cv_path_install+set}" = set; then
97924 echo $ECHO_N "(cached) $ECHO_C" >&6
97925 @@ -8442,7 +9035,7 @@
97926 # by default.
97927 for ac_prog in ginstall scoinst install; do
97928 for ac_exec_ext in '' $ac_executable_extensions; do
97929 - if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
97930 + if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
97931 if test $ac_prog = install &&
97932 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
97933 # AIX install. It has an incompatible calling convention.
97934 @@ -8461,21 +9054,22 @@
97935 ;;
97936 esac
97937 done
97938 +IFS=$as_save_IFS
97939
97940
97941 fi
97942 if test "${ac_cv_path_install+set}" = set; then
97943 INSTALL=$ac_cv_path_install
97944 else
97945 - # As a last resort, use the slow shell script. We don't cache a
97946 - # path for INSTALL within a source directory, because that will
97947 + # As a last resort, use the slow shell script. Don't cache a
97948 + # value for INSTALL within a source directory, because that will
97949 # break other packages using the cache if that directory is
97950 - # removed, or if the path is relative.
97951 + # removed, or if the value is a relative name.
97952 INSTALL=$ac_install_sh
97953 fi
97954 fi
97955 -echo "$as_me:$LINENO: result: $INSTALL" >&5
97956 -echo "${ECHO_T}$INSTALL" >&6
97957 +{ echo "$as_me:$LINENO: result: $INSTALL" >&5
97958 +echo "${ECHO_T}$INSTALL" >&6; }
97959
97960 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
97961 # It thinks the first close brace ends the variable substitution.
97962 @@ -8492,18 +9086,19 @@
97963 for ac_header in string.h strings.h stdlib.h
97964 do
97965 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
97966 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
97967 - echo "$as_me:$LINENO: checking for $ac_header" >&5
97968 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
97969 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
97970 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
97971 + { echo "$as_me:$LINENO: checking for $ac_header" >&5
97972 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
97973 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
97974 echo $ECHO_N "(cached) $ECHO_C" >&6
97975 fi
97976 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
97977 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
97978 +ac_res=`eval echo '${'$as_ac_Header'}'`
97979 + { echo "$as_me:$LINENO: result: $ac_res" >&5
97980 +echo "${ECHO_T}$ac_res" >&6; }
97981 else
97982 # Is the header compilable?
97983 -echo "$as_me:$LINENO: checking $ac_header usability" >&5
97984 -echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
97985 +{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
97986 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
97987 cat >conftest.$ac_ext <<_ACEOF
97988 /* confdefs.h. */
97989 _ACEOF
97990 @@ -8514,41 +9109,37 @@
97991 #include <$ac_header>
97992 _ACEOF
97993 rm -f conftest.$ac_objext
97994 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97995 - (eval $ac_compile) 2>conftest.er1
97996 +if { (ac_try="$ac_compile"
97997 +case "(($ac_try" in
97998 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
97999 + *) ac_try_echo=$ac_try;;
98000 +esac
98001 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
98002 + (eval "$ac_compile") 2>conftest.er1
98003 ac_status=$?
98004 grep -v '^ *+' conftest.er1 >conftest.err
98005 rm -f conftest.er1
98006 cat conftest.err >&5
98007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98008 - (exit $ac_status); } &&
98009 - { ac_try='test -z "$ac_c_werror_flag"
98010 - || test ! -s conftest.err'
98011 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98012 - (eval $ac_try) 2>&5
98013 - ac_status=$?
98014 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
98015 - (exit $ac_status); }; } &&
98016 - { ac_try='test -s conftest.$ac_objext'
98017 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98018 - (eval $ac_try) 2>&5
98019 - ac_status=$?
98020 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
98021 - (exit $ac_status); }; }; then
98022 + (exit $ac_status); } && {
98023 + test -z "$ac_c_werror_flag" ||
98024 + test ! -s conftest.err
98025 + } && test -s conftest.$ac_objext; then
98026 ac_header_compiler=yes
98027 else
98028 echo "$as_me: failed program was:" >&5
98029 sed 's/^/| /' conftest.$ac_ext >&5
98030
98031 -ac_header_compiler=no
98032 + ac_header_compiler=no
98033 fi
98034 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98035 -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
98036 -echo "${ECHO_T}$ac_header_compiler" >&6
98037 +
98038 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
98039 +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
98040 +echo "${ECHO_T}$ac_header_compiler" >&6; }
98041
98042 # Is the header present?
98043 -echo "$as_me:$LINENO: checking $ac_header presence" >&5
98044 -echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
98045 +{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
98046 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
98047 cat >conftest.$ac_ext <<_ACEOF
98048 /* confdefs.h. */
98049 _ACEOF
98050 @@ -8557,24 +9148,22 @@
98051 /* end confdefs.h. */
98052 #include <$ac_header>
98053 _ACEOF
98054 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
98055 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
98056 +if { (ac_try="$ac_cpp conftest.$ac_ext"
98057 +case "(($ac_try" in
98058 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
98059 + *) ac_try_echo=$ac_try;;
98060 +esac
98061 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
98062 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
98063 ac_status=$?
98064 grep -v '^ *+' conftest.er1 >conftest.err
98065 rm -f conftest.er1
98066 cat conftest.err >&5
98067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98068 - (exit $ac_status); } >/dev/null; then
98069 - if test -s conftest.err; then
98070 - ac_cpp_err=$ac_c_preproc_warn_flag
98071 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
98072 - else
98073 - ac_cpp_err=
98074 - fi
98075 -else
98076 - ac_cpp_err=yes
98077 -fi
98078 -if test -z "$ac_cpp_err"; then
98079 + (exit $ac_status); } >/dev/null && {
98080 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
98081 + test ! -s conftest.err
98082 + }; then
98083 ac_header_preproc=yes
98084 else
98085 echo "$as_me: failed program was:" >&5
98086 @@ -8582,9 +9171,10 @@
98087
98088 ac_header_preproc=no
98089 fi
98090 +
98091 rm -f conftest.err conftest.$ac_ext
98092 -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
98093 -echo "${ECHO_T}$ac_header_preproc" >&6
98094 +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
98095 +echo "${ECHO_T}$ac_header_preproc" >&6; }
98096
98097 # So? What about this header?
98098 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
98099 @@ -8608,25 +9198,19 @@
98100 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
98101 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
98102 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
98103 - (
98104 - cat <<\_ASBOX
98105 -## ------------------------------------------ ##
98106 -## Report this to the AC_PACKAGE_NAME lists. ##
98107 -## ------------------------------------------ ##
98108 -_ASBOX
98109 - ) |
98110 - sed "s/^/$as_me: WARNING: /" >&2
98111 +
98112 ;;
98113 esac
98114 -echo "$as_me:$LINENO: checking for $ac_header" >&5
98115 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
98116 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
98117 +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
98118 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
98119 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
98120 echo $ECHO_N "(cached) $ECHO_C" >&6
98121 else
98122 eval "$as_ac_Header=\$ac_header_preproc"
98123 fi
98124 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
98125 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
98126 +ac_res=`eval echo '${'$as_ac_Header'}'`
98127 + { echo "$as_me:$LINENO: result: $ac_res" >&5
98128 +echo "${ECHO_T}$ac_res" >&6; }
98129
98130 fi
98131 if test `eval echo '${'$as_ac_Header'}'` = yes; then
98132 @@ -8639,8 +9223,8 @@
98133 done
98134
98135
98136 -echo "$as_me:$LINENO: checking whether basename is declared" >&5
98137 -echo $ECHO_N "checking whether basename is declared... $ECHO_C" >&6
98138 +{ echo "$as_me:$LINENO: checking whether basename is declared" >&5
98139 +echo $ECHO_N "checking whether basename is declared... $ECHO_C" >&6; }
98140 if test "${ac_cv_have_decl_basename+set}" = set; then
98141 echo $ECHO_N "(cached) $ECHO_C" >&6
98142 else
98143 @@ -8655,7 +9239,7 @@
98144 main ()
98145 {
98146 #ifndef basename
98147 - char *p = (char *) basename;
98148 + (void) basename;
98149 #endif
98150
98151 ;
98152 @@ -8663,38 +9247,34 @@
98153 }
98154 _ACEOF
98155 rm -f conftest.$ac_objext
98156 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98157 - (eval $ac_compile) 2>conftest.er1
98158 +if { (ac_try="$ac_compile"
98159 +case "(($ac_try" in
98160 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
98161 + *) ac_try_echo=$ac_try;;
98162 +esac
98163 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
98164 + (eval "$ac_compile") 2>conftest.er1
98165 ac_status=$?
98166 grep -v '^ *+' conftest.er1 >conftest.err
98167 rm -f conftest.er1
98168 cat conftest.err >&5
98169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98170 - (exit $ac_status); } &&
98171 - { ac_try='test -z "$ac_c_werror_flag"
98172 - || test ! -s conftest.err'
98173 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98174 - (eval $ac_try) 2>&5
98175 - ac_status=$?
98176 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
98177 - (exit $ac_status); }; } &&
98178 - { ac_try='test -s conftest.$ac_objext'
98179 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98180 - (eval $ac_try) 2>&5
98181 - ac_status=$?
98182 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
98183 - (exit $ac_status); }; }; then
98184 + (exit $ac_status); } && {
98185 + test -z "$ac_c_werror_flag" ||
98186 + test ! -s conftest.err
98187 + } && test -s conftest.$ac_objext; then
98188 ac_cv_have_decl_basename=yes
98189 else
98190 echo "$as_me: failed program was:" >&5
98191 sed 's/^/| /' conftest.$ac_ext >&5
98192
98193 -ac_cv_have_decl_basename=no
98194 + ac_cv_have_decl_basename=no
98195 fi
98196 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98197 +
98198 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
98199 fi
98200 -echo "$as_me:$LINENO: result: $ac_cv_have_decl_basename" >&5
98201 -echo "${ECHO_T}$ac_cv_have_decl_basename" >&6
98202 +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_basename" >&5
98203 +echo "${ECHO_T}$ac_cv_have_decl_basename" >&6; }
98204 if test $ac_cv_have_decl_basename = yes; then
98205
98206 cat >>confdefs.h <<_ACEOF
98207 @@ -8715,10 +9295,9 @@
98208 cgen_maint=no
98209 cgendir='$(srcdir)/../cgen'
98210
98211 -# Check whether --enable-cgen-maint or --disable-cgen-maint was given.
98212 +# Check whether --enable-cgen-maint was given.
98213 if test "${enable_cgen_maint+set}" = set; then
98214 - enableval="$enable_cgen_maint"
98215 - case "${enableval}" in
98216 + enableval=$enable_cgen_maint; case "${enableval}" in
98217 yes) cgen_maint=yes ;;
98218 no) cgen_maint=no ;;
98219 *)
98220 @@ -8729,7 +9308,8 @@
98221 cgendir=${cgen_maint}/lib/cgen
98222 ;;
98223 esac
98224 -fi;
98225 +fi
98226 +
98227
98228 if test x${cgen_maint} = xyes; then
98229 CGEN_MAINT_TRUE=
98230 @@ -8805,6 +9385,7 @@
98231 bfd_arc_arch) ta="$ta arc-dis.lo arc-opc.lo arc-ext.lo" ;;
98232 bfd_arm_arch) ta="$ta arm-dis.lo" ;;
98233 bfd_avr_arch) ta="$ta avr-dis.lo" ;;
98234 + bfd_avr32_arch) ta="$ta avr32-asm.lo avr32-dis.lo avr32-opc.lo" ;;
98235 bfd_bfin_arch) ta="$ta bfin-dis.lo" ;;
98236 bfd_cris_arch) ta="$ta cris-dis.lo cris-opc.lo cgen-bitset.lo" ;;
98237 bfd_crx_arch) ta="$ta crx-dis.lo crx-opc.lo" ;;
98238 @@ -8922,9 +9503,9 @@
98239
98240
98241
98242 - ac_config_files="$ac_config_files Makefile po/Makefile.in:po/Make-in"
98243 +ac_config_files="$ac_config_files Makefile po/Makefile.in:po/Make-in"
98244
98245 - ac_config_commands="$ac_config_commands default"
98246 +ac_config_commands="$ac_config_commands default"
98247
98248 cat >confcache <<\_ACEOF
98249 # This file is a shell script that caches the results of configure
98250 @@ -8944,39 +9525,58 @@
98251
98252 # The following way of writing the cache mishandles newlines in values,
98253 # but we know of no workaround that is simple, portable, and efficient.
98254 -# So, don't put newlines in cache variables' values.
98255 +# So, we kill variables containing newlines.
98256 # Ultrix sh set writes to stderr and can't be redirected directly,
98257 # and sets the high bit in the cache file unless we assign to the vars.
98258 -{
98259 +(
98260 + for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
98261 + eval ac_val=\$$ac_var
98262 + case $ac_val in #(
98263 + *${as_nl}*)
98264 + case $ac_var in #(
98265 + *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
98266 +echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
98267 + esac
98268 + case $ac_var in #(
98269 + _ | IFS | as_nl) ;; #(
98270 + *) $as_unset $ac_var ;;
98271 + esac ;;
98272 + esac
98273 + done
98274 +
98275 (set) 2>&1 |
98276 - case `(ac_space=' '; set | grep ac_space) 2>&1` in
98277 - *ac_space=\ *)
98278 + case $as_nl`(ac_space=' '; set) 2>&1` in #(
98279 + *${as_nl}ac_space=\ *)
98280 # `set' does not quote correctly, so add quotes (double-quote
98281 # substitution turns \\\\ into \\, and sed turns \\ into \).
98282 sed -n \
98283 "s/'/'\\\\''/g;
98284 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
98285 - ;;
98286 + ;; #(
98287 *)
98288 # `set' quotes correctly as required by POSIX, so do not add quotes.
98289 - sed -n \
98290 - "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
98291 + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
98292 ;;
98293 - esac;
98294 -} |
98295 + esac |
98296 + sort
98297 +) |
98298 sed '
98299 + /^ac_cv_env_/b end
98300 t clear
98301 - : clear
98302 + :clear
98303 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
98304 t end
98305 - /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
98306 - : end' >>confcache
98307 -if diff $cache_file confcache >/dev/null 2>&1; then :; else
98308 - if test -w $cache_file; then
98309 - test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
98310 + s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
98311 + :end' >>confcache
98312 +if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
98313 + if test -w "$cache_file"; then
98314 + test "x$cache_file" != "x/dev/null" &&
98315 + { echo "$as_me:$LINENO: updating cache $cache_file" >&5
98316 +echo "$as_me: updating cache $cache_file" >&6;}
98317 cat confcache >$cache_file
98318 else
98319 - echo "not updating unwritable cache $cache_file"
98320 + { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
98321 +echo "$as_me: not updating unwritable cache $cache_file" >&6;}
98322 fi
98323 fi
98324 rm -f confcache
98325 @@ -8985,32 +9585,18 @@
98326 # Let make expand exec_prefix.
98327 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
98328
98329 -# VPATH may cause trouble with some makes, so we remove $(srcdir),
98330 -# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
98331 -# trailing colons and then remove the whole line if VPATH becomes empty
98332 -# (actually we leave an empty line to preserve line numbers).
98333 -if test "x$srcdir" = x.; then
98334 - ac_vpsub='/^[ ]*VPATH[ ]*=/{
98335 -s/:*\$(srcdir):*/:/;
98336 -s/:*\${srcdir}:*/:/;
98337 -s/:*@srcdir@:*/:/;
98338 -s/^\([^=]*=[ ]*\):*/\1/;
98339 -s/:*$//;
98340 -s/^[^=]*=[ ]*$//;
98341 -}'
98342 -fi
98343 -
98344 DEFS=-DHAVE_CONFIG_H
98345
98346 ac_libobjs=
98347 ac_ltlibobjs=
98348 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
98349 # 1. Remove the extension, and $U if already installed.
98350 - ac_i=`echo "$ac_i" |
98351 - sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
98352 - # 2. Add them.
98353 - ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
98354 - ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
98355 + ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
98356 + ac_i=`echo "$ac_i" | sed "$ac_script"`
98357 + # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
98358 + # will be set to the directory where LIBOBJS objects are built.
98359 + ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
98360 + ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
98361 done
98362 LIBOBJS=$ac_libobjs
98363
98364 @@ -9076,17 +9662,45 @@
98365 ## M4sh Initialization. ##
98366 ## --------------------- ##
98367
98368 -# Be Bourne compatible
98369 +# Be more Bourne compatible
98370 +DUALCASE=1; export DUALCASE # for MKS sh
98371 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
98372 emulate sh
98373 NULLCMD=:
98374 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
98375 # is contrary to our usage. Disable this feature.
98376 alias -g '${1+"$@"}'='"$@"'
98377 -elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
98378 - set -o posix
98379 + setopt NO_GLOB_SUBST
98380 +else
98381 + case `(set -o) 2>/dev/null` in
98382 + *posix*) set -o posix ;;
98383 +esac
98384 +
98385 +fi
98386 +
98387 +
98388 +
98389 +
98390 +# PATH needs CR
98391 +# Avoid depending upon Character Ranges.
98392 +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
98393 +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
98394 +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
98395 +as_cr_digits='0123456789'
98396 +as_cr_alnum=$as_cr_Letters$as_cr_digits
98397 +
98398 +# The user is always right.
98399 +if test "${PATH_SEPARATOR+set}" != set; then
98400 + echo "#! /bin/sh" >conf$$.sh
98401 + echo "exit 0" >>conf$$.sh
98402 + chmod +x conf$$.sh
98403 + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
98404 + PATH_SEPARATOR=';'
98405 + else
98406 + PATH_SEPARATOR=:
98407 + fi
98408 + rm -f conf$$.sh
98409 fi
98410 -DUALCASE=1; export DUALCASE # for MKS sh
98411
98412 # Support unset when possible.
98413 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
98414 @@ -9096,8 +9710,43 @@
98415 fi
98416
98417
98418 +# IFS
98419 +# We need space, tab and new line, in precisely that order. Quoting is
98420 +# there to prevent editors from complaining about space-tab.
98421 +# (If _AS_PATH_WALK were called with IFS unset, it would disable word
98422 +# splitting by setting IFS to empty value.)
98423 +as_nl='
98424 +'
98425 +IFS=" "" $as_nl"
98426 +
98427 +# Find who we are. Look in the path if we contain no directory separator.
98428 +case $0 in
98429 + *[\\/]* ) as_myself=$0 ;;
98430 + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
98431 +for as_dir in $PATH
98432 +do
98433 + IFS=$as_save_IFS
98434 + test -z "$as_dir" && as_dir=.
98435 + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
98436 +done
98437 +IFS=$as_save_IFS
98438 +
98439 + ;;
98440 +esac
98441 +# We did not find ourselves, most probably we were run as `sh COMMAND'
98442 +# in which case we are not to be found in the path.
98443 +if test "x$as_myself" = x; then
98444 + as_myself=$0
98445 +fi
98446 +if test ! -f "$as_myself"; then
98447 + echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
98448 + { (exit 1); exit 1; }
98449 +fi
98450 +
98451 # Work around bugs in pre-3.0 UWIN ksh.
98452 -$as_unset ENV MAIL MAILPATH
98453 +for as_var in ENV MAIL MAILPATH
98454 +do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
98455 +done
98456 PS1='$ '
98457 PS2='> '
98458 PS4='+ '
98459 @@ -9111,18 +9760,19 @@
98460 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
98461 eval $as_var=C; export $as_var
98462 else
98463 - $as_unset $as_var
98464 + ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
98465 fi
98466 done
98467
98468 # Required to use basename.
98469 -if expr a : '\(a\)' >/dev/null 2>&1; then
98470 +if expr a : '\(a\)' >/dev/null 2>&1 &&
98471 + test "X`expr 00001 : '.*\(...\)'`" = X001; then
98472 as_expr=expr
98473 else
98474 as_expr=false
98475 fi
98476
98477 -if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
98478 +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
98479 as_basename=basename
98480 else
98481 as_basename=false
98482 @@ -9130,159 +9780,120 @@
98483
98484
98485 # Name of the executable.
98486 -as_me=`$as_basename "$0" ||
98487 +as_me=`$as_basename -- "$0" ||
98488 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
98489 X"$0" : 'X\(//\)$' \| \
98490 - X"$0" : 'X\(/\)$' \| \
98491 - . : '\(.\)' 2>/dev/null ||
98492 + X"$0" : 'X\(/\)' \| . 2>/dev/null ||
98493 echo X/"$0" |
98494 - sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
98495 - /^X\/\(\/\/\)$/{ s//\1/; q; }
98496 - /^X\/\(\/\).*/{ s//\1/; q; }
98497 - s/.*/./; q'`
98498 + sed '/^.*\/\([^/][^/]*\)\/*$/{
98499 + s//\1/
98500 + q
98501 + }
98502 + /^X\/\(\/\/\)$/{
98503 + s//\1/
98504 + q
98505 + }
98506 + /^X\/\(\/\).*/{
98507 + s//\1/
98508 + q
98509 + }
98510 + s/.*/./; q'`
98511
98512 +# CDPATH.
98513 +$as_unset CDPATH
98514
98515 -# PATH needs CR, and LINENO needs CR and PATH.
98516 -# Avoid depending upon Character Ranges.
98517 -as_cr_letters='abcdefghijklmnopqrstuvwxyz'
98518 -as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
98519 -as_cr_Letters=$as_cr_letters$as_cr_LETTERS
98520 -as_cr_digits='0123456789'
98521 -as_cr_alnum=$as_cr_Letters$as_cr_digits
98522 -
98523 -# The user is always right.
98524 -if test "${PATH_SEPARATOR+set}" != set; then
98525 - echo "#! /bin/sh" >conf$$.sh
98526 - echo "exit 0" >>conf$$.sh
98527 - chmod +x conf$$.sh
98528 - if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
98529 - PATH_SEPARATOR=';'
98530 - else
98531 - PATH_SEPARATOR=:
98532 - fi
98533 - rm -f conf$$.sh
98534 -fi
98535
98536
98537 as_lineno_1=$LINENO
98538 as_lineno_2=$LINENO
98539 - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
98540 test "x$as_lineno_1" != "x$as_lineno_2" &&
98541 - test "x$as_lineno_3" = "x$as_lineno_2" || {
98542 - # Find who we are. Look in the path if we contain no path at all
98543 - # relative or not.
98544 - case $0 in
98545 - *[\\/]* ) as_myself=$0 ;;
98546 - *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
98547 -for as_dir in $PATH
98548 -do
98549 - IFS=$as_save_IFS
98550 - test -z "$as_dir" && as_dir=.
98551 - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
98552 -done
98553 -
98554 - ;;
98555 - esac
98556 - # We did not find ourselves, most probably we were run as `sh COMMAND'
98557 - # in which case we are not to be found in the path.
98558 - if test "x$as_myself" = x; then
98559 - as_myself=$0
98560 - fi
98561 - if test ! -f "$as_myself"; then
98562 - { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
98563 -echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
98564 - { (exit 1); exit 1; }; }
98565 - fi
98566 - case $CONFIG_SHELL in
98567 - '')
98568 - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
98569 -for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
98570 -do
98571 - IFS=$as_save_IFS
98572 - test -z "$as_dir" && as_dir=.
98573 - for as_base in sh bash ksh sh5; do
98574 - case $as_dir in
98575 - /*)
98576 - if ("$as_dir/$as_base" -c '
98577 - as_lineno_1=$LINENO
98578 - as_lineno_2=$LINENO
98579 - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
98580 - test "x$as_lineno_1" != "x$as_lineno_2" &&
98581 - test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
98582 - $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
98583 - $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
98584 - CONFIG_SHELL=$as_dir/$as_base
98585 - export CONFIG_SHELL
98586 - exec "$CONFIG_SHELL" "$0" ${1+"$@"}
98587 - fi;;
98588 - esac
98589 - done
98590 -done
98591 -;;
98592 - esac
98593 + test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
98594
98595 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
98596 # uniformly replaced by the line number. The first 'sed' inserts a
98597 - # line-number line before each line; the second 'sed' does the real
98598 - # work. The second script uses 'N' to pair each line-number line
98599 - # with the numbered line, and appends trailing '-' during
98600 - # substitution so that $LINENO is not a special case at line end.
98601 + # line-number line after each line using $LINENO; the second 'sed'
98602 + # does the real work. The second script uses 'N' to pair each
98603 + # line-number line with the line containing $LINENO, and appends
98604 + # trailing '-' during substitution so that $LINENO is not a special
98605 + # case at line end.
98606 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
98607 - # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
98608 - sed '=' <$as_myself |
98609 + # scripts with optimization help from Paolo Bonzini. Blame Lee
98610 + # E. McMahon (1931-1989) for sed's syntax. :-)
98611 + sed -n '
98612 + p
98613 + /[$]LINENO/=
98614 + ' <$as_myself |
98615 sed '
98616 + s/[$]LINENO.*/&-/
98617 + t lineno
98618 + b
98619 + :lineno
98620 N
98621 - s,$,-,
98622 - : loop
98623 - s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
98624 + :loop
98625 + s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
98626 t loop
98627 - s,-$,,
98628 - s,^['$as_cr_digits']*\n,,
98629 + s/-\n.*//
98630 ' >$as_me.lineno &&
98631 - chmod +x $as_me.lineno ||
98632 - { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
98633 -echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
98634 + chmod +x "$as_me.lineno" ||
98635 + { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
98636 { (exit 1); exit 1; }; }
98637
98638 # Don't try to exec as it changes $[0], causing all sort of problems
98639 # (the dirname of $[0] is not the place where we might find the
98640 - # original and so on. Autoconf is especially sensible to this).
98641 - . ./$as_me.lineno
98642 + # original and so on. Autoconf is especially sensitive to this).
98643 + . "./$as_me.lineno"
98644 # Exit status is that of the last command.
98645 exit
98646 }
98647
98648
98649 -case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
98650 - *c*,-n*) ECHO_N= ECHO_C='
98651 -' ECHO_T=' ' ;;
98652 - *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
98653 - *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
98654 +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
98655 + as_dirname=dirname
98656 +else
98657 + as_dirname=false
98658 +fi
98659 +
98660 +ECHO_C= ECHO_N= ECHO_T=
98661 +case `echo -n x` in
98662 +-n*)
98663 + case `echo 'x\c'` in
98664 + *c*) ECHO_T=' ';; # ECHO_T is single tab character.
98665 + *) ECHO_C='\c';;
98666 + esac;;
98667 +*)
98668 + ECHO_N='-n';;
98669 esac
98670
98671 -if expr a : '\(a\)' >/dev/null 2>&1; then
98672 +if expr a : '\(a\)' >/dev/null 2>&1 &&
98673 + test "X`expr 00001 : '.*\(...\)'`" = X001; then
98674 as_expr=expr
98675 else
98676 as_expr=false
98677 fi
98678
98679 rm -f conf$$ conf$$.exe conf$$.file
98680 +if test -d conf$$.dir; then
98681 + rm -f conf$$.dir/conf$$.file
98682 +else
98683 + rm -f conf$$.dir
98684 + mkdir conf$$.dir
98685 +fi
98686 echo >conf$$.file
98687 if ln -s conf$$.file conf$$ 2>/dev/null; then
98688 - # We could just check for DJGPP; but this test a) works b) is more generic
98689 - # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
98690 - if test -f conf$$.exe; then
98691 - # Don't use ln at all; we don't have any links
98692 + as_ln_s='ln -s'
98693 + # ... but there are two gotchas:
98694 + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
98695 + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
98696 + # In both cases, we have to default to `cp -p'.
98697 + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
98698 as_ln_s='cp -p'
98699 - else
98700 - as_ln_s='ln -s'
98701 - fi
98702 elif ln conf$$.file conf$$ 2>/dev/null; then
98703 as_ln_s=ln
98704 else
98705 as_ln_s='cp -p'
98706 fi
98707 -rm -f conf$$ conf$$.exe conf$$.file
98708 +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
98709 +rmdir conf$$.dir 2>/dev/null
98710
98711 if mkdir -p . 2>/dev/null; then
98712 as_mkdir_p=:
98713 @@ -9291,7 +9902,28 @@
98714 as_mkdir_p=false
98715 fi
98716
98717 -as_executable_p="test -f"
98718 +if test -x / >/dev/null 2>&1; then
98719 + as_test_x='test -x'
98720 +else
98721 + if ls -dL / >/dev/null 2>&1; then
98722 + as_ls_L_option=L
98723 + else
98724 + as_ls_L_option=
98725 + fi
98726 + as_test_x='
98727 + eval sh -c '\''
98728 + if test -d "$1"; then
98729 + test -d "$1/.";
98730 + else
98731 + case $1 in
98732 + -*)set "./$1";;
98733 + esac;
98734 + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
98735 + ???[sx]*):;;*)false;;esac;fi
98736 + '\'' sh
98737 + '
98738 +fi
98739 +as_executable_p=$as_test_x
98740
98741 # Sed expression to map a string onto a valid CPP name.
98742 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
98743 @@ -9300,31 +9932,14 @@
98744 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
98745
98746
98747 -# IFS
98748 -# We need space, tab and new line, in precisely that order.
98749 -as_nl='
98750 -'
98751 -IFS=" $as_nl"
98752 -
98753 -# CDPATH.
98754 -$as_unset CDPATH
98755 -
98756 exec 6>&1
98757
98758 -# Open the log real soon, to keep \$[0] and so on meaningful, and to
98759 +# Save the log message, to keep $[0] and so on meaningful, and to
98760 # report actual input values of CONFIG_FILES etc. instead of their
98761 -# values after options handling. Logging --version etc. is OK.
98762 -exec 5>>config.log
98763 -{
98764 - echo
98765 - sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
98766 -## Running $as_me. ##
98767 -_ASBOX
98768 -} >&5
98769 -cat >&5 <<_CSEOF
98770 -
98771 +# values after options handling.
98772 +ac_log="
98773 This file was extended by $as_me, which was
98774 -generated by GNU Autoconf 2.59. Invocation command line was
98775 +generated by GNU Autoconf 2.61. Invocation command line was
98776
98777 CONFIG_FILES = $CONFIG_FILES
98778 CONFIG_HEADERS = $CONFIG_HEADERS
98779 @@ -9332,30 +9947,20 @@
98780 CONFIG_COMMANDS = $CONFIG_COMMANDS
98781 $ $0 $@
98782
98783 -_CSEOF
98784 -echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
98785 -echo >&5
98786 +on `(hostname || uname -n) 2>/dev/null | sed 1q`
98787 +"
98788 +
98789 _ACEOF
98790
98791 +cat >>$CONFIG_STATUS <<_ACEOF
98792 # Files that config.status was made for.
98793 -if test -n "$ac_config_files"; then
98794 - echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
98795 -fi
98796 -
98797 -if test -n "$ac_config_headers"; then
98798 - echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
98799 -fi
98800 -
98801 -if test -n "$ac_config_links"; then
98802 - echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
98803 -fi
98804 +config_files="$ac_config_files"
98805 +config_headers="$ac_config_headers"
98806 +config_commands="$ac_config_commands"
98807
98808 -if test -n "$ac_config_commands"; then
98809 - echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
98810 -fi
98811 +_ACEOF
98812
98813 cat >>$CONFIG_STATUS <<\_ACEOF
98814 -
98815 ac_cs_usage="\
98816 \`$as_me' instantiates files from templates according to the
98817 current configuration.
98818 @@ -9363,7 +9968,7 @@
98819 Usage: $0 [OPTIONS] [FILE]...
98820
98821 -h, --help print this help, then exit
98822 - -V, --version print version number, then exit
98823 + -V, --version print version number and configuration settings, then exit
98824 -q, --quiet do not print progress messages
98825 -d, --debug don't remove temporary files
98826 --recheck update $as_me by reconfiguring in the same conditions
98827 @@ -9382,19 +9987,21 @@
98828 $config_commands
98829
98830 Report bugs to <bug-autoconf@gnu.org>."
98831 -_ACEOF
98832
98833 +_ACEOF
98834 cat >>$CONFIG_STATUS <<_ACEOF
98835 ac_cs_version="\\
98836 config.status
98837 -configured by $0, generated by GNU Autoconf 2.59,
98838 - with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
98839 +configured by $0, generated by GNU Autoconf 2.61,
98840 + with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
98841
98842 -Copyright (C) 2003 Free Software Foundation, Inc.
98843 +Copyright (C) 2006 Free Software Foundation, Inc.
98844 This config.status script is free software; the Free Software Foundation
98845 gives unlimited permission to copy, distribute and modify it."
98846 -srcdir=$srcdir
98847 -INSTALL="$INSTALL"
98848 +
98849 +ac_pwd='$ac_pwd'
98850 +srcdir='$srcdir'
98851 +INSTALL='$INSTALL'
98852 _ACEOF
98853
98854 cat >>$CONFIG_STATUS <<\_ACEOF
98855 @@ -9405,39 +10012,24 @@
98856 do
98857 case $1 in
98858 --*=*)
98859 - ac_option=`expr "x$1" : 'x\([^=]*\)='`
98860 - ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
98861 + ac_option=`expr "X$1" : 'X\([^=]*\)='`
98862 + ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
98863 ac_shift=:
98864 ;;
98865 - -*)
98866 + *)
98867 ac_option=$1
98868 ac_optarg=$2
98869 ac_shift=shift
98870 ;;
98871 - *) # This is not an option, so the user has probably given explicit
98872 - # arguments.
98873 - ac_option=$1
98874 - ac_need_defaults=false;;
98875 esac
98876
98877 case $ac_option in
98878 # Handling of the options.
98879 -_ACEOF
98880 -cat >>$CONFIG_STATUS <<\_ACEOF
98881 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
98882 ac_cs_recheck=: ;;
98883 - --version | --vers* | -V )
98884 - echo "$ac_cs_version"; exit 0 ;;
98885 - --he | --h)
98886 - # Conflict between --help and --header
98887 - { { echo "$as_me:$LINENO: error: ambiguous option: $1
98888 -Try \`$0 --help' for more information." >&5
98889 -echo "$as_me: error: ambiguous option: $1
98890 -Try \`$0 --help' for more information." >&2;}
98891 - { (exit 1); exit 1; }; };;
98892 - --help | --hel | -h )
98893 - echo "$ac_cs_usage"; exit 0 ;;
98894 - --debug | --d* | -d )
98895 + --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
98896 + echo "$ac_cs_version"; exit ;;
98897 + --debug | --debu | --deb | --de | --d | -d )
98898 debug=: ;;
98899 --file | --fil | --fi | --f )
98900 $ac_shift
98901 @@ -9447,18 +10039,24 @@
98902 $ac_shift
98903 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
98904 ac_need_defaults=false;;
98905 + --he | --h)
98906 + # Conflict between --help and --header
98907 + { echo "$as_me: error: ambiguous option: $1
98908 +Try \`$0 --help' for more information." >&2
98909 + { (exit 1); exit 1; }; };;
98910 + --help | --hel | -h )
98911 + echo "$ac_cs_usage"; exit ;;
98912 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
98913 | -silent | --silent | --silen | --sile | --sil | --si | --s)
98914 ac_cs_silent=: ;;
98915
98916 # This is an error.
98917 - -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
98918 -Try \`$0 --help' for more information." >&5
98919 -echo "$as_me: error: unrecognized option: $1
98920 -Try \`$0 --help' for more information." >&2;}
98921 + -*) { echo "$as_me: error: unrecognized option: $1
98922 +Try \`$0 --help' for more information." >&2
98923 { (exit 1); exit 1; }; } ;;
98924
98925 - *) ac_config_targets="$ac_config_targets $1" ;;
98926 + *) ac_config_targets="$ac_config_targets $1"
98927 + ac_need_defaults=false ;;
98928
98929 esac
98930 shift
98931 @@ -9474,40 +10072,52 @@
98932 _ACEOF
98933 cat >>$CONFIG_STATUS <<_ACEOF
98934 if \$ac_cs_recheck; then
98935 - echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
98936 - exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
98937 + echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
98938 + CONFIG_SHELL=$SHELL
98939 + export CONFIG_SHELL
98940 + exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
98941 fi
98942
98943 _ACEOF
98944 +cat >>$CONFIG_STATUS <<\_ACEOF
98945 +exec 5>>config.log
98946 +{
98947 + echo
98948 + sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
98949 +## Running $as_me. ##
98950 +_ASBOX
98951 + echo "$ac_log"
98952 +} >&5
98953
98954 +_ACEOF
98955 cat >>$CONFIG_STATUS <<_ACEOF
98956 #
98957 -# INIT-COMMANDS section.
98958 +# INIT-COMMANDS
98959 #
98960 -
98961 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
98962
98963
98964 _ACEOF
98965
98966 -
98967 -
98968 cat >>$CONFIG_STATUS <<\_ACEOF
98969 +
98970 +# Handling of arguments.
98971 for ac_config_target in $ac_config_targets
98972 do
98973 - case "$ac_config_target" in
98974 - # Handling of arguments.
98975 - "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
98976 - "po/Makefile.in" ) CONFIG_FILES="$CONFIG_FILES po/Makefile.in:po/Make-in" ;;
98977 - "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
98978 - "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
98979 - "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.in" ;;
98980 + case $ac_config_target in
98981 + "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
98982 + "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.in" ;;
98983 + "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
98984 + "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in:po/Make-in" ;;
98985 + "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
98986 +
98987 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
98988 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
98989 { (exit 1); exit 1; }; };;
98990 esac
98991 done
98992
98993 +
98994 # If the user did not use the arguments to specify the items to instantiate,
98995 # then the envvar interface is used. Set only those that are not.
98996 # We use the long form for the default assignment because of an extremely
98997 @@ -9519,635 +10129,623 @@
98998 fi
98999
99000 # Have a temporary directory for convenience. Make it in the build tree
99001 -# simply because there is no reason to put it here, and in addition,
99002 +# simply because there is no reason against having it here, and in addition,
99003 # creating and moving files from /tmp can sometimes cause problems.
99004 -# Create a temporary directory, and hook for its removal unless debugging.
99005 +# Hook for its removal unless debugging.
99006 +# Note that there is a small window in which the directory will not be cleaned:
99007 +# after its creation but before its name has been assigned to `$tmp'.
99008 $debug ||
99009 {
99010 - trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
99011 + tmp=
99012 + trap 'exit_status=$?
99013 + { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
99014 +' 0
99015 trap '{ (exit 1); exit 1; }' 1 2 13 15
99016 }
99017 -
99018 # Create a (secure) tmp directory for tmp files.
99019
99020 {
99021 - tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
99022 + tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
99023 test -n "$tmp" && test -d "$tmp"
99024 } ||
99025 {
99026 - tmp=./confstat$$-$RANDOM
99027 - (umask 077 && mkdir $tmp)
99028 + tmp=./conf$$-$RANDOM
99029 + (umask 077 && mkdir "$tmp")
99030 } ||
99031 {
99032 echo "$me: cannot create a temporary directory in ." >&2
99033 { (exit 1); exit 1; }
99034 }
99035
99036 -_ACEOF
99037 -
99038 -cat >>$CONFIG_STATUS <<_ACEOF
99039 -
99040 #
99041 -# CONFIG_FILES section.
99042 +# Set up the sed scripts for CONFIG_FILES section.
99043 #
99044
99045 # No need to generate the scripts if there are no CONFIG_FILES.
99046 # This happens for instance when ./config.status config.h
99047 -if test -n "\$CONFIG_FILES"; then
99048 - # Protect against being on the right side of a sed subst in config.status.
99049 - sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
99050 - s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
99051 -s,@SHELL@,$SHELL,;t t
99052 -s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
99053 -s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
99054 -s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
99055 -s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
99056 -s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
99057 -s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
99058 -s,@exec_prefix@,$exec_prefix,;t t
99059 -s,@prefix@,$prefix,;t t
99060 -s,@program_transform_name@,$program_transform_name,;t t
99061 -s,@bindir@,$bindir,;t t
99062 -s,@sbindir@,$sbindir,;t t
99063 -s,@libexecdir@,$libexecdir,;t t
99064 -s,@datadir@,$datadir,;t t
99065 -s,@sysconfdir@,$sysconfdir,;t t
99066 -s,@sharedstatedir@,$sharedstatedir,;t t
99067 -s,@localstatedir@,$localstatedir,;t t
99068 -s,@libdir@,$libdir,;t t
99069 -s,@includedir@,$includedir,;t t
99070 -s,@oldincludedir@,$oldincludedir,;t t
99071 -s,@infodir@,$infodir,;t t
99072 -s,@mandir@,$mandir,;t t
99073 -s,@build_alias@,$build_alias,;t t
99074 -s,@host_alias@,$host_alias,;t t
99075 -s,@target_alias@,$target_alias,;t t
99076 -s,@DEFS@,$DEFS,;t t
99077 -s,@ECHO_C@,$ECHO_C,;t t
99078 -s,@ECHO_N@,$ECHO_N,;t t
99079 -s,@ECHO_T@,$ECHO_T,;t t
99080 -s,@LIBS@,$LIBS,;t t
99081 -s,@build@,$build,;t t
99082 -s,@build_cpu@,$build_cpu,;t t
99083 -s,@build_vendor@,$build_vendor,;t t
99084 -s,@build_os@,$build_os,;t t
99085 -s,@host@,$host,;t t
99086 -s,@host_cpu@,$host_cpu,;t t
99087 -s,@host_vendor@,$host_vendor,;t t
99088 -s,@host_os@,$host_os,;t t
99089 -s,@target@,$target,;t t
99090 -s,@target_cpu@,$target_cpu,;t t
99091 -s,@target_vendor@,$target_vendor,;t t
99092 -s,@target_os@,$target_os,;t t
99093 -s,@CC@,$CC,;t t
99094 -s,@CFLAGS@,$CFLAGS,;t t
99095 -s,@LDFLAGS@,$LDFLAGS,;t t
99096 -s,@CPPFLAGS@,$CPPFLAGS,;t t
99097 -s,@ac_ct_CC@,$ac_ct_CC,;t t
99098 -s,@EXEEXT@,$EXEEXT,;t t
99099 -s,@OBJEXT@,$OBJEXT,;t t
99100 -s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
99101 -s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
99102 -s,@INSTALL_DATA@,$INSTALL_DATA,;t t
99103 -s,@CYGPATH_W@,$CYGPATH_W,;t t
99104 -s,@PACKAGE@,$PACKAGE,;t t
99105 -s,@VERSION@,$VERSION,;t t
99106 -s,@ACLOCAL@,$ACLOCAL,;t t
99107 -s,@AUTOCONF@,$AUTOCONF,;t t
99108 -s,@AUTOMAKE@,$AUTOMAKE,;t t
99109 -s,@AUTOHEADER@,$AUTOHEADER,;t t
99110 -s,@MAKEINFO@,$MAKEINFO,;t t
99111 -s,@install_sh@,$install_sh,;t t
99112 -s,@STRIP@,$STRIP,;t t
99113 -s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
99114 -s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
99115 -s,@mkdir_p@,$mkdir_p,;t t
99116 -s,@AWK@,$AWK,;t t
99117 -s,@SET_MAKE@,$SET_MAKE,;t t
99118 -s,@am__leading_dot@,$am__leading_dot,;t t
99119 -s,@AMTAR@,$AMTAR,;t t
99120 -s,@am__tar@,$am__tar,;t t
99121 -s,@am__untar@,$am__untar,;t t
99122 -s,@DEPDIR@,$DEPDIR,;t t
99123 -s,@am__include@,$am__include,;t t
99124 -s,@am__quote@,$am__quote,;t t
99125 -s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
99126 -s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
99127 -s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
99128 -s,@CCDEPMODE@,$CCDEPMODE,;t t
99129 -s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
99130 -s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
99131 -s,@AR@,$AR,;t t
99132 -s,@ac_ct_AR@,$ac_ct_AR,;t t
99133 -s,@RANLIB@,$RANLIB,;t t
99134 -s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
99135 -s,@LN_S@,$LN_S,;t t
99136 -s,@LIBTOOL@,$LIBTOOL,;t t
99137 -s,@WARN_CFLAGS@,$WARN_CFLAGS,;t t
99138 -s,@NO_WERROR@,$NO_WERROR,;t t
99139 -s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
99140 -s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
99141 -s,@MAINT@,$MAINT,;t t
99142 -s,@INSTALL_LIBBFD_TRUE@,$INSTALL_LIBBFD_TRUE,;t t
99143 -s,@INSTALL_LIBBFD_FALSE@,$INSTALL_LIBBFD_FALSE,;t t
99144 -s,@host_noncanonical@,$host_noncanonical,;t t
99145 -s,@target_noncanonical@,$target_noncanonical,;t t
99146 -s,@bfdlibdir@,$bfdlibdir,;t t
99147 -s,@bfdincludedir@,$bfdincludedir,;t t
99148 -s,@CPP@,$CPP,;t t
99149 -s,@EGREP@,$EGREP,;t t
99150 -s,@ALLOCA@,$ALLOCA,;t t
99151 -s,@USE_NLS@,$USE_NLS,;t t
99152 -s,@MSGFMT@,$MSGFMT,;t t
99153 -s,@GMSGFMT@,$GMSGFMT,;t t
99154 -s,@XGETTEXT@,$XGETTEXT,;t t
99155 -s,@USE_INCLUDED_LIBINTL@,$USE_INCLUDED_LIBINTL,;t t
99156 -s,@CATALOGS@,$CATALOGS,;t t
99157 -s,@CATOBJEXT@,$CATOBJEXT,;t t
99158 -s,@DATADIRNAME@,$DATADIRNAME,;t t
99159 -s,@GMOFILES@,$GMOFILES,;t t
99160 -s,@INSTOBJEXT@,$INSTOBJEXT,;t t
99161 -s,@INTLDEPS@,$INTLDEPS,;t t
99162 -s,@INTLLIBS@,$INTLLIBS,;t t
99163 -s,@INTLOBJS@,$INTLOBJS,;t t
99164 -s,@POFILES@,$POFILES,;t t
99165 -s,@POSUB@,$POSUB,;t t
99166 -s,@INCLUDE_LOCALE_H@,$INCLUDE_LOCALE_H,;t t
99167 -s,@GT_NO@,$GT_NO,;t t
99168 -s,@GT_YES@,$GT_YES,;t t
99169 -s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
99170 -s,@l@,$l,;t t
99171 -s,@CC_FOR_BUILD@,$CC_FOR_BUILD,;t t
99172 -s,@EXEEXT_FOR_BUILD@,$EXEEXT_FOR_BUILD,;t t
99173 -s,@HDEFINES@,$HDEFINES,;t t
99174 -s,@CGEN_MAINT_TRUE@,$CGEN_MAINT_TRUE,;t t
99175 -s,@CGEN_MAINT_FALSE@,$CGEN_MAINT_FALSE,;t t
99176 -s,@cgendir@,$cgendir,;t t
99177 -s,@WIN32LDFLAGS@,$WIN32LDFLAGS,;t t
99178 -s,@WIN32LIBADD@,$WIN32LIBADD,;t t
99179 -s,@archdefs@,$archdefs,;t t
99180 -s,@BFD_MACHINES@,$BFD_MACHINES,;t t
99181 -s,@LIBOBJS@,$LIBOBJS,;t t
99182 -s,@LTLIBOBJS@,$LTLIBOBJS,;t t
99183 -CEOF
99184 -
99185 -_ACEOF
99186 -
99187 - cat >>$CONFIG_STATUS <<\_ACEOF
99188 - # Split the substitutions into bite-sized pieces for seds with
99189 - # small command number limits, like on Digital OSF/1 and HP-UX.
99190 - ac_max_sed_lines=48
99191 - ac_sed_frag=1 # Number of current file.
99192 - ac_beg=1 # First line for current file.
99193 - ac_end=$ac_max_sed_lines # Line after last line for current file.
99194 - ac_more_lines=:
99195 - ac_sed_cmds=
99196 - while $ac_more_lines; do
99197 - if test $ac_beg -gt 1; then
99198 - sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
99199 - else
99200 - sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
99201 - fi
99202 - if test ! -s $tmp/subs.frag; then
99203 - ac_more_lines=false
99204 - else
99205 - # The purpose of the label and of the branching condition is to
99206 - # speed up the sed processing (if there are no `@' at all, there
99207 - # is no need to browse any of the substitutions).
99208 - # These are the two extra sed commands mentioned above.
99209 - (echo ':t
99210 - /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
99211 - if test -z "$ac_sed_cmds"; then
99212 - ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
99213 - else
99214 - ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
99215 - fi
99216 - ac_sed_frag=`expr $ac_sed_frag + 1`
99217 - ac_beg=$ac_end
99218 - ac_end=`expr $ac_end + $ac_max_sed_lines`
99219 - fi
99220 - done
99221 - if test -z "$ac_sed_cmds"; then
99222 - ac_sed_cmds=cat
99223 +if test -n "$CONFIG_FILES"; then
99224 +
99225 +_ACEOF
99226 +
99227 +
99228 +
99229 +ac_delim='%!_!# '
99230 +for ac_last_try in false false false false false :; do
99231 + cat >conf$$subs.sed <<_ACEOF
99232 +SHELL!$SHELL$ac_delim
99233 +PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
99234 +PACKAGE_NAME!$PACKAGE_NAME$ac_delim
99235 +PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
99236 +PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
99237 +PACKAGE_STRING!$PACKAGE_STRING$ac_delim
99238 +PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
99239 +exec_prefix!$exec_prefix$ac_delim
99240 +prefix!$prefix$ac_delim
99241 +program_transform_name!$program_transform_name$ac_delim
99242 +bindir!$bindir$ac_delim
99243 +sbindir!$sbindir$ac_delim
99244 +libexecdir!$libexecdir$ac_delim
99245 +datarootdir!$datarootdir$ac_delim
99246 +datadir!$datadir$ac_delim
99247 +sysconfdir!$sysconfdir$ac_delim
99248 +sharedstatedir!$sharedstatedir$ac_delim
99249 +localstatedir!$localstatedir$ac_delim
99250 +includedir!$includedir$ac_delim
99251 +oldincludedir!$oldincludedir$ac_delim
99252 +docdir!$docdir$ac_delim
99253 +infodir!$infodir$ac_delim
99254 +htmldir!$htmldir$ac_delim
99255 +dvidir!$dvidir$ac_delim
99256 +pdfdir!$pdfdir$ac_delim
99257 +psdir!$psdir$ac_delim
99258 +libdir!$libdir$ac_delim
99259 +localedir!$localedir$ac_delim
99260 +mandir!$mandir$ac_delim
99261 +DEFS!$DEFS$ac_delim
99262 +ECHO_C!$ECHO_C$ac_delim
99263 +ECHO_N!$ECHO_N$ac_delim
99264 +ECHO_T!$ECHO_T$ac_delim
99265 +LIBS!$LIBS$ac_delim
99266 +build_alias!$build_alias$ac_delim
99267 +host_alias!$host_alias$ac_delim
99268 +target_alias!$target_alias$ac_delim
99269 +build!$build$ac_delim
99270 +build_cpu!$build_cpu$ac_delim
99271 +build_vendor!$build_vendor$ac_delim
99272 +build_os!$build_os$ac_delim
99273 +host!$host$ac_delim
99274 +host_cpu!$host_cpu$ac_delim
99275 +host_vendor!$host_vendor$ac_delim
99276 +host_os!$host_os$ac_delim
99277 +target!$target$ac_delim
99278 +target_cpu!$target_cpu$ac_delim
99279 +target_vendor!$target_vendor$ac_delim
99280 +target_os!$target_os$ac_delim
99281 +CC!$CC$ac_delim
99282 +CFLAGS!$CFLAGS$ac_delim
99283 +LDFLAGS!$LDFLAGS$ac_delim
99284 +CPPFLAGS!$CPPFLAGS$ac_delim
99285 +ac_ct_CC!$ac_ct_CC$ac_delim
99286 +EXEEXT!$EXEEXT$ac_delim
99287 +OBJEXT!$OBJEXT$ac_delim
99288 +INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
99289 +INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
99290 +INSTALL_DATA!$INSTALL_DATA$ac_delim
99291 +CYGPATH_W!$CYGPATH_W$ac_delim
99292 +PACKAGE!$PACKAGE$ac_delim
99293 +VERSION!$VERSION$ac_delim
99294 +ACLOCAL!$ACLOCAL$ac_delim
99295 +AUTOCONF!$AUTOCONF$ac_delim
99296 +AUTOMAKE!$AUTOMAKE$ac_delim
99297 +AUTOHEADER!$AUTOHEADER$ac_delim
99298 +MAKEINFO!$MAKEINFO$ac_delim
99299 +install_sh!$install_sh$ac_delim
99300 +STRIP!$STRIP$ac_delim
99301 +INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
99302 +mkdir_p!$mkdir_p$ac_delim
99303 +AWK!$AWK$ac_delim
99304 +SET_MAKE!$SET_MAKE$ac_delim
99305 +am__leading_dot!$am__leading_dot$ac_delim
99306 +AMTAR!$AMTAR$ac_delim
99307 +am__tar!$am__tar$ac_delim
99308 +am__untar!$am__untar$ac_delim
99309 +DEPDIR!$DEPDIR$ac_delim
99310 +am__include!$am__include$ac_delim
99311 +am__quote!$am__quote$ac_delim
99312 +AMDEP_TRUE!$AMDEP_TRUE$ac_delim
99313 +AMDEP_FALSE!$AMDEP_FALSE$ac_delim
99314 +AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
99315 +CCDEPMODE!$CCDEPMODE$ac_delim
99316 +am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
99317 +am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
99318 +AR!$AR$ac_delim
99319 +RANLIB!$RANLIB$ac_delim
99320 +LN_S!$LN_S$ac_delim
99321 +LIBTOOL!$LIBTOOL$ac_delim
99322 +WARN_CFLAGS!$WARN_CFLAGS$ac_delim
99323 +NO_WERROR!$NO_WERROR$ac_delim
99324 +MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
99325 +MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
99326 +MAINT!$MAINT$ac_delim
99327 +INSTALL_LIBBFD_TRUE!$INSTALL_LIBBFD_TRUE$ac_delim
99328 +INSTALL_LIBBFD_FALSE!$INSTALL_LIBBFD_FALSE$ac_delim
99329 +_ACEOF
99330 +
99331 + if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
99332 + break
99333 + elif $ac_last_try; then
99334 + { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
99335 +echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
99336 + { (exit 1); exit 1; }; }
99337 + else
99338 + ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
99339 fi
99340 -fi # test -n "$CONFIG_FILES"
99341 +done
99342 +
99343 +ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
99344 +if test -n "$ac_eof"; then
99345 + ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
99346 + ac_eof=`expr $ac_eof + 1`
99347 +fi
99348 +
99349 +cat >>$CONFIG_STATUS <<_ACEOF
99350 +cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
99351 +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
99352 +_ACEOF
99353 +sed '
99354 +s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
99355 +s/^/s,@/; s/!/@,|#_!!_#|/
99356 +:n
99357 +t n
99358 +s/'"$ac_delim"'$/,g/; t
99359 +s/$/\\/; p
99360 +N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
99361 +' >>$CONFIG_STATUS <conf$$subs.sed
99362 +rm -f conf$$subs.sed
99363 +cat >>$CONFIG_STATUS <<_ACEOF
99364 +CEOF$ac_eof
99365 +_ACEOF
99366 +
99367
99368 +ac_delim='%!_!# '
99369 +for ac_last_try in false false false false false :; do
99370 + cat >conf$$subs.sed <<_ACEOF
99371 +host_noncanonical!$host_noncanonical$ac_delim
99372 +target_noncanonical!$target_noncanonical$ac_delim
99373 +bfdlibdir!$bfdlibdir$ac_delim
99374 +bfdincludedir!$bfdincludedir$ac_delim
99375 +CPP!$CPP$ac_delim
99376 +GREP!$GREP$ac_delim
99377 +EGREP!$EGREP$ac_delim
99378 +ALLOCA!$ALLOCA$ac_delim
99379 +USE_NLS!$USE_NLS$ac_delim
99380 +MSGFMT!$MSGFMT$ac_delim
99381 +GMSGFMT!$GMSGFMT$ac_delim
99382 +XGETTEXT!$XGETTEXT$ac_delim
99383 +USE_INCLUDED_LIBINTL!$USE_INCLUDED_LIBINTL$ac_delim
99384 +CATALOGS!$CATALOGS$ac_delim
99385 +CATOBJEXT!$CATOBJEXT$ac_delim
99386 +DATADIRNAME!$DATADIRNAME$ac_delim
99387 +GMOFILES!$GMOFILES$ac_delim
99388 +INSTOBJEXT!$INSTOBJEXT$ac_delim
99389 +INTLDEPS!$INTLDEPS$ac_delim
99390 +INTLLIBS!$INTLLIBS$ac_delim
99391 +INTLOBJS!$INTLOBJS$ac_delim
99392 +POFILES!$POFILES$ac_delim
99393 +POSUB!$POSUB$ac_delim
99394 +INCLUDE_LOCALE_H!$INCLUDE_LOCALE_H$ac_delim
99395 +GT_NO!$GT_NO$ac_delim
99396 +GT_YES!$GT_YES$ac_delim
99397 +MKINSTALLDIRS!$MKINSTALLDIRS$ac_delim
99398 +l!$l$ac_delim
99399 +CC_FOR_BUILD!$CC_FOR_BUILD$ac_delim
99400 +EXEEXT_FOR_BUILD!$EXEEXT_FOR_BUILD$ac_delim
99401 +HDEFINES!$HDEFINES$ac_delim
99402 +CGEN_MAINT_TRUE!$CGEN_MAINT_TRUE$ac_delim
99403 +CGEN_MAINT_FALSE!$CGEN_MAINT_FALSE$ac_delim
99404 +cgendir!$cgendir$ac_delim
99405 +WIN32LDFLAGS!$WIN32LDFLAGS$ac_delim
99406 +WIN32LIBADD!$WIN32LIBADD$ac_delim
99407 +archdefs!$archdefs$ac_delim
99408 +BFD_MACHINES!$BFD_MACHINES$ac_delim
99409 +LIBOBJS!$LIBOBJS$ac_delim
99410 +LTLIBOBJS!$LTLIBOBJS$ac_delim
99411 +_ACEOF
99412 +
99413 + if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 40; then
99414 + break
99415 + elif $ac_last_try; then
99416 + { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
99417 +echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
99418 + { (exit 1); exit 1; }; }
99419 + else
99420 + ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
99421 + fi
99422 +done
99423 +
99424 +ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
99425 +if test -n "$ac_eof"; then
99426 + ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
99427 + ac_eof=`expr $ac_eof + 1`
99428 +fi
99429 +
99430 +cat >>$CONFIG_STATUS <<_ACEOF
99431 +cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
99432 +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
99433 _ACEOF
99434 +sed '
99435 +s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
99436 +s/^/s,@/; s/!/@,|#_!!_#|/
99437 +:n
99438 +t n
99439 +s/'"$ac_delim"'$/,g/; t
99440 +s/$/\\/; p
99441 +N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
99442 +' >>$CONFIG_STATUS <conf$$subs.sed
99443 +rm -f conf$$subs.sed
99444 +cat >>$CONFIG_STATUS <<_ACEOF
99445 +:end
99446 +s/|#_!!_#|//g
99447 +CEOF$ac_eof
99448 +_ACEOF
99449 +
99450 +
99451 +# VPATH may cause trouble with some makes, so we remove $(srcdir),
99452 +# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
99453 +# trailing colons and then remove the whole line if VPATH becomes empty
99454 +# (actually we leave an empty line to preserve line numbers).
99455 +if test "x$srcdir" = x.; then
99456 + ac_vpsub='/^[ ]*VPATH[ ]*=/{
99457 +s/:*\$(srcdir):*/:/
99458 +s/:*\${srcdir}:*/:/
99459 +s/:*@srcdir@:*/:/
99460 +s/^\([^=]*=[ ]*\):*/\1/
99461 +s/:*$//
99462 +s/^[^=]*=[ ]*$//
99463 +}'
99464 +fi
99465 +
99466 cat >>$CONFIG_STATUS <<\_ACEOF
99467 -for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
99468 - # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
99469 - case $ac_file in
99470 - - | *:- | *:-:* ) # input from stdin
99471 - cat >$tmp/stdin
99472 - ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
99473 - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
99474 - *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
99475 - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
99476 - * ) ac_file_in=$ac_file.in ;;
99477 +fi # test -n "$CONFIG_FILES"
99478 +
99479 +
99480 +for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
99481 +do
99482 + case $ac_tag in
99483 + :[FHLC]) ac_mode=$ac_tag; continue;;
99484 + esac
99485 + case $ac_mode$ac_tag in
99486 + :[FHL]*:*);;
99487 + :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
99488 +echo "$as_me: error: Invalid tag $ac_tag." >&2;}
99489 + { (exit 1); exit 1; }; };;
99490 + :[FH]-) ac_tag=-:-;;
99491 + :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
99492 esac
99493 + ac_save_IFS=$IFS
99494 + IFS=:
99495 + set x $ac_tag
99496 + IFS=$ac_save_IFS
99497 + shift
99498 + ac_file=$1
99499 + shift
99500 +
99501 + case $ac_mode in
99502 + :L) ac_source=$1;;
99503 + :[FH])
99504 + ac_file_inputs=
99505 + for ac_f
99506 + do
99507 + case $ac_f in
99508 + -) ac_f="$tmp/stdin";;
99509 + *) # Look for the file first in the build tree, then in the source tree
99510 + # (if the path is not absolute). The absolute path cannot be DOS-style,
99511 + # because $ac_f cannot contain `:'.
99512 + test -f "$ac_f" ||
99513 + case $ac_f in
99514 + [\\/$]*) false;;
99515 + *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
99516 + esac ||
99517 + { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
99518 +echo "$as_me: error: cannot find input file: $ac_f" >&2;}
99519 + { (exit 1); exit 1; }; };;
99520 + esac
99521 + ac_file_inputs="$ac_file_inputs $ac_f"
99522 + done
99523 +
99524 + # Let's still pretend it is `configure' which instantiates (i.e., don't
99525 + # use $as_me), people would be surprised to read:
99526 + # /* config.h. Generated by config.status. */
99527 + configure_input="Generated from "`IFS=:
99528 + echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
99529 + if test x"$ac_file" != x-; then
99530 + configure_input="$ac_file. $configure_input"
99531 + { echo "$as_me:$LINENO: creating $ac_file" >&5
99532 +echo "$as_me: creating $ac_file" >&6;}
99533 + fi
99534
99535 - # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
99536 - ac_dir=`(dirname "$ac_file") 2>/dev/null ||
99537 + case $ac_tag in
99538 + *:-:* | *:-) cat >"$tmp/stdin";;
99539 + esac
99540 + ;;
99541 + esac
99542 +
99543 + ac_dir=`$as_dirname -- "$ac_file" ||
99544 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
99545 X"$ac_file" : 'X\(//\)[^/]' \| \
99546 X"$ac_file" : 'X\(//\)$' \| \
99547 - X"$ac_file" : 'X\(/\)' \| \
99548 - . : '\(.\)' 2>/dev/null ||
99549 + X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
99550 echo X"$ac_file" |
99551 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
99552 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
99553 - /^X\(\/\/\)$/{ s//\1/; q; }
99554 - /^X\(\/\).*/{ s//\1/; q; }
99555 - s/.*/./; q'`
99556 - { if $as_mkdir_p; then
99557 - mkdir -p "$ac_dir"
99558 - else
99559 - as_dir="$ac_dir"
99560 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
99561 + s//\1/
99562 + q
99563 + }
99564 + /^X\(\/\/\)[^/].*/{
99565 + s//\1/
99566 + q
99567 + }
99568 + /^X\(\/\/\)$/{
99569 + s//\1/
99570 + q
99571 + }
99572 + /^X\(\/\).*/{
99573 + s//\1/
99574 + q
99575 + }
99576 + s/.*/./; q'`
99577 + { as_dir="$ac_dir"
99578 + case $as_dir in #(
99579 + -*) as_dir=./$as_dir;;
99580 + esac
99581 + test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
99582 as_dirs=
99583 - while test ! -d "$as_dir"; do
99584 - as_dirs="$as_dir $as_dirs"
99585 - as_dir=`(dirname "$as_dir") 2>/dev/null ||
99586 + while :; do
99587 + case $as_dir in #(
99588 + *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
99589 + *) as_qdir=$as_dir;;
99590 + esac
99591 + as_dirs="'$as_qdir' $as_dirs"
99592 + as_dir=`$as_dirname -- "$as_dir" ||
99593 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
99594 X"$as_dir" : 'X\(//\)[^/]' \| \
99595 X"$as_dir" : 'X\(//\)$' \| \
99596 - X"$as_dir" : 'X\(/\)' \| \
99597 - . : '\(.\)' 2>/dev/null ||
99598 + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
99599 echo X"$as_dir" |
99600 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
99601 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
99602 - /^X\(\/\/\)$/{ s//\1/; q; }
99603 - /^X\(\/\).*/{ s//\1/; q; }
99604 - s/.*/./; q'`
99605 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
99606 + s//\1/
99607 + q
99608 + }
99609 + /^X\(\/\/\)[^/].*/{
99610 + s//\1/
99611 + q
99612 + }
99613 + /^X\(\/\/\)$/{
99614 + s//\1/
99615 + q
99616 + }
99617 + /^X\(\/\).*/{
99618 + s//\1/
99619 + q
99620 + }
99621 + s/.*/./; q'`
99622 + test -d "$as_dir" && break
99623 done
99624 - test ! -n "$as_dirs" || mkdir $as_dirs
99625 - fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
99626 -echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
99627 + test -z "$as_dirs" || eval "mkdir $as_dirs"
99628 + } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
99629 +echo "$as_me: error: cannot create directory $as_dir" >&2;}
99630 { (exit 1); exit 1; }; }; }
99631 -
99632 ac_builddir=.
99633
99634 -if test "$ac_dir" != .; then
99635 +case "$ac_dir" in
99636 +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
99637 +*)
99638 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
99639 - # A "../" for each directory in $ac_dir_suffix.
99640 - ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
99641 -else
99642 - ac_dir_suffix= ac_top_builddir=
99643 -fi
99644 + # A ".." for each directory in $ac_dir_suffix.
99645 + ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
99646 + case $ac_top_builddir_sub in
99647 + "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
99648 + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
99649 + esac ;;
99650 +esac
99651 +ac_abs_top_builddir=$ac_pwd
99652 +ac_abs_builddir=$ac_pwd$ac_dir_suffix
99653 +# for backward compatibility:
99654 +ac_top_builddir=$ac_top_build_prefix
99655
99656 case $srcdir in
99657 - .) # No --srcdir option. We are building in place.
99658 + .) # We are building in place.
99659 ac_srcdir=.
99660 - if test -z "$ac_top_builddir"; then
99661 - ac_top_srcdir=.
99662 - else
99663 - ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
99664 - fi ;;
99665 - [\\/]* | ?:[\\/]* ) # Absolute path.
99666 + ac_top_srcdir=$ac_top_builddir_sub
99667 + ac_abs_top_srcdir=$ac_pwd ;;
99668 + [\\/]* | ?:[\\/]* ) # Absolute name.
99669 ac_srcdir=$srcdir$ac_dir_suffix;
99670 - ac_top_srcdir=$srcdir ;;
99671 - *) # Relative path.
99672 - ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
99673 - ac_top_srcdir=$ac_top_builddir$srcdir ;;
99674 -esac
99675 + ac_top_srcdir=$srcdir
99676 + ac_abs_top_srcdir=$srcdir ;;
99677 + *) # Relative name.
99678 + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
99679 + ac_top_srcdir=$ac_top_build_prefix$srcdir
99680 + ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
99681 +esac
99682 +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
99683
99684 -# Do not use `cd foo && pwd` to compute absolute paths, because
99685 -# the directories may not exist.
99686 -case `pwd` in
99687 -.) ac_abs_builddir="$ac_dir";;
99688 -*)
99689 - case "$ac_dir" in
99690 - .) ac_abs_builddir=`pwd`;;
99691 - [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
99692 - *) ac_abs_builddir=`pwd`/"$ac_dir";;
99693 - esac;;
99694 -esac
99695 -case $ac_abs_builddir in
99696 -.) ac_abs_top_builddir=${ac_top_builddir}.;;
99697 -*)
99698 - case ${ac_top_builddir}. in
99699 - .) ac_abs_top_builddir=$ac_abs_builddir;;
99700 - [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
99701 - *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
99702 - esac;;
99703 -esac
99704 -case $ac_abs_builddir in
99705 -.) ac_abs_srcdir=$ac_srcdir;;
99706 -*)
99707 - case $ac_srcdir in
99708 - .) ac_abs_srcdir=$ac_abs_builddir;;
99709 - [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
99710 - *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
99711 - esac;;
99712 -esac
99713 -case $ac_abs_builddir in
99714 -.) ac_abs_top_srcdir=$ac_top_srcdir;;
99715 -*)
99716 - case $ac_top_srcdir in
99717 - .) ac_abs_top_srcdir=$ac_abs_builddir;;
99718 - [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
99719 - *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
99720 - esac;;
99721 -esac
99722
99723 + case $ac_mode in
99724 + :F)
99725 + #
99726 + # CONFIG_FILE
99727 + #
99728
99729 case $INSTALL in
99730 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
99731 - *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
99732 + *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
99733 esac
99734 +_ACEOF
99735
99736 - if test x"$ac_file" != x-; then
99737 - { echo "$as_me:$LINENO: creating $ac_file" >&5
99738 -echo "$as_me: creating $ac_file" >&6;}
99739 - rm -f "$ac_file"
99740 - fi
99741 - # Let's still pretend it is `configure' which instantiates (i.e., don't
99742 - # use $as_me), people would be surprised to read:
99743 - # /* config.h. Generated by config.status. */
99744 - if test x"$ac_file" = x-; then
99745 - configure_input=
99746 - else
99747 - configure_input="$ac_file. "
99748 - fi
99749 - configure_input=$configure_input"Generated from `echo $ac_file_in |
99750 - sed 's,.*/,,'` by configure."
99751 -
99752 - # First look for the input files in the build tree, otherwise in the
99753 - # src tree.
99754 - ac_file_inputs=`IFS=:
99755 - for f in $ac_file_in; do
99756 - case $f in
99757 - -) echo $tmp/stdin ;;
99758 - [\\/$]*)
99759 - # Absolute (can't be DOS-style, as IFS=:)
99760 - test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
99761 -echo "$as_me: error: cannot find input file: $f" >&2;}
99762 - { (exit 1); exit 1; }; }
99763 - echo "$f";;
99764 - *) # Relative
99765 - if test -f "$f"; then
99766 - # Build tree
99767 - echo "$f"
99768 - elif test -f "$srcdir/$f"; then
99769 - # Source tree
99770 - echo "$srcdir/$f"
99771 - else
99772 - # /dev/null tree
99773 - { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
99774 -echo "$as_me: error: cannot find input file: $f" >&2;}
99775 - { (exit 1); exit 1; }; }
99776 - fi;;
99777 - esac
99778 - done` || { (exit 1); exit 1; }
99779 +cat >>$CONFIG_STATUS <<\_ACEOF
99780 +# If the template does not know about datarootdir, expand it.
99781 +# FIXME: This hack should be removed a few years after 2.60.
99782 +ac_datarootdir_hack=; ac_datarootdir_seen=
99783 +
99784 +case `sed -n '/datarootdir/ {
99785 + p
99786 + q
99787 +}
99788 +/@datadir@/p
99789 +/@docdir@/p
99790 +/@infodir@/p
99791 +/@localedir@/p
99792 +/@mandir@/p
99793 +' $ac_file_inputs` in
99794 +*datarootdir*) ac_datarootdir_seen=yes;;
99795 +*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
99796 + { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
99797 +echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
99798 _ACEOF
99799 cat >>$CONFIG_STATUS <<_ACEOF
99800 + ac_datarootdir_hack='
99801 + s&@datadir@&$datadir&g
99802 + s&@docdir@&$docdir&g
99803 + s&@infodir@&$infodir&g
99804 + s&@localedir@&$localedir&g
99805 + s&@mandir@&$mandir&g
99806 + s&\\\${datarootdir}&$datarootdir&g' ;;
99807 +esac
99808 +_ACEOF
99809 +
99810 +# Neutralize VPATH when `$srcdir' = `.'.
99811 +# Shell code in configure.ac might set extrasub.
99812 +# FIXME: do we really want to maintain this feature?
99813 +cat >>$CONFIG_STATUS <<_ACEOF
99814 sed "$ac_vpsub
99815 $extrasub
99816 _ACEOF
99817 cat >>$CONFIG_STATUS <<\_ACEOF
99818 :t
99819 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
99820 -s,@configure_input@,$configure_input,;t t
99821 -s,@srcdir@,$ac_srcdir,;t t
99822 -s,@abs_srcdir@,$ac_abs_srcdir,;t t
99823 -s,@top_srcdir@,$ac_top_srcdir,;t t
99824 -s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
99825 -s,@builddir@,$ac_builddir,;t t
99826 -s,@abs_builddir@,$ac_abs_builddir,;t t
99827 -s,@top_builddir@,$ac_top_builddir,;t t
99828 -s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
99829 -s,@INSTALL@,$ac_INSTALL,;t t
99830 -" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
99831 - rm -f $tmp/stdin
99832 - if test x"$ac_file" != x-; then
99833 - mv $tmp/out $ac_file
99834 - else
99835 - cat $tmp/out
99836 - rm -f $tmp/out
99837 - fi
99838 +s&@configure_input@&$configure_input&;t t
99839 +s&@top_builddir@&$ac_top_builddir_sub&;t t
99840 +s&@srcdir@&$ac_srcdir&;t t
99841 +s&@abs_srcdir@&$ac_abs_srcdir&;t t
99842 +s&@top_srcdir@&$ac_top_srcdir&;t t
99843 +s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
99844 +s&@builddir@&$ac_builddir&;t t
99845 +s&@abs_builddir@&$ac_abs_builddir&;t t
99846 +s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
99847 +s&@INSTALL@&$ac_INSTALL&;t t
99848 +$ac_datarootdir_hack
99849 +" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
99850 +
99851 +test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
99852 + { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
99853 + { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
99854 + { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
99855 +which seems to be undefined. Please make sure it is defined." >&5
99856 +echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
99857 +which seems to be undefined. Please make sure it is defined." >&2;}
99858
99859 -done
99860 -_ACEOF
99861 -cat >>$CONFIG_STATUS <<\_ACEOF
99862 -
99863 -#
99864 -# CONFIG_HEADER section.
99865 -#
99866 -
99867 -# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
99868 -# NAME is the cpp macro being defined and VALUE is the value it is being given.
99869 -#
99870 -# ac_d sets the value in "#define NAME VALUE" lines.
99871 -ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
99872 -ac_dB='[ ].*$,\1#\2'
99873 -ac_dC=' '
99874 -ac_dD=',;t'
99875 -# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
99876 -ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
99877 -ac_uB='$,\1#\2define\3'
99878 -ac_uC=' '
99879 -ac_uD=',;t'
99880 -
99881 -for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
99882 - # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
99883 + rm -f "$tmp/stdin"
99884 case $ac_file in
99885 - - | *:- | *:-:* ) # input from stdin
99886 - cat >$tmp/stdin
99887 - ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
99888 - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
99889 - *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
99890 - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
99891 - * ) ac_file_in=$ac_file.in ;;
99892 + -) cat "$tmp/out"; rm -f "$tmp/out";;
99893 + *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
99894 esac
99895 + ;;
99896 + :H)
99897 + #
99898 + # CONFIG_HEADER
99899 + #
99900 +_ACEOF
99901 +
99902 +# Transform confdefs.h into a sed script `conftest.defines', that
99903 +# substitutes the proper values into config.h.in to produce config.h.
99904 +rm -f conftest.defines conftest.tail
99905 +# First, append a space to every undef/define line, to ease matching.
99906 +echo 's/$/ /' >conftest.defines
99907 +# Then, protect against being on the right side of a sed subst, or in
99908 +# an unquoted here document, in config.status. If some macros were
99909 +# called several times there might be several #defines for the same
99910 +# symbol, which is useless. But do not sort them, since the last
99911 +# AC_DEFINE must be honored.
99912 +ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
99913 +# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
99914 +# NAME is the cpp macro being defined, VALUE is the value it is being given.
99915 +# PARAMS is the parameter list in the macro definition--in most cases, it's
99916 +# just an empty string.
99917 +ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
99918 +ac_dB='\\)[ (].*,\\1define\\2'
99919 +ac_dC=' '
99920 +ac_dD=' ,'
99921
99922 - test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
99923 -echo "$as_me: creating $ac_file" >&6;}
99924 -
99925 - # First look for the input files in the build tree, otherwise in the
99926 - # src tree.
99927 - ac_file_inputs=`IFS=:
99928 - for f in $ac_file_in; do
99929 - case $f in
99930 - -) echo $tmp/stdin ;;
99931 - [\\/$]*)
99932 - # Absolute (can't be DOS-style, as IFS=:)
99933 - test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
99934 -echo "$as_me: error: cannot find input file: $f" >&2;}
99935 - { (exit 1); exit 1; }; }
99936 - # Do quote $f, to prevent DOS paths from being IFS'd.
99937 - echo "$f";;
99938 - *) # Relative
99939 - if test -f "$f"; then
99940 - # Build tree
99941 - echo "$f"
99942 - elif test -f "$srcdir/$f"; then
99943 - # Source tree
99944 - echo "$srcdir/$f"
99945 - else
99946 - # /dev/null tree
99947 - { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
99948 -echo "$as_me: error: cannot find input file: $f" >&2;}
99949 - { (exit 1); exit 1; }; }
99950 - fi;;
99951 - esac
99952 - done` || { (exit 1); exit 1; }
99953 - # Remove the trailing spaces.
99954 - sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
99955 -
99956 -_ACEOF
99957 +uniq confdefs.h |
99958 + sed -n '
99959 + t rset
99960 + :rset
99961 + s/^[ ]*#[ ]*define[ ][ ]*//
99962 + t ok
99963 + d
99964 + :ok
99965 + s/[\\&,]/\\&/g
99966 + s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
99967 + s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
99968 + ' >>conftest.defines
99969
99970 -# Transform confdefs.h into two sed scripts, `conftest.defines' and
99971 -# `conftest.undefs', that substitutes the proper values into
99972 -# config.h.in to produce config.h. The first handles `#define'
99973 -# templates, and the second `#undef' templates.
99974 -# And first: Protect against being on the right side of a sed subst in
99975 -# config.status. Protect against being in an unquoted here document
99976 -# in config.status.
99977 -rm -f conftest.defines conftest.undefs
99978 -# Using a here document instead of a string reduces the quoting nightmare.
99979 -# Putting comments in sed scripts is not portable.
99980 -#
99981 -# `end' is used to avoid that the second main sed command (meant for
99982 -# 0-ary CPP macros) applies to n-ary macro definitions.
99983 -# See the Autoconf documentation for `clear'.
99984 -cat >confdef2sed.sed <<\_ACEOF
99985 -s/[\\&,]/\\&/g
99986 -s,[\\$`],\\&,g
99987 -t clear
99988 -: clear
99989 -s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
99990 -t end
99991 -s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
99992 -: end
99993 -_ACEOF
99994 -# If some macros were called several times there might be several times
99995 -# the same #defines, which is useless. Nevertheless, we may not want to
99996 -# sort them, since we want the *last* AC-DEFINE to be honored.
99997 -uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
99998 -sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
99999 -rm -f confdef2sed.sed
100000 -
100001 -# This sed command replaces #undef with comments. This is necessary, for
100002 +# Remove the space that was appended to ease matching.
100003 +# Then replace #undef with comments. This is necessary, for
100004 # example, in the case of _POSIX_SOURCE, which is predefined and required
100005 # on some systems where configure will not decide to define it.
100006 -cat >>conftest.undefs <<\_ACEOF
100007 -s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
100008 +# (The regexp can be short, since the line contains either #define or #undef.)
100009 +echo 's/ $//
100010 +s,^[ #]*u.*,/* & */,' >>conftest.defines
100011 +
100012 +# Break up conftest.defines:
100013 +ac_max_sed_lines=50
100014 +
100015 +# First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
100016 +# Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
100017 +# Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
100018 +# et cetera.
100019 +ac_in='$ac_file_inputs'
100020 +ac_out='"$tmp/out1"'
100021 +ac_nxt='"$tmp/out2"'
100022 +
100023 +while :
100024 +do
100025 + # Write a here document:
100026 + cat >>$CONFIG_STATUS <<_ACEOF
100027 + # First, check the format of the line:
100028 + cat >"\$tmp/defines.sed" <<\\CEOF
100029 +/^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
100030 +/^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
100031 +b
100032 +:def
100033 _ACEOF
100034 -
100035 -# Break up conftest.defines because some shells have a limit on the size
100036 -# of here documents, and old seds have small limits too (100 cmds).
100037 -echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
100038 -echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
100039 -echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
100040 -echo ' :' >>$CONFIG_STATUS
100041 -rm -f conftest.tail
100042 -while grep . conftest.defines >/dev/null
100043 -do
100044 - # Write a limited-size here document to $tmp/defines.sed.
100045 - echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
100046 - # Speed up: don't consider the non `#define' lines.
100047 - echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
100048 - # Work around the forget-to-reset-the-flag bug.
100049 - echo 't clr' >>$CONFIG_STATUS
100050 - echo ': clr' >>$CONFIG_STATUS
100051 - sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
100052 + sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
100053 echo 'CEOF
100054 - sed -f $tmp/defines.sed $tmp/in >$tmp/out
100055 - rm -f $tmp/in
100056 - mv $tmp/out $tmp/in
100057 -' >>$CONFIG_STATUS
100058 - sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
100059 + sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
100060 + ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
100061 + sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
100062 + grep . conftest.tail >/dev/null || break
100063 rm -f conftest.defines
100064 mv conftest.tail conftest.defines
100065 done
100066 -rm -f conftest.defines
100067 -echo ' fi # grep' >>$CONFIG_STATUS
100068 -echo >>$CONFIG_STATUS
100069 -
100070 -# Break up conftest.undefs because some shells have a limit on the size
100071 -# of here documents, and old seds have small limits too (100 cmds).
100072 -echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
100073 -rm -f conftest.tail
100074 -while grep . conftest.undefs >/dev/null
100075 -do
100076 - # Write a limited-size here document to $tmp/undefs.sed.
100077 - echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
100078 - # Speed up: don't consider the non `#undef'
100079 - echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
100080 - # Work around the forget-to-reset-the-flag bug.
100081 - echo 't clr' >>$CONFIG_STATUS
100082 - echo ': clr' >>$CONFIG_STATUS
100083 - sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
100084 - echo 'CEOF
100085 - sed -f $tmp/undefs.sed $tmp/in >$tmp/out
100086 - rm -f $tmp/in
100087 - mv $tmp/out $tmp/in
100088 -' >>$CONFIG_STATUS
100089 - sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
100090 - rm -f conftest.undefs
100091 - mv conftest.tail conftest.undefs
100092 -done
100093 -rm -f conftest.undefs
100094 +rm -f conftest.defines conftest.tail
100095
100096 +echo "ac_result=$ac_in" >>$CONFIG_STATUS
100097 cat >>$CONFIG_STATUS <<\_ACEOF
100098 - # Let's still pretend it is `configure' which instantiates (i.e., don't
100099 - # use $as_me), people would be surprised to read:
100100 - # /* config.h. Generated by config.status. */
100101 - if test x"$ac_file" = x-; then
100102 - echo "/* Generated by configure. */" >$tmp/config.h
100103 - else
100104 - echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
100105 - fi
100106 - cat $tmp/in >>$tmp/config.h
100107 - rm -f $tmp/in
100108 if test x"$ac_file" != x-; then
100109 - if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
100110 + echo "/* $configure_input */" >"$tmp/config.h"
100111 + cat "$ac_result" >>"$tmp/config.h"
100112 + if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
100113 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
100114 echo "$as_me: $ac_file is unchanged" >&6;}
100115 else
100116 - ac_dir=`(dirname "$ac_file") 2>/dev/null ||
100117 -$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
100118 - X"$ac_file" : 'X\(//\)[^/]' \| \
100119 - X"$ac_file" : 'X\(//\)$' \| \
100120 - X"$ac_file" : 'X\(/\)' \| \
100121 - . : '\(.\)' 2>/dev/null ||
100122 -echo X"$ac_file" |
100123 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
100124 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
100125 - /^X\(\/\/\)$/{ s//\1/; q; }
100126 - /^X\(\/\).*/{ s//\1/; q; }
100127 - s/.*/./; q'`
100128 - { if $as_mkdir_p; then
100129 - mkdir -p "$ac_dir"
100130 - else
100131 - as_dir="$ac_dir"
100132 - as_dirs=
100133 - while test ! -d "$as_dir"; do
100134 - as_dirs="$as_dir $as_dirs"
100135 - as_dir=`(dirname "$as_dir") 2>/dev/null ||
100136 -$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
100137 - X"$as_dir" : 'X\(//\)[^/]' \| \
100138 - X"$as_dir" : 'X\(//\)$' \| \
100139 - X"$as_dir" : 'X\(/\)' \| \
100140 - . : '\(.\)' 2>/dev/null ||
100141 -echo X"$as_dir" |
100142 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
100143 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
100144 - /^X\(\/\/\)$/{ s//\1/; q; }
100145 - /^X\(\/\).*/{ s//\1/; q; }
100146 - s/.*/./; q'`
100147 - done
100148 - test ! -n "$as_dirs" || mkdir $as_dirs
100149 - fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
100150 -echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
100151 - { (exit 1); exit 1; }; }; }
100152 -
100153 rm -f $ac_file
100154 - mv $tmp/config.h $ac_file
100155 + mv "$tmp/config.h" $ac_file
100156 fi
100157 else
100158 - cat $tmp/config.h
100159 - rm -f $tmp/config.h
100160 + echo "/* $configure_input */"
100161 + cat "$ac_result"
100162 fi
100163 + rm -f "$tmp/out12"
100164 # Compute $ac_file's index in $config_headers.
100165 _am_stamp_count=1
100166 for _am_header in $config_headers :; do
100167 @@ -10158,135 +10756,39 @@
100168 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
100169 esac
100170 done
100171 -echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
100172 +echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
100173 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
100174 X$ac_file : 'X\(//\)[^/]' \| \
100175 X$ac_file : 'X\(//\)$' \| \
100176 - X$ac_file : 'X\(/\)' \| \
100177 - . : '\(.\)' 2>/dev/null ||
100178 + X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
100179 echo X$ac_file |
100180 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
100181 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
100182 - /^X\(\/\/\)$/{ s//\1/; q; }
100183 - /^X\(\/\).*/{ s//\1/; q; }
100184 - s/.*/./; q'`/stamp-h$_am_stamp_count
100185 -done
100186 -_ACEOF
100187 -cat >>$CONFIG_STATUS <<\_ACEOF
100188 -
100189 -#
100190 -# CONFIG_COMMANDS section.
100191 -#
100192 -for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
100193 - ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
100194 - ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
100195 - ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
100196 -$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
100197 - X"$ac_dest" : 'X\(//\)[^/]' \| \
100198 - X"$ac_dest" : 'X\(//\)$' \| \
100199 - X"$ac_dest" : 'X\(/\)' \| \
100200 - . : '\(.\)' 2>/dev/null ||
100201 -echo X"$ac_dest" |
100202 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
100203 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
100204 - /^X\(\/\/\)$/{ s//\1/; q; }
100205 - /^X\(\/\).*/{ s//\1/; q; }
100206 - s/.*/./; q'`
100207 - { if $as_mkdir_p; then
100208 - mkdir -p "$ac_dir"
100209 - else
100210 - as_dir="$ac_dir"
100211 - as_dirs=
100212 - while test ! -d "$as_dir"; do
100213 - as_dirs="$as_dir $as_dirs"
100214 - as_dir=`(dirname "$as_dir") 2>/dev/null ||
100215 -$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
100216 - X"$as_dir" : 'X\(//\)[^/]' \| \
100217 - X"$as_dir" : 'X\(//\)$' \| \
100218 - X"$as_dir" : 'X\(/\)' \| \
100219 - . : '\(.\)' 2>/dev/null ||
100220 -echo X"$as_dir" |
100221 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
100222 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
100223 - /^X\(\/\/\)$/{ s//\1/; q; }
100224 - /^X\(\/\).*/{ s//\1/; q; }
100225 - s/.*/./; q'`
100226 - done
100227 - test ! -n "$as_dirs" || mkdir $as_dirs
100228 - fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
100229 -echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
100230 - { (exit 1); exit 1; }; }; }
100231 -
100232 - ac_builddir=.
100233 -
100234 -if test "$ac_dir" != .; then
100235 - ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
100236 - # A "../" for each directory in $ac_dir_suffix.
100237 - ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
100238 -else
100239 - ac_dir_suffix= ac_top_builddir=
100240 -fi
100241 -
100242 -case $srcdir in
100243 - .) # No --srcdir option. We are building in place.
100244 - ac_srcdir=.
100245 - if test -z "$ac_top_builddir"; then
100246 - ac_top_srcdir=.
100247 - else
100248 - ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
100249 - fi ;;
100250 - [\\/]* | ?:[\\/]* ) # Absolute path.
100251 - ac_srcdir=$srcdir$ac_dir_suffix;
100252 - ac_top_srcdir=$srcdir ;;
100253 - *) # Relative path.
100254 - ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
100255 - ac_top_srcdir=$ac_top_builddir$srcdir ;;
100256 -esac
100257 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
100258 + s//\1/
100259 + q
100260 + }
100261 + /^X\(\/\/\)[^/].*/{
100262 + s//\1/
100263 + q
100264 + }
100265 + /^X\(\/\/\)$/{
100266 + s//\1/
100267 + q
100268 + }
100269 + /^X\(\/\).*/{
100270 + s//\1/
100271 + q
100272 + }
100273 + s/.*/./; q'`/stamp-h$_am_stamp_count
100274 + ;;
100275
100276 -# Do not use `cd foo && pwd` to compute absolute paths, because
100277 -# the directories may not exist.
100278 -case `pwd` in
100279 -.) ac_abs_builddir="$ac_dir";;
100280 -*)
100281 - case "$ac_dir" in
100282 - .) ac_abs_builddir=`pwd`;;
100283 - [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
100284 - *) ac_abs_builddir=`pwd`/"$ac_dir";;
100285 - esac;;
100286 -esac
100287 -case $ac_abs_builddir in
100288 -.) ac_abs_top_builddir=${ac_top_builddir}.;;
100289 -*)
100290 - case ${ac_top_builddir}. in
100291 - .) ac_abs_top_builddir=$ac_abs_builddir;;
100292 - [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
100293 - *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
100294 - esac;;
100295 -esac
100296 -case $ac_abs_builddir in
100297 -.) ac_abs_srcdir=$ac_srcdir;;
100298 -*)
100299 - case $ac_srcdir in
100300 - .) ac_abs_srcdir=$ac_abs_builddir;;
100301 - [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
100302 - *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
100303 - esac;;
100304 -esac
100305 -case $ac_abs_builddir in
100306 -.) ac_abs_top_srcdir=$ac_top_srcdir;;
100307 -*)
100308 - case $ac_top_srcdir in
100309 - .) ac_abs_top_srcdir=$ac_abs_builddir;;
100310 - [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
100311 - *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
100312 - esac;;
100313 -esac
100314 + :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
100315 +echo "$as_me: executing $ac_file commands" >&6;}
100316 + ;;
100317 + esac
100318
100319
100320 - { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
100321 -echo "$as_me: executing $ac_dest commands" >&6;}
100322 - case $ac_dest in
100323 - depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
100324 + case $ac_file$ac_mode in
100325 + "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
100326 # Strip MF so we end up with the name of the file.
100327 mf=`echo "$mf" | sed -e 's/:.*$//'`
100328 # Check whether this is an Automake generated Makefile or not.
100329 @@ -10296,18 +10798,29 @@
100330 # each Makefile.in and add a new line on top of each file to say so.
100331 # So let's grep whole file.
100332 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
100333 - dirpart=`(dirname "$mf") 2>/dev/null ||
100334 + dirpart=`$as_dirname -- "$mf" ||
100335 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
100336 X"$mf" : 'X\(//\)[^/]' \| \
100337 X"$mf" : 'X\(//\)$' \| \
100338 - X"$mf" : 'X\(/\)' \| \
100339 - . : '\(.\)' 2>/dev/null ||
100340 + X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
100341 echo X"$mf" |
100342 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
100343 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
100344 - /^X\(\/\/\)$/{ s//\1/; q; }
100345 - /^X\(\/\).*/{ s//\1/; q; }
100346 - s/.*/./; q'`
100347 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
100348 + s//\1/
100349 + q
100350 + }
100351 + /^X\(\/\/\)[^/].*/{
100352 + s//\1/
100353 + q
100354 + }
100355 + /^X\(\/\/\)$/{
100356 + s//\1/
100357 + q
100358 + }
100359 + /^X\(\/\).*/{
100360 + s//\1/
100361 + q
100362 + }
100363 + s/.*/./; q'`
100364 else
100365 continue
100366 fi
100367 @@ -10329,54 +10842,80 @@
100368 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
100369 # Make sure the directory exists.
100370 test -f "$dirpart/$file" && continue
100371 - fdir=`(dirname "$file") 2>/dev/null ||
100372 + fdir=`$as_dirname -- "$file" ||
100373 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
100374 X"$file" : 'X\(//\)[^/]' \| \
100375 X"$file" : 'X\(//\)$' \| \
100376 - X"$file" : 'X\(/\)' \| \
100377 - . : '\(.\)' 2>/dev/null ||
100378 + X"$file" : 'X\(/\)' \| . 2>/dev/null ||
100379 echo X"$file" |
100380 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
100381 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
100382 - /^X\(\/\/\)$/{ s//\1/; q; }
100383 - /^X\(\/\).*/{ s//\1/; q; }
100384 - s/.*/./; q'`
100385 - { if $as_mkdir_p; then
100386 - mkdir -p $dirpart/$fdir
100387 - else
100388 - as_dir=$dirpart/$fdir
100389 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
100390 + s//\1/
100391 + q
100392 + }
100393 + /^X\(\/\/\)[^/].*/{
100394 + s//\1/
100395 + q
100396 + }
100397 + /^X\(\/\/\)$/{
100398 + s//\1/
100399 + q
100400 + }
100401 + /^X\(\/\).*/{
100402 + s//\1/
100403 + q
100404 + }
100405 + s/.*/./; q'`
100406 + { as_dir=$dirpart/$fdir
100407 + case $as_dir in #(
100408 + -*) as_dir=./$as_dir;;
100409 + esac
100410 + test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
100411 as_dirs=
100412 - while test ! -d "$as_dir"; do
100413 - as_dirs="$as_dir $as_dirs"
100414 - as_dir=`(dirname "$as_dir") 2>/dev/null ||
100415 + while :; do
100416 + case $as_dir in #(
100417 + *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
100418 + *) as_qdir=$as_dir;;
100419 + esac
100420 + as_dirs="'$as_qdir' $as_dirs"
100421 + as_dir=`$as_dirname -- "$as_dir" ||
100422 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
100423 X"$as_dir" : 'X\(//\)[^/]' \| \
100424 X"$as_dir" : 'X\(//\)$' \| \
100425 - X"$as_dir" : 'X\(/\)' \| \
100426 - . : '\(.\)' 2>/dev/null ||
100427 + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
100428 echo X"$as_dir" |
100429 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
100430 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
100431 - /^X\(\/\/\)$/{ s//\1/; q; }
100432 - /^X\(\/\).*/{ s//\1/; q; }
100433 - s/.*/./; q'`
100434 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
100435 + s//\1/
100436 + q
100437 + }
100438 + /^X\(\/\/\)[^/].*/{
100439 + s//\1/
100440 + q
100441 + }
100442 + /^X\(\/\/\)$/{
100443 + s//\1/
100444 + q
100445 + }
100446 + /^X\(\/\).*/{
100447 + s//\1/
100448 + q
100449 + }
100450 + s/.*/./; q'`
100451 + test -d "$as_dir" && break
100452 done
100453 - test ! -n "$as_dirs" || mkdir $as_dirs
100454 - fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
100455 -echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
100456 + test -z "$as_dirs" || eval "mkdir $as_dirs"
100457 + } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
100458 +echo "$as_me: error: cannot create directory $as_dir" >&2;}
100459 { (exit 1); exit 1; }; }; }
100460 -
100461 # echo "creating $dirpart/$file"
100462 echo '# dummy' > "$dirpart/$file"
100463 done
100464 done
100465 ;;
100466 - default ) sed -e '/POTFILES =/r po/POTFILES' po/Makefile.in > po/Makefile ;;
100467 + "default":C) sed -e '/POTFILES =/r po/POTFILES' po/Makefile.in > po/Makefile ;;
100468 +
100469 esac
100470 -done
100471 -_ACEOF
100472 +done # for ac_tag
100473
100474 -cat >>$CONFIG_STATUS <<\_ACEOF
100475
100476 { (exit 0); exit 0; }
100477 _ACEOF
100478 Index: binutils-2.17/opcodes/configure.in
100479 ===================================================================
100480 --- binutils-2.17.orig/opcodes/configure.in 2007-06-28 09:19:34.730956544 +0200
100481 +++ binutils-2.17/opcodes/configure.in 2007-06-28 09:19:36.691658472 +0200
100482 @@ -157,6 +157,7 @@
100483 bfd_arc_arch) ta="$ta arc-dis.lo arc-opc.lo arc-ext.lo" ;;
100484 bfd_arm_arch) ta="$ta arm-dis.lo" ;;
100485 bfd_avr_arch) ta="$ta avr-dis.lo" ;;
100486 + bfd_avr32_arch) ta="$ta avr32-asm.lo avr32-dis.lo avr32-opc.lo" ;;
100487 bfd_bfin_arch) ta="$ta bfin-dis.lo" ;;
100488 bfd_cris_arch) ta="$ta cris-dis.lo cris-opc.lo cgen-bitset.lo" ;;
100489 bfd_crx_arch) ta="$ta crx-dis.lo crx-opc.lo" ;;
100490 Index: binutils-2.17/opcodes/disassemble.c
100491 ===================================================================
100492 --- binutils-2.17.orig/opcodes/disassemble.c 2007-06-28 09:19:34.735955784 +0200
100493 +++ binutils-2.17/opcodes/disassemble.c 2007-06-28 09:19:36.691658472 +0200
100494 @@ -24,6 +24,7 @@
100495 #define ARCH_arc
100496 #define ARCH_arm
100497 #define ARCH_avr
100498 +#define ARCH_avr32
100499 #define ARCH_bfin
100500 #define ARCH_cris
100501 #define ARCH_crx
100502 @@ -121,6 +122,11 @@
100503 disassemble = print_insn_avr;
100504 break;
100505 #endif
100506 +#ifdef ARCH_avr32
100507 + case bfd_arch_avr32:
100508 + disassemble = print_insn_avr32;
100509 + break;
100510 +#endif
100511 #ifdef ARCH_bfin
100512 case bfd_arch_bfin:
100513 disassemble = print_insn_bfin;
100514 @@ -433,6 +439,9 @@
100515 #ifdef ARCH_powerpc
100516 print_ppc_disassembler_options (stream);
100517 #endif
100518 +#ifdef ARCH_avr32
100519 + print_avr32_disassembler_options (stream);
100520 +#endif
100521
100522 return;
100523 }
100524 Index: binutils-2.17/opcodes/Makefile.am
100525 ===================================================================
100526 --- binutils-2.17.orig/opcodes/Makefile.am 2007-06-28 09:19:34.741954872 +0200
100527 +++ binutils-2.17/opcodes/Makefile.am 2007-06-28 09:19:36.692658320 +0200
100528 @@ -29,6 +29,7 @@
100529 # Header files.
100530 HFILES = \
100531 cgen-ops.h cgen-types.h \
100532 + avr32-asm.h avr32-opc.h \
100533 fr30-desc.h fr30-opc.h \
100534 frv-desc.h frv-opc.h \
100535 h8500-opc.h \
100536 @@ -58,6 +59,9 @@
100537 arc-ext.c \
100538 arm-dis.c \
100539 avr-dis.c \
100540 + avr32-asm.c \
100541 + avr32-dis.c \
100542 + avr32-opc.c \
100543 bfin-dis.c \
100544 cgen-asm.c \
100545 cgen-bitset.c \
100546 @@ -200,6 +204,9 @@
100547 arc-ext.lo \
100548 arm-dis.lo \
100549 avr-dis.lo \
100550 + avr32-asm.lo \
100551 + avr32-dis.lo \
100552 + avr32-opc.lo \
100553 bfin-dis.lo \
100554 cgen-asm.lo \
100555 cgen-bitset.lo \
100556 @@ -624,6 +631,15 @@
100557 avr-dis.lo: avr-dis.c sysdep.h config.h $(INCDIR)/ansidecl.h \
100558 $(INCDIR)/dis-asm.h $(BFD_H) $(INCDIR)/symcat.h opintl.h \
100559 $(INCDIR)/libiberty.h $(INCDIR)/opcode/avr.h
100560 +avr32-asm.lo: avr32-asm.c sysdep.h config.h $(INCDIR)/ansidecl.h \
100561 + $(BFD_H) $(INCDIR)/symcat.h avr32-opc.h opintl.h \
100562 + $(INCDIR)/xregex.h $(INCDIR)/xregex2.h \
100563 + $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h
100564 +avr32-dis.lo: avr32-dis.c sysdep.h config.h $(INCDIR)/ansidecl.h \
100565 + $(INCDIR)/dis-asm.h $(BFD_H) $(INCDIR)/symcat.h $(INCDIR)/libiberty.h \
100566 + avr32-opc.h opintl.h
100567 +avr32-opc.lo: avr32-opc.c sysdep.h config.h $(INCDIR)/ansidecl.h \
100568 + $(BFD_H) $(INCDIR)/symcat.h avr32-opc.h $(INCDIR)/libiberty.h
100569 bfin-dis.lo: bfin-dis.c $(INCDIR)/opcode/bfin.h $(INCDIR)/dis-asm.h \
100570 $(BFD_H) $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h
100571 cgen-asm.lo: cgen-asm.c sysdep.h config.h $(INCDIR)/ansidecl.h \
100572 Index: binutils-2.17/opcodes/Makefile.in
100573 ===================================================================
100574 --- binutils-2.17.orig/opcodes/Makefile.in 2007-06-28 09:19:34.747953960 +0200
100575 +++ binutils-2.17/opcodes/Makefile.in 2007-06-28 09:19:36.693658168 +0200
100576 @@ -1,4 +1,4 @@
100577 -# Makefile.in generated by automake 1.9.5 from Makefile.am.
100578 +# Makefile.in generated by automake 1.9.6 from Makefile.am.
100579 # @configure_input@
100580
100581 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
100582 @@ -15,8 +15,6 @@
100583 @SET_MAKE@
100584
100585
100586 -SOURCES = libopcodes.c $(libopcodes_la_SOURCES)
100587 -
100588 srcdir = @srcdir@
100589 top_srcdir = @top_srcdir@
100590 VPATH = @srcdir@
100591 @@ -132,6 +130,7 @@
100592 EXEEXT_FOR_BUILD = @EXEEXT_FOR_BUILD@
100593 GMOFILES = @GMOFILES@
100594 GMSGFMT = @GMSGFMT@
100595 +GREP = @GREP@
100596 GT_NO = @GT_NO@
100597 GT_YES = @GT_YES@
100598 HDEFINES = @HDEFINES@
100599 @@ -180,10 +179,7 @@
100600 WIN32LDFLAGS = @WIN32LDFLAGS@
100601 WIN32LIBADD = @WIN32LIBADD@
100602 XGETTEXT = @XGETTEXT@
100603 -ac_ct_AR = @ac_ct_AR@
100604 ac_ct_CC = @ac_ct_CC@
100605 -ac_ct_RANLIB = @ac_ct_RANLIB@
100606 -ac_ct_STRIP = @ac_ct_STRIP@
100607 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
100608 am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
100609 am__include = @am__include@
100610 @@ -202,6 +198,9 @@
100611 build_vendor = @build_vendor@
100612 cgendir = @cgendir@
100613 datadir = @datadir@
100614 +datarootdir = @datarootdir@
100615 +docdir = @docdir@
100616 +dvidir = @dvidir@
100617 exec_prefix = @exec_prefix@
100618 host = @host@
100619 host_alias = @host_alias@
100620 @@ -209,18 +208,22 @@
100621 host_noncanonical = @host_noncanonical@
100622 host_os = @host_os@
100623 host_vendor = @host_vendor@
100624 +htmldir = @htmldir@
100625 includedir = @includedir@
100626 infodir = @infodir@
100627 install_sh = @install_sh@
100628 l = @l@
100629 libdir = @libdir@
100630 libexecdir = @libexecdir@
100631 +localedir = @localedir@
100632 localstatedir = @localstatedir@
100633 mandir = @mandir@
100634 mkdir_p = @mkdir_p@
100635 oldincludedir = @oldincludedir@
100636 +pdfdir = @pdfdir@
100637 prefix = @prefix@
100638 program_transform_name = @program_transform_name@
100639 +psdir = @psdir@
100640 sbindir = @sbindir@
100641 sharedstatedir = @sharedstatedir@
100642 sysconfdir = @sysconfdir@
100643 @@ -247,6 +250,7 @@
100644 # Header files.
100645 HFILES = \
100646 cgen-ops.h cgen-types.h \
100647 + avr32-asm.h avr32-opc.h \
100648 fr30-desc.h fr30-opc.h \
100649 frv-desc.h frv-opc.h \
100650 h8500-opc.h \
100651 @@ -277,6 +281,9 @@
100652 arc-ext.c \
100653 arm-dis.c \
100654 avr-dis.c \
100655 + avr32-asm.c \
100656 + avr32-dis.c \
100657 + avr32-opc.c \
100658 bfin-dis.c \
100659 cgen-asm.c \
100660 cgen-bitset.c \
100661 @@ -419,6 +426,9 @@
100662 arc-ext.lo \
100663 arm-dis.lo \
100664 avr-dis.lo \
100665 + avr32-asm.lo \
100666 + avr32-dis.lo \
100667 + avr32-opc.lo \
100668 bfin-dis.lo \
100669 cgen-asm.lo \
100670 cgen-bitset.lo \
100671 @@ -1166,6 +1176,15 @@
100672 avr-dis.lo: avr-dis.c sysdep.h config.h $(INCDIR)/ansidecl.h \
100673 $(INCDIR)/dis-asm.h $(BFD_H) $(INCDIR)/symcat.h opintl.h \
100674 $(INCDIR)/libiberty.h $(INCDIR)/opcode/avr.h
100675 +avr32-asm.lo: avr32-asm.c sysdep.h config.h $(INCDIR)/ansidecl.h \
100676 + $(BFD_H) $(INCDIR)/symcat.h avr32-opc.h opintl.h \
100677 + $(INCDIR)/xregex.h $(INCDIR)/xregex2.h \
100678 + $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h
100679 +avr32-dis.lo: avr32-dis.c sysdep.h config.h $(INCDIR)/ansidecl.h \
100680 + $(INCDIR)/dis-asm.h $(BFD_H) $(INCDIR)/symcat.h $(INCDIR)/libiberty.h \
100681 + avr32-opc.h opintl.h
100682 +avr32-opc.lo: avr32-opc.c sysdep.h config.h $(INCDIR)/ansidecl.h \
100683 + $(BFD_H) $(INCDIR)/symcat.h avr32-opc.h $(INCDIR)/libiberty.h
100684 bfin-dis.lo: bfin-dis.c $(INCDIR)/opcode/bfin.h $(INCDIR)/dis-asm.h \
100685 $(BFD_H) $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h
100686 cgen-asm.lo: cgen-asm.c sysdep.h config.h $(INCDIR)/ansidecl.h \
100687 Index: binutils-2.17/config.sub
100688 ===================================================================
100689 --- binutils-2.17.orig/config.sub 2007-06-28 09:19:34.753953048 +0200
100690 +++ binutils-2.17/config.sub 2007-06-28 09:19:36.694658016 +0200
100691 @@ -241,6 +241,7 @@
100692 | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
100693 | am33_2.0 \
100694 | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr \
100695 + | avr32 \
100696 | bfin \
100697 | c4x | clipper \
100698 | d10v | d30v | dlx | dsp16xx \
100699 @@ -317,7 +318,7 @@
100700 | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \
100701 | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
100702 | arm-* | armbe-* | armle-* | armeb-* | armv*-* \
100703 - | avr-* \
100704 + | avr-* | avr32-* \
100705 | bfin-* | bs2000-* \
100706 | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \
100707 | clipper-* | craynv-* | cydra-* \