OSDN Git Service

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