OSDN Git Service

When the relocs are larger than 16bits, incorrect values are written when
[uclinux-h8/elf2flt.git] / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.63.
4 #
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
9 ## --------------------- ##
10 ## M4sh Initialization.  ##
11 ## --------------------- ##
12
13 # Be more Bourne compatible
14 DUALCASE=1; export DUALCASE # for MKS sh
15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16   emulate sh
17   NULLCMD=:
18   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19   # is contrary to our usage.  Disable this feature.
20   alias -g '${1+"$@"}'='"$@"'
21   setopt NO_GLOB_SUBST
22 else
23   case `(set -o) 2>/dev/null` in
24   *posix*) set -o posix ;;
25 esac
26
27 fi
28
29
30
31
32 # PATH needs CR
33 # Avoid depending upon Character Ranges.
34 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
35 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
36 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
37 as_cr_digits='0123456789'
38 as_cr_alnum=$as_cr_Letters$as_cr_digits
39
40 as_nl='
41 '
42 export as_nl
43 # Printing a long string crashes Solaris 7 /usr/bin/printf.
44 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
45 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
46 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
47 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48   as_echo='printf %s\n'
49   as_echo_n='printf %s'
50 else
51   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53     as_echo_n='/usr/ucb/echo -n'
54   else
55     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56     as_echo_n_body='eval
57       arg=$1;
58       case $arg in
59       *"$as_nl"*)
60         expr "X$arg" : "X\\(.*\\)$as_nl";
61         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
62       esac;
63       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
64     '
65     export as_echo_n_body
66     as_echo_n='sh -c $as_echo_n_body as_echo'
67   fi
68   export as_echo_body
69   as_echo='sh -c $as_echo_body as_echo'
70 fi
71
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
74   PATH_SEPARATOR=:
75   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
77       PATH_SEPARATOR=';'
78   }
79 fi
80
81 # Support unset when possible.
82 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
83   as_unset=unset
84 else
85   as_unset=false
86 fi
87
88
89 # IFS
90 # We need space, tab and new line, in precisely that order.  Quoting is
91 # there to prevent editors from complaining about space-tab.
92 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
93 # splitting by setting IFS to empty value.)
94 IFS=" ""        $as_nl"
95
96 # Find who we are.  Look in the path if we contain no directory separator.
97 case $0 in
98   *[\\/]* ) as_myself=$0 ;;
99   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
100 for as_dir in $PATH
101 do
102   IFS=$as_save_IFS
103   test -z "$as_dir" && as_dir=.
104   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
105 done
106 IFS=$as_save_IFS
107
108      ;;
109 esac
110 # We did not find ourselves, most probably we were run as `sh COMMAND'
111 # in which case we are not to be found in the path.
112 if test "x$as_myself" = x; then
113   as_myself=$0
114 fi
115 if test ! -f "$as_myself"; then
116   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
117   { (exit 1); exit 1; }
118 fi
119
120 # Work around bugs in pre-3.0 UWIN ksh.
121 for as_var in ENV MAIL MAILPATH
122 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
123 done
124 PS1='$ '
125 PS2='> '
126 PS4='+ '
127
128 # NLS nuisances.
129 LC_ALL=C
130 export LC_ALL
131 LANGUAGE=C
132 export LANGUAGE
133
134 # Required to use basename.
135 if expr a : '\(a\)' >/dev/null 2>&1 &&
136    test "X`expr 00001 : '.*\(...\)'`" = X001; then
137   as_expr=expr
138 else
139   as_expr=false
140 fi
141
142 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
143   as_basename=basename
144 else
145   as_basename=false
146 fi
147
148
149 # Name of the executable.
150 as_me=`$as_basename -- "$0" ||
151 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
152          X"$0" : 'X\(//\)$' \| \
153          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
154 $as_echo X/"$0" |
155     sed '/^.*\/\([^/][^/]*\)\/*$/{
156             s//\1/
157             q
158           }
159           /^X\/\(\/\/\)$/{
160             s//\1/
161             q
162           }
163           /^X\/\(\/\).*/{
164             s//\1/
165             q
166           }
167           s/.*/./; q'`
168
169 # CDPATH.
170 $as_unset CDPATH
171
172
173 if test "x$CONFIG_SHELL" = x; then
174   if (eval ":") 2>/dev/null; then
175   as_have_required=yes
176 else
177   as_have_required=no
178 fi
179
180   if test $as_have_required = yes &&     (eval ":
181 (as_func_return () {
182   (exit \$1)
183 }
184 as_func_success () {
185   as_func_return 0
186 }
187 as_func_failure () {
188   as_func_return 1
189 }
190 as_func_ret_success () {
191   return 0
192 }
193 as_func_ret_failure () {
194   return 1
195 }
196
197 exitcode=0
198 if as_func_success; then
199   :
200 else
201   exitcode=1
202   echo as_func_success failed.
203 fi
204
205 if as_func_failure; then
206   exitcode=1
207   echo as_func_failure succeeded.
208 fi
209
210 if as_func_ret_success; then
211   :
212 else
213   exitcode=1
214   echo as_func_ret_success failed.
215 fi
216
217 if as_func_ret_failure; then
218   exitcode=1
219   echo as_func_ret_failure succeeded.
220 fi
221
222 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
223   :
224 else
225   exitcode=1
226   echo positional parameters were not saved.
227 fi
228
229 test \$exitcode = 0) || { (exit 1); exit 1; }
230
231 (
232   as_lineno_1=\$LINENO
233   as_lineno_2=\$LINENO
234   test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
235   test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
236 ") 2> /dev/null; then
237   :
238 else
239   as_candidate_shells=
240     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
241 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
242 do
243   IFS=$as_save_IFS
244   test -z "$as_dir" && as_dir=.
245   case $as_dir in
246          /*)
247            for as_base in sh bash ksh sh5; do
248              as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
249            done;;
250        esac
251 done
252 IFS=$as_save_IFS
253
254
255       for as_shell in $as_candidate_shells $SHELL; do
256          # Try only shells that exist, to save several forks.
257          if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
258                 { ("$as_shell") 2> /dev/null <<\_ASEOF
259 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
260   emulate sh
261   NULLCMD=:
262   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
263   # is contrary to our usage.  Disable this feature.
264   alias -g '${1+"$@"}'='"$@"'
265   setopt NO_GLOB_SUBST
266 else
267   case `(set -o) 2>/dev/null` in
268   *posix*) set -o posix ;;
269 esac
270
271 fi
272
273
274 :
275 _ASEOF
276 }; then
277   CONFIG_SHELL=$as_shell
278                as_have_required=yes
279                if { "$as_shell" 2> /dev/null <<\_ASEOF
280 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
281   emulate sh
282   NULLCMD=:
283   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
284   # is contrary to our usage.  Disable this feature.
285   alias -g '${1+"$@"}'='"$@"'
286   setopt NO_GLOB_SUBST
287 else
288   case `(set -o) 2>/dev/null` in
289   *posix*) set -o posix ;;
290 esac
291
292 fi
293
294
295 :
296 (as_func_return () {
297   (exit $1)
298 }
299 as_func_success () {
300   as_func_return 0
301 }
302 as_func_failure () {
303   as_func_return 1
304 }
305 as_func_ret_success () {
306   return 0
307 }
308 as_func_ret_failure () {
309   return 1
310 }
311
312 exitcode=0
313 if as_func_success; then
314   :
315 else
316   exitcode=1
317   echo as_func_success failed.
318 fi
319
320 if as_func_failure; then
321   exitcode=1
322   echo as_func_failure succeeded.
323 fi
324
325 if as_func_ret_success; then
326   :
327 else
328   exitcode=1
329   echo as_func_ret_success failed.
330 fi
331
332 if as_func_ret_failure; then
333   exitcode=1
334   echo as_func_ret_failure succeeded.
335 fi
336
337 if ( set x; as_func_ret_success y && test x = "$1" ); then
338   :
339 else
340   exitcode=1
341   echo positional parameters were not saved.
342 fi
343
344 test $exitcode = 0) || { (exit 1); exit 1; }
345
346 (
347   as_lineno_1=$LINENO
348   as_lineno_2=$LINENO
349   test "x$as_lineno_1" != "x$as_lineno_2" &&
350   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
351
352 _ASEOF
353 }; then
354   break
355 fi
356
357 fi
358
359       done
360
361       if test "x$CONFIG_SHELL" != x; then
362   for as_var in BASH_ENV ENV
363         do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
364         done
365         export CONFIG_SHELL
366         exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
367 fi
368
369
370     if test $as_have_required = no; then
371   echo This script requires a shell more modern than all the
372       echo shells that I found on your system.  Please install a
373       echo modern shell, or manually run the script under such a
374       echo shell if you do have one.
375       { (exit 1); exit 1; }
376 fi
377
378
379 fi
380
381 fi
382
383
384
385 (eval "as_func_return () {
386   (exit \$1)
387 }
388 as_func_success () {
389   as_func_return 0
390 }
391 as_func_failure () {
392   as_func_return 1
393 }
394 as_func_ret_success () {
395   return 0
396 }
397 as_func_ret_failure () {
398   return 1
399 }
400
401 exitcode=0
402 if as_func_success; then
403   :
404 else
405   exitcode=1
406   echo as_func_success failed.
407 fi
408
409 if as_func_failure; then
410   exitcode=1
411   echo as_func_failure succeeded.
412 fi
413
414 if as_func_ret_success; then
415   :
416 else
417   exitcode=1
418   echo as_func_ret_success failed.
419 fi
420
421 if as_func_ret_failure; then
422   exitcode=1
423   echo as_func_ret_failure succeeded.
424 fi
425
426 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
427   :
428 else
429   exitcode=1
430   echo positional parameters were not saved.
431 fi
432
433 test \$exitcode = 0") || {
434   echo No shell found that supports shell functions.
435   echo Please tell bug-autoconf@gnu.org about your system,
436   echo including any error possibly output before this message.
437   echo This can help us improve future autoconf versions.
438   echo Configuration will now proceed without shell functions.
439 }
440
441
442
443   as_lineno_1=$LINENO
444   as_lineno_2=$LINENO
445   test "x$as_lineno_1" != "x$as_lineno_2" &&
446   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
447
448   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
449   # uniformly replaced by the line number.  The first 'sed' inserts a
450   # line-number line after each line using $LINENO; the second 'sed'
451   # does the real work.  The second script uses 'N' to pair each
452   # line-number line with the line containing $LINENO, and appends
453   # trailing '-' during substitution so that $LINENO is not a special
454   # case at line end.
455   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
456   # scripts with optimization help from Paolo Bonzini.  Blame Lee
457   # E. McMahon (1931-1989) for sed's syntax.  :-)
458   sed -n '
459     p
460     /[$]LINENO/=
461   ' <$as_myself |
462     sed '
463       s/[$]LINENO.*/&-/
464       t lineno
465       b
466       :lineno
467       N
468       :loop
469       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
470       t loop
471       s/-\n.*//
472     ' >$as_me.lineno &&
473   chmod +x "$as_me.lineno" ||
474     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
475    { (exit 1); exit 1; }; }
476
477   # Don't try to exec as it changes $[0], causing all sort of problems
478   # (the dirname of $[0] is not the place where we might find the
479   # original and so on.  Autoconf is especially sensitive to this).
480   . "./$as_me.lineno"
481   # Exit status is that of the last command.
482   exit
483 }
484
485
486 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
487   as_dirname=dirname
488 else
489   as_dirname=false
490 fi
491
492 ECHO_C= ECHO_N= ECHO_T=
493 case `echo -n x` in
494 -n*)
495   case `echo 'x\c'` in
496   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
497   *)   ECHO_C='\c';;
498   esac;;
499 *)
500   ECHO_N='-n';;
501 esac
502 if expr a : '\(a\)' >/dev/null 2>&1 &&
503    test "X`expr 00001 : '.*\(...\)'`" = X001; then
504   as_expr=expr
505 else
506   as_expr=false
507 fi
508
509 rm -f conf$$ conf$$.exe conf$$.file
510 if test -d conf$$.dir; then
511   rm -f conf$$.dir/conf$$.file
512 else
513   rm -f conf$$.dir
514   mkdir conf$$.dir 2>/dev/null
515 fi
516 if (echo >conf$$.file) 2>/dev/null; then
517   if ln -s conf$$.file conf$$ 2>/dev/null; then
518     as_ln_s='ln -s'
519     # ... but there are two gotchas:
520     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
521     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
522     # In both cases, we have to default to `cp -p'.
523     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
524       as_ln_s='cp -p'
525   elif ln conf$$.file conf$$ 2>/dev/null; then
526     as_ln_s=ln
527   else
528     as_ln_s='cp -p'
529   fi
530 else
531   as_ln_s='cp -p'
532 fi
533 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
534 rmdir conf$$.dir 2>/dev/null
535
536 if mkdir -p . 2>/dev/null; then
537   as_mkdir_p=:
538 else
539   test -d ./-p && rmdir ./-p
540   as_mkdir_p=false
541 fi
542
543 if test -x / >/dev/null 2>&1; then
544   as_test_x='test -x'
545 else
546   if ls -dL / >/dev/null 2>&1; then
547     as_ls_L_option=L
548   else
549     as_ls_L_option=
550   fi
551   as_test_x='
552     eval sh -c '\''
553       if test -d "$1"; then
554         test -d "$1/.";
555       else
556         case $1 in
557         -*)set "./$1";;
558         esac;
559         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
560         ???[sx]*):;;*)false;;esac;fi
561     '\'' sh
562   '
563 fi
564 as_executable_p=$as_test_x
565
566 # Sed expression to map a string onto a valid CPP name.
567 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
568
569 # Sed expression to map a string onto a valid variable name.
570 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
571
572
573
574 exec 7<&0 </dev/null 6>&1
575
576 # Name of the host.
577 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
578 # so uname gets run too.
579 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
580
581 #
582 # Initializations.
583 #
584 ac_default_prefix=/usr/local
585 ac_clean_files=
586 ac_config_libobj_dir=.
587 LIBOBJS=
588 cross_compiling=no
589 subdirs=
590 MFLAGS=
591 MAKEFLAGS=
592 SHELL=${CONFIG_SHELL-/bin/sh}
593
594 # Identity of this package.
595 PACKAGE_NAME=
596 PACKAGE_TARNAME=
597 PACKAGE_VERSION=
598 PACKAGE_STRING=
599 PACKAGE_BUGREPORT=
600
601 ac_unique_file="elf2flt.c"
602 # Factoring default headers for most tests.
603 ac_includes_default="\
604 #include <stdio.h>
605 #ifdef HAVE_SYS_TYPES_H
606 # include <sys/types.h>
607 #endif
608 #ifdef HAVE_SYS_STAT_H
609 # include <sys/stat.h>
610 #endif
611 #ifdef STDC_HEADERS
612 # include <stdlib.h>
613 # include <stddef.h>
614 #else
615 # ifdef HAVE_STDLIB_H
616 #  include <stdlib.h>
617 # endif
618 #endif
619 #ifdef HAVE_STRING_H
620 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
621 #  include <memory.h>
622 # endif
623 # include <string.h>
624 #endif
625 #ifdef HAVE_STRINGS_H
626 # include <strings.h>
627 #endif
628 #ifdef HAVE_INTTYPES_H
629 # include <inttypes.h>
630 #endif
631 #ifdef HAVE_STDINT_H
632 # include <stdint.h>
633 #endif
634 #ifdef HAVE_UNISTD_H
635 # include <unistd.h>
636 #endif"
637
638 ac_subst_vars='LTLIBOBJS
639 LIBOBJS
640 SYMBOL_PREFIX
641 emit_ctor_dtor
642 emit_relocs
643 got_check
644 binutils_ldscript_dir
645 zlib_include_dir
646 binutils_include_dir
647 bfd_include_dir
648 EGREP
649 GREP
650 CPP
651 INSTALL_DATA
652 INSTALL_SCRIPT
653 INSTALL_PROGRAM
654 OBJEXT
655 EXEEXT
656 ac_ct_CC
657 CPPFLAGS
658 LDFLAGS
659 CFLAGS
660 CC
661 target_os
662 target_vendor
663 target_cpu
664 target
665 host_os
666 host_vendor
667 host_cpu
668 host
669 build_os
670 build_vendor
671 build_cpu
672 build
673 target_alias
674 host_alias
675 build_alias
676 LIBS
677 ECHO_T
678 ECHO_N
679 ECHO_C
680 DEFS
681 mandir
682 localedir
683 libdir
684 psdir
685 pdfdir
686 dvidir
687 htmldir
688 infodir
689 docdir
690 oldincludedir
691 includedir
692 localstatedir
693 sharedstatedir
694 sysconfdir
695 datadir
696 datarootdir
697 libexecdir
698 sbindir
699 bindir
700 program_transform_name
701 prefix
702 exec_prefix
703 PACKAGE_BUGREPORT
704 PACKAGE_STRING
705 PACKAGE_VERSION
706 PACKAGE_TARNAME
707 PACKAGE_NAME
708 PATH_SEPARATOR
709 SHELL'
710 ac_subst_files=''
711 ac_user_opts='
712 enable_option_checking
713 with_zlib_prefix
714 with_libbfd
715 with_libiberty
716 with_bfd_include_dir
717 with_binutils_include_dir
718 with_binutils_ldscript_dir
719 with_binutils_build_dir
720 enable_got_check
721 enable_emit_relocs
722 enable_emit_ctor_dtor
723 '
724       ac_precious_vars='build_alias
725 host_alias
726 target_alias
727 CC
728 CFLAGS
729 LDFLAGS
730 LIBS
731 CPPFLAGS
732 CPP'
733
734
735 # Initialize some variables set by options.
736 ac_init_help=
737 ac_init_version=false
738 ac_unrecognized_opts=
739 ac_unrecognized_sep=
740 # The variables have the same names as the options, with
741 # dashes changed to underlines.
742 cache_file=/dev/null
743 exec_prefix=NONE
744 no_create=
745 no_recursion=
746 prefix=NONE
747 program_prefix=NONE
748 program_suffix=NONE
749 program_transform_name=s,x,x,
750 silent=
751 site=
752 srcdir=
753 verbose=
754 x_includes=NONE
755 x_libraries=NONE
756
757 # Installation directory options.
758 # These are left unexpanded so users can "make install exec_prefix=/foo"
759 # and all the variables that are supposed to be based on exec_prefix
760 # by default will actually change.
761 # Use braces instead of parens because sh, perl, etc. also accept them.
762 # (The list follows the same order as the GNU Coding Standards.)
763 bindir='${exec_prefix}/bin'
764 sbindir='${exec_prefix}/sbin'
765 libexecdir='${exec_prefix}/libexec'
766 datarootdir='${prefix}/share'
767 datadir='${datarootdir}'
768 sysconfdir='${prefix}/etc'
769 sharedstatedir='${prefix}/com'
770 localstatedir='${prefix}/var'
771 includedir='${prefix}/include'
772 oldincludedir='/usr/include'
773 docdir='${datarootdir}/doc/${PACKAGE}'
774 infodir='${datarootdir}/info'
775 htmldir='${docdir}'
776 dvidir='${docdir}'
777 pdfdir='${docdir}'
778 psdir='${docdir}'
779 libdir='${exec_prefix}/lib'
780 localedir='${datarootdir}/locale'
781 mandir='${datarootdir}/man'
782
783 ac_prev=
784 ac_dashdash=
785 for ac_option
786 do
787   # If the previous option needs an argument, assign it.
788   if test -n "$ac_prev"; then
789     eval $ac_prev=\$ac_option
790     ac_prev=
791     continue
792   fi
793
794   case $ac_option in
795   *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
796   *)    ac_optarg=yes ;;
797   esac
798
799   # Accept the important Cygnus configure options, so we can diagnose typos.
800
801   case $ac_dashdash$ac_option in
802   --)
803     ac_dashdash=yes ;;
804
805   -bindir | --bindir | --bindi | --bind | --bin | --bi)
806     ac_prev=bindir ;;
807   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
808     bindir=$ac_optarg ;;
809
810   -build | --build | --buil | --bui | --bu)
811     ac_prev=build_alias ;;
812   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
813     build_alias=$ac_optarg ;;
814
815   -cache-file | --cache-file | --cache-fil | --cache-fi \
816   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
817     ac_prev=cache_file ;;
818   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
819   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
820     cache_file=$ac_optarg ;;
821
822   --config-cache | -C)
823     cache_file=config.cache ;;
824
825   -datadir | --datadir | --datadi | --datad)
826     ac_prev=datadir ;;
827   -datadir=* | --datadir=* | --datadi=* | --datad=*)
828     datadir=$ac_optarg ;;
829
830   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
831   | --dataroo | --dataro | --datar)
832     ac_prev=datarootdir ;;
833   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
834   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
835     datarootdir=$ac_optarg ;;
836
837   -disable-* | --disable-*)
838     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
839     # Reject names that are not valid shell variable names.
840     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
841       { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
842    { (exit 1); exit 1; }; }
843     ac_useropt_orig=$ac_useropt
844     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
845     case $ac_user_opts in
846       *"
847 "enable_$ac_useropt"
848 "*) ;;
849       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
850          ac_unrecognized_sep=', ';;
851     esac
852     eval enable_$ac_useropt=no ;;
853
854   -docdir | --docdir | --docdi | --doc | --do)
855     ac_prev=docdir ;;
856   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
857     docdir=$ac_optarg ;;
858
859   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
860     ac_prev=dvidir ;;
861   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
862     dvidir=$ac_optarg ;;
863
864   -enable-* | --enable-*)
865     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
866     # Reject names that are not valid shell variable names.
867     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
868       { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
869    { (exit 1); exit 1; }; }
870     ac_useropt_orig=$ac_useropt
871     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
872     case $ac_user_opts in
873       *"
874 "enable_$ac_useropt"
875 "*) ;;
876       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
877          ac_unrecognized_sep=', ';;
878     esac
879     eval enable_$ac_useropt=\$ac_optarg ;;
880
881   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
882   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
883   | --exec | --exe | --ex)
884     ac_prev=exec_prefix ;;
885   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
886   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
887   | --exec=* | --exe=* | --ex=*)
888     exec_prefix=$ac_optarg ;;
889
890   -gas | --gas | --ga | --g)
891     # Obsolete; use --with-gas.
892     with_gas=yes ;;
893
894   -help | --help | --hel | --he | -h)
895     ac_init_help=long ;;
896   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
897     ac_init_help=recursive ;;
898   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
899     ac_init_help=short ;;
900
901   -host | --host | --hos | --ho)
902     ac_prev=host_alias ;;
903   -host=* | --host=* | --hos=* | --ho=*)
904     host_alias=$ac_optarg ;;
905
906   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
907     ac_prev=htmldir ;;
908   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
909   | --ht=*)
910     htmldir=$ac_optarg ;;
911
912   -includedir | --includedir | --includedi | --included | --include \
913   | --includ | --inclu | --incl | --inc)
914     ac_prev=includedir ;;
915   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
916   | --includ=* | --inclu=* | --incl=* | --inc=*)
917     includedir=$ac_optarg ;;
918
919   -infodir | --infodir | --infodi | --infod | --info | --inf)
920     ac_prev=infodir ;;
921   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
922     infodir=$ac_optarg ;;
923
924   -libdir | --libdir | --libdi | --libd)
925     ac_prev=libdir ;;
926   -libdir=* | --libdir=* | --libdi=* | --libd=*)
927     libdir=$ac_optarg ;;
928
929   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
930   | --libexe | --libex | --libe)
931     ac_prev=libexecdir ;;
932   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
933   | --libexe=* | --libex=* | --libe=*)
934     libexecdir=$ac_optarg ;;
935
936   -localedir | --localedir | --localedi | --localed | --locale)
937     ac_prev=localedir ;;
938   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
939     localedir=$ac_optarg ;;
940
941   -localstatedir | --localstatedir | --localstatedi | --localstated \
942   | --localstate | --localstat | --localsta | --localst | --locals)
943     ac_prev=localstatedir ;;
944   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
945   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
946     localstatedir=$ac_optarg ;;
947
948   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
949     ac_prev=mandir ;;
950   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
951     mandir=$ac_optarg ;;
952
953   -nfp | --nfp | --nf)
954     # Obsolete; use --without-fp.
955     with_fp=no ;;
956
957   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
958   | --no-cr | --no-c | -n)
959     no_create=yes ;;
960
961   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
962   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
963     no_recursion=yes ;;
964
965   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
966   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
967   | --oldin | --oldi | --old | --ol | --o)
968     ac_prev=oldincludedir ;;
969   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
970   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
971   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
972     oldincludedir=$ac_optarg ;;
973
974   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
975     ac_prev=prefix ;;
976   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
977     prefix=$ac_optarg ;;
978
979   -program-prefix | --program-prefix | --program-prefi | --program-pref \
980   | --program-pre | --program-pr | --program-p)
981     ac_prev=program_prefix ;;
982   -program-prefix=* | --program-prefix=* | --program-prefi=* \
983   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
984     program_prefix=$ac_optarg ;;
985
986   -program-suffix | --program-suffix | --program-suffi | --program-suff \
987   | --program-suf | --program-su | --program-s)
988     ac_prev=program_suffix ;;
989   -program-suffix=* | --program-suffix=* | --program-suffi=* \
990   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
991     program_suffix=$ac_optarg ;;
992
993   -program-transform-name | --program-transform-name \
994   | --program-transform-nam | --program-transform-na \
995   | --program-transform-n | --program-transform- \
996   | --program-transform | --program-transfor \
997   | --program-transfo | --program-transf \
998   | --program-trans | --program-tran \
999   | --progr-tra | --program-tr | --program-t)
1000     ac_prev=program_transform_name ;;
1001   -program-transform-name=* | --program-transform-name=* \
1002   | --program-transform-nam=* | --program-transform-na=* \
1003   | --program-transform-n=* | --program-transform-=* \
1004   | --program-transform=* | --program-transfor=* \
1005   | --program-transfo=* | --program-transf=* \
1006   | --program-trans=* | --program-tran=* \
1007   | --progr-tra=* | --program-tr=* | --program-t=*)
1008     program_transform_name=$ac_optarg ;;
1009
1010   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1011     ac_prev=pdfdir ;;
1012   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1013     pdfdir=$ac_optarg ;;
1014
1015   -psdir | --psdir | --psdi | --psd | --ps)
1016     ac_prev=psdir ;;
1017   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1018     psdir=$ac_optarg ;;
1019
1020   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1021   | -silent | --silent | --silen | --sile | --sil)
1022     silent=yes ;;
1023
1024   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1025     ac_prev=sbindir ;;
1026   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1027   | --sbi=* | --sb=*)
1028     sbindir=$ac_optarg ;;
1029
1030   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1031   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1032   | --sharedst | --shareds | --shared | --share | --shar \
1033   | --sha | --sh)
1034     ac_prev=sharedstatedir ;;
1035   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1036   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1037   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1038   | --sha=* | --sh=*)
1039     sharedstatedir=$ac_optarg ;;
1040
1041   -site | --site | --sit)
1042     ac_prev=site ;;
1043   -site=* | --site=* | --sit=*)
1044     site=$ac_optarg ;;
1045
1046   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1047     ac_prev=srcdir ;;
1048   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1049     srcdir=$ac_optarg ;;
1050
1051   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1052   | --syscon | --sysco | --sysc | --sys | --sy)
1053     ac_prev=sysconfdir ;;
1054   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1055   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1056     sysconfdir=$ac_optarg ;;
1057
1058   -target | --target | --targe | --targ | --tar | --ta | --t)
1059     ac_prev=target_alias ;;
1060   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1061     target_alias=$ac_optarg ;;
1062
1063   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1064     verbose=yes ;;
1065
1066   -version | --version | --versio | --versi | --vers | -V)
1067     ac_init_version=: ;;
1068
1069   -with-* | --with-*)
1070     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1071     # Reject names that are not valid shell variable names.
1072     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1073       { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1074    { (exit 1); exit 1; }; }
1075     ac_useropt_orig=$ac_useropt
1076     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1077     case $ac_user_opts in
1078       *"
1079 "with_$ac_useropt"
1080 "*) ;;
1081       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1082          ac_unrecognized_sep=', ';;
1083     esac
1084     eval with_$ac_useropt=\$ac_optarg ;;
1085
1086   -without-* | --without-*)
1087     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1088     # Reject names that are not valid shell variable names.
1089     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1090       { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1091    { (exit 1); exit 1; }; }
1092     ac_useropt_orig=$ac_useropt
1093     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1094     case $ac_user_opts in
1095       *"
1096 "with_$ac_useropt"
1097 "*) ;;
1098       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1099          ac_unrecognized_sep=', ';;
1100     esac
1101     eval with_$ac_useropt=no ;;
1102
1103   --x)
1104     # Obsolete; use --with-x.
1105     with_x=yes ;;
1106
1107   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1108   | --x-incl | --x-inc | --x-in | --x-i)
1109     ac_prev=x_includes ;;
1110   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1111   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1112     x_includes=$ac_optarg ;;
1113
1114   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1115   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1116     ac_prev=x_libraries ;;
1117   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1118   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1119     x_libraries=$ac_optarg ;;
1120
1121   -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1122 Try \`$0 --help' for more information." >&2
1123    { (exit 1); exit 1; }; }
1124     ;;
1125
1126   *=*)
1127     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1128     # Reject names that are not valid shell variable names.
1129     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1130       { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1131    { (exit 1); exit 1; }; }
1132     eval $ac_envvar=\$ac_optarg
1133     export $ac_envvar ;;
1134
1135   *)
1136     # FIXME: should be removed in autoconf 3.0.
1137     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1138     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1139       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1140     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1141     ;;
1142
1143   esac
1144 done
1145
1146 if test -n "$ac_prev"; then
1147   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1148   { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1149    { (exit 1); exit 1; }; }
1150 fi
1151
1152 if test -n "$ac_unrecognized_opts"; then
1153   case $enable_option_checking in
1154     no) ;;
1155     fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1156    { (exit 1); exit 1; }; } ;;
1157     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1158   esac
1159 fi
1160
1161 # Check all directory arguments for consistency.
1162 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1163                 datadir sysconfdir sharedstatedir localstatedir includedir \
1164                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1165                 libdir localedir mandir
1166 do
1167   eval ac_val=\$$ac_var
1168   # Remove trailing slashes.
1169   case $ac_val in
1170     */ )
1171       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1172       eval $ac_var=\$ac_val;;
1173   esac
1174   # Be sure to have absolute directory names.
1175   case $ac_val in
1176     [\\/$]* | ?:[\\/]* )  continue;;
1177     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1178   esac
1179   { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1180    { (exit 1); exit 1; }; }
1181 done
1182
1183 # There might be people who depend on the old broken behavior: `$host'
1184 # used to hold the argument of --host etc.
1185 # FIXME: To remove some day.
1186 build=$build_alias
1187 host=$host_alias
1188 target=$target_alias
1189
1190 # FIXME: To remove some day.
1191 if test "x$host_alias" != x; then
1192   if test "x$build_alias" = x; then
1193     cross_compiling=maybe
1194     $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1195     If a cross compiler is detected then cross compile mode will be used." >&2
1196   elif test "x$build_alias" != "x$host_alias"; then
1197     cross_compiling=yes
1198   fi
1199 fi
1200
1201 ac_tool_prefix=
1202 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1203
1204 test "$silent" = yes && exec 6>/dev/null
1205
1206
1207 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1208 ac_ls_di=`ls -di .` &&
1209 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1210   { $as_echo "$as_me: error: working directory cannot be determined" >&2
1211    { (exit 1); exit 1; }; }
1212 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1213   { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1214    { (exit 1); exit 1; }; }
1215
1216
1217 # Find the source files, if location was not specified.
1218 if test -z "$srcdir"; then
1219   ac_srcdir_defaulted=yes
1220   # Try the directory containing this script, then the parent directory.
1221   ac_confdir=`$as_dirname -- "$as_myself" ||
1222 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1223          X"$as_myself" : 'X\(//\)[^/]' \| \
1224          X"$as_myself" : 'X\(//\)$' \| \
1225          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1226 $as_echo X"$as_myself" |
1227     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1228             s//\1/
1229             q
1230           }
1231           /^X\(\/\/\)[^/].*/{
1232             s//\1/
1233             q
1234           }
1235           /^X\(\/\/\)$/{
1236             s//\1/
1237             q
1238           }
1239           /^X\(\/\).*/{
1240             s//\1/
1241             q
1242           }
1243           s/.*/./; q'`
1244   srcdir=$ac_confdir
1245   if test ! -r "$srcdir/$ac_unique_file"; then
1246     srcdir=..
1247   fi
1248 else
1249   ac_srcdir_defaulted=no
1250 fi
1251 if test ! -r "$srcdir/$ac_unique_file"; then
1252   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1253   { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1254    { (exit 1); exit 1; }; }
1255 fi
1256 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1257 ac_abs_confdir=`(
1258         cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1259    { (exit 1); exit 1; }; }
1260         pwd)`
1261 # When building in place, set srcdir=.
1262 if test "$ac_abs_confdir" = "$ac_pwd"; then
1263   srcdir=.
1264 fi
1265 # Remove unnecessary trailing slashes from srcdir.
1266 # Double slashes in file names in object file debugging info
1267 # mess up M-x gdb in Emacs.
1268 case $srcdir in
1269 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1270 esac
1271 for ac_var in $ac_precious_vars; do
1272   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1273   eval ac_env_${ac_var}_value=\$${ac_var}
1274   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1275   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1276 done
1277
1278 #
1279 # Report the --help message.
1280 #
1281 if test "$ac_init_help" = "long"; then
1282   # Omit some internal or obsolete options to make the list less imposing.
1283   # This message is too long to be a string in the A/UX 3.1 sh.
1284   cat <<_ACEOF
1285 \`configure' configures this package to adapt to many kinds of systems.
1286
1287 Usage: $0 [OPTION]... [VAR=VALUE]...
1288
1289 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1290 VAR=VALUE.  See below for descriptions of some of the useful variables.
1291
1292 Defaults for the options are specified in brackets.
1293
1294 Configuration:
1295   -h, --help              display this help and exit
1296       --help=short        display options specific to this package
1297       --help=recursive    display the short help of all the included packages
1298   -V, --version           display version information and exit
1299   -q, --quiet, --silent   do not print \`checking...' messages
1300       --cache-file=FILE   cache test results in FILE [disabled]
1301   -C, --config-cache      alias for \`--cache-file=config.cache'
1302   -n, --no-create         do not create output files
1303       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1304
1305 Installation directories:
1306   --prefix=PREFIX         install architecture-independent files in PREFIX
1307                           [$ac_default_prefix]
1308   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1309                           [PREFIX]
1310
1311 By default, \`make install' will install all the files in
1312 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1313 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1314 for instance \`--prefix=\$HOME'.
1315
1316 For better control, use the options below.
1317
1318 Fine tuning of the installation directories:
1319   --bindir=DIR            user executables [EPREFIX/bin]
1320   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1321   --libexecdir=DIR        program executables [EPREFIX/libexec]
1322   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1323   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1324   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1325   --libdir=DIR            object code libraries [EPREFIX/lib]
1326   --includedir=DIR        C header files [PREFIX/include]
1327   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1328   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1329   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1330   --infodir=DIR           info documentation [DATAROOTDIR/info]
1331   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1332   --mandir=DIR            man documentation [DATAROOTDIR/man]
1333   --docdir=DIR            documentation root [DATAROOTDIR/doc/PACKAGE]
1334   --htmldir=DIR           html documentation [DOCDIR]
1335   --dvidir=DIR            dvi documentation [DOCDIR]
1336   --pdfdir=DIR            pdf documentation [DOCDIR]
1337   --psdir=DIR             ps documentation [DOCDIR]
1338 _ACEOF
1339
1340   cat <<\_ACEOF
1341
1342 System types:
1343   --build=BUILD     configure for building on BUILD [guessed]
1344   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1345   --target=TARGET   configure for building compilers for TARGET [HOST]
1346 _ACEOF
1347 fi
1348
1349 if test -n "$ac_init_help"; then
1350
1351   cat <<\_ACEOF
1352
1353 Optional Features:
1354   --disable-option-checking  ignore unrecognized --enable/--with options
1355   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1356   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1357  --disable-got-check - disable check for GOT (needed on H8)
1358  --disable-emit-relocs - don't use the --emit-relocs (-q) linker option
1359   --enable-emit-ctor-dtor manually create ctor/dtor list
1360
1361 Optional Packages:
1362   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1363   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1364  --with-zlib-prefix=<dir>  path to installed zlib
1365  --with-libbfd=<file>  path to libbfd.a library to use
1366  --with-libiberty=<file>  path to libiberty.a library to use
1367  --with-bfd-include-dir=<dir>  include path for correct bfd.h
1368  --with-binutils-include-dir=<dir>  include path for binutils headers
1369  --with-binutils-ldscript-dir=<dir>  path to install elf2flt.ld
1370  --with-binutils-build-dir=<dir>  path to compiled binutils tree
1371
1372 Some influential environment variables:
1373   CC          C compiler command
1374   CFLAGS      C compiler flags
1375   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1376               nonstandard directory <lib dir>
1377   LIBS        libraries to pass to the linker, e.g. -l<library>
1378   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1379               you have headers in a nonstandard directory <include dir>
1380   CPP         C preprocessor
1381
1382 Use these variables to override the choices made by `configure' or to help
1383 it to find libraries and programs with nonstandard names/locations.
1384
1385 _ACEOF
1386 ac_status=$?
1387 fi
1388
1389 if test "$ac_init_help" = "recursive"; then
1390   # If there are subdirs, report their specific --help.
1391   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1392     test -d "$ac_dir" ||
1393       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1394       continue
1395     ac_builddir=.
1396
1397 case "$ac_dir" in
1398 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1399 *)
1400   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1401   # A ".." for each directory in $ac_dir_suffix.
1402   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1403   case $ac_top_builddir_sub in
1404   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1405   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1406   esac ;;
1407 esac
1408 ac_abs_top_builddir=$ac_pwd
1409 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1410 # for backward compatibility:
1411 ac_top_builddir=$ac_top_build_prefix
1412
1413 case $srcdir in
1414   .)  # We are building in place.
1415     ac_srcdir=.
1416     ac_top_srcdir=$ac_top_builddir_sub
1417     ac_abs_top_srcdir=$ac_pwd ;;
1418   [\\/]* | ?:[\\/]* )  # Absolute name.
1419     ac_srcdir=$srcdir$ac_dir_suffix;
1420     ac_top_srcdir=$srcdir
1421     ac_abs_top_srcdir=$srcdir ;;
1422   *) # Relative name.
1423     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1424     ac_top_srcdir=$ac_top_build_prefix$srcdir
1425     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1426 esac
1427 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1428
1429     cd "$ac_dir" || { ac_status=$?; continue; }
1430     # Check for guested configure.
1431     if test -f "$ac_srcdir/configure.gnu"; then
1432       echo &&
1433       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1434     elif test -f "$ac_srcdir/configure"; then
1435       echo &&
1436       $SHELL "$ac_srcdir/configure" --help=recursive
1437     else
1438       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1439     fi || ac_status=$?
1440     cd "$ac_pwd" || { ac_status=$?; break; }
1441   done
1442 fi
1443
1444 test -n "$ac_init_help" && exit $ac_status
1445 if $ac_init_version; then
1446   cat <<\_ACEOF
1447 configure
1448 generated by GNU Autoconf 2.63
1449
1450 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1451 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1452 This configure script is free software; the Free Software Foundation
1453 gives unlimited permission to copy, distribute and modify it.
1454 _ACEOF
1455   exit
1456 fi
1457 cat >config.log <<_ACEOF
1458 This file contains any messages produced by compilers while
1459 running configure, to aid debugging if configure makes a mistake.
1460
1461 It was created by $as_me, which was
1462 generated by GNU Autoconf 2.63.  Invocation command line was
1463
1464   $ $0 $@
1465
1466 _ACEOF
1467 exec 5>>config.log
1468 {
1469 cat <<_ASUNAME
1470 ## --------- ##
1471 ## Platform. ##
1472 ## --------- ##
1473
1474 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1475 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1476 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1477 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1478 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1479
1480 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1481 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1482
1483 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1484 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1485 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1486 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1487 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1488 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1489 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1490
1491 _ASUNAME
1492
1493 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1494 for as_dir in $PATH
1495 do
1496   IFS=$as_save_IFS
1497   test -z "$as_dir" && as_dir=.
1498   $as_echo "PATH: $as_dir"
1499 done
1500 IFS=$as_save_IFS
1501
1502 } >&5
1503
1504 cat >&5 <<_ACEOF
1505
1506
1507 ## ----------- ##
1508 ## Core tests. ##
1509 ## ----------- ##
1510
1511 _ACEOF
1512
1513
1514 # Keep a trace of the command line.
1515 # Strip out --no-create and --no-recursion so they do not pile up.
1516 # Strip out --silent because we don't want to record it for future runs.
1517 # Also quote any args containing shell meta-characters.
1518 # Make two passes to allow for proper duplicate-argument suppression.
1519 ac_configure_args=
1520 ac_configure_args0=
1521 ac_configure_args1=
1522 ac_must_keep_next=false
1523 for ac_pass in 1 2
1524 do
1525   for ac_arg
1526   do
1527     case $ac_arg in
1528     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1529     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1530     | -silent | --silent | --silen | --sile | --sil)
1531       continue ;;
1532     *\'*)
1533       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1534     esac
1535     case $ac_pass in
1536     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1537     2)
1538       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1539       if test $ac_must_keep_next = true; then
1540         ac_must_keep_next=false # Got value, back to normal.
1541       else
1542         case $ac_arg in
1543           *=* | --config-cache | -C | -disable-* | --disable-* \
1544           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1545           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1546           | -with-* | --with-* | -without-* | --without-* | --x)
1547             case "$ac_configure_args0 " in
1548               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1549             esac
1550             ;;
1551           -* ) ac_must_keep_next=true ;;
1552         esac
1553       fi
1554       ac_configure_args="$ac_configure_args '$ac_arg'"
1555       ;;
1556     esac
1557   done
1558 done
1559 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1560 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1561
1562 # When interrupted or exit'd, cleanup temporary files, and complete
1563 # config.log.  We remove comments because anyway the quotes in there
1564 # would cause problems or look ugly.
1565 # WARNING: Use '\'' to represent an apostrophe within the trap.
1566 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1567 trap 'exit_status=$?
1568   # Save into config.log some information that might help in debugging.
1569   {
1570     echo
1571
1572     cat <<\_ASBOX
1573 ## ---------------- ##
1574 ## Cache variables. ##
1575 ## ---------------- ##
1576 _ASBOX
1577     echo
1578     # The following way of writing the cache mishandles newlines in values,
1579 (
1580   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1581     eval ac_val=\$$ac_var
1582     case $ac_val in #(
1583     *${as_nl}*)
1584       case $ac_var in #(
1585       *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1586 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1587       esac
1588       case $ac_var in #(
1589       _ | IFS | as_nl) ;; #(
1590       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1591       *) $as_unset $ac_var ;;
1592       esac ;;
1593     esac
1594   done
1595   (set) 2>&1 |
1596     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1597     *${as_nl}ac_space=\ *)
1598       sed -n \
1599         "s/'\''/'\''\\\\'\'''\''/g;
1600           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1601       ;; #(
1602     *)
1603       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1604       ;;
1605     esac |
1606     sort
1607 )
1608     echo
1609
1610     cat <<\_ASBOX
1611 ## ----------------- ##
1612 ## Output variables. ##
1613 ## ----------------- ##
1614 _ASBOX
1615     echo
1616     for ac_var in $ac_subst_vars
1617     do
1618       eval ac_val=\$$ac_var
1619       case $ac_val in
1620       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1621       esac
1622       $as_echo "$ac_var='\''$ac_val'\''"
1623     done | sort
1624     echo
1625
1626     if test -n "$ac_subst_files"; then
1627       cat <<\_ASBOX
1628 ## ------------------- ##
1629 ## File substitutions. ##
1630 ## ------------------- ##
1631 _ASBOX
1632       echo
1633       for ac_var in $ac_subst_files
1634       do
1635         eval ac_val=\$$ac_var
1636         case $ac_val in
1637         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1638         esac
1639         $as_echo "$ac_var='\''$ac_val'\''"
1640       done | sort
1641       echo
1642     fi
1643
1644     if test -s confdefs.h; then
1645       cat <<\_ASBOX
1646 ## ----------- ##
1647 ## confdefs.h. ##
1648 ## ----------- ##
1649 _ASBOX
1650       echo
1651       cat confdefs.h
1652       echo
1653     fi
1654     test "$ac_signal" != 0 &&
1655       $as_echo "$as_me: caught signal $ac_signal"
1656     $as_echo "$as_me: exit $exit_status"
1657   } >&5
1658   rm -f core *.core core.conftest.* &&
1659     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1660     exit $exit_status
1661 ' 0
1662 for ac_signal in 1 2 13 15; do
1663   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1664 done
1665 ac_signal=0
1666
1667 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1668 rm -f -r conftest* confdefs.h
1669
1670 # Predefined preprocessor variables.
1671
1672 cat >>confdefs.h <<_ACEOF
1673 #define PACKAGE_NAME "$PACKAGE_NAME"
1674 _ACEOF
1675
1676
1677 cat >>confdefs.h <<_ACEOF
1678 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1679 _ACEOF
1680
1681
1682 cat >>confdefs.h <<_ACEOF
1683 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1684 _ACEOF
1685
1686
1687 cat >>confdefs.h <<_ACEOF
1688 #define PACKAGE_STRING "$PACKAGE_STRING"
1689 _ACEOF
1690
1691
1692 cat >>confdefs.h <<_ACEOF
1693 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1694 _ACEOF
1695
1696
1697 # Let the site file select an alternate cache file if it wants to.
1698 # Prefer an explicitly selected file to automatically selected ones.
1699 ac_site_file1=NONE
1700 ac_site_file2=NONE
1701 if test -n "$CONFIG_SITE"; then
1702   ac_site_file1=$CONFIG_SITE
1703 elif test "x$prefix" != xNONE; then
1704   ac_site_file1=$prefix/share/config.site
1705   ac_site_file2=$prefix/etc/config.site
1706 else
1707   ac_site_file1=$ac_default_prefix/share/config.site
1708   ac_site_file2=$ac_default_prefix/etc/config.site
1709 fi
1710 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1711 do
1712   test "x$ac_site_file" = xNONE && continue
1713   if test -r "$ac_site_file"; then
1714     { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1715 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1716     sed 's/^/| /' "$ac_site_file" >&5
1717     . "$ac_site_file"
1718   fi
1719 done
1720
1721 if test -r "$cache_file"; then
1722   # Some versions of bash will fail to source /dev/null (special
1723   # files actually), so we avoid doing that.
1724   if test -f "$cache_file"; then
1725     { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1726 $as_echo "$as_me: loading cache $cache_file" >&6;}
1727     case $cache_file in
1728       [\\/]* | ?:[\\/]* ) . "$cache_file";;
1729       *)                      . "./$cache_file";;
1730     esac
1731   fi
1732 else
1733   { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1734 $as_echo "$as_me: creating cache $cache_file" >&6;}
1735   >$cache_file
1736 fi
1737
1738 # Check that the precious variables saved in the cache have kept the same
1739 # value.
1740 ac_cache_corrupted=false
1741 for ac_var in $ac_precious_vars; do
1742   eval ac_old_set=\$ac_cv_env_${ac_var}_set
1743   eval ac_new_set=\$ac_env_${ac_var}_set
1744   eval ac_old_val=\$ac_cv_env_${ac_var}_value
1745   eval ac_new_val=\$ac_env_${ac_var}_value
1746   case $ac_old_set,$ac_new_set in
1747     set,)
1748       { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1749 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1750       ac_cache_corrupted=: ;;
1751     ,set)
1752       { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1753 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1754       ac_cache_corrupted=: ;;
1755     ,);;
1756     *)
1757       if test "x$ac_old_val" != "x$ac_new_val"; then
1758         # differences in whitespace do not lead to failure.
1759         ac_old_val_w=`echo x $ac_old_val`
1760         ac_new_val_w=`echo x $ac_new_val`
1761         if test "$ac_old_val_w" != "$ac_new_val_w"; then
1762           { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1763 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1764           ac_cache_corrupted=:
1765         else
1766           { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1767 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1768           eval $ac_var=\$ac_old_val
1769         fi
1770         { $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
1771 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
1772         { $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
1773 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
1774       fi;;
1775   esac
1776   # Pass precious variables to config.status.
1777   if test "$ac_new_set" = set; then
1778     case $ac_new_val in
1779     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1780     *) ac_arg=$ac_var=$ac_new_val ;;
1781     esac
1782     case " $ac_configure_args " in
1783       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1784       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1785     esac
1786   fi
1787 done
1788 if $ac_cache_corrupted; then
1789   { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1790 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1791   { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1792 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1793   { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1794 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1795    { (exit 1); exit 1; }; }
1796 fi
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814 ac_ext=c
1815 ac_cpp='$CPP $CPPFLAGS'
1816 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1817 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1818 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1819
1820
1821
1822
1823 # Check whether --with-zlib-prefix was given.
1824 if test "${with_zlib_prefix+set}" = set; then
1825   withval=$with_zlib_prefix;  ac_zlib_prefix=$withval
1826 else
1827    ac_zlib_prefix=NONE
1828
1829 fi
1830
1831
1832
1833 # Check whether --with-libbfd was given.
1834 if test "${with_libbfd+set}" = set; then
1835   withval=$with_libbfd;  ac_libbfd=$withval
1836 else
1837    ac_libbfd=NONE
1838
1839 fi
1840
1841
1842
1843 # Check whether --with-libiberty was given.
1844 if test "${with_libiberty+set}" = set; then
1845   withval=$with_libiberty;  ac_libiberty=$withval
1846 else
1847    ac_libiberty=NONE
1848
1849 fi
1850
1851
1852
1853 # Check whether --with-bfd-include-dir was given.
1854 if test "${with_bfd_include_dir+set}" = set; then
1855   withval=$with_bfd_include_dir;  ac_bfd_include_dir=$withval
1856 else
1857    ac_bfd_include_dir=NONE
1858
1859 fi
1860
1861
1862
1863 # Check whether --with-binutils-include-dir was given.
1864 if test "${with_binutils_include_dir+set}" = set; then
1865   withval=$with_binutils_include_dir;  ac_binutils_include_dir=$withval
1866 else
1867    ac_binutils_include_dir=NONE
1868
1869 fi
1870
1871
1872
1873 # Check whether --with-binutils-ldscript-dir was given.
1874 if test "${with_binutils_ldscript_dir+set}" = set; then
1875   withval=$with_binutils_ldscript_dir;  ac_binutils_ldscript_dir=$withval
1876 else
1877    ac_binutils_ldscript_dir=NONE
1878
1879 fi
1880
1881
1882
1883 # Check whether --with-binutils-build-dir was given.
1884 if test "${with_binutils_build_dir+set}" = set; then
1885   withval=$with_binutils_build_dir;  ac_binutils_build_dir=$withval
1886 else
1887    ac_binutils_build_dir=NONE
1888
1889 fi
1890
1891
1892 # Check whether --enable-got-check was given.
1893 if test "${enable_got_check+set}" = set; then
1894   enableval=$enable_got_check;  got_check=$enableval
1895 else
1896    got_check=yes
1897
1898 fi
1899
1900
1901 # Check whether --enable-emit-relocs was given.
1902 if test "${enable_emit_relocs+set}" = set; then
1903   enableval=$enable_emit_relocs;  emit_relocs=$enableval
1904 else
1905    emit_relocs=yes
1906
1907 fi
1908
1909
1910 # Check whether --enable-emit-ctor-dtor was given.
1911 if test "${enable_emit_ctor_dtor+set}" = set; then
1912   enableval=$enable_emit_ctor_dtor;  emit_ctor_dtor=$enableval
1913 else
1914    emit_ctor_dtor=no
1915
1916 fi
1917
1918
1919 ac_aux_dir=
1920 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1921   if test -f "$ac_dir/install-sh"; then
1922     ac_aux_dir=$ac_dir
1923     ac_install_sh="$ac_aux_dir/install-sh -c"
1924     break
1925   elif test -f "$ac_dir/install.sh"; then
1926     ac_aux_dir=$ac_dir
1927     ac_install_sh="$ac_aux_dir/install.sh -c"
1928     break
1929   elif test -f "$ac_dir/shtool"; then
1930     ac_aux_dir=$ac_dir
1931     ac_install_sh="$ac_aux_dir/shtool install -c"
1932     break
1933   fi
1934 done
1935 if test -z "$ac_aux_dir"; then
1936   { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1937 $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1938    { (exit 1); exit 1; }; }
1939 fi
1940
1941 # These three variables are undocumented and unsupported,
1942 # and are intended to be withdrawn in a future Autoconf release.
1943 # They can cause serious problems if a builder's source tree is in a directory
1944 # whose full name contains unusual characters.
1945 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
1946 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
1947 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
1948
1949
1950 # Make sure we can run config.sub.
1951 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1952   { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1953 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1954    { (exit 1); exit 1; }; }
1955
1956 { $as_echo "$as_me:$LINENO: checking build system type" >&5
1957 $as_echo_n "checking build system type... " >&6; }
1958 if test "${ac_cv_build+set}" = set; then
1959   $as_echo_n "(cached) " >&6
1960 else
1961   ac_build_alias=$build_alias
1962 test "x$ac_build_alias" = x &&
1963   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1964 test "x$ac_build_alias" = x &&
1965   { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1966 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1967    { (exit 1); exit 1; }; }
1968 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1969   { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1970 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1971    { (exit 1); exit 1; }; }
1972
1973 fi
1974 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1975 $as_echo "$ac_cv_build" >&6; }
1976 case $ac_cv_build in
1977 *-*-*) ;;
1978 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1979 $as_echo "$as_me: error: invalid value of canonical build" >&2;}
1980    { (exit 1); exit 1; }; };;
1981 esac
1982 build=$ac_cv_build
1983 ac_save_IFS=$IFS; IFS='-'
1984 set x $ac_cv_build
1985 shift
1986 build_cpu=$1
1987 build_vendor=$2
1988 shift; shift
1989 # Remember, the first character of IFS is used to create $*,
1990 # except with old shells:
1991 build_os=$*
1992 IFS=$ac_save_IFS
1993 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1994
1995
1996 { $as_echo "$as_me:$LINENO: checking host system type" >&5
1997 $as_echo_n "checking host system type... " >&6; }
1998 if test "${ac_cv_host+set}" = set; then
1999   $as_echo_n "(cached) " >&6
2000 else
2001   if test "x$host_alias" = x; then
2002   ac_cv_host=$ac_cv_build
2003 else
2004   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2005     { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2006 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2007    { (exit 1); exit 1; }; }
2008 fi
2009
2010 fi
2011 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2012 $as_echo "$ac_cv_host" >&6; }
2013 case $ac_cv_host in
2014 *-*-*) ;;
2015 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2016 $as_echo "$as_me: error: invalid value of canonical host" >&2;}
2017    { (exit 1); exit 1; }; };;
2018 esac
2019 host=$ac_cv_host
2020 ac_save_IFS=$IFS; IFS='-'
2021 set x $ac_cv_host
2022 shift
2023 host_cpu=$1
2024 host_vendor=$2
2025 shift; shift
2026 # Remember, the first character of IFS is used to create $*,
2027 # except with old shells:
2028 host_os=$*
2029 IFS=$ac_save_IFS
2030 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2031
2032
2033 { $as_echo "$as_me:$LINENO: checking target system type" >&5
2034 $as_echo_n "checking target system type... " >&6; }
2035 if test "${ac_cv_target+set}" = set; then
2036   $as_echo_n "(cached) " >&6
2037 else
2038   if test "x$target_alias" = x; then
2039   ac_cv_target=$ac_cv_host
2040 else
2041   ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2042     { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2043 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2044    { (exit 1); exit 1; }; }
2045 fi
2046
2047 fi
2048 { $as_echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2049 $as_echo "$ac_cv_target" >&6; }
2050 case $ac_cv_target in
2051 *-*-*) ;;
2052 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2053 $as_echo "$as_me: error: invalid value of canonical target" >&2;}
2054    { (exit 1); exit 1; }; };;
2055 esac
2056 target=$ac_cv_target
2057 ac_save_IFS=$IFS; IFS='-'
2058 set x $ac_cv_target
2059 shift
2060 target_cpu=$1
2061 target_vendor=$2
2062 shift; shift
2063 # Remember, the first character of IFS is used to create $*,
2064 # except with old shells:
2065 target_os=$*
2066 IFS=$ac_save_IFS
2067 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2068
2069
2070 # The aliases save the names the user supplied, while $host etc.
2071 # will get canonicalized.
2072 test -n "$target_alias" &&
2073   test "$program_prefix$program_suffix$program_transform_name" = \
2074     NONENONEs,x,x, &&
2075   program_prefix=${target_alias}-
2076
2077 ac_ext=c
2078 ac_cpp='$CPP $CPPFLAGS'
2079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2082 if test -n "$ac_tool_prefix"; then
2083   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2084 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2085 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2086 $as_echo_n "checking for $ac_word... " >&6; }
2087 if test "${ac_cv_prog_CC+set}" = set; then
2088   $as_echo_n "(cached) " >&6
2089 else
2090   if test -n "$CC"; then
2091   ac_cv_prog_CC="$CC" # Let the user override the test.
2092 else
2093 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2094 for as_dir in $PATH
2095 do
2096   IFS=$as_save_IFS
2097   test -z "$as_dir" && as_dir=.
2098   for ac_exec_ext in '' $ac_executable_extensions; do
2099   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2100     ac_cv_prog_CC="${ac_tool_prefix}gcc"
2101     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2102     break 2
2103   fi
2104 done
2105 done
2106 IFS=$as_save_IFS
2107
2108 fi
2109 fi
2110 CC=$ac_cv_prog_CC
2111 if test -n "$CC"; then
2112   { $as_echo "$as_me:$LINENO: result: $CC" >&5
2113 $as_echo "$CC" >&6; }
2114 else
2115   { $as_echo "$as_me:$LINENO: result: no" >&5
2116 $as_echo "no" >&6; }
2117 fi
2118
2119
2120 fi
2121 if test -z "$ac_cv_prog_CC"; then
2122   ac_ct_CC=$CC
2123   # Extract the first word of "gcc", so it can be a program name with args.
2124 set dummy gcc; ac_word=$2
2125 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2126 $as_echo_n "checking for $ac_word... " >&6; }
2127 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2128   $as_echo_n "(cached) " >&6
2129 else
2130   if test -n "$ac_ct_CC"; then
2131   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2132 else
2133 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2134 for as_dir in $PATH
2135 do
2136   IFS=$as_save_IFS
2137   test -z "$as_dir" && as_dir=.
2138   for ac_exec_ext in '' $ac_executable_extensions; do
2139   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2140     ac_cv_prog_ac_ct_CC="gcc"
2141     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2142     break 2
2143   fi
2144 done
2145 done
2146 IFS=$as_save_IFS
2147
2148 fi
2149 fi
2150 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2151 if test -n "$ac_ct_CC"; then
2152   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2153 $as_echo "$ac_ct_CC" >&6; }
2154 else
2155   { $as_echo "$as_me:$LINENO: result: no" >&5
2156 $as_echo "no" >&6; }
2157 fi
2158
2159   if test "x$ac_ct_CC" = x; then
2160     CC=""
2161   else
2162     case $cross_compiling:$ac_tool_warned in
2163 yes:)
2164 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2165 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2166 ac_tool_warned=yes ;;
2167 esac
2168     CC=$ac_ct_CC
2169   fi
2170 else
2171   CC="$ac_cv_prog_CC"
2172 fi
2173
2174 if test -z "$CC"; then
2175           if test -n "$ac_tool_prefix"; then
2176     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2177 set dummy ${ac_tool_prefix}cc; ac_word=$2
2178 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2179 $as_echo_n "checking for $ac_word... " >&6; }
2180 if test "${ac_cv_prog_CC+set}" = set; then
2181   $as_echo_n "(cached) " >&6
2182 else
2183   if test -n "$CC"; then
2184   ac_cv_prog_CC="$CC" # Let the user override the test.
2185 else
2186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2187 for as_dir in $PATH
2188 do
2189   IFS=$as_save_IFS
2190   test -z "$as_dir" && as_dir=.
2191   for ac_exec_ext in '' $ac_executable_extensions; do
2192   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2193     ac_cv_prog_CC="${ac_tool_prefix}cc"
2194     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2195     break 2
2196   fi
2197 done
2198 done
2199 IFS=$as_save_IFS
2200
2201 fi
2202 fi
2203 CC=$ac_cv_prog_CC
2204 if test -n "$CC"; then
2205   { $as_echo "$as_me:$LINENO: result: $CC" >&5
2206 $as_echo "$CC" >&6; }
2207 else
2208   { $as_echo "$as_me:$LINENO: result: no" >&5
2209 $as_echo "no" >&6; }
2210 fi
2211
2212
2213   fi
2214 fi
2215 if test -z "$CC"; then
2216   # Extract the first word of "cc", so it can be a program name with args.
2217 set dummy cc; ac_word=$2
2218 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2219 $as_echo_n "checking for $ac_word... " >&6; }
2220 if test "${ac_cv_prog_CC+set}" = set; then
2221   $as_echo_n "(cached) " >&6
2222 else
2223   if test -n "$CC"; then
2224   ac_cv_prog_CC="$CC" # Let the user override the test.
2225 else
2226   ac_prog_rejected=no
2227 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2228 for as_dir in $PATH
2229 do
2230   IFS=$as_save_IFS
2231   test -z "$as_dir" && as_dir=.
2232   for ac_exec_ext in '' $ac_executable_extensions; do
2233   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2234     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2235        ac_prog_rejected=yes
2236        continue
2237      fi
2238     ac_cv_prog_CC="cc"
2239     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2240     break 2
2241   fi
2242 done
2243 done
2244 IFS=$as_save_IFS
2245
2246 if test $ac_prog_rejected = yes; then
2247   # We found a bogon in the path, so make sure we never use it.
2248   set dummy $ac_cv_prog_CC
2249   shift
2250   if test $# != 0; then
2251     # We chose a different compiler from the bogus one.
2252     # However, it has the same basename, so the bogon will be chosen
2253     # first if we set CC to just the basename; use the full file name.
2254     shift
2255     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2256   fi
2257 fi
2258 fi
2259 fi
2260 CC=$ac_cv_prog_CC
2261 if test -n "$CC"; then
2262   { $as_echo "$as_me:$LINENO: result: $CC" >&5
2263 $as_echo "$CC" >&6; }
2264 else
2265   { $as_echo "$as_me:$LINENO: result: no" >&5
2266 $as_echo "no" >&6; }
2267 fi
2268
2269
2270 fi
2271 if test -z "$CC"; then
2272   if test -n "$ac_tool_prefix"; then
2273   for ac_prog in cl.exe
2274   do
2275     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2276 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2277 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2278 $as_echo_n "checking for $ac_word... " >&6; }
2279 if test "${ac_cv_prog_CC+set}" = set; then
2280   $as_echo_n "(cached) " >&6
2281 else
2282   if test -n "$CC"; then
2283   ac_cv_prog_CC="$CC" # Let the user override the test.
2284 else
2285 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2286 for as_dir in $PATH
2287 do
2288   IFS=$as_save_IFS
2289   test -z "$as_dir" && as_dir=.
2290   for ac_exec_ext in '' $ac_executable_extensions; do
2291   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2292     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2293     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2294     break 2
2295   fi
2296 done
2297 done
2298 IFS=$as_save_IFS
2299
2300 fi
2301 fi
2302 CC=$ac_cv_prog_CC
2303 if test -n "$CC"; then
2304   { $as_echo "$as_me:$LINENO: result: $CC" >&5
2305 $as_echo "$CC" >&6; }
2306 else
2307   { $as_echo "$as_me:$LINENO: result: no" >&5
2308 $as_echo "no" >&6; }
2309 fi
2310
2311
2312     test -n "$CC" && break
2313   done
2314 fi
2315 if test -z "$CC"; then
2316   ac_ct_CC=$CC
2317   for ac_prog in cl.exe
2318 do
2319   # Extract the first word of "$ac_prog", so it can be a program name with args.
2320 set dummy $ac_prog; ac_word=$2
2321 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2322 $as_echo_n "checking for $ac_word... " >&6; }
2323 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2324   $as_echo_n "(cached) " >&6
2325 else
2326   if test -n "$ac_ct_CC"; then
2327   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2328 else
2329 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2330 for as_dir in $PATH
2331 do
2332   IFS=$as_save_IFS
2333   test -z "$as_dir" && as_dir=.
2334   for ac_exec_ext in '' $ac_executable_extensions; do
2335   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2336     ac_cv_prog_ac_ct_CC="$ac_prog"
2337     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2338     break 2
2339   fi
2340 done
2341 done
2342 IFS=$as_save_IFS
2343
2344 fi
2345 fi
2346 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2347 if test -n "$ac_ct_CC"; then
2348   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2349 $as_echo "$ac_ct_CC" >&6; }
2350 else
2351   { $as_echo "$as_me:$LINENO: result: no" >&5
2352 $as_echo "no" >&6; }
2353 fi
2354
2355
2356   test -n "$ac_ct_CC" && break
2357 done
2358
2359   if test "x$ac_ct_CC" = x; then
2360     CC=""
2361   else
2362     case $cross_compiling:$ac_tool_warned in
2363 yes:)
2364 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2365 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2366 ac_tool_warned=yes ;;
2367 esac
2368     CC=$ac_ct_CC
2369   fi
2370 fi
2371
2372 fi
2373
2374
2375 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2376 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2377 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2378 See \`config.log' for more details." >&5
2379 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2380 See \`config.log' for more details." >&2;}
2381    { (exit 1); exit 1; }; }; }
2382
2383 # Provide some information about the compiler.
2384 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
2385 set X $ac_compile
2386 ac_compiler=$2
2387 { (ac_try="$ac_compiler --version >&5"
2388 case "(($ac_try" in
2389   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2390   *) ac_try_echo=$ac_try;;
2391 esac
2392 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2393 $as_echo "$ac_try_echo") >&5
2394   (eval "$ac_compiler --version >&5") 2>&5
2395   ac_status=$?
2396   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2397   (exit $ac_status); }
2398 { (ac_try="$ac_compiler -v >&5"
2399 case "(($ac_try" in
2400   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2401   *) ac_try_echo=$ac_try;;
2402 esac
2403 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2404 $as_echo "$ac_try_echo") >&5
2405   (eval "$ac_compiler -v >&5") 2>&5
2406   ac_status=$?
2407   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2408   (exit $ac_status); }
2409 { (ac_try="$ac_compiler -V >&5"
2410 case "(($ac_try" in
2411   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2412   *) ac_try_echo=$ac_try;;
2413 esac
2414 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2415 $as_echo "$ac_try_echo") >&5
2416   (eval "$ac_compiler -V >&5") 2>&5
2417   ac_status=$?
2418   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2419   (exit $ac_status); }
2420
2421 cat >conftest.$ac_ext <<_ACEOF
2422 /* confdefs.h.  */
2423 _ACEOF
2424 cat confdefs.h >>conftest.$ac_ext
2425 cat >>conftest.$ac_ext <<_ACEOF
2426 /* end confdefs.h.  */
2427
2428 int
2429 main ()
2430 {
2431
2432   ;
2433   return 0;
2434 }
2435 _ACEOF
2436 ac_clean_files_save=$ac_clean_files
2437 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2438 # Try to create an executable without -o first, disregard a.out.
2439 # It will help us diagnose broken compilers, and finding out an intuition
2440 # of exeext.
2441 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2442 $as_echo_n "checking for C compiler default output file name... " >&6; }
2443 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2444
2445 # The possible output files:
2446 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2447
2448 ac_rmfiles=
2449 for ac_file in $ac_files
2450 do
2451   case $ac_file in
2452     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2453     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2454   esac
2455 done
2456 rm -f $ac_rmfiles
2457
2458 if { (ac_try="$ac_link_default"
2459 case "(($ac_try" in
2460   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2461   *) ac_try_echo=$ac_try;;
2462 esac
2463 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2464 $as_echo "$ac_try_echo") >&5
2465   (eval "$ac_link_default") 2>&5
2466   ac_status=$?
2467   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2468   (exit $ac_status); }; then
2469   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2470 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2471 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
2472 # so that the user can short-circuit this test for compilers unknown to
2473 # Autoconf.
2474 for ac_file in $ac_files ''
2475 do
2476   test -f "$ac_file" || continue
2477   case $ac_file in
2478     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2479         ;;
2480     [ab].out )
2481         # We found the default executable, but exeext='' is most
2482         # certainly right.
2483         break;;
2484     *.* )
2485         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2486         then :; else
2487            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2488         fi
2489         # We set ac_cv_exeext here because the later test for it is not
2490         # safe: cross compilers may not add the suffix if given an `-o'
2491         # argument, so we may need to know it at that point already.
2492         # Even if this section looks crufty: it has the advantage of
2493         # actually working.
2494         break;;
2495     * )
2496         break;;
2497   esac
2498 done
2499 test "$ac_cv_exeext" = no && ac_cv_exeext=
2500
2501 else
2502   ac_file=''
2503 fi
2504
2505 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
2506 $as_echo "$ac_file" >&6; }
2507 if test -z "$ac_file"; then
2508   $as_echo "$as_me: failed program was:" >&5
2509 sed 's/^/| /' conftest.$ac_ext >&5
2510
2511 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2512 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2513 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
2514 See \`config.log' for more details." >&5
2515 $as_echo "$as_me: error: C compiler cannot create executables
2516 See \`config.log' for more details." >&2;}
2517    { (exit 77); exit 77; }; }; }
2518 fi
2519
2520 ac_exeext=$ac_cv_exeext
2521
2522 # Check that the compiler produces executables we can run.  If not, either
2523 # the compiler is broken, or we cross compile.
2524 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2525 $as_echo_n "checking whether the C compiler works... " >&6; }
2526 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2527 # If not cross compiling, check that we can run a simple program.
2528 if test "$cross_compiling" != yes; then
2529   if { ac_try='./$ac_file'
2530   { (case "(($ac_try" in
2531   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2532   *) ac_try_echo=$ac_try;;
2533 esac
2534 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2535 $as_echo "$ac_try_echo") >&5
2536   (eval "$ac_try") 2>&5
2537   ac_status=$?
2538   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2539   (exit $ac_status); }; }; then
2540     cross_compiling=no
2541   else
2542     if test "$cross_compiling" = maybe; then
2543         cross_compiling=yes
2544     else
2545         { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2546 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2547 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
2548 If you meant to cross compile, use \`--host'.
2549 See \`config.log' for more details." >&5
2550 $as_echo "$as_me: error: cannot run C compiled programs.
2551 If you meant to cross compile, use \`--host'.
2552 See \`config.log' for more details." >&2;}
2553    { (exit 1); exit 1; }; }; }
2554     fi
2555   fi
2556 fi
2557 { $as_echo "$as_me:$LINENO: result: yes" >&5
2558 $as_echo "yes" >&6; }
2559
2560 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2561 ac_clean_files=$ac_clean_files_save
2562 # Check that the compiler produces executables we can run.  If not, either
2563 # the compiler is broken, or we cross compile.
2564 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2565 $as_echo_n "checking whether we are cross compiling... " >&6; }
2566 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
2567 $as_echo "$cross_compiling" >&6; }
2568
2569 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
2570 $as_echo_n "checking for suffix of executables... " >&6; }
2571 if { (ac_try="$ac_link"
2572 case "(($ac_try" in
2573   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2574   *) ac_try_echo=$ac_try;;
2575 esac
2576 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2577 $as_echo "$ac_try_echo") >&5
2578   (eval "$ac_link") 2>&5
2579   ac_status=$?
2580   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2581   (exit $ac_status); }; then
2582   # If both `conftest.exe' and `conftest' are `present' (well, observable)
2583 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2584 # work properly (i.e., refer to `conftest.exe'), while it won't with
2585 # `rm'.
2586 for ac_file in conftest.exe conftest conftest.*; do
2587   test -f "$ac_file" || continue
2588   case $ac_file in
2589     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2590     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2591           break;;
2592     * ) break;;
2593   esac
2594 done
2595 else
2596   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2597 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2598 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2599 See \`config.log' for more details." >&5
2600 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2601 See \`config.log' for more details." >&2;}
2602    { (exit 1); exit 1; }; }; }
2603 fi
2604
2605 rm -f conftest$ac_cv_exeext
2606 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2607 $as_echo "$ac_cv_exeext" >&6; }
2608
2609 rm -f conftest.$ac_ext
2610 EXEEXT=$ac_cv_exeext
2611 ac_exeext=$EXEEXT
2612 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
2613 $as_echo_n "checking for suffix of object files... " >&6; }
2614 if test "${ac_cv_objext+set}" = set; then
2615   $as_echo_n "(cached) " >&6
2616 else
2617   cat >conftest.$ac_ext <<_ACEOF
2618 /* confdefs.h.  */
2619 _ACEOF
2620 cat confdefs.h >>conftest.$ac_ext
2621 cat >>conftest.$ac_ext <<_ACEOF
2622 /* end confdefs.h.  */
2623
2624 int
2625 main ()
2626 {
2627
2628   ;
2629   return 0;
2630 }
2631 _ACEOF
2632 rm -f conftest.o conftest.obj
2633 if { (ac_try="$ac_compile"
2634 case "(($ac_try" in
2635   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2636   *) ac_try_echo=$ac_try;;
2637 esac
2638 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2639 $as_echo "$ac_try_echo") >&5
2640   (eval "$ac_compile") 2>&5
2641   ac_status=$?
2642   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2643   (exit $ac_status); }; then
2644   for ac_file in conftest.o conftest.obj conftest.*; do
2645   test -f "$ac_file" || continue;
2646   case $ac_file in
2647     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2648     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2649        break;;
2650   esac
2651 done
2652 else
2653   $as_echo "$as_me: failed program was:" >&5
2654 sed 's/^/| /' conftest.$ac_ext >&5
2655
2656 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2657 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2658 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2659 See \`config.log' for more details." >&5
2660 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
2661 See \`config.log' for more details." >&2;}
2662    { (exit 1); exit 1; }; }; }
2663 fi
2664
2665 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2666 fi
2667 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2668 $as_echo "$ac_cv_objext" >&6; }
2669 OBJEXT=$ac_cv_objext
2670 ac_objext=$OBJEXT
2671 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2672 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2673 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2674   $as_echo_n "(cached) " >&6
2675 else
2676   cat >conftest.$ac_ext <<_ACEOF
2677 /* confdefs.h.  */
2678 _ACEOF
2679 cat confdefs.h >>conftest.$ac_ext
2680 cat >>conftest.$ac_ext <<_ACEOF
2681 /* end confdefs.h.  */
2682
2683 int
2684 main ()
2685 {
2686 #ifndef __GNUC__
2687        choke me
2688 #endif
2689
2690   ;
2691   return 0;
2692 }
2693 _ACEOF
2694 rm -f conftest.$ac_objext
2695 if { (ac_try="$ac_compile"
2696 case "(($ac_try" in
2697   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2698   *) ac_try_echo=$ac_try;;
2699 esac
2700 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2701 $as_echo "$ac_try_echo") >&5
2702   (eval "$ac_compile") 2>conftest.er1
2703   ac_status=$?
2704   grep -v '^ *+' conftest.er1 >conftest.err
2705   rm -f conftest.er1
2706   cat conftest.err >&5
2707   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2708   (exit $ac_status); } && {
2709          test -z "$ac_c_werror_flag" ||
2710          test ! -s conftest.err
2711        } && test -s conftest.$ac_objext; then
2712   ac_compiler_gnu=yes
2713 else
2714   $as_echo "$as_me: failed program was:" >&5
2715 sed 's/^/| /' conftest.$ac_ext >&5
2716
2717         ac_compiler_gnu=no
2718 fi
2719
2720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2721 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2722
2723 fi
2724 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2725 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2726 if test $ac_compiler_gnu = yes; then
2727   GCC=yes
2728 else
2729   GCC=
2730 fi
2731 ac_test_CFLAGS=${CFLAGS+set}
2732 ac_save_CFLAGS=$CFLAGS
2733 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2734 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2735 if test "${ac_cv_prog_cc_g+set}" = set; then
2736   $as_echo_n "(cached) " >&6
2737 else
2738   ac_save_c_werror_flag=$ac_c_werror_flag
2739    ac_c_werror_flag=yes
2740    ac_cv_prog_cc_g=no
2741    CFLAGS="-g"
2742    cat >conftest.$ac_ext <<_ACEOF
2743 /* confdefs.h.  */
2744 _ACEOF
2745 cat confdefs.h >>conftest.$ac_ext
2746 cat >>conftest.$ac_ext <<_ACEOF
2747 /* end confdefs.h.  */
2748
2749 int
2750 main ()
2751 {
2752
2753   ;
2754   return 0;
2755 }
2756 _ACEOF
2757 rm -f conftest.$ac_objext
2758 if { (ac_try="$ac_compile"
2759 case "(($ac_try" in
2760   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2761   *) ac_try_echo=$ac_try;;
2762 esac
2763 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2764 $as_echo "$ac_try_echo") >&5
2765   (eval "$ac_compile") 2>conftest.er1
2766   ac_status=$?
2767   grep -v '^ *+' conftest.er1 >conftest.err
2768   rm -f conftest.er1
2769   cat conftest.err >&5
2770   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2771   (exit $ac_status); } && {
2772          test -z "$ac_c_werror_flag" ||
2773          test ! -s conftest.err
2774        } && test -s conftest.$ac_objext; then
2775   ac_cv_prog_cc_g=yes
2776 else
2777   $as_echo "$as_me: failed program was:" >&5
2778 sed 's/^/| /' conftest.$ac_ext >&5
2779
2780         CFLAGS=""
2781       cat >conftest.$ac_ext <<_ACEOF
2782 /* confdefs.h.  */
2783 _ACEOF
2784 cat confdefs.h >>conftest.$ac_ext
2785 cat >>conftest.$ac_ext <<_ACEOF
2786 /* end confdefs.h.  */
2787
2788 int
2789 main ()
2790 {
2791
2792   ;
2793   return 0;
2794 }
2795 _ACEOF
2796 rm -f conftest.$ac_objext
2797 if { (ac_try="$ac_compile"
2798 case "(($ac_try" in
2799   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2800   *) ac_try_echo=$ac_try;;
2801 esac
2802 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2803 $as_echo "$ac_try_echo") >&5
2804   (eval "$ac_compile") 2>conftest.er1
2805   ac_status=$?
2806   grep -v '^ *+' conftest.er1 >conftest.err
2807   rm -f conftest.er1
2808   cat conftest.err >&5
2809   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2810   (exit $ac_status); } && {
2811          test -z "$ac_c_werror_flag" ||
2812          test ! -s conftest.err
2813        } && test -s conftest.$ac_objext; then
2814   :
2815 else
2816   $as_echo "$as_me: failed program was:" >&5
2817 sed 's/^/| /' conftest.$ac_ext >&5
2818
2819         ac_c_werror_flag=$ac_save_c_werror_flag
2820          CFLAGS="-g"
2821          cat >conftest.$ac_ext <<_ACEOF
2822 /* confdefs.h.  */
2823 _ACEOF
2824 cat confdefs.h >>conftest.$ac_ext
2825 cat >>conftest.$ac_ext <<_ACEOF
2826 /* end confdefs.h.  */
2827
2828 int
2829 main ()
2830 {
2831
2832   ;
2833   return 0;
2834 }
2835 _ACEOF
2836 rm -f conftest.$ac_objext
2837 if { (ac_try="$ac_compile"
2838 case "(($ac_try" in
2839   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2840   *) ac_try_echo=$ac_try;;
2841 esac
2842 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2843 $as_echo "$ac_try_echo") >&5
2844   (eval "$ac_compile") 2>conftest.er1
2845   ac_status=$?
2846   grep -v '^ *+' conftest.er1 >conftest.err
2847   rm -f conftest.er1
2848   cat conftest.err >&5
2849   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2850   (exit $ac_status); } && {
2851          test -z "$ac_c_werror_flag" ||
2852          test ! -s conftest.err
2853        } && test -s conftest.$ac_objext; then
2854   ac_cv_prog_cc_g=yes
2855 else
2856   $as_echo "$as_me: failed program was:" >&5
2857 sed 's/^/| /' conftest.$ac_ext >&5
2858
2859
2860 fi
2861
2862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2863 fi
2864
2865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2866 fi
2867
2868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2869    ac_c_werror_flag=$ac_save_c_werror_flag
2870 fi
2871 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2872 $as_echo "$ac_cv_prog_cc_g" >&6; }
2873 if test "$ac_test_CFLAGS" = set; then
2874   CFLAGS=$ac_save_CFLAGS
2875 elif test $ac_cv_prog_cc_g = yes; then
2876   if test "$GCC" = yes; then
2877     CFLAGS="-g -O2"
2878   else
2879     CFLAGS="-g"
2880   fi
2881 else
2882   if test "$GCC" = yes; then
2883     CFLAGS="-O2"
2884   else
2885     CFLAGS=
2886   fi
2887 fi
2888 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2889 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2890 if test "${ac_cv_prog_cc_c89+set}" = set; then
2891   $as_echo_n "(cached) " >&6
2892 else
2893   ac_cv_prog_cc_c89=no
2894 ac_save_CC=$CC
2895 cat >conftest.$ac_ext <<_ACEOF
2896 /* confdefs.h.  */
2897 _ACEOF
2898 cat confdefs.h >>conftest.$ac_ext
2899 cat >>conftest.$ac_ext <<_ACEOF
2900 /* end confdefs.h.  */
2901 #include <stdarg.h>
2902 #include <stdio.h>
2903 #include <sys/types.h>
2904 #include <sys/stat.h>
2905 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
2906 struct buf { int x; };
2907 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2908 static char *e (p, i)
2909      char **p;
2910      int i;
2911 {
2912   return p[i];
2913 }
2914 static char *f (char * (*g) (char **, int), char **p, ...)
2915 {
2916   char *s;
2917   va_list v;
2918   va_start (v,p);
2919   s = g (p, va_arg (v,int));
2920   va_end (v);
2921   return s;
2922 }
2923
2924 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
2925    function prototypes and stuff, but not '\xHH' hex character constants.
2926    These don't provoke an error unfortunately, instead are silently treated
2927    as 'x'.  The following induces an error, until -std is added to get
2928    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
2929    array size at least.  It's necessary to write '\x00'==0 to get something
2930    that's true only with -std.  */
2931 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2932
2933 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2934    inside strings and character constants.  */
2935 #define FOO(x) 'x'
2936 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2937
2938 int test (int i, double x);
2939 struct s1 {int (*f) (int a);};
2940 struct s2 {int (*f) (double a);};
2941 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2942 int argc;
2943 char **argv;
2944 int
2945 main ()
2946 {
2947 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
2948   ;
2949   return 0;
2950 }
2951 _ACEOF
2952 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2953         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2954 do
2955   CC="$ac_save_CC $ac_arg"
2956   rm -f conftest.$ac_objext
2957 if { (ac_try="$ac_compile"
2958 case "(($ac_try" in
2959   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2960   *) ac_try_echo=$ac_try;;
2961 esac
2962 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2963 $as_echo "$ac_try_echo") >&5
2964   (eval "$ac_compile") 2>conftest.er1
2965   ac_status=$?
2966   grep -v '^ *+' conftest.er1 >conftest.err
2967   rm -f conftest.er1
2968   cat conftest.err >&5
2969   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2970   (exit $ac_status); } && {
2971          test -z "$ac_c_werror_flag" ||
2972          test ! -s conftest.err
2973        } && test -s conftest.$ac_objext; then
2974   ac_cv_prog_cc_c89=$ac_arg
2975 else
2976   $as_echo "$as_me: failed program was:" >&5
2977 sed 's/^/| /' conftest.$ac_ext >&5
2978
2979
2980 fi
2981
2982 rm -f core conftest.err conftest.$ac_objext
2983   test "x$ac_cv_prog_cc_c89" != "xno" && break
2984 done
2985 rm -f conftest.$ac_ext
2986 CC=$ac_save_CC
2987
2988 fi
2989 # AC_CACHE_VAL
2990 case "x$ac_cv_prog_cc_c89" in
2991   x)
2992     { $as_echo "$as_me:$LINENO: result: none needed" >&5
2993 $as_echo "none needed" >&6; } ;;
2994   xno)
2995     { $as_echo "$as_me:$LINENO: result: unsupported" >&5
2996 $as_echo "unsupported" >&6; } ;;
2997   *)
2998     CC="$CC $ac_cv_prog_cc_c89"
2999     { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3000 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3001 esac
3002
3003
3004 ac_ext=c
3005 ac_cpp='$CPP $CPPFLAGS'
3006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3009
3010 # Find a good install program.  We prefer a C program (faster),
3011 # so one script is as good as another.  But avoid the broken or
3012 # incompatible versions:
3013 # SysV /etc/install, /usr/sbin/install
3014 # SunOS /usr/etc/install
3015 # IRIX /sbin/install
3016 # AIX /bin/install
3017 # AmigaOS /C/install, which installs bootblocks on floppy discs
3018 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3019 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3020 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3021 # OS/2's system install, which has a completely different semantic
3022 # ./install, which can be erroneously created by make from ./install.sh.
3023 # Reject install programs that cannot install multiple files.
3024 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3025 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3026 if test -z "$INSTALL"; then
3027 if test "${ac_cv_path_install+set}" = set; then
3028   $as_echo_n "(cached) " >&6
3029 else
3030   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3031 for as_dir in $PATH
3032 do
3033   IFS=$as_save_IFS
3034   test -z "$as_dir" && as_dir=.
3035   # Account for people who put trailing slashes in PATH elements.
3036 case $as_dir/ in
3037   ./ | .// | /cC/* | \
3038   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3039   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
3040   /usr/ucb/* ) ;;
3041   *)
3042     # OSF1 and SCO ODT 3.0 have their own names for install.
3043     # Don't use installbsd from OSF since it installs stuff as root
3044     # by default.
3045     for ac_prog in ginstall scoinst install; do
3046       for ac_exec_ext in '' $ac_executable_extensions; do
3047         if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3048           if test $ac_prog = install &&
3049             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3050             # AIX install.  It has an incompatible calling convention.
3051             :
3052           elif test $ac_prog = install &&
3053             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3054             # program-specific install script used by HP pwplus--don't use.
3055             :
3056           else
3057             rm -rf conftest.one conftest.two conftest.dir
3058             echo one > conftest.one
3059             echo two > conftest.two
3060             mkdir conftest.dir
3061             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3062               test -s conftest.one && test -s conftest.two &&
3063               test -s conftest.dir/conftest.one &&
3064               test -s conftest.dir/conftest.two
3065             then
3066               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3067               break 3
3068             fi
3069           fi
3070         fi
3071       done
3072     done
3073     ;;
3074 esac
3075
3076 done
3077 IFS=$as_save_IFS
3078
3079 rm -rf conftest.one conftest.two conftest.dir
3080
3081 fi
3082   if test "${ac_cv_path_install+set}" = set; then
3083     INSTALL=$ac_cv_path_install
3084   else
3085     # As a last resort, use the slow shell script.  Don't cache a
3086     # value for INSTALL within a source directory, because that will
3087     # break other packages using the cache if that directory is
3088     # removed, or if the value is a relative name.
3089     INSTALL=$ac_install_sh
3090   fi
3091 fi
3092 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
3093 $as_echo "$INSTALL" >&6; }
3094
3095 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3096 # It thinks the first close brace ends the variable substitution.
3097 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3098
3099 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3100
3101 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3102
3103
3104 if test "$ac_binutils_build_dir" != "NONE"; then
3105   test "$ac_libbfd"               = "NONE" && ac_libbfd="$ac_binutils_build_dir/bfd/libbfd.a"
3106   test "$ac_libiberty"            = "NONE" && ac_libiberty="$ac_binutils_build_dir/libiberty/libiberty.a"
3107   test "$ac_bfd_include_dir"      = "NONE" && ac_bfd_include_dir="$ac_binutils_build_dir/bfd"
3108   test "$ac_binutils_include_dir" = "NONE" && ac_binutils_include_dir="$ac_binutils_build_dir/include"
3109 fi
3110
3111 if test "$ac_libiberty" = "NONE"; then
3112
3113
3114 { $as_echo "$as_me:$LINENO: checking for objalloc_create in -liberty" >&5
3115 $as_echo_n "checking for objalloc_create in -liberty... " >&6; }
3116 if test "${ac_cv_lib_iberty_objalloc_create+set}" = set; then
3117   $as_echo_n "(cached) " >&6
3118 else
3119   ac_check_lib_save_LIBS=$LIBS
3120 LIBS="-liberty  $LIBS"
3121 cat >conftest.$ac_ext <<_ACEOF
3122 /* confdefs.h.  */
3123 _ACEOF
3124 cat confdefs.h >>conftest.$ac_ext
3125 cat >>conftest.$ac_ext <<_ACEOF
3126 /* end confdefs.h.  */
3127
3128 /* Override any GCC internal prototype to avoid an error.
3129    Use char because int might match the return type of a GCC
3130    builtin and then its argument prototype would still apply.  */
3131 #ifdef __cplusplus
3132 extern "C"
3133 #endif
3134 char objalloc_create ();
3135 int
3136 main ()
3137 {
3138 return objalloc_create ();
3139   ;
3140   return 0;
3141 }
3142 _ACEOF
3143 rm -f conftest.$ac_objext conftest$ac_exeext
3144 if { (ac_try="$ac_link"
3145 case "(($ac_try" in
3146   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3147   *) ac_try_echo=$ac_try;;
3148 esac
3149 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3150 $as_echo "$ac_try_echo") >&5
3151   (eval "$ac_link") 2>conftest.er1
3152   ac_status=$?
3153   grep -v '^ *+' conftest.er1 >conftest.err
3154   rm -f conftest.er1
3155   cat conftest.err >&5
3156   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3157   (exit $ac_status); } && {
3158          test -z "$ac_c_werror_flag" ||
3159          test ! -s conftest.err
3160        } && test -s conftest$ac_exeext && {
3161          test "$cross_compiling" = yes ||
3162          $as_test_x conftest$ac_exeext
3163        }; then
3164   ac_cv_lib_iberty_objalloc_create=yes
3165 else
3166   $as_echo "$as_me: failed program was:" >&5
3167 sed 's/^/| /' conftest.$ac_ext >&5
3168
3169         ac_cv_lib_iberty_objalloc_create=no
3170 fi
3171
3172 rm -rf conftest.dSYM
3173 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3174       conftest$ac_exeext conftest.$ac_ext
3175 LIBS=$ac_check_lib_save_LIBS
3176 fi
3177 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_iberty_objalloc_create" >&5
3178 $as_echo "$ac_cv_lib_iberty_objalloc_create" >&6; }
3179 if test "x$ac_cv_lib_iberty_objalloc_create" = x""yes; then
3180   cat >>confdefs.h <<_ACEOF
3181 #define HAVE_LIBIBERTY 1
3182 _ACEOF
3183
3184   LIBS="-liberty $LIBS"
3185
3186 fi
3187
3188   ac_libiberty=auto
3189 else
3190   LIBS="$ac_libiberty $LIBS"
3191 fi
3192 if test "$ac_libbfd" = "NONE"; then
3193
3194 { $as_echo "$as_me:$LINENO: checking for bfd_openr in -lbfd" >&5
3195 $as_echo_n "checking for bfd_openr in -lbfd... " >&6; }
3196 if test "${ac_cv_lib_bfd_bfd_openr+set}" = set; then
3197   $as_echo_n "(cached) " >&6
3198 else
3199   ac_check_lib_save_LIBS=$LIBS
3200 LIBS="-lbfd  $LIBS"
3201 cat >conftest.$ac_ext <<_ACEOF
3202 /* confdefs.h.  */
3203 _ACEOF
3204 cat confdefs.h >>conftest.$ac_ext
3205 cat >>conftest.$ac_ext <<_ACEOF
3206 /* end confdefs.h.  */
3207
3208 /* Override any GCC internal prototype to avoid an error.
3209    Use char because int might match the return type of a GCC
3210    builtin and then its argument prototype would still apply.  */
3211 #ifdef __cplusplus
3212 extern "C"
3213 #endif
3214 char bfd_openr ();
3215 int
3216 main ()
3217 {
3218 return bfd_openr ();
3219   ;
3220   return 0;
3221 }
3222 _ACEOF
3223 rm -f conftest.$ac_objext conftest$ac_exeext
3224 if { (ac_try="$ac_link"
3225 case "(($ac_try" in
3226   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3227   *) ac_try_echo=$ac_try;;
3228 esac
3229 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3230 $as_echo "$ac_try_echo") >&5
3231   (eval "$ac_link") 2>conftest.er1
3232   ac_status=$?
3233   grep -v '^ *+' conftest.er1 >conftest.err
3234   rm -f conftest.er1
3235   cat conftest.err >&5
3236   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3237   (exit $ac_status); } && {
3238          test -z "$ac_c_werror_flag" ||
3239          test ! -s conftest.err
3240        } && test -s conftest$ac_exeext && {
3241          test "$cross_compiling" = yes ||
3242          $as_test_x conftest$ac_exeext
3243        }; then
3244   ac_cv_lib_bfd_bfd_openr=yes
3245 else
3246   $as_echo "$as_me: failed program was:" >&5
3247 sed 's/^/| /' conftest.$ac_ext >&5
3248
3249         ac_cv_lib_bfd_bfd_openr=no
3250 fi
3251
3252 rm -rf conftest.dSYM
3253 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3254       conftest$ac_exeext conftest.$ac_ext
3255 LIBS=$ac_check_lib_save_LIBS
3256 fi
3257 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_bfd_bfd_openr" >&5
3258 $as_echo "$ac_cv_lib_bfd_bfd_openr" >&6; }
3259 if test "x$ac_cv_lib_bfd_bfd_openr" = x""yes; then
3260   cat >>confdefs.h <<_ACEOF
3261 #define HAVE_LIBBFD 1
3262 _ACEOF
3263
3264   LIBS="-lbfd $LIBS"
3265
3266 fi
3267
3268   ac_libbfd=auto
3269 else
3270   LIBS="$ac_libbfd $LIBS"
3271 fi
3272 if test "$ac_zlib_prefix" = "NONE"; then
3273
3274 { $as_echo "$as_me:$LINENO: checking for deflate in -lz" >&5
3275 $as_echo_n "checking for deflate in -lz... " >&6; }
3276 if test "${ac_cv_lib_z_deflate+set}" = set; then
3277   $as_echo_n "(cached) " >&6
3278 else
3279   ac_check_lib_save_LIBS=$LIBS
3280 LIBS="-lz  $LIBS"
3281 cat >conftest.$ac_ext <<_ACEOF
3282 /* confdefs.h.  */
3283 _ACEOF
3284 cat confdefs.h >>conftest.$ac_ext
3285 cat >>conftest.$ac_ext <<_ACEOF
3286 /* end confdefs.h.  */
3287
3288 /* Override any GCC internal prototype to avoid an error.
3289    Use char because int might match the return type of a GCC
3290    builtin and then its argument prototype would still apply.  */
3291 #ifdef __cplusplus
3292 extern "C"
3293 #endif
3294 char deflate ();
3295 int
3296 main ()
3297 {
3298 return deflate ();
3299   ;
3300   return 0;
3301 }
3302 _ACEOF
3303 rm -f conftest.$ac_objext conftest$ac_exeext
3304 if { (ac_try="$ac_link"
3305 case "(($ac_try" in
3306   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3307   *) ac_try_echo=$ac_try;;
3308 esac
3309 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3310 $as_echo "$ac_try_echo") >&5
3311   (eval "$ac_link") 2>conftest.er1
3312   ac_status=$?
3313   grep -v '^ *+' conftest.er1 >conftest.err
3314   rm -f conftest.er1
3315   cat conftest.err >&5
3316   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3317   (exit $ac_status); } && {
3318          test -z "$ac_c_werror_flag" ||
3319          test ! -s conftest.err
3320        } && test -s conftest$ac_exeext && {
3321          test "$cross_compiling" = yes ||
3322          $as_test_x conftest$ac_exeext
3323        }; then
3324   ac_cv_lib_z_deflate=yes
3325 else
3326   $as_echo "$as_me: failed program was:" >&5
3327 sed 's/^/| /' conftest.$ac_ext >&5
3328
3329         ac_cv_lib_z_deflate=no
3330 fi
3331
3332 rm -rf conftest.dSYM
3333 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3334       conftest$ac_exeext conftest.$ac_ext
3335 LIBS=$ac_check_lib_save_LIBS
3336 fi
3337 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
3338 $as_echo "$ac_cv_lib_z_deflate" >&6; }
3339 if test "x$ac_cv_lib_z_deflate" = x""yes; then
3340   cat >>confdefs.h <<_ACEOF
3341 #define HAVE_LIBZ 1
3342 _ACEOF
3343
3344   LIBS="-lz $LIBS"
3345
3346 fi
3347
3348 else
3349   LIBS="-L$ac_zlib_prefix/lib -lz $LIBS"
3350 fi
3351
3352 bfd_include_dir=
3353 if test "$ac_bfd_include_dir" != "NONE"; then
3354   bfd_include_dir="-I$ac_bfd_include_dir"
3355 fi
3356
3357 binutils_include_dir=
3358 if test "$ac_binutils_include_dir" != "NONE"; then
3359   binutils_include_dir="-I$ac_binutils_include_dir"
3360 fi
3361
3362 zlib_include_dir=
3363 if test "$ac_zlib_prefix" != "NONE"; then
3364   zlib_include_dir="-I$ac_zlib_prefix/include"
3365 fi
3366
3367 binutils_ldscript_dir=
3368 if test "$ac_binutils_ldscript_dir" = "NONE"; then
3369   ac_binutils_ldscript_dir="\${TOOLDIR}/../${target_alias}/lib"
3370 fi
3371 binutils_ldscript_dir="$ac_binutils_ldscript_dir"
3372
3373 if test "$ac_libbfd" = "NONE" -o "$ac_libiberty" = "NONE" ; then
3374         { { $as_echo "$as_me:$LINENO: error:
3375
3376 You need to specify the location of the libfd.a and libiberty.a
3377 host libraries from the binutils package.
3378
3379 Run configure again specifying these options:
3380
3381   ./configure --target=<ARCH> --with-bfd-include-dir=<dir> --with-libbfd=<libbfd.a> --with-libiberty=<libiberty.a>
3382 " >&5
3383 $as_echo "$as_me: error:
3384
3385 You need to specify the location of the libfd.a and libiberty.a
3386 host libraries from the binutils package.
3387
3388 Run configure again specifying these options:
3389
3390   ./configure --target=<ARCH> --with-bfd-include-dir=<dir> --with-libbfd=<libbfd.a> --with-libiberty=<libiberty.a>
3391 " >&2;}
3392    { (exit 1); exit 1; }; }
3393 fi
3394
3395 if test "$ac_bfd_include_dir" = "NONE" ; then
3396         { { $as_echo "$as_me:$LINENO: error:
3397
3398 You need to specify the location of the bfd.h header from a
3399 configured/compiled version of the binutils package for your target.
3400 Without this your elf2flt may crash as it will try to use the
3401 systems bfd.h which may be from a different binutils package.
3402
3403 Run configure again specifying these options:
3404
3405   ./configure --target=<ARCH> --with-bfd-include-dir=<dir> --with-libbfd=<libbfd.a> --with-libiberty=<libiberty.a>
3406 " >&5
3407 $as_echo "$as_me: error:
3408
3409 You need to specify the location of the bfd.h header from a
3410 configured/compiled version of the binutils package for your target.
3411 Without this your elf2flt may crash as it will try to use the
3412 systems bfd.h which may be from a different binutils package.
3413
3414 Run configure again specifying these options:
3415
3416   ./configure --target=<ARCH> --with-bfd-include-dir=<dir> --with-libbfd=<libbfd.a> --with-libiberty=<libiberty.a>
3417 " >&2;}
3418    { (exit 1); exit 1; }; }
3419 fi
3420
3421 SYMBOL_PREFIX=
3422 case $target in
3423         bfin*)
3424                 SYMBOL_PREFIX=_
3425                 ;;
3426 esac
3427
3428 { $as_echo "$as_me:$LINENO: checking for malloc in -lc" >&5
3429 $as_echo_n "checking for malloc in -lc... " >&6; }
3430 if test "${ac_cv_lib_c_malloc+set}" = set; then
3431   $as_echo_n "(cached) " >&6
3432 else
3433   ac_check_lib_save_LIBS=$LIBS
3434 LIBS="-lc  $LIBS"
3435 cat >conftest.$ac_ext <<_ACEOF
3436 /* confdefs.h.  */
3437 _ACEOF
3438 cat confdefs.h >>conftest.$ac_ext
3439 cat >>conftest.$ac_ext <<_ACEOF
3440 /* end confdefs.h.  */
3441
3442 /* Override any GCC internal prototype to avoid an error.
3443    Use char because int might match the return type of a GCC
3444    builtin and then its argument prototype would still apply.  */
3445 #ifdef __cplusplus
3446 extern "C"
3447 #endif
3448 char malloc ();
3449 int
3450 main ()
3451 {
3452 return malloc ();
3453   ;
3454   return 0;
3455 }
3456 _ACEOF
3457 rm -f conftest.$ac_objext conftest$ac_exeext
3458 if { (ac_try="$ac_link"
3459 case "(($ac_try" in
3460   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3461   *) ac_try_echo=$ac_try;;
3462 esac
3463 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3464 $as_echo "$ac_try_echo") >&5
3465   (eval "$ac_link") 2>conftest.er1
3466   ac_status=$?
3467   grep -v '^ *+' conftest.er1 >conftest.err
3468   rm -f conftest.er1
3469   cat conftest.err >&5
3470   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3471   (exit $ac_status); } && {
3472          test -z "$ac_c_werror_flag" ||
3473          test ! -s conftest.err
3474        } && test -s conftest$ac_exeext && {
3475          test "$cross_compiling" = yes ||
3476          $as_test_x conftest$ac_exeext
3477        }; then
3478   ac_cv_lib_c_malloc=yes
3479 else
3480   $as_echo "$as_me: failed program was:" >&5
3481 sed 's/^/| /' conftest.$ac_ext >&5
3482
3483         ac_cv_lib_c_malloc=no
3484 fi
3485
3486 rm -rf conftest.dSYM
3487 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3488       conftest$ac_exeext conftest.$ac_ext
3489 LIBS=$ac_check_lib_save_LIBS
3490 fi
3491 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_c_malloc" >&5
3492 $as_echo "$ac_cv_lib_c_malloc" >&6; }
3493 if test "x$ac_cv_lib_c_malloc" = x""yes; then
3494   LIBS="-lc $LIBS"
3495 fi
3496
3497
3498 ac_ext=c
3499 ac_cpp='$CPP $CPPFLAGS'
3500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3503 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3504 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3505 # On Suns, sometimes $CPP names a directory.
3506 if test -n "$CPP" && test -d "$CPP"; then
3507   CPP=
3508 fi
3509 if test -z "$CPP"; then
3510   if test "${ac_cv_prog_CPP+set}" = set; then
3511   $as_echo_n "(cached) " >&6
3512 else
3513       # Double quotes because CPP needs to be expanded
3514     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3515     do
3516       ac_preproc_ok=false
3517 for ac_c_preproc_warn_flag in '' yes
3518 do
3519   # Use a header file that comes with gcc, so configuring glibc
3520   # with a fresh cross-compiler works.
3521   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3522   # <limits.h> exists even on freestanding compilers.
3523   # On the NeXT, cc -E runs the code through the compiler's parser,
3524   # not just through cpp. "Syntax error" is here to catch this case.
3525   cat >conftest.$ac_ext <<_ACEOF
3526 /* confdefs.h.  */
3527 _ACEOF
3528 cat confdefs.h >>conftest.$ac_ext
3529 cat >>conftest.$ac_ext <<_ACEOF
3530 /* end confdefs.h.  */
3531 #ifdef __STDC__
3532 # include <limits.h>
3533 #else
3534 # include <assert.h>
3535 #endif
3536                      Syntax error
3537 _ACEOF
3538 if { (ac_try="$ac_cpp conftest.$ac_ext"
3539 case "(($ac_try" in
3540   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3541   *) ac_try_echo=$ac_try;;
3542 esac
3543 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3544 $as_echo "$ac_try_echo") >&5
3545   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3546   ac_status=$?
3547   grep -v '^ *+' conftest.er1 >conftest.err
3548   rm -f conftest.er1
3549   cat conftest.err >&5
3550   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3551   (exit $ac_status); } >/dev/null && {
3552          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3553          test ! -s conftest.err
3554        }; then
3555   :
3556 else
3557   $as_echo "$as_me: failed program was:" >&5
3558 sed 's/^/| /' conftest.$ac_ext >&5
3559
3560   # Broken: fails on valid input.
3561 continue
3562 fi
3563
3564 rm -f conftest.err conftest.$ac_ext
3565
3566   # OK, works on sane cases.  Now check whether nonexistent headers
3567   # can be detected and how.
3568   cat >conftest.$ac_ext <<_ACEOF
3569 /* confdefs.h.  */
3570 _ACEOF
3571 cat confdefs.h >>conftest.$ac_ext
3572 cat >>conftest.$ac_ext <<_ACEOF
3573 /* end confdefs.h.  */
3574 #include <ac_nonexistent.h>
3575 _ACEOF
3576 if { (ac_try="$ac_cpp conftest.$ac_ext"
3577 case "(($ac_try" in
3578   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3579   *) ac_try_echo=$ac_try;;
3580 esac
3581 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3582 $as_echo "$ac_try_echo") >&5
3583   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3584   ac_status=$?
3585   grep -v '^ *+' conftest.er1 >conftest.err
3586   rm -f conftest.er1
3587   cat conftest.err >&5
3588   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3589   (exit $ac_status); } >/dev/null && {
3590          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3591          test ! -s conftest.err
3592        }; then
3593   # Broken: success on invalid input.
3594 continue
3595 else
3596   $as_echo "$as_me: failed program was:" >&5
3597 sed 's/^/| /' conftest.$ac_ext >&5
3598
3599   # Passes both tests.
3600 ac_preproc_ok=:
3601 break
3602 fi
3603
3604 rm -f conftest.err conftest.$ac_ext
3605
3606 done
3607 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3608 rm -f conftest.err conftest.$ac_ext
3609 if $ac_preproc_ok; then
3610   break
3611 fi
3612
3613     done
3614     ac_cv_prog_CPP=$CPP
3615
3616 fi
3617   CPP=$ac_cv_prog_CPP
3618 else
3619   ac_cv_prog_CPP=$CPP
3620 fi
3621 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
3622 $as_echo "$CPP" >&6; }
3623 ac_preproc_ok=false
3624 for ac_c_preproc_warn_flag in '' yes
3625 do
3626   # Use a header file that comes with gcc, so configuring glibc
3627   # with a fresh cross-compiler works.
3628   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3629   # <limits.h> exists even on freestanding compilers.
3630   # On the NeXT, cc -E runs the code through the compiler's parser,
3631   # not just through cpp. "Syntax error" is here to catch this case.
3632   cat >conftest.$ac_ext <<_ACEOF
3633 /* confdefs.h.  */
3634 _ACEOF
3635 cat confdefs.h >>conftest.$ac_ext
3636 cat >>conftest.$ac_ext <<_ACEOF
3637 /* end confdefs.h.  */
3638 #ifdef __STDC__
3639 # include <limits.h>
3640 #else
3641 # include <assert.h>
3642 #endif
3643                      Syntax error
3644 _ACEOF
3645 if { (ac_try="$ac_cpp conftest.$ac_ext"
3646 case "(($ac_try" in
3647   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3648   *) ac_try_echo=$ac_try;;
3649 esac
3650 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3651 $as_echo "$ac_try_echo") >&5
3652   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3653   ac_status=$?
3654   grep -v '^ *+' conftest.er1 >conftest.err
3655   rm -f conftest.er1
3656   cat conftest.err >&5
3657   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3658   (exit $ac_status); } >/dev/null && {
3659          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3660          test ! -s conftest.err
3661        }; then
3662   :
3663 else
3664   $as_echo "$as_me: failed program was:" >&5
3665 sed 's/^/| /' conftest.$ac_ext >&5
3666
3667   # Broken: fails on valid input.
3668 continue
3669 fi
3670
3671 rm -f conftest.err conftest.$ac_ext
3672
3673   # OK, works on sane cases.  Now check whether nonexistent headers
3674   # can be detected and how.
3675   cat >conftest.$ac_ext <<_ACEOF
3676 /* confdefs.h.  */
3677 _ACEOF
3678 cat confdefs.h >>conftest.$ac_ext
3679 cat >>conftest.$ac_ext <<_ACEOF
3680 /* end confdefs.h.  */
3681 #include <ac_nonexistent.h>
3682 _ACEOF
3683 if { (ac_try="$ac_cpp conftest.$ac_ext"
3684 case "(($ac_try" in
3685   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3686   *) ac_try_echo=$ac_try;;
3687 esac
3688 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3689 $as_echo "$ac_try_echo") >&5
3690   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3691   ac_status=$?
3692   grep -v '^ *+' conftest.er1 >conftest.err
3693   rm -f conftest.er1
3694   cat conftest.err >&5
3695   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3696   (exit $ac_status); } >/dev/null && {
3697          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3698          test ! -s conftest.err
3699        }; then
3700   # Broken: success on invalid input.
3701 continue
3702 else
3703   $as_echo "$as_me: failed program was:" >&5
3704 sed 's/^/| /' conftest.$ac_ext >&5
3705
3706   # Passes both tests.
3707 ac_preproc_ok=:
3708 break
3709 fi
3710
3711 rm -f conftest.err conftest.$ac_ext
3712
3713 done
3714 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3715 rm -f conftest.err conftest.$ac_ext
3716 if $ac_preproc_ok; then
3717   :
3718 else
3719   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3720 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3721 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3722 See \`config.log' for more details." >&5
3723 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3724 See \`config.log' for more details." >&2;}
3725    { (exit 1); exit 1; }; }; }
3726 fi
3727
3728 ac_ext=c
3729 ac_cpp='$CPP $CPPFLAGS'
3730 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3731 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3732 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3733
3734
3735 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3736 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3737 if test "${ac_cv_path_GREP+set}" = set; then
3738   $as_echo_n "(cached) " >&6
3739 else
3740   if test -z "$GREP"; then
3741   ac_path_GREP_found=false
3742   # Loop through the user's path and test for each of PROGNAME-LIST
3743   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3744 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3745 do
3746   IFS=$as_save_IFS
3747   test -z "$as_dir" && as_dir=.
3748   for ac_prog in grep ggrep; do
3749     for ac_exec_ext in '' $ac_executable_extensions; do
3750       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3751       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3752 # Check for GNU ac_path_GREP and select it if it is found.
3753   # Check for GNU $ac_path_GREP
3754 case `"$ac_path_GREP" --version 2>&1` in
3755 *GNU*)
3756   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3757 *)
3758   ac_count=0
3759   $as_echo_n 0123456789 >"conftest.in"
3760   while :
3761   do
3762     cat "conftest.in" "conftest.in" >"conftest.tmp"
3763     mv "conftest.tmp" "conftest.in"
3764     cp "conftest.in" "conftest.nl"
3765     $as_echo 'GREP' >> "conftest.nl"
3766     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3767     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3768     ac_count=`expr $ac_count + 1`
3769     if test $ac_count -gt ${ac_path_GREP_max-0}; then
3770       # Best one so far, save it but keep looking for a better one
3771       ac_cv_path_GREP="$ac_path_GREP"
3772       ac_path_GREP_max=$ac_count
3773     fi
3774     # 10*(2^10) chars as input seems more than enough
3775     test $ac_count -gt 10 && break
3776   done
3777   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3778 esac
3779
3780       $ac_path_GREP_found && break 3
3781     done
3782   done
3783 done
3784 IFS=$as_save_IFS
3785   if test -z "$ac_cv_path_GREP"; then
3786     { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3787 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3788    { (exit 1); exit 1; }; }
3789   fi
3790 else
3791   ac_cv_path_GREP=$GREP
3792 fi
3793
3794 fi
3795 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3796 $as_echo "$ac_cv_path_GREP" >&6; }
3797  GREP="$ac_cv_path_GREP"
3798
3799
3800 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
3801 $as_echo_n "checking for egrep... " >&6; }
3802 if test "${ac_cv_path_EGREP+set}" = set; then
3803   $as_echo_n "(cached) " >&6
3804 else
3805   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3806    then ac_cv_path_EGREP="$GREP -E"
3807    else
3808      if test -z "$EGREP"; then
3809   ac_path_EGREP_found=false
3810   # Loop through the user's path and test for each of PROGNAME-LIST
3811   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3812 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3813 do
3814   IFS=$as_save_IFS
3815   test -z "$as_dir" && as_dir=.
3816   for ac_prog in egrep; do
3817     for ac_exec_ext in '' $ac_executable_extensions; do
3818       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3819       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3820 # Check for GNU ac_path_EGREP and select it if it is found.
3821   # Check for GNU $ac_path_EGREP
3822 case `"$ac_path_EGREP" --version 2>&1` in
3823 *GNU*)
3824   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3825 *)
3826   ac_count=0
3827   $as_echo_n 0123456789 >"conftest.in"
3828   while :
3829   do
3830     cat "conftest.in" "conftest.in" >"conftest.tmp"
3831     mv "conftest.tmp" "conftest.in"
3832     cp "conftest.in" "conftest.nl"
3833     $as_echo 'EGREP' >> "conftest.nl"
3834     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3835     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3836     ac_count=`expr $ac_count + 1`
3837     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3838       # Best one so far, save it but keep looking for a better one
3839       ac_cv_path_EGREP="$ac_path_EGREP"
3840       ac_path_EGREP_max=$ac_count
3841     fi
3842     # 10*(2^10) chars as input seems more than enough
3843     test $ac_count -gt 10 && break
3844   done
3845   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3846 esac
3847
3848       $ac_path_EGREP_found && break 3
3849     done
3850   done
3851 done
3852 IFS=$as_save_IFS
3853   if test -z "$ac_cv_path_EGREP"; then
3854     { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3855 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3856    { (exit 1); exit 1; }; }
3857   fi
3858 else
3859   ac_cv_path_EGREP=$EGREP
3860 fi
3861
3862    fi
3863 fi
3864 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3865 $as_echo "$ac_cv_path_EGREP" >&6; }
3866  EGREP="$ac_cv_path_EGREP"
3867
3868
3869 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3870 $as_echo_n "checking for ANSI C header files... " >&6; }
3871 if test "${ac_cv_header_stdc+set}" = set; then
3872   $as_echo_n "(cached) " >&6
3873 else
3874   cat >conftest.$ac_ext <<_ACEOF
3875 /* confdefs.h.  */
3876 _ACEOF
3877 cat confdefs.h >>conftest.$ac_ext
3878 cat >>conftest.$ac_ext <<_ACEOF
3879 /* end confdefs.h.  */
3880 #include <stdlib.h>
3881 #include <stdarg.h>
3882 #include <string.h>
3883 #include <float.h>
3884
3885 int
3886 main ()
3887 {
3888
3889   ;
3890   return 0;
3891 }
3892 _ACEOF
3893 rm -f conftest.$ac_objext
3894 if { (ac_try="$ac_compile"
3895 case "(($ac_try" in
3896   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3897   *) ac_try_echo=$ac_try;;
3898 esac
3899 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3900 $as_echo "$ac_try_echo") >&5
3901   (eval "$ac_compile") 2>conftest.er1
3902   ac_status=$?
3903   grep -v '^ *+' conftest.er1 >conftest.err
3904   rm -f conftest.er1
3905   cat conftest.err >&5
3906   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3907   (exit $ac_status); } && {
3908          test -z "$ac_c_werror_flag" ||
3909          test ! -s conftest.err
3910        } && test -s conftest.$ac_objext; then
3911   ac_cv_header_stdc=yes
3912 else
3913   $as_echo "$as_me: failed program was:" >&5
3914 sed 's/^/| /' conftest.$ac_ext >&5
3915
3916         ac_cv_header_stdc=no
3917 fi
3918
3919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3920
3921 if test $ac_cv_header_stdc = yes; then
3922   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3923   cat >conftest.$ac_ext <<_ACEOF
3924 /* confdefs.h.  */
3925 _ACEOF
3926 cat confdefs.h >>conftest.$ac_ext
3927 cat >>conftest.$ac_ext <<_ACEOF
3928 /* end confdefs.h.  */
3929 #include <string.h>
3930
3931 _ACEOF
3932 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3933   $EGREP "memchr" >/dev/null 2>&1; then
3934   :
3935 else
3936   ac_cv_header_stdc=no
3937 fi
3938 rm -f conftest*
3939
3940 fi
3941
3942 if test $ac_cv_header_stdc = yes; then
3943   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3944   cat >conftest.$ac_ext <<_ACEOF
3945 /* confdefs.h.  */
3946 _ACEOF
3947 cat confdefs.h >>conftest.$ac_ext
3948 cat >>conftest.$ac_ext <<_ACEOF
3949 /* end confdefs.h.  */
3950 #include <stdlib.h>
3951
3952 _ACEOF
3953 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3954   $EGREP "free" >/dev/null 2>&1; then
3955   :
3956 else
3957   ac_cv_header_stdc=no
3958 fi
3959 rm -f conftest*
3960
3961 fi
3962
3963 if test $ac_cv_header_stdc = yes; then
3964   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3965   if test "$cross_compiling" = yes; then
3966   :
3967 else
3968   cat >conftest.$ac_ext <<_ACEOF
3969 /* confdefs.h.  */
3970 _ACEOF
3971 cat confdefs.h >>conftest.$ac_ext
3972 cat >>conftest.$ac_ext <<_ACEOF
3973 /* end confdefs.h.  */
3974 #include <ctype.h>
3975 #include <stdlib.h>
3976 #if ((' ' & 0x0FF) == 0x020)
3977 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3978 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3979 #else
3980 # define ISLOWER(c) \
3981                    (('a' <= (c) && (c) <= 'i') \
3982                      || ('j' <= (c) && (c) <= 'r') \
3983                      || ('s' <= (c) && (c) <= 'z'))
3984 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3985 #endif
3986
3987 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3988 int
3989 main ()
3990 {
3991   int i;
3992   for (i = 0; i < 256; i++)
3993     if (XOR (islower (i), ISLOWER (i))
3994         || toupper (i) != TOUPPER (i))
3995       return 2;
3996   return 0;
3997 }
3998 _ACEOF
3999 rm -f conftest$ac_exeext
4000 if { (ac_try="$ac_link"
4001 case "(($ac_try" in
4002   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4003   *) ac_try_echo=$ac_try;;
4004 esac
4005 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4006 $as_echo "$ac_try_echo") >&5
4007   (eval "$ac_link") 2>&5
4008   ac_status=$?
4009   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4010   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4011   { (case "(($ac_try" in
4012   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4013   *) ac_try_echo=$ac_try;;
4014 esac
4015 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4016 $as_echo "$ac_try_echo") >&5
4017   (eval "$ac_try") 2>&5
4018   ac_status=$?
4019   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4020   (exit $ac_status); }; }; then
4021   :
4022 else
4023   $as_echo "$as_me: program exited with status $ac_status" >&5
4024 $as_echo "$as_me: failed program was:" >&5
4025 sed 's/^/| /' conftest.$ac_ext >&5
4026
4027 ( exit $ac_status )
4028 ac_cv_header_stdc=no
4029 fi
4030 rm -rf conftest.dSYM
4031 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4032 fi
4033
4034
4035 fi
4036 fi
4037 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4038 $as_echo "$ac_cv_header_stdc" >&6; }
4039 if test $ac_cv_header_stdc = yes; then
4040
4041 cat >>confdefs.h <<\_ACEOF
4042 #define STDC_HEADERS 1
4043 _ACEOF
4044
4045 fi
4046
4047 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4048
4049
4050
4051
4052
4053
4054
4055
4056
4057 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4058                   inttypes.h stdint.h unistd.h
4059 do
4060 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4061 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4062 $as_echo_n "checking for $ac_header... " >&6; }
4063 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4064   $as_echo_n "(cached) " >&6
4065 else
4066   cat >conftest.$ac_ext <<_ACEOF
4067 /* confdefs.h.  */
4068 _ACEOF
4069 cat confdefs.h >>conftest.$ac_ext
4070 cat >>conftest.$ac_ext <<_ACEOF
4071 /* end confdefs.h.  */
4072 $ac_includes_default
4073
4074 #include <$ac_header>
4075 _ACEOF
4076 rm -f conftest.$ac_objext
4077 if { (ac_try="$ac_compile"
4078 case "(($ac_try" in
4079   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4080   *) ac_try_echo=$ac_try;;
4081 esac
4082 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4083 $as_echo "$ac_try_echo") >&5
4084   (eval "$ac_compile") 2>conftest.er1
4085   ac_status=$?
4086   grep -v '^ *+' conftest.er1 >conftest.err
4087   rm -f conftest.er1
4088   cat conftest.err >&5
4089   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4090   (exit $ac_status); } && {
4091          test -z "$ac_c_werror_flag" ||
4092          test ! -s conftest.err
4093        } && test -s conftest.$ac_objext; then
4094   eval "$as_ac_Header=yes"
4095 else
4096   $as_echo "$as_me: failed program was:" >&5
4097 sed 's/^/| /' conftest.$ac_ext >&5
4098
4099         eval "$as_ac_Header=no"
4100 fi
4101
4102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4103 fi
4104 ac_res=`eval 'as_val=${'$as_ac_Header'}
4105                  $as_echo "$as_val"'`
4106                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4107 $as_echo "$ac_res" >&6; }
4108 as_val=`eval 'as_val=${'$as_ac_Header'}
4109                  $as_echo "$as_val"'`
4110    if test "x$as_val" = x""yes; then
4111   cat >>confdefs.h <<_ACEOF
4112 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4113 _ACEOF
4114
4115 fi
4116
4117 done
4118
4119
4120
4121
4122
4123 for ac_header in fcntl.h unistd.h bfd.h
4124 do
4125 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4126 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4127   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4128 $as_echo_n "checking for $ac_header... " >&6; }
4129 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4130   $as_echo_n "(cached) " >&6
4131 fi
4132 ac_res=`eval 'as_val=${'$as_ac_Header'}
4133                  $as_echo "$as_val"'`
4134                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4135 $as_echo "$ac_res" >&6; }
4136 else
4137   # Is the header compilable?
4138 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
4139 $as_echo_n "checking $ac_header usability... " >&6; }
4140 cat >conftest.$ac_ext <<_ACEOF
4141 /* confdefs.h.  */
4142 _ACEOF
4143 cat confdefs.h >>conftest.$ac_ext
4144 cat >>conftest.$ac_ext <<_ACEOF
4145 /* end confdefs.h.  */
4146 $ac_includes_default
4147 #include <$ac_header>
4148 _ACEOF
4149 rm -f conftest.$ac_objext
4150 if { (ac_try="$ac_compile"
4151 case "(($ac_try" in
4152   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4153   *) ac_try_echo=$ac_try;;
4154 esac
4155 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4156 $as_echo "$ac_try_echo") >&5
4157   (eval "$ac_compile") 2>conftest.er1
4158   ac_status=$?
4159   grep -v '^ *+' conftest.er1 >conftest.err
4160   rm -f conftest.er1
4161   cat conftest.err >&5
4162   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4163   (exit $ac_status); } && {
4164          test -z "$ac_c_werror_flag" ||
4165          test ! -s conftest.err
4166        } && test -s conftest.$ac_objext; then
4167   ac_header_compiler=yes
4168 else
4169   $as_echo "$as_me: failed program was:" >&5
4170 sed 's/^/| /' conftest.$ac_ext >&5
4171
4172         ac_header_compiler=no
4173 fi
4174
4175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4176 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4177 $as_echo "$ac_header_compiler" >&6; }
4178
4179 # Is the header present?
4180 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
4181 $as_echo_n "checking $ac_header presence... " >&6; }
4182 cat >conftest.$ac_ext <<_ACEOF
4183 /* confdefs.h.  */
4184 _ACEOF
4185 cat confdefs.h >>conftest.$ac_ext
4186 cat >>conftest.$ac_ext <<_ACEOF
4187 /* end confdefs.h.  */
4188 #include <$ac_header>
4189 _ACEOF
4190 if { (ac_try="$ac_cpp conftest.$ac_ext"
4191 case "(($ac_try" in
4192   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4193   *) ac_try_echo=$ac_try;;
4194 esac
4195 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4196 $as_echo "$ac_try_echo") >&5
4197   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4198   ac_status=$?
4199   grep -v '^ *+' conftest.er1 >conftest.err
4200   rm -f conftest.er1
4201   cat conftest.err >&5
4202   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4203   (exit $ac_status); } >/dev/null && {
4204          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4205          test ! -s conftest.err
4206        }; then
4207   ac_header_preproc=yes
4208 else
4209   $as_echo "$as_me: failed program was:" >&5
4210 sed 's/^/| /' conftest.$ac_ext >&5
4211
4212   ac_header_preproc=no
4213 fi
4214
4215 rm -f conftest.err conftest.$ac_ext
4216 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4217 $as_echo "$ac_header_preproc" >&6; }
4218
4219 # So?  What about this header?
4220 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4221   yes:no: )
4222     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4223 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4224     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4225 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4226     ac_header_preproc=yes
4227     ;;
4228   no:yes:* )
4229     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4230 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4231     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
4232 $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
4233     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4234 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4235     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
4236 $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
4237     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4238 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4239     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4240 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4241
4242     ;;
4243 esac
4244 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4245 $as_echo_n "checking for $ac_header... " >&6; }
4246 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4247   $as_echo_n "(cached) " >&6
4248 else
4249   eval "$as_ac_Header=\$ac_header_preproc"
4250 fi
4251 ac_res=`eval 'as_val=${'$as_ac_Header'}
4252                  $as_echo "$as_val"'`
4253                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4254 $as_echo "$ac_res" >&6; }
4255
4256 fi
4257 as_val=`eval 'as_val=${'$as_ac_Header'}
4258                  $as_echo "$as_val"'`
4259    if test "x$as_val" = x""yes; then
4260   cat >>confdefs.h <<_ACEOF
4261 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4262 _ACEOF
4263
4264 fi
4265
4266 done
4267
4268
4269 { $as_echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
4270 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
4271 if test "${ac_cv_c_const+set}" = set; then
4272   $as_echo_n "(cached) " >&6
4273 else
4274   cat >conftest.$ac_ext <<_ACEOF
4275 /* confdefs.h.  */
4276 _ACEOF
4277 cat confdefs.h >>conftest.$ac_ext
4278 cat >>conftest.$ac_ext <<_ACEOF
4279 /* end confdefs.h.  */
4280
4281 int
4282 main ()
4283 {
4284 /* FIXME: Include the comments suggested by Paul. */
4285 #ifndef __cplusplus
4286   /* Ultrix mips cc rejects this.  */
4287   typedef int charset[2];
4288   const charset cs;
4289   /* SunOS 4.1.1 cc rejects this.  */
4290   char const *const *pcpcc;
4291   char **ppc;
4292   /* NEC SVR4.0.2 mips cc rejects this.  */
4293   struct point {int x, y;};
4294   static struct point const zero = {0,0};
4295   /* AIX XL C 1.02.0.0 rejects this.
4296      It does not let you subtract one const X* pointer from another in
4297      an arm of an if-expression whose if-part is not a constant
4298      expression */
4299   const char *g = "string";
4300   pcpcc = &g + (g ? g-g : 0);
4301   /* HPUX 7.0 cc rejects these. */
4302   ++pcpcc;
4303   ppc = (char**) pcpcc;
4304   pcpcc = (char const *const *) ppc;
4305   { /* SCO 3.2v4 cc rejects this.  */
4306     char *t;
4307     char const *s = 0 ? (char *) 0 : (char const *) 0;
4308
4309     *t++ = 0;
4310     if (s) return 0;
4311   }
4312   { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
4313     int x[] = {25, 17};
4314     const int *foo = &x[0];
4315     ++foo;
4316   }
4317   { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
4318     typedef const int *iptr;
4319     iptr p = 0;
4320     ++p;
4321   }
4322   { /* AIX XL C 1.02.0.0 rejects this saying
4323        "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
4324     struct s { int j; const int *ap[3]; };
4325     struct s *b; b->j = 5;
4326   }
4327   { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
4328     const int foo = 10;
4329     if (!foo) return 0;
4330   }
4331   return !cs[0] && !zero.x;
4332 #endif
4333
4334   ;
4335   return 0;
4336 }
4337 _ACEOF
4338 rm -f conftest.$ac_objext
4339 if { (ac_try="$ac_compile"
4340 case "(($ac_try" in
4341   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4342   *) ac_try_echo=$ac_try;;
4343 esac
4344 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4345 $as_echo "$ac_try_echo") >&5
4346   (eval "$ac_compile") 2>conftest.er1
4347   ac_status=$?
4348   grep -v '^ *+' conftest.er1 >conftest.err
4349   rm -f conftest.er1
4350   cat conftest.err >&5
4351   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4352   (exit $ac_status); } && {
4353          test -z "$ac_c_werror_flag" ||
4354          test ! -s conftest.err
4355        } && test -s conftest.$ac_objext; then
4356   ac_cv_c_const=yes
4357 else
4358   $as_echo "$as_me: failed program was:" >&5
4359 sed 's/^/| /' conftest.$ac_ext >&5
4360
4361         ac_cv_c_const=no
4362 fi
4363
4364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4365 fi
4366 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
4367 $as_echo "$ac_cv_c_const" >&6; }
4368 if test $ac_cv_c_const = no; then
4369
4370 cat >>confdefs.h <<\_ACEOF
4371 #define const /**/
4372 _ACEOF
4373
4374 fi
4375
4376
4377
4378 for ac_func in vprintf
4379 do
4380 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
4381 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
4382 $as_echo_n "checking for $ac_func... " >&6; }
4383 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
4384   $as_echo_n "(cached) " >&6
4385 else
4386   cat >conftest.$ac_ext <<_ACEOF
4387 /* confdefs.h.  */
4388 _ACEOF
4389 cat confdefs.h >>conftest.$ac_ext
4390 cat >>conftest.$ac_ext <<_ACEOF
4391 /* end confdefs.h.  */
4392 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4393    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
4394 #define $ac_func innocuous_$ac_func
4395
4396 /* System header to define __stub macros and hopefully few prototypes,
4397     which can conflict with char $ac_func (); below.
4398     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4399     <limits.h> exists even on freestanding compilers.  */
4400
4401 #ifdef __STDC__
4402 # include <limits.h>
4403 #else
4404 # include <assert.h>
4405 #endif
4406
4407 #undef $ac_func
4408
4409 /* Override any GCC internal prototype to avoid an error.
4410    Use char because int might match the return type of a GCC
4411    builtin and then its argument prototype would still apply.  */
4412 #ifdef __cplusplus
4413 extern "C"
4414 #endif
4415 char $ac_func ();
4416 /* The GNU C library defines this for functions which it implements
4417     to always fail with ENOSYS.  Some functions are actually named
4418     something starting with __ and the normal name is an alias.  */
4419 #if defined __stub_$ac_func || defined __stub___$ac_func
4420 choke me
4421 #endif
4422
4423 int
4424 main ()
4425 {
4426 return $ac_func ();
4427   ;
4428   return 0;
4429 }
4430 _ACEOF
4431 rm -f conftest.$ac_objext conftest$ac_exeext
4432 if { (ac_try="$ac_link"
4433 case "(($ac_try" in
4434   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4435   *) ac_try_echo=$ac_try;;
4436 esac
4437 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4438 $as_echo "$ac_try_echo") >&5
4439   (eval "$ac_link") 2>conftest.er1
4440   ac_status=$?
4441   grep -v '^ *+' conftest.er1 >conftest.err
4442   rm -f conftest.er1
4443   cat conftest.err >&5
4444   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4445   (exit $ac_status); } && {
4446          test -z "$ac_c_werror_flag" ||
4447          test ! -s conftest.err
4448        } && test -s conftest$ac_exeext && {
4449          test "$cross_compiling" = yes ||
4450          $as_test_x conftest$ac_exeext
4451        }; then
4452   eval "$as_ac_var=yes"
4453 else
4454   $as_echo "$as_me: failed program was:" >&5
4455 sed 's/^/| /' conftest.$ac_ext >&5
4456
4457         eval "$as_ac_var=no"
4458 fi
4459
4460 rm -rf conftest.dSYM
4461 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4462       conftest$ac_exeext conftest.$ac_ext
4463 fi
4464 ac_res=`eval 'as_val=${'$as_ac_var'}
4465                  $as_echo "$as_val"'`
4466                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4467 $as_echo "$ac_res" >&6; }
4468 as_val=`eval 'as_val=${'$as_ac_var'}
4469                  $as_echo "$as_val"'`
4470    if test "x$as_val" = x""yes; then
4471   cat >>confdefs.h <<_ACEOF
4472 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
4473 _ACEOF
4474
4475 { $as_echo "$as_me:$LINENO: checking for _doprnt" >&5
4476 $as_echo_n "checking for _doprnt... " >&6; }
4477 if test "${ac_cv_func__doprnt+set}" = set; then
4478   $as_echo_n "(cached) " >&6
4479 else
4480   cat >conftest.$ac_ext <<_ACEOF
4481 /* confdefs.h.  */
4482 _ACEOF
4483 cat confdefs.h >>conftest.$ac_ext
4484 cat >>conftest.$ac_ext <<_ACEOF
4485 /* end confdefs.h.  */
4486 /* Define _doprnt to an innocuous variant, in case <limits.h> declares _doprnt.
4487    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
4488 #define _doprnt innocuous__doprnt
4489
4490 /* System header to define __stub macros and hopefully few prototypes,
4491     which can conflict with char _doprnt (); below.
4492     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4493     <limits.h> exists even on freestanding compilers.  */
4494
4495 #ifdef __STDC__
4496 # include <limits.h>
4497 #else
4498 # include <assert.h>
4499 #endif
4500
4501 #undef _doprnt
4502
4503 /* Override any GCC internal prototype to avoid an error.
4504    Use char because int might match the return type of a GCC
4505    builtin and then its argument prototype would still apply.  */
4506 #ifdef __cplusplus
4507 extern "C"
4508 #endif
4509 char _doprnt ();
4510 /* The GNU C library defines this for functions which it implements
4511     to always fail with ENOSYS.  Some functions are actually named
4512     something starting with __ and the normal name is an alias.  */
4513 #if defined __stub__doprnt || defined __stub____doprnt
4514 choke me
4515 #endif
4516
4517 int
4518 main ()
4519 {
4520 return _doprnt ();
4521   ;
4522   return 0;
4523 }
4524 _ACEOF
4525 rm -f conftest.$ac_objext conftest$ac_exeext
4526 if { (ac_try="$ac_link"
4527 case "(($ac_try" in
4528   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4529   *) ac_try_echo=$ac_try;;
4530 esac
4531 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4532 $as_echo "$ac_try_echo") >&5
4533   (eval "$ac_link") 2>conftest.er1
4534   ac_status=$?
4535   grep -v '^ *+' conftest.er1 >conftest.err
4536   rm -f conftest.er1
4537   cat conftest.err >&5
4538   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4539   (exit $ac_status); } && {
4540          test -z "$ac_c_werror_flag" ||
4541          test ! -s conftest.err
4542        } && test -s conftest$ac_exeext && {
4543          test "$cross_compiling" = yes ||
4544          $as_test_x conftest$ac_exeext
4545        }; then
4546   ac_cv_func__doprnt=yes
4547 else
4548   $as_echo "$as_me: failed program was:" >&5
4549 sed 's/^/| /' conftest.$ac_ext >&5
4550
4551         ac_cv_func__doprnt=no
4552 fi
4553
4554 rm -rf conftest.dSYM
4555 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4556       conftest$ac_exeext conftest.$ac_ext
4557 fi
4558 { $as_echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5
4559 $as_echo "$ac_cv_func__doprnt" >&6; }
4560 if test "x$ac_cv_func__doprnt" = x""yes; then
4561
4562 cat >>confdefs.h <<\_ACEOF
4563 #define HAVE_DOPRNT 1
4564 _ACEOF
4565
4566 fi
4567
4568 fi
4569 done
4570
4571
4572
4573
4574
4575 for ac_func in dcgettext libintl_dgettext
4576 do
4577 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
4578 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
4579 $as_echo_n "checking for $ac_func... " >&6; }
4580 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
4581   $as_echo_n "(cached) " >&6
4582 else
4583   cat >conftest.$ac_ext <<_ACEOF
4584 /* confdefs.h.  */
4585 _ACEOF
4586 cat confdefs.h >>conftest.$ac_ext
4587 cat >>conftest.$ac_ext <<_ACEOF
4588 /* end confdefs.h.  */
4589 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4590    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
4591 #define $ac_func innocuous_$ac_func
4592
4593 /* System header to define __stub macros and hopefully few prototypes,
4594     which can conflict with char $ac_func (); below.
4595     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4596     <limits.h> exists even on freestanding compilers.  */
4597
4598 #ifdef __STDC__
4599 # include <limits.h>
4600 #else
4601 # include <assert.h>
4602 #endif
4603
4604 #undef $ac_func
4605
4606 /* Override any GCC internal prototype to avoid an error.
4607    Use char because int might match the return type of a GCC
4608    builtin and then its argument prototype would still apply.  */
4609 #ifdef __cplusplus
4610 extern "C"
4611 #endif
4612 char $ac_func ();
4613 /* The GNU C library defines this for functions which it implements
4614     to always fail with ENOSYS.  Some functions are actually named
4615     something starting with __ and the normal name is an alias.  */
4616 #if defined __stub_$ac_func || defined __stub___$ac_func
4617 choke me
4618 #endif
4619
4620 int
4621 main ()
4622 {
4623 return $ac_func ();
4624   ;
4625   return 0;
4626 }
4627 _ACEOF
4628 rm -f conftest.$ac_objext conftest$ac_exeext
4629 if { (ac_try="$ac_link"
4630 case "(($ac_try" in
4631   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4632   *) ac_try_echo=$ac_try;;
4633 esac
4634 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4635 $as_echo "$ac_try_echo") >&5
4636   (eval "$ac_link") 2>conftest.er1
4637   ac_status=$?
4638   grep -v '^ *+' conftest.er1 >conftest.err
4639   rm -f conftest.er1
4640   cat conftest.err >&5
4641   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4642   (exit $ac_status); } && {
4643          test -z "$ac_c_werror_flag" ||
4644          test ! -s conftest.err
4645        } && test -s conftest$ac_exeext && {
4646          test "$cross_compiling" = yes ||
4647          $as_test_x conftest$ac_exeext
4648        }; then
4649   eval "$as_ac_var=yes"
4650 else
4651   $as_echo "$as_me: failed program was:" >&5
4652 sed 's/^/| /' conftest.$ac_ext >&5
4653
4654         eval "$as_ac_var=no"
4655 fi
4656
4657 rm -rf conftest.dSYM
4658 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4659       conftest$ac_exeext conftest.$ac_ext
4660 fi
4661 ac_res=`eval 'as_val=${'$as_ac_var'}
4662                  $as_echo "$as_val"'`
4663                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4664 $as_echo "$ac_res" >&6; }
4665 as_val=`eval 'as_val=${'$as_ac_var'}
4666                  $as_echo "$as_val"'`
4667    if test "x$as_val" = x""yes; then
4668   cat >>confdefs.h <<_ACEOF
4669 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
4670 _ACEOF
4671
4672 fi
4673 done
4674
4675
4676
4677
4678
4679
4680
4681
4682
4683
4684
4685
4686
4687
4688
4689
4690 ac_config_files="$ac_config_files Makefile ld-elf2flt elf2flt.ld"
4691
4692 cat >confcache <<\_ACEOF
4693 # This file is a shell script that caches the results of configure
4694 # tests run on this system so they can be shared between configure
4695 # scripts and configure runs, see configure's option --config-cache.
4696 # It is not useful on other systems.  If it contains results you don't
4697 # want to keep, you may remove or edit it.
4698 #
4699 # config.status only pays attention to the cache file if you give it
4700 # the --recheck option to rerun configure.
4701 #
4702 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4703 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4704 # following values.
4705
4706 _ACEOF
4707
4708 # The following way of writing the cache mishandles newlines in values,
4709 # but we know of no workaround that is simple, portable, and efficient.
4710 # So, we kill variables containing newlines.
4711 # Ultrix sh set writes to stderr and can't be redirected directly,
4712 # and sets the high bit in the cache file unless we assign to the vars.
4713 (
4714   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4715     eval ac_val=\$$ac_var
4716     case $ac_val in #(
4717     *${as_nl}*)
4718       case $ac_var in #(
4719       *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
4720 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4721       esac
4722       case $ac_var in #(
4723       _ | IFS | as_nl) ;; #(
4724       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
4725       *) $as_unset $ac_var ;;
4726       esac ;;
4727     esac
4728   done
4729
4730   (set) 2>&1 |
4731     case $as_nl`(ac_space=' '; set) 2>&1` in #(
4732     *${as_nl}ac_space=\ *)
4733       # `set' does not quote correctly, so add quotes (double-quote
4734       # substitution turns \\\\ into \\, and sed turns \\ into \).
4735       sed -n \
4736         "s/'/'\\\\''/g;
4737           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4738       ;; #(
4739     *)
4740       # `set' quotes correctly as required by POSIX, so do not add quotes.
4741       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4742       ;;
4743     esac |
4744     sort
4745 ) |
4746   sed '
4747      /^ac_cv_env_/b end
4748      t clear
4749      :clear
4750      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4751      t end
4752      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4753      :end' >>confcache
4754 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4755   if test -w "$cache_file"; then
4756     test "x$cache_file" != "x/dev/null" &&
4757       { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
4758 $as_echo "$as_me: updating cache $cache_file" >&6;}
4759     cat confcache >$cache_file
4760   else
4761     { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
4762 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4763   fi
4764 fi
4765 rm -f confcache
4766
4767 test "x$prefix" = xNONE && prefix=$ac_default_prefix
4768 # Let make expand exec_prefix.
4769 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4770
4771 # Transform confdefs.h into DEFS.
4772 # Protect against shell expansion while executing Makefile rules.
4773 # Protect against Makefile macro expansion.
4774 #
4775 # If the first sed substitution is executed (which looks for macros that
4776 # take arguments), then branch to the quote section.  Otherwise,
4777 # look for a macro that doesn't take arguments.
4778 ac_script='
4779 :mline
4780 /\\$/{
4781  N
4782  s,\\\n,,
4783  b mline
4784 }
4785 t clear
4786 :clear
4787 s/^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\)/-D\1=\2/g
4788 t quote
4789 s/^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)/-D\1=\2/g
4790 t quote
4791 b any
4792 :quote
4793 s/[      `~#$^&*(){}\\|;'\''"<>?]/\\&/g
4794 s/\[/\\&/g
4795 s/\]/\\&/g
4796 s/\$/$$/g
4797 H
4798 :any
4799 ${
4800         g
4801         s/^\n//
4802         s/\n/ /g
4803         p
4804 }
4805 '
4806 DEFS=`sed -n "$ac_script" confdefs.h`
4807
4808
4809 ac_libobjs=
4810 ac_ltlibobjs=
4811 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4812   # 1. Remove the extension, and $U if already installed.
4813   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
4814   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
4815   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
4816   #    will be set to the directory where LIBOBJS objects are built.
4817   ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4818   ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
4819 done
4820 LIBOBJS=$ac_libobjs
4821
4822 LTLIBOBJS=$ac_ltlibobjs
4823
4824
4825
4826 : ${CONFIG_STATUS=./config.status}
4827 ac_write_fail=0
4828 ac_clean_files_save=$ac_clean_files
4829 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4830 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
4831 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
4832 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4833 #! $SHELL
4834 # Generated by $as_me.
4835 # Run this file to recreate the current configuration.
4836 # Compiler output produced by configure, useful for debugging
4837 # configure, is in config.log if it exists.
4838
4839 debug=false
4840 ac_cs_recheck=false
4841 ac_cs_silent=false
4842 SHELL=\${CONFIG_SHELL-$SHELL}
4843 _ACEOF
4844
4845 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4846 ## --------------------- ##
4847 ## M4sh Initialization.  ##
4848 ## --------------------- ##
4849
4850 # Be more Bourne compatible
4851 DUALCASE=1; export DUALCASE # for MKS sh
4852 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
4853   emulate sh
4854   NULLCMD=:
4855   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4856   # is contrary to our usage.  Disable this feature.
4857   alias -g '${1+"$@"}'='"$@"'
4858   setopt NO_GLOB_SUBST
4859 else
4860   case `(set -o) 2>/dev/null` in
4861   *posix*) set -o posix ;;
4862 esac
4863
4864 fi
4865
4866
4867
4868
4869 # PATH needs CR
4870 # Avoid depending upon Character Ranges.
4871 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4872 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4873 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4874 as_cr_digits='0123456789'
4875 as_cr_alnum=$as_cr_Letters$as_cr_digits
4876
4877 as_nl='
4878 '
4879 export as_nl
4880 # Printing a long string crashes Solaris 7 /usr/bin/printf.
4881 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4882 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4883 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4884 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4885   as_echo='printf %s\n'
4886   as_echo_n='printf %s'
4887 else
4888   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4889     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
4890     as_echo_n='/usr/ucb/echo -n'
4891   else
4892     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4893     as_echo_n_body='eval
4894       arg=$1;
4895       case $arg in
4896       *"$as_nl"*)
4897         expr "X$arg" : "X\\(.*\\)$as_nl";
4898         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4899       esac;
4900       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
4901     '
4902     export as_echo_n_body
4903     as_echo_n='sh -c $as_echo_n_body as_echo'
4904   fi
4905   export as_echo_body
4906   as_echo='sh -c $as_echo_body as_echo'
4907 fi
4908
4909 # The user is always right.
4910 if test "${PATH_SEPARATOR+set}" != set; then
4911   PATH_SEPARATOR=:
4912   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4913     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4914       PATH_SEPARATOR=';'
4915   }
4916 fi
4917
4918 # Support unset when possible.
4919 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4920   as_unset=unset
4921 else
4922   as_unset=false
4923 fi
4924
4925
4926 # IFS
4927 # We need space, tab and new line, in precisely that order.  Quoting is
4928 # there to prevent editors from complaining about space-tab.
4929 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
4930 # splitting by setting IFS to empty value.)
4931 IFS=" ""        $as_nl"
4932
4933 # Find who we are.  Look in the path if we contain no directory separator.
4934 case $0 in
4935   *[\\/]* ) as_myself=$0 ;;
4936   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4937 for as_dir in $PATH
4938 do
4939   IFS=$as_save_IFS
4940   test -z "$as_dir" && as_dir=.
4941   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4942 done
4943 IFS=$as_save_IFS
4944
4945      ;;
4946 esac
4947 # We did not find ourselves, most probably we were run as `sh COMMAND'
4948 # in which case we are not to be found in the path.
4949 if test "x$as_myself" = x; then
4950   as_myself=$0
4951 fi
4952 if test ! -f "$as_myself"; then
4953   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4954   { (exit 1); exit 1; }
4955 fi
4956
4957 # Work around bugs in pre-3.0 UWIN ksh.
4958 for as_var in ENV MAIL MAILPATH
4959 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
4960 done
4961 PS1='$ '
4962 PS2='> '
4963 PS4='+ '
4964
4965 # NLS nuisances.
4966 LC_ALL=C
4967 export LC_ALL
4968 LANGUAGE=C
4969 export LANGUAGE
4970
4971 # Required to use basename.
4972 if expr a : '\(a\)' >/dev/null 2>&1 &&
4973    test "X`expr 00001 : '.*\(...\)'`" = X001; then
4974   as_expr=expr
4975 else
4976   as_expr=false
4977 fi
4978
4979 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4980   as_basename=basename
4981 else
4982   as_basename=false
4983 fi
4984
4985
4986 # Name of the executable.
4987 as_me=`$as_basename -- "$0" ||
4988 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4989          X"$0" : 'X\(//\)$' \| \
4990          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4991 $as_echo X/"$0" |
4992     sed '/^.*\/\([^/][^/]*\)\/*$/{
4993             s//\1/
4994             q
4995           }
4996           /^X\/\(\/\/\)$/{
4997             s//\1/
4998             q
4999           }
5000           /^X\/\(\/\).*/{
5001             s//\1/
5002             q
5003           }
5004           s/.*/./; q'`
5005
5006 # CDPATH.
5007 $as_unset CDPATH
5008
5009
5010
5011   as_lineno_1=$LINENO
5012   as_lineno_2=$LINENO
5013   test "x$as_lineno_1" != "x$as_lineno_2" &&
5014   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
5015
5016   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
5017   # uniformly replaced by the line number.  The first 'sed' inserts a
5018   # line-number line after each line using $LINENO; the second 'sed'
5019   # does the real work.  The second script uses 'N' to pair each
5020   # line-number line with the line containing $LINENO, and appends
5021   # trailing '-' during substitution so that $LINENO is not a special
5022   # case at line end.
5023   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
5024   # scripts with optimization help from Paolo Bonzini.  Blame Lee
5025   # E. McMahon (1931-1989) for sed's syntax.  :-)
5026   sed -n '
5027     p
5028     /[$]LINENO/=
5029   ' <$as_myself |
5030     sed '
5031       s/[$]LINENO.*/&-/
5032       t lineno
5033       b
5034       :lineno
5035       N
5036       :loop
5037       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
5038       t loop
5039       s/-\n.*//
5040     ' >$as_me.lineno &&
5041   chmod +x "$as_me.lineno" ||
5042     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
5043    { (exit 1); exit 1; }; }
5044
5045   # Don't try to exec as it changes $[0], causing all sort of problems
5046   # (the dirname of $[0] is not the place where we might find the
5047   # original and so on.  Autoconf is especially sensitive to this).
5048   . "./$as_me.lineno"
5049   # Exit status is that of the last command.
5050   exit
5051 }
5052
5053
5054 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5055   as_dirname=dirname
5056 else
5057   as_dirname=false
5058 fi
5059
5060 ECHO_C= ECHO_N= ECHO_T=
5061 case `echo -n x` in
5062 -n*)
5063   case `echo 'x\c'` in
5064   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
5065   *)   ECHO_C='\c';;
5066   esac;;
5067 *)
5068   ECHO_N='-n';;
5069 esac
5070 if expr a : '\(a\)' >/dev/null 2>&1 &&
5071    test "X`expr 00001 : '.*\(...\)'`" = X001; then
5072   as_expr=expr
5073 else
5074   as_expr=false
5075 fi
5076
5077 rm -f conf$$ conf$$.exe conf$$.file
5078 if test -d conf$$.dir; then
5079   rm -f conf$$.dir/conf$$.file
5080 else
5081   rm -f conf$$.dir
5082   mkdir conf$$.dir 2>/dev/null
5083 fi
5084 if (echo >conf$$.file) 2>/dev/null; then
5085   if ln -s conf$$.file conf$$ 2>/dev/null; then
5086     as_ln_s='ln -s'
5087     # ... but there are two gotchas:
5088     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5089     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5090     # In both cases, we have to default to `cp -p'.
5091     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5092       as_ln_s='cp -p'
5093   elif ln conf$$.file conf$$ 2>/dev/null; then
5094     as_ln_s=ln
5095   else
5096     as_ln_s='cp -p'
5097   fi
5098 else
5099   as_ln_s='cp -p'
5100 fi
5101 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5102 rmdir conf$$.dir 2>/dev/null
5103
5104 if mkdir -p . 2>/dev/null; then
5105   as_mkdir_p=:
5106 else
5107   test -d ./-p && rmdir ./-p
5108   as_mkdir_p=false
5109 fi
5110
5111 if test -x / >/dev/null 2>&1; then
5112   as_test_x='test -x'
5113 else
5114   if ls -dL / >/dev/null 2>&1; then
5115     as_ls_L_option=L
5116   else
5117     as_ls_L_option=
5118   fi
5119   as_test_x='
5120     eval sh -c '\''
5121       if test -d "$1"; then
5122         test -d "$1/.";
5123       else
5124         case $1 in
5125         -*)set "./$1";;
5126         esac;
5127         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
5128         ???[sx]*):;;*)false;;esac;fi
5129     '\'' sh
5130   '
5131 fi
5132 as_executable_p=$as_test_x
5133
5134 # Sed expression to map a string onto a valid CPP name.
5135 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5136
5137 # Sed expression to map a string onto a valid variable name.
5138 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5139
5140
5141 exec 6>&1
5142
5143 # Save the log message, to keep $[0] and so on meaningful, and to
5144 # report actual input values of CONFIG_FILES etc. instead of their
5145 # values after options handling.
5146 ac_log="
5147 This file was extended by $as_me, which was
5148 generated by GNU Autoconf 2.63.  Invocation command line was
5149
5150   CONFIG_FILES    = $CONFIG_FILES
5151   CONFIG_HEADERS  = $CONFIG_HEADERS
5152   CONFIG_LINKS    = $CONFIG_LINKS
5153   CONFIG_COMMANDS = $CONFIG_COMMANDS
5154   $ $0 $@
5155
5156 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5157 "
5158
5159 _ACEOF
5160
5161 case $ac_config_files in *"
5162 "*) set x $ac_config_files; shift; ac_config_files=$*;;
5163 esac
5164
5165
5166
5167 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5168 # Files that config.status was made for.
5169 config_files="$ac_config_files"
5170
5171 _ACEOF
5172
5173 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5174 ac_cs_usage="\
5175 \`$as_me' instantiates files from templates according to the
5176 current configuration.
5177
5178 Usage: $0 [OPTION]... [FILE]...
5179
5180   -h, --help       print this help, then exit
5181   -V, --version    print version number and configuration settings, then exit
5182   -q, --quiet, --silent
5183                    do not print progress messages
5184   -d, --debug      don't remove temporary files
5185       --recheck    update $as_me by reconfiguring in the same conditions
5186       --file=FILE[:TEMPLATE]
5187                    instantiate the configuration file FILE
5188
5189 Configuration files:
5190 $config_files
5191
5192 Report bugs to <bug-autoconf@gnu.org>."
5193
5194 _ACEOF
5195 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5196 ac_cs_version="\\
5197 config.status
5198 configured by $0, generated by GNU Autoconf 2.63,
5199   with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
5200
5201 Copyright (C) 2008 Free Software Foundation, Inc.
5202 This config.status script is free software; the Free Software Foundation
5203 gives unlimited permission to copy, distribute and modify it."
5204
5205 ac_pwd='$ac_pwd'
5206 srcdir='$srcdir'
5207 INSTALL='$INSTALL'
5208 test -n "\$AWK" || AWK=awk
5209 _ACEOF
5210
5211 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5212 # The default lists apply if the user does not specify any file.
5213 ac_need_defaults=:
5214 while test $# != 0
5215 do
5216   case $1 in
5217   --*=*)
5218     ac_option=`expr "X$1" : 'X\([^=]*\)='`
5219     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5220     ac_shift=:
5221     ;;
5222   *)
5223     ac_option=$1
5224     ac_optarg=$2
5225     ac_shift=shift
5226     ;;
5227   esac
5228
5229   case $ac_option in
5230   # Handling of the options.
5231   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5232     ac_cs_recheck=: ;;
5233   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5234     $as_echo "$ac_cs_version"; exit ;;
5235   --debug | --debu | --deb | --de | --d | -d )
5236     debug=: ;;
5237   --file | --fil | --fi | --f )
5238     $ac_shift
5239     case $ac_optarg in
5240     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5241     esac
5242     CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
5243     ac_need_defaults=false;;
5244   --he | --h |  --help | --hel | -h )
5245     $as_echo "$ac_cs_usage"; exit ;;
5246   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5247   | -silent | --silent | --silen | --sile | --sil | --si | --s)
5248     ac_cs_silent=: ;;
5249
5250   # This is an error.
5251   -*) { $as_echo "$as_me: error: unrecognized option: $1
5252 Try \`$0 --help' for more information." >&2
5253    { (exit 1); exit 1; }; } ;;
5254
5255   *) ac_config_targets="$ac_config_targets $1"
5256      ac_need_defaults=false ;;
5257
5258   esac
5259   shift
5260 done
5261
5262 ac_configure_extra_args=
5263
5264 if $ac_cs_silent; then
5265   exec 6>/dev/null
5266   ac_configure_extra_args="$ac_configure_extra_args --silent"
5267 fi
5268
5269 _ACEOF
5270 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5271 if \$ac_cs_recheck; then
5272   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5273   shift
5274   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5275   CONFIG_SHELL='$SHELL'
5276   export CONFIG_SHELL
5277   exec "\$@"
5278 fi
5279
5280 _ACEOF
5281 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5282 exec 5>>config.log
5283 {
5284   echo
5285   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5286 ## Running $as_me. ##
5287 _ASBOX
5288   $as_echo "$ac_log"
5289 } >&5
5290
5291 _ACEOF
5292 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5293 _ACEOF
5294
5295 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5296
5297 # Handling of arguments.
5298 for ac_config_target in $ac_config_targets
5299 do
5300   case $ac_config_target in
5301     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5302     "ld-elf2flt") CONFIG_FILES="$CONFIG_FILES ld-elf2flt" ;;
5303     "elf2flt.ld") CONFIG_FILES="$CONFIG_FILES elf2flt.ld" ;;
5304
5305   *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
5306 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
5307    { (exit 1); exit 1; }; };;
5308   esac
5309 done
5310
5311
5312 # If the user did not use the arguments to specify the items to instantiate,
5313 # then the envvar interface is used.  Set only those that are not.
5314 # We use the long form for the default assignment because of an extremely
5315 # bizarre bug on SunOS 4.1.3.
5316 if $ac_need_defaults; then
5317   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5318 fi
5319
5320 # Have a temporary directory for convenience.  Make it in the build tree
5321 # simply because there is no reason against having it here, and in addition,
5322 # creating and moving files from /tmp can sometimes cause problems.
5323 # Hook for its removal unless debugging.
5324 # Note that there is a small window in which the directory will not be cleaned:
5325 # after its creation but before its name has been assigned to `$tmp'.
5326 $debug ||
5327 {
5328   tmp=
5329   trap 'exit_status=$?
5330   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
5331 ' 0
5332   trap '{ (exit 1); exit 1; }' 1 2 13 15
5333 }
5334 # Create a (secure) tmp directory for tmp files.
5335
5336 {
5337   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5338   test -n "$tmp" && test -d "$tmp"
5339 }  ||
5340 {
5341   tmp=./conf$$-$RANDOM
5342   (umask 077 && mkdir "$tmp")
5343 } ||
5344 {
5345    $as_echo "$as_me: cannot create a temporary directory in ." >&2
5346    { (exit 1); exit 1; }
5347 }
5348
5349 # Set up the scripts for CONFIG_FILES section.
5350 # No need to generate them if there are no CONFIG_FILES.
5351 # This happens for instance with `./config.status config.h'.
5352 if test -n "$CONFIG_FILES"; then
5353
5354
5355 ac_cr='\r'
5356 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5357 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5358   ac_cs_awk_cr='\\r'
5359 else
5360   ac_cs_awk_cr=$ac_cr
5361 fi
5362
5363 echo 'BEGIN {' >"$tmp/subs1.awk" &&
5364 _ACEOF
5365
5366
5367 {
5368   echo "cat >conf$$subs.awk <<_ACEOF" &&
5369   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5370   echo "_ACEOF"
5371 } >conf$$subs.sh ||
5372   { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
5373 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
5374    { (exit 1); exit 1; }; }
5375 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
5376 ac_delim='%!_!# '
5377 for ac_last_try in false false false false false :; do
5378   . ./conf$$subs.sh ||
5379     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
5380 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
5381    { (exit 1); exit 1; }; }
5382
5383   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
5384   if test $ac_delim_n = $ac_delim_num; then
5385     break
5386   elif $ac_last_try; then
5387     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
5388 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
5389    { (exit 1); exit 1; }; }
5390   else
5391     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5392   fi
5393 done
5394 rm -f conf$$subs.sh
5395
5396 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5397 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
5398 _ACEOF
5399 sed -n '
5400 h
5401 s/^/S["/; s/!.*/"]=/
5402 p
5403 g
5404 s/^[^!]*!//
5405 :repl
5406 t repl
5407 s/'"$ac_delim"'$//
5408 t delim
5409 :nl
5410 h
5411 s/\(.\{148\}\).*/\1/
5412 t more1
5413 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
5414 p
5415 n
5416 b repl
5417 :more1
5418 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5419 p
5420 g
5421 s/.\{148\}//
5422 t nl
5423 :delim
5424 h
5425 s/\(.\{148\}\).*/\1/
5426 t more2
5427 s/["\\]/\\&/g; s/^/"/; s/$/"/
5428 p
5429 b
5430 :more2
5431 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5432 p
5433 g
5434 s/.\{148\}//
5435 t delim
5436 ' <conf$$subs.awk | sed '
5437 /^[^""]/{
5438   N
5439   s/\n//
5440 }
5441 ' >>$CONFIG_STATUS || ac_write_fail=1
5442 rm -f conf$$subs.awk
5443 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5444 _ACAWK
5445 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
5446   for (key in S) S_is_set[key] = 1
5447   FS = "\a"
5448
5449 }
5450 {
5451   line = $ 0
5452   nfields = split(line, field, "@")
5453   substed = 0
5454   len = length(field[1])
5455   for (i = 2; i < nfields; i++) {
5456     key = field[i]
5457     keylen = length(key)
5458     if (S_is_set[key]) {
5459       value = S[key]
5460       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5461       len += length(value) + length(field[++i])
5462       substed = 1
5463     } else
5464       len += 1 + keylen
5465   }
5466
5467   print line
5468 }
5469
5470 _ACAWK
5471 _ACEOF
5472 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5473 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5474   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
5475 else
5476   cat
5477 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
5478   || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
5479 $as_echo "$as_me: error: could not setup config files machinery" >&2;}
5480    { (exit 1); exit 1; }; }
5481 _ACEOF
5482
5483 # VPATH may cause trouble with some makes, so we remove $(srcdir),
5484 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
5485 # trailing colons and then remove the whole line if VPATH becomes empty
5486 # (actually we leave an empty line to preserve line numbers).
5487 if test "x$srcdir" = x.; then
5488   ac_vpsub='/^[  ]*VPATH[        ]*=/{
5489 s/:*\$(srcdir):*/:/
5490 s/:*\${srcdir}:*/:/
5491 s/:*@srcdir@:*/:/
5492 s/^\([^=]*=[     ]*\):*/\1/
5493 s/:*$//
5494 s/^[^=]*=[       ]*$//
5495 }'
5496 fi
5497
5498 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5499 fi # test -n "$CONFIG_FILES"
5500
5501
5502 eval set X "  :F $CONFIG_FILES      "
5503 shift
5504 for ac_tag
5505 do
5506   case $ac_tag in
5507   :[FHLC]) ac_mode=$ac_tag; continue;;
5508   esac
5509   case $ac_mode$ac_tag in
5510   :[FHL]*:*);;
5511   :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
5512 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
5513    { (exit 1); exit 1; }; };;
5514   :[FH]-) ac_tag=-:-;;
5515   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5516   esac
5517   ac_save_IFS=$IFS
5518   IFS=:
5519   set x $ac_tag
5520   IFS=$ac_save_IFS
5521   shift
5522   ac_file=$1
5523   shift
5524
5525   case $ac_mode in
5526   :L) ac_source=$1;;
5527   :[FH])
5528     ac_file_inputs=
5529     for ac_f
5530     do
5531       case $ac_f in
5532       -) ac_f="$tmp/stdin";;
5533       *) # Look for the file first in the build tree, then in the source tree
5534          # (if the path is not absolute).  The absolute path cannot be DOS-style,
5535          # because $ac_f cannot contain `:'.
5536          test -f "$ac_f" ||
5537            case $ac_f in
5538            [\\/$]*) false;;
5539            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5540            esac ||
5541            { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
5542 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
5543    { (exit 1); exit 1; }; };;
5544       esac
5545       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
5546       ac_file_inputs="$ac_file_inputs '$ac_f'"
5547     done
5548
5549     # Let's still pretend it is `configure' which instantiates (i.e., don't
5550     # use $as_me), people would be surprised to read:
5551     #    /* config.h.  Generated by config.status.  */
5552     configure_input='Generated from '`
5553           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5554         `' by configure.'
5555     if test x"$ac_file" != x-; then
5556       configure_input="$ac_file.  $configure_input"
5557       { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
5558 $as_echo "$as_me: creating $ac_file" >&6;}
5559     fi
5560     # Neutralize special characters interpreted by sed in replacement strings.
5561     case $configure_input in #(
5562     *\&* | *\|* | *\\* )
5563        ac_sed_conf_input=`$as_echo "$configure_input" |
5564        sed 's/[\\\\&|]/\\\\&/g'`;; #(
5565     *) ac_sed_conf_input=$configure_input;;
5566     esac
5567
5568     case $ac_tag in
5569     *:-:* | *:-) cat >"$tmp/stdin" \
5570       || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
5571 $as_echo "$as_me: error: could not create $ac_file" >&2;}
5572    { (exit 1); exit 1; }; } ;;
5573     esac
5574     ;;
5575   esac
5576
5577   ac_dir=`$as_dirname -- "$ac_file" ||
5578 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5579          X"$ac_file" : 'X\(//\)[^/]' \| \
5580          X"$ac_file" : 'X\(//\)$' \| \
5581          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5582 $as_echo X"$ac_file" |
5583     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5584             s//\1/
5585             q
5586           }
5587           /^X\(\/\/\)[^/].*/{
5588             s//\1/
5589             q
5590           }
5591           /^X\(\/\/\)$/{
5592             s//\1/
5593             q
5594           }
5595           /^X\(\/\).*/{
5596             s//\1/
5597             q
5598           }
5599           s/.*/./; q'`
5600   { as_dir="$ac_dir"
5601   case $as_dir in #(
5602   -*) as_dir=./$as_dir;;
5603   esac
5604   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
5605     as_dirs=
5606     while :; do
5607       case $as_dir in #(
5608       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5609       *) as_qdir=$as_dir;;
5610       esac
5611       as_dirs="'$as_qdir' $as_dirs"
5612       as_dir=`$as_dirname -- "$as_dir" ||
5613 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5614          X"$as_dir" : 'X\(//\)[^/]' \| \
5615          X"$as_dir" : 'X\(//\)$' \| \
5616          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5617 $as_echo X"$as_dir" |
5618     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5619             s//\1/
5620             q
5621           }
5622           /^X\(\/\/\)[^/].*/{
5623             s//\1/
5624             q
5625           }
5626           /^X\(\/\/\)$/{
5627             s//\1/
5628             q
5629           }
5630           /^X\(\/\).*/{
5631             s//\1/
5632             q
5633           }
5634           s/.*/./; q'`
5635       test -d "$as_dir" && break
5636     done
5637     test -z "$as_dirs" || eval "mkdir $as_dirs"
5638   } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
5639 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
5640    { (exit 1); exit 1; }; }; }
5641   ac_builddir=.
5642
5643 case "$ac_dir" in
5644 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5645 *)
5646   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5647   # A ".." for each directory in $ac_dir_suffix.
5648   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5649   case $ac_top_builddir_sub in
5650   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5651   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5652   esac ;;
5653 esac
5654 ac_abs_top_builddir=$ac_pwd
5655 ac_abs_builddir=$ac_pwd$ac_dir_suffix
5656 # for backward compatibility:
5657 ac_top_builddir=$ac_top_build_prefix
5658
5659 case $srcdir in
5660   .)  # We are building in place.
5661     ac_srcdir=.
5662     ac_top_srcdir=$ac_top_builddir_sub
5663     ac_abs_top_srcdir=$ac_pwd ;;
5664   [\\/]* | ?:[\\/]* )  # Absolute name.
5665     ac_srcdir=$srcdir$ac_dir_suffix;
5666     ac_top_srcdir=$srcdir
5667     ac_abs_top_srcdir=$srcdir ;;
5668   *) # Relative name.
5669     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5670     ac_top_srcdir=$ac_top_build_prefix$srcdir
5671     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5672 esac
5673 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5674
5675
5676   case $ac_mode in
5677   :F)
5678   #
5679   # CONFIG_FILE
5680   #
5681
5682   case $INSTALL in
5683   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5684   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
5685   esac
5686 _ACEOF
5687
5688 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5689 # If the template does not know about datarootdir, expand it.
5690 # FIXME: This hack should be removed a few years after 2.60.
5691 ac_datarootdir_hack=; ac_datarootdir_seen=
5692
5693 ac_sed_dataroot='
5694 /datarootdir/ {
5695   p
5696   q
5697 }
5698 /@datadir@/p
5699 /@docdir@/p
5700 /@infodir@/p
5701 /@localedir@/p
5702 /@mandir@/p
5703 '
5704 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
5705 *datarootdir*) ac_datarootdir_seen=yes;;
5706 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5707   { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5708 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5709 _ACEOF
5710 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5711   ac_datarootdir_hack='
5712   s&@datadir@&$datadir&g
5713   s&@docdir@&$docdir&g
5714   s&@infodir@&$infodir&g
5715   s&@localedir@&$localedir&g
5716   s&@mandir@&$mandir&g
5717     s&\\\${datarootdir}&$datarootdir&g' ;;
5718 esac
5719 _ACEOF
5720
5721 # Neutralize VPATH when `$srcdir' = `.'.
5722 # Shell code in configure.ac might set extrasub.
5723 # FIXME: do we really want to maintain this feature?
5724 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5725 ac_sed_extra="$ac_vpsub
5726 $extrasub
5727 _ACEOF
5728 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5729 :t
5730 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5731 s|@configure_input@|$ac_sed_conf_input|;t t
5732 s&@top_builddir@&$ac_top_builddir_sub&;t t
5733 s&@top_build_prefix@&$ac_top_build_prefix&;t t
5734 s&@srcdir@&$ac_srcdir&;t t
5735 s&@abs_srcdir@&$ac_abs_srcdir&;t t
5736 s&@top_srcdir@&$ac_top_srcdir&;t t
5737 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
5738 s&@builddir@&$ac_builddir&;t t
5739 s&@abs_builddir@&$ac_abs_builddir&;t t
5740 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
5741 s&@INSTALL@&$ac_INSTALL&;t t
5742 $ac_datarootdir_hack
5743 "
5744 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
5745   || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
5746 $as_echo "$as_me: error: could not create $ac_file" >&2;}
5747    { (exit 1); exit 1; }; }
5748
5749 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5750   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
5751   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
5752   { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5753 which seems to be undefined.  Please make sure it is defined." >&5
5754 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5755 which seems to be undefined.  Please make sure it is defined." >&2;}
5756
5757   rm -f "$tmp/stdin"
5758   case $ac_file in
5759   -) cat "$tmp/out" && rm -f "$tmp/out";;
5760   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
5761   esac \
5762   || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
5763 $as_echo "$as_me: error: could not create $ac_file" >&2;}
5764    { (exit 1); exit 1; }; }
5765  ;;
5766
5767
5768
5769   esac
5770
5771 done # for ac_tag
5772
5773
5774 { (exit 0); exit 0; }
5775 _ACEOF
5776 chmod +x $CONFIG_STATUS
5777 ac_clean_files=$ac_clean_files_save
5778
5779 test $ac_write_fail = 0 ||
5780   { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
5781 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
5782    { (exit 1); exit 1; }; }
5783
5784
5785 # configure is writing to config.log, and then calls config.status.
5786 # config.status does its own redirection, appending to config.log.
5787 # Unfortunately, on DOS this fails, as config.log is still kept open
5788 # by configure, so config.status won't be able to write to it; its
5789 # output is simply discarded.  So we exec the FD to /dev/null,
5790 # effectively closing config.log, so it can be properly (re)opened and
5791 # appended to by config.status.  When coming back to configure, we
5792 # need to make the FD available again.
5793 if test "$no_create" != yes; then
5794   ac_cs_success=:
5795   ac_config_status_args=
5796   test "$silent" = yes &&
5797     ac_config_status_args="$ac_config_status_args --quiet"
5798   exec 5>/dev/null
5799   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5800   exec 5>>config.log
5801   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5802   # would make configure fail if this is the last instruction.
5803   $ac_cs_success || { (exit 1); exit 1; }
5804 fi
5805 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
5806   { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
5807 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
5808 fi
5809
5810