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 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 vis_hide tmake_file extra_parts asm_hidden_op LIBOBJS LTLIBOBJS'
278 # Initialize some variables set by options.
280 ac_init_version=false
281 # The variables have the same names as the options, with
282 # dashes changed to underlines.
290 program_transform_name=s,x,x,
298 # Installation directory options.
299 # These are left unexpanded so users can "make install exec_prefix=/foo"
300 # and all the variables that are supposed to be based on exec_prefix
301 # by default will actually change.
302 # Use braces instead of parens because sh, perl, etc. also accept them.
303 bindir='${exec_prefix}/bin'
304 sbindir='${exec_prefix}/sbin'
305 libexecdir='${exec_prefix}/libexec'
306 datadir='${prefix}/share'
307 sysconfdir='${prefix}/etc'
308 sharedstatedir='${prefix}/com'
309 localstatedir='${prefix}/var'
310 libdir='${exec_prefix}/lib'
311 includedir='${prefix}/include'
312 oldincludedir='/usr/include'
313 infodir='${prefix}/info'
314 mandir='${prefix}/man'
319 # If the previous option needs an argument, assign it.
320 if test -n "$ac_prev"; then
321 eval "$ac_prev=\$ac_option"
326 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
328 # Accept the important Cygnus configure options, so we can diagnose typos.
332 -bindir | --bindir | --bindi | --bind | --bin | --bi)
334 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
337 -build | --build | --buil | --bui | --bu)
338 ac_prev=build_alias ;;
339 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
340 build_alias=$ac_optarg ;;
342 -cache-file | --cache-file | --cache-fil | --cache-fi \
343 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
344 ac_prev=cache_file ;;
345 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
346 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
347 cache_file=$ac_optarg ;;
350 cache_file=config.cache ;;
352 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
354 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
356 datadir=$ac_optarg ;;
358 -disable-* | --disable-*)
359 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
360 # Reject names that are not valid shell variable names.
361 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
362 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
363 { (exit 1); exit 1; }; }
364 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
365 eval "enable_$ac_feature=no" ;;
367 -enable-* | --enable-*)
368 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
369 # Reject names that are not valid shell variable names.
370 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
371 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
372 { (exit 1); exit 1; }; }
373 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
375 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
378 eval "enable_$ac_feature='$ac_optarg'" ;;
380 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
381 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
382 | --exec | --exe | --ex)
383 ac_prev=exec_prefix ;;
384 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
385 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
386 | --exec=* | --exe=* | --ex=*)
387 exec_prefix=$ac_optarg ;;
389 -gas | --gas | --ga | --g)
390 # Obsolete; use --with-gas.
393 -help | --help | --hel | --he | -h)
395 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
396 ac_init_help=recursive ;;
397 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
398 ac_init_help=short ;;
400 -host | --host | --hos | --ho)
401 ac_prev=host_alias ;;
402 -host=* | --host=* | --hos=* | --ho=*)
403 host_alias=$ac_optarg ;;
405 -includedir | --includedir | --includedi | --included | --include \
406 | --includ | --inclu | --incl | --inc)
407 ac_prev=includedir ;;
408 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
409 | --includ=* | --inclu=* | --incl=* | --inc=*)
410 includedir=$ac_optarg ;;
412 -infodir | --infodir | --infodi | --infod | --info | --inf)
414 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
415 infodir=$ac_optarg ;;
417 -libdir | --libdir | --libdi | --libd)
419 -libdir=* | --libdir=* | --libdi=* | --libd=*)
422 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
423 | --libexe | --libex | --libe)
424 ac_prev=libexecdir ;;
425 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
426 | --libexe=* | --libex=* | --libe=*)
427 libexecdir=$ac_optarg ;;
429 -localstatedir | --localstatedir | --localstatedi | --localstated \
430 | --localstate | --localstat | --localsta | --localst \
431 | --locals | --local | --loca | --loc | --lo)
432 ac_prev=localstatedir ;;
433 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
434 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
435 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
436 localstatedir=$ac_optarg ;;
438 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
440 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
444 # Obsolete; use --without-fp.
447 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
448 | --no-cr | --no-c | -n)
451 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
452 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
455 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
456 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
457 | --oldin | --oldi | --old | --ol | --o)
458 ac_prev=oldincludedir ;;
459 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
460 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
461 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
462 oldincludedir=$ac_optarg ;;
464 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
466 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
469 -program-prefix | --program-prefix | --program-prefi | --program-pref \
470 | --program-pre | --program-pr | --program-p)
471 ac_prev=program_prefix ;;
472 -program-prefix=* | --program-prefix=* | --program-prefi=* \
473 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
474 program_prefix=$ac_optarg ;;
476 -program-suffix | --program-suffix | --program-suffi | --program-suff \
477 | --program-suf | --program-su | --program-s)
478 ac_prev=program_suffix ;;
479 -program-suffix=* | --program-suffix=* | --program-suffi=* \
480 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
481 program_suffix=$ac_optarg ;;
483 -program-transform-name | --program-transform-name \
484 | --program-transform-nam | --program-transform-na \
485 | --program-transform-n | --program-transform- \
486 | --program-transform | --program-transfor \
487 | --program-transfo | --program-transf \
488 | --program-trans | --program-tran \
489 | --progr-tra | --program-tr | --program-t)
490 ac_prev=program_transform_name ;;
491 -program-transform-name=* | --program-transform-name=* \
492 | --program-transform-nam=* | --program-transform-na=* \
493 | --program-transform-n=* | --program-transform-=* \
494 | --program-transform=* | --program-transfor=* \
495 | --program-transfo=* | --program-transf=* \
496 | --program-trans=* | --program-tran=* \
497 | --progr-tra=* | --program-tr=* | --program-t=*)
498 program_transform_name=$ac_optarg ;;
500 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
501 | -silent | --silent | --silen | --sile | --sil)
504 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
506 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
508 sbindir=$ac_optarg ;;
510 -sharedstatedir | --sharedstatedir | --sharedstatedi \
511 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
512 | --sharedst | --shareds | --shared | --share | --shar \
514 ac_prev=sharedstatedir ;;
515 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
516 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
517 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
519 sharedstatedir=$ac_optarg ;;
521 -site | --site | --sit)
523 -site=* | --site=* | --sit=*)
526 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
528 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
531 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
532 | --syscon | --sysco | --sysc | --sys | --sy)
533 ac_prev=sysconfdir ;;
534 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
535 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
536 sysconfdir=$ac_optarg ;;
538 -target | --target | --targe | --targ | --tar | --ta | --t)
539 ac_prev=target_alias ;;
540 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
541 target_alias=$ac_optarg ;;
543 -v | -verbose | --verbose | --verbos | --verbo | --verb)
546 -version | --version | --versio | --versi | --vers | -V)
550 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
551 # Reject names that are not valid shell variable names.
552 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
553 { echo "$as_me: error: invalid package name: $ac_package" >&2
554 { (exit 1); exit 1; }; }
555 ac_package=`echo $ac_package| sed 's/-/_/g'`
557 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
560 eval "with_$ac_package='$ac_optarg'" ;;
562 -without-* | --without-*)
563 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
564 # Reject names that are not valid shell variable names.
565 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
566 { echo "$as_me: error: invalid package name: $ac_package" >&2
567 { (exit 1); exit 1; }; }
568 ac_package=`echo $ac_package | sed 's/-/_/g'`
569 eval "with_$ac_package=no" ;;
572 # Obsolete; use --with-x.
575 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
576 | --x-incl | --x-inc | --x-in | --x-i)
577 ac_prev=x_includes ;;
578 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
579 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
580 x_includes=$ac_optarg ;;
582 -x-libraries | --x-libraries | --x-librarie | --x-librari \
583 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
584 ac_prev=x_libraries ;;
585 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
586 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
587 x_libraries=$ac_optarg ;;
589 -*) { echo "$as_me: error: unrecognized option: $ac_option
590 Try \`$0 --help' for more information." >&2
591 { (exit 1); exit 1; }; }
595 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
596 # Reject names that are not valid shell variable names.
597 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
598 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
599 { (exit 1); exit 1; }; }
600 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
601 eval "$ac_envvar='$ac_optarg'"
605 # FIXME: should be removed in autoconf 3.0.
606 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
607 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
608 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
609 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
615 if test -n "$ac_prev"; then
616 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
617 { echo "$as_me: error: missing argument to $ac_option" >&2
618 { (exit 1); exit 1; }; }
621 # Be sure to have absolute paths.
622 for ac_var in exec_prefix prefix
624 eval ac_val=$`echo $ac_var`
626 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
627 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
628 { (exit 1); exit 1; }; };;
632 # Be sure to have absolute paths.
633 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
634 localstatedir libdir includedir oldincludedir infodir mandir
636 eval ac_val=$`echo $ac_var`
638 [\\/$]* | ?:[\\/]* ) ;;
639 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
640 { (exit 1); exit 1; }; };;
644 # There might be people who depend on the old broken behavior: `$host'
645 # used to hold the argument of --host etc.
646 # FIXME: To remove some day.
651 # FIXME: To remove some day.
652 if test "x$host_alias" != x; then
653 if test "x$build_alias" = x; then
654 cross_compiling=maybe
655 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
656 If a cross compiler is detected then cross compile mode will be used." >&2
657 elif test "x$build_alias" != "x$host_alias"; then
663 test -n "$host_alias" && ac_tool_prefix=$host_alias-
665 test "$silent" = yes && exec 6>/dev/null
668 # Find the source files, if location was not specified.
669 if test -z "$srcdir"; then
670 ac_srcdir_defaulted=yes
671 # Try the directory containing this script, then its parent.
672 ac_confdir=`(dirname "$0") 2>/dev/null ||
673 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
674 X"$0" : 'X\(//\)[^/]' \| \
675 X"$0" : 'X\(//\)$' \| \
676 X"$0" : 'X\(/\)' \| \
677 . : '\(.\)' 2>/dev/null ||
679 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
680 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
681 /^X\(\/\/\)$/{ s//\1/; q; }
682 /^X\(\/\).*/{ s//\1/; q; }
685 if test ! -r $srcdir/$ac_unique_file; then
689 ac_srcdir_defaulted=no
691 if test ! -r $srcdir/$ac_unique_file; then
692 if test "$ac_srcdir_defaulted" = yes; then
693 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
694 { (exit 1); exit 1; }; }
696 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
697 { (exit 1); exit 1; }; }
700 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
701 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
702 { (exit 1); exit 1; }; }
703 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
704 ac_env_build_alias_set=${build_alias+set}
705 ac_env_build_alias_value=$build_alias
706 ac_cv_env_build_alias_set=${build_alias+set}
707 ac_cv_env_build_alias_value=$build_alias
708 ac_env_host_alias_set=${host_alias+set}
709 ac_env_host_alias_value=$host_alias
710 ac_cv_env_host_alias_set=${host_alias+set}
711 ac_cv_env_host_alias_value=$host_alias
712 ac_env_target_alias_set=${target_alias+set}
713 ac_env_target_alias_value=$target_alias
714 ac_cv_env_target_alias_set=${target_alias+set}
715 ac_cv_env_target_alias_value=$target_alias
716 ac_env_CC_set=${CC+set}
718 ac_cv_env_CC_set=${CC+set}
719 ac_cv_env_CC_value=$CC
720 ac_env_CFLAGS_set=${CFLAGS+set}
721 ac_env_CFLAGS_value=$CFLAGS
722 ac_cv_env_CFLAGS_set=${CFLAGS+set}
723 ac_cv_env_CFLAGS_value=$CFLAGS
724 ac_env_LDFLAGS_set=${LDFLAGS+set}
725 ac_env_LDFLAGS_value=$LDFLAGS
726 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
727 ac_cv_env_LDFLAGS_value=$LDFLAGS
728 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
729 ac_env_CPPFLAGS_value=$CPPFLAGS
730 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
731 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
732 ac_env_CPP_set=${CPP+set}
733 ac_env_CPP_value=$CPP
734 ac_cv_env_CPP_set=${CPP+set}
735 ac_cv_env_CPP_value=$CPP
738 # Report the --help message.
740 if test "$ac_init_help" = "long"; then
741 # Omit some internal or obsolete options to make the list less imposing.
742 # This message is too long to be a string in the A/UX 3.1 sh.
744 \`configure' configures GNU C Runtime Library 1.0 to adapt to many kinds of systems.
746 Usage: $0 [OPTION]... [VAR=VALUE]...
748 To assign environment variables (e.g., CC, CFLAGS...), specify them as
749 VAR=VALUE. See below for descriptions of some of the useful variables.
751 Defaults for the options are specified in brackets.
754 -h, --help display this help and exit
755 --help=short display options specific to this package
756 --help=recursive display the short help of all the included packages
757 -V, --version display version information and exit
758 -q, --quiet, --silent do not print \`checking...' messages
759 --cache-file=FILE cache test results in FILE [disabled]
760 -C, --config-cache alias for \`--cache-file=config.cache'
761 -n, --no-create do not create output files
762 --srcdir=DIR find the sources in DIR [configure dir or \`..']
767 Installation directories:
768 --prefix=PREFIX install architecture-independent files in PREFIX
770 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
773 By default, \`make install' will install all the files in
774 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
775 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
776 for instance \`--prefix=\$HOME'.
778 For better control, use the options below.
780 Fine tuning of the installation directories:
781 --bindir=DIR user executables [EPREFIX/bin]
782 --sbindir=DIR system admin executables [EPREFIX/sbin]
783 --libexecdir=DIR program executables [EPREFIX/libexec]
784 --datadir=DIR read-only architecture-independent data [PREFIX/share]
785 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
786 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
787 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
788 --libdir=DIR object code libraries [EPREFIX/lib]
789 --includedir=DIR C header files [PREFIX/include]
790 --oldincludedir=DIR C header files for non-gcc [/usr/include]
791 --infodir=DIR info documentation [PREFIX/info]
792 --mandir=DIR man documentation [PREFIX/man]
798 --build=BUILD configure for building on BUILD [guessed]
799 --host=HOST cross-compile to build programs to run on HOST [BUILD]
803 if test -n "$ac_init_help"; then
804 case $ac_init_help in
805 short | recursive ) echo "Configuration of GNU C Runtime Library 1.0:";;
810 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
811 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
812 --disable-shared don't provide a shared libgcc
815 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
816 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
817 --with-target-subdir=SUBDIR Configuring in a subdirectory for target
818 --with-cross-host=HOST Configuring with a cross compiler
819 --with-ld arrange to use the specified ld (full pathname)
820 --with-slibdir=DIR shared libraries in DIR LIBDIR
822 Some influential environment variables:
823 CC C compiler command
824 CFLAGS C compiler flags
825 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
826 nonstandard directory <lib dir>
827 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
828 headers in a nonstandard directory <include dir>
831 Use these variables to override the choices made by `configure' or to help
832 it to find libraries and programs with nonstandard names/locations.
837 if test "$ac_init_help" = "recursive"; then
838 # If there are subdirs, report their specific --help.
840 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
841 test -d $ac_dir || continue
844 if test "$ac_dir" != .; then
845 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
846 # A "../" for each directory in $ac_dir_suffix.
847 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
849 ac_dir_suffix= ac_top_builddir=
853 .) # No --srcdir option. We are building in place.
855 if test -z "$ac_top_builddir"; then
858 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
860 [\\/]* | ?:[\\/]* ) # Absolute path.
861 ac_srcdir=$srcdir$ac_dir_suffix;
862 ac_top_srcdir=$srcdir ;;
864 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
865 ac_top_srcdir=$ac_top_builddir$srcdir ;;
868 # Do not use `cd foo && pwd` to compute absolute paths, because
869 # the directories may not exist.
871 .) ac_abs_builddir="$ac_dir";;
874 .) ac_abs_builddir=`pwd`;;
875 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
876 *) ac_abs_builddir=`pwd`/"$ac_dir";;
879 case $ac_abs_builddir in
880 .) ac_abs_top_builddir=${ac_top_builddir}.;;
882 case ${ac_top_builddir}. in
883 .) ac_abs_top_builddir=$ac_abs_builddir;;
884 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
885 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
888 case $ac_abs_builddir in
889 .) ac_abs_srcdir=$ac_srcdir;;
892 .) ac_abs_srcdir=$ac_abs_builddir;;
893 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
894 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
897 case $ac_abs_builddir in
898 .) ac_abs_top_srcdir=$ac_top_srcdir;;
900 case $ac_top_srcdir in
901 .) ac_abs_top_srcdir=$ac_abs_builddir;;
902 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
903 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
908 # Check for guested configure; otherwise get Cygnus style configure.
909 if test -f $ac_srcdir/configure.gnu; then
911 $SHELL $ac_srcdir/configure.gnu --help=recursive
912 elif test -f $ac_srcdir/configure; then
914 $SHELL $ac_srcdir/configure --help=recursive
915 elif test -f $ac_srcdir/configure.ac ||
916 test -f $ac_srcdir/configure.in; then
920 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
926 test -n "$ac_init_help" && exit 0
927 if $ac_init_version; then
929 GNU C Runtime Library configure 1.0
930 generated by GNU Autoconf 2.59
932 Copyright (C) 2003 Free Software Foundation, Inc.
933 This configure script is free software; the Free Software Foundation
934 gives unlimited permission to copy, distribute and modify it.
940 This file contains any messages produced by compilers while
941 running configure, to aid debugging if configure makes a mistake.
943 It was created by GNU C Runtime Library $as_me 1.0, which was
944 generated by GNU Autoconf 2.59. Invocation command line was
955 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
956 uname -m = `(uname -m) 2>/dev/null || echo unknown`
957 uname -r = `(uname -r) 2>/dev/null || echo unknown`
958 uname -s = `(uname -s) 2>/dev/null || echo unknown`
959 uname -v = `(uname -v) 2>/dev/null || echo unknown`
961 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
962 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
964 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
965 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
966 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
967 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
968 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
969 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
970 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
974 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
978 test -z "$as_dir" && as_dir=.
994 # Keep a trace of the command line.
995 # Strip out --no-create and --no-recursion so they do not pile up.
996 # Strip out --silent because we don't want to record it for future runs.
997 # Also quote any args containing shell meta-characters.
998 # Make two passes to allow for proper duplicate-argument suppression.
1003 ac_must_keep_next=false
1009 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1010 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1011 | -silent | --silent | --silen | --sile | --sil)
1013 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1014 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1017 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1019 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1020 if test $ac_must_keep_next = true; then
1021 ac_must_keep_next=false # Got value, back to normal.
1024 *=* | --config-cache | -C | -disable-* | --disable-* \
1025 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1026 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1027 | -with-* | --with-* | -without-* | --without-* | --x)
1028 case "$ac_configure_args0 " in
1029 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1032 -* ) ac_must_keep_next=true ;;
1035 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1036 # Get rid of the leading space.
1042 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1043 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1045 # When interrupted or exit'd, cleanup temporary files, and complete
1046 # config.log. We remove comments because anyway the quotes in there
1047 # would cause problems or look ugly.
1048 # WARNING: Be sure not to use single quotes in there, as some shells,
1049 # such as our DU 5.0 friend, will then `close' the trap.
1050 trap 'exit_status=$?
1051 # Save into config.log some information that might help in debugging.
1056 ## ---------------- ##
1057 ## Cache variables. ##
1058 ## ---------------- ##
1061 # The following way of writing the cache mishandles newlines in values,
1064 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1067 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1068 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1072 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1079 ## ----------------- ##
1080 ## Output variables. ##
1081 ## ----------------- ##
1084 for ac_var in $ac_subst_vars
1086 eval ac_val=$`echo $ac_var`
1087 echo "$ac_var='"'"'$ac_val'"'"'"
1091 if test -n "$ac_subst_files"; then
1098 for ac_var in $ac_subst_files
1100 eval ac_val=$`echo $ac_var`
1101 echo "$ac_var='"'"'$ac_val'"'"'"
1106 if test -s confdefs.h; then
1113 sed "/^$/d" confdefs.h | sort
1116 test "$ac_signal" != 0 &&
1117 echo "$as_me: caught signal $ac_signal"
1118 echo "$as_me: exit $exit_status"
1120 rm -f core *.core &&
1121 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1124 for ac_signal in 1 2 13 15; do
1125 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1129 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1130 rm -rf conftest* confdefs.h
1131 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1134 # Predefined preprocessor variables.
1136 cat >>confdefs.h <<_ACEOF
1137 #define PACKAGE_NAME "$PACKAGE_NAME"
1141 cat >>confdefs.h <<_ACEOF
1142 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1146 cat >>confdefs.h <<_ACEOF
1147 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1151 cat >>confdefs.h <<_ACEOF
1152 #define PACKAGE_STRING "$PACKAGE_STRING"
1156 cat >>confdefs.h <<_ACEOF
1157 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1161 # Let the site file select an alternate cache file if it wants to.
1162 # Prefer explicitly selected file to automatically selected ones.
1163 if test -z "$CONFIG_SITE"; then
1164 if test "x$prefix" != xNONE; then
1165 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1167 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1170 for ac_site_file in $CONFIG_SITE; do
1171 if test -r "$ac_site_file"; then
1172 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1173 echo "$as_me: loading site script $ac_site_file" >&6;}
1174 sed 's/^/| /' "$ac_site_file" >&5
1179 if test -r "$cache_file"; then
1180 # Some versions of bash will fail to source /dev/null (special
1181 # files actually), so we avoid doing that.
1182 if test -f "$cache_file"; then
1183 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1184 echo "$as_me: loading cache $cache_file" >&6;}
1186 [\\/]* | ?:[\\/]* ) . $cache_file;;
1187 *) . ./$cache_file;;
1191 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1192 echo "$as_me: creating cache $cache_file" >&6;}
1196 # Check that the precious variables saved in the cache have kept the same
1198 ac_cache_corrupted=false
1199 for ac_var in `(set) 2>&1 |
1200 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1201 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1202 eval ac_new_set=\$ac_env_${ac_var}_set
1203 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1204 eval ac_new_val="\$ac_env_${ac_var}_value"
1205 case $ac_old_set,$ac_new_set in
1207 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1208 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1209 ac_cache_corrupted=: ;;
1211 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1212 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1213 ac_cache_corrupted=: ;;
1216 if test "x$ac_old_val" != "x$ac_new_val"; then
1217 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1218 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1219 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1220 echo "$as_me: former value: $ac_old_val" >&2;}
1221 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1222 echo "$as_me: current value: $ac_new_val" >&2;}
1223 ac_cache_corrupted=:
1226 # Pass precious variables to config.status.
1227 if test "$ac_new_set" = set; then
1229 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1230 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1231 *) ac_arg=$ac_var=$ac_new_val ;;
1233 case " $ac_configure_args " in
1234 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1235 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1239 if $ac_cache_corrupted; then
1240 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1241 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1242 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1243 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1244 { (exit 1); exit 1; }; }
1248 ac_cpp='$CPP $CPPFLAGS'
1249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1282 # Check whether --with-target-subdir or --without-target-subdir was given.
1283 if test "${with_target_subdir+set}" = set; then
1284 withval="$with_target_subdir"
1288 # Check whether --with-cross-host or --without-cross-host was given.
1289 if test "${with_cross_host+set}" = set; then
1290 withval="$with_cross_host"
1294 # Check whether --with-ld or --without-ld was given.
1295 if test "${with_ld+set}" = set; then
1300 if test "${srcdir}" = "."; then
1301 if test -n "${with_build_subdir}"; then
1302 libgcc_topdir="${srcdir}/../.."
1304 elif test -z "${with_target_subdir}"; then
1305 libgcc_topdir="${srcdir}/.."
1307 if test "${with_target_subdir}" != "."; then
1308 libgcc_topdir="${srcdir}/${with_multisrctop}../.."
1310 libgcc_topdir="${srcdir}/${with_multisrctop}.."
1314 libgcc_topdir="${srcdir}/.."
1318 for ac_dir in $libgcc_topdir $srcdir/$libgcc_topdir; do
1319 if test -f $ac_dir/install-sh; then
1321 ac_install_sh="$ac_aux_dir/install-sh -c"
1323 elif test -f $ac_dir/install.sh; then
1325 ac_install_sh="$ac_aux_dir/install.sh -c"
1327 elif test -f $ac_dir/shtool; then
1329 ac_install_sh="$ac_aux_dir/shtool install -c"
1333 if test -z "$ac_aux_dir"; then
1334 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $libgcc_topdir $srcdir/$libgcc_topdir" >&5
1335 echo "$as_me: error: cannot find install-sh or install.sh in $libgcc_topdir $srcdir/$libgcc_topdir" >&2;}
1336 { (exit 1); exit 1; }; }
1338 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1339 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1340 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1343 # Check whether --enable-shared or --disable-shared was given.
1344 if test "${enable_shared+set}" = set; then
1345 enableval="$enable_shared"
1347 case $enable_shared in
1351 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1352 for pkg in $enableval; do
1353 if test "X$pkg" = "Xgcc" || test "X$pkg" = "Xlibgcc"; then
1367 # Check whether --with-slibdir or --without-slibdir was given.
1368 if test "${with_slibdir+set}" = set; then
1369 withval="$with_slibdir"
1370 slibdir="$with_slibdir"
1372 if test "${enable_version_specific_runtime_libs+set}" = set; then
1373 slibdir='$(libsubdir)'
1374 elif test "$host" != "$target"; then
1375 slibdir='$(build_tooldir)/lib'
1382 # Find a good install program. We prefer a C program (faster),
1383 # so one script is as good as another. But avoid the broken or
1384 # incompatible versions:
1385 # SysV /etc/install, /usr/sbin/install
1386 # SunOS /usr/etc/install
1387 # IRIX /sbin/install
1389 # AmigaOS /C/install, which installs bootblocks on floppy discs
1390 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1391 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1392 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1393 # OS/2's system install, which has a completely different semantic
1394 # ./install, which can be erroneously created by make from ./install.sh.
1395 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1396 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1397 if test -z "$INSTALL"; then
1398 if test "${ac_cv_path_install+set}" = set; then
1399 echo $ECHO_N "(cached) $ECHO_C" >&6
1401 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1405 test -z "$as_dir" && as_dir=.
1406 # Account for people who put trailing slashes in PATH elements.
1408 ./ | .// | /cC/* | \
1409 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1410 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1413 # OSF1 and SCO ODT 3.0 have their own names for install.
1414 # Don't use installbsd from OSF since it installs stuff as root
1416 for ac_prog in ginstall scoinst install; do
1417 for ac_exec_ext in '' $ac_executable_extensions; do
1418 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1419 if test $ac_prog = install &&
1420 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1421 # AIX install. It has an incompatible calling convention.
1423 elif test $ac_prog = install &&
1424 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1425 # program-specific install script used by HP pwplus--don't use.
1428 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1440 if test "${ac_cv_path_install+set}" = set; then
1441 INSTALL=$ac_cv_path_install
1443 # As a last resort, use the slow shell script. We don't cache a
1444 # path for INSTALL within a source directory, because that will
1445 # break other packages using the cache if that directory is
1446 # removed, or if the path is relative.
1447 INSTALL=$ac_install_sh
1450 echo "$as_me:$LINENO: result: $INSTALL" >&5
1451 echo "${ECHO_T}$INSTALL" >&6
1453 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1454 # It thinks the first close brace ends the variable substitution.
1455 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1457 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1459 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1462 for ac_prog in gawk mawk nawk awk
1464 # Extract the first word of "$ac_prog", so it can be a program name with args.
1465 set dummy $ac_prog; ac_word=$2
1466 echo "$as_me:$LINENO: checking for $ac_word" >&5
1467 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1468 if test "${ac_cv_prog_AWK+set}" = set; then
1469 echo $ECHO_N "(cached) $ECHO_C" >&6
1471 if test -n "$AWK"; then
1472 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1474 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1478 test -z "$as_dir" && as_dir=.
1479 for ac_exec_ext in '' $ac_executable_extensions; do
1480 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1481 ac_cv_prog_AWK="$ac_prog"
1482 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1491 if test -n "$AWK"; then
1492 echo "$as_me:$LINENO: result: $AWK" >&5
1493 echo "${ECHO_T}$AWK" >&6
1495 echo "$as_me:$LINENO: result: no" >&5
1496 echo "${ECHO_T}no" >&6
1499 test -n "$AWK" && break
1502 # We need awk; bail out if it's missing.
1504 "") { { echo "$as_me:$LINENO: error: can't build without awk, bailing out" >&5
1505 echo "$as_me: error: can't build without awk, bailing out" >&2;}
1506 { (exit 1); exit 1; }; } ;;
1509 # Make sure we can run config.sub.
1510 $ac_config_sub sun4 >/dev/null 2>&1 ||
1511 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1512 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1513 { (exit 1); exit 1; }; }
1515 echo "$as_me:$LINENO: checking build system type" >&5
1516 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1517 if test "${ac_cv_build+set}" = set; then
1518 echo $ECHO_N "(cached) $ECHO_C" >&6
1520 ac_cv_build_alias=$build_alias
1521 test -z "$ac_cv_build_alias" &&
1522 ac_cv_build_alias=`$ac_config_guess`
1523 test -z "$ac_cv_build_alias" &&
1524 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1525 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1526 { (exit 1); exit 1; }; }
1527 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1528 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1529 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1530 { (exit 1); exit 1; }; }
1533 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1534 echo "${ECHO_T}$ac_cv_build" >&6
1536 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1537 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1538 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1541 echo "$as_me:$LINENO: checking host system type" >&5
1542 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1543 if test "${ac_cv_host+set}" = set; then
1544 echo $ECHO_N "(cached) $ECHO_C" >&6
1546 ac_cv_host_alias=$host_alias
1547 test -z "$ac_cv_host_alias" &&
1548 ac_cv_host_alias=$ac_cv_build_alias
1549 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1550 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1551 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1552 { (exit 1); exit 1; }; }
1555 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1556 echo "${ECHO_T}$ac_cv_host" >&6
1558 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1559 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1560 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1563 case ${build_alias} in
1564 "") build_noncanonical=${build} ;;
1565 *) build_noncanonical=${build_alias} ;;
1568 case ${host_alias} in
1569 "") host_noncanonical=${build_noncanonical} ;;
1570 *) host_noncanonical=${host_alias} ;;
1576 if test -n "$ac_tool_prefix"; then
1577 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
1578 set dummy ${ac_tool_prefix}ar; ac_word=$2
1579 echo "$as_me:$LINENO: checking for $ac_word" >&5
1580 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1581 if test "${ac_cv_prog_AR+set}" = set; then
1582 echo $ECHO_N "(cached) $ECHO_C" >&6
1584 if test -n "$AR"; then
1585 ac_cv_prog_AR="$AR" # Let the user override the test.
1587 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1591 test -z "$as_dir" && as_dir=.
1592 for ac_exec_ext in '' $ac_executable_extensions; do
1593 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1594 ac_cv_prog_AR="${ac_tool_prefix}ar"
1595 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1604 if test -n "$AR"; then
1605 echo "$as_me:$LINENO: result: $AR" >&5
1606 echo "${ECHO_T}$AR" >&6
1608 echo "$as_me:$LINENO: result: no" >&5
1609 echo "${ECHO_T}no" >&6
1613 if test -z "$ac_cv_prog_AR"; then
1615 # Extract the first word of "ar", so it can be a program name with args.
1616 set dummy ar; ac_word=$2
1617 echo "$as_me:$LINENO: checking for $ac_word" >&5
1618 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1619 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
1620 echo $ECHO_N "(cached) $ECHO_C" >&6
1622 if test -n "$ac_ct_AR"; then
1623 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
1625 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1629 test -z "$as_dir" && as_dir=.
1630 for ac_exec_ext in '' $ac_executable_extensions; do
1631 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1632 ac_cv_prog_ac_ct_AR="ar"
1633 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1641 ac_ct_AR=$ac_cv_prog_ac_ct_AR
1642 if test -n "$ac_ct_AR"; then
1643 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
1644 echo "${ECHO_T}$ac_ct_AR" >&6
1646 echo "$as_me:$LINENO: result: no" >&5
1647 echo "${ECHO_T}no" >&6
1655 if test -n "$ac_tool_prefix"; then
1656 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
1657 set dummy ${ac_tool_prefix}lipo; ac_word=$2
1658 echo "$as_me:$LINENO: checking for $ac_word" >&5
1659 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1660 if test "${ac_cv_prog_LIPO+set}" = set; then
1661 echo $ECHO_N "(cached) $ECHO_C" >&6
1663 if test -n "$LIPO"; then
1664 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
1666 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1670 test -z "$as_dir" && as_dir=.
1671 for ac_exec_ext in '' $ac_executable_extensions; do
1672 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1673 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
1674 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1682 LIPO=$ac_cv_prog_LIPO
1683 if test -n "$LIPO"; then
1684 echo "$as_me:$LINENO: result: $LIPO" >&5
1685 echo "${ECHO_T}$LIPO" >&6
1687 echo "$as_me:$LINENO: result: no" >&5
1688 echo "${ECHO_T}no" >&6
1692 if test -z "$ac_cv_prog_LIPO"; then
1694 # Extract the first word of "lipo", so it can be a program name with args.
1695 set dummy lipo; ac_word=$2
1696 echo "$as_me:$LINENO: checking for $ac_word" >&5
1697 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1698 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
1699 echo $ECHO_N "(cached) $ECHO_C" >&6
1701 if test -n "$ac_ct_LIPO"; then
1702 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
1704 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1708 test -z "$as_dir" && as_dir=.
1709 for ac_exec_ext in '' $ac_executable_extensions; do
1710 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1711 ac_cv_prog_ac_ct_LIPO="lipo"
1712 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1718 test -z "$ac_cv_prog_ac_ct_LIPO" && ac_cv_prog_ac_ct_LIPO=":"
1721 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
1722 if test -n "$ac_ct_LIPO"; then
1723 echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5
1724 echo "${ECHO_T}$ac_ct_LIPO" >&6
1726 echo "$as_me:$LINENO: result: no" >&5
1727 echo "${ECHO_T}no" >&6
1732 LIPO="$ac_cv_prog_LIPO"
1735 if test -n "$ac_tool_prefix"; then
1736 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
1737 set dummy ${ac_tool_prefix}nm; ac_word=$2
1738 echo "$as_me:$LINENO: checking for $ac_word" >&5
1739 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1740 if test "${ac_cv_prog_NM+set}" = set; then
1741 echo $ECHO_N "(cached) $ECHO_C" >&6
1743 if test -n "$NM"; then
1744 ac_cv_prog_NM="$NM" # Let the user override the test.
1746 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1750 test -z "$as_dir" && as_dir=.
1751 for ac_exec_ext in '' $ac_executable_extensions; do
1752 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1753 ac_cv_prog_NM="${ac_tool_prefix}nm"
1754 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1763 if test -n "$NM"; then
1764 echo "$as_me:$LINENO: result: $NM" >&5
1765 echo "${ECHO_T}$NM" >&6
1767 echo "$as_me:$LINENO: result: no" >&5
1768 echo "${ECHO_T}no" >&6
1772 if test -z "$ac_cv_prog_NM"; then
1774 # Extract the first word of "nm", so it can be a program name with args.
1775 set dummy nm; ac_word=$2
1776 echo "$as_me:$LINENO: checking for $ac_word" >&5
1777 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1778 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
1779 echo $ECHO_N "(cached) $ECHO_C" >&6
1781 if test -n "$ac_ct_NM"; then
1782 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
1784 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1788 test -z "$as_dir" && as_dir=.
1789 for ac_exec_ext in '' $ac_executable_extensions; do
1790 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1791 ac_cv_prog_ac_ct_NM="nm"
1792 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1800 ac_ct_NM=$ac_cv_prog_ac_ct_NM
1801 if test -n "$ac_ct_NM"; then
1802 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
1803 echo "${ECHO_T}$ac_ct_NM" >&6
1805 echo "$as_me:$LINENO: result: no" >&5
1806 echo "${ECHO_T}no" >&6
1814 if test -n "$ac_tool_prefix"; then
1815 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
1816 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
1817 echo "$as_me:$LINENO: checking for $ac_word" >&5
1818 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1819 if test "${ac_cv_prog_RANLIB+set}" = set; then
1820 echo $ECHO_N "(cached) $ECHO_C" >&6
1822 if test -n "$RANLIB"; then
1823 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1825 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1829 test -z "$as_dir" && as_dir=.
1830 for ac_exec_ext in '' $ac_executable_extensions; do
1831 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1832 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
1833 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1841 RANLIB=$ac_cv_prog_RANLIB
1842 if test -n "$RANLIB"; then
1843 echo "$as_me:$LINENO: result: $RANLIB" >&5
1844 echo "${ECHO_T}$RANLIB" >&6
1846 echo "$as_me:$LINENO: result: no" >&5
1847 echo "${ECHO_T}no" >&6
1851 if test -z "$ac_cv_prog_RANLIB"; then
1852 ac_ct_RANLIB=$RANLIB
1853 # Extract the first word of "ranlib", so it can be a program name with args.
1854 set dummy ranlib; ac_word=$2
1855 echo "$as_me:$LINENO: checking for $ac_word" >&5
1856 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1857 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
1858 echo $ECHO_N "(cached) $ECHO_C" >&6
1860 if test -n "$ac_ct_RANLIB"; then
1861 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
1863 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1867 test -z "$as_dir" && as_dir=.
1868 for ac_exec_ext in '' $ac_executable_extensions; do
1869 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1870 ac_cv_prog_ac_ct_RANLIB="ranlib"
1871 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1877 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
1880 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
1881 if test -n "$ac_ct_RANLIB"; then
1882 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
1883 echo "${ECHO_T}$ac_ct_RANLIB" >&6
1885 echo "$as_me:$LINENO: result: no" >&5
1886 echo "${ECHO_T}no" >&6
1889 RANLIB=$ac_ct_RANLIB
1891 RANLIB="$ac_cv_prog_RANLIB"
1894 if test -n "$ac_tool_prefix"; then
1895 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1896 set dummy ${ac_tool_prefix}strip; ac_word=$2
1897 echo "$as_me:$LINENO: checking for $ac_word" >&5
1898 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1899 if test "${ac_cv_prog_STRIP+set}" = set; then
1900 echo $ECHO_N "(cached) $ECHO_C" >&6
1902 if test -n "$STRIP"; then
1903 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1905 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1909 test -z "$as_dir" && as_dir=.
1910 for ac_exec_ext in '' $ac_executable_extensions; do
1911 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1912 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1913 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1921 STRIP=$ac_cv_prog_STRIP
1922 if test -n "$STRIP"; then
1923 echo "$as_me:$LINENO: result: $STRIP" >&5
1924 echo "${ECHO_T}$STRIP" >&6
1926 echo "$as_me:$LINENO: result: no" >&5
1927 echo "${ECHO_T}no" >&6
1931 if test -z "$ac_cv_prog_STRIP"; then
1933 # Extract the first word of "strip", so it can be a program name with args.
1934 set dummy strip; ac_word=$2
1935 echo "$as_me:$LINENO: checking for $ac_word" >&5
1936 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1937 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1938 echo $ECHO_N "(cached) $ECHO_C" >&6
1940 if test -n "$ac_ct_STRIP"; then
1941 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1943 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1947 test -z "$as_dir" && as_dir=.
1948 for ac_exec_ext in '' $ac_executable_extensions; do
1949 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1950 ac_cv_prog_ac_ct_STRIP="strip"
1951 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1957 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1960 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1961 if test -n "$ac_ct_STRIP"; then
1962 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1963 echo "${ECHO_T}$ac_ct_STRIP" >&6
1965 echo "$as_me:$LINENO: result: no" >&5
1966 echo "${ECHO_T}no" >&6
1971 STRIP="$ac_cv_prog_STRIP"
1974 echo "$as_me:$LINENO: checking whether ln -s works" >&5
1975 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
1977 if test "$LN_S" = "ln -s"; then
1978 echo "$as_me:$LINENO: result: yes" >&5
1979 echo "${ECHO_T}yes" >&6
1981 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
1982 echo "${ECHO_T}no, using $LN_S" >&6
1988 ac_cpp='$CPP $CPPFLAGS'
1989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1990 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1991 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1992 if test -n "$ac_tool_prefix"; then
1993 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1994 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1995 echo "$as_me:$LINENO: checking for $ac_word" >&5
1996 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1997 if test "${ac_cv_prog_CC+set}" = set; then
1998 echo $ECHO_N "(cached) $ECHO_C" >&6
2000 if test -n "$CC"; then
2001 ac_cv_prog_CC="$CC" # Let the user override the test.
2003 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2007 test -z "$as_dir" && as_dir=.
2008 for ac_exec_ext in '' $ac_executable_extensions; do
2009 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2010 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2011 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2020 if test -n "$CC"; then
2021 echo "$as_me:$LINENO: result: $CC" >&5
2022 echo "${ECHO_T}$CC" >&6
2024 echo "$as_me:$LINENO: result: no" >&5
2025 echo "${ECHO_T}no" >&6
2029 if test -z "$ac_cv_prog_CC"; then
2031 # Extract the first word of "gcc", so it can be a program name with args.
2032 set dummy gcc; ac_word=$2
2033 echo "$as_me:$LINENO: checking for $ac_word" >&5
2034 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2035 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2036 echo $ECHO_N "(cached) $ECHO_C" >&6
2038 if test -n "$ac_ct_CC"; then
2039 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2041 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2045 test -z "$as_dir" && as_dir=.
2046 for ac_exec_ext in '' $ac_executable_extensions; do
2047 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2048 ac_cv_prog_ac_ct_CC="gcc"
2049 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2057 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2058 if test -n "$ac_ct_CC"; then
2059 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2060 echo "${ECHO_T}$ac_ct_CC" >&6
2062 echo "$as_me:$LINENO: result: no" >&5
2063 echo "${ECHO_T}no" >&6
2071 if test -z "$CC"; then
2072 if test -n "$ac_tool_prefix"; then
2073 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2074 set dummy ${ac_tool_prefix}cc; ac_word=$2
2075 echo "$as_me:$LINENO: checking for $ac_word" >&5
2076 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2077 if test "${ac_cv_prog_CC+set}" = set; then
2078 echo $ECHO_N "(cached) $ECHO_C" >&6
2080 if test -n "$CC"; then
2081 ac_cv_prog_CC="$CC" # Let the user override the test.
2083 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2087 test -z "$as_dir" && as_dir=.
2088 for ac_exec_ext in '' $ac_executable_extensions; do
2089 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2090 ac_cv_prog_CC="${ac_tool_prefix}cc"
2091 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2100 if test -n "$CC"; then
2101 echo "$as_me:$LINENO: result: $CC" >&5
2102 echo "${ECHO_T}$CC" >&6
2104 echo "$as_me:$LINENO: result: no" >&5
2105 echo "${ECHO_T}no" >&6
2109 if test -z "$ac_cv_prog_CC"; then
2111 # Extract the first word of "cc", so it can be a program name with args.
2112 set dummy cc; ac_word=$2
2113 echo "$as_me:$LINENO: checking for $ac_word" >&5
2114 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2115 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2116 echo $ECHO_N "(cached) $ECHO_C" >&6
2118 if test -n "$ac_ct_CC"; then
2119 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2121 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2125 test -z "$as_dir" && as_dir=.
2126 for ac_exec_ext in '' $ac_executable_extensions; do
2127 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2128 ac_cv_prog_ac_ct_CC="cc"
2129 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2137 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2138 if test -n "$ac_ct_CC"; then
2139 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2140 echo "${ECHO_T}$ac_ct_CC" >&6
2142 echo "$as_me:$LINENO: result: no" >&5
2143 echo "${ECHO_T}no" >&6
2152 if test -z "$CC"; then
2153 # Extract the first word of "cc", so it can be a program name with args.
2154 set dummy cc; ac_word=$2
2155 echo "$as_me:$LINENO: checking for $ac_word" >&5
2156 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2157 if test "${ac_cv_prog_CC+set}" = set; then
2158 echo $ECHO_N "(cached) $ECHO_C" >&6
2160 if test -n "$CC"; then
2161 ac_cv_prog_CC="$CC" # Let the user override the test.
2164 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2168 test -z "$as_dir" && as_dir=.
2169 for ac_exec_ext in '' $ac_executable_extensions; do
2170 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2171 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2172 ac_prog_rejected=yes
2176 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2182 if test $ac_prog_rejected = yes; then
2183 # We found a bogon in the path, so make sure we never use it.
2184 set dummy $ac_cv_prog_CC
2186 if test $# != 0; then
2187 # We chose a different compiler from the bogus one.
2188 # However, it has the same basename, so the bogon will be chosen
2189 # first if we set CC to just the basename; use the full file name.
2191 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2197 if test -n "$CC"; then
2198 echo "$as_me:$LINENO: result: $CC" >&5
2199 echo "${ECHO_T}$CC" >&6
2201 echo "$as_me:$LINENO: result: no" >&5
2202 echo "${ECHO_T}no" >&6
2206 if test -z "$CC"; then
2207 if test -n "$ac_tool_prefix"; then
2210 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2211 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2212 echo "$as_me:$LINENO: checking for $ac_word" >&5
2213 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2214 if test "${ac_cv_prog_CC+set}" = set; then
2215 echo $ECHO_N "(cached) $ECHO_C" >&6
2217 if test -n "$CC"; then
2218 ac_cv_prog_CC="$CC" # Let the user override the test.
2220 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2224 test -z "$as_dir" && as_dir=.
2225 for ac_exec_ext in '' $ac_executable_extensions; do
2226 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2227 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2228 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2237 if test -n "$CC"; then
2238 echo "$as_me:$LINENO: result: $CC" >&5
2239 echo "${ECHO_T}$CC" >&6
2241 echo "$as_me:$LINENO: result: no" >&5
2242 echo "${ECHO_T}no" >&6
2245 test -n "$CC" && break
2248 if test -z "$CC"; then
2252 # Extract the first word of "$ac_prog", so it can be a program name with args.
2253 set dummy $ac_prog; ac_word=$2
2254 echo "$as_me:$LINENO: checking for $ac_word" >&5
2255 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2256 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2257 echo $ECHO_N "(cached) $ECHO_C" >&6
2259 if test -n "$ac_ct_CC"; then
2260 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2262 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2266 test -z "$as_dir" && as_dir=.
2267 for ac_exec_ext in '' $ac_executable_extensions; do
2268 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2269 ac_cv_prog_ac_ct_CC="$ac_prog"
2270 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2278 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2279 if test -n "$ac_ct_CC"; then
2280 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2281 echo "${ECHO_T}$ac_ct_CC" >&6
2283 echo "$as_me:$LINENO: result: no" >&5
2284 echo "${ECHO_T}no" >&6
2287 test -n "$ac_ct_CC" && break
2296 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2297 See \`config.log' for more details." >&5
2298 echo "$as_me: error: no acceptable C compiler found in \$PATH
2299 See \`config.log' for more details." >&2;}
2300 { (exit 1); exit 1; }; }
2302 # Provide some information about the compiler.
2303 echo "$as_me:$LINENO:" \
2304 "checking for C compiler version" >&5
2305 ac_compiler=`set X $ac_compile; echo $2`
2306 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2307 (eval $ac_compiler --version </dev/null >&5) 2>&5
2309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2310 (exit $ac_status); }
2311 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2312 (eval $ac_compiler -v </dev/null >&5) 2>&5
2314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2315 (exit $ac_status); }
2316 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2317 (eval $ac_compiler -V </dev/null >&5) 2>&5
2319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2320 (exit $ac_status); }
2322 cat >conftest.$ac_ext <<_ACEOF
2325 cat confdefs.h >>conftest.$ac_ext
2326 cat >>conftest.$ac_ext <<_ACEOF
2327 /* end confdefs.h. */
2338 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2339 (eval $ac_link) 2>&5
2341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2342 (exit $ac_status); }; then
2348 if test x$gcc_no_link = xyes; then
2349 # Setting cross_compile will disable run tests; it will
2350 # also disable AC_CHECK_FILE but that's generally
2351 # correct if we can't link.
2355 cat >conftest.$ac_ext <<_ACEOF
2358 cat confdefs.h >>conftest.$ac_ext
2359 cat >>conftest.$ac_ext <<_ACEOF
2360 /* end confdefs.h. */
2370 ac_clean_files_save=$ac_clean_files
2371 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2372 # Try to create an executable without -o first, disregard a.out.
2373 # It will help us diagnose broken compilers, and finding out an intuition
2375 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2376 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2377 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2378 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2379 (eval $ac_link_default) 2>&5
2381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2382 (exit $ac_status); }; then
2383 # Find the output, starting from the most likely. This scheme is
2384 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2387 # Be careful to initialize this variable, since it used to be cached.
2388 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2390 # b.out is created by i960 compilers.
2391 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2393 test -f "$ac_file" || continue
2395 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2398 # This is the source file.
2401 # We found the default executable, but exeext='' is most
2405 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2406 # FIXME: I believe we export ac_cv_exeext for Libtool,
2407 # but it would be cool to find out if it's true. Does anybody
2408 # maintain Libtool? --akim.
2416 echo "$as_me: failed program was:" >&5
2417 sed 's/^/| /' conftest.$ac_ext >&5
2419 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2420 See \`config.log' for more details." >&5
2421 echo "$as_me: error: C compiler cannot create executables
2422 See \`config.log' for more details." >&2;}
2423 { (exit 77); exit 77; }; }
2426 ac_exeext=$ac_cv_exeext
2427 echo "$as_me:$LINENO: result: $ac_file" >&5
2428 echo "${ECHO_T}$ac_file" >&6
2430 # Check the compiler produces executables we can run. If not, either
2431 # the compiler is broken, or we cross compile.
2432 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2433 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2434 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2435 # If not cross compiling, check that we can run a simple program.
2436 if test "$cross_compiling" != yes; then
2437 if { ac_try='./$ac_file'
2438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2442 (exit $ac_status); }; }; then
2445 if test "$cross_compiling" = maybe; then
2448 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2449 If you meant to cross compile, use \`--host'.
2450 See \`config.log' for more details." >&5
2451 echo "$as_me: error: cannot run C compiled programs.
2452 If you meant to cross compile, use \`--host'.
2453 See \`config.log' for more details." >&2;}
2454 { (exit 1); exit 1; }; }
2458 echo "$as_me:$LINENO: result: yes" >&5
2459 echo "${ECHO_T}yes" >&6
2461 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2462 ac_clean_files=$ac_clean_files_save
2463 # Check the compiler produces executables we can run. If not, either
2464 # the compiler is broken, or we cross compile.
2465 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2466 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2467 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2468 echo "${ECHO_T}$cross_compiling" >&6
2470 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2471 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2472 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2473 (eval $ac_link) 2>&5
2475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2476 (exit $ac_status); }; then
2477 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2478 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2479 # work properly (i.e., refer to `conftest.exe'), while it won't with
2481 for ac_file in conftest.exe conftest conftest.*; do
2482 test -f "$ac_file" || continue
2484 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2485 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2492 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2493 See \`config.log' for more details." >&5
2494 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2495 See \`config.log' for more details." >&2;}
2496 { (exit 1); exit 1; }; }
2499 rm -f conftest$ac_cv_exeext
2500 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2501 echo "${ECHO_T}$ac_cv_exeext" >&6
2503 rm -f conftest.$ac_ext
2504 EXEEXT=$ac_cv_exeext
2507 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2508 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2509 if test "${ac_cv_objext+set}" = set; then
2510 echo $ECHO_N "(cached) $ECHO_C" >&6
2512 cat >conftest.$ac_ext <<_ACEOF
2515 cat confdefs.h >>conftest.$ac_ext
2516 cat >>conftest.$ac_ext <<_ACEOF
2517 /* end confdefs.h. */
2527 rm -f conftest.o conftest.obj
2528 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2529 (eval $ac_compile) 2>&5
2531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2532 (exit $ac_status); }; then
2533 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2535 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2536 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2541 echo "$as_me: failed program was:" >&5
2542 sed 's/^/| /' conftest.$ac_ext >&5
2544 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2545 See \`config.log' for more details." >&5
2546 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2547 See \`config.log' for more details." >&2;}
2548 { (exit 1); exit 1; }; }
2551 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2553 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2554 echo "${ECHO_T}$ac_cv_objext" >&6
2555 OBJEXT=$ac_cv_objext
2557 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2558 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2559 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2560 echo $ECHO_N "(cached) $ECHO_C" >&6
2562 cat >conftest.$ac_ext <<_ACEOF
2565 cat confdefs.h >>conftest.$ac_ext
2566 cat >>conftest.$ac_ext <<_ACEOF
2567 /* end confdefs.h. */
2580 rm -f conftest.$ac_objext
2581 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2582 (eval $ac_compile) 2>conftest.er1
2584 grep -v '^ *+' conftest.er1 >conftest.err
2586 cat conftest.err >&5
2587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2588 (exit $ac_status); } &&
2589 { ac_try='test -z "$ac_c_werror_flag"
2590 || test ! -s conftest.err'
2591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2595 (exit $ac_status); }; } &&
2596 { ac_try='test -s conftest.$ac_objext'
2597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2601 (exit $ac_status); }; }; then
2604 echo "$as_me: failed program was:" >&5
2605 sed 's/^/| /' conftest.$ac_ext >&5
2609 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2610 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2613 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2614 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2615 GCC=`test $ac_compiler_gnu = yes && echo yes`
2616 ac_test_CFLAGS=${CFLAGS+set}
2617 ac_save_CFLAGS=$CFLAGS
2619 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2620 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2621 if test "${ac_cv_prog_cc_g+set}" = set; then
2622 echo $ECHO_N "(cached) $ECHO_C" >&6
2624 cat >conftest.$ac_ext <<_ACEOF
2627 cat confdefs.h >>conftest.$ac_ext
2628 cat >>conftest.$ac_ext <<_ACEOF
2629 /* end confdefs.h. */
2639 rm -f conftest.$ac_objext
2640 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2641 (eval $ac_compile) 2>conftest.er1
2643 grep -v '^ *+' conftest.er1 >conftest.err
2645 cat conftest.err >&5
2646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2647 (exit $ac_status); } &&
2648 { ac_try='test -z "$ac_c_werror_flag"
2649 || test ! -s conftest.err'
2650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2654 (exit $ac_status); }; } &&
2655 { ac_try='test -s conftest.$ac_objext'
2656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2660 (exit $ac_status); }; }; then
2663 echo "$as_me: failed program was:" >&5
2664 sed 's/^/| /' conftest.$ac_ext >&5
2668 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2670 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2671 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2672 if test "$ac_test_CFLAGS" = set; then
2673 CFLAGS=$ac_save_CFLAGS
2674 elif test $ac_cv_prog_cc_g = yes; then
2675 if test "$GCC" = yes; then
2681 if test "$GCC" = yes; then
2687 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2688 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2689 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2690 echo $ECHO_N "(cached) $ECHO_C" >&6
2692 ac_cv_prog_cc_stdc=no
2694 cat >conftest.$ac_ext <<_ACEOF
2697 cat confdefs.h >>conftest.$ac_ext
2698 cat >>conftest.$ac_ext <<_ACEOF
2699 /* end confdefs.h. */
2702 #include <sys/types.h>
2703 #include <sys/stat.h>
2704 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2705 struct buf { int x; };
2706 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2707 static char *e (p, i)
2713 static char *f (char * (*g) (char **, int), char **p, ...)
2718 s = g (p, va_arg (v,int));
2723 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2724 function prototypes and stuff, but not '\xHH' hex character constants.
2725 These don't provoke an error unfortunately, instead are silently treated
2726 as 'x'. The following induces an error, until -std1 is added to get
2727 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2728 array size at least. It's necessary to write '\x00'==0 to get something
2729 that's true only with -std1. */
2730 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2732 int test (int i, double x);
2733 struct s1 {int (*f) (int a);};
2734 struct s2 {int (*f) (double a);};
2735 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2741 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2746 # Don't try gcc -ansi; that turns off useful extensions and
2747 # breaks some systems' header files.
2748 # AIX -qlanglvl=ansi
2749 # Ultrix and OSF/1 -std1
2750 # HP-UX 10.20 and later -Ae
2751 # HP-UX older versions -Aa -D_HPUX_SOURCE
2752 # SVR4 -Xc -D__EXTENSIONS__
2753 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2755 CC="$ac_save_CC $ac_arg"
2756 rm -f conftest.$ac_objext
2757 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2758 (eval $ac_compile) 2>conftest.er1
2760 grep -v '^ *+' conftest.er1 >conftest.err
2762 cat conftest.err >&5
2763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2764 (exit $ac_status); } &&
2765 { ac_try='test -z "$ac_c_werror_flag"
2766 || test ! -s conftest.err'
2767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2771 (exit $ac_status); }; } &&
2772 { ac_try='test -s conftest.$ac_objext'
2773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2777 (exit $ac_status); }; }; then
2778 ac_cv_prog_cc_stdc=$ac_arg
2781 echo "$as_me: failed program was:" >&5
2782 sed 's/^/| /' conftest.$ac_ext >&5
2785 rm -f conftest.err conftest.$ac_objext
2787 rm -f conftest.$ac_ext conftest.$ac_objext
2792 case "x$ac_cv_prog_cc_stdc" in
2794 echo "$as_me:$LINENO: result: none needed" >&5
2795 echo "${ECHO_T}none needed" >&6 ;;
2797 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2798 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2799 CC="$CC $ac_cv_prog_cc_stdc" ;;
2802 # Some people use a C++ compiler to compile C. Since we use `exit',
2803 # in C++ we need to declare it. In case someone uses the same compiler
2804 # for both compiling C and C++ we need to have the C++ compiler decide
2805 # the declaration of exit, since it's the most demanding environment.
2806 cat >conftest.$ac_ext <<_ACEOF
2811 rm -f conftest.$ac_objext
2812 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2813 (eval $ac_compile) 2>conftest.er1
2815 grep -v '^ *+' conftest.er1 >conftest.err
2817 cat conftest.err >&5
2818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2819 (exit $ac_status); } &&
2820 { ac_try='test -z "$ac_c_werror_flag"
2821 || test ! -s conftest.err'
2822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2826 (exit $ac_status); }; } &&
2827 { ac_try='test -s conftest.$ac_objext'
2828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2832 (exit $ac_status); }; }; then
2833 for ac_declaration in \
2835 'extern "C" void std::exit (int) throw (); using std::exit;' \
2836 'extern "C" void std::exit (int); using std::exit;' \
2837 'extern "C" void exit (int) throw ();' \
2838 'extern "C" void exit (int);' \
2841 cat >conftest.$ac_ext <<_ACEOF
2844 cat confdefs.h >>conftest.$ac_ext
2845 cat >>conftest.$ac_ext <<_ACEOF
2846 /* end confdefs.h. */
2857 rm -f conftest.$ac_objext
2858 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2859 (eval $ac_compile) 2>conftest.er1
2861 grep -v '^ *+' conftest.er1 >conftest.err
2863 cat conftest.err >&5
2864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2865 (exit $ac_status); } &&
2866 { ac_try='test -z "$ac_c_werror_flag"
2867 || test ! -s conftest.err'
2868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2872 (exit $ac_status); }; } &&
2873 { ac_try='test -s conftest.$ac_objext'
2874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2878 (exit $ac_status); }; }; then
2881 echo "$as_me: failed program was:" >&5
2882 sed 's/^/| /' conftest.$ac_ext >&5
2886 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2887 cat >conftest.$ac_ext <<_ACEOF
2890 cat confdefs.h >>conftest.$ac_ext
2891 cat >>conftest.$ac_ext <<_ACEOF
2892 /* end confdefs.h. */
2902 rm -f conftest.$ac_objext
2903 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2904 (eval $ac_compile) 2>conftest.er1
2906 grep -v '^ *+' conftest.er1 >conftest.err
2908 cat conftest.err >&5
2909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2910 (exit $ac_status); } &&
2911 { ac_try='test -z "$ac_c_werror_flag"
2912 || test ! -s conftest.err'
2913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2917 (exit $ac_status); }; } &&
2918 { ac_try='test -s conftest.$ac_objext'
2919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2923 (exit $ac_status); }; }; then
2926 echo "$as_me: failed program was:" >&5
2927 sed 's/^/| /' conftest.$ac_ext >&5
2930 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2933 if test -n "$ac_declaration"; then
2934 echo '#ifdef __cplusplus' >>confdefs.h
2935 echo $ac_declaration >>confdefs.h
2936 echo '#endif' >>confdefs.h
2940 echo "$as_me: failed program was:" >&5
2941 sed 's/^/| /' conftest.$ac_ext >&5
2944 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2946 ac_cpp='$CPP $CPPFLAGS'
2947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2952 ac_cpp='$CPP $CPPFLAGS'
2953 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2954 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2955 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2956 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2957 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2958 # On Suns, sometimes $CPP names a directory.
2959 if test -n "$CPP" && test -d "$CPP"; then
2962 if test -z "$CPP"; then
2963 if test "${ac_cv_prog_CPP+set}" = set; then
2964 echo $ECHO_N "(cached) $ECHO_C" >&6
2966 # Double quotes because CPP needs to be expanded
2967 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2970 for ac_c_preproc_warn_flag in '' yes
2972 # Use a header file that comes with gcc, so configuring glibc
2973 # with a fresh cross-compiler works.
2974 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2975 # <limits.h> exists even on freestanding compilers.
2976 # On the NeXT, cc -E runs the code through the compiler's parser,
2977 # not just through cpp. "Syntax error" is here to catch this case.
2978 cat >conftest.$ac_ext <<_ACEOF
2981 cat confdefs.h >>conftest.$ac_ext
2982 cat >>conftest.$ac_ext <<_ACEOF
2983 /* end confdefs.h. */
2985 # include <limits.h>
2987 # include <assert.h>
2991 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2992 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2994 grep -v '^ *+' conftest.er1 >conftest.err
2996 cat conftest.err >&5
2997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2998 (exit $ac_status); } >/dev/null; then
2999 if test -s conftest.err; then
3000 ac_cpp_err=$ac_c_preproc_warn_flag
3001 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3008 if test -z "$ac_cpp_err"; then
3011 echo "$as_me: failed program was:" >&5
3012 sed 's/^/| /' conftest.$ac_ext >&5
3014 # Broken: fails on valid input.
3017 rm -f conftest.err conftest.$ac_ext
3019 # OK, works on sane cases. Now check whether non-existent headers
3020 # can be detected and how.
3021 cat >conftest.$ac_ext <<_ACEOF
3024 cat confdefs.h >>conftest.$ac_ext
3025 cat >>conftest.$ac_ext <<_ACEOF
3026 /* end confdefs.h. */
3027 #include <ac_nonexistent.h>
3029 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3030 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3032 grep -v '^ *+' conftest.er1 >conftest.err
3034 cat conftest.err >&5
3035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3036 (exit $ac_status); } >/dev/null; then
3037 if test -s conftest.err; then
3038 ac_cpp_err=$ac_c_preproc_warn_flag
3039 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3046 if test -z "$ac_cpp_err"; then
3047 # Broken: success on invalid input.
3050 echo "$as_me: failed program was:" >&5
3051 sed 's/^/| /' conftest.$ac_ext >&5
3053 # Passes both tests.
3057 rm -f conftest.err conftest.$ac_ext
3060 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3061 rm -f conftest.err conftest.$ac_ext
3062 if $ac_preproc_ok; then
3074 echo "$as_me:$LINENO: result: $CPP" >&5
3075 echo "${ECHO_T}$CPP" >&6
3077 for ac_c_preproc_warn_flag in '' yes
3079 # Use a header file that comes with gcc, so configuring glibc
3080 # with a fresh cross-compiler works.
3081 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3082 # <limits.h> exists even on freestanding compilers.
3083 # On the NeXT, cc -E runs the code through the compiler's parser,
3084 # not just through cpp. "Syntax error" is here to catch this case.
3085 cat >conftest.$ac_ext <<_ACEOF
3088 cat confdefs.h >>conftest.$ac_ext
3089 cat >>conftest.$ac_ext <<_ACEOF
3090 /* end confdefs.h. */
3092 # include <limits.h>
3094 # include <assert.h>
3098 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3099 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3101 grep -v '^ *+' conftest.er1 >conftest.err
3103 cat conftest.err >&5
3104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3105 (exit $ac_status); } >/dev/null; then
3106 if test -s conftest.err; then
3107 ac_cpp_err=$ac_c_preproc_warn_flag
3108 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3115 if test -z "$ac_cpp_err"; then
3118 echo "$as_me: failed program was:" >&5
3119 sed 's/^/| /' conftest.$ac_ext >&5
3121 # Broken: fails on valid input.
3124 rm -f conftest.err conftest.$ac_ext
3126 # OK, works on sane cases. Now check whether non-existent headers
3127 # can be detected and how.
3128 cat >conftest.$ac_ext <<_ACEOF
3131 cat confdefs.h >>conftest.$ac_ext
3132 cat >>conftest.$ac_ext <<_ACEOF
3133 /* end confdefs.h. */
3134 #include <ac_nonexistent.h>
3136 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3137 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3139 grep -v '^ *+' conftest.er1 >conftest.err
3141 cat conftest.err >&5
3142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3143 (exit $ac_status); } >/dev/null; then
3144 if test -s conftest.err; then
3145 ac_cpp_err=$ac_c_preproc_warn_flag
3146 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3153 if test -z "$ac_cpp_err"; then
3154 # Broken: success on invalid input.
3157 echo "$as_me: failed program was:" >&5
3158 sed 's/^/| /' conftest.$ac_ext >&5
3160 # Passes both tests.
3164 rm -f conftest.err conftest.$ac_ext
3167 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3168 rm -f conftest.err conftest.$ac_ext
3169 if $ac_preproc_ok; then
3172 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3173 See \`config.log' for more details." >&5
3174 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3175 See \`config.log' for more details." >&2;}
3176 { (exit 1); exit 1; }; }
3180 ac_cpp='$CPP $CPPFLAGS'
3181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3186 ac_c_preproc_warn_flag=yes
3188 # Check for decimal float support.
3190 echo "$as_me:$LINENO: checking whether decimal floating point is supported" >&5
3191 echo $ECHO_N "checking whether decimal floating point is supported... $ECHO_C" >&6
3192 if test "${libgcc_cv_dfp+set}" = set; then
3193 echo $ECHO_N "(cached) $ECHO_C" >&6
3195 cat >conftest.$ac_ext <<_ACEOF
3198 rm -f conftest.$ac_objext
3199 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3200 (eval $ac_compile) 2>conftest.er1
3202 grep -v '^ *+' conftest.er1 >conftest.err
3204 cat conftest.err >&5
3205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3206 (exit $ac_status); } &&
3207 { ac_try='test -z "$ac_c_werror_flag"
3208 || test ! -s conftest.err'
3209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3213 (exit $ac_status); }; } &&
3214 { ac_try='test -s conftest.$ac_objext'
3215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3219 (exit $ac_status); }; }; then
3222 echo "$as_me: failed program was:" >&5
3223 sed 's/^/| /' conftest.$ac_ext >&5
3227 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3229 echo "$as_me:$LINENO: result: $libgcc_cv_dfp" >&5
3230 echo "${ECHO_T}$libgcc_cv_dfp" >&6
3231 decimal_float=$libgcc_cv_dfp
3234 # Collect host-machine-specific information.
3235 . ${srcdir}/config.host
3237 # Check for visibility support. This is after config.host so that
3238 # we can check for asm_hidden_op.
3239 echo "$as_me:$LINENO: checking for __attribute__((visibility(\"hidden\")))" >&5
3240 echo $ECHO_N "checking for __attribute__((visibility(\"hidden\")))... $ECHO_C" >&6
3241 if test "${libgcc_cv_hidden_visibility_attribute+set}" = set; then
3242 echo $ECHO_N "(cached) $ECHO_C" >&6
3245 echo 'int __attribute__ ((visibility ("hidden"))) foo (void) { return 1; }' > conftest.c
3246 libgcc_cv_hidden_visibility_attribute=no
3247 if { ac_try='${CC-cc} -Werror -S conftest.c -o conftest.s 1>&5'
3248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3252 (exit $ac_status); }; }; then
3253 if grep "\\$asm_hidden_op.*foo" conftest.s >/dev/null; then
3254 libgcc_cv_hidden_visibility_attribute=yes
3260 echo "$as_me:$LINENO: result: $libgcc_cv_hidden_visibility_attribute" >&5
3261 echo "${ECHO_T}$libgcc_cv_hidden_visibility_attribute" >&6
3263 if test $libgcc_cv_hidden_visibility_attribute = yes; then
3264 vis_hide='-fvisibility=hidden -DHIDE_EXPORTS'
3270 # Conditionalize the makefile for this target machine.
3272 for f in ${tmake_file}
3274 if test -f ${srcdir}/config/$f
3276 tmake_file_="${tmake_file_} \$(srcdir)/config/$f"
3279 tmake_file="${tmake_file_}"
3282 # Substitute configuration variables
3286 # We need multilib support.
3287 ac_config_files="$ac_config_files Makefile"
3289 ac_config_commands="$ac_config_commands default"
3291 cat >confcache <<\_ACEOF
3292 # This file is a shell script that caches the results of configure
3293 # tests run on this system so they can be shared between configure
3294 # scripts and configure runs, see configure's option --config-cache.
3295 # It is not useful on other systems. If it contains results you don't
3296 # want to keep, you may remove or edit it.
3298 # config.status only pays attention to the cache file if you give it
3299 # the --recheck option to rerun configure.
3301 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3302 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3307 # The following way of writing the cache mishandles newlines in values,
3308 # but we know of no workaround that is simple, portable, and efficient.
3309 # So, don't put newlines in cache variables' values.
3310 # Ultrix sh set writes to stderr and can't be redirected directly,
3311 # and sets the high bit in the cache file unless we assign to the vars.
3314 case `(ac_space=' '; set | grep ac_space) 2>&1` in
3316 # `set' does not quote correctly, so add quotes (double-quote
3317 # substitution turns \\\\ into \\, and sed turns \\ into \).
3320 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3323 # `set' quotes correctly as required by POSIX, so do not add quotes.
3325 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
3332 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3334 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3336 if diff $cache_file confcache >/dev/null 2>&1; then :; else
3337 if test -w $cache_file; then
3338 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
3339 cat confcache >$cache_file
3341 echo "not updating unwritable cache $cache_file"
3346 test "x$prefix" = xNONE && prefix=$ac_default_prefix
3347 # Let make expand exec_prefix.
3348 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3350 # VPATH may cause trouble with some makes, so we remove $(srcdir),
3351 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
3352 # trailing colons and then remove the whole line if VPATH becomes empty
3353 # (actually we leave an empty line to preserve line numbers).
3354 if test "x$srcdir" = x.; then
3355 ac_vpsub='/^[ ]*VPATH[ ]*=/{
3356 s/:*\$(srcdir):*/:/;
3357 s/:*\${srcdir}:*/:/;
3359 s/^\([^=]*=[ ]*\):*/\1/;
3365 # Transform confdefs.h into DEFS.
3366 # Protect against shell expansion while executing Makefile rules.
3367 # Protect against Makefile macro expansion.
3369 # If the first sed substitution is executed (which looks for macros that
3370 # take arguments), then we branch to the quote section. Otherwise,
3371 # look for a macro that doesn't take arguments.
3372 cat >confdef2opt.sed <<\_ACEOF
3375 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
3377 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
3381 s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
3387 # We use echo to avoid assuming a particular line-breaking character.
3388 # The extra dot is to prevent the shell from consuming trailing
3389 # line-breaks from the sub-command output. A line-break within
3390 # single-quotes doesn't work because, if this script is created in a
3391 # platform that uses two characters for line-breaks (e.g., DOS), tr
3393 ac_LF_and_DOT=`echo; echo .`
3394 DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
3395 rm -f confdef2opt.sed
3400 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3401 # 1. Remove the extension, and $U if already installed.
3402 ac_i=`echo "$ac_i" |
3403 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
3405 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
3406 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
3410 LTLIBOBJS=$ac_ltlibobjs
3414 : ${CONFIG_STATUS=./config.status}
3415 ac_clean_files_save=$ac_clean_files
3416 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3417 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
3418 echo "$as_me: creating $CONFIG_STATUS" >&6;}
3419 cat >$CONFIG_STATUS <<_ACEOF
3421 # Generated by $as_me.
3422 # Run this file to recreate the current configuration.
3423 # Compiler output produced by configure, useful for debugging
3424 # configure, is in config.log if it exists.
3429 SHELL=\${CONFIG_SHELL-$SHELL}
3432 cat >>$CONFIG_STATUS <<\_ACEOF
3433 ## --------------------- ##
3434 ## M4sh Initialization. ##
3435 ## --------------------- ##
3437 # Be Bourne compatible
3438 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
3441 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
3442 # is contrary to our usage. Disable this feature.
3443 alias -g '${1+"$@"}'='"$@"'
3444 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
3447 DUALCASE=1; export DUALCASE # for MKS sh
3449 # Support unset when possible.
3450 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
3457 # Work around bugs in pre-3.0 UWIN ksh.
3458 $as_unset ENV MAIL MAILPATH
3465 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
3466 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
3467 LC_TELEPHONE LC_TIME
3469 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
3470 eval $as_var=C; export $as_var
3476 # Required to use basename.
3477 if expr a : '\(a\)' >/dev/null 2>&1; then
3483 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
3484 as_basename=basename
3490 # Name of the executable.
3491 as_me=`$as_basename "$0" ||
3492 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3493 X"$0" : 'X\(//\)$' \| \
3494 X"$0" : 'X\(/\)$' \| \
3495 . : '\(.\)' 2>/dev/null ||
3497 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
3498 /^X\/\(\/\/\)$/{ s//\1/; q; }
3499 /^X\/\(\/\).*/{ s//\1/; q; }
3503 # PATH needs CR, and LINENO needs CR and PATH.
3504 # Avoid depending upon Character Ranges.
3505 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3506 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3507 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3508 as_cr_digits='0123456789'
3509 as_cr_alnum=$as_cr_Letters$as_cr_digits
3511 # The user is always right.
3512 if test "${PATH_SEPARATOR+set}" != set; then
3513 echo "#! /bin/sh" >conf$$.sh
3514 echo "exit 0" >>conf$$.sh
3516 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
3527 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
3528 test "x$as_lineno_1" != "x$as_lineno_2" &&
3529 test "x$as_lineno_3" = "x$as_lineno_2" || {
3530 # Find who we are. Look in the path if we contain no path at all
3533 *[\\/]* ) as_myself=$0 ;;
3534 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3538 test -z "$as_dir" && as_dir=.
3539 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3544 # We did not find ourselves, most probably we were run as `sh COMMAND'
3545 # in which case we are not to be found in the path.
3546 if test "x$as_myself" = x; then
3549 if test ! -f "$as_myself"; then
3550 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
3551 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
3552 { (exit 1); exit 1; }; }
3554 case $CONFIG_SHELL in
3556 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3557 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
3560 test -z "$as_dir" && as_dir=.
3561 for as_base in sh bash ksh sh5; do
3564 if ("$as_dir/$as_base" -c '
3567 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
3568 test "x$as_lineno_1" != "x$as_lineno_2" &&
3569 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
3570 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
3571 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
3572 CONFIG_SHELL=$as_dir/$as_base
3574 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
3582 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
3583 # uniformly replaced by the line number. The first 'sed' inserts a
3584 # line-number line before each line; the second 'sed' does the real
3585 # work. The second script uses 'N' to pair each line-number line
3586 # with the numbered line, and appends trailing '-' during
3587 # substitution so that $LINENO is not a special case at line end.
3588 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
3589 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
3590 sed '=' <$as_myself |
3595 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
3598 s,^['$as_cr_digits']*\n,,
3600 chmod +x $as_me.lineno ||
3601 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
3602 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
3603 { (exit 1); exit 1; }; }
3605 # Don't try to exec as it changes $[0], causing all sort of problems
3606 # (the dirname of $[0] is not the place where we might find the
3607 # original and so on. Autoconf is especially sensible to this).
3609 # Exit status is that of the last command.
3614 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
3615 *c*,-n*) ECHO_N= ECHO_C='
3617 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
3618 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
3621 if expr a : '\(a\)' >/dev/null 2>&1; then
3627 rm -f conf$$ conf$$.exe conf$$.file
3629 if ln -s conf$$.file conf$$ 2>/dev/null; then
3630 # We could just check for DJGPP; but this test a) works b) is more generic
3631 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
3632 if test -f conf$$.exe; then
3633 # Don't use ln at all; we don't have any links
3638 elif ln conf$$.file conf$$ 2>/dev/null; then
3643 rm -f conf$$ conf$$.exe conf$$.file
3645 if mkdir -p . 2>/dev/null; then
3648 test -d ./-p && rmdir ./-p
3652 as_executable_p="test -f"
3654 # Sed expression to map a string onto a valid CPP name.
3655 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3657 # Sed expression to map a string onto a valid variable name.
3658 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3662 # We need space, tab and new line, in precisely that order.
3672 # Open the log real soon, to keep \$[0] and so on meaningful, and to
3673 # report actual input values of CONFIG_FILES etc. instead of their
3674 # values after options handling. Logging --version etc. is OK.
3678 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3679 ## Running $as_me. ##
3684 This file was extended by GNU C Runtime Library $as_me 1.0, which was
3685 generated by GNU Autoconf 2.59. Invocation command line was
3687 CONFIG_FILES = $CONFIG_FILES
3688 CONFIG_HEADERS = $CONFIG_HEADERS
3689 CONFIG_LINKS = $CONFIG_LINKS
3690 CONFIG_COMMANDS = $CONFIG_COMMANDS
3694 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
3698 # Files that config.status was made for.
3699 if test -n "$ac_config_files"; then
3700 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
3703 if test -n "$ac_config_headers"; then
3704 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
3707 if test -n "$ac_config_links"; then
3708 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
3711 if test -n "$ac_config_commands"; then
3712 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
3715 cat >>$CONFIG_STATUS <<\_ACEOF
3718 \`$as_me' instantiates files from templates according to the
3719 current configuration.
3721 Usage: $0 [OPTIONS] [FILE]...
3723 -h, --help print this help, then exit
3724 -V, --version print version number, then exit
3725 -q, --quiet do not print progress messages
3726 -d, --debug don't remove temporary files
3727 --recheck update $as_me by reconfiguring in the same conditions
3728 --file=FILE[:TEMPLATE]
3729 instantiate the configuration file FILE
3731 Configuration files:
3734 Configuration commands:
3737 Report bugs to <bug-autoconf@gnu.org>."
3740 cat >>$CONFIG_STATUS <<_ACEOF
3742 GNU C Runtime Library config.status 1.0
3743 configured by $0, generated by GNU Autoconf 2.59,
3744 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
3746 Copyright (C) 2003 Free Software Foundation, Inc.
3747 This config.status script is free software; the Free Software Foundation
3748 gives unlimited permission to copy, distribute and modify it."
3753 cat >>$CONFIG_STATUS <<\_ACEOF
3754 # If no file are specified by the user, then we need to provide default
3755 # value. By we need to know if files were specified by the user.
3761 ac_option=`expr "x$1" : 'x\([^=]*\)='`
3762 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
3770 *) # This is not an option, so the user has probably given explicit
3773 ac_need_defaults=false;;
3777 # Handling of the options.
3779 cat >>$CONFIG_STATUS <<\_ACEOF
3780 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3782 --version | --vers* | -V )
3783 echo "$ac_cs_version"; exit 0 ;;
3785 # Conflict between --help and --header
3786 { { echo "$as_me:$LINENO: error: ambiguous option: $1
3787 Try \`$0 --help' for more information." >&5
3788 echo "$as_me: error: ambiguous option: $1
3789 Try \`$0 --help' for more information." >&2;}
3790 { (exit 1); exit 1; }; };;
3791 --help | --hel | -h )
3792 echo "$ac_cs_usage"; exit 0 ;;
3793 --debug | --d* | -d )
3795 --file | --fil | --fi | --f )
3797 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
3798 ac_need_defaults=false;;
3799 --header | --heade | --head | --hea )
3801 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
3802 ac_need_defaults=false;;
3803 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3804 | -silent | --silent | --silen | --sile | --sil | --si | --s)
3808 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
3809 Try \`$0 --help' for more information." >&5
3810 echo "$as_me: error: unrecognized option: $1
3811 Try \`$0 --help' for more information." >&2;}
3812 { (exit 1); exit 1; }; } ;;
3814 *) ac_config_targets="$ac_config_targets $1" ;;
3820 ac_configure_extra_args=
3822 if $ac_cs_silent; then
3824 ac_configure_extra_args="$ac_configure_extra_args --silent"
3828 cat >>$CONFIG_STATUS <<_ACEOF
3829 if \$ac_cs_recheck; then
3830 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
3831 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3836 cat >>$CONFIG_STATUS <<_ACEOF
3838 # INIT-COMMANDS section.
3844 with_target_subdir=${with_target_subdir}
3845 with_multisubdir=${with_multisubdir}
3846 ac_configure_args="--enable-multilib ${ac_configure_args}"
3847 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
3848 libgcc_topdir=${libgcc_topdir}
3856 cat >>$CONFIG_STATUS <<\_ACEOF
3857 for ac_config_target in $ac_config_targets
3859 case "$ac_config_target" in
3860 # Handling of arguments.
3861 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3862 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
3863 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
3864 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
3865 { (exit 1); exit 1; }; };;
3869 # If the user did not use the arguments to specify the items to instantiate,
3870 # then the envvar interface is used. Set only those that are not.
3871 # We use the long form for the default assignment because of an extremely
3872 # bizarre bug on SunOS 4.1.3.
3873 if $ac_need_defaults; then
3874 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3875 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
3878 # Have a temporary directory for convenience. Make it in the build tree
3879 # simply because there is no reason to put it here, and in addition,
3880 # creating and moving files from /tmp can sometimes cause problems.
3881 # Create a temporary directory, and hook for its removal unless debugging.
3884 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
3885 trap '{ (exit 1); exit 1; }' 1 2 13 15
3888 # Create a (secure) tmp directory for tmp files.
3891 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
3892 test -n "$tmp" && test -d "$tmp"
3895 tmp=./confstat$$-$RANDOM
3896 (umask 077 && mkdir $tmp)
3899 echo "$me: cannot create a temporary directory in ." >&2
3900 { (exit 1); exit 1; }
3905 cat >>$CONFIG_STATUS <<_ACEOF
3908 # CONFIG_FILES section.
3911 # No need to generate the scripts if there are no CONFIG_FILES.
3912 # This happens for instance when ./config.status config.h
3913 if test -n "\$CONFIG_FILES"; then
3914 # Protect against being on the right side of a sed subst in config.status.
3915 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
3916 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
3917 s,@SHELL@,$SHELL,;t t
3918 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
3919 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
3920 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
3921 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
3922 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
3923 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
3924 s,@exec_prefix@,$exec_prefix,;t t
3925 s,@prefix@,$prefix,;t t
3926 s,@program_transform_name@,$program_transform_name,;t t
3927 s,@bindir@,$bindir,;t t
3928 s,@sbindir@,$sbindir,;t t
3929 s,@libexecdir@,$libexecdir,;t t
3930 s,@datadir@,$datadir,;t t
3931 s,@sysconfdir@,$sysconfdir,;t t
3932 s,@sharedstatedir@,$sharedstatedir,;t t
3933 s,@localstatedir@,$localstatedir,;t t
3934 s,@libdir@,$libdir,;t t
3935 s,@includedir@,$includedir,;t t
3936 s,@oldincludedir@,$oldincludedir,;t t
3937 s,@infodir@,$infodir,;t t
3938 s,@mandir@,$mandir,;t t
3939 s,@build_alias@,$build_alias,;t t
3940 s,@host_alias@,$host_alias,;t t
3941 s,@target_alias@,$target_alias,;t t
3943 s,@ECHO_C@,$ECHO_C,;t t
3944 s,@ECHO_N@,$ECHO_N,;t t
3945 s,@ECHO_T@,$ECHO_T,;t t
3947 s,@libgcc_topdir@,$libgcc_topdir,;t t
3948 s,@enable_shared@,$enable_shared,;t t
3949 s,@slibdir@,$slibdir,;t t
3950 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
3951 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
3952 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
3954 s,@build@,$build,;t t
3955 s,@build_cpu@,$build_cpu,;t t
3956 s,@build_vendor@,$build_vendor,;t t
3957 s,@build_os@,$build_os,;t t
3959 s,@host_cpu@,$host_cpu,;t t
3960 s,@host_vendor@,$host_vendor,;t t
3961 s,@host_os@,$host_os,;t t
3962 s,@host_noncanonical@,$host_noncanonical,;t t
3964 s,@ac_ct_AR@,$ac_ct_AR,;t t
3966 s,@ac_ct_LIPO@,$ac_ct_LIPO,;t t
3968 s,@ac_ct_NM@,$ac_ct_NM,;t t
3969 s,@RANLIB@,$RANLIB,;t t
3970 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
3971 s,@STRIP@,$STRIP,;t t
3972 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
3975 s,@CFLAGS@,$CFLAGS,;t t
3976 s,@LDFLAGS@,$LDFLAGS,;t t
3977 s,@CPPFLAGS@,$CPPFLAGS,;t t
3978 s,@ac_ct_CC@,$ac_ct_CC,;t t
3979 s,@EXEEXT@,$EXEEXT,;t t
3980 s,@OBJEXT@,$OBJEXT,;t t
3982 s,@decimal_float@,$decimal_float,;t t
3983 s,@vis_hide@,$vis_hide,;t t
3984 s,@tmake_file@,$tmake_file,;t t
3985 s,@extra_parts@,$extra_parts,;t t
3986 s,@asm_hidden_op@,$asm_hidden_op,;t t
3987 s,@LIBOBJS@,$LIBOBJS,;t t
3988 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
3993 cat >>$CONFIG_STATUS <<\_ACEOF
3994 # Split the substitutions into bite-sized pieces for seds with
3995 # small command number limits, like on Digital OSF/1 and HP-UX.
3997 ac_sed_frag=1 # Number of current file.
3998 ac_beg=1 # First line for current file.
3999 ac_end=$ac_max_sed_lines # Line after last line for current file.
4002 while $ac_more_lines; do
4003 if test $ac_beg -gt 1; then
4004 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
4006 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
4008 if test ! -s $tmp/subs.frag; then
4011 # The purpose of the label and of the branching condition is to
4012 # speed up the sed processing (if there are no `@' at all, there
4013 # is no need to browse any of the substitutions).
4014 # These are the two extra sed commands mentioned above.
4016 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
4017 if test -z "$ac_sed_cmds"; then
4018 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
4020 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
4022 ac_sed_frag=`expr $ac_sed_frag + 1`
4024 ac_end=`expr $ac_end + $ac_max_sed_lines`
4027 if test -z "$ac_sed_cmds"; then
4030 fi # test -n "$CONFIG_FILES"
4033 cat >>$CONFIG_STATUS <<\_ACEOF
4034 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
4035 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
4037 - | *:- | *:-:* ) # input from stdin
4039 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4040 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4041 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4042 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4043 * ) ac_file_in=$ac_file.in ;;
4046 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
4047 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
4048 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4049 X"$ac_file" : 'X\(//\)[^/]' \| \
4050 X"$ac_file" : 'X\(//\)$' \| \
4051 X"$ac_file" : 'X\(/\)' \| \
4052 . : '\(.\)' 2>/dev/null ||
4054 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4055 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4056 /^X\(\/\/\)$/{ s//\1/; q; }
4057 /^X\(\/\).*/{ s//\1/; q; }
4059 { if $as_mkdir_p; then
4064 while test ! -d "$as_dir"; do
4065 as_dirs="$as_dir $as_dirs"
4066 as_dir=`(dirname "$as_dir") 2>/dev/null ||
4067 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4068 X"$as_dir" : 'X\(//\)[^/]' \| \
4069 X"$as_dir" : 'X\(//\)$' \| \
4070 X"$as_dir" : 'X\(/\)' \| \
4071 . : '\(.\)' 2>/dev/null ||
4073 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4074 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4075 /^X\(\/\/\)$/{ s//\1/; q; }
4076 /^X\(\/\).*/{ s//\1/; q; }
4079 test ! -n "$as_dirs" || mkdir $as_dirs
4080 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
4081 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
4082 { (exit 1); exit 1; }; }; }
4086 if test "$ac_dir" != .; then
4087 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4088 # A "../" for each directory in $ac_dir_suffix.
4089 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
4091 ac_dir_suffix= ac_top_builddir=
4095 .) # No --srcdir option. We are building in place.
4097 if test -z "$ac_top_builddir"; then
4100 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
4102 [\\/]* | ?:[\\/]* ) # Absolute path.
4103 ac_srcdir=$srcdir$ac_dir_suffix;
4104 ac_top_srcdir=$srcdir ;;
4106 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
4107 ac_top_srcdir=$ac_top_builddir$srcdir ;;
4110 # Do not use `cd foo && pwd` to compute absolute paths, because
4111 # the directories may not exist.
4113 .) ac_abs_builddir="$ac_dir";;
4116 .) ac_abs_builddir=`pwd`;;
4117 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
4118 *) ac_abs_builddir=`pwd`/"$ac_dir";;
4121 case $ac_abs_builddir in
4122 .) ac_abs_top_builddir=${ac_top_builddir}.;;
4124 case ${ac_top_builddir}. in
4125 .) ac_abs_top_builddir=$ac_abs_builddir;;
4126 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
4127 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
4130 case $ac_abs_builddir in
4131 .) ac_abs_srcdir=$ac_srcdir;;
4134 .) ac_abs_srcdir=$ac_abs_builddir;;
4135 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
4136 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
4139 case $ac_abs_builddir in
4140 .) ac_abs_top_srcdir=$ac_top_srcdir;;
4142 case $ac_top_srcdir in
4143 .) ac_abs_top_srcdir=$ac_abs_builddir;;
4144 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
4145 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
4151 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
4152 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
4155 if test x"$ac_file" != x-; then
4156 { echo "$as_me:$LINENO: creating $ac_file" >&5
4157 echo "$as_me: creating $ac_file" >&6;}
4160 # Let's still pretend it is `configure' which instantiates (i.e., don't
4161 # use $as_me), people would be surprised to read:
4162 # /* config.h. Generated by config.status. */
4163 if test x"$ac_file" = x-; then
4166 configure_input="$ac_file. "
4168 configure_input=$configure_input"Generated from `echo $ac_file_in |
4169 sed 's,.*/,,'` by configure."
4171 # First look for the input files in the build tree, otherwise in the
4173 ac_file_inputs=`IFS=:
4174 for f in $ac_file_in; do
4176 -) echo $tmp/stdin ;;
4178 # Absolute (can't be DOS-style, as IFS=:)
4179 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4180 echo "$as_me: error: cannot find input file: $f" >&2;}
4181 { (exit 1); exit 1; }; }
4184 if test -f "$f"; then
4187 elif test -f "$srcdir/$f"; then
4192 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4193 echo "$as_me: error: cannot find input file: $f" >&2;}
4194 { (exit 1); exit 1; }; }
4197 done` || { (exit 1); exit 1; }
4199 cat >>$CONFIG_STATUS <<_ACEOF
4203 cat >>$CONFIG_STATUS <<\_ACEOF
4205 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4206 s,@configure_input@,$configure_input,;t t
4207 s,@srcdir@,$ac_srcdir,;t t
4208 s,@abs_srcdir@,$ac_abs_srcdir,;t t
4209 s,@top_srcdir@,$ac_top_srcdir,;t t
4210 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
4211 s,@builddir@,$ac_builddir,;t t
4212 s,@abs_builddir@,$ac_abs_builddir,;t t
4213 s,@top_builddir@,$ac_top_builddir,;t t
4214 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
4215 s,@INSTALL@,$ac_INSTALL,;t t
4216 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
4218 if test x"$ac_file" != x-; then
4219 mv $tmp/out $ac_file
4227 cat >>$CONFIG_STATUS <<\_ACEOF
4230 # CONFIG_COMMANDS section.
4232 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
4233 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
4234 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
4235 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
4236 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4237 X"$ac_dest" : 'X\(//\)[^/]' \| \
4238 X"$ac_dest" : 'X\(//\)$' \| \
4239 X"$ac_dest" : 'X\(/\)' \| \
4240 . : '\(.\)' 2>/dev/null ||
4242 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4243 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4244 /^X\(\/\/\)$/{ s//\1/; q; }
4245 /^X\(\/\).*/{ s//\1/; q; }
4247 { if $as_mkdir_p; then
4252 while test ! -d "$as_dir"; do
4253 as_dirs="$as_dir $as_dirs"
4254 as_dir=`(dirname "$as_dir") 2>/dev/null ||
4255 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4256 X"$as_dir" : 'X\(//\)[^/]' \| \
4257 X"$as_dir" : 'X\(//\)$' \| \
4258 X"$as_dir" : 'X\(/\)' \| \
4259 . : '\(.\)' 2>/dev/null ||
4261 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4262 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4263 /^X\(\/\/\)$/{ s//\1/; q; }
4264 /^X\(\/\).*/{ s//\1/; q; }
4267 test ! -n "$as_dirs" || mkdir $as_dirs
4268 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
4269 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
4270 { (exit 1); exit 1; }; }; }
4274 if test "$ac_dir" != .; then
4275 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4276 # A "../" for each directory in $ac_dir_suffix.
4277 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
4279 ac_dir_suffix= ac_top_builddir=
4283 .) # No --srcdir option. We are building in place.
4285 if test -z "$ac_top_builddir"; then
4288 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
4290 [\\/]* | ?:[\\/]* ) # Absolute path.
4291 ac_srcdir=$srcdir$ac_dir_suffix;
4292 ac_top_srcdir=$srcdir ;;
4294 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
4295 ac_top_srcdir=$ac_top_builddir$srcdir ;;
4298 # Do not use `cd foo && pwd` to compute absolute paths, because
4299 # the directories may not exist.
4301 .) ac_abs_builddir="$ac_dir";;
4304 .) ac_abs_builddir=`pwd`;;
4305 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
4306 *) ac_abs_builddir=`pwd`/"$ac_dir";;
4309 case $ac_abs_builddir in
4310 .) ac_abs_top_builddir=${ac_top_builddir}.;;
4312 case ${ac_top_builddir}. in
4313 .) ac_abs_top_builddir=$ac_abs_builddir;;
4314 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
4315 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
4318 case $ac_abs_builddir in
4319 .) ac_abs_srcdir=$ac_srcdir;;
4322 .) ac_abs_srcdir=$ac_abs_builddir;;
4323 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
4324 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
4327 case $ac_abs_builddir in
4328 .) ac_abs_top_srcdir=$ac_top_srcdir;;
4330 case $ac_top_srcdir in
4331 .) ac_abs_top_srcdir=$ac_abs_builddir;;
4332 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
4333 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
4338 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
4339 echo "$as_me: executing $ac_dest commands" >&6;}
4341 default ) test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
4342 if test -n "$CONFIG_FILES"; then
4343 # FIXME: We shouldn't need to set ac_file
4345 . ${libgcc_topdir}/config-ml.in
4351 cat >>$CONFIG_STATUS <<\_ACEOF
4353 { (exit 0); exit 0; }
4355 chmod +x $CONFIG_STATUS
4356 ac_clean_files=$ac_clean_files_save
4359 # configure is writing to config.log, and then calls config.status.
4360 # config.status does its own redirection, appending to config.log.
4361 # Unfortunately, on DOS this fails, as config.log is still kept open
4362 # by configure, so config.status won't be able to write to it; its
4363 # output is simply discarded. So we exec the FD to /dev/null,
4364 # effectively closing config.log, so it can be properly (re)opened and
4365 # appended to by config.status. When coming back to configure, we
4366 # need to make the FD available again.
4367 if test "$no_create" != yes; then
4369 ac_config_status_args=
4370 test "$silent" = yes &&
4371 ac_config_status_args="$ac_config_status_args --quiet"
4373 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4375 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4376 # would make configure fail if this is the last instruction.
4377 $ac_cs_success || { (exit 1); exit 1; }