OSDN Git Service

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