OSDN Git Service

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