configure.ac: Add --enable-version-specific-runtime-libs.
[gcc.git] / libgcc / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for GNU C Runtime Library 1.0.
4 #
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization. ##
10 ## --------------------- ##
11
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
14 emulate sh
15 NULLCMD=:
16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17 # is contrary to our usage. Disable this feature.
18 alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
20 set -o posix
21 fi
22 DUALCASE=1; export DUALCASE # for MKS sh
23
24 # Support unset when possible.
25 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
26 as_unset=unset
27 else
28 as_unset=false
29 fi
30
31
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
34 PS1='$ '
35 PS2='> '
36 PS4='+ '
37
38 # NLS nuisances.
39 for as_var in \
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
42 LC_TELEPHONE LC_TIME
43 do
44 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C; export $as_var
46 else
47 $as_unset $as_var
48 fi
49 done
50
51 # Required to use basename.
52 if expr a : '\(a\)' >/dev/null 2>&1; then
53 as_expr=expr
54 else
55 as_expr=false
56 fi
57
58 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
59 as_basename=basename
60 else
61 as_basename=false
62 fi
63
64
65 # Name of the executable.
66 as_me=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
71 echo X/"$0" |
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
75 s/.*/./; q'`
76
77
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits='0123456789'
84 as_cr_alnum=$as_cr_Letters$as_cr_digits
85
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh
89 echo "exit 0" >>conf$$.sh
90 chmod +x conf$$.sh
91 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
92 PATH_SEPARATOR=';'
93 else
94 PATH_SEPARATOR=:
95 fi
96 rm -f conf$$.sh
97 fi
98
99
100 as_lineno_1=$LINENO
101 as_lineno_2=$LINENO
102 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
103 test "x$as_lineno_1" != "x$as_lineno_2" &&
104 test "x$as_lineno_3" = "x$as_lineno_2" || {
105 # Find who we are. Look in the path if we contain no path at all
106 # relative or not.
107 case $0 in
108 *[\\/]* ) as_myself=$0 ;;
109 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
110 for as_dir in $PATH
111 do
112 IFS=$as_save_IFS
113 test -z "$as_dir" && as_dir=.
114 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
115 done
116
117 ;;
118 esac
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if test "x$as_myself" = x; then
122 as_myself=$0
123 fi
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
127 fi
128 case $CONFIG_SHELL in
129 '')
130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
132 do
133 IFS=$as_save_IFS
134 test -z "$as_dir" && as_dir=.
135 for as_base in sh bash ksh sh5; do
136 case $as_dir in
137 /*)
138 if ("$as_dir/$as_base" -c '
139 as_lineno_1=$LINENO
140 as_lineno_2=$LINENO
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
144 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
145 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
146 CONFIG_SHELL=$as_dir/$as_base
147 export CONFIG_SHELL
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
149 fi;;
150 esac
151 done
152 done
153 ;;
154 esac
155
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real
159 # work. The second script uses 'N' to pair each line-number line
160 # with the numbered line, and appends trailing '-' during
161 # substitution so that $LINENO is not a special case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164 sed '=' <$as_myself |
165 sed '
166 N
167 s,$,-,
168 : loop
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
170 t loop
171 s,-$,,
172 s,^['$as_cr_digits']*\n,,
173 ' >$as_me.lineno &&
174 chmod +x $as_me.lineno ||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; }
177
178 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this).
181 . ./$as_me.lineno
182 # Exit status is that of the last command.
183 exit
184 }
185
186
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c*,-n*) ECHO_N= ECHO_C='
189 ' ECHO_T=' ' ;;
190 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
191 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
192 esac
193
194 if expr a : '\(a\)' >/dev/null 2>&1; then
195 as_expr=expr
196 else
197 as_expr=false
198 fi
199
200 rm -f conf$$ conf$$.exe conf$$.file
201 echo >conf$$.file
202 if ln -s conf$$.file conf$$ 2>/dev/null; then
203 # We could just check for DJGPP; but this test a) works b) is more generic
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205 if test -f conf$$.exe; then
206 # Don't use ln at all; we don't have any links
207 as_ln_s='cp -p'
208 else
209 as_ln_s='ln -s'
210 fi
211 elif ln conf$$.file conf$$ 2>/dev/null; then
212 as_ln_s=ln
213 else
214 as_ln_s='cp -p'
215 fi
216 rm -f conf$$ conf$$.exe conf$$.file
217
218 if mkdir -p . 2>/dev/null; then
219 as_mkdir_p=:
220 else
221 test -d ./-p && rmdir ./-p
222 as_mkdir_p=false
223 fi
224
225 as_executable_p="test -f"
226
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
229
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
232
233
234 # IFS
235 # We need space, tab and new line, in precisely that order.
236 as_nl='
237 '
238 IFS=" $as_nl"
239
240 # CDPATH.
241 $as_unset CDPATH
242
243
244 # Name of the host.
245 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246 # so uname gets run too.
247 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
248
249 exec 6>&1
250
251 #
252 # Initializations.
253 #
254 ac_default_prefix=/usr/local
255 ac_config_libobj_dir=.
256 cross_compiling=no
257 subdirs=
258 MFLAGS=
259 MAKEFLAGS=
260 SHELL=${CONFIG_SHELL-/bin/sh}
261
262 # Maximum number of lines to put in a shell here document.
263 # This variable seems obsolete. It should probably be removed, and
264 # only ac_max_sed_lines should be used.
265 : ${ac_max_here_lines=38}
266
267 # Identity of this package.
268 PACKAGE_NAME='GNU C Runtime Library'
269 PACKAGE_TARNAME='libgcc'
270 PACKAGE_VERSION='1.0'
271 PACKAGE_STRING='GNU C Runtime Library 1.0'
272 PACKAGE_BUGREPORT=''
273
274 ac_unique_file="static-object.mk"
275 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS libgcc_topdir enable_shared slibdir INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA AWK build build_cpu build_vendor build_os host host_cpu host_vendor host_os host_noncanonical build_libsubdir build_subdir host_subdir target_subdir AR ac_ct_AR LIPO ac_ct_LIPO NM ac_ct_NM RANLIB ac_ct_RANLIB STRIP ac_ct_STRIP LN_S CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP decimal_float vis_hide tmake_file extra_parts asm_hidden_op LIBOBJS LTLIBOBJS'
276 ac_subst_files=''
277
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
297
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'
315
316 ac_prev=
317 for ac_option
318 do
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
324 fi
325
326 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
327
328 # Accept the important Cygnus configure options, so we can diagnose typos.
329
330 case $ac_option in
331
332 -bindir | --bindir | --bindi | --bind | --bin | --bi)
333 ac_prev=bindir ;;
334 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
335 bindir=$ac_optarg ;;
336
337 -build | --build | --buil | --bui | --bu)
338 ac_prev=build_alias ;;
339 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
340 build_alias=$ac_optarg ;;
341
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 ;;
348
349 --config-cache | -C)
350 cache_file=config.cache ;;
351
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 ;;
357
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" ;;
366
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'" ;;
379
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 ;;
388
389 -gas | --gas | --ga | --g)
390 # Obsolete; use --with-gas.
391 with_gas=yes ;;
392
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 ;;
399
400 -host | --host | --hos | --ho)
401 ac_prev=host_alias ;;
402 -host=* | --host=* | --hos=* | --ho=*)
403 host_alias=$ac_optarg ;;
404
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 ;;
411
412 -infodir | --infodir | --infodi | --infod | --info | --inf)
413 ac_prev=infodir ;;
414 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
415 infodir=$ac_optarg ;;
416
417 -libdir | --libdir | --libdi | --libd)
418 ac_prev=libdir ;;
419 -libdir=* | --libdir=* | --libdi=* | --libd=*)
420 libdir=$ac_optarg ;;
421
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 ;;
428
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 ;;
437
438 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
439 ac_prev=mandir ;;
440 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
441 mandir=$ac_optarg ;;
442
443 -nfp | --nfp | --nf)
444 # Obsolete; use --without-fp.
445 with_fp=no ;;
446
447 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
448 | --no-cr | --no-c | -n)
449 no_create=yes ;;
450
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 ;;
454
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 ;;
463
464 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
465 ac_prev=prefix ;;
466 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
467 prefix=$ac_optarg ;;
468
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 ;;
475
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 ;;
482
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 ;;
499
500 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
501 | -silent | --silent | --silen | --sile | --sil)
502 silent=yes ;;
503
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 ;;
509
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 ;;
520
521 -site | --site | --sit)
522 ac_prev=site ;;
523 -site=* | --site=* | --sit=*)
524 site=$ac_optarg ;;
525
526 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
527 ac_prev=srcdir ;;
528 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
529 srcdir=$ac_optarg ;;
530
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 ;;
537
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 ;;
542
543 -v | -verbose | --verbose | --verbos | --verbo | --verb)
544 verbose=yes ;;
545
546 -version | --version | --versio | --versi | --vers | -V)
547 ac_init_version=: ;;
548
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'" ;;
561
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" ;;
570
571 --x)
572 # Obsolete; use --with-x.
573 with_x=yes ;;
574
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 ;;
581
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 ;;
588
589 -*) { echo "$as_me: error: unrecognized option: $ac_option
590 Try \`$0 --help' for more information." >&2
591 { (exit 1); exit 1; }; }
592 ;;
593
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 ;;
603
604 *)
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}
610 ;;
611
612 esac
613 done
614
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; }; }
619 fi
620
621 # Be sure to have absolute paths.
622 for ac_var in exec_prefix prefix
623 do
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
631
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
635 do
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
643
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
650
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
659 fi
660 fi
661
662 ac_tool_prefix=
663 test -n "$host_alias" && ac_tool_prefix=$host_alias-
664
665 test "$silent" = yes && exec 6>/dev/null
666
667
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=..
687 fi
688 else
689 ac_srcdir_defaulted=no
690 fi
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; }; }
698 fi
699 fi
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
736
737 #
738 # Report the --help message.
739 #
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.
745
746 Usage: $0 [OPTION]... [VAR=VALUE]...
747
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.
750
751 Defaults for the options are specified in brackets.
752
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 \`..']
763
764 _ACEOF
765
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]
772
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'.
777
778 For better control, use the options below.
779
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
794
795 cat <<\_ACEOF
796
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
801 fi
802
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
808
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
815 Optional Packages:
816 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
817 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
818 --with-target-subdir=SUBDIR Configuring in a subdirectory for target
819 --with-cross-host=HOST Configuring with a cross compiler
820 --with-ld arrange to use the specified ld (full pathname)
821 --with-slibdir=DIR shared libraries in DIR LIBDIR
822 --with-build-libsubdir=DIR Directory where to find libraries for build system
823
824 Some influential environment variables:
825 CC C compiler command
826 CFLAGS C compiler flags
827 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
828 nonstandard directory <lib dir>
829 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
830 headers in a nonstandard directory <include dir>
831 CPP C preprocessor
832
833 Use these variables to override the choices made by `configure' or to help
834 it to find libraries and programs with nonstandard names/locations.
835
836 _ACEOF
837 fi
838
839 if test "$ac_init_help" = "recursive"; then
840 # If there are subdirs, report their specific --help.
841 ac_popdir=`pwd`
842 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
843 test -d $ac_dir || continue
844 ac_builddir=.
845
846 if test "$ac_dir" != .; then
847 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
848 # A "../" for each directory in $ac_dir_suffix.
849 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
850 else
851 ac_dir_suffix= ac_top_builddir=
852 fi
853
854 case $srcdir in
855 .) # No --srcdir option. We are building in place.
856 ac_srcdir=.
857 if test -z "$ac_top_builddir"; then
858 ac_top_srcdir=.
859 else
860 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
861 fi ;;
862 [\\/]* | ?:[\\/]* ) # Absolute path.
863 ac_srcdir=$srcdir$ac_dir_suffix;
864 ac_top_srcdir=$srcdir ;;
865 *) # Relative path.
866 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
867 ac_top_srcdir=$ac_top_builddir$srcdir ;;
868 esac
869
870 # Do not use `cd foo && pwd` to compute absolute paths, because
871 # the directories may not exist.
872 case `pwd` in
873 .) ac_abs_builddir="$ac_dir";;
874 *)
875 case "$ac_dir" in
876 .) ac_abs_builddir=`pwd`;;
877 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
878 *) ac_abs_builddir=`pwd`/"$ac_dir";;
879 esac;;
880 esac
881 case $ac_abs_builddir in
882 .) ac_abs_top_builddir=${ac_top_builddir}.;;
883 *)
884 case ${ac_top_builddir}. in
885 .) ac_abs_top_builddir=$ac_abs_builddir;;
886 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
887 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
888 esac;;
889 esac
890 case $ac_abs_builddir in
891 .) ac_abs_srcdir=$ac_srcdir;;
892 *)
893 case $ac_srcdir in
894 .) ac_abs_srcdir=$ac_abs_builddir;;
895 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
896 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
897 esac;;
898 esac
899 case $ac_abs_builddir in
900 .) ac_abs_top_srcdir=$ac_top_srcdir;;
901 *)
902 case $ac_top_srcdir in
903 .) ac_abs_top_srcdir=$ac_abs_builddir;;
904 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
905 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
906 esac;;
907 esac
908
909 cd $ac_dir
910 # Check for guested configure; otherwise get Cygnus style configure.
911 if test -f $ac_srcdir/configure.gnu; then
912 echo
913 $SHELL $ac_srcdir/configure.gnu --help=recursive
914 elif test -f $ac_srcdir/configure; then
915 echo
916 $SHELL $ac_srcdir/configure --help=recursive
917 elif test -f $ac_srcdir/configure.ac ||
918 test -f $ac_srcdir/configure.in; then
919 echo
920 $ac_configure --help
921 else
922 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
923 fi
924 cd $ac_popdir
925 done
926 fi
927
928 test -n "$ac_init_help" && exit 0
929 if $ac_init_version; then
930 cat <<\_ACEOF
931 GNU C Runtime Library configure 1.0
932 generated by GNU Autoconf 2.59
933
934 Copyright (C) 2003 Free Software Foundation, Inc.
935 This configure script is free software; the Free Software Foundation
936 gives unlimited permission to copy, distribute and modify it.
937 _ACEOF
938 exit 0
939 fi
940 exec 5>config.log
941 cat >&5 <<_ACEOF
942 This file contains any messages produced by compilers while
943 running configure, to aid debugging if configure makes a mistake.
944
945 It was created by GNU C Runtime Library $as_me 1.0, which was
946 generated by GNU Autoconf 2.59. Invocation command line was
947
948 $ $0 $@
949
950 _ACEOF
951 {
952 cat <<_ASUNAME
953 ## --------- ##
954 ## Platform. ##
955 ## --------- ##
956
957 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
958 uname -m = `(uname -m) 2>/dev/null || echo unknown`
959 uname -r = `(uname -r) 2>/dev/null || echo unknown`
960 uname -s = `(uname -s) 2>/dev/null || echo unknown`
961 uname -v = `(uname -v) 2>/dev/null || echo unknown`
962
963 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
964 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
965
966 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
967 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
968 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
969 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
970 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
971 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
972 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
973
974 _ASUNAME
975
976 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
977 for as_dir in $PATH
978 do
979 IFS=$as_save_IFS
980 test -z "$as_dir" && as_dir=.
981 echo "PATH: $as_dir"
982 done
983
984 } >&5
985
986 cat >&5 <<_ACEOF
987
988
989 ## ----------- ##
990 ## Core tests. ##
991 ## ----------- ##
992
993 _ACEOF
994
995
996 # Keep a trace of the command line.
997 # Strip out --no-create and --no-recursion so they do not pile up.
998 # Strip out --silent because we don't want to record it for future runs.
999 # Also quote any args containing shell meta-characters.
1000 # Make two passes to allow for proper duplicate-argument suppression.
1001 ac_configure_args=
1002 ac_configure_args0=
1003 ac_configure_args1=
1004 ac_sep=
1005 ac_must_keep_next=false
1006 for ac_pass in 1 2
1007 do
1008 for ac_arg
1009 do
1010 case $ac_arg in
1011 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1012 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1013 | -silent | --silent | --silen | --sile | --sil)
1014 continue ;;
1015 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1016 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1017 esac
1018 case $ac_pass in
1019 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1020 2)
1021 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1022 if test $ac_must_keep_next = true; then
1023 ac_must_keep_next=false # Got value, back to normal.
1024 else
1025 case $ac_arg in
1026 *=* | --config-cache | -C | -disable-* | --disable-* \
1027 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1028 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1029 | -with-* | --with-* | -without-* | --without-* | --x)
1030 case "$ac_configure_args0 " in
1031 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1032 esac
1033 ;;
1034 -* ) ac_must_keep_next=true ;;
1035 esac
1036 fi
1037 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1038 # Get rid of the leading space.
1039 ac_sep=" "
1040 ;;
1041 esac
1042 done
1043 done
1044 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1045 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1046
1047 # When interrupted or exit'd, cleanup temporary files, and complete
1048 # config.log. We remove comments because anyway the quotes in there
1049 # would cause problems or look ugly.
1050 # WARNING: Be sure not to use single quotes in there, as some shells,
1051 # such as our DU 5.0 friend, will then `close' the trap.
1052 trap 'exit_status=$?
1053 # Save into config.log some information that might help in debugging.
1054 {
1055 echo
1056
1057 cat <<\_ASBOX
1058 ## ---------------- ##
1059 ## Cache variables. ##
1060 ## ---------------- ##
1061 _ASBOX
1062 echo
1063 # The following way of writing the cache mishandles newlines in values,
1064 {
1065 (set) 2>&1 |
1066 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1067 *ac_space=\ *)
1068 sed -n \
1069 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1070 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1071 ;;
1072 *)
1073 sed -n \
1074 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1075 ;;
1076 esac;
1077 }
1078 echo
1079
1080 cat <<\_ASBOX
1081 ## ----------------- ##
1082 ## Output variables. ##
1083 ## ----------------- ##
1084 _ASBOX
1085 echo
1086 for ac_var in $ac_subst_vars
1087 do
1088 eval ac_val=$`echo $ac_var`
1089 echo "$ac_var='"'"'$ac_val'"'"'"
1090 done | sort
1091 echo
1092
1093 if test -n "$ac_subst_files"; then
1094 cat <<\_ASBOX
1095 ## ------------- ##
1096 ## Output files. ##
1097 ## ------------- ##
1098 _ASBOX
1099 echo
1100 for ac_var in $ac_subst_files
1101 do
1102 eval ac_val=$`echo $ac_var`
1103 echo "$ac_var='"'"'$ac_val'"'"'"
1104 done | sort
1105 echo
1106 fi
1107
1108 if test -s confdefs.h; then
1109 cat <<\_ASBOX
1110 ## ----------- ##
1111 ## confdefs.h. ##
1112 ## ----------- ##
1113 _ASBOX
1114 echo
1115 sed "/^$/d" confdefs.h | sort
1116 echo
1117 fi
1118 test "$ac_signal" != 0 &&
1119 echo "$as_me: caught signal $ac_signal"
1120 echo "$as_me: exit $exit_status"
1121 } >&5
1122 rm -f core *.core &&
1123 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1124 exit $exit_status
1125 ' 0
1126 for ac_signal in 1 2 13 15; do
1127 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1128 done
1129 ac_signal=0
1130
1131 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1132 rm -rf conftest* confdefs.h
1133 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1134 echo >confdefs.h
1135
1136 # Predefined preprocessor variables.
1137
1138 cat >>confdefs.h <<_ACEOF
1139 #define PACKAGE_NAME "$PACKAGE_NAME"
1140 _ACEOF
1141
1142
1143 cat >>confdefs.h <<_ACEOF
1144 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1145 _ACEOF
1146
1147
1148 cat >>confdefs.h <<_ACEOF
1149 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1150 _ACEOF
1151
1152
1153 cat >>confdefs.h <<_ACEOF
1154 #define PACKAGE_STRING "$PACKAGE_STRING"
1155 _ACEOF
1156
1157
1158 cat >>confdefs.h <<_ACEOF
1159 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1160 _ACEOF
1161
1162
1163 # Let the site file select an alternate cache file if it wants to.
1164 # Prefer explicitly selected file to automatically selected ones.
1165 if test -z "$CONFIG_SITE"; then
1166 if test "x$prefix" != xNONE; then
1167 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1168 else
1169 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1170 fi
1171 fi
1172 for ac_site_file in $CONFIG_SITE; do
1173 if test -r "$ac_site_file"; then
1174 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1175 echo "$as_me: loading site script $ac_site_file" >&6;}
1176 sed 's/^/| /' "$ac_site_file" >&5
1177 . "$ac_site_file"
1178 fi
1179 done
1180
1181 if test -r "$cache_file"; then
1182 # Some versions of bash will fail to source /dev/null (special
1183 # files actually), so we avoid doing that.
1184 if test -f "$cache_file"; then
1185 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1186 echo "$as_me: loading cache $cache_file" >&6;}
1187 case $cache_file in
1188 [\\/]* | ?:[\\/]* ) . $cache_file;;
1189 *) . ./$cache_file;;
1190 esac
1191 fi
1192 else
1193 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1194 echo "$as_me: creating cache $cache_file" >&6;}
1195 >$cache_file
1196 fi
1197
1198 # Check that the precious variables saved in the cache have kept the same
1199 # value.
1200 ac_cache_corrupted=false
1201 for ac_var in `(set) 2>&1 |
1202 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1203 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1204 eval ac_new_set=\$ac_env_${ac_var}_set
1205 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1206 eval ac_new_val="\$ac_env_${ac_var}_value"
1207 case $ac_old_set,$ac_new_set in
1208 set,)
1209 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1210 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1211 ac_cache_corrupted=: ;;
1212 ,set)
1213 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1214 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1215 ac_cache_corrupted=: ;;
1216 ,);;
1217 *)
1218 if test "x$ac_old_val" != "x$ac_new_val"; then
1219 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1220 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1221 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1222 echo "$as_me: former value: $ac_old_val" >&2;}
1223 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1224 echo "$as_me: current value: $ac_new_val" >&2;}
1225 ac_cache_corrupted=:
1226 fi;;
1227 esac
1228 # Pass precious variables to config.status.
1229 if test "$ac_new_set" = set; then
1230 case $ac_new_val in
1231 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1232 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1233 *) ac_arg=$ac_var=$ac_new_val ;;
1234 esac
1235 case " $ac_configure_args " in
1236 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1237 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1238 esac
1239 fi
1240 done
1241 if $ac_cache_corrupted; then
1242 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1243 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1244 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1245 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1246 { (exit 1); exit 1; }; }
1247 fi
1248
1249 ac_ext=c
1250 ac_cpp='$CPP $CPPFLAGS'
1251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284 # Check whether --with-target-subdir or --without-target-subdir was given.
1285 if test "${with_target_subdir+set}" = set; then
1286 withval="$with_target_subdir"
1287
1288 fi;
1289
1290 # Check whether --with-cross-host or --without-cross-host was given.
1291 if test "${with_cross_host+set}" = set; then
1292 withval="$with_cross_host"
1293
1294 fi;
1295
1296 # Check whether --with-ld or --without-ld was given.
1297 if test "${with_ld+set}" = set; then
1298 withval="$with_ld"
1299
1300 fi;
1301
1302 if test "${srcdir}" = "."; then
1303 if test -n "${with_build_subdir}"; then
1304 libgcc_topdir="${srcdir}/../.."
1305 with_target_subdir=
1306 elif test -z "${with_target_subdir}"; then
1307 libgcc_topdir="${srcdir}/.."
1308 else
1309 if test "${with_target_subdir}" != "."; then
1310 libgcc_topdir="${srcdir}/${with_multisrctop}../.."
1311 else
1312 libgcc_topdir="${srcdir}/${with_multisrctop}.."
1313 fi
1314 fi
1315 else
1316 libgcc_topdir="${srcdir}/.."
1317 fi
1318
1319 ac_aux_dir=
1320 for ac_dir in $libgcc_topdir $srcdir/$libgcc_topdir; do
1321 if test -f $ac_dir/install-sh; then
1322 ac_aux_dir=$ac_dir
1323 ac_install_sh="$ac_aux_dir/install-sh -c"
1324 break
1325 elif test -f $ac_dir/install.sh; then
1326 ac_aux_dir=$ac_dir
1327 ac_install_sh="$ac_aux_dir/install.sh -c"
1328 break
1329 elif test -f $ac_dir/shtool; then
1330 ac_aux_dir=$ac_dir
1331 ac_install_sh="$ac_aux_dir/shtool install -c"
1332 break
1333 fi
1334 done
1335 if test -z "$ac_aux_dir"; then
1336 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $libgcc_topdir $srcdir/$libgcc_topdir" >&5
1337 echo "$as_me: error: cannot find install-sh or install.sh in $libgcc_topdir $srcdir/$libgcc_topdir" >&2;}
1338 { (exit 1); exit 1; }; }
1339 fi
1340 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1341 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1342 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1343
1344
1345 # Check whether --enable-shared or --disable-shared was given.
1346 if test "${enable_shared+set}" = set; then
1347 enableval="$enable_shared"
1348
1349 case $enable_shared in
1350 yes | no) ;;
1351 *)
1352 enable_shared=no
1353 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1354 for pkg in $enableval; do
1355 if test "X$pkg" = "Xgcc" || test "X$pkg" = "Xlibgcc"; then
1356 enable_shared=yes
1357 fi
1358 done
1359 IFS="$ac_save_ifs"
1360 ;;
1361 esac
1362
1363 else
1364 enable_shared=yes
1365 fi;
1366
1367
1368 echo "$as_me:$LINENO: checking for --enable-version-specific-runtime-libs" >&5
1369 echo $ECHO_N "checking for --enable-version-specific-runtime-libs... $ECHO_C" >&6
1370 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
1371 if test "${enable_version_specific_runtime_libs+set}" = set; then
1372 enableval="$enable_version_specific_runtime_libs"
1373 case "$enableval" in
1374 yes) version_specific_libs=yes ;;
1375 no) version_specific_libs=no ;;
1376 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
1377 echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
1378 { (exit 1); exit 1; }; };;
1379 esac
1380 else
1381 version_specific_libs=no
1382 fi;
1383 echo "$as_me:$LINENO: result: $version_specific_libs" >&5
1384 echo "${ECHO_T}$version_specific_libs" >&6
1385
1386
1387 # Check whether --with-slibdir or --without-slibdir was given.
1388 if test "${with_slibdir+set}" = set; then
1389 withval="$with_slibdir"
1390 slibdir="$with_slibdir"
1391 else
1392 if test "${version_specific_libs}" = yes; then
1393 slibdir='$(libsubdir)'
1394 elif test -n "$with_cross_host" && test x"$with_cross_host" != x"no"; then
1395 slibdir='$(exec_prefix)/$(host_noncanonical)/lib'
1396 else
1397 slibdir='$(libdir)'
1398 fi
1399 fi;
1400
1401
1402 # Find a good install program. We prefer a C program (faster),
1403 # so one script is as good as another. But avoid the broken or
1404 # incompatible versions:
1405 # SysV /etc/install, /usr/sbin/install
1406 # SunOS /usr/etc/install
1407 # IRIX /sbin/install
1408 # AIX /bin/install
1409 # AmigaOS /C/install, which installs bootblocks on floppy discs
1410 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1411 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1412 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1413 # OS/2's system install, which has a completely different semantic
1414 # ./install, which can be erroneously created by make from ./install.sh.
1415 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1416 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1417 if test -z "$INSTALL"; then
1418 if test "${ac_cv_path_install+set}" = set; then
1419 echo $ECHO_N "(cached) $ECHO_C" >&6
1420 else
1421 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1422 for as_dir in $PATH
1423 do
1424 IFS=$as_save_IFS
1425 test -z "$as_dir" && as_dir=.
1426 # Account for people who put trailing slashes in PATH elements.
1427 case $as_dir/ in
1428 ./ | .// | /cC/* | \
1429 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1430 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1431 /usr/ucb/* ) ;;
1432 *)
1433 # OSF1 and SCO ODT 3.0 have their own names for install.
1434 # Don't use installbsd from OSF since it installs stuff as root
1435 # by default.
1436 for ac_prog in ginstall scoinst install; do
1437 for ac_exec_ext in '' $ac_executable_extensions; do
1438 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1439 if test $ac_prog = install &&
1440 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1441 # AIX install. It has an incompatible calling convention.
1442 :
1443 elif test $ac_prog = install &&
1444 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1445 # program-specific install script used by HP pwplus--don't use.
1446 :
1447 else
1448 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1449 break 3
1450 fi
1451 fi
1452 done
1453 done
1454 ;;
1455 esac
1456 done
1457
1458
1459 fi
1460 if test "${ac_cv_path_install+set}" = set; then
1461 INSTALL=$ac_cv_path_install
1462 else
1463 # As a last resort, use the slow shell script. We don't cache a
1464 # path for INSTALL within a source directory, because that will
1465 # break other packages using the cache if that directory is
1466 # removed, or if the path is relative.
1467 INSTALL=$ac_install_sh
1468 fi
1469 fi
1470 echo "$as_me:$LINENO: result: $INSTALL" >&5
1471 echo "${ECHO_T}$INSTALL" >&6
1472
1473 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1474 # It thinks the first close brace ends the variable substitution.
1475 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1476
1477 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1478
1479 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1480
1481
1482 for ac_prog in gawk mawk nawk awk
1483 do
1484 # Extract the first word of "$ac_prog", so it can be a program name with args.
1485 set dummy $ac_prog; ac_word=$2
1486 echo "$as_me:$LINENO: checking for $ac_word" >&5
1487 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1488 if test "${ac_cv_prog_AWK+set}" = set; then
1489 echo $ECHO_N "(cached) $ECHO_C" >&6
1490 else
1491 if test -n "$AWK"; then
1492 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1493 else
1494 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1495 for as_dir in $PATH
1496 do
1497 IFS=$as_save_IFS
1498 test -z "$as_dir" && as_dir=.
1499 for ac_exec_ext in '' $ac_executable_extensions; do
1500 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1501 ac_cv_prog_AWK="$ac_prog"
1502 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1503 break 2
1504 fi
1505 done
1506 done
1507
1508 fi
1509 fi
1510 AWK=$ac_cv_prog_AWK
1511 if test -n "$AWK"; then
1512 echo "$as_me:$LINENO: result: $AWK" >&5
1513 echo "${ECHO_T}$AWK" >&6
1514 else
1515 echo "$as_me:$LINENO: result: no" >&5
1516 echo "${ECHO_T}no" >&6
1517 fi
1518
1519 test -n "$AWK" && break
1520 done
1521
1522 # We need awk; bail out if it's missing.
1523 case ${AWK} in
1524 "") { { echo "$as_me:$LINENO: error: can't build without awk, bailing out" >&5
1525 echo "$as_me: error: can't build without awk, bailing out" >&2;}
1526 { (exit 1); exit 1; }; } ;;
1527 esac
1528
1529 # Make sure we can run config.sub.
1530 $ac_config_sub sun4 >/dev/null 2>&1 ||
1531 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1532 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1533 { (exit 1); exit 1; }; }
1534
1535 echo "$as_me:$LINENO: checking build system type" >&5
1536 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1537 if test "${ac_cv_build+set}" = set; then
1538 echo $ECHO_N "(cached) $ECHO_C" >&6
1539 else
1540 ac_cv_build_alias=$build_alias
1541 test -z "$ac_cv_build_alias" &&
1542 ac_cv_build_alias=`$ac_config_guess`
1543 test -z "$ac_cv_build_alias" &&
1544 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1545 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1546 { (exit 1); exit 1; }; }
1547 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1548 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1549 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1550 { (exit 1); exit 1; }; }
1551
1552 fi
1553 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1554 echo "${ECHO_T}$ac_cv_build" >&6
1555 build=$ac_cv_build
1556 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1557 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1558 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1559
1560
1561 echo "$as_me:$LINENO: checking host system type" >&5
1562 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1563 if test "${ac_cv_host+set}" = set; then
1564 echo $ECHO_N "(cached) $ECHO_C" >&6
1565 else
1566 ac_cv_host_alias=$host_alias
1567 test -z "$ac_cv_host_alias" &&
1568 ac_cv_host_alias=$ac_cv_build_alias
1569 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1570 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1571 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1572 { (exit 1); exit 1; }; }
1573
1574 fi
1575 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1576 echo "${ECHO_T}$ac_cv_host" >&6
1577 host=$ac_cv_host
1578 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1579 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1580 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1581
1582
1583 case ${build_alias} in
1584 "") build_noncanonical=${build} ;;
1585 *) build_noncanonical=${build_alias} ;;
1586 esac
1587
1588 case ${host_alias} in
1589 "") host_noncanonical=${build_noncanonical} ;;
1590 *) host_noncanonical=${host_alias} ;;
1591 esac
1592
1593
1594
1595 case ${target_alias} in
1596 "") target_noncanonical=${host_noncanonical} ;;
1597 *) target_noncanonical=${target_alias} ;;
1598 esac
1599
1600
1601 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
1602 # have matching libraries, they should use host libraries: Makefile.tpl
1603 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
1604 # However, they still use the build modules, because the corresponding
1605 # host modules (e.g. bison) are only built for the host when bootstrap
1606 # finishes. So:
1607 # - build_subdir is where we find build modules, and never changes.
1608 # - build_libsubdir is where we find build libraries, and can be overridden.
1609
1610 # Prefix 'build-' so this never conflicts with target_subdir.
1611 build_subdir="build-${build_noncanonical}"
1612
1613 # Check whether --with-build-libsubdir or --without-build-libsubdir was given.
1614 if test "${with_build_libsubdir+set}" = set; then
1615 withval="$with_build_libsubdir"
1616 build_libsubdir="$withval"
1617 else
1618 build_libsubdir="$build_subdir"
1619 fi;
1620 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
1621 if ( test $srcdir = . && test -d gcc ) \
1622 || test -d $srcdir/../host-${host_noncanonical}; then
1623 host_subdir="host-${host_noncanonical}"
1624 else
1625 host_subdir=.
1626 fi
1627 # No prefix.
1628 target_subdir=${target_noncanonical}
1629
1630
1631 if test -n "$ac_tool_prefix"; then
1632 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
1633 set dummy ${ac_tool_prefix}ar; ac_word=$2
1634 echo "$as_me:$LINENO: checking for $ac_word" >&5
1635 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1636 if test "${ac_cv_prog_AR+set}" = set; then
1637 echo $ECHO_N "(cached) $ECHO_C" >&6
1638 else
1639 if test -n "$AR"; then
1640 ac_cv_prog_AR="$AR" # Let the user override the test.
1641 else
1642 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1643 for as_dir in $PATH
1644 do
1645 IFS=$as_save_IFS
1646 test -z "$as_dir" && as_dir=.
1647 for ac_exec_ext in '' $ac_executable_extensions; do
1648 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1649 ac_cv_prog_AR="${ac_tool_prefix}ar"
1650 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1651 break 2
1652 fi
1653 done
1654 done
1655
1656 fi
1657 fi
1658 AR=$ac_cv_prog_AR
1659 if test -n "$AR"; then
1660 echo "$as_me:$LINENO: result: $AR" >&5
1661 echo "${ECHO_T}$AR" >&6
1662 else
1663 echo "$as_me:$LINENO: result: no" >&5
1664 echo "${ECHO_T}no" >&6
1665 fi
1666
1667 fi
1668 if test -z "$ac_cv_prog_AR"; then
1669 ac_ct_AR=$AR
1670 # Extract the first word of "ar", so it can be a program name with args.
1671 set dummy ar; ac_word=$2
1672 echo "$as_me:$LINENO: checking for $ac_word" >&5
1673 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1674 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
1675 echo $ECHO_N "(cached) $ECHO_C" >&6
1676 else
1677 if test -n "$ac_ct_AR"; then
1678 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
1679 else
1680 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1681 for as_dir in $PATH
1682 do
1683 IFS=$as_save_IFS
1684 test -z "$as_dir" && as_dir=.
1685 for ac_exec_ext in '' $ac_executable_extensions; do
1686 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1687 ac_cv_prog_ac_ct_AR="ar"
1688 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1689 break 2
1690 fi
1691 done
1692 done
1693
1694 fi
1695 fi
1696 ac_ct_AR=$ac_cv_prog_ac_ct_AR
1697 if test -n "$ac_ct_AR"; then
1698 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
1699 echo "${ECHO_T}$ac_ct_AR" >&6
1700 else
1701 echo "$as_me:$LINENO: result: no" >&5
1702 echo "${ECHO_T}no" >&6
1703 fi
1704
1705 AR=$ac_ct_AR
1706 else
1707 AR="$ac_cv_prog_AR"
1708 fi
1709
1710 if test -n "$ac_tool_prefix"; then
1711 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
1712 set dummy ${ac_tool_prefix}lipo; ac_word=$2
1713 echo "$as_me:$LINENO: checking for $ac_word" >&5
1714 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1715 if test "${ac_cv_prog_LIPO+set}" = set; then
1716 echo $ECHO_N "(cached) $ECHO_C" >&6
1717 else
1718 if test -n "$LIPO"; then
1719 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
1720 else
1721 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1722 for as_dir in $PATH
1723 do
1724 IFS=$as_save_IFS
1725 test -z "$as_dir" && as_dir=.
1726 for ac_exec_ext in '' $ac_executable_extensions; do
1727 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1728 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
1729 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1730 break 2
1731 fi
1732 done
1733 done
1734
1735 fi
1736 fi
1737 LIPO=$ac_cv_prog_LIPO
1738 if test -n "$LIPO"; then
1739 echo "$as_me:$LINENO: result: $LIPO" >&5
1740 echo "${ECHO_T}$LIPO" >&6
1741 else
1742 echo "$as_me:$LINENO: result: no" >&5
1743 echo "${ECHO_T}no" >&6
1744 fi
1745
1746 fi
1747 if test -z "$ac_cv_prog_LIPO"; then
1748 ac_ct_LIPO=$LIPO
1749 # Extract the first word of "lipo", so it can be a program name with args.
1750 set dummy lipo; ac_word=$2
1751 echo "$as_me:$LINENO: checking for $ac_word" >&5
1752 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1753 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
1754 echo $ECHO_N "(cached) $ECHO_C" >&6
1755 else
1756 if test -n "$ac_ct_LIPO"; then
1757 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
1758 else
1759 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1760 for as_dir in $PATH
1761 do
1762 IFS=$as_save_IFS
1763 test -z "$as_dir" && as_dir=.
1764 for ac_exec_ext in '' $ac_executable_extensions; do
1765 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1766 ac_cv_prog_ac_ct_LIPO="lipo"
1767 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1768 break 2
1769 fi
1770 done
1771 done
1772
1773 test -z "$ac_cv_prog_ac_ct_LIPO" && ac_cv_prog_ac_ct_LIPO=":"
1774 fi
1775 fi
1776 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
1777 if test -n "$ac_ct_LIPO"; then
1778 echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5
1779 echo "${ECHO_T}$ac_ct_LIPO" >&6
1780 else
1781 echo "$as_me:$LINENO: result: no" >&5
1782 echo "${ECHO_T}no" >&6
1783 fi
1784
1785 LIPO=$ac_ct_LIPO
1786 else
1787 LIPO="$ac_cv_prog_LIPO"
1788 fi
1789
1790 if test -n "$ac_tool_prefix"; then
1791 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
1792 set dummy ${ac_tool_prefix}nm; ac_word=$2
1793 echo "$as_me:$LINENO: checking for $ac_word" >&5
1794 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1795 if test "${ac_cv_prog_NM+set}" = set; then
1796 echo $ECHO_N "(cached) $ECHO_C" >&6
1797 else
1798 if test -n "$NM"; then
1799 ac_cv_prog_NM="$NM" # Let the user override the test.
1800 else
1801 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1802 for as_dir in $PATH
1803 do
1804 IFS=$as_save_IFS
1805 test -z "$as_dir" && as_dir=.
1806 for ac_exec_ext in '' $ac_executable_extensions; do
1807 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1808 ac_cv_prog_NM="${ac_tool_prefix}nm"
1809 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1810 break 2
1811 fi
1812 done
1813 done
1814
1815 fi
1816 fi
1817 NM=$ac_cv_prog_NM
1818 if test -n "$NM"; then
1819 echo "$as_me:$LINENO: result: $NM" >&5
1820 echo "${ECHO_T}$NM" >&6
1821 else
1822 echo "$as_me:$LINENO: result: no" >&5
1823 echo "${ECHO_T}no" >&6
1824 fi
1825
1826 fi
1827 if test -z "$ac_cv_prog_NM"; then
1828 ac_ct_NM=$NM
1829 # Extract the first word of "nm", so it can be a program name with args.
1830 set dummy nm; ac_word=$2
1831 echo "$as_me:$LINENO: checking for $ac_word" >&5
1832 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1833 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
1834 echo $ECHO_N "(cached) $ECHO_C" >&6
1835 else
1836 if test -n "$ac_ct_NM"; then
1837 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
1838 else
1839 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1840 for as_dir in $PATH
1841 do
1842 IFS=$as_save_IFS
1843 test -z "$as_dir" && as_dir=.
1844 for ac_exec_ext in '' $ac_executable_extensions; do
1845 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1846 ac_cv_prog_ac_ct_NM="nm"
1847 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1848 break 2
1849 fi
1850 done
1851 done
1852
1853 fi
1854 fi
1855 ac_ct_NM=$ac_cv_prog_ac_ct_NM
1856 if test -n "$ac_ct_NM"; then
1857 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
1858 echo "${ECHO_T}$ac_ct_NM" >&6
1859 else
1860 echo "$as_me:$LINENO: result: no" >&5
1861 echo "${ECHO_T}no" >&6
1862 fi
1863
1864 NM=$ac_ct_NM
1865 else
1866 NM="$ac_cv_prog_NM"
1867 fi
1868
1869 if test -n "$ac_tool_prefix"; then
1870 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
1871 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
1872 echo "$as_me:$LINENO: checking for $ac_word" >&5
1873 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1874 if test "${ac_cv_prog_RANLIB+set}" = set; then
1875 echo $ECHO_N "(cached) $ECHO_C" >&6
1876 else
1877 if test -n "$RANLIB"; then
1878 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1879 else
1880 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1881 for as_dir in $PATH
1882 do
1883 IFS=$as_save_IFS
1884 test -z "$as_dir" && as_dir=.
1885 for ac_exec_ext in '' $ac_executable_extensions; do
1886 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1887 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
1888 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1889 break 2
1890 fi
1891 done
1892 done
1893
1894 fi
1895 fi
1896 RANLIB=$ac_cv_prog_RANLIB
1897 if test -n "$RANLIB"; then
1898 echo "$as_me:$LINENO: result: $RANLIB" >&5
1899 echo "${ECHO_T}$RANLIB" >&6
1900 else
1901 echo "$as_me:$LINENO: result: no" >&5
1902 echo "${ECHO_T}no" >&6
1903 fi
1904
1905 fi
1906 if test -z "$ac_cv_prog_RANLIB"; then
1907 ac_ct_RANLIB=$RANLIB
1908 # Extract the first word of "ranlib", so it can be a program name with args.
1909 set dummy ranlib; ac_word=$2
1910 echo "$as_me:$LINENO: checking for $ac_word" >&5
1911 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1912 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
1913 echo $ECHO_N "(cached) $ECHO_C" >&6
1914 else
1915 if test -n "$ac_ct_RANLIB"; then
1916 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
1917 else
1918 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1919 for as_dir in $PATH
1920 do
1921 IFS=$as_save_IFS
1922 test -z "$as_dir" && as_dir=.
1923 for ac_exec_ext in '' $ac_executable_extensions; do
1924 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1925 ac_cv_prog_ac_ct_RANLIB="ranlib"
1926 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1927 break 2
1928 fi
1929 done
1930 done
1931
1932 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
1933 fi
1934 fi
1935 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
1936 if test -n "$ac_ct_RANLIB"; then
1937 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
1938 echo "${ECHO_T}$ac_ct_RANLIB" >&6
1939 else
1940 echo "$as_me:$LINENO: result: no" >&5
1941 echo "${ECHO_T}no" >&6
1942 fi
1943
1944 RANLIB=$ac_ct_RANLIB
1945 else
1946 RANLIB="$ac_cv_prog_RANLIB"
1947 fi
1948
1949 if test -n "$ac_tool_prefix"; then
1950 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1951 set dummy ${ac_tool_prefix}strip; ac_word=$2
1952 echo "$as_me:$LINENO: checking for $ac_word" >&5
1953 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1954 if test "${ac_cv_prog_STRIP+set}" = set; then
1955 echo $ECHO_N "(cached) $ECHO_C" >&6
1956 else
1957 if test -n "$STRIP"; then
1958 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1959 else
1960 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1961 for as_dir in $PATH
1962 do
1963 IFS=$as_save_IFS
1964 test -z "$as_dir" && as_dir=.
1965 for ac_exec_ext in '' $ac_executable_extensions; do
1966 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1967 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1968 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1969 break 2
1970 fi
1971 done
1972 done
1973
1974 fi
1975 fi
1976 STRIP=$ac_cv_prog_STRIP
1977 if test -n "$STRIP"; then
1978 echo "$as_me:$LINENO: result: $STRIP" >&5
1979 echo "${ECHO_T}$STRIP" >&6
1980 else
1981 echo "$as_me:$LINENO: result: no" >&5
1982 echo "${ECHO_T}no" >&6
1983 fi
1984
1985 fi
1986 if test -z "$ac_cv_prog_STRIP"; then
1987 ac_ct_STRIP=$STRIP
1988 # Extract the first word of "strip", so it can be a program name with args.
1989 set dummy strip; ac_word=$2
1990 echo "$as_me:$LINENO: checking for $ac_word" >&5
1991 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1992 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1993 echo $ECHO_N "(cached) $ECHO_C" >&6
1994 else
1995 if test -n "$ac_ct_STRIP"; then
1996 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1997 else
1998 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1999 for as_dir in $PATH
2000 do
2001 IFS=$as_save_IFS
2002 test -z "$as_dir" && as_dir=.
2003 for ac_exec_ext in '' $ac_executable_extensions; do
2004 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2005 ac_cv_prog_ac_ct_STRIP="strip"
2006 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2007 break 2
2008 fi
2009 done
2010 done
2011
2012 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
2013 fi
2014 fi
2015 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2016 if test -n "$ac_ct_STRIP"; then
2017 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2018 echo "${ECHO_T}$ac_ct_STRIP" >&6
2019 else
2020 echo "$as_me:$LINENO: result: no" >&5
2021 echo "${ECHO_T}no" >&6
2022 fi
2023
2024 STRIP=$ac_ct_STRIP
2025 else
2026 STRIP="$ac_cv_prog_STRIP"
2027 fi
2028
2029 echo "$as_me:$LINENO: checking whether ln -s works" >&5
2030 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
2031 LN_S=$as_ln_s
2032 if test "$LN_S" = "ln -s"; then
2033 echo "$as_me:$LINENO: result: yes" >&5
2034 echo "${ECHO_T}yes" >&6
2035 else
2036 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
2037 echo "${ECHO_T}no, using $LN_S" >&6
2038 fi
2039
2040
2041
2042 ac_ext=c
2043 ac_cpp='$CPP $CPPFLAGS'
2044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2047 if test -n "$ac_tool_prefix"; then
2048 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2049 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2050 echo "$as_me:$LINENO: checking for $ac_word" >&5
2051 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2052 if test "${ac_cv_prog_CC+set}" = set; then
2053 echo $ECHO_N "(cached) $ECHO_C" >&6
2054 else
2055 if test -n "$CC"; then
2056 ac_cv_prog_CC="$CC" # Let the user override the test.
2057 else
2058 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2059 for as_dir in $PATH
2060 do
2061 IFS=$as_save_IFS
2062 test -z "$as_dir" && as_dir=.
2063 for ac_exec_ext in '' $ac_executable_extensions; do
2064 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2065 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2066 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2067 break 2
2068 fi
2069 done
2070 done
2071
2072 fi
2073 fi
2074 CC=$ac_cv_prog_CC
2075 if test -n "$CC"; then
2076 echo "$as_me:$LINENO: result: $CC" >&5
2077 echo "${ECHO_T}$CC" >&6
2078 else
2079 echo "$as_me:$LINENO: result: no" >&5
2080 echo "${ECHO_T}no" >&6
2081 fi
2082
2083 fi
2084 if test -z "$ac_cv_prog_CC"; then
2085 ac_ct_CC=$CC
2086 # Extract the first word of "gcc", so it can be a program name with args.
2087 set dummy gcc; ac_word=$2
2088 echo "$as_me:$LINENO: checking for $ac_word" >&5
2089 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2090 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2091 echo $ECHO_N "(cached) $ECHO_C" >&6
2092 else
2093 if test -n "$ac_ct_CC"; then
2094 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2095 else
2096 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2097 for as_dir in $PATH
2098 do
2099 IFS=$as_save_IFS
2100 test -z "$as_dir" && as_dir=.
2101 for ac_exec_ext in '' $ac_executable_extensions; do
2102 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2103 ac_cv_prog_ac_ct_CC="gcc"
2104 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2105 break 2
2106 fi
2107 done
2108 done
2109
2110 fi
2111 fi
2112 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2113 if test -n "$ac_ct_CC"; then
2114 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2115 echo "${ECHO_T}$ac_ct_CC" >&6
2116 else
2117 echo "$as_me:$LINENO: result: no" >&5
2118 echo "${ECHO_T}no" >&6
2119 fi
2120
2121 CC=$ac_ct_CC
2122 else
2123 CC="$ac_cv_prog_CC"
2124 fi
2125
2126 if test -z "$CC"; then
2127 if test -n "$ac_tool_prefix"; then
2128 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2129 set dummy ${ac_tool_prefix}cc; ac_word=$2
2130 echo "$as_me:$LINENO: checking for $ac_word" >&5
2131 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2132 if test "${ac_cv_prog_CC+set}" = set; then
2133 echo $ECHO_N "(cached) $ECHO_C" >&6
2134 else
2135 if test -n "$CC"; then
2136 ac_cv_prog_CC="$CC" # Let the user override the test.
2137 else
2138 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2139 for as_dir in $PATH
2140 do
2141 IFS=$as_save_IFS
2142 test -z "$as_dir" && as_dir=.
2143 for ac_exec_ext in '' $ac_executable_extensions; do
2144 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2145 ac_cv_prog_CC="${ac_tool_prefix}cc"
2146 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2147 break 2
2148 fi
2149 done
2150 done
2151
2152 fi
2153 fi
2154 CC=$ac_cv_prog_CC
2155 if test -n "$CC"; then
2156 echo "$as_me:$LINENO: result: $CC" >&5
2157 echo "${ECHO_T}$CC" >&6
2158 else
2159 echo "$as_me:$LINENO: result: no" >&5
2160 echo "${ECHO_T}no" >&6
2161 fi
2162
2163 fi
2164 if test -z "$ac_cv_prog_CC"; then
2165 ac_ct_CC=$CC
2166 # Extract the first word of "cc", so it can be a program name with args.
2167 set dummy cc; ac_word=$2
2168 echo "$as_me:$LINENO: checking for $ac_word" >&5
2169 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2170 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2171 echo $ECHO_N "(cached) $ECHO_C" >&6
2172 else
2173 if test -n "$ac_ct_CC"; then
2174 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2175 else
2176 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2177 for as_dir in $PATH
2178 do
2179 IFS=$as_save_IFS
2180 test -z "$as_dir" && as_dir=.
2181 for ac_exec_ext in '' $ac_executable_extensions; do
2182 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2183 ac_cv_prog_ac_ct_CC="cc"
2184 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2185 break 2
2186 fi
2187 done
2188 done
2189
2190 fi
2191 fi
2192 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2193 if test -n "$ac_ct_CC"; then
2194 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2195 echo "${ECHO_T}$ac_ct_CC" >&6
2196 else
2197 echo "$as_me:$LINENO: result: no" >&5
2198 echo "${ECHO_T}no" >&6
2199 fi
2200
2201 CC=$ac_ct_CC
2202 else
2203 CC="$ac_cv_prog_CC"
2204 fi
2205
2206 fi
2207 if test -z "$CC"; then
2208 # Extract the first word of "cc", so it can be a program name with args.
2209 set dummy cc; ac_word=$2
2210 echo "$as_me:$LINENO: checking for $ac_word" >&5
2211 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2212 if test "${ac_cv_prog_CC+set}" = set; then
2213 echo $ECHO_N "(cached) $ECHO_C" >&6
2214 else
2215 if test -n "$CC"; then
2216 ac_cv_prog_CC="$CC" # Let the user override the test.
2217 else
2218 ac_prog_rejected=no
2219 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2220 for as_dir in $PATH
2221 do
2222 IFS=$as_save_IFS
2223 test -z "$as_dir" && as_dir=.
2224 for ac_exec_ext in '' $ac_executable_extensions; do
2225 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2226 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2227 ac_prog_rejected=yes
2228 continue
2229 fi
2230 ac_cv_prog_CC="cc"
2231 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2232 break 2
2233 fi
2234 done
2235 done
2236
2237 if test $ac_prog_rejected = yes; then
2238 # We found a bogon in the path, so make sure we never use it.
2239 set dummy $ac_cv_prog_CC
2240 shift
2241 if test $# != 0; then
2242 # We chose a different compiler from the bogus one.
2243 # However, it has the same basename, so the bogon will be chosen
2244 # first if we set CC to just the basename; use the full file name.
2245 shift
2246 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2247 fi
2248 fi
2249 fi
2250 fi
2251 CC=$ac_cv_prog_CC
2252 if test -n "$CC"; then
2253 echo "$as_me:$LINENO: result: $CC" >&5
2254 echo "${ECHO_T}$CC" >&6
2255 else
2256 echo "$as_me:$LINENO: result: no" >&5
2257 echo "${ECHO_T}no" >&6
2258 fi
2259
2260 fi
2261 if test -z "$CC"; then
2262 if test -n "$ac_tool_prefix"; then
2263 for ac_prog in cl
2264 do
2265 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2266 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2267 echo "$as_me:$LINENO: checking for $ac_word" >&5
2268 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2269 if test "${ac_cv_prog_CC+set}" = set; then
2270 echo $ECHO_N "(cached) $ECHO_C" >&6
2271 else
2272 if test -n "$CC"; then
2273 ac_cv_prog_CC="$CC" # Let the user override the test.
2274 else
2275 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2276 for as_dir in $PATH
2277 do
2278 IFS=$as_save_IFS
2279 test -z "$as_dir" && as_dir=.
2280 for ac_exec_ext in '' $ac_executable_extensions; do
2281 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2282 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2283 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2284 break 2
2285 fi
2286 done
2287 done
2288
2289 fi
2290 fi
2291 CC=$ac_cv_prog_CC
2292 if test -n "$CC"; then
2293 echo "$as_me:$LINENO: result: $CC" >&5
2294 echo "${ECHO_T}$CC" >&6
2295 else
2296 echo "$as_me:$LINENO: result: no" >&5
2297 echo "${ECHO_T}no" >&6
2298 fi
2299
2300 test -n "$CC" && break
2301 done
2302 fi
2303 if test -z "$CC"; then
2304 ac_ct_CC=$CC
2305 for ac_prog in cl
2306 do
2307 # Extract the first word of "$ac_prog", so it can be a program name with args.
2308 set dummy $ac_prog; ac_word=$2
2309 echo "$as_me:$LINENO: checking for $ac_word" >&5
2310 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2311 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2312 echo $ECHO_N "(cached) $ECHO_C" >&6
2313 else
2314 if test -n "$ac_ct_CC"; then
2315 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2316 else
2317 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2318 for as_dir in $PATH
2319 do
2320 IFS=$as_save_IFS
2321 test -z "$as_dir" && as_dir=.
2322 for ac_exec_ext in '' $ac_executable_extensions; do
2323 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2324 ac_cv_prog_ac_ct_CC="$ac_prog"
2325 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2326 break 2
2327 fi
2328 done
2329 done
2330
2331 fi
2332 fi
2333 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2334 if test -n "$ac_ct_CC"; then
2335 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2336 echo "${ECHO_T}$ac_ct_CC" >&6
2337 else
2338 echo "$as_me:$LINENO: result: no" >&5
2339 echo "${ECHO_T}no" >&6
2340 fi
2341
2342 test -n "$ac_ct_CC" && break
2343 done
2344
2345 CC=$ac_ct_CC
2346 fi
2347
2348 fi
2349
2350
2351 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2352 See \`config.log' for more details." >&5
2353 echo "$as_me: error: no acceptable C compiler found in \$PATH
2354 See \`config.log' for more details." >&2;}
2355 { (exit 1); exit 1; }; }
2356
2357 # Provide some information about the compiler.
2358 echo "$as_me:$LINENO:" \
2359 "checking for C compiler version" >&5
2360 ac_compiler=`set X $ac_compile; echo $2`
2361 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2362 (eval $ac_compiler --version </dev/null >&5) 2>&5
2363 ac_status=$?
2364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2365 (exit $ac_status); }
2366 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2367 (eval $ac_compiler -v </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
2377 cat >conftest.$ac_ext <<_ACEOF
2378 /* confdefs.h. */
2379 _ACEOF
2380 cat confdefs.h >>conftest.$ac_ext
2381 cat >>conftest.$ac_ext <<_ACEOF
2382 /* end confdefs.h. */
2383
2384 int
2385 main ()
2386 {
2387
2388 ;
2389 return 0;
2390 }
2391 _ACEOF
2392 # FIXME: Cleanup?
2393 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2394 (eval $ac_link) 2>&5
2395 ac_status=$?
2396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2397 (exit $ac_status); }; then
2398 gcc_no_link=no
2399 else
2400 gcc_no_link=yes
2401 fi
2402
2403 if test x$gcc_no_link = xyes; then
2404 # Setting cross_compile will disable run tests; it will
2405 # also disable AC_CHECK_FILE but that's generally
2406 # correct if we can't link.
2407 cross_compiling=yes
2408 EXEEXT=
2409 else
2410 cat >conftest.$ac_ext <<_ACEOF
2411 /* confdefs.h. */
2412 _ACEOF
2413 cat confdefs.h >>conftest.$ac_ext
2414 cat >>conftest.$ac_ext <<_ACEOF
2415 /* end confdefs.h. */
2416
2417 int
2418 main ()
2419 {
2420
2421 ;
2422 return 0;
2423 }
2424 _ACEOF
2425 ac_clean_files_save=$ac_clean_files
2426 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2427 # Try to create an executable without -o first, disregard a.out.
2428 # It will help us diagnose broken compilers, and finding out an intuition
2429 # of exeext.
2430 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2431 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2432 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2433 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2434 (eval $ac_link_default) 2>&5
2435 ac_status=$?
2436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2437 (exit $ac_status); }; then
2438 # Find the output, starting from the most likely. This scheme is
2439 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2440 # resort.
2441
2442 # Be careful to initialize this variable, since it used to be cached.
2443 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2444 ac_cv_exeext=
2445 # b.out is created by i960 compilers.
2446 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2447 do
2448 test -f "$ac_file" || continue
2449 case $ac_file in
2450 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2451 ;;
2452 conftest.$ac_ext )
2453 # This is the source file.
2454 ;;
2455 [ab].out )
2456 # We found the default executable, but exeext='' is most
2457 # certainly right.
2458 break;;
2459 *.* )
2460 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2461 # FIXME: I believe we export ac_cv_exeext for Libtool,
2462 # but it would be cool to find out if it's true. Does anybody
2463 # maintain Libtool? --akim.
2464 export ac_cv_exeext
2465 break;;
2466 * )
2467 break;;
2468 esac
2469 done
2470 else
2471 echo "$as_me: failed program was:" >&5
2472 sed 's/^/| /' conftest.$ac_ext >&5
2473
2474 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2475 See \`config.log' for more details." >&5
2476 echo "$as_me: error: C compiler cannot create executables
2477 See \`config.log' for more details." >&2;}
2478 { (exit 77); exit 77; }; }
2479 fi
2480
2481 ac_exeext=$ac_cv_exeext
2482 echo "$as_me:$LINENO: result: $ac_file" >&5
2483 echo "${ECHO_T}$ac_file" >&6
2484
2485 # Check the compiler produces executables we can run. If not, either
2486 # the compiler is broken, or we cross compile.
2487 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2488 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2489 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2490 # If not cross compiling, check that we can run a simple program.
2491 if test "$cross_compiling" != yes; then
2492 if { ac_try='./$ac_file'
2493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2494 (eval $ac_try) 2>&5
2495 ac_status=$?
2496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2497 (exit $ac_status); }; }; then
2498 cross_compiling=no
2499 else
2500 if test "$cross_compiling" = maybe; then
2501 cross_compiling=yes
2502 else
2503 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2504 If you meant to cross compile, use \`--host'.
2505 See \`config.log' for more details." >&5
2506 echo "$as_me: error: cannot run C compiled programs.
2507 If you meant to cross compile, use \`--host'.
2508 See \`config.log' for more details." >&2;}
2509 { (exit 1); exit 1; }; }
2510 fi
2511 fi
2512 fi
2513 echo "$as_me:$LINENO: result: yes" >&5
2514 echo "${ECHO_T}yes" >&6
2515
2516 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2517 ac_clean_files=$ac_clean_files_save
2518 # Check the compiler produces executables we can run. If not, either
2519 # the compiler is broken, or we cross compile.
2520 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2521 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2522 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2523 echo "${ECHO_T}$cross_compiling" >&6
2524
2525 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2526 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2527 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2528 (eval $ac_link) 2>&5
2529 ac_status=$?
2530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2531 (exit $ac_status); }; then
2532 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2533 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2534 # work properly (i.e., refer to `conftest.exe'), while it won't with
2535 # `rm'.
2536 for ac_file in conftest.exe conftest conftest.*; do
2537 test -f "$ac_file" || continue
2538 case $ac_file in
2539 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2540 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2541 export ac_cv_exeext
2542 break;;
2543 * ) break;;
2544 esac
2545 done
2546 else
2547 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2548 See \`config.log' for more details." >&5
2549 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2550 See \`config.log' for more details." >&2;}
2551 { (exit 1); exit 1; }; }
2552 fi
2553
2554 rm -f conftest$ac_cv_exeext
2555 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2556 echo "${ECHO_T}$ac_cv_exeext" >&6
2557
2558 rm -f conftest.$ac_ext
2559 EXEEXT=$ac_cv_exeext
2560 ac_exeext=$EXEEXT
2561 fi
2562 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2563 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2564 if test "${ac_cv_objext+set}" = set; then
2565 echo $ECHO_N "(cached) $ECHO_C" >&6
2566 else
2567 cat >conftest.$ac_ext <<_ACEOF
2568 /* confdefs.h. */
2569 _ACEOF
2570 cat confdefs.h >>conftest.$ac_ext
2571 cat >>conftest.$ac_ext <<_ACEOF
2572 /* end confdefs.h. */
2573
2574 int
2575 main ()
2576 {
2577
2578 ;
2579 return 0;
2580 }
2581 _ACEOF
2582 rm -f conftest.o conftest.obj
2583 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2584 (eval $ac_compile) 2>&5
2585 ac_status=$?
2586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2587 (exit $ac_status); }; then
2588 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2589 case $ac_file in
2590 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2591 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2592 break;;
2593 esac
2594 done
2595 else
2596 echo "$as_me: failed program was:" >&5
2597 sed 's/^/| /' conftest.$ac_ext >&5
2598
2599 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2600 See \`config.log' for more details." >&5
2601 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2602 See \`config.log' for more details." >&2;}
2603 { (exit 1); exit 1; }; }
2604 fi
2605
2606 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2607 fi
2608 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2609 echo "${ECHO_T}$ac_cv_objext" >&6
2610 OBJEXT=$ac_cv_objext
2611 ac_objext=$OBJEXT
2612 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2613 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2614 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2615 echo $ECHO_N "(cached) $ECHO_C" >&6
2616 else
2617 cat >conftest.$ac_ext <<_ACEOF
2618 /* confdefs.h. */
2619 _ACEOF
2620 cat confdefs.h >>conftest.$ac_ext
2621 cat >>conftest.$ac_ext <<_ACEOF
2622 /* end confdefs.h. */
2623
2624 int
2625 main ()
2626 {
2627 #ifndef __GNUC__
2628 choke me
2629 #endif
2630
2631 ;
2632 return 0;
2633 }
2634 _ACEOF
2635 rm -f conftest.$ac_objext
2636 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2637 (eval $ac_compile) 2>conftest.er1
2638 ac_status=$?
2639 grep -v '^ *+' conftest.er1 >conftest.err
2640 rm -f conftest.er1
2641 cat conftest.err >&5
2642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2643 (exit $ac_status); } &&
2644 { ac_try='test -z "$ac_c_werror_flag"
2645 || test ! -s conftest.err'
2646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2647 (eval $ac_try) 2>&5
2648 ac_status=$?
2649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2650 (exit $ac_status); }; } &&
2651 { ac_try='test -s conftest.$ac_objext'
2652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2653 (eval $ac_try) 2>&5
2654 ac_status=$?
2655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2656 (exit $ac_status); }; }; then
2657 ac_compiler_gnu=yes
2658 else
2659 echo "$as_me: failed program was:" >&5
2660 sed 's/^/| /' conftest.$ac_ext >&5
2661
2662 ac_compiler_gnu=no
2663 fi
2664 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2665 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2666
2667 fi
2668 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2669 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2670 GCC=`test $ac_compiler_gnu = yes && echo yes`
2671 ac_test_CFLAGS=${CFLAGS+set}
2672 ac_save_CFLAGS=$CFLAGS
2673 CFLAGS="-g"
2674 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2675 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2676 if test "${ac_cv_prog_cc_g+set}" = set; then
2677 echo $ECHO_N "(cached) $ECHO_C" >&6
2678 else
2679 cat >conftest.$ac_ext <<_ACEOF
2680 /* confdefs.h. */
2681 _ACEOF
2682 cat confdefs.h >>conftest.$ac_ext
2683 cat >>conftest.$ac_ext <<_ACEOF
2684 /* end confdefs.h. */
2685
2686 int
2687 main ()
2688 {
2689
2690 ;
2691 return 0;
2692 }
2693 _ACEOF
2694 rm -f conftest.$ac_objext
2695 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2696 (eval $ac_compile) 2>conftest.er1
2697 ac_status=$?
2698 grep -v '^ *+' conftest.er1 >conftest.err
2699 rm -f conftest.er1
2700 cat conftest.err >&5
2701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2702 (exit $ac_status); } &&
2703 { ac_try='test -z "$ac_c_werror_flag"
2704 || test ! -s conftest.err'
2705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2706 (eval $ac_try) 2>&5
2707 ac_status=$?
2708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2709 (exit $ac_status); }; } &&
2710 { ac_try='test -s conftest.$ac_objext'
2711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2712 (eval $ac_try) 2>&5
2713 ac_status=$?
2714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2715 (exit $ac_status); }; }; then
2716 ac_cv_prog_cc_g=yes
2717 else
2718 echo "$as_me: failed program was:" >&5
2719 sed 's/^/| /' conftest.$ac_ext >&5
2720
2721 ac_cv_prog_cc_g=no
2722 fi
2723 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2724 fi
2725 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2726 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2727 if test "$ac_test_CFLAGS" = set; then
2728 CFLAGS=$ac_save_CFLAGS
2729 elif test $ac_cv_prog_cc_g = yes; then
2730 if test "$GCC" = yes; then
2731 CFLAGS="-g -O2"
2732 else
2733 CFLAGS="-g"
2734 fi
2735 else
2736 if test "$GCC" = yes; then
2737 CFLAGS="-O2"
2738 else
2739 CFLAGS=
2740 fi
2741 fi
2742 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2743 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2744 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2745 echo $ECHO_N "(cached) $ECHO_C" >&6
2746 else
2747 ac_cv_prog_cc_stdc=no
2748 ac_save_CC=$CC
2749 cat >conftest.$ac_ext <<_ACEOF
2750 /* confdefs.h. */
2751 _ACEOF
2752 cat confdefs.h >>conftest.$ac_ext
2753 cat >>conftest.$ac_ext <<_ACEOF
2754 /* end confdefs.h. */
2755 #include <stdarg.h>
2756 #include <stdio.h>
2757 #include <sys/types.h>
2758 #include <sys/stat.h>
2759 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2760 struct buf { int x; };
2761 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2762 static char *e (p, i)
2763 char **p;
2764 int i;
2765 {
2766 return p[i];
2767 }
2768 static char *f (char * (*g) (char **, int), char **p, ...)
2769 {
2770 char *s;
2771 va_list v;
2772 va_start (v,p);
2773 s = g (p, va_arg (v,int));
2774 va_end (v);
2775 return s;
2776 }
2777
2778 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2779 function prototypes and stuff, but not '\xHH' hex character constants.
2780 These don't provoke an error unfortunately, instead are silently treated
2781 as 'x'. The following induces an error, until -std1 is added to get
2782 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2783 array size at least. It's necessary to write '\x00'==0 to get something
2784 that's true only with -std1. */
2785 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2786
2787 int test (int i, double x);
2788 struct s1 {int (*f) (int a);};
2789 struct s2 {int (*f) (double a);};
2790 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2791 int argc;
2792 char **argv;
2793 int
2794 main ()
2795 {
2796 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2797 ;
2798 return 0;
2799 }
2800 _ACEOF
2801 # Don't try gcc -ansi; that turns off useful extensions and
2802 # breaks some systems' header files.
2803 # AIX -qlanglvl=ansi
2804 # Ultrix and OSF/1 -std1
2805 # HP-UX 10.20 and later -Ae
2806 # HP-UX older versions -Aa -D_HPUX_SOURCE
2807 # SVR4 -Xc -D__EXTENSIONS__
2808 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2809 do
2810 CC="$ac_save_CC $ac_arg"
2811 rm -f conftest.$ac_objext
2812 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2813 (eval $ac_compile) 2>conftest.er1
2814 ac_status=$?
2815 grep -v '^ *+' conftest.er1 >conftest.err
2816 rm -f conftest.er1
2817 cat conftest.err >&5
2818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2819 (exit $ac_status); } &&
2820 { ac_try='test -z "$ac_c_werror_flag"
2821 || test ! -s conftest.err'
2822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2823 (eval $ac_try) 2>&5
2824 ac_status=$?
2825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2826 (exit $ac_status); }; } &&
2827 { ac_try='test -s conftest.$ac_objext'
2828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2829 (eval $ac_try) 2>&5
2830 ac_status=$?
2831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2832 (exit $ac_status); }; }; then
2833 ac_cv_prog_cc_stdc=$ac_arg
2834 break
2835 else
2836 echo "$as_me: failed program was:" >&5
2837 sed 's/^/| /' conftest.$ac_ext >&5
2838
2839 fi
2840 rm -f conftest.err conftest.$ac_objext
2841 done
2842 rm -f conftest.$ac_ext conftest.$ac_objext
2843 CC=$ac_save_CC
2844
2845 fi
2846
2847 case "x$ac_cv_prog_cc_stdc" in
2848 x|xno)
2849 echo "$as_me:$LINENO: result: none needed" >&5
2850 echo "${ECHO_T}none needed" >&6 ;;
2851 *)
2852 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2853 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2854 CC="$CC $ac_cv_prog_cc_stdc" ;;
2855 esac
2856
2857 # Some people use a C++ compiler to compile C. Since we use `exit',
2858 # in C++ we need to declare it. In case someone uses the same compiler
2859 # for both compiling C and C++ we need to have the C++ compiler decide
2860 # the declaration of exit, since it's the most demanding environment.
2861 cat >conftest.$ac_ext <<_ACEOF
2862 #ifndef __cplusplus
2863 choke me
2864 #endif
2865 _ACEOF
2866 rm -f conftest.$ac_objext
2867 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2868 (eval $ac_compile) 2>conftest.er1
2869 ac_status=$?
2870 grep -v '^ *+' conftest.er1 >conftest.err
2871 rm -f conftest.er1
2872 cat conftest.err >&5
2873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2874 (exit $ac_status); } &&
2875 { ac_try='test -z "$ac_c_werror_flag"
2876 || test ! -s conftest.err'
2877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2878 (eval $ac_try) 2>&5
2879 ac_status=$?
2880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2881 (exit $ac_status); }; } &&
2882 { ac_try='test -s conftest.$ac_objext'
2883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2884 (eval $ac_try) 2>&5
2885 ac_status=$?
2886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2887 (exit $ac_status); }; }; then
2888 for ac_declaration in \
2889 '' \
2890 'extern "C" void std::exit (int) throw (); using std::exit;' \
2891 'extern "C" void std::exit (int); using std::exit;' \
2892 'extern "C" void exit (int) throw ();' \
2893 'extern "C" void exit (int);' \
2894 'void exit (int);'
2895 do
2896 cat >conftest.$ac_ext <<_ACEOF
2897 /* confdefs.h. */
2898 _ACEOF
2899 cat confdefs.h >>conftest.$ac_ext
2900 cat >>conftest.$ac_ext <<_ACEOF
2901 /* end confdefs.h. */
2902 $ac_declaration
2903 #include <stdlib.h>
2904 int
2905 main ()
2906 {
2907 exit (42);
2908 ;
2909 return 0;
2910 }
2911 _ACEOF
2912 rm -f conftest.$ac_objext
2913 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2914 (eval $ac_compile) 2>conftest.er1
2915 ac_status=$?
2916 grep -v '^ *+' conftest.er1 >conftest.err
2917 rm -f conftest.er1
2918 cat conftest.err >&5
2919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2920 (exit $ac_status); } &&
2921 { ac_try='test -z "$ac_c_werror_flag"
2922 || test ! -s conftest.err'
2923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2924 (eval $ac_try) 2>&5
2925 ac_status=$?
2926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2927 (exit $ac_status); }; } &&
2928 { ac_try='test -s conftest.$ac_objext'
2929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2930 (eval $ac_try) 2>&5
2931 ac_status=$?
2932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2933 (exit $ac_status); }; }; then
2934 :
2935 else
2936 echo "$as_me: failed program was:" >&5
2937 sed 's/^/| /' conftest.$ac_ext >&5
2938
2939 continue
2940 fi
2941 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2942 cat >conftest.$ac_ext <<_ACEOF
2943 /* confdefs.h. */
2944 _ACEOF
2945 cat confdefs.h >>conftest.$ac_ext
2946 cat >>conftest.$ac_ext <<_ACEOF
2947 /* end confdefs.h. */
2948 $ac_declaration
2949 int
2950 main ()
2951 {
2952 exit (42);
2953 ;
2954 return 0;
2955 }
2956 _ACEOF
2957 rm -f conftest.$ac_objext
2958 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2959 (eval $ac_compile) 2>conftest.er1
2960 ac_status=$?
2961 grep -v '^ *+' conftest.er1 >conftest.err
2962 rm -f conftest.er1
2963 cat conftest.err >&5
2964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2965 (exit $ac_status); } &&
2966 { ac_try='test -z "$ac_c_werror_flag"
2967 || test ! -s conftest.err'
2968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2969 (eval $ac_try) 2>&5
2970 ac_status=$?
2971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2972 (exit $ac_status); }; } &&
2973 { ac_try='test -s conftest.$ac_objext'
2974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2975 (eval $ac_try) 2>&5
2976 ac_status=$?
2977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2978 (exit $ac_status); }; }; then
2979 break
2980 else
2981 echo "$as_me: failed program was:" >&5
2982 sed 's/^/| /' conftest.$ac_ext >&5
2983
2984 fi
2985 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2986 done
2987 rm -f conftest*
2988 if test -n "$ac_declaration"; then
2989 echo '#ifdef __cplusplus' >>confdefs.h
2990 echo $ac_declaration >>confdefs.h
2991 echo '#endif' >>confdefs.h
2992 fi
2993
2994 else
2995 echo "$as_me: failed program was:" >&5
2996 sed 's/^/| /' conftest.$ac_ext >&5
2997
2998 fi
2999 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3000 ac_ext=c
3001 ac_cpp='$CPP $CPPFLAGS'
3002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3003 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3004 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3005
3006 ac_ext=c
3007 ac_cpp='$CPP $CPPFLAGS'
3008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3011 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3012 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3013 # On Suns, sometimes $CPP names a directory.
3014 if test -n "$CPP" && test -d "$CPP"; then
3015 CPP=
3016 fi
3017 if test -z "$CPP"; then
3018 if test "${ac_cv_prog_CPP+set}" = set; then
3019 echo $ECHO_N "(cached) $ECHO_C" >&6
3020 else
3021 # Double quotes because CPP needs to be expanded
3022 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3023 do
3024 ac_preproc_ok=false
3025 for ac_c_preproc_warn_flag in '' yes
3026 do
3027 # Use a header file that comes with gcc, so configuring glibc
3028 # with a fresh cross-compiler works.
3029 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3030 # <limits.h> exists even on freestanding compilers.
3031 # On the NeXT, cc -E runs the code through the compiler's parser,
3032 # not just through cpp. "Syntax error" is here to catch this case.
3033 cat >conftest.$ac_ext <<_ACEOF
3034 /* confdefs.h. */
3035 _ACEOF
3036 cat confdefs.h >>conftest.$ac_ext
3037 cat >>conftest.$ac_ext <<_ACEOF
3038 /* end confdefs.h. */
3039 #ifdef __STDC__
3040 # include <limits.h>
3041 #else
3042 # include <assert.h>
3043 #endif
3044 Syntax error
3045 _ACEOF
3046 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3047 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3048 ac_status=$?
3049 grep -v '^ *+' conftest.er1 >conftest.err
3050 rm -f conftest.er1
3051 cat conftest.err >&5
3052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3053 (exit $ac_status); } >/dev/null; then
3054 if test -s conftest.err; then
3055 ac_cpp_err=$ac_c_preproc_warn_flag
3056 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3057 else
3058 ac_cpp_err=
3059 fi
3060 else
3061 ac_cpp_err=yes
3062 fi
3063 if test -z "$ac_cpp_err"; then
3064 :
3065 else
3066 echo "$as_me: failed program was:" >&5
3067 sed 's/^/| /' conftest.$ac_ext >&5
3068
3069 # Broken: fails on valid input.
3070 continue
3071 fi
3072 rm -f conftest.err conftest.$ac_ext
3073
3074 # OK, works on sane cases. Now check whether non-existent headers
3075 # can be detected and how.
3076 cat >conftest.$ac_ext <<_ACEOF
3077 /* confdefs.h. */
3078 _ACEOF
3079 cat confdefs.h >>conftest.$ac_ext
3080 cat >>conftest.$ac_ext <<_ACEOF
3081 /* end confdefs.h. */
3082 #include <ac_nonexistent.h>
3083 _ACEOF
3084 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3085 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3086 ac_status=$?
3087 grep -v '^ *+' conftest.er1 >conftest.err
3088 rm -f conftest.er1
3089 cat conftest.err >&5
3090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3091 (exit $ac_status); } >/dev/null; then
3092 if test -s conftest.err; then
3093 ac_cpp_err=$ac_c_preproc_warn_flag
3094 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3095 else
3096 ac_cpp_err=
3097 fi
3098 else
3099 ac_cpp_err=yes
3100 fi
3101 if test -z "$ac_cpp_err"; then
3102 # Broken: success on invalid input.
3103 continue
3104 else
3105 echo "$as_me: failed program was:" >&5
3106 sed 's/^/| /' conftest.$ac_ext >&5
3107
3108 # Passes both tests.
3109 ac_preproc_ok=:
3110 break
3111 fi
3112 rm -f conftest.err conftest.$ac_ext
3113
3114 done
3115 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3116 rm -f conftest.err conftest.$ac_ext
3117 if $ac_preproc_ok; then
3118 break
3119 fi
3120
3121 done
3122 ac_cv_prog_CPP=$CPP
3123
3124 fi
3125 CPP=$ac_cv_prog_CPP
3126 else
3127 ac_cv_prog_CPP=$CPP
3128 fi
3129 echo "$as_me:$LINENO: result: $CPP" >&5
3130 echo "${ECHO_T}$CPP" >&6
3131 ac_preproc_ok=false
3132 for ac_c_preproc_warn_flag in '' yes
3133 do
3134 # Use a header file that comes with gcc, so configuring glibc
3135 # with a fresh cross-compiler works.
3136 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3137 # <limits.h> exists even on freestanding compilers.
3138 # On the NeXT, cc -E runs the code through the compiler's parser,
3139 # not just through cpp. "Syntax error" is here to catch this case.
3140 cat >conftest.$ac_ext <<_ACEOF
3141 /* confdefs.h. */
3142 _ACEOF
3143 cat confdefs.h >>conftest.$ac_ext
3144 cat >>conftest.$ac_ext <<_ACEOF
3145 /* end confdefs.h. */
3146 #ifdef __STDC__
3147 # include <limits.h>
3148 #else
3149 # include <assert.h>
3150 #endif
3151 Syntax error
3152 _ACEOF
3153 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3154 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3155 ac_status=$?
3156 grep -v '^ *+' conftest.er1 >conftest.err
3157 rm -f conftest.er1
3158 cat conftest.err >&5
3159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3160 (exit $ac_status); } >/dev/null; then
3161 if test -s conftest.err; then
3162 ac_cpp_err=$ac_c_preproc_warn_flag
3163 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3164 else
3165 ac_cpp_err=
3166 fi
3167 else
3168 ac_cpp_err=yes
3169 fi
3170 if test -z "$ac_cpp_err"; then
3171 :
3172 else
3173 echo "$as_me: failed program was:" >&5
3174 sed 's/^/| /' conftest.$ac_ext >&5
3175
3176 # Broken: fails on valid input.
3177 continue
3178 fi
3179 rm -f conftest.err conftest.$ac_ext
3180
3181 # OK, works on sane cases. Now check whether non-existent headers
3182 # can be detected and how.
3183 cat >conftest.$ac_ext <<_ACEOF
3184 /* confdefs.h. */
3185 _ACEOF
3186 cat confdefs.h >>conftest.$ac_ext
3187 cat >>conftest.$ac_ext <<_ACEOF
3188 /* end confdefs.h. */
3189 #include <ac_nonexistent.h>
3190 _ACEOF
3191 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3192 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3193 ac_status=$?
3194 grep -v '^ *+' conftest.er1 >conftest.err
3195 rm -f conftest.er1
3196 cat conftest.err >&5
3197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3198 (exit $ac_status); } >/dev/null; then
3199 if test -s conftest.err; then
3200 ac_cpp_err=$ac_c_preproc_warn_flag
3201 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3202 else
3203 ac_cpp_err=
3204 fi
3205 else
3206 ac_cpp_err=yes
3207 fi
3208 if test -z "$ac_cpp_err"; then
3209 # Broken: success on invalid input.
3210 continue
3211 else
3212 echo "$as_me: failed program was:" >&5
3213 sed 's/^/| /' conftest.$ac_ext >&5
3214
3215 # Passes both tests.
3216 ac_preproc_ok=:
3217 break
3218 fi
3219 rm -f conftest.err conftest.$ac_ext
3220
3221 done
3222 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3223 rm -f conftest.err conftest.$ac_ext
3224 if $ac_preproc_ok; then
3225 :
3226 else
3227 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3228 See \`config.log' for more details." >&5
3229 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3230 See \`config.log' for more details." >&2;}
3231 { (exit 1); exit 1; }; }
3232 fi
3233
3234 ac_ext=c
3235 ac_cpp='$CPP $CPPFLAGS'
3236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3239
3240
3241 ac_c_preproc_warn_flag=yes
3242
3243 # Check for decimal float support.
3244
3245 echo "$as_me:$LINENO: checking whether decimal floating point is supported" >&5
3246 echo $ECHO_N "checking whether decimal floating point is supported... $ECHO_C" >&6
3247 if test "${libgcc_cv_dfp+set}" = set; then
3248 echo $ECHO_N "(cached) $ECHO_C" >&6
3249 else
3250 cat >conftest.$ac_ext <<_ACEOF
3251 _Decimal32 x;
3252 _ACEOF
3253 rm -f conftest.$ac_objext
3254 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3255 (eval $ac_compile) 2>conftest.er1
3256 ac_status=$?
3257 grep -v '^ *+' conftest.er1 >conftest.err
3258 rm -f conftest.er1
3259 cat conftest.err >&5
3260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3261 (exit $ac_status); } &&
3262 { ac_try='test -z "$ac_c_werror_flag"
3263 || test ! -s conftest.err'
3264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3265 (eval $ac_try) 2>&5
3266 ac_status=$?
3267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3268 (exit $ac_status); }; } &&
3269 { ac_try='test -s conftest.$ac_objext'
3270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3271 (eval $ac_try) 2>&5
3272 ac_status=$?
3273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3274 (exit $ac_status); }; }; then
3275 libgcc_cv_dfp=yes
3276 else
3277 echo "$as_me: failed program was:" >&5
3278 sed 's/^/| /' conftest.$ac_ext >&5
3279
3280 libgcc_cv_dfp=no
3281 fi
3282 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3283 fi
3284 echo "$as_me:$LINENO: result: $libgcc_cv_dfp" >&5
3285 echo "${ECHO_T}$libgcc_cv_dfp" >&6
3286 decimal_float=$libgcc_cv_dfp
3287
3288
3289 # Collect host-machine-specific information.
3290 . ${srcdir}/config.host
3291
3292 # Check for visibility support. This is after config.host so that
3293 # we can check for asm_hidden_op.
3294 echo "$as_me:$LINENO: checking for __attribute__((visibility(\"hidden\")))" >&5
3295 echo $ECHO_N "checking for __attribute__((visibility(\"hidden\")))... $ECHO_C" >&6
3296 if test "${libgcc_cv_hidden_visibility_attribute+set}" = set; then
3297 echo $ECHO_N "(cached) $ECHO_C" >&6
3298 else
3299
3300 echo 'int __attribute__ ((visibility ("hidden"))) foo (void) { return 1; }' > conftest.c
3301 libgcc_cv_hidden_visibility_attribute=no
3302 if { ac_try='${CC-cc} -Werror -S conftest.c -o conftest.s 1>&5'
3303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3304 (eval $ac_try) 2>&5
3305 ac_status=$?
3306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3307 (exit $ac_status); }; }; then
3308 if grep "\\$asm_hidden_op.*foo" conftest.s >/dev/null; then
3309 libgcc_cv_hidden_visibility_attribute=yes
3310 fi
3311 fi
3312 rm -f conftest.*
3313
3314 fi
3315 echo "$as_me:$LINENO: result: $libgcc_cv_hidden_visibility_attribute" >&5
3316 echo "${ECHO_T}$libgcc_cv_hidden_visibility_attribute" >&6
3317
3318 if test $libgcc_cv_hidden_visibility_attribute = yes; then
3319 vis_hide='-fvisibility=hidden -DHIDE_EXPORTS'
3320 else
3321 vis_hide=
3322 fi
3323
3324
3325 # Conditionalize the makefile for this target machine.
3326 tmake_file_=
3327 for f in ${tmake_file}
3328 do
3329 if test -f ${srcdir}/config/$f
3330 then
3331 tmake_file_="${tmake_file_} \$(srcdir)/config/$f"
3332 fi
3333 done
3334 tmake_file="${tmake_file_}"
3335
3336
3337 # Substitute configuration variables
3338
3339
3340
3341 # We need multilib support.
3342 ac_config_files="$ac_config_files Makefile"
3343
3344 ac_config_commands="$ac_config_commands default"
3345
3346 cat >confcache <<\_ACEOF
3347 # This file is a shell script that caches the results of configure
3348 # tests run on this system so they can be shared between configure
3349 # scripts and configure runs, see configure's option --config-cache.
3350 # It is not useful on other systems. If it contains results you don't
3351 # want to keep, you may remove or edit it.
3352 #
3353 # config.status only pays attention to the cache file if you give it
3354 # the --recheck option to rerun configure.
3355 #
3356 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3357 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3358 # following values.
3359
3360 _ACEOF
3361
3362 # The following way of writing the cache mishandles newlines in values,
3363 # but we know of no workaround that is simple, portable, and efficient.
3364 # So, don't put newlines in cache variables' values.
3365 # Ultrix sh set writes to stderr and can't be redirected directly,
3366 # and sets the high bit in the cache file unless we assign to the vars.
3367 {
3368 (set) 2>&1 |
3369 case `(ac_space=' '; set | grep ac_space) 2>&1` in
3370 *ac_space=\ *)
3371 # `set' does not quote correctly, so add quotes (double-quote
3372 # substitution turns \\\\ into \\, and sed turns \\ into \).
3373 sed -n \
3374 "s/'/'\\\\''/g;
3375 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3376 ;;
3377 *)
3378 # `set' quotes correctly as required by POSIX, so do not add quotes.
3379 sed -n \
3380 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
3381 ;;
3382 esac;
3383 } |
3384 sed '
3385 t clear
3386 : clear
3387 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3388 t end
3389 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3390 : end' >>confcache
3391 if diff $cache_file confcache >/dev/null 2>&1; then :; else
3392 if test -w $cache_file; then
3393 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
3394 cat confcache >$cache_file
3395 else
3396 echo "not updating unwritable cache $cache_file"
3397 fi
3398 fi
3399 rm -f confcache
3400
3401 test "x$prefix" = xNONE && prefix=$ac_default_prefix
3402 # Let make expand exec_prefix.
3403 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3404
3405 # VPATH may cause trouble with some makes, so we remove $(srcdir),
3406 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
3407 # trailing colons and then remove the whole line if VPATH becomes empty
3408 # (actually we leave an empty line to preserve line numbers).
3409 if test "x$srcdir" = x.; then
3410 ac_vpsub='/^[ ]*VPATH[ ]*=/{
3411 s/:*\$(srcdir):*/:/;
3412 s/:*\${srcdir}:*/:/;
3413 s/:*@srcdir@:*/:/;
3414 s/^\([^=]*=[ ]*\):*/\1/;
3415 s/:*$//;
3416 s/^[^=]*=[ ]*$//;
3417 }'
3418 fi
3419
3420 # Transform confdefs.h into DEFS.
3421 # Protect against shell expansion while executing Makefile rules.
3422 # Protect against Makefile macro expansion.
3423 #
3424 # If the first sed substitution is executed (which looks for macros that
3425 # take arguments), then we branch to the quote section. Otherwise,
3426 # look for a macro that doesn't take arguments.
3427 cat >confdef2opt.sed <<\_ACEOF
3428 t clear
3429 : clear
3430 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
3431 t quote
3432 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
3433 t quote
3434 d
3435 : quote
3436 s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
3437 s,\[,\\&,g
3438 s,\],\\&,g
3439 s,\$,$$,g
3440 p
3441 _ACEOF
3442 # We use echo to avoid assuming a particular line-breaking character.
3443 # The extra dot is to prevent the shell from consuming trailing
3444 # line-breaks from the sub-command output. A line-break within
3445 # single-quotes doesn't work because, if this script is created in a
3446 # platform that uses two characters for line-breaks (e.g., DOS), tr
3447 # would break.
3448 ac_LF_and_DOT=`echo; echo .`
3449 DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
3450 rm -f confdef2opt.sed
3451
3452
3453 ac_libobjs=
3454 ac_ltlibobjs=
3455 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3456 # 1. Remove the extension, and $U if already installed.
3457 ac_i=`echo "$ac_i" |
3458 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
3459 # 2. Add them.
3460 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
3461 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
3462 done
3463 LIBOBJS=$ac_libobjs
3464
3465 LTLIBOBJS=$ac_ltlibobjs
3466
3467
3468
3469 : ${CONFIG_STATUS=./config.status}
3470 ac_clean_files_save=$ac_clean_files
3471 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3472 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
3473 echo "$as_me: creating $CONFIG_STATUS" >&6;}
3474 cat >$CONFIG_STATUS <<_ACEOF
3475 #! $SHELL
3476 # Generated by $as_me.
3477 # Run this file to recreate the current configuration.
3478 # Compiler output produced by configure, useful for debugging
3479 # configure, is in config.log if it exists.
3480
3481 debug=false
3482 ac_cs_recheck=false
3483 ac_cs_silent=false
3484 SHELL=\${CONFIG_SHELL-$SHELL}
3485 _ACEOF
3486
3487 cat >>$CONFIG_STATUS <<\_ACEOF
3488 ## --------------------- ##
3489 ## M4sh Initialization. ##
3490 ## --------------------- ##
3491
3492 # Be Bourne compatible
3493 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
3494 emulate sh
3495 NULLCMD=:
3496 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
3497 # is contrary to our usage. Disable this feature.
3498 alias -g '${1+"$@"}'='"$@"'
3499 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
3500 set -o posix
3501 fi
3502 DUALCASE=1; export DUALCASE # for MKS sh
3503
3504 # Support unset when possible.
3505 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
3506 as_unset=unset
3507 else
3508 as_unset=false
3509 fi
3510
3511
3512 # Work around bugs in pre-3.0 UWIN ksh.
3513 $as_unset ENV MAIL MAILPATH
3514 PS1='$ '
3515 PS2='> '
3516 PS4='+ '
3517
3518 # NLS nuisances.
3519 for as_var in \
3520 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
3521 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
3522 LC_TELEPHONE LC_TIME
3523 do
3524 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
3525 eval $as_var=C; export $as_var
3526 else
3527 $as_unset $as_var
3528 fi
3529 done
3530
3531 # Required to use basename.
3532 if expr a : '\(a\)' >/dev/null 2>&1; then
3533 as_expr=expr
3534 else
3535 as_expr=false
3536 fi
3537
3538 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
3539 as_basename=basename
3540 else
3541 as_basename=false
3542 fi
3543
3544
3545 # Name of the executable.
3546 as_me=`$as_basename "$0" ||
3547 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3548 X"$0" : 'X\(//\)$' \| \
3549 X"$0" : 'X\(/\)$' \| \
3550 . : '\(.\)' 2>/dev/null ||
3551 echo X/"$0" |
3552 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
3553 /^X\/\(\/\/\)$/{ s//\1/; q; }
3554 /^X\/\(\/\).*/{ s//\1/; q; }
3555 s/.*/./; q'`
3556
3557
3558 # PATH needs CR, and LINENO needs CR and PATH.
3559 # Avoid depending upon Character Ranges.
3560 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3561 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3562 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3563 as_cr_digits='0123456789'
3564 as_cr_alnum=$as_cr_Letters$as_cr_digits
3565
3566 # The user is always right.
3567 if test "${PATH_SEPARATOR+set}" != set; then
3568 echo "#! /bin/sh" >conf$$.sh
3569 echo "exit 0" >>conf$$.sh
3570 chmod +x conf$$.sh
3571 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
3572 PATH_SEPARATOR=';'
3573 else
3574 PATH_SEPARATOR=:
3575 fi
3576 rm -f conf$$.sh
3577 fi
3578
3579
3580 as_lineno_1=$LINENO
3581 as_lineno_2=$LINENO
3582 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
3583 test "x$as_lineno_1" != "x$as_lineno_2" &&
3584 test "x$as_lineno_3" = "x$as_lineno_2" || {
3585 # Find who we are. Look in the path if we contain no path at all
3586 # relative or not.
3587 case $0 in
3588 *[\\/]* ) as_myself=$0 ;;
3589 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3590 for as_dir in $PATH
3591 do
3592 IFS=$as_save_IFS
3593 test -z "$as_dir" && as_dir=.
3594 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3595 done
3596
3597 ;;
3598 esac
3599 # We did not find ourselves, most probably we were run as `sh COMMAND'
3600 # in which case we are not to be found in the path.
3601 if test "x$as_myself" = x; then
3602 as_myself=$0
3603 fi
3604 if test ! -f "$as_myself"; then
3605 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
3606 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
3607 { (exit 1); exit 1; }; }
3608 fi
3609 case $CONFIG_SHELL in
3610 '')
3611 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3612 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
3613 do
3614 IFS=$as_save_IFS
3615 test -z "$as_dir" && as_dir=.
3616 for as_base in sh bash ksh sh5; do
3617 case $as_dir in
3618 /*)
3619 if ("$as_dir/$as_base" -c '
3620 as_lineno_1=$LINENO
3621 as_lineno_2=$LINENO
3622 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
3623 test "x$as_lineno_1" != "x$as_lineno_2" &&
3624 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
3625 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
3626 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
3627 CONFIG_SHELL=$as_dir/$as_base
3628 export CONFIG_SHELL
3629 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
3630 fi;;
3631 esac
3632 done
3633 done
3634 ;;
3635 esac
3636
3637 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
3638 # uniformly replaced by the line number. The first 'sed' inserts a
3639 # line-number line before each line; the second 'sed' does the real
3640 # work. The second script uses 'N' to pair each line-number line
3641 # with the numbered line, and appends trailing '-' during
3642 # substitution so that $LINENO is not a special case at line end.
3643 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
3644 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
3645 sed '=' <$as_myself |
3646 sed '
3647 N
3648 s,$,-,
3649 : loop
3650 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
3651 t loop
3652 s,-$,,
3653 s,^['$as_cr_digits']*\n,,
3654 ' >$as_me.lineno &&
3655 chmod +x $as_me.lineno ||
3656 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
3657 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
3658 { (exit 1); exit 1; }; }
3659
3660 # Don't try to exec as it changes $[0], causing all sort of problems
3661 # (the dirname of $[0] is not the place where we might find the
3662 # original and so on. Autoconf is especially sensible to this).
3663 . ./$as_me.lineno
3664 # Exit status is that of the last command.
3665 exit
3666 }
3667
3668
3669 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
3670 *c*,-n*) ECHO_N= ECHO_C='
3671 ' ECHO_T=' ' ;;
3672 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
3673 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
3674 esac
3675
3676 if expr a : '\(a\)' >/dev/null 2>&1; then
3677 as_expr=expr
3678 else
3679 as_expr=false
3680 fi
3681
3682 rm -f conf$$ conf$$.exe conf$$.file
3683 echo >conf$$.file
3684 if ln -s conf$$.file conf$$ 2>/dev/null; then
3685 # We could just check for DJGPP; but this test a) works b) is more generic
3686 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
3687 if test -f conf$$.exe; then
3688 # Don't use ln at all; we don't have any links
3689 as_ln_s='cp -p'
3690 else
3691 as_ln_s='ln -s'
3692 fi
3693 elif ln conf$$.file conf$$ 2>/dev/null; then
3694 as_ln_s=ln
3695 else
3696 as_ln_s='cp -p'
3697 fi
3698 rm -f conf$$ conf$$.exe conf$$.file
3699
3700 if mkdir -p . 2>/dev/null; then
3701 as_mkdir_p=:
3702 else
3703 test -d ./-p && rmdir ./-p
3704 as_mkdir_p=false
3705 fi
3706
3707 as_executable_p="test -f"
3708
3709 # Sed expression to map a string onto a valid CPP name.
3710 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3711
3712 # Sed expression to map a string onto a valid variable name.
3713 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3714
3715
3716 # IFS
3717 # We need space, tab and new line, in precisely that order.
3718 as_nl='
3719 '
3720 IFS=" $as_nl"
3721
3722 # CDPATH.
3723 $as_unset CDPATH
3724
3725 exec 6>&1
3726
3727 # Open the log real soon, to keep \$[0] and so on meaningful, and to
3728 # report actual input values of CONFIG_FILES etc. instead of their
3729 # values after options handling. Logging --version etc. is OK.
3730 exec 5>>config.log
3731 {
3732 echo
3733 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3734 ## Running $as_me. ##
3735 _ASBOX
3736 } >&5
3737 cat >&5 <<_CSEOF
3738
3739 This file was extended by GNU C Runtime Library $as_me 1.0, which was
3740 generated by GNU Autoconf 2.59. Invocation command line was
3741
3742 CONFIG_FILES = $CONFIG_FILES
3743 CONFIG_HEADERS = $CONFIG_HEADERS
3744 CONFIG_LINKS = $CONFIG_LINKS
3745 CONFIG_COMMANDS = $CONFIG_COMMANDS
3746 $ $0 $@
3747
3748 _CSEOF
3749 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
3750 echo >&5
3751 _ACEOF
3752
3753 # Files that config.status was made for.
3754 if test -n "$ac_config_files"; then
3755 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
3756 fi
3757
3758 if test -n "$ac_config_headers"; then
3759 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
3760 fi
3761
3762 if test -n "$ac_config_links"; then
3763 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
3764 fi
3765
3766 if test -n "$ac_config_commands"; then
3767 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
3768 fi
3769
3770 cat >>$CONFIG_STATUS <<\_ACEOF
3771
3772 ac_cs_usage="\
3773 \`$as_me' instantiates files from templates according to the
3774 current configuration.
3775
3776 Usage: $0 [OPTIONS] [FILE]...
3777
3778 -h, --help print this help, then exit
3779 -V, --version print version number, then exit
3780 -q, --quiet do not print progress messages
3781 -d, --debug don't remove temporary files
3782 --recheck update $as_me by reconfiguring in the same conditions
3783 --file=FILE[:TEMPLATE]
3784 instantiate the configuration file FILE
3785
3786 Configuration files:
3787 $config_files
3788
3789 Configuration commands:
3790 $config_commands
3791
3792 Report bugs to <bug-autoconf@gnu.org>."
3793 _ACEOF
3794
3795 cat >>$CONFIG_STATUS <<_ACEOF
3796 ac_cs_version="\\
3797 GNU C Runtime Library config.status 1.0
3798 configured by $0, generated by GNU Autoconf 2.59,
3799 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
3800
3801 Copyright (C) 2003 Free Software Foundation, Inc.
3802 This config.status script is free software; the Free Software Foundation
3803 gives unlimited permission to copy, distribute and modify it."
3804 srcdir=$srcdir
3805 INSTALL="$INSTALL"
3806 _ACEOF
3807
3808 cat >>$CONFIG_STATUS <<\_ACEOF
3809 # If no file are specified by the user, then we need to provide default
3810 # value. By we need to know if files were specified by the user.
3811 ac_need_defaults=:
3812 while test $# != 0
3813 do
3814 case $1 in
3815 --*=*)
3816 ac_option=`expr "x$1" : 'x\([^=]*\)='`
3817 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
3818 ac_shift=:
3819 ;;
3820 -*)
3821 ac_option=$1
3822 ac_optarg=$2
3823 ac_shift=shift
3824 ;;
3825 *) # This is not an option, so the user has probably given explicit
3826 # arguments.
3827 ac_option=$1
3828 ac_need_defaults=false;;
3829 esac
3830
3831 case $ac_option in
3832 # Handling of the options.
3833 _ACEOF
3834 cat >>$CONFIG_STATUS <<\_ACEOF
3835 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3836 ac_cs_recheck=: ;;
3837 --version | --vers* | -V )
3838 echo "$ac_cs_version"; exit 0 ;;
3839 --he | --h)
3840 # Conflict between --help and --header
3841 { { echo "$as_me:$LINENO: error: ambiguous option: $1
3842 Try \`$0 --help' for more information." >&5
3843 echo "$as_me: error: ambiguous option: $1
3844 Try \`$0 --help' for more information." >&2;}
3845 { (exit 1); exit 1; }; };;
3846 --help | --hel | -h )
3847 echo "$ac_cs_usage"; exit 0 ;;
3848 --debug | --d* | -d )
3849 debug=: ;;
3850 --file | --fil | --fi | --f )
3851 $ac_shift
3852 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
3853 ac_need_defaults=false;;
3854 --header | --heade | --head | --hea )
3855 $ac_shift
3856 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
3857 ac_need_defaults=false;;
3858 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3859 | -silent | --silent | --silen | --sile | --sil | --si | --s)
3860 ac_cs_silent=: ;;
3861
3862 # This is an error.
3863 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
3864 Try \`$0 --help' for more information." >&5
3865 echo "$as_me: error: unrecognized option: $1
3866 Try \`$0 --help' for more information." >&2;}
3867 { (exit 1); exit 1; }; } ;;
3868
3869 *) ac_config_targets="$ac_config_targets $1" ;;
3870
3871 esac
3872 shift
3873 done
3874
3875 ac_configure_extra_args=
3876
3877 if $ac_cs_silent; then
3878 exec 6>/dev/null
3879 ac_configure_extra_args="$ac_configure_extra_args --silent"
3880 fi
3881
3882 _ACEOF
3883 cat >>$CONFIG_STATUS <<_ACEOF
3884 if \$ac_cs_recheck; then
3885 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
3886 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3887 fi
3888
3889 _ACEOF
3890
3891 cat >>$CONFIG_STATUS <<_ACEOF
3892 #
3893 # INIT-COMMANDS section.
3894 #
3895
3896 srcdir=${srcdir}
3897 host=${host}
3898 target=${target}
3899 with_target_subdir=${with_target_subdir}
3900 with_multisubdir=${with_multisubdir}
3901 ac_configure_args="--enable-multilib ${ac_configure_args}"
3902 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
3903 libgcc_topdir=${libgcc_topdir}
3904 CC="${CC}"
3905
3906
3907 _ACEOF
3908
3909
3910
3911 cat >>$CONFIG_STATUS <<\_ACEOF
3912 for ac_config_target in $ac_config_targets
3913 do
3914 case "$ac_config_target" in
3915 # Handling of arguments.
3916 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3917 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
3918 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
3919 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
3920 { (exit 1); exit 1; }; };;
3921 esac
3922 done
3923
3924 # If the user did not use the arguments to specify the items to instantiate,
3925 # then the envvar interface is used. Set only those that are not.
3926 # We use the long form for the default assignment because of an extremely
3927 # bizarre bug on SunOS 4.1.3.
3928 if $ac_need_defaults; then
3929 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3930 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
3931 fi
3932
3933 # Have a temporary directory for convenience. Make it in the build tree
3934 # simply because there is no reason to put it here, and in addition,
3935 # creating and moving files from /tmp can sometimes cause problems.
3936 # Create a temporary directory, and hook for its removal unless debugging.
3937 $debug ||
3938 {
3939 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
3940 trap '{ (exit 1); exit 1; }' 1 2 13 15
3941 }
3942
3943 # Create a (secure) tmp directory for tmp files.
3944
3945 {
3946 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
3947 test -n "$tmp" && test -d "$tmp"
3948 } ||
3949 {
3950 tmp=./confstat$$-$RANDOM
3951 (umask 077 && mkdir $tmp)
3952 } ||
3953 {
3954 echo "$me: cannot create a temporary directory in ." >&2
3955 { (exit 1); exit 1; }
3956 }
3957
3958 _ACEOF
3959
3960 cat >>$CONFIG_STATUS <<_ACEOF
3961
3962 #
3963 # CONFIG_FILES section.
3964 #
3965
3966 # No need to generate the scripts if there are no CONFIG_FILES.
3967 # This happens for instance when ./config.status config.h
3968 if test -n "\$CONFIG_FILES"; then
3969 # Protect against being on the right side of a sed subst in config.status.
3970 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
3971 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
3972 s,@SHELL@,$SHELL,;t t
3973 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
3974 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
3975 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
3976 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
3977 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
3978 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
3979 s,@exec_prefix@,$exec_prefix,;t t
3980 s,@prefix@,$prefix,;t t
3981 s,@program_transform_name@,$program_transform_name,;t t
3982 s,@bindir@,$bindir,;t t
3983 s,@sbindir@,$sbindir,;t t
3984 s,@libexecdir@,$libexecdir,;t t
3985 s,@datadir@,$datadir,;t t
3986 s,@sysconfdir@,$sysconfdir,;t t
3987 s,@sharedstatedir@,$sharedstatedir,;t t
3988 s,@localstatedir@,$localstatedir,;t t
3989 s,@libdir@,$libdir,;t t
3990 s,@includedir@,$includedir,;t t
3991 s,@oldincludedir@,$oldincludedir,;t t
3992 s,@infodir@,$infodir,;t t
3993 s,@mandir@,$mandir,;t t
3994 s,@build_alias@,$build_alias,;t t
3995 s,@host_alias@,$host_alias,;t t
3996 s,@target_alias@,$target_alias,;t t
3997 s,@DEFS@,$DEFS,;t t
3998 s,@ECHO_C@,$ECHO_C,;t t
3999 s,@ECHO_N@,$ECHO_N,;t t
4000 s,@ECHO_T@,$ECHO_T,;t t
4001 s,@LIBS@,$LIBS,;t t
4002 s,@libgcc_topdir@,$libgcc_topdir,;t t
4003 s,@enable_shared@,$enable_shared,;t t
4004 s,@slibdir@,$slibdir,;t t
4005 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
4006 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
4007 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
4008 s,@AWK@,$AWK,;t t
4009 s,@build@,$build,;t t
4010 s,@build_cpu@,$build_cpu,;t t
4011 s,@build_vendor@,$build_vendor,;t t
4012 s,@build_os@,$build_os,;t t
4013 s,@host@,$host,;t t
4014 s,@host_cpu@,$host_cpu,;t t
4015 s,@host_vendor@,$host_vendor,;t t
4016 s,@host_os@,$host_os,;t t
4017 s,@host_noncanonical@,$host_noncanonical,;t t
4018 s,@build_libsubdir@,$build_libsubdir,;t t
4019 s,@build_subdir@,$build_subdir,;t t
4020 s,@host_subdir@,$host_subdir,;t t
4021 s,@target_subdir@,$target_subdir,;t t
4022 s,@AR@,$AR,;t t
4023 s,@ac_ct_AR@,$ac_ct_AR,;t t
4024 s,@LIPO@,$LIPO,;t t
4025 s,@ac_ct_LIPO@,$ac_ct_LIPO,;t t
4026 s,@NM@,$NM,;t t
4027 s,@ac_ct_NM@,$ac_ct_NM,;t t
4028 s,@RANLIB@,$RANLIB,;t t
4029 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
4030 s,@STRIP@,$STRIP,;t t
4031 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
4032 s,@LN_S@,$LN_S,;t t
4033 s,@CC@,$CC,;t t
4034 s,@CFLAGS@,$CFLAGS,;t t
4035 s,@LDFLAGS@,$LDFLAGS,;t t
4036 s,@CPPFLAGS@,$CPPFLAGS,;t t
4037 s,@ac_ct_CC@,$ac_ct_CC,;t t
4038 s,@EXEEXT@,$EXEEXT,;t t
4039 s,@OBJEXT@,$OBJEXT,;t t
4040 s,@CPP@,$CPP,;t t
4041 s,@decimal_float@,$decimal_float,;t t
4042 s,@vis_hide@,$vis_hide,;t t
4043 s,@tmake_file@,$tmake_file,;t t
4044 s,@extra_parts@,$extra_parts,;t t
4045 s,@asm_hidden_op@,$asm_hidden_op,;t t
4046 s,@LIBOBJS@,$LIBOBJS,;t t
4047 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
4048 CEOF
4049
4050 _ACEOF
4051
4052 cat >>$CONFIG_STATUS <<\_ACEOF
4053 # Split the substitutions into bite-sized pieces for seds with
4054 # small command number limits, like on Digital OSF/1 and HP-UX.
4055 ac_max_sed_lines=48
4056 ac_sed_frag=1 # Number of current file.
4057 ac_beg=1 # First line for current file.
4058 ac_end=$ac_max_sed_lines # Line after last line for current file.
4059 ac_more_lines=:
4060 ac_sed_cmds=
4061 while $ac_more_lines; do
4062 if test $ac_beg -gt 1; then
4063 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
4064 else
4065 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
4066 fi
4067 if test ! -s $tmp/subs.frag; then
4068 ac_more_lines=false
4069 else
4070 # The purpose of the label and of the branching condition is to
4071 # speed up the sed processing (if there are no `@' at all, there
4072 # is no need to browse any of the substitutions).
4073 # These are the two extra sed commands mentioned above.
4074 (echo ':t
4075 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
4076 if test -z "$ac_sed_cmds"; then
4077 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
4078 else
4079 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
4080 fi
4081 ac_sed_frag=`expr $ac_sed_frag + 1`
4082 ac_beg=$ac_end
4083 ac_end=`expr $ac_end + $ac_max_sed_lines`
4084 fi
4085 done
4086 if test -z "$ac_sed_cmds"; then
4087 ac_sed_cmds=cat
4088 fi
4089 fi # test -n "$CONFIG_FILES"
4090
4091 _ACEOF
4092 cat >>$CONFIG_STATUS <<\_ACEOF
4093 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
4094 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
4095 case $ac_file in
4096 - | *:- | *:-:* ) # input from stdin
4097 cat >$tmp/stdin
4098 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4099 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4100 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4101 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4102 * ) ac_file_in=$ac_file.in ;;
4103 esac
4104
4105 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
4106 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
4107 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4108 X"$ac_file" : 'X\(//\)[^/]' \| \
4109 X"$ac_file" : 'X\(//\)$' \| \
4110 X"$ac_file" : 'X\(/\)' \| \
4111 . : '\(.\)' 2>/dev/null ||
4112 echo X"$ac_file" |
4113 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4114 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4115 /^X\(\/\/\)$/{ s//\1/; q; }
4116 /^X\(\/\).*/{ s//\1/; q; }
4117 s/.*/./; q'`
4118 { if $as_mkdir_p; then
4119 mkdir -p "$ac_dir"
4120 else
4121 as_dir="$ac_dir"
4122 as_dirs=
4123 while test ! -d "$as_dir"; do
4124 as_dirs="$as_dir $as_dirs"
4125 as_dir=`(dirname "$as_dir") 2>/dev/null ||
4126 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4127 X"$as_dir" : 'X\(//\)[^/]' \| \
4128 X"$as_dir" : 'X\(//\)$' \| \
4129 X"$as_dir" : 'X\(/\)' \| \
4130 . : '\(.\)' 2>/dev/null ||
4131 echo X"$as_dir" |
4132 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4133 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4134 /^X\(\/\/\)$/{ s//\1/; q; }
4135 /^X\(\/\).*/{ s//\1/; q; }
4136 s/.*/./; q'`
4137 done
4138 test ! -n "$as_dirs" || mkdir $as_dirs
4139 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
4140 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
4141 { (exit 1); exit 1; }; }; }
4142
4143 ac_builddir=.
4144
4145 if test "$ac_dir" != .; then
4146 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4147 # A "../" for each directory in $ac_dir_suffix.
4148 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
4149 else
4150 ac_dir_suffix= ac_top_builddir=
4151 fi
4152
4153 case $srcdir in
4154 .) # No --srcdir option. We are building in place.
4155 ac_srcdir=.
4156 if test -z "$ac_top_builddir"; then
4157 ac_top_srcdir=.
4158 else
4159 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
4160 fi ;;
4161 [\\/]* | ?:[\\/]* ) # Absolute path.
4162 ac_srcdir=$srcdir$ac_dir_suffix;
4163 ac_top_srcdir=$srcdir ;;
4164 *) # Relative path.
4165 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
4166 ac_top_srcdir=$ac_top_builddir$srcdir ;;
4167 esac
4168
4169 # Do not use `cd foo && pwd` to compute absolute paths, because
4170 # the directories may not exist.
4171 case `pwd` in
4172 .) ac_abs_builddir="$ac_dir";;
4173 *)
4174 case "$ac_dir" in
4175 .) ac_abs_builddir=`pwd`;;
4176 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
4177 *) ac_abs_builddir=`pwd`/"$ac_dir";;
4178 esac;;
4179 esac
4180 case $ac_abs_builddir in
4181 .) ac_abs_top_builddir=${ac_top_builddir}.;;
4182 *)
4183 case ${ac_top_builddir}. in
4184 .) ac_abs_top_builddir=$ac_abs_builddir;;
4185 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
4186 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
4187 esac;;
4188 esac
4189 case $ac_abs_builddir in
4190 .) ac_abs_srcdir=$ac_srcdir;;
4191 *)
4192 case $ac_srcdir in
4193 .) ac_abs_srcdir=$ac_abs_builddir;;
4194 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
4195 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
4196 esac;;
4197 esac
4198 case $ac_abs_builddir in
4199 .) ac_abs_top_srcdir=$ac_top_srcdir;;
4200 *)
4201 case $ac_top_srcdir in
4202 .) ac_abs_top_srcdir=$ac_abs_builddir;;
4203 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
4204 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
4205 esac;;
4206 esac
4207
4208
4209 case $INSTALL in
4210 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
4211 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
4212 esac
4213
4214 if test x"$ac_file" != x-; then
4215 { echo "$as_me:$LINENO: creating $ac_file" >&5
4216 echo "$as_me: creating $ac_file" >&6;}
4217 rm -f "$ac_file"
4218 fi
4219 # Let's still pretend it is `configure' which instantiates (i.e., don't
4220 # use $as_me), people would be surprised to read:
4221 # /* config.h. Generated by config.status. */
4222 if test x"$ac_file" = x-; then
4223 configure_input=
4224 else
4225 configure_input="$ac_file. "
4226 fi
4227 configure_input=$configure_input"Generated from `echo $ac_file_in |
4228 sed 's,.*/,,'` by configure."
4229
4230 # First look for the input files in the build tree, otherwise in the
4231 # src tree.
4232 ac_file_inputs=`IFS=:
4233 for f in $ac_file_in; do
4234 case $f in
4235 -) echo $tmp/stdin ;;
4236 [\\/$]*)
4237 # Absolute (can't be DOS-style, as IFS=:)
4238 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4239 echo "$as_me: error: cannot find input file: $f" >&2;}
4240 { (exit 1); exit 1; }; }
4241 echo "$f";;
4242 *) # Relative
4243 if test -f "$f"; then
4244 # Build tree
4245 echo "$f"
4246 elif test -f "$srcdir/$f"; then
4247 # Source tree
4248 echo "$srcdir/$f"
4249 else
4250 # /dev/null tree
4251 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4252 echo "$as_me: error: cannot find input file: $f" >&2;}
4253 { (exit 1); exit 1; }; }
4254 fi;;
4255 esac
4256 done` || { (exit 1); exit 1; }
4257 _ACEOF
4258 cat >>$CONFIG_STATUS <<_ACEOF
4259 sed "$ac_vpsub
4260 $extrasub
4261 _ACEOF
4262 cat >>$CONFIG_STATUS <<\_ACEOF
4263 :t
4264 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4265 s,@configure_input@,$configure_input,;t t
4266 s,@srcdir@,$ac_srcdir,;t t
4267 s,@abs_srcdir@,$ac_abs_srcdir,;t t
4268 s,@top_srcdir@,$ac_top_srcdir,;t t
4269 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
4270 s,@builddir@,$ac_builddir,;t t
4271 s,@abs_builddir@,$ac_abs_builddir,;t t
4272 s,@top_builddir@,$ac_top_builddir,;t t
4273 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
4274 s,@INSTALL@,$ac_INSTALL,;t t
4275 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
4276 rm -f $tmp/stdin
4277 if test x"$ac_file" != x-; then
4278 mv $tmp/out $ac_file
4279 else
4280 cat $tmp/out
4281 rm -f $tmp/out
4282 fi
4283
4284 done
4285 _ACEOF
4286 cat >>$CONFIG_STATUS <<\_ACEOF
4287
4288 #
4289 # CONFIG_COMMANDS section.
4290 #
4291 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
4292 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
4293 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
4294 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
4295 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4296 X"$ac_dest" : 'X\(//\)[^/]' \| \
4297 X"$ac_dest" : 'X\(//\)$' \| \
4298 X"$ac_dest" : 'X\(/\)' \| \
4299 . : '\(.\)' 2>/dev/null ||
4300 echo X"$ac_dest" |
4301 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4302 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4303 /^X\(\/\/\)$/{ s//\1/; q; }
4304 /^X\(\/\).*/{ s//\1/; q; }
4305 s/.*/./; q'`
4306 { if $as_mkdir_p; then
4307 mkdir -p "$ac_dir"
4308 else
4309 as_dir="$ac_dir"
4310 as_dirs=
4311 while test ! -d "$as_dir"; do
4312 as_dirs="$as_dir $as_dirs"
4313 as_dir=`(dirname "$as_dir") 2>/dev/null ||
4314 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4315 X"$as_dir" : 'X\(//\)[^/]' \| \
4316 X"$as_dir" : 'X\(//\)$' \| \
4317 X"$as_dir" : 'X\(/\)' \| \
4318 . : '\(.\)' 2>/dev/null ||
4319 echo X"$as_dir" |
4320 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4321 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4322 /^X\(\/\/\)$/{ s//\1/; q; }
4323 /^X\(\/\).*/{ s//\1/; q; }
4324 s/.*/./; q'`
4325 done
4326 test ! -n "$as_dirs" || mkdir $as_dirs
4327 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
4328 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
4329 { (exit 1); exit 1; }; }; }
4330
4331 ac_builddir=.
4332
4333 if test "$ac_dir" != .; then
4334 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4335 # A "../" for each directory in $ac_dir_suffix.
4336 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
4337 else
4338 ac_dir_suffix= ac_top_builddir=
4339 fi
4340
4341 case $srcdir in
4342 .) # No --srcdir option. We are building in place.
4343 ac_srcdir=.
4344 if test -z "$ac_top_builddir"; then
4345 ac_top_srcdir=.
4346 else
4347 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
4348 fi ;;
4349 [\\/]* | ?:[\\/]* ) # Absolute path.
4350 ac_srcdir=$srcdir$ac_dir_suffix;
4351 ac_top_srcdir=$srcdir ;;
4352 *) # Relative path.
4353 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
4354 ac_top_srcdir=$ac_top_builddir$srcdir ;;
4355 esac
4356
4357 # Do not use `cd foo && pwd` to compute absolute paths, because
4358 # the directories may not exist.
4359 case `pwd` in
4360 .) ac_abs_builddir="$ac_dir";;
4361 *)
4362 case "$ac_dir" in
4363 .) ac_abs_builddir=`pwd`;;
4364 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
4365 *) ac_abs_builddir=`pwd`/"$ac_dir";;
4366 esac;;
4367 esac
4368 case $ac_abs_builddir in
4369 .) ac_abs_top_builddir=${ac_top_builddir}.;;
4370 *)
4371 case ${ac_top_builddir}. in
4372 .) ac_abs_top_builddir=$ac_abs_builddir;;
4373 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
4374 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
4375 esac;;
4376 esac
4377 case $ac_abs_builddir in
4378 .) ac_abs_srcdir=$ac_srcdir;;
4379 *)
4380 case $ac_srcdir in
4381 .) ac_abs_srcdir=$ac_abs_builddir;;
4382 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
4383 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
4384 esac;;
4385 esac
4386 case $ac_abs_builddir in
4387 .) ac_abs_top_srcdir=$ac_top_srcdir;;
4388 *)
4389 case $ac_top_srcdir in
4390 .) ac_abs_top_srcdir=$ac_abs_builddir;;
4391 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
4392 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
4393 esac;;
4394 esac
4395
4396
4397 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
4398 echo "$as_me: executing $ac_dest commands" >&6;}
4399 case $ac_dest in
4400 default ) test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
4401 if test -n "$CONFIG_FILES"; then
4402 # FIXME: We shouldn't need to set ac_file
4403 ac_file=Makefile
4404 . ${libgcc_topdir}/config-ml.in
4405 fi ;;
4406 esac
4407 done
4408 _ACEOF
4409
4410 cat >>$CONFIG_STATUS <<\_ACEOF
4411
4412 { (exit 0); exit 0; }
4413 _ACEOF
4414 chmod +x $CONFIG_STATUS
4415 ac_clean_files=$ac_clean_files_save
4416
4417
4418 # configure is writing to config.log, and then calls config.status.
4419 # config.status does its own redirection, appending to config.log.
4420 # Unfortunately, on DOS this fails, as config.log is still kept open
4421 # by configure, so config.status won't be able to write to it; its
4422 # output is simply discarded. So we exec the FD to /dev/null,
4423 # effectively closing config.log, so it can be properly (re)opened and
4424 # appended to by config.status. When coming back to configure, we
4425 # need to make the FD available again.
4426 if test "$no_create" != yes; then
4427 ac_cs_success=:
4428 ac_config_status_args=
4429 test "$silent" = yes &&
4430 ac_config_status_args="$ac_config_status_args --quiet"
4431 exec 5>/dev/null
4432 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4433 exec 5>>config.log
4434 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4435 # would make configure fail if this is the last instruction.
4436 $ac_cs_success || { (exit 1); exit 1; }
4437 fi
4438