re PR c++/39639 (no diagnostic for ill-formed pack expansion)
[gcc.git] / libgcc / configure
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.
4 #
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 ## --------------------- ##
11
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
21 fi
22 DUALCASE=1; export DUALCASE # for MKS sh
23
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
29 fi
30
31
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
34 PS1='$ '
35 PS2='> '
36 PS4='+ '
37
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
43 do
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
48 fi
49 done
50
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
56 fi
57
58 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
59 as_basename=basename
60 else
61 as_basename=false
62 fi
63
64
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'`
76
77
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
85
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=:
95 fi
96 rm -f conf$$.sh
97 fi
98
99
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
111 do
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
116
117 ;;
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
123 fi
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; }; }
127 fi
128 case $CONFIG_SHELL in
129 '')
130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
132 do
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
137 /*)
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
153 ;;
154 esac
155
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 '
166 N
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; }; }
177
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
184 }
185
186
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
193
194 if expr a : '\(a\)' >/dev/null 2>&1; then
195 as_expr=expr
196 else
197 as_expr=false
198 fi
199
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'
210 fi
211 elif ln conf$$.file conf$$ 2>/dev/null; then
212 as_ln_s=ln
213 else
214 as_ln_s='cp -p'
215 fi
216 rm -f conf$$ conf$$.exe conf$$.file
217
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
223 fi
224
225 as_executable_p="test -f"
226
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'"
229
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'"
232
233
234 # IFS
235 # We need space, tab and new line, in precisely that order.
236 as_nl='
237 '
238 IFS=" $as_nl"
239
240 # CDPATH.
241 $as_unset CDPATH
242
243
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`
248
249 exec 6>&1
250
251 #
252 # Initializations.
253 #
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}
261
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}
266
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=''
273
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`
278
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
298
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'
316
317 ac_prev=
318 for ac_option
319 do
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
325 fi
326
327 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
328
329 # Accept the important Cygnus configure options, so we can diagnose typos.
330
331 case $ac_option in
332
333 -bindir | --bindir | --bindi | --bind | --bin | --bi)
334 ac_prev=bindir ;;
335 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
336 bindir=$ac_optarg ;;
337
338 -build | --build | --buil | --bui | --bu)
339 ac_prev=build_alias ;;
340 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
341 build_alias=$ac_optarg ;;
342
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 ;;
349
350 --config-cache | -C)
351 cache_file=config.cache ;;
352
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 ;;
358
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" ;;
367
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'" ;;
380
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 ;;
389
390 -gas | --gas | --ga | --g)
391 # Obsolete; use --with-gas.
392 with_gas=yes ;;
393
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 ;;
400
401 -host | --host | --hos | --ho)
402 ac_prev=host_alias ;;
403 -host=* | --host=* | --hos=* | --ho=*)
404 host_alias=$ac_optarg ;;
405
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 ;;
412
413 -infodir | --infodir | --infodi | --infod | --info | --inf)
414 ac_prev=infodir ;;
415 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
416 infodir=$ac_optarg ;;
417
418 -libdir | --libdir | --libdi | --libd)
419 ac_prev=libdir ;;
420 -libdir=* | --libdir=* | --libdi=* | --libd=*)
421 libdir=$ac_optarg ;;
422
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 ;;
429
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 ;;
438
439 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
440 ac_prev=mandir ;;
441 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
442 mandir=$ac_optarg ;;
443
444 -nfp | --nfp | --nf)
445 # Obsolete; use --without-fp.
446 with_fp=no ;;
447
448 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
449 | --no-cr | --no-c | -n)
450 no_create=yes ;;
451
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 ;;
455
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 ;;
464
465 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
466 ac_prev=prefix ;;
467 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
468 prefix=$ac_optarg ;;
469
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 ;;
476
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 ;;
483
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 ;;
500
501 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
502 | -silent | --silent | --silen | --sile | --sil)
503 silent=yes ;;
504
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 ;;
510
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 ;;
521
522 -site | --site | --sit)
523 ac_prev=site ;;
524 -site=* | --site=* | --sit=*)
525 site=$ac_optarg ;;
526
527 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
528 ac_prev=srcdir ;;
529 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
530 srcdir=$ac_optarg ;;
531
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 ;;
538
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 ;;
543
544 -v | -verbose | --verbose | --verbos | --verbo | --verb)
545 verbose=yes ;;
546
547 -version | --version | --versio | --versi | --vers | -V)
548 ac_init_version=: ;;
549
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'" ;;
562
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" ;;
571
572 --x)
573 # Obsolete; use --with-x.
574 with_x=yes ;;
575
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 ;;
582
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 ;;
589
590 -*) { echo "$as_me: error: unrecognized option: $ac_option
591 Try \`$0 --help' for more information." >&2
592 { (exit 1); exit 1; }; }
593 ;;
594
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 ;;
604
605 *)
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}
611 ;;
612
613 esac
614 done
615
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; }; }
620 fi
621
622 # Be sure to have absolute paths.
623 for ac_var in exec_prefix prefix
624 do
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
632
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
636 do
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
644
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
651
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
660 fi
661 fi
662
663 ac_tool_prefix=
664 test -n "$host_alias" && ac_tool_prefix=$host_alias-
665
666 test "$silent" = yes && exec 6>/dev/null
667
668
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=..
688 fi
689 else
690 ac_srcdir_defaulted=no
691 fi
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; }; }
699 fi
700 fi
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
737
738 #
739 # Report the --help message.
740 #
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.
746
747 Usage: $0 [OPTION]... [VAR=VALUE]...
748
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.
751
752 Defaults for the options are specified in brackets.
753
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 \`..']
764
765 _ACEOF
766
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]
773
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'.
778
779 For better control, use the options below.
780
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
795
796 cat <<\_ACEOF
797
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
802 fi
803
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
809
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]
820
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
829
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
838
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.
841
842 _ACEOF
843 fi
844
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=.
851
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=
858 fi
859
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
875
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";;
880 *)
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}.;;
889 *)
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;;
898 *)
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;;
907 *)
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
914
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
929 fi
930 cd $ac_popdir
931 done
932 fi
933
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
939
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
945 fi
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.
950
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
953
954 $ $0 $@
955
956 _ACEOF
957 {
958 cat <<_ASUNAME
959 ## --------- ##
960 ## Platform. ##
961 ## --------- ##
962
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`
968
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`
971
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`
979
980 _ASUNAME
981
982 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
983 for as_dir in $PATH
984 do
985 IFS=$as_save_IFS
986 test -z "$as_dir" && as_dir=.
987 echo "PATH: $as_dir"
988 done
989
990 } >&5
991
992 cat >&5 <<_ACEOF
993
994
995 ## ----------- ##
996 ## Core tests. ##
997 ## ----------- ##
998
999 _ACEOF
1000
1001
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
1013 do
1014 for ac_arg
1015 do
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'" ;;
1026 2)
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
1039 ;;
1040 -* ) ac_must_keep_next=true ;;
1041 esac
1042 fi
1043 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1044 # Get rid of the leading space.
1045 ac_sep=" "
1046 ;;
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; }
1052
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.
1060 {
1061 echo
1062
1063 cat <<\_ASBOX
1064 ## ---------------- ##
1065 ## Cache variables. ##
1066 ## ---------------- ##
1067 _ASBOX
1068 echo
1069 # The following way of writing the cache mishandles newlines in values,
1070 {
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"
1077 ;;
1078 *)
1079 sed -n \
1080 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1081 ;;
1082 esac;
1083 }
1084 echo
1085
1086 cat <<\_ASBOX
1087 ## ----------------- ##
1088 ## Output variables. ##
1089 ## ----------------- ##
1090 _ASBOX
1091 echo
1092 for ac_var in $ac_subst_vars
1093 do
1094 eval ac_val=$`echo $ac_var`
1095 echo "$ac_var='"'"'$ac_val'"'"'"
1096 done | sort
1097 echo
1098
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
1107 do
1108 eval ac_val=$`echo $ac_var`
1109 echo "$ac_var='"'"'$ac_val'"'"'"
1110 done | sort
1111 echo
1112 fi
1113
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
1123 fi
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
1131 ' 0
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
1136
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
1141
1142 # Predefined preprocessor variables.
1143
1144 cat >>confdefs.h <<_ACEOF
1145 #define PACKAGE_NAME "$PACKAGE_NAME"
1146 _ACEOF
1147
1148
1149 cat >>confdefs.h <<_ACEOF
1150 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1151 _ACEOF
1152
1153
1154 cat >>confdefs.h <<_ACEOF
1155 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1156 _ACEOF
1157
1158
1159 cat >>confdefs.h <<_ACEOF
1160 #define PACKAGE_STRING "$PACKAGE_STRING"
1161 _ACEOF
1162
1163
1164 cat >>confdefs.h <<_ACEOF
1165 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1166 _ACEOF
1167
1168
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"
1176 fi
1177 fi
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"
1184 fi
1185 done
1186
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
1197 fi
1198 else
1199 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1200 echo "$as_me: creating cache $cache_file" >&6;}
1201 >$cache_file
1202 fi
1203
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 ,);;
1223 *)
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
1236 fi
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
1254 fi
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; }; }
1264 fi
1265
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
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
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"
1307
1308 fi;
1309
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"
1313
1314 fi;
1315
1316 # Check whether --with-ld or --without-ld was given.
1317 if test "${with_ld+set}" = set; then
1318 withval="$with_ld"
1319
1320 fi;
1321
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}.."
1333 fi
1334 fi
1335 else
1336 libgcc_topdir="${srcdir}/.."
1337 fi
1338
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
1353 fi
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; }; }
1359 fi
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.
1363
1364
1365 # Check whether --enable-shared or --disable-shared was given.
1366 if test "${enable_shared+set}" = set; then
1367 enableval="$enable_shared"
1368
1369 case $enable_shared in
1370 yes | no) ;;
1371 *)
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
1377 fi
1378 done
1379 IFS="$ac_save_ifs"
1380 ;;
1381 esac
1382
1383 else
1384 enable_shared=yes
1385 fi;
1386
1387
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
1402 fi;
1403 echo "$as_me:$LINENO: result: $version_specific_libs" >&5
1404 echo "${ECHO_T}$version_specific_libs" >&6
1405
1406
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)'
1418 fi
1419 fi;
1420
1421
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
1443 do
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/* ) ;;
1452 *)
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.
1462 :
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.
1466 :
1467 else
1468 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1469 break 3
1470 fi
1471 fi
1472 done
1473 done
1474 ;;
1475 esac
1476 done
1477
1478
1479 fi
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
1488 fi
1489 fi
1490 echo "$as_me:$LINENO: result: $INSTALL" >&5
1491 echo "${ECHO_T}$INSTALL" >&6
1492
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}'
1496
1497 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1498
1499 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1500
1501
1502 for ac_prog in gawk mawk nawk awk
1503 do
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
1516 do
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
1524 fi
1525 done
1526 done
1527
1528 fi
1529 fi
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
1537 fi
1538
1539 test -n "$AWK" && break
1540 done
1541
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
1548
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; }; }
1554
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; }; }
1571
1572 fi
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/'`
1579
1580
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; }; }
1593
1594 fi
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/'`
1601
1602
1603 case ${build_alias} in
1604 "") build_noncanonical=${build} ;;
1605 *) build_noncanonical=${build_alias} ;;
1606 esac
1607
1608 case ${host_alias} in
1609 "") host_noncanonical=${build_noncanonical} ;;
1610 *) host_noncanonical=${host_alias} ;;
1611 esac
1612
1613
1614
1615 case ${target_alias} in
1616 "") target_noncanonical=${host_noncanonical} ;;
1617 *) target_noncanonical=${target_alias} ;;
1618 esac
1619
1620
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.
1629
1630 # Prefix 'build-' so this never conflicts with target_subdir.
1631 build_subdir="build-${build_noncanonical}"
1632
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"
1639 fi;
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=.
1646 fi
1647 # No prefix.
1648 target_subdir=${target_noncanonical}
1649
1650
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
1664 do
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
1672 fi
1673 done
1674 done
1675
1676 fi
1677 fi
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
1685 fi
1686
1687 fi
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
1702 do
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
1710 fi
1711 done
1712 done
1713
1714 fi
1715 fi
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
1723 fi
1724
1725 AR=$ac_ct_AR
1726 else
1727 AR="$ac_cv_prog_AR"
1728 fi
1729
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
1743 do
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
1751 fi
1752 done
1753 done
1754
1755 fi
1756 fi
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
1764 fi
1765
1766 fi
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
1781 do
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
1789 fi
1790 done
1791 done
1792
1793 test -z "$ac_cv_prog_ac_ct_LIPO" && ac_cv_prog_ac_ct_LIPO=":"
1794 fi
1795 fi
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
1803 fi
1804
1805 LIPO=$ac_ct_LIPO
1806 else
1807 LIPO="$ac_cv_prog_LIPO"
1808 fi
1809
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
1823 do
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
1831 fi
1832 done
1833 done
1834
1835 fi
1836 fi
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
1844 fi
1845
1846 fi
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
1861 do
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
1869 fi
1870 done
1871 done
1872
1873 fi
1874 fi
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
1882 fi
1883
1884 NM=$ac_ct_NM
1885 else
1886 NM="$ac_cv_prog_NM"
1887 fi
1888
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
1902 do
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
1910 fi
1911 done
1912 done
1913
1914 fi
1915 fi
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
1923 fi
1924
1925 fi
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
1940 do
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
1948 fi
1949 done
1950 done
1951
1952 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
1953 fi
1954 fi
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
1962 fi
1963
1964 RANLIB=$ac_ct_RANLIB
1965 else
1966 RANLIB="$ac_cv_prog_RANLIB"
1967 fi
1968
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
1982 do
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
1990 fi
1991 done
1992 done
1993
1994 fi
1995 fi
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
2003 fi
2004
2005 fi
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
2020 do
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
2028 fi
2029 done
2030 done
2031
2032 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
2033 fi
2034 fi
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
2042 fi
2043
2044 STRIP=$ac_ct_STRIP
2045 else
2046 STRIP="$ac_cv_prog_STRIP"
2047 fi
2048
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
2058 fi
2059
2060
2061
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
2080 do
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
2088 fi
2089 done
2090 done
2091
2092 fi
2093 fi
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
2101 fi
2102
2103 fi
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
2118 do
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
2126 fi
2127 done
2128 done
2129
2130 fi
2131 fi
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
2139 fi
2140
2141 CC=$ac_ct_CC
2142 else
2143 CC="$ac_cv_prog_CC"
2144 fi
2145
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
2160 do
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
2168 fi
2169 done
2170 done
2171
2172 fi
2173 fi
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
2181 fi
2182
2183 fi
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
2198 do
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
2206 fi
2207 done
2208 done
2209
2210 fi
2211 fi
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
2219 fi
2220
2221 CC=$ac_ct_CC
2222 else
2223 CC="$ac_cv_prog_CC"
2224 fi
2225
2226 fi
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
2241 do
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
2249 fi
2250 ac_cv_prog_CC="cc"
2251 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2252 break 2
2253 fi
2254 done
2255 done
2256
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+' '}$@"
2267 fi
2268 fi
2269 fi
2270 fi
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
2278 fi
2279
2280 fi
2281 if test -z "$CC"; then
2282 if test -n "$ac_tool_prefix"; then
2283 for ac_prog in cl
2284 do
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
2297 do
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
2305 fi
2306 done
2307 done
2308
2309 fi
2310 fi
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
2318 fi
2319
2320 test -n "$CC" && break
2321 done
2322 fi
2323 if test -z "$CC"; then
2324 ac_ct_CC=$CC
2325 for ac_prog in cl
2326 do
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
2339 do
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
2347 fi
2348 done
2349 done
2350
2351 fi
2352 fi
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
2360 fi
2361
2362 test -n "$ac_ct_CC" && break
2363 done
2364
2365 CC=$ac_ct_CC
2366 fi
2367
2368 fi
2369
2370
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; }; }; }
2378
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); }
2398
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. */
2405
2406 int
2407 main ()
2408 {
2409
2410 ;
2411 return 0;
2412 }
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
2423 fi
2424
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. */
2438
2439 int
2440 main ()
2441 {
2442
2443 ;
2444 return 0;
2445 }
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.
2463
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
2469 do
2470 test -f "$ac_file" || continue
2471 case $ac_file in
2472 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2473 ;;
2474 conftest.$ac_ext )
2475 # This is the source file.
2476 ;;
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;;
2488 * )
2489 break;;
2490 esac
2491 done
2492 else
2493 echo "$as_me: failed program was:" >&5
2494 sed 's/^/| /' conftest.$ac_ext >&5
2495
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; }; }; }
2503 fi
2504
2505 ac_exeext=$ac_cv_exeext
2506 echo "$as_me:$LINENO: result: $ac_file" >&5
2507 echo "${ECHO_T}$ac_file" >&6
2508
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; }; }; }
2536 fi
2537 fi
2538 fi
2539 echo "$as_me:$LINENO: result: yes" >&5
2540 echo "${ECHO_T}yes" >&6
2541
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
2550
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; }; }; }
2580 fi
2581
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
2585
2586 rm -f conftest.$ac_ext
2587 EXEEXT=$ac_cv_exeext
2588 ac_exeext=$EXEEXT
2589 fi
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. */
2601
2602 int
2603 main ()
2604 {
2605
2606 ;
2607 return 0;
2608 }
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
2626
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; }; }; }
2634 fi
2635
2636 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2637 fi
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. */
2653
2654 int
2655 main ()
2656 {
2657 #ifndef __GNUC__
2658 choke me
2659 #endif
2660
2661 ;
2662 return 0;
2663 }
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
2691
2692 ac_compiler_gnu=no
2693 fi
2694 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2695 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2696
2697 fi
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. */
2715
2716 int
2717 main ()
2718 {
2719
2720 ;
2721 return 0;
2722 }
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
2750
2751 ac_cv_prog_cc_g=no
2752 fi
2753 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2754 fi
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"
2764 fi
2765 else
2766 if test "$GCC" = yes; then
2767 CFLAGS="-O2"
2768 else
2769 CFLAGS=
2770 fi
2771 fi
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;
2795 {
2796 return p[i];
2797 }
2798 static char *f (char * (*g) (char **, int), char **p, ...)
2799 {
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;
2806 }
2807
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];
2816
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;
2823 int
2824 main ()
2825 {
2826 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2827 ;
2828 return 0;
2829 }
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__"
2839 do
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
2868
2869 fi
2870 rm -f conftest.err conftest.$ac_objext
2871 done
2872 rm -f conftest.$ac_ext conftest.$ac_objext
2873 CC=$ac_save_CC
2874
2875 fi
2876
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 ;;
2881 *)
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
2886
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);'
2925 do
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>
2934 int
2935 main ()
2936 {
2937 exit (42);
2938 ;
2939 return 0;
2940 }
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
2964 :
2965 else
2966 echo "$as_me: failed program was:" >&5
2967 sed 's/^/| /' conftest.$ac_ext >&5
2968
2969 continue
2970 fi
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
2979 int
2980 main ()
2981 {
2982 exit (42);
2983 ;
2984 return 0;
2985 }
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
3013
3014 fi
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
3022 fi
3023
3024 else
3025 echo "$as_me: failed program was:" >&5
3026 sed 's/^/| /' conftest.$ac_ext >&5
3027
3028 fi
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
3035
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=
3046 fi
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"
3053 do
3054 ac_preproc_ok=false
3055 for ac_c_preproc_warn_flag in '' yes
3056 do
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=
3089 fi
3090 else
3091 ac_cpp_err=yes
3092 fi
3093 if test -z "$ac_cpp_err"; then
3094 :
3095 else
3096 echo "$as_me: failed program was:" >&5
3097 sed 's/^/| /' conftest.$ac_ext >&5
3098
3099 # Broken: fails on valid input.
3100 continue
3101 fi
3102 rm -f conftest.err conftest.$ac_ext
3103
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=
3127 fi
3128 else
3129 ac_cpp_err=yes
3130 fi
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
3137
3138 # Passes both tests.
3139 ac_preproc_ok=:
3140 break
3141 fi
3142 rm -f conftest.err conftest.$ac_ext
3143
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
3149 fi
3150
3151 done
3152 ac_cv_prog_CPP=$CPP
3153
3154 fi
3155 CPP=$ac_cv_prog_CPP
3156 else
3157 ac_cv_prog_CPP=$CPP
3158 fi
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
3163 do
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=
3196 fi
3197 else
3198 ac_cpp_err=yes
3199 fi
3200 if test -z "$ac_cpp_err"; then
3201 :
3202 else
3203 echo "$as_me: failed program was:" >&5
3204 sed 's/^/| /' conftest.$ac_ext >&5
3205
3206 # Broken: fails on valid input.
3207 continue
3208 fi
3209 rm -f conftest.err conftest.$ac_ext
3210
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=
3234 fi
3235 else
3236 ac_cpp_err=yes
3237 fi
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
3244
3245 # Passes both tests.
3246 ac_preproc_ok=:
3247 break
3248 fi
3249 rm -f conftest.err conftest.$ac_ext
3250
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
3255 :
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; }; }; }
3264 fi
3265
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
3271
3272
3273 ac_c_preproc_warn_flag=yes
3274
3275 # Check for decimal float support.
3276
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
3311
3312 libgcc_cv_dfp=no
3313 fi
3314 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3315 fi
3316 echo "$as_me:$LINENO: result: $libgcc_cv_dfp" >&5
3317 echo "${ECHO_T}$libgcc_cv_dfp" >&6
3318 decimal_float=$libgcc_cv_dfp
3319
3320
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"
3324
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
3333
3334 else
3335
3336 case $host in
3337 powerpc*-*-linux* | i?86*-*-linux* | x86_64*-*-linux*)
3338 enable_decimal_float=yes
3339 ;;
3340 *)
3341 enable_decimal_float=no
3342 ;;
3343 esac
3344
3345 fi;
3346
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
3352 ;;
3353 *)
3354 enable_decimal_float=dpd
3355 ;;
3356 esac
3357 fi
3358
3359
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
3395
3396 libgcc_cv_fixed_point=no
3397 fi
3398 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3399 fi
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
3403
3404
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
3414 EOF
3415 eval `${CC-cc} -E conftest.c | grep host_address=`
3416 rm -f conftest.c
3417 ;;
3418 esac
3419
3420 # Collect host-machine-specific information.
3421 . ${srcdir}/config.host
3422
3423 # Check if Solaris/x86 linker supports ZERO terminator unwind entries.
3424 # This is after config.host so we can augment tmake_file.
3425 # Link with -nostartfiles -nodefaultlibs since neither are present while
3426 # building libgcc.
3427 case ${host} in
3428 i?86-*-solaris2.1[0-9]*)
3429 cat > conftest.s <<EOF
3430 .section .eh_frame,"a",@unwind
3431 .zero 4
3432 .section .jcr,"aw",@progbits
3433 .zero 8
3434 EOF
3435 if { ac_try='${CC-cc} -shared -nostartfiles -nodefaultlibs -o conftest.so conftest.s 1>&5'
3436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3437 (eval $ac_try) 2>&5
3438 ac_status=$?
3439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3440 (exit $ac_status); }; }; then
3441 # configure expects config files in libgcc/config, so need a relative
3442 # path here.
3443 tmake_file="${tmake_file} ../../gcc/config/i386/t-crtstuff"
3444 fi
3445 ;;
3446 esac
3447
3448 # Check for visibility support. This is after config.host so that
3449 # we can check for asm_hidden_op.
3450 echo "$as_me:$LINENO: checking for __attribute__((visibility(\"hidden\")))" >&5
3451 echo $ECHO_N "checking for __attribute__((visibility(\"hidden\")))... $ECHO_C" >&6
3452 if test "${libgcc_cv_hidden_visibility_attribute+set}" = set; then
3453 echo $ECHO_N "(cached) $ECHO_C" >&6
3454 else
3455
3456 echo 'int __attribute__ ((visibility ("hidden"))) foo (void) { return 1; }' > conftest.c
3457 libgcc_cv_hidden_visibility_attribute=no
3458 if { ac_try='${CC-cc} -Werror -S conftest.c -o conftest.s 1>&5'
3459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3460 (eval $ac_try) 2>&5
3461 ac_status=$?
3462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3463 (exit $ac_status); }; }; then
3464 if grep "\\$asm_hidden_op.*foo" conftest.s >/dev/null; then
3465 libgcc_cv_hidden_visibility_attribute=yes
3466 fi
3467 fi
3468 rm -f conftest.*
3469
3470 fi
3471 echo "$as_me:$LINENO: result: $libgcc_cv_hidden_visibility_attribute" >&5
3472 echo "${ECHO_T}$libgcc_cv_hidden_visibility_attribute" >&6
3473
3474 if test $libgcc_cv_hidden_visibility_attribute = yes; then
3475 vis_hide='-fvisibility=hidden -DHIDE_EXPORTS'
3476 else
3477 vis_hide=
3478 fi
3479
3480
3481 # See if we have thread-local storage. We can only test assembler
3482 # sicne link-time and run-time tests require the newly built
3483 # gcc, which can't be used to build executable due to that libgcc
3484 # is yet to be built here.
3485
3486 # Check whether --enable-tls or --disable-tls was given.
3487 if test "${enable_tls+set}" = set; then
3488 enableval="$enable_tls"
3489
3490 case "$enableval" in
3491 yes|no) ;;
3492 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable tls must be yes or no" >&5
3493 echo "$as_me: error: Argument to enable/disable tls must be yes or no" >&2;}
3494 { (exit 1); exit 1; }; } ;;
3495 esac
3496
3497 else
3498 enable_tls=yes
3499 fi;
3500
3501 echo "$as_me:$LINENO: checking whether the target assembler supports thread-local storage" >&5
3502 echo $ECHO_N "checking whether the target assembler supports thread-local storage... $ECHO_C" >&6
3503 if test "${gcc_cv_have_cc_tls+set}" = set; then
3504 echo $ECHO_N "(cached) $ECHO_C" >&6
3505 else
3506
3507 cat >conftest.$ac_ext <<_ACEOF
3508 __thread int a; int b; int main() { return a = b; }
3509 _ACEOF
3510 rm -f conftest.$ac_objext
3511 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3512 (eval $ac_compile) 2>conftest.er1
3513 ac_status=$?
3514 grep -v '^ *+' conftest.er1 >conftest.err
3515 rm -f conftest.er1
3516 cat conftest.err >&5
3517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3518 (exit $ac_status); } &&
3519 { ac_try='test -z "$ac_c_werror_flag"
3520 || test ! -s conftest.err'
3521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3522 (eval $ac_try) 2>&5
3523 ac_status=$?
3524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3525 (exit $ac_status); }; } &&
3526 { ac_try='test -s conftest.$ac_objext'
3527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3528 (eval $ac_try) 2>&5
3529 ac_status=$?
3530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3531 (exit $ac_status); }; }; then
3532 gcc_cv_have_cc_tls=yes
3533 else
3534 echo "$as_me: failed program was:" >&5
3535 sed 's/^/| /' conftest.$ac_ext >&5
3536
3537 gcc_cv_have_cc_tls=no
3538 fi
3539 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3540
3541 fi
3542 echo "$as_me:$LINENO: result: $gcc_cv_have_cc_tls" >&5
3543 echo "${ECHO_T}$gcc_cv_have_cc_tls" >&6
3544 set_have_cc_tls=
3545 if test "$enable_tls $gcc_cv_have_cc_tls" = "yes yes"; then
3546 set_have_cc_tls="-DHAVE_CC_TLS"
3547 fi
3548
3549
3550 # Conditionalize the makefile for this target machine.
3551 tmake_file_=
3552 for f in ${tmake_file}
3553 do
3554 if test -f ${srcdir}/config/$f
3555 then
3556 tmake_file_="${tmake_file_} \$(srcdir)/config/$f"
3557 fi
3558 done
3559 tmake_file="${tmake_file_}"
3560
3561
3562 # Substitute configuration variables
3563
3564
3565
3566 # We need multilib support.
3567 ac_config_files="$ac_config_files Makefile"
3568
3569 ac_config_commands="$ac_config_commands default"
3570
3571 cat >confcache <<\_ACEOF
3572 # This file is a shell script that caches the results of configure
3573 # tests run on this system so they can be shared between configure
3574 # scripts and configure runs, see configure's option --config-cache.
3575 # It is not useful on other systems. If it contains results you don't
3576 # want to keep, you may remove or edit it.
3577 #
3578 # config.status only pays attention to the cache file if you give it
3579 # the --recheck option to rerun configure.
3580 #
3581 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3582 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3583 # following values.
3584
3585 _ACEOF
3586
3587 # The following way of writing the cache mishandles newlines in values,
3588 # but we know of no workaround that is simple, portable, and efficient.
3589 # So, don't put newlines in cache variables' values.
3590 # Ultrix sh set writes to stderr and can't be redirected directly,
3591 # and sets the high bit in the cache file unless we assign to the vars.
3592 {
3593 (set) 2>&1 |
3594 case `(ac_space=' '; set | grep ac_space) 2>&1` in
3595 *ac_space=\ *)
3596 # `set' does not quote correctly, so add quotes (double-quote
3597 # substitution turns \\\\ into \\, and sed turns \\ into \).
3598 sed -n \
3599 "s/'/'\\\\''/g;
3600 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3601 ;;
3602 *)
3603 # `set' quotes correctly as required by POSIX, so do not add quotes.
3604 sed -n \
3605 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
3606 ;;
3607 esac;
3608 } |
3609 sed '
3610 t clear
3611 : clear
3612 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3613 t end
3614 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3615 : end' >>confcache
3616 if diff $cache_file confcache >/dev/null 2>&1; then :; else
3617 if test -w $cache_file; then
3618 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
3619 cat confcache >$cache_file
3620 else
3621 echo "not updating unwritable cache $cache_file"
3622 fi
3623 fi
3624 rm -f confcache
3625
3626 test "x$prefix" = xNONE && prefix=$ac_default_prefix
3627 # Let make expand exec_prefix.
3628 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3629
3630 # VPATH may cause trouble with some makes, so we remove $(srcdir),
3631 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
3632 # trailing colons and then remove the whole line if VPATH becomes empty
3633 # (actually we leave an empty line to preserve line numbers).
3634 if test "x$srcdir" = x.; then
3635 ac_vpsub='/^[ ]*VPATH[ ]*=/{
3636 s/:*\$(srcdir):*/:/;
3637 s/:*\${srcdir}:*/:/;
3638 s/:*@srcdir@:*/:/;
3639 s/^\([^=]*=[ ]*\):*/\1/;
3640 s/:*$//;
3641 s/^[^=]*=[ ]*$//;
3642 }'
3643 fi
3644
3645 # Transform confdefs.h into DEFS.
3646 # Protect against shell expansion while executing Makefile rules.
3647 # Protect against Makefile macro expansion.
3648 #
3649 # If the first sed substitution is executed (which looks for macros that
3650 # take arguments), then we branch to the quote section. Otherwise,
3651 # look for a macro that doesn't take arguments.
3652 cat >confdef2opt.sed <<\_ACEOF
3653 t clear
3654 : clear
3655 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
3656 t quote
3657 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
3658 t quote
3659 d
3660 : quote
3661 s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
3662 s,\[,\\&,g
3663 s,\],\\&,g
3664 s,\$,$$,g
3665 p
3666 _ACEOF
3667 # We use echo to avoid assuming a particular line-breaking character.
3668 # The extra dot is to prevent the shell from consuming trailing
3669 # line-breaks from the sub-command output. A line-break within
3670 # single-quotes doesn't work because, if this script is created in a
3671 # platform that uses two characters for line-breaks (e.g., DOS), tr
3672 # would break.
3673 ac_LF_and_DOT=`echo; echo .`
3674 DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
3675 rm -f confdef2opt.sed
3676
3677
3678 ac_libobjs=
3679 ac_ltlibobjs=
3680 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3681 # 1. Remove the extension, and $U if already installed.
3682 ac_i=`echo "$ac_i" |
3683 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
3684 # 2. Add them.
3685 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
3686 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
3687 done
3688 LIBOBJS=$ac_libobjs
3689
3690 LTLIBOBJS=$ac_ltlibobjs
3691
3692
3693
3694 : ${CONFIG_STATUS=./config.status}
3695 ac_clean_files_save=$ac_clean_files
3696 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3697 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
3698 echo "$as_me: creating $CONFIG_STATUS" >&6;}
3699 cat >$CONFIG_STATUS <<_ACEOF
3700 #! $SHELL
3701 # Generated by $as_me.
3702 # Run this file to recreate the current configuration.
3703 # Compiler output produced by configure, useful for debugging
3704 # configure, is in config.log if it exists.
3705
3706 debug=false
3707 ac_cs_recheck=false
3708 ac_cs_silent=false
3709 SHELL=\${CONFIG_SHELL-$SHELL}
3710 _ACEOF
3711
3712 cat >>$CONFIG_STATUS <<\_ACEOF
3713 ## --------------------- ##
3714 ## M4sh Initialization. ##
3715 ## --------------------- ##
3716
3717 # Be Bourne compatible
3718 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
3719 emulate sh
3720 NULLCMD=:
3721 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
3722 # is contrary to our usage. Disable this feature.
3723 alias -g '${1+"$@"}'='"$@"'
3724 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
3725 set -o posix
3726 fi
3727 DUALCASE=1; export DUALCASE # for MKS sh
3728
3729 # Support unset when possible.
3730 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
3731 as_unset=unset
3732 else
3733 as_unset=false
3734 fi
3735
3736
3737 # Work around bugs in pre-3.0 UWIN ksh.
3738 $as_unset ENV MAIL MAILPATH
3739 PS1='$ '
3740 PS2='> '
3741 PS4='+ '
3742
3743 # NLS nuisances.
3744 for as_var in \
3745 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
3746 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
3747 LC_TELEPHONE LC_TIME
3748 do
3749 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
3750 eval $as_var=C; export $as_var
3751 else
3752 $as_unset $as_var
3753 fi
3754 done
3755
3756 # Required to use basename.
3757 if expr a : '\(a\)' >/dev/null 2>&1; then
3758 as_expr=expr
3759 else
3760 as_expr=false
3761 fi
3762
3763 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
3764 as_basename=basename
3765 else
3766 as_basename=false
3767 fi
3768
3769
3770 # Name of the executable.
3771 as_me=`$as_basename "$0" ||
3772 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3773 X"$0" : 'X\(//\)$' \| \
3774 X"$0" : 'X\(/\)$' \| \
3775 . : '\(.\)' 2>/dev/null ||
3776 echo X/"$0" |
3777 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
3778 /^X\/\(\/\/\)$/{ s//\1/; q; }
3779 /^X\/\(\/\).*/{ s//\1/; q; }
3780 s/.*/./; q'`
3781
3782
3783 # PATH needs CR, and LINENO needs CR and PATH.
3784 # Avoid depending upon Character Ranges.
3785 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3786 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3787 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3788 as_cr_digits='0123456789'
3789 as_cr_alnum=$as_cr_Letters$as_cr_digits
3790
3791 # The user is always right.
3792 if test "${PATH_SEPARATOR+set}" != set; then
3793 echo "#! /bin/sh" >conf$$.sh
3794 echo "exit 0" >>conf$$.sh
3795 chmod +x conf$$.sh
3796 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
3797 PATH_SEPARATOR=';'
3798 else
3799 PATH_SEPARATOR=:
3800 fi
3801 rm -f conf$$.sh
3802 fi
3803
3804
3805 as_lineno_1=$LINENO
3806 as_lineno_2=$LINENO
3807 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
3808 test "x$as_lineno_1" != "x$as_lineno_2" &&
3809 test "x$as_lineno_3" = "x$as_lineno_2" || {
3810 # Find who we are. Look in the path if we contain no path at all
3811 # relative or not.
3812 case $0 in
3813 *[\\/]* ) as_myself=$0 ;;
3814 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3815 for as_dir in $PATH
3816 do
3817 IFS=$as_save_IFS
3818 test -z "$as_dir" && as_dir=.
3819 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3820 done
3821
3822 ;;
3823 esac
3824 # We did not find ourselves, most probably we were run as `sh COMMAND'
3825 # in which case we are not to be found in the path.
3826 if test "x$as_myself" = x; then
3827 as_myself=$0
3828 fi
3829 if test ! -f "$as_myself"; then
3830 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
3831 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
3832 { (exit 1); exit 1; }; }
3833 fi
3834 case $CONFIG_SHELL in
3835 '')
3836 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3837 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
3838 do
3839 IFS=$as_save_IFS
3840 test -z "$as_dir" && as_dir=.
3841 for as_base in sh bash ksh sh5; do
3842 case $as_dir in
3843 /*)
3844 if ("$as_dir/$as_base" -c '
3845 as_lineno_1=$LINENO
3846 as_lineno_2=$LINENO
3847 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
3848 test "x$as_lineno_1" != "x$as_lineno_2" &&
3849 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
3850 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
3851 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
3852 CONFIG_SHELL=$as_dir/$as_base
3853 export CONFIG_SHELL
3854 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
3855 fi;;
3856 esac
3857 done
3858 done
3859 ;;
3860 esac
3861
3862 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
3863 # uniformly replaced by the line number. The first 'sed' inserts a
3864 # line-number line before each line; the second 'sed' does the real
3865 # work. The second script uses 'N' to pair each line-number line
3866 # with the numbered line, and appends trailing '-' during
3867 # substitution so that $LINENO is not a special case at line end.
3868 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
3869 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
3870 sed '=' <$as_myself |
3871 sed '
3872 N
3873 s,$,-,
3874 : loop
3875 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
3876 t loop
3877 s,-$,,
3878 s,^['$as_cr_digits']*\n,,
3879 ' >$as_me.lineno &&
3880 chmod +x $as_me.lineno ||
3881 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
3882 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
3883 { (exit 1); exit 1; }; }
3884
3885 # Don't try to exec as it changes $[0], causing all sort of problems
3886 # (the dirname of $[0] is not the place where we might find the
3887 # original and so on. Autoconf is especially sensible to this).
3888 . ./$as_me.lineno
3889 # Exit status is that of the last command.
3890 exit
3891 }
3892
3893
3894 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
3895 *c*,-n*) ECHO_N= ECHO_C='
3896 ' ECHO_T=' ' ;;
3897 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
3898 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
3899 esac
3900
3901 if expr a : '\(a\)' >/dev/null 2>&1; then
3902 as_expr=expr
3903 else
3904 as_expr=false
3905 fi
3906
3907 rm -f conf$$ conf$$.exe conf$$.file
3908 echo >conf$$.file
3909 if ln -s conf$$.file conf$$ 2>/dev/null; then
3910 # We could just check for DJGPP; but this test a) works b) is more generic
3911 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
3912 if test -f conf$$.exe; then
3913 # Don't use ln at all; we don't have any links
3914 as_ln_s='cp -p'
3915 else
3916 as_ln_s='ln -s'
3917 fi
3918 elif ln conf$$.file conf$$ 2>/dev/null; then
3919 as_ln_s=ln
3920 else
3921 as_ln_s='cp -p'
3922 fi
3923 rm -f conf$$ conf$$.exe conf$$.file
3924
3925 if mkdir -p . 2>/dev/null; then
3926 as_mkdir_p=:
3927 else
3928 test -d ./-p && rmdir ./-p
3929 as_mkdir_p=false
3930 fi
3931
3932 as_executable_p="test -f"
3933
3934 # Sed expression to map a string onto a valid CPP name.
3935 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3936
3937 # Sed expression to map a string onto a valid variable name.
3938 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3939
3940
3941 # IFS
3942 # We need space, tab and new line, in precisely that order.
3943 as_nl='
3944 '
3945 IFS=" $as_nl"
3946
3947 # CDPATH.
3948 $as_unset CDPATH
3949
3950 exec 6>&1
3951
3952 # Open the log real soon, to keep \$[0] and so on meaningful, and to
3953 # report actual input values of CONFIG_FILES etc. instead of their
3954 # values after options handling. Logging --version etc. is OK.
3955 exec 5>>config.log
3956 {
3957 echo
3958 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3959 ## Running $as_me. ##
3960 _ASBOX
3961 } >&5
3962 cat >&5 <<_CSEOF
3963
3964 This file was extended by GNU C Runtime Library $as_me 1.0, which was
3965 generated by GNU Autoconf 2.59. Invocation command line was
3966
3967 CONFIG_FILES = $CONFIG_FILES
3968 CONFIG_HEADERS = $CONFIG_HEADERS
3969 CONFIG_LINKS = $CONFIG_LINKS
3970 CONFIG_COMMANDS = $CONFIG_COMMANDS
3971 $ $0 $@
3972
3973 _CSEOF
3974 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
3975 echo >&5
3976 _ACEOF
3977
3978 # Files that config.status was made for.
3979 if test -n "$ac_config_files"; then
3980 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
3981 fi
3982
3983 if test -n "$ac_config_headers"; then
3984 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
3985 fi
3986
3987 if test -n "$ac_config_links"; then
3988 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
3989 fi
3990
3991 if test -n "$ac_config_commands"; then
3992 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
3993 fi
3994
3995 cat >>$CONFIG_STATUS <<\_ACEOF
3996
3997 ac_cs_usage="\
3998 \`$as_me' instantiates files from templates according to the
3999 current configuration.
4000
4001 Usage: $0 [OPTIONS] [FILE]...
4002
4003 -h, --help print this help, then exit
4004 -V, --version print version number, then exit
4005 -q, --quiet do not print progress messages
4006 -d, --debug don't remove temporary files
4007 --recheck update $as_me by reconfiguring in the same conditions
4008 --file=FILE[:TEMPLATE]
4009 instantiate the configuration file FILE
4010
4011 Configuration files:
4012 $config_files
4013
4014 Configuration commands:
4015 $config_commands
4016
4017 Report bugs to <bug-autoconf@gnu.org>."
4018 _ACEOF
4019
4020 cat >>$CONFIG_STATUS <<_ACEOF
4021 ac_cs_version="\\
4022 GNU C Runtime Library config.status 1.0
4023 configured by $0, generated by GNU Autoconf 2.59,
4024 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
4025
4026 Copyright (C) 2003 Free Software Foundation, Inc.
4027 This config.status script is free software; the Free Software Foundation
4028 gives unlimited permission to copy, distribute and modify it."
4029 srcdir=$srcdir
4030 INSTALL="$INSTALL"
4031 _ACEOF
4032
4033 cat >>$CONFIG_STATUS <<\_ACEOF
4034 # If no file are specified by the user, then we need to provide default
4035 # value. By we need to know if files were specified by the user.
4036 ac_need_defaults=:
4037 while test $# != 0
4038 do
4039 case $1 in
4040 --*=*)
4041 ac_option=`expr "x$1" : 'x\([^=]*\)='`
4042 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
4043 ac_shift=:
4044 ;;
4045 -*)
4046 ac_option=$1
4047 ac_optarg=$2
4048 ac_shift=shift
4049 ;;
4050 *) # This is not an option, so the user has probably given explicit
4051 # arguments.
4052 ac_option=$1
4053 ac_need_defaults=false;;
4054 esac
4055
4056 case $ac_option in
4057 # Handling of the options.
4058 _ACEOF
4059 cat >>$CONFIG_STATUS <<\_ACEOF
4060 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4061 ac_cs_recheck=: ;;
4062 --version | --vers* | -V )
4063 echo "$ac_cs_version"; exit 0 ;;
4064 --he | --h)
4065 # Conflict between --help and --header
4066 { { echo "$as_me:$LINENO: error: ambiguous option: $1
4067 Try \`$0 --help' for more information." >&5
4068 echo "$as_me: error: ambiguous option: $1
4069 Try \`$0 --help' for more information." >&2;}
4070 { (exit 1); exit 1; }; };;
4071 --help | --hel | -h )
4072 echo "$ac_cs_usage"; exit 0 ;;
4073 --debug | --d* | -d )
4074 debug=: ;;
4075 --file | --fil | --fi | --f )
4076 $ac_shift
4077 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
4078 ac_need_defaults=false;;
4079 --header | --heade | --head | --hea )
4080 $ac_shift
4081 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
4082 ac_need_defaults=false;;
4083 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4084 | -silent | --silent | --silen | --sile | --sil | --si | --s)
4085 ac_cs_silent=: ;;
4086
4087 # This is an error.
4088 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
4089 Try \`$0 --help' for more information." >&5
4090 echo "$as_me: error: unrecognized option: $1
4091 Try \`$0 --help' for more information." >&2;}
4092 { (exit 1); exit 1; }; } ;;
4093
4094 *) ac_config_targets="$ac_config_targets $1" ;;
4095
4096 esac
4097 shift
4098 done
4099
4100 ac_configure_extra_args=
4101
4102 if $ac_cs_silent; then
4103 exec 6>/dev/null
4104 ac_configure_extra_args="$ac_configure_extra_args --silent"
4105 fi
4106
4107 _ACEOF
4108 cat >>$CONFIG_STATUS <<_ACEOF
4109 if \$ac_cs_recheck; then
4110 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
4111 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4112 fi
4113
4114 _ACEOF
4115
4116 cat >>$CONFIG_STATUS <<_ACEOF
4117 #
4118 # INIT-COMMANDS section.
4119 #
4120
4121 srcdir=${srcdir}
4122 host=${host}
4123 with_target_subdir=${with_target_subdir}
4124 with_multisubdir=${with_multisubdir}
4125 ac_configure_args="--enable-multilib ${ac_configure_args}"
4126 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
4127 libgcc_topdir=${libgcc_topdir}
4128 CC="${CC}"
4129
4130
4131 _ACEOF
4132
4133
4134
4135 cat >>$CONFIG_STATUS <<\_ACEOF
4136 for ac_config_target in $ac_config_targets
4137 do
4138 case "$ac_config_target" in
4139 # Handling of arguments.
4140 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4141 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
4142 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
4143 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
4144 { (exit 1); exit 1; }; };;
4145 esac
4146 done
4147
4148 # If the user did not use the arguments to specify the items to instantiate,
4149 # then the envvar interface is used. Set only those that are not.
4150 # We use the long form for the default assignment because of an extremely
4151 # bizarre bug on SunOS 4.1.3.
4152 if $ac_need_defaults; then
4153 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4154 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
4155 fi
4156
4157 # Have a temporary directory for convenience. Make it in the build tree
4158 # simply because there is no reason to put it here, and in addition,
4159 # creating and moving files from /tmp can sometimes cause problems.
4160 # Create a temporary directory, and hook for its removal unless debugging.
4161 $debug ||
4162 {
4163 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
4164 trap '{ (exit 1); exit 1; }' 1 2 13 15
4165 }
4166
4167 # Create a (secure) tmp directory for tmp files.
4168
4169 {
4170 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
4171 test -n "$tmp" && test -d "$tmp"
4172 } ||
4173 {
4174 tmp=./confstat$$-$RANDOM
4175 (umask 077 && mkdir $tmp)
4176 } ||
4177 {
4178 echo "$me: cannot create a temporary directory in ." >&2
4179 { (exit 1); exit 1; }
4180 }
4181
4182 _ACEOF
4183
4184 cat >>$CONFIG_STATUS <<_ACEOF
4185
4186 #
4187 # CONFIG_FILES section.
4188 #
4189
4190 # No need to generate the scripts if there are no CONFIG_FILES.
4191 # This happens for instance when ./config.status config.h
4192 if test -n "\$CONFIG_FILES"; then
4193 # Protect against being on the right side of a sed subst in config.status.
4194 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
4195 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
4196 s,@SHELL@,$SHELL,;t t
4197 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
4198 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
4199 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
4200 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
4201 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
4202 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
4203 s,@exec_prefix@,$exec_prefix,;t t
4204 s,@prefix@,$prefix,;t t
4205 s,@program_transform_name@,$program_transform_name,;t t
4206 s,@bindir@,$bindir,;t t
4207 s,@sbindir@,$sbindir,;t t
4208 s,@libexecdir@,$libexecdir,;t t
4209 s,@datadir@,$datadir,;t t
4210 s,@sysconfdir@,$sysconfdir,;t t
4211 s,@sharedstatedir@,$sharedstatedir,;t t
4212 s,@localstatedir@,$localstatedir,;t t
4213 s,@libdir@,$libdir,;t t
4214 s,@includedir@,$includedir,;t t
4215 s,@oldincludedir@,$oldincludedir,;t t
4216 s,@infodir@,$infodir,;t t
4217 s,@mandir@,$mandir,;t t
4218 s,@build_alias@,$build_alias,;t t
4219 s,@host_alias@,$host_alias,;t t
4220 s,@target_alias@,$target_alias,;t t
4221 s,@DEFS@,$DEFS,;t t
4222 s,@ECHO_C@,$ECHO_C,;t t
4223 s,@ECHO_N@,$ECHO_N,;t t
4224 s,@ECHO_T@,$ECHO_T,;t t
4225 s,@LIBS@,$LIBS,;t t
4226 s,@libgcc_topdir@,$libgcc_topdir,;t t
4227 s,@enable_shared@,$enable_shared,;t t
4228 s,@slibdir@,$slibdir,;t t
4229 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
4230 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
4231 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
4232 s,@AWK@,$AWK,;t t
4233 s,@build@,$build,;t t
4234 s,@build_cpu@,$build_cpu,;t t
4235 s,@build_vendor@,$build_vendor,;t t
4236 s,@build_os@,$build_os,;t t
4237 s,@host@,$host,;t t
4238 s,@host_cpu@,$host_cpu,;t t
4239 s,@host_vendor@,$host_vendor,;t t
4240 s,@host_os@,$host_os,;t t
4241 s,@host_noncanonical@,$host_noncanonical,;t t
4242 s,@build_libsubdir@,$build_libsubdir,;t t
4243 s,@build_subdir@,$build_subdir,;t t
4244 s,@host_subdir@,$host_subdir,;t t
4245 s,@target_subdir@,$target_subdir,;t t
4246 s,@AR@,$AR,;t t
4247 s,@ac_ct_AR@,$ac_ct_AR,;t t
4248 s,@LIPO@,$LIPO,;t t
4249 s,@ac_ct_LIPO@,$ac_ct_LIPO,;t t
4250 s,@NM@,$NM,;t t
4251 s,@ac_ct_NM@,$ac_ct_NM,;t t
4252 s,@RANLIB@,$RANLIB,;t t
4253 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
4254 s,@STRIP@,$STRIP,;t t
4255 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
4256 s,@LN_S@,$LN_S,;t t
4257 s,@CC@,$CC,;t t
4258 s,@CFLAGS@,$CFLAGS,;t t
4259 s,@LDFLAGS@,$LDFLAGS,;t t
4260 s,@CPPFLAGS@,$CPPFLAGS,;t t
4261 s,@ac_ct_CC@,$ac_ct_CC,;t t
4262 s,@EXEEXT@,$EXEEXT,;t t
4263 s,@OBJEXT@,$OBJEXT,;t t
4264 s,@CPP@,$CPP,;t t
4265 s,@decimal_float@,$decimal_float,;t t
4266 s,@enable_decimal_float@,$enable_decimal_float,;t t
4267 s,@fixed_point@,$fixed_point,;t t
4268 s,@vis_hide@,$vis_hide,;t t
4269 s,@set_have_cc_tls@,$set_have_cc_tls,;t t
4270 s,@tmake_file@,$tmake_file,;t t
4271 s,@extra_parts@,$extra_parts,;t t
4272 s,@asm_hidden_op@,$asm_hidden_op,;t t
4273 s,@LIBOBJS@,$LIBOBJS,;t t
4274 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
4275 CEOF
4276
4277 _ACEOF
4278
4279 cat >>$CONFIG_STATUS <<\_ACEOF
4280 # Split the substitutions into bite-sized pieces for seds with
4281 # small command number limits, like on Digital OSF/1 and HP-UX.
4282 ac_max_sed_lines=48
4283 ac_sed_frag=1 # Number of current file.
4284 ac_beg=1 # First line for current file.
4285 ac_end=$ac_max_sed_lines # Line after last line for current file.
4286 ac_more_lines=:
4287 ac_sed_cmds=
4288 while $ac_more_lines; do
4289 if test $ac_beg -gt 1; then
4290 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
4291 else
4292 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
4293 fi
4294 if test ! -s $tmp/subs.frag; then
4295 ac_more_lines=false
4296 else
4297 # The purpose of the label and of the branching condition is to
4298 # speed up the sed processing (if there are no `@' at all, there
4299 # is no need to browse any of the substitutions).
4300 # These are the two extra sed commands mentioned above.
4301 (echo ':t
4302 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
4303 if test -z "$ac_sed_cmds"; then
4304 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
4305 else
4306 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
4307 fi
4308 ac_sed_frag=`expr $ac_sed_frag + 1`
4309 ac_beg=$ac_end
4310 ac_end=`expr $ac_end + $ac_max_sed_lines`
4311 fi
4312 done
4313 if test -z "$ac_sed_cmds"; then
4314 ac_sed_cmds=cat
4315 fi
4316 fi # test -n "$CONFIG_FILES"
4317
4318 _ACEOF
4319 cat >>$CONFIG_STATUS <<\_ACEOF
4320 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
4321 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
4322 case $ac_file in
4323 - | *:- | *:-:* ) # input from stdin
4324 cat >$tmp/stdin
4325 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4326 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4327 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4328 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4329 * ) ac_file_in=$ac_file.in ;;
4330 esac
4331
4332 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
4333 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
4334 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4335 X"$ac_file" : 'X\(//\)[^/]' \| \
4336 X"$ac_file" : 'X\(//\)$' \| \
4337 X"$ac_file" : 'X\(/\)' \| \
4338 . : '\(.\)' 2>/dev/null ||
4339 echo X"$ac_file" |
4340 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4341 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4342 /^X\(\/\/\)$/{ s//\1/; q; }
4343 /^X\(\/\).*/{ s//\1/; q; }
4344 s/.*/./; q'`
4345 { if $as_mkdir_p; then
4346 mkdir -p "$ac_dir"
4347 else
4348 as_dir="$ac_dir"
4349 as_dirs=
4350 while test ! -d "$as_dir"; do
4351 as_dirs="$as_dir $as_dirs"
4352 as_dir=`(dirname "$as_dir") 2>/dev/null ||
4353 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4354 X"$as_dir" : 'X\(//\)[^/]' \| \
4355 X"$as_dir" : 'X\(//\)$' \| \
4356 X"$as_dir" : 'X\(/\)' \| \
4357 . : '\(.\)' 2>/dev/null ||
4358 echo X"$as_dir" |
4359 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4360 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4361 /^X\(\/\/\)$/{ s//\1/; q; }
4362 /^X\(\/\).*/{ s//\1/; q; }
4363 s/.*/./; q'`
4364 done
4365 test ! -n "$as_dirs" || mkdir $as_dirs
4366 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
4367 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
4368 { (exit 1); exit 1; }; }; }
4369
4370 ac_builddir=.
4371
4372 if test "$ac_dir" != .; then
4373 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4374 # A "../" for each directory in $ac_dir_suffix.
4375 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
4376 else
4377 ac_dir_suffix= ac_top_builddir=
4378 fi
4379
4380 case $srcdir in
4381 .) # No --srcdir option. We are building in place.
4382 ac_srcdir=.
4383 if test -z "$ac_top_builddir"; then
4384 ac_top_srcdir=.
4385 else
4386 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
4387 fi ;;
4388 [\\/]* | ?:[\\/]* ) # Absolute path.
4389 ac_srcdir=$srcdir$ac_dir_suffix;
4390 ac_top_srcdir=$srcdir ;;
4391 *) # Relative path.
4392 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
4393 ac_top_srcdir=$ac_top_builddir$srcdir ;;
4394 esac
4395
4396 # Do not use `cd foo && pwd` to compute absolute paths, because
4397 # the directories may not exist.
4398 case `pwd` in
4399 .) ac_abs_builddir="$ac_dir";;
4400 *)
4401 case "$ac_dir" in
4402 .) ac_abs_builddir=`pwd`;;
4403 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
4404 *) ac_abs_builddir=`pwd`/"$ac_dir";;
4405 esac;;
4406 esac
4407 case $ac_abs_builddir in
4408 .) ac_abs_top_builddir=${ac_top_builddir}.;;
4409 *)
4410 case ${ac_top_builddir}. in
4411 .) ac_abs_top_builddir=$ac_abs_builddir;;
4412 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
4413 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
4414 esac;;
4415 esac
4416 case $ac_abs_builddir in
4417 .) ac_abs_srcdir=$ac_srcdir;;
4418 *)
4419 case $ac_srcdir in
4420 .) ac_abs_srcdir=$ac_abs_builddir;;
4421 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
4422 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
4423 esac;;
4424 esac
4425 case $ac_abs_builddir in
4426 .) ac_abs_top_srcdir=$ac_top_srcdir;;
4427 *)
4428 case $ac_top_srcdir in
4429 .) ac_abs_top_srcdir=$ac_abs_builddir;;
4430 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
4431 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
4432 esac;;
4433 esac
4434
4435
4436 case $INSTALL in
4437 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
4438 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
4439 esac
4440
4441 if test x"$ac_file" != x-; then
4442 { echo "$as_me:$LINENO: creating $ac_file" >&5
4443 echo "$as_me: creating $ac_file" >&6;}
4444 rm -f "$ac_file"
4445 fi
4446 # Let's still pretend it is `configure' which instantiates (i.e., don't
4447 # use $as_me), people would be surprised to read:
4448 # /* config.h. Generated by config.status. */
4449 if test x"$ac_file" = x-; then
4450 configure_input=
4451 else
4452 configure_input="$ac_file. "
4453 fi
4454 configure_input=$configure_input"Generated from `echo $ac_file_in |
4455 sed 's,.*/,,'` by configure."
4456
4457 # First look for the input files in the build tree, otherwise in the
4458 # src tree.
4459 ac_file_inputs=`IFS=:
4460 for f in $ac_file_in; do
4461 case $f in
4462 -) echo $tmp/stdin ;;
4463 [\\/$]*)
4464 # Absolute (can't be DOS-style, as IFS=:)
4465 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4466 echo "$as_me: error: cannot find input file: $f" >&2;}
4467 { (exit 1); exit 1; }; }
4468 echo "$f";;
4469 *) # Relative
4470 if test -f "$f"; then
4471 # Build tree
4472 echo "$f"
4473 elif test -f "$srcdir/$f"; then
4474 # Source tree
4475 echo "$srcdir/$f"
4476 else
4477 # /dev/null tree
4478 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4479 echo "$as_me: error: cannot find input file: $f" >&2;}
4480 { (exit 1); exit 1; }; }
4481 fi;;
4482 esac
4483 done` || { (exit 1); exit 1; }
4484 _ACEOF
4485 cat >>$CONFIG_STATUS <<_ACEOF
4486 sed "$ac_vpsub
4487 $extrasub
4488 _ACEOF
4489 cat >>$CONFIG_STATUS <<\_ACEOF
4490 :t
4491 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4492 s,@configure_input@,$configure_input,;t t
4493 s,@srcdir@,$ac_srcdir,;t t
4494 s,@abs_srcdir@,$ac_abs_srcdir,;t t
4495 s,@top_srcdir@,$ac_top_srcdir,;t t
4496 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
4497 s,@builddir@,$ac_builddir,;t t
4498 s,@abs_builddir@,$ac_abs_builddir,;t t
4499 s,@top_builddir@,$ac_top_builddir,;t t
4500 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
4501 s,@INSTALL@,$ac_INSTALL,;t t
4502 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
4503 rm -f $tmp/stdin
4504 if test x"$ac_file" != x-; then
4505 mv $tmp/out $ac_file
4506 else
4507 cat $tmp/out
4508 rm -f $tmp/out
4509 fi
4510
4511 done
4512 _ACEOF
4513 cat >>$CONFIG_STATUS <<\_ACEOF
4514
4515 #
4516 # CONFIG_COMMANDS section.
4517 #
4518 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
4519 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
4520 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
4521 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
4522 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4523 X"$ac_dest" : 'X\(//\)[^/]' \| \
4524 X"$ac_dest" : 'X\(//\)$' \| \
4525 X"$ac_dest" : 'X\(/\)' \| \
4526 . : '\(.\)' 2>/dev/null ||
4527 echo X"$ac_dest" |
4528 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4529 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4530 /^X\(\/\/\)$/{ s//\1/; q; }
4531 /^X\(\/\).*/{ s//\1/; q; }
4532 s/.*/./; q'`
4533 { if $as_mkdir_p; then
4534 mkdir -p "$ac_dir"
4535 else
4536 as_dir="$ac_dir"
4537 as_dirs=
4538 while test ! -d "$as_dir"; do
4539 as_dirs="$as_dir $as_dirs"
4540 as_dir=`(dirname "$as_dir") 2>/dev/null ||
4541 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4542 X"$as_dir" : 'X\(//\)[^/]' \| \
4543 X"$as_dir" : 'X\(//\)$' \| \
4544 X"$as_dir" : 'X\(/\)' \| \
4545 . : '\(.\)' 2>/dev/null ||
4546 echo X"$as_dir" |
4547 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4548 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4549 /^X\(\/\/\)$/{ s//\1/; q; }
4550 /^X\(\/\).*/{ s//\1/; q; }
4551 s/.*/./; q'`
4552 done
4553 test ! -n "$as_dirs" || mkdir $as_dirs
4554 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
4555 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
4556 { (exit 1); exit 1; }; }; }
4557
4558 ac_builddir=.
4559
4560 if test "$ac_dir" != .; then
4561 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4562 # A "../" for each directory in $ac_dir_suffix.
4563 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
4564 else
4565 ac_dir_suffix= ac_top_builddir=
4566 fi
4567
4568 case $srcdir in
4569 .) # No --srcdir option. We are building in place.
4570 ac_srcdir=.
4571 if test -z "$ac_top_builddir"; then
4572 ac_top_srcdir=.
4573 else
4574 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
4575 fi ;;
4576 [\\/]* | ?:[\\/]* ) # Absolute path.
4577 ac_srcdir=$srcdir$ac_dir_suffix;
4578 ac_top_srcdir=$srcdir ;;
4579 *) # Relative path.
4580 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
4581 ac_top_srcdir=$ac_top_builddir$srcdir ;;
4582 esac
4583
4584 # Do not use `cd foo && pwd` to compute absolute paths, because
4585 # the directories may not exist.
4586 case `pwd` in
4587 .) ac_abs_builddir="$ac_dir";;
4588 *)
4589 case "$ac_dir" in
4590 .) ac_abs_builddir=`pwd`;;
4591 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
4592 *) ac_abs_builddir=`pwd`/"$ac_dir";;
4593 esac;;
4594 esac
4595 case $ac_abs_builddir in
4596 .) ac_abs_top_builddir=${ac_top_builddir}.;;
4597 *)
4598 case ${ac_top_builddir}. in
4599 .) ac_abs_top_builddir=$ac_abs_builddir;;
4600 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
4601 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
4602 esac;;
4603 esac
4604 case $ac_abs_builddir in
4605 .) ac_abs_srcdir=$ac_srcdir;;
4606 *)
4607 case $ac_srcdir in
4608 .) ac_abs_srcdir=$ac_abs_builddir;;
4609 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
4610 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
4611 esac;;
4612 esac
4613 case $ac_abs_builddir in
4614 .) ac_abs_top_srcdir=$ac_top_srcdir;;
4615 *)
4616 case $ac_top_srcdir in
4617 .) ac_abs_top_srcdir=$ac_abs_builddir;;
4618 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
4619 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
4620 esac;;
4621 esac
4622
4623
4624 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
4625 echo "$as_me: executing $ac_dest commands" >&6;}
4626 case $ac_dest in
4627 default ) test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
4628 if test -n "$CONFIG_FILES"; then
4629 # FIXME: We shouldn't need to set ac_file
4630 ac_file=Makefile
4631 . ${libgcc_topdir}/config-ml.in
4632 fi ;;
4633 esac
4634 done
4635 _ACEOF
4636
4637 cat >>$CONFIG_STATUS <<\_ACEOF
4638
4639 { (exit 0); exit 0; }
4640 _ACEOF
4641 chmod +x $CONFIG_STATUS
4642 ac_clean_files=$ac_clean_files_save
4643
4644
4645 # configure is writing to config.log, and then calls config.status.
4646 # config.status does its own redirection, appending to config.log.
4647 # Unfortunately, on DOS this fails, as config.log is still kept open
4648 # by configure, so config.status won't be able to write to it; its
4649 # output is simply discarded. So we exec the FD to /dev/null,
4650 # effectively closing config.log, so it can be properly (re)opened and
4651 # appended to by config.status. When coming back to configure, we
4652 # need to make the FD available again.
4653 if test "$no_create" != yes; then
4654 ac_cs_success=:
4655 ac_config_status_args=
4656 test "$silent" = yes &&
4657 ac_config_status_args="$ac_config_status_args --quiet"
4658 exec 5>/dev/null
4659 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4660 exec 5>>config.log
4661 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4662 # would make configure fail if this is the last instruction.
4663 $ac_cs_success || { (exit 1); exit 1; }
4664 fi
4665