OSDN Git Service

2006-07-31 Jeff Johnston <jjohnstn@redhat.com>
[pf3gnuchains/pf3gnuchains3x.git] / newlib / libc / sys / linux / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for newlib 1.14.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='newlib'
269 PACKAGE_TARNAME='newlib'
270 PACKAGE_VERSION='1.14.0'
271 PACKAGE_STRING='newlib 1.14.0'
272 PACKAGE_BUGREPORT=''
273
274 ac_unique_file="linux.c"
275 ac_subdirs_all="$ac_subdirs_all machine"
276 ac_subdirs_all="$ac_subdirs_all linuxthreads"
277 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 MAY_SUPPLY_SYSCALLS_TRUE MAY_SUPPLY_SYSCALLS_FALSE newlib_basedir build build_cpu build_vendor build_os host host_cpu host_vendor host_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar CC DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE AS ac_ct_AS AR ac_ct_AR RANLIB ac_ct_RANLIB READELF ac_ct_READELF MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT CCAS CCASFLAGS NEWLIB_CFLAGS LDFLAGS ELIX_LEVEL_0_TRUE ELIX_LEVEL_0_FALSE ELIX_LEVEL_1_TRUE ELIX_LEVEL_1_FALSE ELIX_LEVEL_2_TRUE ELIX_LEVEL_2_FALSE ELIX_LEVEL_3_TRUE ELIX_LEVEL_3_FALSE ELIX_LEVEL_4_TRUE ELIX_LEVEL_4_FALSE USE_LIBTOOL_TRUE USE_LIBTOOL_FALSE OBJEXT oext aext lpfx libm_machine_dir machine_dir sys_dir CFLAGS CPPFLAGS ac_ct_CC EXEEXT LN_S LIBTOOL LINUX_MACH_LIB subdirs EXTRA_SUBDIRS EXTRA_SUBLIBS LIBOBJS LTLIBOBJS'
278 ac_subst_files=''
279
280 # Initialize some variables set by options.
281 ac_init_help=
282 ac_init_version=false
283 # The variables have the same names as the options, with
284 # dashes changed to underlines.
285 cache_file=/dev/null
286 exec_prefix=NONE
287 no_create=
288 no_recursion=
289 prefix=NONE
290 program_prefix=NONE
291 program_suffix=NONE
292 program_transform_name=s,x,x,
293 silent=
294 site=
295 srcdir=
296 verbose=
297 x_includes=NONE
298 x_libraries=NONE
299
300 # Installation directory options.
301 # These are left unexpanded so users can "make install exec_prefix=/foo"
302 # and all the variables that are supposed to be based on exec_prefix
303 # by default will actually change.
304 # Use braces instead of parens because sh, perl, etc. also accept them.
305 bindir='${exec_prefix}/bin'
306 sbindir='${exec_prefix}/sbin'
307 libexecdir='${exec_prefix}/libexec'
308 datadir='${prefix}/share'
309 sysconfdir='${prefix}/etc'
310 sharedstatedir='${prefix}/com'
311 localstatedir='${prefix}/var'
312 libdir='${exec_prefix}/lib'
313 includedir='${prefix}/include'
314 oldincludedir='/usr/include'
315 infodir='${prefix}/info'
316 mandir='${prefix}/man'
317
318 ac_prev=
319 for ac_option
320 do
321   # If the previous option needs an argument, assign it.
322   if test -n "$ac_prev"; then
323     eval "$ac_prev=\$ac_option"
324     ac_prev=
325     continue
326   fi
327
328   ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
329
330   # Accept the important Cygnus configure options, so we can diagnose typos.
331
332   case $ac_option in
333
334   -bindir | --bindir | --bindi | --bind | --bin | --bi)
335     ac_prev=bindir ;;
336   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
337     bindir=$ac_optarg ;;
338
339   -build | --build | --buil | --bui | --bu)
340     ac_prev=build_alias ;;
341   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
342     build_alias=$ac_optarg ;;
343
344   -cache-file | --cache-file | --cache-fil | --cache-fi \
345   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
346     ac_prev=cache_file ;;
347   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
348   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
349     cache_file=$ac_optarg ;;
350
351   --config-cache | -C)
352     cache_file=config.cache ;;
353
354   -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
355     ac_prev=datadir ;;
356   -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
357   | --da=*)
358     datadir=$ac_optarg ;;
359
360   -disable-* | --disable-*)
361     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
362     # Reject names that are not valid shell variable names.
363     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
364       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
365    { (exit 1); exit 1; }; }
366     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
367     eval "enable_$ac_feature=no" ;;
368
369   -enable-* | --enable-*)
370     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
371     # Reject names that are not valid shell variable names.
372     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
373       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
374    { (exit 1); exit 1; }; }
375     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
376     case $ac_option in
377       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
378       *) ac_optarg=yes ;;
379     esac
380     eval "enable_$ac_feature='$ac_optarg'" ;;
381
382   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
383   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
384   | --exec | --exe | --ex)
385     ac_prev=exec_prefix ;;
386   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
387   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
388   | --exec=* | --exe=* | --ex=*)
389     exec_prefix=$ac_optarg ;;
390
391   -gas | --gas | --ga | --g)
392     # Obsolete; use --with-gas.
393     with_gas=yes ;;
394
395   -help | --help | --hel | --he | -h)
396     ac_init_help=long ;;
397   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
398     ac_init_help=recursive ;;
399   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
400     ac_init_help=short ;;
401
402   -host | --host | --hos | --ho)
403     ac_prev=host_alias ;;
404   -host=* | --host=* | --hos=* | --ho=*)
405     host_alias=$ac_optarg ;;
406
407   -includedir | --includedir | --includedi | --included | --include \
408   | --includ | --inclu | --incl | --inc)
409     ac_prev=includedir ;;
410   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
411   | --includ=* | --inclu=* | --incl=* | --inc=*)
412     includedir=$ac_optarg ;;
413
414   -infodir | --infodir | --infodi | --infod | --info | --inf)
415     ac_prev=infodir ;;
416   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
417     infodir=$ac_optarg ;;
418
419   -libdir | --libdir | --libdi | --libd)
420     ac_prev=libdir ;;
421   -libdir=* | --libdir=* | --libdi=* | --libd=*)
422     libdir=$ac_optarg ;;
423
424   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
425   | --libexe | --libex | --libe)
426     ac_prev=libexecdir ;;
427   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
428   | --libexe=* | --libex=* | --libe=*)
429     libexecdir=$ac_optarg ;;
430
431   -localstatedir | --localstatedir | --localstatedi | --localstated \
432   | --localstate | --localstat | --localsta | --localst \
433   | --locals | --local | --loca | --loc | --lo)
434     ac_prev=localstatedir ;;
435   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
436   | --localstate=* | --localstat=* | --localsta=* | --localst=* \
437   | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
438     localstatedir=$ac_optarg ;;
439
440   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
441     ac_prev=mandir ;;
442   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
443     mandir=$ac_optarg ;;
444
445   -nfp | --nfp | --nf)
446     # Obsolete; use --without-fp.
447     with_fp=no ;;
448
449   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
450   | --no-cr | --no-c | -n)
451     no_create=yes ;;
452
453   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
454   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
455     no_recursion=yes ;;
456
457   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
458   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
459   | --oldin | --oldi | --old | --ol | --o)
460     ac_prev=oldincludedir ;;
461   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
462   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
463   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
464     oldincludedir=$ac_optarg ;;
465
466   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
467     ac_prev=prefix ;;
468   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
469     prefix=$ac_optarg ;;
470
471   -program-prefix | --program-prefix | --program-prefi | --program-pref \
472   | --program-pre | --program-pr | --program-p)
473     ac_prev=program_prefix ;;
474   -program-prefix=* | --program-prefix=* | --program-prefi=* \
475   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
476     program_prefix=$ac_optarg ;;
477
478   -program-suffix | --program-suffix | --program-suffi | --program-suff \
479   | --program-suf | --program-su | --program-s)
480     ac_prev=program_suffix ;;
481   -program-suffix=* | --program-suffix=* | --program-suffi=* \
482   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
483     program_suffix=$ac_optarg ;;
484
485   -program-transform-name | --program-transform-name \
486   | --program-transform-nam | --program-transform-na \
487   | --program-transform-n | --program-transform- \
488   | --program-transform | --program-transfor \
489   | --program-transfo | --program-transf \
490   | --program-trans | --program-tran \
491   | --progr-tra | --program-tr | --program-t)
492     ac_prev=program_transform_name ;;
493   -program-transform-name=* | --program-transform-name=* \
494   | --program-transform-nam=* | --program-transform-na=* \
495   | --program-transform-n=* | --program-transform-=* \
496   | --program-transform=* | --program-transfor=* \
497   | --program-transfo=* | --program-transf=* \
498   | --program-trans=* | --program-tran=* \
499   | --progr-tra=* | --program-tr=* | --program-t=*)
500     program_transform_name=$ac_optarg ;;
501
502   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
503   | -silent | --silent | --silen | --sile | --sil)
504     silent=yes ;;
505
506   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
507     ac_prev=sbindir ;;
508   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
509   | --sbi=* | --sb=*)
510     sbindir=$ac_optarg ;;
511
512   -sharedstatedir | --sharedstatedir | --sharedstatedi \
513   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
514   | --sharedst | --shareds | --shared | --share | --shar \
515   | --sha | --sh)
516     ac_prev=sharedstatedir ;;
517   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
518   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
519   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
520   | --sha=* | --sh=*)
521     sharedstatedir=$ac_optarg ;;
522
523   -site | --site | --sit)
524     ac_prev=site ;;
525   -site=* | --site=* | --sit=*)
526     site=$ac_optarg ;;
527
528   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
529     ac_prev=srcdir ;;
530   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
531     srcdir=$ac_optarg ;;
532
533   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
534   | --syscon | --sysco | --sysc | --sys | --sy)
535     ac_prev=sysconfdir ;;
536   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
537   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
538     sysconfdir=$ac_optarg ;;
539
540   -target | --target | --targe | --targ | --tar | --ta | --t)
541     ac_prev=target_alias ;;
542   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
543     target_alias=$ac_optarg ;;
544
545   -v | -verbose | --verbose | --verbos | --verbo | --verb)
546     verbose=yes ;;
547
548   -version | --version | --versio | --versi | --vers | -V)
549     ac_init_version=: ;;
550
551   -with-* | --with-*)
552     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
553     # Reject names that are not valid shell variable names.
554     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
555       { echo "$as_me: error: invalid package name: $ac_package" >&2
556    { (exit 1); exit 1; }; }
557     ac_package=`echo $ac_package| sed 's/-/_/g'`
558     case $ac_option in
559       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
560       *) ac_optarg=yes ;;
561     esac
562     eval "with_$ac_package='$ac_optarg'" ;;
563
564   -without-* | --without-*)
565     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
566     # Reject names that are not valid shell variable names.
567     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
568       { echo "$as_me: error: invalid package name: $ac_package" >&2
569    { (exit 1); exit 1; }; }
570     ac_package=`echo $ac_package | sed 's/-/_/g'`
571     eval "with_$ac_package=no" ;;
572
573   --x)
574     # Obsolete; use --with-x.
575     with_x=yes ;;
576
577   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
578   | --x-incl | --x-inc | --x-in | --x-i)
579     ac_prev=x_includes ;;
580   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
581   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
582     x_includes=$ac_optarg ;;
583
584   -x-libraries | --x-libraries | --x-librarie | --x-librari \
585   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
586     ac_prev=x_libraries ;;
587   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
588   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
589     x_libraries=$ac_optarg ;;
590
591   -*) { echo "$as_me: error: unrecognized option: $ac_option
592 Try \`$0 --help' for more information." >&2
593    { (exit 1); exit 1; }; }
594     ;;
595
596   *=*)
597     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
598     # Reject names that are not valid shell variable names.
599     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
600       { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
601    { (exit 1); exit 1; }; }
602     ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
603     eval "$ac_envvar='$ac_optarg'"
604     export $ac_envvar ;;
605
606   *)
607     # FIXME: should be removed in autoconf 3.0.
608     echo "$as_me: WARNING: you should use --build, --host, --target" >&2
609     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
610       echo "$as_me: WARNING: invalid host type: $ac_option" >&2
611     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
612     ;;
613
614   esac
615 done
616
617 if test -n "$ac_prev"; then
618   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
619   { echo "$as_me: error: missing argument to $ac_option" >&2
620    { (exit 1); exit 1; }; }
621 fi
622
623 # Be sure to have absolute paths.
624 for ac_var in exec_prefix prefix
625 do
626   eval ac_val=$`echo $ac_var`
627   case $ac_val in
628     [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
629     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
630    { (exit 1); exit 1; }; };;
631   esac
632 done
633
634 # Be sure to have absolute paths.
635 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
636               localstatedir libdir includedir oldincludedir infodir mandir
637 do
638   eval ac_val=$`echo $ac_var`
639   case $ac_val in
640     [\\/$]* | ?:[\\/]* ) ;;
641     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
642    { (exit 1); exit 1; }; };;
643   esac
644 done
645
646 # There might be people who depend on the old broken behavior: `$host'
647 # used to hold the argument of --host etc.
648 # FIXME: To remove some day.
649 build=$build_alias
650 host=$host_alias
651 target=$target_alias
652
653 # FIXME: To remove some day.
654 if test "x$host_alias" != x; then
655   if test "x$build_alias" = x; then
656     cross_compiling=maybe
657     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
658     If a cross compiler is detected then cross compile mode will be used." >&2
659   elif test "x$build_alias" != "x$host_alias"; then
660     cross_compiling=yes
661   fi
662 fi
663
664 ac_tool_prefix=
665 test -n "$host_alias" && ac_tool_prefix=$host_alias-
666
667 test "$silent" = yes && exec 6>/dev/null
668
669
670 # Find the source files, if location was not specified.
671 if test -z "$srcdir"; then
672   ac_srcdir_defaulted=yes
673   # Try the directory containing this script, then its parent.
674   ac_confdir=`(dirname "$0") 2>/dev/null ||
675 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
676          X"$0" : 'X\(//\)[^/]' \| \
677          X"$0" : 'X\(//\)$' \| \
678          X"$0" : 'X\(/\)' \| \
679          .     : '\(.\)' 2>/dev/null ||
680 echo X"$0" |
681     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
682           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
683           /^X\(\/\/\)$/{ s//\1/; q; }
684           /^X\(\/\).*/{ s//\1/; q; }
685           s/.*/./; q'`
686   srcdir=$ac_confdir
687   if test ! -r $srcdir/$ac_unique_file; then
688     srcdir=..
689   fi
690 else
691   ac_srcdir_defaulted=no
692 fi
693 if test ! -r $srcdir/$ac_unique_file; then
694   if test "$ac_srcdir_defaulted" = yes; then
695     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
696    { (exit 1); exit 1; }; }
697   else
698     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
699    { (exit 1); exit 1; }; }
700   fi
701 fi
702 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
703   { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
704    { (exit 1); exit 1; }; }
705 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
706 ac_env_build_alias_set=${build_alias+set}
707 ac_env_build_alias_value=$build_alias
708 ac_cv_env_build_alias_set=${build_alias+set}
709 ac_cv_env_build_alias_value=$build_alias
710 ac_env_host_alias_set=${host_alias+set}
711 ac_env_host_alias_value=$host_alias
712 ac_cv_env_host_alias_set=${host_alias+set}
713 ac_cv_env_host_alias_value=$host_alias
714 ac_env_target_alias_set=${target_alias+set}
715 ac_env_target_alias_value=$target_alias
716 ac_cv_env_target_alias_set=${target_alias+set}
717 ac_cv_env_target_alias_value=$target_alias
718 ac_env_CCAS_set=${CCAS+set}
719 ac_env_CCAS_value=$CCAS
720 ac_cv_env_CCAS_set=${CCAS+set}
721 ac_cv_env_CCAS_value=$CCAS
722 ac_env_CCASFLAGS_set=${CCASFLAGS+set}
723 ac_env_CCASFLAGS_value=$CCASFLAGS
724 ac_cv_env_CCASFLAGS_set=${CCASFLAGS+set}
725 ac_cv_env_CCASFLAGS_value=$CCASFLAGS
726 ac_env_CC_set=${CC+set}
727 ac_env_CC_value=$CC
728 ac_cv_env_CC_set=${CC+set}
729 ac_cv_env_CC_value=$CC
730 ac_env_CFLAGS_set=${CFLAGS+set}
731 ac_env_CFLAGS_value=$CFLAGS
732 ac_cv_env_CFLAGS_set=${CFLAGS+set}
733 ac_cv_env_CFLAGS_value=$CFLAGS
734 ac_env_LDFLAGS_set=${LDFLAGS+set}
735 ac_env_LDFLAGS_value=$LDFLAGS
736 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
737 ac_cv_env_LDFLAGS_value=$LDFLAGS
738 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
739 ac_env_CPPFLAGS_value=$CPPFLAGS
740 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
741 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
742
743 #
744 # Report the --help message.
745 #
746 if test "$ac_init_help" = "long"; then
747   # Omit some internal or obsolete options to make the list less imposing.
748   # This message is too long to be a string in the A/UX 3.1 sh.
749   cat <<_ACEOF
750 \`configure' configures newlib 1.14.0 to adapt to many kinds of systems.
751
752 Usage: $0 [OPTION]... [VAR=VALUE]...
753
754 To assign environment variables (e.g., CC, CFLAGS...), specify them as
755 VAR=VALUE.  See below for descriptions of some of the useful variables.
756
757 Defaults for the options are specified in brackets.
758
759 Configuration:
760   -h, --help              display this help and exit
761       --help=short        display options specific to this package
762       --help=recursive    display the short help of all the included packages
763   -V, --version           display version information and exit
764   -q, --quiet, --silent   do not print \`checking...' messages
765       --cache-file=FILE   cache test results in FILE [disabled]
766   -C, --config-cache      alias for \`--cache-file=config.cache'
767   -n, --no-create         do not create output files
768       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
769
770 _ACEOF
771
772   cat <<_ACEOF
773 Installation directories:
774   --prefix=PREFIX         install architecture-independent files in PREFIX
775                           [$ac_default_prefix]
776   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
777                           [PREFIX]
778
779 By default, \`make install' will install all the files in
780 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
781 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
782 for instance \`--prefix=\$HOME'.
783
784 For better control, use the options below.
785
786 Fine tuning of the installation directories:
787   --bindir=DIR           user executables [EPREFIX/bin]
788   --sbindir=DIR          system admin executables [EPREFIX/sbin]
789   --libexecdir=DIR       program executables [EPREFIX/libexec]
790   --datadir=DIR          read-only architecture-independent data [PREFIX/share]
791   --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
792   --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
793   --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
794   --libdir=DIR           object code libraries [EPREFIX/lib]
795   --includedir=DIR       C header files [PREFIX/include]
796   --oldincludedir=DIR    C header files for non-gcc [/usr/include]
797   --infodir=DIR          info documentation [PREFIX/info]
798   --mandir=DIR           man documentation [PREFIX/man]
799 _ACEOF
800
801   cat <<\_ACEOF
802
803 Program names:
804   --program-prefix=PREFIX            prepend PREFIX to installed program names
805   --program-suffix=SUFFIX            append SUFFIX to installed program names
806   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
807
808 System types:
809   --build=BUILD     configure for building on BUILD [guessed]
810   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
811 _ACEOF
812 fi
813
814 if test -n "$ac_init_help"; then
815   case $ac_init_help in
816      short | recursive ) echo "Configuration of newlib 1.14.0:";;
817    esac
818   cat <<\_ACEOF
819
820 Optional Features:
821   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
822   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
823   --enable-multilib         build many library versions (default)
824   --enable-target-optspace  optimize for space
825   --enable-malloc-debugging indicate malloc debugging requested
826   --enable-newlib-multithread        enable support for multiple threads
827   --enable-newlib-iconv     enable iconv library support
828   --enable-newlib-elix-level         supply desired elix library level (1-4)
829   --disable-newlib-io-float disable printf/scanf family float support
830   --disable-newlib-supplied-syscalls disable newlib from supplying syscalls
831   --disable-dependency-tracking  speeds up one-time build
832   --enable-dependency-tracking   do not reject slow dependency extractors
833   --enable-maintainer-mode  enable make rules and dependencies not useful
834                           (and sometimes confusing) to the casual installer
835   --enable-shared=PKGS  build shared libraries default=yes
836   --enable-static=PKGS  build static libraries default=yes
837   --enable-fast-install=PKGS  optimize for fast installation default=yes
838   --disable-libtool-lock  avoid locking (might break parallel builds)
839
840 Optional Packages:
841   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
842   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
843   --with-gnu-ld           assume the C compiler uses GNU ld default=no
844   --with-pic              try to use only PIC/non-PIC objects default=use both
845
846 Some influential environment variables:
847   CCAS        assembler compiler command (defaults to CC)
848   CCASFLAGS   assembler compiler flags (defaults to CFLAGS)
849   CC          C compiler command
850   CFLAGS      C compiler flags
851   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
852               nonstandard directory <lib dir>
853   CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
854               headers in a nonstandard directory <include dir>
855
856 Use these variables to override the choices made by `configure' or to help
857 it to find libraries and programs with nonstandard names/locations.
858
859 _ACEOF
860 fi
861
862 if test "$ac_init_help" = "recursive"; then
863   # If there are subdirs, report their specific --help.
864   ac_popdir=`pwd`
865   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
866     test -d $ac_dir || continue
867     ac_builddir=.
868
869 if test "$ac_dir" != .; then
870   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
871   # A "../" for each directory in $ac_dir_suffix.
872   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
873 else
874   ac_dir_suffix= ac_top_builddir=
875 fi
876
877 case $srcdir in
878   .)  # No --srcdir option.  We are building in place.
879     ac_srcdir=.
880     if test -z "$ac_top_builddir"; then
881        ac_top_srcdir=.
882     else
883        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
884     fi ;;
885   [\\/]* | ?:[\\/]* )  # Absolute path.
886     ac_srcdir=$srcdir$ac_dir_suffix;
887     ac_top_srcdir=$srcdir ;;
888   *) # Relative path.
889     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
890     ac_top_srcdir=$ac_top_builddir$srcdir ;;
891 esac
892
893 # Do not use `cd foo && pwd` to compute absolute paths, because
894 # the directories may not exist.
895 case `pwd` in
896 .) ac_abs_builddir="$ac_dir";;
897 *)
898   case "$ac_dir" in
899   .) ac_abs_builddir=`pwd`;;
900   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
901   *) ac_abs_builddir=`pwd`/"$ac_dir";;
902   esac;;
903 esac
904 case $ac_abs_builddir in
905 .) ac_abs_top_builddir=${ac_top_builddir}.;;
906 *)
907   case ${ac_top_builddir}. in
908   .) ac_abs_top_builddir=$ac_abs_builddir;;
909   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
910   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
911   esac;;
912 esac
913 case $ac_abs_builddir in
914 .) ac_abs_srcdir=$ac_srcdir;;
915 *)
916   case $ac_srcdir in
917   .) ac_abs_srcdir=$ac_abs_builddir;;
918   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
919   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
920   esac;;
921 esac
922 case $ac_abs_builddir in
923 .) ac_abs_top_srcdir=$ac_top_srcdir;;
924 *)
925   case $ac_top_srcdir in
926   .) ac_abs_top_srcdir=$ac_abs_builddir;;
927   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
928   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
929   esac;;
930 esac
931
932     cd $ac_dir
933     # Check for guested configure; otherwise get Cygnus style configure.
934     if test -f $ac_srcdir/configure.gnu; then
935       echo
936       $SHELL $ac_srcdir/configure.gnu  --help=recursive
937     elif test -f $ac_srcdir/configure; then
938       echo
939       $SHELL $ac_srcdir/configure  --help=recursive
940     elif test -f $ac_srcdir/configure.ac ||
941            test -f $ac_srcdir/configure.in; then
942       echo
943       $ac_configure --help
944     else
945       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
946     fi
947     cd $ac_popdir
948   done
949 fi
950
951 test -n "$ac_init_help" && exit 0
952 if $ac_init_version; then
953   cat <<\_ACEOF
954 newlib configure 1.14.0
955 generated by GNU Autoconf 2.59
956
957 Copyright (C) 2003 Free Software Foundation, Inc.
958 This configure script is free software; the Free Software Foundation
959 gives unlimited permission to copy, distribute and modify it.
960 _ACEOF
961   exit 0
962 fi
963 exec 5>config.log
964 cat >&5 <<_ACEOF
965 This file contains any messages produced by compilers while
966 running configure, to aid debugging if configure makes a mistake.
967
968 It was created by newlib $as_me 1.14.0, which was
969 generated by GNU Autoconf 2.59.  Invocation command line was
970
971   $ $0 $@
972
973 _ACEOF
974 {
975 cat <<_ASUNAME
976 ## --------- ##
977 ## Platform. ##
978 ## --------- ##
979
980 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
981 uname -m = `(uname -m) 2>/dev/null || echo unknown`
982 uname -r = `(uname -r) 2>/dev/null || echo unknown`
983 uname -s = `(uname -s) 2>/dev/null || echo unknown`
984 uname -v = `(uname -v) 2>/dev/null || echo unknown`
985
986 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
987 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
988
989 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
990 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
991 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
992 hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
993 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
994 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
995 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
996
997 _ASUNAME
998
999 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1000 for as_dir in $PATH
1001 do
1002   IFS=$as_save_IFS
1003   test -z "$as_dir" && as_dir=.
1004   echo "PATH: $as_dir"
1005 done
1006
1007 } >&5
1008
1009 cat >&5 <<_ACEOF
1010
1011
1012 ## ----------- ##
1013 ## Core tests. ##
1014 ## ----------- ##
1015
1016 _ACEOF
1017
1018
1019 # Keep a trace of the command line.
1020 # Strip out --no-create and --no-recursion so they do not pile up.
1021 # Strip out --silent because we don't want to record it for future runs.
1022 # Also quote any args containing shell meta-characters.
1023 # Make two passes to allow for proper duplicate-argument suppression.
1024 ac_configure_args=
1025 ac_configure_args0=
1026 ac_configure_args1=
1027 ac_sep=
1028 ac_must_keep_next=false
1029 for ac_pass in 1 2
1030 do
1031   for ac_arg
1032   do
1033     case $ac_arg in
1034     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1035     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1036     | -silent | --silent | --silen | --sile | --sil)
1037       continue ;;
1038     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1039       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1040     esac
1041     case $ac_pass in
1042     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1043     2)
1044       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1045       if test $ac_must_keep_next = true; then
1046         ac_must_keep_next=false # Got value, back to normal.
1047       else
1048         case $ac_arg in
1049           *=* | --config-cache | -C | -disable-* | --disable-* \
1050           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1051           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1052           | -with-* | --with-* | -without-* | --without-* | --x)
1053             case "$ac_configure_args0 " in
1054               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1055             esac
1056             ;;
1057           -* ) ac_must_keep_next=true ;;
1058         esac
1059       fi
1060       ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1061       # Get rid of the leading space.
1062       ac_sep=" "
1063       ;;
1064     esac
1065   done
1066 done
1067 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1068 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1069
1070 # When interrupted or exit'd, cleanup temporary files, and complete
1071 # config.log.  We remove comments because anyway the quotes in there
1072 # would cause problems or look ugly.
1073 # WARNING: Be sure not to use single quotes in there, as some shells,
1074 # such as our DU 5.0 friend, will then `close' the trap.
1075 trap 'exit_status=$?
1076   # Save into config.log some information that might help in debugging.
1077   {
1078     echo
1079
1080     cat <<\_ASBOX
1081 ## ---------------- ##
1082 ## Cache variables. ##
1083 ## ---------------- ##
1084 _ASBOX
1085     echo
1086     # The following way of writing the cache mishandles newlines in values,
1087 {
1088   (set) 2>&1 |
1089     case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1090     *ac_space=\ *)
1091       sed -n \
1092         "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1093           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1094       ;;
1095     *)
1096       sed -n \
1097         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1098       ;;
1099     esac;
1100 }
1101     echo
1102
1103     cat <<\_ASBOX
1104 ## ----------------- ##
1105 ## Output variables. ##
1106 ## ----------------- ##
1107 _ASBOX
1108     echo
1109     for ac_var in $ac_subst_vars
1110     do
1111       eval ac_val=$`echo $ac_var`
1112       echo "$ac_var='"'"'$ac_val'"'"'"
1113     done | sort
1114     echo
1115
1116     if test -n "$ac_subst_files"; then
1117       cat <<\_ASBOX
1118 ## ------------- ##
1119 ## Output files. ##
1120 ## ------------- ##
1121 _ASBOX
1122       echo
1123       for ac_var in $ac_subst_files
1124       do
1125         eval ac_val=$`echo $ac_var`
1126         echo "$ac_var='"'"'$ac_val'"'"'"
1127       done | sort
1128       echo
1129     fi
1130
1131     if test -s confdefs.h; then
1132       cat <<\_ASBOX
1133 ## ----------- ##
1134 ## confdefs.h. ##
1135 ## ----------- ##
1136 _ASBOX
1137       echo
1138       sed "/^$/d" confdefs.h | sort
1139       echo
1140     fi
1141     test "$ac_signal" != 0 &&
1142       echo "$as_me: caught signal $ac_signal"
1143     echo "$as_me: exit $exit_status"
1144   } >&5
1145   rm -f core *.core &&
1146   rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1147     exit $exit_status
1148      ' 0
1149 for ac_signal in 1 2 13 15; do
1150   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1151 done
1152 ac_signal=0
1153
1154 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1155 rm -rf conftest* confdefs.h
1156 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1157 echo >confdefs.h
1158
1159 # Predefined preprocessor variables.
1160
1161 cat >>confdefs.h <<_ACEOF
1162 #define PACKAGE_NAME "$PACKAGE_NAME"
1163 _ACEOF
1164
1165
1166 cat >>confdefs.h <<_ACEOF
1167 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1168 _ACEOF
1169
1170
1171 cat >>confdefs.h <<_ACEOF
1172 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1173 _ACEOF
1174
1175
1176 cat >>confdefs.h <<_ACEOF
1177 #define PACKAGE_STRING "$PACKAGE_STRING"
1178 _ACEOF
1179
1180
1181 cat >>confdefs.h <<_ACEOF
1182 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1183 _ACEOF
1184
1185
1186 # Let the site file select an alternate cache file if it wants to.
1187 # Prefer explicitly selected file to automatically selected ones.
1188 if test -z "$CONFIG_SITE"; then
1189   if test "x$prefix" != xNONE; then
1190     CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1191   else
1192     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1193   fi
1194 fi
1195 for ac_site_file in $CONFIG_SITE; do
1196   if test -r "$ac_site_file"; then
1197     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1198 echo "$as_me: loading site script $ac_site_file" >&6;}
1199     sed 's/^/| /' "$ac_site_file" >&5
1200     . "$ac_site_file"
1201   fi
1202 done
1203
1204 if test -r "$cache_file"; then
1205   # Some versions of bash will fail to source /dev/null (special
1206   # files actually), so we avoid doing that.
1207   if test -f "$cache_file"; then
1208     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1209 echo "$as_me: loading cache $cache_file" >&6;}
1210     case $cache_file in
1211       [\\/]* | ?:[\\/]* ) . $cache_file;;
1212       *)                      . ./$cache_file;;
1213     esac
1214   fi
1215 else
1216   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1217 echo "$as_me: creating cache $cache_file" >&6;}
1218   >$cache_file
1219 fi
1220
1221 # Check that the precious variables saved in the cache have kept the same
1222 # value.
1223 ac_cache_corrupted=false
1224 for ac_var in `(set) 2>&1 |
1225                sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1226   eval ac_old_set=\$ac_cv_env_${ac_var}_set
1227   eval ac_new_set=\$ac_env_${ac_var}_set
1228   eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1229   eval ac_new_val="\$ac_env_${ac_var}_value"
1230   case $ac_old_set,$ac_new_set in
1231     set,)
1232       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1233 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1234       ac_cache_corrupted=: ;;
1235     ,set)
1236       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1237 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1238       ac_cache_corrupted=: ;;
1239     ,);;
1240     *)
1241       if test "x$ac_old_val" != "x$ac_new_val"; then
1242         { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1243 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1244         { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1245 echo "$as_me:   former value:  $ac_old_val" >&2;}
1246         { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1247 echo "$as_me:   current value: $ac_new_val" >&2;}
1248         ac_cache_corrupted=:
1249       fi;;
1250   esac
1251   # Pass precious variables to config.status.
1252   if test "$ac_new_set" = set; then
1253     case $ac_new_val in
1254     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1255       ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1256     *) ac_arg=$ac_var=$ac_new_val ;;
1257     esac
1258     case " $ac_configure_args " in
1259       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1260       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1261     esac
1262   fi
1263 done
1264 if $ac_cache_corrupted; then
1265   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1266 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1267   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1268 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1269    { (exit 1); exit 1; }; }
1270 fi
1271
1272 ac_ext=c
1273 ac_cpp='$CPP $CPPFLAGS'
1274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306 ac_aux_dir=
1307 for ac_dir in ../../../.. $srcdir/../../../..; do
1308   if test -f $ac_dir/install-sh; then
1309     ac_aux_dir=$ac_dir
1310     ac_install_sh="$ac_aux_dir/install-sh -c"
1311     break
1312   elif test -f $ac_dir/install.sh; then
1313     ac_aux_dir=$ac_dir
1314     ac_install_sh="$ac_aux_dir/install.sh -c"
1315     break
1316   elif test -f $ac_dir/shtool; then
1317     ac_aux_dir=$ac_dir
1318     ac_install_sh="$ac_aux_dir/shtool install -c"
1319     break
1320   fi
1321 done
1322 if test -z "$ac_aux_dir"; then
1323   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in ../../../.. $srcdir/../../../.." >&5
1324 echo "$as_me: error: cannot find install-sh or install.sh in ../../../.. $srcdir/../../../.." >&2;}
1325    { (exit 1); exit 1; }; }
1326 fi
1327 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1328 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1329 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1330
1331
1332
1333 # Make sure we can run config.sub.
1334 $ac_config_sub sun4 >/dev/null 2>&1 ||
1335   { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1336 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1337    { (exit 1); exit 1; }; }
1338
1339 echo "$as_me:$LINENO: checking build system type" >&5
1340 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1341 if test "${ac_cv_build+set}" = set; then
1342   echo $ECHO_N "(cached) $ECHO_C" >&6
1343 else
1344   ac_cv_build_alias=$build_alias
1345 test -z "$ac_cv_build_alias" &&
1346   ac_cv_build_alias=`$ac_config_guess`
1347 test -z "$ac_cv_build_alias" &&
1348   { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1349 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1350    { (exit 1); exit 1; }; }
1351 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1352   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1353 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1354    { (exit 1); exit 1; }; }
1355
1356 fi
1357 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1358 echo "${ECHO_T}$ac_cv_build" >&6
1359 build=$ac_cv_build
1360 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1361 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1362 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1363
1364
1365 am__api_version="1.9"
1366 # Find a good install program.  We prefer a C program (faster),
1367 # so one script is as good as another.  But avoid the broken or
1368 # incompatible versions:
1369 # SysV /etc/install, /usr/sbin/install
1370 # SunOS /usr/etc/install
1371 # IRIX /sbin/install
1372 # AIX /bin/install
1373 # AmigaOS /C/install, which installs bootblocks on floppy discs
1374 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1375 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1376 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1377 # OS/2's system install, which has a completely different semantic
1378 # ./install, which can be erroneously created by make from ./install.sh.
1379 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1380 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1381 if test -z "$INSTALL"; then
1382 if test "${ac_cv_path_install+set}" = set; then
1383   echo $ECHO_N "(cached) $ECHO_C" >&6
1384 else
1385   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1386 for as_dir in $PATH
1387 do
1388   IFS=$as_save_IFS
1389   test -z "$as_dir" && as_dir=.
1390   # Account for people who put trailing slashes in PATH elements.
1391 case $as_dir/ in
1392   ./ | .// | /cC/* | \
1393   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1394   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1395   /usr/ucb/* ) ;;
1396   *)
1397     # OSF1 and SCO ODT 3.0 have their own names for install.
1398     # Don't use installbsd from OSF since it installs stuff as root
1399     # by default.
1400     for ac_prog in ginstall scoinst install; do
1401       for ac_exec_ext in '' $ac_executable_extensions; do
1402         if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1403           if test $ac_prog = install &&
1404             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1405             # AIX install.  It has an incompatible calling convention.
1406             :
1407           elif test $ac_prog = install &&
1408             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1409             # program-specific install script used by HP pwplus--don't use.
1410             :
1411           else
1412             ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1413             break 3
1414           fi
1415         fi
1416       done
1417     done
1418     ;;
1419 esac
1420 done
1421
1422
1423 fi
1424   if test "${ac_cv_path_install+set}" = set; then
1425     INSTALL=$ac_cv_path_install
1426   else
1427     # As a last resort, use the slow shell script.  We don't cache a
1428     # path for INSTALL within a source directory, because that will
1429     # break other packages using the cache if that directory is
1430     # removed, or if the path is relative.
1431     INSTALL=$ac_install_sh
1432   fi
1433 fi
1434 echo "$as_me:$LINENO: result: $INSTALL" >&5
1435 echo "${ECHO_T}$INSTALL" >&6
1436
1437 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1438 # It thinks the first close brace ends the variable substitution.
1439 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1440
1441 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1442
1443 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1444
1445 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1446 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1447 # Just in case
1448 sleep 1
1449 echo timestamp > conftest.file
1450 # Do `set' in a subshell so we don't clobber the current shell's
1451 # arguments.  Must try -L first in case configure is actually a
1452 # symlink; some systems play weird games with the mod time of symlinks
1453 # (eg FreeBSD returns the mod time of the symlink's containing
1454 # directory).
1455 if (
1456    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1457    if test "$*" = "X"; then
1458       # -L didn't work.
1459       set X `ls -t $srcdir/configure conftest.file`
1460    fi
1461    rm -f conftest.file
1462    if test "$*" != "X $srcdir/configure conftest.file" \
1463       && test "$*" != "X conftest.file $srcdir/configure"; then
1464
1465       # If neither matched, then we have a broken ls.  This can happen
1466       # if, for instance, CONFIG_SHELL is bash and it inherits a
1467       # broken ls alias from the environment.  This has actually
1468       # happened.  Such a system could not be considered "sane".
1469       { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
1470 alias in your environment" >&5
1471 echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
1472 alias in your environment" >&2;}
1473    { (exit 1); exit 1; }; }
1474    fi
1475
1476    test "$2" = conftest.file
1477    )
1478 then
1479    # Ok.
1480    :
1481 else
1482    { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1483 Check your system clock" >&5
1484 echo "$as_me: error: newly created file is older than distributed files!
1485 Check your system clock" >&2;}
1486    { (exit 1); exit 1; }; }
1487 fi
1488 echo "$as_me:$LINENO: result: yes" >&5
1489 echo "${ECHO_T}yes" >&6
1490 test "$program_prefix" != NONE &&
1491   program_transform_name="s,^,$program_prefix,;$program_transform_name"
1492 # Use a double $ so make ignores it.
1493 test "$program_suffix" != NONE &&
1494   program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1495 # Double any \ or $.  echo might interpret backslashes.
1496 # By default was `s,x,x', remove it if useless.
1497 cat <<\_ACEOF >conftest.sed
1498 s/[\\$]/&&/g;s/;s,x,x,$//
1499 _ACEOF
1500 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1501 rm conftest.sed
1502
1503 # expand $ac_aux_dir to an absolute path
1504 am_aux_dir=`cd $ac_aux_dir && pwd`
1505
1506 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1507 # Use eval to expand $SHELL
1508 if eval "$MISSING --run true"; then
1509   am_missing_run="$MISSING --run "
1510 else
1511   am_missing_run=
1512   { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1513 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1514 fi
1515
1516 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1517   # We used to keeping the `.' as first argument, in order to
1518   # allow $(mkdir_p) to be used without argument.  As in
1519   #   $(mkdir_p) $(somedir)
1520   # where $(somedir) is conditionally defined.  However this is wrong
1521   # for two reasons:
1522   #  1. if the package is installed by a user who cannot write `.'
1523   #     make install will fail,
1524   #  2. the above comment should most certainly read
1525   #     $(mkdir_p) $(DESTDIR)$(somedir)
1526   #     so it does not work when $(somedir) is undefined and
1527   #     $(DESTDIR) is not.
1528   #  To support the latter case, we have to write
1529   #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1530   #  so the `.' trick is pointless.
1531   mkdir_p='mkdir -p --'
1532 else
1533   # On NextStep and OpenStep, the `mkdir' command does not
1534   # recognize any option.  It will interpret all options as
1535   # directories to create, and then abort because `.' already
1536   # exists.
1537   for d in ./-p ./--version;
1538   do
1539     test -d $d && rmdir $d
1540   done
1541   # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1542   if test -f "$ac_aux_dir/mkinstalldirs"; then
1543     mkdir_p='$(mkinstalldirs)'
1544   else
1545     mkdir_p='$(install_sh) -d'
1546   fi
1547 fi
1548
1549 for ac_prog in gawk mawk nawk awk
1550 do
1551   # Extract the first word of "$ac_prog", so it can be a program name with args.
1552 set dummy $ac_prog; ac_word=$2
1553 echo "$as_me:$LINENO: checking for $ac_word" >&5
1554 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1555 if test "${ac_cv_prog_AWK+set}" = set; then
1556   echo $ECHO_N "(cached) $ECHO_C" >&6
1557 else
1558   if test -n "$AWK"; then
1559   ac_cv_prog_AWK="$AWK" # Let the user override the test.
1560 else
1561 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1562 for as_dir in $PATH
1563 do
1564   IFS=$as_save_IFS
1565   test -z "$as_dir" && as_dir=.
1566   for ac_exec_ext in '' $ac_executable_extensions; do
1567   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1568     ac_cv_prog_AWK="$ac_prog"
1569     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1570     break 2
1571   fi
1572 done
1573 done
1574
1575 fi
1576 fi
1577 AWK=$ac_cv_prog_AWK
1578 if test -n "$AWK"; then
1579   echo "$as_me:$LINENO: result: $AWK" >&5
1580 echo "${ECHO_T}$AWK" >&6
1581 else
1582   echo "$as_me:$LINENO: result: no" >&5
1583 echo "${ECHO_T}no" >&6
1584 fi
1585
1586   test -n "$AWK" && break
1587 done
1588
1589 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1590 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1591 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1592 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1593   echo $ECHO_N "(cached) $ECHO_C" >&6
1594 else
1595   cat >conftest.make <<\_ACEOF
1596 all:
1597         @echo 'ac_maketemp="$(MAKE)"'
1598 _ACEOF
1599 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1600 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1601 if test -n "$ac_maketemp"; then
1602   eval ac_cv_prog_make_${ac_make}_set=yes
1603 else
1604   eval ac_cv_prog_make_${ac_make}_set=no
1605 fi
1606 rm -f conftest.make
1607 fi
1608 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1609   echo "$as_me:$LINENO: result: yes" >&5
1610 echo "${ECHO_T}yes" >&6
1611   SET_MAKE=
1612 else
1613   echo "$as_me:$LINENO: result: no" >&5
1614 echo "${ECHO_T}no" >&6
1615   SET_MAKE="MAKE=${MAKE-make}"
1616 fi
1617
1618 rm -rf .tst 2>/dev/null
1619 mkdir .tst 2>/dev/null
1620 if test -d .tst; then
1621   am__leading_dot=.
1622 else
1623   am__leading_dot=_
1624 fi
1625 rmdir .tst 2>/dev/null
1626
1627 DEPDIR="${am__leading_dot}deps"
1628
1629           ac_config_commands="$ac_config_commands depfiles"
1630
1631
1632 am_make=${MAKE-make}
1633 cat > confinc << 'END'
1634 am__doit:
1635         @echo done
1636 .PHONY: am__doit
1637 END
1638 # If we don't find an include directive, just comment out the code.
1639 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
1640 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
1641 am__include="#"
1642 am__quote=
1643 _am_result=none
1644 # First try GNU make style include.
1645 echo "include confinc" > confmf
1646 # We grep out `Entering directory' and `Leaving directory'
1647 # messages which can occur if `w' ends up in MAKEFLAGS.
1648 # In particular we don't look at `^make:' because GNU make might
1649 # be invoked under some other name (usually "gmake"), in which
1650 # case it prints its new name instead of `make'.
1651 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
1652    am__include=include
1653    am__quote=
1654    _am_result=GNU
1655 fi
1656 # Now try BSD make style include.
1657 if test "$am__include" = "#"; then
1658    echo '.include "confinc"' > confmf
1659    if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
1660       am__include=.include
1661       am__quote="\""
1662       _am_result=BSD
1663    fi
1664 fi
1665
1666
1667 echo "$as_me:$LINENO: result: $_am_result" >&5
1668 echo "${ECHO_T}$_am_result" >&6
1669 rm -f confinc confmf
1670
1671 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
1672 if test "${enable_dependency_tracking+set}" = set; then
1673   enableval="$enable_dependency_tracking"
1674
1675 fi;
1676 if test "x$enable_dependency_tracking" != xno; then
1677   am_depcomp="$ac_aux_dir/depcomp"
1678   AMDEPBACKSLASH='\'
1679 fi
1680
1681
1682 if test "x$enable_dependency_tracking" != xno; then
1683   AMDEP_TRUE=
1684   AMDEP_FALSE='#'
1685 else
1686   AMDEP_TRUE='#'
1687   AMDEP_FALSE=
1688 fi
1689
1690
1691
1692
1693 # Check whether --enable-multilib or --disable-multilib was given.
1694 if test "${enable_multilib+set}" = set; then
1695   enableval="$enable_multilib"
1696   case "${enableval}" in
1697   yes) multilib=yes ;;
1698   no)  multilib=no ;;
1699   *)   { { echo "$as_me:$LINENO: error: bad value ${enableval} for multilib option" >&5
1700 echo "$as_me: error: bad value ${enableval} for multilib option" >&2;}
1701    { (exit 1); exit 1; }; } ;;
1702  esac
1703 else
1704   multilib=yes
1705 fi;
1706 # Check whether --enable-target-optspace or --disable-target-optspace was given.
1707 if test "${enable_target_optspace+set}" = set; then
1708   enableval="$enable_target_optspace"
1709   case "${enableval}" in
1710   yes) target_optspace=yes ;;
1711   no)  target_optspace=no ;;
1712   *)   { { echo "$as_me:$LINENO: error: bad value ${enableval} for target-optspace option" >&5
1713 echo "$as_me: error: bad value ${enableval} for target-optspace option" >&2;}
1714    { (exit 1); exit 1; }; } ;;
1715  esac
1716 else
1717   target_optspace=
1718 fi;
1719 # Check whether --enable-malloc-debugging or --disable-malloc-debugging was given.
1720 if test "${enable_malloc_debugging+set}" = set; then
1721   enableval="$enable_malloc_debugging"
1722   case "${enableval}" in
1723   yes) malloc_debugging=yes ;;
1724   no)  malloc_debugging=no ;;
1725   *)   { { echo "$as_me:$LINENO: error: bad value ${enableval} for malloc-debugging option" >&5
1726 echo "$as_me: error: bad value ${enableval} for malloc-debugging option" >&2;}
1727    { (exit 1); exit 1; }; } ;;
1728  esac
1729 else
1730   malloc_debugging=
1731 fi;
1732 # Check whether --enable-newlib-multithread or --disable-newlib-multithread was given.
1733 if test "${enable_newlib_multithread+set}" = set; then
1734   enableval="$enable_newlib_multithread"
1735   case "${enableval}" in
1736   yes) newlib_multithread=yes ;;
1737   no)  newlib_multithread=no ;;
1738   *)   { { echo "$as_me:$LINENO: error: bad value ${enableval} for newlib-multithread option" >&5
1739 echo "$as_me: error: bad value ${enableval} for newlib-multithread option" >&2;}
1740    { (exit 1); exit 1; }; } ;;
1741  esac
1742 else
1743   newlib_multithread=yes
1744 fi;
1745 # Check whether --enable-newlib-iconv or --disable-newlib-iconv was given.
1746 if test "${enable_newlib_iconv+set}" = set; then
1747   enableval="$enable_newlib_iconv"
1748   if test "${newlib_iconv+set}" != set; then
1749    case "${enableval}" in
1750      yes) newlib_iconv=yes ;;
1751      no)  newlib_iconv=no ;;
1752      *)   { { echo "$as_me:$LINENO: error: bad value ${enableval} for newlib-iconv option" >&5
1753 echo "$as_me: error: bad value ${enableval} for newlib-iconv option" >&2;}
1754    { (exit 1); exit 1; }; } ;;
1755    esac
1756  fi
1757 else
1758   newlib_iconv=${newlib_iconv}
1759 fi;
1760 # Check whether --enable-newlib-elix-level or --disable-newlib-elix-level was given.
1761 if test "${enable_newlib_elix_level+set}" = set; then
1762   enableval="$enable_newlib_elix_level"
1763   case "${enableval}" in
1764   0)   newlib_elix_level=0 ;;
1765   1)   newlib_elix_level=1 ;;
1766   2)   newlib_elix_level=2 ;;
1767   3)   newlib_elix_level=3 ;;
1768   4)   newlib_elix_level=4 ;;
1769   *)   { { echo "$as_me:$LINENO: error: bad value ${enableval} for newlib-elix-level option" >&5
1770 echo "$as_me: error: bad value ${enableval} for newlib-elix-level option" >&2;}
1771    { (exit 1); exit 1; }; } ;;
1772  esac
1773 else
1774   newlib_elix_level=0
1775 fi;
1776 # Check whether --enable-newlib-io-float or --disable-newlib-io-float was given.
1777 if test "${enable_newlib_io_float+set}" = set; then
1778   enableval="$enable_newlib_io_float"
1779   case "${enableval}" in
1780   yes) newlib_io_float=yes ;;
1781   no)  newlib_io_float=no ;;
1782   *)   { { echo "$as_me:$LINENO: error: bad value ${enableval} for newlib-io-float option" >&5
1783 echo "$as_me: error: bad value ${enableval} for newlib-io-float option" >&2;}
1784    { (exit 1); exit 1; }; } ;;
1785  esac
1786 else
1787   newlib_io_float=yes
1788 fi;
1789 # Check whether --enable-newlib-supplied-syscalls or --disable-newlib-supplied-syscalls was given.
1790 if test "${enable_newlib_supplied_syscalls+set}" = set; then
1791   enableval="$enable_newlib_supplied_syscalls"
1792   case "${enableval}" in
1793   yes) newlib_may_supply_syscalls=yes ;;
1794   no)  newlib_may_supply_syscalls=no ;;
1795   *)   { { echo "$as_me:$LINENO: error: bad value ${enableval} for newlib-supplied-syscalls option" >&5
1796 echo "$as_me: error: bad value ${enableval} for newlib-supplied-syscalls option" >&2;}
1797    { (exit 1); exit 1; }; } ;;
1798  esac
1799 else
1800   newlib_may_supply_syscalls=yes
1801 fi;
1802
1803
1804 if test x${newlib_may_supply_syscalls} = xyes; then
1805   MAY_SUPPLY_SYSCALLS_TRUE=
1806   MAY_SUPPLY_SYSCALLS_FALSE='#'
1807 else
1808   MAY_SUPPLY_SYSCALLS_TRUE='#'
1809   MAY_SUPPLY_SYSCALLS_FALSE=
1810 fi
1811
1812
1813
1814 test -z "${with_target_subdir}" && with_target_subdir=.
1815
1816 if test "${srcdir}" = "."; then
1817   if test "${with_target_subdir}" != "."; then
1818     newlib_basedir="${srcdir}/${with_multisrctop}../../../.."
1819   else
1820     newlib_basedir="${srcdir}/${with_multisrctop}../../.."
1821   fi
1822 else
1823   newlib_basedir="${srcdir}/../../.."
1824 fi
1825
1826
1827 echo "$as_me:$LINENO: checking host system type" >&5
1828 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1829 if test "${ac_cv_host+set}" = set; then
1830   echo $ECHO_N "(cached) $ECHO_C" >&6
1831 else
1832   ac_cv_host_alias=$host_alias
1833 test -z "$ac_cv_host_alias" &&
1834   ac_cv_host_alias=$ac_cv_build_alias
1835 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1836   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1837 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1838    { (exit 1); exit 1; }; }
1839
1840 fi
1841 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1842 echo "${ECHO_T}$ac_cv_host" >&6
1843 host=$ac_cv_host
1844 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1845 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1846 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1847
1848
1849
1850 # test to see if srcdir already configured
1851 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1852    test -f $srcdir/config.status; then
1853   { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1854 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1855    { (exit 1); exit 1; }; }
1856 fi
1857
1858 # test whether we have cygpath
1859 if test -z "$CYGPATH_W"; then
1860   if (cygpath --version) >/dev/null 2>/dev/null; then
1861     CYGPATH_W='cygpath -w'
1862   else
1863     CYGPATH_W=echo
1864   fi
1865 fi
1866
1867
1868 # Define the identity of the package.
1869  PACKAGE='newlib'
1870  VERSION='1.14.0'
1871
1872
1873 # Some tools Automake needs.
1874
1875 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1876
1877
1878 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1879
1880
1881 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1882
1883
1884 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1885
1886
1887 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1888
1889 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1890
1891 # Installed binaries are usually stripped using `strip' when the user
1892 # run `make install-strip'.  However `strip' might not be the right
1893 # tool to use in cross-compilation environments, therefore Automake
1894 # will honor the `STRIP' environment variable to overrule this program.
1895 if test "$cross_compiling" != no; then
1896   if test -n "$ac_tool_prefix"; then
1897   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1898 set dummy ${ac_tool_prefix}strip; ac_word=$2
1899 echo "$as_me:$LINENO: checking for $ac_word" >&5
1900 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1901 if test "${ac_cv_prog_STRIP+set}" = set; then
1902   echo $ECHO_N "(cached) $ECHO_C" >&6
1903 else
1904   if test -n "$STRIP"; then
1905   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1906 else
1907 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1908 for as_dir in $PATH
1909 do
1910   IFS=$as_save_IFS
1911   test -z "$as_dir" && as_dir=.
1912   for ac_exec_ext in '' $ac_executable_extensions; do
1913   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1914     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1915     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1916     break 2
1917   fi
1918 done
1919 done
1920
1921 fi
1922 fi
1923 STRIP=$ac_cv_prog_STRIP
1924 if test -n "$STRIP"; then
1925   echo "$as_me:$LINENO: result: $STRIP" >&5
1926 echo "${ECHO_T}$STRIP" >&6
1927 else
1928   echo "$as_me:$LINENO: result: no" >&5
1929 echo "${ECHO_T}no" >&6
1930 fi
1931
1932 fi
1933 if test -z "$ac_cv_prog_STRIP"; then
1934   ac_ct_STRIP=$STRIP
1935   # Extract the first word of "strip", so it can be a program name with args.
1936 set dummy strip; ac_word=$2
1937 echo "$as_me:$LINENO: checking for $ac_word" >&5
1938 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1939 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1940   echo $ECHO_N "(cached) $ECHO_C" >&6
1941 else
1942   if test -n "$ac_ct_STRIP"; then
1943   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1944 else
1945 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1946 for as_dir in $PATH
1947 do
1948   IFS=$as_save_IFS
1949   test -z "$as_dir" && as_dir=.
1950   for ac_exec_ext in '' $ac_executable_extensions; do
1951   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1952     ac_cv_prog_ac_ct_STRIP="strip"
1953     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1954     break 2
1955   fi
1956 done
1957 done
1958
1959   test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1960 fi
1961 fi
1962 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1963 if test -n "$ac_ct_STRIP"; then
1964   echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1965 echo "${ECHO_T}$ac_ct_STRIP" >&6
1966 else
1967   echo "$as_me:$LINENO: result: no" >&5
1968 echo "${ECHO_T}no" >&6
1969 fi
1970
1971   STRIP=$ac_ct_STRIP
1972 else
1973   STRIP="$ac_cv_prog_STRIP"
1974 fi
1975
1976 fi
1977 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1978
1979 # We need awk for the "check" target.  The system "awk" is bad on
1980 # some platforms.
1981 # Always define AMTAR for backward compatibility.
1982
1983 AMTAR=${AMTAR-"${am_missing_run}tar"}
1984
1985 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
1986
1987
1988
1989
1990
1991
1992 # FIXME: We temporarily define our own version of AC_PROG_CC.  This is
1993 # copied from autoconf 2.12, but does not call AC_PROG_CC_WORKS.  We
1994 # are probably using a cross compiler, which will not be able to fully
1995 # link an executable.  This should really be fixed in autoconf
1996 # itself.
1997
1998
1999
2000
2001
2002
2003
2004 # Extract the first word of "gcc", so it can be a program name with args.
2005 set dummy gcc; ac_word=$2
2006 echo "$as_me:$LINENO: checking for $ac_word" >&5
2007 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2008 if test "${ac_cv_prog_CC+set}" = set; then
2009   echo $ECHO_N "(cached) $ECHO_C" >&6
2010 else
2011   if test -n "$CC"; then
2012   ac_cv_prog_CC="$CC" # Let the user override the test.
2013 else
2014 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2015 for as_dir in $PATH
2016 do
2017   IFS=$as_save_IFS
2018   test -z "$as_dir" && as_dir=.
2019   for ac_exec_ext in '' $ac_executable_extensions; do
2020   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2021     ac_cv_prog_CC="gcc"
2022     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2023     break 2
2024   fi
2025 done
2026 done
2027
2028 fi
2029 fi
2030 CC=$ac_cv_prog_CC
2031 if test -n "$CC"; then
2032   echo "$as_me:$LINENO: result: $CC" >&5
2033 echo "${ECHO_T}$CC" >&6
2034 else
2035   echo "$as_me:$LINENO: result: no" >&5
2036 echo "${ECHO_T}no" >&6
2037 fi
2038
2039
2040 depcc="$CC"   am_compiler_list=
2041
2042 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2043 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2044 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2045   echo $ECHO_N "(cached) $ECHO_C" >&6
2046 else
2047   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2048   # We make a subdir and do the tests there.  Otherwise we can end up
2049   # making bogus files that we don't know about and never remove.  For
2050   # instance it was reported that on HP-UX the gcc test will end up
2051   # making a dummy file named `D' -- because `-MD' means `put the output
2052   # in D'.
2053   mkdir conftest.dir
2054   # Copy depcomp to subdir because otherwise we won't find it if we're
2055   # using a relative directory.
2056   cp "$am_depcomp" conftest.dir
2057   cd conftest.dir
2058   # We will build objects and dependencies in a subdirectory because
2059   # it helps to detect inapplicable dependency modes.  For instance
2060   # both Tru64's cc and ICC support -MD to output dependencies as a
2061   # side effect of compilation, but ICC will put the dependencies in
2062   # the current directory while Tru64 will put them in the object
2063   # directory.
2064   mkdir sub
2065
2066   am_cv_CC_dependencies_compiler_type=none
2067   if test "$am_compiler_list" = ""; then
2068      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2069   fi
2070   for depmode in $am_compiler_list; do
2071     # Setup a source with many dependencies, because some compilers
2072     # like to wrap large dependency lists on column 80 (with \), and
2073     # we should not choose a depcomp mode which is confused by this.
2074     #
2075     # We need to recreate these files for each test, as the compiler may
2076     # overwrite some of them when testing with obscure command lines.
2077     # This happens at least with the AIX C compiler.
2078     : > sub/conftest.c
2079     for i in 1 2 3 4 5 6; do
2080       echo '#include "conftst'$i'.h"' >> sub/conftest.c
2081       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
2082       # Solaris 8's {/usr,}/bin/sh.
2083       touch sub/conftst$i.h
2084     done
2085     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2086
2087     case $depmode in
2088     nosideeffect)
2089       # after this tag, mechanisms are not by side-effect, so they'll
2090       # only be used when explicitly requested
2091       if test "x$enable_dependency_tracking" = xyes; then
2092         continue
2093       else
2094         break
2095       fi
2096       ;;
2097     none) break ;;
2098     esac
2099     # We check with `-c' and `-o' for the sake of the "dashmstdout"
2100     # mode.  It turns out that the SunPro C++ compiler does not properly
2101     # handle `-M -o', and we need to detect this.
2102     if depmode=$depmode \
2103        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
2104        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
2105        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
2106          >/dev/null 2>conftest.err &&
2107        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
2108        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
2109        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
2110       # icc doesn't choke on unknown options, it will just issue warnings
2111       # or remarks (even with -Werror).  So we grep stderr for any message
2112       # that says an option was ignored or not supported.
2113       # When given -MP, icc 7.0 and 7.1 complain thusly:
2114       #   icc: Command line warning: ignoring option '-M'; no argument required
2115       # The diagnosis changed in icc 8.0:
2116       #   icc: Command line remark: option '-MP' not supported
2117       if (grep 'ignoring option' conftest.err ||
2118           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
2119         am_cv_CC_dependencies_compiler_type=$depmode
2120         break
2121       fi
2122     fi
2123   done
2124
2125   cd ..
2126   rm -rf conftest.dir
2127 else
2128   am_cv_CC_dependencies_compiler_type=none
2129 fi
2130
2131 fi
2132 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
2133 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2134 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
2135
2136
2137
2138 if
2139   test "x$enable_dependency_tracking" != xno \
2140   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
2141   am__fastdepCC_TRUE=
2142   am__fastdepCC_FALSE='#'
2143 else
2144   am__fastdepCC_TRUE='#'
2145   am__fastdepCC_FALSE=
2146 fi
2147
2148
2149 if test -z "$CC"; then
2150   # Extract the first word of "cc", so it can be a program name with args.
2151 set dummy cc; ac_word=$2
2152 echo "$as_me:$LINENO: checking for $ac_word" >&5
2153 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2154 if test "${ac_cv_prog_CC+set}" = set; then
2155   echo $ECHO_N "(cached) $ECHO_C" >&6
2156 else
2157   if test -n "$CC"; then
2158   ac_cv_prog_CC="$CC" # Let the user override the test.
2159 else
2160   ac_prog_rejected=no
2161 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2162 for as_dir in $PATH
2163 do
2164   IFS=$as_save_IFS
2165   test -z "$as_dir" && as_dir=.
2166   for ac_exec_ext in '' $ac_executable_extensions; do
2167   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2168     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2169        ac_prog_rejected=yes
2170        continue
2171      fi
2172     ac_cv_prog_CC="cc"
2173     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2174     break 2
2175   fi
2176 done
2177 done
2178
2179 if test $ac_prog_rejected = yes; then
2180   # We found a bogon in the path, so make sure we never use it.
2181   set dummy $ac_cv_prog_CC
2182   shift
2183   if test $# != 0; then
2184     # We chose a different compiler from the bogus one.
2185     # However, it has the same basename, so the bogon will be chosen
2186     # first if we set CC to just the basename; use the full file name.
2187     shift
2188     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2189   fi
2190 fi
2191 fi
2192 fi
2193 CC=$ac_cv_prog_CC
2194 if test -n "$CC"; then
2195   echo "$as_me:$LINENO: result: $CC" >&5
2196 echo "${ECHO_T}$CC" >&6
2197 else
2198   echo "$as_me:$LINENO: result: no" >&5
2199 echo "${ECHO_T}no" >&6
2200 fi
2201
2202   test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable cc found in \$PATH" >&5
2203 echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
2204    { (exit 1); exit 1; }; }
2205 fi
2206
2207 echo "$as_me:$LINENO: checking whether we are using GNU C" >&5
2208 echo $ECHO_N "checking whether we are using GNU C... $ECHO_C" >&6
2209 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2210   echo $ECHO_N "(cached) $ECHO_C" >&6
2211 else
2212   cat > conftest.c <<EOF
2213 #ifdef __GNUC__
2214   yes;
2215 #endif
2216 EOF
2217 if { ac_try='${CC-cc} -E conftest.c'
2218   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2219   (eval $ac_try) 2>&5
2220   ac_status=$?
2221   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2222   (exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then
2223   ac_cv_c_compiler_gnu=yes
2224 else
2225   ac_cv_c_compiler_gnu=no
2226 fi
2227 fi
2228 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2229 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2230
2231 if test $ac_cv_c_compiler_gnu = yes; then
2232   GCC=yes
2233   ac_test_CFLAGS="${CFLAGS+set}"
2234   ac_save_CFLAGS="$CFLAGS"
2235   CFLAGS=
2236   ac_test_CFLAGS=${CFLAGS+set}
2237 ac_save_CFLAGS=$CFLAGS
2238 CFLAGS="-g"
2239 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2240 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2241 if test "${ac_cv_prog_cc_g+set}" = set; then
2242   echo $ECHO_N "(cached) $ECHO_C" >&6
2243 else
2244   cat >conftest.$ac_ext <<_ACEOF
2245 /* confdefs.h.  */
2246 _ACEOF
2247 cat confdefs.h >>conftest.$ac_ext
2248 cat >>conftest.$ac_ext <<_ACEOF
2249 /* end confdefs.h.  */
2250
2251 int
2252 main ()
2253 {
2254
2255   ;
2256   return 0;
2257 }
2258 _ACEOF
2259 rm -f conftest.$ac_objext
2260 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2261   (eval $ac_compile) 2>conftest.er1
2262   ac_status=$?
2263   grep -v '^ *+' conftest.er1 >conftest.err
2264   rm -f conftest.er1
2265   cat conftest.err >&5
2266   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2267   (exit $ac_status); } &&
2268          { ac_try='test -z "$ac_c_werror_flag"
2269                          || test ! -s conftest.err'
2270   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2271   (eval $ac_try) 2>&5
2272   ac_status=$?
2273   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2274   (exit $ac_status); }; } &&
2275          { ac_try='test -s conftest.$ac_objext'
2276   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2277   (eval $ac_try) 2>&5
2278   ac_status=$?
2279   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2280   (exit $ac_status); }; }; then
2281   ac_cv_prog_cc_g=yes
2282 else
2283   echo "$as_me: failed program was:" >&5
2284 sed 's/^/| /' conftest.$ac_ext >&5
2285
2286 ac_cv_prog_cc_g=no
2287 fi
2288 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2289 fi
2290 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2291 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2292 if test "$ac_test_CFLAGS" = set; then
2293   CFLAGS=$ac_save_CFLAGS
2294 elif test $ac_cv_prog_cc_g = yes; then
2295   if test "$GCC" = yes; then
2296     CFLAGS="-g -O2"
2297   else
2298     CFLAGS="-g"
2299   fi
2300 else
2301   if test "$GCC" = yes; then
2302     CFLAGS="-O2"
2303   else
2304     CFLAGS=
2305   fi
2306 fi
2307   if test "$ac_test_CFLAGS" = set; then
2308     CFLAGS="$ac_save_CFLAGS"
2309   elif test $ac_cv_prog_cc_g = yes; then
2310     CFLAGS="-g -O2"
2311   else
2312     CFLAGS="-O2"
2313   fi
2314 else
2315   GCC=
2316   test "${CFLAGS+set}" = set || CFLAGS="-g"
2317 fi
2318
2319
2320 if test -n "$ac_tool_prefix"; then
2321   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
2322 set dummy ${ac_tool_prefix}as; ac_word=$2
2323 echo "$as_me:$LINENO: checking for $ac_word" >&5
2324 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2325 if test "${ac_cv_prog_AS+set}" = set; then
2326   echo $ECHO_N "(cached) $ECHO_C" >&6
2327 else
2328   if test -n "$AS"; then
2329   ac_cv_prog_AS="$AS" # Let the user override the test.
2330 else
2331 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2332 for as_dir in $PATH
2333 do
2334   IFS=$as_save_IFS
2335   test -z "$as_dir" && as_dir=.
2336   for ac_exec_ext in '' $ac_executable_extensions; do
2337   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2338     ac_cv_prog_AS="${ac_tool_prefix}as"
2339     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2340     break 2
2341   fi
2342 done
2343 done
2344
2345 fi
2346 fi
2347 AS=$ac_cv_prog_AS
2348 if test -n "$AS"; then
2349   echo "$as_me:$LINENO: result: $AS" >&5
2350 echo "${ECHO_T}$AS" >&6
2351 else
2352   echo "$as_me:$LINENO: result: no" >&5
2353 echo "${ECHO_T}no" >&6
2354 fi
2355
2356 fi
2357 if test -z "$ac_cv_prog_AS"; then
2358   ac_ct_AS=$AS
2359   # Extract the first word of "as", so it can be a program name with args.
2360 set dummy as; ac_word=$2
2361 echo "$as_me:$LINENO: checking for $ac_word" >&5
2362 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2363 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
2364   echo $ECHO_N "(cached) $ECHO_C" >&6
2365 else
2366   if test -n "$ac_ct_AS"; then
2367   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
2368 else
2369 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2370 for as_dir in $PATH
2371 do
2372   IFS=$as_save_IFS
2373   test -z "$as_dir" && as_dir=.
2374   for ac_exec_ext in '' $ac_executable_extensions; do
2375   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2376     ac_cv_prog_ac_ct_AS="as"
2377     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2378     break 2
2379   fi
2380 done
2381 done
2382
2383 fi
2384 fi
2385 ac_ct_AS=$ac_cv_prog_ac_ct_AS
2386 if test -n "$ac_ct_AS"; then
2387   echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
2388 echo "${ECHO_T}$ac_ct_AS" >&6
2389 else
2390   echo "$as_me:$LINENO: result: no" >&5
2391 echo "${ECHO_T}no" >&6
2392 fi
2393
2394   AS=$ac_ct_AS
2395 else
2396   AS="$ac_cv_prog_AS"
2397 fi
2398
2399 if test -n "$ac_tool_prefix"; then
2400   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
2401 set dummy ${ac_tool_prefix}ar; ac_word=$2
2402 echo "$as_me:$LINENO: checking for $ac_word" >&5
2403 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2404 if test "${ac_cv_prog_AR+set}" = set; then
2405   echo $ECHO_N "(cached) $ECHO_C" >&6
2406 else
2407   if test -n "$AR"; then
2408   ac_cv_prog_AR="$AR" # Let the user override the test.
2409 else
2410 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2411 for as_dir in $PATH
2412 do
2413   IFS=$as_save_IFS
2414   test -z "$as_dir" && as_dir=.
2415   for ac_exec_ext in '' $ac_executable_extensions; do
2416   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2417     ac_cv_prog_AR="${ac_tool_prefix}ar"
2418     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2419     break 2
2420   fi
2421 done
2422 done
2423
2424 fi
2425 fi
2426 AR=$ac_cv_prog_AR
2427 if test -n "$AR"; then
2428   echo "$as_me:$LINENO: result: $AR" >&5
2429 echo "${ECHO_T}$AR" >&6
2430 else
2431   echo "$as_me:$LINENO: result: no" >&5
2432 echo "${ECHO_T}no" >&6
2433 fi
2434
2435 fi
2436 if test -z "$ac_cv_prog_AR"; then
2437   ac_ct_AR=$AR
2438   # Extract the first word of "ar", so it can be a program name with args.
2439 set dummy ar; ac_word=$2
2440 echo "$as_me:$LINENO: checking for $ac_word" >&5
2441 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2442 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
2443   echo $ECHO_N "(cached) $ECHO_C" >&6
2444 else
2445   if test -n "$ac_ct_AR"; then
2446   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
2447 else
2448 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2449 for as_dir in $PATH
2450 do
2451   IFS=$as_save_IFS
2452   test -z "$as_dir" && as_dir=.
2453   for ac_exec_ext in '' $ac_executable_extensions; do
2454   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2455     ac_cv_prog_ac_ct_AR="ar"
2456     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2457     break 2
2458   fi
2459 done
2460 done
2461
2462 fi
2463 fi
2464 ac_ct_AR=$ac_cv_prog_ac_ct_AR
2465 if test -n "$ac_ct_AR"; then
2466   echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
2467 echo "${ECHO_T}$ac_ct_AR" >&6
2468 else
2469   echo "$as_me:$LINENO: result: no" >&5
2470 echo "${ECHO_T}no" >&6
2471 fi
2472
2473   AR=$ac_ct_AR
2474 else
2475   AR="$ac_cv_prog_AR"
2476 fi
2477
2478 if test -n "$ac_tool_prefix"; then
2479   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2480 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2481 echo "$as_me:$LINENO: checking for $ac_word" >&5
2482 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2483 if test "${ac_cv_prog_RANLIB+set}" = set; then
2484   echo $ECHO_N "(cached) $ECHO_C" >&6
2485 else
2486   if test -n "$RANLIB"; then
2487   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2488 else
2489 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2490 for as_dir in $PATH
2491 do
2492   IFS=$as_save_IFS
2493   test -z "$as_dir" && as_dir=.
2494   for ac_exec_ext in '' $ac_executable_extensions; do
2495   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2496     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2497     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2498     break 2
2499   fi
2500 done
2501 done
2502
2503 fi
2504 fi
2505 RANLIB=$ac_cv_prog_RANLIB
2506 if test -n "$RANLIB"; then
2507   echo "$as_me:$LINENO: result: $RANLIB" >&5
2508 echo "${ECHO_T}$RANLIB" >&6
2509 else
2510   echo "$as_me:$LINENO: result: no" >&5
2511 echo "${ECHO_T}no" >&6
2512 fi
2513
2514 fi
2515 if test -z "$ac_cv_prog_RANLIB"; then
2516   ac_ct_RANLIB=$RANLIB
2517   # Extract the first word of "ranlib", so it can be a program name with args.
2518 set dummy ranlib; ac_word=$2
2519 echo "$as_me:$LINENO: checking for $ac_word" >&5
2520 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2521 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
2522   echo $ECHO_N "(cached) $ECHO_C" >&6
2523 else
2524   if test -n "$ac_ct_RANLIB"; then
2525   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
2526 else
2527 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2528 for as_dir in $PATH
2529 do
2530   IFS=$as_save_IFS
2531   test -z "$as_dir" && as_dir=.
2532   for ac_exec_ext in '' $ac_executable_extensions; do
2533   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2534     ac_cv_prog_ac_ct_RANLIB="ranlib"
2535     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2536     break 2
2537   fi
2538 done
2539 done
2540
2541   test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
2542 fi
2543 fi
2544 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
2545 if test -n "$ac_ct_RANLIB"; then
2546   echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
2547 echo "${ECHO_T}$ac_ct_RANLIB" >&6
2548 else
2549   echo "$as_me:$LINENO: result: no" >&5
2550 echo "${ECHO_T}no" >&6
2551 fi
2552
2553   RANLIB=$ac_ct_RANLIB
2554 else
2555   RANLIB="$ac_cv_prog_RANLIB"
2556 fi
2557
2558 if test -n "$ac_tool_prefix"; then
2559   # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
2560 set dummy ${ac_tool_prefix}readelf; ac_word=$2
2561 echo "$as_me:$LINENO: checking for $ac_word" >&5
2562 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2563 if test "${ac_cv_prog_READELF+set}" = set; then
2564   echo $ECHO_N "(cached) $ECHO_C" >&6
2565 else
2566   if test -n "$READELF"; then
2567   ac_cv_prog_READELF="$READELF" # Let the user override the test.
2568 else
2569 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2570 for as_dir in $PATH
2571 do
2572   IFS=$as_save_IFS
2573   test -z "$as_dir" && as_dir=.
2574   for ac_exec_ext in '' $ac_executable_extensions; do
2575   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2576     ac_cv_prog_READELF="${ac_tool_prefix}readelf"
2577     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2578     break 2
2579   fi
2580 done
2581 done
2582
2583 fi
2584 fi
2585 READELF=$ac_cv_prog_READELF
2586 if test -n "$READELF"; then
2587   echo "$as_me:$LINENO: result: $READELF" >&5
2588 echo "${ECHO_T}$READELF" >&6
2589 else
2590   echo "$as_me:$LINENO: result: no" >&5
2591 echo "${ECHO_T}no" >&6
2592 fi
2593
2594 fi
2595 if test -z "$ac_cv_prog_READELF"; then
2596   ac_ct_READELF=$READELF
2597   # Extract the first word of "readelf", so it can be a program name with args.
2598 set dummy readelf; ac_word=$2
2599 echo "$as_me:$LINENO: checking for $ac_word" >&5
2600 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2601 if test "${ac_cv_prog_ac_ct_READELF+set}" = set; then
2602   echo $ECHO_N "(cached) $ECHO_C" >&6
2603 else
2604   if test -n "$ac_ct_READELF"; then
2605   ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
2606 else
2607 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2608 for as_dir in $PATH
2609 do
2610   IFS=$as_save_IFS
2611   test -z "$as_dir" && as_dir=.
2612   for ac_exec_ext in '' $ac_executable_extensions; do
2613   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2614     ac_cv_prog_ac_ct_READELF="readelf"
2615     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2616     break 2
2617   fi
2618 done
2619 done
2620
2621   test -z "$ac_cv_prog_ac_ct_READELF" && ac_cv_prog_ac_ct_READELF=":"
2622 fi
2623 fi
2624 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
2625 if test -n "$ac_ct_READELF"; then
2626   echo "$as_me:$LINENO: result: $ac_ct_READELF" >&5
2627 echo "${ECHO_T}$ac_ct_READELF" >&6
2628 else
2629   echo "$as_me:$LINENO: result: no" >&5
2630 echo "${ECHO_T}no" >&6
2631 fi
2632
2633   READELF=$ac_ct_READELF
2634 else
2635   READELF="$ac_cv_prog_READELF"
2636 fi
2637
2638
2639 # Find a good install program.  We prefer a C program (faster),
2640 # so one script is as good as another.  But avoid the broken or
2641 # incompatible versions:
2642 # SysV /etc/install, /usr/sbin/install
2643 # SunOS /usr/etc/install
2644 # IRIX /sbin/install
2645 # AIX /bin/install
2646 # AmigaOS /C/install, which installs bootblocks on floppy discs
2647 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2648 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2649 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2650 # OS/2's system install, which has a completely different semantic
2651 # ./install, which can be erroneously created by make from ./install.sh.
2652 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2653 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2654 if test -z "$INSTALL"; then
2655 if test "${ac_cv_path_install+set}" = set; then
2656   echo $ECHO_N "(cached) $ECHO_C" >&6
2657 else
2658   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2659 for as_dir in $PATH
2660 do
2661   IFS=$as_save_IFS
2662   test -z "$as_dir" && as_dir=.
2663   # Account for people who put trailing slashes in PATH elements.
2664 case $as_dir/ in
2665   ./ | .// | /cC/* | \
2666   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2667   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2668   /usr/ucb/* ) ;;
2669   *)
2670     # OSF1 and SCO ODT 3.0 have their own names for install.
2671     # Don't use installbsd from OSF since it installs stuff as root
2672     # by default.
2673     for ac_prog in ginstall scoinst install; do
2674       for ac_exec_ext in '' $ac_executable_extensions; do
2675         if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2676           if test $ac_prog = install &&
2677             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2678             # AIX install.  It has an incompatible calling convention.
2679             :
2680           elif test $ac_prog = install &&
2681             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2682             # program-specific install script used by HP pwplus--don't use.
2683             :
2684           else
2685             ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2686             break 3
2687           fi
2688         fi
2689       done
2690     done
2691     ;;
2692 esac
2693 done
2694
2695
2696 fi
2697   if test "${ac_cv_path_install+set}" = set; then
2698     INSTALL=$ac_cv_path_install
2699   else
2700     # As a last resort, use the slow shell script.  We don't cache a
2701     # path for INSTALL within a source directory, because that will
2702     # break other packages using the cache if that directory is
2703     # removed, or if the path is relative.
2704     INSTALL=$ac_install_sh
2705   fi
2706 fi
2707 echo "$as_me:$LINENO: result: $INSTALL" >&5
2708 echo "${ECHO_T}$INSTALL" >&6
2709
2710 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2711 # It thinks the first close brace ends the variable substitution.
2712 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2713
2714 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2715
2716 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2717
2718
2719 # Hack to ensure that INSTALL won't be set to "../" with autoconf 2.13.  */
2720 ac_given_INSTALL=$INSTALL
2721
2722 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2723 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
2724     # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
2725 if test "${enable_maintainer_mode+set}" = set; then
2726   enableval="$enable_maintainer_mode"
2727   USE_MAINTAINER_MODE=$enableval
2728 else
2729   USE_MAINTAINER_MODE=no
2730 fi;
2731   echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2732 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
2733
2734
2735 if test $USE_MAINTAINER_MODE = yes; then
2736   MAINTAINER_MODE_TRUE=
2737   MAINTAINER_MODE_FALSE='#'
2738 else
2739   MAINTAINER_MODE_TRUE='#'
2740   MAINTAINER_MODE_FALSE=
2741 fi
2742
2743   MAINT=$MAINTAINER_MODE_TRUE
2744
2745
2746 # By default we simply use the C compiler to build assembly code.
2747
2748 test "${CCAS+set}" = set || CCAS=$CC
2749 test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
2750
2751
2752
2753
2754 # We need AC_EXEEXT to keep automake happy in cygnus mode.  However,
2755 # at least currently, we never actually build a program, so we never
2756 # need to use $(EXEEXT).  Moreover, the test for EXEEXT normally
2757 # fails, because we are probably configuring with a cross compiler
2758 # which can't create executables.  So we include AC_EXEEXT to keep
2759 # automake happy, but we don't execute it, since we don't care about
2760 # the result.
2761 if false; then
2762
2763   dummy_var=1
2764 fi
2765
2766 . ${newlib_basedir}/configure.host
2767
2768 newlib_cflags="${newlib_cflags} -fno-builtin"
2769
2770 NEWLIB_CFLAGS=${newlib_cflags}
2771
2772
2773 LDFLAGS=${ldflags}
2774
2775
2776
2777
2778 if test x${newlib_elix_level} = x0; then
2779   ELIX_LEVEL_0_TRUE=
2780   ELIX_LEVEL_0_FALSE='#'
2781 else
2782   ELIX_LEVEL_0_TRUE='#'
2783   ELIX_LEVEL_0_FALSE=
2784 fi
2785
2786
2787
2788 if test x${newlib_elix_level} = x1; then
2789   ELIX_LEVEL_1_TRUE=
2790   ELIX_LEVEL_1_FALSE='#'
2791 else
2792   ELIX_LEVEL_1_TRUE='#'
2793   ELIX_LEVEL_1_FALSE=
2794 fi
2795
2796
2797
2798 if test x${newlib_elix_level} = x2; then
2799   ELIX_LEVEL_2_TRUE=
2800   ELIX_LEVEL_2_FALSE='#'
2801 else
2802   ELIX_LEVEL_2_TRUE='#'
2803   ELIX_LEVEL_2_FALSE=
2804 fi
2805
2806
2807
2808 if test x${newlib_elix_level} = x3; then
2809   ELIX_LEVEL_3_TRUE=
2810   ELIX_LEVEL_3_FALSE='#'
2811 else
2812   ELIX_LEVEL_3_TRUE='#'
2813   ELIX_LEVEL_3_FALSE=
2814 fi
2815
2816
2817
2818 if test x${newlib_elix_level} = x4; then
2819   ELIX_LEVEL_4_TRUE=
2820   ELIX_LEVEL_4_FALSE='#'
2821 else
2822   ELIX_LEVEL_4_TRUE='#'
2823   ELIX_LEVEL_4_FALSE=
2824 fi
2825
2826
2827
2828
2829 if test x${use_libtool} = xyes; then
2830   USE_LIBTOOL_TRUE=
2831   USE_LIBTOOL_FALSE='#'
2832 else
2833   USE_LIBTOOL_TRUE='#'
2834   USE_LIBTOOL_FALSE=
2835 fi
2836
2837
2838 # Hard-code OBJEXT.  Normally it is set by AC_OBJEXT, but we
2839 # use oext, which is set in configure.host based on the target platform.
2840 OBJEXT=${oext}
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853 if test "${use_libtool}" = "yes"; then
2854
2855 # Check whether --enable-shared or --disable-shared was given.
2856 if test "${enable_shared+set}" = set; then
2857   enableval="$enable_shared"
2858   p=${PACKAGE-default}
2859 case $enableval in
2860 yes) enable_shared=yes ;;
2861 no) enable_shared=no ;;
2862 *)
2863   enable_shared=no
2864   # Look at the argument we got.  We use all the common list separators.
2865   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
2866   for pkg in $enableval; do
2867     if test "X$pkg" = "X$p"; then
2868       enable_shared=yes
2869     fi
2870   done
2871   IFS="$ac_save_ifs"
2872   ;;
2873 esac
2874 else
2875   enable_shared=yes
2876 fi;
2877 # Check whether --enable-static or --disable-static was given.
2878 if test "${enable_static+set}" = set; then
2879   enableval="$enable_static"
2880   p=${PACKAGE-default}
2881 case $enableval in
2882 yes) enable_static=yes ;;
2883 no) enable_static=no ;;
2884 *)
2885   enable_static=no
2886   # Look at the argument we got.  We use all the common list separators.
2887   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
2888   for pkg in $enableval; do
2889     if test "X$pkg" = "X$p"; then
2890       enable_static=yes
2891     fi
2892   done
2893   IFS="$ac_save_ifs"
2894   ;;
2895 esac
2896 else
2897   enable_static=yes
2898 fi;
2899 # Check whether --enable-fast-install or --disable-fast-install was given.
2900 if test "${enable_fast_install+set}" = set; then
2901   enableval="$enable_fast_install"
2902   p=${PACKAGE-default}
2903 case $enableval in
2904 yes) enable_fast_install=yes ;;
2905 no) enable_fast_install=no ;;
2906 *)
2907   enable_fast_install=no
2908   # Look at the argument we got.  We use all the common list separators.
2909   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
2910   for pkg in $enableval; do
2911     if test "X$pkg" = "X$p"; then
2912       enable_fast_install=yes
2913     fi
2914   done
2915   IFS="$ac_save_ifs"
2916   ;;
2917 esac
2918 else
2919   enable_fast_install=yes
2920 fi;
2921 ac_ext=c
2922 ac_cpp='$CPP $CPPFLAGS'
2923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2926 if test -n "$ac_tool_prefix"; then
2927   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2928 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2929 echo "$as_me:$LINENO: checking for $ac_word" >&5
2930 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2931 if test "${ac_cv_prog_CC+set}" = set; then
2932   echo $ECHO_N "(cached) $ECHO_C" >&6
2933 else
2934   if test -n "$CC"; then
2935   ac_cv_prog_CC="$CC" # Let the user override the test.
2936 else
2937 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2938 for as_dir in $PATH
2939 do
2940   IFS=$as_save_IFS
2941   test -z "$as_dir" && as_dir=.
2942   for ac_exec_ext in '' $ac_executable_extensions; do
2943   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2944     ac_cv_prog_CC="${ac_tool_prefix}gcc"
2945     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2946     break 2
2947   fi
2948 done
2949 done
2950
2951 fi
2952 fi
2953 CC=$ac_cv_prog_CC
2954 if test -n "$CC"; then
2955   echo "$as_me:$LINENO: result: $CC" >&5
2956 echo "${ECHO_T}$CC" >&6
2957 else
2958   echo "$as_me:$LINENO: result: no" >&5
2959 echo "${ECHO_T}no" >&6
2960 fi
2961
2962 fi
2963 if test -z "$ac_cv_prog_CC"; then
2964   ac_ct_CC=$CC
2965   # Extract the first word of "gcc", so it can be a program name with args.
2966 set dummy gcc; ac_word=$2
2967 echo "$as_me:$LINENO: checking for $ac_word" >&5
2968 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2969 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2970   echo $ECHO_N "(cached) $ECHO_C" >&6
2971 else
2972   if test -n "$ac_ct_CC"; then
2973   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2974 else
2975 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2976 for as_dir in $PATH
2977 do
2978   IFS=$as_save_IFS
2979   test -z "$as_dir" && as_dir=.
2980   for ac_exec_ext in '' $ac_executable_extensions; do
2981   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2982     ac_cv_prog_ac_ct_CC="gcc"
2983     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2984     break 2
2985   fi
2986 done
2987 done
2988
2989 fi
2990 fi
2991 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2992 if test -n "$ac_ct_CC"; then
2993   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2994 echo "${ECHO_T}$ac_ct_CC" >&6
2995 else
2996   echo "$as_me:$LINENO: result: no" >&5
2997 echo "${ECHO_T}no" >&6
2998 fi
2999
3000   CC=$ac_ct_CC
3001 else
3002   CC="$ac_cv_prog_CC"
3003 fi
3004
3005 if test -z "$CC"; then
3006   if test -n "$ac_tool_prefix"; then
3007   # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3008 set dummy ${ac_tool_prefix}cc; ac_word=$2
3009 echo "$as_me:$LINENO: checking for $ac_word" >&5
3010 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3011 if test "${ac_cv_prog_CC+set}" = set; then
3012   echo $ECHO_N "(cached) $ECHO_C" >&6
3013 else
3014   if test -n "$CC"; then
3015   ac_cv_prog_CC="$CC" # Let the user override the test.
3016 else
3017 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3018 for as_dir in $PATH
3019 do
3020   IFS=$as_save_IFS
3021   test -z "$as_dir" && as_dir=.
3022   for ac_exec_ext in '' $ac_executable_extensions; do
3023   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3024     ac_cv_prog_CC="${ac_tool_prefix}cc"
3025     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3026     break 2
3027   fi
3028 done
3029 done
3030
3031 fi
3032 fi
3033 CC=$ac_cv_prog_CC
3034 if test -n "$CC"; then
3035   echo "$as_me:$LINENO: result: $CC" >&5
3036 echo "${ECHO_T}$CC" >&6
3037 else
3038   echo "$as_me:$LINENO: result: no" >&5
3039 echo "${ECHO_T}no" >&6
3040 fi
3041
3042 fi
3043 if test -z "$ac_cv_prog_CC"; then
3044   ac_ct_CC=$CC
3045   # Extract the first word of "cc", so it can be a program name with args.
3046 set dummy cc; ac_word=$2
3047 echo "$as_me:$LINENO: checking for $ac_word" >&5
3048 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3049 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3050   echo $ECHO_N "(cached) $ECHO_C" >&6
3051 else
3052   if test -n "$ac_ct_CC"; then
3053   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3054 else
3055 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3056 for as_dir in $PATH
3057 do
3058   IFS=$as_save_IFS
3059   test -z "$as_dir" && as_dir=.
3060   for ac_exec_ext in '' $ac_executable_extensions; do
3061   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3062     ac_cv_prog_ac_ct_CC="cc"
3063     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3064     break 2
3065   fi
3066 done
3067 done
3068
3069 fi
3070 fi
3071 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3072 if test -n "$ac_ct_CC"; then
3073   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3074 echo "${ECHO_T}$ac_ct_CC" >&6
3075 else
3076   echo "$as_me:$LINENO: result: no" >&5
3077 echo "${ECHO_T}no" >&6
3078 fi
3079
3080   CC=$ac_ct_CC
3081 else
3082   CC="$ac_cv_prog_CC"
3083 fi
3084
3085 fi
3086 if test -z "$CC"; then
3087   # Extract the first word of "cc", so it can be a program name with args.
3088 set dummy cc; ac_word=$2
3089 echo "$as_me:$LINENO: checking for $ac_word" >&5
3090 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3091 if test "${ac_cv_prog_CC+set}" = set; then
3092   echo $ECHO_N "(cached) $ECHO_C" >&6
3093 else
3094   if test -n "$CC"; then
3095   ac_cv_prog_CC="$CC" # Let the user override the test.
3096 else
3097   ac_prog_rejected=no
3098 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3099 for as_dir in $PATH
3100 do
3101   IFS=$as_save_IFS
3102   test -z "$as_dir" && as_dir=.
3103   for ac_exec_ext in '' $ac_executable_extensions; do
3104   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3105     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3106        ac_prog_rejected=yes
3107        continue
3108      fi
3109     ac_cv_prog_CC="cc"
3110     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3111     break 2
3112   fi
3113 done
3114 done
3115
3116 if test $ac_prog_rejected = yes; then
3117   # We found a bogon in the path, so make sure we never use it.
3118   set dummy $ac_cv_prog_CC
3119   shift
3120   if test $# != 0; then
3121     # We chose a different compiler from the bogus one.
3122     # However, it has the same basename, so the bogon will be chosen
3123     # first if we set CC to just the basename; use the full file name.
3124     shift
3125     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3126   fi
3127 fi
3128 fi
3129 fi
3130 CC=$ac_cv_prog_CC
3131 if test -n "$CC"; then
3132   echo "$as_me:$LINENO: result: $CC" >&5
3133 echo "${ECHO_T}$CC" >&6
3134 else
3135   echo "$as_me:$LINENO: result: no" >&5
3136 echo "${ECHO_T}no" >&6
3137 fi
3138
3139 fi
3140 if test -z "$CC"; then
3141   if test -n "$ac_tool_prefix"; then
3142   for ac_prog in cl
3143   do
3144     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3145 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3146 echo "$as_me:$LINENO: checking for $ac_word" >&5
3147 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3148 if test "${ac_cv_prog_CC+set}" = set; then
3149   echo $ECHO_N "(cached) $ECHO_C" >&6
3150 else
3151   if test -n "$CC"; then
3152   ac_cv_prog_CC="$CC" # Let the user override the test.
3153 else
3154 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3155 for as_dir in $PATH
3156 do
3157   IFS=$as_save_IFS
3158   test -z "$as_dir" && as_dir=.
3159   for ac_exec_ext in '' $ac_executable_extensions; do
3160   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3161     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3162     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3163     break 2
3164   fi
3165 done
3166 done
3167
3168 fi
3169 fi
3170 CC=$ac_cv_prog_CC
3171 if test -n "$CC"; then
3172   echo "$as_me:$LINENO: result: $CC" >&5
3173 echo "${ECHO_T}$CC" >&6
3174 else
3175   echo "$as_me:$LINENO: result: no" >&5
3176 echo "${ECHO_T}no" >&6
3177 fi
3178
3179     test -n "$CC" && break
3180   done
3181 fi
3182 if test -z "$CC"; then
3183   ac_ct_CC=$CC
3184   for ac_prog in cl
3185 do
3186   # Extract the first word of "$ac_prog", so it can be a program name with args.
3187 set dummy $ac_prog; ac_word=$2
3188 echo "$as_me:$LINENO: checking for $ac_word" >&5
3189 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3190 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3191   echo $ECHO_N "(cached) $ECHO_C" >&6
3192 else
3193   if test -n "$ac_ct_CC"; then
3194   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3195 else
3196 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3197 for as_dir in $PATH
3198 do
3199   IFS=$as_save_IFS
3200   test -z "$as_dir" && as_dir=.
3201   for ac_exec_ext in '' $ac_executable_extensions; do
3202   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3203     ac_cv_prog_ac_ct_CC="$ac_prog"
3204     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3205     break 2
3206   fi
3207 done
3208 done
3209
3210 fi
3211 fi
3212 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3213 if test -n "$ac_ct_CC"; then
3214   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3215 echo "${ECHO_T}$ac_ct_CC" >&6
3216 else
3217   echo "$as_me:$LINENO: result: no" >&5
3218 echo "${ECHO_T}no" >&6
3219 fi
3220
3221   test -n "$ac_ct_CC" && break
3222 done
3223
3224   CC=$ac_ct_CC
3225 fi
3226
3227 fi
3228
3229
3230 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3231 See \`config.log' for more details." >&5
3232 echo "$as_me: error: no acceptable C compiler found in \$PATH
3233 See \`config.log' for more details." >&2;}
3234    { (exit 1); exit 1; }; }
3235
3236 # Provide some information about the compiler.
3237 echo "$as_me:$LINENO:" \
3238      "checking for C compiler version" >&5
3239 ac_compiler=`set X $ac_compile; echo $2`
3240 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3241   (eval $ac_compiler --version </dev/null >&5) 2>&5
3242   ac_status=$?
3243   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3244   (exit $ac_status); }
3245 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3246   (eval $ac_compiler -v </dev/null >&5) 2>&5
3247   ac_status=$?
3248   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3249   (exit $ac_status); }
3250 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3251   (eval $ac_compiler -V </dev/null >&5) 2>&5
3252   ac_status=$?
3253   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3254   (exit $ac_status); }
3255
3256 cat >conftest.$ac_ext <<_ACEOF
3257 /* confdefs.h.  */
3258 _ACEOF
3259 cat confdefs.h >>conftest.$ac_ext
3260 cat >>conftest.$ac_ext <<_ACEOF
3261 /* end confdefs.h.  */
3262
3263 int
3264 main ()
3265 {
3266
3267   ;
3268   return 0;
3269 }
3270 _ACEOF
3271 ac_clean_files_save=$ac_clean_files
3272 ac_clean_files="$ac_clean_files a.out a.exe b.out"
3273 # Try to create an executable without -o first, disregard a.out.
3274 # It will help us diagnose broken compilers, and finding out an intuition
3275 # of exeext.
3276 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
3277 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
3278 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3279 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
3280   (eval $ac_link_default) 2>&5
3281   ac_status=$?
3282   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3283   (exit $ac_status); }; then
3284   # Find the output, starting from the most likely.  This scheme is
3285 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
3286 # resort.
3287
3288 # Be careful to initialize this variable, since it used to be cached.
3289 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
3290 ac_cv_exeext=
3291 # b.out is created by i960 compilers.
3292 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
3293 do
3294   test -f "$ac_file" || continue
3295   case $ac_file in
3296     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
3297         ;;
3298     conftest.$ac_ext )
3299         # This is the source file.
3300         ;;
3301     [ab].out )
3302         # We found the default executable, but exeext='' is most
3303         # certainly right.
3304         break;;
3305     *.* )
3306         ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3307         # FIXME: I believe we export ac_cv_exeext for Libtool,
3308         # but it would be cool to find out if it's true.  Does anybody
3309         # maintain Libtool? --akim.
3310         export ac_cv_exeext
3311         break;;
3312     * )
3313         break;;
3314   esac
3315 done
3316 else
3317   echo "$as_me: failed program was:" >&5
3318 sed 's/^/| /' conftest.$ac_ext >&5
3319
3320 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
3321 See \`config.log' for more details." >&5
3322 echo "$as_me: error: C compiler cannot create executables
3323 See \`config.log' for more details." >&2;}
3324    { (exit 77); exit 77; }; }
3325 fi
3326
3327 ac_exeext=$ac_cv_exeext
3328 echo "$as_me:$LINENO: result: $ac_file" >&5
3329 echo "${ECHO_T}$ac_file" >&6
3330
3331 # Check the compiler produces executables we can run.  If not, either
3332 # the compiler is broken, or we cross compile.
3333 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3334 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
3335 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3336 # If not cross compiling, check that we can run a simple program.
3337 if test "$cross_compiling" != yes; then
3338   if { ac_try='./$ac_file'
3339   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3340   (eval $ac_try) 2>&5
3341   ac_status=$?
3342   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3343   (exit $ac_status); }; }; then
3344     cross_compiling=no
3345   else
3346     if test "$cross_compiling" = maybe; then
3347         cross_compiling=yes
3348     else
3349         { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
3350 If you meant to cross compile, use \`--host'.
3351 See \`config.log' for more details." >&5
3352 echo "$as_me: error: cannot run C compiled programs.
3353 If you meant to cross compile, use \`--host'.
3354 See \`config.log' for more details." >&2;}
3355    { (exit 1); exit 1; }; }
3356     fi
3357   fi
3358 fi
3359 echo "$as_me:$LINENO: result: yes" >&5
3360 echo "${ECHO_T}yes" >&6
3361
3362 rm -f a.out a.exe conftest$ac_cv_exeext b.out
3363 ac_clean_files=$ac_clean_files_save
3364 # Check the compiler produces executables we can run.  If not, either
3365 # the compiler is broken, or we cross compile.
3366 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3367 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
3368 echo "$as_me:$LINENO: result: $cross_compiling" >&5
3369 echo "${ECHO_T}$cross_compiling" >&6
3370
3371 echo "$as_me:$LINENO: checking for suffix of executables" >&5
3372 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
3373 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3374   (eval $ac_link) 2>&5
3375   ac_status=$?
3376   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3377   (exit $ac_status); }; then
3378   # If both `conftest.exe' and `conftest' are `present' (well, observable)
3379 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3380 # work properly (i.e., refer to `conftest.exe'), while it won't with
3381 # `rm'.
3382 for ac_file in conftest.exe conftest conftest.*; do
3383   test -f "$ac_file" || continue
3384   case $ac_file in
3385     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
3386     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3387           export ac_cv_exeext
3388           break;;
3389     * ) break;;
3390   esac
3391 done
3392 else
3393   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3394 See \`config.log' for more details." >&5
3395 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3396 See \`config.log' for more details." >&2;}
3397    { (exit 1); exit 1; }; }
3398 fi
3399
3400 rm -f conftest$ac_cv_exeext
3401 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3402 echo "${ECHO_T}$ac_cv_exeext" >&6
3403
3404 rm -f conftest.$ac_ext
3405 EXEEXT=$ac_cv_exeext
3406 ac_exeext=$EXEEXT
3407 echo "$as_me:$LINENO: checking for suffix of object files" >&5
3408 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
3409 if test "${ac_cv_objext+set}" = set; then
3410   echo $ECHO_N "(cached) $ECHO_C" >&6
3411 else
3412   cat >conftest.$ac_ext <<_ACEOF
3413 /* confdefs.h.  */
3414 _ACEOF
3415 cat confdefs.h >>conftest.$ac_ext
3416 cat >>conftest.$ac_ext <<_ACEOF
3417 /* end confdefs.h.  */
3418
3419 int
3420 main ()
3421 {
3422
3423   ;
3424   return 0;
3425 }
3426 _ACEOF
3427 rm -f conftest.o conftest.obj
3428 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3429   (eval $ac_compile) 2>&5
3430   ac_status=$?
3431   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3432   (exit $ac_status); }; then
3433   for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
3434   case $ac_file in
3435     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
3436     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3437        break;;
3438   esac
3439 done
3440 else
3441   echo "$as_me: failed program was:" >&5
3442 sed 's/^/| /' conftest.$ac_ext >&5
3443
3444 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3445 See \`config.log' for more details." >&5
3446 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3447 See \`config.log' for more details." >&2;}
3448    { (exit 1); exit 1; }; }
3449 fi
3450
3451 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3452 fi
3453 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3454 echo "${ECHO_T}$ac_cv_objext" >&6
3455 OBJEXT=$ac_cv_objext
3456 ac_objext=$OBJEXT
3457 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3458 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
3459 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3460   echo $ECHO_N "(cached) $ECHO_C" >&6
3461 else
3462   cat >conftest.$ac_ext <<_ACEOF
3463 /* confdefs.h.  */
3464 _ACEOF
3465 cat confdefs.h >>conftest.$ac_ext
3466 cat >>conftest.$ac_ext <<_ACEOF
3467 /* end confdefs.h.  */
3468
3469 int
3470 main ()
3471 {
3472 #ifndef __GNUC__
3473        choke me
3474 #endif
3475
3476   ;
3477   return 0;
3478 }
3479 _ACEOF
3480 rm -f conftest.$ac_objext
3481 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3482   (eval $ac_compile) 2>conftest.er1
3483   ac_status=$?
3484   grep -v '^ *+' conftest.er1 >conftest.err
3485   rm -f conftest.er1
3486   cat conftest.err >&5
3487   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3488   (exit $ac_status); } &&
3489          { ac_try='test -z "$ac_c_werror_flag"
3490                          || test ! -s conftest.err'
3491   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3492   (eval $ac_try) 2>&5
3493   ac_status=$?
3494   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3495   (exit $ac_status); }; } &&
3496          { ac_try='test -s conftest.$ac_objext'
3497   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3498   (eval $ac_try) 2>&5
3499   ac_status=$?
3500   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3501   (exit $ac_status); }; }; then
3502   ac_compiler_gnu=yes
3503 else
3504   echo "$as_me: failed program was:" >&5
3505 sed 's/^/| /' conftest.$ac_ext >&5
3506
3507 ac_compiler_gnu=no
3508 fi
3509 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3510 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3511
3512 fi
3513 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3514 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
3515 GCC=`test $ac_compiler_gnu = yes && echo yes`
3516 ac_test_CFLAGS=${CFLAGS+set}
3517 ac_save_CFLAGS=$CFLAGS
3518 CFLAGS="-g"
3519 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3520 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
3521 if test "${ac_cv_prog_cc_g+set}" = set; then
3522   echo $ECHO_N "(cached) $ECHO_C" >&6
3523 else
3524   cat >conftest.$ac_ext <<_ACEOF
3525 /* confdefs.h.  */
3526 _ACEOF
3527 cat confdefs.h >>conftest.$ac_ext
3528 cat >>conftest.$ac_ext <<_ACEOF
3529 /* end confdefs.h.  */
3530
3531 int
3532 main ()
3533 {
3534
3535   ;
3536   return 0;
3537 }
3538 _ACEOF
3539 rm -f conftest.$ac_objext
3540 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3541   (eval $ac_compile) 2>conftest.er1
3542   ac_status=$?
3543   grep -v '^ *+' conftest.er1 >conftest.err
3544   rm -f conftest.er1
3545   cat conftest.err >&5
3546   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3547   (exit $ac_status); } &&
3548          { ac_try='test -z "$ac_c_werror_flag"
3549                          || test ! -s conftest.err'
3550   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3551   (eval $ac_try) 2>&5
3552   ac_status=$?
3553   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3554   (exit $ac_status); }; } &&
3555          { ac_try='test -s conftest.$ac_objext'
3556   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3557   (eval $ac_try) 2>&5
3558   ac_status=$?
3559   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3560   (exit $ac_status); }; }; then
3561   ac_cv_prog_cc_g=yes
3562 else
3563   echo "$as_me: failed program was:" >&5
3564 sed 's/^/| /' conftest.$ac_ext >&5
3565
3566 ac_cv_prog_cc_g=no
3567 fi
3568 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3569 fi
3570 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3571 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3572 if test "$ac_test_CFLAGS" = set; then
3573   CFLAGS=$ac_save_CFLAGS
3574 elif test $ac_cv_prog_cc_g = yes; then
3575   if test "$GCC" = yes; then
3576     CFLAGS="-g -O2"
3577   else
3578     CFLAGS="-g"
3579   fi
3580 else
3581   if test "$GCC" = yes; then
3582     CFLAGS="-O2"
3583   else
3584     CFLAGS=
3585   fi
3586 fi
3587 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3588 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3589 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3590   echo $ECHO_N "(cached) $ECHO_C" >&6
3591 else
3592   ac_cv_prog_cc_stdc=no
3593 ac_save_CC=$CC
3594 cat >conftest.$ac_ext <<_ACEOF
3595 /* confdefs.h.  */
3596 _ACEOF
3597 cat confdefs.h >>conftest.$ac_ext
3598 cat >>conftest.$ac_ext <<_ACEOF
3599 /* end confdefs.h.  */
3600 #include <stdarg.h>
3601 #include <stdio.h>
3602 #include <sys/types.h>
3603 #include <sys/stat.h>
3604 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3605 struct buf { int x; };
3606 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3607 static char *e (p, i)
3608      char **p;
3609      int i;
3610 {
3611   return p[i];
3612 }
3613 static char *f (char * (*g) (char **, int), char **p, ...)
3614 {
3615   char *s;
3616   va_list v;
3617   va_start (v,p);
3618   s = g (p, va_arg (v,int));
3619   va_end (v);
3620   return s;
3621 }
3622
3623 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3624    function prototypes and stuff, but not '\xHH' hex character constants.
3625    These don't provoke an error unfortunately, instead are silently treated
3626    as 'x'.  The following induces an error, until -std1 is added to get
3627    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3628    array size at least.  It's necessary to write '\x00'==0 to get something
3629    that's true only with -std1.  */
3630 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3631
3632 int test (int i, double x);
3633 struct s1 {int (*f) (int a);};
3634 struct s2 {int (*f) (double a);};
3635 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3636 int argc;
3637 char **argv;
3638 int
3639 main ()
3640 {
3641 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3642   ;
3643   return 0;
3644 }
3645 _ACEOF
3646 # Don't try gcc -ansi; that turns off useful extensions and
3647 # breaks some systems' header files.
3648 # AIX                   -qlanglvl=ansi
3649 # Ultrix and OSF/1      -std1
3650 # HP-UX 10.20 and later -Ae
3651 # HP-UX older versions  -Aa -D_HPUX_SOURCE
3652 # SVR4                  -Xc -D__EXTENSIONS__
3653 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3654 do
3655   CC="$ac_save_CC $ac_arg"
3656   rm -f conftest.$ac_objext
3657 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3658   (eval $ac_compile) 2>conftest.er1
3659   ac_status=$?
3660   grep -v '^ *+' conftest.er1 >conftest.err
3661   rm -f conftest.er1
3662   cat conftest.err >&5
3663   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3664   (exit $ac_status); } &&
3665          { ac_try='test -z "$ac_c_werror_flag"
3666                          || test ! -s conftest.err'
3667   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3668   (eval $ac_try) 2>&5
3669   ac_status=$?
3670   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3671   (exit $ac_status); }; } &&
3672          { ac_try='test -s conftest.$ac_objext'
3673   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3674   (eval $ac_try) 2>&5
3675   ac_status=$?
3676   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3677   (exit $ac_status); }; }; then
3678   ac_cv_prog_cc_stdc=$ac_arg
3679 break
3680 else
3681   echo "$as_me: failed program was:" >&5
3682 sed 's/^/| /' conftest.$ac_ext >&5
3683
3684 fi
3685 rm -f conftest.err conftest.$ac_objext
3686 done
3687 rm -f conftest.$ac_ext conftest.$ac_objext
3688 CC=$ac_save_CC
3689
3690 fi
3691
3692 case "x$ac_cv_prog_cc_stdc" in
3693   x|xno)
3694     echo "$as_me:$LINENO: result: none needed" >&5
3695 echo "${ECHO_T}none needed" >&6 ;;
3696   *)
3697     echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3698 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3699     CC="$CC $ac_cv_prog_cc_stdc" ;;
3700 esac
3701
3702 # Some people use a C++ compiler to compile C.  Since we use `exit',
3703 # in C++ we need to declare it.  In case someone uses the same compiler
3704 # for both compiling C and C++ we need to have the C++ compiler decide
3705 # the declaration of exit, since it's the most demanding environment.
3706 cat >conftest.$ac_ext <<_ACEOF
3707 #ifndef __cplusplus
3708   choke me
3709 #endif
3710 _ACEOF
3711 rm -f conftest.$ac_objext
3712 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3713   (eval $ac_compile) 2>conftest.er1
3714   ac_status=$?
3715   grep -v '^ *+' conftest.er1 >conftest.err
3716   rm -f conftest.er1
3717   cat conftest.err >&5
3718   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3719   (exit $ac_status); } &&
3720          { ac_try='test -z "$ac_c_werror_flag"
3721                          || test ! -s conftest.err'
3722   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3723   (eval $ac_try) 2>&5
3724   ac_status=$?
3725   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3726   (exit $ac_status); }; } &&
3727          { ac_try='test -s conftest.$ac_objext'
3728   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3729   (eval $ac_try) 2>&5
3730   ac_status=$?
3731   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3732   (exit $ac_status); }; }; then
3733   for ac_declaration in \
3734    '' \
3735    'extern "C" void std::exit (int) throw (); using std::exit;' \
3736    'extern "C" void std::exit (int); using std::exit;' \
3737    'extern "C" void exit (int) throw ();' \
3738    'extern "C" void exit (int);' \
3739    'void exit (int);'
3740 do
3741   cat >conftest.$ac_ext <<_ACEOF
3742 /* confdefs.h.  */
3743 _ACEOF
3744 cat confdefs.h >>conftest.$ac_ext
3745 cat >>conftest.$ac_ext <<_ACEOF
3746 /* end confdefs.h.  */
3747 $ac_declaration
3748 #include <stdlib.h>
3749 int
3750 main ()
3751 {
3752 exit (42);
3753   ;
3754   return 0;
3755 }
3756 _ACEOF
3757 rm -f conftest.$ac_objext
3758 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3759   (eval $ac_compile) 2>conftest.er1
3760   ac_status=$?
3761   grep -v '^ *+' conftest.er1 >conftest.err
3762   rm -f conftest.er1
3763   cat conftest.err >&5
3764   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3765   (exit $ac_status); } &&
3766          { ac_try='test -z "$ac_c_werror_flag"
3767                          || test ! -s conftest.err'
3768   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3769   (eval $ac_try) 2>&5
3770   ac_status=$?
3771   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3772   (exit $ac_status); }; } &&
3773          { ac_try='test -s conftest.$ac_objext'
3774   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3775   (eval $ac_try) 2>&5
3776   ac_status=$?
3777   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3778   (exit $ac_status); }; }; then
3779   :
3780 else
3781   echo "$as_me: failed program was:" >&5
3782 sed 's/^/| /' conftest.$ac_ext >&5
3783
3784 continue
3785 fi
3786 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3787   cat >conftest.$ac_ext <<_ACEOF
3788 /* confdefs.h.  */
3789 _ACEOF
3790 cat confdefs.h >>conftest.$ac_ext
3791 cat >>conftest.$ac_ext <<_ACEOF
3792 /* end confdefs.h.  */
3793 $ac_declaration
3794 int
3795 main ()
3796 {
3797 exit (42);
3798   ;
3799   return 0;
3800 }
3801 _ACEOF
3802 rm -f conftest.$ac_objext
3803 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3804   (eval $ac_compile) 2>conftest.er1
3805   ac_status=$?
3806   grep -v '^ *+' conftest.er1 >conftest.err
3807   rm -f conftest.er1
3808   cat conftest.err >&5
3809   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3810   (exit $ac_status); } &&
3811          { ac_try='test -z "$ac_c_werror_flag"
3812                          || test ! -s conftest.err'
3813   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3814   (eval $ac_try) 2>&5
3815   ac_status=$?
3816   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3817   (exit $ac_status); }; } &&
3818          { ac_try='test -s conftest.$ac_objext'
3819   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3820   (eval $ac_try) 2>&5
3821   ac_status=$?
3822   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3823   (exit $ac_status); }; }; then
3824   break
3825 else
3826   echo "$as_me: failed program was:" >&5
3827 sed 's/^/| /' conftest.$ac_ext >&5
3828
3829 fi
3830 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3831 done
3832 rm -f conftest*
3833 if test -n "$ac_declaration"; then
3834   echo '#ifdef __cplusplus' >>confdefs.h
3835   echo $ac_declaration      >>confdefs.h
3836   echo '#endif'             >>confdefs.h
3837 fi
3838
3839 else
3840   echo "$as_me: failed program was:" >&5
3841 sed 's/^/| /' conftest.$ac_ext >&5
3842
3843 fi
3844 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3845 ac_ext=c
3846 ac_cpp='$CPP $CPPFLAGS'
3847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3850
3851 depcc="$CC"   am_compiler_list=
3852
3853 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3854 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3855 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3856   echo $ECHO_N "(cached) $ECHO_C" >&6
3857 else
3858   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3859   # We make a subdir and do the tests there.  Otherwise we can end up
3860   # making bogus files that we don't know about and never remove.  For
3861   # instance it was reported that on HP-UX the gcc test will end up
3862   # making a dummy file named `D' -- because `-MD' means `put the output
3863   # in D'.
3864   mkdir conftest.dir
3865   # Copy depcomp to subdir because otherwise we won't find it if we're
3866   # using a relative directory.
3867   cp "$am_depcomp" conftest.dir
3868   cd conftest.dir
3869   # We will build objects and dependencies in a subdirectory because
3870   # it helps to detect inapplicable dependency modes.  For instance
3871   # both Tru64's cc and ICC support -MD to output dependencies as a
3872   # side effect of compilation, but ICC will put the dependencies in
3873   # the current directory while Tru64 will put them in the object
3874   # directory.
3875   mkdir sub
3876
3877   am_cv_CC_dependencies_compiler_type=none
3878   if test "$am_compiler_list" = ""; then
3879      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3880   fi
3881   for depmode in $am_compiler_list; do
3882     # Setup a source with many dependencies, because some compilers
3883     # like to wrap large dependency lists on column 80 (with \), and
3884     # we should not choose a depcomp mode which is confused by this.
3885     #
3886     # We need to recreate these files for each test, as the compiler may
3887     # overwrite some of them when testing with obscure command lines.
3888     # This happens at least with the AIX C compiler.
3889     : > sub/conftest.c
3890     for i in 1 2 3 4 5 6; do
3891       echo '#include "conftst'$i'.h"' >> sub/conftest.c
3892       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3893       # Solaris 8's {/usr,}/bin/sh.
3894       touch sub/conftst$i.h
3895     done
3896     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3897
3898     case $depmode in
3899     nosideeffect)
3900       # after this tag, mechanisms are not by side-effect, so they'll
3901       # only be used when explicitly requested
3902       if test "x$enable_dependency_tracking" = xyes; then
3903         continue
3904       else
3905         break
3906       fi
3907       ;;
3908     none) break ;;
3909     esac
3910     # We check with `-c' and `-o' for the sake of the "dashmstdout"
3911     # mode.  It turns out that the SunPro C++ compiler does not properly
3912     # handle `-M -o', and we need to detect this.
3913     if depmode=$depmode \
3914        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3915        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3916        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3917          >/dev/null 2>conftest.err &&
3918        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3919        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3920        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3921       # icc doesn't choke on unknown options, it will just issue warnings
3922       # or remarks (even with -Werror).  So we grep stderr for any message
3923       # that says an option was ignored or not supported.
3924       # When given -MP, icc 7.0 and 7.1 complain thusly:
3925       #   icc: Command line warning: ignoring option '-M'; no argument required
3926       # The diagnosis changed in icc 8.0:
3927       #   icc: Command line remark: option '-MP' not supported
3928       if (grep 'ignoring option' conftest.err ||
3929           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3930         am_cv_CC_dependencies_compiler_type=$depmode
3931         break
3932       fi
3933     fi
3934   done
3935
3936   cd ..
3937   rm -rf conftest.dir
3938 else
3939   am_cv_CC_dependencies_compiler_type=none
3940 fi
3941
3942 fi
3943 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3944 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3945 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3946
3947
3948
3949 if
3950   test "x$enable_dependency_tracking" != xno \
3951   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3952   am__fastdepCC_TRUE=
3953   am__fastdepCC_FALSE='#'
3954 else
3955   am__fastdepCC_TRUE='#'
3956   am__fastdepCC_FALSE=
3957 fi
3958
3959
3960
3961 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3962 if test "${with_gnu_ld+set}" = set; then
3963   withval="$with_gnu_ld"
3964   test "$withval" = no || with_gnu_ld=yes
3965 else
3966   with_gnu_ld=no
3967 fi;
3968 ac_prog=ld
3969 if test "$GCC" = yes; then
3970   # Check if gcc -print-prog-name=ld gives a path.
3971   echo "$as_me:$LINENO: checking for ld used by GCC" >&5
3972 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
3973   case $host in
3974   *-*-mingw*)
3975     # gcc leaves a trailing carriage return which upsets mingw
3976     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3977   *)
3978     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
3979   esac
3980   case $ac_prog in
3981     # Accept absolute paths.
3982     [\\/]* | [A-Za-z]:[\\/]*)
3983       re_direlt='/[^/][^/]*/\.\./'
3984       # Canonicalize the path of ld
3985       ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
3986       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
3987         ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
3988       done
3989       test -z "$LD" && LD="$ac_prog"
3990       ;;
3991   "")
3992     # If it fails, then pretend we aren't using GCC.
3993     ac_prog=ld
3994     ;;
3995   *)
3996     # If it is relative, then search for the first ld in PATH.
3997     with_gnu_ld=unknown
3998     ;;
3999   esac
4000 elif test "$with_gnu_ld" = yes; then
4001   echo "$as_me:$LINENO: checking for GNU ld" >&5
4002 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
4003 else
4004   echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4005 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
4006 fi
4007 if test "${lt_cv_path_LD+set}" = set; then
4008   echo $ECHO_N "(cached) $ECHO_C" >&6
4009 else
4010   if test -z "$LD"; then
4011   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
4012   for ac_dir in $PATH; do
4013     test -z "$ac_dir" && ac_dir=.
4014     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4015       lt_cv_path_LD="$ac_dir/$ac_prog"
4016       # Check to see if the program is GNU ld.  I'd rather use --version,
4017       # but apparently some GNU ld's only accept -v.
4018       # Break only if it was the GNU/non-GNU ld that we prefer.
4019       if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
4020         test "$with_gnu_ld" != no && break
4021       else
4022         test "$with_gnu_ld" != yes && break
4023       fi
4024     fi
4025   done
4026   IFS="$ac_save_ifs"
4027 else
4028   lt_cv_path_LD="$LD" # Let the user override the test with a path.
4029 fi
4030 fi
4031
4032 LD="$lt_cv_path_LD"
4033 if test -n "$LD"; then
4034   echo "$as_me:$LINENO: result: $LD" >&5
4035 echo "${ECHO_T}$LD" >&6
4036 else
4037   echo "$as_me:$LINENO: result: no" >&5
4038 echo "${ECHO_T}no" >&6
4039 fi
4040 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4041 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4042    { (exit 1); exit 1; }; }
4043 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4044 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
4045 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4046   echo $ECHO_N "(cached) $ECHO_C" >&6
4047 else
4048   # I'd rather use --version here, but apparently some GNU ld's only accept -v.
4049 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
4050   lt_cv_prog_gnu_ld=yes
4051 else
4052   lt_cv_prog_gnu_ld=no
4053 fi
4054 fi
4055 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4056 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
4057 with_gnu_ld=$lt_cv_prog_gnu_ld
4058
4059
4060 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4061 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
4062 if test "${lt_cv_ld_reload_flag+set}" = set; then
4063   echo $ECHO_N "(cached) $ECHO_C" >&6
4064 else
4065   lt_cv_ld_reload_flag='-r'
4066 fi
4067 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4068 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
4069 reload_flag=$lt_cv_ld_reload_flag
4070 test -n "$reload_flag" && reload_flag=" $reload_flag"
4071
4072 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
4073 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
4074 if test "${lt_cv_path_NM+set}" = set; then
4075   echo $ECHO_N "(cached) $ECHO_C" >&6
4076 else
4077   if test -n "$NM"; then
4078   # Let the user override the test.
4079   lt_cv_path_NM="$NM"
4080 else
4081   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
4082   for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
4083     test -z "$ac_dir" && ac_dir=.
4084     tmp_nm=$ac_dir/${ac_tool_prefix}nm
4085     if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
4086       # Check to see if the nm accepts a BSD-compat flag.
4087       # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4088       #   nm: unknown option "B" ignored
4089       # Tru64's nm complains that /dev/null is an invalid object file
4090       if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
4091         lt_cv_path_NM="$tmp_nm -B"
4092         break
4093       elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
4094         lt_cv_path_NM="$tmp_nm -p"
4095         break
4096       else
4097         lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4098         continue # so that we can try to find one that supports BSD flags
4099       fi
4100     fi
4101   done
4102   IFS="$ac_save_ifs"
4103   test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
4104 fi
4105 fi
4106
4107 NM="$lt_cv_path_NM"
4108 echo "$as_me:$LINENO: result: $NM" >&5
4109 echo "${ECHO_T}$NM" >&6
4110
4111 echo "$as_me:$LINENO: checking whether ln -s works" >&5
4112 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
4113 LN_S=$as_ln_s
4114 if test "$LN_S" = "ln -s"; then
4115   echo "$as_me:$LINENO: result: yes" >&5
4116 echo "${ECHO_T}yes" >&6
4117 else
4118   echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4119 echo "${ECHO_T}no, using $LN_S" >&6
4120 fi
4121
4122 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
4123 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
4124 if test "${lt_cv_deplibs_check_method+set}" = set; then
4125   echo $ECHO_N "(cached) $ECHO_C" >&6
4126 else
4127   lt_cv_file_magic_cmd='$MAGIC_CMD'
4128 lt_cv_file_magic_test_file=
4129 lt_cv_deplibs_check_method='unknown'
4130 # Need to set the preceding variable on all platforms that support
4131 # interlibrary dependencies.
4132 # 'none' -- dependencies not supported.
4133 # `unknown' -- same as none, but documents that we really don't know.
4134 # 'pass_all' -- all dependencies passed with no checks.
4135 # 'test_compile' -- check by making test program.
4136 # 'file_magic [regex]' -- check by looking for files in library path
4137 # which responds to the $file_magic_cmd with a given egrep regex.
4138 # If you have `file' or equivalent on your system and you're not sure
4139 # whether `pass_all' will *always* work, you probably want this one.
4140
4141 case $host_os in
4142 aix*)
4143   lt_cv_deplibs_check_method=pass_all
4144   ;;
4145
4146 beos*)
4147   lt_cv_deplibs_check_method=pass_all
4148   ;;
4149
4150 bsdi4*)
4151   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4152   lt_cv_file_magic_cmd='/usr/bin/file -L'
4153   lt_cv_file_magic_test_file=/shlib/libc.so
4154   ;;
4155
4156 cygwin* | mingw* |pw32*)
4157   lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4158   lt_cv_file_magic_cmd='$OBJDUMP -f'
4159   ;;
4160
4161 darwin* | rhapsody*)
4162   lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
4163   lt_cv_file_magic_cmd='/usr/bin/file -L'
4164   case "$host_os" in
4165   rhapsody* | darwin1.012)
4166     lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
4167     ;;
4168   *) # Darwin 1.3 on
4169     lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
4170     ;;
4171   esac
4172   ;;
4173
4174 freebsd* )
4175   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4176     case $host_cpu in
4177     i*86 )
4178       # Not sure whether the presence of OpenBSD here was a mistake.
4179       # Let's accept both of them until this is cleared up.
4180       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
4181       lt_cv_file_magic_cmd=/usr/bin/file
4182       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4183       ;;
4184     esac
4185   else
4186     lt_cv_deplibs_check_method=pass_all
4187   fi
4188   ;;
4189
4190 gnu*)
4191   lt_cv_deplibs_check_method=pass_all
4192   ;;
4193
4194 hpux10.20*|hpux11*)
4195   case $host_cpu in
4196   hppa*)
4197     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4198     lt_cv_file_magic_cmd=/usr/bin/file
4199     lt_cv_file_magic_test_file=/usr/lib/libc.sl
4200     ;;
4201   ia64*)
4202     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4203     lt_cv_file_magic_cmd=/usr/bin/file
4204     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4205     ;;
4206   esac
4207   ;;
4208
4209 irix5* | irix6*)
4210   case $host_os in
4211   irix5*)
4212     # this will be overridden with pass_all, but let us keep it just in case
4213     lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
4214     ;;
4215   *)
4216     case $LD in
4217     *-32|*"-32 ") libmagic=32-bit;;
4218     *-n32|*"-n32 ") libmagic=N32;;
4219     *-64|*"-64 ") libmagic=64-bit;;
4220     *) libmagic=never-match;;
4221     esac
4222     # this will be overridden with pass_all, but let us keep it just in case
4223     lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
4224     ;;
4225   esac
4226   lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
4227   lt_cv_deplibs_check_method=pass_all
4228   ;;
4229
4230 # This must be Linux ELF.
4231 linux-gnu*|linux-newlib*)
4232   case $host_cpu in
4233   alpha* | hppa* | i*86 | powerpc* | sparc* | ia64* )
4234     lt_cv_deplibs_check_method=pass_all ;;
4235   *)
4236     # glibc up to 2.1.1 does not perform some relocations on ARM
4237     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
4238   esac
4239   lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
4240   ;;
4241
4242 netbsd*)
4243   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4244     lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
4245   else
4246     lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
4247   fi
4248   ;;
4249
4250 newsos6)
4251   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4252   lt_cv_file_magic_cmd=/usr/bin/file
4253   lt_cv_file_magic_test_file=/usr/lib/libnls.so
4254   ;;
4255
4256 osf3* | osf4* | osf5*)
4257   # this will be overridden with pass_all, but let us keep it just in case
4258   lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
4259   lt_cv_file_magic_test_file=/shlib/libc.so
4260   lt_cv_deplibs_check_method=pass_all
4261   ;;
4262
4263 sco3.2v5*)
4264   lt_cv_deplibs_check_method=pass_all
4265   ;;
4266
4267 solaris*)
4268   lt_cv_deplibs_check_method=pass_all
4269   lt_cv_file_magic_test_file=/lib/libc.so
4270   ;;
4271
4272 sysv5uw[78]* | sysv4*uw2*)
4273   lt_cv_deplibs_check_method=pass_all
4274   ;;
4275
4276 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
4277   case $host_vendor in
4278   ncr)
4279     lt_cv_deplibs_check_method=pass_all
4280     ;;
4281   motorola)
4282     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
4283     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4284     ;;
4285   esac
4286   ;;
4287 esac
4288
4289 fi
4290 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4291 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
4292 file_magic_cmd=$lt_cv_file_magic_cmd
4293 deplibs_check_method=$lt_cv_deplibs_check_method
4294
4295
4296
4297
4298 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
4299
4300 # Only perform the check for file, if the check method requires it
4301 case $deplibs_check_method in
4302 file_magic*)
4303   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
4304     echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
4305 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
4306 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4307   echo $ECHO_N "(cached) $ECHO_C" >&6
4308 else
4309   case $MAGIC_CMD in
4310   /*)
4311   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
4312   ;;
4313   ?:/*)
4314   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
4315   ;;
4316   *)
4317   ac_save_MAGIC_CMD="$MAGIC_CMD"
4318   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
4319   ac_dummy="/usr/bin:$PATH"
4320   for ac_dir in $ac_dummy; do
4321     test -z "$ac_dir" && ac_dir=.
4322     if test -f $ac_dir/${ac_tool_prefix}file; then
4323       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
4324       if test -n "$file_magic_test_file"; then
4325         case $deplibs_check_method in
4326         "file_magic "*)
4327           file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4328           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4329           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
4330             egrep "$file_magic_regex" > /dev/null; then
4331             :
4332           else
4333             cat <<EOF 1>&2
4334
4335 *** Warning: the command libtool uses to detect shared libraries,
4336 *** $file_magic_cmd, produces output that libtool cannot recognize.
4337 *** The result is that libtool may fail to recognize shared libraries
4338 *** as such.  This will affect the creation of libtool libraries that
4339 *** depend on shared libraries, but programs linked with such libtool
4340 *** libraries will work regardless of this problem.  Nevertheless, you
4341 *** may want to report the problem to your system manager and/or to
4342 *** bug-libtool@gnu.org
4343
4344 EOF
4345           fi ;;
4346         esac
4347       fi
4348       break
4349     fi
4350   done
4351   IFS="$ac_save_ifs"
4352   MAGIC_CMD="$ac_save_MAGIC_CMD"
4353   ;;
4354 esac
4355 fi
4356
4357 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4358 if test -n "$MAGIC_CMD"; then
4359   echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4360 echo "${ECHO_T}$MAGIC_CMD" >&6
4361 else
4362   echo "$as_me:$LINENO: result: no" >&5
4363 echo "${ECHO_T}no" >&6
4364 fi
4365
4366 if test -z "$lt_cv_path_MAGIC_CMD"; then
4367   if test -n "$ac_tool_prefix"; then
4368     echo "$as_me:$LINENO: checking for file" >&5
4369 echo $ECHO_N "checking for file... $ECHO_C" >&6
4370 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4371   echo $ECHO_N "(cached) $ECHO_C" >&6
4372 else
4373   case $MAGIC_CMD in
4374   /*)
4375   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
4376   ;;
4377   ?:/*)
4378   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
4379   ;;
4380   *)
4381   ac_save_MAGIC_CMD="$MAGIC_CMD"
4382   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
4383   ac_dummy="/usr/bin:$PATH"
4384   for ac_dir in $ac_dummy; do
4385     test -z "$ac_dir" && ac_dir=.
4386     if test -f $ac_dir/file; then
4387       lt_cv_path_MAGIC_CMD="$ac_dir/file"
4388       if test -n "$file_magic_test_file"; then
4389         case $deplibs_check_method in
4390         "file_magic "*)
4391           file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4392           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4393           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
4394             egrep "$file_magic_regex" > /dev/null; then
4395             :
4396           else
4397             cat <<EOF 1>&2
4398
4399 *** Warning: the command libtool uses to detect shared libraries,
4400 *** $file_magic_cmd, produces output that libtool cannot recognize.
4401 *** The result is that libtool may fail to recognize shared libraries
4402 *** as such.  This will affect the creation of libtool libraries that
4403 *** depend on shared libraries, but programs linked with such libtool
4404 *** libraries will work regardless of this problem.  Nevertheless, you
4405 *** may want to report the problem to your system manager and/or to
4406 *** bug-libtool@gnu.org
4407
4408 EOF
4409           fi ;;
4410         esac
4411       fi
4412       break
4413     fi
4414   done
4415   IFS="$ac_save_ifs"
4416   MAGIC_CMD="$ac_save_MAGIC_CMD"
4417   ;;
4418 esac
4419 fi
4420
4421 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4422 if test -n "$MAGIC_CMD"; then
4423   echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4424 echo "${ECHO_T}$MAGIC_CMD" >&6
4425 else
4426   echo "$as_me:$LINENO: result: no" >&5
4427 echo "${ECHO_T}no" >&6
4428 fi
4429
4430   else
4431     MAGIC_CMD=:
4432   fi
4433 fi
4434
4435   fi
4436   ;;
4437 esac
4438
4439 if test -n "$ac_tool_prefix"; then
4440   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4441 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4442 echo "$as_me:$LINENO: checking for $ac_word" >&5
4443 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4444 if test "${ac_cv_prog_RANLIB+set}" = set; then
4445   echo $ECHO_N "(cached) $ECHO_C" >&6
4446 else
4447   if test -n "$RANLIB"; then
4448   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4449 else
4450 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4451 for as_dir in $PATH
4452 do
4453   IFS=$as_save_IFS
4454   test -z "$as_dir" && as_dir=.
4455   for ac_exec_ext in '' $ac_executable_extensions; do
4456   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4457     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4458     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4459     break 2
4460   fi
4461 done
4462 done
4463
4464 fi
4465 fi
4466 RANLIB=$ac_cv_prog_RANLIB
4467 if test -n "$RANLIB"; then
4468   echo "$as_me:$LINENO: result: $RANLIB" >&5
4469 echo "${ECHO_T}$RANLIB" >&6
4470 else
4471   echo "$as_me:$LINENO: result: no" >&5
4472 echo "${ECHO_T}no" >&6
4473 fi
4474
4475 fi
4476 if test -z "$ac_cv_prog_RANLIB"; then
4477   ac_ct_RANLIB=$RANLIB
4478   # Extract the first word of "ranlib", so it can be a program name with args.
4479 set dummy ranlib; ac_word=$2
4480 echo "$as_me:$LINENO: checking for $ac_word" >&5
4481 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4482 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4483   echo $ECHO_N "(cached) $ECHO_C" >&6
4484 else
4485   if test -n "$ac_ct_RANLIB"; then
4486   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4487 else
4488 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4489 for as_dir in $PATH
4490 do
4491   IFS=$as_save_IFS
4492   test -z "$as_dir" && as_dir=.
4493   for ac_exec_ext in '' $ac_executable_extensions; do
4494   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4495     ac_cv_prog_ac_ct_RANLIB="ranlib"
4496     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4497     break 2
4498   fi
4499 done
4500 done
4501
4502   test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
4503 fi
4504 fi
4505 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4506 if test -n "$ac_ct_RANLIB"; then
4507   echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4508 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4509 else
4510   echo "$as_me:$LINENO: result: no" >&5
4511 echo "${ECHO_T}no" >&6
4512 fi
4513
4514   RANLIB=$ac_ct_RANLIB
4515 else
4516   RANLIB="$ac_cv_prog_RANLIB"
4517 fi
4518
4519 if test -n "$ac_tool_prefix"; then
4520   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4521 set dummy ${ac_tool_prefix}strip; ac_word=$2
4522 echo "$as_me:$LINENO: checking for $ac_word" >&5
4523 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4524 if test "${ac_cv_prog_STRIP+set}" = set; then
4525   echo $ECHO_N "(cached) $ECHO_C" >&6
4526 else
4527   if test -n "$STRIP"; then
4528   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4529 else
4530 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4531 for as_dir in $PATH
4532 do
4533   IFS=$as_save_IFS
4534   test -z "$as_dir" && as_dir=.
4535   for ac_exec_ext in '' $ac_executable_extensions; do
4536   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4537     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4538     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4539     break 2
4540   fi
4541 done
4542 done
4543
4544 fi
4545 fi
4546 STRIP=$ac_cv_prog_STRIP
4547 if test -n "$STRIP"; then
4548   echo "$as_me:$LINENO: result: $STRIP" >&5
4549 echo "${ECHO_T}$STRIP" >&6
4550 else
4551   echo "$as_me:$LINENO: result: no" >&5
4552 echo "${ECHO_T}no" >&6
4553 fi
4554
4555 fi
4556 if test -z "$ac_cv_prog_STRIP"; then
4557   ac_ct_STRIP=$STRIP
4558   # Extract the first word of "strip", so it can be a program name with args.
4559 set dummy strip; ac_word=$2
4560 echo "$as_me:$LINENO: checking for $ac_word" >&5
4561 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4562 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4563   echo $ECHO_N "(cached) $ECHO_C" >&6
4564 else
4565   if test -n "$ac_ct_STRIP"; then
4566   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4567 else
4568 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4569 for as_dir in $PATH
4570 do
4571   IFS=$as_save_IFS
4572   test -z "$as_dir" && as_dir=.
4573   for ac_exec_ext in '' $ac_executable_extensions; do
4574   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4575     ac_cv_prog_ac_ct_STRIP="strip"
4576     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4577     break 2
4578   fi
4579 done
4580 done
4581
4582   test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
4583 fi
4584 fi
4585 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4586 if test -n "$ac_ct_STRIP"; then
4587   echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4588 echo "${ECHO_T}$ac_ct_STRIP" >&6
4589 else
4590   echo "$as_me:$LINENO: result: no" >&5
4591 echo "${ECHO_T}no" >&6
4592 fi
4593
4594   STRIP=$ac_ct_STRIP
4595 else
4596   STRIP="$ac_cv_prog_STRIP"
4597 fi
4598
4599
4600 # Check for any special flags to pass to ltconfig.
4601 libtool_flags="--cache-file=$cache_file"
4602 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
4603 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
4604 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
4605 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
4606 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
4607
4608
4609 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4610 if test "${enable_libtool_lock+set}" = set; then
4611   enableval="$enable_libtool_lock"
4612
4613 fi;
4614 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
4615 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
4616
4617
4618 # Check whether --with-pic or --without-pic was given.
4619 if test "${with_pic+set}" = set; then
4620   withval="$with_pic"
4621   pic_mode="$withval"
4622 else
4623   pic_mode=default
4624 fi;
4625 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
4626 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
4627
4628 # Some flags need to be propagated to the compiler or linker for good
4629 # libtool support.
4630 case $host in
4631 *-*-irix6*)
4632   # Find out which ABI we are using.
4633   echo '#line 4633 "configure"' > conftest.$ac_ext
4634   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4635   (eval $ac_compile) 2>&5
4636   ac_status=$?
4637   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4638   (exit $ac_status); }; then
4639     case `/usr/bin/file conftest.$ac_objext` in
4640     *32-bit*)
4641       LD="${LD-ld} -32"
4642       ;;
4643     *N32*)
4644       LD="${LD-ld} -n32"
4645       ;;
4646     *64-bit*)
4647       LD="${LD-ld} -64"
4648       ;;
4649     esac
4650   fi
4651   rm -rf conftest*
4652   ;;
4653
4654 ia64-*-hpux*)
4655   # Find out which ABI we are using.
4656   echo 'int i;' > conftest.$ac_ext
4657   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4658   (eval $ac_compile) 2>&5
4659   ac_status=$?
4660   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4661   (exit $ac_status); }; then
4662     case "`/usr/bin/file conftest.o`" in
4663     *ELF-32*)
4664       HPUX_IA64_MODE="32"
4665       ;;
4666     *ELF-64*)
4667       HPUX_IA64_MODE="64"
4668       ;;
4669     esac
4670   fi
4671   rm -rf conftest*
4672   ;;
4673
4674 *-*-sco3.2v5*)
4675   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4676   SAVE_CFLAGS="$CFLAGS"
4677   CFLAGS="$CFLAGS -belf"
4678   echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4679 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4680 if test "${lt_cv_cc_needs_belf+set}" = set; then
4681   echo $ECHO_N "(cached) $ECHO_C" >&6
4682 else
4683
4684
4685      ac_ext=c
4686 ac_cpp='$CPP $CPPFLAGS'
4687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4690
4691      cat >conftest.$ac_ext <<_ACEOF
4692 /* confdefs.h.  */
4693 _ACEOF
4694 cat confdefs.h >>conftest.$ac_ext
4695 cat >>conftest.$ac_ext <<_ACEOF
4696 /* end confdefs.h.  */
4697
4698 int
4699 main ()
4700 {
4701
4702   ;
4703   return 0;
4704 }
4705 _ACEOF
4706 rm -f conftest.$ac_objext conftest$ac_exeext
4707 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4708   (eval $ac_link) 2>conftest.er1
4709   ac_status=$?
4710   grep -v '^ *+' conftest.er1 >conftest.err
4711   rm -f conftest.er1
4712   cat conftest.err >&5
4713   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4714   (exit $ac_status); } &&
4715          { ac_try='test -z "$ac_c_werror_flag"
4716                          || test ! -s conftest.err'
4717   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4718   (eval $ac_try) 2>&5
4719   ac_status=$?
4720   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4721   (exit $ac_status); }; } &&
4722          { ac_try='test -s conftest$ac_exeext'
4723   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4724   (eval $ac_try) 2>&5
4725   ac_status=$?
4726   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4727   (exit $ac_status); }; }; then
4728   lt_cv_cc_needs_belf=yes
4729 else
4730   echo "$as_me: failed program was:" >&5
4731 sed 's/^/| /' conftest.$ac_ext >&5
4732
4733 lt_cv_cc_needs_belf=no
4734 fi
4735 rm -f conftest.err conftest.$ac_objext \
4736       conftest$ac_exeext conftest.$ac_ext
4737      ac_ext=c
4738 ac_cpp='$CPP $CPPFLAGS'
4739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4742
4743 fi
4744 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4745 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4746   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4747     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4748     CFLAGS="$SAVE_CFLAGS"
4749   fi
4750   ;;
4751
4752
4753 esac
4754
4755
4756 # Save cache, so that ltconfig can load it
4757 cat >confcache <<\_ACEOF
4758 # This file is a shell script that caches the results of configure
4759 # tests run on this system so they can be shared between configure
4760 # scripts and configure runs, see configure's option --config-cache.
4761 # It is not useful on other systems.  If it contains results you don't
4762 # want to keep, you may remove or edit it.
4763 #
4764 # config.status only pays attention to the cache file if you give it
4765 # the --recheck option to rerun configure.
4766 #
4767 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4768 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4769 # following values.
4770
4771 _ACEOF
4772
4773 # The following way of writing the cache mishandles newlines in values,
4774 # but we know of no workaround that is simple, portable, and efficient.
4775 # So, don't put newlines in cache variables' values.
4776 # Ultrix sh set writes to stderr and can't be redirected directly,
4777 # and sets the high bit in the cache file unless we assign to the vars.
4778 {
4779   (set) 2>&1 |
4780     case `(ac_space=' '; set | grep ac_space) 2>&1` in
4781     *ac_space=\ *)
4782       # `set' does not quote correctly, so add quotes (double-quote
4783       # substitution turns \\\\ into \\, and sed turns \\ into \).
4784       sed -n \
4785         "s/'/'\\\\''/g;
4786           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4787       ;;
4788     *)
4789       # `set' quotes correctly as required by POSIX, so do not add quotes.
4790       sed -n \
4791         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4792       ;;
4793     esac;
4794 } |
4795   sed '
4796      t clear
4797      : clear
4798      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4799      t end
4800      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4801      : end' >>confcache
4802 if diff $cache_file confcache >/dev/null 2>&1; then :; else
4803   if test -w $cache_file; then
4804     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4805     cat confcache >$cache_file
4806   else
4807     echo "not updating unwritable cache $cache_file"
4808   fi
4809 fi
4810 rm -f confcache
4811
4812 # Actually configure libtool.  ac_aux_dir is where install-sh is found.
4813 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
4814 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
4815 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
4816 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
4817 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
4818 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
4819 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
4820 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
4821 || { { echo "$as_me:$LINENO: error: libtool configure failed" >&5
4822 echo "$as_me: error: libtool configure failed" >&2;}
4823    { (exit 1); exit 1; }; }
4824
4825 # Reload cache, that may have been modified by ltconfig
4826 if test -r "$cache_file"; then
4827   # Some versions of bash will fail to source /dev/null (special
4828   # files actually), so we avoid doing that.
4829   if test -f "$cache_file"; then
4830     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
4831 echo "$as_me: loading cache $cache_file" >&6;}
4832     case $cache_file in
4833       [\\/]* | ?:[\\/]* ) . $cache_file;;
4834       *)                      . ./$cache_file;;
4835     esac
4836   fi
4837 else
4838   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
4839 echo "$as_me: creating cache $cache_file" >&6;}
4840   >$cache_file
4841 fi
4842
4843
4844 # This can be used to rebuild libtool when needed
4845 LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
4846
4847 # Always use our own libtool.
4848 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
4849
4850 # Redirect the config.log output again, so that the ltconfig log is not
4851 # clobbered by the next message.
4852 exec 5>>./config.log
4853
4854
4855
4856
4857
4858
4859 for ac_prog in gawk mawk nawk awk
4860 do
4861   # Extract the first word of "$ac_prog", so it can be a program name with args.
4862 set dummy $ac_prog; ac_word=$2
4863 echo "$as_me:$LINENO: checking for $ac_word" >&5
4864 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4865 if test "${ac_cv_prog_AWK+set}" = set; then
4866   echo $ECHO_N "(cached) $ECHO_C" >&6
4867 else
4868   if test -n "$AWK"; then
4869   ac_cv_prog_AWK="$AWK" # Let the user override the test.
4870 else
4871 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4872 for as_dir in $PATH
4873 do
4874   IFS=$as_save_IFS
4875   test -z "$as_dir" && as_dir=.
4876   for ac_exec_ext in '' $ac_executable_extensions; do
4877   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4878     ac_cv_prog_AWK="$ac_prog"
4879     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4880     break 2
4881   fi
4882 done
4883 done
4884
4885 fi
4886 fi
4887 AWK=$ac_cv_prog_AWK
4888 if test -n "$AWK"; then
4889   echo "$as_me:$LINENO: result: $AWK" >&5
4890 echo "${ECHO_T}$AWK" >&6
4891 else
4892   echo "$as_me:$LINENO: result: no" >&5
4893 echo "${ECHO_T}no" >&6
4894 fi
4895
4896   test -n "$AWK" && break
4897 done
4898
4899 fi
4900
4901 LINUX_MACH_LIB=
4902 if test -n "${machine_dir}"; then
4903   if test "${use_libtool}" = "yes"; then
4904     LINUX_MACH_LIB=machine/${machine_dir}/liblinux${machine_dir}.${aext}
4905   else
4906     LINUX_MACH_LIB=machine/lib.${aext}
4907   fi
4908 fi
4909
4910
4911 EXTRA_SUBDIRS=
4912 EXTRA_SUBLIBS=
4913
4914
4915
4916 subdirs="$subdirs machine"
4917
4918
4919 if test "${newlib_multithread}" = "yes"; then
4920
4921
4922 subdirs="$subdirs linuxthreads"
4923
4924 fi
4925 if test "x${newlib_elix_level}" = "x1"; then
4926 EXTRA_SUBDIRS=linuxthreads net
4927 else
4928 EXTRA_SUBDIRS="linuxthreads net intl stdlib iconv dl"
4929 EXTRA_SUBLIBS="net/libnet.la intl/libintl.la stdlib/libstdlib.la iconv/libiconv.la dl/libdl.la"
4930 fi
4931
4932
4933
4934
4935                                                                                 ac_config_files="$ac_config_files Makefile intl/Makefile net/Makefile stdlib/Makefile iconv/Makefile dl/Makefile cmath/Makefile argp/Makefile"
4936
4937 cat >confcache <<\_ACEOF
4938 # This file is a shell script that caches the results of configure
4939 # tests run on this system so they can be shared between configure
4940 # scripts and configure runs, see configure's option --config-cache.
4941 # It is not useful on other systems.  If it contains results you don't
4942 # want to keep, you may remove or edit it.
4943 #
4944 # config.status only pays attention to the cache file if you give it
4945 # the --recheck option to rerun configure.
4946 #
4947 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4948 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4949 # following values.
4950
4951 _ACEOF
4952
4953 # The following way of writing the cache mishandles newlines in values,
4954 # but we know of no workaround that is simple, portable, and efficient.
4955 # So, don't put newlines in cache variables' values.
4956 # Ultrix sh set writes to stderr and can't be redirected directly,
4957 # and sets the high bit in the cache file unless we assign to the vars.
4958 {
4959   (set) 2>&1 |
4960     case `(ac_space=' '; set | grep ac_space) 2>&1` in
4961     *ac_space=\ *)
4962       # `set' does not quote correctly, so add quotes (double-quote
4963       # substitution turns \\\\ into \\, and sed turns \\ into \).
4964       sed -n \
4965         "s/'/'\\\\''/g;
4966           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4967       ;;
4968     *)
4969       # `set' quotes correctly as required by POSIX, so do not add quotes.
4970       sed -n \
4971         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4972       ;;
4973     esac;
4974 } |
4975   sed '
4976      t clear
4977      : clear
4978      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4979      t end
4980      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4981      : end' >>confcache
4982 if diff $cache_file confcache >/dev/null 2>&1; then :; else
4983   if test -w $cache_file; then
4984     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4985     cat confcache >$cache_file
4986   else
4987     echo "not updating unwritable cache $cache_file"
4988   fi
4989 fi
4990 rm -f confcache
4991
4992 test "x$prefix" = xNONE && prefix=$ac_default_prefix
4993 # Let make expand exec_prefix.
4994 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4995
4996 # VPATH may cause trouble with some makes, so we remove $(srcdir),
4997 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
4998 # trailing colons and then remove the whole line if VPATH becomes empty
4999 # (actually we leave an empty line to preserve line numbers).
5000 if test "x$srcdir" = x.; then
5001   ac_vpsub='/^[  ]*VPATH[        ]*=/{
5002 s/:*\$(srcdir):*/:/;
5003 s/:*\${srcdir}:*/:/;
5004 s/:*@srcdir@:*/:/;
5005 s/^\([^=]*=[     ]*\):*/\1/;
5006 s/:*$//;
5007 s/^[^=]*=[       ]*$//;
5008 }'
5009 fi
5010
5011 # Transform confdefs.h into DEFS.
5012 # Protect against shell expansion while executing Makefile rules.
5013 # Protect against Makefile macro expansion.
5014 #
5015 # If the first sed substitution is executed (which looks for macros that
5016 # take arguments), then we branch to the quote section.  Otherwise,
5017 # look for a macro that doesn't take arguments.
5018 cat >confdef2opt.sed <<\_ACEOF
5019 t clear
5020 : clear
5021 s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\),-D\1=\2,g
5022 t quote
5023 s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\),-D\1=\2,g
5024 t quote
5025 d
5026 : quote
5027 s,[      `~#$^&*(){}\\|;'"<>?],\\&,g
5028 s,\[,\\&,g
5029 s,\],\\&,g
5030 s,\$,$$,g
5031 p
5032 _ACEOF
5033 # We use echo to avoid assuming a particular line-breaking character.
5034 # The extra dot is to prevent the shell from consuming trailing
5035 # line-breaks from the sub-command output.  A line-break within
5036 # single-quotes doesn't work because, if this script is created in a
5037 # platform that uses two characters for line-breaks (e.g., DOS), tr
5038 # would break.
5039 ac_LF_and_DOT=`echo; echo .`
5040 DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
5041 rm -f confdef2opt.sed
5042
5043
5044 ac_libobjs=
5045 ac_ltlibobjs=
5046 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5047   # 1. Remove the extension, and $U if already installed.
5048   ac_i=`echo "$ac_i" |
5049          sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
5050   # 2. Add them.
5051   ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
5052   ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
5053 done
5054 LIBOBJS=$ac_libobjs
5055
5056 LTLIBOBJS=$ac_ltlibobjs
5057
5058
5059 if test -z "${MAY_SUPPLY_SYSCALLS_TRUE}" && test -z "${MAY_SUPPLY_SYSCALLS_FALSE}"; then
5060   { { echo "$as_me:$LINENO: error: conditional \"MAY_SUPPLY_SYSCALLS\" was never defined.
5061 Usually this means the macro was only invoked conditionally." >&5
5062 echo "$as_me: error: conditional \"MAY_SUPPLY_SYSCALLS\" was never defined.
5063 Usually this means the macro was only invoked conditionally." >&2;}
5064    { (exit 1); exit 1; }; }
5065 fi
5066 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
5067   { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
5068 Usually this means the macro was only invoked conditionally." >&5
5069 echo "$as_me: error: conditional \"AMDEP\" was never defined.
5070 Usually this means the macro was only invoked conditionally." >&2;}
5071    { (exit 1); exit 1; }; }
5072 fi
5073 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5074   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
5075 Usually this means the macro was only invoked conditionally." >&5
5076 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
5077 Usually this means the macro was only invoked conditionally." >&2;}
5078    { (exit 1); exit 1; }; }
5079 fi
5080 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
5081   { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
5082 Usually this means the macro was only invoked conditionally." >&5
5083 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
5084 Usually this means the macro was only invoked conditionally." >&2;}
5085    { (exit 1); exit 1; }; }
5086 fi
5087 if test -z "${ELIX_LEVEL_0_TRUE}" && test -z "${ELIX_LEVEL_0_FALSE}"; then
5088   { { echo "$as_me:$LINENO: error: conditional \"ELIX_LEVEL_0\" was never defined.
5089 Usually this means the macro was only invoked conditionally." >&5
5090 echo "$as_me: error: conditional \"ELIX_LEVEL_0\" was never defined.
5091 Usually this means the macro was only invoked conditionally." >&2;}
5092    { (exit 1); exit 1; }; }
5093 fi
5094 if test -z "${ELIX_LEVEL_1_TRUE}" && test -z "${ELIX_LEVEL_1_FALSE}"; then
5095   { { echo "$as_me:$LINENO: error: conditional \"ELIX_LEVEL_1\" was never defined.
5096 Usually this means the macro was only invoked conditionally." >&5
5097 echo "$as_me: error: conditional \"ELIX_LEVEL_1\" was never defined.
5098 Usually this means the macro was only invoked conditionally." >&2;}
5099    { (exit 1); exit 1; }; }
5100 fi
5101 if test -z "${ELIX_LEVEL_2_TRUE}" && test -z "${ELIX_LEVEL_2_FALSE}"; then
5102   { { echo "$as_me:$LINENO: error: conditional \"ELIX_LEVEL_2\" was never defined.
5103 Usually this means the macro was only invoked conditionally." >&5
5104 echo "$as_me: error: conditional \"ELIX_LEVEL_2\" was never defined.
5105 Usually this means the macro was only invoked conditionally." >&2;}
5106    { (exit 1); exit 1; }; }
5107 fi
5108 if test -z "${ELIX_LEVEL_3_TRUE}" && test -z "${ELIX_LEVEL_3_FALSE}"; then
5109   { { echo "$as_me:$LINENO: error: conditional \"ELIX_LEVEL_3\" was never defined.
5110 Usually this means the macro was only invoked conditionally." >&5
5111 echo "$as_me: error: conditional \"ELIX_LEVEL_3\" was never defined.
5112 Usually this means the macro was only invoked conditionally." >&2;}
5113    { (exit 1); exit 1; }; }
5114 fi
5115 if test -z "${ELIX_LEVEL_4_TRUE}" && test -z "${ELIX_LEVEL_4_FALSE}"; then
5116   { { echo "$as_me:$LINENO: error: conditional \"ELIX_LEVEL_4\" was never defined.
5117 Usually this means the macro was only invoked conditionally." >&5
5118 echo "$as_me: error: conditional \"ELIX_LEVEL_4\" was never defined.
5119 Usually this means the macro was only invoked conditionally." >&2;}
5120    { (exit 1); exit 1; }; }
5121 fi
5122 if test -z "${USE_LIBTOOL_TRUE}" && test -z "${USE_LIBTOOL_FALSE}"; then
5123   { { echo "$as_me:$LINENO: error: conditional \"USE_LIBTOOL\" was never defined.
5124 Usually this means the macro was only invoked conditionally." >&5
5125 echo "$as_me: error: conditional \"USE_LIBTOOL\" was never defined.
5126 Usually this means the macro was only invoked conditionally." >&2;}
5127    { (exit 1); exit 1; }; }
5128 fi
5129 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5130   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
5131 Usually this means the macro was only invoked conditionally." >&5
5132 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
5133 Usually this means the macro was only invoked conditionally." >&2;}
5134    { (exit 1); exit 1; }; }
5135 fi
5136
5137 : ${CONFIG_STATUS=./config.status}
5138 ac_clean_files_save=$ac_clean_files
5139 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5140 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
5141 echo "$as_me: creating $CONFIG_STATUS" >&6;}
5142 cat >$CONFIG_STATUS <<_ACEOF
5143 #! $SHELL
5144 # Generated by $as_me.
5145 # Run this file to recreate the current configuration.
5146 # Compiler output produced by configure, useful for debugging
5147 # configure, is in config.log if it exists.
5148
5149 debug=false
5150 ac_cs_recheck=false
5151 ac_cs_silent=false
5152 SHELL=\${CONFIG_SHELL-$SHELL}
5153 _ACEOF
5154
5155 cat >>$CONFIG_STATUS <<\_ACEOF
5156 ## --------------------- ##
5157 ## M4sh Initialization.  ##
5158 ## --------------------- ##
5159
5160 # Be Bourne compatible
5161 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
5162   emulate sh
5163   NULLCMD=:
5164   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
5165   # is contrary to our usage.  Disable this feature.
5166   alias -g '${1+"$@"}'='"$@"'
5167 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
5168   set -o posix
5169 fi
5170 DUALCASE=1; export DUALCASE # for MKS sh
5171
5172 # Support unset when possible.
5173 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5174   as_unset=unset
5175 else
5176   as_unset=false
5177 fi
5178
5179
5180 # Work around bugs in pre-3.0 UWIN ksh.
5181 $as_unset ENV MAIL MAILPATH
5182 PS1='$ '
5183 PS2='> '
5184 PS4='+ '
5185
5186 # NLS nuisances.
5187 for as_var in \
5188   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
5189   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
5190   LC_TELEPHONE LC_TIME
5191 do
5192   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
5193     eval $as_var=C; export $as_var
5194   else
5195     $as_unset $as_var
5196   fi
5197 done
5198
5199 # Required to use basename.
5200 if expr a : '\(a\)' >/dev/null 2>&1; then
5201   as_expr=expr
5202 else
5203   as_expr=false
5204 fi
5205
5206 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
5207   as_basename=basename
5208 else
5209   as_basename=false
5210 fi
5211
5212
5213 # Name of the executable.
5214 as_me=`$as_basename "$0" ||
5215 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5216          X"$0" : 'X\(//\)$' \| \
5217          X"$0" : 'X\(/\)$' \| \
5218          .     : '\(.\)' 2>/dev/null ||
5219 echo X/"$0" |
5220     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
5221           /^X\/\(\/\/\)$/{ s//\1/; q; }
5222           /^X\/\(\/\).*/{ s//\1/; q; }
5223           s/.*/./; q'`
5224
5225
5226 # PATH needs CR, and LINENO needs CR and PATH.
5227 # Avoid depending upon Character Ranges.
5228 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5229 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5230 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5231 as_cr_digits='0123456789'
5232 as_cr_alnum=$as_cr_Letters$as_cr_digits
5233
5234 # The user is always right.
5235 if test "${PATH_SEPARATOR+set}" != set; then
5236   echo "#! /bin/sh" >conf$$.sh
5237   echo  "exit 0"   >>conf$$.sh
5238   chmod +x conf$$.sh
5239   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
5240     PATH_SEPARATOR=';'
5241   else
5242     PATH_SEPARATOR=:
5243   fi
5244   rm -f conf$$.sh
5245 fi
5246
5247
5248   as_lineno_1=$LINENO
5249   as_lineno_2=$LINENO
5250   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
5251   test "x$as_lineno_1" != "x$as_lineno_2" &&
5252   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
5253   # Find who we are.  Look in the path if we contain no path at all
5254   # relative or not.
5255   case $0 in
5256     *[\\/]* ) as_myself=$0 ;;
5257     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5258 for as_dir in $PATH
5259 do
5260   IFS=$as_save_IFS
5261   test -z "$as_dir" && as_dir=.
5262   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5263 done
5264
5265        ;;
5266   esac
5267   # We did not find ourselves, most probably we were run as `sh COMMAND'
5268   # in which case we are not to be found in the path.
5269   if test "x$as_myself" = x; then
5270     as_myself=$0
5271   fi
5272   if test ! -f "$as_myself"; then
5273     { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
5274 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
5275    { (exit 1); exit 1; }; }
5276   fi
5277   case $CONFIG_SHELL in
5278   '')
5279     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5280 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
5281 do
5282   IFS=$as_save_IFS
5283   test -z "$as_dir" && as_dir=.
5284   for as_base in sh bash ksh sh5; do
5285          case $as_dir in
5286          /*)
5287            if ("$as_dir/$as_base" -c '
5288   as_lineno_1=$LINENO
5289   as_lineno_2=$LINENO
5290   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
5291   test "x$as_lineno_1" != "x$as_lineno_2" &&
5292   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
5293              $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
5294              $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
5295              CONFIG_SHELL=$as_dir/$as_base
5296              export CONFIG_SHELL
5297              exec "$CONFIG_SHELL" "$0" ${1+"$@"}
5298            fi;;
5299          esac
5300        done
5301 done
5302 ;;
5303   esac
5304
5305   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
5306   # uniformly replaced by the line number.  The first 'sed' inserts a
5307   # line-number line before each line; the second 'sed' does the real
5308   # work.  The second script uses 'N' to pair each line-number line
5309   # with the numbered line, and appends trailing '-' during
5310   # substitution so that $LINENO is not a special case at line end.
5311   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
5312   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
5313   sed '=' <$as_myself |
5314     sed '
5315       N
5316       s,$,-,
5317       : loop
5318       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
5319       t loop
5320       s,-$,,
5321       s,^['$as_cr_digits']*\n,,
5322     ' >$as_me.lineno &&
5323   chmod +x $as_me.lineno ||
5324     { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
5325 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
5326    { (exit 1); exit 1; }; }
5327
5328   # Don't try to exec as it changes $[0], causing all sort of problems
5329   # (the dirname of $[0] is not the place where we might find the
5330   # original and so on.  Autoconf is especially sensible to this).
5331   . ./$as_me.lineno
5332   # Exit status is that of the last command.
5333   exit
5334 }
5335
5336
5337 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
5338   *c*,-n*) ECHO_N= ECHO_C='
5339 ' ECHO_T='      ' ;;
5340   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
5341   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
5342 esac
5343
5344 if expr a : '\(a\)' >/dev/null 2>&1; then
5345   as_expr=expr
5346 else
5347   as_expr=false
5348 fi
5349
5350 rm -f conf$$ conf$$.exe conf$$.file
5351 echo >conf$$.file
5352 if ln -s conf$$.file conf$$ 2>/dev/null; then
5353   # We could just check for DJGPP; but this test a) works b) is more generic
5354   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
5355   if test -f conf$$.exe; then
5356     # Don't use ln at all; we don't have any links
5357     as_ln_s='cp -p'
5358   else
5359     as_ln_s='ln -s'
5360   fi
5361 elif ln conf$$.file conf$$ 2>/dev/null; then
5362   as_ln_s=ln
5363 else
5364   as_ln_s='cp -p'
5365 fi
5366 rm -f conf$$ conf$$.exe conf$$.file
5367
5368 if mkdir -p . 2>/dev/null; then
5369   as_mkdir_p=:
5370 else
5371   test -d ./-p && rmdir ./-p
5372   as_mkdir_p=false
5373 fi
5374
5375 as_executable_p="test -f"
5376
5377 # Sed expression to map a string onto a valid CPP name.
5378 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5379
5380 # Sed expression to map a string onto a valid variable name.
5381 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5382
5383
5384 # IFS
5385 # We need space, tab and new line, in precisely that order.
5386 as_nl='
5387 '
5388 IFS="   $as_nl"
5389
5390 # CDPATH.
5391 $as_unset CDPATH
5392
5393 exec 6>&1
5394
5395 # Open the log real soon, to keep \$[0] and so on meaningful, and to
5396 # report actual input values of CONFIG_FILES etc. instead of their
5397 # values after options handling.  Logging --version etc. is OK.
5398 exec 5>>config.log
5399 {
5400   echo
5401   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5402 ## Running $as_me. ##
5403 _ASBOX
5404 } >&5
5405 cat >&5 <<_CSEOF
5406
5407 This file was extended by newlib $as_me 1.14.0, which was
5408 generated by GNU Autoconf 2.59.  Invocation command line was
5409
5410   CONFIG_FILES    = $CONFIG_FILES
5411   CONFIG_HEADERS  = $CONFIG_HEADERS
5412   CONFIG_LINKS    = $CONFIG_LINKS
5413   CONFIG_COMMANDS = $CONFIG_COMMANDS
5414   $ $0 $@
5415
5416 _CSEOF
5417 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
5418 echo >&5
5419 _ACEOF
5420
5421 # Files that config.status was made for.
5422 if test -n "$ac_config_files"; then
5423   echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
5424 fi
5425
5426 if test -n "$ac_config_headers"; then
5427   echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
5428 fi
5429
5430 if test -n "$ac_config_links"; then
5431   echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
5432 fi
5433
5434 if test -n "$ac_config_commands"; then
5435   echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
5436 fi
5437
5438 cat >>$CONFIG_STATUS <<\_ACEOF
5439
5440 ac_cs_usage="\
5441 \`$as_me' instantiates files from templates according to the
5442 current configuration.
5443
5444 Usage: $0 [OPTIONS] [FILE]...
5445
5446   -h, --help       print this help, then exit
5447   -V, --version    print version number, then exit
5448   -q, --quiet      do not print progress messages
5449   -d, --debug      don't remove temporary files
5450       --recheck    update $as_me by reconfiguring in the same conditions
5451   --file=FILE[:TEMPLATE]
5452                    instantiate the configuration file FILE
5453
5454 Configuration files:
5455 $config_files
5456
5457 Configuration commands:
5458 $config_commands
5459
5460 Report bugs to <bug-autoconf@gnu.org>."
5461 _ACEOF
5462
5463 cat >>$CONFIG_STATUS <<_ACEOF
5464 ac_cs_version="\\
5465 newlib config.status 1.14.0
5466 configured by $0, generated by GNU Autoconf 2.59,
5467   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
5468
5469 Copyright (C) 2003 Free Software Foundation, Inc.
5470 This config.status script is free software; the Free Software Foundation
5471 gives unlimited permission to copy, distribute and modify it."
5472 srcdir=$srcdir
5473 INSTALL="$INSTALL"
5474 _ACEOF
5475
5476 cat >>$CONFIG_STATUS <<\_ACEOF
5477 # If no file are specified by the user, then we need to provide default
5478 # value.  By we need to know if files were specified by the user.
5479 ac_need_defaults=:
5480 while test $# != 0
5481 do
5482   case $1 in
5483   --*=*)
5484     ac_option=`expr "x$1" : 'x\([^=]*\)='`
5485     ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
5486     ac_shift=:
5487     ;;
5488   -*)
5489     ac_option=$1
5490     ac_optarg=$2
5491     ac_shift=shift
5492     ;;
5493   *) # This is not an option, so the user has probably given explicit
5494      # arguments.
5495      ac_option=$1
5496      ac_need_defaults=false;;
5497   esac
5498
5499   case $ac_option in
5500   # Handling of the options.
5501 _ACEOF
5502 cat >>$CONFIG_STATUS <<\_ACEOF
5503   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5504     ac_cs_recheck=: ;;
5505   --version | --vers* | -V )
5506     echo "$ac_cs_version"; exit 0 ;;
5507   --he | --h)
5508     # Conflict between --help and --header
5509     { { echo "$as_me:$LINENO: error: ambiguous option: $1
5510 Try \`$0 --help' for more information." >&5
5511 echo "$as_me: error: ambiguous option: $1
5512 Try \`$0 --help' for more information." >&2;}
5513    { (exit 1); exit 1; }; };;
5514   --help | --hel | -h )
5515     echo "$ac_cs_usage"; exit 0 ;;
5516   --debug | --d* | -d )
5517     debug=: ;;
5518   --file | --fil | --fi | --f )
5519     $ac_shift
5520     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
5521     ac_need_defaults=false;;
5522   --header | --heade | --head | --hea )
5523     $ac_shift
5524     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
5525     ac_need_defaults=false;;
5526   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5527   | -silent | --silent | --silen | --sile | --sil | --si | --s)
5528     ac_cs_silent=: ;;
5529
5530   # This is an error.
5531   -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
5532 Try \`$0 --help' for more information." >&5
5533 echo "$as_me: error: unrecognized option: $1
5534 Try \`$0 --help' for more information." >&2;}
5535    { (exit 1); exit 1; }; } ;;
5536
5537   *) ac_config_targets="$ac_config_targets $1" ;;
5538
5539   esac
5540   shift
5541 done
5542
5543 ac_configure_extra_args=
5544
5545 if $ac_cs_silent; then
5546   exec 6>/dev/null
5547   ac_configure_extra_args="$ac_configure_extra_args --silent"
5548 fi
5549
5550 _ACEOF
5551 cat >>$CONFIG_STATUS <<_ACEOF
5552 if \$ac_cs_recheck; then
5553   echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
5554   exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5555 fi
5556
5557 _ACEOF
5558
5559 cat >>$CONFIG_STATUS <<_ACEOF
5560 #
5561 # INIT-COMMANDS section.
5562 #
5563
5564 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
5565
5566 _ACEOF
5567
5568
5569
5570 cat >>$CONFIG_STATUS <<\_ACEOF
5571 for ac_config_target in $ac_config_targets
5572 do
5573   case "$ac_config_target" in
5574   # Handling of arguments.
5575   "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5576   "intl/Makefile" ) CONFIG_FILES="$CONFIG_FILES intl/Makefile" ;;
5577   "net/Makefile" ) CONFIG_FILES="$CONFIG_FILES net/Makefile" ;;
5578   "stdlib/Makefile" ) CONFIG_FILES="$CONFIG_FILES stdlib/Makefile" ;;
5579   "iconv/Makefile" ) CONFIG_FILES="$CONFIG_FILES iconv/Makefile" ;;
5580   "dl/Makefile" ) CONFIG_FILES="$CONFIG_FILES dl/Makefile" ;;
5581   "cmath/Makefile" ) CONFIG_FILES="$CONFIG_FILES cmath/Makefile" ;;
5582   "argp/Makefile" ) CONFIG_FILES="$CONFIG_FILES argp/Makefile" ;;
5583   "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
5584   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
5585 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
5586    { (exit 1); exit 1; }; };;
5587   esac
5588 done
5589
5590 # If the user did not use the arguments to specify the items to instantiate,
5591 # then the envvar interface is used.  Set only those that are not.
5592 # We use the long form for the default assignment because of an extremely
5593 # bizarre bug on SunOS 4.1.3.
5594 if $ac_need_defaults; then
5595   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5596   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
5597 fi
5598
5599 # Have a temporary directory for convenience.  Make it in the build tree
5600 # simply because there is no reason to put it here, and in addition,
5601 # creating and moving files from /tmp can sometimes cause problems.
5602 # Create a temporary directory, and hook for its removal unless debugging.
5603 $debug ||
5604 {
5605   trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
5606   trap '{ (exit 1); exit 1; }' 1 2 13 15
5607 }
5608
5609 # Create a (secure) tmp directory for tmp files.
5610
5611 {
5612   tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
5613   test -n "$tmp" && test -d "$tmp"
5614 }  ||
5615 {
5616   tmp=./confstat$$-$RANDOM
5617   (umask 077 && mkdir $tmp)
5618 } ||
5619 {
5620    echo "$me: cannot create a temporary directory in ." >&2
5621    { (exit 1); exit 1; }
5622 }
5623
5624 _ACEOF
5625
5626 cat >>$CONFIG_STATUS <<_ACEOF
5627
5628 #
5629 # CONFIG_FILES section.
5630 #
5631
5632 # No need to generate the scripts if there are no CONFIG_FILES.
5633 # This happens for instance when ./config.status config.h
5634 if test -n "\$CONFIG_FILES"; then
5635   # Protect against being on the right side of a sed subst in config.status.
5636   sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
5637    s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
5638 s,@SHELL@,$SHELL,;t t
5639 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
5640 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
5641 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
5642 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
5643 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
5644 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
5645 s,@exec_prefix@,$exec_prefix,;t t
5646 s,@prefix@,$prefix,;t t
5647 s,@program_transform_name@,$program_transform_name,;t t
5648 s,@bindir@,$bindir,;t t
5649 s,@sbindir@,$sbindir,;t t
5650 s,@libexecdir@,$libexecdir,;t t
5651 s,@datadir@,$datadir,;t t
5652 s,@sysconfdir@,$sysconfdir,;t t
5653 s,@sharedstatedir@,$sharedstatedir,;t t
5654 s,@localstatedir@,$localstatedir,;t t
5655 s,@libdir@,$libdir,;t t
5656 s,@includedir@,$includedir,;t t
5657 s,@oldincludedir@,$oldincludedir,;t t
5658 s,@infodir@,$infodir,;t t
5659 s,@mandir@,$mandir,;t t
5660 s,@build_alias@,$build_alias,;t t
5661 s,@host_alias@,$host_alias,;t t
5662 s,@target_alias@,$target_alias,;t t
5663 s,@DEFS@,$DEFS,;t t
5664 s,@ECHO_C@,$ECHO_C,;t t
5665 s,@ECHO_N@,$ECHO_N,;t t
5666 s,@ECHO_T@,$ECHO_T,;t t
5667 s,@LIBS@,$LIBS,;t t
5668 s,@MAY_SUPPLY_SYSCALLS_TRUE@,$MAY_SUPPLY_SYSCALLS_TRUE,;t t
5669 s,@MAY_SUPPLY_SYSCALLS_FALSE@,$MAY_SUPPLY_SYSCALLS_FALSE,;t t
5670 s,@newlib_basedir@,$newlib_basedir,;t t
5671 s,@build@,$build,;t t
5672 s,@build_cpu@,$build_cpu,;t t
5673 s,@build_vendor@,$build_vendor,;t t
5674 s,@build_os@,$build_os,;t t
5675 s,@host@,$host,;t t
5676 s,@host_cpu@,$host_cpu,;t t
5677 s,@host_vendor@,$host_vendor,;t t
5678 s,@host_os@,$host_os,;t t
5679 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
5680 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
5681 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
5682 s,@CYGPATH_W@,$CYGPATH_W,;t t
5683 s,@PACKAGE@,$PACKAGE,;t t
5684 s,@VERSION@,$VERSION,;t t
5685 s,@ACLOCAL@,$ACLOCAL,;t t
5686 s,@AUTOCONF@,$AUTOCONF,;t t
5687 s,@AUTOMAKE@,$AUTOMAKE,;t t
5688 s,@AUTOHEADER@,$AUTOHEADER,;t t
5689 s,@MAKEINFO@,$MAKEINFO,;t t
5690 s,@install_sh@,$install_sh,;t t
5691 s,@STRIP@,$STRIP,;t t
5692 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
5693 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
5694 s,@mkdir_p@,$mkdir_p,;t t
5695 s,@AWK@,$AWK,;t t
5696 s,@SET_MAKE@,$SET_MAKE,;t t
5697 s,@am__leading_dot@,$am__leading_dot,;t t
5698 s,@AMTAR@,$AMTAR,;t t
5699 s,@am__tar@,$am__tar,;t t
5700 s,@am__untar@,$am__untar,;t t
5701 s,@CC@,$CC,;t t
5702 s,@DEPDIR@,$DEPDIR,;t t
5703 s,@am__include@,$am__include,;t t
5704 s,@am__quote@,$am__quote,;t t
5705 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
5706 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
5707 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
5708 s,@CCDEPMODE@,$CCDEPMODE,;t t
5709 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
5710 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
5711 s,@AS@,$AS,;t t
5712 s,@ac_ct_AS@,$ac_ct_AS,;t t
5713 s,@AR@,$AR,;t t
5714 s,@ac_ct_AR@,$ac_ct_AR,;t t
5715 s,@RANLIB@,$RANLIB,;t t
5716 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
5717 s,@READELF@,$READELF,;t t
5718 s,@ac_ct_READELF@,$ac_ct_READELF,;t t
5719 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
5720 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
5721 s,@MAINT@,$MAINT,;t t
5722 s,@CCAS@,$CCAS,;t t
5723 s,@CCASFLAGS@,$CCASFLAGS,;t t
5724 s,@NEWLIB_CFLAGS@,$NEWLIB_CFLAGS,;t t
5725 s,@LDFLAGS@,$LDFLAGS,;t t
5726 s,@ELIX_LEVEL_0_TRUE@,$ELIX_LEVEL_0_TRUE,;t t
5727 s,@ELIX_LEVEL_0_FALSE@,$ELIX_LEVEL_0_FALSE,;t t
5728 s,@ELIX_LEVEL_1_TRUE@,$ELIX_LEVEL_1_TRUE,;t t
5729 s,@ELIX_LEVEL_1_FALSE@,$ELIX_LEVEL_1_FALSE,;t t
5730 s,@ELIX_LEVEL_2_TRUE@,$ELIX_LEVEL_2_TRUE,;t t
5731 s,@ELIX_LEVEL_2_FALSE@,$ELIX_LEVEL_2_FALSE,;t t
5732 s,@ELIX_LEVEL_3_TRUE@,$ELIX_LEVEL_3_TRUE,;t t
5733 s,@ELIX_LEVEL_3_FALSE@,$ELIX_LEVEL_3_FALSE,;t t
5734 s,@ELIX_LEVEL_4_TRUE@,$ELIX_LEVEL_4_TRUE,;t t
5735 s,@ELIX_LEVEL_4_FALSE@,$ELIX_LEVEL_4_FALSE,;t t
5736 s,@USE_LIBTOOL_TRUE@,$USE_LIBTOOL_TRUE,;t t
5737 s,@USE_LIBTOOL_FALSE@,$USE_LIBTOOL_FALSE,;t t
5738 s,@OBJEXT@,$OBJEXT,;t t
5739 s,@oext@,$oext,;t t
5740 s,@aext@,$aext,;t t
5741 s,@lpfx@,$lpfx,;t t
5742 s,@libm_machine_dir@,$libm_machine_dir,;t t
5743 s,@machine_dir@,$machine_dir,;t t
5744 s,@sys_dir@,$sys_dir,;t t
5745 s,@CFLAGS@,$CFLAGS,;t t
5746 s,@CPPFLAGS@,$CPPFLAGS,;t t
5747 s,@ac_ct_CC@,$ac_ct_CC,;t t
5748 s,@EXEEXT@,$EXEEXT,;t t
5749 s,@LN_S@,$LN_S,;t t
5750 s,@LIBTOOL@,$LIBTOOL,;t t
5751 s,@LINUX_MACH_LIB@,$LINUX_MACH_LIB,;t t
5752 s,@subdirs@,$subdirs,;t t
5753 s,@EXTRA_SUBDIRS@,$EXTRA_SUBDIRS,;t t
5754 s,@EXTRA_SUBLIBS@,$EXTRA_SUBLIBS,;t t
5755 s,@LIBOBJS@,$LIBOBJS,;t t
5756 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
5757 CEOF
5758
5759 _ACEOF
5760
5761   cat >>$CONFIG_STATUS <<\_ACEOF
5762   # Split the substitutions into bite-sized pieces for seds with
5763   # small command number limits, like on Digital OSF/1 and HP-UX.
5764   ac_max_sed_lines=48
5765   ac_sed_frag=1 # Number of current file.
5766   ac_beg=1 # First line for current file.
5767   ac_end=$ac_max_sed_lines # Line after last line for current file.
5768   ac_more_lines=:
5769   ac_sed_cmds=
5770   while $ac_more_lines; do
5771     if test $ac_beg -gt 1; then
5772       sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
5773     else
5774       sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
5775     fi
5776     if test ! -s $tmp/subs.frag; then
5777       ac_more_lines=false
5778     else
5779       # The purpose of the label and of the branching condition is to
5780       # speed up the sed processing (if there are no `@' at all, there
5781       # is no need to browse any of the substitutions).
5782       # These are the two extra sed commands mentioned above.
5783       (echo ':t
5784   /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
5785       if test -z "$ac_sed_cmds"; then
5786         ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
5787       else
5788         ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
5789       fi
5790       ac_sed_frag=`expr $ac_sed_frag + 1`
5791       ac_beg=$ac_end
5792       ac_end=`expr $ac_end + $ac_max_sed_lines`
5793     fi
5794   done
5795   if test -z "$ac_sed_cmds"; then
5796     ac_sed_cmds=cat
5797   fi
5798 fi # test -n "$CONFIG_FILES"
5799
5800 _ACEOF
5801 cat >>$CONFIG_STATUS <<\_ACEOF
5802 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
5803   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
5804   case $ac_file in
5805   - | *:- | *:-:* ) # input from stdin
5806         cat >$tmp/stdin
5807         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5808         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5809   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5810         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5811   * )   ac_file_in=$ac_file.in ;;
5812   esac
5813
5814   # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
5815   ac_dir=`(dirname "$ac_file") 2>/dev/null ||
5816 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5817          X"$ac_file" : 'X\(//\)[^/]' \| \
5818          X"$ac_file" : 'X\(//\)$' \| \
5819          X"$ac_file" : 'X\(/\)' \| \
5820          .     : '\(.\)' 2>/dev/null ||
5821 echo X"$ac_file" |
5822     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5823           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5824           /^X\(\/\/\)$/{ s//\1/; q; }
5825           /^X\(\/\).*/{ s//\1/; q; }
5826           s/.*/./; q'`
5827   { if $as_mkdir_p; then
5828     mkdir -p "$ac_dir"
5829   else
5830     as_dir="$ac_dir"
5831     as_dirs=
5832     while test ! -d "$as_dir"; do
5833       as_dirs="$as_dir $as_dirs"
5834       as_dir=`(dirname "$as_dir") 2>/dev/null ||
5835 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5836          X"$as_dir" : 'X\(//\)[^/]' \| \
5837          X"$as_dir" : 'X\(//\)$' \| \
5838          X"$as_dir" : 'X\(/\)' \| \
5839          .     : '\(.\)' 2>/dev/null ||
5840 echo X"$as_dir" |
5841     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5842           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5843           /^X\(\/\/\)$/{ s//\1/; q; }
5844           /^X\(\/\).*/{ s//\1/; q; }
5845           s/.*/./; q'`
5846     done
5847     test ! -n "$as_dirs" || mkdir $as_dirs
5848   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
5849 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
5850    { (exit 1); exit 1; }; }; }
5851
5852   ac_builddir=.
5853
5854 if test "$ac_dir" != .; then
5855   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
5856   # A "../" for each directory in $ac_dir_suffix.
5857   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
5858 else
5859   ac_dir_suffix= ac_top_builddir=
5860 fi
5861
5862 case $srcdir in
5863   .)  # No --srcdir option.  We are building in place.
5864     ac_srcdir=.
5865     if test -z "$ac_top_builddir"; then
5866        ac_top_srcdir=.
5867     else
5868        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
5869     fi ;;
5870   [\\/]* | ?:[\\/]* )  # Absolute path.
5871     ac_srcdir=$srcdir$ac_dir_suffix;
5872     ac_top_srcdir=$srcdir ;;
5873   *) # Relative path.
5874     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
5875     ac_top_srcdir=$ac_top_builddir$srcdir ;;
5876 esac
5877
5878 # Do not use `cd foo && pwd` to compute absolute paths, because
5879 # the directories may not exist.
5880 case `pwd` in
5881 .) ac_abs_builddir="$ac_dir";;
5882 *)
5883   case "$ac_dir" in
5884   .) ac_abs_builddir=`pwd`;;
5885   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
5886   *) ac_abs_builddir=`pwd`/"$ac_dir";;
5887   esac;;
5888 esac
5889 case $ac_abs_builddir in
5890 .) ac_abs_top_builddir=${ac_top_builddir}.;;
5891 *)
5892   case ${ac_top_builddir}. in
5893   .) ac_abs_top_builddir=$ac_abs_builddir;;
5894   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
5895   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
5896   esac;;
5897 esac
5898 case $ac_abs_builddir in
5899 .) ac_abs_srcdir=$ac_srcdir;;
5900 *)
5901   case $ac_srcdir in
5902   .) ac_abs_srcdir=$ac_abs_builddir;;
5903   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
5904   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
5905   esac;;
5906 esac
5907 case $ac_abs_builddir in
5908 .) ac_abs_top_srcdir=$ac_top_srcdir;;
5909 *)
5910   case $ac_top_srcdir in
5911   .) ac_abs_top_srcdir=$ac_abs_builddir;;
5912   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
5913   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
5914   esac;;
5915 esac
5916
5917
5918   case $INSTALL in
5919   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5920   *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
5921   esac
5922
5923   if test x"$ac_file" != x-; then
5924     { echo "$as_me:$LINENO: creating $ac_file" >&5
5925 echo "$as_me: creating $ac_file" >&6;}
5926     rm -f "$ac_file"
5927   fi
5928   # Let's still pretend it is `configure' which instantiates (i.e., don't
5929   # use $as_me), people would be surprised to read:
5930   #    /* config.h.  Generated by config.status.  */
5931   if test x"$ac_file" = x-; then
5932     configure_input=
5933   else
5934     configure_input="$ac_file.  "
5935   fi
5936   configure_input=$configure_input"Generated from `echo $ac_file_in |
5937                                      sed 's,.*/,,'` by configure."
5938
5939   # First look for the input files in the build tree, otherwise in the
5940   # src tree.
5941   ac_file_inputs=`IFS=:
5942     for f in $ac_file_in; do
5943       case $f in
5944       -) echo $tmp/stdin ;;
5945       [\\/$]*)
5946          # Absolute (can't be DOS-style, as IFS=:)
5947          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5948 echo "$as_me: error: cannot find input file: $f" >&2;}
5949    { (exit 1); exit 1; }; }
5950          echo "$f";;
5951       *) # Relative
5952          if test -f "$f"; then
5953            # Build tree
5954            echo "$f"
5955          elif test -f "$srcdir/$f"; then
5956            # Source tree
5957            echo "$srcdir/$f"
5958          else
5959            # /dev/null tree
5960            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5961 echo "$as_me: error: cannot find input file: $f" >&2;}
5962    { (exit 1); exit 1; }; }
5963          fi;;
5964       esac
5965     done` || { (exit 1); exit 1; }
5966 _ACEOF
5967 cat >>$CONFIG_STATUS <<_ACEOF
5968   sed "$ac_vpsub
5969 $extrasub
5970 _ACEOF
5971 cat >>$CONFIG_STATUS <<\_ACEOF
5972 :t
5973 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5974 s,@configure_input@,$configure_input,;t t
5975 s,@srcdir@,$ac_srcdir,;t t
5976 s,@abs_srcdir@,$ac_abs_srcdir,;t t
5977 s,@top_srcdir@,$ac_top_srcdir,;t t
5978 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
5979 s,@builddir@,$ac_builddir,;t t
5980 s,@abs_builddir@,$ac_abs_builddir,;t t
5981 s,@top_builddir@,$ac_top_builddir,;t t
5982 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
5983 s,@INSTALL@,$ac_INSTALL,;t t
5984 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
5985   rm -f $tmp/stdin
5986   if test x"$ac_file" != x-; then
5987     mv $tmp/out $ac_file
5988   else
5989     cat $tmp/out
5990     rm -f $tmp/out
5991   fi
5992
5993 done
5994 _ACEOF
5995 cat >>$CONFIG_STATUS <<\_ACEOF
5996
5997 #
5998 # CONFIG_COMMANDS section.
5999 #
6000 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
6001   ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
6002   ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
6003   ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
6004 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6005          X"$ac_dest" : 'X\(//\)[^/]' \| \
6006          X"$ac_dest" : 'X\(//\)$' \| \
6007          X"$ac_dest" : 'X\(/\)' \| \
6008          .     : '\(.\)' 2>/dev/null ||
6009 echo X"$ac_dest" |
6010     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6011           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6012           /^X\(\/\/\)$/{ s//\1/; q; }
6013           /^X\(\/\).*/{ s//\1/; q; }
6014           s/.*/./; q'`
6015   { if $as_mkdir_p; then
6016     mkdir -p "$ac_dir"
6017   else
6018     as_dir="$ac_dir"
6019     as_dirs=
6020     while test ! -d "$as_dir"; do
6021       as_dirs="$as_dir $as_dirs"
6022       as_dir=`(dirname "$as_dir") 2>/dev/null ||
6023 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6024          X"$as_dir" : 'X\(//\)[^/]' \| \
6025          X"$as_dir" : 'X\(//\)$' \| \
6026          X"$as_dir" : 'X\(/\)' \| \
6027          .     : '\(.\)' 2>/dev/null ||
6028 echo X"$as_dir" |
6029     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6030           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6031           /^X\(\/\/\)$/{ s//\1/; q; }
6032           /^X\(\/\).*/{ s//\1/; q; }
6033           s/.*/./; q'`
6034     done
6035     test ! -n "$as_dirs" || mkdir $as_dirs
6036   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6037 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6038    { (exit 1); exit 1; }; }; }
6039
6040   ac_builddir=.
6041
6042 if test "$ac_dir" != .; then
6043   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6044   # A "../" for each directory in $ac_dir_suffix.
6045   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
6046 else
6047   ac_dir_suffix= ac_top_builddir=
6048 fi
6049
6050 case $srcdir in
6051   .)  # No --srcdir option.  We are building in place.
6052     ac_srcdir=.
6053     if test -z "$ac_top_builddir"; then
6054        ac_top_srcdir=.
6055     else
6056        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
6057     fi ;;
6058   [\\/]* | ?:[\\/]* )  # Absolute path.
6059     ac_srcdir=$srcdir$ac_dir_suffix;
6060     ac_top_srcdir=$srcdir ;;
6061   *) # Relative path.
6062     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
6063     ac_top_srcdir=$ac_top_builddir$srcdir ;;
6064 esac
6065
6066 # Do not use `cd foo && pwd` to compute absolute paths, because
6067 # the directories may not exist.
6068 case `pwd` in
6069 .) ac_abs_builddir="$ac_dir";;
6070 *)
6071   case "$ac_dir" in
6072   .) ac_abs_builddir=`pwd`;;
6073   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
6074   *) ac_abs_builddir=`pwd`/"$ac_dir";;
6075   esac;;
6076 esac
6077 case $ac_abs_builddir in
6078 .) ac_abs_top_builddir=${ac_top_builddir}.;;
6079 *)
6080   case ${ac_top_builddir}. in
6081   .) ac_abs_top_builddir=$ac_abs_builddir;;
6082   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
6083   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
6084   esac;;
6085 esac
6086 case $ac_abs_builddir in
6087 .) ac_abs_srcdir=$ac_srcdir;;
6088 *)
6089   case $ac_srcdir in
6090   .) ac_abs_srcdir=$ac_abs_builddir;;
6091   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
6092   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
6093   esac;;
6094 esac
6095 case $ac_abs_builddir in
6096 .) ac_abs_top_srcdir=$ac_top_srcdir;;
6097 *)
6098   case $ac_top_srcdir in
6099   .) ac_abs_top_srcdir=$ac_abs_builddir;;
6100   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
6101   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
6102   esac;;
6103 esac
6104
6105
6106   { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
6107 echo "$as_me: executing $ac_dest commands" >&6;}
6108   case $ac_dest in
6109     depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
6110   # Strip MF so we end up with the name of the file.
6111   mf=`echo "$mf" | sed -e 's/:.*$//'`
6112   # Check whether this is an Automake generated Makefile or not.
6113   # We used to match only the files named `Makefile.in', but
6114   # some people rename them; so instead we look at the file content.
6115   # Grep'ing the first line is not enough: some people post-process
6116   # each Makefile.in and add a new line on top of each file to say so.
6117   # So let's grep whole file.
6118   if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
6119     dirpart=`(dirname "$mf") 2>/dev/null ||
6120 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6121          X"$mf" : 'X\(//\)[^/]' \| \
6122          X"$mf" : 'X\(//\)$' \| \
6123          X"$mf" : 'X\(/\)' \| \
6124          .     : '\(.\)' 2>/dev/null ||
6125 echo X"$mf" |
6126     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6127           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6128           /^X\(\/\/\)$/{ s//\1/; q; }
6129           /^X\(\/\).*/{ s//\1/; q; }
6130           s/.*/./; q'`
6131   else
6132     continue
6133   fi
6134   # Extract the definition of DEPDIR, am__include, and am__quote
6135   # from the Makefile without running `make'.
6136   DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
6137   test -z "$DEPDIR" && continue
6138   am__include=`sed -n 's/^am__include = //p' < "$mf"`
6139   test -z "am__include" && continue
6140   am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
6141   # When using ansi2knr, U may be empty or an underscore; expand it
6142   U=`sed -n 's/^U = //p' < "$mf"`
6143   # Find all dependency output files, they are included files with
6144   # $(DEPDIR) in their names.  We invoke sed twice because it is the
6145   # simplest approach to changing $(DEPDIR) to its actual value in the
6146   # expansion.
6147   for file in `sed -n "
6148     s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
6149        sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
6150     # Make sure the directory exists.
6151     test -f "$dirpart/$file" && continue
6152     fdir=`(dirname "$file") 2>/dev/null ||
6153 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6154          X"$file" : 'X\(//\)[^/]' \| \
6155          X"$file" : 'X\(//\)$' \| \
6156          X"$file" : 'X\(/\)' \| \
6157          .     : '\(.\)' 2>/dev/null ||
6158 echo X"$file" |
6159     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6160           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6161           /^X\(\/\/\)$/{ s//\1/; q; }
6162           /^X\(\/\).*/{ s//\1/; q; }
6163           s/.*/./; q'`
6164     { if $as_mkdir_p; then
6165     mkdir -p $dirpart/$fdir
6166   else
6167     as_dir=$dirpart/$fdir
6168     as_dirs=
6169     while test ! -d "$as_dir"; do
6170       as_dirs="$as_dir $as_dirs"
6171       as_dir=`(dirname "$as_dir") 2>/dev/null ||
6172 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6173          X"$as_dir" : 'X\(//\)[^/]' \| \
6174          X"$as_dir" : 'X\(//\)$' \| \
6175          X"$as_dir" : 'X\(/\)' \| \
6176          .     : '\(.\)' 2>/dev/null ||
6177 echo X"$as_dir" |
6178     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6179           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6180           /^X\(\/\/\)$/{ s//\1/; q; }
6181           /^X\(\/\).*/{ s//\1/; q; }
6182           s/.*/./; q'`
6183     done
6184     test ! -n "$as_dirs" || mkdir $as_dirs
6185   fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
6186 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
6187    { (exit 1); exit 1; }; }; }
6188
6189     # echo "creating $dirpart/$file"
6190     echo '# dummy' > "$dirpart/$file"
6191   done
6192 done
6193  ;;
6194   esac
6195 done
6196 _ACEOF
6197
6198 cat >>$CONFIG_STATUS <<\_ACEOF
6199
6200 { (exit 0); exit 0; }
6201 _ACEOF
6202 chmod +x $CONFIG_STATUS
6203 ac_clean_files=$ac_clean_files_save
6204
6205
6206 # configure is writing to config.log, and then calls config.status.
6207 # config.status does its own redirection, appending to config.log.
6208 # Unfortunately, on DOS this fails, as config.log is still kept open
6209 # by configure, so config.status won't be able to write to it; its
6210 # output is simply discarded.  So we exec the FD to /dev/null,
6211 # effectively closing config.log, so it can be properly (re)opened and
6212 # appended to by config.status.  When coming back to configure, we
6213 # need to make the FD available again.
6214 if test "$no_create" != yes; then
6215   ac_cs_success=:
6216   ac_config_status_args=
6217   test "$silent" = yes &&
6218     ac_config_status_args="$ac_config_status_args --quiet"
6219   exec 5>/dev/null
6220   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6221   exec 5>>config.log
6222   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6223   # would make configure fail if this is the last instruction.
6224   $ac_cs_success || { (exit 1); exit 1; }
6225 fi
6226
6227 #
6228 # CONFIG_SUBDIRS section.
6229 #
6230 if test "$no_recursion" != yes; then
6231
6232   # Remove --cache-file and --srcdir arguments so they do not pile up.
6233   ac_sub_configure_args=
6234   ac_prev=
6235   for ac_arg in $ac_configure_args; do
6236     if test -n "$ac_prev"; then
6237       ac_prev=
6238       continue
6239     fi
6240     case $ac_arg in
6241     -cache-file | --cache-file | --cache-fil | --cache-fi \
6242     | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
6243       ac_prev=cache_file ;;
6244     -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
6245     | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
6246     | --c=*)
6247       ;;
6248     --config-cache | -C)
6249       ;;
6250     -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
6251       ac_prev=srcdir ;;
6252     -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
6253       ;;
6254     -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
6255       ac_prev=prefix ;;
6256     -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
6257       ;;
6258     *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
6259     esac
6260   done
6261
6262   # Always prepend --prefix to ensure using the same prefix
6263   # in subdir configurations.
6264   ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
6265
6266   ac_popdir=`pwd`
6267   for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
6268
6269     # Do not complain, so a configure script can configure whichever
6270     # parts of a large source tree are present.
6271     test -d $srcdir/$ac_dir || continue
6272
6273     { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
6274 echo "$as_me: configuring in $ac_dir" >&6;}
6275     { if $as_mkdir_p; then
6276     mkdir -p "$ac_dir"
6277   else
6278     as_dir="$ac_dir"
6279     as_dirs=
6280     while test ! -d "$as_dir"; do
6281       as_dirs="$as_dir $as_dirs"
6282       as_dir=`(dirname "$as_dir") 2>/dev/null ||
6283 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6284          X"$as_dir" : 'X\(//\)[^/]' \| \
6285          X"$as_dir" : 'X\(//\)$' \| \
6286          X"$as_dir" : 'X\(/\)' \| \
6287          .     : '\(.\)' 2>/dev/null ||
6288 echo X"$as_dir" |
6289     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6290           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6291           /^X\(\/\/\)$/{ s//\1/; q; }
6292           /^X\(\/\).*/{ s//\1/; q; }
6293           s/.*/./; q'`
6294     done
6295     test ! -n "$as_dirs" || mkdir $as_dirs
6296   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6297 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6298    { (exit 1); exit 1; }; }; }
6299
6300     ac_builddir=.
6301
6302 if test "$ac_dir" != .; then
6303   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6304   # A "../" for each directory in $ac_dir_suffix.
6305   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
6306 else
6307   ac_dir_suffix= ac_top_builddir=
6308 fi
6309
6310 case $srcdir in
6311   .)  # No --srcdir option.  We are building in place.
6312     ac_srcdir=.
6313     if test -z "$ac_top_builddir"; then
6314        ac_top_srcdir=.
6315     else
6316        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
6317     fi ;;
6318   [\\/]* | ?:[\\/]* )  # Absolute path.
6319     ac_srcdir=$srcdir$ac_dir_suffix;
6320     ac_top_srcdir=$srcdir ;;
6321   *) # Relative path.
6322     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
6323     ac_top_srcdir=$ac_top_builddir$srcdir ;;
6324 esac
6325
6326 # Do not use `cd foo && pwd` to compute absolute paths, because
6327 # the directories may not exist.
6328 case `pwd` in
6329 .) ac_abs_builddir="$ac_dir";;
6330 *)
6331   case "$ac_dir" in
6332   .) ac_abs_builddir=`pwd`;;
6333   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
6334   *) ac_abs_builddir=`pwd`/"$ac_dir";;
6335   esac;;
6336 esac
6337 case $ac_abs_builddir in
6338 .) ac_abs_top_builddir=${ac_top_builddir}.;;
6339 *)
6340   case ${ac_top_builddir}. in
6341   .) ac_abs_top_builddir=$ac_abs_builddir;;
6342   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
6343   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
6344   esac;;
6345 esac
6346 case $ac_abs_builddir in
6347 .) ac_abs_srcdir=$ac_srcdir;;
6348 *)
6349   case $ac_srcdir in
6350   .) ac_abs_srcdir=$ac_abs_builddir;;
6351   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
6352   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
6353   esac;;
6354 esac
6355 case $ac_abs_builddir in
6356 .) ac_abs_top_srcdir=$ac_top_srcdir;;
6357 *)
6358   case $ac_top_srcdir in
6359   .) ac_abs_top_srcdir=$ac_abs_builddir;;
6360   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
6361   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
6362   esac;;
6363 esac
6364
6365
6366     cd $ac_dir
6367
6368     # Check for guested configure; otherwise get Cygnus style configure.
6369     if test -f $ac_srcdir/configure.gnu; then
6370       ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
6371     elif test -f $ac_srcdir/configure; then
6372       ac_sub_configure="$SHELL '$ac_srcdir/configure'"
6373     elif test -f $ac_srcdir/configure.in; then
6374       ac_sub_configure=$ac_configure
6375     else
6376       { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
6377 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
6378       ac_sub_configure=
6379     fi
6380
6381     # The recursion is here.
6382     if test -n "$ac_sub_configure"; then
6383       # Make the cache file name correct relative to the subdirectory.
6384       case $cache_file in
6385       [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
6386       *) # Relative path.
6387         ac_sub_cache_file=$ac_top_builddir$cache_file ;;
6388       esac
6389
6390       { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
6391 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
6392       # The eval makes quoting arguments work.
6393       eval $ac_sub_configure $ac_sub_configure_args \
6394            --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
6395         { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
6396 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
6397    { (exit 1); exit 1; }; }
6398     fi
6399
6400     cd $ac_popdir
6401   done
6402 fi
6403