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