OSDN Git Service

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