gcc.c (execute): Fix -Wc++-compat warning.
[official-gcc.git] / libgcc / configure
blob75bf9034b1a53c8fde949b83a7c219f6fdbc8797
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 fixed_point vis_hide set_have_cc_tls tmake_file extra_parts asm_hidden_op LIBOBJS LTLIBOBJS'
276 ac_subst_files=''
277 ac_pwd=`pwd`
279 # Initialize some variables set by options.
280 ac_init_help=
281 ac_init_version=false
282 # The variables have the same names as the options, with
283 # dashes changed to underlines.
284 cache_file=/dev/null
285 exec_prefix=NONE
286 no_create=
287 no_recursion=
288 prefix=NONE
289 program_prefix=NONE
290 program_suffix=NONE
291 program_transform_name=s,x,x,
292 silent=
293 site=
294 srcdir=
295 verbose=
296 x_includes=NONE
297 x_libraries=NONE
299 # Installation directory options.
300 # These are left unexpanded so users can "make install exec_prefix=/foo"
301 # and all the variables that are supposed to be based on exec_prefix
302 # by default will actually change.
303 # Use braces instead of parens because sh, perl, etc. also accept them.
304 bindir='${exec_prefix}/bin'
305 sbindir='${exec_prefix}/sbin'
306 libexecdir='${exec_prefix}/libexec'
307 datadir='${prefix}/share'
308 sysconfdir='${prefix}/etc'
309 sharedstatedir='${prefix}/com'
310 localstatedir='${prefix}/var'
311 libdir='${exec_prefix}/lib'
312 includedir='${prefix}/include'
313 oldincludedir='/usr/include'
314 infodir='${prefix}/info'
315 mandir='${prefix}/man'
317 ac_prev=
318 for ac_option
320 # If the previous option needs an argument, assign it.
321 if test -n "$ac_prev"; then
322 eval "$ac_prev=\$ac_option"
323 ac_prev=
324 continue
327 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
329 # Accept the important Cygnus configure options, so we can diagnose typos.
331 case $ac_option in
333 -bindir | --bindir | --bindi | --bind | --bin | --bi)
334 ac_prev=bindir ;;
335 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
336 bindir=$ac_optarg ;;
338 -build | --build | --buil | --bui | --bu)
339 ac_prev=build_alias ;;
340 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
341 build_alias=$ac_optarg ;;
343 -cache-file | --cache-file | --cache-fil | --cache-fi \
344 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
345 ac_prev=cache_file ;;
346 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
347 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
348 cache_file=$ac_optarg ;;
350 --config-cache | -C)
351 cache_file=config.cache ;;
353 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
354 ac_prev=datadir ;;
355 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
356 | --da=*)
357 datadir=$ac_optarg ;;
359 -disable-* | --disable-*)
360 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
361 # Reject names that are not valid shell variable names.
362 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
363 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
364 { (exit 1); exit 1; }; }
365 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
366 eval "enable_$ac_feature=no" ;;
368 -enable-* | --enable-*)
369 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
370 # Reject names that are not valid shell variable names.
371 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
372 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
373 { (exit 1); exit 1; }; }
374 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
375 case $ac_option in
376 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
377 *) ac_optarg=yes ;;
378 esac
379 eval "enable_$ac_feature='$ac_optarg'" ;;
381 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
382 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
383 | --exec | --exe | --ex)
384 ac_prev=exec_prefix ;;
385 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
386 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
387 | --exec=* | --exe=* | --ex=*)
388 exec_prefix=$ac_optarg ;;
390 -gas | --gas | --ga | --g)
391 # Obsolete; use --with-gas.
392 with_gas=yes ;;
394 -help | --help | --hel | --he | -h)
395 ac_init_help=long ;;
396 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
397 ac_init_help=recursive ;;
398 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
399 ac_init_help=short ;;
401 -host | --host | --hos | --ho)
402 ac_prev=host_alias ;;
403 -host=* | --host=* | --hos=* | --ho=*)
404 host_alias=$ac_optarg ;;
406 -includedir | --includedir | --includedi | --included | --include \
407 | --includ | --inclu | --incl | --inc)
408 ac_prev=includedir ;;
409 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
410 | --includ=* | --inclu=* | --incl=* | --inc=*)
411 includedir=$ac_optarg ;;
413 -infodir | --infodir | --infodi | --infod | --info | --inf)
414 ac_prev=infodir ;;
415 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
416 infodir=$ac_optarg ;;
418 -libdir | --libdir | --libdi | --libd)
419 ac_prev=libdir ;;
420 -libdir=* | --libdir=* | --libdi=* | --libd=*)
421 libdir=$ac_optarg ;;
423 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
424 | --libexe | --libex | --libe)
425 ac_prev=libexecdir ;;
426 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
427 | --libexe=* | --libex=* | --libe=*)
428 libexecdir=$ac_optarg ;;
430 -localstatedir | --localstatedir | --localstatedi | --localstated \
431 | --localstate | --localstat | --localsta | --localst \
432 | --locals | --local | --loca | --loc | --lo)
433 ac_prev=localstatedir ;;
434 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
435 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
436 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
437 localstatedir=$ac_optarg ;;
439 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
440 ac_prev=mandir ;;
441 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
442 mandir=$ac_optarg ;;
444 -nfp | --nfp | --nf)
445 # Obsolete; use --without-fp.
446 with_fp=no ;;
448 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
449 | --no-cr | --no-c | -n)
450 no_create=yes ;;
452 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
453 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
454 no_recursion=yes ;;
456 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
457 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
458 | --oldin | --oldi | --old | --ol | --o)
459 ac_prev=oldincludedir ;;
460 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
461 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
462 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
463 oldincludedir=$ac_optarg ;;
465 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
466 ac_prev=prefix ;;
467 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
468 prefix=$ac_optarg ;;
470 -program-prefix | --program-prefix | --program-prefi | --program-pref \
471 | --program-pre | --program-pr | --program-p)
472 ac_prev=program_prefix ;;
473 -program-prefix=* | --program-prefix=* | --program-prefi=* \
474 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
475 program_prefix=$ac_optarg ;;
477 -program-suffix | --program-suffix | --program-suffi | --program-suff \
478 | --program-suf | --program-su | --program-s)
479 ac_prev=program_suffix ;;
480 -program-suffix=* | --program-suffix=* | --program-suffi=* \
481 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
482 program_suffix=$ac_optarg ;;
484 -program-transform-name | --program-transform-name \
485 | --program-transform-nam | --program-transform-na \
486 | --program-transform-n | --program-transform- \
487 | --program-transform | --program-transfor \
488 | --program-transfo | --program-transf \
489 | --program-trans | --program-tran \
490 | --progr-tra | --program-tr | --program-t)
491 ac_prev=program_transform_name ;;
492 -program-transform-name=* | --program-transform-name=* \
493 | --program-transform-nam=* | --program-transform-na=* \
494 | --program-transform-n=* | --program-transform-=* \
495 | --program-transform=* | --program-transfor=* \
496 | --program-transfo=* | --program-transf=* \
497 | --program-trans=* | --program-tran=* \
498 | --progr-tra=* | --program-tr=* | --program-t=*)
499 program_transform_name=$ac_optarg ;;
501 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
502 | -silent | --silent | --silen | --sile | --sil)
503 silent=yes ;;
505 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
506 ac_prev=sbindir ;;
507 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
508 | --sbi=* | --sb=*)
509 sbindir=$ac_optarg ;;
511 -sharedstatedir | --sharedstatedir | --sharedstatedi \
512 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
513 | --sharedst | --shareds | --shared | --share | --shar \
514 | --sha | --sh)
515 ac_prev=sharedstatedir ;;
516 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
517 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
518 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
519 | --sha=* | --sh=*)
520 sharedstatedir=$ac_optarg ;;
522 -site | --site | --sit)
523 ac_prev=site ;;
524 -site=* | --site=* | --sit=*)
525 site=$ac_optarg ;;
527 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
528 ac_prev=srcdir ;;
529 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
530 srcdir=$ac_optarg ;;
532 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
533 | --syscon | --sysco | --sysc | --sys | --sy)
534 ac_prev=sysconfdir ;;
535 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
536 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
537 sysconfdir=$ac_optarg ;;
539 -target | --target | --targe | --targ | --tar | --ta | --t)
540 ac_prev=target_alias ;;
541 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
542 target_alias=$ac_optarg ;;
544 -v | -verbose | --verbose | --verbos | --verbo | --verb)
545 verbose=yes ;;
547 -version | --version | --versio | --versi | --vers | -V)
548 ac_init_version=: ;;
550 -with-* | --with-*)
551 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
552 # Reject names that are not valid shell variable names.
553 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
554 { echo "$as_me: error: invalid package name: $ac_package" >&2
555 { (exit 1); exit 1; }; }
556 ac_package=`echo $ac_package| sed 's/-/_/g'`
557 case $ac_option in
558 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
559 *) ac_optarg=yes ;;
560 esac
561 eval "with_$ac_package='$ac_optarg'" ;;
563 -without-* | --without-*)
564 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
565 # Reject names that are not valid shell variable names.
566 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
567 { echo "$as_me: error: invalid package name: $ac_package" >&2
568 { (exit 1); exit 1; }; }
569 ac_package=`echo $ac_package | sed 's/-/_/g'`
570 eval "with_$ac_package=no" ;;
572 --x)
573 # Obsolete; use --with-x.
574 with_x=yes ;;
576 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
577 | --x-incl | --x-inc | --x-in | --x-i)
578 ac_prev=x_includes ;;
579 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
580 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
581 x_includes=$ac_optarg ;;
583 -x-libraries | --x-libraries | --x-librarie | --x-librari \
584 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
585 ac_prev=x_libraries ;;
586 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
587 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
588 x_libraries=$ac_optarg ;;
590 -*) { echo "$as_me: error: unrecognized option: $ac_option
591 Try \`$0 --help' for more information." >&2
592 { (exit 1); exit 1; }; }
595 *=*)
596 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
597 # Reject names that are not valid shell variable names.
598 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
599 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
600 { (exit 1); exit 1; }; }
601 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
602 eval "$ac_envvar='$ac_optarg'"
603 export $ac_envvar ;;
606 # FIXME: should be removed in autoconf 3.0.
607 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
608 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
609 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
610 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
613 esac
614 done
616 if test -n "$ac_prev"; then
617 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
618 { echo "$as_me: error: missing argument to $ac_option" >&2
619 { (exit 1); exit 1; }; }
622 # Be sure to have absolute paths.
623 for ac_var in exec_prefix prefix
625 eval ac_val=$`echo $ac_var`
626 case $ac_val in
627 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
628 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
629 { (exit 1); exit 1; }; };;
630 esac
631 done
633 # Be sure to have absolute paths.
634 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
635 localstatedir libdir includedir oldincludedir infodir mandir
637 eval ac_val=$`echo $ac_var`
638 case $ac_val in
639 [\\/$]* | ?:[\\/]* ) ;;
640 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
641 { (exit 1); exit 1; }; };;
642 esac
643 done
645 # There might be people who depend on the old broken behavior: `$host'
646 # used to hold the argument of --host etc.
647 # FIXME: To remove some day.
648 build=$build_alias
649 host=$host_alias
650 target=$target_alias
652 # FIXME: To remove some day.
653 if test "x$host_alias" != x; then
654 if test "x$build_alias" = x; then
655 cross_compiling=maybe
656 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
657 If a cross compiler is detected then cross compile mode will be used." >&2
658 elif test "x$build_alias" != "x$host_alias"; then
659 cross_compiling=yes
663 ac_tool_prefix=
664 test -n "$host_alias" && ac_tool_prefix=$host_alias-
666 test "$silent" = yes && exec 6>/dev/null
669 # Find the source files, if location was not specified.
670 if test -z "$srcdir"; then
671 ac_srcdir_defaulted=yes
672 # Try the directory containing this script, then its parent.
673 ac_confdir=`(dirname "$0") 2>/dev/null ||
674 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
675 X"$0" : 'X\(//\)[^/]' \| \
676 X"$0" : 'X\(//\)$' \| \
677 X"$0" : 'X\(/\)' \| \
678 . : '\(.\)' 2>/dev/null ||
679 echo X"$0" |
680 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
681 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
682 /^X\(\/\/\)$/{ s//\1/; q; }
683 /^X\(\/\).*/{ s//\1/; q; }
684 s/.*/./; q'`
685 srcdir=$ac_confdir
686 if test ! -r $srcdir/$ac_unique_file; then
687 srcdir=..
689 else
690 ac_srcdir_defaulted=no
692 if test ! -r $srcdir/$ac_unique_file; then
693 if test "$ac_srcdir_defaulted" = yes; then
694 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
695 { (exit 1); exit 1; }; }
696 else
697 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
698 { (exit 1); exit 1; }; }
701 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
702 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
703 { (exit 1); exit 1; }; }
704 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
705 ac_env_build_alias_set=${build_alias+set}
706 ac_env_build_alias_value=$build_alias
707 ac_cv_env_build_alias_set=${build_alias+set}
708 ac_cv_env_build_alias_value=$build_alias
709 ac_env_host_alias_set=${host_alias+set}
710 ac_env_host_alias_value=$host_alias
711 ac_cv_env_host_alias_set=${host_alias+set}
712 ac_cv_env_host_alias_value=$host_alias
713 ac_env_target_alias_set=${target_alias+set}
714 ac_env_target_alias_value=$target_alias
715 ac_cv_env_target_alias_set=${target_alias+set}
716 ac_cv_env_target_alias_value=$target_alias
717 ac_env_CC_set=${CC+set}
718 ac_env_CC_value=$CC
719 ac_cv_env_CC_set=${CC+set}
720 ac_cv_env_CC_value=$CC
721 ac_env_CFLAGS_set=${CFLAGS+set}
722 ac_env_CFLAGS_value=$CFLAGS
723 ac_cv_env_CFLAGS_set=${CFLAGS+set}
724 ac_cv_env_CFLAGS_value=$CFLAGS
725 ac_env_LDFLAGS_set=${LDFLAGS+set}
726 ac_env_LDFLAGS_value=$LDFLAGS
727 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
728 ac_cv_env_LDFLAGS_value=$LDFLAGS
729 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
730 ac_env_CPPFLAGS_value=$CPPFLAGS
731 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
732 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
733 ac_env_CPP_set=${CPP+set}
734 ac_env_CPP_value=$CPP
735 ac_cv_env_CPP_set=${CPP+set}
736 ac_cv_env_CPP_value=$CPP
739 # Report the --help message.
741 if test "$ac_init_help" = "long"; then
742 # Omit some internal or obsolete options to make the list less imposing.
743 # This message is too long to be a string in the A/UX 3.1 sh.
744 cat <<_ACEOF
745 \`configure' configures GNU C Runtime Library 1.0 to adapt to many kinds of systems.
747 Usage: $0 [OPTION]... [VAR=VALUE]...
749 To assign environment variables (e.g., CC, CFLAGS...), specify them as
750 VAR=VALUE. See below for descriptions of some of the useful variables.
752 Defaults for the options are specified in brackets.
754 Configuration:
755 -h, --help display this help and exit
756 --help=short display options specific to this package
757 --help=recursive display the short help of all the included packages
758 -V, --version display version information and exit
759 -q, --quiet, --silent do not print \`checking...' messages
760 --cache-file=FILE cache test results in FILE [disabled]
761 -C, --config-cache alias for \`--cache-file=config.cache'
762 -n, --no-create do not create output files
763 --srcdir=DIR find the sources in DIR [configure dir or \`..']
765 _ACEOF
767 cat <<_ACEOF
768 Installation directories:
769 --prefix=PREFIX install architecture-independent files in PREFIX
770 [$ac_default_prefix]
771 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
772 [PREFIX]
774 By default, \`make install' will install all the files in
775 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
776 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
777 for instance \`--prefix=\$HOME'.
779 For better control, use the options below.
781 Fine tuning of the installation directories:
782 --bindir=DIR user executables [EPREFIX/bin]
783 --sbindir=DIR system admin executables [EPREFIX/sbin]
784 --libexecdir=DIR program executables [EPREFIX/libexec]
785 --datadir=DIR read-only architecture-independent data [PREFIX/share]
786 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
787 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
788 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
789 --libdir=DIR object code libraries [EPREFIX/lib]
790 --includedir=DIR C header files [PREFIX/include]
791 --oldincludedir=DIR C header files for non-gcc [/usr/include]
792 --infodir=DIR info documentation [PREFIX/info]
793 --mandir=DIR man documentation [PREFIX/man]
794 _ACEOF
796 cat <<\_ACEOF
798 System types:
799 --build=BUILD configure for building on BUILD [guessed]
800 --host=HOST cross-compile to build programs to run on HOST [BUILD]
801 _ACEOF
804 if test -n "$ac_init_help"; then
805 case $ac_init_help in
806 short | recursive ) echo "Configuration of GNU C Runtime Library 1.0:";;
807 esac
808 cat <<\_ACEOF
810 Optional Features:
811 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
812 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
813 --disable-shared don't provide a shared libgcc
814 --enable-version-specific-runtime-libs Specify that runtime libraries should be installed in a compiler-specific directory
815 --enable-decimal-float={no,yes,bid,dpd}
816 enable decimal float extension to C. Selecting 'bid'
817 or 'dpd' choses which decimal floating point format
818 to use
819 --enable-tls Use thread-local storage [default=yes]
821 Optional Packages:
822 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
823 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
824 --with-target-subdir=SUBDIR Configuring in a subdirectory for target
825 --with-cross-host=HOST Configuring with a cross compiler
826 --with-ld arrange to use the specified ld (full pathname)
827 --with-slibdir=DIR shared libraries in DIR LIBDIR
828 --with-build-libsubdir=DIR Directory where to find libraries for build system
830 Some influential environment variables:
831 CC C compiler command
832 CFLAGS C compiler flags
833 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
834 nonstandard directory <lib dir>
835 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
836 headers in a nonstandard directory <include dir>
837 CPP C preprocessor
839 Use these variables to override the choices made by `configure' or to help
840 it to find libraries and programs with nonstandard names/locations.
842 _ACEOF
845 if test "$ac_init_help" = "recursive"; then
846 # If there are subdirs, report their specific --help.
847 ac_popdir=`pwd`
848 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
849 test -d $ac_dir || continue
850 ac_builddir=.
852 if test "$ac_dir" != .; then
853 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
854 # A "../" for each directory in $ac_dir_suffix.
855 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
856 else
857 ac_dir_suffix= ac_top_builddir=
860 case $srcdir in
861 .) # No --srcdir option. We are building in place.
862 ac_srcdir=.
863 if test -z "$ac_top_builddir"; then
864 ac_top_srcdir=.
865 else
866 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
867 fi ;;
868 [\\/]* | ?:[\\/]* ) # Absolute path.
869 ac_srcdir=$srcdir$ac_dir_suffix;
870 ac_top_srcdir=$srcdir ;;
871 *) # Relative path.
872 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
873 ac_top_srcdir=$ac_top_builddir$srcdir ;;
874 esac
876 # Do not use `cd foo && pwd` to compute absolute paths, because
877 # the directories may not exist.
878 case `pwd` in
879 .) ac_abs_builddir="$ac_dir";;
881 case "$ac_dir" in
882 .) ac_abs_builddir=`pwd`;;
883 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
884 *) ac_abs_builddir=`pwd`/"$ac_dir";;
885 esac;;
886 esac
887 case $ac_abs_builddir in
888 .) ac_abs_top_builddir=${ac_top_builddir}.;;
890 case ${ac_top_builddir}. in
891 .) ac_abs_top_builddir=$ac_abs_builddir;;
892 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
893 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
894 esac;;
895 esac
896 case $ac_abs_builddir in
897 .) ac_abs_srcdir=$ac_srcdir;;
899 case $ac_srcdir in
900 .) ac_abs_srcdir=$ac_abs_builddir;;
901 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
902 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
903 esac;;
904 esac
905 case $ac_abs_builddir in
906 .) ac_abs_top_srcdir=$ac_top_srcdir;;
908 case $ac_top_srcdir in
909 .) ac_abs_top_srcdir=$ac_abs_builddir;;
910 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
911 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
912 esac;;
913 esac
915 cd $ac_dir
916 # Check for guested configure; otherwise get Cygnus style configure.
917 if test -f $ac_srcdir/configure.gnu; then
918 echo
919 $SHELL $ac_srcdir/configure.gnu --help=recursive
920 elif test -f $ac_srcdir/configure; then
921 echo
922 $SHELL $ac_srcdir/configure --help=recursive
923 elif test -f $ac_srcdir/configure.ac ||
924 test -f $ac_srcdir/configure.in; then
925 echo
926 $ac_configure --help
927 else
928 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
930 cd $ac_popdir
931 done
934 test -n "$ac_init_help" && exit 0
935 if $ac_init_version; then
936 cat <<\_ACEOF
937 GNU C Runtime Library configure 1.0
938 generated by GNU Autoconf 2.59
940 Copyright (C) 2003 Free Software Foundation, Inc.
941 This configure script is free software; the Free Software Foundation
942 gives unlimited permission to copy, distribute and modify it.
943 _ACEOF
944 exit 0
946 exec 5>config.log
947 cat >&5 <<_ACEOF
948 This file contains any messages produced by compilers while
949 running configure, to aid debugging if configure makes a mistake.
951 It was created by GNU C Runtime Library $as_me 1.0, which was
952 generated by GNU Autoconf 2.59. Invocation command line was
954 $ $0 $@
956 _ACEOF
958 cat <<_ASUNAME
959 ## --------- ##
960 ## Platform. ##
961 ## --------- ##
963 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
964 uname -m = `(uname -m) 2>/dev/null || echo unknown`
965 uname -r = `(uname -r) 2>/dev/null || echo unknown`
966 uname -s = `(uname -s) 2>/dev/null || echo unknown`
967 uname -v = `(uname -v) 2>/dev/null || echo unknown`
969 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
970 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
972 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
973 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
974 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
975 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
976 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
977 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
978 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
980 _ASUNAME
982 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
983 for as_dir in $PATH
985 IFS=$as_save_IFS
986 test -z "$as_dir" && as_dir=.
987 echo "PATH: $as_dir"
988 done
990 } >&5
992 cat >&5 <<_ACEOF
995 ## ----------- ##
996 ## Core tests. ##
997 ## ----------- ##
999 _ACEOF
1002 # Keep a trace of the command line.
1003 # Strip out --no-create and --no-recursion so they do not pile up.
1004 # Strip out --silent because we don't want to record it for future runs.
1005 # Also quote any args containing shell meta-characters.
1006 # Make two passes to allow for proper duplicate-argument suppression.
1007 ac_configure_args=
1008 ac_configure_args0=
1009 ac_configure_args1=
1010 ac_sep=
1011 ac_must_keep_next=false
1012 for ac_pass in 1 2
1014 for ac_arg
1016 case $ac_arg in
1017 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1018 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1019 | -silent | --silent | --silen | --sile | --sil)
1020 continue ;;
1021 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1022 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1023 esac
1024 case $ac_pass in
1025 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1027 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1028 if test $ac_must_keep_next = true; then
1029 ac_must_keep_next=false # Got value, back to normal.
1030 else
1031 case $ac_arg in
1032 *=* | --config-cache | -C | -disable-* | --disable-* \
1033 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1034 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1035 | -with-* | --with-* | -without-* | --without-* | --x)
1036 case "$ac_configure_args0 " in
1037 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1038 esac
1040 -* ) ac_must_keep_next=true ;;
1041 esac
1043 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1044 # Get rid of the leading space.
1045 ac_sep=" "
1047 esac
1048 done
1049 done
1050 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1051 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1053 # When interrupted or exit'd, cleanup temporary files, and complete
1054 # config.log. We remove comments because anyway the quotes in there
1055 # would cause problems or look ugly.
1056 # WARNING: Be sure not to use single quotes in there, as some shells,
1057 # such as our DU 5.0 friend, will then `close' the trap.
1058 trap 'exit_status=$?
1059 # Save into config.log some information that might help in debugging.
1061 echo
1063 cat <<\_ASBOX
1064 ## ---------------- ##
1065 ## Cache variables. ##
1066 ## ---------------- ##
1067 _ASBOX
1068 echo
1069 # The following way of writing the cache mishandles newlines in values,
1071 (set) 2>&1 |
1072 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1073 *ac_space=\ *)
1074 sed -n \
1075 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1076 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1079 sed -n \
1080 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1082 esac;
1084 echo
1086 cat <<\_ASBOX
1087 ## ----------------- ##
1088 ## Output variables. ##
1089 ## ----------------- ##
1090 _ASBOX
1091 echo
1092 for ac_var in $ac_subst_vars
1094 eval ac_val=$`echo $ac_var`
1095 echo "$ac_var='"'"'$ac_val'"'"'"
1096 done | sort
1097 echo
1099 if test -n "$ac_subst_files"; then
1100 cat <<\_ASBOX
1101 ## ------------- ##
1102 ## Output files. ##
1103 ## ------------- ##
1104 _ASBOX
1105 echo
1106 for ac_var in $ac_subst_files
1108 eval ac_val=$`echo $ac_var`
1109 echo "$ac_var='"'"'$ac_val'"'"'"
1110 done | sort
1111 echo
1114 if test -s confdefs.h; then
1115 cat <<\_ASBOX
1116 ## ----------- ##
1117 ## confdefs.h. ##
1118 ## ----------- ##
1119 _ASBOX
1120 echo
1121 sed "/^$/d" confdefs.h | sort
1122 echo
1124 test "$ac_signal" != 0 &&
1125 echo "$as_me: caught signal $ac_signal"
1126 echo "$as_me: exit $exit_status"
1127 } >&5
1128 rm -f core *.core &&
1129 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1130 exit $exit_status
1132 for ac_signal in 1 2 13 15; do
1133 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1134 done
1135 ac_signal=0
1137 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1138 rm -rf conftest* confdefs.h
1139 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1140 echo >confdefs.h
1142 # Predefined preprocessor variables.
1144 cat >>confdefs.h <<_ACEOF
1145 #define PACKAGE_NAME "$PACKAGE_NAME"
1146 _ACEOF
1149 cat >>confdefs.h <<_ACEOF
1150 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1151 _ACEOF
1154 cat >>confdefs.h <<_ACEOF
1155 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1156 _ACEOF
1159 cat >>confdefs.h <<_ACEOF
1160 #define PACKAGE_STRING "$PACKAGE_STRING"
1161 _ACEOF
1164 cat >>confdefs.h <<_ACEOF
1165 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1166 _ACEOF
1169 # Let the site file select an alternate cache file if it wants to.
1170 # Prefer explicitly selected file to automatically selected ones.
1171 if test -z "$CONFIG_SITE"; then
1172 if test "x$prefix" != xNONE; then
1173 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1174 else
1175 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1178 for ac_site_file in $CONFIG_SITE; do
1179 if test -r "$ac_site_file"; then
1180 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1181 echo "$as_me: loading site script $ac_site_file" >&6;}
1182 sed 's/^/| /' "$ac_site_file" >&5
1183 . "$ac_site_file"
1185 done
1187 if test -r "$cache_file"; then
1188 # Some versions of bash will fail to source /dev/null (special
1189 # files actually), so we avoid doing that.
1190 if test -f "$cache_file"; then
1191 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1192 echo "$as_me: loading cache $cache_file" >&6;}
1193 case $cache_file in
1194 [\\/]* | ?:[\\/]* ) . $cache_file;;
1195 *) . ./$cache_file;;
1196 esac
1198 else
1199 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1200 echo "$as_me: creating cache $cache_file" >&6;}
1201 >$cache_file
1204 # Check that the precious variables saved in the cache have kept the same
1205 # value.
1206 ac_cache_corrupted=false
1207 for ac_var in `(set) 2>&1 |
1208 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1209 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1210 eval ac_new_set=\$ac_env_${ac_var}_set
1211 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1212 eval ac_new_val="\$ac_env_${ac_var}_value"
1213 case $ac_old_set,$ac_new_set in
1214 set,)
1215 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1216 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1217 ac_cache_corrupted=: ;;
1218 ,set)
1219 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1220 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1221 ac_cache_corrupted=: ;;
1222 ,);;
1224 if test "x$ac_old_val" != "x$ac_new_val"; then
1225 # differences in whitespace do not lead to failure.
1226 ac_old_val_w=`echo x $ac_old_val`
1227 ac_new_val_w=`echo x $ac_new_val`
1228 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1229 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1230 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1231 ac_cache_corrupted=:
1232 else
1233 { echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1234 echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1235 eval $ac_var=\$ac_old_val
1237 { echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
1238 echo "$as_me: former value: \`$ac_old_val'" >&2;}
1239 { echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1240 echo "$as_me: current value: \`$ac_new_val'" >&2;}
1241 fi;;
1242 esac
1243 # Pass precious variables to config.status.
1244 if test "$ac_new_set" = set; then
1245 case $ac_new_val in
1246 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1247 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1248 *) ac_arg=$ac_var=$ac_new_val ;;
1249 esac
1250 case " $ac_configure_args " in
1251 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1252 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1253 esac
1255 done
1256 if $ac_cache_corrupted; then
1257 { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1258 echo "$as_me: error: in \`$ac_pwd':" >&2;}
1259 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1260 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1261 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1262 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1263 { (exit 1); exit 1; }; }
1266 ac_ext=c
1267 ac_cpp='$CPP $CPPFLAGS'
1268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1304 # Check whether --with-target-subdir or --without-target-subdir was given.
1305 if test "${with_target_subdir+set}" = set; then
1306 withval="$with_target_subdir"
1310 # Check whether --with-cross-host or --without-cross-host was given.
1311 if test "${with_cross_host+set}" = set; then
1312 withval="$with_cross_host"
1316 # Check whether --with-ld or --without-ld was given.
1317 if test "${with_ld+set}" = set; then
1318 withval="$with_ld"
1322 if test "${srcdir}" = "."; then
1323 if test -n "${with_build_subdir}"; then
1324 libgcc_topdir="${srcdir}/../.."
1325 with_target_subdir=
1326 elif test -z "${with_target_subdir}"; then
1327 libgcc_topdir="${srcdir}/.."
1328 else
1329 if test "${with_target_subdir}" != "."; then
1330 libgcc_topdir="${srcdir}/${with_multisrctop}../.."
1331 else
1332 libgcc_topdir="${srcdir}/${with_multisrctop}.."
1335 else
1336 libgcc_topdir="${srcdir}/.."
1339 ac_aux_dir=
1340 for ac_dir in $libgcc_topdir $srcdir/$libgcc_topdir; do
1341 if test -f $ac_dir/install-sh; then
1342 ac_aux_dir=$ac_dir
1343 ac_install_sh="$ac_aux_dir/install-sh -c"
1344 break
1345 elif test -f $ac_dir/install.sh; then
1346 ac_aux_dir=$ac_dir
1347 ac_install_sh="$ac_aux_dir/install.sh -c"
1348 break
1349 elif test -f $ac_dir/shtool; then
1350 ac_aux_dir=$ac_dir
1351 ac_install_sh="$ac_aux_dir/shtool install -c"
1352 break
1354 done
1355 if test -z "$ac_aux_dir"; then
1356 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $libgcc_topdir $srcdir/$libgcc_topdir" >&5
1357 echo "$as_me: error: cannot find install-sh or install.sh in $libgcc_topdir $srcdir/$libgcc_topdir" >&2;}
1358 { (exit 1); exit 1; }; }
1360 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1361 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1362 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1365 # Check whether --enable-shared or --disable-shared was given.
1366 if test "${enable_shared+set}" = set; then
1367 enableval="$enable_shared"
1369 case $enable_shared in
1370 yes | no) ;;
1372 enable_shared=no
1373 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1374 for pkg in $enableval; do
1375 if test "X$pkg" = "Xgcc" || test "X$pkg" = "Xlibgcc"; then
1376 enable_shared=yes
1378 done
1379 IFS="$ac_save_ifs"
1381 esac
1383 else
1384 enable_shared=yes
1388 echo "$as_me:$LINENO: checking for --enable-version-specific-runtime-libs" >&5
1389 echo $ECHO_N "checking for --enable-version-specific-runtime-libs... $ECHO_C" >&6
1390 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
1391 if test "${enable_version_specific_runtime_libs+set}" = set; then
1392 enableval="$enable_version_specific_runtime_libs"
1393 case "$enableval" in
1394 yes) version_specific_libs=yes ;;
1395 no) version_specific_libs=no ;;
1396 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
1397 echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
1398 { (exit 1); exit 1; }; };;
1399 esac
1400 else
1401 version_specific_libs=no
1403 echo "$as_me:$LINENO: result: $version_specific_libs" >&5
1404 echo "${ECHO_T}$version_specific_libs" >&6
1407 # Check whether --with-slibdir or --without-slibdir was given.
1408 if test "${with_slibdir+set}" = set; then
1409 withval="$with_slibdir"
1410 slibdir="$with_slibdir"
1411 else
1412 if test "${version_specific_libs}" = yes; then
1413 slibdir='$(libsubdir)'
1414 elif test -n "$with_cross_host" && test x"$with_cross_host" != x"no"; then
1415 slibdir='$(exec_prefix)/$(host_noncanonical)/lib'
1416 else
1417 slibdir='$(libdir)'
1422 # Find a good install program. We prefer a C program (faster),
1423 # so one script is as good as another. But avoid the broken or
1424 # incompatible versions:
1425 # SysV /etc/install, /usr/sbin/install
1426 # SunOS /usr/etc/install
1427 # IRIX /sbin/install
1428 # AIX /bin/install
1429 # AmigaOS /C/install, which installs bootblocks on floppy discs
1430 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1431 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1432 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1433 # OS/2's system install, which has a completely different semantic
1434 # ./install, which can be erroneously created by make from ./install.sh.
1435 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1436 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1437 if test -z "$INSTALL"; then
1438 if test "${ac_cv_path_install+set}" = set; then
1439 echo $ECHO_N "(cached) $ECHO_C" >&6
1440 else
1441 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1442 for as_dir in $PATH
1444 IFS=$as_save_IFS
1445 test -z "$as_dir" && as_dir=.
1446 # Account for people who put trailing slashes in PATH elements.
1447 case $as_dir/ in
1448 ./ | .// | /cC/* | \
1449 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1450 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1451 /usr/ucb/* ) ;;
1453 # OSF1 and SCO ODT 3.0 have their own names for install.
1454 # Don't use installbsd from OSF since it installs stuff as root
1455 # by default.
1456 for ac_prog in ginstall scoinst install; do
1457 for ac_exec_ext in '' $ac_executable_extensions; do
1458 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1459 if test $ac_prog = install &&
1460 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1461 # AIX install. It has an incompatible calling convention.
1463 elif test $ac_prog = install &&
1464 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1465 # program-specific install script used by HP pwplus--don't use.
1467 else
1468 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1469 break 3
1472 done
1473 done
1475 esac
1476 done
1480 if test "${ac_cv_path_install+set}" = set; then
1481 INSTALL=$ac_cv_path_install
1482 else
1483 # As a last resort, use the slow shell script. We don't cache a
1484 # path for INSTALL within a source directory, because that will
1485 # break other packages using the cache if that directory is
1486 # removed, or if the path is relative.
1487 INSTALL=$ac_install_sh
1490 echo "$as_me:$LINENO: result: $INSTALL" >&5
1491 echo "${ECHO_T}$INSTALL" >&6
1493 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1494 # It thinks the first close brace ends the variable substitution.
1495 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1497 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1499 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1502 for ac_prog in gawk mawk nawk awk
1504 # Extract the first word of "$ac_prog", so it can be a program name with args.
1505 set dummy $ac_prog; ac_word=$2
1506 echo "$as_me:$LINENO: checking for $ac_word" >&5
1507 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1508 if test "${ac_cv_prog_AWK+set}" = set; then
1509 echo $ECHO_N "(cached) $ECHO_C" >&6
1510 else
1511 if test -n "$AWK"; then
1512 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1513 else
1514 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1515 for as_dir in $PATH
1517 IFS=$as_save_IFS
1518 test -z "$as_dir" && as_dir=.
1519 for ac_exec_ext in '' $ac_executable_extensions; do
1520 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1521 ac_cv_prog_AWK="$ac_prog"
1522 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1523 break 2
1525 done
1526 done
1530 AWK=$ac_cv_prog_AWK
1531 if test -n "$AWK"; then
1532 echo "$as_me:$LINENO: result: $AWK" >&5
1533 echo "${ECHO_T}$AWK" >&6
1534 else
1535 echo "$as_me:$LINENO: result: no" >&5
1536 echo "${ECHO_T}no" >&6
1539 test -n "$AWK" && break
1540 done
1542 # We need awk; bail out if it's missing.
1543 case ${AWK} in
1544 "") { { echo "$as_me:$LINENO: error: can't build without awk, bailing out" >&5
1545 echo "$as_me: error: can't build without awk, bailing out" >&2;}
1546 { (exit 1); exit 1; }; } ;;
1547 esac
1549 # Make sure we can run config.sub.
1550 $ac_config_sub sun4 >/dev/null 2>&1 ||
1551 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1552 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1553 { (exit 1); exit 1; }; }
1555 echo "$as_me:$LINENO: checking build system type" >&5
1556 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1557 if test "${ac_cv_build+set}" = set; then
1558 echo $ECHO_N "(cached) $ECHO_C" >&6
1559 else
1560 ac_cv_build_alias=$build_alias
1561 test -z "$ac_cv_build_alias" &&
1562 ac_cv_build_alias=`$ac_config_guess`
1563 test -z "$ac_cv_build_alias" &&
1564 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1565 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1566 { (exit 1); exit 1; }; }
1567 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1568 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1569 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1570 { (exit 1); exit 1; }; }
1573 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1574 echo "${ECHO_T}$ac_cv_build" >&6
1575 build=$ac_cv_build
1576 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1577 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1578 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1581 echo "$as_me:$LINENO: checking host system type" >&5
1582 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1583 if test "${ac_cv_host+set}" = set; then
1584 echo $ECHO_N "(cached) $ECHO_C" >&6
1585 else
1586 ac_cv_host_alias=$host_alias
1587 test -z "$ac_cv_host_alias" &&
1588 ac_cv_host_alias=$ac_cv_build_alias
1589 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1590 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1591 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1592 { (exit 1); exit 1; }; }
1595 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1596 echo "${ECHO_T}$ac_cv_host" >&6
1597 host=$ac_cv_host
1598 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1599 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1600 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1603 case ${build_alias} in
1604 "") build_noncanonical=${build} ;;
1605 *) build_noncanonical=${build_alias} ;;
1606 esac
1608 case ${host_alias} in
1609 "") host_noncanonical=${build_noncanonical} ;;
1610 *) host_noncanonical=${host_alias} ;;
1611 esac
1615 case ${target_alias} in
1616 "") target_noncanonical=${host_noncanonical} ;;
1617 *) target_noncanonical=${target_alias} ;;
1618 esac
1621 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
1622 # have matching libraries, they should use host libraries: Makefile.tpl
1623 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
1624 # However, they still use the build modules, because the corresponding
1625 # host modules (e.g. bison) are only built for the host when bootstrap
1626 # finishes. So:
1627 # - build_subdir is where we find build modules, and never changes.
1628 # - build_libsubdir is where we find build libraries, and can be overridden.
1630 # Prefix 'build-' so this never conflicts with target_subdir.
1631 build_subdir="build-${build_noncanonical}"
1633 # Check whether --with-build-libsubdir or --without-build-libsubdir was given.
1634 if test "${with_build_libsubdir+set}" = set; then
1635 withval="$with_build_libsubdir"
1636 build_libsubdir="$withval"
1637 else
1638 build_libsubdir="$build_subdir"
1640 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
1641 if ( test $srcdir = . && test -d gcc ) \
1642 || test -d $srcdir/../host-${host_noncanonical}; then
1643 host_subdir="host-${host_noncanonical}"
1644 else
1645 host_subdir=.
1647 # No prefix.
1648 target_subdir=${target_noncanonical}
1651 if test -n "$ac_tool_prefix"; then
1652 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
1653 set dummy ${ac_tool_prefix}ar; ac_word=$2
1654 echo "$as_me:$LINENO: checking for $ac_word" >&5
1655 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1656 if test "${ac_cv_prog_AR+set}" = set; then
1657 echo $ECHO_N "(cached) $ECHO_C" >&6
1658 else
1659 if test -n "$AR"; then
1660 ac_cv_prog_AR="$AR" # Let the user override the test.
1661 else
1662 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1663 for as_dir in $PATH
1665 IFS=$as_save_IFS
1666 test -z "$as_dir" && as_dir=.
1667 for ac_exec_ext in '' $ac_executable_extensions; do
1668 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1669 ac_cv_prog_AR="${ac_tool_prefix}ar"
1670 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1671 break 2
1673 done
1674 done
1678 AR=$ac_cv_prog_AR
1679 if test -n "$AR"; then
1680 echo "$as_me:$LINENO: result: $AR" >&5
1681 echo "${ECHO_T}$AR" >&6
1682 else
1683 echo "$as_me:$LINENO: result: no" >&5
1684 echo "${ECHO_T}no" >&6
1688 if test -z "$ac_cv_prog_AR"; then
1689 ac_ct_AR=$AR
1690 # Extract the first word of "ar", so it can be a program name with args.
1691 set dummy ar; ac_word=$2
1692 echo "$as_me:$LINENO: checking for $ac_word" >&5
1693 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1694 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
1695 echo $ECHO_N "(cached) $ECHO_C" >&6
1696 else
1697 if test -n "$ac_ct_AR"; then
1698 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
1699 else
1700 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1701 for as_dir in $PATH
1703 IFS=$as_save_IFS
1704 test -z "$as_dir" && as_dir=.
1705 for ac_exec_ext in '' $ac_executable_extensions; do
1706 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1707 ac_cv_prog_ac_ct_AR="ar"
1708 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1709 break 2
1711 done
1712 done
1716 ac_ct_AR=$ac_cv_prog_ac_ct_AR
1717 if test -n "$ac_ct_AR"; then
1718 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
1719 echo "${ECHO_T}$ac_ct_AR" >&6
1720 else
1721 echo "$as_me:$LINENO: result: no" >&5
1722 echo "${ECHO_T}no" >&6
1725 AR=$ac_ct_AR
1726 else
1727 AR="$ac_cv_prog_AR"
1730 if test -n "$ac_tool_prefix"; then
1731 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
1732 set dummy ${ac_tool_prefix}lipo; ac_word=$2
1733 echo "$as_me:$LINENO: checking for $ac_word" >&5
1734 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1735 if test "${ac_cv_prog_LIPO+set}" = set; then
1736 echo $ECHO_N "(cached) $ECHO_C" >&6
1737 else
1738 if test -n "$LIPO"; then
1739 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
1740 else
1741 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1742 for as_dir in $PATH
1744 IFS=$as_save_IFS
1745 test -z "$as_dir" && as_dir=.
1746 for ac_exec_ext in '' $ac_executable_extensions; do
1747 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1748 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
1749 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1750 break 2
1752 done
1753 done
1757 LIPO=$ac_cv_prog_LIPO
1758 if test -n "$LIPO"; then
1759 echo "$as_me:$LINENO: result: $LIPO" >&5
1760 echo "${ECHO_T}$LIPO" >&6
1761 else
1762 echo "$as_me:$LINENO: result: no" >&5
1763 echo "${ECHO_T}no" >&6
1767 if test -z "$ac_cv_prog_LIPO"; then
1768 ac_ct_LIPO=$LIPO
1769 # Extract the first word of "lipo", so it can be a program name with args.
1770 set dummy lipo; ac_word=$2
1771 echo "$as_me:$LINENO: checking for $ac_word" >&5
1772 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1773 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
1774 echo $ECHO_N "(cached) $ECHO_C" >&6
1775 else
1776 if test -n "$ac_ct_LIPO"; then
1777 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
1778 else
1779 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1780 for as_dir in $PATH
1782 IFS=$as_save_IFS
1783 test -z "$as_dir" && as_dir=.
1784 for ac_exec_ext in '' $ac_executable_extensions; do
1785 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1786 ac_cv_prog_ac_ct_LIPO="lipo"
1787 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1788 break 2
1790 done
1791 done
1793 test -z "$ac_cv_prog_ac_ct_LIPO" && ac_cv_prog_ac_ct_LIPO=":"
1796 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
1797 if test -n "$ac_ct_LIPO"; then
1798 echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5
1799 echo "${ECHO_T}$ac_ct_LIPO" >&6
1800 else
1801 echo "$as_me:$LINENO: result: no" >&5
1802 echo "${ECHO_T}no" >&6
1805 LIPO=$ac_ct_LIPO
1806 else
1807 LIPO="$ac_cv_prog_LIPO"
1810 if test -n "$ac_tool_prefix"; then
1811 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
1812 set dummy ${ac_tool_prefix}nm; ac_word=$2
1813 echo "$as_me:$LINENO: checking for $ac_word" >&5
1814 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1815 if test "${ac_cv_prog_NM+set}" = set; then
1816 echo $ECHO_N "(cached) $ECHO_C" >&6
1817 else
1818 if test -n "$NM"; then
1819 ac_cv_prog_NM="$NM" # Let the user override the test.
1820 else
1821 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1822 for as_dir in $PATH
1824 IFS=$as_save_IFS
1825 test -z "$as_dir" && as_dir=.
1826 for ac_exec_ext in '' $ac_executable_extensions; do
1827 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1828 ac_cv_prog_NM="${ac_tool_prefix}nm"
1829 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1830 break 2
1832 done
1833 done
1837 NM=$ac_cv_prog_NM
1838 if test -n "$NM"; then
1839 echo "$as_me:$LINENO: result: $NM" >&5
1840 echo "${ECHO_T}$NM" >&6
1841 else
1842 echo "$as_me:$LINENO: result: no" >&5
1843 echo "${ECHO_T}no" >&6
1847 if test -z "$ac_cv_prog_NM"; then
1848 ac_ct_NM=$NM
1849 # Extract the first word of "nm", so it can be a program name with args.
1850 set dummy nm; ac_word=$2
1851 echo "$as_me:$LINENO: checking for $ac_word" >&5
1852 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1853 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
1854 echo $ECHO_N "(cached) $ECHO_C" >&6
1855 else
1856 if test -n "$ac_ct_NM"; then
1857 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
1858 else
1859 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1860 for as_dir in $PATH
1862 IFS=$as_save_IFS
1863 test -z "$as_dir" && as_dir=.
1864 for ac_exec_ext in '' $ac_executable_extensions; do
1865 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1866 ac_cv_prog_ac_ct_NM="nm"
1867 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1868 break 2
1870 done
1871 done
1875 ac_ct_NM=$ac_cv_prog_ac_ct_NM
1876 if test -n "$ac_ct_NM"; then
1877 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
1878 echo "${ECHO_T}$ac_ct_NM" >&6
1879 else
1880 echo "$as_me:$LINENO: result: no" >&5
1881 echo "${ECHO_T}no" >&6
1884 NM=$ac_ct_NM
1885 else
1886 NM="$ac_cv_prog_NM"
1889 if test -n "$ac_tool_prefix"; then
1890 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
1891 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
1892 echo "$as_me:$LINENO: checking for $ac_word" >&5
1893 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1894 if test "${ac_cv_prog_RANLIB+set}" = set; then
1895 echo $ECHO_N "(cached) $ECHO_C" >&6
1896 else
1897 if test -n "$RANLIB"; then
1898 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1899 else
1900 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1901 for as_dir in $PATH
1903 IFS=$as_save_IFS
1904 test -z "$as_dir" && as_dir=.
1905 for ac_exec_ext in '' $ac_executable_extensions; do
1906 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1907 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
1908 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1909 break 2
1911 done
1912 done
1916 RANLIB=$ac_cv_prog_RANLIB
1917 if test -n "$RANLIB"; then
1918 echo "$as_me:$LINENO: result: $RANLIB" >&5
1919 echo "${ECHO_T}$RANLIB" >&6
1920 else
1921 echo "$as_me:$LINENO: result: no" >&5
1922 echo "${ECHO_T}no" >&6
1926 if test -z "$ac_cv_prog_RANLIB"; then
1927 ac_ct_RANLIB=$RANLIB
1928 # Extract the first word of "ranlib", so it can be a program name with args.
1929 set dummy ranlib; ac_word=$2
1930 echo "$as_me:$LINENO: checking for $ac_word" >&5
1931 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1932 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
1933 echo $ECHO_N "(cached) $ECHO_C" >&6
1934 else
1935 if test -n "$ac_ct_RANLIB"; then
1936 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
1937 else
1938 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1939 for as_dir in $PATH
1941 IFS=$as_save_IFS
1942 test -z "$as_dir" && as_dir=.
1943 for ac_exec_ext in '' $ac_executable_extensions; do
1944 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1945 ac_cv_prog_ac_ct_RANLIB="ranlib"
1946 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1947 break 2
1949 done
1950 done
1952 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
1955 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
1956 if test -n "$ac_ct_RANLIB"; then
1957 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
1958 echo "${ECHO_T}$ac_ct_RANLIB" >&6
1959 else
1960 echo "$as_me:$LINENO: result: no" >&5
1961 echo "${ECHO_T}no" >&6
1964 RANLIB=$ac_ct_RANLIB
1965 else
1966 RANLIB="$ac_cv_prog_RANLIB"
1969 if test -n "$ac_tool_prefix"; then
1970 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1971 set dummy ${ac_tool_prefix}strip; ac_word=$2
1972 echo "$as_me:$LINENO: checking for $ac_word" >&5
1973 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1974 if test "${ac_cv_prog_STRIP+set}" = set; then
1975 echo $ECHO_N "(cached) $ECHO_C" >&6
1976 else
1977 if test -n "$STRIP"; then
1978 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1979 else
1980 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1981 for as_dir in $PATH
1983 IFS=$as_save_IFS
1984 test -z "$as_dir" && as_dir=.
1985 for ac_exec_ext in '' $ac_executable_extensions; do
1986 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1987 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1988 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1989 break 2
1991 done
1992 done
1996 STRIP=$ac_cv_prog_STRIP
1997 if test -n "$STRIP"; then
1998 echo "$as_me:$LINENO: result: $STRIP" >&5
1999 echo "${ECHO_T}$STRIP" >&6
2000 else
2001 echo "$as_me:$LINENO: result: no" >&5
2002 echo "${ECHO_T}no" >&6
2006 if test -z "$ac_cv_prog_STRIP"; then
2007 ac_ct_STRIP=$STRIP
2008 # Extract the first word of "strip", so it can be a program name with args.
2009 set dummy strip; ac_word=$2
2010 echo "$as_me:$LINENO: checking for $ac_word" >&5
2011 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2012 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2013 echo $ECHO_N "(cached) $ECHO_C" >&6
2014 else
2015 if test -n "$ac_ct_STRIP"; then
2016 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2017 else
2018 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2019 for as_dir in $PATH
2021 IFS=$as_save_IFS
2022 test -z "$as_dir" && as_dir=.
2023 for ac_exec_ext in '' $ac_executable_extensions; do
2024 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2025 ac_cv_prog_ac_ct_STRIP="strip"
2026 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2027 break 2
2029 done
2030 done
2032 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
2035 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2036 if test -n "$ac_ct_STRIP"; then
2037 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2038 echo "${ECHO_T}$ac_ct_STRIP" >&6
2039 else
2040 echo "$as_me:$LINENO: result: no" >&5
2041 echo "${ECHO_T}no" >&6
2044 STRIP=$ac_ct_STRIP
2045 else
2046 STRIP="$ac_cv_prog_STRIP"
2049 echo "$as_me:$LINENO: checking whether ln -s works" >&5
2050 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
2051 LN_S=$as_ln_s
2052 if test "$LN_S" = "ln -s"; then
2053 echo "$as_me:$LINENO: result: yes" >&5
2054 echo "${ECHO_T}yes" >&6
2055 else
2056 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
2057 echo "${ECHO_T}no, using $LN_S" >&6
2062 ac_ext=c
2063 ac_cpp='$CPP $CPPFLAGS'
2064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2067 if test -n "$ac_tool_prefix"; then
2068 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2069 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2070 echo "$as_me:$LINENO: checking for $ac_word" >&5
2071 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2072 if test "${ac_cv_prog_CC+set}" = set; then
2073 echo $ECHO_N "(cached) $ECHO_C" >&6
2074 else
2075 if test -n "$CC"; then
2076 ac_cv_prog_CC="$CC" # Let the user override the test.
2077 else
2078 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2079 for as_dir in $PATH
2081 IFS=$as_save_IFS
2082 test -z "$as_dir" && as_dir=.
2083 for ac_exec_ext in '' $ac_executable_extensions; do
2084 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2085 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2086 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2087 break 2
2089 done
2090 done
2094 CC=$ac_cv_prog_CC
2095 if test -n "$CC"; then
2096 echo "$as_me:$LINENO: result: $CC" >&5
2097 echo "${ECHO_T}$CC" >&6
2098 else
2099 echo "$as_me:$LINENO: result: no" >&5
2100 echo "${ECHO_T}no" >&6
2104 if test -z "$ac_cv_prog_CC"; then
2105 ac_ct_CC=$CC
2106 # Extract the first word of "gcc", so it can be a program name with args.
2107 set dummy gcc; ac_word=$2
2108 echo "$as_me:$LINENO: checking for $ac_word" >&5
2109 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2110 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2111 echo $ECHO_N "(cached) $ECHO_C" >&6
2112 else
2113 if test -n "$ac_ct_CC"; then
2114 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2115 else
2116 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2117 for as_dir in $PATH
2119 IFS=$as_save_IFS
2120 test -z "$as_dir" && as_dir=.
2121 for ac_exec_ext in '' $ac_executable_extensions; do
2122 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2123 ac_cv_prog_ac_ct_CC="gcc"
2124 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2125 break 2
2127 done
2128 done
2132 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2133 if test -n "$ac_ct_CC"; then
2134 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2135 echo "${ECHO_T}$ac_ct_CC" >&6
2136 else
2137 echo "$as_me:$LINENO: result: no" >&5
2138 echo "${ECHO_T}no" >&6
2141 CC=$ac_ct_CC
2142 else
2143 CC="$ac_cv_prog_CC"
2146 if test -z "$CC"; then
2147 if test -n "$ac_tool_prefix"; then
2148 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2149 set dummy ${ac_tool_prefix}cc; ac_word=$2
2150 echo "$as_me:$LINENO: checking for $ac_word" >&5
2151 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2152 if test "${ac_cv_prog_CC+set}" = set; then
2153 echo $ECHO_N "(cached) $ECHO_C" >&6
2154 else
2155 if test -n "$CC"; then
2156 ac_cv_prog_CC="$CC" # Let the user override the test.
2157 else
2158 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2159 for as_dir in $PATH
2161 IFS=$as_save_IFS
2162 test -z "$as_dir" && as_dir=.
2163 for ac_exec_ext in '' $ac_executable_extensions; do
2164 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2165 ac_cv_prog_CC="${ac_tool_prefix}cc"
2166 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2167 break 2
2169 done
2170 done
2174 CC=$ac_cv_prog_CC
2175 if test -n "$CC"; then
2176 echo "$as_me:$LINENO: result: $CC" >&5
2177 echo "${ECHO_T}$CC" >&6
2178 else
2179 echo "$as_me:$LINENO: result: no" >&5
2180 echo "${ECHO_T}no" >&6
2184 if test -z "$ac_cv_prog_CC"; then
2185 ac_ct_CC=$CC
2186 # Extract the first word of "cc", so it can be a program name with args.
2187 set dummy cc; ac_word=$2
2188 echo "$as_me:$LINENO: checking for $ac_word" >&5
2189 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2190 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2191 echo $ECHO_N "(cached) $ECHO_C" >&6
2192 else
2193 if test -n "$ac_ct_CC"; then
2194 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2195 else
2196 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2197 for as_dir in $PATH
2199 IFS=$as_save_IFS
2200 test -z "$as_dir" && as_dir=.
2201 for ac_exec_ext in '' $ac_executable_extensions; do
2202 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2203 ac_cv_prog_ac_ct_CC="cc"
2204 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2205 break 2
2207 done
2208 done
2212 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2213 if test -n "$ac_ct_CC"; then
2214 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2215 echo "${ECHO_T}$ac_ct_CC" >&6
2216 else
2217 echo "$as_me:$LINENO: result: no" >&5
2218 echo "${ECHO_T}no" >&6
2221 CC=$ac_ct_CC
2222 else
2223 CC="$ac_cv_prog_CC"
2227 if test -z "$CC"; then
2228 # Extract the first word of "cc", so it can be a program name with args.
2229 set dummy cc; ac_word=$2
2230 echo "$as_me:$LINENO: checking for $ac_word" >&5
2231 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2232 if test "${ac_cv_prog_CC+set}" = set; then
2233 echo $ECHO_N "(cached) $ECHO_C" >&6
2234 else
2235 if test -n "$CC"; then
2236 ac_cv_prog_CC="$CC" # Let the user override the test.
2237 else
2238 ac_prog_rejected=no
2239 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2240 for as_dir in $PATH
2242 IFS=$as_save_IFS
2243 test -z "$as_dir" && as_dir=.
2244 for ac_exec_ext in '' $ac_executable_extensions; do
2245 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2246 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2247 ac_prog_rejected=yes
2248 continue
2250 ac_cv_prog_CC="cc"
2251 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2252 break 2
2254 done
2255 done
2257 if test $ac_prog_rejected = yes; then
2258 # We found a bogon in the path, so make sure we never use it.
2259 set dummy $ac_cv_prog_CC
2260 shift
2261 if test $# != 0; then
2262 # We chose a different compiler from the bogus one.
2263 # However, it has the same basename, so the bogon will be chosen
2264 # first if we set CC to just the basename; use the full file name.
2265 shift
2266 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2271 CC=$ac_cv_prog_CC
2272 if test -n "$CC"; then
2273 echo "$as_me:$LINENO: result: $CC" >&5
2274 echo "${ECHO_T}$CC" >&6
2275 else
2276 echo "$as_me:$LINENO: result: no" >&5
2277 echo "${ECHO_T}no" >&6
2281 if test -z "$CC"; then
2282 if test -n "$ac_tool_prefix"; then
2283 for ac_prog in cl
2285 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2286 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2287 echo "$as_me:$LINENO: checking for $ac_word" >&5
2288 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2289 if test "${ac_cv_prog_CC+set}" = set; then
2290 echo $ECHO_N "(cached) $ECHO_C" >&6
2291 else
2292 if test -n "$CC"; then
2293 ac_cv_prog_CC="$CC" # Let the user override the test.
2294 else
2295 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2296 for as_dir in $PATH
2298 IFS=$as_save_IFS
2299 test -z "$as_dir" && as_dir=.
2300 for ac_exec_ext in '' $ac_executable_extensions; do
2301 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2302 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2303 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2304 break 2
2306 done
2307 done
2311 CC=$ac_cv_prog_CC
2312 if test -n "$CC"; then
2313 echo "$as_me:$LINENO: result: $CC" >&5
2314 echo "${ECHO_T}$CC" >&6
2315 else
2316 echo "$as_me:$LINENO: result: no" >&5
2317 echo "${ECHO_T}no" >&6
2320 test -n "$CC" && break
2321 done
2323 if test -z "$CC"; then
2324 ac_ct_CC=$CC
2325 for ac_prog in cl
2327 # Extract the first word of "$ac_prog", so it can be a program name with args.
2328 set dummy $ac_prog; ac_word=$2
2329 echo "$as_me:$LINENO: checking for $ac_word" >&5
2330 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2331 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2332 echo $ECHO_N "(cached) $ECHO_C" >&6
2333 else
2334 if test -n "$ac_ct_CC"; then
2335 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2336 else
2337 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2338 for as_dir in $PATH
2340 IFS=$as_save_IFS
2341 test -z "$as_dir" && as_dir=.
2342 for ac_exec_ext in '' $ac_executable_extensions; do
2343 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2344 ac_cv_prog_ac_ct_CC="$ac_prog"
2345 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2346 break 2
2348 done
2349 done
2353 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2354 if test -n "$ac_ct_CC"; then
2355 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2356 echo "${ECHO_T}$ac_ct_CC" >&6
2357 else
2358 echo "$as_me:$LINENO: result: no" >&5
2359 echo "${ECHO_T}no" >&6
2362 test -n "$ac_ct_CC" && break
2363 done
2365 CC=$ac_ct_CC
2371 test -z "$CC" && { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2372 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2373 { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2374 See \`config.log' for more details." >&5
2375 echo "$as_me: error: no acceptable C compiler found in \$PATH
2376 See \`config.log' for more details." >&2;}
2377 { (exit 1); exit 1; }; }; }
2379 # Provide some information about the compiler.
2380 echo "$as_me:$LINENO:" \
2381 "checking for C compiler version" >&5
2382 ac_compiler=`set X $ac_compile; echo $2`
2383 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2384 (eval $ac_compiler --version </dev/null >&5) 2>&5
2385 ac_status=$?
2386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2387 (exit $ac_status); }
2388 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2389 (eval $ac_compiler -v </dev/null >&5) 2>&5
2390 ac_status=$?
2391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2392 (exit $ac_status); }
2393 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2394 (eval $ac_compiler -V </dev/null >&5) 2>&5
2395 ac_status=$?
2396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2397 (exit $ac_status); }
2399 cat >conftest.$ac_ext <<_ACEOF
2400 /* confdefs.h. */
2401 _ACEOF
2402 cat confdefs.h >>conftest.$ac_ext
2403 cat >>conftest.$ac_ext <<_ACEOF
2404 /* end confdefs.h. */
2407 main ()
2411 return 0;
2413 _ACEOF
2414 # FIXME: Cleanup?
2415 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2416 (eval $ac_link) 2>&5
2417 ac_status=$?
2418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2419 (exit $ac_status); }; then
2420 gcc_no_link=no
2421 else
2422 gcc_no_link=yes
2425 if test x$gcc_no_link = xyes; then
2426 # Setting cross_compile will disable run tests; it will
2427 # also disable AC_CHECK_FILE but that's generally
2428 # correct if we can't link.
2429 cross_compiling=yes
2430 EXEEXT=
2431 else
2432 cat >conftest.$ac_ext <<_ACEOF
2433 /* confdefs.h. */
2434 _ACEOF
2435 cat confdefs.h >>conftest.$ac_ext
2436 cat >>conftest.$ac_ext <<_ACEOF
2437 /* end confdefs.h. */
2440 main ()
2444 return 0;
2446 _ACEOF
2447 ac_clean_files_save=$ac_clean_files
2448 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2449 # Try to create an executable without -o first, disregard a.out.
2450 # It will help us diagnose broken compilers, and finding out an intuition
2451 # of exeext.
2452 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2453 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2454 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2455 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2456 (eval $ac_link_default) 2>&5
2457 ac_status=$?
2458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2459 (exit $ac_status); }; then
2460 # Find the output, starting from the most likely. This scheme is
2461 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2462 # resort.
2464 # Be careful to initialize this variable, since it used to be cached.
2465 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2466 ac_cv_exeext=
2467 # b.out is created by i960 compilers.
2468 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2470 test -f "$ac_file" || continue
2471 case $ac_file in
2472 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2474 conftest.$ac_ext )
2475 # This is the source file.
2477 [ab].out )
2478 # We found the default executable, but exeext='' is most
2479 # certainly right.
2480 break;;
2481 *.* )
2482 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2483 # FIXME: I believe we export ac_cv_exeext for Libtool,
2484 # but it would be cool to find out if it's true. Does anybody
2485 # maintain Libtool? --akim.
2486 export ac_cv_exeext
2487 break;;
2489 break;;
2490 esac
2491 done
2492 else
2493 echo "$as_me: failed program was:" >&5
2494 sed 's/^/| /' conftest.$ac_ext >&5
2496 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2497 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2498 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2499 See \`config.log' for more details." >&5
2500 echo "$as_me: error: C compiler cannot create executables
2501 See \`config.log' for more details." >&2;}
2502 { (exit 77); exit 77; }; }; }
2505 ac_exeext=$ac_cv_exeext
2506 echo "$as_me:$LINENO: result: $ac_file" >&5
2507 echo "${ECHO_T}$ac_file" >&6
2509 # Check the compiler produces executables we can run. If not, either
2510 # the compiler is broken, or we cross compile.
2511 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2512 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2513 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2514 # If not cross compiling, check that we can run a simple program.
2515 if test "$cross_compiling" != yes; then
2516 if { ac_try='./$ac_file'
2517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2518 (eval $ac_try) 2>&5
2519 ac_status=$?
2520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2521 (exit $ac_status); }; }; then
2522 cross_compiling=no
2523 else
2524 if test "$cross_compiling" = maybe; then
2525 cross_compiling=yes
2526 else
2527 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2528 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2529 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2530 If you meant to cross compile, use \`--host'.
2531 See \`config.log' for more details." >&5
2532 echo "$as_me: error: cannot run C compiled programs.
2533 If you meant to cross compile, use \`--host'.
2534 See \`config.log' for more details." >&2;}
2535 { (exit 1); exit 1; }; }; }
2539 echo "$as_me:$LINENO: result: yes" >&5
2540 echo "${ECHO_T}yes" >&6
2542 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2543 ac_clean_files=$ac_clean_files_save
2544 # Check the compiler produces executables we can run. If not, either
2545 # the compiler is broken, or we cross compile.
2546 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2547 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2548 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2549 echo "${ECHO_T}$cross_compiling" >&6
2551 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2552 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2553 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2554 (eval $ac_link) 2>&5
2555 ac_status=$?
2556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2557 (exit $ac_status); }; then
2558 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2559 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2560 # work properly (i.e., refer to `conftest.exe'), while it won't with
2561 # `rm'.
2562 for ac_file in conftest.exe conftest conftest.*; do
2563 test -f "$ac_file" || continue
2564 case $ac_file in
2565 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2566 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2567 export ac_cv_exeext
2568 break;;
2569 * ) break;;
2570 esac
2571 done
2572 else
2573 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2574 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2575 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2576 See \`config.log' for more details." >&5
2577 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2578 See \`config.log' for more details." >&2;}
2579 { (exit 1); exit 1; }; }; }
2582 rm -f conftest$ac_cv_exeext
2583 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2584 echo "${ECHO_T}$ac_cv_exeext" >&6
2586 rm -f conftest.$ac_ext
2587 EXEEXT=$ac_cv_exeext
2588 ac_exeext=$EXEEXT
2590 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2591 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2592 if test "${ac_cv_objext+set}" = set; then
2593 echo $ECHO_N "(cached) $ECHO_C" >&6
2594 else
2595 cat >conftest.$ac_ext <<_ACEOF
2596 /* confdefs.h. */
2597 _ACEOF
2598 cat confdefs.h >>conftest.$ac_ext
2599 cat >>conftest.$ac_ext <<_ACEOF
2600 /* end confdefs.h. */
2603 main ()
2607 return 0;
2609 _ACEOF
2610 rm -f conftest.o conftest.obj
2611 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2612 (eval $ac_compile) 2>&5
2613 ac_status=$?
2614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2615 (exit $ac_status); }; then
2616 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2617 case $ac_file in
2618 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2619 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2620 break;;
2621 esac
2622 done
2623 else
2624 echo "$as_me: failed program was:" >&5
2625 sed 's/^/| /' conftest.$ac_ext >&5
2627 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2628 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2629 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2630 See \`config.log' for more details." >&5
2631 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2632 See \`config.log' for more details." >&2;}
2633 { (exit 1); exit 1; }; }; }
2636 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2638 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2639 echo "${ECHO_T}$ac_cv_objext" >&6
2640 OBJEXT=$ac_cv_objext
2641 ac_objext=$OBJEXT
2642 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2643 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2644 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2645 echo $ECHO_N "(cached) $ECHO_C" >&6
2646 else
2647 cat >conftest.$ac_ext <<_ACEOF
2648 /* confdefs.h. */
2649 _ACEOF
2650 cat confdefs.h >>conftest.$ac_ext
2651 cat >>conftest.$ac_ext <<_ACEOF
2652 /* end confdefs.h. */
2655 main ()
2657 #ifndef __GNUC__
2658 choke me
2659 #endif
2662 return 0;
2664 _ACEOF
2665 rm -f conftest.$ac_objext
2666 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2667 (eval $ac_compile) 2>conftest.er1
2668 ac_status=$?
2669 grep -v '^ *+' conftest.er1 >conftest.err
2670 rm -f conftest.er1
2671 cat conftest.err >&5
2672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2673 (exit $ac_status); } &&
2674 { ac_try='test -z "$ac_c_werror_flag"
2675 || test ! -s conftest.err'
2676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2677 (eval $ac_try) 2>&5
2678 ac_status=$?
2679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2680 (exit $ac_status); }; } &&
2681 { ac_try='test -s conftest.$ac_objext'
2682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2683 (eval $ac_try) 2>&5
2684 ac_status=$?
2685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2686 (exit $ac_status); }; }; then
2687 ac_compiler_gnu=yes
2688 else
2689 echo "$as_me: failed program was:" >&5
2690 sed 's/^/| /' conftest.$ac_ext >&5
2692 ac_compiler_gnu=no
2694 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2695 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2698 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2699 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2700 GCC=`test $ac_compiler_gnu = yes && echo yes`
2701 ac_test_CFLAGS=${CFLAGS+set}
2702 ac_save_CFLAGS=$CFLAGS
2703 CFLAGS="-g"
2704 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2705 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2706 if test "${ac_cv_prog_cc_g+set}" = set; then
2707 echo $ECHO_N "(cached) $ECHO_C" >&6
2708 else
2709 cat >conftest.$ac_ext <<_ACEOF
2710 /* confdefs.h. */
2711 _ACEOF
2712 cat confdefs.h >>conftest.$ac_ext
2713 cat >>conftest.$ac_ext <<_ACEOF
2714 /* end confdefs.h. */
2717 main ()
2721 return 0;
2723 _ACEOF
2724 rm -f conftest.$ac_objext
2725 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2726 (eval $ac_compile) 2>conftest.er1
2727 ac_status=$?
2728 grep -v '^ *+' conftest.er1 >conftest.err
2729 rm -f conftest.er1
2730 cat conftest.err >&5
2731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2732 (exit $ac_status); } &&
2733 { ac_try='test -z "$ac_c_werror_flag"
2734 || test ! -s conftest.err'
2735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2736 (eval $ac_try) 2>&5
2737 ac_status=$?
2738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2739 (exit $ac_status); }; } &&
2740 { ac_try='test -s conftest.$ac_objext'
2741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2742 (eval $ac_try) 2>&5
2743 ac_status=$?
2744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2745 (exit $ac_status); }; }; then
2746 ac_cv_prog_cc_g=yes
2747 else
2748 echo "$as_me: failed program was:" >&5
2749 sed 's/^/| /' conftest.$ac_ext >&5
2751 ac_cv_prog_cc_g=no
2753 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2755 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2756 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2757 if test "$ac_test_CFLAGS" = set; then
2758 CFLAGS=$ac_save_CFLAGS
2759 elif test $ac_cv_prog_cc_g = yes; then
2760 if test "$GCC" = yes; then
2761 CFLAGS="-g -O2"
2762 else
2763 CFLAGS="-g"
2765 else
2766 if test "$GCC" = yes; then
2767 CFLAGS="-O2"
2768 else
2769 CFLAGS=
2772 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2773 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2774 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2775 echo $ECHO_N "(cached) $ECHO_C" >&6
2776 else
2777 ac_cv_prog_cc_stdc=no
2778 ac_save_CC=$CC
2779 cat >conftest.$ac_ext <<_ACEOF
2780 /* confdefs.h. */
2781 _ACEOF
2782 cat confdefs.h >>conftest.$ac_ext
2783 cat >>conftest.$ac_ext <<_ACEOF
2784 /* end confdefs.h. */
2785 #include <stdarg.h>
2786 #include <stdio.h>
2787 #include <sys/types.h>
2788 #include <sys/stat.h>
2789 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2790 struct buf { int x; };
2791 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2792 static char *e (p, i)
2793 char **p;
2794 int i;
2796 return p[i];
2798 static char *f (char * (*g) (char **, int), char **p, ...)
2800 char *s;
2801 va_list v;
2802 va_start (v,p);
2803 s = g (p, va_arg (v,int));
2804 va_end (v);
2805 return s;
2808 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2809 function prototypes and stuff, but not '\xHH' hex character constants.
2810 These don't provoke an error unfortunately, instead are silently treated
2811 as 'x'. The following induces an error, until -std1 is added to get
2812 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2813 array size at least. It's necessary to write '\x00'==0 to get something
2814 that's true only with -std1. */
2815 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2817 int test (int i, double x);
2818 struct s1 {int (*f) (int a);};
2819 struct s2 {int (*f) (double a);};
2820 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2821 int argc;
2822 char **argv;
2824 main ()
2826 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2828 return 0;
2830 _ACEOF
2831 # Don't try gcc -ansi; that turns off useful extensions and
2832 # breaks some systems' header files.
2833 # AIX -qlanglvl=ansi
2834 # Ultrix and OSF/1 -std1
2835 # HP-UX 10.20 and later -Ae
2836 # HP-UX older versions -Aa -D_HPUX_SOURCE
2837 # SVR4 -Xc -D__EXTENSIONS__
2838 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2840 CC="$ac_save_CC $ac_arg"
2841 rm -f conftest.$ac_objext
2842 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2843 (eval $ac_compile) 2>conftest.er1
2844 ac_status=$?
2845 grep -v '^ *+' conftest.er1 >conftest.err
2846 rm -f conftest.er1
2847 cat conftest.err >&5
2848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2849 (exit $ac_status); } &&
2850 { ac_try='test -z "$ac_c_werror_flag"
2851 || test ! -s conftest.err'
2852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2853 (eval $ac_try) 2>&5
2854 ac_status=$?
2855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2856 (exit $ac_status); }; } &&
2857 { ac_try='test -s conftest.$ac_objext'
2858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2859 (eval $ac_try) 2>&5
2860 ac_status=$?
2861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2862 (exit $ac_status); }; }; then
2863 ac_cv_prog_cc_stdc=$ac_arg
2864 break
2865 else
2866 echo "$as_me: failed program was:" >&5
2867 sed 's/^/| /' conftest.$ac_ext >&5
2870 rm -f conftest.err conftest.$ac_objext
2871 done
2872 rm -f conftest.$ac_ext conftest.$ac_objext
2873 CC=$ac_save_CC
2877 case "x$ac_cv_prog_cc_stdc" in
2878 x|xno)
2879 echo "$as_me:$LINENO: result: none needed" >&5
2880 echo "${ECHO_T}none needed" >&6 ;;
2882 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2883 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2884 CC="$CC $ac_cv_prog_cc_stdc" ;;
2885 esac
2887 # Some people use a C++ compiler to compile C. Since we use `exit',
2888 # in C++ we need to declare it. In case someone uses the same compiler
2889 # for both compiling C and C++ we need to have the C++ compiler decide
2890 # the declaration of exit, since it's the most demanding environment.
2891 cat >conftest.$ac_ext <<_ACEOF
2892 #ifndef __cplusplus
2893 choke me
2894 #endif
2895 _ACEOF
2896 rm -f conftest.$ac_objext
2897 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2898 (eval $ac_compile) 2>conftest.er1
2899 ac_status=$?
2900 grep -v '^ *+' conftest.er1 >conftest.err
2901 rm -f conftest.er1
2902 cat conftest.err >&5
2903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2904 (exit $ac_status); } &&
2905 { ac_try='test -z "$ac_c_werror_flag"
2906 || test ! -s conftest.err'
2907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2908 (eval $ac_try) 2>&5
2909 ac_status=$?
2910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2911 (exit $ac_status); }; } &&
2912 { ac_try='test -s conftest.$ac_objext'
2913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2914 (eval $ac_try) 2>&5
2915 ac_status=$?
2916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2917 (exit $ac_status); }; }; then
2918 for ac_declaration in \
2919 '' \
2920 'extern "C" void std::exit (int) throw (); using std::exit;' \
2921 'extern "C" void std::exit (int); using std::exit;' \
2922 'extern "C" void exit (int) throw ();' \
2923 'extern "C" void exit (int);' \
2924 'void exit (int);'
2926 cat >conftest.$ac_ext <<_ACEOF
2927 /* confdefs.h. */
2928 _ACEOF
2929 cat confdefs.h >>conftest.$ac_ext
2930 cat >>conftest.$ac_ext <<_ACEOF
2931 /* end confdefs.h. */
2932 $ac_declaration
2933 #include <stdlib.h>
2935 main ()
2937 exit (42);
2939 return 0;
2941 _ACEOF
2942 rm -f conftest.$ac_objext
2943 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2944 (eval $ac_compile) 2>conftest.er1
2945 ac_status=$?
2946 grep -v '^ *+' conftest.er1 >conftest.err
2947 rm -f conftest.er1
2948 cat conftest.err >&5
2949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2950 (exit $ac_status); } &&
2951 { ac_try='test -z "$ac_c_werror_flag"
2952 || test ! -s conftest.err'
2953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2954 (eval $ac_try) 2>&5
2955 ac_status=$?
2956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2957 (exit $ac_status); }; } &&
2958 { ac_try='test -s conftest.$ac_objext'
2959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2960 (eval $ac_try) 2>&5
2961 ac_status=$?
2962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2963 (exit $ac_status); }; }; then
2965 else
2966 echo "$as_me: failed program was:" >&5
2967 sed 's/^/| /' conftest.$ac_ext >&5
2969 continue
2971 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2972 cat >conftest.$ac_ext <<_ACEOF
2973 /* confdefs.h. */
2974 _ACEOF
2975 cat confdefs.h >>conftest.$ac_ext
2976 cat >>conftest.$ac_ext <<_ACEOF
2977 /* end confdefs.h. */
2978 $ac_declaration
2980 main ()
2982 exit (42);
2984 return 0;
2986 _ACEOF
2987 rm -f conftest.$ac_objext
2988 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2989 (eval $ac_compile) 2>conftest.er1
2990 ac_status=$?
2991 grep -v '^ *+' conftest.er1 >conftest.err
2992 rm -f conftest.er1
2993 cat conftest.err >&5
2994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2995 (exit $ac_status); } &&
2996 { ac_try='test -z "$ac_c_werror_flag"
2997 || test ! -s conftest.err'
2998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2999 (eval $ac_try) 2>&5
3000 ac_status=$?
3001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3002 (exit $ac_status); }; } &&
3003 { ac_try='test -s conftest.$ac_objext'
3004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3005 (eval $ac_try) 2>&5
3006 ac_status=$?
3007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3008 (exit $ac_status); }; }; then
3009 break
3010 else
3011 echo "$as_me: failed program was:" >&5
3012 sed 's/^/| /' conftest.$ac_ext >&5
3015 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3016 done
3017 rm -f conftest*
3018 if test -n "$ac_declaration"; then
3019 echo '#ifdef __cplusplus' >>confdefs.h
3020 echo $ac_declaration >>confdefs.h
3021 echo '#endif' >>confdefs.h
3024 else
3025 echo "$as_me: failed program was:" >&5
3026 sed 's/^/| /' conftest.$ac_ext >&5
3029 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3030 ac_ext=c
3031 ac_cpp='$CPP $CPPFLAGS'
3032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3036 ac_ext=c
3037 ac_cpp='$CPP $CPPFLAGS'
3038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3041 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3042 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3043 # On Suns, sometimes $CPP names a directory.
3044 if test -n "$CPP" && test -d "$CPP"; then
3045 CPP=
3047 if test -z "$CPP"; then
3048 if test "${ac_cv_prog_CPP+set}" = set; then
3049 echo $ECHO_N "(cached) $ECHO_C" >&6
3050 else
3051 # Double quotes because CPP needs to be expanded
3052 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3054 ac_preproc_ok=false
3055 for ac_c_preproc_warn_flag in '' yes
3057 # Use a header file that comes with gcc, so configuring glibc
3058 # with a fresh cross-compiler works.
3059 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3060 # <limits.h> exists even on freestanding compilers.
3061 # On the NeXT, cc -E runs the code through the compiler's parser,
3062 # not just through cpp. "Syntax error" is here to catch this case.
3063 cat >conftest.$ac_ext <<_ACEOF
3064 /* confdefs.h. */
3065 _ACEOF
3066 cat confdefs.h >>conftest.$ac_ext
3067 cat >>conftest.$ac_ext <<_ACEOF
3068 /* end confdefs.h. */
3069 #ifdef __STDC__
3070 # include <limits.h>
3071 #else
3072 # include <assert.h>
3073 #endif
3074 Syntax error
3075 _ACEOF
3076 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3077 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3078 ac_status=$?
3079 grep -v '^ *+' conftest.er1 >conftest.err
3080 rm -f conftest.er1
3081 cat conftest.err >&5
3082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3083 (exit $ac_status); } >/dev/null; then
3084 if test -s conftest.err; then
3085 ac_cpp_err=$ac_c_preproc_warn_flag
3086 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3087 else
3088 ac_cpp_err=
3090 else
3091 ac_cpp_err=yes
3093 if test -z "$ac_cpp_err"; then
3095 else
3096 echo "$as_me: failed program was:" >&5
3097 sed 's/^/| /' conftest.$ac_ext >&5
3099 # Broken: fails on valid input.
3100 continue
3102 rm -f conftest.err conftest.$ac_ext
3104 # OK, works on sane cases. Now check whether non-existent headers
3105 # can be detected and how.
3106 cat >conftest.$ac_ext <<_ACEOF
3107 /* confdefs.h. */
3108 _ACEOF
3109 cat confdefs.h >>conftest.$ac_ext
3110 cat >>conftest.$ac_ext <<_ACEOF
3111 /* end confdefs.h. */
3112 #include <ac_nonexistent.h>
3113 _ACEOF
3114 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3115 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3116 ac_status=$?
3117 grep -v '^ *+' conftest.er1 >conftest.err
3118 rm -f conftest.er1
3119 cat conftest.err >&5
3120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3121 (exit $ac_status); } >/dev/null; then
3122 if test -s conftest.err; then
3123 ac_cpp_err=$ac_c_preproc_warn_flag
3124 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3125 else
3126 ac_cpp_err=
3128 else
3129 ac_cpp_err=yes
3131 if test -z "$ac_cpp_err"; then
3132 # Broken: success on invalid input.
3133 continue
3134 else
3135 echo "$as_me: failed program was:" >&5
3136 sed 's/^/| /' conftest.$ac_ext >&5
3138 # Passes both tests.
3139 ac_preproc_ok=:
3140 break
3142 rm -f conftest.err conftest.$ac_ext
3144 done
3145 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3146 rm -f conftest.err conftest.$ac_ext
3147 if $ac_preproc_ok; then
3148 break
3151 done
3152 ac_cv_prog_CPP=$CPP
3155 CPP=$ac_cv_prog_CPP
3156 else
3157 ac_cv_prog_CPP=$CPP
3159 echo "$as_me:$LINENO: result: $CPP" >&5
3160 echo "${ECHO_T}$CPP" >&6
3161 ac_preproc_ok=false
3162 for ac_c_preproc_warn_flag in '' yes
3164 # Use a header file that comes with gcc, so configuring glibc
3165 # with a fresh cross-compiler works.
3166 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3167 # <limits.h> exists even on freestanding compilers.
3168 # On the NeXT, cc -E runs the code through the compiler's parser,
3169 # not just through cpp. "Syntax error" is here to catch this case.
3170 cat >conftest.$ac_ext <<_ACEOF
3171 /* confdefs.h. */
3172 _ACEOF
3173 cat confdefs.h >>conftest.$ac_ext
3174 cat >>conftest.$ac_ext <<_ACEOF
3175 /* end confdefs.h. */
3176 #ifdef __STDC__
3177 # include <limits.h>
3178 #else
3179 # include <assert.h>
3180 #endif
3181 Syntax error
3182 _ACEOF
3183 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3184 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3185 ac_status=$?
3186 grep -v '^ *+' conftest.er1 >conftest.err
3187 rm -f conftest.er1
3188 cat conftest.err >&5
3189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3190 (exit $ac_status); } >/dev/null; then
3191 if test -s conftest.err; then
3192 ac_cpp_err=$ac_c_preproc_warn_flag
3193 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3194 else
3195 ac_cpp_err=
3197 else
3198 ac_cpp_err=yes
3200 if test -z "$ac_cpp_err"; then
3202 else
3203 echo "$as_me: failed program was:" >&5
3204 sed 's/^/| /' conftest.$ac_ext >&5
3206 # Broken: fails on valid input.
3207 continue
3209 rm -f conftest.err conftest.$ac_ext
3211 # OK, works on sane cases. Now check whether non-existent headers
3212 # can be detected and how.
3213 cat >conftest.$ac_ext <<_ACEOF
3214 /* confdefs.h. */
3215 _ACEOF
3216 cat confdefs.h >>conftest.$ac_ext
3217 cat >>conftest.$ac_ext <<_ACEOF
3218 /* end confdefs.h. */
3219 #include <ac_nonexistent.h>
3220 _ACEOF
3221 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3222 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3223 ac_status=$?
3224 grep -v '^ *+' conftest.er1 >conftest.err
3225 rm -f conftest.er1
3226 cat conftest.err >&5
3227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3228 (exit $ac_status); } >/dev/null; then
3229 if test -s conftest.err; then
3230 ac_cpp_err=$ac_c_preproc_warn_flag
3231 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3232 else
3233 ac_cpp_err=
3235 else
3236 ac_cpp_err=yes
3238 if test -z "$ac_cpp_err"; then
3239 # Broken: success on invalid input.
3240 continue
3241 else
3242 echo "$as_me: failed program was:" >&5
3243 sed 's/^/| /' conftest.$ac_ext >&5
3245 # Passes both tests.
3246 ac_preproc_ok=:
3247 break
3249 rm -f conftest.err conftest.$ac_ext
3251 done
3252 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3253 rm -f conftest.err conftest.$ac_ext
3254 if $ac_preproc_ok; then
3256 else
3257 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3258 echo "$as_me: error: in \`$ac_pwd':" >&2;}
3259 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3260 See \`config.log' for more details." >&5
3261 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3262 See \`config.log' for more details." >&2;}
3263 { (exit 1); exit 1; }; }; }
3266 ac_ext=c
3267 ac_cpp='$CPP $CPPFLAGS'
3268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3273 ac_c_preproc_warn_flag=yes
3275 # Check for decimal float support.
3277 echo "$as_me:$LINENO: checking whether decimal floating point is supported" >&5
3278 echo $ECHO_N "checking whether decimal floating point is supported... $ECHO_C" >&6
3279 if test "${libgcc_cv_dfp+set}" = set; then
3280 echo $ECHO_N "(cached) $ECHO_C" >&6
3281 else
3282 cat >conftest.$ac_ext <<_ACEOF
3283 _Decimal32 x;
3284 _ACEOF
3285 rm -f conftest.$ac_objext
3286 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3287 (eval $ac_compile) 2>conftest.er1
3288 ac_status=$?
3289 grep -v '^ *+' conftest.er1 >conftest.err
3290 rm -f conftest.er1
3291 cat conftest.err >&5
3292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3293 (exit $ac_status); } &&
3294 { ac_try='test -z "$ac_c_werror_flag"
3295 || test ! -s conftest.err'
3296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3297 (eval $ac_try) 2>&5
3298 ac_status=$?
3299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3300 (exit $ac_status); }; } &&
3301 { ac_try='test -s conftest.$ac_objext'
3302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3303 (eval $ac_try) 2>&5
3304 ac_status=$?
3305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3306 (exit $ac_status); }; }; then
3307 libgcc_cv_dfp=yes
3308 else
3309 echo "$as_me: failed program was:" >&5
3310 sed 's/^/| /' conftest.$ac_ext >&5
3312 libgcc_cv_dfp=no
3314 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3316 echo "$as_me:$LINENO: result: $libgcc_cv_dfp" >&5
3317 echo "${ECHO_T}$libgcc_cv_dfp" >&6
3318 decimal_float=$libgcc_cv_dfp
3321 # Check whether --enable-decimal-float or --disable-decimal-float was given.
3322 if test "${enable_decimal_float+set}" = set; then
3323 enableval="$enable_decimal_float"
3325 case $enable_decimal_float in
3326 yes | no | bid | dpd) ;;
3327 *) { { echo "$as_me:$LINENO: error: '$enable_decimal_float' is an invalid value for --enable-decimal-float.
3328 Valid choices are 'yes', 'bid', 'dpd', and 'no'." >&5
3329 echo "$as_me: error: '$enable_decimal_float' is an invalid value for --enable-decimal-float.
3330 Valid choices are 'yes', 'bid', 'dpd', and 'no'." >&2;}
3331 { (exit 1); exit 1; }; } ;;
3332 esac
3334 else
3336 case $host in
3337 powerpc*-*-linux* | i?86*-*-linux* | x86_64*-*-linux*)
3338 enable_decimal_float=yes
3341 enable_decimal_float=no
3343 esac
3347 # x86's use BID format instead of DPD
3348 if test x$enable_decimal_float = xyes; then
3349 case $host in
3350 i?86*-*-linux* | x86_64*-*-linux*)
3351 enable_decimal_float=bid
3354 enable_decimal_float=dpd
3356 esac
3360 # Check for fixed-point support.
3361 echo "$as_me:$LINENO: checking whether fixed-point is supported" >&5
3362 echo $ECHO_N "checking whether fixed-point is supported... $ECHO_C" >&6
3363 if test "${libgcc_cv_fixed_point+set}" = set; then
3364 echo $ECHO_N "(cached) $ECHO_C" >&6
3365 else
3366 cat >conftest.$ac_ext <<_ACEOF
3367 _Sat _Fract x;
3368 _ACEOF
3369 rm -f conftest.$ac_objext
3370 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3371 (eval $ac_compile) 2>conftest.er1
3372 ac_status=$?
3373 grep -v '^ *+' conftest.er1 >conftest.err
3374 rm -f conftest.er1
3375 cat conftest.err >&5
3376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3377 (exit $ac_status); } &&
3378 { ac_try='test -z "$ac_c_werror_flag"
3379 || test ! -s conftest.err'
3380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3381 (eval $ac_try) 2>&5
3382 ac_status=$?
3383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3384 (exit $ac_status); }; } &&
3385 { ac_try='test -s conftest.$ac_objext'
3386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3387 (eval $ac_try) 2>&5
3388 ac_status=$?
3389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3390 (exit $ac_status); }; }; then
3391 libgcc_cv_fixed_point=yes
3392 else
3393 echo "$as_me: failed program was:" >&5
3394 sed 's/^/| /' conftest.$ac_ext >&5
3396 libgcc_cv_fixed_point=no
3398 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3400 echo "$as_me:$LINENO: result: $libgcc_cv_fixed_point" >&5
3401 echo "${ECHO_T}$libgcc_cv_fixed_point" >&6
3402 fixed_point=$libgcc_cv_fixed_point
3405 # Check 32bit or 64bit for x86.
3406 case ${host} in
3407 i?86*-*-* | x86_64*-*-*)
3408 cat > conftest.c <<EOF
3409 #ifdef __x86_64__
3410 host_address=64
3411 #else
3412 host_address=32
3413 #endif
3415 eval `${CC-cc} -E conftest.c | grep host_address=`
3416 rm -f conftest.c
3418 esac
3420 # Collect host-machine-specific information.
3421 . ${srcdir}/config.host
3423 # Check for visibility support. This is after config.host so that
3424 # we can check for asm_hidden_op.
3425 echo "$as_me:$LINENO: checking for __attribute__((visibility(\"hidden\")))" >&5
3426 echo $ECHO_N "checking for __attribute__((visibility(\"hidden\")))... $ECHO_C" >&6
3427 if test "${libgcc_cv_hidden_visibility_attribute+set}" = set; then
3428 echo $ECHO_N "(cached) $ECHO_C" >&6
3429 else
3431 echo 'int __attribute__ ((visibility ("hidden"))) foo (void) { return 1; }' > conftest.c
3432 libgcc_cv_hidden_visibility_attribute=no
3433 if { ac_try='${CC-cc} -Werror -S conftest.c -o conftest.s 1>&5'
3434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3435 (eval $ac_try) 2>&5
3436 ac_status=$?
3437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3438 (exit $ac_status); }; }; then
3439 if grep "\\$asm_hidden_op.*foo" conftest.s >/dev/null; then
3440 libgcc_cv_hidden_visibility_attribute=yes
3443 rm -f conftest.*
3446 echo "$as_me:$LINENO: result: $libgcc_cv_hidden_visibility_attribute" >&5
3447 echo "${ECHO_T}$libgcc_cv_hidden_visibility_attribute" >&6
3449 if test $libgcc_cv_hidden_visibility_attribute = yes; then
3450 vis_hide='-fvisibility=hidden -DHIDE_EXPORTS'
3451 else
3452 vis_hide=
3456 # See if we have thread-local storage. We can only test assembler
3457 # sicne link-time and run-time tests require the newly built
3458 # gcc, which can't be used to build executable due to that libgcc
3459 # is yet to be built here.
3461 # Check whether --enable-tls or --disable-tls was given.
3462 if test "${enable_tls+set}" = set; then
3463 enableval="$enable_tls"
3465 case "$enableval" in
3466 yes|no) ;;
3467 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable tls must be yes or no" >&5
3468 echo "$as_me: error: Argument to enable/disable tls must be yes or no" >&2;}
3469 { (exit 1); exit 1; }; } ;;
3470 esac
3472 else
3473 enable_tls=yes
3476 echo "$as_me:$LINENO: checking whether the target assembler supports thread-local storage" >&5
3477 echo $ECHO_N "checking whether the target assembler supports thread-local storage... $ECHO_C" >&6
3478 if test "${gcc_cv_have_cc_tls+set}" = set; then
3479 echo $ECHO_N "(cached) $ECHO_C" >&6
3480 else
3482 cat >conftest.$ac_ext <<_ACEOF
3483 __thread int a; int b; int main() { return a = b; }
3484 _ACEOF
3485 rm -f conftest.$ac_objext
3486 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3487 (eval $ac_compile) 2>conftest.er1
3488 ac_status=$?
3489 grep -v '^ *+' conftest.er1 >conftest.err
3490 rm -f conftest.er1
3491 cat conftest.err >&5
3492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3493 (exit $ac_status); } &&
3494 { ac_try='test -z "$ac_c_werror_flag"
3495 || test ! -s conftest.err'
3496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3497 (eval $ac_try) 2>&5
3498 ac_status=$?
3499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3500 (exit $ac_status); }; } &&
3501 { ac_try='test -s conftest.$ac_objext'
3502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3503 (eval $ac_try) 2>&5
3504 ac_status=$?
3505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3506 (exit $ac_status); }; }; then
3507 gcc_cv_have_cc_tls=yes
3508 else
3509 echo "$as_me: failed program was:" >&5
3510 sed 's/^/| /' conftest.$ac_ext >&5
3512 gcc_cv_have_cc_tls=no
3514 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3517 echo "$as_me:$LINENO: result: $gcc_cv_have_cc_tls" >&5
3518 echo "${ECHO_T}$gcc_cv_have_cc_tls" >&6
3519 set_have_cc_tls=
3520 if test "$enable_tls $gcc_cv_have_cc_tls" = "yes yes"; then
3521 set_have_cc_tls="-DHAVE_CC_TLS"
3525 # Conditionalize the makefile for this target machine.
3526 tmake_file_=
3527 for f in ${tmake_file}
3529 if test -f ${srcdir}/config/$f
3530 then
3531 tmake_file_="${tmake_file_} \$(srcdir)/config/$f"
3533 done
3534 tmake_file="${tmake_file_}"
3537 # Substitute configuration variables
3541 # We need multilib support.
3542 ac_config_files="$ac_config_files Makefile"
3544 ac_config_commands="$ac_config_commands default"
3546 cat >confcache <<\_ACEOF
3547 # This file is a shell script that caches the results of configure
3548 # tests run on this system so they can be shared between configure
3549 # scripts and configure runs, see configure's option --config-cache.
3550 # It is not useful on other systems. If it contains results you don't
3551 # want to keep, you may remove or edit it.
3553 # config.status only pays attention to the cache file if you give it
3554 # the --recheck option to rerun configure.
3556 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3557 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3558 # following values.
3560 _ACEOF
3562 # The following way of writing the cache mishandles newlines in values,
3563 # but we know of no workaround that is simple, portable, and efficient.
3564 # So, don't put newlines in cache variables' values.
3565 # Ultrix sh set writes to stderr and can't be redirected directly,
3566 # and sets the high bit in the cache file unless we assign to the vars.
3568 (set) 2>&1 |
3569 case `(ac_space=' '; set | grep ac_space) 2>&1` in
3570 *ac_space=\ *)
3571 # `set' does not quote correctly, so add quotes (double-quote
3572 # substitution turns \\\\ into \\, and sed turns \\ into \).
3573 sed -n \
3574 "s/'/'\\\\''/g;
3575 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3578 # `set' quotes correctly as required by POSIX, so do not add quotes.
3579 sed -n \
3580 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
3582 esac;
3584 sed '
3585 t clear
3586 : clear
3587 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3588 t end
3589 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3590 : end' >>confcache
3591 if diff $cache_file confcache >/dev/null 2>&1; then :; else
3592 if test -w $cache_file; then
3593 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
3594 cat confcache >$cache_file
3595 else
3596 echo "not updating unwritable cache $cache_file"
3599 rm -f confcache
3601 test "x$prefix" = xNONE && prefix=$ac_default_prefix
3602 # Let make expand exec_prefix.
3603 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3605 # VPATH may cause trouble with some makes, so we remove $(srcdir),
3606 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
3607 # trailing colons and then remove the whole line if VPATH becomes empty
3608 # (actually we leave an empty line to preserve line numbers).
3609 if test "x$srcdir" = x.; then
3610 ac_vpsub='/^[ ]*VPATH[ ]*=/{
3611 s/:*\$(srcdir):*/:/;
3612 s/:*\${srcdir}:*/:/;
3613 s/:*@srcdir@:*/:/;
3614 s/^\([^=]*=[ ]*\):*/\1/;
3615 s/:*$//;
3616 s/^[^=]*=[ ]*$//;
3620 # Transform confdefs.h into DEFS.
3621 # Protect against shell expansion while executing Makefile rules.
3622 # Protect against Makefile macro expansion.
3624 # If the first sed substitution is executed (which looks for macros that
3625 # take arguments), then we branch to the quote section. Otherwise,
3626 # look for a macro that doesn't take arguments.
3627 cat >confdef2opt.sed <<\_ACEOF
3628 t clear
3629 : clear
3630 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
3631 t quote
3632 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
3633 t quote
3635 : quote
3636 s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
3637 s,\[,\\&,g
3638 s,\],\\&,g
3639 s,\$,$$,g
3641 _ACEOF
3642 # We use echo to avoid assuming a particular line-breaking character.
3643 # The extra dot is to prevent the shell from consuming trailing
3644 # line-breaks from the sub-command output. A line-break within
3645 # single-quotes doesn't work because, if this script is created in a
3646 # platform that uses two characters for line-breaks (e.g., DOS), tr
3647 # would break.
3648 ac_LF_and_DOT=`echo; echo .`
3649 DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
3650 rm -f confdef2opt.sed
3653 ac_libobjs=
3654 ac_ltlibobjs=
3655 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3656 # 1. Remove the extension, and $U if already installed.
3657 ac_i=`echo "$ac_i" |
3658 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
3659 # 2. Add them.
3660 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
3661 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
3662 done
3663 LIBOBJS=$ac_libobjs
3665 LTLIBOBJS=$ac_ltlibobjs
3669 : ${CONFIG_STATUS=./config.status}
3670 ac_clean_files_save=$ac_clean_files
3671 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3672 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
3673 echo "$as_me: creating $CONFIG_STATUS" >&6;}
3674 cat >$CONFIG_STATUS <<_ACEOF
3675 #! $SHELL
3676 # Generated by $as_me.
3677 # Run this file to recreate the current configuration.
3678 # Compiler output produced by configure, useful for debugging
3679 # configure, is in config.log if it exists.
3681 debug=false
3682 ac_cs_recheck=false
3683 ac_cs_silent=false
3684 SHELL=\${CONFIG_SHELL-$SHELL}
3685 _ACEOF
3687 cat >>$CONFIG_STATUS <<\_ACEOF
3688 ## --------------------- ##
3689 ## M4sh Initialization. ##
3690 ## --------------------- ##
3692 # Be Bourne compatible
3693 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
3694 emulate sh
3695 NULLCMD=:
3696 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
3697 # is contrary to our usage. Disable this feature.
3698 alias -g '${1+"$@"}'='"$@"'
3699 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
3700 set -o posix
3702 DUALCASE=1; export DUALCASE # for MKS sh
3704 # Support unset when possible.
3705 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
3706 as_unset=unset
3707 else
3708 as_unset=false
3712 # Work around bugs in pre-3.0 UWIN ksh.
3713 $as_unset ENV MAIL MAILPATH
3714 PS1='$ '
3715 PS2='> '
3716 PS4='+ '
3718 # NLS nuisances.
3719 for as_var in \
3720 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
3721 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
3722 LC_TELEPHONE LC_TIME
3724 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
3725 eval $as_var=C; export $as_var
3726 else
3727 $as_unset $as_var
3729 done
3731 # Required to use basename.
3732 if expr a : '\(a\)' >/dev/null 2>&1; then
3733 as_expr=expr
3734 else
3735 as_expr=false
3738 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
3739 as_basename=basename
3740 else
3741 as_basename=false
3745 # Name of the executable.
3746 as_me=`$as_basename "$0" ||
3747 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3748 X"$0" : 'X\(//\)$' \| \
3749 X"$0" : 'X\(/\)$' \| \
3750 . : '\(.\)' 2>/dev/null ||
3751 echo X/"$0" |
3752 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
3753 /^X\/\(\/\/\)$/{ s//\1/; q; }
3754 /^X\/\(\/\).*/{ s//\1/; q; }
3755 s/.*/./; q'`
3758 # PATH needs CR, and LINENO needs CR and PATH.
3759 # Avoid depending upon Character Ranges.
3760 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3761 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3762 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3763 as_cr_digits='0123456789'
3764 as_cr_alnum=$as_cr_Letters$as_cr_digits
3766 # The user is always right.
3767 if test "${PATH_SEPARATOR+set}" != set; then
3768 echo "#! /bin/sh" >conf$$.sh
3769 echo "exit 0" >>conf$$.sh
3770 chmod +x conf$$.sh
3771 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
3772 PATH_SEPARATOR=';'
3773 else
3774 PATH_SEPARATOR=:
3776 rm -f conf$$.sh
3780 as_lineno_1=$LINENO
3781 as_lineno_2=$LINENO
3782 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
3783 test "x$as_lineno_1" != "x$as_lineno_2" &&
3784 test "x$as_lineno_3" = "x$as_lineno_2" || {
3785 # Find who we are. Look in the path if we contain no path at all
3786 # relative or not.
3787 case $0 in
3788 *[\\/]* ) as_myself=$0 ;;
3789 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3790 for as_dir in $PATH
3792 IFS=$as_save_IFS
3793 test -z "$as_dir" && as_dir=.
3794 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3795 done
3798 esac
3799 # We did not find ourselves, most probably we were run as `sh COMMAND'
3800 # in which case we are not to be found in the path.
3801 if test "x$as_myself" = x; then
3802 as_myself=$0
3804 if test ! -f "$as_myself"; then
3805 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
3806 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
3807 { (exit 1); exit 1; }; }
3809 case $CONFIG_SHELL in
3811 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3812 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
3814 IFS=$as_save_IFS
3815 test -z "$as_dir" && as_dir=.
3816 for as_base in sh bash ksh sh5; do
3817 case $as_dir in
3819 if ("$as_dir/$as_base" -c '
3820 as_lineno_1=$LINENO
3821 as_lineno_2=$LINENO
3822 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
3823 test "x$as_lineno_1" != "x$as_lineno_2" &&
3824 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
3825 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
3826 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
3827 CONFIG_SHELL=$as_dir/$as_base
3828 export CONFIG_SHELL
3829 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
3830 fi;;
3831 esac
3832 done
3833 done
3835 esac
3837 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
3838 # uniformly replaced by the line number. The first 'sed' inserts a
3839 # line-number line before each line; the second 'sed' does the real
3840 # work. The second script uses 'N' to pair each line-number line
3841 # with the numbered line, and appends trailing '-' during
3842 # substitution so that $LINENO is not a special case at line end.
3843 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
3844 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
3845 sed '=' <$as_myself |
3846 sed '
3848 s,$,-,
3849 : loop
3850 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
3851 t loop
3852 s,-$,,
3853 s,^['$as_cr_digits']*\n,,
3854 ' >$as_me.lineno &&
3855 chmod +x $as_me.lineno ||
3856 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
3857 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
3858 { (exit 1); exit 1; }; }
3860 # Don't try to exec as it changes $[0], causing all sort of problems
3861 # (the dirname of $[0] is not the place where we might find the
3862 # original and so on. Autoconf is especially sensible to this).
3863 . ./$as_me.lineno
3864 # Exit status is that of the last command.
3865 exit
3869 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
3870 *c*,-n*) ECHO_N= ECHO_C='
3871 ' ECHO_T=' ' ;;
3872 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
3873 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
3874 esac
3876 if expr a : '\(a\)' >/dev/null 2>&1; then
3877 as_expr=expr
3878 else
3879 as_expr=false
3882 rm -f conf$$ conf$$.exe conf$$.file
3883 echo >conf$$.file
3884 if ln -s conf$$.file conf$$ 2>/dev/null; then
3885 # We could just check for DJGPP; but this test a) works b) is more generic
3886 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
3887 if test -f conf$$.exe; then
3888 # Don't use ln at all; we don't have any links
3889 as_ln_s='cp -p'
3890 else
3891 as_ln_s='ln -s'
3893 elif ln conf$$.file conf$$ 2>/dev/null; then
3894 as_ln_s=ln
3895 else
3896 as_ln_s='cp -p'
3898 rm -f conf$$ conf$$.exe conf$$.file
3900 if mkdir -p . 2>/dev/null; then
3901 as_mkdir_p=:
3902 else
3903 test -d ./-p && rmdir ./-p
3904 as_mkdir_p=false
3907 as_executable_p="test -f"
3909 # Sed expression to map a string onto a valid CPP name.
3910 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3912 # Sed expression to map a string onto a valid variable name.
3913 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3916 # IFS
3917 # We need space, tab and new line, in precisely that order.
3918 as_nl='
3920 IFS=" $as_nl"
3922 # CDPATH.
3923 $as_unset CDPATH
3925 exec 6>&1
3927 # Open the log real soon, to keep \$[0] and so on meaningful, and to
3928 # report actual input values of CONFIG_FILES etc. instead of their
3929 # values after options handling. Logging --version etc. is OK.
3930 exec 5>>config.log
3932 echo
3933 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3934 ## Running $as_me. ##
3935 _ASBOX
3936 } >&5
3937 cat >&5 <<_CSEOF
3939 This file was extended by GNU C Runtime Library $as_me 1.0, which was
3940 generated by GNU Autoconf 2.59. Invocation command line was
3942 CONFIG_FILES = $CONFIG_FILES
3943 CONFIG_HEADERS = $CONFIG_HEADERS
3944 CONFIG_LINKS = $CONFIG_LINKS
3945 CONFIG_COMMANDS = $CONFIG_COMMANDS
3946 $ $0 $@
3948 _CSEOF
3949 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
3950 echo >&5
3951 _ACEOF
3953 # Files that config.status was made for.
3954 if test -n "$ac_config_files"; then
3955 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
3958 if test -n "$ac_config_headers"; then
3959 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
3962 if test -n "$ac_config_links"; then
3963 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
3966 if test -n "$ac_config_commands"; then
3967 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
3970 cat >>$CONFIG_STATUS <<\_ACEOF
3972 ac_cs_usage="\
3973 \`$as_me' instantiates files from templates according to the
3974 current configuration.
3976 Usage: $0 [OPTIONS] [FILE]...
3978 -h, --help print this help, then exit
3979 -V, --version print version number, then exit
3980 -q, --quiet do not print progress messages
3981 -d, --debug don't remove temporary files
3982 --recheck update $as_me by reconfiguring in the same conditions
3983 --file=FILE[:TEMPLATE]
3984 instantiate the configuration file FILE
3986 Configuration files:
3987 $config_files
3989 Configuration commands:
3990 $config_commands
3992 Report bugs to <bug-autoconf@gnu.org>."
3993 _ACEOF
3995 cat >>$CONFIG_STATUS <<_ACEOF
3996 ac_cs_version="\\
3997 GNU C Runtime Library config.status 1.0
3998 configured by $0, generated by GNU Autoconf 2.59,
3999 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
4001 Copyright (C) 2003 Free Software Foundation, Inc.
4002 This config.status script is free software; the Free Software Foundation
4003 gives unlimited permission to copy, distribute and modify it."
4004 srcdir=$srcdir
4005 INSTALL="$INSTALL"
4006 _ACEOF
4008 cat >>$CONFIG_STATUS <<\_ACEOF
4009 # If no file are specified by the user, then we need to provide default
4010 # value. By we need to know if files were specified by the user.
4011 ac_need_defaults=:
4012 while test $# != 0
4014 case $1 in
4015 --*=*)
4016 ac_option=`expr "x$1" : 'x\([^=]*\)='`
4017 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
4018 ac_shift=:
4021 ac_option=$1
4022 ac_optarg=$2
4023 ac_shift=shift
4025 *) # This is not an option, so the user has probably given explicit
4026 # arguments.
4027 ac_option=$1
4028 ac_need_defaults=false;;
4029 esac
4031 case $ac_option in
4032 # Handling of the options.
4033 _ACEOF
4034 cat >>$CONFIG_STATUS <<\_ACEOF
4035 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4036 ac_cs_recheck=: ;;
4037 --version | --vers* | -V )
4038 echo "$ac_cs_version"; exit 0 ;;
4039 --he | --h)
4040 # Conflict between --help and --header
4041 { { echo "$as_me:$LINENO: error: ambiguous option: $1
4042 Try \`$0 --help' for more information." >&5
4043 echo "$as_me: error: ambiguous option: $1
4044 Try \`$0 --help' for more information." >&2;}
4045 { (exit 1); exit 1; }; };;
4046 --help | --hel | -h )
4047 echo "$ac_cs_usage"; exit 0 ;;
4048 --debug | --d* | -d )
4049 debug=: ;;
4050 --file | --fil | --fi | --f )
4051 $ac_shift
4052 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
4053 ac_need_defaults=false;;
4054 --header | --heade | --head | --hea )
4055 $ac_shift
4056 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
4057 ac_need_defaults=false;;
4058 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4059 | -silent | --silent | --silen | --sile | --sil | --si | --s)
4060 ac_cs_silent=: ;;
4062 # This is an error.
4063 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
4064 Try \`$0 --help' for more information." >&5
4065 echo "$as_me: error: unrecognized option: $1
4066 Try \`$0 --help' for more information." >&2;}
4067 { (exit 1); exit 1; }; } ;;
4069 *) ac_config_targets="$ac_config_targets $1" ;;
4071 esac
4072 shift
4073 done
4075 ac_configure_extra_args=
4077 if $ac_cs_silent; then
4078 exec 6>/dev/null
4079 ac_configure_extra_args="$ac_configure_extra_args --silent"
4082 _ACEOF
4083 cat >>$CONFIG_STATUS <<_ACEOF
4084 if \$ac_cs_recheck; then
4085 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
4086 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4089 _ACEOF
4091 cat >>$CONFIG_STATUS <<_ACEOF
4093 # INIT-COMMANDS section.
4096 srcdir=${srcdir}
4097 host=${host}
4098 with_target_subdir=${with_target_subdir}
4099 with_multisubdir=${with_multisubdir}
4100 ac_configure_args="--enable-multilib ${ac_configure_args}"
4101 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
4102 libgcc_topdir=${libgcc_topdir}
4103 CC="${CC}"
4106 _ACEOF
4110 cat >>$CONFIG_STATUS <<\_ACEOF
4111 for ac_config_target in $ac_config_targets
4113 case "$ac_config_target" in
4114 # Handling of arguments.
4115 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4116 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
4117 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
4118 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
4119 { (exit 1); exit 1; }; };;
4120 esac
4121 done
4123 # If the user did not use the arguments to specify the items to instantiate,
4124 # then the envvar interface is used. Set only those that are not.
4125 # We use the long form for the default assignment because of an extremely
4126 # bizarre bug on SunOS 4.1.3.
4127 if $ac_need_defaults; then
4128 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4129 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
4132 # Have a temporary directory for convenience. Make it in the build tree
4133 # simply because there is no reason to put it here, and in addition,
4134 # creating and moving files from /tmp can sometimes cause problems.
4135 # Create a temporary directory, and hook for its removal unless debugging.
4136 $debug ||
4138 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
4139 trap '{ (exit 1); exit 1; }' 1 2 13 15
4142 # Create a (secure) tmp directory for tmp files.
4145 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
4146 test -n "$tmp" && test -d "$tmp"
4147 } ||
4149 tmp=./confstat$$-$RANDOM
4150 (umask 077 && mkdir $tmp)
4151 } ||
4153 echo "$me: cannot create a temporary directory in ." >&2
4154 { (exit 1); exit 1; }
4157 _ACEOF
4159 cat >>$CONFIG_STATUS <<_ACEOF
4162 # CONFIG_FILES section.
4165 # No need to generate the scripts if there are no CONFIG_FILES.
4166 # This happens for instance when ./config.status config.h
4167 if test -n "\$CONFIG_FILES"; then
4168 # Protect against being on the right side of a sed subst in config.status.
4169 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
4170 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
4171 s,@SHELL@,$SHELL,;t t
4172 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
4173 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
4174 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
4175 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
4176 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
4177 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
4178 s,@exec_prefix@,$exec_prefix,;t t
4179 s,@prefix@,$prefix,;t t
4180 s,@program_transform_name@,$program_transform_name,;t t
4181 s,@bindir@,$bindir,;t t
4182 s,@sbindir@,$sbindir,;t t
4183 s,@libexecdir@,$libexecdir,;t t
4184 s,@datadir@,$datadir,;t t
4185 s,@sysconfdir@,$sysconfdir,;t t
4186 s,@sharedstatedir@,$sharedstatedir,;t t
4187 s,@localstatedir@,$localstatedir,;t t
4188 s,@libdir@,$libdir,;t t
4189 s,@includedir@,$includedir,;t t
4190 s,@oldincludedir@,$oldincludedir,;t t
4191 s,@infodir@,$infodir,;t t
4192 s,@mandir@,$mandir,;t t
4193 s,@build_alias@,$build_alias,;t t
4194 s,@host_alias@,$host_alias,;t t
4195 s,@target_alias@,$target_alias,;t t
4196 s,@DEFS@,$DEFS,;t t
4197 s,@ECHO_C@,$ECHO_C,;t t
4198 s,@ECHO_N@,$ECHO_N,;t t
4199 s,@ECHO_T@,$ECHO_T,;t t
4200 s,@LIBS@,$LIBS,;t t
4201 s,@libgcc_topdir@,$libgcc_topdir,;t t
4202 s,@enable_shared@,$enable_shared,;t t
4203 s,@slibdir@,$slibdir,;t t
4204 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
4205 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
4206 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
4207 s,@AWK@,$AWK,;t t
4208 s,@build@,$build,;t t
4209 s,@build_cpu@,$build_cpu,;t t
4210 s,@build_vendor@,$build_vendor,;t t
4211 s,@build_os@,$build_os,;t t
4212 s,@host@,$host,;t t
4213 s,@host_cpu@,$host_cpu,;t t
4214 s,@host_vendor@,$host_vendor,;t t
4215 s,@host_os@,$host_os,;t t
4216 s,@host_noncanonical@,$host_noncanonical,;t t
4217 s,@build_libsubdir@,$build_libsubdir,;t t
4218 s,@build_subdir@,$build_subdir,;t t
4219 s,@host_subdir@,$host_subdir,;t t
4220 s,@target_subdir@,$target_subdir,;t t
4221 s,@AR@,$AR,;t t
4222 s,@ac_ct_AR@,$ac_ct_AR,;t t
4223 s,@LIPO@,$LIPO,;t t
4224 s,@ac_ct_LIPO@,$ac_ct_LIPO,;t t
4225 s,@NM@,$NM,;t t
4226 s,@ac_ct_NM@,$ac_ct_NM,;t t
4227 s,@RANLIB@,$RANLIB,;t t
4228 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
4229 s,@STRIP@,$STRIP,;t t
4230 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
4231 s,@LN_S@,$LN_S,;t t
4232 s,@CC@,$CC,;t t
4233 s,@CFLAGS@,$CFLAGS,;t t
4234 s,@LDFLAGS@,$LDFLAGS,;t t
4235 s,@CPPFLAGS@,$CPPFLAGS,;t t
4236 s,@ac_ct_CC@,$ac_ct_CC,;t t
4237 s,@EXEEXT@,$EXEEXT,;t t
4238 s,@OBJEXT@,$OBJEXT,;t t
4239 s,@CPP@,$CPP,;t t
4240 s,@decimal_float@,$decimal_float,;t t
4241 s,@enable_decimal_float@,$enable_decimal_float,;t t
4242 s,@fixed_point@,$fixed_point,;t t
4243 s,@vis_hide@,$vis_hide,;t t
4244 s,@set_have_cc_tls@,$set_have_cc_tls,;t t
4245 s,@tmake_file@,$tmake_file,;t t
4246 s,@extra_parts@,$extra_parts,;t t
4247 s,@asm_hidden_op@,$asm_hidden_op,;t t
4248 s,@LIBOBJS@,$LIBOBJS,;t t
4249 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
4250 CEOF
4252 _ACEOF
4254 cat >>$CONFIG_STATUS <<\_ACEOF
4255 # Split the substitutions into bite-sized pieces for seds with
4256 # small command number limits, like on Digital OSF/1 and HP-UX.
4257 ac_max_sed_lines=48
4258 ac_sed_frag=1 # Number of current file.
4259 ac_beg=1 # First line for current file.
4260 ac_end=$ac_max_sed_lines # Line after last line for current file.
4261 ac_more_lines=:
4262 ac_sed_cmds=
4263 while $ac_more_lines; do
4264 if test $ac_beg -gt 1; then
4265 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
4266 else
4267 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
4269 if test ! -s $tmp/subs.frag; then
4270 ac_more_lines=false
4271 else
4272 # The purpose of the label and of the branching condition is to
4273 # speed up the sed processing (if there are no `@' at all, there
4274 # is no need to browse any of the substitutions).
4275 # These are the two extra sed commands mentioned above.
4276 (echo ':t
4277 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
4278 if test -z "$ac_sed_cmds"; then
4279 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
4280 else
4281 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
4283 ac_sed_frag=`expr $ac_sed_frag + 1`
4284 ac_beg=$ac_end
4285 ac_end=`expr $ac_end + $ac_max_sed_lines`
4287 done
4288 if test -z "$ac_sed_cmds"; then
4289 ac_sed_cmds=cat
4291 fi # test -n "$CONFIG_FILES"
4293 _ACEOF
4294 cat >>$CONFIG_STATUS <<\_ACEOF
4295 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
4296 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
4297 case $ac_file in
4298 - | *:- | *:-:* ) # input from stdin
4299 cat >$tmp/stdin
4300 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4301 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4302 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4303 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4304 * ) ac_file_in=$ac_file.in ;;
4305 esac
4307 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
4308 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
4309 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4310 X"$ac_file" : 'X\(//\)[^/]' \| \
4311 X"$ac_file" : 'X\(//\)$' \| \
4312 X"$ac_file" : 'X\(/\)' \| \
4313 . : '\(.\)' 2>/dev/null ||
4314 echo X"$ac_file" |
4315 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4316 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4317 /^X\(\/\/\)$/{ s//\1/; q; }
4318 /^X\(\/\).*/{ s//\1/; q; }
4319 s/.*/./; q'`
4320 { if $as_mkdir_p; then
4321 mkdir -p "$ac_dir"
4322 else
4323 as_dir="$ac_dir"
4324 as_dirs=
4325 while test ! -d "$as_dir"; do
4326 as_dirs="$as_dir $as_dirs"
4327 as_dir=`(dirname "$as_dir") 2>/dev/null ||
4328 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4329 X"$as_dir" : 'X\(//\)[^/]' \| \
4330 X"$as_dir" : 'X\(//\)$' \| \
4331 X"$as_dir" : 'X\(/\)' \| \
4332 . : '\(.\)' 2>/dev/null ||
4333 echo X"$as_dir" |
4334 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4335 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4336 /^X\(\/\/\)$/{ s//\1/; q; }
4337 /^X\(\/\).*/{ s//\1/; q; }
4338 s/.*/./; q'`
4339 done
4340 test ! -n "$as_dirs" || mkdir $as_dirs
4341 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
4342 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
4343 { (exit 1); exit 1; }; }; }
4345 ac_builddir=.
4347 if test "$ac_dir" != .; then
4348 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4349 # A "../" for each directory in $ac_dir_suffix.
4350 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
4351 else
4352 ac_dir_suffix= ac_top_builddir=
4355 case $srcdir in
4356 .) # No --srcdir option. We are building in place.
4357 ac_srcdir=.
4358 if test -z "$ac_top_builddir"; then
4359 ac_top_srcdir=.
4360 else
4361 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
4362 fi ;;
4363 [\\/]* | ?:[\\/]* ) # Absolute path.
4364 ac_srcdir=$srcdir$ac_dir_suffix;
4365 ac_top_srcdir=$srcdir ;;
4366 *) # Relative path.
4367 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
4368 ac_top_srcdir=$ac_top_builddir$srcdir ;;
4369 esac
4371 # Do not use `cd foo && pwd` to compute absolute paths, because
4372 # the directories may not exist.
4373 case `pwd` in
4374 .) ac_abs_builddir="$ac_dir";;
4376 case "$ac_dir" in
4377 .) ac_abs_builddir=`pwd`;;
4378 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
4379 *) ac_abs_builddir=`pwd`/"$ac_dir";;
4380 esac;;
4381 esac
4382 case $ac_abs_builddir in
4383 .) ac_abs_top_builddir=${ac_top_builddir}.;;
4385 case ${ac_top_builddir}. in
4386 .) ac_abs_top_builddir=$ac_abs_builddir;;
4387 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
4388 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
4389 esac;;
4390 esac
4391 case $ac_abs_builddir in
4392 .) ac_abs_srcdir=$ac_srcdir;;
4394 case $ac_srcdir in
4395 .) ac_abs_srcdir=$ac_abs_builddir;;
4396 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
4397 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
4398 esac;;
4399 esac
4400 case $ac_abs_builddir in
4401 .) ac_abs_top_srcdir=$ac_top_srcdir;;
4403 case $ac_top_srcdir in
4404 .) ac_abs_top_srcdir=$ac_abs_builddir;;
4405 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
4406 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
4407 esac;;
4408 esac
4411 case $INSTALL in
4412 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
4413 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
4414 esac
4416 if test x"$ac_file" != x-; then
4417 { echo "$as_me:$LINENO: creating $ac_file" >&5
4418 echo "$as_me: creating $ac_file" >&6;}
4419 rm -f "$ac_file"
4421 # Let's still pretend it is `configure' which instantiates (i.e., don't
4422 # use $as_me), people would be surprised to read:
4423 # /* config.h. Generated by config.status. */
4424 if test x"$ac_file" = x-; then
4425 configure_input=
4426 else
4427 configure_input="$ac_file. "
4429 configure_input=$configure_input"Generated from `echo $ac_file_in |
4430 sed 's,.*/,,'` by configure."
4432 # First look for the input files in the build tree, otherwise in the
4433 # src tree.
4434 ac_file_inputs=`IFS=:
4435 for f in $ac_file_in; do
4436 case $f in
4437 -) echo $tmp/stdin ;;
4438 [\\/$]*)
4439 # Absolute (can't be DOS-style, as IFS=:)
4440 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4441 echo "$as_me: error: cannot find input file: $f" >&2;}
4442 { (exit 1); exit 1; }; }
4443 echo "$f";;
4444 *) # Relative
4445 if test -f "$f"; then
4446 # Build tree
4447 echo "$f"
4448 elif test -f "$srcdir/$f"; then
4449 # Source tree
4450 echo "$srcdir/$f"
4451 else
4452 # /dev/null tree
4453 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4454 echo "$as_me: error: cannot find input file: $f" >&2;}
4455 { (exit 1); exit 1; }; }
4456 fi;;
4457 esac
4458 done` || { (exit 1); exit 1; }
4459 _ACEOF
4460 cat >>$CONFIG_STATUS <<_ACEOF
4461 sed "$ac_vpsub
4462 $extrasub
4463 _ACEOF
4464 cat >>$CONFIG_STATUS <<\_ACEOF
4466 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4467 s,@configure_input@,$configure_input,;t t
4468 s,@srcdir@,$ac_srcdir,;t t
4469 s,@abs_srcdir@,$ac_abs_srcdir,;t t
4470 s,@top_srcdir@,$ac_top_srcdir,;t t
4471 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
4472 s,@builddir@,$ac_builddir,;t t
4473 s,@abs_builddir@,$ac_abs_builddir,;t t
4474 s,@top_builddir@,$ac_top_builddir,;t t
4475 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
4476 s,@INSTALL@,$ac_INSTALL,;t t
4477 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
4478 rm -f $tmp/stdin
4479 if test x"$ac_file" != x-; then
4480 mv $tmp/out $ac_file
4481 else
4482 cat $tmp/out
4483 rm -f $tmp/out
4486 done
4487 _ACEOF
4488 cat >>$CONFIG_STATUS <<\_ACEOF
4491 # CONFIG_COMMANDS section.
4493 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
4494 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
4495 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
4496 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
4497 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4498 X"$ac_dest" : 'X\(//\)[^/]' \| \
4499 X"$ac_dest" : 'X\(//\)$' \| \
4500 X"$ac_dest" : 'X\(/\)' \| \
4501 . : '\(.\)' 2>/dev/null ||
4502 echo X"$ac_dest" |
4503 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4504 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4505 /^X\(\/\/\)$/{ s//\1/; q; }
4506 /^X\(\/\).*/{ s//\1/; q; }
4507 s/.*/./; q'`
4508 { if $as_mkdir_p; then
4509 mkdir -p "$ac_dir"
4510 else
4511 as_dir="$ac_dir"
4512 as_dirs=
4513 while test ! -d "$as_dir"; do
4514 as_dirs="$as_dir $as_dirs"
4515 as_dir=`(dirname "$as_dir") 2>/dev/null ||
4516 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4517 X"$as_dir" : 'X\(//\)[^/]' \| \
4518 X"$as_dir" : 'X\(//\)$' \| \
4519 X"$as_dir" : 'X\(/\)' \| \
4520 . : '\(.\)' 2>/dev/null ||
4521 echo X"$as_dir" |
4522 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4523 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4524 /^X\(\/\/\)$/{ s//\1/; q; }
4525 /^X\(\/\).*/{ s//\1/; q; }
4526 s/.*/./; q'`
4527 done
4528 test ! -n "$as_dirs" || mkdir $as_dirs
4529 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
4530 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
4531 { (exit 1); exit 1; }; }; }
4533 ac_builddir=.
4535 if test "$ac_dir" != .; then
4536 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4537 # A "../" for each directory in $ac_dir_suffix.
4538 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
4539 else
4540 ac_dir_suffix= ac_top_builddir=
4543 case $srcdir in
4544 .) # No --srcdir option. We are building in place.
4545 ac_srcdir=.
4546 if test -z "$ac_top_builddir"; then
4547 ac_top_srcdir=.
4548 else
4549 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
4550 fi ;;
4551 [\\/]* | ?:[\\/]* ) # Absolute path.
4552 ac_srcdir=$srcdir$ac_dir_suffix;
4553 ac_top_srcdir=$srcdir ;;
4554 *) # Relative path.
4555 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
4556 ac_top_srcdir=$ac_top_builddir$srcdir ;;
4557 esac
4559 # Do not use `cd foo && pwd` to compute absolute paths, because
4560 # the directories may not exist.
4561 case `pwd` in
4562 .) ac_abs_builddir="$ac_dir";;
4564 case "$ac_dir" in
4565 .) ac_abs_builddir=`pwd`;;
4566 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
4567 *) ac_abs_builddir=`pwd`/"$ac_dir";;
4568 esac;;
4569 esac
4570 case $ac_abs_builddir in
4571 .) ac_abs_top_builddir=${ac_top_builddir}.;;
4573 case ${ac_top_builddir}. in
4574 .) ac_abs_top_builddir=$ac_abs_builddir;;
4575 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
4576 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
4577 esac;;
4578 esac
4579 case $ac_abs_builddir in
4580 .) ac_abs_srcdir=$ac_srcdir;;
4582 case $ac_srcdir in
4583 .) ac_abs_srcdir=$ac_abs_builddir;;
4584 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
4585 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
4586 esac;;
4587 esac
4588 case $ac_abs_builddir in
4589 .) ac_abs_top_srcdir=$ac_top_srcdir;;
4591 case $ac_top_srcdir in
4592 .) ac_abs_top_srcdir=$ac_abs_builddir;;
4593 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
4594 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
4595 esac;;
4596 esac
4599 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
4600 echo "$as_me: executing $ac_dest commands" >&6;}
4601 case $ac_dest in
4602 default ) test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
4603 if test -n "$CONFIG_FILES"; then
4604 # FIXME: We shouldn't need to set ac_file
4605 ac_file=Makefile
4606 . ${libgcc_topdir}/config-ml.in
4607 fi ;;
4608 esac
4609 done
4610 _ACEOF
4612 cat >>$CONFIG_STATUS <<\_ACEOF
4614 { (exit 0); exit 0; }
4615 _ACEOF
4616 chmod +x $CONFIG_STATUS
4617 ac_clean_files=$ac_clean_files_save
4620 # configure is writing to config.log, and then calls config.status.
4621 # config.status does its own redirection, appending to config.log.
4622 # Unfortunately, on DOS this fails, as config.log is still kept open
4623 # by configure, so config.status won't be able to write to it; its
4624 # output is simply discarded. So we exec the FD to /dev/null,
4625 # effectively closing config.log, so it can be properly (re)opened and
4626 # appended to by config.status. When coming back to configure, we
4627 # need to make the FD available again.
4628 if test "$no_create" != yes; then
4629 ac_cs_success=:
4630 ac_config_status_args=
4631 test "$silent" = yes &&
4632 ac_config_status_args="$ac_config_status_args --quiet"
4633 exec 5>/dev/null
4634 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4635 exec 5>>config.log
4636 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4637 # would make configure fail if this is the last instruction.
4638 $ac_cs_success || { (exit 1); exit 1; }