]> git.ipfire.org Git - thirdparty/gcc.git/blob - libgcc/configure
t-slibgcc-darwin: Move to ...
[thirdparty/gcc.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 # Check for assembler CFI support.
3764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether assembler supports CFI directives" >&5
3765 $as_echo_n "checking whether assembler supports CFI directives... " >&6; }
3766 if test "${libgcc_cv_cfi+set}" = set; then :
3767 $as_echo_n "(cached) " >&6
3768 else
3769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3770 /* end confdefs.h. */
3771 asm("\n\
3772 .text\n\
3773 .cfi_startproc\n\
3774 .cfi_personality 0, symbol\n\
3775 .cfi_endproc");
3776 _ACEOF
3777 if ac_fn_c_try_compile "$LINENO"; then :
3778 libgcc_cv_cfi=yes
3779 else
3780 libgcc_cv_cfi=no
3781 fi
3782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3783 fi
3784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgcc_cv_cfi" >&5
3785 $as_echo "$libgcc_cv_cfi" >&6; }
3786
3787 # Check 32bit or 64bit for x86.
3788 case ${host} in
3789 i?86*-*-* | x86_64*-*-*)
3790 cat > conftest.c <<EOF
3791 #ifdef __x86_64__
3792 host_address=64
3793 #else
3794 host_address=32
3795 #endif
3796 EOF
3797 eval `${CC-cc} -E conftest.c | grep host_address=`
3798 rm -f conftest.c
3799 ;;
3800 esac
3801
3802 # Collect host-machine-specific information.
3803 . ${srcdir}/config.host
3804
3805 # Check if Solaris/x86 linker supports ZERO terminator unwind entries.
3806 # This is after config.host so we can augment tmake_file.
3807 # Link with -nostartfiles -nodefaultlibs since neither are present while
3808 # building libgcc.
3809 case ${host} in
3810 i?86-*-solaris2*)
3811 cat > conftest.s <<EOF
3812 .section .eh_frame,"a",@unwind
3813 .zero 4
3814 .section .jcr,"aw",@progbits
3815 .zero 8
3816 EOF
3817 if { ac_try='${CC-cc} -shared -nostartfiles -nodefaultlibs -o conftest.so conftest.s 1>&5'
3818 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
3819 (eval $ac_try) 2>&5
3820 ac_status=$?
3821 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3822 test $ac_status = 0; }; }; then
3823 # configure expects config files in libgcc/config, so need a relative
3824 # path here.
3825 tmake_file="${tmake_file} ../../gcc/config/i386/t-crtstuff"
3826 fi
3827 ;;
3828 esac
3829
3830 # Check for visibility support. This is after config.host so that
3831 # we can check for asm_hidden_op.
3832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __attribute__((visibility(\"hidden\")))" >&5
3833 $as_echo_n "checking for __attribute__((visibility(\"hidden\")))... " >&6; }
3834 if test "${libgcc_cv_hidden_visibility_attribute+set}" = set; then :
3835 $as_echo_n "(cached) " >&6
3836 else
3837
3838 echo 'int __attribute__ ((visibility ("hidden"))) foo (void) { return 1; }' > conftest.c
3839 libgcc_cv_hidden_visibility_attribute=no
3840 if { ac_try='${CC-cc} -Werror -S conftest.c -o conftest.s 1>&5'
3841 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
3842 (eval $ac_try) 2>&5
3843 ac_status=$?
3844 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3845 test $ac_status = 0; }; }; then
3846 if grep "\\$asm_hidden_op.*foo" conftest.s >/dev/null; then
3847 libgcc_cv_hidden_visibility_attribute=yes
3848 fi
3849 fi
3850 rm -f conftest.*
3851
3852 fi
3853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgcc_cv_hidden_visibility_attribute" >&5
3854 $as_echo "$libgcc_cv_hidden_visibility_attribute" >&6; }
3855
3856 if test $libgcc_cv_hidden_visibility_attribute = yes; then
3857 vis_hide='-fvisibility=hidden -DHIDE_EXPORTS'
3858 else
3859 vis_hide=
3860 fi
3861
3862
3863 # See if we have thread-local storage. We can only test assembler
3864 # sicne link-time and run-time tests require the newly built
3865 # gcc, which can't be used to build executable due to that libgcc
3866 # is yet to be built here.
3867
3868 # Check whether --enable-tls was given.
3869 if test "${enable_tls+set}" = set; then :
3870 enableval=$enable_tls;
3871 case "$enableval" in
3872 yes|no) ;;
3873 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
3874 esac
3875
3876 else
3877 enable_tls=yes
3878 fi
3879
3880
3881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target assembler supports thread-local storage" >&5
3882 $as_echo_n "checking whether the target assembler supports thread-local storage... " >&6; }
3883 if test "${gcc_cv_have_cc_tls+set}" = set; then :
3884 $as_echo_n "(cached) " >&6
3885 else
3886
3887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3888 /* end confdefs.h. */
3889 __thread int a; int b; int main() { return a = b; }
3890 _ACEOF
3891 if ac_fn_c_try_compile "$LINENO"; then :
3892 gcc_cv_have_cc_tls=yes
3893 else
3894 gcc_cv_have_cc_tls=no
3895 fi
3896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3897
3898 fi
3899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_cc_tls" >&5
3900 $as_echo "$gcc_cv_have_cc_tls" >&6; }
3901 set_have_cc_tls=
3902 if test "$enable_tls $gcc_cv_have_cc_tls" = "yes yes"; then
3903 set_have_cc_tls="-DHAVE_CC_TLS"
3904 fi
3905
3906
3907 # See if we have emulated thread-local storage.
3908
3909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the thread-local storage support is from emutls" >&5
3910 $as_echo_n "checking whether the thread-local storage support is from emutls... " >&6; }
3911 if test "${gcc_cv_use_emutls+set}" = set; then :
3912 $as_echo_n "(cached) " >&6
3913 else
3914
3915 gcc_cv_use_emutls=no
3916 echo '__thread int a; int b; int main() { return a = b; }' > conftest.c
3917 if { ac_try='${CC-cc} -Werror -S -o conftest.s conftest.c 1>&5'
3918 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
3919 (eval $ac_try) 2>&5
3920 ac_status=$?
3921 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3922 test $ac_status = 0; }; }; then
3923 if grep __emutls_get_address conftest.s > /dev/null; then
3924 gcc_cv_use_emutls=yes
3925 fi
3926 fi
3927 rm -f conftest.*
3928
3929 fi
3930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_use_emutls" >&5
3931 $as_echo "$gcc_cv_use_emutls" >&6; }
3932 if test "$gcc_cv_use_emutls" = "yes" ; then
3933
3934 $as_echo "#define USE_EMUTLS 1" >>confdefs.h
3935
3936 fi
3937 set_use_emutls=
3938 if test "$enable_tls $gcc_cv_use_emutls" = "yes yes"; then
3939 set_use_emutls="-DUSE_EMUTLS"
3940 fi
3941
3942
3943 # Conditionalize the makefile for this target machine.
3944 tmake_file_=
3945 for f in ${tmake_file}
3946 do
3947 if test -f ${srcdir}/config/$f
3948 then
3949 tmake_file_="${tmake_file_} \$(srcdir)/config/$f"
3950 fi
3951 done
3952 tmake_file="${tmake_file_}"
3953
3954
3955 # Substitute configuration variables
3956
3957
3958
3959
3960 # We need multilib support.
3961 ac_config_files="$ac_config_files Makefile"
3962
3963 ac_config_commands="$ac_config_commands default"
3964
3965 cat >confcache <<\_ACEOF
3966 # This file is a shell script that caches the results of configure
3967 # tests run on this system so they can be shared between configure
3968 # scripts and configure runs, see configure's option --config-cache.
3969 # It is not useful on other systems. If it contains results you don't
3970 # want to keep, you may remove or edit it.
3971 #
3972 # config.status only pays attention to the cache file if you give it
3973 # the --recheck option to rerun configure.
3974 #
3975 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3976 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3977 # following values.
3978
3979 _ACEOF
3980
3981 # The following way of writing the cache mishandles newlines in values,
3982 # but we know of no workaround that is simple, portable, and efficient.
3983 # So, we kill variables containing newlines.
3984 # Ultrix sh set writes to stderr and can't be redirected directly,
3985 # and sets the high bit in the cache file unless we assign to the vars.
3986 (
3987 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
3988 eval ac_val=\$$ac_var
3989 case $ac_val in #(
3990 *${as_nl}*)
3991 case $ac_var in #(
3992 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3993 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3994 esac
3995 case $ac_var in #(
3996 _ | IFS | as_nl) ;; #(
3997 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3998 *) { eval $ac_var=; unset $ac_var;} ;;
3999 esac ;;
4000 esac
4001 done
4002
4003 (set) 2>&1 |
4004 case $as_nl`(ac_space=' '; set) 2>&1` in #(
4005 *${as_nl}ac_space=\ *)
4006 # `set' does not quote correctly, so add quotes: double-quote
4007 # substitution turns \\\\ into \\, and sed turns \\ into \.
4008 sed -n \
4009 "s/'/'\\\\''/g;
4010 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4011 ;; #(
4012 *)
4013 # `set' quotes correctly as required by POSIX, so do not add quotes.
4014 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4015 ;;
4016 esac |
4017 sort
4018 ) |
4019 sed '
4020 /^ac_cv_env_/b end
4021 t clear
4022 :clear
4023 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4024 t end
4025 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4026 :end' >>confcache
4027 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4028 if test -w "$cache_file"; then
4029 test "x$cache_file" != "x/dev/null" &&
4030 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4031 $as_echo "$as_me: updating cache $cache_file" >&6;}
4032 cat confcache >$cache_file
4033 else
4034 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4035 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4036 fi
4037 fi
4038 rm -f confcache
4039
4040 test "x$prefix" = xNONE && prefix=$ac_default_prefix
4041 # Let make expand exec_prefix.
4042 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4043
4044 # Transform confdefs.h into DEFS.
4045 # Protect against shell expansion while executing Makefile rules.
4046 # Protect against Makefile macro expansion.
4047 #
4048 # If the first sed substitution is executed (which looks for macros that
4049 # take arguments), then branch to the quote section. Otherwise,
4050 # look for a macro that doesn't take arguments.
4051 ac_script='
4052 :mline
4053 /\\$/{
4054 N
4055 s,\\\n,,
4056 b mline
4057 }
4058 t clear
4059 :clear
4060 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
4061 t quote
4062 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
4063 t quote
4064 b any
4065 :quote
4066 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
4067 s/\[/\\&/g
4068 s/\]/\\&/g
4069 s/\$/$$/g
4070 H
4071 :any
4072 ${
4073 g
4074 s/^\n//
4075 s/\n/ /g
4076 p
4077 }
4078 '
4079 DEFS=`sed -n "$ac_script" confdefs.h`
4080
4081
4082 ac_libobjs=
4083 ac_ltlibobjs=
4084 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4085 # 1. Remove the extension, and $U if already installed.
4086 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
4087 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
4088 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4089 # will be set to the directory where LIBOBJS objects are built.
4090 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4091 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
4092 done
4093 LIBOBJS=$ac_libobjs
4094
4095 LTLIBOBJS=$ac_ltlibobjs
4096
4097
4098
4099 : ${CONFIG_STATUS=./config.status}
4100 ac_write_fail=0
4101 ac_clean_files_save=$ac_clean_files
4102 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4103 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
4104 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
4105 as_write_fail=0
4106 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
4107 #! $SHELL
4108 # Generated by $as_me.
4109 # Run this file to recreate the current configuration.
4110 # Compiler output produced by configure, useful for debugging
4111 # configure, is in config.log if it exists.
4112
4113 debug=false
4114 ac_cs_recheck=false
4115 ac_cs_silent=false
4116
4117 SHELL=\${CONFIG_SHELL-$SHELL}
4118 export SHELL
4119 _ASEOF
4120 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
4121 ## -------------------- ##
4122 ## M4sh Initialization. ##
4123 ## -------------------- ##
4124
4125 # Be more Bourne compatible
4126 DUALCASE=1; export DUALCASE # for MKS sh
4127 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
4128 emulate sh
4129 NULLCMD=:
4130 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4131 # is contrary to our usage. Disable this feature.
4132 alias -g '${1+"$@"}'='"$@"'
4133 setopt NO_GLOB_SUBST
4134 else
4135 case `(set -o) 2>/dev/null` in #(
4136 *posix*) :
4137 set -o posix ;; #(
4138 *) :
4139 ;;
4140 esac
4141 fi
4142
4143
4144 as_nl='
4145 '
4146 export as_nl
4147 # Printing a long string crashes Solaris 7 /usr/bin/printf.
4148 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4149 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4150 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4151 # Prefer a ksh shell builtin over an external printf program on Solaris,
4152 # but without wasting forks for bash or zsh.
4153 if test -z "$BASH_VERSION$ZSH_VERSION" \
4154 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
4155 as_echo='print -r --'
4156 as_echo_n='print -rn --'
4157 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4158 as_echo='printf %s\n'
4159 as_echo_n='printf %s'
4160 else
4161 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4162 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
4163 as_echo_n='/usr/ucb/echo -n'
4164 else
4165 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4166 as_echo_n_body='eval
4167 arg=$1;
4168 case $arg in #(
4169 *"$as_nl"*)
4170 expr "X$arg" : "X\\(.*\\)$as_nl";
4171 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4172 esac;
4173 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
4174 '
4175 export as_echo_n_body
4176 as_echo_n='sh -c $as_echo_n_body as_echo'
4177 fi
4178 export as_echo_body
4179 as_echo='sh -c $as_echo_body as_echo'
4180 fi
4181
4182 # The user is always right.
4183 if test "${PATH_SEPARATOR+set}" != set; then
4184 PATH_SEPARATOR=:
4185 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4186 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4187 PATH_SEPARATOR=';'
4188 }
4189 fi
4190
4191
4192 # IFS
4193 # We need space, tab and new line, in precisely that order. Quoting is
4194 # there to prevent editors from complaining about space-tab.
4195 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
4196 # splitting by setting IFS to empty value.)
4197 IFS=" "" $as_nl"
4198
4199 # Find who we are. Look in the path if we contain no directory separator.
4200 case $0 in #((
4201 *[\\/]* ) as_myself=$0 ;;
4202 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4203 for as_dir in $PATH
4204 do
4205 IFS=$as_save_IFS
4206 test -z "$as_dir" && as_dir=.
4207 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4208 done
4209 IFS=$as_save_IFS
4210
4211 ;;
4212 esac
4213 # We did not find ourselves, most probably we were run as `sh COMMAND'
4214 # in which case we are not to be found in the path.
4215 if test "x$as_myself" = x; then
4216 as_myself=$0
4217 fi
4218 if test ! -f "$as_myself"; then
4219 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4220 exit 1
4221 fi
4222
4223 # Unset variables that we do not need and which cause bugs (e.g. in
4224 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
4225 # suppresses any "Segmentation fault" message there. '((' could
4226 # trigger a bug in pdksh 5.2.14.
4227 for as_var in BASH_ENV ENV MAIL MAILPATH
4228 do eval test x\${$as_var+set} = xset \
4229 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
4230 done
4231 PS1='$ '
4232 PS2='> '
4233 PS4='+ '
4234
4235 # NLS nuisances.
4236 LC_ALL=C
4237 export LC_ALL
4238 LANGUAGE=C
4239 export LANGUAGE
4240
4241 # CDPATH.
4242 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
4243
4244
4245 # as_fn_error ERROR [LINENO LOG_FD]
4246 # ---------------------------------
4247 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
4248 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
4249 # script with status $?, using 1 if that was 0.
4250 as_fn_error ()
4251 {
4252 as_status=$?; test $as_status -eq 0 && as_status=1
4253 if test "$3"; then
4254 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
4255 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
4256 fi
4257 $as_echo "$as_me: error: $1" >&2
4258 as_fn_exit $as_status
4259 } # as_fn_error
4260
4261
4262 # as_fn_set_status STATUS
4263 # -----------------------
4264 # Set $? to STATUS, without forking.
4265 as_fn_set_status ()
4266 {
4267 return $1
4268 } # as_fn_set_status
4269
4270 # as_fn_exit STATUS
4271 # -----------------
4272 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
4273 as_fn_exit ()
4274 {
4275 set +e
4276 as_fn_set_status $1
4277 exit $1
4278 } # as_fn_exit
4279
4280 # as_fn_unset VAR
4281 # ---------------
4282 # Portably unset VAR.
4283 as_fn_unset ()
4284 {
4285 { eval $1=; unset $1;}
4286 }
4287 as_unset=as_fn_unset
4288 # as_fn_append VAR VALUE
4289 # ----------------------
4290 # Append the text in VALUE to the end of the definition contained in VAR. Take
4291 # advantage of any shell optimizations that allow amortized linear growth over
4292 # repeated appends, instead of the typical quadratic growth present in naive
4293 # implementations.
4294 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
4295 eval 'as_fn_append ()
4296 {
4297 eval $1+=\$2
4298 }'
4299 else
4300 as_fn_append ()
4301 {
4302 eval $1=\$$1\$2
4303 }
4304 fi # as_fn_append
4305
4306 # as_fn_arith ARG...
4307 # ------------------
4308 # Perform arithmetic evaluation on the ARGs, and store the result in the
4309 # global $as_val. Take advantage of shells that can avoid forks. The arguments
4310 # must be portable across $(()) and expr.
4311 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
4312 eval 'as_fn_arith ()
4313 {
4314 as_val=$(( $* ))
4315 }'
4316 else
4317 as_fn_arith ()
4318 {
4319 as_val=`expr "$@" || test $? -eq 1`
4320 }
4321 fi # as_fn_arith
4322
4323
4324 if expr a : '\(a\)' >/dev/null 2>&1 &&
4325 test "X`expr 00001 : '.*\(...\)'`" = X001; then
4326 as_expr=expr
4327 else
4328 as_expr=false
4329 fi
4330
4331 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4332 as_basename=basename
4333 else
4334 as_basename=false
4335 fi
4336
4337 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4338 as_dirname=dirname
4339 else
4340 as_dirname=false
4341 fi
4342
4343 as_me=`$as_basename -- "$0" ||
4344 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4345 X"$0" : 'X\(//\)$' \| \
4346 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4347 $as_echo X/"$0" |
4348 sed '/^.*\/\([^/][^/]*\)\/*$/{
4349 s//\1/
4350 q
4351 }
4352 /^X\/\(\/\/\)$/{
4353 s//\1/
4354 q
4355 }
4356 /^X\/\(\/\).*/{
4357 s//\1/
4358 q
4359 }
4360 s/.*/./; q'`
4361
4362 # Avoid depending upon Character Ranges.
4363 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4364 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4365 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4366 as_cr_digits='0123456789'
4367 as_cr_alnum=$as_cr_Letters$as_cr_digits
4368
4369 ECHO_C= ECHO_N= ECHO_T=
4370 case `echo -n x` in #(((((
4371 -n*)
4372 case `echo 'xy\c'` in
4373 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
4374 xy) ECHO_C='\c';;
4375 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
4376 ECHO_T=' ';;
4377 esac;;
4378 *)
4379 ECHO_N='-n';;
4380 esac
4381
4382 rm -f conf$$ conf$$.exe conf$$.file
4383 if test -d conf$$.dir; then
4384 rm -f conf$$.dir/conf$$.file
4385 else
4386 rm -f conf$$.dir
4387 mkdir conf$$.dir 2>/dev/null
4388 fi
4389 if (echo >conf$$.file) 2>/dev/null; then
4390 if ln -s conf$$.file conf$$ 2>/dev/null; then
4391 as_ln_s='ln -s'
4392 # ... but there are two gotchas:
4393 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4394 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4395 # In both cases, we have to default to `cp -p'.
4396 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
4397 as_ln_s='cp -p'
4398 elif ln conf$$.file conf$$ 2>/dev/null; then
4399 as_ln_s=ln
4400 else
4401 as_ln_s='cp -p'
4402 fi
4403 else
4404 as_ln_s='cp -p'
4405 fi
4406 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
4407 rmdir conf$$.dir 2>/dev/null
4408
4409
4410 # as_fn_mkdir_p
4411 # -------------
4412 # Create "$as_dir" as a directory, including parents if necessary.
4413 as_fn_mkdir_p ()
4414 {
4415
4416 case $as_dir in #(
4417 -*) as_dir=./$as_dir;;
4418 esac
4419 test -d "$as_dir" || eval $as_mkdir_p || {
4420 as_dirs=
4421 while :; do
4422 case $as_dir in #(
4423 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
4424 *) as_qdir=$as_dir;;
4425 esac
4426 as_dirs="'$as_qdir' $as_dirs"
4427 as_dir=`$as_dirname -- "$as_dir" ||
4428 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4429 X"$as_dir" : 'X\(//\)[^/]' \| \
4430 X"$as_dir" : 'X\(//\)$' \| \
4431 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4432 $as_echo X"$as_dir" |
4433 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4434 s//\1/
4435 q
4436 }
4437 /^X\(\/\/\)[^/].*/{
4438 s//\1/
4439 q
4440 }
4441 /^X\(\/\/\)$/{
4442 s//\1/
4443 q
4444 }
4445 /^X\(\/\).*/{
4446 s//\1/
4447 q
4448 }
4449 s/.*/./; q'`
4450 test -d "$as_dir" && break
4451 done
4452 test -z "$as_dirs" || eval "mkdir $as_dirs"
4453 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
4454
4455
4456 } # as_fn_mkdir_p
4457 if mkdir -p . 2>/dev/null; then
4458 as_mkdir_p='mkdir -p "$as_dir"'
4459 else
4460 test -d ./-p && rmdir ./-p
4461 as_mkdir_p=false
4462 fi
4463
4464 if test -x / >/dev/null 2>&1; then
4465 as_test_x='test -x'
4466 else
4467 if ls -dL / >/dev/null 2>&1; then
4468 as_ls_L_option=L
4469 else
4470 as_ls_L_option=
4471 fi
4472 as_test_x='
4473 eval sh -c '\''
4474 if test -d "$1"; then
4475 test -d "$1/.";
4476 else
4477 case $1 in #(
4478 -*)set "./$1";;
4479 esac;
4480 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
4481 ???[sx]*):;;*)false;;esac;fi
4482 '\'' sh
4483 '
4484 fi
4485 as_executable_p=$as_test_x
4486
4487 # Sed expression to map a string onto a valid CPP name.
4488 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4489
4490 # Sed expression to map a string onto a valid variable name.
4491 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4492
4493
4494 exec 6>&1
4495 ## ----------------------------------- ##
4496 ## Main body of $CONFIG_STATUS script. ##
4497 ## ----------------------------------- ##
4498 _ASEOF
4499 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
4500
4501 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4502 # Save the log message, to keep $0 and so on meaningful, and to
4503 # report actual input values of CONFIG_FILES etc. instead of their
4504 # values after options handling.
4505 ac_log="
4506 This file was extended by GNU C Runtime Library $as_me 1.0, which was
4507 generated by GNU Autoconf 2.64. Invocation command line was
4508
4509 CONFIG_FILES = $CONFIG_FILES
4510 CONFIG_HEADERS = $CONFIG_HEADERS
4511 CONFIG_LINKS = $CONFIG_LINKS
4512 CONFIG_COMMANDS = $CONFIG_COMMANDS
4513 $ $0 $@
4514
4515 on `(hostname || uname -n) 2>/dev/null | sed 1q`
4516 "
4517
4518 _ACEOF
4519
4520 case $ac_config_files in *"
4521 "*) set x $ac_config_files; shift; ac_config_files=$*;;
4522 esac
4523
4524
4525
4526 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4527 # Files that config.status was made for.
4528 config_files="$ac_config_files"
4529 config_commands="$ac_config_commands"
4530
4531 _ACEOF
4532
4533 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4534 ac_cs_usage="\
4535 \`$as_me' instantiates files and other configuration actions
4536 from templates according to the current configuration. Unless the files
4537 and actions are specified as TAGs, all are instantiated by default.
4538
4539 Usage: $0 [OPTION]... [TAG]...
4540
4541 -h, --help print this help, then exit
4542 -V, --version print version number and configuration settings, then exit
4543 -q, --quiet, --silent
4544 do not print progress messages
4545 -d, --debug don't remove temporary files
4546 --recheck update $as_me by reconfiguring in the same conditions
4547 --file=FILE[:TEMPLATE]
4548 instantiate the configuration file FILE
4549
4550 Configuration files:
4551 $config_files
4552
4553 Configuration commands:
4554 $config_commands
4555
4556 Report bugs to the package provider.
4557 GNU C Runtime Library home page: <http://www.gnu.org/software/libgcc/>.
4558 General help using GNU software: <http://www.gnu.org/gethelp/>."
4559
4560 _ACEOF
4561 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4562 ac_cs_version="\\
4563 GNU C Runtime Library config.status 1.0
4564 configured by $0, generated by GNU Autoconf 2.64,
4565 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
4566
4567 Copyright (C) 2009 Free Software Foundation, Inc.
4568 This config.status script is free software; the Free Software Foundation
4569 gives unlimited permission to copy, distribute and modify it."
4570
4571 ac_pwd='$ac_pwd'
4572 srcdir='$srcdir'
4573 INSTALL='$INSTALL'
4574 AWK='$AWK'
4575 test -n "\$AWK" || AWK=awk
4576 _ACEOF
4577
4578 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4579 # The default lists apply if the user does not specify any file.
4580 ac_need_defaults=:
4581 while test $# != 0
4582 do
4583 case $1 in
4584 --*=*)
4585 ac_option=`expr "X$1" : 'X\([^=]*\)='`
4586 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
4587 ac_shift=:
4588 ;;
4589 *)
4590 ac_option=$1
4591 ac_optarg=$2
4592 ac_shift=shift
4593 ;;
4594 esac
4595
4596 case $ac_option in
4597 # Handling of the options.
4598 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4599 ac_cs_recheck=: ;;
4600 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
4601 $as_echo "$ac_cs_version"; exit ;;
4602 --debug | --debu | --deb | --de | --d | -d )
4603 debug=: ;;
4604 --file | --fil | --fi | --f )
4605 $ac_shift
4606 case $ac_optarg in
4607 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4608 esac
4609 as_fn_append CONFIG_FILES " '$ac_optarg'"
4610 ac_need_defaults=false;;
4611 --he | --h | --help | --hel | -h )
4612 $as_echo "$ac_cs_usage"; exit ;;
4613 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4614 | -silent | --silent | --silen | --sile | --sil | --si | --s)
4615 ac_cs_silent=: ;;
4616
4617 # This is an error.
4618 -*) as_fn_error "unrecognized option: \`$1'
4619 Try \`$0 --help' for more information." ;;
4620
4621 *) as_fn_append ac_config_targets " $1"
4622 ac_need_defaults=false ;;
4623
4624 esac
4625 shift
4626 done
4627
4628 ac_configure_extra_args=
4629
4630 if $ac_cs_silent; then
4631 exec 6>/dev/null
4632 ac_configure_extra_args="$ac_configure_extra_args --silent"
4633 fi
4634
4635 _ACEOF
4636 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4637 if \$ac_cs_recheck; then
4638 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4639 shift
4640 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
4641 CONFIG_SHELL='$SHELL'
4642 export CONFIG_SHELL
4643 exec "\$@"
4644 fi
4645
4646 _ACEOF
4647 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4648 exec 5>>config.log
4649 {
4650 echo
4651 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4652 ## Running $as_me. ##
4653 _ASBOX
4654 $as_echo "$ac_log"
4655 } >&5
4656
4657 _ACEOF
4658 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4659 #
4660 # INIT-COMMANDS
4661 #
4662 srcdir=${srcdir}
4663 host=${host}
4664 with_target_subdir=${with_target_subdir}
4665 with_multisubdir=${with_multisubdir}
4666 ac_configure_args="--enable-multilib ${ac_configure_args}"
4667 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
4668 libgcc_topdir=${libgcc_topdir}
4669 CC="${CC}"
4670
4671
4672 _ACEOF
4673
4674 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4675
4676 # Handling of arguments.
4677 for ac_config_target in $ac_config_targets
4678 do
4679 case $ac_config_target in
4680 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4681 "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
4682
4683 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
4684 esac
4685 done
4686
4687
4688 # If the user did not use the arguments to specify the items to instantiate,
4689 # then the envvar interface is used. Set only those that are not.
4690 # We use the long form for the default assignment because of an extremely
4691 # bizarre bug on SunOS 4.1.3.
4692 if $ac_need_defaults; then
4693 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4694 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
4695 fi
4696
4697 # Have a temporary directory for convenience. Make it in the build tree
4698 # simply because there is no reason against having it here, and in addition,
4699 # creating and moving files from /tmp can sometimes cause problems.
4700 # Hook for its removal unless debugging.
4701 # Note that there is a small window in which the directory will not be cleaned:
4702 # after its creation but before its name has been assigned to `$tmp'.
4703 $debug ||
4704 {
4705 tmp=
4706 trap 'exit_status=$?
4707 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
4708 ' 0
4709 trap 'as_fn_exit 1' 1 2 13 15
4710 }
4711 # Create a (secure) tmp directory for tmp files.
4712
4713 {
4714 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4715 test -n "$tmp" && test -d "$tmp"
4716 } ||
4717 {
4718 tmp=./conf$$-$RANDOM
4719 (umask 077 && mkdir "$tmp")
4720 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
4721
4722 # Set up the scripts for CONFIG_FILES section.
4723 # No need to generate them if there are no CONFIG_FILES.
4724 # This happens for instance with `./config.status config.h'.
4725 if test -n "$CONFIG_FILES"; then
4726
4727
4728 ac_cr=`echo X | tr X '\015'`
4729 # On cygwin, bash can eat \r inside `` if the user requested igncr.
4730 # But we know of no other shell where ac_cr would be empty at this
4731 # point, so we can use a bashism as a fallback.
4732 if test "x$ac_cr" = x; then
4733 eval ac_cr=\$\'\\r\'
4734 fi
4735 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
4736 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
4737 ac_cs_awk_cr='\r'
4738 else
4739 ac_cs_awk_cr=$ac_cr
4740 fi
4741
4742 echo 'BEGIN {' >"$tmp/subs1.awk" &&
4743 _ACEOF
4744
4745
4746 {
4747 echo "cat >conf$$subs.awk <<_ACEOF" &&
4748 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
4749 echo "_ACEOF"
4750 } >conf$$subs.sh ||
4751 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
4752 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
4753 ac_delim='%!_!# '
4754 for ac_last_try in false false false false false :; do
4755 . ./conf$$subs.sh ||
4756 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
4757
4758 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
4759 if test $ac_delim_n = $ac_delim_num; then
4760 break
4761 elif $ac_last_try; then
4762 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
4763 else
4764 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4765 fi
4766 done
4767 rm -f conf$$subs.sh
4768
4769 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4770 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
4771 _ACEOF
4772 sed -n '
4773 h
4774 s/^/S["/; s/!.*/"]=/
4775 p
4776 g
4777 s/^[^!]*!//
4778 :repl
4779 t repl
4780 s/'"$ac_delim"'$//
4781 t delim
4782 :nl
4783 h
4784 s/\(.\{148\}\).*/\1/
4785 t more1
4786 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
4787 p
4788 n
4789 b repl
4790 :more1
4791 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4792 p
4793 g
4794 s/.\{148\}//
4795 t nl
4796 :delim
4797 h
4798 s/\(.\{148\}\).*/\1/
4799 t more2
4800 s/["\\]/\\&/g; s/^/"/; s/$/"/
4801 p
4802 b
4803 :more2
4804 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4805 p
4806 g
4807 s/.\{148\}//
4808 t delim
4809 ' <conf$$subs.awk | sed '
4810 /^[^""]/{
4811 N
4812 s/\n//
4813 }
4814 ' >>$CONFIG_STATUS || ac_write_fail=1
4815 rm -f conf$$subs.awk
4816 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4817 _ACAWK
4818 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
4819 for (key in S) S_is_set[key] = 1
4820 FS = "\a"
4821
4822 }
4823 {
4824 line = $ 0
4825 nfields = split(line, field, "@")
4826 substed = 0
4827 len = length(field[1])
4828 for (i = 2; i < nfields; i++) {
4829 key = field[i]
4830 keylen = length(key)
4831 if (S_is_set[key]) {
4832 value = S[key]
4833 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
4834 len += length(value) + length(field[++i])
4835 substed = 1
4836 } else
4837 len += 1 + keylen
4838 }
4839
4840 print line
4841 }
4842
4843 _ACAWK
4844 _ACEOF
4845 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4846 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
4847 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
4848 else
4849 cat
4850 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
4851 || as_fn_error "could not setup config files machinery" "$LINENO" 5
4852 _ACEOF
4853
4854 # VPATH may cause trouble with some makes, so we remove $(srcdir),
4855 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
4856 # trailing colons and then remove the whole line if VPATH becomes empty
4857 # (actually we leave an empty line to preserve line numbers).
4858 if test "x$srcdir" = x.; then
4859 ac_vpsub='/^[ ]*VPATH[ ]*=/{
4860 s/:*\$(srcdir):*/:/
4861 s/:*\${srcdir}:*/:/
4862 s/:*@srcdir@:*/:/
4863 s/^\([^=]*=[ ]*\):*/\1/
4864 s/:*$//
4865 s/^[^=]*=[ ]*$//
4866 }'
4867 fi
4868
4869 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4870 fi # test -n "$CONFIG_FILES"
4871
4872
4873 eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS"
4874 shift
4875 for ac_tag
4876 do
4877 case $ac_tag in
4878 :[FHLC]) ac_mode=$ac_tag; continue;;
4879 esac
4880 case $ac_mode$ac_tag in
4881 :[FHL]*:*);;
4882 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
4883 :[FH]-) ac_tag=-:-;;
4884 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4885 esac
4886 ac_save_IFS=$IFS
4887 IFS=:
4888 set x $ac_tag
4889 IFS=$ac_save_IFS
4890 shift
4891 ac_file=$1
4892 shift
4893
4894 case $ac_mode in
4895 :L) ac_source=$1;;
4896 :[FH])
4897 ac_file_inputs=
4898 for ac_f
4899 do
4900 case $ac_f in
4901 -) ac_f="$tmp/stdin";;
4902 *) # Look for the file first in the build tree, then in the source tree
4903 # (if the path is not absolute). The absolute path cannot be DOS-style,
4904 # because $ac_f cannot contain `:'.
4905 test -f "$ac_f" ||
4906 case $ac_f in
4907 [\\/$]*) false;;
4908 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4909 esac ||
4910 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
4911 esac
4912 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
4913 as_fn_append ac_file_inputs " '$ac_f'"
4914 done
4915
4916 # Let's still pretend it is `configure' which instantiates (i.e., don't
4917 # use $as_me), people would be surprised to read:
4918 # /* config.h. Generated by config.status. */
4919 configure_input='Generated from '`
4920 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
4921 `' by configure.'
4922 if test x"$ac_file" != x-; then
4923 configure_input="$ac_file. $configure_input"
4924 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
4925 $as_echo "$as_me: creating $ac_file" >&6;}
4926 fi
4927 # Neutralize special characters interpreted by sed in replacement strings.
4928 case $configure_input in #(
4929 *\&* | *\|* | *\\* )
4930 ac_sed_conf_input=`$as_echo "$configure_input" |
4931 sed 's/[\\\\&|]/\\\\&/g'`;; #(
4932 *) ac_sed_conf_input=$configure_input;;
4933 esac
4934
4935 case $ac_tag in
4936 *:-:* | *:-) cat >"$tmp/stdin" \
4937 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
4938 esac
4939 ;;
4940 esac
4941
4942 ac_dir=`$as_dirname -- "$ac_file" ||
4943 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4944 X"$ac_file" : 'X\(//\)[^/]' \| \
4945 X"$ac_file" : 'X\(//\)$' \| \
4946 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4947 $as_echo X"$ac_file" |
4948 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4949 s//\1/
4950 q
4951 }
4952 /^X\(\/\/\)[^/].*/{
4953 s//\1/
4954 q
4955 }
4956 /^X\(\/\/\)$/{
4957 s//\1/
4958 q
4959 }
4960 /^X\(\/\).*/{
4961 s//\1/
4962 q
4963 }
4964 s/.*/./; q'`
4965 as_dir="$ac_dir"; as_fn_mkdir_p
4966 ac_builddir=.
4967
4968 case "$ac_dir" in
4969 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
4970 *)
4971 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
4972 # A ".." for each directory in $ac_dir_suffix.
4973 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
4974 case $ac_top_builddir_sub in
4975 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
4976 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
4977 esac ;;
4978 esac
4979 ac_abs_top_builddir=$ac_pwd
4980 ac_abs_builddir=$ac_pwd$ac_dir_suffix
4981 # for backward compatibility:
4982 ac_top_builddir=$ac_top_build_prefix
4983
4984 case $srcdir in
4985 .) # We are building in place.
4986 ac_srcdir=.
4987 ac_top_srcdir=$ac_top_builddir_sub
4988 ac_abs_top_srcdir=$ac_pwd ;;
4989 [\\/]* | ?:[\\/]* ) # Absolute name.
4990 ac_srcdir=$srcdir$ac_dir_suffix;
4991 ac_top_srcdir=$srcdir
4992 ac_abs_top_srcdir=$srcdir ;;
4993 *) # Relative name.
4994 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
4995 ac_top_srcdir=$ac_top_build_prefix$srcdir
4996 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
4997 esac
4998 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
4999
5000
5001 case $ac_mode in
5002 :F)
5003 #
5004 # CONFIG_FILE
5005 #
5006
5007 case $INSTALL in
5008 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5009 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
5010 esac
5011 _ACEOF
5012
5013 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5014 # If the template does not know about datarootdir, expand it.
5015 # FIXME: This hack should be removed a few years after 2.60.
5016 ac_datarootdir_hack=; ac_datarootdir_seen=
5017 ac_sed_dataroot='
5018 /datarootdir/ {
5019 p
5020 q
5021 }
5022 /@datadir@/p
5023 /@docdir@/p
5024 /@infodir@/p
5025 /@localedir@/p
5026 /@mandir@/p'
5027 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
5028 *datarootdir*) ac_datarootdir_seen=yes;;
5029 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5030 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5031 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5032 _ACEOF
5033 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5034 ac_datarootdir_hack='
5035 s&@datadir@&$datadir&g
5036 s&@docdir@&$docdir&g
5037 s&@infodir@&$infodir&g
5038 s&@localedir@&$localedir&g
5039 s&@mandir@&$mandir&g
5040 s&\\\${datarootdir}&$datarootdir&g' ;;
5041 esac
5042 _ACEOF
5043
5044 # Neutralize VPATH when `$srcdir' = `.'.
5045 # Shell code in configure.ac might set extrasub.
5046 # FIXME: do we really want to maintain this feature?
5047 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5048 ac_sed_extra="$ac_vpsub
5049 $extrasub
5050 _ACEOF
5051 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5052 :t
5053 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5054 s|@configure_input@|$ac_sed_conf_input|;t t
5055 s&@top_builddir@&$ac_top_builddir_sub&;t t
5056 s&@top_build_prefix@&$ac_top_build_prefix&;t t
5057 s&@srcdir@&$ac_srcdir&;t t
5058 s&@abs_srcdir@&$ac_abs_srcdir&;t t
5059 s&@top_srcdir@&$ac_top_srcdir&;t t
5060 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
5061 s&@builddir@&$ac_builddir&;t t
5062 s&@abs_builddir@&$ac_abs_builddir&;t t
5063 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
5064 s&@INSTALL@&$ac_INSTALL&;t t
5065 $ac_datarootdir_hack
5066 "
5067 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
5068 || as_fn_error "could not create $ac_file" "$LINENO" 5
5069
5070 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5071 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
5072 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
5073 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5074 which seems to be undefined. Please make sure it is defined." >&5
5075 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5076 which seems to be undefined. Please make sure it is defined." >&2;}
5077
5078 rm -f "$tmp/stdin"
5079 case $ac_file in
5080 -) cat "$tmp/out" && rm -f "$tmp/out";;
5081 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
5082 esac \
5083 || as_fn_error "could not create $ac_file" "$LINENO" 5
5084 ;;
5085
5086
5087 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
5088 $as_echo "$as_me: executing $ac_file commands" >&6;}
5089 ;;
5090 esac
5091
5092
5093 case $ac_file$ac_mode in
5094 "default":C) test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
5095 if test -n "$CONFIG_FILES"; then
5096 # FIXME: We shouldn't need to set ac_file
5097 ac_file=Makefile
5098 . ${libgcc_topdir}/config-ml.in
5099 fi ;;
5100
5101 esac
5102 done # for ac_tag
5103
5104
5105 as_fn_exit 0
5106 _ACEOF
5107 ac_clean_files=$ac_clean_files_save
5108
5109 test $ac_write_fail = 0 ||
5110 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
5111
5112
5113 # configure is writing to config.log, and then calls config.status.
5114 # config.status does its own redirection, appending to config.log.
5115 # Unfortunately, on DOS this fails, as config.log is still kept open
5116 # by configure, so config.status won't be able to write to it; its
5117 # output is simply discarded. So we exec the FD to /dev/null,
5118 # effectively closing config.log, so it can be properly (re)opened and
5119 # appended to by config.status. When coming back to configure, we
5120 # need to make the FD available again.
5121 if test "$no_create" != yes; then
5122 ac_cs_success=:
5123 ac_config_status_args=
5124 test "$silent" = yes &&
5125 ac_config_status_args="$ac_config_status_args --quiet"
5126 exec 5>/dev/null
5127 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5128 exec 5>>config.log
5129 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5130 # would make configure fail if this is the last instruction.
5131 $ac_cs_success || as_fn_exit $?
5132 fi
5133 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
5134 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
5135 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
5136 fi
5137