2010-03-15 Paolo Carlini <paolo.carlini@oracle.com>
[official-gcc/alias-decl.git] / libgcc / configure
blobb6c003cf94b5b5972c2fde76432f560e35d9f179
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.
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.
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 ## -------------------- ##
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 *) :
30 esac
34 as_nl='
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"
65 export as_echo_n_body
66 as_echo_n='sh -c $as_echo_n_body as_echo'
68 export as_echo_body
69 as_echo='sh -c $as_echo_body as_echo'
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=';'
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"
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
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
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
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
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='+ '
125 # NLS nuisances.
126 LC_ALL=C
127 export LC_ALL
128 LANGUAGE=C
129 export LANGUAGE
131 # CDPATH.
132 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
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 *) :
148 esac
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; }
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 :
164 else
165 exitcode=1; echo positional parameters were not saved.
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
177 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
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
184 IFS=$as_save_IFS
185 test -z "$as_dir" && as_dir=.
186 as_found=:
187 case $as_dir in #(
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
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
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+"$@"}
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."
233 exit 1
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
243 ## --------------------- ##
244 ## M4sh Shell Functions. ##
245 ## --------------------- ##
246 # as_fn_unset VAR
247 # ---------------
248 # Portably unset VAR.
249 as_fn_unset ()
251 { eval $1=; unset $1;}
253 as_unset=as_fn_unset
255 # as_fn_set_status STATUS
256 # -----------------------
257 # Set $? to STATUS, without forking.
258 as_fn_set_status ()
260 return $1
261 } # as_fn_set_status
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 ()
268 set +e
269 as_fn_set_status $1
270 exit $1
271 } # as_fn_exit
273 # as_fn_mkdir_p
274 # -------------
275 # Create "$as_dir" as a directory, including parents if necessary.
276 as_fn_mkdir_p ()
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/
300 /^X\(\/\/\)[^/].*/{
301 s//\1/
304 /^X\(\/\/\)$/{
305 s//\1/
308 /^X\(\/\).*/{
309 s//\1/
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"
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 ()
329 eval $1+=\$2
331 else
332 as_fn_append ()
334 eval $1=\$$1\$2
336 fi # as_fn_append
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 ()
346 as_val=$(( $* ))
348 else
349 as_fn_arith ()
351 as_val=`expr "$@" || test $? -eq 1`
353 fi # as_fn_arith
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 ()
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
368 $as_echo "$as_me: error: $1" >&2
369 as_fn_exit $as_status
370 } # as_fn_error
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
379 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
380 as_basename=basename
381 else
382 as_basename=false
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
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/
400 /^X\/\(\/\/\)$/{
401 s//\1/
404 /^X\/\(\/\).*/{
405 s//\1/
408 s/.*/./; q'`
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
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 '
425 /[$]LINENO/=
426 ' <$as_myself |
427 sed '
428 s/[$]LINENO.*/&-/
429 t lineno
431 :lineno
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; }
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
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;;
459 ECHO_N='-n';;
460 esac
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
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'
483 else
484 as_ln_s='cp -p'
486 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
487 rmdir conf$$.dir 2>/dev/null
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
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=
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
517 as_executable_p=$as_test_x
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'"
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'"
526 exec 7<&0 </dev/null 6>&1
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`
534 # Initializations.
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=
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/'
553 ac_unique_file="static-object.mk"
554 ac_subst_vars='LTLIBOBJS
555 LIBOBJS
556 asm_hidden_op
557 extra_parts
558 tmake_file
559 set_have_cc_tls
560 vis_hide
561 fixed_point
562 enable_decimal_float
563 decimal_float
565 OBJEXT
566 EXEEXT
567 ac_ct_CC
568 CPPFLAGS
569 LDFLAGS
570 CFLAGS
572 LN_S
573 STRIP
574 RANLIB
576 LIPO
578 target_subdir
579 host_subdir
580 build_subdir
581 build_libsubdir
582 host_noncanonical
583 host_os
584 host_vendor
585 host_cpu
586 host
587 build_os
588 build_vendor
589 build_cpu
590 build
592 INSTALL_DATA
593 INSTALL_SCRIPT
594 INSTALL_PROGRAM
595 MAINT
596 slibdir
597 enable_shared
598 libgcc_topdir
599 target_alias
600 host_alias
601 build_alias
602 LIBS
603 ECHO_T
604 ECHO_N
605 ECHO_C
606 DEFS
607 mandir
608 localedir
609 libdir
610 psdir
611 pdfdir
612 dvidir
613 htmldir
614 infodir
615 docdir
616 oldincludedir
617 includedir
618 localstatedir
619 sharedstatedir
620 sysconfdir
621 datadir
622 datarootdir
623 libexecdir
624 sbindir
625 bindir
626 program_transform_name
627 prefix
628 exec_prefix
629 PACKAGE_URL
630 PACKAGE_BUGREPORT
631 PACKAGE_STRING
632 PACKAGE_VERSION
633 PACKAGE_TARNAME
634 PACKAGE_NAME
635 PATH_SEPARATOR
636 SHELL'
637 ac_subst_files=''
638 ac_user_opts='
639 enable_option_checking
640 with_target_subdir
641 with_cross_host
642 with_ld
643 enable_shared
644 enable_version_specific_runtime_libs
645 with_slibdir
646 enable_maintainer_mode
647 with_build_libsubdir
648 enable_decimal_float
649 enable_tls
651 ac_precious_vars='build_alias
652 host_alias
653 target_alias
655 CFLAGS
656 LDFLAGS
657 LIBS
658 CPPFLAGS
659 CPP'
662 # Initialize some variables set by options.
663 ac_init_help=
664 ac_init_version=false
665 ac_unrecognized_opts=
666 ac_unrecognized_sep=
667 # The variables have the same names as the options, with
668 # dashes changed to underlines.
669 cache_file=/dev/null
670 exec_prefix=NONE
671 no_create=
672 no_recursion=
673 prefix=NONE
674 program_prefix=NONE
675 program_suffix=NONE
676 program_transform_name=s,x,x,
677 silent=
678 site=
679 srcdir=
680 verbose=
681 x_includes=NONE
682 x_libraries=NONE
684 # Installation directory options.
685 # These are left unexpanded so users can "make install exec_prefix=/foo"
686 # and all the variables that are supposed to be based on exec_prefix
687 # by default will actually change.
688 # Use braces instead of parens because sh, perl, etc. also accept them.
689 # (The list follows the same order as the GNU Coding Standards.)
690 bindir='${exec_prefix}/bin'
691 sbindir='${exec_prefix}/sbin'
692 libexecdir='${exec_prefix}/libexec'
693 datarootdir='${prefix}/share'
694 datadir='${datarootdir}'
695 sysconfdir='${prefix}/etc'
696 sharedstatedir='${prefix}/com'
697 localstatedir='${prefix}/var'
698 includedir='${prefix}/include'
699 oldincludedir='/usr/include'
700 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
701 infodir='${datarootdir}/info'
702 htmldir='${docdir}'
703 dvidir='${docdir}'
704 pdfdir='${docdir}'
705 psdir='${docdir}'
706 libdir='${exec_prefix}/lib'
707 localedir='${datarootdir}/locale'
708 mandir='${datarootdir}/man'
710 ac_prev=
711 ac_dashdash=
712 for ac_option
714 # If the previous option needs an argument, assign it.
715 if test -n "$ac_prev"; then
716 eval $ac_prev=\$ac_option
717 ac_prev=
718 continue
721 case $ac_option in
722 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
723 *) ac_optarg=yes ;;
724 esac
726 # Accept the important Cygnus configure options, so we can diagnose typos.
728 case $ac_dashdash$ac_option in
730 ac_dashdash=yes ;;
732 -bindir | --bindir | --bindi | --bind | --bin | --bi)
733 ac_prev=bindir ;;
734 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
735 bindir=$ac_optarg ;;
737 -build | --build | --buil | --bui | --bu)
738 ac_prev=build_alias ;;
739 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
740 build_alias=$ac_optarg ;;
742 -cache-file | --cache-file | --cache-fil | --cache-fi \
743 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
744 ac_prev=cache_file ;;
745 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
746 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
747 cache_file=$ac_optarg ;;
749 --config-cache | -C)
750 cache_file=config.cache ;;
752 -datadir | --datadir | --datadi | --datad)
753 ac_prev=datadir ;;
754 -datadir=* | --datadir=* | --datadi=* | --datad=*)
755 datadir=$ac_optarg ;;
757 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
758 | --dataroo | --dataro | --datar)
759 ac_prev=datarootdir ;;
760 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
761 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
762 datarootdir=$ac_optarg ;;
764 -disable-* | --disable-*)
765 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
766 # Reject names that are not valid shell variable names.
767 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
768 as_fn_error "invalid feature name: $ac_useropt"
769 ac_useropt_orig=$ac_useropt
770 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
771 case $ac_user_opts in
773 "enable_$ac_useropt"
774 "*) ;;
775 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
776 ac_unrecognized_sep=', ';;
777 esac
778 eval enable_$ac_useropt=no ;;
780 -docdir | --docdir | --docdi | --doc | --do)
781 ac_prev=docdir ;;
782 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
783 docdir=$ac_optarg ;;
785 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
786 ac_prev=dvidir ;;
787 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
788 dvidir=$ac_optarg ;;
790 -enable-* | --enable-*)
791 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
792 # Reject names that are not valid shell variable names.
793 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
794 as_fn_error "invalid feature name: $ac_useropt"
795 ac_useropt_orig=$ac_useropt
796 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
797 case $ac_user_opts in
799 "enable_$ac_useropt"
800 "*) ;;
801 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
802 ac_unrecognized_sep=', ';;
803 esac
804 eval enable_$ac_useropt=\$ac_optarg ;;
806 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
807 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
808 | --exec | --exe | --ex)
809 ac_prev=exec_prefix ;;
810 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
811 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
812 | --exec=* | --exe=* | --ex=*)
813 exec_prefix=$ac_optarg ;;
815 -gas | --gas | --ga | --g)
816 # Obsolete; use --with-gas.
817 with_gas=yes ;;
819 -help | --help | --hel | --he | -h)
820 ac_init_help=long ;;
821 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
822 ac_init_help=recursive ;;
823 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
824 ac_init_help=short ;;
826 -host | --host | --hos | --ho)
827 ac_prev=host_alias ;;
828 -host=* | --host=* | --hos=* | --ho=*)
829 host_alias=$ac_optarg ;;
831 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
832 ac_prev=htmldir ;;
833 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
834 | --ht=*)
835 htmldir=$ac_optarg ;;
837 -includedir | --includedir | --includedi | --included | --include \
838 | --includ | --inclu | --incl | --inc)
839 ac_prev=includedir ;;
840 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
841 | --includ=* | --inclu=* | --incl=* | --inc=*)
842 includedir=$ac_optarg ;;
844 -infodir | --infodir | --infodi | --infod | --info | --inf)
845 ac_prev=infodir ;;
846 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
847 infodir=$ac_optarg ;;
849 -libdir | --libdir | --libdi | --libd)
850 ac_prev=libdir ;;
851 -libdir=* | --libdir=* | --libdi=* | --libd=*)
852 libdir=$ac_optarg ;;
854 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
855 | --libexe | --libex | --libe)
856 ac_prev=libexecdir ;;
857 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
858 | --libexe=* | --libex=* | --libe=*)
859 libexecdir=$ac_optarg ;;
861 -localedir | --localedir | --localedi | --localed | --locale)
862 ac_prev=localedir ;;
863 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
864 localedir=$ac_optarg ;;
866 -localstatedir | --localstatedir | --localstatedi | --localstated \
867 | --localstate | --localstat | --localsta | --localst | --locals)
868 ac_prev=localstatedir ;;
869 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
870 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
871 localstatedir=$ac_optarg ;;
873 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
874 ac_prev=mandir ;;
875 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
876 mandir=$ac_optarg ;;
878 -nfp | --nfp | --nf)
879 # Obsolete; use --without-fp.
880 with_fp=no ;;
882 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
883 | --no-cr | --no-c | -n)
884 no_create=yes ;;
886 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
887 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
888 no_recursion=yes ;;
890 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
891 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
892 | --oldin | --oldi | --old | --ol | --o)
893 ac_prev=oldincludedir ;;
894 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
895 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
896 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
897 oldincludedir=$ac_optarg ;;
899 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
900 ac_prev=prefix ;;
901 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
902 prefix=$ac_optarg ;;
904 -program-prefix | --program-prefix | --program-prefi | --program-pref \
905 | --program-pre | --program-pr | --program-p)
906 ac_prev=program_prefix ;;
907 -program-prefix=* | --program-prefix=* | --program-prefi=* \
908 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
909 program_prefix=$ac_optarg ;;
911 -program-suffix | --program-suffix | --program-suffi | --program-suff \
912 | --program-suf | --program-su | --program-s)
913 ac_prev=program_suffix ;;
914 -program-suffix=* | --program-suffix=* | --program-suffi=* \
915 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
916 program_suffix=$ac_optarg ;;
918 -program-transform-name | --program-transform-name \
919 | --program-transform-nam | --program-transform-na \
920 | --program-transform-n | --program-transform- \
921 | --program-transform | --program-transfor \
922 | --program-transfo | --program-transf \
923 | --program-trans | --program-tran \
924 | --progr-tra | --program-tr | --program-t)
925 ac_prev=program_transform_name ;;
926 -program-transform-name=* | --program-transform-name=* \
927 | --program-transform-nam=* | --program-transform-na=* \
928 | --program-transform-n=* | --program-transform-=* \
929 | --program-transform=* | --program-transfor=* \
930 | --program-transfo=* | --program-transf=* \
931 | --program-trans=* | --program-tran=* \
932 | --progr-tra=* | --program-tr=* | --program-t=*)
933 program_transform_name=$ac_optarg ;;
935 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
936 ac_prev=pdfdir ;;
937 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
938 pdfdir=$ac_optarg ;;
940 -psdir | --psdir | --psdi | --psd | --ps)
941 ac_prev=psdir ;;
942 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
943 psdir=$ac_optarg ;;
945 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
946 | -silent | --silent | --silen | --sile | --sil)
947 silent=yes ;;
949 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
950 ac_prev=sbindir ;;
951 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
952 | --sbi=* | --sb=*)
953 sbindir=$ac_optarg ;;
955 -sharedstatedir | --sharedstatedir | --sharedstatedi \
956 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
957 | --sharedst | --shareds | --shared | --share | --shar \
958 | --sha | --sh)
959 ac_prev=sharedstatedir ;;
960 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
961 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
962 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
963 | --sha=* | --sh=*)
964 sharedstatedir=$ac_optarg ;;
966 -site | --site | --sit)
967 ac_prev=site ;;
968 -site=* | --site=* | --sit=*)
969 site=$ac_optarg ;;
971 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
972 ac_prev=srcdir ;;
973 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
974 srcdir=$ac_optarg ;;
976 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
977 | --syscon | --sysco | --sysc | --sys | --sy)
978 ac_prev=sysconfdir ;;
979 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
980 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
981 sysconfdir=$ac_optarg ;;
983 -target | --target | --targe | --targ | --tar | --ta | --t)
984 ac_prev=target_alias ;;
985 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
986 target_alias=$ac_optarg ;;
988 -v | -verbose | --verbose | --verbos | --verbo | --verb)
989 verbose=yes ;;
991 -version | --version | --versio | --versi | --vers | -V)
992 ac_init_version=: ;;
994 -with-* | --with-*)
995 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
996 # Reject names that are not valid shell variable names.
997 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
998 as_fn_error "invalid package name: $ac_useropt"
999 ac_useropt_orig=$ac_useropt
1000 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1001 case $ac_user_opts in
1003 "with_$ac_useropt"
1004 "*) ;;
1005 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1006 ac_unrecognized_sep=', ';;
1007 esac
1008 eval with_$ac_useropt=\$ac_optarg ;;
1010 -without-* | --without-*)
1011 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1012 # Reject names that are not valid shell variable names.
1013 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1014 as_fn_error "invalid package name: $ac_useropt"
1015 ac_useropt_orig=$ac_useropt
1016 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1017 case $ac_user_opts in
1019 "with_$ac_useropt"
1020 "*) ;;
1021 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1022 ac_unrecognized_sep=', ';;
1023 esac
1024 eval with_$ac_useropt=no ;;
1026 --x)
1027 # Obsolete; use --with-x.
1028 with_x=yes ;;
1030 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1031 | --x-incl | --x-inc | --x-in | --x-i)
1032 ac_prev=x_includes ;;
1033 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1034 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1035 x_includes=$ac_optarg ;;
1037 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1038 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1039 ac_prev=x_libraries ;;
1040 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1041 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1042 x_libraries=$ac_optarg ;;
1044 -*) as_fn_error "unrecognized option: \`$ac_option'
1045 Try \`$0 --help' for more information."
1048 *=*)
1049 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1050 # Reject names that are not valid shell variable names.
1051 case $ac_envvar in #(
1052 '' | [0-9]* | *[!_$as_cr_alnum]* )
1053 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1054 esac
1055 eval $ac_envvar=\$ac_optarg
1056 export $ac_envvar ;;
1059 # FIXME: should be removed in autoconf 3.0.
1060 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1061 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1062 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1063 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1066 esac
1067 done
1069 if test -n "$ac_prev"; then
1070 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1071 as_fn_error "missing argument to $ac_option"
1074 if test -n "$ac_unrecognized_opts"; then
1075 case $enable_option_checking in
1076 no) ;;
1077 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1078 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1079 esac
1082 # Check all directory arguments for consistency.
1083 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1084 datadir sysconfdir sharedstatedir localstatedir includedir \
1085 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1086 libdir localedir mandir
1088 eval ac_val=\$$ac_var
1089 # Remove trailing slashes.
1090 case $ac_val in
1091 */ )
1092 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1093 eval $ac_var=\$ac_val;;
1094 esac
1095 # Be sure to have absolute directory names.
1096 case $ac_val in
1097 [\\/$]* | ?:[\\/]* ) continue;;
1098 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1099 esac
1100 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1101 done
1103 # There might be people who depend on the old broken behavior: `$host'
1104 # used to hold the argument of --host etc.
1105 # FIXME: To remove some day.
1106 build=$build_alias
1107 host=$host_alias
1108 target=$target_alias
1110 # FIXME: To remove some day.
1111 if test "x$host_alias" != x; then
1112 if test "x$build_alias" = x; then
1113 cross_compiling=maybe
1114 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1115 If a cross compiler is detected then cross compile mode will be used." >&2
1116 elif test "x$build_alias" != "x$host_alias"; then
1117 cross_compiling=yes
1121 ac_tool_prefix=
1122 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1124 test "$silent" = yes && exec 6>/dev/null
1127 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1128 ac_ls_di=`ls -di .` &&
1129 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1130 as_fn_error "working directory cannot be determined"
1131 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1132 as_fn_error "pwd does not report name of working directory"
1135 # Find the source files, if location was not specified.
1136 if test -z "$srcdir"; then
1137 ac_srcdir_defaulted=yes
1138 # Try the directory containing this script, then the parent directory.
1139 ac_confdir=`$as_dirname -- "$as_myself" ||
1140 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1141 X"$as_myself" : 'X\(//\)[^/]' \| \
1142 X"$as_myself" : 'X\(//\)$' \| \
1143 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1144 $as_echo X"$as_myself" |
1145 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1146 s//\1/
1149 /^X\(\/\/\)[^/].*/{
1150 s//\1/
1153 /^X\(\/\/\)$/{
1154 s//\1/
1157 /^X\(\/\).*/{
1158 s//\1/
1161 s/.*/./; q'`
1162 srcdir=$ac_confdir
1163 if test ! -r "$srcdir/$ac_unique_file"; then
1164 srcdir=..
1166 else
1167 ac_srcdir_defaulted=no
1169 if test ! -r "$srcdir/$ac_unique_file"; then
1170 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1171 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1173 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1174 ac_abs_confdir=`(
1175 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1176 pwd)`
1177 # When building in place, set srcdir=.
1178 if test "$ac_abs_confdir" = "$ac_pwd"; then
1179 srcdir=.
1181 # Remove unnecessary trailing slashes from srcdir.
1182 # Double slashes in file names in object file debugging info
1183 # mess up M-x gdb in Emacs.
1184 case $srcdir in
1185 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1186 esac
1187 for ac_var in $ac_precious_vars; do
1188 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1189 eval ac_env_${ac_var}_value=\$${ac_var}
1190 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1191 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1192 done
1195 # Report the --help message.
1197 if test "$ac_init_help" = "long"; then
1198 # Omit some internal or obsolete options to make the list less imposing.
1199 # This message is too long to be a string in the A/UX 3.1 sh.
1200 cat <<_ACEOF
1201 \`configure' configures GNU C Runtime Library 1.0 to adapt to many kinds of systems.
1203 Usage: $0 [OPTION]... [VAR=VALUE]...
1205 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1206 VAR=VALUE. See below for descriptions of some of the useful variables.
1208 Defaults for the options are specified in brackets.
1210 Configuration:
1211 -h, --help display this help and exit
1212 --help=short display options specific to this package
1213 --help=recursive display the short help of all the included packages
1214 -V, --version display version information and exit
1215 -q, --quiet, --silent do not print \`checking...' messages
1216 --cache-file=FILE cache test results in FILE [disabled]
1217 -C, --config-cache alias for \`--cache-file=config.cache'
1218 -n, --no-create do not create output files
1219 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1221 Installation directories:
1222 --prefix=PREFIX install architecture-independent files in PREFIX
1223 [$ac_default_prefix]
1224 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1225 [PREFIX]
1227 By default, \`make install' will install all the files in
1228 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1229 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1230 for instance \`--prefix=\$HOME'.
1232 For better control, use the options below.
1234 Fine tuning of the installation directories:
1235 --bindir=DIR user executables [EPREFIX/bin]
1236 --sbindir=DIR system admin executables [EPREFIX/sbin]
1237 --libexecdir=DIR program executables [EPREFIX/libexec]
1238 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1239 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1240 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1241 --libdir=DIR object code libraries [EPREFIX/lib]
1242 --includedir=DIR C header files [PREFIX/include]
1243 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1244 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1245 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1246 --infodir=DIR info documentation [DATAROOTDIR/info]
1247 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1248 --mandir=DIR man documentation [DATAROOTDIR/man]
1249 --docdir=DIR documentation root [DATAROOTDIR/doc/libgcc]
1250 --htmldir=DIR html documentation [DOCDIR]
1251 --dvidir=DIR dvi documentation [DOCDIR]
1252 --pdfdir=DIR pdf documentation [DOCDIR]
1253 --psdir=DIR ps documentation [DOCDIR]
1254 _ACEOF
1256 cat <<\_ACEOF
1258 System types:
1259 --build=BUILD configure for building on BUILD [guessed]
1260 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1261 _ACEOF
1264 if test -n "$ac_init_help"; then
1265 case $ac_init_help in
1266 short | recursive ) echo "Configuration of GNU C Runtime Library 1.0:";;
1267 esac
1268 cat <<\_ACEOF
1270 Optional Features:
1271 --disable-option-checking ignore unrecognized --enable/--with options
1272 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1273 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1274 --disable-shared don't provide a shared libgcc
1275 --enable-version-specific-runtime-libs Specify that runtime libraries should be installed in a compiler-specific directory
1276 --enable-maintainer-mode
1277 enable make rules and dependencies not useful (and
1278 sometimes confusing) to the casual installer
1279 --enable-decimal-float={no,yes,bid,dpd}
1280 enable decimal float extension to C. Selecting 'bid'
1281 or 'dpd' choses which decimal floating point format
1282 to use
1283 --enable-tls Use thread-local storage [default=yes]
1285 Optional Packages:
1286 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1287 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1288 --with-target-subdir=SUBDIR Configuring in a subdirectory for target
1289 --with-cross-host=HOST Configuring with a cross compiler
1290 --with-ld arrange to use the specified ld (full pathname)
1291 --with-slibdir=DIR shared libraries in DIR LIBDIR
1292 --with-build-libsubdir=DIR Directory where to find libraries for build system
1294 Some influential environment variables:
1295 CC C compiler command
1296 CFLAGS C compiler flags
1297 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1298 nonstandard directory <lib dir>
1299 LIBS libraries to pass to the linker, e.g. -l<library>
1300 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1301 you have headers in a nonstandard directory <include dir>
1302 CPP C preprocessor
1304 Use these variables to override the choices made by `configure' or to help
1305 it to find libraries and programs with nonstandard names/locations.
1307 Report bugs to the package provider.
1308 GNU C Runtime Library home page: <http://www.gnu.org/software/libgcc/>.
1309 General help using GNU software: <http://www.gnu.org/gethelp/>.
1310 _ACEOF
1311 ac_status=$?
1314 if test "$ac_init_help" = "recursive"; then
1315 # If there are subdirs, report their specific --help.
1316 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1317 test -d "$ac_dir" ||
1318 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1319 continue
1320 ac_builddir=.
1322 case "$ac_dir" in
1323 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1325 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1326 # A ".." for each directory in $ac_dir_suffix.
1327 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1328 case $ac_top_builddir_sub in
1329 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1330 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1331 esac ;;
1332 esac
1333 ac_abs_top_builddir=$ac_pwd
1334 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1335 # for backward compatibility:
1336 ac_top_builddir=$ac_top_build_prefix
1338 case $srcdir in
1339 .) # We are building in place.
1340 ac_srcdir=.
1341 ac_top_srcdir=$ac_top_builddir_sub
1342 ac_abs_top_srcdir=$ac_pwd ;;
1343 [\\/]* | ?:[\\/]* ) # Absolute name.
1344 ac_srcdir=$srcdir$ac_dir_suffix;
1345 ac_top_srcdir=$srcdir
1346 ac_abs_top_srcdir=$srcdir ;;
1347 *) # Relative name.
1348 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1349 ac_top_srcdir=$ac_top_build_prefix$srcdir
1350 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1351 esac
1352 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1354 cd "$ac_dir" || { ac_status=$?; continue; }
1355 # Check for guested configure.
1356 if test -f "$ac_srcdir/configure.gnu"; then
1357 echo &&
1358 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1359 elif test -f "$ac_srcdir/configure"; then
1360 echo &&
1361 $SHELL "$ac_srcdir/configure" --help=recursive
1362 else
1363 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1364 fi || ac_status=$?
1365 cd "$ac_pwd" || { ac_status=$?; break; }
1366 done
1369 test -n "$ac_init_help" && exit $ac_status
1370 if $ac_init_version; then
1371 cat <<\_ACEOF
1372 GNU C Runtime Library configure 1.0
1373 generated by GNU Autoconf 2.64
1375 Copyright (C) 2009 Free Software Foundation, Inc.
1376 This configure script is free software; the Free Software Foundation
1377 gives unlimited permission to copy, distribute and modify it.
1378 _ACEOF
1379 exit
1382 ## ------------------------ ##
1383 ## Autoconf initialization. ##
1384 ## ------------------------ ##
1386 # ac_fn_c_try_compile LINENO
1387 # --------------------------
1388 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1389 ac_fn_c_try_compile ()
1391 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1392 rm -f conftest.$ac_objext
1393 if { { ac_try="$ac_compile"
1394 case "(($ac_try" in
1395 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1396 *) ac_try_echo=$ac_try;;
1397 esac
1398 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1399 $as_echo "$ac_try_echo"; } >&5
1400 (eval "$ac_compile") 2>conftest.err
1401 ac_status=$?
1402 if test -s conftest.err; then
1403 grep -v '^ *+' conftest.err >conftest.er1
1404 cat conftest.er1 >&5
1405 mv -f conftest.er1 conftest.err
1407 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1408 test $ac_status = 0; } && {
1409 test -z "$ac_c_werror_flag" ||
1410 test ! -s conftest.err
1411 } && test -s conftest.$ac_objext; then :
1412 ac_retval=0
1413 else
1414 $as_echo "$as_me: failed program was:" >&5
1415 sed 's/^/| /' conftest.$ac_ext >&5
1417 ac_retval=1
1419 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1420 return $ac_retval
1422 } # ac_fn_c_try_compile
1424 # ac_fn_c_try_cpp LINENO
1425 # ----------------------
1426 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1427 ac_fn_c_try_cpp ()
1429 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1430 if { { ac_try="$ac_cpp conftest.$ac_ext"
1431 case "(($ac_try" in
1432 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1433 *) ac_try_echo=$ac_try;;
1434 esac
1435 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1436 $as_echo "$ac_try_echo"; } >&5
1437 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1438 ac_status=$?
1439 if test -s conftest.err; then
1440 grep -v '^ *+' conftest.err >conftest.er1
1441 cat conftest.er1 >&5
1442 mv -f conftest.er1 conftest.err
1444 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1445 test $ac_status = 0; } >/dev/null && {
1446 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1447 test ! -s conftest.err
1448 }; then :
1449 ac_retval=0
1450 else
1451 $as_echo "$as_me: failed program was:" >&5
1452 sed 's/^/| /' conftest.$ac_ext >&5
1454 ac_retval=1
1456 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1457 return $ac_retval
1459 } # ac_fn_c_try_cpp
1460 cat >config.log <<_ACEOF
1461 This file contains any messages produced by compilers while
1462 running configure, to aid debugging if configure makes a mistake.
1464 It was created by GNU C Runtime Library $as_me 1.0, which was
1465 generated by GNU Autoconf 2.64. Invocation command line was
1467 $ $0 $@
1469 _ACEOF
1470 exec 5>>config.log
1472 cat <<_ASUNAME
1473 ## --------- ##
1474 ## Platform. ##
1475 ## --------- ##
1477 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1478 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1479 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1480 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1481 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1483 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1484 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1486 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1487 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1488 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1489 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1490 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1491 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1492 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1494 _ASUNAME
1496 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1497 for as_dir in $PATH
1499 IFS=$as_save_IFS
1500 test -z "$as_dir" && as_dir=.
1501 $as_echo "PATH: $as_dir"
1502 done
1503 IFS=$as_save_IFS
1505 } >&5
1507 cat >&5 <<_ACEOF
1510 ## ----------- ##
1511 ## Core tests. ##
1512 ## ----------- ##
1514 _ACEOF
1517 # Keep a trace of the command line.
1518 # Strip out --no-create and --no-recursion so they do not pile up.
1519 # Strip out --silent because we don't want to record it for future runs.
1520 # Also quote any args containing shell meta-characters.
1521 # Make two passes to allow for proper duplicate-argument suppression.
1522 ac_configure_args=
1523 ac_configure_args0=
1524 ac_configure_args1=
1525 ac_must_keep_next=false
1526 for ac_pass in 1 2
1528 for ac_arg
1530 case $ac_arg in
1531 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1532 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1533 | -silent | --silent | --silen | --sile | --sil)
1534 continue ;;
1535 *\'*)
1536 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1537 esac
1538 case $ac_pass in
1539 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1541 as_fn_append ac_configure_args1 " '$ac_arg'"
1542 if test $ac_must_keep_next = true; then
1543 ac_must_keep_next=false # Got value, back to normal.
1544 else
1545 case $ac_arg in
1546 *=* | --config-cache | -C | -disable-* | --disable-* \
1547 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1548 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1549 | -with-* | --with-* | -without-* | --without-* | --x)
1550 case "$ac_configure_args0 " in
1551 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1552 esac
1554 -* ) ac_must_keep_next=true ;;
1555 esac
1557 as_fn_append ac_configure_args " '$ac_arg'"
1559 esac
1560 done
1561 done
1562 { ac_configure_args0=; unset ac_configure_args0;}
1563 { ac_configure_args1=; unset ac_configure_args1;}
1565 # When interrupted or exit'd, cleanup temporary files, and complete
1566 # config.log. We remove comments because anyway the quotes in there
1567 # would cause problems or look ugly.
1568 # WARNING: Use '\'' to represent an apostrophe within the trap.
1569 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1570 trap 'exit_status=$?
1571 # Save into config.log some information that might help in debugging.
1573 echo
1575 cat <<\_ASBOX
1576 ## ---------------- ##
1577 ## Cache variables. ##
1578 ## ---------------- ##
1579 _ASBOX
1580 echo
1581 # The following way of writing the cache mishandles newlines in values,
1583 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1584 eval ac_val=\$$ac_var
1585 case $ac_val in #(
1586 *${as_nl}*)
1587 case $ac_var in #(
1588 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1589 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1590 esac
1591 case $ac_var in #(
1592 _ | IFS | as_nl) ;; #(
1593 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1594 *) { eval $ac_var=; unset $ac_var;} ;;
1595 esac ;;
1596 esac
1597 done
1598 (set) 2>&1 |
1599 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1600 *${as_nl}ac_space=\ *)
1601 sed -n \
1602 "s/'\''/'\''\\\\'\'''\''/g;
1603 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1604 ;; #(
1606 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1608 esac |
1609 sort
1611 echo
1613 cat <<\_ASBOX
1614 ## ----------------- ##
1615 ## Output variables. ##
1616 ## ----------------- ##
1617 _ASBOX
1618 echo
1619 for ac_var in $ac_subst_vars
1621 eval ac_val=\$$ac_var
1622 case $ac_val in
1623 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1624 esac
1625 $as_echo "$ac_var='\''$ac_val'\''"
1626 done | sort
1627 echo
1629 if test -n "$ac_subst_files"; then
1630 cat <<\_ASBOX
1631 ## ------------------- ##
1632 ## File substitutions. ##
1633 ## ------------------- ##
1634 _ASBOX
1635 echo
1636 for ac_var in $ac_subst_files
1638 eval ac_val=\$$ac_var
1639 case $ac_val in
1640 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1641 esac
1642 $as_echo "$ac_var='\''$ac_val'\''"
1643 done | sort
1644 echo
1647 if test -s confdefs.h; then
1648 cat <<\_ASBOX
1649 ## ----------- ##
1650 ## confdefs.h. ##
1651 ## ----------- ##
1652 _ASBOX
1653 echo
1654 cat confdefs.h
1655 echo
1657 test "$ac_signal" != 0 &&
1658 $as_echo "$as_me: caught signal $ac_signal"
1659 $as_echo "$as_me: exit $exit_status"
1660 } >&5
1661 rm -f core *.core core.conftest.* &&
1662 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1663 exit $exit_status
1665 for ac_signal in 1 2 13 15; do
1666 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1667 done
1668 ac_signal=0
1670 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1671 rm -f -r conftest* confdefs.h
1673 $as_echo "/* confdefs.h */" > confdefs.h
1675 # Predefined preprocessor variables.
1677 cat >>confdefs.h <<_ACEOF
1678 #define PACKAGE_NAME "$PACKAGE_NAME"
1679 _ACEOF
1681 cat >>confdefs.h <<_ACEOF
1682 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1683 _ACEOF
1685 cat >>confdefs.h <<_ACEOF
1686 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1687 _ACEOF
1689 cat >>confdefs.h <<_ACEOF
1690 #define PACKAGE_STRING "$PACKAGE_STRING"
1691 _ACEOF
1693 cat >>confdefs.h <<_ACEOF
1694 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1695 _ACEOF
1697 cat >>confdefs.h <<_ACEOF
1698 #define PACKAGE_URL "$PACKAGE_URL"
1699 _ACEOF
1702 # Let the site file select an alternate cache file if it wants to.
1703 # Prefer an explicitly selected file to automatically selected ones.
1704 ac_site_file1=NONE
1705 ac_site_file2=NONE
1706 if test -n "$CONFIG_SITE"; then
1707 ac_site_file1=$CONFIG_SITE
1708 elif test "x$prefix" != xNONE; then
1709 ac_site_file1=$prefix/share/config.site
1710 ac_site_file2=$prefix/etc/config.site
1711 else
1712 ac_site_file1=$ac_default_prefix/share/config.site
1713 ac_site_file2=$ac_default_prefix/etc/config.site
1715 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1717 test "x$ac_site_file" = xNONE && continue
1718 if test -r "$ac_site_file"; then
1719 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1720 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1721 sed 's/^/| /' "$ac_site_file" >&5
1722 . "$ac_site_file"
1724 done
1726 if test -r "$cache_file"; then
1727 # Some versions of bash will fail to source /dev/null (special
1728 # files actually), so we avoid doing that.
1729 if test -f "$cache_file"; then
1730 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1731 $as_echo "$as_me: loading cache $cache_file" >&6;}
1732 case $cache_file in
1733 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1734 *) . "./$cache_file";;
1735 esac
1737 else
1738 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1739 $as_echo "$as_me: creating cache $cache_file" >&6;}
1740 >$cache_file
1743 # Check that the precious variables saved in the cache have kept the same
1744 # value.
1745 ac_cache_corrupted=false
1746 for ac_var in $ac_precious_vars; do
1747 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1748 eval ac_new_set=\$ac_env_${ac_var}_set
1749 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1750 eval ac_new_val=\$ac_env_${ac_var}_value
1751 case $ac_old_set,$ac_new_set in
1752 set,)
1753 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1754 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1755 ac_cache_corrupted=: ;;
1756 ,set)
1757 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1758 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1759 ac_cache_corrupted=: ;;
1760 ,);;
1762 if test "x$ac_old_val" != "x$ac_new_val"; then
1763 # differences in whitespace do not lead to failure.
1764 ac_old_val_w=`echo x $ac_old_val`
1765 ac_new_val_w=`echo x $ac_new_val`
1766 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1767 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1768 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1769 ac_cache_corrupted=:
1770 else
1771 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1772 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1773 eval $ac_var=\$ac_old_val
1775 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1776 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1777 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1778 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1779 fi;;
1780 esac
1781 # Pass precious variables to config.status.
1782 if test "$ac_new_set" = set; then
1783 case $ac_new_val in
1784 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1785 *) ac_arg=$ac_var=$ac_new_val ;;
1786 esac
1787 case " $ac_configure_args " in
1788 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1789 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1790 esac
1792 done
1793 if $ac_cache_corrupted; then
1794 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1795 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1796 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1797 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1798 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1800 ## -------------------- ##
1801 ## Main body of script. ##
1802 ## -------------------- ##
1804 ac_ext=c
1805 ac_cpp='$CPP $CPPFLAGS'
1806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1817 # Check whether --with-target-subdir was given.
1818 if test "${with_target_subdir+set}" = set; then :
1819 withval=$with_target_subdir;
1823 # Check whether --with-cross-host was given.
1824 if test "${with_cross_host+set}" = set; then :
1825 withval=$with_cross_host;
1829 # Check whether --with-ld was given.
1830 if test "${with_ld+set}" = set; then :
1831 withval=$with_ld;
1835 if test "${srcdir}" = "."; then
1836 if test -n "${with_build_subdir}"; then
1837 libgcc_topdir="${srcdir}/../.."
1838 with_target_subdir=
1839 elif test -z "${with_target_subdir}"; then
1840 libgcc_topdir="${srcdir}/.."
1841 else
1842 if test "${with_target_subdir}" != "."; then
1843 libgcc_topdir="${srcdir}/${with_multisrctop}../.."
1844 else
1845 libgcc_topdir="${srcdir}/${with_multisrctop}.."
1848 else
1849 libgcc_topdir="${srcdir}/.."
1852 ac_aux_dir=
1853 for ac_dir in $libgcc_topdir "$srcdir"/$libgcc_topdir; do
1854 for ac_t in install-sh install.sh shtool; do
1855 if test -f "$ac_dir/$ac_t"; then
1856 ac_aux_dir=$ac_dir
1857 ac_install_sh="$ac_aux_dir/$ac_t -c"
1858 break 2
1860 done
1861 done
1862 if test -z "$ac_aux_dir"; then
1863 as_fn_error "cannot find install-sh, install.sh, or shtool in $libgcc_topdir \"$srcdir\"/$libgcc_topdir" "$LINENO" 5
1866 # These three variables are undocumented and unsupported,
1867 # and are intended to be withdrawn in a future Autoconf release.
1868 # They can cause serious problems if a builder's source tree is in a directory
1869 # whose full name contains unusual characters.
1870 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1871 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1872 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1876 # Check whether --enable-shared was given.
1877 if test "${enable_shared+set}" = set; then :
1878 enableval=$enable_shared;
1879 case $enable_shared in
1880 yes | no) ;;
1882 enable_shared=no
1883 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1884 for pkg in $enableval; do
1885 if test "X$pkg" = "Xgcc" || test "X$pkg" = "Xlibgcc"; then
1886 enable_shared=yes
1888 done
1889 IFS="$ac_save_ifs"
1891 esac
1893 else
1894 enable_shared=yes
1899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
1900 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
1901 # Check whether --enable-version-specific-runtime-libs was given.
1902 if test "${enable_version_specific_runtime_libs+set}" = set; then :
1903 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
1904 yes) version_specific_libs=yes ;;
1905 no) version_specific_libs=no ;;
1906 *) as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
1907 esac
1908 else
1909 version_specific_libs=no
1912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
1913 $as_echo "$version_specific_libs" >&6; }
1916 # Check whether --with-slibdir was given.
1917 if test "${with_slibdir+set}" = set; then :
1918 withval=$with_slibdir; slibdir="$with_slibdir"
1919 else
1920 if test "${version_specific_libs}" = yes; then
1921 slibdir='$(libsubdir)'
1922 elif test -n "$with_cross_host" && test x"$with_cross_host" != x"no"; then
1923 slibdir='$(exec_prefix)/$(host_noncanonical)/lib'
1924 else
1925 slibdir='$(libdir)'
1931 # Command-line options.
1932 # Very limited version of AC_MAINTAINER_MODE.
1933 # Check whether --enable-maintainer-mode was given.
1934 if test "${enable_maintainer_mode+set}" = set; then :
1935 enableval=$enable_maintainer_mode; case ${enable_maintainer_mode} in
1936 yes) MAINT='' ;;
1937 no) MAINT='#' ;;
1938 *) as_fn_error "--enable-maintainer-mode must be yes or no" "$LINENO" 5 ;;
1939 esac
1940 maintainer_mode=${enableval}
1941 else
1942 MAINT='#'
1946 # Find a good install program. We prefer a C program (faster),
1947 # so one script is as good as another. But avoid the broken or
1948 # incompatible versions:
1949 # SysV /etc/install, /usr/sbin/install
1950 # SunOS /usr/etc/install
1951 # IRIX /sbin/install
1952 # AIX /bin/install
1953 # AmigaOS /C/install, which installs bootblocks on floppy discs
1954 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1955 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1956 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1957 # OS/2's system install, which has a completely different semantic
1958 # ./install, which can be erroneously created by make from ./install.sh.
1959 # Reject install programs that cannot install multiple files.
1960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
1961 $as_echo_n "checking for a BSD-compatible install... " >&6; }
1962 if test -z "$INSTALL"; then
1963 if test "${ac_cv_path_install+set}" = set; then :
1964 $as_echo_n "(cached) " >&6
1965 else
1966 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1967 for as_dir in $PATH
1969 IFS=$as_save_IFS
1970 test -z "$as_dir" && as_dir=.
1971 # Account for people who put trailing slashes in PATH elements.
1972 case $as_dir/ in #((
1973 ./ | .// | /[cC]/* | \
1974 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1975 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
1976 /usr/ucb/* ) ;;
1978 # OSF1 and SCO ODT 3.0 have their own names for install.
1979 # Don't use installbsd from OSF since it installs stuff as root
1980 # by default.
1981 for ac_prog in ginstall scoinst install; do
1982 for ac_exec_ext in '' $ac_executable_extensions; do
1983 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1984 if test $ac_prog = install &&
1985 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1986 # AIX install. It has an incompatible calling convention.
1988 elif test $ac_prog = install &&
1989 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1990 # program-specific install script used by HP pwplus--don't use.
1992 else
1993 rm -rf conftest.one conftest.two conftest.dir
1994 echo one > conftest.one
1995 echo two > conftest.two
1996 mkdir conftest.dir
1997 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1998 test -s conftest.one && test -s conftest.two &&
1999 test -s conftest.dir/conftest.one &&
2000 test -s conftest.dir/conftest.two
2001 then
2002 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2003 break 3
2007 done
2008 done
2010 esac
2012 done
2013 IFS=$as_save_IFS
2015 rm -rf conftest.one conftest.two conftest.dir
2018 if test "${ac_cv_path_install+set}" = set; then
2019 INSTALL=$ac_cv_path_install
2020 else
2021 # As a last resort, use the slow shell script. Don't cache a
2022 # value for INSTALL within a source directory, because that will
2023 # break other packages using the cache if that directory is
2024 # removed, or if the value is a relative name.
2025 INSTALL=$ac_install_sh
2028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2029 $as_echo "$INSTALL" >&6; }
2031 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2032 # It thinks the first close brace ends the variable substitution.
2033 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2035 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2037 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2040 for ac_prog in gawk mawk nawk awk
2042 # Extract the first word of "$ac_prog", so it can be a program name with args.
2043 set dummy $ac_prog; ac_word=$2
2044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2045 $as_echo_n "checking for $ac_word... " >&6; }
2046 if test "${ac_cv_prog_AWK+set}" = set; then :
2047 $as_echo_n "(cached) " >&6
2048 else
2049 if test -n "$AWK"; then
2050 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2051 else
2052 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2053 for as_dir in $PATH
2055 IFS=$as_save_IFS
2056 test -z "$as_dir" && as_dir=.
2057 for ac_exec_ext in '' $ac_executable_extensions; do
2058 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2059 ac_cv_prog_AWK="$ac_prog"
2060 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2061 break 2
2063 done
2064 done
2065 IFS=$as_save_IFS
2069 AWK=$ac_cv_prog_AWK
2070 if test -n "$AWK"; then
2071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2072 $as_echo "$AWK" >&6; }
2073 else
2074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2075 $as_echo "no" >&6; }
2079 test -n "$AWK" && break
2080 done
2082 # We need awk; bail out if it's missing.
2083 case ${AWK} in
2084 "") as_fn_error "can't build without awk, bailing out" "$LINENO" 5 ;;
2085 esac
2087 # Make sure we can run config.sub.
2088 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2089 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2092 $as_echo_n "checking build system type... " >&6; }
2093 if test "${ac_cv_build+set}" = set; then :
2094 $as_echo_n "(cached) " >&6
2095 else
2096 ac_build_alias=$build_alias
2097 test "x$ac_build_alias" = x &&
2098 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2099 test "x$ac_build_alias" = x &&
2100 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2101 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2102 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2106 $as_echo "$ac_cv_build" >&6; }
2107 case $ac_cv_build in
2108 *-*-*) ;;
2109 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2110 esac
2111 build=$ac_cv_build
2112 ac_save_IFS=$IFS; IFS='-'
2113 set x $ac_cv_build
2114 shift
2115 build_cpu=$1
2116 build_vendor=$2
2117 shift; shift
2118 # Remember, the first character of IFS is used to create $*,
2119 # except with old shells:
2120 build_os=$*
2121 IFS=$ac_save_IFS
2122 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2126 $as_echo_n "checking host system type... " >&6; }
2127 if test "${ac_cv_host+set}" = set; then :
2128 $as_echo_n "(cached) " >&6
2129 else
2130 if test "x$host_alias" = x; then
2131 ac_cv_host=$ac_cv_build
2132 else
2133 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2134 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2139 $as_echo "$ac_cv_host" >&6; }
2140 case $ac_cv_host in
2141 *-*-*) ;;
2142 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2143 esac
2144 host=$ac_cv_host
2145 ac_save_IFS=$IFS; IFS='-'
2146 set x $ac_cv_host
2147 shift
2148 host_cpu=$1
2149 host_vendor=$2
2150 shift; shift
2151 # Remember, the first character of IFS is used to create $*,
2152 # except with old shells:
2153 host_os=$*
2154 IFS=$ac_save_IFS
2155 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2158 case ${build_alias} in
2159 "") build_noncanonical=${build} ;;
2160 *) build_noncanonical=${build_alias} ;;
2161 esac
2163 case ${host_alias} in
2164 "") host_noncanonical=${build_noncanonical} ;;
2165 *) host_noncanonical=${host_alias} ;;
2166 esac
2170 case ${target_alias} in
2171 "") target_noncanonical=${host_noncanonical} ;;
2172 *) target_noncanonical=${target_alias} ;;
2173 esac
2176 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
2177 # have matching libraries, they should use host libraries: Makefile.tpl
2178 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
2179 # However, they still use the build modules, because the corresponding
2180 # host modules (e.g. bison) are only built for the host when bootstrap
2181 # finishes. So:
2182 # - build_subdir is where we find build modules, and never changes.
2183 # - build_libsubdir is where we find build libraries, and can be overridden.
2185 # Prefix 'build-' so this never conflicts with target_subdir.
2186 build_subdir="build-${build_noncanonical}"
2188 # Check whether --with-build-libsubdir was given.
2189 if test "${with_build_libsubdir+set}" = set; then :
2190 withval=$with_build_libsubdir; build_libsubdir="$withval"
2191 else
2192 build_libsubdir="$build_subdir"
2195 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
2196 if ( test $srcdir = . && test -d gcc ) \
2197 || test -d $srcdir/../host-${host_noncanonical}; then
2198 host_subdir="host-${host_noncanonical}"
2199 else
2200 host_subdir=.
2202 # No prefix.
2203 target_subdir=${target_noncanonical}
2206 if test -n "$ac_tool_prefix"; then
2207 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
2208 set dummy ${ac_tool_prefix}ar; ac_word=$2
2209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2210 $as_echo_n "checking for $ac_word... " >&6; }
2211 if test "${ac_cv_prog_AR+set}" = set; then :
2212 $as_echo_n "(cached) " >&6
2213 else
2214 if test -n "$AR"; then
2215 ac_cv_prog_AR="$AR" # Let the user override the test.
2216 else
2217 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2218 for as_dir in $PATH
2220 IFS=$as_save_IFS
2221 test -z "$as_dir" && as_dir=.
2222 for ac_exec_ext in '' $ac_executable_extensions; do
2223 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2224 ac_cv_prog_AR="${ac_tool_prefix}ar"
2225 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2226 break 2
2228 done
2229 done
2230 IFS=$as_save_IFS
2234 AR=$ac_cv_prog_AR
2235 if test -n "$AR"; then
2236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
2237 $as_echo "$AR" >&6; }
2238 else
2239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2240 $as_echo "no" >&6; }
2245 if test -z "$ac_cv_prog_AR"; then
2246 ac_ct_AR=$AR
2247 # Extract the first word of "ar", so it can be a program name with args.
2248 set dummy ar; ac_word=$2
2249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2250 $as_echo_n "checking for $ac_word... " >&6; }
2251 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
2252 $as_echo_n "(cached) " >&6
2253 else
2254 if test -n "$ac_ct_AR"; then
2255 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
2256 else
2257 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2258 for as_dir in $PATH
2260 IFS=$as_save_IFS
2261 test -z "$as_dir" && as_dir=.
2262 for ac_exec_ext in '' $ac_executable_extensions; do
2263 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2264 ac_cv_prog_ac_ct_AR="ar"
2265 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2266 break 2
2268 done
2269 done
2270 IFS=$as_save_IFS
2274 ac_ct_AR=$ac_cv_prog_ac_ct_AR
2275 if test -n "$ac_ct_AR"; then
2276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
2277 $as_echo "$ac_ct_AR" >&6; }
2278 else
2279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2280 $as_echo "no" >&6; }
2283 if test "x$ac_ct_AR" = x; then
2284 AR=""
2285 else
2286 case $cross_compiling:$ac_tool_warned in
2287 yes:)
2288 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2289 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2290 ac_tool_warned=yes ;;
2291 esac
2292 AR=$ac_ct_AR
2294 else
2295 AR="$ac_cv_prog_AR"
2298 if test -n "$ac_tool_prefix"; then
2299 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
2300 set dummy ${ac_tool_prefix}lipo; ac_word=$2
2301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2302 $as_echo_n "checking for $ac_word... " >&6; }
2303 if test "${ac_cv_prog_LIPO+set}" = set; then :
2304 $as_echo_n "(cached) " >&6
2305 else
2306 if test -n "$LIPO"; then
2307 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
2308 else
2309 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2310 for as_dir in $PATH
2312 IFS=$as_save_IFS
2313 test -z "$as_dir" && as_dir=.
2314 for ac_exec_ext in '' $ac_executable_extensions; do
2315 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2316 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
2317 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2318 break 2
2320 done
2321 done
2322 IFS=$as_save_IFS
2326 LIPO=$ac_cv_prog_LIPO
2327 if test -n "$LIPO"; then
2328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
2329 $as_echo "$LIPO" >&6; }
2330 else
2331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2332 $as_echo "no" >&6; }
2337 if test -z "$ac_cv_prog_LIPO"; then
2338 ac_ct_LIPO=$LIPO
2339 # Extract the first word of "lipo", so it can be a program name with args.
2340 set dummy lipo; ac_word=$2
2341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2342 $as_echo_n "checking for $ac_word... " >&6; }
2343 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
2344 $as_echo_n "(cached) " >&6
2345 else
2346 if test -n "$ac_ct_LIPO"; then
2347 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
2348 else
2349 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2350 for as_dir in $PATH
2352 IFS=$as_save_IFS
2353 test -z "$as_dir" && as_dir=.
2354 for ac_exec_ext in '' $ac_executable_extensions; do
2355 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2356 ac_cv_prog_ac_ct_LIPO="lipo"
2357 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2358 break 2
2360 done
2361 done
2362 IFS=$as_save_IFS
2366 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
2367 if test -n "$ac_ct_LIPO"; then
2368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
2369 $as_echo "$ac_ct_LIPO" >&6; }
2370 else
2371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2372 $as_echo "no" >&6; }
2375 if test "x$ac_ct_LIPO" = x; then
2376 LIPO=":"
2377 else
2378 case $cross_compiling:$ac_tool_warned in
2379 yes:)
2380 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2381 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2382 ac_tool_warned=yes ;;
2383 esac
2384 LIPO=$ac_ct_LIPO
2386 else
2387 LIPO="$ac_cv_prog_LIPO"
2390 if test -n "$ac_tool_prefix"; then
2391 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
2392 set dummy ${ac_tool_prefix}nm; ac_word=$2
2393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2394 $as_echo_n "checking for $ac_word... " >&6; }
2395 if test "${ac_cv_prog_NM+set}" = set; then :
2396 $as_echo_n "(cached) " >&6
2397 else
2398 if test -n "$NM"; then
2399 ac_cv_prog_NM="$NM" # Let the user override the test.
2400 else
2401 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2402 for as_dir in $PATH
2404 IFS=$as_save_IFS
2405 test -z "$as_dir" && as_dir=.
2406 for ac_exec_ext in '' $ac_executable_extensions; do
2407 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2408 ac_cv_prog_NM="${ac_tool_prefix}nm"
2409 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2410 break 2
2412 done
2413 done
2414 IFS=$as_save_IFS
2418 NM=$ac_cv_prog_NM
2419 if test -n "$NM"; then
2420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM" >&5
2421 $as_echo "$NM" >&6; }
2422 else
2423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2424 $as_echo "no" >&6; }
2429 if test -z "$ac_cv_prog_NM"; then
2430 ac_ct_NM=$NM
2431 # Extract the first word of "nm", so it can be a program name with args.
2432 set dummy nm; ac_word=$2
2433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2434 $as_echo_n "checking for $ac_word... " >&6; }
2435 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then :
2436 $as_echo_n "(cached) " >&6
2437 else
2438 if test -n "$ac_ct_NM"; then
2439 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
2440 else
2441 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2442 for as_dir in $PATH
2444 IFS=$as_save_IFS
2445 test -z "$as_dir" && as_dir=.
2446 for ac_exec_ext in '' $ac_executable_extensions; do
2447 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2448 ac_cv_prog_ac_ct_NM="nm"
2449 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2450 break 2
2452 done
2453 done
2454 IFS=$as_save_IFS
2458 ac_ct_NM=$ac_cv_prog_ac_ct_NM
2459 if test -n "$ac_ct_NM"; then
2460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NM" >&5
2461 $as_echo "$ac_ct_NM" >&6; }
2462 else
2463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2464 $as_echo "no" >&6; }
2467 if test "x$ac_ct_NM" = x; then
2468 NM=""
2469 else
2470 case $cross_compiling:$ac_tool_warned in
2471 yes:)
2472 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2473 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2474 ac_tool_warned=yes ;;
2475 esac
2476 NM=$ac_ct_NM
2478 else
2479 NM="$ac_cv_prog_NM"
2482 if test -n "$ac_tool_prefix"; then
2483 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2484 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2486 $as_echo_n "checking for $ac_word... " >&6; }
2487 if test "${ac_cv_prog_RANLIB+set}" = set; then :
2488 $as_echo_n "(cached) " >&6
2489 else
2490 if test -n "$RANLIB"; then
2491 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2492 else
2493 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2494 for as_dir in $PATH
2496 IFS=$as_save_IFS
2497 test -z "$as_dir" && as_dir=.
2498 for ac_exec_ext in '' $ac_executable_extensions; do
2499 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2500 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2501 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2502 break 2
2504 done
2505 done
2506 IFS=$as_save_IFS
2510 RANLIB=$ac_cv_prog_RANLIB
2511 if test -n "$RANLIB"; then
2512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
2513 $as_echo "$RANLIB" >&6; }
2514 else
2515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2516 $as_echo "no" >&6; }
2521 if test -z "$ac_cv_prog_RANLIB"; then
2522 ac_ct_RANLIB=$RANLIB
2523 # Extract the first word of "ranlib", so it can be a program name with args.
2524 set dummy ranlib; ac_word=$2
2525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2526 $as_echo_n "checking for $ac_word... " >&6; }
2527 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
2528 $as_echo_n "(cached) " >&6
2529 else
2530 if test -n "$ac_ct_RANLIB"; then
2531 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
2532 else
2533 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2534 for as_dir in $PATH
2536 IFS=$as_save_IFS
2537 test -z "$as_dir" && as_dir=.
2538 for ac_exec_ext in '' $ac_executable_extensions; do
2539 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2540 ac_cv_prog_ac_ct_RANLIB="ranlib"
2541 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2542 break 2
2544 done
2545 done
2546 IFS=$as_save_IFS
2550 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
2551 if test -n "$ac_ct_RANLIB"; then
2552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
2553 $as_echo "$ac_ct_RANLIB" >&6; }
2554 else
2555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2556 $as_echo "no" >&6; }
2559 if test "x$ac_ct_RANLIB" = x; then
2560 RANLIB=":"
2561 else
2562 case $cross_compiling:$ac_tool_warned in
2563 yes:)
2564 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2565 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2566 ac_tool_warned=yes ;;
2567 esac
2568 RANLIB=$ac_ct_RANLIB
2570 else
2571 RANLIB="$ac_cv_prog_RANLIB"
2574 if test -n "$ac_tool_prefix"; then
2575 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2576 set dummy ${ac_tool_prefix}strip; ac_word=$2
2577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2578 $as_echo_n "checking for $ac_word... " >&6; }
2579 if test "${ac_cv_prog_STRIP+set}" = set; then :
2580 $as_echo_n "(cached) " >&6
2581 else
2582 if test -n "$STRIP"; then
2583 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2584 else
2585 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2586 for as_dir in $PATH
2588 IFS=$as_save_IFS
2589 test -z "$as_dir" && as_dir=.
2590 for ac_exec_ext in '' $ac_executable_extensions; do
2591 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2592 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2593 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2594 break 2
2596 done
2597 done
2598 IFS=$as_save_IFS
2602 STRIP=$ac_cv_prog_STRIP
2603 if test -n "$STRIP"; then
2604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2605 $as_echo "$STRIP" >&6; }
2606 else
2607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2608 $as_echo "no" >&6; }
2613 if test -z "$ac_cv_prog_STRIP"; then
2614 ac_ct_STRIP=$STRIP
2615 # Extract the first word of "strip", so it can be a program name with args.
2616 set dummy strip; ac_word=$2
2617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2618 $as_echo_n "checking for $ac_word... " >&6; }
2619 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2620 $as_echo_n "(cached) " >&6
2621 else
2622 if test -n "$ac_ct_STRIP"; then
2623 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2624 else
2625 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2626 for as_dir in $PATH
2628 IFS=$as_save_IFS
2629 test -z "$as_dir" && as_dir=.
2630 for ac_exec_ext in '' $ac_executable_extensions; do
2631 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2632 ac_cv_prog_ac_ct_STRIP="strip"
2633 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2634 break 2
2636 done
2637 done
2638 IFS=$as_save_IFS
2642 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2643 if test -n "$ac_ct_STRIP"; then
2644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2645 $as_echo "$ac_ct_STRIP" >&6; }
2646 else
2647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2648 $as_echo "no" >&6; }
2651 if test "x$ac_ct_STRIP" = x; then
2652 STRIP=":"
2653 else
2654 case $cross_compiling:$ac_tool_warned in
2655 yes:)
2656 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2657 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2658 ac_tool_warned=yes ;;
2659 esac
2660 STRIP=$ac_ct_STRIP
2662 else
2663 STRIP="$ac_cv_prog_STRIP"
2666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
2667 $as_echo_n "checking whether ln -s works... " >&6; }
2668 LN_S=$as_ln_s
2669 if test "$LN_S" = "ln -s"; then
2670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2671 $as_echo "yes" >&6; }
2672 else
2673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
2674 $as_echo "no, using $LN_S" >&6; }
2679 ac_ext=c
2680 ac_cpp='$CPP $CPPFLAGS'
2681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2684 if test -n "$ac_tool_prefix"; then
2685 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2686 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2688 $as_echo_n "checking for $ac_word... " >&6; }
2689 if test "${ac_cv_prog_CC+set}" = set; then :
2690 $as_echo_n "(cached) " >&6
2691 else
2692 if test -n "$CC"; then
2693 ac_cv_prog_CC="$CC" # Let the user override the test.
2694 else
2695 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2696 for as_dir in $PATH
2698 IFS=$as_save_IFS
2699 test -z "$as_dir" && as_dir=.
2700 for ac_exec_ext in '' $ac_executable_extensions; do
2701 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2702 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2703 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2704 break 2
2706 done
2707 done
2708 IFS=$as_save_IFS
2712 CC=$ac_cv_prog_CC
2713 if test -n "$CC"; then
2714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2715 $as_echo "$CC" >&6; }
2716 else
2717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2718 $as_echo "no" >&6; }
2723 if test -z "$ac_cv_prog_CC"; then
2724 ac_ct_CC=$CC
2725 # Extract the first word of "gcc", so it can be a program name with args.
2726 set dummy gcc; ac_word=$2
2727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2728 $as_echo_n "checking for $ac_word... " >&6; }
2729 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2730 $as_echo_n "(cached) " >&6
2731 else
2732 if test -n "$ac_ct_CC"; then
2733 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2734 else
2735 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2736 for as_dir in $PATH
2738 IFS=$as_save_IFS
2739 test -z "$as_dir" && as_dir=.
2740 for ac_exec_ext in '' $ac_executable_extensions; do
2741 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2742 ac_cv_prog_ac_ct_CC="gcc"
2743 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2744 break 2
2746 done
2747 done
2748 IFS=$as_save_IFS
2752 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2753 if test -n "$ac_ct_CC"; then
2754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2755 $as_echo "$ac_ct_CC" >&6; }
2756 else
2757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2758 $as_echo "no" >&6; }
2761 if test "x$ac_ct_CC" = x; then
2762 CC=""
2763 else
2764 case $cross_compiling:$ac_tool_warned in
2765 yes:)
2766 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2767 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2768 ac_tool_warned=yes ;;
2769 esac
2770 CC=$ac_ct_CC
2772 else
2773 CC="$ac_cv_prog_CC"
2776 if test -z "$CC"; then
2777 if test -n "$ac_tool_prefix"; then
2778 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2779 set dummy ${ac_tool_prefix}cc; ac_word=$2
2780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2781 $as_echo_n "checking for $ac_word... " >&6; }
2782 if test "${ac_cv_prog_CC+set}" = set; then :
2783 $as_echo_n "(cached) " >&6
2784 else
2785 if test -n "$CC"; then
2786 ac_cv_prog_CC="$CC" # Let the user override the test.
2787 else
2788 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2789 for as_dir in $PATH
2791 IFS=$as_save_IFS
2792 test -z "$as_dir" && as_dir=.
2793 for ac_exec_ext in '' $ac_executable_extensions; do
2794 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2795 ac_cv_prog_CC="${ac_tool_prefix}cc"
2796 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2797 break 2
2799 done
2800 done
2801 IFS=$as_save_IFS
2805 CC=$ac_cv_prog_CC
2806 if test -n "$CC"; then
2807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2808 $as_echo "$CC" >&6; }
2809 else
2810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2811 $as_echo "no" >&6; }
2817 if test -z "$CC"; then
2818 # Extract the first word of "cc", so it can be a program name with args.
2819 set dummy cc; ac_word=$2
2820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2821 $as_echo_n "checking for $ac_word... " >&6; }
2822 if test "${ac_cv_prog_CC+set}" = set; then :
2823 $as_echo_n "(cached) " >&6
2824 else
2825 if test -n "$CC"; then
2826 ac_cv_prog_CC="$CC" # Let the user override the test.
2827 else
2828 ac_prog_rejected=no
2829 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2830 for as_dir in $PATH
2832 IFS=$as_save_IFS
2833 test -z "$as_dir" && as_dir=.
2834 for ac_exec_ext in '' $ac_executable_extensions; do
2835 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2836 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2837 ac_prog_rejected=yes
2838 continue
2840 ac_cv_prog_CC="cc"
2841 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2842 break 2
2844 done
2845 done
2846 IFS=$as_save_IFS
2848 if test $ac_prog_rejected = yes; then
2849 # We found a bogon in the path, so make sure we never use it.
2850 set dummy $ac_cv_prog_CC
2851 shift
2852 if test $# != 0; then
2853 # We chose a different compiler from the bogus one.
2854 # However, it has the same basename, so the bogon will be chosen
2855 # first if we set CC to just the basename; use the full file name.
2856 shift
2857 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2862 CC=$ac_cv_prog_CC
2863 if test -n "$CC"; then
2864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2865 $as_echo "$CC" >&6; }
2866 else
2867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2868 $as_echo "no" >&6; }
2873 if test -z "$CC"; then
2874 if test -n "$ac_tool_prefix"; then
2875 for ac_prog in cl.exe
2877 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2878 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2880 $as_echo_n "checking for $ac_word... " >&6; }
2881 if test "${ac_cv_prog_CC+set}" = set; then :
2882 $as_echo_n "(cached) " >&6
2883 else
2884 if test -n "$CC"; then
2885 ac_cv_prog_CC="$CC" # Let the user override the test.
2886 else
2887 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2888 for as_dir in $PATH
2890 IFS=$as_save_IFS
2891 test -z "$as_dir" && as_dir=.
2892 for ac_exec_ext in '' $ac_executable_extensions; do
2893 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2894 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2895 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2896 break 2
2898 done
2899 done
2900 IFS=$as_save_IFS
2904 CC=$ac_cv_prog_CC
2905 if test -n "$CC"; then
2906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2907 $as_echo "$CC" >&6; }
2908 else
2909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2910 $as_echo "no" >&6; }
2914 test -n "$CC" && break
2915 done
2917 if test -z "$CC"; then
2918 ac_ct_CC=$CC
2919 for ac_prog in cl.exe
2921 # Extract the first word of "$ac_prog", so it can be a program name with args.
2922 set dummy $ac_prog; ac_word=$2
2923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2924 $as_echo_n "checking for $ac_word... " >&6; }
2925 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2926 $as_echo_n "(cached) " >&6
2927 else
2928 if test -n "$ac_ct_CC"; then
2929 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2930 else
2931 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2932 for as_dir in $PATH
2934 IFS=$as_save_IFS
2935 test -z "$as_dir" && as_dir=.
2936 for ac_exec_ext in '' $ac_executable_extensions; do
2937 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2938 ac_cv_prog_ac_ct_CC="$ac_prog"
2939 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2940 break 2
2942 done
2943 done
2944 IFS=$as_save_IFS
2948 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2949 if test -n "$ac_ct_CC"; then
2950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2951 $as_echo "$ac_ct_CC" >&6; }
2952 else
2953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2954 $as_echo "no" >&6; }
2958 test -n "$ac_ct_CC" && break
2959 done
2961 if test "x$ac_ct_CC" = x; then
2962 CC=""
2963 else
2964 case $cross_compiling:$ac_tool_warned in
2965 yes:)
2966 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2967 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2968 ac_tool_warned=yes ;;
2969 esac
2970 CC=$ac_ct_CC
2977 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2978 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2979 as_fn_error "no acceptable C compiler found in \$PATH
2980 See \`config.log' for more details." "$LINENO" 5; }
2982 # Provide some information about the compiler.
2983 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2984 set X $ac_compile
2985 ac_compiler=$2
2986 for ac_option in --version -v -V -qversion; do
2987 { { ac_try="$ac_compiler $ac_option >&5"
2988 case "(($ac_try" in
2989 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2990 *) ac_try_echo=$ac_try;;
2991 esac
2992 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2993 $as_echo "$ac_try_echo"; } >&5
2994 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2995 ac_status=$?
2996 if test -s conftest.err; then
2997 sed '10a\
2998 ... rest of stderr output deleted ...
2999 10q' conftest.err >conftest.er1
3000 cat conftest.er1 >&5
3001 rm -f conftest.er1 conftest.err
3003 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3004 test $ac_status = 0; }
3005 done
3007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3008 /* end confdefs.h. */
3011 main ()
3015 return 0;
3017 _ACEOF
3018 # FIXME: Cleanup?
3019 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3020 (eval $ac_link) 2>&5
3021 ac_status=$?
3022 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3023 test $ac_status = 0; }; then :
3024 gcc_no_link=no
3025 else
3026 gcc_no_link=yes
3028 if test x$gcc_no_link = xyes; then
3029 # Setting cross_compile will disable run tests; it will
3030 # also disable AC_CHECK_FILE but that's generally
3031 # correct if we can't link.
3032 cross_compiling=yes
3033 EXEEXT=
3034 else
3035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3036 /* end confdefs.h. */
3039 main ()
3043 return 0;
3045 _ACEOF
3046 ac_clean_files_save=$ac_clean_files
3047 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3048 # Try to create an executable without -o first, disregard a.out.
3049 # It will help us diagnose broken compilers, and finding out an intuition
3050 # of exeext.
3051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3052 $as_echo_n "checking for C compiler default output file name... " >&6; }
3053 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3055 # The possible output files:
3056 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3058 ac_rmfiles=
3059 for ac_file in $ac_files
3061 case $ac_file in
3062 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3063 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3064 esac
3065 done
3066 rm -f $ac_rmfiles
3068 if { { ac_try="$ac_link_default"
3069 case "(($ac_try" in
3070 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3071 *) ac_try_echo=$ac_try;;
3072 esac
3073 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3074 $as_echo "$ac_try_echo"; } >&5
3075 (eval "$ac_link_default") 2>&5
3076 ac_status=$?
3077 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3078 test $ac_status = 0; }; then :
3079 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3080 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3081 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3082 # so that the user can short-circuit this test for compilers unknown to
3083 # Autoconf.
3084 for ac_file in $ac_files ''
3086 test -f "$ac_file" || continue
3087 case $ac_file in
3088 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3090 [ab].out )
3091 # We found the default executable, but exeext='' is most
3092 # certainly right.
3093 break;;
3094 *.* )
3095 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3096 then :; else
3097 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3099 # We set ac_cv_exeext here because the later test for it is not
3100 # safe: cross compilers may not add the suffix if given an `-o'
3101 # argument, so we may need to know it at that point already.
3102 # Even if this section looks crufty: it has the advantage of
3103 # actually working.
3104 break;;
3106 break;;
3107 esac
3108 done
3109 test "$ac_cv_exeext" = no && ac_cv_exeext=
3111 else
3112 ac_file=''
3114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3115 $as_echo "$ac_file" >&6; }
3116 if test -z "$ac_file"; then :
3117 $as_echo "$as_me: failed program was:" >&5
3118 sed 's/^/| /' conftest.$ac_ext >&5
3120 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3121 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3122 { as_fn_set_status 77
3123 as_fn_error "C compiler cannot create executables
3124 See \`config.log' for more details." "$LINENO" 5; }; }
3126 ac_exeext=$ac_cv_exeext
3128 # Check that the compiler produces executables we can run. If not, either
3129 # the compiler is broken, or we cross compile.
3130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3131 $as_echo_n "checking whether the C compiler works... " >&6; }
3132 # If not cross compiling, check that we can run a simple program.
3133 if test "$cross_compiling" != yes; then
3134 if { ac_try='./$ac_file'
3135 { { case "(($ac_try" in
3136 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3137 *) ac_try_echo=$ac_try;;
3138 esac
3139 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3140 $as_echo "$ac_try_echo"; } >&5
3141 (eval "$ac_try") 2>&5
3142 ac_status=$?
3143 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3144 test $ac_status = 0; }; }; then
3145 cross_compiling=no
3146 else
3147 if test "$cross_compiling" = maybe; then
3148 cross_compiling=yes
3149 else
3150 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3151 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3152 as_fn_error "cannot run C compiled programs.
3153 If you meant to cross compile, use \`--host'.
3154 See \`config.log' for more details." "$LINENO" 5; }
3158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3159 $as_echo "yes" >&6; }
3161 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3162 ac_clean_files=$ac_clean_files_save
3163 # Check that the compiler produces executables we can run. If not, either
3164 # the compiler is broken, or we cross compile.
3165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3166 $as_echo_n "checking whether we are cross compiling... " >&6; }
3167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3168 $as_echo "$cross_compiling" >&6; }
3170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3171 $as_echo_n "checking for suffix of executables... " >&6; }
3172 if { { ac_try="$ac_link"
3173 case "(($ac_try" in
3174 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3175 *) ac_try_echo=$ac_try;;
3176 esac
3177 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3178 $as_echo "$ac_try_echo"; } >&5
3179 (eval "$ac_link") 2>&5
3180 ac_status=$?
3181 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3182 test $ac_status = 0; }; then :
3183 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3184 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3185 # work properly (i.e., refer to `conftest.exe'), while it won't with
3186 # `rm'.
3187 for ac_file in conftest.exe conftest conftest.*; do
3188 test -f "$ac_file" || continue
3189 case $ac_file in
3190 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3191 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3192 break;;
3193 * ) break;;
3194 esac
3195 done
3196 else
3197 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3198 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3199 as_fn_error "cannot compute suffix of executables: cannot compile and link
3200 See \`config.log' for more details." "$LINENO" 5; }
3202 rm -f conftest$ac_cv_exeext
3203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3204 $as_echo "$ac_cv_exeext" >&6; }
3206 rm -f conftest.$ac_ext
3207 EXEEXT=$ac_cv_exeext
3208 ac_exeext=$EXEEXT
3210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3211 $as_echo_n "checking for suffix of object files... " >&6; }
3212 if test "${ac_cv_objext+set}" = set; then :
3213 $as_echo_n "(cached) " >&6
3214 else
3215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3216 /* end confdefs.h. */
3219 main ()
3223 return 0;
3225 _ACEOF
3226 rm -f conftest.o conftest.obj
3227 if { { ac_try="$ac_compile"
3228 case "(($ac_try" in
3229 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3230 *) ac_try_echo=$ac_try;;
3231 esac
3232 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3233 $as_echo "$ac_try_echo"; } >&5
3234 (eval "$ac_compile") 2>&5
3235 ac_status=$?
3236 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3237 test $ac_status = 0; }; then :
3238 for ac_file in conftest.o conftest.obj conftest.*; do
3239 test -f "$ac_file" || continue;
3240 case $ac_file in
3241 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3242 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3243 break;;
3244 esac
3245 done
3246 else
3247 $as_echo "$as_me: failed program was:" >&5
3248 sed 's/^/| /' conftest.$ac_ext >&5
3250 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3251 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3252 as_fn_error "cannot compute suffix of object files: cannot compile
3253 See \`config.log' for more details." "$LINENO" 5; }
3255 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3258 $as_echo "$ac_cv_objext" >&6; }
3259 OBJEXT=$ac_cv_objext
3260 ac_objext=$OBJEXT
3261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3262 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3263 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3264 $as_echo_n "(cached) " >&6
3265 else
3266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3267 /* end confdefs.h. */
3270 main ()
3272 #ifndef __GNUC__
3273 choke me
3274 #endif
3277 return 0;
3279 _ACEOF
3280 if ac_fn_c_try_compile "$LINENO"; then :
3281 ac_compiler_gnu=yes
3282 else
3283 ac_compiler_gnu=no
3285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3286 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3290 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3291 if test $ac_compiler_gnu = yes; then
3292 GCC=yes
3293 else
3294 GCC=
3296 ac_test_CFLAGS=${CFLAGS+set}
3297 ac_save_CFLAGS=$CFLAGS
3298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3299 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3300 if test "${ac_cv_prog_cc_g+set}" = set; then :
3301 $as_echo_n "(cached) " >&6
3302 else
3303 ac_save_c_werror_flag=$ac_c_werror_flag
3304 ac_c_werror_flag=yes
3305 ac_cv_prog_cc_g=no
3306 CFLAGS="-g"
3307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3308 /* end confdefs.h. */
3311 main ()
3315 return 0;
3317 _ACEOF
3318 if ac_fn_c_try_compile "$LINENO"; then :
3319 ac_cv_prog_cc_g=yes
3320 else
3321 CFLAGS=""
3322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3323 /* end confdefs.h. */
3326 main ()
3330 return 0;
3332 _ACEOF
3333 if ac_fn_c_try_compile "$LINENO"; then :
3335 else
3336 ac_c_werror_flag=$ac_save_c_werror_flag
3337 CFLAGS="-g"
3338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3339 /* end confdefs.h. */
3342 main ()
3346 return 0;
3348 _ACEOF
3349 if ac_fn_c_try_compile "$LINENO"; then :
3350 ac_cv_prog_cc_g=yes
3352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3357 ac_c_werror_flag=$ac_save_c_werror_flag
3359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3360 $as_echo "$ac_cv_prog_cc_g" >&6; }
3361 if test "$ac_test_CFLAGS" = set; then
3362 CFLAGS=$ac_save_CFLAGS
3363 elif test $ac_cv_prog_cc_g = yes; then
3364 if test "$GCC" = yes; then
3365 CFLAGS="-g -O2"
3366 else
3367 CFLAGS="-g"
3369 else
3370 if test "$GCC" = yes; then
3371 CFLAGS="-O2"
3372 else
3373 CFLAGS=
3376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3377 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3378 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3379 $as_echo_n "(cached) " >&6
3380 else
3381 ac_cv_prog_cc_c89=no
3382 ac_save_CC=$CC
3383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3384 /* end confdefs.h. */
3385 #include <stdarg.h>
3386 #include <stdio.h>
3387 #include <sys/types.h>
3388 #include <sys/stat.h>
3389 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3390 struct buf { int x; };
3391 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3392 static char *e (p, i)
3393 char **p;
3394 int i;
3396 return p[i];
3398 static char *f (char * (*g) (char **, int), char **p, ...)
3400 char *s;
3401 va_list v;
3402 va_start (v,p);
3403 s = g (p, va_arg (v,int));
3404 va_end (v);
3405 return s;
3408 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3409 function prototypes and stuff, but not '\xHH' hex character constants.
3410 These don't provoke an error unfortunately, instead are silently treated
3411 as 'x'. The following induces an error, until -std is added to get
3412 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3413 array size at least. It's necessary to write '\x00'==0 to get something
3414 that's true only with -std. */
3415 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3417 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3418 inside strings and character constants. */
3419 #define FOO(x) 'x'
3420 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3422 int test (int i, double x);
3423 struct s1 {int (*f) (int a);};
3424 struct s2 {int (*f) (double a);};
3425 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3426 int argc;
3427 char **argv;
3429 main ()
3431 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3433 return 0;
3435 _ACEOF
3436 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3437 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3439 CC="$ac_save_CC $ac_arg"
3440 if ac_fn_c_try_compile "$LINENO"; then :
3441 ac_cv_prog_cc_c89=$ac_arg
3443 rm -f core conftest.err conftest.$ac_objext
3444 test "x$ac_cv_prog_cc_c89" != "xno" && break
3445 done
3446 rm -f conftest.$ac_ext
3447 CC=$ac_save_CC
3450 # AC_CACHE_VAL
3451 case "x$ac_cv_prog_cc_c89" in
3453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3454 $as_echo "none needed" >&6; } ;;
3455 xno)
3456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3457 $as_echo "unsupported" >&6; } ;;
3459 CC="$CC $ac_cv_prog_cc_c89"
3460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3461 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3462 esac
3463 if test "x$ac_cv_prog_cc_c89" != xno; then :
3467 ac_ext=c
3468 ac_cpp='$CPP $CPPFLAGS'
3469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3473 ac_ext=c
3474 ac_cpp='$CPP $CPPFLAGS'
3475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3479 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3480 # On Suns, sometimes $CPP names a directory.
3481 if test -n "$CPP" && test -d "$CPP"; then
3482 CPP=
3484 if test -z "$CPP"; then
3485 if test "${ac_cv_prog_CPP+set}" = set; then :
3486 $as_echo_n "(cached) " >&6
3487 else
3488 # Double quotes because CPP needs to be expanded
3489 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3491 ac_preproc_ok=false
3492 for ac_c_preproc_warn_flag in '' yes
3494 # Use a header file that comes with gcc, so configuring glibc
3495 # with a fresh cross-compiler works.
3496 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3497 # <limits.h> exists even on freestanding compilers.
3498 # On the NeXT, cc -E runs the code through the compiler's parser,
3499 # not just through cpp. "Syntax error" is here to catch this case.
3500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3501 /* end confdefs.h. */
3502 #ifdef __STDC__
3503 # include <limits.h>
3504 #else
3505 # include <assert.h>
3506 #endif
3507 Syntax error
3508 _ACEOF
3509 if ac_fn_c_try_cpp "$LINENO"; then :
3511 else
3512 # Broken: fails on valid input.
3513 continue
3515 rm -f conftest.err conftest.$ac_ext
3517 # OK, works on sane cases. Now check whether nonexistent headers
3518 # can be detected and how.
3519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3520 /* end confdefs.h. */
3521 #include <ac_nonexistent.h>
3522 _ACEOF
3523 if ac_fn_c_try_cpp "$LINENO"; then :
3524 # Broken: success on invalid input.
3525 continue
3526 else
3527 # Passes both tests.
3528 ac_preproc_ok=:
3529 break
3531 rm -f conftest.err conftest.$ac_ext
3533 done
3534 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3535 rm -f conftest.err conftest.$ac_ext
3536 if $ac_preproc_ok; then :
3537 break
3540 done
3541 ac_cv_prog_CPP=$CPP
3544 CPP=$ac_cv_prog_CPP
3545 else
3546 ac_cv_prog_CPP=$CPP
3548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3549 $as_echo "$CPP" >&6; }
3550 ac_preproc_ok=false
3551 for ac_c_preproc_warn_flag in '' yes
3553 # Use a header file that comes with gcc, so configuring glibc
3554 # with a fresh cross-compiler works.
3555 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3556 # <limits.h> exists even on freestanding compilers.
3557 # On the NeXT, cc -E runs the code through the compiler's parser,
3558 # not just through cpp. "Syntax error" is here to catch this case.
3559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3560 /* end confdefs.h. */
3561 #ifdef __STDC__
3562 # include <limits.h>
3563 #else
3564 # include <assert.h>
3565 #endif
3566 Syntax error
3567 _ACEOF
3568 if ac_fn_c_try_cpp "$LINENO"; then :
3570 else
3571 # Broken: fails on valid input.
3572 continue
3574 rm -f conftest.err conftest.$ac_ext
3576 # OK, works on sane cases. Now check whether nonexistent headers
3577 # can be detected and how.
3578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3579 /* end confdefs.h. */
3580 #include <ac_nonexistent.h>
3581 _ACEOF
3582 if ac_fn_c_try_cpp "$LINENO"; then :
3583 # Broken: success on invalid input.
3584 continue
3585 else
3586 # Passes both tests.
3587 ac_preproc_ok=:
3588 break
3590 rm -f conftest.err conftest.$ac_ext
3592 done
3593 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3594 rm -f conftest.err conftest.$ac_ext
3595 if $ac_preproc_ok; then :
3597 else
3598 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3599 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3600 as_fn_error "C preprocessor \"$CPP\" fails sanity check
3601 See \`config.log' for more details." "$LINENO" 5; }
3604 ac_ext=c
3605 ac_cpp='$CPP $CPPFLAGS'
3606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3611 ac_c_preproc_warn_flag=yes
3613 # Check for decimal float support.
3615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether decimal floating point is supported" >&5
3616 $as_echo_n "checking whether decimal floating point is supported... " >&6; }
3617 if test "${libgcc_cv_dfp+set}" = set; then :
3618 $as_echo_n "(cached) " >&6
3619 else
3620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3621 /* end confdefs.h. */
3622 _Decimal32 x;
3623 _ACEOF
3624 if ac_fn_c_try_compile "$LINENO"; then :
3625 libgcc_cv_dfp=yes
3626 else
3627 libgcc_cv_dfp=no
3629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgcc_cv_dfp" >&5
3632 $as_echo "$libgcc_cv_dfp" >&6; }
3633 decimal_float=$libgcc_cv_dfp
3636 # Check whether --enable-decimal-float was given.
3637 if test "${enable_decimal_float+set}" = set; then :
3638 enableval=$enable_decimal_float;
3639 case $enable_decimal_float in
3640 yes | no | bid | dpd) ;;
3641 *) as_fn_error "'$enable_decimal_float' is an invalid value for --enable-decimal-float.
3642 Valid choices are 'yes', 'bid', 'dpd', and 'no'." "$LINENO" 5 ;;
3643 esac
3645 else
3647 case $host in
3648 powerpc*-*-linux* | i?86*-*-linux* | x86_64*-*-linux*)
3649 enable_decimal_float=yes
3652 enable_decimal_float=no
3654 esac
3659 # x86's use BID format instead of DPD
3660 if test x$enable_decimal_float = xyes; then
3661 case $host in
3662 i?86*-*-linux* | x86_64*-*-linux*)
3663 enable_decimal_float=bid
3666 enable_decimal_float=dpd
3668 esac
3672 # Check for fixed-point support.
3673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fixed-point is supported" >&5
3674 $as_echo_n "checking whether fixed-point is supported... " >&6; }
3675 if test "${libgcc_cv_fixed_point+set}" = set; then :
3676 $as_echo_n "(cached) " >&6
3677 else
3678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3679 /* end confdefs.h. */
3680 _Sat _Fract x;
3681 _ACEOF
3682 if ac_fn_c_try_compile "$LINENO"; then :
3683 libgcc_cv_fixed_point=yes
3684 else
3685 libgcc_cv_fixed_point=no
3687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgcc_cv_fixed_point" >&5
3690 $as_echo "$libgcc_cv_fixed_point" >&6; }
3691 fixed_point=$libgcc_cv_fixed_point
3694 # Check 32bit or 64bit for x86.
3695 case ${host} in
3696 i?86*-*-* | x86_64*-*-*)
3697 cat > conftest.c <<EOF
3698 #ifdef __x86_64__
3699 host_address=64
3700 #else
3701 host_address=32
3702 #endif
3704 eval `${CC-cc} -E conftest.c | grep host_address=`
3705 rm -f conftest.c
3707 esac
3709 # Collect host-machine-specific information.
3710 . ${srcdir}/config.host
3712 # Check if Solaris/x86 linker supports ZERO terminator unwind entries.
3713 # This is after config.host so we can augment tmake_file.
3714 # Link with -nostartfiles -nodefaultlibs since neither are present while
3715 # building libgcc.
3716 case ${host} in
3717 i?86-*-solaris2.1[0-9]*)
3718 cat > conftest.s <<EOF
3719 .section .eh_frame,"a",@unwind
3720 .zero 4
3721 .section .jcr,"aw",@progbits
3722 .zero 8
3724 if { ac_try='${CC-cc} -shared -nostartfiles -nodefaultlibs -o conftest.so conftest.s 1>&5'
3725 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
3726 (eval $ac_try) 2>&5
3727 ac_status=$?
3728 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3729 test $ac_status = 0; }; }; then
3730 # configure expects config files in libgcc/config, so need a relative
3731 # path here.
3732 tmake_file="${tmake_file} ../../gcc/config/i386/t-crtstuff"
3735 esac
3737 # Check for visibility support. This is after config.host so that
3738 # we can check for asm_hidden_op.
3739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __attribute__((visibility(\"hidden\")))" >&5
3740 $as_echo_n "checking for __attribute__((visibility(\"hidden\")))... " >&6; }
3741 if test "${libgcc_cv_hidden_visibility_attribute+set}" = set; then :
3742 $as_echo_n "(cached) " >&6
3743 else
3745 echo 'int __attribute__ ((visibility ("hidden"))) foo (void) { return 1; }' > conftest.c
3746 libgcc_cv_hidden_visibility_attribute=no
3747 if { ac_try='${CC-cc} -Werror -S conftest.c -o conftest.s 1>&5'
3748 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
3749 (eval $ac_try) 2>&5
3750 ac_status=$?
3751 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3752 test $ac_status = 0; }; }; then
3753 if grep "\\$asm_hidden_op.*foo" conftest.s >/dev/null; then
3754 libgcc_cv_hidden_visibility_attribute=yes
3757 rm -f conftest.*
3760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgcc_cv_hidden_visibility_attribute" >&5
3761 $as_echo "$libgcc_cv_hidden_visibility_attribute" >&6; }
3763 if test $libgcc_cv_hidden_visibility_attribute = yes; then
3764 vis_hide='-fvisibility=hidden -DHIDE_EXPORTS'
3765 else
3766 vis_hide=
3770 # See if we have thread-local storage. We can only test assembler
3771 # sicne link-time and run-time tests require the newly built
3772 # gcc, which can't be used to build executable due to that libgcc
3773 # is yet to be built here.
3775 # Check whether --enable-tls was given.
3776 if test "${enable_tls+set}" = set; then :
3777 enableval=$enable_tls;
3778 case "$enableval" in
3779 yes|no) ;;
3780 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
3781 esac
3783 else
3784 enable_tls=yes
3788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target assembler supports thread-local storage" >&5
3789 $as_echo_n "checking whether the target assembler supports thread-local storage... " >&6; }
3790 if test "${gcc_cv_have_cc_tls+set}" = set; then :
3791 $as_echo_n "(cached) " >&6
3792 else
3794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3795 /* end confdefs.h. */
3796 __thread int a; int b; int main() { return a = b; }
3797 _ACEOF
3798 if ac_fn_c_try_compile "$LINENO"; then :
3799 gcc_cv_have_cc_tls=yes
3800 else
3801 gcc_cv_have_cc_tls=no
3803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_cc_tls" >&5
3807 $as_echo "$gcc_cv_have_cc_tls" >&6; }
3808 set_have_cc_tls=
3809 if test "$enable_tls $gcc_cv_have_cc_tls" = "yes yes"; then
3810 set_have_cc_tls="-DHAVE_CC_TLS"
3814 # Conditionalize the makefile for this target machine.
3815 tmake_file_=
3816 for f in ${tmake_file}
3818 if test -f ${srcdir}/config/$f
3819 then
3820 tmake_file_="${tmake_file_} \$(srcdir)/config/$f"
3822 done
3823 tmake_file="${tmake_file_}"
3826 # Substitute configuration variables
3830 # We need multilib support.
3831 ac_config_files="$ac_config_files Makefile"
3833 ac_config_commands="$ac_config_commands default"
3835 cat >confcache <<\_ACEOF
3836 # This file is a shell script that caches the results of configure
3837 # tests run on this system so they can be shared between configure
3838 # scripts and configure runs, see configure's option --config-cache.
3839 # It is not useful on other systems. If it contains results you don't
3840 # want to keep, you may remove or edit it.
3842 # config.status only pays attention to the cache file if you give it
3843 # the --recheck option to rerun configure.
3845 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3846 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3847 # following values.
3849 _ACEOF
3851 # The following way of writing the cache mishandles newlines in values,
3852 # but we know of no workaround that is simple, portable, and efficient.
3853 # So, we kill variables containing newlines.
3854 # Ultrix sh set writes to stderr and can't be redirected directly,
3855 # and sets the high bit in the cache file unless we assign to the vars.
3857 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
3858 eval ac_val=\$$ac_var
3859 case $ac_val in #(
3860 *${as_nl}*)
3861 case $ac_var in #(
3862 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3863 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3864 esac
3865 case $ac_var in #(
3866 _ | IFS | as_nl) ;; #(
3867 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3868 *) { eval $ac_var=; unset $ac_var;} ;;
3869 esac ;;
3870 esac
3871 done
3873 (set) 2>&1 |
3874 case $as_nl`(ac_space=' '; set) 2>&1` in #(
3875 *${as_nl}ac_space=\ *)
3876 # `set' does not quote correctly, so add quotes: double-quote
3877 # substitution turns \\\\ into \\, and sed turns \\ into \.
3878 sed -n \
3879 "s/'/'\\\\''/g;
3880 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3881 ;; #(
3883 # `set' quotes correctly as required by POSIX, so do not add quotes.
3884 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3886 esac |
3887 sort
3889 sed '
3890 /^ac_cv_env_/b end
3891 t clear
3892 :clear
3893 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3894 t end
3895 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3896 :end' >>confcache
3897 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
3898 if test -w "$cache_file"; then
3899 test "x$cache_file" != "x/dev/null" &&
3900 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
3901 $as_echo "$as_me: updating cache $cache_file" >&6;}
3902 cat confcache >$cache_file
3903 else
3904 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
3905 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
3908 rm -f confcache
3910 test "x$prefix" = xNONE && prefix=$ac_default_prefix
3911 # Let make expand exec_prefix.
3912 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3914 # Transform confdefs.h into DEFS.
3915 # Protect against shell expansion while executing Makefile rules.
3916 # Protect against Makefile macro expansion.
3918 # If the first sed substitution is executed (which looks for macros that
3919 # take arguments), then branch to the quote section. Otherwise,
3920 # look for a macro that doesn't take arguments.
3921 ac_script='
3922 :mline
3923 /\\$/{
3925 s,\\\n,,
3926 b mline
3928 t clear
3929 :clear
3930 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
3931 t quote
3932 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
3933 t quote
3934 b any
3935 :quote
3936 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
3937 s/\[/\\&/g
3938 s/\]/\\&/g
3939 s/\$/$$/g
3941 :any
3944 s/^\n//
3945 s/\n/ /g
3949 DEFS=`sed -n "$ac_script" confdefs.h`
3952 ac_libobjs=
3953 ac_ltlibobjs=
3954 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3955 # 1. Remove the extension, and $U if already installed.
3956 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
3957 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
3958 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
3959 # will be set to the directory where LIBOBJS objects are built.
3960 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3961 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
3962 done
3963 LIBOBJS=$ac_libobjs
3965 LTLIBOBJS=$ac_ltlibobjs
3969 : ${CONFIG_STATUS=./config.status}
3970 ac_write_fail=0
3971 ac_clean_files_save=$ac_clean_files
3972 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3973 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
3974 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
3975 as_write_fail=0
3976 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
3977 #! $SHELL
3978 # Generated by $as_me.
3979 # Run this file to recreate the current configuration.
3980 # Compiler output produced by configure, useful for debugging
3981 # configure, is in config.log if it exists.
3983 debug=false
3984 ac_cs_recheck=false
3985 ac_cs_silent=false
3987 SHELL=\${CONFIG_SHELL-$SHELL}
3988 export SHELL
3989 _ASEOF
3990 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
3991 ## -------------------- ##
3992 ## M4sh Initialization. ##
3993 ## -------------------- ##
3995 # Be more Bourne compatible
3996 DUALCASE=1; export DUALCASE # for MKS sh
3997 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
3998 emulate sh
3999 NULLCMD=:
4000 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4001 # is contrary to our usage. Disable this feature.
4002 alias -g '${1+"$@"}'='"$@"'
4003 setopt NO_GLOB_SUBST
4004 else
4005 case `(set -o) 2>/dev/null` in #(
4006 *posix*) :
4007 set -o posix ;; #(
4008 *) :
4010 esac
4014 as_nl='
4016 export as_nl
4017 # Printing a long string crashes Solaris 7 /usr/bin/printf.
4018 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4019 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4020 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4021 # Prefer a ksh shell builtin over an external printf program on Solaris,
4022 # but without wasting forks for bash or zsh.
4023 if test -z "$BASH_VERSION$ZSH_VERSION" \
4024 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
4025 as_echo='print -r --'
4026 as_echo_n='print -rn --'
4027 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4028 as_echo='printf %s\n'
4029 as_echo_n='printf %s'
4030 else
4031 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4032 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
4033 as_echo_n='/usr/ucb/echo -n'
4034 else
4035 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4036 as_echo_n_body='eval
4037 arg=$1;
4038 case $arg in #(
4039 *"$as_nl"*)
4040 expr "X$arg" : "X\\(.*\\)$as_nl";
4041 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4042 esac;
4043 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
4045 export as_echo_n_body
4046 as_echo_n='sh -c $as_echo_n_body as_echo'
4048 export as_echo_body
4049 as_echo='sh -c $as_echo_body as_echo'
4052 # The user is always right.
4053 if test "${PATH_SEPARATOR+set}" != set; then
4054 PATH_SEPARATOR=:
4055 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4056 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4057 PATH_SEPARATOR=';'
4062 # IFS
4063 # We need space, tab and new line, in precisely that order. Quoting is
4064 # there to prevent editors from complaining about space-tab.
4065 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
4066 # splitting by setting IFS to empty value.)
4067 IFS=" "" $as_nl"
4069 # Find who we are. Look in the path if we contain no directory separator.
4070 case $0 in #((
4071 *[\\/]* ) as_myself=$0 ;;
4072 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4073 for as_dir in $PATH
4075 IFS=$as_save_IFS
4076 test -z "$as_dir" && as_dir=.
4077 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4078 done
4079 IFS=$as_save_IFS
4082 esac
4083 # We did not find ourselves, most probably we were run as `sh COMMAND'
4084 # in which case we are not to be found in the path.
4085 if test "x$as_myself" = x; then
4086 as_myself=$0
4088 if test ! -f "$as_myself"; then
4089 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4090 exit 1
4093 # Unset variables that we do not need and which cause bugs (e.g. in
4094 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
4095 # suppresses any "Segmentation fault" message there. '((' could
4096 # trigger a bug in pdksh 5.2.14.
4097 for as_var in BASH_ENV ENV MAIL MAILPATH
4098 do eval test x\${$as_var+set} = xset \
4099 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
4100 done
4101 PS1='$ '
4102 PS2='> '
4103 PS4='+ '
4105 # NLS nuisances.
4106 LC_ALL=C
4107 export LC_ALL
4108 LANGUAGE=C
4109 export LANGUAGE
4111 # CDPATH.
4112 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
4115 # as_fn_error ERROR [LINENO LOG_FD]
4116 # ---------------------------------
4117 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
4118 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
4119 # script with status $?, using 1 if that was 0.
4120 as_fn_error ()
4122 as_status=$?; test $as_status -eq 0 && as_status=1
4123 if test "$3"; then
4124 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
4125 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
4127 $as_echo "$as_me: error: $1" >&2
4128 as_fn_exit $as_status
4129 } # as_fn_error
4132 # as_fn_set_status STATUS
4133 # -----------------------
4134 # Set $? to STATUS, without forking.
4135 as_fn_set_status ()
4137 return $1
4138 } # as_fn_set_status
4140 # as_fn_exit STATUS
4141 # -----------------
4142 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
4143 as_fn_exit ()
4145 set +e
4146 as_fn_set_status $1
4147 exit $1
4148 } # as_fn_exit
4150 # as_fn_unset VAR
4151 # ---------------
4152 # Portably unset VAR.
4153 as_fn_unset ()
4155 { eval $1=; unset $1;}
4157 as_unset=as_fn_unset
4158 # as_fn_append VAR VALUE
4159 # ----------------------
4160 # Append the text in VALUE to the end of the definition contained in VAR. Take
4161 # advantage of any shell optimizations that allow amortized linear growth over
4162 # repeated appends, instead of the typical quadratic growth present in naive
4163 # implementations.
4164 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
4165 eval 'as_fn_append ()
4167 eval $1+=\$2
4169 else
4170 as_fn_append ()
4172 eval $1=\$$1\$2
4174 fi # as_fn_append
4176 # as_fn_arith ARG...
4177 # ------------------
4178 # Perform arithmetic evaluation on the ARGs, and store the result in the
4179 # global $as_val. Take advantage of shells that can avoid forks. The arguments
4180 # must be portable across $(()) and expr.
4181 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
4182 eval 'as_fn_arith ()
4184 as_val=$(( $* ))
4186 else
4187 as_fn_arith ()
4189 as_val=`expr "$@" || test $? -eq 1`
4191 fi # as_fn_arith
4194 if expr a : '\(a\)' >/dev/null 2>&1 &&
4195 test "X`expr 00001 : '.*\(...\)'`" = X001; then
4196 as_expr=expr
4197 else
4198 as_expr=false
4201 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4202 as_basename=basename
4203 else
4204 as_basename=false
4207 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4208 as_dirname=dirname
4209 else
4210 as_dirname=false
4213 as_me=`$as_basename -- "$0" ||
4214 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4215 X"$0" : 'X\(//\)$' \| \
4216 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4217 $as_echo X/"$0" |
4218 sed '/^.*\/\([^/][^/]*\)\/*$/{
4219 s//\1/
4222 /^X\/\(\/\/\)$/{
4223 s//\1/
4226 /^X\/\(\/\).*/{
4227 s//\1/
4230 s/.*/./; q'`
4232 # Avoid depending upon Character Ranges.
4233 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4234 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4235 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4236 as_cr_digits='0123456789'
4237 as_cr_alnum=$as_cr_Letters$as_cr_digits
4239 ECHO_C= ECHO_N= ECHO_T=
4240 case `echo -n x` in #(((((
4241 -n*)
4242 case `echo 'xy\c'` in
4243 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
4244 xy) ECHO_C='\c';;
4245 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
4246 ECHO_T=' ';;
4247 esac;;
4249 ECHO_N='-n';;
4250 esac
4252 rm -f conf$$ conf$$.exe conf$$.file
4253 if test -d conf$$.dir; then
4254 rm -f conf$$.dir/conf$$.file
4255 else
4256 rm -f conf$$.dir
4257 mkdir conf$$.dir 2>/dev/null
4259 if (echo >conf$$.file) 2>/dev/null; then
4260 if ln -s conf$$.file conf$$ 2>/dev/null; then
4261 as_ln_s='ln -s'
4262 # ... but there are two gotchas:
4263 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4264 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4265 # In both cases, we have to default to `cp -p'.
4266 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
4267 as_ln_s='cp -p'
4268 elif ln conf$$.file conf$$ 2>/dev/null; then
4269 as_ln_s=ln
4270 else
4271 as_ln_s='cp -p'
4273 else
4274 as_ln_s='cp -p'
4276 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
4277 rmdir conf$$.dir 2>/dev/null
4280 # as_fn_mkdir_p
4281 # -------------
4282 # Create "$as_dir" as a directory, including parents if necessary.
4283 as_fn_mkdir_p ()
4286 case $as_dir in #(
4287 -*) as_dir=./$as_dir;;
4288 esac
4289 test -d "$as_dir" || eval $as_mkdir_p || {
4290 as_dirs=
4291 while :; do
4292 case $as_dir in #(
4293 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
4294 *) as_qdir=$as_dir;;
4295 esac
4296 as_dirs="'$as_qdir' $as_dirs"
4297 as_dir=`$as_dirname -- "$as_dir" ||
4298 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4299 X"$as_dir" : 'X\(//\)[^/]' \| \
4300 X"$as_dir" : 'X\(//\)$' \| \
4301 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4302 $as_echo X"$as_dir" |
4303 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4304 s//\1/
4307 /^X\(\/\/\)[^/].*/{
4308 s//\1/
4311 /^X\(\/\/\)$/{
4312 s//\1/
4315 /^X\(\/\).*/{
4316 s//\1/
4319 s/.*/./; q'`
4320 test -d "$as_dir" && break
4321 done
4322 test -z "$as_dirs" || eval "mkdir $as_dirs"
4323 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
4326 } # as_fn_mkdir_p
4327 if mkdir -p . 2>/dev/null; then
4328 as_mkdir_p='mkdir -p "$as_dir"'
4329 else
4330 test -d ./-p && rmdir ./-p
4331 as_mkdir_p=false
4334 if test -x / >/dev/null 2>&1; then
4335 as_test_x='test -x'
4336 else
4337 if ls -dL / >/dev/null 2>&1; then
4338 as_ls_L_option=L
4339 else
4340 as_ls_L_option=
4342 as_test_x='
4343 eval sh -c '\''
4344 if test -d "$1"; then
4345 test -d "$1/.";
4346 else
4347 case $1 in #(
4348 -*)set "./$1";;
4349 esac;
4350 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
4351 ???[sx]*):;;*)false;;esac;fi
4352 '\'' sh
4355 as_executable_p=$as_test_x
4357 # Sed expression to map a string onto a valid CPP name.
4358 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4360 # Sed expression to map a string onto a valid variable name.
4361 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4364 exec 6>&1
4365 ## ----------------------------------- ##
4366 ## Main body of $CONFIG_STATUS script. ##
4367 ## ----------------------------------- ##
4368 _ASEOF
4369 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
4371 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4372 # Save the log message, to keep $0 and so on meaningful, and to
4373 # report actual input values of CONFIG_FILES etc. instead of their
4374 # values after options handling.
4375 ac_log="
4376 This file was extended by GNU C Runtime Library $as_me 1.0, which was
4377 generated by GNU Autoconf 2.64. Invocation command line was
4379 CONFIG_FILES = $CONFIG_FILES
4380 CONFIG_HEADERS = $CONFIG_HEADERS
4381 CONFIG_LINKS = $CONFIG_LINKS
4382 CONFIG_COMMANDS = $CONFIG_COMMANDS
4383 $ $0 $@
4385 on `(hostname || uname -n) 2>/dev/null | sed 1q`
4388 _ACEOF
4390 case $ac_config_files in *"
4391 "*) set x $ac_config_files; shift; ac_config_files=$*;;
4392 esac
4396 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4397 # Files that config.status was made for.
4398 config_files="$ac_config_files"
4399 config_commands="$ac_config_commands"
4401 _ACEOF
4403 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4404 ac_cs_usage="\
4405 \`$as_me' instantiates files and other configuration actions
4406 from templates according to the current configuration. Unless the files
4407 and actions are specified as TAGs, all are instantiated by default.
4409 Usage: $0 [OPTION]... [TAG]...
4411 -h, --help print this help, then exit
4412 -V, --version print version number and configuration settings, then exit
4413 -q, --quiet, --silent
4414 do not print progress messages
4415 -d, --debug don't remove temporary files
4416 --recheck update $as_me by reconfiguring in the same conditions
4417 --file=FILE[:TEMPLATE]
4418 instantiate the configuration file FILE
4420 Configuration files:
4421 $config_files
4423 Configuration commands:
4424 $config_commands
4426 Report bugs to the package provider.
4427 GNU C Runtime Library home page: <http://www.gnu.org/software/libgcc/>.
4428 General help using GNU software: <http://www.gnu.org/gethelp/>."
4430 _ACEOF
4431 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4432 ac_cs_version="\\
4433 GNU C Runtime Library config.status 1.0
4434 configured by $0, generated by GNU Autoconf 2.64,
4435 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
4437 Copyright (C) 2009 Free Software Foundation, Inc.
4438 This config.status script is free software; the Free Software Foundation
4439 gives unlimited permission to copy, distribute and modify it."
4441 ac_pwd='$ac_pwd'
4442 srcdir='$srcdir'
4443 INSTALL='$INSTALL'
4444 AWK='$AWK'
4445 test -n "\$AWK" || AWK=awk
4446 _ACEOF
4448 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4449 # The default lists apply if the user does not specify any file.
4450 ac_need_defaults=:
4451 while test $# != 0
4453 case $1 in
4454 --*=*)
4455 ac_option=`expr "X$1" : 'X\([^=]*\)='`
4456 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
4457 ac_shift=:
4460 ac_option=$1
4461 ac_optarg=$2
4462 ac_shift=shift
4464 esac
4466 case $ac_option in
4467 # Handling of the options.
4468 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4469 ac_cs_recheck=: ;;
4470 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
4471 $as_echo "$ac_cs_version"; exit ;;
4472 --debug | --debu | --deb | --de | --d | -d )
4473 debug=: ;;
4474 --file | --fil | --fi | --f )
4475 $ac_shift
4476 case $ac_optarg in
4477 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4478 esac
4479 as_fn_append CONFIG_FILES " '$ac_optarg'"
4480 ac_need_defaults=false;;
4481 --he | --h | --help | --hel | -h )
4482 $as_echo "$ac_cs_usage"; exit ;;
4483 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4484 | -silent | --silent | --silen | --sile | --sil | --si | --s)
4485 ac_cs_silent=: ;;
4487 # This is an error.
4488 -*) as_fn_error "unrecognized option: \`$1'
4489 Try \`$0 --help' for more information." ;;
4491 *) as_fn_append ac_config_targets " $1"
4492 ac_need_defaults=false ;;
4494 esac
4495 shift
4496 done
4498 ac_configure_extra_args=
4500 if $ac_cs_silent; then
4501 exec 6>/dev/null
4502 ac_configure_extra_args="$ac_configure_extra_args --silent"
4505 _ACEOF
4506 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4507 if \$ac_cs_recheck; then
4508 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4509 shift
4510 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
4511 CONFIG_SHELL='$SHELL'
4512 export CONFIG_SHELL
4513 exec "\$@"
4516 _ACEOF
4517 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4518 exec 5>>config.log
4520 echo
4521 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4522 ## Running $as_me. ##
4523 _ASBOX
4524 $as_echo "$ac_log"
4525 } >&5
4527 _ACEOF
4528 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4530 # INIT-COMMANDS
4532 srcdir=${srcdir}
4533 host=${host}
4534 with_target_subdir=${with_target_subdir}
4535 with_multisubdir=${with_multisubdir}
4536 ac_configure_args="--enable-multilib ${ac_configure_args}"
4537 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
4538 libgcc_topdir=${libgcc_topdir}
4539 CC="${CC}"
4542 _ACEOF
4544 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4546 # Handling of arguments.
4547 for ac_config_target in $ac_config_targets
4549 case $ac_config_target in
4550 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4551 "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
4553 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
4554 esac
4555 done
4558 # If the user did not use the arguments to specify the items to instantiate,
4559 # then the envvar interface is used. Set only those that are not.
4560 # We use the long form for the default assignment because of an extremely
4561 # bizarre bug on SunOS 4.1.3.
4562 if $ac_need_defaults; then
4563 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4564 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
4567 # Have a temporary directory for convenience. Make it in the build tree
4568 # simply because there is no reason against having it here, and in addition,
4569 # creating and moving files from /tmp can sometimes cause problems.
4570 # Hook for its removal unless debugging.
4571 # Note that there is a small window in which the directory will not be cleaned:
4572 # after its creation but before its name has been assigned to `$tmp'.
4573 $debug ||
4575 tmp=
4576 trap 'exit_status=$?
4577 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
4579 trap 'as_fn_exit 1' 1 2 13 15
4581 # Create a (secure) tmp directory for tmp files.
4584 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4585 test -n "$tmp" && test -d "$tmp"
4586 } ||
4588 tmp=./conf$$-$RANDOM
4589 (umask 077 && mkdir "$tmp")
4590 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
4592 # Set up the scripts for CONFIG_FILES section.
4593 # No need to generate them if there are no CONFIG_FILES.
4594 # This happens for instance with `./config.status config.h'.
4595 if test -n "$CONFIG_FILES"; then
4598 ac_cr=`echo X | tr X '\015'`
4599 # On cygwin, bash can eat \r inside `` if the user requested igncr.
4600 # But we know of no other shell where ac_cr would be empty at this
4601 # point, so we can use a bashism as a fallback.
4602 if test "x$ac_cr" = x; then
4603 eval ac_cr=\$\'\\r\'
4605 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
4606 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
4607 ac_cs_awk_cr='\r'
4608 else
4609 ac_cs_awk_cr=$ac_cr
4612 echo 'BEGIN {' >"$tmp/subs1.awk" &&
4613 _ACEOF
4617 echo "cat >conf$$subs.awk <<_ACEOF" &&
4618 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
4619 echo "_ACEOF"
4620 } >conf$$subs.sh ||
4621 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
4622 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
4623 ac_delim='%!_!# '
4624 for ac_last_try in false false false false false :; do
4625 . ./conf$$subs.sh ||
4626 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
4628 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
4629 if test $ac_delim_n = $ac_delim_num; then
4630 break
4631 elif $ac_last_try; then
4632 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
4633 else
4634 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4636 done
4637 rm -f conf$$subs.sh
4639 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4640 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
4641 _ACEOF
4642 sed -n '
4644 s/^/S["/; s/!.*/"]=/
4647 s/^[^!]*!//
4648 :repl
4649 t repl
4650 s/'"$ac_delim"'$//
4651 t delim
4654 s/\(.\{148\}\).*/\1/
4655 t more1
4656 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
4659 b repl
4660 :more1
4661 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4664 s/.\{148\}//
4665 t nl
4666 :delim
4668 s/\(.\{148\}\).*/\1/
4669 t more2
4670 s/["\\]/\\&/g; s/^/"/; s/$/"/
4673 :more2
4674 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4677 s/.\{148\}//
4678 t delim
4679 ' <conf$$subs.awk | sed '
4680 /^[^""]/{
4682 s/\n//
4684 ' >>$CONFIG_STATUS || ac_write_fail=1
4685 rm -f conf$$subs.awk
4686 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4687 _ACAWK
4688 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
4689 for (key in S) S_is_set[key] = 1
4690 FS = "\a"
4694 line = $ 0
4695 nfields = split(line, field, "@")
4696 substed = 0
4697 len = length(field[1])
4698 for (i = 2; i < nfields; i++) {
4699 key = field[i]
4700 keylen = length(key)
4701 if (S_is_set[key]) {
4702 value = S[key]
4703 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
4704 len += length(value) + length(field[++i])
4705 substed = 1
4706 } else
4707 len += 1 + keylen
4710 print line
4713 _ACAWK
4714 _ACEOF
4715 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4716 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
4717 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
4718 else
4720 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
4721 || as_fn_error "could not setup config files machinery" "$LINENO" 5
4722 _ACEOF
4724 # VPATH may cause trouble with some makes, so we remove $(srcdir),
4725 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
4726 # trailing colons and then remove the whole line if VPATH becomes empty
4727 # (actually we leave an empty line to preserve line numbers).
4728 if test "x$srcdir" = x.; then
4729 ac_vpsub='/^[ ]*VPATH[ ]*=/{
4730 s/:*\$(srcdir):*/:/
4731 s/:*\${srcdir}:*/:/
4732 s/:*@srcdir@:*/:/
4733 s/^\([^=]*=[ ]*\):*/\1/
4734 s/:*$//
4735 s/^[^=]*=[ ]*$//
4739 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4740 fi # test -n "$CONFIG_FILES"
4743 eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS"
4744 shift
4745 for ac_tag
4747 case $ac_tag in
4748 :[FHLC]) ac_mode=$ac_tag; continue;;
4749 esac
4750 case $ac_mode$ac_tag in
4751 :[FHL]*:*);;
4752 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
4753 :[FH]-) ac_tag=-:-;;
4754 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4755 esac
4756 ac_save_IFS=$IFS
4757 IFS=:
4758 set x $ac_tag
4759 IFS=$ac_save_IFS
4760 shift
4761 ac_file=$1
4762 shift
4764 case $ac_mode in
4765 :L) ac_source=$1;;
4766 :[FH])
4767 ac_file_inputs=
4768 for ac_f
4770 case $ac_f in
4771 -) ac_f="$tmp/stdin";;
4772 *) # Look for the file first in the build tree, then in the source tree
4773 # (if the path is not absolute). The absolute path cannot be DOS-style,
4774 # because $ac_f cannot contain `:'.
4775 test -f "$ac_f" ||
4776 case $ac_f in
4777 [\\/$]*) false;;
4778 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4779 esac ||
4780 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
4781 esac
4782 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
4783 as_fn_append ac_file_inputs " '$ac_f'"
4784 done
4786 # Let's still pretend it is `configure' which instantiates (i.e., don't
4787 # use $as_me), people would be surprised to read:
4788 # /* config.h. Generated by config.status. */
4789 configure_input='Generated from '`
4790 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
4791 `' by configure.'
4792 if test x"$ac_file" != x-; then
4793 configure_input="$ac_file. $configure_input"
4794 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
4795 $as_echo "$as_me: creating $ac_file" >&6;}
4797 # Neutralize special characters interpreted by sed in replacement strings.
4798 case $configure_input in #(
4799 *\&* | *\|* | *\\* )
4800 ac_sed_conf_input=`$as_echo "$configure_input" |
4801 sed 's/[\\\\&|]/\\\\&/g'`;; #(
4802 *) ac_sed_conf_input=$configure_input;;
4803 esac
4805 case $ac_tag in
4806 *:-:* | *:-) cat >"$tmp/stdin" \
4807 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
4808 esac
4810 esac
4812 ac_dir=`$as_dirname -- "$ac_file" ||
4813 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4814 X"$ac_file" : 'X\(//\)[^/]' \| \
4815 X"$ac_file" : 'X\(//\)$' \| \
4816 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4817 $as_echo X"$ac_file" |
4818 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4819 s//\1/
4822 /^X\(\/\/\)[^/].*/{
4823 s//\1/
4826 /^X\(\/\/\)$/{
4827 s//\1/
4830 /^X\(\/\).*/{
4831 s//\1/
4834 s/.*/./; q'`
4835 as_dir="$ac_dir"; as_fn_mkdir_p
4836 ac_builddir=.
4838 case "$ac_dir" in
4839 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
4841 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
4842 # A ".." for each directory in $ac_dir_suffix.
4843 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
4844 case $ac_top_builddir_sub in
4845 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
4846 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
4847 esac ;;
4848 esac
4849 ac_abs_top_builddir=$ac_pwd
4850 ac_abs_builddir=$ac_pwd$ac_dir_suffix
4851 # for backward compatibility:
4852 ac_top_builddir=$ac_top_build_prefix
4854 case $srcdir in
4855 .) # We are building in place.
4856 ac_srcdir=.
4857 ac_top_srcdir=$ac_top_builddir_sub
4858 ac_abs_top_srcdir=$ac_pwd ;;
4859 [\\/]* | ?:[\\/]* ) # Absolute name.
4860 ac_srcdir=$srcdir$ac_dir_suffix;
4861 ac_top_srcdir=$srcdir
4862 ac_abs_top_srcdir=$srcdir ;;
4863 *) # Relative name.
4864 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
4865 ac_top_srcdir=$ac_top_build_prefix$srcdir
4866 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
4867 esac
4868 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
4871 case $ac_mode in
4874 # CONFIG_FILE
4877 case $INSTALL in
4878 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
4879 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
4880 esac
4881 _ACEOF
4883 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4884 # If the template does not know about datarootdir, expand it.
4885 # FIXME: This hack should be removed a few years after 2.60.
4886 ac_datarootdir_hack=; ac_datarootdir_seen=
4887 ac_sed_dataroot='
4888 /datarootdir/ {
4892 /@datadir@/p
4893 /@docdir@/p
4894 /@infodir@/p
4895 /@localedir@/p
4896 /@mandir@/p'
4897 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
4898 *datarootdir*) ac_datarootdir_seen=yes;;
4899 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
4900 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
4901 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
4902 _ACEOF
4903 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4904 ac_datarootdir_hack='
4905 s&@datadir@&$datadir&g
4906 s&@docdir@&$docdir&g
4907 s&@infodir@&$infodir&g
4908 s&@localedir@&$localedir&g
4909 s&@mandir@&$mandir&g
4910 s&\\\${datarootdir}&$datarootdir&g' ;;
4911 esac
4912 _ACEOF
4914 # Neutralize VPATH when `$srcdir' = `.'.
4915 # Shell code in configure.ac might set extrasub.
4916 # FIXME: do we really want to maintain this feature?
4917 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4918 ac_sed_extra="$ac_vpsub
4919 $extrasub
4920 _ACEOF
4921 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4923 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4924 s|@configure_input@|$ac_sed_conf_input|;t t
4925 s&@top_builddir@&$ac_top_builddir_sub&;t t
4926 s&@top_build_prefix@&$ac_top_build_prefix&;t t
4927 s&@srcdir@&$ac_srcdir&;t t
4928 s&@abs_srcdir@&$ac_abs_srcdir&;t t
4929 s&@top_srcdir@&$ac_top_srcdir&;t t
4930 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
4931 s&@builddir@&$ac_builddir&;t t
4932 s&@abs_builddir@&$ac_abs_builddir&;t t
4933 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
4934 s&@INSTALL@&$ac_INSTALL&;t t
4935 $ac_datarootdir_hack
4937 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
4938 || as_fn_error "could not create $ac_file" "$LINENO" 5
4940 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
4941 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
4942 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
4943 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4944 which seems to be undefined. Please make sure it is defined." >&5
4945 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4946 which seems to be undefined. Please make sure it is defined." >&2;}
4948 rm -f "$tmp/stdin"
4949 case $ac_file in
4950 -) cat "$tmp/out" && rm -f "$tmp/out";;
4951 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
4952 esac \
4953 || as_fn_error "could not create $ac_file" "$LINENO" 5
4957 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
4958 $as_echo "$as_me: executing $ac_file commands" >&6;}
4960 esac
4963 case $ac_file$ac_mode in
4964 "default":C) test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
4965 if test -n "$CONFIG_FILES"; then
4966 # FIXME: We shouldn't need to set ac_file
4967 ac_file=Makefile
4968 . ${libgcc_topdir}/config-ml.in
4969 fi ;;
4971 esac
4972 done # for ac_tag
4975 as_fn_exit 0
4976 _ACEOF
4977 ac_clean_files=$ac_clean_files_save
4979 test $ac_write_fail = 0 ||
4980 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
4983 # configure is writing to config.log, and then calls config.status.
4984 # config.status does its own redirection, appending to config.log.
4985 # Unfortunately, on DOS this fails, as config.log is still kept open
4986 # by configure, so config.status won't be able to write to it; its
4987 # output is simply discarded. So we exec the FD to /dev/null,
4988 # effectively closing config.log, so it can be properly (re)opened and
4989 # appended to by config.status. When coming back to configure, we
4990 # need to make the FD available again.
4991 if test "$no_create" != yes; then
4992 ac_cs_success=:
4993 ac_config_status_args=
4994 test "$silent" = yes &&
4995 ac_config_status_args="$ac_config_status_args --quiet"
4996 exec 5>/dev/null
4997 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4998 exec 5>>config.log
4999 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5000 # would make configure fail if this is the last instruction.
5001 $ac_cs_success || as_fn_exit $?
5003 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
5004 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
5005 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}