PR middle-end/27945
[official-gcc.git] / libgcc / configure
blob7d9be9bfa6914b46912ce2cd7e5ee95f03e9c09e
1 #! /bin/sh
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
14 emulate sh
15 NULLCMD=:
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
20 set -o posix
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
26 as_unset=unset
27 else
28 as_unset=false
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
34 PS1='$ '
35 PS2='> '
36 PS4='+ '
38 # NLS nuisances.
39 for as_var in \
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 \
42 LC_TELEPHONE LC_TIME
44 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C; export $as_var
46 else
47 $as_unset $as_var
49 done
51 # Required to use basename.
52 if expr a : '\(a\)' >/dev/null 2>&1; then
53 as_expr=expr
54 else
55 as_expr=false
58 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
59 as_basename=basename
60 else
61 as_basename=false
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 ||
71 echo X/"$0" |
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
75 s/.*/./; 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
90 chmod +x conf$$.sh
91 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
92 PATH_SEPARATOR=';'
93 else
94 PATH_SEPARATOR=:
96 rm -f conf$$.sh
100 as_lineno_1=$LINENO
101 as_lineno_2=$LINENO
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
106 # relative or not.
107 case $0 in
108 *[\\/]* ) as_myself=$0 ;;
109 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
110 for as_dir in $PATH
112 IFS=$as_save_IFS
113 test -z "$as_dir" && as_dir=.
114 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
115 done
118 esac
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
122 as_myself=$0
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
133 IFS=$as_save_IFS
134 test -z "$as_dir" && as_dir=.
135 for as_base in sh bash ksh sh5; do
136 case $as_dir in
138 if ("$as_dir/$as_base" -c '
139 as_lineno_1=$LINENO
140 as_lineno_2=$LINENO
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
147 export CONFIG_SHELL
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
149 fi;;
150 esac
151 done
152 done
154 esac
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 |
165 sed '
167 s,$,-,
168 : loop
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
170 t loop
171 s,-$,,
172 s,^['$as_cr_digits']*\n,,
173 ' >$as_me.lineno &&
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).
181 . ./$as_me.lineno
182 # Exit status is that of the last command.
183 exit
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c*,-n*) ECHO_N= ECHO_C='
189 ' ECHO_T=' ' ;;
190 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
191 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
192 esac
194 if expr a : '\(a\)' >/dev/null 2>&1; then
195 as_expr=expr
196 else
197 as_expr=false
200 rm -f conf$$ conf$$.exe conf$$.file
201 echo >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
207 as_ln_s='cp -p'
208 else
209 as_ln_s='ln -s'
211 elif ln conf$$.file conf$$ 2>/dev/null; then
212 as_ln_s=ln
213 else
214 as_ln_s='cp -p'
216 rm -f conf$$ conf$$.exe conf$$.file
218 if mkdir -p . 2>/dev/null; then
219 as_mkdir_p=:
220 else
221 test -d ./-p && rmdir ./-p
222 as_mkdir_p=false
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'"
234 # IFS
235 # We need space, tab and new line, in precisely that order.
236 as_nl='
238 IFS=" $as_nl"
240 # CDPATH.
241 $as_unset CDPATH
244 # Name of the host.
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`
249 exec 6>&1
252 # Initializations.
254 ac_default_prefix=/usr/local
255 ac_config_libobj_dir=.
256 cross_compiling=no
257 subdirs=
258 MFLAGS=
259 MAKEFLAGS=
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'
272 PACKAGE_BUGREPORT=''
274 ac_unique_file="static-object.mk"
275 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS libgcc_topdir enable_shared slibdir INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA AWK build build_cpu build_vendor build_os host host_cpu host_vendor host_os host_noncanonical build_libsubdir build_subdir host_subdir target_subdir AR ac_ct_AR LIPO ac_ct_LIPO NM ac_ct_NM RANLIB ac_ct_RANLIB STRIP ac_ct_STRIP LN_S CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP decimal_float enable_decimal_float vis_hide set_have_cc_tls tmake_file extra_parts asm_hidden_op LIBOBJS LTLIBOBJS'
276 ac_subst_files=''
278 # Initialize some variables set by options.
279 ac_init_help=
280 ac_init_version=false
281 # The variables have the same names as the options, with
282 # dashes changed to underlines.
283 cache_file=/dev/null
284 exec_prefix=NONE
285 no_create=
286 no_recursion=
287 prefix=NONE
288 program_prefix=NONE
289 program_suffix=NONE
290 program_transform_name=s,x,x,
291 silent=
292 site=
293 srcdir=
294 verbose=
295 x_includes=NONE
296 x_libraries=NONE
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'
316 ac_prev=
317 for ac_option
319 # If the previous option needs an argument, assign it.
320 if test -n "$ac_prev"; then
321 eval "$ac_prev=\$ac_option"
322 ac_prev=
323 continue
326 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
328 # Accept the important Cygnus configure options, so we can diagnose typos.
330 case $ac_option in
332 -bindir | --bindir | --bindi | --bind | --bin | --bi)
333 ac_prev=bindir ;;
334 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
335 bindir=$ac_optarg ;;
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 ;;
349 --config-cache | -C)
350 cache_file=config.cache ;;
352 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
353 ac_prev=datadir ;;
354 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
355 | --da=*)
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'`
374 case $ac_option in
375 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
376 *) ac_optarg=yes ;;
377 esac
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.
391 with_gas=yes ;;
393 -help | --help | --hel | --he | -h)
394 ac_init_help=long ;;
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)
413 ac_prev=infodir ;;
414 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
415 infodir=$ac_optarg ;;
417 -libdir | --libdir | --libdi | --libd)
418 ac_prev=libdir ;;
419 -libdir=* | --libdir=* | --libdi=* | --libd=*)
420 libdir=$ac_optarg ;;
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)
439 ac_prev=mandir ;;
440 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
441 mandir=$ac_optarg ;;
443 -nfp | --nfp | --nf)
444 # Obsolete; use --without-fp.
445 with_fp=no ;;
447 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
448 | --no-cr | --no-c | -n)
449 no_create=yes ;;
451 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
452 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
453 no_recursion=yes ;;
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)
465 ac_prev=prefix ;;
466 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
467 prefix=$ac_optarg ;;
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)
502 silent=yes ;;
504 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
505 ac_prev=sbindir ;;
506 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
507 | --sbi=* | --sb=*)
508 sbindir=$ac_optarg ;;
510 -sharedstatedir | --sharedstatedir | --sharedstatedi \
511 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
512 | --sharedst | --shareds | --shared | --share | --shar \
513 | --sha | --sh)
514 ac_prev=sharedstatedir ;;
515 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
516 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
517 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
518 | --sha=* | --sh=*)
519 sharedstatedir=$ac_optarg ;;
521 -site | --site | --sit)
522 ac_prev=site ;;
523 -site=* | --site=* | --sit=*)
524 site=$ac_optarg ;;
526 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
527 ac_prev=srcdir ;;
528 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
529 srcdir=$ac_optarg ;;
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)
544 verbose=yes ;;
546 -version | --version | --versio | --versi | --vers | -V)
547 ac_init_version=: ;;
549 -with-* | --with-*)
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'`
556 case $ac_option in
557 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
558 *) ac_optarg=yes ;;
559 esac
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" ;;
571 --x)
572 # Obsolete; use --with-x.
573 with_x=yes ;;
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; }; }
594 *=*)
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'"
602 export $ac_envvar ;;
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}
612 esac
613 done
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`
625 case $ac_val in
626 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
627 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
628 { (exit 1); exit 1; }; };;
629 esac
630 done
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`
637 case $ac_val in
638 [\\/$]* | ?:[\\/]* ) ;;
639 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
640 { (exit 1); exit 1; }; };;
641 esac
642 done
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.
647 build=$build_alias
648 host=$host_alias
649 target=$target_alias
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
658 cross_compiling=yes
662 ac_tool_prefix=
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 ||
678 echo X"$0" |
679 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
680 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
681 /^X\(\/\/\)$/{ s//\1/; q; }
682 /^X\(\/\).*/{ s//\1/; q; }
683 s/.*/./; q'`
684 srcdir=$ac_confdir
685 if test ! -r $srcdir/$ac_unique_file; then
686 srcdir=..
688 else
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; }; }
695 else
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}
717 ac_env_CC_value=$CC
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.
743 cat <<_ACEOF
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.
753 Configuration:
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 \`..']
764 _ACEOF
766 cat <<_ACEOF
767 Installation directories:
768 --prefix=PREFIX install architecture-independent files in PREFIX
769 [$ac_default_prefix]
770 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
771 [PREFIX]
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]
793 _ACEOF
795 cat <<\_ACEOF
797 System types:
798 --build=BUILD configure for building on BUILD [guessed]
799 --host=HOST cross-compile to build programs to run on HOST [BUILD]
800 _ACEOF
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:";;
806 esac
807 cat <<\_ACEOF
809 Optional Features:
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
813 --enable-version-specific-runtime-libs Specify that runtime libraries should be installed in a compiler-specific directory
814 --enable-decimal-float={no,yes,bid,dpd}
815 enable decimal float extension to C. Selecting 'bid'
816 or 'dpd' choses which decimal floating point format
817 to use
818 --enable-tls Use thread-local storage [default=yes]
820 Optional Packages:
821 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
822 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
823 --with-target-subdir=SUBDIR Configuring in a subdirectory for target
824 --with-cross-host=HOST Configuring with a cross compiler
825 --with-ld arrange to use the specified ld (full pathname)
826 --with-slibdir=DIR shared libraries in DIR LIBDIR
827 --with-build-libsubdir=DIR Directory where to find libraries for build system
829 Some influential environment variables:
830 CC C compiler command
831 CFLAGS C compiler flags
832 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
833 nonstandard directory <lib dir>
834 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
835 headers in a nonstandard directory <include dir>
836 CPP C preprocessor
838 Use these variables to override the choices made by `configure' or to help
839 it to find libraries and programs with nonstandard names/locations.
841 _ACEOF
844 if test "$ac_init_help" = "recursive"; then
845 # If there are subdirs, report their specific --help.
846 ac_popdir=`pwd`
847 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
848 test -d $ac_dir || continue
849 ac_builddir=.
851 if test "$ac_dir" != .; then
852 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
853 # A "../" for each directory in $ac_dir_suffix.
854 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
855 else
856 ac_dir_suffix= ac_top_builddir=
859 case $srcdir in
860 .) # No --srcdir option. We are building in place.
861 ac_srcdir=.
862 if test -z "$ac_top_builddir"; then
863 ac_top_srcdir=.
864 else
865 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
866 fi ;;
867 [\\/]* | ?:[\\/]* ) # Absolute path.
868 ac_srcdir=$srcdir$ac_dir_suffix;
869 ac_top_srcdir=$srcdir ;;
870 *) # Relative path.
871 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
872 ac_top_srcdir=$ac_top_builddir$srcdir ;;
873 esac
875 # Do not use `cd foo && pwd` to compute absolute paths, because
876 # the directories may not exist.
877 case `pwd` in
878 .) ac_abs_builddir="$ac_dir";;
880 case "$ac_dir" in
881 .) ac_abs_builddir=`pwd`;;
882 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
883 *) ac_abs_builddir=`pwd`/"$ac_dir";;
884 esac;;
885 esac
886 case $ac_abs_builddir in
887 .) ac_abs_top_builddir=${ac_top_builddir}.;;
889 case ${ac_top_builddir}. in
890 .) ac_abs_top_builddir=$ac_abs_builddir;;
891 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
892 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
893 esac;;
894 esac
895 case $ac_abs_builddir in
896 .) ac_abs_srcdir=$ac_srcdir;;
898 case $ac_srcdir in
899 .) ac_abs_srcdir=$ac_abs_builddir;;
900 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
901 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
902 esac;;
903 esac
904 case $ac_abs_builddir in
905 .) ac_abs_top_srcdir=$ac_top_srcdir;;
907 case $ac_top_srcdir in
908 .) ac_abs_top_srcdir=$ac_abs_builddir;;
909 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
910 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
911 esac;;
912 esac
914 cd $ac_dir
915 # Check for guested configure; otherwise get Cygnus style configure.
916 if test -f $ac_srcdir/configure.gnu; then
917 echo
918 $SHELL $ac_srcdir/configure.gnu --help=recursive
919 elif test -f $ac_srcdir/configure; then
920 echo
921 $SHELL $ac_srcdir/configure --help=recursive
922 elif test -f $ac_srcdir/configure.ac ||
923 test -f $ac_srcdir/configure.in; then
924 echo
925 $ac_configure --help
926 else
927 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
929 cd $ac_popdir
930 done
933 test -n "$ac_init_help" && exit 0
934 if $ac_init_version; then
935 cat <<\_ACEOF
936 GNU C Runtime Library configure 1.0
937 generated by GNU Autoconf 2.59
939 Copyright (C) 2003 Free Software Foundation, Inc.
940 This configure script is free software; the Free Software Foundation
941 gives unlimited permission to copy, distribute and modify it.
942 _ACEOF
943 exit 0
945 exec 5>config.log
946 cat >&5 <<_ACEOF
947 This file contains any messages produced by compilers while
948 running configure, to aid debugging if configure makes a mistake.
950 It was created by GNU C Runtime Library $as_me 1.0, which was
951 generated by GNU Autoconf 2.59. Invocation command line was
953 $ $0 $@
955 _ACEOF
957 cat <<_ASUNAME
958 ## --------- ##
959 ## Platform. ##
960 ## --------- ##
962 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
963 uname -m = `(uname -m) 2>/dev/null || echo unknown`
964 uname -r = `(uname -r) 2>/dev/null || echo unknown`
965 uname -s = `(uname -s) 2>/dev/null || echo unknown`
966 uname -v = `(uname -v) 2>/dev/null || echo unknown`
968 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
969 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
971 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
972 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
973 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
974 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
975 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
976 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
977 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
979 _ASUNAME
981 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
982 for as_dir in $PATH
984 IFS=$as_save_IFS
985 test -z "$as_dir" && as_dir=.
986 echo "PATH: $as_dir"
987 done
989 } >&5
991 cat >&5 <<_ACEOF
994 ## ----------- ##
995 ## Core tests. ##
996 ## ----------- ##
998 _ACEOF
1001 # Keep a trace of the command line.
1002 # Strip out --no-create and --no-recursion so they do not pile up.
1003 # Strip out --silent because we don't want to record it for future runs.
1004 # Also quote any args containing shell meta-characters.
1005 # Make two passes to allow for proper duplicate-argument suppression.
1006 ac_configure_args=
1007 ac_configure_args0=
1008 ac_configure_args1=
1009 ac_sep=
1010 ac_must_keep_next=false
1011 for ac_pass in 1 2
1013 for ac_arg
1015 case $ac_arg in
1016 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1017 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1018 | -silent | --silent | --silen | --sile | --sil)
1019 continue ;;
1020 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1021 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1022 esac
1023 case $ac_pass in
1024 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1026 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1027 if test $ac_must_keep_next = true; then
1028 ac_must_keep_next=false # Got value, back to normal.
1029 else
1030 case $ac_arg in
1031 *=* | --config-cache | -C | -disable-* | --disable-* \
1032 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1033 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1034 | -with-* | --with-* | -without-* | --without-* | --x)
1035 case "$ac_configure_args0 " in
1036 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1037 esac
1039 -* ) ac_must_keep_next=true ;;
1040 esac
1042 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1043 # Get rid of the leading space.
1044 ac_sep=" "
1046 esac
1047 done
1048 done
1049 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1050 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1052 # When interrupted or exit'd, cleanup temporary files, and complete
1053 # config.log. We remove comments because anyway the quotes in there
1054 # would cause problems or look ugly.
1055 # WARNING: Be sure not to use single quotes in there, as some shells,
1056 # such as our DU 5.0 friend, will then `close' the trap.
1057 trap 'exit_status=$?
1058 # Save into config.log some information that might help in debugging.
1060 echo
1062 cat <<\_ASBOX
1063 ## ---------------- ##
1064 ## Cache variables. ##
1065 ## ---------------- ##
1066 _ASBOX
1067 echo
1068 # The following way of writing the cache mishandles newlines in values,
1070 (set) 2>&1 |
1071 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1072 *ac_space=\ *)
1073 sed -n \
1074 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1075 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1078 sed -n \
1079 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1081 esac;
1083 echo
1085 cat <<\_ASBOX
1086 ## ----------------- ##
1087 ## Output variables. ##
1088 ## ----------------- ##
1089 _ASBOX
1090 echo
1091 for ac_var in $ac_subst_vars
1093 eval ac_val=$`echo $ac_var`
1094 echo "$ac_var='"'"'$ac_val'"'"'"
1095 done | sort
1096 echo
1098 if test -n "$ac_subst_files"; then
1099 cat <<\_ASBOX
1100 ## ------------- ##
1101 ## Output files. ##
1102 ## ------------- ##
1103 _ASBOX
1104 echo
1105 for ac_var in $ac_subst_files
1107 eval ac_val=$`echo $ac_var`
1108 echo "$ac_var='"'"'$ac_val'"'"'"
1109 done | sort
1110 echo
1113 if test -s confdefs.h; then
1114 cat <<\_ASBOX
1115 ## ----------- ##
1116 ## confdefs.h. ##
1117 ## ----------- ##
1118 _ASBOX
1119 echo
1120 sed "/^$/d" confdefs.h | sort
1121 echo
1123 test "$ac_signal" != 0 &&
1124 echo "$as_me: caught signal $ac_signal"
1125 echo "$as_me: exit $exit_status"
1126 } >&5
1127 rm -f core *.core &&
1128 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1129 exit $exit_status
1131 for ac_signal in 1 2 13 15; do
1132 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1133 done
1134 ac_signal=0
1136 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1137 rm -rf conftest* confdefs.h
1138 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1139 echo >confdefs.h
1141 # Predefined preprocessor variables.
1143 cat >>confdefs.h <<_ACEOF
1144 #define PACKAGE_NAME "$PACKAGE_NAME"
1145 _ACEOF
1148 cat >>confdefs.h <<_ACEOF
1149 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1150 _ACEOF
1153 cat >>confdefs.h <<_ACEOF
1154 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1155 _ACEOF
1158 cat >>confdefs.h <<_ACEOF
1159 #define PACKAGE_STRING "$PACKAGE_STRING"
1160 _ACEOF
1163 cat >>confdefs.h <<_ACEOF
1164 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1165 _ACEOF
1168 # Let the site file select an alternate cache file if it wants to.
1169 # Prefer explicitly selected file to automatically selected ones.
1170 if test -z "$CONFIG_SITE"; then
1171 if test "x$prefix" != xNONE; then
1172 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1173 else
1174 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1177 for ac_site_file in $CONFIG_SITE; do
1178 if test -r "$ac_site_file"; then
1179 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1180 echo "$as_me: loading site script $ac_site_file" >&6;}
1181 sed 's/^/| /' "$ac_site_file" >&5
1182 . "$ac_site_file"
1184 done
1186 if test -r "$cache_file"; then
1187 # Some versions of bash will fail to source /dev/null (special
1188 # files actually), so we avoid doing that.
1189 if test -f "$cache_file"; then
1190 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1191 echo "$as_me: loading cache $cache_file" >&6;}
1192 case $cache_file in
1193 [\\/]* | ?:[\\/]* ) . $cache_file;;
1194 *) . ./$cache_file;;
1195 esac
1197 else
1198 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1199 echo "$as_me: creating cache $cache_file" >&6;}
1200 >$cache_file
1203 # Check that the precious variables saved in the cache have kept the same
1204 # value.
1205 ac_cache_corrupted=false
1206 for ac_var in `(set) 2>&1 |
1207 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1208 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1209 eval ac_new_set=\$ac_env_${ac_var}_set
1210 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1211 eval ac_new_val="\$ac_env_${ac_var}_value"
1212 case $ac_old_set,$ac_new_set in
1213 set,)
1214 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1215 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1216 ac_cache_corrupted=: ;;
1217 ,set)
1218 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1219 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1220 ac_cache_corrupted=: ;;
1221 ,);;
1223 if test "x$ac_old_val" != "x$ac_new_val"; then
1224 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1225 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1226 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1227 echo "$as_me: former value: $ac_old_val" >&2;}
1228 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1229 echo "$as_me: current value: $ac_new_val" >&2;}
1230 ac_cache_corrupted=:
1231 fi;;
1232 esac
1233 # Pass precious variables to config.status.
1234 if test "$ac_new_set" = set; then
1235 case $ac_new_val in
1236 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1237 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1238 *) ac_arg=$ac_var=$ac_new_val ;;
1239 esac
1240 case " $ac_configure_args " in
1241 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1242 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1243 esac
1245 done
1246 if $ac_cache_corrupted; then
1247 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1248 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1249 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1250 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1251 { (exit 1); exit 1; }; }
1254 ac_ext=c
1255 ac_cpp='$CPP $CPPFLAGS'
1256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1289 # Check whether --with-target-subdir or --without-target-subdir was given.
1290 if test "${with_target_subdir+set}" = set; then
1291 withval="$with_target_subdir"
1295 # Check whether --with-cross-host or --without-cross-host was given.
1296 if test "${with_cross_host+set}" = set; then
1297 withval="$with_cross_host"
1301 # Check whether --with-ld or --without-ld was given.
1302 if test "${with_ld+set}" = set; then
1303 withval="$with_ld"
1307 if test "${srcdir}" = "."; then
1308 if test -n "${with_build_subdir}"; then
1309 libgcc_topdir="${srcdir}/../.."
1310 with_target_subdir=
1311 elif test -z "${with_target_subdir}"; then
1312 libgcc_topdir="${srcdir}/.."
1313 else
1314 if test "${with_target_subdir}" != "."; then
1315 libgcc_topdir="${srcdir}/${with_multisrctop}../.."
1316 else
1317 libgcc_topdir="${srcdir}/${with_multisrctop}.."
1320 else
1321 libgcc_topdir="${srcdir}/.."
1324 ac_aux_dir=
1325 for ac_dir in $libgcc_topdir $srcdir/$libgcc_topdir; do
1326 if test -f $ac_dir/install-sh; then
1327 ac_aux_dir=$ac_dir
1328 ac_install_sh="$ac_aux_dir/install-sh -c"
1329 break
1330 elif test -f $ac_dir/install.sh; then
1331 ac_aux_dir=$ac_dir
1332 ac_install_sh="$ac_aux_dir/install.sh -c"
1333 break
1334 elif test -f $ac_dir/shtool; then
1335 ac_aux_dir=$ac_dir
1336 ac_install_sh="$ac_aux_dir/shtool install -c"
1337 break
1339 done
1340 if test -z "$ac_aux_dir"; then
1341 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $libgcc_topdir $srcdir/$libgcc_topdir" >&5
1342 echo "$as_me: error: cannot find install-sh or install.sh in $libgcc_topdir $srcdir/$libgcc_topdir" >&2;}
1343 { (exit 1); exit 1; }; }
1345 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1346 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1347 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1350 # Check whether --enable-shared or --disable-shared was given.
1351 if test "${enable_shared+set}" = set; then
1352 enableval="$enable_shared"
1354 case $enable_shared in
1355 yes | no) ;;
1357 enable_shared=no
1358 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1359 for pkg in $enableval; do
1360 if test "X$pkg" = "Xgcc" || test "X$pkg" = "Xlibgcc"; then
1361 enable_shared=yes
1363 done
1364 IFS="$ac_save_ifs"
1366 esac
1368 else
1369 enable_shared=yes
1373 echo "$as_me:$LINENO: checking for --enable-version-specific-runtime-libs" >&5
1374 echo $ECHO_N "checking for --enable-version-specific-runtime-libs... $ECHO_C" >&6
1375 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
1376 if test "${enable_version_specific_runtime_libs+set}" = set; then
1377 enableval="$enable_version_specific_runtime_libs"
1378 case "$enableval" in
1379 yes) version_specific_libs=yes ;;
1380 no) version_specific_libs=no ;;
1381 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
1382 echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
1383 { (exit 1); exit 1; }; };;
1384 esac
1385 else
1386 version_specific_libs=no
1388 echo "$as_me:$LINENO: result: $version_specific_libs" >&5
1389 echo "${ECHO_T}$version_specific_libs" >&6
1392 # Check whether --with-slibdir or --without-slibdir was given.
1393 if test "${with_slibdir+set}" = set; then
1394 withval="$with_slibdir"
1395 slibdir="$with_slibdir"
1396 else
1397 if test "${version_specific_libs}" = yes; then
1398 slibdir='$(libsubdir)'
1399 elif test -n "$with_cross_host" && test x"$with_cross_host" != x"no"; then
1400 slibdir='$(exec_prefix)/$(host_noncanonical)/lib'
1401 else
1402 slibdir='$(libdir)'
1407 # Find a good install program. We prefer a C program (faster),
1408 # so one script is as good as another. But avoid the broken or
1409 # incompatible versions:
1410 # SysV /etc/install, /usr/sbin/install
1411 # SunOS /usr/etc/install
1412 # IRIX /sbin/install
1413 # AIX /bin/install
1414 # AmigaOS /C/install, which installs bootblocks on floppy discs
1415 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1416 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1417 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1418 # OS/2's system install, which has a completely different semantic
1419 # ./install, which can be erroneously created by make from ./install.sh.
1420 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1421 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1422 if test -z "$INSTALL"; then
1423 if test "${ac_cv_path_install+set}" = set; then
1424 echo $ECHO_N "(cached) $ECHO_C" >&6
1425 else
1426 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1427 for as_dir in $PATH
1429 IFS=$as_save_IFS
1430 test -z "$as_dir" && as_dir=.
1431 # Account for people who put trailing slashes in PATH elements.
1432 case $as_dir/ in
1433 ./ | .// | /cC/* | \
1434 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1435 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1436 /usr/ucb/* ) ;;
1438 # OSF1 and SCO ODT 3.0 have their own names for install.
1439 # Don't use installbsd from OSF since it installs stuff as root
1440 # by default.
1441 for ac_prog in ginstall scoinst install; do
1442 for ac_exec_ext in '' $ac_executable_extensions; do
1443 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1444 if test $ac_prog = install &&
1445 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1446 # AIX install. It has an incompatible calling convention.
1448 elif test $ac_prog = install &&
1449 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1450 # program-specific install script used by HP pwplus--don't use.
1452 else
1453 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1454 break 3
1457 done
1458 done
1460 esac
1461 done
1465 if test "${ac_cv_path_install+set}" = set; then
1466 INSTALL=$ac_cv_path_install
1467 else
1468 # As a last resort, use the slow shell script. We don't cache a
1469 # path for INSTALL within a source directory, because that will
1470 # break other packages using the cache if that directory is
1471 # removed, or if the path is relative.
1472 INSTALL=$ac_install_sh
1475 echo "$as_me:$LINENO: result: $INSTALL" >&5
1476 echo "${ECHO_T}$INSTALL" >&6
1478 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1479 # It thinks the first close brace ends the variable substitution.
1480 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1482 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1484 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1487 for ac_prog in gawk mawk nawk awk
1489 # Extract the first word of "$ac_prog", so it can be a program name with args.
1490 set dummy $ac_prog; ac_word=$2
1491 echo "$as_me:$LINENO: checking for $ac_word" >&5
1492 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1493 if test "${ac_cv_prog_AWK+set}" = set; then
1494 echo $ECHO_N "(cached) $ECHO_C" >&6
1495 else
1496 if test -n "$AWK"; then
1497 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1498 else
1499 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1500 for as_dir in $PATH
1502 IFS=$as_save_IFS
1503 test -z "$as_dir" && as_dir=.
1504 for ac_exec_ext in '' $ac_executable_extensions; do
1505 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1506 ac_cv_prog_AWK="$ac_prog"
1507 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1508 break 2
1510 done
1511 done
1515 AWK=$ac_cv_prog_AWK
1516 if test -n "$AWK"; then
1517 echo "$as_me:$LINENO: result: $AWK" >&5
1518 echo "${ECHO_T}$AWK" >&6
1519 else
1520 echo "$as_me:$LINENO: result: no" >&5
1521 echo "${ECHO_T}no" >&6
1524 test -n "$AWK" && break
1525 done
1527 # We need awk; bail out if it's missing.
1528 case ${AWK} in
1529 "") { { echo "$as_me:$LINENO: error: can't build without awk, bailing out" >&5
1530 echo "$as_me: error: can't build without awk, bailing out" >&2;}
1531 { (exit 1); exit 1; }; } ;;
1532 esac
1534 # Make sure we can run config.sub.
1535 $ac_config_sub sun4 >/dev/null 2>&1 ||
1536 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1537 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1538 { (exit 1); exit 1; }; }
1540 echo "$as_me:$LINENO: checking build system type" >&5
1541 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1542 if test "${ac_cv_build+set}" = set; then
1543 echo $ECHO_N "(cached) $ECHO_C" >&6
1544 else
1545 ac_cv_build_alias=$build_alias
1546 test -z "$ac_cv_build_alias" &&
1547 ac_cv_build_alias=`$ac_config_guess`
1548 test -z "$ac_cv_build_alias" &&
1549 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1550 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1551 { (exit 1); exit 1; }; }
1552 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1553 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1554 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1555 { (exit 1); exit 1; }; }
1558 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1559 echo "${ECHO_T}$ac_cv_build" >&6
1560 build=$ac_cv_build
1561 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1562 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1563 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1566 echo "$as_me:$LINENO: checking host system type" >&5
1567 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1568 if test "${ac_cv_host+set}" = set; then
1569 echo $ECHO_N "(cached) $ECHO_C" >&6
1570 else
1571 ac_cv_host_alias=$host_alias
1572 test -z "$ac_cv_host_alias" &&
1573 ac_cv_host_alias=$ac_cv_build_alias
1574 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1575 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1576 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1577 { (exit 1); exit 1; }; }
1580 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1581 echo "${ECHO_T}$ac_cv_host" >&6
1582 host=$ac_cv_host
1583 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1584 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1585 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1588 case ${build_alias} in
1589 "") build_noncanonical=${build} ;;
1590 *) build_noncanonical=${build_alias} ;;
1591 esac
1593 case ${host_alias} in
1594 "") host_noncanonical=${build_noncanonical} ;;
1595 *) host_noncanonical=${host_alias} ;;
1596 esac
1600 case ${target_alias} in
1601 "") target_noncanonical=${host_noncanonical} ;;
1602 *) target_noncanonical=${target_alias} ;;
1603 esac
1606 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
1607 # have matching libraries, they should use host libraries: Makefile.tpl
1608 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
1609 # However, they still use the build modules, because the corresponding
1610 # host modules (e.g. bison) are only built for the host when bootstrap
1611 # finishes. So:
1612 # - build_subdir is where we find build modules, and never changes.
1613 # - build_libsubdir is where we find build libraries, and can be overridden.
1615 # Prefix 'build-' so this never conflicts with target_subdir.
1616 build_subdir="build-${build_noncanonical}"
1618 # Check whether --with-build-libsubdir or --without-build-libsubdir was given.
1619 if test "${with_build_libsubdir+set}" = set; then
1620 withval="$with_build_libsubdir"
1621 build_libsubdir="$withval"
1622 else
1623 build_libsubdir="$build_subdir"
1625 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
1626 if ( test $srcdir = . && test -d gcc ) \
1627 || test -d $srcdir/../host-${host_noncanonical}; then
1628 host_subdir="host-${host_noncanonical}"
1629 else
1630 host_subdir=.
1632 # No prefix.
1633 target_subdir=${target_noncanonical}
1636 if test -n "$ac_tool_prefix"; then
1637 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
1638 set dummy ${ac_tool_prefix}ar; ac_word=$2
1639 echo "$as_me:$LINENO: checking for $ac_word" >&5
1640 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1641 if test "${ac_cv_prog_AR+set}" = set; then
1642 echo $ECHO_N "(cached) $ECHO_C" >&6
1643 else
1644 if test -n "$AR"; then
1645 ac_cv_prog_AR="$AR" # Let the user override the test.
1646 else
1647 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1648 for as_dir in $PATH
1650 IFS=$as_save_IFS
1651 test -z "$as_dir" && as_dir=.
1652 for ac_exec_ext in '' $ac_executable_extensions; do
1653 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1654 ac_cv_prog_AR="${ac_tool_prefix}ar"
1655 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1656 break 2
1658 done
1659 done
1663 AR=$ac_cv_prog_AR
1664 if test -n "$AR"; then
1665 echo "$as_me:$LINENO: result: $AR" >&5
1666 echo "${ECHO_T}$AR" >&6
1667 else
1668 echo "$as_me:$LINENO: result: no" >&5
1669 echo "${ECHO_T}no" >&6
1673 if test -z "$ac_cv_prog_AR"; then
1674 ac_ct_AR=$AR
1675 # Extract the first word of "ar", so it can be a program name with args.
1676 set dummy ar; ac_word=$2
1677 echo "$as_me:$LINENO: checking for $ac_word" >&5
1678 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1679 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
1680 echo $ECHO_N "(cached) $ECHO_C" >&6
1681 else
1682 if test -n "$ac_ct_AR"; then
1683 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
1684 else
1685 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1686 for as_dir in $PATH
1688 IFS=$as_save_IFS
1689 test -z "$as_dir" && as_dir=.
1690 for ac_exec_ext in '' $ac_executable_extensions; do
1691 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1692 ac_cv_prog_ac_ct_AR="ar"
1693 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1694 break 2
1696 done
1697 done
1701 ac_ct_AR=$ac_cv_prog_ac_ct_AR
1702 if test -n "$ac_ct_AR"; then
1703 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
1704 echo "${ECHO_T}$ac_ct_AR" >&6
1705 else
1706 echo "$as_me:$LINENO: result: no" >&5
1707 echo "${ECHO_T}no" >&6
1710 AR=$ac_ct_AR
1711 else
1712 AR="$ac_cv_prog_AR"
1715 if test -n "$ac_tool_prefix"; then
1716 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
1717 set dummy ${ac_tool_prefix}lipo; ac_word=$2
1718 echo "$as_me:$LINENO: checking for $ac_word" >&5
1719 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1720 if test "${ac_cv_prog_LIPO+set}" = set; then
1721 echo $ECHO_N "(cached) $ECHO_C" >&6
1722 else
1723 if test -n "$LIPO"; then
1724 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
1725 else
1726 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1727 for as_dir in $PATH
1729 IFS=$as_save_IFS
1730 test -z "$as_dir" && as_dir=.
1731 for ac_exec_ext in '' $ac_executable_extensions; do
1732 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1733 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
1734 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1735 break 2
1737 done
1738 done
1742 LIPO=$ac_cv_prog_LIPO
1743 if test -n "$LIPO"; then
1744 echo "$as_me:$LINENO: result: $LIPO" >&5
1745 echo "${ECHO_T}$LIPO" >&6
1746 else
1747 echo "$as_me:$LINENO: result: no" >&5
1748 echo "${ECHO_T}no" >&6
1752 if test -z "$ac_cv_prog_LIPO"; then
1753 ac_ct_LIPO=$LIPO
1754 # Extract the first word of "lipo", so it can be a program name with args.
1755 set dummy lipo; ac_word=$2
1756 echo "$as_me:$LINENO: checking for $ac_word" >&5
1757 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1758 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
1759 echo $ECHO_N "(cached) $ECHO_C" >&6
1760 else
1761 if test -n "$ac_ct_LIPO"; then
1762 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
1763 else
1764 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1765 for as_dir in $PATH
1767 IFS=$as_save_IFS
1768 test -z "$as_dir" && as_dir=.
1769 for ac_exec_ext in '' $ac_executable_extensions; do
1770 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1771 ac_cv_prog_ac_ct_LIPO="lipo"
1772 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1773 break 2
1775 done
1776 done
1778 test -z "$ac_cv_prog_ac_ct_LIPO" && ac_cv_prog_ac_ct_LIPO=":"
1781 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
1782 if test -n "$ac_ct_LIPO"; then
1783 echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5
1784 echo "${ECHO_T}$ac_ct_LIPO" >&6
1785 else
1786 echo "$as_me:$LINENO: result: no" >&5
1787 echo "${ECHO_T}no" >&6
1790 LIPO=$ac_ct_LIPO
1791 else
1792 LIPO="$ac_cv_prog_LIPO"
1795 if test -n "$ac_tool_prefix"; then
1796 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
1797 set dummy ${ac_tool_prefix}nm; ac_word=$2
1798 echo "$as_me:$LINENO: checking for $ac_word" >&5
1799 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1800 if test "${ac_cv_prog_NM+set}" = set; then
1801 echo $ECHO_N "(cached) $ECHO_C" >&6
1802 else
1803 if test -n "$NM"; then
1804 ac_cv_prog_NM="$NM" # Let the user override the test.
1805 else
1806 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1807 for as_dir in $PATH
1809 IFS=$as_save_IFS
1810 test -z "$as_dir" && as_dir=.
1811 for ac_exec_ext in '' $ac_executable_extensions; do
1812 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1813 ac_cv_prog_NM="${ac_tool_prefix}nm"
1814 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1815 break 2
1817 done
1818 done
1822 NM=$ac_cv_prog_NM
1823 if test -n "$NM"; then
1824 echo "$as_me:$LINENO: result: $NM" >&5
1825 echo "${ECHO_T}$NM" >&6
1826 else
1827 echo "$as_me:$LINENO: result: no" >&5
1828 echo "${ECHO_T}no" >&6
1832 if test -z "$ac_cv_prog_NM"; then
1833 ac_ct_NM=$NM
1834 # Extract the first word of "nm", so it can be a program name with args.
1835 set dummy nm; ac_word=$2
1836 echo "$as_me:$LINENO: checking for $ac_word" >&5
1837 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1838 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
1839 echo $ECHO_N "(cached) $ECHO_C" >&6
1840 else
1841 if test -n "$ac_ct_NM"; then
1842 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
1843 else
1844 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1845 for as_dir in $PATH
1847 IFS=$as_save_IFS
1848 test -z "$as_dir" && as_dir=.
1849 for ac_exec_ext in '' $ac_executable_extensions; do
1850 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1851 ac_cv_prog_ac_ct_NM="nm"
1852 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1853 break 2
1855 done
1856 done
1860 ac_ct_NM=$ac_cv_prog_ac_ct_NM
1861 if test -n "$ac_ct_NM"; then
1862 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
1863 echo "${ECHO_T}$ac_ct_NM" >&6
1864 else
1865 echo "$as_me:$LINENO: result: no" >&5
1866 echo "${ECHO_T}no" >&6
1869 NM=$ac_ct_NM
1870 else
1871 NM="$ac_cv_prog_NM"
1874 if test -n "$ac_tool_prefix"; then
1875 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
1876 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
1877 echo "$as_me:$LINENO: checking for $ac_word" >&5
1878 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1879 if test "${ac_cv_prog_RANLIB+set}" = set; then
1880 echo $ECHO_N "(cached) $ECHO_C" >&6
1881 else
1882 if test -n "$RANLIB"; then
1883 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1884 else
1885 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1886 for as_dir in $PATH
1888 IFS=$as_save_IFS
1889 test -z "$as_dir" && as_dir=.
1890 for ac_exec_ext in '' $ac_executable_extensions; do
1891 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1892 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
1893 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1894 break 2
1896 done
1897 done
1901 RANLIB=$ac_cv_prog_RANLIB
1902 if test -n "$RANLIB"; then
1903 echo "$as_me:$LINENO: result: $RANLIB" >&5
1904 echo "${ECHO_T}$RANLIB" >&6
1905 else
1906 echo "$as_me:$LINENO: result: no" >&5
1907 echo "${ECHO_T}no" >&6
1911 if test -z "$ac_cv_prog_RANLIB"; then
1912 ac_ct_RANLIB=$RANLIB
1913 # Extract the first word of "ranlib", so it can be a program name with args.
1914 set dummy ranlib; ac_word=$2
1915 echo "$as_me:$LINENO: checking for $ac_word" >&5
1916 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1917 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
1918 echo $ECHO_N "(cached) $ECHO_C" >&6
1919 else
1920 if test -n "$ac_ct_RANLIB"; then
1921 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
1922 else
1923 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1924 for as_dir in $PATH
1926 IFS=$as_save_IFS
1927 test -z "$as_dir" && as_dir=.
1928 for ac_exec_ext in '' $ac_executable_extensions; do
1929 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1930 ac_cv_prog_ac_ct_RANLIB="ranlib"
1931 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1932 break 2
1934 done
1935 done
1937 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
1940 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
1941 if test -n "$ac_ct_RANLIB"; then
1942 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
1943 echo "${ECHO_T}$ac_ct_RANLIB" >&6
1944 else
1945 echo "$as_me:$LINENO: result: no" >&5
1946 echo "${ECHO_T}no" >&6
1949 RANLIB=$ac_ct_RANLIB
1950 else
1951 RANLIB="$ac_cv_prog_RANLIB"
1954 if test -n "$ac_tool_prefix"; then
1955 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1956 set dummy ${ac_tool_prefix}strip; ac_word=$2
1957 echo "$as_me:$LINENO: checking for $ac_word" >&5
1958 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1959 if test "${ac_cv_prog_STRIP+set}" = set; then
1960 echo $ECHO_N "(cached) $ECHO_C" >&6
1961 else
1962 if test -n "$STRIP"; then
1963 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1964 else
1965 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1966 for as_dir in $PATH
1968 IFS=$as_save_IFS
1969 test -z "$as_dir" && as_dir=.
1970 for ac_exec_ext in '' $ac_executable_extensions; do
1971 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1972 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1973 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1974 break 2
1976 done
1977 done
1981 STRIP=$ac_cv_prog_STRIP
1982 if test -n "$STRIP"; then
1983 echo "$as_me:$LINENO: result: $STRIP" >&5
1984 echo "${ECHO_T}$STRIP" >&6
1985 else
1986 echo "$as_me:$LINENO: result: no" >&5
1987 echo "${ECHO_T}no" >&6
1991 if test -z "$ac_cv_prog_STRIP"; then
1992 ac_ct_STRIP=$STRIP
1993 # Extract the first word of "strip", so it can be a program name with args.
1994 set dummy strip; 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_ac_ct_STRIP+set}" = set; then
1998 echo $ECHO_N "(cached) $ECHO_C" >&6
1999 else
2000 if test -n "$ac_ct_STRIP"; then
2001 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2002 else
2003 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2004 for as_dir in $PATH
2006 IFS=$as_save_IFS
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_ac_ct_STRIP="strip"
2011 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2012 break 2
2014 done
2015 done
2017 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
2020 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2021 if test -n "$ac_ct_STRIP"; then
2022 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2023 echo "${ECHO_T}$ac_ct_STRIP" >&6
2024 else
2025 echo "$as_me:$LINENO: result: no" >&5
2026 echo "${ECHO_T}no" >&6
2029 STRIP=$ac_ct_STRIP
2030 else
2031 STRIP="$ac_cv_prog_STRIP"
2034 echo "$as_me:$LINENO: checking whether ln -s works" >&5
2035 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
2036 LN_S=$as_ln_s
2037 if test "$LN_S" = "ln -s"; then
2038 echo "$as_me:$LINENO: result: yes" >&5
2039 echo "${ECHO_T}yes" >&6
2040 else
2041 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
2042 echo "${ECHO_T}no, using $LN_S" >&6
2047 ac_ext=c
2048 ac_cpp='$CPP $CPPFLAGS'
2049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2052 if test -n "$ac_tool_prefix"; then
2053 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2054 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2055 echo "$as_me:$LINENO: checking for $ac_word" >&5
2056 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2057 if test "${ac_cv_prog_CC+set}" = set; then
2058 echo $ECHO_N "(cached) $ECHO_C" >&6
2059 else
2060 if test -n "$CC"; then
2061 ac_cv_prog_CC="$CC" # Let the user override the test.
2062 else
2063 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2064 for as_dir in $PATH
2066 IFS=$as_save_IFS
2067 test -z "$as_dir" && as_dir=.
2068 for ac_exec_ext in '' $ac_executable_extensions; do
2069 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2070 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2071 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2072 break 2
2074 done
2075 done
2079 CC=$ac_cv_prog_CC
2080 if test -n "$CC"; then
2081 echo "$as_me:$LINENO: result: $CC" >&5
2082 echo "${ECHO_T}$CC" >&6
2083 else
2084 echo "$as_me:$LINENO: result: no" >&5
2085 echo "${ECHO_T}no" >&6
2089 if test -z "$ac_cv_prog_CC"; then
2090 ac_ct_CC=$CC
2091 # Extract the first word of "gcc", so it can be a program name with args.
2092 set dummy gcc; ac_word=$2
2093 echo "$as_me:$LINENO: checking for $ac_word" >&5
2094 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2095 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2096 echo $ECHO_N "(cached) $ECHO_C" >&6
2097 else
2098 if test -n "$ac_ct_CC"; then
2099 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2100 else
2101 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2102 for as_dir in $PATH
2104 IFS=$as_save_IFS
2105 test -z "$as_dir" && as_dir=.
2106 for ac_exec_ext in '' $ac_executable_extensions; do
2107 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2108 ac_cv_prog_ac_ct_CC="gcc"
2109 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2110 break 2
2112 done
2113 done
2117 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2118 if test -n "$ac_ct_CC"; then
2119 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2120 echo "${ECHO_T}$ac_ct_CC" >&6
2121 else
2122 echo "$as_me:$LINENO: result: no" >&5
2123 echo "${ECHO_T}no" >&6
2126 CC=$ac_ct_CC
2127 else
2128 CC="$ac_cv_prog_CC"
2131 if test -z "$CC"; then
2132 if test -n "$ac_tool_prefix"; then
2133 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2134 set dummy ${ac_tool_prefix}cc; ac_word=$2
2135 echo "$as_me:$LINENO: checking for $ac_word" >&5
2136 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2137 if test "${ac_cv_prog_CC+set}" = set; then
2138 echo $ECHO_N "(cached) $ECHO_C" >&6
2139 else
2140 if test -n "$CC"; then
2141 ac_cv_prog_CC="$CC" # Let the user override the test.
2142 else
2143 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2144 for as_dir in $PATH
2146 IFS=$as_save_IFS
2147 test -z "$as_dir" && as_dir=.
2148 for ac_exec_ext in '' $ac_executable_extensions; do
2149 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2150 ac_cv_prog_CC="${ac_tool_prefix}cc"
2151 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2152 break 2
2154 done
2155 done
2159 CC=$ac_cv_prog_CC
2160 if test -n "$CC"; then
2161 echo "$as_me:$LINENO: result: $CC" >&5
2162 echo "${ECHO_T}$CC" >&6
2163 else
2164 echo "$as_me:$LINENO: result: no" >&5
2165 echo "${ECHO_T}no" >&6
2169 if test -z "$ac_cv_prog_CC"; then
2170 ac_ct_CC=$CC
2171 # Extract the first word of "cc", so it can be a program name with args.
2172 set dummy cc; ac_word=$2
2173 echo "$as_me:$LINENO: checking for $ac_word" >&5
2174 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2175 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2176 echo $ECHO_N "(cached) $ECHO_C" >&6
2177 else
2178 if test -n "$ac_ct_CC"; then
2179 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2180 else
2181 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2182 for as_dir in $PATH
2184 IFS=$as_save_IFS
2185 test -z "$as_dir" && as_dir=.
2186 for ac_exec_ext in '' $ac_executable_extensions; do
2187 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2188 ac_cv_prog_ac_ct_CC="cc"
2189 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2190 break 2
2192 done
2193 done
2197 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2198 if test -n "$ac_ct_CC"; then
2199 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2200 echo "${ECHO_T}$ac_ct_CC" >&6
2201 else
2202 echo "$as_me:$LINENO: result: no" >&5
2203 echo "${ECHO_T}no" >&6
2206 CC=$ac_ct_CC
2207 else
2208 CC="$ac_cv_prog_CC"
2212 if test -z "$CC"; then
2213 # Extract the first word of "cc", so it can be a program name with args.
2214 set dummy cc; ac_word=$2
2215 echo "$as_me:$LINENO: checking for $ac_word" >&5
2216 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2217 if test "${ac_cv_prog_CC+set}" = set; then
2218 echo $ECHO_N "(cached) $ECHO_C" >&6
2219 else
2220 if test -n "$CC"; then
2221 ac_cv_prog_CC="$CC" # Let the user override the test.
2222 else
2223 ac_prog_rejected=no
2224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2225 for as_dir in $PATH
2227 IFS=$as_save_IFS
2228 test -z "$as_dir" && as_dir=.
2229 for ac_exec_ext in '' $ac_executable_extensions; do
2230 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2231 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2232 ac_prog_rejected=yes
2233 continue
2235 ac_cv_prog_CC="cc"
2236 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2237 break 2
2239 done
2240 done
2242 if test $ac_prog_rejected = yes; then
2243 # We found a bogon in the path, so make sure we never use it.
2244 set dummy $ac_cv_prog_CC
2245 shift
2246 if test $# != 0; then
2247 # We chose a different compiler from the bogus one.
2248 # However, it has the same basename, so the bogon will be chosen
2249 # first if we set CC to just the basename; use the full file name.
2250 shift
2251 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2256 CC=$ac_cv_prog_CC
2257 if test -n "$CC"; then
2258 echo "$as_me:$LINENO: result: $CC" >&5
2259 echo "${ECHO_T}$CC" >&6
2260 else
2261 echo "$as_me:$LINENO: result: no" >&5
2262 echo "${ECHO_T}no" >&6
2266 if test -z "$CC"; then
2267 if test -n "$ac_tool_prefix"; then
2268 for ac_prog in cl
2270 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2271 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2272 echo "$as_me:$LINENO: checking for $ac_word" >&5
2273 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2274 if test "${ac_cv_prog_CC+set}" = set; then
2275 echo $ECHO_N "(cached) $ECHO_C" >&6
2276 else
2277 if test -n "$CC"; then
2278 ac_cv_prog_CC="$CC" # Let the user override the test.
2279 else
2280 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2281 for as_dir in $PATH
2283 IFS=$as_save_IFS
2284 test -z "$as_dir" && as_dir=.
2285 for ac_exec_ext in '' $ac_executable_extensions; do
2286 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2287 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2288 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2289 break 2
2291 done
2292 done
2296 CC=$ac_cv_prog_CC
2297 if test -n "$CC"; then
2298 echo "$as_me:$LINENO: result: $CC" >&5
2299 echo "${ECHO_T}$CC" >&6
2300 else
2301 echo "$as_me:$LINENO: result: no" >&5
2302 echo "${ECHO_T}no" >&6
2305 test -n "$CC" && break
2306 done
2308 if test -z "$CC"; then
2309 ac_ct_CC=$CC
2310 for ac_prog in cl
2312 # Extract the first word of "$ac_prog", so it can be a program name with args.
2313 set dummy $ac_prog; ac_word=$2
2314 echo "$as_me:$LINENO: checking for $ac_word" >&5
2315 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2316 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2317 echo $ECHO_N "(cached) $ECHO_C" >&6
2318 else
2319 if test -n "$ac_ct_CC"; then
2320 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2321 else
2322 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2323 for as_dir in $PATH
2325 IFS=$as_save_IFS
2326 test -z "$as_dir" && as_dir=.
2327 for ac_exec_ext in '' $ac_executable_extensions; do
2328 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2329 ac_cv_prog_ac_ct_CC="$ac_prog"
2330 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2331 break 2
2333 done
2334 done
2338 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2339 if test -n "$ac_ct_CC"; then
2340 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2341 echo "${ECHO_T}$ac_ct_CC" >&6
2342 else
2343 echo "$as_me:$LINENO: result: no" >&5
2344 echo "${ECHO_T}no" >&6
2347 test -n "$ac_ct_CC" && break
2348 done
2350 CC=$ac_ct_CC
2356 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2357 See \`config.log' for more details." >&5
2358 echo "$as_me: error: no acceptable C compiler found in \$PATH
2359 See \`config.log' for more details." >&2;}
2360 { (exit 1); exit 1; }; }
2362 # Provide some information about the compiler.
2363 echo "$as_me:$LINENO:" \
2364 "checking for C compiler version" >&5
2365 ac_compiler=`set X $ac_compile; echo $2`
2366 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2367 (eval $ac_compiler --version </dev/null >&5) 2>&5
2368 ac_status=$?
2369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2370 (exit $ac_status); }
2371 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2372 (eval $ac_compiler -v </dev/null >&5) 2>&5
2373 ac_status=$?
2374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2375 (exit $ac_status); }
2376 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2377 (eval $ac_compiler -V </dev/null >&5) 2>&5
2378 ac_status=$?
2379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2380 (exit $ac_status); }
2382 cat >conftest.$ac_ext <<_ACEOF
2383 /* confdefs.h. */
2384 _ACEOF
2385 cat confdefs.h >>conftest.$ac_ext
2386 cat >>conftest.$ac_ext <<_ACEOF
2387 /* end confdefs.h. */
2390 main ()
2394 return 0;
2396 _ACEOF
2397 # FIXME: Cleanup?
2398 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2399 (eval $ac_link) 2>&5
2400 ac_status=$?
2401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2402 (exit $ac_status); }; then
2403 gcc_no_link=no
2404 else
2405 gcc_no_link=yes
2408 if test x$gcc_no_link = xyes; then
2409 # Setting cross_compile will disable run tests; it will
2410 # also disable AC_CHECK_FILE but that's generally
2411 # correct if we can't link.
2412 cross_compiling=yes
2413 EXEEXT=
2414 else
2415 cat >conftest.$ac_ext <<_ACEOF
2416 /* confdefs.h. */
2417 _ACEOF
2418 cat confdefs.h >>conftest.$ac_ext
2419 cat >>conftest.$ac_ext <<_ACEOF
2420 /* end confdefs.h. */
2423 main ()
2427 return 0;
2429 _ACEOF
2430 ac_clean_files_save=$ac_clean_files
2431 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2432 # Try to create an executable without -o first, disregard a.out.
2433 # It will help us diagnose broken compilers, and finding out an intuition
2434 # of exeext.
2435 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2436 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2437 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2438 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2439 (eval $ac_link_default) 2>&5
2440 ac_status=$?
2441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2442 (exit $ac_status); }; then
2443 # Find the output, starting from the most likely. This scheme is
2444 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2445 # resort.
2447 # Be careful to initialize this variable, since it used to be cached.
2448 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2449 ac_cv_exeext=
2450 # b.out is created by i960 compilers.
2451 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2453 test -f "$ac_file" || continue
2454 case $ac_file in
2455 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2457 conftest.$ac_ext )
2458 # This is the source file.
2460 [ab].out )
2461 # We found the default executable, but exeext='' is most
2462 # certainly right.
2463 break;;
2464 *.* )
2465 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2466 # FIXME: I believe we export ac_cv_exeext for Libtool,
2467 # but it would be cool to find out if it's true. Does anybody
2468 # maintain Libtool? --akim.
2469 export ac_cv_exeext
2470 break;;
2472 break;;
2473 esac
2474 done
2475 else
2476 echo "$as_me: failed program was:" >&5
2477 sed 's/^/| /' conftest.$ac_ext >&5
2479 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2480 See \`config.log' for more details." >&5
2481 echo "$as_me: error: C compiler cannot create executables
2482 See \`config.log' for more details." >&2;}
2483 { (exit 77); exit 77; }; }
2486 ac_exeext=$ac_cv_exeext
2487 echo "$as_me:$LINENO: result: $ac_file" >&5
2488 echo "${ECHO_T}$ac_file" >&6
2490 # Check the compiler produces executables we can run. If not, either
2491 # the compiler is broken, or we cross compile.
2492 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2493 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2494 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2495 # If not cross compiling, check that we can run a simple program.
2496 if test "$cross_compiling" != yes; then
2497 if { ac_try='./$ac_file'
2498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2499 (eval $ac_try) 2>&5
2500 ac_status=$?
2501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2502 (exit $ac_status); }; }; then
2503 cross_compiling=no
2504 else
2505 if test "$cross_compiling" = maybe; then
2506 cross_compiling=yes
2507 else
2508 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2509 If you meant to cross compile, use \`--host'.
2510 See \`config.log' for more details." >&5
2511 echo "$as_me: error: cannot run C compiled programs.
2512 If you meant to cross compile, use \`--host'.
2513 See \`config.log' for more details." >&2;}
2514 { (exit 1); exit 1; }; }
2518 echo "$as_me:$LINENO: result: yes" >&5
2519 echo "${ECHO_T}yes" >&6
2521 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2522 ac_clean_files=$ac_clean_files_save
2523 # Check the compiler produces executables we can run. If not, either
2524 # the compiler is broken, or we cross compile.
2525 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2526 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2527 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2528 echo "${ECHO_T}$cross_compiling" >&6
2530 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2531 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2532 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2533 (eval $ac_link) 2>&5
2534 ac_status=$?
2535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2536 (exit $ac_status); }; then
2537 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2538 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2539 # work properly (i.e., refer to `conftest.exe'), while it won't with
2540 # `rm'.
2541 for ac_file in conftest.exe conftest conftest.*; do
2542 test -f "$ac_file" || continue
2543 case $ac_file in
2544 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2545 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2546 export ac_cv_exeext
2547 break;;
2548 * ) break;;
2549 esac
2550 done
2551 else
2552 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2553 See \`config.log' for more details." >&5
2554 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2555 See \`config.log' for more details." >&2;}
2556 { (exit 1); exit 1; }; }
2559 rm -f conftest$ac_cv_exeext
2560 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2561 echo "${ECHO_T}$ac_cv_exeext" >&6
2563 rm -f conftest.$ac_ext
2564 EXEEXT=$ac_cv_exeext
2565 ac_exeext=$EXEEXT
2567 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2568 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2569 if test "${ac_cv_objext+set}" = set; then
2570 echo $ECHO_N "(cached) $ECHO_C" >&6
2571 else
2572 cat >conftest.$ac_ext <<_ACEOF
2573 /* confdefs.h. */
2574 _ACEOF
2575 cat confdefs.h >>conftest.$ac_ext
2576 cat >>conftest.$ac_ext <<_ACEOF
2577 /* end confdefs.h. */
2580 main ()
2584 return 0;
2586 _ACEOF
2587 rm -f conftest.o conftest.obj
2588 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2589 (eval $ac_compile) 2>&5
2590 ac_status=$?
2591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2592 (exit $ac_status); }; then
2593 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2594 case $ac_file in
2595 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2596 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2597 break;;
2598 esac
2599 done
2600 else
2601 echo "$as_me: failed program was:" >&5
2602 sed 's/^/| /' conftest.$ac_ext >&5
2604 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2605 See \`config.log' for more details." >&5
2606 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2607 See \`config.log' for more details." >&2;}
2608 { (exit 1); exit 1; }; }
2611 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2613 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2614 echo "${ECHO_T}$ac_cv_objext" >&6
2615 OBJEXT=$ac_cv_objext
2616 ac_objext=$OBJEXT
2617 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2618 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2619 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2620 echo $ECHO_N "(cached) $ECHO_C" >&6
2621 else
2622 cat >conftest.$ac_ext <<_ACEOF
2623 /* confdefs.h. */
2624 _ACEOF
2625 cat confdefs.h >>conftest.$ac_ext
2626 cat >>conftest.$ac_ext <<_ACEOF
2627 /* end confdefs.h. */
2630 main ()
2632 #ifndef __GNUC__
2633 choke me
2634 #endif
2637 return 0;
2639 _ACEOF
2640 rm -f conftest.$ac_objext
2641 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2642 (eval $ac_compile) 2>conftest.er1
2643 ac_status=$?
2644 grep -v '^ *+' conftest.er1 >conftest.err
2645 rm -f conftest.er1
2646 cat conftest.err >&5
2647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2648 (exit $ac_status); } &&
2649 { ac_try='test -z "$ac_c_werror_flag"
2650 || test ! -s conftest.err'
2651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2652 (eval $ac_try) 2>&5
2653 ac_status=$?
2654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2655 (exit $ac_status); }; } &&
2656 { ac_try='test -s conftest.$ac_objext'
2657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2658 (eval $ac_try) 2>&5
2659 ac_status=$?
2660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2661 (exit $ac_status); }; }; then
2662 ac_compiler_gnu=yes
2663 else
2664 echo "$as_me: failed program was:" >&5
2665 sed 's/^/| /' conftest.$ac_ext >&5
2667 ac_compiler_gnu=no
2669 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2670 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2673 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2674 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2675 GCC=`test $ac_compiler_gnu = yes && echo yes`
2676 ac_test_CFLAGS=${CFLAGS+set}
2677 ac_save_CFLAGS=$CFLAGS
2678 CFLAGS="-g"
2679 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2680 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2681 if test "${ac_cv_prog_cc_g+set}" = set; then
2682 echo $ECHO_N "(cached) $ECHO_C" >&6
2683 else
2684 cat >conftest.$ac_ext <<_ACEOF
2685 /* confdefs.h. */
2686 _ACEOF
2687 cat confdefs.h >>conftest.$ac_ext
2688 cat >>conftest.$ac_ext <<_ACEOF
2689 /* end confdefs.h. */
2692 main ()
2696 return 0;
2698 _ACEOF
2699 rm -f conftest.$ac_objext
2700 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2701 (eval $ac_compile) 2>conftest.er1
2702 ac_status=$?
2703 grep -v '^ *+' conftest.er1 >conftest.err
2704 rm -f conftest.er1
2705 cat conftest.err >&5
2706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2707 (exit $ac_status); } &&
2708 { ac_try='test -z "$ac_c_werror_flag"
2709 || test ! -s conftest.err'
2710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2711 (eval $ac_try) 2>&5
2712 ac_status=$?
2713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2714 (exit $ac_status); }; } &&
2715 { ac_try='test -s conftest.$ac_objext'
2716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2717 (eval $ac_try) 2>&5
2718 ac_status=$?
2719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2720 (exit $ac_status); }; }; then
2721 ac_cv_prog_cc_g=yes
2722 else
2723 echo "$as_me: failed program was:" >&5
2724 sed 's/^/| /' conftest.$ac_ext >&5
2726 ac_cv_prog_cc_g=no
2728 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2730 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2731 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2732 if test "$ac_test_CFLAGS" = set; then
2733 CFLAGS=$ac_save_CFLAGS
2734 elif test $ac_cv_prog_cc_g = yes; then
2735 if test "$GCC" = yes; then
2736 CFLAGS="-g -O2"
2737 else
2738 CFLAGS="-g"
2740 else
2741 if test "$GCC" = yes; then
2742 CFLAGS="-O2"
2743 else
2744 CFLAGS=
2747 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2748 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2749 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2750 echo $ECHO_N "(cached) $ECHO_C" >&6
2751 else
2752 ac_cv_prog_cc_stdc=no
2753 ac_save_CC=$CC
2754 cat >conftest.$ac_ext <<_ACEOF
2755 /* confdefs.h. */
2756 _ACEOF
2757 cat confdefs.h >>conftest.$ac_ext
2758 cat >>conftest.$ac_ext <<_ACEOF
2759 /* end confdefs.h. */
2760 #include <stdarg.h>
2761 #include <stdio.h>
2762 #include <sys/types.h>
2763 #include <sys/stat.h>
2764 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2765 struct buf { int x; };
2766 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2767 static char *e (p, i)
2768 char **p;
2769 int i;
2771 return p[i];
2773 static char *f (char * (*g) (char **, int), char **p, ...)
2775 char *s;
2776 va_list v;
2777 va_start (v,p);
2778 s = g (p, va_arg (v,int));
2779 va_end (v);
2780 return s;
2783 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2784 function prototypes and stuff, but not '\xHH' hex character constants.
2785 These don't provoke an error unfortunately, instead are silently treated
2786 as 'x'. The following induces an error, until -std1 is added to get
2787 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2788 array size at least. It's necessary to write '\x00'==0 to get something
2789 that's true only with -std1. */
2790 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2792 int test (int i, double x);
2793 struct s1 {int (*f) (int a);};
2794 struct s2 {int (*f) (double a);};
2795 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2796 int argc;
2797 char **argv;
2799 main ()
2801 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2803 return 0;
2805 _ACEOF
2806 # Don't try gcc -ansi; that turns off useful extensions and
2807 # breaks some systems' header files.
2808 # AIX -qlanglvl=ansi
2809 # Ultrix and OSF/1 -std1
2810 # HP-UX 10.20 and later -Ae
2811 # HP-UX older versions -Aa -D_HPUX_SOURCE
2812 # SVR4 -Xc -D__EXTENSIONS__
2813 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2815 CC="$ac_save_CC $ac_arg"
2816 rm -f conftest.$ac_objext
2817 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2818 (eval $ac_compile) 2>conftest.er1
2819 ac_status=$?
2820 grep -v '^ *+' conftest.er1 >conftest.err
2821 rm -f conftest.er1
2822 cat conftest.err >&5
2823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2824 (exit $ac_status); } &&
2825 { ac_try='test -z "$ac_c_werror_flag"
2826 || test ! -s conftest.err'
2827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2828 (eval $ac_try) 2>&5
2829 ac_status=$?
2830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2831 (exit $ac_status); }; } &&
2832 { ac_try='test -s conftest.$ac_objext'
2833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2834 (eval $ac_try) 2>&5
2835 ac_status=$?
2836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2837 (exit $ac_status); }; }; then
2838 ac_cv_prog_cc_stdc=$ac_arg
2839 break
2840 else
2841 echo "$as_me: failed program was:" >&5
2842 sed 's/^/| /' conftest.$ac_ext >&5
2845 rm -f conftest.err conftest.$ac_objext
2846 done
2847 rm -f conftest.$ac_ext conftest.$ac_objext
2848 CC=$ac_save_CC
2852 case "x$ac_cv_prog_cc_stdc" in
2853 x|xno)
2854 echo "$as_me:$LINENO: result: none needed" >&5
2855 echo "${ECHO_T}none needed" >&6 ;;
2857 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2858 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2859 CC="$CC $ac_cv_prog_cc_stdc" ;;
2860 esac
2862 # Some people use a C++ compiler to compile C. Since we use `exit',
2863 # in C++ we need to declare it. In case someone uses the same compiler
2864 # for both compiling C and C++ we need to have the C++ compiler decide
2865 # the declaration of exit, since it's the most demanding environment.
2866 cat >conftest.$ac_ext <<_ACEOF
2867 #ifndef __cplusplus
2868 choke me
2869 #endif
2870 _ACEOF
2871 rm -f conftest.$ac_objext
2872 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2873 (eval $ac_compile) 2>conftest.er1
2874 ac_status=$?
2875 grep -v '^ *+' conftest.er1 >conftest.err
2876 rm -f conftest.er1
2877 cat conftest.err >&5
2878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2879 (exit $ac_status); } &&
2880 { ac_try='test -z "$ac_c_werror_flag"
2881 || test ! -s conftest.err'
2882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2883 (eval $ac_try) 2>&5
2884 ac_status=$?
2885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2886 (exit $ac_status); }; } &&
2887 { ac_try='test -s conftest.$ac_objext'
2888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2889 (eval $ac_try) 2>&5
2890 ac_status=$?
2891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2892 (exit $ac_status); }; }; then
2893 for ac_declaration in \
2894 '' \
2895 'extern "C" void std::exit (int) throw (); using std::exit;' \
2896 'extern "C" void std::exit (int); using std::exit;' \
2897 'extern "C" void exit (int) throw ();' \
2898 'extern "C" void exit (int);' \
2899 'void exit (int);'
2901 cat >conftest.$ac_ext <<_ACEOF
2902 /* confdefs.h. */
2903 _ACEOF
2904 cat confdefs.h >>conftest.$ac_ext
2905 cat >>conftest.$ac_ext <<_ACEOF
2906 /* end confdefs.h. */
2907 $ac_declaration
2908 #include <stdlib.h>
2910 main ()
2912 exit (42);
2914 return 0;
2916 _ACEOF
2917 rm -f conftest.$ac_objext
2918 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2919 (eval $ac_compile) 2>conftest.er1
2920 ac_status=$?
2921 grep -v '^ *+' conftest.er1 >conftest.err
2922 rm -f conftest.er1
2923 cat conftest.err >&5
2924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2925 (exit $ac_status); } &&
2926 { ac_try='test -z "$ac_c_werror_flag"
2927 || test ! -s conftest.err'
2928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2929 (eval $ac_try) 2>&5
2930 ac_status=$?
2931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2932 (exit $ac_status); }; } &&
2933 { ac_try='test -s conftest.$ac_objext'
2934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2935 (eval $ac_try) 2>&5
2936 ac_status=$?
2937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2938 (exit $ac_status); }; }; then
2940 else
2941 echo "$as_me: failed program was:" >&5
2942 sed 's/^/| /' conftest.$ac_ext >&5
2944 continue
2946 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2947 cat >conftest.$ac_ext <<_ACEOF
2948 /* confdefs.h. */
2949 _ACEOF
2950 cat confdefs.h >>conftest.$ac_ext
2951 cat >>conftest.$ac_ext <<_ACEOF
2952 /* end confdefs.h. */
2953 $ac_declaration
2955 main ()
2957 exit (42);
2959 return 0;
2961 _ACEOF
2962 rm -f conftest.$ac_objext
2963 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2964 (eval $ac_compile) 2>conftest.er1
2965 ac_status=$?
2966 grep -v '^ *+' conftest.er1 >conftest.err
2967 rm -f conftest.er1
2968 cat conftest.err >&5
2969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2970 (exit $ac_status); } &&
2971 { ac_try='test -z "$ac_c_werror_flag"
2972 || test ! -s conftest.err'
2973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2974 (eval $ac_try) 2>&5
2975 ac_status=$?
2976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2977 (exit $ac_status); }; } &&
2978 { ac_try='test -s conftest.$ac_objext'
2979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2980 (eval $ac_try) 2>&5
2981 ac_status=$?
2982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2983 (exit $ac_status); }; }; then
2984 break
2985 else
2986 echo "$as_me: failed program was:" >&5
2987 sed 's/^/| /' conftest.$ac_ext >&5
2990 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2991 done
2992 rm -f conftest*
2993 if test -n "$ac_declaration"; then
2994 echo '#ifdef __cplusplus' >>confdefs.h
2995 echo $ac_declaration >>confdefs.h
2996 echo '#endif' >>confdefs.h
2999 else
3000 echo "$as_me: failed program was:" >&5
3001 sed 's/^/| /' conftest.$ac_ext >&5
3004 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3005 ac_ext=c
3006 ac_cpp='$CPP $CPPFLAGS'
3007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3008 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3011 ac_ext=c
3012 ac_cpp='$CPP $CPPFLAGS'
3013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3016 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3017 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3018 # On Suns, sometimes $CPP names a directory.
3019 if test -n "$CPP" && test -d "$CPP"; then
3020 CPP=
3022 if test -z "$CPP"; then
3023 if test "${ac_cv_prog_CPP+set}" = set; then
3024 echo $ECHO_N "(cached) $ECHO_C" >&6
3025 else
3026 # Double quotes because CPP needs to be expanded
3027 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3029 ac_preproc_ok=false
3030 for ac_c_preproc_warn_flag in '' yes
3032 # Use a header file that comes with gcc, so configuring glibc
3033 # with a fresh cross-compiler works.
3034 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3035 # <limits.h> exists even on freestanding compilers.
3036 # On the NeXT, cc -E runs the code through the compiler's parser,
3037 # not just through cpp. "Syntax error" is here to catch this case.
3038 cat >conftest.$ac_ext <<_ACEOF
3039 /* confdefs.h. */
3040 _ACEOF
3041 cat confdefs.h >>conftest.$ac_ext
3042 cat >>conftest.$ac_ext <<_ACEOF
3043 /* end confdefs.h. */
3044 #ifdef __STDC__
3045 # include <limits.h>
3046 #else
3047 # include <assert.h>
3048 #endif
3049 Syntax error
3050 _ACEOF
3051 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3052 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3053 ac_status=$?
3054 grep -v '^ *+' conftest.er1 >conftest.err
3055 rm -f conftest.er1
3056 cat conftest.err >&5
3057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3058 (exit $ac_status); } >/dev/null; then
3059 if test -s conftest.err; then
3060 ac_cpp_err=$ac_c_preproc_warn_flag
3061 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3062 else
3063 ac_cpp_err=
3065 else
3066 ac_cpp_err=yes
3068 if test -z "$ac_cpp_err"; then
3070 else
3071 echo "$as_me: failed program was:" >&5
3072 sed 's/^/| /' conftest.$ac_ext >&5
3074 # Broken: fails on valid input.
3075 continue
3077 rm -f conftest.err conftest.$ac_ext
3079 # OK, works on sane cases. Now check whether non-existent headers
3080 # can be detected and how.
3081 cat >conftest.$ac_ext <<_ACEOF
3082 /* confdefs.h. */
3083 _ACEOF
3084 cat confdefs.h >>conftest.$ac_ext
3085 cat >>conftest.$ac_ext <<_ACEOF
3086 /* end confdefs.h. */
3087 #include <ac_nonexistent.h>
3088 _ACEOF
3089 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3090 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3091 ac_status=$?
3092 grep -v '^ *+' conftest.er1 >conftest.err
3093 rm -f conftest.er1
3094 cat conftest.err >&5
3095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3096 (exit $ac_status); } >/dev/null; then
3097 if test -s conftest.err; then
3098 ac_cpp_err=$ac_c_preproc_warn_flag
3099 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3100 else
3101 ac_cpp_err=
3103 else
3104 ac_cpp_err=yes
3106 if test -z "$ac_cpp_err"; then
3107 # Broken: success on invalid input.
3108 continue
3109 else
3110 echo "$as_me: failed program was:" >&5
3111 sed 's/^/| /' conftest.$ac_ext >&5
3113 # Passes both tests.
3114 ac_preproc_ok=:
3115 break
3117 rm -f conftest.err conftest.$ac_ext
3119 done
3120 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3121 rm -f conftest.err conftest.$ac_ext
3122 if $ac_preproc_ok; then
3123 break
3126 done
3127 ac_cv_prog_CPP=$CPP
3130 CPP=$ac_cv_prog_CPP
3131 else
3132 ac_cv_prog_CPP=$CPP
3134 echo "$as_me:$LINENO: result: $CPP" >&5
3135 echo "${ECHO_T}$CPP" >&6
3136 ac_preproc_ok=false
3137 for ac_c_preproc_warn_flag in '' yes
3139 # Use a header file that comes with gcc, so configuring glibc
3140 # with a fresh cross-compiler works.
3141 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3142 # <limits.h> exists even on freestanding compilers.
3143 # On the NeXT, cc -E runs the code through the compiler's parser,
3144 # not just through cpp. "Syntax error" is here to catch this case.
3145 cat >conftest.$ac_ext <<_ACEOF
3146 /* confdefs.h. */
3147 _ACEOF
3148 cat confdefs.h >>conftest.$ac_ext
3149 cat >>conftest.$ac_ext <<_ACEOF
3150 /* end confdefs.h. */
3151 #ifdef __STDC__
3152 # include <limits.h>
3153 #else
3154 # include <assert.h>
3155 #endif
3156 Syntax error
3157 _ACEOF
3158 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3159 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3160 ac_status=$?
3161 grep -v '^ *+' conftest.er1 >conftest.err
3162 rm -f conftest.er1
3163 cat conftest.err >&5
3164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3165 (exit $ac_status); } >/dev/null; then
3166 if test -s conftest.err; then
3167 ac_cpp_err=$ac_c_preproc_warn_flag
3168 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3169 else
3170 ac_cpp_err=
3172 else
3173 ac_cpp_err=yes
3175 if test -z "$ac_cpp_err"; then
3177 else
3178 echo "$as_me: failed program was:" >&5
3179 sed 's/^/| /' conftest.$ac_ext >&5
3181 # Broken: fails on valid input.
3182 continue
3184 rm -f conftest.err conftest.$ac_ext
3186 # OK, works on sane cases. Now check whether non-existent headers
3187 # can be detected and how.
3188 cat >conftest.$ac_ext <<_ACEOF
3189 /* confdefs.h. */
3190 _ACEOF
3191 cat confdefs.h >>conftest.$ac_ext
3192 cat >>conftest.$ac_ext <<_ACEOF
3193 /* end confdefs.h. */
3194 #include <ac_nonexistent.h>
3195 _ACEOF
3196 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3197 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3198 ac_status=$?
3199 grep -v '^ *+' conftest.er1 >conftest.err
3200 rm -f conftest.er1
3201 cat conftest.err >&5
3202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3203 (exit $ac_status); } >/dev/null; then
3204 if test -s conftest.err; then
3205 ac_cpp_err=$ac_c_preproc_warn_flag
3206 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3207 else
3208 ac_cpp_err=
3210 else
3211 ac_cpp_err=yes
3213 if test -z "$ac_cpp_err"; then
3214 # Broken: success on invalid input.
3215 continue
3216 else
3217 echo "$as_me: failed program was:" >&5
3218 sed 's/^/| /' conftest.$ac_ext >&5
3220 # Passes both tests.
3221 ac_preproc_ok=:
3222 break
3224 rm -f conftest.err conftest.$ac_ext
3226 done
3227 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3228 rm -f conftest.err conftest.$ac_ext
3229 if $ac_preproc_ok; then
3231 else
3232 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3233 See \`config.log' for more details." >&5
3234 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3235 See \`config.log' for more details." >&2;}
3236 { (exit 1); exit 1; }; }
3239 ac_ext=c
3240 ac_cpp='$CPP $CPPFLAGS'
3241 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3242 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3243 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3246 ac_c_preproc_warn_flag=yes
3248 # Check for decimal float support.
3250 echo "$as_me:$LINENO: checking whether decimal floating point is supported" >&5
3251 echo $ECHO_N "checking whether decimal floating point is supported... $ECHO_C" >&6
3252 if test "${libgcc_cv_dfp+set}" = set; then
3253 echo $ECHO_N "(cached) $ECHO_C" >&6
3254 else
3255 cat >conftest.$ac_ext <<_ACEOF
3256 _Decimal32 x;
3257 _ACEOF
3258 rm -f conftest.$ac_objext
3259 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3260 (eval $ac_compile) 2>conftest.er1
3261 ac_status=$?
3262 grep -v '^ *+' conftest.er1 >conftest.err
3263 rm -f conftest.er1
3264 cat conftest.err >&5
3265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3266 (exit $ac_status); } &&
3267 { ac_try='test -z "$ac_c_werror_flag"
3268 || test ! -s conftest.err'
3269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3270 (eval $ac_try) 2>&5
3271 ac_status=$?
3272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3273 (exit $ac_status); }; } &&
3274 { ac_try='test -s conftest.$ac_objext'
3275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3276 (eval $ac_try) 2>&5
3277 ac_status=$?
3278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3279 (exit $ac_status); }; }; then
3280 libgcc_cv_dfp=yes
3281 else
3282 echo "$as_me: failed program was:" >&5
3283 sed 's/^/| /' conftest.$ac_ext >&5
3285 libgcc_cv_dfp=no
3287 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3289 echo "$as_me:$LINENO: result: $libgcc_cv_dfp" >&5
3290 echo "${ECHO_T}$libgcc_cv_dfp" >&6
3291 decimal_float=$libgcc_cv_dfp
3294 # Check whether --enable-decimal-float or --disable-decimal-float was given.
3295 if test "${enable_decimal_float+set}" = set; then
3296 enableval="$enable_decimal_float"
3298 case $enable_decimal_float in
3299 yes | no | bid | dpd) ;;
3300 *) { { echo "$as_me:$LINENO: error: '$enable_decimal_float' is an invalid value for --enable-decimal-float.
3301 Valid choices are 'yes', 'bid', 'dpd', and 'no'." >&5
3302 echo "$as_me: error: '$enable_decimal_float' is an invalid value for --enable-decimal-float.
3303 Valid choices are 'yes', 'bid', 'dpd', and 'no'." >&2;}
3304 { (exit 1); exit 1; }; } ;;
3305 esac
3307 else
3309 case $host in
3310 powerpc*-*-linux* | i?86*-*-linux* | x86_64*-*-linux*)
3311 enable_decimal_float=yes
3314 enable_decimal_float=no
3316 esac
3320 # x86's use BID format instead of DPD
3321 if test x$enable_decimal_float = xyes; then
3322 case $host in
3323 i?86*-*-linux* | x86_64*-*-linux*)
3324 enable_decimal_float=bid
3327 enable_decimal_float=dpd
3329 esac
3333 # Collect host-machine-specific information.
3334 . ${srcdir}/config.host
3336 # Check for visibility support. This is after config.host so that
3337 # we can check for asm_hidden_op.
3338 echo "$as_me:$LINENO: checking for __attribute__((visibility(\"hidden\")))" >&5
3339 echo $ECHO_N "checking for __attribute__((visibility(\"hidden\")))... $ECHO_C" >&6
3340 if test "${libgcc_cv_hidden_visibility_attribute+set}" = set; then
3341 echo $ECHO_N "(cached) $ECHO_C" >&6
3342 else
3344 echo 'int __attribute__ ((visibility ("hidden"))) foo (void) { return 1; }' > conftest.c
3345 libgcc_cv_hidden_visibility_attribute=no
3346 if { ac_try='${CC-cc} -Werror -S conftest.c -o conftest.s 1>&5'
3347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3348 (eval $ac_try) 2>&5
3349 ac_status=$?
3350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3351 (exit $ac_status); }; }; then
3352 if grep "\\$asm_hidden_op.*foo" conftest.s >/dev/null; then
3353 libgcc_cv_hidden_visibility_attribute=yes
3356 rm -f conftest.*
3359 echo "$as_me:$LINENO: result: $libgcc_cv_hidden_visibility_attribute" >&5
3360 echo "${ECHO_T}$libgcc_cv_hidden_visibility_attribute" >&6
3362 if test $libgcc_cv_hidden_visibility_attribute = yes; then
3363 vis_hide='-fvisibility=hidden -DHIDE_EXPORTS'
3364 else
3365 vis_hide=
3369 # See if we have thread-local storage. We can only test assembler
3370 # sicne link-time and run-time tests require the newly built
3371 # gcc, which can't be used to build executable due to that libgcc
3372 # is yet to be built here.
3374 # Check whether --enable-tls or --disable-tls was given.
3375 if test "${enable_tls+set}" = set; then
3376 enableval="$enable_tls"
3378 case "$enableval" in
3379 yes|no) ;;
3380 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable tls must be yes or no" >&5
3381 echo "$as_me: error: Argument to enable/disable tls must be yes or no" >&2;}
3382 { (exit 1); exit 1; }; } ;;
3383 esac
3385 else
3386 enable_tls=yes
3389 echo "$as_me:$LINENO: checking whether the target asssembler upports thread-local storage" >&5
3390 echo $ECHO_N "checking whether the target asssembler upports thread-local storage... $ECHO_C" >&6
3391 if test "${have_cc_tls+set}" = set; then
3392 echo $ECHO_N "(cached) $ECHO_C" >&6
3393 else
3395 cat >conftest.$ac_ext <<_ACEOF
3396 __thread int a; int b; int main() { return a = b; }
3397 _ACEOF
3398 rm -f conftest.$ac_objext
3399 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3400 (eval $ac_compile) 2>conftest.er1
3401 ac_status=$?
3402 grep -v '^ *+' conftest.er1 >conftest.err
3403 rm -f conftest.er1
3404 cat conftest.err >&5
3405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3406 (exit $ac_status); } &&
3407 { ac_try='test -z "$ac_c_werror_flag"
3408 || test ! -s conftest.err'
3409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3410 (eval $ac_try) 2>&5
3411 ac_status=$?
3412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3413 (exit $ac_status); }; } &&
3414 { ac_try='test -s conftest.$ac_objext'
3415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3416 (eval $ac_try) 2>&5
3417 ac_status=$?
3418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3419 (exit $ac_status); }; }; then
3420 have_cc_tls=yes
3421 else
3422 echo "$as_me: failed program was:" >&5
3423 sed 's/^/| /' conftest.$ac_ext >&5
3425 have_cc_tls=no
3427 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3430 echo "$as_me:$LINENO: result: $have_cc_tls" >&5
3431 echo "${ECHO_T}$have_cc_tls" >&6
3432 set_have_cc_tls=
3433 if test "$enable_tls $have_cc_tls" = "yes yes"; then
3434 set_have_cc_tls="-DHAVE_CC_TLS"
3438 # Conditionalize the makefile for this target machine.
3439 tmake_file_=
3440 for f in ${tmake_file}
3442 if test -f ${srcdir}/config/$f
3443 then
3444 tmake_file_="${tmake_file_} \$(srcdir)/config/$f"
3446 done
3447 tmake_file="${tmake_file_}"
3450 # Substitute configuration variables
3454 # We need multilib support.
3455 ac_config_files="$ac_config_files Makefile"
3457 ac_config_commands="$ac_config_commands default"
3459 cat >confcache <<\_ACEOF
3460 # This file is a shell script that caches the results of configure
3461 # tests run on this system so they can be shared between configure
3462 # scripts and configure runs, see configure's option --config-cache.
3463 # It is not useful on other systems. If it contains results you don't
3464 # want to keep, you may remove or edit it.
3466 # config.status only pays attention to the cache file if you give it
3467 # the --recheck option to rerun configure.
3469 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3470 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3471 # following values.
3473 _ACEOF
3475 # The following way of writing the cache mishandles newlines in values,
3476 # but we know of no workaround that is simple, portable, and efficient.
3477 # So, don't put newlines in cache variables' values.
3478 # Ultrix sh set writes to stderr and can't be redirected directly,
3479 # and sets the high bit in the cache file unless we assign to the vars.
3481 (set) 2>&1 |
3482 case `(ac_space=' '; set | grep ac_space) 2>&1` in
3483 *ac_space=\ *)
3484 # `set' does not quote correctly, so add quotes (double-quote
3485 # substitution turns \\\\ into \\, and sed turns \\ into \).
3486 sed -n \
3487 "s/'/'\\\\''/g;
3488 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3491 # `set' quotes correctly as required by POSIX, so do not add quotes.
3492 sed -n \
3493 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
3495 esac;
3497 sed '
3498 t clear
3499 : clear
3500 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3501 t end
3502 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3503 : end' >>confcache
3504 if diff $cache_file confcache >/dev/null 2>&1; then :; else
3505 if test -w $cache_file; then
3506 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
3507 cat confcache >$cache_file
3508 else
3509 echo "not updating unwritable cache $cache_file"
3512 rm -f confcache
3514 test "x$prefix" = xNONE && prefix=$ac_default_prefix
3515 # Let make expand exec_prefix.
3516 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3518 # VPATH may cause trouble with some makes, so we remove $(srcdir),
3519 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
3520 # trailing colons and then remove the whole line if VPATH becomes empty
3521 # (actually we leave an empty line to preserve line numbers).
3522 if test "x$srcdir" = x.; then
3523 ac_vpsub='/^[ ]*VPATH[ ]*=/{
3524 s/:*\$(srcdir):*/:/;
3525 s/:*\${srcdir}:*/:/;
3526 s/:*@srcdir@:*/:/;
3527 s/^\([^=]*=[ ]*\):*/\1/;
3528 s/:*$//;
3529 s/^[^=]*=[ ]*$//;
3533 # Transform confdefs.h into DEFS.
3534 # Protect against shell expansion while executing Makefile rules.
3535 # Protect against Makefile macro expansion.
3537 # If the first sed substitution is executed (which looks for macros that
3538 # take arguments), then we branch to the quote section. Otherwise,
3539 # look for a macro that doesn't take arguments.
3540 cat >confdef2opt.sed <<\_ACEOF
3541 t clear
3542 : clear
3543 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
3544 t quote
3545 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
3546 t quote
3548 : quote
3549 s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
3550 s,\[,\\&,g
3551 s,\],\\&,g
3552 s,\$,$$,g
3554 _ACEOF
3555 # We use echo to avoid assuming a particular line-breaking character.
3556 # The extra dot is to prevent the shell from consuming trailing
3557 # line-breaks from the sub-command output. A line-break within
3558 # single-quotes doesn't work because, if this script is created in a
3559 # platform that uses two characters for line-breaks (e.g., DOS), tr
3560 # would break.
3561 ac_LF_and_DOT=`echo; echo .`
3562 DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
3563 rm -f confdef2opt.sed
3566 ac_libobjs=
3567 ac_ltlibobjs=
3568 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3569 # 1. Remove the extension, and $U if already installed.
3570 ac_i=`echo "$ac_i" |
3571 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
3572 # 2. Add them.
3573 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
3574 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
3575 done
3576 LIBOBJS=$ac_libobjs
3578 LTLIBOBJS=$ac_ltlibobjs
3582 : ${CONFIG_STATUS=./config.status}
3583 ac_clean_files_save=$ac_clean_files
3584 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3585 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
3586 echo "$as_me: creating $CONFIG_STATUS" >&6;}
3587 cat >$CONFIG_STATUS <<_ACEOF
3588 #! $SHELL
3589 # Generated by $as_me.
3590 # Run this file to recreate the current configuration.
3591 # Compiler output produced by configure, useful for debugging
3592 # configure, is in config.log if it exists.
3594 debug=false
3595 ac_cs_recheck=false
3596 ac_cs_silent=false
3597 SHELL=\${CONFIG_SHELL-$SHELL}
3598 _ACEOF
3600 cat >>$CONFIG_STATUS <<\_ACEOF
3601 ## --------------------- ##
3602 ## M4sh Initialization. ##
3603 ## --------------------- ##
3605 # Be Bourne compatible
3606 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
3607 emulate sh
3608 NULLCMD=:
3609 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
3610 # is contrary to our usage. Disable this feature.
3611 alias -g '${1+"$@"}'='"$@"'
3612 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
3613 set -o posix
3615 DUALCASE=1; export DUALCASE # for MKS sh
3617 # Support unset when possible.
3618 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
3619 as_unset=unset
3620 else
3621 as_unset=false
3625 # Work around bugs in pre-3.0 UWIN ksh.
3626 $as_unset ENV MAIL MAILPATH
3627 PS1='$ '
3628 PS2='> '
3629 PS4='+ '
3631 # NLS nuisances.
3632 for as_var in \
3633 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
3634 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
3635 LC_TELEPHONE LC_TIME
3637 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
3638 eval $as_var=C; export $as_var
3639 else
3640 $as_unset $as_var
3642 done
3644 # Required to use basename.
3645 if expr a : '\(a\)' >/dev/null 2>&1; then
3646 as_expr=expr
3647 else
3648 as_expr=false
3651 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
3652 as_basename=basename
3653 else
3654 as_basename=false
3658 # Name of the executable.
3659 as_me=`$as_basename "$0" ||
3660 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3661 X"$0" : 'X\(//\)$' \| \
3662 X"$0" : 'X\(/\)$' \| \
3663 . : '\(.\)' 2>/dev/null ||
3664 echo X/"$0" |
3665 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
3666 /^X\/\(\/\/\)$/{ s//\1/; q; }
3667 /^X\/\(\/\).*/{ s//\1/; q; }
3668 s/.*/./; q'`
3671 # PATH needs CR, and LINENO needs CR and PATH.
3672 # Avoid depending upon Character Ranges.
3673 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3674 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3675 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3676 as_cr_digits='0123456789'
3677 as_cr_alnum=$as_cr_Letters$as_cr_digits
3679 # The user is always right.
3680 if test "${PATH_SEPARATOR+set}" != set; then
3681 echo "#! /bin/sh" >conf$$.sh
3682 echo "exit 0" >>conf$$.sh
3683 chmod +x conf$$.sh
3684 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
3685 PATH_SEPARATOR=';'
3686 else
3687 PATH_SEPARATOR=:
3689 rm -f conf$$.sh
3693 as_lineno_1=$LINENO
3694 as_lineno_2=$LINENO
3695 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
3696 test "x$as_lineno_1" != "x$as_lineno_2" &&
3697 test "x$as_lineno_3" = "x$as_lineno_2" || {
3698 # Find who we are. Look in the path if we contain no path at all
3699 # relative or not.
3700 case $0 in
3701 *[\\/]* ) as_myself=$0 ;;
3702 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3703 for as_dir in $PATH
3705 IFS=$as_save_IFS
3706 test -z "$as_dir" && as_dir=.
3707 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3708 done
3711 esac
3712 # We did not find ourselves, most probably we were run as `sh COMMAND'
3713 # in which case we are not to be found in the path.
3714 if test "x$as_myself" = x; then
3715 as_myself=$0
3717 if test ! -f "$as_myself"; then
3718 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
3719 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
3720 { (exit 1); exit 1; }; }
3722 case $CONFIG_SHELL in
3724 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3725 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
3727 IFS=$as_save_IFS
3728 test -z "$as_dir" && as_dir=.
3729 for as_base in sh bash ksh sh5; do
3730 case $as_dir in
3732 if ("$as_dir/$as_base" -c '
3733 as_lineno_1=$LINENO
3734 as_lineno_2=$LINENO
3735 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
3736 test "x$as_lineno_1" != "x$as_lineno_2" &&
3737 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
3738 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
3739 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
3740 CONFIG_SHELL=$as_dir/$as_base
3741 export CONFIG_SHELL
3742 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
3743 fi;;
3744 esac
3745 done
3746 done
3748 esac
3750 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
3751 # uniformly replaced by the line number. The first 'sed' inserts a
3752 # line-number line before each line; the second 'sed' does the real
3753 # work. The second script uses 'N' to pair each line-number line
3754 # with the numbered line, and appends trailing '-' during
3755 # substitution so that $LINENO is not a special case at line end.
3756 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
3757 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
3758 sed '=' <$as_myself |
3759 sed '
3761 s,$,-,
3762 : loop
3763 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
3764 t loop
3765 s,-$,,
3766 s,^['$as_cr_digits']*\n,,
3767 ' >$as_me.lineno &&
3768 chmod +x $as_me.lineno ||
3769 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
3770 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
3771 { (exit 1); exit 1; }; }
3773 # Don't try to exec as it changes $[0], causing all sort of problems
3774 # (the dirname of $[0] is not the place where we might find the
3775 # original and so on. Autoconf is especially sensible to this).
3776 . ./$as_me.lineno
3777 # Exit status is that of the last command.
3778 exit
3782 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
3783 *c*,-n*) ECHO_N= ECHO_C='
3784 ' ECHO_T=' ' ;;
3785 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
3786 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
3787 esac
3789 if expr a : '\(a\)' >/dev/null 2>&1; then
3790 as_expr=expr
3791 else
3792 as_expr=false
3795 rm -f conf$$ conf$$.exe conf$$.file
3796 echo >conf$$.file
3797 if ln -s conf$$.file conf$$ 2>/dev/null; then
3798 # We could just check for DJGPP; but this test a) works b) is more generic
3799 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
3800 if test -f conf$$.exe; then
3801 # Don't use ln at all; we don't have any links
3802 as_ln_s='cp -p'
3803 else
3804 as_ln_s='ln -s'
3806 elif ln conf$$.file conf$$ 2>/dev/null; then
3807 as_ln_s=ln
3808 else
3809 as_ln_s='cp -p'
3811 rm -f conf$$ conf$$.exe conf$$.file
3813 if mkdir -p . 2>/dev/null; then
3814 as_mkdir_p=:
3815 else
3816 test -d ./-p && rmdir ./-p
3817 as_mkdir_p=false
3820 as_executable_p="test -f"
3822 # Sed expression to map a string onto a valid CPP name.
3823 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3825 # Sed expression to map a string onto a valid variable name.
3826 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3829 # IFS
3830 # We need space, tab and new line, in precisely that order.
3831 as_nl='
3833 IFS=" $as_nl"
3835 # CDPATH.
3836 $as_unset CDPATH
3838 exec 6>&1
3840 # Open the log real soon, to keep \$[0] and so on meaningful, and to
3841 # report actual input values of CONFIG_FILES etc. instead of their
3842 # values after options handling. Logging --version etc. is OK.
3843 exec 5>>config.log
3845 echo
3846 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3847 ## Running $as_me. ##
3848 _ASBOX
3849 } >&5
3850 cat >&5 <<_CSEOF
3852 This file was extended by GNU C Runtime Library $as_me 1.0, which was
3853 generated by GNU Autoconf 2.59. Invocation command line was
3855 CONFIG_FILES = $CONFIG_FILES
3856 CONFIG_HEADERS = $CONFIG_HEADERS
3857 CONFIG_LINKS = $CONFIG_LINKS
3858 CONFIG_COMMANDS = $CONFIG_COMMANDS
3859 $ $0 $@
3861 _CSEOF
3862 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
3863 echo >&5
3864 _ACEOF
3866 # Files that config.status was made for.
3867 if test -n "$ac_config_files"; then
3868 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
3871 if test -n "$ac_config_headers"; then
3872 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
3875 if test -n "$ac_config_links"; then
3876 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
3879 if test -n "$ac_config_commands"; then
3880 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
3883 cat >>$CONFIG_STATUS <<\_ACEOF
3885 ac_cs_usage="\
3886 \`$as_me' instantiates files from templates according to the
3887 current configuration.
3889 Usage: $0 [OPTIONS] [FILE]...
3891 -h, --help print this help, then exit
3892 -V, --version print version number, then exit
3893 -q, --quiet do not print progress messages
3894 -d, --debug don't remove temporary files
3895 --recheck update $as_me by reconfiguring in the same conditions
3896 --file=FILE[:TEMPLATE]
3897 instantiate the configuration file FILE
3899 Configuration files:
3900 $config_files
3902 Configuration commands:
3903 $config_commands
3905 Report bugs to <bug-autoconf@gnu.org>."
3906 _ACEOF
3908 cat >>$CONFIG_STATUS <<_ACEOF
3909 ac_cs_version="\\
3910 GNU C Runtime Library config.status 1.0
3911 configured by $0, generated by GNU Autoconf 2.59,
3912 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
3914 Copyright (C) 2003 Free Software Foundation, Inc.
3915 This config.status script is free software; the Free Software Foundation
3916 gives unlimited permission to copy, distribute and modify it."
3917 srcdir=$srcdir
3918 INSTALL="$INSTALL"
3919 _ACEOF
3921 cat >>$CONFIG_STATUS <<\_ACEOF
3922 # If no file are specified by the user, then we need to provide default
3923 # value. By we need to know if files were specified by the user.
3924 ac_need_defaults=:
3925 while test $# != 0
3927 case $1 in
3928 --*=*)
3929 ac_option=`expr "x$1" : 'x\([^=]*\)='`
3930 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
3931 ac_shift=:
3934 ac_option=$1
3935 ac_optarg=$2
3936 ac_shift=shift
3938 *) # This is not an option, so the user has probably given explicit
3939 # arguments.
3940 ac_option=$1
3941 ac_need_defaults=false;;
3942 esac
3944 case $ac_option in
3945 # Handling of the options.
3946 _ACEOF
3947 cat >>$CONFIG_STATUS <<\_ACEOF
3948 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3949 ac_cs_recheck=: ;;
3950 --version | --vers* | -V )
3951 echo "$ac_cs_version"; exit 0 ;;
3952 --he | --h)
3953 # Conflict between --help and --header
3954 { { echo "$as_me:$LINENO: error: ambiguous option: $1
3955 Try \`$0 --help' for more information." >&5
3956 echo "$as_me: error: ambiguous option: $1
3957 Try \`$0 --help' for more information." >&2;}
3958 { (exit 1); exit 1; }; };;
3959 --help | --hel | -h )
3960 echo "$ac_cs_usage"; exit 0 ;;
3961 --debug | --d* | -d )
3962 debug=: ;;
3963 --file | --fil | --fi | --f )
3964 $ac_shift
3965 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
3966 ac_need_defaults=false;;
3967 --header | --heade | --head | --hea )
3968 $ac_shift
3969 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
3970 ac_need_defaults=false;;
3971 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3972 | -silent | --silent | --silen | --sile | --sil | --si | --s)
3973 ac_cs_silent=: ;;
3975 # This is an error.
3976 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
3977 Try \`$0 --help' for more information." >&5
3978 echo "$as_me: error: unrecognized option: $1
3979 Try \`$0 --help' for more information." >&2;}
3980 { (exit 1); exit 1; }; } ;;
3982 *) ac_config_targets="$ac_config_targets $1" ;;
3984 esac
3985 shift
3986 done
3988 ac_configure_extra_args=
3990 if $ac_cs_silent; then
3991 exec 6>/dev/null
3992 ac_configure_extra_args="$ac_configure_extra_args --silent"
3995 _ACEOF
3996 cat >>$CONFIG_STATUS <<_ACEOF
3997 if \$ac_cs_recheck; then
3998 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
3999 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4002 _ACEOF
4004 cat >>$CONFIG_STATUS <<_ACEOF
4006 # INIT-COMMANDS section.
4009 srcdir=${srcdir}
4010 host=${host}
4011 with_target_subdir=${with_target_subdir}
4012 with_multisubdir=${with_multisubdir}
4013 ac_configure_args="--enable-multilib ${ac_configure_args}"
4014 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
4015 libgcc_topdir=${libgcc_topdir}
4016 CC="${CC}"
4019 _ACEOF
4023 cat >>$CONFIG_STATUS <<\_ACEOF
4024 for ac_config_target in $ac_config_targets
4026 case "$ac_config_target" in
4027 # Handling of arguments.
4028 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4029 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
4030 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
4031 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
4032 { (exit 1); exit 1; }; };;
4033 esac
4034 done
4036 # If the user did not use the arguments to specify the items to instantiate,
4037 # then the envvar interface is used. Set only those that are not.
4038 # We use the long form for the default assignment because of an extremely
4039 # bizarre bug on SunOS 4.1.3.
4040 if $ac_need_defaults; then
4041 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4042 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
4045 # Have a temporary directory for convenience. Make it in the build tree
4046 # simply because there is no reason to put it here, and in addition,
4047 # creating and moving files from /tmp can sometimes cause problems.
4048 # Create a temporary directory, and hook for its removal unless debugging.
4049 $debug ||
4051 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
4052 trap '{ (exit 1); exit 1; }' 1 2 13 15
4055 # Create a (secure) tmp directory for tmp files.
4058 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
4059 test -n "$tmp" && test -d "$tmp"
4060 } ||
4062 tmp=./confstat$$-$RANDOM
4063 (umask 077 && mkdir $tmp)
4064 } ||
4066 echo "$me: cannot create a temporary directory in ." >&2
4067 { (exit 1); exit 1; }
4070 _ACEOF
4072 cat >>$CONFIG_STATUS <<_ACEOF
4075 # CONFIG_FILES section.
4078 # No need to generate the scripts if there are no CONFIG_FILES.
4079 # This happens for instance when ./config.status config.h
4080 if test -n "\$CONFIG_FILES"; then
4081 # Protect against being on the right side of a sed subst in config.status.
4082 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
4083 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
4084 s,@SHELL@,$SHELL,;t t
4085 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
4086 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
4087 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
4088 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
4089 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
4090 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
4091 s,@exec_prefix@,$exec_prefix,;t t
4092 s,@prefix@,$prefix,;t t
4093 s,@program_transform_name@,$program_transform_name,;t t
4094 s,@bindir@,$bindir,;t t
4095 s,@sbindir@,$sbindir,;t t
4096 s,@libexecdir@,$libexecdir,;t t
4097 s,@datadir@,$datadir,;t t
4098 s,@sysconfdir@,$sysconfdir,;t t
4099 s,@sharedstatedir@,$sharedstatedir,;t t
4100 s,@localstatedir@,$localstatedir,;t t
4101 s,@libdir@,$libdir,;t t
4102 s,@includedir@,$includedir,;t t
4103 s,@oldincludedir@,$oldincludedir,;t t
4104 s,@infodir@,$infodir,;t t
4105 s,@mandir@,$mandir,;t t
4106 s,@build_alias@,$build_alias,;t t
4107 s,@host_alias@,$host_alias,;t t
4108 s,@target_alias@,$target_alias,;t t
4109 s,@DEFS@,$DEFS,;t t
4110 s,@ECHO_C@,$ECHO_C,;t t
4111 s,@ECHO_N@,$ECHO_N,;t t
4112 s,@ECHO_T@,$ECHO_T,;t t
4113 s,@LIBS@,$LIBS,;t t
4114 s,@libgcc_topdir@,$libgcc_topdir,;t t
4115 s,@enable_shared@,$enable_shared,;t t
4116 s,@slibdir@,$slibdir,;t t
4117 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
4118 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
4119 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
4120 s,@AWK@,$AWK,;t t
4121 s,@build@,$build,;t t
4122 s,@build_cpu@,$build_cpu,;t t
4123 s,@build_vendor@,$build_vendor,;t t
4124 s,@build_os@,$build_os,;t t
4125 s,@host@,$host,;t t
4126 s,@host_cpu@,$host_cpu,;t t
4127 s,@host_vendor@,$host_vendor,;t t
4128 s,@host_os@,$host_os,;t t
4129 s,@host_noncanonical@,$host_noncanonical,;t t
4130 s,@build_libsubdir@,$build_libsubdir,;t t
4131 s,@build_subdir@,$build_subdir,;t t
4132 s,@host_subdir@,$host_subdir,;t t
4133 s,@target_subdir@,$target_subdir,;t t
4134 s,@AR@,$AR,;t t
4135 s,@ac_ct_AR@,$ac_ct_AR,;t t
4136 s,@LIPO@,$LIPO,;t t
4137 s,@ac_ct_LIPO@,$ac_ct_LIPO,;t t
4138 s,@NM@,$NM,;t t
4139 s,@ac_ct_NM@,$ac_ct_NM,;t t
4140 s,@RANLIB@,$RANLIB,;t t
4141 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
4142 s,@STRIP@,$STRIP,;t t
4143 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
4144 s,@LN_S@,$LN_S,;t t
4145 s,@CC@,$CC,;t t
4146 s,@CFLAGS@,$CFLAGS,;t t
4147 s,@LDFLAGS@,$LDFLAGS,;t t
4148 s,@CPPFLAGS@,$CPPFLAGS,;t t
4149 s,@ac_ct_CC@,$ac_ct_CC,;t t
4150 s,@EXEEXT@,$EXEEXT,;t t
4151 s,@OBJEXT@,$OBJEXT,;t t
4152 s,@CPP@,$CPP,;t t
4153 s,@decimal_float@,$decimal_float,;t t
4154 s,@enable_decimal_float@,$enable_decimal_float,;t t
4155 s,@vis_hide@,$vis_hide,;t t
4156 s,@set_have_cc_tls@,$set_have_cc_tls,;t t
4157 s,@tmake_file@,$tmake_file,;t t
4158 s,@extra_parts@,$extra_parts,;t t
4159 s,@asm_hidden_op@,$asm_hidden_op,;t t
4160 s,@LIBOBJS@,$LIBOBJS,;t t
4161 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
4162 CEOF
4164 _ACEOF
4166 cat >>$CONFIG_STATUS <<\_ACEOF
4167 # Split the substitutions into bite-sized pieces for seds with
4168 # small command number limits, like on Digital OSF/1 and HP-UX.
4169 ac_max_sed_lines=48
4170 ac_sed_frag=1 # Number of current file.
4171 ac_beg=1 # First line for current file.
4172 ac_end=$ac_max_sed_lines # Line after last line for current file.
4173 ac_more_lines=:
4174 ac_sed_cmds=
4175 while $ac_more_lines; do
4176 if test $ac_beg -gt 1; then
4177 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
4178 else
4179 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
4181 if test ! -s $tmp/subs.frag; then
4182 ac_more_lines=false
4183 else
4184 # The purpose of the label and of the branching condition is to
4185 # speed up the sed processing (if there are no `@' at all, there
4186 # is no need to browse any of the substitutions).
4187 # These are the two extra sed commands mentioned above.
4188 (echo ':t
4189 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
4190 if test -z "$ac_sed_cmds"; then
4191 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
4192 else
4193 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
4195 ac_sed_frag=`expr $ac_sed_frag + 1`
4196 ac_beg=$ac_end
4197 ac_end=`expr $ac_end + $ac_max_sed_lines`
4199 done
4200 if test -z "$ac_sed_cmds"; then
4201 ac_sed_cmds=cat
4203 fi # test -n "$CONFIG_FILES"
4205 _ACEOF
4206 cat >>$CONFIG_STATUS <<\_ACEOF
4207 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
4208 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
4209 case $ac_file in
4210 - | *:- | *:-:* ) # input from stdin
4211 cat >$tmp/stdin
4212 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4213 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4214 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4215 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4216 * ) ac_file_in=$ac_file.in ;;
4217 esac
4219 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
4220 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
4221 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4222 X"$ac_file" : 'X\(//\)[^/]' \| \
4223 X"$ac_file" : 'X\(//\)$' \| \
4224 X"$ac_file" : 'X\(/\)' \| \
4225 . : '\(.\)' 2>/dev/null ||
4226 echo X"$ac_file" |
4227 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4228 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4229 /^X\(\/\/\)$/{ s//\1/; q; }
4230 /^X\(\/\).*/{ s//\1/; q; }
4231 s/.*/./; q'`
4232 { if $as_mkdir_p; then
4233 mkdir -p "$ac_dir"
4234 else
4235 as_dir="$ac_dir"
4236 as_dirs=
4237 while test ! -d "$as_dir"; do
4238 as_dirs="$as_dir $as_dirs"
4239 as_dir=`(dirname "$as_dir") 2>/dev/null ||
4240 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4241 X"$as_dir" : 'X\(//\)[^/]' \| \
4242 X"$as_dir" : 'X\(//\)$' \| \
4243 X"$as_dir" : 'X\(/\)' \| \
4244 . : '\(.\)' 2>/dev/null ||
4245 echo X"$as_dir" |
4246 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4247 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4248 /^X\(\/\/\)$/{ s//\1/; q; }
4249 /^X\(\/\).*/{ s//\1/; q; }
4250 s/.*/./; q'`
4251 done
4252 test ! -n "$as_dirs" || mkdir $as_dirs
4253 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
4254 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
4255 { (exit 1); exit 1; }; }; }
4257 ac_builddir=.
4259 if test "$ac_dir" != .; then
4260 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4261 # A "../" for each directory in $ac_dir_suffix.
4262 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
4263 else
4264 ac_dir_suffix= ac_top_builddir=
4267 case $srcdir in
4268 .) # No --srcdir option. We are building in place.
4269 ac_srcdir=.
4270 if test -z "$ac_top_builddir"; then
4271 ac_top_srcdir=.
4272 else
4273 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
4274 fi ;;
4275 [\\/]* | ?:[\\/]* ) # Absolute path.
4276 ac_srcdir=$srcdir$ac_dir_suffix;
4277 ac_top_srcdir=$srcdir ;;
4278 *) # Relative path.
4279 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
4280 ac_top_srcdir=$ac_top_builddir$srcdir ;;
4281 esac
4283 # Do not use `cd foo && pwd` to compute absolute paths, because
4284 # the directories may not exist.
4285 case `pwd` in
4286 .) ac_abs_builddir="$ac_dir";;
4288 case "$ac_dir" in
4289 .) ac_abs_builddir=`pwd`;;
4290 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
4291 *) ac_abs_builddir=`pwd`/"$ac_dir";;
4292 esac;;
4293 esac
4294 case $ac_abs_builddir in
4295 .) ac_abs_top_builddir=${ac_top_builddir}.;;
4297 case ${ac_top_builddir}. in
4298 .) ac_abs_top_builddir=$ac_abs_builddir;;
4299 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
4300 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
4301 esac;;
4302 esac
4303 case $ac_abs_builddir in
4304 .) ac_abs_srcdir=$ac_srcdir;;
4306 case $ac_srcdir in
4307 .) ac_abs_srcdir=$ac_abs_builddir;;
4308 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
4309 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
4310 esac;;
4311 esac
4312 case $ac_abs_builddir in
4313 .) ac_abs_top_srcdir=$ac_top_srcdir;;
4315 case $ac_top_srcdir in
4316 .) ac_abs_top_srcdir=$ac_abs_builddir;;
4317 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
4318 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
4319 esac;;
4320 esac
4323 case $INSTALL in
4324 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
4325 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
4326 esac
4328 if test x"$ac_file" != x-; then
4329 { echo "$as_me:$LINENO: creating $ac_file" >&5
4330 echo "$as_me: creating $ac_file" >&6;}
4331 rm -f "$ac_file"
4333 # Let's still pretend it is `configure' which instantiates (i.e., don't
4334 # use $as_me), people would be surprised to read:
4335 # /* config.h. Generated by config.status. */
4336 if test x"$ac_file" = x-; then
4337 configure_input=
4338 else
4339 configure_input="$ac_file. "
4341 configure_input=$configure_input"Generated from `echo $ac_file_in |
4342 sed 's,.*/,,'` by configure."
4344 # First look for the input files in the build tree, otherwise in the
4345 # src tree.
4346 ac_file_inputs=`IFS=:
4347 for f in $ac_file_in; do
4348 case $f in
4349 -) echo $tmp/stdin ;;
4350 [\\/$]*)
4351 # Absolute (can't be DOS-style, as IFS=:)
4352 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4353 echo "$as_me: error: cannot find input file: $f" >&2;}
4354 { (exit 1); exit 1; }; }
4355 echo "$f";;
4356 *) # Relative
4357 if test -f "$f"; then
4358 # Build tree
4359 echo "$f"
4360 elif test -f "$srcdir/$f"; then
4361 # Source tree
4362 echo "$srcdir/$f"
4363 else
4364 # /dev/null tree
4365 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4366 echo "$as_me: error: cannot find input file: $f" >&2;}
4367 { (exit 1); exit 1; }; }
4368 fi;;
4369 esac
4370 done` || { (exit 1); exit 1; }
4371 _ACEOF
4372 cat >>$CONFIG_STATUS <<_ACEOF
4373 sed "$ac_vpsub
4374 $extrasub
4375 _ACEOF
4376 cat >>$CONFIG_STATUS <<\_ACEOF
4378 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4379 s,@configure_input@,$configure_input,;t t
4380 s,@srcdir@,$ac_srcdir,;t t
4381 s,@abs_srcdir@,$ac_abs_srcdir,;t t
4382 s,@top_srcdir@,$ac_top_srcdir,;t t
4383 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
4384 s,@builddir@,$ac_builddir,;t t
4385 s,@abs_builddir@,$ac_abs_builddir,;t t
4386 s,@top_builddir@,$ac_top_builddir,;t t
4387 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
4388 s,@INSTALL@,$ac_INSTALL,;t t
4389 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
4390 rm -f $tmp/stdin
4391 if test x"$ac_file" != x-; then
4392 mv $tmp/out $ac_file
4393 else
4394 cat $tmp/out
4395 rm -f $tmp/out
4398 done
4399 _ACEOF
4400 cat >>$CONFIG_STATUS <<\_ACEOF
4403 # CONFIG_COMMANDS section.
4405 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
4406 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
4407 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
4408 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
4409 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4410 X"$ac_dest" : 'X\(//\)[^/]' \| \
4411 X"$ac_dest" : 'X\(//\)$' \| \
4412 X"$ac_dest" : 'X\(/\)' \| \
4413 . : '\(.\)' 2>/dev/null ||
4414 echo X"$ac_dest" |
4415 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4416 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4417 /^X\(\/\/\)$/{ s//\1/; q; }
4418 /^X\(\/\).*/{ s//\1/; q; }
4419 s/.*/./; q'`
4420 { if $as_mkdir_p; then
4421 mkdir -p "$ac_dir"
4422 else
4423 as_dir="$ac_dir"
4424 as_dirs=
4425 while test ! -d "$as_dir"; do
4426 as_dirs="$as_dir $as_dirs"
4427 as_dir=`(dirname "$as_dir") 2>/dev/null ||
4428 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4429 X"$as_dir" : 'X\(//\)[^/]' \| \
4430 X"$as_dir" : 'X\(//\)$' \| \
4431 X"$as_dir" : 'X\(/\)' \| \
4432 . : '\(.\)' 2>/dev/null ||
4433 echo X"$as_dir" |
4434 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4435 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4436 /^X\(\/\/\)$/{ s//\1/; q; }
4437 /^X\(\/\).*/{ s//\1/; q; }
4438 s/.*/./; q'`
4439 done
4440 test ! -n "$as_dirs" || mkdir $as_dirs
4441 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
4442 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
4443 { (exit 1); exit 1; }; }; }
4445 ac_builddir=.
4447 if test "$ac_dir" != .; then
4448 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4449 # A "../" for each directory in $ac_dir_suffix.
4450 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
4451 else
4452 ac_dir_suffix= ac_top_builddir=
4455 case $srcdir in
4456 .) # No --srcdir option. We are building in place.
4457 ac_srcdir=.
4458 if test -z "$ac_top_builddir"; then
4459 ac_top_srcdir=.
4460 else
4461 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
4462 fi ;;
4463 [\\/]* | ?:[\\/]* ) # Absolute path.
4464 ac_srcdir=$srcdir$ac_dir_suffix;
4465 ac_top_srcdir=$srcdir ;;
4466 *) # Relative path.
4467 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
4468 ac_top_srcdir=$ac_top_builddir$srcdir ;;
4469 esac
4471 # Do not use `cd foo && pwd` to compute absolute paths, because
4472 # the directories may not exist.
4473 case `pwd` in
4474 .) ac_abs_builddir="$ac_dir";;
4476 case "$ac_dir" in
4477 .) ac_abs_builddir=`pwd`;;
4478 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
4479 *) ac_abs_builddir=`pwd`/"$ac_dir";;
4480 esac;;
4481 esac
4482 case $ac_abs_builddir in
4483 .) ac_abs_top_builddir=${ac_top_builddir}.;;
4485 case ${ac_top_builddir}. in
4486 .) ac_abs_top_builddir=$ac_abs_builddir;;
4487 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
4488 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
4489 esac;;
4490 esac
4491 case $ac_abs_builddir in
4492 .) ac_abs_srcdir=$ac_srcdir;;
4494 case $ac_srcdir in
4495 .) ac_abs_srcdir=$ac_abs_builddir;;
4496 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
4497 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
4498 esac;;
4499 esac
4500 case $ac_abs_builddir in
4501 .) ac_abs_top_srcdir=$ac_top_srcdir;;
4503 case $ac_top_srcdir in
4504 .) ac_abs_top_srcdir=$ac_abs_builddir;;
4505 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
4506 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
4507 esac;;
4508 esac
4511 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
4512 echo "$as_me: executing $ac_dest commands" >&6;}
4513 case $ac_dest in
4514 default ) test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
4515 if test -n "$CONFIG_FILES"; then
4516 # FIXME: We shouldn't need to set ac_file
4517 ac_file=Makefile
4518 . ${libgcc_topdir}/config-ml.in
4519 fi ;;
4520 esac
4521 done
4522 _ACEOF
4524 cat >>$CONFIG_STATUS <<\_ACEOF
4526 { (exit 0); exit 0; }
4527 _ACEOF
4528 chmod +x $CONFIG_STATUS
4529 ac_clean_files=$ac_clean_files_save
4532 # configure is writing to config.log, and then calls config.status.
4533 # config.status does its own redirection, appending to config.log.
4534 # Unfortunately, on DOS this fails, as config.log is still kept open
4535 # by configure, so config.status won't be able to write to it; its
4536 # output is simply discarded. So we exec the FD to /dev/null,
4537 # effectively closing config.log, so it can be properly (re)opened and
4538 # appended to by config.status. When coming back to configure, we
4539 # need to make the FD available again.
4540 if test "$no_create" != yes; then
4541 ac_cs_success=:
4542 ac_config_status_args=
4543 test "$silent" = yes &&
4544 ac_config_status_args="$ac_config_status_args --quiet"
4545 exec 5>/dev/null
4546 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4547 exec 5>>config.log
4548 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4549 # would make configure fail if this is the last instruction.
4550 $ac_cs_success || { (exit 1); exit 1; }