2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for GNU C Runtime Library 1.0.
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization. ##
10 ## --------------------- ##
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17 # is contrary to our usage. Disable this feature.
18 alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
22 DUALCASE
=1; export DUALCASE
# for MKS sh
24 # Support unset when possible.
25 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C
; export $as_var
51 # Required to use basename.
52 if expr a
: '\(a\)' >/dev
/null
2>&1; then
58 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
65 # Name of the executable.
66 as_me
=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits
='0123456789'
84 as_cr_alnum
=$as_cr_Letters$as_cr_digits
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh
89 echo "exit 0" >>conf$$.sh
91 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
102 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
103 test "x$as_lineno_1" != "x$as_lineno_2" &&
104 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
105 # Find who we are. Look in the path if we contain no path at all
108 *[\\/]* ) as_myself
=$0 ;;
109 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
113 test -z "$as_dir" && as_dir
=.
114 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if test "x$as_myself" = x
; then
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
128 case $CONFIG_SHELL in
130 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
131 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
134 test -z "$as_dir" && as_dir
=.
135 for as_base
in sh bash ksh sh5
; do
138 if ("$as_dir/$as_base" -c '
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
144 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
145 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
146 CONFIG_SHELL
=$as_dir/$as_base
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real
159 # work. The second script uses 'N' to pair each line-number line
160 # with the numbered line, and appends trailing '-' during
161 # substitution so that $LINENO is not a special case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164 sed '=' <$as_myself |
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172 s,^['$as_cr_digits']*\n,,
174 chmod +x
$as_me.lineno ||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; }
178 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this).
182 # Exit status is that of the last command.
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c
*,-n*) ECHO_N
= ECHO_C
='
190 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
191 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
194 if expr a
: '\(a\)' >/dev
/null
2>&1; then
200 rm -f conf$$ conf$$.exe conf$$.
file
202 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
203 # We could just check for DJGPP; but this test a) works b) is more generic
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205 if test -f conf$$.exe
; then
206 # Don't use ln at all; we don't have any links
211 elif ln conf$$.
file conf$$
2>/dev
/null
; then
216 rm -f conf$$ conf$$.exe conf$$.
file
218 if mkdir
-p .
2>/dev
/null
; then
221 test -d .
/-p && rmdir .
/-p
225 as_executable_p
="test -f"
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
235 # We need space, tab and new line, in precisely that order.
245 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246 # so uname gets run too.
247 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
254 ac_default_prefix
=/usr
/local
255 ac_config_libobj_dir
=.
260 SHELL
=${CONFIG_SHELL-/bin/sh}
262 # Maximum number of lines to put in a shell here document.
263 # This variable seems obsolete. It should probably be removed, and
264 # only ac_max_sed_lines should be used.
265 : ${ac_max_here_lines=38}
267 # Identity of this package.
268 PACKAGE_NAME
='GNU C Runtime Library'
269 PACKAGE_TARNAME
='libgcc'
270 PACKAGE_VERSION
='1.0'
271 PACKAGE_STRING
='GNU C Runtime Library 1.0'
274 ac_unique_file
="static-object.mk"
275 ac_subst_vars
='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS libgcc_topdir enable_shared slibdir INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA AWK build build_cpu build_vendor build_os host host_cpu host_vendor host_os host_noncanonical build_libsubdir build_subdir host_subdir target_subdir AR ac_ct_AR LIPO ac_ct_LIPO NM ac_ct_NM RANLIB ac_ct_RANLIB STRIP ac_ct_STRIP LN_S CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP decimal_float enable_decimal_float fixed_point vis_hide set_have_cc_tls tmake_file extra_parts asm_hidden_op LIBOBJS LTLIBOBJS'
279 # Initialize some variables set by options.
281 ac_init_version
=false
282 # The variables have the same names as the options, with
283 # dashes changed to underlines.
291 program_transform_name
=s
,x
,x
,
299 # Installation directory options.
300 # These are left unexpanded so users can "make install exec_prefix=/foo"
301 # and all the variables that are supposed to be based on exec_prefix
302 # by default will actually change.
303 # Use braces instead of parens because sh, perl, etc. also accept them.
304 bindir
='${exec_prefix}/bin'
305 sbindir
='${exec_prefix}/sbin'
306 libexecdir
='${exec_prefix}/libexec'
307 datadir
='${prefix}/share'
308 sysconfdir
='${prefix}/etc'
309 sharedstatedir
='${prefix}/com'
310 localstatedir
='${prefix}/var'
311 libdir
='${exec_prefix}/lib'
312 includedir
='${prefix}/include'
313 oldincludedir
='/usr/include'
314 infodir
='${prefix}/info'
315 mandir
='${prefix}/man'
320 # If the previous option needs an argument, assign it.
321 if test -n "$ac_prev"; then
322 eval "$ac_prev=\$ac_option"
327 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
329 # Accept the important Cygnus configure options, so we can diagnose typos.
333 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
335 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
338 -build |
--build |
--buil |
--bui |
--bu)
339 ac_prev
=build_alias
;;
340 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
341 build_alias
=$ac_optarg ;;
343 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
344 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
345 ac_prev
=cache_file
;;
346 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
347 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
348 cache_file
=$ac_optarg ;;
351 cache_file
=config.cache
;;
353 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
355 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
357 datadir
=$ac_optarg ;;
359 -disable-* |
--disable-*)
360 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
361 # Reject names that are not valid shell variable names.
362 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
363 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
364 { (exit 1); exit 1; }; }
365 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
366 eval "enable_$ac_feature=no" ;;
368 -enable-* |
--enable-*)
369 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
370 # Reject names that are not valid shell variable names.
371 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
372 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
373 { (exit 1); exit 1; }; }
374 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
376 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
379 eval "enable_$ac_feature='$ac_optarg'" ;;
381 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
382 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
383 |
--exec |
--exe |
--ex)
384 ac_prev
=exec_prefix
;;
385 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
386 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
387 |
--exec=* |
--exe=* |
--ex=*)
388 exec_prefix
=$ac_optarg ;;
390 -gas |
--gas |
--ga |
--g)
391 # Obsolete; use --with-gas.
394 -help |
--help |
--hel |
--he |
-h)
396 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
397 ac_init_help
=recursive
;;
398 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
399 ac_init_help
=short
;;
401 -host |
--host |
--hos |
--ho)
402 ac_prev
=host_alias
;;
403 -host=* |
--host=* |
--hos=* |
--ho=*)
404 host_alias
=$ac_optarg ;;
406 -includedir |
--includedir |
--includedi |
--included |
--include \
407 |
--includ |
--inclu |
--incl |
--inc)
408 ac_prev
=includedir
;;
409 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
410 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
411 includedir
=$ac_optarg ;;
413 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
415 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
416 infodir
=$ac_optarg ;;
418 -libdir |
--libdir |
--libdi |
--libd)
420 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
423 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
424 |
--libexe |
--libex |
--libe)
425 ac_prev
=libexecdir
;;
426 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
427 |
--libexe=* |
--libex=* |
--libe=*)
428 libexecdir
=$ac_optarg ;;
430 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
431 |
--localstate |
--localstat |
--localsta |
--localst \
432 |
--locals |
--local |
--loca |
--loc |
--lo)
433 ac_prev
=localstatedir
;;
434 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
435 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
436 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
437 localstatedir
=$ac_optarg ;;
439 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
441 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
445 # Obsolete; use --without-fp.
448 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
449 |
--no-cr |
--no-c |
-n)
452 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
453 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
456 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
457 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
458 |
--oldin |
--oldi |
--old |
--ol |
--o)
459 ac_prev
=oldincludedir
;;
460 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
461 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
462 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
463 oldincludedir
=$ac_optarg ;;
465 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
467 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
470 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
471 |
--program-pre |
--program-pr |
--program-p)
472 ac_prev
=program_prefix
;;
473 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
474 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
475 program_prefix
=$ac_optarg ;;
477 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
478 |
--program-suf |
--program-su |
--program-s)
479 ac_prev
=program_suffix
;;
480 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
481 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
482 program_suffix
=$ac_optarg ;;
484 -program-transform-name |
--program-transform-name \
485 |
--program-transform-nam |
--program-transform-na \
486 |
--program-transform-n |
--program-transform- \
487 |
--program-transform |
--program-transfor \
488 |
--program-transfo |
--program-transf \
489 |
--program-trans |
--program-tran \
490 |
--progr-tra |
--program-tr |
--program-t)
491 ac_prev
=program_transform_name
;;
492 -program-transform-name=* |
--program-transform-name=* \
493 |
--program-transform-nam=* |
--program-transform-na=* \
494 |
--program-transform-n=* |
--program-transform-=* \
495 |
--program-transform=* |
--program-transfor=* \
496 |
--program-transfo=* |
--program-transf=* \
497 |
--program-trans=* |
--program-tran=* \
498 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
499 program_transform_name
=$ac_optarg ;;
501 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
502 |
-silent |
--silent |
--silen |
--sile |
--sil)
505 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
507 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
509 sbindir
=$ac_optarg ;;
511 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
512 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
513 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
515 ac_prev
=sharedstatedir
;;
516 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
517 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
518 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
520 sharedstatedir
=$ac_optarg ;;
522 -site |
--site |
--sit)
524 -site=* |
--site=* |
--sit=*)
527 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
529 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
532 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
533 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
534 ac_prev
=sysconfdir
;;
535 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
536 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
537 sysconfdir
=$ac_optarg ;;
539 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
540 ac_prev
=target_alias
;;
541 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
542 target_alias
=$ac_optarg ;;
544 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
547 -version |
--version |
--versio |
--versi |
--vers |
-V)
551 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
552 # Reject names that are not valid shell variable names.
553 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
554 { echo "$as_me: error: invalid package name: $ac_package" >&2
555 { (exit 1); exit 1; }; }
556 ac_package
=`echo $ac_package| sed 's/-/_/g'`
558 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
561 eval "with_$ac_package='$ac_optarg'" ;;
563 -without-* |
--without-*)
564 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
565 # Reject names that are not valid shell variable names.
566 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
567 { echo "$as_me: error: invalid package name: $ac_package" >&2
568 { (exit 1); exit 1; }; }
569 ac_package
=`echo $ac_package | sed 's/-/_/g'`
570 eval "with_$ac_package=no" ;;
573 # Obsolete; use --with-x.
576 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
577 |
--x-incl |
--x-inc |
--x-in |
--x-i)
578 ac_prev
=x_includes
;;
579 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
580 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
581 x_includes
=$ac_optarg ;;
583 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
584 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
585 ac_prev
=x_libraries
;;
586 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
587 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
588 x_libraries
=$ac_optarg ;;
590 -*) { echo "$as_me: error: unrecognized option: $ac_option
591 Try \`$0 --help' for more information." >&2
592 { (exit 1); exit 1; }; }
596 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
597 # Reject names that are not valid shell variable names.
598 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
599 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
600 { (exit 1); exit 1; }; }
601 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
602 eval "$ac_envvar='$ac_optarg'"
606 # FIXME: should be removed in autoconf 3.0.
607 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
608 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
609 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
610 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
616 if test -n "$ac_prev"; then
617 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
618 { echo "$as_me: error: missing argument to $ac_option" >&2
619 { (exit 1); exit 1; }; }
622 # Be sure to have absolute paths.
623 for ac_var
in exec_prefix prefix
625 eval ac_val
=$
`echo $ac_var`
627 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
628 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
629 { (exit 1); exit 1; }; };;
633 # Be sure to have absolute paths.
634 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
635 localstatedir libdir includedir oldincludedir infodir mandir
637 eval ac_val
=$
`echo $ac_var`
639 [\\/$
]* | ?
:[\\/]* ) ;;
640 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
641 { (exit 1); exit 1; }; };;
645 # There might be people who depend on the old broken behavior: `$host'
646 # used to hold the argument of --host etc.
647 # FIXME: To remove some day.
652 # FIXME: To remove some day.
653 if test "x$host_alias" != x
; then
654 if test "x$build_alias" = x
; then
655 cross_compiling
=maybe
656 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
657 If a cross compiler is detected then cross compile mode will be used." >&2
658 elif test "x$build_alias" != "x$host_alias"; then
664 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
666 test "$silent" = yes && exec 6>/dev
/null
669 # Find the source files, if location was not specified.
670 if test -z "$srcdir"; then
671 ac_srcdir_defaulted
=yes
672 # Try the directory containing this script, then its parent.
673 ac_confdir
=`(dirname "$0") 2>/dev/null ||
674 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
675 X"$0" : 'X\(//\)[^/]' \| \
676 X"$0" : 'X\(//\)$' \| \
677 X"$0" : 'X\(/\)' \| \
678 . : '\(.\)' 2>/dev/null ||
680 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
681 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
682 /^X\(\/\/\)$/{ s//\1/; q; }
683 /^X\(\/\).*/{ s//\1/; q; }
686 if test ! -r $srcdir/$ac_unique_file; then
690 ac_srcdir_defaulted
=no
692 if test ! -r $srcdir/$ac_unique_file; then
693 if test "$ac_srcdir_defaulted" = yes; then
694 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
695 { (exit 1); exit 1; }; }
697 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
698 { (exit 1); exit 1; }; }
701 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
702 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
703 { (exit 1); exit 1; }; }
704 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
705 ac_env_build_alias_set
=${build_alias+set}
706 ac_env_build_alias_value
=$build_alias
707 ac_cv_env_build_alias_set
=${build_alias+set}
708 ac_cv_env_build_alias_value
=$build_alias
709 ac_env_host_alias_set
=${host_alias+set}
710 ac_env_host_alias_value
=$host_alias
711 ac_cv_env_host_alias_set
=${host_alias+set}
712 ac_cv_env_host_alias_value
=$host_alias
713 ac_env_target_alias_set
=${target_alias+set}
714 ac_env_target_alias_value
=$target_alias
715 ac_cv_env_target_alias_set
=${target_alias+set}
716 ac_cv_env_target_alias_value
=$target_alias
717 ac_env_CC_set
=${CC+set}
719 ac_cv_env_CC_set
=${CC+set}
720 ac_cv_env_CC_value
=$CC
721 ac_env_CFLAGS_set
=${CFLAGS+set}
722 ac_env_CFLAGS_value
=$CFLAGS
723 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
724 ac_cv_env_CFLAGS_value
=$CFLAGS
725 ac_env_LDFLAGS_set
=${LDFLAGS+set}
726 ac_env_LDFLAGS_value
=$LDFLAGS
727 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
728 ac_cv_env_LDFLAGS_value
=$LDFLAGS
729 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
730 ac_env_CPPFLAGS_value
=$CPPFLAGS
731 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
732 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
733 ac_env_CPP_set
=${CPP+set}
734 ac_env_CPP_value
=$CPP
735 ac_cv_env_CPP_set
=${CPP+set}
736 ac_cv_env_CPP_value
=$CPP
739 # Report the --help message.
741 if test "$ac_init_help" = "long"; then
742 # Omit some internal or obsolete options to make the list less imposing.
743 # This message is too long to be a string in the A/UX 3.1 sh.
745 \`configure' configures GNU C Runtime Library 1.0 to adapt to many kinds of systems.
747 Usage: $0 [OPTION]... [VAR=VALUE]...
749 To assign environment variables (e.g., CC, CFLAGS...), specify them as
750 VAR=VALUE. See below for descriptions of some of the useful variables.
752 Defaults for the options are specified in brackets.
755 -h, --help display this help and exit
756 --help=short display options specific to this package
757 --help=recursive display the short help of all the included packages
758 -V, --version display version information and exit
759 -q, --quiet, --silent do not print \`checking...' messages
760 --cache-file=FILE cache test results in FILE [disabled]
761 -C, --config-cache alias for \`--cache-file=config.cache'
762 -n, --no-create do not create output files
763 --srcdir=DIR find the sources in DIR [configure dir or \`..']
768 Installation directories:
769 --prefix=PREFIX install architecture-independent files in PREFIX
771 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
774 By default, \`make install' will install all the files in
775 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
776 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
777 for instance \`--prefix=\$HOME'.
779 For better control, use the options below.
781 Fine tuning of the installation directories:
782 --bindir=DIR user executables [EPREFIX/bin]
783 --sbindir=DIR system admin executables [EPREFIX/sbin]
784 --libexecdir=DIR program executables [EPREFIX/libexec]
785 --datadir=DIR read-only architecture-independent data [PREFIX/share]
786 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
787 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
788 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
789 --libdir=DIR object code libraries [EPREFIX/lib]
790 --includedir=DIR C header files [PREFIX/include]
791 --oldincludedir=DIR C header files for non-gcc [/usr/include]
792 --infodir=DIR info documentation [PREFIX/info]
793 --mandir=DIR man documentation [PREFIX/man]
799 --build=BUILD configure
for building on BUILD
[guessed
]
800 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
804 if test -n "$ac_init_help"; then
805 case $ac_init_help in
806 short | recursive
) echo "Configuration of GNU C Runtime Library 1.0:";;
811 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
812 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
813 --disable-shared don
't provide a shared libgcc
814 --enable-version-specific-runtime-libs Specify that runtime libraries should be installed in a compiler-specific directory
815 --enable-decimal-float={no,yes,bid,dpd}
816 enable decimal float extension to C. Selecting 'bid
'
817 or 'dpd
' choses which decimal floating point format
819 --enable-tls Use thread-local storage [default=yes]
822 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
823 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
824 --with-target-subdir=SUBDIR Configuring in a subdirectory for target
825 --with-cross-host=HOST Configuring with a cross compiler
826 --with-ld arrange to use the specified ld (full pathname)
827 --with-slibdir=DIR shared libraries in DIR LIBDIR
828 --with-build-libsubdir=DIR Directory where to find libraries for build system
830 Some influential environment variables:
831 CC C compiler command
832 CFLAGS C compiler flags
833 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
834 nonstandard directory <lib dir>
835 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
836 headers in a nonstandard directory <include dir>
839 Use these variables to override the choices made by `configure' or to
help
840 it to
find libraries and programs with nonstandard names
/locations.
845 if test "$ac_init_help" = "recursive"; then
846 # If there are subdirs, report their specific --help.
848 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
849 test -d $ac_dir ||
continue
852 if test "$ac_dir" != .
; then
853 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
854 # A "../" for each directory in $ac_dir_suffix.
855 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
857 ac_dir_suffix
= ac_top_builddir
=
861 .
) # No --srcdir option. We are building in place.
863 if test -z "$ac_top_builddir"; then
866 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
868 [\\/]* | ?
:[\\/]* ) # Absolute path.
869 ac_srcdir
=$srcdir$ac_dir_suffix;
870 ac_top_srcdir
=$srcdir ;;
872 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
873 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
876 # Do not use `cd foo && pwd` to compute absolute paths, because
877 # the directories may not exist.
879 .
) ac_abs_builddir
="$ac_dir";;
882 .
) ac_abs_builddir
=`pwd`;;
883 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
884 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
887 case $ac_abs_builddir in
888 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
890 case ${ac_top_builddir}.
in
891 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
892 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
893 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
896 case $ac_abs_builddir in
897 .
) ac_abs_srcdir
=$ac_srcdir;;
900 .
) ac_abs_srcdir
=$ac_abs_builddir;;
901 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
902 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
905 case $ac_abs_builddir in
906 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
908 case $ac_top_srcdir in
909 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
910 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
911 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
916 # Check for guested configure; otherwise get Cygnus style configure.
917 if test -f $ac_srcdir/configure.gnu
; then
919 $SHELL $ac_srcdir/configure.gnu
--help=recursive
920 elif test -f $ac_srcdir/configure
; then
922 $SHELL $ac_srcdir/configure
--help=recursive
923 elif test -f $ac_srcdir/configure.ac ||
924 test -f $ac_srcdir/configure.
in; then
928 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
934 test -n "$ac_init_help" && exit 0
935 if $ac_init_version; then
937 GNU C Runtime Library configure
1.0
938 generated by GNU Autoconf
2.59
940 Copyright
(C
) 2003 Free Software Foundation
, Inc.
941 This configure
script is free software
; the Free Software Foundation
942 gives unlimited permission to copy
, distribute and modify it.
948 This file contains any messages produced by compilers while
949 running configure, to aid debugging if configure makes a mistake.
951 It was created by GNU C Runtime Library $as_me 1.0, which was
952 generated by GNU Autoconf 2.59. Invocation command line was
963 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
964 uname -m = `(uname -m) 2>/dev/null || echo unknown`
965 uname -r = `(uname -r) 2>/dev/null || echo unknown`
966 uname -s = `(uname -s) 2>/dev/null || echo unknown`
967 uname -v = `(uname -v) 2>/dev/null || echo unknown`
969 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
970 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
972 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
973 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
974 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
975 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
976 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
977 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
978 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
982 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
986 test -z "$as_dir" && as_dir
=.
1002 # Keep a trace of the command line.
1003 # Strip out --no-create and --no-recursion so they do not pile up.
1004 # Strip out --silent because we don't want to record it for future runs.
1005 # Also quote any args containing shell meta-characters.
1006 # Make two passes to allow for proper duplicate-argument suppression.
1011 ac_must_keep_next
=false
1017 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1018 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1019 |
-silent |
--silent |
--silen |
--sile |
--sil)
1021 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1022 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1025 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1027 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1028 if test $ac_must_keep_next = true
; then
1029 ac_must_keep_next
=false
# Got value, back to normal.
1032 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1033 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1034 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1035 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1036 case "$ac_configure_args0 " in
1037 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1040 -* ) ac_must_keep_next
=true
;;
1043 ac_configure_args
="$ac_configure_args$ac_sep'$ac_arg'"
1044 # Get rid of the leading space.
1050 $as_unset ac_configure_args0 ||
test "${ac_configure_args0+set}" != set ||
{ ac_configure_args0
=; export ac_configure_args0
; }
1051 $as_unset ac_configure_args1 ||
test "${ac_configure_args1+set}" != set ||
{ ac_configure_args1
=; export ac_configure_args1
; }
1053 # When interrupted or exit'd, cleanup temporary files, and complete
1054 # config.log. We remove comments because anyway the quotes in there
1055 # would cause problems or look ugly.
1056 # WARNING: Be sure not to use single quotes in there, as some shells,
1057 # such as our DU 5.0 friend, will then `close' the trap.
1058 trap 'exit_status=$?
1059 # Save into config.log some information that might help in debugging.
1064 ## ---------------- ##
1065 ## Cache variables. ##
1066 ## ---------------- ##
1069 # The following way of writing the cache mishandles newlines in values,
1072 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1075 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1076 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1080 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1087 ## ----------------- ##
1088 ## Output variables. ##
1089 ## ----------------- ##
1092 for ac_var in $ac_subst_vars
1094 eval ac_val=$`echo $ac_var`
1095 echo "$ac_var='"'"'$ac_val'"'"'"
1099 if test -n "$ac_subst_files"; then
1106 for ac_var in $ac_subst_files
1108 eval ac_val=$`echo $ac_var`
1109 echo "$ac_var='"'"'$ac_val'"'"'"
1114 if test -s confdefs.h; then
1121 sed "/^$/d" confdefs.h | sort
1124 test "$ac_signal" != 0 &&
1125 echo "$as_me: caught signal $ac_signal"
1126 echo "$as_me: exit $exit_status"
1128 rm -f core *.core &&
1129 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1132 for ac_signal
in 1 2 13 15; do
1133 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1137 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1138 rm -rf conftest
* confdefs.h
1139 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1142 # Predefined preprocessor variables.
1144 cat >>confdefs.h
<<_ACEOF
1145 #define PACKAGE_NAME "$PACKAGE_NAME"
1149 cat >>confdefs.h
<<_ACEOF
1150 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1154 cat >>confdefs.h
<<_ACEOF
1155 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1159 cat >>confdefs.h
<<_ACEOF
1160 #define PACKAGE_STRING "$PACKAGE_STRING"
1164 cat >>confdefs.h
<<_ACEOF
1165 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1169 # Let the site file select an alternate cache file if it wants to.
1170 # Prefer explicitly selected file to automatically selected ones.
1171 if test -z "$CONFIG_SITE"; then
1172 if test "x$prefix" != xNONE
; then
1173 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
1175 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1178 for ac_site_file
in $CONFIG_SITE; do
1179 if test -r "$ac_site_file"; then
1180 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1181 echo "$as_me: loading site script $ac_site_file" >&6;}
1182 sed 's/^/| /' "$ac_site_file" >&5
1187 if test -r "$cache_file"; then
1188 # Some versions of bash will fail to source /dev/null (special
1189 # files actually), so we avoid doing that.
1190 if test -f "$cache_file"; then
1191 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1192 echo "$as_me: loading cache $cache_file" >&6;}
1194 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
1195 *) . .
/$cache_file;;
1199 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1200 echo "$as_me: creating cache $cache_file" >&6;}
1204 # Check that the precious variables saved in the cache have kept the same
1206 ac_cache_corrupted
=false
1207 for ac_var
in `(set) 2>&1 |
1208 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1209 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1210 eval ac_new_set
=\
$ac_env_${ac_var}_set
1211 eval ac_old_val
="\$ac_cv_env_${ac_var}_value"
1212 eval ac_new_val
="\$ac_env_${ac_var}_value"
1213 case $ac_old_set,$ac_new_set in
1215 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1216 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1217 ac_cache_corrupted
=: ;;
1219 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1220 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1221 ac_cache_corrupted
=: ;;
1224 if test "x$ac_old_val" != "x$ac_new_val"; then
1225 # differences in whitespace do not lead to failure.
1226 ac_old_val_w
=`echo x $ac_old_val`
1227 ac_new_val_w
=`echo x $ac_new_val`
1228 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1229 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1230 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1231 ac_cache_corrupted
=:
1233 { echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1234 echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1235 eval $ac_var=\
$ac_old_val
1237 { echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
1238 echo "$as_me: former value: \`$ac_old_val'" >&2;}
1239 { echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1240 echo "$as_me: current value: \`$ac_new_val'" >&2;}
1243 # Pass precious variables to config.status.
1244 if test "$ac_new_set" = set; then
1246 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1247 ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1248 *) ac_arg
=$ac_var=$ac_new_val ;;
1250 case " $ac_configure_args " in
1251 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1252 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1256 if $ac_cache_corrupted; then
1257 { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1258 echo "$as_me: error: in \`$ac_pwd':" >&2;}
1259 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1260 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1261 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1262 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1263 { (exit 1); exit 1; }; }
1267 ac_cpp
='$CPP $CPPFLAGS'
1268 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1269 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1270 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1304 # Check whether --with-target-subdir or --without-target-subdir was given.
1305 if test "${with_target_subdir+set}" = set; then
1306 withval
="$with_target_subdir"
1310 # Check whether --with-cross-host or --without-cross-host was given.
1311 if test "${with_cross_host+set}" = set; then
1312 withval
="$with_cross_host"
1316 # Check whether --with-ld or --without-ld was given.
1317 if test "${with_ld+set}" = set; then
1322 if test "${srcdir}" = "."; then
1323 if test -n "${with_build_subdir}"; then
1324 libgcc_topdir
="${srcdir}/../.."
1326 elif test -z "${with_target_subdir}"; then
1327 libgcc_topdir
="${srcdir}/.."
1329 if test "${with_target_subdir}" != "."; then
1330 libgcc_topdir
="${srcdir}/${with_multisrctop}../.."
1332 libgcc_topdir
="${srcdir}/${with_multisrctop}.."
1336 libgcc_topdir
="${srcdir}/.."
1340 for ac_dir
in $libgcc_topdir $srcdir/$libgcc_topdir; do
1341 if test -f $ac_dir/install-sh
; then
1343 ac_install_sh
="$ac_aux_dir/install-sh -c"
1345 elif test -f $ac_dir/install.sh
; then
1347 ac_install_sh
="$ac_aux_dir/install.sh -c"
1349 elif test -f $ac_dir/shtool
; then
1351 ac_install_sh
="$ac_aux_dir/shtool install -c"
1355 if test -z "$ac_aux_dir"; then
1356 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $libgcc_topdir $srcdir/$libgcc_topdir" >&5
1357 echo "$as_me: error: cannot find install-sh or install.sh in $libgcc_topdir $srcdir/$libgcc_topdir" >&2;}
1358 { (exit 1); exit 1; }; }
1360 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1361 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1362 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1365 # Check whether --enable-shared or --disable-shared was given.
1366 if test "${enable_shared+set}" = set; then
1367 enableval
="$enable_shared"
1369 case $enable_shared in
1373 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
1374 for pkg
in $enableval; do
1375 if test "X$pkg" = "Xgcc" ||
test "X$pkg" = "Xlibgcc"; then
1388 echo "$as_me:$LINENO: checking for --enable-version-specific-runtime-libs" >&5
1389 echo $ECHO_N "checking for --enable-version-specific-runtime-libs... $ECHO_C" >&6
1390 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
1391 if test "${enable_version_specific_runtime_libs+set}" = set; then
1392 enableval
="$enable_version_specific_runtime_libs"
1393 case "$enableval" in
1394 yes) version_specific_libs
=yes ;;
1395 no
) version_specific_libs
=no
;;
1396 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
1397 echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
1398 { (exit 1); exit 1; }; };;
1401 version_specific_libs
=no
1403 echo "$as_me:$LINENO: result: $version_specific_libs" >&5
1404 echo "${ECHO_T}$version_specific_libs" >&6
1407 # Check whether --with-slibdir or --without-slibdir was given.
1408 if test "${with_slibdir+set}" = set; then
1409 withval
="$with_slibdir"
1410 slibdir
="$with_slibdir"
1412 if test "${version_specific_libs}" = yes; then
1413 slibdir
='$(libsubdir)'
1414 elif test -n "$with_cross_host" && test x
"$with_cross_host" != x
"no"; then
1415 slibdir
='$(exec_prefix)/$(host_noncanonical)/lib'
1422 # Find a good install program. We prefer a C program (faster),
1423 # so one script is as good as another. But avoid the broken or
1424 # incompatible versions:
1425 # SysV /etc/install, /usr/sbin/install
1426 # SunOS /usr/etc/install
1427 # IRIX /sbin/install
1429 # AmigaOS /C/install, which installs bootblocks on floppy discs
1430 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1431 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1432 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1433 # OS/2's system install, which has a completely different semantic
1434 # ./install, which can be erroneously created by make from ./install.sh.
1435 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1436 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1437 if test -z "$INSTALL"; then
1438 if test "${ac_cv_path_install+set}" = set; then
1439 echo $ECHO_N "(cached) $ECHO_C" >&6
1441 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1445 test -z "$as_dir" && as_dir
=.
1446 # Account for people who put trailing slashes in PATH elements.
1448 .
/ | .
// |
/cC
/* | \
1449 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
1450 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
1453 # OSF1 and SCO ODT 3.0 have their own names for install.
1454 # Don't use installbsd from OSF since it installs stuff as root
1456 for ac_prog
in ginstall scoinst
install; do
1457 for ac_exec_ext
in '' $ac_executable_extensions; do
1458 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1459 if test $ac_prog = install &&
1460 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1461 # AIX install. It has an incompatible calling convention.
1463 elif test $ac_prog = install &&
1464 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1465 # program-specific install script used by HP pwplus--don't use.
1468 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
1480 if test "${ac_cv_path_install+set}" = set; then
1481 INSTALL
=$ac_cv_path_install
1483 # As a last resort, use the slow shell script. We don't cache a
1484 # path for INSTALL within a source directory, because that will
1485 # break other packages using the cache if that directory is
1486 # removed, or if the path is relative.
1487 INSTALL
=$ac_install_sh
1490 echo "$as_me:$LINENO: result: $INSTALL" >&5
1491 echo "${ECHO_T}$INSTALL" >&6
1493 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1494 # It thinks the first close brace ends the variable substitution.
1495 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1497 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
1499 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1502 for ac_prog
in gawk mawk nawk
awk
1504 # Extract the first word of "$ac_prog", so it can be a program name with args.
1505 set dummy
$ac_prog; ac_word
=$2
1506 echo "$as_me:$LINENO: checking for $ac_word" >&5
1507 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1508 if test "${ac_cv_prog_AWK+set}" = set; then
1509 echo $ECHO_N "(cached) $ECHO_C" >&6
1511 if test -n "$AWK"; then
1512 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
1514 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1518 test -z "$as_dir" && as_dir
=.
1519 for ac_exec_ext
in '' $ac_executable_extensions; do
1520 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1521 ac_cv_prog_AWK
="$ac_prog"
1522 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1531 if test -n "$AWK"; then
1532 echo "$as_me:$LINENO: result: $AWK" >&5
1533 echo "${ECHO_T}$AWK" >&6
1535 echo "$as_me:$LINENO: result: no" >&5
1536 echo "${ECHO_T}no" >&6
1539 test -n "$AWK" && break
1542 # We need awk; bail out if it's missing.
1544 "") { { echo "$as_me:$LINENO: error: can't build without awk, bailing out" >&5
1545 echo "$as_me: error: can't build without awk, bailing out" >&2;}
1546 { (exit 1); exit 1; }; } ;;
1549 # Make sure we can run config.sub.
1550 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1551 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1552 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1553 { (exit 1); exit 1; }; }
1555 echo "$as_me:$LINENO: checking build system type" >&5
1556 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1557 if test "${ac_cv_build+set}" = set; then
1558 echo $ECHO_N "(cached) $ECHO_C" >&6
1560 ac_cv_build_alias
=$build_alias
1561 test -z "$ac_cv_build_alias" &&
1562 ac_cv_build_alias
=`$ac_config_guess`
1563 test -z "$ac_cv_build_alias" &&
1564 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1565 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1566 { (exit 1); exit 1; }; }
1567 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1568 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1569 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1570 { (exit 1); exit 1; }; }
1573 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1574 echo "${ECHO_T}$ac_cv_build" >&6
1576 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1577 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1578 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1581 echo "$as_me:$LINENO: checking host system type" >&5
1582 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1583 if test "${ac_cv_host+set}" = set; then
1584 echo $ECHO_N "(cached) $ECHO_C" >&6
1586 ac_cv_host_alias
=$host_alias
1587 test -z "$ac_cv_host_alias" &&
1588 ac_cv_host_alias
=$ac_cv_build_alias
1589 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1590 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1591 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1592 { (exit 1); exit 1; }; }
1595 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1596 echo "${ECHO_T}$ac_cv_host" >&6
1598 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1599 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1600 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1603 case ${build_alias} in
1604 "") build_noncanonical
=${build} ;;
1605 *) build_noncanonical
=${build_alias} ;;
1608 case ${host_alias} in
1609 "") host_noncanonical
=${build_noncanonical} ;;
1610 *) host_noncanonical
=${host_alias} ;;
1615 case ${target_alias} in
1616 "") target_noncanonical
=${host_noncanonical} ;;
1617 *) target_noncanonical
=${target_alias} ;;
1621 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
1622 # have matching libraries, they should use host libraries: Makefile.tpl
1623 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
1624 # However, they still use the build modules, because the corresponding
1625 # host modules (e.g. bison) are only built for the host when bootstrap
1627 # - build_subdir is where we find build modules, and never changes.
1628 # - build_libsubdir is where we find build libraries, and can be overridden.
1630 # Prefix 'build-' so this never conflicts with target_subdir.
1631 build_subdir
="build-${build_noncanonical}"
1633 # Check whether --with-build-libsubdir or --without-build-libsubdir was given.
1634 if test "${with_build_libsubdir+set}" = set; then
1635 withval
="$with_build_libsubdir"
1636 build_libsubdir
="$withval"
1638 build_libsubdir
="$build_subdir"
1640 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
1641 if ( test $srcdir = .
&& test -d gcc
) \
1642 ||
test -d $srcdir/..
/host-
${host_noncanonical}; then
1643 host_subdir
="host-${host_noncanonical}"
1648 target_subdir
=${target_noncanonical}
1651 if test -n "$ac_tool_prefix"; then
1652 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
1653 set dummy
${ac_tool_prefix}ar; ac_word
=$2
1654 echo "$as_me:$LINENO: checking for $ac_word" >&5
1655 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1656 if test "${ac_cv_prog_AR+set}" = set; then
1657 echo $ECHO_N "(cached) $ECHO_C" >&6
1659 if test -n "$AR"; then
1660 ac_cv_prog_AR
="$AR" # Let the user override the test.
1662 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1666 test -z "$as_dir" && as_dir
=.
1667 for ac_exec_ext
in '' $ac_executable_extensions; do
1668 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1669 ac_cv_prog_AR
="${ac_tool_prefix}ar"
1670 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1679 if test -n "$AR"; then
1680 echo "$as_me:$LINENO: result: $AR" >&5
1681 echo "${ECHO_T}$AR" >&6
1683 echo "$as_me:$LINENO: result: no" >&5
1684 echo "${ECHO_T}no" >&6
1688 if test -z "$ac_cv_prog_AR"; then
1690 # Extract the first word of "ar", so it can be a program name with args.
1691 set dummy
ar; ac_word
=$2
1692 echo "$as_me:$LINENO: checking for $ac_word" >&5
1693 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1694 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
1695 echo $ECHO_N "(cached) $ECHO_C" >&6
1697 if test -n "$ac_ct_AR"; then
1698 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
1700 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1704 test -z "$as_dir" && as_dir
=.
1705 for ac_exec_ext
in '' $ac_executable_extensions; do
1706 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1707 ac_cv_prog_ac_ct_AR
="ar"
1708 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1716 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
1717 if test -n "$ac_ct_AR"; then
1718 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
1719 echo "${ECHO_T}$ac_ct_AR" >&6
1721 echo "$as_me:$LINENO: result: no" >&5
1722 echo "${ECHO_T}no" >&6
1730 if test -n "$ac_tool_prefix"; then
1731 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
1732 set dummy
${ac_tool_prefix}lipo
; ac_word
=$2
1733 echo "$as_me:$LINENO: checking for $ac_word" >&5
1734 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1735 if test "${ac_cv_prog_LIPO+set}" = set; then
1736 echo $ECHO_N "(cached) $ECHO_C" >&6
1738 if test -n "$LIPO"; then
1739 ac_cv_prog_LIPO
="$LIPO" # Let the user override the test.
1741 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1745 test -z "$as_dir" && as_dir
=.
1746 for ac_exec_ext
in '' $ac_executable_extensions; do
1747 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1748 ac_cv_prog_LIPO
="${ac_tool_prefix}lipo"
1749 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1757 LIPO
=$ac_cv_prog_LIPO
1758 if test -n "$LIPO"; then
1759 echo "$as_me:$LINENO: result: $LIPO" >&5
1760 echo "${ECHO_T}$LIPO" >&6
1762 echo "$as_me:$LINENO: result: no" >&5
1763 echo "${ECHO_T}no" >&6
1767 if test -z "$ac_cv_prog_LIPO"; then
1769 # Extract the first word of "lipo", so it can be a program name with args.
1770 set dummy lipo
; ac_word
=$2
1771 echo "$as_me:$LINENO: checking for $ac_word" >&5
1772 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1773 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
1774 echo $ECHO_N "(cached) $ECHO_C" >&6
1776 if test -n "$ac_ct_LIPO"; then
1777 ac_cv_prog_ac_ct_LIPO
="$ac_ct_LIPO" # Let the user override the test.
1779 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1783 test -z "$as_dir" && as_dir
=.
1784 for ac_exec_ext
in '' $ac_executable_extensions; do
1785 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1786 ac_cv_prog_ac_ct_LIPO
="lipo"
1787 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1793 test -z "$ac_cv_prog_ac_ct_LIPO" && ac_cv_prog_ac_ct_LIPO
=":"
1796 ac_ct_LIPO
=$ac_cv_prog_ac_ct_LIPO
1797 if test -n "$ac_ct_LIPO"; then
1798 echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5
1799 echo "${ECHO_T}$ac_ct_LIPO" >&6
1801 echo "$as_me:$LINENO: result: no" >&5
1802 echo "${ECHO_T}no" >&6
1807 LIPO
="$ac_cv_prog_LIPO"
1810 if test -n "$ac_tool_prefix"; then
1811 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
1812 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
1813 echo "$as_me:$LINENO: checking for $ac_word" >&5
1814 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1815 if test "${ac_cv_prog_NM+set}" = set; then
1816 echo $ECHO_N "(cached) $ECHO_C" >&6
1818 if test -n "$NM"; then
1819 ac_cv_prog_NM
="$NM" # Let the user override the test.
1821 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1825 test -z "$as_dir" && as_dir
=.
1826 for ac_exec_ext
in '' $ac_executable_extensions; do
1827 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1828 ac_cv_prog_NM
="${ac_tool_prefix}nm"
1829 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1838 if test -n "$NM"; then
1839 echo "$as_me:$LINENO: result: $NM" >&5
1840 echo "${ECHO_T}$NM" >&6
1842 echo "$as_me:$LINENO: result: no" >&5
1843 echo "${ECHO_T}no" >&6
1847 if test -z "$ac_cv_prog_NM"; then
1849 # Extract the first word of "nm", so it can be a program name with args.
1850 set dummy nm
; ac_word
=$2
1851 echo "$as_me:$LINENO: checking for $ac_word" >&5
1852 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1853 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
1854 echo $ECHO_N "(cached) $ECHO_C" >&6
1856 if test -n "$ac_ct_NM"; then
1857 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
1859 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1863 test -z "$as_dir" && as_dir
=.
1864 for ac_exec_ext
in '' $ac_executable_extensions; do
1865 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1866 ac_cv_prog_ac_ct_NM
="nm"
1867 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1875 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
1876 if test -n "$ac_ct_NM"; then
1877 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
1878 echo "${ECHO_T}$ac_ct_NM" >&6
1880 echo "$as_me:$LINENO: result: no" >&5
1881 echo "${ECHO_T}no" >&6
1889 if test -n "$ac_tool_prefix"; then
1890 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
1891 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
1892 echo "$as_me:$LINENO: checking for $ac_word" >&5
1893 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1894 if test "${ac_cv_prog_RANLIB+set}" = set; then
1895 echo $ECHO_N "(cached) $ECHO_C" >&6
1897 if test -n "$RANLIB"; then
1898 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
1900 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1904 test -z "$as_dir" && as_dir
=.
1905 for ac_exec_ext
in '' $ac_executable_extensions; do
1906 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1907 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
1908 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1916 RANLIB
=$ac_cv_prog_RANLIB
1917 if test -n "$RANLIB"; then
1918 echo "$as_me:$LINENO: result: $RANLIB" >&5
1919 echo "${ECHO_T}$RANLIB" >&6
1921 echo "$as_me:$LINENO: result: no" >&5
1922 echo "${ECHO_T}no" >&6
1926 if test -z "$ac_cv_prog_RANLIB"; then
1927 ac_ct_RANLIB
=$RANLIB
1928 # Extract the first word of "ranlib", so it can be a program name with args.
1929 set dummy ranlib
; ac_word
=$2
1930 echo "$as_me:$LINENO: checking for $ac_word" >&5
1931 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1932 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
1933 echo $ECHO_N "(cached) $ECHO_C" >&6
1935 if test -n "$ac_ct_RANLIB"; then
1936 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
1938 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1942 test -z "$as_dir" && as_dir
=.
1943 for ac_exec_ext
in '' $ac_executable_extensions; do
1944 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1945 ac_cv_prog_ac_ct_RANLIB
="ranlib"
1946 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1952 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
1955 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
1956 if test -n "$ac_ct_RANLIB"; then
1957 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
1958 echo "${ECHO_T}$ac_ct_RANLIB" >&6
1960 echo "$as_me:$LINENO: result: no" >&5
1961 echo "${ECHO_T}no" >&6
1964 RANLIB
=$ac_ct_RANLIB
1966 RANLIB
="$ac_cv_prog_RANLIB"
1969 if test -n "$ac_tool_prefix"; then
1970 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1971 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
1972 echo "$as_me:$LINENO: checking for $ac_word" >&5
1973 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1974 if test "${ac_cv_prog_STRIP+set}" = set; then
1975 echo $ECHO_N "(cached) $ECHO_C" >&6
1977 if test -n "$STRIP"; then
1978 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
1980 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1984 test -z "$as_dir" && as_dir
=.
1985 for ac_exec_ext
in '' $ac_executable_extensions; do
1986 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1987 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
1988 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1996 STRIP
=$ac_cv_prog_STRIP
1997 if test -n "$STRIP"; then
1998 echo "$as_me:$LINENO: result: $STRIP" >&5
1999 echo "${ECHO_T}$STRIP" >&6
2001 echo "$as_me:$LINENO: result: no" >&5
2002 echo "${ECHO_T}no" >&6
2006 if test -z "$ac_cv_prog_STRIP"; then
2008 # Extract the first word of "strip", so it can be a program name with args.
2009 set dummy strip
; ac_word
=$2
2010 echo "$as_me:$LINENO: checking for $ac_word" >&5
2011 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2012 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2013 echo $ECHO_N "(cached) $ECHO_C" >&6
2015 if test -n "$ac_ct_STRIP"; then
2016 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2018 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2022 test -z "$as_dir" && as_dir
=.
2023 for ac_exec_ext
in '' $ac_executable_extensions; do
2024 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2025 ac_cv_prog_ac_ct_STRIP
="strip"
2026 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2032 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
2035 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2036 if test -n "$ac_ct_STRIP"; then
2037 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2038 echo "${ECHO_T}$ac_ct_STRIP" >&6
2040 echo "$as_me:$LINENO: result: no" >&5
2041 echo "${ECHO_T}no" >&6
2046 STRIP
="$ac_cv_prog_STRIP"
2049 echo "$as_me:$LINENO: checking whether ln -s works" >&5
2050 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
2052 if test "$LN_S" = "ln -s"; then
2053 echo "$as_me:$LINENO: result: yes" >&5
2054 echo "${ECHO_T}yes" >&6
2056 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
2057 echo "${ECHO_T}no, using $LN_S" >&6
2063 ac_cpp
='$CPP $CPPFLAGS'
2064 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2065 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2066 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2067 if test -n "$ac_tool_prefix"; then
2068 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2069 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2070 echo "$as_me:$LINENO: checking for $ac_word" >&5
2071 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2072 if test "${ac_cv_prog_CC+set}" = set; then
2073 echo $ECHO_N "(cached) $ECHO_C" >&6
2075 if test -n "$CC"; then
2076 ac_cv_prog_CC
="$CC" # Let the user override the test.
2078 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2082 test -z "$as_dir" && as_dir
=.
2083 for ac_exec_ext
in '' $ac_executable_extensions; do
2084 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2085 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2086 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2095 if test -n "$CC"; then
2096 echo "$as_me:$LINENO: result: $CC" >&5
2097 echo "${ECHO_T}$CC" >&6
2099 echo "$as_me:$LINENO: result: no" >&5
2100 echo "${ECHO_T}no" >&6
2104 if test -z "$ac_cv_prog_CC"; then
2106 # Extract the first word of "gcc", so it can be a program name with args.
2107 set dummy gcc
; ac_word
=$2
2108 echo "$as_me:$LINENO: checking for $ac_word" >&5
2109 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2110 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2111 echo $ECHO_N "(cached) $ECHO_C" >&6
2113 if test -n "$ac_ct_CC"; then
2114 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2116 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2120 test -z "$as_dir" && as_dir
=.
2121 for ac_exec_ext
in '' $ac_executable_extensions; do
2122 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2123 ac_cv_prog_ac_ct_CC
="gcc"
2124 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2132 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2133 if test -n "$ac_ct_CC"; then
2134 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2135 echo "${ECHO_T}$ac_ct_CC" >&6
2137 echo "$as_me:$LINENO: result: no" >&5
2138 echo "${ECHO_T}no" >&6
2146 if test -z "$CC"; then
2147 if test -n "$ac_tool_prefix"; then
2148 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2149 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2150 echo "$as_me:$LINENO: checking for $ac_word" >&5
2151 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2152 if test "${ac_cv_prog_CC+set}" = set; then
2153 echo $ECHO_N "(cached) $ECHO_C" >&6
2155 if test -n "$CC"; then
2156 ac_cv_prog_CC
="$CC" # Let the user override the test.
2158 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2162 test -z "$as_dir" && as_dir
=.
2163 for ac_exec_ext
in '' $ac_executable_extensions; do
2164 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2165 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2166 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2175 if test -n "$CC"; then
2176 echo "$as_me:$LINENO: result: $CC" >&5
2177 echo "${ECHO_T}$CC" >&6
2179 echo "$as_me:$LINENO: result: no" >&5
2180 echo "${ECHO_T}no" >&6
2184 if test -z "$ac_cv_prog_CC"; then
2186 # Extract the first word of "cc", so it can be a program name with args.
2187 set dummy cc
; ac_word
=$2
2188 echo "$as_me:$LINENO: checking for $ac_word" >&5
2189 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2190 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2191 echo $ECHO_N "(cached) $ECHO_C" >&6
2193 if test -n "$ac_ct_CC"; then
2194 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2196 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2200 test -z "$as_dir" && as_dir
=.
2201 for ac_exec_ext
in '' $ac_executable_extensions; do
2202 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2203 ac_cv_prog_ac_ct_CC
="cc"
2204 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2212 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2213 if test -n "$ac_ct_CC"; then
2214 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2215 echo "${ECHO_T}$ac_ct_CC" >&6
2217 echo "$as_me:$LINENO: result: no" >&5
2218 echo "${ECHO_T}no" >&6
2227 if test -z "$CC"; then
2228 # Extract the first word of "cc", so it can be a program name with args.
2229 set dummy cc
; ac_word
=$2
2230 echo "$as_me:$LINENO: checking for $ac_word" >&5
2231 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2232 if test "${ac_cv_prog_CC+set}" = set; then
2233 echo $ECHO_N "(cached) $ECHO_C" >&6
2235 if test -n "$CC"; then
2236 ac_cv_prog_CC
="$CC" # Let the user override the test.
2239 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2243 test -z "$as_dir" && as_dir
=.
2244 for ac_exec_ext
in '' $ac_executable_extensions; do
2245 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2246 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2247 ac_prog_rejected
=yes
2251 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2257 if test $ac_prog_rejected = yes; then
2258 # We found a bogon in the path, so make sure we never use it.
2259 set dummy
$ac_cv_prog_CC
2261 if test $# != 0; then
2262 # We chose a different compiler from the bogus one.
2263 # However, it has the same basename, so the bogon will be chosen
2264 # first if we set CC to just the basename; use the full file name.
2266 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2272 if test -n "$CC"; then
2273 echo "$as_me:$LINENO: result: $CC" >&5
2274 echo "${ECHO_T}$CC" >&6
2276 echo "$as_me:$LINENO: result: no" >&5
2277 echo "${ECHO_T}no" >&6
2281 if test -z "$CC"; then
2282 if test -n "$ac_tool_prefix"; then
2285 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2286 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2287 echo "$as_me:$LINENO: checking for $ac_word" >&5
2288 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2289 if test "${ac_cv_prog_CC+set}" = set; then
2290 echo $ECHO_N "(cached) $ECHO_C" >&6
2292 if test -n "$CC"; then
2293 ac_cv_prog_CC
="$CC" # Let the user override the test.
2295 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2299 test -z "$as_dir" && as_dir
=.
2300 for ac_exec_ext
in '' $ac_executable_extensions; do
2301 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2302 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2303 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2312 if test -n "$CC"; then
2313 echo "$as_me:$LINENO: result: $CC" >&5
2314 echo "${ECHO_T}$CC" >&6
2316 echo "$as_me:$LINENO: result: no" >&5
2317 echo "${ECHO_T}no" >&6
2320 test -n "$CC" && break
2323 if test -z "$CC"; then
2327 # Extract the first word of "$ac_prog", so it can be a program name with args.
2328 set dummy
$ac_prog; ac_word
=$2
2329 echo "$as_me:$LINENO: checking for $ac_word" >&5
2330 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2331 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2332 echo $ECHO_N "(cached) $ECHO_C" >&6
2334 if test -n "$ac_ct_CC"; then
2335 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2337 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2341 test -z "$as_dir" && as_dir
=.
2342 for ac_exec_ext
in '' $ac_executable_extensions; do
2343 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2344 ac_cv_prog_ac_ct_CC
="$ac_prog"
2345 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2353 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2354 if test -n "$ac_ct_CC"; then
2355 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2356 echo "${ECHO_T}$ac_ct_CC" >&6
2358 echo "$as_me:$LINENO: result: no" >&5
2359 echo "${ECHO_T}no" >&6
2362 test -n "$ac_ct_CC" && break
2371 test -z "$CC" && { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2372 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2373 { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2374 See \`config.log' for more details." >&5
2375 echo "$as_me: error: no acceptable C compiler found in \$PATH
2376 See \`config.log' for more details." >&2;}
2377 { (exit 1); exit 1; }; }; }
2379 # Provide some information about the compiler.
2380 echo "$as_me:$LINENO:" \
2381 "checking for C compiler version" >&5
2382 ac_compiler
=`set X $ac_compile; echo $2`
2383 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2384 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2387 (exit $ac_status); }
2388 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2389 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2392 (exit $ac_status); }
2393 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2394 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2397 (exit $ac_status); }
2399 cat >conftest.
$ac_ext <<_ACEOF
2402 cat confdefs.h
>>conftest.
$ac_ext
2403 cat >>conftest.
$ac_ext <<_ACEOF
2404 /* end confdefs.h. */
2415 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2416 (eval $ac_link) 2>&5
2418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2419 (exit $ac_status); }; then
2425 if test x
$gcc_no_link = xyes
; then
2426 # Setting cross_compile will disable run tests; it will
2427 # also disable AC_CHECK_FILE but that's generally
2428 # correct if we can't link.
2432 cat >conftest.
$ac_ext <<_ACEOF
2435 cat confdefs.h
>>conftest.
$ac_ext
2436 cat >>conftest.
$ac_ext <<_ACEOF
2437 /* end confdefs.h. */
2447 ac_clean_files_save
=$ac_clean_files
2448 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
2449 # Try to create an executable without -o first, disregard a.out.
2450 # It will help us diagnose broken compilers, and finding out an intuition
2452 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2453 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2454 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2455 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2456 (eval $ac_link_default) 2>&5
2458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2459 (exit $ac_status); }; then
2460 # Find the output, starting from the most likely. This scheme is
2461 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2464 # Be careful to initialize this variable, since it used to be cached.
2465 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2467 # b.out is created by i960 compilers.
2468 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
2470 test -f "$ac_file" ||
continue
2472 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
2475 # This is the source file.
2478 # We found the default executable, but exeext='' is most
2482 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2483 # FIXME: I believe we export ac_cv_exeext for Libtool,
2484 # but it would be cool to find out if it's true. Does anybody
2485 # maintain Libtool? --akim.
2493 echo "$as_me: failed program was:" >&5
2494 sed 's/^/| /' conftest.
$ac_ext >&5
2496 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2497 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2498 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2499 See \`config.log' for more details." >&5
2500 echo "$as_me: error: C compiler cannot create executables
2501 See \`config.log' for more details." >&2;}
2502 { (exit 77); exit 77; }; }; }
2505 ac_exeext
=$ac_cv_exeext
2506 echo "$as_me:$LINENO: result: $ac_file" >&5
2507 echo "${ECHO_T}$ac_file" >&6
2509 # Check the compiler produces executables we can run. If not, either
2510 # the compiler is broken, or we cross compile.
2511 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2512 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2513 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2514 # If not cross compiling, check that we can run a simple program.
2515 if test "$cross_compiling" != yes; then
2516 if { ac_try
='./$ac_file'
2517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2521 (exit $ac_status); }; }; then
2524 if test "$cross_compiling" = maybe
; then
2527 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2528 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2529 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2530 If you meant to cross compile, use \`--host'.
2531 See \`config.log' for more details." >&5
2532 echo "$as_me: error: cannot run C compiled programs.
2533 If you meant to cross compile, use \`--host'.
2534 See \`config.log' for more details." >&2;}
2535 { (exit 1); exit 1; }; }; }
2539 echo "$as_me:$LINENO: result: yes" >&5
2540 echo "${ECHO_T}yes" >&6
2542 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
2543 ac_clean_files
=$ac_clean_files_save
2544 # Check the compiler produces executables we can run. If not, either
2545 # the compiler is broken, or we cross compile.
2546 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2547 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2548 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2549 echo "${ECHO_T}$cross_compiling" >&6
2551 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2552 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2553 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2554 (eval $ac_link) 2>&5
2556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2557 (exit $ac_status); }; then
2558 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2559 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2560 # work properly (i.e., refer to `conftest.exe'), while it won't with
2562 for ac_file
in conftest.exe conftest conftest.
*; do
2563 test -f "$ac_file" ||
continue
2565 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2566 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2573 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2574 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2575 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2576 See \`config.log' for more details." >&5
2577 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2578 See \`config.log' for more details." >&2;}
2579 { (exit 1); exit 1; }; }; }
2582 rm -f conftest
$ac_cv_exeext
2583 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2584 echo "${ECHO_T}$ac_cv_exeext" >&6
2586 rm -f conftest.
$ac_ext
2587 EXEEXT
=$ac_cv_exeext
2590 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2591 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2592 if test "${ac_cv_objext+set}" = set; then
2593 echo $ECHO_N "(cached) $ECHO_C" >&6
2595 cat >conftest.
$ac_ext <<_ACEOF
2598 cat confdefs.h
>>conftest.
$ac_ext
2599 cat >>conftest.
$ac_ext <<_ACEOF
2600 /* end confdefs.h. */
2610 rm -f conftest.o conftest.obj
2611 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2612 (eval $ac_compile) 2>&5
2614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2615 (exit $ac_status); }; then
2616 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2618 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2619 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2624 echo "$as_me: failed program was:" >&5
2625 sed 's/^/| /' conftest.
$ac_ext >&5
2627 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2628 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2629 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2630 See \`config.log' for more details." >&5
2631 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2632 See \`config.log' for more details." >&2;}
2633 { (exit 1); exit 1; }; }; }
2636 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2638 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2639 echo "${ECHO_T}$ac_cv_objext" >&6
2640 OBJEXT
=$ac_cv_objext
2642 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2643 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2644 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2645 echo $ECHO_N "(cached) $ECHO_C" >&6
2647 cat >conftest.
$ac_ext <<_ACEOF
2650 cat confdefs.h
>>conftest.
$ac_ext
2651 cat >>conftest.
$ac_ext <<_ACEOF
2652 /* end confdefs.h. */
2665 rm -f conftest.
$ac_objext
2666 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2667 (eval $ac_compile) 2>conftest.er1
2669 grep -v '^ *+' conftest.er1
>conftest.err
2671 cat conftest.err
>&5
2672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2673 (exit $ac_status); } &&
2674 { ac_try
='test -z "$ac_c_werror_flag"
2675 || test ! -s conftest.err'
2676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2680 (exit $ac_status); }; } &&
2681 { ac_try
='test -s conftest.$ac_objext'
2682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2686 (exit $ac_status); }; }; then
2689 echo "$as_me: failed program was:" >&5
2690 sed 's/^/| /' conftest.
$ac_ext >&5
2694 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2695 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2698 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2699 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2700 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2701 ac_test_CFLAGS
=${CFLAGS+set}
2702 ac_save_CFLAGS
=$CFLAGS
2704 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2705 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2706 if test "${ac_cv_prog_cc_g+set}" = set; then
2707 echo $ECHO_N "(cached) $ECHO_C" >&6
2709 cat >conftest.
$ac_ext <<_ACEOF
2712 cat confdefs.h
>>conftest.
$ac_ext
2713 cat >>conftest.
$ac_ext <<_ACEOF
2714 /* end confdefs.h. */
2724 rm -f conftest.
$ac_objext
2725 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2726 (eval $ac_compile) 2>conftest.er1
2728 grep -v '^ *+' conftest.er1
>conftest.err
2730 cat conftest.err
>&5
2731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2732 (exit $ac_status); } &&
2733 { ac_try
='test -z "$ac_c_werror_flag"
2734 || test ! -s conftest.err'
2735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2739 (exit $ac_status); }; } &&
2740 { ac_try
='test -s conftest.$ac_objext'
2741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2745 (exit $ac_status); }; }; then
2748 echo "$as_me: failed program was:" >&5
2749 sed 's/^/| /' conftest.
$ac_ext >&5
2753 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2755 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2756 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2757 if test "$ac_test_CFLAGS" = set; then
2758 CFLAGS
=$ac_save_CFLAGS
2759 elif test $ac_cv_prog_cc_g = yes; then
2760 if test "$GCC" = yes; then
2766 if test "$GCC" = yes; then
2772 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2773 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2774 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2775 echo $ECHO_N "(cached) $ECHO_C" >&6
2777 ac_cv_prog_cc_stdc
=no
2779 cat >conftest.
$ac_ext <<_ACEOF
2782 cat confdefs.h
>>conftest.
$ac_ext
2783 cat >>conftest.
$ac_ext <<_ACEOF
2784 /* end confdefs.h. */
2787 #include <sys/types.h>
2788 #include <sys/stat.h>
2789 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2790 struct buf { int x; };
2791 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2792 static char *e (p, i)
2798 static char *f (char * (*g) (char **, int), char **p, ...)
2803 s = g (p, va_arg (v,int));
2808 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2809 function prototypes and stuff, but not '\xHH' hex character constants.
2810 These don't provoke an error unfortunately, instead are silently treated
2811 as 'x'. The following induces an error, until -std1 is added to get
2812 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2813 array size at least. It's necessary to write '\x00'==0 to get something
2814 that's true only with -std1. */
2815 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2817 int test (int i, double x);
2818 struct s1 {int (*f) (int a);};
2819 struct s2 {int (*f) (double a);};
2820 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2826 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2831 # Don't try gcc -ansi; that turns off useful extensions and
2832 # breaks some systems' header files.
2833 # AIX -qlanglvl=ansi
2834 # Ultrix and OSF/1 -std1
2835 # HP-UX 10.20 and later -Ae
2836 # HP-UX older versions -Aa -D_HPUX_SOURCE
2837 # SVR4 -Xc -D__EXTENSIONS__
2838 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2840 CC
="$ac_save_CC $ac_arg"
2841 rm -f conftest.
$ac_objext
2842 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2843 (eval $ac_compile) 2>conftest.er1
2845 grep -v '^ *+' conftest.er1
>conftest.err
2847 cat conftest.err
>&5
2848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2849 (exit $ac_status); } &&
2850 { ac_try
='test -z "$ac_c_werror_flag"
2851 || test ! -s conftest.err'
2852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2856 (exit $ac_status); }; } &&
2857 { ac_try
='test -s conftest.$ac_objext'
2858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2862 (exit $ac_status); }; }; then
2863 ac_cv_prog_cc_stdc
=$ac_arg
2866 echo "$as_me: failed program was:" >&5
2867 sed 's/^/| /' conftest.
$ac_ext >&5
2870 rm -f conftest.err conftest.
$ac_objext
2872 rm -f conftest.
$ac_ext conftest.
$ac_objext
2877 case "x$ac_cv_prog_cc_stdc" in
2879 echo "$as_me:$LINENO: result: none needed" >&5
2880 echo "${ECHO_T}none needed" >&6 ;;
2882 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2883 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2884 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2887 # Some people use a C++ compiler to compile C. Since we use `exit',
2888 # in C++ we need to declare it. In case someone uses the same compiler
2889 # for both compiling C and C++ we need to have the C++ compiler decide
2890 # the declaration of exit, since it's the most demanding environment.
2891 cat >conftest.
$ac_ext <<_ACEOF
2896 rm -f conftest.
$ac_objext
2897 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2898 (eval $ac_compile) 2>conftest.er1
2900 grep -v '^ *+' conftest.er1
>conftest.err
2902 cat conftest.err
>&5
2903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2904 (exit $ac_status); } &&
2905 { ac_try
='test -z "$ac_c_werror_flag"
2906 || test ! -s conftest.err'
2907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2911 (exit $ac_status); }; } &&
2912 { ac_try
='test -s conftest.$ac_objext'
2913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2917 (exit $ac_status); }; }; then
2918 for ac_declaration
in \
2920 'extern "C" void std::exit (int) throw (); using std::exit;' \
2921 'extern "C" void std::exit (int); using std::exit;' \
2922 'extern "C" void exit (int) throw ();' \
2923 'extern "C" void exit (int);' \
2926 cat >conftest.
$ac_ext <<_ACEOF
2929 cat confdefs.h
>>conftest.
$ac_ext
2930 cat >>conftest.
$ac_ext <<_ACEOF
2931 /* end confdefs.h. */
2942 rm -f conftest.
$ac_objext
2943 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2944 (eval $ac_compile) 2>conftest.er1
2946 grep -v '^ *+' conftest.er1
>conftest.err
2948 cat conftest.err
>&5
2949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2950 (exit $ac_status); } &&
2951 { ac_try
='test -z "$ac_c_werror_flag"
2952 || test ! -s conftest.err'
2953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2957 (exit $ac_status); }; } &&
2958 { ac_try
='test -s conftest.$ac_objext'
2959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2963 (exit $ac_status); }; }; then
2966 echo "$as_me: failed program was:" >&5
2967 sed 's/^/| /' conftest.
$ac_ext >&5
2971 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2972 cat >conftest.
$ac_ext <<_ACEOF
2975 cat confdefs.h
>>conftest.
$ac_ext
2976 cat >>conftest.
$ac_ext <<_ACEOF
2977 /* end confdefs.h. */
2987 rm -f conftest.
$ac_objext
2988 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2989 (eval $ac_compile) 2>conftest.er1
2991 grep -v '^ *+' conftest.er1
>conftest.err
2993 cat conftest.err
>&5
2994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2995 (exit $ac_status); } &&
2996 { ac_try
='test -z "$ac_c_werror_flag"
2997 || test ! -s conftest.err'
2998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3002 (exit $ac_status); }; } &&
3003 { ac_try
='test -s conftest.$ac_objext'
3004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3008 (exit $ac_status); }; }; then
3011 echo "$as_me: failed program was:" >&5
3012 sed 's/^/| /' conftest.
$ac_ext >&5
3015 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3018 if test -n "$ac_declaration"; then
3019 echo '#ifdef __cplusplus' >>confdefs.h
3020 echo $ac_declaration >>confdefs.h
3021 echo '#endif' >>confdefs.h
3025 echo "$as_me: failed program was:" >&5
3026 sed 's/^/| /' conftest.
$ac_ext >&5
3029 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3031 ac_cpp
='$CPP $CPPFLAGS'
3032 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3033 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3034 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3037 ac_cpp
='$CPP $CPPFLAGS'
3038 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3039 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3040 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3041 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3042 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3043 # On Suns, sometimes $CPP names a directory.
3044 if test -n "$CPP" && test -d "$CPP"; then
3047 if test -z "$CPP"; then
3048 if test "${ac_cv_prog_CPP+set}" = set; then
3049 echo $ECHO_N "(cached) $ECHO_C" >&6
3051 # Double quotes because CPP needs to be expanded
3052 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3055 for ac_c_preproc_warn_flag
in '' yes
3057 # Use a header file that comes with gcc, so configuring glibc
3058 # with a fresh cross-compiler works.
3059 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3060 # <limits.h> exists even on freestanding compilers.
3061 # On the NeXT, cc -E runs the code through the compiler's parser,
3062 # not just through cpp. "Syntax error" is here to catch this case.
3063 cat >conftest.
$ac_ext <<_ACEOF
3066 cat confdefs.h
>>conftest.
$ac_ext
3067 cat >>conftest.
$ac_ext <<_ACEOF
3068 /* end confdefs.h. */
3070 # include <limits.h>
3072 # include <assert.h>
3076 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3077 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3079 grep -v '^ *+' conftest.er1
>conftest.err
3081 cat conftest.err
>&5
3082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3083 (exit $ac_status); } >/dev
/null
; then
3084 if test -s conftest.err
; then
3085 ac_cpp_err
=$ac_c_preproc_warn_flag
3086 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3093 if test -z "$ac_cpp_err"; then
3096 echo "$as_me: failed program was:" >&5
3097 sed 's/^/| /' conftest.
$ac_ext >&5
3099 # Broken: fails on valid input.
3102 rm -f conftest.err conftest.
$ac_ext
3104 # OK, works on sane cases. Now check whether non-existent headers
3105 # can be detected and how.
3106 cat >conftest.
$ac_ext <<_ACEOF
3109 cat confdefs.h
>>conftest.
$ac_ext
3110 cat >>conftest.
$ac_ext <<_ACEOF
3111 /* end confdefs.h. */
3112 #include <ac_nonexistent.h>
3114 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3115 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3117 grep -v '^ *+' conftest.er1
>conftest.err
3119 cat conftest.err
>&5
3120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3121 (exit $ac_status); } >/dev
/null
; then
3122 if test -s conftest.err
; then
3123 ac_cpp_err
=$ac_c_preproc_warn_flag
3124 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3131 if test -z "$ac_cpp_err"; then
3132 # Broken: success on invalid input.
3135 echo "$as_me: failed program was:" >&5
3136 sed 's/^/| /' conftest.
$ac_ext >&5
3138 # Passes both tests.
3142 rm -f conftest.err conftest.
$ac_ext
3145 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3146 rm -f conftest.err conftest.
$ac_ext
3147 if $ac_preproc_ok; then
3159 echo "$as_me:$LINENO: result: $CPP" >&5
3160 echo "${ECHO_T}$CPP" >&6
3162 for ac_c_preproc_warn_flag
in '' yes
3164 # Use a header file that comes with gcc, so configuring glibc
3165 # with a fresh cross-compiler works.
3166 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3167 # <limits.h> exists even on freestanding compilers.
3168 # On the NeXT, cc -E runs the code through the compiler's parser,
3169 # not just through cpp. "Syntax error" is here to catch this case.
3170 cat >conftest.
$ac_ext <<_ACEOF
3173 cat confdefs.h
>>conftest.
$ac_ext
3174 cat >>conftest.
$ac_ext <<_ACEOF
3175 /* end confdefs.h. */
3177 # include <limits.h>
3179 # include <assert.h>
3183 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3184 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3186 grep -v '^ *+' conftest.er1
>conftest.err
3188 cat conftest.err
>&5
3189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3190 (exit $ac_status); } >/dev
/null
; then
3191 if test -s conftest.err
; then
3192 ac_cpp_err
=$ac_c_preproc_warn_flag
3193 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3200 if test -z "$ac_cpp_err"; then
3203 echo "$as_me: failed program was:" >&5
3204 sed 's/^/| /' conftest.
$ac_ext >&5
3206 # Broken: fails on valid input.
3209 rm -f conftest.err conftest.
$ac_ext
3211 # OK, works on sane cases. Now check whether non-existent headers
3212 # can be detected and how.
3213 cat >conftest.
$ac_ext <<_ACEOF
3216 cat confdefs.h
>>conftest.
$ac_ext
3217 cat >>conftest.
$ac_ext <<_ACEOF
3218 /* end confdefs.h. */
3219 #include <ac_nonexistent.h>
3221 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3222 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3224 grep -v '^ *+' conftest.er1
>conftest.err
3226 cat conftest.err
>&5
3227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3228 (exit $ac_status); } >/dev
/null
; then
3229 if test -s conftest.err
; then
3230 ac_cpp_err
=$ac_c_preproc_warn_flag
3231 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3238 if test -z "$ac_cpp_err"; then
3239 # Broken: success on invalid input.
3242 echo "$as_me: failed program was:" >&5
3243 sed 's/^/| /' conftest.
$ac_ext >&5
3245 # Passes both tests.
3249 rm -f conftest.err conftest.
$ac_ext
3252 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3253 rm -f conftest.err conftest.
$ac_ext
3254 if $ac_preproc_ok; then
3257 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3258 echo "$as_me: error: in \`$ac_pwd':" >&2;}
3259 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3260 See \`config.log' for more details." >&5
3261 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3262 See \`config.log' for more details." >&2;}
3263 { (exit 1); exit 1; }; }; }
3267 ac_cpp
='$CPP $CPPFLAGS'
3268 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3269 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3270 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3273 ac_c_preproc_warn_flag
=yes
3275 # Check for decimal float support.
3277 echo "$as_me:$LINENO: checking whether decimal floating point is supported" >&5
3278 echo $ECHO_N "checking whether decimal floating point is supported... $ECHO_C" >&6
3279 if test "${libgcc_cv_dfp+set}" = set; then
3280 echo $ECHO_N "(cached) $ECHO_C" >&6
3282 cat >conftest.
$ac_ext <<_ACEOF
3285 rm -f conftest.
$ac_objext
3286 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3287 (eval $ac_compile) 2>conftest.er1
3289 grep -v '^ *+' conftest.er1
>conftest.err
3291 cat conftest.err
>&5
3292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3293 (exit $ac_status); } &&
3294 { ac_try
='test -z "$ac_c_werror_flag"
3295 || test ! -s conftest.err'
3296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3300 (exit $ac_status); }; } &&
3301 { ac_try
='test -s conftest.$ac_objext'
3302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3306 (exit $ac_status); }; }; then
3309 echo "$as_me: failed program was:" >&5
3310 sed 's/^/| /' conftest.
$ac_ext >&5
3314 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3316 echo "$as_me:$LINENO: result: $libgcc_cv_dfp" >&5
3317 echo "${ECHO_T}$libgcc_cv_dfp" >&6
3318 decimal_float
=$libgcc_cv_dfp
3321 # Check whether --enable-decimal-float or --disable-decimal-float was given.
3322 if test "${enable_decimal_float+set}" = set; then
3323 enableval
="$enable_decimal_float"
3325 case $enable_decimal_float in
3326 yes | no | bid | dpd
) ;;
3327 *) { { echo "$as_me:$LINENO: error: '$enable_decimal_float' is an invalid value for --enable-decimal-float.
3328 Valid choices are 'yes', 'bid', 'dpd', and 'no'." >&5
3329 echo "$as_me: error: '$enable_decimal_float' is an invalid value for --enable-decimal-float.
3330 Valid choices are 'yes', 'bid', 'dpd', and 'no'." >&2;}
3331 { (exit 1); exit 1; }; } ;;
3337 powerpc
*-*-linux* | i?
86*-*-linux* | x86_64
*-*-linux*)
3338 enable_decimal_float
=yes
3341 enable_decimal_float
=no
3347 # x86's use BID format instead of DPD
3348 if test x
$enable_decimal_float = xyes
; then
3350 i?
86*-*-linux* | x86_64
*-*-linux*)
3351 enable_decimal_float
=bid
3354 enable_decimal_float
=dpd
3360 # Check for fixed-point support.
3361 echo "$as_me:$LINENO: checking whether fixed-point is supported" >&5
3362 echo $ECHO_N "checking whether fixed-point is supported... $ECHO_C" >&6
3363 if test "${libgcc_cv_fixed_point+set}" = set; then
3364 echo $ECHO_N "(cached) $ECHO_C" >&6
3366 cat >conftest.
$ac_ext <<_ACEOF
3369 rm -f conftest.
$ac_objext
3370 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3371 (eval $ac_compile) 2>conftest.er1
3373 grep -v '^ *+' conftest.er1
>conftest.err
3375 cat conftest.err
>&5
3376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3377 (exit $ac_status); } &&
3378 { ac_try
='test -z "$ac_c_werror_flag"
3379 || test ! -s conftest.err'
3380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3384 (exit $ac_status); }; } &&
3385 { ac_try
='test -s conftest.$ac_objext'
3386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3390 (exit $ac_status); }; }; then
3391 libgcc_cv_fixed_point
=yes
3393 echo "$as_me: failed program was:" >&5
3394 sed 's/^/| /' conftest.
$ac_ext >&5
3396 libgcc_cv_fixed_point
=no
3398 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3400 echo "$as_me:$LINENO: result: $libgcc_cv_fixed_point" >&5
3401 echo "${ECHO_T}$libgcc_cv_fixed_point" >&6
3402 fixed_point
=$libgcc_cv_fixed_point
3405 # Check 32bit or 64bit for x86.
3407 i?
86*-*-* | x86_64
*-*-*)
3408 cat > conftest.c
<<EOF
3415 eval `${CC-cc} -E conftest.c | grep host_address=`
3420 # Collect host-machine-specific information.
3421 .
${srcdir}/config.
host
3423 # Check for visibility support. This is after config.host so that
3424 # we can check for asm_hidden_op.
3425 echo "$as_me:$LINENO: checking for __attribute__((visibility(\"hidden\")))" >&5
3426 echo $ECHO_N "checking for __attribute__((visibility(\"hidden\")))... $ECHO_C" >&6
3427 if test "${libgcc_cv_hidden_visibility_attribute+set}" = set; then
3428 echo $ECHO_N "(cached) $ECHO_C" >&6
3431 echo 'int __attribute__ ((visibility ("hidden"))) foo (void) { return 1; }' > conftest.c
3432 libgcc_cv_hidden_visibility_attribute
=no
3433 if { ac_try
='${CC-cc} -Werror -S conftest.c -o conftest.s 1>&5'
3434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3438 (exit $ac_status); }; }; then
3439 if grep "\\$asm_hidden_op.*foo" conftest.s
>/dev
/null
; then
3440 libgcc_cv_hidden_visibility_attribute
=yes
3446 echo "$as_me:$LINENO: result: $libgcc_cv_hidden_visibility_attribute" >&5
3447 echo "${ECHO_T}$libgcc_cv_hidden_visibility_attribute" >&6
3449 if test $libgcc_cv_hidden_visibility_attribute = yes; then
3450 vis_hide
='-fvisibility=hidden -DHIDE_EXPORTS'
3456 # See if we have thread-local storage. We can only test assembler
3457 # sicne link-time and run-time tests require the newly built
3458 # gcc, which can't be used to build executable due to that libgcc
3459 # is yet to be built here.
3461 # Check whether --enable-tls or --disable-tls was given.
3462 if test "${enable_tls+set}" = set; then
3463 enableval
="$enable_tls"
3465 case "$enableval" in
3467 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable tls must be yes or no" >&5
3468 echo "$as_me: error: Argument to enable/disable tls must be yes or no" >&2;}
3469 { (exit 1); exit 1; }; } ;;
3476 echo "$as_me:$LINENO: checking whether the target assembler supports thread-local storage" >&5
3477 echo $ECHO_N "checking whether the target assembler supports thread-local storage... $ECHO_C" >&6
3478 if test "${gcc_cv_have_cc_tls+set}" = set; then
3479 echo $ECHO_N "(cached) $ECHO_C" >&6
3482 cat >conftest.
$ac_ext <<_ACEOF
3483 __thread int a; int b; int main() { return a = b; }
3485 rm -f conftest.
$ac_objext
3486 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3487 (eval $ac_compile) 2>conftest.er1
3489 grep -v '^ *+' conftest.er1
>conftest.err
3491 cat conftest.err
>&5
3492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3493 (exit $ac_status); } &&
3494 { ac_try
='test -z "$ac_c_werror_flag"
3495 || test ! -s conftest.err'
3496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3500 (exit $ac_status); }; } &&
3501 { ac_try
='test -s conftest.$ac_objext'
3502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3506 (exit $ac_status); }; }; then
3507 gcc_cv_have_cc_tls
=yes
3509 echo "$as_me: failed program was:" >&5
3510 sed 's/^/| /' conftest.
$ac_ext >&5
3512 gcc_cv_have_cc_tls
=no
3514 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3517 echo "$as_me:$LINENO: result: $gcc_cv_have_cc_tls" >&5
3518 echo "${ECHO_T}$gcc_cv_have_cc_tls" >&6
3520 if test "$enable_tls $gcc_cv_have_cc_tls" = "yes yes"; then
3521 set_have_cc_tls
="-DHAVE_CC_TLS"
3525 # Conditionalize the makefile for this target machine.
3527 for f
in ${tmake_file}
3529 if test -f ${srcdir}/config
/$f
3531 tmake_file_
="${tmake_file_} \$(srcdir)/config/$f"
3534 tmake_file
="${tmake_file_}"
3537 # Substitute configuration variables
3541 # We need multilib support.
3542 ac_config_files
="$ac_config_files Makefile"
3544 ac_config_commands
="$ac_config_commands default"
3546 cat >confcache
<<\_ACEOF
3547 # This file is a shell script that caches the results of configure
3548 # tests run on this system so they can be shared between configure
3549 # scripts and configure runs, see configure's option --config-cache.
3550 # It is not useful on other systems. If it contains results you don't
3551 # want to keep, you may remove or edit it.
3553 # config.status only pays attention to the cache file if you give it
3554 # the --recheck option to rerun configure.
3556 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3557 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3562 # The following way of writing the cache mishandles newlines in values,
3563 # but we know of no workaround that is simple, portable, and efficient.
3564 # So, don't put newlines in cache variables' values.
3565 # Ultrix sh set writes to stderr and can't be redirected directly,
3566 # and sets the high bit in the cache file unless we assign to the vars.
3569 case `(ac_space=' '; set | grep ac_space) 2>&1` in
3571 # `set' does not quote correctly, so add quotes (double-quote
3572 # substitution turns \\\\ into \\, and sed turns \\ into \).
3575 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3578 # `set' quotes correctly as required by POSIX, so do not add quotes.
3580 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
3587 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3589 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3591 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
3592 if test -w $cache_file; then
3593 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
3594 cat confcache
>$cache_file
3596 echo "not updating unwritable cache $cache_file"
3601 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
3602 # Let make expand exec_prefix.
3603 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
3605 # VPATH may cause trouble with some makes, so we remove $(srcdir),
3606 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
3607 # trailing colons and then remove the whole line if VPATH becomes empty
3608 # (actually we leave an empty line to preserve line numbers).
3609 if test "x$srcdir" = x.
; then
3610 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
3611 s/:*\$(srcdir):*/:/;
3612 s/:*\${srcdir}:*/:/;
3614 s/^\([^=]*=[ ]*\):*/\1/;
3620 # Transform confdefs.h into DEFS.
3621 # Protect against shell expansion while executing Makefile rules.
3622 # Protect against Makefile macro expansion.
3624 # If the first sed substitution is executed (which looks for macros that
3625 # take arguments), then we branch to the quote section. Otherwise,
3626 # look for a macro that doesn't take arguments.
3627 cat >confdef2opt.
sed <<\_ACEOF
3630 s
,^
[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
3632 s
,^
[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
3636 s
,[ `~#$^&*(){}\\|;'"<>?],\\&,g
3642 # We use echo to avoid assuming a particular line-breaking character.
3643 # The extra dot is to prevent the shell from consuming trailing
3644 # line-breaks from the sub-command output. A line-break within
3645 # single-quotes doesn't work because, if this script is created in a
3646 # platform that uses two characters for line-breaks (e.g., DOS), tr
3648 ac_LF_and_DOT=`echo; echo .
`
3649 DEFS=`sed -n -f confdef2opt.
sed confdefs.h |
tr "$ac_LF_and_DOT" ' .'`
3650 rm -f confdef2opt.sed
3655 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3656 # 1. Remove the extension, and $U if already installed.
3657 ac_i=`echo "$ac_i" |
3658 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
3660 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
3661 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
3665 LTLIBOBJS=$ac_ltlibobjs
3669 : ${CONFIG_STATUS=./config.status}
3670 ac_clean_files_save=$ac_clean_files
3671 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3672 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
3673 echo "$as_me: creating $CONFIG_STATUS" >&6;}
3674 cat >$CONFIG_STATUS <<_ACEOF
3676 # Generated by $as_me.
3677 # Run this file to recreate the current configuration.
3678 # Compiler output produced by configure, useful for debugging
3679 # configure, is in config.log if it exists.
3684 SHELL=\${CONFIG_SHELL-$SHELL}
3687 cat >>$CONFIG_STATUS <<\_ACEOF
3688 ## --------------------- ##
3689 ## M4sh Initialization. ##
3690 ## --------------------- ##
3692 # Be Bourne compatible
3693 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
3696 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
3697 # is contrary to our usage. Disable this feature.
3698 alias -g '${1+"$@"}'='"$@"'
3699 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
3702 DUALCASE=1; export DUALCASE # for MKS sh
3704 # Support unset when possible.
3705 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
3712 # Work around bugs in pre-3.0 UWIN ksh.
3713 $as_unset ENV MAIL MAILPATH
3720 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
3721 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
3722 LC_TELEPHONE LC_TIME
3724 if (set +x; test -z "`(eval $as_var=C
; export $as_var) 2>&1`"); then
3725 eval $as_var=C; export $as_var
3731 # Required to use basename.
3732 if expr a : '\(a\)' >/dev/null 2>&1; then
3738 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
3739 as_basename=basename
3745 # Name of the executable.
3746 as_me=`$as_basename "$0" ||
3747 $as_expr X
/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3748 X
"$0" : 'X\(//\)$' \| \
3749 X
"$0" : 'X\(/\)$' \| \
3750 .
: '\(.\)' 2>/dev
/null ||
3752 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
3753 /^X\/\(\/\/\)$/{ s//\1/; q; }
3754 /^X\/\(\/\).*/{ s//\1/; q; }
3758 # PATH needs CR, and LINENO needs CR and PATH.
3759 # Avoid depending upon Character Ranges.
3760 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3761 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3762 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3763 as_cr_digits='0123456789'
3764 as_cr_alnum=$as_cr_Letters$as_cr_digits
3766 # The user is always right.
3767 if test "${PATH_SEPARATOR+set}" != set; then
3768 echo "#! /bin/sh" >conf$$.sh
3769 echo "exit 0" >>conf$$.sh
3771 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
3782 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev
/null
`
3783 test "x$as_lineno_1" != "x$as_lineno_2" &&
3784 test "x$as_lineno_3" = "x$as_lineno_2" || {
3785 # Find who we are. Look in the path if we contain no path at all
3788 *[\\/]* ) as_myself=$0 ;;
3789 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3793 test -z "$as_dir" && as_dir=.
3794 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3799 # We did not find ourselves, most probably we were run as `sh COMMAND
'
3800 # in which case we are not to be found in the path.
3801 if test "x$as_myself" = x; then
3804 if test ! -f "$as_myself"; then
3805 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
3806 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
3807 { (exit 1); exit 1; }; }
3809 case $CONFIG_SHELL in
3811 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3812 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
3815 test -z "$as_dir" && as_dir=.
3816 for as_base in sh bash ksh sh5; do
3819 if ("$as_dir/$as_base" -c '
3822 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
3823 test "x$as_lineno_1" != "x$as_lineno_2" &&
3824 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
3825 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
3826 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
3827 CONFIG_SHELL=$as_dir/$as_base
3829 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
3837 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
3838 # uniformly replaced by the line number. The first 'sed' inserts a
3839 # line-number line before each line; the second 'sed' does the real
3840 # work. The second script uses 'N
' to pair each line-number line
3841 # with the numbered line, and appends trailing '-' during
3842 # substitution so that $LINENO is not a special case at line end.
3843 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
3844 # second 'sed' script. Blame Lee E. McMahon for sed's syntax.
:-)
3845 sed '=' <$as_myself |
3850 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
3853 s,^['$as_cr_digits']*\n,,
3855 chmod +x
$as_me.lineno ||
3856 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
3857 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
3858 { (exit 1); exit 1; }; }
3860 # Don't try to exec as it changes $[0], causing all sort of problems
3861 # (the dirname of $[0] is not the place where we might find the
3862 # original and so on. Autoconf is especially sensible to this).
3864 # Exit status is that of the last command.
3869 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
3870 *c
*,-n*) ECHO_N
= ECHO_C
='
3872 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
3873 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
3876 if expr a
: '\(a\)' >/dev
/null
2>&1; then
3882 rm -f conf$$ conf$$.exe conf$$.
file
3884 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
3885 # We could just check for DJGPP; but this test a) works b) is more generic
3886 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
3887 if test -f conf$$.exe
; then
3888 # Don't use ln at all; we don't have any links
3893 elif ln conf$$.
file conf$$
2>/dev
/null
; then
3898 rm -f conf$$ conf$$.exe conf$$.
file
3900 if mkdir
-p .
2>/dev
/null
; then
3903 test -d .
/-p && rmdir .
/-p
3907 as_executable_p
="test -f"
3909 # Sed expression to map a string onto a valid CPP name.
3910 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3912 # Sed expression to map a string onto a valid variable name.
3913 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3917 # We need space, tab and new line, in precisely that order.
3927 # Open the log real soon, to keep \$[0] and so on meaningful, and to
3928 # report actual input values of CONFIG_FILES etc. instead of their
3929 # values after options handling. Logging --version etc. is OK.
3933 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3934 ## Running $as_me. ##
3939 This file was extended by GNU C Runtime Library $as_me 1.0, which was
3940 generated by GNU Autoconf 2.59. Invocation command line was
3942 CONFIG_FILES = $CONFIG_FILES
3943 CONFIG_HEADERS = $CONFIG_HEADERS
3944 CONFIG_LINKS = $CONFIG_LINKS
3945 CONFIG_COMMANDS = $CONFIG_COMMANDS
3949 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
3953 # Files that config.status was made for.
3954 if test -n "$ac_config_files"; then
3955 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
3958 if test -n "$ac_config_headers"; then
3959 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
3962 if test -n "$ac_config_links"; then
3963 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
3966 if test -n "$ac_config_commands"; then
3967 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
3970 cat >>$CONFIG_STATUS <<\_ACEOF
3973 \`$as_me' instantiates files from templates according to the
3974 current configuration.
3976 Usage: $0 [OPTIONS] [FILE]...
3978 -h, --help print this help, then exit
3979 -V, --version print version number, then exit
3980 -q, --quiet do not print progress messages
3981 -d, --debug don't remove temporary files
3982 --recheck update $as_me by reconfiguring in the same conditions
3983 --file=FILE[:TEMPLATE]
3984 instantiate the configuration file FILE
3986 Configuration files:
3989 Configuration commands:
3992 Report bugs to <bug-autoconf@gnu.org>."
3995 cat >>$CONFIG_STATUS <<_ACEOF
3997 GNU C Runtime Library config.status 1.0
3998 configured by $0, generated by GNU Autoconf 2.59,
3999 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
4001 Copyright (C) 2003 Free Software Foundation, Inc.
4002 This config.status script is free software; the Free Software Foundation
4003 gives unlimited permission to copy, distribute and modify it."
4008 cat >>$CONFIG_STATUS <<\_ACEOF
4009 # If no file are specified by the user, then we need to provide default
4010 # value. By we need to know if files were specified by the user.
4016 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
4017 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
4025 *) # This is not an option, so the user has probably given explicit
4028 ac_need_defaults
=false
;;
4032 # Handling of the options.
4034 cat >>$CONFIG_STATUS <<\_ACEOF
4035 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
4037 --version |
--vers* |
-V )
4038 echo "$ac_cs_version"; exit 0 ;;
4040 # Conflict between --help and --header
4041 { { echo "$as_me:$LINENO: error: ambiguous option: $1
4042 Try \`$0 --help' for more information." >&5
4043 echo "$as_me: error: ambiguous option: $1
4044 Try \`$0 --help' for more information." >&2;}
4045 { (exit 1); exit 1; }; };;
4046 --help |
--hel |
-h )
4047 echo "$ac_cs_usage"; exit 0 ;;
4048 --debug |
--d* |
-d )
4050 --file |
--fil |
--fi |
--f )
4052 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
4053 ac_need_defaults
=false
;;
4054 --header |
--heade |
--head |
--hea )
4056 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
4057 ac_need_defaults
=false
;;
4058 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
4059 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
4063 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
4064 Try \`$0 --help' for more information." >&5
4065 echo "$as_me: error: unrecognized option: $1
4066 Try \`$0 --help' for more information." >&2;}
4067 { (exit 1); exit 1; }; } ;;
4069 *) ac_config_targets
="$ac_config_targets $1" ;;
4075 ac_configure_extra_args
=
4077 if $ac_cs_silent; then
4079 ac_configure_extra_args
="$ac_configure_extra_args --silent"
4083 cat >>$CONFIG_STATUS <<_ACEOF
4084 if \$ac_cs_recheck; then
4085 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
4086 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4091 cat >>$CONFIG_STATUS <<_ACEOF
4093 # INIT-COMMANDS section.
4098 with_target_subdir=${with_target_subdir}
4099 with_multisubdir=${with_multisubdir}
4100 ac_configure_args="--enable-multilib ${ac_configure_args}"
4101 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
4102 libgcc_topdir=${libgcc_topdir}
4110 cat >>$CONFIG_STATUS <<\_ACEOF
4111 for ac_config_target
in $ac_config_targets
4113 case "$ac_config_target" in
4114 # Handling of arguments.
4115 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
4116 "default" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
4117 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
4118 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
4119 { (exit 1); exit 1; }; };;
4123 # If the user did not use the arguments to specify the items to instantiate,
4124 # then the envvar interface is used. Set only those that are not.
4125 # We use the long form for the default assignment because of an extremely
4126 # bizarre bug on SunOS 4.1.3.
4127 if $ac_need_defaults; then
4128 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
4129 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
4132 # Have a temporary directory for convenience. Make it in the build tree
4133 # simply because there is no reason to put it here, and in addition,
4134 # creating and moving files from /tmp can sometimes cause problems.
4135 # Create a temporary directory, and hook for its removal unless debugging.
4138 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
4139 trap '{ (exit 1); exit 1; }' 1 2 13 15
4142 # Create a (secure) tmp directory for tmp files.
4145 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
4146 test -n "$tmp" && test -d "$tmp"
4149 tmp
=.
/confstat$$
-$RANDOM
4150 (umask 077 && mkdir
$tmp)
4153 echo "$me: cannot create a temporary directory in ." >&2
4154 { (exit 1); exit 1; }
4159 cat >>$CONFIG_STATUS <<_ACEOF
4162 # CONFIG_FILES section.
4165 # No need to generate the scripts if there are no CONFIG_FILES.
4166 # This happens for instance when ./config.status config.h
4167 if test -n "\$CONFIG_FILES"; then
4168 # Protect against being on the right side of a sed subst in config.status.
4169 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
4170 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
4171 s,@SHELL@,$SHELL,;t t
4172 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
4173 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
4174 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
4175 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
4176 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
4177 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
4178 s,@exec_prefix@,$exec_prefix,;t t
4179 s,@prefix@,$prefix,;t t
4180 s,@program_transform_name@,$program_transform_name,;t t
4181 s,@bindir@,$bindir,;t t
4182 s,@sbindir@,$sbindir,;t t
4183 s,@libexecdir@,$libexecdir,;t t
4184 s,@datadir@,$datadir,;t t
4185 s,@sysconfdir@,$sysconfdir,;t t
4186 s,@sharedstatedir@,$sharedstatedir,;t t
4187 s,@localstatedir@,$localstatedir,;t t
4188 s,@libdir@,$libdir,;t t
4189 s,@includedir@,$includedir,;t t
4190 s,@oldincludedir@,$oldincludedir,;t t
4191 s,@infodir@,$infodir,;t t
4192 s,@mandir@,$mandir,;t t
4193 s,@build_alias@,$build_alias,;t t
4194 s,@host_alias@,$host_alias,;t t
4195 s,@target_alias@,$target_alias,;t t
4197 s,@ECHO_C@,$ECHO_C,;t t
4198 s,@ECHO_N@,$ECHO_N,;t t
4199 s,@ECHO_T@,$ECHO_T,;t t
4201 s,@libgcc_topdir@,$libgcc_topdir,;t t
4202 s,@enable_shared@,$enable_shared,;t t
4203 s,@slibdir@,$slibdir,;t t
4204 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
4205 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
4206 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
4208 s,@build@,$build,;t t
4209 s,@build_cpu@,$build_cpu,;t t
4210 s,@build_vendor@,$build_vendor,;t t
4211 s,@build_os@,$build_os,;t t
4213 s,@host_cpu@,$host_cpu,;t t
4214 s,@host_vendor@,$host_vendor,;t t
4215 s,@host_os@,$host_os,;t t
4216 s,@host_noncanonical@,$host_noncanonical,;t t
4217 s,@build_libsubdir@,$build_libsubdir,;t t
4218 s,@build_subdir@,$build_subdir,;t t
4219 s,@host_subdir@,$host_subdir,;t t
4220 s,@target_subdir@,$target_subdir,;t t
4222 s,@ac_ct_AR@,$ac_ct_AR,;t t
4224 s,@ac_ct_LIPO@,$ac_ct_LIPO,;t t
4226 s,@ac_ct_NM@,$ac_ct_NM,;t t
4227 s,@RANLIB@,$RANLIB,;t t
4228 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
4229 s,@STRIP@,$STRIP,;t t
4230 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
4233 s,@CFLAGS@,$CFLAGS,;t t
4234 s,@LDFLAGS@,$LDFLAGS,;t t
4235 s,@CPPFLAGS@,$CPPFLAGS,;t t
4236 s,@ac_ct_CC@,$ac_ct_CC,;t t
4237 s,@EXEEXT@,$EXEEXT,;t t
4238 s,@OBJEXT@,$OBJEXT,;t t
4240 s,@decimal_float@,$decimal_float,;t t
4241 s,@enable_decimal_float@,$enable_decimal_float,;t t
4242 s,@fixed_point@,$fixed_point,;t t
4243 s,@vis_hide@,$vis_hide,;t t
4244 s,@set_have_cc_tls@,$set_have_cc_tls,;t t
4245 s,@tmake_file@,$tmake_file,;t t
4246 s,@extra_parts@,$extra_parts,;t t
4247 s,@asm_hidden_op@,$asm_hidden_op,;t t
4248 s,@LIBOBJS@,$LIBOBJS,;t t
4249 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
4254 cat >>$CONFIG_STATUS <<\_ACEOF
4255 # Split the substitutions into bite-sized pieces for seds with
4256 # small command number limits, like on Digital OSF/1 and HP-UX.
4258 ac_sed_frag
=1 # Number of current file.
4259 ac_beg
=1 # First line for current file.
4260 ac_end
=$ac_max_sed_lines # Line after last line for current file.
4263 while $ac_more_lines; do
4264 if test $ac_beg -gt 1; then
4265 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
4267 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
4269 if test ! -s $tmp/subs.frag
; then
4272 # The purpose of the label and of the branching condition is to
4273 # speed up the sed processing (if there are no `@' at all, there
4274 # is no need to browse any of the substitutions).
4275 # These are the two extra sed commands mentioned above.
4277 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
4278 if test -z "$ac_sed_cmds"; then
4279 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
4281 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
4283 ac_sed_frag
=`expr $ac_sed_frag + 1`
4285 ac_end
=`expr $ac_end + $ac_max_sed_lines`
4288 if test -z "$ac_sed_cmds"; then
4291 fi # test -n "$CONFIG_FILES"
4294 cat >>$CONFIG_STATUS <<\_ACEOF
4295 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
4296 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
4298 - |
*:- |
*:-:* ) # input from stdin
4300 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
4301 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
4302 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
4303 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
4304 * ) ac_file_in
=$ac_file.
in ;;
4307 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
4308 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
4309 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4310 X"$ac_file" : 'X\(//\)[^/]' \| \
4311 X"$ac_file" : 'X\(//\)$' \| \
4312 X"$ac_file" : 'X\(/\)' \| \
4313 . : '\(.\)' 2>/dev/null ||
4315 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4316 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4317 /^X\(\/\/\)$/{ s//\1/; q; }
4318 /^X\(\/\).*/{ s//\1/; q; }
4320 { if $as_mkdir_p; then
4325 while test ! -d "$as_dir"; do
4326 as_dirs
="$as_dir $as_dirs"
4327 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
4328 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4329 X"$as_dir" : 'X\(//\)[^/]' \| \
4330 X"$as_dir" : 'X\(//\)$' \| \
4331 X"$as_dir" : 'X\(/\)' \| \
4332 . : '\(.\)' 2>/dev/null ||
4334 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4335 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4336 /^X\(\/\/\)$/{ s//\1/; q; }
4337 /^X\(\/\).*/{ s//\1/; q; }
4340 test ! -n "$as_dirs" || mkdir
$as_dirs
4341 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
4342 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
4343 { (exit 1); exit 1; }; }; }
4347 if test "$ac_dir" != .
; then
4348 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4349 # A "../" for each directory in $ac_dir_suffix.
4350 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
4352 ac_dir_suffix
= ac_top_builddir
=
4356 .
) # No --srcdir option. We are building in place.
4358 if test -z "$ac_top_builddir"; then
4361 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
4363 [\\/]* | ?
:[\\/]* ) # Absolute path.
4364 ac_srcdir
=$srcdir$ac_dir_suffix;
4365 ac_top_srcdir
=$srcdir ;;
4367 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
4368 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
4371 # Do not use `cd foo && pwd` to compute absolute paths, because
4372 # the directories may not exist.
4374 .
) ac_abs_builddir
="$ac_dir";;
4377 .
) ac_abs_builddir
=`pwd`;;
4378 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
4379 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
4382 case $ac_abs_builddir in
4383 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
4385 case ${ac_top_builddir}.
in
4386 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
4387 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
4388 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
4391 case $ac_abs_builddir in
4392 .
) ac_abs_srcdir
=$ac_srcdir;;
4395 .
) ac_abs_srcdir
=$ac_abs_builddir;;
4396 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
4397 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
4400 case $ac_abs_builddir in
4401 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
4403 case $ac_top_srcdir in
4404 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
4405 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
4406 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
4412 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
4413 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
4416 if test x
"$ac_file" != x-
; then
4417 { echo "$as_me:$LINENO: creating $ac_file" >&5
4418 echo "$as_me: creating $ac_file" >&6;}
4421 # Let's still pretend it is `configure' which instantiates (i.e., don't
4422 # use $as_me), people would be surprised to read:
4423 # /* config.h. Generated by config.status. */
4424 if test x
"$ac_file" = x-
; then
4427 configure_input
="$ac_file. "
4429 configure_input
=$configure_input"Generated from `echo $ac_file_in |
4430 sed 's,.*/,,'` by configure."
4432 # First look for the input files in the build tree, otherwise in the
4434 ac_file_inputs
=`IFS=:
4435 for f in $ac_file_in; do
4437 -) echo $tmp/stdin ;;
4439 # Absolute (can't be DOS-style, as IFS=:)
4440 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4441 echo "$as_me: error: cannot find input file: $f" >&2;}
4442 { (exit 1); exit 1; }; }
4445 if test -f "$f"; then
4448 elif test -f "$srcdir/$f"; then
4453 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4454 echo "$as_me: error: cannot find input file: $f" >&2;}
4455 { (exit 1); exit 1; }; }
4458 done` ||
{ (exit 1); exit 1; }
4460 cat >>$CONFIG_STATUS <<_ACEOF
4464 cat >>$CONFIG_STATUS <<\_ACEOF
4466 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
4467 s
,@configure_input@
,$configure_input,;t t
4468 s
,@srcdir@
,$ac_srcdir,;t t
4469 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
4470 s
,@top_srcdir@
,$ac_top_srcdir,;t t
4471 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
4472 s
,@builddir@
,$ac_builddir,;t t
4473 s
,@abs_builddir@
,$ac_abs_builddir,;t t
4474 s
,@top_builddir@
,$ac_top_builddir,;t t
4475 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
4476 s
,@INSTALL@
,$ac_INSTALL,;t t
4477 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
4479 if test x"$ac_file" != x-; then
4480 mv $tmp/out $ac_file
4488 cat >>$CONFIG_STATUS <<\_ACEOF
4491 # CONFIG_COMMANDS section.
4493 for ac_file in : $CONFIG_COMMANDS; do test "x
$ac_file" = x: && continue
4494 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
4495 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
4496 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
4497 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4498 X"$ac_dest" : 'X\(//\)[^/]' \| \
4499 X"$ac_dest" : 'X\(//\)$' \| \
4500 X"$ac_dest" : 'X\(/\)' \| \
4501 . : '\(.\)' 2>/dev/null ||
4503 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4504 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4505 /^X\(\/\/\)$/{ s//\1/; q; }
4506 /^X\(\/\).*/{ s//\1/; q; }
4508 { if $as_mkdir_p; then
4513 while test ! -d "$as_dir"; do
4514 as_dirs="$as_dir $as_dirs"
4515 as_dir=`(dirname "$as_dir") 2>/dev/null ||
4516 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4517 X"$as_dir" : 'X\(//\)[^/]' \| \
4518 X"$as_dir" : 'X\(//\)$' \| \
4519 X"$as_dir" : 'X\(/\)' \| \
4520 . : '\(.\)' 2>/dev/null ||
4522 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4523 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4524 /^X\(\/\/\)$/{ s//\1/; q; }
4525 /^X\(\/\).*/{ s//\1/; q; }
4528 test ! -n "$as_dirs" || mkdir $as_dirs
4529 fi || { { echo "$as_me:$LINENO: error
: cannot create directory
\"$ac_dir\"" >&5
4530 echo "$as_me: error
: cannot create directory
\"$ac_dir\"" >&2;}
4531 { (exit 1); exit 1; }; }; }
4535 if test "$ac_dir" != .; then
4536 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4537 # A "..
/" for each directory in $ac_dir_suffix.
4538 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
4540 ac_dir_suffix= ac_top_builddir=
4544 .) # No --srcdir option. We are building in place.
4546 if test -z "$ac_top_builddir"; then
4549 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
4551 [\\/]* | ?:[\\/]* ) # Absolute path.
4552 ac_srcdir=$srcdir$ac_dir_suffix;
4553 ac_top_srcdir=$srcdir ;;
4555 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
4556 ac_top_srcdir=$ac_top_builddir$srcdir ;;
4559 # Do not use `cd foo && pwd` to compute absolute paths, because
4560 # the directories may not exist.
4562 .) ac_abs_builddir="$ac_dir";;
4565 .) ac_abs_builddir=`pwd`;;
4566 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
4567 *) ac_abs_builddir=`pwd`/"$ac_dir";;
4570 case $ac_abs_builddir in
4571 .) ac_abs_top_builddir=${ac_top_builddir}.;;
4573 case ${ac_top_builddir}. in
4574 .) ac_abs_top_builddir=$ac_abs_builddir;;
4575 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
4576 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
4579 case $ac_abs_builddir in
4580 .) ac_abs_srcdir=$ac_srcdir;;
4583 .) ac_abs_srcdir=$ac_abs_builddir;;
4584 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
4585 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
4588 case $ac_abs_builddir in
4589 .) ac_abs_top_srcdir=$ac_top_srcdir;;
4591 case $ac_top_srcdir in
4592 .) ac_abs_top_srcdir=$ac_abs_builddir;;
4593 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
4594 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
4599 { echo "$as_me:$LINENO: executing
$ac_dest commands
" >&5
4600 echo "$as_me: executing
$ac_dest commands
" >&6;}
4602 default ) test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
4603 if test -n "$CONFIG_FILES"; then
4604 # FIXME: We shouldn't need to set ac_file
4606 . ${libgcc_topdir}/config-ml.in
4612 cat >>$CONFIG_STATUS <<\_ACEOF
4614 { (exit 0); exit 0; }
4616 chmod +x $CONFIG_STATUS
4617 ac_clean_files=$ac_clean_files_save
4620 # configure is writing to config.log, and then calls config.status.
4621 # config.status does its own redirection, appending to config.log.
4622 # Unfortunately, on DOS this fails, as config.log is still kept open
4623 # by configure, so config.status won't be able to write to it; its
4624 # output is simply discarded. So we exec the FD to /dev/null,
4625 # effectively closing config.log, so it can be properly (re)opened and
4626 # appended to by config.status. When coming back to configure, we
4627 # need to make the FD available again.
4628 if test "$no_create" != yes; then
4630 ac_config_status_args=
4631 test "$silent" = yes &&
4632 ac_config_status_args="$ac_config_status_args --quiet"
4634 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4636 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4637 # would make configure fail if this is the last instruction.
4638 $ac_cs_success || { (exit 1); exit 1; }