OSDN Git Service

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