OSDN Git Service

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