OSDN Git Service

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