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